JP2001203749A - Device and system for high efficiency data transmission - Google Patents

Device and system for high efficiency data transmission

Info

Publication number
JP2001203749A
JP2001203749A JP2000011533A JP2000011533A JP2001203749A JP 2001203749 A JP2001203749 A JP 2001203749A JP 2000011533 A JP2000011533 A JP 2000011533A JP 2000011533 A JP2000011533 A JP 2000011533A JP 2001203749 A JP2001203749 A JP 2001203749A
Authority
JP
Japan
Prior art keywords
data
packet
buffer
transmission
packets
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.)
Withdrawn
Application number
JP2000011533A
Other languages
Japanese (ja)
Inventor
Suketada Futamura
祐地 二村
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2000011533A priority Critical patent/JP2001203749A/en
Publication of JP2001203749A publication Critical patent/JP2001203749A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To transmit a transmission unit in a forcedly short elapsed time, also to collectively transmit short data and to improve transmission efficiency by lowering the overhead of division transmission. SOLUTION: This system with a configuration which makes data from an inputting means redundant and encoded the and performs packet transmission, is provided with a buffer storing these data in the unit of a prescribed length, a data storing and forced transmission instructing means which performs force division encoding and makes a transmission instruction (S15) when a prescribed time passes from the initial time when the data are stored in an empty buffer (S14) and a data encoding dividing means which makes the data of a prescribed length from the buffer redundant and encoded.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、一般的にはパケッ
トでデータ通信を行う通信路において通信の信頼性を向
上するための技術に関し、より具体的には、インターネ
ットなど通信の所要時間が変化しやすく、また確実にパ
ケットが伝達されるとは限らないネットワークを用いて
通信を行う際に、通信の抜けや所要時間の変動を少な
く、かつ時間を短くし、通信の品質や効率を向上させる
技法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention generally relates to a technique for improving the reliability of communication in a communication path for performing data communication using packets, and more particularly, to the time required for communication such as the Internet. When communication is performed using a network that is easy to transmit and packets are not always transmitted reliably, communication loss and fluctuation of required time are reduced, time is shortened, and communication quality and efficiency are improved. About techniques.

【0002】[0002]

【従来の技術】パケットでデータ通信を行う通信路にお
いて通信の信頼性を向上するための技術としては一般
に、送信側では伝送したいデータを冗長化したうえで一
連の複数のパケットに分割して送信し、受信側では一連
のパケットの一部のみ受信しただけで送信側が伝送した
かったデータを復元できるようにすることで、送信側が
発送したパケットのうちいくつかは受信側に到達しなく
てもよいようにする技法が用いられている。
2. Description of the Related Art As a technique for improving the reliability of communication in a communication path in which data communication is performed by using packets, generally, on the transmission side, data to be transmitted is made redundant, divided into a series of plural packets, and transmitted. However, by enabling the receiver to recover the data that the sender wanted to transmit by only receiving a part of a series of packets, some of the packets sent by the sender could not reach the receiver. Better techniques are used.

【0003】たとえば、特開平8−228190「順送
エラー訂正システム及びその方法」に示される第1の従
来例を、図17を用いて説明する。
[0003] For example, a first conventional example shown in Japanese Patent Application Laid-Open No. Hei 8-228190 "Progressive error correction system and method" will be described with reference to FIG.

【0004】図20は、従来例1の実施の形態を示す構
成図であり、本図において、送信装置101及び受信装
置201は、データ端末装置(DTE)104及びデー
タ通信装置(DCE)105ならびにデータ端末装置
(DTE)204及びデータ通信装置(DCE)205
をそれぞれ介してデータを交換する。送信装置101及
び受信装置201は共通の電子構成要素を用いて実現さ
れる。電子構成要素は、マイクロプロセッサ110/2
10と、マイクロプロセッサに結合されたデジタル信号
処理装置(DSP)111/211と、これらの構成要
素間のタイミング信号を同期させる制御器112/21
2からなる。制御器112/212はまた、パケットが
確かに送受信されるようにするために、マイクロプロセ
ッサ110/210及びデジタル信号処理装置111/
211の監視を行う。
FIG. 20 is a block diagram showing an embodiment of the conventional example 1. In this figure, a transmitting apparatus 101 and a receiving apparatus 201 include a data terminal apparatus (DTE) 104, a data communication apparatus (DCE) 105, Data terminal equipment (DTE) 204 and data communication equipment (DCE) 205
Exchange data via each. The transmitting device 101 and the receiving device 201 are realized using common electronic components. The electronic components are microprocessor 110/2
10, a digital signal processor (DSP) 111/211 coupled to a microprocessor, and a controller 112/21 for synchronizing timing signals between these components.
Consists of two. The controller 112/212 also controls the microprocessor 110/210 and the digital signal processor 111/212 to ensure that packets are transmitted and received.
The monitoring of 211 is performed.

【0005】マイクロプロセッサ110/210は中央
処理装置(CPU)113/213とEEPROM(電
気的消去可能プログラム可能ROM)114/214と
RAM(ランダムアクセスメモリ) 115/215と
からなる。CPU113はEEPROM114に記憶さ
れたプログラムを実行し、送信装置101用にデータの
パケット化(パケット組み立て)、フレーム化、および
符号化を行い、M個のパリティパケットを形成するため
にN個の本来のパケットのうちから選択された数個のパ
ケットを組み合わせることでN個のパケットを符号化
し、N+M個のパケットからなるデータストリームを受
信装置201に送信するよう動作する。同様にCPU2
13はEEPROM214に記憶されたプログラムを実
行して、受信装置201用にデータのパケット分解、お
よび復号化を行い、データストリームにおけるN+M個
のパケットのうち少なくともN個のパケットが破壊され
ずに受信される限り、N個の本来のパケットを再構築す
るように動作する。なおN及びMの値は固定である必要
はなく、受信装置201で検出したエラーの数に応じて
動的に設定することが可能である。
The microprocessor 110/210 comprises a central processing unit (CPU) 113/213, an EEPROM (electrically erasable programmable ROM) 114/214, and a RAM (random access memory) 115/215. The CPU 113 executes a program stored in the EEPROM 114, performs packetization (packet assembly), framing, and encoding of data for the transmission device 101, and forms N parity packets to form M parity packets. N packets are encoded by combining several packets selected from the packets, and the data stream composed of N + M packets is transmitted to the receiving device 201. Similarly, CPU2
13 executes a program stored in the EEPROM 214 to perform packet disassembly and decoding of data for the receiving device 201, and at least N packets out of N + M packets in the data stream are received without being destroyed. As far as possible, it operates to reconstruct N original packets. Note that the values of N and M do not need to be fixed, and can be dynamically set according to the number of errors detected by the receiving device 201.

【0006】第1の従来例に示される技術では、N個の
パケットに対しM個のパリティパケットが生成され、送
信装置101から受信装置201へN+M個のパケット
が組となってデータストリームとして送信されるので、
送信装置101側にN個のパケットが揃うまで送信装置
101から受信装置201へデータストリームを送信す
ることができない。このためデータ端末装置(DTE)
104にパケットが時間軸上で間があいて届くと、早く
届いていたパケットはN個のパケットが揃うまで後から
届くパケットを待つことになり、全体のデータが全て届
くまでの伝送が遅れるという問題点があった。またN個
のパケットからM個のパリティパケットを生成する際に
は、各パケットの大きさが揃っていることが前提となる
ため、パケットの大きさが変動する場合には、N個のパ
ケットのうち最大の大きさ、あるいは更に余裕分を加算
した大きさに各パケットの長さをそろえる必要があり、
必要なパケット数Nより大きい、無駄なトラフィックが
生じるという問題があった。
In the technique shown in the first conventional example, M parity packets are generated for N packets, and N + M packets are transmitted from the transmitting apparatus 101 to the receiving apparatus 201 as a data stream. So that
The data stream cannot be transmitted from the transmitting device 101 to the receiving device 201 until N packets are collected on the transmitting device 101 side. Data terminal equipment (DTE)
If a packet arrives at 104 with a delay on the time axis, the packet that arrived earlier waits for a packet that arrives later until N packets are collected, and the transmission until all data arrives is delayed. There was a problem. When generating M parity packets from N packets, it is assumed that the size of each packet is uniform. It is necessary to make the length of each packet equal to the maximum size, or to the size obtained by adding a margin,
There is a problem that unnecessary traffic that is larger than the required number of packets N occurs.

【0007】本問題の解決を図るためになされた技術と
して、特開平9−64913「パケット通信のデータ保
証方法」に示される第2の従来例を、図18を用いて説
明する。図21は第2の従来例におけるシステム構成図
であり、(a)が同従来例を用いたデータ通信システム
を示すブロック図、(b)が同従来例のメモリの構成を
示す説明図である。図21(a)において、情報処理装
置300は演算処理を行うCPU301と、メモリ30
2と、通信網インターフェース(以下通信網I/F)3
03を有し、通信網I/F303を用いて通信網304
と接続され、他の情報処理装置300との通信が可能で
ある。
As a technique for solving this problem, a second conventional example shown in Japanese Patent Application Laid-Open No. 9-64913, entitled "Data Communication Assurance Method" will be described with reference to FIG. FIGS. 21A and 21B are system configuration diagrams in a second conventional example, in which FIG. 21A is a block diagram illustrating a data communication system using the same conventional example, and FIG. 21B is an explanatory diagram illustrating a configuration of a memory in the conventional example. . In FIG. 21A, an information processing apparatus 300 includes a CPU 301 for performing an arithmetic process and a memory 30.
2 and a communication network interface (hereinafter, communication network I / F) 3
And a communication network 304 using a communication network I / F 303.
, And can communicate with another information processing apparatus 300.

【0008】図21(b)には、各情報処理装置300
のメモリ302の構成が示されており、送信パケット3
10および受信パケット320に対して、それぞれフラ
グメント311および321が3つづつ設けられている
と共に、復元用フラグメント312および322が設け
られている。ここでフラグメント311、321、復元
用フラグメント312、322の大きさは、通信網30
4で送受信可能な最大のデータ長以下の大きさである。
3つのフラグメント311は、送信パケット310の内
容を3分割して生成され、また復元用フラグメント31
2は、3つのフラグメント311ないし復元用フラグメ
ント312のいずれか1つが失われても、送信パケット
310の内容が復元できるよう、3つのフラグメント3
11から所定の論理演算によって生成される。
[0008] FIG. 21B shows each information processing apparatus 300.
The configuration of the memory 302 of FIG.
10 and the received packet 320, three fragments 311 and 321 are provided, respectively, and restoration fragments 312 and 322 are provided. Here, the sizes of the fragments 311 and 321 and the restoration fragments 312 and 322 are
4 is smaller than the maximum data length that can be transmitted and received.
The three fragments 311 are generated by dividing the content of the transmission packet 310 into three, and the restoration fragment 31
2 is such that even if any one of the three fragments 311 or the restoration fragment 312 is lost, the contents of the transmission packet 310 can be restored.
11 is generated by a predetermined logical operation.

【0009】情報処理装置300では、前述のように送
信パケット310からフラグメント311および復元用
フラグメント312が生成され、通信網304を経由し
て他の情報処理装置300へ送信されるので、他の情報
処理装置300ではすべてのフラグメント321を受信
するか、3つのうち任意の2つのフラグメント321と
復元用フラグメント322を受信することで、受信パケ
ット320として送信パケット310と同じ内容の情報
を復元することができる。なお上記では1つの送信パケ
ット310の内容は3つのフラグメント311に分割さ
れるとしたが、これは一般にN個のフラグメント311
に分割されるとしてかまわず、Nの値は通信網304に
おけるフラグメントの損失率によって動的に設定するこ
とが可能である。
In the information processing apparatus 300, as described above, the fragment 311 and the restoration fragment 312 are generated from the transmission packet 310 and transmitted to the other information processing apparatus 300 via the communication network 304. By receiving all the fragments 321 or receiving any two of the three fragments 321 and the restoration fragment 322, the processing device 300 can restore the same information as the transmission packet 310 as the reception packet 320. it can. In the above description, the content of one transmission packet 310 is divided into three fragments 311. However, this is generally performed by N fragments 311.
The value of N can be dynamically set according to the fragment loss rate in the communication network 304.

【0010】第2の従来例に示される技術では、第1の
従来例と異なり、1つのパケットを元にデータの冗長化
を行うため、第1の従来例では発生しうるデータの伝送
遅れが解決される。しかし、第2の従来例では、フラグ
メント311に分割される前の送信パケット310の大
きさが通信網304で送受信可能な最大のデータ長以下
である場合、本来1つのフラグメントとして送信できる
情報を、多数のフラグメントに分割して送信することに
なる。この第2の従来例では、例えば所定のデータを設
定した分割数で送信している。このため近年の一般化し
つつあるデータ伝送速度の早い高速な通信網に本技術を
用いた場合、短いデータを常に短く分割すると、このよ
うな高速な通信網では分割のためのオーバヘッド負荷が
大きくなる。こうしてフラグメントの数がトラフィック
に大きく影響するため、伝送するフラグメントの数が大
きく増えることで無駄な時間がかかり、伝送効率という
問題がある。本問題は、例えば現在普及しつつある、ス
イッチングハブを用いて構築された100Mbpsない
し1GbpsのEthernet LAN上で、インタ
ーネットで使われるTCP/IPプロトコルに基づき生
成されたIPパケットに対し本技術を適用させた場合
に、しばしば容易に発生し得る。
In the technique shown in the second conventional example, unlike the first conventional example, data redundancy is performed based on one packet, so that the data transmission delay that may occur in the first conventional example is reduced. Will be resolved. However, in the second conventional example, when the size of a transmission packet 310 before being divided into fragments 311 is equal to or less than the maximum data length that can be transmitted and received on the communication network 304, information that can be transmitted as one fragment is It will be divided into many fragments and transmitted. In the second conventional example, for example, predetermined data is transmitted in a set division number. For this reason, when the present technology is used in a high-speed communication network with a high data transmission rate, which is becoming popular in recent years, if short data is always divided into short lengths, the overhead load for division in such a high-speed communication network increases. . In this way, the number of fragments greatly affects the traffic, so that the number of fragments to be transmitted greatly increases, so that wasteful time is required and there is a problem of transmission efficiency. The problem is to apply the present technology to IP packets generated based on a TCP / IP protocol used on the Internet, for example, on a 100 Mbps to 1 Gbps Ethernet LAN constructed using a switching hub, which is currently spreading. Can often easily occur.

【0011】[0011]

【発明が解決しようとする課題】従来技術の解決すべき
課題は、要約すれば第1の従来例に示されるように、デ
ータ内容を確保しようとすれば、冗長度を上げてかつ必
要パケット数を受信するまでに時間がかかり、第2の従
来例に示されるように、短いデータに分割して電送する
と伝送効率が低下するという課題があった。
The problems to be solved by the prior art are summarized as follows. As shown in the first prior art, if the data contents are to be ensured, the redundancy is increased and the required number of packets is increased. It takes a long time to receive the data, and as shown in the second conventional example, there is a problem that the transmission efficiency is reduced when the data is divided into short data and transmitted.

【0012】この発明は上記のような課題を解決するた
めになされたもので、伝送単位を強制的に短い経過時間
で送信し、かつ短いデータはまとめて送るので、データ
の伝送遅れと無駄なトラフィックの発生を抑えて、分割
伝送のオーバヘッド時間が少なく、通信品質を向上さ
せ、効率の良い伝送が行える。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems. Forcibly transmitting a transmission unit with a short elapsed time and transmitting short data at a time, a data transmission delay and a wasteful transmission are made. The generation of traffic is suppressed, the overhead time of divided transmission is reduced, the communication quality is improved, and efficient transmission can be performed.

【0013】[0013]

【課題を解決するための手段】この発明に係る高効率デ
ータ送信装置は、入力手段からのデータを冗長化、符号
化してパケット送信する構成において、これらデータを
所定長さ単位で記憶するバッファと、バッファが空の状
態からデータが記憶される最初の時間から所定の時間が
経過すると、強制分割符号化して送信指示するデータ蓄
積・強制送信指示手段と、バッファからの所定長データ
を冗長化、符号化するデータ符号化分割手段を備えた。
According to the present invention, there is provided a high-efficiency data transmitting apparatus, comprising: a buffer for storing data in a predetermined length unit in a configuration in which data from an input unit is redundantly encoded and transmitted; When a predetermined time elapses from the initial time at which data is stored from the empty state of the buffer, data accumulation / forced transmission instructing means for instructing transmission by forcibly dividing and encoding, and making predetermined-length data from the buffer redundant, Data encoding / division means for encoding is provided.

【0014】また更に、データ符号化分割手段は、所定
の時間が経過すると、送信データの所定長と、許容伝送
遅延時間に得られる伝送確率と、によりデータ長の分割
数と冗長度とを定めるようにした。
Still further, the data encoding / dividing means determines the number of data length divisions and the redundancy based on a predetermined length of the transmission data and a transmission probability obtained in an allowable transmission delay time after a predetermined time has elapsed. I did it.

【0015】また更に、データ蓄積・強制送信指示手段
は、許容伝送遅延時間に得られる伝送確率により所定の
時間を動的に変更するようにした。
Still further, the data storage / forced transmission instructing means dynamically changes the predetermined time according to the transmission probability obtained in the allowable transmission delay time.

【0016】また更に、パケット受信手段を備え、遅延
時間情報を得て、伝送確率を計算するようにした。
Still further, a packet receiving means is provided to obtain delay time information and calculate a transmission probability.

【0017】また更に、入力されるデータに分割結合可
否の識別子を加え、分割結合が可能な場合は、データを
バッファの所定長単位で記憶し、冗長化、符号化するよ
うにした。
Furthermore, an identifier indicating whether the data can be divided and combined is added to the input data, and when the data can be divided and combined, the data is stored in a predetermined length unit of the buffer, and the data is redundantly encoded.

【0018】また更に、入力されるデータにストリーム
を識別する識別子を加え、バッファは、ストリーム識別
子単位に記憶して、バッファのデータが所定長になると
冗長化、符号化して送信するようにした。
Still further, an identifier for identifying a stream is added to the input data, and the buffer is stored in units of stream identifiers, and when the data in the buffer reaches a predetermined length, the data is redundantly encoded and transmitted.

【0019】この発明に係る高効率データ伝送システム
は、入力手段からのデータを所定長さ単位で記憶するバ
ッファと、このバッファが空の状態からデータが記憶さ
れる最初の時間から所定の時間が経過すると強制分割符
号化して送信指示するデータ蓄積・強制送信指示手段
と、バッファからの所定長データを冗長化、符号化する
データ符号化分割手段を備えたデータ送信装置と、通信
路を介してデータ送信装置からのデータを受け、所定の
冗長度のデータが受信されると直ちに復号を開始するデ
ータ復号化手段を備えたデータ受信装置とで構成され
る。
A high-efficiency data transmission system according to the present invention comprises: a buffer for storing data from an input means in a unit of a predetermined length; and a predetermined time from an initial time at which data is stored when the buffer is empty. Via a communication path, a data storage / forced transmission instructing means for instructing transmission by forcibly dividing and encoding when the time elapses, and a data encoding and dividing means for making redundant and encoding predetermined length data from the buffer, It comprises a data receiving device provided with data decoding means for receiving data from the data transmitting device and immediately starting decoding when data of a predetermined redundancy is received.

【0020】[0020]

【発明の実施の形態】実施の形態1.データの細分パケ
ット化を抑え、かつ送信開始までの待機時間を抑えて伝
送効率を上げたシステムを説明する。図1はこの発明の
実施の形態1におけるシステム構成を示す図である。図
1において、データ送信手段1とデータ受信手段2は通
信路3で接続される。データ送信手段1はデータ入力手
段4と、新規重要要素であるデータ蓄積・強制送信指示
手段5と、バッファ6と、データ符号化分割手段7と、
パケット送信手段8を有し、データ受信手段2はパケッ
ト受信手段9と、データ復号化手段10と、データ出力
手段11を有する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 A system that suppresses packetization of data and suppresses the waiting time until the start of transmission to improve transmission efficiency will be described. FIG. 1 is a diagram showing a system configuration according to Embodiment 1 of the present invention. In FIG. 1, a data transmitting means 1 and a data receiving means 2 are connected by a communication path 3. The data transmission means 1 includes a data input means 4, a data storage / forced transmission instruction means 5, which is a new important element, a buffer 6, a data encoding division means 7,
The data receiving means 2 includes a packet receiving means 9, a data decoding means 10, and a data output means 11.

【0021】次に本実施の形態におけるシステムの動作
を図2を用いて説明する。動作説明をするための図2に
おいて、データ送信手段1では、データ入力手段4で受
け取った1ないし複数のデータ20は、まずデータ蓄積
・強制送信指示手段5の指示によりバッファ6に一旦蓄
えられる。データ蓄積・強制送信指示手段5は、バッフ
ァ6に蓄えているデータ20の中でもっとも古いデータ
が蓄えられた時から時間Tが経過すると、蓄えたデータ
符号化分割手段7に渡す。データ符号化分割手段7で
は、まずデータ蓄積・強制送信指示手段5から渡された
データ20をN個(図2ではN=2)のパケット21に
分割し、次いでデータの冗長化のためにN個のパケット
21からM個(図2ではM=1)のパリティ情報を保持
するパケット21を、N+M個のパケット21のいずれ
かN個のパケット21のみ得ることができれば元のデー
タ20を復号化できるように、符号化して生成する。そ
の後データ符号化分割手段7は、パケット送信手段8を
用いて通信路3に送信する。
Next, the operation of the system according to the present embodiment will be described with reference to FIG. In FIG. 2 for explaining the operation, in the data transmission means 1, one or a plurality of data 20 received by the data input means 4 are temporarily stored in the buffer 6 according to the instruction of the data accumulation / forced transmission instruction means 5. The data accumulation / forced transmission instructing means 5 passes the data encoding / dividing means 7 when the time T has elapsed from the time when the oldest data among the data 20 stored in the buffer 6 is stored. The data encoding / dividing means 7 first divides the data 20 passed from the data accumulation / forced transmission instructing means 5 into N (N = 2 in FIG. 2) packets 21 and then divides the data into N packets 21 for redundancy. The original data 20 is decoded if the packet 21 holding M parity information (M = 1 in FIG. 2) can be obtained from any of the N packets 21 out of the N packets M 21. Encode and generate as possible. After that, the data coding division unit 7 transmits the data to the communication channel 3 using the packet transmission unit 8.

【0022】通信路3に送信されたN+M個のパケット
21はデータ受信手段2のパケット受信手段9によって
受信され、データ復号化手段10に渡される。パケット
送信手段8によって送信されたN+M個のパケット21
は送信された順に届くとは限らず、また各パケット21
の伝送に要する時間も一定とは限らず、一部は喪失しデ
ータ復号化手段10に渡されないことがありえるが、デ
ータ復号化手段10では、N+M個のパケット21の組
みのうち、いずれかのN個のパケット21からでも元の
データ20の復号化が可能であるため、データ復号化手
段10ではデータ受信手段2からいずれかのN個のパケ
ット21が渡された時点でデータの復号化処理を行い、
再構築したデータ21をデータ出力手段11を用いて出
力する。
The N + M packets 21 transmitted to the communication path 3 are received by the packet receiving means 9 of the data receiving means 2 and passed to the data decoding means 10. N + M packets 21 transmitted by the packet transmitting means 8
Do not always arrive in the order in which they were sent.
The time required for the transmission of the data is not necessarily constant, and it is possible that some of the data may be lost and not passed to the data decoding means 10. Since the original data 20 can be decoded from the N packets 21, the data decoding unit 10 performs the data decoding process when any of the N packets 21 is passed from the data receiving unit 2. Do
The reconstructed data 21 is output using the data output means 11.

【0023】本実施の形態におけるデータ蓄積・強制送
信指示手段5の動作を示すフローチャートを図3に示
す。データ蓄積・強制送信指示手段5の最初の処理ステ
ップS10では、まず最初にデータ入力手段4からデー
タ20を受け取ると(以下、ステップの記述を省略、S
11)、受け取ったデータ20を内部のバッファ6に蓄
積する(S12)とともに受け取った時の時間を一旦保
存する(S13)。その後時間Tが経過したら(S14
のYes)バッファ6に蓄積したデータ20をデータ符
号化分割手段7に渡し(S15)、バッファ6を空にし
て(S16)、再度データ入力手段4から新しいデータ
20を受け取る処理に戻る(S11)。一方時間Tが経
過する前に(S14のNo)データ入力手段4から新た
なデータ20を受け取ると(S17のYes)、必要な
データ量に達するまで内部のバッファ6に追加して蓄積
する(S18)。
FIG. 3 is a flowchart showing the operation of the data storage / forced transmission instruction means 5 in the present embodiment. In the first processing step S10 of the data accumulation / forced transmission instructing means 5, first, when the data 20 is received from the data input means 4 (hereinafter, the description of the steps is omitted, S
11) The received data 20 is stored in the internal buffer 6 (S12), and the time at which it was received is temporarily stored (S13). Thereafter, when the time T has elapsed (S14
Yes) The data 20 accumulated in the buffer 6 is passed to the data encoding / dividing unit 7 (S15), the buffer 6 is emptied (S16), and the process returns to the process of receiving new data 20 from the data input unit 4 again (S11). . On the other hand, if new data 20 is received from the data input means 4 before the time T elapses (No in S14) (Yes in S17), the new data 20 is additionally stored in the internal buffer 6 until the required data amount is reached (S18). ).

【0024】本実施の形態におけるデータ符号化分割手
段7及びデータ復号化手段10の動作を図4及び図5を
用いて説明する。データ符号化分割手段7では、一般に
データの冗長化のために用いられる各種の方式を用いる
ことができる。例えばM=1の場合、排他的論理和を用
いたパリティ方式を採用することができる。以降ではN
=2、M=1として排他的論理和を用いたパリティ方式
を採用した場合の動作を説明する。なおデータを冗長化
したり分割する際の単位としては、一般にビット、バイ
ト、4バイトなどの種々の単位を設定するすることがで
き、これらも任意の単位を採用することが可能である
が、どの単位を採用しても本発明の効果は変わらないこ
とから、以降では、説明のわかりやすさのためバイト単
位でデータを取り扱うこととして動作を説明する。
The operation of the data encoding / dividing means 7 and the data decoding means 10 according to the present embodiment will be described with reference to FIGS. The data encoding / dividing means 7 can use various methods generally used for data redundancy. For example, when M = 1, a parity method using exclusive OR can be adopted. N
= 2, M = 1, and the operation when the parity method using the exclusive OR is adopted. In general, various units such as bits, bytes, and 4 bytes can be set as units for making data redundant or divided, and any of these units can be used. Since the effect of the present invention does not change even when the unit is adopted, the operation will be described below assuming that data is handled in byte units for easy understanding of the description.

【0025】図4はN=2、M=1とした排他的論理和
を用いたパリティ方式によるデータ符号化分割手段7の
動作の説明図である。データ符号化分割手段7では、ま
ずデータ蓄積・強制送信指示手段5から送信指示された
データ20を、N=2個の等しい大きさの部分データA
22、B22に分割する。なおこのとき、データ20
の大きさがN=2で割り切れなければ、データ20の大
きさに対しNの剰余を取ったバイト数分の値0のデータ
を追加してから分割する。次にN=2個の部分データ2
2について、それぞれ同じ位置のビットの排他的論理和
を求め、その結果から部分データと同じ大きさのパリテ
ィデータP 23を生成する(図4(a))。そして生
成したN=2個の部分データA 22、B 22とM=
1個のパリティデータP 23に対し、ID番号と全体
のデータの大きさ、そして全体のデータに対し各部分デ
ータの先頭位置を示す値(パリティデータの場合はその
旨を示す値として−1)を付加し、パケット21を生成
する(図4(b))。
FIG. 4 is an explanatory diagram of the operation of the data encoding / dividing means 7 based on a parity method using exclusive OR with N = 2 and M = 1. The data encoding / dividing means 7 first divides the data 20 instructed to be transmitted from the data accumulation / forced transmission instructing means 5 by N = 2 equal-size partial data A
22 and B22. At this time, data 20
If the size of N is not divisible by N = 2, the data 20 is divided after adding data of the value 0 corresponding to the number of bytes obtained by taking the remainder of N to the size of the data 20. Next, N = 2 partial data 2
2, the exclusive OR of the bits at the same position is calculated, and parity data P23 having the same size as the partial data is generated from the result (FIG. 4A). Then, the generated N = 2 pieces of partial data A 22 and B 22 and M =
For one piece of parity data P23, an ID number, the size of the entire data, and a value indicating the head position of each partial data with respect to the entire data (-1 in the case of parity data, a value indicating that). To generate a packet 21 (FIG. 4B).

【0026】図5は上記データ符号化分割手段7に対応
するデータ復号化手段10の動作の説明図である。パケ
ット受信手段9から渡されたパケット21のうちID番
号の同じパケット21がデータ復号処理の対象となる。
受け取ったパケット21のうち、ID番号を同じくする
N=2個のパケット21が共に部分データ22を保持す
るパケット21である場合、単に両パケット21の保持
する部分データA 22、B 22を結合することでデ
ータ20の復元を行う(図5(a))。一方、ID番号
を同じくするN=2個のパケット21の1つが部分デー
タ22を保持するパケット21であり他の1つがパリテ
ィデータ23を保持するパケット21である場合は、パ
ケット21の保持する部分データA 22とパリティデ
ータP23の同じ位置のビットの排他的論理和を求め、
その結果から受信していない部分データB 22を再現
し、その後受信した部分データA 22と再現した部分
データB 22を結合することで、データ20の復元を
行う(図5(b))。
FIG. 5 is an explanatory diagram of the operation of the data decoding means 10 corresponding to the data encoding / dividing means 7. Among the packets 21 passed from the packet receiving means 9, the packets 21 having the same ID number are subjected to the data decoding processing.
When N = 2 packets 21 having the same ID number among the received packets 21 are both packets 21 holding the partial data 22, the partial data A 22 and B 22 held by both packets 21 are simply combined. Thus, the data 20 is restored (FIG. 5A). On the other hand, if one of the N = 2 packets 21 having the same ID number is the packet 21 holding the partial data 22 and the other one is the packet 21 holding the parity data 23, the packet held by the packet 21 The exclusive OR of the bits at the same position of the data A 22 and the parity data P23 is obtained,
The data 20 is restored by reproducing the partial data B 22 that has not been received from the result and then combining the received partial data A 22 with the reproduced partial data B 22 (FIG. 5B).

【0027】本実施の形態のシステムは、上記のように
動作するので、例えば通信路3においてパケットがパケ
ット送信手段8からパケット受信手段9に時間Td以内
に届く確率が0.9の場合、データを冗長化せず単に2
つのパケットで送った場合データ全体が時間Td以内に
届く確率は0.81となるのに対し、N=2、M=1と
して2+1での冗長化を行ったことによりデータ全体が
時間Td以内に届く確率が0.972へと向上する。加
えてデータ送信手段1での処理内容及びデータ受信手段
2の処理内容は、データ蓄積・強制送信指示手段5でデ
ータを一定時間保持することを以外は、従来例1及び2
の処理内容と比較して特段に複雑ではない。このためそ
の処理時間は従来技術と大きく変わるものではなく、通
信路3でのパケット通信遅延時間に対し十分に短く、か
つバッファ6にデータが滞在する時間は高々時間Tに押
さえられるので、データ入力手段4に入力されたデータ
がデータ出力手段11から得られるまでの時間は、最大
でおおよそ通信路3での通信遅延時間とデータ蓄積・強
制送信指示手段5が指示する時間Tの和となり、例えば
確率0.972でデータ入力手段4に入力されたデータ
がデータ出力手段11から得られるまでの時間を時間T
d+T以下と保証してデータの伝送遅れを抑制できる。
Since the system of the present embodiment operates as described above, for example, if the probability that a packet arrives from the packet transmitting means 8 to the packet receiving means 9 within the time Td in the communication path 3 is 0.9, the data Without redundancy
The probability that the entire data will arrive within the time Td when sent in one packet will be 0.81, whereas the entire data will be within the time Td by performing N + 1, M = 1 and 2 + 1 redundancy. The probability of arrival increases to 0.972. In addition, the processing contents of the data transmitting means 1 and the processing contents of the data receiving means 2 are the same as those of the conventional examples 1 and 2 except that the data storage / compulsory transmission instructing means 5 holds data for a certain time.
Is not particularly complicated as compared with the processing contents of Therefore, the processing time is not much different from that of the prior art, and is sufficiently short with respect to the packet communication delay time in the communication path 3 and the time during which data stays in the buffer 6 can be suppressed to T at most. The time required for the data input to the means 4 to be obtained from the data output means 11 is at most approximately the sum of the communication delay time on the communication path 3 and the time T instructed by the data accumulation / forced transmission instructing means 5. The time required for data input to the data input means 4 to be obtained from the data output means 11 with a probability of 0.972 is represented by time T
Data transmission delay can be suppressed by assuring d + T or less.

【0028】また本実施の形態では、データ入力手段4
で得たデータがデータ蓄積・強制送信指示手段5の指示
により一旦バッファ6に蓄えられてからデータ符号化分
割手段7に渡され、符号化とパケット化がなされるの
で、バッファ6に蓄えずに個別に符号化とパケット化を
行う場合に比べ生成するパケット数が格段に少なくな
り、無駄なトラフィックの発生を抑える。さらに本実施
の形態では、パケットの大きさを揃えるために付加する
データは、高々N−1バイトとデータ全体の大きさに対
し十分小さな値とすることができ、この点でも無駄なト
ラフィックの発生を抑制することができる。
In this embodiment, the data input means 4
Is temporarily stored in the buffer 6 according to the instruction of the data accumulation / forced transmission instructing means 5 and then passed to the data encoding / dividing means 7 where the data is encoded and packetized. The number of packets to be generated is significantly reduced as compared to the case where encoding and packetization are individually performed, and the generation of useless traffic is suppressed. Furthermore, in the present embodiment, the data added to make the packet size uniform can be at most N-1 bytes, which is a value sufficiently smaller than the entire data size. Can be suppressed.

【0029】なお上記では、データ符号化分割手段7及
びデータ復号化手段10で用いる冗長化の方式として、
N=2、M=1として排他論理和を用いたパリティ方式
を用いるように動作したが、N>2であっても同様の処
理により排他論理和を用いたパリティ方式を採用するこ
とができ、本実施の形態とおなじ効果を得ることができ
る。またM>1の場合は、一般なN及びMの値に対応し
た方式として例えばリードソロモン方式を用いることが
でき、あるいは他の方式を採用しても同じ効果を得るこ
とができる。またN=1、M=1の場合は複製による冗
長化を採用することができ、やはり同じ効果を得ること
ができる。
In the above description, the redundancy method used in the data encoding / dividing means 7 and the data decoding means 10 is as follows.
N = 2, M = 1 and the parity system using the exclusive OR is operated. However, even when N> 2, the parity system using the exclusive OR can be adopted by the same processing. The same effect as in the present embodiment can be obtained. When M> 1, for example, a Reed-Solomon method can be used as a method corresponding to general values of N and M, or the same effect can be obtained by adopting another method. When N = 1 and M = 1, redundancy by duplication can be adopted, and the same effect can be obtained.

【0030】さらに上記では、データ符号化分割手段7
は、データ蓄積・強制送信指示手段5から渡されたデー
タ20をまずN個の部分データ22へ分割し、次いで冗
長化の処理でM個のパリティデータ23を生成する動作
としたが、これをまず渡されたデータ20をN+M個の
パケット21に分割可能なデータへ冗長化の処理を行
い、次いでN+M個のパケット21に分割してもよく、
一般にいずれかN個のパケット21を得れば元のデータ
が復元できるようにN+M個のパケット21を生成する
同様な方式を採用しても、同じ効果が得られる。
Further, in the above, the data encoding / dividing means 7
Is an operation of first dividing the data 20 passed from the data accumulation / forced transmission instructing means 5 into N pieces of partial data 22 and then generating M pieces of parity data 23 by a redundancy process. First, the passed data 20 may be subjected to redundancy processing into data that can be divided into N + M packets 21, and then divided into N + M packets 21.
In general, the same effect can be obtained even if a similar method of generating N + M packets 21 is adopted so that the original data can be restored if any N packets 21 are obtained.

【0031】図6は本実施の形態における、他のデータ
蓄積・強制送信指示手段5bの動作を示すフローチャー
トである。時間Tに加えて、バッファ6の長さによって
も強制送信を行うデータ蓄積・強制送信指示手段5bの
動作を図6に基づいて説明する。本実施の形態における
データ蓄積・強制送信指示手段5の処理S20からS1
6のループは図3と同様に動作する。その後時間Tが経
過していなくても(S14のNo)バッファ6に蓄積さ
れているデータ20の大きさが一定値L以上であれば
(S21のYes)、バッファ6に蓄積したデータ20
をデータ符号化分割手段7に渡し(S15)、バッファ
6を空にして(S16)、再度データ入力手段4から新
しいデータ20を受け取る処理に戻る(S11)。一方
時間Tが経過する前で(S14のNo)かつバッファ6
に蓄積されているデータ20の大きさが一定値L未満で
あれば(S21のNo)、データ入力手段4から新たな
データ20を受け取ると(S17のYes)、内部のバ
ッファ6に追加して蓄積する(S18)。
FIG. 6 is a flowchart showing the operation of another data storage / forced transmission instructing means 5b in the present embodiment. The operation of the data storage / forced transmission instructing means 5b for forcibly transmitting data according to the length of the buffer 6 in addition to the time T will be described with reference to FIG. Processing S20 to S1 of data accumulation / forced transmission instructing means 5 in the present embodiment
The loop of FIG. 6 operates similarly to FIG. Even if the time T has not elapsed (No in S14), if the size of the data 20 stored in the buffer 6 is equal to or larger than the predetermined value L (Yes in S21), the data 20 stored in the buffer 6
Is passed to the data encoding division unit 7 (S15), the buffer 6 is emptied (S16), and the process returns to the process of receiving new data 20 from the data input unit 4 (S11). On the other hand, before the time T elapses (No in S14) and the buffer 6
If the size of the data 20 stored in the data input unit 4 is smaller than the fixed value L (No in S21), when new data 20 is received from the data input unit 4 (Yes in S17), the new data 20 is added to the internal buffer 6. It is stored (S18).

【0032】即ち、バッファ6として必要な大きさを、
一定値Lとデータ入力手段4から一度に渡されるデータ
20の最大の大きさの和に限定することができ、またデ
ータ符号化分割手段7に渡すデータ20の大きさも最大
で上記大きさに制限するため、処理の効率が向上する。
さらにデータ入力手段4へのデータ入力頻度が高い場合
は、一定時間Tが経過しなくともデータの送信処理が行
われる。
That is, the size required for the buffer 6 is
The sum can be limited to the sum of the constant value L and the maximum size of the data 20 passed at one time from the data input means 4, and the size of the data 20 passed to the data encoding / dividing means 7 is also limited to the above-mentioned size at the maximum. Therefore, the efficiency of the processing is improved.
Further, when the frequency of data input to the data input means 4 is high, the data transmission processing is performed even if the fixed time T does not elapse.

【0033】1パケットとしてデータをまとめる単位
は、短いと第2の従来例のようにオーバヘッド負荷が大
きくなり分割損が生じる。長すぎると伝送終了までの時
間がかかる。一方、データは必ずしも適当な長さとは限
らない。本実施の形態は、最適パケット長にバッファ長
を定め、その単位にデータをまとめる。図7は実施の形
態1における、更に他のデータ蓄積・強制送信指示手段
の動作を示すフローチャートである。以下の説明におい
て、データ蓄積・強制送信指示手段5以外の動作は、実
施の形態1で示した図1、図2、図4、図5と同じであ
るためその説明を省略する。
If the unit for compiling data as one packet is short, the overhead load increases and a division loss occurs as in the second conventional example. If it is too long, it takes time to complete the transmission. On the other hand, data is not always of an appropriate length. In the present embodiment, the buffer length is determined as the optimum packet length, and data is collected in the unit. FIG. 7 is a flowchart showing the operation of still another data storage / forced transmission instructing means in the first embodiment. In the following description, operations other than the data accumulation / forced transmission instructing means 5 are the same as those shown in FIGS. 1, 2, 4, and 5 shown in the first embodiment, and a description thereof will be omitted.

【0034】図7のフローにおいて、データ入力手段4
で受け取ったデータ20を、所定の最適分割長にバッフ
ァ長を定めておいて、そのバッファにデータが蓄積され
ると伝送を開始するようにした。具体的には図7におい
て、データ蓄積・強制送信指示手段5cの処理S30か
ら始まり、まず最初にデータ入力手段4からデータ20
を受け取り(S11)、次にバッファ6が空であれば
(S31のYes)データ20を受け取った時の時間を
一旦保存する(S13)。そしてその後、バッファ6の
空きサイズ分まで受け取ったデータ20をバッファ6に
保存する(S31)。この結果、バッファ6に蓄積され
ているデータ20の大きさが一定値Lを超えていたら
(S21のYes)、あるいはバッファ6に蓄積されて
いるデータ20の大きさが一定値Lを超えていなくとも
(S21のNo)保存した時間から時間Tが経過してい
たら(S14のYes)、バッファ6に蓄積したデータ
20をデータ符号化分割手段7に渡し(S15)、バッ
ファ6を空にする(S16)。
In the flow of FIG. 7, the data input means 4
The buffer length of the data 20 received in step (1) is set to a predetermined optimal division length, and transmission is started when data is accumulated in the buffer. Specifically, in FIG. 7, the processing starts from the processing S30 of the data accumulation / forced transmission instructing means 5c.
(S11), and if the buffer 6 is empty (Yes in S31), the time when the data 20 is received is temporarily stored (S13). Then, the data 20 received up to the empty size of the buffer 6 is stored in the buffer 6 (S31). As a result, if the size of the data 20 stored in the buffer 6 exceeds the predetermined value L (Yes in S21), or if the size of the data 20 stored in the buffer 6 does not exceed the predetermined value L In both cases (No in S21), if the time T has elapsed from the stored time (Yes in S14), the data 20 accumulated in the buffer 6 is passed to the data encoding and dividing means 7 (S15), and the buffer 6 is emptied ( S16).

【0035】その後受け取ったデータ20にまだバッフ
ァ6に保存していない部分があれば(S33のYe
s)、データ20のうちまだバッファ6に保存していな
い部分を新たにデータ入力手段4で受け取ったデータ2
0とみなし(S34)、再度処理を繰り返す(S3
1)。一方、受け取ったデータ20をすべてバッファ6
に保存しており(S33のNo)、データ入力手段4か
ら新しいデータ20があれば(S17のYes)、新た
にデータ入力手段4からデータ20を受け取り(S1
1)処理を継続する。そして受け取ったデータ20をす
べてバッファ6に保存しており(S33のNo)、デー
タ入力手段4から新しいデータ20もない場合は(S1
7のNo)、保存した時間から時間Tが経過しているか
の判断に戻る(S14)。
If there is a portion of the received data 20 which has not yet been stored in the buffer 6 (Yes in S33)
s) The part of the data 20 that has not yet been stored in the buffer 6 is the data 2 newly received by the data input means 4.
0 (S34) and the process is repeated again (S3
1). On the other hand, all received data 20 are stored in buffer 6
(No in S33), if there is new data 20 from the data input means 4 (Yes in S17), the data 20 is newly received from the data input means 4 (S1).
1) Continue the process. Then, all the received data 20 is stored in the buffer 6 (No in S33), and if there is no new data 20 from the data input means 4 (S1).
(No in 7), the process returns to the determination as to whether the time T has elapsed from the stored time (S14).

【0036】以上のように、バッファ6として必要な大
きさを、一定値Lに限定することができ、またデータ符
号化分割手段7に渡すデータの大きさも最大で上記大き
さに制限することができるため、データ蓄積・強制送信
指示手段5及びデータ符号化分割手段7の処理に必要な
作業領域の大きさを適切に制限することが可能となる。
このため、処理の効率がよくなり、またデータ入力手段
4へのデータ入力頻度が高い場合は、一定時間Tが経過
しなくともデータの送信処理が行われる。
As described above, the size required for the buffer 6 can be limited to the fixed value L, and the size of the data to be passed to the data encoding / dividing means 7 can be limited to the above-mentioned size at the maximum. Therefore, it is possible to appropriately limit the size of the work area required for the processing of the data accumulation / forced transmission instructing means 5 and the data encoding / dividing means 7.
For this reason, the processing efficiency is improved, and when the frequency of data input to the data input unit 4 is high, the data transmission processing is performed even if the fixed time T does not elapse.

【0037】実施の形態2.データの伝送単位は、伝送
路の混雑度と品質によって長短を可変する事が望まし
い。誤りが多ければ伝送単位のデータ長を短くし、誤り
が少ないと分割損を避けるためデータ長くすればよい。
その際も時間制限を設けて完了時間は短くする。図8
は、この発明の実施の形態2における、動作フローチャ
ートである。即ち、データ符号化分割手段7において、
データ蓄積・強制送信指示手段5dから渡されたデータ
20を、N+M個のパケット21に符号化及び分割する
ときのN及びMの値の調整方式を示している。本実施の
形態のシステム構成、及びデータ符号化分割手段7にお
けるN及びMの値の調整方式を除く動作は、実施の形態
1で示した図1〜図5と同じであるためその説明を省略
する。
Embodiment 2 It is desirable that the length of the data transmission unit be variable depending on the congestion degree and quality of the transmission path. If the number of errors is large, the data length of the transmission unit may be shortened. If the number of errors is small, the data may be lengthened to avoid division loss.
At this time, a time limit is provided to shorten the completion time. FIG.
9 is an operation flowchart according to Embodiment 2 of the present invention. That is, in the data encoding and dividing means 7,
It shows a method of adjusting the values of N and M when encoding and dividing the data 20 passed from the data accumulation / forced transmission instructing means 5d into N + M packets 21. The system configuration of the present embodiment and the operation of the data encoding / dividing means 7 except for the method of adjusting the values of N and M are the same as those in FIGS. I do.

【0038】本処理S40から始まって、まず、許容さ
れる最大遅延時間Thとその達成確率Phを元に、データ
蓄積・強制送信指示手段5でバッファ6内にデータ20
が滞在する最大時間Tを考慮し、通信路3での通信遅延
時間に対するパケット到達率の分布から、通信遅延時間
Th−T以内にパケットが受信されるパケットの到達率P
dを求める(S41)。次に、データ蓄積・強制送信指
示手段5から渡されたデータ20の大きさLd及びパケ
ット送信手段8が通信路3に送信するパケット21が含
むことのできる最大のデータの大きさLpから、Ld/
Lp≦Nminを満たす最小分割数Nminを求める(S4
2)。次いで、N≧Nmin、M≧1、Ph≦ΣM i=0N+MC
i・(1−Pd)i・PdN+M-i)を満たし、かつN/(N
+M)をできるだけ大きな値とし、またN+Mをできる
だけ小さな値とするN及びMを求める(S43)。ただ
しここで、ΣM i=0N+MCi・(1−Pd)i・P
N+M-i)は、N+M個のパケット21を送信しN個以
上のパケット21が時間Th−T以内に受信される確率
を示す式である。また通信路3に対するトラフィックと
してパケットの数よりパケットの大きさの影響が大きい
ときは、N+Mに対する評価よりもN/(N+M)に対
する評価を重視し、また逆に通信路3に対するトラフィ
ックとしてパケットの大きさよりパケットの数の影響が
大きいときは、N/(N+M)対する評価よりもN+M
に対する評価を重視してN及びMの値を定めることとす
る。その後、上記処理により求めたN及びMの値に基づ
き、データ符号化分割手段7はデータ蓄積・強制送信指
示手段5から渡されるデータ20の符号化及び分割を行
い、パケット21を生成する。
Starting from this processing S40, first, based on the maximum allowable delay time Th and its achievement probability Ph, the data storage / forcible transmission instructing means 5 stores the data 20 in the buffer 6.
In consideration of the maximum time T during which the packet stays, the distribution of the packet arrival rate with respect to the communication delay
The arrival rate P of packets received within Th-T
d is obtained (S41). Next, from the size Ld of the data 20 passed from the data accumulation / forced transmission instructing means 5 and the maximum data size Lp that can be included in the packet 21 transmitted to the communication path 3 by the packet transmitting means 8, Ld /
The minimum division number Nmin satisfying Lp ≦ Nmin is obtained (S4
2). Then, N ≧ Nmin, M ≧ 1, Ph ≦ Σ M i = 0 ( N + M C
i · (1-Pd) i · Pd N + Mi ) and N / (N
+ M) is set as large as possible, and N and M are set as N + M as small as possible (S43). Here, Σ M i = 0 ( N + M C i · (1−Pd) i · P
d N + Mi ) is an expression indicating the probability that N + M packets 21 are transmitted and N or more packets 21 are received within the time Th-T. When the influence of the packet size is larger than the number of packets as traffic to the communication path 3, the evaluation of N / (N + M) is more important than the evaluation of N + M. When the influence of the number of packets is greater, N + M than the evaluation of N / (N + M)
The values of N and M are determined with emphasis on the evaluation of. Thereafter, based on the values of N and M obtained by the above processing, the data encoding / dividing means 7 encodes and divides the data 20 passed from the data accumulation / forced transmission instructing means 5 to generate a packet 21.

【0039】本実施の形態におけるシステムは上記のよ
うに動作するので、通信路3での通信遅延時間に対する
パケット到達率の分布と、データ蓄積・強制送信指示手
段5から渡されたデータ20の大きさと、送信するパケ
ットが含むことのできる最大のデータの大きさを元に、
許容される最大遅延時間Thとその達成確率Phを満た
し、かつ無駄なトラフィックの発生を抑えて、データ通
信の品質及び効率を向上する。
Since the system according to the present embodiment operates as described above, the distribution of the packet arrival rate with respect to the communication delay time on the communication path 3 and the size of the data 20 passed from the data storage / forced transmission instructing means 5 And the size of the largest data that can be included in the packet to be sent,
The present invention satisfies the allowable maximum delay time Th and its achievement probability Ph, suppresses the generation of useless traffic, and improves the quality and efficiency of data communication.

【0040】なお上記で用いた通信路3での通信遅延時
間に対するパケット到達率の分布は、上記実施の形態の
処理とは別に、例えば別途通信路3の通信特性として測
定することでも得られる。あるいは、データ送信手段1
の構成要素であるパケット送信手段8からデータ受信手
段2の構成要素であるパケット受信手段9へパケット2
1を送付する際に、パケット受信手段9で各パケット2
1の通信遅延時間を測定し、この測定結果から得られる
統計情報を、データ受信手段2からデータ送信手段1へ
伝達し、上記で用いた通信路3での通信遅延時間に対す
るパケット到達率の分布とみなして、上記処理を行って
もよい。
The distribution of the packet arrival rate with respect to the communication delay time on the communication path 3 used above can be obtained by separately measuring, for example, the communication characteristic of the communication path 3 separately from the processing of the above embodiment. Alternatively, data transmission means 1
From the packet transmission means 8 which is a component of the data reception means 9 which is a component of the data reception means 2
1 is sent, the packet receiving means 9 sends each packet 2
1 is measured, the statistical information obtained from the measurement result is transmitted from the data receiving means 2 to the data transmitting means 1, and the distribution of the packet arrival rate with respect to the communication delay time in the communication path 3 used as described above. And the above processing may be performed.

【0041】図9は、実施の形態2における、他のデー
タ蓄積・強制送信指示手段5eにおいてデータ20を蓄
積する上限の時間Tの調整動作を示すフローチャートで
ある。データ蓄積・強制送信指示手段5eでは、許容さ
れる最大遅延時間Thとその達成確率Phを元に、以下
の処理を行う。ただし以下では、データ符号化分割手段
7において、データ蓄積・強制送信指示手段5から渡さ
れたデータ20をN+M個のパケット21に符号化及び
分割するときのN及びMの値はあらかじめ定まっている
こととして説明する。
FIG. 9 is a flowchart showing the operation of adjusting the upper limit time T for storing data 20 in another data storage / forced transmission instructing means 5e according to the second embodiment. The data accumulation / forced transmission instructing means 5e performs the following processing based on the allowable maximum delay time Th and its achievement probability Ph. However, in the following, in the data encoding / dividing means 7, the values of N and M when encoding and dividing the data 20 passed from the data accumulation / forced transmission instructing means 5 into N + M packets 21 are predetermined. This will be explained as follows.

【0042】本処理S50から始まって、まずPh=ΣM
i=0N+MCi・(1−Pd)i・PdN +M-i)を満たすPd
を求める(S51)。ここで、ΣM i=0N+MCi・(1−
Pd)i・PdN+M-i)は、1つのパケットの到達率をPd
としN+M個のパケットを送信したときにN個以上のパ
ケットが到達する確率である。次に通信路3での通信遅
延時間に対するパケット到達率の分布D(τ)から、D
(Th−t)≧Pdとなるtを求め、その値をデータ蓄
積・強制送信指示手段5eでデータ20を保存する最大
時間Tとする(S52)。
Starting from this processing S50, first, Ph = ΣM
i = 0(N + MCi・ (1-Pd)i・ PdN + MiPd that satisfies
Is obtained (S51). Where ΣM i = 0(N + MCi・ (1-
Pd)i・ PdN + Mi) Indicates the arrival rate of one packet as Pd
When N + M packets are transmitted, N or more packets are transmitted.
The probability that the ket will arrive. Next, communication delay on the communication path 3
From the distribution D (τ) of the packet arrival rate to the delay time, D
Find t satisfying (Th−t) ≧ Pd, and store the value in data storage.
Maximum for storing data 20 by product / forced transmission instructing means 5e
Time T is set (S52).

【0043】このように、通信路3での通信遅延時間に
対するパケット到達率の分布を元に、許容される最大遅
延時間Thとその達成確率Phを満たし、かつデータ蓄
積・強制送信指示手段5でできるだけ長い時間データを
蓄積することでデータの符号化効率が向上する。
As described above, based on the distribution of the packet arrival rate with respect to the communication delay time in the communication path 3, the allowable maximum delay time Th and the achievement probability Ph are satisfied, and the data storage / forced transmission instructing means 5 By accumulating data for as long as possible, data encoding efficiency is improved.

【0044】なお上記説明では、データ符号化分割手段
7において、データ蓄積・強制送信指示手段5から渡さ
れたデータ20をN+M個のパケット21に符号化及び
分割するときのN及びMの値はあらかじめまめっている
こととしたが、これを時間Tと合わせて動的に調整する
ようにしてもよく、本発明の効果をより高めることでき
る。
In the above description, when the data encoding / dividing means 7 encodes and splits the data 20 passed from the data accumulation / forced transmission instructing means 5 into N + M packets 21, the values of N and M are Although it has been described in advance that this is done in advance, it may be dynamically adjusted in accordance with the time T, and the effect of the present invention can be further enhanced.

【0045】さらに上記で用いた通信路3での通信遅延
時間に対するパケット到達率の分布として、相手からの
到達情報に換えて、送信側に備えた受信回路の受信情報
を用いてもほぼ同じ効果が得られる。図10はその構成
を示す図であり、第1のデータ送信手段A 1bと、同
データ送信手段A 1bと対になる第1のデータ受信手
段A 2bと、第1のデータ送信手段A 1bと通信路
3を介してデータの送受を行う第2のデータ受信手段B
2cと、同データ受信手段B 2cと対になり、第1
のデータ受信手段A 2bと通信路3を介してデータの
送受を行う第2のデータ送信手段B 1cから構成され
る。なおデータ送信手段A 1b、B1cの構成要素で
あるデータ入力手段A 4/B 4c、データ蓄積・強
制送信指示手段A 5/B 5c、バッファA 6/B
6c、データ符号化分割手段A 7/B 7c、パケ
ット送信手段A 8/B 8c、及びデータ受信手段A
2b/B 2cの構成要素である、パケット受信手段A
9/B 9c、データ復号化手段A 10/B 10
c、データ出力手段A 11/B 11cは、それぞれ
図1と同じであるため、詳細な説明を省略する。
Further, as the distribution of the packet arrival rate with respect to the communication delay time in the communication path 3 used above, substantially the same effect can be obtained by using the reception information of the receiving circuit provided on the transmission side instead of the arrival information from the other party. Is obtained. FIG. 10 is a diagram showing the configuration, in which the first data transmitting means A 1b, the first data receiving means A 2b paired with the first data transmitting means A 1b, and the first data transmitting means A 1b Second data receiving means B for transmitting and receiving data via communication path 3
2c and the data receiving means B 2c.
And a second data transmitting means B 1c for transmitting and receiving data via the communication path 3 and the data receiving means A 2b. Data input means A 4 / B 4c, data accumulation / forced transmission instructing means A 5 / B 5c, and buffer A 6 / B, which are components of data transmitting means A 1b and B 1c.
6c, data encoding / dividing means A 7 / B 7c, packet transmitting means A 8 / B 8c, and data receiving means A
Packet receiving means A, which is a component of 2b / B 2c
9 / B 9c, data decoding means A 10 / B 10
c, and the data output means A 11 / B 11c are the same as those in FIG. 1, and a detailed description thereof will be omitted.

【0046】本方式では、データ受信手段A 2bにお
けるパケット受信手段A 9は、データ送信手段B 1
cのパケット送信手段B 8cから送られたパケット2
1についてそれぞれ各パケットの通信遅延時間を測定す
る。そしてこの測定結果から得られる統計情報を、デー
タ送信手段A 1bのデータ符号化分割手段A 7へ提
示する。データ送信手段A 1のデータ符号化分割手段
A 7は、パケット受信手段A 9から提示された統計
情報を、通信路3での送信側の通信遅延時間に対するパ
ケット到達率の分布とみなして、データ蓄積・強制送信
指示手段A 5から渡されたデータ20をN+M個のパ
ケット21に符号化及び分割するときのN及びMの値の
調整を行う。
In this system, the packet receiving means A 9 in the data receiving means A 2 b is replaced by the data transmitting means B 1
c sent from the packet transmitting means B 8c
The communication delay time of each packet is measured for each packet. Then, the statistical information obtained from the measurement result is presented to the data coding division unit A7 of the data transmission unit A1b. The data encoding / dividing unit A 7 of the data transmitting unit A 1 regards the statistical information presented from the packet receiving unit A 9 as a distribution of a packet arrival rate with respect to a communication delay time of the transmitting side on the communication path 3 and performs data transmission. It adjusts the values of N and M when encoding and dividing the data 20 passed from the accumulation / forced transmission instructing means A5 into N + M packets 21.

【0047】このように、データ送信手段A 1は通信
先のデータ受信手段B 2から各パケットの通信遅延時
間に関する統計情報の伝達を受けなくとも、自身の受信
側から通信路3の通信遅延時間に対するパケット到達率
の分布を得ることができ、通信路3の通信品質に応じて
適切なN及びMを求めることができる。
As described above, the data transmitting means A 1 does not receive the statistical information on the communication delay time of each packet from the data receiving means B 2 of the communication destination, but receives the communication delay time of the communication path 3 from its own receiving side. Can be obtained, and appropriate N and M can be obtained in accordance with the communication quality of the communication path 3.

【0048】なお、データ送信手段1が複数のデータ受
信手段2と通信を行う場合でも、本実施の形態の思想は
適用可能である。即ち、図11はデータ送信手段1dが
複数のデータ受信手段と通信を行う場合の構成図であ
り、データ送信手段1dは、通信路A 3aを介してデ
ータ受信手段A 2eとデータの送受を行い、また同時
に通信路B 3bを介してデータ受信手段B 2fとデ
ータの送受を行う。なおデータ送信手段1dの構成要素
であるデータ入力手段4、データ蓄積・強制送信指示手
段5f、バッファ6、データ符号化分割手段7、パケッ
ト送信手段8、及びデータ受信手段A 2/eB 2f
の構成要素である、パケット受信手段A 9/B 9、
データ復号化手段A 10/B 10、データ出力手段
A11/B 11は、それぞれ図1と同じである。
The concept of the present embodiment can be applied to the case where the data transmitting means 1 communicates with a plurality of data receiving means 2. That is, FIG. 11 is a configuration diagram when the data transmitting unit 1d communicates with a plurality of data receiving units. The data transmitting unit 1d transmits and receives data to and from the data receiving unit A 2e via the communication path A 3a. , And simultaneously transmits and receives data to and from the data receiving means B 2f via the communication path B 3b. It should be noted that the data input means 4, the data storage / forced transmission instructing means 5f, the buffer 6, the data encoding and dividing means 7, the packet transmitting means 8, and the data receiving means A2 / eB 2f which are components of the data transmitting means 1d.
Packet receiving means A 9 / B 9,
The data decoding means A 10 / B 10 and the data output means A11 / B 11 are the same as those in FIG.

【0049】本構成においては、データ符号化分割手段
7bは、通信路A 3を介してデータ受信手段A 2e
とデータの送受を行う際は、パケット送信手段8が通信
路A3に送信するパケット21が含むことのできる最大
のデータの大きさLpa、及び通信路A 3での通信遅
延時間に対するパケット到達率の分布から求まる通信遅
延時間Th−T以内にパケットが受信されるパケットの
到達率Pdaを用いて、データ蓄積・強制送信指示手段
5fから指示されたデータ20をN+M個のパケット2
1に符号化及び分割するときのN及びMの値の調整を行
い、通信路B3を介してデータ受信手段B 2とデータ
の送受を行う際は、パケット送信手段8が通信路B 3
に送信するパケット21が含むことのできる最大のデー
タの大きさLpb、及び通信路B 3での通信遅延時間
に対するパケット到達率の分布から求まる通信遅延時間
Th−T以内にパケットが受信されるパケットの到達率
Pdbを用いて、データ蓄積・強制送信指示手段5fか
ら指示されたデータ20をN+M個のパケット21に符
号化及び分割するときのN及びMの値の調整を行う。
In this configuration, the data encoding / dividing means 7b is connected to the data receiving means A 2e via the communication path A3.
When transmitting and receiving data, the maximum data size Lpa that can be included in the packet 21 transmitted by the packet transmitting means 8 to the communication path A3 and the packet arrival rate with respect to the communication delay time in the communication path A3. Using the arrival rate Pda of the packets received within the communication delay time Th-T obtained from the distribution, the data 20 specified by the data storage / forced transmission instructing means 5f is converted into N + M packets 2
When the values of N and M are adjusted when encoding and dividing into 1, and when data is transmitted / received to / from the data receiving means B2 via the communication path B3, the packet transmission means 8 transmits the data via the communication path B3.
Packet received within the communication delay time Th-T determined from the maximum data size Lpb that can be included in the packet 21 to be transmitted and the distribution of the packet arrival rate with respect to the communication delay time on the communication path B3. The N and M values are adjusted when the data 20 specified by the data storage / forced transmission instructing unit 5f is encoded and divided into N + M packets 21 using the arrival rate Pdb.

【0050】本方式では上記のように通信路A 3a/
B 3bそれぞれの通信特性に応じて適切なN及びMを
求め通信を行うよう動作するので、データ通信の品質及
び効率を向上する効果を高めることができる。
In this system, the communication path A 3a /
Since an operation is performed to obtain an appropriate N and M according to the communication characteristics of each of the B 3b and perform communication, the effect of improving the quality and efficiency of data communication can be enhanced.

【0051】実施の形態3.短いデータは所定のバッフ
ァ長になるまで送信を待ち、分割損を避ける場合を説明
する。図12はこの発明の実施の形態における、データ
蓄積・強制送信指示手段5の動作を示すフローチャート
である。本実施の形態におけるシステム構成は図1と同
じである。
Embodiment 3 FIG. A description will be given of a case where transmission of short data is waited until a predetermined buffer length is reached to avoid division loss. FIG. 12 is a flowchart showing the operation of the data storage / forced transmission instruction means 5 in the embodiment of the present invention. The system configuration in the present embodiment is the same as FIG.

【0052】本実施の形態においては、データ入力手段
4はパケットとしてデータ20を受け取り、そのままバ
ッファ6に記憶する。データ蓄積・強制送信指示手段5
gは、処理S60から始めて、まず最初にデータ20を
受け取り(S11)、次にバッファ6が空であれば(S
31のYes)受け取った時間を保存する(S13)。
更に、受け取ったデータ20の種類を調べる(S6
1)。もし受け取ったデータ20が分割結合のできない
パケットであれば(S61のNo)、ついでバッファ6
の空きサイズを調べ、データ20がすべてバッファ6に
保存可能であれば(S62のYes)、受け取ったデー
タ20をバッファ6に保存する(S63)。一方、受け
取ったデータ20が分割結合可能なパケットであれば
(S61のYes)、バッファ6に保存されているパケ
ットを調べ、もし結合可能なパケットがバッファ6内に
あれば(S64のYes)、バッファ6の空きサイズ分
まで、受け取ったデータ20を同パケットに結合しなが
らバッファ6に保存し(S65)、そうでなければ(S
61のNo)単独のパケットとしてバッファ6の空きサ
イズ分までデータ20をバッファ6に保存する(S3
2)。
In this embodiment, the data input means 4 receives the data 20 as a packet and stores it in the buffer 6 as it is. Data storage / forced transmission instruction means 5
g starts with the process S60, first receives the data 20 (S11), and then if the buffer 6 is empty (S11).
(Yes of 31) The received time is stored (S13).
Further, the type of the received data 20 is checked (S6).
1). If the received data 20 is a packet that cannot be divided and combined (No in S61), the buffer 6
Is checked, and if all the data 20 can be stored in the buffer 6 (Yes in S62), the received data 20 is stored in the buffer 6 (S63). On the other hand, if the received data 20 is a packet that can be divided and combined (Yes in S61), the packet stored in the buffer 6 is checked, and if a combineable packet is in the buffer 6 (Yes in S64), The received data 20 is stored in the buffer 6 while being combined with the same packet up to the empty size of the buffer 6 (S65).
No. 61) The data 20 is stored in the buffer 6 as a single packet up to the empty size of the buffer 6 (S3).
2).

【0053】ここで、分割結合可能なパケットとは、デ
ータ境界を保存する必要のない後に説明するストリーム
形式のデータを保持しており、かつ同じデータストリー
ムに属する連続したデータを保持するパケットであり、
結合不可能なパケットとは、ストリーム形式のデータを
保持しているが異なるデータストリームに属している
か、あるいは連続していないデータを保持しているパケ
ット、あるいはデータ境界を保持する必要のあるデータ
グラム形式のデータを保持するパケットである。パケッ
トの分割可否判断とパケットの分割及び結合について、
図13、図14を用いて説明する。
Here, a packet that can be divided and combined is a packet that holds data in the form of a stream described below that does not need to store a data boundary and that holds continuous data belonging to the same data stream. ,
Non-combinable packets are packets that hold data in stream format but belong to different data streams, or hold data that is not continuous, or datagrams that need to maintain data boundaries. This is a packet holding format data. Regarding the determination of whether or not to divide a packet and the division and combination of packets,
This will be described with reference to FIGS.

【0054】図13はパケットの内部構造とパケットの
分割及び結合の動作の例を示す説明図である。本図で
は、RFC791にて規定されインターネットでの通信
で一般的に使われるIP(Internet Protocol)パケット
を用いて説明をする。図13(a)はIPパケットの構
造を示す説明図であり、同図においてIPパケット25
はIPヘッダ26とIPデータ27から構成される。I
Pヘッダ26はIPデータ27の属性情報を保持する領
域であり、本IPパケット25に用いられているIPプ
ロトコルのバージョン情報、IPヘッダ26の長さ、I
Pパケット25全体の長さ、パケットを識別するパケッ
トID、パケットの分割可否などの情報を示すフラグ、
分割された場合に分割前のパケットに対する対する相対
的な位置を示す分割オフセット値、IPデータ27とし
て運ぶデータに関するプロトコル情報、IPパケット2
5の発信元を示す送信元IPアドレス、IPパケット2
5の到着先を示す宛先IPアドレスなどから構成され
る。IPヘッダ26のフラグには、本IPパケット25
に対する分割を認めるか否か、また本IPパケット25
がもし既に分割されたパケットであれば後続のデータが
あるかどうか、などの情報が含まれる。またIPヘッダ
26のプロトコルには、IPデータ27として運ぶデー
タに対して適用されているプロトコルの種類を示す情報
として、TCP(Transmission Control Protocol)パ
ケットであるか、あるいはUDP(User Datagram Proto
col)パケットであるか、あるいはさらに別プロトコルの
パケットであるといったデータストリームの別を示す情
報が保持される。IPデータ27はIPパケット25に
よって伝送したいデータそのものである。
FIG. 13 is an explanatory diagram showing an example of the internal structure of a packet and the operation of dividing and combining the packet. In this figure, description will be made using an IP (Internet Protocol) packet defined by RFC791 and generally used for communication on the Internet. FIG. 13A is an explanatory diagram showing the structure of an IP packet.
Is composed of an IP header 26 and IP data 27. I
The P header 26 is an area for holding attribute information of the IP data 27, and includes version information of the IP protocol used in the IP packet 25, the length of the IP header 26,
A flag indicating information such as the overall length of the P packet 25, a packet ID for identifying the packet, and whether or not the packet can be divided;
A division offset value indicating a relative position with respect to a packet before division when divided, protocol information on data carried as IP data 27, IP packet 2
Source IP address indicating the source of No. 5, IP packet 2
5 destination IP addresses indicating the destinations. The flag of the IP header 26 includes the IP packet 25
Whether or not to permit division of the IP packet 25
However, if the packet has already been divided, information such as whether there is subsequent data is included. The protocol of the IP header 26 may be a TCP (Transmission Control Protocol) packet or a UDP (User Datagram Protocol) as information indicating the type of protocol applied to the data carried as the IP data 27.
col) packet, or information indicating another data stream such as a packet of another protocol. The IP data 27 is the data to be transmitted by the IP packet 25 itself.

【0055】IPパケットの分割及び結合のしかたはR
FC791によって規定されている。以降ではその概要
を示す。IPパケット25では、IPヘッダ26に含ま
れるバージョン番号、パケットID、フラグ、送信元I
Pアドレス、宛先IPアドレスによって、その分割/結
合の可否を判断することができる。IPヘッダ26のフ
ラグにて分割可能と設定されている場合、そのIPパケ
ット25は分割することが認められている。図13
(b)はIPパケット25の分割のしかたを示す説明図
である。同図ではIPパケットX 25を2つのIPパ
ケットA 25及びIPパケットB 25に分割してい
る。
The method of dividing and combining IP packets is R
Specified by FC791. The outline is described below. In the IP packet 25, the version number, the packet ID, the flag, the transmission source I included in the IP header 26
Whether or not the division / combination is possible can be determined based on the P address and the destination IP address. If the flag of the IP header 26 indicates that the IP packet 25 can be divided, the IP packet 25 is permitted to be divided. FIG.
FIG. 4B is an explanatory diagram showing how to divide the IP packet 25. In the figure, the IP packet X 25 is divided into two IP packets A 25 and B 25.

【0056】同図においてデータ送信手段1のデータ蓄
積・強制送信指示手段5gが指示し、データ符号化分割
手段7が行う分割の手順はおおよそ次のとおりとなる。
まずIPパケットX 25に含まれるIPデータX 2
7を適当な位置で分割し、その前半をIPデータA 2
7、その後半をIPデータB 27とする。次にIPパ
ケットX 25に含まれるIPヘッダX 26を元にI
PヘッダA 26及びIPヘッダB 26を生成する。
このときIPヘッダA 26及びIPヘッダB26は、
そのほとんどの情報はIPヘッダX 26と同一である
が次の一部が異なる。すなわちIPヘッダA 26で
は、そのフラグは必ず分割後の後続データが有るよう設
定され、またIPパケット全体の長さは分割したIPデ
ータB27の分だけ減少して設定される。一方IPヘッ
ダB 26では、フラグが示す分割後の後続データの有
無はIPヘッダX 26のフラグが示す後続データの有
無と同じ値が設定され、またIPパケット全体の長さは
分割したIPデータA27の分だけ減少して設定され、
さらに分割オフセットの値も分割したIPデータA 2
7の分だけ増加する。最後に、生成したIPヘッダA
26およびIPデータA 27をまとめることでIPパ
ケットA 25とし、同様にIPヘッダB 26及びI
PデータB 27をまとめることでIPパケットB 2
5とする。
In the figure, the data storage / forcible transmission instructing means 5g of the data transmitting means 1 instructs and the data encoding / dividing means 7 performs the division procedure roughly as follows.
First, IP data X 2 included in IP packet X 25
7 at an appropriate position, and the first half is divided into IP data A 2
7. The latter half is referred to as IP data B27. Next, based on the IP header X26 included in the IP packet X25, I
A P header A 26 and an IP header B 26 are generated.
At this time, the IP header A 26 and the IP header B 26
Most of the information is the same as the IP header X26 except for the following part. That is, in the IP header A 26, the flag is set so that there is always subsequent data after the division, and the entire length of the IP packet is set to be reduced by the amount of the divided IP data B27. On the other hand, in the IP header B 26, the presence / absence of the subsequent data indicated by the flag is set to the same value as the presence / absence of the subsequent data indicated by the flag of the IP header X 26, and the total length of the IP packet is set by the divided IP data A27. Is set to decrease by
Further, the value of the division offset is also divided into the IP data A 2
It increases by seven. Finally, the generated IP header A
26 and IP data A 27 are combined into an IP packet A 25, and similarly, IP headers B 26 and I
By combining the P data B 27, the IP packet B 2
5 is assumed.

【0057】次にIPパケット25の結合のしかたを図
13(c)を用いて説明する。図13(c)はIPパケ
ット25の結合のしかたをしめす説明図である。同図で
は2つのIPパケットA 25及びIPパケットB 2
5を結合し、IPパケットY25を生成している。2つ
のIPパケットA 25及びIPパケットB 25が結
合できる条件は、端的には両者が1つのIPパケット2
5から分割された連続したパケットであることであり、
詳しくは次の条件を満たすとき2つのIPパケットA
25及びIPパケットB 25は結合が可能である。ま
ずIPヘッダA26及びIPヘッダB 26のバージョ
ン番号、送信元IPアドレス、宛先IPアドレス、プロ
トコル、パケットIDが一致しており、さらにフラグが
共に分割可能を示している必要がある。本条件は両者が
元となる1つのパケットから分割して生成されたパケッ
トであることを示す。次いで分割オフセットの値を比較
し、若いほう(ここではIPヘッダA 26とする)のフ
ラグが分割後の後続データがあることを示しており、か
つその分割オフセットの値とIPデータAの長さの和
が、他方のIPヘッダB 26の分割オフセットに一致
している必要がある。本条件は、元となるパケットから
分割して生成された複数のパケットの中で、IPパケッ
トA 25とIPパケットB 25が連続したデータを
保持するパケットであり、かつIPパケットA 25が
前半のデータを保持していることを示す。これらの条件
を満たすとき、2つのIPパケットA 25及びIPパ
ケットB 25は結合が可能である。
Next, how to combine the IP packets 25 will be described with reference to FIG. FIG. 13C is an explanatory diagram showing how the IP packets 25 are combined. In the figure, two IP packets A 25 and two IP packets B 2
5 are combined to generate an IP packet Y25. The condition under which two IP packets A 25 and IP packet B 25 can be combined is simply that both are one IP packet 2
5 is a continuous packet divided from 5,
Specifically, when the following condition is satisfied, two IP packets A
25 and the IP packet B 25 can be combined. First, it is necessary that the version numbers, the source IP address, the destination IP address, the protocol, and the packet ID of the IP header A 26 and the IP header B 26 match, and that the flags both indicate that the division is possible. This condition indicates that both packets are generated by dividing one original packet. Next, the values of the division offsets are compared, and the flag of the younger one (here, IP header A 26) indicates that there is subsequent data after division, and the value of the division offset and the length of IP data A Must match the division offset of the other IP header B26. This condition is a packet in which the IP packet A 25 and the IP packet B 25 hold continuous data among a plurality of packets generated by dividing the original packet, and the IP packet A 25 is in the first half. Indicates that data is retained. When these conditions are satisfied, the two IP packets A 25 and B 25 can be combined.

【0058】同図において、データ送信手段2でデータ
を受信した後に、データ出力手段11で行う結合の手順
はおおよそ次のとおりとなる。前述の2つのIPパケッ
トA25及びIPパケットB 25の結合可否判断によ
り、本例ではIPパケットA 25が前半のデータを保
持していることが判明しているので、まずIPパケット
A 25に含まれるIPデータA 27を前半とし、I
PパケットB 25に含まれるIPデータB 27を後
半として両者をつなぐことでIPデータY27を生成す
る。次にIPパケットA 25に含まれるIPヘッダA
26及びIPパケットB 25に含まれるIPヘッダ
B 26からIPヘッダY 26を生成する。このとき
IPヘッダY 26は、そのほとんどの情報がIPヘッ
ダA26及びIPヘッダB 26と同一であるが次の一
部が異なる。すなわち、IPヘッダY 26のIPパケ
ット長は新しいIPデータY 27の大きさに基づき設
定され、IPヘッダY 26のフラグにおける後続デー
タの有無はIPヘッダB 26のフラグにおける後続デ
ータの有無と同じ値が設定され、そしてIPヘッダY
26の分割オフセットはIPヘッダA 26の分割オフ
セットと同じ値が設定される。最後に、生成したIPヘ
ッダY 26およびIPデータY 27をまとめること
でIPパケットY 25とする。
In the figure, the procedure of combining performed by the data output means 11 after data is received by the data transmission means 2 is roughly as follows. In this example, it is known that the IP packet A 25 holds the first half of the data by the determination of whether or not the two IP packets A 25 and B 25 can be combined, so the IP packet A 25 is included in the IP packet A 25 first. IP data A 27 as the first half, I
The IP data Y 27 is generated by connecting the IP data B 27 included in the P packet B 25 with the latter as the latter half. Next, the IP header A included in the IP packet A 25
The IP header Y 26 is generated from the IP header B 26 included in the IP packet 26 and the IP header B 26 included in the IP packet B 25. At this time, most of the information of the IP header Y 26 is the same as the IP header A 26 and the IP header B 26, but the following part is different. That is, the IP packet length of the IP header Y 26 is set based on the size of the new IP data Y 27, and the presence or absence of the subsequent data in the flag of the IP header Y 26 is the same value as the presence or absence of the subsequent data in the flag of the IP header B 26. Is set, and the IP header Y
The same value as the division offset of the IP header A 26 is set as the division offset of the IP header A 26. Finally, the generated IP header Y 26 and IP data Y 27 are combined into an IP packet Y 25.

【0059】上記を元に、図12のS32、S65、S
63におけるバッファ6へのデータ20の保存のしかた
を図14を用いて説明する。図14は本実施の形態にお
いてバッファ6へのデータ20の保存のしかたを説明す
るための説明図である。本図において、データ20とし
てデータ入力手段4から渡されるパケットはIPパケッ
トX 25であり、バッファ6にはデータ20として1
ないし数個のIPパケット25を保存するものとする。
なおIPパケット25はそのIPヘッダ26を調べるこ
とでIPパケット25全体の大きさ(IPパケット長)が
わかる。このためバッファ6のデータ20として複数の
IPパケット25を保存する際には、パケット間の切れ
目を明示的に保持しておかなくとも、各IPパケット2
5のIPパケット長を元に、バッファ6内のデータ20
の先頭からバッファ6内に保存された各IPパケットを
分離して取り出すことが可能である。
Based on the above, S32, S65, S in FIG.
How to store the data 20 in the buffer 6 in 63 will be described with reference to FIG. FIG. 14 is an explanatory diagram for explaining how to store the data 20 in the buffer 6 in the present embodiment. In the figure, the packet passed from the data input means 4 as the data 20 is an IP packet X 25, and
It is assumed that at least several IP packets 25 are stored.
Note that the size (IP packet length) of the entire IP packet 25 can be determined by examining the IP header 26 of the IP packet 25. For this reason, when storing a plurality of IP packets 25 as the data 20 of the buffer 6, each IP packet 2 can be stored even if a break between packets is not explicitly held.
5 in the buffer 6 based on the IP packet length of
, Each IP packet stored in the buffer 6 can be separated and taken out.

【0060】バッファ6に既にいくつかのIPパケット
25が保存されている場合、バッファ6へ与えられたデ
ータ20を保存する方法は図14(a)〜(d)の4通
りがありえる。以降では、バッファ6内のデータ20と
して既にIPパケットA 25及びIPパケットB 25
の2つのIPパケット25が保存されているものとして
説明するが、これは任意の数のIPパケット25が保存
されている場合でも同じように扱うことができる。
When several IP packets 25 are already stored in the buffer 6, there are four methods for storing the data 20 given to the buffer 6, as shown in FIGS. Hereinafter, as the data 20 in the buffer 6, the IP packet A 25 and the IP packet B 25
The following description assumes that two IP packets 25 are stored, but this can be handled in the same way even when an arbitrary number of IP packets 25 are stored.

【0061】図14(a)は、データ20に含まれるI
PパケットX 25が既にバッファ6に保存されている
IPパケットA 25、B 25いずれとも結合でき
ず、かつその大きさがバッファ6の空き領域より小さい
場合の動作である。本動作は、図12のS63の処理、
すなわちデータ20が分割結合不可能なパケットでかつ
データ20がすべてバッファ6内に保存可能な場合、あ
るいはS32の処理、すなわちデータは分割結合可能な
パケットだがバッファ6内に結合可能なパケットがない
場合で、さらにデータ20がすべて保存可能な場合に該
当する。本動作では、バッファ6内のデータ20として
既に保存されているIPパケットA、B25に続けて、
渡されたデータ20に含まれるIPパケットX 25全
体をバッファ6に保存する。
FIG. 14A shows the state of the data 20 included in the data 20.
This is an operation when the P packet X 25 cannot be combined with any of the IP packets A 25 and B 25 already stored in the buffer 6 and the size thereof is smaller than the free area of the buffer 6. This operation corresponds to the process of S63 in FIG.
That is, when the data 20 is a packet that cannot be divided and combined and all the data 20 can be stored in the buffer 6, or in the process of S32, that is, when the data is a packet that can be divided and combined but there is no packet that can be combined in the buffer 6. Corresponds to the case where all the data 20 can be stored. In this operation, following the IP packets A and B25 already stored as the data 20 in the buffer 6,
The entire IP packet X 25 included in the passed data 20 is stored in the buffer 6.

【0062】図14(b)は、データ20に含まれるI
PパケットX 25が既にバッファ6に保存されている
IPパケットA 25、B 25いずれとも結合でき
ず、かつその大きさがバッファの空き領域より大きく、
さらにIPパケットX 25が分割可能な場合の動作で
ある。本動作は、図12のS32の処理、すなわちデー
タは分割結合可能なパケットだがバッファ6内に結合可
能なパケットがない場合で、さらにデータ20の一部が
保存可能な場合に該当する。本動作では、まず渡された
データ20に含まれるIPパケットX 25をバッファ
6に保存できる大きさのIPパケットX1 25ともう
1つのIPパケットX2 25に分割し、次いで、バッ
ファ6内のデータ20として既に保存されているIPパ
ケットA25、B 25に続けてあらたに生成したIP
パケットX1 25をバッファ6に保存する。
FIG. 14 (b)
The P packet X 25 cannot be combined with any of the IP packets A 25 and B 25 already stored in the buffer 6, and the size thereof is larger than the free space of the buffer,
This is an operation when the IP packet X25 can be further divided. This operation corresponds to the process of S32 in FIG. 12, that is, when data is a packet that can be divided and combined but there is no packet that can be combined in the buffer 6, and when a part of the data 20 can be stored. In this operation, first, the IP packet X25 included in the passed data 20 is divided into an IP packet X1 25 and another IP packet X2 25 having a size that can be stored in the buffer 6, and then the data 20 in the buffer 6 is divided. Newly generated IP following IP packets A25 and B25 already stored as
The packet X125 is stored in the buffer 6.

【0063】図14(c)は、データ20に含まれるI
PパケットX 25が既にバッファ6に保存されている
IPパケットA 25、B 25いずれかと結合でき、
かつ結合したあとの大きさがバッファ6内に入りきる場
合の動作である。本動作は、図12のS65の処理、す
なわちデータは分割結合可能なパケットでバッファ6内
に結合可能なパケットがある場合で、さらにデータ20
がすべて保存可能な場合に該当する。ここではIPパケ
ットX 25はIPパケットB 25と結合可能である
とする。この場合、本動作では、バッファ6内のデータ
20として既に保存されているIPパケットA 25、
B 25のうち、IPパケットB 25と渡されたデー
タ20に含まれるIPパケットX 25を結合し、新た
なIPパケットB+X 25を生成し、生成したIPパ
ケットB+X 25をIPパケットB 25に代えてバ
ッファに保存する。
FIG. 14 (c) shows the data included in the data 20.
P packet X 25 can be combined with any of IP packets A 25 and B 25 already stored in buffer 6,
In addition, this is an operation in a case where the size after the combination is completely within the buffer 6. This operation is performed in the process of S65 in FIG. 12, that is, when data is a packet that can be divided and combined and there is a packet that can be
Is applicable when all can be saved. Here, it is assumed that IP packet X 25 can be combined with IP packet B 25. In this case, in this operation, the IP packet A 25 already stored as the data 20 in the buffer 6,
Of the B 25, the IP packet B 25 and the IP packet X 25 included in the passed data 20 are combined to generate a new IP packet B + X 25, and the generated IP packet B + X 25 is replaced with the IP packet B 25 Save to buffer.

【0064】図14(d)は、データ20に含まれるI
PパケットX 25が既にバッファ6に保存されている
IPパケットA 25、B 25いずれかと結合でき、
かつ結合したあとの大きさがバッファ6内に入りきらな
い場合の動作である。本動作は、図12のS65の処
理、すなわちデータは分割結合可能なパケットでバッフ
ァ6内に結合可能なパケットがある場合で、さらにデー
タ20の一部が保存可能な場合に該当する。ここではI
PパケットX 25はIPパケットB 25と結合可能
であるとする。この場合、本動作では、まず渡されたデ
ータ20に含まれるIPパケットX 25をバッファ6
に保存できる大きさのIPパケットX125ともう1つ
のIPパケットX2 25に分割し、次いで、バッファ
6内のデータ20として既に保存されているIPパケッ
トA 25、B 25のうち、IPパケットB 25と
新たに生成したIPパケットX1 25を結合し、新た
なIPパケットB+X1 25を生成し、生成したIP
パケットB+X1 25をIPパケットB 25に代え
てバッファに保存する。
FIG. 14 (d) shows the I
P packet X 25 can be combined with any of IP packets A 25 and B 25 already stored in buffer 6,
This is an operation when the size after the combination does not fit in the buffer 6. This operation corresponds to the process of S65 in FIG. 12, that is, when data is a packet that can be divided and combined and there is a packet that can be combined in the buffer 6, and when a part of the data 20 can be stored. Here I
It is assumed that the P packet X 25 can be combined with the IP packet B 25. In this case, in this operation, first, the IP packet X 25 included in the passed data 20 is stored in the buffer 6.
Is divided into an IP packet X125 and another IP packet X2 25 having a size that can be stored in the buffer 20. Then, among the IP packets A 25 and B 25 already stored as the data 20 in the buffer 6, the IP packet B 25 The newly generated IP packet X1 25 is combined to generate a new IP packet B + X1 25, and the generated IP
The packet B + X1 25 is stored in a buffer instead of the IP packet B25.

【0065】なお、上記の図14(c)及び図14
(d)に示した動作の説明では、IPパケットX 25
はIPパケットB 25と結合可能であるとしたが、こ
れはIPパケットA 25であっても同様に扱うことが
できる。さらにバッファ6内のデータ20に複数のIP
パケット25が保存されている場合、与えられたIPパ
ケットX 25ないし同IPパケットX 25を分割し
て生成したIPパケットX1 25と、バッファ6内の
データ20に保存されるIPパケット25の1つとIP
パケット25の結合を行ったのち、新たに生成された結
合後のIPパケット25とバッファ6内に残る他のIP
パケット25について再度結合を図ることも可能であ
り、本処理を可能な限り繰り返しても上記説明と同様に
扱うことができる。
It should be noted that FIG. 14C and FIG.
In the description of the operation shown in (d), the IP packet X 25
Can be combined with the IP packet B 25, but this can be handled in the same manner even with the IP packet A 25. Further, the data 20 in the buffer 6 includes a plurality of IPs.
When the packet 25 is stored, the given IP packet X25 or the IP packet X1 25 generated by dividing the IP packet X25 and one of the IP packets 25 stored in the data 20 in the buffer 6 IP
After combining the packet 25, the newly generated combined IP packet 25 and other IPs remaining in the buffer 6
The packet 25 can be combined again, and even if this processing is repeated as much as possible, it can be handled in the same manner as described above.

【0066】データ蓄積・強制送信指示手段5は、図1
2のS32、S65またはS63の処理として、上記に
示したようにバッファ6にデータ20を保存したのち、
以下のように処理を続ける。すなわち、バッファ6に蓄
積されているデータ20の大きさが一定値L以上であれ
ば(S21のYes)、あるいはバッファ6に蓄積され
ているデータ20の大きさが一定値L未満であれば(S
21のNo)保存した時間から時間Tが経過していたら
(S14のYes)、バッファ6に蓄積したデータ20
をデータ符号化分割手段7に渡し(S15)、バッファ
6を空にする(S16)。また受け取ったデータ20が
分割不可能なパケットであり(S61のNo)かつその
データ20全体をバッファ6に保存可能ではない場合
(S62のNo)も、データ20全体をバッファ6に保
存できるようにするため、一旦バッファ6に蓄積したデ
ータ20をデータ符号化分割手段7に渡し(S15)、
バッファ6を空にする(S16)。
The data storage / compulsory transmission instructing means 5 is the
As the process of S32, S65 or S63 of 2, after storing the data 20 in the buffer 6 as described above,
The process continues as follows. That is, if the size of the data 20 stored in the buffer 6 is equal to or larger than the fixed value L (Yes in S21), or if the size of the data 20 stored in the buffer 6 is smaller than the fixed value L ( S
21) If the time T has elapsed from the storage time (Yes in S14), the data 20 stored in the buffer 6
Is passed to the data encoding division means 7 (S15), and the buffer 6 is emptied (S16). If the received data 20 is an indivisible packet (No in S61) and the entire data 20 cannot be stored in the buffer 6 (No in S62), the entire data 20 can be stored in the buffer 6. For this purpose, the data 20 once stored in the buffer 6 is passed to the data encoding / dividing means 7 (S15).
The buffer 6 is emptied (S16).

【0067】その後、受け取ったデータ20が分割不可
能なパケットでありかつバッファ6に保存できなかった
場合を含め、受け取ったデータ20にまだバッファ6に
保存していない部分があれば(S33のYes)、デー
タ20のうちバッファ6に保存していない部分を新たに
データ入力手段4で受け取ったデータ20とみなし(S
34)、再度処理を繰り返す(S31)。一方、受け取
ったデータ20をすべてバッファ6に保存しており(S
33のNo)、データ入力手段4から新しいデータ20
があれば(S17のYes)、新たにデータ入力手段4
からデータ20を受け取り(S11)処理を継続する。
そして受け取ったデータ20をすべてバッファ6に保存
しており(S33のNo)、データ入力手段4から新し
いデータ20もない場合は(S17のNo)、保存した
時間から時間Tが経過しているかの判断に戻る(S1
4)。
After that, if there is a portion of the received data 20 that has not been stored in the buffer 6 even if the received data 20 is an indivisible packet and could not be stored in the buffer 6 (Yes in S33). ), The part of the data 20 not stored in the buffer 6 is regarded as the data 20 newly received by the data input means 4 (S
34), the process is repeated again (S31). On the other hand, all the received data 20 is stored in the buffer 6 (S
No. 33), new data 20 from the data input means 4
If there is (Yes in S17), a new data input means 4
(S11), and the process is continued.
Then, all the received data 20 is stored in the buffer 6 (No in S33), and if there is no new data 20 from the data input means 4 (No in S17), it is determined whether the time T has elapsed from the stored time. Return to judgment (S1
4).

【0068】データ蓄積・強制送信指示手段5gがバッ
ファ6に指示する上記処理に続き、データ符号化分割手
段7では、データ蓄積・強制送信指示手段5gから指示
されたデータをN+M個のパケット21へ符号化及び分
割し、パケット送信手段8を用いてデータ受信手段2の
パケット受信手段9へ送信する。パケット受信手段9で
受信されたパケット21はデータ復号化手段10で復号
化され、データ出力手段11に渡される。上記の説明
で、データ符号化分割手段7、パケット出力手段、パケ
ット受信手段9、データ復号化手段10の動作の詳細は
実施の形態1と同じであるため詳細動作の説明を省略す
る。データ出力手段11では、データ復号化手段10か
ら渡されたデータ20からパケットの境界を調べ、パケ
ットに分割してデータ20を出力する。
Following the above-described processing in which the data storage / forced transmission instructing means 5g instructs the buffer 6, the data encoding / dividing means 7 converts the data specified by the data storage / forced transmission instructing means 5g into N + M packets 21. The data is encoded and divided, and transmitted to the packet receiving unit 9 of the data receiving unit 2 using the packet transmitting unit 8. The packet 21 received by the packet receiving means 9 is decoded by the data decoding means 10 and passed to the data output means 11. In the above description, the details of the operations of the data encoding / dividing unit 7, the packet output unit, the packet receiving unit 9, and the data decoding unit 10 are the same as those in the first embodiment, and therefore, the description of the detailed operations is omitted. The data output unit 11 checks the boundary of the packet from the data 20 passed from the data decoding unit 10, divides the packet into packets, and outputs the data 20.

【0069】本実施の形態においては、システムは上記
のように動作するので、異なるデータストリームに属す
るデータをまとめて符号化することができ、また実施の
形態1と同様、バッファ6として必要な大きさを制限で
きるため処理の効率化が図れる。異なるデータストリー
ムに属するデータがデータ入力手段4へ入力されると、
単一のデータストリームを扱う場合に比べデータ入力頻
度が高くなりまたその入力量も多くなる。そのため単一
のデータストリームに属するデータのみを扱う場合に比
べ、一定時間Tが経過しなくともデータの送信処理が行
われる機会が増える。こうして送信までの経過時間が短
縮され、データ通信効率が向上する。
In the present embodiment, since the system operates as described above, data belonging to different data streams can be collectively encoded. The processing efficiency can be improved because the size can be limited. When data belonging to different data streams is input to the data input means 4,
The frequency of data input is higher and the amount of input is larger than when a single data stream is handled. Therefore, as compared with the case where only data belonging to a single data stream is handled, the chances of performing data transmission processing even if the fixed time T does not elapse are increased. In this way, the elapsed time until transmission is reduced, and data communication efficiency is improved.

【0070】また、2つないし複数のIPパケット25
を結合した後のIPパケット25の大きさは、結合前の
IPパケット25の大きさの和よりIPヘッダ26×n
(n:結合したIPパケットの数−1)の分だけ小さく
なる。従ってIPパケット25の結合を行う図14
(c)及び図14(d)に示した動作は、IPパケット
の結合を行わない図14(a)及び図14(b)に示し
た動作より、IPパケット25の保持するIPデータ2
7を、実質的により多くバッファ6内に保存することが
できる。即ちデータ蓄積・強制送信指示手段5がデータ
入力手段4からデータ20として受け取ったIPパケッ
ト25をバッファ6に保存する際、その内容に応じて、
可能であればパケットを結合しながらバッファ6に保存
するよう動作することは、そのような処理を行わない場
合に比べ、データ蓄積・強制送信指示手段5からデータ
符号化分割手段7へ一度により多くのIPデータ27を
渡すことができる。
Also, two or more IP packets 25
Is larger than the sum of the sizes of the IP packets 25 before the combination by the IP header 26 × n.
(N: the number of combined IP packets minus 1). Accordingly, FIG.
The operation shown in (c) and FIG. 14 (d) is different from the operation shown in FIG. 14 (a) and FIG.
7 can be stored in the buffer 6 substantially more. That is, when the data accumulation / forced transmission instructing means 5 stores the IP packet 25 received as the data 20 from the data input means 4 in the buffer 6,
If possible, the operation of storing the packets in the buffer 6 while combining them is more than once from the data accumulation / forced transmission instructing means 5 to the data encoding / dividing means 7 as compared with the case where such processing is not performed. IP data 27 can be passed.

【0071】なお上記ではIP(Internet Protocol)で
のパケット分割/結合の例を示したが、さらに上位のプ
ロトコルを元にパケットの分割/結合を行うことも可能
である。例えばRFC793などで定義されるTCP
(Transmission Control Protocol)での例を図15を
用いて説明する。
Although an example of packet division / combination in the IP (Internet Protocol) has been described above, it is also possible to perform packet division / combination based on a higher-level protocol. For example, TCP defined in RFC793
(Transmission Control Protocol) will be described with reference to FIG.

【0072】図15はTCPパケットの内部構造を示す
説明図である。TCPパケットは一般にIPパケット2
5内の一種として扱われ、そのIPデータ27はTCP
ヘッダ28及びTCPデータ29を保持する。本図にお
いてIPヘッダの詳細は図13に同じであるため説明を
割愛する。ただしIPヘッダ26のプロトコルはTCP
に固定される。TCPヘッダ28はTCPデータ29の
属性情報を保持する領域であり、本TCPパケットの送
信元ポート番号と宛先ポート番号、シーケンス番号、A
CK番号、TCPヘッダ長などから構成される。
FIG. 15 is an explanatory diagram showing the internal structure of a TCP packet. TCP packet is generally IP packet 2
5 and its IP data 27 is TCP
The header 28 and the TCP data 29 are held. In this figure, the details of the IP header are the same as in FIG. However, the protocol of the IP header 26 is TCP
Fixed to The TCP header 28 is an area for storing attribute information of the TCP data 29, and includes a source port number, a destination port number, a sequence number,
CK number, TCP header length, etc.

【0073】TCPはデータストリームを扱うプロトコ
ルであり、このため一般にTCPパケットが保持するT
CPデータ29は、IPヘッダ26に含まれる送信元I
PアドレスとTCPヘッダ28に含まれる送信元ポート
番号で定まるデータの送信端から、IPヘッダ26に含
まれる宛先IPアドレスとTCPヘッダ28に含まれる
宛先ポート番号で定まるデータ受信端へ、連続して送ら
れる一連のデータの流れの一部とみなすことができる。
TCPデータ29がそのデータの流れの中のどの箇所に
該当するデータであるかは、TCPヘッダ28内のシー
ケンス番号とTCPデータの大きさによって判断するこ
とができる。よってIPヘッダ26の保持する送信元I
Pアドレス及び宛先IPアドレスと、TCPヘッダ28
の保持する送信元ポート番号、宛先ポート番号が一致す
る2つのTCPパケットは同じデータストリームに属す
るとみなすことができ、その2つのTCPパケットがデ
ータストリームの中で連続したデータを保持しているか
どうかは、それぞれのTCPヘッダ28の保持するシー
ケンス番号とTCPデータの大きさから判断できる。こ
のためTCPパケットについても、図13(b)及び図
13(c)として示したIPパケット25の分割及び結
合の動作と類似した処理を行うことで、パケットの分割
及び結合を行うことが可能である。
[0073] TCP is a protocol for handling a data stream.
The CP data 29 includes the transmission source I included in the IP header 26.
From the data transmission end determined by the P address and the source port number included in the TCP header 28 to the data reception end determined by the destination IP address included in the IP header 26 and the destination port number included in the TCP header 28 continuously. It can be considered as part of a stream of data sent.
Which part in the flow of the TCP data 29 corresponds to the data can be determined by the sequence number in the TCP header 28 and the size of the TCP data. Therefore, the transmission source I held in the IP header 26
P address, destination IP address, and TCP header 28
Can be regarded as belonging to the same data stream if the source port number and the destination port number held by the two TCP packets belong to the same data stream, and whether the two TCP packets hold continuous data in the data stream Can be determined from the sequence number held by each TCP header 28 and the size of the TCP data. Therefore, for the TCP packet, it is possible to divide and combine the packets by performing a process similar to the operation of dividing and combining the IP packets 25 shown in FIGS. 13B and 13C. is there.

【0074】プロトコルの特性上、IPパケット25は
一般に有限の大きさを持った「データの固まり」として
扱われる。このため「データの固まり」の内部ではあた
かもデータストリームであるようにパケットの結合や再
分割が可能だが、その範囲を越えて結合や再分割を行う
ことはできない。これは具体的にはパケットIDが同じ
IPパケット間でしか結合できないことを意味する。一
方TCPパケットは無限の大きさを持った「データの流
れ」の中の一部であり、データの送信端(送信元IPア
ドレス及び送信元ポート番号)及びデータの受信端(宛
先IPアドレス及び宛先ポート番号)が同一であれば、
TCPの下位プロトコルにあたるIPレベルでは異なる
「データの固まり」、すなわち異なるパケットIDに対
応するIPパケットに分かれたデータも結合や再分割が
可能である。このためIPレベルよりTCPレベルでの
パケットの分割及び結合を行うほうがより柔軟にパケッ
トを再構成できるため、データ通信の効率をより向上さ
せることができる。
Due to the characteristics of the protocol, the IP packet 25 is generally handled as a “data block” having a finite size. For this reason, packets can be combined or re-divided as if they were data streams inside a "data chunk", but cannot be combined or re-divided beyond that range. This means that the packet ID can be combined only between the same IP packets. On the other hand, a TCP packet is a part of the “data flow” having an infinite size, and includes a data transmitting end (a source IP address and a source port number) and a data receiving end (a destination IP address and a destination). Port numbers) are the same,
At the IP level, which is a lower level protocol of TCP, different “blocks of data”, that is, data divided into IP packets corresponding to different packet IDs can be combined or re-divided. For this reason, packet division and combination at the TCP level rather than at the IP level can reconstruct packets more flexibly, so that the efficiency of data communication can be further improved.

【0075】実施の形態4.図16は、実施の形態4に
おけるシステム構成図である。図16において、データ
送信手段1gは、通信路A 3を介してデータ受信手段
A 2gとデータの送受を行い、また同時に通信路B
3を介してデータ受信手段B 2hとデータの送受を行
う。またデータ送信源A1 30/A2 30はそれぞ
れデータ送信手段1g及びデータ受信手段A 2gを経
由してデータ受信源A1 31a/A2 31bにデー
タを送信するため、データ送信源A1 30a/A2
30bはデータ入力手段4へデータストリームA1 3
2a/A2 32bのかたちでデータ20を渡し、また
データ受信源A1 31a/A2 31bはデータ出力
手段A 11aからデータストリームA1 32a/A
2 32bのかたちでデータ20を受け取る。ここでデ
ータストリームとは、例えばデータ送信源A1とデータ
受信源A1の間でデータを伝送する仮想的な通信路3で
ある。同様にデータ送信源B1 30c/B2 30d
はそれぞれデータ送信手段1g及びデータ受信手段B
2hを経由してデータ受信源B1 31c/B2 31
dにデータを送信するため、データ送信源B1 30c
/B2 30dはデータ入力手段4へデータストリーム
B1 32c/B2 32dのかたちでデータ20を渡
し、またデータ受信源B1 31c/B2 31dはデ
ータ出力手段B 11bからデータストリームB1 3
2c/B2 32dのかたちでデータ20を受け取る。
データ送信手段1g内には、データ受信手段A 2g向
けのバッファA 6q及びデータ受信手段B 2h向け
のバッファB 6bが存在し、これらはデータ蓄積・強
制送信指示手段5によりデータが蓄積され、またデータ
符号化分割手段7bへデータを渡す。なおデータ送信手
段1gの構成要素である他のパケット送信手段8、及び
データ受信手段A 2a/B 2bの他の構成要素であ
る、パケット受信手段A 9a/B 9b、データ復号
化手段A 10a/B 10bは、それぞれ図1と同じ
である。
Embodiment 4 FIG. 16 is a system configuration diagram according to the fourth embodiment. In FIG. 16, a data transmitting means 1g transmits and receives data to and from a data receiving means A 2g via a communication path A3, and at the same time, a communication path B
3 to send and receive data to and from the data receiving means B 2h. The data transmission sources A1 30a / A2 30 transmit data to the data reception sources A1 31a / A2 31b via the data transmission means 1g and the data reception means A 2g, respectively.
30b designates a data stream A1 3 to the data input means 4.
2a / A2 32b, and the data 20 is passed from the data output means A 11a to the data stream A1 32a / A.
Data 20 is received in the form of 232b. Here, the data stream is, for example, a virtual communication path 3 for transmitting data between the data transmission source A1 and the data reception source A1. Similarly, data transmission source B1 30c / B2 30d
Are data transmitting means 1g and data receiving means B, respectively.
Data receiving source B1 31c / B2 31 via 2h
d to transmit data to the data transmission source B1 30c
/ B2 30d passes the data 20 to the data input means 4 in the form of a data stream B1 32c / B2 32d, and the data receiving source B1 31c / B2 31d sends the data stream B1 3 from the data output means B 11b.
The data 20 is received in the form of 2c / B2 32d.
A buffer A 6q for the data receiving means A 2g and a buffer B 6b for the data receiving means B 2h exist in the data transmitting means 1g, and these are stored by the data storing / forcible transmission instructing means 5, and The data is passed to the data encoding / dividing means 7b. The other packet transmitting means 8 which is a component of the data transmitting means 1g, and the packet receiving means A 9a / B 9b and the data decoding means A 10a / which are other components of the data receiving means A 2a / B 2b. B 10b is the same as FIG.

【0076】次に本実施の形態におけるデータ蓄積・強
制送信指示手段5hの動作について図17を用いて説明
する。本処理S70から始まり、データ20を受け取り
(S11)、そのデータ20の宛先を調べる(S7
1)。もしデータ20の宛先がデータ受信源A1 31
aまたはA2 31bであれば、データ20の宛先を示
す情報を残したまま受け取ったデータ20をバッファA
6aへ保存する(S72)。次いでバッファA 6内
に蓄えられている最も古いデータ20の保存時間が時間
Tを越えていれば(S73のYes)バッファA 6a
に蓄積したデータ20をデータ受信手段A 2g宛とし
てデータ符号化分割手段7へ渡してからバッファA 6
aを空にする(S74)。そしてデータ入力処理(S1
1)へ戻る。一方もしデータ20の宛先がデータ受信源
B1 31cまたはB2 31dであれば、データ20
の宛先を示す情報を残したままバッファB 6bへ保存
する(S75)。次いでバッファB 6b内の最も古い
データ20の保存時間が時間Tを越えていれば(S76
のYes)、データ20をデータ受信手段B 2h宛と
してデータ符号化分割手段7へ渡してからバッファB
6bを空にする(S77)。そしてデータ入力処理(S
11)へ戻る。
Next, the operation of the data storage / forced transmission instructing means 5h in the present embodiment will be described with reference to FIG. Starting from the main processing S70, the data 20 is received (S11), and the destination of the data 20 is checked (S7).
1). If the destination of the data 20 is the data receiving source A1 31
a or A2 31b, the received data 20 is stored in the buffer A while leaving the information indicating the destination of the data 20.
6a (S72). Next, if the storage time of the oldest data 20 stored in the buffer A 6 exceeds the time T (Yes in S73), the buffer A 6a
The data 20 stored in the buffer A 6 is passed to the data encoding / dividing means 7 as being addressed to the data receiving means A 2g.
a is emptied (S74). Then, the data input processing (S1
Return to 1). On the other hand, if the destination of the data 20 is the data receiving source B1 31c or B2 31d, the data 20
Is stored in the buffer B 6b while keeping the information indicating the destination of the data (S75). Next, if the storage time of the oldest data 20 in the buffer B 6b exceeds the time T (S76).
Yes), the data 20 is addressed to the data receiving means B 2h and passed to the data encoding / dividing means 7, and then the buffer B
6b is emptied (S77). Then, the data input processing (S
Return to 11).

【0077】データ符号化分割手段7では、データ蓄積
・強制送信指示手段5hから渡されたデータ20をN+
M個のパケット21へ符号化及び分割し、その送り先に
従いパケット送信手段8を用いてデータ受信手段A 2
g、あるいはデータ受信手段B 2hへ送信する。デー
タ受信手段A 2gのパケット受信手段A 9で受信さ
れたパケット21はデータ復号化手段A 10で復号化
され、データ出力手段A 11に渡される。同様に、デ
ータ受信手段B 2への受信パケット21はデータ復号
化手段B 10で復号化され、データ出力される。
The data encoding / dividing means 7 converts the data 20 passed from the data accumulation / forced transmission instructing means 5h into N +
It is encoded and divided into M packets 21 and the data receiving means A 2 using the packet transmitting means 8 according to the destination.
g or data transmission means B 2h. The packet 21 received by the packet receiving means A9 of the data receiving means A 2g is decoded by the data decoding means A10 and passed to the data output means A11. Similarly, the received packet 21 to the data receiving means B2 is decoded by the data decoding means B10, and the data is output.

【0078】データ出力手段A 11では、データ20
の内容をしらべ、データ受信源A131a宛のデータ2
0はデータ受信源A1 31aに、またデータ受信源A
231b宛のデータ20はデータ受信源A2 31bに
渡す。同様にデータ出力手段B 11では、データ20
の内容をしらべ、データ受信源B1 31c宛のデータ
20はデータ受信源B1 31cに、またデータ受信源
B2 31d宛のデータ20はデータ受信源B2 31
dに渡す。
The data output means A 11 outputs the data 20
Of the data 2 addressed to the data receiving source A131a
0 is the data reception source A1 31a and the data reception source A
The data 20 addressed to 231b is passed to the data receiving source A2 31b. Similarly, the data output means B 11 outputs the data 20
The data 20 addressed to the data receiving source B1 31c is stored in the data receiving source B1 31c, and the data 20 addressed to the data receiving source B2 31d is output in the data receiving source B2 31
pass to d.

【0079】本実施の形態におけるデータ蓄積・強制送
信指示手段5h、データ出力手段A11、並びにデータ
出力手段B 11でのデータ20の宛先の調べ方につい
て図15を用いて説明する。以下、本実施の形態におけ
るデータストリームA132a/A2 32b/B1
32c/B2 32dはTCP(Transmission Control
Protocol)に基づく仮想的な通信路3であり、データ
蓄積・強制送信指示手段5hがデータ入力手段4から受
け取るデータ20あるいはデータ出力手段A 11及び
B11が出力するデータ20はTCPパケットであると
する。
The method of checking the destination of the data 20 in the data storage / forced transmission instructing means 5h, the data output means A11, and the data output means B11 in this embodiment will be described with reference to FIG. Hereinafter, the data stream A132a / A2 32b / B1 in the present embodiment
32c / B2 32d is TCP (Transmission Control
It is assumed that the data 20 received by the data storage / forced transmission instructing means 5h from the data input means 4 or the data 20 output by the data output means A11 and B11 is a TCP packet. .

【0080】図15はTCPパケットの内部構造を示す
説明図である。先の実施の形態において説明したとお
り、TCPパケットが保持するTCPデータ29は、I
Pヘッダ26に含まれる送信元IPアドレスとTCPヘ
ッダ28に含まれる送信元ポート番号で定まるデータの
送信端から、IPヘッダ26に含まれる宛先IPアドレ
スとTCPヘッダ28に含まれる宛先ポート番号で定ま
るデータ受信端へ連続して送られる一連のデータの流れ
の一部とみなすことできる。ここでIPヘッダ26に含
まれる宛先IPアドレスは一般にTCPパケットを送付
する計算機の違いを表し、TCPヘッダ28に含まれる
宛先ポートは同一計算機内で動作する通信対象の違いを
表す。このため一般性を損なうことなく、本実施の形態
では宛先IPアドレスを用いてデータ受信手段A 2g
/B 2hを区別し、また宛先IPアドレスとIPポー
トアドレスの組みを用いて、データ受信源A1 31a
/A2 31b/B1 31c/B2 31dを区別す
る。これによりTCPパケットに含まれる宛先IPアド
レス及び宛先ポート番号によりデータ20の宛先を判断
することができる。
FIG. 15 is an explanatory diagram showing the internal structure of a TCP packet. As described in the above embodiment, the TCP data 29 held by the TCP packet
From the transmission end of data determined by the source IP address included in the P header 26 and the source port number included in the TCP header 28, the destination is determined by the destination IP address included in the IP header 26 and the destination port number included in the TCP header 28. It can be considered as a part of a series of data flows sent continuously to the data receiving end. Here, the destination IP address included in the IP header 26 generally indicates a difference between computers that send TCP packets, and the destination port included in the TCP header 28 indicates a difference between communication targets operating in the same computer. For this reason, without impairing generality, in the present embodiment, the data receiving means A 2g using the destination IP address
/ B 2h, and using the combination of the destination IP address and the IP port address, the data receiving source A1 31a
/ A2 31b / B1 31c / B2 31d. Thereby, the destination of the data 20 can be determined based on the destination IP address and the destination port number included in the TCP packet.

【0081】上記のやりかたに基づき、データ蓄積・強
制送信指示手段5hではデータ20としてデータ入力手
段4から受け取るTCPパケットに含まれる宛先IPア
ドレスを調べることで、受け取ったデータ20をデータ
受信手段A 2gを経由してデータ受信源A1 31a
あるいはデータ受信源A2 31bに送るべきか、それ
ともデータ受信手段B 2hを経由してデータ受信源B
1 31cあるいはデータ受信源B2 31dに送るべ
きかを判断する。これによりデータ蓄積・強制送信指示
手段5hは、データ入力手段4から受け取ったデータ2
0がもしデータ受信源A1 31aまたA2 31b宛
であれば、バッファA 6aへ保存指示し(図17のS
72)、一方もしデータ受信源B1 31cまたB2
31d宛であれば、バッファB 6bへ保存する(図1
7のS75)。
Based on the above manner, the data storage / forced transmission instructing means 5h checks the destination IP address contained in the TCP packet received from the data input means 4 as the data 20, and the received data 20 is transmitted to the data receiving means A 2g. Via the data receiving source A1 31a
Alternatively, the data should be sent to the data receiving source A2 31b or the data receiving source B2h via the data receiving means B2h.
It is determined whether the data should be sent to 1 31c or the data receiving source B2 31d. As a result, the data storage / forced transmission instructing means 5 h transmits the data 2 received from the data input means 4.
If 0 is addressed to the data reception source A1 31a or A2 31b, a save instruction is issued to the buffer A 6a (S in FIG. 17).
72) On the other hand, if the data receiving sources B1 31c or B2
If it is addressed to 31d, it is stored in buffer B 6b (FIG. 1).
7 S75).

【0082】また同様にしてデータ出力手段A 11
は、データ復号化手段A 10から渡されたデータ20
として受け取るTCPパケットに含まれる宛先ポート番
号を調べることで、データ20がデータ受信源A1 3
1a宛かA2 31b宛かを判断し、それぞれに出力す
る。データ出力手段B 11の動作も同様であり、デー
タ20のTCPパケットに含まれる宛先ポート番号を調
べて、データ受信源B131c宛か、データ受信源B2
31宛かを知って、それぞれの宛先に出力する。
Similarly, the data output means A 11
Is the data 20 passed from the data decryption means A 10
By examining the destination port number included in the TCP packet received as the
It is determined whether it is addressed to 1a or A2 31b, and output to each. The operation of the data output unit B11 is the same, and the destination port number included in the TCP packet of the data 20 is checked to determine whether the destination port number is the data reception source B131c or the data reception source B2.
It knows whether it is to 31 and outputs it to each destination.

【0083】本実施の形態のシステムは、上記のように
動作するので、例えば同じ通信路A3を経由して伝送さ
れる、データ送信源A1 30aからデータ受信源A1
31aへのデータストリームA1 32a上で扱われる
データ20と、データ送信源A2 30bからデータ受
信源A2 31bへのデータストリームA2 32b上
で扱われるデータ20は、同じバッファA 6に蓄積す
ることが可能となる。これにより異なるデータストリー
ムに属するデータであるにも係わらず、データ符号化分
割手段7でまとめて符号化することができるようになる
ため、符号化及び伝送の効率が向上する。
Since the system according to the present embodiment operates as described above, for example, the data transmission source A1 30a transmits to the data reception source A1 via the same communication path A3.
Data 20 handled on data stream A1 32a to 31a and data 20 handled on data stream A2 32b from data source A2 30b to data source A2 31b can be stored in the same buffer A6. Becomes As a result, regardless of data belonging to different data streams, the data encoding / dividing means 7 can collectively encode the data, thereby improving the efficiency of encoding and transmission.

【0084】これまで説明してきたデータ送信手段1と
データ受信手段2と通信路3の具体的なイメージを図1
8に示す。図において、2つの通信装置A 40a、B
40bは、パケット送信手段8及びパケット受信手段
9とつながる通信I/F Bを用いてインターネット4
2と接続し、一方データ入力手段4及びデータ出力手段
11とつながる通信I/F Aを用いて構内LAN43
と接続し、インターネット42を用いて2つの構内LAN
43間のデータ通信の中継処理を行うよう動作する。通
信装置A,Bはいずれかがデータ送信手段1で、他方が
データ受信手段2として動作する。インターネット42
が通信路3である。
FIG. 1 shows a specific image of the data transmitting means 1, the data receiving means 2, and the communication path 3 described above.
FIG. In the figure, two communication devices A 40a, B
40b, the Internet 4 using the communication I / FB connected to the packet transmitting means 8 and the packet receiving means 9;
2 using the communication I / F A connected to the data input means 4 and the data output means 11.
And two premises LANs using the Internet 42
It operates to perform a relay process of data communication between the 43. Either of the communication devices A and B operates as the data transmitting unit 1 and the other operates as the data receiving unit 2. Internet 42
Is the communication path 3.

【0085】通信装置A40a、B 40bは通信I/
F Bと接続する通信路B 3に対しこれまで説明した
ように、そのデータ通信の品質及び効率を高める効果を
持つ。インターネット42を介した2つの構内LAN4
3間は、通信遅延が大きく、また通信時間がばらつきデ
ータの損失が起こりやすいが、これに適用することで、
より高品質で高効率の伝送ができる。
The communication devices A 40a and B 40b are connected to the communication I / O
As described above, the communication path B3 connected to the FB has an effect of improving the quality and efficiency of the data communication. Two private LANs 4 via the Internet 42
Between 3, the communication delay is large, the communication time varies, and data loss is likely to occur. By applying to this,
Higher quality and more efficient transmission is possible.

【0086】実施の形態3で説明した同一データストリ
ームのデータの分割/結合は、アプリケーションに対し
ても適用できる。図19は、そのシステム構成を示す図
であり、計算機システム44は、アプリケーション45
と、第1のデータ通信手段46と第2のデータ通信手段
47とを有し、第2のデータ通信手段47はデータ送信
手段1とデータ受信手段2を有し通信路3と接続する。
The division / combination of data of the same data stream described in the third embodiment can be applied to applications. FIG. 19 is a diagram showing the system configuration.
And a first data communication unit 46 and a second data communication unit 47. The second data communication unit 47 has the data transmission unit 1 and the data reception unit 2 and is connected to the communication path 3.

【0087】各構成要素の動作は以下の通りとなる。ア
プリケーション45はデータ通信のため第1のデータ通
信手段46とデータの授受を行う。第1のデータ通信手
段46は第2のデータ通信手段47を通信路3の代替と
して操作し、第2のデータ通信手段に対しパケットの送
受を行う。第2のデータ通信手段47は、第1のデータ
通信手段46からのパケットの送受をデータの授受とみ
なし、データ送信手段1及びデータ受信手段2の動作に
より通信路3に対しパケットの送受を行う。データ送信
手段1及びデータ受信手段2の内部動作は既に説明した
通りであり、その詳細説明は省略する。こうして、第2
のデータ通信手段47により通信路3のデータ通信の品
質及び効率が高まり、例えばTCP/IPプロトコルス
タックといった一般的な通信手段を第1のデータ通信手
段46として用いることで、第1のデータ通信手段を改
変することなく、あたかもより高品質の通信路3を使っ
て接続したようにデータ通信を行うことが可能となる。
The operation of each component is as follows. The application 45 exchanges data with the first data communication means 46 for data communication. The first data communication means 46 operates the second data communication means 47 as an alternative to the communication path 3 and transmits / receives packets to / from the second data communication means. The second data communication unit 47 regards the transmission and reception of the packet from the first data communication unit 46 as the transmission and reception of data, and transmits and receives the packet to and from the communication path 3 by the operation of the data transmission unit 1 and the data reception unit 2. . The internal operations of the data transmitting means 1 and the data receiving means 2 are as already described, and the detailed description is omitted. Thus, the second
The quality and efficiency of data communication on the communication path 3 is improved by the data communication means 47, and the general data communication means such as a TCP / IP protocol stack is used as the first data communication means 46. It is possible to perform data communication as if connected using a higher quality communication path 3 without altering the communication path.

【0088】[0088]

【発明の効果】以上のようにこの発明によれば、データ
をバッファに止める時間を限定し、更にはデータ分割、
符号化の長さを通信路情報で可変設定したので、送信完
了までの時間を短くでき、かつ所定の長さで送るのでオ
ーバヘッド負荷の増大を防ぎ、従ってデータを高品質で
かつ高効率で送れる効果がある。
As described above, according to the present invention, the time during which data is stopped in the buffer is limited, and further, data division,
Since the encoding length is variably set by the channel information, the time until the transmission is completed can be shortened, and since the transmission is performed at a predetermined length, the overhead load is prevented from increasing, so that the data can be transmitted with high quality and high efficiency. effective.

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

【図1】 本発明の実施の形態1におけるシステム構成
を示す図である。
FIG. 1 is a diagram showing a system configuration according to a first embodiment of the present invention.

【図2】 実施の形態1のおけるシステムの動作を説明
する図である。
FIG. 2 is a diagram illustrating an operation of the system according to the first embodiment.

【図3】 実施の形態1におけるデータ蓄積・強制送信
指示手段を中心とする動作フロー図である。
FIG. 3 is an operation flowchart mainly showing data accumulation / forced transmission instruction means according to the first embodiment;

【図4】 実施の形態1におけるデータ符号化分割手段
の動作を説明する図である。
FIG. 4 is a diagram for explaining an operation of a data encoding and dividing unit according to the first embodiment.

【図5】 実施の形態1におけるデータ復号化分割手段
の動作を説明する図である。
FIG. 5 is a diagram illustrating an operation of a data decoding division unit according to the first embodiment.

【図6】 実施の形態1における他のデータ蓄積・強制
送信指示手段を中心とする動作フロー図である。
FIG. 6 is an operation flowchart mainly showing another data accumulation / forced transmission instructing unit in the first embodiment.

【図7】 実施の形態1における更に他のデータ蓄積・
強制送信指示手段を中心とする動作フロー図である。
FIG. 7 is a diagram illustrating still another data storage and operation according to the first embodiment.
It is an operation | movement flowchart mainly on a forced transmission instruction | indication means.

【図8】 本発明の実施の形態2におけるデータ蓄積・
強制送信指示手段を中心とする動作フロー図である。
FIG. 8 is a diagram illustrating data storage and operation according to the second embodiment of the present invention.
It is an operation | movement flowchart mainly on a forced transmission instruction | indication means.

【図9】 実施の形態2における他のデータ蓄積・強制
送信指示手段を中心とする動作フロー図である。
FIG. 9 is an operation flowchart mainly showing another data accumulation / forced transmission instructing unit in the second embodiment.

【図10】 実施の形態2における他のシステム構成を
示す図である。
FIG. 10 is a diagram showing another system configuration according to the second embodiment.

【図11】 実施の形態2における更に他のシステム構
成を示す図である。
FIG. 11 is a diagram showing still another system configuration according to the second embodiment.

【図12】 本発明の実施の形態3におけるデータ蓄積
・強制送信指示手段を中心とする動作フロー図である。
FIG. 12 is an operation flowchart mainly showing data accumulation / forced transmission instruction means according to Embodiment 3 of the present invention.

【図13】 実施の形態3におけるパケットの内部構造
とパケットの分割/結合を説明する図である。
FIG. 13 is a diagram illustrating an internal structure of a packet and packet division / combination according to the third embodiment.

【図14】 実施の形態3におけるバッファがデータを
記憶する記憶組合せを説明する図である。
FIG. 14 is a diagram illustrating a storage combination in which a buffer stores data according to the third embodiment.

【図15】 TCPパケットの内部構造を示す図であ
る。
FIG. 15 is a diagram showing an internal structure of a TCP packet.

【図16】 本発明の実施の形態4におけるシステム構
成を示す図である。
FIG. 16 is a diagram showing a system configuration according to a fourth embodiment of the present invention.

【図17】 実施の形態4におけるデータ蓄積・強制送
信指示手段を中心とする動作フロー図である。
FIG. 17 is an operation flowchart mainly showing data accumulation / forced transmission instruction means in the fourth embodiment.

【図18】 本発明を適用した具体的な接続形態の例を
示す図である。
FIG. 18 is a diagram showing an example of a specific connection form to which the present invention is applied.

【図19】 本発明をアプリケーションに適用した例を
示す図である。
FIG. 19 is a diagram showing an example in which the present invention is applied to an application.

【図20】 第1の従来例としてのデータ送信システム
の構成図である。
FIG. 20 is a configuration diagram of a data transmission system as a first conventional example.

【図21】 第2の従来例としてのデータ送信システム
の構成図である。
FIG. 21 is a configuration diagram of a data transmission system as a second conventional example.

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

1、1b、1c、1d、1g データ送信手段、2、2
a、2b、2c,2e、2f、2g、2h データ受信
手段(A)、(B)、5、5b、5c、5d5e、5
f、5g、5h データ蓄積・強制送信指示手段、6、
6a、6b バッファ(A)、(B)、7、7b デー
タ符号化分割手段(A)、(B)、10データ復号化手
段(A)、(B)、S14 経過時間チェックステッ
プ。
1, 1b, 1c, 1d, 1g Data transmission means, 2, 2
a, 2b, 2c, 2e, 2f, 2g, 2h Data receiving means (A), (B), 5, 5b, 5c, 5d5e, 5
f, 5g, 5h Data storage / forced transmission instruction means, 6,
6a, 6b Buffers (A), (B), 7, 7b Data coding division means (A), (B), 10 data decoding means (A), (B), S14 Elapsed time check step.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 入力手段からのデータを冗長化、符号化
してパケット送信する構成において、 上記データを所定長さ単位で記憶するバッファと、 上記バッファが空の状態からデータが記憶される最初の
時間から所定の時間が経過すると、強制分割符号化して
送信指示するデータ蓄積・強制送信指示手段と、 上記バッファからの上記所定長データを冗長化、符号化
するデータ符号化分割手段を備えたことを特徴とする高
効率データ送信装置。
In a configuration in which data from an input means is redundantly encoded and transmitted in a packet, a buffer for storing the data in units of a predetermined length, and a first buffer for storing data from an empty state of the buffer. Data storage / forced transmission instructing means for instructing transmission after a predetermined time has elapsed from the time, and data encoding / dividing means for making the predetermined length data from the buffer redundant and encoding. A high-efficiency data transmission device characterized by the above-mentioned.
【請求項2】 データ符号化分割手段は、所定の時間が
経過すると、送信データの所定長と、許容伝送遅延時間
に得られる伝送確率と、によりデータ長の分割数と冗長
度とを定めるようにしたことを特徴とする請求項1記載
の高効率データ送信装置。
2. The data encoding / dividing means determines a data length division number and a redundancy based on a predetermined length of transmission data and a transmission probability obtained in an allowable transmission delay time after a predetermined time has elapsed. The high-efficiency data transmission device according to claim 1, wherein:
【請求項3】 データ蓄積・強制送信指示手段は、許容
伝送遅延時間に得られる伝送確率により所定の時間を動
的に変更するようにしたことを特徴とする請求項1記載
の高効率データ送信装置。
3. The high-efficiency data transmission according to claim 1, wherein said data accumulation / forced transmission instruction means dynamically changes a predetermined time according to a transmission probability obtained in an allowable transmission delay time. apparatus.
【請求項4】 パケット受信手段を備え、遅延時間情報
を得て、伝送確率を計算するようにしたことを特徴とす
る請求項2または請求項3記載の高効率データ送信装
置。
4. The high-efficiency data transmission device according to claim 2, further comprising packet receiving means, wherein delay time information is obtained, and a transmission probability is calculated.
【請求項5】 入力されるデータに分割結合可否の識別
子を加え、分割結合が可能な場合は、データをバッファ
の所定長単位で記憶し、冗長化、符号化するようにした
ことを特徴とする請求項1記載の高効率データ送信装
置。
5. An apparatus according to claim 1, wherein an identifier indicating whether or not division / combination is possible is added to the input data, and if division / combination is possible, the data is stored in a predetermined length unit of a buffer, and is redundantly encoded. The high-efficiency data transmission device according to claim 1.
【請求項6】 入力されるデータにストリームを識別す
る識別子を加え、バッファは、該ストリーム識別子単位
に記憶して、 バッファのデータが所定長になると冗長化、符号化して
送信するようにしたことを特徴とする請求項1記載の高
効率データ送信装置。
6. An input data is added with an identifier for identifying a stream, the buffer is stored in units of the stream identifier, and when the data in the buffer reaches a predetermined length, the data is redundantly encoded and transmitted. The high-efficiency data transmission device according to claim 1, wherein:
【請求項7】 入力手段からのデータを所定長さ単位で
記憶するバッファと、該バッファが空の状態からデータ
が記憶される最初の時間から所定の時間が経過すると、
強制分割符号化するよう送信指示するデータ蓄積・強制
送信指示手段と、上記バッファからの上記所定長データ
を冗長化、符号化するデータ符号化分割手段を備えたデ
ータ送信装置と、 通信路を介して上記データ送信装置からのデータを受
け、所定の冗長度のデータが受信されると、直ちに復号
を開始するデータ復号化手段を備えたデータ受信装置と
で構成される高効率データ伝送システム。
7. A buffer for storing data from an input means in units of a predetermined length, and when a predetermined time elapses from an initial time when data is stored from an empty state of the buffer,
A data transmission device having data accumulation / forced transmission instructing means for instructing transmission to perform forced division encoding, and data encoding / dividing means for making the predetermined length data from the buffer redundant and encoded; And a data receiving device having data decoding means for immediately starting decoding when data having a predetermined redundancy is received upon receiving data from the data transmitting device.
JP2000011533A 2000-01-20 2000-01-20 Device and system for high efficiency data transmission Withdrawn JP2001203749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000011533A JP2001203749A (en) 2000-01-20 2000-01-20 Device and system for high efficiency data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000011533A JP2001203749A (en) 2000-01-20 2000-01-20 Device and system for high efficiency data transmission

Publications (1)

Publication Number Publication Date
JP2001203749A true JP2001203749A (en) 2001-07-27

Family

ID=18539382

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000011533A Withdrawn JP2001203749A (en) 2000-01-20 2000-01-20 Device and system for high efficiency data transmission

Country Status (1)

Country Link
JP (1) JP2001203749A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004320087A (en) * 2003-04-10 2004-11-11 Nec Corp Transmission system
JP2006246012A (en) * 2005-03-03 2006-09-14 Nippon Telegr & Teleph Corp <Ntt> Data transmission/reception system and data transmitter
JP2006325113A (en) * 2005-05-20 2006-11-30 Nhk Engineering Services Inc Packet relay device, contents transmission device and reproduction device, packet relay program and packet relaying method
JP2007251769A (en) * 2006-03-17 2007-09-27 Mitsubishi Electric Corp Control node device, data management method, and program
JP2008042757A (en) * 2006-08-09 2008-02-21 Ntt Docomo Inc Wireless system, wireless communication device, and communication method
JP2009060513A (en) * 2007-09-03 2009-03-19 Toshiba Corp Fec transmission processing apparatus, and method and program for fec transmission processing
JPWO2007069406A1 (en) * 2005-12-15 2009-05-21 三菱電機株式会社 COMMUNICATION SYSTEM, TRANSMITTER COMMUNICATION DEVICE, AND RECEPTION COMMUNICATION DEVICE
US8046667B2 (en) 2002-04-19 2011-10-25 Thomson Licensing Synchronization loss resilient digital communication system using forward erasure correction
WO2011161922A1 (en) * 2010-06-24 2011-12-29 Sony Corporation Transmission device, reception device and communication system
CN105637867A (en) * 2013-07-15 2016-06-01 Ge视频压缩有限责任公司 Low delay concept in multi-layered video coding
JP2017111568A (en) * 2015-12-15 2017-06-22 日本電信電話株式会社 Data aggregation device, method, and program
JP2019075681A (en) * 2017-10-16 2019-05-16 富士通株式会社 Transmission device, transmission method and processing device
JPWO2021161493A1 (en) * 2020-02-14 2021-08-19

Cited By (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8046667B2 (en) 2002-04-19 2011-10-25 Thomson Licensing Synchronization loss resilient digital communication system using forward erasure correction
JP2004320087A (en) * 2003-04-10 2004-11-11 Nec Corp Transmission system
JP4485383B2 (en) * 2005-03-03 2010-06-23 日本電信電話株式会社 Data transmission / reception system and data transmission apparatus
JP2006246012A (en) * 2005-03-03 2006-09-14 Nippon Telegr & Teleph Corp <Ntt> Data transmission/reception system and data transmitter
JP2006325113A (en) * 2005-05-20 2006-11-30 Nhk Engineering Services Inc Packet relay device, contents transmission device and reproduction device, packet relay program and packet relaying method
JP4580278B2 (en) * 2005-05-20 2010-11-10 財団法人エヌエイチケイエンジニアリングサービス Packet relay device, content transmission device, packet relay program, and packet relay method
JPWO2007069406A1 (en) * 2005-12-15 2009-05-21 三菱電機株式会社 COMMUNICATION SYSTEM, TRANSMITTER COMMUNICATION DEVICE, AND RECEPTION COMMUNICATION DEVICE
JP4528273B2 (en) * 2006-03-17 2010-08-18 三菱電機株式会社 Control node device, data management method, and program
JP2007251769A (en) * 2006-03-17 2007-09-27 Mitsubishi Electric Corp Control node device, data management method, and program
JP2008042757A (en) * 2006-08-09 2008-02-21 Ntt Docomo Inc Wireless system, wireless communication device, and communication method
JP2009060513A (en) * 2007-09-03 2009-03-19 Toshiba Corp Fec transmission processing apparatus, and method and program for fec transmission processing
US9485054B2 (en) 2010-06-24 2016-11-01 Sony Corporation Transmission device, reception device and communication system
WO2011161922A1 (en) * 2010-06-24 2011-12-29 Sony Corporation Transmission device, reception device and communication system
JP2012010066A (en) * 2010-06-24 2012-01-12 Sony Corp Transmitter, receiver and communication system
CN105637867B (en) * 2013-07-15 2019-08-30 Ge视频压缩有限责任公司 Low latency concept in multi-layer video coding
US10869047B2 (en) 2013-07-15 2020-12-15 Ge Video Compression, Llc Layer ID signaling using extension mechanism
US10142639B2 (en) 2013-07-15 2018-11-27 Ge Video Compression, Llc Cluster-based dependency signaling
US11792415B2 (en) 2013-07-15 2023-10-17 Ge Video Compression, Llc Low delay concept in multi-layered video coding
US10349066B2 (en) 2013-07-15 2019-07-09 Ge Video Compression, Llc Layer ID signaling using extension mechanism
US10349065B2 (en) 2013-07-15 2019-07-09 Ge Video Compression, Llc Network device and error handling
CN105637867A (en) * 2013-07-15 2016-06-01 Ge视频压缩有限责任公司 Low delay concept in multi-layered video coding
CN110225358A (en) * 2013-07-15 2019-09-10 Ge视频压缩有限责任公司 Device, method, encoder and computer program
US10425651B2 (en) 2013-07-15 2019-09-24 Ge Video Compression, Llc Cluster-based dependency signaling
US10523954B2 (en) 2013-07-15 2019-12-31 Ge Video Compression, Llc Low delay concept in multi-layered video coding
US10595027B2 (en) 2013-07-15 2020-03-17 Ge Video Compression, Llc Layer characteristic signaling in multi-layered coding
US10609399B2 (en) 2013-07-15 2020-03-31 Ge Video Compression, Llc Cluster-based dependency signaling
US10616591B2 (en) 2013-07-15 2020-04-07 Ge Video Compression, Llc Layer ID signaling using extension mechanism
US11647209B2 (en) 2013-07-15 2023-05-09 Ge Video Compression, Llc Layer characteristic signaling in multi-layered coding
US11006136B2 (en) 2013-07-15 2021-05-11 Ge Video Compression, Llc Cluster-based dependency signaling
US11012700B2 (en) 2013-07-15 2021-05-18 Ge Video Compression, Llc Layer characteristic signaling in multi-layered coding
US11025929B2 (en) 2013-07-15 2021-06-01 Ge Video Compression, Llc Low delay concept in multi-layered video coding
US11616964B2 (en) 2013-07-15 2023-03-28 Ge Video Compression, Llc Layer ID signaling using extension mechanism
US11546618B2 (en) 2013-07-15 2023-01-03 Ge Video Compression, Llc Cluster-based dependency signaling
US11252422B2 (en) 2013-07-15 2022-02-15 Ge Video Compression, Llc Network device and error handling
JP2017111568A (en) * 2015-12-15 2017-06-22 日本電信電話株式会社 Data aggregation device, method, and program
JP7027788B2 (en) 2017-10-16 2022-03-02 富士通株式会社 Transmission equipment, transmission method and processing equipment
US11329910B2 (en) 2017-10-16 2022-05-10 Fujitsu Limited Transmission apparatus including a plurality of switches and output circuits for transmitting data and transmission method
JP2019075681A (en) * 2017-10-16 2019-05-16 富士通株式会社 Transmission device, transmission method and processing device
WO2021161493A1 (en) * 2020-02-14 2021-08-19 株式会社日立国際電気 Wireless communication device and wireless communication method
JPWO2021161493A1 (en) * 2020-02-14 2021-08-19
JP7271781B2 (en) 2020-02-14 2023-05-11 株式会社日立国際電気 Wireless communication device and wireless communication method

Similar Documents

Publication Publication Date Title
US7653864B2 (en) Method and apparatus to perform error control
EP1732285B1 (en) Apparatus and methods for a high performance hardware network protocol processing engine
TWI411279B (en) Packet coalescing
US9654419B2 (en) Fabric channel control apparatus and method
US6751209B1 (en) Header compression in real time service
US7613110B1 (en) Combining multilink and IP per-destination load balancing over a multilink bundle
US7680047B2 (en) Maximum transmission unit tuning mechanism for a real-time transport protocol stream
US20150023223A1 (en) Method and Device for Filtering Media Packets
Larzon et al. Efficient use of wireless bandwidth for multimedia applications
JP2002135362A (en) Header compressor and header compression method
JP2001203749A (en) Device and system for high efficiency data transmission
JP2003502948A (en) Robust header compression in packet communication
JPH06237451A (en) Moving picture communication system and terminal equipment
US7317724B2 (en) Performing compression of user datagram protocol packets
US6111924A (en) Error-correction-code synchronization in a videoconferencing gateway
US7065087B2 (en) Performing compression of user datagram protocol packets
US7024490B2 (en) Scheme, apparatus, and program for header compression
US7649906B2 (en) Method of reducing buffer usage by detecting missing fragments and idle links for multilink protocols and devices incorporating same
Chandranmenon et al. Reconsidering fragmentation and reassembly
US20040165542A1 (en) Packet transmitter and packet transmitter method
JP3524914B1 (en) Checksum calculation method, checksum recording method, and communication device that can use the method
US20030128699A1 (en) Method and apparatus for header updating
JP2002094553A (en) Device and method for transmitting packet
WO2023193471A1 (en) Address setting method and device, storage medium, and electronic device
JPH09149080A (en) Data transmitter

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20051018

A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070403