JPH04180423A - Traffic measuring device - Google Patents

Traffic measuring device

Info

Publication number
JPH04180423A
JPH04180423A JP2310232A JP31023290A JPH04180423A JP H04180423 A JPH04180423 A JP H04180423A JP 2310232 A JP2310232 A JP 2310232A JP 31023290 A JP31023290 A JP 31023290A JP H04180423 A JPH04180423 A JP H04180423A
Authority
JP
Japan
Prior art keywords
traffic
information
memory
destination address
frame length
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
JP2310232A
Other languages
Japanese (ja)
Inventor
Tei Satake
禎 佐竹
Yoko Ishida
陽子 石田
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP2310232A priority Critical patent/JPH04180423A/en
Publication of JPH04180423A publication Critical patent/JPH04180423A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE:To measure the traffic between terminal equipments of a LAN with simple constitution by extracting information required for detecting the traffic from a decoded data. CONSTITUTION:A traffic information extraction means 3 extracts only a destination address, a sender address and frame length information required for measuring the traffic in the information of a frame received by a signal reception means 1 and a Manchester decode means 2. The time when the traffic information is obtained is detected by a detection means 4 and stored in a memory 6 by a storage means 5. Then the content of the memory 6 is read by a read means 7, and a calculation means 8 calculates the traffic and sends the result of calculation to a display means 9.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、LANのトラヒック量を測定するトラヒック
測定装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a traffic measuring device that measures the amount of traffic on a LAN.

[従来の技術] 近年、LANの普及に伴い、1つのLANに数多くの端
末機器が接続されるようになってきた。
[Background Art] In recent years, with the spread of LAN, many terminal devices have come to be connected to one LAN.

そのため、LANのトラヒック量が増大し、システム全
体の伝送性能の低下を招いている。これを改善するため
には、LANを複数に分割し、それぞれのLANをブリ
ッジやルータ−などによって相互接続する。LANの分
割は、LAN間通信が少なくなるように、換言すれば、
LAN内での通信が多くなるように分割する。このため
に、各端未開のトラヒック量を測定する装置か必要であ
った。
As a result, the amount of traffic on the LAN increases, causing a decline in the transmission performance of the entire system. In order to improve this problem, the LAN is divided into a plurality of parts, and the LANs are interconnected by bridges, routers, etc. In other words, LAN partitioning reduces communication between LANs.
Divide the LAN so that there is more communication within the LAN. For this purpose, a device was needed to measure the amount of unused traffic at each end.

[発明が解決しようとする課題] ところが、各端末間のトラヒック量を測定するには、プ
ロトコルアナライザというトラヒック量以外のネットワ
ーク状況のモニターもできる高価な計測器を使う必要が
あった。
[Problems to be Solved by the Invention] However, in order to measure the amount of traffic between each terminal, it is necessary to use an expensive measuring device called a protocol analyzer that can also monitor network conditions other than the amount of traffic.

本発明はこのような点に鑑みてなされたものであり、そ
の目的とするところは、簡単な構成でありながら、LA
Nの各端末間のトラヒック量を測定することができるト
ラヒック測定装置を安価に提供することにある。
The present invention has been made in view of the above points, and its purpose is to provide a simple structure that can be used in LA.
An object of the present invention is to provide an inexpensive traffic measuring device capable of measuring the amount of traffic between N terminals.

[課題を解決するための手段] 本発明のトラヒック測定装置にあっては、上記の課題を
解決するために、第1図に示すように、伝送路を伝送し
てきたマンチェスタ符号化されたデータを受信する信号
受信手段1と、受信したデータを復号化するマンチェス
タ復号化手段2と、復号化されたデータからトラヒック
検出に必要な宛て先アドレス、発信元アドレス、フレー
ム長の情報を抽出するトラヒック情報抽出手段3と、時
刻を検出する時刻検出手段4と、宛て先アドレス、発信
元アドレス、フレーム長と時刻の情報をメモリーへ格納
するメモリー格納手段5と、情報を格納しておくための
情報格納メモリー6と、この情報格納メモリー6から情
報を読み出すメモリー読出手段7と、読み出した情報か
らトラヒック量を計算するトラヒック量計算手段8と、
計算結果を表示する計算結果表示手段9とから構成され
ることを特徴とするものである。
[Means for Solving the Problems] In order to solve the above problems, the traffic measurement device of the present invention, as shown in FIG. A signal receiving means 1 receives the data, a Manchester decoding means 2 decodes the received data, and traffic information extracts destination address, source address, and frame length information necessary for traffic detection from the decoded data. extraction means 3; time detection means 4 for detecting time; memory storage means 5 for storing information on destination address, source address, frame length and time in memory; and information storage for storing information. A memory 6, a memory reading means 7 for reading information from the information storage memory 6, and a traffic amount calculation means 8 for calculating the amount of traffic from the read information.
It is characterized by comprising a calculation result display means 9 for displaying calculation results.

なお、上記トラピック情報抽出手段3は、第1ビットを
除去する第1ビット除去手段31と、宛て先アドレスと
発信元アドレスとフレーム長の情報を格納するシフトレ
ジスタ32と、連続して2ビットが1となる箇所を検出
するフレーム開始デリミタ検出手段33とから構成され
ることが好ましい。
The trap information extracting means 3 includes a first bit removing means 31 for removing the first bit, a shift register 32 for storing information of a destination address, a source address, and a frame length. It is preferable to include frame start delimiter detection means 33 for detecting a location where the delimiter becomes 1.

[作用] 本発明は、LANのトラヒック量の測定のためには、フ
レームの全情報は必要ではないという点に着目したもの
であり、信号受信手段1とマンチェスタ復号化手段2で
受信したフレームの情報の中から、トラヒック量の測定
に必要な宛て先アドレスと発信元アドレスとフレーム長
の情報のみをトラヒック情報抽出手段3で抽出し、その
トラピック情報が得られた時刻を時刻検出手段4て検出
し、メモリー格納手段5により情報格納メモリー6に格
納し、メモリー読出手段7で読み出して、トラヒック量
計算手段8でトラヒック量を計算し、計算結果表示手段
9で表示するようにしたので、プロトコルアナライザの
ような高価な測定装置を使用することなく、LANのト
ラヒック量を簡単に測定することができるものである。
[Function] The present invention focuses on the fact that all the information of a frame is not necessary to measure the traffic amount of a LAN, and the information of the frame received by the signal receiving means 1 and the Manchester decoding means 2 is From the information, the traffic information extraction means 3 extracts only the destination address, source address, and frame length information necessary for measuring the traffic amount, and the time detection means 4 detects the time when the traffic information was obtained. The information is stored in the information storage memory 6 by the memory storage means 5, read out by the memory reading means 7, the traffic amount is calculated by the traffic amount calculation means 8, and displayed by the calculation result display means 9, so that the protocol analyzer It is possible to easily measure the amount of LAN traffic without using an expensive measuring device such as .

なお、第2図に示すように、トラヒック情報抽出手段3
は、第1ビットを除去する第1ビット除去手段31と、
宛て先アドレスと発信元アドレスとフレーム長を格納す
るシフトレジスタ32と、連続して2ビットが1となる
箇所を検出するフレーム開始デリミタ検出手段33とか
ら構成すれば、プリアンプルの数ビットが欠落しても、
フレーム開始デリミタを確実に検出でき、これに続く宛
て先アドレス、発信元アドレス、フレーム長の情報を正
確に抽出することができるものである。
In addition, as shown in FIG. 2, the traffic information extraction means 3
a first bit removing means 31 for removing the first bit;
If it is composed of a shift register 32 that stores the destination address, source address, and frame length, and a frame start delimiter detection means 33 that detects the location where two consecutive bits become 1, it is possible to eliminate several bits of the preamble. Even if
The frame start delimiter can be reliably detected, and the subsequent information on the destination address, source address, and frame length can be accurately extracted.

[実施例]・ 第1図は本発明の一実施例のブロック図である。[Example]· FIG. 1 is a block diagram of one embodiment of the present invention.

LAN上の信号は、信号受信手段1によって装置内に取
り込まれ、マンチェスタ復号化手段2で復号化される。
Signals on the LAN are taken into the apparatus by signal receiving means 1 and decoded by Manchester decoding means 2.

次に、フレームの中からトラヒック量計算に必要な宛て
先アドレス、発信元アドレス、フレーム長の情報をトラ
ヒック情報抽出手段3によって取り出す、さらに、トラ
ヒック量の変化を計測するためには、時間が関連してく
るので、時刻検出手段4によって時刻情報を取り出す。
Next, the traffic information extracting means 3 extracts the destination address, source address, and frame length information necessary for calculating the traffic amount from the frame. Therefore, time information is extracted by the time detection means 4.

宛て先アドレス、発信元アドレス、フレーム長、時刻の
情報は、メモリー格納手段5によって情報格納メモリー
6へ取り込まれる。トラピック量を測定する時間分の情
報が、情報格納メモリー6/\格納されてから、メモリ
ー読出手段7によって情報を読み出し、トラヒック量計
算手段8によってトラヒック量を計算する。端末iから
端末jへのトラヒッり量は、を秒間に端末iから端末j
へnビット送られたとすると、(n/l)ビット毎秒と
なるから、情報格納メモリー6から宛て先アドレスがj
、発信元アドレスがiになるようなフレーム長を加算し
、全時間で割れば端末iから端末jへのトラヒック量を
計算できる。この計算結果を計算結果表示手段9によっ
てデイスプレィやプリンタへ表示するものである。
Information such as the destination address, source address, frame length, and time is taken into the information storage memory 6 by the memory storage means 5. After the information for the time for measuring the amount of traffic is stored in the information storage memory 6/\, the information is read out by the memory reading means 7, and the amount of traffic is calculated by the traffic amount calculation means 8. The amount of traffic from terminal i to terminal j is from terminal i to terminal j in seconds.
If n bits are sent to j
, the amount of traffic from terminal i to terminal j can be calculated by adding the frame lengths such that the source address becomes i and dividing by the total time. This calculation result is displayed on a display or printer by a calculation result display means 9.

上記のトラヒック情報抽出手段3の詳細な構成を第2図
に示す。また、LANのフレーム構成を第3図に示す。
A detailed configuration of the above traffic information extraction means 3 is shown in FIG. Furthermore, the frame structure of the LAN is shown in FIG.

プリアンプルは、1オクテツトが“10101010”
で構成されている。また、フレーム開始デリミタは、1
オクテツトで“′10101011″である。さらに、
宛て先アドレスが6オクテツト、発信元アドレスが6オ
クテツト、フレームの長さが2オクテツトであるから、
フレームから取り出す情報としては計14オクテツト=
112ビットとなる。
One octet of the preamble is “10101010”
It consists of Also, the frame start delimiter is 1
It is "'10101011" in octets. moreover,
Since the destination address is 6 octets, the source address is 6 octets, and the frame length is 2 octets,
A total of 14 octets of information are extracted from the frame =
It becomes 112 bits.

そこで、第2図に示すように、マンチェスタ復号化され
たデータを114ビットのシフトレジスタ32へ入力し
ていく。初期状態としてシフトしジスタ32の全ビット
が0となるようにクリアしておけば、シフトレジスタ3
2の最後の2ビットが初めて゛11”となったときがフ
レーム開始テリミタの最後の2ビットを検出したときで
ある。故に、最後の2ビットが11”になったことを検
出するフレーム開始デリミタ検出手段33が°“11”
を検出したときのシフトレジスタ32の残り112ビッ
トが取り出すべき情報となる。ところが、これだけの構
成では、途中でプリアンプルの数ビットが欠けて、1番
初めのビットが“0”であるのに1“であると誤って復
号されてしまうと、プリアンプル中の01“のパターン
が“11”となり、プリアンプルであるのに、フレーム
開始デリミタ検出手段33が働いてしまう。これを防止
するために、誤って復号化される恐れのある最初の1ビ
ットを除去する第1ビット除去手段31によって誤動作
を防止している。
Therefore, as shown in FIG. 2, the Manchester decoded data is input to the 114-bit shift register 32. If the initial state is shifted and all bits of register 32 are cleared to 0, shift register 3
The time when the last two bits of 2 become ``11'' for the first time is when the last two bits of the frame start delimiter are detected.Therefore, the frame start delimiter detects that the last two bits become 11''. The detection means 33 is “11”
The remaining 112 bits of the shift register 32 at the time of detection become the information to be extracted. However, with this configuration, if some bits of the preamble are missing in the middle and the first bit is erroneously decoded as 1 even though it is 0, the 01 in the preamble is The pattern becomes "11" and the frame start delimiter detection means 33 works even though it is a preamble. In order to prevent this, malfunctions are prevented by a first bit removal means 31 that removes the first bit that may be erroneously decoded.

なお、トラヒック量を測定する際には、データの欠落が
あってはいけないので、宛て先アドレス、発信元アドレ
ス、フレーム長を情報格納メモリー61\格納するのは
ハードウェアを用いてリアルタイムで実行する必要があ
るが、この情報を元にトラヒック量を表示するのは、高
速度で処理する必要がないので、マイクロコンピュータ
を用いて処理すれば良い。
Note that when measuring the amount of traffic, there must be no data loss, so the destination address, source address, and frame length are stored in the information storage memory 61 in real time using hardware. However, displaying the traffic amount based on this information does not need to be processed at high speed, so it can be processed using a microcomputer.

[発明の効果] 請求項1記載の発明では、信号受信手段で伝送路から受
信され、マンチェスタ復号化手段で復号化されたデータ
からトラヒック検出に必要な宛て先アドレス、発信元ア
ドレス、フレーム長の情報をトラヒック情報抽出手段で
抽出するようにしたものであり、トラヒック測定に必要
な情報のみを選択的に用いているので、簡単な構成であ
りながら、LANのトラヒックを測定することができる
[Effects of the Invention] In the invention described in claim 1, the destination address, source address, and frame length required for traffic detection are determined from the data received from the transmission path by the signal receiving means and decoded by the Manchester decoding means. Information is extracted by a traffic information extraction means, and only information necessary for traffic measurement is selectively used, so LAN traffic can be measured with a simple configuration.

また、トラヒック情報抽出手段で抽出した宛て先アドレ
ス、発信元アドレス、フレーム長と、時刻検出手段で検
出された時刻の情報をメモリー格納手段により情報格納
メモリーに格納し、メモリー読出手段により読み出して
、トラヒック量計算手段により計算し、計算結果表示手
段で表示するようにしたので、トラヒック情報抽出手段
ではリアルタイムでトラヒック情報を抽出し、情報格納
メモリーに格納する必要があるが、トラヒック量計算手
段ではリアルタイムでトラヒックを計算する必要は無く
、したがって、マイクロコンピュータを用いて安価に装
置を構成することができるという効果がある。
Further, the destination address, the source address, the frame length extracted by the traffic information extraction means, and the time information detected by the time detection means are stored in the information storage memory by the memory storage means, and read by the memory reading means, Since the traffic information is calculated by the traffic amount calculation means and displayed by the calculation result display means, the traffic information extraction means must extract the traffic information in real time and store it in the information storage memory, but the traffic amount calculation means cannot extract the traffic information in real time. There is no need to calculate the traffic, and therefore the device can be constructed at low cost using a microcomputer.

また、請求項2記載の発明では、第1ビットを除去した
上で、連続して2ビットが1となる箇所を検出すること
により、フレーム開始デリミタを検出するようにしたか
ら、フレーム開始デリミタの位置を正確に検出すること
ができるという効果があり、したがって、これに続く宛
て先アドレスと発信元アドレスとフレーム長の情報をシ
フトレジスタに正確に格納することができるという効果
がある。
Further, in the invention as claimed in claim 2, the frame start delimiter is detected by removing the first bit and then detecting a place where two consecutive bits become 1. This has the effect that the position can be detected accurately, and therefore the subsequent information on the destination address, source address, and frame length can be accurately stored in the shift register.

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

第1図は本発明の一実施例のブロック図、第2図は同上
に用いるトラヒック情報抽出手段の詳細な構成を示すブ
ロック図、第3図はLANのフレームの構成図である。 1は信号受信手段、2はマンチェスタ復号化手段、3は
トラヒック情報抽出手段、4は時刻検出手段、5はメモ
リー格納手段、6は情報格納メモリー、7はメモリー読
出手段、8はトラヒック量計算手段、9は計算結果表示
手段、31は第1ビット除去手段、32はシフトレジス
タ、33はフレーム開始デリミタ検出手段である。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a block diagram showing a detailed configuration of a traffic information extracting means used in the same, and FIG. 3 is a configuration diagram of a LAN frame. 1 is a signal receiving means, 2 is a Manchester decoding means, 3 is a traffic information extraction means, 4 is a time detection means, 5 is a memory storage means, 6 is an information storage memory, 7 is a memory reading means, 8 is a traffic amount calculation means , 9 is a calculation result display means, 31 is a first bit removal means, 32 is a shift register, and 33 is a frame start delimiter detection means.

Claims (2)

【特許請求の範囲】[Claims] (1)伝送路を伝送してきたマンチェスタ符号化された
データを受信する信号受信手段と、受信したデータを復
号化するマンチェスタ復号化手段と、復号化されたデー
タからトラヒック検出に必要な宛て先アドレス、発信元
アドレス、フレーム長の情報を抽出するトラヒック情報
抽出手段と、時刻を検出する時刻検出手段と、宛て先ア
ドレス、発信元アドレス、フレーム長と時刻の情報をメ
モリーへ格納するメモリー格納手段と、情報を格納して
おくための情報格納メモリーと、この情報格納メモリー
から情報を読み出すメモリー読出手段と、読み出した情
報からトラヒック量を計算するトラヒック量計算手段と
、計算結果を表示する計算結果表示手段とから構成され
ることを特徴とするトラヒック測定装置。
(1) A signal receiving means for receiving Manchester encoded data transmitted through a transmission path, a Manchester decoding means for decoding the received data, and a destination address necessary for traffic detection from the decoded data. , traffic information extraction means for extracting information on a source address and frame length; time detection means for detecting time; and memory storage means for storing information on a destination address, source address, frame length and time in a memory. , an information storage memory for storing information, a memory reading means for reading information from the information storage memory, a traffic amount calculation means for calculating the traffic amount from the read information, and a calculation result display for displaying the calculation results. A traffic measuring device comprising: means.
(2)上記トラヒック情報抽出手段は、第1ビットを除
去する第1ビット除去手段と、宛て先アドレスと発信元
アドレスとフレーム長の情報を格納するシフトレジスタ
と、連続して2ビットが1となる箇所を検出するフレー
ム開始デリミタ検出手段とから構成されることを特徴と
する請求項1記載のトラヒック測定装置。
(2) The traffic information extraction means includes a first bit removal means for removing the first bit, a shift register for storing information of a destination address, a source address, and a frame length, and a shift register that stores information of a destination address, a source address, and a frame length, and a 2. The traffic measuring device according to claim 1, further comprising a frame start delimiter detecting means for detecting a point where a frame start delimiter detects a frame start delimiter.
JP2310232A 1990-11-15 1990-11-15 Traffic measuring device Pending JPH04180423A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2310232A JPH04180423A (en) 1990-11-15 1990-11-15 Traffic measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2310232A JPH04180423A (en) 1990-11-15 1990-11-15 Traffic measuring device

Publications (1)

Publication Number Publication Date
JPH04180423A true JPH04180423A (en) 1992-06-26

Family

ID=18002777

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2310232A Pending JPH04180423A (en) 1990-11-15 1990-11-15 Traffic measuring device

Country Status (1)

Country Link
JP (1) JPH04180423A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6381641B1 (en) 1997-11-26 2002-04-30 Nec Corporation Network traffic management system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6381641B1 (en) 1997-11-26 2002-04-30 Nec Corporation Network traffic management system

Similar Documents

Publication Publication Date Title
US5521907A (en) Method and apparatus for non-intrusive measurement of round trip delay in communications networks
US7451243B2 (en) System and method for implementing RMII Ethernet reset
CN108075935B (en) Method and device for measuring time delay
US20040218544A1 (en) Router capable of displaying network system
EP3026853A2 (en) Communication device, communication system, method for detecting abnormal traffic
WO2002033878A3 (en) Method and device for identifying a data packet in a data stream
US10333803B2 (en) Relay apparatus and relay method
US7032032B2 (en) Method and apparatus for providing tandem connection, performance monitoring, and protection architectures over ethernet protocols
JPH04180423A (en) Traffic measuring device
KR100759796B1 (en) Apparatus and method for detecting data looping status
US7715447B2 (en) Method and system for tone detection
JP2001186127A (en) Understanding state measurement system, understanding state measurement method and storage medium
JP2001094573A (en) Instrument for measuring quality of traffic
JP2004088289A (en) Network quality evaluating device
KR960001996A (en) Frame / Burst Synchronization and Error Detection System Using Cyclic Code
US20020026522A1 (en) System and method for directing a media stream
JPH0537568A (en) Traffic measurement equipment
JP3485575B2 (en) Method for determining a receiver clock time at the time of reception of a transmission time mark contained in a received data element
JPS6174442A (en) Data buffer system of still picture reception terminal device
US10164796B2 (en) Flexible flow table with programmable state machine
JP2003264593A (en) Service quality measuring system and service quality measuring method to be used for the same
JPH11509698A (en) Method for determining a receiver clock time at the time of reception of a transmission time mark contained in a received data element
JPH04260248A (en) Packet distribution measuring system
KR960016269A (en) SAR header receiving processing device of ATM communication system
JP3579376B2 (en) Recovery time measuring device for data transmission system