JPH0595333A - Packet transmitter, its transmission reception section and packet transmission method and its transmission reception method - Google Patents

Packet transmitter, its transmission reception section and packet transmission method and its transmission reception method

Info

Publication number
JPH0595333A
JPH0595333A JP3255297A JP25529791A JPH0595333A JP H0595333 A JPH0595333 A JP H0595333A JP 3255297 A JP3255297 A JP 3255297A JP 25529791 A JP25529791 A JP 25529791A JP H0595333 A JPH0595333 A JP H0595333A
Authority
JP
Japan
Prior art keywords
quantization width
packet
signal value
code
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3255297A
Other languages
Japanese (ja)
Inventor
Hiroyoshi Iketani
拡美 池谷
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3255297A priority Critical patent/JPH0595333A/en
Publication of JPH0595333A publication Critical patent/JPH0595333A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PURPOSE:To minimize the deterioration in the transmission quality by allowing a receiver side to take an error in a reproduced signal to be tentative even when a transmission error takes place in an ADPCM (adaptive differential pulse modulation) code. CONSTITUTION:A prediction signal/quantization width addition circuit 4 in a transmission section 500 uses a packet processing circuit 3 to add a prediction signal and a quantization width to a code at the head of a code string subject to block processing. A prediction signal/quantization width read circuit 57 of a reception section 600 reads a prediction signal 85 and a quantization width 88 added by a transmission section from a packet in a buffer 51 and gives them respectively to selection circuits 59, 58. The selection circuit 59 selects the prediction signal 85 at the reproduction of a code of the head in the packet and selects the prediction signal 84 generated in a prediction circuit 56 to the succeeding codes. The selection circuit 58 selects the quantization width 88 at the reproduction of the head code similarly and selects the quantization width 87 of the quantization width decision circuit 53 at the reproduction of the succeeding codes.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、パケット伝送装置に関
し、特にディジタル化された音声信号情報を適応差分パ
ルス変調(ADPCM)符号化し、さらにパケットごと
に分割して伝送するパケット伝送装置とその送受信部お
よびパケット伝送方法とその送受信方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a packet transmission device, and more particularly, to a packet transmission device for adaptively digitizing voice signal information by adaptive differential pulse modulation (ADPCM) coding, and further transmitting the packet by dividing it into packets. And a packet transmission method and a transmission / reception method thereof.

【0002】[0002]

【従来の技術】ディジタル化された音声信号情報等をパ
ケット化して伝送するパケット伝送装置では、伝送する
情報量を少なくするため適応差分パルス符号変調(AD
PCM)方式により情報の符号化を行う場合がある。
2. Description of the Related Art In a packet transmission apparatus for packetizing and transmitting digitized voice signal information and the like, adaptive differential pulse code modulation (AD) is used to reduce the amount of information to be transmitted.
Information may be encoded by the PCM) method.

【0003】そのようなADPCM方式のパケット伝送
装置の送信部では、入力信号のレベル変動が大きな区間
では量子化幅を粗くし、逆にレベル変動の小さい区間で
は量子化幅を細かくするように、入力信号のレベル変動
に応じて量子化幅を変化させながら入力信号値と予測信
号値の差分値を符号化する。
In the transmitting section of such an ADPCM packet transmission device, the quantization width is made coarse in the section where the level fluctuation of the input signal is large, and conversely, the quantization width is made fine in the section where the level fluctuation is small. The difference value between the input signal value and the predicted signal value is encoded while changing the quantization width according to the level change of the input signal.

【0004】そうして得られたADPCM符号列を所定
の長さに分割し、さらに送信元および送信先アドレス等
の制御情報を付加してパケット化して送信する。一方受
信部では、受信したパケットから読み出した符号列に基
ずいて送信側と同じ予測信号値と量子化幅を生成し、符
号を符号化して得た差分値に予測信号値を加算して再生
信号値を得ている。
The ADPCM code string obtained in this way is divided into a predetermined length, and control information such as the source and destination addresses is added and packetized and transmitted. On the other hand, the receiving unit generates the same prediction signal value and quantization width as the transmitting side based on the code string read from the received packet, adds the prediction signal value to the difference value obtained by encoding the code, and reproduces it. You are getting the signal value.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記し
た従来のADPCM方式を用いたパケット伝送装置で
は、受信部で発生する予測信号値と量子化幅が、過去に
受信した全ての符号に基ずいて決定されるため、伝送路
の障害などで符号に誤りが発生した場合、またはパケッ
トの破棄により符号列の一部が欠落した場合は、以後受
信する符号列が正しくても受信部で発生する予測信号値
と量子化幅は以後全て誤った物になってしまう。このた
め、受信した符号を符号化して得た差分値に予測信号値
を加算して得られる再生信号値は、それ以降全て送信側
で符号化した元信号とは異なったものになるという問題
点があった。
However, in the above-mentioned conventional packet transmission apparatus using the ADPCM system, the predicted signal value and the quantization width generated in the receiving section are based on all the codes received in the past. Since it is decided, if an error occurs in the code due to a failure in the transmission path, or if a part of the code string is lost due to packet discard, the prediction that occurs in the receiving unit even if the code string to be received later is correct After that, the signal value and the quantization width are all wrong. Therefore, the reproduction signal value obtained by adding the prediction signal value to the difference value obtained by encoding the received code becomes different from the original signal encoded at the transmission side thereafter. was there.

【0006】本発明の目的は、このような従来の問題点
を除去して、伝送路の障害等で伝送符号に誤りが発生し
ても、その符号の誤りの影響を最小限に抑えることがで
きるパケット伝送装置とその送受信部およびパケット伝
送方法とその送受信方法を提供することにある。
An object of the present invention is to eliminate the above-mentioned conventional problems and to minimize the influence of the error of the transmission code even if an error occurs in the transmission code due to a failure of the transmission line or the like. It is to provide a packet transmission device, a transmission / reception unit therefor, a packet transmission method, and a transmission / reception method thereof.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に本発明の第一の解決手段では、パケット伝送装置を以
下のように構成した。パケット伝送装置の送信部を予測
信号値を演算し出力する予測手段と、この伝送部に入力
されるパルス符号変調した信号から前記予測信号値を減
算する減算手段と、この減算手段の出力信号を量子化/
符号化して適応差分パルス符号変調した符号列を出力す
る量子化/符号化手段と、この符号列を所定値の長に区
分してパケット化しさらに制御情報をそのパケットに付
加して出力するパケット化手段と、前記符号から量子化
幅係数を求め、さらにその量子化幅係数と過去の量子化
幅から次処理用の量子化幅を演算して出力する量子化幅
決定手段と、この量子化幅決定手段の出力である量子化
幅と前記符号とから求めた量子化係数とから差分値を求
める復号化手段と、この差分値と前記予測信号値とを加
算し前記予測手段に出力する加算手段とを有し、前記パ
ケット化手段が出力するパケットの先頭にある前記符号
の為の予測信号値と量子化幅を前記パケットに付加する
予測信号/量子化幅付加手段を備えることを特徴とす
る。
In order to solve the above problems, in the first solution of the present invention, the packet transmission device is configured as follows. Prediction means for calculating and outputting a prediction signal value in the transmission section of the packet transmission device, subtraction means for subtracting the prediction signal value from the pulse code modulated signal input to the transmission section, and an output signal of the subtraction means Quantization /
Quantization / encoding means for encoding and outputting a code string that has been subjected to adaptive differential pulse code modulation, and packetization for dividing this code string into a packet of a predetermined length and adding control information to the packet for output. Means, a quantizing width coefficient is obtained from the code, and a quantizing width determining means for calculating and outputting a quantizing width for the next process from the quantizing width coefficient and the past quantizing width, and the quantizing width. Decoding means for obtaining a difference value from the quantization width output from the determining means and the quantized coefficient obtained from the code, and addition means for adding the difference value and the prediction signal value and outputting to the prediction means. And a prediction signal / quantization width adding means for adding the prediction signal value and the quantization width for the code at the head of the packet output by the packetizing means to the packet. ..

【0008】また、パケット伝送装置の受信部は、受信
したパケットを一時的に蓄え、そのパケットから符号を
取り出して出力するバッファと、この符号から求めた量
子化係数と量子化幅とから復号化して差分値を求める復
号化手段と、前記符号から求めた量子化幅係数と前記量
子化幅とより次の量子化幅を求める量子化幅決定手段
と、前記差分値と予測信号値とを加算して再生信号値を
出力する加算手段と、この再生信号値から次の予測信号
値を求める予測手段とを有し、前記バッファから前記パ
ケット内に付加された受信予測信号値と受信量子化幅と
を読み出す予測信号値/量子化幅読み出し手段と、前記
受信量子化幅と前記量子化幅決定手段の出力する量子化
幅とを選択切り換えて前記量子化幅決定手段と復号化手
段とに出力する第一の選択手段と、前記受信予測信号値
と前記予測手段の出力である予測信号値とを選択切り換
えて前記加算手段に出力する第二の選択手段とを備える
ことを特徴とする。
Further, the receiving unit of the packet transmission device temporarily stores the received packet, extracts a code from the packet and outputs the buffer, and decodes it from the quantization coefficient and the quantization width obtained from this code. Decoding means for obtaining a difference value by means of the above, quantization width determining means for obtaining a next quantization width from the quantization width coefficient obtained from the code and the quantization width, and the difference value and the prediction signal value are added. And a reproduction means for outputting a reproduction signal value, and a prediction means for obtaining a next prediction signal value from the reproduction signal value. The reception prediction signal value and the reception quantization width added in the packet from the buffer. And a predictive signal value / quantization width reading means for reading, and a reception quantization width and a quantization width output by the quantization width determining means are selectively switched and output to the quantization width determining means and the decoding means. First Selection means, characterized in that it comprises a second selecting means for outputting to said adding means is a switching select the prediction signal value output of the prediction means and the received prediction signal value.

【0009】本発明の第二の解決手段では、パケット伝
送方法を以下のようにした。パケット送信方法は、入力
信号のレベル変動に応じて量子化幅を変化させながら入
力信号値と予測信号値の差分値を符号化する適応差分パ
ルス符号変調符号化ステップと、この適応差分パルス符
号変調符号化ステップにより発生させた符号化列を所定
の長さに分割し送信元および送信先アドレス等の制御情
報を付加するパケット化ステップとを含み、さらに前記
パケットに格納された符号列の先頭の符号についてその
符号から再生信号値を得るのに必要な予測信号値と量子
化幅を前記パケットに付加する予測信号値/量子化幅付
加ステップとを含むことを特徴とする。
In the second solution of the present invention, the packet transmission method is as follows. The packet transmission method includes an adaptive differential pulse code modulation coding step of coding a differential value between an input signal value and a predicted signal value while changing a quantization width according to a level change of an input signal, and the adaptive differential pulse code modulation. A packetizing step of dividing the coded sequence generated by the encoding step into a predetermined length and adding control information such as a transmission source address and a transmission destination address, and further including a packetizing step at the beginning of the code sequence stored in the packet. It is characterized by including a prediction signal value / quantization width adding step of adding a prediction signal value and a quantization width necessary for obtaining a reproduction signal value from the code to the packet.

【0010】また、パケット受信方法は、受信したパケ
ットから取り出した符号列を復号化して得た差分値に、
前記符号列から予測信号値と量子化幅を生成して前記差
分値に加算して再生信号値を出力するADPCM復号化
ステップを含み、前記パケットに付加された受信予測信
号値および受信量子化幅を読み出すステップと、前記パ
ケットに格納された符号列の先頭の符号に対しては前記
受信予測信号値と受信量子化幅を選択し、パケットの先
頭符号以外の符号に対しては前記予測信号値と量子化幅
を選択する予測信号値/量子化幅選択ステップとを含む
ことを特徴とする。
Further, the packet receiving method uses a difference value obtained by decoding the code string extracted from the received packet,
An ADPCM decoding step of generating a prediction signal value and a quantization width from the code string, adding the prediction signal value and the quantization width to the difference value and outputting a reproduction signal value, and the reception prediction signal value and the reception quantization width added to the packet. And the reception prediction signal value and the reception quantization width for the head code of the code string stored in the packet, and the prediction signal value for codes other than the head code of the packet. And a prediction signal value / quantization width selection step of selecting a quantization width.

【0011】[0011]

【作用】パケットを伝送する側では、入力信号のレベル
変動に応じて量子化幅を変化させながら入力信号値と予
測信号値の差分値を符号化して適応差分パルス符号変調
を行う。この符号化した符号化列を所定の長さに分割し
送信元および送信先アドレス等の制御情報をパケットに
付加し、さらに前記パケットに格納された符号列の先頭
の符号についてその符号から再生信号値を得るのに必要
な予測信号値と量子化幅を前記パケットに付加する。そ
うした後にそのパケットを伝送する。
On the packet transmitting side, the differential value between the input signal value and the predicted signal value is coded while changing the quantization width according to the level fluctuation of the input signal to perform adaptive differential pulse code modulation. This encoded coded sequence is divided into a predetermined length, control information such as source and destination addresses is added to the packet, and the code at the beginning of the code sequence stored in the packet is reproduced from that code. The predicted signal value and the quantization width required to obtain the value are added to the packet. After that, the packet is transmitted.

【0012】また、パケットを受信する側では、受信し
たパケットから取り出した符号列を復号化して差分値を
得る。前記符号列から予測信号値と量子化幅を生成して
前記差分値に加算して再生信号値を得る。このとき、パ
ケットの先頭符号を再生する場合にのみ、伝送する側で
パケットに付加した受信予測信号値および受信量子化幅
を用いて再生信号を得る。そして、そのパケットの残り
の符号列に対しては受信側でその符号列から求めた予測
信号値と量子化幅を用いて信号を再生することで、過去
に受信した符号の誤りの影響を最小限に抑える様に作用
する。
On the side receiving the packet, the code string extracted from the received packet is decoded to obtain the difference value. A prediction signal value and a quantization width are generated from the code string and added to the difference value to obtain a reproduction signal value. At this time, only when the head code of the packet is reproduced, the reproduction signal is obtained using the reception prediction signal value and the reception quantization width added to the packet on the transmitting side. Then, for the remaining code strings of the packet, the reception side reproduces the signal by using the predicted signal value and the quantization width obtained from the code string to minimize the influence of the error of the code received in the past. It works to limit it.

【0013】[0013]

【実施例】次に、本発明の一実施例について図面を参照
しつつ以下に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0014】図1,2は本発明のパケット伝送装置の一
実施例を示すブロック図であり、図1はそのパケット伝
送装置の送信部のブロック図、図2は同じくパケット伝
送装置の受信部のブロック図である。従って、図1の送
信端子22と図2の出力端子72とは図示しない信号伝
送媒体で接続される。
1 and 2 are block diagrams showing an embodiment of the packet transmission apparatus of the present invention. FIG. 1 is a block diagram of a transmission section of the packet transmission apparatus, and FIG. 2 is a reception section of the packet transmission apparatus. It is a block diagram. Therefore, the transmission terminal 22 of FIG. 1 and the output terminal 72 of FIG. 2 are connected by a signal transmission medium (not shown).

【0015】図1において、入力端子21からの入力信
号値31と予測回路6の出力信号である予測信号値36
[Yp(n)]とが減算回路11に入力され、この減算
回路11の出力である量子化前差分値32[Dd
(n)](nは時系列の順序を表わし、n=1,2,・
・・・・、以下nについては同様である)は量子化/符
号化回路1に入力される。また、この量子化/符号化回
路1には量子化幅決定回路7の出力である量子化幅37
[G(n)]も入力される。この量子化/符号化回路1
の出力であるADPCM符号33[X(n)]はパケッ
ト化回路3と復号化回路5と量子化幅決定回路7とに入
力される。パケット化回路3には制御情報作成回路2の
出力とタイミング制御回路10の出力とが入力されてお
り、パケット化回路3の出力は予測信号/量子化幅付加
回路4に入力される。タイミング制御回路10のタイミ
ング制御信号38はこの予測信号/量子化幅付加回路4
と制御情報作成回路2とにも入力されており、予測信号
/量子化幅付加回路4の出力が送信端子22へと出力さ
れ、さらに図示しない通信ケーブル等の信号伝送媒体を
介して図2の受信端子71へと出力される。上記復号化
回路5と量子化幅決定回路7とにはそれぞれには量子化
係数テーブル8と量子化幅係数テーブル9とがそれぞれ
接続されている。復号化回路5の出力である差分値34
[D(n)]は、予測回路6の出力である予測信号値3
6[Yp(n)]と共に加算回路12に入力され、その
出力である再生信号値35[Yo(n)]は予測回路6
へ入力されている。前記量子化幅決定回路7の出力であ
る量子化幅37[G(n)]は予測信号/量子化幅付加
回路4と復号化回路5と、己である量子化幅決定回路7
へとそれぞれ入力されている。
In FIG. 1, the input signal value 31 from the input terminal 21 and the prediction signal value 36 which is the output signal of the prediction circuit 6 are shown.
[Yp (n)] is input to the subtraction circuit 11, and the pre-quantization difference value 32 [Dd which is the output of the subtraction circuit 11
(N)] (n represents the order of the time series, and n = 1, 2, ...
(..., the same applies to n below) is input to the quantization / encoding circuit 1. Further, the quantizing / encoding circuit 1 has a quantizing width 37 output from the quantizing width determining circuit 7.
[G (n)] is also input. This quantization / encoding circuit 1
The ADPCM code 33 [X (n)], which is the output of, is input to the packetization circuit 3, the decoding circuit 5, and the quantization width determination circuit 7. The output of the control information creation circuit 2 and the output of the timing control circuit 10 are input to the packetization circuit 3, and the output of the packetization circuit 3 is input to the prediction signal / quantization width addition circuit 4. The timing control signal 38 of the timing control circuit 10 is the prediction signal / quantization width adding circuit 4
2 is also input to the control information creation circuit 2, the output of the prediction signal / quantization width addition circuit 4 is output to the transmission terminal 22, and further via a signal transmission medium such as a communication cable (not shown) of FIG. It is output to the reception terminal 71. A quantization coefficient table 8 and a quantization width coefficient table 9 are connected to the decoding circuit 5 and the quantization width determination circuit 7, respectively. The difference value 34 which is the output of the decoding circuit 5
[D (n)] is the prediction signal value 3 which is the output of the prediction circuit 6.
6 [Yp (n)] and the reproduction signal value 35 [Yo (n)], which is the output of the addition circuit 12, are input to the prediction circuit 6.
Has been entered into. The quantization width 37 [G (n)] output from the quantization width determination circuit 7 is the same as the prediction signal / quantization width addition circuit 4, the decoding circuit 5, and the own quantization width determination circuit 7.
Have been entered respectively.

【0016】以上の構成において、以下その送信部の動
作を説明する。
The operation of the transmitting unit having the above configuration will be described below.

【0017】入力端子21より入力される入力信号値3
1[Yi(n)]は音声情報等の信号をパルス符号変調
(PCM)により符号化したものであって、この入力信
号値31[Yi(n)]は減算回路11で、予測回路6
において過去の信号に基ずいて生成した予測信号値36
[Yp(n)]との差分Yi(n)−Yp(n)が求め
られ、量子化前差分値32[Dd(n)]として量子化
/符号化回路1に出力される。
Input signal value 3 input from the input terminal 21
1 [Yi (n)] is a signal such as voice information encoded by pulse code modulation (PCM), and the input signal value 31 [Yi (n)] is the subtraction circuit 11 and the prediction circuit 6
Predicted signal value generated based on the past signal in
The difference Yi (n) −Yp (n) from [Yp (n)] is obtained and output to the quantization / encoding circuit 1 as the pre-quantization difference value 32 [Dd (n)].

【0018】量子化/符号化回路1は、この量子化前差
分値32[Dd(n)]と、量子化幅決定回路7から入
力される量子化幅37[G(n)]によりQd(n)=
Dd(n)/G(n)を計算の後、このQd(n)を量
子化および符号化してADPCM符号33[X(n)]
として出力する。なおここで、Qd(n)を量子化した
値Q(X(n))を量子化係数と呼ぶことにする。
The quantizing / encoding circuit 1 uses the difference value 32 [Dd (n)] before quantization and the quantizing width 37 [G (n)] input from the quantizing width determining circuit 7 to Qd ( n) =
After calculating Dd (n) / G (n), this Qd (n) is quantized and encoded to produce an ADPCM code 33 [X (n)].
Output as. The value Q (X (n)) obtained by quantizing Qd (n) will be referred to as a quantization coefficient.

【0019】量子化/符号化回路1から出力されたAD
PCM符号33[X(n)]は、パケット化回路3、復
号化回路5および量子化幅決定回路7にそれぞれ入力さ
れる。復号化回路5は、ADPCM符号33[X
(n)]と、量子化幅決定回路7から出力される量子化
幅37[G(n)]に基ずいて差分値34[D(n)]
を出力する。その手法は、まずADPCM符号33[X
(n)]に基ずいて量子化係数テーブル8を検索して量
子化係数41[Q(X(n))]を求める。次にこの量
子化係数41[Q(X(n))]と量子化幅決定回路7
の量子化幅37[G(n)]とを乗算して差分値34
[D(n)]を求める。
AD output from the quantization / encoding circuit 1
The PCM code 33 [X (n)] is input to the packetizing circuit 3, the decoding circuit 5 and the quantization width determining circuit 7, respectively. The decoding circuit 5 uses the ADPCM code 33 [X
(N)] and the quantization width 37 [G (n)] output from the quantization width determination circuit 7, the difference value 34 [D (n)].
Is output. The method is as follows: ADPCM code 33 [X
Based on (n)], the quantization coefficient table 8 is searched to obtain the quantization coefficient 41 [Q (X (n))]. Next, the quantization coefficient 41 [Q (X (n))] and the quantization width determination circuit 7
And the quantization value 37 [G (n)]
Find [D (n)].

【0020】なお、差分値34[D(n)]は結果とし
て減算回路11の出力である量子化前差分値32[Dd
(n)]を量子化したものになる。
As a result, the difference value 34 [D (n)] is the difference value 32 [Dd before quantization] which is the output of the subtraction circuit 11.
(N)] is quantized.

【0021】復号化回路5から出力される差分値34
[D(n)]は、加算回路12で予測回路6の出力する
予測信号値36[Yp(n)]と加算されて再生信号値
35[Yo(n)]となる。
The difference value 34 output from the decoding circuit 5
[D (n)] is added to the prediction signal value 36 [Yp (n)] output from the prediction circuit 6 in the adder circuit 12 and becomes the reproduction signal value 35 [Yo (n)].

【0022】予測回路6は再生信号値35[Yo
(n)]に基ずき、次回の処理で使用する予測信号値3
6[Yp(n+1)]を計算する。次回の予測信号値3
6[Yp(n+1)]は、再生信号値35[Yo
(n)]に予測係数a(=0.8)を乗じたものとす
る。
The prediction circuit 6 uses the reproduction signal value 35 [Yo
(N)], the predicted signal value 3 used in the next processing
6 [Yp (n + 1)] is calculated. Next predicted signal value 3
6 [Yp (n + 1)] is the reproduction signal value 35 [Yo
(N)] is multiplied by the prediction coefficient a (= 0.8).

【0023】量子化幅決定回路7は量子化/符号化回路
1から出力されたADPCM符号33[X(n)]と量
子化幅37[G(n)]に基ずき、次回の処理で使用す
る量子化幅37[G(n+1)]を計算する。その手法
は、ADPCM符号33[X(n)]に基ずき量子幅係
数テーブル9を検索して量子化幅係数42[M(X
(n))]を求める。次に、この量子化幅係数42[M
(X(n))]と量子化幅37[G(n)]を乗算する
ことにより量子化幅37[G(n+1]を求める。
The quantizing width determining circuit 7 is based on the ADPCM code 33 [X (n)] and the quantizing width 37 [G (n)] output from the quantizing / encoding circuit 1, and in the next processing. The quantization width 37 [G (n + 1)] to be used is calculated. The method is to search the quantum width coefficient table 9 based on the ADPCM code 33 [X (n)] and to quantize the width coefficient 42 [M (X
(N))] is calculated. Next, the quantization width coefficient 42 [M
Quantization width 37 [G (n + 1]] is obtained by multiplying (X (n))] by the quantization width 37 [G (n)].

【0024】パケット化回路3は、入力されるADPC
M符号33[X(n)]を一定数(例えば512回)ご
とに分割してブロック化し、そのブロックごとに、制御
情報作成回路2が出力する送信元、送信先アドレスなど
の制御情報を付加してパケットを作成して予測信号/量
子化幅付加回路4に出力する。
The packetizing circuit 3 receives the input ADPC
The M code 33 [X (n)] is divided into a certain number (512 times, for example) and divided into blocks, and control information such as the source and destination addresses output by the control information generation circuit 2 is added to each block. Then, a packet is created and output to the prediction signal / quantization width adding circuit 4.

【0025】予測信号/量子化幅付加回路4には、パケ
ット化回路3からのパケット、予測回路6からの予測信
号値36[Yp(n)]および量子化幅決定回路7から
の量子化幅37[G(n)]がそれぞれ入力される。予
測信号/量子化幅付加回路4はパケット化回路3でブロ
ック化した符号列の先頭(この時n=Nとする)のAD
PCM符号33[X(N)]に対する予測信号値36
[Yp(N)]および量子化幅37[G(N)]をパケ
ットに付加し、送信端子22に出力する。
The prediction signal / quantization width adding circuit 4 includes a packet from the packetizing circuit 3, a prediction signal value 36 [Yp (n)] from the prediction circuit 6 and a quantization width from the quantization width determining circuit 7. 37 [G (n)] is input. The prediction signal / quantization width adding circuit 4 is the AD of the head (n = N at this time) of the code string blocked by the packetizing circuit 3.
Predicted signal value 36 for PCM code 33 [X (N)]
[Yp (N)] and the quantization width 37 [G (N)] are added to the packet and output to the transmission terminal 22.

【0026】なお、制御情報作成回路2、パケット化回
路3および予測信号/量子化幅付加回路4は、タイミン
グ制御回路10からタイミング制御信号38を受け、上
記処理が一定周期で行われるように同期して動作させら
れる。
The control information generation circuit 2, the packetization circuit 3, and the prediction signal / quantization width addition circuit 4 receive the timing control signal 38 from the timing control circuit 10 and synchronize so that the above-described processing is performed at a constant cycle. And be operated.

【0027】次に、図2の受信部の構成について説明す
る。受信端子71から伝送信号が入力されるバッファ5
1があって、このバッファ51の出力である符号81
[X(n)]は復号化回路52と量子化幅決定回路53
とに入力される。また、バッファ51はタイミング制御
回路61へ同期信号90を、予測信号値/量子化幅読み
出し回路57へデータ100をそれぞれ出力する。この
復号化回路52と量子化幅決定回路53とには、量子化
係数テーブル54と量子化幅係数テーブル55とがそれ
ぞれ接続されている。復号化回路52の出力である差分
値82[D(n)]は、選択回路59の出力である予測
信号値86[Y’p(n)]と共に加算回路60に入力
されている。この加算回路60の再生信号値83[Yo
(n)]は出力端子72と予測回路56とへ出力され
る。予測回路56の出力である予測信号値84[Yp
(n)]は選択回路59へ入力される。この選択回路5
9には、予測信号値/量子化幅読み出し回路57の出力
である予測信号値85[Yp(N)]とタイミング制御
回路61のタイミング制御信号93とが入力されてい
る。
Next, the structure of the receiving section shown in FIG. 2 will be described. The buffer 5 to which the transmission signal is input from the reception terminal 71
1 and there is a reference numeral 81 which is the output of this buffer 51.
[X (n)] is a decoding circuit 52 and a quantization width determining circuit 53.
Entered in and. Further, the buffer 51 outputs the synchronization signal 90 to the timing control circuit 61 and the data 100 to the prediction signal value / quantization width reading circuit 57, respectively. A quantization coefficient table 54 and a quantization width coefficient table 55 are connected to the decoding circuit 52 and the quantization width determination circuit 53, respectively. The difference value 82 [D (n)] that is the output of the decoding circuit 52 is input to the addition circuit 60 together with the prediction signal value 86 [Y′p (n)] that is the output of the selection circuit 59. The reproduction signal value of this adding circuit 60 is 83 [Yo
(N)] is output to the output terminal 72 and the prediction circuit 56. The prediction signal value 84 [Yp that is the output of the prediction circuit 56
(N)] is input to the selection circuit 59. This selection circuit 5
A prediction signal value 85 [Yp (N)], which is the output of the prediction signal value / quantization width reading circuit 57, and the timing control signal 93 of the timing control circuit 61 are input to 9.

【0028】上記量子化幅決定回路53の出力である量
子化幅87[G(n)]と、予測信号値/量子化幅読み
出し回路57の量子化幅88[G(N)]と、タイミン
グ制御回路61のタイミング制御信号93とが選択回路
58に入力されている。この選択回路58の出力である
量子化幅89[G’(n)]は復号化回路52と量子化
幅決定回路53とに入力される。予測信号値/量子化幅
読み出し回路57にはタイミング制御回路61のタイミ
ング制御信号93も入力されている。
The quantization width 87 [G (n)] output from the quantization width determination circuit 53, the quantization width 88 [G (N)] of the prediction signal value / quantization width reading circuit 57, and the timing The timing control signal 93 of the control circuit 61 is input to the selection circuit 58. The quantization width 89 [G ′ (n)] output from the selection circuit 58 is input to the decoding circuit 52 and the quantization width determination circuit 53. The timing control signal 93 of the timing control circuit 61 is also input to the prediction signal value / quantization width reading circuit 57.

【0029】以上の構成について、以下その受信部の動
作について説明する。
With respect to the above configuration, the operation of the receiving section will be described below.

【0030】図1に示された送信部から送信されたパケ
ットは、受信端子71からバッファ51に入力され、こ
のバッファ51に複数のパケットが一時的保存される。
そうしてバッファ51は入力された順にそのパケットか
ら符号81[X(n)]を復号化回路52と量子化幅決
定回路53とに出力する。またこのとき、パケット内の
先頭の符号[X(N)]が出力可能になるとバッファ5
1は同期信号90をタイミング制御回路61に出力す
る。タイミング制御回路61は同期信号90に同期して
タイミング制御信号93を出力して予測信号値/量子化
幅読み出し回路57、選択回路58および選択回路59
の同期動作を制御する。
The packet transmitted from the transmitting unit shown in FIG. 1 is input from the receiving terminal 71 to the buffer 51, and a plurality of packets are temporarily stored in this buffer 51.
Then, the buffer 51 outputs the code 81 [X (n)] from the packet in the input order to the decoding circuit 52 and the quantization width determining circuit 53. Further, at this time, if the leading code [X (N)] in the packet becomes available for output, the buffer 5
1 outputs the synchronization signal 90 to the timing control circuit 61. The timing control circuit 61 outputs the timing control signal 93 in synchronization with the synchronization signal 90 and outputs the predicted signal value / quantization width reading circuit 57, the selection circuit 58, and the selection circuit 59.
Control the synchronous behavior of.

【0031】予測信号値/量子化幅読み出し回路57は
タイミング制御回路61の制御うけて、タイミング制御
信号93によりバッファ51によって次に出力されるパ
ケットから、送信部で付加された予測信号値85[Yp
(N)]と量子化幅88[G(N)]とを読み出して、
それぞれ選択回路59と選択回路58とに出力する。
Under the control of the timing control circuit 61, the prediction signal value / quantization width reading circuit 57 controls the prediction signal value 85 [added in the transmitting section from the packet output next by the buffer 51 by the timing control signal 93]. Yp
(N)] and the quantization width 88 [G (N)] are read out,
It outputs to the selection circuit 59 and the selection circuit 58, respectively.

【0032】選択回路58はタイミング制御回路61の
制御をうけて、タイミング制御信号93により量子化幅
87[G(n)]または量子化幅88[G(N)]の何
れかを選択し、量子化幅89[G’(n)]を出力す
る。すなわちn=N(Nはパケット内の先頭の符号の番
号)であれば、受信したパケットに付加された量子化幅
88[G(N)]を選択し、n≠Nの場合は量子化幅8
7[G(n)]を選択する。
Under the control of the timing control circuit 61, the selection circuit 58 selects either the quantization width 87 [G (n)] or the quantization width 88 [G (N)] by the timing control signal 93. The quantization width 89 [G '(n)] is output. That is, if n = N (N is the number of the leading code in the packet), the quantization width 88 [G (N)] added to the received packet is selected, and if n ≠ N, the quantization width is selected. 8
7 [G (n)] is selected.

【0033】同様に選択回路59もタイミング制御回路
61の制御を受けて、タイミング制御信号93により予
測信号値84[Yp(N)]または予測信号値85[Y
p(N)]の何れかを選択し、予測信号値86[Y’p
(N)]を加算回路60へ出力する。すなわち、n=N
であれば予測信号値85[Yp(N)]を選択し、n≠
Nの場合は予測信号値84[Yp(N)]を選択する。
Similarly, the selection circuit 59 also receives the control of the timing control circuit 61 and receives the predicted signal value 84 [Yp (N)] or the predicted signal value 85 [Y] by the timing control signal 93.
p (N)], the predicted signal value 86 [Y'p
(N)] is output to the adder circuit 60. That is, n = N
If so, the predicted signal value 85 [Yp (N)] is selected, and n ≠
In the case of N, the predicted signal value 84 [Yp (N)] is selected.

【0034】バッファ51は受信したパケットから符号
81[X(n)]を順に読み出して復号化回路52およ
び量子化幅決定回路53に出力する。復号化回路52で
は、送信部の復号化回路5と同様にバッファ51から供
給される符号81[X(n)]と選択回路58から出力
される量子化幅89[G’(n)]に基ずき、差分値8
2[D(n)]を求めて出力する。
The buffer 51 sequentially reads the code 81 [X (n)] from the received packet and outputs it to the decoding circuit 52 and the quantization width determining circuit 53. In the decoding circuit 52, similarly to the decoding circuit 5 of the transmission unit, the code 81 [X (n)] supplied from the buffer 51 and the quantization width 89 [G ′ (n)] output from the selection circuit 58 are set. Base, difference value 8
2 [D (n)] is obtained and output.

【0035】差分値82[D(n)]は、送信号部と同
様に加算回路60により選択回路59の出力する予想信
号値[Y’p(n)]と加算され、再生信号値83[Y
o(n)]として出力端子72に出力される。
The difference value 82 [D (n)] is added to the expected signal value [Y'p (n)] output from the selection circuit 59 by the adder circuit 60 as in the signal transmission section, and the reproduced signal value 83 [is obtained]. Y
o (n)] is output to the output terminal 72.

【0036】一方、予測回路56は、送信部と同様に、
上記再生信号値83[Yp(n)]に基ずき、次回の処
理で使用する予測信号値84[Yp(n+1)]を計算
する。次回の処理で使用する予測信号値84[Yp(n
+1)]は、再生信号値83[Yo(n)]に予測係数
a(=0.8)を乗じたものである。
On the other hand, the predicting circuit 56, like the transmitting section,
Based on the reproduction signal value 83 [Yp (n)], the predicted signal value 84 [Yp (n + 1)] used in the next process is calculated. The predicted signal value 84 [Yp (n
+1)] is the reproduction signal value 83 [Yo (n)] multiplied by the prediction coefficient a (= 0.8).

【0037】また、量子化幅決定回路53も、送信部と
同様に、バッファ51から供給された符号81[X
(n)]と選択回路58の出力する量子化幅89[G’
(n)]に基ずき次回の処理で使用する量子化幅87
[G(n+1)]を計算する。
The quantizing width determining circuit 53 also has a code 81 [X] supplied from the buffer 51, as in the transmitting section.
(N)] and the quantization width 89 [G ′ output from the selection circuit 58.
Quantization width 87 used in the next processing based on (n)]
Calculate [G (n + 1)].

【0038】以上の送信部と受信部とはディジタル信号
処理プロセッサ(以下DSP)のプログラムで実行でき
る。そこでそのDSPによる本発明の第二実施例の送信
処理と受信処理との動作フローを、図3,4に示し、以
下そのフローについて説明する。また、パケット内の情
報フォーマットの例を図5に示す。
The above-mentioned transmitter and receiver can be executed by a program of a digital signal processor (DSP). Therefore, the operation flow of the transmission processing and the reception processing of the second embodiment of the present invention by the DSP is shown in FIGS. 3 and 4, and the flow will be described below. An example of the information format in the packet is shown in FIG.

【0039】始めに、図3の送信用DSPの動作フロー
について説明する。ブロック200で予測信号値Yp
(n)と、量子化幅G(n)の初期値を設定する。例え
ば、n=1のとき、Yp(1)=0,G(1)=1など
とする。次に、ブロック201でパルス符号変調した入
力信号Yi(n)から上記予測信号値Yp(n)の量子
化差分値Dd(n)を求める。ブロック202でQd
(n)=Dd(n)/G(n)を求め、さらにこのQd
(n)を量子化/符号化してADPCM符号X(n)を
求める。ブロック203でADPCM符号X(n)をパ
ケットに順次格納する。ブロック204で、ADPCM
符号X(n)に基ずいて量子化テーブルを検索して量子
化係数Q(X(n))を求める。ブロック205で、量
子化後の差分値D(n)を量子化係数Q(X(n))と
量子化幅G(n)から求める。ブロック206で予測信
号値Yp(n)に差分値D(n)を加算して再生信号値
Yo(n)を求める。ブロック207で再生信号値Yo
(n)から次回の処理で使用する予測信号値Yp(n+
1)を求める。ブロック208でADPCM符号X
(n)から量子化係数テーブルを検索して量子化幅係数
M(X(n))を求める。ブロック209で量子化幅係
数M(X(n))と量子化幅G(n)から次回の処理で
使用する量子化幅G(n+1)を求める。ブロック21
0でnの値を調べ、n=Nならばブロック211へ、そ
うでないならば、ブロック201へ戻り次の入力信号Y
i(n+1)のADPCM符号X(n)を求める。
First, the operation flow of the transmitting DSP of FIG. 3 will be described. Predicted signal value Yp in block 200
(N) and the initial value of the quantization width G (n) are set. For example, when n = 1, Yp (1) = 0, G (1) = 1 and so on. Next, in block 201, the quantized difference value Dd (n) of the predicted signal value Yp (n) is obtained from the input signal Yi (n) pulse-code modulated. Qd at block 202
(N) = Dd (n) / G (n) is calculated, and this Qd
(N) is quantized / encoded to obtain an ADPCM code X (n). In block 203, the ADPCM code X (n) is sequentially stored in the packet. At block 204, the ADPCM
The quantization table is searched based on the code X (n) to obtain the quantization coefficient Q (X (n)). In block 205, the quantized difference value D (n) is obtained from the quantized coefficient Q (X (n)) and the quantized width G (n). At block 206, the difference value D (n) is added to the prediction signal value Yp (n) to obtain the reproduction signal value Yo (n). Playback signal value Yo in block 207
From (n), the predicted signal value Yp (n +
1) is asked. ADPCM code X in block 208
The quantization coefficient table is searched from (n) to obtain the quantization width coefficient M (X (n)). In block 209, the quantization width G (n + 1) to be used in the next process is obtained from the quantization width coefficient M (X (n)) and the quantization width G (n). Block 21
Check the value of n at 0, and if n = N, go to block 211, otherwise go to block 201 and input next signal Y
The ADPCM code X (n) of i (n + 1) is obtained.

【0040】ブロック211では、ブロック210でn
=Nと判断されたことにより、そのADPCM符号X
(n)がパケットの先頭であることから予測信号値Yp
(N)と量子化幅G(N)とをパケットに付加する。次
のブロック212で、nの値を調べ、そのnの値がN+
511となったことを判断したら、次のブロック213
でパケットに送信元及び送信先アドレスデータ等の制御
情報を付加した後受信部へ送る。このブロック212で
n≠N+511と判断されたらブロック201へ戻り、
次の入力信号Yi(n)についてのADPCM符号X
(n)を求める。
In block 211, n in block 210
= N, the ADPCM code X
Since (n) is the head of the packet, the predicted signal value Yp
(N) and the quantization width G (N) are added to the packet. At the next block 212, the value of n is examined, and the value of n is N +.
When it is determined that the number becomes 511, the next block 213
Then, control information such as source and destination address data is added to the packet, and then the packet is sent to the receiving unit. If it is determined in this block 212 that n ≠ N + 511, the process returns to block 201,
ADPCM code X for the next input signal Yi (n)
Find (n).

【0041】次に、受信用DSPの動作フローを図4を
参照しつつ以下に説明する。ブロック300で予測信号
値Y’p(n)と、量子化幅G’(n)の初期値を設定
する。例えば、n=1のとき、Y’p(1)=0,G’
(1)=1などとする。ブロック302で、伝送された
パケット内からADPCM符号X(n)を取出し、その
ADPCM符号X(n)に基ずいて量子化テーブルを検
索して量子化係数Q(X(n))を求める。ブロック3
03で、nの値を調べ、n=Nかどうか、つまり取り出
したADPCM符号X(n)がパケットの先頭の物かど
うかを判断する。そうしてn=Nならばブロック304
で予測信号値Y’p(n)と量子化幅G’(n)とを、
送信部でパケットの先頭に付加した予測信号値Yp
(N)と量子化幅G(N)とに置き換える。また、ブロ
ック303の判断でn≠Nである場合、ブロック305
に処理を移行する。ブロック305で量子化後の差分値
D(n)を量子化係数Q(X(n))と量子化幅G’
(n)より求める。ブロック306で予測信号値Y’p
(n)に差分値D(n)を加算して再生信号値Yo
(n)を求める。
Next, the operation flow of the receiving DSP will be described below with reference to FIG. In block 300, the predicted signal value Y′p (n) and the initial value of the quantization width G ′ (n) are set. For example, when n = 1, Y'p (1) = 0, G '
(1) = 1 and so on. In block 302, the ADPCM code X (n) is extracted from the transmitted packet, and the quantization table is searched based on the ADPCM code X (n) to obtain the quantization coefficient Q (X (n)). Block 3
In 03, the value of n is examined to determine whether n = N, that is, whether the taken out ADPCM code X (n) is the head of the packet. Then, if n = N, block 304
The predicted signal value Y'p (n) and the quantization width G '(n) are
Predicted signal value Yp added to the beginning of the packet by the transmitter
(N) and the quantization width G (N). If n ≠ N in the determination of block 303, block 305
Process is transferred to. In block 305, the difference value D (n) after quantization is quantized with a quantization coefficient Q (X (n)) and a quantization width G ′.
Calculate from (n). Predicted signal value Y'p in block 306
The difference value D (n) is added to (n) and the reproduction signal value Yo
Find (n).

【0042】次に、ブロック307で再生信号値Yo
(n)から次回の処理で使用する予測信号値Yp(n+
1)を求める。ブロック308でADPCM符号X
(n)から量子化係数テーブルを検索して量子化幅係数
M(X(n))を求める。ブロック309で量子化幅係
数M(X(n))と量子化幅G’(n)から次回の処理
で使用する量子化幅G’(n+1)を求める。以上の処
理の後、ブロック310でnの値を調べ、n=N+51
1であるならば処理を修了し、そうでないならば、ブロ
ック301へ戻り次の伝送ADPCM符号X(n+1)
の信号再生処理を行う。
Next, in block 307, the reproduction signal value Yo
From (n), the predicted signal value Yp (n +
1) is asked. ADPCM code X at block 308
The quantization coefficient table is searched from (n) to obtain the quantization width coefficient M (X (n)). In block 309, the quantization width G ′ (n + 1) to be used in the next process is obtained from the quantization width coefficient M (X (n)) and the quantization width G ′ (n). After the above processing, the value of n is checked in block 310, and n = N + 51
If it is 1, the process is completed, and if not, the process returns to block 301 and the next transmission ADPCM code X (n + 1) is sent.
Signal reproduction processing is performed.

【0043】このようにして、伝送されてきたパケット
内のADPCM符号X(n)の信号再生処理を順次行
う。
In this way, the signal reproduction processing of the ADPCM code X (n) in the transmitted packet is sequentially performed.

【0044】次にパケット内の情報フォーマットについ
て簡単に説明する。図5のボックス401〜ボックス4
04はパケットの先頭に付加した予測信号値Yp(N)
と量子化幅G(N)であって、各ボックスは8ビットの
大きさを有する。また、そのボックス405〜ボックス
416は、送信部で入力信号値Yi(n)を量子化/符
号化したADPCM符号X(n)を表していて、各ボッ
クスは4ビットの大きさを有している。
Next, the information format in the packet will be briefly described. Box 401 to Box 4 in FIG.
04 is the predicted signal value Yp (N) added to the beginning of the packet
And the quantization width G (N), each box has a size of 8 bits. Further, the boxes 405 to 416 represent ADPCM codes X (n) obtained by quantizing / encoding the input signal value Yi (n) in the transmitting unit, and each box has a size of 4 bits. There is.

【0045】なお、上記実施例においてのパケットの符
号X(n)個数を512としたが、この個数に限定する
ものではない。
Although the number of packet codes X (n) in the above embodiment is 512, the number is not limited to this number.

【0046】[0046]

【発明の効果】以上説明したように本発明のパケット伝
送装置は、パケットごとに先頭のADPCM符号に対応
する予測信号値と量子化幅が付加され、先頭のADPC
M符号X(n)を再生する場合にそのパケットに付加し
た予測信号値と量子化幅を用いたので、その再生処理以
前に受信した符号X(n)の誤りの影響を受ける事無く
再生し、さらにその再生信号から新たな予測信号値と量
子化幅とを求めるため、受信部で発生する予測信号値と
量子化幅が過去の全ての符号に依存することが無い。こ
のため、伝送路障害等で符号誤りが発生しても、予測信
号値と量子化幅に基ずいて得られる再生信号値の誤りの
発生したパケット内の最後の符号に対する再生信号値ま
でで済むことになり、従来の様に以後の全ての再生信号
値が誤ることなく、伝送路の品質の劣化を最小限に抑え
ることができる効果がある。
As described above, in the packet transmission device of the present invention, the prediction signal value and the quantization width corresponding to the leading ADPCM code are added to each packet, and the leading ADPC code is added.
When the M code X (n) is reproduced, since the predicted signal value and the quantization width added to the packet are used, the M code X (n) is reproduced without being affected by the error of the code X (n) received before the reproduction process. Further, since a new predicted signal value and a new quantization width are obtained from the reproduced signal, the predicted signal value and the quantization width generated in the receiving unit do not depend on all past codes. Therefore, even if a code error occurs due to a transmission path failure or the like, the reproduction signal value for the last code in the packet in which the error occurs in the reproduction signal value obtained based on the prediction signal value and the quantization width is sufficient. As a result, unlike the prior art, there is an effect that the deterioration of the quality of the transmission path can be suppressed to the minimum without causing all the reproduced signal values thereafter to be incorrect.

【0047】例えば、パケット内のADPCM符号が5
12個であれば、再生信号値の誤りは最大512個で済
むことになる。
For example, if the ADPCM code in the packet is 5,
If there are twelve, the error in the reproduced signal value will be 512 at maximum.

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

【図1】本発明の第一実施例の送信部のブロックを表わ
す図。
FIG. 1 is a diagram showing a block of a transmission unit according to a first embodiment of the present invention.

【図2】本発明の第一実施例の受信部のブロックを表わ
す図。
FIG. 2 is a diagram showing a block of a receiving unit according to the first embodiment of the present invention.

【図3】本発明の第二実施例の送信処理フローチャート
図。
FIG. 3 is a transmission process flowchart of the second embodiment of the present invention.

【図4】本発明の第二実施例の受信処理フローチャート
図。
FIG. 4 is a flowchart of a receiving process according to the second embodiment of the present invention.

【図5】本発明におけるパケットの情報フォーマットを
表わす図。
FIG. 5 is a diagram showing an information format of a packet according to the present invention.

【図6】本発明のパケット伝送システム全体の概念ブロ
ック図。
FIG. 6 is a conceptual block diagram of the entire packet transmission system of the present invention.

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

1 量子化/符号化回路 2 制御情報作成回路 3 パケット化回路 4 予測信号/量子化幅付加回路 5,52 復号化回路 6,56 予測回路 7,53 量子化幅決定回路 8,54 量子化係数テーブル 9,55 量子化幅係数テーブル 10,61 タイミング制御回路 11 減算回路 12,60 加算回路 21 入力端子 22 送信端子 31 入力信号値 32 量子化前差分値 33 ADPCM符号 34,82 差分値 35,83 再生信号値 36,84,86 予測信号値 37,87,89 量子化幅 38,93 タイミング制御信号 41,91 量子化係数 42,92 量子化幅係数 51 バッファ 57 予測信号値/量子化幅読み出し回路 58,59 選択回路 71 受信端子 72 出力端子 90 同期信号 500 送信部 600 受信部 1 Quantization / Encoding Circuit 2 Control Information Creation Circuit 3 Packetization Circuit 4 Prediction Signal / Quantization Width Addition Circuit 5,52 Decoding Circuit 6,56 Prediction Circuit 7,53 Quantization Width Determining Circuit 8,54 Quantization Coefficient Table 9,55 Quantization width coefficient table 10,61 Timing control circuit 11 Subtraction circuit 12,60 Addition circuit 21 Input terminal 22 Transmission terminal 31 Input signal value 32 Pre-quantization difference value 33 ADPCM code 34,82 Difference value 35,83 Playback signal value 36, 84, 86 Prediction signal value 37, 87, 89 Quantization width 38, 93 Timing control signal 41, 91 Quantization coefficient 42, 92 Quantization width coefficient 51 Buffer 57 Prediction signal value / quantization width reading circuit 58, 59 selection circuit 71 reception terminal 72 output terminal 90 synchronization signal 500 transmission unit 600 reception unit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】予測信号値を演算し出力する予測手段と、
この伝送部に入力されるパルス符号変調した信号から前
記予測信号値を減算する減算手段と、この減算手段の出
力信号を量子化/符号化して適応差分パルス符号変調し
た符号列を出力する量子化/符号化手段と、この符号列
を所定値の長に区分してパケット化しさらに制御情報を
そのパケットに付加して出力するパケット化手段と、前
記符号から量子化幅係数を求め、さらにその量子化幅係
数と過去の量子化幅から次処理用の量子化幅を演算して
出力する量子化幅決定手段と、この量子化幅決定手段の
出力である量子化幅と前記符号とから求めた量子化係数
とから差分値を求める復号化手段と、この差分値と前記
予測信号値とを加算し前記予測手段に出力する加算手段
とを有するパケット伝送装置の送信部において、 前記パケット化手段が出力するパケットの先頭にある前
記符号の為の予測信号値と量子化幅を前記パケットに付
加する予測信号/量子化幅付加手段を備えることを特徴
とするパケット伝送装置の送信部。
1. Prediction means for calculating and outputting a prediction signal value,
Subtracting means for subtracting the predicted signal value from the pulse code modulated signal input to the transmission section, and quantizing for quantizing / encoding the output signal of the subtracting means to output a code string subjected to adaptive differential pulse code modulation. / Encoding means, packetizing means for dividing this code string into lengths of a predetermined value and packetizing it, and adding control information to the packet for output, and quantizing width coefficient from the code, Quantization width determination means for calculating and outputting the quantization width for the next process from the quantization width coefficient and the past quantization width, and the quantization width output from the quantization width determination means and the code. In a transmitter of a packet transmission device having a decoding means for obtaining a difference value from a quantized coefficient and an adding means for adding the difference value and the prediction signal value and outputting the result to the prediction means, the packetization means is Out A transmitting unit of a packet transmission device, comprising: a prediction signal / quantization width adding means for adding the prediction signal value and the quantization width for the code at the head of the input packet to the packet.
【請求項2】受信したパケットを一時的に蓄え、そのパ
ケットから符号を取り出して出力するバッファと、この
符号から求めた量子化係数と量子化幅とから復号化して
差分値を求める復号化手段と、前記符号から求めた量子
化幅係数と前記量子化幅とより次の量子化幅を求める量
子化幅決定手段と、前記差分値と予測信号値とを加算し
て再生信号値を出力する加算手段と、この再生信号値か
ら次の予測信号値を求める予測手段とを有するパケット
伝送装置の受信部において、 前記バッファから前記パケット内に付加された受信予測
信号値と受信量子化幅とを読み出す予測信号値/量子化
幅読み出し手段と、 前記受信量子化幅と前記量子化幅決定手段の出力する量
子化幅とを選択切り換えて前記量子化幅決定手段と復号
化手段とに出力する第一の選択手段と、 前記受信予測信号値と前記予測手段の出力である予測信
号値とを選択切り換えて前記加算手段に出力する第二の
選択手段とを備えることを特徴とするパケット伝送装置
の受信部。
2. A buffer for temporarily storing a received packet, extracting a code from the packet and outputting the code, and a decoding means for decoding a quantized coefficient and a quantized width obtained from the code to obtain a difference value. A quantization width determining means for obtaining the next quantization width from the quantization width coefficient obtained from the code and the quantization width, and the difference value and the prediction signal value are added to output a reproduction signal value. In the receiving section of the packet transmission device having an adding means and a predicting means for obtaining a next predicted signal value from the reproduced signal value, the received predicted signal value and the reception quantization width added in the packet from the buffer are calculated. A predictive signal value / quantization width reading means for reading, a reception quantization width and a quantization width output by the quantization width determining means are selectively switched and output to the quantization width determining means and the decoding means. And a second selecting means for selectively switching the received predicted signal value and the predicted signal value which is the output of the predicting means to output to the adding means. Department.
【請求項3】請求項1記載のパケット伝送装置の送信部
と、請求項2記載のパケット伝送装置の受信部とを共に
備えることを特徴とするパケット伝送装置。
3. A packet transmission device comprising the transmission unit of the packet transmission device according to claim 1 and the reception unit of the packet transmission device according to claim 2.
【請求項4】入力信号のレベル変動に応じて量子化幅を
変化させながら入力信号値と予測信号値の差分値を符号
化する適応差分パルス符号変調符号化ステップと、この
適応差分パルス符号変調符号化ステップにより発生させ
た符号化列を所定の長さに分割し送信元および送信先ア
ドレス等の制御情報を付加するパケット化ステップとを
含むパケット送信方法において、 前記パケットに格納された符号列の先頭の符号について
その符号から再生信号値を得るのに必要な予測信号値と
量子化幅を前記パケットに付加する予測信号値/量子化
幅付加ステップを含むことを特徴とするパケット送信方
法。
4. An adaptive differential pulse code modulation coding step for coding a differential value between an input signal value and a predicted signal value while changing a quantization width according to a level fluctuation of an input signal, and the adaptive differential pulse code modulation. A packet transmission method comprising a packetization step of dividing a coded sequence generated by the encoding step into a predetermined length and adding control information such as a transmission source address and a transmission destination address, the code sequence stored in the packet. A packet transmission method including a prediction signal value / quantization width adding step of adding to the packet a prediction signal value and a quantization width required to obtain a reproduction signal value for the first code of the packet.
【請求項5】受信したパケットから取り出した符号列を
復号化して得た差分値に、前記符号列から予測信号値と
量子化幅を生成して前記差分値に加算して再生信号値を
出力するADPCM復号化ステップを含むパケット受信
方法において、 前記パケットに付加された受信予測信号値および受信量
子化幅を読み出すステップと、 前記パケットに格納された符号列の先頭の符号に対して
は前記受信予測信号値と受信量子化幅を選択し、前記パ
ケットの先頭符号以外の符号に対しては前記予測信号値
と量子化幅を選択する予測信号値/量子化幅選択ステッ
プとを含むことを特徴とするパケット受信方法。
5. A prediction signal value and a quantization width are generated from the code string to a difference value obtained by decoding a code string extracted from the received packet, added to the difference value, and a reproduction signal value is output. A packet receiving method including an ADPCM decoding step for reading the reception prediction signal value and the reception quantization width added to the packet, and the reception code for the head code of the code string stored in the packet. A predicted signal value / quantization width selection step for selecting a predicted signal value and a received quantization width, and selecting the predicted signal value and the quantization width for codes other than the head code of the packet. Packet reception method.
【請求項6】請求項4記載のパケット送信方法と、請求
項5記載のパケット受信方法とによってパケットを伝送
することを特徴とするパケット伝送方法。
6. A packet transmission method, wherein a packet is transmitted by the packet transmission method according to claim 4 and the packet reception method according to claim 5.
JP3255297A 1991-10-02 1991-10-02 Packet transmitter, its transmission reception section and packet transmission method and its transmission reception method Pending JPH0595333A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3255297A JPH0595333A (en) 1991-10-02 1991-10-02 Packet transmitter, its transmission reception section and packet transmission method and its transmission reception method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3255297A JPH0595333A (en) 1991-10-02 1991-10-02 Packet transmitter, its transmission reception section and packet transmission method and its transmission reception method

Publications (1)

Publication Number Publication Date
JPH0595333A true JPH0595333A (en) 1993-04-16

Family

ID=17276818

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3255297A Pending JPH0595333A (en) 1991-10-02 1991-10-02 Packet transmitter, its transmission reception section and packet transmission method and its transmission reception method

Country Status (1)

Country Link
JP (1) JPH0595333A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017041821A (en) * 2015-08-21 2017-02-23 日本電信電話株式会社 Traffic observation system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017041821A (en) * 2015-08-21 2017-02-23 日本電信電話株式会社 Traffic observation system and method

Similar Documents

Publication Publication Date Title
JP2746033B2 (en) Audio decoding device
JPH08293888A (en) Frame erase and correction method
JP3054438B2 (en) Source Pulse Positioning Method for Linear Predictive Speech Coder
KR20040054736A (en) Method and apparatus for decoding a coded digital audio signal which is arranged in frames containing headers
US6871175B2 (en) Voice encoding apparatus and method therefor
JPH11259100A (en) Method for encoding exciting vector
US6754203B2 (en) Method and program product for organizing data into packets
JP4231987B2 (en) Code conversion method between speech coding / decoding systems, apparatus, program, and storage medium
JP4831136B2 (en) Audio signal transmission device, audio signal reception device, and audio signal transmission system
JPH0595333A (en) Packet transmitter, its transmission reception section and packet transmission method and its transmission reception method
JP3637254B2 (en) Method for protecting transmitted signal errors for multi-mode vocoders
US6502068B1 (en) Multipulse search processing method and speech coding apparatus
JPH0588697A (en) Absent speech interpolation system
JP3688064B2 (en) Image compression method and image compression apparatus
JP2002252644A (en) Apparatus and method for communicating voice packet
JP3287543B2 (en) Error correction encoding method and decoding method
JP4480135B2 (en) Audio signal compression method
JP2531352B2 (en) Voice packet receiver
JP2004023191A (en) Signal encoding method and signal decoding method, signal encoder and signal decoder, and signal encoding program and signal decoding program
JPS6247010B2 (en)
JP2000512036A (en) Communication network for transmitting audio signals
JPH05119800A (en) High-efficiency compressing method for digital speech data
JPH0351900A (en) Error processing system
JP2000244460A (en) Transmission line error code addition and detecting device
JPH0648998Y2 (en) Digital voice communication device

Legal Events

Date Code Title Description
A977 Report on retrieval

Effective date: 20040811

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040824

A02 Decision of refusal

Effective date: 20041221

Free format text: JAPANESE INTERMEDIATE CODE: A02