JP6204256B2 - Distributed processing system, distributed data management apparatus, and distributed data management method - Google Patents
Distributed processing system, distributed data management apparatus, and distributed data management method Download PDFInfo
- Publication number
- JP6204256B2 JP6204256B2 JP2014089276A JP2014089276A JP6204256B2 JP 6204256 B2 JP6204256 B2 JP 6204256B2 JP 2014089276 A JP2014089276 A JP 2014089276A JP 2014089276 A JP2014089276 A JP 2014089276A JP 6204256 B2 JP6204256 B2 JP 6204256B2
- Authority
- JP
- Japan
- Prior art keywords
- data management
- distributed data
- server
- child device
- identifier
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明は、ネットワーク上に分散配置されるサーバをクラスタ化してデータを格納する、分散処理システム、分散データ管理装置および分散データ管理方法に関する。 The present invention relates to a distributed processing system, a distributed data management apparatus, and a distributed data management method for storing data by clustering servers distributed on a network.
コンシステントハッシュ法を用いて、処理の分散化を行う技術として、特許文献1に記載の分散処理システムがある。この分散処理システムでは、コンシステントハッシュ法を利用して、仮想ハッシュ空間上に処理サーバを割り当て、データ(要求信号)を識別するキーに基づき、仮想ハッシュ空間上の値を算出し、算出した仮想ハッシュ空間上の値から処理サーバを決定することにより、分散処理を実現している。さらに、分散処理システムでは、例えば、仮想ハッシュ空間上において隣接する別の処理サーバに、そのデータ(要求信号)に関する処理結果(原本データ)を複製して複製データとして記憶させる。このようにすることにより、ある処置サーバが障害等によりシステムから離脱しても、複製データを記憶する別の処理サーバが処理を継続することができる。
As a technique for performing processing decentralization using the consistent hash method, there is a distributed processing system described in
この分散処理システムでは、処理サーバリソースをリソースプールから融通可能であり、複数のアプリケーションやサービスを一つの分散処理システムにデプロイし管理することができる。また、分散処理システムによりアプリケーションやサービスを実現することで、処理サーバの負荷分散と耐障害性とを兼ね備えることができる。 In this distributed processing system, processing server resources can be accommodated from the resource pool, and a plurality of applications and services can be deployed and managed in one distributed processing system. In addition, by realizing applications and services by the distributed processing system, it is possible to have both load distribution and fault tolerance of the processing server.
しかしながら、アプリケーションやサービスの特性によっては、分散処理システムを構成する各処理サーバのうちの特定の処理サーバと、各処理サーバの配下に位置する特定の子装置とにおいて、関連付けが必要な場合がある。その場合、サービスを要求する端末の収容位置に基づき(つまり、端末を収容する子装置毎に)、処理サーバを決定する必要があり、従来の分散処理システム上において、そのようにアプリケーションやサービスをデプロイすることが困難であった。 However, depending on the characteristics of the application or service, association may be necessary between a specific processing server among the processing servers constituting the distributed processing system and a specific child device located under each processing server. . In that case, it is necessary to determine the processing server based on the accommodation position of the terminal requesting the service (that is, for each child device that accommodates the terminal). It was difficult to deploy.
このような背景に鑑みて本発明がなされたのであり、本発明は、分散処理システムにおいて、端末の収容位置に基づき処理サーバを決定し、収容分散が必要なアプリケーションやサービスのデプロイを可能とする、分散処理システム、分散データ管理装置および分散データ管理方法を提供することを課題とする。なお、ここで「収容分散」とは、具体的には、端末を収容する子装置毎に、分散処理システムを構成する各処理サーバの中から、その子装置が収容する端末からの要求信号を処理する処理サーバを対応付けて、分散処理することを意味する。 The present invention has been made in view of such a background. In the distributed processing system, the present invention makes it possible to determine a processing server based on the terminal's accommodation position and to deploy applications and services that require accommodation / distribution. It is an object to provide a distributed processing system, a distributed data management device, and a distributed data management method. Note that “accommodation / distribution” here means that, for each slave device that accommodates a terminal, a request signal from the terminal accommodated by the slave device is processed from each processing server constituting the distributed processing system. This means that distributed processing is performed by associating processing servers.
前記した課題を解決するため、本発明は、複数の端末を収容する子装置それぞれと、前記端末が送信した要求信号を、前記子装置を介して受信して信号処理する複数の分散データ管理装置とを備える分散処理システムであって、前記分散データ管理装置が、前記端末の識別子と前記子装置の識別子とを対応付ける端末・子装置対応情報、および、前記子装置の識別子と前記分散データ管理装置の識別子とを対応付ける子装置・サーバ対応情報を記憶する記憶部と、前記子装置を介して前記端末が送信した要求信号を受信した場合に、前記端末・子装置対応情報を参照し、前記要求信号を送信した端末を収容する前記子装置を特定し、前記特定した子装置に基づき、前記子装置・サーバ対応情報を参照し、当該要求信号の信号処理を担当する前記分散データ管理装置を決定し、前記決定した分散データ管理装置が他の分散データ管理装置であるならば、前記決定した他の分散データ管理装置に前記要求信号を送信する振り分け処理部と、他の前記分散データ管理装置から前記要求信号を受信し、前記子装置の状態を示す子装置情報に基づき前記要求信号の信号処理を実行し、前記信号処理の処理結果を原本データとして生成するとともに、実行した当該信号処理に応じて前記子装置情報を更新する信号処理部と、生成した前記原本データの複製である複製データと、更新した前記子装置情報の複製とを、予め設定された複製先決定ロジックに基づき決定した自身以外の分散データ管理装置に送信して記憶させるデータ管理部と、を備えることを特徴とする。 In order to solve the above-described problems, the present invention provides a plurality of distributed data management apparatuses that receive and process request signals transmitted by the terminals via the slave apparatuses, respectively, and slave apparatuses that accommodate a plurality of terminals. A terminal-child device correspondence information in which the distributed data management device associates the identifier of the terminal with the identifier of the child device, and the identifier of the child device and the distributed data management device. When the request signal transmitted from the terminal via the slave device is received, the storage unit that associates the identifier of the slave device / server with reference to the terminal / slave device correspondence information and receiving the request identify the child device that accommodates the terminal transmitting the signal, based on said identified child device, refer to the child device server correspondence information, before you responsible for signal processing of the request signal The distributed data management system to determine, if said determined distributed data management system is another distributed data management device, and a distribution processing unit that transmits the request signal to other distributed data management apparatus the determined other Receiving the request signal from the distributed data management device, and performing signal processing of the request signal based on child device information indicating a state of the child device, generating a processing result of the signal processing as original data, A signal processing unit that updates the child device information according to the signal processing that has been executed, copy data that is a copy of the generated original data, and a copy of the updated child device information that has been set in advance A data management unit that transmits the data to a distributed data management device other than itself determined based on the determination logic and stores the data.
このようにすることにより、分散処理システムにおいて、端末の収容位置に基づき(子装置毎に)分散データ管理装置(処理サーバ)を決定し、収容分散が必要なアプリケーションやサービスのデプロイを可能とすることができる。また、原本データを記憶する分散データ管理装置が故障等により離脱しても、複製データを記憶する他の分散データ管理装置(複製サーバ)に記憶された子装置情報(複製)を利用することにより、サービスを継続することができる。 In this way, in the distributed processing system, a distributed data management device (processing server) is determined (for each child device) based on the accommodation position of the terminal, and it becomes possible to deploy applications and services that require accommodation distribution. be able to. Further, even if the distributed data management device that stores the original data is disconnected due to a failure or the like, by using the child device information (replication) stored in another distributed data management device (replication server) that stores the replicated data, Can continue the service.
また、本発明は、前記分散処理システムが、前記複数の分散データ管理装置それぞれのサーバ負荷の情報を取得して、サーバ負荷情報として記憶するとともに、前記分散データ管理装置の前記サーバ負荷のいずれかが所定の閾値を超えた場合に、前記所定の閾値を超えた分散データ管理装置の識別子と、前記サーバ負荷情報を参照して前記サーバ負荷が最も低い分散データ管理装置の識別子とを抽出し、前記分散データ管理装置の前記振り分け処理部に出力するサーバ負荷監視手段をさらに備え、前記分散データ管理装置の前記振り分け処理部は、前記子装置・サーバ対応情報について、前記所定の閾値を超えた分散データ管理装置の識別子に対応付けられた前記子装置の識別子を、前記サーバ負荷が最も低い分散データ管理装置の識別子に対応付けるように変更すること、を特徴とする。 Further, according to the present invention, the distributed processing system acquires server load information of each of the plurality of distributed data management apparatuses and stores the server load information as one of the server loads of the distributed data management apparatus. When the threshold exceeds a predetermined threshold, the identifier of the distributed data management device exceeding the predetermined threshold, and the identifier of the distributed data management device with the lowest server load with reference to the server load information, Server load monitoring means for outputting to the distribution processing unit of the distributed data management device is further provided, and the distribution processing unit of the distributed data management device distributes the child device / server correspondence information exceeding the predetermined threshold. The identifier of the child device associated with the identifier of the data management device is changed to the identifier of the distributed data management device with the lowest server load. Be modified to attach response, and wherein.
このようにすることにより、分散処理システムによれば、分散データ管理装置のサーバ負荷のいずれかが所定の閾値を超えた場合、各分散データ管理装置のサーバ負荷の情報(サーバ負荷情報)に基づき、サーバ負荷が最も低い分散データ管理装置に、子装置の収容替えを自律で行うため、各分散データ管理装置の負荷を分散することができる。 Thus, according to the distributed processing system, when any of the server loads of the distributed data management device exceeds a predetermined threshold, based on the server load information (server load information) of each distributed data management device. Since the child device is autonomously changed to the distributed data management device with the lowest server load, the load of each distributed data management device can be distributed.
また、本発明は、前記分散処理システムが、前記複数の分散データ管理装置それぞれのサーバ負荷の情報を取得して、サーバ負荷情報として記憶するとともに、前記分散データ管理装置の前記サーバ負荷のいずれかが所定の閾値を超えた場合に、前記所定の閾値を超えた分散データ管理装置の識別子を、前記分散データ管理装置の前記振り分け処理部に出力するサーバ負荷監視手段をさらに備え、前記分散データ管理装置の前記振り分け処理部は、前記子装置・サーバ対応情報について、前記所定の閾値を超えた分散データ管理装置の識別子に対応付けられた前記子装置の識別子を、当該対応付けられた子装置の前記子装置情報の複製を記憶する分散処理データ管理装置の識別子に対応付けるように変更すること、を特徴とする。 Further, according to the present invention, the distributed processing system acquires server load information of each of the plurality of distributed data management apparatuses and stores the server load information as one of the server loads of the distributed data management apparatus. And a server load monitoring unit that outputs an identifier of the distributed data management device exceeding the predetermined threshold to the distribution processing unit of the distributed data management device when the distributed data management device exceeds the predetermined threshold, The distribution processing unit of the device, for the child device / server correspondence information, assigns the identifier of the child device associated with the identifier of the distributed data management device exceeding the predetermined threshold to the associated child device. It is modified to associate with the identifier of the replication you store distributed processing data management system of slave device information, and wherein.
このようにすることにより、分散処理システムによれば、分散データ管理装置のサーバ負荷のいずれかが所定の閾値を超えた場合、既に原本データの複製データおよび子装置情報(複製)を記憶する分散データ管理装置に、子装置の収容替えを行うため、収容替えを迅速に、かつ、自律で行い、各分散データ管理装置の負荷を分散することができる。 In this way, according to the distributed processing system, when any of the server loads of the distributed data management device exceeds a predetermined threshold, the distributed data that already stores the copy data of the original data and the child device information (replication) Since the child device is accommodated in the data management device, the accommodation change can be performed quickly and autonomously, and the load of each distributed data management device can be distributed.
なお、本発明の分散処理システムとはカテゴリの異なる、分散データ管理装置および分散データ管理方法についても、本発明の分散処理システムと同様の特徴構成を備え、前記した同様の効果を奏するものであるため、ここでの説明は省略する。 Note that the distributed data management apparatus and distributed data management method, which are different in category from the distributed processing system of the present invention, have the same characteristic configuration as the distributed processing system of the present invention and have the same effects as described above. Therefore, the description here is omitted.
本発明によれば、分散処理システムにおいて、端末の収容位置に基づき処理サーバを決定し、収容分散が必要なアプリケーションやサービスのデプロイを可能とする、分散処理システム、分散データ管理装置および分散データ管理方法を提供することができる。 According to the present invention, in a distributed processing system, a distributed processing system, a distributed data management device, and a distributed data management that enable the deployment of applications and services that need to be accommodated and distributed by determining a processing server based on the accommodation location of the terminal. A method can be provided.
<システム構成と処理概要>
次に、本発明を実施するための形態(以下、「本実施形態」と称する。)に係る処理サーバ1(分散データ管理装置)を含む分散処理システム1000の全体構成と処理概要とについて説明する。
<System configuration and processing overview>
Next, the overall configuration and processing outline of the distributed processing system 1000 including the processing server 1 (distributed data management apparatus) according to a mode for carrying out the present invention (hereinafter referred to as “this embodiment”) will be described. .
(分散処理システムの全体構成)
まず、本実施形態に係る処理サーバ1を含む分散処理システム1000の全体構成について説明する。
図1は、本実施形態に係る処理サーバ1(分散データ管理装置)を含む分散処理システム1000の全体構成を示す図である。
(Overall configuration of distributed processing system)
First, the overall configuration of the distributed processing system 1000 including the
FIG. 1 is a diagram showing an overall configuration of a distributed processing system 1000 including a processing server 1 (distributed data management apparatus) according to the present embodiment.
この分散処理システム1000は、図1(a)に示すように、複数の端末(図1(a)においては端末群40)を収容する子装置30それぞれ(子装置「1」「2」「3」)と、その子装置30それぞれに接続されるロードバランサ20と、ロードバランサ20に接続され、クラスタを構成する複数の処理サーバ10(処理サーバ「1」「2」「3」)とを含んで構成される。
As shown in FIG. 1A, the distributed processing system 1000 includes each of the child devices 30 (child devices “1”, “2”, and “3” that accommodate a plurality of terminals (
ここで、端末は、自身を収容する子装置30を介して、サービスの要求信号を処理サーバ10へ送信し、処理サーバ10からの応答信号を受信することにより、サービスを享受する。
また、子装置30は、複数の端末(端末群40)を収容し、ロードバランサ20と端末と間のルーチングを行う機能を少なくとも備える。
ロードバランサ20は、子装置30を介して端末から取得した要求信号を、ラウンドロビン等の単純な手法により各処理サーバ10に振り分ける。
Here, the terminal receives the service by transmitting a service request signal to the
Further, the
The
処理サーバ10は、自身以外の他の処理サーバ10とも接続され、ロードバランサ20から受信した端末からの要求信号について、その要求信号の処理を担当するサーバを、自身が保持する、端末・子装置対応情報100(図1(b)、後記する図2および図3参照)および子装置・サーバ対応情報200(図1(c)、後記する図2および図4参照)に基づき決定して振り分ける。処理サーバ10は、自身に対応付けられた子装置30が収容する端末が送信した要求信号を信号処理し、その応答信号を当該端末に送信することによりサービスを提供する。その際、処理サーバ10は、信号処理した結果を原本データとして自身の記憶部に記憶するとともに、コンシステントハッシュ法等に基づき予め設定された複製先決定ロジックにより、その原本データの複製を記憶する他の処理サーバ10(複製サーバ)を決定し、その複製先となる他の処理サーバ10(複製サーバ)にその原本データの複製を送信することにより複製データを記憶させる。また、処理サーバ10は、この要求信号の信号処理を、子装置30の状態を示す子装置情報に基づき実行し、その信号処理に応じて、自身と対応付けられた子装置30に関する情報(子装置情報(原本))を更新し、自身の記憶部に記憶するとともに、原本データの複製先となる他の処理サーバ10(複製サーバ)に、その子装置情報(複製)を送信し記憶させる。
The
図1を例に説明すると、子装置「1」に収容される端末群「1」に属する端末から、要求信号を受信した子装置「1」が、その要求信号をロードバランサ20に送信する。ロードバランサ20は、ラウンドロビン等により振り分け先を、例えば、処理サーバ「3」に決定し、その要求信号を送信する。要求信号を受信した処理サーバ「3」は、まず、端末・子装置対応情報100(図1(b))を参照し、その要求信号の送信元の端末の端末識別子に対応する子装置30の子装置識別子を抽出する。ここでは、端末識別子(「.xxx」)に対応する子装置識別子として「1」(子装置「1」)が抽出される。次に、処理サーバ「3」は、子装置・サーバ対応情報200(図1(c))を参照し、その子装置識別子(「1」)に対応する仮想空間上の値を抽出する。ここでは、仮想空間上の値「aaa」が抽出され、その要求信号の処理を担当するサーバとして処理サーバ「1」が決定される。そして、処理サーバ「3」は、要求信号を処理サーバ「1」に送信する。
Referring to FIG. 1 as an example, the slave device “1” that has received the request signal from the terminals belonging to the terminal group “1” accommodated in the slave device “1” transmits the request signal to the
要求信号を受信した処理サーバ「1」は、信号処理を行い、応答信号を端末に返信するとともに、信号処理の処理結果(原本データ)を自身の記憶部に記憶し、その原本データの複製データを、他の処理サーバ10(複製サーバ)に送信して記憶させる。また、処理サーバ「1」は、この信号処理に応じて、子装置「1」の子装置情報(原本)を更新して自身の記憶部に記憶し、その子装置情報(原本)の複製を、複製データを記憶する他の処理サーバ10(複製サーバ)に送信して記憶させる。 The processing server “1” that has received the request signal performs signal processing, returns a response signal to the terminal, stores the processing result (original data) of the signal processing in its own storage unit, and duplicate data of the original data Are transmitted to and stored in another processing server 10 (replication server). Further, in response to this signal processing, the processing server “1” updates the child device information (original) of the child device “1” and stores it in its storage unit, and copies the child device information (original). It is transmitted to and stored in another processing server 10 (replication server) that stores the duplicate data.
この図1(a)に示す分散処理システム1000の具体例としては、例えば、NGN(Next Generation Network:次世代ネットワーク)の構成が挙げられる。NGNを例とすると、端末は「IP電話機」、子装置30は「エッジルータ(SSE:Subscriber Service Edge)」、処理サーバ10は「セッション制御サーバ」が相当するものとなる。
NGNでは、発信側の端末から呼設定の要求信号をセッション制御サーバが受信すると、エッジルータに対して、通話に必要な帯域を割り当てるように指示する。エッジルータにおいて、帯域確保(帯域保証)した上で、セッション制御サーバが発信側の端末と着信側の端末との間でセッションを確立し、通話サービスを提供する。このNGNの例の場合、処理サーバ10としてのセッション制御サーバは、発信側端末のアドレス情報や、着信側端末のアドレス情報、通話時間や、課金情報等を原本データとして、自身の記憶部に記憶する。また、その原本データの複製データを他の処理サーバ10(複製サーバであるセッション制御サーバ)に記憶させる。
As a specific example of the distributed processing system 1000 illustrated in FIG. 1A, for example, a configuration of an NGN (Next Generation Network) can be cited. Taking NGN as an example, the terminal corresponds to an “IP telephone”, the
In the NGN, when the session control server receives a call setting request signal from a terminal on the transmission side, the NGN instructs the edge router to allocate a band necessary for the call. In the edge router, after securing the bandwidth (bandwidth guarantee), the session control server establishes a session between the originating terminal and the terminating terminal, and provides a call service. In the case of this NGN example, the session control server as the
さらに、処理サーバ10(セッション制御サーバ)は、通話の帯域を保証するために、子装置30(エッジルータ)の残帯域の情報を、子装置情報として記憶しておく必要がある。処理サーバ10(セッション制御サーバ)は、子装置30(エッジルータ)の残帯域の情報を保持することにより、新たな呼設定の要求信号を受信した際に、子装置30(エッジルータ)の残帯域を確認し、帯域保証した上でサービスを提供することができる。この子装置情報(エッジルータの残帯域)の複製を他の処理サーバ10(複製サーバ)に記憶しておくことにより、原本データを記憶する処理サーバ10が故障等により離脱しても、複製データを記憶する他の処理サーバ10(セッション制御サーバ)に記憶された子装置情報(複製)を利用し、サービスを継続することができる。以下、本実施形態においては、具体例として、NGNを例にして説明する。
Furthermore, the processing server 10 (session control server) needs to store information on the remaining bandwidth of the child device 30 (edge router) as child device information in order to guarantee the bandwidth of the call. The processing server 10 (session control server) retains information on the remaining bandwidth of the child device 30 (edge router), so that when the new call setting request signal is received, the remaining processing of the child device 30 (edge router) is performed. Service can be provided after checking the bandwidth and guaranteeing the bandwidth. By storing a copy of this child device information (remaining bandwidth of the edge router) in another processing server 10 (replication server), even if the
<処置サーバの構成>
次に、本実施形態に係る処理サーバ10(分散データ管理装置)の構成例について、具体的に説明する。
<Configuration of treatment server>
Next, a configuration example of the processing server 10 (distributed data management apparatus) according to the present embodiment will be specifically described.
図2は、本実施形態に係る処理サーバ10の構成例を示す機能ブロック図である。
処理サーバ10は、図1に示したように、ロードバランサ20に接続されると共に、自身以外の他の処理サーバ10にも接続される。そして、処理サーバ10は、ロードバランサ20を介して端末から要求信号を受信すると、自身が記憶する端末・子装置対応情報100(図3)および子装置・サーバ対応情報200(図4)を参照し、その要求信号の処理を担当する処理サーバ10を決定し振り分ける。そして、その要求信号の処理を担当する処理サーバ10は、要求信号を受信すると、信号処理するとともに、その信号処理の結果としての原本データを記憶部13に記憶する。また、その処理サーバ10は、コンシステントハッシュ法等に基づき予め設定された複製先決定ロジックによりその原本データの複製を記憶する他の処理サーバ10(複製サーバ)を決定し、他の処理サーバ10(複製サーバ)にその原本データの複製を送信することにより複製データを記憶させる。さらに、処理サーバ10は、要求信号を処理した際に、自身と対応付けられた子装置30の状態を示す子装置情報(原本)を更新し、自身の記憶部13に記憶するとともに、原本データの複製先となる他の処理サーバ10(複製サーバ)に、その子装置情報(複製)を送信し記憶させる。
この処理サーバ10は、図2に示すように、制御部11と、入出力部12と、記憶部13とを含んで構成される。
FIG. 2 is a functional block diagram illustrating a configuration example of the
As shown in FIG. 1, the
As illustrated in FIG. 2, the
入出力部12は、ロードバランサ20や、自身以外の他の処理サーバ10との間の情報の入出力を行う。また、この入出力部12は、通信回線を介して情報の送受信を行う通信インタフェースと、不図示のキーボード等の入力手段やモニタ等の出力手段等との間で入出力を行う入出力インタフェースとから構成される。
The input /
制御部11は、処理サーバ10全体の制御を司り、振り分け処理部111、信号処理部112、データ管理部113を含んで構成される。なお、この制御部11は、例えば、記憶部13に格納されたプログラムを、不図示のCPU(Central Processing Unit)が不図示のRAM(Random Access Memory)に展開し実行することで実現される。
The control unit 11 controls the
振り分け処理部111は、ロードバランサ20から要求信号を受信し、端末・子装置対応情報100(図3)を参照し、要求信号を送信した端末を収容する子装置30を特定する。また、振り分け処理部111は、特定した子装置30の情報に基づき、子装置・サーバ対応情報200(図4)を参照し、その要求信号の処理を担当する処理サーバ10を決定し、その決定した処理サーバ10に要求信号を送信する。
The
図3は、本実施形態に係る端末・子装置対応情報100のデータ構成例を示す図である。図3に示すように、端末・子装置対応情報100には、端末識別子101に対応付けて子装置識別子102が格納される。
端末識別子101には、各端末の固有な識別子として、例えば、IPアドレスが格納される。図3においては、ある子装置30が収容する複数の端末(図1の端末群40)に割り当てられる共通のIPアドレスの帯域(IP帯)を、例えば、「.xxx」「.yyy」のように示している。
子装置識別子102には、各子装置30に固有な番号が格納される。
図3の1行目に示す情報は、端末識別子101が「.xxx」で示されるIP帯の複数の端末(端末群40)が、子装置識別子102が「1」の子装置30に収容されていることを示している。
FIG. 3 is a diagram illustrating a data configuration example of the terminal / slave
For example, an IP address is stored in the
The
In the information shown in the first line of FIG. 3, a plurality of terminals (terminal group 40) in the IP band whose
図4は、本実施形態に係る子装置・サーバ対応情報200のデータ構成例を示す図である。図4に示すように、子装置・サーバ対応情報200には、子装置識別子102に対応付けて仮想空間上の値201が格納される。
子装置識別子102には、前記したように、各子装置30に固有な番号が格納される。
仮想空間上の値201には、各処理サーバ10の識別子が格納される。具体的には、仮想空間上の値201として、各処理サーバ10に対応する、コンシステントハッシュ法に基づく仮想ハッシュ空間(以下、「仮想空間」と称する。)上のハッシュ値が格納される。図4においては、例えば、仮想空間上の値201として「aaa」「aab」「aac」は、処理サーバ「1」に対応する値を示している。仮想空間上の値201として「bbb」「bbc」は、処理サーバ「2」に対応する値を示している。また、仮想空間上の値201として「ccc」は、処理サーバ「3」に対応する値を示している。
つまり、図4は、子装置識別子102が「1」「4」「6」の子装置30の処理を、処理サーバ「1」が担当することを示し、子装置識別子102が「2」「5」の子装置30の処理を、処理サーバ「2」が担当することを示し、子装置識別子102が「3」の子装置30の処理を、処理サーバ「3」が担当することを示している。
FIG. 4 is a diagram illustrating a data configuration example of the child device /
As described above, the
The
That is, FIG. 4 shows that the processing server “1” takes charge of the processing of the
図2に戻り、振り分け処理部111は、ロードバランサ20から要求信号を受信すると、その要求信号に付された送信元となる端末の端末識別子101に基づき、端末・子装置対応情報100を参照し、子装置識別子102を特定する。次に、振り分け処理部111は、その特定した子装置識別子102に基づき、子装置・サーバ対応情報200を参照し、仮想空間上の値201を特定する。なお、振り分け処理部111は、仮想空間上の値201と各処理サーバ10とを対応付けたサーバ識別子管理情報(不図示)を備えており、仮想空間上の値201を特定することにより、要求信号の処理を担当する処理サーバ10を決定することができる。
Returning to FIG. 2, upon receiving the request signal from the
信号処理部112は、要求信号の信号処理を実行する。なお、この信号処理は各サービスの内容に応じた処理が実行される。例えば、前記したNGNの例では、要求信号(呼設定)の信号処理として、通話サービスのためのセッション制御処理が実行される。そして、信号処理部112は、信号処理の結果として、サービス提供に必要な情報(発信側・着信側のアドレス情報等)を原本データとして生成し、データ管理部113(原本データ処理部114)に出力する。
また、信号処理部112は、要求信号の信号処理を、そのサービスに関連する子装置30の状態を示す子装置情報に基づき実行し、その信号処理に応じて子装置情報(原本)を更新し、その更新した子装置情報(原本)をデータ管理部113(子装置情報処理部116)に出力する。なお、この子装置情報は、前記したNGNの例では、子装置30(エッジルータ)の残帯域の情報である。信号処理部112は、例えば、該当する子装置30(エッジルータ)に残帯域を問い合わせることにより、残帯域の情報を取得する。
The
In addition, the
データ管理部113は、サービスを提供するための原本データや複製データ、子装置情報(原本・複製)等の情報を記憶部13に記憶したり、複製データを他の処理サーバ10に送信したりする等のデータ管理を行う。このデータ管理部113は、原本データ処理部114、複製データ処理部115、および、子装置情報処理部116を備える。
The data management unit 113 stores information such as original data, copy data, and child device information (original / replication) for providing a service in the storage unit 13, or transmits the copy data to another
原本データ処理部114は、信号処理部112が信号処理の結果として生成した原本データを、記憶部13に記憶する。
また、原本データ処理部114は、コンシステントハッシュ法等に基づき予め設定された複製先決定ロジックによりその原本データの複製を記憶する他の処理サーバ10(複製サーバ)を決定し、他の処理サーバ10(複製サーバ)にその原本データの複製を送信することにより複製データを記憶させる。なお、原本データ処理部114は、複製先決定ロジックとして、例えば、サーバ識別子管理情報(不図示)で示されるその処理サーバ10自身の仮想空間上の値の次の行に示される処理サーバ10、つまり、仮想空間上で隣接する処理サーバ10を、複製サーバとして決定するようにしてもよい。
The original
Further, the original
複製データ処理部115は、自身以外の処理サーバ10(原本データを記憶する処理サーバ10)から送信されてきた複製データを受信し、自身の記憶部13に記憶する。
The duplicate
子装置情報処理部116は、信号処理部112が更新した子装置情報(原本)を記憶部13に記憶する。また、子装置情報処理部116は、子装置情報(複製)を、原本データの複製データを記憶する他の処理サーバ10(複製サーバ)に対して送信し、その処理サーバ10に記憶させる。
また、子装置情報処理部116は、自身以外の処理サーバ10(子装置情報(原本)を記憶する処理サーバ10)から子装置情報(複製)を受信した場合に、自身の記憶部13に記憶させる。
The child device
Further, the child device
記憶部13は、ハードディスクやフラッシュメモリ、RAM等の記憶手段からなり、前記した、端末・子装置対応情報100(図3参照)や、子装置・サーバ対応情報200(図4参照)、原本データおよび複製データを含むデータ300、子装置情報(原本・複製)400等が記憶される。 The storage unit 13 includes storage means such as a hard disk, a flash memory, and a RAM. The above-described terminal / child device correspondence information 100 (see FIG. 3), child device / server correspondence information 200 (see FIG. 4), original data In addition, data 300 including duplicate data, child device information (original / replica) 400, and the like are stored.
<処理の流れ>
次に、本実施形態に係る処理サーバ10を含む分散処理システム1000の処理の流れについて説明する。
図5は、本実施形態に係る処理サーバ10(分散データ管理装置)を含む分散処理システム1000の処理の流れを示すシーケンス図である。
ここでは、子装置「1」が収容する端末4からの要求信号の信号処理を処理サーバ「1」が担当し、その処理サーバ「1」が子装置「1」の子装置情報(原本)を更新して記憶し、処理サーバ「2」に子装置情報(複製)を記憶させるものとして説明する。
<Process flow>
Next, a processing flow of the distributed processing system 1000 including the
FIG. 5 is a sequence diagram showing a processing flow of the distributed processing system 1000 including the processing server 10 (distributed data management apparatus) according to the present embodiment.
Here, the processing server “1” takes charge of the signal processing of the request signal from the
まず、子装置「1」が収容する端末4から、要求信号が子装置「1」に対して送信される(ステップS10)。続いて、子装置「1」は、ロードバランサ20に対してその要求信号を送信する(ステップS11)。ロードバランサ20は、ラウンドロビン等に基づき、受信した要求信号を、処理サーバ10のいずれかに振り分ける。ここでは、ロードバランサ20が、処理サーバ「2」を振り分け先に決定し、要求信号を送信したものとする(ステップS12)。
First, a request signal is transmitted from the
次に、要求信号をロードバランサ20から受信した処理サーバ「2」は、振り分け処理部111が、受信した要求信号の処理を担当する振り分け先の処理サーバ10を決定する(ステップS13)。
具体的には、振り分け処理部111は、端末・子装置対応情報100(図3)を参照して、要求信号を送信した端末4を収容する子装置30が子装置「1」であることを特定する。次に、振り分け処理部111は、子装置・サーバ対応情報200(図4)を参照し、子装置「1」を担当する処理サーバ10として、処理サーバ「1」(図4の仮想空間上の値201「aaa」)を決定する。
そして、処理サーバ「2」の振り分け処理部111は、受信した要求信号を、担当として決定した処理サーバ「1」に送信する(ステップS14)。
Next, in the processing server “2” that has received the request signal from the
Specifically, the
Then, the
要求信号を他の処理サーバ10(ここでは、処理サーバ「2」)から受信した処理サーバ「1」は、信号処理部112が、受信した要求信号に関する信号処理を実行する(ステップS15)。
具体的には、信号処理部112は、アプリケーションやサービスに基づき、要求信号を処理し、その処理結果としての原本データを、データ管理部113に出力し、原本データ処理部114が、その原本データを自身の記憶部13に記憶する。また、原本データ処理部114は、コンシステントハッシュ法等に基づき予め設定された複製先決定ロジックによりその原本データの複製を記憶する他の処理サーバ10(複製サーバ)を決定し、他の処理サーバ10(複製サーバ)にその原本データの複製を送信することにより複製データを記憶させる。ここでは、処理サーバ「1」が原本データとして記憶するデータの複製サーバとして、処理サーバ「2」が決定されたものとする。よって、処理サーバ「1」の原本データ処理部114は、原本データの複製を処理サーバ「2」に送信することにより複製データを処理サーバ「2」に記憶させる。
In the processing server “1” that has received the request signal from another processing server 10 (here, processing server “2”), the
Specifically, the
また、処理サーバ「1」の信号処理部112は、信号処理の実行する際に、そのサービスに関連する子装置30の状態を示す情報(ここでは、子装置「1」の子装置情報(原本))を更新し、その子装置情報(原本)をデータ管理部113の子装置情報処理部116に出力する(ステップS16)。子装置情報処理部116は、取得した子装置「1」の子装置情報(原本)を自身の記憶部13に記憶する(ステップS17)。また、子装置情報処理部116は、子装置「1」の子装置情報(複製)を子装置情報更新通知として、その要求信号についての原本データに対する複製データを記憶する他の処理サーバ10(ここでは、処理サーバ「2」)に送信する(ステップS18)。子装置情報更新通知を受信した他の処理サーバ10(処理サーバ「2」)の子装置情報処理部116は、その子装置情報(複製)を自身の記憶部13に記憶し(ステップS19)、子装置情報(複製)の記憶が完了したことを示す複製完了通知を、原本データを記憶する処理サーバ10(処理サーバ「1」)に送信する(ステップS20)。そして、処理サーバ「1」の子装置情報処理部116が、その複製完了通知を信号処理部112に出力し(ステップS21)、処理サーバ「1」の信号処理部112が、要求信号に対する処理が完了したことを示す応答信号を、要求信号を発信した端末4に向けて送信する(ステップS22〜S24)。
In addition, when the
このようにすることにより、本実施形態に係る処理サーバ10(分散データ管理装置)を含む分散処理システム1000において、端末の収容位置に基づき処理サーバ10を決定し、収容分散が必要なアプリケーションやサービスのデプロイを可能とすることができる。また、原本データを記憶する処理サーバ10が故障等により離脱しても、複製データを保存する他の処理サーバ10(複製サーバ)に記憶された子装置情報(複製)を利用することにより、サービスを継続することができる。
In this way, in the distributed processing system 1000 including the processing server 10 (distributed data management apparatus) according to the present embodiment, the
≪本実施形態の第1の変形例≫
次に、本実施形態の処理サーバ10を含む分散処理システム1000の第1の変形例について説明する。
本実施形態の第1の変形例に係る処理サーバ10Aを含む分散処理システム1000では、マスタ(特権サーバ)となる処理サーバ10Aが、各処理サーバ10Aのサーバ負荷(例えば、CPU使用率やメモリ使用率)を監視し、所定の閾値を超えた場合に、各処理サーバ10Aに記憶されている子装置・サーバ対応情報200(図4参照)において、所定の閾値を超えた処理サーバ10Aが担当している任意の子装置30の仮想空間上の値201を変更し、最もサーバ負荷が低い処理サーバ10Aが担当するようにする。
このようにすることにより、本実施形態の第1の変形例に係る処理サーバ10Aを含む分散処理システム1000によれば、各処理サーバ10Aのサーバ負荷の情報(サーバ負荷情報)に基づき、子装置30の収容替えを自律で行い、各処理サーバ10Aの負荷を分散することができる。
<< First Modification of the Present Embodiment >>
Next, a first modification of the distributed processing system 1000 including the
In the distributed processing system 1000 including the
By doing in this way, according to the distributed processing system 1000 including the
図6は、本実施形態の第1の変形例に係る処理サーバ10Aの構成例を示す機能ブロック図である。
図2に示した本実施形態に係る処理サーバ10との違いは、図6に示す本実施形態の第1の変形例に係る処理サーバ10Aにおいては、制御部11にサーバ負荷監視部117(サーバ負荷監視手段)を備えていること、記憶部13にサーバ負荷情報500を備えていること、また、図2の振り分け処理部111が振り分け処理部111Aとなっていることである。他の構成については、図2に示した構成と同一の機能を備えるものであるため、図2と同一の名称と同一の符号を付し、説明を省略する。
FIG. 6 is a functional block diagram showing a configuration example of the
The difference from the
サーバ負荷監視部117(サーバ負荷監視手段)は、各処理サーバ10Aのサーバ負荷情報(例えば、CPU使用率や、メモリ使用率等)を監視する。
具体的には、サーバ負荷監視部117は、自身がサーバ負荷監視に関するマスタである場合には、自身のサーバ負荷情報(CPU使用率等)を取得するとともに、他の処理サーバ10Aに対して、サーバ負荷に関する情報の取得要求を送信し、その応答情報を取得して、各処理サーバ10Aのサーバ負荷に関する情報を取得し、記憶部13内のサーバ負荷情報500に記憶する。
また、サーバ負荷監視部117は、自身がサーバ負荷監視に関するマスタ以外の処理サーバ10Aである場合には、マスタからのサーバ負荷に関する取得要求を受信し、自身のサーバ負荷に関する情報を応答情報として送信する。
なお、複数の処理サーバ10Aのうち、マスタとなる処理サーバ10Aは、予め分散処理システム1000の管理者が任意の処理サーバ10Aに決定しておいてもよいし、所定のマスタ決定ロジックに従い(例えば、子装置識別子の昇順)自律的に決定するようにしてもよい。
The server load monitoring unit 117 (server load monitoring unit) monitors server load information (for example, CPU usage rate, memory usage rate, etc.) of each
Specifically, when the server
Further, when the server
Of the plurality of
また、サーバ負荷監視部117は、自身がマスタである場合に、記憶部13内に記憶したサーバ負荷情報500を参照し、各処理サーバ10Aのサーバ負荷のいずれかが所定の閾値を越えた場合に、その所定の閾値を超えた処理サーバ10Aの識別子と、最もサーバ負荷の低い処理サーバ10Aの識別子とを抽出し、監視情報として振り分け処理部111Aに出力する。
Further, when the server
振り分け処理部111Aは、監視情報を取得すると、記憶部13内の子装置・サーバ対応情報200(図4)において、所定の閾値を超えた処理サーバ10Aが収容する子装置30の中から任意の子装置30を選択し、最もサーバ負荷の低い処理サーバ10が担当するように変更する(仮想空間上の値201を書き換える)。そして、振り分け処理部111Aは、変更した子装置・サーバ対応情報200を、自身以外の他の処理サーバ10Aそれぞれに送信することにより、各処理サーバ10Aにおいて、子装置・サーバ対応情報200を更新させる。
When the
具体的には、図7に示すように、処理サーバ「1」のCPU使用率が高く、処理サーバ10Aの中で処理サーバ「3」のCPU使用率が最も低い場合に、処理サーバ「1」のCPU使用率が所定の閾値を超えたとする。このとき、各処理サーバ10Aが記憶する子装置・サーバ対応情報200(図4)の処理サーバ「1」が担当する子装置30の中から任意の子装置30(ここでは、子装置「6」)を選択し、その子装置「6」(子装置識別子102が「6」)に対応する仮想空間上の値201(ここでは、「aac」)を、処理サーバ「3」が担当する値(「cca」)に変更する。
このようにすることで、子装置「6」が収容する端末群「6」の端末からの要求信号の処理を、CPU使用率が高い処理サーバ「1」から、CPU使用率が最も低い処理サーバ「3」に変更することができる。
Specifically, as illustrated in FIG. 7, when the CPU usage rate of the processing server “1” is high and the CPU usage rate of the processing server “3” is the lowest among the
In this way, the processing of request signals from the terminals of the terminal group “6” accommodated by the child device “6” is performed from the processing server “1” having the highest CPU usage rate to the processing server having the lowest CPU usage rate. It can be changed to “3”.
なお、振り分け処理部111Aにより、子装置・サーバ対応情報200の変更が行われた場合、データ管理部113は、原本データおよび複製データの再配置が必要か否かを判定し、必要な場合には、原本データおよび複製データの再配置処理を実行する。また、この再配置に伴い、データ管理部113(子装置情報処理部116)は、子装置情報400の原本および複製の再配置も実行する。
また、振り分け処理部111Aは、子装置・サーバ対応情報200の変更が行われた直後においては、原本データ、複製データ、および、子装置情報(原本・複製)の再配置処理が完了するまで、選択した子装置30(図7では、子装置「6」)からの新たな要求信号は受け付けないようにしてもよい。さらに、選択した子装置30(図7では、子装置「6」)のサービス(セッション)がすべて終了するのを待って、原本データ、複製データ、および、子装置情報(原本・複製)の再配置処理を開始するようにしてもよい。
When the
Further, immediately after the change of the child device /
また、本実施形態の第1の変形例においては、サーバ負荷監視部117(サーバ負荷監視手段)およびサーバ負荷情報500を、処理サーバ10Aのうちから決定されたマスタが備える構成として説明した。しかしながら、本発明はこれに限定されず、例えば、各処理サーバ10Aと通信可能に接続されたサーバ負荷監視装置(不図示)を設け、このサーバ負荷監視装置に、サーバ負荷監視部117(サーバ負荷監視手段)およびサーバ負荷情報500を備えさせる。そして、サーバ負荷監視装置が各処理サーバ10Aの負荷を監視し、所定の閾値を超えた場合に、サーバ負荷監視装置からの指示に基づき、各処理サーバ10Aの振り分け処理部111Aが、子装置・サーバ対応情報200(図4)を変更するようにしてもよい。
Further, in the first modification example of the present embodiment, the server load monitoring unit 117 (server load monitoring unit) and the
このようにすることにより、本実施形態の第1の変形例に係る処理サーバ10Aを含む分散処理システム1000によれば、端末の収容位置に基づき処理サーバ10Aを決定し、収容分散が必要なアプリケーションやサービスのデプロイを可能とすることができる。また、各処理サーバ10Aのサーバ負荷の情報(サーバ負荷情報500)に基づき、子装置30の収容替えを自律で行い、各処理サーバ10Aの負荷を分散することができる。
By doing in this way, according to the distributed processing system 1000 including the
≪本実施形態の第2の変形例≫
次に、本実施形態の処理サーバ10を含む分散処理システム1000の第2の変形例について説明する。
本実施形態の第2の変形例に係る処理サーバ10Bを含む分散処理システム1000は、第1の変形例と同様に、マスタとなる処理サーバ10Bが、各処理サーバ10Bのサーバ負荷(例えば、CPU使用率やメモリ使用率)を監視する。そして、処理サーバ10Bのうちのいずれかのサーバ負荷が所定の閾値を超えた場合に、各処理サーバ10Bに記憶されている子装置・サーバ対応情報200(図4)において、所定の閾値を超えた処理サーバ10Bが担当している任意の子装置30の仮想空間上の値201を変更し、その子装置30の子装置情報(複製)を記憶する処理サーバ10B(複製サーバ)が担当するようにする。
このようにすることにより、本実施形態の第2の変形例に係る処理サーバ10Bを含む分散処理システム1000によれば、既に原本データの複製データおよび子装置情報(複製)を記憶する処理サーバ10B(複製サーバ)に子装置30の収容替えを行うため、収容替えを迅速に、かつ、自律で行い、処理サーバ10Bの負荷を分散することができる。
<< Second Modification of the Present Embodiment >>
Next, a second modification of the distributed processing system 1000 including the
In the distributed processing system 1000 including the
In this way, according to the distributed processing system 1000 including the
図8は、本実施形態の第2の変形例に係る処理サーバ10Bの構成例を示す機能ブロック図である。
図6に示した本実施形態の第1の変形例に係る処理サーバ10Aとの違いは、図8に示す本実施形態の第2の変形例に係る処理サーバ10Bにおいては、図6の振り分け処理部111Aが振り分け処理部111Bとなっていることである。他の構成については、図6に示した構成と同一の機能を備えるものであるため、図6と同一の名称と同一の符号を付し、説明を省略する。
FIG. 8 is a functional block diagram illustrating a configuration example of the
The difference from the
振り分け処理部111Bは、自身がマスタである場合に、サーバ負荷監視部117から、サーバ負荷が所定の閾値を超えた処理サーバ10Bを示す監視情報を取得する。そして、振り分け処理部111Bは、記憶部13内の子装置・サーバ対応情報200(図4)を参照し、所定の閾値を超えた処理サーバ10Bが担当する子装置30の中から任意の子装置30を選択する。そして、振り分け処理部111Bは、その選択した子装置30の子装置情報(複製)を記憶する処理サーバ10B(複製サーバ)を、選択した子装置30を担当する処理サーバ10Bに変更する(仮想空間上の値201を書き換える)。そして、振り分け処理部111Bは、変更した子装置・サーバ対応情報200を、自身以外の他の処理サーバ10Bそれぞれに送信することにより、各処理サーバ10Bにおいて、子装置・サーバ対応情報200を更新させる。
When the
具体的には、図9に示すように、処理サーバ「1」のCPU使用率が高く、処理サーバ「1」のCPU使用率が所定の閾値を超えたとする。このとき、各処理サーバ10Bが記憶する子装置・サーバ対応情報200(図4)の処理サーバ「1」が担当する子装置30の中から任意の子装置30(ここでは、子装置「6」)を選択し、その子装置「6」(子装置識別子102が「6」)に対応する仮想空間上の値201(ここでは、「aac」)を、その子装置「6」の子装置情報(複製)を記憶する処理サーバ「2」の仮想空間上の値201(「bba」)に変更する。
このようにすることで、子装置「6」が収容する端末群「6」の端末からの要求信号の処理を、CPU使用率が高い処理サーバ「1」から、その子装置「6」の子装置情報(複製)を記憶する処理サーバ「2」に変更することができる。
Specifically, as illustrated in FIG. 9, it is assumed that the CPU usage rate of the processing server “1” is high and the CPU usage rate of the processing server “1” exceeds a predetermined threshold. At this time, any child device 30 (here, child device “6”) is selected from among the
By doing in this way, the processing of the request signal from the terminal of the terminal group “6” accommodated by the child device “6” is performed from the processing server “1” having a high CPU usage rate to the child device of the child device “6”. The processing server can be changed to “2” that stores information (replication).
なお、本実施形態の第1の変形例と同様に、振り分け処理部111Bにより、子装置・サーバ対応情報200(図4)の変更が行われた場合、データ管理部113は、複製データの再配置が必要か否かを判定し、必要な場合には、複製データの再配置処理を実行する。また、データ管理部113は、自身が複製データを記憶する処理サーバ10Bから原本データを記憶する処理サーバ10Bに変更となった場合は、記憶している複製データを原本データとする。また、この再配置に伴い、データ管理部113(子装置情報処理部116)は、子装置情報(複製)の再配置も実行し、自身が複製データを記憶する処理サーバ10B(複製サーバ)から原本データを記憶する処理サーバ10Bに変更となった場合は、子装置情報(複製)を子装置情報(原本)として記憶する。
また、振り分け処理部111Bは、子装置・サーバ対応情報200の変更が行われた直後においては、複製データ、および、子装置情報(複製)の再配置処理が完了するまで、選択した子装置30(図7では、子装置「6」)からの新たな要求信号は受け付けないようにしてもよい。さらに、選択した子装置30(図7では、子装置「6」)のサービス(セッション)がすべて終了するのを待って、複製データ、および、子装置情報(複製)の再配置処理を開始するようにしてもよい。
As in the first modification of the present embodiment, when the
Further, immediately after the child device /
また、本実施形態の第2の変形例においても、サーバ負荷監視部117およびサーバ負荷情報500を、各処理サーバ10Bと通信可能に接続されたサーバ負荷監視装置(不図示)に備えさせてもよい。その場合、サーバ負荷監視装置が各処理サーバ10Bの負荷を監視し、所定の閾値を超えたときに、サーバ負荷監視装置からの指示に基づき、各処理サーバ10Bの振り分け処理部111Bが、子装置・サーバ対応情報200(図4)を変更する。
Also in the second modification of the present embodiment, the server
このようにすることにより、本実施形態の第2の変形例に係る処理サーバ10Bを含む分散処理システム1000によれば、端末の収容位置に基づき処理サーバ10Bを決定し、収容分散が必要なアプリケーションやサービスのデプロイを可能とすることができる。また、既に原本データの複製データおよび子装置情報(複製)を記憶する処理サーバ10Bに子装置30の収容替えを行うため、収容替えを迅速に、かつ、自律で行い、処理サーバ10Bの負荷を分散することができる。
By doing in this way, according to the distributed processing system 1000 including the
10,10A,10B 処理サーバ(分散データ管理装置)
20 ロードバランサ
30 子装置
40 端末群
11 制御部
12 入出力部
13 記憶部
100 端末・子装置対応情報
111,111A,111B 振り分け処理部
112 信号処理部
113 データ管理部
114 原本データ処理部
115 複製データ処理部
116 子装置情報処理部
117 サーバ負荷監視部(サーバ負荷監視手段)
200 子装置・サーバ対応情報
300 データ
400 子装置情報
500 サーバ負荷情報
10, 10A, 10B Processing server (distributed data management device)
20
200 Child device / server correspondence information 300
Claims (9)
前記分散データ管理装置は、
前記端末の識別子と前記子装置の識別子とを対応付ける端末・子装置対応情報、および、前記子装置の識別子と前記分散データ管理装置の識別子とを対応付ける子装置・サーバ対応情報を記憶する記憶部と、
前記子装置を介して前記端末が送信した要求信号を受信した場合に、前記端末・子装置対応情報を参照し、前記要求信号を送信した端末を収容する前記子装置を特定し、前記特定した子装置に基づき、前記子装置・サーバ対応情報を参照し、当該要求信号の信号処理を担当する前記分散データ管理装置を決定し、前記決定した分散データ管理装置が他の分散データ管理装置であるならば、前記決定した他の分散データ管理装置に前記要求信号を送信する振り分け処理部と、
他の前記分散データ管理装置から前記要求信号を受信し、前記子装置の状態を示す子装置情報に基づき前記要求信号の信号処理を実行し、前記信号処理の処理結果を原本データとして生成するとともに、実行した当該信号処理に応じて前記子装置情報を更新する信号処理部と、
生成した前記原本データの複製である複製データと、更新した前記子装置情報の複製とを、予め設定された複製先決定ロジックに基づき決定した自身以外の分散データ管理装置に送信して記憶させるデータ管理部と、
を備えることを特徴とする分散処理システム。 A distributed processing system comprising: a plurality of slave devices each accommodating a plurality of terminals; and a plurality of distributed data management devices that receive and process request signals transmitted by the terminals via the slave devices,
The distributed data management device includes:
A storage unit for storing terminal / child device correspondence information that associates the identifier of the terminal and the identifier of the child device, and child device / server correspondence information that associates the identifier of the child device and the identifier of the distributed data management device; ,
When the request signal transmitted by the terminal is received via the slave device, the slave device accommodating the terminal that transmitted the request signal is identified by referring to the terminal / slave device correspondence information, and the identified based on the child device, refer to the child device server correspondence information, determines a pre-Symbol distributed data management apparatus in charge of the signal processing of the request signal, the determined distributed data management device other distributed data management device if it is, a distribution processing unit that transmits the request signal to other distributed data management apparatus the determined,
Receiving the request signal from another distributed data management device, executing signal processing of the request signal based on child device information indicating the state of the child device, and generating a processing result of the signal processing as original data A signal processing unit that updates the child device information according to the signal processing performed;
Data to be transmitted and stored in the distributed data management device other than itself determined based on the replication destination determination logic set in advance, the replication data that is a copy of the generated original data and the updated copy of the child device information The management department,
A distributed processing system comprising:
前記複数の分散データ管理装置それぞれのサーバ負荷の情報を取得して、サーバ負荷情報として記憶するとともに、前記分散データ管理装置の前記サーバ負荷のいずれかが所定の閾値を超えた場合に、前記所定の閾値を超えた分散データ管理装置の識別子と、前記サーバ負荷情報を参照して前記サーバ負荷が最も低い分散データ管理装置の識別子とを抽出し、前記分散データ管理装置の前記振り分け処理部に出力するサーバ負荷監視手段をさらに備え、
前記分散データ管理装置の前記振り分け処理部は、前記子装置・サーバ対応情報について、前記所定の閾値を超えた分散データ管理装置の識別子に対応付けられた前記子装置の識別子を、前記サーバ負荷が最も低い分散データ管理装置の識別子に対応付けるように変更すること、
を特徴とする請求項1に記載の分散処理システム。 The distributed processing system includes:
The server load information of each of the plurality of distributed data management devices is acquired and stored as server load information, and when any of the server loads of the distributed data management device exceeds a predetermined threshold, the predetermined And the identifier of the distributed data management device having the lowest server load with reference to the server load information is extracted and output to the distribution processing unit of the distributed data management device Server load monitoring means for
The distribution processing unit of the distributed data management device uses the identifier of the child device associated with the identifier of the distributed data management device that exceeds the predetermined threshold for the child device / server correspondence information as the server load. Change to match the identifier of the lowest distributed data management device,
The distributed processing system according to claim 1.
前記複数の分散データ管理装置それぞれのサーバ負荷の情報を取得して、サーバ負荷情報として記憶するとともに、前記分散データ管理装置の前記サーバ負荷のいずれかが所定の閾値を超えた場合に、前記所定の閾値を超えた分散データ管理装置の識別子を、前記分散データ管理装置の前記振り分け処理部に出力するサーバ負荷監視手段をさらに備え、
前記分散データ管理装置の前記振り分け処理部は、前記子装置・サーバ対応情報について、前記所定の閾値を超えた分散データ管理装置の識別子に対応付けられた前記子装置の識別子を、当該対応付けられた子装置の前記子装置情報の複製を記憶する分散処理データ管理装置の識別子に対応付けるように変更すること、
を特徴とする請求項1に記載の分散処理システム。 The distributed processing system includes:
The server load information of each of the plurality of distributed data management devices is acquired and stored as server load information, and when any of the server loads of the distributed data management device exceeds a predetermined threshold, the predetermined Further comprising server load monitoring means for outputting the identifier of the distributed data management device exceeding the threshold value to the distribution processing unit of the distributed data management device,
The distribution processing unit of the distributed data management system, the child device server correspondence information, an identifier of the predetermined said terminal device associated with the identifier of the distributed data management device exceeding the threshold, given the corresponding It was mapped to the identifier of the replication you store distributed processing data management system of slave device information of the child device as changing,
The distributed processing system according to claim 1.
前記端末の識別子と前記子装置の識別子とを対応付ける端末・子装置対応情報、および、前記子装置の識別子と前記分散データ管理装置の識別子とを対応付ける子装置・サーバ対応情報を記憶する記憶部と、
前記子装置を介して前記端末が送信した要求信号を受信した場合に、前記端末・子装置対応情報を参照し、前記要求信号を送信した端末を収容する前記子装置を特定し、前記特定した子装置に基づき、前記子装置・サーバ対応情報を参照し、当該要求信号の信号処理を担当する前記分散データ管理装置を決定し、前記決定した分散データ管理装置が他の分散データ管理装置であるならば、前記決定した他の分散データ管理装置に前記要求信号を送信する振り分け処理部と、
他の前記分散データ管理装置から前記要求信号を受信し、前記子装置の状態を示す子装置情報に基づき前記要求信号の信号処理を実行し、前記信号処理の処理結果を原本データとして生成するとともに、実行した当該信号処理に応じて前記子装置情報を更新する信号処理部と、
生成した前記原本データの複製である複製データと、更新した前記子装置情報の複製とを、予め設定された複製先決定ロジックに基づき決定した自身以外の分散データ管理装置に送信して記憶させるデータ管理部と、
を備えることを特徴とする分散データ管理装置。 The distributed data management device of a distributed processing system comprising: a plurality of slave devices each accommodating a plurality of terminals; and a plurality of distributed data management devices that receive and process request signals transmitted by the terminals via the slave devices Because
A storage unit for storing terminal / child device correspondence information that associates the identifier of the terminal and the identifier of the child device, and child device / server correspondence information that associates the identifier of the child device and the identifier of the distributed data management device; ,
When the request signal transmitted by the terminal is received via the slave device, the slave device accommodating the terminal that transmitted the request signal is identified by referring to the terminal / slave device correspondence information, and the identified based on the child device, refer to the child device server correspondence information, determines a pre-Symbol distributed data management apparatus in charge of the signal processing of the request signal, the determined distributed data management device other distributed data management device if it is, a distribution processing unit that transmits the request signal to other distributed data management apparatus the determined,
Receiving the request signal from another distributed data management device, executing signal processing of the request signal based on child device information indicating the state of the child device, and generating a processing result of the signal processing as original data A signal processing unit that updates the child device information according to the signal processing performed;
Data to be transmitted and stored in the distributed data management device other than itself determined based on the replication destination determination logic set in advance, the replication data that is a copy of the generated original data and the updated copy of the child device information The management department,
A distributed data management device comprising:
前記振り分け処理部は、前記子装置・サーバ対応情報について、前記所定の閾値を超えた分散データ管理装置の識別子に対応付けられた前記子装置の識別子を、前記サーバ負荷が最も低い分散データ管理装置の識別子に対応付けるように変更すること、
を特徴とする請求項4に記載の分散データ管理装置。 The server load information of each of the plurality of distributed data management devices is acquired and stored as server load information, and when any of the server loads of the distributed data management device exceeds a predetermined threshold, the predetermined A server load monitoring unit that extracts an identifier of the distributed data management device that exceeds a threshold value of the data and an identifier of the distributed data management device having the lowest server load with reference to the server load information, and outputs the identifier to the distribution processing unit; In addition,
The distribution processing unit uses the identifier of the child device associated with the identifier of the distributed data management device that exceeds the predetermined threshold for the child device / server correspondence information, as a distributed data management device with the lowest server load. Change to match the identifier of
The distributed data management apparatus according to claim 4.
前記振り分け処理部は、前記子装置・サーバ対応情報について、前記所定の閾値を超えた分散データ管理装置の識別子に対応付けられた前記子装置の識別子を、当該対応付けられた子装置の前記子装置情報の複製を記憶する分散処理データ管理装置の識別子に対応付けるように変更すること、
を特徴とする請求項4に記載の分散データ管理装置。 The server load information of each of the plurality of distributed data management devices is acquired and stored as server load information, and when any of the server loads of the distributed data management device exceeds a predetermined threshold, the predetermined Further comprising a server load monitoring unit that outputs the identifier of the distributed data management device exceeding the threshold value to the distribution processing unit,
The distribution processing unit, for the child device / server correspondence information, assigns an identifier of the child device associated with an identifier of the distributed data management device exceeding the predetermined threshold to the child device of the associated child device. be modified to associate a copy of device information identifier to that distributed processing data management apparatus stores,
The distributed data management apparatus according to claim 4.
前記分散データ管理装置は、
前記端末の識別子と前記子装置の識別子とを対応付ける端末・子装置対応情報、および、前記子装置の識別子と前記分散データ管理装置の識別子とを対応付ける子装置・サーバ対応情報を記憶する記憶部を備えており、
前記子装置を介して前記端末が送信した要求信号を受信した場合に、前記端末・子装置対応情報を参照し、前記要求信号を送信した端末を収容する前記子装置を特定し、前記特定した子装置に基づき、前記子装置・サーバ対応情報を参照し、当該要求信号の信号処理を担当する前記分散データ管理装置を決定し、前記決定した分散データ管理装置が他の分散データ管理装置であるならば、前記決定した他の分散データ管理装置に前記要求信号を送信するステップと、
他の前記分散データ管理装置から前記要求信号を受信し、前記子装置の状態を示す子装置情報に基づき前記要求信号の信号処理を実行し、前記信号処理の処理結果を原本データとして生成するとともに、実行した当該信号処理に応じて前記子装置情報を更新するステップと、
生成した前記原本データの複製である複製データと、更新した前記子装置情報の複製とを、予め設定された複製先決定ロジックに基づき決定した自身以外の分散データ管理装置に送信して記憶させるステップと、
を実行することを特徴とする分散データ管理方法。 A distributed data management method for a distributed processing system, comprising: a plurality of slave devices each accommodating a plurality of terminals; and a plurality of distributed data management devices that receive and process request signals transmitted from the terminals via the slave devices. There,
The distributed data management device includes:
A storage unit for storing terminal / child device correspondence information that associates the identifier of the terminal and the identifier of the child device, and child device / server correspondence information that associates the identifier of the child device and the identifier of the distributed data management device; With
When the request signal transmitted by the terminal is received via the slave device, the slave device accommodating the terminal that transmitted the request signal is identified by referring to the terminal / slave device correspondence information, and the identified based on the child device, refer to the child device server correspondence information, determines a pre-Symbol distributed data management apparatus in charge of the signal processing of the request signal, the determined distributed data management device other distributed data management device if it is, sending said request signal to other distributed data management apparatus the determined,
Receiving the request signal from another distributed data management device, executing signal processing of the request signal based on child device information indicating the state of the child device, and generating a processing result of the signal processing as original data Updating the child device information according to the signal processing performed;
A step of transmitting and storing the duplicate data that is a duplicate of the generated original data and the duplicate of the updated child device information to a distributed data management device other than itself determined based on a preset replication destination decision logic When,
The distributed data management method characterized by performing.
前記複数の分散データ管理装置それぞれのサーバ負荷の情報を取得して、サーバ負荷情報として記憶するとともに、前記分散データ管理装置の前記サーバ負荷のいずれかが所定の閾値を超えた場合に、前記所定の閾値を超えた分散データ管理装置の識別子と、前記サーバ負荷情報を参照して前記サーバ負荷が最も低い分散データ管理装置の識別子とを抽出するステップと、
前記子装置・サーバ対応情報について、前記所定の閾値を超えた分散データ管理装置の識別子に対応付けられた前記子装置の識別子を、前記サーバ負荷が最も低い分散データ管理装置の識別子に対応付けるように変更するステップと、
を実行することを特徴とする請求項7に記載の分散データ管理方法。 The distributed data management device includes:
The server load information of each of the plurality of distributed data management devices is acquired and stored as server load information, and when any of the server loads of the distributed data management device exceeds a predetermined threshold, the predetermined Extracting the identifier of the distributed data management device exceeding the threshold value of the data, and the identifier of the distributed data management device having the lowest server load with reference to the server load information;
In the child device / server correspondence information, the identifier of the child device associated with the identifier of the distributed data management device exceeding the predetermined threshold is associated with the identifier of the distributed data management device having the lowest server load. Steps to change,
The distributed data management method according to claim 7, wherein:
前記複数の分散データ管理装置それぞれのサーバ負荷の情報を取得して、サーバ負荷情報として記憶するとともに、前記分散データ管理装置の前記サーバ負荷のいずれかが所定の閾値を超えた場合に、前記所定の閾値を超えた分散データ管理装置の識別子を抽出するステップと、
前記子装置・サーバ対応情報について、前記所定の閾値を超えた分散データ管理装置の識別子に対応付けられた前記子装置の識別子を、当該対応付けられた子装置の前記子装置情報の複製を記憶する分散処理データ管理装置の識別子に対応付けるように変更するステップと、
を実行することを特徴とする請求項7に記載の分散データ管理方法。 The distributed data management device includes:
The server load information of each of the plurality of distributed data management devices is acquired and stored as server load information, and when any of the server loads of the distributed data management device exceeds a predetermined threshold, the predetermined Extracting the identifier of the distributed data management device exceeding the threshold of
For the child device server correspondence information, an identifier of the predetermined said terminal device associated with the identifier of the distributed data management apparatus exceeds a threshold, store a copy of the child device information of the corresponding Tagged child apparatus and changing to associate the identifier to that distributed processing data management unit,
The distributed data management method according to claim 7, wherein:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014089276A JP6204256B2 (en) | 2014-04-23 | 2014-04-23 | Distributed processing system, distributed data management apparatus, and distributed data management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014089276A JP6204256B2 (en) | 2014-04-23 | 2014-04-23 | Distributed processing system, distributed data management apparatus, and distributed data management method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015207256A JP2015207256A (en) | 2015-11-19 |
JP6204256B2 true JP6204256B2 (en) | 2017-09-27 |
Family
ID=54603990
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014089276A Active JP6204256B2 (en) | 2014-04-23 | 2014-04-23 | Distributed processing system, distributed data management apparatus, and distributed data management method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6204256B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6563807B2 (en) * | 2015-12-25 | 2019-08-21 | 株式会社インターファクトリー | Information processing system, information processing apparatus, processing control method, and processing control program |
JP7388585B1 (en) | 2023-03-17 | 2023-11-29 | 横河電機株式会社 | Information processing device, information processing method, information processing program, and distributed control system |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3790166B2 (en) * | 2002-02-06 | 2006-06-28 | 日本電信電話株式会社 | IP telephone service providing method and system in provider IP network |
JP4528039B2 (en) * | 2004-06-29 | 2010-08-18 | 国立大学法人東京工業大学 | Autonomous storage device, autonomous storage system, network load balancing program, and network load balancing method |
JP4627461B2 (en) * | 2005-07-14 | 2011-02-09 | 日本電信電話株式会社 | Communication service control system, method and program |
JP2007133665A (en) * | 2005-11-10 | 2007-05-31 | Hitachi Ltd | Computer system, distributed processing method, computer and distributed processing program |
JP5147601B2 (en) * | 2008-08-22 | 2013-02-20 | Kddi株式会社 | Billing method and system for identifying billing object packet using SIP server |
JP5338555B2 (en) * | 2009-08-11 | 2013-11-13 | 富士通株式会社 | Load distribution apparatus, load distribution method, and load distribution program |
JP5667517B2 (en) * | 2011-06-03 | 2015-02-12 | 日本電信電話株式会社 | Distribution method, distribution device, and distribution program |
-
2014
- 2014-04-23 JP JP2014089276A patent/JP6204256B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015207256A (en) | 2015-11-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105610632B (en) | Virtual network equipment and related method | |
US10318550B2 (en) | Systems and methods for autonomous resource discovery, management, and stitching | |
US20240176672A1 (en) | Systems and methods providing serverless dns integration | |
CN108702316B (en) | VNF resource allocation method and device | |
WO2015172362A1 (en) | Network function virtualization network system, data processing method and device | |
CN107204873B (en) | Method for switching target domain name resolution server and related equipment | |
US10250677B1 (en) | Decentralized network address control | |
CN103945000A (en) | Load balance method and load balancer | |
CN111049901B (en) | Load balancing method, load balancing system and registration server | |
US9760370B2 (en) | Load balancing using predictable state partitioning | |
CN111107611B (en) | Method and device for selecting user plane function | |
US20160183229A1 (en) | Ip phone network system, server apparatus, ip exchange and resource capacity expansion method | |
EP3261299A1 (en) | Method and apparatus for establishing network service instance | |
JP6204256B2 (en) | Distributed processing system, distributed data management apparatus, and distributed data management method | |
CN107959702B (en) | Routing method and device | |
CN105554126A (en) | Method for realizing distributed deployment of multiple data centers through CDN acceleration mechanism | |
CN108366087B (en) | ISCSI service realization method and device based on distributed file system | |
EP4050850A1 (en) | Service upgrading method, device and system | |
WO2016000303A1 (en) | Resource allocation method and system, and computer storage medium | |
JP2016213604A (en) | Communication device and management method | |
CN111385324A (en) | Data communication method, device, equipment and storage medium | |
US10924575B2 (en) | Automatic network management system and methods | |
CN113949631A (en) | Client disaster tolerance processing method and system and electronic equipment | |
CN109936672B (en) | Online charging method and device | |
CN113535402A (en) | Load balancing processing method and device based on 5G MEC and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160722 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170524 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170620 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170817 |
|
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: 20170829 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170831 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6204256 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |