JPH09247127A - Error correcting virtual reception buffer device - Google Patents

Error correcting virtual reception buffer device

Info

Publication number
JPH09247127A
JPH09247127A JP8075368A JP7536896A JPH09247127A JP H09247127 A JPH09247127 A JP H09247127A JP 8075368 A JP8075368 A JP 8075368A JP 7536896 A JP7536896 A JP 7536896A JP H09247127 A JPH09247127 A JP H09247127A
Authority
JP
Japan
Prior art keywords
data
buffer
counter
overflow
decoder
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.)
Granted
Application number
JP8075368A
Other languages
Japanese (ja)
Other versions
JP2787980B2 (en
Inventor
Fan Wei-Fun
ファン ウェイ−フン
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.)
United Microelectronics Corp
Original Assignee
United Microelectronics 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 United Microelectronics Corp filed Critical United Microelectronics Corp
Priority to JP8075368A priority Critical patent/JP2787980B2/en
Publication of JPH09247127A publication Critical patent/JPH09247127A/en
Application granted granted Critical
Publication of JP2787980B2 publication Critical patent/JP2787980B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an error correcting virtual reception buffet device by which the flow of continuous normal data is received when a data error state occurs during transmission and, at the same time, the correction of a data symbol which becomes invalid is given so as to unnecessitate data retransmission. SOLUTION: The length comparator 21 of a buffer controller compares a count value held in a buffer counter 24 with the whole memory space of a buffer and monitors the overflow of a decoding device. When the counter number of the buffer counter 24 is equal to the memory space of the buffer or larger, a buffer usage impossible signal 26 is issued and the overflow operation of the decoding device is started. Thus, data pre-existing in the buffer is evaded to be improperly masked so that the decoder executes error correction in order to recover lost data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、一般に、データ受
信用バッファ(緩衝器)に関する。本発明は、特に、到
来情報を受信し、到来データの流れの通常の受信動作を
中断することなくデータの誤りを訂正するためのバッフ
ァに向けられたものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention generally relates to a data receiving buffer (buffer). The present invention is particularly directed to a buffer for receiving incoming information and correcting data errors without interrupting the normal receiving operation of the incoming data stream.

【0002】[0002]

【従来の技術】符復号器(符号器−復号器)装置はテキ
スト(文書)およびグラフィック(図表)の両方の情報
の伝送のために種々の装置で広く利用されている。例え
ば、従来のモデム(変調器−復調器)装置は、通信網に
乗せる前に、遠隔の受信側に送信すべきデータを符号化
する。所定の伝送プロトコルに基づいて、受信側のモデ
ム装置は、受信したデータの流れを復号し、最初に符号
化され送信された情報に再構成する。したがって、初期
の情報のコピーが受信側で複製され、初期情報と厳密に
一致したフォーマット(書式)が得られる。
BACKGROUND OF THE INVENTION Codec (coder-decoder) devices are widely used in various devices for the transmission of both text (document) and graphic (graphic) information. For example, a conventional modem (modulator-demodulator) device encodes data to be transmitted to a remote receiver before being put on a communication network. Based on a predetermined transmission protocol, the receiving modem device decodes the received data stream and reconstructs it into the first encoded and transmitted information. Therefore, a copy of the initial information is duplicated on the receiving side, and a format that exactly matches the initial information is obtained.

【0003】CD−ROMおよびハードディスクドライ
ブのような大容量記憶装置を用いるデータの記憶と読み
出しの技術では、データは記憶空間効率及び(又は)安
全を高めるために、符号化したフォーマットでしばしば
記憶されていた。このような装置で記憶されるデータは
ある形式の誤り訂正符号化計画に従って通常符号化され
て受信したデータの訂正を保証し、そのデータはまた安
全のためにしばしば暗号化される。記憶装置から読み出
されたそのようなデータは、実際に利用する前に、予備
の復号化を必要とする。符復号装置は、情報の伝送を通
常は含むデータ符号化および復号化手順で重要な役割を
果たしている。
In data storage and retrieval techniques using mass storage devices such as CD-ROMs and hard disk drives, data is often stored in an encoded format to increase storage space efficiency and / or security. I was The data stored in such devices is typically encoded according to some form of error correction coding scheme to ensure correction of the received data, and that data is also often encrypted for security. Such data read from storage requires preliminary decoding before it is actually used. Codecs play an important role in data encoding and decoding procedures, which usually involve the transmission of information.

【0004】図1(先行の技術)は従来例のデータ受信
復号器装置のブロック図である。到来データの流れはレ
ジスタまたはメモリ素子の配列を含んでいる受信バッフ
ァ10の入力に接続されている。通信網の異なったステ
ータス状態によって、データは刻々と異なった速度で受
信バッファ10に流入する。復号器11はデータが受信
バッファ10に流入する速度よりも遅い速度でデータを
復号してもよい。したがって、受信バッファ10は、と
きには、データを累算し、累算したデータを保持するよ
うにしてもよい。データ出力ユニット12は復号器11
から受け取ったデータを出力するために復号器11の出
力に接続されている。バッファコントローラ20は受信
バッファ10を制御する。
FIG. 1 (Prior Art) is a block diagram of a conventional data receiving and decoding apparatus. The incoming data stream is connected to the input of a receive buffer 10 containing an array of registers or memory elements. Due to different status conditions of the communication network, data flows into the receive buffer 10 at different moments. The decoder 11 may decode the data at a lower speed than the speed at which the data flows into the reception buffer 10. Therefore, the reception buffer 10 may sometimes accumulate the data and hold the accumulated data. The data output unit 12 is a decoder 11
Is connected to the output of the decoder 11 for outputting the data received from it. The buffer controller 20 controls the reception buffer 10.

【0005】復号器11は、受信バッファ10から受け
取った符号化したデータの復号を実行するエンジンであ
る。復号器11の復号能力は、データ受信および復号装
置全体が動作するときの最大速度に密接に関連してい
る。復号器11の復号能力が大きければ大きいほど、装
置のスループット(処理能力)は高くなる。しかし、関
連するハードウエアは一層複雑となる。
[0005] The decoder 11 is an engine that executes decoding of encoded data received from the reception buffer 10. The decoding capability of the decoder 11 is closely related to the maximum speed at which the entire data receiving and decoding device operates. The larger the decoding capacity of the decoder 11, the higher the throughput (processing capacity) of the apparatus. However, the associated hardware becomes more complex.

【0006】データ出力ユニット12は、復号したデー
タを必要とする外部装置に復号したデータを伝送する。
従来例の復号器装置における出力ユニットは、遅延なし
に迅速に、受け取って復号したデータを通常は中継す
る。したがって、従来例の出力ユニットのデータ出力速
度は固定されていない。しかしながら、いくつかの装置
では、復号したデータの出力は、プロトコルで取り決め
られたものに対して固定された速度に維持されねばなら
ない。例えば、CDDA用の復号したデータ出力の速度
は176.4バイト/秒に固定されている。
The data output unit 12 transmits the decrypted data to an external device that needs the decrypted data.
The output unit in the prior art decoder device normally relays the received and decoded data quickly without delay. Therefore, the data output speed of the conventional output unit is not fixed. However, in some devices, the output of the decoded data must be maintained at a fixed rate relative to that negotiated by the protocol. For example, the speed of outputting decoded data for CDDA is fixed at 176.4 bytes / sec.

【0007】バッファコントローラ20は受信バッファ
10の動作を制御する。例えば、バッファコントローラ
20は受信バッファ10のデータ記憶のオーバーフロー
の状態を監視し制御する。例として、データのオーバー
フローがあるときには、バッファコントローラ20は、
データ供給源がデータを受信バッファ10に送る速度を
減ずることを要求する入力速度制御信号13をデータ供
給源(図示せず)に発行することができる。符号15は
復号器11によってバッファコントローラ20に発行さ
れた速度制御信号を表す。
The buffer controller 20 controls the operation of the reception buffer 10. For example, the buffer controller 20 monitors and controls the state of overflow of data storage in the reception buffer 10. As an example, when there is a data overflow, the buffer controller 20
An input rate control signal 13 may be issued to the data source (not shown) requesting that the data source reduce the rate at which data is sent to the receive buffer 10. Reference numeral 15 represents a speed control signal issued to the buffer controller 20 by the decoder 11.

【0008】[0008]

【発明が解決しようとする課題】通常、受信した符号化
したデータの復号を実行する復号器装置は、到来データ
を受け取るバッファに密接に結合されている。データの
入力速度が復号器の復号速度より大きいときには常に、
バッファデータのオーバーフローが発生する。バッファ
のデータオーバーフロー状態が存在するとき、従来例の
データ受信および復号装置で用いられる唯一の解決策は
オーバーフロー中に失われたデータの再送信を要求する
ことである。データのオーバーフローの状態に応答する
動作がとられない場合の結果は、オーバーフローしたデ
ータの喪失ばかりでなく、伝送ブロック内のデータの全
体の流れがシフトされ(ずらされ)フォーマットをはず
れ、データの長い区間が誤って解釈されることになる。
喪失したデータの長さは復号器装置の設計によって決ま
る。他方、無効となったデータの再送信(再伝送)が要
求される場合には、データ伝送のための時間全体が延長
される結果となる。
Generally, a decoder device that performs decoding of received encoded data is closely coupled to a buffer that receives incoming data. Whenever the input speed of the data is greater than the decoding speed of the decoder,
Buffer data overflow occurs. When a buffer data overflow condition exists, the only solution used in prior art data receiving and decoding devices is to require retransmission of data lost during the overflow. The consequences of not taking action in response to a data overflow condition are not only the loss of overflowed data, but also the entire flow of data within the transmission block is shifted (shifted) out of format and the length of data is increased. The interval will be misinterpreted.
The length of the lost data depends on the design of the decoder device. On the other hand, if retransmission (retransmission) of invalid data is required, the result is that the entire time for data transmission is extended.

【0009】例えば、図3Aは、通常の伝送状態の下で
の復号したデータの代表的なデータフォーマットを示
す。図3Bは、図3Aと同様なデータであるが、喪失し
たデータを回復するための適切な取扱いを行わない結
果、オーバーフロー状態で無効となるデータを示す。図
3Aのデータ伝送の流れでは、装置は、n個のデータ記
号毎に1つの同期信号を発生する。同期信号は伝送され
る予定のデータの新たなブロックの開始を知らせるもの
である。
For example, FIG. 3A shows a representative data format of decoded data under normal transmission conditions. FIG. 3B shows data that is similar to FIG. 3A but becomes invalid in an overflow state as a result of not taking proper care to recover lost data. In the data transmission flow of FIG. 3A, the device generates one synchronization signal for every n data symbols. The synchronization signal signals the start of a new block of data to be transmitted.

【0010】通常の状態の下では、データ伝送の流れの
フォーマットは図3Aに示すようなものである。しか
し、例えば、データ伝送中第4番目のデータ記号でオー
バーフロー状態が発生すると、第4番目のデータ記号は
全て失われ、復号データ受信バッファ中には書き込まれ
ない。したがって、第5番目のデータ記号が第4番目の
データ記号が占有するはずだった位置にシフト(ずら)
され、その結果、第4番目のデータ記号として解釈され
る。同様に、第6番目のデータ記号が第5番目のデータ
記号として誤って処理され、n番目のデータ記号が(n
−1)番目のデータ記号として誤って処理される。この
ことは、第4番目のデータ記号を含めてそれ以後の全て
のデータ記号がデータフォーマットの規則に基づいてす
べて不正確に解釈されるという深刻な状況である。この
ことは復号器装置の一般的な誤り訂正装置の能力をはる
かに越え、全データブロックは再伝送されねばならな
い。
Under normal conditions, the format of the data transmission stream is as shown in FIG. 3A. However, for example, if an overflow condition occurs in the fourth data symbol during data transmission, the fourth data symbol is completely lost and is not written in the decoded data reception buffer. Therefore, the fifth data symbol is shifted (shifted) to a position where it should have been occupied by the fourth data symbol.
As a result, it is interpreted as the fourth data symbol. Similarly, the sixth data symbol is incorrectly processed as the fifth data symbol, and the nth data symbol is (n
-1) It is incorrectly processed as the data symbol. This is a serious situation in which all subsequent data symbols, including the fourth data symbol, are all incorrectly interpreted based on the rules of the data format. This goes well beyond the capabilities of typical error correction devices in decoder devices, and all data blocks must be retransmitted.

【0011】したがって、本発明の主要な目的は、たと
えデータの誤り状態が伝送手順中に生じたとしても連続
的な通常のデータの流れの受信を可能にする誤り訂正仮
想受信バッファ装置を提供することにある。
Accordingly, it is a primary object of the present invention to provide an error correction virtual receive buffer apparatus which allows continuous normal data flow reception even if a data error condition occurs during the transmission procedure. It is in.

【0012】本発明の他の目的は、データの誤り状態が
伝送中が生じたときに連続した通常のデータの流れの受
信を可能にすると同時に無効となったデータ記号の訂正
を与えてデータの再伝送の必要をなくす誤り訂正仮想受
信バッファ装置を提供することにある。
Another object of the present invention is to enable the reception of a continuous normal data stream when a data error condition occurs during transmission while at the same time providing a correction for invalidated data symbols to provide for the correction of invalid data symbols. An object of the present invention is to provide an error correction virtual reception buffer device that eliminates the need for retransmission.

【0013】[0013]

【課題を解決するための手段】前述の目的を達成するた
めに、本発明は、バッファと、復号器と、バッファコン
トローラから成る誤り訂正仮想受信バッファ装置を提供
する。バッファは、外部データ供給源からくる符号化し
たデータを一時的に保持し、その後一時的に保持した符
号化データを復号のために復号器に出力するように、復
号器に接続されている。バッファコントローラはデータ
オーバーフロー状況中に失われた符号化データのデータ
記号のカウント数を保持するためのカウンタを有する。
バッファコントローラは、バッファにバッファ保留制御
信号を発行して到来した符号化データの後続するデータ
記号を保留し、バッファのメモリアレイにデータ記憶を
さらに行うのを防止する。カウンタはデータのオーバー
フロー中に失われたデータ記号の数の記録を保持し、復
号器は誤りを訂正して失ったデータ記号を回復させる。
In order to achieve the above-mentioned object, the present invention provides an error correction virtual reception buffer device comprising a buffer, a decoder, and a buffer controller. The buffer is connected to the decoder so as to temporarily hold the encoded data coming from the external data source, and then output the temporarily held encoded data to the decoder for decoding. The buffer controller has a counter for keeping a count of the data symbols of the encoded data lost during the data overflow situation.
The buffer controller issues a buffer hold control signal to the buffer to hold subsequent data symbols of the incoming coded data to prevent further data storage in the buffer's memory array. The counter keeps track of the number of data symbols lost during the data overflow, and the decoder corrects the error to recover the lost data symbols.

【0014】前述の目的を達成するために、本発明は、
バッファコントローラがオーバーフロー検出器をさらに
有する誤り訂正仮想受信バッファ装置を提供する。デー
タオーバーフロー中失った符号化データ記号のカウント
数を保持するバッファコントローラのカウンタは、デー
タのイン−カウンタとデータのアウト−カウンタを有す
る。データのイン−カウンタは、外部データ供給源から
の1つのデータ記号が一時的な記憶のためにバッファに
受け入れられたとき、保持しているカウント数に1を加
え、データのアウト−カウンタは、また、バッファに保
持された1つのデータ記号が下流の復号器に送られたと
き、保持しているカウント数から1を引く。オーバーフ
ロー検出器は、バッファのオーバーフロー状態とオーバ
ーフローの程度を決めるために、データのイン−カウン
タとデータのアウト−カウンタのそれぞれに保持されて
いるカウント数を比べる。
To achieve the above object, the present invention provides
An error correction virtual reception buffer device wherein the buffer controller further comprises an overflow detector. The buffer controller's counter that keeps a count of the number of encoded data symbols lost during data overflow has a data in-counter and a data out-counter. The data in-counter adds one to the retained count when one data symbol from an external data source is accepted into the buffer for temporary storage, and the data out-counter Also, when one data symbol held in the buffer is sent to the downstream decoder, one is subtracted from the held count number. The overflow detector compares the counts held in each of the data in-counter and the data out-counter to determine the overflow state of the buffer and the extent of the overflow.

【0015】[0015]

【発明の実施の形態】図1は代表的なデータ受信および
復号装置のブロック図である。この装置を本発明の好ま
しい実施例の誤り訂正仮想受信バッファ装置として用い
るとき、バッファコントローラ20は図2に示すように
なる。
FIG. 1 is a block diagram of a typical data receiving and decoding apparatus. When this device is used as the error correction virtual reception buffer device of the preferred embodiment of the present invention, the buffer controller 20 becomes as shown in FIG.

【0016】図2のバッファコントローラは、データの
オーバーフロー中に失ったデータ記号をカウントするカ
ウンタを含む。バッファコントローラ20の制御の下で
は、レジスタまたはメモリのアレイから成るデータ受信
および復号装置の物理バッファ空間が満杯であり、符号
化データが引続き入ってくるときには常に、バッファ作
用が損なわれた状態で、入力されたデータ記号の数の記
録だけが保持される。バッファの満杯状態の結果失われ
たデータ記号の物理内容は実際には記録されない。この
ことにより、現在受信されているデータフォーマットの
正確な追跡が可能となる。
The buffer controller of FIG. 2 includes a counter that counts data symbols lost during data overflow. Under the control of the buffer controller 20, the physical buffer space of the data receiving and decoding device, consisting of an array of registers or memories, is full and, whenever encoded data continues to come in, buffering is impaired, Only a record of the number of data symbols entered is kept. The physical content of data symbols lost as a result of a buffer full condition is not actually recorded. This allows for accurate tracking of the currently received data format.

【0017】例えば、バッファのメモリ空間が満杯であ
ることによって3つの連続したデータ記号の喪失(バッ
ファ内に記録されない)を生じさせるデータオーバーフ
ロー状態が存在していると仮定する。その場合、失われ
た3つのデータ記号の後の最初のデータ記号の到着前
に、バッファのオーバーフロー状態が回復され、バッフ
ァは到来符号化データの流れの通常の受信を再び継続で
きる。
For example, assume that there is a data overflow condition that causes the loss of three consecutive data symbols (not recorded in the buffer) due to the full memory space of the buffer. In that case, before the arrival of the first data symbol after the three lost data symbols, the overflow condition of the buffer is restored and the buffer can resume normal reception of the incoming coded data stream again.

【0018】復号装置は3つの喪失したデータ記号の正
しいデータ内容の受信に成功しなかったが、復号装置は
3つのデータ記号が現在のデータブロックの伝送中喪失
したという記録を持ち、復号装置は、また、3つのデー
タ記号がどの特定の3つのデータ記号かを知ることがで
きる。復号装置には、復号器の論理回路の誤り訂正能力
を利用して、その後の適切な時間に3つの喪失したデー
タ記号の内容を回復する機会がある。このことにより、
復号装置は無効となる一連のデータを生じさせる状況を
回避でき、2、3のデータ記号の受信が失敗したとして
もデータの受信処理は継続できる。また、このことによ
り、データブロック全体の時間のかかる再伝送の必要性
を回避できる。これらすべてのことが、ハードウエア論
理回路をそれ程複雑にすることなく、本発明の誤り訂正
仮想受信バッファ装置において達成される。
Although the decoding device did not successfully receive the correct data content of the three lost data symbols, the decoding device has a record that three data symbols were lost during the transmission of the current data block, and the decoding device has , And which three data symbols are particular three data symbols. The decoder has the opportunity to take advantage of the error correction capabilities of the decoder logic to recover the contents of the three missing data symbols at the appropriate time thereafter. This allows
The decoding device can avoid a situation that generates a series of invalid data, and can continue the data reception process even if the reception of a few data symbols fails. This also avoids the need for time-consuming retransmission of the entire data block. All of this is achieved in the error correction virtual receive buffer apparatus of the present invention without significantly complicating the hardware logic.

【0019】符号化データの伝送処理中、入力符号化デ
ータ記号は符号化データ受信バッファ10に連続的に記
録される。バッファ10は物理メモリスタック(図1参
照)および仮想メモリスタック(図1参照)を含む。通
常の状況では、バッファ10は、到来データ記号を順番
に引続き受信し、次いで、物理メモリスタック101に
記憶するようにプログラムされている。同様に、バッフ
ァ10は、引続き、データの流れの下流に接続された復
号器11に同一の順番で記憶したデータ記号を送り出
す。しかし、バッファ10の物理メモリスタック101
で何らかのデータのオーバーフロー状況が発生すると、
図1に示すようなバッファコントローラ20は到来符号
化データ記号の流れを制御し正しい流れを維持する。こ
のことは、データオーバーフロー状況の結果として物理
メモリスタック101に記録損ねた喪失したデータの数
をカウントすることを仮想メモリスタック102に命令
することによって、バッファコントローラ20により達
成される。
During the transmission of the encoded data, the input encoded data symbols are continuously recorded in the encoded data receiving buffer 10. Buffer 10 includes a physical memory stack (see FIG. 1) and a virtual memory stack (see FIG. 1). Under normal circumstances, the buffer 10 is programmed to successively receive incoming data symbols and then store them in the physical memory stack 101. Similarly, the buffer 10 subsequently sends the stored data symbols in the same order to a decoder 11 connected downstream of the data stream. However, the physical memory stack 101 of the buffer 10
If any data overflow situation occurs in
A buffer controller 20 as shown in FIG. 1 controls the flow of incoming coded data symbols and maintains the correct flow. This is accomplished by the buffer controller 20 by instructing the virtual memory stack 102 to count the number of lost data that failed to be recorded on the physical memory stack 101 as a result of a data overflow situation.

【0020】図2はバッファコントローラのブロック図
である。バッファコントローラ20は、符号化データの
イン−カウンタ23、データのアウト−カウンタ25、
バッファカウンタ24、データの長さ比較器21から成
る。復号中、外部供給源から受信した符号化データ[バ
ッファ10(図1)に一時的に記憶され、引続き復号の
ためにバッファ10から復号器11(図1)に出力され
るデータ]の各ブロックは、厳密なデータ記号の数のカ
ウント制御を維持するために、符号化データのイン−カ
ウンタ23とデータのアウト−カウンタ25によって監
視される。
FIG. 2 is a block diagram of the buffer controller. The buffer controller 20 includes an in-counter 23 for encoded data, an out-counter 25 for data,
It comprises a buffer counter 24 and a data length comparator 21. During decoding, each block of encoded data received from an external source [data temporarily stored in buffer 10 (FIG. 1) and output from buffer 10 to decoder 11 (FIG. 1) for subsequent decoding] Is monitored by an encoded data in-counter 23 and a data out-counter 25 to maintain strict control of the number of data symbols.

【0021】即ち、データ記号がバッファ10に保持さ
れようとするときには常に、外部論理回路がデータ書込
み信号14を発行し、その結果、イン−カウンタ23と
バッファカウンタ24は、それらが各々保持するカウン
タ数に1を加える。一方、イン−カウンタ23によって
保持されたカウント数はバス27を通して復号装置のア
ドレス発生器に中継され、バッファ10内に保持される
受信したデータ記号のアドレスを指示する。
That is, whenever a data symbol is about to be stored in the buffer 10, the external logic circuit issues a data write signal 14, so that the in-counter 23 and the buffer counter 24 Add 1 to the number. On the other hand, the count number held by the in-counter 23 is relayed to the address generator of the decoding device via the bus 27 and indicates the address of the received data symbol held in the buffer 10.

【0022】同様に、データ記号が次の動作のためにバ
ッファ10から取り出されようとすときには常に、外部
論理回路がデータ読み取り信号15を発行し、その結
果、アウト−カウンタ25はそれが保持しているカウン
ト数に1を加える。アウト−カウンタ25によって保持
されたカウント数は、同様に、バス28を通して復号装
置のアドレス発生器に中継され、バッファ10から取り
出されるデータ記号のアドレスを指示する。
Similarly, whenever a data symbol is about to be fetched from buffer 10 for the next operation, the external logic issues a data read signal 15 so that out-counter 25 holds it. Add 1 to the current count. The count held by the out-counter 25 is similarly relayed over the bus 28 to the address generator of the decoder and indicates the address of the data symbol to be retrieved from the buffer 10.

【0023】しかしながら、データ記号がバッファ10
から取り出されるとき(データ読み取り信号15の発行
によって知ることができる)、バッファ中へのデータの
記憶の場合と異なって、バッファカウンタ24は、加え
る代わりに、保持しているカウント数から1を引く。こ
のようにして、バッファカウンタ24によって保持され
ているカウント数は、1つのデータ記号がその中に記憶
されるときには、1つ増やされ、1つのデータ記号がそ
の中から取り出されるときには、1つ減らされる。言い
換えると、バッファカウンタ24内に保持されているカ
ウント数は、復号装置のバッファ10の中に保持された
データ記号の総数を表すのに利用できる。
However, the data symbol is
When fetched from (which can be known by issuing the data read signal 15), unlike the case of storing data in the buffer, the buffer counter 24 subtracts 1 from the number of counts it holds instead of adding. . In this way, the count maintained by buffer counter 24 is incremented by one when one data symbol is stored therein and decremented by one when one data symbol is retrieved therefrom. It is. In other words, the count held in the buffer counter 24 can be used to represent the total number of data symbols held in the buffer 10 of the decoding device.

【0024】したがって、バッファカウンタ24の初期
カウント数がバッファ10中に保持されるデータ記号に
対する全メモリ位置の数に予め設定される場合には、バ
ッファカウンタ24によって保持されるカウント数がバ
ッファ10中の記憶空間の総数より小さいときには常
に、外部供給源から復号装置に連続して到来するデータ
記号を記憶する余地がある。他方、バッファカウンタ2
4によって保持されているカウント数がバッファ10中
の記憶空間の総数に等しいかより大きい場合には、バッ
ファ10内には、到来するデータ記号を記憶する余地は
なく、データのオーバーフローの状態が起きる。
Therefore, if the initial count of buffer counter 24 is preset to the number of all memory locations for data symbols held in buffer 10, the count held by buffer counter 24 will be When there is less than the total number of storage spaces, there is room to store data symbols that continuously arrive at the decoder from an external source. On the other hand, buffer counter 2
If the count held by 4 is equal to or greater than the total number of storage spaces in buffer 10, there is no room in buffer 10 to store the incoming data symbol and a data overflow condition occurs. .

【0025】バッファコントローラ20の長さ比較器2
1はバッファカウンタに保持されたカント値とバッファ
10の全記憶空間を断えず比較することによって復号装
置のオーバーフロー状態を監視するのに利用できる。バ
ッファカウンタ24のカウンタ数がバッファ10の記憶
空間に等しいかより大きいときには常に、バッファディ
スエイブル(使用不能)信号26が長さ比較器21によ
って発行され、復号装置のオーバーフロー動作を開始す
る。これによって外部データ記号の次の入力が防止さ
れ、バッファ10内に既にあるデータ記号を不適切にマ
スクする状況を回避する。
Length comparator 2 of buffer controller 20
1 can be used to monitor the overflow status of the decoding device by constantly comparing the cant value held in the buffer counter with the total storage space of the buffer 10. Whenever the counter number of the buffer counter 24 is equal to or greater than the storage space of the buffer 10, a buffer disable (unusable) signal 26 is issued by the length comparator 21 to start the overflow operation of the decoding device. This prevents subsequent input of external data symbols, avoiding the situation of improperly masking data symbols already in the buffer 10.

【0026】基本的に、本発明の装置では、データオー
バーフロー状態がバッファ内で生じたと長さ比較器21
によって決定されると常に、バッファ10は、バッファ
ディスエイブル信号26を受信することによって、到来
符号化データ記号の物理メモリスタック101への受信
を一時的に保留するように制御される。一方、符号化デ
ータ受信および復号装置に外部データ到来速度を制御す
る能力が備わっている場合には、入力速度制御信号13
を外部データ供給源に発行して、バッファコントローラ
20内の長さ比較器21によって検出されたデータオー
バーフローの程度に基づくデータ到来速度の調節を要求
する。普通、データオーバーフロー状況が検出される
と、外部データ供給源は、通常、データ伝送速度を減少
するように命令され、符号化データ受信および復号装置
がデータ復号手順の流れに追いつくことを可能にさせ
る。このことにより、また、失ったデータ記号の数が誤
り訂正の能力を越えるという深刻な状況を防止できる。
そのような状況がもし起これば、無効となったデータブ
ロックの再伝送が不可欠となる。他方、データオーバー
フローが解除され、データ受信手順が再び通常に戻ると
きには常に、外部データ供給源のデータ伝送速度が適切
な命令を発行する入力速度制御信号13を介してより高
速であるように調整されてもよく、その結果、装置のス
ループットがその可能な最大速度まで増加できる。
Basically, in the apparatus of the present invention, the length comparator 21 determines that a data overflow condition has occurred in the buffer.
Whenever determined, the buffer 10 is controlled to temporarily suspend the reception of incoming coded data symbols to the physical memory stack 101 by receiving the buffer disable signal 26. On the other hand, if the encoded data receiving and decoding device is equipped with the ability to control the external data arrival speed, the input speed control signal 13
To the external data source to request adjustment of the data arrival rate based on the degree of data overflow detected by the length comparator 21 in the buffer controller 20. Normally, when a data overflow situation is detected, the external data source is typically commanded to reduce the data transmission rate, allowing the encoded data receiving and decoding device to keep up with the flow of the data decoding procedure. . This also prevents a serious situation where the number of lost data symbols exceeds the capability of error correction.
If such a situation occurs, retransmission of the invalidated data block is essential. On the other hand, whenever the data overflow is released and the data reception procedure returns to normal again, the data transmission rate of the external data source is adjusted to be higher via the input rate control signal 13 issuing the appropriate command. As a result, the throughput of the device can be increased to its maximum possible speed.

【0027】このようにして、本発明の誤り訂正仮想受
信バッファ装置では、何らかのデータオーバーフロー状
態が発生するときには常に、符号化データ受信および復
号装置全体は、中断なしに、到来データの受信と復号を
連続的に処理できる。一方、復号装置は、オーバーフロ
ー状態が生じた場合には、失ったデータ記号の記録を同
時に保持し、引続き、その備わった誤り訂正能力を利用
して、可能な後の適切な時に、失ったデータ記号を訂正
する。本発明の装置は、バッファの仮想メモリスタック
内の失ったデータを仮想的にカウントすることによっ
て、訂正データの流れのフォーマットを保持する。かく
して、伝送されたデータの流れに沿ったデータ記号の幾
つかがデータオーバーフローの状況の下で実際に受信さ
れなかったとしても、復号装置は、データオーバーフロ
ーがバーストデータエラーのような深刻な状況にない限
りは、データ再伝送を要求する必要はない。
As described above, in the error correction virtual reception buffer device of the present invention, the coded data reception and decoding device as a whole receives and decodes incoming data without interruption whenever any data overflow condition occurs. Can be processed continuously. On the other hand, if an overflow condition occurs, the decoding device simultaneously keeps a record of the lost data symbol and continues to take advantage of its built-in error correction capabilities to allow the lost data Correct the symbol. The apparatus of the present invention preserves the format of the corrected data stream by virtually counting lost data in the buffer's virtual memory stack. Thus, even if some of the data symbols along the transmitted data stream were not actually received under the circumstances of the data overflow, the decoding device would still be in a severe situation, such as a burst data error. Unless otherwise, there is no need to request data retransmission.

【0028】例えば、図3Cは、伝送手順中データオー
バーフロー状態に出会ったとき、本発明の好ましい実施
例の装置を利用して、データブロック受信の手順全体を
正しく引き受ける場合に、図3Aに示す形式の流れの中
のデータの配列を示す。図面に示すように、第4番目の
データ記号がオーバーフロー状態を受けて、バッファ内
に上手く受信できなかったが、失った第4番目以後の連
続したデータ記号は中断なしに正しく受信されたもので
ある。したがって、データブロックフォーマット全体は
正しく保持され、失った第4番目のデータ記号は復号装
置の誤り訂正能力を利用してその後回復される。
For example, FIG. 3C illustrates a case where a data overflow condition is encountered during a transmission procedure, and the apparatus of the preferred embodiment of the present invention is used to correctly undertake the entire procedure of receiving data blocks. 3 shows an array of data in the flow of FIG. As shown in the drawing, the fourth data symbol was not successfully received in the buffer due to the overflow condition, but the lost fourth and subsequent consecutive data symbols were correctly received without interruption. is there. Thus, the entire data block format is correctly retained and the lost fourth data symbol is subsequently recovered using the error correction capabilities of the decoding device.

【0029】[0029]

【発明の効果】以上説明したように、本発明によれば、
たとえデータの誤り状態が伝送手順中に生じたとしても
連続的な通常のデータの流れの受信を可能にする誤り訂
正仮想受信バッファ装置が得られる。
As described above, according to the present invention,
An error-correcting virtual receive buffer device is provided that allows continuous normal data flow reception even if a data error condition occurs during the transmission procedure.

【0030】また、データの誤り状態が伝送中が生じた
ときに連続した通常のデータの流れの受信を可能にする
と同時に無効となったデータ記号の訂正を与えてデータ
の再伝送の必要をなくす誤り訂正仮想受信バッファ装置
が得られる。
Also, when a data error condition occurs during transmission, a continuous normal data flow can be received, and at the same time, invalidated data symbols are corrected to eliminate the need for data retransmission. An error correction virtual reception buffer device is obtained.

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

【図1】図1は、従来のデータ受信および復号装置のブ
ロック図である。
FIG. 1 is a block diagram of a conventional data receiving and decoding device.

【図2】図2は、本発明の好ましい実施例の誤り訂正仮
想受信バッファ装置のバッファコントローラのブロック
図である。
FIG. 2 is a block diagram of a buffer controller of the error correction virtual reception buffer device according to the preferred embodiment of the present invention.

【図3】図3Aは、通常のデータ伝送状態の下でのデー
タの流れのフォーマットを概略的に示し、図3Bは、伝
送中のデータのオーバーフローによって壊された、図3
Aに示し形式のデータの流れの概略を示し、図3Cは、
伝送手順中データのオーバーフローに出会ったとき、本
発明の好ましい実施例の装置を用いてデータ受信手順全
体を正しく保持するときの図3Aのデータの流れを概略
的に示す。
FIG. 3A schematically shows the format of the data flow under normal data transmission conditions, and FIG. 3B shows the format of FIG. 3 corrupted by data overflow during transmission.
FIG. 3A schematically shows the flow of data in the format shown in FIG.
FIG. 3B schematically illustrates the data flow of FIG. 3A when properly maintaining the entire data receiving procedure using the apparatus of the preferred embodiment of the present invention when a data overflow is encountered during the transmission procedure.

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

10 バッファ 11 復号器 12 出力ユニット 13 入力速度制御信号 14 データ書込み 15 データ読み出し 20 バッファコントローラ 101 物理メモリ 102 仮想メモリ 23 データのイン−カウンタ 24 バッファカウンタ 25 データのアウト−カウンタ 21 長さ比較器 26 バッファディスエイブル信号 Reference Signs List 10 buffer 11 decoder 12 output unit 13 input speed control signal 14 data write 15 data read 20 buffer controller 101 physical memory 102 virtual memory 23 data in-counter 24 buffer counter 25 data out-counter 21 length comparator 26 buffer Disable signal

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 バッファと、復号器と、バッファコント
ローラを有する誤り訂正仮想受信バッファ装置であっ
て、前記バッファは外部データ供給源から到来する符号
化したデータを一時的に保持し、次いで前記一時的に保
持した符号化したデータを復号のために前記復号器に出
力するように前記復号器に接続されている誤り訂正仮想
受信バッファ装置において、 前記バッファコントローラは前記バッファ中のデータの
オーバーフロー状態で失った前記符号化したデータのデ
ータ記号のカウント数を保持するカウント手段を有し、
前記バッファコントローラは前記到来する符号化したデ
ータの後続するデータ記号を前記バッファのメモリアレ
イに記憶することを保留するためにバッファ保留制御信
号を前記バッファに発行し、前記カウント手段は前記デ
ータのオーバーフロー状態中に失った前記データ記号の
数の記録を保持し、前記復号器は前記失ったデータ記号
を回復するために誤り訂正を実行することを特徴とする
誤り訂正仮想受信バッファ装置。
1. An error correcting virtual receive buffer device having a buffer, a decoder, and a buffer controller, wherein the buffer temporarily holds encoded data coming from an external data source, and then temporarily stores the encoded data. An error correction virtual reception buffer device connected to the decoder so as to output the coded data held in the buffer to the decoder for decoding, wherein the buffer controller is configured to output the data in the buffer in an overflow state. Having counting means for holding a count number of data symbols of the lost encoded data,
The buffer controller issues a buffer pending control signal to the buffer to suspend storing of subsequent data symbols of the incoming encoded data in a memory array of the buffer, and the counting means includes an overflow of the data. An error-corrected virtual receive buffer apparatus, comprising: maintaining a record of the number of said data symbols lost during a state; and wherein said decoder performs error correction to recover said lost data symbols.
【請求項2】 請求項1記載のバッファ装置において、
前記バッファコントローラは長さ比較器をさらに有し、 前記バッファコントローラの前記カウント手段は、デー
タのイン−カウンタと、データのアウト−カウンタと、
バッファカウンタとから成り、前記データのイン−カウ
ンタは保持したカウント数に1を加え、前記バッファカ
ウンタは前記外部データ供給源からのデータ記号が一時
的な記憶のために前記バッファに受信されたとき保持し
たカウント数に1を加え、前記データのアウト−カウン
タは保持したカウント数に1を加え、前記バッファカウ
ンタは前記バッファに保持されたデータ記号が復号のた
めに前記復号器に送られるとき保持したカウント数から
1を引き、前記長さ比較器は前記データのイン−カウン
タと前記データのアウト−カウンタにそれぞれ保持され
たカウント数を比較して前記バッファのオーバーフロー
状態とオーバーフローの程度を決定することを特徴とす
るバッファ装置。
2. The buffer device according to claim 1, wherein
The buffer controller further includes a length comparator, wherein the counting means of the buffer controller includes a data in-counter, a data out-counter,
A buffer counter, wherein the data in-counter adds one to the held count, and the buffer counter indicates when a data symbol from the external data source is received in the buffer for temporary storage. Add one to the held count, the data out-counter adds one to the held count, and the buffer counter holds the data symbol held in the buffer when it is sent to the decoder for decoding. The length comparator subtracts one from the counted number, and the length comparator compares the counted numbers held in the data in-counter and the data out-counter, respectively, to determine the overflow state of the buffer and the degree of overflow. A buffer device characterized by the above-mentioned.
【請求項3】 請求項2記載のバッファ装置において、
前記長さ比較器は、前記長さ比較器が前記バッファ中に
オーバーフロー状態を検出すると、前記データ供給源が
符号化したデータを前記バッファに伝送する速度を減少
させるために前記外部データ供給源に入力速度制御信号
を発行する手段を含むことを特徴とするバッファ装置。
3. The buffer device according to claim 2, wherein
When the length comparator detects an overflow condition in the buffer, the length comparator communicates with the external data source to reduce a speed at which the data source transmits encoded data to the buffer. A buffer device comprising means for issuing an input speed control signal.
【請求項4】 請求項3記載のバッファ装置において、
前記長さ比較器は、オーバーフロー状態中に失った前記
データ記号が回復できないとき、符号化したデータの再
伝送を要求する要求信号を前記外部データ供給源に発行
する手段を含むことを特徴とするバッファ装置。
4. The buffer device according to claim 3, wherein
The length comparator includes means for issuing a request signal to the external data source requesting retransmission of encoded data when the data symbol lost during the overflow condition cannot be recovered. Buffer device.
【請求項5】 請求項4記載のバッファ装置において、
前記符号化したデータの受信および復号の装置スループ
ットを可能な最大値に増大させるために増加したデータ
伝送速度を要求する要求信号を前記外部データ供給源に
発行する手段を含むことを特徴とするバッファ装置。
5. The buffer device according to claim 4, wherein
A buffer for issuing to the external data source a request signal requesting an increased data transmission rate to increase the apparatus throughput of receiving and decoding the encoded data to a maximum possible value. apparatus.
JP8075368A 1996-03-06 1996-03-06 Error correction virtual reception buffer device Expired - Lifetime JP2787980B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8075368A JP2787980B2 (en) 1996-03-06 1996-03-06 Error correction virtual reception buffer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8075368A JP2787980B2 (en) 1996-03-06 1996-03-06 Error correction virtual reception buffer device

Publications (2)

Publication Number Publication Date
JPH09247127A true JPH09247127A (en) 1997-09-19
JP2787980B2 JP2787980B2 (en) 1998-08-20

Family

ID=13574216

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8075368A Expired - Lifetime JP2787980B2 (en) 1996-03-06 1996-03-06 Error correction virtual reception buffer device

Country Status (1)

Country Link
JP (1) JP2787980B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240955A (en) * 2017-07-11 2019-01-18 富士施乐株式会社 Electronic device
CN115529109A (en) * 2021-10-27 2022-12-27 青岛海尔智能家电科技有限公司 Data processing method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240955A (en) * 2017-07-11 2019-01-18 富士施乐株式会社 Electronic device
JP2019020766A (en) * 2017-07-11 2019-02-07 富士ゼロックス株式会社 Electronic apparatus
CN109240955B (en) * 2017-07-11 2024-02-20 富士胶片商业创新有限公司 Electronic device
CN115529109A (en) * 2021-10-27 2022-12-27 青岛海尔智能家电科技有限公司 Data processing method and device

Also Published As

Publication number Publication date
JP2787980B2 (en) 1998-08-20

Similar Documents

Publication Publication Date Title
US4042783A (en) Method and apparatus for byte and frame synchronization on a loop system coupling a CPU channel to bulk storage devices
US4357702A (en) Error correcting apparatus
US8855145B2 (en) Jitter buffer
US9246644B2 (en) Jitter buffer
AU635117B2 (en) Transmitting encoded data on unreliable networks
EP0671738B1 (en) Method and device for reproducing data
EP1880472B1 (en) Systems and methods for decoding forward error correcting codes
JPH0343813B2 (en)
US8948213B2 (en) Jitter buffer
US5694404A (en) Error-correcting virtual receiving buffer apparatus
JP2787980B2 (en) Error correction virtual reception buffer device
JP4380930B2 (en) Audio / video decoding / playback apparatus and synchronized playback method thereof
AU609646B2 (en) Method and apparatus for detecting impending overflow and/or underrun of elasticity buffer
US8798167B2 (en) Encoder and its method
US7085990B2 (en) Preparation of data for a Reed-Solomon decoder
KR100754905B1 (en) Preparation of data for a reed-solomon decoder
JP2001216096A (en) Storage, storage system using the storage and error occurrence notification method used for the storage and the system
JPH07121999A (en) Signal encoder, signal decoder, signal encoding and decoding method
JP3649766B2 (en) How to receive teletext data items
JP2805780B2 (en) Magnetic disk drive
JP2835270B2 (en) Image transmission device
JPH11146354A (en) Video audio decoder
JP2729918B2 (en) Image transmission device
JPH086871A (en) Fault detection system
JPH03117219A (en) Variable length coding transmission system and transmitter and receiver for variable length coding transmission

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080605

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090605

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100605

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110605

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110605

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120605

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120605

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130605

Year of fee payment: 15

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term