JP3241080B2 - Data communication method - Google Patents

Data communication method

Info

Publication number
JP3241080B2
JP3241080B2 JP04680592A JP4680592A JP3241080B2 JP 3241080 B2 JP3241080 B2 JP 3241080B2 JP 04680592 A JP04680592 A JP 04680592A JP 4680592 A JP4680592 A JP 4680592A JP 3241080 B2 JP3241080 B2 JP 3241080B2
Authority
JP
Japan
Prior art keywords
data
conversion
communication
contents
header
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.)
Expired - Fee Related
Application number
JP04680592A
Other languages
Japanese (ja)
Other versions
JPH05252225A (en
Inventor
弘一 香川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP04680592A priority Critical patent/JP3241080B2/en
Publication of JPH05252225A publication Critical patent/JPH05252225A/en
Application granted granted Critical
Publication of JP3241080B2 publication Critical patent/JP3241080B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Communication Control (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、所定の規則に従って
データ変換されたデータを送信または受信するのに好適
なデータ通信方法に関する。
BACKGROUND OF THE INVENTION This invention, in accordance with a predetermined rule
Suitable for sending or receiving converted data
Data communication method .

【0002】[0002]

【従来の技術】一般に電子計算機のプログラム間のデー
タ通信やプロセス間のデータ通信においては、データの
転送量の削減や伝送路上でのデータの欠落を防止するな
どの理由により、送受信データを予め定められた規則に
従って変換する処理が行われる場合がある。この変換処
理は次のように行われる。
2. Description of the Related Art Generally, in data communication between programs of an electronic computer and data communication between processes, transmission / reception data is predetermined in order to reduce the amount of data transferred and to prevent data loss on a transmission path. Conversion processing may be performed in accordance with the given rules. This conversion process is performed as follows.

【0003】まず送信側は、送信すべきデータを先頭か
ら終りまで定められた規則に従って変換し、複数の規則
がある場合には、複数回の変換処理を行う。規則数分の
変換処理が終了すると、送信側は変換されたデータを送
信する。
[0003] First, a transmitting side converts data to be transmitted from the beginning to the end according to a predetermined rule, and when there are a plurality of rules, performs conversion processing a plurality of times. When the conversion process for the number of rules is completed, the transmitting side transmits the converted data.

【0004】一方、受信側では、送信側から送られたデ
ータを受信すると、先頭から終りまで逆の変換を行うこ
とにより、元のデータを復元する。
[0004] On the other hand, when the receiving side receives the data sent from the transmitting side, the original data is restored by performing reverse conversion from the beginning to the end.

【0005】[0005]

【発明が解決しようとする課題】上記したように従来の
通信処理では、全ての送受信データ(通信データ)につ
いてデータ変換が行われるため、変換処理の負荷が非常
に高く、通信処理速度の高速化を図ることが困難であっ
た。
As described above, in the conventional communication processing, since data conversion is performed for all transmission / reception data (communication data), the load of the conversion processing is extremely high, and the communication processing speed is increased. It was difficult to achieve.

【0006】この発明は上記事情に鑑みてなされたもの
でその目的は、受信側において通信データの変換処理量
が削減でき、もって通信処理の高速化が図れるデータ通
信方法を提供することにある。
[0006] The present invention its purpose has been achieved in view of the above circumstances, the receiving side can reduce conversion of communication data, the data communication that speed can be of having the communication processing
It is to provide a trust method .

【0007】[0007]

【課題を解決するための手段】この発明の第1の観点に
係るデータ通信方法は、受信側に対して送信すべきデー
タからなるデータ部と当該データ部のデータを管理する
ヘッダ部とから構成される通信データを送信するための
データ通信方法であって、データ部のデータを所定の規
則に従ってデータ変換し、このデータ変換による変換後
データ部の内容と変換前のデータ部の内容とが等しい
か否かを判定し、この判定の結果に基づいて、上記変換
後のデータ部の内容を受信側で変換前の元のデータ部の
内容に戻すためのデータ変換処理が必要か否かを示す変
換情報をヘッダ部中に設定し、この変換情報が設定され
たヘッダ部と上記変換後のデータ部とから構成される
信データ受信側に送信することを特徴とする。この発
明の第2の観点に係るデータ通信方法は、所定の規則に
従ってデータ変換されたデータからなるデータ部と当該
データ部のデータを管理するヘッダ部とから構成される
通信データを受信するためのデータ通信方法であって、
所定の規則に従ってデータ変換された変換後のデータ部
と、この変換後のデータ部の内容が変換前のデータ部の
内容と等しいか否かに基づいて当該変換後のデータ部の
内容を変換前の元のデータ部の内容に戻すためのデータ
変換処理が必要か否かを示す変換情報が設定されたヘッ
ダ部とから構成される通信データを受信し、この受信し
た通信データのヘッダ部に設定されている変換情報がデ
ータ変換処理が必要であることを示しているときには、
上記受信した通信データのデータ部を対象とするデータ
変換処理を行い、当該変換情報がデータ変換処理が必要
でないことを示しているときには、上記受信した通信デ
ータのデータ部を対象とするデータ変換処理を省略する
ことを特徴とする。この発明の第3の観点に係るデータ
通信方法は、所定の規則に従ってデータ変換されたデー
タからなるデータ部と当該データ部のデータを管理する
ヘッダ部とから構成される通信データを送信側から受信
側に送信し、受信側では受信した通信データのデータ部
の内容を元のデータ部の内容に変換するデータ通信方法
であって、送信側ではデータ部のデータを所定の規則に
従ってデータ変換し、このデータ変換による変換後の
ータ部の内容と変換前のデータ部の内容とが等しいか否
かを判定し、この判定の結果に基づいて、上記変換後の
データ部の内容を受信側で変換前の元のデータ部の内容
に戻すためのデータ変換処理が必要か否かを示す変換情
報をヘッダ部中に設定し、この変換情報が設定されたヘ
ッダ部と上記変換後のデータ部とから構成される通信デ
ータ受信側に送信し、受信側では、送信側から送信を
受けた通信データのヘッダ部に設定されている変換情報
がデータ変換処理が必要であることを示しているときに
は、上記通信データのデータ部を対象とするデータ変換
処理を行い、当該変換情報がデータ変換処理が必要でな
いことを示しているときには、上記通信データのデータ
部を対象とするデータ変換処理を省略することを特徴と
する。
A data communication method according to a first aspect of the present invention provides a data communication method for transmitting data to a receiving side.
Data part consisting of data and the data of the data part
A data communication method for transmitting communication data composed of a header portion and a data portion , wherein data of the data portion is converted according to a predetermined rule, and the contents of the data portion after the data conversion and the data before the conversion are converted. part determines whether the equal contents, based on the result of this determination, before converting the contents of the data portion of the converted at the receiver side the original data portion
Conversion information indicating whether data conversion processing for returning to the content is necessary is set in the header part, and this conversion information is set.
Transmitting the communication data including the header portion and the converted data portion to the receiving side. A data communication method according to a second aspect of the invention, the data part and the comprising data that is data-converted in accordance with a predetermined rule
It consists of a header part that manages data in the data part.
A data communication method for receiving communication data ,
Data part after data conversion according to prescribed rules
When the contents of the data portion after translation of the data portion before the conversion
Based on whether or not equal to the contents of the data portion after the conversion
Header conversion information indicating whether data conversion is necessary for returning the contents to the contents of the original data unit before conversion is set
Communication data composed of the
When the conversion information set in the header part of the communication data indicates that data conversion processing is necessary,
Performs data conversion processing intended for the data portion of the communication data thus received, the communication de the translation information when indicating that no necessary data conversion processing, thus received
Data conversion processing for the data part of the data is omitted . A data communication method according to a third aspect of the present invention provides a data communication method in which data is converted according to a predetermined rule.
Data part consisting of data and the data of the data part
The communication data composed of the header part is transmitted from the transmission side to the reception side, and the reception side receives the data part of the received communication data.
A data communication method of converting the contents to the contents of the original data section, the data of the data unit in the transmission side data conversion according to a predetermined rule, de converted by the data conversion
Determines whether or not the contents of the data portion before the conversion to the contents of over data portion equal, on the basis of the determination result, after the conversion
Conversion information indicating whether data conversion is necessary for returning the contents of the data portion of the contents <br/> the original data of the pre-conversion on the receiving side is set in the header portion, the conversion information is set Done
Transmits communication data composed of a header portion and a data portion after the conversion to the receiving side, the receiving side, converts the information data conversion set in the header portion of the communication data received transmission from the transmission side When it indicates that processing is necessary, data conversion processing is performed on the data portion of the communication data. When the conversion information indicates that data conversion processing is not necessary, the data of the communication data is processed.
It is characterized in that the data conversion processing for the unit is omitted .

【0008】[0008]

【作用】上記第1の観点に係るデータ通信方法におい
て、送信側からの通信データの送信時には、その通信デ
ータのデータ部の先頭から終りまで、所定の規則に従う
データ変換が施され、このデータ変換が終了する都度、
変換前のデータ部の内容とと変換後のデータ部の内容
が等しいか否かがチェックされる。
In the data communication method according to the first aspect, when transmitting the communication data from the transmitting side, data conversion is performed according to a predetermined rule from the beginning to the end of the data portion of the communication data. Each time is terminated,
Whether the content of the pre-conversion data portion and the content of the data portion of the converted equal is checked.

【0009】ここで、変換前のデータ部の内容と変換後
データ部の内容とが等しかった場合には、変換後の
ータ部の内容を受信側で変換前の元のデータ部の内容
戻すためのデータ変換処理が必要ないことを示す変換情
報が、等しくなかった場合には、変換後のデータ部の内
を受信側で変換前の元のデータ部の内容に戻すための
データ変換処理が必要であることを示す変換情報が、い
ずれの場合にも上記ヘッダ部中に設定され、この変換情
報が設定されたヘッダ部と上記変換後のデータ部とから
構成される通信データ受信側に送信される。送信側
で、このようなデータ送信方法を適用することで、受信
側では、上記変換情報が設定されたヘッダ部と上記変換
後のデータ部とから構成される通信データを受信して、
この受信した通信データのデータ部の内容を変換前の元
のデータ部の内容に復元するに際し、当該通信データの
ヘッダ部中の変換情報がデータ変換処理が必要であるこ
とを示しているか否かをチェックし、データ変換処理が
必要でないことを示している場合には、つまり上記変換
後のデータ部の内容が変換前の元のデータ部の内容と等
しいことが示されている場合には、元のデータ部の内容
に復元する処理を行わずに済ますことが可能となる。こ
れにより受信側での受信処理に要する時間が従来に比べ
て著しく短縮し、高速通信処理が実現できる。
[0009] Here, in case the contents of the data portion of the post-conversion with the contents of the data portion of the pre-conversion was equal is, de after conversion
Conversion information indicating that there is no necessary data conversion processing for returning the contents of over data portion of the contents of the original data portion before conversion at the receiving side, if not equal, among the data of the converted
Conversion information indicating that contents are necessary data conversion processing for returning the contents of the original data portion before conversion at the receiving side is, have
Even in the case of a deviation, it is set in the header section and the conversion information
From the header part where the report is set and the data part after the above conversion
The configured communication data is transmitted to the receiving side. On the transmission side, by applying such a data transmission method, on the reception side, the header section in which the conversion information is set and the conversion
Receiving the communication data composed of the subsequent data part ,
The content of the data part of this received communication data is
When restoring to the contents of the data section of
Check whether the conversion information in the header indicates that data conversion processing is necessary. If the conversion information indicates that data conversion processing is not required, that is, if the contents of the data If it is indicated that the contents are the same as the contents of the original data part before the conversion, it is possible to omit the processing of restoring the contents of the original data part . As a result, the time required for the receiving process on the receiving side is significantly reduced as compared with the related art, and high-speed communication processing can be realized.

【0010】次に上記第2の観点に係るデータ通信方法
においては、受信側で受信される通信データは、上記第
1の観点に係るデータ通信方法で送信側から送信される
通信データであり、変換後のデータ部と、この変換後の
データ部の内容を変換前の元のデータ部の内容に戻す
めのデータ変換処理が必要か否かを示す変換情報が設定
されたヘッダ部とから構成される通信データである。
信側では、このヘッダ部中の変換情報が変換後のデータ
部の内容を変換前の元のデータ部の内容に戻すためのデ
ータ変換処理が必要であることを示すか否かを判定す
る。受信側では、この判定結果に基づき、データ変換処
理が必要であることが示されている場合に限り、受信し
た通信データのデータ部の内容を変換前の元のデータ部
の内容に戻すためのデータ変換処理が行われ、データ変
換処理が必要でないことが示されている場合には、当該
データ部の内容は元のデータ部の内容に等しいことか
ら、元のデータ部の内容に戻すためのデータ変換処理は
省略される。これにより受信側での受信処理に要する時
間が従来に比べて著しく短縮し、高速通信処理が実現で
きる。
Next, in the data communication method according to the second aspect, the communication data received on the receiving side is
Transmitted from the transmitting side by the data communication method according to the first aspect.
Communication data, the converted data part and the converted
Setting conversion information indicating whether data conversion is necessary for <br/> Me was returned to the contents of the original data portion before converting the contents of the data portion
This is communication data composed of the header part that has been set. On the receiving side, the conversion information in this header part is the converted data
It is determined whether or not it indicates that data conversion processing for returning the contents of the data portion to the original contents of the data portion before conversion is necessary. On the receiving side, based on the determination result, only if they are shown to be required data conversion process, the received
Original data part before conversion of the content of the data part of the communication data
Data conversion processing for returning the contents of the is performed, when the data conversion process is shown not to be necessary, the
Since the contents of the data part are equal to the contents of the original data part, the data conversion processing to return to the contents of the original data part is
Omitted. As a result, the time required for the receiving process on the receiving side is significantly reduced as compared with the related art, and high-speed communication processing can be realized.

【0011】次に、上記第3の観点に係るデータ通信方
法は、送信側に上記第1の観点に係るデータ通信方法を
適用し、受信側に上記第2の観点に係るデータ通信方法
を適用したものである。したがって、この上記第3の観
点に係るデータ通信方法においても、受信側での受信処
理に要する時間が従来に比べて著しく短縮し、高速通信
処理が実現できる。
Next, a data communication method according to the third aspect will be described.
The method provides the transmitting side with the data communication method according to the first aspect.
A data communication method according to the second aspect, wherein the data communication method is applied to a receiving side.
Is applied. Therefore, this third view
In the data communication method according to the
Processing time is significantly shorter than before, and high-speed communication
Processing can be realized.

【0012】[0012]

【実施例】図1はこの発明を適用するシステムの一実施
例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a system to which the present invention is applied.

【0013】図1において、1,2は相互に通信を行う
通信処理モジュールである。ここでは、通信処理モジュ
ール1,2によりプログラム間通信が行われるものとす
る。11,21は通信処理モジュール1,2における送
信処理部、12,22は同じく受信処理部である。
In FIG. 1, reference numerals 1 and 2 denote communication processing modules for performing mutual communication. Here, it is assumed that communication between programs is performed by the communication processing modules 1 and 2. Reference numerals 11 and 21 denote transmission processing units in the communication processing modules 1 and 2, and reference numerals 12 and 22 denote reception processing units.

【0014】送信処理部11,21は通信処理モジュー
ル2,1に対する通信データA,Bの送信処理を司る。
この送信処理では、送信すべきデータに対して予め定め
られた種類のデータ変換、例えば透過コード変換および
データ圧縮変換の2種のデータ変換が順に行われるもの
とする。透過コード変換は、システムによっては、デー
タ部に或る特定のコードが存在していると正しく通信が
行えない場合があるので、そのようなコードを別のコー
ドに変換するために行われるものである。またデータ圧
縮変換は、送信データ量を減らすために行われるもので
ある。
The transmission processing units 11 and 21 are responsible for transmitting communication data A and B to the communication processing modules 2 and 1, respectively.
In this transmission process, it is assumed that predetermined types of data conversion, for example, two types of data conversion, such as transparent code conversion and data compression conversion, are sequentially performed on data to be transmitted. Transparent code conversion is performed in order to convert such a code to another code, because communication may not be performed properly if a certain code exists in the data section in some systems. is there. Data compression conversion is performed to reduce the amount of transmission data.

【0015】受信処理部12,22は送信処理部21,
11から送信された通信データB,Aの受信処理を司
る。この受信処理では、基本的には、データ変換が施さ
れた受信データを変換前の元の状態に復元するために、
上記の送信側とは逆のデータ変換(透過コード変換およ
びデータ圧縮変換が施されたデータに対しては、データ
伸張変換および不透過コード変換)が行われる。但し、
送信側から後述するように変換種類別に変換不要が通知
されている場合には、変換不要通知のあったデータ変換
は省略される。
The reception processing units 12 and 22 include transmission processing units 21 and
11 is responsible for receiving the communication data B and A transmitted from the communication data 11. In this receiving process, basically, in order to restore the received data subjected to the data conversion to the original state before the conversion,
Data conversion (data decompression conversion and opaque code conversion is performed on data that has been subjected to transparent code conversion and data compression conversion) that is the reverse of the transmission side. However,
If the transmission side notifies that the conversion is unnecessary for each conversion type as described later, the data conversion for which the conversion unnecessary notification has been given is omitted.

【0016】図2は図1の通信処理モジュール1,2間
で送受信される通信データA,Bのデータ構造を示す。
図に示すように、通信データA,Bは、その送受信のた
めに必要な制御情報が設定されるヘッダ部(制御情報
部)31、およびプログラムが使用する実際のデータが
設定されるデータ部32から構成される。ヘッダ部31
中には、データ部32に対するデータ変換処理が受信側
で必要であるか否かを変換種類別に示すための変換情報
部33が設けられている。受信側(受信処理部12,2
2)でデータ伸張変換および不透過コード変換が行われ
ることを基本とする本実施例では、変換情報部33は、
データ伸張変換の要/不要を示す変換フラグF1と、不
透過コード変換の要/不要を示す変換フラグF2とから
なる。この変換フラグF1,F2は初期状態ではオフさ
れており、オフ状態で変換要を、オン状態で変換不要を
示す。なお図2では、変換情報部33以外のヘッダ部3
1内制御情報設定部については、本発明に直接関係しな
いため、省略されている。
FIG. 2 shows a data structure of communication data A and B transmitted and received between the communication processing modules 1 and 2 of FIG.
As shown in the figure, communication data A and B include a header section (control information section) 31 in which control information necessary for transmission and reception thereof is set, and a data section 32 in which actual data used by a program is set. Consists of Header section 31
A conversion information section 33 is provided therein for indicating whether or not data conversion processing on the data section 32 is necessary on the receiving side for each conversion type. Reception side (reception processing units 12, 2
In the present embodiment based on the fact that the data expansion conversion and the opaque code conversion are performed in 2), the conversion information unit 33
It comprises a conversion flag F1 indicating the necessity / unnecessity of the data expansion conversion and a conversion flag F2 indicating the necessity / unnecessity of the opaque code conversion. The conversion flags F1 and F2 are turned off in the initial state, and indicate that conversion is necessary in the off state and conversion is unnecessary in the on state. In FIG. 2, the header section 3 other than the conversion information section 33
The control information setting unit within 1 is omitted because it does not directly relate to the present invention.

【0017】ここで、図1に示す通信処理モジュール
1,2間のデータ通信(具体的にはプログラム間通信)
について、通信処理モジュール1から通信処理モジュー
ル2へ透過コード変換およびデータ圧縮変換の2種のデ
ータ変換を施した通信データを送信する場合を例に、図
3のフローチャートを参照して説明する。
Here, data communication between the communication processing modules 1 and 2 shown in FIG. 1 (specifically, communication between programs)
3 will be described with reference to the flowchart of FIG. 3 by taking as an example a case where communication data subjected to two types of data conversion, that is, transparent code conversion and data compression conversion, is transmitted from the communication processing module 1 to the communication processing module 2.

【0018】今、通信処理モジュール1において、通信
処理モジュール2へ送信すべき図2に示すデータ構造の
通信データAが発生したものとする。すると、通信処理
モジュール1の送信処理部11では、図3(a)のフロ
ーチャートで示される送信処理が開始される。
Now, it is assumed that communication data A having a data structure shown in FIG. 2 to be transmitted to the communication processing module 2 is generated in the communication processing module 1. Then, the transmission processing section 11 of the communication processing module 1 starts the transmission processing shown in the flowchart of FIG.

【0019】送信処理部11はまず、通信データAのデ
ータ部32を対象に予め定められた種類のデータ変換処
理を行う(ステップS1)。この第1回のデータ変換処
理では、データ部32中の全データ(コードデータ)を
参照し、そのうちの特定コードを別のコードに変換する
透過コード変換が行われる。もし、データ部32中に特
定コード(変換対象コード)が1つも存在しないなら
ば、データ部32の内容はデータ変換(透過コード変
換)前と変換後で変わらない。
First, the transmission processing section 11 performs a predetermined type of data conversion processing on the data section 32 of the communication data A (step S1). In this first data conversion process, transparent code conversion is performed in which all data (code data) in the data section 32 is referred to and a specific code is converted into another code. If there is no specific code (conversion target code) in the data section 32, the contents of the data section 32 do not change before and after data conversion (transparent code conversion).

【0020】送信処理部11は、ステップS1のデータ
変換処理(ここでは、透過コード変換処理)を終了する
と、変換前のデータ部32の内容と変換後のデータ部3
2の内容が等しいか否かをチェックする(ステップS
2)。もし、変換前と変換後のデータが等しいならば、
送信処理部11はその通信データA(のデータ部32)
に対する受信側での不透過コード変換は不要と判断し、
その通信データAのヘッダ部31に設けられた変換情報
部33中の変換フラグF2をオン状態(不透過コード変
換不要通知状態)に設定する(ステップS3)。
When the transmission processing unit 11 completes the data conversion processing (in this case, the transparent code conversion processing) in step S1, the transmission processing unit 11 changes the contents of the data part 32 before conversion and the data part 3 after conversion.
It is checked whether the contents of step 2 are equal (step S
2). If the data before and after conversion are equal,
The transmission processing section 11 (the data section 32 of the communication data A)
It is determined that opaque code conversion on the receiving side is not necessary for
The conversion flag F2 in the conversion information section 33 provided in the header section 31 of the communication data A is set to the ON state (non-transparent code conversion unnecessary notification state) (step S3).

【0021】送信処理部11は、ステップS3を実行す
ると、あるいはステップS2で変換前と変換後のデータ
が等しくないことを判別すると、予め定められた種類の
データ変換を全て終了したか否かをチェックする(ステ
ップS4)。ここでは、データ圧縮変換が残っているた
め、送信処理部11はステップS1に戻り、通信データ
Aのデータ部32の全データを対象としてデータ圧縮変
換を行う。
After executing step S3, or when determining in step S2 that the data before conversion and the data after conversion are not equal, the transmission processing unit 11 determines whether or not all the predetermined types of data conversion have been completed. Check (step S4). Here, since data compression conversion remains, the transmission processing unit 11 returns to step S1 and performs data compression conversion on all data in the data section 32 of the communication data A.

【0022】送信処理部11は、ステップS1のデータ
変換処理でデータ圧縮変換を行うと、変換前のデータ部
32の内容と変換後のデータ部32の内容が等しいか否
かをチェックする(ステップS2)。もし、変換前と変
換後のデータが等しいならば、送信処理部11はその通
信データA(のデータ部32)に対する受信側でのデー
タ伸張変換は不要と判断し、その通信データAのヘッダ
部31に設けられた変換情報部33中の変換フラグF1
をオン状態(データ伸張変換不要通知状態)に設定する
(ステップS3)。
After performing the data compression conversion in the data conversion process of step S1, the transmission processing unit 11 checks whether or not the contents of the data unit 32 before conversion and the contents of the data unit 32 after conversion are equal (step S1). S2). If the data before conversion and the data after conversion are equal, the transmission processing unit 11 determines that the data decompression conversion on (the data part 32 of) the communication data A is unnecessary on the receiving side, and the header part of the communication data A The conversion flag F1 in the conversion information section 33 provided in
Is set to the ON state (data expansion conversion unnecessary notification state) (step S3).

【0023】送信処理部11は、ステップS3を実行す
ると、あるいはステップS2で変換前と変換後のデータ
が等しくないことを判別すると、前記したステップS4
のチェック処理を行う。ここでは、予め定められた種類
のデータ変換(透過コード変換およびデータ圧縮変換)
が全て終了しているため、送信処理部11は次のステッ
プS5に進み、透過コード変換およびデータ圧縮変換が
行われた(データ部32を持つ)通信データAを通信処
理モジュール2に送信する(ステップS5)。
When the transmission processing unit 11 executes step S3 or determines in step S2 that the data before conversion and the data after conversion are not equal, the transmission processing unit 11 executes step S4.
Check processing. Here, predetermined types of data conversion (transparent code conversion and data compression conversion)
Has been completed, the transmission processing unit 11 proceeds to the next step S5, and transmits the communication data A (having the data unit 32) on which the transparent code conversion and the data compression conversion have been performed to the communication processing module 2 ( Step S5).

【0024】通信処理モジュール1の送信処理部11か
ら通信処理モジュール2に通信データAが送信される
と、この通信処理モジュール2の受信処理部22では、
図3(b)のフローチャートで示される受信処理が開始
される。
When the communication data A is transmitted from the transmission processing unit 11 of the communication processing module 1 to the communication processing module 2, the reception processing unit 22 of the communication processing module 2
The receiving process shown in the flowchart of FIG.

【0025】受信処理部22はまず、通信処理モジュー
ル1の送信処理部11から送信された通信データAを受
信する(ステップS11)。次に受信処理部22は、受
信した通信データAのヘッダ部31に設けられた変換情
報部33中の先頭の変換フラグF1を参照し、同フラグ
F1がオン(データ変換不要通知状態)であるか、ある
いはオフ(データ変換要通知状態)であるかを判別する
(ステップS12)。
First, the reception processing unit 22 receives the communication data A transmitted from the transmission processing unit 11 of the communication processing module 1 (step S11). Next, the reception processing unit 22 refers to the first conversion flag F1 in the conversion information unit 33 provided in the header unit 31 of the received communication data A, and the flag F1 is on (data conversion unnecessary notification state). It is determined whether or not (data conversion required notification state) (step S12).

【0026】もし、変換フラグF1がオフ状態にあれ
ば、受信処理部22は、同フラグF1に固有のデータ変
換(ここではデータ伸張変換)が必要であるものと判断
し、受信した通信データAのデータ部32を対象とする
データ変換処理(ここではデータ伸張変換)を行う(ス
テップS13)。これに対し、変換フラグF1がオン状
態にあれば、受信処理部22は、同フラグF1に固有の
データ変換(データ伸張変換)が不要であるものと判断
し、上記ステップS13をスキップする。
If the conversion flag F1 is in the OFF state, the reception processing unit 22 determines that data conversion (here, data expansion conversion) specific to the flag F1 is necessary, and the received communication data A A data conversion process (here, data expansion conversion) for the data section 32 is performed (step S13). On the other hand, if the conversion flag F1 is on, the reception processing unit 22 determines that data conversion (data expansion conversion) unique to the flag F1 is unnecessary, and skips step S13.

【0027】受信処理部22は、上記ステップS13を
実行あるいはスキップすると、受信した通信データAの
ヘッダ部31に設けられた変換情報部33中の全ての変
換フラグについてのチェックが終了したか否かを調べる
(ステップS14)。ここでは、変換フラグF2につい
てのチェックが残っているため、受信処理部22はステ
ップS12に戻る。受信処理部22は、このステップS
12で、変換情報部33中の変換フラグF2を参照し、
同フラグF2がオンであるか、あるいはオフであるかを
判別する。
Upon executing or skipping the step S13, the reception processing unit 22 determines whether or not all the conversion flags in the conversion information unit 33 provided in the header unit 31 of the received communication data A have been checked. Is checked (step S14). Here, since the check on the conversion flag F2 remains, the reception processing unit 22 returns to Step S12. The reception processing unit 22 determines in step S
At 12, the conversion flag F2 in the conversion information section 33 is referred to,
It is determined whether the flag F2 is on or off.

【0028】もし、変換フラグF2がオフ状態にあれ
ば、受信処理部22は、同フラグF2に固有のデータ変
換(ここでは不透過コード変換)が必要であるものと判
断し、受信した通信データAのデータ部32(データ伸
張変換が行われた場合であれば、データ伸張変換後のデ
ータ部32)を対象とするデータ変換処理(ここでは不
透過コード変換)を行う(ステップS13)。これに対
し、変換フラグF2がオン状態にあれば、受信処理部2
2は、同フラグF2に固有のデータ変換(不透過コード
変換)が不要であるものと判断し、上記ステップS13
をスキップする。
If the conversion flag F2 is in the OFF state, the reception processing unit 22 determines that data conversion unique to the flag F2 (here, opaque code conversion) is necessary, and the received communication data A data conversion process (here, opaque code conversion) is performed on the data portion 32 of A (if data decompression conversion is performed, the data portion 32 after data decompression conversion) (step S13). On the other hand, if the conversion flag F2 is in the ON state, the reception processing unit 2
2 judges that the data conversion (opaque code conversion) unique to the flag F2 is unnecessary, and the above-described step S13
To skip.

【0029】受信処理部22は、上記ステップS13を
実行あるいはスキップすると、再びステップS14を実
行し、全ての変換フラグについてのチェックが終了した
か否かを調べる。ここでは、データ部32に設定されて
いる変換フラグF1,F2についてのチェックが全て終
了しているため、受信処理部22は一連の受信処理を終
了する。
After executing or skipping step S13, the reception processing unit 22 executes step S14 again, and checks whether or not all the conversion flags have been checked. Here, since all the checks on the conversion flags F1 and F2 set in the data section 32 have been completed, the reception processing section 22 ends a series of reception processing.

【0030】なお、前記実施例では、プログラム間通信
に実施した場合について説明したが、これに限るもので
はなく、本発明は、データ変換が施されたデータの送受
信を伴うものであれば、例えばプロセス間通信、更には
ファイル転送などにも適用できる。
In the above-described embodiment, the description has been given of the case where the present invention is applied to inter-program communication. However, the present invention is not limited to this case. It can be applied to inter-process communication, and further to file transfer.

【0031】[0031]

【発明の効果】以上詳述したようにこの発明によれば、
送信側では、送信すべきデータを所定の規則に従ってデ
ータ変換し、このデータ変換による変換後のデータと変
換前のデータとが等しいか否かを判定し、この判定の結
果に基づいて、変換後のデータを受信側で変換前の元の
データに戻すためのデータ変換処理が必要か否かを示す
変換情報を当該変換後のデータに付加して通信データと
して受信側に送信するようにした。また、この発明によ
れば、受信側では、送信側によりデータ変換された変換
後のデータと、この変換後のデータを変換前の元のデー
タに戻すためのデータ変換処理が必要か否かを示す変換
情報とからなる通信データを受信した際に、当該変換情
報がデータ変換処理が必要であることを示しているとき
だけ、受信した変換後データを元のデータに復元するデ
ータ変換処理を行い、データ変換処理が必要でないこと
を示しているときには当該データ変換処理をスキップす
るようにした。 よって、この発明によれば、データの送
信側でデータを変換した際に、変換前のデータと変換後
のデータとが等しい場合には、受信側では当該変換後の
データの受信処理で、当該変換後データを変換前の元の
データに戻すためのデータ変換処理をスキップでき、こ
れにより受信処理に要する時間が従来に比べて著しく短
縮し、高速通信処理が実現できる。
As described in detail above, according to the present invention,
On the transmitting side, data to be transmitted is decoded according to a predetermined rule.
Data conversion and conversion with the data converted by this data conversion.
It is determined whether or not the data before replacement is equal, and the result of this determination is
Based on the result, the converted data is
Indicates whether data conversion processing is required to restore the data
The conversion information is added to the converted data and the
And send it to the receiving side. Also, according to the present invention,
Then, on the receiving side, the conversion
Data after conversion and original data before conversion.
Conversion indicating whether data conversion processing is required to return data
When communication data consisting of information is received, the conversion information
When the information indicates that data conversion processing is required
Only to restore the received converted data to the original data.
Data conversion processing is performed, and data conversion processing is not required
Indicates that the data conversion process is skipped.
It was to so. Therefore, according to the present invention, data transmission
When data is converted on the receiving side, the data before conversion and the data after conversion
If the data is equal, the receiving side
In the data receiving process, the converted data
The data conversion process for returning to data can be skipped.
As a result , the time required for the reception processing is significantly reduced as compared with the conventional case, and high-speed communication processing can be realized.

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

【図1】この発明を適用するシステムの一実施例を示す
ブロック図。
FIG. 1 is a block diagram showing an embodiment of a system to which the present invention is applied.

【図2】同実施例で適用される通信データのデータ構造
を示す図。
FIG. 2 is an exemplary view showing a data structure of communication data applied in the embodiment.

【図3】同実施例における送受信処理手順を示すフロー
チャート。
FIG. 3 is an exemplary flowchart showing a transmission / reception processing procedure in the embodiment.

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

1,2…通信処理モジュール、11,21…送信処理
部、12,22…受信処理部、31…ヘッダ部、32…
データ部、33…変換情報部、F1,F2…変換フラ
グ、A,B…通信データ。
1, 2, ... communication processing module, 11, 21, ... transmission processing unit, 12, 22, ... reception processing unit, 31 ... header unit, 32 ...
Data part, 33 ... Conversion information part, F1, F2 ... Conversion flags, A, B ... Communication data.

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 受信側に対して送信すべきデータからな
るデータ部と当該データ部のデータを管理するヘッダ部
とから構成される通信データを送信するためのデータ通
信方法であって、前記データ部の データを所定の規則に従ってデータ変換
し、 このデータ変換による変換後の前記データ部の内容と変
換前の前記データ部の内容とが等しいか否かを判定し、 この判定の結果に基づいて、前記変換後のデータ部の内
を前記受信側で変換前の元のデータ部の内容に戻すた
めのデータ変換処理が必要か否かを示す変換情報を前記
ヘッダ部中に設定し、前記変換情報が設定された前記ヘ
ッダ部と前記変換後のデータ部とから構成される通信デ
ータ前記受信側に送信することを特徴とするデータ通
信方法。
1. A method for transmitting data to a receiving side.
Data part and header part that manages the data of the data part
A data communication method for transmitting communication data composed of a, the data of the data unit to the data conversion according to a predetermined rule, before the conversion and the contents of the data portion after the conversion by the data conversion the It is determined whether or not the contents of the data part are equal, and based on the result of this determination ,
The conversion information indicating whether data conversion is necessary for returning containers to the content of the original data of the pre-conversion at the receiving side
Set in the header part, and
Data communication method and transmits the communication data composed of the recipient from the header portion and the data portion of the converted.
【請求項2】 所定の規則に従ってデータ変換されたデ
ータからなるデータ部と当該データ部のデータを管理す
るヘッダ部とから構成される通信データを受信するため
のデータ通信方法であって、 前記所定の規則に従ってデータ変換された変換後の前記
データ部と、この変換後のデータ部の内容が変換前の
ータ部の内容と等しいか否かに基づいて前記変換後の
ータ部の内容を変換前の元のデータ部の内容に戻すため
のデータ変換処理が必要か否かを示す変換情報が設定さ
れたヘッダ部とから構成される通信データを受信し、この受信した通信データの前記ヘッダ部に設定されてい
前記変換情報に基づいて、前記変換情報が前記データ
変換処理が必要であることを示しているときには、前記
受信した通信データの前記データ部を対象とする前記デ
ータ変換処理を行い、前記変換情報が前記データ変換処
理が必要でないことを示しているときには、前記受信し
た通信データの前記データ部を対象とする前記データ変
換処理を省略することを特徴とするデータ通信方法。
2. A data part comprising data converted according to a predetermined rule and data in the data part are managed.
That a data communication method for receiving communication data composed of a header portion, wherein after the conversion, which is the data converted in accordance with said predetermined rule
And a data portion, before the contents of the data portion after this conversion conversion de
De after the conversion based on whether equal to the contents of over data portion
Conversion information is set is indicating whether or not data conversion is necessary for returning the contents of over data portion of the contents of the original data unit prior to conversion
And receiving the communication data composed of the received header, and setting the header of the received communication data in the header.
On the basis of the conversion information that the when the conversion information indicates the need for the data conversion process, the
Performing the data conversion process on the data portion of the received communication data, and when the conversion information indicates that the data conversion process is not necessary, the
A data communication method characterized by omitting the data conversion processing for the data part of the communication data .
【請求項3】 所定の規則に従ってデータ変換されたデ
ータからなるデータ部と当該データ部のデータを管理す
るヘッダ部とから構成される通信データを送 信側から
信側に送信し、受信側では受信した通信データのデータ
部の内容を元のデータ部の内容に変換するデータ通信方
法であって、 前記送信側ではデータ部のデータを所定の規則に従って
データ変換し、 このデータ変換による変換後の前記データ部の内容と変
換前の前記データ部の内容とが等しいか否かを判定し、 この判定の結果に基づいて、前記変換後のデータ部の内
を前記受信側で変換前の元のデータ部の内容に戻すた
めのデータ変換処理が必要か否かを示す変換情報を前記
ヘッダ部中に設定し、前記変換情報が設定された前記ヘ
ッダ部と前記変換後のデータ部とから構成される通信デ
ータ前記受信側に送信し、 前記受信側では、前記送信側から送信を受けた通信デー
タの前記ヘッダ部に設定されている前記変換情報に基づ
き、前記変換情報が前記データ変換処理が必要であるこ
とを示しているときには、前記通信データの前記データ
部を対象とする前記データ変換処理を行い、前記変換情
報が前記データ変換処理が必要でないことを示している
ときには、前記通信データの前記データ部を対象とする
前記データ変換処理を省略することを特徴とするデータ
通信方法。
3. A data converted according to a predetermined rule.
Data section consisting of data and the data in the data section.
That was transmitted from the signal-side sending the communication data composed of a header portion receiving <br/> signal side, data of the received communication data at the receiving end
A data communication method for converting the contents of the part to the contents of the original data section, the data of the data unit in the transmission side data conversion according to a predetermined rule, and contents of the data portion after the conversion by the data conversion It is determined whether or not the contents of the data part before the conversion are equal, and based on the result of this determination, of the data parts after the conversion ,
The conversion information indicating whether data conversion is necessary for returning containers to the content of the original data of the pre-conversion at the receiving side
Set in the header part, and
Transmits communication data composed of a header portion and the converted data unit to the receiving side, the receiving side, the set in the header portion of the communication data received transmission from the transmitting side Based on the conversion information, when the conversion information indicates that the data conversion process is necessary, the data of the communication data
Performing the data conversion process on the data portion, and when the conversion information indicates that the data conversion process is not necessary, the data conversion process on the data portion of the communication data is performed. A data communication method, which is omitted .
JP04680592A 1992-03-04 1992-03-04 Data communication method Expired - Fee Related JP3241080B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04680592A JP3241080B2 (en) 1992-03-04 1992-03-04 Data communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04680592A JP3241080B2 (en) 1992-03-04 1992-03-04 Data communication method

Publications (2)

Publication Number Publication Date
JPH05252225A JPH05252225A (en) 1993-09-28
JP3241080B2 true JP3241080B2 (en) 2001-12-25

Family

ID=12757551

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04680592A Expired - Fee Related JP3241080B2 (en) 1992-03-04 1992-03-04 Data communication method

Country Status (1)

Country Link
JP (1) JP3241080B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5155901B2 (en) * 2009-02-06 2013-03-06 日本放送協会 Transmitting apparatus, receiving apparatus and transmission system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3793529A (en) * 1972-12-21 1974-02-19 J Bucher Remote starting system for combustion engines
JPS63284054A (en) * 1987-05-14 1988-11-21 Aisin Seiki Co Ltd Engine controller for vehicle
JPH0740007B2 (en) * 1987-10-02 1995-05-01 矢崎総業株式会社 Vehicle engine controller
JPH0710005Y2 (en) * 1989-07-04 1995-03-08 本田技研工業株式会社 Automatic engine stop device
JPH0359450U (en) * 1989-10-13 1991-06-12

Also Published As

Publication number Publication date
JPH05252225A (en) 1993-09-28

Similar Documents

Publication Publication Date Title
JPH05284367A (en) Image encoding device
US20060136602A1 (en) Electronic data interchange apparatus
JP2001513617A (en) Network control system
JP3241080B2 (en) Data communication method
US5398240A (en) Multiplex transmission apparatus and multiplex transmission method
JPH1185548A (en) Information sending method, device therefor and computer program products
JPS615361A (en) Communication interface circuit
JPS58170280A (en) Decoding system of mh code
JPH11266288A (en) Communication method between remote terminal and central office
JPH0444156A (en) Transfer data generating device
KR940002722A (en) Data transfer and synchronization method between CPUs in a system consisting of two CPUs
JPH0378024A (en) Data transfer parallel processor
JP2923992B2 (en) Access Channel Control Method for Demand Assignment Communication System
SU661543A1 (en) Device for interfacing central computer with peripheral digital computers
JPH036147A (en) Responding method for dual transmission device
JP3267348B2 (en) Simultaneous download method for data communication system
JP2544719B2 (en) Communication processor control method
JPH034622A (en) Modified huffman coding and decoding control system
JPH052495A (en) System for communicating among application programs
JPH02119463A (en) Data transfer controller
JPS6084038A (en) Code error control system
JPS63286035A (en) Information processing system
JPH01144779A (en) Circuit for substituting line before encoding error for modified huffman code
JPH05244199A (en) Data storage control system
JPS607864B2 (en) data transmission equipment

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081019

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081019

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091019

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091019

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111019

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees