JPH0644761B2 - Token bus LAN analyzer - Google Patents
Token bus LAN analyzerInfo
- Publication number
- JPH0644761B2 JPH0644761B2 JP63137313A JP13731388A JPH0644761B2 JP H0644761 B2 JPH0644761 B2 JP H0644761B2 JP 63137313 A JP63137313 A JP 63137313A JP 13731388 A JP13731388 A JP 13731388A JP H0644761 B2 JPH0644761 B2 JP H0644761B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- error
- modem
- lan
- token bus
- 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 - Fee Related
Links
Landscapes
- Detection And Prevention Of Errors In Transmission (AREA)
- Small-Scale Networks (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、トークンバス方式のLAN(ローカルエリア
ネットワーク)に用いられるアナライザに関するもので
ある。The present invention relates to an analyzer used for a token bus type LAN (local area network).
トークンバス方式のLANは、例えば工場内での機器間
の通信に適するように構成されたもので、各機器は、L
ANを構成する共有の伝送線路(同軸ケーブル)に、タ
ップオフ、モデムおよびノードを介して接続される。ト
ークンバス方式にはブロードバンドを用いる方式とキャ
リアバンドを用いる方式があるが、いずれも同軸ケーブ
ルにタップオフを取りつけて、モデムおよびノードを接
続する構成である。The token bus type LAN is configured to be suitable for communication between devices in a factory, for example, and each device is
It is connected to a shared transmission line (coaxial cable) forming the AN through a tap-off, a modem and a node. There are two types of token bus systems, one is using broadband and the other is using carrier band. In both cases, a coaxial cable is attached with tap-off to connect a modem and a node.
LANアナライザは、LAN内を流通するデータを取り
込んで、LANの負荷率、フレーム数測定、フレーム間
隔測定など各種の解析を行うものである(特開昭63−99
654 号公報)。トークンバス方式LANアナライザは、
タップオフ介して同軸ケーブルに接続されるモデムを備
えており、このモデムを通して受信したデータを処理、
記憶し、かつ記憶したデータを解析するものである。ま
たトークンバス方式LANアナライザは、モデムを通し
てデータフレームを送り出し、相手機器が正常に動作す
るか否かを確認する機能も有している。The LAN analyzer takes in data circulating in the LAN and performs various analyzes such as LAN load factor, frame number measurement, and frame interval measurement (JP-A-63-99).
No. 654). Token bus LAN analyzer
It has a modem connected to the coaxial cable via tap-off and processes the data received through this modem,
It stores and analyzes the stored data. The token bus type LAN analyzer also has a function of sending out a data frame through a modem and confirming whether or not the partner device normally operates.
しかしLAN内を流通するデータは、ノイズ等の影響に
よりビット落ちやビット化け等が発生することがあり、
このため各ノードでは異常なデータが受信することがあ
る。このような場合、異常なデータを受信したノードで
は、そのエラーを検出してデータを再送するか、エラー
メッセージでどのフレームにエラーが発生したかを表示
する等のエラー処理が行われなければならない。However, data flowing through the LAN may have bit loss or bit garbled due to the influence of noise, etc.
Therefore, each node may receive abnormal data. In such cases, the node that receives the abnormal data must perform error processing such as detecting the error and retransmitting the data, or displaying in the error message which frame the error occurred in. .
新しく設計された機器やソフトをテストする場合、正常
なデータを受信したときの動作チェックは当然必要であ
るが、異常なデータを受信したときのエラー処理機能の
チェックも必要である。When testing newly designed equipment and software, it is of course necessary to check the operation when normal data is received, but it is also necessary to check the error processing function when abnormal data is received.
従来のLANアナライザは、データ送信部から所定のデ
ータを送り出して、相手機器の動作を確認することは可
能であるが、データ送信部では異常なデータを作り出す
ことができないため、相手機器のエラー処理機能をチェ
ックすることができない。In the conventional LAN analyzer, it is possible to send out predetermined data from the data transmission unit to check the operation of the partner device, but since the data transmitter cannot create abnormal data, error processing of the partner device is performed. Unable to check functionality.
上記のような課題を解決するため本発明は、LANを構
成する共有の伝送線路に接続されるモデムと、このモデ
ムを通して受信したデータを処理、記憶する手段と、記
憶したデータを解析する手段と、上記モデムを通してデ
ータフレームを送り出すデータ送信部とを備えたトーク
ンバス方式LANアナライザにおいて、上記モデムとデ
ータ送信部との間に、データ送信部から送り出されるデ
ータフレームの一部のセクションのデータを選択的に変
更するエラー発生回路を設け、さらにこのエラー発生回
路にエラーを発生させるセクションとエラーの種類を指
示するエラー発生制御部を設けたことを特徴とするもの
である。In order to solve the above problems, the present invention provides a modem connected to a shared transmission line constituting a LAN, a means for processing and storing data received through this modem, and a means for analyzing the stored data. In a token bus system LAN analyzer equipped with a data transmission section for transmitting a data frame through the modem, a part of the data frame transmitted from the data transmission section is selected between the modem and the data transmission section. The error generating circuit for changing the error generating circuit is further provided, and the error generating circuit is further provided with an error generating control section for instructing a section in which an error is generated and an error type.
トークンバス方式LANにおいては、図−3に示すよう
な7つのセクションをもつデータフレームが流通する。
先頭から順に、SDはスタート表示(1バイト)、FC
はフレーム制御(1バイト)、DAは行き先アドバイス
(6バイト)、SAは発信元アドレス(6バイト)、Da
ta Unit は情報、FCSはフレームチェックシーケンス
(4バイト)、EDはエンド表示(1バイト)である。
SDとED間のフレーム長は8191バイト以下である。In the token bus LAN, a data frame having seven sections as shown in FIG. 3 is distributed.
In order from the beginning, SD is start display (1 byte), FC
Is frame control (1 byte), DA is destination advice (6 bytes), SA is source address (6 bytes), Da
ta Unit is information, FCS is a frame check sequence (4 bytes), and ED is an end display (1 byte).
The frame length between SD and ED is 8191 bytes or less.
データ送信部からは上記のような構成の正常なデータフ
レームが送り出されるが、エラー発生回路では、このデ
ータフレームの一部のセクションのデータを変更し、エ
ラーを含むデータにして送り出すのである。エラーを発
生させるセクションとエラーの種類はエラー発生制御部
からの指示による。例えばFCのデータを消去すると
か、SAのデータにビット化けを起こさせる等である。
このようにして送り出すデータフレームの、任意のセク
ションに任意に種類のエラーを発生させることにより、
相手機器のエラー処理機能を確認することが可能とな
る。A normal data frame having the above-mentioned configuration is sent from the data transmitting unit, but the error generating circuit changes the data of a part of the section of the data frame and sends it as data including an error. The section that causes an error and the type of error depend on an instruction from the error generation control unit. For example, the FC data may be erased, or the SA data may be garbled.
By generating an error of any kind in any section of the data frame sent out in this way,
It is possible to check the error processing function of the partner device.
以下、本発明の実施例を図面を参照して詳細に説明す
る。Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図−1は本発明の一実施例に係るトークンバス方式LA
Nアナライザの全体構成を示す。図において、11はLA
Nの共有の伝送線路である同軸ケーブル、12は同軸ケー
ブル11に取り付けたタップオフ、13はタップオフ12を介
して同軸ケーブル11に接続されるモデム(データ伝送用
変復調器)である。モデム13としてはLANがブロード
バンドバス方式(送信 174〜300MHz、受信 5〜108MHz)
の場合はブロードバンドモデムが、キャリアバンドバス
方式の場合はキャリアバンドモデムが用いられる。FIG. 1 shows a token bus system LA according to an embodiment of the present invention.
The whole structure of N analyzer is shown. In the figure, 11 is LA
A coaxial cable is a transmission line shared by N, 12 is a tap-off attached to the coaxial cable 11, and 13 is a modem (data transmission modulator / demodulator) connected to the coaxial cable 11 via the tap-off 12. LAN as the modem 13 is a broadband bus system (transmitting 174 to 300 MHz, receiving 5 to 108 MHz)
In the case of, a broadband modem is used, and in the case of a carrier band bus system, a carrier band modem is used.
次に、14は誤り検出用のCRCチェック回路、15は解析
に必要なフレームだけを選択的に通過させるフィルタ、
16はシリアルデータからパラレルデータへの変換、パラ
レルデータを記憶させるためのアドレス制御、フレーム
長の計測などを行う受信信号処理部、17は受信データ記
憶部18と管理データ記憶部19とから構成されるデータ記
憶部である。受信データ記憶部18は受信信号処理部16か
らのパラレルデータを記憶し、管理データ記憶部19はパ
ラレルデータのアドレスポインタ、フレーム長などを記
憶する。Next, 14 is a CRC check circuit for error detection, 15 is a filter that selectively passes only frames necessary for analysis,
Reference numeral 16 is a reception signal processing unit that performs conversion from serial data to parallel data, address control for storing parallel data, frame length measurement, and the like, and 17 is composed of a reception data storage unit 18 and a management data storage unit 19. It is a data storage unit. The reception data storage unit 18 stores the parallel data from the reception signal processing unit 16, and the management data storage unit 19 stores the address pointer, frame length, etc. of the parallel data.
次に、20は受信したデータフレームのフレーム数を数え
るカウンタ、21は受信したデータフレーム間の時間間隔
を測定するフレーム間隔計測部である。Next, 20 is a counter that counts the number of received data frames, and 21 is a frame interval measurement unit that measures the time interval between the received data frames.
次に、22〜28はFC(フレーム制御)の種類別の検出
部、29〜35はFCの種類別のカウンタである。FCには
次の7種類がある。Next, 22 to 28 are FC (frame control) type detection units, and 29 to 35 are FC type counters. There are the following seven types of FC.
クレームトークン ソリシットセクセッサ#1 ソリシットセクセッサ#2 フーフォローズ セットセクセッサ トークン リゾルブコンテンション 検出部22〜28およびカウンタ29〜35はこれらのFCを種
類別に検出し、カウントするものである。Claim Token Solid Sex # 1 Solid Sex # 2 Who Follows Set Sex Token Resolve Contention Detectors 22-28 and counters 29-35 detect and count these FCs by type.
次に、36は受信制御部で、測定したフレーム数、フレー
ム間隔、FCの種類別カウント値などをバスコントロー
ラ37を通して管理データ記憶部19に記憶させるものであ
る。前述のアドレスポインタ、フレーム長の、管理デー
タ記憶部19への記憶もこの受信制御部36の制御のもとに
行われる。受信制御部36はCPU68000 、ROM、RA
Mからなるマイクロコンピュータで構成することができ
る。Next, a reception control unit 36 stores the measured number of frames, frame interval, FC type count value, etc. in the management data storage unit 19 through the bus controller 37. The storage of the above-mentioned address pointer and frame length in the management data storage unit 19 is also performed under the control of the reception control unit 36. The reception control unit 36 includes a CPU 68000, ROM, RA
It can be configured by a microcomputer including M.
受信データは以上のように処理、記憶されるが、記憶し
たデータの解析は主制御部38により行われる。主制御部
38は例えばCPU80286 、ROM、RAMからなるマイ
クロコンピュータで構成され、そこには各種周辺機器
(キーボード、ディスプレイ、フロッピーディスクドラ
イブなど)39 がそれぞれコントローラ40を介して接続
されている。主制御部38はキーボードからの入力により
受信データ記憶部18および管理データ記憶部19に記憶さ
れている各種データを参照して必要な解析を行う。The received data is processed and stored as described above, and the stored data is analyzed by the main control unit 38. Main control unit
Reference numeral 38 denotes a microcomputer including, for example, a CPU 80286, ROM and RAM, to which various peripheral devices (keyboard, display, floppy disk drive, etc.) 39 are connected via a controller 40. The main control unit 38 refers to various data stored in the received data storage unit 18 and the management data storage unit 19 by inputting from the keyboard, and performs necessary analysis.
次に、41はデータ送信部である。このデータ送信部41
は、主制御部38で作成されたデータを所定のフォーマッ
トに従って送り出すもので、ここから送り出されたデー
タは、モデム13でアナログ信号に変換され、同軸ケーブ
ル11を介して相手機器に送られ、相手機器の動作チェッ
ク等に用いられる。Next, 41 is a data transmission unit. This data transmitter 41
Is for sending the data created by the main control unit 38 in accordance with a predetermined format.The data sent from here is converted into an analog signal by the modem 13 and sent to the partner device via the coaxial cable 11, Used for checking the operation of equipment.
以上は従来のトークンバス方式LANアナライザの一般
的な構成であるが、本発明は、このようなLANアナラ
イザにおいて、モデム13とデータ送信部41との間に、デ
ータ送信部41から送り出されるデータフレームの一部の
セクションのデータを選択的に変更するエラー発生回路
51を設け、さらに、このエラー発生回路51にエラーを発
生させるセクションとエラーの種類を指示するエラー発
生制御部52を設けたものである。The above is the general configuration of the conventional token bus type LAN analyzer, but the present invention is such a LAN analyzer that a data frame sent from the data transmitting unit 41 between the modem 13 and the data transmitting unit 41. Error circuit that selectively changes the data in some sections of the
51 is provided, and further, the error generation circuit 51 is provided with an error generation control section 52 for instructing a section in which an error is generated and an error type.
エラー発生回路51は例えば図−2のように構成されてい
る。遅延回路53はデータ送信部41から送られてきたデー
タフレームを2バイト(それ以上でも可)遅延させ、エ
ラーを作り出すための時間をかせぐものである。SD検
出部54はデータ送信部41から送られてきたデータフレー
ムのSDを検出し、FC検出部55およびバイトカウンタ
57の同期をとるものである。FC検出部55はデータ送信
部41から送られてきたデータフレームのFCを検出し、
またFCセレクト回路56はエラー発生制御部52からの指
示に従いエラーを起こさせるFCの種類を選択するもの
である。バイトカウンタ57は次のSD・FC・DA・S
Aセレクトコントロール部58用のパルスを作成するもの
である。このセレクトコントロール部58は、エラー発生
制御部52からの指示に従いSD、FC、DA、SAのど
のセクションにエラーを生じさせるかを選択し、かつエ
ラー(パルス消失、ビット化け等)のタイミングや幅な
どをコントロールするものである。ED検出部59はデー
タ送信部41から送られてきたデータフレームのEDを検
出するものであり、EDセレクトコントロール部60はエ
ラー発生制御部52からの指示によりEDにエラーを生じ
させる際にエラー(パルス消失、ビット化け等)のタイ
ミングや幅などをコントロールするものである。エラー
セクションセレクト回路61はSD、FC、DA、SA、
EDのどのセクションにエラーを起こさせるかを選択す
るものである。The error generating circuit 51 is configured, for example, as shown in FIG. The delay circuit 53 delays the data frame sent from the data transmission unit 41 by 2 bytes (may be longer than that), thereby gaining time for producing an error. The SD detection unit 54 detects the SD of the data frame sent from the data transmission unit 41, and the FC detection unit 55 and the byte counter.
It is intended to synchronize 57. The FC detector 55 detects the FC of the data frame sent from the data transmitter 41,
The FC select circuit 56 selects the type of FC that causes an error according to an instruction from the error generation control unit 52. The byte counter 57 is the next SD / FC / DA / S.
A pulse for the A select control unit 58 is created. The select control unit 58 selects which section of SD, FC, DA, or SA the error occurs in according to an instruction from the error generation control unit 52, and the timing and width of the error (pulse loss, garbled bit, etc.). It controls things like. The ED detection unit 59 detects the ED of the data frame sent from the data transmission unit 41, and the ED select control unit 60 causes an error when an error occurs in the ED according to an instruction from the error generation control unit 52 ( Pulse loss, garbled bit, etc.) and the timing and width are controlled. The error section select circuit 61 uses SD, FC, DA, SA,
It is to select which section of the ED causes the error.
エラーセクションセレクト回路61からは以上の回路の動
作によりデータフレームの特定のセクションに特定のエ
ラーを生じさせる信号が出力される。この信号は遅延回
路53から2バイト遅れで送られてくるデータフレームと
同期しており、この信号がゲート62に入ると、そのゲー
ト62を通過するデータフレームは特定のセクションに特
定のエラーを含むように作り変えられる。このようにし
てゲート62からはエラーの入ったデータフレームが出力
され、それがモデム13でアナログ信号に変換されてLA
Nに送り出される。したがってこのような異常なデータ
を受信した機器がどのような動作をするか、またその機
器のエラー処理機能が確実に働くか否かをチェックする
ことができるわけである。The error section select circuit 61 outputs a signal that causes a specific error in a specific section of the data frame by the operation of the above circuits. This signal is synchronized with the data frame sent from the delay circuit 53 with a delay of 2 bytes. When this signal enters the gate 62, the data frame passing through the gate 62 contains a specific error in a specific section. Can be remade. In this way, a data frame containing an error is output from the gate 62, which is converted into an analog signal by the modem 13 and LA is output.
Sent to N. Therefore, it is possible to check how the device that receives such abnormal data operates and whether the error processing function of the device surely works.
以上説明したように本発明に係るLANアナライザは、
データフレームを送信する際に、データフレームの所望
のセクションに所望の種類のエラーを含ませることがで
きるので、エラーを含む異常なデータを受信した機器が
どのような動作をするかをチェックすることができる。
また新しく設計された機器やソフトをLANに組み込む
場合などには、エラー処理機能のデバッグを短期間で確
実に行うことができる。As described above, the LAN analyzer according to the present invention is
When transmitting a data frame, it is possible to include a desired type of error in the desired section of the data frame, so check how the device that receives the abnormal data including the error behaves. You can
Further, when a newly designed device or software is incorporated in the LAN, the error handling function can be debugged reliably in a short period of time.
図−1は本発明の一実施例に係るトークンバス方式LA
Nアナライザの一実施例を示すブロック図、図−2は同
アナライザのエラー発生回路の具体例を示すブロック
図、図−3はトークンバス方式のデータフレームの構成
を示す説明図である。 11:同軸ケーブル、12:タップオフ、13:モデム、41:
データ送信部、51:エラー発生回路、52:エラー発生制
御部。FIG. 1 shows a token bus system LA according to an embodiment of the present invention.
FIG. 2 is a block diagram showing an embodiment of an N analyzer, FIG. 2 is a block diagram showing a concrete example of an error generating circuit of the analyzer, and FIG. 3 is an explanatory diagram showing a structure of a token bus system data frame. 11: coaxial cable, 12: tap-off, 13: modem, 41:
Data transmission unit, 51: error generation circuit, 52: error generation control unit.
Claims (1)
構成する共有の伝送線路に接続されるモデムと、このモ
デムを通して受信したデータを処理、記憶する手段と、
記憶したデータを解析する手段と、上記モデムを通して
データフレームを送り出すデータ送信部とを備えたトー
クンバス方式LANアナライザにおいて、上記モデムと
データ送信部との間に、データ送信部から送り出される
データフレームの一部のセクションのデータを選択的に
変更するエラー発生回路を設け、さらにこのエラー発生
回路にエラーを発生させるセクションとエラーの種類を
指示するエラー発生制御部を設けたことを特徴とするト
ークンバス方式LANアナライザ。1. A modem connected to a shared transmission line constituting a LAN (Local Area Network), and a means for processing and storing data received through the modem.
In a token bus system LAN analyzer equipped with a means for analyzing stored data and a data transmission unit for transmitting a data frame through the modem, a data frame transmitted from the data transmission unit is provided between the modem and the data transmission unit. A token bus that is provided with an error generation circuit that selectively changes data in some sections, and further has an error generation control unit that instructs the error generation circuit and the type of the error generation section. Method LAN analyzer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63137313A JPH0644761B2 (en) | 1988-06-06 | 1988-06-06 | Token bus LAN analyzer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63137313A JPH0644761B2 (en) | 1988-06-06 | 1988-06-06 | Token bus LAN analyzer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01307338A JPH01307338A (en) | 1989-12-12 |
| JPH0644761B2 true JPH0644761B2 (en) | 1994-06-08 |
Family
ID=15195769
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63137313A Expired - Fee Related JPH0644761B2 (en) | 1988-06-06 | 1988-06-06 | Token bus LAN analyzer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0644761B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6243938A (en) * | 1985-08-22 | 1987-02-25 | Matsushita Electric Ind Co Ltd | Line diagnostic device |
| JPS63274248A (en) * | 1987-04-30 | 1988-11-11 | Mitsubishi Electric Corp | Diagnostic method for transmission error detection section |
-
1988
- 1988-06-06 JP JP63137313A patent/JPH0644761B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01307338A (en) | 1989-12-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4792753A (en) | Local area network protocol analyzer | |
| JPH0644761B2 (en) | Token bus LAN analyzer | |
| JPS63274248A (en) | Diagnostic method for transmission error detection section | |
| JPS63108828A (en) | Monitoring method for digital line | |
| JPS6046637A (en) | Method for diagnozing part corresponding to circuit in data highway system | |
| JP2513121B2 (en) | Transmission device for serial bus | |
| JPH05219084A (en) | Monitoring method for ring network | |
| JPH02231835A (en) | Node fault detector | |
| JPH02193764A (en) | Data transmission method in electronic interlocking device | |
| JPH04361439A (en) | Serial data communication equipment | |
| JPH02183643A (en) | Lan monitoring equipment | |
| JPH0553338B2 (en) | ||
| JPS62298250A (en) | Gateway transmission control device | |
| JPH05153144A (en) | Line deterioration diagnostic system for network | |
| JPH0817398B2 (en) | Abnormality detection method in data transmission system | |
| JPS61154334A (en) | Time slot diagnose system | |
| JPH0334649A (en) | LAN fault detection method | |
| JPH0228941B2 (en) | ||
| JPH07253995A (en) | Transmission device with self-diagnosis function | |
| JPH02123840A (en) | Line supervision system | |
| JP2001014028A (en) | Central monitor controller | |
| JPS63133727A (en) | Data retransmission system | |
| JPH03186038A (en) | Communication method automatic discrimination switching device in local area data communication network | |
| JPS61282939A (en) | Online test system for distributed device | |
| JPS6121648A (en) | Transmission system |
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 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |