JPH05219133A - Coded data reception circuit - Google Patents
Coded data reception circuitInfo
- Publication number
- JPH05219133A JPH05219133A JP4018087A JP1808792A JPH05219133A JP H05219133 A JPH05219133 A JP H05219133A JP 4018087 A JP4018087 A JP 4018087A JP 1808792 A JP1808792 A JP 1808792A JP H05219133 A JPH05219133 A JP H05219133A
- Authority
- JP
- Japan
- Prior art keywords
- data
- synchronization detection
- received
- memory
- unit
- 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
Links
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
- Communication Control (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、所定数のデータを単位
に符号化されたデータを受信する回路に関するものであ
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a circuit for receiving data encoded in units of a predetermined number of data.
【0002】[0002]
【従来の技術】従来、送信データが所定数のデータを単
位に符号化され、受信側ではデータを符号化単位で扱う
必要がある場合、送信側はデータを単位データ数ごとに
分割して送信していた。2. Description of the Related Art Conventionally, when transmission data is coded in units of a predetermined number of data and the receiving side needs to handle the data in coding units, the transmitting side divides the data into unit data and transmits the data. Was.
【0003】[0003]
【発明が解決しようとする課題】しかし、送信の単位デ
ータ数を符号化の単位データ数に一致させた場合には、
符号化の単位データ数が可変のとき、送信の単位データ
数も変化することになり、通信効率の点で不利となる。
一方、送信の単位データ数を通信効率の良い一定のデー
タ数とした場合には、受信側で符号化データを復号する
際、復号中にデータが途切れる場合が生じ、符号化単位
のデータを連続して受け取って復号する装置ではデータ
の復号が不可能となる。However, when the number of unit data for transmission is made equal to the number of unit data for coding,
When the number of encoded unit data is variable, the number of transmitted unit data also changes, which is disadvantageous in terms of communication efficiency.
On the other hand, when the number of unit data for transmission is a fixed number of data with good communication efficiency, when decoding the encoded data on the receiving side, the data may be interrupted during the decoding, and the data of the encoding unit is continuous. Then, the device that receives and decrypts the data cannot decrypt the data.
【0004】本発明の目的は、このような問題を解決す
るため、データを分割して送信する必要のない符号化デ
ータ受信回路を提供することにある。An object of the present invention is to provide a coded data receiving circuit which eliminates the need for dividing and transmitting data in order to solve such a problem.
【0005】[0005]
【課題を解決するための手段】本発明は、符号化単位ご
とに、その先頭であることを示す同期検出データが付加
された符号化データを受信するデータ受信回路におい
て、受信データより前記同期検出データを検出する同期
検出回路と、この同期検出回路が検出した連続する2つ
の前記同期検出データの間のデータ数を計数するカウン
タと、このカウンタが計数した前記データ数を記憶する
メモリと、前記受信データを蓄積するデータバッファ
と、前記メモリが記憶する前記データ数を単位データ数
とし、各単位データ数のデータを、各単位データ数のデ
ータごとに連続して前記データバッファより読み出す読
み出し制御回路とを備えたことを特徴とする。According to the present invention, in a data receiving circuit for receiving coded data to which sync detection data indicating the beginning of each coded unit is added, the sync detection is performed from the received data. A synchronization detection circuit for detecting data; a counter for counting the number of data between two consecutive synchronization detection data detected by the synchronization detection circuit; a memory for storing the number of data counted by the counter; A data buffer for accumulating received data, and a read control circuit for taking the number of data stored in the memory as a unit data number and continuously reading the data of each unit data number from the data buffer for each data of each unit data number. It is characterized by having and.
【0006】[0006]
【実施例】次に本発明の実施例について図面を参照して
説明する。図1に本発明による符号化データ受信回路の
一例を示す。この受信回路には、符号化データの符号化
単位ごとに、その先頭であることを示す同期検出データ
が付加された符号化データが入力される。通信制御回路
1は、通信回線7よりそのようなデータを受信し、受信
データ8、受信クロック9、ならびにデータ終了信号1
0を出力する。データバッファ4は、受信データ8を受
信クロック9によってサンプリングし、内部メモリに蓄
積する。同期検出回路2は、受信データ8に含まれる同
期検出データを監視し、同期検出データを検出した場合
には同期検出信号11を出力する。データ数カウンタ3
は、同期検出信号11が入力されたとき、受信クロック
9にもとづいてデータ数の計数を開始し、次に同期検出
信号11が入力されたとき、それまでの計数値をカウン
トデータ12として出力する。そして、同時に計数値を
クリアして、データ数の計数を再開する。データ数メモ
リ5はFIFO(FirstIn First Out)の構成となって
おり、カウントデータ12を入力された順番に記憶す
る。読み出し制御回路6は同期検出信号11を監視し、
同期検出信号11が2回以上入力された場合、1符号化
単位以上の数のデータがデータバッファ4に蓄積されて
いると判断してデータ数メモリ5から最初の計数値、す
なわち符号化単位のデータ数をデータ長情報13として
読み込み、内部の読み出しカウンタにセットする。そし
て、1符号化単位分のデータを連続して読み出すための
読み出しクロック15をデータバッファ4に出力し、デ
ータバッファ4よりデータを読み出す。Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 shows an example of a coded data receiving circuit according to the present invention. The coded data to which the sync detection data indicating the head of the coded data is added is input to the receiving circuit for each coding unit of the coded data. The communication control circuit 1 receives such data from the communication line 7, receives the received data 8, the received clock 9, and the data end signal 1
Outputs 0. The data buffer 4 samples the reception data 8 by the reception clock 9 and stores it in the internal memory. The synchronization detection circuit 2 monitors the synchronization detection data included in the received data 8 and outputs the synchronization detection signal 11 when the synchronization detection data is detected. Data number counter 3
Starts counting the number of data based on the reception clock 9 when the synchronization detection signal 11 is input, and outputs the count value up to that time as the count data 12 when the synchronization detection signal 11 is input next. .. At the same time, the count value is cleared and the counting of the number of data is restarted. The data number memory 5 has a FIFO (First In First Out) configuration and stores the count data 12 in the order of input. The read control circuit 6 monitors the sync detection signal 11,
When the synchronization detection signal 11 is input twice or more, it is determined that the data of one coding unit or more is accumulated in the data buffer 4, and the first count value from the data number memory 5, that is, the coding unit The number of data is read as the data length information 13 and set in the internal read counter. Then, the read clock 15 for continuously reading data of one coding unit is output to the data buffer 4, and the data is read from the data buffer 4.
【0007】次に動作を説明する。通信制御回路1は、
通信回線7よりデータを受信し、受信データ8および受
信クロック9を出力する。データバッファ4は、通信制
御回路1からの受信データ8を受信クロック9によって
サンプリングし、内部メモリに蓄積する。Next, the operation will be described. The communication control circuit 1 is
The data is received from the communication line 7, and the received data 8 and the received clock 9 are output. The data buffer 4 samples the reception data 8 from the communication control circuit 1 by the reception clock 9 and stores it in the internal memory.
【0008】一方、同期検出回路2は、通信制御回路1
からの受信データ8に含まれる同期検出データを監視
し、同期検出データを検出した場合には同期検出信号1
1を出力する。そして、データ数カウンタ3は、同期検
出信号11が入力されたとき、受信クロック9にもとづ
いてデータ数の計数を開始し、次に同期検出信号11が
入力されたとき、それまでの計数値をカウントデータ1
2として出力する。そして、同時に計数値をクリアし
て、データ数の計数を再開する。データ数メモリ5は、
データ数カウンタ3からのカウントデータ12を入力さ
れた順番に記憶する。On the other hand, the synchronization detection circuit 2 is the communication control circuit 1
The synchronization detection data included in the reception data 8 from is monitored, and when the synchronization detection data is detected, the synchronization detection signal 1
1 is output. Then, when the synchronization detection signal 11 is input, the data number counter 3 starts counting the number of data based on the reception clock 9, and when the synchronization detection signal 11 is input next, the count value up to that point is calculated. Count data 1
Output as 2. At the same time, the count value is cleared and the counting of the number of data is restarted. The data number memory 5 is
The count data 12 from the data number counter 3 is stored in the order of input.
【0009】読み出し制御回路6は同期検出信号11を
監視し、同期検出信号11が2回以上入力された場合、
1符号化単位以上の数のデータがデータバッファ4に蓄
積されていると判断してデータ数メモリ5から最初の符
号化単位のデータ数をデータ長情報13として読み込
み、内部の読み出しカウンタにセットする。そして、1
符号化単位分のデータを連続して読み出すための読み出
しクロック15をデータバッファ4に出力し、データバ
ッファ4より1符号化単位分のデータを読み出す。な
お、制御回路6はクロック15を一つ出力するごとに上
記内部カウンタの値を1ずつディクリメントし、カウン
タの値が0となったとき、1符号化単位分のデータの読
み出しを終了する。データバッファ4は、制御回路6よ
り読み出しクロック15が入力されるごとに、その内部
メモリからデータを読み出し、読み出しデータ14とし
て出力する。以降、読み出し制御回路6は、同期検出回
路2からの同期検出信号11の数と、データバッファ4
から読み出した符号化単位のデータ群の数とを比較し、
前者が後者より大きい間は、上述のようにしてデータ長
情報13をメモリ5より順次、読み出し、その情報が表
す数の1符号化単位分のデータをデータバッファ4より
次々に読み出す。The read control circuit 6 monitors the synchronization detection signal 11, and when the synchronization detection signal 11 is input twice or more,
It is determined that the data of one coding unit or more has been accumulated in the data buffer 4, and the data number of the first coding unit is read from the data number memory 5 as the data length information 13 and set in the internal read counter. .. And 1
The read clock 15 for continuously reading the data for one coding unit is output to the data buffer 4, and the data for one coding unit is read from the data buffer 4. The control circuit 6 decrements the value of the internal counter by 1 each time one clock 15 is output, and when the value of the counter becomes 0, the reading of the data for one encoding unit is completed. Each time the read clock 15 is input from the control circuit 6, the data buffer 4 reads data from its internal memory and outputs it as read data 14. After that, the read control circuit 6 determines the number of sync detection signals 11 from the sync detection circuit 2 and the data buffer 4
Compared with the number of data units of the coding unit read from,
While the former is larger than the latter, the data length information 13 is sequentially read from the memory 5 as described above, and one coding unit of data represented by the information is sequentially read from the data buffer 4.
【0010】通信制御回路1は、通信回線7からのデー
タ受信を終了したことを、通信手順によって確認した場
合には、データ終了信号10を同期検出回路2と制御回
路6とに出力する。その結果、同期検出回路2は最後の
符号化単位のデータ数の計数を終了するための同期検出
信号11をデータ数カウンタ3に出力し、一方、制御回
路6はデータ数メモリ5が空になるまでデータバッファ
4からデータを読み出し、そして、データの読み出し制
御を終了する。The communication control circuit 1 outputs a data end signal 10 to the synchronization detection circuit 2 and the control circuit 6 when confirming that the data reception from the communication line 7 has been completed by the communication procedure. As a result, the synchronization detection circuit 2 outputs the synchronization detection signal 11 for ending the counting of the data number of the last coding unit to the data number counter 3, while the control circuit 6 empties the data number memory 5. The data is read from the data buffer 4, and the data read control ends.
【0011】[0011]
【発明の効果】以上説明したように本発明は、符号化デ
ータの符号化単位ごとに、その先頭であることを示す同
期検出データが付加された符号化データを受信するデー
タ受信回路において、受信データより同期検出データを
検出する同期検出回路と、この同期検出回路が検出した
連続する2つの同期検出データの間のデータ数を計数す
るカウンタと、このカウンタが計数したデータ数を記憶
するメモリと、受信データを蓄積するデータバッファ
と、メモリが記憶するデータ数を単位データ数とし、各
単位データ数のデータを、各単位データ数のデータごと
に連続してデータバッファより読み出す読み出し制御回
路とを備えたことを特徴とする。従って、本発明の符号
化データ受信回路では、受信データより同期検出データ
を検出し、検出した2つの連続する同期検出データの間
のデータ数を計数して、その計数値にもとづいて符号化
単位ごとに符号化データを連続して出力することができ
る。そのため、送信側はデータを分割して送信する必要
がなく、高い通信効率を実現でき、さらに復号部に符号
化単位のデータを連続して供給することができる。As described above, according to the present invention, in the data receiving circuit for receiving the coded data to which the sync detection data indicating the head is added for each coded unit of the coded data, A synchronization detection circuit for detecting synchronization detection data from data, a counter for counting the number of data between two consecutive synchronization detection data detected by the synchronization detection circuit, and a memory for storing the number of data counted by this counter. , A data buffer for accumulating received data, and a read control circuit for reading the data of each unit data number from the data buffer continuously for each data of each unit number of data as the unit data number. It is characterized by having. Therefore, in the coded data receiving circuit of the present invention, the sync detection data is detected from the received data, the number of data between the two consecutive sync detection data detected is counted, and the coding unit is based on the count value. It is possible to continuously output the encoded data for each. Therefore, the transmission side does not need to divide and transmit the data, and high communication efficiency can be realized, and further the data of the coding unit can be continuously supplied to the decoding unit.
【図1】本発明による符号化データ受信回路の一例を示
すブロック図である。FIG. 1 is a block diagram showing an example of a coded data receiving circuit according to the present invention.
1 通信制御回路 2 同期検出回路 3 データ数カウンタ 4 データバッファ 5 データ数メモリ 6 読み出し制御回路 1 Communication Control Circuit 2 Synchronization Detection Circuit 3 Data Number Counter 4 Data Buffer 5 Data Number Memory 6 Read Control Circuit
Claims (2)
示す同期検出データが付加された符号化データを受信す
るデータ受信回路において、 受信データより前記同期検出データを検出する同期検出
回路と、 この同期検出回路が検出した連続する2つの前記同期検
出データの間のデータ数を計数するカウンタと、 このカウンタが計数した前記データ数を記憶するメモリ
と、 前記受信データを蓄積するデータバッファと、 前記メモリが記憶する前記データ数を単位データ数と
し、各単位データ数のデータを、各単位データ数のデー
タごとに連続して前記データバッファより読み出す読み
出し制御回路とを備えたことを特徴とする符号化データ
受信回路。1. A data reception circuit for receiving coded data to which sync detection data indicating the beginning of each coded unit is added, and a sync detection circuit for detecting the sync detection data from the received data. A counter for counting the number of data between two consecutive synchronization detection data detected by the synchronization detection circuit, a memory for storing the number of data counted by the counter, and a data buffer for accumulating the received data A read control circuit for reading the data of each unit data number continuously from the data buffer for each data of each unit data number, wherein the number of data stored in the memory is a unit data number. A coded data receiving circuit.
ことを特徴とする請求項1に記載の符号化データ受信回
路。2. The encoded data receiving circuit according to claim 1, wherein the memory is a memory having a FIFO structure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4018087A JP2808964B2 (en) | 1992-02-04 | 1992-02-04 | Encoded data receiving circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4018087A JP2808964B2 (en) | 1992-02-04 | 1992-02-04 | Encoded data receiving circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH05219133A true JPH05219133A (en) | 1993-08-27 |
JP2808964B2 JP2808964B2 (en) | 1998-10-08 |
Family
ID=11961866
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4018087A Expired - Lifetime JP2808964B2 (en) | 1992-02-04 | 1992-02-04 | Encoded data receiving circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2808964B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008140538A (en) * | 2007-12-19 | 2008-06-19 | Roland Corp | Voice data transmitting/receiving device |
JP2011138472A (en) * | 2009-12-31 | 2011-07-14 | Via Technologies Inc | Serial bus device and clock difference compensation method |
-
1992
- 1992-02-04 JP JP4018087A patent/JP2808964B2/en not_active Expired - Lifetime
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008140538A (en) * | 2007-12-19 | 2008-06-19 | Roland Corp | Voice data transmitting/receiving device |
JP4481329B2 (en) * | 2007-12-19 | 2010-06-16 | ローランド株式会社 | Audio data transmitter / receiver |
JP2011138472A (en) * | 2009-12-31 | 2011-07-14 | Via Technologies Inc | Serial bus device and clock difference compensation method |
Also Published As
Publication number | Publication date |
---|---|
JP2808964B2 (en) | 1998-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4027100A (en) | Code transmission system having buffers of approximately equal capacities on both transmitting and receiving sides | |
KR970701984A (en) | Buffer management in variable bit-rate compression systems | |
EP1152573A2 (en) | Method and apparatus for preventing underflow and overflow across an asynchronous channel | |
JP2520404B2 (en) | Compression decoding device | |
JPH05219133A (en) | Coded data reception circuit | |
KR100451687B1 (en) | Digital interface device | |
JP2689901B2 (en) | Picture signal communication system | |
JP4213868B2 (en) | Digital transmission method | |
JP2523874B2 (en) | Asynchronous serial data transmission device | |
JPH1118071A (en) | Slow reproduction system | |
JPS63234454A (en) | Reproducing system of sampling clock for decoding | |
JP2736820B2 (en) | Data communication device interface circuit | |
KR100243094B1 (en) | Device for storing data | |
JPS5926691Y2 (en) | Facsimile signal transmission equipment | |
JP2522910B2 (en) | Line buffer switching system | |
RU1839255C (en) | Device for information interchange | |
SU439839A1 (en) | Device for compressing telemetry information | |
KR100348253B1 (en) | Image decoding apparatus and Image decoding method using the same | |
KR100242307B1 (en) | Apparatus for transmitting video data | |
JPS6228906B2 (en) | ||
JPH0152955B2 (en) | ||
KR960028501A (en) | Variable bit rate decoding device | |
JPS5855526B2 (en) | buffer memory | |
JPS5927501B2 (en) | encoding device | |
JPS59127475A (en) | Picture signal receiver |