[go: up one dir, main page]

JPS58169265A - Data conversion processing system - Google Patents

Data conversion processing system

Info

Publication number
JPS58169265A
JPS58169265A JP57052137A JP5213782A JPS58169265A JP S58169265 A JPS58169265 A JP S58169265A JP 57052137 A JP57052137 A JP 57052137A JP 5213782 A JP5213782 A JP 5213782A JP S58169265 A JPS58169265 A JP S58169265A
Authority
JP
Japan
Prior art keywords
data
parameter
attribute
data conversion
attribute table
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
JP57052137A
Other languages
Japanese (ja)
Inventor
Osamu Matsumoto
修 松本
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57052137A priority Critical patent/JPS58169265A/en
Publication of JPS58169265A publication Critical patent/JPS58169265A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F5/00Methods or arrangements for data conversion without changing the order or content of the data handled

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To improve the reliability of data conversion, by grouping all files in similar format having the same data attribute, and applying the same conversion parameter. CONSTITUTION:A parameter attribute table generation part 5 takes only attributes out of a data conversion parameter input file to generate a parameter attribute table 6. An identical attribute confirmation processing part 7 generate an identical attribute information file by grouping files having the same attribute parameter among all files. A source attribute table generation part 10, on the other hand, generates a source attribute table 11 from a source copy library 9. A parameter attribute checking part 12 makes a check by comparing the source attribute table with attribute patterns and outputs the check results to a parameter correction processing part 13. This processing part 13 analyzes the check results to make corrections. Thus, a data conversion processing part 14 applies the same conversion system to files having the same attribute for processing.

Description

【発明の詳細な説明】 発明の技術分計 本発明は、A機種システム間で7フイルのコンバージ璽
ンを行なう際のデータ変換処理方式に関し、特にコンバ
ージ冒ンによりファイルのレイアウトが変化する場合に
、JI4なるファイル間で。
DETAILED DESCRIPTION OF THE INVENTION Technical Summary of the Invention The present invention relates to a data conversion processing method when converging 7 files between A type systems, and particularly when the layout of files changes due to the convergence. , between files called JI4.

同じ変換パラメータの属性をもつものをグループ化し、
共通に同一の変換方式を適用することにより、高い信l
ij性をもつコンバージ冒ンデータが得られるようにし
た鎮似形式フフイルのデータ変換処理方式に関する。
Group those with the same conversion parameter attributes,
High reliability can be achieved by applying the same conversion method in common.
The present invention relates to a data conversion processing method for simulative format files that allows converged conversion data with ij characteristics to be obtained.

技術の背景 他社コンビ、−タシステムとの間でファイルのコンバー
ジ曹ンを行なうときのように、データ表現形式が異なる
システム間でファイルのコンバージ冒ンを行なう場合、
データ長やカラムの対応が変化し、ファイルのレイアウ
トが鵬なるものになるが、このとき0種々の原因で、デ
ータのエラーが生じやすい。
Technical background When converging files between systems with different data representation formats, such as when converging files with other companies' computer systems,
Data length and column correspondence change, resulting in a different file layout, but at this time, data errors are likely to occur for various reasons.

以下に、いくつかのエラー発生事例について説明する。Below, some examples of error occurrence will be explained.

’A−1Eに示す事例は1本来、レプードの長さの調整
や桁合せに使用されるF I LLER(無芸項目ンに
、データ欄を設けたソース・データがあり。
In the example shown in A-1E, there was originally source data with a data field in FILLER, which was used to adjust the length and align digits of the repudo.

その特殊な規約に気が付かずに、データ変換を誤った例
である。
This is an example of a person converting data incorrectly without noticing the special rules.

■はユーザから提供されたデータ・フォーマットであり
、これf標準的に変換すれば、■のように、9CMP(
9は数字、CMPは圧縮形データを示す)のみがバイト
長データに変換され、残りはその!!まの形で移行する
。しかし、■に示すように、実際にはニーflIllで
例外的規約を設け、FILLERの一部に、9CMPの
データ項目欄を設定していた。そのため、■のような変
換をしたのでは、FILLER内のデータは圧縮形のま
ま残されることになるので、■のような形に変換しなけ
ればならないものであった。
■ is the data format provided by the user, and if it is converted into a standard format, it will be 9CMP (
9 is a number, CMP is compressed data) is converted to byte length data, and the rest are! ! Transition in the form of a man. However, as shown in (2), an exceptional rule was actually established in knee flIll, and a data item column of 9CMP was set in a part of FILLER. Therefore, if the conversion as shown in ■ is carried out, the data in FILLER will remain in compressed form, so it must be converted into the form as shown in ■.

第2図に示す事例は、マルチフォーマットのデータであ
って、特に最後にレコード区分がついているものを変換
したとき、興なるフォーマットのが生じた例である。
The example shown in FIG. 2 is an example in which an unusual format occurs when converting multi-format data, especially data with a record classification at the end.

A、Bは、オリジナルのマルチフォーマットの中の2つ
のフォーマットを示す、これらをそれぞれデータ変換し
たところ、に nFのように、レコード長に違いが生じ
たので、レコード長の長いAにレコード長を合わせ B
Pの終りにF I LLER全付加したものである。と
ころが、オリジナルでは、レコード区分が最下位にあり
、′R換後のデータについてもこの部分の位置f合わせ
なければ。
A and B represent two formats from the original multi-format. When they were converted into data, there was a difference in record length as shown in nF, so we changed the record length to A, which has a longer record length. Matching B
This is the result of adding all F I LLER to the end of P. However, in the original, the record classification is at the lowest level, and the position of this part must also be adjusted for the data after 'R conversion.

レコード区分判定に狂いが生じることになる。そのため
、に、ヒに示すような位置に、FILLERを付加しな
ければならない。
This will cause errors in record classification judgment. Therefore, FILLER must be added at the positions shown in and h.

第31mに示す事例は、プログラム内で判定ロジックに
より転送されるデータであって、特にレコード単位の場
合に、変換により長くなったデータが切れてエラーとな
った例である。
The case shown in No. 31m is data transferred by the determination logic within the program, and particularly in the case of record units, data that has become longer due to conversion is cut off, resulting in an error.

同図(−)はオリジナルの状態、神)は変換後の状態 
 ゛を示す、オリジナルでは、A、B、Cともに同一レ
コード長であるから0判定ロジックで、AまたはBがC
にレコード区分されても問題はない、しカル、変換後に
、データに、B′、  c#のうち、にのレコード長が
艮くなプたため0判定−ジッダで。
In the same figure (-) is the original state, and (God) is the state after conversion.
In the original, A, B, and C have the same record length, so the 0 judgment logic indicates that A or B is C.
There is no problem even if the record is divided into two, but after conversion, the record length of B' and C# does not change in the data, so the judgment is 0 - Jeddah.

C′にA′またはB′がレコード区分で転送される場合
When A' or B' is transferred to C' by record classification.

険の方のはみ出し部分のデータが切れてしまうことにな
る。そのため、B′、C′のレフニド長はにに合わせる
必要がある。
The data on the protruding part on the steep side will be cut off. Therefore, the reflex lengths of B' and C' need to be matched.

プンバージ曹ン時におけ゛る以上の事例のようなエラー
の発生は、事前調査、解析不足により、プログラムの非
互換およびファイルの領域変動のあらい出しが不十分で
あったり、データ変換が、ユーザ提供の各種ドキュメン
トのみに依存して行なわれ、信頼性に欠けることが原因
となっている。
Errors like the above cases occur during the Pumbarge process due to lack of preliminary investigation and analysis, which may be due to insufficient identification of program incompatibility and file area changes, or data conversion may be due to errors provided by the user. This is due to the lack of reliability as it relies solely on various documents.

また、一方では、コンバージ冒ン後には、フッイル間で
のデータの受は渡しが不可能になることから、データ変
換時の信頼性を高めることが重要となる。
On the other hand, since data cannot be transferred between files after convergence, it is important to improve reliability during data conversion.

明の目的および構成 本@羽は、上述した従来の問題点を解決するため、11
1i精度のデータ変換パラメータを生成することを目的
とするものであり、そのため、ユーザにより提供された
データ変換パラメータを、ソースプログラムの定義情報
を利用してチェックし。
The purpose and structure of the book @Ha is to solve the above-mentioned conventional problems.
The purpose is to generate data conversion parameters with 1i precision, and for this purpose, the data conversion parameters provided by the user are checked using definition information of the source program.

また同じデータ属性をもつ類似形式のファイルについて
は、全てグループ化して、同一の変換パラメ1−夕を適
用し、データ変換の信@性向上を図って一部)る。
Files of similar formats with the same data attributes are all grouped together and the same conversion parameters are applied to improve the reliability of data conversion.

本発明は、その構成としてデータ変換処理システムにお
いて、変換対数となる7フイル毎にデータ変換パラメー
タに基づいてパラメータ属性テーブルを作成する手段と
、該ファイル毎のパラメータ属性テーブルから同属のフ
チイルをグループ化する手段と、f換対象データを定義
するソースプログラムからソース属性テーブルを作成す
る手段と、該ソース属性テーブルと上記グループ化され
たパラメータ属性テーブルとを比較しチェックする手段
と、該チェック結果にしたがって、パラメータ属性テー
ブルを決定する手段と、データ変換手段とをそなえ、該
データ変換は、上記同属の7テイルについて同一の変換
処理を実行することを特徴とするものである。
The present invention has a data conversion processing system that includes a means for creating a parameter attribute table based on data conversion parameters for every seven files serving as a conversion logarithm, and a means for creating a parameter attribute table based on a data conversion parameter for each of seven files, which is a conversion logarithm, and grouping frames of the same genus from the parameter attribute table for each file. means for creating a source attribute table from a source program that defines data to be converted; means for comparing and checking the source attribute table with the grouped parameter attribute table; , means for determining a parameter attribute table, and data conversion means, and the data conversion is characterized in that the same conversion process is executed for the seven tails of the same genus.

発明の実織例 第4図は2本実施例においてデータ変換パラメータ生成
に使用される基礎データ源を示す、第51ffiは1本
発明方式におけるデータ変換パラメータの生成処理過程
を示すフ四−悶である。
Actual Example of the Invention Fig. 4 shows the basic data source used for data conversion parameter generation in the present embodiment. be.

第4因(、)は、オリジナルデータに関する定義をモ含
むフボルソースおよびコピーライブラリを示す、同図(
&)は、ユーザからドキュメン)(文ml)あるいは面
接調査により収集できるファイルレイアウトデータを示
す、  1−1)において0社員NOの9(4)は、4
桁の数字を表わし0社員名のX(10)は10桁の文字
f![1わし、そして基本給の9(10)CMPは、圧
縮形ハーフバイトで表現された10桁数字を表わしてい
る。
The fourth factor (,) is shown in the same figure (
&) indicates file layout data that can be collected from the user via document) (text ml) or interview survey. In 1-1), 9 (4) of 0 employee number is 4.
X (10) in the employee name represents the digit number f! [1 and the base salary of 9 (10) CMP represent a 10-digit number expressed in compressed half-bytes.

木5図について説明すると6才4図価)に示すユーザ提
供のファイルレイ7ウトデータから、データ変換パラメ
ータを作成する。データ変換パラメータは、第4図(&
)に示す内容を記述したものである。他方、2ポルソー
スおよびコピーライブラリ中のフチイルデータを分析し
て、データ変換パラメータに対応するデータを作成する
To explain about Figure 5, data conversion parameters are created from the user-provided file layout data shown in figure 6 and figure 4). The data conversion parameters are shown in Figure 4 (&
). On the other hand, data corresponding to the data conversion parameters is created by analyzing the 2-pol source and the frame data in the copy library.

次に、これら2つのデータ変換パラメータとソースデー
タとを突き合わせチェックする。一致すればデータ変換
パラメータを正しいものとして決定し、不明点について
は、解析し、結果をデータ変換パラメータその他に反映
させる。最終的に得られたデータ変換パラメータを用い
てデータ変換処理が行なわれる。
Next, these two data conversion parameters are checked against the source data. If they match, the data conversion parameters are determined to be correct, and any unclear points are analyzed and the results are reflected in the data conversion parameters and others. Data conversion processing is performed using the finally obtained data conversion parameters.

16図は1本発明実施例の構成図である1図において、
lはデータ処理システム、2はデータ変換パラメータ部
、3はデータ変換部、4はデータ変換ハラメータ入力フ
チイル、5はパラメータ属性テーブル作成部、6はパラ
メータ属性テーブル・ファイル、7は同属m認処理部、
8は同属情報ファイル、9はソース、コピーライブラリ
、10はソース属性テーブル作成部、llはソース属性
テーブル・ファイル、12はパラメータ属性チェック部
、13はパラメータ修正処理部、14はデータ変換処理
部、15はオリジナルデータ・ファイル、16は変換出
力データフフィルを示す。
Figure 16 is a configuration diagram of an embodiment of the present invention.
1 is a data processing system, 2 is a data conversion parameter section, 3 is a data conversion section, 4 is a data conversion harameter input frame, 5 is a parameter attribute table creation section, 6 is a parameter attribute table file, 7 is a same-related m recognition processing section ,
8 is a cognate information file, 9 is a source, a copy library, 10 is a source attribute table creation unit, 11 is a source attribute table file, 12 is a parameter attribute check unit, 13 is a parameter correction processing unit, 14 is a data conversion processing unit, 15 is an original data file, and 16 is a converted output data file.

入力ファイル4に格納されているデータ変換パラメータ
は、ファイル名、マシン機樵、コード(たとえば、EB
CDIC)、  レコード長、ブρ、り艮、データ名、
バイト数、−ケージ冒ン1桁数などからなり、データの
レイアウト、属性、値を完全に表現する。
The data conversion parameters stored in input file 4 include file name, machine code, code (for example, EB
CDIC), record length, record length, data name,
It consists of the number of bytes, the number of single digits in the cage, etc., and completely represents the layout, attributes, and values of the data.

パラメータ属性テーブル作成部5は、データ変換パラメ
ータの中から、データ変換時にデータ長カラム位置に影
響を与えるレコード長、レイアウト文字、数字の別、圧
縮形の有無などの属性のみを収り出してパラメータ属性
テーブルを作成する。
The parameter attribute table creation unit 5 extracts from the data conversion parameters only attributes that affect the data length column position during data conversion, such as record length, layout characters, numbers, presence or absence of compressed format, etc. Create an attribute table.

:ff7IA(−は作成されたパラメータ属性テーブル
のIN+示す。
:ff7IA (- indicates IN+ of the created parameter attribute table.

同属確認処理部7は、全てのフチイルについて作成され
たパラメータ属性テーブルをソート旭埋し、同一属性パ
ターンをもつフチイルをグループ化した同属情報ファイ
ルを作成する。オフ図(&)は。
The same attribute confirmation processing unit 7 sorts and fills the parameter attribute table created for all the borders, and creates a similar information file in which the borders having the same attribute pattern are grouped. Figure off (&).

同属情報ファイルのIMを示し、各ファイル毎に。Shows the IM of the same affiliated information file, for each file.

その同機ファイル′f表示する。Display the aircraft file 'f.

7−xllaテーブル作成部10は、ファイル9のソー
ス、コピーライブラリから、データを合成し、オフ図(
−■ご示したパラメータ属性テーブルと同様なソース属
性テーブルを作成する。
7-xlla table creation unit 10 synthesizes data from the source and copy library of file 9, and creates an off-diagram (
−■Create a source attribute table similar to the parameter attribute table shown.

パラメータ属性チェック部12は、同属情報ファイル毎
にソース属性テーブルと属性パターンとの比較チェック
を行ない、チェック結果をパラメータ修正処理部13に
出方する。パラメータ修正処理部13は、チェック結果
を解析し、必要な場合11f’i−1’求し、修正を行
なわせる。
The parameter attribute checking unit 12 performs a comparison check between the source attribute table and the attribute pattern for each same attribute information file, and outputs the check results to the parameter correction processing unit 13. The parameter modification processing unit 13 analyzes the check results, calculates 11f'i-1' if necessary, and causes modification to be performed.

このようにして、データ変換処理s14は、ソースによ
りチェックされたパラメータ属性テーブル尉よび同属情
報ファイルを用いて、同属のファイルに対しては向−の
変換方式を適用し、信頼性の高いデータ変換処理を実行
することができる。
In this way, the data conversion process s14 uses the parameter attribute table and the same attribute information file checked by the source, applies the conversion method of the previous direction to files of the same type, and performs highly reliable data conversion. processing can be executed.

且五玄腹i 本発明によれば、ユーザのド+為メントを用いて作成さ
れたデータ変換パラメータが、ソースプ四グラムのデー
タ定義を用いて自動的かつ高い信験度でチェックするこ
とができ、:Iンバージ画ンの品質向上と労力の軽減と
を図ることができる・
According to the present invention, data conversion parameters created using a user's input can be checked automatically and with a high degree of confidence using the data definition of a source program. ,: It is possible to improve the quality of inverge images and reduce labor.

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

第1図乃至第3図は従来生じたコンバージ璽ン時のエラ
ーの説明図8才4図および第5図は本発明の基本概念の
説明図、第6図は本発明実施例のシステム構成図、オフ
図は実施例中で使用されるパラメータ属性テーブルおよ
び向風情報7テイルの説明図である。 図中、lはデータ処理システム、2はデータ変換パラメ
ータ部、5はパラメータ属性テーブル作成部、7は向風
確認処理部、8は向風情報フフイル、10はソース属性
テーブル作成部、12はパラメータ属性チェック部、1
3はパラメータ修正処理部、14はデータ変換処理部を
示す。 特許出願人 富士通株式会社 代理人弁理士 長谷用 文 廣(外1名)甘1 図 才2闇 千3酊 牙4図
Figures 1 to 3 are explanatory diagrams of errors that occurred during convergence in the past. Figures 8 and 5 are explanatory diagrams of the basic concept of the present invention. Figure 6 is a system configuration diagram of an embodiment of the present invention. , Off diagram is an explanatory diagram of the parameter attribute table and headwind information 7 tail used in the embodiment. In the figure, l is a data processing system, 2 is a data conversion parameter section, 5 is a parameter attribute table creation section, 7 is a headwind confirmation processing section, 8 is a headwind information file, 10 is a source attribute table creation section, and 12 is a parameter Attribute check section, 1
Reference numeral 3 indicates a parameter correction processing section, and reference numeral 14 indicates a data conversion processing section. Patent Applicant: Fujitsu Limited Representative Patent Attorney Hase Yo Fumi Hiroshi (1 other person) Ama 1 Zusai 2 Yamisen 3 Douga 4 Zu

Claims (1)

【特許請求の範囲】[Claims] データ変換処理システムにおいて、変換対象となるファ
イル毎にデータ変換パラメータに基づいてパラメータ属
性テーブルを作成する手段と、該フ′フィル毎のパラメ
ータ属性テーブルから同属の7フイルをグループ化する
手段と、R換対象データを定義するソースプログラムか
らソース属性テーブルを作成する手段と、咳ソース属性
テーブルと上記グループ化されたパラメータ属性テーブ
ルとを比較しチェックする手段と、該チェック結果にし
たがって、パラメータ属性テーブルを決定する手段と、
データ変換手段とをそなえ、該データ変換は、上記同属
のファイルについて同一の変換処理を実行することを特
徴とするデータ変換処理方式。
In the data conversion processing system, means for creating a parameter attribute table based on data conversion parameters for each file to be converted; means for grouping seven files of the same genus from the parameter attribute table for each file; means for creating a source attribute table from a source program that defines data to be converted; means for comparing and checking the cough source attribute table and the grouped parameter attribute table; a means of deciding;
1. A data conversion processing method, comprising: a data conversion means, wherein the data conversion is performed by performing the same conversion process on files of the same genus.
JP57052137A 1982-03-30 1982-03-30 Data conversion processing system Pending JPS58169265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57052137A JPS58169265A (en) 1982-03-30 1982-03-30 Data conversion processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57052137A JPS58169265A (en) 1982-03-30 1982-03-30 Data conversion processing system

Publications (1)

Publication Number Publication Date
JPS58169265A true JPS58169265A (en) 1983-10-05

Family

ID=12906476

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57052137A Pending JPS58169265A (en) 1982-03-30 1982-03-30 Data conversion processing system

Country Status (1)

Country Link
JP (1) JPS58169265A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63103324A (en) * 1986-10-20 1988-05-09 Fujitsu Ltd Processing system for data conversion
JPS63282846A (en) * 1987-05-15 1988-11-18 Nec Corp Source program holding format converter
JPH01147646A (en) * 1987-12-03 1989-06-09 Fujitsu Ltd Information shared system for data processing system
JPH0436171U (en) * 1990-07-24 1992-03-26
JPH04223538A (en) * 1990-03-27 1992-08-13 Internatl Business Mach Corp <Ibm> Method and apparatus for processing requiremnt in database
JPH0594344A (en) * 1990-06-07 1993-04-16 Internatl Business Mach Corp <Ibm> Method for efficient document form conversion in data processing system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63103324A (en) * 1986-10-20 1988-05-09 Fujitsu Ltd Processing system for data conversion
JPS63282846A (en) * 1987-05-15 1988-11-18 Nec Corp Source program holding format converter
JPH01147646A (en) * 1987-12-03 1989-06-09 Fujitsu Ltd Information shared system for data processing system
JPH04223538A (en) * 1990-03-27 1992-08-13 Internatl Business Mach Corp <Ibm> Method and apparatus for processing requiremnt in database
JPH0594344A (en) * 1990-06-07 1993-04-16 Internatl Business Mach Corp <Ibm> Method for efficient document form conversion in data processing system
JPH0436171U (en) * 1990-07-24 1992-03-26

Similar Documents

Publication Publication Date Title
Nagy et al. A prototype document image analysis system for technical journals
US6272242B1 (en) Character recognition method and apparatus which groups similar character patterns
EP0592238B1 (en) Certifiable optical character recognition
JP3088019B2 (en) Medium processing apparatus and medium processing method
EP0439951A2 (en) Data processing
US20100128922A1 (en) Automated generation of form definitions from hard-copy forms
JPH0798765A (en) Direction detection method and image analysis device
JP2835178B2 (en) Document reading device
US20030021477A1 (en) Using multiple documents to improve OCR accuracy
JP2847715B2 (en) Character recognition device and character recognition method
JPS58169265A (en) Data conversion processing system
CN114912417A (en) Service data processing method, device, equipment and storage medium
CN119495109A (en) Bill information extraction method, system and storage medium
JPH08320914A (en) Table recognition method and device
JP3435375B2 (en) Character recognition method and device
JP3872923B2 (en) Information processing mail sorting system
US20110091111A1 (en) Multilevel bit-mapped image analysis method
JPH06103402A (en) Business card recognizing device
JP3016040B2 (en) Natural language processing system
JPH11102416A (en) Form reading direction determining apparatus and form reading direction determining method
CN112950749B (en) Handwriting picture generation method based on generation countermeasure network
JP3345469B2 (en) Word spacing calculation method, word spacing calculation device, character reading method, character reading device
JP3213151B2 (en) Learning method and learning device for pattern recognition device using neural network
JP2968725B2 (en) Character pattern creation device
JP2784004B2 (en) Character recognition device