JPH10283415A - Mapping device - Google Patents

Mapping device

Info

Publication number
JPH10283415A
JPH10283415A JP9086787A JP8678797A JPH10283415A JP H10283415 A JPH10283415 A JP H10283415A JP 9086787 A JP9086787 A JP 9086787A JP 8678797 A JP8678797 A JP 8678797A JP H10283415 A JPH10283415 A JP H10283415A
Authority
JP
Japan
Prior art keywords
data
industry standard
conversion rule
item
company
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
JP9086787A
Other languages
Japanese (ja)
Inventor
Naohito Ichikawa
尚人 市川
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP9086787A priority Critical patent/JPH10283415A/en
Publication of JPH10283415A publication Critical patent/JPH10283415A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To facilitate generating operation for a data conversion rule table by allowing enterprise to automatically generate its easy-to-handle data conversion rule table in standard format of the industry. SOLUTION: This device consists of an industry standard data file 11, an industry standard format file 12, a mapping device main body part 13, a data conversion rule table 14, a translator 15, and a user characteristic file 16. A mapping device main body part 13 receives industry standard data sent from the enterprise having transaction relation and relates the enterprise characteristic data format of the sending enterprise with the industry standard format of the industry standard format data file 12 to automatically generate a data conversion rule for converting the received industry standard data into data matching the purpose of use by the enterprise itself, thus structuring the data conversion rule table 14.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、各企業間で電子取
引を行なう際に取り扱う電子取引データのデータ変換シ
ステムに利用されるマッピング装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a mapping apparatus used in a data conversion system for electronic transaction data handled when performing electronic transactions between companies.

【0002】[0002]

【従来の技術】近年、電子取引データのデータ変換シス
テムは、取引関係にある一方の企業(完成品製造企業)
と他方の企業(部品製造企業)との間で部品などの取引
データを電子的に受・発注し易くするために、電気分
野,機械分野、さらに細分化された業界ごとに、予め部
品名,タイプ,サイズその他必要な事項に関して統一的
に定めた電子取引用の業界標準フォーマットを発行し、
例えば部品製造企業が完成品製造企業から業界標準フォ
ーマットに従った業界標準データを受信すると、部品製
造企業固有データおよび業界標準フォーマットを参考に
しながら、部品製造企業の例えば製造ラインその他の用
途などに利用可能な伝票例えば部品発注用伝票,部品製
造依頼用伝票等を作成することが行なわれている。
2. Description of the Related Art In recent years, a data conversion system for electronic transaction data has become one of the companies involved in a business relationship (finished product manufacturing company).
In order to make it easier to electronically receive and order transaction data such as parts between the company and the other company (parts manufacturing company), the parts name, Publish an industry standard format for electronic transactions that unifies the types, sizes and other necessary items,
For example, when a component manufacturer receives industry standard data from a finished product manufacturer according to an industry standard format, the component manufacturer uses the data for the component manufacturer, for example, on a manufacturing line or other purposes while referring to the component manufacturer specific data and the industry standard format. A possible form, for example, a form for ordering parts, a form for requesting parts manufacture, etc., has been created.

【0003】以上のデータ変換システムの説明は、部品
の受注側企業の立場から述べたものであるが、逆に部品
の発注側企業から考えた場合でも全く逆の関係,つまり
完成品製造企業が業界標準フォーマットに従って業界標
準データを送信し、部品製造企業が業界標準データを受
信し、部品受注用伝票を作成するときにも同様に適用さ
れる。
[0003] The above description of the data conversion system has been made from the viewpoint of the ordering company of the parts. However, even from the viewpoint of the ordering company of the parts, the relationship is completely opposite, that is, the finished product manufacturing company is not involved. The same applies when the industry standard data is transmitted in accordance with the industry standard format, and the component manufacturer receives the industry standard data and prepares a part order slip.

【0004】図10は業界標準フォーマットおよび業界
標準データの下に自身で利用可能なデータに変換する従
来の電子取引データのデータ変換システムを説明する構
成図である。
FIG. 10 is a block diagram for explaining a conventional electronic transaction data data conversion system that converts data into a data usable by itself under an industry standard format and industry standard data.

【0005】すなわち、このデータ変換システムは、業
界標準フォーマットのパターンに従って作成された例え
ば部品発注元企業から送信されてくる業界標準データフ
ァイル1と、予め人間の手作業によって業界標準フォー
マットおよび業界標準データファイル1から受注企業自
身の利用可能な伝票データなどに変換させるために必要
な企業固有データが格納されているデータ変換規則テー
ブル2と、これら業界標準データファイル1とデータ変
換規則テーブル2とを用いて受注企業自身の利用目的に
合った伝票データなどに変換するトランスレータ3と、
このトランスレータ3によって変換された伝票データを
保存するユーザ固有ファイル4とによって構成され、必
要時にユーザ固有ファイル4から保存データを読み出し
て企業自身で利用可能な伝票5などを作成出力する。
That is, this data conversion system includes an industry standard data file 1 created according to an industry standard format pattern and transmitted from, for example, a part ordering company, and an industry standard format and an industry standard data file which are manually input in advance. A data conversion rule table 2 storing company-specific data necessary for converting the file 1 into slip data that can be used by the ordering company itself, and the industry standard data file 1 and the data conversion rule table 2 are used. A translator 3 that converts the data into slip data or the like suitable for the purpose of use of the ordering company;
The translator 3 includes a user-specific file 4 for storing the slip data converted by the translator 3, and reads out the stored data from the user-specific file 4 when necessary to create and output a slip 5 that can be used by the company.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、以上の
ような電子取引データのデータ変換システムでは、デー
タ変換規則テーブル2を作成するために、業界標準フォ
ーマットを手作業で設定する必要があり、また業界標準
データから受注企業自身の利用目的に合った伝票データ
に変換させるための企業固有データを作成するのために
多くの時間がかかり、さらに業界標準フォーマットの改
訂時の度にデータ変換規則テーブル2を最初から再設定
しなければならず、非常に設定作業が面倒、かつ、煩雑
である。
However, in the data conversion system for electronic transaction data as described above, in order to create the data conversion rule table 2, it is necessary to manually set an industry standard format. It takes a lot of time to create company-specific data for converting standard data into slip data suitable for the use purpose of the ordering company itself, and the data conversion rule table 2 is updated every time the industry standard format is revised. The setting must be reset from the beginning, and the setting operation is very troublesome and complicated.

【0007】本発明は上記実情に鑑みてなされたもの
で、自企業で取り扱い易いデータ変換規則テーブルを迅
速、かつ、容易に作成可能とするマッピング装置を提供
することにある。また、本発明の他の目的は、業界標準
フォーマットの改訂時でも簡単にデータ変換規則テーブ
ルを作成可能とするマッピング装置を提供することにあ
る。
The present invention has been made in view of the above circumstances, and has as its object to provide a mapping apparatus that can quickly and easily create a data conversion rule table that can be easily handled by a company. It is another object of the present invention to provide a mapping apparatus which can easily create a data conversion rule table even when an industry standard format is revised.

【0008】[0008]

【課題を解決するための手段】本発明は、上記課題を解
決するために、取引関係にある一方の企業側に設置さ
れ、業界標準電子取引データ発行元の業界標準フォーマ
ットに従って前記取引関係にある他方の企業から送られ
てくる業界標準データを受信しデータ変換規則テーブル
を作成するマッピング装置において、項目名エリア、企
業固有データフォーマットエリアおよび業界標準フォー
マットエリアをもつ前記データ変換規則テーブルと、前
記他方の企業から受信される業界標準データのパターン
が前記業界標準フォーマットのパターンの中に存在する
とき、変換テーブル名を付けるとともに、当該業界標準
フォーマットのパターンに規定する項目名を含むデータ
を取り込んで前記データ変換規則テーブルの項目エリア
および業界標準フォーマットエリアに登録し前記データ
変換規則テーブルを確定するテーブル確定手段と、前記
受信された業界標準データの項目名が前記テーブルに登
録された項目名に存在するか否かに応じて、前記業界標
準データおよび前記企業固有データフォーマットの該当
する項目名に関連する各種のデータを前記データ変換規
則テーブルの企業固有データフォーマットエリアおよび
業界標準フォーマットエリアに選択的に登録する手段と
を設け、一方の企業の利用可能なデータに変換するため
のデータ変換規則テーブルを作成するマッピング装置で
ある。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention is set up on one side of a company having a business relationship and has the business relationship according to an industry standard format of an industry standard electronic transaction data issuer. A mapping device for receiving an industry standard data sent from the other company and creating a data conversion rule table, wherein the data conversion rule table having an item name area, a company-specific data format area and an industry standard format area; When a pattern of industry standard data received from a company is present in the pattern of the industry standard format, a conversion table name is given, and data including an item name defined in the pattern of the industry standard format is imported. Data conversion rule table item area and industry standard format Table determination means for registering in the mat area and determining the data conversion rule table; and determining whether the received industry standard data item name exists in the item name registered in the table. Means for selectively registering the data and various data related to the corresponding item names of the company-specific data format in the company-specific data format area and the industry standard format area of the data conversion rule table. This is a mapping device that creates a data conversion rule table for converting data into usable data.

【0009】従って、以上のような手段によれば、取引
関係にある他方の企業からの業界標準データを受信する
と、一方の企業は、当該業界標準データと予め取得され
格納されている業界標準フォーマットとの対応関係をと
りながら、データ変換規則テーブルの項目名エリア、企
業固有データフォーマットエリアおよび業界標準フォー
マットエリアに必要なデータを登録し、一方の企業の利
用可能なデータに変換するためのデータ変換規則テーブ
ルを作成するので、受信される業界標準データに基づい
てデータ変換規則テーブルを自動的、かつ、迅速に作成
でき、テーブル作成作業の簡易化を図ることができる。
Therefore, according to the above-described means, upon receiving the industry standard data from the other company in the business relationship, one of the companies can read the industry standard data and the industry standard format previously acquired and stored. Data conversion for registering necessary data in the item name area, company-specific data format area and industry standard format area of the data conversion rule table while corresponding to Since the rule table is created, the data conversion rule table can be created automatically and quickly based on the received industry standard data, and the table creation operation can be simplified.

【0010】また、他方の企業から受信される業界標準
データのある項目名の中に繰返し項目がある場合には、
前述するマッピング装置に新たに、ある項目名の繰返し
ごとに繰返し回数を加算し登録する繰返しワークテーブ
ルと、このワークテーブルのある項目名に対応する前記
データ変換規則テーブルの企業固有データフォーマット
エリアに繰返し回数を格納する項目繰返し処理手段とを
付加すれば、同じ項目名であっても異なる納入日時ごと
に異なる個数の部品を納入する場合などのときに有効に
利用することができる。
[0010] Further, when there is a repeated item in an item name of the industry standard data received from the other company,
A repetition work table for adding and registering the number of repetitions for each repetition of a certain item name in the above-described mapping device, and a repetition work table for the data conversion rule table corresponding to a certain item name in the company-specific data format area. If an item repetition processing means for storing the number of times is added, even when the same item name is delivered at a different delivery date and time, a different number of parts can be effectively used.

【0011】さらに、業界標準フォーマットに改訂があ
った場合には、前述するマッピング装置に新たに、改訂
前データ変換規則テーブルの項目名と改訂された前記業
界標準フォーマットの項目名との対応関係を規定する新
旧項目対応テーブルと、この新旧項目対応テーブルの対
応項目名に従って、前記された前記業界標準フォーマッ
トのデータを、前記改訂前データ変換規則テーブルの業
界標準フォーマットエリアに登録して改訂後データ変換
規則テーブルを作成する改訂テーブル作成手段とを付加
すれば、業界標準フォーマットの改訂時に自動的に改訂
後データ変換規則テーブルを作成できる。
Further, when there is a revision in the industry standard format, the mapping device described above newly sets the correspondence between the item names of the pre-revision data conversion rule table and the revised item names of the industry standard format. According to the prescribed new / old item correspondence table and the corresponding item name of the new / old item correspondence table, the data of the above-mentioned industry standard format is registered in the industry standard format area of the before-revision data conversion rule table to convert the data after revision. By adding a revision table creating means for creating a rule table, a revised data conversion rule table can be automatically created when an industry standard format is revised.

【0012】[0012]

【発明の実施の形態】図1は本発明に係わるデータ変換
システムの中のマッピング装置の一実施形態を示す構成
図である。同図において11は取引関係にある一方の企
業である例えば部品製造企業などに設置される業界標準
データファイルであって、このファイル11に保存され
る業界標準データAは図2に示すように業界標準フォー
マットBに従って例えば項目名(データタグ)、項目長
(レングスタグ)、実データ(可変長データエレメン
ト)などのデータ配列となっている。
FIG. 1 is a block diagram showing one embodiment of a mapping device in a data conversion system according to the present invention. In the figure, reference numeral 11 denotes an industry standard data file installed at one of the companies having a business relationship, for example, a parts manufacturer, and the industry standard data A stored in the file 11 is an industry standard data as shown in FIG. In accordance with the standard format B, for example, the data array includes an item name (data tag), an item length (length tag), and actual data (variable length data element).

【0013】12はある特定の業界団体で組織される協
会その他の機関(業界標準電子取引データ発行元)で作
成発行される例えばEIJA,つまり取引情報化対応の
業界標準フォーマットBを保存する業界標準フォーマッ
トファイルであって、このファイル12の業界標準フォ
ーマットBは、図3に示すように各フォーマットパター
ンごとに項目名、項目タイプ、項目長などが規定され、
前記協会その他の機関から伝送路を通して送信され、或
いは単体フロッピーなどの記憶媒体で発売されているの
で、伝送路を介して受信し、或いは当該記憶媒体を購入
することにより、当該業界に属する企業自身で容易に業
界標準フォーマットデータファイル12を備えることが
可能である。
Reference numeral 12 denotes an industry standard for storing, for example, EIJA, ie, an industry standard format B for dealing with transaction information, which is created and issued by an association or other organization (an industry standard electronic transaction data issuer) organized by a specific industry group. As for the industry standard format B of the file 12, an item name, an item type, an item length and the like are defined for each format pattern as shown in FIG.
It is transmitted through the transmission line from the association or other organizations, or is sold on a storage medium such as a single floppy, so it can be received through the transmission line, or by purchasing the storage medium, the company belonging to the industry itself And the industry standard format data file 12 can be easily provided.

【0014】13は取引関係にある他方の企業である例
えば完成品製造企業などに設置されるマッピング装置本
体部であって、このマッピング装置本体部13は、取引
関係にある一方の企業から送られてくる業界標準データ
Aを受信し、業界標準フォーマットデータファイル12
の業界標準フォーマットBの下に、他方の企業である例
えば完成品製造企業の企業固有データフォーマットと業
界標準フォーマットとを関係付けることにより,受信し
た業界標準データAから企業自身で利用目的に合ったよ
うなデータに変換させるためのデータ変換規則Cを自動
的に作成し図4に示すようなデータ変換規則テーブル1
4を構築する機能をもっている。
Reference numeral 13 denotes a mapping device main body installed at the other company in the business relationship, for example, a finished product manufacturing company, and the like. The mapping device main body 13 is sent from one company in the business relationship. Received industry standard data A, and receives the industry standard format data file 12
Under the industry standard format B of the other company, for example, by associating the industry-specific format with the company-specific data format of the other company such as a finished product manufacturing company, the received industry standard data A matches the purpose of use by the company itself. A data conversion rule C for automatically converting data into such data is automatically created, and a data conversion rule table 1 as shown in FIG.
4 has the ability to build.

【0015】前記マッピング装置本体部13は、業界標
準データAのパターンに基づいて業界標準フォーマット
Bの中から該当する業界標準フォーマットパターンを見
つけ出し、作成変換テーブル名とともに該当する業界標
準フォーマットパターンを設定しテーブル14を確定す
るテーブル確定手段13aと、このテーブル確定手段1
3aによって確定されたデータ変換規則テーブル14内
の各種データを決定し順次設定する各種データ設定手段
13bと、データ変換規則テーブル14内の企業固有デ
ータフォーマットに規定する項目名ごとの開始アドレス
となる開始位置を算出する開始位置算出手段13cと、
データ変換規則テーブル14内の企業固有データフォー
マットと業界標準フォーマットとの整合性をチェックす
る整合性チェック手段13dとが設けられている。
The mapping apparatus main unit 13 finds the corresponding industry standard format pattern from the industry standard format B based on the pattern of the industry standard data A, and sets the corresponding industry standard format pattern together with the created conversion table name. A table determining means 13a for determining the table 14;
3a, various data setting means 13b for determining and sequentially setting various data in the data conversion rule table 14 determined by 3a, and starting as a start address for each item name defined in the company-specific data format in the data conversion rule table 14. A start position calculating means 13c for calculating a position;
A consistency check unit 13d for checking the consistency between the company-specific data format in the data conversion rule table 14 and the industry standard format is provided.

【0016】なお、電子取引データの変換システムは、
以上の構成要素の他、さらに従来と同様に図示点線で示
すごとく、自動的に作成されたデータ変換規則テーブル
14を用いて、受信される業界標準データから企業自身
の利用目的に合った伝票等のデータに変換するトランス
レータ15、このトランスレータ15で変換される伝票
等のデータを格納するユーザ固有ファイル16等が設け
られている。なお、ユーザ固有ファイル16から作成さ
れる伝票等には項目名の他、例えば業界標準データの実
データが記述される。
The electronic transaction data conversion system includes:
In addition to the above components, as in the conventional case, as shown by the dotted line in the drawing, a slip or the like suitable for the company's own use purpose is obtained from the received industry standard data using the automatically created data conversion rule table 14. And a user-specific file 16 for storing data such as a slip converted by the translator 15. Note that, in addition to item names, actual data of, for example, industry standard data is described in a slip or the like created from the user-specific file 16.

【0017】次に、以上のようなマッピング装置の動作
について図5を参照しながら説明する。 (1) マッピング装置本体部13は、テーブル確定手
段13aを実行する。このテーブル確定手段13aは、
取引関係にある一方の企業から図2に示す業界標準デー
タAが送られてきているか否か、つまり業界標準データ
Aを受信したか否かを判断する(ST1)。業界標準デ
ータAを受信した場合には、その受信した業界標準デー
タAの中の業界標準フォーマットパターンに該当する業
界標準フォーマットパターンが業界標準フォーマットフ
ァイル12の業界標準フォーマットBに存在するか否か
を判断し(ST2)、存在する場合にはその業界標準フ
ォーマットパターンを選択し、存在しない場合には処理
終了とする。
Next, the operation of the above mapping apparatus will be described with reference to FIG. (1) The mapping device main unit 13 executes the table determination unit 13a. This table determination means 13a
It is determined whether or not the industry standard data A shown in FIG. 2 has been sent from one company in a business relationship, that is, whether or not the industry standard data A has been received (ST1). When the industry standard data A is received, it is determined whether an industry standard format pattern corresponding to the industry standard format pattern in the received industry standard data A exists in the industry standard format B of the industry standard format file 12. Judgment is made (ST2), and if it exists, the industry standard format pattern is selected, and if it does not exist, the process is terminated.

【0018】ステップST2において業界標準フォーマ
ットパターンを選択したとき、オペレータが外部から今
回の作成変換テーブル名を入力すると、この変換テーブ
ル名および業界標準フォーマットパターン例えばA1を
設定しデータ変換規則テーブル14を確定する(ST
3)。この業界標準フォーマットパターンA1の設定
は、業界標準フォーマットBの中から業界標準フォーマ
ットパターンA1を選択し、当該業界標準フォーマット
パターンA1の属する項目名,項目タイプおよび項目長
等をデータ変換規則テーブル14の項目名および業界標
準フォーマットのタイプおよび長さのエリアに設定す
る。 (2) 引き続き、マッピング装置本体部13は、各種
データ設定手段13bを実行する。
When an industry standard format pattern is selected in step ST2, when the operator inputs the name of the current conversion table from outside, the conversion table name and the industry standard format pattern, for example, A1, are set, and the data conversion rule table 14 is determined. Yes (ST
3). The setting of the industry standard format pattern A1 is performed by selecting the industry standard format pattern A1 from the industry standard format B, and setting the item name, item type, item length, etc. to which the industry standard format pattern A1 belongs in the data conversion rule table 14. Set the item name and type and length area in the industry standard format. (2) Subsequently, the mapping device main unit 13 executes various data setting means 13b.

【0019】この各種データ設定手段13bは、受信し
た業界標準データAの項目名がデータ変換規則Cに存在
するか否かをチェックし(ST4)、存在すれば次のス
テップST5に移行し、ここで業界標準データAの項目
長がデータ変換規則Cの項目長より長いとき(ST
5)、Aの項目長さをデータ変換規則Cの企業固有デー
タフォーマットの項目長に設定する(ST6)。さら
に、業界標準データAの実データ例えばE11がデータ変
換規則Cの業界標準フォーマットの項目タイプC11(=
E11)と一致していれば(ST7)、その項目タイプC
11を企業固有データフォーマットの項目タイプに設定す
る(ST8)。一致していなければ、項目タイプE11に
該当するような業界標準フォーマットの項目タイプを設
定する(ST9)。
The various data setting means 13b checks whether or not the item name of the received industry standard data A exists in the data conversion rule C (ST4), and if there is, proceeds to the next step ST5. When the item length of the industry standard data A is longer than the item length of the data conversion rule C (ST
5), the item length of A is set to the item length of the company-specific data format of the data conversion rule C (ST6). Furthermore, the actual data of the industry standard data A, for example, E11 is the item type C11 (=
If it matches E11) (ST7), the item type C
11 is set as the item type of the company-specific data format (ST8). If they do not match, an item type of an industry standard format corresponding to the item type E11 is set (ST9).

【0020】前記ステップST4において受信した業界
標準データAの項目名がデータ変換規則Cに存在しない
場合、ステップST10に移行し、データ変換規則Cに
各種のデータを設定する。つまり、業界標準データAの
項目名に該当する業界標準フォーマットBの項目名を検
索し、これに項目名をデータ変換規則Cに設定し、当該
業界標準フォーマットBの項目名に対応するタイプおよ
び項目長をデータ変換規則Cの業界標準フォーマットに
設定する。また、業界標準データAの項目長をデータ変
換規則Cの企業固有データフォーマットの項目長に設定
する。 (3) 引き続き、業界標準データAの項目名全部につ
いて処理したか否かを判断し(ST11)、未だ項目名
が残っている場合にはステップST4に戻り、同様の処
理を繰返す。そして、項目名全部を処理したならば、次
のステップST12に移行し、データ変換規則Cの企業
固有データフォーマットの開始位置を算出する。この開
始位置は、項目名ごとの開始アドレスを意味し、企業固
有データフォーマットの前項目名の開始位置に当該項目
名に対応する項目長を加算することにより求める。 (4) さらに、データ変換規則Cの企業固有データフ
ォーマットと業界標準フォーマットとの間で項目タイプ
と項目長との整合性をチェックする(ST13)。この
整合性のチェックは、例えば両項目タイプとも漢字また
は数字で記述されているとか、また企業固有データフォ
ーマットの項目長よりも業界標準フォーマットの項目長
が長いとき、整合性有りと判断する。
If the item name of the industry standard data A received in step ST4 does not exist in the data conversion rule C, the process proceeds to step ST10, and various data are set in the data conversion rule C. That is, an item name of the industry standard format B corresponding to the item name of the industry standard data A is searched, the item name is set in the data conversion rule C, and the type and item corresponding to the item name of the industry standard format B are searched. The length is set to the data conversion rule C industry standard format. Further, the item length of the industry standard data A is set to the item length of the company-specific data format of the data conversion rule C. (3) Subsequently, it is determined whether or not all the item names of the industry standard data A have been processed (ST11). If the item names still remain, the process returns to step ST4, and the same process is repeated. When all the item names have been processed, the process proceeds to the next step ST12, and the start position of the company-specific data format of the data conversion rule C is calculated. This start position means a start address for each item name, and is obtained by adding the item length corresponding to the item name to the start position of the previous item name in the company-specific data format. (4) Further, the consistency between the item type and the item length between the company-specific data format of the data conversion rule C and the industry standard format is checked (ST13). In this consistency check, for example, if both item types are described in kanji or numbers, or if the item length of the industry standard format is longer than the item length of the company-specific data format, it is determined that there is consistency.

【0021】従って、以上のような実施の形態によれ
ば、業界標準データを受信したとき、当該業界標準デー
タの業界標準フォーマットパターンに基づいて業界標準
フォーマットのパターンを取り込んでデータ変換規則テ
ーブルを確定し、このデータ変換規則テーブルの必要な
エリアに業界標準データおよび業界標準フォーマットの
各種データを取り出してデータ変換規則テーブルを作成
するので、データ変換規則テーブルを自動的、かつ、迅
速に作成でき、テーブル作成作業の簡易化、自企業で取
り扱い易いデータ変換規則テーブルを容易に作成でき
る。図ることができる。
Therefore, according to the above-described embodiment, when the industry standard data is received, the data conversion rule table is determined by taking in the pattern of the industry standard format based on the industry standard format pattern of the industry standard data. Then, the data conversion rule table is created by extracting the industry standard data and various data in the industry standard format into the necessary area of the data conversion rule table, so that the data conversion rule table can be automatically and quickly created. The creation work can be simplified, and a data conversion rule table that can be easily handled by the own company can be easily created. Can be planned.

【0022】図6は本発明に係わるデータ変換システム
の中のマッピング装置の他の実施形態を示す構成図であ
る。このマッピング装置は、図1とほぼ同様な機能をも
つ業界標準データファイル21、業界標準フォーマット
ファイル22、マッピング装置本体部23およびデータ
変換規則テーブル24の他、新たに繰返しワークテーブ
ル25が設けられている。
FIG. 6 is a block diagram showing another embodiment of the mapping device in the data conversion system according to the present invention. This mapping device is provided with an industry standard data file 21, an industry standard format file 22, a mapping device main body 23, a data conversion rule table 24, and a new repetitive work table 25 having functions substantially similar to those of FIG. I have.

【0023】業界標準データファイル21は、図1の業
界標準データファイル11と同様に業界標準フォーマッ
トパターンの下に、項目名,項目長および実データなど
のデータ配列を有しているが、さらに図1と比較して異
なるところは項目名の中に必要に応じて繰返し項目が記
述されている。この繰返し項目には、1次元,2次元,
…の繰返し項目がある。図6においては、B2,B3が
1次元の繰返し項目であって、B5が2次元の繰返し項
目である。ここで、例えばB2を製品名、B3を個数、
B5を納入条件とすると、図6においては「製品Y21
をY31個、Y51とY52の納入条件で、また製品Y
22をY32個、Y53,Y54とY55の納入条件
で」という意味である。
The industry standard data file 21, like the industry standard data file 11 of FIG. 1, has a data array such as item names, item lengths, and actual data under an industry standard format pattern. The difference from the item 1 is that a repeated item is described in the item name as necessary. These repeated items include one-dimensional, two-dimensional,
There are repeated items of ... In FIG. 6, B2 and B3 are one-dimensional repeated items, and B5 is a two-dimensional repeated item. Here, for example, B2 is the product name, B3 is the number,
Assuming that B5 is the delivery condition, in FIG.
With the delivery conditions of Y31 pieces, Y51 and Y52, and product Y
22 is the delivery condition of Y32 pieces, Y53, Y54 and Y55. "

【0024】業界標準フォーマットファイル22は、図
1の業界標準フォーマットファイル12と同様である
が、特に業界標準データファイル21の業界標準データ
Aのある項目名に繰返し項目があるとき、予め業界標準
フォーマットBに当該項目名に対する繰返し回数MAX が
設定されている。
The industry standard format file 22 is the same as the industry standard format file 12 shown in FIG. 1. However, when there is a repeated item in a certain item name of the industry standard data A in the industry standard data file 21, the industry standard format file 22 is set in advance. In B, the number of repetitions MAX for the item name is set.

【0025】前記繰返しワークテーブル25は、業界標
準データAのある項目名に繰返し項目があれば、その項
目名の繰返し回数を加算登録する機能をもっている。前
記データ変換規則テーブル24は、図1と同様な規則の
記録の他、繰返しワークテーブル25に記憶される繰返
し回数を記録する機能をもっている。
The repetition work table 25 has a function of adding and registering the number of repetitions of the item name if the item name of the industry standard data A has a repetition item. The data conversion rule table 24 has a function of recording the number of repetitions stored in the repetition work table 25 in addition to recording the same rules as in FIG.

【0026】前記マッピング装置本体部23は図7に示
すような機能,つまり図1と同様なマッピング処理機能
をもっている。すなわち、このマッピング装置本体部2
3は、テーブル確定手段13a、各種データ設定手段1
3b、開始位置算出手段13cおよび整合性チェック手
段13dの他、ある項目名の繰返し処理をデータ変換規
則テーブル24に反映させる項目繰返し処理手段23a
が設けられている。
The mapping device main unit 23 has a function as shown in FIG. 7, that is, a mapping processing function similar to that of FIG. That is, the mapping device main body 2
3 is a table determination unit 13a, various data setting units 1
3b, in addition to the start position calculating means 13c and the consistency checking means 13d, an item repetition processing means 23a for reflecting the repetition processing of a certain item name in the data conversion rule table 24
Is provided.

【0027】次に、以上のように構成されたマッピング
装置の動作について説明する。マッピング装置の基本的
な処理は、図1および図5と同様であるので、ここでは
その基本的な処理を省略し、特に項目繰返し処理手段2
3aの動作について説明する。
Next, the operation of the mapping apparatus configured as described above will be described. Since the basic processing of the mapping apparatus is the same as in FIGS. 1 and 5, the basic processing is omitted here, and in particular, the item repetition processing means 2
The operation of 3a will be described.

【0028】すなわち、マッピング装置本体部23は、
受信した業界標準データAの項目名ごとに順次図5に示
す処理を実行するが、特に項目繰返し処理手段23で
は、受信した業界標準データAの中の今回処理項目名が
繰返し項目であるか否かを判断する。ここで、当該項目
名が繰返し項目であれば、繰返しワークテーブル25に
前回項目名に対応する繰返し回数に「1」を加えた後、
このワークテーブル25の繰返し回数とデータ変換規則
テーブル24の繰返し回数とを比較し、ワークテーブル
25の繰返し回数が大きいとき、この繰返し回数をデー
タ変換規則テーブル24の当該項目名の繰返し回数エリ
アに設定する。
That is, the mapping device main unit 23
The processing shown in FIG. 5 is sequentially performed for each item name of the received industry standard data A. In particular, the item repetition processing means 23 determines whether the current processing item name in the received industry standard data A is a repetition item. Judge. Here, if the item name is a repetition item, after adding “1” to the repetition work table 25 to the number of repetitions corresponding to the previous item name,
The number of repetitions of the work table 25 is compared with the number of repetitions of the data conversion rule table 24. When the number of repetitions of the work table 25 is large, the number of repetitions is set in the number of repetitions area of the corresponding item name in the data conversion rule table 24. I do.

【0029】以上のような基本的な処理を含む項目繰返
し処理手段23による処理は、項目名がなくなるまで繰
返し実行する。しかる後、開始位置算出手段13cを実
行する。この開始位置算出手段13cは、企業固有デー
タフォーマットの前項目名の開始位置に当該項目名に対
応する項目長を加算することにより求める。さらに、デ
ータ変換規則Cの企業固有データフォーマットと業界標
準フォーマットとの間で項目タイプと項目長との整合性
をチェックする。
The processing by the item repetition processing means 23 including the above basic processing is repeatedly executed until there is no more item name. Thereafter, the start position calculating means 13c is executed. The start position calculating means 13c calculates the start position of the previous item name in the company-specific data format by adding the item length corresponding to the item name. Further, the consistency between the item type and the item length between the company-specific data format of the data conversion rule C and the industry standard format is checked.

【0030】以上のような実施の形態によれば、ある項
目名が繰返し項目であっても、データ変換規則テーブル
を迅速、かつ、簡単に作成でき、標準化作業の簡易化を
図ることができる。
According to the above-described embodiment, even if a certain item name is a repeated item, a data conversion rule table can be created quickly and easily, and the standardization work can be simplified.

【0031】図8は本発明に係わるデータ変換システム
の中のマッピング装置のさらに他の実施の形態を示す構
成図である。このマッピング装置は、業界標準フォーマ
ットBが改訂されたとき、改訂前のデータ変換規則テー
ブルに基づいて自動的に改訂後のデータ変換規則テーブ
ルを作成することにある。
FIG. 8 is a block diagram showing still another embodiment of the mapping device in the data conversion system according to the present invention. This mapping apparatus is to automatically create a revised data conversion rule table based on a data conversion rule table before revision when the industry standard format B is revised.

【0032】具体的には、業界標準フォーマットBの業
界標準フォーマットパターンA1が業界標準フォーマッ
トパターンA2に改訂されたとき、その改訂後業界標準
フォーマットパターンA2を取り込んで保存する改訂後
業界標準フォーマットファイル31(図1の12,図6
の22に相当する)と、改訂前のデータ変換規則を規定
する改訂前データ変換規則ファイル32a(図1の1
4,図6の24に相当する)と、旧項目名と新項目名と
の対応関係を規定する新旧項目対応テーブル33と、改
訂前データ変換規則ファイル32aを業界標準フォーマ
ットBの業界標準フォーマットパターンA2の改訂に伴
って改訂した改訂後データ変換規則ファイル32bと、
この業界標準フォーマットBの改訂に対する改訂前デー
タ変換規則ファイル32aの改訂処理を実施するマッピ
ング装置本体部34とによって構成されている。
More specifically, when the industry standard format pattern A1 of the industry standard format B is revised to the industry standard format pattern A2, the revised industry standard format file 31 for taking in and storing the revised industry standard format pattern A2. (12 in FIG. 1, FIG. 6
22) and a pre-revision data conversion rule file 32a (1 in FIG. 1) which defines the pre-revision data conversion rules.
4, corresponding to 24 in FIG. 6), a new / old item correspondence table 33 for defining the correspondence between the old item name and the new item name, and the data conversion rule file 32a before revision are stored in the industry standard format pattern of the industry standard format B. A post-revision data conversion rule file 32b revised along with the revision of A2,
And a mapping device main unit 34 for executing a process of revising the pre-revision data conversion rule file 32a for the revision of the industry standard format B.

【0033】以下、業界標準フォーマットBの改訂に伴
う改訂処理動作について図9を参照して説明する。先
ず、業界標準フオーマットのフオーマットパターンA1
がA2に改訂されたとき、当該フオーマットパターンA
2を取り込んで業界標準フオーマットファイル31に保
管する(ST21)。このフオーマットパターンA2に
改訂に伴って改訂作業を必要であるか否かの指示有無を
判断し(ST22)、作成変換テーブル名K2を伴う改
訂作業指示があれば、変換テーブル名K2およびフォー
マットパターンA2に特徴づけられた改訂後データ変換
規則テーブル32bを確定し(ST23)、かつ、改訂
前データ変換規則ファイル32aの旧項目名とフオーマ
ットパターンA2に規定する新項目名との対応関係を調
べて新旧項目対応テーブル33を作成する(ST2
4)。
Hereinafter, the revision processing operation accompanying the revision of the industry standard format B will be described with reference to FIG. First, the format pattern A1 of the industry standard format
Is revised to A2, the format pattern A
2 is stored in the industry standard format file 31 (ST21). It is determined whether or not there is an instruction as to whether or not the format pattern A2 requires a revision operation in accordance with the revision (ST22). If there is a revision operation instruction with the creation conversion table name K2, the conversion table name K2 and the format pattern A2 are determined. Is determined (ST23), and the correspondence between the old item name of the pre-revision data conversion rule file 32a and the new item name defined in the format pattern A2 is checked. Create item correspondence table 33 (ST2)
4).

【0034】しかる後、この新旧項目対応テーブル33
の対応関係に基づいて、改訂後データ変換規則テーブル
32aの項目名B11に対応する業界標準フォーマットエ
リアに改訂後業界標準フオーマットのフオーマットパタ
ーンA2の内容を順次格納する。
Thereafter, the new / old item correspondence table 33
, The contents of the revised industry standard format pattern A2 are sequentially stored in the industry standard format area corresponding to the item name B11 of the revised data conversion rule table 32a.

【0035】従って、以上のような実施の形態によれ
ば、業界標準フオーマットが改訂されると、新旧項目対
応テーブル33を作成し、この新旧項目対応テーブル3
3の新旧対応項目に従って業界標準フオーマットの内容
をデータ変換規則テーブルの業界標準フオーマットエリ
アに自動的に格納するので、改訂後のデータ変換規則テ
ーブル32bを自動的、かつ、迅速に作成でき、改訂後
のデータ変換規則テーブル32bを容易に作成可能であ
る。
Therefore, according to the above embodiment, when the industry standard format is revised, the new / old item correspondence table 33 is created, and the new / old item correspondence table 3 is created.
Since the contents of the industry standard format are automatically stored in the industry standard format area of the data conversion rule table according to the new and old correspondence items of 3, the revised data conversion rule table 32b can be created automatically and quickly, and Of the data conversion rule table 32b can be easily created.

【0036】[0036]

【発明の効果】以上説明したように本発明によれば、業
界標準フオーマットの下に自企業で取り扱い易いデータ
変換規則テーブルを自動的、かつ、迅速に作成でき、デ
ータ変換規則テーブルの作成作業の簡易化を図ることが
できる。
As described above, according to the present invention, it is possible to automatically and quickly create a data conversion rule table that can be easily handled by the company under the industry standard format. Simplification can be achieved.

【0037】また、本発明によれば、業界標準データの
項目名の中に繰返し項目名があるとき、データ変換規則
テーブルの項目名に対応する部分に繰返し回数を記述す
るので、自企業で取り扱い易いデータに変換する時、繰
返し回数を生かすように変換すれば、同一項目名に関連
する受・発注状態を把握できる。
Further, according to the present invention, when there is a repeated item name among the item names of the industry standard data, the number of repetitions is described in a portion corresponding to the item name in the data conversion rule table. When converting into easy data, if the conversion is made so as to make use of the number of repetitions, it is possible to grasp the order status related to the same item name.

【0038】さらに、本発明によれば、、業界標準フォ
ーマットの改訂時でも自動的、かつ、迅速にデータ変換
規則テーブルを作成でき、従来と比較して格段にデータ
変換規則テーブルの作成作業を簡易化できる。
Further, according to the present invention, a data conversion rule table can be created automatically and quickly even when an industry standard format is revised, and the task of creating a data conversion rule table is greatly simplified as compared with the related art. Can be

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

【図1】 本発明に係わるマッピング装置の一実施の形
態を示す構成図。
FIG. 1 is a configuration diagram showing an embodiment of a mapping device according to the present invention.

【図2】 図1の業界標準データファイルのデータ配列
例を示す図。
FIG. 2 is a view showing an example of a data array of the industry standard data file shown in FIG. 1;

【図3】 図1の業界標準フォーマットのデータ配列例
を示す図。
FIG. 3 is a view showing an example of a data array in the industry standard format shown in FIG. 1;

【図4】 図1のデータ変換規則テーブルのデータ配列
例を示す図。
FIG. 4 is a view showing an example of a data array of a data conversion rule table of FIG. 1;

【図5】 図1に示すマッピング装置の動作を説明する
フローチャート。
FIG. 5 is a flowchart for explaining the operation of the mapping apparatus shown in FIG. 1;

【図6】 本発明に係わるマッピング装置の他の実施の
形態を示す構成図。
FIG. 6 is a configuration diagram showing another embodiment of the mapping device according to the present invention.

【図7】 図6のマッピング装置本体部の機能構成図。FIG. 7 is a functional configuration diagram of the mapping apparatus main body of FIG. 6;

【図8】 本発明に係わるマッピング装置のさらに他の
実施の形態を示す構成図。
FIG. 8 is a configuration diagram showing still another embodiment of the mapping device according to the present invention.

【図9】 図8に示すマッピング装置の動作を説明する
フローチャート。
FIG. 9 is a flowchart for explaining the operation of the mapping apparatus shown in FIG. 8;

【図10】 従来の電子取引データのデータ変換システ
ムの全体構成図。
FIG. 10 is an overall configuration diagram of a conventional data conversion system for electronic transaction data.

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

11,21…業界標準データファイル 12,22…業界標準フォーマットファイル 13,23,34…マッピング装置本体部 13a…テーブル確定手段 13b…各種データ設定手段 14,24…データ変換規則テーブル 23a…項目繰返し処理手段 25…繰返しワークテーブル 31…改訂後業界標準フォーマットファイル 32a…改訂前データ変換規則テーブル 32b…改訂後データ変換規則テーブル 33…新旧項目対応テーブル 11, 21 ... industry standard data file 12, 22 ... industry standard format file 13, 23, 34 ... mapping device main body 13a ... table determination means 13b ... various data setting means 14, 24 ... data conversion rule table 23a ... item repetition processing Means 25: Repeated work table 31: Revised industry standard format file 32a: Revised data conversion rule table 32b: Revised data conversion rule table 33: New / old item correspondence table

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 取引関係にある一方の企業側に設置さ
れ、業界標準電子取引データ発行元の業界標準フォーマ
ットに従って前記取引関係にある他方の企業から送られ
てくる業界標準データを受信しデータ変換規則テーブル
を作成するマッピング装置において、 項目名エリア、企業固有データフォーマットエリアおよ
び業界標準フォーマットエリアをもつ前記データ変換規
則テーブルと、 前記他方の企業から受信される業界標準データのパター
ンが前記業界標準フォーマットのパターンの中に存在す
るとき、変換テーブル名を付けるとともに、当該業界標
準フォーマットのパターンに規定する項目名を含むデー
タを取り込んで前記データ変換規則テーブルの項目エリ
アおよび業界標準フォーマットエリアに登録し前記デー
タ変換規則テーブルを確定するテーブル確定手段と、 前記受信された業界標準データの項目名が前記テーブル
に登録された項目名に存在するか否かに応じて、前記業
界標準データおよび前記企業固有データフォーマットの
該当する項目名に関連する各種のデータを前記データ変
換規則テーブルの企業固有データフォーマットエリアお
よび業界標準フォーマットエリアに選択的に登録する手
段と、 を備え、一方の企業の利用可能なデータに変換するため
のデータ変換規則テーブルを作成することを特徴とする
マッピング装置。
Claims: 1. An industry standard electronic transaction data is installed at one company in a business relationship and receives industry standard data sent from the other company in the business relationship in accordance with an industry standard format of an industry standard electronic transaction data issuer and converts the data. In a mapping apparatus for creating a rule table, the data conversion rule table having an item name area, a company-specific data format area, and an industry standard format area; and the pattern of industry standard data received from the other company is the industry standard format. When it exists in the pattern of, while adding a conversion table name, fetch data including the item name specified in the pattern of the industry standard format, register in the item area of the data conversion rule table and the industry standard format area, Data conversion rule table Means for determining the table, and whether or not the item name of the received industry standard data exists in the item name registered in the table, the corresponding item of the industry standard data and the company-specific data format. Means for selectively registering various data related to the name in the company-specific data format area and the industry standard format area of the data conversion rule table, data for converting the data into data usable by one company. A mapping device for creating a conversion rule table.
【請求項2】 請求項1に記載されるマッピング装置
において、 前記他方の企業から受信される業界標準データのある項
目名の中に繰返し項目がある場合、 前記ある項目名の繰返しごとに繰返し回数を加算し登録
する繰返しワークテーブルと、このワークテーブルのあ
る項目名に対応する前記データ変換規則テーブルの企業
固有データフォーマットエリアに繰返し回数を格納する
項目繰返し処理手段とを付加することを特徴とするマッ
ピング装置。
2. The mapping apparatus according to claim 1, wherein if there is a repeated item in a certain item name of the industry standard data received from the other company, the number of repetitions for each repetition of the certain item name And a repetition work table for storing the number of repetitions in the company-specific data format area of the data conversion rule table corresponding to a certain item name of the work table. Mapping device.
【請求項3】 請求項1に記載されるマッピング装置
において、 業界標準フォーマットに改訂があった場合、 改訂前データ変換規則テーブルの項目名と改訂された前
記業界標準フォーマットの項目名との対応関係を規定す
る新旧項目対応テーブルと、この新旧項目対応テーブル
の対応項目名に従って、前記された前記業界標準フォー
マットのデータを、前記改訂前データ変換規則テーブル
の業界標準フォーマットエリアに登録して改訂後データ
変換規則テーブルを作成する改訂テーブル作成手段とを
付加したことを特徴とするマッピング装置。
3. The mapping apparatus according to claim 1, wherein, when the industry standard format is revised, the correspondence between the item name of the data conversion rule table before revision and the revised item name of the industry standard format. In accordance with the new and old item correspondence table, and the corresponding item name of the new and old item correspondence table, the data of the above-mentioned industry standard format is registered in the industry standard format area of the before-revision data conversion rule table, and the data after revision is registered. A mapping apparatus characterized by adding a revision table creating means for creating a conversion rule table.
JP9086787A 1997-04-04 1997-04-04 Mapping device Pending JPH10283415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9086787A JPH10283415A (en) 1997-04-04 1997-04-04 Mapping device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9086787A JPH10283415A (en) 1997-04-04 1997-04-04 Mapping device

Publications (1)

Publication Number Publication Date
JPH10283415A true JPH10283415A (en) 1998-10-23

Family

ID=13896480

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9086787A Pending JPH10283415A (en) 1997-04-04 1997-04-04 Mapping device

Country Status (1)

Country Link
JP (1) JPH10283415A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8046238B2 (en) * 2001-12-20 2011-10-25 Accenture Global Services Limited Business transaction management
JP2017199089A (en) * 2016-04-25 2017-11-02 スリースターズ株式会社 Business world application standard data processing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8046238B2 (en) * 2001-12-20 2011-10-25 Accenture Global Services Limited Business transaction management
JP2017199089A (en) * 2016-04-25 2017-11-02 スリースターズ株式会社 Business world application standard data processing program

Similar Documents

Publication Publication Date Title
US7257637B2 (en) Method for transforming data between business protocols
US7451136B2 (en) System and method for searching multiple disparate search engines
CN100414529C (en) Message broker apparatus, method and computer program product
US7703099B2 (en) Scalable transformation and configuration of EDI interchanges
WO2001095135A2 (en) Method and apparatus for automatically converting the format of an electronic message
JPH11184943A (en) System and method for electronic transaction and storage medium for storing control program for performing format conversion in electronic transaction
EP1868091A1 (en) Systems and methods for adapting service interface behaviors
EP1190334A2 (en) Method and system for transferring information
WO2001063446A2 (en) Method for workflow processing through computer network
KR100337254B1 (en) The user self-verification system of the work process of prints which orderer order by on-line network
JPH10283415A (en) Mapping device
CN111460021A (en) Data export method and device
JP2001306873A (en) Electronic transaction system
JP2004178480A (en) Transaction slip management method and transaction slip management program
JP2018163405A (en) Automated sorting device for transaction detail, automated sorting method and program for automated sorting
US20160364277A1 (en) A method for using user session data to provide middle-ware
JP3610743B2 (en) Attachment file conversion method, e-mail system using the same, and terminal for the same
JP2003150524A (en) Information gathering system, information gathering method and data correcting program
JP2001022568A (en) Package application support system and storage medium stored with package application support program
JP2002032606A (en) System for ordering, order reception, and sales of building material using network
JP2001092884A (en) Electronic transaction system
JP2000082103A (en) Electronic document sending back device
JP2002304556A (en) Ordering data converting system and its method, and ordering processing system
JP2006039597A (en) Data linkage system
JP2005063261A (en) Data cooperation rule generation system and method, and computer program