JPH05167616A - Communication processing device - Google Patents
Communication processing deviceInfo
- Publication number
- JPH05167616A JPH05167616A JP32872291A JP32872291A JPH05167616A JP H05167616 A JPH05167616 A JP H05167616A JP 32872291 A JP32872291 A JP 32872291A JP 32872291 A JP32872291 A JP 32872291A JP H05167616 A JPH05167616 A JP H05167616A
- Authority
- JP
- Japan
- Prior art keywords
- data
- sequence number
- packet
- communication
- order
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
Abstract
(57)【要約】
【目的】 本発明はパケット交換方式のような一連のデ
ータを一つないし複数の単位に分割して通信する通信方
式を使用して、通信資源の有効利用をはかりつつ動画や
音声などのリアルタイムデータを通信処理できる装置を
提供することを目的とする。
【構成】 通信されるパケット内のデータには送信側の
順序番号管理部2013によって順序番号が付与される。受
信側では受信した順序番号をチェックし、順番通りのデ
ータであれば受信者にこのデータを渡す。もし途中のパ
ケットが脱けていた場合は通信データメモリ202上にこ
のデータを保持し、一定時間経過後も途中のパケットが
到着しない場合には補完データメモリ203上のデータを
使用して脱落部を補完するデータを生成し、データの長
さと順序を復元して受信者に補完データとともに保持し
ていたデータを渡す。
(57) [Summary] [Object] The present invention uses a communication method such as a packet switching method for dividing a series of data into one or a plurality of units for communication, and makes an effective use of communication resources to create a moving image. It is an object of the present invention to provide a device capable of communicating and processing real-time data such as voice and voice. [Structure] A sequence number management unit 2013 on the transmitting side gives a sequence number to data in a packet to be communicated. The receiving side checks the received sequence number and, if the data is in order, passes this data to the receiver. If the packet in the middle is missing, this data is held in the communication data memory 202, and if the packet in the middle does not arrive after a certain period of time, the data in the complementary data memory 203 is used to drop the data. Is generated, the length and order of the data are restored, and the data held together with the complementary data is passed to the receiver.
Description
【0001】[0001]
【産業上の利用分野】本発明は、動画像や音声などの、
データ通信の高速性とリアルタイム性とを要求され、か
つデータの順序は正しい順序でありデータの長さも元通
りでなければならないが、通信品質に関してはあまり厳
密さを要求されないようなデータの通信処理をする装置
に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention
Data communication processing that requires high-speed and real-time data communication, and the order of data must be correct and the length of data must be the same as before, but communication quality is not so strict. It relates to a device for
【0002】[0002]
【従来の技術】動画像や音声などの通信品質に関して
は、二通りの要求が存在する。一つは送信者が送信した
物と完全に同じ情報を受信者側が受信しなければならな
いという要求である。これは例えばスタジオなどでの音
楽・映像作成のようなプロユースでの要求である。2. Description of the Related Art There are two requirements for communication quality of moving images and voice. One is the requirement that the recipient must receive exactly the same information that the sender sent. This is a demand for professional use such as music / video production in a studio or the like.
【0003】一方、送信者が送信した物と完全に同じ情
報を受信者側で再現できなくても、受信者が見聞きして
問題無い(情報の変化による品質劣化がわからない)程
度の品質であればよいという要求もある。これは例えば
家庭などでの音楽・映像観賞のようなホームユースでの
要求である。On the other hand, even if the receiver cannot reproduce exactly the same information as the one transmitted by the sender, the receiver should see and hear the information (the quality deterioration due to the change in the information is not noticeable). There is also a demand for good. This is a demand for home use such as music / video viewing at home.
【0004】一方、現在の通信方式は回線交換方式とパ
ケット交換方式の二つに大別される。 回線交換方式
は、通信網のある帯域をある送受信者間の通信に固定的
に割り当てる方式であり、速度が常に安定しておりかつ
データ伝送の遅延も少なくゆらぎがない。さらに、送信
側と受信側とで時間の同期が簡単にとれるため、音声や
動画像などのリアルタイムデータの通信に多く使用され
ている。On the other hand, current communication systems are roughly classified into a circuit switching system and a packet switching system. The circuit switching method is a method in which a certain band of a communication network is fixedly assigned to communication between certain senders and receivers, the speed is always stable, and there is little delay in data transmission and no fluctuation. Further, since it is easy to synchronize the time between the transmitting side and the receiving side, it is often used for communication of real-time data such as voice and moving images.
【0005】しかし、例えば音声ならば無音状態のよう
に、情報が実際には通信されていないような場合でも回
線交換方式では帯域が占有されることになり、通信資源
が有効に利用できない。また、途中でノイズなどによっ
て情報に変化が起こった場合、これを修正することが困
難である。また、情報を後で処理できる形態に保存する
ことも若干めんどうであると言うような欠点がある。従
って、コンピュータデータのような、情報が常に完全で
なければならないデータの通信には不向きである。However, even if information is not actually being communicated, for example, in the case of voice, which is in a silent state, the circuit switching system occupies a band and communication resources cannot be effectively used. Further, when the information changes due to noise or the like on the way, it is difficult to correct it. There is also the drawback that storing the information in a form that can be processed later is a bit more cumbersome. Therefore, it is not suitable for the communication of data such as computer data in which the information must always be complete.
【0006】パケット交換方式は、連続するデータをあ
る単位の長さに分割し、これに通信の受信者アドレスや
送信者アドレスなどの情報を付加したパケットを構成
し、これによってデータ通信を行なう方法である。In the packet switching system, continuous data is divided into a certain unit length, and a packet is formed by adding information such as a receiver address and a sender address of communication to the packet, and data communication is performed by this. Is.
【0007】この方法だと通信者は基本的に必要なとき
に必要なだけパケットを生成して通信すれば良いわけ
で、回線交換のような通信資源の無駄な占有状態が発生
せず、通信資源の有効利用が図れる。また、ノイズなど
による情報の変化の検出が容易で、情報の復元も簡単に
できる利点があるため、コンピュータデータのような、
送受信者間で情報の完全な復元が必須とされるデータの
通信に一般に使用されている。[0007] According to this method, the communicator basically only needs to generate and communicate packets as needed when necessary, so that there is no wasteful occupation of communication resources, such as circuit switching, and communication is possible. Effective use of resources can be achieved. In addition, because it is easy to detect changes in information due to noise and to easily restore information, like computer data,
It is commonly used for data communication between senders and receivers, where complete restoration of information is essential.
【0008】しかし、パケット通信では逆にパケットが
即座に受信者に配送されるという保証はなく、その配信
間隔もまちまちになり、送信側と受信側とで時間の同期
をとることが非常に困難であり、一般にリアルタイムデ
ータの通信には不向きである。On the other hand, in packet communication, on the contrary, there is no guarantee that the packet will be immediately delivered to the recipient, and the delivery intervals will be different, making it very difficult to synchronize the time between the sender and the receiver. Therefore, it is generally unsuitable for real-time data communication.
【0009】また、パケット交換方式は一般に処理手順
が複雑である。なかでもデータの誤り回復手順は非常に
複雑であり、データの再送などを行なえばますます送受
信者間での同期は困難になる。In addition, the packet switching system generally has a complicated processing procedure. In particular, the error recovery procedure of data is very complicated, and if data is retransmitted, it becomes more difficult to synchronize the sender and receiver.
【0010】一方、例えばUDPと呼ばれるパケット通
信プロトコルのように誤り回復を行なわない非常に軽量
なプロトコルも存在する。このようなプロトコルは高速
処理に適しており、一見ホームユースなどの通信品質を
厳密に要求されない場面での画像や音声などの伝送に適
したパケット通信プロトコルであるかに思える。On the other hand, there is also a very lightweight protocol that does not perform error recovery, such as a packet communication protocol called UDP. Such a protocol is suitable for high-speed processing, and at first glance, it seems to be a packet communication protocol suitable for transmission of images and voice in situations where communication quality such as home use is not strictly required.
【0011】しかし、このようなプロトコルには誤り回
復を想定していないため順序番号の概念が初めから無い
ため、パケットが紛失した場合やパケットの到着順序が
入れ替わった場合などを検知する事ができない。つま
り、画像情報のようなデータの順番とデータの長さに非
常に意味があり、間がぬけたり順番が入れ替わったりし
てはいけないデータを大量にこのような順序番号の概念
が無いプロトコルで送ることは実は不可能なのである。However, since such a protocol does not assume error recovery, there is no concept of a sequence number from the beginning, so that it is impossible to detect a case where a packet is lost or a case where the arrival order of packets is changed. .. In other words, the order of data such as image information and the length of the data are very significant, and a large amount of data that should not be interrupted or the order is exchanged is sent by a protocol without such a concept of a sequence number. That is actually impossible.
【0012】また、近年回線交換方式とパケット交換方
式の両者の特長を合わせ持った通信方式として非同期通
信方式(以下ATMと略す)が提唱され注目を浴びてい
る。In recent years, an asynchronous communication system (hereinafter abbreviated as ATM) has been proposed as a communication system having the features of both the circuit switching system and the packet switching system, and has been attracting attention.
【0013】ATMでは連続するデータを48バイトの
固定長に分割し、これにあて先アドレスなどの情報を持
つ5バイトのヘッダを付加したセルと呼ばれる単位で通
信を行なう。セルはパケットと違い固定長であるため、
その交換機をハードウェア化しやすく、通信の高速化に
適していると言われている。In ATM, continuous data is divided into a fixed length of 48 bytes, and a 5-byte header having information such as a destination address is added to the divided data for communication in units called cells. Unlike packets, cells have a fixed length, so
It is said that the exchange can be easily implemented as hardware and is suitable for speeding up communication.
【0014】このATM方式は現在CCITTなどで検
討中であり、十分にその内容が固まっていない段階であ
るが、現在の規格ではアダプテーションレイヤにおいて
セルに順序番号をもたせることができるようになってお
り、誤り検出用のCRC情報とあわせてセルの誤り回復
が可能な構成になっている。実際の誤り回復手順につい
ては未検討であるが、基本的には再送によって回復され
ることになると予想されるため、やはりパケット交換方
式同様送受信者間での同期の問題が発生する。This ATM system is currently under study by CCITT and the like, and its content is not yet fully fixed. However, the current standard allows cells to have sequence numbers in the adaptation layer. The cell error recovery is possible together with the error detection CRC information. Although the actual error recovery procedure has not been studied, it is basically expected to be recovered by retransmission, so that a problem of synchronization between the sender and the receiver also occurs as in the packet switching method.
【0015】また、ATMでは必ずしも誤り回復は必須
機能ではないためまったく誤り検出をしない事も可能で
あるが、この方法ではさきに示したUDPの例と同様の
順序の回復が不可能であるという問題を避けられない。Further, in ATM, since error recovery is not always an essential function, it is possible not to detect errors at all, but this method cannot recover the same order as in the UDP example shown above. I cannot avoid the problem.
【0016】更に、ATMではCRC情報によりセルに
誤りが検出された場合に誤りがあることだけを通知して
セルは誤りを含んだまま受信者に渡す方法も検討されて
いる。この方法によれば、セルが受信端まで届いたが誤
りがあったという場合にはデータの順序だけは保証され
る。しかし、ATMは本質的にセル廃棄を前提にして設
計されており、受信端に至るまでの中継段階のどこかで
セル廃棄が起こった場合、セル廃棄によってデータの一
部が欠落していることを受信端が受信者に通知する方法
が無い。従って、この場合やはりデータの順序とデータ
の長さが崩れるか、あるいは再送によって同期が失われ
るかのいずれかとなり問題である。Further, in ATM, a method of notifying only that an error is detected in the cell by the CRC information and passing the error to the receiver while the cell includes the error is also under study. According to this method, only the order of data is guaranteed when the cell reaches the receiving end but has an error. However, ATM is essentially designed for cell discard, and if cell discard occurs somewhere in the relay stage up to the receiving end, some data is lost due to cell discard. There is no way for the receiving end to notify the recipient. Therefore, in this case, the order of the data and the length of the data still collapse, or the synchronization is lost due to the retransmission, which is a problem.
【0017】しかし、いずれにせよATMはまだ開発途
上の技術であり、現在は実用化されていない。そこで従
来動画や音声などのリアルタイムデータの通信には一般
に回線交換方式が使用されている。ただし、特に通信品
質が厳密に要求される場面ではリアルタイム性を無視し
て音声・画像情報をコンピュータデータと同じ扱いにし
てパケット交換方式で通信し、データの通信を完了した
後に再生する方式を取っている。In any case, however, ATM is still a developing technology and has not been put into practical use at present. Therefore, conventionally, circuit switching is generally used for communication of real-time data such as moving images and voice. However, especially when communication quality is strictly required, the method of ignoring the real-time property, treating voice / image information as the same as computer data and communicating by packet switching method, and reproducing after completing data communication is adopted. ing.
【0018】[0018]
【発明が解決しようとする課題】しかし、すでに説明し
たように回線交換方式は実際にはデータを通信していな
い場面でも帯域を占有してしまうため資源の有効利用の
観点からあまり好ましい方式ではなく、できることなら
ば動画や音声などの通信にもパケット交換的な方式を採
用して資源を有効に利用し、通信コストを下げることが
望ましい。However, as described above, the circuit switching system occupies a band even when data is not actually being communicated, and is not a preferable system from the viewpoint of effective use of resources. If possible, it is desirable to use a packet-switching method for communication such as video and audio to effectively use resources and reduce communication costs.
【0019】本発明はこのような課題に鑑み、特に厳密
な通信品質を要求されない場面での動画や音声などのリ
アルタイムデータ通信において、回線交換方式のように
資源の無駄な占有を発生しないような通信処理装置を提
供することを目的とする。In view of the above problems, the present invention does not cause unnecessary occupation of resources unlike the circuit switching system in real-time data communication such as moving images and voices in situations where strict communication quality is not required. An object is to provide a communication processing device.
【0020】[0020]
【課題を解決するための手段】上記の目的を達成するた
めに、本発明の通信処理装置においては、第1の手段と
して、送信端から通知される順序番号を使用してデータ
の脱落や順序の入れ替わりを監視するデータ順序監視手
段と、データの脱落によって失われた部分のデータを予
め決められている補完用データで受信端が独自に補完す
る欠落データ補完手段と、順序の入れ替わったデータの
順序を復元する順序再構成手段とを有する構成にする。In order to achieve the above object, in the communication processing apparatus of the present invention, as a first means, the sequence number notified from the transmitting end is used to drop or order data. Data order monitoring means for monitoring the exchange of data, missing data complementing means for the receiving end to independently complement the data lost by the loss of data with predetermined complementary data, and And a sequence reconstructing means for restoring the sequence.
【0021】第2の手段として、送信端から通知される
順序番号を使用してデータの脱落や順序の入れ替わりを
監視するデータ順序監視手段と、データの脱落によって
失われた部分のデータの順序番号だけを受信者に通知す
る欠落データ順序番号通知手段と、順序の入れ替わった
データの順序を復元する順序再構成手段とを有する構成
にする。As a second means, a data sequence monitoring means for monitoring data loss and order change using a sequence number notified from the transmitting end, and a data sequence number of a part lost due to data loss. Only the missing data sequence number notifying means for notifying the receiver of the data and the order reconstructing means for restoring the order of the data whose order has been changed are adopted.
【0022】第3の手段として、送信端から通知される
シーケンス番号を使用してデータの脱落や順序の入れ替
わりを監視するデータ順序監視手段と、順序が入れ替わ
って、すでに受信端が受信しているデータの順序よりも
前の順序のデータを受信した場合はこのデータを即座に
廃棄する順序不整合データ廃棄手段と、データの脱落あ
るいは前記データの廃棄によって失われた部分のデータ
を予め決められている補完用データで受信端が独自に補
完する欠落データ補完手段とを有する構成にする。As a third means, a data sequence monitoring means for monitoring data loss and order change by using a sequence number notified from the transmission end, and a data order monitor means that the order has been changed and the reception end has already received. When the data in the order prior to the order of the data is received, the order inconsistent data discarding means for immediately discarding this data and the data of the part lost due to the loss of the data or the discarding of the data are predetermined. It is configured to have a missing data complementing means for independently complementing the receiving end with existing complementary data.
【0023】第4の手段として、送信端から通知される
シーケンス番号を使用してデータの脱落や順序の入れ替
わりを監視するデータ順序監視手段と、順序が入れ替わ
って、すでに受信端が受信しているデータの順序よりも
前の順序のデータを受信した場合はこのデータを即座に
廃棄する順序不整合データ廃棄手段と、データの脱落あ
るいは前記データの廃棄によって失われた部分のデータ
の順序番号だけを受信者に通知する欠落データ順序番号
通知手段とを有する構成にする。As a fourth means, a data sequence monitoring means for monitoring data loss and order change using a sequence number notified from the transmission end, and the order has been changed and the reception end has already received. When the data in the order before the data order is received, only the order inconsistent data discarding means for immediately discarding this data and the sequence number of the data of the part lost due to the loss of the data or the discard of the data are provided. And a missing data sequence number notifying means for notifying the receiver.
【0024】[0024]
【作用】第1の手段により、再送処理を行なわない軽量
な通信プロトコルおよびその処理装置によって高速なパ
ケット(あるいはセルなど)処理を実行することがで
き、パケット(あるいはセルなど)によるほぼリアルタ
イムのデータの通信が実現できるとともに、パケットの
紛失が生じた場合でも通知される順序番号によってデー
タの脱落部を認識し、予め定められた補完用データによ
って必要な量だけデータを補完でき、またパケット(あ
るいはセル)の到着順序が入れ替わった場合でも順序番
号によってデータを正しい順序に並べ変えることがで
き、これらによってデータの順序と長さが完全に復元さ
れたデータを受信者は得ることができるようになる。According to the first means, a high-speed packet (or cell, etc.) process can be executed by a lightweight communication protocol that does not perform retransmission processing and its processing device, and almost real-time data by the packet (or cell, etc.) can be executed. Communication can be realized, the lost part of the data can be recognized by the sequence number that is notified even when the packet is lost, and the required amount of data can be complemented by the predetermined complementing data, and the packet (or Even if the order of arrival of cells is changed, the sequence number can rearrange the data in the correct sequence, and the receiver can obtain the data in which the sequence and the length of the data are completely restored. ..
【0025】第2の手段により、再送処理を行なわない
軽量な通信プロトコルおよびその処理装置によって高速
なパケット(あるいはセルなど)処理を実行することが
でき、パケット(あるいはセルなど)によるほぼリアル
タイムのデータの通信が実現できるとともに、パケット
の紛失が生じた場合でも通知される順序番号によってデ
ータの脱落部を認識してこれを受信者に通知し、受信者
はその脱落部分を任意の方法によって作成した補完デー
タで必要な量だけデータを補完でき、またパケット(あ
るいはセル)の到着順序が入れ替わった場合でも順序番
号によってデータを正しい順序に並べ変えることがで
き、これらによってデータの順序と長さが完全に復元さ
れたデータを受信者は得ることができるようになる。By the second means, high-speed packet (or cell etc.) processing can be executed by a lightweight communication protocol and its processing device which do not perform retransmission processing, and almost real-time data by packet (or cell etc.) Communication can be realized, and even if a packet is lost, the sequence number that is notified notifies the receiver of the lost part of the data, and the receiver creates the lost part by an arbitrary method. Complementary data can be used to supplement the required amount of data, and even if the arrival order of packets (or cells) is changed, the data can be rearranged in the correct order by the sequence number, which ensures that the data order and length are complete. The recipient will be able to obtain the restored data.
【0026】第3の手段により、再送処理を行なわない
事に加えてパケットの到着順序の入れ替わりに伴う並べ
変え処理も行なわないため、処理がさらに簡便になり、
より一層リアルタイム性のあるデータの通信が実現でき
るとともに、パケットの紛失あるいはパケットの順序の
入れ替わりによって遅れて到着したパケットが廃棄され
たことによってデータの脱落が生じた場合でも、通知さ
れる順序番号によってその脱落部を認識し、予め定めら
れた補完用データによって必要な量だけデータを補完で
き、これによってデータの順序と長さが完全に復元され
たデータを受信者は得ることができるようになる。According to the third means, not only the retransmission processing is not performed but also the rearrangement processing associated with the change of the arrival order of the packets is not performed, so that the processing is further simplified.
Real-time data communication can be realized, and even if data is lost due to discarding a packet that arrived late due to packet loss or packet order change, the sequence number notified Recognizing the dropout part, it is possible to complement the required amount of data by the predetermined complementing data, and thus the recipient can obtain the data in which the order and length of the data are completely restored. ..
【0027】第4の手段により、再送処理を行なわない
事に加えてパケットの到着順序の入れ替わりに伴う並べ
変え処理も行なわないため、処理がさらに簡便になり、
より一層リアルタイム性のあるデータの通信が実現でき
るとともに、パケットの紛失あるいはがパケットの順序
の入れ替わりによって遅れて到着したパケットが廃棄さ
れたことによってデータの脱落が生じた場合でも、通知
される順序番号によってその脱落部を認識してこれを受
信者に通知し、受信者はその脱落部分を任意の方法によ
って作成した補完データで必要な量だけデータを補完で
き、これによってデータの順序と長さが完全に復元され
たデータを受信者は得ることができるようになる。According to the fourth means, not only the retransmission processing is not performed, but also the rearrangement processing accompanying the change of the arrival order of the packets is not performed, so that the processing is further simplified.
It is possible to realize more real-time data communication, and the sequence number to be notified even if data is lost due to the loss of packets or the discarding of packets that arrived late due to the switching of the packet order. Recognizes the lost part and notifies it to the receiver, and the receiver can complement the required amount with the complementary data created by any method, and the order and length of the data can be improved. The fully restored data will be available to the recipient.
【0028】[0028]
【実施例】図1は本発明の第1の実施例で使用するパケッ
トのフォーマットである。本実施例ではパケット交換方
式を前提に説明する。図1において、パケットは通信処
理のための諸情報を含むヘッダ部11と、実際に通信する
データを含むボディ部12とで構成されている。FIG. 1 shows a packet format used in the first embodiment of the present invention. This embodiment will be described on the premise of the packet switching system. In FIG. 1, the packet is composed of a header section 11 containing various information for communication processing and a body section 12 containing data to be actually communicated.
【0029】ヘッダ部11は、さらにいくつかのフィール
ドに分割されている。すなわち、16bitの送信者のアド
レスフィールド111、16bitの受信者のアドレスフィール
ド112、16bitのパケット全体の長さフィールド113、16b
itの制御用フラグフィールド114(うち、ビット1141は
同期フラグ、ビット1142は終了フラグ、残り14bitは未
使用)、32bitの順序番号フィールド115、16bitの未使
用フィールド116、16bitのヘッダチェックサムフィール
ド117に分割されている。The header section 11 is further divided into several fields. That is, a 16-bit sender address field 111, a 16-bit receiver address field 112, and a 16-bit overall packet length field 113, 16b.
It's control flag field 114 (of which, bit 1141 is a sync flag, bit 1142 is an end flag, the remaining 14 bits are unused), a 32-bit sequence number field 115, a 16-bit unused field 116, and a 16-bit header checksum field 117. Is divided into
【0030】アドレスフィールド111および112には各通
信者に一意に割り当てられている16bitの値を記述す
る。パケット全体の長さフィールド113にはパケットヘ
ッダの先頭からデータボディの最後まで、このパケット
が何バイトあるかを記述する。同期フラグ1141は、送信
者がある一連の通信で最初に送るパケットであることを
示すフラグで、このフラグが立っているパケットから通
信が開始される。終了フラグ1142は、そのパケットによ
っていままで成されてきた一連の通信が終了することを
示すフラグで、このフラグが立っているパケットが一番
最後に送られるパケットである。このどちらのフラグも
立っていないパケットは、一連の通信の途中段階のパケ
ットであることを示している。また、両方のフラグが立
っているパケットは、そのパケット一つだけで通信が完
了することを示している。順序番号フィールド115には
後述する順序番号が記述される。ヘッダチェックサムフ
ィールド117には、ヘッダの情報に通信誤りがあるかど
うかを検出するための情報が記述される。このヘッダチ
ェックサムの計算のアルゴリズムは多種多様あるが(例
えば、各バイト毎に単純に加算し、その答えの下位2バ
イトをチェックサム値とする方法など。)、本実施例で
はその詳細は本質的でないので省略する。いずれにせ
よ、このフィールドに記述された値によって、ヘッダ中
の情報に通信誤りが発生したかどうかを知ることができ
るものとする。A 16-bit value uniquely assigned to each correspondent is described in the address fields 111 and 112. The length field 113 of the entire packet describes how many bytes this packet has from the beginning of the packet header to the end of the data body. The synchronization flag 1141 is a flag indicating that the sender is the first packet to be sent in a certain series of communication, and communication is started from the packet in which this flag is set. The end flag 1142 is a flag that indicates that the series of communication that has been performed up to now by the packet is ended, and the packet with this flag set is the last packet to be sent. A packet in which neither of these flags is set indicates that the packet is in the middle of a series of communications. In addition, a packet in which both flags are set indicates that communication is completed with only that packet. A sequence number described later is described in the sequence number field 115. Information for detecting whether or not there is a communication error in the header information is described in the header checksum field 117. Although there are various algorithms for calculating the header checksum (for example, a method of simply adding each byte and using the lower 2 bytes of the answer as the checksum value), the details are essential in this embodiment. Omitted because it is not relevant. In any case, it is possible to know from the value described in this field whether or not a communication error has occurred in the information in the header.
【0031】図2は本発明の第1の実施例における通信
処理装置の構成図を示すものである。図2において通信
処理装置は、プロトコル処理装置201、通信データメモ
リ202、補完データメモリ203、網インタフェース204、
ホストインタフェース205、コンテクストメモリ206で構
成されており、これらの各構成要素がバス接続されてい
る。プロトコル処理装置201はさらに内部にアドレス管
理部2011、コンテクスト管理部2012、順序番号管理部20
13、データ分割再構成処理部2014、チェックサム演算部
2015を持つ。FIG. 2 is a block diagram of the communication processing apparatus in the first embodiment of the present invention. In FIG. 2, the communication processing device is a protocol processing device 201, a communication data memory 202, a complementary data memory 203, a network interface 204,
It is composed of a host interface 205 and a context memory 206, and these respective constituent elements are bus-connected. The protocol processing device 201 further internally includes an address management unit 2011, a context management unit 2012, and a sequence number management unit 20.
13, data division reconstruction processing unit 2014, checksum operation unit
Have 2015.
【0032】コンテクスト管理部2012が管理する通信コ
ンテクストには、送信者のアドレス、受信者のアドレ
ス、次に送信するデータの順序番号、次に受信すべきデ
ータの順序番号、なんらかの理由により到着が遅れてい
るデータの最初の順序番号とそのデータの長さ、タイ
マ、などが含まれる。このコンテクスト情報はある送受
信者間で通信が開始された際にコンテクストメモリ206
上に記録され、以後通信中はその内容が必要に応じて更
新され、通信が終了すると消去される。In the communication context managed by the context management unit 2012, the sender's address, the receiver's address, the sequence number of the data to be transmitted next, the sequence number of the data to be received next, and the arrival delay due to some reason. It contains the first sequence number of the data being stored, the length of that data, a timer, etc. This context information is stored in the context memory 206 when communication is started between a sender and a receiver.
It is recorded on the above, the contents are updated as needed during the communication thereafter, and erased when the communication is completed.
【0033】なお、コンテクスト情報としては実際には
この他にも、例えば送受信バッファの量を管理するフロ
ー制御のための情報などが含まれるが、フロー制御につ
いては本発明では本質的でないため、常に十分な送受信
バッファが準備されているものとして、本実施例でのコ
ンテクスト情報からは省略する。Note that the context information actually includes, for example, other information for flow control for managing the amount of transmission / reception buffers, but since flow control is not essential in the present invention, it is always present. Since sufficient transmission / reception buffers are prepared, the description will be omitted from the context information in this embodiment.
【0034】図3は本発明の第1の実施例の送信処理にお
けるデータボディ部12の生成処理アルゴリズムを示すも
のである。図2と図3とによって、送信端でのデータボデ
ィ部12生成処理を説明する。FIG. 3 shows a generation processing algorithm of the data body portion 12 in the transmission processing of the first embodiment of the present invention. The data body part 12 generation processing at the transmitting end will be described with reference to FIGS. 2 and 3.
【0035】送信端では、ホストインタフェース205を
通じてデータの送信者から送信すべきデータを受け取
り、通信データメモリ202にこれを格納する(ステップ3
01)。At the transmitting end, the data to be transmitted is received from the data sender through the host interface 205 and stored in the communication data memory 202 (step 3).
01).
【0036】データ分割再構成処理部2014はこのデータ
の長さを調べ、網に送出するためにはデータを分割する
必要があるかどうかを確認する(ステップ301)。分割
が必要ならば適切な長さに分割し(ステップ303)、一
つないし複数のデータボディを作る。The data division / reconstruction processing unit 2014 checks the length of this data and confirms whether or not it is necessary to divide the data in order to send it to the network (step 301). If the division is necessary, divide it to an appropriate length (step 303) and create one or more data bodies.
【0037】ここで作られたデータボディにヘッダを付
加して一つのパケットとして送出することになる。A header is added to the data body created here and the packet is transmitted as one packet.
【0038】図4は本発明の第1の実施例の送信処理にお
けるヘッダ部11の生成処理アルゴリズムを示すものであ
る。図2と図4とによって、送信端でのヘッダ部11生成処
理を説明する。FIG. 4 shows a generation processing algorithm of the header section 11 in the transmission processing of the first embodiment of the present invention. The header section 11 generation processing at the transmitting end will be described with reference to FIGS. 2 and 4.
【0039】まず送信すべきデータボディが通信データ
メモリ202上にあるかどうかを確認する(ステップ40
1)。送信すべきデータボディ部がある場合はプロトコ
ル処理部201はヘッダを作成するための領域を通信デー
タメモリ202上に確保する(ステップ402)。First, it is confirmed whether the data body to be transmitted exists in the communication data memory 202 (step 40).
1). If there is a data body part to be transmitted, the protocol processing part 201 reserves an area for creating a header in the communication data memory 202 (step 402).
【0040】確保したヘッダ領域の送信者アドレスフィ
ールド111に自分のアドレスを、また受信者アドレスフ
ィールド112にあて先のアドレスをアドレス管理部2011
が記述し(ステップ403)、パケットの長さをデータ分
割再構成処理部2014が計算して求め、その結果を長さフ
ィールド113に記述し(ステップ404)する。The address management unit 2011 stores the own address in the sender address field 111 of the secured header area and the destination address in the receiver address field 112.
Is described (step 403), the packet division and reconstruction processing unit 2014 calculates and obtains the length of the packet, and the result is described in the length field 113 (step 404).
【0041】次にコンテクスト管理部2012は、この送信
者と受信者の間での通信がすでに開始されているかどう
かを確認する(ステップ405)。これはコンテクストメ
モリ206上にすでに記録されている各コンテクスト情報
の送受信者と、いま通信しようとしている送受信者とを
比較して確認する。Next, the context management unit 2012 confirms whether or not the communication between the sender and the receiver has already started (step 405). This is confirmed by comparing the sender / receiver of each piece of context information already recorded in the context memory 206 with the sender / receiver who is about to communicate.
【0042】まだ通信が開始されていなければ(すなわ
ち一致するコンテクストが発見できなかった場合)、コ
ンテクスト管理部2012は制御フラグ領域114の同期フラ
グ1141を立て(ステップ406)、同時にコンテクスト情
報を記憶する領域をコンテクストメモリ206上に確保
し、ここに送受信者アドレスを記録する(ステップ40
7)。すでに通信が開始されていた場合は同期フラグ114
1は立てない。If the communication has not been started yet (that is, if the matching context cannot be found), the context management unit 2012 sets the synchronization flag 1141 in the control flag area 114 (step 406) and stores the context information at the same time. An area is secured in the context memory 206 and the sender / receiver address is recorded there (step 40
7). Sync flag 114 if communication has already started
1 cannot stand.
【0043】また、コンテクスト管理部2012は、現在作
成しているパケットが、送信者から送信を依頼されたデ
ータの一番最後のものかどうかを確認する(ステップ40
8)。一番最後のものであった場合、コンテクスト管理
部2012は制御フラグ領域114の終了フラグ1142を立てる
(ステップ409)。その後現在の通信にかかわるコンテ
クスト情報をコンテクストメモリ206から削除する(ス
テップ410)。Further, the context management unit 2012 confirms whether or not the currently created packet is the last one of the data requested by the sender to be transmitted (step 40).
8). If it is the last one, the context management unit 2012 sets the end flag 1142 in the control flag area 114 (step 409). After that, the context information relating to the current communication is deleted from the context memory 206 (step 410).
【0044】次に、順序番号管理部2103によってこのデ
ータに順序番号を割り付け、順序番号フィールド115に
記述する(ステップ411)。この順序番号割り付け方法
は後で説明する。Next, a sequence number is assigned to this data by the sequence number management unit 2103 and written in the sequence number field 115 (step 411). This sequence number allocation method will be described later.
【0045】最後にチェックサム演算部2015がヘッダの
チェックサムを求め、得られた値をチェックサムフィー
ルド117に記述する(ステップ412)。Finally, the checksum calculation unit 2015 obtains the checksum of the header, and the obtained value is described in the checksum field 117 (step 412).
【0046】以上でヘッダが完成するので、このヘッダ
とデータボディ部を結合して、網インタフェース204に
渡し、網上に送出する(ステップ413)。Since the header is completed as described above, the header and the data body portion are combined, passed to the network interface 204, and transmitted to the network (step 413).
【0047】以上の処理を、送信すべきデータがある間
繰り返し、送信者から送信終了の指示があれば送信を終
了する。The above process is repeated while there is data to be transmitted, and if there is an instruction from the sender to end the transmission, the transmission is terminated.
【0048】図5は本発明の第1の実施例の送信処理にお
ける順序番号管理部2103が順序番号を生成するアルゴリ
ズムを示すものである。FIG. 5 shows an algorithm for the sequence number management unit 2103 to generate a sequence number in the transmission processing of the first embodiment of the present invention.
【0049】本実施例ではデータ1byte毎に順序番号を
割り付ける方法をとるものとする。すなわち、いま作成
しているパケットが、現在の通信コンテクストで一番最
初に通信されるデータであるかどうかを確認し(ステッ
プ501)、そうであれば順序番号の初期値を順序番号管
理部2013が生成する(ステップ502)。そうでなければ
コンテクスト管理部2012が記録している次に送信するデ
ータの順序番号を取り出す(ステップ503)。こうして
得た順序番号をヘッダの順序番号領域115に記述する
(ステップ504)。そして、この順序番号に今から送信
するデータボディ部のバイト数を足した値を次に送信す
るデータの順序番号として、コンテクスト管理部2012は
現在のコンテクスト情報を更新する(ステップ505)。In this embodiment, it is assumed that a sequence number is assigned for each 1-byte data. That is, it is confirmed whether or not the packet currently being created is the first data to be communicated in the current communication context (step 501), and if so, the initial value of the sequence number is set to the sequence number management unit 2013. Are generated (step 502). Otherwise, the sequence number of the data to be transmitted next recorded by the context management unit 2012 is taken out (step 503). The sequence number thus obtained is described in the sequence number area 115 of the header (step 504). Then, the context management unit 2012 updates the current context information with a value obtained by adding the number of bytes of the data body part to be transmitted to this sequence number as the sequence number of the data to be transmitted next (step 505).
【0050】バイト単位に順序番号を割りあてる場合、
パケット内に含まれる全データの順序番号をパケットに
記述するのはあまりにも無駄であるため、上記の例のよ
うに一般にはパケットに含まれるデータの一番最初のデ
ータの順序番号だけをパケットに記述する。When a sequence number is assigned in byte units,
Since it is too wasteful to describe the sequence numbers of all the data contained in a packet in the packet, as shown in the above example, generally only the sequence number of the first data contained in the packet is written in the packet. Describe.
【0051】図6は本発明の第1の実施例における受信
処理のアルゴリズムを示すものである。図2と図6とを使
用して受信処理を説明する。FIG. 6 shows an algorithm of the receiving process in the first embodiment of the present invention. The reception process will be described with reference to FIGS. 2 and 6.
【0052】網インタフェース204は網からパケットを
受け取るとこれを通信データメモリ202に格納する(ス
テップ601)。Upon receiving the packet from the network, the network interface 204 stores it in the communication data memory 202 (step 601).
【0053】格納されたパケットのヘッダのチェックサ
ムをチェックサム演算部2015が計算し、この値がパケッ
トヘッダのチェックサムフィールド117に記述されてい
る値と整合しているかどうか確認する(ステップ60
2)。もし、整合しなければこのパケットのヘッダには
誤りがあることになり処理不可能であるため、このパケ
ットを廃棄する(ステップ603)。The checksum calculation unit 2015 calculates the checksum of the header of the stored packet, and confirms whether this value matches the value described in the checksum field 117 of the packet header (step 60).
2). If they do not match, the header of this packet has an error and cannot be processed, so this packet is discarded (step 603).
【0054】ついで、アドレス管理部2011がパケットヘ
ッダから送信者アドレスと受信者アドレスとを取り出
し、コンテクスト管理部2012に通知する(ステップ60
4)。一方、順序番号管理部2013はパケットヘッダの順
序番号フィールド115から順序番号を取り出しコンテク
スト管理部に通知する(ステップ605)。また長さフィ
ールド113からパケットの全体長を取り出し、これから
ヘッダの長さを減じてデータボディ部の長さを求めてコ
ンテクスト管理部2012に通知する(ステップ606)。Next, the address management unit 2011 extracts the sender address and the recipient address from the packet header and notifies the context management unit 2012 (step 60).
Four). On the other hand, the sequence number management unit 2013 extracts the sequence number from the sequence number field 115 of the packet header and notifies it to the context management unit (step 605). Further, the total length of the packet is taken out from the length field 113, the length of the header is subtracted from this to obtain the length of the data body part, and the result is notified to the context management part 2012 (step 606).
【0055】次にコンテクスト管理部2011は制御用フラ
グフィールド114の同期フラグ1141を調べる(ステップ6
07)。Next, the context management unit 2011 checks the synchronization flag 1141 in the control flag field 114 (step 6).
07).
【0056】同期フラグ1141が立っていれば新たなコン
テクストの開始であるのでコンテクストメモリ上に新コ
ンテクスト情報のための領域を確保し(ステップ60
8)、アドレス管理部2011から通知された送受信者アド
レスを記録する(ステップ609)。そして、新コンテク
ストの開始であることを順序番号管理部2013に通知する
(ステップ610)。If the synchronization flag 1141 is set, it means that a new context is started, and therefore an area for new context information is secured in the context memory (step 60).
8), the sender / receiver address notified from the address management unit 2011 is recorded (step 609). Then, the sequence number management unit 2013 is notified that the new context is started (step 610).
【0057】同期フラグ1141が立っていなければこのパ
ケットは既存のコンテクストのいずれかに関連するパケ
ットであるから、コンテクスト管理部2012はアドレス管
理部2011から通知された送受信者アドレスを用いてコン
テクスト情報を検索し、該当するコンテクストを見つけ
出す(ステップ611)。得られた該当するコンテクスト
情報から次に受信すべき順序番号を取り出し(ステップ
612)、順序番号管理部2013に通知する(ステップ61
3)。If the synchronization flag 1141 is not set, this packet is a packet related to any of the existing contexts. Therefore, the context management unit 2012 uses the sender / receiver address notified from the address management unit 2011 to obtain the context information. A search is performed to find the relevant context (step 611). The sequence number to be received next is extracted from the obtained corresponding context information (step
612), and notifies the sequence number management unit 2013 (step 61).
3).
【0058】順序番号管理部2013は通知された次に受信
を期待する順序番号と、パケットヘッダ中の順序番号フ
ィールド115の順序番号とを比較する(ステップ614)。
ただし、新コンテクスト開始である場合にはこの比較を
行なわず、無条件に両者が一致したものとして次の処理
に移る。The sequence number management unit 2013 compares the sequence number expected to be received next, with the sequence number in the sequence number field 115 in the packet header (step 614).
However, if it is the start of a new context, this comparison is not performed, and the two processes are unconditionally determined to be the same and the process proceeds to the next step.
【0059】両者が一致していればこのパケットに含ま
れるデータは、このコンテクストにおいて直前に受け取
ったデータに連続しているものであるからそのデータ部
を取り出してホストインタフェース205を介して受信者
にデータを渡す(ステップ615)。そして、いま受け取
ったパケットの順序番号にデータの長さを足した値を次
に受信すべき順序番号として求め、これをコンテクスト
管理部2012に通知する(ステップ616)。コンテクスト
管理部2012は通知された次に受信すべき順序番号をコン
テクスト情報に記録する(ステップ617)。If both match, the data contained in this packet is continuous with the data received immediately before in this context, so the data part is taken out and sent to the receiver via the host interface 205. Pass the data (step 615). Then, a value obtained by adding the length of the data to the sequence number of the packet just received is obtained as the sequence number to be received next, and this is notified to the context management unit 2012 (step 616). The context management unit 2012 records the notified sequence number to be received next in the context information (step 617).
【0060】一方、両者が一致していなかった場合は以
下のように処理する。パケットの順序番号フィールド11
5の値の方がコンテクストに記録されている次に受信す
べき順序番号よりも大きいかどうかを調べる(ステップ
618)。大きかった場合は、途中のパケットが遅れてい
るか、あるいは脱落したかのいずれかである。従って、
この場合はいま受け取ったデータをまだ受信者に渡すこ
とはできないので、通信データメモリに保持しておく
(ステップ619)。そして、いま受信したパケットの順
序番号にデータ部の長さを加算した物を次に受信すべき
順序番号として、コンテクスト管理部2012に通知する
(ステップ610)。また同時に、受信されていないデー
タの「穴」の部分のデータの最初の順序番号と穴の長さ
を求めて同じくコンテクスト管理部2012に通知する(ス
テップ611)。コンテクスト管理部2012はこれらの値を
コンテクスト情報として記録する(ステップ612)。
一方、パケットの順序番号フィールド115の値の方が次
に受信すべき順序番号よりも小さい場合は、前述するデ
ータの「穴」があるかどうかを調べる(ステップ62
3)。穴が無い場合はパケットの重複である。従って、
このようなパケットは廃棄する(ステップ624)。On the other hand, if they do not match, the following processing is performed. Packet sequence number field 11
Check if the value of 5 is greater than the next sequence number to be received in the context (step
618). If it is large, it means that the packet on the way is delayed or dropped. Therefore,
In this case, the received data cannot be passed to the receiver yet, so it is held in the communication data memory (step 619). Then, the product obtained by adding the length of the data part to the sequence number of the packet just received is notified to the context management unit 2012 as the sequence number to be received next (step 610). At the same time, the first sequence number of the data in the “hole” portion of the data that has not been received and the length of the hole are obtained and similarly notified to the context management unit 2012 (step 611). The context management unit 2012 records these values as context information (step 612).
On the other hand, if the value of the sequence number field 115 of the packet is smaller than the sequence number to be received next, it is checked whether or not there is a "hole" in the data (step 62).
3). If there is no hole, the packet is duplicated. Therefore,
Such packets are discarded (step 624).
【0061】同じくパケットの順序番号フィールド115
の値の方が次に受信すべき順序番号よりも小さいが、デ
ータの「穴」が存在する場合、いま受信したデータがそ
の穴に含まれるものかどうかを判断する(ステップ62
5)。含まれていない場合はデータの重複なのでこのパ
ケットを廃棄する(ステップ624)。Similarly, the sequence number field 115 of the packet.
Is smaller than the sequence number to be received next, but if there is a "hole" in the data, it is judged whether or not the data just received is contained in that hole (step 62).
Five). If not included, the packet is discarded because it is data duplication (step 624).
【0062】穴に含まれていた場合は後で説明する穴の
処理を行なう(ステップ625)。次に終了フラグ1142が
立っているかどうかを調べ(ステップ627)、立ってい
た場合は残っている全ての穴に対する処理を終えたかど
うかを確認する(ステップ628)。穴の処理が完了して
いない場合は遅着するパケットが存在するかも知れない
ので、再びパケット受信処理の初めに戻る。If it is included in the hole, the hole processing described later is performed (step 625). Next, it is checked whether or not the end flag 1142 is set (step 627), and if it is set, it is confirmed whether or not the processing for all remaining holes is completed (step 628). If the processing of the hole is not completed, there may be a packet that arrives late, so the process returns to the beginning of the packet reception processing.
【0063】穴の処理が完了していれば、後コンテクス
ト管理部2012はコンテクストメモリ206からコンテクス
ト情報を削除する(ステップ629)。When the hole processing is completed, the post context management unit 2012 deletes the context information from the context memory 206 (step 629).
【0064】図7は本発明の第1の実施例での受信端側に
おける、前述の穴部に該当するデータを受信した場合の
処理アルゴリズムである。図2と図7とを使用してこの処
理を説明する。FIG. 7 shows a processing algorithm at the receiving end side in the first embodiment of the present invention when data corresponding to the aforementioned hole is received. This process will be described with reference to FIGS. 2 and 7.
【0065】受信したパケット中のデータが穴に含まれ
ていて、これによってすでに受信者に渡したデータと連
続な部分が生じたかどうかを確認する(ステップ70
1)。連続な部分が生じていれば、その部分を受信者に
渡す(ステップ702)。It is determined whether the data in the received packet is contained in a hole, which results in a continuation of the data already passed to the recipient (step 70).
1). If there is a continuous part, the part is given to the recipient (step 702).
【0066】その後、いま受信したデータによって穴の
状態(最初の順序番号と大きさ)が変化しているので、
新たな穴の情報を求めてコンテクスト管理部2012に通知
し(ステップ703)、コンテクスト情報を更新する(ス
テップ704)。After that, since the state of the hole (the initial sequence number and size) has changed depending on the data received,
The context management unit 2012 is notified of the new hole information (step 703) and the context information is updated (step 704).
【0067】この結果穴が無くなったかどうかを確認し
(ステップ705)、無くなっていれば穴部の処理は終わ
る。As a result, it is confirmed whether or not the hole has disappeared (step 705). If the hole has disappeared, the processing of the hole portion ends.
【0068】まだ穴が残っていれば、最初の穴に付加さ
れているタイマを確認する(ステップ706)。このタイ
マは穴の部分のパケットが遅れているのか、紛失してし
まってもうとどかないのかを決定するために使用される
(タイマーの初期値を幾らにするかを決定するアルゴリ
ズムにも多種多様あるが、本実施例ではそのアルゴリズ
ム自体は本質的でないので詳細な説明は省略する。)。
タイマーの値はその穴を埋めるデータを含むパケットが
到着するまで一定のペースで減じられて行き、0になっ
た穴部のパケットは紛失した物と判断する。If holes still remain, the timer added to the first hole is confirmed (step 706). This timer is used to determine if the packet in the hole is late or lost and will not be reached (there are a wide variety of algorithms to determine what the initial value of the timer should be). However, since the algorithm itself is not essential in this embodiment, detailed description thereof will be omitted).
The value of the timer is decremented at a constant pace until the packet containing the data for filling the hole arrives, and the packet of the hole portion which becomes 0 is judged to be lost.
【0069】このタイマが0になっていなければ穴部の
処理は終わる。タイマが0になっていれば、データ分割
再構成処理部2014は補完データメモリ203から補完デー
タを取り出し(ステップ707)、これをもとに最初の穴
の長さに相当する補完データを生々する(ステップ70
8)。If this timer is not 0, the processing of the hole ends. If the timer is set to 0, the data division reconstruction processing unit 2014 extracts the complementary data from the complementary data memory 203 (step 707), and based on this, creates complementary data corresponding to the length of the first hole. (Step 70
8).
【0070】この結果最初の穴の部分が埋まるので、こ
の穴の直後に後続していたデータを現在通信データメモ
リ202上に保持されているデータの最後まで、あるいは
次の穴が始まるところまで受信者に渡す(ステップ71
0)。As a result, the first hole portion is filled, so that the data immediately following this hole is received until the end of the data currently held in the communication data memory 202 or the start of the next hole. Hand over to person (Step 71
0).
【0071】そして補完作業によって変化した穴に関す
る新しい情報をコンテクスト管理部2013に通知し(ステ
ップ710)、コンテクスト情報を更新する(ステップ71
1)。Then, the context management unit 2013 is notified of new information regarding the hole changed by the complementary work (step 710), and the context information is updated (step 71).
1).
【0072】ついでまだ穴が残っているかどうかを確認
し(ステップ712)、残っていれば残っている穴のう
ち、最初の穴のタイマを初期化してスタートさせる(ス
テップ713)。Then, it is confirmed whether or not there are any holes remaining (step 712). If any holes remain, the timer of the first hole among the remaining holes is initialized and started (step 713).
【0073】図8は本発明の第2の実施例での受信端側に
おける、前述の穴部に該当するデータを受信した場合の
処理アルゴリズムである。図2と図8とを使用してこの処
理を説明する。なお、本実施例の装置の構成は第1の実
施例の装置から補完データメモリ203を取り除いたもの
とし、また以下に示す穴部の処理以外の処理は第1の実
施例と同じものとする。FIG. 8 shows a processing algorithm when the data corresponding to the above-mentioned hole is received on the receiving end side in the second embodiment of the present invention. This process will be described with reference to FIGS. 2 and 8. The configuration of the apparatus of this embodiment is the same as the apparatus of the first embodiment except that the complementary data memory 203 is removed, and the processing other than the processing of the hole shown below is the same as that of the first embodiment. ..
【0074】受信したパケット中のデータが穴に含まれ
ていて、これによってすでに受信者に渡したデータと連
続な部分が生じたかどうかを確認する(ステップ80
1)。連続な部分が生じていれば、その部分を受信者に
渡す(ステップ802)。It is checked whether the data in the received packet is contained in a hole, which causes a continuous part with the data already passed to the receiver (step 80).
1). If there is a continuous part, the part is passed to the receiver (step 802).
【0075】その後、いま受信したデータによって穴の
状態(最初の順序番号と大きさ)が変化しているので、
新たな穴の情報を求めてコンテクスト管理部2012に通知
し(ステップ803)、コンテクスト情報を更新する(ス
テップ804)。After that, since the state of the hole (the initial sequence number and size) has changed depending on the data received,
The context management unit 2012 is notified of the new hole information (step 803) and the context information is updated (step 804).
【0076】この結果穴が無くなったかどうかを確認し
(ステップ805)、無くなっていれば穴部の処理は終わ
る。As a result, it is confirmed whether or not the hole is eliminated (step 805), and if it is eliminated, the processing of the hole portion is finished.
【0077】まだ穴が残っていれば、最初の穴に付加さ
れているタイマを確認する(ステップ806)。If holes still remain, the timer added to the first hole is confirmed (step 806).
【0078】このタイマが0になっていなければ穴部の
処理は終わる。タイマが0になっていれば、データ分割
再構成処理部2014は最初の穴の最初の順序番号とその穴
の長さとを受信者に通知する(ステップ807)。受信者
は通知された穴の順序番号と長さから、その穴の前後の
データなどを利用して任意に適切な補完データを必要に
応じて生成し、補完することができる。If this timer is not 0, the processing of the hole ends. If the timer is set to 0, the data division reconstruction processing unit 2014 notifies the receiver of the first sequence number of the first hole and the length of the hole (step 807). From the notified hole sequence number and length, the recipient can use data before and after the hole to generate any appropriate supplementary data as necessary and supplement it.
【0079】通知した穴に後続するデータを、現在通信
データメモリ202上に保持されているデータの最後ま
で、あるいは次の穴が始まるところまで受信者に渡す
(ステップ808)。The data following the notified hole is passed to the receiver until the end of the data currently held in the communication data memory 202 or the start of the next hole (step 808).
【0080】そして上記作業によって変化した穴に関す
る新しい情報をコンテクスト管理部2013に通知し(ステ
ップ809)、コンテクスト情報を更新する(ステップ81
0)。Then, the context management unit 2013 is notified of new information regarding the hole changed by the above work (step 809), and the context information is updated (step 81).
0).
【0081】ついでまだ穴が残っているかどうかを確認
し(ステップ811)、残っていれば残っている穴のう
ち、最初の穴のタイマを初期化してスタートさせる(ス
テップ812)。Then, it is confirmed whether or not any holes remain (step 811). If any holes remain, the timer of the first hole among the remaining holes is initialized and started (step 812).
【0082】図9は本発明の第3の実施例における受信
処理のアルゴリズムを示すものである。本実施例の装置
の構成は第1の実施例に同じであり、また送信処理も第
1の実施例及び第2の実施例に同じである。ここでは図
2と図9とを使用して受信処理を説明する。FIG. 9 shows an algorithm of the receiving process in the third embodiment of the present invention. The configuration of the apparatus of this embodiment is the same as that of the first embodiment, and the transmission processing is also the same as that of the first and second embodiments. Here figure
The reception process will be described with reference to 2 and FIG.
【0083】網インタフェース204は網からパケットを
受け取るとこれを通信データメモリ202に格納する(ス
テップ901)。Upon receiving the packet from the network, the network interface 204 stores it in the communication data memory 202 (step 901).
【0084】格納されたパケットのヘッダのチェックサ
ムをチェックサム演算部2015が計算し、この値がパケッ
トヘッダのチェックサムフィールド117に記述されてい
る値と整合しているかどうか確認する(ステップ90
2)。もし、整合しなければこのパケットのヘッダには
誤りがあることになり処理不可能であるため、このパケ
ットを廃棄する(ステップ903)。The checksum calculation unit 2015 calculates the checksum of the stored packet header, and confirms whether this value matches the value described in the checksum field 117 of the packet header (step 90).
2). If they do not match, the header of this packet has an error and cannot be processed, so this packet is discarded (step 903).
【0085】ついで、アドレス管理部2011がパケットヘ
ッダから送信者アドレスと受信者アドレスとを取り出
し、コンテクスト管理部2012に通知する(ステップ90
4)。一方、順序番号管理部2013はパケットヘッダの順
序番号フィールド115から順序番号を取り出しコンテク
スト管理部に通知する(ステップ905)。また長さフィ
ールド113からパケットの全体長を取り出し、これから
ヘッダの長さを減じてデータボディ部の長さを求めてコ
ンテクスト管理部2012に通知する(ステップ906)。Next, the address management unit 2011 extracts the sender address and the recipient address from the packet header and notifies the context management unit 2012 (step 90).
Four). On the other hand, the sequence number management unit 2013 extracts the sequence number from the sequence number field 115 of the packet header and notifies it to the context management unit (step 905). Also, the total length of the packet is extracted from the length field 113, the length of the header is subtracted from this to obtain the length of the data body part, and the result is notified to the context management part 2012 (step 906).
【0086】次にコンテクスト管理部2011は制御用フラ
グフィールド114の同期フラグ1141を調べる(ステップ9
07)。Next, the context management unit 2011 checks the synchronization flag 1141 in the control flag field 114 (step 9
07).
【0087】同期フラグ1141が立っていれば新たなコン
テクストの開始であるのでコンテクストメモリ上に新コ
ンテクスト情報のための領域を確保し(ステップ90
8)、アドレス管理部2011から通知された送受信者アド
レスを記録する(ステップ909)。そして、新コンテク
ストの開始であることを順序番号管理部2013に通知する
(ステップ910)。If the synchronization flag 1141 is set, it means that a new context has started, and therefore an area for new context information is secured in the context memory (step 90
8), the sender / receiver address notified from the address management unit 2011 is recorded (step 909). Then, the sequence number management unit 2013 is notified that the new context is started (step 910).
【0088】同期フラグ1141が立っていなければこのパ
ケットは既存のコンテクストのいずれかに関連するパケ
ットであるから、コンテクスト管理部2012はアドレス管
理部2011から通知された送受信者アドレスを用いてコン
テクスト情報を検索し、該当するコンテクストを見つけ
出す(ステップ911)。得られた該当するコンテクスト
情報から次に受信すべき順序番号を取り出し(ステップ
912)、順序番号管理部2013に通知する(ステップ91
3)。If the synchronization flag 1141 is not set, this packet is a packet related to one of the existing contexts. Therefore, the context management unit 2012 uses the sender / receiver address notified from the address management unit 2011 to obtain the context information. Search and find the relevant context (step 911). The sequence number to be received next is extracted from the obtained corresponding context information (step
912), and notifies the sequence number management unit 2013 (step 91).
3).
【0089】順序番号管理部2013は通知された次に受信
を期待する順序番号と、パケットヘッダ中の順序番号フ
ィールド115の順序番号とを比較する(ステップ914)。
ただし、新コンテクスト開始である場合にはこの比較を
行なわず、無条件に両者が一致したものとして次の処理
に移る。The sequence number management unit 2013 compares the sequence number expected to be received next, with the sequence number in the sequence number field 115 in the packet header (step 914).
However, if it is the start of a new context, this comparison is not performed, and the two processes are unconditionally determined to be the same and the process proceeds to the next step.
【0090】両者が一致していればこのパケットに含ま
れるデータは、このコンテクストにおいて直前に受け取
ったデータに連続しているものであるからそのデータ部
を取り出してホストインタフェース205を介して受信者
にデータを渡す(ステップ915)。そして、いま受け取
ったパケットの順序番号にデータの長さを足した値を次
に受信すべき順序番号として求め、これをコンテクスト
管理部2012に通知する(ステップ916)。コンテクスト
管理部2012は通知された次に受信すべき順序番号をコン
テクスト情報に記録する(ステップ917)。If they match, the data contained in this packet is continuous with the data received immediately before in this context, so the data part is taken out and sent to the receiver via the host interface 205. Pass the data (step 915). Then, a value obtained by adding the length of the data to the sequence number of the packet just received is obtained as the sequence number to be received next, and this is notified to the context management unit 2012 (step 916). The context management unit 2012 records the notified sequence number to be received next in the context information (step 917).
【0091】一方、両者が一致していなかった場合は以
下のように処理する。パケットの順序番号フィールド11
5の値の方がコンテクストに記録されている次に受信す
べき順序番号よりも大きいかどうかを調べる(ステップ
918)。大きかった場合は、途中のパケットが遅れてい
るか、あるいは紛失したかのいずれかである。従って、
この場合データ分割再構成処理部2014は脱落した部分の
データを補完するデータを補完データメモリ203から補
完データを取り出し、これをもとに脱落した部分の長さ
に相当する補完データを生成する(ステップ919)。そ
して生成された補完データといま受信したパケットのデ
ータとをホストインタフェース205を介して受信者に渡
す(ステップ920)。On the other hand, if they do not match, the following processing is performed. Packet sequence number field 11
Check if the value of 5 is greater than the next sequence number to be received in the context (step
918). If it is large, it means that the packet on the way is delayed or lost. Therefore,
In this case, the data division reconstruction processing unit 2014 extracts the complementary data from the complementary data memory 203 for the data that complements the data of the missing part, and generates the complementary data corresponding to the length of the missing part based on this. Step 919). Then, the generated complementary data and the data of the packet just received are passed to the receiver via the host interface 205 (step 920).
【0092】順序番号管理部2013はいま受け取ったパケ
ットの順序番号にそのパケットのデータボディ部の長さ
を足して新たな次に受信すべき順序番号を求め、コンテ
クスト管理部2012に通知する(ステップ921)。コンテ
クスト管理部2012は通知された新たな次に受信すべき順
序番号をコンテクスト情報に記録する(ステップ92
2)。The sequence number management unit 2013 obtains a new sequence number to be received next by adding the length of the data body portion of the packet to the sequence number of the packet just received, and notifies the context management unit 2012 (step 921). The context management unit 2012 records the notified new sequence number to be received next in the context information (step 92).
2).
【0093】従って、本実施例では第1及び第2の実施
例で見られたようなデータの「穴」は存在しない。Therefore, in this embodiment, there is no "hole" in the data as seen in the first and second embodiments.
【0094】一方、パケットの順序番号フィールド115
の値の方が次に受信すべき順序番号よりも小さい場合は
パケットの重複であるので、このようなパケットは廃棄
する(ステップ923)。結局、完全に途中で紛失された
パケットだけでなく、1パケット分でも順序が入れ替わ
って遅着したパケットはすべて廃棄されることになるた
め、本実施例では穴部の管理や、パケットが遅着してい
るのか紛失したのかを判断するためのタイマ管理が不要
となるので処理のより一層の高速化が可能となる。ま
た、遅着パケットを待つ時間が発生しないことも高速化
につながる。ただし、補完データを使用する部分が増え
る可能性があるため通信品質的には若干不利となること
が考えられる。従って本実施例は特に信頼性の高い網上
で有効である。On the other hand, the packet sequence number field 115
If the value of is smaller than the sequence number to be received next, it means that the packet is duplicated and such packet is discarded (step 923). Eventually, not only packets lost completely on the way but also packets delayed in order by one packet will be discarded. Therefore, in this embodiment, hole management and packet delay are delayed. Since it is not necessary to manage the timer for determining whether it has been lost or lost, the processing speed can be further increased. In addition, the fact that there is no time to wait for late arrival packets also leads to higher speed. However, there is a possibility that the part that uses the complementary data may increase, which may be a disadvantage in terms of communication quality. Therefore, this embodiment is particularly effective on a highly reliable network.
【0095】図10は本発明の第4の実施例における受信
処理のアルゴリズムを示すものである。図2と図10とを
使用して受信処理を説明する。FIG. 10 shows the algorithm of the receiving process in the fourth embodiment of the present invention. The reception process will be described with reference to FIGS. 2 and 10.
【0096】網インタフェース204は網からパケットを
受け取るとこれを通信データメモリ202に格納する(ス
テップ1001)。Upon receiving the packet from the network, the network interface 204 stores it in the communication data memory 202 (step 1001).
【0097】格納されたパケットのヘッダのチェックサ
ムをチェックサム演算部2015が計算し、この値がパケッ
トヘッダのチェックサムフィールド117に記述されてい
る値と整合しているかどうか確認する(ステップ100
2)。もし、整合しなければこのパケットのヘッダには
誤りがあることになり処理不可能であるため、このパケ
ットを廃棄する(ステップ1003)。The checksum calculator 2015 calculates the checksum of the stored packet header, and checks whether this value matches the value described in the checksum field 117 of the packet header (step 100).
2). If they do not match, the header of this packet has an error and cannot be processed, so this packet is discarded (step 1003).
【0098】ついで、アドレス管理部2011がパケットヘ
ッダから送信者アドレスと受信者アドレスとを取り出
し、コンテクスト管理部2012に通知する(ステップ100
4)。一方、順序番号管理部2013はパケットヘッダの順
序番号フィールド115から順序番号を取り出しコンテク
スト管理部に通知する(ステップ1005)。また長さフィ
ールド113からパケットの全体長を取り出し、これから
ヘッダの長さを減じてデータボディ部の長さを求めてコ
ンテクスト管理部2012に通知する(ステップ1006)。
次にコンテクスト管理部2011は制御用フラグフィールド
114の同期フラグ1141を調べる(ステップ1007)。Then, the address management unit 2011 extracts the sender address and the recipient address from the packet header and notifies the context management unit 2012 (step 100).
Four). On the other hand, the sequence number management unit 2013 extracts the sequence number from the sequence number field 115 of the packet header and notifies the context management unit (step 1005). Also, the total length of the packet is extracted from the length field 113, the length of the header is subtracted from this to obtain the length of the data body portion, and the result is notified to the context management unit 2012 (step 1006).
Next, the context management unit 2011 displays the control flag field.
The sync flag 1141 of 114 is checked (step 1007).
【0099】同期フラグ1141が立っていれば新たなコン
テクストの開始であるのでコンテクストメモリ上に新コ
ンテクスト情報のための領域を確保し(ステップ100
8)、アドレス管理部2011から通知された送受信者アド
レスを記録する(ステップ1009)。そして、新コンテク
ストの開始であることを順序番号管理部2013に通知する
(ステップ1010)。If the synchronization flag 1141 is set, it means that a new context is started, and therefore an area for new context information is secured in the context memory (step 100
8), the sender / receiver address notified from the address management unit 2011 is recorded (step 1009). Then, the sequence number management unit 2013 is notified that it is the start of a new context (step 1010).
【0100】同期フラグ1141が立っていなければこのパ
ケットは既存のコンテクストのいずれかに関連するパケ
ットであるから、コンテクスト管理部2012はアドレス管
理部2011から通知された送受信者アドレスを用いてコン
テクスト情報を検索し、該当するコンテクストを見つけ
出す(ステップ1011)。得られた該当するコンテクスト
情報から次に受信すべき順序番号を取り出し(ステップ
1012)、順序番号管理部2013に通知する(ステップ101
3)。If the synchronization flag 1141 is not set, this packet is a packet related to any of the existing contexts. Therefore, the context management unit 2012 uses the sender / receiver address notified from the address management unit 2011 to obtain the context information. Search and find the relevant context (step 1011). The sequence number to be received next is extracted from the obtained corresponding context information (step
1012), and notifies the sequence number management unit 2013 (step 101).
3).
【0101】順序番号管理部2013は通知された次に受信
を期待する順序番号と、パケットヘッダ中の順序番号フ
ィールド115の順序番号とを比較する(ステップ101
4)。ただし、新コンテクスト開始である場合にはこの
比較を行なわず、無条件に両者が一致したものとして次
の処理に移る。The sequence number management unit 2013 compares the sequence number that is expected to be received next, with the sequence number of the sequence number field 115 in the packet header (step 101).
Four). However, if it is the start of a new context, this comparison is not performed, and the two processes are unconditionally determined to be the same and the process proceeds to the next step.
【0102】両者が一致していればこのパケットに含ま
れるデータは、このコンテクストにおいて直前に受け取
ったデータに連続しているものであるからそのデータ部
を取り出してホストインタフェース205を介して受信者
にデータを渡す(ステップ1015)。そして、いま受け取
ったパケットの順序番号にデータの長さを足した値を次
に受信すべき順序番号として求め、これをコンテクスト
管理部2012に通知する(ステップ1016)。コンテクスト
管理部2012は通知された次に受信すべき順序番号をコン
テクスト情報に記録する(ステップ1017)。If they match, the data contained in this packet is continuous with the data received immediately before in this context, so the data part is taken out and sent to the receiver via the host interface 205. Pass the data (step 1015). Then, a value obtained by adding the length of the data to the sequence number of the packet just received is obtained as the sequence number to be received next, and this is notified to the context management unit 2012 (step 1016). The context management unit 2012 records the notified sequence number to be received next in the context information (step 1017).
【0103】一方、両者が一致していなかった場合は以
下のように処理する。パケットの順序番号フィールド11
5の値の方がコンテクストに記録されている次に受信す
べき順序番号よりも大きいかどうかを調べる(ステップ
1018)。大きかった場合は、途中のパケットが遅れてい
るか、あるいは紛失したかのいずれかである。従って、
この場合データ分割再構成処理部2014は脱落した部分の
データの最初の順序番号とその部分の長さとを求め(ス
テップ1019)、この値を受信者に通知する(ステップ10
20)。そしていま受信したパケットのデータボディ部を
受信者に渡す(ステップ1021)。On the other hand, if they do not match, the following processing is performed. Packet sequence number field 11
Check if the value of 5 is greater than the next sequence number to be received in the context (step
1018). If it is large, it means that the packet on the way is delayed or lost. Therefore,
In this case, the data division / reconstruction processing unit 2014 obtains the first sequence number of the data of the missing part and the length of the part (step 1019), and notifies this value to the receiver (step 10).
20). Then, the data body part of the packet just received is passed to the receiver (step 1021).
【0104】順序番号管理部2013はいま受け取ったパケ
ットの順序番号にそのパケットのデータボディ部の長さ
を足して新たな次に受信すべき順序番号を求め、コンテ
クスト管理部2012に通知する(ステップ1022)。コンテ
クスト管理部2012は通知された新たな次に受信すべき順
序番号をコンテクスト情報に記録する(ステップ102
3)。The sequence number management unit 2013 adds the length of the data body part of the packet to the sequence number of the packet just received to obtain a new sequence number to be received next, and notifies the context management unit 2012 (step 1022). The context management unit 2012 records the notified new order number to be received next in the context information (step 102).
3).
【0105】従って、本実施例では第3の実施例同様デ
ータの「穴」は存在しない。一方、パケットの順序番号
フィールド115の値の方が次に受信すべき順序番号より
も小さい場合はパケットの重複であるので、このような
パケットは廃棄する(ステップ1024)。Therefore, in this embodiment, there is no "hole" in the data as in the third embodiment. On the other hand, if the value of the sequence number field 115 of the packet is smaller than the sequence number to be received next, it means that the packet is a duplicate and such packet is discarded (step 1024).
【0106】[0106]
【発明の効果】以上説明したように、本発明によれば、
パケットやセルなどを使用した通信によって通信資源を
占有することなく効率的に使用しつつ、軽量なプロトコ
ル処理と紛失データ・遅着データの補完機能によって高
速な通信が実現できるようになり、特に厳密な品質を要
求されない場面での動画や音声などのリアルタイムデー
タ通信を効率的に実現する事ができるようになる。As described above, according to the present invention,
While using communication efficiently using packets and cells without occupying communication resources, high-speed communication can be realized by lightweight protocol processing and the complementary function of lost data and late arrival data. Real-time data communication such as video and audio can be efficiently realized in situations where high quality is not required.
【図1】本発明の第1〜第4の実施例におけるパケット
のフォーマットを示す図である。FIG. 1 is a diagram showing a packet format according to first to fourth embodiments of the present invention.
【図2】本発明の第1及び第3の実施例における通信処
理装置の構成図である。FIG. 2 is a configuration diagram of a communication processing device according to first and third embodiments of the present invention.
【図3】本発明の第1〜第4の実施例におけるデータボ
ディ部の生成処理アルゴリズムを示す図である。FIG. 3 is a diagram showing a generation processing algorithm of a data body part in the first to fourth embodiments of the present invention.
【図4】本発明の第1〜第4の実施例におけるヘッダ部
の生成処理アルゴリズムを示す図である。FIG. 4 is a diagram showing a header part generation processing algorithm in the first to fourth embodiments of the present invention.
【図5】本発明の第1〜第4の実施例における順序番号
生成アルゴリズムを示す図である。FIG. 5 is a diagram showing a sequence number generation algorithm in the first to fourth embodiments of the present invention.
【図6】本発明の第1の実施例における受信処理アルゴ
リズムを示す図である。FIG. 6 is a diagram showing a reception processing algorithm in the first embodiment of the present invention.
【図7】本発明の第1の実施例における穴部データの受
信処理アルゴリズムを示す図である。FIG. 7 is a diagram showing a reception processing algorithm of hole data according to the first embodiment of the present invention.
【図8】本発明の第2の実施例における穴部データの受
信処理アルゴリズムを示す図である。FIG. 8 is a diagram showing a reception processing algorithm of hole data according to the second embodiment of the present invention.
【図9】本発明の第3の実施例における受信処理アルゴ
リズムを示す図である。FIG. 9 is a diagram showing a reception processing algorithm in the third embodiment of the present invention.
【図10】本発明の第4の実施例における受信処理アル
ゴリズムを示す図である。FIG. 10 is a diagram showing a reception processing algorithm in the fourth embodiment of the present invention.
11 ヘッダ部 12 ボディ部 111 送信者アドレスフィールド 112 受信者アドレスフィールド 113 パケット全体長フィールド 114 制御用フラグフィールド 1141 同期フラグ 1142 終了フラグ 115 順序番号フィールド 116 未使用フィールド 117 チェックサムフィールド 201 プロトコル処理装置 2011 アドレス管理部 2012 コンテクスト管理部 2013 順序番号管理部 2014 データ分割再構成処理部 2015 チェックサム演算部 202 通信データメモリ 203 補完データメモリ 204 網インタフェース 205 ホストインタフェース 206 コンテクストメモリ 11 Header part 12 Body part 111 Sender address field 112 Recipient address field 113 Packet length field 114 Control flag field 1141 Sync flag 1142 End flag 115 Sequence number field 116 Unused field 117 Checksum field 201 Protocol processor 2011 address Management unit 2012 Context management unit 2013 Sequence number management unit 2014 Data division reconfiguration processing unit 2015 Checksum operation unit 202 Communication data memory 203 Complementary data memory 204 Network interface 205 Host interface 206 Context memory
Claims (4)
いしある単位の大きさの一群のデータに対して順序番号
を付与し、この順序番号を送信端が受信端に通知する通
信装置において、 送信端から通知される順序番号を使用してデータの脱落
や順序の入れ替わりを監視するデータ順序監視手段と、 データの脱落によって失われた部分のデータを、予め決
められている補完用データで受信端が独自に補完する欠
落データ補完手段と、 順序の入れ替わったデータの順序を復元する順序再構成
手段とを有することを特徴とする通信処理装置。1. In communication of continuous data, a sequence number is given to each data or a group of data having a certain unit size, and a transmitting device notifies the receiving end of this sequence number. Data sequence monitoring means for monitoring data loss and order change using the sequence number notified from the end, and the part of the data lost due to the data loss is received at the receiving end with predetermined complementary data. The communication processing device is characterized by having a missing data complementing means for independently complementing and an order reconstructing means for restoring the order of the data whose order has been changed.
いしある単位の大きさの一群のデータに対して順序番号
を付与し、この順序番号を送信端が受信端に通知するよ
うな通信装置において、 送信端から通知される順序番号を使用してデータの脱落
や順序の入れ替わりを監視するデータ順序監視手段と、 データの脱落によって失われた部分のデータの順序番号
だけを受信者に通知する欠落データ順序番号通知手段
と、 順序の入れ替わったデータの順序を復元する順序再構成
手段とを有することを特徴とする通信処理装置。2. A communication device in which a sequence number is given to each data or a group of data having a certain unit size in the communication of continuous data, and the transmitting end notifies the receiving end of this sequence number. , A data sequence monitoring means that uses the sequence number notified from the sending end to monitor for data loss and order change, and a missing number that notifies the receiver of only the sequence number of the data lost due to data loss A communication processing apparatus comprising: a data sequence number notifying means; and an order reconstructing means for restoring the order of data whose order has been changed.
いしある単位の大きさの一群のデータに対して順序番号
を付与し、この順序番号を送信端が受信端に通知するよ
うな通信装置において、 送信端から通知されるシーケンス番号を使用してデータ
の脱落や順序の入れ替わりを監視するデータ順序監視手
段と、 順序が入れ替わって、すでに受信端が受信しているデー
タの順序よりも前の順序のデータを受信した場合はこの
データを即座に廃棄する順序不整合データ廃棄手段と、 データの脱落あるいは前記データの廃棄によって失われ
た部分のデータを、予め決められている補完用データで
受信端が独自に補完する欠落データ補完手段とを有する
ことを特徴とする通信処理装置。3. A communication device in which a sequence number is given to each data or a group of data having a certain unit size when communicating continuous data, and the transmitting end notifies the receiving end of this sequence number. , A data sequence monitoring means for monitoring data loss or order change using the sequence number notified from the sending end, and a sequence prior to the order of the data already received by the receiving end due to the order change. When the data is received, the inconsistent order data discarding means for immediately discarding this data, and the part of the data lost due to the loss of data or the discarding of the data is received at the receiving end by the predetermined supplementary data. Has a missing data complementing means for independently complementing the communication processing equipment.
いしある単位の大きさの一群のデータに対して順序番号
を付与し、この順序番号を送信端が受信端に通知するよ
うな通信装置において、 送信端から通知されるシーケンス番号を使用してデータ
の脱落や順序の入れ替わりを監視するデータ順序監視手
段と、 順序が入れ替わって、すでに受信端が受信しているデー
タの順序よりも前の順序のデータを受信した場合はこの
データを即座に廃棄する順序不整合データ廃棄手段と、 データの脱落あるいは前記データの廃棄によって失われ
た部分のデータの順序番号だけを受信者に通知する欠落
データ順序番号通知手段とを有することを特徴とする通
信処理装置。4. A communication device in which a sequence number is given to each data or a group of data having a certain unit size when communicating continuous data, and the transmitting end notifies the receiving end of this sequence number. , A data sequence monitoring means for monitoring data loss or order change using the sequence number notified from the sending end, and a sequence prior to the order of the data already received by the receiving end due to the order change. When the data of is received, this data is immediately discarded, and the inconsistent data discarding means and the missing data sequence that notifies the receiver of only the sequence number of the data lost due to the loss of data or the discarding of the data A communication processing device, comprising: a number notifying unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32872291A JPH05167616A (en) | 1991-12-12 | 1991-12-12 | Communication processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32872291A JPH05167616A (en) | 1991-12-12 | 1991-12-12 | Communication processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05167616A true JPH05167616A (en) | 1993-07-02 |
Family
ID=18213452
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP32872291A Pending JPH05167616A (en) | 1991-12-12 | 1991-12-12 | Communication processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05167616A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2001048980A1 (en) * | 1999-12-28 | 2001-07-05 | Kabushiki Kaisha Toshiba | Packet communication apparatus, packet communication method, and storage medium |
| JP2005012711A (en) * | 2003-06-20 | 2005-01-13 | Sony Corp | Real-time data communication system, real-time data communication apparatus, and real-time data communication method |
| JP2007214755A (en) * | 2006-02-08 | 2007-08-23 | Mitsubishi Electric Corp | Data communication method |
| JP2008080007A (en) * | 2006-09-28 | 2008-04-10 | Olympus Medical Systems Corp | Image processing system and endoscope system |
| JP2011030229A (en) * | 2003-08-21 | 2011-02-10 | Qualcomm Inc | External coding method of broadcast/multicast content and related device |
| JP2015149564A (en) * | 2014-02-05 | 2015-08-20 | トヨタ自動車株式会社 | On-vehicle communication system |
| JP2021535693A (en) * | 2018-08-23 | 2021-12-16 | アルカス インコーポレイテッド | Asynchronous object manager in a network environment |
-
1991
- 1991-12-12 JP JP32872291A patent/JPH05167616A/en active Pending
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2001048980A1 (en) * | 1999-12-28 | 2001-07-05 | Kabushiki Kaisha Toshiba | Packet communication apparatus, packet communication method, and storage medium |
| EP1168721A4 (en) * | 1999-12-28 | 2006-04-12 | Toshiba Kk | DEVICE AND METHOD FOR PACKET TRANSMISSION AND STORAGE MEDIUM |
| JP2005012711A (en) * | 2003-06-20 | 2005-01-13 | Sony Corp | Real-time data communication system, real-time data communication apparatus, and real-time data communication method |
| JP2011030229A (en) * | 2003-08-21 | 2011-02-10 | Qualcomm Inc | External coding method of broadcast/multicast content and related device |
| JP2011030230A (en) * | 2003-08-21 | 2011-02-10 | Qualcomm Inc | External coding method of broadcast/multicast content and related device |
| US8171381B2 (en) | 2003-08-21 | 2012-05-01 | Qualcomm Incorporated | Outer coding methods for broadcast/multicast content and related apparatus |
| US8175090B2 (en) | 2003-08-21 | 2012-05-08 | Qualcomm Incorporated | Outer coding methods for broadcast/multicast content and related apparatus |
| US8291300B2 (en) | 2003-08-21 | 2012-10-16 | Qualcomm Incorporated | Outer coding methods for broadcast/multicast content and related apparatus |
| JP2007214755A (en) * | 2006-02-08 | 2007-08-23 | Mitsubishi Electric Corp | Data communication method |
| JP2008080007A (en) * | 2006-09-28 | 2008-04-10 | Olympus Medical Systems Corp | Image processing system and endoscope system |
| JP2015149564A (en) * | 2014-02-05 | 2015-08-20 | トヨタ自動車株式会社 | On-vehicle communication system |
| JP2021535693A (en) * | 2018-08-23 | 2021-12-16 | アルカス インコーポレイテッド | Asynchronous object manager in a network environment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4067133B2 (en) | Two-way video communication over packet data network | |
| EP1122931B1 (en) | Real-time media content synchronization and transmission in packet network apparatus and method | |
| US6556540B1 (en) | System and method for non-intrusive measurement of service quality in a communications network | |
| DE19848993B4 (en) | ATM communication network, ATM communication switch and method for directing a stream of ATM cells | |
| US5444709A (en) | Protocol for transporting real time data | |
| US6831932B1 (en) | Transfer of SONET traffic over a packet-switched network | |
| US5963551A (en) | System and method for dynamically reconfigurable packet transmission | |
| US6963572B1 (en) | Method and apparatus for segmentation and reassembly of data packets in a communication switch | |
| JPH09512404A (en) | ATM switching system | |
| JPH06169325A (en) | Frame relay system for transmitting both data and voice frames and processing method thereof | |
| JPH08214010A (en) | User packet multiplexing method | |
| JP2000101609A (en) | Device for, synchronization of synchronous traffic stream sent out by asynchronous medium | |
| JP2000503495A (en) | Telecommunications system | |
| JP2873044B2 (en) | Signal message processing device in asynchronous time division communication network. | |
| JPH08214009A (en) | Pay load production of wide band cell | |
| JPH05167616A (en) | Communication processing device | |
| US20030103508A1 (en) | Multiple node network architecture | |
| JPH0974419A (en) | Simultaneous Message Control Method in Communication System for Transmitting Message Using Multiple Data Units | |
| CN110719228B (en) | Big data packet transmission method and device based on real-time data distribution service | |
| JPH0750818A (en) | Audio and video packet synchronous transfer control method | |
| EP0898824A2 (en) | Implementing atm virtual channels in a packet network | |
| JP3291866B2 (en) | Data receiving system and communication control device | |
| JP3053709B2 (en) | Signal generation apparatus and method | |
| JP2769012B2 (en) | Cell missing error delivery detection and correction method | |
| EP0061391B1 (en) | Tdma system network, especially receiving part of a coupler for the access to such a network |