JP2014085800A - Signal processing system - Google Patents

Signal processing system Download PDF

Info

Publication number
JP2014085800A
JP2014085800A JP2012233751A JP2012233751A JP2014085800A JP 2014085800 A JP2014085800 A JP 2014085800A JP 2012233751 A JP2012233751 A JP 2012233751A JP 2012233751 A JP2012233751 A JP 2012233751A JP 2014085800 A JP2014085800 A JP 2014085800A
Authority
JP
Japan
Prior art keywords
request
signal processing
server
data
signal
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.)
Granted
Application number
JP2012233751A
Other languages
Japanese (ja)
Other versions
JP5969352B2 (en
Inventor
Atsuro Furusawa
敦郎 古澤
Takeshi Fukumoto
健 福元
Hideo Nishimura
豪生 西村
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 JP2012233751A priority Critical patent/JP5969352B2/en
Publication of JP2014085800A publication Critical patent/JP2014085800A/en
Application granted granted Critical
Publication of JP5969352B2 publication Critical patent/JP5969352B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To appropriately perform request regulation of a system comprising a plurality of signal processing servers and a plurality of data processing servers.SOLUTION: A congestion determination device 50 in a system instructs a signal processing unit 200 to perform request regulation when congestion is detected in a data processing server. The congestion determination device 50 terminates the request regulation when a request number condition sufficiency notification with regard to a regulation target request number in the signal processing server of the signal processing unit 200 is received after the request regulation is started and a resource usage rate in the data processing server becomes lower than a prescribed threshold. A representative server of the signal processing unit 200 estimates a regulation target request number for the whole signal processing unit 200 on the basis of the regulation target request number received in the own server, estimates a data request number for the whole data processing server from the estimated value and transmits the request number condition sufficiency notification to the congestion determination device 50 when the estimated value is less than a prescribed threshold C.

Description

本発明は、クライアント装置からの要求信号を処理する複数の信号処理サーバと、その要求信号に基づく処理を行う複数のデータ処理サーバとを備える信号処理システムに関する。   The present invention relates to a signal processing system including a plurality of signal processing servers that process a request signal from a client device and a plurality of data processing servers that perform processing based on the request signal.

従来、クライアント装置からの要求信号を処理する信号処理サーバと、その要求信号に基づく処理を行うデータ処理サーバとをそれぞれ複数台配置するシステムが提案されている。このシステムにおいて、サーバ台数を増減させることで、システム全体の処理負荷の増減に対応することができる。このようなシステムにおいて、クライアント装置から信号処理サーバへの要求信号の振り分けは、例えば、信号振り分け装置が行い(特許文献1参照)、信号の振り分け方法としては、例えば、コンシステントハッシュを用いる方法が挙げられる(非特許文献1参照)。この方法は、受信した要求信号の要求するデータの識別子とハッシュ関数を用いてIDを計算し、計算したIDが、予め与えられたコンシステントハッシュのID空間においてどの領域に属するかにより、受信した信号をどのサーバに振り分けるか決定する方法である。前記した例でいうと、信号処理サーバへの信号振り分け装置は、要求信号に含まれるcall-ID等をもとに、コンシステントハッシュを用いてこの要求信号をどの信号処理サーバへ振り分けるか決定する。また、データ処理サーバへの信号振り分け装置は、信号処理サーバから出力された信号についてuser-ID等をもとに、コンシステントハッシュを用いてこの信号をどのデータ処理サーバへ振り分けるかを決定する。   Conventionally, a system has been proposed in which a plurality of signal processing servers that process request signals from client apparatuses and a plurality of data processing servers that perform processing based on the request signals are arranged. In this system, by increasing or decreasing the number of servers, it is possible to cope with an increase or decrease in the processing load of the entire system. In such a system, the request signal is distributed from the client device to the signal processing server by, for example, a signal distribution device (see Patent Document 1). As a signal distribution method, for example, a method using a consistent hash is used. (See Non-Patent Document 1). In this method, an ID is calculated using the identifier and hash function of the data requested by the received request signal, and the received ID is received depending on which area the ID space of the consistent hash assigned in advance belongs to. This is a method for determining to which server the signal is distributed. In the above example, the signal distribution device to the signal processing server determines to which signal processing server the request signal is distributed using a consistent hash based on the call-ID included in the request signal. . Further, the signal distribution device to the data processing server determines to which data processing server the signal is distributed using the consistent hash based on the user-ID or the like for the signal output from the signal processing server.

特開2012−160075号公報JP 2012-160075 A

D. Karger, E. Lehman, T. Leighton, M. Levine, D. Lewin, and R. Panigrahy, “Consistent Hashing and Random Trees: Distributed Caching Protocols for Relieving Hot Spots on the World Wide Web,” in Proceedings of the 29th ACM Symposium on Theory of Computing (STOC'97), May 1997 ,pp.654-663.D. Karger, E. Lehman, T. Leighton, M. Levine, D. Lewin, and R. Panigrahy, “Consistent Hashing and Random Trees: Distributed Caching Protocols for Relieving Hot Spots on the World Wide Web,” in Proceedings of the 29th ACM Symposium on Theory of Computing (STOC'97), May 1997, pp.654-663.

この信号処理サーバ群およびデータ処理サーバ群からなるシステムにおいて、要求信号の増加によりデータ処理サーバに輻輳が発生することがある。このような場合、どのようにして輻輳規制(リクエスト規制)を行うか、また、どのようにしてリクエスト規制を解除するかについては検討されていなかった。特に、リクエスト規制の解除については適切に行われないと、以下の様な問題点がある。すなわち、(1)規制対象の要求信号の受信数が充分に少ないのにかかわらずリクエスト規制が継続して行われていると、システムのパフォーマンスが必要以上に低下してしまうという問題点がある。また、(2)規制対象の要求信号の受信数が多いにもかかわらずリクエスト規制を解除すると、データ処理サーバにおいて再度輻輳が発生してしまうという問題点がある。そこで、本発明は、前記した問題を解決し、複数の信号処理サーバと複数のデータ処理サーバとを備えるシステムにおけるリクエスト規制およびリクエスト規制解除を適切に行うことを目的とする。   In a system including the signal processing server group and the data processing server group, congestion may occur in the data processing server due to an increase in request signals. In such a case, how to perform congestion regulation (request regulation) and how to cancel request regulation have not been studied. In particular, if the request restriction is not properly released, there are the following problems. That is, (1) there is a problem that the performance of the system is unnecessarily lowered if the request restriction is continuously performed even though the number of request signals to be regulated is sufficiently small. Further, (2) there is a problem that if the request restriction is canceled even though the number of request signals subject to restriction is large, congestion occurs again in the data processing server. Therefore, an object of the present invention is to solve the above-described problem and appropriately perform request restriction and request restriction release in a system including a plurality of signal processing servers and a plurality of data processing servers.

前記した課題を解決するため、請求項1に記載の発明は、クライアント装置からのデータ処理サーバへの要求信号を処理し、前記データ処理サーバへデータ要求を送信する複数の信号処理サーバと、前記データ要求に基づく処理を行う複数の前記データ処理サーバと、前記データ処理サーバにおける輻輳発生を判定する輻輳判定手段とを備える信号処理システムであって、前記データ処理サーバはそれぞれ、前記データ要求の対象となるデータを記憶するデータ記憶部を備え、前記自身のデータ処理サーバのリソース使用率およびデータ要求数の少なくともいずれか一方が所定の閾値以上となったとき、輻輳が発生したと判定し、前記輻輳判定手段へ輻輳発生通知を送信し、前記リソース利用率が前記所定の閾値未満となったとき、輻輳が低減したと判定し、前記輻輳判定手段へリソース使用率条件充足通知を送信し、前記輻輳判定手段は、前記信号処理サーバの識別情報を示したサーバ情報を記憶する記憶部を備え、前記データ処理サーバからの輻輳発生通知を受信したとき、前記信号処理サーバそれぞれに対し、規制対象とする前記要求信号の種別を示したリクエスト規制指示を送信し、前記信号処理サーバはそれぞれ、前記リクエスト規制指示を受信したとき、前記規制対象の要求信号を受信しても、前記要求信号に基づく処理を実行しないリクエスト規制を行い、前記リクエスト規制指示を受信した信号処理サーバのうち少なくともいずれかが、前記リクエスト規制中、所定期間ごとに、自身の信号処理サーバにおける前記規制対象の要求信号の受信数をカウントし、以下の式(1)を満たすとき、前記輻輳判定手段へリクエスト数条件充足通知を送信し、前記輻輳判定手段は、前記データ処理サーバからリソース使用率条件充足通知を受信し、かつ、前記信号処理サーバからのリクエスト数条件充足通知を受信したとき、前記信号処理サーバそれぞれへのリクエスト規制指示を解除する。
α×自身の信号処理サーバにおける時間あたりの前記規制対象の要求信号の受信数×すべての前記信号処理サーバのうち、自身の信号処理サーバへ前記要求信号が振り分けられる割合の逆数<C…式(1)
但し、αは前記信号処理サーバへの1つの要求信号に対し、前記データ処理サーバへ送信するデータ要求の数であり、Cは所定の閾値とする。
In order to solve the above-described problem, the invention according to claim 1 is configured to process a request signal from a client device to a data processing server and transmit a data request to the data processing server, and A signal processing system comprising a plurality of the data processing servers that perform processing based on a data request, and a congestion determination unit that determines occurrence of congestion in the data processing server, wherein each of the data processing servers is a target of the data request A data storage unit that stores data to be determined, and when at least one of the resource usage rate and the number of data requests of the own data processing server is equal to or greater than a predetermined threshold, it is determined that congestion has occurred, When a congestion occurrence notification is sent to the congestion judgment means and the resource utilization rate falls below the predetermined threshold, congestion is low. A resource usage condition satisfaction notification is transmitted to the congestion determination unit, and the congestion determination unit includes a storage unit that stores server information indicating identification information of the signal processing server, and the data processing server When the congestion occurrence notification is received, a request restriction instruction indicating the type of the request signal to be restricted is transmitted to each of the signal processing servers, and each of the signal processing servers receives the request restriction instruction. Then, even if the request signal to be regulated is received, request regulation that does not execute processing based on the request signal is performed, and at least one of the signal processing servers that received the request regulation instruction is in the request regulation. , For each predetermined period, count the number of reception of the restriction target signal in its own signal processing server, When the expression (1) is satisfied, a request number condition satisfaction notification is transmitted to the congestion determination unit, the congestion determination unit receives a resource usage condition satisfaction notification from the data processing server, and from the signal processing server. When the request number condition satisfaction notification is received, the request restriction instruction to each of the signal processing servers is canceled.
α × number of reception of request signal to be regulated per time in own signal processing server × reciprocal of ratio of request signal to own signal processing server out of all signal processing servers <C 1)
Where α is the number of data requests transmitted to the data processing server in response to one request signal to the signal processing server, and C is a predetermined threshold value.

このように信号処理システムのデータ処理サーバに輻輳が発生したとき、信号処理サーバは、自身の信号処理サーバで受信した規制対象の要求信号数を用いて、データ処理サーバにおけるデータ要求数の合計値を推定する。そして、この推定したデータ要求数の合計値を用いて、リクエスト規制の解除を行ってもよい程度に要求信号数が低下したか否かの判定(リクエスト数条件充足判定)を行う。これにより、信号処理システムにおいてリクエスト規制およびリクエスト規制解除を適切に行うことができる。また、リクエスト規制およびリクエスト規制解除は、データ処理サーバではなく、信号処理サーバ側で行うので、輻輳が発生したデータ処理サーバに負荷を与えないようにできる。   Thus, when congestion occurs in the data processing server of the signal processing system, the signal processing server uses the number of request signals subject to regulation received by its own signal processing server, and the total number of data requests in the data processing server. Is estimated. Then, by using the estimated total number of data requests, it is determined whether or not the number of request signals has decreased to such an extent that the request restriction can be canceled (request number condition satisfaction determination). Thereby, request regulation and request regulation release can be performed appropriately in the signal processing system. Further, since the request restriction and the request restriction release are performed not on the data processing server but on the signal processing server side, it is possible to prevent a load from being applied to the data processing server in which congestion has occurred.

請求項2に記載の発明は、請求項1に記載の信号処理システムの輻輳判定手段が、前記輻輳が発生したデータ処理サーバへの要求信号を、前記規制対象の要求信号とする。   According to a second aspect of the present invention, the congestion determination means of the signal processing system according to the first aspect uses a request signal to the data processing server in which the congestion occurs as the request signal to be regulated.

このようにすることで、輻輳判定手段は、輻輳が発生したデータ処理サーバへのデータ要求のもととなる要求信号をリクエスト規制の対象とすることができる。   By doing in this way, the congestion determination means can make the request signal subject to the request regulation a data request to the data processing server where the congestion has occurred.

請求項3に記載の発明は、請求項1または請求項2に記載の信号処理システムにおいて、前記式(1)を満たすか否かを判定するリクエスト数条件充足判定を行う信号処理サーバは、前記輻輳判定手段により選択されたいずれか1台の信号処理サーバである。   According to a third aspect of the present invention, in the signal processing system according to the first or second aspect, the signal processing server that performs the request number condition satisfaction determination for determining whether or not the expression (1) is satisfied, Any one signal processing server selected by the congestion determination means.

このようにすることで、信号処理サーバは、各データ処理サーバにおけるデータ要求数の合計値の推定値を求めるとき、比較的簡単に求めることができる。   In this way, the signal processing server can obtain the estimated value of the total number of data requests in each data processing server relatively easily.

請求項4に記載の発明は、請求項3に記載の信号処理システムの前記輻輳判定手段により選択された信号処理サーバが、前記信号処理サーバのうち所定の処理能力が最も高いサーバである。   According to a fourth aspect of the present invention, the signal processing server selected by the congestion determination means of the signal processing system according to the third aspect is a server having the highest predetermined processing capability among the signal processing servers.

このようにすることで、信号処理システムの信号処理サーバのうち、比較的処理能力が高い、つまり、処理能力に余裕のある可能性が高い信号処理サーバがリクエスト数条件充足判定を行うので、リクエスト数条件充足判定を確実に行うことができる。   By doing in this way, among the signal processing servers of the signal processing system, a signal processing server having a relatively high processing capacity, that is, a high possibility of having a processing capacity, performs a request number condition satisfaction determination. It is possible to reliably perform the number condition satisfaction determination.

請求項5に記載の発明は、請求項3に記載の信号処理システムにおいて前記選択された信号処理サーバが、前記リクエスト数条件充足判定を行うとき、前記所定期間における、自身の信号処理サーバでカウントした前記規制対象の要求信号の受信数を、他のいずれかの前記信号処理サーバへ送信し、他の前記信号処理サーバから前記規制対象の要求信号の受信数を受信した信号処理サーバはそれぞれ、前記送信された前記規制対象の要求信号の受信数に、前記所定期間における、自身の信号処理サーバでカウントした前記規制対象の要求信号の受信数を加算して、前記受信数をまだ送信していない他の前記信号処理サーバへ送信する処理を行い、前記選択された信号処理サーバは、他のすべての信号処理サーバにおける前記規制対象の要求信号の受信数の合計値を受信した場合、前記式(1)に代えて、以下の式(2)を満たすとき、前記リクエスト数条件充足判定通知を送信する。
前記α×すべての前記信号処理サーバにおける前記規制対象の要求信号の受信数の合計値<前記C…式(2)
According to a fifth aspect of the present invention, in the signal processing system according to the third aspect, when the selected signal processing server performs the request number condition satisfaction determination, the signal processing server counts in its predetermined period. The number of receptions of the restriction target request signal is transmitted to any of the other signal processing servers, and each of the signal processing servers that has received the number of receptions of the restriction target request signal from the other signal processing servers, The number of receptions of the restriction target request signal counted by its own signal processing server in the predetermined period is added to the number of receptions of the restriction target request signal transmitted, and the reception number is still transmitted. The selected signal processing server performs processing to be transmitted to the other signal processing server that is not present, and the selected signal processing server transmits the request signal to be regulated in all other signal processing servers. If the receiving the sum of the received number, in place of the equation (1), when satisfying the following equation (2), transmits the request number condition satisfaction judgment notification.
Α × total value of the number of reception of request signals to be regulated in all the signal processing servers <the C ... expression (2)

このようにすることで、輻輳判定手段は、各データ処理サーバにおけるデータ要求数の合計値を推定するとき、各信号処理サーバにおける規制対象の要求信号の受信数の合計値を用いるので、正確な値を得ることができる。   In this way, when the congestion determination means estimates the total number of data requests in each data processing server, the congestion determination means uses the total number of receptions of request signals to be regulated in each signal processing server. A value can be obtained.

請求項6に記載の発明は、請求項1または請求項2に記載の信号処理システムにおいて前記式(1)を満たすか否かを判定するリクエスト数条件充足判定を行う前記信号処理サーバが、前記システムにおいて前記リクエスト規制指示を受信したすべての前記信号処理サーバであり、前記輻輳判定手段は、いずれかの前記データ処理サーバからのリソース使用率充足通知を受信し、かつ、所定数a以上の前記信号処理サーバからのリクエスト数条件充足判定通知を受信したとき、前記信号処理サーバそれぞれへのリクエスト規制指示を解除する。   According to a sixth aspect of the present invention, the signal processing server that performs the request number condition satisfaction determination for determining whether or not the expression (1) is satisfied in the signal processing system according to the first or second aspect, All the signal processing servers that have received the request restriction instruction in the system, wherein the congestion determination means receives a resource usage rate satisfaction notification from any of the data processing servers, and the predetermined number a or more When the request number condition satisfaction determination notification is received from the signal processing server, the request restriction instruction to each of the signal processing servers is canceled.

このようにすることで、輻輳判定手段は、各データ処理サーバにおけるデータ要求数の合計値を推定するとき、各信号処理サーバにおける規制対象の要求信号の受信数の合計値を用いるので、正確な値を得ることができる。   In this way, when the congestion determination means estimates the total number of data requests in each data processing server, the congestion determination means uses the total number of receptions of request signals to be regulated in each signal processing server. A value can be obtained.

請求項7に記載の発明は、クライアント装置からのデータ処理サーバへの要求信号を処理し、前記データ処理サーバへデータ要求を送信する複数の信号処理サーバと、前記データ要求に基づく処理を行う複数の前記データ処理サーバと、前記データ処理サーバにおける輻輳発生を判定する輻輳判定手段とを備える信号処理システムであって、前記データ処理サーバはそれぞれ、前記データ要求の対象となるデータを記憶するデータ記憶部を備え、前記自身のデータ処理サーバのリソース使用率およびデータ要求数の少なくともいずれか一方が所定の閾値以上となったとき、輻輳が発生したと判定し、前記輻輳判定手段へ輻輳発生通知を送信し、前記リソース利用率が前記所定の閾値未満となったとき、輻輳が低減したと判定し、前記輻輳判定手段へリソース使用率条件充足通知を送信し、前記輻輳判定手段は、前記信号処理サーバの識別情報を示したサーバ情報を記憶する記憶部を備え、前記輻輳発生通知を受信したとき、前記信号処理サーバそれぞれに対し、規制対象とする前記要求信号の種別を示したリクエスト規制指示を送信し、前記信号処理サーバはそれぞれ、前記リクエスト規制指示を受信したとき、前記規制対象の前記要求信号を受信しても、前記要求信号に基づく処理を実行しないリクエスト規制を行い、前記リクエスト規制中、所定期間ごとに、前記規制対象の要求信号の受信数をカウントし、前記カウントした要求信号の受信数を、前記輻輳判定手段へ送信し、前記輻輳判定手段は、前記データ処理サーバからリソース使用率条件充足通知を受信し、かつ、(前記信号処理サーバへの1つの要求信号に対し、前記データ処理サーバへ送信するデータ要求の数α×前記信号処理サーバそれぞれでカウントされた要求信号の受信数の合計値)の値が所定の閾値C未満と判定したとき、前記信号処理サーバそれぞれへのリクエスト規制指示を解除する。   The invention according to claim 7 is a plurality of signal processing servers for processing a request signal from a client device to a data processing server and transmitting a data request to the data processing server, and a plurality of processing based on the data request. A data processing system comprising: the data processing server; and a congestion determination means for determining occurrence of congestion in the data processing server, wherein each of the data processing servers stores data subject to the data request And determining that congestion has occurred when at least one of the resource usage rate and the number of data requests of the own data processing server is equal to or greater than a predetermined threshold, and notifying the congestion determination means of congestion occurrence And when the resource utilization rate falls below the predetermined threshold, it is determined that congestion is reduced, and the congestion determination A resource usage rate condition satisfaction notification is transmitted to the stage, and the congestion determination means includes a storage unit that stores server information indicating identification information of the signal processing server, and when the congestion occurrence notification is received, the signal processing A request restriction instruction indicating the type of the request signal to be restricted is transmitted to each server, and each of the signal processing servers receives the request signal to be restricted when receiving the request restriction instruction. However, the request restriction that does not execute the processing based on the request signal is performed, and during the request restriction, the number of reception of the request signal to be restricted is counted every predetermined period, and the number of reception of the counted request signal is The congestion determination unit receives a resource usage condition satisfaction notification from the data processing server, and (previous) For one request signal to the signal processing server, the value of the number of data requests to be transmitted to the data processing server α × the total number of received request signals counted by each of the signal processing servers) is a predetermined threshold C When it is determined that the request is less than, the request restriction instruction to each of the signal processing servers is canceled.

このようにすることで、信号処理システムの各信号処理サーバ側で規制対象リクエスト数の条件を充足するか否かの判定を行う必要がなくなる。   By doing in this way, it is not necessary to determine whether or not the condition of the number of requests to be regulated is satisfied on each signal processing server side of the signal processing system.

請求項8に記載の発明は、請求項1ないし請求項6のいずれか1項に記載の信号処理システムの信号処理サーバが、コンシステントハッシュにより振り分けられた前記要求信号を受信するサーバであり、前記データ処理サーバは、前記コンシステントハッシュにより振り分けられた前記データ要求を受信するサーバである場合、前記式(1)における、すべての前記信号処理サーバのうち、自身の信号処理サーバへ前記要求信号が振り分けられる割合の逆数に代えて、前記コンシステントハッシュにおける前記すべての信号処理サーバの担当領域÷前記コンシステントハッシュにおける自身の信号処理サーバへの振り分け担当領域の合計を用いる。   The invention according to claim 8 is a server in which the signal processing server of the signal processing system according to any one of claims 1 to 6 receives the request signal distributed by the consistent hash, When the data processing server is a server that receives the data request distributed by the consistent hash, the request signal is transmitted to its own signal processing server among all the signal processing servers in the equation (1). Is used instead of the reciprocal of the ratio at which all the signal processing servers are assigned in the consistent hash divided by the total of the areas assigned to the own signal processing servers in the consistent hash.

このようにすることで、信号処理サーバがコンシステントハッシュにより振り分けられた要求信号やデータ要求を処理するサーバである場合における全信号処理サーバへの規制対象の要求信号数を推定できる。これにより、信号処理サーバは、各データ処理サーバにおけるデータ要求数の合計値を正確に推定しやすくなる。   In this way, it is possible to estimate the number of request signals to be restricted to all signal processing servers when the signal processing server is a server that processes request signals and data requests distributed by the consistent hash. This makes it easier for the signal processing server to accurately estimate the total number of data requests in each data processing server.

本発明によれば、複数の信号処理サーバと複数のデータ処理サーバとを備えるシステムにおけるリクエスト規制およびリクエスト規制解除を適切に行うことができる。   According to the present invention, it is possible to appropriately perform request restriction and request restriction release in a system including a plurality of signal processing servers and a plurality of data processing servers.

各実施の形態のシステム(信号処理システム)の全体構成を示す図である。It is a figure which shows the whole structure of the system (signal processing system) of each embodiment. 各実施の形態のシステムの概要を説明する図である。It is a figure explaining the outline | summary of the system of each embodiment. 各実施の形態のシステムの概要を説明する図である。It is a figure explaining the outline | summary of the system of each embodiment. 各実施の形態のシステムの概要を説明する図である。It is a figure explaining the outline | summary of the system of each embodiment. 第1の実施の形態のシステムの概要を説明する図である。It is a figure explaining the outline | summary of the system of 1st Embodiment. 第1の実施の形態および第2の実施の形態のシステムの構成を示す図である。It is a figure which shows the structure of the system of 1st Embodiment and 2nd Embodiment. 第1の実施の形態のシステムにおけるリクエスト規制時の処理手順を示す図である。It is a figure which shows the process sequence at the time of the request regulation in the system of 1st Embodiment. 第1の実施の形態のシステムにおけるリクエスト規制解除時の処理手順を示す図である。It is a figure which shows the process sequence at the time of the request | requirement cancellation | release in the system of 1st Embodiment. 第2の実施の形態のシステムの概要を説明する図である。It is a figure explaining the outline | summary of the system of 2nd Embodiment. 第2の実施の形態のシステムにおけるリクエスト規制解除時の処理手順を示す図である。It is a figure which shows the process sequence at the time of the request | requirement cancellation | release in the system of 2nd Embodiment. 第3の実施の形態のシステムの概要を説明する図である。It is a figure explaining the outline | summary of the system of 3rd Embodiment. 第3の実施の形態のシステムの構成を示す図である。It is a figure which shows the structure of the system of 3rd Embodiment. 第3の実施の形態のシステムにおけるリクエスト規制時の処理手順を示す図である。It is a figure which shows the process sequence at the time of the request regulation in the system of 3rd Embodiment. 第3の実施の形態のシステムにおけるリクエスト規制解除時の処理手順を示す図である。It is a figure which shows the process sequence at the time of the request | requirement cancellation | release in the system of 3rd Embodiment. 第4の実施の形態のシステムの概要を説明する図である。It is a figure explaining the outline | summary of the system of 4th Embodiment. 第4の実施の形態のシステムの構成を示す図である。It is a figure which shows the structure of the system of 4th Embodiment. 第4の実施の形態のシステムにおけるリクエスト規制解除時の処理手順を示す図である。It is a figure which shows the process sequence at the time of the request | requirement cancellation | release in the system of 4th Embodiment.

以下、図面を参照しながら、本発明を実施するための形態(以下、実施の形態という)について、第1の実施の形態から第4の実施の形態に分けて説明する。   Hereinafter, modes for carrying out the present invention (hereinafter referred to as embodiments) will be described separately from the first embodiment to the fourth embodiment with reference to the drawings.

まず、各実施の形態のシステム(信号処理システム)の全体構成を説明する。図1に示すように、システムは、クライアント装置(図示省略)からの要求信号(リクエスト)を処理する信号処理サーバ20群である信号処理部200と、信号処理サーバ20からのデータ要求に基づく処理を行う複数のデータベースサーバ(データ処理サーバ)40群であるデータベース部400とを備える。また、このシステムは、クライアント装置からデータ取得のための要求信号を各信号処理サーバ20へ振り分ける要求信号振り分け装置10と、各信号処理サーバ20からのデータ要求を各データベースサーバ40へ振り分けるデータ要求振り分け装置30とを備える。要求信号振り分け装置10は、クライアント装置からの要求信号を受信すると、この要求信号に含まれるcall-ID等を用いてコンシステントハッシュ(非特許文献1参照)による各信号処理サーバ20への要求信号の振り分けを行う。振り分けられた要求信号を受信した信号処理サーバ20は、この要求信号に基づくデータ要求をデータ要求振り分け装置30へ送信する。このデータ要求を受信したデータ要求振り分け装置30は、データ要求に含まれるuser-ID等を用いてコンシステントハッシュによる各データベースサーバ40へのデータ要求の振り分けを行う。振り分けられたデータ要求を受信したデータベースサーバ40は、このデータ要求に基づく処理を行い、その結果を信号処理サーバ20経由で、クライアント装置へ返す。例えば、データベースサーバ40は、データ要求の対象であるデータを自身のデータ記憶部441(後記)から検索し、検索したデータを信号処理サーバ20経由でクライアント装置へ送信する。   First, the overall configuration of the system (signal processing system) of each embodiment will be described. As shown in FIG. 1, the system includes a signal processing unit 200 that is a group of signal processing servers 20 that processes a request signal (request) from a client device (not shown), and a process based on a data request from the signal processing server 20. And a database unit 400 which is a group of a plurality of database servers (data processing servers) 40 for performing The system also distributes a request signal for data acquisition from a client device to each signal processing server 20, and a data request distribution for distributing a data request from each signal processing server 20 to each database server 40. Device 30. Upon receiving a request signal from the client device, the request signal distribution device 10 uses the call-ID included in the request signal to request signals to the signal processing servers 20 using a consistent hash (see Non-Patent Document 1). Sort out. The signal processing server 20 that has received the distributed request signal transmits a data request based on the request signal to the data request distribution device 30. Upon receiving this data request, the data request distribution device 30 distributes the data request to each database server 40 by a consistent hash using the user-ID included in the data request. Upon receiving the distributed data request, the database server 40 performs processing based on the data request and returns the result to the client device via the signal processing server 20. For example, the database server 40 searches the data storage unit 441 (described later) for data that is the target of the data request, and transmits the searched data to the client device via the signal processing server 20.

ここでコンシステントハッシュによる信号の振り分けは、図1に例示するようにコンシステントハッシュのID空間を用いる。このコンシステントハッシュのID空間には、それぞれのサーバA,B,C(信号処理サーバ20やデータベースサーバ40等)の担当領域が決められており、各振り分け装置が、受信した信号に含まれる特定キーとハッシュ関数とを用いてハッシュ値を計算する。そして、各振り分け装置によるサーバへの振り分けは、計算したハッシュ値が、このコンシステントハッシュのID空間において、どのサーバに担当領域に属するかを判定することにより行われる。このようにコンシステントハッシュを用いて各サーバへの要求信号等の振り分けを行うことで、サーバそれぞれの性能が不均一であった場合にもそれぞれの性能に対応した割合で要求信号の振り分けを行うことができる。例えば、サーバA〜Cの性能指標値が図1のグラフに示す値であった場合において、この性能指標値に応じて各サーバの担当領域を決めておけば、比較的性能が高いサーバBには多数の信号が振り分けられ、比較的性能が低いサーバAにはそれほど多くの信号が振り分けられない。このように、性能に応じた信号振り分けを行うことで、複数のサーバからなるシステムにおいて、様々な性能のサーバを含めることができ、システムのスケーラビリティを確保しやすくなる。   Here, the signal distribution by the consistent hash uses the ID space of the consistent hash as illustrated in FIG. In the consistent hash ID space, the areas in charge of the servers A, B, and C (the signal processing server 20, the database server 40, and the like) are determined, and each distribution device specifies the identification included in the received signal. A hash value is calculated using a key and a hash function. Then, the distribution to the server by each distribution device is performed by determining to which server the calculated hash value belongs to the area in charge in the consistent hash ID space. In this way, by distributing the request signal to each server using the consistent hash, even if the performance of each server is not uniform, the request signal is distributed at a rate corresponding to each performance. be able to. For example, when the performance index values of the servers A to C are the values shown in the graph of FIG. 1, if the assigned area of each server is determined in accordance with the performance index value, the server B having a relatively high performance can be obtained. A large number of signals are distributed, and so many signals are not distributed to the server A having relatively low performance. In this way, by performing signal distribution according to performance, it is possible to include servers with various performances in a system composed of a plurality of servers, and it is easy to ensure system scalability.

なお、本実施の形態において、信号処理部200の信号処理サーバ20群およびデータベース部400のデータベースサーバ40群はそれぞれ、コンシステントハッシュにより、それぞれの性能に応じた信号の振り分けがされる場合を例に説明するが、これに限定されない。例えば、各振り分け装置は、コンシステントハッシュ以外の方法でそれぞれのサーバの性能に応じて信号の振り分けをしてもよいし、サーバの性能に関係なく、各サーバに均等に信号の振り分けを行うようにするようにしてもよい。また、本実施の形態において、信号処理サーバ20で受け付けた信号を処理するのはデータベースサーバである場合を例に説明するが、データベースサーバ以外のデータ処理サーバであってもよい。   In the present embodiment, the signal processing server 20 group of the signal processing unit 200 and the database server 40 group of the database unit 400 are examples in which signals are distributed according to their performance by consistent hash. However, the present invention is not limited to this. For example, each distribution device may distribute signals according to the performance of each server by a method other than the consistent hash, or distribute signals equally to each server regardless of the server performance. You may make it. In the present embodiment, the signal received by the signal processing server 20 is described as an example of processing by a database server. However, a data processing server other than the database server may be used.

次に、図2〜図4を用いて、各実施の形態のシステムの概要を説明する。なお、各図において、図1の各振り分け装置は図示を省略している。   Next, the outline of the system according to each embodiment will be described with reference to FIGS. In each drawing, each distribution device in FIG. 1 is not shown.

図2に示すように、本システムは、信号処理部200およびデータベース部400に接続される輻輳判定装置50を備える。この輻輳判定装置50は、データベース部400のデータベースサーバ40それぞれの輻輳状態を監視し、データベースサーバ40において輻輳が発生したとき、信号処理サーバ20に対しリクエスト規制指示を行う。また、データベースサーバ40における輻輳状態が改善してきた場合には、各信号処理サーバ20に対しリクエスト規制の解除指示を行う。ここで、信号処理サーバ20におけるリクエスト規制とは、例えば、クライアント装置(図示省略)からの要求信号を受信した場合でも、クライアント装置へエラーメッセージを返し、データベースサーバ40へのデータ要求を送信しないようにすること等である。つまり、本システムは、輻輳が発生したデータベースサーバ40ではなく、信号処理サーバ20側でリクエスト規制を行うようにする。このようにすることで、データベースサーバ40における輻輳を悪化させないようにできる。   As shown in FIG. 2, the present system includes a congestion determination device 50 connected to the signal processing unit 200 and the database unit 400. The congestion determination device 50 monitors the congestion state of each database server 40 of the database unit 400, and issues a request restriction instruction to the signal processing server 20 when congestion occurs in the database server 40. When the congestion state in the database server 40 has improved, a request restriction release instruction is issued to each signal processing server 20. Here, the request restriction in the signal processing server 20 means that, for example, even when a request signal from a client device (not shown) is received, an error message is returned to the client device and a data request to the database server 40 is not transmitted. And so on. That is, the present system performs request regulation on the signal processing server 20 side, not on the database server 40 where congestion has occurred. By doing so, it is possible to prevent the congestion in the database server 40 from getting worse.

次に、図3を用いて、図2の輻輳判定装置50の処理概要を説明する。図2の輻輳判定装置50は、データベース部400の各データベースサーバ40(図2参照)におけるデータ要求の集中等によりリソース使用率があらかじめ決定した条件が超えた場合に規制(リクエスト規制)を実行する。そして、図3に示すように、リクエスト規制時には、輻輳判定装置50(図2参照)からの指示に基づき、信号処理部200の各信号処理サーバ20(図2参照)は規制対象リクエストに対してエラー応答や破棄等の規制を実行する。その後、信号処理部200は、輻輳判定装置50からの指示に基づき、リクエスト規制の解除を行う。なお、ここで規制対象とするリクエストは、例えば、特定のサーバ(例えば、輻輳が発生したデータベースサーバ40)へのリクエストでもよいし。全リクエストでもよいし、特定キーのリクエストでもよい。輻輳が発生したデータベースサーバ40へのリクエストを規制対象リクエストとする場合、輻輳判定装置50は前記したコンシステントハッシュを用いて、輻輳が発生したデータベースサーバ40へのリクエストに含まれるキーと特定し、この特定したキーを含むリクエストを規制対象とするよう信号処理サーバ20へ指示する。   Next, the processing outline of the congestion determination apparatus 50 in FIG. 2 will be described with reference to FIG. The congestion determination device 50 in FIG. 2 executes restriction (request restriction) when the resource usage rate exceeds a predetermined condition due to concentration of data requests in each database server 40 (see FIG. 2) of the database unit 400. . As shown in FIG. 3, at the time of request restriction, each signal processing server 20 (see FIG. 2) of the signal processing unit 200 responds to the restriction target request based on an instruction from the congestion determination device 50 (see FIG. 2). Execute restrictions such as error response and discard. Thereafter, the signal processing unit 200 cancels the request restriction based on an instruction from the congestion determination device 50. The request to be regulated here may be a request to a specific server (for example, the database server 40 in which congestion has occurred), for example. All requests or a request for a specific key may be used. When a request to the database server 40 in which congestion occurs is a restriction target request, the congestion determination device 50 uses the above-described consistent hash to identify a key included in the request to the database server 40 in which congestion has occurred, The signal processing server 20 is instructed to restrict the request including the identified key.

ここで、輻輳判定装置50は、以下の2つの条件を同時に満たしたときにリクエスト規制を解除すると判定する。
(1)データベース部400における輻輳したサーバ(データベースサーバ40)のリソース使用率<R(Rはリソース使用率に関する閾値)
(2)データベース部400におけるサーバ(データベースサーバ40)へのデータ要求数の推定値<C(Cはリクエスト数に関する閾値)
Here, the congestion determination device 50 determines to release the request restriction when the following two conditions are satisfied simultaneously.
(1) Resource usage rate of a congested server (database server 40) in the database unit 400 <R (R is a threshold value related to resource usage rate)
(2) Estimated value of the number of data requests to the server (database server 40) in the database unit 400 <C (C is a threshold regarding the number of requests)

つまり、図4に例示するように、データベース部400(図2のデータベースサーバ40)は自身のリソース使用率を監視し、リソース使用率が所定の閾値R未満になるという条件を充足したとき、その旨を輻輳判定装置50へ通知する。つまり、データベースサーバ40は自サーバにおける輻輳が解消しつつあるとき、その旨を輻輳判定装置50へ通知する。また、信号処理部200(図2の信号処理サーバ20)は、リクエスト規制を開始後、所定期間ごとに、自サーバで受信した規制対象リクエスト数(以下、適宜、リクエスト数と略す)のカウントを行う。そして、信号処理サーバ20は、受信した規制対象リクエスト数から、本来であればデータベース部400(データベースサーバ40)へ送信されるデータ要求数を推定する(詳細は後記)。そして、このデータ要求数の推定値が所定の閾値C未満となるという条件を充足したとき、つまり、リクエスト数条件充足と判定したとき、信号処理部200は、輻輳判定装置50へその旨を通知する。つまり、信号処理サーバ20は、自サーバで受信した規制対象リクエストが減ってきたとき、データベース部400へのデータ要求数も減ると推測し、その旨を輻輳判定装置50へ通知する。そして、輻輳判定装置50は、信号処理部200におけるリクエスト数条件充足の通知、および、データベース部400におけるリソース使用率の条件充足の通知を受信したときリクエスト規制を解除すると判断をし、リクエスト規制の解除を実行する。   That is, as illustrated in FIG. 4, the database unit 400 (the database server 40 in FIG. 2) monitors its own resource usage rate, and when the condition that the resource usage rate is less than a predetermined threshold R is satisfied, To the congestion determination device 50. That is, the database server 40 notifies the congestion determination device 50 to the effect that the congestion in the server itself is being resolved. Further, the signal processing unit 200 (the signal processing server 20 in FIG. 2) counts the number of requests subject to restriction (hereinafter abbreviated as the number of requests as appropriate) received at its own server every predetermined period after the start of request restriction. Do. Then, the signal processing server 20 estimates the number of data requests that are normally transmitted to the database unit 400 (database server 40) from the received number of requests to be regulated (details will be described later). When the condition that the estimated value of the number of data requests is less than the predetermined threshold C is satisfied, that is, when it is determined that the request number condition is satisfied, the signal processing unit 200 notifies the congestion determination device 50 to that effect. To do. That is, the signal processing server 20 estimates that the number of data requests to the database unit 400 will decrease when the number of requests subject to restriction received by its own server decreases, and notifies the congestion determination device 50 to that effect. Then, the congestion determination device 50 determines that the request restriction is to be released when the request processing condition satisfaction notification in the signal processing unit 200 and the resource utilization condition satisfaction notification in the database unit 400 are received. Perform release.

<第1の実施の形態>
(概要)
図5を用いて、第1の実施の形態のシステムの概要を説明する。第1の実施の形態のシステムは、信号処理部200によるリクエスト規制の開始後、図5に示すように、信号処理部200の代表サーバが、自サーバで受信した規制対象リクエスト数に基づき、リクエスト数条件充足判定を行い、リクエスト数条件充足時に輻輳判定装置50へ通知することを特徴とする。すなわち、信号処理部200の代表サーバ(例えば、性能が高いサーバ)で受信した規制対象リクエスト数から、全規制対象リクエスト数(信号処理部200全体で受信する規制対象リクエスト数)を推定し、その推定値を用いて、さらに、本来のデータ要求数を計算し、リクエスト数条件充足判定を行うことを特徴とする。
<First Embodiment>
(Overview)
The outline of the system according to the first embodiment will be described with reference to FIG. As shown in FIG. 5, the system according to the first embodiment is configured so that the representative server of the signal processing unit 200 makes a request based on the number of requests to be controlled received by its own server, as shown in FIG. The number condition satisfaction determination is performed, and the congestion determination apparatus 50 is notified when the request number condition is satisfied. That is, the total number of requests subject to restriction (the number of requests subject to restriction received by the entire signal processor 200) is estimated from the number of requests subject to restriction received by a representative server (for example, a server with high performance) of the signal processing unit 200, Using the estimated value, the number of original data requests is further calculated, and the request number condition satisfaction determination is performed.

ここで、信号処理部200全体で受信する規制対象リクエスト数は、
(自サーバ(代表サーバ)における時間あたりの規制対象リクエスト数)×(信号処理部200のすべての信号処理サーバ20のうち、自サーバ(代表サーバ)へ要求信号が振り分けられる割合の逆数を計算すればよい。よって、本システムのようにコンシステントハッシュによりリクエストの振り分けが行われる場合のリクエスト数条件充足判定は、以下の式(3)に基づき行われる。
Here, the number of restriction target requests received by the entire signal processing unit 200 is:
(Number of requests subject to restriction per time in own server (representative server)) × (reciprocal of ratio of request signal distributed to own server (representative server) among all signal processing servers 20 of signal processing unit 200 Therefore, the request number condition satisfaction determination when requests are distributed by the consistent hash as in this system is performed based on the following equation (3).

α×(自サーバへの時間あたりの規制対象リクエスト数)×(全サーバ(すべての信号処理サーバ20)のコンシステントハッシュにおける担当領域の合計)÷自サーバのコンシステントハッシュにおける振り分け担当領域の合計<C…式(3)   α x (number of requests subject to restriction per time to own server) x (total of assigned areas in consistent hash of all servers (all signal processing servers 20)) / total of assigned areas in consistent hash of own server <C ... Formula (3)

但し、各信号処理サーバ20の性能指標値に比例してコンシステントハッシュの担当領域が決まっているものとする。また、αは信号処理サーバ20への1つの要求信号に対し、データベースサーバ40へ送信するデータ要求の数とし、Cはリクエスト数条件充足判定に用いる閾値である。   However, it is assumed that the consistent hash assigned area is determined in proportion to the performance index value of each signal processing server 20. Further, α is the number of data requests to be transmitted to the database server 40 for one request signal to the signal processing server 20, and C is a threshold value used for request number condition satisfaction determination.

つまり、信号処理サーバ20は、自サーバへの規制対象リクエスト数から、信号処理部200全体の規制対象リクエスト数を推定し、その推定値から、データベース部400への全リクエスト数(データ要求数)を計算する。そして、信号処理サーバ20は、計算した全リクエスト数を用いて、リクエスト数条件充足判定を行う。   That is, the signal processing server 20 estimates the number of requests subject to restriction of the entire signal processing unit 200 from the number of requests subject to restriction for the server itself, and the total number of requests to the database unit 400 (number of data requests) from the estimated value. Calculate And the signal processing server 20 performs request number condition satisfaction determination using the calculated total number of requests.

(構成)
次に、図6を用いて第1の実施の形態のシステムにおける、信号処理サーバ20、データベースサーバ40、および、輻輳判定装置50の構成を説明する。なお、以下の説明において、クライアント装置、図1の要求信号振り分け装置10およびデータ要求振り分け装置30は図示を省略している。
(Constitution)
Next, the configuration of the signal processing server 20, the database server 40, and the congestion determination device 50 in the system according to the first embodiment will be described with reference to FIG. In the following description, the client device, the request signal distribution device 10 and the data request distribution device 30 in FIG. 1 are not shown.

(信号処理サーバ)
信号処理サーバ20は、クライアント装置(図示省略)からの要求信号を処理するサーバである。この信号処理サーバ20は、クライアント装置からの要求信号を受信すると、この要求信号に基づくデータ要求をデータベースサーバ40へ送信し、このデータ要求の応答結果をクライアント装置へ返す。この信号処理サーバ20は、制御部21、入出力部22、メモリ部23および記憶部24を備える。
(Signal processing server)
The signal processing server 20 is a server that processes a request signal from a client device (not shown). When the signal processing server 20 receives a request signal from the client device, the signal processing server 20 transmits a data request based on the request signal to the database server 40 and returns a response result of the data request to the client device. The signal processing server 20 includes a control unit 21, an input / output unit 22, a memory unit 23, and a storage unit 24.

制御部21は、信号処理サーバ20全体の制御を司り、リクエスト処理部211、リクエスト規制部212およびリクエスト数条件充足判定部213を備える。破線で示したリクエスト数加算転送部214は装備する場合と装備しない場合とがあり、装備する場合について後記する。   The control unit 21 controls the entire signal processing server 20, and includes a request processing unit 211, a request regulation unit 212, and a request number condition satisfaction determination unit 213. The request number addition transfer unit 214 indicated by a broken line may or may not be equipped, and the case where it is equipped will be described later.

リクエスト処理部211は、要求信号振り分け装置10(図1参照)経由で、クライアント装置からの要求信号を受信すると、この要求信号に基づくデータ要求をデータベースサーバ40へ送信し、このデータ要求の応答結果をクライアント装置へ返す。   Upon receiving a request signal from the client device via the request signal distribution device 10 (see FIG. 1), the request processing unit 211 transmits a data request based on the request signal to the database server 40, and a response result of the data request To the client device.

リクエスト規制部212は、輻輳判定装置50からのリクエスト規制指示に基づきリクエスト規制を行う。すなわち、リクエスト規制部212は、輻輳判定装置50から送信されたリクエスト規制指示に示される規制対象リクエストについて、リクエスト処理部211に対して、クライアント装置へエラー応答や破棄等を行うよう指示する。   The request restriction unit 212 performs request restriction based on a request restriction instruction from the congestion determination device 50. In other words, the request restriction unit 212 instructs the request processing unit 211 to perform an error response, discard, or the like to the request processing unit 211 for the restriction target request indicated in the request restriction instruction transmitted from the congestion determination device 50.

リクエスト数条件充足判定部213は、リクエスト規制期間中、所定期間ごとに、自サーバにおける規制対象リクエスト数をカウントし、カウントした規制対象リクエスト数に基づき、全データベースサーバ40へのデータ要求数の合計値を推定する。そして、リクエスト数条件充足判定部213はリクエスト数条件充足判定を行い(つまり、推定したデータ要求数の合計値が所定の閾値C未満か否かを判定し)、推定したデータ要求数が所定の閾値C未満となったとき、輻輳判定装置50へリクエスト数条件充足通知を送信する。つまり、リクエスト数条件充足判定部213は、前記した式(3)によりリクエスト数条件充足判定を行い、条件を充足していれば、輻輳判定装置50へリクエスト数条件充足通知を送信する。   The request number condition satisfaction determination unit 213 counts the number of requests to be regulated in its own server for each predetermined period during the request regulation period, and sums the number of data requests to all database servers 40 based on the counted number of requests to be regulated. Estimate the value. Then, the request number condition satisfaction determination unit 213 performs request number condition satisfaction determination (that is, determines whether the estimated total number of data requests is less than a predetermined threshold C), and the estimated number of data requests is a predetermined number. When the value is less than the threshold value C, a request number condition satisfaction notification is transmitted to the congestion determination device 50. That is, the request number condition satisfaction determination unit 213 performs request number condition satisfaction determination according to the above-described equation (3), and transmits a request number condition satisfaction notification to the congestion determination device 50 if the condition is satisfied.

入出力部22は、他の装置やサーバとの間で情報の入出力を行う。例えば、入出力部22は、クライアント装置からのリクエストを受け付け、これに基づくデータ要求をデータベースサーバ40へ送信したり、輻輳判定装置50からのリクエスト規制指示を受信したりする。この入出力部22は通信回線を介して情報の送受信を行う通信インタフェースと、不図示のキーボード等の入力装置やモニタ等の出力装置等との間で入出力を行う入出力インタフェースとにより構成される。   The input / output unit 22 inputs and outputs information with other devices and servers. For example, the input / output unit 22 receives a request from the client device and transmits a data request based on the request to the database server 40 or receives a request restriction instruction from the congestion determination device 50. The input / output unit 22 includes a communication interface that transmits and receives information via a communication line, and an input / output interface that performs input / output between an input device such as a keyboard (not shown) and an output device such as a monitor. The

メモリ部23は、RAM(Random Access Memory)等の記憶装置からなり、制御部21におけるデータ処理に必要な情報を一時的に記憶する。   The memory unit 23 includes a storage device such as a RAM (Random Access Memory), and temporarily stores information necessary for data processing in the control unit 21.

記憶部24は、ハードディスク装置やフラッシュメモリ等の記憶装置からなり、輻輳判定装置50から通知された規制対象リクエスト指示に含まれる規制対象リクエスト情報241を記憶する。この規制対象リクエスト情報241は、規制対象となるリクエストの種別(例えば、規制対象リクエストに含まれる特定キー等)を示した情報である。この規制対象リクエスト情報241は、リクエスト規制部212がリクエスト規制を行うときに参照される。   The storage unit 24 includes a storage device such as a hard disk device or a flash memory, and stores restriction target request information 241 included in the restriction target request instruction notified from the congestion determination device 50. The restriction target request information 241 is information indicating the type of request to be restricted (for example, a specific key included in the restriction target request). The restriction target request information 241 is referred to when the request restriction unit 212 performs request restriction.

(データベースサーバ)
データベースサーバ40は、信号処理サーバ20からのデータ要求に基づき、要求対象となっているデータを、データ記憶部441(後記)から検索し、検索したデータを信号処理サーバ20へ送信する。このデータベースサーバ40は、制御部41、入出力部42、メモリ部43および記憶部44を備える。
(Database server)
Based on the data request from the signal processing server 20, the database server 40 searches the data storage unit 441 (described later) for the data to be requested, and transmits the searched data to the signal processing server 20. The database server 40 includes a control unit 41, an input / output unit 42, a memory unit 43, and a storage unit 44.

制御部41は、データベースサーバ40全体の制御を司り、データ要求受信部411、データ送信部412、輻輳判定部413およびリソース監視部414を備える。   The control unit 41 controls the entire database server 40 and includes a data request reception unit 411, a data transmission unit 412, a congestion determination unit 413, and a resource monitoring unit 414.

データ要求受信部411は、信号処理サーバ20からのデータ要求を受信する。   The data request receiving unit 411 receives a data request from the signal processing server 20.

データ送信部412は、信号処理サーバ20からのデータ要求に基づき、要求対象となっているデータを、データ記憶部441(後記)から検索し、検索したデータを信号処理サーバ20へ送信する。   Based on the data request from the signal processing server 20, the data transmission unit 412 searches the data storage unit 441 (to be described later) for the data to be requested, and transmits the retrieved data to the signal processing server 20.

輻輳判定部413は、リソース監視部414(後記)による自サーバのリソース使用率の監視結果が、輻輳判定情報442(後記)に示される所定の閾値R未満であるか否かを判定する。そして、輻輳判定部413は、自サーバのリソース使用率が所定の閾値R以上と判定すると、その旨を輻輳発生通知として輻輳判定装置50へ送信する。また、輻輳判定部413は、輻輳発生通知を送信後、リソース監視部414(後記)による自サーバのリソース使用率の監視結果が、所定値R未満になったと判定すると、その旨をリソース使用率条件充足通知として輻輳判定装置50へ送信する。   The congestion determination unit 413 determines whether or not the resource monitoring rate of the own server by the resource monitoring unit 414 (described later) is less than a predetermined threshold R indicated in the congestion determination information 442 (described later). Then, when the congestion determination unit 413 determines that the resource usage rate of the own server is equal to or greater than the predetermined threshold R, the congestion determination unit 413 transmits the fact to the congestion determination device 50 as a congestion occurrence notification. When the congestion determination unit 413 determines that the resource monitoring rate of the local server by the resource monitoring unit 414 (described later) is less than the predetermined value R after transmitting the congestion occurrence notification, the resource usage rate It transmits to the congestion determination apparatus 50 as a condition satisfaction notification.

リソース監視部414は、自サーバのリソース使用率(例えば、CPU(Central Processing Unit)使用率やメモリの使用率等)を監視する。   The resource monitoring unit 414 monitors the resource usage rate (for example, CPU (Central Processing Unit) usage rate, memory usage rate, etc.) of the server itself.

入出力部42は、他の装置やサーバとの間で情報の入出力を行う。例えば、入出力部42は、信号処理サーバ20からのデータ要求を受け付け、データ要求に基づき、要求対象となっているデータを信号処理サーバ20へ送信したり、輻輳判定装置50へ輻輳発生通知を送信したりする。この入出力部42は通信回線を介して情報の送受信を行う通信インタフェースと、不図示のキーボード等の入力装置やモニタ等の出力装置等との間で入出力を行う入出力インタフェースとにより構成される。   The input / output unit 42 inputs / outputs information to / from other devices and servers. For example, the input / output unit 42 receives a data request from the signal processing server 20, and transmits the requested data to the signal processing server 20 based on the data request, or notifies the congestion determination device 50 of the occurrence of congestion. Or send. The input / output unit 42 includes a communication interface that transmits and receives information via a communication line, and an input / output interface that performs input / output between an input device such as a keyboard (not shown) and an output device such as a monitor. The

メモリ部43は、RAM等の記憶装置からなり、制御部41におけるデータ処理に必要な情報を一時的に記憶する。   The memory unit 43 includes a storage device such as a RAM, and temporarily stores information necessary for data processing in the control unit 41.

記憶部44は、ハードディスク装置やフラッシュメモリ等の記憶装置からなり、信号処理サーバ20へ送信するデータを蓄積するデータ記憶部441と、輻輳判定に用いる所定の閾値Rを示した輻輳判定情報442とを記憶する。なお、この輻輳判定情報442は、例えば、輻輳判定装置50から送信されたものである。   The storage unit 44 includes a storage device such as a hard disk device or a flash memory, and stores a data storage unit 441 that accumulates data to be transmitted to the signal processing server 20, and congestion determination information 442 that indicates a predetermined threshold R used for congestion determination. Remember. The congestion determination information 442 is transmitted from the congestion determination device 50, for example.

(輻輳判定装置)
輻輳判定装置50は、信号処理サーバ20に対しリクエスト規制指示を送信したり、リクエスト解除指示を行ったりする装置である。この輻輳判定装置50は、制御部51、入出力部52、メモリ部53および記憶部54を備える。
(Congestion determination device)
The congestion determination device 50 is a device that transmits a request restriction instruction to the signal processing server 20 or issues a request cancellation instruction. The congestion determination device 50 includes a control unit 51, an input / output unit 52, a memory unit 53, and a storage unit 54.

制御部51は、輻輳判定装置50全体の制御を司り、リクエスト規制指示部511、リクエスト規制判定部512、サーバ選択部513およびリクエスト数条件判定指示部514を備える。   The control unit 51 controls the entire congestion determination apparatus 50 and includes a request restriction instruction unit 511, a request restriction determination unit 512, a server selection unit 513, and a request number condition determination instruction unit 514.

リクエスト規制指示部511は、リクエスト規制判定部512により、リクエスト規制を行うと判定されたとき、信号処理サーバ20それぞれへリクエスト規制指示を送信する。このリクエスト規制指示には、規制対象リクエストの種別(特定キー等)を示した規制対象リクエスト情報241を含める。また、リクエスト規制指示部511は、リクエスト規制判定部512により、リクエスト規制を解除すると判定されたとき、信号処理サーバ20それぞれへリクエスト規制解除指示を送信する。   The request restriction instruction unit 511 transmits a request restriction instruction to each of the signal processing servers 20 when the request restriction determination unit 512 determines that the request restriction is performed. This request restriction instruction includes restriction target request information 241 indicating the type of restriction target request (such as a specific key). Further, the request restriction instruction unit 511 transmits a request restriction release instruction to each of the signal processing servers 20 when the request restriction determination unit 512 determines that the request restriction is to be released.

リクエスト規制判定部512は、信号処理部200の各信号処理サーバ20に対しリクエスト規制を行うか否か、および、リクエスト規制を解除するか否かを判定する。具体的には、リクエスト規制判定部512が、データベースサーバ40からの輻輳発生通知を受信したとき、リクエスト規制を行うと判定する。また、リクエスト規制判定部512は、リクエスト規制期間中に、データベースサーバ40からリソース使用率充足通知を受信し、かつ、信号処理サーバ20からのリクエスト数条件充足判定通知を受信したとき、信号処理サーバ20それぞれへのリクエスト規制を解除すると判定する。   The request restriction determination unit 512 determines whether to perform request restriction on each signal processing server 20 of the signal processing unit 200 and whether to release the request restriction. Specifically, when the request restriction determination unit 512 receives a congestion occurrence notification from the database server 40, it determines that the request restriction is to be performed. Further, the request restriction determination unit 512 receives the resource usage rate satisfaction notification from the database server 40 and receives the request number condition satisfaction determination notification from the signal processing server 20 during the request restriction period. It is determined that the request restriction to each of the 20 is released.

サーバ選択部513は、サーバ情報541(後記)に示される信号処理サーバ20の情報を参照して、信号処理部200を構成する信号処理サーバ20の中からリクエスト数条件充足判定を行うサーバ(代表サーバ)を選択する。例えば、サーバ選択部513は、サーバ情報541に示される各サーバの性能情報を参照して、信号処理サーバ20のうち最も性能の高い(処理能力が高い)信号処理サーバ20を選択する。このように性能の高い信号処理サーバ20を選択することで、信号処理サーバ20によるリクエスト数条件充足判定を確実に行わせることができる。   The server selection unit 513 refers to the information of the signal processing server 20 shown in the server information 541 (described later), and performs a request number condition satisfaction determination from the signal processing servers 20 constituting the signal processing unit 200 (representative). Server). For example, the server selection unit 513 refers to the performance information of each server indicated in the server information 541 and selects the signal processing server 20 having the highest performance (high processing capability) among the signal processing servers 20. By selecting the signal processing server 20 with high performance in this way, the request number condition satisfaction determination by the signal processing server 20 can be surely performed.

リクエスト数条件判定指示部514は、サーバ選択部513により選択された代表サーバに対し、リクエスト数条件充足判定を行うように指示する。また、リクエスト規制判定部512により、リクエスト規制を解除すると判定されたとき、代表サーバに対し、リクエスト数条件充足判定を終了するよう指示する。なお、リクエスト数条件充足判定を行う指示にはリクエスト数条件充足判定に用いる各種パラメータ(前記した式(3)におけるαや、閾値C等)を含めるようにしてもよい。   The request number condition determination instruction unit 514 instructs the representative server selected by the server selection unit 513 to perform the request number condition satisfaction determination. When the request restriction determination unit 512 determines that the request restriction is to be released, the request restriction determination unit 512 instructs the representative server to end the request number condition satisfaction determination. It should be noted that the instruction for performing the request number condition satisfaction determination may include various parameters used for the request number condition satisfaction determination (α in the above-described equation (3), threshold C, etc.).

入出力部52は、他の装置やサーバとの間で情報の入出力を行う。例えば、入出力部52は、データベースサーバ40からの輻輳発生通知やリソース使用率充足通知を受信したり、信号処理サーバ20へリクエスト規制指示やリクエスト規制解除指示を送信したりする。この入出力部52は通信回線を介して情報の送受信を行う通信インタフェースと、不図示のキーボード等の入力装置やモニタ等の出力装置等との間で入出力を行う入出力インタフェースとにより構成される。   The input / output unit 52 inputs / outputs information to / from other devices and servers. For example, the input / output unit 52 receives a congestion occurrence notification and a resource usage rate satisfaction notification from the database server 40, and transmits a request restriction instruction and a request restriction release instruction to the signal processing server 20. The input / output unit 52 includes a communication interface that transmits and receives information via a communication line, and an input / output interface that performs input / output between an input device such as a keyboard (not shown) and an output device such as a monitor. The

メモリ部53は、RAM等の記憶装置からなり、制御部51におけるデータ処理に必要な情報を一時的に記憶する。   The memory unit 53 includes a storage device such as a RAM, and temporarily stores information necessary for data processing in the control unit 51.

記憶部54は、ハードディスク装置やフラッシュメモリ等の記憶装置からなり、システムの信号処理サーバ20やデータベースサーバ40の識別情報や性能等を示したサーバ情報541を記憶する。   The storage unit 54 includes a storage device such as a hard disk device or a flash memory, and stores server information 541 indicating identification information and performance of the signal processing server 20 and the database server 40 of the system.

(処理手順)
次に、図6を参照しつつ、図7および図8を用いて、システムの処理手順を説明する。ここでは、代表サーバが信号処理サーバ20Cであり、輻輳サーバがデータベースサーバ40Aである場合を例に説明する。なお、以下の説明において、図示を省略しているが、クライアント装置1からのリクエストは、図1の要求信号振り分け装置10によりいずれかの信号処理サーバ20へ振り分けられ、信号処理サーバ20からのデータ要求は、図1のデータ要求振り分け装置30によりいずれかのデータベースサーバ40へ振り分けられるものとする。振り分けはいずれもコンシステントハッシュを用いるものとする。
(Processing procedure)
Next, the processing procedure of the system will be described using FIG. 7 and FIG. 8 with reference to FIG. Here, a case where the representative server is the signal processing server 20C and the congestion server is the database server 40A will be described as an example. In the following description, although not shown, requests from the client device 1 are distributed to one of the signal processing servers 20 by the request signal distribution device 10 of FIG. It is assumed that the request is distributed to one of the database servers 40 by the data request distribution device 30 in FIG. All sorts use a consistent hash.

信号処理部200の信号処理サーバ20(20A,20B,20C)はそれぞれ、クライアント装置1からのリクエストを受信すると(図7のS1)、データベース部400のデータベースサーバ40(40A,40B,40C)へデータ要求を送信し(S2)、このデータ要求を受信したデータベースサーバ40はそれぞれ、信号処理サーバ20への自身のデータ記憶部441から検索したデータのデータ送信を行う(S3)。データを受信した信号処理サーバ20はそれぞれ、クライアント装置1へレスポンスを返す(S4)。   When each of the signal processing servers 20 (20A, 20B, 20C) of the signal processing unit 200 receives a request from the client device 1 (S1 in FIG. 7), to the database server 40 (40A, 40B, 40C) of the database unit 400. A data request is transmitted (S2), and each database server 40 that has received the data request transmits data retrieved from its own data storage unit 441 to the signal processing server 20 (S3). Each of the signal processing servers 20 that have received the data returns a response to the client device 1 (S4).

また、データベースサーバ40の輻輳判定部413(図6参照)は、リソース使用率条件充足判定を行い(S5)、リソース使用率が所定の閾値R以上だったとき、輻輳判定装置50へ輻輳発生通知を送信する(S6)。例えば、リソース使用率条件充足判定の結果、リソース使用率が所定の閾値R以上であったデータベースサーバ40Aは、輻輳発生通知を輻輳判定装置50へ送信する。   Further, the congestion determination unit 413 (see FIG. 6) of the database server 40 performs the resource usage rate condition satisfaction determination (S5), and when the resource usage rate is equal to or greater than a predetermined threshold R, notifies the congestion determination device 50 of the occurrence of congestion. Is transmitted (S6). For example, the database server 40A whose resource usage rate is equal to or greater than a predetermined threshold R as a result of the resource usage rate condition satisfaction determination transmits a congestion occurrence notification to the congestion determination device 50.

輻輳発生通知を受信した輻輳判定装置50は、リクエスト規制判定部512(図6参照)により規制対象リクエストを決定し、サーバ選択部513(図6参照)により信号処理部200の代表サーバを選択する(S7)。そして、輻輳判定装置50は、リクエスト規制指示部511により、信号処理部200の信号処理サーバ20それぞれに対し、規制対象リクエストに対するリクエスト規制指示を送信する(S8)。リクエスト規制指示を受信した信号処理サーバ20はそれぞれ、リクエスト規制部212により規制対象リクエストを規制する。すなわち、例えば、信号処理サーバ20はそれぞれクライアント装置1からリクエストを受信しても(S10)、エラーレスポンスを返す(S11)。また、輻輳判定装置50は、リクエスト数条件判定指示部514(図6参照)により、代表サーバである信号処理サーバ20Cに対し、リクエスト数条件充足判定を行うように指示する(S9)。   Upon receiving the congestion occurrence notification, the congestion determination device 50 determines the restriction target request by the request restriction determination unit 512 (see FIG. 6), and selects the representative server of the signal processing unit 200 by the server selection unit 513 (see FIG. 6). (S7). And the congestion determination apparatus 50 transmits the request regulation instruction | indication with respect to a request | requirement object request | requirement with respect to each signal processing server 20 of the signal processing part 200 by the request regulation instruction | indication part 511 (S8). Each of the signal processing servers 20 that has received the request restriction instruction regulates the restriction target request by the request restriction unit 212. That is, for example, even if the signal processing server 20 receives a request from the client device 1 (S10), it returns an error response (S11). In addition, the congestion determination device 50 instructs the signal processing server 20C, which is a representative server, to perform the request number condition satisfaction determination by the request number condition determination instruction unit 514 (see FIG. 6) (S9).

次に、図6を参照しつつ、図8を用いて、リクエスト規制解除の処理手順を説明する。リクエスト規制指示を受信した信号処理サーバ20Cは、リクエストを受信すると(S21)、リクエスト数条件充足判定部213(図6参照)により規制対象リクエスト数のカウントを行い(S22)、リクエスト規制部212(図6参照)によりエラーレスポンスをクライアント装置1へ返す(S23)。そして、信号処理サーバ20Cは、規制対象リクエスト数のカウント値および前記した式(3)を用いて、リクエスト数条件充足判定部213により所定間隔でリクエスト数条件充足判定を行う(S24)。ここで、リクエスト条件充足判定の結果、条件を充足していないと判定されたとき、リクエスト数条件充足判定部213は、規制対象リクエスト数のカウンタリセットを行う(S25)。一方、リクエスト数条件が充足していると判定されたとき(S26)、リクエスト数条件充足判定部213は、輻輳判定装置50へリクエスト数条件充足通知を送信する(S27)。そして、規制対象リクエスト数のカウンタリセットを行う(S28)。   Next, with reference to FIG. 6, a request restriction release processing procedure will be described with reference to FIG. 8. When receiving the request (S21), the signal processing server 20C that has received the request restriction instruction counts the number of restriction target requests by the request number condition satisfaction determination unit 213 (see FIG. 6) (S22), and the request restriction unit 212 ( An error response is returned to the client device 1 (see FIG. 6) (S23). Then, the signal processing server 20C performs the request number condition satisfaction determination at a predetermined interval by the request number condition satisfaction determination unit 213 using the count value of the number of requests to be regulated and the above-described formula (3) (S24). Here, when it is determined that the condition is not satisfied as a result of the request condition satisfaction determination, the request number condition satisfaction determination unit 213 performs a counter reset of the number of requests to be regulated (S25). On the other hand, when it is determined that the request number condition is satisfied (S26), the request number condition satisfaction determination unit 213 transmits a request number condition satisfaction notification to the congestion determination device 50 (S27). And the counter reset of the number of requests subject to restriction is performed (S28).

また、データベースサーバ40は、輻輳判定部413(図6参照)により、所定間隔でリソース使用率条件充足判定を行い(S31)、リソース使用率条件充足判定の結果、リソース使用率条件を充足すると判定された場合(S32)、つまり、リソース使用率が所定の閾値R未満と判定されたとき、輻輳判定装置50へリソース使用率条件充足通知を送信する(S33)。例えば、データベースサーバ40Aにおいて、リソース使用率条件を充足すると判定された場合、データベースサーバ40Aは、輻輳判定装置50へリソース使用率条件充足通知を送信する。つまり、自身のデータベースサーバ40におけるリソース使用率が低下し、輻輳が解消しつつあると判定すると、データベースサーバ40はその旨を輻輳判定装置50へ通知する。   Further, the database server 40 performs the resource usage rate condition satisfaction determination at predetermined intervals by the congestion determination unit 413 (see FIG. 6) (S31), and determines that the resource usage rate condition is satisfied as a result of the resource usage rate condition satisfaction determination. When it is determined (S32), that is, when it is determined that the resource usage rate is less than the predetermined threshold R, a resource usage rate condition satisfaction notification is transmitted to the congestion determination device 50 (S33). For example, when the database server 40A determines that the resource usage rate condition is satisfied, the database server 40A transmits a resource usage rate condition satisfaction notification to the congestion determination device 50. That is, when it is determined that the resource usage rate in the database server 40 of the own database has decreased and congestion is being resolved, the database server 40 notifies the congestion determination device 50 to that effect.

輻輳判定装置50のリクエスト規制判定部512(図6参照)は、データベースサーバ40からリソース使用率充足通知を受信し、かつ、信号処理サーバ20からのリクエスト数条件充足通知を受信した場合、信号処理サーバ20それぞれへのリクエスト規制指示を解除すると判定する(S34:リクエスト規制解除判定)。そして、輻輳判定装置50はリクエスト規制指示部511(図6参照)により、信号処理サーバ20それぞれへリクエスト規制解除指示を送信する(S35)。また、輻輳判定装置50は、リクエスト数条件判定指示部514(図6参照)により、代表サーバである信号処理サーバ20Cに対し、リクエスト数条件充足判定の終了指示を送信する(S36)。   When the request restriction determination unit 512 (see FIG. 6) of the congestion determination device 50 receives the resource usage rate satisfaction notification from the database server 40 and receives the request number condition satisfaction notification from the signal processing server 20, the signal processing is performed. It is determined to cancel the request restriction instruction to each of the servers 20 (S34: request restriction release determination). Then, the congestion determination device 50 transmits a request restriction release instruction to each of the signal processing servers 20 by the request restriction instruction unit 511 (see FIG. 6) (S35). In addition, the congestion determination device 50 transmits a request number condition satisfaction determination end instruction to the signal processing server 20C, which is a representative server, by the request number condition determination instruction unit 514 (see FIG. 6) (S36).

このように輻輳判定装置50は、データベースサーバ40におけるリソース使用率が所定の閾値R未満となり、かつ、信号処理サーバ20で受信した規制対象リクエスト数に基づくデータ要求数が所定の値C未満になったときに、リクエスト規制を解除する。これにより、輻輳判定装置50は、リクエスト規制の解除を適切なタイミングで行うことができる。   Thus, in the congestion determination device 50, the resource usage rate in the database server 40 is less than the predetermined threshold R, and the number of data requests based on the number of restriction target requests received by the signal processing server 20 is less than the predetermined value C. The request restriction is removed. Thereby, the congestion determination apparatus 50 can release the request restriction at an appropriate timing.

<第2の実施の形態>
(概要)
次に、図9を用いて、第2の実施の形態のシステムの概要を説明する。前記した実施の形態と同様の構成要素は、同じ符号を付して説明を省略する。第2の実施の形態のシステムは、信号処理部200によるリクエスト規制の開始後、信号処理部200の代表サーバから順に、各信号処理サーバ20aそれぞれが自サーバでカウントした規制対象リクエスト数を加算しながら、他の信号処理サーバ20aへ転送する。そして、加算されてきた全規制対象リクエスト数が代表サーバに戻ってきたら、この代表サーバがリクエスト数条件充足判定を行うことを特徴とする。例えば、図9の代表サーバ(サーバA)においてカウントした規制対象リクエスト数が95callであるとき、この95Callという値をサーバBへ転送する。そして、サーバBは、自サーバでカウントした100callとサーバAから受信した95Callとを加算した195callという値をサーバCへ転送する。このような処理を繰り返し、信号処理部200のすべての信号処理サーバ20aにおいて規制対象リクエスト数の値の加算した値が、代表サーバへ戻ってくると、この値を用いてリクエスト数条件充足判定を行い、リクエスト数条件充足時にはその旨を輻輳判定装置50へ通知する。なお、ここでの規制対象リクエスト数の条件充足判定は、以下の式(4)に基づき行われる。式(4)のα、Cは、式(3)におけるα、Cと同じである。
α×時間あたりの全サーバ(すべての信号処理サーバ20a)の規制対象リクエスト数の合計<C…式(4)
<Second Embodiment>
(Overview)
Next, an outline of a system according to the second embodiment will be described with reference to FIG. Constituent elements similar to those of the above-described embodiment are denoted by the same reference numerals and description thereof is omitted. In the system according to the second embodiment, after the start of request restriction by the signal processing unit 200, each signal processing server 20a sequentially adds the number of restriction target requests counted by its own server in order from the representative server of the signal processing unit 200. However, the data is transferred to another signal processing server 20a. Then, when the total number of requests subject to regulation that have been added returns to the representative server, the representative server performs a request number condition satisfaction determination. For example, when the number of restriction target requests counted in the representative server (server A) in FIG. 9 is 95 call, the value 95 Call is transferred to the server B. Server B then transfers to server C a value of 195 call obtained by adding 100 call counted by its own server and 95 Call received from server A. When such processing is repeated and the value obtained by adding the value of the number of requests subject to restriction is returned to the representative server in all the signal processing servers 20a of the signal processing unit 200, the request number condition satisfaction determination is performed using this value. When the request number condition is satisfied, this is notified to the congestion determination device 50. In addition, the condition satisfaction determination of the number of requests to be regulated here is performed based on the following formula (4). Α and C in the formula (4) are the same as α and C in the formula (3).
α × total number of requests subject to restriction of all servers (all signal processing servers 20a) per time <C (4)

つまり、信号処理部200の信号処理サーバ20aそれぞれが規制対象リクエスト数をカウントし、その合計値が代表サーバへ送信されるので、代表サーバは、正確な全規制対象リクエスト数をもとにリクエスト数条件充足判定を行うことができる。   That is, each signal processing server 20a of the signal processing unit 200 counts the number of requests for restriction, and the total value is transmitted to the representative server. Therefore, the representative server determines the number of requests based on the exact number of requests for restriction. Condition satisfaction determination can be performed.

(構成)
次に、第2の実施の形態のシステムの構成を、図6を用いて説明する。図6に示すように、第2の実施の形態の信号処理サーバ20aはリクエスト数加算転送部214をさらに備える。また、リクエスト数条件充足判定部213に代えて、リクエスト数条件充足判定部213aを備える。
(Constitution)
Next, the configuration of the system according to the second embodiment will be described with reference to FIG. As illustrated in FIG. 6, the signal processing server 20 a according to the second embodiment further includes a request number addition transfer unit 214. Moreover, it replaces with the request number condition satisfaction determination part 213, and is provided with the request number condition satisfaction determination part 213a.

リクエスト数加算転送部214は、他の信号処理サーバ20aから規制対象リクエスト数を受信したとき、この規制対象リクエスト数に、自サーバのリクエスト数加算転送部214においてカウントした規制対象リクエスト数を加算する。そして、リクエスト数加算転送部214は、この加算した値を、まだ規制対象リクエスト数を受信していない他の信号処理サーバ20a(例えば、コンシステントハッシュID空間において自サーバと時計回りに隣接する信号処理サーバ20a)へ送信する。なお、自サーバが代表サーバであるときは、他の信号処理サーバ20aからの規制対象リクエスト数のカウント値の受信を待たず、自サーバにおいてカウントした規制対象リクエスト数を他の信号処理サーバ20aへ転送すればよい。   When the request count addition transfer unit 214 receives the number of restriction target requests from the other signal processing server 20a, the request number addition transfer unit 214 adds the number of restriction target requests counted by the request number addition transfer unit 214 of the own server to the number of restriction target requests. . Then, the request number addition transfer unit 214 uses the added value as a signal that is clockwise adjacent to its own server in another signal processing server 20a that has not yet received the number of requests to be regulated (for example, in the consistent hash ID space). To the processing server 20a). When the own server is a representative server, the number of restriction target requests counted in the own server is sent to the other signal processing server 20a without waiting for reception of the count value of the restriction request number from the other signal processing server 20a. Just forward.

リクエスト数条件充足判定部213aは、信号処理部200の他のすべての信号処理サーバ20aにおける規制対象リクエスト数の合計値が戻ってきたとき、この値を用いて、前記した式(4)によりリクエスト数条件充足判定を行う。そして、リクエスト数条件充足判定部213aは、リクエスト数条件充足判定時には、輻輳判定装置50へ条件充足通知(リクエスト数条件充足通知)を送信する。   When the total value of the number of requests subject to restriction in all the other signal processing servers 20a of the signal processing unit 200 is returned, the request number condition satisfaction determination unit 213a uses this value to make a request according to the above equation (4). Number condition satisfaction judgment is performed. Then, the request number condition satisfaction determination unit 213a transmits a condition satisfaction notification (request number condition satisfaction notification) to the congestion determination device 50 at the time of request number condition satisfaction determination.

(処理手順)
次に、図6を参照しつつ、図10を用いて、第2の実施の形態のシステムの処理手順を説明する。なお、リクエスト規制の手順は第1の実施の形態と同じであるので説明を省略し、リクエスト規制後、リクエスト規制解除を行う手順について説明する。ここでも、代表サーバが信号処理サーバ20Cであり、輻輳サーバがデータベースサーバ40Aである場合を例に説明する。なお、図8と同じ処理内容については同じステップ番号を付して説明を省略する。
(Processing procedure)
Next, the processing procedure of the system according to the second embodiment will be described with reference to FIG. Since the procedure for request regulation is the same as that in the first embodiment, a description thereof will be omitted, and a procedure for canceling request regulation after request regulation will be described. Here, the case where the representative server is the signal processing server 20C and the congestion server is the database server 40A will be described as an example. Note that the same processing contents as those in FIG. 8 are denoted by the same step numbers and description thereof is omitted.

図10のS21〜S23は、図8のS21〜S23と同じ処理内容であるので説明を省略し、S41から説明する。S41において、信号処理部200は、代表サーバである信号処理サーバ20a(図10の信号処理サーバ20C)から順に、所定間隔で、リクエスト数加算転送部214によりカウントした規制対象リクエスト数(リクエスト数)と他の信号処理サーバ20aから受信した規制対象リクエスト数の加算と、加算した規制対象リクエスト数の送信と、カウンタ(規制対象リクエスト数のカウンタ)のリセットを行う(S41)。そして、代表サーバにおけるリクエスト数条件充足判定部213a(図6参照)は、すべての信号処理サーバ20aについての規制対象リクエスト数の合計値を受信すると、この合計値と式(4)とを用いて、リクエスト数条件充足判定を行う(S42)。条件充足判定の結果、条件を充足していないと判定されたとき、再度代表サーバから順に、各信号処理サーバ20a間で自サーバでカウントした規制対象リクエスト数と他の信号処理サーバ20aから受信した規制対象リクエスト数との加算と、加算した規制対象リクエスト数の送信と、カウンタ(規制対象リクエスト数のカウンタ)のリセットを行う(S43)。一方、リクエスト数条件充足判定部213aによるリクエスト数条件充足判定の結果、リクエスト数条件を充足していると判定されたとき(S44)、リクエスト数条件充足判定部213aは、輻輳判定装置50へリクエスト数条件充足通知を送信する(S45)。この後の処理は、図8のS34〜S36の処理と同じであるので、説明を省略する。なお、各信号処理サーバ20aにおける規制対象リクエスト数のカウントの停止は、例えば、輻輳判定装置50によるリクエスト規制解除指示を受信したときに行うものとする。このようにすることでも、輻輳判定装置50は、リクエスト規制の解除判定を行うことができる。   Since S21 to S23 in FIG. 10 have the same processing contents as S21 to S23 in FIG. In S41, the signal processing unit 200 counts the number of requests subject to restriction (number of requests) counted by the request number addition transfer unit 214 at predetermined intervals sequentially from the signal processing server 20a (the signal processing server 20C in FIG. 10) that is the representative server. The addition of the number of restriction target requests received from the other signal processing server 20a, the transmission of the added number of restriction target requests, and the reset of the counter (counter of the number of restriction target requests) are performed (S41). When the request number condition satisfaction determination unit 213a (see FIG. 6) in the representative server receives the total value of the number of requests to be regulated for all the signal processing servers 20a, the total value and Expression (4) are used. The request number condition satisfaction determination is performed (S42). As a result of the condition satisfaction determination, when it is determined that the condition is not satisfied, the number of requests subject to regulation counted by the own server between the signal processing servers 20a and the other signal processing servers 20a are received again sequentially from the representative server. Addition with the number of restriction target requests, transmission of the added number of restriction target requests, and reset of the counter (counter of restriction target requests) are performed (S43). On the other hand, when it is determined that the request number condition is satisfied as a result of the request number condition satisfaction determination by the request number condition satisfaction determination unit 213a (S44), the request number condition satisfaction determination unit 213a makes a request to the congestion determination device 50. A number condition satisfaction notification is transmitted (S45). The subsequent processing is the same as the processing of S34 to S36 in FIG. It is assumed that the count of the number of requests subject to restriction in each signal processing server 20a is stopped when, for example, a request restriction release instruction is received from the congestion determination device 50. Even in this way, the congestion determination device 50 can determine whether to cancel the request restriction.

<第3の実施の形態>
(概要)
次に、図11を用いて、第3の実施の形態のシステムの概要を説明する。前記した実施の形態と同様の構成要素は、同じ符号を付して説明を省略する。第3の実施の形態のシステムは、図11に示すように、リクエスト規制を開始後、信号処理部200の信号処理サーバ20それぞれが前記した式(3)によりリクエスト数条件充足判定を行い、条件充足時に輻輳判定装置50aへ通知する。そして、輻輳判定装置50aが所定数a以上のサーバ(信号処理サーバ20)から条件充足通知を受信し、かつ、データベースサーバ40のリソース使用率が所定の閾値R未満となったとき、リクエスト規制を解除すると判定する。
<Third Embodiment>
(Overview)
Next, an outline of a system according to the third embodiment will be described with reference to FIG. Constituent elements similar to those of the above-described embodiment are denoted by the same reference numerals and description thereof is omitted. As shown in FIG. 11, in the system of the third embodiment, after starting request regulation, each signal processing server 20 of the signal processing unit 200 performs request number condition satisfaction determination according to the above-described equation (3), It notifies to the congestion determination apparatus 50a at the time of satisfaction. Then, when the congestion determination device 50a receives a condition satisfaction notification from a predetermined number a or more of servers (signal processing server 20) and the resource usage rate of the database server 40 becomes less than a predetermined threshold R, the request regulation is performed. Determine to cancel.

(構成)
第3の実施の形態のシステムにおける信号処理サーバ20およびデータベースサーバ40は第1の実施の形態と同じ構成であるが、輻輳判定装置50aの構成が異なる。すなわち、図12に示すように、輻輳判定装置50aは、図6のリクエスト規制判定部512に代えて、リクエスト規制判定部512aを備える。このリクエスト規制判定部512aは、データベースサーバ40からのリソース使用率充足通知を受信し、かつ、所定数a以上の信号処理サーバ20からのリクエスト数条件充足通知を受信したとき、信号処理サーバ20それぞれへのリクエスト規制指示を解除すると判定する。また、輻輳判定装置50aのリクエスト数条件判定指示部514は、信号処理部200の信号処理サーバ20それぞれへ、信号処理部200のリクエスト数条件充足判定を行うように指示する。また、リクエスト規制判定部512aにより、リクエスト規制を解除すると判定されたとき、リクエスト数条件判定指示部514は、信号処理サーバ20それぞれへ、リクエスト数条件充足判定を終了するよう指示する。なお、輻輳判定装置50aは、代表サーバを選択しないので、図6のサーバ選択部513を備えない。
(Constitution)
The signal processing server 20 and the database server 40 in the system of the third embodiment have the same configuration as that of the first embodiment, but the configuration of the congestion determination device 50a is different. That is, as shown in FIG. 12, the congestion determination device 50a includes a request restriction determination unit 512a instead of the request restriction determination unit 512 of FIG. When the request restriction determination unit 512a receives a resource usage rate satisfaction notification from the database server 40 and receives a request number condition satisfaction notification from the signal processing server 20 of a predetermined number a or more, each signal processing server 20 It is determined that the request restriction instruction is canceled. In addition, the request number condition determination instruction unit 514 of the congestion determination device 50 a instructs each signal processing server 20 of the signal processing unit 200 to perform the request number condition satisfaction determination of the signal processing unit 200. When the request restriction determination unit 512a determines that the request restriction is to be released, the request number condition determination instruction unit 514 instructs each signal processing server 20 to end the request number condition satisfaction determination. Note that the congestion determination device 50a does not select the representative server, and therefore does not include the server selection unit 513 in FIG.

(処理手順)
次に、図12および図7を参照しつつ、図13を用いて、第3の実施の形態のシステムにおけるリクエスト規制時の処理手順を説明する。ここでも、輻輳サーバがデータベースサーバ40Aである場合を例に説明する。なお、図7と同じ処理内容については同じステップ番号を付して説明を省略する。第3の実施の形態のシステムにおけるリクエスト規制時における処理手順は、図7に示す処理手順とほぼ同様であるが、図13のS13に示すように、輻輳判定装置50aは、規制対象リクエストの決定を行うが、代表サーバの選択を行わない点が異なる。また、S14において、輻輳判定装置50aは、リクエスト数条件判定指示部514(図12参照)により、信号処理サーバ20それぞれに対し、規制対象リクエスト数の条件充足判定を行うように指示する点が異なる。
(Processing procedure)
Next, with reference to FIG. 12 and FIG. 7, the processing procedure at the time of request restriction in the system of the third embodiment will be described using FIG. Here, the case where the congestion server is the database server 40A will be described as an example. Note that the same processing contents as those in FIG. 7 are denoted by the same step numbers and description thereof is omitted. The processing procedure at the time of request regulation in the system of the third embodiment is almost the same as the processing procedure shown in FIG. 7, but as shown in S13 in FIG. The difference is that the representative server is not selected. In S14, the congestion determination device 50a is different in that the request number condition determination instruction unit 514 (see FIG. 12) instructs each signal processing server 20 to perform condition satisfaction determination of the number of requests to be regulated. .

次に、図12を参照しつつ、図14を用いて、リクエスト規制解除の処理手順を説明する。なお、図8および図10と同じ処理内容については同じステップ番号を付して説明を省略する。信号処理部200の信号処理サーバ20(20A,20B,20C)はそれぞれ、クライアント装置1からのリクエストを受信すると(S21)、リクエスト数条件充足判定部213(図12参照)により規制対象リクエスト数のカウントを行い(S22)、リクエスト規制部212(図12参照)によりエラーレスポンスをクライアント装置1へ返す(S23)。   Next, with reference to FIG. 12, a processing procedure for canceling the request restriction will be described with reference to FIG. Note that the same processing numbers as those in FIGS. 8 and 10 are denoted by the same step numbers and description thereof is omitted. When each of the signal processing servers 20 (20A, 20B, 20C) of the signal processing unit 200 receives a request from the client device 1 (S21), the request number condition satisfaction determination unit 213 (see FIG. 12) sets the number of requests to be regulated. Counting is performed (S22), and an error response is returned to the client device 1 by the request restricting unit 212 (see FIG. 12) (S23).

そして、信号処理サーバ20はそれぞれ、リクエスト数条件充足判定部213により、規制対象リクエスト数のカウント値を用いて、所定間隔で、前記した式(3)に基づくリクエスト数条件充足判定を行い(S51)、条件充足判定の結果、条件を充足していないと判定されたとき、リクエスト数条件充足判定部213は、規制対象リクエスト数のカウンタリセットを行う(S52)。一方、リクエスト数条件充足判定部213によるリクエスト数条件充足判定の結果、リクエスト数条件を充足していると判定されたとき(S53)、信号処理サーバ20はリクエスト数条件充足判定部213により、輻輳判定装置50へリクエスト数条件充足通知を送信し(S45)、規制対象リクエスト数のカウンタリセットを行う(S54)。   Then, each of the signal processing servers 20 performs a request number condition satisfaction determination based on the above-described formula (3) at a predetermined interval using the count value of the number of requests to be regulated by the request number condition satisfaction determination unit 213 (S51). ) When it is determined that the condition is not satisfied as a result of the condition satisfaction determination, the request number condition satisfaction determination unit 213 performs counter reset of the number of requests to be regulated (S52). On the other hand, when it is determined that the request number condition is satisfied as a result of the request number condition satisfaction determination unit 213 by the request number condition satisfaction determination unit 213 (S53), the signal processing server 20 is congested by the request number condition satisfaction determination unit 213. A request number condition satisfaction notification is transmitted to the determination device 50 (S45), and the counter number of restriction target requests is reset (S54).

S46において、データベースサーバ40からのリソース使用率充足通知を受信した輻輳判定装置50aは、リクエスト規制判定部512a(図12参照)により、リクエスト数条件充足通知数の条件判定を行う。すなわち、リクエスト規制判定部512aは、所定数a以上の信号処理サーバ20からのリクエスト数条件充足通知を受信し、かつ、データベースサーバ40からのリソース使用率充足通知を受信したとき、信号処理サーバ20それぞれへのリクエスト規制指示を解除すると判定する(S47:リクエスト規制解除判定)。そして、輻輳判定装置50aは、リクエスト規制指示部511により、信号処理サーバ20それぞれに対しリクエスト規制解除指示を送信し、また、リクエスト数条件判定指示部514によりリクエスト数条件判定終了指示を送信する(S48)。このようにすることでも、輻輳判定装置50aは、リクエスト規制の解除を行うことができる。   In S <b> 46, the congestion determination device 50 a that has received the resource usage rate satisfaction notification from the database server 40 determines the request number condition satisfaction notification condition by the request restriction determination unit 512 a (see FIG. 12). That is, when the request restriction determination unit 512a receives a request number condition satisfaction notification from the signal processing server 20 of a predetermined number a or more and receives a resource usage rate satisfaction notification from the database server 40, the signal processing server 20 It is determined that the request restriction instruction to each is released (S47: request restriction release determination). Then, the congestion determination apparatus 50a transmits a request restriction release instruction to each of the signal processing servers 20 by the request restriction instruction unit 511, and transmits a request number condition determination end instruction by the request number condition determination instruction unit 514 ( S48). Even in this way, the congestion determination device 50a can cancel the request restriction.

<第4の実施の形態>
(概要)
次に、図15を用いて、第4の実施の形態のシステムの概要を説明する。前記した実施の形態と同様の構成要素は、同じ符号を付して説明を省略する。第4の実施の形態のシステムは、図15に示すように、信号処理部200の信号処理サーバ20bそれぞれで規制対象リクエスト数をカウントし、所定期間ごとに輻輳判定装置50bへ送信する。そして、輻輳判定装置50bは、受信した規制対象リクエスト数を足し合わせてリクエスト数条件充足判定を行う。つまり、第2の実施の形態において代表サーバが式(4)により行っていた信号処理部200のリクエスト数条件充足判定を輻輳判定装置50b側で行うことを特徴とする。
<Fourth embodiment>
(Overview)
Next, an outline of a system according to the fourth embodiment will be described with reference to FIG. Constituent elements similar to those of the above-described embodiment are denoted by the same reference numerals and description thereof is omitted. As shown in FIG. 15, the system according to the fourth embodiment counts the number of requests to be regulated by each signal processing server 20 b of the signal processing unit 200 and transmits it to the congestion determination device 50 b every predetermined period. Then, the congestion determination device 50b performs the request number condition satisfaction determination by adding the received number of restriction target requests. That is, it is characterized in that the request number condition satisfaction determination of the signal processing unit 200 performed by the representative server according to the expression (4) in the second embodiment is performed on the congestion determination device 50b side.

(構成)
第4の実施の形態のシステムにおけるデータベースサーバ40は第1の実施の形態〜第3の実施の形態と同じ構成であるが、信号処理サーバ20bおよび輻輳判定装置50bの構成が異なる。つまり、図16に示すように、信号処理サーバ20bの制御部21は、リクエスト処理部211およびリクエスト規制部212を備えるが、図12のリクエスト数条件充足判定部213はなく、代わりに、リクエスト数送信部215を備える。さらに、輻輳判定装置50bは、図12のリクエスト規制判定部512aに代えて、リクエスト規制判定部512bを備え、図12の輻輳判定装置50aにおけるリクエスト数条件判定指示部514がない。
(Constitution)
The database server 40 in the system of the fourth embodiment has the same configuration as that of the first to third embodiments, but the configurations of the signal processing server 20b and the congestion determination device 50b are different. That is, as illustrated in FIG. 16, the control unit 21 of the signal processing server 20 b includes a request processing unit 211 and a request restriction unit 212, but does not have the request number condition satisfaction determination unit 213 in FIG. A transmission unit 215 is provided. Furthermore, the congestion determination device 50b includes a request restriction determination unit 512b instead of the request restriction determination unit 512a in FIG. 12, and does not have the request number condition determination instruction unit 514 in the congestion determination device 50a in FIG.

リクエスト数送信部215は、規制対象リクエスト数のカウントを行い、所定期間ごとに輻輳判定装置50bへこの規制対象リクエスト数を送信する。また、輻輳判定装置50bのリクエスト規制判定部512bは、前記した式(4)によりリクエスト数条件充足判定を行う。   The request count transmission unit 215 counts the number of restriction target requests and transmits the number of restriction target requests to the congestion determination device 50b every predetermined period. Further, the request restriction determination unit 512b of the congestion determination device 50b performs the request number condition satisfaction determination according to the above-described equation (4).

(処理手順)
次に、図16を参照しつつ、図17を用いて、第4の実施の形態のシステムの処理手順を説明する。なお、リクエスト規制の手順は第1の実施の形態と同じであるので説明を省略し、リクエスト規制後、リクエスト規制解除を行う手順について説明する。なお、図8および図10と同じ処理内容については同じステップ番号を付して説明を省略する。
(Processing procedure)
Next, the processing procedure of the system according to the fourth embodiment will be described with reference to FIG. Since the procedure for request regulation is the same as that in the first embodiment, a description thereof will be omitted, and a procedure for canceling request regulation after request regulation will be described. Note that the same processing numbers as those in FIGS. 8 and 10 are denoted by the same step numbers and description thereof is omitted.

第3の実施の形態のシステムと同様に、信号処理部200の信号処理サーバ20b(20A,20B,20C)はそれぞれ、クライアント装置1からのリクエストを受信すると(S21)、リクエスト数送信部215(図16参照)により規制対象リクエスト数のカウントを行い(S22)、リクエスト規制部212(図16参照)によりエラーレスポンスをクライアント装置1へ返す(S23)。そして、信号処理サーバ20bはそれぞれ、所定間隔でリクエスト数送信部215により、輻輳判定装置50bへ、S22でカウントした規制対象リクエスト数を送信し(S61,S63)、規制対象リクエスト数のカウンタリセットを行う(S52,S54)。輻輳判定装置50bは、信号処理サーバ20bそれぞれからの規制対象リクエスト数を受信すると、リクエスト規制判定部512bにより、前記した式(4)によるリクエスト数条件充足判定を行う(S62)。ここで、リクエスト規制判定部512bは、リクエスト数条件充足判定を行った結果、リクエスト数条件を充足し、かつ、データベースサーバ40からのリソース使用率充足通知を受信したとき(S64)、信号処理サーバ20bそれぞれへのリクエスト規制指示を解除すると判定する(S65:リクエスト規制解除判定)。そして、輻輳判定装置50bは、リクエスト規制指示部511により、信号処理サーバ20bそれぞれに対しリクエスト規制解除指示を送信し、また、リクエスト規制判定部512bにより規制対象リクエスト数の送信を終了するよう指示する(S66)。このようにすることでも、輻輳判定装置50bは、リクエスト規制の解除判定を行うことができる。なお、第4の実施の形態のシステムにおいて、リクエスト数条件充足判定は、輻輳判定装置50b側で行うので信号処理サーバ20bそれぞれにおける処理負荷を軽減することができる。   Similarly to the system of the third embodiment, when the signal processing server 20b (20A, 20B, 20C) of the signal processing unit 200 receives a request from the client device 1 (S21), the request number transmission unit 215 ( 16), the number of requests subject to restriction is counted (S22), and an error response is returned to the client device 1 by the request restriction unit 212 (see FIG. 16) (S23). Then, each of the signal processing servers 20b transmits the number of restriction target requests counted in S22 to the congestion determination device 50b by the request number transmission unit 215 at a predetermined interval (S61, S63), and resets the number of restriction target requests counter. Perform (S52, S54). When the congestion determination device 50b receives the number of requests subject to restriction from each of the signal processing servers 20b, the request restriction determination unit 512b performs the request number condition satisfaction determination according to the above-described equation (4) (S62). Here, as a result of performing the request number condition satisfaction determination, the request restriction determination unit 512b satisfies the request number condition and receives a resource usage rate satisfaction notification from the database server 40 (S64). It is determined to cancel the request restriction instruction to each of 20b (S65: request restriction release determination). Then, the congestion determination device 50b transmits a request restriction release instruction to each of the signal processing servers 20b by the request restriction instruction unit 511, and instructs the request restriction determination unit 512b to end transmission of the number of requests to be restricted. (S66). Even in this way, the congestion determination device 50b can determine whether to cancel the request restriction. In the system of the fourth embodiment, since the request number condition satisfaction determination is performed on the congestion determination device 50b side, the processing load on each of the signal processing servers 20b can be reduced.

なお、前記した各実施の形態において、データベースサーバ40(図6参照)における輻輳発生の判定は、自サーバのリソース利用率が所定の閾値未満か否かにより判定するものとするが、リクエスト数(データ要求数)を用いてもよいし、リソース使用率とリクエスト数との組み合わせを用いてもよい。   In each of the embodiments described above, the occurrence of congestion in the database server 40 (see FIG. 6) is determined based on whether or not the resource usage rate of the own server is less than a predetermined threshold. The number of data requests) may be used, or a combination of the resource usage rate and the number of requests may be used.

また、前記した各実施の形態において、輻輳判定装置50,50a,50bは、信号処理サーバ20,20a,20bとは別個の装置である場合を例に説明したが、信号処理サーバ20,20a,20bの一部に組み込むようにしてもよい。さらに、輻輳判定装置50,50a,50bは、いずれか1台のデータベースサーバ40から輻輳発生通知を受信したとき、リクエスト規制を行うこととしたが、所定台数以上のデータベースサーバ40からの輻輳発生通知を受信したときにリクエスト規制を行うようにしてもよい。また、リクエスト規制解除についても、所定台数のデータベースサーバ40からリソース使用率条件充足通知を受信し、かつ、リクエスト数条件を充足すると判定したとき、リクエスト規制を解除すると判定してもよい。   In each of the above-described embodiments, the congestion determination devices 50, 50a, and 50b have been described by way of example as separate devices from the signal processing servers 20, 20a, and 20b, but the signal processing servers 20, 20a, and You may make it incorporate in a part of 20b. Furthermore, when the congestion determination devices 50, 50a, 50b receive the congestion occurrence notification from any one of the database servers 40, the congestion determination device 50, 50a, 50b performs the request restriction. The request restriction may be performed when the message is received. Also, regarding request restriction release, when a resource usage rate condition satisfaction notification is received from a predetermined number of database servers 40 and it is determined that the request number condition is satisfied, it may be determined that the request restriction is released.

1 クライアント装置
20,20a,20b 信号処理サーバ
21,41,51 制御部
22,42,52 入出力部
23,43,53 メモリ部
24,44,54 記憶部
40 データベースサーバ(データ処理サーバ)
50,50a,50b 輻輳判定装置(輻輳判定手段)
200 信号処理部
211 リクエスト処理部
212 リクエスト規制部
213,213a リクエスト数条件充足判定部
214 リクエスト数加算転送部
215 リクエスト数送信部
241 規制対象リクエスト情報
400 データベース部
411 データ要求受信部
412 データ送信部
413 輻輳判定部
414 リソース監視部
441 データ記憶部
442 輻輳判定情報
511 リクエスト規制指示部
512,512a,512b リクエスト規制判定部
513 サーバ選択部
514 リクエスト数条件判定指示部
541 サーバ情報
1 Client device 20, 20a, 20b Signal processing server 21, 41, 51 Control unit 22, 42, 52 Input / output unit 23, 43, 53 Memory unit 24, 44, 54 Storage unit 40 Database server (data processing server)
50, 50a, 50b Congestion judgment device (congestion judgment means)
200 Signal Processing Unit 211 Request Processing Unit 212 Request Restriction Unit 213, 213a Request Number Condition Satisfaction Determination Unit 214 Request Number Addition Transfer Unit 215 Request Number Transmission Unit 241 Restriction Target Request Information 400 Database Unit 411 Data Request Reception Unit 412 Data Transmission Unit 413 Congestion determination unit 414 Resource monitoring unit 441 Data storage unit 442 Congestion determination information 511 Request restriction instruction unit 512, 512a, 512b Request restriction determination unit 513 Server selection unit 514 Request number condition determination instruction unit 541 Server information

Claims (8)

クライアント装置からのデータ処理サーバへの要求信号を処理し、前記データ処理サーバへデータ要求を送信する複数の信号処理サーバと、前記データ要求に基づく処理を行う複数の前記データ処理サーバと、前記データ処理サーバにおける輻輳発生を判定する輻輳判定手段とを備える信号処理システムであって、
前記データ処理サーバはそれぞれ、
前記データ要求の対象となるデータを記憶するデータ記憶部を備え、
前記自身のデータ処理サーバのリソース使用率およびデータ要求数の少なくともいずれか一方が所定の閾値以上となったとき、輻輳が発生したと判定し、前記輻輳判定手段へ輻輳発生通知を送信し、前記リソース利用率が前記所定の閾値未満となったとき、輻輳が低減したと判定し、前記輻輳判定手段へリソース使用率条件充足通知を送信し、
前記輻輳判定手段は、
前記信号処理サーバの識別情報を示したサーバ情報を記憶する記憶部を備え、
前記データ処理サーバからの輻輳発生通知を受信したとき、前記信号処理サーバそれぞれに対し、規制対象とする前記要求信号の種別を示したリクエスト規制指示を送信し、
前記信号処理サーバはそれぞれ、
前記リクエスト規制指示を受信したとき、前記規制対象の要求信号を受信しても、前記要求信号に基づく処理を実行しないリクエスト規制を行い、
前記リクエスト規制指示を受信した信号処理サーバのうち少なくともいずれかが、
前記リクエスト規制中、所定期間ごとに、自身の信号処理サーバにおける前記規制対象の要求信号の受信数をカウントし、以下の式(1)を満たすとき、前記輻輳判定手段へリクエスト数条件充足通知を送信し、
前記輻輳判定手段は、
前記データ処理サーバからリソース使用率条件充足通知を受信し、かつ、前記信号処理サーバからのリクエスト数条件充足通知を受信したとき、前記信号処理サーバそれぞれへのリクエスト規制指示を解除することを特徴とする信号処理システム。
α×自身の信号処理サーバにおける時間あたりの前記規制対象の要求信号の受信数×すべての前記信号処理サーバのうち、自身の信号処理サーバへ前記要求信号が振り分けられる割合の逆数<C…式(1)
但し、αは前記信号処理サーバへの1つの要求信号に対し、前記データ処理サーバへ送信するデータ要求の数であり、Cは所定の閾値とする。
A plurality of signal processing servers for processing a request signal from a client device to a data processing server and transmitting a data request to the data processing server, a plurality of the data processing servers performing processing based on the data request, and the data A signal processing system comprising congestion determination means for determining occurrence of congestion in a processing server,
Each of the data processing servers is
A data storage unit for storing data to be subjected to the data request;
When at least one of the resource usage rate of the data processing server and the number of data requests is equal to or greater than a predetermined threshold, it is determined that congestion has occurred, and a congestion occurrence notification is transmitted to the congestion determination unit, When the resource usage rate becomes less than the predetermined threshold, it is determined that congestion is reduced, and a resource usage rate condition satisfaction notification is transmitted to the congestion determination unit,
The congestion determination means includes
A storage unit for storing server information indicating identification information of the signal processing server;
When the congestion occurrence notification is received from the data processing server, a request restriction instruction indicating the type of the request signal to be restricted is transmitted to each of the signal processing servers,
Each of the signal processing servers is
When the request restriction instruction is received, even if the restriction target request signal is received, request restriction that does not execute processing based on the request signal is performed.
At least one of the signal processing servers that has received the request restriction instruction,
During the request restriction, the number of reception of the restriction target signal in its own signal processing server is counted every predetermined period, and when the following expression (1) is satisfied, a request number condition satisfaction notification is sent to the congestion determination means. Send
The congestion determination means includes
When a resource usage rate condition satisfaction notification is received from the data processing server and a request number condition satisfaction notification is received from the signal processing server, a request restriction instruction to each of the signal processing servers is canceled. Signal processing system.
α × number of reception of request signal to be regulated per time in own signal processing server × reciprocal of ratio of request signal to own signal processing server out of all signal processing servers <C 1)
Where α is the number of data requests transmitted to the data processing server in response to one request signal to the signal processing server, and C is a predetermined threshold value.
前記輻輳判定手段は、
前記輻輳が発生したデータ処理サーバへの要求信号を、前記規制対象の要求信号とすることを特徴とする請求項1に記載の信号処理システム。
The congestion determination means includes
The signal processing system according to claim 1, wherein a request signal to the data processing server in which the congestion has occurred is the request signal to be regulated.
前記式(1)を満たすか否かを判定するリクエスト数条件充足判定を行う信号処理サーバは、前記輻輳判定手段により選択されたいずれか1台の信号処理サーバであることを特徴とする請求項1または請求項2に記載の信号処理システム。   The signal processing server that performs the request number condition satisfaction determination for determining whether or not the expression (1) is satisfied is any one signal processing server selected by the congestion determination unit. The signal processing system according to claim 1 or 2. 前記輻輳判定手段により選択された信号処理サーバは、前記信号処理サーバのうち所定の処理能力が最も高いサーバであることを特徴とする請求項3に記載の信号処理システム。   4. The signal processing system according to claim 3, wherein the signal processing server selected by the congestion determination unit is a server having the highest predetermined processing capability among the signal processing servers. 前記選択された信号処理サーバは、
前記リクエスト数条件充足判定を行うとき、前記所定期間における、自身の信号処理サーバでカウントした前記規制対象の要求信号の受信数を、他のいずれかの前記信号処理サーバへ送信し、
他の前記信号処理サーバから前記規制対象の要求信号の受信数を受信した信号処理サーバはそれぞれ、
前記送信された前記規制対象の要求信号の受信数に、前記所定期間における、自身の信号処理サーバでカウントした前記規制対象の要求信号の受信数を加算して、前記受信数をまだ送信していない他の前記信号処理サーバへ送信する処理を行い、
前記選択された信号処理サーバは、他のすべての信号処理サーバにおける前記規制対象の要求信号の受信数の合計値を受信した場合、前記式(1)に代えて、以下の式(2)を満たすとき、前記リクエスト数条件充足判定通知を送信することを特徴とする請求項3に記載の信号処理システム。
前記α×すべての前記信号処理サーバにおける前記規制対象の要求信号の受信数の合計値<前記C…式(2)
The selected signal processing server is
When performing the request number condition satisfaction determination, the number of receptions of the restriction target request signal counted by its own signal processing server in the predetermined period is transmitted to any other signal processing server,
Each of the signal processing servers that has received the number of received request signals to be regulated from the other signal processing servers,
The number of receptions of the restriction target request signal counted by its own signal processing server in the predetermined period is added to the number of receptions of the restriction target request signal transmitted, and the reception number is still transmitted. Do not send to other signal processing server,
When the selected signal processing server receives the total number of receptions of the restriction target request signals in all other signal processing servers, the following equation (2) is substituted for the equation (1). The signal processing system according to claim 3, wherein when the condition is satisfied, the request number condition satisfaction determination notification is transmitted.
Α × total value of the number of reception of request signals to be regulated in all the signal processing servers <the C ... expression (2)
前記式(1)を満たすか否かを判定するリクエスト数条件充足判定を行う前記信号処理サーバは、前記システムにおいて前記リクエスト規制指示を受信したすべての前記信号処理サーバであり、
前記輻輳判定手段は、
いずれかの前記データ処理サーバからのリソース使用率充足通知を受信し、かつ、所定数a以上の前記信号処理サーバからのリクエスト数条件充足判定通知を受信したとき、前記信号処理サーバそれぞれへのリクエスト規制指示を解除することを特徴とする請求項1または請求項2に記載の信号処理システム。
The signal processing servers that perform the request number condition satisfaction determination for determining whether or not the expression (1) is satisfied are all the signal processing servers that have received the request restriction instruction in the system,
The congestion determination means includes
When a resource usage rate satisfaction notification is received from any one of the data processing servers and a request number condition satisfaction determination notification is received from the signal processing server of a predetermined number a or more, a request to each of the signal processing servers The signal processing system according to claim 1, wherein the restriction instruction is canceled.
クライアント装置からのデータ処理サーバへの要求信号を処理し、前記データ処理サーバへデータ要求を送信する複数の信号処理サーバと、前記データ要求に基づく処理を行う複数の前記データ処理サーバと、前記データ処理サーバにおける輻輳発生を判定する輻輳判定手段とを備える信号処理システムであって、
前記データ処理サーバはそれぞれ、
前記データ要求の対象となるデータを記憶するデータ記憶部を備え、
前記自身のデータ処理サーバのリソース使用率およびデータ要求数の少なくともいずれか一方が所定の閾値以上となったとき、輻輳が発生したと判定し、前記輻輳判定手段へ輻輳発生通知を送信し、前記リソース利用率が前記所定の閾値未満となったとき、輻輳が低減したと判定し、前記輻輳判定手段へリソース使用率条件充足通知を送信し、
前記輻輳判定手段は、
前記信号処理サーバの識別情報を示したサーバ情報を記憶する記憶部を備え、
前記輻輳発生通知を受信したとき、前記信号処理サーバそれぞれに対し、規制対象とする前記要求信号の種別を示したリクエスト規制指示を送信し、
前記信号処理サーバはそれぞれ、
前記リクエスト規制指示を受信したとき、前記規制対象の前記要求信号を受信しても、前記要求信号に基づく処理を実行しないリクエスト規制を行い、前記リクエスト規制中、所定期間ごとに、前記規制対象の要求信号の受信数をカウントし、前記カウントした要求信号の受信数を、前記輻輳判定手段へ送信し、
前記輻輳判定手段は、
前記データ処理サーバからリソース使用率条件充足通知を受信し、かつ、(前記信号処理サーバへの1つの要求信号に対し、前記データ処理サーバへ送信するデータ要求の数α×前記信号処理サーバそれぞれでカウントされた要求信号の受信数の合計値)の値が所定の閾値C未満と判定したとき、前記信号処理サーバそれぞれへのリクエスト規制指示を解除することを特徴とする信号処理システム。
A plurality of signal processing servers for processing a request signal from a client device to a data processing server and transmitting a data request to the data processing server, a plurality of the data processing servers performing processing based on the data request, and the data A signal processing system comprising congestion determination means for determining occurrence of congestion in a processing server,
Each of the data processing servers is
A data storage unit for storing data to be subjected to the data request;
When at least one of the resource usage rate of the data processing server and the number of data requests is equal to or greater than a predetermined threshold, it is determined that congestion has occurred, and a congestion occurrence notification is transmitted to the congestion determination unit, When the resource usage rate becomes less than the predetermined threshold, it is determined that congestion is reduced, and a resource usage rate condition satisfaction notification is transmitted to the congestion determination unit,
The congestion determination means includes
A storage unit for storing server information indicating identification information of the signal processing server;
When the congestion occurrence notification is received, a request restriction instruction indicating the type of the request signal to be restricted is transmitted to each of the signal processing servers,
Each of the signal processing servers is
When receiving the request restriction instruction, even if the request signal to be restricted is received, request restriction is performed so that processing based on the request signal is not performed. Count the number of received request signals, and send the counted number of received request signals to the congestion determination means,
The congestion determination means includes
The resource usage condition satisfaction notification is received from the data processing server, and (in response to one request signal to the signal processing server, the number of data requests to be transmitted to the data processing server α × each of the signal processing servers When it is determined that the value of the total number of received request signals is less than a predetermined threshold C, the request restriction instruction to each of the signal processing servers is canceled.
前記信号処理サーバは、コンシステントハッシュにより振り分けられた前記要求信号を受信するサーバであり、前記データ処理サーバは、前記コンシステントハッシュにより振り分けられた前記データ要求を受信するサーバである場合、
前記式(1)における、すべての前記信号処理サーバのうち、自身の信号処理サーバへ前記要求信号が振り分けられる割合の逆数に代えて、
前記コンシステントハッシュにおける前記すべての信号処理サーバの担当領域÷前記コンシステントハッシュにおける自身の信号処理サーバへの振り分け担当領域の合計
を用いることを特徴とする請求項1ないし請求項6のいずれか1項に記載の信号処理システム。
When the signal processing server is a server that receives the request signal distributed by the consistent hash, and the data processing server is a server that receives the data request distributed by the consistent hash,
In the equation (1), out of all the signal processing servers, instead of the reciprocal of the ratio of the request signal being distributed to its own signal processing server,
The area in charge of all the signal processing servers in the consistent hash / the total of the areas in charge of distribution to the signal processing server in the consistent hash is used. The signal processing system according to item.
JP2012233751A 2012-10-23 2012-10-23 Signal processing system Expired - Fee Related JP5969352B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012233751A JP5969352B2 (en) 2012-10-23 2012-10-23 Signal processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012233751A JP5969352B2 (en) 2012-10-23 2012-10-23 Signal processing system

Publications (2)

Publication Number Publication Date
JP2014085800A true JP2014085800A (en) 2014-05-12
JP5969352B2 JP5969352B2 (en) 2016-08-17

Family

ID=50788815

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012233751A Expired - Fee Related JP5969352B2 (en) 2012-10-23 2012-10-23 Signal processing system

Country Status (1)

Country Link
JP (1) JP5969352B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10362147B2 (en) 2015-10-09 2019-07-23 Seiko Epson Corporation Network system and communication control method using calculated communication intervals
WO2021171389A1 (en) * 2020-02-26 2021-09-02 日本電信電話株式会社 Service provision system, service provision method, master node, and program

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04298147A (en) * 1991-03-27 1992-10-21 Mitsubishi Electric Corp Conference talking system
JPH0549045A (en) * 1991-08-20 1993-02-26 Fujitsu Ltd Catv system
JPH09233072A (en) * 1996-02-26 1997-09-05 Nippon Telegr & Teleph Corp <Ntt> Network performance management system
JP2001320420A (en) * 2000-03-01 2001-11-16 Fujitsu Ltd Transmission path control apparatus and transmission path control method, and medium with recorded transmission path control program
JP2003046562A (en) * 2001-07-31 2003-02-14 Nippon Telegr & Teleph Corp <Ntt> Congestion detection control method in communication network, congestion control method for switch, congestion control method for terminal, ip network access terminal, program and recording medium
JP2005182145A (en) * 2003-12-16 2005-07-07 Oki Electric Ind Co Ltd Method for authenticating communication terminal device and communication terminal device
WO2012101890A1 (en) * 2011-01-26 2012-08-02 日本電気株式会社 Network system, control device and optimum path control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04298147A (en) * 1991-03-27 1992-10-21 Mitsubishi Electric Corp Conference talking system
JPH0549045A (en) * 1991-08-20 1993-02-26 Fujitsu Ltd Catv system
JPH09233072A (en) * 1996-02-26 1997-09-05 Nippon Telegr & Teleph Corp <Ntt> Network performance management system
JP2001320420A (en) * 2000-03-01 2001-11-16 Fujitsu Ltd Transmission path control apparatus and transmission path control method, and medium with recorded transmission path control program
JP2003046562A (en) * 2001-07-31 2003-02-14 Nippon Telegr & Teleph Corp <Ntt> Congestion detection control method in communication network, congestion control method for switch, congestion control method for terminal, ip network access terminal, program and recording medium
JP2005182145A (en) * 2003-12-16 2005-07-07 Oki Electric Ind Co Ltd Method for authenticating communication terminal device and communication terminal device
WO2012101890A1 (en) * 2011-01-26 2012-08-02 日本電気株式会社 Network system, control device and optimum path control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10362147B2 (en) 2015-10-09 2019-07-23 Seiko Epson Corporation Network system and communication control method using calculated communication intervals
WO2021171389A1 (en) * 2020-02-26 2021-09-02 日本電信電話株式会社 Service provision system, service provision method, master node, and program

Also Published As

Publication number Publication date
JP5969352B2 (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN109218355B (en) Load balancing engine, client, distributed computing system and load balancing method
US7890620B2 (en) Monitoring system and monitoring method
US8533731B2 (en) Apparatus and method for distrubuting complex events based on correlations therebetween
CN105718317B (en) A kind of method for scheduling task and device
JP5729466B2 (en) Virtual machine management apparatus, virtual machine management method, and program
CN104852857B (en) Distributed data transport method and system based on load balancing
CN109246229A (en) A kind of method and apparatus of distribution resource acquisition request
JP6881575B2 (en) Resource allocation systems, management equipment, methods and programs
TW201237655A (en) Information processing system, information processing apparatus, load balancing method, database deployment planning method, and program for realizing connection distribution for load balancing in distributed database
CN103377092A (en) Two-level resource management method and appratus for dynamic resource management
CN110365748A (en) Treating method and apparatus, storage medium and the electronic device of business datum
US9736235B2 (en) Computer system, computer, and load balancing method
EP2570922A1 (en) Method and system for managing an elastic server farm
EP3547625A1 (en) Method and system for sending request for acquiring data resource
US11438271B2 (en) Method, electronic device and computer program product of load balancing
CN104639645A (en) Method and device for balancing network load, and cluster service system
JP2018521439A (en) Method and apparatus for leveling load on distributed database
JP5969352B2 (en) Signal processing system
JP5957965B2 (en) Virtualization system, load balancing apparatus, load balancing method, and load balancing program
JP5515810B2 (en) Load control device
JP5388134B2 (en) Computer system and moving data determination method
JP5997659B2 (en) Distributed processing system and distributed processing method
JP2011150472A (en) Web service system, server selection reference determination device, server selection reference determination method and program
Naik et al. A novel algorithm for fault tolerant job Scheduling and load balancing in grid computing environment
JP4743904B2 (en) Resource over-distribution prevention system

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20140502

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140528

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151023

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160120

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160707

R150 Certificate of patent or registration of utility model

Ref document number: 5969352

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees