JPS61224535A - Simulator of colliding state - Google Patents

Simulator of colliding state

Info

Publication number
JPS61224535A
JPS61224535A JP60064339A JP6433985A JPS61224535A JP S61224535 A JPS61224535 A JP S61224535A JP 60064339 A JP60064339 A JP 60064339A JP 6433985 A JP6433985 A JP 6433985A JP S61224535 A JPS61224535 A JP S61224535A
Authority
JP
Japan
Prior art keywords
packet
collision
binary
circuit
output
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
JP60064339A
Other languages
Japanese (ja)
Inventor
Akio Iijima
明夫 飯島
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
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP60064339A priority Critical patent/JPS61224535A/en
Publication of JPS61224535A publication Critical patent/JPS61224535A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To simulate colliding state under actual environment without changing the characteristic of a transmission line and a transceiver by sending immediately a collision generating signal for a prescribed time on a transmission line after detection of a packet and controlling the signal with external designation. CONSTITUTION:A packet detection circuit 1 inputs a reception signal from a transceiver to detect the transmission of a packet on the transmission line. This function is a carrier sense function being one of basic function of the carrier sense multiple access/collision detect (CSMA/CD) system, it is realized by the level detection of an input signal and the level is at binary '1' when the packet is received and the level is at binary '0' when no packet is received. The output of the packet detection circuit 1 is inputted to a collision state generation control circuit 2 and an AND circuit 3. The circuit 2 changes the output to binary '0' or binary '1' according to an external program every time the output is changed from binary '1' to binary '0', and when the circuit 1 detects the packet end.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はCSMA/CD方式のパケット通信システムの
試験装置に関し、特にノードのネットワークアクセス機
能の内衝突検出及び再送機構の正常性を確認するために
補助的に使用される衝突状態従来、この種の衝突状態擬
似試験は、同軸伝送路の終端抵抗をはずし、反射波を利
用して衝突状態を擬似したり、衝突検出回路の検出レベ
ル等を変え、実際には衝突が起きていないのにもかかわ
らず伝送路又はトランシーバに細工を加え衝突信号を発
生させるという方式をとっていた。
Detailed Description of the Invention (Industrial Application Field) The present invention relates to a testing device for a CSMA/CD type packet communication system, and in particular for checking the normality of collision detection and retransmission mechanisms in the network access functions of nodes. Conventionally, this type of collision simulation test involves removing the terminating resistor of the coaxial transmission line and using reflected waves to simulate a collision, or testing the detection level of the collision detection circuit. Instead, a method was used in which the transmission line or transceiver was modified to generate a collision signal even though no collision had actually occurred.

(発明が解決しようとする問題点) 上述した従来の衝突状態擬似方式は、伝送路やトランシ
ーバの衝突検出特性を変化させるという方式をとってい
るので、通常の使用状態での試験ができないという欠点
がある。又、衝突が起る状態と起らない状態とを動的に
変えることが困難で。
(Problems to be Solved by the Invention) The conventional collision state simulation method described above uses a method of changing the collision detection characteristics of the transmission line and transceiver, so it has the disadvantage that it cannot be tested under normal usage conditions. There is. Also, it is difficult to dynamically change the state in which a collision occurs and the state in which it does not occur.

実際の運転状態が擬似できないという欠点がある。The drawback is that it cannot simulate the actual operating conditions.

したがって本発明の目的は、このような欠点を解決し、
伝送路やトランシーバの特性を変えることなく実環境で
衝突状態を擬似することができ、しかも任意の条件下で
衝突状態を起すことのできる衝突状態擬似方式を提供す
ることにある。
It is therefore an object of the present invention to overcome these drawbacks and to
It is an object of the present invention to provide a collision state simulation method that can simulate a collision state in a real environment without changing the characteristics of a transmission path or a transceiver, and can also cause a collision state under arbitrary conditions.

(問題点を解決するための手段) 本発明の衝突状態擬似装置は1通常のシステムのあるト
ランシーバのノード側インタフェースに接続されかつ伝
送路上にパケットが送信されたことを検出する手段と、
このパケット送信に対し衝突を起すため該パケットの検
出後直ちに伝送路上に一定時間衝突発生用信号を送出す
る衝突信号送出手段と、上記衝突発生用信号を、外部か
らの指定により、毎回送出、一定確率で送出、一定回数
連続で送出という様に制御する判断手段とを有して構成
されている。
(Means for Solving the Problems) The collision state simulating device of the present invention has 1 means connected to a node-side interface of a transceiver in a normal system and detecting that a packet has been transmitted on a transmission path;
Collision signal sending means sends out a collision occurrence signal for a certain period of time on the transmission path immediately after detecting the packet in order to cause a collision in response to the packet transmission; The apparatus is configured to include a determining means for controlling the transmission according to the probability and the transmission a certain number of times in succession.

(実施例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

図面は本発明の一実施例のブロック図である。The drawing is a block diagram of one embodiment of the present invention.

パケット検出回路1は、トランシーバからの受信信号を
入力し、伝送路上にパケットが送信されたことを検出す
る。本機能は、CSMA/CD方式の基本機能の一つで
ちるキャリアセンス機能であシ、入力信号のレベル検出
により実現され、パケット受信中は2進゛1#、パケッ
トを受信していない間Vi2進II O”となる。パケ
ット検出回路1の出力は衝突状態発生制御回路2と、A
ND回路3に入力される。衝突状態発生制御回路2は、
パケット検出回路1がパケットエンドを検出し、出力を
2進“′1“から2進′0”に変化させるたびに外部か
らのプログラムに従って出力を2進“0″又は2進°゛
1”に変化させる。
The packet detection circuit 1 receives a received signal from a transceiver and detects that a packet has been transmitted on a transmission path. This function is a carrier sense function, which is one of the basic functions of the CSMA/CD system, and is realized by detecting the level of the input signal. The output of the packet detection circuit 1 is sent to the collision state generation control circuit 2 and A
It is input to the ND circuit 3. The collision state occurrence control circuit 2 is
Each time the packet detection circuit 1 detects the end of a packet and changes the output from binary "'1" to binary '0, it changes the output to binary "0" or binary °1 according to an external program. change.

次に5gE突状態発生制御回路2の実施例について以下
に述べる。一つの実施例は、n(n≧1)ピットのシフ
トレジスタでかつ各ビットの初期値が設定可能なシフト
レジスタを使用した回路である。このシフトレジスタの
シフトクロックとしてパケット検出回路1の出力を入力
し、2進′°1“から2進′O″の変化によりシフトす
る様にし、シフトレジスタのシフト方向最終段の出力を
衝突状態発生制御回路2の出力とする。始めI’(k(
1≦に≦n)回目に送信されたパケットに対して衝突を
起すか否かをシフトレジスタのにビット目の初期値(衝
突を起させる場合に2進″′1″、起させない場合は2
進“0#)として設定する。設定後、木製fM、を起動
することにより、パケットエンド検出の毎にデータがシ
フトし、k回目のパケット検出時にはにビット目て設定
した値が衝突状態発生制御回路の出力端に出力され、A
ND回路3の入力端罠入力され、kビット目の設定値が
2進″1”の場合、AND回路3の出力端にパケット検
出回路1の出力値が出力され、kビット目の設定値が2
進″0”の場合はパケット検出回路1の出力はAND回
路3Vcよりマスクされる。AND回路3の出力は、衝
突発生用信号送信回路4Vc入力される。衝突発生用信
号送出回路4は、人力の2進″0#から2進パ1#への
変化により起動され、衝突を起し、相手送信ノードが検
出するの罠十分な時間だけパケットを擬似1−た信号を
出力する。上記の動作によって本発明の装置は任意のに
番目(但し1≦に≦n)のパケット送信に対し衝突状態
を起す。
Next, an embodiment of the 5gE sudden condition generation control circuit 2 will be described below. One embodiment is a circuit using a shift register having n (n≧1) pits and in which the initial value of each bit can be set. The output of the packet detection circuit 1 is input as the shift clock of this shift register, and the shift is caused by a change from binary '°1' to binary 'O', and the output of the final stage in the shift direction of the shift register is caused to be in a collision state. This is the output of control circuit 2. At the beginning I'(k(
The initial value of the second bit of the shift register determines whether or not to cause a collision for the packet transmitted 1≦≦n times (binary ``'1'' to cause a collision, 2 to not cause a collision)
After setting, by starting the wooden fM, the data is shifted every time the packet end is detected, and when the k-th packet is detected, the value set for the bit is used as the collision state generation control. Output to the output end of the circuit, A
When a trap input is input to the input end of the ND circuit 3 and the set value of the k-th bit is binary "1", the output value of the packet detection circuit 1 is output to the output end of the AND circuit 3, and the set value of the k-th bit is 2
If the leading bit is "0", the output of the packet detection circuit 1 is masked by the AND circuit 3Vc. The output of the AND circuit 3 is input to a collision occurrence signal transmission circuit 4Vc. The collision generation signal sending circuit 4 is activated by a human-powered change from binary ``0#'' to binary ``pa1#'', causes a collision, and transmits a pseudo-1 packet for a sufficient time to prevent the other sending node from detecting it. By the above-described operation, the device of the present invention causes a collision state for any number (where 1≦and≦n) packet transmission.

次に、衝突状態発生制御回路2のもう一つの実施例につ
いて述べる。この実施例は衝突状態発生制御回路として
l(/ n (n≧1.1≦に≦n ) ノ確率で2進
′”1#を出力し、(n−k)/にで2進” o ’ 
i出力する回路を使用した回路である。
Next, another embodiment of the collision state generation control circuit 2 will be described. This embodiment is a collision state generation control circuit that outputs binary ``1#'' with a probability of l(/n (n≧1.1≦≦n), and outputs binary ``o'' at (n-k)/. '
This is a circuit that uses a circuit that outputs i.

この回路はモジュロnの乱数発生回路及び出力された乱
数と設定値にとを比較し、乱数がkよシ小さい時2進″
1″を出力し、乱数かに以上の時2進゛′0″を出力す
る比較回路によって実現される。
This circuit uses a modulo n random number generation circuit and compares the output random number with the set value, and when the random number is smaller than k, it is converted into binary ``
This is realized by a comparator circuit that outputs ``1'' and outputs binary ``0'' when the random number is greater than or equal to .

この実施例の場合はに/nの確率でパケット送信に対し
衝突状態を起す。なお、ここでは衝突状態発生制御回路
2の2つの実施例を述べたが1本発明では上記に述べた
様な機能を合せ持った衝突状態発生制御回路を実現する
ことによシ、各種条件に従って衝突を起すことが可能で
、ある。
In this embodiment, a collision occurs with respect to packet transmission with a probability of /n. Here, two embodiments of the collision state generation control circuit 2 have been described, but in the present invention, by realizing a collision state generation control circuit having the above-mentioned functions, the collision state generation control circuit 2 can be operated according to various conditions. It is possible and possible for a collision to occur.

(発明の効果) 以上説明したように本発明は、トランシーバに接続し使
用さtLるため伝送路やトランシーバの特性を変えるこ
となく、実環境で衝突状態が擬似できるという効果、及
び任意番目の送信パケットや確率等の各種条件下で衝突
状態を起すことができるという効果がある。
(Effects of the Invention) As explained above, the present invention has the effect that a collision state can be simulated in a real environment without changing the transmission path or the characteristics of the transceiver because it is connected to a transceiver and used, and that it is possible to simulate an arbitrary number of transmissions. This has the effect that a collision state can occur under various conditions such as packets and probabilities.

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

図面は本発明のブロック図である。 1・・・パケット検出回路、 2・・・衝突状態発生制御回路。 3・・・AND回路、 4・・・衝突発生用信号送出回路。 The drawing is a block diagram of the invention. 1...Packet detection circuit, 2...Collision state occurrence control circuit. 3...AND circuit, 4... Signal sending circuit for collision occurrence.

Claims (1)

【特許請求の範囲】[Claims] CSMA/CD方式のパケット通信システムに接続され
たノード装置の衝突検出機能および再送機能の正常性を
確認するために使用される衝突状態擬似装置において、
トランシーバからの受信信号から伝送路上のパケット送
信を検出するパケット検出手段と、前記パケット検出手
段の出力により起動されかつパケット検出時に該パケッ
ト検出に対して衝突状態を起させるか否かを外部からの
指定に従い決定する判断手段と、前記判断手段からの出
力に従つて伝送路上で衝突を起させるための信号を送出
する衝突信号送出手段とを有することを特徴とする衝突
状態擬似装置。
In a collision state simulating device used to confirm the normality of the collision detection function and retransmission function of a node device connected to a CSMA/CD type packet communication system,
a packet detection means for detecting packet transmission on a transmission path from a received signal from a transceiver; and a packet detection means that is activated by the output of the packet detection means and detects whether or not a collision state is caused for the packet detection when a packet is detected. A collision state simulating device comprising: a determining means for determining according to a specification; and a collision signal transmitting means for transmitting a signal to cause a collision on a transmission path in accordance with an output from the determining means.
JP60064339A 1985-03-28 1985-03-28 Simulator of colliding state Pending JPS61224535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60064339A JPS61224535A (en) 1985-03-28 1985-03-28 Simulator of colliding state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60064339A JPS61224535A (en) 1985-03-28 1985-03-28 Simulator of colliding state

Publications (1)

Publication Number Publication Date
JPS61224535A true JPS61224535A (en) 1986-10-06

Family

ID=13255382

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60064339A Pending JPS61224535A (en) 1985-03-28 1985-03-28 Simulator of colliding state

Country Status (1)

Country Link
JP (1) JPS61224535A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6432742A (en) * 1987-07-29 1989-02-02 Ando Electric D-channel contention control test method
JPS6447147A (en) * 1987-08-17 1989-02-21 Ando Electric D-channel contention control test method
JPH0214641A (en) * 1988-03-18 1990-01-18 Bull Sa Testing equipment of local circuit network using access method accompanying carrier test and collision detection (csms/cd)
CN106789218A (en) * 2016-12-13 2017-05-31 中国电子科技集团公司第二十研究所 A kind of link conflict real-time emulation method based on event

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6432742A (en) * 1987-07-29 1989-02-02 Ando Electric D-channel contention control test method
JPS6447147A (en) * 1987-08-17 1989-02-21 Ando Electric D-channel contention control test method
JPH0214641A (en) * 1988-03-18 1990-01-18 Bull Sa Testing equipment of local circuit network using access method accompanying carrier test and collision detection (csms/cd)
JPH0671269B2 (en) * 1988-03-18 1994-09-07 ブル・エス・アー Testing device for intra-regional network using carrier test and access method with collision detection (CSMA / CD)
CN106789218A (en) * 2016-12-13 2017-05-31 中国电子科技集团公司第二十研究所 A kind of link conflict real-time emulation method based on event
CN106789218B (en) * 2016-12-13 2019-12-31 中国电子科技集团公司第二十研究所 Event-based link conflict real-time simulation method

Similar Documents

Publication Publication Date Title
EP0691546B1 (en) Time-domain reflectometer for testing coaxial cables
KR940006362A (en) Dual communication control
JPS61224535A (en) Simulator of colliding state
EP0606413A1 (en) Method and means for automatically detecting and correcting a polarity error in twisted-pair media
JP2003333119A (en) Method of indicating occurrence of event in accordance with prescribed protocol
KR960027712A (en) Digital data receivers and circuits and methods for distinguishing transmitted signals with various physical protocols and frequencies
JPS63108828A (en) Monitoring method for digital line
CN111651311B (en) Configurable physical layer error code generating device, chip and equipment
JPH0777384B2 (en) Line simulator
JPH034623A (en) Serial data transmission system
KR19990042148A (en) Ethernet interface device with frame transmission control function
JP3003576B2 (en) Testing equipment
JPS60109949A (en) Tool for local area network data communication system and data communication system having same tool
JPS624030B2 (en)
RU2029364C1 (en) Unit for modelling data transmission systems
JP2739815B2 (en) Network expansion unit
CN111147317A (en) Data generation device, data exchanger and data generation method
JPH0595387A (en) Line monitoring circuit
JPS60144040A (en) Error counter
JPS61240735A (en) Line control diagnostic system
JPS6239582B2 (en)
JPH07212414A (en) Signal transmitter
JPS6211317A (en) Generating device for pseudo random error pattern signal
JPH02250449A (en) Multiplex transmitter
KR970004510A (en) Mounted bit error rate measuring circuit and its control method