JP2002229886A - Data sending and receiving method - Google Patents

Data sending and receiving method

Info

Publication number
JP2002229886A
JP2002229886A JP2001025849A JP2001025849A JP2002229886A JP 2002229886 A JP2002229886 A JP 2002229886A JP 2001025849 A JP2001025849 A JP 2001025849A JP 2001025849 A JP2001025849 A JP 2001025849A JP 2002229886 A JP2002229886 A JP 2002229886A
Authority
JP
Japan
Prior art keywords
data
compression
transmission
load
message
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
JP2001025849A
Other languages
Japanese (ja)
Inventor
Yoshihito Mori
佳人 森
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2001025849A priority Critical patent/JP2002229886A/en
Publication of JP2002229886A publication Critical patent/JP2002229886A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve sending and receiving efficiency of data by selecting a compression algorithm in accordance with each load of a sending source computer, a sending target computer, and a network. SOLUTION: A compression control part 20-N of the computer 1-N to be a sending source of the data retrieves a compression format of data to the sending target computer 1-N from a compression information data base 50-N and compresses the data. A communication control part 10-N sends the data to the network 2, and a communication control part 10-N of the sending target computer receives the data. After depression of the data, a depression control 20-N sends a response message to the sending source computer. In the sending source computer, the communication control part receives the response message and a load determination control 40-N determines loaded conditions of the sending source and target computers and the network from compression/ depression time and sending and receiving time of the data. It automatically lowers a compression ratio if a load of one of the sending source or target computer is high, and it raises the compression ratio if a load of the network is high.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データ送受信方法
に係り、特に、計算機システム相互間でのデータ転送
を、データを圧縮して行うことによりネットワーク負荷
を低減することを可能としたデータ送受信方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission / reception method, and more particularly to a data transmission / reception method capable of reducing network load by compressing data for data transfer between computer systems. About.

【0002】[0002]

【従来の技術】データを圧縮して転送することによりネ
ットワーク負荷を低減することを可能にした従来技術と
して、例えば、特開2000−83029号公報等に記
載された技術が知られている。この従来技術は、同一の
データに対して予め圧縮率の異なるデータを用意してお
き、ネットワーク負荷に応じてデータを選択して転送す
るというものである。
2. Description of the Related Art As a conventional technique capable of reducing a network load by compressing and transferring data, for example, a technique described in Japanese Patent Application Laid-Open No. 2000-83029 is known. In this prior art, data having different compression ratios is prepared in advance for the same data, and the data is selected and transferred according to the network load.

【0003】[0003]

【発明が解決しようとする課題】しかし、前述した従来
技術による方法は、ネットワーク負荷だけを監視して転
送すべきデータの圧縮率を制御しており、送信相手先で
の解凍処理の負荷について考慮されていないため、送信
相手先の解凍処理の負荷がネットワーク負荷よりも高い
場合に、送信元でのデータ圧縮時間、ネットワーク上で
のデータ伝送時間、送信先でのデータ解凍時間の合計の
時間が大きくなり、通信効率が低下する可能性があると
いう問題点を有している。また、前述した従来技術は、
予めデータを圧縮しておく必要があるため、データを作
成してすぐに送信するような場合に、無駄な圧縮作業を
発生させてしまうという問題点を有している。
However, in the above-mentioned conventional method, the compression rate of data to be transferred is controlled by monitoring only the network load, and the load of the decompression processing at the transmission destination is considered. If the load of decompression processing at the destination is higher than the network load, the total time of data compression time at the source, data transmission time on the network, and data decompression time at the destination is not However, there is a problem that communication efficiency may be reduced. Also, the prior art described above is
Since it is necessary to compress data in advance, there is a problem that useless compression work is generated when data is created and transmitted immediately.

【0004】本発明の目的は、前述した従来技術の問題
点を解決し、ネットワーク、送信元及び送信先の計算機
の負荷に応じてデータの圧縮形式(圧縮率)を変更する
ことにより、データの送受信処理を効率よく行うことを
可能にしたデータ送受信方法を提供することにある。
An object of the present invention is to solve the above-mentioned problems of the prior art, and to change the data compression format (compression ratio) according to the load of a network, a source computer and a destination computer, thereby obtaining data. An object of the present invention is to provide a data transmission / reception method that enables efficient transmission / reception processing.

【0005】[0005]

【課題を解決するための手段】本発明によれば前記目的
は、データを圧縮して送信し、相手側装置で受信データ
を解凍するデータ送受信方法において、送信側装置が、
自装置でのデータ圧縮の負荷を判定すると共に、相手側
装置からの応答データ及びその着信時間に基づいて、相
手側装置でのデータ解凍の負荷と、送受信のためのネッ
トワーク負荷とを判定し、判定した負荷に基づいて圧縮
・解凍方法を変更するようにすることにより達成され
る。
According to the present invention, an object of the present invention is to provide a data transmission / reception method for compressing and transmitting data and decompressing received data at a partner device, wherein the transmitting device comprises:
While determining the data compression load in the own device, based on the response data from the other device and the arrival time thereof, determine the data decompression load in the other device and the network load for transmission and reception, This is achieved by changing the compression / decompression method based on the determined load.

【0006】本発明は、前述の手段を備えることによ
り、負荷の高い処理の負担を減らし、データの送受信を
効率的に行うことが可能となる。
According to the present invention, by providing the above-described means, it is possible to reduce the load of a high-load process and efficiently transmit and receive data.

【0007】[0007]

【発明の実施の形態】以下、本発明によるデータの送受
信方法の一実施形態を図面により詳細に説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of a data transmission / reception method according to the present invention.

【0008】図1は本発明の一実施形態による方法を実
施する計算機を含むネットワークシステムの構成を示す
ブロック図、図2は圧縮情報データベース(DB)の内
容を説明する図、図3は分割されて送信されるメッセー
ジのデータ形式を説明する図、図4は分割されて送信さ
れたメッセージに対する応答メッセージのデータ形式を
説明する図、図5は圧縮情報DBの内容の具体例を説明
する図、図6は分割されて送信されるメッセージのデー
タ形式の具体例を説明する図、図7は分割されて送信さ
れたメッセージに対する応答メッセージのデータ形式の
具体例を説明する図である。図1〜図7において、1−
1〜1−Nは計算機、2はネットワークを、10−1〜
10−Nは通信説明部、20−1〜20−Nは圧縮制御
部、30−1〜30−Nは解凍制御部、40−1〜40
−Nは負荷判定制御部、50−1〜50−Nは圧縮情報
DB、70、70−1〜70−3は送信メッセージ、8
0、80−1、80−2は応答メッセージである。
FIG. 1 is a block diagram showing a configuration of a network system including a computer for executing a method according to an embodiment of the present invention, FIG. 2 is a diagram for explaining the contents of a compression information database (DB), and FIG. FIG. 4 is a diagram for explaining the data format of a message transmitted in a divided manner, FIG. 4 is a diagram for explaining the data format of a response message to a message transmitted in a divided manner, FIG. 5 is a diagram for explaining a specific example of the contents of a compression information DB, FIG. 6 is a diagram illustrating a specific example of the data format of a message that is divided and transmitted, and FIG. 7 is a diagram illustrating a specific example of the data format of a response message to a message that is divided and transmitted. 1 to 7, 1-
1-N is a computer, 2 is a network, 10-1 to
10-N is a communication explanation unit, 20-1 to 20-N are compression control units, 30-1 to 30-N are decompression control units, 40-1 to 40
-N is a load determination control unit, 50-1 to 50-N are compression information DBs, 70, 70-1 to 70-3 are transmission messages, 8
0, 80-1, and 80-2 are response messages.

【0009】本発明の一実施形態による方法を実施する
計算機を含むネットワークシステムは、図1に示すよう
に、複数の計算機1−1〜1−Nがネットワーク2に接
続され、相互にデータメッセージを送受信することが可
能に構成されている。そして、複数の計算機1−1〜1
−Nのそれぞれは、データの送信及び受信を行う機能を
持つ通信制御部10−1〜10−Nと、データの分割及
び圧縮を行う機能を持つ圧縮制御部20−1〜20−N
と、データの解凍及び結合を行う機能を持つ解凍制御部
30−1〜30−Nと、計算機及びネットワークの負荷
の判定を行う機能を持つ負荷判定制御部40−1〜40
−Nと、負荷判定制御部40−1〜40−Nが圧縮形式
の判定に用いる圧縮情報DB50−1〜50−Nとを備
えて構成されている。
As shown in FIG. 1, in a network system including a computer for performing a method according to an embodiment of the present invention, a plurality of computers 1-1 to 1-N are connected to a network 2 and mutually transmit data messages. It is configured to be able to transmit and receive. Then, a plurality of computers 1-1 to 1-1
-N are communication control units 10-1 to 10-N having a function of transmitting and receiving data and compression control units 20-1 to 20-N having a function of dividing and compressing data.
Decompression control units 30-1 to 30-N having a function of decompressing and combining data, and load determination control units 40-1 to 40 having a function of determining load on a computer and a network
-N, and compression information DBs 50-1 to 50-N used by the load determination control units 40-1 to 40-N to determine the compression format.

【0010】負荷判定制御40−1〜40−Nが圧縮形
式の判定に用いる圧縮情報DB50−1〜50−Nは、
図2に示すように、送信先61、規定圧縮形式62、最
終圧縮形式63からなる圧縮情報60−1〜60−Xを
登録するテーブルにより構成される。圧縮情報60−1
〜60−Xは、データの送受信を行う計算機毎に設定さ
れ、圧縮データベース50−1〜50−Nに登録され
る。
The compression information DBs 50-1 to 50-N used by the load determination controls 40-1 to 40-N to determine the compression format include:
As shown in FIG. 2, it is configured by a table for registering compression information 60-1 to 60-X including a transmission destination 61, a specified compression format 62, and a final compression format 63. Compression information 60-1
60-X are set for each computer that transmits and receives data, and are registered in the compression databases 50-1 to 50-N.

【0011】送信先61と規定圧縮形式62とは、使用
者が予め登録しておき、最終圧縮形式63は、データの
送信完了時に負荷判定制御40−1〜40−Nによって
設定される。最終圧縮形式63は、次回のデータ送信開
始時に送信先をキーにして圧縮形式を決定するために使
用される。
The transmission destination 61 and the specified compression format 62 are registered by the user in advance, and the final compression format 63 is set by the load determination controls 40-1 to 40-N when data transmission is completed. The final compression format 63 is used at the start of the next data transmission to determine the compression format using the transmission destination as a key.

【0012】最初のデータ送信時等の最終圧縮形式63
が設定されていない場合、規定圧縮形式62が圧縮形式
として採用される。圧縮情報データベース50−1〜5
0−Nに送信先の圧縮情報60−1〜60−Xが登録さ
れていない場合、登録されている規定圧縮情報62とし
て、規定圧縮形式1〜X各圧縮率の平均値を圧縮率とし
て持つ圧縮形式として登録する。
[0012] Final compression format 63 at the time of first data transmission, etc.
Is not set, the specified compression format 62 is adopted as the compression format. Compression information database 50-1 to 5
When the compression information 60-1 to 60-X of the transmission destination is not registered in 0-N, the registered standard compression information 62 has an average value of each of the standard compression formats 1 to X as the compression ratio. Register as a compression format.

【0013】送信メッセージ70は、計算機1−1〜1
−Nから別の計算機1−1〜1−Nに送信されるデータ
であり、図3に示すように、圧縮形式71、送信メッセ
ージを分割して送信するときの分割番号72、応答を要
するか否かの情報である応答要求73、データ長74、
送信データ75により構成される。
The transmission message 70 is transmitted from the computers 1-1 to 1-1.
-N is data transmitted from the computer 1-1 to another computer 1-1 to 1-N. As shown in FIG. 3, a compression format 71, a division number 72 when a transmission message is divided and transmitted, and whether a response is required. Response request 73, data length 74,
It is composed of transmission data 75.

【0014】圧縮制御部20−1〜20−Nは、送信デ
ータが大きい場合、データの分割を行い、圧縮形式71
で圧縮した分割送信データ75を生成し、分割したデー
タ毎に一意な分割番号72、送信先からの応答メッセー
ジを要求するか否かを示す応答要求73、分割送信デー
タ75の大きさを示す送信データ長74を纏めて送信メ
ッセージ70として生成する。
When the transmission data is large, the compression control units 20-1 to 20-N divide the data, and
The divided transmission data 75 compressed by the above is generated, a unique division number 72 is provided for each divided data, a response request 73 indicating whether or not a response message is requested from the transmission destination, and a transmission indicating the size of the divided transmission data 75 The data length 74 is collectively generated as a transmission message 70.

【0015】応答メッセージ80は、送信メッセージ7
0を受信した計算機1−1〜1−Nが送信メッセージ7
0を送信した計算機1−1〜1−Nに対して応答するメ
ッセージであり、図4に示すように、受信したメッセー
ジの分割番号72に相当する分割番号81、受信した分
割データの解凍時間82、応答データ85の圧縮時間8
3、応答データ85のデータ長84、受信したメッセー
ジで要求された具体的な内容を持つ応答データ85によ
り構成される。
The response message 80 is the transmission message 7
0 which has received the transmission message 7
0, which is a message responding to the computers 1-1 to 1-N that have transmitted 0, as shown in FIG. 4, a division number 81 corresponding to the division number 72 of the received message, and a decompression time 82 of the received divided data. , Compression time 8 of response data 85
3. The data length 84 of the response data 85 and the response data 85 having the specific contents requested by the received message.

【0016】図5に、前述で図2を参照して説明したデ
ータの圧縮・解凍に用いる圧縮情報DBの具体例を示し
ている。図示例は、送信先HS、規定圧縮形式DD、最
終圧縮形式FDのそれぞれに具体的な情報を格納してい
る圧縮情報60−1〜60−2が登録されたそ圧縮情報
DBの例である。そして、圧縮情報60−1には、送信
先「HS1」、規定圧縮形式「3」及び最終圧縮形式
「2」が設定されている。また、圧縮情報60−2に
は、送信先「HS2」、規定圧縮形式「1」が設定され
ている。なお、図5に示す例の圧縮形式は、説明の便宜
上、圧縮率を示しているものとする。
FIG. 5 shows a specific example of the compression information DB used for data compression / decompression described above with reference to FIG. The illustrated example is an example of a compression information DB in which compression information 60-1 to 60-2 storing specific information in the transmission destination HS, the specified compression format DD, and the final compression format FD are registered. . In the compression information 60-1, the transmission destination “HS1”, the specified compression format “3”, and the final compression format “2” are set. The transmission destination “HS2” and the specified compression format “1” are set in the compression information 60-2. Note that the compression format of the example shown in FIG. 5 indicates a compression ratio for convenience of explanation.

【0017】すなわち、図示圧縮情報DBは、このDB
を持つ計算機が計算機「HS1」に対してデータの送信
を行う場合、最終圧縮形式「2」で最初の分割データを
圧縮して送信することを示している。また、計算機「H
S2」に対してデータの送信を行う場合、最終圧縮形式
が設定されていないため、規定圧縮形式「1」で圧縮す
ることとなる。
That is, the illustrated compression information DB is
Indicates that when transmitting a data to the computer "HS1", the first divided data is compressed and transmitted in the final compression format "2". In addition, the calculator "H
When transmitting data to "S2", since the final compression format is not set, compression is performed in the specified compression format "1".

【0018】圧縮情報データベース50−Nに登録され
ていない送信先「HS3」に対してデータの送信を行う
場合、圧縮情報データベース50−Nに新しい圧縮情報
60−3として、送信先HSに「HS3」、規定圧縮形
式DDに平均値である「2」が設定された新規な圧縮情
報が登録される。
When data is transmitted to the destination "HS3" which is not registered in the compression information database 50-N, new compression information 60-3 is stored in the compression information database 50-N as "HS3" in the transmission destination HS. , And new compression information in which the average value “2” is set in the specified compression format DD.

【0019】図6に、前述で図3を参照して説明した送
信メッセージの一例を示している。この図において、送
信メッセージ70−1〜70−3は、1つの送信データ
を分割・圧縮して生成されたものである。
FIG. 6 shows an example of the transmission message described above with reference to FIG. In this figure, transmission messages 70-1 to 70-3 are generated by dividing and compressing one transmission data.

【0020】そして、送信メッセージ70−1は、圧縮
形式「1」、分割番号「3」、応答要求「あり」、デー
タ長「10」及び分割送信データ「SD1」が設定され
て構成されている。また、送信メッセージ70−2は、
圧縮形式「1」、分割番号「2」、応答要求「なし」、
データ長「8」及び分割送信データ「SD2」が設定さ
れて構成されている。さらに、送信メッセージ70−3
は、圧縮形式「2」、分割番号「1」、応答要求「あ
り」、データ長「5」及び分割送信データ「SD3」が
設定されて構成されている。
The transmission message 70-1 is configured by setting a compression format "1", a division number "3", a response request "Yes", a data length "10", and division transmission data "SD1". . The transmission message 70-2 is
Compression format "1", division number "2", response request "none",
The data length “8” and the divided transmission data “SD2” are set and configured. Further, the transmission message 70-3
Is composed of a compression format “2”, a division number “1”, a response request “present”, a data length “5”, and division transmission data “SD3”.

【0021】すなわち、図6に示す送信メッセージは、
1つ送信データを3つに分割した場合の例であり、分割
番号「3」〜「1」を持つ3つの送信メッセージ70−
1〜70−3により構成されている。分割番号は、分割
された複数の分割メッセージについて、降順に付与され
る。したがって、送信メッセージ70−1は、分割番号
「3」のデータを圧縮形式「1」で圧縮し、そのた結
果、データ長「10」、分割送信データ「SD1」とな
り、送信先に対し応答メッセージを要求していることを
示している。送信メッセージ70−2は、分割番号
「2」のデータを圧縮形式「1」で圧縮し、その結果、
データ長「8」、分割送信データ「SD2」となり、送
信先に対し応答メッセージを要求していないことを示し
ている。また、送信メッセージ70−3は、分割番号
「1」のデータを圧縮形式「2」に変更して圧縮し、そ
の結果、データ長「5」、分割送信データ「SD3」と
なり、送信先に対し応答メッセージを要求していること
を示している。そして、この送信メッセージ70−3
は、分割番号「1」であることにより、最後の分割送信
データであることを示している。
That is, the transmission message shown in FIG.
This is an example in which one transmission data is divided into three, and three transmission messages 70- having division numbers "3" to "1"
1 to 70-3. The division numbers are assigned in descending order to the plurality of divided messages. Therefore, the transmission message 70-1 compresses the data of the division number "3" in the compression format "1", and as a result, the data length becomes "10" and the division transmission data "SD1". Request. The transmission message 70-2 compresses the data of the division number “2” in the compression format “1”, and as a result,
The data length is "8" and the divided transmission data is "SD2", indicating that no response message is requested to the transmission destination. Also, the transmission message 70-3 changes the data of the division number "1" into the compression format "2" and compresses the data, resulting in the data length "5" and the divided transmission data "SD3". Indicates that a response message is being requested. Then, this transmission message 70-3
Indicates that the data is the last divided transmission data by the division number “1”.

【0022】図7に、前述で図4を参照して説明した応
答メッセージの一例を示している。この図において、応
答メッセージ80−1は、分割番号が「3」であること
から送信メッセージ70−1に対する応答メッセージで
あり、分割送信データSD1の解凍時間が「DT1」、
分割送信データSD1と同じ圧縮形式「1」で応答デー
タを圧縮した結果、データ長「3」、応答データ「RD
1」となり、応答データの圧縮時間に「CT1」だけか
かったことを示している。また、応答メッセージ80−
2は、分割番号が「1」であることから送信メッセージ
70−3に対する応答メッセージであり、分割送信デー
タSD3の解凍時間が「DT2」、応答データがないこ
とを示している。
FIG. 7 shows an example of the response message described above with reference to FIG. In this figure, the response message 80-1 is a response message to the transmission message 70-1 because the division number is "3", and the decompression time of the division transmission data SD1 is "DT1".
As a result of compressing the response data in the same compression format "1" as the divided transmission data SD1, the data length "3" and the response data "RD
"1", indicating that the compression time of the response data has taken "CT1". The response message 80-
2 is a response message to the transmission message 70-3 because the division number is "1", and indicates that the decompression time of the divided transmission data SD3 is "DT2" and there is no response data.

【0023】図8は本発明の実施形態によるデータ送信
の処理動作を説明するフローチャートであり、以下、こ
れについて説明する。なお、ここでは、計算機1−Nが
データの送信要求を行うものとして説明する。
FIG. 8 is a flowchart for explaining the processing operation of data transmission according to the embodiment of the present invention, which will be described below. Here, the description will be given on the assumption that the computer 1-N issues a data transmission request.

【0024】(1)計算機1−Nでデータ送信要求が発
生すると、圧縮制御部20−Nは、圧縮情報DB50−
Nを参照し、圧縮情報60−1〜60−Xを検索し、送
信先が一致する圧縮情報があるか否かをチェックする
(ステップ801)。
(1) When a data transmission request is generated in the computer 1-N, the compression control unit 20-N sets the compression information DB 50-N
With reference to N, the compression information 60-1 to 60-X are searched, and it is checked whether there is compression information having the same transmission destination (step 801).

【0025】(2)ステップ801のチェックで、一致
する圧縮情報が登録されていなければ、規定圧縮形式1
〜Xの圧縮率の平均値を持つ圧縮形式を送信先の規定圧
縮情報62、最終圧縮情報63として登録し、送信デー
タの圧縮形式としてこの圧縮形式を選択する(ステップ
802)。
(2) If it is determined in step 801 that the corresponding compression information is not registered, the specified compression format 1
The compression format having the average value of the compression ratios of .about.X is registered as the destination compression information 62 and the final compression information 63, and this compression format is selected as the transmission data compression format (step 802).

【0026】(3)ステップ801のチェックで、一致
する圧縮情報があった場合、検索した圧縮情報に最終圧
縮形式が設定されているか否かを判定し、最終圧縮形式
が設定されていなければ、規定圧縮形式を送信データの
圧縮形式として選択し、最終圧縮形式が設定されていれ
ば、最終圧縮形式を送信データの圧縮形式ととして選択
する(ステップ803〜805)。
(3) If there is matching compression information in the check at step 801, it is determined whether or not the retrieved compression information has the final compression format set. If the final compression format has not been set, The specified compression format is selected as the transmission data compression format, and if the final compression format is set, the final compression format is selected as the transmission data compression format (steps 803 to 805).

【0027】(4)次に、送信データの大きさが既定値
よりも大きいか否かを判定し、大きかった場合、データ
を分割し、分割したデータ毎に分割番号72を付与す
る。また、送信データの大きさが既定値以下であった場
合、データを分割せずに分割番号として「1」を設定す
る(ステップ806、807)。
(4) Next, it is determined whether or not the size of the transmission data is larger than a predetermined value. If the size is larger, the data is divided and a division number 72 is assigned to each divided data. If the size of the transmission data is equal to or smaller than the predetermined value, "1" is set as the division number without dividing the data (steps 806 and 807).

【0028】(5)分割した送信データの中での割番号
72の1番大きいものを、ステップ802、804また
は805で選択した圧縮形式で圧縮し、分割送信データ
75及びデータ長74を生成し、圧縮形式72を送信メ
ッセージ70内に設定するように生成する(ステップ8
08)。
(5) Of the divided transmission data, the largest one of the division numbers 72 is compressed in the compression format selected in step 802, 804 or 805 to generate divided transmission data 75 and data length 74. , The compression format 72 is set in the transmission message 70 (step 8).
08).

【0029】(6)次に、分割送信データ75が最初の
分割データであるか、あるいは、すでに送信済みの送信
メッセージ70の応答要求に対する応答メッセージ80
を受信しているかを判定し、分割送信データ75が最初
の分割データであるか、応答メッセージ80を受信して
いれば、応答要求73を「あり」に設定し、また、応答
要求「あり」の送信メッセージを送信後、その応答メッ
セージを受信しなければ、応答要求73を「なし」に設
定する(ステップ809〜811)。
(6) Next, whether the divided transmission data 75 is the first divided data, or a response message 80 to a response request of the already transmitted transmission message 70
Is determined, if the divided transmission data 75 is the first divided data or if the response message 80 has been received, the response request 73 is set to “Yes”, and the response request “Yes” If the response message is not received after the transmission message is transmitted, the response request 73 is set to "none" (steps 809 to 811).

【0030】(7)次に、通信制御部10−Nは、圧縮
形式71、分割番号72、応答要求73、データ長7
4、分割送信データ75から送信メッセージ70を生成
し、送信先の計算機に送信する(ステップ812)。
(7) Next, the communication control unit 10-N includes a compression format 71, a division number 72, a response request 73, and a data length of 7.
4. The transmission message 70 is generated from the divided transmission data 75 and transmitted to the transmission destination computer (step 812).

【0031】(8)送信先から応答メッセージ80が着
信しているか否かをチェックし、応答メッセージが着信
していれば、通信制御部10−Nは、応答メッセージ8
0を受信する(ステップ813、814)。
(8) It is checked whether or not the response message 80 has arrived from the transmission destination. If the response message has arrived, the communication control unit 10-N sets the response message
0 is received (steps 813 and 814).

【0032】(9)受信した応答メッセージ内に応答デ
ータ84があるか否かを判定し、応答データが0でなけ
れば、すなわち、応答データが存在すれば、応答データ
を圧縮形式81で解凍する(ステップ815、81
6)。
(9) It is determined whether or not the response data 84 is included in the received response message. If the response data is not 0, that is, if the response data exists, the response data is decompressed in the compression format 81. (Steps 815 and 81
6).

【0033】(10)次に、負荷判定制御部40−Nは、
解凍時間82と圧縮時間83とを加算した時間を送信先
計算機のCPU負荷とし、分割送信データ75の圧縮時
間と応答データ85の解凍時間とを加算した時間を送信
元計算機のCPU負荷として算出し、負荷の大きい方を
CPU負荷として選択する(ステップ817)。
(10) Next, the load judgment control unit 40-N
The time obtained by adding the decompression time 82 and the compression time 83 is determined as the CPU load of the transmission destination computer, and the time obtained by adding the compression time of the divided transmission data 75 and the decompression time of the response data 85 is calculated as the CPU load of the transmission source computer. The CPU with the larger load is selected as the CPU load (step 817).

【0034】(11)送信メッセージ70の送信時刻から
応答メッセージ80の着信時刻との間の所用時間を計算
し、この所要時間から送信先での分割送信データ75の
解凍時間82と応答データ85の圧縮時間83とを引い
た値をネットワーク負荷として算出する(ステップ81
8)。
(11) The required time between the transmission time of the transmission message 70 and the arrival time of the response message 80 is calculated, and the decompression time 82 of the divided transmission data 75 and the response data 85 at the destination are calculated from the required time. The value obtained by subtracting the compression time 83 is calculated as the network load (step 81).
8).

【0035】(12)ネットワーク負荷がCPU負荷より
も大きいか否かを判定し、大きい場合、圧縮形式を圧縮
率の高い形式に変更し、ネットワーク負荷がCPU負荷
よりも大きくない場合、ネットワーク負荷がCPU負荷
よりも小さいか否かを判定し、小さい場合、圧縮形式を
圧縮率の低い形式に変更する。また、ネットワーク負荷
がCPU負荷より大きくもなく、小さくもない場合、す
なわち、ネットワーク負荷がCPU負荷と同一の場合、
圧縮形式をそのままとする(ステップ819〜82
2)。
(12) It is determined whether or not the network load is greater than the CPU load. If the network load is greater, the compression format is changed to a format having a higher compression rate. If the network load is not greater than the CPU load, the network load is reduced. It is determined whether the load is smaller than the CPU load. If the load is smaller, the compression format is changed to a format having a lower compression ratio. If the network load is neither larger nor smaller than the CPU load, that is, if the network load is the same as the CPU load,
Leave the compression format as it is (steps 819-82)
2).

【0036】(13)ステップ819〜822の処理後、
または、ステップ813で応答メッセージの着信がない
場合、未送信の分割データがあるか否か判定し、未送信
の分割データがある場合、ステップ808からの処理に
戻ってステップ822までの処理を繰り返す(ステップ
823)。
(13) After the processing of steps 819 to 822,
Alternatively, if there is no incoming response message in step 813, it is determined whether there is untransmitted divided data. If there is untransmitted divided data, the process returns to step 808 and repeats the processing up to step 822. (Step 823).

【0037】(14)ステップ823の判定で、未送信の
分割データがなかった場合、未着信の応答メッセージが
あるか否かを判定し、未着信の応答メッセージがある場
合、応答メッセージの着信を待ち、ステップ814から
の処理を繰り返す(ステップ824、825)。
(14) If there is no untransmitted divided data in the determination in step 823, it is determined whether there is a response message that has not arrived. If there is a response message that has not arrived, the response message is received. After waiting, the process from step 814 is repeated (steps 824 and 825).

【0038】(15)ステップ824の判定で、全ての応
答メッセージを受信している場合、圧縮形式を圧縮情報
データベースの最終圧縮形式に登録し、未送信の送信デ
ータがあるか否かを判定し、未送信の送信データがあれ
ば、ステップ801からの処理に戻って処理を繰り返
し、全ての送信データを送信完了している場合、処理を
終了する(ステップ826、827)。
(15) If it is determined in step 824 that all response messages have been received, the compression format is registered in the final compression format of the compression information database, and it is determined whether or not there is untransmitted transmission data. If there is untransmitted transmission data, the flow returns to the processing from step 801 and repeats the processing. If all the transmission data has been transmitted, the processing ends (steps 826 and 827).

【0039】図9は本発明の実施形態によるデータ受信
の処理動作を説明するフローチャートであり、以下、こ
れについて説明する。なお、ここでも、計算機1−Nが
データを受信するものとして説明する。
FIG. 9 is a flowchart for explaining the processing operation of data reception according to the embodiment of the present invention, which will be described below. Note that, also here, the description will be given on the assumption that the computer 1-N receives data.

【0040】(1)送信元計算機より送信メッセージが
着信してくる要求を待ち、送信メッセージの着信がある
と、通信制御部10−Nは、送信されてきたメッセージ
を受信する(ステップ901、902)。
(1) Waiting for a request to receive a transmission message from the transmission source computer, and when a transmission message is received, the communication control unit 10-N receives the transmitted message (steps 901 and 902). ).

【0041】(2)次に、解凍制御20−Nは、受信し
たメッセージ内の圧縮形式71に従った解凍形式を決定
して、分割送信メッセージ70内の分割送信データ75
を解凍する(ステップ903、904)。
(2) Next, the decompression control 20-N determines the decompression format according to the compression format 71 in the received message, and determines the divided transmission data 75 in the divided transmission message 70.
Is decompressed (steps 903 and 904).

【0042】(3)送信元計算機に対する応答データが
必要であるか否かを判定し、応答データが必要であれ
ば、圧縮制御部30−Nは、送信メッセージの圧縮形式
72で応答情報を圧縮して応答データ85を生成する
(ステップ905、906)。
(3) It is determined whether or not response data to the transmission source computer is necessary. If the response data is required, the compression control unit 30-N compresses the response information in the transmission message compression format 72. Then, response data 85 is generated (steps 905 and 906).

【0043】(4)ステップ905の判定で、応答デー
タが必要でなければ、送信メッセージの着信間隔または
分割送信データの解凍時間が変化したか否かを判定し、
送信メッセージの着信間隔または分割送信データの解凍
時間が変化した場合、分割番号81を「なし」、圧縮時
間を「0」、データ長84を「0」、応答データ85を
「なし」としする。そして、通信制御10−Nは、分割
番号81、解凍時間82、圧縮時間83、データ長8
4、応答データ85またはステップ906で生成した応
答データ85を結合し、応答メッセージ80を生成し、
送信元計算機に応答する(ステップ907、908)。
(4) If it is determined in step 905 that no response data is required, it is determined whether the arrival interval of the transmission message or the decompression time of the divided transmission data has changed.
When the arrival interval of the transmission message or the decompression time of the divided transmission data changes, the division number 81 is set to “none”, the compression time is set to “0”, the data length 84 is set to “0”, and the response data 85 is set to “none”. The communication control 10-N includes a division number 81, a decompression time 82, a compression time 83, a data length 8
4. combining the response data 85 or the response data 85 generated in step 906 to generate a response message 80;
Responds to the source computer (steps 907, 908).

【0044】(5)分割番号72をチェックして次の分
割データがあるか否かを判定し、武官通信番号が「1」
以上である場合、ステップ902からの処理に戻って処
理を繰り返す(ステップ909)。
(5) The division number 72 is checked to determine whether there is the next division data, and the military officer communication number is "1".
If so, the process returns to step 902 to repeat the process (step 909).

【0045】(6)ステップ909の判定で、分割番号
72が「1」であり、次の分割データがないと判定した
場合、解凍した分割送信データ75を結合し、圧縮形式
71を圧縮情報データベース50−Nに設定し、ステッ
プ901からの処理に戻って次の受信要求を待つ(ステ
ップ910、911)。
(6) If it is determined in step 909 that the division number 72 is “1” and that there is no next divided data, the decompressed divided transmission data 75 is combined, and the compression format 71 is changed to the compression information database. The value is set to 50-N, and the flow returns to the processing from step 901 to wait for the next reception request (steps 910 and 911).

【0046】前述したような本発明の実施形態によれ
ば、ネットワークへの送信処理、送信元でのデータ圧縮
処理及び送信先でのデータの解凍処理の負荷分散を行う
ことが可能となり、より効率的なデータ転送を行うこと
ができ、また、送信元と送信先とで双方向の通信が可能
である。
According to the embodiment of the present invention as described above, it is possible to perform load distribution of transmission processing to a network, data compression processing at a transmission source, and decompression processing of data at a transmission destination. Data transfer can be performed, and two-way communication is possible between the transmission source and the transmission destination.

【0047】また、前述した本発明の実施形態は、送信
元、送信先で時間(時計)がずれていても処理が可能で
あり、計算機及びネットワークの負荷を監視する特別な
装置を必要とすることなく、効率的なデータ転送を行う
ことができる。
The above-described embodiment of the present invention is capable of processing even if the time (clock) is shifted between the transmission source and the transmission destination, and requires a special device for monitoring the load on the computer and the network. , And efficient data transfer can be performed.

【0048】[0048]

【発明の効果】以上説明したように本発明によれば、デ
ータの送受信処理を効率よく行うことが可能で、より効
率的なデータ転送を行うことがでる。
As described above, according to the present invention, data transmission / reception processing can be performed efficiently, and more efficient data transfer can be performed.

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

【図1】本発明の一実施形態による方法を実施する計算
機を含むネットワークシステムの構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of a network system including a computer for performing a method according to an embodiment of the present invention.

【図2】圧縮情報データベース(DB)の内容を説明す
る図である。
FIG. 2 is a diagram illustrating the contents of a compression information database (DB).

【図3】分割されて送信されるメッセージのデータ形式
を説明する図である。
FIG. 3 is a diagram illustrating a data format of a message that is divided and transmitted.

【図4】分割されて送信されたメッセージに対する応答
メッセージのデータ形式を説明する図である。
FIG. 4 is a diagram illustrating the data format of a response message to a message that has been divided and transmitted.

【図5】圧縮情報DBの内容の具体例を説明する図であ
る。
FIG. 5 is a diagram illustrating a specific example of the contents of a compression information DB.

【図6】分割されて送信されるメッセージのデータ形式
の具体例を説明する図である。
FIG. 6 is a diagram illustrating a specific example of a data format of a message that is divided and transmitted.

【図7】分割されて送信されたメッセージに対する応答
メッセージのデータ形式の具体例を説明する図である。
FIG. 7 is a diagram illustrating a specific example of a data format of a response message to a message that has been divided and transmitted.

【図8】本発明の実施形態によるデータ送信の処理動作
を説明するフローチャートである。
FIG. 8 is a flowchart illustrating a data transmission processing operation according to the embodiment of the present invention.

【図9】本発明の実施形態によるデータ受信の処理動作
を説明するフローチャートである。
FIG. 9 is a flowchart illustrating a data reception processing operation according to the embodiment of the present invention.

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

1−1〜1−N 計算機 2 ネットワーク 10−1〜10−N 通信説明部 20−1〜20−N 圧縮制御部 30−1〜30−N 解凍制御部 40−1〜40−N 負荷判定制御部 50−1〜50−N 圧縮情報DB 70、70−1〜70−3 送信メッセージ 80、80−1、80−2 応答メッセージ 1-1 to 1-N Computer 2 Network 10-1 to 10-N Communication Explanation Unit 20-1 to 20-N Compression Control Unit 30-1 to 30-N Decompression Control Unit 40-1 to 40-N Load Judgment Control Part 50-1 to 50-N Compression information DB 70, 70-1 to 70-3 Transmission message 80, 80-1, 80-2 Response message

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 データを圧縮して送信し、相手側装置で
受信データを解凍するデータ送受信方法において、送信
側装置は、自装置でのデータ圧縮の負荷を判定すると共
に、相手側装置からの応答データ及びその着信時間に基
づいて、相手側装置でのデータ解凍の負荷と、送受信の
ためのネットワーク負荷とを判定し、判定した負荷に基
づいて圧縮・解凍方法を変更することを特徴とするデー
タ送受信方法。
In a data transmission / reception method for compressing and transmitting data and decompressing received data at a partner device, a transmitter device determines a data compression load on its own device, and determines a load of data compression from the partner device. A load of data decompression on the partner device and a network load for transmission / reception are determined based on the response data and the arrival time thereof, and a compression / decompression method is changed based on the determined load. How to send and receive data.
【請求項2】 データの圧縮時間、解凍時間に着目して
自装置及び相手装置での負荷状態を監視することを特徴
とする請求項1記載のデータ送受信方法。
2. The data transmission / reception method according to claim 1, wherein a load state of the own apparatus and a load state of the other apparatus are monitored by focusing on a data compression time and a decompression time.
【請求項3】 データの送信から応答データの着信まで
の時間に着目してネットワークの負荷状態を監視するこ
とを特徴とする請求項1または2記載のデータ送受信方
法。
3. The data transmission / reception method according to claim 1, wherein a load state of the network is monitored by paying attention to a time from transmission of data to arrival of response data.
【請求項4】 送信するデータを分割し、分割したデー
タの送信中の負荷状態に応じて、圧縮・解凍方法を動的
に変更することを特徴とする請求項1、2または3記載
のデータ送受信方法。
4. The data according to claim 1, wherein data to be transmitted is divided, and a compression / decompression method is dynamically changed according to a load state during transmission of the divided data. Transmission / reception method.
JP2001025849A 2001-02-01 2001-02-01 Data sending and receiving method Pending JP2002229886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001025849A JP2002229886A (en) 2001-02-01 2001-02-01 Data sending and receiving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001025849A JP2002229886A (en) 2001-02-01 2001-02-01 Data sending and receiving method

Publications (1)

Publication Number Publication Date
JP2002229886A true JP2002229886A (en) 2002-08-16

Family

ID=18890767

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001025849A Pending JP2002229886A (en) 2001-02-01 2001-02-01 Data sending and receiving method

Country Status (1)

Country Link
JP (1) JP2002229886A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004077355A (en) * 2002-08-21 2004-03-11 Aisin Aw Co Ltd Data transmission system to on-vehicle navigation device
JP2010224996A (en) * 2009-03-25 2010-10-07 Nec Corp File transmission method and apparatus, and computer program
WO2014155490A1 (en) * 2013-03-25 2014-10-02 三菱電機株式会社 Data transmission device, data transmission method, and program
JP2015043502A (en) * 2013-08-26 2015-03-05 株式会社日立製作所 Communication device and data transfer control method
JP2017004058A (en) * 2015-06-04 2017-01-05 コニカミノルタ株式会社 Data providing apparatus, data providing method, and computer program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004077355A (en) * 2002-08-21 2004-03-11 Aisin Aw Co Ltd Data transmission system to on-vehicle navigation device
JP2010224996A (en) * 2009-03-25 2010-10-07 Nec Corp File transmission method and apparatus, and computer program
WO2014155490A1 (en) * 2013-03-25 2014-10-02 三菱電機株式会社 Data transmission device, data transmission method, and program
JP2015043502A (en) * 2013-08-26 2015-03-05 株式会社日立製作所 Communication device and data transfer control method
JP2017004058A (en) * 2015-06-04 2017-01-05 コニカミノルタ株式会社 Data providing apparatus, data providing method, and computer program

Similar Documents

Publication Publication Date Title
CN1167203C (en) Dynamically configurable datagram message communication system
JPH02206264A (en) Protocol discretionary switching system
CN110049113A (en) Service message processing method and device
CN110808948B (en) Remote procedure calling method, device and system
EP2439881A1 (en) Cluster system and request message distribution method for processing multi-node transaction
JP2002229886A (en) Data sending and receiving method
JPH09233216A (en) Multimedia batch communication control system
CN114024968B (en) Message sending method and device based on intermediate equipment and electronic equipment
CN112770358B (en) Multi-rate mode data transmission control method and device based on service data
CN114598662A (en) Message queue cluster federal management system and method
JP6202650B1 (en) Communication system and communication method
JPH06266643A (en) Server program management method
CN111240867A (en) Information communication system and method
JPH08166915A (en) Picture transmission device and transmission method
JP3347391B2 (en) Facsimile system and communication method
CN116633918A (en) Distributed file transmission method and device
KR100508157B1 (en) Block data transmission method between client and server systems of multi-agent structure
CN116132536A (en) Cloud computing-based mobile network resource dynamic management and control system and method
JPH09252328A (en) Data communication method and data communication system
JPH04150355A (en) Transmission procedure management equipment for file transfer
JPH01231155A (en) Peripheral equipment controller
CN1094881A (en) The method and apparatus of in a plurality of communication paths, selecting
CN101669333A (en) Network system
JPH0381852A (en) Connection control system
JP3501975B2 (en) Data transmission system and data transmission program stored in computer-readable storage medium