JPH0883221A - Data converter - Google Patents
Data converterInfo
- Publication number
- JPH0883221A JPH0883221A JP6220088A JP22008894A JPH0883221A JP H0883221 A JPH0883221 A JP H0883221A JP 6220088 A JP6220088 A JP 6220088A JP 22008894 A JP22008894 A JP 22008894A JP H0883221 A JPH0883221 A JP H0883221A
- Authority
- JP
- Japan
- Prior art keywords
- data
- conversion
- class
- class structure
- description
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Computer And Data Communications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
(57)【要約】
【目的】 最小必要限度の部材を取替えるのみでデータ
のクラス構造の組合わせが異なる複数種類のデータ処理
装置相互間に簡単に接続できる。
【構成】 データ処理装置相互間に接続されたデータ変
換装置本体11とこのデータ変換装置本体に取付けられ
たクラス辞書装置12とで構成し、クラス辞書装置12
に対して、変換元の各データと変換先の各データとの関
係を記憶するクラス辞書本体26と、クラス構造相互間
の関係を示す変換記述等を用いてクラス辞書本体の作成
を支援するクラス辞書作成支援部22とを付加し、デー
タ変換装置本体11に対して、データが入出力される複
数のデータ入出力部17,18と、データ入出力装置に
入出力されるデータを記憶するデータ記憶部18,20
と、このデータ記憶部に記憶された送信元の各データを
クラス辞書本体26を用いて送信先の各データへ変換す
るデータ変換部21とを付加している。
(57) [Summary] [Purpose] A plurality of types of data processing devices with different combinations of data class structures can be easily connected by simply replacing the minimum required members. [Structure] A data conversion device main body 11 connected between data processing devices and a class dictionary device 12 attached to the data conversion device main body.
, A class dictionary body 26 that stores the relationship between each of the conversion source data and each of the conversion destination data, and a class that supports the creation of the class dictionary body using the conversion description that indicates the relationship between the class structures. Data for storing a data input / output unit 17 and 18 for inputting / outputting data to / from the data conversion device main body 11 by adding a dictionary creation support unit 22 Storage unit 18, 20
And a data conversion unit 21 for converting each data of the transmission source stored in the data storage unit into each data of the transmission destination by using the class dictionary main body 26.
Description
【0001】[0001]
【産業上の利用分野】本発明は取扱うデータのクラス構
造がそれぞれ異なる複数のデータ処理装置相互間で送受
信されるデータのクラス構造を変換するデータ変換装置
に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data conversion device for converting the class structure of data transmitted and received among a plurality of data processing devices having different class structures of data to be handled.
【0002】[0002]
【従来の技術】例えば、ワードプロセッサ,CADシス
テム等の各種のデータ処理装置においては、たとえ各デ
ータ処理装置が同一種類の機能を有し、ほぼ同一操作で
操作される場合であったとしても、製造会社や仕様が異
なれば、それぞれのデータ処理装置で取扱うデータの構
成が異なる場合が多い。このデータの構成を一般にクラ
ス構造と称するが、このクラス構造が異なれば、当然、
データ処理装置相互間でデータの送受信を実行したり、
共通の記憶装置を用いることはできない。2. Description of the Related Art For example, in various data processing devices such as word processors and CAD systems, even if each data processing device has the same type of function and is operated by almost the same operation, it is manufactured. Different companies and specifications often have different data structures handled by the respective data processing devices. The structure of this data is generally called a class structure, but if this class structure is different, naturally,
Sending and receiving data between data processing devices,
It is not possible to use a common storage device.
【0003】このような不都合を解消するために、取扱
うデータのクラス構造がそれぞれ異なるデータ処理装置
相互間でデータの送受信が必要になると、図8に示すよ
うに、データ処理装置1,2相互間にデータ変換装置3
を接続して、データのクラス構造の変換を実行してい
る。In order to eliminate such an inconvenience, when it is necessary to send and receive data between data processing devices having different class structures of data to be handled, as shown in FIG. Data converter 3
To perform the transformation of the class structure of the data.
【0004】すなわち、このデータ変換装置3内には、
データ処理装置1で取扱うデータのクラス構造をデータ
処理装置2で取扱うデータのクラス構造に変換するクラ
ス辞書(変換表)が記憶されている。そして、送信側か
ら入力したデータ処理装置1側データのクラス構造をク
ラス辞書を用いてデータ処理装置2側データのクラス構
造へ変換する。よって、一方のデータ処理装置1から他
方のデータ処理装置2へデータを送信することが可能と
なる。That is, in the data converter 3,
A class dictionary (conversion table) for converting the class structure of data handled by the data processing device 1 into the class structure of data handled by the data processing device 2 is stored. Then, the class structure of the data processing device 1 side data input from the transmission side is converted into the class structure of the data processing device 2 side data using the class dictionary. Therefore, it becomes possible to transmit data from one data processing device 1 to the other data processing device 2.
【0005】また、図9に示すように、一つのデータ処
理装置4からそれぞれデータのクラス構造が異なる2種
類のデータ処理装置5,6へデータを送信する場合は、
データ処理装置4のデータのクラス構造をデータ処理装
置5のデータのクラス構造へ変換するデータ変換装置7
と、データ処理装置4のデータのクラス構造をデータ処
理装置6のデータのクラス構造へ変換するデータ変換装
置8との2台のデータ処理装置7,8を用いる必要があ
る。Further, as shown in FIG. 9, when data is transmitted from one data processing device 4 to two types of data processing devices 5 and 6 having different data class structures,
A data conversion device 7 for converting the data class structure of the data processing device 4 into the data class structure of the data processing device 5.
It is necessary to use the two data processing devices 7 and 8 of the data processing device 4 and the data conversion device 8 for converting the data class structure of the data processing device 4 into the data class structure of the data processing device 6.
【0006】[0006]
【発明が解決しようとする課題】しかしながら、図8及
び図9に示す各データ変換装置3,7,8においても、
まだ改良すべき次のような課題があった。すなわち、デ
ータ変換装置3はデータ処理装置1のデータをデータ処
理装置2のデータへ変換するのみの専用のデータ変換装
置である。また、デー変換装置7はデータ処理装置4の
データをデータ処理装置5のデータへ変換するのみの専
用のデータ変換装置であり、さらに、デー変換装置8は
データ処理装置4のデータをデータ処理装置6のデータ
へ変換するのみの専用のデータ変換装置である。したが
って、各データ変換装置3,7,8相互間に全く互換性
がない。However, even in each of the data conversion devices 3, 7, 8 shown in FIGS. 8 and 9,
There were still the following issues to be improved. That is, the data conversion device 3 is a dedicated data conversion device that only converts the data of the data processing device 1 into the data of the data processing device 2. Further, the data conversion device 7 is a dedicated data conversion device only for converting the data of the data processing device 4 into the data of the data processing device 5, and the data conversion device 8 further converts the data of the data processing device 4 into the data processing device. It is a dedicated data conversion device that only converts the data into data No. 6. Therefore, there is no compatibility between the data conversion devices 3, 7, and 8.
【0007】そのために、互いにデータ送受信を行うデ
ータ処理装置相互間の組合わせが異なると、その組合わ
せ毎に、専用のデータ変換装置を準備する必要がある。
本発明はこのような事情に鑑みてなされたものであり、
接続される各データ処理装置に共通する部分とデータ処
理装置の組合わせに対応する部分とを分離することによ
って、最小必要限度の部材を取替えることによつて、そ
れぞれデータのクラス構造の組合わせが異なる複数種類
のデータ処理装置相互間に接続できる汎用的なデータ変
換装置を提供することを目的とする。Therefore, if the combinations between the data processing devices that transmit and receive data to and from each other are different, it is necessary to prepare a dedicated data conversion device for each combination.
The present invention has been made in view of such circumstances,
By separating the part common to each connected data processing device and the part corresponding to the combination of the data processing devices, by replacing the members of the minimum required limit, the combination of the class structure of the data can be made different. An object of the present invention is to provide a general-purpose data conversion device that can be connected between different types of data processing devices.
【0008】[0008]
【課題を解決するための手段】上記課題を解消するため
に、請求項1の発明は、取扱うデータのクラス構造がそ
れぞれ異なる複数のデータ処理装置相互間で送受信され
るデータのクラス構造を変換するデータ変換装置におい
て、データ処理装置相互間に接続されたデータ変換装置
本体とこのデータ変換装置本体に取付けられたクラス辞
書装置とで構成されている。In order to solve the above problems, the invention of claim 1 converts the class structure of data transmitted and received between a plurality of data processing devices having different class structures of data to be handled. In the data conversion device, the data conversion device is composed of a data conversion device main body connected between the data processing devices and a class dictionary device attached to the data conversion device main body.
【0009】そして、クラス辞書装置に対して、変換元
の各データと変換先の各データとの関係を記憶するクラ
ス辞書本体と、変換元データのクラス構造と変換先デー
タのクラス構造とこれらクラス構造相互間の関係を示す
変換記述とに基づいて、クラス辞書本体の作成を支援す
るクラス辞書作成支援部をと付加している。さらに、デ
ータ変換装置本体に対して、送受信されるデータが入出
力される複数のデータ入出力部と、このデータ入出力部
に入出力されるデータを記憶するデータ記憶部と、この
データ記憶部に記憶された送信元の各データをクラス辞
書装置のクラス辞書本体を用いて送信先の各データへ変
換するデータ変換部とを付加している。Then, for the class dictionary device, a class dictionary body for storing the relationship between each source data and each destination data, the class structure of the source data and the class structure of the destination data, and these classes A class dictionary creation support unit is added to support the creation of the class dictionary main body based on the conversion description indicating the relationship between the structures. Further, a plurality of data input / output units for inputting / outputting data to / from the data converter, a data storage unit for storing data input / output to / from the data input / output unit, and the data storage unit. And a data conversion unit for converting each data of the transmission source stored in the above into each data of the transmission destination by using the class dictionary main body of the class dictionary device.
【0010】また、請求項2のデータ変換装置において
は、前記した変換記述を、変換元データのクラス構造と
予め設定された中間クラス構造との関係を示す第1の変
換記述と、中間クラス構造と変換先データのクラス構造
との関係を示す第2の変換記述とで構成している。Further, in the data conversion device according to the second aspect, the conversion description described above includes a first conversion description indicating a relationship between a class structure of conversion source data and a preset intermediate class structure, and an intermediate class structure. And a second conversion description showing the relationship between the conversion target data and the class structure of the conversion destination data.
【0011】請求項3の発明においては、請求項2の発
明において、第1の変換記述は、1つのデータを1つの
情報とするクラス構造を、1つのデータを1つの情報と
するクラス構造へ変換する記述であり、かつ第2の変換
記述は、1つのデータを1つの情報とするクラス構造
を、複数のデータを1つの情報とするクラス構造へ変換
する記述である。According to a third aspect of the invention, in the second aspect of the invention, the first conversion description is changed from a class structure in which one data is one information to a class structure in which one data is one information. The second conversion description is a description for converting a class structure having one piece of data as one piece of information into a class structure having a plurality of pieces of data as one piece of information.
【0012】請求項4の発明においては、請求項2の発
明において、第1の変換記述は、複数のデータを1つの
情報とするクラス構造を、1つのデータを1つの情報と
するクラス構造へ変換する記述であり、かつ第2の変換
記述は、1つのデータを1つの情報とするクラス構造
を、1つのデータを1つの情報とするクラス構造へ変換
する記述である。In the invention of claim 4, in the invention of claim 2, the first conversion description changes a class structure having a plurality of data as one information into a class structure having one data as one information. The second conversion description is a description for converting a class structure having one piece of data as one piece of information into a class structure having one piece of data as one piece of information.
【0013】請求項5の発明においては、請求項2の発
明において、第1の変換記述は、n個のデータを1つの
情報とするクラス構造を、1つのデータを1つの情報と
するクラス構造へ変換する記述であり、かつ第2の変換
記述は、1つのデータを1つの情報とするクラス構造
を、m(n,m;正整数)個のデータを1つの情報とす
るクラス構造へ変換する記述である。According to a fifth aspect of the present invention, in the second aspect of the present invention, the first conversion description has a class structure having n pieces of data as one piece of information and a class structure having one piece of data as one piece of information. The second conversion description is a description for converting a class structure having one piece of data as one piece of information into a class structure having m (n, m; positive integer) pieces of data as one piece of information. Is a description.
【0014】[0014]
【作用】このように構成されたデータ変換装置は、デー
タ処理装置相互間に接続されたデータ変換装置本体とこ
のデータ変換装置本体に取付けられたクラス辞書装置と
で構成されている。そして、データ変換装置本体が各デ
ータ処理装置のデータのクラス構造に依存しない部分で
あり、クラス辞書装置が各データ処理装置のデータのク
ラス構造に関係する部分である。The data conversion device thus constructed is composed of a data conversion device main body connected between the data processing devices and a class dictionary device attached to the data conversion device main body. The main body of the data conversion device is a part that does not depend on the class structure of the data of each data processing device, and the class dictionary device is the part that is related to the class structure of the data of each data processing device.
【0015】そして、変換元の各データと変換先の各デ
ータとの関係がクラス辞書装置内のクラス辞書本体に記
憶されている。データ変換装置本体のデータ変換部は、
クラス辞書装置内のクラス辞書本体に記憶されている各
関係を用いて前記各データ処理装置相互間で送受信され
るデータのクラス構造を変換するのみである。また、デ
ータ変換に必要なデータ入出力部及びデータ記憶部はデ
ータのクラス構造に依存しないので、データ変換装置本
体内に共通部品として組込むことが可能である。The relationship between each source data and each destination data is stored in the class dictionary body in the class dictionary device. The data conversion unit of the data conversion device body,
It is only necessary to convert the class structure of the data transmitted and received between the respective data processing devices by using the respective relationships stored in the class dictionary main body in the class dictionary device. Further, since the data input / output unit and the data storage unit required for data conversion do not depend on the class structure of the data, it can be incorporated as a common component in the main body of the data conversion device.
【0016】したがって、データ変換装置本体はすべて
のデータ処理装置に無条件に接続可能であり、各データ
のクラス構造毎に個別に設ける必要がない。そして、デ
ータ変換における変換元のクラス構造と変換先のクラス
構造の組合わせが異なった場合は、クラス辞書装置のみ
を対応してた装置に変更するのみでよい。Therefore, the main body of the data converter can be unconditionally connected to all the data processing devices, and it is not necessary to individually provide the class structure of each data. When the combination of the class structure of the conversion source and the class structure of the conversion destination in the data conversion is different, only the class dictionary device needs to be changed to the corresponding device.
【0017】また、クラス辞書装置内には、クラス辞書
作成支援部が設けられているので、例えば技術者におけ
るクラス辞書本体の作成が容易になる。請求項2の発明
においては、変換元のクラス構造を変換先のクラス構造
へ一度に変換するのではなくて、中間クラス構造を想定
している。そして、変換元のクラス構造一旦を中間クラ
ス構造へ変換し、その後に、中間クラス構造を変換先の
クラス構造へ変換するように、変換記述が第1,第2の
変換記述に分けて設けられている。Since the class dictionary creation support unit is provided in the class dictionary device, for example, an engineer can easily create the class dictionary body. According to the second aspect of the invention, the intermediate class structure is assumed instead of converting the conversion source class structure to the conversion destination class structure at once. Then, a conversion description is provided separately for the first and second conversion descriptions so that the conversion source class structure is first converted into an intermediate class structure, and then the intermediate class structure is converted into a conversion destination class structure. ing.
【0018】このように中間クラス構造を採用すること
によって、多くのクラス構造の種類が存在する場合は、
各クラス構造相互間の組合わせ毎に変換記述を準備する
必要がない。By adopting the intermediate class structure as described above, when there are many kinds of class structures,
It is not necessary to prepare a conversion description for each combination between class structures.
【0019】すなわち、一つの種類のクラス構造に対し
ては、該当クラス構造を中間クラス構造へ変換する変換
記述と中間クラス構造からら該当クラス構造へ変換する
変換記述との2種類の変換記述を準備するのみでよい。That is, for one type of class structure, there are two types of conversion description: a conversion description for converting the corresponding class structure into an intermediate class structure and a conversion description for converting from the intermediate class structure into the corresponding class structure. All you have to do is prepare.
【0020】したがって、必要なクラス辞書装置の種類
数を低減できる。また、一つの情報を複数のデータで構
成するクラス構造が存在するが、一つの情報を何個のデ
ータで構成するかは、クラス構造によって異なる場合が
ある。Therefore, the number of types of class dictionary devices required can be reduced. Further, although there is a class structure in which one piece of information is composed of a plurality of data, the number of pieces of data forming one piece of information may differ depending on the class structure.
【0021】請求項3〜請求項5の発明においては、こ
のように変換元データのクラス構造のデータ数と変換先
データのクラス構造のデータ数とがたとえ異なっていて
も、前述したように中間クラス構造を採用することによ
つて、変換元のクラス構造を一旦1つのデータで1つの
情報を構成する中間クラス構造に簡単に変換でき、かつ
1つのデータで1つの情報を構成する中間クラス構造を
変換先の1つ又は複数のデータで1つの情報を構成する
変換先のクラス構造に容易に変換できる。よって、n:
mの変換が容易に可能となる。According to the inventions of claims 3 to 5, even if the number of data of the class structure of the conversion source data and the number of data of the class structure of the conversion destination data are different, as described above, By adopting the class structure, the class structure of the conversion source can be easily converted into the intermediate class structure that once composes one piece of information with one piece of data, and the intermediate class structure that composes one piece of information with one piece of data Can be easily converted to the class structure of the conversion destination that constitutes one piece of information with one or more data of the conversion destination. Therefore, n:
It is possible to easily convert m.
【0022】[0022]
【実施例】以下本発明の一実施例を図面を用いて説明す
る。図1は実施例のデータ変換装置の概略構成を示すブ
ロック図である。この実施例のデータ変換装置は大きく
分けて、データ変換装置本体11とクラス辞書装置12
とで構成されている。そして、クラス辞書装置12はデ
ータ変換装置本体11に対して着脱自在に設けられてい
る。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 block diagram showing a schematic configuration of a data converter of the embodiment. The data conversion device of this embodiment is roughly divided into a data conversion device main body 11 and a class dictionary device 12.
It consists of and. The class dictionary device 12 is detachably attached to the data conversion device body 11.
【0023】また、データ変換装置本体11には、デー
タ処理装置13が統一データ記述部14を介して接続さ
れると共に、別のデータ処理装置15が統一データ記述
部16を介して接続される。Further, the data conversion device main body 11 is connected to the data processing device 13 via the unified data description unit 14, and another data processing device 15 is connected via the unified data description unit 16.
【0024】データ変換装置本体11内には、データ入
力部17,データ出力部18,データ記憶部19,20
及びデータ変換部21が設けられている。データ入力部
13は、送信元のデータ処理装置13から統一データ記
述部14を介して入力さた各データをデータ記憶部19
へ書込む。データ変換部21はデータ記憶部19に書込
まれている各データを順番に読出して、この読出した送
信元の各データをラクス辞書装置12のクラス辞書本体
26から読出した送信先のデータ変換する。すなわち、
データのクラス構成が送信元のクラス構造から送信先の
クラス構成へ変換される。クラス構造が変換されたデー
タは次のデータ記憶部20へ書込まれる。データ出力部
18はデータ記憶部20に記憶された変換後の各データ
を統一データ記述部16を介して送信先のデータ処理装
置15へ送出する。In the data converter main body 11, a data input section 17, a data output section 18, and data storage sections 19 and 20.
And a data converter 21. The data input unit 13 stores each data input from the data processing device 13 of the transmission source via the unified data description unit 14 in the data storage unit 19.
Write to The data conversion unit 21 sequentially reads each data written in the data storage unit 19, and converts each read data of the transmission source from the data of the transmission destination read from the class dictionary main body 26 of the Lux dictionary device 12. . That is,
The class structure of the data is converted from the source class structure to the destination class structure. The data whose class structure has been converted is written to the next data storage unit 20. The data output unit 18 sends the converted data stored in the data storage unit 20 to the destination data processing device 15 via the unified data description unit 16.
【0025】前記クラス辞書装置12内には、前述した
クラス辞書本体26の他に、クラス辞書作成支援部22
が設けられている。このクラス辞書作成支援部22に
は、送信元のデータ処理装置13で取扱うデータのクラ
ス構造を記憶するクラス構造メモリ23と送信先のデー
タ処理装置15で取扱うデータのクラス構造を記憶する
クラス構造メモリ24とが接続されている。さらに、こ
のクラス辞書作成支援部22には、変換元(送信元)デ
ータのクラス構造を変換先(送信先)データのクラス構
造へ変換するための変換記述を記憶する変換記述メモリ
25が接続されている。In the class dictionary device 12, in addition to the class dictionary body 26 described above, a class dictionary creation support unit 22 is also provided.
Is provided. The class dictionary creation support unit 22 includes a class structure memory 23 for storing the class structure of data handled by the data processing device 13 of the transmission source and a class structure memory for storing the class structure of data handled by the data processing device 15 of the transmission destination. 24 are connected. Further, the class dictionary creation support unit 22 is connected with a conversion description memory 25 that stores a conversion description for converting the class structure of the conversion source (source) data into the class structure of the conversion destination (destination) data. ing.
【0026】クラス辞書本体26内には、変換元(送信
元)の各データと変換先(送信先)の各データとの関係
が記憶されている。クラス辞書作成支援部22は、技術
者又はプログラマーがクラス辞書本体26に変換元デー
タと変換先データとの関係を設定する設定作業の支援を
行う。すなわち、技術者又はプログラマーは、クラス辞
書作成支援部22を操作して、変換元のクラス構造メモ
リ23からクラス構造の各テータを読出して、該当デー
タが同じく変換先のクラス構造メモリ24から読出され
た各データのうちのどのデータに対応するかを、変換記
述メモリ25に記憶された変換記述に従って判断して、
その対応関係を前記クラス辞書本体26へ設定する。The class dictionary body 26 stores the relationship between each data of the conversion source (transmission source) and each data of the conversion destination (transmission destination). The class dictionary creation support unit 22 supports the setting work for the engineer or the programmer to set the relationship between the conversion source data and the conversion destination data in the class dictionary body 26. That is, the engineer or programmer operates the class dictionary creation support unit 22 to read each data of the class structure from the conversion source class structure memory 23, and the corresponding data is also read from the conversion destination class structure memory 24. Which data among the respective data corresponds to is determined according to the conversion description stored in the conversion description memory 25,
The correspondence is set in the class dictionary body 26.
【0027】このように構成されたデータ変換装置は、
データ処理装置相互間13,15に接続されたデータ変
換装置本体11と、このデータ変換装置本体11に着脱
自在に設けられたクラス辞書装置12とで構成されてい
る。The data conversion device thus configured is
The data conversion device main body 11 is connected to the data processing devices 13 and 15, and the class dictionary device 12 is detachably provided on the data conversion device main body 11.
【0028】そして、データ変換装置本体11の仕様は
各データ処理装置13,15のデータのクラス構造に全
く依存しなくて、全てのクラス構造に共通する汎用装置
である。一方、クラス辞書装置12が各データ処理装置
のデータのクラス構造に関係する個別装置である。The specifications of the data conversion device main body 11 are general-purpose devices that do not depend on the class structure of the data of the data processing devices 13 and 15 and are common to all class structures. On the other hand, the class dictionary device 12 is an individual device related to the class structure of the data of each data processing device.
【0029】データ変換装置本体11のデータ変換部2
1は、クラス辞書装置12内にクラス辞書本体26に記
憶されている関係を用いて各データ処理装置相互13,
15間で送受信されるデータのクラス構造を変換するの
みである。The data converter 2 of the data converter main body 11
1 uses the relationships stored in the class dictionary main body 26 in the class dictionary device 12, and
It only converts the class structure of the data transmitted / received between 15.
【0030】また、データ変換に必要なデータ入力部1
7及びデータ出力部18及び各データ記憶部19,20
はデータのクラス構造に依存しないので、データ変換装
置本体11内に共通部品として組込まれている。The data input section 1 required for data conversion
7 and data output unit 18 and respective data storage units 19 and 20
Is independent of the class structure of the data, and is incorporated as a common component in the data conversion device main body 11.
【0031】したがって、データ変換装置本体11は全
てのデータ処理装置13,15に無条件に接続可能であ
り、各データのクラス構造毎に個別に設ける必要がな
い。そして、データ変換における変換元のクラス構造と
変換先のクラス構造の組合わせが異なった場合は、クラ
ス辞書装置12のみを対応した装置に変更するのみでよ
い。Therefore, the data conversion device main body 11 can be unconditionally connected to all the data processing devices 13 and 15, and it is not necessary to individually provide each class structure of each data. Then, when the combination of the class structure of the conversion source and the class structure of the conversion destination in the data conversion is different, only the class dictionary device 12 needs to be changed to a corresponding device.
【0032】次に、クラス辞書作成支援装置22で用い
る変換記述メモリ25に記憶された各変換記述の一例を
図2を用いて説明する。この場合、データ処理装置1
3,15は、共にCAD装置であり、3次元空間に線2
7を形成する指令(情報)を示すデータを一方のデータ
処理装置(A)13から他方のデータ処理装置(B)1
5へ送信する。この線形成の指令(情報)は起点#1
(x1 ,y1 ,z1 )と終点#2(x2 ,y2 ,z2 )
との間を線27で接続する指令である。Next, an example of each conversion description stored in the conversion description memory 25 used in the class dictionary creation support device 22 will be described with reference to FIG. In this case, the data processing device 1
Reference numerals 3 and 15 are CAD devices, which are lines 2 in a three-dimensional space.
Data indicating a command (information) for forming 7 from one data processing device (A) 13 to the other data processing device (B) 1
Send to 5. This line forming command (information) is the starting point # 1.
(X 1 , y 1 , z 1 ) and end point # 2 (x 2 , y 2 , z 2 )
It is a command to connect between and by a line 27.
【0033】この場合、データ処理装置13(A)にお
いて、図3に示すように、線指令は(1) のクラス構造で
示される。 line=[(x1 ,y1 ,z1 ),(x2 ,y2 ,z2 )] …(1) 一方、データ処理装置15(B)においては、線指令は
(2) のクラス構造で示される。In this case, in the data processing device 13 (A), the line command is represented by the class structure of (1) as shown in FIG. line = [(x 1 , y 1 , z 1 ), (x 2 , y 2 , z 2 )] (1) On the other hand, in the data processing device 15 (B), the line command is
It is shown in the class structure of (2).
【0034】 LINE=[(x1 ,y1 ,z1 ),(x2 ,y2 ,z2 )] …(2) この場合、データ処理装置13(A)のデータのクラス
構造をデータ処理装置15(B)のデータのクラス構造
へ変換する変換記述は(3) の形式で示される。LINE = [(x 1 , y 1 , z 1 ), (x 2 , y 2 , z 2 )] (2) In this case, the class structure of the data of the data processing device 13 (A) is processed. The conversion description for converting the data of the device 15 (B) into the class structure is shown in the format (3).
【0035】 A cad:line→B cad:LINE …(3) また、データ処理装置15(B)からデータ処理装置1
3(A)への変換記述は(4) の形式で示される。A cad: line → B cad: LINE (3) Further, from the data processing device 15 (B) to the data processing device 1
The conversion description to 3 (A) is shown in the format of (4).
【0036】 B cad:LINE→A cad:line …(4) よって、この場合は、変換元の1つのデータが変換先の
1つのデータへ変換される。この変換を1:1の変換と
定義する。B cad: LINE → A cad: line (4) Therefore, in this case, one source data is converted into one destination data. This conversion is defined as a 1: 1 conversion.
【0037】また、1つの線形成指令の情報が、複数の
データで構成される場合もある。図4において、データ
処理装置13(A)においては、線形成指令は(5) のク
ラス構造に示すように1つのデータで構成されている。Further, the information of one line formation command may be composed of a plurality of data. In FIG. 4, in the data processor 13 (A), the line formation command is composed of one data as shown in the class structure of (5).
【0038】 line=[(x1 ,y1 ,z1 ),(x2 ,y2 ,z2 )] …(5) 一方、データ処理装置15(B)においては、線形成指
令は(6) のクラス構造に示すように3つのデータで示さ
れる。Line = [(x 1 , y 1 , z 1 ), (x 2 , y 2 , z 2 )] (5) On the other hand, in the data processor 15 (B), the line formation command is (6 ) Is shown by three data as shown in the class structure.
【0039】 point #1=(x1 ,y1 ,z1 ) point #2=(x2 ,y2 ,z2 ) line =(#1,#2) …(6) このような場合、一度に変換しないで、(7) に示す中間
クラス構造(D)の線形成指令を想定するる。Point # 1 = (x 1 , y 1 , z 1 ) point # 2 = (x 2 , y 2 , z 2 ) line = (# 1, # 2) (6) In such a case, The line forming command of the intermediate class structure (D) shown in (7) is assumed without being converted to.
【0040】 line=[point (x1 ,y1 ,z1 ),point (x2 ,y2 ,z2 )] …(7) そして、データ処理装置13(A)のクラス構造から中
間クラス構造(D)へ変換する第1の変換記述を(8)に
示すように設定し、 A cad:line→D cad:[point ,point ] …(8) また、中間クラス構造(D)をデータ処理装置15
(B)のクラス構造へ変換する第2の変換記述を(9)に
示すように設定する。 D cad: [p0int,point ]→Bcad :pint #1,pint#2,line(#1,#2) …(9) よって、この場合、変換元の1つのデータからなる1つ
の線形成指令(情報)が変換先の3つのデータからなる
1つの線形成指令(情報)に変換される。この変換を
1:nの変換と定義する。Line = [point (x 1 , y 1 , z 1 ), point (x 2 , y 2 , z 2 )] (7) Then, from the class structure of the data processing device 13 (A) to the intermediate class structure. The first conversion description for conversion to (D) is set as shown in (8), and A cad: line → D cad: [point, point] (8) Also, the intermediate class structure (D) is processed. Device 15
The second conversion description for converting to the class structure of (B) is set as shown in (9). D cad: [p0int, point] → Bcad: pint # 1, pint # 2, line (# 1, # 2) (9) Therefore, in this case, one line forming command (one data consisting of one data of the conversion source ( Information) is converted into one line formation command (information) consisting of three pieces of data to be converted. This conversion is defined as a 1: n conversion.
【0041】また、図5においては、データ処理装置1
3(A)の線形成指令(情報)は(10)のクラス構造
に示すように3つのデータで構成されている。 point#1=(x1 ,y1 ,z1 ) point#2=(x2 ,y2 ,z2 ) line=(#1,#2) …(10) そして、他方のデータ処理装置15(B)においては、
線形成指令(情報)は(11)のクラス構造に示すように1
つのデータで示される。Further, in FIG. 5, the data processing device 1
The line formation command (information) of 3 (A) is composed of three data as shown in the class structure of (10). point # 1 = (x 1, y 1, z 1) point # 2 = (x 2, y 2, z 2) line = (# 1, # 2) ... (10) Then, the other data processing apparatus 15 ( In B),
Line formation command (information) is 1 as shown in the class structure of (11).
It is shown by one data.
【0042】 line[(x1 ,y1 ,z1 ),(x2 ,y2 ,z2 )] …(11) このような場合においても、前述した(7) に示す中間ク
ラス構造(D)の線形成指令を想定するる。Line [(x 1 , y 1 , z 1 ), (x 2 , y 2 , z 2 )] (11) Even in such a case, the intermediate class structure (D ) Is assumed.
【0043】 line=[point (x1 ,y1 ,z1 ),point (x2 ,y2 ,z2 )] …(7) そして、データ処理装置13(A)のクラス構造から中
間クラス構造(D)へ変換する第1の変換記述を(12)に
示すように設定し、 A cad:point #1,point #2,line(#1,#2) → D cad:[point ,point ] …(12) また、中間クラス構造(D)をデータ処理装置15
(B)のクラス構想へ変換する第2の変換記述を(13)に
示すように設定する。Line = [point (x 1 , y 1 , z 1 ), point (x 2 , y 2 , z 2 )] (7) Then, from the class structure of the data processing device 13 (A) to the intermediate class structure. Set the first conversion description to be converted to (D) as shown in (12), and A cad: point # 1, point # 2, line (# 1, # 2) → D cad: [point, point] (12) Also, the intermediate class structure (D) is used as the data processing device 15
The second conversion description for converting to the class concept of (B) is set as shown in (13).
【0044】 D cad:[pint,pint]→Bcad :line …(13) よって、この場合、変換元の3つのデータからなる1つ
の線形成指令(情報)が変換先の1つのデータからなる
1つの線形成指令(情報)に変換される。この変換を
m:1の変換と定義する。D cad: [pint, pint] → B cad: line (13) Therefore, in this case, one line forming command (information) consisting of three data of the conversion source is composed of one data of the conversion destination. It is converted into one line formation command (information). This conversion is defined as an m: 1 conversion.
【0045】このように、図4及び図5に示すように、
1:n及びn:1のデータ変換が実施可能であるので、
図6に示すように、変換元のクラス構造がn個のデータ
で1つの情報(線形成指令)を構成し、変換先のクラス
構成がm個のデータで1つの情報(線形成指令)を構成
する場合であっても、上述した第1,第2の変換記述を
組合わせることによって図6に示すように、n;mのデ
ータ変換が容易に実施できる。Thus, as shown in FIGS. 4 and 5,
Since data conversion of 1: n and n: 1 can be performed,
As shown in FIG. 6, the conversion source class structure configures one piece of information (line formation command) with n pieces of data, and the conversion destination class structure contains one piece of information (line formation instruction) with m pieces of data. Even in the case of the configuration, the data conversion of n; m can be easily performed by combining the first and second conversion descriptions described above, as shown in FIG.
【0046】また、このように中間クラス構造Dを採用
することによって、多くのクラス構造の種類が存在する
場合は、各クラス構造相互間の組合わせ毎に変換記述を
準備する必要がない。よって、クラス辞書装置12の種
類数をも減少できる。Further, by adopting the intermediate class structure D as described above, when there are many kinds of class structures, it is not necessary to prepare a conversion description for each combination between the class structures. Therefore, the number of types of class dictionary devices 12 can be reduced.
【0047】図7は本発明の他の実施例に係わるデータ
変換装置の概略構成を示すブロック図である。図1の実
施例装置と同一部分には同一符号が付してある。したが
って、重複する部分の詳細説明は省略されている。FIG. 7 is a block diagram showing a schematic configuration of a data conversion device according to another embodiment of the present invention. The same parts as those in the embodiment apparatus of FIG. 1 are designated by the same reference numerals. Therefore, detailed description of the overlapping portions is omitted.
【0048】この実施例のデータ変換装置には、それぞ
れクラス構造が異なる3台のデータ処理装置13,1
5,30がそれぞれ統一データ記述部14,31,16
を介して接続されている。The data conversion device of this embodiment includes three data processing devices 13 and 1 each having a different class structure.
5, 30 are unified data description parts 14, 31, 16 respectively.
Connected through.
【0049】そして、データ変換装置11a内には、各
データ処理装置13,15,30に対するデータを入出
力するための1台のデータ入出力部32と、1つのデー
タ記憶部33が設けられている。In the data converter 11a, one data input / output unit 32 for inputting / outputting data to / from each data processor 13, 15, 30 and one data storage unit 33 are provided. There is.
【0050】また、クラス辞書装置12a内に設けられ
たクラス辞書本体26a内には、3つのデータ処理装置
13,15,30相互間でデータの送受信を実施するた
めに、A→B,A→C,B→A,B→C,C→A,C→
Bの合計6種類のデータ変換用辞書が組込まれている。Further, in the class dictionary main body 26a provided in the class dictionary device 12a, in order to transmit / receive data among the three data processing devices 13, 15, 30 each, A → B, A → C, B → A, B → C, C → A, C →
A total of 6 types of data conversion dictionaries B are incorporated.
【0051】したがって、クラス辞書作成支援部22a
にも、前述した3種類のクラス構造を記憶するクラス構
造メモリ23,34,24が接続されると共に、6種類
の変換記述を記憶する変換記述メモリ25a,25b,
25c,25d,25e,25fが接続されている。Therefore, the class dictionary creation support unit 22a
Also, the class structure memories 23, 34, 24 for storing the above-mentioned three types of class structures are connected, and the conversion description memories 25a, 25b, for storing the six types of conversion descriptions are also connected.
25c, 25d, 25e and 25f are connected.
【0052】このような構成においてもデータ変換装置
11aは各データ処理装置13,15,30の取扱いデ
ータのクラス構造に依存しないので、図1に示す実施例
とほぼ同様の効果を得ることができる。Even in such a configuration, the data converter 11a does not depend on the class structure of the data handled by each of the data processors 13, 15, 30 and, therefore, it is possible to obtain substantially the same effect as the embodiment shown in FIG. .
【0053】[0053]
【発明の効果】以上説明したように、本発明のデータ変
換装置によれば、接続される各データ処理装置に共通す
るデータ変換装置本体と、データ処理装置の組合わせに
対応して記憶内容が変化するクラス辞書装置とを別々の
部品として組込んでいる。したがって、最小必要限度の
クラス辞書装置を取替えるのみで、それぞれデータのク
ラス構造の組合わせが異なる複数種類のデータ処理装置
相互間に簡単に接続でき、変換装置の汎用性を大幅に向
上できる。As described above, according to the data conversion device of the present invention, the stored contents are stored corresponding to the combination of the data conversion device main body common to each connected data processing device and the data processing device. It incorporates a changing class dictionary device as separate parts. Therefore, by simply replacing the minimum required class dictionary device, it is possible to easily connect a plurality of types of data processing devices each having a different combination of data class structures, and to greatly improve the versatility of the conversion device.
【図1】 本発明の一実施例に係わるデータ変換装置の
概略構成を示すブロツク図FIG. 1 is a block diagram showing a schematic configuration of a data conversion device according to an embodiment of the present invention.
【図2】 同実施例装置の動作を説明するための模式図FIG. 2 is a schematic diagram for explaining the operation of the apparatus of the embodiment.
【図3】 同実施例装置におけるデータの変換過程を示
す図FIG. 3 is a diagram showing a data conversion process in the apparatus of the embodiment.
【図4】 同じく同実施例装置におけるデータの変換過
程を示す図FIG. 4 is a diagram showing a data conversion process in the apparatus of the same embodiment.
【図5】 同じく同実施例装置におけるデータの変換過
程を示す図FIG. 5 is a diagram showing a data conversion process in the apparatus of the same embodiment.
【図6】 同実施例装置におけるn:nのデータ変換過
程を示す図FIG. 6 is a diagram showing an n: n data conversion process in the apparatus of the embodiment.
【図7】 本発明の他の実施例に係わるデータ変換装置
の概略構成を示すブロツク図FIG. 7 is a block diagram showing a schematic configuration of a data conversion device according to another embodiment of the present invention.
【図8】 従来のデータ変換装置を示す模式図FIG. 8 is a schematic diagram showing a conventional data conversion device.
【図9】 同じく従来のデータ変換装置を示す模式図FIG. 9 is a schematic diagram showing a conventional data conversion device.
11…データ変換装置本体、12…クラス辞書作成部、
13,15…データ処理装置、17…データ入力部、1
8…データ出力部、19,20…データ記憶部、22…
クラス辞書作成支援部、23,24…クラス辞書メモ
リ、25…変換記述メモリ、26…クラス辞書本体11 ... Data conversion device main body, 12 ... Class dictionary creation unit,
13, 15 ... Data processing device, 17 ... Data input unit, 1
8 ... Data output unit, 19, 20 ... Data storage unit, 22 ...
Class dictionary creation support unit, 23, 24 ... Class dictionary memory, 25 ... Conversion description memory, 26 ... Class dictionary body
Claims (5)
なる複数のデータ処理装置相互間で送受信されるデータ
のクラス構造を変換するデータ変換装置において、 前記データ処理装置相互間に接続されたデータ変換装置
本体とこのデータ変換装置本体に取付けられたクラス辞
書装置とで構成され、 前記クラス辞書装置は、変換元の各データと変換先の各
データとの関係を記憶するクラス辞書本体と、変換元デ
ータのクラス構造と変換先データのクラス構造とこれら
クラス構造相互間の関係を示す変換記述とに基づいて、
前記クラス辞書本体の作成を支援するクラス辞書作成支
援部とを有し、 前記データ変換装置本体は、前記送受信されるデータが
入出力される複数のデータ入出力部と、このデータ入出
力部に入出力されるデータを記憶するデータ記憶部と、
このデータ記憶部に記憶された送信元の各データを前記
クラス辞書装置のクラス辞書本体を用いて送信先の各デ
ータへ変換するデータ変換部とを有することを特徴とす
るデータ変換装置。1. A data conversion device for converting a class structure of data transmitted and received between a plurality of data processing devices having different class structures of data to be handled, wherein a data conversion device main body connected between the data processing devices. And a class dictionary device attached to the main body of the data conversion device, wherein the class dictionary device is a class dictionary main body for storing the relationship between each data of the conversion source and each data of the conversion destination, and the class dictionary device of the conversion source data. Based on the class structure and the class structure of the conversion destination data and the conversion description showing the relationship between these class structures,
The data conversion device main body has a plurality of data input / output units for inputting / outputting the transmitted / received data, and a class dictionary creation support unit for supporting the creation of the class dictionary main body. A data storage unit for storing input / output data,
A data conversion device, comprising: a data conversion unit that converts each data of the transmission source stored in the data storage unit into each data of the transmission destination by using the class dictionary body of the class dictionary device.
構造と予め設定された中間クラス構造との関係を示す第
1の変換記述と、前記中間クラス構造と変換先データの
クラス構造との関係を示す第2の変換記述とで構成され
たことを特徴とするる請求項1記載のデータ変換装置。2. The conversion description includes a first conversion description indicating a relationship between a class structure of conversion source data and a preset intermediate class structure, and a relationship between the intermediate class structure and a class structure of conversion destination data. 2. The data conversion apparatus according to claim 1, further comprising:
1つの情報とするクラス構造を、1つのデータを1つの
情報とするクラス構造へ変換する記述であり、かつ前記
第2の変換記述は、1つのデータを1つの情報とするク
ラス構造を、複数のデータを1つの情報とするクラス構
造へ変換する記述である請求項2記載のデータ変換装
置。3. The first conversion description is a description for converting a class structure having one piece of data as one piece of information into a class structure having one piece of data as one piece of information, and the second transformation 3. The data conversion apparatus according to claim 2, wherein the description is a description for converting a class structure having one piece of data as one piece of information into a class structure having a plurality of pieces of data as one piece of information.
1つの情報とするクラス構造を、1つのデータを1つの
情報とするクラス構造へ変換する記述であり、かつ前記
第2の変換記述は、1つのデータを1つの情報とするク
ラス構造を、1つのデータを1つの情報とするクラス構
造へ変換する記述である請求項2記載のデータ変換装
置。4. The first conversion description is a description for converting a class structure having a plurality of data as one information into a class structure having one data as one information, and the second conversion 3. The data conversion device according to claim 2, wherein the description is a description for converting a class structure having one piece of data as one piece of information into a class structure having one piece of data as one piece of information.
1つの情報とするクラス構造を、1つのデータを1つの
情報とするクラス構造へ変換する記述であり、かつ前記
第2の変換記述は、1つのデータを1つの情報とするク
ラス構造を、m(n,m;正整数)個のデータを1つの
情報とするクラス構造へ変換する記述である請求項2記
載のデータ変換装置。5. The first conversion description is a description for converting a class structure having n pieces of data as one information into a class structure having one data as one piece of information, and the second conversion description 3. The data conversion according to claim 2, wherein the conversion description is a description for converting a class structure having one piece of data as one piece of information into a class structure having m (n, m; positive integer) pieces of data as one piece of information. apparatus.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22008894A JP3357751B2 (en) | 1994-09-14 | 1994-09-14 | Data converter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22008894A JP3357751B2 (en) | 1994-09-14 | 1994-09-14 | Data converter |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0883221A true JPH0883221A (en) | 1996-03-26 |
| JP3357751B2 JP3357751B2 (en) | 2002-12-16 |
Family
ID=16745744
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22008894A Expired - Fee Related JP3357751B2 (en) | 1994-09-14 | 1994-09-14 | Data converter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3357751B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002300670A (en) * | 2001-03-30 | 2002-10-11 | Nec Corp | Remote operation system, intermediate information processing method therefor and intermediate information processing program |
| WO2012090281A1 (en) * | 2010-12-27 | 2012-07-05 | 三菱電機株式会社 | Data processing device |
-
1994
- 1994-09-14 JP JP22008894A patent/JP3357751B2/en not_active Expired - Fee Related
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002300670A (en) * | 2001-03-30 | 2002-10-11 | Nec Corp | Remote operation system, intermediate information processing method therefor and intermediate information processing program |
| WO2012090281A1 (en) * | 2010-12-27 | 2012-07-05 | 三菱電機株式会社 | Data processing device |
| JPWO2012090281A1 (en) * | 2010-12-27 | 2014-06-05 | 三菱電機株式会社 | Data processing device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3357751B2 (en) | 2002-12-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5386297A (en) | Combined output system for code data and image data in a message handling processor | |
| KR950003967A (en) | Display information converting device and information processing system | |
| JPS62233870A (en) | Sequential communication controller | |
| JPH04107070A (en) | Encoding and decoding device | |
| TW541459B (en) | Direct memory access controller for converting a transfer mode flexibly in accordance with a data transfer counter value | |
| JP3357751B2 (en) | Data converter | |
| JPS59138151A (en) | Initializing system in local area network | |
| JP2008129904A (en) | Bus repeater and bus control system | |
| JP3897028B2 (en) | Information processing system, shared data processing method, and shared data processing program | |
| JPS58103043A (en) | Stack forming method | |
| JP2847861B2 (en) | Portable byte string data converter | |
| JPH08202646A (en) | Input and output controller | |
| KR0150032B1 (en) | Bus transaction mapping device | |
| JPS5812187A (en) | Information processor | |
| JPS6223339B2 (en) | ||
| JPS60254360A (en) | Data transfer system of information processor | |
| KR910002621B1 (en) | Interface in collect callexchange | |
| JP2596375B2 (en) | Character code conversion device and network system using the character code conversion device | |
| JPS6362064A (en) | Bus converter | |
| JPH02308644A (en) | Communication protocol converter | |
| JPS59167768A (en) | Data checking system | |
| JPH01267762A (en) | Communication manager between cpu's | |
| JPS622342A (en) | Information transmission equipment | |
| JPH07250102A (en) | Data transmission circuit | |
| JPH0239798A (en) | Converter for tdma data and tdm data |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081004 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |