Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0716197B2 - Packet bus external loopback test method and packet transfer device - Google Patents
[go: Go Back, main page]

JPH0716197B2 - Packet bus external loopback test method and packet transfer device - Google Patents

Packet bus external loopback test method and packet transfer device

Info

Publication number
JPH0716197B2
JPH0716197B2 JP1276805A JP27680589A JPH0716197B2 JP H0716197 B2 JPH0716197 B2 JP H0716197B2 JP 1276805 A JP1276805 A JP 1276805A JP 27680589 A JP27680589 A JP 27680589A JP H0716197 B2 JPH0716197 B2 JP H0716197B2
Authority
JP
Japan
Prior art keywords
transmission
packet transfer
packet
transfer device
request
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
JP1276805A
Other languages
Japanese (ja)
Other versions
JPH03136535A (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
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 JP1276805A priority Critical patent/JPH0716197B2/en
Publication of JPH03136535A publication Critical patent/JPH03136535A/en
Publication of JPH0716197B2 publication Critical patent/JPH0716197B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はバス型パケット交換装置におけるパケットバス
の外部折返し試験方式およびパケット転送装置に関す
る。
The present invention relates to a packet bus external loopback test method and a packet transfer device in a bus type packet switching device.

〔従来の技術〕[Conventional technology]

従来この種のパケットバス外部折返し試験方式は、外部
折返し要求元パケット転送装置がバスアービタに対して
バス捕捉要求を行いバスへの送信権を獲得した後、折返
しデータの返送指示を外部折返し要求先パケット転送装
置に行い、バス使用権を放棄(バス解放)する。これに
対し外部折返し指示パケットを受信した要求先パケット
転送装置は外部折返し要求に対して折返しデータをソフ
トウェア処理またはハードフェア処理により設定し、バ
スアービタに対して送信要求を行いバス送信権を獲得で
きた後、受信折返しデータを要求元パケット転送装置へ
送信する方式となっていた。
In the conventional packet bus external loopback test method of this type, the external loopback request source packet transfer device issues a bus capture request to the bus arbiter to acquire the transmission right to the bus, and then transmits a loopback data return instruction to the external loopback request destination packet. Transfer to the transfer device and abandon the right to use the bus (release the bus). On the other hand, the request destination packet transfer device that received the external loopback instruction packet set the loopback data in response to the external loopback request by software processing or hardware processing, and made a transmission request to the bus arbiter to acquire the bus transmission right. After that, the method has been adopted in which the reception return data is transmitted to the request source packet transfer device.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上述した従来のパケットバスの外部折返し試験方式は、
外部折返し要求パケットと外部折返し指示に対する応答
として外部折返し応答パケット(要求元へ送信するステ
ータス情報パケット)を送信する場合、各パケット転送
装置がパケットデータを転送する際に必ずバスアービタ
に対してバス捕捉要求を行い、送信権を獲得してからパ
ケットを送信する方式となっているので、バスのトラヒ
ック状態により外部折返し指示要求から外部折返し応答
受信までに要する時間が一定しない。この為にバスに接
続されている各装置の試験およびパケットバスの試験を
行う上で実時間性が失われるという欠点がある。
The conventional packet bus external loopback test method described above is
When sending an external loopback request packet and an external loopback response packet (status information packet to be sent to the request source) as a response to the external loopback request packet, the bus arbiter must capture a bus when each packet transfer device transfers packet data. However, the time required from the external loopback instruction request to the reception of the external loopback response is not constant due to the traffic state of the bus. For this reason, there is a drawback that the real-time property is lost when testing each device connected to the bus and testing the packet bus.

〔課題を解決するための手段〕[Means for Solving the Problems]

第1の発明のパケットバスの外部折返し試験方式は、m
ビット幅のバス型伝送路と、複数個の送信要求に対して
送信権の調停を行うバスアービタと、このバスアービタ
へ伝送要求を行いバスアービタからの送信許可により少
なくとも2個の1対n(n≧1)装置間のパケット転送
を行うパケット転送装置とにより構成されるパケット交
換装置において、他パケット転送装置へ試験データを送
信し、送信先パケット転送装置は受信した前記試験デー
タ(折返しデータ)を送信元パケット転送装置へ返送
し、送信パケット転送装置で送信試験データと受信試験
データとを比較することによりパケットバスの正常性と
パケット転送装置相互の正常性を確認するパケットバス
の外部折返し試験方式であって、前記他パケット転送装
置に対して送信した前記試験データの折返し返送を要求
する外部折返し要求手段と、前記送信元パケット転送装
置が折返しデータを送信するための前記バスアービタに
対する送信要求を前記送信先パケット転送装置から送信
された折返しデータを受信するまで保持する送信要求保
持手段と、受信した折返し指示パケットから送信元アド
レスと折返しデータを取り出して前記送信元パケット転
送装置へ前記バスアービタに対して送信要求を行わずに
折返しデータを送信する外部折返し応答手段と、前記受
信折返しデータを蓄積してリードするリード手段とを備
え、外部折返し要求元パケット転送装置は前記バスアー
ビタからの送信権を獲得した状態で要求先装置から折返
しデータを受信することを特徴とし、第2の発明のパケ
ット転送装置は、mビット幅のバス型伝送路と、複数個
の送信要求に対して送信権の調停を行うバスアービタ
と、このバスアービタへ送信要求を行いバスアービタか
らの送信許可により少なくとも2個の1対n(n≧1)
装置間のパケット転送を行うパケット転送装置とにより
構成されるパケット交換装置において、外部折返し指示
要求パケット転送装置が前記バスアービタに対してバス
捕捉要求を行い送信権を獲得したとき外部折返し指示要
求パケットを転送するパケット転送部と、相手装置から
外部折返し応答パケットを受信するまで前記送信権を解
放しない送信権保持部と、前記外部折返し指示要求パケ
ットから送信元アドレスおよび折返しデータを取り出す
抽出部と、前記バスアービタからの送信権を獲得せずに
受信折返しデータを折返し指示送信元パケット転送装置
へ送信する送信部と、受信した折返し応答データを蓄積
してリードする蓄積部とを備えることを特徴とする。
The external loopback test method of the packet bus of the first invention is m
A bus type transmission line with a bit width, a bus arbiter that arbitrates the transmission right for a plurality of transmission requests, and a transmission request to this bus arbiter, and at least two 1-to-n (n ≧ 1) by transmission permission from the bus arbiter. ) In a packet switching device configured with a packet transfer device that transfers packets between devices, the test data is transmitted to another packet transfer device, and the destination packet transfer device transmits the received test data (return data) to the source. It is a packet bus external loopback test method that confirms the normality of the packet bus and the mutual normality of the packet transfer devices by returning to the packet transfer device and comparing the transmission test data and the reception test data at the transmission packet transfer device. An external loopback request for requesting loopback of the test data transmitted to the other packet transfer device. A transmission request holding unit that holds a transmission request for the bus arbiter for the source packet transfer device to transmit return data until the return data transmitted from the destination packet transfer device is received; External return response means for extracting the source address and the return data from the instruction packet and transmitting the return data to the source packet transfer device without making a transmission request to the bus arbiter, and storing and reading the received return data The external loopback request source packet transfer device receives the loopback data from the request destination device in a state in which the transmission right from the bus arbiter is acquired, and the packet transfer device of the second invention is Bus-type transmission line with m-bit width and arbitration of transmission right for multiple transmission requests The bus arbiter and, at least two one-to-n by transmitting permission from the bus arbiter performs transmission request to the bus arbiter (n ≧ 1)
In a packet switching device configured with a packet transfer device for performing packet transfer between devices, when an external loopback instruction request packet transfer device issues a bus acquisition request to the bus arbiter and acquires a transmission right, an external loopback instruction request packet is sent. A packet transfer unit for transferring, a transmission right holding unit that does not release the transmission right until an external loopback response packet is received from a partner device, an extraction unit that extracts a source address and loopback data from the external loopback instruction request packet, and The present invention is characterized by including a transmission unit that transmits reception return data to the return instruction transmission source packet transfer device without acquiring a transmission right from the bus arbiter, and a storage unit that stores and reads the received return response data.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のブロック図で、パケット転
送装置1とパケット転送装置2は各パケット転送装置か
らの送信要求に対して調停を行い送信権を与えるバスア
ービタ3にアービタバス4で接続され、送信権を得たパ
ケット転送装置はパケットバス5を介して送信先パケッ
ト転送装置へデータ転送を行うことができる。
FIG. 1 is a block diagram of an embodiment of the present invention. A packet transfer device 1 and a packet transfer device 2 are connected by a arbiter bus 4 to a bus arbiter 3 which arbitrates a transmission request from each packet transfer device and gives a transmission right. Then, the packet transfer device that has acquired the transmission right can transfer data to the destination packet transfer device via the packet bus 5.

第2図は第1図におけるパケット転送装置の一例を示す
ブロック図である。
FIG. 2 is a block diagram showing an example of the packet transfer device in FIG.

各パケット転送装置10は、例えば、外部折返し指示要求
パケット転送装置1がバスアービタ3に対してバス捕捉
要求を行い送信権を獲得したとき外部折返し指示要求パ
ケットを転送するパケット転送部101と、相手パケット
転送装置2から外部折返し応答パケットを受信るまで送
信権を解放しない送信権保持部102と、外部折返し指示
要求パケットから送信元アドレスおよび折返しデータを
取り出す抽出部103と、バスアービタ3からの送信権を
獲得せずに受信折返しデータを折返し指示送信元のパケ
ット転送装置1へ送信する送信部104と、受信した折返
し応答データを蓄積してリードする蓄積部105と、デー
タの送受信動作を監視するタイマ106とを備えている。
Each packet transfer device 10 includes, for example, a packet transfer unit 101 that transfers an external return instruction request packet when the external return instruction request packet transfer device 1 makes a bus acquisition request to the bus arbiter 3 and acquires a transmission right, and a partner packet. The transmission right holding unit 102 that does not release the transmission right until the external return response packet is received from the transfer device 2, the extraction unit 103 that extracts the source address and the return data from the external return instruction request packet, and the transmission right from the bus arbiter 3 A transmission unit 104 that transmits the reception loopback data to the packet transfer device 1 that is the loopback instruction transmission source without acquiring it, a storage unit 105 that stores and reads the received loopback response data, and a timer 106 that monitors the data transmission / reception operation. It has and.

第3図は第1図に示した実施例におけるパケット転送装
置間のパケットバス外部折返し試験シーケンスを示す図
である。
FIG. 3 is a diagram showing a packet bus external loopback test sequence between the packet transfer devices in the embodiment shown in FIG.

続いて本実施例の動作について第1図〜第3図を参照し
て説明する。
Next, the operation of this embodiment will be described with reference to FIGS.

パケット転送装置1はアービタバス4を介してバスアー
ビタ3に対して送信要求を行い、この結果送信権が与え
られると、パケット転送部101から外部折返し指示要求
パケットをパケットバス5を介してパケット転送装置2
へ送信し、パケット転送装置2からの外部折返し応答パ
ケットを受信するまでの間送信権保持部102により送信
権を解放しない。外部折返し要求パケットを受信する
と、パケット転送装置2では抽出部103により外部折返
し指示要求パケットから送信元アドレスと折返しデータ
とを抽出して外部折返し応答パケットを組み立て、バス
アービタ3へ送信要求を行なわずに、送信部104から外
部折返しデータを折返し要求元のパケット転送装置1へ
パケットバス5を介して返送する。要求元のパケット転
送装置1は外部折返しデータ(外部折返し応答)を受信
して蓄積部105に蓄積した後、バスアービタ3への送信
要求を中止してパケットバス5を解放する。また、パケ
ット転送装置1では受信した折返しデータを蓄積部105
からリードできるので、送信折返しデータとソフトフェ
ア処理により比較してパケットバス5の正常性とパケッ
ト転送装置間の転送動作の正常性を確認することができ
る。なお、タイマ106はデータの送受信動作を監視して
おり外部折返し転送制御中の障害による動作のスタック
を回避することができる。
The packet transfer device 1 makes a transmission request to the bus arbiter 3 via the arbiter bus 4, and when the transmission right is given as a result, an external loopback instruction request packet is sent from the packet transfer unit 101 to the packet transfer device 2 via the packet bus 5.
The transmission right holding unit 102 does not release the transmission right until the external reply response packet is received from the packet transfer device 2. When the external loopback request packet is received, the extraction unit 103 of the packet transfer device 2 extracts the source address and the loopback data from the external loopback instruction request packet, assembles the external loopback response packet, and does not make a transmission request to the bus arbiter 3. The external loopback data is returned from the transmission unit 104 to the packet transfer device 1 which is the loopback request source via the packet bus 5. The requesting packet transfer device 1 receives the external loopback data (external loopback response) and stores it in the storage unit 105, then cancels the transmission request to the bus arbiter 3 and releases the packet bus 5. Further, the packet transfer device 1 stores the received return data in the storage unit 105.
Since it can be read from, it is possible to confirm the normality of the packet bus 5 and the normality of the transfer operation between the packet transfer devices by comparing the transmission return data with the software processing. The timer 106 monitors the data transmission / reception operation and can avoid the stack of operations due to a failure during external loopback transfer control.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、外部折返し転送制御時に
外部折返し要求パケットおよび外部折返し応答パケット
を送信するとき、外部折返し要求元がバスを捕捉してい
る状況で外部折返し応答を転送するため、パケット転送
毎に送信権を獲得しないので外部折返し指示に対する応
答受信がパケットバスのトラヒックに依存せずに行え
る。従ってパケットバスの正常性およびパケット転送装
置間の転送制御の正常性を確認するのに要する時間をほ
ぼ一定とするとともに短縮することができるという効果
がある。また、パケット転送毎にバス捕捉を行う場合、
外部折返し応答が必ずしも要求順に受信するとは限らな
いのでソフトウェア処理により受信外部折返しの送信元
アドレスを認識しなければならないが、本発明によれば
外部折返し要求時に外部折返し応答パケットを受信でき
るのでこの処理が不要となり、ソフトウェア処理の負荷
を軽減することができる効果がある。
As described above, according to the present invention, when the external loopback request packet and the external loopback response packet are transmitted during the external loopback transfer control, the external loopback response is transferred while the external loopback request source is capturing the bus. Since the transmission right is not acquired for each transfer, the response to the external loopback instruction can be received without depending on the traffic of the packet bus. Therefore, it is possible to make the time required to confirm the normality of the packet bus and the normality of the transfer control between the packet transfer devices almost constant and to shorten the time. In addition, when capturing the bus for each packet transfer,
Since the external return response is not always received in the order of request, the source address of the received external return response must be recognized by software processing. However, according to the present invention, the external return response packet can be received at the time of the external return request. Is unnecessary, and there is an effect that the load of software processing can be reduced.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図におけるパケット転送装置の一例を示すブロック図、
第3図は第1図に示した実施例におけるパケット転送装
置間のパケットバスの外部折返し試験シーケンスを示す
図である。 1,2……パケット転送装置、3……バスアービタ、4…
…アービタバス、5……パケットバス、101……パケッ
ト転送部、102……送信権保持部、103……抽出部、104
……送信部、105……蓄積部、106……タイマ。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG.
A block diagram showing an example of a packet transfer device in the figure,
FIG. 3 is a diagram showing an external loopback test sequence of the packet bus between the packet transfer devices in the embodiment shown in FIG. 1,2 ...... Packet transfer device, 3 ...... Bus arbiter, 4 ...
... arbiter bus, 5 ... packet bus, 101 ... packet transfer unit, 102 ... transmission right holding unit, 103 ... extraction unit, 104
...... Sending unit, 105 …… Storage unit, 106 …… Timer.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】mビット幅のバス型伝送路と、複数個の送
信要求に対して送信権の調停を行うバスアービタと、こ
のバスアービタへ伝送要求を行いバスアービタからの送
信許可により少なくとも2個の1対n(n≧1)装置間
のパケット転送を行うパケット転送装置とにより構成さ
れるパケット交換装置において、他パケット転送装置へ
試験データを送信し、送信先パケット転送装置は受信し
た前記試験データ(折返しデータ)を送信元パケット転
送装置へ返送し、送信パケット転送装置で送信試験デー
タと受信試験データとを比較することによりパケットバ
スの正常性とパケット転送装置相互の正常性を確認する
パケットバスの外部折返し試験方式であって、前記他パ
ケット転送装置に対して送信した前記試験データの折返
し返送を要求する外部折返し要求手段と、前記送信元パ
ケット転送装置が折返しデータを送信するための前記バ
スアービタに対する送信要求を前記送信先パケット転送
装置から送信された折返しデータを受信するまで保持す
る送信要求保持手段と、受信した折返し指示パケットか
ら送信元アドレスと折返しデータを取り出して前記送信
元パケット転送装置へ前記バスアービタに対して送信要
求を行わずに折返しデータを送信する外部折返し応答手
段と、前記受信折返しデータを蓄積してリードするリー
ド手段とを備え、外部折返し要求元パケット転送装置は
前記バスアービタからの送信権を獲得した状態で要求先
装置から折返しデータを受信することを特徴とするパケ
ットバスの外部折返し試験方式。
1. A bus type transmission line having an m-bit width, a bus arbiter that arbitrates transmission rights for a plurality of transmission requests, and a transmission request to the bus arbiter, and at least two 1s are permitted by the transmission permission from the bus arbiter. In a packet switching device configured with a packet transfer device that performs packet transfer between a pair of devices (n ≧ 1), test data is transmitted to another packet transfer device, and the destination packet transfer device receives the test data ( (Return data) to the transmission source packet transfer device, and the transmission packet transfer device compares the transmission test data and the reception test data to confirm the normality of the packet bus and the mutual normality of the packet transfer devices. An external loopback test method, which requests the loopback of the test data transmitted to the other packet transfer device. Copy back requesting means, and a transmission request holding means for holding a transmission request for the bus arbiter for the source packet transfer device to transmit return data until receiving the return data transmitted from the destination packet transfer device, External return response means for extracting the source address and return data from the received return instruction packet and transmitting the return data to the source packet transfer device without making a transmission request to the bus arbiter, and accumulating the received return data And an external loopback request source packet transfer apparatus which receives loopback data from the request destination apparatus in a state in which the transmission right from the bus arbiter has been acquired. .
【請求項2】mビット幅のバス型伝送路と、複数個の送
信要求に対して送信権の調停を行うバスアービタと、こ
のバスアービタへ送信要求を行いバスアービタからの送
信許可により少なくとも2個の1対n(n≧1)装置間
のパケット転送を行うパケット転送装置とにより構成さ
れるパケット交換装置において、外部折返し指示要求パ
ケット転送装置が前記バスアービタに対してバス捕捉要
求を行い送信権を獲得したとき外部折返し指示要求パケ
ットを転送するパケット転送部と、相手装置から外部折
返し応答パケットを受信するまで前記送信権を解放しな
い送信権保持部と、前記外部折返し指示要求パケットか
ら送信元アドレスおよび折返しデータを取り出す抽出部
と、前記バスアービタからの送信権を獲得せずに受信折
返しデータを折返し指示送信元パケット転送装置へ送信
する送信部と、受信した折返し応答データを蓄積してリ
ードする蓄積部とを備えることを特徴とするパケット転
送装置。
2. A bus type transmission line having an m-bit width, a bus arbiter that arbitrates the transmission right for a plurality of transmission requests, and a transmission request from the bus arbiter, and at least two 1s are permitted by the transmission permission from the bus arbiter. In a packet switching device configured with a packet transfer device for performing packet transfer between a pair of devices (n ≧ 1), an external loopback instruction request packet transfer device makes a bus acquisition request to the bus arbiter and acquires a transmission right. When the external loopback instruction request packet is transferred, the packet transfer section, the transmission right holding section that does not release the transmission right until the external loopback response packet is received from the partner device, the source address and the loopback data from the external loopback instruction request packet. Extractor to retrieve the data and loop back the received loopback data without acquiring the transmission right from the bus arbiter Instruction transmitting a transmission unit for transmitting to the source packet transfer apparatus, accumulates folded response data received packet transfer apparatus, characterized in that it comprises a storage unit for read.
JP1276805A 1989-10-23 1989-10-23 Packet bus external loopback test method and packet transfer device Expired - Lifetime JPH0716197B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1276805A JPH0716197B2 (en) 1989-10-23 1989-10-23 Packet bus external loopback test method and packet transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1276805A JPH0716197B2 (en) 1989-10-23 1989-10-23 Packet bus external loopback test method and packet transfer device

Publications (2)

Publication Number Publication Date
JPH03136535A JPH03136535A (en) 1991-06-11
JPH0716197B2 true JPH0716197B2 (en) 1995-02-22

Family

ID=17574630

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1276805A Expired - Lifetime JPH0716197B2 (en) 1989-10-23 1989-10-23 Packet bus external loopback test method and packet transfer device

Country Status (1)

Country Link
JP (1) JPH0716197B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3560423B2 (en) * 1996-09-17 2004-09-02 松下電器産業株式会社 Packet transmitting / receiving device and packet receiving device

Also Published As

Publication number Publication date
JPH03136535A (en) 1991-06-11

Similar Documents

Publication Publication Date Title
US5574865A (en) System for data transfer protection during module connection/disconnection onto live bus
JPS62189550A (en) Processor access controller for multiprocessor system
US5442631A (en) Communication control device
JPH0716197B2 (en) Packet bus external loopback test method and packet transfer device
JPH05336141A (en) Loop network
JP2867553B2 (en) Packet transfer device
JPH054040Y2 (en)
JP2693799B2 (en) Data transmission method
JPH01129548A (en) Communication controller
JPS63155249A (en) Inter-equipment communication system
JPH0728299B2 (en) Status transfer control method and packet transfer device
JPS62221238A (en) Packet transfer processor
JPS62204358A (en) Data communication processing system
JP2000293454A (en) Data communication device, data communication method, and recording medium
JPS589619B2 (en) data communication system
JPH02260943A (en) Token passing device
JPS6380359A (en) Common resource managing method
JPH0677974A (en) Frame communication equipment
JPH06110795A (en) Monitoring timer system
JPH10326240A (en) Network file transfer processing method
JPS60227545A (en) Information transfer system
JPS6173455A (en) backup system
JPS6143047A (en) Busy supervisory system of data transmission
JPH01114235A (en) Data transmission equipment
JPH01136263A (en) System for managing communication control buffer