JPH07262061A - Comparison device based on data definition information - Google Patents

Comparison device based on data definition information

Info

Publication number
JPH07262061A
JPH07262061A JP6048341A JP4834194A JPH07262061A JP H07262061 A JPH07262061 A JP H07262061A JP 6048341 A JP6048341 A JP 6048341A JP 4834194 A JP4834194 A JP 4834194A JP H07262061 A JPH07262061 A JP H07262061A
Authority
JP
Japan
Prior art keywords
data
comparison
definition information
key
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6048341A
Other languages
Japanese (ja)
Inventor
Takashi Ogawa
孝 小川
Michinobu Oonishi
理信 大西
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.)
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Software Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP6048341A priority Critical patent/JPH07262061A/en
Publication of JPH07262061A publication Critical patent/JPH07262061A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform the comparison of various user files (data) with a single comparison device by carrying out various types of comparison corresponding to various types of data just by changing the data definition information. CONSTITUTION:The information that defines the comparisn items as well as the types of data to be compared is previously stored in a data definition information file DI as the data definition information. Then, the data stored in the files F1 and F2 to be compared with each other and the data definition information corresponding to these data are evolved into a memory, so that the comparison subject file evolution information MF1 and MF2 are obtained. The comparison items are extracted out of the data to be compared with each other and developed in the memory by a comparison item analyzing device base on the data definition information evolved in the memory. Then, the extracted comparison items are compared with each other by a comparison device for each data type of each comparison item.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータシステム
でのデータ比較装置に係わり、特に、様々な種別のデー
タを一種類の比較装置で比較するための比較装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data comparison device in a computer system, and more particularly to a comparison device for comparing various types of data with one type of comparison device.

【0002】[0002]

【従来の技術】従来の比較方式では、UNIXコマンド
のbdiff、diff、cmp等があるが、bdif
f、diffはデータ種別がテキストデータの比較を行
う比較で、cmpはデータ種別がバイナリデータの比較
を行う比較である。このように、データ種別が異なると
それに伴って比較装置が複数存在するのが通例である。
このため、ユーザは複数の比較装置の使用方法を理解
し、また、ソフトウエア開発者は複数の比較装置を開発
しなくてはならなかった。
2. Description of the Related Art In the conventional comparison method, there are UNIX commands such as bdiff, diff, and cmp.
f and diff are comparisons in which the data type compares text data, and cmp is a comparison in which the data type compares binary data. As described above, when the data types are different, it is usual that a plurality of comparison devices exist accordingly.
Therefore, the user has to understand how to use the plurality of comparison devices, and the software developer has to develop the plurality of comparison devices.

【0003】[0003]

【発明が解決しようとする課題】従来の方式では、デー
タ種別ごとに比較装置を使い分けるか、比較方法や比較
項目をいくつものオペランドで比較装置に事細かに指定
しなければならない等の問題があった。
In the conventional method, there is a problem in that the comparison device is properly used for each data type, or the comparison method and comparison items must be specified in detail to the comparison device with a number of operands. .

【0004】本発明は、比較対象となるデータ種別の依
存性をなくすこと即ち、比較装置は一種類とし、データ
比較方式のバリエーションをデータ定義情報として定義
することで吸収することを目的としており、一つの比較
装置が様々なデータ種別に応じた比較装置に容易にでき
ることにある。
An object of the present invention is to eliminate the dependency of the data type to be compared, that is, to use one type of comparison device and to absorb the variation of the data comparison method by defining it as data definition information. One of the comparison devices can be easily used as a comparison device corresponding to various data types.

【0005】[0005]

【課題を解決するための手段】上記目的は、比較対象デ
ータの種別と比較項目の内容や位置をデータ定義情報と
して定義する手段を設けることにより、ある比較対象フ
ァイル内のデータを比較する場合に当該比較対象データ
のデータ種別に対応したデータ定義情報に基づいて比較
対象データを入力し、解析して抽象的な形の比較項目群
として抽出し、これを比較装置で比較することにより達
成される。
[Means for Solving the Problem] The above object is to compare data in a certain comparison target file by providing means for defining the type of comparison target data and the contents and positions of comparison items as data definition information. This is achieved by inputting the comparison target data based on the data definition information corresponding to the data type of the comparison target data, analyzing it, extracting it as an abstract comparison item group, and comparing this with a comparison device. .

【0006】[0006]

【作用】予め比較対象データのデータ種別や比較項目を
定義した情報をデータ定義情報としてファイルに格納し
ておく。次に、比較対象ファイル内のデータとこれに対
応したデータ定義情報をファイル入力装置を用いてメモ
リ内に展開する。メモリ内に展開したデータ定義情報を
もとに、メモリ内に展開した比較対象のデータを比較項
目解析装置を用いてレコード単位に比較項目を抽出す
る。この抽出した比較項目を比較装置を用いて各比較項
目のデータ種別ごとにその値を比較することにより上記
目的が達成できる。
[Operation] Information defining the data type and comparison item of the comparison target data is stored in the file as data definition information in advance. Next, the data in the comparison target file and the data definition information corresponding to the data are expanded in the memory using the file input device. Based on the data definition information expanded in the memory, the comparison target data expanded in the memory is used to extract comparison items in record units using a comparison item analysis device. The above object can be achieved by comparing the values of the extracted comparison items for each data type of each comparison item using a comparison device.

【0007】[0007]

【実施例】以下、本発明の一実施例について図面で説明
する。図1は、本発明の一実施例を示すシステムの概略
構成図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic configuration diagram of a system showing an embodiment of the present invention.

【0008】図1において、F1、F2は比較を行うデ
ータを格納した比較対象ファイルである。
In FIG. 1, F1 and F2 are comparison target files that store data to be compared.

【0009】D1は、比較対象ファイルF1、F2に格
納されているデータに関する定義情報を格納したデータ
定義情報ファイルである。定義情報としては比較すべき
データに関するデータ種別やデータ位置等の情報があ
る。
D1 is a data definition information file in which definition information regarding the data stored in the comparison target files F1 and F2 is stored. The definition information includes information such as data type and data position regarding data to be compared.

【0010】MF1、MF2はファイル入力装置により
比較対象ファイルF1、F2を読み込み、メモリ中に展
開した比較対象ファイル展開情報である。MD1はファ
イル入力装置によりデータ定義情報ファイルD1を読み
込み、キーの開始位置、データ長、キー属性、キー値、
データ長、データ属性、デリミタ属性、デリミタ値等の
それぞれのデータ定義情報をメモリに展開したデータ定
義情報ファイル展開情報である。
MF1 and MF2 are comparison target file expansion information which is read by the file input device from the comparison target files F1 and F2 and expanded in the memory. MD1 reads the data definition information file D1 by the file input device, and starts the key, the data length, the key attribute, the key value,
It is data definition information file expansion information in which the respective data definition information such as data length, data attribute, delimiter attribute, delimiter value, etc. is expanded in the memory.

【0011】MAF1、MAF2は解析装置により、デ
ータ定義情報ファイル展開情報MD1を用いて、比較対
象ファイル展開情報MF1、MF2を解析し、比較可能
な状態にした比較対象ファイル解析結果情報である。
MAF1 and MAF2 are comparison object file analysis result information which is analyzed by the analysis device using the data definition information file expansion information MD1 to analyze the comparison object file expansion information MF1 and MF2.

【0012】C1は比較対象ファイル解析結果情報MA
F1、MAF2を基に比較装置で比較した結果を出力し
た比較結果である。
C1 is a comparison target file analysis result information MA
It is the comparison result which output the result compared with the comparison device based on F1 and MAF2.

【0013】図2はデータ定義情報ファイルD1内のデ
ータ定義情報である。
FIG. 2 shows the data definition information in the data definition information file D1.

【0014】21はデータを定義するデータ定義情報基
本形を示したものである。
Reference numeral 21 shows a data definition information basic form for defining data.

【0015】ここで、「キー開始位置」は「オフセット先
頭からの位置」を示す。
Here, "key start position" indicates "position from offset head".

【0016】「キー長」は「キーの長さ」を示す。"Key length" indicates "key length".

【0017】「キー属性」はキーがテキストデータである
等の「キーのデータ種別」を示す。本例では、「t」が指定
されている場合はテキストデータであると見なし、「b」
が指定されている場合はバイナリデータであると見な
す。
The "key attribute" indicates a "key data type" such as a key being text data. In this example, if "t" is specified, it is regarded as text data, and "b"
If is specified, it is regarded as binary data.

【0018】「キー値」は「キー長」に示された範囲内で
「キーの先頭データから連続したキーデータ」を指定す
る。この「キー値」をもつ比較対象データと他方の同一キ
ー値をもつ比較対象データとが比較される。
The "key value" specifies "key data that is continuous from the head data of the key" within the range indicated by the "key length". The comparison target data having this “key value” and the other comparison target data having the same key value are compared.

【0019】「データ長」は「比較すべきデータの長さ」を
示す。本例では、「*」が指定されている場合、「比較す
べきデータ」の終わりはデリミタで示される。なお本例
では、「比較すべきデータ」はキーに連続して存在してい
るものとする。
"Data length" indicates "length of data to be compared". In this example, when "*" is specified, the end of "data to be compared" is indicated by a delimiter. In this example, it is assumed that the “data to be compared” exists continuously with the key.

【0020】「データ属性」は「比較すべきデータの属性」
を示し、「データ属性」を示すコードは前述の「キー属性」
の場合と同一である。
"Data attribute" is "attribute of data to be compared"
, And the code indicating "data attribute" is the "key attribute" described above.
Is the same as the case of.

【0021】「デリミタ属性」は前述の「比較すべきデー
タ」の終わりを示す「デリミタの属性」を示し、「デリミタ
属性」を示すコードは前述の「キー属性」の場合と同一で
ある。
The "delimiter attribute" indicates the "delimiter attribute" indicating the end of the above-mentioned "data to be compared", and the code indicating the "delimiter attribute" is the same as the above-mentioned "key attribute".

【0022】「デリミタ値」は前述の「比較すべきデータ」
の終わりを示す「デリミタの値」を示す。
The "delimiter value" is the above-mentioned "data to be compared".
"Delimiter value" indicating the end of the.

【0023】22、23はデータ定義情報基本形21に
基づいて比較対象ファイルF1、F2内のデータ種別を
定義したデータ定義情報である。
Reference numerals 22 and 23 are data definition information defining the data types in the comparison target files F1 and F2 based on the data definition information basic form 21.

【0024】本例では、比較対象ファイルF1、F2そ
れぞれに、比較すべきデータがデータ種別Aとデータ種
別Bとの2種類存在することを示している。
In this example, it is shown that there are two types of data to be compared, the data type A and the data type B, in each of the comparison target files F1 and F2.

【0025】データ定義情報22はデータ種別Aのデー
タに関するデータ定義情報であり、データ定義情報23
はデータ種別Bのデータに関するデータ定義情報であ
る。
The data definition information 22 is data definition information relating to the data of the data type A, and the data definition information 23
Is data definition information regarding the data of the data type B.

【0026】図4は比較対象ファイルF1、F2内のデ
ータの内容と後述する図3のフローチャートにしたがっ
て上述のデータを比較した結果とを示したものである。
FIG. 4 shows the contents of the data in the comparison target files F1 and F2 and the result of comparing the above-mentioned data according to the flowchart of FIG. 3 which will be described later.

【0027】なお、図2と図4中でデータ種別Aデー
タ種別Bの文字が記述されているが、これはデータ定義
情報22〜23およびデータ11〜14、21〜24の
区別をしやすくするための便宜的ものであり、発明適用
においては何らこの情報は必要としない。
2 and 4, the data type A , data
Although the character of the data type B is described, this is for convenience to make it easy to distinguish the data definition information 22 to 23 and the data 11 to 14 and 21 to 24, and in the application of the invention, this information is not used. Does not need.

【0028】図5は後述する図3のフローチャートにし
たがって比較対象ファイルF1、F2のデータを読み込
み、メモリ中に展開した比較対象ファイル展開情報MF
1、MF2を示したものである。
FIG. 5 is a comparison target file expansion information MF in which the data of the comparison target files F1 and F2 is read according to the flowchart of FIG.
1 and MF2.

【0029】比較対象ファイル展開情報MF1、MF2
をレコード管理テーブルRTを用いて管理する。
Comparison target file expansion information MF1, MF2
Is managed using the record management table RT.

【0030】ファイル1ポインタ51は比較対象ファイ
ル展開情報MF1のレコード管理テーブルRT1n中の
最初のレコード管理テーブルRT11をポイントし、フ
ァイル2ポインタ52は比較対象ファイル展開情報MF
2のレコード管理テーブルRT2m中の最初のレコード
管理テーブルRT21をポイントするポインタである。
さらに、レコード管理テーブルRTは、次レコード管理
ポインタ53は次のレコード管理テーブルRTをポイン
トするポインタ、前レコード管理ポインタ54は前のレ
コード管理テーブルRTをポイントするポインタ、キー
値ポインタ55はキー格納領域であるキー57をポイン
トするポインタ、データポインタ56は比較対象データ
格納領域であるデータ58をポイントするポインタおよ
びキー57とデータ58とから構成されている。
The file 1 pointer 51 points to the first record management table RT11 in the record management table RT1n of the comparison target file expansion information MF1, and the file 2 pointer 52 corresponds to the comparison target file expansion information MF.
2 is a pointer that points to the first record management table RT21 in the second record management table RT2m.
Further, in the record management table RT, the next record management pointer 53 is a pointer pointing to the next record management table RT, the previous record management pointer 54 is a pointer pointing to the previous record management table RT, and the key value pointer 55 is a key storage area. The pointer 57 pointing to the key 57 and the data pointer 56 are composed of a pointer pointing to the data 58 which is the comparison target data storage area, the key 57 and the data 58.

【0031】なお、図示はしていないが、キー57には
「キー」の他に「キー長」と「キー属性」も格納されており、
またデータ58には「データ」の他に「データ長」と「デー
タ属性」も格納されていて、キーおよび比較対象データ
の比較においては、これらの図示していない情報も参照
して比較する。
Although not shown, the key 57 stores a “key length” and a “key attribute” in addition to the “key”.
Further, the data 58 stores "data length" and "data attribute" in addition to "data". When comparing the key and the comparison target data, the information not shown is referred to and compared.

【0032】次に、図3のフローチャートを用いて本発
明の一実施例を詳細に説明する。
Next, one embodiment of the present invention will be described in detail with reference to the flowchart of FIG.

【0033】まず、データ定義情報ファイルD1内のデ
ータ定義情報22、23をメモリ内に読み込む(ステッ
プ31)。
First, the data definition information 22 and 23 in the data definition information file D1 is read into the memory (step 31).

【0034】次に、比較対象ファイルF1内のデータを
メモリ内に読み込む(ステップ32)。読み込んだデー
タがデータ定義情報22、23のどれに対応するものか
をデータ定義情報22、23に指定された「キー開始位
置」、「キー属性」、「キー値」に従って決定する。
Next, the data in the comparison target file F1 is read into the memory (step 32). Which of the data definition information 22 and 23 the read data corresponds to is determined according to the “key start position”, “key attribute”, and “key value” specified in the data definition information 22 and 23.

【0035】なお、読み込んだデータがデータ定義情報
22、23のどれに対応するものかの決定は次のように
行なう。
The determination of which of the data definition information 22 and 23 the read data corresponds to is performed as follows.

【0036】読み込んだデータが図4のデータ41に示
すデータの場合およびデータ定義情報22、23の定義
は次のとおりである。
When the read data is the data shown in the data 41 of FIG. 4 and the definition of the data definition information 22 and 23 is as follows.

【0037】読み込んだデータ:MSGA001メッセ
ージ1¥n データ定義情報22:「キー開始位置」=0、「キー属性」
=t(テキストデータ)、「キー値」=「MSGA」 データ定義情報23:「キー開始位置」=12、「キー属
性」=t(テキストデータ)、「キー値」=「MSGB」 この場合、データ定義情報22が定義している「オフセ
ットの先頭からの位置0(「キー開始位置」=0)」からは
「キーのデータ種別がテキストデータ(「キー属性」=t)」
である「MSGA(=「キー値」)」がデータ41に存在し
ているため、データ定義情報22の上記項目と一致する
のに対して、データ定義情報23で指定されている「キ
ー開始位置=12」からは「1¥n」のデータが存在して
いて、データ定義情報23で指定されているテキストデ
ータ(「キー属性」)である「MSGB(=「キー値」)」とは
一致しない。
Data read: MSGA001 message 1 \ n Data definition information 22: "key start position" = 0, "key attribute"
= T (text data), “key value” = “MSGA” data definition information 23: “key start position” = 12, “key attribute” = t (text data), “key value” = “MSGB” In this case, From "position 0 from the beginning of the offset (" key start position "= 0)" defined by the data definition information 22, "key data type is text data (" key attribute "= t)"
Since “MSGA (=“ key value ”)” that exists in the data 41 is present in the data 41, it matches the above item in the data definition information 22, while the “key start position” specified in the data definition information 23. Data of "1 \ n" exists from "= 12", and matches with "MSGB (=" key value ") which is text data (" key attribute ") specified by the data definition information 23. do not do.

【0038】したがって、データ41については、デー
タ定義情報22に対応していると決定する。
Therefore, it is determined that the data 41 corresponds to the data definition information 22.

【0039】このようにして決定したデータ定義情報に
基づいて該読み込んだデータを解析し、解析したデータ
を比較対象ファイル展開情報MF1として登録する。登
録は、図5に示したレコード管理テーブルRT1nを確
保し、該確保したレコード管理テーブルRT1nの項目
53〜58へそれぞれの項目に該当するデータを設定す
ることにより行われる(ステップ33)。
The read data is analyzed based on the data definition information thus determined, and the analyzed data is registered as the comparison target file development information MF1. The registration is performed by securing the record management table RT1n shown in FIG. 5 and setting the data corresponding to each item in the items 53 to 58 of the secured record management table RT1n (step 33).

【0040】比較対象ファイルF1内の全データについ
てステップ32〜33を繰り返す。
Steps 32 to 33 are repeated for all the data in the comparison target file F1.

【0041】比較対象ファイルF2内の全データについ
ても同様に行なう(ステップ32〜33)。
The same applies to all the data in the comparison target file F2 (steps 32 to 33).

【0042】次に、比較対象ファイル展開情報MF1、
MF2の各レコードの比較すべきデータについてレコー
ド管理テーブルRTを用いて比較する。
Next, the comparison target file expansion information MF1,
Data to be compared in each record of MF2 is compared using the record management table RT.

【0043】まず、レコード管理テーブルRT11のキ
ー57「MSGA001」と一致するキー値をレコード管
理テーブルRT21〜24のキー57から検索する。
First, a key value matching the key 57 "MSGA001" of the record management table RT11 is searched from the key 57 of the record management tables RT21-24.

【0044】この場合、レコード管理テーブルRT24
のキー57「MSGA001」が検索され、それぞれのデ
ータ58の内容が比較されるが、RT11のデータ58
「メッセージ1」とRT24のデータ58「メッセージ
3」とは同一でないため、不一致という情報を比較結果
として出力する(ステップ34〜35)。
In this case, the record management table RT24
The key 57 “MSGA001” of is searched and the contents of the respective data 58 are compared.
Since the "message 1" and the data 58 "message 3" of the RT 24 are not the same, information indicating that they do not match is output as a comparison result (steps 34 to 35).

【0045】同様に、RT12のキー57「MSGB0
01」はRT23のキー57「MSGB001」と一致
し、RT12のデータ58「エラーメッセージ1」とRT
23のデータ58「エラーメッセージ1」と一致する。し
たがって、これらのデータについては一致という情報を
比較結果として出力する。
Similarly, the RT12 key 57 "MSGB0
"01" matches the RT57 key 57 "MSGB001", and the RT12 data 58 "error message 1" and RT
The data 58 of 23 corresponds to “error message 1”. Therefore, information that these data match is output as the comparison result.

【0046】また、RT13のキー57「MSGA00
2」はRT21のキー57「MSGA002」と一致し、
RT13のデータ58「メッセージ2」とRT23のデー
タ58「メッセージ2」と一致する。したがって、これら
のデータについては一致という情報を比較結果として出
力する。
Also, the RT 57 key 57 "MSGA00
2 ”matches RT57 key 57“ MSGA002 ”,
The data 58 “message 2” of RT13 and the data 58 “message 2” of RT23 match. Therefore, information that these data match is output as the comparison result.

【0047】また、RT14のキー57「MSGB00
2」はRT22のキー57「MSGB002」と一致する
ため、RT14のデータ58「エラーメッセージ2」とR
T23のデータ58「エラーメッセージ3」とを比較する
が一致しない。したがって、これらのデータについては
不一致という情報を比較結果として出力する。
In addition, the RT57 key 57 "MSGB00
2 ”corresponds to the RT57 key 57“ MSGB002 ”, so RT14 data 58“ error message 2 ”and R
The T58 data 58 "error message 3" is compared, but they do not match. Therefore, information that these data do not match is output as a comparison result.

【0048】上記の比較結果を出力したものを図4の比
較結果に示す。
The output of the above comparison result is shown in the comparison result of FIG.

【0049】このようにして、比較対象ファイル展開情
報MF1、MF2の比較すべき全データについての比較
結果を出力して処理を終了する(ステップ36)。
In this way, the comparison result for all the data to be compared in the comparison target file expansion information MF1 and MF2 is output, and the process is terminated (step 36).

【0050】以上に示すように、図2に示すデータ定義
情報を用いることにより、比較すべきデータ種別に依存
した処理をプログラム内に持つ必要がなくなり、ファイ
ル内のデータをデータ定義情報で解析できることにより
比較も容易に行えるようになる。
As described above, by using the data definition information shown in FIG. 2, it is not necessary to have a process in the program depending on the data type to be compared, and the data in the file can be analyzed by the data definition information. This makes comparison easier.

【0051】なお本実施例では、比較対象ファイルF
1、F2内のデータ中に異なるデータ属性のデータが混
在はしているが、比較対象データについてはデータ属性
が同一である例で述べてきたが、本発明はさらに、次の
ようなデータ属性の異なるデータ同士の比較もできる。
In this embodiment, the comparison target file F
Although data of different data attributes coexist in the data in 1 and F2, the data attributes of the comparison target data are the same, but the present invention further includes the following data attributes. You can also compare different data.

【0052】例えば16進形式の数値データとパック形
式の数値データとの値の比較においては、データ定義情
報基本形22を拡張して数値データであることを定義情
報で指定させ、プログラム内で比較データの一方のデー
タ形式を他方のデータ形式に変換する等の属性統一後に
比較することもできる。
For example, in comparing the values of hexadecimal format numeric data and pack format numeric data, the data definition information basic form 22 is expanded to let the definition information specify the definition data, and the comparison data is set in the program. It is also possible to make a comparison after unifying attributes such as converting one data format to the other data format.

【0053】[0053]

【発明の効果】本発明によれば、比較対象ファイルの種
別を定義したデータ定義情報を設けるだけでよいため、
比較対象ファイルの種別に依存して様々な比較装置が不
要となる。このため、ソフトウエア開発者は、様々な比
較装置を作成しなくてすみ、二重開発が不要となる。ま
た、ユーザは、様々な比較装置の使用方法を理解する必
要がなく、一つの比較装置の使用方法のみを理解してお
くだけで済むので、コンピュータシステム開発における
ソースプログラムの修正確認からテスト結果の確認等の
データ比較作業時間を省力化することができる。
According to the present invention, since it is only necessary to provide the data definition information defining the type of the file to be compared,
Various comparison devices are unnecessary depending on the type of the comparison target file. For this reason, the software developer does not have to create various comparison devices, and does not need double development. In addition, the user does not need to understand how to use various comparison devices, and only needs to understand how to use one comparison device. The time required for data comparison work such as confirmation can be saved.

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

【図1】本発明の一実施例を示すシステム概略構成図。FIG. 1 is a system schematic configuration diagram showing an embodiment of the present invention.

【図2】データ定義情報を示す図。FIG. 2 is a diagram showing data definition information.

【図3】本発明の比較方式のフローチャート。FIG. 3 is a flowchart of a comparison method of the present invention.

【図4】比較対象ファイル内のデータの内容とデータ比
較結果を示す図。
FIG. 4 is a diagram showing the content of data in a file to be compared and the result of data comparison.

【図5】比較対象ファイル展開情報MF1、MF2の具
体例を示す図。
FIG. 5 is a diagram showing a specific example of comparison target file expansion information MF1 and MF2.

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

F1〜F2…比較対象ファイル、 D1…データ定義情報ファイル、 MF1〜MF2…比較対象ファイル展開情報、 MD1…データ定義情報ファイル展開情報、 MAF1〜MAF2…比較対象ファイル解析結果情報、 C1…比較結果、 RT…レコード管理テーブル、 21…データ定義情報基本形、 22、23…データ定義情報、 51…ファイル1ポインタ、 52…ファイル2ポインタ、 53…次レコード管理ポインタ、 54…前レコード管理ポインタ、 55…キー値ポインタ、 56…データポインタ、 57…キー、 58…データ58。 F1 to F2 ... Comparison target file, D1 ... Data definition information file, MF1 to MF2 ... Comparison target file expansion information, MD1 ... Data definition information file expansion information, MAF1 to MAF2 ... Comparison target file analysis result information, C1 ... Comparison result, RT ... Record management table, 21 ... Data definition information basic form, 22, 23 ... Data definition information, 51 ... File 1 pointer, 52 ... File 2 pointer, 53 ... Next record management pointer, 54 ... Previous record management pointer, 55 ... Key Value pointer, 56 ... Data pointer, 57 ... Key, 58 ... Data 58.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 大西 理信 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウェアエンジニアリング株式会 社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Rishin Onishi 6-81 Onoue-cho, Naka-ku, Yokohama-shi, Kanagawa Hitachi Software Engineering Co., Ltd. In-house

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】データを比較する比較装置において、比較
対象データの種別と比較項目とを定義しているデータ定
義情報に基づいて比較対象データを解析して該解析結果
に基づいて比較項目と比較関連項目とを抽出する解析装
置と、該抽出された比較関連項目に基づいて比較項目を
比較する比較装置とを備えたことを特徴とするデータ定
義情報に基づく比較装置。
1. A comparison device for comparing data, wherein the comparison target data is analyzed based on data definition information defining the type of comparison target data and the comparison item, and compared with the comparison item based on the analysis result. A comparison device based on data definition information, comprising: an analysis device that extracts related items; and a comparison device that compares comparison items based on the extracted comparison related items.
JP6048341A 1994-03-18 1994-03-18 Comparison device based on data definition information Pending JPH07262061A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6048341A JPH07262061A (en) 1994-03-18 1994-03-18 Comparison device based on data definition information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6048341A JPH07262061A (en) 1994-03-18 1994-03-18 Comparison device based on data definition information

Publications (1)

Publication Number Publication Date
JPH07262061A true JPH07262061A (en) 1995-10-13

Family

ID=12800702

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6048341A Pending JPH07262061A (en) 1994-03-18 1994-03-18 Comparison device based on data definition information

Country Status (1)

Country Link
JP (1) JPH07262061A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09114862A (en) * 1995-10-20 1997-05-02 Fuji Xerox Co Ltd Data comparator and method used for it
US7197471B2 (en) * 2001-08-30 2007-03-27 International Business Machines Corporation System and method for assessing demographic data accuracy

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09114862A (en) * 1995-10-20 1997-05-02 Fuji Xerox Co Ltd Data comparator and method used for it
US7197471B2 (en) * 2001-08-30 2007-03-27 International Business Machines Corporation System and method for assessing demographic data accuracy

Similar Documents

Publication Publication Date Title
US6928438B2 (en) Culturally correct ordering of keyed records
US20030023584A1 (en) Universal information base system
JP2001167086A (en) Method and device for managing document with digital signature
JPH08329116A (en) Method for retrieving structured document
JPH07262061A (en) Comparison device based on data definition information
JP2002202973A (en) Structured document management device
JPH09146968A (en) Document retrieving method
JP2569857B2 (en) Variable byte length character input control method
JPH11232149A (en) File comparison processing method and device, and medium storing file comparison processing program
JPH05158984A (en) Device for extracting character string
JP2001312517A (en) Index generation system and document retrieval system
JPH0237466A (en) Information processing system
JP3193249B2 (en) Keyword search method
JP4139805B2 (en) Apparatus, method and program for converting lexical data to data
JPH11161666A (en) Method and device for document data retrieval and document editing device
JPH08314958A (en) Data registering method in parliamentary papers retrieving system
JPH01286020A (en) Program retrieving system
JPH1027178A (en) Document data base managing device
JPH07200597A (en) Document management device
JPH0628408A (en) Document filing device
JPH0358146A (en) File exchange system between different kinds of computer systems
JPS61264433A (en) Electronic equipment
Piff Text merges in TEX and LaTEX
JPH06274332A (en) Registration/retrieval method for program parts
JPH04158469A (en) Document preparing device