JP2002032236A - Data communication equipment and its data communication method - Google Patents

Data communication equipment and its data communication method

Info

Publication number
JP2002032236A
JP2002032236A JP2000212639A JP2000212639A JP2002032236A JP 2002032236 A JP2002032236 A JP 2002032236A JP 2000212639 A JP2000212639 A JP 2000212639A JP 2000212639 A JP2000212639 A JP 2000212639A JP 2002032236 A JP2002032236 A JP 2002032236A
Authority
JP
Japan
Prior art keywords
data
conversion
format
character string
converted
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
JP2000212639A
Other languages
Japanese (ja)
Inventor
Kazunori Fujita
和典 藤田
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.)
NEC Communication Systems Ltd
Original Assignee
NEC Communication Systems 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 NEC Communication Systems Ltd filed Critical NEC Communication Systems Ltd
Priority to JP2000212639A priority Critical patent/JP2002032236A/en
Publication of JP2002032236A publication Critical patent/JP2002032236A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)

Abstract

PROBLEM TO BE SOLVED: To drastically relieve a processing burden of an encode/decode processing. SOLUTION: Clustered data is transmitted from a client 11 to a form converting part 1 (12) and converted into a string type data form based on a conversion rule stored in a form conversion definition information storage part 1 (13). An encode processing for data transfer is performed to the replaced string type data by a CORBA communication control part 14 and transmitted to a server 16 by data transfer in a CORBA form. A CORBA communication control part 15 receives it, performs the decode processing to it and returns it to string type data. The server 16 transmits the string type data to a form converting part 2 (17), performs inverse conversion of the clustered data in the string type data form into original clustered data based on the conversion rule stored in a form conversion definition information storage part 2 (18) and returns the data to the server 16.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は分散型データ通信に
関し、特にネットワーク上の分散環境で異なるデータタ
イプより構成される集合データの通信を行なうデータ通
信装置及びそのデータ通信方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to distributed data communication, and more particularly, to a data communication device and a data communication method for performing communication of aggregated data composed of different data types in a distributed environment on a network.

【0002】[0002]

【従来の技術】ネットワーク上の分散環境で、異なるコ
ンピュータで動作しているオブジェクト(プロセス)同
士が情報を交換するための仕様として、オブジェクト指
向関連技術の標準化団体であるOMG(Object
Management Group)が提唱するCOR
BA(Common Object RequestB
roker Architecture)がある。
2. Description of the Related Art In a distributed environment on a network, as specifications for exchanging information between objects (processes) operating on different computers, OMG (Object), a standardization group of object-oriented related technologies, is described.
COR proposed by Management Group)
BA (Common Object RequestB)
rocker Architecture).

【0003】複数の異なるデータタイプの複数のデータ
より構成される集合データを、CORBAの標準プロト
コルであるインターネットORB間プロトコルIIOP
(Internet Inter〜ORB Proto
col)を使用して送信する場合、転送するデータ構造
毎に、CORBAのIIOPで定義されたコンポーネン
トとして、CORBAで規定された形式にデータ転送用
のエンコード処理している。受信側では、受信したデー
タにデコード処理を施す。このように、CORBAは、
集合データをIIOPの通信メッセージにエンコード及
びデコードすることにより、オブジェクト(プロセス)
間のメッセージ通信経路(パス)をオブジェクトが意識
しないでよい、新しいアーキテクチャを提供している。
[0003] Aggregated data composed of a plurality of data of a plurality of different data types is converted into an Internet ORB protocol IIOP which is a CORBA standard protocol.
(Internet Inter-ORB Proto
In the case of transmission using (col.), encoding is performed for data transfer in a format defined by CORBA as a component defined by CORBA IIOP for each data structure to be transferred. On the receiving side, the received data is decoded. Thus, CORBA is
By encoding and decoding the aggregate data into IIOP communication messages, objects (processes)
It provides a new architecture in which objects do not need to be aware of the message communication path (path) between them.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
CORBAによる通信では、エンコード処理/デコード
処理に時間がかかるため、処理能力が悪いという問題が
ある。
However, the conventional CORBA communication has a problem that the encoding / decoding process takes a long time, resulting in poor processing capability.

【0005】ネットワーク上に分散する異なるデータ体
系を持つコンピュータ間でデータ伝送を行なうため、エ
ンコード処理/デコード処理を、集合データに含まれる
データ構造の数だけ実行しなければならなかった。この
集合データのエンコード処理/デコード処理に時間がか
かるため、全体の通信時間が長くなっていた。
In order to perform data transmission between computers having different data systems distributed on a network, encoding / decoding processes have to be executed by the number of data structures included in the aggregated data. Since the encoding / decoding processing of the aggregated data takes time, the entire communication time is long.

【0006】近年では、コンピュータ等のマシンの性能
向上により、各プロセスの処理時間が短縮され、例え
ば、表示処理等の能力が向上している。しかしながら、
CORBAの通信プロトコルであるIIOPを使用して
集合データを送信する場合、エンコード/デコード処理
を転送するデータ構造の数だけ実行しなければならない
ため、プロトコル変換に時間がかかっており、マシン性
能向上だけではカバーすることができなかった。
In recent years, the processing time of each process has been shortened due to the improvement in the performance of a machine such as a computer, and for example, the capability of display processing and the like has been improved. However,
When transmitting collective data using IIOP, which is a communication protocol of CORBA, since encoding / decoding processes must be executed by the number of data structures to be transferred, protocol conversion takes time, and only machine performance is improved. I couldn't cover it.

【0007】本発明はこのような点に鑑みてなされたも
のであり、エンコード/デコード処理の処理負担を大幅
に軽減し、コンピュータ間の高性能なオブジェクトデー
タ転送が可能なデータ通信装置及びそのデータ通信方法
を提供することを目的とする。
The present invention has been made in view of the above points, and a data communication apparatus and a data communication apparatus capable of greatly reducing the processing load of encoding / decoding processing and enabling high-performance object data transfer between computers. It is intended to provide a communication method.

【0008】[0008]

【課題を解決するための手段】前記目的を達成するた
め、本発明のうち請求項1に記載の発明は、ネットワー
ク上の分散環境で異なるデータタイプより構成される所
定の集合データの通信を行なうデータ通信装置におい
て、前記所定の集合データの形式を文字列型データ形式
に変換するための変換規則を記憶する形式変換定義記憶
手段と、前記所定の集合データを前記形式変換定義記憶
手段に記憶された変換規則に基づいて文字列型データ形
式に変換するとともに、前記文字列型データ形式のデー
タを前記変換規則に基づいて所定の集合データに逆変換
する形式変換手段と、前記文字列型データ形式に変換さ
れたデータの通信を所定のプロトコルに従って制御する
通信制御手段と、を有するデータ通信装置であることを
特徴とする。
In order to achieve the above object, according to the first aspect of the present invention, a predetermined set of data composed of different data types is communicated in a distributed environment on a network. In the data communication device, a format conversion definition storage unit that stores a conversion rule for converting the format of the predetermined set data into a character string data format, and the predetermined set data is stored in the format conversion definition storage unit. Format conversion means for converting the data in the character string data format into predetermined set data based on the conversion rule, while converting the data in the character string data format based on the conversion rule. Communication control means for controlling the communication of the converted data according to a predetermined protocol.

【0009】このような構成のデータ通信装置では、予
め形式変換定義記憶手段に所定の集合データを内部で規
定された文字列型データ形式に変換するための変換規則
を記憶しておく。集合データの送信側では、形式変換手
段が記憶された変換規則に基づき、複数の種類の集合デ
ータを変換し、共通の文字列型データ形式に変換する。
通信制御手段は、これを、所定のプロトコルに従った送
信データ形式にエンコードした後、送信する。受信側
は、通信制御手段でこれを受信し、デコードした後、形
式変換手段が記憶された変換規則に基づき集合データに
逆変換する。このように、通信時に集合データを共通の
文字列型データ形式を用いて変換/逆変換することによ
り、集合データ毎にエンコード/デコード処理を行なっ
ていた手間を省くことができ、通信時間を短縮すること
ができる。
In the data communication device having such a configuration, a conversion rule for converting predetermined set data into a character string data format defined internally is stored in the format conversion definition storage means in advance. On the set data transmission side, the format conversion means converts a plurality of types of set data based on the stored conversion rules, and converts them into a common character string type data format.
The communication control means encodes the data into a transmission data format according to a predetermined protocol, and then transmits the data. On the receiving side, the communication control means receives and decodes the data, and then the format conversion means performs reverse conversion to aggregate data based on the stored conversion rules. In this way, by converting / inverting the set data at the time of communication using the common character string data format, it is possible to save the trouble of performing the encoding / decoding processing for each set data and shorten the communication time. can do.

【0010】また、本発明のうち請求項2に記載の発明
は、請求項1記載の前記形式変換定義記憶手段が、前記
集合データを構成する各データについて文字列型データ
形式に変換した後の各データのデータ長を示す情報の出
力位置と文字列型データ形式に変換した後のデータの出
力位置とを前記変換規則として登録しているデータ通信
装置であることを特徴とする。このようなデータ通信装
置では、集合データを構成する各データのデータ長及び
データ形式変換されたデータの出力位置を定義している
ため、データ変換は、集合データの各データを文字列型
データに変換し、変換規則に合うように配置すればよ
い。このように簡単に変換することができるため、変換
に要する時間は短くて済む。
According to a second aspect of the present invention, the format conversion definition storage means according to the first aspect converts each data constituting the set data into a character string data format. The data communication apparatus is characterized in that an output position of information indicating a data length of each data and an output position of data after being converted into a character string data format are registered as the conversion rule. In such a data communication device, since the data length of each data constituting the aggregated data and the output position of the converted data are defined, each data of the aggregated data is converted into character string type data. What is necessary is just to convert and arrange | position so that it may correspond to a conversion rule. Since the conversion can be easily performed in this manner, the time required for the conversion can be reduced.

【0011】また、本発明のうち請求項3に記載の発明
は、請求項1または2記載の形式変換定義記憶手段は、
前記所定の集合データの形式毎に適した変換規則と前記
変換規則を識別する変換パターン番号とを記憶してお
り、前記変換規則及び変換パターン番号は前記ネットワ
ーク上に分散配置されるデータ通信装置に同一のものが
登録されているデータ通信装置であることを特徴とす
る。このような構成のデータ通信装置では、ネットワー
ク上に分散配置されるデータ通信装置間で、共通の変換
規則と変換パターン番号を保有しているため、送信側で
変換パターン番号を付加すれば、変換時に使用した変換
規則を容易に識別することができる。
According to a third aspect of the present invention, the format conversion definition storage means according to the first or second aspect is provided.
A conversion rule suitable for each format of the predetermined set data and a conversion pattern number for identifying the conversion rule are stored, and the conversion rule and the conversion pattern number are stored in a data communication device distributed on the network. It is characterized in that the same device is a registered data communication device. In a data communication device having such a configuration, a common conversion rule and a conversion pattern number are held between data communication devices distributed and arranged on a network. Sometimes used conversion rules can be easily identified.

【0012】また、本発明のうち請求項4に記載の発明
は、請求項1、2または3記載の形式変換手段が、前記
集合データを任意の前記データ通信装置に送信する際
に、前記形式変換定義記憶手段に記憶されている変換規
則に基づいて前記集合データの形式変換を行ない、前記
形式変換に用いた変換パターン番号及び形式変換を行な
ったか否かを示す形式変換フラグを前記変換された集合
データに付加して送信データを生成するデータ通信装置
であることを特徴とする。
[0012] According to a fourth aspect of the present invention, the format conversion means according to the first, second or third aspect of the present invention transmits the aggregated data to the arbitrary data communication apparatus when the format conversion means transmits the aggregated data to any of the data communication devices. The format conversion of the set data was performed based on the conversion rules stored in the conversion definition storage means, and the conversion pattern number used for the format conversion and the format conversion flag indicating whether or not the format conversion was performed were converted. It is a data communication device that generates transmission data by adding to aggregate data.

【0013】このような構成のデータ通信装置では、変
換された送信データに変換パターン番号と形式変換フラ
グを付加するよう定義されているため、受信側に送る送
信データ中に逆変換に必要な情報、すなわち逆変換が必
要であるかどうかと、逆変換に用いる変換パターン番号
とを含ませることができる。このため、送信側が新たに
変換に関する情報を送信する必要がなく、送信側の負荷
を減らすことができる。
In the data communication device having such a configuration, since the conversion pattern number and the format conversion flag are defined to be added to the converted transmission data, the information necessary for the reverse conversion is included in the transmission data transmitted to the receiving side. That is, it is possible to include whether the reverse conversion is necessary and the conversion pattern number used for the reverse conversion. For this reason, the transmitting side does not need to newly transmit the information on the conversion, and the load on the transmitting side can be reduced.

【0014】また、本発明のうち請求項5に記載の発明
は、請求項1、2、3または4記載の形式変換手段が、
任意のデータ通信装置から送信データを受信した際に、
前記送信データに付加されている形式変換を行なったか
否かを示す形式変換フラグを調べ、変換が行なわれてい
た場合に前記送信データに付加されている前記形式変換
に用いた変換パターン番号に基づいて前記形式変換的記
憶手段に記憶されている変換規則を検索し、前記検索し
た変換規則に基づいて元の集合データに逆変換するデー
タ通信装置であることを特徴とする。
According to a fifth aspect of the present invention, the format conversion means according to the first, second, third or fourth aspect comprises:
When transmission data is received from any data communication device,
A format conversion flag indicating whether or not the format conversion added to the transmission data has been performed is checked, and if the conversion has been performed, based on the conversion pattern number used for the format conversion added to the transmission data. A data communication device that searches for conversion rules stored in the format conversion storage means and performs reverse conversion to original set data based on the searched conversion rules.

【0015】このような構成のデータ通信装置では、受
信したデータに変換パターン番号と形式変換フラグが付
加されているため、逆変換が必要であるかどうかと、逆
変換に用いる変換パターン番号とが容易にわかる。この
ため、変換及び逆変換に要する時間を短縮することがで
きる。
In the data communication apparatus having such a configuration, since the conversion pattern number and the format conversion flag are added to the received data, whether the reverse conversion is necessary and the conversion pattern number used for the reverse conversion are determined. Easy to understand. For this reason, the time required for the conversion and the inverse conversion can be reduced.

【0016】また、本発明のうち請求項6に記載の発明
は、請求項1、2、3、4または5記載の所定のプロト
コルが、オブジェクト指向関連技術の標準化団体である
OMGが提唱するCORBAであるデータ通信装置であ
ることを特徴とする。このように、集合データのデータ
構造を共通の文字列型データ形式に変換するため、転送
するデータ構造毎にエンコード/デコード処理を行なう
CORBAにおけるエンコード/デコード処理時間を短
縮し、通信性能を改善することができる。
According to a sixth aspect of the present invention, the predetermined protocol according to the first, second, third, fourth, or fifth aspect is a system in which CORBA proposed by OMG, which is a standardization group of object-oriented related technologies. Is a data communication device. As described above, since the data structure of the aggregated data is converted into a common character string data format, the encoding / decoding processing time in CORBA for performing encoding / decoding processing for each data structure to be transferred is reduced, and communication performance is improved. be able to.

【0017】また、本発明のうち請求項7に記載の発明
は、ネットワーク上の分散環境で異なるデータタイプよ
り構成される所定の集合データの通信を行なうデータ通
信方法において、送信側のデータ通信装置が、前記所定
の集合データの形式を文字列型データ形式に変換するた
めの変換規則を記憶し、前記所定の集合データ送信時に
前記記憶された変換規則に基づいて文字列型データ形式
に変換し、前記文字列型データ形式に変換された送信デ
ータを予め決められたプロトコルに従ってエンコード処
理し、相手のデータ通信装置に送信する手順と、受信側
のデータ通信装置が、前記所定の集合データの形式を文
字列型データ形式に変換するための変換規則を記憶し、
前記送信側のデータ通信装置より送られた送信データを
受信し、前記受信した送信データを予め決められたプロ
トコルに従ってデコード処理して前記文字列型データ形
式に戻し、前記記憶された変換規則に基づいて文字列型
データ形式の送信データを逆変換して元の集合データに
戻す手順と、を有するデータ通信方法であることを特徴
とする。
According to a seventh aspect of the present invention, there is provided a data communication method for performing communication of predetermined set data composed of different data types in a distributed environment on a network. Stores a conversion rule for converting the format of the predetermined aggregate data into a character string data format, and converts the data into a character string data format based on the stored conversion rule when transmitting the predetermined aggregate data. A procedure for encoding the transmission data converted to the character string type data format according to a predetermined protocol and transmitting the encoded data to a data communication device of the other party; Memorizes a conversion rule for converting into a character string data format,
Receives the transmission data sent from the data communication device on the transmission side, decodes the received transmission data in accordance with a predetermined protocol, returns the data to the character string type data format, and based on the stored conversion rule. And converting the transmission data in the character string data format back to the original set data.

【0018】このような手順のデータ通信方法では、送
信側のデータ通信装置は、種々の形式で構成される集合
データを、予め記憶された変換形式に従って共通の文字
列型データ形式に変換し、プロトコルに従って、エンコ
ード処理して送信する。受信側のデータ通信装置は、受
信したデータをデコード処理した後、予め記憶された変
換形式に従って元の集合データに戻す。このように、通
信時に集合データを共通の文字列型データ形式を用いて
変換/逆変換することにより、集合データ毎にエンコー
ド/デコード処理を行なっていた手間を省くことがで
き、通信時間を短縮することができる。
In the data communication method of such a procedure, the data communication device on the transmitting side converts the aggregate data composed of various formats into a common character string type data format according to a conversion format stored in advance. Encode and transmit according to the protocol. After decoding the received data, the data communication device on the receiving side returns to the original set data according to the conversion format stored in advance. In this way, by converting / inverting the set data at the time of communication using the common character string data format, it is possible to save the trouble of performing the encoding / decoding processing for each set data and shorten the communication time. can do.

【0019】また、本発明のうち請求項8に記載の発明
は、請求項7記載の所定の集合データ送信時に前記記憶
された変換規則に基づいて文字列型データ形式に変換す
る手順が、前記集合データを構成する各データ毎に、記
憶されている変換規則のうち前記集合データに適した変
換規則を検索し、前記検索された変換規則に基づいて文
字列型データ形式に変換し、前記形式変換に用いた変換
パターン番号及び形式変換を行なったか否かを示す形式
変換フラグを前記変換された集合データに付加して所定
の文字列型データを生成し、前記生成された所定の文字
列型データを結合して結合構造の文字列型データ形式の
送信データに変換するデータ通信方法であることを特徴
とする。
In the invention according to claim 8 of the present invention, the step of converting to a character string type data format based on the stored conversion rule at the time of transmitting the predetermined set data according to claim 7 comprises the step of: For each data constituting the aggregated data, a conversion rule suitable for the aggregated data is searched for from among the stored conversion rules, and converted to a character string data format based on the searched conversion rule. A conversion pattern number used for conversion and a format conversion flag indicating whether or not format conversion has been performed are added to the converted set data to generate predetermined character string type data, and the generated predetermined character string type data is generated. It is a data communication method for combining data and converting it into transmission data in a character string data format having a combined structure.

【0020】このようにして生成された結合構造の文字
列型データ形式に変換された集合データは、それぞれの
変換データ毎に形式変換フラグと変換パターン番号が付
加されており、送信側が新たに変換に関する情報を送信
する必要がなく、送信側の負荷を減らすことができる。
The set data thus converted into the character string type data format having the combined structure is provided with a format conversion flag and a conversion pattern number for each conversion data, and the transmission side newly converts the data. It is not necessary to transmit information on the transmission side, and the load on the transmission side can be reduced.

【0021】また、本発明のうち請求項9に記載の発明
は、請求項7及び8記載の記憶された変換規則に基づい
て文字列型データ形式の送信データを逆変換して元の集
合データに戻す手順が、前記結合構造の文字列型データ
形式に変換された送信データの各データ毎に、前記形式
変換フラグをチェックし、前記文字列型データ形式への
変換が行なわれていれば、前記変換パターン番号に該当
する変換規則を前記記憶された変換規則から検索し、前
記検索された変換規則に基づいて前記文字列型データ形
式を元の集合データに逆変換するデータ通信方法である
ことを特徴とする。
According to a ninth aspect of the present invention, the transmission data in the character string data format is inversely converted based on the stored conversion rules according to the seventh and eighth aspects, thereby obtaining the original set data. The procedure to return to the above, for each data of the transmission data converted to the character string data format of the combined structure, check the format conversion flag, if the conversion to the character string data format has been performed, A data communication method for retrieving a conversion rule corresponding to the conversion pattern number from the stored conversion rules and inversely converting the character string data format into original set data based on the retrieved conversion rules. It is characterized by.

【0022】このように、受信したデータに変換パター
ン番号と形式変換フラグが付加されているため、逆変換
が必要であるかどうかと、逆変換に用いる変換パターン
番号とが容易にわかる。このため、変換及び逆変換に要
する時間を短縮することができる。
As described above, since the conversion pattern number and the format conversion flag are added to the received data, it is easy to determine whether the reverse conversion is necessary and the conversion pattern number used for the reverse conversion. For this reason, the time required for the conversion and the inverse conversion can be reduced.

【0023】[0023]

【発明の実施の形態】本発明の実施の形態について説明
する。図1は、本発明の一実施の形態であるデータ通信
装置を用いたクライアントサーバシステムの構成図であ
る。クライアント−サーバ間は、CORBA形式でデー
タ転送を行なう。
Embodiments of the present invention will be described. FIG. 1 is a configuration diagram of a client server system using a data communication device according to an embodiment of the present invention. Data transfer is performed in a CORBA format between the client and the server.

【0024】本発明に係るクライアントサーバシステム
は、異なるデータタイプより構成される所定の集合デー
タを送信するクライアント(Client)11と、こ
れを受信するサーバ(Server)16とが、ネット
ワーク上に分散配置されている。クライアント11及び
サーバ16は、それぞれ、所定の集合データの形式を文
字列型データ形式(以下、ストリング型データ形式とす
る)に変換するための変換規則を記憶する形式変換定義
記憶手段と、所定の集合データをストリング型データ形
式に変換/逆変換する形式変換手段と、CORBA形式
の通信制御を行なう通信制御手段と、を有している。
In the client server system according to the present invention, a client (Client) 11 for transmitting predetermined aggregate data composed of different data types and a server (Server) 16 for receiving the same are distributed and arranged on a network. Have been. The client 11 and the server 16 each include a format conversion definition storage unit that stores a conversion rule for converting a format of a predetermined set of data into a character string data format (hereinafter, referred to as a string data format), It has format conversion means for converting / reversely converting the aggregate data into a string data format, and communication control means for performing communication control in CORBA format.

【0025】ここでは、クライアント11の形式変換手
段を形式変換部1(12)、形式変換定義記憶手段を形
式変換定義情報記憶部1(13)、通信制御手段をCO
RBA通信制御部14とする。また、サーバ16の形式
変換手段を形式変換部2(17)、形式変換定義記憶手
段を形式変換定義情報記憶部2(18)、通信制御手段
をCORBA通信制御部15とする。クライアント11
のCORBA通信制御部14とサーバ16のCORBA
通信制御部15とは、IIOP通信経路19によって接
続している。
Here, the format conversion means of the client 11 is the format conversion unit 1 (12), the format conversion definition storage means is the format conversion definition information storage unit 1 (13), and the communication control means is CO.
The RBA communication control unit 14 is assumed. The format conversion unit of the server 16 is the format conversion unit 2 (17), the format conversion definition storage unit is the format conversion definition information storage unit 2 (18), and the communication control unit is the CORBA communication control unit 15. Client 11
CORBA communication control unit 14 and server 16 CORBA
The communication control unit 15 is connected via an IIOP communication path 19.

【0026】クライアント11の形式変換部1(12)
は、クライアント11からの要求に応じて、集合データ
の個々のデータを内部で規定されたストリング型データ
に変換する。形式変換定義情報記憶部1(13)は、そ
れぞれの集合データ毎の変換規則と、この変換規則を識
別する変換パターン番号が記憶している。CORBA通
信制御部14は、クライアント11から送られたストリ
ング型データを、CORBA形式にエンコード処理して
送信する。
Format conversion unit 1 (12) of client 11
Converts, in response to a request from the client 11, individual data of the aggregated data into string data defined internally. The format conversion definition information storage unit 1 (13) stores a conversion rule for each set data and a conversion pattern number for identifying the conversion rule. The CORBA communication control unit 14 encodes the string type data sent from the client 11 into a CORBA format and transmits the data.

【0027】サーバ16の形式変換部2(17)は、形
式変換部1(12)と同様に、サーバ16からの要求に
応じて、ストリング型データを集合データの個々のデー
タに逆変換する。形式変換定義情報記憶部2(18)
は、それぞれの集合データ毎の変換規則と、この変換規
則を識別する変換パターン番号が記憶している。この内
容は、クライアント11の形式変換定義情報記憶部1
(13)と共通である。CORBA通信制御部15は、
クライアント11のCORBA通信制御部14から送ら
れたCORBA形式のデータを、デコード処理し、スト
リング型データをサーバ16へ送る。
The format conversion unit 2 (17) of the server 16 reversely converts the string data into individual data of the aggregate data in response to a request from the server 16, similarly to the format conversion unit 1 (12). Format conversion definition information storage unit 2 (18)
Stores a conversion rule for each set data and a conversion pattern number for identifying the conversion rule. This content is stored in the format conversion definition information storage unit 1 of the client 11.
This is common with (13). The CORBA communication control unit 15
The data in the CORBA format sent from the CORBA communication control unit 14 of the client 11 is decoded, and the string type data is sent to the server 16.

【0028】このような構成のクライアントサーバシス
テムの動作について説明する。クライアント11から送
信データである集合データが形式変換部1(12)へ送
られる。形式変換部1(12)は、形式変換定義情報記
憶部1(13)に記憶された変換規則のうち、入力した
集合データに適した変換規則を検索し、この変換規則に
基づいて集合データをストリング型データ形式に変換
し、置換データをクライアント11に返す。クライアン
ト11は、置換されたストリング型データをCORBA
通信制御部14に送る。CORBA通信制御部14は、
ストリング型データをデータ転送用のエンコード処理
し、CORBA形式のデータ転送でサーバ16へ送信す
る。送信データは、サーバ16のCORBA通信制御部
15で受信され、デコード処理が行なわれてストリング
型データに戻る。ストリング型データは、サーバ16へ
送られる。サーバ16は、クライアント11が送信した
送信データであるストリング型データを形式変換部2
(17)へ送る。形式変換部2(17)は、形式変換定
義情報記憶部2(18)に記憶された変換規則に基づい
てストリング型データ形式の集合データを元の集合デー
タに逆変換し、置換データをサーバ16に返す。
The operation of the client server system having such a configuration will be described. Collective data, which is transmission data, is sent from the client 11 to the format conversion unit 1 (12). The format conversion unit 1 (12) searches the conversion rules stored in the format conversion definition information storage unit 1 (13) for a conversion rule suitable for the input set data, and converts the set data based on the conversion rules. The data is converted into a string data format, and the replacement data is returned to the client 11. The client 11 converts the replaced string type data into a CORBA
This is sent to the communication control unit 14. The CORBA communication control unit 14
String-type data is encoded for data transfer and transmitted to the server 16 by CORBA-format data transfer. The transmission data is received by the CORBA communication control unit 15 of the server 16, subjected to a decoding process, and returns to string type data. The string type data is sent to the server 16. The server 16 converts the string-type data that is the transmission data transmitted by the client 11 into the format conversion unit 2.
Send to (17). The format conversion unit 2 (17) reversely converts the set data in the string data format into the original set data based on the conversion rules stored in the format conversion definition information storage unit 2 (18), and converts the replacement data into the server 16. To return.

【0029】このように、送信データの集合データをコ
ンピュータグループで合意された結合ストリング構造の
1つのストリング型データに変換し、また、そのストリ
ング型データを変換前の集合データに逆変換を行なうこ
とによって、IIOP通信経路(19)の部分で1つの
コンポーネントとしてデータ転送用のエンコード処理を
実行することで、エンコード/デコード処理の処理負荷
を大幅に軽減し、コンピュータ間の高性能なオブジェク
トデータ転送機能を実現することができる。
As described above, the set data of the transmission data is converted into one string type data having a combined string structure agreed on by the computer group, and the string type data is inversely converted into the set data before conversion. By executing the encoding process for data transfer as one component in the IIOP communication path (19), the processing load of the encoding / decoding process is greatly reduced, and the high-performance object data transfer function between computers. Can be realized.

【0030】次に、集合データからストリング型データ
への変換とその逆変換について説明する。図2は、本発
明の一実施の形態であるクライアントサーバシステムに
おけるデータ変換/逆変換処理部の構成図である。図1
と尾暗示者には同じ番号を付し、説明は省略する。
Next, the conversion from the set data to the string type data and the reverse conversion will be described. FIG. 2 is a configuration diagram of a data conversion / inverse conversion processing unit in the client server system according to one embodiment of the present invention. Figure 1
And the tail-suggesting person are assigned the same numbers, and the description is omitted.

【0031】クライアント11の形式変換定義記憶部1
(13)は、集合データをストリング型データ形式に変
換する変換規則の定義を記憶する形式情報記憶部1(2
4)と、形式変換を行なった履歴を記憶する形式変換履
歴部1(25)とから構成される。また、形式変換部1
(12)は、CPUにより構成され、集合データの形式
をチェックする形式チェック部23と、形式チェック部
23のチェック結果に応じて集合データをストリング型
データ形式に変換するメインルーチン1(22)とから
構成される。
Format conversion definition storage unit 1 of client 11
(13) is a format information storage unit 1 (2) that stores a definition of a conversion rule for converting the set data into a string data format.
4) and a format conversion history section 1 (25) for storing a history of the format conversion. Also, the format conversion unit 1
(12) is composed of a CPU, a format check unit 23 for checking the format of the aggregate data, and a main routine 1 (22) for converting the aggregate data into a string type data format according to the check result of the format check unit 23. Consists of

【0032】一方、サーバ16の形式変換定義記憶部2
(18)は、集合データをストリング型データ形式に変
換する変換規則の定義を記憶する形式情報記憶部2(2
9)と、形式変換を行なった履歴を記憶する形式変換履
歴部2(20)とから構成される。形式情報記憶部2
(29)に記憶されている変換規則は、クライアント1
1の形式情報記憶部1(24)のものと共通である。ま
た、形式変換部2(17)は、CPUにより構成され、
送信データがストリング型データに変換されて否かをチ
ェックするフラグチェック部28と、フラグチェック部
28のチェック結果に応じて、ストリング型データ形式
の送信データを元の集合データに逆変換するメインルー
チン2(27)とから構成される。
On the other hand, the format conversion definition storage unit 2 of the server 16
(18) is a format information storage unit 2 (2) that stores a definition of a conversion rule for converting set data into a string data format.
9), and a format conversion history unit 2 (20) for storing a history of format conversion. Format information storage unit 2
The conversion rule stored in (29) is
1 is common to that of the format information storage unit 1 (24). The format conversion unit 2 (17) is configured by a CPU.
A flag checker for checking whether or not the transmission data is converted to string data, and a main routine for inversely converting the transmission data in the string data format to the original set data in accordance with the check result of the flag checker 2 (27).

【0033】このような構成のクライアントサーバシス
テムにおけるデータ変換/逆変換処理について説明す
る。クライアント(11)から形式変換部1(12)に
送信すべき集合データが送られると、メインルーチン1
(22)は形式チェック部(23)で、集合データの構
造と、形式変換定義情報記憶部1(13)の形式情報記
憶部1(24)に記憶されている変換パターン番号と変
換規則とを比較し、集合データの構造と形式情報記憶部
1(24)に記憶されている構造とが一致するものがあ
るかどうかをチェックする。集合データの構造が、形式
情報記憶部1(24)に記憶されていない場合は変換で
きないので、集合データを変換せずにクライアント11
に返す。形式変換処理では、データ毎に、集合データと
形式変換定義情報記憶部1(13)の形式情報記憶部1
(24)に形式変換規則が定義されているデータ構造と
の一致をチェックし、一致する構造定義に合わせて、メ
インルーチン1(22)で内部で規定されたストリング
型データに変換する。変換されたこのストリング型デー
タは、集合データ中の全てのデータについて結合され
る。
The data conversion / reverse conversion processing in the client server system having such a configuration will be described. When collective data to be transmitted is sent from the client (11) to the format conversion unit 1 (12), the main routine 1
(22) is a format check unit (23) which determines the structure of the set data, the conversion pattern number and the conversion rule stored in the format information storage unit 1 (24) of the format conversion definition information storage unit 1 (13). By comparing the data, it is checked whether or not there is any data whose structure matches the structure stored in the format information storage unit 1 (24). If the structure of the aggregate data is not stored in the format information storage unit 1 (24), it cannot be converted.
To return. In the format conversion process, for each data, the aggregate data and the format information storage unit 1 (13) of the format conversion definition information storage unit 1 (13)
The main routine 1 (22) checks the match with the data structure in which the format conversion rule is defined in (24), and converts it into the string type data defined internally in the main routine 1 (22). The converted string data is combined for all data in the set data.

【0034】ストリング型データへの変換について説明
する。図3は、集合データからストリング型データ形式
への変換の手順を示している。形式変換記憶部1(2
4)に記憶されているデータ定義から集合データと一致
するものをチェックし、適したデータ定義を取得する。
例えば、集合データAの形式変換を行なう場合、集合デ
ータAの定義を形式変換記憶部1(24)から取得す
る。データ定義は、ストリング型データ形式に変換した
場合にデータ配列が定義されている。すなわち、集合デ
ータAを構成する各データの変換後のデータ長の出力位
置とストリング型データに変換したデータの出力位置と
が定義されている。具体的には、集合データAのデータ
定義として、int a0の桁数(ストリング型へ変換
後のデータ長)、int a0のストリング型変換後の
データ、string あ1のデータサイズ、stri
ng a1のデータ、というようにストリング型変換後
の集合データを配列するように定義されている。メイン
ルーチン1(22)では、このデータ定義通りに送信デ
ータの情報を配置し、ストリング型データ形式に変換す
る。さらに、ストリング型データに変換したデータに、
フラグ情報と変換パターン番号とを追加し、変換を終了
する。フラグ情報とは、データがストリング型データ形
式に変換されているか否かを示すフラグであり、変換パ
ターン番号とは、予め変換規則に付与された変換規則を
識別する識別番号である。
The conversion to string data will be described. FIG. 3 shows a procedure for converting the set data to the string data format. Format conversion storage unit 1 (2
From the data definitions stored in 4), those that match the set data are checked, and a suitable data definition is obtained.
For example, when performing format conversion of the aggregate data A, the definition of the aggregate data A is acquired from the format conversion storage unit 1 (24). In the data definition, a data array is defined when converted into a string data format. That is, the output position of the converted data length of each data constituting the set data A and the output position of the data converted into the string data are defined. Specifically, as the data definition of the set data A, the number of digits of int a0 (the data length after conversion to a string type), the data of int a0 after conversion to a string type, the string data size of string1, and the string
ng a1 data, and so on, are arranged so that set data after string type conversion is arranged. In the main routine 1 (22), the information of the transmission data is arranged according to the data definition and converted into a string data format. Furthermore, to the data converted to string type data,
The flag information and the conversion pattern number are added, and the conversion ends. The flag information is a flag indicating whether or not the data has been converted to a string data format, and the conversion pattern number is an identification number for identifying a conversion rule previously assigned to the conversion rule.

【0035】図3に戻って説明する。このようにして、
送信データが結合ストリング構造の1つのストリング型
データ形式に置換されると、メインルーチン1(22)
は、集合データが結合ストリング構造に変換されたこと
を示すフラグ情報と、集合データの構造に対応した変換
パターン番号と、結合ストリング構造のデータを送信デ
ータとして、CORBA形式に直して、通信相手のサー
バ16に送信する。
Returning to FIG. In this way,
When the transmission data is replaced with one string type data format having a combined string structure, the main routine 1 (22)
Is the flag information indicating that the set data has been converted to the combined string structure, the conversion pattern number corresponding to the structure of the set data, and the data of the combined string structure as transmission data, converted into CORBA format, and Send it to server 16.

【0036】サーバ16は、受信したデータを形式変換
部2(17)に送る。メインルーチン2(27)は、フ
ラグチェック部(28)で受信データが結合ストリング
構造に変換されたデータであることをチェックする。結
果が結合ストリング構造のデータの場合、形式変換処理
を開始する。メインルーチン2(27)は、受信データ
中の変換パターン番号から、形式変換定義情報記憶部2
(18)の形式情報記憶部2(29)から、変換前の集
合データの構造に関する情報を引き出す。その情報にし
たがって、集合データ中の全てのデータについて、内部
で規定されたストリング型データから、元のデータへの
逆変換を実行して、変換前の集合データを出力する。
The server 16 sends the received data to the format converter 2 (17). The main routine 2 (27) checks that the received data is data converted into a combined string structure by the flag check unit (28). If the result is data having a combined string structure, a format conversion process is started. The main routine 2 (27) uses the format conversion definition information storage unit 2 based on the conversion pattern number in the received data.
Information about the structure of the aggregate data before conversion is extracted from the format information storage unit 2 (29) of (18). In accordance with the information, for all the data in the set data, inverse conversion is performed from the internally defined string data to the original data, and the set data before conversion is output.

【0037】ストリング型データからの逆変換について
説明する。図4は、ストリング型データ形式から集合デ
ータへの逆変換の手順を示している。メインルーチン2
(27)は、受信した送信データに含まれる変換パター
ン番号から、形式変換記憶部2(29)に記憶されてい
るデータ定義を取得する。そして、このデータ定義に基
づき、上記説明の変換手順と逆の手処理を施し、送信デ
ータの復元を行なう。なお、上記説明の変換パターン番
号と、集合データの構造情報の対応表は、クライアント
とサーバの形式情報記憶部1(24)、形式情報記憶部
2(29)に、同一のものが予め登録されて保持されて
いる。
The reverse conversion from string type data will be described. FIG. 4 shows a procedure of the reverse conversion from the string data format to the set data. Main routine 2
(27) acquires the data definition stored in the format conversion storage unit 2 (29) from the conversion pattern number included in the received transmission data. Then, based on this data definition, a hand process reverse to the above-described conversion procedure is performed to restore the transmission data. The correspondence table between the conversion pattern number and the structure information of the aggregated data described above is registered in advance in the format information storage unit 1 (24) and the format information storage unit 2 (29) of the client and the server. Has been held.

【0038】次に、本発明のデータ通信装置におけるデ
ータ通信方法について説明する。まず、送信側であるク
ラインとにおけるデ−タ通信方法について説明する。図
5は、本発明の一実施の形態であるデータ通信方法にお
けるデータ送信方法である。 STEP1: 形式変換部1(12)は、クライアント
11から送信データが送られると、形式チェック部(2
3)にて送信データが集合データかチェックを行なう。 STEP2: STEP1で集合データのとき、メイン
ルーチン1(22)は形式チェック部(23)で形式情
報記憶部1(24)に記憶されている集合データかチェ
ックを行なう。 STEP3: 形式情報記憶部1(24)に記憶されて
いる集合データ型の場合、メインルーチン1(22)
は、形式情報記憶部1(24)からデータ定義を取得
し、このデータ定義をもとに結合ストリング構造のスト
リング型データに変換する。 STEP4−1: メインルーチン1(22)は、クラ
イアント11に結合ストリング構造に変換したフラグ情
報と変換した集合データ型の情報を表す変換パターン番
号をストリング型データに追加し、これを送信データと
してクライアント11に返す。 STEP4−2: 形式情報記憶部1(24)で管理さ
れていない集合データ型の場合、無変換のまま、送信デ
ータをクライアント11に返す。 STEP4−3: STEP1で集合データ以外のと
き、クライアント11に変換せずに送信データを返す。 STEP5: クライアント11は、サーバ(16)に
形式変換部1(12)で変換した送信データを送信す
る。
Next, a data communication method in the data communication device of the present invention will be described. First, a data communication method with the client on the transmitting side will be described. FIG. 5 shows a data transmission method in the data communication method according to one embodiment of the present invention. STEP1: When the transmission data is sent from the client 11, the format conversion unit 1 (12)
In 3), it is checked whether the transmission data is set data. STEP 2: If the data is set data in STEP 1, the main routine 1 (22) checks whether the format data is stored in the format information storage unit 1 (24) by the format check unit (23). STEP 3: In the case of a set data type stored in the format information storage unit 1 (24), the main routine 1 (22)
Acquires a data definition from the format information storage unit 1 (24), and converts the data definition into string-type data having a combined string structure based on the data definition. STEP4-1: The main routine 1 (22) adds to the client 11 the flag information converted into the combined string structure and the conversion pattern number representing the converted set data type information to the string type data, and uses this as the transmission data. Return to 11. STEP4-2: In the case of a set data type not managed by the format information storage unit 1 (24), the transmission data is returned to the client 11 without any conversion. STEP4-3: When the data is other than the aggregated data in STEP1, the transmission data is returned to the client 11 without being converted. STEP 5: The client 11 transmits the transmission data converted by the format conversion unit 1 (12) to the server (16).

【0039】次に、受信側であるサーバにおけるデ−タ
通信方法について説明する。図6は、本発明の一実施の
形態であるデータ通信方法におけるデータ受信方法であ
る。 STEP6: 形式変換部2(17)は、サーバ(1
6)から送信データを受け取り、フラグチェック部(2
8)で送信データからフラグ情報を取り出し、形式変換
部1(12)で変換したデータかチェックを行なう。 STEP7: STEP6で変換データのとき、送信デ
ータから変換パターン情報を取り出し、形式変換履歴部
2(20)で形式情報記憶部2(29)に記憶されてい
る変換可能な集合データ型かチェックを行なう。 STEP8: 形式情報記憶部2(29)にある集合デ
ータの場合、メインルーチン2(27)は、形式情報記
憶部2(29)からデータ定義を取得し、このデータ定
義をもとに変換前の送信データに復元する。 STEP9−1: メインルーチン2(27)は、サー
バ(16)に復元した送信データを返す。 STEP9−2: 形式情報記憶部2(29)にない集
合データの場合、変換できないデータ型であることをサ
ーバ16に通知し、送信データをサーバ16に返す。 STEP9−3: STEP6で変換データでない場
合、サーバ16にデータを変換せずに送信データを返
す。
Next, a data communication method in the server on the receiving side will be described. FIG. 6 shows a data receiving method in the data communication method according to one embodiment of the present invention. STEP 6: The format conversion unit 2 (17) sends the server (1
The transmission data is received from the flag check unit (2).
In step 8), flag information is extracted from the transmission data, and it is checked whether the data is converted by the format conversion unit 1 (12). STEP7: In the case of the conversion data in STEP6, the conversion pattern information is extracted from the transmission data, and the format conversion history unit 2 (20) checks whether the conversion data is a collectable data type stored in the format information storage unit 2 (29). . STEP8: In the case of the set data stored in the format information storage unit 2 (29), the main routine 2 (27) acquires the data definition from the format information storage unit 2 (29) and, based on this data definition, Restore to transmitted data. STEP 9-1: The main routine 2 (27) returns the restored transmission data to the server (16). STEP 9-2: If the set data is not in the format information storage unit 2 (29), the server 16 is notified that the data type cannot be converted, and the transmission data is returned to the server 16. STEP 9-3: If the data is not the converted data in STEP 6, the transmission data is returned to the server 16 without converting the data.

【0040】なお、上記の処理機能は、コンピュータに
よって実現することができる。その場合、データ通信装
置が有すべき機能の処理内容は、コンピュータで読み取
り可能な記録媒体に記録されたプログラムに記述してお
く。そして、このプログラムをコンピュータで実行する
ことにより、上記処理がコンピュータで実現される。コ
ンピュータで読み取り可能な記録媒体としては、磁気記
録装置や半導体メモリ等がある。
The above processing functions can be realized by a computer. In this case, the processing content of the function that the data communication device should have is described in a program recorded on a computer-readable recording medium. Then, by executing this program on a computer, the above processing is realized on the computer. Examples of the computer-readable recording medium include a magnetic recording device and a semiconductor memory.

【0041】[0041]

【発明の効果】以上説明したように本発明では、予め、
所定の集合データを内部で規定された文字列型データ形
式に変換するための変換規則を記憶しておく。データ通
信時に、送信側で複数の種類の集合データを変換規則に
基づき共通の文字列型データ形式に変換し、例えば、C
ORBA形式にエンコードして送信する。受信側では、
デコードした後、変換規則に基づき集合データに逆変換
する。このように、通信時に集合データを共通の文字列
型データ形式を用いて変換/逆変換することにより、通
信時間を短縮することができる。
According to the present invention, as described above,
A conversion rule for converting predetermined set data into a character string data format defined internally is stored. At the time of data communication, the transmitting side converts a plurality of types of aggregated data into a common character string type data format based on a conversion rule.
Encode to ORBA format and send. On the receiving side,
After decoding, the data is inversely converted into aggregate data based on the conversion rule. As described above, the communication time can be reduced by performing the conversion / inversion of the set data during communication using the common character string type data format.

【0042】これによって、頻繁に送信を行なうクライ
アントサーバシステムでは、送信相手の待ち時間を効果
的に短縮することができる。さらに、クライアントサー
バシステムによるアプリケーションの開発において、通
信時間を気にすることなく、容易にシステム構築が可能
となる。
Thus, in a client-server system that frequently transmits, the waiting time of the transmission partner can be effectively reduced. Furthermore, in developing an application using a client server system, a system can be easily constructed without concern for communication time.

【0043】[0043]

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

【図1】 本発明の一実施の形態であるデータ通信装置
を用いたクライアントサーバシステムの構成図である。
FIG. 1 is a configuration diagram of a client server system using a data communication device according to an embodiment of the present invention.

【図2】 本発明の一実施の形態であるクライアントサ
ーバシステムにおけるデータ変換/逆変換処理部の構成
図である。
FIG. 2 is a configuration diagram of a data conversion / inverse conversion processing unit in a client server system according to an embodiment of the present invention.

【図3】 集合データからストリング型データ形式への
変換の手順を示している。
FIG. 3 shows a procedure for converting set data into a string data format.

【図4】 ストリング型データ形式から集合データへの
逆変換の手順を示している。
FIG. 4 shows a procedure of reverse conversion from a string data format to set data.

【図5】 本発明の一実施の形態であるデータ通信方法
におけるデータ送信方法である。
FIG. 5 is a data transmission method in a data communication method according to an embodiment of the present invention.

【図6】 本発明の一実施の形態であるデータ通信方法
におけるデータ受信方法である。
FIG. 6 is a data reception method in a data communication method according to an embodiment of the present invention.

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

11…クライアント(Client) 12…形式変換部1 13…形式変換定義情報記憶部1 14、15…CORBA通信制御部 16…サーバ(Server) 17…形式変換部2 18…形式変換定義情報記憶部2 DESCRIPTION OF SYMBOLS 11 ... Client 12 ... Format conversion part 1 13 ... Format conversion definition information storage part 14, 15 ... CORBA communication control part 16 ... Server (Server) 17 ... Format conversion part 2 18 ... Format conversion definition information storage part 2

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 ネットワーク上の分散環境で異なるデー
タタイプより構成される所定の集合データの通信を行な
うデータ通信装置において、 前記所定の集合データの形式を文字列型データ形式に変
換するための変換規則を記憶する形式変換定義記憶手段
と、 前記所定の集合データを前記形式変換定義記憶手段に記
憶された変換規則に基づいて文字列型データ形式に変換
するとともに、前記文字列型データ形式のデータを前記
変換規則に基づいて所定の集合データに逆変換する形式
変換手段と、 前記文字列型データ形式に変換されたデータの通信を所
定のプロトコルに従って制御する通信制御手段と、 を有することを特徴とするデータ通信装置。
1. A data communication device for performing communication of predetermined set data composed of different data types in a distributed environment on a network, wherein a conversion for converting the format of the predetermined set data to a character string data format. Format conversion definition storage means for storing rules; and converting the predetermined set data into a character string data format based on the conversion rules stored in the format conversion definition storage means, And a communication control means for controlling communication of the data converted into the character string data format in accordance with a predetermined protocol, based on the conversion rule. Data communication device.
【請求項2】 前記形式変換定義記憶手段は、前記集合
データを構成する各データについて文字列型データ形式
に変換した後の各データのデータ長を示す情報の出力位
置と文字列型データ形式に変換した後のデータの出力位
置とを前記変換規則として登録していることを特徴とす
る請求項1記載のデータ通信装置。
2. The format conversion definition storage means stores an output position of information indicating a data length of each data after converting each data constituting the set data into a character string data format and a character string data format. 2. The data communication apparatus according to claim 1, wherein an output position of the converted data is registered as the conversion rule.
【請求項3】 前記形式変換定義記憶手段は、前記所定
の集合データの形式毎に適した変換規則と前記変換規則
を識別する変換パターン番号とを記憶しており、前記変
換規則及び変換パターン番号は前記ネットワーク上に分
散配置されるデータ通信装置に同一のものが登録されて
いることを特徴とする請求項1または2記載のデータ通
信装置。
3. The format conversion definition storage means stores a conversion rule suitable for each format of the predetermined set data and a conversion pattern number for identifying the conversion rule, and stores the conversion rule and the conversion pattern number. 3. The data communication device according to claim 1, wherein the same device is registered in the data communication devices distributed on the network.
【請求項4】 前記形式変換手段は、前記集合データを
任意の前記データ通信装置に送信する際に、前記形式変
換定義記憶手段に記憶されている変換規則に基づいて前
記集合データの形式変換を行ない、前記形式変換に用い
た変換パターン番号及び形式変換を行なったか否かを示
す形式変換フラグを前記変換された集合データに付加し
て送信データを生成することを特徴とする請求項1、2
または3に記載のデータ通信装置。
4. The format conversion means, when transmitting the set data to any data communication device, performs format conversion of the set data based on a conversion rule stored in the format conversion definition storage means. 3. The transmission data is generated by adding a conversion pattern number used in the format conversion and a format conversion flag indicating whether or not the format conversion has been performed to the converted set data.
Or the data communication device according to 3.
【請求項5】 前記形式変換手段は、任意のデータ通信
装置から送信データを受信した際に、前記送信データに
付加されている形式変換を行なったか否かを示す形式変
換フラグを調べ、変換が行なわれていた場合に前記送信
データに付加されている前記形式変換に用いた変換パタ
ーン番号に基づいて前記形式変換的記憶手段に記憶され
ている変換規則を検索し、前記検索した変換規則に基づ
いて元の集合データに逆変換することを特徴とする請求
項1、2、3、または4のいずれかに記載のデータ通信
装置。
5. The format conversion means, when receiving transmission data from an arbitrary data communication device, checks a format conversion flag indicating whether or not the format conversion added to the transmission data has been performed. If it has been performed, a conversion rule stored in the format conversion storage means is searched based on the conversion pattern number used for the format conversion added to the transmission data, and based on the searched conversion rule. 5. The data communication apparatus according to claim 1, wherein the data is converted back to the original set data.
【請求項6】 前記所定のプロトコルは、オブジェクト
指向関連技術の標準化団体であるOMG(Object
Management Group)が提唱するCO
RBA(Common Object Request
Broker Architecture)であるこ
とを特徴とする請求項1、2、3、4、または5いずれ
かに記載のデータ通信装置。
6. The predetermined protocol is an OMG (Object), which is a standardization body for object-oriented related technologies.
Management Group)
RBA (Common Object Request)
6. The data communication apparatus according to claim 1, wherein the data communication apparatus is a Broker Architecture.
【請求項7】 ネットワーク上の分散環境で異なるデー
タタイプより構成される所定の集合データの通信を行な
うデータ通信方法において、 送信側のデータ通信装置が、前記所定の集合データの形
式を文字列型データ形式に変換するための変換規則を記
憶し、前記所定の集合データ送信時に前記記憶された変
換規則に基づいて文字列型データ形式に変換し、前記文
字列型データ形式に変換された送信データを予め決めら
れたプロトコルに従ってエンコード処理し、相手のデー
タ通信装置に送信する手順と、 受信側のデータ通信装置が、前記所定の集合データの形
式を文字列型データ形式に変換するための変換規則を記
憶し、前記送信側のデータ通信装置より送られた送信デ
ータを受信し、前記受信した送信データを予め決められ
たプロトコルに従ってデコード処理して前記文字列型デ
ータ形式に戻し、前記記憶された変換規則に基づいて文
字列型データ形式の送信データを逆変換して元の集合デ
ータに戻す手順と、 を有することを特徴とするデータ通信方法。
7. A data communication method for performing communication of predetermined aggregate data composed of different data types in a distributed environment on a network, wherein the data communication device on the transmission side converts the format of the predetermined aggregate data to a character string type. A conversion rule for converting to a data format is stored, and the transmission data is converted to a character string data format based on the stored conversion rule at the time of transmitting the predetermined set data, and the transmission data is converted to the character string data format. Encoding according to a predetermined protocol, and transmitting the encoded data to the data communication device of the other party; and a conversion rule for the data communication device on the receiving side to convert the format of the predetermined set data into a character string data format. Storing transmission data transmitted from the transmission-side data communication device, and transmitting the received transmission data to a predetermined protocol. Therefore, a decoding process is performed to return to the character string data format, and the transmission data in the character string data format is inversely converted based on the stored conversion rule to return to the original set data. Data communication method.
【請求項8】 前記所定の集合データ送信時に前記記憶
された変換規則に基づいて文字列型データ形式に変換す
る手順は、 前記集合データを構成する各データ毎に、記憶されてい
る変換規則のうち前記集合データに適した変換規則を検
索し、 前記検索された変換規則に基づいて文字列型データ形式
に変換し、 前記形式変換に用いた変換パターン番号及び形式変換を
行なったか否かを示す形式変換フラグを前記変換された
集合データに付加して所定の文字列型データを生成し、 前記生成された所定の文字列型データを結合して結合構
造の文字列型データ形式の送信データに変換することを
特徴とする請求項7記載のデータ通信方法。
8. A step of converting the data into a character string data format based on the stored conversion rule at the time of transmission of the predetermined set data, A conversion rule suitable for the set data is searched for, converted to a character string data format based on the searched conversion rule, and a conversion pattern number used for the format conversion and whether or not the format conversion has been performed is indicated. A predetermined character string type data is generated by adding a format conversion flag to the converted set data, and the generated predetermined character string type data is combined into transmission data in a character string data format having a combined structure. 8. The data communication method according to claim 7, wherein the conversion is performed.
【請求項9】 前記記憶された変換規則に基づいて文字
列型データ形式の送信データを逆変換して元の集合デー
タに戻す手順は、 前記結合構造の文字列型データ形式に変換された送信デ
ータの各データ毎に、前記形式変換フラグをチェック
し、 前記文字列型データ形式への変換が行なわれていれば、
前記変換パターン番号に該当する変換規則を前記記憶さ
れた変換規則から検索し、 前記検索された変換規則に基づいて前記文字列型データ
形式を元の集合データに逆変換することを特徴とする請
求項8記載のデータ通信方法。
9. The step of performing an inverse conversion of the transmission data in the character string data format based on the stored conversion rule to return the original set data to the transmission data converted to the character string data format having the connection structure For each data of the data, check the format conversion flag, if the conversion to the character string data format has been performed,
A conversion rule corresponding to the conversion pattern number is searched from the stored conversion rules, and the character string data format is inversely converted to original set data based on the searched conversion rules. Item 9. The data communication method according to Item 8.
JP2000212639A 2000-07-13 2000-07-13 Data communication equipment and its data communication method Pending JP2002032236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000212639A JP2002032236A (en) 2000-07-13 2000-07-13 Data communication equipment and its data communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000212639A JP2002032236A (en) 2000-07-13 2000-07-13 Data communication equipment and its data communication method

Publications (1)

Publication Number Publication Date
JP2002032236A true JP2002032236A (en) 2002-01-31

Family

ID=18708531

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000212639A Pending JP2002032236A (en) 2000-07-13 2000-07-13 Data communication equipment and its data communication method

Country Status (1)

Country Link
JP (1) JP2002032236A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006505217A (en) * 2002-10-30 2006-02-09 リバーベッド テクノロジー インコーポレーティッド A content-based segmentation scheme for data compression during storage and transmission including hierarchical segment representation
JP2006505215A (en) * 2002-10-30 2006-02-09 リバーベッド テクノロジー インコーポレーティッド Transaction accelerator for client-server communication system
JP2006149797A (en) * 2004-11-30 2006-06-15 Aiphone Co Ltd Patient information network system
US7827564B2 (en) 2004-08-24 2010-11-02 Samsung Electronics Co., Ltd. Method and apparatus for signaling transmission code set in data broadcasting
US8856222B2 (en) 2002-10-30 2014-10-07 Riverbed Technology, Inc. Transaction acceleration for client-server communication systems

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6288459A (en) * 1985-10-15 1987-04-22 Nec Corp Code conversion system for communication control equipment
JPH01147646A (en) * 1987-12-03 1989-06-09 Fujitsu Ltd Information shared system for data processing system
JPH02138655A (en) * 1988-11-18 1990-05-28 Fujitsu Ltd Code conversion system for decentralized process system
JPH07175630A (en) * 1993-12-16 1995-07-14 Nec Software Kansai Ltd Data structure converting device
JPH07319782A (en) * 1994-05-27 1995-12-08 Mitsubishi Electric Corp Character code converter
JPH1063522A (en) * 1996-08-19 1998-03-06 Digital Vision Lab:Kk Data processor and its method
JPH10173708A (en) * 1996-12-11 1998-06-26 Fujitsu Ltd Simple routing system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6288459A (en) * 1985-10-15 1987-04-22 Nec Corp Code conversion system for communication control equipment
JPH01147646A (en) * 1987-12-03 1989-06-09 Fujitsu Ltd Information shared system for data processing system
JPH02138655A (en) * 1988-11-18 1990-05-28 Fujitsu Ltd Code conversion system for decentralized process system
JPH07175630A (en) * 1993-12-16 1995-07-14 Nec Software Kansai Ltd Data structure converting device
JPH07319782A (en) * 1994-05-27 1995-12-08 Mitsubishi Electric Corp Character code converter
JPH1063522A (en) * 1996-08-19 1998-03-06 Digital Vision Lab:Kk Data processor and its method
JPH10173708A (en) * 1996-12-11 1998-06-26 Fujitsu Ltd Simple routing system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006505217A (en) * 2002-10-30 2006-02-09 リバーベッド テクノロジー インコーポレーティッド A content-based segmentation scheme for data compression during storage and transmission including hierarchical segment representation
JP2006505215A (en) * 2002-10-30 2006-02-09 リバーベッド テクノロジー インコーポレーティッド Transaction accelerator for client-server communication system
US8762455B2 (en) 2002-10-30 2014-06-24 Riverbed Technology, Inc. Transaction accelerator for client-server communications systems
US8856222B2 (en) 2002-10-30 2014-10-07 Riverbed Technology, Inc. Transaction acceleration for client-server communication systems
US7827564B2 (en) 2004-08-24 2010-11-02 Samsung Electronics Co., Ltd. Method and apparatus for signaling transmission code set in data broadcasting
US7836455B2 (en) 2004-08-24 2010-11-16 Samsung Electronics Co., Ltd. Method and apparatus for signaling transmission code set in data broadcasting
US8448184B2 (en) 2004-08-24 2013-05-21 Samsung Electronics Co., Ltd. Method and apparatus for signaling transmission code set in data broadcasting
JP2006149797A (en) * 2004-11-30 2006-06-15 Aiphone Co Ltd Patient information network system

Similar Documents

Publication Publication Date Title
US7757232B2 (en) Method and apparatus for implementing work request lists
KR20220079958A (en) Blockchain message processing method and device, computer and readable storage medium
US6836892B2 (en) Apparatus and method for use in distributed computing environment for converting data format between program language-specific format used in respective computers and stream format used for communication among computers
EP1916600B1 (en) Network robot system and method of communication therein
US9967360B2 (en) Method and system for information exchange utilizing an asynchronous persistent store protocol
CN114338650A (en) File transmission method and device, electronic equipment and readable storage medium
US7611057B2 (en) Contents access method and sorting apparatus
WO2021052237A1 (en) Transaction processing method and apparatus, device, storage medium and database
CN111541662A (en) Communication method, device, system and equipment based on binary communication protocol
JP2002032236A (en) Data communication equipment and its data communication method
WO2021036189A1 (en) Rdma data sending and receiving methods, electronic device and readable storage medium
CN116595099A (en) Asynchronous processing method and device for high concurrency data
US5343480A (en) System for detecting loss of message
KR100325816B1 (en) Method for printing in network printer
CN101645906A (en) Realization method and system of computer network security communication
JP2001060157A (en) Inter-application message exchange system
JP3776706B2 (en) Data communication apparatus, data communication method, and computer-readable recording medium recording data communication program
JP2001167059A (en) Service request device, data conversion method and computer having client object
JP3347391B2 (en) Facsimile system and communication method
JP3132787B2 (en) Communication protocol converter
JP3910013B2 (en) Communication method and method
CN118140211A (en) Hardware accelerator service aggregation
JP3926306B2 (en) Workflow interworking apparatus, program thereof, and workflow processing method
JP2000165424A (en) Loop type data transmitting device
CN117424883A (en) Control device of energy storage system and energy storage system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040616

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040806

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040901