JPH07253948A - Transaction service mode switching system - Google Patents

Transaction service mode switching system

Info

Publication number
JPH07253948A
JPH07253948A JP6069058A JP6905894A JPH07253948A JP H07253948 A JPH07253948 A JP H07253948A JP 6069058 A JP6069058 A JP 6069058A JP 6905894 A JP6905894 A JP 6905894A JP H07253948 A JPH07253948 A JP H07253948A
Authority
JP
Japan
Prior art keywords
database
update
backup
update transaction
terminal device
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
JP6069058A
Other languages
Japanese (ja)
Inventor
Michihiro Yamazaki
倫裕 山崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP6069058A priority Critical patent/JPH07253948A/en
Publication of JPH07253948A publication Critical patent/JPH07253948A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To offer reference system transaction service completely at a high speed even not in a reference and update system transaction service time zone. CONSTITUTION:When a host computer 1 updates a data base 11 by a data base reference and update means 12, an updated transaction acquisition means 13 stores updated transaction information in an updated transaction storage file 14. After the reference and update system transaction service ends, an updated transaction transmitting means 15 sends the updated transaction information in the updated transaction storage file 14 to a backup computer 2. Once receiving the updated transaction information, an updated transaction receiving means 22 stores it in an updated transaction storage file 23. A backup data base update means 24 updates a backup data base 21 with the updated transaction information in the updated transaction storage file 23.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は業務サービス形態切替え
方式に関し、特にホストコンピュータにデータベースを
備え、端末装置からの参照要求および更新要求をもとに
データベースの参照および更新を行う参照・更新系業務
サービス時間帯と端末装置からの参照要求をもとにデー
タベースの参照のみを行う参照系業務サービス時間帯と
で運用されるオンライントランザクション処理システム
における業務サービス形態切替え方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a business service form switching system, and more particularly to a reference / update system business in which a database is provided in a host computer and the database is referenced and updated based on a reference request and an update request from a terminal device. The present invention relates to a business service form switching method in an online transaction processing system operated in a service time zone and a reference business service time zone that only refers to a database based on a reference request from a terminal device.

【0002】[0002]

【従来の技術】従来のオンライントランザクション処理
システムは、図7に示すように、ホストコンピュータ1
01に通信網104を介して端末装置103が接続され
て構成されていた。ホストコンピュータ101は、デー
タベース111と、データベース参照・更新手段112
と、更新トランザクション送信手段113とを含んでお
り、端末装置103は、バックアップデータベース13
1と、処理切替え手段132と、バックアップデータベ
ース参照手段133と、バックアップデータベース更新
手段134とを含んでいた。
2. Description of the Related Art A conventional online transaction processing system, as shown in FIG.
01 to the terminal device 103 via the communication network 104. The host computer 101 includes a database 111 and database reference / update means 112.
And the update transaction transmission means 113, and the terminal device 103 includes the backup database 13
1, the process switching unit 132, the backup database reference unit 133, and the backup database updating unit 134.

【0003】このような従来のオンライントランザクシ
ョン処理システムでは、ホストコンピュータ101のデ
ータベース111をデータベース参照・更新手段112
により更新した更新トランザクション情報を更新トラン
ザクション送信手段113により端末装置103に送信
し、バックアップデータベース更新手段134によりバ
ックアップデータベース131を更新して、データベー
ス111の内容とバックアップデータベース131の内
容との一致を図っており、ホストコンピュータ101の
データベース111の参照・更新系業務サービス時間帯
の終了後は、端末装置103のバックアップデータベー
ス参照手段133によりバックアップデータベース13
2の参照のみを行って情報照会,帳表印字等の参照系業
務サービスを行っていた。
In such a conventional online transaction processing system, the database reference / update means 112 is used for the database 111 of the host computer 101.
The update transaction information updated by means of the update transaction transmitting means 113 is transmitted to the terminal device 103, and the backup database updating means 134 updates the backup database 131 so that the contents of the database 111 and the contents of the backup database 131 match. After the end of the reference / update-related business service time zone of the database 111 of the host computer 101, the backup database 13 by the backup database reference means 133 of the terminal device 103.
They provided reference-related business services such as information inquiries and book prints only by referring to 2.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のオンラ
イントランザクション処理システムでは、バックアップ
データベース131を端末装置103に持つようになっ
ていたので、データベース111のデータ容量が大きく
なると同一内容がバックアップデータベース131に保
持できなくなり、端末装置103側で完璧な参照系業務
サービスを提供することができないという問題点があっ
た。
In the above-described conventional online transaction processing system, since the backup database 131 is provided in the terminal device 103, the same contents are stored in the backup database 131 when the data capacity of the database 111 becomes large. There is a problem in that the terminal device 103 cannot provide a perfect reference-type business service because it cannot be held.

【0005】また、バックアップデータベース131は
端末装置103独自の構造のために更新処理が複雑であ
り、特に端末装置103の処理能力はホストコンピュー
タ101に比べて劣るために更新トランザクション情報
が大量になると更新処理時間が長くなるという問題点が
あった。
The backup database 131 has a complicated structure due to the unique structure of the terminal device 103, and in particular, since the processing capacity of the terminal device 103 is inferior to that of the host computer 101, it is updated when the update transaction information becomes large. There is a problem that the processing time becomes long.

【0006】さらに、端末装置103による参照系業務
サービスは、バックアップデータベース131等のバッ
クアップ機能を備える端末装置103でしか利用できな
いため、参照系業務サービスを複数の端末装置103で
行う場合、それぞれの端末装置103にバックアップ機
能が必要であるという問題点があった。
Further, since the reference-related business service by the terminal device 103 can be used only by the terminal device 103 having a backup function such as the backup database 131, when the reference-related business service is performed by a plurality of terminal devices 103, each terminal device 103 There is a problem that the device 103 needs a backup function.

【0007】一方、完璧かつ高速な参照系業務サービス
を提供するためには、ホストコンピュータ101の稼働
時間を延長すればよいが、大型のホストコンピュータ1
01では稼働にかかる経費が大きく、ホストコンピュー
タ101の機能の一部のみを利用する場合でもコンピュ
ータシステム全体を稼働させる必要があり、コスト負担
が大きくなるという問題点があった。
On the other hand, in order to provide a complete and high-speed reference-related business service, the operating time of the host computer 101 may be extended, but the large-sized host computer 1
In the case of 01, the operation cost is high, and even if only a part of the function of the host computer 101 is used, it is necessary to operate the entire computer system, resulting in a large cost burden.

【0008】本発明の目的は、上述の点に鑑み、ホスト
コンピュータのデータベースと同一内容のバックアップ
データベースを参照系業務サービス時間帯にも稼働され
ている他のコンピュータ(以下、バックアップコンピュ
ータという)に持つことにより、参照・更新系業務サー
ビス時間帯外でも、参照系業務サービスを完璧かつ高速
に行うことができるようにした業務サービス形態切替え
方式を提供することにある。
In view of the above points, an object of the present invention is to have a backup database having the same contents as the database of the host computer in another computer (hereinafter referred to as a backup computer) that is operating even during the reference system service time period. Therefore, it is to provide a business service form switching method capable of performing a reference business service completely and rapidly even outside the reference / update business service time zone.

【0009】また、バックアップ機能を備えない端末装
置を使用して、参照・更新系業務サービス時間帯外に参
照系業務サービスを可能とするようにした業務サービス
形態切替え方式を提供することにある。
It is another object of the present invention to provide a business service form switching method that enables a reference business service outside the reference / update business service time zone by using a terminal device having no backup function.

【0010】さらに、オンライントランザクション処理
システムの運用コストを上げることなしに、参照・更新
系業務サービス時間帯外でも、参照系業務サービスを完
璧かつ高速に行うことができるようにした業務サービス
形態切替え方式を提供することにある。
Further, a business service form switching method capable of performing the reference business service perfectly and rapidly even outside the reference / update business service time zone without increasing the operation cost of the online transaction processing system. To provide.

【0011】なお、先行技術として、問合せ応答型情報
サービスシステムにおける分散処理方式(特開平4−3
2951号公報参照)が知られているが、この分散処理
方式は、中継装置(分散処理機能付端末を含む)の分散
情報データベースに、ホストコンピュータの情報データ
ベースからあらかじめ問合せ頻度の高い種別の情報を受
け取って保持し、端末からの問合せに対して、保持して
いる情報中に当該種別の情報があれば、その情報を端末
に返送し、なければ問合せをホストコンピュータに送る
ようにしたものであり、本発明のように業務サービス時
間帯で分けて異なるコンピュータに処理を分担させるよ
うにしたものではない。
As a prior art, a distributed processing method in an inquiry response type information service system (Japanese Patent Laid-Open No. 4-3).
In this distributed processing method, the distributed information database of the relay device (including the terminal with the distributed processing function) is pre-populated with information of a type frequently inquired from the information database of the host computer. In response to an inquiry from the terminal received and held, if there is information of the type in the held information, that information is returned to the terminal, otherwise the inquiry is sent to the host computer. However, unlike the present invention, the processing is not divided into different computers and divided by the business service time zone.

【0012】[0012]

【課題を解決するための手段】本発明の業務サービス形
態切替え方式は、ホストコンピュータにデータベースを
備え、端末装置からの参照要求および更新要求をもとに
データベースの参照および更新を行う参照・更新系業務
サービス時間帯と端末装置からの参照要求をもとにデー
タベースの参照のみを行う参照系業務サービス時間帯と
で運用されるオンライントランザクション処理システム
において、前記参照系業務サービス時間帯にも稼働され
るバックアップコンピュータを前記ホストコンピュータ
および端末装置と通信経路を介して接続し、前記ホスト
コンピュータに、端末装置からの参照要求をもとに前記
データベースを参照したり前記端末装置からの更新要求
をもとに前記データベースを更新したりするデータベー
ス参照・更新手段と、前記データベースの更新時に前記
データベースの更新トランザクション情報を取り出す更
新トランザクション取得手段と、この更新トランザクシ
ョン取得手段により取り出された更新トランザクション
情報を前記バックアップコンピュータに送信する更新ト
ランザクション送信手段とを備え、前記バックアップコ
ンピュータに、前記データベースの写しを保持するバッ
クアップデータベースと、前記ホストコンピュータから
送信されてきた更新トランザクション情報を受信する更
新トランザクション受信手段と、この更新トランザクシ
ョン受信手段により受信された更新トランザクション情
報により前記バックアップデータベースを更新するバッ
クアップデータベース更新手段と、端末装置から入力さ
れた参照要求をもとに前記バックアップデータベースを
参照するバックアップデータベース参照手段とを備え
る。
A business service form switching system of the present invention comprises a database in a host computer, and a reference / update system for referring and updating a database based on a reference request and an update request from a terminal device. In an online transaction processing system operated in a business service time zone and a reference business service time zone that only refers to a database based on a reference request from a terminal device, the online transaction processing system is also operated in the reference business service time zone. A backup computer is connected to the host computer and the terminal device via a communication path, and the host computer refers to the database based on a reference request from the terminal device or based on an update request from the terminal device. Database reference / update means for updating the database The backup computer includes update transaction acquisition means for extracting update transaction information of the database when updating the database, and update transaction transmission means for transmitting the update transaction information extracted by the update transaction acquisition means to the backup computer. A backup database holding a copy of the database, an update transaction receiving means for receiving update transaction information transmitted from the host computer, and the backup database by the update transaction information received by the update transaction receiving means. The backup database updating means for updating and the backup request based on the reference request input from the terminal device. And a backup database reference means for referring to the up database.

【0013】また、本発明の業務サービス形態切替え方
式は、ホストコンピュータにデータベースを備え、端末
装置からの参照要求および更新要求をもとにデータベー
スの参照および更新を行う参照・更新系業務サービス時
間帯と端末装置からの参照要求をもとにデータベースの
参照のみを行う参照系業務サービス時間帯とで運用され
るオンライントランザクション処理システムにおいて、
前記参照系業務サービス時間帯にも稼働されるバックア
ップコンピュータを前記ホストコンピュータおよび端末
装置と通信経路を介して接続し、前記ホストコンピュー
タに、端末装置からの参照要求をもとに前記データベー
スを参照したり前記端末装置からの更新要求をもとに前
記データベースを更新したりするデータベース参照・更
新手段と、前記データベースの更新時に前記データベー
スの更新トランザクション情報を取り出す更新トランザ
クション取得手段と、この更新トランザクション取得手
段により取り出された更新トランザクション情報を格納
する更新トランザクション格納ファイルと、この更新ト
ランザクション格納ファイルに格納された更新トランザ
クション情報を前記バックアップコンピュータに送信す
る更新トランザクション送信手段とを備え、前記バック
アップコンピュータに、前記データベースの写しを保持
するバックアップデータベースと、前記ホストコンピュ
ータから送信されてきた更新トランザクション情報を受
信する更新トランザクション受信手段と、この更新トラ
ンザクション受信手段により受信された更新トランザク
ション情報を格納する更新トランザクション格納ファイ
ルと、この更新トランザクション格納ファイルの更新ト
ランザクション情報により前記バックアップデータベー
スを更新するバックアップデータベース更新手段と、前
記端末装置からの参照要求をもとに前記バックアップデ
ータベースを参照するバックアップデータベース参照手
段とを備える。
Further, the business service form switching method of the present invention comprises a database in the host computer, and a reference / update system business service time zone in which the database is referenced and updated based on a reference request and an update request from the terminal device. In an online transaction processing system operated in the reference business service time zone that only refers to the database based on the reference request from
A backup computer, which operates even during the reference-related business service hours, is connected to the host computer and the terminal device via a communication path, and the host computer is referred to the database based on a reference request from the terminal device. Or a database reference / update means for updating the database based on an update request from the terminal device, an update transaction acquisition means for extracting update transaction information of the database when updating the database, and an update transaction acquisition means And an update transaction storing file for storing the update transaction information fetched by the update transaction information transmitting the update transaction information stored in the update transaction storage file to the backup computer. Backup database for holding a copy of the database in the backup computer, update transaction receiving means for receiving update transaction information transmitted from the host computer, and the update transaction receiving means. An update transaction storage file that stores the received update transaction information, a backup database updating unit that updates the backup database with the update transaction information of the update transaction storage file, and the backup based on a reference request from the terminal device. Backup database reference means for referring to the database.

【0014】[0014]

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

【0015】図1は、本発明の一実施例に係る業務サー
ビス形態切替え方式の構成を示すブロック図である。本
実施例の業務サービス形態切替え方式は、ホストコンピ
ュータ1にデータベース11を備え、端末装置3から通
信網4を介して送られてくる参照要求および更新要求を
もとにデータベース11の参照および更新を行うオンラ
イントランザクション処理システムにおいて、ホストコ
ンピュータ1の参照・更新系業務サービス時間帯の終了
後にも稼働されているバックアップコンピュータ2をホ
ストコンピュータ1および端末装置3と専用回線5およ
び回線網4を介して接続して構成されている。なお、バ
ックアップコンピュータ2とホストコンピュータ1との
間は、専用回線5で接続せずに回線網4を介して接続し
てもよい。
FIG. 1 is a block diagram showing the configuration of a business service form switching system according to an embodiment of the present invention. The business service form switching method of this embodiment includes a database 11 in the host computer 1, and refers to and updates the database 11 based on a reference request and an update request sent from the terminal device 3 via the communication network 4. In the online transaction processing system to be carried out, the backup computer 2 which is in operation even after the reference / update business service period of the host computer 1 is terminated is connected to the host computer 1 and the terminal device 3 through the leased line 5 and the line network 4. Is configured. The backup computer 2 and the host computer 1 may be connected via the line network 4 instead of the dedicated line 5.

【0016】ホストコンピュータ1は、端末装置3から
入力された参照要求をもとにデータベース11を参照し
たり端末装置3から入力された更新要求をもとにデータ
ベース11を更新したりするデータベース参照・更新手
段12と、データベース11の更新時にデータベース1
1の更新トランザクション情報を取り出す更新トランザ
クション取得手段13と、更新トランザクション取得手
段13により取り出された更新トランザクション情報を
格納する更新トランザクション格納ファイル14と、更
新トランザクション格納ファイル14に格納された更新
トランザクション情報をバックアップコンピュータ2に
送信する更新トランザクション送信手段15と、ホスト
コンピュータ制御端末装置16とを備えている。
The host computer 1 refers to the database 11 based on the reference request input from the terminal device 3 or updates the database 11 based on the update request input from the terminal device 3. Update means 12 and database 1 when updating database 11
1. Update transaction acquisition unit 13 for extracting the update transaction information of No. 1, update transaction storage file 14 for storing the update transaction information extracted by the update transaction acquisition unit 13, and backup of the update transaction information stored in the update transaction storage file 14. An update transaction transmitting means 15 for transmitting to the computer 2 and a host computer control terminal device 16 are provided.

【0017】バックアップコンピュータ2は、ホストコ
ンピュータ1のデータベース11の写しを保持するバッ
クアップデータベース21と、ホストコンピュータ1か
ら送信されてきた更新トランザクション情報を受信する
更新トランザクション受信手段22と、更新トランザク
ション受信手段22により受信された更新トランザクシ
ョン情報を格納する更新トランザクション格納ファイル
23と、更新トランザクション格納ファイル23の更新
トランザクション情報によりバックアップデータベース
21を更新するバックアップデータベース更新手段24
と、端末装置3から入力された参照要求をもとにバック
アップデータベース21の内容を参照するバックアップ
データベース参照手段25と、バックアップコンピュー
タ制御端末装置26とを備えている。なお、バックアッ
プコンピュータ2は、ホストコンピュータ1と互換性が
あるものが好ましく、このようにすれば、ホストコンピ
ュータ1のソフトウェア(特に、データベースの参照手
続き部分)をバックアップコンピュータ2に流用できる
ので、導入のためのソフトウェアが容易に作成できると
いう利点がある。また、バックアップコンピュータ2
は、あらたな稼働コストがかからないように、参照系業
務サービス以外の処理を長時間にわたり並行処理してい
るものが好ましい。
The backup computer 2 has a backup database 21 for holding a copy of the database 11 of the host computer 1, an update transaction receiving means 22 for receiving the update transaction information transmitted from the host computer 1, and an update transaction receiving means 22. The update transaction storage file 23 for storing the update transaction information received by the backup database update means 24 for updating the backup database 21 with the update transaction information in the update transaction storage file 23.
A backup database reference means 25 for referring to the contents of the backup database 21 based on a reference request input from the terminal device 3, and a backup computer control terminal device 26. The backup computer 2 is preferably compatible with the host computer 1. In this way, the software of the host computer 1 (in particular, the reference procedure part of the database) can be diverted to the backup computer 2. Has the advantage of being easy to create software. In addition, the backup computer 2
It is preferable that the processes other than the reference business service are processed in parallel for a long time so that new operating costs are not incurred.

【0018】端末装置3は、端末装置3をホストコンピ
ュータ1に接続するかバックアップコンピュータ2に接
続するかを選択するコンピュータ選択手段31と、入力
装置32と、表示装置33と、印刷装置34とを備えて
いる。
The terminal device 3 includes a computer selecting means 31 for selecting whether the terminal device 3 is connected to the host computer 1 or the backup computer 2, an input device 32, a display device 33, and a printing device 34. I have it.

【0019】図2を参照すると、更新トランザクション
取得手段13の処理は、更新有無判定ステップS131
と、更新トランザクション取得ステップS132と、更
新トランザクション情報書込みステップS133とから
なる。
Referring to FIG. 2, the processing of the update transaction acquisition means 13 is the update presence / absence determining step S131.
And an update transaction acquisition step S132 and an update transaction information writing step S133.

【0020】図3を参照すると、更新トランザクション
送信手段15の処理は、送信指示判定ステップS151
と、更新トランザクション情報読込みステップS152
と、更新トランザクション情報終了判定ステップS15
3と、更新トランザクション情報送信ステップS154
とからなる。
Referring to FIG. 3, the processing of the update transaction transmitting means 15 is the transmission instruction determination step S151.
And update transaction information reading step S152
And update transaction information end determination step S15
3 and update transaction information transmission step S154
Consists of.

【0021】図4を参照すると、更新トランザクション
受信手段22の処理は、更新トランザクション情報受信
ステップS221と、更新トランザクション情報終了判
定ステップS222と、更新トランザクション情報書込
みステップS223とからなる。
Referring to FIG. 4, the processing of the update transaction receiving means 22 includes an update transaction information receiving step S221, an update transaction information end determination step S222, and an update transaction information writing step S223.

【0022】図5を参照すると、バックアップデータベ
ース更新手段24の処理は、更新指示有無判定ステップ
S241と、更新トランザクション情報読込みステップ
S242と、更新トランザクション情報終了判定ステッ
プS243と、バックアップデータベース更新ステップ
S244とからなる。
Referring to FIG. 5, the processing of the backup database updating means 24 includes an update instruction presence / absence determining step S241, an update transaction information reading step S242, an update transaction information end determining step S243, and a backup database updating step S244. Become.

【0023】次に、このように構成された本実施例の業
務サービス形態切替え方式の動作について説明する。
Next, the operation of the business service mode switching system of the present embodiment thus configured will be described.

【0024】参照・更新系業務サービス時間帯には、端
末装置3のオペレータは、コンピュータ選択手段31に
よりホストコンピュータ1を選択する。これにより、端
末装置3とホストコンピュータ1とが論理的に接続され
る。
In the reference / update business service time zone, the operator of the terminal device 3 selects the host computer 1 by the computer selection means 31. As a result, the terminal device 3 and the host computer 1 are logically connected.

【0025】オペレータが端末装置3の入力装置32よ
り参照要求を入力すると、参照要求は回線網4を介して
ホストコンピュータ1に送信され、データベース参照・
更新手段12によりデータベース11が参照され、参照
データが端末装置3に返送されて、表示装置33に表示
されたり印刷装置34に印刷されたりする。
When the operator inputs a reference request from the input device 32 of the terminal device 3, the reference request is transmitted to the host computer 1 via the line network 4 to refer to the database.
The database 11 is referred to by the updating unit 12, the reference data is returned to the terminal device 3, and is displayed on the display device 33 or printed on the printing device 34.

【0026】また、オペレータが端末装置3の入力装置
32より更新要求を入力すると、更新要求は回線網4を
介してホストコンピュータ1に送信され、データベース
参照・更新手段12によりデータベース11が更新され
る。このとき、更新トランザクション取得手段13は、
データベース11の更新があったかどうかを監視してお
り(ステップS131)、データベース11の更新があ
ればデータベース11の更新されたレコードを更新トラ
ンザクションとして取得し(ステップS132)、ファ
イル種類情報等を付加して更新トランザクション情報と
して更新トランザクション格納ファイル14に格納する
(ステップS133)。
When the operator inputs an update request from the input device 32 of the terminal device 3, the update request is transmitted to the host computer 1 via the line network 4, and the database reference / update means 12 updates the database 11. . At this time, the update transaction acquisition means 13
It is monitored whether or not the database 11 has been updated (step S131). If the database 11 is updated, the updated record of the database 11 is acquired as an update transaction (step S132), and file type information and the like are added. It is stored in the update transaction storage file 14 as update transaction information (step S133).

【0027】参照・更新系業務サービス時間帯が終了す
ると、ホストコンピュータ1のオペレータは、ホストコ
ンピュータ制御端末装置16から更新トランザクション
情報の送信指示を入力する。
When the reference / update system business service time period ends, the operator of the host computer 1 inputs a transmission instruction of update transaction information from the host computer control terminal device 16.

【0028】更新トランザクション送信手段15は、更
新トランザクション情報の送信指示を受けると(ステッ
プS151でイエス)、更新トランザクション格納ファ
イル14から更新トランザクション情報を読み込んで
(ステップS152)、専用回線5を介してバックアッ
プコンピュータ2に送信する処理(ステップS154)
を繰り返し、更新トランザクション情報が終了すると
(ステップS153でイエス)、処理を終了する。
Upon receiving the instruction to transmit the update transaction information (YES in step S151), the update transaction transmitting means 15 reads the update transaction information from the update transaction storage file 14 (step S152) and backs up via the dedicated line 5. Process of transmitting to computer 2 (step S154)
When the update transaction information ends (YES in step S153), the process ends.

【0029】更新トランザクション情報の送信が完了す
ると、ホストコンピュータ1のオペレータは、ホストコ
ンピュータ制御端末装置16からホストコンピュータ1
の稼働を停止させる。
When the transmission of the update transaction information is completed, the operator of the host computer 1 operates from the host computer control terminal device 16 to the host computer 1
Stop running.

【0030】一方、バックアップコンピュータ2では、
更新トランザクション受信手段22が、ホストコンピュ
ータ1からの更新トランザクション情報を受信し(ステ
ップS221)、更新トランザクション格納ファイル2
3に格納する処理(ステップS223)を繰り返し、更
新トランザクション情報が終了すると(ステップS22
2でイエス)、処理を終了する。
On the other hand, in the backup computer 2,
The update transaction receiving means 22 receives the update transaction information from the host computer 1 (step S221), and the update transaction storage file 2
3 is repeated (step S223), and when the update transaction information ends (step S22)
If the answer is 2, the process ends.

【0031】更新トランザクション情報の受信が完了す
ると、バックアップコンピュータ2のオペレータは、バ
ックアップコンピュータ制御端末装置26からバックア
ップデータベース21の更新指示を入力する。
When the reception of the update transaction information is completed, the operator of the backup computer 2 inputs an instruction to update the backup database 21 from the backup computer control terminal device 26.

【0032】バックアップデータベース更新手段24
は、バックアップデータベース21の更新指示を受ける
と(ステップS241でイエス)、更新トランザクショ
ン格納ファイル23より更新トランザクション情報を読
み取り(ステップS242)、バックアップデータベー
ス21を更新する処理(ステップS244)を繰り返
し、更新トランザクション情報が終了すると(ステップ
S243でイエス)、処理を終了する。
Backup database updating means 24
Receives the update instruction for the backup database 21 (YES in step S241), reads the update transaction information from the update transaction storage file 23 (step S242), and repeats the process of updating the backup database 21 (step S244). When the information ends (Yes in step S243), the process ends.

【0033】以上により、ホストコンピュータ1のデー
タベース11の内容とバックアップコンピュータ2のバ
ックアップデータベース21の内容とが一致する。
As described above, the contents of the database 11 of the host computer 1 and the contents of the backup database 21 of the backup computer 2 match.

【0034】参照系業務サービス時間帯の開始直後に、
端末装置3のオペレータは、コンピュータ選択手段31
によりバックアップコンピュータ2を選択する。これに
より、端末装置3とバックアップコンピュータ2とが論
理的に接続される。
Immediately after the start of the reference-related business service time zone,
The operator of the terminal device 3 uses the computer selection means 31.
The backup computer 2 is selected by. As a result, the terminal device 3 and the backup computer 2 are logically connected.

【0035】参照系業務サービス時間帯には、参照・更
新系業務サービスのメニューのうち、バックアップデー
タベース21の更新を伴わない参照系業務サービスのみ
が選択可能となる。オペレータが端末装置3の入力装置
32より参照要求を行うと、参照要求は回線網4を介し
てバックアップコンピュータ2に送信され、バックアッ
プデータベース参照手段25によりバックアップデータ
ベース21が参照され、参照データが端末装置3に返送
されて、表示装置33に表示されたり印刷装置34に印
刷されたりする。
During the reference-related business service time zone, only the reference-related business service that does not involve updating the backup database 21 can be selected from the menu of the reference / update-related business service. When the operator makes a reference request from the input device 32 of the terminal device 3, the reference request is transmitted to the backup computer 2 via the line network 4, the backup database reference means 25 refers to the backup database 21, and the reference data is referred to as the terminal device. It is returned to the printer 3 and displayed on the display device 33 or printed on the printing device 34.

【0036】図6を参照して、更新トランザクション情
報によるバックアップデータベース21の更新方法につ
いて説明する。ホストコンピュータ1においてデータベ
ース参照・更新手段12によりデータベース11中のフ
ァイルaのレコード#3とファイルbのレコード#2と
が更新されると、更新トランザクション取得手段13
は、更新されたレコード#3および#2にファイル種類
情報aおよびbを付加したものを更新トランザクション
情報として更新トランザクション格納ファイル14に出
力する。更新トランザクション情報は、更新トランザク
ション送信手段15によりバックアップコンピュータ2
に送信され、バックアップコンピュータ2の更新トラン
ザクション受信手段22により更新トランザクション格
納ファイル23に格納される。バックアップデータベー
ス更新手段24は、更新トランザクション格納ファイル
23より更新トランザクション情報を読み取り、付加さ
れたファイル種類情報aおよびbからバックアップデー
タベース21中の更新するレコード#3および#2が格
納されているファイルaおよびbを判定し、各ファイル
aおよびbから更新されるレコード#3および#2を読
み込み、更新トランザクション情報のレコード#3およ
び#2で更新する。
A method of updating the backup database 21 with the update transaction information will be described with reference to FIG. In the host computer 1, when the database reference / update means 12 updates the record # 3 of the file a and the record # 2 of the file b in the database 11, the update transaction acquisition means 13
Outputs the updated records # 3 and # 2 to which the file type information a and b are added as update transaction information to the update transaction storage file 14. The update transaction information is transferred to the backup computer 2 by the update transaction sending means 15.
And is stored in the update transaction storage file 23 by the update transaction receiving means 22 of the backup computer 2. The backup database updating means 24 reads the update transaction information from the update transaction storage file 23, and from the added file type information a and b, the file a in which the records # 3 and # 2 to be updated in the backup database 21 are stored. b is determined, the updated records # 3 and # 2 are read from the respective files a and b, and the records # 3 and # 2 of the update transaction information are updated.

【0037】本実施例の業務サービス形態切替え方式の
適用の一例として、自治体の住民記録システムがある。
住民記録システムは、住民基本台帳法に基づき住民の情
報をデータベースに格納し、転出,転居等の異動の届出
によりデータベースを更新し、また住民の要求に応じて
データベースから住民票を編集して発行するシステムで
ある。
As an example of application of the business service form switching method of the present embodiment, there is a resident recording system of a local government.
The Resident Record System stores information on residents in the database based on the Basic Resident Register Act, updates the database by notification of changes such as moving out or moving, and edits and issues the resident card from the database in response to the request of the residents. It is a system that does.

【0038】自治体においては、週休2日制の導入と住
民サービスの向上といった要求から、住民票の発行,異
動届出の受付等のデータベースの参照および更新を伴う
すべての参照・更新系業務サービスを行う参照・更新系
業務サービス時間帯と住民票の発行等のデータベースの
参照のみを伴う参照系業務サービスを行う参照系業務サ
ービス時間帯とに食い違いが生じてきた。参照・更新系
業務サービス時間帯は、通常、月曜日から金曜日(平
日)の9時から17時であるのに対して、参照系業務サ
ービス時間帯には土曜日や平日の17時以降も含まれ
る。
[0038] In the local government, all reference / update-related business services including reference and update of the database such as issuance of resident's card, acceptance of transfer notification, etc. are performed in response to requests such as introduction of two days off weekly and improvement of resident services. There has been a discrepancy between the reference / update-related business service time zone and the reference-related business service time zone in which the reference-related business service is performed only by referring to the database such as issuance of a residence certificate. The reference / update related business service time zone is usually from 9:00 to 17:00 on Monday to Friday (weekdays), while the reference related business service time zone includes Saturdays and weekdays after 17:00.

【0039】そこで、本実施例の業務サービス形態切替
え方式を導入すると、参照・更新系業務サービス時間帯
はホストコンピュータ1により住民票の発行,異動届出
の受付等の参照・更新系業務サービスを行い、データベ
ース11を更新する。異動により更新される情報は、バ
ックアップコンピュータ2のバックアップデータベース
25にも反映される。平日の17時以降や土曜日には、
バックアップコンピュータ2で住民票の発行等の参照系
業務サービスのみを行う。
Therefore, when the business service form switching method of this embodiment is introduced, the reference / update system business service such as issuance of a resident's card and acceptance of a transfer notification is performed by the host computer 1 during the reference / update system service time zone. , The database 11 is updated. The information updated by the transfer is also reflected in the backup database 25 of the backup computer 2. After 17:00 on weekdays and on Saturdays,
The backup computer 2 provides only reference-related business services such as issuance of a resident card.

【0040】なお、上記実施例では、参照・更新系業務
サービス時間帯の終了直後にホストコンピュータ1から
更新トランザクション情報を一括してバックアップコン
ピュータ2に送信するとともに、バックアップコンピュ
ータ2でも更新トランザクション情報に基づいてバック
データベース21を一括して更新するようにしたが、更
新トランザクション情報を発生ごとにホストコンピュー
タ1からバックアップコンピュータ2に送信して、バッ
クアップコンピュータ2でも更新トランザクション情報
が送信されてくるごとにバックアップデータベース21
を更新するようにしてもよい。このようにすると、ホス
トコンピュータ1において更新トランザクション格納フ
ァイル14が、バックアップコンピュータ2において更
新トランザクション格納ファイル23が不要になるとい
う利点がある。
In the above embodiment, the host computer 1 sends the update transaction information all at once to the backup computer 2 immediately after the end of the reference / update related business service time zone, and the backup computer 2 also uses the update transaction information based on the update transaction information. Although the back database 21 is collectively updated by the backup computer 21, the update database is sent from the host computer 1 to the backup computer 2 each time it occurs, and the backup database is also sent every time the update transaction information is sent to the backup computer 2. 21
May be updated. This has the advantage that the update transaction storage file 14 in the host computer 1 and the update transaction storage file 23 in the backup computer 2 become unnecessary.

【0041】[0041]

【発明の効果】以上説明したように本発明は、バックア
ップコンピュータをホストコンピュータおよび端末装置
と通信経路を介して接続し、ホストコンピュータにデー
タベース参照・更新手段,更新トランザクション取得手
段および更新トランザクション送信手段を備え、バック
アップコンピュータにバックアップデータベース,更新
トランザクション受信手段,バックアップデータベース
更新手段およびバックアップデータベース参照手段とを
備えるようにしたことにより、参照・更新系業務サービ
ス時間帯外に参照系業務サービスを完璧かつ高速に行う
ことができるという効果がある。
As described above, according to the present invention, the backup computer is connected to the host computer and the terminal device via the communication path, and the host computer is provided with the database reference / update means, the update transaction acquisition means and the update transaction transmission means. By providing the backup computer with the backup database, the update transaction receiving means, the backup database updating means, and the backup database reference means, the reference / updating business service can be completely and quickly performed outside the reference / update business service time zone. The effect is that it can be done.

【0042】また、バックアップ機能を備えない端末装
置を使用して、参照・更新系業務サービス時間帯外に参
照系業務サービスを提供することができるという効果が
ある。
Further, there is an effect that the reference business service can be provided outside the reference / update business service time zone by using the terminal device having no backup function.

【0043】さらに、バックアップコンピュータとして
参照系業務サービス以外の処理も並行処理するコンピュ
ータを使用することにより、新たなバックアップコンピ
ュータの稼働を行うことなしに、ホストコンピュータの
稼働時間を短縮してオンライントランザクション処理シ
ステムの運用コストを全体として下げることができると
いう効果がある。
Furthermore, by using a computer that performs parallel processing of processes other than the reference business service as the backup computer, the operating time of the host computer can be shortened and online transaction processing can be performed without activating a new backup computer. This has the effect of reducing the operating cost of the system as a whole.

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

【図1】本発明の一実施例に係る業務サービス形態切替
え方式の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a business service form switching system according to an embodiment of the present invention.

【図2】図1中の更新トランザクション取得手段の処理
を示す流れ図である。
FIG. 2 is a flowchart showing a process of an update transaction acquisition unit in FIG.

【図3】図1中の更新トランザクション送信手段の処理
を示す流れ図である。
FIG. 3 is a flow chart showing a process of an update transaction transmitting means in FIG.

【図4】図1中の更新トランザクション受信手段の処理
を示す流れ図である。
FIG. 4 is a flowchart showing a process of an update transaction receiving means in FIG.

【図5】図1中のバックアップデータベース更新手段の
処理を示す流れ図である。
5 is a flowchart showing a process of a backup database updating unit in FIG. 1. FIG.

【図6】本実施例の業務サービス形態切替え方式におけ
るバックアップデータベースの更新手順を例示する図で
ある。
FIG. 6 is a diagram illustrating an example of a backup database update procedure in the business service mode switching method according to the embodiment.

【図7】従来の業務サービス形態切替え方式の一例を示
すブロック図である。
FIG. 7 is a block diagram showing an example of a conventional business service form switching system.

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

1 ホストコンピュータ 2 バックアップコンピュータ 3 端末装置 4 通信網(通信経路) 5 専用回線(通信経路) 11 データベース 12 データベース参照・更新手段 13 更新トランザクション取得手段 14 更新トランザクション格納ファイル 15 更新トランザクション送信手段 16 ホストコンピュータ制御端末装置 21 バックアップデータベース 22 更新トランザクション受信手段 23 更新トランザクション格納ファイル 24 バックアップデータベース更新手段 25 バックアップデータベース参照手段 26 バックアップコンピュータ制御端末装置 31 コンピュータ選択手段 32 入力装置 33 表示装置 34 印刷装置 1 Host Computer 2 Backup Computer 3 Terminal Device 4 Communication Network (Communication Route) 5 Dedicated Line (Communication Route) 11 Database 12 Database Reference / Update Means 13 Update Transaction Acquisition Means 14 Update Transaction Storage File 15 Update Transaction Sending Means 16 Host Computer Control Terminal device 21 Backup database 22 Update transaction receiving means 23 Update transaction storage file 24 Backup database updating means 25 Backup database reference means 26 Backup computer control terminal device 31 Computer selecting means 32 Input device 33 Display device 34 Printing device

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ホストコンピュータにデータベースを備
え、端末装置からの参照要求および更新要求をもとにデ
ータベースの参照および更新を行う参照・更新系業務サ
ービス時間帯と端末装置からの参照要求をもとにデータ
ベースの参照のみを行う参照系業務サービス時間帯とで
運用されるオンライントランザクション処理システムに
おいて、 前記参照系業務サービス時間帯にも稼働されるバックア
ップコンピュータを前記ホストコンピュータおよび端末
装置と通信経路を介して接続し、 前記ホストコンピュータに、端末装置からの参照要求を
もとに前記データベースを参照したり前記端末装置から
の更新要求をもとに前記データベースを更新したりする
データベース参照・更新手段と、前記データベースの更
新時に前記データベースの更新トランザクション情報を
取り出す更新トランザクション取得手段と、この更新ト
ランザクション取得手段により取り出された更新トラン
ザクション情報を前記バックアップコンピュータに送信
する更新トランザクション送信手段とを備え、 前記バックアップコンピュータに、前記データベースの
写しを保持するバックアップデータベースと、前記ホス
トコンピュータから送信されてきた更新トランザクショ
ン情報を受信する更新トランザクション受信手段と、こ
の更新トランザクション受信手段により受信された更新
トランザクション情報により前記バックアップデータベ
ースを更新するバックアップデータベース更新手段と、
端末装置から入力された参照要求をもとに前記バックア
ップデータベースを参照するバックアップデータベース
参照手段とを備えることを特徴とする業務サービス形態
切替え方式。
1. A host computer is provided with a database, and based on a reference / update business service time zone for referring and updating the database based on a reference request and an update request from the terminal device, and a reference request from the terminal device. In an online transaction processing system operated in a reference business service time zone that only refers to a database, a backup computer that is also operated in the reference business service time zone is connected to the host computer and the terminal device via a communication path. Connected to the host computer, database reference / update means for referring to the database based on a reference request from a terminal device or updating the database based on an update request from the terminal device, Update the database when updating the database Update transaction acquisition means for extracting transaction information and update transaction transmission means for transmitting the update transaction information extracted by the update transaction acquisition means to the backup computer are provided, and a copy of the database is retained in the backup computer. A backup database, update transaction receiving means for receiving update transaction information transmitted from the host computer, backup database updating means for updating the backup database with the update transaction information received by the update transaction receiving means,
A business service form switching method comprising: a backup database reference means for referring to the backup database based on a reference request input from a terminal device.
【請求項2】 ホストコンピュータにデータベースを備
え、端末装置からの参照要求および更新要求をもとにデ
ータベースの参照および更新を行う参照・更新系業務サ
ービス時間帯と端末装置からの参照要求をもとにデータ
ベースの参照のみを行う参照系業務サービス時間帯とで
運用されるオンライントランザクション処理システムに
おいて、 前記参照系業務サービス時間帯にも稼働されるバックア
ップコンピュータを前記ホストコンピュータおよび端末
装置と通信経路を介して接続し、 前記ホストコンピュータに、端末装置からの参照要求を
もとに前記データベースを参照したり前記端末装置から
の更新要求をもとに前記データベースを更新したりする
データベース参照・更新手段と、前記データベースの更
新時に前記データベースの更新トランザクション情報を
取り出す更新トランザクション取得手段と、この更新ト
ランザクション取得手段により取り出された更新トラン
ザクション情報を格納する更新トランザクション格納フ
ァイルと、この更新トランザクション格納ファイルに格
納された更新トランザクション情報を前記バックアップ
コンピュータに送信する更新トランザクション送信手段
とを備え、 前記バックアップコンピュータに、前記データベースの
写しを保持するバックアップデータベースと、前記ホス
トコンピュータから送信されてきた更新トランザクショ
ン情報を受信する更新トランザクション受信手段と、こ
の更新トランザクション受信手段により受信された更新
トランザクション情報を格納する更新トランザクション
格納ファイルと、この更新トランザクション格納ファイ
ルの更新トランザクション情報により前記バックアップ
データベースを更新するバックアップデータベース更新
手段と、前記端末装置からの参照要求をもとに前記バッ
クアップデータベースを参照するバックアップデータベ
ース参照手段とを備えることを特徴とする業務サービス
形態切替え方式。
2. A host computer is provided with a database, and based on a reference / update-related business service time zone for referring and updating the database based on a reference request and an update request from the terminal device, and a reference request from the terminal device. In an online transaction processing system operated in a reference business service time zone that only refers to a database, a backup computer that is also operated in the reference business service time zone is connected to the host computer and the terminal device via a communication path. Connected to the host computer, database reference / update means for referring to the database based on a reference request from a terminal device or updating the database based on an update request from the terminal device, Update the database when updating the database Update transaction acquisition means for fetching transaction information, update transaction storage file for storing update transaction information fetched by this update transaction acquisition means, and update transaction information stored in this update transaction storage file for transmission to the backup computer An update transaction transmitting unit that stores a copy of the database in the backup computer, an update transaction receiving unit that receives update transaction information transmitted from the host computer, and an update transaction receiving unit. The update transaction storage file that stores the update transaction information received by Backup database updating means for updating the backup database according to update transaction information of the storage file, and backup database referring means for referring to the backup database based on a reference request from the terminal device. Business service form switching method.
【請求項3】 前記更新トランザクション送信手段がホ
ストコンピュータ制御端末装置からの送信指示に基づい
て前記更新トランザクション格納ファイルの更新トラン
ザクション情報の送信を行い、前記バックアップデータ
ベース更新手段がバックアップコンピュータ制御端末装
置からの更新指示に基づいて前記更新トランザクション
格納ファイルの更新トランザクション情報により前記バ
ックアップデータベースの更新を行う請求項2記載の業
務サービス形態切替え方式。
3. The update transaction transmitting means transmits the update transaction information of the update transaction storage file based on a transmission instruction from the host computer control terminal device, and the backup database updating means transmits from the backup computer control terminal device. 3. The business service form switching method according to claim 2, wherein the backup database is updated based on update transaction information of the update transaction storage file based on an update instruction.
【請求項4】 前記ホストコンピュータと前記バックア
ップコンピュータとが専用回線を介して接続されている
請求項1または2記載の業務サービス形態切替え方式。
4. The business service form switching system according to claim 1, wherein the host computer and the backup computer are connected via a dedicated line.
JP6069058A 1994-03-14 1994-03-14 Transaction service mode switching system Pending JPH07253948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6069058A JPH07253948A (en) 1994-03-14 1994-03-14 Transaction service mode switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6069058A JPH07253948A (en) 1994-03-14 1994-03-14 Transaction service mode switching system

Publications (1)

Publication Number Publication Date
JPH07253948A true JPH07253948A (en) 1995-10-03

Family

ID=13391598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6069058A Pending JPH07253948A (en) 1994-03-14 1994-03-14 Transaction service mode switching system

Country Status (1)

Country Link
JP (1) JPH07253948A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7313624B2 (en) 1999-09-07 2007-12-25 Hitachi, Ltd. Method and system for providing an on-line service and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7313624B2 (en) 1999-09-07 2007-12-25 Hitachi, Ltd. Method and system for providing an on-line service and computer readable storage medium

Similar Documents

Publication Publication Date Title
GB2224141A (en) Data communication
JP2002304270A (en) Printing system, print management device and method, computer program, and computer readable storage medium
JPH08315254A (en) Pos system device
EP1450324B1 (en) Pos system, pos server, shop terminal, sale managing method, and recorded medium
JPH07253948A (en) Transaction service mode switching system
JPH0778115A (en) Network definition changing system
US20020026324A1 (en) Computer peripheral sales promoting system and method thereof
US6195645B1 (en) Data communication system
EP1450325A1 (en) Pos system, pos server, shop terminal, sales managing method, and recording medium
JP2938707B2 (en) Product sales registration data processing device
JP2881019B2 (en) Tag issuing system
JP2526486B2 (en) Customer base database system for sales promotion messages
JPH04343168A (en) Business progress supporting device
JPS6388674A (en) Transaction processing device
JP3293143B2 (en) Data transmission system
JPH0927063A (en) File inquiry system of financial terminal device
JP2746952B2 (en) Image processing method
JP2004341919A (en) Information management device of credit card payment terminal, credit card payment terminal, information management method of credit card payment terminal, and computer program
JPH11282735A (en) Method and device for managing communication between computes, and medium recorded with program for communication management
JPH11249861A (en) Printing device
JPS6320550A (en) Film managing system
JPH08152980A (en) Form printing processing method
JP2002331781A (en) Id card issuing system and id card issuing method
JPH09330258A (en) Transaction file processing system
JPH08221474A (en) Residents information management system