JP4273159B2 - Network device and congestion detection method - Google Patents

Network device and congestion detection method Download PDF

Info

Publication number
JP4273159B2
JP4273159B2 JP2007039202A JP2007039202A JP4273159B2 JP 4273159 B2 JP4273159 B2 JP 4273159B2 JP 2007039202 A JP2007039202 A JP 2007039202A JP 2007039202 A JP2007039202 A JP 2007039202A JP 4273159 B2 JP4273159 B2 JP 4273159B2
Authority
JP
Japan
Prior art keywords
time
event
packet data
network
delay time
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 - Fee Related
Application number
JP2007039202A
Other languages
Japanese (ja)
Other versions
JP2008205788A (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.)
NTT Docomo Inc
NEC Corp
Original Assignee
NTT Docomo Inc
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 NTT Docomo Inc, NEC Corp filed Critical NTT Docomo Inc
Priority to JP2007039202A priority Critical patent/JP4273159B2/en
Publication of JP2008205788A publication Critical patent/JP2008205788A/en
Application granted granted Critical
Publication of JP4273159B2 publication Critical patent/JP4273159B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、パケットデータが流れるネットワークの輻輳状態を検出するネットワーク装置及び輻輳検出方法に関する。   The present invention relates to a network device and a congestion detection method for detecting a congestion state of a network through which packet data flows.

従来より、パケットデータが送信される送信元のネットワーク装置と、当該ネットワーク装置から送信されたパケットデータが受信される対向装置との間において、ネットワーク装置から対向装置へパケットデータが送信されるタイミングは、ネットワーク装置から送信されるパケットデータが対向装置にて受信可能かどうかを示すバックプレッシャー等の制御信号が対向装置からネットワーク装置へ送信され、送信された制御信号に基づいて制御されている。つまり、対向装置にてパケットデータの受信が不可能である場合、例えば、対向装置の次段に設けられた装置への送信ができない状態により、対向装置内でパケットデータが滞留してしまっている場合等に、輻輳状態であると判断して、ネットワーク装置へ受信不可能である旨が通知される。   Conventionally, the timing at which packet data is transmitted from the network device to the opposite device between the transmission source network device to which the packet data is transmitted and the opposite device from which the packet data transmitted from the network device is received is A control signal such as back pressure indicating whether or not packet data transmitted from the network device can be received by the opposite device is transmitted from the opposite device to the network device, and is controlled based on the transmitted control signal. In other words, when packet data cannot be received by the opposite device, for example, packet data stays in the opposite device due to a state where transmission to the device provided in the next stage of the opposite device is not possible. In some cases, the network device is determined to be in a congested state and is notified to the network device that reception is impossible.

このパケットデータが流れるネットワークの輻輳状態を検出するには、様々な方法が考えられている。そのうち1つとして、パケットデータの滞留状態に基づいて輻輳状態を検出する方法が用いられている。これは、当該ネットワークに接続されたネットワーク装置内に設けられたバッファ内にどれだけのパケットデータが滞留しているかというバッファ使用率を用いて計算する方法である。この方法においては、バッファに予め設定された閾値以上のパケットデータが格納された場合、輻輳状態と判断して上位装置に通知するものが一般的に用いられている。   Various methods are considered to detect the congestion state of the network through which the packet data flows. As one of them, a method of detecting a congestion state based on the staying state of packet data is used. This is a calculation method using a buffer usage rate indicating how much packet data is retained in a buffer provided in a network device connected to the network. In this method, when packet data exceeding a preset threshold value is stored in a buffer, it is generally used that determines a congestion state and notifies the host device.

しかし、この方法においては、ネットワーク上をバースト的にパケットデータが転送されてきた場合、ネットワーク装置にて受信されたパケットデータのバッファへの滞留量が、瞬間的に閾値を超えてしまう可能性が考えられ、定常的な輻輳状態を判断する方法としては適しているとは言えない。   However, in this method, when packet data is transferred in bursts over the network, the amount of packet data received in the network device in the buffer may momentarily exceed the threshold value. It is conceivable and cannot be said to be a suitable method for judging a steady congestion state.

そこで、ネットワークに接続された送信元ノードからパケットデータが送信された時刻をタイムスタンプとして当該パケットデータに埋め込み、ネットワークを介してパケットデータが受信される送信先ノードにてタイムスタンプを抽出し、抽出されたタイムスタンプ、つまり送信時刻と現在の時刻、つまり受信時刻とを比較することにより、当該パケットデータが送信元ノードから送信されてから送信先ノードにて受信されるまでの時間を計算し、ネットワークの輻輳状態を判断する方法が考えられている(例えば、特許文献1,2参照。)。
特開2005−269364号公報 特開平05−007224号公報
Therefore, the time when the packet data is transmitted from the source node connected to the network is embedded in the packet data as a time stamp, and the time stamp is extracted and extracted at the destination node where the packet data is received via the network. By comparing the time stamp, that is, the transmission time and the current time, that is, the reception time, the time from when the packet data is transmitted from the transmission source node to reception at the transmission destination node is calculated, A method of determining a congestion state of a network has been considered (for example, see Patent Documents 1 and 2).
JP 2005-269364 A JP 05-007224 A

しかしながら、特許文献1,2に記載された方法においては、送信元ノードにて送信されるパケットデータに送信時刻をタイムスタンプとして埋め込まなければならないという問題点がある。また、送信先ノードにて受信されたパケットデータからタイムスタンプを抽出しなければならないという問題点がある。また、送信先ノードにて抽出されたタイムスタンプと受信時刻とを比較しなければならないという問題点がある。さらに、上述した手段を備えた送信元ノードと送信先ノードとを組み合わせなければ、ネットワークの輻輳状態が判断できないという問題点がある。   However, the methods described in Patent Documents 1 and 2 have a problem that the transmission time must be embedded as a time stamp in the packet data transmitted by the transmission source node. There is also a problem that a time stamp must be extracted from packet data received at the destination node. In addition, there is a problem that the time stamp extracted at the transmission destination node must be compared with the reception time. Furthermore, there is a problem that the congestion state of the network cannot be determined unless the source node and destination node having the above-described means are combined.

本発明は、上述したような従来の技術が有する問題点に鑑みてなされたものであって、容易にネットワークの輻輳状態を判断することができるネットワーク装置及び輻輳検出方法を提供することを目的とする。   The present invention has been made in view of the problems of the conventional techniques as described above, and an object of the present invention is to provide a network device and a congestion detection method that can easily determine the congestion state of the network. To do.

上記目的を達成するために本発明は、
ネットワークに接続され、該ネットワーク上を流れるパケットデータを処理するネットワーク装置であって、
受信された前記パケットデータのイベントを、該イベントを実行するイベント処理用時刻と共に登録し、前記イベントが実行された時刻と前記イベント処理用時刻との差を遅延時間として計算し、前記遅延時間が前回計算された遅延時間よりも大きくなった場合、前記ネットワークが輻輳状態であると判断する。
In order to achieve the above object, the present invention provides:
A network device connected to a network and processing packet data flowing over the network,
The received event of the packet data is registered together with an event processing time for executing the event, a difference between the event execution time and the event processing time is calculated as a delay time, and the delay time is calculated. If the delay time calculated last time is greater, it is determined that the network is in a congestion state.

また、受信された前記パケットデータのイベントを、該パケットデータを送信するイベント処理用時刻と共に登録し、前記パケットデータが送信された時刻と前記イベント処理用時刻との差を遅延時間として計算することを特徴とする。   Also, the received event of the packet data is registered together with an event processing time for transmitting the packet data, and a difference between the time when the packet data is transmitted and the event processing time is calculated as a delay time. It is characterized by.

また、カウンタを有し、前記遅延時間が前回計算された遅延時間よりも大きくなった場合、前記カウンタをインクリメントし、前記カウンタの値が所定の閾値以上になった場合に前記ネットワークが輻輳状態であると判断することを特徴とする。   In addition, when the delay time is larger than the previously calculated delay time, the counter is incremented, and the network is in a congested state when the counter value exceeds a predetermined threshold. It is judged that there exists.

また、前記遅延時間が前回計算された遅延時間よりも大きくなってはいない場合、前記カウンタをデクリメントすることを特徴とする。   Further, the counter is decremented when the delay time is not larger than the previously calculated delay time.

また、パケットデータが流れるネットワークの輻輳状態を検出する輻輳検出方法であって、
受信された前記パケットデータのイベントを、該イベントを実行するイベント処理用時刻と共に登録する処理と、
前記イベントが実行された時刻と前記イベント処理用時刻との差を遅延時間として計算する処理と、
前記遅延時間が前回計算された遅延時間よりも大きくなった場合、前記ネットワークが輻輳状態であると判断する処理とを有する。
A congestion detection method for detecting a congestion state of a network through which packet data flows,
A process of registering an event of the received packet data together with an event processing time for executing the event;
A process of calculating a difference between the time when the event is executed and the event processing time as a delay time;
And processing for determining that the network is in a congested state when the delay time becomes larger than the previously calculated delay time.

また、受信された前記パケットデータのイベントを、該パケットデータを送信するイベント処理用時刻と共に登録する処理と、
前記パケットデータが送信された時刻と前記イベント処理用時刻との差を遅延時間として計算する処理とを有することを特徴とする。
A process of registering an event of the received packet data together with an event processing time for transmitting the packet data;
And a process of calculating a difference between the time when the packet data is transmitted and the event processing time as a delay time.

また、前記遅延時間が前回計算された遅延時間よりも大きくなった場合、輻輳状態をカウントするカウンタをインクリメントする処理と、
前記カウンタの値が所定の閾値以上になった場合に前記ネットワークが輻輳状態であると判断する処理とを有することを特徴とする。
Further, when the delay time becomes larger than the previously calculated delay time, a process of incrementing a counter for counting the congestion state;
And a process of determining that the network is in a congested state when the value of the counter is equal to or greater than a predetermined threshold value.

また、前記遅延時間が前回計算された遅延時間よりも大きくなってはいない場合、前記カウンタをデクリメントする処理と有することを特徴とする。   Further, when the delay time is not larger than the previously calculated delay time, the counter is decremented.

上記のように構成された本発明においては、受信されたパケットデータのイベントが、当該イベントを実行するイベント処理用時刻と共に登録され、当該イベントが実行された時刻とイベント処理用時刻との差が遅延時間として計算され、計算された遅延時間が前回計算された遅延時間よりも大きくなった場合、ネットワークが輻輳状態であると判断される。   In the present invention configured as described above, the event of the received packet data is registered together with the event processing time for executing the event, and the difference between the time when the event is executed and the event processing time is When the calculated delay time is larger than the previously calculated delay time, it is determined that the network is in a congestion state.

これにより、送信元の装置と送信先の装置とにおいて、共通の輻輳状態を判断する特別な信号やビットを設ける必要がない。   Thus, it is not necessary to provide a special signal or bit for determining a common congestion state between the transmission source device and the transmission destination device.

以上説明したように本発明においては、受信されたパケットデータのイベントを、当該イベントを実行するイベント処理用時刻と共に登録し、当該イベントが実行された時刻とイベント処理用時刻との差を遅延時間として計算し、計算された遅延時間が前回計算された遅延時間よりも大きくなった場合、ネットワークが輻輳状態であると判断する構成としたため、容易にネットワークの輻輳状態を判断することができる。   As described above, in the present invention, an event of received packet data is registered together with an event processing time for executing the event, and the difference between the time when the event is executed and the event processing time is set as a delay time. When the calculated delay time becomes larger than the previously calculated delay time, the network is determined to be in a congested state, so that the network congestion state can be easily determined.

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

図1は、無線通信システムにおける本発明のネットワーク装置の実施の一形態を示す図である。   FIG. 1 is a diagram showing an embodiment of a network device of the present invention in a wireless communication system.

本形態は図1に示すように、コアネットワーク101と、無線基地局制御装置102と、無線基地局103−1〜103−nとから構成されている。無線基地局103−1〜103−nは、無線通信を利用する利用者が所持する無線端末(不図示)との間にて無線信号の送受信を行う。無線基地局制御装置102は、無線基地局103−1〜103−nの制御を行う。また、コアネットワーク101は、無線基地局制御装置102が接続されたネットワークである。ここで、本発明のネットワーク装置は、無線基地局制御装置102であっても良いし、また、無線基地局103−1〜103−nであっても良いし、また双方であっても良い。   As shown in FIG. 1, the present embodiment includes a core network 101, a radio base station control apparatus 102, and radio base stations 103-1 to 103-n. The radio base stations 103-1 to 103-n transmit and receive radio signals to and from a radio terminal (not shown) possessed by a user who uses radio communication. The radio base station control apparatus 102 controls the radio base stations 103-1 to 103-n. The core network 101 is a network to which the radio base station control device 102 is connected. Here, the network apparatus of the present invention may be the radio base station control apparatus 102, the radio base stations 103-1 to 103-n, or both.

図2は、本発明のネットワーク装置の一構成例を示す図である。   FIG. 2 is a diagram illustrating a configuration example of the network apparatus according to the present invention.

本構成は図2に示すように、時刻カウント部211と、イベント管理部212と、輻輳検出部213と、イベントテーブル214と、イベント登録部215と、イベント実行部216と、受信バッファ217と、受信処理部218と、送信処理部219と、送信バッファ220とから構成されたネットワーク装置201であり、動作の元となるクロック信号を発生する信号発生装置202と、ネットワーク装置201との間にてパケットデータの送受信を行う対向装置203とに接続されている。   As shown in FIG. 2, this configuration includes a time count unit 211, an event management unit 212, a congestion detection unit 213, an event table 214, an event registration unit 215, an event execution unit 216, a reception buffer 217, The network device 201 includes a reception processing unit 218, a transmission processing unit 219, and a transmission buffer 220, and is connected between the signal generation device 202 that generates a clock signal that is an operation source and the network device 201. It is connected to the opposite device 203 that transmits and receives packet data.

時刻カウント部211は、信号発生装置202にて発生したクロック信号を受信し、受信されたクロック信号に基づいて時刻Mt_timeを更新する。ここでMt_timeは、ネットワーク装置201内のマスター時刻として使用される定期的に更新される時刻であり、単位を1/1000[sec]程度とする。   The time count unit 211 receives the clock signal generated by the signal generation device 202 and updates the time Mt_time based on the received clock signal. Here, Mt_time is a periodically updated time used as the master time in the network apparatus 201, and its unit is about 1/1000 [sec].

イベント管理部212は、時刻カウント部211にて更新されたMt_timeを入手し、ネットワーク装置201内のイベント処理用時刻であるEv_timeを更新する。Ev_timeの更新は、イベントが処理されるべき時刻にそのイベントが処理できない場合、登録されているイベントが全て処理完了している状態でMt_timeの更新が行われた時に行われる。つまり、次段の装置からバックプレッシャー等の送信制御信号が送信され、その送信制御信号がネットワーク装置201にて受信された場合(輻輳時)、イベントを処理することができないため、Ev_timeが更新されない。また、非輻輳時には、登録されているイベントは全て時間内に実行完了されるため、常にMt_time=Ev_timeとなる。   The event management unit 212 acquires Mt_time updated by the time counting unit 211 and updates Ev_time, which is the event processing time in the network device 201. If the event cannot be processed at the time when the event should be processed, the Ev_time is updated when the Mt_time is updated while all the registered events have been processed. That is, when a transmission control signal such as back pressure is transmitted from the next-stage device and the transmission control signal is received by the network device 201 (during congestion), the event cannot be processed, and thus Ev_time is not updated. . Also, during non-congestion, since all registered events are completed in time, Mt_time = Ev_time is always established.

輻輳検出部213は、時刻カウント部211にて更新されたMt_timeと、イベント管理部212にて更新されたEv_timeとを比較して、ネットワークの輻輳状態を検出する。   The congestion detection unit 213 compares the Mt_time updated by the time counting unit 211 with the Ev_time updated by the event management unit 212, and detects the congestion state of the network.

受信バッファ217は、対向装置203から送信されたパケットデータを受信し、一時的に格納する。   The reception buffer 217 receives the packet data transmitted from the opposite device 203 and temporarily stores it.

受信処理部218は、受信バッファ217に一時的に格納されたパケットデータについて、エラー検出等の所定の処理を行う。   The reception processing unit 218 performs predetermined processing such as error detection on the packet data temporarily stored in the reception buffer 217.

送信処理部219は、受信処理部218にて処理されたパケットデータを送信先装置(不図示)へ送信するためのヘッダ付与等の送信処理を行う。   The transmission processing unit 219 performs transmission processing such as adding a header for transmitting the packet data processed by the reception processing unit 218 to a transmission destination device (not shown).

イベント登録部215は、送信処理部219にて処理されたパケットデータの送信イベントをイベントテーブル214に登録する。   The event registration unit 215 registers the transmission event of the packet data processed by the transmission processing unit 219 in the event table 214.

図3は、送信イベントが登録された図2に示したイベントテーブル214の一構成例を示す図である。   FIG. 3 is a diagram showing a configuration example of the event table 214 shown in FIG. 2 in which transmission events are registered.

図2に示したイベントテーブル214には図3に示すように、送信すべきパケットデータのイベントが、登録時刻にそれぞれ対応付けられて格納されている。ここでの登録時刻は、前述したEv_timeとなる。   As shown in FIG. 3, the event table 214 shown in FIG. 2 stores packet data events to be transmitted in association with registration times. The registration time here is Ev_time described above.

イベント実行部216は、イベントテーブル214に登録されている送信イベントをイベント管理部212にて更新されたEv_timeに基づいて実行する。   The event execution unit 216 executes the transmission event registered in the event table 214 based on Ev_time updated by the event management unit 212.

送信バッファ220は、送信処理部219にて送信処理されたパケットデータを一時的に格納する。   The transmission buffer 220 temporarily stores packet data that has been subjected to transmission processing by the transmission processing unit 219.

以下に、上記のように構成されたネットワーク装置における輻輳検出方法について説明する。   Hereinafter, a congestion detection method in the network apparatus configured as described above will be described.

図4は、図2に示したネットワーク装置201における輻輳検出方法を説明するためのフローチャートである。ここで図4は、主に輻輳検出部213における輻輳検出方法を説明するためのフローチャートである。   FIG. 4 is a flowchart for explaining a congestion detection method in the network device 201 shown in FIG. Here, FIG. 4 is a flowchart for mainly explaining a congestion detection method in the congestion detection unit 213.

対向装置203から送信されたパケットデータがネットワーク装置201の受信バッファ217に格納されると、受信処理部218にてエラー検出等の所定の処理が行われる。   When the packet data transmitted from the opposite device 203 is stored in the reception buffer 217 of the network device 201, the reception processing unit 218 performs predetermined processing such as error detection.

受信処理部218にてエラー検出等の所定の処理が行われたパケットデータは、送信処理部219にてヘッダ付与等の送信処理が行われると同時に、イベント登録部215によって当該パケットデータの送信イベントがイベントテーブル214に登録される。ここでは、図3に示した例のように、イベントA〜Dが時刻「100」で登録され、また、イベントE〜Gが時刻「101」で登録され、さらに、イベントH〜Kが時刻「102」で登録されたとする。このイベントと登録時刻との関係は、従来の技術を用いたものであり、例えば、予め設定された送信速度に基づいて設定されるものである。さらなる具体例を挙げると、ある時間間隔、例えば2msの間隔で、所定の個数のパケットデータ、例えば3つのパケットデータを送信する送信速度が設定されている場合、パケットデータが3つ単位で同じ登録時刻となる。   The packet data subjected to predetermined processing such as error detection in the reception processing unit 218 is subjected to transmission processing such as header addition in the transmission processing unit 219, and at the same time, the event registration unit 215 performs a transmission event of the packet data. Is registered in the event table 214. Here, as in the example shown in FIG. 3, events A to D are registered at time “100”, events E to G are registered at time “101”, and events H to K are further registered at time “100”. 102 ”. The relationship between the event and the registration time is based on a conventional technique, and is set based on, for example, a preset transmission speed. As a further specific example, if a transmission rate for transmitting a predetermined number of packet data, for example, three packet data, is set at a certain time interval, for example, 2 ms, the packet data is registered in the same unit in units of three. It is time.

その後、時刻カウント部211にて更新されたMt_timeと、イベントテーブル214に登録されたイベントのEv_timeとが、輻輳検出部213にて比較される(ステップS1)。   Thereafter, the congestion detection unit 213 compares Mt_time updated by the time counting unit 211 and Ev_time of the event registered in the event table 214 (step S1).

Mt_timeがEv_timeよりも大きくはないと判断された場合、「delayの保存値」(後述)がクリアされる(ステップS2)。   If it is determined that Mt_time is not greater than Ev_time, “delay value” (described later) is cleared (step S2).

図5は、Mt_timeがEv_timeよりも大きくはないと判断された場合のMt_timeとEv_timeとの遷移の様子を示す図である。   FIG. 5 is a diagram illustrating a transition state between Mt_time and Ev_time when it is determined that Mt_time is not larger than Ev_time.

図5に示すように、各時刻で実行されるべきイベントが全て時間内に完了しているため、各時刻に処理を行わないIdle timeが存在している。Mt_timeの更新がIdle time中であるため、Mt_timeの更新と同時にEv_timeの更新が行われている。このように、非輻輳時は常にMt_time=Ev_timeとなる。   As shown in FIG. 5, since all the events to be executed at each time are completed within the time, there is an idle time that is not processed at each time. Since the update of Mt_time is in the idle time, Ev_time is updated simultaneously with the update of Mt_time. In this way, Mt_time = Ev_time is always satisfied when there is no congestion.

図6は、非輻輳時の各イベント実行と時刻との関係を示す図である。   FIG. 6 is a diagram illustrating the relationship between the execution of each event and the time during non-congestion.

図6に示すように、Ev_timeが「100」で登録されたイベントA〜Dは、Mt_timeが「100」の時点で実行されており、また、Ev_timeが「101」で登録されたイベントE〜Gは、Mt_timeが「101」の時点で実行されており、さらに、Ev_timeが「102」で登録されたイベントH〜Kは、Mt_timeが「102」の時点で実行されており、常にMt_time=Ev_timeでイベントが実行されている。   As shown in FIG. 6, the events A to D registered with Ev_time “100” are executed when the Mt_time is “100”, and the events E to G registered with the Ev_time “101” are executed. Are executed when Mt_time is “101”, and events H to K registered when Ev_time is “102” are executed when Mt_time is “102”, and always Mt_time = Ev_time. An event is being executed.

一方、Mt_timeがEv_timeよりも大きいと判断された場合は、Ev_timeの遅れが計算される(ステップS3)。これは、登録されたEv_timeにイベントが処理しきれていない状態である。この遅延時間を「delay」とすると、delay=Mt_time−Ev_timeで計算される。   On the other hand, when it is determined that Mt_time is larger than Ev_time, the delay of Ev_time is calculated (step S3). This is a state in which events are not processed in the registered Ev_time. When this delay time is “delay”, it is calculated by delay = Mt_time−Ev_time.

図7及び図8は、Mt_timeがEv_timeよりも大きいと判断された場合、つまり、イベントの実行遅延が発生した場合のMt_timeとEv_timeとの遷移の様子を示す図である。   7 and 8 are diagrams illustrating a transition state between Mt_time and Ev_time when it is determined that Mt_time is larger than Ev_time, that is, when an event execution delay occurs.

図7に示すように、時刻101でイベントが時間内に処理しきれていないために、時刻102のイベントの実行時刻Ev_timeがMt_timeに対して遅れている。図7では時刻102と時刻103とでのイベント処理が単位時間内で完了しているため、時刻105でMt_timeにEv_timeが追いついている。   As shown in FIG. 7, since the event has not been processed in time at time 101, the execution time Ev_time of the event at time 102 is delayed with respect to Mt_time. In FIG. 7, since the event processing at time 102 and time 103 is completed within the unit time, Ev_time catches up with Mt_time at time 105.

一方、図8に示すように、定常的にイベント処理が追いつかなくなった場合、すなわち輻輳状態の場合では、時刻101でEv_timeの遅延が発生しており、さらに時刻102のイベント処理も単位時間内で完了していないため、時刻103での遅延が大きくなっている。さらに、時刻104以降も処理が間に合っていないため、時間の経過と共にMt_timeとEv_timeとの差は大きくなっていく。ここでは、Mt_timeとEv_timeとの差がMt_timeが経過するに伴い、大きくなっている場合に輻輳状態であると判断する。   On the other hand, as shown in FIG. 8, when event processing cannot keep up, that is, in a congested state, a delay of Ev_time occurs at time 101, and event processing at time 102 is also performed within a unit time. Since it has not been completed, the delay at time 103 is large. Furthermore, since the processing is not in time after time 104, the difference between Mt_time and Ev_time increases with the passage of time. Here, when the difference between Mt_time and Ev_time increases as Mt_time elapses, it is determined that the congestion state is present.

図9は、輻輳時の各イベント実行と時刻との関係を示す図である。   FIG. 9 is a diagram showing the relationship between the execution of each event and the time at the time of congestion.

図9に示すように、Ev_timeが「100」で登録されたイベントA〜HのうちイベントF〜Hが、Mt_timeが「100」の時点で実行しきれずに、次のイベント実行時刻であるMt_timeが「101」の時点で実行されている。また、Ev_timeが「101」で登録されたイベントI〜Kについては、イベントF〜Hの実行遅延の影響を受け、イベントKが、Mt_timeが「101」の時点で実行しきれずに、次のイベント実行時刻であるMt_timeが「102」の時点で実行されている。   As shown in FIG. 9, among the events A to H registered with Ev_time “100”, the events F to H cannot be executed when the Mt_time is “100”, and the next event execution time Mt_time is It is executed at the time of “101”. The events I to K registered with Ev_time “101” are affected by the execution delay of the events F to H, and the event K cannot be executed when the Mt_time is “101”. It is executed when the execution time Mt_time is “102”.

ステップS3にてEv_timeの遅れが計算されると、このEv_timeの遅れが「delayの保存値」よりも大きくなっているかどうかが判断される(ステップS4)。この「delayの保存値」とは、前回計算されたdelayの値である。つまり、Ev_timeの遅れが積み上げられることにより、過去よりも大きくなっているかどうかが判断されることとなる。   When the delay of Ev_time is calculated in step S3, it is determined whether or not the delay of Ev_time is larger than the “delay value” (step S4). The “delayed value of delay” is a delay value calculated last time. That is, it is determined whether or not the delay of Ev_time is larger than the past by accumulating the delay of Ev_time.

Ev_timeの遅れが「delayの保存値」よりも大きくなっていると判断された場合、現在のEv_timeの遅れが「delayの保存値」として更新されて保存される(ステップS5)。これにより、次回の比較時に最新の「delayの保存値」が用いられることとなる。   If it is determined that the Ev_time delay is greater than the “delay stored value”, the current Ev_time delay is updated and stored as the “delay stored value” (step S5). As a result, the latest “delay stored value” is used in the next comparison.

そして、輻輳状態をカウントする輻輳カウンタがインクリメントされる(ステップS6)。この輻輳カウンタは、輻輳が発生している場合、1つずつ増加していき、また、非輻輳時である処理が間に合っている場合は、0を最小として1つずつ減少するカウンタであり、輻輳検出部213内に設けられたものであっても良い。   Then, a congestion counter that counts the congestion state is incremented (step S6). This congestion counter is a counter that increases one by one when congestion occurs, and decreases one by one with a minimum of 0 when processing in time of non-congestion is in time. It may be provided in the detection unit 213.

その後、インクリメントされた輻輳カウンタの値が、予め設定された閾値以上であるかどうかが判断される(ステップS7)。この閾値は任意で設定可能な値である。   Thereafter, it is determined whether or not the incremented congestion counter value is equal to or greater than a preset threshold value (step S7). This threshold value can be arbitrarily set.

輻輳カウンタの値が閾値以上であると判断された場合、上位装置(不図示)や対向装置203へ輻輳状態であることが通知される(ステップS8)。   When it is determined that the value of the congestion counter is equal to or greater than the threshold value, the host device (not shown) and the opposite device 203 are notified of the congestion state (step S8).

一方、輻輳カウンタの値が閾値以上ではないと判断された場合は、何も処理は行われない。   On the other hand, if it is determined that the value of the congestion counter is not greater than or equal to the threshold value, no processing is performed.

また、ステップS4にて、Ev_timeの遅れが「delayの保存値」よりも大きくなっていないと判断された場合は、輻輳カウンタの値が0よりも大きいかどうかが判断される(ステップS9)。   If it is determined in step S4 that the delay of Ev_time is not greater than the “delay stored value”, it is determined whether or not the value of the congestion counter is greater than 0 (step S9).

輻輳カウンタの値が0よりも大きいと判断された場合、輻輳カウンタの値がデクリメントされる(ステップS10)。   If it is determined that the congestion counter value is greater than 0, the congestion counter value is decremented (step S10).

一方、輻輳カウンタの値が0よりも大きくはない、つまり0であると判断された場合は、何も処理は行われない。   On the other hand, if it is determined that the value of the congestion counter is not greater than 0, that is, 0, no processing is performed.

以上により、処理すべきイベントの処理時刻の遅延状態に基づいて、次段へ接続されているネットワークの輻輳状態を認識することができる。さらに、輻輳カウンタを用いることにより、バースト的に発生する輻輳状態のみならず、定常的な輻輳状態の認識が可能となる。   As described above, the congestion state of the network connected to the next stage can be recognized based on the delay state of the processing time of the event to be processed. Furthermore, by using a congestion counter, it is possible to recognize not only a congestion state that occurs in a burst manner but also a steady congestion state.

無線通信システムにおける本発明のネットワーク装置の実施の一形態を示す図である。It is a figure which shows one Embodiment of the network apparatus of this invention in a radio | wireless communications system. 本発明のネットワーク装置の一構成例を示す図である。It is a figure which shows the example of 1 structure of the network apparatus of this invention. 送信イベントが登録された図2に示したイベントテーブルの一構成例を示す図である。It is a figure which shows one structural example of the event table shown in FIG. 2 with which the transmission event was registered. 図2に示したネットワーク装置における輻輳検出方法を説明するためのフローチャートである。3 is a flowchart for explaining a congestion detection method in the network apparatus shown in FIG. 2. Mt_timeがEv_timeよりも大きくはないと判断された場合のMt_timeとEv_timeとの遷移の様子を示す図である。It is a figure which shows the mode of a transition between Mt_time and Ev_time when it is judged that Mt_time is not larger than Ev_time. 非輻輳時の各イベント実行と時刻との関係を示す図である。It is a figure which shows the relationship between each event execution at the time of non-congestion, and time. Mt_timeがEv_timeよりも大きいと判断された場合、つまり、イベントの実行遅延が発生した場合のMt_timeとEv_timeとの遷移の様子を示す図である。It is a figure which shows the mode of a transition between Mt_time and Ev_time when it is judged that Mt_time is larger than Ev_time, ie, when the execution delay of an event generate | occur | produced. Mt_timeがEv_timeよりも大きいと判断された場合、つまり、イベントの実行遅延が発生した場合のMt_timeとEv_timeとの遷移の様子を示す図である。It is a figure which shows the mode of a transition between Mt_time and Ev_time when it is judged that Mt_time is larger than Ev_time, ie, when the execution delay of an event generate | occur | produced. 輻輳時の各イベント実行と時刻との関係を示す図である。It is a figure which shows the relationship between each event execution at the time of congestion, and time.

符号の説明Explanation of symbols

101 コアネットワーク
102 無線基地局制御装置
103−1〜103−n 無線基地局
201 ネットワーク装置
202 信号発生装置
203 対向装置
211 時刻カウント部
212 イベント管理部
213 輻輳検出部
214 イベントテーブル
215 イベント登録部
216 イベント実行部
217 受信バッファ
218 受信処理部
219 送信処理部
220 送信バッファ
DESCRIPTION OF SYMBOLS 101 Core network 102 Wireless base station control apparatus 103-1 to 103-n Wireless base station 201 Network apparatus 202 Signal generator 203 Opposite apparatus 211 Time count part 212 Event management part 213 Congestion detection part 214 Event table 215 Event registration part 216 Event Execution unit 217 reception buffer 218 reception processing unit 219 transmission processing unit 220 transmission buffer

Claims (8)

ネットワークに接続され、該ネットワーク上を流れるパケットデータを処理するネットワーク装置であって、
受信された前記パケットデータのイベントを、該イベントを実行するイベント処理用時刻と共に登録し、前記イベントが実行された時刻と前記イベント処理用時刻との差を遅延時間として計算し、前記遅延時間が前回計算された遅延時間よりも大きくなった場合、前記ネットワークが輻輳状態であると判断するネットワーク装置。
A network device connected to a network and processing packet data flowing over the network,
The received event of the packet data is registered together with an event processing time for executing the event, a difference between the event execution time and the event processing time is calculated as a delay time, and the delay time is calculated. A network device that determines that the network is congested when the delay time calculated last time is greater.
請求項1に記載のネットワーク装置において、
受信された前記パケットデータのイベントを、該パケットデータを送信するイベント処理用時刻と共に登録し、前記パケットデータが送信された時刻と前記イベント処理用時刻との差を遅延時間として計算することを特徴とするネットワーク装置。
The network device according to claim 1,
The received event of the packet data is registered together with an event processing time for transmitting the packet data, and a difference between the time when the packet data is transmitted and the event processing time is calculated as a delay time. Network device.
請求項1または請求項2に記載のネットワーク装置において、
カウンタを有し、前記遅延時間が前回計算された遅延時間よりも大きくなった場合、前記カウンタをインクリメントし、前記カウンタの値が所定の閾値以上になった場合に前記ネットワークが輻輳状態であると判断することを特徴とするネットワーク装置。
The network device according to claim 1 or 2,
The counter is incremented when the delay time is greater than the previously calculated delay time, and the network is in a congested state when the counter value exceeds a predetermined threshold A network device characterized by determining.
請求項3に記載のネットワーク装置において、
前記遅延時間が前回計算された遅延時間よりも大きくなってはいない場合、前記カウンタをデクリメントすることを特徴とするネットワーク装置。
The network device according to claim 3, wherein
The network device, wherein the counter is decremented when the delay time is not greater than the previously calculated delay time.
パケットデータが流れるネットワークの輻輳状態を検出する輻輳検出方法であって、
受信された前記パケットデータのイベントを、該イベントを実行するイベント処理用時刻と共に登録する処理と、
前記イベントが実行された時刻と前記イベント処理用時刻との差を遅延時間として計算する処理と、
前記遅延時間が前回計算された遅延時間よりも大きくなった場合、前記ネットワークが輻輳状態であると判断する処理とを有する輻輳検出方法。
A congestion detection method for detecting a congestion state of a network through which packet data flows,
A process of registering an event of the received packet data together with an event processing time for executing the event;
A process of calculating a difference between the time when the event is executed and the event processing time as a delay time;
A congestion detection method comprising: determining that the network is in a congestion state when the delay time is greater than a previously calculated delay time.
請求項5に記載の輻輳検出方法において、
受信された前記パケットデータのイベントを、該パケットデータを送信するイベント処理用時刻と共に登録する処理と、
前記パケットデータが送信された時刻と前記イベント処理用時刻との差を遅延時間として計算する処理とを有することを特徴とする輻輳検出方法。
The congestion detection method according to claim 5,
Processing for registering an event of the received packet data together with an event processing time for transmitting the packet data;
A congestion detection method comprising: calculating a difference between a time at which the packet data was transmitted and the event processing time as a delay time.
請求項5または請求項6に記載の輻輳検出方法において、
前記遅延時間が前回計算された遅延時間よりも大きくなった場合、輻輳状態をカウントするカウンタをインクリメントする処理と、
前記カウンタの値が所定の閾値以上になった場合に前記ネットワークが輻輳状態であると判断する処理とを有することを特徴とするネットワーク装置。
In the congestion detection method according to claim 5 or 6,
When the delay time becomes larger than the previously calculated delay time, a process of incrementing a counter that counts the congestion state;
And a process of determining that the network is in a congested state when the value of the counter is equal to or greater than a predetermined threshold value.
請求項7に記載の輻輳検出方法において、
前記遅延時間が前回計算された遅延時間よりも大きくなってはいない場合、前記カウンタをデクリメントする処理と有することを特徴とするネットワーク装置。
The congestion detection method according to claim 7,
And a process of decrementing the counter when the delay time is not greater than the previously calculated delay time.
JP2007039202A 2007-02-20 2007-02-20 Network device and congestion detection method Expired - Fee Related JP4273159B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007039202A JP4273159B2 (en) 2007-02-20 2007-02-20 Network device and congestion detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007039202A JP4273159B2 (en) 2007-02-20 2007-02-20 Network device and congestion detection method

Publications (2)

Publication Number Publication Date
JP2008205788A JP2008205788A (en) 2008-09-04
JP4273159B2 true JP4273159B2 (en) 2009-06-03

Family

ID=39782810

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007039202A Expired - Fee Related JP4273159B2 (en) 2007-02-20 2007-02-20 Network device and congestion detection method

Country Status (1)

Country Link
JP (1) JP4273159B2 (en)

Also Published As

Publication number Publication date
JP2008205788A (en) 2008-09-04

Similar Documents

Publication Publication Date Title
US7852820B2 (en) Systems and methods for reducing data collisions in wireless network communications
US7965738B2 (en) System and method for adaptive frame size management in a wireless multihop network
JP3585823B2 (en) Wireless communication system and timeout value updating method thereof
US11057400B2 (en) Device and method for detecting attack in network
CN111357318A (en) Method and apparatus for synchronization between different data packet streams
US20190174356A1 (en) Data transmission method, data receiving device, and data sending device
US7792026B2 (en) Method of calculating a time period to wait for missing data packets
US8274889B2 (en) Method, system and computer program product involving congestion detection in ethernet
JP2006352858A (en) Method and equipment for distinction of loss type of packet
JP6010903B2 (en) Wireless communication apparatus, wireless communication method, and wireless communication program
EP3393085B1 (en) Method and device for time sequence data detection
CN114009144A (en) Packet delay budget determination for TSN traffic forwarding
CN116260772A (en) Bridge end-to-end deterministic forwarding method, bridge transmitting end and receiving end
KR101417459B1 (en) An improved data processing method and system on gateway used in real-time communication within vehicle components
JP4273159B2 (en) Network device and congestion detection method
TW200423626A (en) Terminating frame reception
CN104135401B (en) The time delay detecting method and device of a kind of end to end network
WO2014171543A1 (en) Data transmission device, data transmission method, and program therefor
JP4563210B2 (en) Communication control method, communication node, and communication system
KR101411782B1 (en) Terminal device with multi communication interface and method for controlling communication of the ternimal device
CN103747479B (en) Wireless communications method and Wireless Telecom Equipment
Sun et al. An extensible frame structure for time division multiple access medium access control in vehicular ad‐hoc networks
US20210006952A1 (en) Server, communication system, communication method and program
CN105577570A (en) Algorithm supporting service message sequential logic
CN111294864A (en) Wireless communication method and related wireless device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090206

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090218

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090302

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120306

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4273159

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120306

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130306

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130306

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140306

Year of fee payment: 5

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees