JP2867553B2 - Packet transfer device - Google Patents
Packet transfer deviceInfo
- Publication number
- JP2867553B2 JP2867553B2 JP2045553A JP4555390A JP2867553B2 JP 2867553 B2 JP2867553 B2 JP 2867553B2 JP 2045553 A JP2045553 A JP 2045553A JP 4555390 A JP4555390 A JP 4555390A JP 2867553 B2 JP2867553 B2 JP 2867553B2
- Authority
- JP
- Japan
- Prior art keywords
- packet transfer
- transfer device
- packet
- return
- 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 - Lifetime
Links
- 230000005540 biological transmission Effects 0.000 claims description 31
- 238000013500 data storage Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 2
- 208000033748 Device issues Diseases 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は、パケット転送装置に関し、特にパケットバ
スの外部折返し試験の処理時間を短縮するようにしたパ
ケット転送装置に関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a packet transfer device, and more particularly, to a packet transfer device that shortens the processing time of an external loopback test of a packet bus.
[従来の技術] 従来のこの種のパケットバスの外部折返し試験は、ま
ず、外部折返し要求元パケット転送装置がバスアービタ
に対してバス捕捉要求を行ってバスへの送信権を獲得す
る。この後に、折返しデータの返送指示を外部折返し要
求先パケット転送装置に行い、バスを開放(バス使用権
の放棄)をする。[Prior Art] In a conventional external loopback test of a packet bus of this type, first, an external loopback requesting packet transfer device issues a bus capture request to a bus arbiter to acquire a transmission right to the bus. Thereafter, an instruction to return the return data is given to the external return request destination packet transfer device, and the bus is released (the right to use the bus is released).
外部折返し指示パケットを受信した外部折返し要求先
パケット転送装置は、外部折返し要求に対して折返しデ
ータをソフトアェウ処理またはハードウェア処理によっ
て設定し、バスアービタに対して送信要求を行いバス送
信権を獲得できた後に、折返しデータを外部折返し要求
元パケット転送装置へ送信する。Upon receiving the external return instruction packet, the external return request destination packet transfer device sets the return data to the external return request by software processing or hardware processing, makes a transmission request to the bus arbiter, and obtains the bus transmission right. Later, the return data is transmitted to the external return requesting packet transfer device.
外部折返し要求元パケット転送装置では、この折返し
データを受信して、ソフトウェア処理により送信折返し
データと比較する。The external return request source packet transfer device receives this return data and compares it with the transmitted return data by software processing.
従来のパケット転送装置では、このようにしてパケッ
トバスの外部折返し試験を行っていた。In the conventional packet transfer apparatus, the external loopback test of the packet bus was performed in this manner.
[発明が解決しようとする課題] しかしながら、従来のパケット転送装置のパケットバ
スの外部折返し試験では、外部折返し要求パケットと、
外部折返し指示に対する応答としての外部折返し応答パ
ケットとを送信するときに、各々のパケット転送装置が
パケットデータを転送する際に必ずバスアービタに対し
てバス捕捉要求を行うことで、送信権を獲得してからパ
ケットを送信するようにしているので、バスのトラヒッ
ク状態により外部折返し要求から外部折返し応答受信ま
でに要する時間が長くかつ一定しない。[Problems to be Solved by the Invention] However, in an external loopback test of a packet bus of a conventional packet transfer apparatus, an external loopback request packet and
When transmitting an external return response packet as a response to the external return instruction, each packet transfer device always issues a bus capture request to the bus arbiter when transferring packet data, thereby acquiring the transmission right. , The time required from the external return request to the reception of the external return response is long and not constant depending on the traffic state of the bus.
このために、バスに接続されているかくパケット転送
装置の試験およびパケットバスの試験を行う上で実時間
性が失われるという問題点がある。For this reason, there is a problem that real-time performance is lost in the test of the packet transfer device connected to the bus and the test of the packet bus.
また、受信折返しデータをリードしてデータを比較す
るので、ソフトウェア処理する場合には、外部折返し試
験の処理時間が長くなるという問題点がある。In addition, since the reception loopback data is read and the data is compared, when the software processing is performed, there is a problem that the processing time of the external loopback test becomes long.
[課題を解決するための手段] 本発明は、上記の問題点に鑑みてなされたもので、パ
ケットバスの外部折返し試験の処理時間を短縮すること
を目的とし、この目的を達成するために、他のパケット
転送装置に対して送信した試験データを返送させる折返
し指示手段と、送信先パケット転送装置から送信される
折返しデータを受信するまで、送信元パケット転送装置
が折返しデータを送信するためのバスアービタに対する
送信要求を保持する手段と、受信した折返し指示パケッ
トから送信元アドレスと折返しデータを抽出して、送信
元パケット転送装置へ折返しデータを送信する手段と、
受信した折返しデータと送信した折返しデータとを比較
する比較手段とを設けるように構成される。[Means for Solving the Problems] The present invention has been made in view of the above problems, and has as its object to reduce the processing time of an external loopback test of a packet bus. Return instruction means for returning the test data transmitted to another packet transfer apparatus; and a bus arbiter for transmitting the return data by the source packet transfer apparatus until receiving the return data transmitted from the destination packet transfer apparatus. Means for holding a transmission request for, a source address and return data extracted from the received return instruction packet, and means for transmitting return data to the source packet transfer device;
A comparison means for comparing the received return data with the transmitted return data is provided.
また、好ましくは、折返しデータを送信する手段は、
バスアービタに対して送信要求を行わずに、送信元パケ
ット転送装置へ折返しデータを送信するように構成され
る。Preferably, the means for transmitting the return data includes:
The return data is transmitted to the source packet transfer device without making a transmission request to the bus arbiter.
更に、好ましくは、比較手段の比較結果を格納する格
納手段を設けるように構成される。Further, it is preferable that storage means for storing the comparison result of the comparison means is provided.
[作用] 上記構成のパケット転送装置においては、外部折返し
要求元の送信要求を保持する手段がバスを捕捉している
ので、外部折返し要求および外部折返し応答を転送する
のにパケット転送毎に送信権を獲得する必要がない。[Operation] In the packet transfer device having the above configuration, since the means for holding the transmission request of the external return request source captures the bus, the transmission right is transmitted every packet transfer to transfer the external return request and the external return response. There is no need to win.
従って、バスのトラヒックに依存せずに外部折返し指
示に対する応答受信が行え、バスの正常性およびパケッ
ト転送装置間の転送制御の正当性を確認するのに要する
時間は短縮され、かつほぼ一定となる。Therefore, a response to the external loopback instruction can be received without depending on the traffic on the bus, and the time required to confirm the normality of the bus and the validity of the transfer control between the packet transfer devices is reduced and becomes substantially constant. .
[実施例] 以下、本発明の実施例を図面に基づいて説明する。[Example] Hereinafter, an example of the present invention will be described with reference to the drawings.
第2図は、本発明によるパケット転送装置を用いてパ
ケットデータ転送を行う場合の構成を示すブロック図で
ある。第2図においては、説明を明確にするために、パ
ケット転送装置11とパケット転送装置12間でデータ転送
を行う最小規模の構成で説明する。FIG. 2 is a block diagram showing a configuration for performing packet data transfer using the packet transfer device according to the present invention. In FIG. 2, for clarity of explanation, a description will be given of a minimum-scale configuration for performing data transfer between the packet transfer device 11 and the packet transfer device 12.
第2図において、パケット転送装置11とパケット転送
装置12はバスアービタ13にアービタバス14で接続されて
いる。バスアービタ13は、各パケット転送装置11または
パケット転送装置12からの転送要求に対して調停を行い
送信権を与える。送信権を得たパケット転送装置11また
はパケット転送装置12は、パケットバス15を介して送信
先であるパケット転送装置11またはパケット転送装置12
にデータ転送を行う。In FIG. 2, a packet transfer device 11 and a packet transfer device 12 are connected to a bus arbiter 13 by an arbiter bus 14. The bus arbiter 13 arbitrates a transfer request from each packet transfer device 11 or 12 to give a transmission right. The packet transfer device 11 or the packet transfer device 12 that has obtained the transmission right transmits the packet transfer device 11 or the packet transfer device 12
Data transfer.
第3図は、第2図で示したパケット転送装置11からパ
ケット転送装置12への外部折返し試験のシーケンスであ
る。FIG. 3 shows a sequence of an external loopback test from the packet transfer apparatus 11 to the packet transfer apparatus 12 shown in FIG.
パケット転送装置11は、バスアービタ13に対して送信
要求を行い、送信権が与えられたパケット転送装置11
は、外部折返し要求バケットをパケット転送装置12へ送
信する。パケット転送装置11は、パケット転送装置12か
らの外部折返し指示応答パケットを受信するまで送信権
を開放しない。The packet transfer device 11 issues a transmission request to the bus arbiter 13, and the packet transfer device 11
Transmits the external return request bucket to the packet transfer device 12. The packet transfer device 11 does not release the transmission right until receiving the external return instruction response packet from the packet transfer device 12.
外部折返し要求パケットを受信したパケット転送装置
12は、外部折返し要求パケットからハードウェア処理に
より送信元アドレスと折返しデータを抽出して外部折返
し指示応答パケットを組立てる。外部折返し指示応答パ
ケットを組立てた後は、バスアービタ13へ送信要求を行
わずに外部折返し要求元であるパケット転送装置11へ返
送する。Packet transfer device that has received an external loopback request packet
12 extracts the source address and return data from the external return request packet by hardware processing and assembles an external return instruction response packet. After assembling the external return instruction response packet, the packet is returned to the packet transfer device 11 that is the external return request source without making a transmission request to the bus arbiter 13.
外部折返し要求元であるパケット転送装置11は、外部
折返しデータを受信し、蓄積を行った後にバスアービタ
13への送信要求を中止してパケットバス15を開放する。
なお、第3図に示した転送応答とは、1パケット転送が
正常であることを通知するための制御信号である。The packet transfer device 11 that is the external return request source receives the external return data, stores
The transmission request to 13 is stopped and the packet bus 15 is released.
The transfer response shown in FIG. 3 is a control signal for notifying that the transfer of one packet is normal.
この転送制御を行い、送信折返しデータと受信折返し
データをハードウェアによって比較するようにしたパケ
ット転送装置11およびパケット転送装置12の例を次に説
明する。An example of the packet transfer device 11 and the packet transfer device 12 which perform this transfer control and compare the transmission return data and the reception return data by hardware will be described below.
第1図は、本発明によるパケット転送装置の一実施例
を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of a packet transfer device according to the present invention.
第1図において、送受信制御回路303は、アービタバ
ス14を介してバスアービタ13からパケットバス15の使用
権を獲得した後に、指定したパケット転送装置11(また
はパケット転送装置12)に外部折返し指示要求パケット
として、送信折返しデータ格納レジスタ304へ設定され
たデータを送信する。パケットバス15を捕捉した状態で
要求元パケット転送装置11(またはパケット転送装置1
2)からの受信データを受信し、送受信制御回路303によ
って折返しデータのみを抽出し、受信折返しデータセッ
ト信号310で受信折返しデータ格納レジスタ305に格納す
る。In FIG. 1, the transmission / reception control circuit 303 obtains the right to use the packet bus 15 from the bus arbiter 13 via the arbiter bus 14, and then transmits the packet to the designated packet transfer apparatus 11 (or the packet transfer apparatus 12) as an external return instruction request packet. Then, the set data is transmitted to the transmission return data storage register 304. With the packet bus 15 captured, the request source packet transfer device 11 (or the packet transfer device 1
The received data from 2) is received, only the return data is extracted by the transmission / reception control circuit 303, and stored in the reception return data storage register 305 as the reception return data set signal 310.
このとき、送信折返しデータ格納レジスタ304から送
信折返しデータ信号308として通知されたデータと、受
信折返しデータ格納レジスタ305から受信折返しデータ3
09として通知されたデータとを比較回路306で比較し、
一致か不一致かの比較結果を送受信制御回路303から比
較結果セット信号311として比較結果格納レジスタ307に
格納する。At this time, the data notified as the transmission return data signal 308 from the transmission return data storage register 304 and the reception return data 3 from the reception return data storage register 305.
The data notified as 09 is compared with the comparison circuit 306,
The comparison result of the match or mismatch is stored in the comparison result storage register 307 from the transmission / reception control circuit 303 as the comparison result set signal 311.
従って、この比較結果格納レジスタ307をリードする
だけでパケットバス15が正常であることと、外部折返し
要求先のパケット転送装置12(またはパケット転送装置
11)との間の転送動作が正常であることの確認をするこ
とができる。Therefore, the packet bus 15 is normal only by reading the comparison result storage register 307, and the packet transfer device 12 (or the packet transfer device
It can be confirmed that the transfer operation between 11) is normal.
以上の実施例によれば、外部折返し転送制御時に、外
部折返し要求パケットおよび外部折返し応答パケットを
送信する場合、外部折返し要求元がバスを捕捉している
状況で外部折返し応答を転送するようにして、パケット
転送毎に送信権を獲得しないので、バスのトラヒックに
存在せずに外部折返し指示に対する応答受信が行える。
このために、バスの正常性およびパケット転送装置間の
転送制御の正当性を確認するのに要する時間は短縮さ
れ、かつほぼ一定となる。According to the above embodiment, when the external return request packet and the external return response packet are transmitted during the external return transfer control, the external return request is transferred in a situation where the external return request source is capturing the bus. Since the transmission right is not acquired for each packet transfer, a response to the external return instruction can be received without being present in the traffic of the bus.
For this reason, the time required to confirm the normality of the bus and the validity of the transfer control between the packet transfer devices is reduced and substantially constant.
また、パケット転送毎にバス捕捉を行う場合は、外部
折返し応答が必ずしも要求順に受信される要求パケット
とは限らないので、ソフトウェア処理によって受信外部
折返し送信元のアドレスを確認しなければならないが、
外部折返し要求元のパケット転送装置がパケットバスを
捕捉している状態で、外部折返し応答パケットを受信で
き、更に、送信折返しデータと受信折返しデータをハー
ドウェア処理によって比較できるので、ソフトウェア処
理の負担を軽減することができる。Also, when performing bus capture for each packet transfer, since the external return response is not always a request packet received in the order of requests, the address of the external return source must be confirmed by software processing.
The external loopback response packet can be received while the packet transfer device of the external loopback requester is capturing the packet bus, and the transmitted loopback data and the received loopback data can be compared by hardware processing, reducing the burden of software processing. Can be reduced.
[発明の効果] 以上で説明したように、本発明は、他のパケット転送
装置に対して送信した試験データを返送させる折返し指
示手段と、送信先パケット転送装置から送信される折返
しデータを受信するまで、送信元パケット転送装置が折
返しデータを送信するためのバスアービタに対する送信
要求を保持する手段と、受信した折返し指示パケットか
ら送信元アドレスと折返しデータを抽出して、送信元パ
ケット転送装置へ折返しデータを送信する手段と、受信
した折返しデータと送信した折返しデータとを比較する
比較手段とを設けるように構成される。[Effects of the Invention] As described above, according to the present invention, return instruction means for returning test data transmitted to another packet transfer apparatus, and return data transmitted from a destination packet transfer apparatus are received. Until the source packet transfer device holds the transmission request to the bus arbiter for transmitting the return data, and extracts the source address and the return data from the received return instruction packet and returns the return data to the source packet transfer device. , And comparing means for comparing the received return data with the transmitted return data.
このように構成したことにより、外部折返し要求元の
送信要求を保持する手段がバスを捕捉しているので、外
部折返し要求および外部折返し応答を転送するのにパケ
ット転送毎に送信権を獲得する必要がない。With this configuration, since the means for holding the transmission request of the external return request source captures the bus, it is necessary to acquire the transmission right for each packet transfer to transfer the external return request and the external return response. There is no.
従って、バスのトラヒックに依存せずに外部折返し指
示に対する応答受信が行え、バスの正常性およびパケッ
ト転送装置間の転送制御の正当性を確認するのに要する
時間を短縮し、かつほぼ一定とすることが可能となる。Therefore, a response to an external loopback instruction can be received without depending on the traffic on the bus, and the time required to confirm the normality of the bus and the validity of the transfer control between the packet transfer devices is reduced, and is substantially constant. It becomes possible.
第1図は、本発明によるパケット転送装置の一実施例を
示すブロック図、 第2図は、本発明によるパケット転送装置を用いてパケ
ットデータ転送を行う場合の構成を示すブロック図、 第3図は、第2図で示したパケット転送装置間の外部折
返し試験のシーケンスである。 11……パケット転送装置 12……パケット転送装置 13……バスアービタ 14……アービタバス 15……パケットバス 303……送受信制御回路 304……送信折返しデータ格納レジスタ 305……受信折返しデータ格納レジスタ 306……比較回路 307……比較結果格納レジスタ 308……送信折返しデータ信号 309……受信折返しデータ 310……受信折返しデータセット信号 311……比較結果セット信号FIG. 1 is a block diagram showing an embodiment of a packet transfer device according to the present invention, FIG. 2 is a block diagram showing a configuration when packet data transfer is performed using the packet transfer device according to the present invention, FIG. Is a sequence of the external loopback test between the packet transfer devices shown in FIG. 11 Packet transfer device 12 Packet transfer device 13 Bus arbiter 14 Arbiter bus 15 Packet bus 303 Transmission / reception control circuit 304 Transmission return data storage register 305… Reception return data storage register 306 Comparison circuit 307: comparison result storage register 308: transmission return data signal 309: reception return data 310: reception return data set signal 311: comparison result set signal
Claims (3)
験データを返送させる折返し指示手段と、 送信先パケット転送装置から送信される折返しデータを
受信するまで、送信元パケット転送装置が折返しデータ
を送信するためのバスアービタに対する送信要求を保持
する手段と、 受信した折返し指示パケットから送信元アドレスと折返
しデータを抽出して、送信元パケット転送装置へ折返し
データを送信する手段と、 受信した折返しデータと送信した折返しデータとを比較
する比較手段とを有するパケット転送装置。1. A return instruction means for returning test data transmitted to another packet transfer apparatus, and a source packet transfer apparatus transmits return data until return data transmitted from a destination packet transfer apparatus is received. Means for holding a transmission request to the bus arbiter for transmission, 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; A packet transfer device comprising: comparing means for comparing the transmitted return data.
アービタに対して送信要求を行わずに、送信元パケット
転送装置へ折返しデータを送信することを特徴とする請
求項1記載のパケット転送装置。2. The packet transfer device according to claim 1, wherein the means for transmitting the return data transmits the return data to the source packet transfer device without making a transmission request to the bus arbiter.
段を有することを特徴とする請求項1記載のパケット転
送装置。3. The packet transfer device according to claim 1, further comprising storage means for storing a comparison result of said comparison means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2045553A JP2867553B2 (en) | 1990-02-28 | 1990-02-28 | Packet transfer device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2045553A JP2867553B2 (en) | 1990-02-28 | 1990-02-28 | Packet transfer device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03250832A JPH03250832A (en) | 1991-11-08 |
| JP2867553B2 true JP2867553B2 (en) | 1999-03-08 |
Family
ID=12722554
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2045553A Expired - Lifetime JP2867553B2 (en) | 1990-02-28 | 1990-02-28 | Packet transfer device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2867553B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007295482A (en) * | 2006-04-27 | 2007-11-08 | Toshiba Corp | Data transmission system |
-
1990
- 1990-02-28 JP JP2045553A patent/JP2867553B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH03250832A (en) | 1991-11-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5574865A (en) | System for data transfer protection during module connection/disconnection onto live bus | |
| JP2867553B2 (en) | Packet transfer device | |
| JP2996179B2 (en) | PCI bus system | |
| US20040019721A1 (en) | Data path master/slave data processing device apparatus and method | |
| JPH0716197B2 (en) | Packet bus external loopback test method and packet transfer device | |
| JPH06164603A (en) | Transmission system for time division multiplex transmitting device | |
| JPS62204358A (en) | Data communication processing system | |
| KR0182707B1 (en) | Method and apparatus for monitoring communication message between processors in switching system | |
| JPS63192151A (en) | Data transfer buffer equipment | |
| JP2961542B2 (en) | Data processing system | |
| JP2953362B2 (en) | LAN switching device | |
| JP2923992B2 (en) | Access Channel Control Method for Demand Assignment Communication System | |
| JP2806884B2 (en) | Service data transmission system | |
| JPH0226904B2 (en) | ||
| JPH10116245A (en) | DMA controller | |
| RU1800460C (en) | Digital computer interface | |
| EP0171940A1 (en) | A direct memory access device and a method of using the device in a data transfer system | |
| JPH04238566A (en) | Inter-multi-processor bus communication system | |
| JPS62232060A (en) | Data processor | |
| JPH04158466A (en) | Inter-processor data transfer system | |
| JPS60114050A (en) | Monitor device of data reception | |
| JPS62250746A (en) | Hdlc transmitting device | |
| JPS6356041A (en) | Asynchronizing serial data reception system | |
| JPH02108359A (en) | Image data sending device and image forming device | |
| JPH05103167A (en) | Facsimile equipment |