JPH066382A - Packet communication device and communication system - Google Patents

Packet communication device and communication system

Info

Publication number
JPH066382A
JPH066382A JP4164594A JP16459492A JPH066382A JP H066382 A JPH066382 A JP H066382A JP 4164594 A JP4164594 A JP 4164594A JP 16459492 A JP16459492 A JP 16459492A JP H066382 A JPH066382 A JP H066382A
Authority
JP
Japan
Prior art keywords
packet
circuit
output
packet communication
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4164594A
Other languages
Japanese (ja)
Inventor
Yoshinori Miyamoto
宜則 宮本
Mutsumi Abe
睦 阿部
Tatsuya Kameyama
達也 亀山
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4164594A priority Critical patent/JPH066382A/en
Publication of JPH066382A publication Critical patent/JPH066382A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To prevent an image and a speech from deteriorating in quality by providing a variable frequency dividing circuit, varying the frequency division ratio according to a carry signal, and controlling the timing of the input and output of media with the output frequency. CONSTITUTION:Packet data which are sent out to a packet network 26 are inputted to receiving station packet buffers 20 and 21 and stored. Pieces of flag information sent out of an overflow flag generating circuit 19 and an underflow generating circuit 22 attached to the buffers 20 and 21 are ORed by OR circuits 17 and 18. Their OR outputs are inputted to an up/down counter 16 to accumulate errors of clock frequencies of a receiving circuit and transmitting circuits through the function of the counter 16, and the frequency division ratio of the variable frequency dividing circuit 15 is controlled with its carry signal. Further, the timing of the input and output of the respective media is controlled with the output frequency of a circuit 13, and then the image and speech can be transferred even by using the packet network of an independent synchronization system.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、LAN等の独立同期系
のパケットネットワ−ク上で、音声や映像等の時間的に
連続なメディアを品質を落すことなく転送することがで
きるパケット通信装置および通信方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a packet communication device capable of transferring temporally continuous media such as voice and video without degrading quality on an independent synchronous packet network such as LAN. And a communication method.

【0002】[0002]

【従来の技術】従来より、米国ANSIで標準化された
FDDI−II(Fiber Distributed Data Inte
rface−II)が実用化されている。これは、LAN上
で音声や映像等の時間的に連続なメディアを転送する通
信システムであって、パケット交換と回線交換の両サ−
ビスをハイブリッド伝送により実現している。FDDI
−IIに関する文献としては、例えば、『FDDI P
hisical Layer Protocol(PHY-2)』Working Draf
t Proposed American National Standard, AS
C X3T9.5 Rev.3.1(1990)に記載されている。FDDI
−IIの同期方式の特徴は、各ステ−ションがそれぞれ
独立のクロックを用いてリンクバイリンクにデ−タの送
受信を行うとともに(独立同期方式)、回線交換サ−ビ
スの基本である8KHzのサイクルクロックについて
は、マスタステ−ションを定めて、他の全てのステ−シ
ョンはマスタステ−ションのクロックに従属して同期を
行う(従属同期方式)という点である。これに対して、
本来、デ−タ用のネットワ−クとして定義されているF
DDI−Iの通信方式が米国のみならず、その他の国で
未だ使用されている。このFDDI−Iの同期方式の特
徴は、各ステ−ション間で独立同期方式のみを採用して
いることである。
2. Description of the Related Art Conventionally, FDDI-II (Fiber Distributed Data Inte) standardized by ANSI in the United States is used.
rface-II) has been put to practical use. This is a communication system that transfers temporally continuous media such as voice and video on a LAN, and is a service for both packet switching and circuit switching.
The screws are realized by hybrid transmission. FDDI
-II is, for example, “FDDI P
hisical Layer Protocol (PHY-2) ”Working Draf
t Proposed American National Standard, AS
C X3T9.5 Rev.3.1 (1990). FDDI
-II synchronization system is characterized in that each station transmits and receives data to and from the link-by-link by using independent clocks (independent synchronization system), and at the same time, 8 KHz which is the basis of circuit switching service. Regarding the cycle clock, the point is that the master station is defined and all other stations are synchronized depending on the clock of the master station (dependent synchronization method). On the contrary,
Originally defined as a network for data F
The DDI-I communication system is still used not only in the United States but also in other countries. The feature of the FDDI-I synchronization system is that only the independent synchronization system is adopted between the stations.

【0003】図2は、FDDI−IIおよびFDDI−
Iの同期方式の説明図である。図2において、F1はマ
スタステ−ションのクロック周波数、F2,F3,F4
はスレ−ブステ−ションのクロック周波数、1はマスタ
ステ−ションのクロックに同期したリンクであって、全
てのスレ−ブステ−ションはこのクロックに従属して同
期を行う(従属同期方式)。また、2,3,4,5は、
各ステ−ション毎の独立したクロックに同期したリンク
であり、各ステ−ションはそれぞれ独立のクロックを用
いてリンクバイリンクにデ−タの送受信を行う(独立同
期方式)。本来のネットワ−クであるFDDI−Iで
は、各ステ−ション間で独立同期方式のみを用いてデ−
タ転送を行っており、リンク2,3,4,5のみが備え
られている。一方、FDDI−IIでは、同一リング上
で独立同期と従属同期の2つの異なる同期方式を具備し
ており、リンク2,3,4,5の他にリンク1が備えら
れている。FDDI−Iでは、送信側ステ−ションの映
像および音声符号化のクロックと受信側ステ−ションの
クロックが非同期となるため、正常なデ−タ転送は不可
能となる。
FIG. 2 shows FDDI-II and FDDI-.
It is explanatory drawing of the synchronization system of I. In FIG. 2, F1 is a master station clock frequency, F2, F3, F4.
Is a clock frequency of the slave station, and 1 is a link synchronized with the clock of the master station. All slave stations are slaved to this clock for synchronization (dependent synchronization method). Also, 2, 3, 4, 5 are
It is a link that is synchronized with an independent clock for each station, and each station transmits and receives data to and from the link-by-link by using an independent clock (independent synchronization method). FDDI-I, which is the original network, uses only the independent synchronization method between each station for data
Data transfer, and only links 2, 3, 4, and 5 are provided. On the other hand, the FDDI-II has two different synchronization methods on the same ring, that is, independent synchronization and subordinate synchronization, and the link 1 is provided in addition to the links 2, 3, 4, and 5. In FDDI-I, the video and audio encoding clocks of the transmitting station are asynchronous with the receiving station clock, so normal data transfer is impossible.

【0004】[0004]

【発明が解決しようとする課題】このように、未たに独
く使用されているFDDI−Iでは、各ステ−ションで
個別のクロックにより音声の符号化を行っており、この
クロックとは非同期の伝送路クロックによりネットワ−
ク上にデ−タを送出する。送出されたデ−タを受信する
受信ステ−ションでは、ポイントツ−ポイントの独立同
期によりデ−タの再生を行うが、従属同期のメカニズム
は具備していない。その結果、映像および音声符号化の
送信側クロックと受信側クロックは非同期となるため、
正常なデ−タ転送は不可能となる。これにより、受信側
の映像および音声デ−タは欠落または溢れが生じるの
で、デ−タの欠落による品質の劣化を招くことになる。
さらに、ネットワ−ク上の複数のステ−ション間で同時
に通信を行う状態では、複数の送信クロックに対して単
一の受信クロックで対応することになるため、上述のよ
うに品質の劣化が生じる。図3は、FDDI−Iの送受
信ステ−ションの通信モデルを示す図である。図3にお
いて、FDDIはネットワ−ク、CODは送信側ステ−
ションの符号化器、XT−BUFは送信側バッファ、R
X−BUFは受信側バッファ、DECは受信側ステ−シ
ョンの復号器である。複数の送信ステ−ションの符号化
クロックF1,F2でそれぞれ送信されたデ−タは、ネ
ットワ−クFDDIを経由して受信ステ−ションに受信
される。受信ステ−ションでは、符号器DECはクロッ
クF3で動作している。受信ステ−ションで受信された
各パケットは、それぞれ受信バッファRX−BUFを介
してクロックF3でラッチされ、ゲイン調整された後、
加算されて復号器DECで復号される。この場合、送信
側クロックF1,F2と受信側クロックF3は非同期と
なるため、映像および音声デ−タの欠落または溢れが生
じる。例えば、送信側は10/msパケットを送信する
クロックであるのに対して、受信側は9/msパケット
を受信するクロックである場合には、1msに1パケッ
トだけ欠落が生じ、送信側が9/msパケットで、受信
側が10/msパケットのときには、1msに1パケッ
トだけ溢れが生じることになる。本発明の目的は、この
ような従来の課題を解決し、FDDI−Iのような独立
同期系のパケットネットワ−クを用いても、映像および
音声等を品質を落さずに転送することが可能なパケット
通信装置および通信方法を提供することにある。
As described above, in the FDDI-I which is still used by itself, the audio is encoded by an individual clock in each station and is asynchronous with this clock. Network by the transmission line clock of
Data on the clock. In the receiving station that receives the transmitted data, the data is reproduced by point-to-point independent synchronization, but a subordinate synchronization mechanism is not provided. As a result, the clock on the transmitting side and the clock on the receiving side of video and audio encoding are asynchronous,
Normal data transfer becomes impossible. As a result, the video and audio data on the receiving side is lost or overflows, resulting in deterioration of quality due to the loss of data.
Further, in a state where communication is simultaneously performed between a plurality of stations on the network, a plurality of transmission clocks are dealt with by a single reception clock, resulting in deterioration of quality as described above. . FIG. 3 is a diagram showing a communication model of an FDDI-I transmission / reception station. In FIG. 3, FDDI is a network and COD is a transmitting side station.
Encoder, XT-BUF is a transmission side buffer, R
X-BUF is a receiving side buffer, and DEC is a receiving side station decoder. The data transmitted by the encoding clocks F1 and F2 of the plurality of transmission stations are received by the reception station via the network FDDI. In the reception station, the encoder DEC operates at the clock F3. Each packet received in the reception station is latched by the clock F3 via the reception buffer RX-BUF, and after gain adjustment,
They are added and decoded by the decoder DEC. In this case, since the transmission side clocks F1 and F2 and the reception side clock F3 are asynchronous, the video and audio data are lost or overflowed. For example, when the transmitting side has a clock for transmitting 10 / ms packets, while the receiving side has a clock for receiving 9 / ms packets, only one packet is lost per 1 ms, and the transmitting side has 9 / ms packets. When the receiving side is a 10 / ms packet in ms packets, only one packet will overflow in 1 ms. An object of the present invention is to solve such a conventional problem and to transfer video and audio without degrading quality even when using an independent synchronous packet network such as FDDI-I. It is to provide a possible packet communication device and communication method.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、本発明のパケット通信装置は、(イ)独立同期のネ
ットワ−クと、ネットワ−クに接続された複数の端末相
互間で時間的に連続なメディアを用いて双方向パケット
通信を行うパケット通信装置において、各受信端末毎に
複数端末からのパケットをそれぞれ蓄積する複数のパケ
ットバッファと、各パケットバッファ毎にデ−タのオ−
バフロ−およびアンダフロ−をモニタする手段と、各パ
ケットバッファ毎のモニタ手段からのオ−バフロ−信号
の論理和をとる第1の論理和手段と、各パケットバッフ
ァ毎のモニタ手段からのアンダフロ−信号の論理和をと
る第2の論理和手段と、第1および第2の論理和手段か
らの出力をアップ信号およびダウン信号とするアップダ
ウンカウンタと、アップダウンカウンタからのキャリ−
信号に応じて分周比を変化させる可変分周回路と、可変
分周回路の出力周波数により各メディアの入力および出
力のタイミングを制御する制御手段とを有することを特
徴としている。また、(ロ)複数のパケットバッファの
各出力に対応してそれぞれ復号化回路を設け、復号化回
路で複数地点からのパケットをそれぞれ復号した後に、
復号された各デ−タをメディア出力回路に入力し、メデ
ィア出力回路の各メディアの出力タイミングを可変分周
回路の出力周波数により制御することも特徴としてい
る。また、(ハ)制御手段は、可変分周回路の出力周波
数により各メディアの出力タイミングのみを制御するこ
とも特徴としている。また、(ニ)複数のメディアに対
して、入力タイミングを予め同期した整数倍の関係に保
つことにより、制御周期の短いメディアに対して可変分
周回路の分周比の制御を行い、共通の可変分周回路を用
いて、制御周期の長いメディアに対する送信側および受
信側の同期関係を保持することも特徴としている。ま
た、(ホ)複数のメディアは、時間的に連続な音声信号
あるいは映像信号であることも特徴としている。次に、
本発明のパケット通信方法は、(ヘ)独立同期のネット
ワ−クと、ネットワ−クに接続された複数の端末相互間
で時間的に連続なメディアを用いて双方向パケット通信
を行うパケット通信方法において、各受信端末毎に複数
端末からのパケットをそれぞれ蓄積する複数のパケット
バッファの各々に対し、デ−タのオ−バフロ−,アンダ
フロ−および遅延限界をモニタして、それぞれが検出さ
れたことを示すフルフラグ、空きフラグおよび遅延フラ
グを立て、フルフラグ、空きフラグおよび遅延フラグの
オン、オフにより、各パケットバッファの出力を復号化
する復号化回路の復号動作を制御することを特徴として
いる。また、(ト)オ−バフロ−をモニタしてオ−バフ
ロ−が検出された時、パケットバッファに蓄積されたデ
−タを通常の読み出し速度のK倍の速度で読み出して、
復号化回路にはKサンプル毎に間引いて入力することも
特徴としている。また、(チ)アンダフロ−をモニタし
てアンダフロ−が検出された時、復号化回路に蓄積され
た最終デ−タを反復するか、あるいはアンダフロ−検出
直前のデ−タとアンダフロ−検出直後の受信デ−タでア
ンダフロ−期間のデ−タを補間することも特徴としてい
る。さらに(リ)フルフラグ、空きフラグおよび遅延フ
ラグのオン、オフにより復号化回路の動作を制御する処
理とともに、アップダウンカウンタからのキャリ−信号
により可変分周回路の分周比を変化させ、可変分周回路
の出力周波数により入力および出力のタイミングを制御
する処理を併用することも特徴としている。
In order to achieve the above object, the packet communication apparatus of the present invention comprises: (a) a network of independent synchronization and a plurality of terminals connected to the network in terms of time. In a packet communication device for performing bidirectional packet communication using continuous media, a plurality of packet buffers for accumulating packets from a plurality of terminals for each receiving terminal, and a data buffer for each packet buffer.
Means for monitoring the buffer and underflow, first OR means for ORing the overflow signals from the monitor means for each packet buffer, and the underflow signal from the monitor means for each packet buffer Second OR means for taking the logical OR of the above, an up / down counter for making the outputs from the first and second OR circuits an up signal and a down signal, and a carry from the up / down counter.
It is characterized by having a variable frequency dividing circuit for changing the frequency dividing ratio according to a signal and a control means for controlling the input and output timing of each medium according to the output frequency of the variable frequency dividing circuit. Also, (b) a decoding circuit is provided for each output of the plurality of packet buffers, and after decoding packets from a plurality of points by the decoding circuit,
It is also characterized in that each decoded data is input to the media output circuit and the output timing of each media of the media output circuit is controlled by the output frequency of the variable frequency dividing circuit. Further, (c) the control means is characterized in that only the output timing of each medium is controlled by the output frequency of the variable frequency dividing circuit. (D) By maintaining the input timings in a synchronized multiple relationship in advance for a plurality of media, the frequency division ratio of the variable frequency divider circuit is controlled for media with a short control cycle, and It is also characterized in that the variable frequency divider circuit is used to maintain the synchronization relationship between the transmission side and the reception side for a medium having a long control cycle. Further, (e) the plurality of media are also characterized by temporally continuous audio signals or video signals. next,
The packet communication method of the present invention is (f) a packet communication method for performing bidirectional packet communication using an independent synchronous network and a temporally continuous medium between a plurality of terminals connected to the network. In the above, in each of the plurality of packet buffers for accumulating the packets from the plurality of terminals for each receiving terminal, the data overflow, underflow, and delay limit are monitored, and each is detected. Is set, and the decoding operation of the decoding circuit for decoding the output of each packet buffer is controlled by turning on / off the full flag, the empty flag, and the delay flag. Further, when the (f) overflow is monitored and the overflow is detected, the data accumulated in the packet buffer is read at a speed K times the normal read speed,
The decoding circuit is also characterized by thinning out and inputting every K samples. (H) When the underflow is monitored and the underflow is detected, the final data stored in the decoding circuit is repeated, or the data immediately before the underflow is detected and the data immediately after the underflow is detected. It is also characterized in that the reception data interpolates the data in the underflow period. Further, the operation of the decoding circuit is controlled by turning on / off the (re) full flag, empty flag and delay flag, and the frequency division ratio of the variable frequency dividing circuit is changed by the carry signal from the up / down counter. It is also characterized in that the processing for controlling the input and output timing according to the output frequency of the circuit is also used.

【0006】[0006]

【作用】本発明においては、ポイントツ−ポイントの独
立同期方式を前提にして、各受信側ステ−ションにモニ
タ手段とアップダウンカウンタと可変分周回路と入出力
タイミング制御手段を設ける。すなわち、パケットバッ
ファ毎に設けられたオ−バフロ−とアンダフロ−モニタ
手段により、オ−バフロ−が検出されたときにはそれら
の論理和をとり、アンダフロ−が検出されたときにはそ
れらの論理和をとり、両方の論理和出力をアップダウン
カウンタのアップ信号またはダウン信号として入力し、
アップダウンカウンタからのキャリ−信号に応じて、可
変分周回路の分周比を変えることにより、各メディアの
入力または出力タイミングを制御する。これにより、パ
ケットの受信速度が早いときには分周回路の分周比を小
さくして復号化処理を早くしてやり、パケットの受信速
度が遅いときには分周回路の分周比を大きくして復号化
処理を遅くすることができるので、極端な早遅がない限
り、独立同期系のネットワ−クでも、映像および音声等
の時間的に連続なメディアの転送を行う場合に、欠落や
溢れ等の品質劣化を生じることなく行うことが可能であ
る。また、別の実施例として、パケットバッファ毎にオ
−バフロ−、アンダフロ−および遅延限界をモニタし
て、それらが検出されたときフルフラグ、空きフラグお
よび遅延フラグを立てるようにして、それらのフラグの
オン、オフにより、復号化回路の復号動作を制御するこ
とによっても、品質を落さずにデ−タ転送を行うことが
できる。
In the present invention, on the premise of the point-to-point independent synchronization system, the monitor means, the up / down counter, the variable frequency dividing circuit, and the input / output timing control means are provided in each receiving station. That is, the overflow and the underflow monitor means provided for each packet buffer take the logical sum of them when the overflow is detected, and take the logical sum of them when the underflow is detected, Input both OR outputs as up signal or down signal of up / down counter,
The input or output timing of each medium is controlled by changing the frequency division ratio of the variable frequency dividing circuit according to the carry signal from the up / down counter. As a result, when the packet reception speed is high, the frequency division ratio of the frequency division circuit is reduced to accelerate the decoding process, and when the packet reception speed is low, the frequency division circuit is increased to perform the decoding process. Since it can be slowed down, unless there is an extremely early or late delay, quality deterioration such as dropout or overflow will occur even when an independent synchronous network is used to transfer temporally continuous media such as video and audio. It can be done without it happening. Further, as another embodiment, the overflow, underflow, and delay limits are monitored for each packet buffer, and when they are detected, a full flag, an empty flag, and a delay flag are set, and those flags are set. By controlling the decoding operation of the decoding circuit by turning it on and off, data transfer can be performed without degrading the quality.

【0007】[0007]

【実施例】以下、本発明の実施例を、図面により詳細に
説明する。図1は、本発明の一実施例を示す各ステ−シ
ョン内の構成図である。図1において、11は送信側か
ら送られたメディアを入力するメディア入力回路、12
は受信メディアを符号化する符号化回路、13は符号化
されたデ−タでパケットを生成するパケット生成回路、
14は周波数発振回路、15は可変分周回路、16はア
ップダウンカウンタ、17,18はモニタ検出信号を論
理和するための論理和回路、19,22はオ−バフロ−
およびアンダフロ−をモニタしてフラグを生成するフラ
グ生成回路、20,21は受信したパケットを蓄積する
パケットバッファ、23,24は復号化回路、25はメ
ディアを出力するメディア出力回路、26はFDDI−
I等のパケットネットワ−クである。先ず、送信側で
は、入力信号はメディア入力回路11によりディジタル
化される。この場合、ディジタル化に必要なAD変換器
のサンプリング周波数は、可変分周回路15の出力によ
り定められる。ディジタル化されたデ−タは、符号化回
路12により所定のビットレ−トに符号化される。次
に、符号化されたデ−タはパケットネットワ−ク26に
転送するためのパケット生成回路13に入力される。パ
ケット生成回路13では、符号化回路12で生成された
サンプル毎のデ−タを、固定または可変のパケットデ−
タに変換する。以上が送信側ステ−ションの動作であ
る。図1では、図面の関係により、同一ステ−ションの
構成を用いて受信側の動作を説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a configuration diagram in each station showing an embodiment of the present invention. In FIG. 1, reference numeral 11 is a media input circuit for inputting media sent from the transmitting side, and 12
Is an encoding circuit for encoding the receiving medium, 13 is a packet generating circuit for generating a packet with the encoded data,
Reference numeral 14 is a frequency oscillating circuit, 15 is a variable frequency dividing circuit, 16 is an up-down counter, 17 and 18 are OR circuits for ORing monitor detection signals, and 19 and 22 are overflow circuits.
And a flag generation circuit for generating a flag by monitoring the underflow, 20 and 21 are packet buffers for accumulating received packets, 23 and 24 are decoding circuits, 25 is a media output circuit for outputting media, and 26 is FDDI-
It is a packet network such as I. First, on the transmitting side, the input signal is digitized by the media input circuit 11. In this case, the sampling frequency of the AD converter required for digitization is determined by the output of the variable frequency dividing circuit 15. The digitized data is encoded into a predetermined bit rate by the encoding circuit 12. Next, the encoded data is input to the packet generation circuit 13 for transfer to the packet network 26. In the packet generation circuit 13, the data for each sample generated by the encoding circuit 12 is used as fixed or variable packet data.
Convert to data. The above is the operation of the transmitting station. In FIG. 1, the operation on the receiving side will be described using the configuration of the same station due to the relationship of the drawings.

【0008】パケットネットワ−ク26に送出されたパ
ケットデ−タは、ネットワ−クアドレスにより受信ステ
−ションのパケットバッファ20,21に入力される。
パケットバッファ20,21は、同時に複数地点からの
デ−タ受信が可能となるように、複数本のバッファが備
えられている。このパケットバッファ20,21内で
は、送信側と受信側のクロック周波数の相違によって、
前述のようなデ−タの欠落または溢れが生じる可能性が
ある。そのために、溢れを検出するオ−バフロ−フラグ
生成回路19と欠落を検出するアンダフロ−フラグ生成
回路22を具備している。受信側でメディア品質を確保
するためには、パケットバッファ20,21内でのオ−
バフロ−およびアンダフロ−を可能な限り減らす必要が
ある。そのために、本実施例ではオ−バフロ−の場合に
は復号化処理等を高速化することにより、オ−バフロ−
を減少させるとともに、アンダフロ−の場合には復号化
処理等を低速化することにより、アンダフロ−を減少さ
せる。複数のパケットバッファ20,21に付随したオ
−バフロ−フラグ生成回路19およびアンダフロ−フラ
グ生成回路22からそれぞれ出力されたフラグ情報を、
オ−バフロ−およびアンダ−フロ−毎に論理和回路1
7,18で論理和をとり、これをアップダウンカウンタ
16のアップ信号およびダウン信号として入力する。ア
ップダウンカウンタ16は、受信回路と複数の送信回路
のクロック周波数の誤差を累積する機能を有しており、
アップダウンカウンタ16のキャリ−信号により可変分
周回路15の分周比を制御する。
The packet data sent to the packet network 26 is input to the packet buffers 20 and 21 of the receiving station by the network address.
The packet buffers 20 and 21 are provided with a plurality of buffers so that data can be received from a plurality of points at the same time. In the packet buffers 20 and 21, due to the difference in clock frequency between the transmitting side and the receiving side,
Data loss or overflow as described above may occur. For this purpose, an overflow flag generation circuit 19 for detecting overflow and an underflow flag generation circuit 22 for detection of missing are provided. In order to ensure the media quality on the receiving side, the audio in the packet buffers 20 and 21 must be
Buffalo and underflow should be reduced as much as possible. Therefore, in this embodiment, in the case of overflow, the decoding process and the like are speeded up so that
In addition, in the case of underflow, the decoding process and the like are slowed down to reduce the underflow. The flag information output from the overflow flag generation circuit 19 and the underflow flag generation circuit 22 associated with the plurality of packet buffers 20 and 21 are
OR circuit 1 for each overflow and underflow
A logical sum is obtained at 7 and 18, and this is input as an up signal and a down signal of the up / down counter 16. The up / down counter 16 has a function of accumulating an error between clock frequencies of the receiving circuit and the plurality of transmitting circuits,
The frequency division ratio of the variable frequency dividing circuit 15 is controlled by the carry signal of the up / down counter 16.

【0009】可変分周回路15の制御方法は、アップ側
へのキャリ−信号により、受信側のパケットバッファ2
0,21は平均的にオ−バフロ−が発生していることが
判るので、受信側の出力回路の読み出しクロックの分周
比を上げてデ−タの読み出し頻度を上げることにより、
オ−バフロ−の発生頻度を抑制する。逆に、ダウン側へ
のキャリ−信号により、受信側のパケットバッファ2
0,21は平均的にアンダフロ−が発生していることが
判るので、受信側の読み出しクロックの分周比を下げて
デ−タの読み出し頻度を下げることにより、アンダ−フ
ロ−の発生頻度を抑制する。この制御により、周波数発
信回路14の出力信号の分周で得られる受信側のメディ
ア出力回路25および入力回路11のクロック周波数は
変化し、等価的に送信側と受信側の同期がとられること
になる。また、複数のパケットバッファ20,21から
の出力デ−タは、各々の複号化回路23,24に入力さ
れた後、メディア出力回路25に出力される。
The control method of the variable frequency dividing circuit 15 is such that the packet buffer 2 on the receiving side is controlled by a carry signal to the up side.
Since it can be seen that 0 and 21 are overflowing on average, by increasing the frequency division ratio of the read clock of the output circuit on the receiving side and increasing the frequency of reading data,
Suppress the frequency of overflow. On the contrary, by the carry signal to the down side, the packet buffer 2 on the receiving side
Since it can be seen that underflows 0 and 21 occur on average, the frequency of underflow is reduced by lowering the frequency division ratio of the read clock on the receiving side to reduce the data read frequency. Suppress. By this control, the clock frequencies of the media output circuit 25 on the reception side and the input circuit 11 obtained by dividing the output signal of the frequency transmission circuit 14 are changed, and the transmission side and the reception side are equivalently synchronized. Become. The output data from the plurality of packet buffers 20 and 21 are input to the respective decoding circuits 23 and 24 and then output to the media output circuit 25.

【0010】図4は、本発明の第1の実施例を示す受信
側同期制御回路の要部構成図である。図4において、R
X−BUFは受信側パケットバッファ、ORは論理和回
路、EFはエンプティ(空き)フラグ、FFはフル(溢
れ)フラグ、CODは符号化回路、DECは復号化回路
である。先ず、複数(ここでは3個)の受信側パケット
バッファRX−BUFをFIFOで構成し、各FIFO
からの空きフラグEFおよび溢れフラグFFを、各々3
入力のOR回路の入力とする。これら2個のOR回路の
出力をそれぞれMビットのアップダウンカウンタのアッ
プ入力とダウン入力とし、このアップダウンカウンタか
らのキャリ−信号(アップまたはダウン)を分周回路の
分周比を変化させる制御信号とする。ここでは、アップ
ダウンカウンタからのアップ信号は、受信側が統計的に
エンプティ、つまり送信側に比べて早く動作しているこ
とを意味しており、従ってアップ信号により復号器DE
Cの動作を落すように、分周回路の−1側に入力して、
分周比を大きくするように制御する。逆に、アップダウ
ンカウンタからのダウン信号は、受信側が統計的にフ
ル、つまり送信側に比べて遅く動作していることを意味
しており、従ってダウン信号により復号器DECの動作
を上げるように、分周回路の+1側に入力して、分周比
を小さくするように制御する。例えば、分周回路が10
0MHzを1/10に分周することにより、10MHz
にして出力している場合、エンプティフラグが立つと、
分周回路の−1側に入力して分周比を大きくするので、
1/11に分周されて9.09MHzで出力される一
方、フルフラグが立つと、分周回路の+1側に入力して
分周比を小さくするので、1/9に分周されて11.1
1MHzで出力される。
FIG. 4 is a block diagram showing the main part of the receiving side synchronization control circuit showing the first embodiment of the present invention. In FIG. 4, R
X-BUF is a receiving side packet buffer, OR is an OR circuit, EF is an empty (empty) flag, FF is a full (overflow) flag, COD is an encoding circuit, and DEC is a decoding circuit. First, a plurality (here, three) of reception side packet buffers RX-BUF are configured by FIFOs, and each FIFO is configured.
Empty flag EF and overflow flag FF from
It is used as the input of the input OR circuit. The outputs of these two OR circuits are respectively used as an up input and a down input of an M-bit up / down counter, and a carry signal (up or down) from the up / down counter is changed to change the frequency division ratio of the frequency divider circuit. Signal. Here, the up signal from the up / down counter means that the receiving side is statistically empty, that is, operating faster than the transmitting side, and thus the decoder DE
Input to the -1 side of the frequency divider circuit so as to reduce the operation of C,
Control to increase the division ratio. On the contrary, the down signal from the up / down counter means that the receiving side is statistically full, that is, operates slower than the transmitting side, so that the down signal causes the operation of the decoder DEC to increase. , Is input to the +1 side of the frequency dividing circuit to control the frequency dividing ratio to be small. For example, if the frequency divider circuit is 10
By dividing 0MHz by 1/10, 10MHz
If the empty flag is set when the output is
Since it is input to the -1 side of the frequency divider circuit to increase the frequency division ratio,
While the frequency is divided into 1/11 and output at 9.09 MHz, when the full flag is set, it is input to the +1 side of the frequency dividing circuit to reduce the frequency division ratio, so the frequency is divided into 1/9. 1
Output at 1MHz.

【0011】図4において、分周回路では、予めプリセ
ットされた分周比Nをアップ信号またはダウン信号によ
り、N+1またはN−1に変更する。この分周回路によ
り変更された周波数が符号器CODおよび復号器DEC
の動作周波数となって、ネットワ−クに接続されたステ
−ションは平均的に同一の周波数により動作する。図5
は、図4の同期制御回路の変形例を示す構成図である。
図4と異なる点は、可変分周器の出力を復号器DECの
みに適用していることであり、符号化器CODは一定の
周波数で動作させる。図4の場合には、システム内の全
てのステ−ションの送信側と受信側の周波数が変化する
ので、ネットワ−クの遅延特性の影響により特定の周波
数に引き込めなくなる可能性がある。そこで、図5にお
いては、このような現象を避けるために、受信側の周波
数のみを可変としている。図5の同期制御回路では、被
制御対象を復号化回路DECのみにする点が異なるだけ
で、その他の回路構成は図4と同じでよい。なお、図
4、図5において、音声および映像等の複数のメディア
が入力される場合に、転送される複数のメディアに対し
て入力タイミングを予め同期した整数倍の関係に保つこ
とにより、制御周期の短いメディアに対して上記分周比
の制御を行うことで、制御周期の長いメディアに対する
送信側、受信側の同期関係を保持することができる。例
えば、音声と映像の2つのメディアを転送する場合に
は、基本的には別個に同期制御回路を設ける必要がある
が、音声を1、映像を2の関係に保つことにより、共通
の同期制御回路ですませることができる。
In FIG. 4, the frequency division circuit changes the preset frequency division ratio N to N + 1 or N-1 by an up signal or a down signal. The frequency changed by this frequency dividing circuit is the encoder COD and the decoder DEC.
The stations connected to the network operate at the same frequency on average. Figure 5
FIG. 9 is a configuration diagram showing a modified example of the synchronization control circuit of FIG. 4.
The difference from FIG. 4 is that the output of the variable frequency divider is applied only to the decoder DEC, and the encoder COD operates at a constant frequency. In the case of FIG. 4, since the frequencies of the transmission side and the reception side of all the stations in the system change, there is a possibility that it will not be possible to be pulled to a specific frequency due to the influence of the delay characteristics of the network. Therefore, in FIG. 5, only the frequency on the receiving side is variable in order to avoid such a phenomenon. The synchronous control circuit of FIG. 5 is the same as that of FIG. 4 except that the controlled object is only the decoding circuit DEC. In addition, in FIG. 4 and FIG. 5, when a plurality of media such as audio and video are input, it is possible to maintain a control cycle by keeping the input timings of the plurality of media to be transferred in a pre-synchronized integer multiple relationship. By controlling the frequency division ratio for a medium having a short period, the synchronization relationship between the transmitting side and the receiving side for a medium having a long control cycle can be maintained. For example, when transferring two media, audio and video, it is basically necessary to provide a separate sync control circuit, but by keeping the relationship of 1 for audio and 2 for video, common synchronization control is possible. It can be done with a circuit.

【0012】図6、図7および図8は、本発明の第2の
実施例を示す復号処理の説明図である。すなわち、図6
では、受信側パケットバッファ内のフラグ構成を示して
おり、図7では、間引き出力の例を示しており、図8で
は、置換および補間出力の例を示している。先ず、第2
の実施例では、図6に示すように、チャネル対応の受信
パケットバッファ内に、フルフラグ(FF)、遅延フラ
グ(DF)、空きフラグ(EF)の3種類のフラグを設
ける。ここで、フルフラグFFは受信パケットバッファ
内のデ−タ滞留の限界点を示し、遅延フラグDFはネッ
トワ−クの最大遅延に相当する点を示し、空きフラグE
Fは受信パケットバッファ内のデ−タ欠落の限界を示し
ている。受信側パケットバッファに接続されている復号
器は、このフルフラグFF、遅延フラグDF、および空
きフラグEFの3種のフラグのオン、オフによってその
動作が制御される。
FIG. 6, FIG. 7 and FIG. 8 are explanatory views of the decoding process showing the second embodiment of the present invention. That is, FIG.
Shows the flag configuration in the receiving side packet buffer, FIG. 7 shows an example of thinning output, and FIG. 8 shows an example of replacement and interpolation output. First, second
In this embodiment, as shown in FIG. 6, three types of flags, a full flag (FF), a delay flag (DF), and an empty flag (EF) are provided in the reception packet buffer corresponding to the channel. Here, the full flag FF indicates the limit point of data retention in the received packet buffer, the delay flag DF indicates the point corresponding to the maximum delay of the network, and the empty flag E.
F indicates the limit of missing data in the received packet buffer. The operation of the decoder connected to the receiving side packet buffer is controlled by turning on / off the three flags, the full flag FF, the delay flag DF, and the empty flag EF.

【0013】(イ)FF=ON、DF=ONの時 この場合には、バッファ内のデ−タの滞留が限界を超え
ており、復号器側は、図4で説明したようなクロックの
制御を行うとともに、バッファ内のデ−タを早く吸収す
るためにK倍速の読み出しを行う。ここで、Kは正の整
数とする。 (ロ)FF=OFF、DF=ONの時 受信バッファ内のデ−タはフルフラグFFと遅延フラグ
DFの間に存在しており、従ってデ−タ滞留の限界点を
超えているだけであるため、復号器側としては通常通り
に読み出しを続行する。 (ハ)EF=ON、DF=OFFの時 この場合には、受信バッファ内のデ−タは既になくなっ
ているので、復号器側の読み出しをディスエ−ブルした
後、図4で説明したようなクロックの制御を行うととも
に、受信デ−タの置換または補間を実施する。置換、補
間については、図8で詳述する。 (ニ)EF=OFF、DF=OFFの時 受信バッファ内のデ−タは遅延フラグDFと空きフラグ
EFの間に存在しており、従ってデ−タ滞留の限界点も
超えておらず、空きになってもいないので、バッファ内
のデ−タは理想的な速度である。この場合には、通常通
り読み出しを続行する。
(A) When FF = ON and DF = ON In this case, the data retention in the buffer exceeds the limit, and the decoder controls the clock as described in FIG. At the same time, K double speed reading is performed in order to quickly absorb the data in the buffer. Here, K is a positive integer. (B) When FF = OFF and DF = ON The data in the reception buffer exists between the full flag FF and the delay flag DF, and therefore only exceeds the limit point of data retention. , The decoder side continues reading as usual. (C) When EF = ON and DF = OFF In this case, since the data in the reception buffer has already disappeared, after the reading on the decoder side is disabled, as shown in FIG. The clock is controlled and the received data is replaced or interpolated. The replacement and interpolation will be described in detail with reference to FIG. (D) When EF = OFF and DF = OFF The data in the reception buffer exists between the delay flag DF and the empty flag EF. Therefore, the limit point of data retention is not exceeded, and the empty The data in the buffer is at the ideal speed, since it is not. In this case, reading is continued as usual.

【0014】図7は、図6におけるバッファ内の状態が
(イ)の場合の読み出し方法を示す説明図である。図7
では、(イ)の場合のK倍速の読み出しの方法をK=2
として示している。受信バッファRX−BUFの出力S
1からS9は間引かれて、奇数番目のデ−タのみが復号
器に入力される。すなわち、S1,S3,S5,S7,
S9のみがサンプリングされて復号器に入力される。図
7に示すように、バッファ内のデ−タはFF点を超えて
滞留の限界を超えていたが、このK倍速の動作により、
遅延フラグDFの点までデ−タが減少している。図8
は、図6におけるバッファ内の状態が(ハ)の場合の置
換および補間処理の内容を示す図である。ここでは、パ
ケット(N−1)に属するS4のデ−タを受信した後、
受信バッファがエンプティになり、4サンプルデ−タ後
にパケット(N)を受信した場合を示している。この場
合の処理内容としては、復号器の最終サンプルS4で欠
落部を置換する方法と、パケット(N−1)に等しいパ
ワ−を持つ白色雑音(ホワイトノイズ)W1〜W4で欠
落部を補間する方法とがある。図8の正常時の図は、パ
ケット(N−1)と(N)が続けて入力した場合であ
る。遅延到着時の図が上記(ハ)の状態であって、XX
XXの間空白が生じてしまうため、音声の場合には、受
信者には音声の途切れとなる。これを避けるために、最
終サンプル置換の図のように、遅延して入力するまでの
空白時間を復号器の最終サンプルS4で欠落部を置換す
る。また、白色雑音補間の図のように、パケット(N−
1)と等しいパワ−の白色雑音W1〜W4で欠落部を補
間する。これにより、受信者は、音声の途切れを感じる
ことなく、最終の音声と同じ雑音が聞えることにより、
異和感がない。
FIG. 7 is an explanatory diagram showing a reading method when the state in the buffer in FIG. 6 is (a). Figure 7
Then, in the case of (a), the method of reading at K double speed is K = 2.
Is shown as. Output S of reception buffer RX-BUF
1 to S9 are thinned out, and only odd-numbered data is input to the decoder. That is, S1, S3, S5, S7,
Only S9 is sampled and input to the decoder. As shown in FIG. 7, the data in the buffer exceeded the FF point and exceeded the limit of retention, but due to this K-speed operation,
The data is reduced to the point of the delay flag DF. Figure 8
FIG. 9 is a diagram showing the contents of replacement and interpolation processing when the state in the buffer in FIG. 6 is (c). Here, after receiving the data of S4 belonging to the packet (N-1),
The case where the reception buffer becomes empty and a packet (N) is received after 4 sample data is shown. The contents of processing in this case include a method of replacing the missing portion with the final sample S4 of the decoder, and interpolating the missing portion with white noise (white noise) W1 to W4 having power equal to the packet (N-1). There is a method. The normal state diagram of FIG. 8 shows the case where packets (N-1) and (N) are continuously input. The figure at the time of delayed arrival is the state of (c) above, XX
Since there is a blank space during XX, in the case of voice, the voice is interrupted to the receiver. In order to avoid this, as shown in the figure of the final sample replacement, the blank portion until delayed input is replaced with the final sample S4 of the decoder. In addition, as shown in the white noise interpolation diagram, the packet (N-
The missing portion is interpolated by the white noise W1 to W4 having power equal to that of 1). This allows the recipient to hear the same noise as the final voice without feeling any interruption in the voice.
There is no strange feeling.

【0015】図9は、本発明の第3の実施例を示す音声
CODECの構成図である。図9の例では、音声信号に
対する入出力およびネットワ−クインタフェ−スを示し
ている。図9において、90はFDDI−I等のネット
ワ−クを接続するためのインタフェ−ス部、20は受信
バッファ、91はバッファ制御部、92は信号処理プロ
セッサ(DSP)、93はAD変換器またはDA変換
器、94はタイミング制御回路、95はマイクロホン/
スピ−カに接続されるアナログインタフェ−ス部であ
る。マイクロホンからの音声デ−タは、アナログインタ
フェ−ス95を介してAD変換器93に入力され、次に
符号化処理を行う信号処理プロセッサ92に入力され
る。信号処理プロセッサ92からの音声デ−タは、パケ
ット化を行うFIFO20に入力された後、ネットワ−
クインタフェ−ス部90を介してネットワ−クに出力さ
れる。一方、ネットワ−クから受信されたデ−タは、ネ
ットワ−クインタフェ−ス部90を介して各チャネル対
応のFIFO20に入力される。この時点で、FIFO
20内でのフラグ情報がバッファ制御部91に反映され
ることにより、信号処理プロセッサ92およびADおよ
びDA変換器93のタイミングを制御するタイミング回
路94に入力される。各FIFO20より信号処理プロ
セッサ92に入力された受信デ−タは、バッファ制御部
91の内容に応じた復号処理が信号処理プロセッサ92
により行われて、その結果はDA変換器93に出力され
る。次に、信号処理プロセッサ92内部における処理に
ついて、図10〜図12で説明する。
FIG. 9 is a block diagram of a voice CODEC showing a third embodiment of the present invention. In the example of FIG. 9, input / output for a voice signal and a network interface are shown. In FIG. 9, 90 is an interface unit for connecting a network such as FDDI-I, 20 is a receiving buffer, 91 is a buffer control unit, 92 is a signal processor (DSP), 93 is an AD converter or DA converter, 94 is a timing control circuit, 95 is a microphone /
An analog interface unit connected to the speaker. The voice data from the microphone is input to the AD converter 93 via the analog interface 95, and then to the signal processor 92 which performs encoding processing. The voice data from the signal processor 92 is input to the FIFO 20 which performs packetization, and then the network.
The data is output to the network via the interface unit 90. On the other hand, the data received from the network is input to the FIFO 20 corresponding to each channel via the network interface unit 90. At this point, the FIFO
When the flag information in 20 is reflected in the buffer control unit 91, it is input to the signal processor 92 and the timing circuit 94 that controls the timing of the AD and DA converters 93. The reception data input from each FIFO 20 to the signal processor 92 is subjected to decoding processing according to the contents of the buffer control unit 91.
And the result is output to the DA converter 93. Next, the processing inside the signal processor 92 will be described with reference to FIGS.

【0016】図10は、図9における信号処理プロセッ
サの入力制御方法を示すフロ−チャ−トである。先ず、
パワ−オンになった後(ステップ101)、空きフラグ
をN回連続した受信した時点で(ステップ102)、受
信デ−タがないものと判定して、入力を中止する(ステ
ップ103)。その後、受信バッファ内の遅延フラグD
F=ONを検出することにより(ステップ104)、再
度、信号処理プロセッサDSPへの入力を開始する(ス
テップ105)。これは、バッファ内で、平均的に遅延
フラグの位置に相当する遅延を挿入して、ネットワ−ク
の遅延の揺らぎを吸収するためである。なお、信号処理
プロセッサDSPへのデ−タの入力は、空きフラグをN
回連続受信するまで続けられる。空きフラグがN回連続
受信されると、初めて信号処理プロセッサDSPへの入
力を中止する。
FIG. 10 is a flowchart showing an input control method of the signal processor in FIG. First,
After the power is turned on (step 101), when the vacant flag is received N times consecutively (step 102), it is determined that there is no reception data, and the input is stopped (step 103). After that, the delay flag D in the reception buffer
By detecting F = ON (step 104), the input to the signal processor DSP is started again (step 105). This is because a delay corresponding to the position of the delay flag is inserted on average in the buffer to absorb the delay fluctuation of the network. When inputting data to the signal processor DSP, an empty flag is set to N.
It is continued until it receives continuously. When the empty flag is continuously received N times, the input to the signal processor DSP is stopped for the first time.

【0017】図11は、空きフラグに関する処理内容で
置換の場合の処理フロ−チャ−トである。空きフラグを
検出すると(ステップ111)、その時点で復号器は最
終サンプルを出力する(ステップ112)。これによっ
て、図8の最終サンプル置換で示されるように、空白の
期間に最終サンプルで置換された信号が出力され、音声
の場合には、受信者の耳には最終サンプルが連続して聞
えることになり、違和感はなくなる。また、空きフラグ
が検出されない場合には、FIFOからデ−タを読み出
し(ステップ113)、信号処理プロセッサで復号化処
理が行われる。図12は、空きフラグに関する処理内容
で補間の場合の処理フロ−チャ−トである。先ず、パケ
ットを受信すると(ステップ121)、その時点で信号
処理プロセッサDSPは平均パワ−Pを計算する(ステ
ップ122)。次のパケットを受信中に空きフラグを検
出すれば(ステップ123)、信号処理プロセッサは次
のパケットを受信するまで、平均=0、分散=Pの白色
雑音を発生する(ステップ124)。これによって、図
8の白色雑音補間で示されるように、空白の期間に白色
雑音で補間して出力するので、受信者の耳には白色雑音
が聞えることになる。すなわち、途中に空きが生じる
と、音声の大きさにかたよりが生じるが、そこに白色雑
音を挿入することにより、違和感はなくなる。また、空
きフラグを検出しなければ(ステップ123)、通常の
とおりFIFOからデ−タを読み出す処理を続行する。
FIG. 11 is a processing flowchart in the case of replacement with the processing contents relating to the empty flag. When the empty flag is detected (step 111), the decoder outputs the final sample at that time (step 112). As a result, as shown in the final sample replacement in FIG. 8, the signal replaced with the final sample is output in the blank period, and in the case of voice, the final sample can be continuously heard in the ear of the receiver. And the sense of incongruity disappears. If the empty flag is not detected, the data is read from the FIFO (step 113) and the signal processor performs the decoding process. FIG. 12 is a processing flowchart in the case of interpolation with the processing contents regarding the empty flag. First, when a packet is received (step 121), the signal processor DSP at that point calculates an average power P (step 122). If the empty flag is detected during the reception of the next packet (step 123), the signal processor generates white noise of mean = 0 and variance = P until the next packet is received (step 124). As a result, as shown by the white noise interpolation in FIG. 8, white noise is interpolated and output in the blank period, so that the white noise can be heard in the ear of the receiver. That is, if there is a space in the middle, the sound volume will be distorted, but the white noise will be inserted there, and the discomfort will disappear. If the empty flag is not detected (step 123), the process of reading the data from the FIFO is continued as usual.

【0018】[0018]

【発明の効果】以上説明したように、本発明によれば、
本来のデ−タ通信用に設計されたFDDI−Iのような
独立同期系のパケットネットワ−クを用いても、映像お
よび音声等の連続メディアの品質を落さずに相手ステ−
ションに転送することができる。また、本発明の応用と
して、LANの持つブロ−ドキャスト機能により、複数
のステ−ション相互間での会議を行うことも可能とな
る。
As described above, according to the present invention,
Even if an independent synchronous packet network such as FDDI-I originally designed for data communication is used, the quality of continuous media such as video and audio is not deteriorated, and the partner station is maintained.
Can be transferred to the application. Further, as an application of the present invention, it is possible to hold a conference between a plurality of stations by the broadcast function of the LAN.

【0019】[0019]

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

【図1】本発明の一実施例を示すパケット通信装置の全
体ブロック図である。
FIG. 1 is an overall block diagram of a packet communication device showing an embodiment of the present invention.

【図2】従来のFDDI−IおよびFDDI−IIの同
期方式を示す説明図である。
FIG. 2 is an explanatory diagram showing a conventional FDDI-I and FDDI-II synchronization method.

【図3】従来のFDDI−Iの通信モデルを示す図であ
る。
FIG. 3 is a diagram showing a conventional FDDI-I communication model.

【図4】本発明の第1の実施例を示す同期制御装置の要
部ブロック図である。
FIG. 4 is a block diagram of a main part of the synchronization control device showing the first embodiment of the present invention.

【図5】図4の変形例を示す同期制御装置の要部ブロッ
ク図である。
5 is a block diagram of a main part of a synchronization control device showing a modified example of FIG.

【図6】本発明の第2の実施例を示す同期制御方法のう
ち、受信バッファ内のフラグ構成を示す図である。
FIG. 6 is a diagram showing a flag configuration in a reception buffer in the synchronization control method according to the second embodiment of the present invention.

【図7】同じく第2の実施例を示す同期制御方法のう
ち、間引き出力の例を示す図である。
FIG. 7 is a diagram showing an example of thinned-out output in the synchronization control method of the second embodiment.

【図8】同じく第2の実施例を示す同期制御方法のう
ち、置換および補間出力の例を示す図である。
FIG. 8 is a diagram showing an example of replacement and interpolation output of the synchronization control method of the second embodiment.

【図9】本発明の第3の実施例を示す音声CODECの
構成を示す図である。
FIG. 9 is a diagram showing the structure of a voice CODEC showing a third embodiment of the present invention.

【図10】本発明の信号処理プロセッサの入力制御方法
を示すフロ−チャ−トである。
FIG. 10 is a flowchart showing an input control method of the signal processor of the present invention.

【図11】図8における置換時の処理を示すフロ−チャ
−トである。
FIG. 11 is a flowchart showing the processing at the time of replacement in FIG.

【図12】図8における補間時の処理内容を示すフロ−
チャ−トである。
12 is a flow chart showing the processing contents at the time of interpolation in FIG.
It is a chart.

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

1 マスタステ−ションのクロック周波数による従属同
期リンク 2,3,4,5 各ステ−ションのクロック周波数によ
る独立同期リンク 11 メディア入力回路 12 符号化回路 13 パケット生成回路 14 周波数発信回路 15 可変分周回路 16 アップダウンカウンタ 17,18 論理和回路 20,21 パケットバッファ 19,22 フラグ生成回路 23,24 復号化回路 25 メディア出力回路 26 パケットネットワ−ク 90 ネットワ−クインタフェ−ス部 91 バッファ制御部 92 信号処理プロセッサ(DSP) 93 AD/DA変換器 94 タイミング回路 95 アナログインタフェ−ス部
1 Dependent Synchronous Link by Clock Frequency of Master Station 2, 3, 4, 5 Independent Synchronous Link by Clock Frequency of Each Station 11 Media Input Circuit 12 Encoding Circuit 13 Packet Generation Circuit 14 Frequency Transmission Circuit 15 Variable Divider Circuit 16 up-down counter 17,18 OR circuit 20,21 packet buffer 19,22 flag generation circuit 23,24 decoding circuit 25 media output circuit 26 packet network 90 network interface section 91 buffer control section 92 signal processing Processor (DSP) 93 AD / DA converter 94 Timing circuit 95 Analog interface unit

フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04L 12/42 Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI technical display location H04L 12/42

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 独立同期のネットワ−クと、該ネットワ
−クに接続された複数の端末相互間で時間的に連続なメ
ディアを用いて双方向パケット通信を行うパケット通信
装置において、各受信端末毎に複数端末からのパケット
をそれぞれ蓄積する複数のパケットバッファと、各パケ
ットバッファ毎にデ−タのオ−バフロ−およびアンダフ
ロ−をモニタする手段と、各パケットバッファ毎のモニ
タ手段からのオ−バフロ−信号の論理和をとる第1の論
理和手段と、各パケットバッファ毎のモニタ手段からの
アンダフロ−信号の論理和をとる第2の論理和手段と、
該第1および第2の論理和手段からの出力をアップ信号
およびダウン信号とするアップダウンカウンタと、該ア
ップダウンカウンタからのキャリ−信号に応じて分周比
を変化させる可変分周回路と、該可変分周回路の出力周
波数により各メディアの入力および出力のタイミングを
制御する制御手段とを有することを特徴とするパケット
通信装置。
1. A packet communication apparatus for performing bidirectional packet communication between a network of independent synchronization and a plurality of terminals connected to the network by using a temporally continuous medium. A plurality of packet buffers for respectively accumulating packets from a plurality of terminals, a means for monitoring the data overflow and underflow for each packet buffer, and an monitor from each monitor means for each packet buffer. First OR means for ORing the buffer flow signals, and second OR means for ORing the underflow signals from the monitor means for each packet buffer,
An up-down counter that uses the output from the first and second OR means as an up signal and a down signal, and a variable frequency dividing circuit that changes a frequency division ratio according to a carry signal from the up-down counter, A packet communication device comprising: a control unit that controls the input and output timings of each medium according to the output frequency of the variable frequency dividing circuit.
【請求項2】 請求項1に記載のパケット通信装置にお
いて、上記複数のパケットバッファの各出力に対応して
それぞれ復号化回路を設け、該復号化回路で複数地点か
らのパケットをそれぞれ復号した後に、復号された各デ
−タをメディア出力回路に入力し、該メディア出力回路
の各メディアの出力タイミングを可変分周回路の出力周
波数により制御することを特徴とするパケット通信装
置。
2. The packet communication device according to claim 1, wherein a decoding circuit is provided for each output of the plurality of packet buffers, and the decoding circuit decodes packets from a plurality of points respectively. A packet communication device, wherein each decoded data is input to a media output circuit, and output timing of each media of the media output circuit is controlled by an output frequency of a variable frequency dividing circuit.
【請求項3】 請求項1に記載のパケット通信装置にお
いて、上記制御手段は、可変分周回路の出力周波数によ
り各メディアの出力タイミングのみを制御することを特
徴とするパケット通信装置。
3. The packet communication device according to claim 1, wherein the control means controls only the output timing of each medium according to the output frequency of the variable frequency dividing circuit.
【請求項4】 請求項1に記載のパケット通信装置にお
いて、上記複数のメディアに対して、入力タイミングを
予め同期した整数倍の関係に保つことにより、制御周期
の短いメディアに対して可変分周回路の分周比の制御を
行い、共通の可変分周回路を用いて、制御周期の長いメ
ディアに対する送信側および受信側の同期関係を保持す
ることを特徴とするパケット通信装置。
4. The packet communication device according to claim 1, wherein the input timings of the plurality of media are kept in a pre-synchronized integer multiple relationship, whereby variable frequency division is performed for media having a short control cycle. A packet communication device characterized in that a frequency division ratio of a circuit is controlled and a common variable frequency division circuit is used to maintain a synchronization relationship between a transmission side and a reception side for a medium having a long control cycle.
【請求項5】 請求項1に記載のパケット通信装置にお
いて、上記複数のメディアは、時間的に連続な音声信号
あるいは映像信号であることを特徴とするパケット通信
装置。
5. The packet communication device according to claim 1, wherein the plurality of media are temporally continuous audio signals or video signals.
【請求項6】 独立同期のネットワ−クと、該ネットワ
−クに接続された複数の端末相互間で時間的に連続なメ
ディアを用いて双方向パケット通信を行うパケット通信
方法において、各受信端末毎に複数端末からのパケット
をそれぞれ蓄積する複数のパケットバッファの各々に対
し、デ−タのオ−バフロ−,アンダフロ−および遅延限
界をモニタして、それぞれが検出されたことを示すフル
フラグ、空きフラグおよび遅延フラグを立て、上記フル
フラグ、空きフラグおよび遅延フラグのオン、オフによ
り、各パケットバッファの出力を復号化する復号化回路
の復号動作を制御することを特徴とするパケット通信方
法。
6. A packet communication method for performing bidirectional packet communication between a network of independent synchronization and a plurality of terminals connected to the network using a temporally continuous medium, wherein each receiving terminal For each of a plurality of packet buffers that store packets from a plurality of terminals for each, monitoring the data overflow, underflow, and delay limit, a full flag indicating that each has been detected, a free space A packet communication method comprising: setting a flag and a delay flag, and controlling the decoding operation of a decoding circuit for decoding the output of each packet buffer by turning on and off the full flag, the empty flag and the delay flag.
【請求項7】 請求項6に記載のパケット通信方法にお
いて、上記オ−バフロ−をモニタしてオ−バフロ−が検
出された時、パケットバッファに蓄積されたデ−タを通
常の読み出し速度のK倍の速度で読み出して、復号化回
路にはKサンプル毎に間引いて入力することを特徴とす
るパケット通信方法。
7. The packet communication method according to claim 6, wherein when the overflow is monitored and an overflow is detected, the data accumulated in the packet buffer is read at a normal read speed. A packet communication method characterized by reading at a speed of K times and thinning out and inputting to the decoding circuit every K samples.
【請求項8】 請求項6に記載のパケット通信方法にお
いて、上記アンダフロ−をモニタしてアンダフロ−が検
出された時、復号化回路に蓄積された最終デ−タを反復
するか、あるいは該アンダフロ−検出直前のデ−タと該
アンダフロ−検出直後の受信デ−タで該アンダフロ−期
間のデ−タを補間することを特徴とするパケット通信方
法。
8. The packet communication method according to claim 6, wherein when the underflow is detected and the underflow is detected, the final data stored in the decoding circuit is repeated or the underflow is performed. A packet communication method characterized in that the data immediately before the detection and the reception data immediately after the underflow are interpolated with the data in the underflow period.
【請求項9】 請求項6に記載のパケット通信方法にお
いて、上記フルフラグ、空きフラグおよび遅延フラグの
オン、オフにより復号化回路の動作を制御する処理とと
もに、請求項1に記載されたアップダウンカウンタから
のキャリ−信号により可変分周回路の分周比を変化さ
せ、該可変分周回路の出力周波数により入力および出力
のタイミングを制御する処理を併用することを特徴とす
るパケット通信方法。
9. The packet communication method according to claim 6, wherein the up / down counter according to claim 1, together with a process for controlling the operation of the decoding circuit by turning on / off the full flag, the empty flag and the delay flag. The packet communication method is characterized in that the frequency division ratio of the variable frequency dividing circuit is changed by a carry signal from the device and the processing for controlling the input and output timings according to the output frequency of the variable frequency dividing circuit is also used.
JP4164594A 1992-06-23 1992-06-23 Packet communication device and communication system Pending JPH066382A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4164594A JPH066382A (en) 1992-06-23 1992-06-23 Packet communication device and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4164594A JPH066382A (en) 1992-06-23 1992-06-23 Packet communication device and communication system

Publications (1)

Publication Number Publication Date
JPH066382A true JPH066382A (en) 1994-01-14

Family

ID=15796151

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4164594A Pending JPH066382A (en) 1992-06-23 1992-06-23 Packet communication device and communication system

Country Status (1)

Country Link
JP (1) JPH066382A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08130544A (en) * 1994-10-14 1996-05-21 Koninkl Ptt Nederland Nv Buffer read controller for atm receiver
KR100296753B1 (en) * 1999-01-16 2001-07-12 윤종용 Apparatus for transporting of transport stream using pll
US6563822B1 (en) 1998-12-11 2003-05-13 Fujitsu Limited Data Transferring method
WO2020121903A1 (en) * 2018-12-11 2020-06-18 日本電信電話株式会社 Transmission device and transmission system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08130544A (en) * 1994-10-14 1996-05-21 Koninkl Ptt Nederland Nv Buffer read controller for atm receiver
US6563822B1 (en) 1998-12-11 2003-05-13 Fujitsu Limited Data Transferring method
KR100296753B1 (en) * 1999-01-16 2001-07-12 윤종용 Apparatus for transporting of transport stream using pll
WO2020121903A1 (en) * 2018-12-11 2020-06-18 日本電信電話株式会社 Transmission device and transmission system
JP2020096261A (en) * 2018-12-11 2020-06-18 日本電信電話株式会社 Transmission equipment and transmission system
US11923862B2 (en) 2018-12-11 2024-03-05 Nippon Telegraph And Telephone Corporation Transmission apparatus and transmission system

Similar Documents

Publication Publication Date Title
US5473363A (en) System, method and multipoint control unit for multipoint multimedia conferencing
US5818514A (en) Video conferencing system and method for providing enhanced interactive communication
US6272358B1 (en) Vocoder by-pass for digital mobile-to-mobile calls
JPS5915544B2 (en) Digital signal multiplex transmission method
JPH0936871A (en) Data transmission system and data transmission method
US20070008984A1 (en) Buffer management system, digital audio receiver, headphones, loudspeaker, method of buffer management
CN109168059B (en) Lip sound synchronization method for respectively playing audio and video on different devices
CN110636600B (en) Audio synchronous playing method for wireless equipment
JP5641849B2 (en) Transmitter
KR100519133B1 (en) Image processor
JPH066382A (en) Packet communication device and communication system
JPH05507398A (en) Synchronizer for terminal equipment in asynchronous transfer mode digital telecommunications networks
JPH1169327A (en) Synchronization controller
US7359319B2 (en) Synchronous data transmission system
JPH0514399A (en) Picture packet communication system
JPH10200580A (en) Method for reproducing voice packet
JP3644477B2 (en) Audio receiving device and audio transmitting / receiving device
JP3053443B2 (en) Voice packet control method
KR100685982B1 (en) Method and apparatus for synchronization of media information
JPH05111017A (en) Video telephone set
JPH04362827A (en) Packet communication system
JPH0662398A (en) Picture communication terminal equipment
JPS63232641A (en) Digital transmission method for voice signal by vocoder system
JPH0779229A (en) Cell assembling/disassembling device
JP2007158378A (en) Signal switching apparatus and control method thereof

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

LAPS Cancellation because of no payment of annual fees