JPH08293874A - Method and system for data transmission - Google Patents

Method and system for data transmission

Info

Publication number
JPH08293874A
JPH08293874A JP7119152A JP11915295A JPH08293874A JP H08293874 A JPH08293874 A JP H08293874A JP 7119152 A JP7119152 A JP 7119152A JP 11915295 A JP11915295 A JP 11915295A JP H08293874 A JPH08293874 A JP H08293874A
Authority
JP
Japan
Prior art keywords
transmission
data
route
divided
path
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
JP7119152A
Other languages
Japanese (ja)
Inventor
Hiroshi Kajiwara
浩 梶原
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP7119152A priority Critical patent/JPH08293874A/en
Publication of JPH08293874A publication Critical patent/JPH08293874A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE: To reduce time for transmission by adding data with information for division and reconstruction and selecting a route corresponding to the states of a calculation transmission rate and a transmission route so as to transmit data when there are plural transmission routes and a data size is larger than a prescribed value. CONSTITUTION: When there are routes A and B passing host computers 202, 204 and 203, 205 among 201 to 206 and the data size of a transmission object is larger than a threshold value 1, data A is bisected into data 1 and 2. At this time, when the route is one and the size of data A is smaller than the value 1, data A is transmitted through the route A but when data is bisected, data 1 is added with each identification information of data A and data 1 and transmitted through the route A. Next, corresponding to whether the value of the transmission rate calculated from this transmission time and the size of data is smaller than a threshold value 2 or not, the route B is selected when the value is smaller but a route is not switched when the value is larger so as to transmit data 2. Thereby, the transmission route to a transmission destination is selected corresponding to the state to reduce time for transmission and to reduce the concentration of traffic.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、例えばインターネット
のように1つのホストコンピュータと他のホストコンピ
ュータとの間でデータを送受信する場合に複数の伝送経
路が存在するデータ伝送システム及びそのようなシステ
ムにおけるデータ伝送方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission system in which a plurality of transmission paths exist when data is transmitted and received between one host computer and another host computer, such as the Internet, and such a system. Data transmission method.

【0002】[0002]

【従来の技術】インターネットのような大規模ネットワ
ークに接続されるホストコンピュータ(以下「ホスト」
という)間でデータを伝送する方法として、伝送したい
相手先に至る経路上に存在するホストによって、バケツ
リレー方式にデータを伝送する方法が従来より用いられ
ている。このため、伝送されるデータには送り先のホス
トのIPアドレス(ネットワーク上のアドレス)が付加
されており、経路上の各ホストは送り先のIPアドレス
と自分の持つルーティング情報を参照してデータを次に
どのホストに渡せば良いかを決定する。通常は、経由す
るノード(ホスト)の数ができるだけ少なくなるように
ルーティング情報を作成しており、ネットワークにホス
トを追加したり、ネットワークからホストを切り離した
り、あるいは経路上にあるホストがダウンした場合にの
み、経路を切り替えるようにしている。
2. Description of the Related Art A host computer (hereinafter referred to as "host") connected to a large-scale network such as the Internet.
A method of transmitting data in a bucket brigade method is conventionally used by a host existing on a route to a destination to be transmitted. For this reason, the IP address (address on the network) of the destination host is added to the transmitted data, and each host on the route refers to the destination IP address and its own routing information to send the next data. Decide which host to hand over to. Normally, routing information is created so that the number of nodes (hosts) that go through is as small as possible, and when a host is added to the network, a host is disconnected from the network, or a host on the route goes down. Only the route is switched to.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、例えば
インターネットにおいては、利用者が増加したり、画像
や音声の伝送が増加したことに起因して、ネットワーク
のトラフィックが急激に増加し、データ伝送に長時間を
要するようになってきているため、上記従来の方法で
は、伝送系路上の特定箇所のみが込み合っているような
場合であっても、データの伝送に長時間を要し、改善の
余地が残されていた。
However, in the Internet, for example, the number of users has increased and the transmission of images and voice has increased, so that the traffic of the network sharply increases and the transmission of data is delayed. Since the time is becoming longer, the conventional method requires a long time to transmit data even if only a specific portion on the transmission path is crowded, and there is room for improvement. It was left.

【0004】本発明はこの点に着目してなされたもので
あり、伝送時間の短縮化を図るとともに、トラフィック
の特定箇所への集中を抑制することができるデータ伝送
方法及びデータ伝送システムを提供することを目的とす
る。
The present invention has been made in view of this point, and provides a data transmission method and a data transmission system capable of shortening the transmission time and suppressing the concentration of traffic at a specific location. The purpose is to

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
本発明は、1つのホストコンピュータと他のホストコン
ピュータとの間でデータを送受信する場合に複数の伝送
経路が存在するネットワークに接続されるホストコンピ
ュータ間のデータ伝送方法において、送信データを分割
し、該分割したデータに前記送信データを再構築するた
めの情報を付加し、送信相手先までの伝送経路の状態を
判別し、該判別した伝送経路の状態に応じて伝送経路を
選択し、該選択した伝送経路を介して前記分割したデー
タの伝送を行うようにしたものである。
To achieve the above object, the present invention is connected to a network having a plurality of transmission paths when data is transmitted and received between one host computer and another host computer. In the data transmission method between host computers, the transmission data is divided, information for reconstructing the transmission data is added to the divided data, the state of the transmission path to the transmission destination is determined, and the determination is made. The transmission path is selected according to the state of the transmission path, and the divided data is transmitted via the selected transmission path.

【0006】また、前記分割したデータの一部を伝送し
て伝送レートを算出し、該算出した伝送レートに基づい
て前記伝送経路の状態を判別することが望ましい。
It is also preferable that a part of the divided data is transmitted to calculate a transmission rate and the state of the transmission path is determined based on the calculated transmission rate.

【0007】また、前記算出した伝送レートを所定値と
比較し、前記伝送レートが前記所定値より低いとき伝送
経路の選択を変更することが望ましい。
Further, it is desirable to compare the calculated transmission rate with a predetermined value and change the selection of the transmission path when the transmission rate is lower than the predetermined value.

【0008】また、前記送信相手先までの伝送経路の数
mを判定し、前記送信データをm個のサイズの小さいデ
ータと、1個のサイズの大きいデータとに分割し、前記
サイズの小さいデータを前記m個の伝送経路のそれぞれ
を介して伝送することによりそれぞれの伝送経路の伝送
レートを算出し、該算出した伝送レートが最も高い伝送
経路を介して前記サイズの大きいデータを伝送すること
が望ましい。
Further, the number m of transmission paths to the transmission destination is determined, the transmission data is divided into m small data and one large data, and the small data is divided. Is transmitted through each of the m transmission paths, the transmission rate of each transmission path is calculated, and the large size data is transmitted through the transmission path having the highest calculated transmission rate. desirable.

【0009】また、分割したデータを受信したときは、
前記再構築するための情報に基づいて、元のデータの再
構築を行うことが望ましい。
Further, when the divided data is received,
It is desirable to reconstruct the original data based on the information for reconstructing.

【0010】上記目的を達成するため本発明は、さらに
1つのホストコンピュータと他のホストコンピュータと
の間でデータを送受信する場合に複数の伝送経路が存在
するデータ伝送システムにおいて、送信データを分割す
る分割手段と、該分割したデータに前記送信データを再
構築するための情報を付加する情報付加手段と、送信相
手先までの伝送経路の状態を判別し、該判別した伝送経
路の状態に応じて伝送経路を選択する経路選択手段と、
該選択した伝送経路を介して前記分割したデータの伝送
を行う分割データ伝送手段とを設けるようにしたもので
ある。
To achieve the above object, the present invention further divides transmission data in a data transmission system in which a plurality of transmission paths exist when data is transmitted and received between one host computer and another host computer. Dividing means, information adding means for adding information for reconstructing the transmission data to the divided data, and a state of the transmission path to the destination of the transmission, and according to the state of the determined transmission path Route selecting means for selecting a transmission route,
A divided data transmission means for transmitting the divided data through the selected transmission path is provided.

【0011】また、前記経路選択手段は、前記分割した
データの一部を伝送して伝送レートを算出し、該算出し
た伝送レートに基づいて前記伝送経路の状態を判別する
ことが望ましい。
Further, it is preferable that the route selecting means transmits a part of the divided data to calculate a transmission rate, and determines the state of the transmission route based on the calculated transmission rate.

【0012】また、前記経路選択手段は、前記算出した
伝送レートを所定値と比較し、前記伝送レートが前記所
定値より低いとき伝送経路の選択を変更することが望ま
しい。
Further, it is preferable that the path selecting means compares the calculated transmission rate with a predetermined value and changes the selection of the transmission path when the transmission rate is lower than the predetermined value.

【0013】また、前記分割手段は、前記送信相手先ま
での伝送経路の数mを判定し、前記送信データをm個の
サイズの小さいデータと、1個のサイズの大きいデータ
とに分割し、前記経路選択手段は、前記サイズの小さい
データを前記m個の伝送経路のそれぞれを介して伝送す
ることによりそれぞれの伝送経路の伝送レートを算出
し、該算出した伝送レートが最も高い伝送経路を選択
し、前記分割データ伝送手段は、該選択した伝送経路を
介して前記サイズの大きいデータを伝送することが望ま
しい。
The dividing means determines the number m of transmission paths to the transmission destination and divides the transmission data into m pieces of small size data and one piece of large size data, The route selection means calculates the transmission rate of each transmission route by transmitting the small size data through each of the m transmission routes, and selects the transmission route with the highest calculated transmission rate. However, it is preferable that the divided data transmission means transmits the large size data via the selected transmission path.

【0014】上記目的を達成するため本発明は、さらに
1つのホストコンピュータと他のホストコンピュータと
の間でデータを送受信する場合に複数の伝送経路が存在
するネットワークに接続されるホストコンピュータにお
いて、送信データを分割する分割手段と、該分割したデ
ータに前記送信データを再構築するための情報を付加す
る情報付加手段と、送信相手先までの伝送経路の状態を
判別し、該判別した伝送経路の状態に応じて伝送経路を
選択する経路選択手段と、該選択した伝送経路を介して
前記分割したデータの伝送を行う分割データ伝送手段と
を設けるようにしたものである。
In order to achieve the above object, the present invention further provides a transmission in a host computer connected to a network having a plurality of transmission paths when data is transmitted and received between one host computer and another host computer. Dividing means for dividing the data, information adding means for adding information for reconstructing the transmission data to the divided data, the state of the transmission path to the transmission destination, and determining the state of the determined transmission path A route selection means for selecting a transmission route according to the state and a divided data transmission means for transmitting the divided data via the selected transmission route are provided.

【0015】また、分割したデータを受信したときは、
前記再構築するための情報に基づいて、元のデータの再
構築を行う再構築手段をさらに設けることが望ましい。
When the divided data is received,
It is desirable to further provide a reconstructing unit that reconstructs the original data based on the information for reconstructing.

【0016】[0016]

【作用】請求項1記載のデータ伝送方法又は請求項7記
載のデータ伝送システムによれば、送信データが分割さ
れ、該分割したデータに前記送信データを再構築するた
めの情報が付加され、送信相手先までの伝送経路の状態
が判別され、該判別した伝送経路の状態に応じて伝送経
路が選択され、該選択した伝送経路を介して前記分割し
たデータの伝送が行われる。
According to the data transmission method of the first aspect or the data transmission system of the seventh aspect, the transmission data is divided, and information for reconstructing the transmission data is added to the divided data and transmission is performed. The state of the transmission path to the destination is determined, a transmission path is selected according to the determined state of the transmission path, and the divided data is transmitted via the selected transmission path.

【0017】請求項2記載のデータ伝送方法又は請求項
8記載のデータ伝送システムによれば、分割したデータ
の一部を伝送して伝送レートが算出され、該算出した伝
送レートに基づいて前記伝送経路の状態が判別される。
According to the data transmission method of the second aspect or the data transmission system of the eighth aspect, a part of the divided data is transmitted to calculate the transmission rate, and the transmission is performed based on the calculated transmission rate. The state of the route is determined.

【0018】請求項3記載のデータ伝送方法又は請求項
9記載のデータ伝送システムによれば、算出した伝送レ
ートが所定値と比較され、前記伝送レートが前記所定値
より低いとき伝送経路の選択が変更される。
According to the data transmission method of the third aspect or the data transmission system of the ninth aspect, the calculated transmission rate is compared with a predetermined value, and the transmission path is selected when the transmission rate is lower than the predetermined value. Be changed.

【0019】請求項4記載のデータ伝送方法又は請求項
10記載のデータ伝送システムによれば、送信相手先ま
での伝送経路の数mが判定され、送信データがm個のサ
イズの小さいデータと、1個のサイズの大きいデータと
に分割され、前記サイズの小さいデータを前記m個の伝
送経路のそれぞれを介して伝送することによりそれぞれ
の伝送経路の伝送レートが算出され、該算出した伝送レ
ートが最も高い伝送経路を介して前記サイズの大きいデ
ータが伝送される。
According to the data transmission method of the fourth aspect or the data transmission system of the tenth aspect, the number m of transmission paths to the transmission destination is determined, and the transmission data is m pieces of small size data. The transmission rate of each transmission path is calculated by dividing the data into one large size data and transmitting the small size data via each of the m transmission paths. The large size data is transmitted through the highest transmission path.

【0020】請求項5記載のデータ伝送方法又は請求項
11記載のデータ伝送システムによれば、分割したデー
タの受信したときは、再構築するための情報に基づい
て、元のデータの再構築が行われる。
According to the data transmission method of the fifth aspect or the data transmission system of the eleventh aspect, when the divided data is received, the original data is reconstructed based on the information for reconstructing. Done.

【0021】[0021]

【実施例】以下本発明の実施例を図面を参照して説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0022】[第1の実施例]本実施例では図1に示す
ようにネットワークが構成されており、ホスト201か
らホスト206にデータを伝送する場合を例にとる。同
図に於いてホスト201,202,203はネットワー
ク207により相互に接続されており、同様にホスト2
02,204はネットワーク208により、ホスト20
3,205はネットワーク209により、ホスト20
4,205,206はネットワーク210によりそれぞ
れ接続されている。また、本実施例では、同じネットワ
ークにつながるホスト間でデータを伝送する場合には直
接相手ホストにデータを渡すことができるように、ま
た、ホスト202,203,204,205により接続
される2つのネットワーク間でデータを伝送する場合に
は接続ホストにデータを渡すようにルーティング情報が
各ホストに与えられている。このルーティング情報は各
ホストの記憶装置に格納されている。
[First Embodiment] In this embodiment, a network is constructed as shown in FIG. 1 and data is transmitted from the host 201 to the host 206. In the figure, hosts 201, 202 and 203 are connected to each other by a network 207, and host 2
02 and 204 are connected to the host 20 by the network 208.
3, 205 is a host 20 by the network 209.
4, 205 and 206 are connected by a network 210. Further, in this embodiment, when data is transmitted between the hosts connected to the same network, the data can be directly passed to the other host, and two hosts connected by the hosts 202, 203, 204, 205 can be used. When transmitting data between networks, routing information is given to each host so as to pass the data to the connecting host. This routing information is stored in the storage device of each host.

【0023】例えば、ホスト201には、ネットワーク
207,208,209のネットワークアドレスを与
え、データを送る相手ホストのIPアドレスを見て、ネ
ットワーク207で接続されるホストである場合にはそ
のホストに直接データを渡し、ネットワーク208で接
続されるホストである場合にはホスト202に、ネット
ワーク209で接続されるホストである場合にはホスト
203にデータを渡すよう設定する。更に、ホスト20
1にはネットワーク210のネットワークアドレスを与
え、ネットワーク210で接続されるホストにデータを
送る場合にはホスト202または203に渡すように
し、同様に、ホスト206にはネットワーク207のネ
ットワークアドレスを与え、ネットワーク207で接続
されるホストにデータを送る場合にはホスト204にデ
ータを渡すようにする。これにより、ホスト201から
ホスト206へデータを送る経路としてホスト202,
204を経由する経路(以降「経路A」と呼ぶ)とホス
ト203,205を経由する経路(以降「経路B」と呼
ぶ)が確立する。複数経路を選択できる場合にはあらか
じめどちらかの経路を選択しておく。ここでは経路Aを
選択しておく。
For example, the host 201 is given the network addresses of the networks 207, 208, 209, the IP address of the other host to which the data is sent is checked, and if the host is connected by the network 207, the host is directly The data is set to be passed, and when the host is connected by the network 208, the data is set to the host 202, and when the host is connected by the network 209, the data is set to the host 203. Furthermore, the host 20
1 is given the network address of the network 210, and when data is sent to the host connected by the network 210, it is passed to the host 202 or 203. Similarly, the host 206 is given the network address of the network 207, When sending data to the host connected at 207, the data is passed to the host 204. Thus, as a route for sending data from the host 201 to the host 206, the host 202,
A route passing through 204 (hereinafter referred to as “route A”) and a route passing through the hosts 203 and 205 (hereinafter referred to as “route B”) are established. Previously select either of the route in advance in the case where it can select multiple paths. Here, the route A is selected.

【0024】図2は1つのホストから他のホストにデー
タを伝送する場合の送信側ホストにおける処理を示すフ
ローチャートである。
FIG. 2 is a flow chart showing the processing in the transmitting host when transmitting data from one host to another host.

【0025】同図において、まず、ステップ101で記
憶装置に格納されているルーティング情報を参照して、
データ伝送する相手のホストとの間に選択可能な経路が
幾つ登録されているか調べ、一つの経路しかない場合に
は、ステップ109によりデータをそのまま伝送する。
In the figure, first, referring to the routing information stored in the storage device in step 101,
It is checked how many selectable paths are registered with the host to which data is transmitted, and if there is only one path, the data is transmitted as it is in step 109.

【0026】ホスト201からホスト206に伝送する
場合のように経路AとBのどちらかを選択できるという
ように、経路が複数存在する場合にはステップ102へ
進む。ステップ102では、伝送対象となるデータのサ
イズを閾値TH1と比較し、TH1よりサイズの小さい
データであればステップ109により、デフォルトの経
路を用いてそのままデータ伝送する。一方ステップ10
2でデータサイズが閾値TH1より大きければステップ
103に移る。
When there are a plurality of routes such that one of routes A and B can be selected as in the case of transmission from the host 201 to the host 206, the process proceeds to step 102. In step 102, the size of the data to be transmitted is compared with the threshold TH1, and if the data is smaller than TH1, the data is transmitted as it is in step 109 using the default route. Meanwhile, step 10
If the data size is larger than the threshold value TH1 in 2, the process proceeds to step 103.

【0027】ステップ103では、データを2つに分割
し、データを他のデータと識別するための識別情報を決
め、第一のデータは識別情報と、2つに分割されたデー
タの1番目のデータであることを示す情報を付加し、第
二のデータには識別情報と2つに分割されたデータの2
番目のデータであることを示す情報を付加する。ステッ
プ104では、現在選択されている経路を用いて第一の
分割データを伝送する。ステップ105では、第一のデ
ータを伝送するのに要した時間と第一の分割データのサ
イズから、伝送レート、即ち単位時間あたりの伝送デー
タ量を計算する。
In step 103, the data is divided into two, and identification information for identifying the data from other data is determined. The first data is the identification information and the first of the two divided data. Information indicating that the data is added is added to the second data, which is the identification information and the two divided data.
Information indicating that it is the second data is added. In step 104, the first division data is transmitted using the currently selected route. In step 105, the transmission rate, that is, the amount of transmission data per unit time is calculated from the time required to transmit the first data and the size of the first divided data.

【0028】ステップ106では、ステップ105で計
算した伝送レートを閾値TH2と比較し、閾値TH2よ
り低い場合には、ステップ107により選択経路を他の
選択可能な経路に切り替えてステップ108に進む。例
えばホスト201からホスト206への送信であれば経
路Aから経路Bに切り替える。また、算出した伝送レー
トが閾値TH2以上のときは、伝送路を切り替えずにス
テップ108に進む。ステップ108では第二の分割デ
ータを現在選択されている経路を使用して伝送する。
In step 106, the transmission rate calculated in step 105 is compared with the threshold value TH2. If it is lower than the threshold value TH2, the selected route is switched to another selectable route in step 107 and the process proceeds to step 108. For example, for transmission from the host 201 to the host 206, the route A is switched to the route B. If the calculated transmission rate is equal to or higher than the threshold value TH2, the process proceeds to step 108 without switching the transmission path. In step 108, the second divided data is transmitted using the currently selected route.

【0029】図3は、受信側ホストにおける処理のフロ
ーチャートである。
FIG. 3 is a flowchart of the processing in the receiving host.

【0030】同図において、まずステップ301では、
データを受信すると分割データを示す情報が付加されて
いるかを見て受け取ったデータが分割されたデータであ
るかどうかを判定する。分割されたデータでない場合に
は処理を終了し、分割されたデータである場合にはステ
ップ302に進む。ステップ302では受信データを蓄
積している場所から、受信した分割データと同じ識別情
報を持つデータを捜し、すべてのデータの受信が終わっ
ているか否かを判定する。まだ、データが揃っていない
場合には受信したデータを蓄積して処理を終了し、デー
タが揃っている場合にはステップ304に進む。ステッ
プ304では分割されたデータの各々から付加情報を除
き、順番につなぎ合わせて元のデータを再構築する。
In the figure, first in step 301,
When the data is received, it is determined whether or not the information indicating the divided data is added, and it is determined whether the received data is the divided data. If it is not the divided data, the process is ended, and if it is the divided data, the process proceeds to step 302. In step 302, the data having the same identification information as the received divided data is searched from the place where the received data is accumulated, and it is determined whether or not all the data have been received. If the data is not complete yet, the received data is accumulated and the process is terminated. If the data is complete, the process proceeds to step 304. In step 304, the additional information is removed from each of the divided data, and the original data is reconstructed by connecting them in order.

【0031】以上のような処理により、例えばホスト2
01からホスト206にデータを伝送するときに、ネッ
トワーク208に大量のトラフィックがあることが原因
で経路Aによる伝送時間が非常に遅い場合、第二の分割
データは経路Bにより伝送される。これにより、データ
全体としての伝送時間を短縮することができるとともに
トラフィックの特定箇所への集中を抑制することができ
る。
By the above processing, for example, the host 2
When transmitting data from 01 to the host 206, if the transmission time by the route A is very slow due to a large amount of traffic on the network 208, the second divided data is transmitted by the route B. As a result, the transmission time of the entire data can be shortened and the concentration of traffic on a specific location can be suppressed.

【0032】[第2の実施例]次に本発明の第2の実施
例について説明する。本実施例に於いても第1の実施例
と同様に図1のようにネットワークが構成されており、
ホスト201からホスト206への伝送経路として経路
Aと経路Bが選択可能であるとする。
[Second Embodiment] Next, a second embodiment of the present invention will be described. Also in this embodiment, as in the first embodiment, the network is configured as shown in FIG.
It is assumed that the route A and the route B can be selected as the transmission route from the host 201 to the host 206.

【0033】図4に本実施例の送信側ホストにおける処
理のフローチャートを示す。
FIG. 4 shows a flowchart of processing in the transmitting host of this embodiment.

【0034】ここで、複数の経路を選択可能な場合には
あらかじめどれか一つをデフォルトとして選択してお
く。例えばホスト201からホスト206への伝送経路
は経路Aをデフォルトとする。
[0034] In this case, if a plurality of paths that can be selected in advance by selecting one any advance as the default. For example, the transmission route from the host 201 to the host 206 defaults to the route A.

【0035】まず、図5のステップ401で、ルーティ
ング情報を参照して、データ伝送する相手のホストとの
間に選択可能な経路が幾つ登録されているか調べ、一つ
の経路しかない場合には、ステップ410によりデータ
をそのまま伝送する。ホスト201からホスト206に
伝送する場合のように経路AとBのどちらかを選択でき
るというように、経路が複数存在する場合にはステップ
402へ進む。ステップ402では、伝送対象となるデ
ータのサイズを閾値TH3と比較し、TH3よりサイズ
の小さいデータであればステップ410により、デフォ
ルトの経路を用いてそのままデータ伝送する。データサ
イズが閾値TH3より大きければステップ403に移
る。
First, in step 401 of FIG. 5, by referring to the routing information, it is checked how many selectable routes are registered with the host of the data transmission partner, and if there is only one route, In step 410, the data is transmitted as it is. When there are a plurality of routes such that one of the routes A and B can be selected as in the case of transmission from the host 201 to the host 206, the process proceeds to step 402. In step 402, the size of the data to be transmitted is compared with the threshold TH3, and if the data is smaller than TH3, in step 410 the data is transmitted as it is using the default route. If the data size is larger than the threshold TH3, the process proceeds to step 403.

【0036】ステップ403では、データを選択可能な
経路の数(m)+1(=M)個に分割し、データを他の
データと識別するための識別情報を決め、各データには
識別情報と、M個に分割されたデータの何番目のデータ
であるということを示す情報を付加する。このとき、1
からM−1番目のデータは同じサイズに、M番目のデー
タは他よりも十分大きなサイズとなるようにする。続く
ステップ404では、選択されている経路を用いて分割
データの一つ(最初は1番目の分割データ)を伝送す
る。ステップ405では、一つの分割データを伝送する
のに要した時間と分割データのサイズから、伝送レー
ト、即ち単位時間あたりの伝送データ量を計算する。ス
テップ406では、分割データをM−1個送り終えたか
否かを判断し、送り終えた場合にはステップ407へ、
送り終えていない場合にはステップ409に移る。
In step 403, the data is divided into the number (m) +1 (= M) of selectable paths, identification information for identifying the data from other data is determined, and the identification information is assigned to each data. , Information indicating that the data is divided into M pieces of data. At this time, 1
Therefore, the (M-1) th data has the same size, and the Mth data has a size sufficiently larger than the others. In the following step 404, one of the divided data (first divided data is transmitted) using the selected route. In step 405, the transmission rate, that is, the amount of transmission data per unit time is calculated from the time required to transmit one division data and the size of the division data. In step 406, it is determined whether or not M-1 pieces of divided data have been sent, and if they have been sent, to step 407,
If it has not been sent, the process moves to step 409.

【0037】ステップ409では選択可能な伝送経路の
内、まだ使用していない経路を選び、選択経路を切り替
えてステップ404,405,406,409を実行
し、選択可能なすべての経路について単位時間あたりの
伝送レートを計算する。ホスト201からホスト206
へ伝送する場合には経路Aと経路Bを使って同じサイズ
のデータを送り、伝送レートを計算する。ステップ40
7ではステップ405で計算した結果から、もっとも単
位時間あたりの伝送データ量の多い(伝送レートの高
い)経路を選び、伝送経路を切り替える。ステップ40
8ではM番目の分割データを選択されている経路により
伝送する。
In step 409, of the selectable transmission paths, a path that has not been used is selected, the selected path is switched, and steps 404, 405, 406 and 409 are executed, and all the selectable paths per unit time are selected. Calculate the transmission rate of. Host 201 to host 206
When transmitting to, the data of the same size is sent using the route A and the route B, and the transmission rate is calculated. Step 40
In step 7, the route with the largest amount of transmission data per unit time (highest transmission rate) is selected from the results calculated in step 405, and the transmission route is switched. Step 40
In 8, the Mth divided data is transmitted through the selected route.

【0038】本実施例に於ける受信側ホストにおける処
理は第1の実施例と同じである。
The processing at the receiving host in this embodiment is the same as that in the first embodiment.

【0039】このような処理により、サイズの大きなデ
ータについてはその大部分を、選択可能な伝送経路の
内、最も効率の良い経路を用いて伝送することが可能と
なる。
By such processing, most of the large size data can be transmitted using the most efficient route among the selectable transmission routes.

【0040】[第3の実施例]次に本発明の第3の実施
例について説明する。本実施例に於いても第1の実施例
と同様に図1のようにネットワークが構成されており、
ホスト201からホスト206への伝送経路として経路
Aと経路Bが選択可能であるとする。
[Third Embodiment] Next, a third embodiment of the present invention will be described. Also in this embodiment, as in the first embodiment, the network is configured as shown in FIG.
It is assumed that the route A and the route B can be selected as the transmission route from the host 201 to the host 206.

【0041】図5に本実施例の送信側ホストにおける処
理のフローチャートを示す。
FIG. 5 shows a flowchart of processing in the transmitting side host of this embodiment.

【0042】ここで複数経路が選択可能な場合にはあら
かじめどれか一つの経路を選択する。例えばホスト20
1からホスト206への伝送経路として経路Aが選択さ
れているとする。
[0042] to select one of the route any advance in the case where multiple paths that can be selected. Host 20
It is assumed that the route A is selected as the transmission route from 1 to the host 206.

【0043】まず、図5のステップ501で、ルーティ
ング情報を参照して、データ伝送する相手のホストとの
間に選択可能な経路が幾つ登録されているか調べ、一つ
の経路しかない場合には、ステップ509によりデータ
をそのまま伝送する。ホスト201からホスト206に
伝送する場合のように経路AとBのどちらかを選択でき
るというように、経路が複数存在する場合にはステップ
502へ進む。ステップ502では、伝送対象となるデ
ータのサイズを閾値TH4と比較し、TH4よりサイズ
の小さいデータであればステップ509により、現在選
択されている経路を用いてそのままデータ伝送する。デ
ータサイズが閾値TH4より大きければステップ503
に移る。ステップ503では、データを任意の数N個に
分割し、データを他のデータと識別するための識別情報
を決め、各データには識別情報と、N個に分割されたデ
ータの何番目のデータであるということを示す情報を付
加する。ステップ504では、選択されている経路を用
いて分割データの一つを伝送する。ステップ505で
は、一つの分割データを伝送するのに要した時間と分割
データのサイズから、伝送レート、即ち単位時間あたり
の伝送データ量を計算する。ステップ506では、ステ
ップ505で求めた伝送ートを閾値TH5と比較し、閾
値TH5より低い場合には、ステップ507により選択
経路を他の選択可能な経路に切り替える。ホスト201
からホスト206への伝送の場合であれば経路Aと経路
Bの切り替えを行う。ステップ508では分割データを
すべて伝送したかどうかを判定し、分割データが残って
いる場合にはステップ504に戻る。
First, in step 501 of FIG. 5, by referring to the routing information, it is checked how many selectable routes are registered with the host of the other party for data transmission, and if there is only one route, In step 509, the data is transmitted as it is. When there are a plurality of routes such that one of the routes A and B can be selected as in the case of transmission from the host 201 to the host 206, the process proceeds to step 502. In step 502, the size of the data to be transmitted is compared with the threshold TH4, and if the data is smaller than TH4, in step 509 the data is directly transmitted using the currently selected route. If the data size is larger than the threshold TH4, step 503.
Move on to. In step 503, the data is divided into an arbitrary number N, and identification information for identifying the data from other data is determined. The identification information is included in each data and the number of data of the N divided data. The information indicating that is added. In step 504, one of the divided data is transmitted using the selected route. In step 505, the transmission rate, that is, the amount of transmission data per unit time is calculated from the time required to transmit one division data and the size of the division data. In step 506, the transmission rate obtained in step 505 is compared with the threshold TH5, and if it is lower than the threshold TH5, the selected route is switched to another selectable route in step 507. Host 201
In the case of transmission from the host to the host 206, the route A and the route B are switched. In step 508, it is determined whether all the divided data have been transmitted, and if the divided data remains, the process returns to step 504.

【0044】本実施例に於ける受信側ホストにおける処
理は第1の実施例と同じである。
The processing in the receiving side host in this embodiment is the same as that in the first embodiment.

【0045】本実例によっても第1の実施例と同様の効
果を得ることができる。
Also in this example, the same effect as that of the first example can be obtained.

【0046】[その他の実施例]本発明は上述した実施
例に限定されるものではない。例えば、上述の実施例で
は伝送経路の状態を判別する手段として伝送レートによ
り状態判別しているが、これは伝送路の能力を判定でき
るものであればよく、データを送出する際の衝突回数を
測定して用いても良い。また、上述の実施例ではホスト
がルータを兼ねている場合のみを挙げたが、勿論、専用
のルータを用いる場合でも構わない。
[Other Embodiments] The present invention is not limited to the above embodiments. For example, in the above-described embodiment, the state is determined by the transmission rate as a means for determining the state of the transmission path. However, this can be determined as long as it can determine the capacity of the transmission path, and the number of collisions when sending data can be determined. It may be measured and used. Further, in the above-described embodiment, only the case where the host also serves as a router has been described, but it goes without saying that a dedicated router may be used.

【0047】[0047]

【発明の効果】以上詳述したように本発明によれば、送
信データが分割され、該分割したデータに前記送信デー
タを再構築するための情報が付加され、送信相手先まで
の伝送経路の状態が判別され、該判別した伝送経路の状
態に応じて伝送経路が選択され、該選択した伝送経路を
介して前記分割したデータの伝送が行われるので、伝送
時間の短縮化を図るとともに、トラフィックの特定箇所
への集中を抑制することができる。
As described in detail above, according to the present invention, transmission data is divided, information for reconstructing the transmission data is added to the divided data, and the transmission path to the transmission destination is added. The state is determined, the transmission route is selected according to the determined state of the transmission route, and the divided data is transmitted through the selected transmission route, so that the transmission time is shortened and the traffic is reduced. Can be suppressed from concentrating on a specific place.

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

【図1】本発明の実施例にかかるホストコンピュータの
ネットワークの一例を示す図である。
FIG. 1 is a diagram showing an example of a network of host computers according to an embodiment of the present invention.

【図2】本発明の第1の実施例にかかる送信側ホストに
おける処理のフローチャートである。
FIG. 2 is a flowchart of processing in a transmitting host according to the first embodiment of the present invention.

【図3】受信側ホストにおける処理のフローチャートで
ある。
FIG. 3 is a flowchart of processing in a receiving host.

【図4】本発明の第2の実施例にかかる送信側ホストに
おける処理のフローチャートである。
FIG. 4 is a flowchart of a process in a transmitting host according to a second embodiment of the present invention.

【図5】本発明の第3の実施例にかかる送信側ホストに
おける処理のフローチャートである。
FIG. 5 is a flowchart of processing in a transmitting host according to a third embodiment of the present invention.

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

201〜206 ホストコンピュータ 207〜210 ネットワーク 201-206 Host computer 207-210 Network

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 1つのホストコンピュータと他のホスト
コンピュータとの間でデータを送受信する場合に複数の
伝送経路が存在するネットワークに接続されるホストコ
ンピュータ間のデータ伝送方法において、 送信データを分割し、 該分割したデータに前記送信データを再構築するための
情報を付加し、 送信相手先までの伝送経路の状態を判別し、 該判別した伝送経路の状態に応じて伝送経路を選択し、 該選択した伝送経路を介して前記分割したデータの伝送
を行うことを特徴とするデータ伝送方法。
1. A data transmission method between host computers connected to a network having a plurality of transmission paths when data is transmitted and received between one host computer and another host computer. Information for reconstructing the transmission data is added to the divided data, the state of the transmission path to the transmission destination is determined, and the transmission path is selected according to the determined state of the transmission path, A data transmission method, wherein the divided data is transmitted via a selected transmission path.
【請求項2】 前記分割したデータの一部を伝送して伝
送レートを算出し、該算出した伝送レートに基づいて前
記伝送経路の状態を判別することを特徴とする請求項1
記載のデータ伝送方法。
2. A part of the divided data is transmitted to calculate a transmission rate, and the state of the transmission path is determined based on the calculated transmission rate.
Described data transmission method.
【請求項3】 前記算出した伝送レートを所定値と比較
し、前記伝送レートが前記所定値より低いとき伝送経路
の選択を変更することを特徴とする請求項2記載のデー
タ伝送方法。
3. The data transmission method according to claim 2, wherein the calculated transmission rate is compared with a predetermined value, and the selection of the transmission path is changed when the transmission rate is lower than the predetermined value.
【請求項4】 前記送信相手先までの伝送経路の数mを
判定し、前記送信データをm個のサイズの小さいデータ
と、1個のサイズの大きいデータとに分割し、前記サイ
ズの小さいデータを前記m個の伝送経路のそれぞれを介
して伝送することによりそれぞれの伝送経路の伝送レー
トを算出し、該算出した伝送レートが最も高い伝送経路
を介して前記サイズの大きいデータを伝送することを特
徴とする請求項2記載のデータ伝送方法。
4. The number m of transmission paths to the transmission destination is determined, the transmission data is divided into m small size data and one large size data, and the small size data is divided. Is transmitted through each of the m transmission paths, and the transmission rate of each transmission path is calculated, and the large size data is transmitted through the transmission path having the highest calculated transmission rate. The data transmission method according to claim 2, which is characterized in that.
【請求項5】 分割したデータを受信したときは、前記
再構築するための情報に基づいて、元のデータの再構築
を行うことを特徴とする請求項1乃至4のいずれかに記
載のデータ伝送方法。
5. The data according to claim 1, wherein when the divided data is received, the original data is reconstructed based on the information for reconstructing. Transmission method.
【請求項6】 1つのホストコンピュータと他のホスト
コンピュータとの間でデータを送受信する場合に複数の
伝送経路が存在するデータ伝送システムにおいて、 送信データを分割する分割手段と、 該分割したデータに前記送信データを再構築するための
情報を付加する情報付加手段と、 送信相手先までの伝送経路の状態を判別し、該判別した
伝送経路の状態に応じて伝送経路を選択する経路選択手
段と、 該選択した伝送経路を介して前記分割したデータの伝送
を行う分割データ伝送手段とを備えることを特徴とする
データ伝送システム。
6. In a data transmission system having a plurality of transmission paths when data is transmitted and received between one host computer and another host computer, a dividing means for dividing transmission data, and the divided data. Information adding means for adding information for reconstructing the transmission data, and path selecting means for judging the state of the transmission path to the transmission destination and selecting the transmission path according to the judged state of the transmission path. A divided data transmission means for transmitting the divided data via the selected transmission path.
【請求項7】 前記経路選択手段は、前記分割したデー
タの一部を伝送して伝送レートを算出し、該算出した伝
送レートに基づいて前記伝送経路の状態を判別すること
を特徴とする請求項6記載のデータ伝送システム。
7. The route selection means transmits part of the divided data to calculate a transmission rate, and determines the state of the transmission route based on the calculated transmission rate. Item 6. The data transmission system according to Item 6.
【請求項8】 前記経路選択手段は、前記算出した伝送
レートを所定値と比較し、前記伝送レートが前記所定値
より低いとき伝送経路の選択を変更することを特徴とす
る請求項7記載のデータ伝送システム。
8. The route selecting means compares the calculated transmission rate with a predetermined value, and changes the transmission route selection when the transmission rate is lower than the predetermined value. Data transmission system.
【請求項9】 前記分割手段は、前記送信相手先までの
伝送経路の数mを判定し、前記送信データをm個のサイ
ズの小さいデータと、1個のサイズの大きいデータとに
分割し、前記経路選択手段は、前記サイズの小さいデー
タを前記m個の伝送経路のそれぞれを介して伝送するこ
とによりそれぞれの伝送経路の伝送レートを算出し、該
算出した伝送レートが最も高い伝送経路を選択し、前記
分割データ伝送手段は、該選択した伝送経路を介して前
記サイズの大きいデータを伝送することを特徴とする請
求項7記載のデータ伝送システム。
9. The dividing means determines the number m of transmission paths to the transmission destination, and divides the transmission data into m pieces of small size data and 1 piece of large size data, The route selection means calculates the transmission rate of each transmission route by transmitting the small size data through each of the m transmission routes, and selects the transmission route with the highest calculated transmission rate. The data transmission system according to claim 7, wherein the divided data transmission means transmits the large size data via the selected transmission path.
【請求項10】 分割したデータを受信したときは、前
記再構築するための情報に基づいて、元のデータの再構
築を行う再構築手段を備えることを特徴とする請求項6
乃至9のいずれかに記載のデータ伝送システム。
10. The reconstructing means for reconstructing the original data based on the information for reconstructing when the divided data is received.
10. The data transmission system according to any one of 9 to 9.
【請求項11】 1つのホストコンピュータと他のホス
トコンピュータとの間でデータを送受信する場合に複数
の伝送経路が存在するネットワークに接続されるホスト
コンピュータにおいて、 送信データを分割する分割手段と、 該分割したデータに前記送信データを再構築するための
情報を付加する情報付加手段と、 送信相手先までの伝送経路の状態を判別し、該判別した
伝送経路の状態に応じて伝送経路を選択する経路選択手
段と、 該選択した伝送経路を介して前記分割したデータの伝送
を行う分割データ伝送手段とを備えることを特徴とする
ホストコンピュータ。
11. A dividing means for dividing transmission data in a host computer connected to a network having a plurality of transmission paths when transmitting and receiving data between one host computer and another host computer, Information adding means for adding information for reconstructing the transmission data to the divided data and the state of the transmission path to the transmission destination, and the transmission path is selected according to the determined state of the transmission path. A host computer comprising: a route selecting means; and a divided data transmitting means for transmitting the divided data via the selected transmission route.
【請求項12】 分割したデータの受信したときは、前
記再構築するための情報に基づいて、元のデータの再構
築を行う再構築手段を備えることを特徴とする請求項1
1記載のホストコンピュータ。
12. The reconstructing means for reconstructing the original data based on the information for reconstructing when the divided data is received.
1. The host computer described in 1.
JP7119152A 1995-04-20 1995-04-20 Method and system for data transmission Pending JPH08293874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7119152A JPH08293874A (en) 1995-04-20 1995-04-20 Method and system for data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7119152A JPH08293874A (en) 1995-04-20 1995-04-20 Method and system for data transmission

Publications (1)

Publication Number Publication Date
JPH08293874A true JPH08293874A (en) 1996-11-05

Family

ID=14754213

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7119152A Pending JPH08293874A (en) 1995-04-20 1995-04-20 Method and system for data transmission

Country Status (1)

Country Link
JP (1) JPH08293874A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8942262B2 (en) 2010-10-13 2015-01-27 Fuji Xerox Co., Ltd. Communication device, communication system and computer readable medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8942262B2 (en) 2010-10-13 2015-01-27 Fuji Xerox Co., Ltd. Communication device, communication system and computer readable medium

Similar Documents

Publication Publication Date Title
US5398012A (en) Distributed processing of route selection across networks and subnetworks
US6260070B1 (en) System and method for determining a preferred mirrored service in a network by evaluating a border gateway protocol
US7200596B2 (en) System and method for information retrieval regarding services
US8566445B2 (en) Method and apparatus for load balancing
US6446121B1 (en) System and method for measuring round trip times in a network using a TCP packet
EP3496346B1 (en) Data message forwarding method and apparatus
CN101815033B (en) Method, device and system for load balancing
JP5372809B2 (en) Dynamic routing of data transmission
CN105591974B (en) Message processing method, apparatus and system
CN111478850B (en) Gateway adjusting method and device
JP2003114879A (en) Method of keeping balance between message traffic and multi chassis computer system
WO2007149206A2 (en) Communicating packets between forwarding contexts using virtual interfaces
JP2009516279A (en) Method and system for coordinating routing information in a cluster of computer systems (sending routing data based on the time the server joined the cluster)
CN103888351B (en) The method and device of multiple sessions is managed in the network based on Multi-path route
CN111800501A (en) Method and device for processing service request, storage medium and electronic equipment
CN108234320A (en) Message transmitting method and interchanger
CN107317764A (en) The method and system of flow load balance
CN108401490A (en) A kind of network for formance measuring method and detecting devices
CN105763463B (en) Method and device for transmitting link detection message
CN101350772A (en) Method for selecting line of router with multiple WAN interfaces, system and router
CN110868747B (en) Method for detecting delay and automatically switching multiple network modes
US7783784B1 (en) Method and apparatus for adaptive selection of algorithms to load and spread traffic on an aggregation of network interface cards
JPH08293874A (en) Method and system for data transmission
CN115996188A (en) Service scheduling method, device, equipment and computer readable storage medium
Luo et al. A hotspot-pattern-aware routing algorithm for networks-on-chip