JPS6120448A - Testing method of data transmitting device - Google Patents

Testing method of data transmitting device

Info

Publication number
JPS6120448A
JPS6120448A JP59140207A JP14020784A JPS6120448A JP S6120448 A JPS6120448 A JP S6120448A JP 59140207 A JP59140207 A JP 59140207A JP 14020784 A JP14020784 A JP 14020784A JP S6120448 A JPS6120448 A JP S6120448A
Authority
JP
Japan
Prior art keywords
data
test
station
data station
transmission path
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
JP59140207A
Other languages
Japanese (ja)
Inventor
Kiyoshi Shimura
清 志村
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
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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP59140207A priority Critical patent/JPS6120448A/en
Publication of JPS6120448A publication Critical patent/JPS6120448A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To detect in an early state a fault on a transmission line, which cannot be detected in a usual use state, and to execute a sound operation of a data communication device by making a test data sent out by plural sub-data stations collide intentionally on the transmission line, and thereby, confirming that the device is in a state that the collision can be detected exactly. CONSTITUTION:A data station 4 informs a start of a test to a data station 1 and a data station 5, and confirms its reception. After the confirmation, the data station 4 sends out a test commanding packet to a transmission line 10. The data station 1 and the data station 5 receive the test commanding packet S0 as test packets S1, S2, respectively. Thereafter, response packets R10, R20 are sent out to the transmission line 10 immediately without executing the processing in order to avoid the collision in accordance with a rule determined in advance. If one response packet is received normally, it is decided that there is an abnormal state.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ伝送装置の試験方法に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a method for testing a data transmission device.

特に、一つの伝送路を介して多数のデータステーション
がデータの送受信を行うデータ伝送装置において、伝送
路の故障を検出するための方法に関する。
In particular, the present invention relates to a method for detecting a failure in a transmission path in a data transmission device in which a large number of data stations transmit and receive data via one transmission path.

〔従来の技術〕[Conventional technology]

多数のデータステーションが一つのデータ伝送路に接続
され、この一つの伝送路を介してデータの送受信を行う
データ伝送装置では、多数のデータステーションが別々
にデータ通信を行っている。
In a data transmission apparatus in which a large number of data stations are connected to one data transmission path and transmit and receive data via this one transmission path, the large number of data stations perform data communication separately.

このため、これらのデータが伝送路上で衝突して消失す
ることは避けられない。このような消失をざけるために
、csp+Δ/CD等のデータ伝送方式が考案され、デ
ータの衝突の回避や、衝突が発生してもランダム時間後
の再送によりデータの消失をなくす方法が多数考えられ
てきた。しかし、衝突が発生する可能性は排除できない
。したがって従来は、衝突の発生を前提としてデータ伝
送の方式が定められている。
Therefore, it is inevitable that these data will collide and be lost on the transmission path. In order to avoid such loss, data transmission methods such as csp+Δ/CD have been devised, and many methods have been devised to avoid data collisions, and even if a collision occurs, eliminate data loss by retransmitting after a random time. I've been exposed to it. However, the possibility of a collision occurring cannot be ruled out. Therefore, conventionally, data transmission methods have been determined on the assumption that a collision will occur.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このような従来のデータ伝送方式では、伝送路が予め定
められた規格で使用されることを前提としている。この
ため、伝送路上での信号の漏洩や、データステーション
の伝送路に対する駆動回路の特性の劣化や、規格外の伝
送路の設置等により、この伝送路を伝達するデータ信号
が規格からはずれた場合に問題が生じる。
Such conventional data transmission methods are based on the premise that the transmission path is used in accordance with a predetermined standard. Therefore, if the data signal transmitted through this transmission path deviates from the standard due to signal leakage on the transmission path, deterioration of the characteristics of the drive circuit for the data station transmission path, or installation of a non-standard transmission path, etc. A problem arises.

このような場合には、伝送路上でデータの衝突が発生し
ても、データステーションが衝突の発生を認識できない
ことがある。このため、伝送手順に狂いが生し、正常な
データ通信ができない場合や、データの伝送に異常に時
間を要する場合が生じる。しかし、このような場合でも
、衝突が発生しないかぎり正常にデータ通信が行われ、
伝送路に発生した故障等が長い量検出できない欠点があ
うた。
In such a case, even if a data collision occurs on the transmission path, the data station may not be able to recognize the occurrence of the collision. As a result, the transmission procedure may be disrupted, resulting in cases in which normal data communication cannot be performed or in which data transmission takes an abnormally long time. However, even in such a case, data communication will continue normally unless a collision occurs.
The drawback was that failures that occurred in the transmission line could not be detected for a long time.

本発明は、このような通常の使用状態では検出できない
伝送路上の故障を早期に発見し、データ通信装置の健全
な運用を可能とする方法を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a method that enables early detection of such failures on a transmission path that cannot be detected under normal usage conditions, thereby enabling healthy operation of a data communication device.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のデータ伝送装置の試験方法は、一つの伝送路に
3以上のデータステーションが接続され、この伝送路を
介して各データステーションが相互に通信を行うデータ
伝送装置の試験方法において、このデータステーション
のうちの一つを主ステーションに設定し、この主ステー
ション以外の二つのデータステーションを従ステーショ
ンに設定し、この主ステーションから上記二つの従ステ
ーションに試験指示データを送出し、上記二つの従ステ
ーションではこの試験指示データに応答して同時に試験
データを上記伝送路に送出させ、上記主ステーションは
上記二つの従ステーションからの試験データが上記伝送
路上で衝突していることを検出することを特徴とする。
The data transmission device testing method of the present invention is a data transmission device testing method in which three or more data stations are connected to one transmission path, and the data stations communicate with each other via this transmission path. Set one of the stations as the master station, set the two data stations other than this master station as slave stations, send test instruction data from this master station to the two slave stations, and send the test instruction data to the two slave stations. The station simultaneously transmits test data to the transmission path in response to the test instruction data, and the main station detects that the test data from the two slave stations collide on the transmission path. shall be.

〔作用〕[Effect]

本発明のデータ伝送装置の試験方法は、複数の従データ
ステーションの送出した試験データを故意に伝送路上で
衝突させ、これにより、衝突が正しく検出できる状態に
あることを確認して、従来の試験方法では発見できなか
った伝送路上の故障を早期に発見する。
The data transmission device testing method of the present invention intentionally collides the test data sent by a plurality of slave data stations on the transmission path, thereby confirming that the collision can be detected correctly, and then performing the conventional test. To detect failures on a transmission path at an early stage that could not be detected using other methods.

〔実施例〕〔Example〕

第1図は本発明実施例のデータ通信装置のブロック構成
図である。
FIG. 1 is a block diagram of a data communication device according to an embodiment of the present invention.

データステーション1.2.3.4.5は、伝送路10
に接続され、相互にデータ通信を行う。本実施例のデー
タ通信装置では、伝送路10上の通信データは、例えば
CCITT勧告X25に規定されるようなパケットに、
パケットの種類、送信先および送信元のデータステーシ
ョン番地等の情報を付加して送受信される。
Data station 1.2.3.4.5 has transmission line 10
are connected to perform data communication with each other. In the data communication device of this embodiment, communication data on the transmission path 10 is stored in packets as defined in CCITT Recommendation X25, for example.
The packet is sent and received with information such as the type of packet, destination and source data station address added.

ここで、データステーション4を主データステーション
とし、データステーション1およびデータステーション
5を従データステーションとする。
Here, data station 4 is assumed to be a main data station, and data station 1 and data station 5 are assumed to be sub data stations.

この場合には、データステーション4が伝送路10の試
験を行う。
In this case, the data station 4 tests the transmission line 10.

まず、データステージジン4は、従来と同様の方法によ
りデータステーション1に試験開始通知のパケットを送
出する。データステーション1は、この試験開始通知の
パケットを受信すると、この情報を制御部に記憶し、さ
らに、試験開始通知を受信したことを知らせるための応
答パケットをデータステーション4に返送する。
First, the data stage engine 4 sends a test start notification packet to the data station 1 using a method similar to the conventional method. When the data station 1 receives this test start notification packet, it stores this information in its control unit, and further sends back a response packet to the data station 4 to notify that it has received the test start notification.

データステージ4Iン4は、データステーション1に対
すると同様の方法により、データステーション5に試験
開始通知のパケットを送信し、データステーション5か
らの応答パケットを受信する。
The data stage 4in4 transmits a test start notification packet to the data station 5 and receives a response packet from the data station 5 in the same manner as for the data station 1.

この試験開始通知の段階で、例えば通知先のデータステ
ーションからの応答が得られない等の誤りが検出される
と、データステーション4は、本試験を中止してその状
態を記録し、誤りの解析を行′う。
If an error is detected during this test start notification stage, such as not receiving a response from the data station to which the notification is being made, the data station 4 will stop the main test, record the status, and analyze the error. I do.

このようにして、データステーション4は、デ−タステ
ーション1およびデータステーション5に#に験開始を
通知し、その受領を確認する。f11!認した後に、デ
ータステーション4は、試験指示パケットを伝送路IO
に送出する。この試験指示パケットは、送信先番地に予
め定められた番地が設定されており、試験開始通知を受
信したデータステーションに送られる。
In this way, data station 4 notifies data station 1 and data station 5 of the start of the trial at #, and confirms the receipt thereof. f11! After recognizing the test instruction packet, the data station 4 transmits the test instruction packet to the transmission path IO.
Send to. This test instruction packet has a predetermined destination address set, and is sent to the data station that has received the test start notification.

第2図は試験指示パケットとこれに対する応答パケット
の流れを示す図である。
FIG. 2 is a diagram showing the flow of a test instruction packet and a response packet thereto.

データステーション4が試験指示パケットSOを伝送路
10に送出すると、データステーション1とデータステ
ーション5とは、試験指示パケットSOをそれぞれ試験
パケットS1、S2として受信する。
When data station 4 sends test instruction packet SO to transmission line 10, data station 1 and data station 5 receive test instruction packet SO as test packets S1 and S2, respectively.

この後に、予め定められた規則に従って衝突の回避のた
め処理を行わず直ちに、応答パケットR10、R20を
伝送路10に送出するにれらの応答パケソHIO、R2
0のデータ長は、データステーションおよび伝送路】0
の信号伝送特性を考慮して定められている。したがって
、応答パケソ)RIO、R20が、データステーション
4で応答パケットR11、R21として受信されるとき
には、重複して、すなわち衝突した形で受信され、応答
パケットR1o、R20ともに正常に受信されることは
ない。
After this, the response packets R10 and R2 are immediately sent to the transmission path 10 without performing any processing to avoid collision according to predetermined rules.
The data length of 0 is the data station and transmission line] 0
It is determined by considering the signal transmission characteristics of Therefore, when the response packets RIO and R20 are received as response packets R11 and R21 at the data station 4, they are received in duplicate, that is, in a collision, and it is not possible for both response packets R1o and R20 to be received normally. do not have.

しかし、データステーション5の駆動回路、すなわち伝
送路10ヘデータを送出するための回路が劣化している
場合や、データステーション4がらデータステーション
5までの伝送路、あるいはデータステーション5以遠の
伝送路に信号の漏洩等の障害があった場合には、データ
ステーション4に到来する応答パケット1121の信号
が、応答パケットR11に比較して減衰した信号となる
。このためデータステーション4は、応答パケットR1
1を正常に受信する。また、伝送路10が伝送路設置の
規則に反して設置され、データステーション4とデータ
ステーション5との距離が異常に長い場合には、上述と
同様の現象が発生し、データステーション4が応答バケ
ットR11を正常に受信する。
However, if the drive circuit of the data station 5, that is, the circuit for sending data to the transmission path 10, is deteriorated, or if the transmission path from the data station 4 to the data station 5 or the transmission path beyond the data station 5 is If there is a failure such as leakage, the signal of the response packet 1121 arriving at the data station 4 becomes a signal that is attenuated compared to the response packet R11. Therefore, the data station 4 sends the response packet R1
1 is received normally. Furthermore, if the transmission path 10 is installed contrary to the rules for installing the transmission path and the distance between the data stations 4 and 5 is abnormally long, a phenomenon similar to that described above will occur, and the data station 4 will not be able to respond to the response bucket. Receive R11 normally.

通常の使用状態ではパケットの衝突が発生しないように
交信している。このため、上述のような異常があっても
正常に動作してしまい、通常の試験では異常を検出する
ことができない。したがって、これらの故障が長期間発
見されず、さらには重大な故障につながる可能性があっ
た。これに対して、本発明の方法では、パケットの衝突
を故意に発生させ、故障を早期に検出することができる
Under normal usage conditions, communication is conducted in such a way that packet collisions do not occur. For this reason, even if there is an abnormality as described above, the device operates normally, and the abnormality cannot be detected by normal tests. Therefore, these failures may go undetected for a long period of time and may even lead to serious failures. In contrast, in the method of the present invention, packet collisions are intentionally caused and failures can be detected early.

本実施例では、データステーション1.4および5を用
いた例を示したが、他のデータステーションを用いるこ
ともできる。また、データステーション1.4および5
による試験の後に、データステーション1.3および4
を用いて試験を行い、これらの試験結果を比較して故障
の発生個所を限定することもできる。
Although this embodiment shows an example using data stations 1.4 and 5, other data stations can also be used. Also, data stations 1.4 and 5
After testing with data stations 1.3 and 4
It is also possible to carry out tests using the following methods and compare the test results to limit the location of the failure.

また、本実施例では、従データステーションを二つ指定
して試験を行っているが、王台以上の従データステ・−
ジョンを指定して試験することもできる。
In addition, in this example, the test was carried out by specifying two slave data stations, but the slave data stations of kings and above were tested.
You can also specify a specific version for testing.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によるデータ通信装置の試
験方法により、通常のデータ通信および二つのデータス
テーション間での通信試験では検出できないデータ伝送
路上の故障を発見できる効果がある。さらに、この試験
を定期的に行うことにより、故障が軽微なうちに発見す
ることが可能になり、重大な故障の発生を未然に防止で
きる効果がある・。
As described above, the data communication device testing method according to the present invention has the effect of discovering failures on the data transmission path that cannot be detected by normal data communication or communication tests between two data stations. Furthermore, by conducting this test regularly, it is possible to discover failures while they are minor, which has the effect of preventing serious failures from occurring.

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

第1図は本発明実施例データ通信装置のブロック構成図
。 第2図は試験指示パケットとこれに対する応答パケット
との流れを示す図。 1.2.3.4.5・・・データステーション、10・
・・伝送路。
FIG. 1 is a block diagram of a data communication device according to an embodiment of the present invention. FIG. 2 is a diagram showing the flow of a test instruction packet and a response packet thereto. 1.2.3.4.5...Data station, 10.
...Transmission line.

Claims (1)

【特許請求の範囲】[Claims] (1)一つの伝送路に3以上のデータステーションが接
続され、この伝送路を介して各データステーションが相
互に通信を行うデータ伝送装置の試験方法において、 このデータステーションのうちの一つを主ステーション
に設定し、この主ステーション以外の二つのデータステ
ーションを従ステーションに設定し、 この主ステーションから上記二つの従ステーションに試
験指示データを送出し、 上記二つの従ステーションではこの試験指示データに応
答して同時に試験データを上記伝送路に送出させ、 上記主ステーションは上記二つの従ステーションからの
試験データが上記伝送路上で衝突していることを検出す
る ことを特徴とするデータ伝送装置の試験方法。
(1) In a test method for a data transmission device in which three or more data stations are connected to one transmission path and each data station communicates with each other via this transmission path, one of the data stations is Set two data stations other than this main station as slave stations, send test instruction data from this main station to the above two slave stations, and the above two slave stations respond to this test instruction data. and transmitting test data to the transmission path at the same time, and the main station detects that test data from the two slave stations collide on the transmission path. .
JP59140207A 1984-07-06 1984-07-06 Testing method of data transmitting device Pending JPS6120448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59140207A JPS6120448A (en) 1984-07-06 1984-07-06 Testing method of data transmitting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59140207A JPS6120448A (en) 1984-07-06 1984-07-06 Testing method of data transmitting device

Publications (1)

Publication Number Publication Date
JPS6120448A true JPS6120448A (en) 1986-01-29

Family

ID=15263406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59140207A Pending JPS6120448A (en) 1984-07-06 1984-07-06 Testing method of data transmitting device

Country Status (1)

Country Link
JP (1) JPS6120448A (en)

Cited By (2)

* 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

Cited By (2)

* 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

Similar Documents

Publication Publication Date Title
EP0198020B1 (en) Data communication network
US20110131348A1 (en) Control system and cpu unit
JPS6120448A (en) Testing method of data transmitting device
US8111625B2 (en) Method for detecting a message interface fault in a communication device
CN110138446B (en) Detection method for redundancy degradation fault of dual-redundancy fiber channel network
JP2521996B2 (en) Communication system diagnostic method
JPH11168527A (en) Transmission line fault detection system
JP6725117B2 (en) Communication device, communication system, communication method, and program
JP2682427B2 (en) Failure detection method on loop transmission line
JP3156987B2 (en) Bus failure diagnosis method
KR100251702B1 (en) Fault detecting method of specific device in atm network
JPH10200561A (en) Bypass switch abnormality detection system
JPS59158144A (en) Data transmission system
JPH0369227A (en) Node fault decision system
JPH05102976A (en) Data communication system
JPS60198935A (en) Loop transmitter
JPH05176020A (en) Line test method
JPH04321342A (en) Fault detection method by token access method
JPS6190533A (en) System for detecting line fault
JPH0588998A (en) Bus diagnostic system
JPS58171149A (en) System for detecting fault in data way system
JPH01227544A (en) Repeater
JPH03265247A (en) Fault detection system
JPH09284317A (en) Communication control method
JPH0454747A (en) Data transfer system