JP2882110B2 - Traffic measurement device - Google Patents

Traffic measurement device

Info

Publication number
JP2882110B2
JP2882110B2 JP3212773A JP21277391A JP2882110B2 JP 2882110 B2 JP2882110 B2 JP 2882110B2 JP 3212773 A JP3212773 A JP 3212773A JP 21277391 A JP21277391 A JP 21277391A JP 2882110 B2 JP2882110 B2 JP 2882110B2
Authority
JP
Japan
Prior art keywords
packet
header
packet signal
detection unit
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.)
Expired - Lifetime
Application number
JP3212773A
Other languages
Japanese (ja)
Other versions
JPH0537568A (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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP3212773A priority Critical patent/JP2882110B2/en
Publication of JPH0537568A publication Critical patent/JPH0537568A/en
Application granted granted Critical
Publication of JP2882110B2 publication Critical patent/JP2882110B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ヘッダ情報にデータ長
が記述されているパケット信号が、いくつかのスロット
に分割されて送信されるネットワークのトラヒック計測
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network traffic measuring apparatus in which a packet signal in which the data length is described in header information is divided into several slots and transmitted.

【0002】[0002]

【従来の技術】図4は、従来のパケット通信のトラヒッ
ク計測装置の構成を示すブロック図である。図4におい
て、パケット検出部20は伝送路10よりパケット信号
を検出する。バイト計数部70は、パケット信号に含ま
れるバイト数を計数する。アドレス検出部50は、パケ
ット信号よりアドレスを検出し、検出したアドレスを記
録部60へ送信する。記録部60はアドレス毎にカウン
タを持ち、アドレス検出部50で検出したアドレスに対
応するカウンタの値にバイト数計数部70で計数したバ
イト数を加算する。
2. Description of the Related Art FIG. 4 is a block diagram showing a configuration of a conventional packet communication traffic measuring device. In FIG. 4, a packet detection unit 20 detects a packet signal from the transmission line 10. The byte counting unit 70 counts the number of bytes included in the packet signal. The address detection unit 50 detects an address from the packet signal, and transmits the detected address to the recording unit 60. The recording unit 60 has a counter for each address, and adds the number of bytes counted by the byte number counting unit 70 to the value of the counter corresponding to the address detected by the address detection unit 50.

【0003】[0003]

【発明が解決しようとする課題】上述の従来のパケット
通信のトラヒック計測装置においては、受信したすべて
のパケットについて、アドレスの検出とパケットのバイ
ト計数を行っていた。しかし、本発明が対象としている
1つのフレームを複数パケットに分割して送信するネッ
トワークでは、1つのフレームに対し複数回アドレス検
出、カウンタの更新の処理を行わなければならず、効率
が悪い。
In the above-described conventional traffic measurement device for packet communication, address detection and packet byte counting are performed for all received packets. However, in a network according to the present invention in which one frame is divided into a plurality of packets and transmitted, the process of address detection and counter updating must be performed for one frame a plurality of times, which is inefficient.

【0004】[0004]

【課題を解決するための手段】前述の課題を解決するた
めに本願の第1の発明が提供する手段は、先頭にデータ
長が記述されているフレームが複数のパケットに分割さ
れて送信されるネットワークのトラヒック量を計測する
装置において、前記ネットワークからパケット信号を取
り込むパケット検出部と、前記パケット検出部で取り込
んだパケット信号のヘッダに記述されているフレームの
連結情報が最初のセグメントまたは単一フレームの場合
は該パケット信号を送り出すヘッダ検出部と、このヘッ
ダ検出部から送られた前記パケット信号のデータ長を検
出するパケット長検出部と、このパケット長検出部で検
出した前記データ長を加算し記録する記録部とから構成
されることを特徴とするトラヒック計測装置である。
Means for Solving the Problems In order to solve the above-mentioned problem, a means provided by the first invention of the present application is that a frame whose data length is described at the beginning is divided into a plurality of packets and transmitted. In a device for measuring a traffic amount of a network, a packet detector for capturing a packet signal from the network, and link information of a frame described in a header of the packet signal captured by the packet detector may be a first segment or a single frame. In the case of, a header detector for sending out the packet signal, a packet length detector for detecting the data length of the packet signal sent from the header detector, and the data length detected by the packet length detector are added. And a recording unit for recording.

【0005】前述の課題を解決するために本願の第2の
発明が提供する手段は、先頭にデータ長が記述されてい
るフレームが複数のパケットに分割されて送信されるネ
ットワークのトラヒック量を計測する装置において、前
記ネットワークからパケット信号を取り込むパケット検
出部と、前記パケット検出部で取り込んだ前記パケット
信号がフレームの最初のセグメント又は単一フレームで
あることを該パケット信号のヘッダが示しているとき、
該パケット信号を送出するヘッダ検出部と、このヘッダ
検出部から送られた前記パケット信号のヘッダからデー
タ長を検出するパケット長検出部と、前記ヘッダ検出部
から送られた前記パケット信号のアドレスを検出するア
ドレス検出部と、このアドレス検出部で検出されたアド
レス毎に前記パケット長検出部で検出したデータ長を加
算しデータ量を記録する記録部とから構成されることを
特徴とするトラヒック計測装置である。
In order to solve the above-mentioned problem, a means provided by the second invention of the present application is to measure a traffic amount of a network in which a frame whose data length is described at the beginning is divided into a plurality of packets and transmitted. A packet detector for capturing a packet signal from the network, and a header of the packet signal indicating that the packet signal captured by the packet detector is the first segment of a frame or a single frame. ,
A header detector for transmitting the packet signal, a packet length detector for detecting a data length from a header of the packet signal sent from the header detector, and an address of the packet signal sent from the header detector. A traffic measurement system comprising: an address detection unit for detecting; and a recording unit for adding a data length detected by the packet length detection unit to each address detected by the address detection unit and recording a data amount. Device.

【0006】[0006]

【作用】(1)第1の発明においては、フレームが複数
パケットに分割されているとき、最初のパケットに含ま
れているデータ長の情報のみ用いてトラヒック量を計測
する。 (2)第2の発明においては、フレームが複数パケット
に分割されているとき、最初のパケットに含まれている
データ長とアドレス情報のみを用いて、アドレス毎のト
ラヒック量を計測する。
(1) In the first aspect, when a frame is divided into a plurality of packets, the traffic amount is measured using only information on the data length included in the first packet. (2) In the second aspect, when the frame is divided into a plurality of packets, the traffic amount for each address is measured using only the data length and the address information included in the first packet.

【0007】[0007]

【実施例】図1は本願の第1の発明によるトラヒック計
測装置の一実施例を示すブロック図である。図2は本実
施例においてネットワーク上を走行するパケットの一例
を示す図である。
FIG. 1 is a block diagram showing an embodiment of a traffic measuring device according to the first invention of the present application. FIG. 2 is a diagram illustrating an example of a packet traveling on a network in the present embodiment.

【0008】図1において、パケット検出部20は伝送
路10上を走行するパケット信号を受信する。ヘッダ検
出部30は前記パケット検出部20において検出したパ
ケット信号よりヘッダを検出し、フレームの連結情報を
読みとる。パケット長検出部40は、フレームの先頭に
記述されているデータ長を読みとる。記録部60は、デ
ータ長の積算を記録するカウンタを持っている。
In FIG. 1, a packet detector 20 receives a packet signal traveling on a transmission line 10. The header detection unit 30 detects a header from the packet signal detected by the packet detection unit 20, and reads the connection information of the frame. The packet length detector 40 reads the data length described at the beginning of the frame. The recording unit 60 has a counter for recording the integration of the data length.

【0009】図2において、フレームの先頭のデータ長
にはINFO長が記述されている。また、パケットのヘ
ッダには、フレームの連結情報、すなわち、そのパケッ
トがフレームの最初のセグメントであるか、途中である
か、終了であるか、または単一フレームであるかが記述
されている。
In FIG. 2, the INFO length is described in the data length at the head of the frame. In the header of the packet, connection information of the frame, that is, whether the packet is the first segment of the frame, the middle, the end, or the single frame is described.

【0010】以下、実施例の動作を説明する。パケット
検出部20は、伝送路10上のパケットを受信し、パケ
ット信号をヘッダ検出部30へ送信する。ヘッダ検出部
30では、ヘッダを読みとり、ヘッダに記述されている
フレームの連結情報が最初のセグメント、または単一フ
レームの場合は、パケット長検出部40へパケット信号
を送信する。途中のセグメントまたは終了セグメントで
あった場合は、パケット信号を廃棄する。パケット信号
を受信したパケット長検出部40は、フレームのヘッダ
に記述されているINFO長を読みとり、記録部60へ
送信する。記録部60では、カウンタに既に記録されて
いる値を読みだし、パケット長検出部40から受信した
値を加算し、カウンタに再び書き込むことにより、トラ
ヒック量の記録を行う。
The operation of the embodiment will be described below. The packet detector 20 receives a packet on the transmission path 10 and transmits a packet signal to the header detector 30. The header detection unit 30 reads the header, and transmits a packet signal to the packet length detection unit 40 when the connection information of the frame described in the header is the first segment or a single frame. If the segment is an intermediate segment or end segment, the packet signal is discarded. Upon receiving the packet signal, the packet length detection unit 40 reads the INFO length described in the header of the frame, and transmits the INFO length to the recording unit 60. The recording unit 60 reads the value already recorded in the counter, adds the value received from the packet length detection unit 40, and writes the value again in the counter, thereby recording the traffic amount.

【0011】図3は、本願の第2の発明によるトラヒッ
ク計測装置の一実施例を示すブロック図である。第1の
発明の実施例では、記録部60において、フレームのア
ドレスに無関係にトラヒック量を記録していたが、図3
に示す第2の発明の実施例においては、アドレス検出部
50を設け、送信元アドレス毎にトラヒック量を記録す
る。受信パケットがフレームの最初のセグメント、また
は単一フレームであることをヘッダが示していたとき、
ヘッダ検出部30はパケット長検出部40とアドレス検
出部50へパケット信号を送信する。アドレス検出部5
0はフレームのSA(送信元アドレス)を検出する。検
出したアドレスを記録部60へ送信する。記録部60は
アドレス毎にカウンタを持ち、アドレス検出部50より
受信したアドレスに対応するカウンタから値を読みと
り、パケット長検出部40で検出したパケット長を加算
し、カウンタに値を戻す。
FIG. 3 is a block diagram showing an embodiment of the traffic measuring device according to the second invention of the present application. In the embodiment of the first invention, the recording unit 60 records the traffic amount irrespective of the address of the frame.
In the second embodiment of the present invention, an address detection unit 50 is provided to record a traffic amount for each transmission source address. When the header indicates that the received packet is the first segment of a frame, or a single frame,
The header detection unit 30 transmits a packet signal to the packet length detection unit 40 and the address detection unit 50. Address detector 5
0 detects the SA (source address) of the frame. The detected address is transmitted to the recording unit 60. The recording unit 60 has a counter for each address, reads a value from the counter corresponding to the address received from the address detection unit 50, adds the packet length detected by the packet length detection unit 40, and returns the value to the counter.

【0012】図3に示した実施例では、SA(送信元ア
ドレス)を検出して、SA毎にトラヒック量を記録する
としたが、アドレス検出部50においてDA(宛先アド
レス)を検出してDA毎のトラヒック量を記録する方法
ももちろん可能である。
In the embodiment shown in FIG. 3, the SA (source address) is detected and the traffic amount is recorded for each SA. However, the address detection unit 50 detects the DA (destination address) and Of course, a method of recording the traffic volume of the vehicle is also possible.

【0013】[0013]

【発明の効果】以上に説明したように、本発明によれ
ば、フレームが複数パケットに分割されていてもフレー
ムの先頭に記述されているデータ長とアドレスのみを用
いて効率良くトラヒック量の計測を行うことができる。
As described above, according to the present invention, even if a frame is divided into a plurality of packets, the traffic amount can be efficiently measured using only the data length and the address described at the head of the frame. It can be performed.

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

【図1】第1の発明の一実施例の構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of an embodiment of the first invention.

【図2】ネットワーク上を走行するパケットの形式を示
す図である。
FIG. 2 is a diagram showing a format of a packet traveling on a network.

【図3】第2の発明の一実施例の構成を示すブロック図
である。
FIG. 3 is a block diagram showing a configuration of an embodiment of the second invention.

【図4】従来のトラヒック計測装置の構成を示すブロッ
ク図である。
FIG. 4 is a block diagram showing a configuration of a conventional traffic measurement device.

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

10 伝送路 20 パケット検出部 30 ヘッダ検出部 40 パケット長検出部 50 アドレス検出部 60 記録部 70 バイト計数部 DESCRIPTION OF SYMBOLS 10 Transmission path 20 Packet detection part 30 Header detection part 40 Packet length detection part 50 Address detection part 60 Recording part 70 Byte counting part

フロントページの続き (58)調査した分野(Int.Cl.6,DB名) H04L 12/56 H04L 12/24 H04L 12/26 H04L 12/28 Continued on the front page (58) Fields surveyed (Int.Cl. 6 , DB name) H04L 12/56 H04L 12/24 H04L 12/26 H04L 12/28

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 先頭にデータ長が記述されているフレー
ムが複数のパケットに分割されて送信されるネットワー
クのトラヒック量を計測する装置において、 前記ネットワークからパケット信号を取り込むパケット
検出部と、前記パケット検出部で取り込んだパケット信
号のヘッダに記述されているフレームの連結情報が最初
のセグメントまたは単一フレームの場合は該パケット信
号を送り出すヘッダ検出部と、このヘッダ検出部から送
られた前記パケット信号のデータ長を検出するパケット
長検出部と、このパケット長検出部で検出した前記デー
タ長を加算し記録する記録部とから構成されることを特
徴とするトラヒック計測装置。
1. An apparatus for measuring a traffic amount of a network in which a frame whose data length is described at the beginning is divided into a plurality of packets and transmitted, wherein a packet detecting unit for capturing a packet signal from the network; When the connection information of the frame described in the header of the packet signal captured by the detection unit is the first segment or a single frame, a header detection unit that sends out the packet signal, and the packet signal sent from the header detection unit A traffic length measuring unit comprising: a packet length detecting unit for detecting a data length of the packet; and a recording unit for adding and recording the data length detected by the packet length detecting unit.
【請求項2】 先頭にデータ長が記述されているフレー
ムが複数のパケットに分割されて送信されるネットワー
クのトラヒック量を計測する装置において、 前記ネットワークからパケット信号を取り込むパケット
検出部と、前記パケット検出部で取り込んだ前記パケッ
ト信号がフレームの最初のセグメント又は単一フレーム
であることを該パケット信号のヘッダが示していると
き、該パケット信号を送出するヘッダ検出部と、このヘ
ッダ検出部から送られた前記パケット信号のヘッダから
データ長を検出するパケット長検出部と、前記ヘッダ検
出部から送られた前記パケット信号のアドレスを検出す
るアドレス検出部と、このアドレス検出部で検出された
アドレス毎に前記パケット長検出部で検出したデータ長
を加算しデータ量を記録する記録部とから構成されるこ
とを特徴とするトラヒック計測装置。
2. An apparatus for measuring a traffic amount of a network in which a frame whose data length is described at the beginning is divided into a plurality of packets and transmitted, the packet detecting unit taking in a packet signal from the network; When the header of the packet signal indicates that the packet signal fetched by the detection unit is the first segment of a frame or a single frame, a header detection unit for transmitting the packet signal, and a transmission from the header detection unit. A packet length detecting unit for detecting a data length from a header of the packet signal obtained, an address detecting unit for detecting an address of the packet signal sent from the header detecting unit, and an address detected by the address detecting unit. Record the data amount by adding the data length detected by the packet length detection unit to the Traffic measurement device, characterized in that it consists of a part.
JP3212773A 1991-07-29 1991-07-29 Traffic measurement device Expired - Lifetime JP2882110B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3212773A JP2882110B2 (en) 1991-07-29 1991-07-29 Traffic measurement device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3212773A JP2882110B2 (en) 1991-07-29 1991-07-29 Traffic measurement device

Publications (2)

Publication Number Publication Date
JPH0537568A JPH0537568A (en) 1993-02-12
JP2882110B2 true JP2882110B2 (en) 1999-04-12

Family

ID=16628156

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3212773A Expired - Lifetime JP2882110B2 (en) 1991-07-29 1991-07-29 Traffic measurement device

Country Status (1)

Country Link
JP (1) JP2882110B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10308742A (en) 1997-05-07 1998-11-17 Nec Corp Atm processor
US7330434B2 (en) 2002-04-30 2008-02-12 Nippon Telegraph And Telephone Corporation Traffic quality measurement apparatus and method
JP4583312B2 (en) * 2006-01-30 2010-11-17 富士通株式会社 Communication status determination method, communication status determination system, and determination device

Also Published As

Publication number Publication date
JPH0537568A (en) 1993-02-12

Similar Documents

Publication Publication Date Title
US8730821B2 (en) Packet loss rate detection method, apparatus, and system
JPH059980B2 (en)
JP3720364B2 (en) Method for collecting physical configuration information of LAN system, method for identifying collision terminal, and method for detecting noise occurrence position
EP0474379B1 (en) Method and apparatus for analyzing nodes on a computer network
JP2882110B2 (en) Traffic measurement device
US5418720A (en) Symbol width measurement system
JP2001186127A (en) Understanding state measurement system, understanding state measurement method and storage medium
JPH06104922A (en) Charging device for connection-less packet
JP2000196593A (en) Traffic and communication quality measuring system
JP3485046B2 (en) Traffic collection device in IP packet switch
JP3872746B2 (en) Packet communication quality measuring method and system
KR19990084891A (en) High level data link control method of communication packet destination and packet type detection device and method
JPS59127453A (en) Line monitoring device
JP2546370B2 (en) Packet transfer characteristic measurement method
JP3825847B2 (en) Communication device
FR2785480B1 (en) METHOD AND DEVICE FOR MONITORING PACKET LOSS IN A COMMUNICATION SYSTEM
JP2667302B2 (en) Cell synchronization method and packet communication device
JP2504244B2 (en) Congestion status monitor circuit in network
JP2551328B2 (en) ATM switching system
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
JP3481557B2 (en) Monitoring method in IP router device
JPH08204754A (en) Call information collection system for frame relay exchange
JP3745720B2 (en) Packet communication quality measuring method and system
KR950014294B1 (en) A specific bit transmission circuit
JP2793480B2 (en) LAN data transmission method

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: 19990105

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080205

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090205

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100205

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100205

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110205

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110205

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120205

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120205

Year of fee payment: 13