JP2000020376A - Method and system for exclusively controlling transaction system - Google Patents

Method and system for exclusively controlling transaction system

Info

Publication number
JP2000020376A
JP2000020376A JP10183790A JP18379098A JP2000020376A JP 2000020376 A JP2000020376 A JP 2000020376A JP 10183790 A JP10183790 A JP 10183790A JP 18379098 A JP18379098 A JP 18379098A JP 2000020376 A JP2000020376 A JP 2000020376A
Authority
JP
Japan
Prior art keywords
server
exclusive
data
client terminal
transaction
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
JP10183790A
Other languages
Japanese (ja)
Inventor
Tsutomu Goseki
努 後関
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 Solution Innovators Ltd
Original Assignee
NEC Solution Innovators 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 NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP10183790A priority Critical patent/JP2000020376A/en
Publication of JP2000020376A publication Critical patent/JP2000020376A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method and a system for exclusive control with which work efficiency is improved and maintainability on the side of a server is improved by guaranteeing the update of data at the time point of reading data from a database on the server side through a client terminal. SOLUTION: In a client/server system, when reading data from a transaction data base 22 on the side of a server 20 to the client terminal, exclusive information related to the relevant data is held from read information before the update of the said data by an exclusive control system 21 on the server side, and control is performed so as not to simultaneously hold the said data among plural client terminals 10. When any transaction is finished on the side of the client terminal, it is reported from the client terminal to the server side and the exclusive control system on the server side deletes the exclusive information related to the data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、クライアント・サ
ーバ方式のトランザクション処理に関し、特にトランザ
クションデータの排他制御を行う方法及びシステムに関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to transaction processing of a client-server system, and more particularly to a method and system for performing exclusive control of transaction data.

【0002】[0002]

【従来の技術】トランザクションを行う複数のクライア
ント端末と、前記クライアント端末がトランザクション
実行に際してアクセスするトランザクションデータを有
するトランザクションデータベースを備えたサーバと、
がネットワーク接続されてなるクライアント・サーバシ
ステムにおいて、一つのクライアント端末がサーバ側の
トランザクションデータベースの更新制御を行う場合、
一般に、更新時に、排他の確認を行う。
2. Description of the Related Art A server having a plurality of client terminals for performing transactions, a transaction database having transaction data accessed by the client terminals when executing the transactions,
In a client-server system where is connected to a network, when one client terminal controls update of the transaction database on the server side,
Generally, at the time of updating, confirmation of exclusion is performed.

【0003】すなわち、一のクライアント端末でデータ
更新する際、他のクライアント端末で同時に同一データ
の更新等が行われることがないように排他制御が行われ
る。
That is, when data is updated by one client terminal, exclusive control is performed so that the same data is not updated simultaneously by another client terminal.

【0004】[0004]

【発明が解決しようとする課題】この場合、従来のシス
テムでは、あるクライアント端末側で、サーバ側のトラ
ンザクションデータベースからデータの入力及び変更を
行った際に、当該データがすでに他のクライアント端末
により排他制御がなされている場合には、当該データは
ロックされており、更新されたデータをトランザクショ
ンデータベースへは書き込むことができす、更新時にな
って、初めてその更新作業が無駄になったことがわか
る。
In this case, in the conventional system, when a certain client terminal inputs and changes data from a transaction database on the server side, the data is already exclusive by another client terminal. When the control is performed, the data is locked, and the updated data can be written to the transaction database. It can be understood that the updating work is wasted only at the time of updating.

【0005】このため、クライアント端末側での操作者
は、無駄な作業時間を使ってしまう事となる。
[0005] For this reason, the operator at the client terminal uses wasteful work time.

【0006】そこで、このような事態の発生を可能な限
り避けるために、データ更新前の情報を読み込んだ時点
でサーバ側に排他情報を持つような機構を実装すること
も可能ではあるが、このような機構を、そのまま、従来
のクライアント−サーバ方式に実装した場合トランザク
ションデータベースのデータを更新しているクライアン
ト端末に障害発生した時、該データに関する排他情報が
サーバ側に残ってしまい、他のクライアント端末からは
該データをアクセスできなくなるので、運用管理者が保
守管理する必要がある。
Therefore, in order to avoid such a situation as much as possible, it is possible to implement a mechanism that has exclusive information on the server side when the information before data update is read. When such a mechanism is implemented as it is in the conventional client-server method, when a failure occurs in the client terminal updating the data of the transaction database, exclusive information related to the data remains on the server side, and other client Since the data cannot be accessed from the terminal, the operation manager needs to maintain and manage the data.

【0007】なお、クライアント・サーバ方式の分散デ
ータベースの排他制御方式として、例えば特開平6−1
03142号公報には、トランザクション処理開始後一
定時間経過してもトランザクション終了処理が送信され
なかった場合、排他ロックを解除して異常終了させ、同
一排他制御単位に対する他のプログラムのアクセス待ち
状態の長期継続を防止するようにした方式が開示されて
いる。
As an exclusive control method for a client-server distributed database, for example, Japanese Patent Laid-Open No.
Japanese Patent No. 03142 discloses that if a transaction end process is not transmitted within a certain period of time after the start of a transaction process, the exclusive lock is released and abnormally terminated, and a long-term waiting time for another program to wait for access to the same exclusive control unit. A scheme is disclosed that prevents continuation.

【0008】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その目的は、クライアント端
末でサーバ側のデータベースからデータを読み込んだ時
点でデータの更新が保証することで作業効率を向上する
とともに、サーバ側の保守性を向上する排他制御方法及
びシステムを提供することにある。
Accordingly, the present invention has been made in view of the above-mentioned problems, and has as its object to guarantee the update of data at the time when data is read from a database on a server side at a client terminal, thereby improving work efficiency. And an exclusive control method and system for improving maintainability on the server side.

【0009】[0009]

【課題を解決するための手段】前記目的を達成するた
め、本発明は、トランザクションを行う複数のクライア
ント端末と、前記クライアント端末がトランザクション
実行に際してアクセスするトランザクションデータを有
するトランザクションデータベースを備えたサーバと、
がネットワーク接続されてなるクライアント・サーバシ
ステムにおけるトランザクションの排他制御の方法にお
いて、前記クライアント端末が、前記サーバ側のトラン
ザクションデータベースからデータ読み込み時に、前記
データの更新前の読み込み情報に基づき前記データに関
する排他情報を前記サーバ側で保持管理し、前記データ
を、複数のクライアント端末で同時に保持することがな
いように制御する、ことを特徴とする。
In order to achieve the above object, the present invention provides a server having a plurality of client terminals for performing transactions, a transaction database having transaction data accessed by the client terminals when executing a transaction,
Is a method for exclusive control of a transaction in a client-server system connected to a network, wherein when the client terminal reads data from a transaction database on the server side, exclusive information about the data is read based on read information before updating the data. Is stored and managed on the server side, and the data is controlled so as not to be simultaneously stored in a plurality of client terminals.

【0010】本発明においては、前記クライアント端末
側でトランザクションが終了した際に、前記クライアン
ト端末はサーバ側にその旨を通知し前記サーバは、前記
データに関する排他情報を削除する。
In the present invention, when the transaction is completed at the client terminal, the client terminal notifies the server to that effect, and the server deletes the exclusive information on the data.

【0011】本発明においては、前記サーバが前記クラ
イアント端末の状態を定期的に監視し、前記クライアン
ト端末とサーバ間に障害が発生した場合、前記サーバは
障害クライアント端末に対して保持している排他情報を
削除する。
In the present invention, the server periodically monitors the state of the client terminal, and when a failure occurs between the client terminal and the server, the server retains the exclusive information held by the failed client terminal. Delete information.

【0012】[0012]

【発明の実施の形態】本発明の実施の形態について説明
する。本発明は、その好ましい実施の形態において、ト
ランザクションを行う複数のクライアント端末と、前記
クライアント端末がトランザクション実行に際してアク
セスするトランザクションデータを有するトランザクシ
ョンデータベースを備えたサーバと、がLAN/WAN
等ネットワークで接続されてなるクライアント・サーバ
システムにおいて、前記クライアント端末及びサーバ
が、トランザクションの排他制御のための排他制御シス
テムをそれぞれ備え、クライアント端末がサーバ側のト
ランザクションデータベースからデータ読み込み時に、
クライアント側の排他制御システムは、当該データに関
する排他情報を、サーバ側の排他制御システムに転送
し、サーバ側の排他制御システムで該排他情報を保持
し、クライアント端末側でトランザクションが終了した
際に、クライアント端末の排他制御システムはサーバ側
の排他制御システムにその旨を通知し、サーバの排他制
御システムが保持していた当該データに関する排他情報
を削除する。サーバ側の排他制御システムが前記データ
に関する排他情報を保持している間は、他のクライアン
ト端末で同一データを同時に保持することがないように
排他制御する。
Embodiments of the present invention will be described. In a preferred embodiment of the present invention, a plurality of client terminals performing a transaction and a server including a transaction database having transaction data accessed by the client terminal when executing the transaction are provided by a LAN / WAN.
In a client-server system connected by an equal network, the client terminal and the server each include an exclusive control system for exclusive control of a transaction, and when the client terminal reads data from the transaction database on the server side,
The exclusive control system on the client side transfers the exclusive information on the data to the exclusive control system on the server side, holds the exclusive information on the exclusive control system on the server side, and, when the transaction ends on the client terminal side, The exclusive control system of the client terminal notifies the exclusive control system of the server to that effect, and deletes the exclusive information on the data held by the exclusive control system of the server. While the exclusion control system on the server side holds the exclusion information on the data, exclusion control is performed so that other client terminals do not hold the same data at the same time.

【0013】また本発明の実施の形態においては、前記
サーバの排他制御システムが、前記クライアント端末に
対して定期的に起動確認情報を送信してその状態を監視
し、前記クライアント端末は、前記サーバ側から起動確
認を受けた際に接続情報をその応答として返送し、前記
サーバ側の排他制御システムで前記クライアント端末か
ら期待する接続情報が返ってこない場合障害が発生した
ものと判断し、前記サーバの排他制御システムは障害ク
ライアント端末に対して保持している排他情報を削除す
る。
[0013] In an embodiment of the present invention, the exclusive control system of the server periodically transmits activation confirmation information to the client terminal to monitor the status, and the client terminal communicates with the server. The connection information is returned as a response when the startup confirmation is received from the server, and when the expected connection information is not returned from the client terminal in the exclusive control system on the server side, it is determined that a failure has occurred, The exclusive control system deletes the exclusive information held for the failed client terminal.

【0014】本発明の実施の形態について図面を参照し
て説明する。図1を参照すると、本発明の実施の形態に
おいては、サーバ側の排他制御システムは、更新前の読
み込み状況を排他情報として保持し、トランザクション
が更新を完了した時に、読み込み状況を削除する。他の
トランザクション及びクライアント端末は、更新前の読
み込み時に、排他制御システムを介して参照すること
で、他のトランザクションが更新の為に読み込みを行っ
たことを知ることができる。
An embodiment of the present invention will be described with reference to the drawings. Referring to FIG. 1, in the embodiment of the present invention, the server-side exclusive control system holds the read status before the update as exclusive information, and deletes the read status when the transaction has completed the update. The other transaction and the client terminal can know that the other transaction has read for updating by referring to the exclusive control system at the time of reading before updating.

【0015】またサーバはクライアント端末の接続状況
を監視することで、クライアント端末に障害が発生した
場合でも、該クライアント端末に関する排他情報が残っ
ていることにより、他のクライアント端末からアクセス
できないという事態の発生を回避することができる。
Further, the server monitors the connection status of the client terminal, so that even if a failure occurs in the client terminal, the exclusive information on the client terminal remains, so that the server cannot access from another client terminal. Occurrence can be avoided.

【0016】[0016]

【実施例】上記した本発明の実施の形態についてさらに
詳細に説明すべく、本発明の実施例について図面を参照
して以下に説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of the present invention;

【0017】図1は、本発明の一実施例の構成を示す図
である。図1を参照すると、本発明の一実施例は、クラ
イアント端末(単に「クライアント」ともいう)10側
とサーバ20側の排他制御システム11、21で構成さ
れており、サーバ20はトランザクションデータベース
22を備えている。なお、図1には、簡略化の為クライ
アント端末一台のみが示されているが、複数のクライア
ント端末がサーバと接続されるものとする。
FIG. 1 is a diagram showing the configuration of an embodiment of the present invention. Referring to FIG. 1, one embodiment of the present invention includes a client terminal (also referred to simply as a “client”) 10 and exclusive control systems 11 and 21 on a server 20 side. Have. Although FIG. 1 shows only one client terminal for simplification, it is assumed that a plurality of client terminals are connected to the server.

【0018】クライアント10は、トランザクションデ
ータベース22の使用開始時に、排他制御システム11
を介して、システム使用開始を通知する。
When the client 10 starts using the transaction database 22, the exclusive control system 11
Notify the start of system use via.

【0019】サーバ20側の排他制御システム21は、
定期的にクライアント10側の排他制御システム11を
参照して、正常な動作が行われているか否かを監視す
る。
The exclusive control system 21 on the server 20 side
The client 10 periodically refers to the exclusive control system 11 of the client 10 to monitor whether a normal operation is performed.

【0020】本実施例においては、サーバ20側に、排
他制御情報23を備えることで排他制御を実現する。ま
た同一のデータを、複数のクライアント端末で同時に保
持することがないように制御する。このため、クライア
ント10側のアプリケーションは、サーバ20側のトラ
ンザクションデータベース22からデータを読み込んだ
時に、当該データのキー情報を、クライアント10側の
排他制御システム11に渡す。クライアント10側の排
他制御システム11は、そのキー情報をサーバ20側の
排他制御システム21に渡す。
In the present embodiment, exclusive control is realized by providing exclusive control information 23 on the server 20 side. Also, control is performed so that the same data is not simultaneously held in a plurality of client terminals. Therefore, when the application on the client 10 reads the data from the transaction database 22 on the server 20, it passes the key information of the data to the exclusive control system 11 on the client 10. The exclusive control system 11 of the client 10 passes the key information to the exclusive control system 21 of the server 20.

【0021】クライアント10側でトランザクションが
終了した際に、クライアント10側の排他制御システム
11に終了した旨を通知すると、クライアント10側の
排他制御システム11はサーバ20側の排他制御システ
ム21が保持する当該データに関する排他情報23を削
除する。
When the exclusive control system 11 of the client 10 is notified that the transaction has been completed when the transaction is completed on the client 10 side, the exclusive control system 21 of the server 20 holds the exclusive control system 11 of the client 10. The exclusive information 23 on the data is deleted.

【0022】次に図2乃至図5を参照して、本発明の一
実施例の動作について説明する。
Next, the operation of one embodiment of the present invention will be described with reference to FIGS.

【0023】図2は、本発明の一実施例において、クラ
イアント−サーバ間の起動確認手順を説明するための図
である。図2を参照すると、クライアント10起動時、
クライアント10側の排他制御システム11は、サーバ
20側の排他制御システム21に対して接続を行い、起
動した事(接続情報)を通知する。
FIG. 2 is a diagram for explaining a procedure for confirming activation between a client and a server in one embodiment of the present invention. Referring to FIG. 2, when the client 10 starts,
The exclusive control system 11 on the client 10 side connects to the exclusive control system 21 on the server 20 side and notifies that it has started (connection information).

【0024】サーバ20側の排他制御システム21は一
定間隔で、クライアント10側の排他制御システム21
に対して起動確認を行う。
The exclusive control system 21 on the server 20 side operates at regular intervals.
Confirm the startup for.

【0025】クライアント10側の排他制御システム1
1は、サーバ20側からの起動確認に対して接続情報を
返して、起動中であること(接続情報)を通知する。
Exclusive control system 1 on the client 10 side
1 returns the connection information in response to the activation confirmation from the server 20 side, and notifies that the server 20 is being activated (connection information).

【0026】図3は、本発明の一実施例における排他情
報書き込み処理について説明するための図である。図3
を参照すると、クライアント10側がトランザクション
処理の為のデータをトランザクションデータベース22
から読み込み、読み込んだデータの内容を、クライアン
ト10側の排他制御システム11に渡す。
FIG. 3 is a diagram for explaining the exclusive information writing process in one embodiment of the present invention. FIG.
, The client 10 stores data for transaction processing in the transaction database 22.
And the contents of the read data are passed to the exclusive control system 11 on the client 10 side.

【0027】クライアント10側の排他制御システム1
1は、サーバ20側の排他制御システム21に対して、
排他取得を要求する。サーバ20側の排他制御システム
21は排他情報23を書き込み登録する。
Exclusive control system 1 on the client 10 side
1 is for the exclusive control system 21 on the server 20 side.
Request exclusive acquisition. The exclusive control system 21 of the server 20 writes and registers the exclusive information 23.

【0028】この状態で、他のクライアントが排他取得
を要求しても、サーバ20側の排他制御システム21に
排他情報23が残っているため、他のクライアント端末
は排他取得ができず、データ読み込み処理が行えない。
これにより、該データに関する排他制御が実現できる。
In this state, even if another client requests exclusion acquisition, the exclusion information 23 remains in the exclusion control system 21 on the server 20 side. Processing cannot be performed.
Thereby, exclusive control regarding the data can be realized.

【0029】図4は、本発明の一実施例における排他消
去処理について説明するための図である。図4を参照す
ると、クライアント10は、データ更新を行いトランザ
クションの終了をする際、サーバ20側の排他制御シス
テム21に対し排他情報の消去要求をする。
FIG. 4 is a diagram for explaining an exclusive erasure process in one embodiment of the present invention. Referring to FIG. 4, when updating the data and ending the transaction, the client 10 requests the exclusive control system 21 of the server 20 to delete the exclusive information.

【0030】サーバ20側の排他制御システム21は、
この排他情報削除要求を受けて排他情報を消去し、他の
クライアント端末からの要求を受け付け可能状態にす
る。
The exclusive control system 21 on the server 20 side
In response to the exclusive information deletion request, the exclusive information is deleted, and a request from another client terminal is made ready.

【0031】図5は、本発明の一実施例における端末側
障害による排他情報の消去を説明するための図である。
図5を参照すると、サーバ20側の排他制御システム2
1は、クライアント10に対して、一定間隔で起動確認
を行う。クライアント10は、サーバ20側からの起動
確認を受けてサーバ20側に接続情報を返す。クライア
ント10側から接続情報が正しく返されている間は、特
に処理はされないが、クライアント10側が何らかの障
害により接続情報を返却されなくなった場合、サーバ側
排他制御システム21は、クライアント10での処理が
停止したものと判断して、それまで保持していた排他情
報23を消去する。
FIG. 5 is a diagram for explaining erasure of exclusive information due to a terminal failure in one embodiment of the present invention.
Referring to FIG. 5, the exclusive control system 2 on the server 20 side
1 checks the client 10 for activation at regular intervals. The client 10 returns the connection information to the server 20 side upon receiving the activation confirmation from the server 20 side. While the connection information is correctly returned from the client 10, no special processing is performed. However, if the client 10 does not return the connection information due to some failure, the server-side exclusive control system 21 executes the processing in the client 10. It is determined that the exclusion has been stopped, and the exclusive information 23 held up to that point is deleted.

【0032】これによりクライアント10が途中で障害
により停止となった場合でも、他のクライアント端末が
更新できる環境を自動的に整えることができる。
Thus, even if the client 10 is stopped due to a failure in the middle, it is possible to automatically prepare an environment in which another client terminal can update.

【0033】なお、クライアントサーバ間に通信方式と
しては、LAN(ローカルエリアネットワーク)、WA
N(ワイドエリアネットワーク)等を用いることができ
る。
The communication method between the client and the server includes LAN (local area network), WA
N (wide area network) or the like can be used.

【0034】[0034]

【発明の効果】以上説明したように、本発明によれば、
下記記載の効果を奏する。
As described above, according to the present invention,
The following effects are obtained.

【0035】本発明の第1の効果は、クライアント端末
がサーバ側のトランザクションデータベースから読み込
んだデータは必ず更新可能な状態にあることを補償して
いるため、修正を行ったが無駄な修正であったという事
態の発生を確実に回避し、データ安全性、作業効率を向
上する、ことができるということである。
The first effect of the present invention is that the client terminal compensates that the data read from the transaction database on the server side is always in an updatable state. That is, it is possible to reliably avoid the occurrence of the situation, and to improve data security and work efficiency.

【0036】本発明の第2の効果は、サーバから端末の
監視を行うことで、クライアント端末障害等で、クライ
アント端末−サーバ間の接続が断した場合でも、サーバ
側の排他情報が自動的に削除されるので、他のクライア
ント端末へ影響を最小限に抑えることが可能である、と
いうことである。
The second effect of the present invention is that, by monitoring the terminal from the server, even when the connection between the client terminal and the server is disconnected due to a client terminal failure or the like, the exclusive information on the server side is automatically output. Since it is deleted, it is possible to minimize the influence on other client terminals.

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

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

【図2】本発明の一実施例の動作を説明するための図で
あり、クライアント端末起動確認の動作を模式的に示す
図である。
FIG. 2 is a diagram for explaining the operation of one embodiment of the present invention, and is a diagram schematically showing an operation of confirming activation of a client terminal.

【図3】本発明の一実施例の動作を説明するための図で
あり、排他情報取得動作を模式的に示す図である。
FIG. 3 is a diagram for explaining an operation of an embodiment of the present invention, and is a diagram schematically showing an exclusive information acquisition operation.

【図4】本発明の一実施例の動作を説明するための図で
あり、排他情報削除動作を模式的に示す図である。
FIG. 4 is a diagram for explaining the operation of one embodiment of the present invention, and is a diagram schematically showing an exclusive information deleting operation.

【図5】本発明の一実施例の動作を説明するための図で
あり、端末障害による排他情報削除動作を模式的に示す
図である。
FIG. 5 is a diagram for explaining the operation of one embodiment of the present invention, and is a diagram schematically showing an exclusive information deletion operation due to a terminal failure.

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

10 クライアント(端末) 11 排他制御システム 20 サーバ 21 排他制御システム 22 トランザクションデータベース 23 排他(制御)情報 Reference Signs List 10 client (terminal) 11 exclusive control system 20 server 21 exclusive control system 22 transaction database 23 exclusive (control) information

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】トランザクション処理を行う複数のクライ
アント端末と、 前記クライアント端末がトランザクション実行に際して
アクセスするトランザクションデータを有するトランザ
クションデータベースを備えたサーバと、 を含むクライアント・サーバシステムにおけるトランザ
クションの排他制御方法において、 前記クライアント端末が、前記サーバ側のトランザクシ
ョンデータベースからデータの読み込み時に、前記サー
バ側が該データの更新前の読み込み情報から前記データ
に関する排他情報を保持し、前記データと同一のデータ
を複数のクライアント端末で同時に保持することがない
ように制御する、ことを特徴とする排他制御方法。
An exclusive transaction control method in a client-server system, comprising: a plurality of client terminals for performing transaction processing; and a server having a transaction database having transaction data accessed by the client terminals when executing a transaction. When the client terminal reads data from the transaction database on the server side, the server side holds exclusive information on the data from the read information before updating the data, and the same data as the data is transmitted to a plurality of client terminals. An exclusive control method, characterized in that control is performed so as not to hold them at the same time.
【請求項2】前記クライアント端末側でトランザクショ
ンが終了した際に、前記クライアント端末はサーバ側に
その旨を通知し前記サーバは、前記データに関する排他
情報を削除する、ことを特徴とする請求項1又は2記載
の排他制御方法。
2. The system according to claim 1, wherein, when the transaction is completed on the client terminal side, the client terminal notifies the server side of the completion, and the server deletes the exclusive information on the data. Or the exclusive control method according to 2.
【請求項3】前記サーバが、前記クライアント端末の状
態を定期的に監視し、前記クライアント端末とサーバ間
に障害が発生した場合、前記サーバは障害クライアント
端末に対して保持している排他情報を削除する、ことを
特徴とする請求項1又は2記載の排他制御方法。
3. The server periodically monitors the state of the client terminal, and when a failure occurs between the client terminal and the server, the server stores exclusive information held for the failed client terminal. 3. The exclusive control method according to claim 1, wherein the exclusive control method is deleted.
【請求項4】前記データに関する排他情報が、前記デー
タベースから読み出した前記データのキー情報を含む、
ことを特徴とする請求項1及至3のいずれか一に記載の
排他制御方法。
4. The exclusive information on the data includes key information of the data read from the database.
The exclusive control method according to any one of claims 1 to 3, wherein:
【請求項5】トランザクションを行う複数のクライアン
ト端末と、前記クライアント端末がトランザクション実
行に際してアクセスするトランザクションデータを有す
るトランザクションデータベースを備えたサーバと、が
ネットワーク等で接続されてなるクライアント・サーバ
システムにおいて、 前記クライアント端末及びサーバが、トランザクション
の排他制御のための排他制御手段をそれぞれ備え、 前記クライアント端末が前記サーバ側のトランザクショ
ンデータベースからデータ読み込み時に、前記クライア
ント側の排他制御手段は、前記データに関する排他情報
を、前記サーバ側の排他制御手段に転送し、前記サーバ
側の排他制御手段で前記排他情報を保持管理し、 前記クライアント端末側でトランザクションが終了した
際に、前記クライアント端末の排他制御手段は前記サー
バ側の排他制御手段にその旨を通知し、前記サーバの排
他制御手段が保持していた前記データに関する排他情報
を削除し、 前記サーバ側の排他制御手段が前記データに関する排他
情報を保持している間は、他のクライアント端末で同一
データを同時に保持することがないように制御する、こ
とを特徴とする排他制御システム。
5. A client-server system in which a plurality of client terminals performing a transaction and a server including a transaction database having transaction data accessed by the client terminal when executing the transaction are connected via a network or the like. The client terminal and the server each have exclusive control means for exclusive control of a transaction. When the client terminal reads data from the transaction database on the server side, the exclusive control means on the client side transmits exclusive information on the data. When the transaction is transferred to the server-side exclusive control means, the server-side exclusive control means retains and manages the exclusive information, and when the client terminal ends a transaction, The exclusive control means of the client terminal notifies the exclusive control means of the server to that effect, deletes the exclusive information on the data held by the exclusive control means of the server, and the exclusive control means of the server side An exclusive control system, characterized in that control is performed such that another client terminal does not hold the same data at the same time while holding the exclusive information on the data.
【請求項6】前記サーバの排他制御手段が、前記クライ
アント端末に対して定期的に起動確認情報を送信してそ
の状態を監視し、 前記クライアント端末は、前記サーバ側から起動確認を
受けた際に接続情報をその応答として返送し、 前記サーバ側の排他制御手段で前記クライアント端末か
ら期待する接続情報が返ってこない場合障害が発生した
ものと判断し、前記サーバの排他制御手段は障害クライ
アント端末に対して保持している排他情報を削除する、
ことを特徴とする請求項5記載の排他制御システム。
6. An exclusive control means of the server periodically transmits start-up confirmation information to the client terminal to monitor the state, and the client terminal receives a start-up confirmation from the server side. When the connection information expected from the client terminal is not returned by the exclusive control means on the server side, it is determined that a failure has occurred. Delete exclusive information held for
The exclusive control system according to claim 5, wherein:
【請求項7】前記データに関する排他情報が、前記デー
タのキー情報を含むことを特徴とする請求項5又は6記
載の排他制御システム。
7. The exclusive control system according to claim 5, wherein the exclusive information on the data includes key information of the data.
JP10183790A 1998-06-30 1998-06-30 Method and system for exclusively controlling transaction system Pending JP2000020376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10183790A JP2000020376A (en) 1998-06-30 1998-06-30 Method and system for exclusively controlling transaction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10183790A JP2000020376A (en) 1998-06-30 1998-06-30 Method and system for exclusively controlling transaction system

Publications (1)

Publication Number Publication Date
JP2000020376A true JP2000020376A (en) 2000-01-21

Family

ID=16141983

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10183790A Pending JP2000020376A (en) 1998-06-30 1998-06-30 Method and system for exclusively controlling transaction system

Country Status (1)

Country Link
JP (1) JP2000020376A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003015927A (en) * 2001-07-02 2003-01-17 Tsubasa System Co Ltd Process execution exclusive control system
JP2010103850A (en) * 2008-10-24 2010-05-06 Hde Inc Mail system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003015927A (en) * 2001-07-02 2003-01-17 Tsubasa System Co Ltd Process execution exclusive control system
JP2010103850A (en) * 2008-10-24 2010-05-06 Hde Inc Mail system

Similar Documents

Publication Publication Date Title
DE69904190T2 (en) METHOD AND PROGRAM FOR PROCESSING THE MANAGEMENT REQUESTS OF A DISTRIBUTED NETWORK APPLICATION IN A GROUPED COMPUTER ENVIRONMENT
JP3140906B2 (en) How to update and restore system files
CA2270462C (en) Regeneration agent for back-up software
US7328213B2 (en) Transaction processing method, transaction control apparatus and program thereof
JPH06214967A (en) Decentralized data processing system
US20050210081A1 (en) Data synchronization method
JPH0683746A (en) Decentralized information processing system
JPS62105247A (en) Management of data base system
JPH0922374A (en) Information processing system capable of accessing different kind of file and control method therefor
US8301750B2 (en) Apparatus, system, and method for facilitating communication between an enterprise information system and a client
JP2006338197A (en) Transaction control program, transaction control method, and transaction processing system
US20030191918A1 (en) Data processing arrangement and method
JP2000020376A (en) Method and system for exclusively controlling transaction system
JPH10124419A (en) Software and data matching distribution method for client server system
JP2000082003A (en) Information processing system enabling access to different kind of file and control method thereof
US7386615B1 (en) Method and system for reliably de-allocating resources in a networked computing environment
JP2938860B1 (en) Distributed data management system
JPH11345139A (en) Non-stop type duplex system
JPH09251430A (en) Data distribution device for computer system
JPH0430220A (en) Maintenance system for software
JPH1153242A (en) Database system and database updating method
JP3757762B2 (en) Shared data management system and shared data management method
JPH09319633A (en) Execution control method for distributed agents
JPH11327985A (en) Duplex computer system
JPH10240600A (en) Method for maintaining consistency of data in data sharing system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000201