JP5743334B2 - Congestion control device - Google Patents

Congestion control device Download PDF

Info

Publication number
JP5743334B2
JP5743334B2 JP2012183826A JP2012183826A JP5743334B2 JP 5743334 B2 JP5743334 B2 JP 5743334B2 JP 2012183826 A JP2012183826 A JP 2012183826A JP 2012183826 A JP2012183826 A JP 2012183826A JP 5743334 B2 JP5743334 B2 JP 5743334B2
Authority
JP
Japan
Prior art keywords
service
congestion
processing
request
restriction
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.)
Active
Application number
JP2012183826A
Other languages
Japanese (ja)
Other versions
JP2014041509A (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.)
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 JP2012183826A priority Critical patent/JP5743334B2/en
Publication of JP2014041509A publication Critical patent/JP2014041509A/en
Application granted granted Critical
Publication of JP5743334B2 publication Critical patent/JP5743334B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Description

本発明は、輻輳状態から復帰・回復する技術に関する。   The present invention relates to a technique for recovering / recovering from a congestion state.

通信システムをはじめとする多くの情報処理システムで、何らかの原因により、想定以上の過重な入力が加わるとその処理が完結せず、それに伴う追加処理が加わるため、システム全体の処理能力が低下するという事象が知られている。一般に、このような事象を輻輳と呼ぶ。   In many information processing systems including communication systems, if an excessive input than expected is added for some reason, the processing will not be completed, and additional processing will be added. The event is known. In general, such an event is called congestion.

どのようなシステムであっても、システムの処理能力を超えた入力がある場合は、その処理が完結せず、輻輳状態になることは自明であるが、一時的に過重な入力が生じて、システムの処理能力が低下すると、外部からの入力が定常の状態に復帰しても、システムの処理能力が低下した輻輳状態が長期にわたって継続するという問題点がある。   In any system, if there is an input that exceeds the processing capacity of the system, it is obvious that the process will not be completed and it will be in a congested state, but temporarily an excessive input occurs, When the processing capacity of the system is lowered, there is a problem that the congestion state where the processing capacity of the system is lowered continues for a long time even when the input from the outside returns to a steady state.

このため、このような輻輳状態が発生し又は発生しそうな場合は、処理すべき入力量を制限し、重大な問題が発生しないよう早急に輻輳状態から定常状態に復帰させる、又は、そのような輻輳状態が発生しないよう予防する制御(輻輳制御)が必要である。   For this reason, when such a congestion state occurs or is likely to occur, the input amount to be processed is limited, and the congestion state is quickly restored to the steady state so that a serious problem does not occur. Control (congestion control) is required to prevent the congestion state from occurring.

一般に、輻輳は、単にシステムの処理能力が低下するという問題だけでなく、様々の想定外の事象が複雑に絡み合って発生するので、ときには致命的な障害になることも考えられる。このため、このような輻輳が発生しないよう、また、万一発生してしまった場合でも、早急に定常状態に復帰することが期待されている。   In general, congestion is not only a problem that the processing capacity of the system is lowered, but also various unexpected events are complicatedly intertwined, and it can sometimes be a fatal obstacle. For this reason, it is expected that such a congestion does not occur, and that even if it occurs, it returns to the steady state as soon as possible.

とくに近年は、単一のシステムで、同時に複数のサービスを提供する例も増えており、いずれかのサービスで発生した輻輳がシステム全体に影響を及ぼすことも考えられるので、的確な輻輳制御の実施が求められている。   In particular, in recent years, there has been an increasing number of cases where a single system provides multiple services at the same time. Congestion caused by any of the services may affect the entire system. Is required.

従来の輻輳制御では、システムへの処理要求が当該システムの処理能力を超えないようにするため、システムへの処理要求の発生状況又はシステムでの要求処理の状況を監視し、システムに過重な処理負荷がかかりそうな場合、その程度を何段階かのレベルに分けて判断し、その輻輳の程度に応じてその処理に関わる処理要求を制限(規制)することで、処理余力を確保し、輻輳状態の発生を防止し、輻輳状態からの回復を行ってきた。   In the conventional congestion control, in order to prevent the processing request to the system from exceeding the processing capacity of the system, the generation status of the processing request to the system or the status of the request processing in the system is monitored, and the system overloads the system. When load is likely to be applied, the degree is divided into several levels, and the processing capacity related to the processing is restricted (regulated) according to the degree of congestion, thereby securing processing capacity and congestion. The situation has been prevented and recovery from the congested state has been carried out.

例えば、特許文献1は、輻輳からの回復のための処理要求の制限(規制)について、輻輳の原因となる可能性のある処理要求に対し規制を実施すべきとして、その処理要求をできる限り発信元に近い箇所で規制できるよう、その範囲を特定する方法について示している。   For example, in Patent Document 1, regarding the restriction (regulation) of a processing request for recovery from congestion, it is assumed that the processing request that may cause congestion should be regulated, and the processing request is transmitted as much as possible. It shows how to specify the range so that it can be regulated at a location close to the original.

また、この輻輳制御のための処理要求入力の監視については、時間当たりの処理要求入力の量の直接監視、又は、CPU使用率による間接的な監視等、様々な方法が提案されており、観測された輻輳の程度に応じた適切な規制を行うことで、輻輳からの早期の回復を図ってきた。   In addition, various methods have been proposed for monitoring processing request inputs for congestion control, such as direct monitoring of the amount of processing request inputs per hour or indirect monitoring based on CPU usage. By carrying out appropriate regulation according to the degree of congestion, early recovery from congestion has been attempted.

これらの監視・輻輳制御は、システム全体を対象に一括して行われる場合もあるし、システム内の一部、例えば、特定のサービスに対応する処理モジュール単位で実施されることもあった。   Such monitoring / congestion control may be performed collectively for the entire system, or may be performed for a part of the system, for example, for each processing module corresponding to a specific service.

また、輻輳制御として起動する規制制御を決定する前提となる輻輳状態判定のレベルわけについては、より多段階の緻密な判定を行えば、より精密な輻輳制御が実施できるとの期待もあるが、同時に、この輻輳制御に要するコストの増加要因ともなるので、必要以上の多段階化を行なっても、その効果は限定的なものになることが知られていた。   In addition, there is an expectation that more precise congestion control can be performed if more detailed determination is performed for the congestion state determination level, which is a premise for determining regulation control to be activated as congestion control. At the same time, it also increases the cost required for this congestion control, and it has been known that the effect is limited even if the number of steps is increased more than necessary.

特開2010−200029号公報JP 2010-200029 A

上記の従来の輻輳制御方式は、輻輳の直接原因となる処理状況を監視し、その処理状況に応じてシステムへの処理要求の入力を規制することにより実施されていた。   The above-described conventional congestion control method is implemented by monitoring the processing status that directly causes congestion and regulating the input of processing requests to the system according to the processing status.

しかし、一旦、輻輳状態が発生するとその影響範囲は多方面に広がり、この影響による間接的要因により、輻輳からの回復が阻害され、規制により直接的要因を低減させても、システムの輻輳が収束しないこともあった。   However, once a congestion state occurs, the scope of its influence spreads in many ways, and the indirect factors that result from this influence hinder recovery from congestion. I did not.

本発明は、上記を鑑みてなされたものであり、輻輳状態から定常状態への復帰・回復を効率的に実現することを課題とする。   The present invention has been made in view of the above, and an object of the present invention is to efficiently realize return / recovery from a congestion state to a steady state.

請求項1記載の輻輳制御装置は、コンピュータが受け付けたサービスの処理要求を異なるサービス毎に蓄積する受付手段と、前記異なるサービス毎に前記処理要求を受け入れてサービスの処理を実行する実行手段と、前記コンピュータ内で発生した規制すべき輻輳状態の継続時間を計測する計測手段と、前記サービス毎の規定時間を記憶手段から読み出して、前記サービス毎に前記輻輳状態を監視し、前記輻輳状態が前記規定時間以上継続する場合に、前記輻輳状態に係るサービスの処理に対する規制レベルを強化する強化手段と、前記強化された規制レベルの規制情報を用いて前記輻輳状態に係る当該サービスの処理を規制し、前記輻輳状態に係る当該サービスの処理以外の同一コンピュータ内の処理を更に規制する規制手段と、を有することを特徴とする。 The congestion control apparatus according to claim 1, an accepting unit that accumulates processing requests for services accepted by a computer for each different service, an execution unit that accepts the processing requests for each different service, and executes service processing; measuring means for measuring the duration of the congestion state should regulate generated within the computer reads out the specified time for each of the service from the storing means, the congestion state monitoring for each of the service, the congestion state is the to continue prescribed time or more, to regulate the reinforcing means to enhance the control level for the processing of the service according to the congestion state, the processing of the service according to the congestion state by using the control information of the enhanced control level has a further, and regulating means for regulating the process in the same computer other than the processing of the service according to the congestion state And wherein the door.

本発明によれば、コンピュータ内で発生した規制すべき輻輳状態の継続時間を計測し、その輻輳状態が規定時間以上継続する場合に、その輻輳状態に係る処理に対する規制レベルを強化するため、輻輳状態から定常状態への復帰・回復を効率的に実現することができる。また、輻輳状態に係る処理以外の同一コンピュータ内の処理を更に規制するため、輻輳状態から定常状態への復帰・回復をより効率的に実現することができる。 According to the present invention, in order to reinforce the restriction level for the processing related to the congestion state when the duration of the congestion state to be restricted occurring in the computer is measured and the congestion state continues for a predetermined time or more, It is possible to efficiently realize the return / recovery from the state to the steady state. In addition, since the processing in the same computer other than the processing related to the congestion state is further restricted, the return / recovery from the congestion state to the steady state can be more efficiently realized.

本発明によれば、輻輳状態から定常状態への復帰・回復を効率的に実現することができる。   According to the present invention, recovery / recovery from a congestion state to a steady state can be efficiently realized.

従来の輻輳制御装置の機能ブロック構成を示す図である。It is a figure which shows the functional block structure of the conventional congestion control apparatus. 第1の実施の形態に係る輻輳制御装置の機能ブロック構成を示す図である。It is a figure which shows the functional block structure of the congestion control apparatus which concerns on 1st Embodiment. 第1の実施の形態に係る輻輳制御装置の動作を示す図である。It is a figure which shows operation | movement of the congestion control apparatus which concerns on 1st Embodiment. 従来の輻輳制御装置の機能ブロック構成を示す図である。It is a figure which shows the functional block structure of the conventional congestion control apparatus. 第2の実施の形態に係る輻輳制御装置の機能ブロック構成を示す図である。It is a figure which shows the functional block structure of the congestion control apparatus which concerns on 2nd Embodiment. 第2の実施の形態に係る輻輳制御装置の動作を示す図である。It is a figure which shows operation | movement of the congestion control apparatus which concerns on 2nd Embodiment.

本発明は、情報処理システム等のコンピュータにおいて、輻輳の直接的原因となるサービス処理要求等の処理を規制しても輻輳が継続する場合、その輻輳に起因する直接的・間接的原因により輻輳が継続していると判断し、その直接的原因に対しては同一処理に対する規制を強化することにより、並びに又は更には、その間接的原因に対しては同一コンピュータ内の別処理を規制することにより、輻輳状態から定常状態への復帰・回復を効率的に実現することにある。   In the case of a computer such as an information processing system in which congestion continues even if processing of a service processing request or the like that directly causes congestion is restricted, the congestion may be caused by a direct or indirect cause caused by the congestion. By determining that it is continuing and by strengthening restrictions on the same process for its direct cause, and / or by regulating another process in the same computer for its indirect cause The object is to efficiently realize the return / recovery from the congestion state to the steady state.

〔第1の実施の形態〕
最初に、従来方式による一般的な輻輳制御方法を説明する。従来の輻輳制御装置100は、例えば図1に示すように、情報処理システム上で動作し、サービス処理要求受付部11と、サービス処理実行部12と、システム監視部13と、規制閾値テーブル14と、輻輳制御部15とで主に構成される。
[First Embodiment]
First, a general congestion control method according to the conventional method will be described. A conventional congestion control device 100 operates on an information processing system as shown in FIG. 1, for example, and includes a service processing request receiving unit 11, a service processing execution unit 12, a system monitoring unit 13, and a restriction threshold table 14. The congestion control unit 15 is mainly configured.

サービス処理要求受付部11は、情報処理端末等のサービス要求元から送信されたサービス処理要求を受け付け、サービス処理実行部12は、そのサービス処理要求に基づくサービス処理を実行する。   The service process request accepting unit 11 accepts a service process request transmitted from a service request source such as an information processing terminal, and the service process executing unit 12 executes a service process based on the service process request.

その後、システム監視部13は、その実行しているサービス処理に係るCPU使用率を計測して輻輳制御部15に報告し、その輻輳制御部15は、そのサービス処理について報告されたCPU使用率の計測値を規制閾値テーブル14内の規制閾値と比較して、その規制閾値を超えている場合には規制すべき輻輳発生と認識して実施する規制レベルを決定し、その規制レベルの規制情報に基づいてサービス処理要求の受付を規制する。   Thereafter, the system monitoring unit 13 measures the CPU usage rate related to the service processing being executed and reports the CPU usage rate to the congestion control unit 15, and the congestion control unit 15 reports the CPU usage rate reported for the service processing. The measured value is compared with the regulation threshold value in the regulation threshold value table 14, and when the regulation threshold value is exceeded, the regulation level to be implemented is determined by recognizing the occurrence of congestion to be regulated. Based on this, reception of service processing requests is restricted.

一方、本実施の形態に係る輻輳制御装置100の機能ブロック構成を図2に示す。この輻輳制御装置100は、図1に示した従来の輻輳制御装置100に加え、サービス処理要求の受付に対する規制を更に強化するため、規制すべき輻輳状態の継続時間を規制継続時間(規定時間)として記憶した規制継続時間テーブル16を更に備えている。   On the other hand, the functional block configuration of the congestion control apparatus 100 according to the present embodiment is shown in FIG. In addition to the conventional congestion control device 100 shown in FIG. 1, the congestion control device 100 sets the duration of the congestion state to be regulated to the regulation duration (specified time) in order to further strengthen the regulation for acceptance of service processing requests. The regulation duration table 16 stored as is further provided.

以下、図3を参照しながら、本実施の形態に係る輻輳制御装置100の動作を説明する。尚、規制閾値テーブル14には、実行中のサービス処理に係るCPU使用率に対する、規制を開始すべき規制閾値が記憶されている。また、輻輳制御部15は、多段階の規制レベルと各規制レベルで実行する規制情報との対応関係を定めた対応関係テーブル(記憶手段)を予め保持している。   Hereinafter, the operation of the congestion control apparatus 100 according to the present embodiment will be described with reference to FIG. The restriction threshold value table 14 stores restriction threshold values for starting restriction on the CPU usage rate related to the service process being executed. In addition, the congestion control unit 15 holds in advance a correspondence relationship table (storage means) that defines the correspondence relationship between the multi-level restriction levels and the restriction information executed at each restriction level.

最初に、サービス処理要求受付部11が、通信ネットワークを介してサービス要求元から送信されたサービス処理要求を受け付けて、その要求に係る要求データを受付キューに蓄積する(ステップS101)。例えば、検索クエリに該当するウェブページのURLを取得する複数のウェブ検索要求を順次受け付けて、その受け付けた順番でそれら複数の要求データを順次蓄積する。   First, the service processing request reception unit 11 receives a service processing request transmitted from a service request source via a communication network, and accumulates request data related to the request in a reception queue (step S101). For example, a plurality of web search requests for acquiring URLs of web pages corresponding to the search query are sequentially received, and the plurality of request data are sequentially stored in the received order.

次に、サービス処理実行部12が、その受付キューから要求データを取得して、その要求データ内のサービス処理要求に基づいてサービス処理を実行する(ステップS102)。上記例の場合、ウェブ検索要求に係る要求データを順次取得して、検索クエリにヒットするウェブページをインターネット上から検索してそのURLを取得する処理を繰り返し実行する。   Next, the service process execution unit 12 acquires the request data from the reception queue, and executes the service process based on the service process request in the request data (step S102). In the case of the above example, request data related to the web search request is sequentially acquired, and a process of searching the web page hitting the search query from the Internet and acquiring the URL is repeatedly executed.

次に、システム監視部13が、ステップS102で実行しているサービス処理に係る情報処理システム内のCPU使用率を時間的に連続して計測し、計測する毎に輻輳制御部15に随時通知する(ステップS103)。上記例の場合、ウェブページ検索時に使用されるCPU使用率を計測する。   Next, the system monitoring unit 13 continuously measures the CPU usage rate in the information processing system related to the service processing executed in step S102 in time, and notifies the congestion control unit 15 whenever necessary. (Step S103). In the case of the above example, the CPU usage rate used at the time of web page search is measured.

次に、輻輳制御部15が、規制閾値テーブル14から上記サービス処理に対して定められた規制閾値を読み出して、システム監視部13から通知された上記サービス処理に係るCPU使用率の計測値がその規制閾値を超えるか(Yes)否か(No)を判定する(ステップS104)。   Next, the congestion control unit 15 reads out the regulation threshold determined for the service process from the regulation threshold table 14, and the measured value of the CPU usage rate related to the service process notified from the system monitoring unit 13 is It is determined whether the regulation threshold is exceeded (Yes) or not (No) (step S104).

ステップS104の判定結果がYesの場合には、情報処理システム内で規制すべき輻輳が発生していると認識して後述する規制処理を実行する。一方、その判定結果がNoの場合には、輻輳は発生していないと認識し、何ら規制処理を実行することなく処理を終了する。   If the determination result in step S104 is Yes, it recognizes that congestion that should be regulated occurs in the information processing system, and executes a regulation process described later. On the other hand, if the determination result is No, it is recognized that congestion has not occurred, and the process ends without executing any restriction process.

続いて、輻輳制御部15は、上記サービス処理に係るCPU使用率の計測値がその規制閾値を超えていることから、例えばCPU使用率の計測値と規制閾値との差の大きさに基づいて実施する規制レベルを決定し(ステップS105)、その決定された規制レベルの規制情報に基づいてサービス処理要求の受付を規制する(ステップS106)。例えば、新たなサービス処理要求の受付を一定時間拒否する。   Subsequently, since the measurement value of the CPU usage rate related to the service processing exceeds the regulation threshold value, the congestion control unit 15 determines, for example, based on the magnitude of the difference between the measurement value of the CPU usage rate and the regulation threshold value. A restriction level to be executed is determined (step S105), and reception of a service process request is restricted based on restriction information of the determined restriction level (step S106). For example, the acceptance of a new service processing request is rejected for a certain period of time.

その後、輻輳制御部15は、そのCPU使用率の計測値が上記規制閾値を超えてからの継続時間(規制閾値を途中下回らない状態の継続時間)の計測を開始し(ステップS107)、計測時間タイマーを設定する(ステップS108)。   Thereafter, the congestion control unit 15 starts measuring the duration after the measured value of the CPU usage rate exceeds the regulation threshold (the duration in a state where the CPU usage rate does not fall below the regulation threshold halfway) (Step S107). A timer is set (step S108).

そして、その計測タイマーが満了した後に(ステップS109)、ステップS104と同様に、上記サービス処理に係るCPU使用率の計測値がその規制閾値を超えるか(Yes)否か(No)を再び判定する(ステップS110)。例えば、計測時間タイマーが1秒に設定されている場合、ステップS108から1秒経過後に当該再判定を実行する。   Then, after the measurement timer expires (step S109), similarly to step S104, it is determined again whether the measured value of the CPU usage rate related to the service process exceeds the restriction threshold (Yes) or not (No). (Step S110). For example, when the measurement time timer is set to 1 second, the re-determination is executed after 1 second has elapsed from step S108.

ここで、ステップS110の再判定結果がNoの場合には、輻輳状態が解消されていることから、ステップS107で開始した継続時間の計測を終了し(ステップS111)、処理を終了する。継続時間の計測終了後、処理終了前に、現在の規制レベルを下げる処理を実行してもよい。   Here, if the result of the redetermination in step S110 is No, the congestion state has been eliminated, so the measurement of the duration started in step S107 is terminated (step S111), and the process is terminated. A process for lowering the current restriction level may be executed after the end of the measurement of the duration time and before the end of the process.

一方、ステップS110の再判定結果がYesの場合には、輻輳状態が継続していることから、規制継続時間テーブル16から上記サービス処理に対して定められた規制継続時間を読み出して、ステップS107で計測を開始した継続時間の計測値がその規制継続時間を越えるか(Yes)否か(No)を判定する(ステップS112)。   On the other hand, if the result of the redetermination in step S110 is Yes, the congestion state continues, so the regulation duration set for the service process is read from the regulation duration table 16 and in step S107. It is determined whether or not the measured value of the continuation time when the measurement is started exceeds the regulation continuation time (Yes) or not (No) (step S112).

ここで、ステップS112の判定結果がNoの場合には、ステップS108に戻りステップS108〜S110を繰り返す。例えば、規制継続時間が10秒に設定されている場合、継続時間の計測値がその10秒を超えていなければ、計測時間タイマーを再度設定して、ステップS110の再判定を再び実行する。   If the determination result in step S112 is No, the process returns to step S108 and steps S108 to S110 are repeated. For example, when the regulation duration is set to 10 seconds, if the measured value of the duration does not exceed 10 seconds, the measurement time timer is set again, and the redetermination in step S110 is executed again.

一方、ステップS112の判定結果がYesの場合には、上記サービス処理要求により輻輳が継続していると判断し、ステップS107で開始した継続時間の計測を終了して(ステップS113)、現在の規制レベルをn段階(n:自然数)アップし(ステップS114)、ここでアップした規制レベルの規制情報に基づいてサービス処理要求の受付に対する規制を強化する(ステップS115)。例えば、新たなサービス処理要求の受付を上記一定時間よりも長い時間拒否する。尚、ステップS115の処理実行後、ステップS107に戻るようにしてもよい。   On the other hand, if the determination result in step S112 is Yes, it is determined that congestion is continuing due to the service processing request, the measurement of the duration time started in step S107 is terminated (step S113), and the current regulation is The level is increased by n stages (n: natural number) (step S114), and the restriction on acceptance of service processing requests is strengthened based on the restriction level regulation information increased here (step S115). For example, the acceptance of a new service processing request is rejected for a time longer than the predetermined time. It should be noted that after executing the process of step S115, the process may return to step S107.

以上より、本実施の形態によれば、情報処理システムで動作する輻輳制御装置100の輻輳制御部15が、その情報処理システム内で発生した規制すべき輻輳状態の継続時間を計測し、その輻輳状態が規制継続時間以上継続する場合に、その輻輳状態に係るサービス処理要求の受付に対する規制レベルを強化するので、輻輳状態から定常状態への復帰や回復に要する時間が短縮されることから、その復帰・回復を高効率かつ早急に実現することができる。   As described above, according to the present embodiment, the congestion control unit 15 of the congestion control device 100 operating in the information processing system measures the duration of the congestion state to be regulated that has occurred in the information processing system, and the congestion When the state continues for more than the restriction duration, the restriction level for accepting service processing requests related to the congestion state is strengthened, so the time required for returning from the congestion state to the steady state and recovery is shortened. Recovery and recovery can be realized quickly and efficiently.

〔第2の実施の形態〕
最初に、従来方式による一般的な輻輳制御方法を説明する。従来の輻輳制御装置100は、図4に示すように、図1と同じ機能部11〜15で構成される。但し、2つのサービスA,Bに対応するサービス処理をそれぞれ実行するため、サービス処理要求受付部11はサービスA処理要求受付部11aとサービスB処理要求受付部11bで構成され、サービス処理実行部12はサービスA処理実行部12aとサービスB処理実行部12bで構成されている。
[Second Embodiment]
First, a general congestion control method according to the conventional method will be described. As shown in FIG. 4, the conventional congestion control device 100 includes the same functional units 11 to 15 as in FIG. 1. However, in order to execute service processes corresponding to the two services A and B, the service process request receiving unit 11 includes a service A process request receiving unit 11a and a service B process request receiving unit 11b. Consists of a service A process execution unit 12a and a service B process execution unit 12b.

サービスA処理要求受付部11aは、サービス要求元から送信されたサービスA処理要求を受け付け、サービスA処理実行部12aは、そのサービスA処理要求に基づくサービスA処理を実行する。一方、サービスB処理要求受付部11bは、他のサービス要求元から送信されたサービスB処理要求を受け付け、サービスB処理実行部12bは、そのサービスB処理要求に基づくサービスB処理を実行する。   The service A process request receiving unit 11a receives a service A process request transmitted from a service request source, and the service A process executing unit 12a executes a service A process based on the service A process request. On the other hand, the service B process request receiving unit 11b receives a service B process request transmitted from another service request source, and the service B process executing unit 12b executes a service B process based on the service B process request.

ここで、システム監視部13は、サービスA処理実行部12aによるサービスA処理のみを監視対象とし、そのサービスA処理に係るCPU使用率が規制閾値を超えている場合には、その監視対象であったサービスA処理に関する処理を規制するため、サービスA処理要求受付部11aで受け付けたサービスA処理要求の受付のみを規制する。   Here, the system monitoring unit 13 sets only the service A process by the service A process execution unit 12a as a monitoring target, and if the CPU usage rate related to the service A process exceeds the regulation threshold, the system monitoring unit 13 is the monitoring target. In order to regulate the processing related to the service A processing, only acceptance of the service A processing request accepted by the service A processing request acceptance unit 11a is restricted.

すなわち、サービスA処理についてのみ輻輳が発生した場合、従来では、そのサービスA処理要求の受付のみを規制対象とし、それ以外のサービスB処理要求の受付については規制対象とされていない。   That is, when congestion occurs only in the service A process, conventionally, only reception of the service A process request is subject to restriction, and reception of other service B process requests is not subject to restriction.

一方、本実施の形態では、情報処理システム内に複数のサービスが共存する場合、直接規制対象となっていない別のサービスに対しても規制を実施する。第1の実施の形態では、情報処理システムで発生した輻輳の早急回復を図るため、輻輳の直接的原因であるサービスA処理要求の受付に対する規制を強化したが、第2の実施の形態では、その輻輳に直接的には無関係のサービスB処理要求の受付に対しても規制を加える。   On the other hand, in the present embodiment, when a plurality of services coexist in the information processing system, the restriction is performed on another service that is not directly regulated. In the first embodiment, in order to quickly recover the congestion that has occurred in the information processing system, the regulation on the reception of the service A processing request that is the direct cause of the congestion has been strengthened. In the second embodiment, Restriction is also applied to reception of service B processing requests that are not directly related to the congestion.

本実施の形態に係る輻輳制御装置100の機能ブロック構成を図5に示す。この輻輳制御装置100は、図2と同じ機能部11〜16で構成される。但し、サービス処理要求受付部11はサービスA処理要求受付部11aとサービスB処理要求受付部11bで構成され、サービス処理実行部12はサービスA処理実行部12aとサービスB処理実行部12bで構成されている。   FIG. 5 shows a functional block configuration of the congestion control apparatus 100 according to the present embodiment. This congestion control device 100 is composed of the same functional units 11 to 16 as in FIG. However, the service process request accepting unit 11 includes a service A process request accepting unit 11a and a service B process request accepting unit 11b, and the service process executing unit 12 includes a service A process executing unit 12a and a service B process executing unit 12b. ing.

以下、図6を参照しながら、本実施の形態に係る輻輳制御装置100の動作を説明する。   Hereinafter, the operation of the congestion control apparatus 100 according to the present embodiment will be described with reference to FIG.

最初に、サービスA処理要求受付部11aが、通信ネットワークを介してサービス要求元から送信されたサービス処理要求を受け付けて、その要求に係る要求データを自己の受付キューに蓄積し、それに併行して、サービスB処理要求受付部11bが、他のサービス要求元から送信されたサービスB処理要求を受け付けて、その要求に係る要求データを自己の受付キューに蓄積する(ステップS201)。   First, the service A process request accepting unit 11a accepts a service process request transmitted from a service request source via a communication network, accumulates request data related to the request in its own accept queue, and concurrently executes it. The service B process request accepting unit 11b accepts a service B process request transmitted from another service request source, and accumulates request data related to the request in its own accept queue (step S201).

次に、サービスA処理実行部12aが、自己の受付キューから要求データを取得して、その要求データ内のサービスA処理要求に基づいてサービスA処理を実行し、それに併行して、サービスB処理実行部12bが、自己の受付キューから要求データを取得して、その要求データ内のサービスB処理要求に基づいてサービスB処理を実行する(ステップS202)。   Next, the service A process execution unit 12a acquires the request data from its own reception queue, executes the service A process based on the service A process request in the request data, and concurrently executes the service A process. The execution unit 12b acquires the request data from its own reception queue, and executes the service B process based on the service B process request in the request data (step S202).

次に、システム監視部13が、ステップS202で実行しているサービスA処理に係る情報処理システム内のCPU使用率を時間的に連続して計測し、計測する毎に輻輳制御部15に随時通知する(ステップS203)。   Next, the system monitoring unit 13 continuously measures the CPU usage rate in the information processing system related to the service A process executed in step S202, and notifies the congestion control unit 15 whenever necessary. (Step S203).

次に、輻輳制御部15が、規制閾値テーブル14から上記サービスA処理に対して定められた規制閾値を読み出して、システム監視部13から通知された上記サービスA処理に係るCPU使用率の計測値がその規制閾値を超えるか(Yes)否か(No)を判定する(ステップS204)。   Next, the congestion control unit 15 reads out the regulation threshold determined for the service A process from the regulation threshold table 14, and the measured value of the CPU usage rate related to the service A process notified from the system monitoring unit 13 (Yes) or not (No) is determined (step S204).

ステップS204の判定結果がYesの場合には、情報処理システム内で規制すべき輻輳が発生していると認識して後述する規制処理を実行する。一方、その判定結果がNoの場合には、輻輳は発生していないと認識し、何ら規制処理を実行することなく処理を終了する。   If the determination result in step S204 is Yes, it recognizes that congestion that should be regulated occurs in the information processing system, and executes a regulation process described later. On the other hand, if the determination result is No, it is recognized that congestion has not occurred, and the process ends without executing any restriction process.

次に、輻輳制御部15は、上記サービスA処理に係るCPU使用率の計測値がその規制閾値を超えていることから、例えばCPU使用率の計測値と規制閾値との差の大きさに基づき、サービスA処理要求の受付に対して実施する規制レベルを決定し(ステップS205)、その決定された規制レベルの規制情報に基づいてサービスA処理要求の受付を規制する(ステップS206)。例えば、新たなサービス処理要求の受付を拒否する。   Next, since the measured value of the CPU usage rate related to the service A process exceeds the regulation threshold value, the congestion control unit 15 is based on the magnitude of the difference between the measured value of the CPU usage rate and the regulation threshold value, for example. Then, a restriction level to be executed for reception of the service A processing request is determined (step S205), and reception of the service A processing request is restricted based on the restriction information of the determined restriction level (step S206). For example, acceptance of a new service processing request is rejected.

その後、輻輳制御部15は、そのCPU使用率の計測値が上記規制閾値を超えてからの継続時間(規制閾値を途中下回らない状態の継続時間)の計測を開始し(ステップS207)、計測時間タイマーを設定する(ステップS208)。   Thereafter, the congestion control unit 15 starts measuring the duration after the measured value of the CPU usage rate exceeds the regulation threshold (the duration in a state where the CPU usage rate does not fall below the regulation threshold halfway) (step S207). A timer is set (step S208).

そして、その計測タイマーが満了した後に(ステップS209)、ステップS204と同様に、上記サービスA処理に係るCPU使用率の計測値がその規制閾値を超えるか(Yes)否か(No)を再び判定する(ステップS210)。例えば、計測時間タイマーが1秒に設定されている場合、ステップS208から1秒経過後に当該再判定を実行する。   Then, after the measurement timer expires (step S209), similarly to step S204, it is determined again whether the measured value of the CPU usage rate related to the service A process exceeds the restriction threshold (Yes) or not (No). (Step S210). For example, when the measurement time timer is set to 1 second, the re-determination is executed after 1 second has elapsed from step S208.

ここで、ステップS210の再判定結果がNoの場合には、輻輳状態が解消されていることから、ステップS207で開始した継続時間の計測を終了し(ステップS211)、処理を終了する。継続時間の計測終了後、処理終了前に、現在のサービスA処理要求の受付に対する規制レベルを下げる処理を実行してもよい。   Here, if the result of the redetermination in step S210 is No, the congestion state has been eliminated, so the measurement of the duration time started in step S207 is terminated (step S211), and the process is terminated. After the measurement of the duration time and before the end of the process, a process for lowering the restriction level for accepting the current service A process request may be executed.

一方、ステップS210の再判定結果がYesの場合には、輻輳状態が継続していることから、規制継続時間テーブル16から上記サービスA処理に対して定められた規制継続時間を読み出して、ステップS207で計測を開始した継続時間の計測値がその規制継続時間を越えるか(Yes)否か(No)を判定する(ステップS212)。サービスA処理による輻輳悪化を検知するか否かを判定するようにしてもよい。   On the other hand, if the result of the redetermination in step S210 is Yes, the congestion state continues, so the regulation continuation time determined for the service A process is read from the regulation duration table 16 and step S207 is performed. In step S212, it is determined whether or not the measured value of the duration time at which the measurement is started exceeds the regulation duration time (Yes) or not (No). You may make it determine whether the congestion deterioration by the service A process is detected.

ここで、ステップS212の判定結果がNoの場合には、ステップS208に戻りステップS208〜S210を繰り返す。例えば、規制継続時間が10秒に設定されている場合、継続時間の計測値がその10秒を超えていなければ、計測時間タイマーを再度設定して、ステップS210の再判定を再び実行する。   If the determination result in step S212 is No, the process returns to step S208 and steps S208 to S210 are repeated. For example, when the regulation duration is set to 10 seconds, if the measured value of the duration does not exceed 10 seconds, the measurement time timer is set again, and the redetermination in step S210 is executed again.

一方、ステップS212の判定結果がYesの場合には、このままでは輻輳状態からの回復が送れ、その輻輳状態が収束しない可能性があることから、ステップS207で開始した継続時間の計測を終了し(ステップS213)、サービスA処理要求の受付以外の処理に対しても規制処理を実行する。   On the other hand, if the determination result in step S212 is Yes, recovery from the congestion state can be sent as it is, and the congestion state may not converge. Therefore, the measurement of the duration started in step S207 ends ( In step S213), the restriction process is also executed for processes other than the reception of the service A process request.

ここでは、サービスB処理要求の受付に対して実施する規制レベルを決定(ステップS205で決定したレベルと同じレベルでも異なるレベルでも可)し(ステップS214)、その決定された規制レベルの規制情報に基づいてサービスB処理要求の受付も規制する(ステップS215)。例えば、サービスB処理要求受付部11bの受付キューに蓄積された全ての要求データを破棄する。尚、ステップS215の処理実行後、ステップS207に戻るようにしてもよい。   Here, the restriction level to be executed for the reception of the service B processing request is determined (it can be the same level as or different from the level determined in step S205) (step S214), and the restriction information of the determined restriction level is added. Based on this, reception of the service B processing request is also restricted (step S215). For example, all the request data accumulated in the reception queue of the service B processing request reception unit 11b is discarded. It should be noted that after executing the process of step S215, the process may return to step S207.

以上より、本実施の形態によれば、輻輳状態に係るサービスA処理要求の受付以外のサービスB処理要求の受付を更に規制するので、輻輳状態から定常状態への復帰・回復をより効率的かつより早急に実現することができる。   As described above, according to the present embodiment, since the reception of service B processing requests other than the reception of service A processing requests related to the congestion state is further regulated, the return / recovery from the congestion state to the steady state can be performed more efficiently and It can be realized more quickly.

最後に、各実施の形態では、規制要否の判断基準としてCPU使用率を例に説明したが、サービス処理要求の実行に必要なメモリ使用量やメモリ使用率等、他の判断基準を用いてもよい。   Finally, in each embodiment, the CPU usage rate has been described as an example of the criteria for determining whether regulation is necessary. However, other criteria, such as the memory usage and the memory usage rate necessary for executing the service processing request, are used. Also good.

また、各実施の形態では、規制対象としてサービス処理要求の受付を例に説明したが、サービス処理要求の実行に必要なメモリの割当可否や割当率の低減等、他の処理を規制対象としてもよい。   Further, in each embodiment, the reception of a service processing request has been described as an example of a restriction target. However, other processes such as whether or not to allocate memory necessary for executing a service processing request and a reduction in the allocation rate are also subject to restriction. Good.

また、各実施の形態で説明した処理を組み合わせてもよい。例えば、ステップS212の判定結果がYesの場合に、サービスA処理要求の受付に対する規制レベルを強化するようにしてもよい。   Further, the processes described in the embodiments may be combined. For example, when the determination result in step S212 is Yes, the restriction level for accepting the service A processing request may be strengthened.

また、各実施の形態で説明したサービスは、物理的な単位(例えば、CPU、LANポート)や論理的な単位(例えば、アプリケーション、プロセス)に関わらず、何かしら意味のある単位で分けられるものである。   In addition, the services described in each embodiment can be divided into meaningful units regardless of physical units (for example, CPU, LAN port) and logical units (for example, applications and processes). is there.

また、各実施の形態では、輻輳が発生する物として情報処理システムを例に説明したが、単一の情報処理装置であってもよく、広くは、情報処理システムや情報処理装置を包含するコンピュータを対象とする。   Further, in each embodiment, the information processing system has been described as an example where congestion occurs. However, a single information processing apparatus may be used, and a computer including the information processing system and the information processing apparatus is widely used. Is targeted.

また、各実施の形態で説明した輻輳制御装置100は、メモリ等の記憶手段やCPU等の計算・制御手段を有するコンピュータで実現できる。また、輻輳制御装置100の動作は、プログラムによって実行可能である。   Further, the congestion control device 100 described in each embodiment can be realized by a computer having a storage unit such as a memory and a calculation / control unit such as a CPU. The operation of the congestion control device 100 can be executed by a program.

100…輻輳制御装置
11…サービス処理要求受付部
11a…サービスA処理要求受付部
11b…サービスB処理要求受付部
12…サービス処理実行部
12a…サービスA処理実行部
12b…サービスB処理実行部
13…システム監視部
14…規制閾値テーブル
15…輻輳制御部(継続手段、強化手段、規制手段)
16…規制継続時間テーブル(記憶手段)
S101〜S115、S201〜S215…ステップ
DESCRIPTION OF SYMBOLS 100 ... Congestion control apparatus 11 ... Service process request reception part 11a ... Service A process request reception part 11b ... Service B process request reception part 12 ... Service process execution part 12a ... Service A process execution part 12b ... Service B process execution part 13 ... System monitoring unit 14 ... regulation threshold table 15 ... congestion control unit (continuation means, strengthening means, regulation means)
16 ... Regulation duration table (storage means)
S101-S115, S201-S215 ... step

Claims (1)

コンピュータが受け付けたサービスの処理要求を異なるサービス毎に蓄積する受付手段と、
前記異なるサービス毎に前記処理要求を受け入れてサービスの処理を実行する実行手段と、
前記コンピュータ内で発生した規制すべき輻輳状態の継続時間を計測する計測手段と、
前記サービス毎の規定時間を記憶手段から読み出して、前記サービス毎に前記輻輳状態を監視し、前記輻輳状態が前記規定時間以上継続する場合に、前記輻輳状態に係るサービスの処理に対する規制レベルを強化する強化手段と、
前記強化された規制レベルの規制情報を用いて前記輻輳状態に係る当該サービスの処理を規制し、前記輻輳状態に係る当該サービスの処理以外の同一コンピュータ内の処理を更に規制する規制手段と、
を有することを特徴とする輻輳制御装置。
Receiving means for storing processing requests of services received by the computer for each different service;
Execution means for accepting the processing request for each different service and executing processing of the service;
Measuring means for measuring the duration of the congestion state should regulate generated within the computer,
The specified time for each service is read from the storage means, the congestion state is monitored for each service , and if the congestion state continues for the specified time or longer, the restriction level for processing of the service related to the congestion state is strengthened Strengthening means to
Restriction means for restricting processing of the service related to the congestion state using restriction information of the enhanced restriction level, and further restricting processing in the same computer other than processing of the service related to the congestion state;
A congestion control apparatus comprising:
JP2012183826A 2012-08-23 2012-08-23 Congestion control device Active JP5743334B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012183826A JP5743334B2 (en) 2012-08-23 2012-08-23 Congestion control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012183826A JP5743334B2 (en) 2012-08-23 2012-08-23 Congestion control device

Publications (2)

Publication Number Publication Date
JP2014041509A JP2014041509A (en) 2014-03-06
JP5743334B2 true JP5743334B2 (en) 2015-07-01

Family

ID=50393710

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012183826A Active JP5743334B2 (en) 2012-08-23 2012-08-23 Congestion control device

Country Status (1)

Country Link
JP (1) JP5743334B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6350388B2 (en) * 2015-05-14 2018-07-04 住友電気工業株式会社 Station side device, home side device registration method, and optical communication system
US11397605B2 (en) 2017-02-01 2022-07-26 Nec Corporation Management system, management apparatus, management method, and program

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07336390A (en) * 1994-06-06 1995-12-22 Fujitsu Ltd Traffic regulation processing method
JP3101898B2 (en) * 1994-08-24 2000-10-23 日本電信電話株式会社 Service disturbance prevention system
JP3166118B2 (en) * 1994-09-09 2001-05-14 日本電信電話株式会社 Autonomous congestion control method in service control node
JP2002300272A (en) * 2001-03-30 2002-10-11 Fujitsu Ltd Exchange for automatically originating call to callee number under congestion
JP3735631B2 (en) * 2004-03-18 2006-01-18 株式会社エヌ・ティ・ティ・ドコモ Mail transmission / reception device and mail transmission / reception method
JP2006093907A (en) * 2004-09-22 2006-04-06 Nec Corp Communication device, load regulation control method thereof, and program
JP4654926B2 (en) * 2006-02-01 2011-03-23 日本電気株式会社 COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND CONgestion Control Method Used In Them
JP2008306513A (en) * 2007-06-08 2008-12-18 Fujitsu Ltd Processing method of call access request signal, and radio base station control apparatus
JP5062203B2 (en) * 2009-03-04 2012-10-31 日本電気株式会社 Transaction processing device, congestion control method in transaction processing device, and program
JP2011239215A (en) * 2010-05-11 2011-11-24 Nippon Telegr & Teleph Corp <Ntt> Congestion control method, subscriber call control apparatus, and edge router
JP5585195B2 (en) * 2010-05-12 2014-09-10 日本電気株式会社 Transaction processing apparatus, transaction processing method, and transaction processing program
JP5673057B2 (en) * 2010-12-10 2015-02-18 富士通株式会社 Congestion control program, information processing apparatus, and congestion control method

Also Published As

Publication number Publication date
JP2014041509A (en) 2014-03-06

Similar Documents

Publication Publication Date Title
CN106933650B (en) Load management method and system of cloud application system
US8832286B2 (en) Method and system for controlling client access to a server application
KR101781339B1 (en) Method and device for updating client
CN112162865A (en) Server scheduling method and device and server
JP4747307B2 (en) Network processing control device, program, and method
JP2018532172A (en) Method and system for resource scheduling
WO2003052590A1 (en) Automatic data interpretation and implementation using performance capacity management framework over many servers
CN111045810B (en) Task scheduling processing method and device
CN112866136B (en) Service data processing method and device
CN110471749B (en) Task processing method, device, computer readable storage medium and computer equipment
CN111277640B (en) User request processing method, device, system, computer equipment and storage medium
CA2830360C (en) Information monitoring apparatus and information monitoring method
CN111291252B (en) Method and device for adjusting query rate per second, electronic equipment and storage medium
JP5743334B2 (en) Congestion control device
JP2020080059A (en) Evaluation device, evaluation method and evaluation program
CN110221917B (en) Method and apparatus for distributing streaming data
JP4411296B2 (en) Request restriction device, server device, request restriction method, request restriction program
CN111158892A (en) Task queue generating method, device and equipment
CN112579396A (en) Dynamic current limiting method, device and equipment for software system
CN111193760B (en) Information sending method, device and storage medium
CN114422530A (en) Flow control method and device, computer equipment and storage medium
CN114675845A (en) Information age optimization method and device, computer equipment and storage medium
JP2006012065A (en) Resource load adjustment management system
CN114079619A (en) Port flow sampling method and device
JP2006065430A (en) Method for varying virtual computer performance

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140603

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140618

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141028

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141225

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: 20150422

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150427

R150 Certificate of patent or registration of utility model

Ref document number: 5743334

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150