JPS61127031A - Buffer memory device - Google Patents

Buffer memory device

Info

Publication number
JPS61127031A
JPS61127031A JP59248813A JP24881384A JPS61127031A JP S61127031 A JPS61127031 A JP S61127031A JP 59248813 A JP59248813 A JP 59248813A JP 24881384 A JP24881384 A JP 24881384A JP S61127031 A JPS61127031 A JP S61127031A
Authority
JP
Japan
Prior art keywords
data
buffer memory
signal
written
read
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
JP59248813A
Other languages
Japanese (ja)
Other versions
JPH0143333B2 (en
Inventor
Yuji Takenaka
裕二 竹中
Yoshiji Nishizawa
西沢 美次
Takashi Ito
隆 伊藤
Kiichi Matsuda
松田 喜一
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59248813A priority Critical patent/JPS61127031A/en
Publication of JPS61127031A publication Critical patent/JPS61127031A/en
Publication of JPH0143333B2 publication Critical patent/JPH0143333B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To make data buffuring high efficiency and at a reading speed which is prescribed by the working speed of a signal processing system at the follow ing state as well as the writing data quantity, by setting at least three buffer memories in parallel with each other. CONSTITUTION:The data DATA to be sent from a coding device 1 synchronously with a frame signal FRM is sent to a buffer memory device 2. The writing operation is carried out to a buffer memory A23. When the next frame signal FRM is produced after the writing operation is through with the memory A23, the data are written to a buffer memory B24. At the same time, the data are read out of the memory A23 and sent to a transmission line. When all data are read out of the memory A23, an end signal END-A is delivered. Thus a reading control part 26 enables the reading of the memory B24 with the next frame signal. Hereafter the similar operations are carried out cyclically in the order of memories A, B, C, A and B.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はバッファメモリ装置に関するものであり、特に
一定周期のタイミングによりて印加されたデータを効率
良くバッファリングするバッファメモリ装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a buffer memory device, and more particularly to a buffer memory device that efficiently buffers data applied at fixed cycle timing.

〔従来の技術、および発明が解決しようとする問題点〕
本発明に係るバッファメモリ装置は、例えばテレビ会議
用画像符号化システムに用いられている。
[Prior art and problems to be solved by the invention]
The buffer memory device according to the present invention is used, for example, in an image encoding system for video conferences.

テレビ会議用画像符号化システムにおいては、テレビカ
メラからの映像信号を〜勺変換し、符号化装置において
送信用データ形態に符号化した後、バッファメモリ装置
を介して、送信側のデータを伝送路に送り出すようにし
ている。ここでバッファメモリ装置は、送信すべきデー
タの一時的記憶並びに送信側のスピードと、伝送路及び
受信側又はいずれか一方とのスピードの差異を調整する
こと等を目的として設けられている。
In an image encoding system for a video conference, a video signal from a television camera is converted into a data format for transmission in an encoding device, and then the data on the transmitting side is transferred to a transmission path via a buffer memory device. I am trying to send it to. Here, the buffer memory device is provided for the purpose of temporarily storing data to be transmitted and adjusting the speed difference between the transmitting side and the speed of the transmission path and/or the receiving side.

テレビ会議における画像はいわゆる動画像であるから、
テレビカメラからの映像信号を全て送信しなければなら
ない訳であるが、全てのデータを送信すると、情報伝送
量が非常に大きく伝送経費が相当の額となシ、また全体
システムを高速動作回路で実現しなければならなくなる
。そこで、通常は、例えば上記符号化装置において、前
回までの画像データと今回走査した画像データの変化分
画像を抽出し、変化分のみを送出し、情報伝送量の低減
化を図っている。
Since the images in the video conference are so-called moving images,
This means that all the video signals from the television camera must be transmitted, but if all the data were to be transmitted, the amount of information transmitted would be very large and the transmission costs would be considerable, and the entire system would have to be constructed using high-speed operating circuits. It will have to come true. Therefore, normally, for example, in the above-mentioned encoding device, a change image between the image data up to the previous time and the currently scanned image data is extracted, and only the change is transmitted, thereby reducing the amount of information transmitted.

また、テレビ会議用画像符号化システムは、基本的に、
例えばNTSCに準拠して作動させるようにしているか
ら、送信すべきデータは一定周期のフレーム毎にバッフ
ァメモリ装置を介して伝送路に送られ、受信側で受像機
、例えばCRTモニタに画像化されるようになっている
In addition, the image encoding system for video conferencing is basically
For example, since it is operated in accordance with NTSC, the data to be transmitted is sent to the transmission line via a buffer memory device every frame at a fixed period, and is converted into an image on a receiver, such as a CRT monitor, on the receiving side. It has become so.

テレビ会議システムは現在実用化段階にあることから、
コスト・ノ47オーマ/スの追求が意図されている。か
かる観点から、比較的低スピードの伝送路を用い、比較
的低速度の回路で実現したい訳である。上述の変化画像
データのみを送出するようにしていることはかかる目的
に沿うものである。一方変化画像データのみを送出する
という観点から、通常の変化画像データ量を基準として
フレーム周期間に送出し得るデータ量を設定し、これに
応じたシステム設計としている。
Since the video conferencing system is currently in the practical stage,
It is intended to pursue a cost of 47 ohms. From this point of view, we would like to use a relatively low-speed transmission line and implement it with a relatively low-speed circuit. Sending out only the above-mentioned changed image data is in accordance with this purpose. On the other hand, from the viewpoint of transmitting only changed image data, the amount of data that can be sent during a frame period is set based on the normal amount of changed image data, and the system is designed accordingly.

従って、設計段階で予想したデータ量以上の変化画像デ
ータが生ずると、1フレ一ム期間内には送出し得す、ま
たデータの送出をフレーム周期に同期させた場合、画像
データの送信の途中で次のフレームになシ、また新たに
変化画像データの初めから送信を行うことから、前述の
送出残シのものは受信側では映像化されず、 CRTモ
ニタの下部の方が以前のままの状態になるという不自然
さが生ずる。
Therefore, if image data that changes more than the data amount predicted at the design stage is generated, it can be sent within one frame period, and if the data sending is synchronized with the frame period, the image data may be sent in the middle of the image data transmission. Since the next frame is transferred and new changed image data is transmitted from the beginning, the untransmitted data described above is not visualized on the receiving side, and the lower part of the CRT monitor remains as before. This creates an unnatural state.

そこで本出願人はかかる問題を解決すべくすでにマルチ
フィールド駆落方式をすでに提案した。
Therefore, the present applicant has already proposed a multi-field evacuation method to solve this problem.

すなわちマルチフィールド駆落方式とは、伝送すべき変
化画像データがそのフレーム期間内に送出できないよう
な場合は、次のフレームにおいてリフレッシュすること
なく引き続いて変化画像データを送出させ続けるもので
ある。変化画像データ量が多い場合には、複数のフィー
ルドデータが送出されず、いわゆるマルチフィールド駆
落しとなる。しかしながら、上述の不自然さは屏消され
るのであシ、実質的な問題はなくなっている。
In other words, the multi-field dropout method is a method in which, if the changed image data to be transmitted cannot be sent within the frame period, the changed image data continues to be sent without refreshing in the next frame. When the amount of changed image data is large, multiple field data are not sent out, resulting in so-called multi-field omission. However, since the above-mentioned unnaturalness is removed, there is no real problem.

コ(7)jつなマルチフィールド駆落しは通常、符号化
装置において行なわれているが、符号化装置でこのよう
に処理されたデータが伝送路に送出すべくバッファメモ
リ装置に印加される。
(7) Multi-field deletion is normally performed in an encoding device, and the data processed in this way by the encoding device is applied to a buffer memory device for transmission to a transmission path.

かかるバッファメモリ装置の構成としては従来ダブルバ
ッファメモリとシングルバックアメモリとが提案されて
いる。
Conventionally, double buffer memories and single backup memories have been proposed as configurations of such buffer memory devices.

ダブルパックアメ°モリを用いた構成例を第2図に示す
。第2図は、伝送路をはさんで左側に送信側、右側に受
信側を示している。送信側は符号化装置1′、ダブルバ
ッファメモリ装置2′、その前後のスイッチ8w1.S
′w2が図示されている。受信側もダブルバッファメモ
リ装置5とその前後のスイッチ$%、 SW4及び受像
機6が示されている。但し以下、送信側についてのみ述
べる。
FIG. 2 shows an example of a configuration using double pack memory. FIG. 2 shows the transmitting side on the left side and the receiving side on the right side across the transmission path. The transmitting side includes an encoding device 1', a double buffer memory device 2', and switches 8w1 . S
'w2 is shown. On the receiving side, a double buffer memory device 5, switches before and after it, SW4, and a receiver 6 are shown. However, below, only the transmitting side will be described.

上述の如く符号化装置1′で伝送すべきデータDATA
 1が決定され、バッファメモリ装置τに印加される。
As mentioned above, the data DATA to be transmitted by the encoding device 1'
1 is determined and applied to the buffer memory device τ.

バッファメモリ装置7は先ず第Iのフレームでスイッチ
sw1がA側バッファメモリBM−Aに選択され上記デ
ータDATA 、がBM−Aに書き込れる。
In the buffer memory device 7, first, in the I-th frame, the switch sw1 is selected as the A-side buffer memory BM-A, and the data DATA is written to BM-A.

次のフレームでは、スイッチsw2がBM−A側に選択
され、令書込れたデータを伝送路に出力可能にすると共
に、スイッチ闇はB側バッファメモリBM−Hに選択さ
れ、符号化装置1′からのデータDATA 1は、BM
−Bに書込れる。さらに次のフレームでは、BM−Bに
書込れたデータが伝送路に出力され、BM−Aに符号化
装置1′からのデータDATA 1が書込れる。以下同
様に交互にくり返される。
In the next frame, the switch sw2 is selected to the BM-A side, allowing the written data to be output to the transmission path, and the switch sw2 is selected to the B-side buffer memory BM-H, and the encoder 1 'The data DATA 1 from BM
-Written to B. Furthermore, in the next frame, the data written in BM-B is output to the transmission path, and data DATA 1 from the encoding device 1' is written in BM-A. The same process is repeated alternately.

以上の動作タイミングを第3図に示す。第3図(−)は
一定周期のフレーム同期信号、第3図(b)は伝送すべ
きデータDATA 1、第3図(e) 、 (d)はバ
ッファメモリA、Bの動作モードを示し、Rは読出動作
、Wは書込動作を示し、第3図(、)は伝送路上の伝送
データDATA 2を示す。伝送データDATA2はバ
ツフアメモリ装置2′の介在により、1フレームだけデ
ータDATA 、よシおくれていることになる。
The above operation timing is shown in FIG. 3(-) shows a frame synchronization signal of a constant period, FIG. 3(b) shows the data DATA 1 to be transmitted, FIG. 3(e) and (d) show the operation modes of buffer memories A and B, R indicates a read operation, W indicates a write operation, and FIG. 3 (,) indicates the transmission data DATA 2 on the transmission path. Due to the intervention of the buffer memory device 2', the transmitted data DATA2 is delayed by one frame.

以上の動作において、バッファメモリ装置は一定周期の
フレーム信号に同期して切換られて作動(動作)するこ
とに留意されたい。これは、この例示におけるテレビ会
議システムがフレーム信号を基調として動作することに
帰因している。
In the above operation, it should be noted that the buffer memory device is switched and operated in synchronization with a frame signal of a constant period. This is due to the fact that the video conference system in this example operates based on frame signals.

このようなフレームに応じてバッファメモリを切換える
ということに帰因して、一度に連続して送出すべきデー
タが複数フレームにわたるような場合、特にマルチフィ
ールド駆落しに基づいたデータを伝送するような場合、
受信側でみた場合一画面が数フレームにわたって読出さ
れたデータにもとすいて画像化されるが、連続データに
対してメモリ切換えが行なわれるが、特にバッファメモ
リとしては十分な容量を持っているような場合、メモリ
切換動作が無駄になる。
Due to the fact that the buffer memory is switched according to the frame, when the data to be transmitted continuously at one time spans multiple frames, especially when transmitting data based on multi-field elimination, case,
When viewed from the receiving side, one screen is converted into an image based on data read out over several frames, but memory switching is performed for continuous data, but it has sufficient capacity especially as a buffer memory. In such a case, the memory switching operation becomes wasteful.

一方シングルパッファメモリ装置の場合は、最大情報送
出量の大きさの大きなメモリ容量をを必要とすること、
及び、一般にメモリ容量に増大に伴って書込んだデータ
を読出すまでのタイムラグが大きくなり応答性が低下す
るという問題を生ずる。
On the other hand, in the case of a single buffer memory device, a large memory capacity is required due to the maximum amount of information sent,
Additionally, as the memory capacity increases, the time lag until the written data is read out increases, resulting in a problem of decreased responsiveness.

かかる問題については、実施例との関連において後で詳
述する。
Such issues will be discussed in detail later in connection with the examples.

〔問題を解決する手段〕[Means to solve the problem]

本発明は上述の問題に鑑みて、周期的なタイミング制御
信号に応答して印加されたデータ列を記憶し、後段の信
号処理系に送出するようにしたバッファメモリ装置であ
って、少くとも3個のノ々ツファメモリ部、及び該バッ
ファメモリ部の書込データ数及び読出動作を監視する制
御部を具備し、前記3個のバッファメモリ部は所定のタ
イミング制御信号に同期して1つのバッファメモリ部に
前記データ列の書込みを行ない、次のタイミング制御信
号に同期して該書込れたデータ列を読出すと同時に次の
バッファメモリ部へデータ列が書込れ、かかる動作がサ
イクリックに行なわれるように構成され、前記制御部は
前記バッファメモリ部に書込れるデータが前記タイミン
グ制御信号で規定される一定時間内に前記後段の信号処
理系で受け入れ可能なデータ量をこえる場合に前記タイ
ミング制御信号に応答して印加されるデータの送出を停
止させるように動作する、バッファメモリ装置を提供す
る。
In view of the above-mentioned problems, the present invention provides a buffer memory device that stores a data string applied in response to a periodic timing control signal and sends it to a subsequent signal processing system, the buffer memory device having at least three The three buffer memory sections are connected to one buffer memory section in synchronization with a predetermined timing control signal. The data string is written to the buffer memory section, and the written data string is read out in synchronization with the next timing control signal, and at the same time, the data string is written to the next buffer memory section, and this operation is performed cyclically. The control section is configured to perform the control section when the amount of data written to the buffer memory section exceeds the amount of data that can be accepted by the subsequent signal processing system within a certain period of time defined by the timing control signal. A buffer memory device is provided that is operative to stop the transmission of applied data in response to a timing control signal.

〔作用〕[Effect]

すなわち、少くとも3台のバッファメモリを並設し、書
込データ数と後段の信号処理系の動作スピードによυ規
定される読出スピードを制御部で勘案し、効率よいデー
タバッファリングを行うものである。
In other words, at least three buffer memories are installed in parallel, and the control unit takes into account the read speed determined by the number of written data and the operating speed of the subsequent signal processing system, and performs efficient data buffering. It is.

〔実施例〕〔Example〕

以下添付図面を参照して本発明の実施例について述べる
Embodiments of the present invention will be described below with reference to the accompanying drawings.

第1図は本発明の一実施例としてのバッファメモリ装置
の構成を示す図であって、テレビ会議用符号化システム
に用いた場合を示す図である。従って、バッファメモリ
装置2の前段には符号化装置1が、後段には、伝送路に
接続されるインターフェース3が、接続されている。第
1図に図示のバッファメモリ装置2は、3個の並列に設
けられたバッファメモリ23〜25と、これらを制御す
るための書込制御部22、読出制御部26、外部制御部
27が設けられている。尚この実施例においては、符号
化装置1からのデータDATA−は一旦フリッデフロッ
7’21で保持されるようKしている。
FIG. 1 is a diagram showing the configuration of a buffer memory device as an embodiment of the present invention, and is a diagram showing a case where the buffer memory device is used in a video conference encoding system. Therefore, the encoding device 1 is connected to the front stage of the buffer memory device 2, and the interface 3 connected to the transmission path is connected to the rear stage. The buffer memory device 2 shown in FIG. 1 includes three buffer memories 23 to 25 provided in parallel, a write control section 22, a read control section 26, and an external control section 27 for controlling these. It is being In this embodiment, the data DATA- from the encoding device 1 is temporarily held in the flip-flop 7'21.

バッファメモリ23〜25は同じ構成をしており、その
具体的回路図を第4図に示す。バッファメモリ23を例
にとると、書込データが書込れ、読出されるメモリ23
1、書込データの数を計数するアドレスカウンタ232
、アドレスカウンタの値を保持するラッチ回路234、
アドレスを比較fるコンノ臂レータ235、これらの回
路を制御するタイミング制御回路233が図示の如く接
続されている。
The buffer memories 23 to 25 have the same configuration, and a specific circuit diagram thereof is shown in FIG. Taking the buffer memory 23 as an example, the memory 23 to which write data is written and read
1. Address counter 232 that counts the number of write data
, a latch circuit 234 that holds the value of the address counter,
A controller 235 for comparing addresses and a timing control circuit 233 for controlling these circuits are connected as shown.

この実施例においては、メモリ231は書込クロックW
CKと読出クロックRCKとは異なるクロックで作動す
るようになっている。勿論、書込クロックWCKと読出
クロックRCKを同じ値にすることもできる。但し、書
込と読出しは同時には行なわれない。
In this embodiment, the memory 231 has a write clock W
CK and read clock RCK are designed to operate with different clocks. Of course, the write clock WCK and the read clock RCK can also be set to the same value. However, writing and reading are not performed at the same time.

書込制御部22の具体的回路図を第5図に示す。A specific circuit diagram of the write control section 22 is shown in FIG.

書込制御部22は、符号化装置1からのラストパルスL
ASTの立上シを検出する立上検出回路221、該立上
検出回路の出力によりカウント値を更新する3進カウン
タ222及び該カウンタの出力をデコードして、前記メ
モリ23〜25のいずれかに書込可能信号πN−A−W
EN−Cを出力するデコーダ223から構成されている
The write control unit 22 receives the last pulse L from the encoding device 1.
A rise detection circuit 221 that detects the rise of AST, a ternary counter 222 that updates the count value based on the output of the rise detection circuit, and a ternary counter 222 that decodes the output of the counter and stores it in one of the memories 23 to 25. Write enable signal πN-A-W
It consists of a decoder 223 that outputs EN-C.

3進カウンタ222としたのは3個のバッファメモリ2
3〜25に対応させているからであり、0.1,2,0
,1・・・というリングカウンタになっている。
The ternary counter 222 is made up of three buffer memories 2.
This is because it corresponds to 3 to 25, and 0.1, 2, 0
, 1... is a ring counter.

読出制御部26の具体的回路図を第6図に示を読出制御
部26は、各バッファメモリ23〜25からのエントノ
々ルスEND−A −END−Cを保持するフリップフ
ロラ7’261.その立上りを検出する立上シ検出回路
262.0Rf−)263.3進カウンタ262及びデ
コーダ265が図示の如く接続されている。
A specific circuit diagram of the read control unit 26 is shown in FIG. 6.The read control unit 26 includes flip rollers 7'261. A rising edge detection circuit 262.0Rf-) 263. A ternary counter 262 and a decoder 265 are connected as shown in the figure.

外部制御部27の具体的回路図を第7図に示す。A specific circuit diagram of the external control section 27 is shown in FIG.

外部制御部は、カウンタ271、フリップフロラf27
4、加算器275、遅延回路275、カウンタ277、
コンパレータ278、立上検出回路273及び立下検出
回路272が図示の如く構成されている。
The external control unit includes a counter 271 and a flip flora f27.
4, adder 275, delay circuit 275, counter 277,
A comparator 278, a rise detection circuit 273, and a fall detection circuit 272 are configured as shown.

外部制御部27は送出すべきデータ量が所定の基準値R
EFよシ大きい場合にストラグ信号STPを符号化装置
1に出力して、バッファメモリ装置2に書込むべきデー
タの送出を停止させるものである。このため、送出すべ
きデータを書込クロックWCKをカウンタ271で計数
している。この計数に先立り、て立下検出回路272で
ラス)14ルスLASTの立下シを検出しカウンタ27
1をクリアするようKしている。一方、立上検出回路2
73でラストノ9ルスLASTの立上夛を検出し、上記
クリアする前のカウンタ271の値をフリップフロップ
274にラッチさせるようにしている。ラッチ後の値が
加算器275を介してカウンタ277に加見られ、基準
値REFとコンパレータ278で比較され、基準値RE
F以上になるとストラグ信号STPが出力される。尚カ
ウンタ277は、上述のフリップフロップ274にカウ
ンタ271の値をラッチするタイミングで立上検出回路
273からの信号でクリアされ、このクリアから一定時
間後、遅延回路276からの信号によシ上記ラッチされ
た値デコードされる。カウンタ277の値は、読出クロ
ックRCKにより減算されるようになっている。
The external control unit 27 sets the amount of data to be sent to a predetermined reference value R.
When the value is larger than EF, a strag signal STP is output to the encoding device 1 to stop sending out the data to be written to the buffer memory device 2. For this reason, a counter 271 counts the data to be sent using the write clock WCK. Prior to this counting, the falling edge detection circuit 272 detects the falling edge of the last (last) 14th pulse, and the counter 27
I'm asking you to clear 1. On the other hand, the rise detection circuit 2
At step 73, the rising of the last nine pulses LAST is detected, and the value of the counter 271 before being cleared is latched in the flip-flop 274. The latched value is added to the counter 277 via the adder 275, and compared with the reference value REF by the comparator 278.
When the value exceeds F, the strag signal STP is output. The counter 277 is cleared by a signal from the rise detection circuit 273 at the timing when the value of the counter 271 is latched in the flip-flop 274 described above, and after a certain period of time from this clearing, the value of the counter 271 is cleared by a signal from the delay circuit 276. value is decoded. The value of the counter 277 is decremented by the read clock RCK.

以下第1図、第4図〜第7図に図示のバッファメモリ装
置の動作を説明する。
The operation of the buffer memory device shown in FIGS. 1 and 4 to 7 will be explained below.

フレーム信号FRMは一定周期で発せられ(第8図(^
))、この信号FRMに同期して符号化装置1から送出
すべきデータDATAがバッファメモリ装置2に送られ
てくる。データDATAの各データは書込クロックWC
Kに同期している。
The frame signal FRM is emitted at regular intervals (Fig. 8 (^
)), data DATA to be sent from the encoding device 1 is sent to the buffer memory device 2 in synchronization with this signal FRM. Each data of data DATA is write clock WC
It is synchronized with K.

上記データDATAの各データは一旦フリップフロップ
21でラッチした後裔バッファメモリ23〜25に印加
される。フリップフロラf21は動作の確実性を目的と
して設けており、本質的に必要なものではない。データ
は各バッファメモリ23〜25に並列に印加されている
が、書込制御部22から出力された書込許可信号頂の有
効な(イネ−デル)ものについてのみ書込みが行なわれ
る。従りて、先ず■N−Aがイネーブルであるから、バ
ッファメモリーA23について書込みが行なわれる。す
なわち第4図に示すように、端子DATA−Iに印加さ
れたデータは、書込クロックWCKに追従してバッファ
メモリ部231に書込れる。この場合、書込クロックW
CKをアドレスカウンタ232で計数し書込許可信号■
Nが有効である期間に書込れたデータ数を計数しておく
。アドレスカウンタ232の計数値は次のフレームで読
出しが行なわれるときに用いられる。
Each data of the data DATA is once latched by the flip-flop 21 and applied to the descendant buffer memories 23-25. The flip roller f21 is provided for the purpose of operational reliability and is not essentially necessary. Although data is applied in parallel to each of the buffer memories 23 to 25, writing is performed only for valid (invalid) data at the top of the write permission signal outputted from the write control section 22. Therefore, first, since (1)NA is enabled, writing is performed on the buffer memory A23. That is, as shown in FIG. 4, the data applied to the terminal DATA-I is written into the buffer memory section 231 following the write clock WCK. In this case, the write clock W
CK is counted by address counter 232 and write permission signal ■
The number of data written during the period when N is valid is counted. The count value of address counter 232 is used when reading is performed in the next frame.

上記動作と並行して、外部制御部27は書込クロックW
CKを計数しバッファメモリーA23に書込れたデータ
数を計数する。通常この計数値は基準値に到達しないか
らストラグ信号STPは出力されない。
In parallel with the above operation, the external control unit 27 outputs the write clock W.
CK is counted and the number of data written to the buffer memory A23 is counted. Normally, this count value does not reach the reference value, so the strag signal STP is not output.

符号化装置1は上記データの終了を示すラストパルスL
ASTを出力する。
The encoding device 1 generates a last pulse L indicating the end of the data.
Output AST.

書込制御部22はこのラストパルスLASTの立上りを
検出し、書込許可信号を■N−Aか1)WIDN−Bに
切替える。外部制御部27はこのラスト・クルスLAS
Tでカウンタ271をクリアする。
The write control unit 22 detects the rise of this last pulse LAST and switches the write permission signal to ①NA or 1) WIDN-B. The external control unit 27 controls this last cruise LAS.
Clear the counter 271 with T.

次のフレーム信号FRMが発せられると、バッファメモ
!J−824に上述同様のデータ書込が行なわれると共
に、バッファメモリーA23に書込れたデータを胱出し
インターフェース3を介して伝送路に送出する動作が並
行して行なわれる。データの読出しは、読出制御部26
から読出許可信号REN−Aが出力された状態において
、読出クロックRCKに同期して行なわれる。バッファ
メモリーA23のラッチ回路234に記憶された書込デ
ータ数の全てについて読出しが行なわれるとエンド信号
END−Aが出力される。読出制御部26はこのエンド
信号END−Aを受けて、次のフレーム周期においてバ
ッファメモリーB24に書込れたデータを読出可能とす
るためのREN−Bをイネーブルにする。
When the next frame signal FRM is issued, the buffer memo! Data is written in the J-824 in the same manner as described above, and in parallel, the data written in the buffer memory A23 is sent out to the transmission line via the bladder outlet interface 3. Data reading is performed by the read control unit 26
This is performed in synchronization with the read clock RCK in a state where the read enable signal REN-A is output from the read enable signal REN-A. When the entire number of write data stored in the latch circuit 234 of the buffer memory A23 has been read, an end signal END-A is output. In response to this end signal END-A, the read control unit 26 enables REN-B to enable reading of the data written in the buffer memory B24 in the next frame period.

以下同様に、バッフアメそり−(へのデータ書込み、バ
ッファメモリーBからのデータ読出しが行なわれ、以上
の動作が、バッファメモIJA−+13→C−+ A 
4 B −+ Cとサイクリックに行なわれていく。
Thereafter, data is written to the buffer memory B and data is read from the buffer memory B in the same manner.
4 B − + C and so on.

以上は変化画像データが比較的少ない通常の場合につい
ての動作であるが、符号化システムの動作に対して伝送
路の伝送スピードが遅く、換言すれば書込クロックWC
Kよシ読出クロックRCKが遅く、1フレ一ム期間内に
書込んだデータを1フレ一ム期間では伝送し得ないよう
な場合、又は、上述のマルチフィールド駆落しが生じ連
続的にデータを送出すべき場合について、第8図のタイ
ミングチャートを参照して述べる。
The above is the operation in a normal case where there is relatively little changed image data, but the transmission speed of the transmission path is slow compared to the operation of the encoding system, in other words, the write clock WC
When the read clock RCK is slow and the data written within one frame period cannot be transmitted within one frame period, or when the above-mentioned multi-field drop occurs and the data is not transmitted continuously. The case where it should be sent will be described with reference to the timing chart in FIG.

第7図に図示のコンノ4レータ2780基準値RIFは
、かかる事情を考慮して定められている。
The controller 2780 reference value RIF shown in FIG. 7 is determined in consideration of such circumstances.

先ずフレーム信号FRMに同期して符号化装置1からデ
ータDATA、が送出され、書込許可WNがイネーブル
であるバッファメモリーAに書込みが行なわれる(第8
図(a)(b)(、) )。
First, data DATA is sent out from the encoding device 1 in synchronization with the frame signal FRM, and written into the buffer memory A whose write permission WN is enabled (eighth
Figures (a) (b) (,) ).

WEN信号は符号化器側のLAST信号によシ、サイク
リックに切り替わシ、符号化器側から来る情報量が少な
い時のLAST信号は、1映像フレームに1回出るので
Aメモリの■N信号が出てから再度AメモリのWN信号
が出るまでトリプルバッファの場合、最も早くても2フ
レーム後である。したがって、メモ+7 Aに書かれた
データは2フレームの間で読みきる事が出来れば読み出
し制御信号RENと、書き込み制御信号WENがぶつか
る事を回避出来る。そこで2フレーム後にデータが読み
きれない状態が予想される情報量が符号化器側からくる
場合、すなわち、外部制御部27の計数値が基準値RE
Fを越える場合、符号化器側に符号化停止信号STPを
送り、次のフレームでのデータを止める。
The WEN signal is switched cyclically depending on the LAST signal on the encoder side.When the amount of information coming from the encoder side is small, the LAST signal is output once per video frame, so the In the case of a triple buffer, the earliest it is two frames after the signal is output until the WN signal of the A memory is output again. Therefore, if the data written in Memo+7A can be completely read within two frames, it is possible to avoid collision between the read control signal REN and the write control signal WEN. Therefore, if the amount of information for which the data cannot be read after two frames is expected to come from the encoder side, that is, the count value of the external control unit 27 is set to the reference value RE.
If F is exceeded, a coding stop signal STP is sent to the encoder side to stop data in the next frame.

次のフレームに入ると、本来符号化装置1から次に送出
すべきデータが出力されるべきであるが、ストップ信号
STPが未だオンのままであるから、このフレームでは
データは出力されない。一方、読出許可信号REN−A
がオンとなり上記書込れたデータがバッファメモリーA
から読出される。この読出動作と並行して外部制御部2
7のカウンタ277が読出クロックRCKにより減算さ
れる。そしてしかるべきデータ数が読出されたとき、外
部制御部27のコン/4レータ278のストップ゛信号
STPがオフになる(第8図(d))。これにより次の
書込が可能な状態になるが、フレーム信号FRMに同期
して作動しているから、この期間には書込データは符号
化装置1から送出されない。
When entering the next frame, data to be transmitted next should originally be output from the encoding device 1, but since the stop signal STP is still on, no data is output in this frame. On the other hand, read permission signal REN-A
is turned on and the above written data is transferred to buffer memory A.
Read from. In parallel with this read operation, the external control unit 2
7 counter 277 is decremented by the read clock RCK. When the appropriate number of data has been read out, the stop signal STP of the comparator 278 of the external control section 27 is turned off (FIG. 8(d)). This makes the next write possible, but since it operates in synchronization with the frame signal FRM, no write data is sent out from the encoding device 1 during this period.

この場合のデータDATA、は1フレ一ム期間内に伝送
するのに十分な量であり、符号化装置1は外部制御部2
7からのストップ信号STPの要請を受けないでラスト
ノ4ルスI、ASTを出力する。
In this case, the data DATA is a sufficient amount to be transmitted within one frame period, and the encoding device 1
The last signal I and AST are output without receiving the stop signal STP from 7.

次のデータDATAcについても同様である。The same applies to the next data DATAc.

またマルチフィールド駆落し状態の数フレームにわたっ
てデータを送出すべきような場合であっても、上記同様
、必要な都度、外部制御部27からストップ信号STP
が発せられ、WEN信号とREN信号がぶつかる事はな
く複数のフレームにわたって1つのREN信号をイネー
ブルにしておく事が出来、フレーム周期にかかわらずデ
ータを読み出す事が出来る。
Furthermore, even in the case where data should be sent over several frames in the multi-field drop state, the stop signal STP is sent from the external control unit 27 whenever necessary, as described above.
is issued, the WEN signal and the REN signal do not collide, and one REN signal can be kept enabled over a plurality of frames, allowing data to be read out regardless of the frame period.

バッファメモリで一旦記憶し、後段の信号処理系に送出
するという動作において、システム全体の効率化を図る
という観点からはシングルバッファ方式が適していない
ということは自明である。
It is obvious that the single buffer method is not suitable from the viewpoint of improving the efficiency of the entire system in the operation of temporarily storing data in a buffer memory and transmitting it to a subsequent signal processing system.

書込タイミングと読出タイミングとが明確に分離されて
しまい、書込みと読出しの並行動作ができないからであ
る。従って効率良いバッファリングを確立するためには
2以上バッファメモリを並設することが必要となる。
This is because write timing and read timing are clearly separated, making it impossible to perform write and read operations in parallel. Therefore, in order to establish efficient buffering, it is necessary to arrange two or more buffer memories in parallel.

しかしながら、従来のように単にダブルバッファメモリ
構成とし、フレーム周期毎切換えるのみでは、充分でな
い。特に伝送路のスピードが溢路になりているような場
合、マルチフィールド駆落し現象が生じた場合、第1の
フレームでバッファメモリAに書込れ、第2のフレーム
でバッファメモリーAの読出しと同時にバックアメモリ
Bへの書込みがなされるが、第3のフレームに入った場
合、バッファメモリーAの内容は全て読出されていす、
ノクツファメモリーAへの書込みができず、またバッフ
ァメモリーBの読出しもできない。従って第3のフレー
ムではバッファメモリーAの読出し動作が行なわれるだ
けにすぎない。次の第4フレームでバックアメモリ−A
への書込ミドバッファメモリーBの読出が行なわれるが
、さらに次の第5フレームではバッファメモリーBの読
出しが完了しておらず、バッファメモIJ + Bへの
書込とバッファメモリーAからの読出しができない。
However, it is not sufficient to simply configure the double buffer memory and switch it every frame period as in the prior art. In particular, when the speed of the transmission line is overflowing, and when a multi-field drop phenomenon occurs, the data is written to buffer memory A in the first frame, and read from buffer memory A in the second frame. At the same time, writing is done to backup memory B, but when the third frame is entered, the contents of buffer memory A are all read out.
Writing to buffer memory A is not possible, and buffer memory B cannot be read. Therefore, in the third frame, only the read operation of buffer memory A is performed. Back memory-A in the next 4th frame
During writing to buffer memory B, reading is performed, but in the next 5th frame, reading from buffer memory B is not completed, and writing to buffer memory IJ + B and reading from buffer memory A are performed. I can't.

以下同様である。従って上述の例において、第3フレー
ム、第5フレームにおいて無駄時間が生ずることとなる
。また上述の如く、書込禁止状態に応答した動作をさせ
るためには、第2図に図示の如き構成のみでは充分でな
く、制御回路が必要となる。
The same applies below. Therefore, in the above example, dead time occurs in the third frame and the fifth frame. Furthermore, as described above, in order to operate in response to the write inhibit state, the configuration shown in FIG. 2 alone is not sufficient, and a control circuit is required.

これに対し、上述の本発明にもとづ〈実施例においては
、外部制御部27で伝送路の伝送スピードを勘案したデ
ータをノ々ツファメモリに取シ込むようにし、且つ、バ
ッファメモリを3つ並設し、書込動作と読出動作の有効
化を図っている。特に、3番目のバックアメモリを設け
たことは、マルチフィールド駆落し後の変化量の少ない
画像データを記憶させるに有効であり、伝送路に遊びが
生じないようにしている。
On the other hand, in the embodiment based on the present invention described above, the external control unit 27 inputs data into the notnofa memory in consideration of the transmission speed of the transmission line, and three buffer memories are provided. They are installed in parallel to enable write and read operations. In particular, the provision of the third backup memory is effective for storing image data with a small amount of change after multi-field collapse, and prevents play from occurring in the transmission path.

バッファメモリ構成を4以上にすることも可能である。It is also possible to have four or more buffer memory configurations.

しかしながら、3台以上何台にするかについては、フレ
ーム周期、伝送路のスピード、コスト・パフォーマンス
等を考慮して定める。
However, the number of units (more than three) is determined by considering frame period, transmission path speed, cost performance, etc.

以上の実施例においては、テレビ会議用画像データ符号
化システムにおけるバッファメモリ装置について例示し
たが、一定周期に発せられるタイミング信号に同期して
、読出動作が行なわれ、後段の回路が溢路となって時折
シ一定周期内では送゛  出し切れないデータが発生す
る一方で最も効率の良いバッファリングを行ないたいよ
うな他の場合についても同様に適用することができる。
In the above embodiment, a buffer memory device in an image data encoding system for a video conference was illustrated, but the read operation is performed in synchronization with a timing signal that is issued at a constant cycle, and the subsequent circuit is prevented from overflowing. The present invention can be similarly applied to other cases where data that cannot be sent out within a certain period is occasionally generated and the most efficient buffering is desired.

〔発明の効果〕〔Effect of the invention〕

以上に述べたように、本発明によれば、効率の良いバッ
ファリングが可能なバッファメモリ装置が提供される。
As described above, according to the present invention, a buffer memory device capable of efficient buffering is provided.

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

第1図は本発明の一実施例としてのバッファメモリ装置
の構成図、 第2図は従来の画像データ送信システムの構成図、 第3図は第2図におけるバッファメモリの動作タイミン
グ図、 第4図は第1図におけるバッファメモリ部の一例として
の回路図、 第5図は第1図における書込制御部の一例としての回路
図、 第6図は第1図における読出制御部の一例としての回路
図、 第7図は第1図における外部制御部の一例としての回路
図、 第8図は第1図のバッファ装置の動作タイミング図、で
ある。 (符号の説明) 1・・・符号化装置、2・・・バッファ装置、3・・・
インターフェース、21・・・フリップ70ツノ、22
・・・書込制御部、23〜25・・・バッファメモリ部
、26・・・読出制御部、27・・・外部制御部。 第2図 第3図
FIG. 1 is a configuration diagram of a buffer memory device as an embodiment of the present invention, FIG. 2 is a configuration diagram of a conventional image data transmission system, FIG. 3 is an operation timing diagram of the buffer memory in FIG. 2, and FIG. The figure is a circuit diagram as an example of the buffer memory section in FIG. 1, FIG. 5 is a circuit diagram as an example of the write control section in FIG. 1, and FIG. 6 is a circuit diagram as an example of the read control section in FIG. FIG. 7 is a circuit diagram as an example of the external control section in FIG. 1, and FIG. 8 is an operation timing chart of the buffer device in FIG. 1. (Explanation of symbols) 1... Encoding device, 2... Buffer device, 3...
Interface, 21...Flip 70 horn, 22
...Write control section, 23-25... Buffer memory section, 26... Read control section, 27... External control section. Figure 2 Figure 3

Claims (1)

【特許請求の範囲】[Claims] 1、周期的なタイミング制御信号に応答して印加された
データ列を記憶し、後段の信号処理系に送出するように
したバッファメモリ装置であって、少くとも3個のバッ
ファメモリ部、及び該バッファメモリ部の書込データ数
及び読出動作を監視する制御部を具備し、前記3個のバ
ッファメモリ部は所定のタイミング制御信号に同期して
1つのバッファメモリ部に前記データ列の書込みを行な
い、次のタイミング制御信号に同期して該書込れたデー
タ列を読出すと同時に次のバッファメモリ部へデータ列
が書込れ、かかる動作がサイクリックに行なわれるよう
に構成され、前記制御部は前記バッファメモリ部に書込
れるデータが前記タイミング制御信号で規定される一定
時間内に前記後段の信号処理系で受け入れ可能なデータ
量をこえる場合に前記タイミング制御信号に応答して印
加されるデータの送出を停止させるように動作する、バ
ッファメモリ装置。
1. A buffer memory device that stores a data string applied in response to a periodic timing control signal and sends it to a subsequent signal processing system, which comprises at least three buffer memory sections and a data string applied in response to a periodic timing control signal. The control unit includes a control unit that monitors the number of write data and read operation of the buffer memory units, and the three buffer memory units write the data string to one buffer memory unit in synchronization with a predetermined timing control signal. , the data string is written to the next buffer memory section at the same time as the written data string is read out in synchronization with the next timing control signal, and such an operation is performed cyclically. The part is applied in response to the timing control signal when the data written to the buffer memory part exceeds the amount of data that can be accepted by the subsequent signal processing system within a certain period of time specified by the timing control signal. A buffer memory device that operates to stop the transmission of data.
JP59248813A 1984-11-27 1984-11-27 Buffer memory device Granted JPS61127031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59248813A JPS61127031A (en) 1984-11-27 1984-11-27 Buffer memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59248813A JPS61127031A (en) 1984-11-27 1984-11-27 Buffer memory device

Publications (2)

Publication Number Publication Date
JPS61127031A true JPS61127031A (en) 1986-06-14
JPH0143333B2 JPH0143333B2 (en) 1989-09-20

Family

ID=17183786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59248813A Granted JPS61127031A (en) 1984-11-27 1984-11-27 Buffer memory device

Country Status (1)

Country Link
JP (1) JPS61127031A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6336391A (en) * 1986-07-30 1988-02-17 Toshiba Corp Character reader
JPS6373323A (en) * 1986-09-16 1988-04-02 Fujitsu Ltd Buffer device
JPH0298728A (en) * 1988-08-02 1990-04-11 Advanced Micro Devicds Inc Pushup memory
US10980401B2 (en) 2016-01-20 2021-04-20 Olympus Corporation Endoscope

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50131724A (en) * 1974-04-05 1975-10-18

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50131724A (en) * 1974-04-05 1975-10-18

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6336391A (en) * 1986-07-30 1988-02-17 Toshiba Corp Character reader
JPS6373323A (en) * 1986-09-16 1988-04-02 Fujitsu Ltd Buffer device
JPH0298728A (en) * 1988-08-02 1990-04-11 Advanced Micro Devicds Inc Pushup memory
US10980401B2 (en) 2016-01-20 2021-04-20 Olympus Corporation Endoscope

Also Published As

Publication number Publication date
JPH0143333B2 (en) 1989-09-20

Similar Documents

Publication Publication Date Title
US5517253A (en) Multi-source video synchronization
AU685098B2 (en) Video peripheral for a computer
US6072836A (en) Adaptive video compression and decompression
US6141709A (en) Peripheral circuitry for providing video I/O capabilities to a general purpose host computer
JPH08511915A (en) Adaptive image expansion
JPH09205651A (en) Image data decoding method and decoder using same
JPS61127031A (en) Buffer memory device
JP2627903B2 (en) Semiconductor storage device
KR100285129B1 (en) Image data decoding display method and apparatus
CN111757034A (en) FPGA-based video synchronous display method and device and storage medium
JPH06125363A (en) Packet communication system
JPH08275170A (en) Image processing unit
JP2508436B2 (en) Television phone
JPH04356844A (en) Multimedia server and communication system using server thereof
JPH02203689A (en) Two buffer memory switching method for picture signal coder
JPH02203690A (en) Two buffer memory switching method for picture signal decoder
JPH01254082A (en) Multi-screen transmission control system
JPH0955869A (en) Device and method for synchronizing picture
US6895596B1 (en) Circuit and method for interleaving a data stream
JP3976388B2 (en) Memory control device
KR0180167B1 (en) Appratus for reordering frames in a video coder
KR0180168B1 (en) An apparatus for reordering frames in a video coder
JPH04120989A (en) Video decoder
JPS63102482A (en) Picture encoding transmitter
JPH0990920A (en) Video signal conversion device