JP3358103B2 - Data integration method - Google Patents

Data integration method

Info

Publication number
JP3358103B2
JP3358103B2 JP28962495A JP28962495A JP3358103B2 JP 3358103 B2 JP3358103 B2 JP 3358103B2 JP 28962495 A JP28962495 A JP 28962495A JP 28962495 A JP28962495 A JP 28962495A JP 3358103 B2 JP3358103 B2 JP 3358103B2
Authority
JP
Japan
Prior art keywords
integration
record
records
file
condition
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 - Lifetime
Application number
JP28962495A
Other languages
Japanese (ja)
Other versions
JPH09134301A (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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP28962495A priority Critical patent/JP3358103B2/en
Publication of JPH09134301A publication Critical patent/JPH09134301A/en
Application granted granted Critical
Publication of JP3358103B2 publication Critical patent/JP3358103B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数の提供側業務
システムのデータベースに含まれるレコードから新しい
レコードを作成するデータ統合技術に係り、特に、複数
の提供側業務システムからのデータベースデータを受信
する業務システムの構築や、データウェアハウス(複数
の提供側業務システムからのデータベースデータを抽出
して構築される意志決定支援用のデータベース)の構築
などを高効率化するのに好適なデータ統合方法に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data integration technique for creating a new record from records contained in databases of a plurality of provider business systems, and more particularly, to receiving database data from a plurality of provider business systems. The present invention relates to a data integration method suitable for improving the efficiency of construction of a business system and construction of a data warehouse (a database for decision support constructed by extracting database data from a plurality of provider business systems). Things.

【0002】[0002]

【従来の技術】データ統合(以下、統合という)とは、
複数の業務システムのデータベースに含まれるレコード
のうち、指定された条件、すなわち統合条件を満たすレ
コード同士をまとめて、新しいレコード(統合レコー
ド)を作成する処理のことである。尚、統合前のレコー
ドが統合条件を満たす最大の回数を統合基数と呼ぶ。
2. Description of the Related Art Data integration (hereinafter referred to as integration)
This is a process of creating a new record (integrated record) by putting together records that satisfy a specified condition, that is, integration conditions, among records included in databases of a plurality of business systems. Note that the maximum number of times that the record before integration satisfies the integration condition is called an integration radix.

【0003】図24を用いて、設備設計レコードと設備
現況レコードの統合例を説明する。ここで、統合条件、
および、統合基数に関して以下の仮定をおく。 統合条件:設備設計.設備コード=設備現況.設備コード AND 設備設計.工事完了日=設備現況.最新工事完了日 統合基数:設備設計:1(設備設計レコード241に対応する設備現況レコー ド242は1つ) 設備現況:1(設備現況レコード242に対応する最新の設備設計 レコード241は1つ) この場合、設備設計レコード241と設備現況レコード
242の図中の矢印で対応付けられた組み合わせ3組が
統合される。
An example of integrating a facility design record and a facility current state record will be described with reference to FIG. Where integration conditions,
The following assumptions are made regarding the integrated radix. Integration conditions: equipment design. Equipment code = Equipment status. Equipment code AND Equipment design. Construction completion date = Equipment status. Completion date of latest construction Integrated radix: Equipment design: 1 (one equipment status record 242 corresponding to equipment design record 241) Equipment status: 1 (one latest equipment design record 241 corresponding to equipment status record 242) In this case, three combinations of the equipment design record 241 and the equipment status record 242 associated with the arrows in the figure are integrated.

【0004】次に、図25,26を用いて、伝送路レコ
ードと専用線レコードの統合例を説明する。図25に示
すように、伝送路251は、高々2本の専用線252を
収容し、専用線252は、必ず1本の伝送路251に収
容されるとする。すなわち、統合基数は以下と仮定す
る。 統合基数:伝送路:2(伝送路が収容する専用線は2本) 専用線:1(専用線が収容される伝送路は1本) また、統合条件に関して以下の仮定をおく。 統合条件:伝送路.伝送路コード=専用線.収容伝送路
コード この場合、図26における矢印で対応付けて示されるよ
うに、伝送路レコード261が1つと専用線262が2
つの組み合わせ3組が統合される。
Next, an example of integrating transmission line records and leased line records will be described with reference to FIGS. As shown in FIG. 25, it is assumed that the transmission line 251 accommodates at most two dedicated lines 252, and the dedicated line 252 is always accommodated in one transmission line 251. That is, it is assumed that the integrated radix is as follows. Integrated radix: Transmission path: 2 (the transmission line accommodates two dedicated lines) Dedicated line: 1 (the transmission line accommodates one dedicated line) The following assumptions are made regarding the integration conditions. Integration conditions: transmission path. Transmission line code = dedicated line. Accommodating transmission line code In this case, as indicated by the arrow in FIG. 26, one transmission line record 261 and two dedicated lines 262
Are combined.

【0005】従来、このような統合は、個別にアプリケ
ーションプログラムを作成することによって実現されて
いた。以下、従来の統合処理に係る2つの代表的技術を
説明する。まず、全レコードファイルの利用による統合
技術に関して、図27を用いて説明する。統合処理を行
なう利用側システム277は、提供側システムX271
と提供側システムY274から、それぞれ、全レコード
ファイルX273と全レコードファイルY276を受信
して、受信した全レコードファイルX273内のレコー
ドと、全レコードファイルY276内のレコードとの間
で統合処理を行なう。この技術の問題は、提供側データ
ベースX272、あるいは、提供側データベースY40
5の全レコードの量が多い場合、全レコードファイルの
送信に多くの時間が必要となり、提供側システムX27
1あるいは提供側システムY274の性能を大きく圧迫
してしまうことである。
Conventionally, such integration has been realized by creating individual application programs. Hereinafter, two typical techniques related to the conventional integration processing will be described. First, an integration technique using all record files will be described with reference to FIG. The user system 277 performing the integration process is provided by the provider system X271.
Then, all the record files X273 and all the record files Y276 are received from the provider system Y274 and the record in the received all record files X273 and the record in the all record files Y276 are integrated. The problem with this technique is that the provider database X272 or the provider database Y40
5 is large, the transmission of all record files requires a lot of time, and the providing system X27
1 or the performance of the providing system Y274 is greatly squeezed.

【0006】次に、差分ファイルの利用および提供側デ
ータベースへのアドホックアクセスによる統合技術に関
して、図28を用いて説明する。統合処理を行なう利用
者側システム287は、提供側システムX281と提供
側システムY284から、それぞれ前回受信後の差分フ
ァイル(差分ファイルX283,差分ファイルY28
6)を受信した後、以下の手順で統合を行なう。まず、
差分ファイルX283と差分ファイルY286との間で
統合を行なう。そして、差分ファイルX283のレコー
ドの中で、統合条件を満たす回数が統合基数に達しなか
ったレコードについて、提供側システムY284のデー
タベースY285にアドホックアクセス289を行な
い、統合相手のレコードを検索し、統合を試みる。同様
に、差分ファイルY286のレコードの中で、統合条件
を満たす回数が統合基数に達しなかったレコードについ
て、提供側システムX281のデータベースX282に
アドホックアクセス288を行ない、統合相手のレコー
ドを検索し、統合を試みる。
Next, an integration technique using a difference file and ad hoc access to a provider database will be described with reference to FIG. The user side system 287 performing the integration process receives the difference files (the difference file X283 and the difference file Y28) from the provider system X281 and the provider system Y284 after the previous reception.
After receiving 6), integration is performed in the following procedure. First,
Integration is performed between the difference file X283 and the difference file Y286. Then, among the records of the difference file X283, for the records in which the number of times satisfying the integration condition has not reached the integration radix, the ad hoc access 289 is performed to the database Y285 of the provider system Y284, and the record of the integration partner is searched for. Try. Similarly, among the records of the difference file Y286, for records whose number of times satisfying the integration condition has not reached the integration radix, the ad hoc access 288 is performed to the database X282 of the provider system X281 to search for the record of the integration partner. Try.

【0007】この統合技術を用いれば、統合処理時点
で、新たに統合可能なレコードは全て統合される。しか
し、この技術の問題は、提供側データベースX282へ
のアドホックなアクセス288、あるいは、提供側デー
タベースY285へのアドホックなアクセス289が発
生する場合、提供側システムX281、あるいは、提供
側システムY284の性能を圧迫することである。
[0007] If this integration technique is used, all new records that can be integrated are integrated at the time of integration processing. However, the problem of this technology is that when ad-hoc access 288 to the provider database X282 or ad-hoc access 289 to the provider database Y285 occurs, the performance of the provider system X281 or the provider system Y284 is reduced. It is pressure.

【0008】また、上述の2つの統合技術には、提供側
データベースへのレコードの投入漏れを見つけることが
難しいという共通の問題点がある。この問題の簡単な解
決技術としては、統合条件を満たす回数が統合基数未満
の全てのレコードを、統合処理システムの運用者にエラ
ー通知し、運用者が、各レコードの統合相手の投入漏れ
の有無を確認するというものが考えられる。しかし、一
般に、各提供側システムの運用(データ投入、および、
差分ファイルの統合処理システムへの送信)が同期して
いる保証はなく、本来、統合条件を満たすべきレコード
の一部の受信時期が、他のレコードの受信時期とずれる
ことがありうる。その結果、上述の解決技術では、単
に、受信時期がずれているだけのレコードが、大量に、
運用者にエラー通知される危険性があり、上述の解決策
は、非現実的である。
[0008] Further, the above two integrated technologies have a common problem that it is difficult to find a record omission in a provider database. As a simple solution to this problem, an error notification is given to the operator of the integrated processing system for all records whose number of times satisfying the integration condition is less than the integration radix, and the operator checks whether there is any omission of the integration partner of each record. It is conceivable to check However, in general, the operation of each provider system (data input and
There is no guarantee that the transmission of the difference file to the integrated processing system is synchronized, and the reception timing of a part of a record that should satisfy the integration condition may be shifted from the reception timing of another record. As a result, in the above-described solution technology, a large number of records whose reception time is simply shifted,
There is a risk that the operator will be notified of an error, and the above solution is impractical.

【0009】[0009]

【発明が解決しようとする課題】解決しようとする問題
点は、従来の技術では、提供側システムからの全レコー
ド送信、あるいは、提供側システムへのアドホックなア
クセスが必要であり、提供側システムの性能を圧迫して
しまう点と、提供側データベースへのレコードの投入漏
れを高信頼かつ効率的に見つけることができない点であ
る。本発明の目的は、これら従来技術の課題を解決し、
差分ファイルを送信した提供側システムからの全レコー
ド送信、あるいは、提供側システムへのアドホックなア
クセスを不要とし、提供者側システムの性能圧迫の軽減
を可能とすると共に、提供側データベースへのレコード
の投入漏れの容易な検出を可能とするデータ統合方法を
提供することである。
The problem to be solved is that, in the prior art, transmission of all records from the providing system or ad-hoc access to the providing system is necessary, and The point is that the performance is squeezed, and the omission of record input to the provider database cannot be detected with high reliability and efficiency. An object of the present invention is to solve these problems of the prior art,
Eliminates the need to send all records from the provider system that sent the difference file or ad-hoc access to the provider system, thereby reducing the performance pressure on the provider system and saving records to the provider database. An object of the present invention is to provide a data integration method that enables easy detection of input omission.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するた
め、本発明のデータ統合方法は、(1)複数のデータベ
ースから送信された各ファイルを受信し、この受信した
各ファイル内の各レコードが予め指定された統合条件を
満たすか否かを評価し、この統合条件を満足したレコー
ド同士をまとめて、新しいレコードを作成するデータ統
合方法において、評価時に、各レコードの統合条件を満
足した回数を各レコード毎に計数し、この回数が、統合
条件を満足する最大回数を表す統合基数に達したか否か
を判別し、統合条件を満足した回数が統合基数に達しな
かったレコードを、統合条件を満足した回数を対応付け
て一時蓄積し、新たに各データベースから送信された前
回ファイルとの差分ファイルを受信し、この差分ファイ
ル内のレコードの評価時、一時蓄積したレコードを含め
て評価および計数を行ない、一時蓄積したレコードの
内、統合条件を満足した回数が統合基数に達したレコー
ドを一時蓄積から破棄し、各差分ファイル内のレコード
および一時蓄積したレコードの内、統合条件を満足した
回数が統合基数に達しなかったレコードを、次の差分フ
ァイル受信時の再評価用に、統合条件を満足した回数を
対応付けて一時蓄積することを特徴とする。また、
(2)複数のデータベースから送信された各ファイルを
受信し、この受信した各ファイル内の各レコードが予め
指定された統合条件を満たすか否かを評価し、この統合
条件を満足したレコード同士をまとめて、新しいレコー
ドを作成するデータ統合方法において、評価時に、各レ
コードの統合条件を満足した回数を各レコード毎に計数
し、この回数が、統合条件を満足する最大回数を表す統
合基数に達したか否かを判別し、統合条件を満足した回
数が統合基数に達しなかったレコードを、統合条件を満
足した回数と最初に受信した日時を対応付けて一時蓄積
し、新たに各データベースから送信された前回ファイル
との差分ファイルを受信し、この差分ファイル内のレコ
ードの評価時、一時蓄積したレコードを含めて評価およ
び計数を行ない、一時蓄積したレコードの内、統合条件
を満足した回数が統合基数に達したレコードを一時蓄積
から破棄し、各差分ファイル内のレコードおよび一時蓄
積したレコードの内、統合条件を満足した回数が統合基
数に達しなかったレコードを、次の差分ファイル受信時
の再評価用に、統合条件を満足した回数と最初に受信し
た日時を対応付けて一時蓄積し、かつ、この再評価用に
一時蓄積するレコードの内、受信日時から予め設定され
た蓄積期限を越えたレコードを抽出して、エラー通知す
ることを特徴とする。また、(3)複数のデータベース
から送信された各ファイルを受信し、この受信した各フ
ァイル内の各レコードが予め指定された統合条件を満た
すか否かを評価し、この統合条件を満足したレコード同
士をまとめて、新しいレコードを作成するデータ統合方
法において、評価時に、各レコードの統合条件を満足し
た回数を各レコード毎に計数し、この回数が、統合条件
を満足する最大回数を表す統合基数に達したか否かを判
別し、統合条件を満足した回数が統合基数に達しなかっ
たレコードを、統合条件を満足した回数と評価を受けた
総回数(被統合処理回数)を対応付けて一時蓄積し、新
たに各データベースから送信された前回ファイルとの差
分ファイルを受信し、この差分ファイル内のレコードの
評価時、一時蓄積したレコードを含めて評価および計数
を行ない、一時蓄積したレコードの内、統合条件を満足
した回数が統合基数に達したレコードを一時蓄積から破
棄し、各差分ファイル内のレコードおよび一時蓄積した
レコードの内、統合条件を満足した回数が統合基数に達
しなかったレコードを、次の差分ファイル受信時の再評
価用に、統合条件を満足した回数と被統合処理回数を対
応付けて一時蓄積し、かつ、この再評価用に一時蓄積す
るレコードの内、被統合処理回数が予め設定された回数
を越えたレコードを抽出して、エラー通知することを特
徴とする。また、(4)上記(1)から(3)のいずれ
かに記載のデータ統合方法において、レコードへの統合
条件を満足した回数の対応付けは、各レコードに、統合
条件を満足した回数を登録するフィールドを追加して行
なうことを特徴とする。
To achieve the above object, the data integration method of the present invention comprises the steps of (1) receiving each file transmitted from a plurality of databases, and storing each record in the received file. In the data integration method of evaluating whether or not a predetermined integration condition is satisfied and combining records satisfying the integration condition and creating a new record, the number of times that the integration condition of each record is satisfied is evaluated at the time of evaluation. It is counted for each record, and it is determined whether or not this number has reached the integration radix indicating the maximum number of times that the integration condition is satisfied. Is temporarily stored in association with the number of times satisfying the above, a difference file from the previous file newly transmitted from each database is received, and the records in the difference file are evaluated. At this time, evaluation and counting are performed including the temporarily accumulated records, and among the temporarily accumulated records, the records that satisfy the integration condition and reach the integration radix are discarded from the temporary accumulation, and the records in each difference file and the temporary Among the accumulated records, records whose number of times that the integration condition was satisfied did not reach the integration radix are temporarily stored in association with the number of times that the integration condition was satisfied for re-evaluation at the time of receiving the next difference file. And Also,
(2) Receiving each file transmitted from a plurality of databases, evaluating whether each record in each received file satisfies an integration condition specified in advance, and comparing records satisfying the integration condition with each other In summary, in the data integration method that creates a new record, the number of times that the integration condition of each record is satisfied is counted for each record during evaluation, and this number reaches the integration radix that indicates the maximum number of times that the integration condition is satisfied. The number of times that the integration condition was satisfied did not reach the integration radix, and the number of times that the integration condition was satisfied and the date and time of first reception are temporarily stored, and newly transmitted from each database. Received the difference file from the previous file, and evaluates and counts the records in the difference file, including the temporarily accumulated records, Of the records accumulated when the number of times that the integration condition was satisfied reached the integration radix, the records that had reached the integration radix were discarded from the temporary accumulation, and the number of records in each difference file and the temporarily accumulated records that satisfied the integration condition were the integration radix. Records that have not reached the number of records that are temporarily stored for re-evaluation at the time of receiving the next difference file, by associating the number of times that the integration conditions were satisfied with the date and time of first reception, and temporarily storing the data for this re-evaluation. Among them, a record that exceeds a preset storage time limit from the reception date and time is extracted and an error notification is performed. Further, (3) receiving each file transmitted from the plurality of databases, evaluating whether each record in each received file satisfies a pre-designated integration condition, and determining a record satisfying the integration condition. In a data integration method for creating a new record by putting together, at the time of evaluation, the number of times each record that satisfies the integration condition is counted for each record, and this number represents the maximum number of radix that satisfies the integration condition. The number of times that the integration condition was satisfied did not reach the integration radix, and the number of times that the integration condition was satisfied and the total number of evaluations (integrated processing times) were associated with each other. Accumulate and receive the difference file from the previous file newly transmitted from each database, and when evaluating the records in this difference file, include the temporarily accumulated records The number of records that satisfy the integration condition among the temporarily accumulated records is discarded from the temporary accumulation, and the integration condition of the records in each difference file and the temporarily accumulated record is discarded. Records for which the number of satisfies does not reach the integration radix are temporarily stored in association with the number of times that the integration condition is satisfied and the number of processes to be integrated for re-evaluation at the time of receiving the next difference file, and Out of the records temporarily stored in the storage device, the records in which the number of times of integration processing exceeds a preset number of times are extracted, and an error is notified. (4) In the data integration method according to any one of (1) to (3), the number of times that the integration condition is satisfied is registered in each record as the number of times that the integration condition is satisfied. This is characterized by adding a field to be performed.

【0011】[0011]

【発明の実施の形態】本発明においては、統合条件を満
たした回数が統合基数に満たないレコードを、統合条件
を満たす可能性を残しているレコードとして、統合条件
を満たした回数を対応付けて、図2に示す一時蓄積部2
に一時的に蓄積する。そして、統合条件の評価の際、受
信ファイル内の各レコードに加えて、一時蓄積部2に蓄
積した各レコードも評価対象としてデータ統合処理を行
なう。この時、新たに統合したレコードに関して、統合
条件を満足した回数を加算する。この加算結果が統合基
数に達したレコードは、一時蓄積部2から削除し、統合
基数に満たないレコードのみ、加算結果を対応付けて一
時蓄積部2に蓄積する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In the present invention, a record in which the number of times that the integration condition is satisfied is less than the integration radix is defined as a record that has a possibility of satisfying the integration condition, and the number of times that the integration condition is satisfied is associated with the record. , Temporary storage unit 2 shown in FIG.
To temporarily accumulate. Then, at the time of evaluation of the integration condition, data integration processing is performed for each record stored in the temporary storage unit 2 as an evaluation target in addition to each record in the received file. At this time, the number of times that the integration condition is satisfied is added to the newly integrated record. Records in which the addition result has reached the integrated radix are deleted from the temporary storage unit 2, and only those records that do not satisfy the integrated radix are stored in the temporary storage unit 2 in association with the addition results.

【0012】このように、各レコードが統合条件を満た
す可能性があるか否かの判断を、統合条件を満足した回
数が統合基数に達したか否かで行なう。このことによ
り、提供側システムから受信するファイルを、全レコー
ドファイルではなく、前回受信後の差分ファイルとする
場合、従来必要であったアドホックアクセスは、一時蓄
積部2へのアクセスによって代替でき不要となる。すな
わち、新たに統合条件を満たす可能性のあるレコード
は、新たに受信した差分ファイル内のレコード、およ
び、以前に受信したファイル内のレコードの内、統合条
件を満たした総回数が統合基数に達しないレコードであ
り、この以前に受信したファイル内のレコードは、以前
の統合処理において一時蓄積部2に蓄積されている。従
って、新たに統合条件を満たしうるレコードは、受信し
た差分ファイル内、あるいは、一時蓄積部2に全て存在
しており、本発明により、新たに統合可能なレコードは
漏れなく統合されることになる。
As described above, whether or not each record may satisfy the integration condition is determined based on whether or not the number of times that the integration condition is satisfied has reached the integration radix. As a result, when the file received from the providing system is not the entire record file but the differential file after the previous reception, the ad hoc access conventionally required can be replaced by the access to the temporary storage unit 2 and becomes unnecessary. Become. In other words, among records that may newly satisfy the integration condition, the total number of records in the difference file newly received and the records in the previously received file that satisfy the integration condition reach the integration radix. The record in the file received earlier is stored in the temporary storage unit 2 in the previous integration processing. Therefore, records that can newly satisfy the integration condition are all present in the received difference file or in the temporary storage unit 2, and according to the present invention, records that can be newly integrated are integrated without omission. .

【0013】また、本発明においては、一時蓄積された
レコードの一時蓄積期限の閾値として一時蓄積期限日時
を予め設定して管理する。すなわち、レコードの一時蓄
積部2への蓄積時、統合条件を満たした回数と共に、レ
コードの最初の受信日時も対応付けておく。そして、一
時蓄積部2に一時蓄積したレコードに対して、最初の受
信日時から統合処理時点までの経過日時を算出し、この
経過日時が、一時蓄積期限日時を越えるか否かを判別す
る。このことにより、例えば、提供側のデータベースへ
のレコードの投入漏れがあった場合のエラーを効率良く
検出することができる。
In the present invention, the temporary storage expiration date and time is set and managed in advance as a temporary storage expiration threshold value of the temporarily stored record. That is, when a record is stored in the temporary storage unit 2, the first reception date and time of the record are associated with the number of times that the integration condition is satisfied. Then, for the record temporarily stored in the temporary storage unit 2, the elapsed date and time from the first reception date and time to the integration processing time is calculated, and it is determined whether or not the elapsed date and time exceeds the temporary storage expiration date and time. As a result, for example, an error can be efficiently detected when there is a record omission in the provider database.

【0014】すなわち、提供側のデータベースへのレコ
ードの投入漏れがあった場合、そのレコードとの統合相
手となるレコードの統合条件満足回数が統合基数に達す
ることはないため、本発明によれば、所定の時期に、運
用者にエラー通知される。運用者は、このエラー通知に
基づき、レコードの投入漏れの有無を確認できる。ここ
で、運用者にエラー通知が行なわれるのは、一時蓄積期
限で示される期間を越えて一時蓄積されたレコードだけ
である。これにより、本来、統合条件を満たすべき複数
のレコードの受信時期にずれが生じた場合でも、そのず
れが一時蓄積期限内ならば、先行して、受信したレコー
ドが運用者にエラー通知されることはない。従って、大
量のレコードが運用者にエラー通知される危険性は少な
く、本発明は、提供側データベースへのレコードの投入
漏れを見つけるための現実的な解となる。
In other words, if a record is omitted from the database on the provider side, the number of times that the record to be integrated with the record satisfies the integration condition does not reach the integration radix. At a predetermined time, an error is notified to the operator. The operator can confirm whether there is any omission of record input based on the error notification. Here, the error is notified to the operator only for the records temporarily stored beyond the period indicated by the temporary storage time limit. As a result, even if there is a difference in the reception timing of multiple records that should originally satisfy the integration condition, if the difference is within the temporary storage period, the received record will be notified to the operator in advance with an error. There is no. Therefore, there is little danger that a large number of records will be notified to the operator by error, and the present invention is a practical solution for finding omission of records into the provider database.

【0015】また、本発明においては、一時蓄積したレ
コードの一時蓄積期限の閾値として、統合処理が行なわ
れた回数(被統合処理回数=一時蓄積された回数)を予
め設定して管理する。すなわち、レコードの一時蓄積部
2への蓄積時、統合条件を満たした回数と共に、一時蓄
積された回数(被統合処理回数)も対応付けておく。そ
して、一時蓄積部2に一時蓄積したレコードに対して、
その蓄積回数を加算し、この加算結果が、被統合処理回
数を越えるか否かを判別する。これにより、上述の一時
蓄積期限日時を一時蓄積期限の閾値として用いた場合と
同様、提供側のデータベースへのレコードの投入漏れの
エラー検出を効率良く行なうことができ、レコードの投
入漏れを見つけるための現実的な解となる。
In the present invention, the number of times of integration processing (the number of times of integration processing = the number of times of temporary storage) is set and managed in advance as a threshold of the temporary storage time limit of the temporarily stored records. That is, when records are stored in the temporary storage unit 2, the number of times that the integration condition is satisfied and the number of times of temporary storage (the number of times of integration processing) are associated with each other. Then, for the record temporarily stored in the temporary storage unit 2,
The number of times of accumulation is added, and it is determined whether or not the addition result exceeds the number of times of integration processing. As a result, similarly to the case where the temporary storage expiration date and time is used as the threshold of the temporary storage expiration as described above, it is possible to efficiently detect errors in the omission of record input to the database on the provider side, and to detect omission of record input. Is a realistic solution.

【0016】[0016]

【実施例】以下、本発明の実施例を、図面により詳細に
説明する。図1は、本発明のデータ統合方法の本発明に
係る処理の第1の実施例を示すフローチャートであり、
図2は、その処理を行なうシステムの構成例を示すブロ
ック図である。図2における本発明のデータ統合処理を
行なうシステムは、統合制御用情報を管理する統合制御
情報管理部1と、レコードを一時的に蓄積する一時蓄積
部2と、レコードにフィールドを追加する統合前処理部
3と、統合レコードを作成する統合レコード作成部4
と、レコードの破棄、あるいは、一時蓄積部2への蓄積
を行なう統合後処理部5とからなる。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a flowchart showing a first embodiment of a process according to the present invention of the data integration method of the present invention,
FIG. 2 is a block diagram illustrating a configuration example of a system that performs the processing. The system for performing the data integration process of the present invention in FIG. 2 includes an integrated control information management unit 1 for managing integrated control information, a temporary storage unit 2 for temporarily storing records, and a pre-integration for adding a field to a record. Processing unit 3 and integrated record creation unit 4 for creating an integrated record
And a post-integration processing unit 5 that discards records or stores them in the temporary storage unit 2.

【0017】このような構成のデータ統合処理システム
による本発明に係る動作説明を、図1に基づき行なう。
まず、統合制御情報管理部1において、統合条件および
レコードタイプの組み合わせ毎に統合基数を予め設定し
管理する(ステップ101)。提供側システムからファ
イルを受信すると(ステップ102)、統合前処理部3
において、図3に示すように、受信したファイル内のレ
コード31に統合条件満足回数フィールド32を追加す
る(ステップ103)。
The operation of the data integration processing system having such a configuration according to the present invention will be described with reference to FIG.
First, the integrated control information management unit 1 sets and manages an integrated radix in advance for each combination of an integration condition and a record type (step 101). When a file is received from the provider system (step 102), the pre-integration processing unit 3
In FIG. 3, as shown in FIG. 3, the integration condition satisfaction count field 32 is added to the record 31 in the received file (step 103).

【0018】次に、統合レコード作成部4において、受
信ファイル内のレコードおよび一時蓄積部に蓄積された
レコードについて統合条件を評価し、統合条件を満たす
レコードの組み合わせから統合レコードを作成する(ス
テップ104)。そして、統合後処理部5において、受
信ファイル内のレコードおよび一時蓄積部2に蓄積され
たレコードの内、次の図4において詳細を示すように、
一部のレコードを破棄し、残りを一時蓄積部2に蓄積す
る(ステップ105)。
Next, the integrated record creation unit 4 evaluates integration conditions for the records in the received file and the records stored in the temporary storage unit, and creates an integrated record from a combination of records that satisfy the integration conditions (step 104). ). Then, in the post-integration processing unit 5, of the records in the received file and the records stored in the temporary storage unit 2, as shown in detail in FIG.
Some records are discarded, and the rest are stored in the temporary storage unit 2 (step 105).

【0019】図4は、図1における統合後処理の本発明
に係る詳細動作例を示すフローチャートである。以降の
動作を受信ファイル内の各レコードおよび一時蓄積部に
蓄積された各レコードについて行なう(ステップ40
1)。まず、受信ファイル内の各レコードおよび一時蓄
積部に蓄積された各レコードの内、未処理のレコードを
一つ取り出し(ステップ402)、図3の統合条件満足
回数フィールド32に対して新たに統合条件を満たした
回数を加算する(ステップ403)。次に、統合条件満
足回数フィールド32の値を統合制御情報管理部1で管
理された統合基数と比較し(ステップ404)、この統
合条件満足回数フィールド32の値が統合基数に達した
レコードを破棄し(ステップ405)、達しないレコー
ドを一時蓄積部2に蓄積する(ステップ406)。
FIG. 4 is a flowchart showing a detailed operation example of the post-integration processing in FIG. 1 according to the present invention. The subsequent operation is performed for each record in the received file and each record stored in the temporary storage unit (step 40).
1). First, one unprocessed record is taken out of each record in the received file and each record stored in the temporary storage unit (step 402), and a new integration condition Are added (step 403). Next, the value of the integration condition satisfaction count field 32 is compared with the integration radix managed by the integration control information management unit 1 (step 404), and records whose integration condition satisfaction count field 32 reaches the integration radix are discarded. Then, the record that does not reach is stored in the temporary storage unit 2 (step 406).

【0020】このような処理の具体的な例を、設備設計
レコードと設備現況レコードとの統合の例を用いて、図
5〜図7に従って説明する。尚、ここで、統合条件は以
下の通りとする。 設備設計、設備コード=設備現況、設備コードAND
設備設計、工事完了日=設備現況、最新工事完了日 また、統合基数は以下の通りとする。 設備設計:1(設備設計レコードに対応する設備現況レ
コードは1つ) 設備現況:1(設備現況レコードに対応する最新の設備
設計レコードは1つ) また、提供側システムおよび統合処理システムとも初期
状態とする ・一回目のファイル受信時の各提供側データベースの内
容は、対応する受信ファイルの内容と等しいものとす
る。 ・統合処理システムの一時蓄積部2に蓄積されているレ
コードはないものとする。
A specific example of such processing will be described with reference to FIGS. 5 to 7 by using an example of integration of a facility design record and a facility status record. Here, the integration conditions are as follows. Equipment design, equipment code = equipment status, equipment code AND
Equipment design, construction completion date = equipment status, latest construction completion date The integrated radix is as follows. Facility design: 1 (one facility status record corresponding to the facility design record) Facility status: 1 (one latest facility design record corresponding to the facility status record) Also, the initial state of both the provider system and the integrated processing system・ The contents of each provider database at the time of the first file reception shall be equal to the contents of the corresponding reception file. -It is assumed that there is no record stored in the temporary storage unit 2 of the integrated processing system.

【0021】まず、図5に示すように、設備設計レコー
ド一回目受信ファイル51として4つのレコード(設備
コード1001〜1004)を、また、設備現況レコー
ド一回目受信ファイル52として2つのレコード(設備
コード1001,1002)を受信する。それぞれの受
信ファイル内のレコードに対して統合条件を評価し、図
6の一回目統合処理で作成された統合レコード61とし
て示すように、統合レコードを2つ(設備コード100
1,1002)作成する。しかし、統合条件満足回数が
統合基数未満(=0)の、設備設計レコードの2つ(設
備コード1003,1004)は、図6の一回目統合処
理終了時点で一時蓄積部に蓄積された設備設計レコード
62として示すように図2の一時蓄積部2に蓄積する。
First, as shown in FIG. 5, four records (equipment codes 1001 to 1004) are used as the first reception file 51 of the equipment design record, and two records (equipment code) are used as the first reception file 52 of the equipment status record. 1001, 1002). The integration conditions are evaluated for the records in each of the received files, and two integrated records (equipment code 100) are created as shown in the integrated record 61 created in the first integration process in FIG.
1,1002) Create. However, two of the equipment design records (equipment codes 1003 and 1004) whose integration condition satisfaction times are less than the integration radix (= 0) are the equipment design records stored in the temporary storage unit at the end of the first integration processing in FIG. The data is stored in the temporary storage unit 2 of FIG.

【0022】次に、図7に示すように、設備設計レコー
ド二回目受信ファイル71として2つのレコード(設備
コード1005,1006)を、また、設備現況レコー
ド二回目受信ファイル72として4つのレコード(設備
コード1003〜1006)を受信する。受信ファイル
71,72内のレコードと、図2の一時蓄積部2に蓄積
された図6のレコード62に対して統合条件を評価する
ことにより、二回目統合処理で作成された統合レコード
73で示すように、統合レコードを4つ(設備コード1
003〜1006)作成する。
Next, as shown in FIG. 7, two records (equipment codes 1005 and 1006) are used as the equipment design record second reception file 71, and four records (equipment information) are used as the equipment status record second reception file 72. Codes 1003 to 1006) are received. By evaluating the integration conditions for the records in the reception files 71 and 72 and the record 62 of FIG. 6 stored in the temporary storage unit 2 of FIG. 2, the integration record 73 is created by the second integration processing. As shown, four integrated records (equipment code 1
003 to 1006) Create.

【0023】このように、各回の統合処理において、受
信ファイル内のレコードに加えて、図2の一時蓄積部2
に蓄積されたレコードも統合条件評価対象とすることに
より、新たに統合可能なレコードを漏れなく統合するこ
とができる。また、図2の一時蓄積部2へのアクセスに
より、従来の技術で必要であった提供側データベースへ
のアドホックアクセスが代替され、不要となる。
As described above, in each integration process, in addition to the record in the received file, the temporary storage unit 2 shown in FIG.
The records that have been stored in the database are also subjected to the integration condition evaluation, so that records that can be newly integrated can be integrated without omission. Further, the access to the temporary storage unit 2 in FIG. 2 replaces the ad hoc access to the provider database, which is required in the conventional technique, and becomes unnecessary.

【0024】次に、本発明の第2の実施例を、図8〜図
15に従って説明する。図8は、本発明のデータ統合方
法の本発明に係る処理の第2の実施例を示すフローチャ
ートである。本例の処理は、第1の実施例と同様に図2
に示す構成のシステムにより行なわれる。まず、統合制
御情報管理部1において、統合条件およびレコードタイ
プの組み合わせ毎に統合基数を予め設定し管理する(ス
テップ801)。提供側システムからファイルを受信す
ると(ステップ802)、統合前処理部3において、図
9に示すように、受信したファイル内のレコード91
に、統合条件満足回数フィールド92と受信日時フィー
ルド93を追加し、統合条件満足回数フィールド92の
初期値として「0」を設定し、受信日時フィールド93
の初期値として受信日時を設定する(ステップ80
3)。
Next, a second embodiment of the present invention will be described with reference to FIGS. FIG. 8 is a flowchart showing a second embodiment of the processing according to the present invention of the data integration method of the present invention. The processing of this example is the same as that of the first embodiment.
This is performed by the system having the configuration shown in FIG. First, the integrated control information management unit 1 sets and manages an integrated radix in advance for each combination of an integration condition and a record type (step 801). When a file is received from the providing system (step 802), the pre-integration processing unit 3 records the record 91 in the received file as shown in FIG.
, An integration condition satisfaction count field 92 and a reception date / time field 93 are added, and “0” is set as an initial value of the integration condition satisfaction count field 92.
The reception date and time are set as the initial value of (Step 80)
3).

【0025】次に、統合レコード作成部4において、受
信ファイル内のレコードおよび一時蓄積部2に蓄積した
各レコードについて統合条件を評価し、統合条件を満た
すレコードの組み合わせから統合レコードを作成する
(ステップ804)。そして、統合後処理部5におい
て、受信ファイル内のレコードおよび一時蓄積部2に蓄
積したレコードの内、次の図10において詳細を示すよ
うに、一部のレコードを破棄し、残りを一時蓄積部2に
蓄積し、さらに、一時蓄積部2に蓄積されたレコードの
内一時蓄積期限を越えて一時蓄積されているレコードを
エラー通知する(ステップ805)。
Next, the integrated record creation unit 4 evaluates the integration conditions for the records in the received file and each record stored in the temporary storage unit 2, and creates an integrated record from a combination of records satisfying the integration conditions (step). 804). Then, the post-integration processing unit 5 discards some of the records in the received file and the records stored in the temporary storage unit 2 as shown in FIG. 2, and an error notification is given to the records temporarily stored in the temporary storage unit 2 that exceed the temporary storage time limit (step 805).

【0026】図10は、図8における統合後処理の本発
明に係る詳細動作例を示すフローチャートである。以降
の動作を受信ファイル内の各レコードおよび一時蓄積部
2に蓄積された各レコードについて行なう(ステップ1
11)。まず、受信ファイル内の各レコードおよび一時
蓄積部2に蓄積された各レコードの内、未処理のレコー
ドを一つ取り出し(ステップ112)、図9の統合条件
満足回数フィールド92に対して新たに統合条件を満た
した回数を加算する(ステップ113)。
FIG. 10 is a flowchart showing a detailed operation example of the post-integration processing in FIG. 8 according to the present invention. The subsequent operation is performed for each record in the received file and each record stored in the temporary storage unit 2 (step 1).
11). First, one unprocessed record is extracted from each record in the received file and each record stored in the temporary storage unit 2 (step 112), and newly integrated into the integration condition satisfaction count field 92 in FIG. The number of times satisfying the condition is added (step 113).

【0027】次に、この統合条件満足回数フィールド9
2の値を統合制御情報管理部1に管理された統合基数と
比較し(ステップ114)、統合条件満足回数フィール
ド92の値が統合基数に達したレコードを破棄し(ステ
ップ115)、達しないレコードを一時蓄積部2に蓄積
する(ステップ116)。さらに、この一時蓄積部2に
蓄積したレコードについて、図9の受信日時フィールド
93の値から統合処理時点までの経過日時と、統合制御
情報管理部1に管理された一時蓄積期限とを比較し(ス
テップ117)、経過日時が統合制御情報管理部1に管
理された一時蓄積期限を過ぎているレコードを運用者に
エラー通知する(ステップ118)。
Next, the integration condition satisfaction count field 9
The value of 2 is compared with the integrated radix managed by the integrated control information management unit 1 (step 114), and records in which the value of the integration condition satisfaction count field 92 has reached the integrated radix are discarded (step 115), and records not reached Is stored in the temporary storage unit 2 (step 116). Further, with respect to the records stored in the temporary storage unit 2, the elapsed date and time from the value of the reception date and time field 93 in FIG. 9 to the time of integration processing is compared with the temporary storage time limit managed by the integrated control information management unit 1 ( (Step 117), an error is notified to the operator of the record whose elapsed date and time has passed the temporary storage time limit managed by the integrated control information management unit 1 (Step 118).

【0028】このような処理の具体的な例を、設備設計
レコードと設備現況レコードとの統合の例を用いて、図
11〜図16に従って説明する。尚、ここで、統合条件
は以下の通りとする。 設備設計、設備コード=設備現況、設備コードAND
設備設計、工事完了日=設備現況、最新工事完了日 また、統合基数は以下の通りとする。 設備設計:1(設備設計レコードに対応する設備現況レ
コードは1つ) 設備現況:1(設備現況レコードに対応する最新の設備
設計レコードは1つ)
A specific example of such processing will be described with reference to FIGS. 11 to 16 using an example of integration of the equipment design record and the equipment status record. Here, the integration conditions are as follows. Equipment design, equipment code = equipment status, equipment code AND
Equipment design, construction completion date = equipment status, latest construction completion date The integrated radix is as follows. Facility design: 1 (one facility status record corresponding to facility design record) Facility status: 1 (one latest facility design record corresponding to facility status record)

【0029】また、一時蓄積期限は1日とする。また、
提供側システムおよび統合処理システムとも初期状態と
する ・一回目のファイル受信時の各提供側データベースの内
容は、対応する受信ファイルの内容と等しいものとす
る。 ・統合処理システムの一時蓄積部2に蓄積されているレ
コードは無いものとする。 そして、各提供側システムからのファイル受信は一日一
回とする。
The temporary storage term is one day. Also,
Initialize both the provider system and the integrated processing system. • The contents of each provider database at the time of the first file reception shall be equal to the contents of the corresponding received file. -It is assumed that there is no record stored in the temporary storage unit 2 of the integrated processing system. The file is received from each provider system once a day.

【0030】まず、図11に示すように、設備設計レコ
ード一回目受信ファイル111aとして1つのレコード
(設備コード1002)を、また、設備現況レコード一
回目受信ファイル112aとして、同じく1つのレコー
ド(設備コード1001)を受信する。それぞれの受信
ファイル(111a,112a)内のレコードに対して
統合条件を評価する。ここでは、統合条件を満たすレコ
ードはないので、統合レコードは作成されない。そし
て、統合条件満足回数が統合基数未満(=0)であるレ
コード(すなわち受信ファイル111a,112a内の
全レコード)を、それぞれ、一時蓄積部に蓄積された設
備設計レコード113a、一時蓄積部に蓄積された設備
現況レコード114aとして、図2の一時蓄積部2に蓄
積する。
First, as shown in FIG. 11, one record (equipment code 1002) is used as the equipment design record first reception file 111a, and one record (equipment code) is used as the equipment status record first reception file 112a. 1001) is received. The integration condition is evaluated for the records in each of the received files (111a, 112a). Here, since no record satisfies the integration condition, no integrated record is created. Then, records whose integration condition satisfaction times are less than the integration radix (= 0) (that is, all records in the reception files 111a and 112a) are stored in the temporary storage unit and the facility design record 113a, respectively. It is stored in the temporary storage unit 2 of FIG.

【0031】次に、図12に示すように、設備設計レコ
ード二回目受信ファイル121として2つのレコード
(設備コード1003,1004)を、また、設備現況
レコード二回目受信ファイル122として2つのレコー
ド(設備コード1002,1003)を受信する。これ
らの受信ファイル(121,122)内のレコードと、
図2の一時蓄積部2に蓄積された図11のレコード11
3a,114aに対して統合条件を評価することによ
り、図13における統合レコード131で示すように、
統合レコードを2つ(設備コード1002,1003)
作成する。しかし、設備コード1001,1004に関
しては、統合条件を満たさないので、統合条件満足回数
を統合基数未満(=0)として、図13に示す一時蓄積
部に蓄積された設備設計レコード132、一時蓄積部に
蓄積された設備現況レコード133として、図2の一時
蓄積部2に蓄積する。
Next, as shown in FIG. 12, two records (equipment codes 1003 and 1004) are used as the equipment design record second reception file 121, and two records (equipment information) are used as the equipment status record second reception file 122. Codes 1002 and 1003) are received. Records in these received files (121, 122)
Record 11 of FIG. 11 stored in the temporary storage unit 2 of FIG.
By evaluating the integration conditions for 3a and 114a, as shown by the integration record 131 in FIG.
Two integrated records (equipment code 1002, 1003)
create. However, since the integration conditions are not satisfied for the equipment codes 1001 and 1004, the number of times that the integration conditions are satisfied is set to less than the integration radix (= 0), and the equipment design record 132 and the temporary storage section stored in the temporary storage section shown in FIG. Are stored in the temporary storage unit 2 of FIG.

【0032】さらに、図14に示すように、設備設計レ
コード三回目受信ファイル141として2つのレコード
(設備コード1005,1006)を、また、設備現況
レコード三回目受信ファイル142として2つのレコー
ド(設備コード1004,1005)を受信する。そし
て、これらの受信ファイル(141,142)内のレコ
ードと、図2の一時蓄積部2に蓄積された図13のレコ
ード132,133に対して統合条件を評価することに
より、図15における統合レコード151で示すよう
に、統合レコードを2つ(設備コード1004,100
5)作成する。
Further, as shown in FIG. 14, two records (equipment codes 1005 and 1006) are used as the equipment design record third reception file 141, and two records (equipment code) are used as the equipment status record third reception file 142. 1004, 1005). Then, the integration conditions are evaluated for the records in these received files (141, 142) and the records 132, 133 of FIG. 13 stored in the temporary storage unit 2 of FIG. 151, two integrated records (equipment codes 1004, 100
5) Create.

【0033】しかし、設備コード1001,1006に
関しては、統合条件を満たさないので、統合条件満足回
数を統合基数未満(=0)として、図15に示す一時蓄
積部に蓄積された設備設計レコード152、一時蓄積部
に蓄積された設備現況レコード153として、図2の一
時蓄積部2に蓄積する。ここで、この一時蓄積部2に蓄
積するレコード(152,153)の内、受信日時フィ
ールドの値から統合処理時点までの経過日時が一時蓄積
期限(=1日)を過ぎたもの、すなわち、設備コード1
001の設備現況レコードが統合処理システム運用者に
エラー通知される。
However, since the integration conditions are not satisfied for the equipment codes 1001 and 1006, the number of times that the integration conditions are satisfied is set to less than the integration radix (= 0), and the equipment design record 152, which is stored in the temporary storage unit shown in FIG. The information is stored in the temporary storage unit 2 of FIG. 2 as the equipment status record 153 stored in the temporary storage unit. Here, of the records (152, 153) to be stored in the temporary storage unit 2, those whose elapsed date and time from the value of the reception date and time field to the integration processing time have passed the temporary storage time limit (= 1 day), that is, the equipment Code 1
The facility status record of 001 is notified of the error to the integrated processing system operator.

【0034】運用者は、このようにしてエラー通知され
たレコードをチェックし、例えば、設備設計レコード1
001が投入漏れであることを検出する。このように、
本実施例においては、レコードの投入漏れがある場合、
いずれは、その統合相手のレコードが運用者にエラー通
知される。また、受信日のずれが1日(=一時蓄積期
限)以内のレコードが、受信日のずれだけに起因してエ
ラー通知されることはない。従って、少ない数(本実施
例では「1」)のレコードだけが運用者にエラー通知さ
れることになる。
The operator checks the record for which the error has been notified in this manner, and, for example, checks the equipment design record 1
001 is detected as a missing input. in this way,
In this embodiment, when there is a record omission,
Eventually, the record of the integration partner is notified to the operator as an error. Further, an error notification is not given to a record whose received date shift is within one day (= temporary storage time limit) due to only the received date shift. Therefore, only a small number of records (“1” in the present embodiment) are notified to the operator as an error.

【0035】次に、本発明の第3の実施例を、図16〜
図23に従って説明する。図16は、本発明のデータ統
合方法の本発明に係る処理の第3の実施例を示すフロー
チャートである。本例の処理は、第1,第2の実施例と
同様に図2に示す構成のシステムにより行なわれる。ま
ず、統合制御情報管理部1により、統合条件およびレコ
ードタイプの組み合わせ毎に統合基数を予め設定し管理
する(ステップ161)。提供側システムからファイル
を受信すると(ステップ162)、統合前処理部3にお
いて、図17に示すように、受信したファイル内のレコ
ード171に、統合条件満足回数フィールド172と被
統合処理回数フィールド173を追加し、統合条件満足
回数フィールド172および被統合処理回数フィールド
173の初期値としてそれぞれ「0」を設定する(ステ
ップ163)。
Next, a third embodiment of the present invention will be described with reference to FIGS.
This will be described with reference to FIG. FIG. 16 is a flowchart showing a third embodiment of the process according to the present invention of the data integration method of the present invention. The processing of this example is performed by the system having the configuration shown in FIG. 2 as in the first and second embodiments. First, the integrated radix is preset and managed by the integrated control information management unit 1 for each combination of the integration condition and the record type (step 161). When a file is received from the providing system (step 162), the pre-integration processing unit 3, as shown in FIG. 17, stores the integration condition satisfaction count field 172 and the integrated processing count field 173 in the record 171 in the received file. In addition, “0” is set as an initial value of the integration condition satisfaction count field 172 and the integration target count field 173, respectively (step 163).

【0036】次に、統合レコード作成部4において、受
信ファイル内のレコードおよび一時蓄積部2に蓄積した
各レコードについて統合条件を評価し、統合条件を満た
すレコードの組み合わせから統合レコードを作成する
(ステップ164)。そして、統合後処理部5におい
て、受信ファイル内のレコードおよび一時蓄積部2に蓄
積したレコードの内、次の図18において詳細を示すよ
うに、一部のレコードを破棄し、残りを一時蓄積部2に
蓄積し、さらに、一時蓄積部2に蓄積されたレコードの
内、一時蓄積期限を越えて一時蓄積されているレコード
をエラー通知する(ステップ165)。
Next, the integrated record creation unit 4 evaluates the integration conditions for the records in the received file and each record stored in the temporary storage unit 2, and creates an integrated record from a combination of records satisfying the integration conditions (step). 164). Then, the post-integration processing unit 5 discards some of the records in the received file and the records stored in the temporary storage unit 2 as shown in FIG. 2, and among the records stored in the temporary storage unit 2, an error is reported for a record temporarily stored beyond the temporary storage time limit (step 165).

【0037】図18は、図16における統合後処理の本
発明に係る詳細動作例を示すフローチャートである。以
降の動作を受信ファイル内の各レコードおよび一時蓄積
部に蓄積された各レコードについて行なう(ステップ1
81)。まず、受信ファイル内の各レコードおよび一時
蓄積部2に蓄積された各レコードの内、未処理のレコー
ドを一つ取り出し(ステップ182)、図17の統合条
件満足回数フィールド172に対して新たに統合条件を
満たした回数を加算し(ステップ183)、また、図1
7の被統合処理回数フィールド173に対して「1」を
加算する(ステップ184)。
FIG. 18 is a flowchart showing a detailed operation example of the post-integration processing in FIG. 16 according to the present invention. The subsequent operation is performed for each record in the received file and each record stored in the temporary storage unit (step 1).
81). First, one unprocessed record is extracted from each record in the received file and each record stored in the temporary storage unit 2 (step 182), and newly integrated into the integration condition satisfaction count field 172 in FIG. The number of times that the condition is satisfied is added (step 183).
"1" is added to the number of times of integration process field 173 of No. 7 (step 184).

【0038】次に、図17の統合条件満足回数フィール
ド172の値を統合制御情報管理部1に管理された統合
基数と比較し(ステップ185)、この統合条件満足回
数フィールド92の値が統合基数に達したレコードを破
棄し(ステップ186)、達しないレコードを一時蓄積
部2に蓄積する(ステップ187)。さらに、この一時
蓄積部2に蓄積したレコードについて、図17の被統合
処理回数フィールド173の値と統合制御情報管理部1
に管理された一時蓄積期限とを比較し(ステップ18
8)、この被統合処理回数フィールド173の値が統合
制御情報管理部1に管理された一時蓄積期限を過ぎてい
るレコードを運用者にエラー通知する(ステップ18
9)。
Next, the value of the integration condition satisfaction frequency field 172 of FIG. 17 is compared with the integration radix managed by the integration control information management unit 1 (step 185). The record that has reached (step 186) is discarded, and the record that has not reached is stored in the temporary storage unit 2 (step 187). Further, regarding the record stored in the temporary storage unit 2, the value of the integrated processing count field 173 in FIG.
(Step 18)
8) An error is notified to the operator of a record in which the value of the integrated processing count field 173 has passed the temporary storage time limit managed by the integrated control information management unit 1 (step 18).
9).

【0039】このような処理の具体的な例を、設備設計
レコードと設備現況レコードとの統合の例を用いて、図
19〜図23に従って説明する。統合条件を以下の通り
とする。 設備設計、設備コード=設備現況、設備コードAND
設備設計、工事完了日=設備現況、最新工事完了日 また、統合基数を以下の通りとする。 設備設計:1(設備設計レコードに対応する設備現況レ
コードは1つ) 設備現況:1(設備現況レコードに対応する最新の設備
設計レコードは1つ)
A specific example of such processing will be described with reference to FIGS. 19 to 23, using an example of integration of a facility design record and a facility status record. The integration conditions are as follows. Equipment design, equipment code = equipment status, equipment code AND
Equipment design, construction completion date = current equipment status, latest construction completion date. Facility design: 1 (one facility status record corresponding to facility design record) Facility status: 1 (one latest facility design record corresponding to facility status record)

【0040】また、一時蓄積期限は2回とする。また、
提供側システムおよび統合処理システムとも初期状態と
する ・一回目のファイル受信時の各提供側データベースの内
容は、対応する受信ファイルの内容と等しいものとす
る。 ・統合処理システムの一時蓄積部2に蓄積されているレ
コードはないものとする。
The temporary storage term is twice. Also,
Initialize both the provider system and the integrated processing system. • The contents of each provider database at the time of the first file reception shall be equal to the contents of the corresponding received file. -It is assumed that there is no record stored in the temporary storage unit 2 of the integrated processing system.

【0041】まず、図19に示すように、設備設計レコ
ード一回目受信ファイル191として1つのレコード
(設備コード1002)を、また、設備現況レコード一
回目受信ファイル192として、同じく1つのレコード
(設備コード1001)を受信する。それぞれの受信フ
ァイル(191,192)内のレコードに対して統合条
件を評価する。ここでは、統合条件を満たすレコードは
ないので、統合レコードは作成されない。そして、統合
条件満足回数が統合基数未満(=0)であるレコード
(すなわち受信ファイル191,192内の全レコー
ド)を、それぞれ、一時蓄積部に蓄積された設備設計レ
コード193および一時蓄積部に蓄積された設備現況レ
コード194として示すように、一時蓄積部2に蓄積す
る。この時、それぞれのレコード(設備コード100
1,1002)の被統合処理回数は「1」に加算され
る。
First, as shown in FIG. 19, one record (equipment code 1002) is used as the first reception file 191 of the equipment design record, and one record (equipment code 100) is used as the first reception file 192 of the equipment status record. 1001) is received. The integration conditions are evaluated for the records in each of the received files (191, 192). Here, since no record satisfies the integration condition, no integrated record is created. Then, records whose integration condition satisfaction times are less than the integration radix (= 0) (that is, all records in the reception files 191 and 192) are stored in the facility design record 193 and the temporary storage unit respectively stored in the temporary storage unit. As shown as the completed equipment status record 194, the temporary storage unit 2 stores the information. At this time, each record (facility code 100
1,1002) is added to “1”.

【0042】次に、図20に示すように、設備設計レコ
ード二回目受信ファイル201として2つのレコード
(設備コード1003,1004)を、また、設備現況
レコード二回目受信ファイル202として2つのレコー
ド(設備コード1002,1003)を受信する。これ
らの受信ファイル201,202内のレコードと、図2
の一時蓄積部2に蓄積された図19のレコード193,
194に対して統合条件を評価することにより、図21
における統合レコード211で示すように、統合レコー
ドを2つ(設備コード1002,1003)作成する。
しかし、設備コード1001,1004に関しては、統
合条件を満たさないので、統合条件満足回数を統合基数
未満(=0)として、図20において、それぞれ、一時
蓄積部に蓄積された設備設計レコード212、一時蓄積
部に蓄積された設備現況レコード213として示すよう
に、図2の一時蓄積部2に蓄積する。ここで、設備コー
ド1001のレコードの被統合処理回数は「2」とな
る。
Next, as shown in FIG. 20, two records (equipment codes 1003 and 1004) are used as the equipment design record second reception file 201, and two records (equipment information) are used as the equipment status record second reception file 202. Codes 1002 and 1003) are received. The records in these received files 201 and 202 and FIG.
Records 193 and 193 in FIG.
By evaluating the integration conditions with respect to 194, FIG.
, Two integrated records (equipment codes 1002 and 1003) are created.
However, since the integration conditions are not satisfied for the equipment codes 1001 and 1004, the number of times that the integration conditions are satisfied is set to less than the integration radix (= 0), and the equipment design record 212 and the temporary As shown as the facility status record 213 stored in the storage unit, the information is stored in the temporary storage unit 2 of FIG. Here, the number of times of integration processing of the record of the facility code 1001 is “2”.

【0043】さらに、図22に示すように、設備設計レ
コード三回目受信ファイル221として2つのレコード
(設備コード1005,1006)を、また、設備現況
レコード三回目受信ファイル222ととして2つのレコ
ード(設備コード1004,1005)を受信する。そ
して、これらの受信ファイル221,222内のレコー
ドと、図2の一時蓄積部2に蓄積された図21のレコー
ド212,213に対して統合条件を評価することによ
り、図23における統合レコード231で示す統合レコ
ードを2つ(設備コード1004,1005)作成す
る。
Further, as shown in FIG. 22, two records (equipment codes 1005 and 1006) are used as the third reception file 221 of the equipment design record, and two records (equipment information) are used as the third reception file 222 of the equipment status record. Codes 1004, 1005) are received. Then, the integration conditions are evaluated for the records in the received files 221 and 222 and the records 212 and 213 in FIG. 21 stored in the temporary storage unit 2 in FIG. Two integrated records (equipment codes 1004 and 1005) are created.

【0044】しかし、設備コード1001,1006に
関しては、統合条件を満たさないので、統合条件満足回
数を統合基数未満(=0)とし、図23における一時蓄
積部に蓄積された設備設計レコード232、一時蓄積部
に蓄積された設備現況レコード233として、図2の一
時蓄積部2に蓄積する。ここで、一時蓄積部2に蓄積す
るレコード(232,233)の内、被統合処理回数が
一時蓄積期限(=2回)を過ぎたもの、すなわち、設備
コード1001の設備現況レコードが統合処理システム
運用者にエラー通知される。
However, since the integration conditions are not satisfied for the equipment codes 1001 and 1006, the number of times that the integration conditions are satisfied is set to less than the integration radix (= 0), and the equipment design record 232 stored in the temporary storage unit in FIG. The information is stored in the temporary storage unit 2 of FIG. 2 as the equipment status record 233 stored in the storage unit. Here, of the records (232, 233) to be stored in the temporary storage unit 2, the number of integrated processings that have passed the temporary storage time limit (= 2), that is, the equipment status record of the equipment code 1001 is the integrated processing system An error is notified to the operator.

【0045】運用者は、このようにしてエラー通知され
たレコードをチェックし、例えば、設備設計データベー
スへの設備レコード1001が投入漏れであることを検
出する。このように、本実施例においては、レコードの
投入漏れがある場合、いずれは、その統合相手のレコー
ドが運用者にエラー通知される。また、受信のずれが2
回(=一時蓄積期限)以内のレコードが、受信回数のず
れだけに起因してエラー通知されることはない。従っ
て、少ない数(本実施例では「1」)のレコードだけが
運用者にエラー通知されることになる。
The operator checks the record for which the error notification has been made in this way, and detects, for example, that the equipment record 1001 in the equipment design database is missing. As described above, in the present embodiment, when there is a record omission, the error of the record of the integration partner is eventually notified to the operator. In addition, the reception shift is 2
No error notification is given to records within the number of times (= temporary storage time limit) due to only a difference in the number of receptions. Therefore, only a small number of records (“1” in the present embodiment) are notified to the operator as an error.

【0046】以上、図1〜図23を用いて説明したよう
に、本実施例のデータ統合方法では、受信ファイル内の
レコードに加えて、一時蓄積部に蓄積されたレコードを
も統合処理対象とする。このことにより、提供側システ
ムからの受信ファイルを全レコードファイルではなく、
差分ファイルとすることができる。さらに、一時蓄積部
2へのアクセスにより、提供側システムへのアドホック
アクセスを代替できる。従って、従来の技術に比較し、
提供側システムの性能圧迫を軽減できる。また、統合条
件を満たした総回数が統合基数に達したレコードは、一
時蓄積部2に蓄積されることなく破棄されるので、一時
蓄積部2に蓄積されるレコード数が際限なく拡張し続け
ることはない。
As described above with reference to FIGS. 1 to 23, in the data integration method of this embodiment, in addition to the records in the received file, the records stored in the temporary storage unit are also subjected to the integration processing. I do. This allows the receiving file from the provider system to be
It can be a difference file. Further, by accessing the temporary storage unit 2, ad hoc access to the providing system can be substituted. Therefore, compared to the conventional technology,
The pressure on the performance of the provider system can be reduced. Further, records whose total number of times satisfying the integration condition has reached the integration radix are discarded without being stored in the temporary storage unit 2, so that the number of records stored in the temporary storage unit 2 is continuously expanded without bound. There is no.

【0047】さらに、レコードの投入漏れがあった場
合、その統合相手レコードの統合条件満足回数が統合基
数に達することはないため、いずれ統合相手レコードが
運用者にエラー通知される。運用者は、このエラー通知
に基づきレコードの投入漏れの有無を確認できる。この
場合、本実施例では、運用者にエラー通知が行なわれる
のは、一時蓄積期限で示される期間を越えて一時蓄積さ
れたレコードだけである。これにより、本来、統合条件
を満たすべき複数のレコードの受信時期にずれが生じた
場合でも、そのずれが一時蓄積期限以内ならば、先行し
て受信したレコードが運用者にエラー通知されることは
ない。従って、大量のレコードが運用者にエラー通知さ
れる危険性は少なく、本実施例は、レコードの投入漏れ
を見つけるための現実的な解となる。
Furthermore, if there is a record omission, the number of times that the integration conditions of the integration partner record satisfy the integration condition does not reach the integration radix. The operator can confirm whether there is a record omission based on the error notification. In this case, in the present embodiment, an error is notified to the operator only for the records temporarily stored beyond the period indicated by the temporary storage time limit. As a result, even if a difference occurs in the reception timing of a plurality of records that should originally satisfy the integration condition, if the difference is within the temporary storage time limit, the error of the previously received record is not notified to the operator. Absent. Therefore, there is little risk that an operator is notified of an error in a large number of records, and the present embodiment is a practical solution for finding omission of record input.

【0048】尚、本発明は、図1〜図23を用いて説明
した実施例に限定されるものではなく、その要旨を逸脱
しない範囲において種々変更可能である。例えば、運用
者がエラー通知されたレコードを一時蓄積部2から削除
することにより、一時蓄積部に蓄積されるレコード数を
制限することが可能となる。
The present invention is not limited to the embodiment described with reference to FIGS. 1 to 23, and can be variously modified without departing from the gist thereof. For example, by deleting from the temporary storage unit 2 the record for which the error notification has been made by the operator, it is possible to limit the number of records stored in the temporary storage unit.

【0049】[0049]

【発明の効果】本発明によれば、提供側システムからの
全レコード送信、あるいは、提供側システムへのアドホ
ックなアクセスが不要となり、提供側システムの性能の
圧迫を軽減できると共に、提供側データベースへのレコ
ードの投入漏れを高信頼かつ効率的に検出することが可
能である。
According to the present invention, the transmission of all records from the provider system or the ad hoc access to the provider system becomes unnecessary, and the pressure on the performance of the provider system can be reduced, and the provider database can be saved. , It is possible to detect the omission of the input record with high reliability and efficiency.

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

【図1】本発明のデータ統合方法の本発明に係る処理の
第1の実施例を示すフローチャートである。
FIG. 1 is a flowchart showing a first embodiment of a process according to the present invention of the data integration method of the present invention.

【図2】図1における処理を行なうシステムの構成例を
示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration example of a system that performs the processing in FIG. 1;

【図3】図1における処理の対象となるレコードの構成
例を示す説明図である。
FIG. 3 is an explanatory diagram showing a configuration example of a record to be processed in FIG. 1;

【図4】図1における統合後処理の本発明に係る詳細動
作例を示すフローチャートである。
FIG. 4 is a flowchart showing a detailed operation example of the post-integration process in FIG. 1 according to the present invention.

【図5】図1における処理の具体的な例を示す説明図の
1/3部分である。
FIG. 5 is a 1/3 part of an explanatory diagram showing a specific example of the processing in FIG. 1;

【図6】図1における処理の具体的な例を示す説明図の
2/3部分である。
FIG. 6 is a 2/3 part of the explanatory diagram showing a specific example of the processing in FIG. 1;

【図7】図1における処理の具体的な例を示す説明図の
3/3部分である。
FIG. 7 is a 3/3 portion of the explanatory diagram showing a specific example of the processing in FIG. 1;

【図8】本発明のデータ統合方法の本発明に係る処理の
第2の実施例を示すフローチャートである。
FIG. 8 is a flowchart showing a second embodiment of the process according to the present invention of the data integration method of the present invention.

【図9】図8における処理の対象となるレコードの構成
例を示す説明図である。
FIG. 9 is an explanatory diagram showing a configuration example of a record to be processed in FIG. 8;

【図10】図8における統合後処理の本発明に係る詳細
動作例を示すフローチャートである。
FIG. 10 is a flowchart showing a detailed operation example of the post-integration process in FIG. 8 according to the present invention.

【図11】図8における処理の具体的な例を示す説明図
の1/5部分である。
11 is a 1 / part of an explanatory diagram showing a specific example of the processing in FIG. 8;

【図12】図8における処理の具体的な例を示す説明図
の2/5部分である。
FIG. 12 is a 2/5 portion of the explanatory diagram showing a specific example of the processing in FIG. 8;

【図13】図8における処理の具体的な例を示す説明図
の3/5部分である。
FIG. 13 is a 3/5 part of the explanatory diagram showing a specific example of the processing in FIG. 8;

【図14】図8における処理の具体的な例を示す説明図
の4/5部分である。
FIG. 14 is a 4/5 portion of the explanatory diagram showing a specific example of the processing in FIG. 8;

【図15】図8における処理の具体的な例を示す説明図
の5/5部分である。
FIG. 15 is a 5/5 portion of the explanatory diagram showing a specific example of the processing in FIG. 8;

【図16】本発明のデータ統合方法の本発明に係る処理
の第3の実施例を示すフローチャートである。
FIG. 16 is a flowchart showing a third embodiment of the processing according to the present invention of the data integration method of the present invention.

【図17】図16における処理の対象となるレコードの
構成例を示す説明図である。
FIG. 17 is an explanatory diagram showing a configuration example of a record to be processed in FIG. 16;

【図18】図16における統合後処理の本発明に係る詳
細動作例を示すフローチャートである。
18 is a flowchart showing a detailed operation example of the post-integration processing in FIG. 16 according to the present invention.

【図19】図16における処理の具体的な例を示す説明
図の1/5部分である。
FIG. 19 is a 5 part of an explanatory diagram showing a specific example of the processing in FIG. 16;

【図20】図16における処理の具体的な例を示す説明
図の2/5部分である。
FIG. 20 is a 2/5 portion of the explanatory diagram showing a specific example of the processing in FIG. 16;

【図21】図16における処理の具体的な例を示す説明
図の3/5部分である。
FIG. 21 is a 3/5 portion of the explanatory diagram showing a specific example of the processing in FIG. 16;

【図22】図16における処理の具体的な例を示す説明
図の4/5部分である。
FIG. 22 is a 4/5 portion of the explanatory diagram showing a specific example of the processing in FIG. 16;

【図23】図16における処理の具体的な例を示す説明
図の5/5部分である。
FIG. 23 is a 5/5 portion of the explanatory diagram showing a specific example of the processing in FIG. 16;

【図24】従来の設備設計レコードと設備現況レコード
の統合例を示す説明図である。
FIG. 24 is an explanatory diagram showing an example of integration of a conventional facility design record and a facility status record.

【図25】従来のデータ統合対象となる伝送路と専用線
との関係を示す説明図である。
FIG. 25 is an explanatory diagram showing a conventional relationship between a transmission line to be integrated and a dedicated line.

【図26】従来の伝送路レコードと専用線レコードの統
合例を示す説明図である。
FIG. 26 is an explanatory diagram showing a conventional example of integrating a transmission line record and a leased line record.

【図27】従来の全レコードファイル利用による統合処
理例を示す説明図である。
FIG. 27 is an explanatory diagram showing an example of a conventional integration process using all record files.

【図28】従来の差分ファイル利用による統合処理例を
示す説明図である。
FIG. 28 is an explanatory diagram showing an example of a conventional integration process using a difference file.

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

1:統合制御情報管理部,2:一時蓄積部、3:統合前
処理部、4:統合レコード作成部、5:統合後処理部、
31:受信したファイル内のレコード、32:統合条件
満足回数フィールド、51:設備設計レコード一回目受
信ファイル、52:設備現況レコード一回目受信ファイ
ル、61:一回目統合処理で作成された統合レコード、
62:一回目統合処理終了時点で一時蓄積部に蓄積され
た設備設計レコード、71:設備設計レコード二回目受
信ファイル、72:設備現況レコード二回目受信ファイ
ル、73:二回目統合処理で作成された統合レコード、
91:受信したファイル内のレコード、92:統合条件
満足回数フィールド、93:受信日時フィールド、11
1a:設備設計レコード一回目受信ファイル、112
a:設備現況レコード一回目受信ファイル、113a:
一時蓄積部に蓄積された設備設計レコード、114a:
一時蓄積部に蓄積された設備現況レコード、121:設
備設計レコード二回目受信ファイル、122:設備現況
レコード二回目受信ファイル、131:二回目統合処理
で作成された統合レコード、132:一時蓄積部に蓄積
された設備設計レコード、133:一時蓄積部に蓄積さ
れた設備現況レコード、141:設備設計レコード三回
目受信ファイル、142:設備現況レコード三回目受信
ファイル、151:三回目統合処理で作成された統合レ
コード、152:一時蓄積部に蓄積された設備設計レコ
ード、153:一時蓄積部に蓄積された設備現況レコー
ド、171:受信したファイル内のレコード、172:
統合条件満足回数フィールド、173:被統合処理回数
フィールド、191:設備設計レコード一回目受信ファ
イル、192:設備現況レコード一回目受信ファイル、
193:一時蓄積部に蓄積された設備設計レコード、1
94:一時蓄積部に蓄積された設備現況レコード、20
1:設備設計レコード二回目受信ファイル、202:設
備現況レコード二回目受信ファイル、211:二回目統
合処理で作成された統合レコード、212:一時蓄積部
に蓄積された設備設計レコード、213:一時蓄積部に
蓄積された設備現況レコード、221:設備設計レコー
ド三回目受信ファイル、222:設備現況レコード三回
目受信ファイル、231:三回目統合処理で作成された
統合レコード、232:一時蓄積部に蓄積された設備設
計レコード、233:一時蓄積部に蓄積された設備現況
レコード、241:設備設計レコード、242:設備現
況レコード、251:伝送路、252:専用線、26
1:伝送路レコード、262:専用線レコード、27
1:提供側システムX、272:データベースX、27
3:全レコードファイルX、274:提供側システム
Y、275:データベースY、276:全レコードファ
イルY、277:利用側システム、281:提供側シス
テムX、282データベースX、283:全差分ファイ
ルX、284:提供側システムY、285:データベー
スY、286:差分ファイルY、287:利用側システ
ム、288,289:アドホックアクセス。
1: integrated control information management unit, 2: temporary storage unit, 3: pre-integration processing unit, 4: integrated record creation unit, 5: post-integration processing unit,
31: record in the received file, 32: integration condition satisfaction count field, 51: equipment design record first reception file, 52: equipment status record first reception file, 61: integrated record created in the first integration processing,
62: equipment design record stored in the temporary storage unit at the end of the first integration processing, 71: equipment design record second reception file, 72: equipment current status record second reception file, 73: created by the second integration processing Integrated records,
91: record in received file, 92: integration condition satisfaction count field, 93: reception date and time field, 11
1a: first received file of facility design record, 112
a: Equipment status record first received file, 113a:
Equipment design record 114a stored in the temporary storage unit:
Equipment status record stored in the temporary storage unit, 121: Equipment design record second reception file, 122: Equipment status record second reception file, 131: Integrated record created by the second integration process, 132: Temporary storage unit Accumulated facility design record, 133: Facility status record accumulated in the temporary storage unit, 141: Facility design record third reception file, 142: Facility status record third reception file, 151: Created by third integration processing Integrated record, 152: equipment design record stored in the temporary storage unit, 153: equipment status record stored in the temporary storage unit, 171: record in received file, 172:
Integration condition satisfaction count field, 173: integrated processing count field, 191: equipment design record first reception file, 192: equipment status record first reception file,
193: Equipment design record stored in temporary storage unit, 1
94: Equipment status record stored in the temporary storage unit, 20
1: Equipment design record second reception file, 202: Equipment status record second reception file, 211: Integrated record created by the second integration processing, 212: Equipment design record stored in the temporary storage unit, 213: Temporary storage Equipment status record, 221: equipment design record third reception file, 222: equipment status record third reception file, 231: integrated record created in the third integration process, 232: temporarily stored in the temporary storage unit 233: Facility status record stored in the temporary storage unit, 241: Facility design record, 242: Facility status record, 251: Transmission line, 252: Dedicated line, 26
1: transmission line record, 262: dedicated line record, 27
1: provider system X, 272: database X, 27
3: All record files X, 274: Provider system Y, 275: Database Y, 276: All record files Y, 277: User system, 281: Provider system X, 282 database X, 283: All difference files X, 284: providing system Y, 285: database Y, 286: difference file Y, 287: using system, 288, 289: ad hoc access.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 奥村 昌和 東京都新宿区西新宿三丁目19番2号 日 本電信電話株式会社内 (56)参考文献 特開 平4−199237(JP,A) 特開 平4−360248(JP,A) 特開 平6−214843(JP,A) 特開 平5−225250(JP,A) 特開 平5−81337(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 12/00 512 G06F 12/00 510 G06F 12/00 545 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Masakazu Okumura 3-19-2 Nishi Shinjuku, Shinjuku-ku, Tokyo Japan Telegraph and Telephone Corporation (56) References JP-A-4-199237 (JP, A) JP-A-4-360248 (JP, A) JP-A-6-214843 (JP, A) JP-A-5-225250 (JP, A) JP-A-5-81337 (JP, A) (58) Fields investigated ( Int.Cl. 7 , DB name) G06F 12/00 512 G06F 12/00 510 G06F 12/00 545

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のデータベースから送信された各フ
ァイルを受信し、該受信した各ファイル内の各レコード
が予め指定された統合条件を満たすか否かを評価し、該
統合条件を満足したレコード同士をまとめて、新しいレ
コードを作成するデータ統合方法において、上記評価
時、上記各レコードの上記統合条件を満足した回数を各
レコード毎に計数し、該回数が、上記統合条件を満足す
る最大回数を表す統合基数に達したか否かを判別し、上
記統合条件を満足した回数が上記統合基数に達しなかっ
たレコードを、上記統合条件を満足した回数を対応付け
て一時蓄積し、新たに上記各データベースから送信され
た前回ファイルとの差分ファイルを受信し、該差分ファ
イル内のレコードの評価時、上記一時蓄積したレコード
を含めて上記評価および計数を行ない、上記一時蓄積し
たレコードの内、上記統合条件を満足した回数が上記統
合基数に達したレコードを一時蓄積から破棄し、上記各
差分ファイル内のレコードおよび上記一時蓄積したレコ
ードの内、上記統合条件を満足した回数が上記統合基数
に達しなかったレコードを、次の差分ファイル受信時の
上記評価用に、上記統合条件を満足した回数を対応付け
て一時蓄積することを特徴とするデータ統合方法。
1. Receiving each file transmitted from a plurality of databases, evaluating whether each record in each received file satisfies a pre-designated integration condition, and determining a record satisfying the integration condition. In the data integration method of creating a new record by grouping together, at the time of the evaluation, the number of times of satisfying the integration condition of each record is counted for each record, and the number is the maximum number of times satisfying the integration condition. It is determined whether the integration radix has reached the integration radix, and records in which the number of times satisfying the integration condition has not reached the integration radix are temporarily stored in association with the number of times satisfying the integration condition, and newly stored. When a difference file from the previous file transmitted from each database is received, and when the records in the difference file are evaluated, the evaluation and the above-mentioned records including the temporarily accumulated records are performed. Of the temporarily accumulated records, the records in which the number of times satisfying the integration condition has reached the integration radix are discarded from the temporary accumulation, and the records in the respective difference files and the temporarily accumulated records are discarded. Records for which the number of times satisfying the integration condition has not reached the integration radix are temporarily stored in association with the number of times satisfying the integration condition for the evaluation at the time of receiving the next difference file. Data integration method.
【請求項2】 複数のデータベースから送信された各フ
ァイルを受信し、該受信した各ファイル内の各レコード
が予め指定された統合条件を満たすか否かを評価し、該
統合条件を満足したレコード同士をまとめて、新しいレ
コードを作成するデータ統合方法において、上記評価
時、上記各レコードの上記統合条件を満足した回数を各
レコード毎に計数し、該回数が、上記統合条件を満足す
る最大回数を表す統合基数に達したか否かを判別し、上
記統合条件を満足した回数が上記統合基数に達しなかっ
たレコードを、上記統合条件を満足した回数と最初に受
信した日時を対応付けて一時蓄積し、新たに上記各デー
タベースから送信された前回ファイルとの差分ファイル
を受信し、該差分ファイル内のレコードの評価時、上記
一時蓄積したレコードを含めて上記評価および計数を行
ない、上記一時蓄積したレコードの内、上記統合条件を
満足した回数が上記統合基数に達したレコードを一時蓄
積から破棄し、上記各差分ファイル内のレコードおよび
上記一時蓄積したレコードの内、上記統合条件を満足し
た回数が上記統合基数に達しなかったレコードを、次の
差分ファイル受信時の再評価用に、上記統合条件を満足
した回数と最初に受信した日時を対応付けて一時蓄積
し、かつ、該再評価用に一時蓄積するレコードの内、上
記受信日時から予め設定された蓄積期限を越えたレコー
ドを抽出して、エラー通知することを特徴とするデータ
統合方法。
2. Receiving each file transmitted from a plurality of databases, evaluating whether each record in the received file satisfies a pre-designated integration condition, and determining a record satisfying the integration condition. In the data integration method of creating a new record by grouping together, at the time of the evaluation, the number of times of satisfying the integration condition of each record is counted for each record, and the number is the maximum number of times satisfying the integration condition. It is determined whether the integration radix has reached the integration radix or not, and records in which the number of times satisfying the integration condition has not reached the integration radix are temporarily associated with the number of times satisfying the integration condition and the date and time of first reception. Receives a difference file from the previous file that has been accumulated and newly transmitted from each database, and evaluates the records in the difference file. The above-mentioned evaluation and counting are performed, and among the temporarily stored records, records in which the number of times satisfying the integration condition has reached the integrated radix are discarded from the temporary storage, and the records in the respective difference files and the temporary Of the accumulated records, records whose number of times that the above-mentioned integration condition was satisfied did not reach the above-mentioned integration radix are re-evaluated at the time of receiving the next difference file. Data integration characterized in that, among records temporarily stored in association with each other and temporarily stored for the re-evaluation, a record exceeding a preset storage time limit from the reception date and time is extracted, and an error notification is made. Method.
【請求項3】 複数のデータベースから送信された各フ
ァイルを受信し、該受信した各ファイル内の各レコード
が予め指定された統合条件を満たすか否かを評価し、該
統合条件を満足したレコード同士をまとめて、新しいレ
コードを作成するデータ統合方法において、上記評価
時、上記各レコードの上記統合条件を満足した回数を各
レコード毎に計数し、該回数が、上記統合条件を満足す
る最大回数を表す統合基数に達したか否かを判別し、上
記統合条件を満足した回数が上記統合基数に達しなかっ
たレコードを、上記統合条件を満足した回数と上記評価
を受けた総回数(被統合処理回数)を対応付けて一時蓄
積し、新たに上記各データベースから送信された前回フ
ァイルとの差分ファイルを受信し、該差分ファイル内の
レコードの評価時、上記一時蓄積したレコードを含めて
上記評価および計数を行ない、上記一時蓄積したレコー
ドの内、上記統合条件を満足した回数が上記統合基数に
達したレコードを一時蓄積から破棄し、上記各差分ファ
イル内のレコードおよび上記一時蓄積したレコードの
内、上記統合条件を満足した回数が上記統合基数に達し
なかったレコードを、次の差分ファイル受信時の再評価
用に、上記統合条件を満足した回数と上記被統合処理回
数を対応付けて一時蓄積し、かつ、該再評価用に一時蓄
積するレコードの内、上記被統合処理回数が予め設定さ
れた回数を越えたレコードを抽出して、エラー通知する
ことを特徴とするデータ統合方法。
3. Receiving each file transmitted from a plurality of databases, evaluating whether each record in each of the received files satisfies an integration condition specified in advance, and records which satisfy the integration condition In the data integration method of creating a new record by grouping together, at the time of the evaluation, the number of times of satisfying the integration condition of each record is counted for each record, and the number is the maximum number of times satisfying the integration condition. It is determined whether or not the number of times that the integration condition has been satisfied does not reach the integration radix. The number of times that the integration condition has been satisfied does not reach the integration radix. (The number of processing times), temporarily store the data, and receive a difference file from the previous file newly transmitted from each of the above databases. The above evaluation and counting are performed including the temporarily accumulated records, and among the temporarily accumulated records, records in which the number of times satisfying the integration condition has reached the integrated radix are discarded from the temporary accumulation, and each of the difference files is discarded. Out of the records and the temporarily accumulated records, the records in which the number of times satisfying the integration condition did not reach the integration radix are re-evaluated at the time of receiving the next difference file. Extracting the records in which the number of times of the integrated processing exceeds a preset number of times from among the records temporarily stored in association with the number of times of the integrated processing and temporarily storing for the re-evaluation, and reporting an error. A data integration method characterized by the following.
【請求項4】 請求項1から請求項3のいずれかに記載
のデータ統合方法において、上記レコードへの上記統合
条件を満足した回数の対応付けは、上記レコードに、上
記統合条件を満足した回数を登録するフィールドを追加
して行なうことを特徴とするデータ統合方法。
4. The data integration method according to claim 1, wherein the number of times the record satisfies the integration condition is associated with the record by the number of times the record satisfies the integration condition. A data integration method characterized by adding a field for registering the data.
JP28962495A 1995-11-08 1995-11-08 Data integration method Expired - Lifetime JP3358103B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28962495A JP3358103B2 (en) 1995-11-08 1995-11-08 Data integration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28962495A JP3358103B2 (en) 1995-11-08 1995-11-08 Data integration method

Publications (2)

Publication Number Publication Date
JPH09134301A JPH09134301A (en) 1997-05-20
JP3358103B2 true JP3358103B2 (en) 2002-12-16

Family

ID=17745650

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28962495A Expired - Lifetime JP3358103B2 (en) 1995-11-08 1995-11-08 Data integration method

Country Status (1)

Country Link
JP (1) JP3358103B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008234464A (en) * 2007-03-22 2008-10-02 Nec Fielding Ltd Merchandise retrieval system and database

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04199237A (en) * 1990-11-26 1992-07-20 Nec Corp System for controlling decentralized file cache
JPH04360248A (en) * 1991-06-06 1992-12-14 Nec Corp Remote file updating system
JPH0581337A (en) * 1991-09-21 1993-04-02 Toshiba Corp Data processor
JPH05225250A (en) * 1992-02-17 1993-09-03 Fujitsu Ltd Table coupling system for relational data base
JP3266351B2 (en) * 1993-01-20 2002-03-18 株式会社日立製作所 Database management system and query processing method

Also Published As

Publication number Publication date
JPH09134301A (en) 1997-05-20

Similar Documents

Publication Publication Date Title
US8949189B2 (en) Managing storage of individually accessible data units
US8150888B2 (en) Automatic elimination of functional dependencies between columns
US7546311B2 (en) Optimization of left and right outer join operations in database management systems
EP3108400B1 (en) Virus signature matching method and apparatus
JP3358103B2 (en) Data integration method
US7441252B2 (en) Cache control device, and method and computer program for the same
JP2006277158A (en) Data update system, server and program
CN116186082A (en) Data summarizing method based on distribution, first server and electronic equipment
CN106469166A (en) A kind of information processing method and device
CN114328749A (en) Business data processing method and device and computer readable storage medium
CN113902415A (en) Financial data checking method and device, computer equipment and storage medium
CN112612865A (en) Document storage method and device based on elastic search
CN111371818B (en) Data request verification method, device and equipment
CN111427871B (en) Data processing method, device and equipment
US8788483B2 (en) Method and apparatus for searching in a memory-efficient manner for at least one query data element
CN107704557B (en) Processing method and device for operating mutually exclusive data, computer equipment and storage medium
CN111813833A (en) Real-time two-degree communication relation data mining method
CN114546731B (en) Workflow data recovery method and data recovery system
CN113472808B (en) Log processing method and device, storage medium and electronic device
CN112364007B (en) Mass data exchange method, device, equipment and storage medium based on database
CN113420170B (en) Multithreading storage method, device, equipment and medium for big data image
CN113965489B (en) Link timeout detection method, device, computer equipment and storage medium
CN111274350B (en) Data processing method, device, computer equipment and storage medium
CN117149754A (en) Data cleaning method, device, equipment and medium
CN115455026A (en) Database updating method and device, computer equipment and storage medium

Legal Events

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

Free format text: PAYMENT UNTIL: 20071011

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081011

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091011

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101011

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101011

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111011

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111011

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121011

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121011

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20131011

Year of fee payment: 11

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term