JP2006067038A - Communication network, transmission controller, emergency frame processing method to be used for the same and its program - Google Patents

Communication network, transmission controller, emergency frame processing method to be used for the same and its program Download PDF

Info

Publication number
JP2006067038A
JP2006067038A JP2004244518A JP2004244518A JP2006067038A JP 2006067038 A JP2006067038 A JP 2006067038A JP 2004244518 A JP2004244518 A JP 2004244518A JP 2004244518 A JP2004244518 A JP 2004244518A JP 2006067038 A JP2006067038 A JP 2006067038A
Authority
JP
Japan
Prior art keywords
frame
emergency
transmission
transmitted
emergency frame
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
JP2004244518A
Other languages
Japanese (ja)
Inventor
Koji Sonoda
浩二 苑田
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 Communication Systems Ltd
Original Assignee
NEC Communication Systems 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 Communication Systems Ltd filed Critical NEC Communication Systems Ltd
Priority to JP2004244518A priority Critical patent/JP2006067038A/en
Publication of JP2006067038A publication Critical patent/JP2006067038A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a transmission controller for transmitting an emergency frame by reducing transmission delay, and for reducing the level of influence due to the transmission of the emergency frame. <P>SOLUTION: A transmission frame emergency level detecting part 11 judges the level of emergency from inputted transmission data, and transfers the judged transmission frame to a normal buffer part 13 or an emergency buffer part 15 in the next stage, and notifies a normal control part 14 and an emergency control part 16 of the level of emergency of the transmission frame. When the transmission frame is an emergency frame, the transmission frame emergency level detecting part 11 loads the transmission frame in the transmission queue of the emergency buffer part 15, and acquires the information of current transmission circumstances from the normal control part 14. While a normal frame is being transmitted, and the number of half or less bytes is being transferred, the transmission frame emergency level detecting part 11 abandons the frame which is being transmitted, and transmits the emergency frame by wedging the normal frame. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は通信ネットワーク、送信制御装置及びそれらに用いる緊急フレーム処理方法並びにそのプログラムに関し、特にイーサネット(登録商標)等の通信ネットワークにおいて、障害通知等の緊急フレームを送信するための緊急フレーム処理方法に関する。   The present invention relates to a communication network, a transmission control apparatus, and an emergency frame processing method used therefor, and a program thereof, and more particularly to an emergency frame processing method for transmitting an emergency frame such as a failure notification in a communication network such as Ethernet (registered trademark). .

従来、この種の通信ネットワークにおけるフレーム送信処理を図5に示す。図5において、緊急フレーム202は通常フレーム201の送信完了を待ち、続く緊急フレーム203のタイミングで送信される。   Conventionally, a frame transmission process in this type of communication network is shown in FIG. In FIG. 5, the emergency frame 202 waits for transmission completion of the normal frame 201 and is transmitted at the timing of the subsequent emergency frame 203.

緊急(最優先)のフレームであっても、送信中のフレームが出力完了してから送信されていたため、従来のフレーム送信処理では、最大でMTU(Maximum Transmission Unit)分の送信待ち時間(送信遅延)が発生する。   Even in the case of an urgent (highest priority) frame, since the frame being transmitted is transmitted after the output is completed, in the conventional frame transmission processing, a transmission waiting time (transmission delay) corresponding to a maximum transmission unit (MTU) ) Occurs.

イーサネット(登録商標)での待ち時間を試算した場合には、次の通りとなる。イーサネット(登録商標)標準の最大フレームサイズを超えるフレームサイズのことをジャンボフレームと呼ぶが、フレームサイズはIEEE(Institute of Electrical and Electronic Engineers)標準に含まれておらず、ベンダによってさまざまである。   When the waiting time in the Ethernet (registered trademark) is estimated, it is as follows. A frame size exceeding the maximum frame size of the Ethernet (registered trademark) standard is called a jumbo frame, but the frame size is not included in the IEEE (Institute of Electrical and Electronic Engineers) standard and varies depending on the vendor.

例えば、9000バイトを100Mbpsで転送した場合、最大送信待ち時間は約720マイクロ秒かかる。10Mbpsで10倍、1000Mbpsで10分の1の待ち時間がかかることになる。   For example, when 9000 bytes are transferred at 100 Mbps, the maximum transmission waiting time takes about 720 microseconds. The waiting time is 10 times longer at 10 Mbps and one-tenth as long as 1000 Mbps.

この問題を解決するために、従来のフレーム送信処理方法としては、特殊フレームが検出された時に、通常フレームの処理を中断して特殊フレームの処理を優先して実行する方法が提案されている(例えば、特許文献1,2参照)。   In order to solve this problem, as a conventional frame transmission processing method, when a special frame is detected, a method of interrupting the processing of the normal frame and preferentially executing the processing of the special frame has been proposed ( For example, see Patent Documents 1 and 2).

また、従来の他のフレーム送信処理方法としては、緊急に優先度が高い監視フレームや非番号性フレームを送信する際に、長大な情報フレーム送信中であっても、そのフレームの送信を中止し、監視フレームや非番号性フレームを直ちに送信する方法が提案されている(例えば、特許文献3参照)。   As another conventional frame transmission processing method, when a monitoring frame or unnumbered frame with a high priority is urgently transmitted, even if a long information frame is being transmitted, the transmission of that frame is stopped. A method for immediately transmitting a monitoring frame or an unnumbered frame has been proposed (see, for example, Patent Document 3).

特開昭60−80339号公報Japanese Patent Laid-Open No. 60-80339 特開昭61−181238号公報JP 61-181238 A 特開平1−264339号公報JP-A-1-264339

上述した従来のフレーム送信処理方法では、緊急(最優先)のフレームであっても、送信中のフレームが出力完了してから送信されていたため、最大でMTU分の送信待ち時間(送信遅延)が発生するという問題がある。   In the conventional frame transmission processing method described above, even if it is an urgent (highest priority) frame, since the frame being transmitted is transmitted after completion of output, the transmission waiting time (transmission delay) for MTU at the maximum is provided. There is a problem that occurs.

上記の特許文献1,2では、この問題を解決するために、通常フレームの処理を中断して特殊フレームの処理を優先して実行しているが、処理中のフレームを退避させているので、退避する容量によって多大な時間が余計にかかる可能性がある。   In Patent Documents 1 and 2 described above, in order to solve this problem, processing of a normal frame is interrupted and priority is given to processing of a special frame. However, since the frame being processed is saved, It may take a lot of time depending on the capacity to be saved.

また、上記の特許文献3では、上述した問題を解決するために、送信中のフレームを即廃棄して監視フレームや非番号性フレームを直ちに送信しているが、送信中のフレームの廃棄判断を単にフレームの長さのみで行っているため、長大な情報フレームであれば、送信完了まであと僅かであっても破棄されてしまう可能性がある。   Moreover, in the above-mentioned Patent Document 3, in order to solve the above-described problem, a frame being transmitted is immediately discarded and a monitoring frame or an unnumbered frame is immediately transmitted. Since it is performed only by the length of the frame, a long information frame may be discarded even if it is little until the completion of transmission.

そこで、本発明の目的は上記の問題点を解消し、緊急フレームを送信遅延を少なくして送信することができ、緊急フレーム送信による影響度を少なくすることができる通信ネットワーク、送信制御装置及びそれらに用いる緊急フレーム処理方法並びにそのプログラムを提供することにある。   Accordingly, an object of the present invention is to solve the above-described problems, transmit an emergency frame with reduced transmission delay, and reduce the degree of influence due to emergency frame transmission, a transmission control apparatus, and the like It is an object to provide an emergency frame processing method and program for use in the above.

本発明による通信ネットワークは、フレームの送信処理を行う送信制御装置を含む通信ネットワークであって、
少なくとも障害通知の緊急フレームの送信を検出する検出手段と、前記検出手段で前記緊急フレームの送信が検出された時に現在の送信状況を基に現在送信中のフレームを破棄して前記緊急フレームを送信するかどうかを判断する判断手段と、前記判断手段が前記現在送信中のフレームを破棄して前記緊急フレームを送信すると判断した時に当該緊急フレームを割り込ませて送信する手段と、前記緊急フレームを割り込ませて送信した時に破棄したフレームを当該緊急フレームの送信後に再送する手段とを前記送信制御装置に備えている。
A communication network according to the present invention is a communication network including a transmission control device that performs frame transmission processing,
Detecting means for detecting transmission of at least an emergency frame for notification of failure, and transmitting the emergency frame by discarding a frame currently being transmitted based on a current transmission status when the detection means detects transmission of the emergency frame Determining means for determining whether or not to perform, interrupting the emergency frame when the determining means determines to discard the currently transmitted frame and transmit the emergency frame, and interrupting the emergency frame The transmission control device includes means for retransmitting a frame discarded when it is transmitted after the emergency frame is transmitted.

本発明による送信制御装置は、フレームの送信処理を行う送信制御装置であって、
少なくとも障害通知の緊急フレームの送信を検出する検出手段と、前記検出手段で前記緊急フレームの送信が検出された時に現在の送信状況を基に現在送信中のフレームを破棄して前記緊急フレームを送信するかどうかを判断する判断手段と、前記判断手段が前記現在送信中のフレームを破棄して前記緊急フレームを送信すると判断した時に当該緊急フレームを割り込ませて送信する手段と、前記緊急フレームを割り込ませて送信した時に破棄したフレームを当該緊急フレームの送信後に再送する手段とを備えている。
A transmission control device according to the present invention is a transmission control device that performs transmission processing of a frame,
Detecting means for detecting transmission of at least an emergency frame for notification of failure, and transmitting the emergency frame by discarding a frame currently being transmitted based on a current transmission status when the detection means detects transmission of the emergency frame Determining means for determining whether or not to perform, interrupting the emergency frame when the determining means determines to discard the currently transmitted frame and transmit the emergency frame, and interrupting the emergency frame Means for retransmitting a frame discarded when it is transmitted after transmitting the emergency frame.

本発明による緊急フレーム処理方法は、フレームの送信処理を行う送信制御装置を含む通信ネットワークに用いられる緊急フレーム処理方法であって、前記送信制御装置側に、少なくとも障害通知の緊急フレームの送信を検出するステップと、前記緊急フレームの送信が検出された時に現在の送信状況を基に現在送信中のフレームを破棄して前記緊急フレームを送信するかどうかを判断するステップと、前記現在送信中のフレームを破棄して前記緊急フレームを送信すると判断した時に当該緊急フレームを割り込ませて送信するステップと、前記緊急フレームを割り込ませて送信した時に破棄したフレームを当該緊急フレームの送信後に再送するステップとを備えている。   An emergency frame processing method according to the present invention is an emergency frame processing method used in a communication network including a transmission control device that performs frame transmission processing, and detects at least transmission of an emergency frame for failure notification to the transmission control device side. Determining whether to transmit the emergency frame by discarding the frame currently being transmitted based on the current transmission status when transmission of the emergency frame is detected; and Interrupting and transmitting the emergency frame when it is determined to transmit the emergency frame and retransmitting the frame discarded when the emergency frame is interrupted and transmitted after transmitting the emergency frame. I have.

本発明による緊急フレーム処理方法のプログラムは、フレームの送信処理を行う送信制御装置を含む通信ネットワークに用いられる緊急フレーム処理方法のプログラムであって、前記送信制御装置側のコンピュータに、少なくとも障害通知の緊急フレームの送信を検出する処理と、前記緊急フレームの送信が検出された時に現在の送信状況を基に現在送信中のフレームを破棄して前記緊急フレームを送信するかどうかを判断する処理と、前記現在送信中のフレームを破棄して前記緊急フレームを送信すると判断した時に当該緊急フレームを割り込ませて送信する処理と、前記緊急フレームを割り込ませて送信した時に破棄したフレームを当該緊急フレームの送信後に再送する処理とを実行させている。   A program for an emergency frame processing method according to the present invention is a program for an emergency frame processing method used in a communication network including a transmission control device that performs transmission processing of a frame, and at least a failure notification is sent to a computer on the transmission control device side. A process for detecting transmission of an emergency frame; a process for determining whether to discard the currently transmitted frame and transmit the emergency frame based on a current transmission status when transmission of the emergency frame is detected; A process of interrupting and transmitting the emergency frame when it is determined that the currently transmitted frame is discarded and the emergency frame is transmitted, and a frame discarded when the emergency frame is interrupted and transmitted The process of resending later is executed.

すなわち、本発明の通信ネットワークは、主にイーサネット(登録商標)等の通信ネットワークにおいて、障害通知等の緊急フレームを他のフレームの送信状態を停止し、送信完了を待たずに送信可能とすることを特徴としている。   That is, the communication network of the present invention is capable of transmitting an emergency frame such as a failure notification without stopping the transmission state of other frames and waiting for transmission completion mainly in a communication network such as Ethernet (registered trademark). It is characterized by.

より具体的に説明すると、従来のフレーム送信処理では、通常フレームの送信中に緊急フレームを送信する場合、送信フレーム単位の優先制御処理であれば、通常フレームが送信完了した後に緊急フレームが送信されるが、本発明の通信ネットワークでは、通常フレームが送信されている途中で、緊急フレームが割り込んで送信され、その後に通常フレームを再送しているので、緊急フレームが送信されるまでの待ち時間を短縮することが可能となる。   More specifically, in the conventional frame transmission process, when an emergency frame is transmitted during transmission of a normal frame, if the priority control process is in units of transmission frames, the emergency frame is transmitted after the transmission of the normal frame is completed. However, in the communication network of the present invention, the emergency frame is interrupted and transmitted while the normal frame is being transmitted, and then the normal frame is retransmitted. It can be shortened.

本発明の通信ネットワークでは、送信するフレームが緊急フレームの場合、現在の送信状況、つまりフレームを送信中かどうか、送信中のフレームが破棄できる状態か、連続送信回数を越えていないか等の送信状態を基に、現在送信中のフレームを破棄して緊急フレームを送信するかを判断している。   In the communication network of the present invention, when the frame to be transmitted is an emergency frame, transmission such as the current transmission status, that is, whether the frame is being transmitted, whether the frame being transmitted can be discarded, or whether the number of continuous transmissions has not been exceeded Based on the state, it is determined whether to discard the currently transmitted frame and transmit the emergency frame.

上記のように、本発明の通信ネットワークでは、送信状況に応じて、送信途中のフレームを途中で破棄して即時に送信することが可能であるため、送信途中のフレームに待たされることなく、緊急フレーム送信による影響度を少なくし、緊急に送信したいデータが送信可能となる。   As described above, in the communication network of the present invention, it is possible to discard a frame in the middle of transmission and immediately transmit it depending on the transmission situation, so that an emergency is not required without waiting for the frame in the middle of transmission. The degree of influence due to frame transmission is reduced, and data that is urgently transmitted can be transmitted.

この場合、本発明の通信ネットワークでは、送信中のフレームを破棄して緊急に送信したいフレームを送信することで、送出完了までの送信遅延を少なくすることが可能となる。送信中のフレームを破棄する際には、緊急フレーム送信による影響を少なくするために、送信状況や緊急フレームの連続送信回数から送信中のフレームの破棄の有無を判断し、送信中のフレームが破棄された時に、そのフレームを緊急フレーム送出後に再送している。   In this case, in the communication network of the present invention, it is possible to reduce the transmission delay until the transmission is completed by discarding the frame being transmitted and transmitting the frame to be urgently transmitted. When discarding a frame that is being transmitted, in order to reduce the impact of urgent frame transmission, determine whether or not the frame being transmitted is discarded based on the transmission status and the number of continuous transmissions of the urgent frame, and discard the frame being transmitted. The frame is retransmitted after the emergency frame is transmitted.

本発明は、以下に述べるような構成及び動作とすることで、緊急フレームを送信遅延を少なくして送信することができ、緊急フレーム送信による影響度を少なくすることができるという効果が得られる。   With the configuration and operation described below, the present invention can transmit an emergency frame with a reduced transmission delay, and an effect of reducing the degree of influence due to the emergency frame transmission can be obtained.

次に、本発明の実施の形態について図面を参照して説明する。図1は本発明の実施の形態による緊急フレーム処理方法を示す図である。図1において、通常フレーム101の送信中に緊急フレーム102を送信する場合、送信フレーム単位の優先制御処理であれば、通常フレーム101が送信完了した後に緊急フレーム103が送信される。   Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram illustrating an emergency frame processing method according to an embodiment of the present invention. In FIG. 1, when the emergency frame 102 is transmitted during transmission of the normal frame 101, the emergency frame 103 is transmitted after the transmission of the normal frame 101 is completed if the priority control process is performed in units of transmission frames.

本発明の実施の形態では、通常フレーム101が送信されている途中で、緊急フレーム102が割り込んで送信され、その後に通常フレーム104を再送している。その結果、本発明の実施の形態では、緊急フレーム102が送信されるまでの待ち時間を短縮することができる。   In the embodiment of the present invention, the emergency frame 102 is interrupted and transmitted while the normal frame 101 is being transmitted, and then the normal frame 104 is retransmitted. As a result, in the embodiment of the present invention, the waiting time until the emergency frame 102 is transmitted can be shortened.

送信するフレームが緊急フレーム102の場合には、現在の送信状況、つまりフレームを送信中かどうか、送信中のフレームが破棄できる状態かどうか、連続送信回数を越えていないかどうかをそれぞれ判断して緊急フレーム102の送信を行っている。   If the frame to be transmitted is the emergency frame 102, determine the current transmission status, that is, whether the frame is being transmitted, whether the frame being transmitted can be discarded, and whether the number of continuous transmissions has not been exceeded. The emergency frame 102 is transmitted.

このようにして、本発明の実施の形態では、送信状況に応じて、送信途中のフレームを途中で破棄して即時に送信することが可能であるため、送信途中のフレームに待たされることなく、緊急フレーム送信による影響度を少なくし、緊急に送信したいデータを送信することができる。   In this way, according to the embodiment of the present invention, it is possible to discard a frame in the middle of transmission and immediately transmit it according to the transmission status, so that it is possible to immediately transmit without waiting for the frame in the middle of transmission. It is possible to reduce the degree of influence due to urgent frame transmission and transmit data that is urgently transmitted.

また、本発明の実施の形態では、送信中のフレームを破棄して緊急に送信したいフレームを送信することで、送出完了までの送信遅延を少なくすることができる。送信中のフレームを破棄する際には、緊急フレーム送信による影響を少なくするために、送信状況や緊急フレームの連続送信回数から破棄の有無を判断し、送信中のフレームを単に破棄するだけでなく、そのフレームを緊急フレーム送出後に再送している。   In the embodiment of the present invention, the transmission delay until the transmission is completed can be reduced by discarding the frame being transmitted and transmitting the frame to be transmitted urgently. When discarding a frame that is being transmitted, in order to reduce the impact of urgent frame transmission, it is possible to determine whether or not to discard the frame based on the transmission status and the number of consecutive urgent frame transmissions. The frame is retransmitted after the emergency frame is transmitted.

図2は本発明の一実施例による送信制御装置の構成を示すブロック図である。図2において、送信制御装置1は送信フレーム緊急度検出部11と、再送制御部12と、通常バッファ部13と、通常制御部14と、緊急バッファ部15と、緊急制御部16と、送信セレクタ17と、上記の各部を実現するためのプログラムを格納する記録媒体18とから構成されている。尚、送信制御装置1は主にイーサネット(登録商標)等の通信ネットワークにおいて、上記の緊急フレーム処理を行うための装置である。   FIG. 2 is a block diagram showing the configuration of the transmission control apparatus according to one embodiment of the present invention. In FIG. 2, the transmission control device 1 includes a transmission frame urgency detection unit 11, a retransmission control unit 12, a normal buffer unit 13, a normal control unit 14, an emergency buffer unit 15, an emergency control unit 16, and a transmission selector. 17 and a recording medium 18 for storing a program for realizing the above-described units. The transmission control device 1 is a device for performing the emergency frame processing mainly in a communication network such as Ethernet (registered trademark).

送信フレーム緊急度検出部11は入力された送信データから緊急度を判断し、判断した送信フレームを次段の通常バッファ部13または緊急バッファ部15に転送する。その際、送信フレーム緊急度検出部11は送信フレームの緊急度を通常制御部14及び緊急制御部16にそれぞれ通知する。   The transmission frame urgency level detection unit 11 determines the urgency level from the input transmission data, and transfers the determined transmission frame to the normal buffer unit 13 or the emergency buffer unit 15 at the next stage. At that time, the transmission frame urgency detection unit 11 notifies the normal control unit 14 and the emergency control unit 16 of the urgency of the transmission frame.

送信フレームが通常フレームの場合、送信フレーム緊急度検出部11は送信フレームを入力された順番に基づいて通常バッファ部13の送信キューに積み込み、送信セレクタ17を通して送信する。   When the transmission frame is a normal frame, the transmission frame urgency detection unit 11 loads the transmission frames into the transmission queue of the normal buffer unit 13 based on the input order and transmits the transmission frames through the transmission selector 17.

送信フレームが緊急フレームの場合、送信フレーム緊急度検出部11は送信フレームを緊急バッファ部15の送信キューに積み込むとともに、通常制御部14から現在の送信状況の情報を入手する。送信フレーム緊急度検出部11は、通常フレームを送信していない場合、通常フレーム側の送信をサスペンドし、緊急フレームを送信する。   When the transmission frame is an emergency frame, the transmission frame urgency detection unit 11 loads the transmission frame into the transmission queue of the emergency buffer unit 15 and obtains information on the current transmission status from the normal control unit 14. When the normal frame is not transmitted, the transmission frame urgency level detection unit 11 suspends the transmission on the normal frame side and transmits the emergency frame.

送信フレーム緊急度検出部11は、通常フレームを送信中の場合、既に半分以上のバイト数を転送していた場合、破棄すると再送によってより多くの時間を費やすため、通常フレームの送信完了後に緊急フレームを送信する。この場合、破棄するかしないかの閾値(送信比率)は設定可能であり、0設定の場合には無条件に破棄しないことになる。   The transmission frame urgency level detection unit 11 spends more than half the number of bytes when transmitting a normal frame, and if it is discarded, it spends more time by resending. Send. In this case, a threshold value (transmission ratio) as to whether or not to discard can be set, and when it is set to 0, it is not unconditionally discarded.

送信フレーム緊急度検出部11は、半分未満のバイト数を転送中の場合、送信途中のフレームを破棄し[具体的には、無効なFCS(Frame Check Sequence)値を付加する]、緊急フレームを通常フレームに割り込ませて送信する。破棄された送信フレームは再送制御部12によって、緊急フレーム送信完了後に再度送信される。   When the number of bytes less than half is being transferred, the transmission frame urgency level detection unit 11 discards the frame being transmitted [specifically, an invalid FCS (Frame Check Sequence) value is added], and the urgent frame is transmitted. Interrupt a normal frame and transmit. The discarded transmission frame is transmitted again by the retransmission control unit 12 after the emergency frame transmission is completed.

また、緊急フレームの連続によって、通常フレームキューがオーバフローするのを防ぐために、本実施例では、緊急フレームの連続送信回数を制限するための閾値を有しており。閾値を越えた場合、一旦、通常フレームを送信した後に、緊急フレームの送信を行う。   In addition, in order to prevent the normal frame queue from overflowing due to the continuation of emergency frames, this embodiment has a threshold value for limiting the number of continuous transmissions of emergency frames. When the threshold is exceeded, an emergency frame is transmitted after transmitting a normal frame.

図3はIEEE(Institute of Electrical and Electronic Engineers)802.3フレームフォーマットを示す図である。図3において、IEEE802.3フレームは「宛先アドレス(6byte)」と、「送信元アドレス(6byte)」と、「タイプ(2byte)」と、「送信データ(46〜1500byte)」と、「FCS(4byte)」とから構成されている。   FIG. 3 is a diagram showing an IEEE (Institut of Electrical and Electronic Engineers) 802.3 frame format. In FIG. 3, the IEEE 802.3 frame includes “destination address (6 bytes)”, “source address (6 bytes)”, “type (2 bytes)”, “transmission data (46 to 1500 bytes)”, and “FCS ( 4 bytes) ”.

本実施例では、緊急フレームを識別するために、「タイプ」エリアを使用しており、「タイプ」エリアの値をユニークな値に設定することで、緊急フレームを指定可能としている。尚、本実施例に関与しない機器に接続する場合には、ルータを経由することで、タイプの設定が付け替わるようにする。   In the present embodiment, the “type” area is used to identify the urgent frame, and the urgent frame can be specified by setting the value of the “type” area to a unique value. When connecting to a device not involved in the present embodiment, the type setting is changed via a router.

図4は図1の送信制御装置1の動作を示すフローチャートである。これら図2〜図4を参照して本発明の一実施例による送信制御装置1の緊急フレームの送信動作について説明する。尚、図4に示す処理は送信制御装置1[内部のCPU(中央処理装置)(図示せず)]が記録媒体18のプログラムを実行することで実現可能である。   FIG. 4 is a flowchart showing the operation of the transmission control apparatus 1 of FIG. The emergency frame transmission operation of the transmission control apparatus 1 according to an embodiment of the present invention will be described with reference to FIGS. The processing shown in FIG. 4 can be realized by the transmission control device 1 [internal CPU (central processing unit) (not shown)] executing the program of the recording medium 18.

送信制御装置1は送信フレームが入力されると(図4ステップS1)、送信フレームが緊急フレームであるかどうかを判断する(図4ステップS2)。送信制御装置1は緊急フレームでない場合、緊急フレームの連続送信回数値N(Nは変数)をクリアし(N=0)(図4ステップS3)、そのフレームを通常フレームとして送信する(図4ステップS4)。   When a transmission frame is input (step S1 in FIG. 4), the transmission control device 1 determines whether the transmission frame is an emergency frame (step S2 in FIG. 4). If it is not an urgent frame, the transmission control device 1 clears the continuous transmission count value N (N is a variable) of the urgent frame (N = 0) (step S3 in FIG. 4), and transmits the frame as a normal frame (step in FIG. 4). S4).

送信制御装置1は緊急フレームであった場合、緊急フレームの連続送信回数値Nが閾値(初期設定される値)を超えていないかどうかを判断する(図4ステップS5)。送信制御装置1は閾値を超えている場合、連続送信回数値Nをクリアし(N=0)(図4ステップS6)、通常制御部13に1フレーム送信を許可し(図4ステップS7)、その後に緊急フレームとして送信する(図4ステップS8)。   If it is an urgent frame, the transmission control device 1 determines whether or not the continuous transmission count value N of the urgent frame exceeds a threshold value (initially set value) (step S5 in FIG. 4). When the transmission control device 1 exceeds the threshold value, the continuous transmission count value N is cleared (N = 0) (step S6 in FIG. 4), and one frame transmission is permitted to the normal control unit 13 (step S7 in FIG. 4). Thereafter, it is transmitted as an emergency frame (step S8 in FIG. 4).

送信制御装置1は閾値を超えていない場合、連続送信回数値Nに1プラスし(図4ステップS9)、通常フレームが送信中かどうかを判断する(図4ステップS10)。送信制御装置1は通常フレームが送信中でない場合、緊急フレームをそのまま緊急バッファ部15から送信する(図4ステップS11)。   If the threshold value is not exceeded, the transmission control device 1 adds 1 to the continuous transmission count value N (step S9 in FIG. 4), and determines whether a normal frame is being transmitted (step S10 in FIG. 4). When the normal frame is not being transmitted, the transmission control device 1 transmits the emergency frame as it is from the emergency buffer unit 15 (step S11 in FIG. 4).

通常フレーム送信中の場合、送信中のフレームの送信完了比率を確認し(図4ステップS12)、送信完了比率値M(Mは初期設定値)を超えていないかどうかを判断する(図4ステップS13)。送信完了比率値Mを超えていた(フレームを破棄しないと判断した)場合、送信制御装置1は通常フレームの送信完了を待ち(図4ステップS14)、緊急フレームを送信する(図4ステップS15)。   If a normal frame is being transmitted, the transmission completion ratio of the frame being transmitted is confirmed (step S12 in FIG. 4), and it is determined whether or not the transmission completion ratio value M (M is an initial set value) has been exceeded (step in FIG. 4). S13). If the transmission completion ratio value M has been exceeded (it is determined not to discard the frame), the transmission control device 1 waits for the completion of transmission of the normal frame (step S14 in FIG. 4) and transmits an emergency frame (step S15 in FIG. 4). .

送信制御装置1は送信完了比率値Mを超えていない(フレームを破棄して送信すると判断した)場合、送信中のフレームを破棄(無効なFCSを付加)し(図4ステップS16)、緊急フレームを送信する(図4ステップS17)。その後、送信制御装置1は破棄した通常フレームを再送する(図4ステップ18)。   When the transmission control device 1 does not exceed the transmission completion ratio value M (determined to discard and transmit the frame), the transmission control device 1 discards the frame being transmitted (adds an invalid FCS) (step S16 in FIG. 4), and the emergency frame Is transmitted (step S17 in FIG. 4). Thereafter, the transmission control device 1 retransmits the discarded normal frame (step 18 in FIG. 4).

このように、本実施例では、送信途中のフレームを破棄して緊急フレームを優先的に送信することができるので、緊急に送信したいフレームの送信遅延を小さくすることができる。   In this way, in this embodiment, the frame in the middle of transmission can be discarded and the emergency frame can be preferentially transmitted, so that the transmission delay of the frame to be transmitted urgently can be reduced.

また、本実施例では、送信フレームを単純に破棄するのではなく、現在の送信状況、つまりフレームを送信中かどうか、送信中のフレームが破棄できる状態かどうか、連続送信回数を越えていないかどうかをそれぞれ判断してから再送制御を行っているので、緊急フレーム送信による影響を少なくすることができる。   In this embodiment, the transmission frame is not simply discarded, but the current transmission status, that is, whether the frame is being transmitted, whether the frame being transmitted can be discarded, and whether the number of continuous transmissions has been exceeded. Since retransmission control is performed after each determination, the influence of emergency frame transmission can be reduced.

本発明の実施の形態による緊急フレーム処理方法を示す図である。It is a figure which shows the emergency frame processing method by embodiment of this invention. 本発明の一実施例による送信制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the transmission control apparatus by one Example of this invention. IEEE802.3フレームフォーマットを示す図である。It is a figure which shows IEEE802.3 frame format. 図1の送信制御装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the transmission control apparatus of FIG. 従来例による緊急フレーム処理方法を示す図である。It is a figure which shows the emergency frame processing method by a prior art example.

符号の説明Explanation of symbols

1 送信制御装置
11 送信フレーム緊急度検出部
12 再送制御部
13 通常バッファ部
14 通常制御部
15 緊急バッファ部
16 緊急制御部
17 送信セレクタ
18 記録媒体
101,104 通常フレーム
102,103 緊急フレーム
1 Transmission control device
11 Transmission Frame Urgency Detection Unit
12 Retransmission control unit
13 Normal buffer
14 Normal control unit
15 Emergency buffer
16 Emergency control unit
17 Send selector
18 Recording medium 101, 104 Normal frame 102, 103 Emergency frame

Claims (13)

フレームの送信処理を行う送信制御装置を含む通信ネットワークであって、
少なくとも障害通知の緊急フレームの送信を検出する検出手段と、前記検出手段で前記緊急フレームの送信が検出された時に現在の送信状況を基に現在送信中のフレームを破棄して前記緊急フレームを送信するかどうかを判断する判断手段と、前記判断手段が前記現在送信中のフレームを破棄して前記緊急フレームを送信すると判断した時に当該緊急フレームを割り込ませて送信する手段と、前記緊急フレームを割り込ませて送信した時に破棄したフレームを当該緊急フレームの送信後に再送する手段とを前記送信制御装置に有することを特徴とする通信ネットワーク。
A communication network including a transmission control device that performs frame transmission processing,
Detecting means for detecting transmission of at least an emergency frame for notification of failure, and transmitting the emergency frame by discarding a frame currently being transmitted based on a current transmission status when the detection means detects transmission of the emergency frame Determining means for determining whether or not to perform, interrupting the emergency frame when the determining means determines to discard the currently transmitted frame and transmit the emergency frame, and interrupting the emergency frame A means for retransmitting a frame discarded when it is transmitted after the emergency frame is transmitted to the transmission control apparatus.
前記判断手段は、フレームを送信中かどうか、送信中のフレームが破棄できる状態かどうか、連続送信回数を越えていないかどうかを基に前記現在送信中のフレームを破棄して前記緊急フレームを送信するかどうかを判断することを特徴とする請求項1記載の通信ネットワーク。   The determination means discards the currently transmitted frame and transmits the emergency frame based on whether the frame is being transmitted, whether the frame being transmitted can be discarded, and whether the number of continuous transmissions has not been exceeded. The communication network according to claim 1, wherein it is determined whether or not to perform. 前記判断手段は、前記送信中のフレームが予め設定された送信完了比率値未満の時に前記送信中のフレームが破棄可能と判断することを特徴とする請求項2記載の通信ネットワーク。   3. The communication network according to claim 2, wherein the determination unit determines that the frame being transmitted can be discarded when the frame being transmitted is less than a preset transmission completion ratio value. 前記判断手段で前記緊急フレームの連続送信回数が予め設定された閾値を超えていると判断された時に通常のフレームの送信を許可し、その後に当該緊急フレームの送信を行うことを特徴とする請求項2または請求項3記載の通信ネットワーク。   The normalization frame transmission is permitted when the determination unit determines that the number of continuous transmissions of the emergency frame exceeds a preset threshold, and then the emergency frame transmission is performed. The communication network according to claim 2 or claim 3. フレームの送信処理を行う送信制御装置であって、
少なくとも障害通知の緊急フレームの送信を検出する検出手段と、前記検出手段で前記緊急フレームの送信が検出された時に現在の送信状況を基に現在送信中のフレームを破棄して前記緊急フレームを送信するかどうかを判断する判断手段と、前記判断手段が前記現在送信中のフレームを破棄して前記緊急フレームを送信すると判断した時に当該緊急フレームを割り込ませて送信する手段と、前記緊急フレームを割り込ませて送信した時に破棄したフレームを当該緊急フレームの送信後に再送する手段とを有することを特徴とする送信制御装置。
A transmission control device that performs frame transmission processing,
Detecting means for detecting transmission of at least an emergency frame for notification of failure, and transmitting the emergency frame by discarding a frame currently being transmitted based on a current transmission status when the detection means detects transmission of the emergency frame Determining means for determining whether or not to perform, interrupting the emergency frame when the determining means determines to discard the currently transmitted frame and transmit the emergency frame, and interrupting the emergency frame And a means for retransmitting a frame discarded when it is transmitted after transmitting the emergency frame.
前記判断手段は、フレームを送信中かどうか、送信中のフレームが破棄できる状態かどうか、連続送信回数を越えていないかどうかを基に前記現在送信中のフレームを破棄して前記緊急フレームを送信するかどうかを判断することを特徴とする請求項5記載の送信制御装置。   The determination means discards the currently transmitted frame and transmits the emergency frame based on whether the frame is being transmitted, whether the frame being transmitted can be discarded, and whether the number of continuous transmissions has not been exceeded. 6. The transmission control apparatus according to claim 5, wherein whether or not to perform the determination is determined. 前記判断手段は、前記送信中のフレームが予め設定された送信完了比率値未満の時に前記送信中のフレームが破棄可能と判断することを特徴とする請求項6記載の送信制御装置。   The transmission control apparatus according to claim 6, wherein the determination unit determines that the frame being transmitted can be discarded when the frame being transmitted is less than a preset transmission completion ratio value. 前記判断手段で前記緊急フレームの連続送信回数が予め設定された閾値を超えていると判断された時に通常のフレームの送信を許可し、その後に当該緊急フレームの送信を行うことを特徴とする請求項6または請求項7記載の送信制御装置。   The normalization frame transmission is permitted when the determination unit determines that the number of continuous transmissions of the emergency frame exceeds a preset threshold, and then the emergency frame transmission is performed. The transmission control device according to claim 6 or 7. フレームの送信処理を行う送信制御装置を含む通信ネットワークに用いられる緊急フレーム処理方法であって、前記送信制御装置側に、少なくとも障害通知の緊急フレームの送信を検出するステップと、前記緊急フレームの送信が検出された時に現在の送信状況を基に現在送信中のフレームを破棄して前記緊急フレームを送信するかどうかを判断するステップと、前記現在送信中のフレームを破棄して前記緊急フレームを送信すると判断した時に当該緊急フレームを割り込ませて送信するステップと、前記緊急フレームを割り込ませて送信した時に破棄したフレームを当該緊急フレームの送信後に再送するステップとを有することを特徴とする緊急フレーム処理方法。   An emergency frame processing method used in a communication network including a transmission control device that performs transmission processing of a frame, the step of detecting at least transmission of an emergency frame of a failure notification to the transmission control device side, and transmission of the emergency frame Determining whether to transmit the urgent frame by discarding the currently transmitted frame based on the current transmission status, and discarding the currently transmitted frame and transmitting the urgent frame An emergency frame process comprising: a step of interrupting and transmitting the emergency frame when it is determined to be transmitted; and a step of retransmitting a frame discarded when the emergency frame is interrupted and transmitted after the emergency frame is transmitted Method. 前記緊急フレームを送信するかどうかを判断するステップは、フレームを送信中かどうか、送信中のフレームが破棄できる状態かどうか、連続送信回数を越えていないかどうかを基に前記現在送信中のフレームを破棄して前記緊急フレームを送信するかどうかを判断することを特徴とする請求項9記載の緊急フレーム処理方法。   The step of determining whether or not to transmit the urgent frame includes the step of transmitting the frame based on whether the frame is being transmitted, whether the frame being transmitted can be discarded, and whether the number of continuous transmissions has not been exceeded. The emergency frame processing method according to claim 9, wherein it is determined whether or not to transmit the emergency frame by discarding the packet. 前記緊急フレームを送信するかどうかを判断するステップは、前記送信中のフレームが予め設定された送信完了比率値未満の時に前記送信中のフレームが破棄可能と判断することを特徴とする請求項10記載の緊急フレーム処理方法。   The step of determining whether or not to transmit the urgent frame determines that the frame being transmitted can be discarded when the frame being transmitted is less than a preset transmission completion ratio value. The emergency frame processing method described. 前記緊急フレームの連続送信回数が予め設定された閾値を超えていると判断された時に通常のフレームの送信を許可し、その後に当該緊急フレームの送信を行うことを特徴とする請求項10または請求項11記載の緊急フレーム処理方法。   11. The normal frame transmission is permitted when it is determined that the number of continuous transmissions of the emergency frame exceeds a preset threshold, and the emergency frame is transmitted thereafter. Item 12. The emergency frame processing method according to Item 11. フレームの送信処理を行う送信制御装置を含む通信ネットワークに用いられる緊急フレーム処理方法のプログラムであって、前記送信制御装置側のコンピュータに、少なくとも障害通知の緊急フレームの送信を検出する処理と、前記緊急フレームの送信が検出された時に現在の送信状況を基に現在送信中のフレームを破棄して前記緊急フレームを送信するかどうかを判断する処理と、前記現在送信中のフレームを破棄して前記緊急フレームを送信すると判断した時に当該緊急フレームを割り込ませて送信する処理と、前記緊急フレームを割り込ませて送信した時に破棄したフレームを当該緊急フレームの送信後に再送する処理とを実行させるためのプログラム。
A program of an emergency frame processing method used in a communication network including a transmission control device that performs transmission processing of a frame, the computer on the transmission control device side detecting at least transmission of an emergency frame of a failure notification, and A process of determining whether or not to transmit the emergency frame by discarding a currently transmitted frame based on a current transmission status when transmission of an emergency frame is detected; and discarding the currently transmitted frame and A program for executing processing for interrupting and transmitting the emergency frame when it is determined to transmit an emergency frame, and processing for retransmitting a frame discarded when interrupting and transmitting the emergency frame after transmission of the emergency frame .
JP2004244518A 2004-08-25 2004-08-25 Communication network, transmission controller, emergency frame processing method to be used for the same and its program Pending JP2006067038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004244518A JP2006067038A (en) 2004-08-25 2004-08-25 Communication network, transmission controller, emergency frame processing method to be used for the same and its program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004244518A JP2006067038A (en) 2004-08-25 2004-08-25 Communication network, transmission controller, emergency frame processing method to be used for the same and its program

Publications (1)

Publication Number Publication Date
JP2006067038A true JP2006067038A (en) 2006-03-09

Family

ID=36113153

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004244518A Pending JP2006067038A (en) 2004-08-25 2004-08-25 Communication network, transmission controller, emergency frame processing method to be used for the same and its program

Country Status (1)

Country Link
JP (1) JP2006067038A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007286776A (en) * 2006-04-14 2007-11-01 Fujitsu Ltd Data communication program, data communication method, and portable terminal equipment
JP2008172475A (en) * 2007-01-11 2008-07-24 Mitsubishi Electric Corp Information communication device
JP2013121144A (en) * 2011-12-08 2013-06-17 Nippon Telegr & Teleph Corp <Ntt> Packet control method and packet control device
JP2014049935A (en) * 2012-08-31 2014-03-17 Fujitsu Ltd Communication device, and communication method
US10575161B2 (en) 2017-03-07 2020-02-25 Renesas Electronics Corporation Communication system and semiconductor device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007286776A (en) * 2006-04-14 2007-11-01 Fujitsu Ltd Data communication program, data communication method, and portable terminal equipment
JP2008172475A (en) * 2007-01-11 2008-07-24 Mitsubishi Electric Corp Information communication device
JP2013121144A (en) * 2011-12-08 2013-06-17 Nippon Telegr & Teleph Corp <Ntt> Packet control method and packet control device
JP2014049935A (en) * 2012-08-31 2014-03-17 Fujitsu Ltd Communication device, and communication method
US9419738B2 (en) 2012-08-31 2016-08-16 Fujitsu Limited Communication device, method and system for queueing packets to be transmitted
US10575161B2 (en) 2017-03-07 2020-02-25 Renesas Electronics Corporation Communication system and semiconductor device

Similar Documents

Publication Publication Date Title
US7817558B2 (en) Flow based flow control in an ethernet switch backplane
EP1871031B1 (en) Retransmission control method and device
EP2068511A1 (en) Controlling congestion in a packet switched data network
JP5120456B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
WO2009058084A1 (en) Efficient flow control in a radio network controller (rnc)
JP2007208571A (en) Communication system, communication device, congestion control method used for them, and its program
US9686716B2 (en) Introducing simple RLC functionality to Node B
JP4174054B2 (en) Method and apparatus for congestion notification in a packet network, informing various congestion factors
EP1569375A1 (en) Method and device for transmitting data according to an ARQ method with variable redundancy
US9137703B2 (en) Technique for handling a data packet stream
JP4624062B2 (en) Communications system
US20090201816A1 (en) Communication device, and flow control method and program product for use in the same
JP2006067038A (en) Communication network, transmission controller, emergency frame processing method to be used for the same and its program
JP6104970B2 (en) Flow control between devices
JP4849270B2 (en) Computer equipment
JP2004056322A (en) Network management apparatus and computer program
JP3158357B2 (en) Retransmission control method
JP4454485B2 (en) Router device, input packet control method used therefor, and program thereof
WO2024017369A1 (en) Data packet processing method and apparatus, electronic device, and readable storage medium
US11962517B2 (en) Communications method, apparatus, and system for recovering lost packets
JP5177860B2 (en) COMMUNICATION MODULE, COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JPH11261632A (en) Band allocation control method
JP2008283435A (en) Ip packet transmission/reception device and ip packet transmission/reception control method
JP3896056B2 (en) Frame processing method and frame processing apparatus
JPH11177618A (en) Congestion control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070712

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090618

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090623

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20091020