JPH07117937B2 - Online system transaction processor - Google Patents

Online system transaction processor

Info

Publication number
JPH07117937B2
JPH07117937B2 JP4331548A JP33154892A JPH07117937B2 JP H07117937 B2 JPH07117937 B2 JP H07117937B2 JP 4331548 A JP4331548 A JP 4331548A JP 33154892 A JP33154892 A JP 33154892A JP H07117937 B2 JPH07117937 B2 JP H07117937B2
Authority
JP
Japan
Prior art keywords
record
transaction
terminal
transaction processing
transaction request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP4331548A
Other languages
Japanese (ja)
Other versions
JPH06342417A (en
Inventor
大介 秋田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP4331548A priority Critical patent/JPH07117937B2/en
Publication of JPH06342417A publication Critical patent/JPH06342417A/en
Publication of JPH07117937B2 publication Critical patent/JPH07117937B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は通信回線を介して端末と
ホストコンピュータの間でデータを授受するオンライン
システムのトランザクション処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transaction processing device of an online system for exchanging data between a terminal and a host computer via a communication line.

【0002】[0002]

【従来の技術】従来のオンラインシステムのトランザク
ション処理装置は、一つの取引要求で大量のデータベー
スファイルの更新を行う場合でも、一つのトランザクシ
ョン処理部だけで処理を行なっていた。
2. Description of the Related Art A conventional transaction processing device for an online system uses only one transaction processing unit to update a large number of database files with one transaction request.

【0003】すなわち図3を参照すると、従来のオンラ
インシステムのトランザクション処理装置は、通信回線
を介して取引要求を行う端末101と、この取引要求に
応じて実処理を行うホストコンピュータ102と、この
取引要求に応じて検索あるいは更新処理が行われ、この
取引要求に関連する概要情報を保持する親レコード部1
07と、この第1のレコード部と論理的に接続されこの
取引要求に応じて検索あるいは更新処理が行われ、この
取引要求に関連する詳細情報を保持する複数の子レコー
ド部108とを有するデータベースファイル106と、
端末からの入力情報103に基づいてデータベースファ
イル106内の親レコード部107および複数の子レコ
ード部108の検索あるいは更新処理を行い、各レコー
ド部から取り出した情報を出力情報104として端末1
01に送信するトランザクション処理部105とを備え
ている。
That is, referring to FIG. 3, a transaction processing device of a conventional online system includes a terminal 101 for making a transaction request via a communication line, a host computer 102 for performing actual processing in response to the transaction request, and this transaction. A parent record part 1 that carries out search or update processing in response to a request and holds summary information related to this transaction request
07, and a plurality of child record units 108 that are logically connected to the first record unit and are searched or updated in response to the transaction request and hold detailed information related to the transaction request. File 106,
The parent record unit 107 and the plurality of child record units 108 in the database file 106 are searched or updated based on the input information 103 from the terminal, and the information extracted from each record unit is used as the output information 104 as the terminal 1
01 and a transaction processing unit 105 for transmitting the data.

【0004】図4は、従来のオンラインシステムのトラ
ンザクション処理装置の動作を説明するためのフローチ
ャートである。
FIG. 4 is a flow chart for explaining the operation of the transaction processing device of the conventional online system.

【0005】次に、図3および図4を参照して従来のオ
ンラインシステムのトランザクション処理装置の動作に
ついて説明する。
The operation of the conventional transaction processing device of the online system will be described with reference to FIGS. 3 and 4.

【0006】始めに、端末101からオンライン取引の
ための入力情報103をホストコンピュータ102が受
信すると、トランザクション処理部105が起動される
(図4ステップS101)。このトランザクション処理
部105は、端末からの入力情報に基づいて、データベ
ースファイル106内の親レコード部107および複数
の子レコード部108をアクセスし、取引成立に必要な
情報の検索あるいは更新処理を行なう(図4ステップS
102)。この検索あるいは更新処理が終了した後、ト
ランザクション処理部105は、各レコード部から取り
出した情報を組合わせて出力情報104を生成し、端末
101にこの出力情報104を送信する(図4ステップ
S103)。
First, when the host computer 102 receives the input information 103 for online transaction from the terminal 101, the transaction processing unit 105 is activated (step S101 in FIG. 4). The transaction processing unit 105 accesses the parent record unit 107 and the plurality of child record units 108 in the database file 106 based on the input information from the terminal, and retrieves or updates the information necessary for establishing a transaction ( Figure 4 Step S
102). After this search or update processing is completed, the transaction processing unit 105 combines the information extracted from each record unit to generate output information 104, and transmits this output information 104 to the terminal 101 (step S103 in FIG. 4). .

【0007】[0007]

【発明が解決しようとする課題】この従来のオンライン
システムのトランザクション処理装置では、一つの取引
要求に対して一つのトランザクション処理部だけで処理
を行なっているため、大量のデータベースファイルを更
新する場合この更新処理に多大な時間がかかり、オンラ
イン端末に対して即時に取引要求の結果である出力情報
を送信することが不可能であった。
In this conventional transaction processing device of the online system, since only one transaction processing unit processes one transaction request, it is necessary to update a large number of database files. The update process takes a lot of time, and it is impossible to immediately send the output information, which is the result of the transaction request, to the online terminal.

【0008】また、入力情報を入力してから出力情報が
送信されてくるまで応答時間が長くなるため、ホストコ
ンピュータから送信された出力情報が端末側の時間監視
制御により受取りを拒否されてしまうという欠点があっ
た。
Further, since the response time becomes long after the input information is input until the output information is transmitted, the output information transmitted from the host computer is rejected by the time monitoring control on the terminal side. There was a flaw.

【0009】[0009]

【課題を解決するための手段】本発明のオンラインシス
テムのトランザクション処理装置は、通信回線を介して
取引要求を行うオンライン端末と、前記端末から送られ
てくる前記取引要求に応じて実処理を行うホストコンピ
ュータと、前記取引要求に応じて検索あるいは更新処理
が行われ、該取引要求に関連する概要情報を保持する親
レコード部と、該親レコード部と論理的に接続され該取
引要求に応じて検索あるいは更新処理が行われ、該取引
要求に関連する詳細情報を保持する複数の子レコード部
とを有するデータベースファイルと、前記端末からの入
力情報に基づいて前記親レコード部の検索あるいは更新
処理と前記子レコード部の検索とを行う第1の処理と、
該第1の処理終了後前記各レコード部から取り出した情
報を出力情報として前記端末に送信する第2の処理とを
行う親トランザクション処理部と、前記親トランザクシ
ョン処理部からの起動指示に応答して対応する前記子レ
コード部の検索あるいは更新処理を行う複数の子トラン
ザクション処理部とを備えている。
A transaction processing device of an online system according to the present invention performs an actual process in response to an online terminal that makes a transaction request via a communication line and the transaction request sent from the terminal. A host computer, a parent record section that performs search or update processing in response to the transaction request, holds summary information related to the transaction request, and is logically connected to the parent record section and responds to the transaction request. A database file having a plurality of child record parts that carry out a search or update process and hold detailed information related to the transaction request, and a search or update process of the parent record part based on input information from the terminal. A first process for searching the child record part;
In response to a parent transaction processing unit that performs the second process of transmitting the information extracted from each of the record units as output information to the terminal after the completion of the first process, and a start instruction from the parent transaction processing unit. It is provided with a plurality of child transaction processing units that perform a search or update process for the corresponding child record unit.

【0010】[0010]

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

【0011】図1を参照すると、本発明の一実施例は、
通信回線を介して取引要求を行うオンライン端末11
と、端末から送られてくる取引要求に応じて実処理を行
うホストコンピュータ20と、取引要求に応じて検索あ
るいは更新処理が行われ、この取引要求に関連する概要
情報を保持する親レコード部51と、この親レコード部
と論理的に接続され取引要求に応じて検索あるいは更新
処理が行われ、取引要求に関連する詳細情報を保持する
複数の子レコード部52〜54とを有するデータベース
ファイル50と、端末からの入力情報21に基づいて親
レコード部の検索あるいは更新処理と子レコード部の検
索とを行う第1の処理と、この第1の処理終了後各レコ
ード部から取り出した情報を出力情報22として端末に
送信する第2の処理とを行う親トランザクション処理部
31と、親トランザクション処理部からの起動指示41
に応答して対応する子レコード部の検索あるいは更新処
理を行う複数の子トランザクション処理部32〜43と
から構成される。
Referring to FIG. 1, one embodiment of the present invention is
Online terminal 11 for making a transaction request via a communication line
And a host computer 20 that performs actual processing in response to a transaction request sent from a terminal, and a parent record unit 51 that holds summary information related to this transaction request that is searched or updated in response to the transaction request. And a database file 50 having a plurality of child record parts 52 to 54 that are logically connected to the parent record part and are searched or updated according to the trade request and hold detailed information related to the trade request. , A first process of performing a search or update process of a parent record part and a search of a child record part based on input information 21 from the terminal, and output information obtained from each record part after completion of the first process A parent transaction processing unit 31 that performs a second process of transmitting to the terminal as 22 and an activation instruction 41 from the parent transaction processing unit
In response to the request, the corresponding child record portion is searched or updated, and a plurality of child transaction processing portions 32 to 43 are included.

【0012】次に、図1および図2を参照して本実施例
の動作について説明する。
Next, the operation of this embodiment will be described with reference to FIGS.

【0013】端末11から入力情報21を受信したホス
トコンピュータ201は、親トランザクション処理部3
1を起動させる(図2ステップS1)。親トランザクシ
ョン処理部31は、入力情報21に基づいてデータベー
スファイル50内の取引と関連する概要情報を保持する
親レコード部51について検索あるいは更新処理を行
う。このとき出力情報22として親レコード部51から
取り出した概要情報だけでは足りない場合は、複数の子
レコード部52〜54のうち必要な部分だけ検索を行い
詳細情報を取り出す(図2ステップS2)。
The host computer 201 which has received the input information 21 from the terminal 11 has the parent transaction processing unit 3
1 is activated (step S1 in FIG. 2). Based on the input information 21, the parent transaction processing unit 31 searches or updates the parent record unit 51 that holds summary information related to transactions in the database file 50. At this time, if only the outline information extracted from the parent record section 51 as the output information 22 is not sufficient, only the necessary part of the plurality of child record sections 52 to 54 is searched to extract the detailed information (step S2 in FIG. 2).

【0014】続いて、取引として子レコード部の更新が
必要で、かつ、更新未処理の子レコード部が存在するか
否かを判断する(図2ステップS3)。
Subsequently, it is determined whether or not the child record portion needs to be updated as a transaction and there is an unprocessed child record portion (step S3 in FIG. 2).

【0015】このとき、更新未処理の子レコード部が存
在する場合、その子レコード部に対応する子トランザク
ション処理部に対して起動指示41を与える(図2ステ
ップS4)。親トランザクション処理部31は親レコー
ド部51および子レコード部52〜54から得られた情
報を組合わせて出力情報22を生成し、端末11に対し
て送信する(図2ステップS6)。
At this time, if there is an unprocessed child record part, the start instruction 41 is given to the child transaction processing part corresponding to the child record part (step S4 in FIG. 2). The parent transaction processing unit 31 combines the information obtained from the parent record unit 51 and the child record units 52 to 54 to generate the output information 22 and transmits it to the terminal 11 (step S6 in FIG. 2).

【0016】一方、起動指示41により起動された子ト
ランザクション処理部32は、子レコード部52に対し
て取引で保持すべき情報の更新を行う(図2ステップS
11)。さらに、更新未処理の子レコード部が存在する
か否かを判断する(図2ステップS12)。
On the other hand, the child transaction processing unit 32 activated by the activation instruction 41 updates the information to be held in the transaction with respect to the child record unit 52 (step S in FIG. 2).
11). Further, it is determined whether or not there is an unprocessed child record part (step S12 in FIG. 2).

【0017】このとき、更新未処理の子レコード部が存
在する場合、その子レコード部に対応する子トランザク
ション処理部に対して起動指示42を与える(図2ステ
ップS13)。
At this time, if there is an unprocessed child record part, the start instruction 42 is given to the child transaction processing part corresponding to the child record part (step S13 in FIG. 2).

【0018】起動指示42により起動された子トランザ
クション処理部33は、子レコード部53に対して取引
で保持すべき情報の更新を行う(図2ステップS1
1)。このように複数の子トランザクション処理部32
〜34は、対応する子レコード部が更新未処理の子レコ
ード部ならば更新処理が全て終了するまで順次起動され
る。本実施例では、子トランザクション処理部34が最
終の子レコード部54を更新し(図2ステップS1
1)、更新未処理の子レコード部が存在しなくなるため
取引の処理を終了する(図2ステップS12)。
The child transaction processing unit 33 activated by the activation instruction 42 updates the information to be held in the transaction with respect to the child record unit 53 (step S1 in FIG. 2).
1). In this way, a plurality of child transaction processing units 32
If the corresponding child record section is a child record section that has not been updated, the steps to 34 are sequentially activated until the update processing is completed. In this embodiment, the child transaction processing unit 34 updates the final child record unit 54 (step S1 in FIG. 2).
1), the transaction processing ends because there is no child record part that has not been updated (step S12 in FIG. 2).

【0019】また、子トランザクション処理部が順次起
動されている間取引は完結していないため、他の取引に
より親レコード部51あるいは子レコード部52〜54
をアクセスされると不都合が生じる。
Further, since the transaction is not completed while the child transaction processing units are sequentially activated, the parent record unit 51 or the child record units 52 to 54 are caused by another transaction.
Is inconvenient.

【0020】このような場合、親レコード部51内に処
理中であるか否かを示すアクセス禁止フラグ51aを設
ければよい。
In such a case, an access prohibition flag 51a indicating whether or not processing is being performed may be provided in the parent record section 51.

【0021】すなわち、親トランザクション処理部31
が親レコード部51を検索あるいは更新する場合、アク
セス禁止フラグ51aをON状態にして、他の取引によ
り親レコード部51がアクセスされるのを防ぐ(図2ス
テップS2)。そして更新未処理の子レコード部が全て
存在しなくなるとアクセス禁止フラグ51aをOFF状
態にすれば(図2ステップS5およびステップS1
4)、他の取引を続いて処理することができる。
That is, the parent transaction processing unit 31
When the parent record section 51 is searched or updated, the access prohibition flag 51a is turned on to prevent the parent record section 51 from being accessed by another transaction (step S2 in FIG. 2). Then, when all the unprocessed child record parts do not exist, the access prohibition flag 51a is turned off (step S5 and step S1 in FIG. 2).
4), other transactions can be processed subsequently.

【0022】[0022]

【発明の効果】以上説明したように本発明によるオンラ
インシステムのトランザクション処理装置は一つの取引
を親トランザクション処理部および複数の子トランザク
ションに分割して処理をおこなうようにしたため、大量
のデータベースファイルを更新する必要があり、かつ即
時型の処理を必要とする取引であっても、処理時間のか
かる更新処理は複数の子トランザクション処理部でおこ
なうために、オンライン端末に即時に出力情報を送信で
きる。
As described above, since the transaction processing device of the online system according to the present invention divides one transaction into the parent transaction processing section and the plurality of child transactions to perform processing, a large amount of database files are updated. Even in a transaction that needs to be performed and requires immediate processing, output information can be immediately transmitted to the online terminal because the update processing that requires a long processing time is performed by the plurality of child transaction processing units.

【0023】さらにトランザクション処理部を複数に分
割して取引の処理を行うため、1つのトランクション処
理部での処理時間を短縮できホストコンピュータ内のデ
ータベースファイル等の各種資源を短い時間で解放で
き、オンラインシステム内の他の取引の遅延を防ぐ効果
もある。
Further, since the transaction processing unit is divided into a plurality of units for transaction processing, the processing time in one trunk processing unit can be shortened and various resources such as database files in the host computer can be released in a short time. It also has the effect of preventing delays in other transactions within the online system.

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

【図1】本発明の一実施例のブロック図。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】本発明の一実施例の動作を説明するためのフロ
ーチャート。
FIG. 2 is a flowchart for explaining the operation of the embodiment of the present invention.

【図3】従来のオンラインシステムのトランザクション
処理装置のブロック図。
FIG. 3 is a block diagram of a transaction processing device of a conventional online system.

【図4】従来のオンラインシステムのトランザクション
処理装置の動作を説明するためのフローチャート。
FIG. 4 is a flowchart for explaining the operation of a transaction processing device of a conventional online system.

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

11 端末 20 ホストコンピュータ 21 入力情報 22 出力情報 31 親トランザクション処理部 32〜34 子トランザクション処理部 50 データベースファイル 51 親レコード部 51a アクセス禁止フラグ 52〜54 子レコード部 101 端末 102 ホストコンピュータ 103 入力情報 104 出力情報 105 トランザクション処理部 106 データベースファイル 107 親レコード部 108 子レコード部 11 terminal 20 host computer 21 input information 22 output information 31 parent transaction processing section 32-34 child transaction processing section 50 database file 51 parent record section 51a access prohibition flag 52-54 child record section 101 terminal 102 host computer 103 input information 104 output Information 105 Transaction processing part 106 Database file 107 Parent record part 108 Child record part

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 通信回線を介して取引要求を行うオンラ
イン端末と、前記端末から送られてくる前記取引要求に
応じて実処理を行うホストコンピュータと、 前記取引要求に応じて検索あるいは更新処理が行われ、
該取引要求に関連する概要情報を保持する第1のレコー
ド部と、該親レコード部と論理的に接続され該取引要求
に応じて検索あるいは更新処理が行われ、該取引要求に
関連する詳細情報を保持する複数の第2のレコード部と
を有するデータベースファイルと、 前記端末からの入力情報に基づいて前記第1のレコード
部の検索あるいは更新処理と前記第2のレコード部の検
索とを行う第1の処理と、該第1の処理終了後前記各レ
コード部から取り出した情報を出力情報として前記端末
に送信する第2の処理とを行う第1のトランザクション
処理部と、 前記第1のトランザクション処理部からの起動指示に応
答して対応する前記第2のレコード部の検索あるいは更
新処理を行う複数の第2のトランザクション処理部とを
備えたことを特徴とするオンラインシステムのトランザ
クション処理装置。
1. An online terminal that makes a transaction request via a communication line, a host computer that actually performs processing in response to the transaction request sent from the terminal, and a search or update process that responds to the transaction request. Done,
Detailed information related to the transaction request, which is logically connected to the first record section that holds the outline information related to the transaction request and the parent record section that is searched or updated according to the transaction request. A database file having a plurality of second record parts for holding, and a search or update process for the first record part and a search for the second record part based on input information from the terminal. A first transaction processing unit that performs a first process and a second process that transmits the information extracted from each of the record units as output information to the terminal after the first process is completed; A plurality of second transaction processing units that perform a search or update process for the corresponding second record unit in response to a start instruction from the unit. Transaction processing system of emission line system.
JP4331548A 1992-12-11 1992-12-11 Online system transaction processor Expired - Fee Related JPH07117937B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4331548A JPH07117937B2 (en) 1992-12-11 1992-12-11 Online system transaction processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4331548A JPH07117937B2 (en) 1992-12-11 1992-12-11 Online system transaction processor

Publications (2)

Publication Number Publication Date
JPH06342417A JPH06342417A (en) 1994-12-13
JPH07117937B2 true JPH07117937B2 (en) 1995-12-18

Family

ID=18244904

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4331548A Expired - Fee Related JPH07117937B2 (en) 1992-12-11 1992-12-11 Online system transaction processor

Country Status (1)

Country Link
JP (1) JPH07117937B2 (en)

Also Published As

Publication number Publication date
JPH06342417A (en) 1994-12-13

Similar Documents

Publication Publication Date Title
JPH07117937B2 (en) Online system transaction processor
JP3022326B2 (en) File change history management system
JP3162102B2 (en) Data transfer processing device between virtual machines
JP3007923B2 (en) Data transfer method and system
JP2843748B2 (en) Exclusive control method
JP3330006B2 (en) Network system including information storage system, input system of the system, and
JPH08235044A (en) Journal retrieval systm
JP2536081B2 (en) Multiple scheduling control system
JPH10171688A (en) Processor and method for data storing process
JPH0713943A (en) Parallel computer
JP2000082005A (en) Data processing system for inter-system data base sharing system
JP2509936B2 (en) Output control device
JPH08286950A (en) Information processor and trace information storage method
JP2643843B2 (en) Online processing system
JP3298671B2 (en) Data entry method
JPH0512094A (en) Transaction managing device
JPS63217446A (en) Buffer control system
JP2000029763A (en) Storage device control method and storing system thereof
JPH0581295A (en) Subfile forming system in on-line maintenance
JPS6126112B2 (en)
JPH04174073A (en) On-line document output control system
JPH05282403A (en) Shape calculation processor
JPH05120230A (en) On-line program deadlock retrying system
JP2002259188A (en) Information processor, its data storage/reading method, information processing system, its data storage/reading method and computer program
JPH02213959A (en) Saving system for file capacity of data base system

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19960528

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

Free format text: PAYMENT UNTIL: 20071218

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20081218

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20091218

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees