JP2575542B2 - Packet information counter - Google Patents

Packet information counter

Info

Publication number
JP2575542B2
JP2575542B2 JP5330291A JP5330291A JP2575542B2 JP 2575542 B2 JP2575542 B2 JP 2575542B2 JP 5330291 A JP5330291 A JP 5330291A JP 5330291 A JP5330291 A JP 5330291A JP 2575542 B2 JP2575542 B2 JP 2575542B2
Authority
JP
Japan
Prior art keywords
packet information
selecting
storage
packet
storage area
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.)
Expired - Lifetime
Application number
JP5330291A
Other languages
Japanese (ja)
Other versions
JPH04269037A (en
Inventor
紀行 川西
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.)
Fujikura Ltd
Original Assignee
Fujikura 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 Fujikura Ltd filed Critical Fujikura Ltd
Priority to JP5330291A priority Critical patent/JP2575542B2/en
Publication of JPH04269037A publication Critical patent/JPH04269037A/en
Application granted granted Critical
Publication of JP2575542B2 publication Critical patent/JP2575542B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、複数の通信局を伝送
路によって接続してこれらの局間でパケット通信を行う
ローカルエリアネットワーク(LAN)において、伝送
されるパケットの品質管理上必要な各種パケット情報を
収集する場合に用いられるパケット情報カウンタに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a local area network (LAN) which connects a plurality of communication stations by a transmission line and performs packet communication between these stations, and which is required for quality control of packets transmitted. The present invention relates to a packet information counter used when collecting packet information.

【0002】[0002]

【従来の技術】図2は従来のパケット情報カウンタの構
成例を示すブロック図であり、この図において、1はマ
ルチポートリピータ・パケット情報検出器であり、図示
せぬネットワークの各セグメント0〜Nがそれぞれ接続
され、ネットワークを伝送された信号のタイミングの矯
正や波形再生をすると共に、パケットがマルチポートリ
ピータを通過する際に、伝送されるパケットの品質管理
上必要な各種パケット情報を検出する。2はパケット情
報コントローラであり、マルチポートリピータ・パケッ
ト情報検出器1から出力される並列信号のパケット情報
PIを直列信号のパケット情報データPIDに変換する
と共に、パケット情報データPIDと同期したアドレス
信号ADSを生成する。また、3は加算器、4はデュア
ルポートRAMであり、その記憶領域がパケット情報の
種類やセグメントナンバによって分割され、その各々に
パケット情報のカウント値が記憶される。5は装置各部
を制御するCPU(中央処理装置)である。
2. Description of the Related Art FIG. 2 is a block diagram showing a configuration example of a conventional packet information counter. In this figure, reference numeral 1 denotes a multi-port repeater / packet information detector, and each of segments 0 to N of a network (not shown). Are connected to correct the timing and reproduce the waveform of the signal transmitted through the network, and detect various types of packet information necessary for quality control of the transmitted packet when the packet passes through the multiport repeater. Reference numeral 2 denotes a packet information controller, which converts the parallel signal packet information PI output from the multiport repeater / packet information detector 1 into serial signal packet information data PID, and an address signal ADS synchronized with the packet information data PID. Generate Reference numeral 3 denotes an adder, and reference numeral 4 denotes a dual-port RAM, the storage area of which is divided by the type of packet information and the segment number, and the count value of the packet information is stored in each of them. Reference numeral 5 denotes a CPU (central processing unit) that controls each unit of the apparatus.

【0003】このような構成において、マルチポートリ
ピータ・パケット情報検出器1は、図示せぬネットワー
クの各セグメント0〜Nから伝送された信号のタイミン
グの矯正や波形再生をすると共に、パケットがマルチポ
ートリピータを通過する際に、各種パケット情報を検出
する。次に、パケット情報コントローラ2は、マルチポ
ートリピータ・パケット情報検出器1から出力される並
列信号のパケット情報PIを直列信号のパケット情報デ
ータPIDに変換すると共に、パケット情報データPI
Dと同期したアドレス信号ADSを生成する。
In such a configuration, the multi-port repeater / packet information detector 1 corrects the timing and reproduces the waveform of the signal transmitted from each of the segments 0 to N of the network (not shown), When passing through a repeater, various packet information is detected. Next, the packet information controller 2 converts the parallel signal packet information PI output from the multi-port repeater / packet information detector 1 into serial signal packet information data PID,
An address signal ADS synchronized with D is generated.

【0004】これにより、パケット情報コントローラ2
から出力されるパケット情報は、パケット情報コントロ
ーラ2から出力されるアドレスADSに応じて、加算器
3を介してデュアルポートRAM4に書き込まれる。次
に、パケット情報コントローラ2は、パケットの送受信
終了と同時に、CPU5に禁止信号CONSを出力して
CPU5の読み書きを禁止し、デュアルポートRAM4
から一旦カウント値を読み出し、加算器3において1だ
けカウントアップした後、再びデュアルポートRAM4
の同じ記憶領域に書き込む。そして、このようにしてデ
ュアルポートRAM4に書き込まれた各種の統計情報
は、CPU5によって読み出される。
Thus, the packet information controller 2
Is written to the dual port RAM 4 via the adder 3 in accordance with the address ADS output from the packet information controller 2. Next, the packet information controller 2 outputs a prohibition signal CONS to the CPU 5 at the same time as the end of the packet transmission / reception to prohibit the CPU 5 from reading and writing.
, The count value is once read up by the adder 3, and then the dual port RAM 4 is read again.
To the same storage area. The various types of statistical information written in the dual port RAM 4 in this manner are read by the CPU 5.

【0005】[0005]

【発明が解決しようとする課題】ところで、上述した従
来のパケット情報カウンタにおいては、デュアルポート
RAM4のある領域のカウント値をカウントアップし、
そのカウント値を同じ領域からCPU5が読み出す構成
になっているため、カウントアップ時(パケット不在の
時)は、パケット情報コントローラ2が禁止信号CON
SによってCPU5の読み書きを禁止する必要があっ
た。従って、CPU5の読み書きの自由度が制限される
という欠点があった。
In the conventional packet information counter described above, the count value of a certain area of the dual port RAM 4 is counted up.
Since the CPU 5 reads out the count value from the same area, the packet information controller 2 outputs the inhibition signal CON when counting up (when a packet is absent).
It was necessary to prohibit reading and writing of CPU 5 by S. Therefore, there is a disadvantage that the degree of freedom of reading and writing of the CPU 5 is limited.

【0006】また、CPU5のアクセス中に、万一、パ
ケット情報のカウントアップが行われると、パケット情
報が消失してしまうという危険があった。さらに、パケ
ット不在中に、パケット情報が読み出されると、パケッ
ト情報の同期性が失われてしまう可能性があるため、そ
の都度パケット情報を無効にする処置を取らねばならな
いという問題があった。
Also, if the count-up of the packet information is performed during access by the CPU 5, there is a danger that the packet information will be lost. Furthermore, if the packet information is read while the packet is absent, there is a possibility that the synchronization of the packet information may be lost. Therefore, there is a problem in that a measure must be taken to invalidate the packet information each time.

【0007】そこで、上述した問題点をハードウエアに
よって解決しようとすると、回路規模が大きくなるた
め、ソフトウエアに依存しなければならないという欠点
があった。この発明は、このような背景の下になされた
もので、パケット情報のカウントアップとCPUのアク
セスとの競合を避けることおよびパケット情報の消失や
非同期化を未然に防ぐことが小さな回路規模で確実にで
きるパケット情報カウンタを提供することを目的とす
る。
In order to solve the above-mentioned problems by hardware, there is a disadvantage that the circuit size becomes large, so that it is necessary to rely on software. SUMMARY OF THE INVENTION The present invention has been made under such a background, and it is assured with a small circuit scale that it is possible to avoid contention between count-up of packet information and CPU access and to prevent loss or de-synchronization of packet information. It is an object of the present invention to provide a packet information counter which can be used for a packet.

【0008】[0008]

【課題を解決するための手段】この発明によるパケット
情報カウンタは、複数の通信局を伝送路によって接続し
てこれらの局間でパケット通信を行うローカルエリアネ
ットワークにおいて、第1および第2の記憶領域を有
し、その各々にネットワークを伝送されるパケットの品
質管理上必要な各種のパケット情報が記憶される記憶手
段と、該記憶手段の前記第1および第2の記憶領域のい
ずれか1つを選択する第1の選択手段と、前記パケット
情報を入力してアドレスを生成し、前記第1の選択手段
に前記アドレスを出力して、前記第1および第2の記憶
領域のいずれか1つを選択させて前記パケット情報を選
択された記憶領域に記憶するパケット情報制御手段と、
前記記憶手段にアクセスするために前記第1の選択手段
にアクセス信号を転送して待機状態にある前記第1ある
いは第2の記憶領域を選択させる制御手段と、待機状態
にある前記第1あるいは第2の記憶領域を選択した後前
記第1の選択手段から出力されるコントロール信号に基
づいて前記第1の選択手段が選択した前記第1あるいは
第2の記憶領域とは別の前記第1あるいは第2の記憶領
域を選択した後、前記制御手段にアクセスイネーブル信
号を転送する第2の選択手段とを具備することを特徴と
している。
SUMMARY OF THE INVENTION A packet information counter according to the present invention is used in a local area network in which a plurality of communication stations are connected by a transmission line to perform packet communication between these stations, in a first and second storage areas. Storage means for storing various types of packet information necessary for quality control of packets transmitted through the network, and any one of the first and second storage areas of the storage means. First selecting means for selecting, and inputting the packet information to generate an address, outputting the address to the first selecting means, and selecting one of the first and second storage areas Packet information control means for selecting and storing the packet information in a selected storage area;
Control means for transferring an access signal to the first selecting means to select the first or second storage area in a standby state in order to access the storage means; and controlling the first or second storage area in a standby state After selecting the second storage area, the first or second storage area different from the first or second storage area selected by the first selection means based on a control signal output from the first selection means. And a second selecting means for transferring an access enable signal to the control means after selecting the second storage area.

【0009】[0009]

【作用】上記構成によれば、まず、パケット情報選択手
段は、ネットワークを伝送されるパケット情報を入力し
てアドレスを生成し、第1の選択手段にアドレスを出力
して、第1および第2の記憶領域のいずれか1つを選択
させてパケット情報を選択された記憶領域に記憶する。
そして、制御手段が記憶手段にアクセスするために第1
の選択手段にアクセス信号を転送すると、第1の選択手
段は、待機状態にある第1あるいは第2の記憶領域を選
択した後、コントロール信号を出力する。
According to the above arrangement, first, the packet information selecting means receives the packet information transmitted through the network, generates an address, outputs the address to the first selecting means, and outputs the first and second packet information. Is selected, and the packet information is stored in the selected storage area.
Then, the control unit accesses the storage unit by using the first
When the access signal is transferred to the selection means, the first selection means selects the first or second storage area in the standby state and then outputs the control signal.

【0010】これにより、第2の選択手段は、コントロ
ール信号に基づいて第1の選択手段が選択した第1ある
いは第2の記憶領域とは別の第1あるいは第2の記憶領
域を選択した後、制御手段にアクセスイネーブル信号を
転送する。従って、制御手段は、アクセスイネーブル信
号を受信した後であれば自由に記憶手段への読み書きが
可能となる。
With this, the second selection means selects the first or second storage area different from the first or second storage area selected by the first selection means based on the control signal. , An access enable signal to the control means. Therefore, the control means can freely read and write to the storage means after receiving the access enable signal.

【0011】[0011]

【実施例】以下、図面を参照して、この発明の一実施例
について説明する。図1はこの発明の一実施例によるパ
ケット情報カウンタの構成を示すブロック図であり、こ
の図において、図2の各部に対応する部分には同一の符
号を付け、その説明を省略する。但し、デュアルポート
RAM4は、その記憶領域(メモリマップ)が、アドレ
スADSのMSB”0”で選択されるバンク4aと、ア
ドレスADSのMSB”1”で選択されるバンク4bと
に2分割されている。尚、パケット情報は、通常、一方
のバンク4aあるいは4bを用いてカウントアップさ
れ、他方のバンク4aあるいは4bはクリアされて待機
状態にある。また、図1においては、アドレスADSの
MSBに”0”あるいは”1”を設定するバンクセレク
タ6および7が新たに設けられている。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a packet information counter according to an embodiment of the present invention. In this figure, parts corresponding to the respective parts in FIG. 2 are denoted by the same reference numerals, and description thereof will be omitted. However, the storage area (memory map) of the dual port RAM 4 is divided into a bank 4a selected by the MSB "0" of the address ADS and a bank 4b selected by the MSB "1" of the address ADS. I have. The packet information is normally counted up using one bank 4a or 4b, and the other bank 4a or 4b is cleared and is in a standby state. In FIG. 1, bank selectors 6 and 7 for setting the MSB of the address ADS to “0” or “1” are newly provided.

【0012】このような構成において、まず、マルチポ
ートリピータ・パケット情報検出器1は、図示せぬネッ
トワークの各セグメント0〜Nから伝送された信号のタ
イミングの矯正や波形再生をすると共に、パケットがマ
ルチポートリピータを通過する際に、各種パケット情報
を検出する。次に、パケット情報コントローラ2は、マ
ルチポートリピータ・パケット情報検出器1から出力さ
れる並列信号のパケット情報PIを直列信号のパケット
情報データPIDに変換すると共に、パケット情報デー
タPIDと同期したアドレス信号ADSを生成する。
In such a configuration, first, the multi-port repeater / packet information detector 1 corrects the timing and reproduces the waveform of the signal transmitted from each of the segments 0 to N of the network (not shown), and When passing through a multi-port repeater, various packet information is detected. Next, the packet information controller 2 converts the parallel signal packet information PI output from the multi-port repeater / packet information detector 1 into a serial signal packet information data PID and an address signal synchronized with the packet information data PID. Generate ADS.

【0013】これにより、パケット情報コントローラ2
から出力されるパケット情報は、パケット情報コントロ
ーラ2から出力され、バンクセレクタ6を経たアドレス
ADSに応じて加算器3を介してデュアルポートRAM
4のバンク4aあるいは4bに書き込まれる。次に、パケ
ット情報コントローラ2は、パケットの送受信終了と同
時に、デュアルポートRAM4から一旦カウント値を読
み出し、加算器3において1だけカウントアップした
後、再びデュアルポートRAM4の同じ記憶領域に書き
込む。
Thus, the packet information controller 2
Is output from the packet information controller 2 and passed through the adder 3 to the dual port RAM according to the address ADS passed through the bank selector 6.
The data is written to the four banks 4a or 4b. Next, the packet information controller 2 reads the count value from the dual port RAM 4 at the same time as the end of the packet transmission and reception, increments the count value by 1 in the adder 3, and writes the count value into the same storage area of the dual port RAM 4 again.

【0014】そして、CPU5がデュアルポートRAM
4にアクセスするためにバンクセレクタ6にアクセス信
号ACを転送すると、バンクセレクタ6は、パケット不
在の時を見計らい、待機状態にあるバンク4aあるいは
4bを選択する。一方、バンクセレクタ7は、バンクセ
レクタ6から出力されるコントロール信号CTLを入力
してバンクセレクタ6が選択したバンク4aあるいは4
bとは別のバンク4aあるいは4bを選択した後、CP
U5にアクセスイネーブル信号ACEを転送する。
The CPU 5 has a dual port RAM.
When the access signal AC is transferred to the bank selector 6 in order to access 4, the bank selector 6 selects a bank 4a or 4b in a standby state in anticipation of the absence of a packet. On the other hand, the bank selector 7 receives the control signal CTL output from the bank selector 6 and inputs the control signal CTL.
After selecting another bank 4a or 4b other than b, CP
The access enable signal ACE is transferred to U5.

【0015】これにより、CPU5は、アクセスイネー
ブル信号ACEを受信した後であれば自由にデュアルポ
ートRAM4への読み書きが可能となる。以上説明した
ように、デュアルポートRAM4の記憶領域をバンク4
aおよび4bに2分割し、2つのバンクセレクタ6およ
び7によってバンク4aおよび4bを制御することによ
り、統計情報の加算とCPU5のアクセスとの競合を避
けることができ、パケット情報をスムーズに処理するこ
とができる。
Thus, the CPU 5 can freely read and write to the dual port RAM 4 only after receiving the access enable signal ACE. As described above, the storage area of the dual port RAM 4 is
a and 4b, and by controlling the banks 4a and 4b by the two bank selectors 6 and 7, it is possible to avoid competition between the addition of the statistical information and the access of the CPU 5, and to process the packet information smoothly. be able to.

【0016】[0016]

【発明の効果】以上説明したように、この発明によれ
ば、記憶手段の記憶領域を複数に分割し、さらに複数の
選択手段による記憶領域を切り替えているため、パケッ
ト情報のカウントアップと制御手段のアクセスの競合を
避けることができ、制御手段の読み書きの自由度が高い
という効果がある。また、パケット情報の消失を構造的
に回避できるという効果がある。さらに、パケット情報
の同期性が常時保たれているという効果がある。加え
て、少ない回路規模であっても、プログラムにほとんど
依存しないという効果がある。
As described above, according to the present invention, the storage area of the storage means is divided into a plurality of areas, and the storage areas are switched by the plurality of selection means. Access conflict can be avoided, and the control means has a high degree of freedom in reading and writing. Further, there is an effect that loss of packet information can be avoided structurally. Further, there is an effect that the synchronization of the packet information is always maintained. In addition, there is an effect that even if the circuit scale is small, it hardly depends on a program.

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

【図1】この発明の一実施例によるパケット情報カウン
タの構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a packet information counter according to one embodiment of the present invention.

【図2】従来のパケット情報カウンタの構成例を示すブ
ロック図である。
FIG. 2 is a block diagram illustrating a configuration example of a conventional packet information counter.

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

1 マルチポートリピータ・パケット情報検出
器 2 パケット情報コントローラ(パケット情報
制御手段) 3 加算器 4 デュアルポートRAM(記憶手段) 4a,4b バンク(記憶領域) 5 CPU(制御手段) 6,7 バンクセレクタ(選択手段)
DESCRIPTION OF SYMBOLS 1 Multiport repeater packet information detector 2 Packet information controller (packet information control means) 3 Adder 4 Dual port RAM (storage means) 4a, 4b Bank (storage area) 5 CPU (control means) 6, 7 Bank selector ( Selection means)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の通信局を伝送路によって接続して
これらの局間でパケット通信を行うローカルエリアネッ
トワークにおいて、第1および第2の記憶領域を有し、
その各々にネットワークを伝送されるパケットの品質管
理上必要な各種のパケット情報が記憶される記憶手段
と、該記憶手段の前記第1および第2の記憶領域のいず
れか1つを選択する第1の選択手段と、前記パケット情
報を入力してアドレスを生成し、前記第1の選択手段に
前記アドレスを出力して、前記第1および第2の記憶領
域のいずれか1つを選択させて前記パケット情報を選択
された記憶領域に記憶するパケット情報制御手段と、前
記記憶手段にアクセスするために前記第1の選択手段に
アクセス信号を転送して待機状態にある前記第1あるい
は第2の記憶領域を選択させる制御手段と、待機状態に
ある前記第1あるいは第2の記憶領域を選択した後前記
第1の選択手段から出力されるコントロール信号に基づ
いて前記第1の選択手段が選択した前記第1あるいは第
2の記憶領域とは別の前記第1あるいは第2の記憶領域
を選択した後、前記制御手段にアクセスイネーブル信号
を転送する第2の選択手段とを具備することを特徴とす
るパケット情報カウンタ。
1. A local area network in which a plurality of communication stations are connected by a transmission line to perform packet communication between these stations, the local area network having first and second storage areas,
Storage means for storing various types of packet information necessary for quality control of packets transmitted to the network, and a first means for selecting one of the first and second storage areas of the storage means Selecting means for generating an address by inputting the packet information, outputting the address to the first selecting means, and selecting one of the first and second storage areas, Packet information control means for storing packet information in a selected storage area; and an access signal transferred to the first selection means for accessing the storage means, the first or second storage being in a standby state. Control means for selecting an area; and the first selection based on a control signal output from the first selection means after selecting the first or second storage area in a standby state. Second selecting means for transferring an access enable signal to the control means after selecting the first or second storage area different from the first or second storage area selected by the stage. A packet information counter, characterized in that:
JP5330291A 1991-02-25 1991-02-25 Packet information counter Expired - Lifetime JP2575542B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5330291A JP2575542B2 (en) 1991-02-25 1991-02-25 Packet information counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5330291A JP2575542B2 (en) 1991-02-25 1991-02-25 Packet information counter

Publications (2)

Publication Number Publication Date
JPH04269037A JPH04269037A (en) 1992-09-25
JP2575542B2 true JP2575542B2 (en) 1997-01-29

Family

ID=12938935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5330291A Expired - Lifetime JP2575542B2 (en) 1991-02-25 1991-02-25 Packet information counter

Country Status (1)

Country Link
JP (1) JP2575542B2 (en)

Also Published As

Publication number Publication date
JPH04269037A (en) 1992-09-25

Similar Documents

Publication Publication Date Title
EP0562746B1 (en) Apparatus and method for transferring data between buses of different widths
JP2575542B2 (en) Packet information counter
US6874013B2 (en) Data processing arrangement and memory system
JPH0140432B2 (en)
JPH06103026A (en) Memory system
JP3976388B2 (en) Memory control device
JPH0595574A (en) Time switch device
JP3063945B2 (en) Time-division switch control method
JP3077992B2 (en) Data transmission equipment
EP1084466B1 (en) Data processing arrangement and memory system
JP3138597B2 (en) Dynamic polling method using memory for burst signal transmission management
JPH04310161A (en) Data readout circuit
JPS5939192A (en) Synchronizing circuit of time division switch
JPH0440551A (en) Data transfer system
JPS61177856A (en) Circuit for detecting change in digital signal
JPS60258638A (en) Control system of magnetic disk device
JPH05227141A (en) Phase difference correction circuit
JPH0438560A (en) Store data transfer system
JP2000347833A (en) Ring buffer data processor
JPH0736739A (en) Data processor
JPH01263850A (en) Memory space extending system
JPH034938B2 (en)
JPH08106430A (en) Data transfer method
JPS61221846A (en) Control system for address conversion
JPS63144696A (en) Bit phase synchronization system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19960903