JP2851400B2 - Packet transmission status judgment method - Google Patents

Packet transmission status judgment method

Info

Publication number
JP2851400B2
JP2851400B2 JP2237254A JP23725490A JP2851400B2 JP 2851400 B2 JP2851400 B2 JP 2851400B2 JP 2237254 A JP2237254 A JP 2237254A JP 23725490 A JP23725490 A JP 23725490A JP 2851400 B2 JP2851400 B2 JP 2851400B2
Authority
JP
Japan
Prior art keywords
value
packet
index
addition value
difference
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.)
Expired - Lifetime
Application number
JP2237254A
Other languages
Japanese (ja)
Other versions
JPH04119041A (en
Inventor
直樹 河合
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.)
Japan Broadcasting Corp
Original Assignee
Nippon Hoso Kyokai NHK
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 Nippon Hoso Kyokai NHK filed Critical Nippon Hoso Kyokai NHK
Priority to JP2237254A priority Critical patent/JP2851400B2/en
Publication of JPH04119041A publication Critical patent/JPH04119041A/en
Application granted granted Critical
Publication of JP2851400B2 publication Critical patent/JP2851400B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、異常なパケット伝送状態を効果的に判別可
能にするパケット伝送状態判定方式に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial application field) The present invention relates to a packet transmission state determination method capable of effectively determining an abnormal packet transmission state.

(発明の概要) 本発明におけるパケット伝送では、短パケット毎に指
標が単調増加する連続性指標を付加する。本発明は、こ
の指標の不連続現象を適宜な区間について観測し、所定
のアルゴリズムに従い指標の不連続現象を分析し識別す
ることにより、パケット消失を正確に検知して情報欠落
に対するコンシールメントを有効に行うことを可能に
し、さらにパケット消失以外の受信した有用なパケット
を十分に利用することができるようにした判定方式であ
る。
(Summary of the Invention) In packet transmission according to the present invention, a continuity index whose index monotonically increases for each short packet is added. The present invention observes the discontinuity of the index in an appropriate section, analyzes and identifies the discontinuity of the index according to a predetermined algorithm, accurately detects packet loss, and enables concealment for information loss. This is a determination method in which the received useful packet other than packet loss can be fully utilized.

(従来の技術) 最近、ディジタル伝送の方式として通信ではATM(非
同期通信モード)におけるセル,将来のディジタル放送
ではデータパケットによる固定長の短パケットを用いる
伝送が考えられている。また、CD−ROMに代表されるデ
ィスクあるいはテープなどのパッケージメディアにおい
ても、短パケットによる記録が用いられることが予想さ
れる。
(Prior Art) In recent years, as a digital transmission method, transmission using cells in an ATM (asynchronous communication mode) in communication and transmission of data packets using fixed-length short packets by data packets have been considered. Also, it is expected that short packet recording will be used for a package medium such as a disk or a tape typified by a CD-ROM.

従来から連続性指標はパケット消失の検出やパケット
の順序が交替している場合の並べ替えに用いられて来
た。文字多重放送ではプリフィックスの部分に連続性指
標が4ビット設定されており、この用い方が、例えばBT
A編「文字放送技術ハンドブック」等に複合処理モデル
として示されている。この方法は、パケットの有効性の
検査として用いられおり、前パケットの連続性指標と現
在の連続性指標とを1パケット毎に逐次比較し、連続的
に指標が単調増加していない場合にはパケット消失と判
定するものである。
Conventionally, the continuity index has been used for packet loss detection and rearrangement when the order of packets is changed. In teletext broadcasting, a 4-bit continuity index is set in the prefix part.
It is shown as a complex processing model in the A Teletext Handbook for Teletext Technology and the like. This method is used to check the validity of a packet. The continuity index of the previous packet and the current continuity index are sequentially compared for each packet, and if the index does not continuously increase monotonically, It is determined that the packet is lost.

また従来のパケット通信では、伝送路の経路の違いに
起因するパケット着信順序の入れ替りが生ずることがあ
る。これを連続性指標を用いて正式な順序に並べ替える
ことも前者の例と同様に1パケット毎に逐次的に行われ
ている。
In the conventional packet communication, the packet arrival order may be changed due to a difference in transmission path. This is rearranged into a formal order using the continuity index, similarly to the former example, and is sequentially performed for each packet.

パケット毎に数ビットの連続性指標を付加して伝送
し、指標が不連続に受信された場合、以下に示す4種の
現象のいずれかが生じていると考えられる。
When a packet is transmitted with a continuity index of several bits added to each packet and the index is received discontinuously, it is considered that one of the following four phenomena has occurred.

(1)パケット消失…伝送容量を越えた場合のパケット
廃棄、およびヘッダ誤りを原因とする誤配送等によるパ
ケットの消失。
(1) Packet loss: Packet loss when the transmission capacity is exceeded, and packet loss due to erroneous delivery due to a header error.

(2)パケット侵入…ヘッダ誤りを原因とする誤配送に
よる不必要なパケットの侵入。
(2) Packet intrusion: Unnecessary packet intrusion due to erroneous delivery due to a header error.

(3)パケット順序交替…伝送経路の相違などによるパ
ケット着信順序の交替。
(3) Alteration of packet order: Alteration of the packet arrival order due to a difference in transmission path or the like.

(4)指標番号誤り…連続性指標の伝送誤りによる異な
った番号への変化。
(4) Index number error: change to a different number due to a transmission error of the continuity index.

これらの各現象を正確に識別しなければ、誤って必要
なパケットを破棄することにより利用できるパケットの
データを失ったり、また不必要なパケットを使用するこ
とになりかねない。
Failure to accurately identify each of these phenomena can result in the loss of available packet data or the use of unnecessary packets by accidentally discarding the necessary packets.

(発明が解決しようとする課題) しかしながら、従来の文字放送の方法は、逐次的にパ
ケットの連続性指標を前の連続性指標と比較するだけな
ので、パケット侵入があると次の正しいパケットも破棄
することになり、またパケット順序交替や指標番号誤り
との区別が不可能であった。
(Problems to be Solved by the Invention) However, since the conventional teletext method only sequentially compares the continuity index of a packet with the previous continuity index, if there is a packet intrusion, the next correct packet is also discarded. And it is impossible to distinguish between packet order change and index number error.

また、通信で行っている方法はパケット侵入や指標誤
りがあるとパケット順序交替を正しく並べ替えることが
できなくなり、パケット消失も正確に検知できなくなる
という不具合があった。
In addition, the method used in communication has a problem that if there is a packet intrusion or an index error, the packet order change cannot be correctly rearranged, and packet loss cannot be accurately detected.

本発明は、パケット着信毎ではなく、適当な期間に渡
って連続性指標を観測し、不連続な指標が生じる各現象
の特徴を用いることにより、不連続の状態を正確に把握
し、パケット消失を識別して有用なパケットデータを救
うことを目的としている。
The present invention monitors the continuity index over an appropriate period, not every packet arrival, and uses the characteristics of each phenomenon that causes the discontinuity index to accurately grasp the discontinuity state and to determine the packet loss. To save useful packet data.

[発明の構成] (課題を解決するための手段) 上記目的を達成するために、請求項(1)記載の発明
は、第1図に示すように、伝送パケット毎に単調増加す
るnビットの連続性指標101が付加された着信パケット
を少なくとも3連続以上に渡り観測して各着信パケット
中の連続性指標102を抽出する連続性指標抽出手段103
と、抽出した指標102と予想した正規の連続性指標との
各差分に対してモジュロ演算により各差分値D1を求める
差分値D1演算手段104と、各差分値D1に隣接する時系列
の各差分に対してモジュロ演算により各差分値D2を求め
る差分値D2演算手段105と、差分値D2の演算結果から抽
出した指標102が不連続な区間長Tを求める不連続区間
長演算手段106と、不連続区間長T内の値が0でない差
分値D1に対してモジュロ演算による加算値S1を求める加
算値S1演算手段107と、不連続区間長T内の値が0でな
い差分値D2に対してモジュロ演算による加算値S2を求め
る加算値S2演算手段108と、不連続区間長T内の値が0
でない差分値D2の単純加算値SS2を求める単純加算値SS2
演算手段109と、前記加算値S1,加算値S2及び単純加算値
SS2の各演算結果から着信パケットの伝送状態を判定す
る判定手段110と、を具備することを特徴とする。
[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above-mentioned object, the invention according to claim (1) has an n-bit increasing monotonically increasing for each transmission packet as shown in FIG. A continuity index extracting means 103 for observing an incoming packet to which the continuity index 101 is added over at least three consecutive times and extracting a continuity index 102 in each incoming packet.
And a difference value D1 calculating means 104 for obtaining each difference value D1 by a modulo operation for each difference between the extracted index 102 and the expected normal continuity index, and each time series difference adjacent to each difference value D1 A difference value D2 calculating means 105 for calculating each difference value D2 by modulo calculation, a discontinuous section length calculating means 106 for calculating a section length T where the index 102 extracted from the calculation result of the difference value D2 is discontinuous, An addition value S1 calculating means 107 for obtaining an addition value S1 by a modulo operation on a difference value D1 in which the value in the continuous section length T is not 0; An addition value S2 calculating means 108 for obtaining an addition value S2 by an operation;
Simple sum SS2 to find the simple sum SS2 of the difference value D2 that is not
The calculating means 109, the added value S1, the added value S2 and the simple added value
Determining means 110 for determining the transmission state of the incoming packet from each calculation result of SS2.

前記請求項(2)記載の発明は前記判定手段110が、
前記加算値S2=0で、かつ加算値S1≠0が成立すると
き、連続指標番号に誤りがあると判定し、加算値S2=0
で、かつ加算値S1=0が成立するとき、パケット順序に
交替があると判定し、前記加算値S2≠0が成立すると
き、パケット侵入またはパケット消失が発生していると
判定し、かつ、不連続区間長T+S2=2n+1,(nは連続
性指標のビット数)の関数が成立するときにはパケット
侵入があると判定する一方、単純加算値SS2<2nが成立
するときにはパケット消失があると判定し、T+S2=2n
及びSS2<2nが共に不成立のときには複合誤りがあると
判定することを特徴とする。
The invention according to claim (2) is characterized in that the determination means 110
When the addition value S2 = 0 and the addition value S1 ≠ 0 hold, it is determined that there is an error in the continuous index number, and the addition value S2 = 0.
And when the addition value S1 = 0 is satisfied, it is determined that there is alternation in the packet order, and when the addition value S2 ≠ 0 is satisfied, it is determined that packet intrusion or packet loss has occurred, and When the function of the discontinuous section length T + S2 = 2 n +1 (n is the number of bits of the continuity index) is satisfied, it is determined that there is a packet intrusion, and when the simple addition value SS2 <2 n is satisfied, there is a packet loss. And T + S2 = 2 n
When both SS2 and SS2 < 2n do not hold, it is determined that there is a compound error.

(作用) 上記構成によれば、nビットの連続性指標が付加され
た着信パケットを少なくとも3連続以上に渡り観測して
各パケットの連続性指標を抽出する。そして抽出した指
標と予想した正規の連続性指標との差分に対するモジュ
ロ演算による差分値D1、差分値D1に隣接する各差分値D1
間の各差分に対するモジュロ演算による差分値D2、及び
抽出された指標の不連続区間長Tを求める。
(Operation) According to the above configuration, an incoming packet to which an n-bit continuity index is added is observed for at least three or more continuations, and a continuity index of each packet is extracted. Then, a difference value D1 obtained by modulo operation on a difference between the extracted index and the expected normal continuity index, and each difference value D1 adjacent to the difference value D1
A difference value D2 obtained by a modulo operation for each difference between them and a discontinuous section length T of the extracted index are obtained.

また、不連続区間長T内の値が0でない差分値D1に対
するモジュロ演算による加算値S1,同じく差分値D2に対
するモジュロ演算による加算値S2,及び、差分値D2に対
する単純加算値SS2を求め、これらの値に基づいて、パ
ケット伝送の誤りが正確に判別される。
Further, an addition value S1 by a modulo operation on the difference value D1 in which the value within the discontinuous section length T is not 0, an addition value S2 by the modulo operation on the difference value D2, and a simple addition value SS2 on the difference value D2 are obtained. , An error in packet transmission is accurately determined.

(実施例) 以下、本発明の一実施例を図面の基づいて説明する。Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

第2図は、本発明方式が適用された受信機の一実施例
構成を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of an embodiment of a receiver to which the method of the present invention is applied.

この受信機は、連続性指標抽出手段103を構成する指
標抽出回路1と、差分値D1演算手段104を構成する基準
指標カウンタ2及び差分回路(mod 2n)3と、差分値D2
演算手段105を構成する遅延回路4及び差分回路(mod 2
n)5と、不連続区間長演算手段106を構成する“0"一致
検出回路6,連続性確認回路7,遅延回路8,フリップフロッ
プ9及び不連続区間長カウンタ10と、加算値S1演算手段
107を構成する加算回路(mod 2n)11と、加算値S2演算
手段108を構成する加算回路(mod 2n)12と、単純加算
値SS2演算手段109を構成する加算回路13と、判定手段11
0を構成する“0"一致検出回路14及び15,加算回路16,2n
+1一致検出回路17,2n比較回路18及びアンド回路19〜2
3とを備えている。アンド回路19の出力信号は指標番号
訂正回路24へ、アンド回路20の出力信号はパケット順序
並べ替え回路25へ、アンド回路21の出力信号は侵入パケ
ット排除回路26へ、アンド回路22の出力信号は消失パケ
ットコンシールメント回路27へ及びアンド回路23の出力
信号は不連続区間長コンシールメント回路28へ供給され
るようになっている。
This receiver includes an index extraction circuit 1 constituting a continuity index extraction means 103, a reference index counter 2 and a difference circuit (mod 2 n ) 3 constituting a difference value D1 calculation means 104, and a difference value D2
The delay circuit 4 and the difference circuit (mod 2
n ) 5, "0" coincidence detection circuit 6, continuity check circuit 7, delay circuit 8, flip-flop 9 and discontinuous section length counter 10 constituting discontinuous section length computing means 106, and addition value S1 computing means
An adder circuit (mod 2 n ) 11 forming the adder 107, an adder circuit (mod 2 n ) 12 forming the adder value S2 calculator 108, an adder circuit 13 forming the simple adder SS2 calculator 109, 11
"0" coincidence detection circuits 14 and 15, which constitute 0, and addition circuits 16, 2 n
+1 coincidence detection circuit 17, 2 n comparison circuit 18 and AND circuits 19-2
And three. The output signal of the AND circuit 19 is sent to the index number correction circuit 24, the output signal of the AND circuit 20 is sent to the packet order rearranging circuit 25, the output signal of the AND circuit 21 is sent to the intrusion packet elimination circuit 26, and the output signal of the AND circuit 22 is sent to the The output signal of the lost packet concealment circuit 27 and the output signal of the AND circuit 23 are supplied to the discontinuous section length concealment circuit 28.

上記構成において、指標抽出回路1は、伝送パケット
毎に単調増加するnビットの連続性指標が付加された着
信パケットを観測して各着信パケット中の連続性指標を
抽出する。
In the above configuration, the index extraction circuit 1 observes incoming packets to which an n-bit continuity index that monotonically increases for each transmission packet is added, and extracts a continuity index from each incoming packet.

次に、第3図のフローチャートに示されるように、差
分回路(mod 2n)3は、抽出した連続性指標Riと基準指
標カウンタ2から供給された予想される正規な連続性指
標Iiとを入力してそれらの各差分に対してモジュロ演算
を第(1)式に基づいて実行する。なお、nは指標に用
いるビット数を示す。
Next, as shown in the flowchart of FIG. 3, the difference circuit (mod 2 n ) 3 extracts the continuity index R i and the expected normal continuity index I i supplied from the reference index counter 2. And executes a modulo operation on each of the differences based on the expression (1). Note that n indicates the number of bits used for the index.

D1i=Ri−Ii[mod 2n] …(1) 例えば、第4図(A)に示すように、n=3ビットの
場合、すなわち、連続性指標として10進数の0〜7まで
の番号の繰り返しがパケット毎に付加されているものと
し、抽出した連続性指標Riが [4 5 6 4 1 6 2 3] とすると、予想される正規の連続性指標Iiは [4 5 6 7 0 1 2 3] であるから、各指標毎の差分に対するモジュロ演算によ
る差分値D1iは、 [0 0 0 5 1 5 0 0] となる。
D1 i = R i −I i [mod 2 n ] (1) For example, as shown in FIG. 4A, when n = 3 bits, that is, as a continuity index, from 0 to 7 in decimal. Is assumed to be added for each packet, and the extracted continuity index R i is [4 5 6 4 1 6 2 3], the expected normal continuity index I i is [4 5 6 7 0 1 2 3], the difference value D1 i by the modulo operation on the difference for each index is [0 0 0 5 1 5 0 0].

このようにして、差分値D1iが求められると、次に、
遅延回路4により差分値D2が指標1つ分遅延され、これ
らの遅延指標値aと、隣接する差分値D1i間の差分に対
するモジュロ演算による差分値D2iが差分回路(mod
2n)5により第(2)式に基づいて求められる。
In this way, when the difference value D1 i is obtained,
Difference value D2 is divided delayed one index by the delay circuit 4, and these delay indicator value a, the difference value D2 i is the difference circuit modulo operation on the difference between adjacent difference value D1 i (mod
2 n ) 5, based on equation (2).

D2i=D1i+1−D1i[mod 2n] …(2) 第4図(A)を例に示せば、この差分値D2iは [0 0 5 4 4 3 0 0] となる(ステップ201)。D2 i = D1 i + 1 −D1 i [mod 2 n ] (2) Taking the example of FIG. 4A as an example, this difference value D2 i becomes [0 0 5 4 4 3 0 0] ( Step 201).

次に、“0"一致検出回路6は、前記各差分値D2i
“0"であるか否かを判定し、“0"であれば一致信号bを
連続性確認回路7へ出力し、“0"でなければ不一致信号
cを連続性確認回路7及び遅延回路8へ出力する。
Next, the “0” match detection circuit 6 determines whether or not each of the difference values D2 i is “0”, and if “0”, outputs a match signal b to the continuity check circuit 7; If it is not "0", the mismatch signal c is output to the continuity check circuit 7 and the delay circuit 8.

連続性確認回路7は、抽出した指標値が正しく単調増
加していることを確認するために、一致信号bが予め決
められたm個連続して入力された場合にオンとなり、不
一致信号cが入力されるとオフとなる連続確認信号dを
生成してフリップフロップ9へ出力する。
The continuity check circuit 7 is turned on when a predetermined number m of coincidence signals b are continuously input in order to confirm that the extracted index value is correctly and monotonically increasing, and the non-coincidence signal c is output. A continuation confirmation signal d which is turned off when input is generated and output to the flip-flop 9.

一方の遅延回路8は、不一致信号cをm個分遅らせた
遅延信号eを生成してフリップフロップ9へ出力する。
One delay circuit 8 generates a delay signal e obtained by delaying the mismatch signal c by m, and outputs the delay signal e to the flip-flop 9.

フリップフロップ9は、連続性確認信号dと遅延信号
eとを入力して不連続区間ゲート信号fを不連続区間長
カウンタ10へ出力する。不連続区間長カウンタ10は入力
された不連続区間ゲート信号fをカウントすることによ
り不連続区間長Tを求める(ステップ202)。第3図
(A)を例に示せば、不連続区間長T=4である。
The flip-flop 9 receives the continuity check signal d and the delay signal e and outputs a discontinuous section gate signal f to the discontinuous section length counter 10. The discontinuous section length counter 10 obtains the discontinuous section length T by counting the input discontinuous section gate signal f (step 202). In the example shown in FIG. 3A, the discontinuous section length T = 4.

一方、不連続区間ゲート信号fは、前記基準指標カウ
ンタ2へ供給されており、指標が不連続から連続に復帰
した時点で基準指標カウンタ2には、現在の着信した連
続性指標Riが予想される正規の連続性指標Iiとして再セ
ットされる。
On the other hand, the discontinuous section gate signal f is supplied to the reference index counter 2, and when the index returns from discontinuous to continuous, the current incoming continuity index Ri is predicted in the reference index counter 2. Is reset as the normal continuity index Ii.

次いで、差分値D1i,差分値D2i及び不連続区間長Tに
基づいて、加算値S1,加算値S2,単純加算値SS2が以下の
ようにして求められる(ステップ203)。
Next, based on the difference value D1 i , the difference value D2 i and the discontinuous section length T, an addition value S1, an addition value S2, and a simple addition value SS2 are obtained as follows (step 203).

加算回路(mod 2n)11は、差分値D1iが0でない期間
の和に対するモジュロ演算をして、加算値S1を求める。
第4図(A)を例に示すと、 S1=(5+1+5)mod 23 =11mod 8 =3 となる。
The adder circuit (mod 2 n ) 11 performs a modulo operation on the sum of the periods in which the difference value D1 i is not 0 to obtain an addition value S1.
When shown FIG. 4 (A) is an example, and S1 = (5 + 1 + 5 ) mod 2 3 = 11mod 8 = 3.

加算回路(mod 2n)12は、差分値D2iが0でない期間
の和に対するモジュロ演算をして、加算値S2を求める。
第4図(A)を例に示すと、 S2=(5+4+4+3)mod 23 =16mod 8 =0 となる。
The adder circuit (mod 2 n ) 12 performs a modulo operation on the sum of the periods in which the difference value D2 i is not 0 to obtain an addition value S2.
When shown FIG. 4 (A) is an example, and S2 = (5 + 4 + 4 + 3) mod 2 3 = 16mod 8 = 0.

加算回路13は、差分値D2iの単純加算値を求める。第
4図(A)を例に示せば、 SS2=5+4+4+3 =11 となる。
Addition circuit 13 obtains a simple sum of the difference values D2 i. In the example shown in FIG. 4A, SS2 = 5 + 4 + 4 + 3 = 11.

第3図のフローチャートにおいて、ステップ204以下
の処理は、判定手段110(“0"一致検出回路14〜ゲート
回路19〜23)で実行される。なお、本発明の判定方式で
は、指標不連続の現象は、同時に1種類のみ発生すると
仮定する。これは、同時に複数の現象が混在して発生す
る複合誤りは確率的に低く、ほとんど起こらないと考え
られるからである。
In the flowchart of FIG. 3, the processing after step 204 is executed by the determination means 110 ("0" coincidence detection circuit 14 to gate circuits 19 to 23). In the determination method of the present invention, it is assumed that only one kind of index discontinuity occurs at the same time. This is because a compound error that occurs when a plurality of phenomena coexist at the same time is stochastically low and is considered to hardly occur.

“0"一致検出回路14は、加算値S1=0が成立するか否
かを判別し、S1≠0のとき、ハイレベル信号を、S1=0
のときローレベル信号を判別信号gとしてアンド回路1
9,20へ出力する。
The “0” match detection circuit 14 determines whether or not the addition value S1 = 0 is established. When S1 ≠ 0, the high-level signal is output as S1 = 0.
In this case, the low level signal is used as the determination signal g and the AND circuit 1
Output to 9,20.

“0"一致検出回路15は、加算値S2=0が成立するか否
かを判別し、S2≠0のとき、ハイレベル信号を、S2=0
のときローレベル信号を判別信号hとして各アンド回路
19〜23へ出力する。
The “0” match detection circuit 15 determines whether or not the addition value S2 = 0 holds, and when S2 ≠ 0, outputs a high-level signal to S2 = 0.
In this case, a low-level signal is used as a determination signal h and each AND circuit
Output to 19-23.

加算回路16は、不連続区間長Tと加算値S2との加算信
号T+S2を生成して、2n+1一致検出回路17へ出力す
る。
The addition circuit 16 generates an addition signal T + S2 of the discontinuous section length T and the addition value S2, and outputs the signal to the 2 n +1 coincidence detection circuit 17.

2n+1一致検出回路17は、T+S2=2n+1が成立する
か否かを判別し、成立する場合にはハイレベル信号を不
成立の場合にはローレベル信号を判別信号iとしてアン
ド回路21,22,23へ出力する。
The 2 n +1 coincidence detection circuit 17 determines whether or not T + S2 = 2 n +1 is satisfied. If so, the high-level signal is used. If not, the low-level signal is used as the determination signal i, and the AND circuit 21, Output to 22,23.

2n比較回路18は、前記加算回路13から供給される単純
加算SS2信号を入力し、SS2<2nが成立するか否かを判別
し、成立する場合にはハイレベル信号を不成立の場合に
はローレベル信号を判別信号oとしてアンド回路22,23
へ出力する。
The 2n comparison circuit 18 receives the simple addition SS2 signal supplied from the addition circuit 13 and determines whether or not SS2 < 2n is satisfied. Are the AND circuits 22, 23 using the low level signal as the determination signal o.
Output to

第3図のステップ204以下の処理にパケット判別の手
法が示されている。
The processing of step 204 and subsequent steps in FIG. 3 shows a packet discrimination method.

すなわち、アンド回路19は“0"一致検出回路15,14の
判別信号h,g(反転信号)を入力して加算値S2=0かつ
加算値S1≠0が成立するとき(第3図ステップ204,20
5)、番号誤りを判別し、番号誤り検出信号pを指標番
号訂正回路24に出力し、不連続区間長Tの指標訂正を行
わせる(ステップ206,207)。第4図(A)は、3個の
パケットの指標番号(4,1,6)が誤りである場合を示
す。
That is, the AND circuit 19 inputs the discrimination signals h and g (inverted signals) of the "0" coincidence detection circuits 15 and 14 and when the addition value S2 = 0 and the addition value S1 ≠ 0 hold (step 204 in FIG. 3). , 20
5), the number error is discriminated, and the number error detection signal p is output to the index number correcting circuit 24, and the index of the discontinuous section length T is corrected (steps 206 and 207). FIG. 4A shows a case where the index numbers (4, 1, 6) of three packets are incorrect.

一方、アンド回路20は前記判定信号g,hを入力して加
算値S2=0で、かつS1=0が成立するとき(ステップ20
4,205)、パケット順序誤りを判別し、順序誤り検出信
号qをパケット順序並べ替え回路25へ出力して不連続区
間長T内のパケットを正しい順序に並べ替えさせる(ス
テップ208,209)。第4図(B)は、3個のパケットの
順序交替が生じていることを示す。
On the other hand, the AND circuit 20 inputs the judgment signals g and h and when the added value S2 = 0 and S1 = 0 hold (step 20).
4, 205), the packet order error is discriminated, and the order error detection signal q is output to the packet order rearranging circuit 25 to cause the packets within the discontinuous section length T to be rearranged in the correct order (steps 208, 209). FIG. 4B shows that the order of the three packets has been changed.

アンド回路21は、判別信号h(反転),iを入力して加
算値S2≠0で、かつ、T+S2=2n+1が成立するとき
(ステップ204,210)、パケット侵入を判別し、パケッ
ト侵入検出信号rを侵入パケット排除回路26へ出力し
て、2n−S2個の侵入パケットを排除させる(ステップ21
1,212)。第4図(c)は3個のパケットが侵入した場
合を示す。
The AND circuit 21 inputs the discrimination signal h (inverted), i, and when the added value S2 ≠ 0 and T + S2 = 2 n +1 holds (steps 204 and 210), discriminates the packet intrusion and outputs the packet intrusion detection signal. r to the intrusion packet elimination circuit 26 to eliminate 2 n -S2 intrusion packets (step 21
1,212). FIG. 4C shows a case where three packets have entered.

アンド回路22は判別信号h(反転),i(反転),oを入
力して、加算値S2≠0で、かつ、T+S2≠2n+1で、か
つ、単純加算値SS2<2nが全て成立するとき(ステップ2
04,210,213)、パケット消失と判別し、パケット消失検
出信号sを消失パケットコンシールメント回路27へ出力
して消失パケットをコンシールメントさせる(ステップ
214,215,216)。第4図(D)は3個のパケットが消失
した場合を示す。
The AND circuit 22 receives the discrimination signals h (inverted), i (inverted), and o, and the addition value S2 ≠ 0, T + S2 ≠ 2 n +1, and the simple addition value SS2 <2 n are all satisfied. When you do (Step 2
04, 210, 213), it is determined that the packet is lost, and the packet loss detection signal s is output to the lost packet concealment circuit 27 to conceal the lost packet (step).
214,215,216). FIG. 4D shows a case where three packets have been lost.

また、アンド回路23は判別信号r,i,o(全て反転)を
入力して加算値S2≠0で、かつ、T+S2≠2n+1が成立
するが、SS2<2nが不成立の場合には、複合誤りを判別
し、複合誤り検出信号uを不連続区間長コンシールメン
ト回路28へ出力して連続区間長Tの全パケットデータを
コンシールメントさせる(ステップ217,218)。
Also, the AND circuit 23 inputs the discrimination signals r, i, o (all inverted) and the addition value S2 ≠ 0 and T + S2 ≠ 2 n +1 hold, but if SS2 <2 n does not hold, The composite error detection signal u is output to the discontinuous section length concealment circuit 28 to conceal all packet data of the continuous section length T (steps 217 and 218).

以上の処理を要約して説明すると、加算値S2=0とな
るのは、連続性指標番号の誤りか、またはパケット順序
の交替の何れかの現象が生じている場合である。
Summarizing the above processing, the addition value S2 = 0 when an error occurs in either the continuity index number or the packet order is changed.

従って、加算値S1=0か否かが判別され(ステップ20
5)、S1=0でないときには、連続性指標番号の誤りと
判別され、誤り区間である不連続区間長Tの指標訂正処
理が実行される(ステップ206,207)。
Therefore, it is determined whether or not the added value S1 = 0 (step 20).
5) When S1 is not 0, it is determined that the continuity index number is erroneous, and the index correction processing of the discontinuous section length T which is an error section is executed (steps 206 and 207).

加算値S1=0のときには、パケット順序の交替が生じ
ている場合に限られるので、区間T内のパケットが正し
い順序に並べ変えられる(ステップ208,209)。
When the addition value S1 = 0, the packet order in the section T is rearranged in the correct order because it is limited to the case where the packet order is changed (steps 208 and 209).

一方、加算値S2=0でないときには、パケット侵入ま
たはパケット消失、及び複合誤りが生じている場合であ
る。
On the other hand, when the addition value S2 is not 0, it means that a packet intrusion or packet loss and a composite error have occurred.

次にパケット消失とパケット侵入ではその消失したパ
ケット数はS2の値になっており、また侵入したパケット
数は2n−S2の値となる。すなわちS2の値が2n未満の場合
は0にはならないので、パケット順序交替および連続性
指標番号誤りの現象と識別できる。
Next, in packet loss and packet intrusion, the number of lost packets has a value of S2, and the number of intruded packets has a value of 2 n -S2. That is, if the value of S2 is less than 2n, the value does not become 0, so that it can be identified as a phenomenon of packet order change and continuity index number error.

さらに、T+S2=2n+1の関係が満される場合は、パ
ケット侵入の現象に限られる(ステップ210,211)。こ
の場合には、2n−S2個のパケットの侵入排除処理が実行
される(ステップ212)。
Further, when the relationship of T + S2 = 2 n +1 is satisfied, the phenomenon is limited to the packet intrusion phenomenon (steps 210 and 211). In this case, intrusion elimination processing of 2 n -S2 packets is executed (step 212).

一方、パケット消失の場合はSS2<2nとなり(ステッ
プ213,214)、それ以外の場合だけ複合誤りと判定され
(ステップ217)、正しい識別は不可能となる。従っ
て、パケット消失の場合は、不連続区間Tのパケットを
確保し、消失データのコンシールメントがされるのであ
る(ステップ215,216)。
On the other hand, in the case of packet loss, SS2 <2 n is satisfied (steps 213 and 214). In other cases, a composite error is determined (step 217), and correct identification becomes impossible. Therefore, in the case of packet loss, a packet in the discontinuous section T is secured, and concealment of lost data is performed (steps 215 and 216).

このようにして、本実施例によれば、指標番号誤り,
パケット順序交替,パケット侵入,パケット消失及び複
合誤りを正確に判別することができる。
Thus, according to the present embodiment, the index number error,
Packet order change, packet intrusion, packet loss, and compound error can be accurately determined.

[発明の効果] 以上説明したように本発明によれば、直前の連続性指
標だけでなく、少なくとも3連続以上の連続性指標を観
測して不連続な指標の様々な現象を所定のアルゴリズム
に従い分析し識別するようにしたので、パケットの消失
やパケット侵入およびパケット順序交替や連続性指標番
号誤りをも正確に判定・識別できる。
[Effect of the Invention] As described above, according to the present invention, not only the immediately preceding continuity index but also at least three or more continuity indexes are observed, and various phenomena of the discontinuous index are determined according to a predetermined algorithm. Since analysis and identification are performed, packet loss, packet intrusion, packet order change, and continuity index number error can be accurately determined and identified.

その結果、従来は識別不能なため破棄されている必要
なデータをもつパケットを救い、情報として使用するこ
とが可能となる。
As a result, it is possible to save a packet having necessary data that has been discarded because it cannot be identified conventionally, and use it as information.

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

第1図は本発明の構成図、第2図は本発明方式が適用さ
れた受信機の一実施例構成を示すブロック図、第3図は
本発明の一実施例の処理手順を示すフローチャート、第
4図は同実施例の作用説明図である。 101……連続性指標 102……着信(抽出)した指標 103……連続性指標抽出手段 104……差分値D1演算手段 105……差分値D2演算手段 106……不連続区間長演算手段 107……加算値S1演算手段 108……加算値S2演算手段 109……単純加算値SS2演算手段 110……判定手段
FIG. 1 is a configuration diagram of the present invention, FIG. 2 is a block diagram showing an embodiment of a receiver to which the present invention is applied, FIG. 3 is a flowchart showing a processing procedure of an embodiment of the present invention, FIG. 4 is a diagram for explaining the operation of the embodiment. 101: Continuity index 102: Incoming (extracted) index 103: Continuity index extraction means 104: Difference value D1 calculation means 105: Difference value D2 calculation means 106: Discontinuous section length calculation means 107 ... Addition value S1 calculation means 108 ... Addition value S2 calculation means 109 ... Simple addition value SS2 calculation means 110 ... Determination means

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】伝送パケット毎に単調増加するnビットの
連続性指標が付加された着信パケットを少なくとも3連
続以上に渡り観測して各着信パケット中の連続性指標を
抽出する連続性指標抽出手段と、 抽出した指標と予想した正規の連続性指標との各差分に
対してモジュロ演算により各差分値D1を求める差分値D1
演算手段と、 隣接する時系列の各差分値D1間の各差分に対してモジュ
ロ演算により各差分値D2を求める差分値D2演算手段と、 差分値D2の演算結果から抽出した指標が不連続な区間長
Tを求める不連続区間長演算手段と、 不連続区間長T内の値が0でない差分値D1に対してモジ
ュロ演算による加算値S1を求める加算値S1演算手段と、 不連続区間長T内の値が0でない差分値D2に対してモジ
ュロ演算による加算値S2を求める加算値S2演算手段と、 不連続区間長T内の値が0でない差分値D2の単純加算値
SS2を求める単純加算値SS2演算手段と、 前記加算値S1,加算値S2及び単純加算値SS2の各演算結果
から着信パケットの伝送状態を判定する判定手段と、 を具備することを特徴とするパケット伝送状態判定方
式。
A continuity index extracting means for observing at least three consecutive incoming packets to which an n-bit continuity index monotonically increasing for each transmission packet is added and extracting a continuity index in each incoming packet. And a difference value D1 for obtaining each difference value D1 by a modulo operation for each difference between the extracted index and the expected normal continuity index.
Calculation means, difference value D2 calculation means for calculating each difference value D2 by modulo calculation for each difference between adjacent time series difference values D1, and an index extracted from the calculation result of the difference value D2 is discontinuous. A discontinuous section length calculating means for obtaining a section length T; an adding value S1 calculating means for obtaining an addition value S1 by a modulo operation on a difference value D1 having a non-zero value in the discontinuous section length T; Value S2 calculating means for obtaining an addition value S2 by a modulo operation with respect to a difference value D2 having a non-zero value, and a simple addition value of the difference value D2 having a non-zero value within the discontinuous section length T
A packet comprising: a simple addition value SS2 calculating means for obtaining SS2; and a determination means for determining a transmission state of an incoming packet from each calculation result of the addition value S1, the addition value S2 and the simple addition value SS2. Transmission status determination method.
【請求項2】前記判定手段は、 前記加算値S2=0で、かつ加算値S1≠0が成立すると
き、連続指標番号に誤りがあると判定し、加算値S2=0
で、かつ加算値S1=0が成立するとき、パケット順序に
交替があると判定し、 前記加算値S2≠0が成立するとき、パケット侵入または
パケット消失が発生していると判定し、かつ、不連続区
間長T+S2=2n+1,(nは連続性指標のビット数)の関
数が成立するときにはパケット侵入があると判定する一
方、単純加算値SS2<2nが成立するときにはパケット消
失があると判定し、T+S2=2n及びSS2<2nが共に不成
立のときには複合誤りがあると判定すること、 を特徴とする請求項(1)記載のパケット伝送状態判定
方式。
2. The judgment means judges that there is an error in the continuous index number when the addition value S2 = 0 and the addition value S1 成立 0 holds, and the addition value S2 = 0.
And when the addition value S1 = 0 is satisfied, it is determined that there is alternation in the packet order. When the addition value S2 ≠ 0 is satisfied, it is determined that packet intrusion or packet loss has occurred, and When the function of the discontinuous section length T + S2 = 2 n +1 (n is the number of bits of the continuity index) is satisfied, it is determined that there is a packet intrusion, and when the simple addition value SS2 <2 n is satisfied, there is a packet loss. The packet transmission state determination method according to claim 1, wherein if T + S2 = 2n and SS2 < 2n are not satisfied, it is determined that there is a compound error.
JP2237254A 1990-09-10 1990-09-10 Packet transmission status judgment method Expired - Lifetime JP2851400B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2237254A JP2851400B2 (en) 1990-09-10 1990-09-10 Packet transmission status judgment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2237254A JP2851400B2 (en) 1990-09-10 1990-09-10 Packet transmission status judgment method

Publications (2)

Publication Number Publication Date
JPH04119041A JPH04119041A (en) 1992-04-20
JP2851400B2 true JP2851400B2 (en) 1999-01-27

Family

ID=17012685

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2237254A Expired - Lifetime JP2851400B2 (en) 1990-09-10 1990-09-10 Packet transmission status judgment method

Country Status (1)

Country Link
JP (1) JP2851400B2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1990年電子情報通信学会秋季全国大会B−594

Also Published As

Publication number Publication date
JPH04119041A (en) 1992-04-20

Similar Documents

Publication Publication Date Title
CA1195007A (en) Framing system
JPH03187621A (en) Synchronizing detection by using path metric value as well as branch metric value of bitabi decoder
EP0499397B1 (en) Digital communications systems
CA1212723A (en) System for transmitting digital information signals
CA1270301A (en) Device for detecting bit phase difference
US3851101A (en) Adaptive phase synchronizer
JP2851400B2 (en) Packet transmission status judgment method
US6415412B2 (en) Signal used in the transmission of data in a communication system
JP2885604B2 (en) Cell discard / cell mis-delivery detection method
JP3077825B2 (en) Cell discard error detection / dummy cell insertion error error cell removal method
US5832033A (en) Clock disturbance detection based on ratio of main clock and subclock periods
JPH08181588A (en) Clock interruption detection circuit
JPH05183570A (en) Policing control system
JPH0124386B2 (en)
JPH0691514B2 (en) Bit string match determination circuit
JPS6334665B2 (en)
JPH0766802A (en) Frame synchronization protection device
Ko et al. Performance of simple cross-interleaved Reed-Solomon decoding strategies for compact disc players
JP3229994B2 (en) Frame synchronization circuit for frame signal
JP2544499B2 (en) Input signal status monitoring circuit
JPS6410975B2 (en)
JPH0136743B2 (en)
JP2576682B2 (en) Control code judgment circuit
JPH06326700A (en) Synchronous signal processing circuit
JPS5947907B2 (en) Digital signal detection method