JP2000137620A - Method and system for changing program of transaction processing system and storage medium - Google Patents

Method and system for changing program of transaction processing system and storage medium

Info

Publication number
JP2000137620A
JP2000137620A JP11195427A JP19542799A JP2000137620A JP 2000137620 A JP2000137620 A JP 2000137620A JP 11195427 A JP11195427 A JP 11195427A JP 19542799 A JP19542799 A JP 19542799A JP 2000137620 A JP2000137620 A JP 2000137620A
Authority
JP
Japan
Prior art keywords
program
software
data
transaction
storage unit
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
JP11195427A
Other languages
Japanese (ja)
Inventor
Katsushi Hachitaka
克志 八高
Kazuo Masai
一夫 正井
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP11195427A priority Critical patent/JP2000137620A/en
Publication of JP2000137620A publication Critical patent/JP2000137620A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a transaction multiplex information processing system capable of changing a software version in operation, and an exclusive control method. SOLUTION: Operating software and new software are simultaneously executed at the time of changing software, and a new transaction reaching an access controlling part 130 and a transaction reaching the access controlling part before the change of software are simultaneously processed respectively by the new software and the operating software. At that time, the transaction in the new software prepares exclusive information related with data to be inputted and outputted on the new software by using a mutual exclusive control part so that the transactions in the both software can operate the input and output of data without any contradiction, and the uniqueness of the data can be guaranteed by temporarily invalidating a data buffer part. When all the transactions in the operating software are ended, the operating software is stopped so that the change of the software can be operated.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数のトランザク
ションを並行に処理するトランザクション多重化情報処
理システム、特に、データベース管理システム等のよう
に、トランザクションのデータ入出力するデータに関す
る排他制御機構およびデータ入出力の緩衝機構を備えた
トランザクション多重化情報処理システムにおけるトラ
ンザクション処理プログラムなどのソフトウェアをシス
テム運用中に他のソフトウェアや他のバージョンに変更
する技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transaction multiplexing information processing system for processing a plurality of transactions in parallel, and more particularly, to an exclusive control mechanism for data input / output of transactions, such as a database management system, and the like. The present invention relates to a technique for changing software such as a transaction processing program in a transaction multiplexed information processing system having an output buffering mechanism to another software or another version during system operation.

【0002】[0002]

【従来の技術】従来、情報処理システムにおけるトラン
ザクション処理プログラム等のソフトウェアのバージョ
ン変更やソフトウェア製品の変更はシステムの停止を必
要としていた。そのため、トランザクションを強制停止
することなくソフトウェアの変更を行なうためには、情
報処理システム停止計画を立て、情報システム停止時間
までに完了しないトランザクション、および、情報処理
システム停止期間中のトランザクションの投入をユーザ
に禁止する、または、システムで保留する必要があっ
た。その結果、情報処理システムのソフトウェア変更
は、ユーザに対するシステム利用時間の制約およびシス
テム管理者におけるソフトウェア変更時間の制約を伴う
困難な作業であった。
2. Description of the Related Art Hitherto, a change in software version such as a transaction processing program or a change in a software product in an information processing system has required a stop of the system. Therefore, in order to make software changes without forcibly stopping the transaction, the information processing system must be planned to be stopped, and transactions that are not completed by the information system suspension time and transactions that are entered during the information processing system suspension period must be entered by the user. Had to be banned or put on hold by the system. As a result, changing the software of the information processing system has been a difficult task with restrictions on the system use time for the user and restrictions on the software change time for the system administrator.

【0003】また、ソフトウェアのシステム運用中の変
更方法としてディスク制御装置の無停止保守方法および
ディスク制御装置が特開平6-309117で提案されている
が、これにおけるソフトウェア変更の対象はディスク制
御装置であり、単一のボリュームにつきディスクアクセ
ス処理単位群であるクラスタを複数有し、クラスタの各
々が独立したソフトウェア実行領域を有し、異なる複数
のデータ入出力にまたがる排他制御を必要とせず、か
つ、データ入出力用のバッファを持たないシステムであ
る。また、特開平6-309117におけるソフトウェア変更の
方法は、一部クラスタから順次一時的なデータ入出力要
求受付禁止状態にし、該当クラスタでのデータ入出力が
終了した時点で該当クラスタのソフトウェア実行領域に
目的バージョンソフトウェアをロードすることで、全面
停止することなくディスク制御装置のすべてのクラスタ
のソフトウェアを変更するものである。
As a method of changing software during system operation, a non-stop maintenance method of a disk control device and a disk control device have been proposed in Japanese Patent Laid-Open No. 6-309117. Yes, a single volume has a plurality of clusters which are a group of disk access processing units, each of the clusters has an independent software execution area, does not require exclusive control over a plurality of different data I / Os, and The system does not have a data input / output buffer. Further, the method of software change in Japanese Patent Application Laid-Open No. 6-309117 discloses a method of temporarily disabling the acceptance of data input / output requests sequentially from a part of a cluster, and when the data input / output in the corresponding cluster is completed, the software execution area of the corresponding cluster is changed. By loading the target version software, the software of all the clusters of the disk controller can be changed without stopping completely.

【0004】[0004]

【発明が解決しようとする課題】しかし、データベース
管理システムでは多重化されたトランザクション処理単
位が必ずしも独立したソフトウェア実行領域を持ってい
ないので、一部のトランザクション処理単位を処理する
ソフトウェアを変更することは不可能である。また、デ
ータベース管理システムは複数のデータ入出力にまたが
る排他制御を要するので、複数のソフトウェアを並行に
運用した場合、異なるソフトウェアが持つトランザクシ
ョン処理単位間でも排他情報を共有する必要が有る。さ
らに、データベース管理システムは一般に高速化のため
にデータ入出力緩衝動作のためのバッファを有している
ので、ソフトウェア変更時に複数のソフトウェア間でデ
ータの一意性を保証する手段が必要である。以上の理由
で、特開平6-309117が提案する方法はデータベース管理
システムのソフトウェアの変更には適していない。
However, in a database management system, since multiplexed transaction processing units do not always have independent software execution areas, it is not possible to change software that processes some transaction processing units. Impossible. Further, since the database management system requires exclusive control over a plurality of data inputs and outputs, when a plurality of software are operated in parallel, it is necessary to share exclusive information between transaction processing units of different software. Further, since the database management system generally has a buffer for buffering data input / output for speeding up, a means for guaranteeing the uniqueness of data among a plurality of software when software is changed is required. For the above reasons, the method proposed by JP-A-6-309117 is not suitable for changing the software of the database management system.

【0005】本発明は、多重化されたトランザクション
実行単位が独立したソフトウェア実行領域を持たないト
ランザクション多重化情報処理システムにおいて、シス
テム運用中のソフトウェアを稼働中ソフトウェアから新
たなソフトウェアへ動的に変更可能とするものである。
According to the present invention, in a transaction multiplexed information processing system in which a multiplexed transaction execution unit does not have an independent software execution area, software in operation of a system can be dynamically changed from running software to new software. It is assumed that.

【0006】さらに、本発明はデータ入出力に関する排
他制御機構を備えたシステムの運用中ソフトウェア変更
時において、稼働中ソフトウェアでトランザクション処
理中であっても、排他制御の矛盾を生じることなく新た
なソフトウェアで新規トランザクションを処理すること
を可能とするものである。
Further, the present invention provides a new software system that does not cause inconsistency in exclusive control even when a transaction is being processed by operating software when a software having an exclusive control mechanism for data input / output is changed during operation. To process a new transaction.

【0007】さらに、本発明はデータ入出力の緩衝動作
を行うバッファを備えたシステムの運用中ソフトウェア
変更時において、異なるソフトウェアが並行動作時にデ
ータ保存部とのデータの一意性を保証したデータ入出力
を可能とするものである。
Further, according to the present invention, when software is changed during operation of a system provided with a buffer for buffering data input / output, different software guarantees data uniqueness with a data storage unit during parallel operation. Is made possible.

【0008】[0008]

【課題を解決するための手段】本発明における情報処理
システムはアクセス制御部を有し、該アクセス制御部は
情報処理システムに到着したトランザクションを受け取
り、これを適切なソフトウェアに選択的に投入する。
The information processing system according to the present invention has an access control unit. The access control unit receives a transaction arriving at the information processing system and selectively inputs the transaction to appropriate software.

【0009】情報処理システムのソフトウェアを稼働中
ソフトウェアから新たなソフトウェアに変更する時に、
アクセス制御部によって新たなソフトウェア格納部から
ロードされた該新たなソフトウェアと稼働中ソフトウェ
アが並行に動作する。新たなソフトウェアがロードされ
ると、アクセス制御部が稼働中ソフトウェア運用状態か
らソフトウェア移行状態に遷移し、新規に到着したトラ
ンザクションを新たなソフトウェアに投入する。該ソフ
トウェア移行状態において、稼働中ソフトウェアおよび
新たなソフトウェアでトランザクションが並行に処理さ
れ、稼働中ソフトウェアに投入済みのトランザクション
を中断することがない。続いて、稼働中ソフトウェア上
のトランザクションがすべて終了した時点で、アクセス
制御部をソフトウェア移行状態から新たなソフトウェア
運用状態に遷移する。これによって、システム運用中の
ソフトウェア変更が可能となる。さらに、アクセス制御
部が新たなソフトウェアとして管理していたものを稼働
中ソフトウェアとして管理し、新たなソフトウェア実行
領域として管理していたものを稼働中ソフトウェア実行
領域、稼働中ソフトウェア実行領域として管理していた
ものを新たなソフトウェア実行領域として管理すること
で、次回以降のソフトウェア変更も同様の手順で行なう
ことが出来る。
When the software of the information processing system is changed from running software to new software,
The new software loaded from the new software storage unit by the access control unit and the running software operate in parallel. When new software is loaded, the access control unit transitions from the operating software operating state to the software transition state, and inputs a newly arrived transaction to the new software. In the software transition state, the transaction is processed in parallel by the running software and the new software, and the transaction already input to the running software is not interrupted. Subsequently, when all transactions on the running software have been completed, the access control unit transitions from the software transition state to a new software operation state. As a result, the software can be changed during the operation of the system. In addition, the access control unit manages what was managed as new software as running software, and what was managed as a new software execution area is managed as running software execution area and running software execution area. The new software execution area is managed as a new software execution area, so that subsequent software changes can be performed in the same procedure.

【0010】また、ソフトウェア変更を行う対象の情報
処理システムが排他制御を必要とする場合には、ソフト
ウェア移行状態において稼働中ソフトウェアおよび新た
なソフトウェアの排他情報を一元的に管理する。これに
よって、稼働中ソフトウェア上のトランザクションおよ
び新たなソフトウェア上のトランザクションが矛盾の無
い排他制御を可能とする。
[0010] When the information processing system for which software is to be changed requires exclusive control, the exclusive information of the running software and new software is managed in a software transition state. As a result, the transaction on the running software and the transaction on the new software can perform exclusive control without contradiction.

【0011】また、ソフトウェア変更を行う対象の情報
処理システムがデータ保存部とのデータ入出力緩衝手段
を有する場合には、ソフトウェア移行状態において稼働
中ソフトウェアおよび新たなソフトウェアのデータ入出
力緩衝手段を無効として動作を停止することでデータ保
存部とデータの一意性を保証したデータ入出力を可能と
する。
If the information processing system for which software is to be changed has a data input / output buffer with the data storage unit, the data input / output buffer of the running software and the new software is invalidated in the software transition state. By stopping the operation as described above, data input / output can be performed with the data storage unit and the uniqueness of the data guaranteed.

【0012】[0012]

【発明の実施の形態】以下、本発明の実施の形態をトラ
ンザクション処理プログラムのバージョン変更を例に詳
細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The embodiments of the present invention will be described below in detail by taking a version change of a transaction processing program as an example.

【0013】本実施形態ではトランザクション多重化情
報処理システムにおける現バージョンソフトウェアを目
的バージョンソフトウェアに変更することを目的として
説明する。
This embodiment will be described for the purpose of changing the current version software to the target version software in the transaction multiplexed information processing system.

【0014】図1は運用中のソフトウェアバージョン変
更を可能とするトランザクション多重化情報処理システ
ムの構成を表すブロック図である。
FIG. 1 is a block diagram showing the configuration of a transaction multiplexed information processing system which enables a software version change during operation.

【0015】図1においてアクセス制御部130はユーザア
プリケーション160が生成したトランザクションを受取
り、現バージョンソフトウェア111または目的バージョ
ンソフトウェア121に選択的に投入する。このとき、ア
クセス制御部130は、状態記憶部131で保持され、バージ
ョン移行過程で遷移するアクセス制御部状態に依存して
投入先のソフトウェアバージョンを決定する。
In FIG. 1, the access control unit 130 receives a transaction generated by the user application 160 and selectively inputs the transaction to the current version software 111 or the target version software 121. At this time, the access control unit 130 is held in the state storage unit 131, and determines the software version of the input destination depending on the state of the access control unit that changes in the version migration process.

【0016】また、アクセス制御部130は目的バージョ
ンソフトウェア121のロード、現バージョンソフトウェ
ア111および目的バージョンソフトウェア121のデータバ
ッファ115, 125の有効化、無効化の要求、データバッフ
ァ有効状態記憶部116、126の監視、目的バージョンソフ
トウェア121内の相互排他制御フラグ124の制御、トラン
ザクションの終了監視も行なう。
The access control unit 130 loads the target version software 121, requests the data buffers 115 and 125 of the current version software 111 and the target version software 121 to be enabled and disabled, and stores the data buffer enabled state storage units 116 and 126. , Control of the mutual exclusion control flag 124 in the target version software 121, and monitoring of the end of the transaction.

【0017】現バージョンソフトウェア実行領域110お
よび目的バージョンソフトウェア実行領域120はそれぞ
れ、現バージョンソフトウェア111、目的バージョンソ
フトウェア121を実行するための主記憶上の領域であ
る。また、現バージョンソフトウェア111および目的バ
ージョンソフトウェア121はトランザクション多重化情
報処理システムにおけるトランザクション処理を行なう
ソフトウェアの異なるバージョンである。
The current version software execution area 110 and the target version software execution area 120 are areas on the main memory for executing the current version software 111 and the target version software 121, respectively. Further, the current version software 111 and the target version software 121 are different versions of software for performing transaction processing in the transaction multiplexed information processing system.

【0018】データ保存部140にはデータ処理システム
が処理する対象であるデータが格納され、現バージョン
ソフトウェア111および目的バージョンソフトウェア121
から共用されている。
The data storage unit 140 stores data to be processed by the data processing system, and stores the current version software 111 and the target version software 121.
Is shared by

【0019】目的バージョンソフトウェア格納部150は
ソフトウェアバージョン変更操作時にシステム管理者が
目的バージョンソフトウェア121の実行形式プログラム
を格納する部分である。
The target version software storage unit 150 is a part where the system administrator stores an executable program of the target version software 121 at the time of a software version change operation.

【0020】現バージョンソフトウェア111中の排他制
御部112および目的バージョンソフトウェア121中の排他
制御部122は各バージョンソフトウェア上で処理するト
ランザクションの要求によりデータ保存部140中の指定
されたデータに関する排他情報を排他情報保存部113、1
23に作成または排他情報保存部113,123から削除する。
The exclusive control unit 112 in the current version software 111 and the exclusive control unit 122 in the target version software 121 transmit exclusive information on specified data in the data storage unit 140 in response to a request for a transaction to be processed on each version software. Exclusive information storage unit 113, 1
23 or deleted from the exclusive information storage units 113 and 123.

【0021】また、排他制御部112、122には排他情報保
存部113、123および相互排他制御フラグ114、124が備わ
っている。目的バージョンソフトウェア121の相互排他
制御フラグ124はバージョン移行状態でオンとなる。排
他制御フラグ124がONの状態では、目的バージョンソフ
トウェア上のトランザクションが排他制御部122にデー
タ保存部140上のデータに関する排他情報の作成、削除
を要求すると、排他制御部122は現バージョンソフトウ
ェア111の相互排他部112に該当排他情報の作成、削除を
要求する。排他制御部112は該当排他情報作成、削除要
求を現バージョンソフトウェア111上のトランザクショ
ンからの排他情報作成、削除要求と同様に処理し、排他
情報保存部113に排他情報を作成または排他情報保存部1
13から削除する。目的バージョンソフトェア121の排他
制御部122は現バージョンソフトウェア111の排他制御部
112による該当排他情報作成、削除処理の完了を検知す
ると、排他制御部123に該当排他情報の複製を作成また
は排他制御部123から該当排他情報の複製を削除する。
一方、現バージョンソフトウェア111の相互排他制御フ
ラグ114はバージョン移行過程でオンになることはな
い。
The exclusive control units 112 and 122 have exclusive information storage units 113 and 123 and mutual exclusion control flags 114 and 124, respectively. The mutual exclusion control flag 124 of the target version software 121 is turned on in the version transition state. In a state where the exclusive control flag 124 is ON, when a transaction on the target version software requests the exclusive control unit 122 to create or delete exclusive information on data in the data storage unit 140, the exclusive control unit 122 It requests the mutual exclusion unit 112 to create and delete the corresponding exclusion information. The exclusive control unit 112 processes the exclusive information creation / deletion request in the same manner as the exclusive information creation / deletion request from the transaction on the current version software 111, and creates the exclusive information in the exclusive information storage unit 113 or the exclusive information storage unit 1
Delete from 13. The exclusive control unit 122 of the target version software 121 is the exclusive control unit of the current version software 111.
Upon detecting the completion of the corresponding exclusive information creation / deletion processing by the 112, the exclusive control unit 123 creates a copy of the corresponding exclusive information or deletes a copy of the corresponding exclusive information from the exclusive control unit 123.
On the other hand, the mutual exclusion control flag 114 of the current version software 111 is not turned on during the version transition process.

【0022】現バージョンソフトウェア111および目的
バージョンソフトウェア121はそれぞれデータバッファ
部115、125を有し、データ保存部140中のデータの部分
的な複製を保持しデータ入出力の緩衝動作をすることに
より、トランザクションによるデータ保存部140とのデ
ータ入出力の高速化を行う。また、データバッファ部11
5,125はそれぞれデータ入出力緩衝動作が有効状態、無
効状態、または無効化中状態であることを記憶するデー
タバッファ有効状態記憶部116,126を有する。ソフトウ
ェアバージョン変更時にアクセス制御部130からデータ
入出力緩衝動作の無効化を要求されると、現バージョン
ソフトウェア111および目的バージョンソフトウェア121
はデータバッファ有効状態を無効化中に変更し、データ
バッファ部115,125の内容とデータ保存部の内容の同期
を取る動作を行ない、データバッファ部115,125の内容
とデータ保存部の内容の同期が取れた段階でデータバッ
ファ有効状態を無効状態に遷移することでデータ入出力
緩衝動作を停止する。
The current version software 111 and the target version software 121 have data buffer units 115 and 125, respectively, and hold a partial copy of the data in the data storage unit 140 to perform a buffering operation of data input / output. The speed of data input / output with the data storage unit 140 by a transaction is increased. The data buffer unit 11
5, 125 have data buffer valid state storage units 116 and 126, respectively, for storing that the data input / output buffer operation is in the valid state, the invalid state, or the invalidating state. When the access control unit 130 requests invalidation of the data input / output buffer operation when the software version is changed, the current version software 111 and the target version software 121 are disabled.
Changed the valid state of the data buffer to invalid, and performed the operation of synchronizing the contents of the data buffer units 115 and 125 with the contents of the data storage unit, and the contents of the data buffer units 115 and 125 were synchronized with the contents of the data storage unit. The data input / output buffer operation is stopped by changing the data buffer valid state to the invalid state at the stage.

【0023】システム装置100はアクセス制御部130、現
バージョンソフトウェア111、目的バージョンソフトウ
ェア121などのソフトウェアコンポーネントを実行する
ものである。
The system device 100 executes software components such as the access control unit 130, the current version software 111, and the target version software 121.

【0024】ユーザアプリケーション160はトランザク
ション多重化情報処理システムをサーバとするクライア
ントプログラムであり、同時に複数存在し得る。
The user application 160 is a client program using the transaction multiplex information processing system as a server, and a plurality of user applications 160 can exist at the same time.

【0025】本発明の実施の形態ではすべてのソフトウ
ェアコンポーネントは単一のシステム装置100内で実行
されているが、必ずしもすべてのソフトウェアコンポー
ネントが単一のシステム装置内で実行される必要はな
い。
Although all software components are executed in a single system device 100 in the embodiments of the present invention, it is not necessary that all software components be executed in a single system device.

【0026】本発明の実施の形態で示す方法では、アク
セス制御部130はバージョン変更を行わないものとす
る。また、アクセス制御部130による相互排他制御フラ
グ114,124の制御方法、データバッファ有効状態遷移要
求方法は異なるソフトウェアバージョン間で共通のもの
とする。また、データ保存部140とのデータ入出力単
位、データ入出力手順は異なるソフトウェアバージョン
間で共通のものとする。また、異なるソフトウェアバー
ジョンの排他制御部への排他情報作成、削除、有無の確
認手順は異なるソフトウェアバージョン間で共通のもの
とする。
In the method described in the embodiment of the present invention, the access control unit 130 does not change the version. The control method of the mutual exclusion control flags 114 and 124 by the access control unit 130 and the data buffer valid state transition request method are common to different software versions. The data input / output unit and data input / output procedure with the data storage unit 140 are common to different software versions. The procedure for creating, deleting, and confirming the presence / absence of exclusive information for exclusive control units of different software versions is common to different software versions.

【0027】本発明のソフトウェアバージョン変更方法
の説明に先立ち、トランザクション多重化情報処理シス
テムにおいてトランザクションが多重化され処理されて
いる状態を図2を用いて説明する。図2はソフトウェア内
で多重化されたトランザクションを処理すためのトラン
ザクション実行単位とトランザクションの処理期間を表
す概念図である。
Prior to the description of the software version changing method of the present invention, a state in which transactions are multiplexed and processed in a transaction multiplexing information processing system will be described with reference to FIG. FIG. 2 is a conceptual diagram showing a transaction execution unit for processing a transaction multiplexed in software and a transaction processing period.

【0028】現バージョンソフトウェア200の内部には
トランザクションを多重に処理するためのトランザクシ
ョン処理単位210、220、230があり、各トランザクショ
ン処理単位においてある処理期間を持ったトランザクシ
ョン211、212、221、222、231、232が処理される。ここ
で、図2の横軸は時間である。このように、ある一時期
をとると同時に複数のトランザクションが実行されてお
り、新規トランザクションの投入を中止しない限り、現
バージョンソフトウェア中のトランザクションが途切れ
るとは限らない。同様に、目的バージョンソフトウェア
250の内部にはトランザクション処理単位260、270、280
があり、各トランザクション処理単位ではトランザクシ
ョン261、262、271、272、281、282が処理される。
Inside the current version software 200, there are transaction processing units 210, 220 and 230 for processing transactions in a multiplex manner, and transactions 211, 212, 221 and 222 having a certain processing period in each transaction processing unit. 231 and 232 are processed. Here, the horizontal axis in FIG. 2 is time. As described above, a plurality of transactions are being executed at the same time as a certain period of time, and the transaction in the current version software is not necessarily interrupted unless the input of a new transaction is stopped. Similarly, the target version software
Inside 250, transaction processing units 260, 270, 280
In each transaction processing unit, transactions 261, 262, 271, 272, 281, and 282 are processed.

【0029】本発明におけるバージョン移行状態では現
バージョンソフトウェア200と目的バージョンソフトウ
ェア250が並行に実行され、両バージョンのソフトウェ
アでそれぞれのトランザクションが並行に処理される。
In the version transition state according to the present invention, the current version software 200 and the target version software 250 are executed in parallel, and respective transactions are processed in parallel by both versions of software.

【0030】つぎに、図1、図8、図9、図10に基づき、
排他情報の構造と、排他制御の処理を説明する。図8は
データ保存部140中のデータ保存形式、図9は排他情報の
構造図であり、図10は排他情報の排他種別と排他情報作
成条件を示す表である。
Next, based on FIGS. 1, 8, 9 and 10,
Exclusive information structure and exclusive control processing will be described. 8 is a data storage format in the data storage unit 140, FIG. 9 is a structural diagram of exclusive information, and FIG. 10 is a table showing exclusive types of exclusive information and exclusive information creation conditions.

【0031】データ保存部140中のデータはデータ自身
を格納するデータ格納部801と、データ保存部140中のデ
ータを一意に識別するためのデータ識別子を格納するデ
ータ識別子格納部802とデータ格納部802とから構成
されるデータ構造によて保存されている。
The data in the data storage section 140 is a data storage section 801 for storing the data itself, a data identifier storage section 802 for storing a data identifier for uniquely identifying the data in the data storage section 140, and a data storage section. 802 and 802.

【0032】また、排他情報は排他的に入出力を管理す
る対象であるデータ保存部140上のデータ入出力単位を
識別するデータ識別子を格納するデータ識別子格納部90
1と、排他情報を作成したトランザクションを特定する
トランザクション識別子格納部902と排他制御の種類を
格納する排他種別格納部903とからなる。
The exclusive information is a data identifier storage unit 90 for storing a data identifier for identifying a data input / output unit on the data storage unit 140 for which input / output is exclusively managed.
1 and a transaction identifier storage unit 902 for specifying the transaction that created the exclusion information, and an exclusion type storage unit 903 for storing the type of exclusion control.

【0033】本実施形態では排他制御の種類に共有排他
と占有排他の2種類があるものとする。図10に示した通
り、排他種別が共有排他の排他情報は、該当排他情報を
作成したものと異なるトランザクションが同じデータ識
別子を持つデータ入出力単位に対して排他種別が共有排
他の排他情報を後から作成することは許すが、排他種別
が占有排他の排他情報を後から作成することを禁止する
ことを表す。また、排他種別が占有排他の排他情報は該
当排他情報を作成したものと異なるトランザクションが
同じデータ識別子を持つデータ入出力単位に対して排他
種別が共有排他または占有排他の排他情報を後から作成
することを禁止する。
In this embodiment, it is assumed that there are two types of exclusive control: shared exclusive and exclusive exclusive. As shown in FIG. 10, the exclusion information whose exclusion type is shared exclusion indicates that a transaction different from the one that created the exclusion information has the exclusion type of exclusion type shared exclusion information after the data input / output unit that has the same data identifier. , The creation of exclusive information having the exclusive type of exclusive exclusion is prohibited. Also, in the exclusion information whose exclusion type is exclusive exclusion, a transaction different from the one that created the exclusion information creates exclusion information of the exclusion type shared exclusion or occupation exclusion for a data input / output unit having the same data identifier later. Prohibit that.

【0034】トランザクション多重化情報処理システム
において、各トランザクションが矛盾無くデータ保存部
とのデータ入出力単位を行うためには、データ入出力単
位の入力に際して、該当データ入出力単位のデータ識別
子と該当トランザクションのトランザクション識別子を
持ち、排他種別が共有排他の排他情報を作成する必要が
ある。また、同じくデータ保存部140へのデータ入出力
単位の出力に際して、該当データ入出力単位のデータ識
別子と該当トランザクションのトランザクション識別子
を持ち、排他種別が占有排他の排他情報を作成する必要
がある。もし、排他情報の作成が既に作成済みの排他情
報により禁止されている場合は、排他情報の作成を禁止
する全排他情報が削除され、排他情報が作成されるまで
排他情報作成を再試行する必要がある。データ入出力単
位のデータ保存部からの入力またはデータ保存部への出
力が完了した時点で該当排他情報を削除することができ
る。また、関連する複数のデータ入出力単位間で一貫性
のとれたデータ入出力を行うために、関連する全てのデ
ータ入出力単位の入出力が完了するまで、作成した排他
情報を保持することも可能である。
In the transaction multiplexing information processing system, in order for each transaction to perform a data input / output unit with the data storage unit without inconsistency, the data identifier of the data input / output unit and the transaction It is necessary to create exclusion information that has a transaction identifier of, and has an exclusion type of shared exclusion. Similarly, when outputting the data input / output unit to the data storage unit 140, it is necessary to create exclusive information having the data identifier of the data input / output unit and the transaction identifier of the transaction, and having the exclusive type of exclusive exclusion. If creation of exclusive information is prohibited by the already created exclusive information, all exclusive information that prohibits creation of exclusive information is deleted, and it is necessary to retry creating exclusive information until exclusive information is created. There is. The exclusive information can be deleted when the input / output of the data input / output unit from the data storage unit or the output to the data storage unit is completed. Also, in order to perform consistent data input / output between multiple related data input / output units, the created exclusive information may be retained until input / output of all related data input / output units is completed. It is possible.

【0035】つぎに、図1、図4に基づき、ソフトウェア
のバージョン変更を行なっていない現バージョン運用状
態において現バージョンソフトウェア111に投入された
トランザクションの処理の流れを説明する。図4はトラ
ンザクションの投入から終了までの処理手順を表すフロ
ーチャートである。
Next, referring to FIGS. 1 and 4, the flow of processing of a transaction input to the current version software 111 in the current version operation state in which the software version is not changed will be described. FIG. 4 is a flowchart showing a processing procedure from the input of a transaction to the end.

【0036】ユーザアプリケーション160から投入され
たトランザクションはアクセス制御部130を経由して現
バージョンソフトウェア111に投入される(ステップ40
0)。投入されたトランザクションは一連のデータ保存部
に格納されたデータに対する排他情報の作成、削除要
求、およびデータ入、出力要求に分解され、現バージョ
ンソフトウェア111から1つずつ取り出される(ステップ4
01)。
The transaction input from the user application 160 is input to the current version software 111 via the access control unit 130 (step 40).
0). The entered transactions are decomposed into exclusive information creation requests, deletion requests, and data input / output requests for data stored in a series of data storage units, and are taken out one by one from the current version software 111 (step 4).
01).

【0037】取り出された要求が排他情報作成要求であ
った場合には、相互排他制御フラグ114を調べるが(ステ
ップ411)、現バージョンソフトウェア運用状態では相互
排他制御フラグ114はオフであり、ステップ412、413は
処理されずにステップ414に進む。ステップ414では排他
制御部112が排他情報保存部113の排他情報を調べ、該当
排他情報作成要求が他の排他情報により禁止されていな
ければ該当排他情報を排他情報保存部113に作成する。
該当排他情報作成要求が既に作成済みの排他情報により
禁止されているためにステップ414が失敗に終わったこ
とを現バージョンソフトウェアが検知すると(ステップ4
15)、ステップ414に戻り、この処理を該当排他情作成を
禁止する全ての排他情報が削除されるまで繰り返す。該
当排他要求作成要求が成功するとステップ403に進む。
If the extracted request is an exclusive information creation request, the mutual exclusion control flag 114 is checked (step 411). In the current version software operating state, the mutual exclusion control flag 114 is off and step 412 is executed. , 413 is not processed and proceeds to step 414. In step 414, the exclusion control unit 112 checks the exclusion information in the exclusion information storage unit 113. If the exclusion information creation request is not prohibited by another exclusion information, the exclusion control unit 112 creates the exclusion information in the exclusion information storage unit 113.
If the current version software detects that step 414 has failed because the corresponding exclusive information creation request is prohibited by the already created exclusive information (step 4
15) Returning to step 414, this process is repeated until all exclusive information that prohibits creation of the exclusive information is deleted. If the exclusion request creation request succeeds, the process proceeds to step 403.

【0038】取り出された要求が排他情報削除要求であ
った場合には、現バージョンソフトウェア111の排他情
報保存部113の該当排他情報を削除する(ステップ421)。
つづいて相互排他制御フラグ114を調べるが(ステップ42
2)、現バージョンソフトウェア運用状態では相互排他制
御フラグ114はオフであり、ステップ423は処理されずに
ステップ403に進む。
If the extracted request is an exclusive information deletion request, the corresponding exclusive information in the exclusive information storage unit 113 of the current version software 111 is deleted (step 421).
Next, the mutual exclusion control flag 114 is checked (step 42).
2) In the current version software operation state, the mutual exclusion control flag 114 is off, and the process proceeds to step 403 without performing step 423.

【0039】取り出された要求がデータ入、出力要求で
あった場合には、バッファ有効状態記憶部116を調べる
が(ステップ431)、現バージョンソフトウェア運用状態
ではバッファ有効状態記憶部116はバッファ有効状態で
あれあるので緩衝動作有りのデータ入出力を行い(ステ
ップ432)、ステップ403に進む。
If the retrieved request is a data input / output request, the buffer valid state storage unit 116 is checked (step 431). Therefore, data input / output with a buffer operation is performed (step 432), and the process proceeds to step 403.

【0040】ステップ403ではトランザクション内の排
他情報作成、削除要求、またはデータ入出力要求がまだ
残っているか判定し、排他情報作成、削除要求、または
データ入出力要求が残っている場合にはステップ401に
戻り、次の排他情報作成、削除要求、またはデータ入出
力要求を取り出す。もし、トラザクションの全ての排他
情報作成、削除要求およびデータ入出力要求が終了して
いる場合はトランザクションを終了する(ステップ40
4)。
In step 403, it is determined whether or not an exclusive information creation, deletion request, or data input / output request in the transaction still remains. And fetch the next exclusive information creation, deletion request, or data input / output request. If all exclusive information creation / deletion requests and data input / output requests for the transaction have been completed, the transaction is terminated (step 40).
Four).

【0041】続いて、図1、図3に基づき、トランザクシ
ョン多重化情報処理システムのソフトウェアバージョン
変更処理の流れを説明する。図3はソフトウェアバージ
ョン変更処理手順の全体の流れを表すフローチャートで
ある。
Next, the flow of the software version change process of the transaction multiplexed information processing system will be described with reference to FIGS. FIG. 3 is a flowchart showing the entire flow of the software version change processing procedure.

【0042】トランザクション多重化情報処理システム
の管理者によって目的バージョンソフトウェア格納部15
0に目的バージョンソフトウェア121の実行形式が格納さ
れ、アクセス制御部130にバージョン変更処理開始の指
示が与えられるとソフトウェアバージョン変更の処理が
開始される(ステップ300)。
The target version software storage unit 15 is provided by the administrator of the transaction multiplexing information processing system.
The execution format of the target version software 121 is stored in 0, and when an instruction to start the version change process is given to the access control unit 130, the software version change process is started (step 300).

【0043】まず、アクセス制御部130が目的バージョ
ンソフトウェア格納部150にある目的バージョンソフト
ウェア121の実行形式プログラムを目的バージョンソフ
トウェア実行領域120にロードし実行する(ステップ30
1)。
First, the access control unit 130 loads the executable program of the target version software 121 in the target version software storage unit 150 into the target version software execution area 120 and executes it (step 30).
1).

【0044】目的バージョンソフトウェア121が実行さ
れると、アクセス制御部130は状態記憶部131をバージョ
ン移行予備状態に遷移し、データ保存部との入出力緩衝
動作を停止するために現バージョンソフトウェア111に
データバッファ有効状態記憶部116をバッファ無効状態
にすることを指示する。現バージョンソフトウェア111
はデータバッファ有効状態記憶部116を一時的にバッフ
ァ無効化中状態に遷移した上でデータバッファ部とデー
タ保存部のデータ同期動作を開始する。現バージョンソ
フトウェアはデータバッファ有効状態記憶部116がバッ
ファ無効化中状態の間は現バージョンソフトウェア中の
トランザクションからのデータ入出力要求は保留し、ト
ランザクションを待機させる。データバッファ部とデー
タ保存部のデータが同期した段階で現バージョンソフト
ウェア111はバッファ有効状態記憶部116を無効状態にす
る。また、アクセス制御部130は目的バージョンソフト
ウェア121にもデータバッファ有効状態記憶部126をバッ
ファ無効状態にすることを指示する。目的バージョンソ
フトウェア121はこの時点でトランザクションをまだ受
け付けていないのでデータバッファ部125とデータ保存
部140のデータは同期が取れており、すぐにバッファ有
効状態記憶部をバッファ無効状態に遷移する。(ステッ
プ302)。
When the target version software 121 is executed, the access control unit 130 transitions the state storage unit 131 to the version transition preliminary state, and instructs the current version software 111 to stop the input / output buffer operation with the data storage unit. It is instructed that the data buffer valid state storage unit 116 is set to the buffer invalid state. Current version software 111
Starts a data synchronization operation between the data buffer unit and the data storage unit after temporarily transitioning the data buffer valid state storage unit 116 to the buffer invalidating state. While the data buffer valid state storage unit 116 is in the buffer invalidating state, the current version software suspends the data input / output request from the transaction in the current version software and waits for the transaction. When the data in the data buffer unit and the data in the data storage unit are synchronized, the current version software 111 sets the buffer valid state storage unit 116 to an invalid state. The access control unit 130 also instructs the target version software 121 to change the data buffer valid state storage unit 126 into the buffer invalid state. Since the target version software 121 has not yet received the transaction at this point, the data in the data buffer unit 125 and the data storage unit 140 are synchronized, and the buffer valid state storage unit immediately transitions to the buffer invalid state. (Step 302).

【0045】現バージョンソフトウェア111のバッファ
有効状態記憶部116および目的バージョンソフトウェア1
21のバッファ有効状態記憶部126が共にバッファ無効状
態になったことを検知すると、アクセス制御部130は目
的バージョンソフトウェアの相互排他制御フラグ124を
オンにし、状態記憶部131をバージョン移行状態にす
る。バージョン移行状態ではアクセス制御部に到着する
新規トランザクションをそれまでの現バージョンソフト
ウェア111に代わって目的バージョンソフトウェア121で
処理する(ステップ303)。
The buffer valid state storage unit 116 of the current version software 111 and the target version software 1
When both the buffer valid state storage units 126 detect that the buffer is invalid, the access control unit 130 turns on the mutual exclusion control flag 124 of the target version software, and sets the state storage unit 131 to the version transition state. In the version transition state, a new transaction arriving at the access control unit is processed by the target version software 121 in place of the current version software 111 (step 303).

【0046】バージョン移行状態では、現バージョンソ
フトウェア111はバージョン移行状態遷移前に処理を要
求されたトランザクションを引き続き処理し、同時に目
的バージョンソフトウェア121では新規到着トランザク
ションの処理を行なう。また、アクセス制御部130は現
バージョンソフトウェア111上のトランザクションがす
べて終了するのを監視している(ステップ304)。
In the version transition state, the current version software 111 continues to process the transaction requested before the transition to the version transition state, and at the same time, the target version software 121 processes a newly arrived transaction. Further, the access control unit 130 monitors completion of all transactions on the current version software 111 (step 304).

【0047】アクセス制御部130は現バージョンソフト
ウェア111上のすべてのトランザクションが終了したこ
とを検知すると、目的バージョンソフトウェア121の相
互排他制御フラグ124をオフにし、目的バージョンソフ
トウェア121にデータバッファ有効状態記憶部126をバッ
ファ有効状態にすることを指示して状態記憶部131を目
的バージョンソフトウェア運用状態にする(ステップ30
5)。目的バージョンソフトウェア121はデータバッファ
有効状態記憶部126をバッファ有効状態にされることで
データ入出力緩衝動作を再開し、相互排他制御フラグ12
4がオフにされることで、現バージョンソフトウェア111
での排他制御を中止する。
When the access control unit 130 detects that all the transactions on the current version software 111 have been completed, the access control unit 130 turns off the mutual exclusion control flag 124 of the target version software 121 and stores the data buffer valid state storage unit in the target version software 121. 126 is set to the buffer valid state, and the state storage unit 131 is set to the target version software operation state (step 30).
Five). The target version software 121 resumes the data input / output buffering operation by setting the data buffer valid state storage unit 126 to the buffer valid state, and sets the mutual exclusion control flag 12.
4 is turned off, the current version software 111
Cancels exclusive control in.

【0048】続いて、アクセス制御部130は現バージョ
ンソフトウェア111に停止を指示し、現バージョンソフ
トウェア111が停止した時点で、目的バージョンソフト
ウェア121として管理していたものを現バージョンソフ
トウェア111として管理し、目的バージョンソフトウェ
ア実行領域120として管理していたものを現バージョン
ソフトウェア実行領域110、現バージョンソフトウェア
実行領域110として管理していたものを目的バージョン
ソフトウェア実行領域120として管理し(ステップ306)、
状態記憶部131を再び現バージョン運用状態にすること
により次のソフトウェアバージョン変更に備える(ステ
ップ306)。
Subsequently, the access control unit 130 instructs the current version software 111 to stop, and when the current version software 111 stops, manages what was managed as the target version software 121 as the current version software 111, What was managed as the target version software execution area 120 is the current version software execution area 110, and what was managed as the current version software execution area 110 is managed as the target version software execution area 120 (step 306),
The status storage unit 131 is set to the current version operation status again to prepare for the next software version change (step 306).

【0049】以上の処理手順でトランザクション多重化
情報処理システムのソフトウェアを運用中にバージョン
変更できる。
According to the above processing procedure, the version of the software of the transaction multiplexing information processing system can be changed during operation.

【0050】つぎに、図1、図5、図6、図7に基づき、ト
ランザクション多重化情報処理システムのソフトウェア
バージョン変更における状態記憶部131の状態遷移およ
び状態遷移に伴う処理を説明する。図5はソフトウェア
バージョン変更に関するアクセス制御部の状態遷移図で
ある。図6は、図5の状態遷移図における現バージョンソ
フトウェア運用状態からバージョン移行予備状態を経て
バージョン移行状態に移る際の処理手順を表すフローチ
ャートである。図7は、同じく図5の状態遷移図における
バージョン移行状態から目的バージョン運用状態を経て
目的バージョンソフトウェア運用状態に移る際の処理手
順を表すフローチャートである。
Next, with reference to FIGS. 1, 5, 6, and 7, a description will be given of the state transition of the state storage unit 131 and the processing accompanying the state transition in the software version change of the transaction multiplexed information processing system. FIG. 5 is a state transition diagram of the access control unit regarding a software version change. FIG. 6 is a flowchart showing a processing procedure when shifting from the current version software operation state to the version migration state via the version migration preliminary state in the state transition diagram of FIG. FIG. 7 is a flowchart showing a processing procedure when a transition is made from the version transition state to the target version software operation state via the target version operation state in the state transition diagram of FIG.

【0051】ソフトウェアのバージョン変更操作を行な
っていない状態では状態記憶部131は現バージョンソフ
トウェア運用状態500にあり、現バージョンソフトウェ
ア実行領域110には現バージョンソフトウェア111がロー
ドされている。この状態でユーザアプリケーション160
からトランザクションが投入されると、アクセス制御部
130は該トランザクションを現バージョンソフトウェア1
11に投入し、現バージョンソフトウェア運用状態500に
戻る。システム管理者が目的バージョンソフトウェア格
納部150に目的バージョンソフトウェア121の実行形式を
格納し、アクセス制御部130にバージョン変更の指示を
出すと、アクセス制御部130は状態記憶部131をバージョ
ン移行予備状態501に移し、ソフトウェアバージョン変
更の手順を開始する(ステップ600)。
When the software version change operation is not performed, the status storage unit 131 is in the current version software operation state 500, and the current version software 111 is loaded in the current version software execution area 110. In this state, the user application 160
When a transaction is submitted from, the access control unit
130 shows the transaction as current version software 1
11 and return to the current version software operation state 500. When the system administrator stores the execution format of the target version software 121 in the target version software storage unit 150 and issues an instruction to change the version to the access control unit 130, the access control unit 130 stores the state storage unit 131 in the version transition preliminary state 501. And the procedure for changing the software version is started (step 600).

【0052】バージョン移行予備状態501では、まず、
アクセス制御部130が目的バージョンソフトウェア格納
部150から目的バージョンソフトウェア121の実行形式プ
ログラムを目的バージョンソフトウェア実行領域120に
ロードし実行する(ステップ601)。
In the version transition preliminary state 501, first,
The access control unit 130 loads the executable program of the target version software 121 from the target version software storage unit 150 into the target version software execution area 120 and executes the program (step 601).

【0053】バージョン移行予備状態501で到着した新
規トランザクションは、アクセス制御部130によって引
き続き現バージョンソフトウェア111で処理され、状態
記憶部131は再びバージョン移行予備状態501に戻る。目
的バージョンソフトウェア121のロードが終了すると、
アクセス制御部130はデータ保存部140中のデータの一意
性を保証するために現バージョンソフトウェア111と目
的バージョンソフトウェア121にバッファ有効状態記憶
部116,126をバッファ無効状態にするように指示する(ス
テップ602)。
The new transaction arriving in the preliminary version migration state 501 is continuously processed by the current version software 111 by the access control unit 130, and the state storage unit 131 returns to the preliminary version migration state 501 again. When the loading of the target version software 121 is completed,
The access control unit 130 instructs the current version software 111 and the target version software 121 to put the buffer valid state storage units 116 and 126 into the buffer invalid state in order to guarantee the uniqueness of the data in the data storage unit 140 (step 602). .

【0054】アクセス制御部130が現バージョンソフト
ウェア111のバッファ有効状態記憶部116および目的バー
ジョンソフトウェア121のバッファ有効状態記憶部126が
バッファ無効状態になるのを検知すると、目的バージョ
ンソフトウェア121に相互排他制御フラグ124をオンにす
るように指示し、続いて、アクセス制御部130はこれ以
降の新規到着トランザクションの処理を目的バージョン
ソフトウェア121に変更し(ステップ603)、状態記憶部13
1をバージョン移行状態502にする(ステップ604)。
When the access control unit 130 detects that the buffer valid state storage unit 116 of the current version software 111 and the buffer valid state storage unit 126 of the target version software 121 enter the buffer invalid state, the target version software 121 performs mutual exclusion control. The access control unit 130 instructs to turn on the flag 124. Subsequently, the access control unit 130 changes the processing of the subsequent new arrival transaction to the target version software 121 (step 603), and the state storage unit 13
1 is set to the version transition state 502 (step 604).

【0055】バージョン移行状態502ではではアクセス
制御部130に到着した新規に到着したトランザクション
は目的バージョンソフトウェア121で処理され、状態記
憶部131はバージョン移行状態に戻る。目的バージョン
ソフトウェア121で実行の指示をされた新規トランザク
ションは目的バージョンソフトウェア121で処理される
が、同時に、バージョン移行状態502遷移前に投入され
たトランザクションは現バージョンソフトウェア111上
で処理が続行される。アクセス制御部130によって常時
現バージョンソフトウェア111上および目的バージョン
ソフトウェア121のトランザクションが監視される(ステ
ップ700)。
In the version transition state 502, a newly arrived transaction arriving at the access control unit 130 is processed by the target version software 121, and the state storage unit 131 returns to the version transition state. A new transaction instructed to be executed by the target version software 121 is processed by the target version software 121, but at the same time, a transaction input before the transition to the version transition state 502 is continued to be processed on the current version software 111. The access control unit 130 constantly monitors transactions on the current version software 111 and the target version software 121 (step 700).

【0056】現バージョンソフトウェア111の最後のト
ランザクションの終了をアクセス制御部130が検知する
と、アクセス制御部130は目的バージョンソフトウェア1
21にデータバッファ有効状態記憶部126をバッファ有効
にするよう指示し、相互排他制御フラグ124をオフにす
るように指示して目的バージョン運用状態503にする(ス
テップ701)。
When the access control unit 130 detects the end of the last transaction of the current version software 111, the access control unit 130
21 is instructed to enable the data buffer effective state storage unit 126 to enable the buffer, and to instruct the mutual exclusion control flag 124 to be turned off, thereby setting the target version operation state 503 (step 701).

【0057】目的バージョン運用状態503ではデータバ
ッファ部125によるデータ保存部140とのデータ入出力緩
衝動作が再開され、目的バージョンソフトウェア121に
よる現バージョンソフトウェア111の排他情報保存部113
への排他情報作成、排他情報保存部113の排他情報削除
は中止される。続いて、現バージョンソフトウェア111
に停止を指示する(ステップ702)。
In the target version operation state 503, the data buffering operation of the data buffer unit 125 with the data storage unit 140 is resumed, and the exclusive information storage unit 113 of the current version software 111 by the target version software 121 is resumed.
Creation of exclusive information to the server and deletion of exclusive information by the exclusive information storage unit 113 are stopped. Next, the current version software 111
Is instructed to stop (step 702).

【0058】さらに、アクセス制御部130は、目的バー
ジョンソフトウェア121として管理していたものを現バ
ージョンソフトウェア111として管理するとともに現バ
ージョンソフトウェア実行領域110として管理していた
ものを目的バージョンソフトウェア実行領域120とし
て、目的バージョンソフトウェア実行領域120として管
理していたものを現バージョンソフトウェア実行領域11
0として管理することで次期バージョン変更に備える(ス
テップ703)。
Further, the access control unit 130 manages what was managed as the target version software 121 as the current version software 111 and what is managed as the current version software execution area 110 as the target version software execution area 120. What was managed as the target version software execution area 120 is changed to the current version software execution area 11
By managing it as 0, it prepares for the next version change (step 703).

【0059】続いて、現バージョンソフトウェア運用状
態500に遷移してソフトウェアバージョン変更の一連の
手続きを終了する。(ステップ704)。
Subsequently, a transition is made to the current version software operation state 500, and a series of procedures for changing the software version is completed. (Step 704).

【0060】ここで、バージョン移行予備状態501では
現バージョンソフトウェア111、目的バージョンソフト
ウェア運用状態503では目的バージョンソフトウェア121
の高々単一バージョンのソフトウェアでしかトランザク
ションを処理していないので、トランザクションの処理
の流れは図1、図4を用いて前に説明した現バージョンソ
フトウェア運用状態でのトランザクションの処理と全く
同じである。
Here, the current version software 111 is in the preliminary version migration state 501, and the target version software 121 is in the target version software operation state 503.
Since the transaction is processed by at most a single version of software, the transaction processing flow is exactly the same as the transaction processing in the current version software operating state described above with reference to FIGS. 1 and 4. .

【0061】つぎに、図1、図4を用いて、バージョン移
行状態におけるトランザクションの目的バージョンソフ
トウェア121で処理が開始されてからトランザクション
の処理が終了するまでの流れを説明する。
Next, the flow from the start of the processing by the target version software 121 of the transaction in the version transition state to the end of the transaction processing will be described with reference to FIGS.

【0062】バージョン移行状態ではユーザアプリケー
ション160から処理を要求されたトランザクションはア
クセス制御部130を経由して目的バージョンソフトウェ
ア121で処理が始められる(ステップ400)。処理が始めら
れたトランザクションは一連のデータ保存部に格納され
たデータに対する排他情報の作成、削除要求、および
入、出力要求に分解され、目的バージョンソフトウェア
121から1つずつ取り出される(ステップ401)。
In the version transition state, a transaction requested to be processed by the user application 160 is started by the target version software 121 via the access control unit 130 (step 400). The transaction that has begun processing is decomposed into a series of exclusive information creation, deletion requests, and input and output requests for data stored in the data storage unit.
One by one is extracted from 121 (step 401).

【0063】取り出された要求が排他情報作成要求であ
った場合には、相互排他制御フラグ124を調べる(ステッ
プ411)。バージョン移行状態では目的バージョンソフト
ウェア121の相互排他制御フラグ124はオンであるので排
他制御部122は現バージョンソフトウェア111の排他制御
部112に該当データに関する排他情報の作成を要求する
(ステップ412)。目的バージョンソフトウェア上のトラ
ンザクションによる排他情報の作成を禁止する排他情報
が現バージョンソフトウェア111の排他情報保存部存在
するためにステップ412が失敗したことを排他制御部112
が検知すると(ステップ413)、ステップ412に戻り、この
処理を該当排他情作成を禁止する他の排他情報が削除さ
れるまで繰り返す。該当排他要求作成要求が成功すると
ステップ414に進む。ステップ414では排他制御部122に
より排他情報保存部123に該当排他情報の作成を試みる
が、現バージョンソフトウェア111の排他情報保存部113
内に作成することができた該当排他情報の作成を禁止す
る排他情報が目的バージョンソフトウェア121の排他情
報保存部123存在することは無く、該当排他情報作成は
成功し(ステップ415)、ステップ403に進む。
If the extracted request is an exclusive information creation request, the mutual exclusion control flag 124 is checked (step 411). Since the mutual exclusion control flag 124 of the target version software 121 is ON in the version transition state, the exclusion control unit 122 requests the exclusion control unit 112 of the current version software 111 to create exclusion information on the corresponding data.
(Step 412). The exclusive control unit 112 reports that step 412 failed because the exclusive information that inhibits the creation of exclusive information by a transaction on the target version software exists in the exclusive information storage unit of the current version software 111.
Is detected (step 413), the process returns to step 412, and this process is repeated until other exclusive information that prohibits the creation of the exclusive information is deleted. If the exclusion request creation request succeeds, the process proceeds to step 414. In step 414, the exclusive control unit 122 attempts to create the corresponding exclusive information in the exclusive information storage unit 123.
There is no exclusive information that inhibits the creation of the corresponding exclusive information that could be created in the exclusive information storage unit 123 of the target version software 121, and the creation of the corresponding exclusive information succeeds (step 415), and the process proceeds to step 403. move on.

【0064】取り出された要求が排他情報削除要求であ
った場合には、自バージョンソフトウェアである目的バ
ージョンソフトウェア121の排他情報保存部123の該当排
他情報を削除する(ステップ421)。つづいて相互排他制
御フラグ124を調べるが(ステップ422)、バージョン移行
状態の目的バージョンソフトウェアでは相互排他制御フ
ラグ124はオンであるので現バージョンソフトウェア111
の排他制御部112に依頼して排他情報保存部113中の該当
排他情報を削除し(ステップ423)、ステップ403に進む。
If the extracted request is an exclusive information deletion request, the corresponding exclusive information in the exclusive information storage unit 123 of the target version software 121 which is the own version software is deleted (step 421). Subsequently, the mutual exclusion control flag 124 is checked (step 422). In the target version software in the version transition state, the mutual exclusion control flag 124 is on, so the current version software 111
Requesting the exclusive control unit 112 to delete the corresponding exclusive information in the exclusive information storage unit 113 (step 423), and proceed to step 403.

【0065】取り出された要求がデータ入、出力要求で
あった場合には、バッファ有効状態記憶部126を調べる
が(ステップ431)、バージョン移行状態の目的バージョ
ンソフトウェアではバッファ有効状態記憶部126はバッ
ファ無効状態であるので緩衝動作無しのデータ入出力を
行い(ステップ433)、ステップ403に進む。
If the fetched request is a data input / output request, the buffer valid state storage unit 126 is checked (step 431). Since it is in an invalid state, data input / output without buffer operation is performed (step 433), and the process proceeds to step 403.

【0066】ステップ403ではトランザクション内の排
他情報作成、削除要求、またはデータ入、出力要求がま
だ残っているか判定し、排他情報作成、削除要求、また
はデータ入出力要求が残っている場合にはステップ401
に戻り、次の排他情報作成、削除要求、またはデータ入
出力要求を取り出す。もし、トラザクションの全ての排
他情報作成、削除要求およびデータ入出力要求が終了し
ている場合はトランザクションを終了する(ステップ40
4)。
In step 403, it is determined whether there remains an exclusive information creation, deletion request, or data input / output request in the transaction. If there is an exclusive information creation, deletion request, or data input / output request, the process proceeds to step 403. 401
And fetch the next exclusive information creation, deletion request, or data input / output request. If all exclusive information creation / deletion requests and data input / output requests for the transaction have been completed, the transaction is terminated (step 40).
Four).

【0067】つぎに、図1、図4を用いて、バージョン移
行状態における現バージョンソフトウェア121に投入済
みのトランザクションが終了するまでの処理の流れを説
明する。
Next, with reference to FIGS. 1 and 4, a description will be given of the flow of processing until the end of a transaction that has been input to the current version software 121 in the version transition state.

【0068】バージョン移行状態では現バージョンソフ
トウェア111に新規トランザクションが投入されること
は無いので、ステップ400、401の説明は省略する。
In the version transition state, a new transaction is not input to the current version software 111, so that the description of steps 400 and 401 is omitted.

【0069】投入済みのトランザクションから次に取り
出された要求が排他情報作成要求であった場合には、相
互排他制御フラグ114を調べるが(ステップ411)、バージ
ョン移行状態であっても現バージョンソフトウェアの相
互排他制御フラグ114はオフであり、ステップ412、413
は処理されずにステップ414に進む。ステップ414では排
他制御部112が排他情報保存部113の排他情報を調べ、該
当排他情報作成要求が他の排他情報により禁止されてい
なければ該当排他情報を排他情報保存部113に作成す
る。該当排他情報作成要求が他の排他情報により禁止さ
れているためにステップ414が失敗に終わったことを現
バージョンソフトウェア111が検知すると(ステッフ゜415)、ス
テップ414に戻り、該当排他情作成を禁止する全ての排
他情報が削除されるまでこの動作を繰り返す。該当排他
要求作成要求が成功するとステップ403に進む。
If the next request extracted from the entered transaction is an exclusive information creation request, the mutual exclusion control flag 114 is checked (step 411). The mutual exclusion control flag 114 is off, and steps 412 and 413
Go to step 414 without being processed. In step 414, the exclusion control unit 112 checks the exclusion information in the exclusion information storage unit 113. If the exclusion information creation request is not prohibited by another exclusion information, the exclusion control unit 112 creates the exclusion information in the exclusion information storage unit 113. If the current version software 111 detects that step 414 has failed because the corresponding exclusive information creation request is prohibited by other exclusive information (step # 415), the process returns to step 414 and inhibits creation of the corresponding exclusive information. This operation is repeated until all exclusive information is deleted. If the exclusion request creation request succeeds, the process proceeds to step 403.

【0070】取り出された要求が排他情報削除要求であ
った場合には、自バージョンソフトウェアである現バー
ジョンソフトウェア111の排他情報保存部113の該当排他
情報を削除する(ステップ421)。つづいて相互排他制御
フラグ114を調べるが(ステップ422)、バージョン移行状
態であっても現バージョンソフトウェアの相互排他制御
フラグ114はオフであり、ステップ423は処理されずにス
テップ403に進む。
If the extracted request is an exclusive information deletion request, the corresponding exclusive information in the exclusive information storage unit 113 of the current version software 111 which is the own version software is deleted (step 421). Subsequently, the mutual exclusion control flag 114 is checked (step 422). However, even in the version transition state, the mutual exclusion control flag 114 of the current version software is off, and the process proceeds to step 403 without performing step 423.

【0071】取り出された要求がデータ入、出力要求で
あった場合には、バッファ有効状態記憶部116を調べる
が(ステップ431)、バージョン移行状態の現バージョン
ソフトウェアではバッファ有効状態記憶部116はバッフ
ァ無効状態またはバッファ無効化中状態ある。バッファ
有効状態記憶部126がバッファ無効化中状態であれば、
ステップ431に戻り、バッファ有効状態記憶部116がバッ
ファ無効状態になるまでこの動作を繰り返す。バッファ
有効状態記憶部116がバッファ無効状態であれば緩衝動
作無しのデータ入出力を行い(ステップ433)、ステップ4
03に進む。
If the extracted request is a data input / output request, the buffer valid state storage unit 116 is checked (step 431). Invalid state or buffer invalidating state. If the buffer valid state storage unit 126 is in the buffer invalidating state,
Returning to step 431, this operation is repeated until the buffer valid state storage unit 116 enters the buffer invalid state. If the buffer valid state storage unit 116 is in the buffer invalid state, data input / output without buffer operation is performed (step 433), and step 4
Go to 03.

【0072】ステップ403ではトランザクション内の排
他情報作成、削除要求、またはデータ入、出力要求がま
だ残っているか判定し、排他情報作成、削除要求、また
はデータ入出力要求が残っている場合にはステップ401
に戻り、次の排他情報作成、削除要求、またはデータ入
出力要求を取り出す。もし、トラザクションの全ての排
他情報作成、削除要求およびデータ入出力要求が終了し
ている場合はトランザクションを終了する(ステップ40
4)。
In step 403, it is determined whether or not there remains an exclusive information creation, deletion request, or data input / output request in the transaction. If an exclusive information creation, deletion request, or data input / output request remains, the process proceeds to step 403. 401
And fetch the next exclusive information creation, deletion request, or data input / output request. If all exclusive information creation / deletion requests and data input / output requests for the transaction have been completed, the transaction is terminated (step 40).
Four).

【0073】図3を用いて説明したように、目的バージ
ョンソフトウェア121が最初のトランザクションを処理
する段階では情報処理システムはバージョン移行状態に
なっているので。バージョン移行状態では目的バージョ
ンソフトウェア121の排他情報保存部123に作成する全て
の排他情報は、現バージョンソフトウェア111の排他情
報保存部113にも作成され、現バージョンソフトウェア1
11の排他情報保存部113にだけ作成される排他情報とあ
わせて排他制御部112により一元的に管理される。ま
た、現バージョンソフトウェア111と目的バージョンソ
フトウェア121が同時に実行されるバージョン移行状態
ではデータバッファ部115,125によるデータ保存部140へ
のデータ入出力緩衝動作が無効状態または無効化中状態
であり、無効化中状態ではデータ保存部140へのデータ
入出力は待たされるので、各バージョンのソフトウェア
によるデータ保存部140へのデータ入出力がデータの一
意性を損なうことはない。
As described with reference to FIG. 3, the information processing system is in the version transition state when the target version software 121 processes the first transaction. In the version transition state, all exclusive information created in the exclusive information storage unit 123 of the target version software 121 is also created in the exclusive information storage unit 113 of the current version software 111, and the current version software 1
The exclusive control unit 112 manages the information together with the exclusive information created only in the 11 exclusive information storage units 113. Further, in the version transition state in which the current version software 111 and the target version software 121 are executed simultaneously, the buffering operation of the data input / output to / from the data storage unit 140 by the data buffer units 115 and 125 is in an invalid state or in an invalid state. In this state, data input / output to / from the data storage unit 140 is awaited, so that data input / output to / from the data storage unit 140 by each version of software does not impair the uniqueness of data.

【0074】以上で、データ保存部内のデータ入出力に
関する排他制御を必要とし、データ入出力緩衝機構を有
するトランザクション多重化情報処理システムのソフト
ウェアが運用中にバージョン変更可能となる。
As described above, exclusive control regarding data input / output in the data storage unit is required, and the version of the software of the transaction multiplexed information processing system having the data input / output buffer mechanism can be changed during operation.

【0075】また、第2の実施例として現バージョンソ
フトウェアと目的バージョンソフトウェアで矛盾の無い
排他管理を行う別の方法として排他情報保存部にを共用
メモリーを用いる方法も考えられる。
As a second embodiment, as another method for performing exclusive management without inconsistency between the current version software and the target version software, a method using a shared memory for the exclusive information storage unit can be considered.

【0076】図11は運用中の排他情報保存部に共用メモ
リを用いたソフトウェアバージョン変更を可能とするト
ランザクション多重化情報処理システムの構成を表すブ
ロック図である。
FIG. 11 is a block diagram showing the configuration of a transaction multiplexed information processing system that enables a software version change using a shared memory in an operating exclusive information storage unit.

【0077】図11は図1の排他情報保存部113、123が図1
1の1190として共用メモリー1170上に配置され現バージ
ョンソフトウェア1111および目的バージョンソフトウェ
ア1121の排他制御部1112、1122から共有されている点、
相互排他制御フラグ114、124が無い点、共用メモリ参照
更新用排他管理部1180が共用メモリ上に存在する点が異
なるだけで、その他の部分は同じ構成をしている。な
お、共用メモリとは現バージョンソフトウェア1111の排
他制御部1112および目的バージョンソフトウェア1121の
排他制御部1122から共通に参照可能な記憶空間である。
FIG. 11 shows that the exclusive information storage units 113 and 123 in FIG.
1 is arranged on the shared memory 1170 as 1190 and shared by the exclusive control units 1112 and 1122 of the current version software 1111 and the target version software 1121.
The other parts have the same configuration except that there are no mutual exclusion control flags 114 and 124 and that the shared memory reference update exclusive management unit 1180 exists on the shared memory. The shared memory is a storage space that can be commonly referred to by the exclusive control unit 1112 of the current version software 1111 and the exclusive control unit 1122 of the target version software 1121.

【0078】現バージョンソフトウェア1111中の排他制
御部1112および目的バージョンソフトウェア1121中の排
他制御部1122は各バージョンソフトウェア上で処理する
トランザクションの要求によりデータ保存部1140中の指
定されたデータに関する排他情報を排他情報保存部1190
に作成または排他情報保存部1190から削除する。
The exclusive control unit 1112 in the current version software 1111 and the exclusive control unit 1122 in the target version software 1121 store exclusive information on specified data in the data storage unit 1140 in response to a request for a transaction to be processed on each version software. Exclusive information storage 1190
Created or deleted from the exclusive information storage unit 1190.

【0079】また、共用メモリ1170上には共用メモリ参
照更新用排他管理部1180がある。共用メモリ参照更新用
排他管理部1180は排他制御部1113、1123の一方が排他情
報保存部1190の排他情報を参照してから更新するまでの
間に、他方が排他情報作成部1190に新たな排他情報を更
新しないための排他情報であり、参照更新用排他管理部
1180のオフ状態をオンにすることにより共用メモリの参
照、更新権を得ることができる。排他制御部が1112、11
22のうち一方が参照更新用排他管理部1180を参照してか
ら、オフであることを確認し参照更新用排他管理部1180
オンにするまでの一連の動作中に他方の排他制御部が参
照更新用排他管理部1180を参照しないことを情報処理シ
ステムの動作基板であるハードウェアが保証するものと
する。
Further, on the shared memory 1170, there is a shared memory reference update exclusive management unit 1180. The shared memory reference update exclusion management unit 1180 provides a new exclusion to the exclusion information creation unit 1190 while one of the exclusion control units 1113 and 1123 refers to the exclusion information in the exclusion information storage unit 1190 and updates it. Exclusive information for not updating information, exclusive reference management unit for reference update
By turning on the off state of 1180, the right to refer to and update the shared memory can be obtained. Exclusive control unit is 1112, 11
One of the 22 refers to the reference update exclusion manager 1180, and then confirms that the switch is off.
It is assumed that the hardware as the operation board of the information processing system guarantees that the other exclusive control unit does not refer to the reference update exclusive management unit 1180 during a series of operations until turning on.

【0080】本実施例では、アクセス制御部をバージョ
ン移行状態に遷移すると同時に、アクセス制御部が新規
トランザクション投入先を目的バージョンソフトウェア
に変更することで、目的バージョンソフトウェアで新規
トランザクションを即時受け付けることが可能となる。
また、現バージョンソフトウェアおよび目的バージョン
ソフトウェアでトランザクションは並行に処理されるの
で現バージョンソフトウェアに投入済みのトランザクシ
ョンを中断することが無い。さらに、現バージョンソフ
トウェア上のトランザクションがすべて終了した時点で
アクセス制御部が自動的に現バージョンソフトウェアを
停止するので、現バージョンソフトウェアの停止をユー
ザが意識する必要が無い。
In this embodiment, the access control unit changes to the version transition state, and at the same time, the access control unit changes the input destination of the new transaction to the target version software, so that the target version software can immediately accept a new transaction. Becomes
Further, since transactions are processed in parallel in the current version software and the target version software, the transactions already input to the current version software are not interrupted. Further, since the access control unit automatically stops the current version software when all the transactions on the current version software are completed, the user does not need to be conscious of stopping the current version software.

【0081】バージョン移行状態において、目的バージ
ョンソフトウェアが現バージョンソフトウェアの排他制
御部が参照できる排他情報を作成した後に目的バージョ
ンソフトウェアが自らの排他制御部で参照可能な排他情
報を作成することで、現バージョンソフトウェア上のト
ランザクションおよび目的バージョンソフトウェア上の
トランザクションが矛盾の無い排他制御を可能となる。
そのため、データ入出力に関する排他制御が必要な情報
処理システムにおいても現バージョンソフトウェア上の
トランザクションの終了を待つことなく、また、現バー
ジョンソフトウェア上のトランザクションを中止するこ
なく、目的バージョンソフトウェアで新規トランザクシ
ョンを随時受け付けながらソフトウェアのバージョン変
更が行なえる。
In the version transition state, the target version software creates exclusive information that can be referenced by the exclusive control unit of the current version software and then creates exclusive information that can be referenced by its own exclusive control unit. Transactions on the version software and transactions on the target version software can perform exclusive control without contradiction.
Therefore, even in an information processing system that requires exclusive control over data input / output, a new transaction can be executed with the target version software without waiting for the end of the transaction on the current version software and without aborting the transaction on the current version software. You can change the software version while accepting it at any time.

【0082】現バージョンソフトウェア上のすべてのト
ランザクションが終了した時点でアクセス制御部を目的
バージョンソフトウェア運用状態に遷移し、この時点で
目的バージョンソフトウェア中のトランザクションによ
る現バージョンソフトウェア上での相互排他制御を中止
するので、現バージョンソフトウェアと目的バージョン
ソフトウェア間での相互排他制御によるオーバーヘッド
をバージョン移行状態下に限定することができる。
When all transactions on the current version software have been completed, the access control unit transitions to the target version software operation state, and at this point, mutual exclusion control on the current version software by the transactions in the target version software is stopped. Therefore, the overhead due to the mutual exclusion control between the current version software and the target version software can be limited to the version transition state.

【0083】バージョン移行状態において、データバッ
ファ無効状態にし、データバッファ部によるデータ入出
力緩衝動作を停止することで現バージョンソフトウェア
および目的バージョンソフトウェアが平行に動作し、そ
れぞれのトランザクションを平行に処理しても、データ
保存部とのデータの一意性を保証したデータ入出力を可
能とする。また、バージョン移行時以外はデータバッフ
ァ部によるデータ入出力緩衝動作を停止しないので、デ
ータ保存部との高速なデータ入出力が可能である。
In the version transition state, the data buffer is disabled, and the data input / output buffering operation by the data buffer unit is stopped, so that the current version software and the target version software operate in parallel, and each transaction is processed in parallel. This also enables data input / output that guarantees data uniqueness with the data storage unit. Since the data input / output buffering operation by the data buffer unit is not stopped except at the time of version change, high-speed data input / output with the data storage unit is possible.

【0084】[0084]

【発明の効果】トランザクション処理システムのソフト
ウェア変更におけるシステム管理者の負担を軽減でき
る。
According to the present invention, the burden on the system administrator in changing the software of the transaction processing system can be reduced.

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

【図1】実施例の構成を表すブロック図である。FIG. 1 is a block diagram illustrating a configuration of an embodiment.

【図2】実施例のトランザクションの存在期間を表す概
念図である。
FIG. 2 is a conceptual diagram illustrating an existing period of a transaction according to the embodiment.

【図3】ソフトウェアバージョン変更の処理手順を表す
フローチャートである。
FIG. 3 is a flowchart illustrating a processing procedure of a software version change.

【図4】トランザクション多重化情報処理システム内の
トランザクションの処理手順を表すフローチャートであ
る。
FIG. 4 is a flowchart illustrating a processing procedure of a transaction in the transaction multiplexed information processing system.

【図5】アクセス制御部の状態を表す状態遷移図であ
る。
FIG. 5 is a state transition diagram illustrating a state of an access control unit.

【図6】バージョン移行状態に遷移する際のアクセス制
御部の処理の流れを表すフローチャートである。
FIG. 6 is a flowchart illustrating a processing flow of an access control unit when transitioning to a version transition state.

【図7】現バージョンソフトウェア運用状態に遷移する
際のアクセス制御部の処理の流れを表すフローチャート
である。
FIG. 7 is a flowchart illustrating a process flow of an access control unit when transitioning to a current version software operation state.

【図8】データ保存部中のデータ形式を表す構造図であ
る。
FIG. 8 is a structural diagram illustrating a data format in a data storage unit.

【図9】排他情報保存部に記憶される排他情報の構造図
である。
FIG. 9 is a structural diagram of exclusive information stored in an exclusive information storage unit.

【図10】排他情報の種別および各種別の排他情報作成条
件を表す表。
FIG. 10 is a table showing types of exclusive information and exclusive information creation conditions for each type.

【図11】第2の実施例の構成を表すブロック図である。FIG. 11 is a block diagram illustrating a configuration of a second example.

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

100…システム装置、 110…現バージョンソフトウェア実行領域、 120…目的バージョンソフトウェア実行領域、 111…現バージョンソフトウェア、 121…目的バージョンソフトウェア、 112,122…排他制御部、 113,123…排他情報保存部、 114,124…相互排他制御フラグ、 115,125…データバッファ部、 116,126…バッファ有効状態記憶部、 130…アクセス制御部、 140…データ保存部、 150…目的バージョンソフトウェア格納部、 160…ユーザアプリケーション、 200…現バージョンソフトウェア、 250…目的バージョンソフトウェア、 210,220,230,260,270,280…論理的なトランザクション
処理単位、 211,212,221,222,231,232,261,262,271,272,281,282…
各トランザクションの存在期間、 1100…システム装置、 1110…現バージョンソフトウェア実行領域、 1120…目的バージョンソフトウェア実行領域、 1111…現バージョンソフトウェア、 1121…目的バージョンソフトウェア、 1112,1122…排他制御部、 1113,1123…データバッファ部、 1114,1124…バッファ有効状態記憶部、 1130…アクセス制御部、 1140…データ保存部、 1150…目的バージョンソフトウェア格納部、 1160…ユーザアプリケーション、 1170…共用メモリー、 1180…共用メモリ参照更新用排他管理部、 1190…排他情報保存部。
100: System unit, 110: Current version software execution area, 120: Target version software execution area, 111: Current version software, 121: Target version software, 112, 122: Exclusive control unit, 113, 123: Exclusive information storage unit, 114, 124: Mutual exclusion Control flags, 115, 125: Data buffer section, 116, 126: Buffer valid state storage section, 130: Access control section, 140: Data storage section, 150: Target version software storage section, 160: User application, 200: Current version software, 250 ... Target version software, 210,220,230,260,270,280… logical transaction processing unit, 211,212,221,222,231,232,261,262,271,272,281,282…
Existence period of each transaction, 1100: system unit, 1110: current version software execution area, 1120: target version software execution area, 1111: current version software, 1121: target version software, 1112, 1122: exclusive control unit, 1113, 1123 ... Data buffer unit, 1114, 1124: Buffer effective state storage unit, 1130: Access control unit, 1140: Data storage unit, 1150: Target version software storage unit, 1160: User application, 1170: Shared memory, 1180: Shared memory Exclusive exclusion management unit for update, 1190 ... Exclusive information storage unit.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】複数のトランザクションを並行に処理する
トランザクション処理システムにおいて、 前記システムで使用する第一のプログラムを第二のプロ
グラムに変更するときに前記第一のプログラムと前記第
二のプログラムを実行する実行領域と、前記トランザク
ション処理システムで受け付けたトランザクションを前
記システムの前記第一のプログラムで処理するか前記第
二のプログラムで処理するか選択するアクセス制御部を
備えることを特徴とするトランザクション処理システ
ム。
1. A transaction processing system for processing a plurality of transactions in parallel, wherein the first program and the second program are executed when a first program used in the system is changed to a second program. A transaction processing system comprising: an execution area for executing the transaction processing system; and an access control unit for selecting whether the transaction received by the transaction processing system is processed by the first program or the second program of the system. .
【請求項2】請求項1のトランザクション処理システム
において、 前記第一のプログラムと前記第二のプログラムが使用す
るデータを格納したデータ保存部と、前記データ保存部
の前記データを使用するときに一時的に前記データを格
納するデータバッファ部と、前記第一のプログラムを前
記第二のプログラムに変更するときに前記データバッフ
ァ部のデータが有効かどうかを示す識別子を備えること
を特徴とするトランザクション処理システム。
2. The transaction processing system according to claim 1, wherein a data storage unit storing data used by said first program and said second program is temporarily stored when said data in said data storage unit is used. And a data buffer unit for storing the data, and an identifier indicating whether data in the data buffer unit is valid when the first program is changed to the second program. system.
【請求項3】請求項1のトランザクション処理システム
において、 前記第一のプログラムと前記第二のプログラムが使用す
るデータを格納したデータ保存部と、前記データ保存部
へのアクセスを排他制御する排他制御部を備えることを
特徴とするトランザクション処理システム。
3. The transaction processing system according to claim 1, wherein a data storage unit storing data used by the first program and the second program, and exclusive control for exclusively controlling access to the data storage unit. A transaction processing system comprising a unit.
【請求項4】複数のトランザクションを並行に処理する
トランザクション処理システムのプログラム変更方法に
おいて、 前記システムで使用する第一のプログラムを第二のプロ
グラムに変更するときに前記第一のプログラムと前記第
二のプログラムを実行領域で起動し、前記トランザクシ
ョン処理システムで受け付けたトランザクションをアク
セス制御部が前記システムの前記第一のプログラムで処
理するか前記第二のプログラムで処理するか選択するこ
とを特徴とするトランザクション処理システムのプログ
ラム変更方法。
4. A program change method for a transaction processing system for processing a plurality of transactions in parallel, wherein the first program and the second program are changed when a first program used in the system is changed to a second program. In the execution area, and the access control unit selects whether the transaction received by the transaction processing system is processed by the first program or the second program of the system. How to change the program of the transaction processing system.
【請求項5】請求項4のトランザクション処理システム
のプログラム変更方法において、 前記第一のプログラムと前記第二のプログラムがデータ
保存部のデータを使用するとき、前記データ保存部のデ
ータを一時的に格納するデータバッファ部のデータが有
効かどうかを示す識別子を参照し、有効でなければデー
タ保存部のデータを使用しトランザクションを処理する
ことを特徴とするトランザクション処理システムのプロ
グラム変更方法。
5. The method according to claim 4, wherein when the first program and the second program use data in a data storage unit, the data in the data storage unit is temporarily stored. A program changing method for a transaction processing system, comprising referring to an identifier indicating whether data in a data buffer unit to be stored is valid, and processing the transaction using data in a data storage unit if the data is not valid.
【請求項6】請求項4のトランザクション処理システム
のプログラム変更方法において、 前記第一のプログラムと前記第二のプログラムがデータ
保存部のデータを使用するとき、データを使用する前記
プログラムが排他制御部へ前記データ保存部のロックを
依頼し、前記排他制御部は前記データ保存部のロックを
行い、前記プログラムに前記データ保存部へのアクセス
を許可することを特徴とするトランザクション処理シス
テムのプログラム変更方法。
6. The program change method for a transaction processing system according to claim 4, wherein when the first program and the second program use data in a data storage unit, the program using the data is an exclusive control unit. Requesting a lock on the data storage unit, the exclusive control unit locking the data storage unit, and permitting the program to access the data storage unit. .
【請求項7】複数のトランザクションを並行に処理する
トランザクション処理システムのプログラム変更方法に
おいて、 第一のプログラムが動作中に第二のプログラムを起動
し、第二のプログラムが起動される前に受け付けたトラ
ンザクションは第一のプログラムで処理し、第二のプロ
グラムを起動した後に受け付けたトランザクションは第
二のプログラムで処理し、第一のプログラムで処理すべ
きトランザクションが無くなったとき第一のプログラム
を停止することを特徴とするトランザクション処理シス
テムのプログラム変更方法。
7. A program change method for a transaction processing system for processing a plurality of transactions in parallel, wherein the second program is activated while the first program is operating, and is received before the second program is activated. Transactions are processed by the first program, transactions accepted after starting the second program are processed by the second program, and the first program stops when there are no more transactions to be processed by the first program A method for changing a program of a transaction processing system, comprising:
【請求項8】請求項4に記載のトランザクション処理シ
ステムのプログラム変更方法を実現するプログラムを格
納した計算機に読み取り可能な記憶媒体。
8. A computer-readable storage medium storing a program for implementing the program change method of the transaction processing system according to claim 4.
【請求項9】請求項7に記載のトランザクション処理シ
ステムのプログラム変更方法を実現するプログラムを格
納した計算機に読み取り可能な記憶媒体。
9. A computer-readable storage medium storing a program for implementing the program change method of the transaction processing system according to claim 7.
JP11195427A 1998-08-24 1999-07-09 Method and system for changing program of transaction processing system and storage medium Pending JP2000137620A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11195427A JP2000137620A (en) 1998-08-24 1999-07-09 Method and system for changing program of transaction processing system and storage medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP23678998 1998-08-24
JP10-236789 1998-08-24
JP11195427A JP2000137620A (en) 1998-08-24 1999-07-09 Method and system for changing program of transaction processing system and storage medium

Publications (1)

Publication Number Publication Date
JP2000137620A true JP2000137620A (en) 2000-05-16

Family

ID=26509105

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11195427A Pending JP2000137620A (en) 1998-08-24 1999-07-09 Method and system for changing program of transaction processing system and storage medium

Country Status (1)

Country Link
JP (1) JP2000137620A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005222392A (en) * 2004-02-06 2005-08-18 Tokyo Institute Of Technology Method and program for updating software
JP2005267312A (en) * 2004-03-19 2005-09-29 Hitachi Ltd Application replacement method and program therefor
JP2008118236A (en) * 2006-11-01 2008-05-22 Nec Infrontia Corp METHOD FOR MAINTAINING SOFTWARE IN VoIP SERVER APPARATUS, AND SOFTWARE MAINTENANCE SYSTEM
JP2008282130A (en) * 2007-05-09 2008-11-20 Hitachi Ltd High available operation method of application, online version changing method and computer system
US7536422B2 (en) 2004-05-26 2009-05-19 Hitachi, Ltd. Method for process substitution on a database management system
JP2009159485A (en) * 2007-12-27 2009-07-16 Canon Inc Information processing system, method, and program
WO2013136718A1 (en) * 2012-03-16 2013-09-19 日本電気株式会社 Time series data processing device, time series data processing method, and time series data processing program storage medium
WO2013136717A1 (en) * 2012-03-16 2013-09-19 日本電気株式会社 Time series data processing device, time series data processing method, and time series data processing program storage medium
WO2014045556A1 (en) * 2012-09-18 2014-03-27 日本電気株式会社 Time-series data processing device, time-series data processing method, and medium for storing time-series data processing program
US10209983B2 (en) * 2017-04-19 2019-02-19 Servicenow, Inc. Distributed incremental updating of trays using a source control system

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005222392A (en) * 2004-02-06 2005-08-18 Tokyo Institute Of Technology Method and program for updating software
JP4537724B2 (en) * 2004-02-06 2010-09-08 国立大学法人東京工業大学 Software update method and software update program
JP4532946B2 (en) * 2004-03-19 2010-08-25 株式会社日立製作所 Application replacement method and program
JP2005267312A (en) * 2004-03-19 2005-09-29 Hitachi Ltd Application replacement method and program therefor
US7536422B2 (en) 2004-05-26 2009-05-19 Hitachi, Ltd. Method for process substitution on a database management system
US8264989B2 (en) 2006-11-01 2012-09-11 Nec Infrontia Corporation VoIP server apparatus and method for maintaining software in VoIP server apparatus
JP2008118236A (en) * 2006-11-01 2008-05-22 Nec Infrontia Corp METHOD FOR MAINTAINING SOFTWARE IN VoIP SERVER APPARATUS, AND SOFTWARE MAINTENANCE SYSTEM
JP2008282130A (en) * 2007-05-09 2008-11-20 Hitachi Ltd High available operation method of application, online version changing method and computer system
JP2009159485A (en) * 2007-12-27 2009-07-16 Canon Inc Information processing system, method, and program
US9075669B2 (en) 2012-03-16 2015-07-07 Nec Corporation Time series data processing device, time series data processing method and time series data processing program storage medium
WO2013136717A1 (en) * 2012-03-16 2013-09-19 日本電気株式会社 Time series data processing device, time series data processing method, and time series data processing program storage medium
WO2013136718A1 (en) * 2012-03-16 2013-09-19 日本電気株式会社 Time series data processing device, time series data processing method, and time series data processing program storage medium
JPWO2013136717A1 (en) * 2012-03-16 2015-08-03 日本電気株式会社 Time-series data processing device, time-series data processing method, and time-series data processing program
JPWO2013136718A1 (en) * 2012-03-16 2015-08-03 日本電気株式会社 Time-series data processing device, time-series data processing method, and time-series data processing program
US10725984B2 (en) 2012-03-16 2020-07-28 Nec Corporation Time series data device, time series data processing method and time series data processing program storage medium
WO2014045556A1 (en) * 2012-09-18 2014-03-27 日本電気株式会社 Time-series data processing device, time-series data processing method, and medium for storing time-series data processing program
JPWO2014045556A1 (en) * 2012-09-18 2016-08-18 日本電気株式会社 Time-series data processing device, time-series data processing method, and time-series data processing program
US10209983B2 (en) * 2017-04-19 2019-02-19 Servicenow, Inc. Distributed incremental updating of trays using a source control system
US10922073B2 (en) 2017-04-19 2021-02-16 Servicenow, Inc. Distributed incremental updating of trays using a source control system

Similar Documents

Publication Publication Date Title
JP3557947B2 (en) Method and apparatus for simultaneously starting thread execution by a plurality of processors and computer-readable recording medium
JPH0465414B2 (en)
JPH04229355A (en) Data access method and data processing system
JP2000137620A (en) Method and system for changing program of transaction processing system and storage medium
JP2888278B2 (en) Mutual hot standby system standby system selection method
JP2000315192A (en) Client-server system, method for managing server application and recording medium
JPH05307478A (en) Constituting method for data base management system
JPH08212119A (en) Transaction processing system and commit control method for transaction
JP2001134476A (en) Method for updating data base in a batch
JPH02189658A (en) Cache memory
JPH02139630A (en) Online task exchange device
JPH11296383A (en) Program start control method
JPH04139545A (en) Data base updating processing system
JPH03196341A (en) Data synchronization managing system in on-line system
JP2002268899A (en) Information processor, dynamic change method for operation environment of program and program
JPH0991212A (en) Software distribution method
JPH02133845A (en) Duplex auxiliary storage device
JPH0869430A (en) Input/output device control system and method for altering its constitution
JPH0243642A (en) Multi-host system data control system
JPH08320815A (en) Computer system
JP2650907B2 (en) Resource synchronization control method
JPH11312108A (en) System for replacing transaction synchronization of sub-load module
JPS6234251A (en) File restoration system
JPH0749840A (en) Common storage medium control system
JPH02197948A (en) File transfer system