JP2006304101A - Control method for communication device capable of changing hardware configuration, and communication device - Google Patents

Control method for communication device capable of changing hardware configuration, and communication device Download PDF

Info

Publication number
JP2006304101A
JP2006304101A JP2005125557A JP2005125557A JP2006304101A JP 2006304101 A JP2006304101 A JP 2006304101A JP 2005125557 A JP2005125557 A JP 2005125557A JP 2005125557 A JP2005125557 A JP 2005125557A JP 2006304101 A JP2006304101 A JP 2006304101A
Authority
JP
Japan
Prior art keywords
communication device
output interface
program
signal
signal 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
JP2005125557A
Other languages
Japanese (ja)
Inventor
Masaru Katayama
勝 片山
Junichi Yoshida
順一 吉田
Hiroki Yamada
博希 山田
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2005125557A priority Critical patent/JP2006304101A/en
Publication of JP2006304101A publication Critical patent/JP2006304101A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication device capable of changing its hardware configuration during communication, without enlarging the device or increasing the number of components. <P>SOLUTION: A controller 14 of a communication device 1 instructs a signal output interface 12 to send out a pause frame signal, when rewriting a program in a programmable hardware 13 during communication with other communication device. The controller 14 rewrites the program in the programmable hardware 13 while the signal output interface 12 sends out the pause frame signal. When rewrite of the program is completed, the signal output interface 12 stops sending out of the pause frame signal. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、通信を行ないながら、フレームを落とすことなくハードウェア構成を変更可能な通信装置に関する。   The present invention relates to a communication apparatus capable of changing a hardware configuration without dropping a frame while performing communication.

従来、通信装置において、通信を行いながら、そのハードウェア構成を変更する方法として、
1.フレーム処理を行う装置を2重化して配置し、一方を現用運用、他方を予備運用とし、予備のハードウェアの内部構成を変えてから現用と予備の装置を入れ替える方法、
2.変更するハードウェアの前段にフレームを一時的に保持しておくバッファを配置し、ハードウェアの内部構成の変更中はバッファにフレームを溜め込む方法(特許文献1)
が用いられていた。
特開2004−241959号公報
Conventionally, in a communication device, as a method of changing the hardware configuration while performing communication,
1. A method of doubling and arranging devices for performing frame processing, setting one as active operation and the other as standby operation, and changing the internal configuration of the spare hardware and then swapping the current and spare devices;
2. A method of arranging a buffer that temporarily holds a frame in front of the hardware to be changed and storing the frame in the buffer while the hardware internal configuration is being changed (Patent Document 1)
Was used.
JP 2004-241959 A

上述した従来の方法では、同じ装置が2台必要になる、あるいはバッファが必要であるため、装置が大型化したり、部品が増加するという問題があった。   In the conventional method described above, two same devices are required or a buffer is required, which causes a problem that the size of the device increases and the number of parts increases.

本発明の目的は、装置が大型化したり、部品が増加することなく、通信を行ないながら、ハードウェア構成を変更することができる、通信装置の制御方法および通信装置を提供することにある。   An object of the present invention is to provide a communication device control method and a communication device capable of changing the hardware configuration while performing communication without increasing the size of the device or increasing the number of parts.

本発明の通信装置の制御方法は、
信号入力用インターフェース手段と、信号出力用インターフェース手段と、前記信号入力用インターフェース手段および前記信号出力用インターフェース手段と接続された、プログラム可能なハードウェア手段とを有する通信装置における制御方法において、
前段の通信装置にフレームの送信を停止させるポーズフレーム信号を送信する機能を設け
前記通信装置の制御手段が、
前記前段の通信装置と通信中に前記プログラム可能なハードウェア手段のプログラムを書き換える際に、前記信号出力用インターフェース手段にポーズフレーム信号を出すことを指示するステップと、
前記信号出力用インターフェース手段がポーズフレーム信号を出している間、前記プログラム可能なハードウェア手段のプログラムを書き換えるステップと、
プログラムの書き換えが終了すると、前記信号出力用インターフェース手段にポーズフレーム信号を出すことを停止させるステップと
を有する。
The communication device control method of the present invention includes:
In a control method in a communication apparatus having signal input interface means, signal output interface means, and programmable hardware means connected to the signal input interface means and the signal output interface means,
Provided with a function of transmitting a pause frame signal for stopping the transmission of the frame to the communication device of the previous stage, the control means of the communication device,
Instructing the signal output interface means to output a pause frame signal when rewriting the program of the programmable hardware means during communication with the preceding communication device;
Rewriting the program of the programmable hardware means while the signal output interface means outputs a pause frame signal;
When the rewriting of the program is completed, the step of stopping the signal output interface means from outputting a pause frame signal is included.

IEEE802.3x機能を搭載したイーサネット装置では、該イーサネット装置の前段に接続されたイーサネット装置にポーズフレームを送信することにより、信号の送信を停止させる機能がある。   An Ethernet device equipped with the IEEE 802.3x function has a function of stopping signal transmission by transmitting a pause frame to the Ethernet device connected to the preceding stage of the Ethernet device.

本発明はこのポーズフレーム送信機能を有する通信装置を利用し、内部構成を変更する通信装置から前段の通信装置にポーズフレーム信号を送信してフレーム信号の送信を停止させ、その間にハードウェア手段のプログラムを書き換えて内部構成を変更し、変更が完了すると、ポーズフレーム信号の送信を解除してフレームの送受信を開始するものである。   The present invention uses the communication device having the pause frame transmission function, transmits a pause frame signal from the communication device whose internal configuration is changed to the preceding communication device, and stops the transmission of the frame signal. The program is rewritten to change the internal configuration. When the change is completed, transmission of the pause frame signal is canceled and frame transmission / reception is started.

本発明は、装置が大型化したり、部品が増加することなく、通信を行いながら、ハードウェア構成を変更することができる通信装置を提供することができる。   The present invention can provide a communication device capable of changing the hardware configuration while performing communication without increasing the size of the device or increasing the number of components.

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

図1は本発明の一実施形態による通信装置の構成を示している。図1(1)に示す通信装置は、信号入力用インターフェース部11と、信号出力用インターフェース部12と、信号入力用インターフェース部11および信号出力用インターフェース12と接続された、プログラム可能なハードウェア部14と、信号入力用インターフェース部11、信号出力用インターフェース12、およびプログラム可能なハードウェア部14を制御する制御部14で構成されている。信号入力用インターフェース部11および信号出力用インターフェース部12はイーサネット機能を有する物理インターフェースである。プログラム可能なハードウェア部14は、例えば、FPGA(Field Programmable Gate Arrays)やプロセッサ、ネットワークプロセッサ、リコンフィンギャラブルプロセッサなどで構成されたハードウェアである。図1(2)に示す通信装置1は、信号入力用インターフェース部111〜11nおよび信号出力用インターフェース部121〜12nと、信号入力用インターフェース部と信号出力用インターフェース部を複数個備えたもので、その他の構成は図1(1)に示した通信装置と同じである。 FIG. 1 shows the configuration of a communication apparatus according to an embodiment of the present invention. The communication device shown in FIG. 1 (1) includes a programmable hardware unit connected to a signal input interface unit 11, a signal output interface unit 12, a signal input interface unit 11 and a signal output interface 12. 14, a signal input interface unit 11, a signal output interface 12, and a control unit 14 that controls the programmable hardware unit 14. The signal input interface unit 11 and the signal output interface unit 12 are physical interfaces having an Ethernet function. The programmable hardware unit 14 is, for example, hardware configured by an FPGA (Field Programmable Gate Arrays), a processor, a network processor, a reconfigurable processor, and the like. The communication device 1 shown in FIG. 1 (2) includes a plurality of signal input interface units 11 1 to 11 n, a signal output interface unit 12 1 to 12 n , a signal input interface unit, and a signal output interface unit. Other configurations are the same as those of the communication apparatus shown in FIG.

通信装置1は、図2に示すように、前段のイーサネット装置2と後段のイーサネット装置3に接続され、イーサネット装置2、3はさらにそれぞれネットワーク4、5に接続されている。通常の運用状態では、図3に示すように、イーサフレームが前段のイーサネット装置2から通信装置1に入力され、通信装置1を通過して、後段のイーサネット装置3に入力される。   As shown in FIG. 2, the communication device 1 is connected to an Ethernet device 2 at the front stage and an Ethernet device 3 at the rear stage, and the Ethernet devices 2 and 3 are further connected to networks 4 and 5, respectively. In a normal operation state, as shown in FIG. 3, the Ethernet frame is input from the Ethernet device 2 at the previous stage to the communication device 1, passes through the communication device 1, and is input to the Ethernet device 3 at the subsequent stage.

次に、通信装置1の機能を変更する際の手順を図4により説明する。通信装置1には現在機能Aが設定されており、これを機能Bに変更するものとする。   Next, the procedure for changing the function of the communication apparatus 1 will be described with reference to FIG. It is assumed that the function A is currently set in the communication apparatus 1 and this is changed to the function B.

まず、制御部14は、前段のイーサネット装置2にポーズフレームを送信するように信号出力用インターフェース部12に指示する。信号出力用インターフェース部12は該指示にしたがい、ポーズフレームをイーサネット装置2に送信する(図4(1))。   First, the control unit 14 instructs the signal output interface unit 12 to transmit a pause frame to the Ethernet device 2 in the previous stage. In accordance with this instruction, the signal output interface unit 12 transmits a pause frame to the Ethernet device 2 (FIG. 4 (1)).

イーサネット装置2はポーズフレームの送信を受けて、イーサネットの規格に従い、通信装置1宛てのフレームの送信を停止する(図4(2))。通信装置1は本装置宛てのフレームの送信が停止した際、プログラム可能なハードウェア部14内に受信したフレームが未だある間は本装置からイーサネット装置3宛てにフレームを送信し続ける。   Upon receiving the pause frame, the Ethernet device 2 stops transmitting the frame addressed to the communication device 1 in accordance with the Ethernet standard (FIG. 4 (2)). When the transmission of the frame addressed to the apparatus stops, the communication apparatus 1 continues to transmit the frame from the apparatus to the Ethernet apparatus 3 while the received frame is still in the programmable hardware unit 14.

通信装置1は、プログラム可能なハードウェア部14内に受信したフレームがなくなると、フレームの送信を停止する(図4(3))。   When there is no received frame in the programmable hardware unit 14, the communication device 1 stops frame transmission ((3) in FIG. 4).

この時、制御部14からプログラム可能なハードウェア部14に機能変更を指示し、プログラム可能なハードウェア部14の機能がAからBに変わる(図4(4))。   At this time, the control unit 14 instructs the programmable hardware unit 14 to change the function, and the function of the programmable hardware unit 14 changes from A to B (FIG. 4 (4)).

制御部14は、機能変更開始時間から一定時間が経過すると、本装置の機能変更が完了したと判断し、信号出力用インターフェース部12にポーズフレームの送信を停止するように指示し、イーサネット装置2からのイーサフレームの受信が可能になる(図4(5))。   When a predetermined time has elapsed from the function change start time, the control unit 14 determines that the function change of this apparatus has been completed, instructs the signal output interface unit 12 to stop transmission of the pause frame, and the Ethernet device 2. Ethernet frames can be received from (FIG. 4 (5)).

なお、通信装置1は後段のイーサネット装置3からポーズフレームを受信した場合には、そのまま前段のイーサネット装置2へポーズフレームを送信する。これにより、前段のイーサネット装置2からの信号がこなくなり、後段のイーサネット装置3へのフレームが通信装置1に到着しなくなる。   When the communication device 1 receives a pause frame from the subsequent Ethernet device 3, the communication device 1 transmits the pause frame to the previous Ethernet device 2 as it is. As a result, the signal from the preceding Ethernet device 2 does not arrive, and the frame to the succeeding Ethernet device 3 does not arrive at the communication device 1.

機能変更は、例えば、FPGAやリコンフィギャラブルプロセッサなどの一部のものには、内部に複数のプログラムを設定可能なものがある。これらはダイナミックリコンフィギャラブルデバイスと呼ばれ、内部に回路構成およびプログラムを複数格納可能であり、それらのデバイスが動作中に機能変更が可能である。例えば、リコンフィギャラブルプロセッサであるDAPDNA(IPフレックス(株)の商品名)は、その動作クロックで1クロックという時間で構成を変更可能である。これらのプログラム可能なハードウェアを本装置に用いた場合、ポーズフレームによる通信の遮断は、通常、通信におけるジッタ程度に収まり、通信への影響はない。また、プロセッサやネットワークにおいても複数のプログラムを格納可能であり、動作中にプログラムの変更が可能である。ただし、切替時間が通常のデバイスよりも遅いため、複数のプログラムをあらかじめ別プロセス(ネットワークプロセッサの場合、別プロセッシングエレメント)で動作させておき、プロセスを切替えるだけで変更可能なようにすることにより、無瞬断ハードウェア変更を実現することができる。   For example, some functions such as FPGA and reconfigurable processor can set a plurality of programs therein. These are called dynamic reconfigurable devices, and a plurality of circuit configurations and programs can be stored therein, and the functions of these devices can be changed during operation. For example, the configuration of a reconfigurable processor, DAPDNA (a trade name of IP Flex Co., Ltd.) can be changed in a time of one clock. When such programmable hardware is used in this apparatus, the interruption of communication by a pause frame is usually within the jitter level in communication and does not affect the communication. Also, a plurality of programs can be stored in the processor and the network, and the program can be changed during operation. However, since the switching time is slower than that of a normal device, multiple programs can be operated in advance in a separate process (in the case of a network processor, a separate processing element), so that it can be changed by simply switching the process. Non-instantaneous hardware change can be realized.

本発明の一実施形態による通信装置の構成図である。It is a block diagram of the communication apparatus by one Embodiment of this invention. 図1の通信装置を含むネットワークの構成図である。It is a block diagram of the network containing the communication apparatus of FIG. 図1の通信装置の、通常の運用状態でのイーサフレームの流れを示す図である。FIG. 2 is a diagram illustrating a flow of an Ether frame in a normal operation state of the communication apparatus of FIG. 1. 図1の通信装置の機能を変更する手順を示す図である。It is a figure which shows the procedure which changes the function of the communication apparatus of FIG.

符号の説明Explanation of symbols

1 通信装置
2、3 イーサネット装置
4、5 ネットワーク
11、111〜11n 信号入力用イーサネットインターフェース
12、121〜12n 信号出力用イーサネットインターフェース
13 プログラム可能なハードウェア部
14 制御部
1 communication devices 2 and 3 the Ethernet device 4,5 networks 11, 11 1 to 11 n signal input Ethernet interface 12, 12 1 to 12 n signal output Ethernet interface 13 programmable hardware unit 14 control unit

Claims (5)

信号入力用インターフェース手段と、信号出力用インターフェース手段と、前記信号入力用インターフェース手段および前記信号出力用インターフェース手段と接続された、プログラム可能なハードウェア手段とを有する通信装置における制御方法において、
前段の通信装置にフレームの送信を停止させるポーズフレーム信号を送信する機能を設け、
前記通信装置の制御手段が
前記前段の通信装置と通信中に前記プログラム可能なハードウェア手段のプログラムを書き換える際に、前記信号出力用インターフェース手段に前記ポーズフレーム信号を出すことを指示するステップと、
前記信号出力用インターフェース手段が前記ポーズフレーム信号を出している間、前記プログラム可能なハードウェア手段のプログラムを書き換えるステップと、
プログラムを書き換えが終了すると、前記信号出力用インターフェース手段に前記ポーズフレーム信号を出すことを停止させるステップと、
を有する
ことを特徴とする通信装置の制御方法。
In a control method in a communication apparatus having signal input interface means, signal output interface means, and programmable hardware means connected to the signal input interface means and the signal output interface means,
Provide a function to transmit a pause frame signal to stop the transmission of the frame to the previous communication device,
Instructing the signal output interface means to output the pause frame signal when the control means of the communication device rewrites the program of the programmable hardware means during communication with the preceding communication device;
Rewriting the program of the programmable hardware means while the signal output interface means outputs the pause frame signal;
When rewriting of the program is completed, stopping outputting the pause frame signal to the signal output interface means;
A method for controlling a communication apparatus, comprising:
前記のプログラムを書き換えるステップが、前記ポーズフレーム信号の送信により、自通信装置宛のフレーム送信が停止した際、前記プログラム可能なハードウェア手段内に受信したフレームが未だある間は自通信装置から後段の通信装置宛にフレームを送信し、前記プログラム可能なハードウェア手段内にフレームが無くなると、前記プログラム可能なハードウェア手段のグラムを書き換えるものである、請求項1に記載の通信装置の制御方法。   In the step of rewriting the program, when transmission of the pause frame signal stops transmission of a frame addressed to the own communication device, while the received frame is still in the programmable hardware means, 2. The method of controlling a communication device according to claim 1, wherein a frame is transmitted to the communication device, and the gram of the programmable hardware means is rewritten when there is no frame in the programmable hardware device. . 前記プログラム可能なハードウェア手段は複数のプログラムを格納でき、該プログラムが動作中に一定時間にプログラムの変更が可能である場合、前記制御手段が、機能の変更が終了したことを、プログラム変更開始時刻からの経過時間によってプログラム変更が終了したことによって判断するステップをさらに有する、請求項1または2に記載の通信装置の制御方法。   The programmable hardware means can store a plurality of programs, and if the program can be changed in a certain time during the operation of the program, the control means starts the program change when the function change is completed. The method for controlling a communication apparatus according to claim 1, further comprising a step of determining when the program change is completed based on an elapsed time from the time. 前記信号出力用インターフェース手段は、後段の通信装置からポーズフレームを受取ると、該ポーズフレームを前記信号出力用インターフェース手段よりそのまま前段の通信装置へ転送するステップをさらに有する、請求項1から3のいずれかに記載の通信装置の制御方法。     4. The signal output interface means further comprising the step of transferring the pause frame as it is from the signal output interface means to the preceding communication apparatus when receiving a pause frame from the subsequent communication apparatus. A method for controlling the communication device according to claim 1. 信号入力用インターフェース手段と、信号出力用インターフェース手段と、前記信号入力用インターフェース手段および前記信号出力用インターフェース手段と接続された、プログラム可能なハードウェア手段とを有する通信装置において、
前段の通信装置にフレームの送信を停止させるポーズフレーム信号を送信する機能を備え、
前記前段の通信装置と通信中に前記プログラム可能なハードウェア手段のプログラムを書き換える際に、前記信号出力用インターフェース手段にポーズフレーム信号を出すことを指示し、前記信号出力用インターフェース手段がポーズフレーム信号を出している間、前記プログラム可能なハードウェア手段のプログラムを書き換え、プログラムの書き換えが終了すると、前記信号出力用インターフェース手段にポーズフレーム信号を出すことを停止させる制御手段を有する
ことを特徴とする通信装置。
In a communication apparatus comprising signal input interface means, signal output interface means, and programmable hardware means connected to the signal input interface means and the signal output interface means,
It has a function to transmit a pause frame signal to stop transmission of frames to the communication device in the previous stage,
Instructing the signal output interface means to output a pause frame signal when the program of the programmable hardware means is rewritten during communication with the preceding communication device, and the signal output interface means A control means for rewriting the program of the programmable hardware means while outputting the program, and stopping the signal output interface means from issuing a pause frame signal when the rewriting of the program is completed. Communication device.
JP2005125557A 2005-04-22 2005-04-22 Control method for communication device capable of changing hardware configuration, and communication device Pending JP2006304101A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005125557A JP2006304101A (en) 2005-04-22 2005-04-22 Control method for communication device capable of changing hardware configuration, and communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005125557A JP2006304101A (en) 2005-04-22 2005-04-22 Control method for communication device capable of changing hardware configuration, and communication device

Publications (1)

Publication Number Publication Date
JP2006304101A true JP2006304101A (en) 2006-11-02

Family

ID=37471832

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005125557A Pending JP2006304101A (en) 2005-04-22 2005-04-22 Control method for communication device capable of changing hardware configuration, and communication device

Country Status (1)

Country Link
JP (1) JP2006304101A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012049726A (en) * 2010-08-25 2012-03-08 Fujitsu Ltd Transmission apparatus and transmission apparatus control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012049726A (en) * 2010-08-25 2012-03-08 Fujitsu Ltd Transmission apparatus and transmission apparatus control method

Similar Documents

Publication Publication Date Title
EP2721770B1 (en) Integrated circuit device and method of performing cut-through forwarding of packet data
US20160248675A1 (en) Method and apparatus for qcn-like cross-chip function in multi-stage ethernet switching
US8271235B2 (en) Efficient concurrent sampling at different rates
JP2006304101A (en) Control method for communication device capable of changing hardware configuration, and communication device
US20040034722A1 (en) Computer system and frame transmitting method
JP2007328671A (en) Information processing apparatus
JP2011173378A (en) Printer
US9154313B2 (en) Network relay apparatus and control method thereof
CN114666029A (en) Calibration control method and device and electronic equipment
Cisco Interface Adjustments
Cisco Interface Adjustments
Cisco Interface Adjustments
Cisco Interface Adjustments
Cisco Interface Adjustments
Cisco Interface Adjustments
Cisco Interface Adjustments
Cisco Interface Adjustments
JP2004295701A (en) Serial communication device
JP2010160713A (en) Field control device and field control method
JP2004242031A (en) Communication system
JP2020088819A (en) Relay device
CA2311888A1 (en) Automatic data transmission rate-controlling device and method for prevention of generation of an overflow in ethernet switch
JP2019160150A (en) Semiconductor device
JP2009141473A (en) Monitoring apparatus and monitoring method in cyclic communication
TWI534794B (en) Display device and operating method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060919

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20061130

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081023

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081029

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081216

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090121