JP2016092652A - Asynchronous messaging server cooperation system evaluation device and evaluation method - Google Patents

Asynchronous messaging server cooperation system evaluation device and evaluation method Download PDF

Info

Publication number
JP2016092652A
JP2016092652A JP2014226440A JP2014226440A JP2016092652A JP 2016092652 A JP2016092652 A JP 2016092652A JP 2014226440 A JP2014226440 A JP 2014226440A JP 2014226440 A JP2014226440 A JP 2014226440A JP 2016092652 A JP2016092652 A JP 2016092652A
Authority
JP
Japan
Prior art keywords
broker
load
publisher
topology
network
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
JP2014226440A
Other languages
Japanese (ja)
Other versions
JP6368624B2 (en
Inventor
遼平 坂野
Ryohei Sakano
遼平 坂野
亨 竹内
Toru Takeuchi
亨 竹内
哲生 川野
Tetsuo Kawano
哲生 川野
充治 武本
Mitsuharu Takemoto
充治 武本
真人 松尾
Masato Matsuo
真人 松尾
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 JP2014226440A priority Critical patent/JP6368624B2/en
Publication of JP2016092652A publication Critical patent/JP2016092652A/en
Application granted granted Critical
Publication of JP6368624B2 publication Critical patent/JP6368624B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To evaluate an asynchronous messaging server cooperation system quickly and accurately at a low cost.SOLUTION: An asynchronous messaging server cooperation system of a network can be evaluated by accepting topology information and calculating a broker's load on the basis of the number of times that a shortest path tree from each publisher to all subscribers passes the broker, which is acquired from the accepted topology information (S3 and S4).SELECTED DRAWING: Figure 10

Description

本発明は、非同期メッセージングサーバ連携方式の評価装置に関する。   The present invention relates to an evaluation apparatus for an asynchronous messaging server cooperation method.

リアルタイムなデータのやり取りを実現する方法として、pub/subと呼ばれる非同期メッセージング手法が知られている。pub/subを用いる場合、一般的には、パブリッシャ(publisher)、ブローカ(broker)、サブスクライバ(subscriber)の三者で構成される。   As a method for realizing real-time data exchange, an asynchronous messaging technique called pub / sub is known. When pub / sub is used, it is generally composed of three parties: a publisher, a broker, and a subscriber.

このようなpub/subと呼ばれる非同期メッセージング手法では、ブローカに負荷が集中しやすいため、複数のブローカを連携させて負荷分散を図ることが行われている。   In such an asynchronous messaging method called pub / sub, load is easily concentrated on the broker. Therefore, load sharing is performed by linking a plurality of brokers.

しかしながら、ブローカの連携には様々な方式があり、それら連携方式を比較評価して適切な方式を選択することが難しい。なお、ここでの評価とは、各ブローカにかかる負荷の大きさと、それら負荷の均一性を対象としている。すなわち、負荷が小さく、かつ均一であるほど、良い連携方式であると言える。   However, there are various methods of broker cooperation, and it is difficult to compare and evaluate these cooperation methods and select an appropriate method. Here, the evaluation is intended for the magnitude of the load on each broker and the uniformity of those loads. In other words, it can be said that the smaller and more uniform the load, the better the cooperation method.

従来の非同期メッセージングサーバの連携方式の評価方法には、以下の2つの方法がある。   There are the following two methods for evaluating the conventional asynchronous messaging server linkage method.

1 物理マシンを複数台設置し、実際にブローカを連携させて負荷状況を測定する方法(非特許文献1、2)
2 簡易的に各ブローカの負荷を見積もる方法(非特許文献3)
1 Method of installing multiple physical machines and measuring the load status by actually linking the brokers (Non-Patent Documents 1 and 2)
2 Simple method to estimate the load on each broker (Non-patent Document 3)

“Performance Evaluation of Message-oriented Middleware using the SPECjms2007 Benchmark”(URL:http://www.cl.cam.ac.uk/research/srg/opera/publications/papers/SamKai08-PerfEvalJ-SPECjms2007.pdf)“Performance Evaluation of Message-oriented Middleware using the SPECjms2007 Benchmark” (URL: http://www.cl.cam.ac.uk/research/srg/opera/publications/papers/SamKai08-PerfEvalJ-SPECjms2007.pdf) “Benchmarking Publish/Subscribe-based Messaging Systems”(URL:https://www.dvs.tu-darmstadt.de/publications/pdf/jms2009PS.pdf)“Benchmarking Publish / Subscribe-based Messaging Systems” (URL: https://www.dvs.tu-darmstadt.de/publications/pdf/jms2009PS.pdf) “データセンターにおける輻輳回避のためのルーティング用論理トポロジ構築手法”(URL: http://www.anarg.jp/achievements/web2013/paper/y-shimotsuma14IN-Configuration.pdf)“Logical topology construction method for routing to avoid congestion in data center” (URL: http://www.anarg.jp/achievements/web2013/paper/y-shimotsuma14IN-Configuration.pdf)

しかしながら、物理マシンを複数台設置し、実際にブローカを連携させて負荷状況を測定する方法では、評価の精度は高いが、物理マシンおよびそれらの間をつなぐネットワークの設置に大きなコストがかかり、結果が出るまでに要する時間も長くなるという問題がある。なお、上記非特許文献1、2は、いずれも単一のブローカについての評価に関するものであり、複数のブローカについて評価したものではない。   However, in the method of installing multiple physical machines and actually measuring the load status by linking the broker, the accuracy of the evaluation is high, but the installation of the physical machines and the network connecting them costs a lot of cost. There is a problem that it takes a long time to appear. In addition, the said nonpatent literatures 1 and 2 are all about the evaluation about a single broker, and are not what evaluated about several brokers.

また、簡易的に各ブローカの負荷を見積もる方法では、低コストに実現可能であるが、見積もりに用いる確立された共通の尺度が無いため、予測の精度が低くなってしまうという問題がある。   In addition, the method of simply estimating the load on each broker can be realized at a low cost, but there is a problem that the accuracy of prediction is lowered because there is no established common scale used for estimation.

本発明は、上記実情に鑑みてなされたものであり、低コストで迅速に精度の高い非同期メッセージングサーバ連携方式の評価を行なうことができる非同期メッセージングサーバ連携方式の評価装置及び評価方法を提供することを目的とする。   The present invention has been made in view of the above circumstances, and provides an evaluation apparatus and an evaluation method for an asynchronous messaging server cooperation method capable of quickly and accurately evaluating an asynchronous messaging server cooperation method at low cost. With the goal.

本発明の第1の観点によれば、パブリッシャ、非同期メッセージングサーバを含むブローカ及びサブスクライバを有するネットワークの前記パブリッシャ、前記ブローカ及び前記サブスクライバの接続関係を示すトポロジ情報を受け付ける受付手段と、前記受付手段により受け付けられたトポロジ情報から得られる各パブリッシャから全サブスクライバへの最短経路木が前記ブローカを通過する回数に基づいて、前記各ブローカの負荷を算出する負荷算出手段とを具備するネットワーク評価装置、である。   According to a first aspect of the present invention, a receiving unit that receives topology information indicating a connection relationship between the publisher, the broker, and the subscriber in a network having a publisher, a broker including an asynchronous messaging server, and a subscriber, and the receiving unit A network evaluation apparatus comprising load calculation means for calculating a load of each broker based on the number of times the shortest path tree from each publisher to all subscribers obtained from the received topology information passes through the broker. .

本発明の第2の観点によれば、第1の観点において、前記各ブローカの負荷は、インバウンドとアウトバウンドとに分けて算出される。   According to a second aspect of the present invention, in the first aspect, the load of each broker is calculated separately for inbound and outbound.

本発明によれば、低コストで迅速に精度の高い非同期メッセージングサーバ連携方式の評価を行なうことができる非同期メッセージングサーバ連携方式の評価装置及び評価方法を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the evaluation apparatus and evaluation method of an asynchronous messaging server cooperation system which can perform the evaluation of an asynchronous messaging server cooperation system with high accuracy quickly at low cost can be provided.

従来の技術と、本発明との相違点を説明するための図である。It is a figure for demonstrating the difference with a prior art and this invention. 媒介中心性を説明するためのネットワークの構成を示す図である。It is a figure which shows the structure of the network for demonstrating a mediation centrality. 図2に示すネットワークにおけるノードvの媒介中心性の算出を説明するための図である。It is a diagram for explaining the calculation of Centrality of node v 2 in the network shown in FIG. 本発明の提案指標で使用されるパラメータを説明するための図である。It is a figure for demonstrating the parameter used with the proposal parameter | index of this invention. 本発明の実施の形態に係る評価装置による評価が行われるネットワークの構成の一例を示す図である。It is a figure which shows an example of the structure of the network by which the evaluation by the evaluation apparatus which concerns on embodiment of this invention is performed. 図5に示したネットワークの構成において、PSG(b、b)の求め方を説明するための図である。6 is a diagram for explaining how to obtain PSG (b 1 , b 0 ) in the network configuration shown in FIG. 5. FIG. 図5に示したネットワーク構成における図4に示した表記との関係を示す図である。FIG. 6 is a diagram showing a relationship with the notation shown in FIG. 4 in the network configuration shown in FIG. 5. 本発明の実施の形態に係る非同期メッセージングサーバ連携方式の評価装置の機能ブロックを示す図である。It is a figure which shows the functional block of the evaluation apparatus of the asynchronous messaging server cooperation system which concerns on embodiment of this invention. トポロジパターンごとに各ブローカの負荷を求めるイメージを説明するための図である。It is a figure for demonstrating the image which calculates | requires the load of each broker for every topology pattern. 本実施の形態に係る非同期メッセージングサーバ連携方式の評価装置の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the evaluation apparatus of the asynchronous messaging server cooperation system which concerns on this Embodiment.

<発明の概要>
上述のように、従来の技術では、非同期メッセージングにおいて、複数のブローカを連携させる時に、連携方式の比較評価に、実機測定によればコストがかかり、また、簡略的に各ブローカの負荷を見積もる方法では、確立された共通の尺度がないため精度に欠けるという問題があった。
<Summary of invention>
As described above, in the conventional technology, when associating a plurality of brokers in asynchronous messaging, it is costly to compare and evaluate the linkage methods according to actual machine measurement, and the method of simply estimating the load on each broker. However, there was a problem of lack of accuracy because there was no established common scale.

本発明は、媒介中心性の概念を拡張することにより、各連携方式におけるブローカ毎の負荷を算出し、各ブローカの負荷を経済的かつ高精度に見積もることを可能にするものである。図1は、従来の技術と、本発明との相違点を説明するための図であり、(a)は実機測定の方法を示し、(b)は簡易見積りの方法を示し、(c)は本発明の手法を示す。   The present invention extends the concept of mediation centrality to calculate the load for each broker in each linkage method, and makes it possible to estimate the load on each broker economically and with high accuracy. FIG. 1 is a diagram for explaining the difference between the prior art and the present invention, where (a) shows a method of actual machine measurement, (b) shows a simple estimation method, and (c) shows The technique of the present invention is shown.

次に、「媒介中心性」について説明する。   Next, “medium centrality” will be described.

「媒介中心性」は、ソーシャルネットワークにおける各ノードの影響力を定量化するために考案された指標である。「媒介中心性」は、ネットワークを構成するノード間の最短経路が通過する回数を各ノードの影響力と捉える。n 個のノードからなるネットワークにおけるノードvの媒介中心性c(v)は次式で表される。 “Medium centrality” is an index designed to quantify the influence of each node in a social network. “Medium centrality” takes the influence of each node as the number of times that the shortest path between nodes constituting the network passes. The intermediary centrality c b (v i ) of a node v i in a network composed of n nodes is expressed by the following equation.

Figure 2016092652
Figure 2016092652

例えば、図2に示すネットワークにおけるノードvの媒介中心性は、図3に示すように、0.53と算出される。この値が、ノードvの影響力を表わす。 For example, mediated centrality of node v 2 in the network shown in FIG. 2, as shown in FIG. 3, is calculated as 0.53. This value represents the influence of the node v 2.

しかしながら、上記媒介中心性を非同期メッセージングサーバ連携方式の評価装置の評価指標としてそのまま用いることは困難である。   However, it is difficult to use the mediation centrality as it is as an evaluation index of an evaluation apparatus of the asynchronous messaging server cooperation method.

何故ならば、媒介中心性が想定するネットワークと異なり、pub/subの場合ノードの役割が一様ではないからである。具体的には、ノードがパブリッシャ、ブローカ、サブスクライバの3種類に分かれていること、中心性の算出対象がブローカのみであること、データの流れる方向は、パブリッシャ、ブローカ、サブスクライバの順に固定されていること、である。   This is because the role of nodes is not uniform in the case of pub / sub, unlike the network assumed for mediation centrality. Specifically, the node is divided into three types: publisher, broker, and subscriber, the centrality calculation target is only the broker, and the data flow direction is fixed in the order of publisher, broker, and subscriber. That is.

また、pub/subでは、パブリッシャとサブスクライバとの関係が1対1ではなく、多対多となるからである。   In pub / sub, the relationship between publishers and subscribers is not one-to-one but many-to-many.

そこで、本発明では、以下のように拡張した指標(以降、提案指標)を新たに定義する。   Therefore, in the present invention, an extended index (hereinafter referred to as a proposed index) is newly defined as follows.

(1) 各パブリッシャから全サブスクライバへマルチキャストする最短経路木を考え、それら最短経路木がブローカを通過する回数に基づいて、中心性を算出する。   (1) Consider the shortest path tree that is multicast from each publisher to all subscribers, and calculate the centrality based on the number of times that the shortest path tree passes through the broker.

(2) 木を前提とすることから、各ブローカの中心性はインバウンド(inbound)
とアウトバウンド(outbound)に分けて算出する。
(2) Since a tree is assumed, the centrality of each broker is inbound.
It is calculated by dividing into and outbound.

なお、以下の説明では、図4に示す表記を用いる。   In the following description, the notation shown in FIG. 4 is used.

次に、図4に示したPSG(b、b)について説明する。 Next, the PSG (b i , b j ) shown in FIG. 4 will be described.

図5のネットワーク構成を想定する。同図において、ブローカbがブローカbに接続されており、ブローカbは、ブローカb、b、bに接続されている。ブローカbには、パブリッシャP及びサブスクライバSが接続され、ブローカbには、パブリッシャP及びサブスクライバSが接続され、ブローカbには、パブリッシャP及びサブスクライバSが接続され、ブローカbには、パブリッシャPが接続される。 Assume the network configuration of FIG. In the figure, the broker b 0 is connected to the broker b 1 , and the broker b 1 is connected to the brokers b 0 , b 2 , and b 3 . The broker b 0 is connected to the publisher P 0 and the subscriber S 0 , the broker b 1 is connected to the publisher P 1 and the subscriber S 1 , and the broker b 2 is connected to the publisher P 2 and the subscriber S 2. The publisher P 3 is connected to the broker b 3 .

例えば、PSG(b、b)は、「b−b間のエッジを除去した場合のbを含む部分グラフに接続しているパブリッシャ数」を表す。図6に示すように、bを含む部分グラフに含まれるパブリッシャ数は「3」となる。したがって、PSG(b、b)=3である。 For example, PSG (b 1 , b 0 ) represents “the number of publishers connected to the subgraph including b 1 when the edge between b 1 and b 0 is removed”. As shown in FIG. 6, the number of publishers included in the subgraph including b 1 is “3”. Therefore, PSG (b 1 , b 0 ) = 3.

図7は、図5に示したネットワーク構成における図4に示した表記との関係を示す図である。   FIG. 7 is a diagram showing a relationship with the notation shown in FIG. 4 in the network configuration shown in FIG.

本発明は、新たな提案指標を以下のように定義する。   The present invention defines a new proposal index as follows.

インバウンド側(受信側)について、ブローカbの負荷を表す式を、以下のように定義する。 For the inbound side (receiving side), an expression representing the load of the broker b i is defined as follows.

Figure 2016092652
Figure 2016092652

アウトバウンド側(送信側)について、ブローカbの負荷を表す式を、以下のように定義する For the outbound side (sender side), the formula representing the load on broker b i is defined as follows:

Figure 2016092652
Figure 2016092652

なお、インバウンド側及びアウトバウンド側のブローカbの負荷を表す式の分子は、各パブリッシャから全サブスクライバへマルチキャストする最短経路木がブローカを通過する回数の総和を示す。
<実施の形態>
以下、実施の形態について、図面を参照して説明する。
The numerator of the expression representing the load on the broker b i on the inbound side and the outbound side indicates the total number of times that the shortest path tree multicasted from each publisher to all subscribers passes through the broker.
<Embodiment>
Hereinafter, embodiments will be described with reference to the drawings.

本実施の形態に係る非同期メッセージングサーバ連携方式の評価装置は、コンピュータである情報処理装置により実現される。情報処理装置は、メモリ、CPU、入力部、記憶装置を備えた通常のコンピュータと同様の構成を有し、本発明の実施の形態に係る非同期メッセージングサーバ連携方式の評価方法は、記憶装置に記憶された本発明の実施の形態に係る非同期メッセージングサーバ連携方式の評価処理を実現する評価プログラムをCPUが実行することにより実現される。   The evaluation apparatus of the asynchronous messaging server cooperation method according to the present embodiment is realized by an information processing apparatus that is a computer. The information processing apparatus has the same configuration as that of a normal computer including a memory, a CPU, an input unit, and a storage device, and the asynchronous messaging server cooperation method evaluation method according to the embodiment of the present invention is stored in the storage device. This is realized by the CPU executing an evaluation program that realizes the evaluation processing of the asynchronous messaging server cooperation method according to the embodiment of the present invention.

図8は、本発明の実施の形態に係る非同期メッセージングサーバ連携方式の評価装置の機能ブロックを示す図である。   FIG. 8 is a diagram showing functional blocks of the evaluation apparatus of the asynchronous messaging server cooperation method according to the embodiment of the present invention.

同図に示すように評価装置である情報処理装置1は、トポロジ候補受付部11、トポロジ情報生成及び解析部12、負荷計算部13及びトポロジ評価部14を具備する。   As shown in FIG. 1, the information processing apparatus 1 that is an evaluation apparatus includes a topology candidate reception unit 11, a topology information generation and analysis unit 12, a load calculation unit 13, and a topology evaluation unit 14.

トポロジ候補受付部11は、ブローカ間を接続する少なくとも1つのトポロジパターンを受け付ける。   The topology candidate receiving unit 11 receives at least one topology pattern that connects brokers.

トポロジ情報生成及び解析部12は、トポロジ候補受付部11により受け付けられたブローカ間を接続する少なくとも1つのトポロジパターンについて、トポロジ毎に、トポロジ情報を生成する。   The topology information generation and analysis unit 12 generates topology information for each topology with respect to at least one topology pattern that connects the brokers received by the topology candidate reception unit 11.

トポロジ情報は、ブローカ間の接続情報及びブローカとパブリッシャ・サブスクライバの接続情報である。ブローカ間の接続情報及びブローカとパブリッシャ・サブスクライバの接続情報は、例えば、行列等で表現される。これら接続情報は、GUIで作成したトポロジ図から自動生成する等の仕組みを用意しても良い。なお、トポロジ情報は、人手により生成して入力しても良い。   The topology information is connection information between brokers and connection information between brokers and publisher / subscribers. The connection information between brokers and the connection information between brokers and publishers / subscribers are represented by, for example, matrices. A mechanism for automatically generating such connection information from a topology diagram created by a GUI may be prepared. The topology information may be manually generated and input.

図9は、トポロジパターンごとに各ブローカの負荷を求めるイメージを説明するための図である。行列表現の場合、例えば、図9におけるトポロジパターンT1の行列G1、トポロジパターンTの行列G2は、接続関係があるところを1とし、それ以外を0とする。なお、計算機が扱いやすい形であれば良く、必ずしも行列形式である必要は無い。   FIG. 9 is a diagram for explaining an image for obtaining the load of each broker for each topology pattern. In the case of matrix representation, for example, the matrix G1 of the topology pattern T1 and the matrix G2 of the topology pattern T in FIG. It should be noted that the computer may be any form that is easy to handle, and is not necessarily in the form of a matrix.

また、トポロジ情報生成及び解析部12は、生成或いは入力されたトポロジ情報に基づいて、負荷計算部(=提案指標の計算)で必要とするパラメータ(P,S,NP(b),NS(b),B(b),PSG(b,b),IS(b,b))を算出する。 Further, the topology information generation and analysis unit 12 uses parameters (P, S, NP (b i ), NS () required by the load calculation unit (= calculation of the proposed index) based on the generated or input topology information. b i ), B (b i ), PSG (b i , b j ), IS (b i , b j )) are calculated.

負荷計算部13は、トポロジ情報生成及び解析部12にて算出されたパラメータを提案指標の式に代入し、ブローカ毎の負荷(インバウンド側負荷及びアウトバウンド側負荷)をトポロジ毎に算出する。なお、負荷計算部13は、算出したブローカ毎の負荷を適切に整形して出力しても良い。   The load calculation unit 13 substitutes the parameters calculated by the topology information generation and analysis unit 12 into the formula of the proposal index, and calculates loads for each broker (inbound side load and outbound side load) for each topology. Note that the load calculation unit 13 may appropriately shape and output the calculated load for each broker.

このように、ブローカ毎の負荷(インバウンド側負荷及びアウトバウンド側負荷)を算出することにより、トポロジの評価を行なうことができる。   Thus, the topology can be evaluated by calculating the load (inbound side load and outbound side load) for each broker.

トポロジ評価部14は、負荷計算部13により算出されたブローカ毎の負荷(インバウンド側負荷及びアウトバウンド側負荷)に基づいて、トポロジの評価を行なう。   The topology evaluation unit 14 evaluates the topology based on the load (inbound side load and outbound side load) for each broker calculated by the load calculation unit 13.

トポロジの評価は、ブローカの負荷が均一であるほど、負荷の偏りが無く、望ましい。またその値が(単一ブローカの値である)1.0よりも少ないほど、負荷分散の効果が大きい。トポロジ評価部14は、トポロジ毎に、ブローカの負荷の平均値と標準偏差を算出する。そして、これらの値をトポロジ間で比較することで、優劣の評価を行なう。なお、平均値と標準偏差は人手で算出しても良い。なお、受け付けられたトポロジパターンが1つの場合には、比較対象がないことから、比較評価は行われなくても良い。   In the evaluation of the topology, the more uniform the load of the broker, the more the load is not biased. Also, the smaller the value is 1.0 (which is the value of a single broker), the greater the load balancing effect. The topology evaluation unit 14 calculates the average value and standard deviation of the load of the broker for each topology. Then, superiority or inferiority is evaluated by comparing these values between topologies. The average value and the standard deviation may be calculated manually. Note that when there is one accepted topology pattern, there is no comparison target, and thus the comparative evaluation need not be performed.

図10は、本実施の形態に係る非同期メッセージングサーバ連携方式の評価装置の動作を説明するためのフローチャートである。   FIG. 10 is a flowchart for explaining the operation of the evaluation apparatus of the asynchronous messaging server cooperation method according to this embodiment.

最初に、トポロジ候補受付部11が、ブローカ間を接続する少なくとも1つのトポロジパターンを受け付ける(S1)。次に、トポロジ情報生成及び解析部12が、トポロジ候補受付部11により受け付けられたブローカ間を接続する少なくとも1つのトポロジパターンについて、トポロジ毎に、トポロジ情報を生成する(S2)。また、S1、S2の処理は、情報処理装置の処理によらず、直接、トポロジ情報を入力しても良い。   First, the topology candidate receiving unit 11 receives at least one topology pattern for connecting brokers (S1). Next, the topology information generation and analysis unit 12 generates topology information for each topology for at least one topology pattern that connects the brokers received by the topology candidate reception unit 11 (S2). Further, the processing of S1 and S2 may directly input the topology information regardless of the processing of the information processing apparatus.

次に、トポロジ情報生成及び解析部12が、生成或いは入力されたトポロジ情報に基づいて、負荷計算部(=提案指標の計算)で必要とするパラメータ(P,S,NP(b),NS(b),B(b),PSG(b,b),IS(b,b))を算出する(S3)。 Next, the topology information generation and analysis unit 12 uses parameters (P, S, NP (b i ), NS required by the load calculation unit (= calculation of the proposed index) based on the generated or input topology information. (B i ), B (b i ), PSG (b i , b j ), IS (b i , b j )) are calculated (S3).

次に、負荷計算部13が、トポロジ情報生成及び解析部12にて算出されたパラメータを提案指標の式に代入し、ブローカ毎の負荷(インバウンド側負荷及びアウトバウンド側負荷)をトポロジ毎に算出する(S4)。これにより、トポロジ毎のネットワークの各ブローカの負荷を精度よく算出することができるので、ネットワークのトポロジを精度よく評価することができる。   Next, the load calculation unit 13 substitutes the parameters calculated by the topology information generation and analysis unit 12 into the formula of the proposal index, and calculates the load for each broker (inbound load and outbound load) for each topology. (S4). Thereby, since the load of each broker of the network for each topology can be calculated with high accuracy, the network topology can be evaluated with high accuracy.

次に、トポロジ評価部14が、負荷計算部13により算出されたブローカ毎の負荷(インバウンド側負荷及びアウトバウンド側負荷)に基づいて、トポロジの評価を行なう(S5)。トポロジ評価部14による評価は、トポロジ毎に、例えば、ブローカの負荷の平均値と標準偏差を算出し、この算出されたブローカの負荷の平均値と標準偏差に基づいて行われる。また、比較対象となるトポロジがある場合には、これらブローカの負荷の平均値と標準偏差を比較することにより行われる。   Next, the topology evaluation unit 14 evaluates the topology based on the load for each broker (inbound side load and outbound side load) calculated by the load calculation unit 13 (S5). The evaluation by the topology evaluation unit 14 is performed for each topology, for example, by calculating an average value and standard deviation of the broker load, and based on the calculated average value and standard deviation of the broker load. When there is a topology to be compared, the comparison is made by comparing the average value of the load of these brokers with the standard deviation.

従って、本実施の形態によれば、提案指標を使用することにより精度の高いブローカの負荷を算出することができるので、低コストで迅速に精度の高い非同期メッセージングサーバ連携方式の評価を行なうことができる。   Therefore, according to the present embodiment, it is possible to calculate the load of the broker with high accuracy by using the proposed index. Therefore, it is possible to quickly evaluate the asynchronous messaging server cooperation method with high accuracy at low cost. it can.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

また、実施形態に記載した手法は、計算機(コンピュータ)に実行させることができるプログラムとして、例えば磁気ディスク(フロッピー(登録商標)ディスク、ハードディスク等)、光ディスク(CD−ROM、DVD、MO等)、半導体メモリ(ROM、RAM、フラッシュメモリ等)等の記録媒体に格納し、また通信媒体により伝送して頒布することもできる。なお、媒体側に格納されるプログラムには、計算機に実行させるソフトウエア手段(実行プログラムのみならずテーブルやデータ構造も含む)を計算機内に構成させる設定プログラムをも含む。本装置を実現する計算機は、記録媒体に記録されたプログラムを読み込み、また場合により設定プログラムによりソフトウエア手段を構築し、このソフトウエア手段によって動作が制御されることにより上述した処理を実行する。なお、本明細書でいう記録媒体は、頒布用に限らず、計算機内部あるいはネットワークを介して接続される機器に設けられた磁気ディスクや半導体メモリ等の記憶媒体を含むものである。   The method described in the embodiment is a program that can be executed by a computer (computer), for example, a magnetic disk (floppy (registered trademark) disk, hard disk, etc.), an optical disk (CD-ROM, DVD, MO, etc.), It can be stored in a recording medium such as a semiconductor memory (ROM, RAM, flash memory, etc.), or transmitted and distributed via a communication medium. The program stored on the medium side includes a setting program that configures software means (including not only the execution program but also a table and data structure) in the computer. A computer that implements this apparatus reads a program recorded on a recording medium, constructs software means by a setting program as the case may be, and executes the above-described processing by controlling the operation by this software means. The recording medium referred to in this specification is not limited to distribution, but includes a storage medium such as a magnetic disk or a semiconductor memory provided in a computer or a device connected via a network.

v0〜v6 ノード、
P1〜P3 パブリッシャ
S0〜S2 サブスクライバ
1 情報処理装置
11 トポロジ情報受付部
12 トポロジ情報生成及び解析部
13 負荷解析部
14 トポロジ評価部
v0-v6 nodes,
P1 to P3 Publisher S0 to S2 Subscriber 1 Information processing device 11 Topology information reception unit 12 Topology information generation and analysis unit 13 Load analysis unit 14 Topology evaluation unit

Claims (7)

パブリッシャ、非同期メッセージングサーバを含むブローカ及びサブスクライバを有するネットワークの前記パブリッシャ、前記ブローカ及び前記サブスクライバの接続関係を示すトポロジ情報を受け付ける受付手段と、
前記受付手段により受け付けられたトポロジ情報から得られる各パブリッシャから全サブスクライバへの最短経路木が前記ブローカを通過する回数に基づいて、前記各ブローカの負荷を算出する負荷算出手段と
を具備するネットワーク評価装置。
Receiving means for receiving topology information indicating a connection relationship between the publisher, the broker, and the subscriber of a network having a publisher, a broker including an asynchronous messaging server, and a subscriber;
Network evaluation comprising load calculation means for calculating the load of each broker based on the number of times the shortest path tree from each publisher to all subscribers passes through the broker obtained from the topology information received by the reception means apparatus.
前記各ブローカの負荷は、インバウンドとアウトバウンドとに分けて算出される、請求項1記載のネットワーク評価装置。   The network evaluation apparatus according to claim 1, wherein the load of each broker is calculated separately for inbound and outbound. トポロジ毎に、算出されたブローカの負荷の平均値と標準偏差とを算出し、この算出されたブローカの負荷の平均値と標準偏差とをトポロジ間で比較することにより、ネットワークのトポロジの評価を行なうトポロジ評価手段をさらに具備する請求項1記載のネットワーク評価装置。   For each topology, calculate the average value and standard deviation of the calculated broker load, and compare the calculated average value and standard deviation of the broker load between topologies to evaluate the network topology. The network evaluation apparatus according to claim 1, further comprising topology evaluation means for performing. 前記ブローカの負荷は、下記式において算出される請求項2記載のネットワーク評価装置。
インバウンド側の負荷については、
Figure 2016092652
アウトバウンド側の負荷については、
Figure 2016092652
ここで、
: i番目のブローカ
P : パブリッシャ総数
S : サブスクライバ総数
NP(b) : bに直接接続しているパブリッシャ数
NS(b) :bに直接接続しているサブスクライバ数
B(b) :bに直接接続しているブローカの集合
PSG(b,b) : b−b間のエッジを除去した場合のbを含む部分グラフに接続しているパブリッシャ数
IS(b,b) : b−b間のエッジを除去した場合のbを含む部分グラフに接続しているサブスクライバが存在すれば1を、存在しなければ0を表す。
The network evaluation apparatus according to claim 2, wherein the load on the broker is calculated by the following equation.
Regarding the load on the inbound side,
Figure 2016092652
For the outbound load,
Figure 2016092652
here,
b i: i-th broker P: Publisher Total S: total number of subscribers NP (b i): b i number publisher is directly connected to the NS (b i): b i number of subscribers B that are directly connected to (b i): b i set PSG (b i broker that is directly connected to, b j): b i -b j number publisher connected to subgraph containing b i in the case of removing the edges between iS (b i, b j): the b i -b 1 if there are subscribers connected to the subgraph containing b i in the case of removing the edges between j, represents 0 if it does not exist.
パブリッシャ、非同期メッセージングサーバを含むブローカ及びサブスクライバを有するネットワークの前記パブリッシャ、前記ブローカ及び前記サブスクライバの接続関係を示すトポロジ情報を受け付ける受付ステップと、
前記受付ステップにより受け付けられたトポロジ情報から得られる各パブリッシャから全サブスクライバへの最短経路木が前記ブローカを通過する回数に基づいて、前記各ブローカの負荷を算出する負荷算出ステップと
を具備するネットワーク評価装置における評価方法。
Accepting topology information indicating a connection relationship between the publisher, the broker and the subscriber of a network having a publisher, a broker including an asynchronous messaging server, and a subscriber;
A network evaluation comprising: a load calculation step of calculating a load of each broker based on the number of times that the shortest path tree from each publisher to all subscribers obtained from the topology information received by the reception step passes through the broker Evaluation method in the apparatus.
ネットワーク評価装置に、
パブリッシャ、非同期メッセージングサーバを含むブローカ及びサブスクライバを有するネットワークの前記パブリッシャ、前記ブローカ及び前記サブスクライバの接続関係を示すトポロジ情報を受け付けさせ、
前記受け付けられたトポロジ情報から得られる各パブリッシャから全サブスクライバへの最短経路木が前記ブローカを通過する回数に基づいて、前記各ブローカの負荷を算出させる、プログラム。
In network evaluation equipment,
Accepting topology information indicating a connection relationship between the publisher, the broker and the subscriber of a network having a publisher, a broker including an asynchronous messaging server, and a subscriber;
A program for calculating the load of each broker based on the number of times the shortest path tree from each publisher to all subscribers obtained from the received topology information passes through the broker.
請求項6記載のプログラムを格納したコンピュータ読み取り可能な情報記録媒体。   A computer-readable information recording medium storing the program according to claim 6.
JP2014226440A 2014-11-06 2014-11-06 Evaluation apparatus and evaluation method for asynchronous messaging server cooperation method Active JP6368624B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014226440A JP6368624B2 (en) 2014-11-06 2014-11-06 Evaluation apparatus and evaluation method for asynchronous messaging server cooperation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014226440A JP6368624B2 (en) 2014-11-06 2014-11-06 Evaluation apparatus and evaluation method for asynchronous messaging server cooperation method

Publications (2)

Publication Number Publication Date
JP2016092652A true JP2016092652A (en) 2016-05-23
JP6368624B2 JP6368624B2 (en) 2018-08-01

Family

ID=56019905

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014226440A Active JP6368624B2 (en) 2014-11-06 2014-11-06 Evaluation apparatus and evaluation method for asynchronous messaging server cooperation method

Country Status (1)

Country Link
JP (1) JP6368624B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017224032A (en) * 2016-06-13 2017-12-21 日本電信電話株式会社 Distributed cooperation proxy and asynchronous messaging system using the same

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6298455B1 (en) * 1998-12-29 2001-10-02 International Business Machines Corporation Publish and subscribe data processing with failover using cascaded sequence numbers
EP2398196A1 (en) * 2009-02-16 2011-12-21 Nec Corporation Event distribution system, rendezvous node, broker node, load distribution method for event distribution system, method for distribution of load on rendezvous node, distribution route construction method for broker node, storage medium on which load distribution program is stored, and storage medium on which distribution route construction program is stored
WO2013031069A1 (en) * 2011-09-02 2013-03-07 日本電気株式会社 Event notification service method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6298455B1 (en) * 1998-12-29 2001-10-02 International Business Machines Corporation Publish and subscribe data processing with failover using cascaded sequence numbers
EP2398196A1 (en) * 2009-02-16 2011-12-21 Nec Corporation Event distribution system, rendezvous node, broker node, load distribution method for event distribution system, method for distribution of load on rendezvous node, distribution route construction method for broker node, storage medium on which load distribution program is stored, and storage medium on which distribution route construction program is stored
WO2013031069A1 (en) * 2011-09-02 2013-03-07 日本電気株式会社 Event notification service method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
中島 ことみ 他: "MANETのルーティングに関する新しいノード中心性指標の提案", 電子情報通信学会技術研究報告, vol. 第112巻,第393号, JPN6018008091, 17 January 2013 (2013-01-17), pages 39 - 44 *
藤本 雅敏 他: "移動送信ノードに対応する無線メッシュ網の2階層マルチキャストルーティング", 情報処理学会 研究報告 モバイルコンピューティングとユビキタス通信(MBL) 2014−MBL−07, JPN6018008092, 8 May 2014 (2014-05-08) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017224032A (en) * 2016-06-13 2017-12-21 日本電信電話株式会社 Distributed cooperation proxy and asynchronous messaging system using the same

Also Published As

Publication number Publication date
JP6368624B2 (en) 2018-08-01

Similar Documents

Publication Publication Date Title
JP6493400B2 (en) Service chain management device, service chain management system, service chain management method, and program
JP6558374B2 (en) Scale number estimation apparatus, scale number management system, scale number estimation method, scale number management method, and computer program
JP2017517978A5 (en)
JP5768796B2 (en) Operation management apparatus, operation management method, and program
WO2017050215A1 (en) System and method for control traffic balancing in in-band software defined networks
WO2015079612A1 (en) Virtual middle box management system, virtual middle box management method, and virtual middle box management program
WO2015131470A1 (en) System and method for providing an on-site service
TWI426383B (en) Estimation method to evaluate a system reliability of a cloud computing network
JP6084583B2 (en) Flow path change calculation device and flow path change calculation system
JP5695767B1 (en) Topology estimation apparatus and program
JP6368624B2 (en) Evaluation apparatus and evaluation method for asynchronous messaging server cooperation method
JP2016054451A (en) Virtual network allocating method and device
JP2010177908A (en) Device, system, method and program for calculating communication traffic
JP6085260B2 (en) Route control system, route control device, and route control method
JP5756049B2 (en) Multicast route calculation method and apparatus
JP5027787B2 (en) AC traffic calculation device, AC traffic calculation system, AC traffic calculation method and program thereof
TWI540865B (en) Router and resource allocation method thereof
Roomi et al. Semi-oblivious segment routing with bounded traffic fluctuations
JP6180369B2 (en) Topology estimation apparatus and program
WO2020245948A1 (en) Required communication quality estimation device, required communication quality estimation method, and program
JP5060513B2 (en) AC traffic estimation device, AC traffic estimation method and program thereof
JP5039012B2 (en) AC traffic calculation device, AC traffic calculation system, AC traffic calculation method and program thereof
JP5015853B2 (en) Communication bandwidth calculation method and apparatus
JP5060528B2 (en) Link bandwidth fluctuation amount upper limit calculation apparatus, link bandwidth fluctuation amount upper limit calculation method and program
JP5815376B2 (en) Delay estimation device, delay estimation method, and delay estimation program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170307

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180306

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180416

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180709

R150 Certificate of patent or registration of utility model

Ref document number: 6368624

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150