JP2003333202A - Terminal communication system of isdn - Google Patents

Terminal communication system of isdn

Info

Publication number
JP2003333202A
JP2003333202A JP2002136375A JP2002136375A JP2003333202A JP 2003333202 A JP2003333202 A JP 2003333202A JP 2002136375 A JP2002136375 A JP 2002136375A JP 2002136375 A JP2002136375 A JP 2002136375A JP 2003333202 A JP2003333202 A JP 2003333202A
Authority
JP
Japan
Prior art keywords
real
time data
packet
isdn
data
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
JP2002136375A
Other languages
Japanese (ja)
Inventor
Nobuyuki Tsukamoto
展行 塚本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2002136375A priority Critical patent/JP2003333202A/en
Publication of JP2003333202A publication Critical patent/JP2003333202A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a system for terminal communication of ISDN. <P>SOLUTION: In communication, using one or more B channels, carried out between ISDN terminal devices having line interfaces of BRI or PRI of ISDN, delay or loss of packets on an ISDN transmission line or an ISDN terminal device is recognized and packets are received in the correct transmission order without spoiling a transmission sequence of sent non-real-time data even when the non-real-time data are divided and transmitted because real-time data are efficiently communicated. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ISDN(Int
egrated Services Digital
Network)の端末装置の通信方式に関する。
TECHNICAL FIELD The present invention relates to ISDN (Int
integrated Services Digital
(Network) communication method of a terminal device.

【0002】[0002]

【従来の技術】ISDNのBRIまたはPRIのライン
・インターフェースを持つISDN端末装置間におい
て、1つまたは複数のBチャネルを用いて通信を行う場
合に、リアルタイムデータを優先的に送信するために、
非リアルタイムデータのパケットを分割して送信するこ
とがある。この場合に、ISDN伝送路またはISDN
端末装置内でパケットの遅延または損失が起きると、パ
ケットが送信シーケンス順に届かない。従来、送信パケ
ットにシーケンスナンバーを付加することにより、送信
シーケンスの監視を行うが、シーケンスナンバー順に届
かなかったパケットは廃棄することになる。
2. Description of the Related Art In order to preferentially transmit real-time data when ISDN terminal equipment having a BRI or PRI line interface of ISDN communicates using one or a plurality of B channels,
A packet of non-real time data may be divided and transmitted. In this case, the ISDN transmission line or ISDN
When a packet is delayed or lost in the terminal device, the packet does not arrive in the transmission sequence order. Conventionally, a transmission sequence is monitored by adding a sequence number to a transmission packet, but a packet that does not arrive in the sequence number order is discarded.

【0003】また、従来、受信側においてシーケンスナ
ンバー順に届かなかった場合には、その原因がISDN
伝送路またはISDN端末装置内でパケットの遅延によ
るものか、またはパケットの損失によるものかの判断が
難しい。
Conventionally, if the receiving side does not arrive in sequence number order, the cause is ISDN.
It is difficult to determine whether it is due to a packet delay or a packet loss within the transmission line or the ISDN terminal device.

【0004】[0004]

【発明が解決しようとする課題】受信側においてシーケ
ンスナンバー順に届かなかった場合に、その原因がIS
DN伝送路またはISDN端末装置内でのパケットの遅
延による場合、シーケンスナンバー順に届かなかったパ
ケットをバッファリングし、正しいシーケンスナンバー
のパケットが到着したときに、前記バッファリングした
パケットをシーケンスナンバー順に取り出す必要があ
る。また、受信側においてシーケンスナンバー順に届か
なかった場合に、その原因がISDN伝送路またはIS
DN端末装置内でのパケットの損失による場合、前記損
失したパケットを無視し、前記損失パケットの後に受信
されたパケットを前記シーケンスナンバー順に取り出す
必要がある。
When the receiving side does not arrive in the sequence number order, the cause is IS.
In the case of a packet delay in the DN transmission line or the ISDN terminal device, it is necessary to buffer the packets that have not arrived in the sequence number order, and when the packets with the correct sequence number arrive, take out the buffered packets in the sequence number order. There is. Also, if the receiving side does not arrive in the sequence number order, the cause is the ISDN transmission line or IS.
In the case of packet loss in the DN terminal device, it is necessary to ignore the lost packet and extract the packets received after the lost packet in the sequence number order.

【0005】[0005]

【課題を解決するための手段】複数のBチャネルをもつ
ISDN通信端末において、1パケット毎にシーケンス
ナンバー、パケット長、データ種別をヘッダーとして付
加し、前記パケットが分割された場合、分割パケットに
も前記シーケンスナンバー、データ種別を付加し、分割
ビットをたて、前記複数のBチャネルの中でもっとも送
信待ちデータの少ないBチャネルに対してパケットを送
信する。
In an ISDN communication terminal having a plurality of B channels, a sequence number, a packet length, and a data type are added as a header for each packet, and when the packet is divided, the divided packet is also included. The sequence number and the data type are added, the divided bits are set, and the packet is transmitted to the B channel having the least data to be transmitted among the plurality of B channels.

【0006】前記送信パケットを受信する際に、前記シ
ーケンスナンバーに対応した受信キューをもち、それぞ
れの受信キューに分割前のパケット長、受信キュー内の
データ長、パケット種別、受信Bチャネル等の属性をも
つ。
When the transmission packet is received, it has a reception queue corresponding to the sequence number, and each reception queue has attributes such as a packet length before division, a data length in the reception queue, a packet type, and a reception B channel. With.

【0007】前記受信されたパケットを前記シーケンス
ナンバーに対応した受信キューに蓄え、前記受信された
パケットのシーケンスナンバーと、次にパケットを取り
出すべき受信キューのシーケンスナンバーを比較するこ
とにより、ISDN伝送路または前記ISDN端末装置
内でのパケットの遅延にかかわらず、パケットを前記シ
ーケンスナンバー順に取り出す。
The received packet is stored in a receive queue corresponding to the sequence number, and the sequence number of the received packet is compared with the sequence number of the receive queue from which the packet should be taken out next, thereby determining the ISDN transmission line. Alternatively, the packets are extracted in the sequence number order regardless of the packet delay in the ISDN terminal device.

【0008】前記受信されたパケットのシーケンスナン
バーと、次にパケットを取り出すべきキューのシーケン
スナンバーを比較することにより、パケットの損失を認
識し、前記損失パケットの後に受信されたパケットを前
記シーケンスナンバー順に取り出す。
A packet loss is recognized by comparing the sequence number of the received packet with the sequence number of the queue from which the packet should be taken out next, and the packets received after the lost packet are sorted in the sequence number order. Take it out.

【0009】前記受信されたパケットのシーケンスナン
バーに相当する前記受信キューの属性を参照することに
より、パケットの損失を認識し、前記損失パケットの後
に受信されたパケットを前記シーケンスナンバー順に取
り出す。
By referring to the attribute of the reception queue corresponding to the sequence number of the received packet, the packet loss is recognized, and the packets received after the lost packet are extracted in the sequence number order.

【0010】[0010]

【発明の実施の形態】以下、本発明の実施例を図面を参
照して詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will now be described in detail with reference to the drawings.

【0011】(第1の実施の形態)図1は、本発明に係
るISDN端末装置のブロック構成図を示す。CPU1
00はメモリ130に格納されているプログラムを読み
出し、実行することにより装置全体の制御を行う。HD
LC(Highlevel Data LinkCon
trol)コントローラ110は、DMAC(Dire
ct Memory Access Controll
er)を内蔵しており、110−130間で高速にデー
タをDMA転送し、HDLCフレームとしてシリアルデ
ータに変換して送信する。また、受信されたHDLCフ
レームを分解し、110−130間で高速にデータをD
MA転送する。ISDN Line Interfac
e120は、ISDNのBRI(Basic Rate
Interface:2B+D)またはPRI(Pr
imary Rate Interface:23B+
D)におけるユーザ・網インターフェースを実現する。
また、ITU−T勧告のI.430に定められたレイヤ
1制御機能を有すると共に、ITU−T勧告のQ.92
0、Q.921に定められたレイヤ2(LAP−Dプロ
トコル)をサポートする。Ethernet(R) C
ontroller140は、複数のRJ−45ポート
を備え、イーサネット(R)プロトコルをサポートす
る。前記ISDN端末装置(2台)間において、Lin
e I/F120によりDチャネルを通じて、複数のB
チャネル(B1〜Bn)が呼接続されているとする。
(First Embodiment) FIG. 1 shows a block diagram of an ISDN terminal device according to the present invention. CPU1
00 controls the entire apparatus by reading and executing the program stored in the memory 130. HD
LC (Highlevel Data LinkCon)
The controller 110 is a DMAC (Dire).
ct Memory Access Control
er) is built in, and data is DMA-transferred at high speed between 110 and 130, converted into serial data as an HDLC frame and transmitted. In addition, the received HDLC frame is decomposed, and the data is transmitted at high speed between 110 and 130.
MA transfer. ISDN Line Interfac
e120 is a BRI (Basic Rate) of ISDN.
Interface: 2B + D) or PRI (Pr
immediate Rate Interface: 23B +
Implement the user / network interface in D).
In addition, the ITU-T Recommendation I.S. In addition to having the layer 1 control function defined in 430, the Q. 92
0, Q. It supports Layer 2 (LAP-D protocol) defined in 921. Ethernet (R) C
The controller 140 has a plurality of RJ-45 ports and supports the Ethernet (R) protocol. Lin between the ISDN terminal devices (2 units)
e I / F 120 allows multiple Bs through D channel
It is assumed that the channels (B1 to Bn) are call-connected.

【0012】以上の構成で前記ISDN端末装置がデー
タを送信する場合を図5のフローチャートを用いて説明
する。メモリ130には各Bチャネルに対応したリアル
タイムデータキューおよび非リアルタイムデータキュー
を設ける。ステップS500の送信要求待ちのときに、
HDLCコントローラ110に対して送信依頼がある
と、送信データに図2に示すパケットヘッダを付加す
る。分割ビット200は、送信パケットが先頭パケット
(分割ビット=0)か分割後のパケット(分割ビット=
1)かを示す。データ種別210は、リアルタイムデー
タ(データ種別=0)か非リアルタイムデータ(データ
種別=1)かを示す。220の5ビットのフィールド
は、0〜30の範囲でシーケンスナンバーを表す。シー
ケンスナンバーは、送信データ毎にインクリメントして
付加するもので、先頭パケット(分割ビット=0)も分
割後のパケット(分割ビット=1)も同一のシーケンス
ナンバーを付加する。それに続く230のレングス長フ
ィールドは、先頭パケット(分割ビット=0)の場合、
送信データ長を示す。分割後のパケット(分割ビット=
1)の場合、230のレングス長フィールドは付加しな
い。前記パケットヘッダを付加された送信パケットは、
リアルタイムデータの場合、ステップS502におい
て、未送信のリアルタイムデータの最も少ないBチャネ
ルを選択し、ステップS503において、前記パケット
ヘッダを付加したリアルタイムデータを前記Bチャネル
用リアルタイムデータキューに挿入(Pop)する。そ
の後、ステップS504において、リアルタイムデータ
送信中のときは、ステップS500に戻る。リアルタイ
ムデータ送信中でないときは、ステップS505に進
み、非リアルタイムデータ中断中のときは、ステップS
500に戻る。非リアルタイムデータ中断中でないとき
は、ステップS521に進み、非リアルタイムデータ送
信中のときは、ステップS523において、送信中の非
リアルタイムデータに対して中断要求を行う。このとき
に、送信中の非リアルタイムデータは中断され、残りの
非リアルタイムデータのパケットヘッダの分割ビット2
00をたてる。このとき、210のデータ種別、および
220のシーケンスナンバーは前記送信中の非リアルタ
イムデータのヘッダと同一である。230のレングス長
フィールドは付加しない。その後、ステップS500の
送信要求待ち状態に戻る。ステップS521において、
非リアルタイムデータを送信中でないとき、ステップS
522に進み、ステップS503において挿入したリア
ルタイムデータキューからリアルタイムデータを取り出
し(Push)、そのデータに対してDMA要求を行
う。その後、ステップS500の送信要求待ち状態に戻
る。ステップS501において、送信要求が非リアルタ
イムデータの場合、ステップS506に進み、未送信の
データの最も少ないBチャネルを選択し、ステップS5
07において、前記パケットヘッダを付加した非リアル
タイムデータを前記Bチャネル用非リアルタイムデータ
キューに挿入(Pop)する。その後、ステップS50
8において、リアルタイムデータ送信中のときは、ステ
ップS500に戻る。リアルタイムデータ送信中でない
ときは、ステップS509に進み、非リアルタイムデー
タ送信中のときは、ステップS500に戻る。非リアル
タイムデータ送信中でないときは、ステップS510に
進み、ステップS507において挿入した非リアルタイ
ムデータキューから非リアルタイムデータを取り出し
(Push)、そのデータに対してDMA要求を行う。
その後、ステップS500の送信要求待ち状態に戻る。
A case in which the ISDN terminal device transmits data with the above configuration will be described with reference to the flowchart of FIG. The memory 130 is provided with a real-time data queue and a non-real-time data queue corresponding to each B channel. When waiting for the transmission request in step S500,
When there is a transmission request to the HDLC controller 110, the packet header shown in FIG. 2 is added to the transmission data. The fragmented bit 200 is the first packet (divided bit = 0) of the transmission packet or the fragmented packet (divided bit =
1) or not. The data type 210 indicates real-time data (data type = 0) or non-real-time data (data type = 1). A 5-bit field 220 represents a sequence number in the range of 0-30. The sequence number is incremented and added for each transmission data, and the same sequence number is added to the first packet (divided bit = 0) and the divided packet (divided bit = 1). The following 230 length field is for the first packet (fragment bit = 0)
Indicates the transmission data length. Packet after fragmentation (fragment bit =
In the case of 1), the 230 length field is not added. The transmission packet added with the packet header is
In the case of real-time data, in step S502, the B channel with the least untransmitted real-time data is selected, and in step S503, the real-time data with the packet header added is inserted (Pop) into the B-channel real-time data queue. Then, in step S504, when real-time data is being transmitted, the process returns to step S500. When real-time data is not being transmitted, the process proceeds to step S505, and when non-real-time data is being interrupted, step S505 is performed.
Return to 500. If the non-real-time data is not being interrupted, the process proceeds to step S521. If the non-real-time data is being transmitted, in step S523, an interrupt request is made to the non-real-time data being transmitted. At this time, the non-real-time data being transmitted is interrupted, and the divided bit 2 of the packet header of the remaining non-real-time data is divided.
Set 00. At this time, the data type of 210 and the sequence number of 220 are the same as the header of the non-real time data being transmitted. The 230 length field is not added. After that, the process returns to the transmission request waiting state of step S500. In step S521,
When non-real time data is not being transmitted, step S
Proceeding to 522, real-time data is fetched from the real-time data queue inserted in step S503 (Push), and a DMA request is made for that data. After that, the process returns to the transmission request waiting state of step S500. If the transmission request is non-real-time data in step S501, the flow advances to step S506 to select the B channel having the least untransmitted data, and then step S5.
At 07, the non-real-time data added with the packet header is inserted (Pop) into the non-real-time data queue for the B channel. Then, step S50
If the real-time data is being transmitted in step 8, the process returns to step S500. When real-time data is not being transmitted, the procedure proceeds to step S509, and when non-real-time data is being transmitted, the procedure returns to step S500. When non-real time data is not being transmitted, the process proceeds to step S510, the non-real time data is fetched from the non-real time data queue inserted in step S507 (Push), and a DMA request is made for the data.
After that, the process returns to the transmission request waiting state of step S500.

【0013】次に、ステップS530において、送信完
了すると、ステップS531に進む。ステップS531
において、送信完了Bチャネルのリアルタイムデータキ
ューにPushされていないデータがあれば、ステップ
S533に進み、前記リアルタイムデータキューからリ
アルタイムデータをPushし、そのデータに対してD
MA要求を行う。その後、ステップS530の送信完了
待ち状態に戻る。ステップS531において、送信完了
BチャネルのリアルタイムデータキューにPushされ
ていないデータがなければ、ステップS532に進む。
ステップS532において、送信完了Bチャネルの非リ
アルタイムデータキューにPushされていないデータ
があれば、ステップS534に進み、前記リアルタイム
データキューからリアルタイムデータをPushし、そ
のデータに対してDMA要求を行う。その後、ステップ
S530の送信完了待ち状態に戻る。ステップS532
において、送信完了Bチャネルの非リアルタイムデータ
キューにPushされていないデータがなければ、ステ
ップS530の送信完了待ち状態に戻る。
Next, when the transmission is completed in step S530, the process proceeds to step S531. Step S531
In step S533, if there is data that has not been pushed in the real-time data queue of the transmission completed B channel, the flow advances to step S533 to push real-time data from the real-time data queue, and D
Make an MA request. After that, the process returns to the transmission completion waiting state in step S530. In step S531, if there is no unpushed data in the real-time data queue of the transmission completed B channel, the process proceeds to step S532.
In step S532, if there is unpushed data in the non-real-time data queue of the transmission completed B channel, the flow advances to step S534 to push real-time data from the real-time data queue and make a DMA request for the data. After that, the process returns to the transmission completion waiting state in step S530. Step S532
If there is no data that has not been pushed in the non-real-time data queue of the transmission completed B channel, the process returns to the transmission completion waiting state of step S530.

【0014】1024Byteの送信データを512B
yte、256Byte、256Byteの3つのパケ
ットに分割して送信する場合を考える。この送信データ
のシーケンスナンバーを3とすると、図3 300に示
すように、512Byteの先頭パケットは、シーケン
スナンバー=3、分割ビット=0、レングス長フィール
ド=1024として送信ヘッダを付加し、送信キューに
格納する。図3 310に示すように、続く256By
teの分割パケットは、シーケンスナンバー=3、分割
ビット=1、レングス長フィールドなしとして送信ヘッ
ダを付加し、送信キューに格納する。図3 320に示
すように、残りの256Byteの分割パケットは、シ
ーケンスナンバー=3、分割ビット=1、レングス長フ
ィールドなしとして送信ヘッダを付加し、送信キューに
格納する。その後、先に格納された送信パケットがすべ
て送信完了すると、300、310、320の順にパケ
ットを送信する。
The transmission data of 1024 bytes is 512B.
Consider a case in which the packet is divided into three packets of 256 bytes, 256 bytes, and 256 bytes and transmitted. Assuming that the sequence number of this transmission data is 3, as shown in FIG. 3300, the first packet of 512 bytes has a transmission header with sequence number = 3, divided bits = 0, and length field = 1024, and is added to the transmission queue. Store. As shown in FIG.
The divided packet of te has a sequence number of 3, a divided bit of 1, and has a length header without a transmission header and is stored in a transmission queue. As shown in 320 in FIG. 3, the remaining 256-byte fragmented packets are added with a transmission header with sequence number = 3, fragmented bits = 1, and no length length field, and stored in the transmission queue. After that, when all the previously stored transmission packets have been transmitted, the packets are transmitted in the order of 300, 310 and 320.

【0015】前記ISDN端末装置がデータを受信する
場合を説明する。メモリ130には各シーケンスナンバ
ー(0〜30)に対応した受信データキューを設ける。
シーケンスナンバーIに対応する受信データキューをQ
iとする。Qiは、図2 210に対応するデータ種
別、図2 230に対応するパケット長(分割前のパケ
ット長)、受信Bチャネル、Qi内に格納されているデ
ータ長等の属性を持つ。次に組み立てるパケットのシー
ケンスナンバーを整数変数RxSeqNo、受信された
パケットのシーケンスナンバーを整数変数NowSeq
No、シーケンスナンバー数を整数定数MaxSeqN
oとする。本実施例では、図2 220の5ビットのフ
ィールドより31である。前記整数変数RxSeqN
o、NowSeqNoと前記整数定数MaxSeqN
o、および前記受信キューQiの属性を用いて、前記I
SDN端末装置がデータを受信するフローチャートを図
4に示す。図4AステップS400は、受信待ち状態で
ある。データが受信されると、パケットのシーケンスナ
ンバーをみる。ここでは、シーケンスナンバーはNow
SeqNoである。ステップS401にて、図2に示す
パケットヘッダの分割ビット200が0か1かを見る。
分割ビットが0なら、受信されたパケットは先頭パケッ
トであると判断し、ステップS402にて、NowSe
qNoの受信キューにデータが存在するかどうかを見
る。ステップS402にて、NowSeqNoの受信キ
ューにデータが存在すれば、ステップS404にて受信
キュー内のデータをすべて廃棄し、前記受信キューの属
性をすべて初期化する。さらに、RxSeqNoにNo
wSeqNoを代入する。ステップS401にて、前記
分割ビットが1なら、受信されたパケットは分割パケッ
トであると判断し、ステップS403にて、NowSe
qNoの受信キューにデータが存在するかどうかを見
る。ステップS403にて、NowSeqNoの受信キ
ューにデータが存在しなければ、NowSeqNoの先
頭パケットが損失したと判断し、受信パケットを廃棄
し、ステップS400に戻る。ステップS404にて受
信キューをクリア後、またはステップS403でNow
SeqNoの受信キューにデータが存在すれば、ステッ
プS405にて、NowSeqNoの受信キューに受信
データを書き込み、受信データ種別、受信パケット長、
受信Bチャネル、受信キュー内のデータ長などのNow
SeqNoの受信キュー属性を更新する。その後、ステ
ップS406にて、NowSeqNoとRxSeqNo
の差が(MaxSeqNo−2)よりも大きいなら、R
xSeqNoのパケットが損失したと判断し、ステップ
S407にて、ステップS404同様受信キューをクリ
アする。さらに、RxSeqNoをインクリメントし、
それをNowSeqNoに代入して、BステップS41
0に進む。ステップS406にて、NowSeqNoと
RxSeqNoの差が(MaxSeqNo−2)以下な
ら、何もせずにBステップS410に進む。Bステップ
S410にて、ループ変数I=0とする。I<MaxS
eqNo(ステップS411)、かつRxSeqNoと
NowSeqNoが等しい(ステップS412)、かつ
RxSeqNo(NowSeqNo)の受信キューのデ
ータ長>0(ステップS413)、かつRxSeqNo
(=NowSeqNo)の受信キューのデータ長とRx
SeqNo(=NowSeqNo)の受信キューのパケ
ット長が等しい(ステップS414)なら、ステップS
415へ進む。そうでなければ、AステップS400の
受信待ち状態に戻る。ステップS415にて、RxSe
qNo(=NowSeqNo)の受信キューから組み立
てられた受信データを取り出す。その後、ステップS4
16にて、ステップS404同様受信キューをクリア
し、RxSeqNo、NowSeqNo、iともにイン
クリメントし、BステップS410に戻る。
A case where the ISDN terminal device receives data will be described. A reception data queue corresponding to each sequence number (0 to 30) is provided in the memory 130.
Q for the receive data queue corresponding to the sequence number I
i. Qi has attributes such as a data type corresponding to FIG. 2 210, a packet length (packet length before division) corresponding to FIG. 2 230, a reception B channel, and a data length stored in Qi. The sequence number of the packet to be assembled next is the integer variable RxSeqNo, and the sequence number of the received packet is the integer variable NowSeq.
No, the number of sequence numbers is an integer constant MaxSeqN
o. In this embodiment, the number is 31 from the 5-bit field in FIG. The integer variable RxSeqN
o, NowSeqNo and the integer constant MaxSeqN
o and the attributes of the reception queue Qi,
FIG. 4 shows a flowchart in which the SDN terminal device receives data. Step S400 in FIG. 4A is in a reception waiting state. When the data is received, it looks at the sequence number of the packet. Here, the sequence number is Now
SeqNo. In step S401, it is checked whether the divided bits 200 of the packet header shown in FIG. 2 are 0 or 1.
If the divided bit is 0, it is determined that the received packet is the first packet, and in step S402, NowSe
Check if there is data in the receive queue of qNo. If data exists in the reception queue of NowSeqNo in step S402, all data in the reception queue is discarded and all attributes of the reception queue are initialized in step S404. Furthermore, No in RxSeqNo
Substitute wSeqNo. If the divided bit is 1 in step S401, it is determined that the received packet is a divided packet, and in step S403, NowSe
Check if there is data in the receive queue of qNo. If no data exists in the reception queue of NowSeqNo in step S403, it is determined that the first packet of NowSeqNo is lost, the reception packet is discarded, and the process returns to step S400. After clearing the reception queue at step S404, or Now at step S403.
If there is data in the reception queue of SeqNo, in step S405, the reception data is written in the reception queue of NowSeqNo, the reception data type, the reception packet length,
Now such as receive B channel and data length in receive queue
The reception queue attribute of SeqNo is updated. Then, in step S406, NowSeqNo and RxSeqNo
If the difference between is larger than (MaxSeqNo-2), then R
It is determined that the packet of xSeqNo is lost, and in step S407, the reception queue is cleared as in step S404. Furthermore, increment RxSeqNo,
Substituting it into NowSeqNo, B step S41
Go to 0. If the difference between NowSeqNo and RxSeqNo is (MaxSeqNo-2) or less in step S406, the process proceeds to step B410 without doing anything. In step B410, the loop variable I = 0 is set. I <MaxS
eqNo (step S411), RxSeqNo and NowSeqNo are equal (step S412), and the data length of the reception queue of RxSeqNo (NowSeqNo)> 0 (step S413), and RxSeqNo.
(= NowSeqNo) receive queue data length and Rx
If the packet lengths of the reception queues of SeqNo (= NowSeqNo) are equal (step S414), step S
Proceed to 415. If not, the process returns to the reception waiting state in step A400. In step S415, RxSe
The assembled reception data is extracted from the reception queue of qNo (= NowSeqNo). Then, step S4
In step 16, the reception queue is cleared as in step S404, RxSeqNo, NowSeqNo, and i are both incremented, and the process returns to step B410.

【0016】以上の受信シーケンスにより、送信データ
が分割されている場合でも、シーケンスナンバー順に受
信データを組み立てて受信する。
According to the above reception sequence, even if the transmission data is divided, the reception data is assembled and received in the sequence number order.

【0017】[0017]

【発明の効果】以上説明したように、本発明によれば、
ISDNのBRIまたはPRIのライン・インターフェ
ースを持つISDN端末装置間において、複数のBチャ
ネルを用いてデータを送信する場合に、最も送信待ちデ
ータの少ないBチャネルを選択することにより、送信レ
ートを高めることができる。
As described above, according to the present invention,
When transmitting data using a plurality of B channels between ISDN terminal devices having an ISDN BRI or PRI line interface, the transmission rate is increased by selecting the B channel with the least amount of data waiting to be transmitted. You can

【0018】また、本発明によれば、ISDNのBRI
またはPRIのライン・インターフェースを持つISD
N端末装置間において、1つまたは複数のBチャネルを
用いて、リアルタイムデータを効率よく通信する等の理
由で非リアルタイムデータを分割して送信する場合に、
ISDN伝送路やISDN端末装置においてパケットの
遅延が起こっても、前記送信された非リアルタイムデー
タのシーケンスを損なうこと無く、正しく送信順にパケ
ットを受信することができる。その際に、受信データ
長、受信Bチャネル、受信種別などの受信属性を知るこ
とができる。
According to the present invention, the BRI of ISDN is also included.
Or ISD with PRI line interface
When non-real-time data is divided and transmitted between N terminal devices by using one or more B channels for the purpose of efficiently communicating real-time data,
Even if a packet delay occurs in the ISDN transmission line or the ISDN terminal device, the packets can be correctly received in the transmission order without damaging the sequence of the transmitted non-real time data. At that time, the reception attributes such as the reception data length, reception B channel, and reception type can be known.

【0019】また、本発明によれば、ISDNのBRI
またはPRIのライン・インターフェースを持つISD
N端末装置間において、1つまたは複数のBチャネルを
用いて、リアルタイムデータを効率よく通信する等の理
由で非リアルタイムデータを分割して送信する場合に、
ISDN伝送路やISDN端末装置においてパケットの
損失が起こると、受信側で前記パケットの損失を認識
し、前記損失パケットの後に受信されたパケットを正し
く送信順に取り出すことができる。
According to the present invention, the BRI of ISDN is also provided.
Or ISD with PRI line interface
When non-real-time data is divided and transmitted between N terminal devices by using one or more B channels for the purpose of efficiently communicating real-time data,
When a packet loss occurs in the ISDN transmission line or the ISDN terminal device, the receiving side can recognize the packet loss and correctly extract the packets received after the lost packet in the transmission order.

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

【図1】本発明の一実施例に係るISDN端末装置のブ
ロック構成図である。
FIG. 1 is a block configuration diagram of an ISDN terminal device according to an embodiment of the present invention.

【図2】本発明のパケットヘッダフォーマットの例を示
す。
FIG. 2 shows an example of a packet header format of the present invention.

【図3】本発明のパケットの分割例を示す。FIG. 3 shows an example of packet division according to the present invention.

【図4】本発明の受信側の動作フローチャートである。FIG. 4 is an operation flowchart of the receiving side of the present invention.

【図5】本発明の送信側の動作フローチャートである。FIG. 5 is an operation flowchart of the transmitting side of the present invention.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のBチャネルを有するISDN回線
を収容し、前記複数のBチャネルを用いてリアルタイム
データ通信及び非リアルタイムデータ通信を行うISD
N通信端末において、 リアルタイムデータ通信要求を検知する手段と、 リアルタイムデータ通信要求を検知すると、前記各Bチ
ャネルの送信待ちデータ量をそれぞれ調べる手段と、 前記調べた送信待ちデータ量を比較して、通信に用いる
Bチャネルを決定する手段と、 前記通信に用いるBチャネルにおける、送信中の非リア
ルタイムデータのパケットを複数の要素に分割する手段
と、 前記リアルタイムデータ送信後、前記分割された非リア
ルタイムデータの要素を送信する手段と、を有すること
を特徴とするISDN通信端末。
1. An ISD for accommodating an ISDN line having a plurality of B channels and performing real-time data communication and non-real-time data communication using the plurality of B channels.
In the N communication terminal, a means for detecting a real-time data communication request, a means for detecting a real-time data communication request when detecting a real-time data communication request, and a means for respectively checking the transmission waiting data amount of each of the B channels, Means for determining a B channel used for communication; means for dividing a packet of non-real time data being transmitted in the B channel used for communication into a plurality of elements; and, after transmitting the real time data, the divided non real time data Means for transmitting the elements of, and an ISDN communication terminal.
【請求項2】 請求項1において、前記複数に分割され
た非リアルタイムデータパケットに分割されたことを示
す情報を付加することを特徴とするISDN通信端末。
2. The ISDN communication terminal according to claim 1, wherein information indicating that the packet has been divided is added to the plurality of divided non-real-time data packets.
【請求項3】 複数のBチャネルを有するISDN回線
を収容し、前記複数のBチャネルを用いてリアルタイム
データ通信及び非リアルタイムデータ通信を行うISD
N通信端末において、 受信した非リアルタイムデータパケットが複数の要素に
分割されていることを検出する手段と、 前記分割された非リアルタイムデータパケットの複数の
要素を1つに組み立てる手段と、 複数の非リアルタイムデータパケットの順序の入れ替わ
りを検出する手段と、 前記入れ替わりを検出した場合に順序を正す手段と、を
有することを特徴とするISDN通信端末。
3. An ISD for accommodating an ISDN line having a plurality of B channels and performing real-time data communication and non-real-time data communication using the plurality of B channels.
In the N communication terminal, means for detecting that the received non-real time data packet is divided into a plurality of elements, means for assembling the plurality of elements of the divided non-real time data packet into one, An ISDN communication terminal comprising: means for detecting a change in the order of real-time data packets; and means for correcting the order when the change is detected.
JP2002136375A 2002-05-13 2002-05-13 Terminal communication system of isdn Withdrawn JP2003333202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002136375A JP2003333202A (en) 2002-05-13 2002-05-13 Terminal communication system of isdn

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002136375A JP2003333202A (en) 2002-05-13 2002-05-13 Terminal communication system of isdn

Publications (1)

Publication Number Publication Date
JP2003333202A true JP2003333202A (en) 2003-11-21

Family

ID=29698404

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002136375A Withdrawn JP2003333202A (en) 2002-05-13 2002-05-13 Terminal communication system of isdn

Country Status (1)

Country Link
JP (1) JP2003333202A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004052692A1 (en) * 2004-10-29 2006-05-04 Siemens Ag Method for the transmission of data available in the form of data packets

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004052692A1 (en) * 2004-10-29 2006-05-04 Siemens Ag Method for the transmission of data available in the form of data packets
DE102004052692B4 (en) * 2004-10-29 2008-04-24 Siemens Ag Method for the transmission of data available in the form of data packets

Similar Documents

Publication Publication Date Title
US6967951B2 (en) System for reordering sequenced based packets in a switching network
US6088777A (en) Memory system and method for dynamically allocating a memory divided into plural classes with different block sizes to store variable length messages
US20180123714A1 (en) Method, Device, and System for Sending and Receiving Code Block Data Stream
US5748613A (en) Communication pacing method
US6678275B1 (en) Multitrunk ATM termination device
US8027344B2 (en) Transmission of data packets of different priority levels using pre-emption
US20040208173A1 (en) Scheduler for signaling a time out
CN100484096C (en) Transmission device, method and control device
JPH06197130A (en) High-speed packet switching device and method for routing data packet
US20030112819A1 (en) Communications interface for providing a plurality of communication channels to a single port on a processor
US7321557B1 (en) Dynamic latency assignment methodology for bandwidth optimization of packet flows
AU2007344308A1 (en) Method of real-time transmission/reception of data in packets between a server and a client terminal, corresponding server and terminal
US7272675B1 (en) First-in-first-out (FIFO) memory for buffering packet fragments through use of read and write pointers incremented by a unit access and a fraction of the unit access
US7379467B1 (en) Scheduling store-forwarding of back-to-back multi-channel packet fragments
CA2308648C (en) Method to control data reception buffers for packetized voice channels
JP2003333202A (en) Terminal communication system of isdn
US20040028041A1 (en) Packet processing device
US7613788B2 (en) Apparatus and method for data transmission
US7010004B2 (en) Method for multiplexing data for packet networks
US7088738B1 (en) Dynamic fragmentation of information
US20020141411A1 (en) Apparatus for line-concentrating and distributing PPP frame data
TW591399B (en) Bus frame protocol
US20020031129A1 (en) Method of managing voice buffers in dynamic bandwidth circuit emulation services
EP1091302B1 (en) Device for processing SONET or SDH frames on a PCI bus
EP1091288A1 (en) Device for processing sonet or SDH frames having an H.100 bus

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050802