JP3503531B2 - Online real-time processing system and sub load module replacement method in the system - Google Patents

Online real-time processing system and sub load module replacement method in the system

Info

Publication number
JP3503531B2
JP3503531B2 JP15721899A JP15721899A JP3503531B2 JP 3503531 B2 JP3503531 B2 JP 3503531B2 JP 15721899 A JP15721899 A JP 15721899A JP 15721899 A JP15721899 A JP 15721899A JP 3503531 B2 JP3503531 B2 JP 3503531B2
Authority
JP
Japan
Prior art keywords
load module
sub
flag
called
secondary load
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
JP15721899A
Other languages
Japanese (ja)
Other versions
JP2000347844A (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
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 JP15721899A priority Critical patent/JP3503531B2/en
Publication of JP2000347844A publication Critical patent/JP2000347844A/en
Application granted granted Critical
Publication of JP3503531B2 publication Critical patent/JP3503531B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、情報処理システム
に関し、特にオンラインリアルタイム処理システムを構
成するデータ処理装置における副ロードモジュールの置
換システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing system, and more particularly to a sub load module replacement system in a data processing device constituting an online real-time processing system.

【0002】[0002]

【従来の技術】オンラインリアルタイム処理システムに
おいて、サブプログラムの修正・更新等により複数のサ
ブプログラムの置換を行う際に、従来、オペレータが、
ロードモジュールライブラリ内のロードモジュール形式
(実行形式)のサブプログラム(「副ロードモジュー
ル」ともいう、「副LM」と略記される)を、更新後の
副ロードモジュールで置き換える。
2. Description of the Related Art In an online real-time processing system, when a plurality of subprograms are replaced by modifying / updating the subprograms, an operator is conventionally required to
A load module format (execution format) sub-program (abbreviated as “sub load LM”, also called “sub load module”) in the load module library is replaced with the updated sub load module.

【0003】オンラインリアルタイム処理システムにお
ける副LM置換方式として、オンラインリアルタイム処
理装置稼働中に、トランザクションを停止させることな
く、複数の副LMを同時に動的に置換可能とするオンラ
インリアルタイム処理装置を、本発明者は、すでに例え
ば特開平6−222916号公報(特許2555920
号)に提案している。
As an alternative LM replacement method in an online real-time processing system, an online real-time processing apparatus capable of dynamically replacing a plurality of auxiliary LMs at the same time without stopping transactions while the online real-time processing apparatus is operating is provided by the present invention. Have already found, for example, in Japanese Patent Laid-Open No. 6-222916 (Patent 2555920).
No.).

【0004】上記特許2555920号に記載されるオ
ンラインリアルタイム処理装置200について、その概
略を説明しておくと、図5に示すように、複数のトラン
ザクション処理プログラムを格納して実行するトランザ
クション処理プログラム207と、トランザクション処
理プログラム207によりアクセスされる副LM呼出手
段(サブプログラム呼出部)210と、副LM呼出手段
210に呼び出される複数の副LMが格納されるロード
モジュールライブラリ211と、複数の副LMに対応し
てその副LM名252、およびその入口点情報を示す第
一副LM入口点ポインタ253を含む副LMエントリが
格納された副LM管理テーブル205を備え、副LMエ
ントリ250は、副LMと置き換えられる代替副LMの
入口点情報が登録される第二の副LM入口点ポインタ2
54と、第一の副LM入口点ポインタ253及び第二の
副LM入口点ポインタ254の一方を副LM呼出手段2
10に対する被呼出副LM入口点ポインタとし、他の一
方を非呼出副LM入口点ポインタに設定する置換フラグ
251が書き込まれる領域とが設けられ、ロードモジュ
ールライブラリ211には、代替副LMがプログラムさ
れる領域が設けられ、被置換副LMとその代替副LMを
指定する入力手段として操作卓212を備え、被置換副
LMの副LM名及びその代替副LMの副LM名が登録さ
れる置換テーブル203と、置換テーブル203に操作
卓203の入力に従い被置換副LM名及びその代替副L
M名を登録する副LM登録手段202と、副LMエント
リ、副LM置換テーブル203及びロードモジュールラ
イブラリ211をアクセスし、被置換副LMの置換を実
行する副LM置換手段204を備えている。
An outline of the online real-time processing device 200 described in the above-mentioned Japanese Patent No. 2555920 will be described. As shown in FIG. 5, a transaction processing program 207 for storing and executing a plurality of transaction processing programs and a transaction processing program 207. Corresponding to a plurality of sub-LMs, a sub-LM calling unit (subprogram calling unit) 210 accessed by the transaction processing program 207, a load module library 211 storing a plurality of sub-LMs called by the sub-LM calling unit 210. The sub LM management table 205 stores the sub LM entry including the sub LM name 252 and the first sub LM entry point pointer 253 indicating the entry point information. The sub LM entry 250 is replaced with the sub LM. The entry point information of the alternative sub LM to be registered is registered. The second sub-LM entry point pointer 2 that
54 and one of the first secondary LM entry point pointer 253 and the second secondary LM entry point pointer 254.
10 is provided as a called secondary LM entry point pointer for 10 and an area in which a replacement flag 251 for setting the other one as a non-invocation secondary LM entry point pointer is written is provided, and an alternative secondary LM is programmed in the load module library 211. Replacement table in which an area is provided, an operation console 212 is provided as an input means for designating the replacement sub LM and its replacement sub LM, and the sub LM name of the replacement sub LM and the sub LM name of the replacement sub LM are registered. 203 and the replacement sub-LM name and its alternative sub-L according to the input of the console 203 in the replacement table 203.
It comprises a secondary LM registration means 202 for registering the M name, and a secondary LM replacement means 204 for accessing the secondary LM entry, the secondary LM replacement table 203 and the load module library 211 and executing the replacement of the replaced secondary LM.

【0005】従来のオンラインリアルタイム処理装置2
00において、副LMの置換は概略以下のように行われ
る。
Conventional online real-time processor 2
At 00, the sub-LM replacement is performed roughly as follows.

【0006】副LM呼出手段210は、トランザクショ
ン処理プログラム207が副LMの呼び出しを行う際に
実行され、副LM管理テーブル205の置換フラグがO
FFのときは、副LM名入口点ポインタ253による副
LM1を呼出し、置換フラグがONのときは、副LM名
入口点ポインタ254による副LM2を呼出す。
The secondary LM calling means 210 is executed when the transaction processing program 207 calls the secondary LM, and the replacement flag of the secondary LM management table 205 is set to O.
When it is FF, the sub LM1 with the sub LM name entry point pointer 253 is called, and when the replacement flag is ON, the sub LM2 with the sub LM name entry point pointer 254 is called.

【0007】また、副LM置換手段204は、操作卓2
12からのコマンド投入により起動され、置換テーブル
203に登録されて被置換副LM及びその代替副LM名
を読み出し、被置換副LM名から、副LM管理テーブル
の該当する副LM名のエントリ250を検索し、ロード
モジュールライブラリ211に予めプログラムされてい
る被置換副LMの代替副LMを、副LM置換手段204
は、置換テーブル203から読み出された代替副LM名
232を参照してロードしその入口点情報を抽出し、副
LM置換手段が204は、エントリの置換フラグ251
を参照し、置換フラグ251がOFFのときには、副L
M入口点ポインタ253に抽出した代替副LM入口点情
報を登録し、置換フラグ251がONのときには、副L
M入口点ポインタ254に抽出した代替副LM入口点情
報を登録する。
Further, the sub LM replacing means 204 is the console 2
The sub-LM to be replaced and its substitute sub-LM name registered in the substitution table 203 are read out from the sub-LM management table and the entry 250 of the corresponding sub-LM name in the sub-LM management table is activated. Substitute LM replacing means 204 searches for the substitute sub LM of the replaced sub LM that is pre-programmed in the load module library 211.
Refers to the alternative secondary LM name 232 read from the replacement table 203 and loads the entry point information, and the secondary LM replacement means 204 uses the replacement flag 251 of the entry.
When the replacement flag 251 is OFF, the sub L
The extracted alternative sub LM entry point information is registered in the M entry point pointer 253, and when the replacement flag 251 is ON, the sub L
The extracted alternative secondary LM entry point information is registered in the M entry point pointer 254.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記し
た従来のシステムは、次のような問題点を有しているこ
とを本発明者は知見した。
However, the present inventor has found that the above-mentioned conventional system has the following problems.

【0009】すなわち、一つのトランザクション内で、
置換対象の複数の副LMの呼び出しを行うプログラムに
おいて、副LMの呼出処理の間に、副LMが置換された
場合には、切り換え前に呼出された副LMでは、旧副L
Mが、切り換え後に呼び出された副LMでは、新副LM
が呼び出される。
That is, in one transaction,
In a program that calls a plurality of sub LMs to be replaced, if the sub LMs are replaced during the process of calling the sub LMs, the sub LMs that were called before the switching are the old sub Ls.
If M is the secondary LM called after switching, it is the new secondary LM.
Is called.

【0010】このような場合、副LMへのパラメータ追
加等、複数の副LM間における修正部分の論理差分の内
容如何によっては、トランザクション処理が論理矛盾を
起こし、正しく処理を行えない場合が生じる可能性があ
る。
In such a case, depending on the contents of the logical difference of the modified portion between the plurality of sub-LMs such as the addition of parameters to the sub-LM, the transaction processing may cause a logical contradiction and the processing may not be performed correctly. There is a nature.

【0011】したがって本発明は、上記知見及び課題の
認識に鑑みてなされたものであって、その目的は、オン
ラインリアルタイム処理システムにおいて、複数の副L
Mを動的に置換する場合に、同一トランザクション内で
呼び出を行う置換対象の副LMが全て新または旧副LM
であることを保証するシステム及び方法を提供すること
にある。
Therefore, the present invention has been made in view of the above knowledge and recognition of the problems, and an object thereof is to provide a plurality of sub Ls in an online real-time processing system.
When M is dynamically replaced, all the sub LMs to be replaced that are called in the same transaction are new or old sub LMs.
It is to provide a system and a method for guaranteeing that

【0012】[0012]

【課題を解決するための手段】前記目的を達成する本発
明は、システム稼働中に副ロードモジュールを動的に置
換するオンライン処理装置において、置換対象の複数の
副ロードモジュールを新たに用意した代替副LMに切り
換える際に、置換対象の全ての副ロードモジュールに対
して、トランザクションの終了を待ち合わせ、その後に
起動されるトランザクション内で呼び出される置換対象
の副ロードモジュールが全て置換後の代替ロードモジュ
ールであるか、もしくは、全て置換前の旧副ロードモジ
ュールであるように、複数の置換対象のロードモジュー
ルの置換を同期制御するようにしたものである。
According to the present invention to achieve the above object, an alternative is to newly prepare a plurality of sub load modules to be replaced in an online processing device for dynamically replacing the sub load modules during system operation. When switching to the secondary LM, the completion of the transaction is awaited for all the secondary load modules to be replaced, and the secondary load modules to be replaced that are invoked in the transaction started afterwards are all the alternative load modules after replacement. If there is, or all of them are old secondary load modules before replacement, the replacement of a plurality of replacement load modules is synchronously controlled.

【0013】[0013]

【発明の実施の形態】本発明の実施の形態について説明
する。本発明は、オンラインリアルタイム処理システム
において、システム稼働中にシステム内の副ロードモジ
ュール(以下「副LM」という)を動的に置換するデー
タ処理装置において、現在稼働中の複数の副LMを新た
に用意した複数の副LMに切り換える際に、置換対象の
全ての副LMに対して、同時に、トランザクションの終
了と同期させることで、同一トランザクション内で呼び
出しを行う置換対象の副LMが全て新副LM、または旧
副LMであることを保証するようにしたものである。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described. The present invention, in an online real-time processing system, newly adds a plurality of currently operating sub-LMs in a data processing device that dynamically replaces a sub-load module (hereinafter referred to as “sub-LM”) in the system during system operation. When switching to a plurality of prepared secondary LMs, all the secondary LMs to be replaced are synchronized with the end of the transaction at the same time so that all the secondary LMs to be replaced that are called in the same transaction are all new secondary LMs. , Or the former secondary LM.

【0014】本発明は、その好ましい実施の形態におい
て、複数のトランザクション処理プログラムを格納して
実行するトランザクション処理手段(7)と、複数の副
LMが格納されるロードモジュールライブラリ(11)
と、被置換副LMの副LM名と、代替副LMの副LM名
と、を対応させて登録する置換テーブル(3)と、副L
M名と、副LM名の呼び出し命令により実際に呼び出さ
れる副LMの副LM名である複数の副LM名と、前記複
数の副LM名のうちどの副LMの呼び出しを行うかを指
示する副LM指示情報と、副LMが置換処理中であるこ
とを示す置換中フラグと、を副LM名毎に一エントリと
して記憶している管理テーブル(5)と、副LMが置換
処理中であることを示す置換中フラグと、前記管理テー
ブルの副LM指示情報を複写するための副LM指示情報
とを記憶する制御テーブル(6)と、前記トランザクシ
ョン処理手段(7)で置換対象の副LMの呼び出しを行
っているか否かを判断するための呼出済フラグ情報と、
前記制御テーブルの前記副LM指示情報を複写するため
の副LM指示情報とを記憶するプロセス固有テーブル
(9)と、置換対象の副LMの副LM名と、代替副LM
の副LM名を前記置換テーブルに登録する副LM登録手
段(2)と、置換処理の開始時に、前記制御テーブル
(6)の置換中フラグおよび前記管理テーブル(5)の
置換対象の副LMのエントリの置換中フラグを「ON」
とし、オンラインリアルタイム処理システム内の全ての
トランザクションの終了を待ち合わせ終了の確認を行な
うとともに、前記制御テーブルおよび前記管理テーブル
の副LM指示情報を代替副LM側に切り換え、該切り換
え後に、再度前記トランザクションの終了を待ち合わせ
て該終了を確認し、前記制御テーブル(6)および前記
管理テーブル(5)の置換中フラグを「OFF」とする
副LM置換手段(4)と、前記トランザクション処理手
段の実行前に起動され、前記プロセス固有テーブルの呼
出済フラグを「OFF」とする呼出済フラグ初期化手段
(8)と、前記トランザクション処理手段(7)からの
副LMを呼び出す際に起動され、前記管理テーブル
(5)の該当副LMの置換中フラグが「OFF」である
場合に、副LM指示情報が示す副LM名の呼び出しを行
い、前記制御テーブル(6)の置換中フラグおよび該当
する副LMのエントリの前記管理テーブル(5)の置換
中フラグが「ON」である場合、前記プロセス固有テー
ブル(9)の副LM指示情報を参照して副LMの呼び出
しを行う副LM呼出手段(10)と、を備える。副LM
呼出手段(10)は、前記プロセス固有テーブル(9)
の呼び出し済フラグが「OFF」の場合、前記制御テー
ブルの副LM指示情報を前記プロセス固有テーブルの副
LM指示情報に複写し、呼出済フラグを「ON」にした
後に、副LM指示情報を参照して、副LMの呼び出しを
行う。
In a preferred embodiment of the present invention, a transaction processing means (7) for storing and executing a plurality of transaction processing programs, and a load module library (11) for storing a plurality of sub LMs.
And a replacement table (3) in which the sub LM name of the replaced sub LM and the sub LM name of the alternative sub LM are registered in association with each other, and the sub L
M name, a plurality of sub LM names that are sub LM names of the sub LM that is actually called by the sub LM name calling instruction, and a sub that indicates which sub LM of the plurality of sub LM names is called A management table (5) that stores LM instruction information and a replacement-in-progress flag indicating that the sub-LM is in the process of replacement as one entry for each sub-LM name, and that the sub-LM is in the process of replacement. And a control table (6) for storing a sub-replacing flag indicating that the sub-LM instruction information for copying the sub-LM instruction information of the management table, and a call for the sub-LM to be replaced by the transaction processing means (7). Called flag information for determining whether or not
A process specific table (9) storing the sub LM instruction information for copying the sub LM instruction information of the control table, the sub LM name of the sub LM to be replaced, and the alternative sub LM.
A sub-LM registration means (2) for registering the sub-LM name of the sub-LM in the replacement table, and a sub-replacing flag of the control table (6) and the sub-LM to be replaced in the management table (5) at the start of the replacement process "ON" for entry replacement flag
Then, the completion of all transactions in the online real-time processing system is waited for, the completion is confirmed, the sub-LM instruction information in the control table and the management table is switched to the alternative sub-LM side, and after the switching, the transaction is restarted. Before the execution of the transaction processing means, the sub-LM replacement means (4) that waits for the end and confirms the end, and sets the in-replacement flags of the control table (6) and the management table (5) to “OFF”. It is activated when the called flag initialization means (8) for starting the called flag of the process-specific table to “OFF” and the sub LM from the transaction processing means (7) is called, and the management table ( When the sub-replacing flag of the corresponding sub-LM in 5) is “OFF”, the sub-LM instruction information is displayed. When the sub-LM name indicated by is called and the sub-replacing flag of the control table (6) and the sub-replacing flag of the management table (5) of the entry of the corresponding sub-LM are “ON”, the process specific table The sub-LM call means (10) for calling the sub-LM by referring to the sub-LM instruction information in (9). Deputy LM
The calling means (10) uses the process specific table (9).
When the called flag of the above is "OFF", the sub LM instruction information of the control table is copied to the sub LM instruction information of the process specific table, and after the called flag is turned "ON", the sub LM instruction information is referred to. Then, the sub LM is called.

【0015】本発明の実施の形態においては、図1を参
照すると、副LM置換手段(4)は、操作卓(12)か
らの副LMの切り換え指示の投入により起動され、制御
テーブル(6)および管理テーブル(5)の副LM指示
(62、52)を、「1」から「2」へと切り換える。
この副LM指示(62、52)の切り換えの前後におい
て、制御テーブル(6)および管理テーブル(5)の置
換中フラグ(61、53)のON/OFF、および、実
行中のトランザクションの終了待ち合わせを行う。
In the embodiment of the present invention, referring to FIG. 1, the sub-LM replacement means (4) is activated by inputting a sub-LM switching instruction from the console (12), and the control table (6). And the sub LM instruction (62, 52) of the management table (5) is switched from "1" to "2".
Before and after the switching of the sub LM instruction (62, 52), ON / OFF of the in-replacement flags (61, 53) of the control table (6) and the management table (5) and the end waiting of the transaction being executed are waited for. To do.

【0016】副LM呼出手段(10)は、トランザクシ
ョン処理手段(7)から副LMの呼び出しを行う際に起
動され、置換対象の副LMの呼び出しを行う場合には、
プロセス固有テーブル(9)の副LM指示(92)を参
照して、副LM管理テーブル(5)の副LM名1(5
4)または副LM名2(55)の呼び出しを行う。
The sub LM calling means (10) is activated when the transaction processing means (7) calls the sub LM, and when the sub LM to be replaced is called,
The secondary LM name 1 (5) of the secondary LM management table (5) is referred to by referring to the secondary LM instruction (92) of the process specific table (9).
4) or calling the sub LM name 2 (55).

【0017】この時、プロセス固有テーブル(9)の呼
び出し済フラグ(91)が「OFF」である場合、制御
テーブル(6)の副LM指示(62)をプロセス固有テ
ーブル(9)の副LM指示(92)へ複写し、呼出済フ
ラグ(91)を「ON」とした後に、副LM指示(9
2)を参照する。
At this time, if the called flag (91) of the process specific table (9) is "OFF", the sub LM instruction (62) of the control table (6) is changed to the sub LM instruction of the process specific table (9). After copying to (92) and turning on the called flag (91) "ON", the sub LM instruction (9
See 2).

【0018】置換対象以外の副LMを呼び出す場合に
は、管理テーブル(5)の副LM指示(52)を参照し
て副LMの呼び出しを行う。
When calling a sub LM other than the replacement target, the sub LM is called by referring to the sub LM instruction (52) of the management table (5).

【0019】このようにして、複数の副LMを動的置換
する場合に、同一トランザクション内で呼び出しを行う
置換対象の副LMが全て新副LM、または旧副LMであ
ることを保証する。
In this way, when a plurality of sub LMs are dynamically replaced, it is guaranteed that the sub LMs to be replaced that are called in the same transaction are all new sub LMs or old sub LMs.

【0020】なお、トランザクション処理手段(7)を
なすプログラムを含めて、副LM登録手段(2)、副L
M置換手段(4)、呼出済フラグ初期化手段(8)、副
LM呼出手段(10)は、オンラインリアルタイム処理
システムを構成する処理装置で実行されるプログラムに
よりその機能が実現される。この場合、該プログラムを
記録した記録媒体から、もしくは通信媒体から該プログ
ラムをデータ処理装置に読み出して実行することで本発
明を実施することができる。なお、副LM置換手段
(4)、呼出済フラグ初期化手段(8)、副LM呼出手
段(10)の処理・機能を実現する詳細な処理手順は、
以下に説明する実施例でフローチャートを参照して説明
される。
The sub-LM registration means (2) and the sub-L including the program forming the transaction processing means (7)
The functions of the M replacing means (4), the called flag initializing means (8), and the sub LM calling means (10) are realized by the programs executed by the processing devices constituting the online real-time processing system. In this case, the present invention can be implemented by reading the program into the data processing device from the recording medium recording the program or from the communication medium and executing the program. The detailed processing procedure for realizing the processing / functions of the sub LM replacement means (4), the called flag initialization means (8), and the sub LM calling means (10) is as follows.
The embodiments described below will be described with reference to the flowcharts.

【0021】[0021]

【実施例】本発明の実施例について図面を参照して以下
に説明する。図1は、本発明の一実施例の構成を示す図
である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing the configuration of an embodiment of the present invention.

【0022】図1を参照すると、オンラインリアルタイ
ム処理システム1は、副LM登録手段2と、置換テーブ
ル3と、副LM置換手段4と、管理テーブル5と、制御
テーブル6と、トランザクション処理プログラム7と、
呼び出し済フラグ初期化手段8と、プロセス固有テーブ
ル9と、副LM呼び出し手段10と、ロードモジュール
ライブラリ11と、コマンド発行のための操作卓12
と、を備えて構成されている。
Referring to FIG. 1, the online real-time processing system 1 includes a secondary LM registration means 2, a replacement table 3, a secondary LM replacement means 4, a management table 5, a control table 6, and a transaction processing program 7. ,
Called flag initialization means 8, process specific table 9, secondary LM calling means 10, load module library 11, and console 12 for issuing commands
And are provided.

【0023】置換テーブル3は、被置換副LMの副LM
名31と、被置換副LMと代替する新副LM名32と、
を対応させて記憶する。
The replacement table 3 is a sub-LM of the sub-LM to be replaced.
Name 31, a new sub LM name 32 that replaces the replaced sub LM,
Are stored in correspondence with.

【0024】管理テーブル5は、副LM名51と、副L
M名51の呼び出し命令により実際に呼び出される副L
Mの副LM名である副LM名1(54)、副LM名2
(55)と、副LM名1(54)または副LM2(5
5)のどちらの副LMの呼び出しを行うかを指示する副
LM指示52と、該当副LMが置換処理中であることを
示す置換中フラグ53と、を副LM名毎に一エントリと
して、記憶している。副LM名1(54)、副LM名2
(55)には、それぞれの副LMのロードモジュールラ
イブラリ11内の入口点ポインタであってもよい。
The management table 5 includes a sub LM name 51 and a sub L
Sub L actually called by the calling instruction of M name 51
Sub LM name 1 (54), which is the sub LM name of M, sub LM name 2
(55) and sub LM name 1 (54) or sub LM2 (5
5) A sub-LM instruction 52 for instructing which sub-LM to call, and a replacing flag 53 indicating that the corresponding sub-LM is in the process of replacement are stored as one entry for each sub-LM name and stored. is doing. Sub LM name 1 (54), Sub LM name 2
(55) may be an entry point pointer in the load module library 11 of each sub LM.

【0025】制御テーブル6は、置換処理中であること
を示す置換中フラグ61と、管理テーブル5の副LM指
示52を複写するための副LM指示62と、を記憶す
る。
The control table 6 stores a replacement-in-progress flag 61 indicating that replacement processing is in progress, and a sub-LM instruction 62 for copying the sub-LM instruction 52 of the management table 5.

【0026】プロセス固有テーブル9は、トランザクシ
ョン処理プログラム7中で置換対象の副LMの呼び出し
を行っているか否かを判断するための呼出済フラグ91
と、制御テーブル6の副LM指示62を複写するための
副LM指示92と、を記憶する。
The process specific table 9 is a called flag 91 for judging whether or not the sub LM to be replaced is called in the transaction processing program 7.
And a sub-LM instruction 92 for copying the sub-LM instruction 62 of the control table 6 are stored.

【0027】副LM登録手段2は、操作卓12からのコ
マンドにより起動され、置換対象の副LMの副LM名
と、代替副LMの副LM名である新副LM名を置換テー
ブル3に登録する。
The sub LM registration means 2 is activated by a command from the operator console 12, and registers the sub LM name of the sub LM to be replaced and the new sub LM name which is the sub LM name of the alternative sub LM in the replacement table 3. To do.

【0028】副LM置換手段4は、置換処理の開始時
に、制御テーブル6の置換中フラグ61、および管理テ
ーブル5の置換対象の副LMの置換中フラグ53を「O
N」とし、オンラインリアルタイム処理システム1内の
全トランザクションの終了を待ち合わせた後に、制御テ
ーブル6および管理テーブル5の副LM指示62、52
を「1」から「2」へと切り換える。
At the start of the replacement process, the sub-LM replacement means 4 sets the replacement flag 61 of the control table 6 and the replacement flag 53 of the replacement-target sub-LM 53 of the management table 5 to "O".
N ”, and after waiting for the completion of all transactions in the online real-time processing system 1, the sub-LM instructions 62, 52 of the control table 6 and the management table 5
Is switched from "1" to "2".

【0029】切り換え後、再度トランザクションの終了
を待ち合わせ、制御テーブル6および管理テーブル5の
置換中フラグ61、53を「OFF」とする。
After switching, the completion of the transaction is waited again, and the in-replacement flags 61 and 53 of the control table 6 and the management table 5 are set to "OFF".

【0030】呼出済フラグ初期化手段8は、トランザク
ション処理プログラム7の実行前に起動され、プロセス
固有テーブル9の呼出済フラグ91を「OFF」とす
る。
The called flag initialization means 8 is started before the transaction processing program 7 is executed, and the called flag 91 of the process specific table 9 is set to "OFF".

【0031】副LM呼出手段10は、トランザクション
処理プログラム7からの副LMを呼び出す際に実行さ
れ、管理テーブル5の該当副LMの置換中フラグ53が
「OFF」である場合に、副LM指示52を参照して、
副LM名1(54)または、副LM名2(55)の呼び
出しを行う。
The sub LM calling means 10 is executed when calling the sub LM from the transaction processing program 7, and when the substituting flag 53 of the corresponding sub LM of the management table 5 is "OFF", the sub LM instruction 52. See
The sub LM name 1 (54) or the sub LM name 2 (55) is called.

【0032】制御テーブル6の置換中フラグ61、およ
び該当する副LMの管理テーブル5の置換中フラグ53
が「ON」である場合、プロセス固有テーブル9の副L
M指示92を参照して副LMの呼び出しを行う。
The replacing flag 61 of the control table 6 and the replacing flag 53 of the management table 5 of the corresponding secondary LM.
Is “ON”, the sub L of the process specific table 9
The sub LM is called with reference to the M instruction 92.

【0033】この時、プロセス固有テーブル9の呼び出
し済フラグが「OFF」なら、制御テーブル6の副LM
指示62をプロセス固有テーブルの副LM指示92に複
写し、呼出済フラグ91を「ON」にした後に、副LM
指示92を参照する。
At this time, if the called flag of the process specific table 9 is "OFF", the sub LM of the control table 6
After copying the instruction 62 to the secondary LM instruction 92 of the process specific table and turning on the called flag 91 "ON", the secondary LM
Refer to the instruction 92.

【0034】図2乃至図4は、本発明の一実施例の動作
を説明するためのフローチャートである。図2は、副L
M呼び出し手段10の処理手順を示すフローチャートで
ある。図3は、副LM置換手段4の処理手順を示すフロ
ーチャートである。図4は、呼出済フラグ初期化手段8
の処理手順を示すフローチャートである。
2 to 4 are flow charts for explaining the operation of the embodiment of the present invention. FIG. 2 shows the sub L
6 is a flowchart showing a processing procedure of the M calling means 10. FIG. 3 is a flowchart showing a processing procedure of the sub LM replacing means 4. FIG. 4 shows the called flag initialization means 8
5 is a flowchart showing the processing procedure of step S1.

【0035】図1に示す例では、トランザクション処理
プログラム7は、副LM「BBB」、「CCC」の呼び
出しを行っている。置換処理を行う前は、副LM「BB
B」、「CCC」の呼び出しを行うと、実際には、副L
M呼出手段10により、それぞれ、副LM「BBB
1」、「CCC2」が呼び出される。これを、副LM
「BBB2」、「CCC3」が呼び出されるように、動
的に置換する場合での各手段の動作について説明する。
In the example shown in FIG. 1, the transaction processing program 7 calls the sub LMs "BBB" and "CCC". Before performing the replacement process, the sub LM “BB
When "B" and "CCC" are called, the sub L
By the M calling means 10, the sub LM "BBB
1 "and" CCC2 "are called. This is the sub LM
The operation of each means in the case of dynamically replacing so that "BBB2" and "CCC3" are called will be described.

【0036】呼出済フラグ初期化手段8は、トランザク
ション処理開始時に動作し、プロセス固有テーブル9の
副LM呼出済フラグ91を「OFF」とする(図4のス
テップS40)。
The called flag initialization means 8 operates at the start of transaction processing, and sets the secondary LM called flag 91 of the process specific table 9 to "OFF" (step S40 in FIG. 4).

【0037】副LM呼出手段10は、トランザクション
処理プログラム7が、副LMの呼び出しを行う際に起動
される。
The sub LM calling means 10 is activated when the transaction processing program 7 calls the sub LM.

【0038】制御テーブル6において、呼び出される副
LMの置換中フラグ61を参照し(図2のステップS
1)、置換中フラグ61がONである場合(ステップS
2のYES)、管理テーブル5の置換中フラグ53を参
照し(ステップS3)、置換中フラグ53がONである
場合(ステップS4のYES)、プロセス固有テーブル
9の副LM呼出済フラグ91を参照し(ステップS
5)、副LM呼出済フラグ91がOFFの場合(ステッ
プS6のYES)、制御テーブル6の副LM指示62を
プロセス固有テーブルの副LM指示92にセットし(ス
テップS7)、プロセス固有テーブル9の副LM呼出済
フラグ91を「ON」とする(ステップS8)。ステッ
プS8につづいて、またステップS6で副LM呼出済フ
ラグ91がONの場合(ステップS6のNO)、プロセ
ス固有テーブル9の副LM指示92を参照する(ステッ
プS9)。
In the control table 6, the replacing flag 61 of the called secondary LM is referred to (step S in FIG. 2).
1) If the replacing flag 61 is ON (step S
2), refer to the replacing flag 53 of the management table 5 (step S3), and if the replacing flag 53 is ON (YES in step S4), refer to the sub LM called flag 91 of the process specific table 9 (Step S
5) When the secondary LM called flag 91 is OFF (YES in step S6), the secondary LM instruction 62 of the control table 6 is set in the secondary LM instruction 92 of the process specific table (step S7), and the secondary table LM9 of the process specific table 9 is set. The sub LM called flag 91 is set to "ON" (step S8). Subsequent to step S8, if the sub LM call completion flag 91 is ON in step S6 (NO in step S6), the sub LM instruction 92 in the process specific table 9 is referred to (step S9).

【0039】呼び出される副LMが置換中ではない場
合、すなわち制御テーブル6、管理テーブル5の置換中
フラグ61、53が「OFF」である場合には、管理テ
ーブル5の副LM指示52を参照する(図2のステップ
10)。
When the called sub LM is not being replaced, that is, when the replacement flags 61 and 53 of the control table 6 and the management table 5 are "OFF", the sub LM instruction 52 of the management table 5 is referred to. (Step 10 in FIG. 2).

【0040】副LM名指示が、「1」である場合、副L
M1の副LMを呼び出す(ステップS12)。副LM名
指示が、「2」である場合、副LM2の副LMを呼び出
す(ステップS13)。
When the sub LM name designation is "1", the sub L
The sub LM of M1 is called (step S12). When the sub LM name instruction is "2", the sub LM of the sub LM2 is called (step S13).

【0041】図1のトランザクション処理プログラム7
では、それぞれ副LM「BBB1」、副LM「CCC
2」が呼び出される。
The transaction processing program 7 of FIG.
Then, sub LM “BBB1” and sub LM “CCC”, respectively.
2 ”is called.

【0042】副LM置換手段4は、置換テーブル3に登
録されている置換対象の副LM数回分、図3のステップ
22〜ステップ26の処理を繰り返す。
The sub-LM replacement means 4 repeats the processing of steps 22 to 26 of FIG. 3 for the number of times of the sub-LM to be replaced registered in the replacement table 3.

【0043】管理テーブル5の副LM指示52を参照し
て(図3のステップS22)、副LM指示52が「2」
であれば(ステップS23のYES)、管理テーブル5
の副LM名2(55)の副LM名を副LM名1(54)
にセットし(ステップS24)、副LM指示52に
「1」をセットする(ステップS25)。
Referring to the sub LM instruction 52 of the management table 5 (step S22 in FIG. 3), the sub LM instruction 52 indicates "2".
If so (YES in step S23), the management table 5
Sub LM name 2 (55) of sub LM name 1 (54)
(Step S24), and the sub LM instruction 52 is set to "1" (step S25).

【0044】副LM登録手段2により、副LMに対し
て、管理テーブル5の置換中フラグ53を「ON」とす
る(ステップS26)。
The sub LM registration means 2 sets the replacement flag 53 of the management table 5 to "ON" for the sub LM (step S26).

【0045】置換対象の全ての副LMに対する処理が終
了した後、制御テーブル6の副LM指示62に「1」を
セットし(ステップS27)、制御テーブル6の置換中
フラグ61を「ON」とし(ステップS28)、オンラ
インリアルタイム処理システム1内の全トランザクショ
ン終了の待ち合わせを行う(ステップS29)。
After the processing for all sub-LMs to be replaced is completed, "1" is set in the sub-LM instruction 62 of the control table 6 (step S27), and the replacing flag 61 of the control table 6 is set to "ON". (Step S28), the completion of all transactions in the online real-time processing system 1 is waited for (step S29).

【0046】トランザクションの終了の待ち合わせを行
った後、副LM呼出手段10で、置換対象の副LMの呼
出を行う際に、プロセス固有テーブル9の副LM指示9
2を参照して(図2のステップS9)、副LMの呼出を
行う。この時、トランザクション内で、置換対象の副L
Mを最初に呼び出す場合、すなわちプロセス固有テーブ
ル9の呼出済フラグ91が「OFF」である場合、制御
テーブル6の副LM指示62をプロセス固有テーブル9
の副LM指示92に複写し、呼出済フラグ91を「O
N」とした後に、副LM指示92を参照する(図2のス
テップS5〜S9)。
After waiting for the end of the transaction, when the sub LM calling means 10 calls the sub LM to be replaced, the sub LM instruction 9 in the process specific table 9
2, the sub LM is called (step S9 in FIG. 2). At this time, in the transaction, the sub-L to be replaced
When M is called for the first time, that is, when the called flag 91 of the process specific table 9 is “OFF”, the sub LM instruction 62 of the control table 6 is set to the process specific table 9
To the secondary LM instruction 92 of the
After setting "N", the sub LM instruction 92 is referred to (steps S5 to S9 in FIG. 2).

【0047】副LM置換手段4は、トランザクションの
終了待ち合わせ後に、置換対象の全ての副LMに対し
て、図3のステップS31、32の処理を繰り返す。
After waiting for the end of the transaction, the sub-LM replacement means 4 repeats the processing of steps S31 and S32 of FIG. 3 for all the sub-LMs to be replaced.

【0048】管理テーブル5の副LM名2(55)に、
置換テーブル3の新副LM名32の副LM名をセットし
(図3のステップS31)、副LM指示52を「2」へ
切り換える(ステップS32)。
In the sub-LM name 2 (55) of the management table 5,
The sub LM name of the new sub LM name 32 of the replacement table 3 is set (step S31 in FIG. 3), and the sub LM instruction 52 is switched to "2" (step S32).

【0049】置換対象の副LM全てに対する処理が終了
した後、制御テーブル6の副LM指示62を「2」へ切
り換え(ステップS33)、トランザクション終了の待
ち合わせを行う(ステップS34)。
After the processing for all the sub LMs to be replaced is completed, the sub LM instruction 62 of the control table 6 is switched to "2" (step S33), and the transaction end is waited (step S34).

【0050】副LM指示92を切り換える前に、副LM
呼出手段10により、置換中の副LMが呼び出された場
合には、プロセス固有テーブル9の副LM指示92は
「1」であるため、そのトランザクション処理プログラ
ムでは、置換対象の全ての副LMは、置換前の副LMが
呼び出される。図1のトランザクション処理プログラム
7では、それぞれ副LM「BBB1」、「CCC2」が
呼び出される。
Before switching the sub LM instruction 92, the sub LM
When the sub-LM being replaced is called by the calling unit 10, the sub-LM instruction 92 of the process-specific table 9 is "1". Therefore, in the transaction processing program, all the sub-LMs to be replaced are The sub LM before replacement is called. In the transaction processing program 7 of FIG. 1, the sub LMs “BBB1” and “CCC2” are called, respectively.

【0051】副LM指示92を切り換えた後に、副LM
呼出手段10により、置換中の副LMが呼び出された場
合には、プロセス固有テーブル9の副LM指示92は
「2」であるため、そのトランザクション処理プログラ
ムでは、置換対象の全ての副LMは、置換後の副LMが
呼び出される。図1のトランザクション処理プログラム
7では、それぞれ副LM「BBB2」、「CCC3」が
呼び出される。
After switching the sub LM instruction 92, the sub LM
When the sub-LM under replacement is called by the calling means 10, the sub-LM instruction 92 of the process-specific table 9 is "2", and therefore all the sub-LMs to be replaced in the transaction processing program are The replaced secondary LM is called. In the transaction processing program 7 of FIG. 1, the sub LMs “BBB2” and “CCC3” are called, respectively.

【0052】トランザクション終了の待ち合わせを行っ
た後に起動される全てのトランザクション処理プログラ
ムにおいては、プロセス固有テーブル9の副LM指示9
2は「2」であるため、そのトランザクション処理プロ
グラムでは、置換対象の全ての副LMは、置換後の副L
Mが呼び出される。図1のトランザクション処理プログ
ラム7では、それぞれ副LM「BBB2」、「CCC
3」が呼び出される。
In all transaction processing programs started after waiting for the end of transaction, the sub-LM instruction 9 of the process specific table 9 is used.
Since 2 is “2”, in the transaction processing program, all the sub LMs to be replaced are the sub Ls after the replacement.
M is called. In the transaction processing program 7 shown in FIG. 1, the sub LMs “BBB2” and “CCC” are used, respectively.
3 ”is called.

【0053】副LM置換手段4は、トランザクション終
了の待ち合わせを行った後、制御テーブル6の置換中フ
ラグ61を「OFF」とし(ステップS35)、また置
換対象の副LM数分、管理テーブル5の置換中フラグ5
3を「OFF」として、置換の処理を終了する(ステッ
プS36、S37)。
After waiting for the end of the transaction, the sub-LM replacement means 4 sets the replacement flag 61 of the control table 6 to "OFF" (step S35), and the number of sub-LMs to be replaced is equal to that of the management table 5. Replacement flag 5
3 is set to "OFF", and the replacement process ends (steps S36 and S37).

【0054】置換処理終了後では、副LM呼出手段10
は、管理テーブル5の副LM指示52を参照して副LM
の呼出を行う。図1のトランザクション処理プログラム
7では、それぞれ、副LM「BBB2」、「CCC3」
が呼び出される。
After the replacement processing is completed, the sub LM calling means 10
Refers to the sub-LM instruction 52 of the management table 5 and refers to the sub-LM
Call. In the transaction processing program 7 of FIG. 1, the sub LMs “BBB2” and “CCC3” are respectively generated.
Is called.

【0055】[0055]

【発明の効果】以上説明したように、本発明によれば、
複数の副LMを動的に置換する場合に、同一トランザク
ション内で呼び出を行う置換対象の副LMが全て新また
は旧副LMであることを保証する構成としたことによ
り、副LM間のインタフェース変更等の修正を行った場
合でも、業務を閉塞することなく、副LMの動的置換が
行うことができる。
As described above, according to the present invention,
When a plurality of secondary LMs are dynamically replaced, the configuration is assured that all the replacement target secondary LMs that are called in the same transaction are new or old secondary LMs. Even when a modification such as a change is made, the sub LM can be dynamically replaced without blocking the work.

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

【図1】本発明の一実施例の構成を示す図である。FIG. 1 is a diagram showing a configuration of an exemplary embodiment of the present invention.

【図2】本発明の一実施例の処理手順を示す流れ図であ
る。
FIG. 2 is a flowchart showing a processing procedure of an embodiment of the present invention.

【図3】本発明の一実施例の処理手順を示す流れ図であ
る。
FIG. 3 is a flowchart showing a processing procedure of an embodiment of the present invention.

【図4】本発明の一実施例の処理手順を示す流れ図であ
る。
FIG. 4 is a flowchart showing a processing procedure of an embodiment of the present invention.

【図5】従来のオンライン処理システムの構成を示す図
である。
FIG. 5 is a diagram showing a configuration of a conventional online processing system.

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

1 オンラインリアルタイム処理システム 2 副LM登録手段 3 置換テーブル 4 副LM置換手段 5 管理テーブル 6 制御テーブル 7 トランザクション処理プログラム 8 呼び出し済フラグ初期化手段 9 プロセス固有テーブル 10 副LM呼び出し手段 11 ロードモジュールライブラリ 12 操作卓 31 被置換副LM名 32 代替(新)副LM名 51 副LM名 54 副LM名1 55 副LM名2 52 副LM指示 53 置換中フラグ 61 置換中フラグ 62 副LM指示 91 呼出済フラグ 92 副LM指示 200 オンラインリアルタイム処理装置 202 副LM登録手段 203 置換テーブル 204 副LM置換手段 205 管理テーブル 207 トランザクション処理プログラム 210 副LM呼出手段 211 ロードモジュールライブラリ 231 被置換LM名 232 代替LM名 250 エントリ 251 置換フラグ 252 副LM名 253、254 副LM入口点ポインタ 1 Online real-time processing system 2 Sub LM registration means 3 replacement table 4 Sub-LM replacement means 5 management table 6 control table 7 Transaction processing program 8 Called flag initialization means 9 Process-specific table 10 Sub LM calling means 11 Load module library 12 console 31 Replaced sub LM name 32 Alternate (New) Deputy LM Name 51 Deputy LM name 54 Deputy LM name 1 55 Deputy LM name 2 52 Deputy LM instruction 53 Replacement flag 61 Replacement flag 62 Deputy LM instruction 91 Called flag 92 Deputy LM instruction 200 Online real-time processor 202 Sub LM registration means 203 substitution table 204 Sub-LM replacement means 205 management table 207 Transaction processing program 210 Secondary LM calling means 211 Load module library 231 Replaced LM name 232 Alternative LM name 250 entries 251 replacement flag 252 Deputy LM name 253, 254 Secondary LM entry point pointer

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】トランザクション処理プログラムから呼び
出される複数の副ロードモジュールが格納されるロード
モジュールライブラリと、 被置換副ロードモジュールの副ロードモジュール名と、
代替副ロードモジュールの副ロードモジュール名と、を
対応させて登録する置換テーブルと、 副ロードモジュール名と、副ロードモジュール名の呼び
出し命令により実際に呼び出される副ロードモジュール
の副ロードモジュール名である複数の副ロードモジュー
ル名と、前記複数の副ロードモジュール名のうちどの副
ロードモジュールの呼び出しを行うかを指示する副ロー
ドモジュール指示情報と、副ロードモジュールが置換処
理中であることを示す置換中フラグと、を副ロードモジ
ュール名毎に一エントリとして記憶している管理テーブ
ルと、 副ロードモジュールが置換処理中であることを示す置換
中フラグと、前記管理テーブルの副ロードモジュール指
示情報を複写するための副ロードモジュール指示情報と
を記憶する制御テーブルと、 前記トランザクション処理プログラムで置換対象の副ロ
ードモジュールの呼び出しを行っているか否かを判断す
るための呼出済フラグ情報と、前記制御テーブルの前記
副ロードモジュール指示情報を複写するための副ロード
モジュール指示情報とを記憶するプロセス固有テーブル
と、 を備えたオンラインリアルタイム処理システムでの副ロ
ードモジュール置換方法であって、 (a)置換対象の副ロードモジュールの副ロードモジュ
ール名と、代替副ロードモジュールの副ロードモジュー
ル名を前記置換テーブルに登録するステップと、 (b)置換処理の開始時に、前記制御テーブルの置換中
フラグおよび前記管理テーブルの置換対象の副ロードモ
ジュールのエントリの置換中フラグをオンとし、オンラ
インリアルタイム処理システム内の全てのトランザクシ
ョンの終了を待ち合わせ終了の確認を行なうとともに、
前記制御テーブルおよび前記管理テーブルの副ロードモ
ジュール指示情報を代替副ロードモジュール側に切り換
え、該切り換え後に、再度前記トランザクションの終了
を待ち合わせて該終了を確認し、前記制御テーブルおよ
び前記管理テーブルの置換中フラグをオフとする副ロー
ドモジュール置換ステップと、 (c)前記トランザクション処理プログラムの実行前に
起動され、前記プロセス固有テーブルの呼出済フラグを
オフとする呼出済フラグ初期化ステップと、 (d)前記トランザクション処理プログラムからの副ロ
ードモジュールを呼び出す際に起動され前記管理テーブ
ルの該当副ロードモジュールの置換中フラグがオフであ
る場合に、副ロードモジュール指示情報が示す副ロード
モジュール名の呼び出しを行い、前記制御テーブルの置
換中フラグおよび該当する副ロードモジュールのエント
リの前記管理テーブルの置換中フラグがオンである場
合、前記プロセス固有テーブルの副ロードモジュール指
示情報を参照して副ロードモジュールの呼び出しを行
い、前記副ロードモジュール呼出手段が、前記プロセス
固有テーブルの呼び出し済フラグがオフの場合、前記制
御テーブルの副ロードモジュール指示情報を前記プロセ
ス固有テーブルの副ロードモジュール指示情報に複写
し、呼出済フラグをオンにした後に、副ロードモジュー
ル指示情報を参照して、副ロードモジュールの呼び出し
を行う、副ロードモジュール呼出ステップと、 を含む、ことを特徴とする副ロードモジュール置換方
法。
1. Calling from a transaction processing program
A load containing multiple secondary load modules to be issued
Module library, sub load module name of replaced sub load module,
The sub load module name of the alternative sub load module,
Substitution table registered in association with each other, secondary load module name, and secondary load module name
Secondary load module that is actually called by the output instruction
Multiple secondary load modules, which are the secondary load module names of
Name and which sub-module
Secondary row that indicates whether to call the load module
Submodule is replaced with the submodule instruction information.
The replacement flag indicating that it is in progress and the
Management table stored as one entry for each tool name
And that the secondary load module is in the process of being replaced
Medium flag and the secondary load module finger of the management table
Secondary load module instruction information for copying the indication information
A control table for storing, bag to be replaced with the transaction processor
To determine whether or not you are calling the module
Called flag information for
Secondary load Module secondary load for copying instruction information
Process-specific table that stores module instruction information
And an online real-time processing system equipped with
A method of replacing a secondary module , comprising: (a) a secondary load module of a secondary load module to be replaced.
Module name and the secondary load module of the alternate secondary load module
Registering the file name in the replacement table, and (b) during the replacement of the control table at the start of the replacement process.
The flag and the secondary load module to be replaced in the management table
The Joule entry replacement flag is turned on and the
All transactions in the in-real-time processing system
Wait for the end of the session and confirm the end,
Secondary load mode for the control table and the management table
Switch the module instruction information to the alternative secondary load module side
After the switching, the transaction ends again.
To confirm the end,
And a sub-row for which the replacing flag of the management table is turned off.
A module replacement step, and (c) before executing the transaction processing program.
It is started and the called flag of the process specific table is set.
A step of initializing the called flag that is turned off, and (d) a sub-log from the transaction processing program.
The above-mentioned management table is activated when the mode module is called.
The replacement flag of the corresponding secondary load module in the
The secondary load indicated by the secondary load module instruction information
Call the module name and set the control table
Conversion flag and corresponding secondary load module entry
If the replacing flag of the management table of the
, The secondary load module finger of the process-specific table
The secondary load module is called by referring to the
The sub load module calling means is the process
If the called flag of the unique table is off, the above
The secondary load module instruction information of the control table
Copy to secondary load module instruction information
After turning on the called flag, the secondary load module
Call the secondary load module by referring to the instruction information
And a sub load module calling step for executing the sub load module replacement method.
Law.
【請求項2】複数のトランザクション処理プログラムを
格納して実行するトランザクション処理手段と、 前記トランザクション処理手段から呼び出される複数の
副ロードモジュールが格納されるロードモジュールライ
ブラリと、 被置換副ロードモジュールの副ロードモジュール名と、
代替副ロードモジュールの副ロードモジュール名と、を
対応させて登録する置換テーブルと、 副ロードモジュール名と、副ロードモジュール名の呼び
出し命令により実際に呼び出される副ロードモジュール
の副ロードモジュール名である複数の副ロードモジュー
ル名と、前記複数の副ロードモジュール名のうちどの副
ロードモジュールの呼び出しを行うかを指示する副ロー
ドモジュール指示情報と、副ロードモジュールが置換処
理中であることを示す置換中フラグと、を副ロードモジ
ュール名毎に一エントリとして記憶している管理テーブ
ルと、 副ロードモジュールが置換処理中であることを示す置換
中フラグと、前記管理テーブルの副ロードモジュール指
示情報を複写するための副ロードモジュール指示情報と
を記憶する制御テーブルと、 前記トランザクション処理手段で置換対象の副ロードモ
ジュールの呼び出しを行っているか否かを判断するため
の呼出済フラグ情報と、前記制御テーブルの前記副ロー
ドモジュール指示情報を複写するための副ロードモジュ
ール指示情報とを記憶するプロセス固有テーブルと、 置換対象の副ロードモジュールの副ロードモジュール名
と、代替副ロードモジュールの副ロードモジュール名を
前記置換テーブルに登録する副ロードモジュール登録手
段と、 置換処理の開始時に、前記制御テーブルの置換中フラグ
および前記管理テーブルの置換対象の副ロードモジュー
ルのエントリの置換中フラグをオンとし、オンラインリ
アルタイム処理システム内の全てのトランザクションの
終了を待ち合わせ終了の確認を行なうとともに、前記制
御テーブルおよび前記管理テーブルの副ロードモジュー
ル指示情報を代替副ロードモジュール側に切り換え、該
切り換え後に、再度前記トランザクションの終了を待ち
合わせて該終了を確認し、前記制御テーブルおよび前記
管理テーブルの置換中フラグをオフとする副ロードモジ
ュール置換手段と、 前記トランザクション処理手段の実行前に起動され、前
記プロセス固有テーブルの呼出済フラグをオフとする呼
出済フラグ初期化手段と、 前記トランザクション処理手段からの副ロードモジュー
ルを呼び出す際に起動され前記管理テーブルの該当副ロ
ードモジュールの置換中フラグがオフである場合に、副
ロードモジュール指示情報が示す副ロードモジュール名
の呼び出しを行い、前記制御テーブルの置換中フラグお
よび該当する副ロードモジュールのエントリの前記管理
テーブルの置換中フラグがオンである場合、前記プロセ
ス固有テーブルの副ロードモジュール指示情報を参照し
て副ロードモジュールの呼び出しを行う副ロードモジュ
ール呼出手段と、 を備えたことを特徴とするオンラインリアルタイム処理
システム。
2. A transaction processing means for storing and executing a plurality of transaction processing programs, a load module library for storing a plurality of secondary load modules called from the transaction processing means, and a secondary load of a replaced secondary load module. The module name,
A substitution table that registers the sub load module name of the alternate sub load module in association with each other, the sub load module name, and the sub load module name of the sub load module that is actually called by the call instruction of the sub load module name. Sub-load module name, sub-load module instruction information for instructing which sub-load module is called from among the plurality of sub-load module names, and a replacement flag indicating that the sub-load module is undergoing replacement processing. To copy the management table that stores, as an entry for each secondary load module name, a replacement flag indicating that the secondary load module is undergoing replacement processing, and the secondary load module instruction information in the management table. And a control table for storing the secondary load module instruction information of Called flag information for determining whether the sub load module to be replaced is being called by the transaction processing unit, and sub load module instruction information for copying the sub load module instruction information in the control table And a process-specific table that stores, a secondary load module name of the secondary load module to be replaced, and a secondary load module registration means that registers the secondary load module name of the alternate secondary load module in the replacement table; , Turning on the replacing flag of the control table and the replacing flag of the entry of the sub load module to be replaced in the management table, waiting for the end of all transactions in the online real-time processing system, and confirming the end, Control table And switching the secondary load module instruction information of the management table to the alternative secondary load module side, and after the switching, waits for the end of the transaction again to confirm the end, and turns off the replacement flag of the control table and the management table. A secondary load module replacement means, a called flag initialization means that is started before the transaction processing means is executed, and turns off the called flag of the process specific table; and a secondary load module from the transaction processing means. If the sub load module name of the sub load module in the management table, which is activated during the call, is off, the sub load module name indicated by the sub load module instruction information is called, and the sub flag in the control table and the corresponding Sub load module And a sub load module call means for calling the sub load module by referring to the sub load module instruction information of the process specific table when the replacing flag of the management table of the storage unit is turned on. Online real-time processing system to do.
【請求項3】前記副ロードモジュール呼出手段が、前記
プロセス固有テーブルの呼び出し済フラグがオフの場
合、前記制御テーブルの副ロードモジュール指示情報を
前記プロセス固有テーブルの副ロードモジュール指示情
報に複写し、呼出済フラグをオンにした後に、副ロード
モジュール指示情報を参照して、副ロードモジュールの
呼び出しを行う、ことを特徴とする請求項記載のオン
ラインリアルタイム処理システム。
3. The secondary load module calling means copies the secondary load module instruction information of the control table to the secondary load module instruction information of the process unique table when the called flag of the process unique table is off. 3. The online real-time processing system according to claim 2 , wherein the secondary load module is called by referring to the secondary load module instruction information after turning on the called flag.
【請求項4】トランザクション処理プログラムから呼び
出される複数の副ロードモジュールが格納されるロード
モジュールライブラリと、 被置換副ロードモジュールの副ロードモジュール名と、
代替副ロードモジュールの副ロードモジュール名と、を
対応させて登録する置換テーブルと、 副ロードモジュール名と、副ロードモジュール名の呼び
出し命令により実際に呼び出される副ロードモジュール
の副ロードモジュール名である複数の副ロードモジュー
ル名と、前記複数の副ロードモジュール名のうちどの副
ロードモジュールの呼び出しを行うかを指示する副ロー
ドモジュール指示情報と、副ロードモジュールが置換処
理中であることを示す置換中フラグと、を副ロードモジ
ュール名毎に一エントリとして記憶している管理テーブ
ルと、 副ロードモジュールが置換処理中であることを示す置換
中フラグと、前記管理テーブルの副ロードモジュール指
示情報を複写するための副ロードモジュール指示情報と
を記憶する制御テーブルと、 前記トランザクション処理プログラムで置換対象の副ロ
ードモジュールの呼び出しを行っているか否かを判断す
るための呼出済フラグ情報と、前記制御テーブルの前記
副ロードモジュール指示情報を複写するための副ロード
モジュール指示情報とを記憶するプロセス固有テーブル
と、 を備えたオンラインリアルタイム処理装置において、 (a)置換対象の副ロードモジュールの副ロードモジュ
ール名と、代替副ロードモジュールの副ロードモジュー
ル名を前記置換テーブルに登録する処理と、 (b)置換処理の開始時に、前記制御テーブルの置換中
フラグおよび前記管理テーブルの置換対象の副ロードモ
ジュールのエントリの置換中フラグをオンとし、オンラ
インリアルタイム処理システム内の全てのトランザクシ
ョンの終了を待ち合わせ終了の確認を行なうとともに、
前記制御テーブルおよび前記管理テーブルの副ロードモ
ジュール指示情報を代替副ロードモジュール側に切り換
え、該切り換え後に、再度前記トランザクションの終了
を待ち合わせて該終了を確認し、前記制御テーブルおよ
び前記管理テーブルの置換中フラグをオフとする副ロー
ドモジュール置換処理と、 (c)前記トランザクション処理プログラムの実行前に
起動され、前記プロセス固有テーブルの呼出済フラグを
オフとする呼出済フラグ初期化処理と、 (d)前記トランザクション処理プログラムからの副ロ
ードモジュールを呼び出す際に起動され前記管理テーブ
ルの該当副ロードモジュールの置換中フラグがオフであ
る場合に、副ロードモジュール指示情報が示す副ロード
モジュール名の呼び出しを行い、前記制御テーブルの置
換中フラグおよび該当する副ロードモジュールのエント
リの前記管理テーブルの置換中フラグがオンである場
合、前記プロセス固有テーブルの副ロードモジュール指
示情報を参照して副ロードモジュールの呼び出しを行
い、前記副ロードモジュール呼出手段が、前記プロセス
固有テーブルの呼び出し済フラグがオフの場合、前記制
御テーブルの副ロードモジュール指示情報を前記プロセ
ス固有テーブルの副ロードモジュール指示情報に複写
し、呼出済フラグをオンにした後に、副ロードモジュー
ル指示情報を参照して、副ロードモジュールの呼び出し
を行う、副ロードモジュール呼出処理と、 の前記(a)乃至(d)の各処理を前記オンラインリア
ルタイム処理装置を構成するコンピュータ上で機能させ
るプログラムを記録したコンピュータで読み出し可能な
記録媒体。
4. A load module library in which a plurality of secondary load modules called from a transaction processing program are stored, a secondary load module name of a replaced secondary load module,
A substitution table that registers the sub load module name of the alternate sub load module in association with each other, the sub load module name, and the sub load module name of the sub load module that is actually called by the call instruction of the sub load module name. Sub-load module name, sub-load module instruction information for instructing which sub-load module is called from among the plurality of sub-load module names, and a replacement flag indicating that the sub-load module is undergoing replacement processing. To copy the management table that stores, as an entry for each secondary load module name, a replacement flag indicating that the secondary load module is undergoing replacement processing, and the secondary load module instruction information in the management table. And a control table for storing the secondary load module instruction information of Called flag information for determining whether the sub load module to be replaced is called in the transaction processing program, and sub load module instruction information for copying the sub load module instruction information in the control table In the online real-time processing device comprising: a process specific table for storing, and (a), the sub load module name of the sub load module to be replaced and the sub load module name of the alternative sub load module are registered in the replacement table. Processing, and (b) at the start of the replacement processing, the replacing flag of the control table and the replacing flag of the entry of the sub load module to be replaced in the management table are turned on to turn on all transactions in the online real-time processing system. Wait for the end It performs a confirmation of termination,
The secondary load module instruction information of the control table and the management table is switched to the alternative secondary load module side, and after the switching, the end of the transaction is waited again to confirm the end, and the control table and the management table are being replaced. A secondary load module replacement process for turning off the flag; (c) a called flag initialization process for turning off the called flag of the process-specific table, which is started before the transaction processing program is executed; When the sub load module is activated when the sub load module is called from the transaction processing program, and the replacement flag of the sub load module in the management table is off, the sub load module name indicated by the sub load module instruction information is called, and Replacing control table When the flag in the replacement of the management table of the entry of the lag and the corresponding secondary load module is ON, the secondary load module is called by referring to the secondary load module instruction information of the process specific table, and the secondary load module is called. When the called flag of the process-specific table is off, the means copies the secondary load module instruction information of the control table to the secondary load module instruction information of the process-specific table, turns on the called flag, and then The sub load module calling process for calling the sub load module by referring to the load module instruction information, and the respective processes of (a) to (d) above are caused to function on the computer constituting the online real-time processing device. Read the program on the computer Recording medium that can be put out.
JP15721899A 1999-06-04 1999-06-04 Online real-time processing system and sub load module replacement method in the system Expired - Fee Related JP3503531B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15721899A JP3503531B2 (en) 1999-06-04 1999-06-04 Online real-time processing system and sub load module replacement method in the system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15721899A JP3503531B2 (en) 1999-06-04 1999-06-04 Online real-time processing system and sub load module replacement method in the system

Publications (2)

Publication Number Publication Date
JP2000347844A JP2000347844A (en) 2000-12-15
JP3503531B2 true JP3503531B2 (en) 2004-03-08

Family

ID=15644812

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15721899A Expired - Fee Related JP3503531B2 (en) 1999-06-04 1999-06-04 Online real-time processing system and sub load module replacement method in the system

Country Status (1)

Country Link
JP (1) JP3503531B2 (en)

Also Published As

Publication number Publication date
JP2000347844A (en) 2000-12-15

Similar Documents

Publication Publication Date Title
JP2692609B2 (en) Multitask program debugging method and apparatus
JPS6364144A (en) Inter-memory data transfer system
JP3399665B2 (en) Information processing device
JP3503531B2 (en) Online real-time processing system and sub load module replacement method in the system
JP3143330B2 (en) Programmable controller
JP2555920B2 (en) Online real-time processor
JP3586943B2 (en) Program loading device and method
JPS58151663A (en) Switching system of system file
JPH01259432A (en) Reexecution system for batch job
JPS6359639A (en) System for controlling compatibility of file access
JPH02139630A (en) Online task exchange device
JPH04260141A (en) Data shared processor
JPH0769847B2 (en) Job control method during rerun
JPH11312108A (en) System for replacing transaction synchronization of sub-load module
JPS6356728A (en) Execution system for program correction
JPS63314642A (en) Control processing system for selected product
JPH01201728A (en) Program correcting system
JPH04309162A (en) Method for copying file between dual disks
JPH02253336A (en) Program starting system
JPH0546375A (en) Editor device
JPH01273104A (en) Programming device for digital control apparatus
JPH02172397A (en) Exchange
JPS62194546A (en) Information processor
JPH0773142A (en) Data processing system
JPH06110710A (en) Batch processing control system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20031118

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20031201

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071219

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081219

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091219

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091219

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101219

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101219

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111219

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees