JPH11265307A - Device and method for managing transaction record - Google Patents

Device and method for managing transaction record

Info

Publication number
JPH11265307A
JPH11265307A JP10067456A JP6745698A JPH11265307A JP H11265307 A JPH11265307 A JP H11265307A JP 10067456 A JP10067456 A JP 10067456A JP 6745698 A JP6745698 A JP 6745698A JP H11265307 A JPH11265307 A JP H11265307A
Authority
JP
Japan
Prior art keywords
transaction record
processing
transaction
record
stored
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.)
Granted
Application number
JP10067456A
Other languages
Japanese (ja)
Other versions
JP3240990B2 (en
Inventor
Haruyuki Kondo
晴幸 近藤
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 JP06745698A priority Critical patent/JP3240990B2/en
Publication of JPH11265307A publication Critical patent/JPH11265307A/en
Application granted granted Critical
Publication of JP3240990B2 publication Critical patent/JP3240990B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a transaction record management device capable of improving the efficiency of work (processing) for reprocessing an abnormally ended transaction. SOLUTION: When the processing of a transaction record to be processed fails at the time of reading out the transaction record from a storage device part 41a and processing it, a data access part 41b prepares a reprocessing transaction record and newly adds the prepared record in the storage device part 41a as an unprocessed transaction record. Thereby the efficiency of work for recovering abnormally ended transaction processing can be improved.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、トランザクション
レコード管理装置に関し、特に、トランザクションレコ
ードを入力する入力手段と、この入力されたトランザク
ションレコードを逐次記憶する記憶手段と、この記憶さ
れたトランザクションレコードのうちから処理対象とな
るものを読み出して処理する処理手段とを具備するトラ
ンザクションレコード管理装置及びトランザクションレ
コード管理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transaction record management apparatus, and more particularly to an input means for inputting transaction records, a storage means for sequentially storing the input transaction records, The present invention relates to a transaction record management apparatus and a transaction record management method, comprising a processing unit for reading and processing a processing target from a transaction record.

【0002】[0002]

【従来の技術】従来のトランザクション管理装置は、ト
ランザクションレコードに付加された処理結果を更新す
るだけであった。
2. Description of the Related Art A conventional transaction management apparatus merely updates a processing result added to a transaction record.

【0003】[0003]

【発明が解決しようとする課題】したがって、従来のト
ランザクションレコード管理装置は、処理対象のトラン
ザクションがデータ記憶部に分散しているため、再処理
を行う場合には、トランザクションレコードを全件読み
込んで処理結果を参照し、未処理および不成功のトラン
ザクションを抽出しなければならず処理効率がよくなか
った。
Therefore, in the conventional transaction record management apparatus, since transactions to be processed are distributed in the data storage unit, when reprocessing is performed, all transaction records are read and processed. Referring to the results, unprocessed and unsuccessful transactions had to be extracted, and the processing efficiency was not good.

【0004】本発明は、上記課題にかんがみてなされた
もので、再処理の対象となるトランザクションを記憶装
置上に連続して管理し、再処理を行う場合でも処理効率
を向上させることが可能なトランザクションレコード管
理装置およびトランザクションレコード管理方法。
[0004] The present invention has been made in view of the above problems, and it is possible to continuously manage transactions to be reprocessed on a storage device and to improve processing efficiency even when reprocessing is performed. Transaction record management device and transaction record management method.

【0005】なお、従来のトランザクションレコード管
理装置として、特開平1−166231号公報に開示さ
れたトランザクションレコード管理装置が知られてい
る。しかし、このトランザクションレコード管理装置
は、トランザクションレコードの処理途中に要求された
トランザクションレコードの更新、削除及び追加をジャ
ーナルバッファに格納し、トランザクションレコードの
処理が終了してから更新、削除及び追加を行うものであ
り、本発明のようにトランザクションを再処理するとき
の作業(処理)効率の向上を図るものではない。
[0005] As a conventional transaction record management device, a transaction record management device disclosed in Japanese Patent Application Laid-Open No. 1-166231 is known. However, this transaction record management device stores update, deletion, and addition of a transaction record requested during the processing of a transaction record in a journal buffer, and performs update, deletion, and addition after the processing of the transaction record is completed. However, this does not aim to improve the work (processing) efficiency when reprocessing a transaction as in the present invention.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、請求項1にかかる発明は、トランザクションレコー
ドを入力する入力手段と、この入力されたトランザクシ
ョンレコードを逐次記憶する記憶手段と、この記憶され
たトランザクションレコードから処理対象となるものを
読み出して処理する処理手段とを具備するトランザクシ
ョンレコード管理装置において、上記処理手段は、上記
処理が成功したときに正常処理情報を付加して上記記憶
手段に記憶されたトランザクションレコードを更新し、
同処理が不成功であったときに異常処理情報を付加して
同記憶手段に記憶されたトランザクションレコードを更
新するとともに、同異常処理情報が付加されたトランザ
クションレコードを読み出して再処理する構成としてあ
る。
In order to achieve the above object, according to the first aspect of the present invention, there is provided an input unit for inputting a transaction record, a storage unit for sequentially storing the input transaction record, and a storage unit for storing the input transaction record. And a processing means for reading and processing a processing target from the transaction record. The processing means adds normal processing information when the processing is successful and stores the information in the storage means. Update the specified transaction record,
When the process is unsuccessful, the transaction record stored in the storage unit is updated by adding the abnormal process information when the process is unsuccessful, and the transaction record to which the abnormal process information is added is read and reprocessed. .

【0007】すなわち、入力手段がトランザクションレ
コードを入力するとき、記憶手段にてこの入力されたト
ランザクションレコードを逐次記憶すると、処理手段
は、この記憶されたトランザクションレコードから処理
対象となるものを読み出して処理し、この処理が成功し
たときに正常処理情報を付加して記憶されたトランザク
ションレコードを更新するとともに、同処理が不成功で
あったときに異常処理情報を付加して記憶されたトラン
ザクションレコードを更新すると、同異常処理情報が付
加されたトランザクションレコードを読み出して再処理
する。
That is, when the input means inputs a transaction record, the input transaction record is sequentially stored in the storage means, and the processing means reads out the processing target from the stored transaction record and performs processing. When the process is successful, the stored transaction record is updated with the normal processing information added. When the process is unsuccessful, the stored transaction record is updated with the abnormal processing information added. Then, the transaction record to which the abnormal processing information is added is read and reprocessed.

【0008】上記入力手段は、トランザクションレコー
ドを入力することができれば良く、例えば、データ伝送
網を介してトランザクションレコードを主装置に送信可
能な複数の端末装置であっても良い。
The input means only needs to be able to input a transaction record, and may be, for example, a plurality of terminal devices capable of transmitting the transaction record to the main unit via a data transmission network.

【0009】上記記憶手段は、入力手段にて入力された
トランザクションレコードを逐次記憶することができれ
ば良く、上記主装置に備えられたメモリで構成されるも
のであっても良い。
The storage means only needs to be capable of sequentially storing the transaction records input by the input means, and may be constituted by a memory provided in the main device.

【0010】なお、本発明は、トランザクションを再処
理するときの作業(処理)効率を向上させることを目的
とするとの観点から、上記入力手段と記憶手段は、少な
くともトランザクションレコードを入力して記憶するこ
とが可能な構成であれば良く、上記形態を有するものに
限定されるものではない。
The input means and the storage means input and store at least a transaction record from the viewpoint that the present invention aims at improving the work (processing) efficiency when reprocessing a transaction. The configuration is not limited to the configuration having the above-described configuration as long as the configuration allows the configuration.

【0011】上記処理手段は、上記処理が成功したとき
に正常処理情報を付加して上記記憶手段に記憶されたト
ランザクションレコードを更新し、同処理が不成功であ
ったときに異常処理情報を付加して同記憶手段に記憶さ
れたトランザクションレコードを更新することができれ
ば良いが、このとき、上記処理の結果に基づいて履歴管
理する等の付加的な機能を有するものであっても良い。
The processing means updates the transaction record stored in the storage means by adding normal processing information when the processing is successful, and adds abnormal processing information when the processing is unsuccessful. As long as the transaction record stored in the storage means can be updated, it may have an additional function such as managing the history based on the result of the above processing.

【0012】この場合における処理手段の構成の一例と
して、請求項2にかかる発明は、上記請求項1に記載の
トランザクションレコード管理装置において、上記処理
手段は、各トランザクションレコードの処理が成功した
か否かについて処理結果を残し、履歴管理する構成とし
てある。
[0012] As an example of the configuration of the processing means in this case, the invention according to claim 2 is the transaction record management device according to claim 1, wherein the processing means determines whether or not the processing of each transaction record is successful. In this configuration, the processing result is left and history management is performed.

【0013】すなわち、上記処理手段は、上記記憶手段
から処理対象となるトランザクションレコードを読み出
して処理すると、この処理が成功したか否かについて処
理結果を残し、履歴管理する。
That is, when the processing means reads the transaction record to be processed from the storage means and processes the transaction record, the processing result is left as to whether or not this processing was successful, and the history is managed.

【0014】また、この処理手段は、上記記憶手段に記
憶されたトランザクションレコードから処理対象となる
ものを読み出して処理することができれば良い。
This processing means only needs to be able to read and process the processing target from the transaction records stored in the storage means.

【0015】従って、上記正常処理情報が付加されたト
ランザクションレコードを除いた他のトランザクション
レコードを処理することができれば良く、未処理のトラ
ンザクションレコードと上記異常処理情報が付加された
トランザクションレコードを区別して処理するものであ
っても良いし、両者を区別することなく処理するもので
あっても良い。
Therefore, it is sufficient that other transaction records except for the transaction record to which the normal processing information is added can be processed, and the unprocessed transaction record and the transaction record to which the abnormal processing information is added are distinguished and processed. Or may be processed without distinguishing between the two.

【0016】後者の場合における処理手段の構成の一例
として、請求項3にかかる発明は、上記請求項1または
請求項2のいずれかに記載のトランザクションレコード
管理装置において、上記処理手段は、上記異常処理情報
が付加されたトランザクションレコードを複製し、未処
理のトランザクションレコードとして上記記憶手段に追
加する構成としてある。
[0016] As an example of the configuration of the processing means in the latter case, the invention according to claim 3 is the transaction record management apparatus according to any one of claims 1 or 2, wherein the processing means includes The transaction record to which the processing information is added is duplicated and added to the storage unit as an unprocessed transaction record.

【0017】すなわち、上記処理手段は、上記異常処理
情報が付加されたトランザクションレコードを上記記憶
手段から読み出して複製し、未処理のトランザクション
レコードとして上記記憶手段に追加する。
That is, the processing means reads out the transaction record to which the abnormal processing information has been added from the storage means, duplicates the transaction record, and adds it to the storage means as an unprocessed transaction record.

【0018】このときの処理手段の構成の一例として、
請求項4にかかる発明は、上記請求項3に記載のトラン
ザクションレコード管理装置において、上記処理手段
は、上記記憶手段に記憶されたトランザクションレコー
ドを未処理のトランザクションレコードと処理済のトラ
ンザクションレコードとに分けて履歴管理する構成とし
てある。
As an example of the configuration of the processing means at this time,
According to a fourth aspect of the present invention, in the transaction record management device according to the third aspect, the processing unit divides the transaction record stored in the storage unit into an unprocessed transaction record and a processed transaction record. It is configured to manage history.

【0019】すなわち、上記処理手段は、上記記憶手段
に記憶されたトランザクションレコードを同処理手段に
よる処理がなされていないトランザクションレコードと
同処理手段による処理がすでになされているトランザク
ションレコードとに分けて履歴管理する。
That is, the processing means divides the transaction record stored in the storage means into a transaction record which has not been processed by the processing means and a transaction record which has already been processed by the processing means. I do.

【0020】このように履歴管理を行う際、上記記憶手
段に記憶されたトランザクションレコードの中で最後に
処理されたものが記憶されている場所や最後に記憶され
たものの場所の情報を含めることも可能である。
When the history management is performed in this manner, information on the location where the last processed transaction record is stored or the location of the last stored transaction record among the transaction records stored in the storage means may be included. It is possible.

【0021】この場合における処理手段の構成の一例と
して、請求項5にかかる発明は、上記請求項4に記載の
トランザクションレコード管理装置において、上記処理
手段は、最後に処理を行ったトランザクションレコード
と最後に記憶された未処理のトランザクションレコード
との上記記憶手段における格納位置を管理する構成とし
てある。
[0021] As an example of the configuration of the processing means in this case, the invention according to claim 5 is the transaction record management apparatus according to claim 4, wherein the processing means comprises: And the storage position of the unprocessed transaction record stored in the storage means in the storage means is managed.

【0022】すなわち、上記処理手段は、最後に処理を
行ったトランザクションレコードと最後に記憶された未
処理のトランザクションレコードとの上記記憶手段にお
ける格納位置を取得して履歴管理する。
That is, the processing means acquires the storage position of the last processed transaction record and the last stored unprocessed transaction record in the storage means, and manages the history.

【0023】このようにトランザクションレコードの管
理を行う手法は、必ずしも上述したような装置に限られ
る必要もなく、その一例として、請求項6にかかる発明
は、トランザクションレコードを入力するとき、この入
力されたトランザクションレコードを逐次記憶すると、
この記憶されたトランザクションレコードから処理対象
となるものを読み出して処理し、この処理が成功したと
きに正常処理情報を付加して記憶されたトランザクショ
ンレコードを更新するとともに、同処理が不成功であっ
たときに異常処理情報を付加して記憶されたトランザク
ションレコードを更新すると、同異常処理情報が付加さ
れたトランザクションレコードを読み出して再処理する
構成としてある。すなわち、必ずしも装置という形態に
限らず、その方法としても有効である。
The method of managing transaction records in this manner is not necessarily limited to the above-described device. As an example, the invention according to claim 6 relates to a method for inputting a transaction record. When transaction records are stored sequentially,
A target to be processed is read from the stored transaction record and processed, and when this processing is successful, the stored transaction record is updated with normal processing information added, and the processing was unsuccessful. When the transaction record added with the abnormal processing information is sometimes updated, the transaction record to which the abnormal processing information is added is read and reprocessed. That is, the present invention is not necessarily limited to the form of the apparatus, and is effective as a method.

【0024】[0024]

【発明の実施の形態】以下、図面にもとづいて本発明の
実施形態を説明する。図1は、本発明の一実施形態にか
かるトランザクションレコード管理装置を適用したデー
タ更新システムの構成を模式図により示している。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic diagram showing a configuration of a data update system to which a transaction record management device according to an embodiment of the present invention is applied.

【0025】データ更新システム10は、データ伝送網
20を介してトランザクションレコードを送信する複数
の端末装置30と、各端末装置30から送信されたトラ
ンザクションレコードを受信して処理する主装置40と
を備え、主装置40は各端末装置30から送信されたト
ランザクションレコードを所定の手順で逐次処理してい
る。
The data updating system 10 includes a plurality of terminal devices 30 for transmitting transaction records via the data transmission network 20, and a main device 40 for receiving and processing the transaction records transmitted from each terminal device 30. The main device 40 sequentially processes the transaction records transmitted from each terminal device 30 according to a predetermined procedure.

【0026】各端末装置30は、データ伝送網20を介
して主装置40に接続され、トランザクションレコード
を送信している。この意味で、端末装置30は、本発明
にいう入力手段を構成している。
Each terminal device 30 is connected to the main device 40 via the data transmission network 20, and transmits a transaction record. In this sense, the terminal device 30 constitutes an input unit according to the present invention.

【0027】主装置40は、図2に示すような再処理ト
ランザクションレコード管理部41を備え、各端末装置
30から送信されたトランザクションレコードを管理し
ながら処理している。
The main unit 40 includes a reprocessing transaction record management unit 41 as shown in FIG. 2, and performs processing while managing transaction records transmitted from each terminal device 30.

【0028】再処理トランザクションレコード管理部4
1は、受信したトランザクションレコードを逐次記憶す
る記憶装置部41aと、記憶装置部41aにおけるトラ
ンザクションレコードの書込及び読出を制御しつつ記憶
装置部41aから読み出したトランザクションレコード
を処理するデータアクセス部41bとを備え、アプリケ
ーションプログラムからの要求に応じて、端末装置30
から送信されたトランザクションレコードを記憶装置部
41aに逐次記憶するとともに、記憶装置部41aから
処理対象であるトランザクションレコードを読み出して
処理する。
Reprocessing transaction record management unit 4
1 includes a storage unit 41a that sequentially stores received transaction records, a data access unit 41b that processes transaction records read from the storage unit 41a while controlling writing and reading of the transaction records in the storage unit 41a, Terminal device 30 in response to a request from the application program.
Are sequentially stored in the storage unit 41a, and the transaction records to be processed are read from the storage unit 41a and processed.

【0029】記憶装置部41aは、データアクセス部4
1bによる書込制御に応じてトランザクションレコード
を記憶可能に構成され、端末装置30から送信されたト
ランザクションレコードを格納位置「1」から順に記憶
する。なお、この未処理のトランザクションレコード
は、処理結果「未」とともに記憶されていく。
The storage device section 41a includes the data access section 4
1b, the transaction records can be stored in accordance with the write control, and the transaction records transmitted from the terminal device 30 are sequentially stored from the storage position "1". The unprocessed transaction record is stored together with the processing result “unprocessed”.

【0030】従って、端末装置30から送信されたトラ
ンザクションレコードを記憶する記憶装置部41aは、
この意味で、本発明にいう記憶手段を構成している。
Therefore, the storage unit 41a for storing the transaction record transmitted from the terminal device 30 is:
In this sense, it constitutes the storage means according to the present invention.

【0031】データアクセス部41bは、記憶装置部4
1aにおけるトランザクションレコードの書込及び読出
と読み出したトランザクションレコードの処理が可能に
構成され、端末装置30から送信されたトランザクショ
ンレコードを記憶装置部41aに書き込むとともに、記
憶装置部41aから処理対象であるトランザクションレ
コードを読み出して処理する。
The data access unit 41b is connected to the storage unit 4
1a, the transaction record can be written and read, and the read transaction record can be processed. The transaction record transmitted from the terminal device 30 is written in the storage device 41a, and the transaction to be processed is stored in the storage device 41a. Read and process records.

【0032】なお、データアクセス部41bには、記憶
装置部41aに記憶されたトランザクションレコードの
格納位置を管理する格納位置管理部41cが接続され、
記憶装置部41aにおけるトランザクションレコードの
格納位置を最終未処理レコード格納位置と最終処理済レ
コード格納位置に分けて管理を行っている。
The data access unit 41b is connected to a storage location management unit 41c that manages the storage location of the transaction record stored in the storage unit 41a.
The storage location of the transaction record in the storage unit 41a is managed by dividing it into the storage location of the last unprocessed record and the storage location of the last processed record.

【0033】また、データアクセス部41bには、上記
処理が不成功であったトランザクションレコードの再作
成を行う再処理レコード出力部41dが接続され、未処
理のトランザクションレコードが処理結果「異常」を有
するトランザクションレコードに更新されたとき、この
処理が不成功であったトランザクションレコードを再生
成し、未処理のトランザクションレコードとして新たに
記憶装置部41aへ書き込む。
The data access unit 41b is connected to a re-processed record output unit 41d for re-creating a transaction record for which the above-mentioned processing was unsuccessful. When the transaction record is updated, the transaction record for which this processing was unsuccessful is regenerated and newly written to the storage unit 41a as an unprocessed transaction record.

【0034】図3は、トランザクションレコード「A」
が正常処理されてから記憶装置部41aに書き込まれた
トランザクションレコード「B」が未処理の状態で、ト
ランザクションレコード「C」が記憶装置部41aに書
き込まれる場合のデータ内容をチャート図により示して
いる。
FIG. 3 shows transaction record "A".
Is shown in a chart diagram when the transaction record "B" written to the storage unit 41a after the normal processing of the transaction record "B" is unprocessed and the transaction record "C" is written to the storage unit 41a. .

【0035】アプリケーションプログラムからトランザ
クションレコードの書込要求があると、データアクセス
部41bは、格納位置管理部41cから最終未処理レコ
ード格納位置「2」を取得し、次に格納するトランザク
ションレコードの書込位置「3」を求め、算出した書込
位置「3」にトランザクションレコード「C」を書き込
み、最終未処理レコード格納位置を「3」に更新する。
このため、トランザクションレコードを記憶装置部41
aに連続して格納することが可能となる。
When there is a transaction record write request from the application program, the data access unit 41b acquires the last unprocessed record storage position "2" from the storage position management unit 41c, and writes the next transaction record to be stored. The position “3” is obtained, the transaction record “C” is written at the calculated write position “3”, and the final unprocessed record storage position is updated to “3”.
Therefore, the transaction record is stored in the storage unit 41.
It is possible to store the data continuously in a.

【0036】図4は、上述したように記憶装置部41a
へ書き込まれたトランザクションレコード「C」が未処
理の状態で、処理されたトランザクションレコード
「B」が不成功であった場合のデータ内容をチャート図
により示している。
FIG. 4 shows the storage unit 41a as described above.
The data content in the case where the transaction record “C” written in the unwritten transaction record “C” is unsuccessful and the processed transaction record “B” is unsuccessful.

【0037】アプリケーションプログラムから未処理ト
ランザクションレコードの処理要求があると、データア
クセス部41bは、格納位置管理部41cから最終処理
済レコード格納位置「1」を取得し、次に処理する未処
理トランザクションレコード読込位置「2」を求める。
算出した読込位置「2」からトランザクションレコード
「B」を読み込んでトランザクションレコード「B」を
処理するとともに、最終処理済レコード格納位置を
「2」に更新する。
When there is a processing request for an unprocessed transaction record from the application program, the data access unit 41b acquires the storage location "1" of the last processed record from the storage location management unit 41c, and then processes the unprocessed transaction record to be processed next. The reading position “2” is obtained.
The transaction record “B” is read from the calculated read position “2” to process the transaction record “B”, and the storage position of the last processed record is updated to “2”.

【0038】そして、トランザクションレコード「B」
の処理が異常終了すると、既に取得している最終処理済
レコード格納位置「2」の処理結果を「異常」に更新す
る。
Then, the transaction record "B"
When the processing of the above is abnormally ended, the processing result of the already obtained final processed record storage position “2” is updated to “abnormal”.

【0039】このとき、データアクセス部41bは、ト
ランザクションレコード「B」の処理結果が不成功であ
った旨を確認し、再処理レコード出力手段に通知する
と、再処理レコード出力手段は、再処理するために新た
なトランザクションレコードを作成する。
At this time, the data access unit 41b confirms that the processing result of the transaction record "B" is unsuccessful, and notifies the reprocessing record output means, and the reprocessing record output means reprocesses. Create a new transaction record for

【0040】この再処理レコード出力部41dからデー
タアクセス部41bに書込要求があると、格納位置管理
部41cから最終未処理レコード格納位置「3」を取得
し、次に格納するトランザクションレコードに書込位置
「4」を求め、算出した書込位置「4」にトランザクシ
ョンレコード「B’」を書き込み、最終未処理レコード
格納位置を「4」に更新する。
When there is a write request from the reprocessed record output unit 41d to the data access unit 41b, the storage position management unit 41c obtains the last unprocessed record storage position "3", and writes it to the next transaction record to be stored. The transaction record "B '" is written to the calculated write position "4", and the final unprocessed record storage position is updated to "4".

【0041】このため、再処理を行うトランザクション
レコードは、記憶装置部41aに連続記録された未処理
のトランザクションレコードとして格納され、記憶装置
部41aから処理対象となるトランザクションレコード
を容易に読み出すことが可能となる。
For this reason, the transaction record to be reprocessed is stored as an unprocessed transaction record continuously recorded in the storage unit 41a, and the transaction record to be processed can be easily read from the storage unit 41a. Becomes

【0042】従って、記憶装置部41aから処理結果
「未」を有するトランザクションレコードを読み出して
処理し、この処理が成功したか否かに応じて処理結果を
「正常」か「異常」のいずれかに更新するデータアクセ
ス部41bと、処理結果「異常」を有するトランザクシ
ョンレコードを再生成して未処理のトランザクションレ
コードとして新たに記憶装置部へ追加させる再処理レコ
ード出力部41dは、この意味で、本発明にいう処理手
段を構成している。
Therefore, the transaction record having the processing result "unprocessed" is read out from the storage unit 41a and processed, and the processing result is determined to be "normal" or "abnormal" depending on whether this processing is successful. In this sense, the data access unit 41b to be updated and the reprocessed record output unit 41d for regenerating a transaction record having the processing result “abnormal” and newly adding it to the storage unit as an unprocessed transaction record are described in the present invention. The processing means referred to above.

【0043】次に、本実施形態にかかるデータ更新シス
テムの動作を説明する。主装置40が端末装置30から
データ伝送網20を介して送信されたトランザクション
レコードを受信すると、アプリケーションプログラムが
新たなトランザクションレコードの書込要求をデータア
クセス部41bに発行する。データアクセス部41b
は、格納位置管理部41cから最終未処理レコード格納
位置を取得し、次に格納するトランザクションレコード
の書込位置を求める。算出した書込位置に受信したトラ
ンザクションレコードを書き込み、最終未処理レコード
格納位置を更新する。
Next, the operation of the data updating system according to this embodiment will be described. When the main device 40 receives the transaction record transmitted from the terminal device 30 via the data transmission network 20, the application program issues a write request for a new transaction record to the data access unit 41b. Data access unit 41b
Acquires the storage position of the last unprocessed record from the storage position management unit 41c, and obtains the writing position of the transaction record to be stored next. The received transaction record is written to the calculated write position, and the final unprocessed record storage position is updated.

【0044】上記アプリケーションプログラムは、記憶
装置部41aに記憶された未処理のトランザクションレ
コードを定期的に処理しており、このトランザクション
レコードの読込要求をデータアクセス部41bに発行す
ると、データアクセス部41bは、格納位置管理部41
cから最終処理済レコード格納位置を取得し、次に処理
する未処理トランザクションレコード読込位置を求め
る。算出した読込位置からこの未処理のトランザクショ
ンレコードを読み込むとともに、最終処理済レコード格
納位置を更新する。
The application program periodically processes an unprocessed transaction record stored in the storage unit 41a, and issues a transaction record read request to the data access unit 41b. , Storage location management unit 41
The storage position of the last processed record is obtained from c, and the reading position of the unprocessed transaction record to be processed next is obtained. The unprocessed transaction record is read from the calculated read position, and the storage position of the last processed record is updated.

【0045】アプリケーションプログラムは、読み込ん
だトランザクションレコードの処理を行い、処理結果を
データアクセス部41bに通知する。そして、データア
クセス部41bは、既に取得している最終処理済レコー
ド格納位置の処理結果を「正常」か「異常」のいずれか
に更新する。
The application program processes the read transaction record and notifies the data access unit 41b of the processing result. Then, the data access unit 41b updates the processing result of the already-acquired final processed record storage position to either “normal” or “abnormal”.

【0046】このとき、データアクセス部41bは、ト
ランザクションレコードの処理結果を判定する。成功の
場合には、このトランザクションレコードの処理作業を
終了し、不成功の場合には、再処理するために新たなト
ランザクションレコードの作成を再処理レコード出力部
41dに通知する。
At this time, the data access unit 41b determines the processing result of the transaction record. In the case of success, the processing operation of this transaction record is terminated, and in the case of unsuccessful processing, the creation of a new transaction record is notified to the reprocessing record output unit 41d for reprocessing.

【0047】すると、再処理レコード出力部41dは、
処理が不成功であったトランザクションレコードと同じ
データで処理結果を「未処理」とした再処理トランザク
ションレコードを作成し、データアクセス部41bに書
込要求を発行する。
Then, the reprocessed record output unit 41d
A reprocessing transaction record is created with the processing result being “unprocessed” using the same data as the transaction record for which the processing was unsuccessful, and a write request is issued to the data access unit 41b.

【0048】データアクセス部41bは、格納位置管理
部41cから最終未処理レコード格納位置を取得し、次
に格納するトランザクションレコードに書込位置を求
め、算出した書込位置に再処理トランザクションレコー
ドを書き込み、最終未処理レコード格納位置を更新す
る。
The data access unit 41b acquires the storage position of the last unprocessed record from the storage position management unit 41c, finds the write position in the next transaction record to be stored, and writes the reprocessed transaction record in the calculated write position. , Update the storage location of the last unprocessed record.

【0049】このように、データアクセス部41bは、
記憶装置部41aから処理対象であるトランザクション
レコードを読み出して処理するとき、この処理が不成功
であると再処理トランザクションレコードを作成して未
処理のトランザクションレコードとして記憶装置部41
aへ新たに追加させるため、異常終了したトランザクシ
ョンを再処理するときの作業(処理)効率を向上させる
ことが可能となる。
As described above, the data access unit 41b
When a transaction record to be processed is read from the storage unit 41a and processed, if this processing is unsuccessful, a reprocessed transaction record is created and the storage unit 41a is processed as an unprocessed transaction record.
Since a new transaction is added to a, the work (processing) efficiency when reprocessing an abnormally terminated transaction can be improved.

【0050】[0050]

【発明の効果】以上説明したように本発明は、異常終了
したトランザクションを再処理するときの作業(処理)
効率を向上させることの可能なトランザクションレコー
ド管理装置を提供することができる。
As described above, according to the present invention, the operation (processing) when reprocessing an abnormally terminated transaction is performed.
A transaction record management device capable of improving efficiency can be provided.

【0051】また、請求項2にかかる発明によれば、上
記記憶手段を検索しなくても各トランザクションレコー
ドの処理が成功したか否かを知ることができる。
According to the second aspect of the present invention, it is possible to know whether or not the processing of each transaction record has succeeded without searching the storage means.

【0052】さらに、請求項3にかかる発明によれば、
トランザクションレコードを未処理のものと正常処理さ
れたものとに分けて記憶することができる。
Further, according to the third aspect of the present invention,
Transaction records can be stored separately for unprocessed and normally processed transactions.

【0053】さらに、請求項4にかかる発明によれば、
トランザクションレコードを未処理のものと正常処理さ
れたものとに分けて履歴管理することができる。
Further, according to the invention of claim 4,
It is possible to manage the history of transaction records by dividing them into unprocessed records and those processed normally.

【0054】さらに、請求項5にかかる発明によれば、
上記記憶手段に記憶されたトランザクションレコードか
ら処理対象となるものを容易に読み出すことができる。
Further, according to the invention of claim 5,
From the transaction record stored in the storage means, the transaction record can be easily read.

【0055】さらに、請求項6にかかる発明によれば、
トランザクションを再処理するときの作業(処理)効率
を向上させることの可能なトランザクションレコード管
理方法を提供することができる。
Further, according to the invention of claim 6,
It is possible to provide a transaction record management method capable of improving work (processing) efficiency when reprocessing a transaction.

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

【図1】本実施形態にかかるデータ受信システムの構成
を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a data receiving system according to an embodiment.

【図2】主装置のメモリ構成を示すブロック図である。FIG. 2 is a block diagram illustrating a memory configuration of a main device.

【図3】トランザクションレコードを書き込む際のデー
タ内容を示すチャート図である。
FIG. 3 is a chart showing data contents when a transaction record is written.

【図4】トランザクションレコードを読み出して処理す
る際のデータ内容を示すチャート図である。
FIG. 4 is a chart showing data contents when a transaction record is read and processed.

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

41 再処理トランザクションレコード管理部 41a 記憶装置部 41b データアクセス部 41c 格納位置管理部 41d 再処理レコード出力部 41 reprocessing transaction record management unit 41a storage unit 41b data access unit 41c storage location management unit 41d reprocessing record output unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 トランザクションレコードを入力する入
力手段と、この入力されたトランザクションレコードを
逐次記憶する記憶手段と、この記憶されたトランザクシ
ョンレコードから処理対象となるものを読み出して処理
する処理手段とを具備するトランザクションレコード管
理装置において、 上記処理手段は、上記処理が成功したときに正常処理情
報を付加して上記記憶手段に記憶されたトランザクショ
ンレコードを更新し、同処理が不成功であったときに異
常処理情報を付加して同記憶手段に記憶されたトランザ
クションレコードを更新するとともに、同異常処理情報
が付加されたトランザクションレコードを読み出して再
処理することを特徴とするトランザクションレコード管
理装置。
1. An input unit for inputting a transaction record, a storage unit for sequentially storing the input transaction record, and a processing unit for reading and processing a processing target from the stored transaction record. The processing means updates the transaction record stored in the storage means by adding normal processing information when the processing is successful, and abnormal when the processing is unsuccessful. A transaction record management device for updating a transaction record stored in the storage unit by adding processing information, reading the transaction record to which the abnormality processing information is added, and reprocessing the transaction record.
【請求項2】 上記請求項1に記載のトランザクション
レコード管理装置において、 上記処理手段は、各トランザクションレコードの処理が
成功したか否かについて処理結果を残し、履歴管理する
ことを特徴とするトランザクションレコード管理装置。
2. The transaction record management apparatus according to claim 1, wherein said processing means manages the history of the transaction record by leaving a processing result on whether or not the processing of each transaction record was successful. Management device.
【請求項3】 上記請求項1または請求項2のいずれか
に記載のトランザクションレコード管理装置において、 上記処理手段は、上記異常処理情報が付加されたトラン
ザクションレコードを複製し、未処理のトランザクショ
ンレコードとして上記記憶手段に追加することを特徴と
するトランザクションレコード管理装置。
3. The transaction record management device according to claim 1, wherein the processing unit duplicates the transaction record to which the abnormal processing information is added, and copies the transaction record as an unprocessed transaction record. A transaction record management device which is added to the storage means.
【請求項4】 上記請求項3に記載のトランザクション
レコード管理装置において、 上記処理手段は、上記記憶手段に記憶されたトランザク
ションレコードを未処理のトランザクションレコードと
処理済のトランザクションレコードとに分けて履歴管理
することを特徴とするトランザクションレコード管理装
置。
4. The transaction record management device according to claim 3, wherein the processing unit divides the transaction record stored in the storage unit into an unprocessed transaction record and a processed transaction record, and manages the history. A transaction record management device.
【請求項5】 上記請求項4に記載のトランザクション
レコード管理装置において、 上記処理手段は、最後に処理を行ったトランザクション
レコードと最後に記憶された未処理のトランザクション
レコードとの上記記憶手段における格納位置を管理する
ことを特徴とするトランザクションレコード管理装置。
5. The transaction record management device according to claim 4, wherein the processing unit stores a last processed transaction record and a last stored unprocessed transaction record in the storage unit. A transaction record management device characterized by managing a transaction record.
【請求項6】 トランザクションレコードを入力すると
き、この入力されたトランザクションレコードを逐次記
憶すると、この記憶されたトランザクションレコードか
ら処理対象となるものを読み出して処理し、この処理が
成功したときに正常処理情報を付加して記憶されたトラ
ンザクションレコードを更新するとともに、同処理が不
成功であったときに異常処理情報を付加して記憶された
トランザクションレコードを更新すると、同異常処理情
報が付加されたトランザクションレコードを読み出して
再処理することを特徴とするトランザクションレコード
管理方法。
6. When a transaction record is input, if the input transaction record is sequentially stored, a target to be processed is read out from the stored transaction record and processed, and if this processing is successful, normal processing is performed. When the transaction record stored with the added information is updated, and the transaction record stored with the abnormal processing information is updated when the processing is unsuccessful, the transaction with the abnormal processing information is added. A transaction record management method, wherein a record is read and reprocessed.
JP06745698A 1998-03-17 1998-03-17 Transaction record management device and transaction record management method Expired - Lifetime JP3240990B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06745698A JP3240990B2 (en) 1998-03-17 1998-03-17 Transaction record management device and transaction record management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06745698A JP3240990B2 (en) 1998-03-17 1998-03-17 Transaction record management device and transaction record management method

Publications (2)

Publication Number Publication Date
JPH11265307A true JPH11265307A (en) 1999-09-28
JP3240990B2 JP3240990B2 (en) 2001-12-25

Family

ID=13345469

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06745698A Expired - Lifetime JP3240990B2 (en) 1998-03-17 1998-03-17 Transaction record management device and transaction record management method

Country Status (1)

Country Link
JP (1) JP3240990B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014238677A (en) * 2013-06-06 2014-12-18 富士通株式会社 Transaction resumption program, information processing device and transaction resumption method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014238677A (en) * 2013-06-06 2014-12-18 富士通株式会社 Transaction resumption program, information processing device and transaction resumption method

Also Published As

Publication number Publication date
JP3240990B2 (en) 2001-12-25

Similar Documents

Publication Publication Date Title
US7447840B2 (en) Disk array and method for reading/writing data from/into disk unit
US7890716B2 (en) Method of managing time-based differential snapshot
US7373470B2 (en) Remote copy control in a storage system
US8555012B2 (en) Data storage apparatus
US6754842B2 (en) Facilitating a restart operation within a data processing system
JPH039494B2 (en)
JP3240990B2 (en) Transaction record management device and transaction record management method
JP4390618B2 (en) Database reorganization program, database reorganization method, and database reorganization apparatus
US5170479A (en) File block managing system using next record header position data and delete history data from block header and record headers to locate requested record block
JPH1153123A (en) Backup system
JP3134864B2 (en) Recording medium recording recovery system and recovery program for system combination device
JPH0816881B2 (en) Database update method
JPH1185594A (en) Information processing system for remote copy
US20030033440A1 (en) Method of logging message activity
EP1507219A2 (en) Computer system and program for improved file system performance
JP4131583B2 (en) Redundant computer system
JPS60250447A (en) Post-replacement system of magnetic disk file
JPH10340215A (en) Data backup system
JP3368378B2 (en) Storage content management method and data processing device
JP2817911B2 (en) Access control method for keyed files
JP2000082005A (en) Data processing system for inter-system data base sharing system
JPS6167153A (en) Partial trouble recovery processing system of direct access storage device
JP2682467B2 (en) Subscriber information management method
JPS61150045A (en) Updating system of data base
JP2818538B2 (en) Journal file division management method and journal file division management method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071019

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081019

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091019

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091019

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111019

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121019

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20131019

Year of fee payment: 12

EXPY Cancellation because of completion of term