JP4932749B2 - Resource state prediction apparatus, resource state prediction method, and program - Google Patents

Resource state prediction apparatus, resource state prediction method, and program Download PDF

Info

Publication number
JP4932749B2
JP4932749B2 JP2008008636A JP2008008636A JP4932749B2 JP 4932749 B2 JP4932749 B2 JP 4932749B2 JP 2008008636 A JP2008008636 A JP 2008008636A JP 2008008636 A JP2008008636 A JP 2008008636A JP 4932749 B2 JP4932749 B2 JP 4932749B2
Authority
JP
Japan
Prior art keywords
resource
state
transition
time
function
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008008636A
Other languages
Japanese (ja)
Other versions
JP2009169780A (en
Inventor
千昭 加藤
聡 屋代
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2008008636A priority Critical patent/JP4932749B2/en
Publication of JP2009169780A publication Critical patent/JP2009169780A/en
Application granted granted Critical
Publication of JP4932749B2 publication Critical patent/JP4932749B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、複数の計算機リソースを持つ制御対象システムから収集された各リソースの利用率を用いて、所定時間後の各リソースの利用率を予測することにより、各リソースの容量に不足が生じると予測される場合は追加分を、余剰が生じると予測される場合は返上分を算出する技術に関する。   The present invention predicts the utilization rate of each resource after a predetermined time by using the utilization rate of each resource collected from a control target system having a plurality of computer resources. The present invention relates to a technique for calculating an additional amount when predicted, and calculating a return amount when surplus is predicted.

通信ネットワーク技術の進歩に伴って、複数の計算機システムをネットワークで連携することにより並列的に運用する統合システムが数多く存在するようになった。システムを統合することにより、処理の負荷を分散できること、計算機リソースをシステム間で互いに融通することでリソースの余剰や不足を抑制できること等のメリットがある。これらのメリットを確実に享受するには、計算機リソースに対する動的なニーズを的確に予測する必要がある。   With the progress of communication network technology, there are many integrated systems that operate in parallel by linking multiple computer systems through a network. By integrating the systems, there are merits such that the processing load can be distributed, and the surplus and shortage of resources can be suppressed by accommodating computer resources among the systems. In order to reliably enjoy these merits, it is necessary to accurately predict dynamic needs for computer resources.

なぜなら、この予測が正確でなければ、処理の負荷をシステム間で分散する比率を誤り、その結果、どこかでリソース不足が生じ、これが引き金となってシステムダウンが起きる可能性があるからである。ネットワークを介して計算機システムが連携しているとシステムダウンが連鎖的に広がることも考えられ、期待した統合のメリットが大きな損害に転じてしまうことさえあり得る。したがって、計算機リソースの動的なニーズの予測は、ネットワーク統合システムにおける中心的な課題である。   This is because if this prediction is not accurate, the ratio of distributing the processing load among the systems may be wrong, resulting in a shortage of resources somewhere, which may trigger a system down. . If computer systems are linked via a network, the system down may be chained and the expected benefits of integration may even turn into major damage. Therefore, predicting the dynamic needs of computer resources is a central issue in network integration systems.

そのような課題に対処する技術として、例えば下記の特許文献1には、過去の計算機リソースの稼働履歴と、現在の計算機リソースの稼動状態とから、所定期間後の負荷の状態を予測している。   As a technique for dealing with such a problem, for example, in Patent Document 1 below, a load state after a predetermined period is predicted from an operation history of a past computer resource and an operation state of a current computer resource. .

特開平11−261702号公報JP 11-261702 A

ところで、監視対象のシステムが大規模になると、計算機リソースの数が膨大になり、監視対象システムから収集されるデータ数が膨大になる。上記の特許文献1では、それぞれの計算機リソースについて、過去に複数回測定された稼働履歴を用いて予測を行っているため、全体のデータ量が膨大な量となる。   By the way, when the system to be monitored becomes large, the number of computer resources becomes enormous, and the number of data collected from the system to be monitored becomes enormous. In the above-mentioned patent document 1, since each computer resource is predicted using an operation history measured a plurality of times in the past, the total data amount is enormous.

また、上記の特許文献1では、1つの計算機リソースの状態について予測を行っているが、システム全体を考えると、多数の計算機リソースについて、所定期間後の状態を予測する必要がある場合がある。この場合、上記の特許文献1では、個々の計算機リソース毎に所定期間後の状態を予測することになり、処理負荷が高くなる場合がある。監視対象のシステムが大規模になると、計算機リソースの数が膨大になり、さらに処理負荷が高くなる場合がある。   Further, in Patent Document 1 described above, the state of one computer resource is predicted. However, considering the entire system, it may be necessary to predict the state after a predetermined period for a large number of computer resources. In this case, in Patent Document 1 described above, a state after a predetermined period is predicted for each computer resource, and the processing load may increase. If the system to be monitored becomes large, the number of computer resources may become enormous and the processing load may increase.

本発明は上記事情を鑑みてなされたものであり、本発明の目的は、計算機リソースの動的なニーズを予測する際の処理負荷を低く抑えると共に、予測計算に必要なデータの量を少なくすることにある。   The present invention has been made in view of the above circumstances, and an object of the present invention is to reduce the processing load when predicting the dynamic needs of computer resources and to reduce the amount of data required for predictive calculation. There is.

上記課題を解決するために、本発明は、連続する2つの時点の各リソースの測定値を、それぞれの測定値をリソース毎に予め定められた閾値により複数の状態のいずれかに離散化してそれぞれの時点の測定値毎に1列に並べ、それぞれのリソースの状態を1つのセルとみなして、セルオートマトンの因果関係モデルを導入し、前の時点において連続して隣り合う所定数のセル毎に、当該所定数のセルの状態から、後の時点において当該連続して隣り合う所定数のセルの中の1つのセルの状態への遷移ルールを逆算し、算出した遷移ルールを用いて所定時間後の各リソースの状態を予測する。   In order to solve the above-mentioned problem, the present invention discretizes the measured value of each resource at two consecutive time points into one of a plurality of states according to a predetermined threshold value for each resource. For each measured value at the time of, the state of each resource is regarded as one cell, and a causal relationship model of a cellular automaton is introduced. Backward calculation of the transition rule from the state of the predetermined number of cells to the state of one cell in the predetermined number of consecutive cells adjacent at a later time, and after a predetermined time using the calculated transition rule Predict the state of each resource.

例えば、本発明は、監視対象のシステム内の各リソースの現在の状態に基づいて、当該各リソースの後の状態を予測し、予測結果を出力するリソース状態予測装置であって、
前記監視対象のシステムから各リソースの測定値を収集し、リソース毎に予め定められた閾値を用いてそれぞれの測定値を複数の状態のいずれかに離散化する測定値収集手段と、
前記測定値収集手段によって収集され離散化された各リソースの状態を、当該リソースが測定された時刻に対応付けて保持するリソース状態保持手段と、
連続する2つの時刻の各リソースの状態を前記リソース状態保持手段から順次読み出してそれぞれの時刻毎に1列に並べ、それぞれのリソースをセルオートマトンにおける1つのセルとみなし、前の時刻の各リソースの状態において、対象となるセルを含む、連続して隣り合う所定数のセル毎に、当該所定数のセルのそれぞれの状態を入力状態とし、後の時刻の各リソースの状態において、当該対象となるセルの状態を出力状態とする遷移ルールを、全てのセルのそれぞれを対象として抽出する遷移ルール抽出手段と、
前記遷移ルール抽出手段によって抽出された遷移ルールの中で、同一の入力状態となる遷移ルール毎に、異なる出力状態となる割合を算出し、最も高い割合となる出力状態を、当該遷移ルールにおける出力状態として採用し、採用された出力状態を含む複数の遷移ルールで構成される遷移関数を作成する遷移関数作成手段と、
現在時刻から、各リソースの状態を予測すべき時刻までの時間の入力を受け付ける受付手段と、
現在時刻から前記受付手段を介して入力された時間が経過するまでに、各リソースの測定値が測定される回数である測定回数を算出する測定回数算出手段と、
現在の各リソースの状態を前記測定値保持手段から順次読み出して1列に並べ、それぞれのリソースをセルオートマトンにおける1つのセルとみなし、対象となるセルを含む、連続して隣り合う所定数のセル毎に、当該所定数のセルのそれぞれの状態を入力状態とする遷移ルールを、前記遷移関数作成手段によって作成された遷移関数から抽出し、抽出した遷移ルールに含まれている出力状態を、当該対象となるセルの次の時刻における状態として算出する処理を、全てのセルのそれぞれを対象として実行する次状態予測手段と
を備え、
前記次状態予測手段は、さらに、
前記遷移関数を参照して、算出した各リソースの次の状態から、各リソースのさらに次の状態を算出する処理を、前記測定回数算出手段によって算出された測定回数−1回繰り返し、最終的に算出された各リソースの状態を、前記受付手段を介して入力された時間が経過した後の各リソースの状態として外部へ出力すること
を特徴とするリソース状態予測装置を提供する。
For example, the present invention is a resource state prediction device that predicts a state after each resource based on the current state of each resource in the system to be monitored, and outputs a prediction result.
A measurement value collecting means for collecting measurement values of each resource from the monitored system and discretizing each measurement value into one of a plurality of states using a predetermined threshold for each resource;
Resource state holding means for holding the state of each resource collected and discretized by the measurement value collecting means in association with the time when the resource was measured;
The state of each resource at two consecutive times is sequentially read from the resource state holding means and arranged in one column at each time, each resource is regarded as one cell in the cellular automaton, and each resource at the previous time is In a state, for each predetermined number of adjacent cells including the target cell, the state of each of the predetermined number of cells is set as an input state, and becomes the target in the state of each resource at a later time A transition rule extracting means for extracting a transition rule having a cell state as an output state for each of all cells;
Of the transition rules extracted by the transition rule extracting means, the ratio of different output states is calculated for each transition rule having the same input state, and the highest output state is output in the transition rule. A transition function creating means for creating a transition function composed of a plurality of transition rules including the adopted output state,
Accepting means for accepting input of time from the current time to the time at which the state of each resource should be predicted;
A measurement number calculation means for calculating a measurement number, which is the number of times a measurement value of each resource is measured, from the current time until the time input via the reception unit elapses;
The current state of each resource is sequentially read out from the measurement value holding means and arranged in one column, each resource is regarded as one cell in the cellular automaton, and a predetermined number of cells adjacent to each other including the target cell Each time, a transition rule having the respective states of the predetermined number of cells as input states is extracted from the transition function created by the transition function creating means, and the output state included in the extracted transition rule is A next state predicting means for executing processing for calculating the state at the next time of the target cell as a target for each of all cells;
The next state predicting means further includes:
With reference to the transition function, the process of calculating the next state of each resource from the calculated next state of each resource is repeated by the number of times of measurement calculated by the number-of-measurement calculating means minus one, and finally There is provided a resource state prediction apparatus that outputs the calculated state of each resource to the outside as the state of each resource after a time input via the receiving unit has elapsed.

本発明のリソース状態予測装置によれば、計算機リソースの動的なニーズを予測する際の処理負荷を低く抑えると共に、予測計算に必要なデータの量を少なくすることができる。   According to the resource state prediction apparatus of the present invention, it is possible to reduce the processing load when predicting the dynamic needs of computer resources and to reduce the amount of data necessary for the prediction calculation.

まず、本発明の第1の実施形態について説明する。   First, a first embodiment of the present invention will be described.

図1は、本発明の一実施形態に係る制御システム10の構成を示すシステム構成図である。制御システム10は、自律制御装置13、監視対象システム14、リソース変更量算出装置20、およびリソース状態予測装置30を備える。監視対象システム14は、インターネット等の通信回線12を介して複数のクライアントコンピュータ11へ所定のサービスを提供する。自律制御装置13、監視対象システム14、リソース変更量算出装置20、およびリソース状態予測装置30は、管理用の通信回線を介して接続されている。   FIG. 1 is a system configuration diagram showing a configuration of a control system 10 according to an embodiment of the present invention. The control system 10 includes an autonomous control device 13, a monitoring target system 14, a resource change amount calculation device 20, and a resource state prediction device 30. The monitored system 14 provides a predetermined service to a plurality of client computers 11 via a communication line 12 such as the Internet. The autonomous control device 13, the monitoring target system 14, the resource change amount calculation device 20, and the resource state prediction device 30 are connected via a management communication line.

監視対象システム14は、自律制御装置13によって管理されるシステムであり、複数の計算機リソース(例えばサーバ140)が相互接続されて構成される。それぞれのサーバ140は、CPU(Central Processing Unit)等の演算機能、メモリもしくはハードディスク等の記憶機能、または、通信機能等を有する複数のリソース143もしくはリソース144を備える。監視対象システム14には、通信回線12を介してクライアントコンピュータ11に提供されるサービスを実現するために十分な量の計算機リソースが、システム設計者等により予め設定されて配置接続される。   The monitoring target system 14 is a system managed by the autonomous control device 13, and is configured by interconnecting a plurality of computer resources (for example, the server 140). Each server 140 includes a plurality of resources 143 or resources 144 having a calculation function such as a CPU (Central Processing Unit), a storage function such as a memory or a hard disk, or a communication function. A sufficient amount of computer resources for realizing a service provided to the client computer 11 via the communication line 12 is set and arranged and connected to the monitoring target system 14 in advance by a system designer or the like.

それぞれのサーバ140は、稼動中のリソース141の他にリソースプール142を有し、自律制御装置13からの指示に応じて、リソースプール142内のリソース144を稼動中のリソース141に追加させたり、稼動中のリソース141内のリソース143をリソースプール142へ返上させたりする。これにより、監視対象システム14は、クライアントコンピュータ11へのサービス提供を維持すると共に、監視対象システム14内のリソースを有効活用する。なお、監視対象システム14内には、稼動しているサーバ140の他に稼動していないサーバ140が設けられ、自律制御装置13からの指示に応じて、サーバ140を稼動させたり、退避させたりしてもよい。   Each server 140 has a resource pool 142 in addition to the operating resource 141, and in response to an instruction from the autonomous control device 13, the resource 144 in the resource pool 142 is added to the operating resource 141. The resource 143 in the resource 141 in operation is returned to the resource pool 142. As a result, the monitoring target system 14 maintains service provision to the client computer 11 and effectively utilizes resources in the monitoring target system 14. In addition to the active server 140, the inactive server 140 is provided in the monitoring target system 14, and the server 140 is operated or withdrawn according to an instruction from the autonomous control device 13. May be.

自律制御装置13は、監視対象システム14内の各リソースの使用率を測定値として取得し、予め定められた制御ポリシに従って、それぞれのリソースの追加/返上を監視対象システム14に指示する。また、自律制御装置13は、各リソースの所定時間後の状態の予測結果に基づく各リソースの変更量および当該予測結果の確からしさを示す尤度を通知された場合に、当該尤度を用いて、当該変更量を使って監視対象システム14を制御するか否かを判定し、当該変更量を使って監視対象システム14を制御すると判定した場合には、当該変更量に基づいて監視対象システム14を制御する。   The autonomous control device 13 acquires the usage rate of each resource in the monitoring target system 14 as a measurement value, and instructs the monitoring target system 14 to add / return each resource according to a predetermined control policy. In addition, when the autonomous control device 13 is notified of the amount of change of each resource based on the prediction result of the state of each resource after a predetermined time and the likelihood indicating the certainty of the prediction result, the autonomous control device 13 uses the likelihood. If it is determined whether to control the monitoring target system 14 using the change amount, and it is determined to control the monitoring target system 14 using the change amount, the monitoring target system 14 is based on the change amount. To control.

リソース状態予測装置30は、監視対象システム14内の各リソースの使用率を測定値として取得し、取得した測定値に基づいて、ユーザから指定された時間が経過した後の各リソースの状態を予測する。そして、リソース状態予測装置30は、予測結果を、当該予測結果に用いられた遷移関数の尤度と共にリソース変更量算出装置20へ送る。   The resource state prediction device 30 acquires the usage rate of each resource in the monitoring target system 14 as a measured value, and predicts the state of each resource after the time specified by the user has elapsed based on the acquired measured value. To do. Then, the resource state prediction device 30 sends the prediction result to the resource change amount calculation device 20 together with the likelihood of the transition function used for the prediction result.

リソース変更量算出装置20は、リソース状態予測装置30から受け取った予測結果に基づいて、現状を維持するために必要な各リソースの変更量を算出し、算出した変更量を、リソース状態予測装置30から受け取った遷移関数の尤度と共に自律制御装置13へ送る。   The resource change amount calculation device 20 calculates the change amount of each resource necessary to maintain the current state based on the prediction result received from the resource state prediction device 30, and uses the calculated change amount as the resource state prediction device 30. Are sent to the autonomous control device 13 together with the likelihood of the transition function received from.

図2は、第1実施形態におけるリソース状態予測装置30の機能構成の一例を示すブロック図である。リソース状態予測装置30は、表示部300、リソース状態保持部301、遷移ルール抽出部302、遷移関数作成部303、次状態予測部304、測定値収集部305、閾値情報保持部306、受付部307、および測定回数算出部308を備える。   FIG. 2 is a block diagram illustrating an example of a functional configuration of the resource state prediction device 30 according to the first embodiment. The resource state prediction apparatus 30 includes a display unit 300, a resource state holding unit 301, a transition rule extraction unit 302, a transition function creation unit 303, a next state prediction unit 304, a measured value collection unit 305, a threshold information holding unit 306, and a reception unit 307. And a measurement number calculation unit 308.

閾値情報保持部306には、例えば図3に示すように、それぞれのリソースを識別するリソースID3060毎に、対応するリソースの測定値に適用される閾値3061が格納されている。測定値収集部305は、監視対象システム14からリソース毎に測定値および当該測定値が測定された時刻を取得する。本実施形態において、測定値収集部305が監視対象システム14から取得する測定値は各リソースの利用率であり、それぞれの測定値は所定の時間間隔毎(例えば1分毎)に測定される。   For example, as illustrated in FIG. 3, the threshold information holding unit 306 stores a threshold 3061 to be applied to the measurement value of the corresponding resource for each resource ID 3060 for identifying each resource. The measurement value collection unit 305 acquires the measurement value and the time when the measurement value is measured for each resource from the monitoring target system 14. In the present embodiment, the measurement value acquired by the measurement value collection unit 305 from the monitoring target system 14 is the utilization rate of each resource, and each measurement value is measured at predetermined time intervals (for example, every minute).

測定値収集部305は、リソース毎に閾値情報保持部306を参照して、取得した測定値を複数の状態のいずれかに離散化し、離散化した各リソースの状態を、当該状態の元となる測定値が測定された時刻を示す情報に対応付けてリソース状態保持部301に格納する。本実施形態において、測定値収集部305は、リソース毎に、監視対象システム14から取得した測定値が閾値情報保持部306に格納されている閾値以上である場合には、当該リソースの状態を1とし、閾値未満である場合には、当該リソースの状態を0と離散化する。   The measurement value collection unit 305 refers to the threshold information holding unit 306 for each resource, discretizes the acquired measurement value into one of a plurality of states, and uses the discretized state of each resource as a source of the state. The measured value is stored in the resource state holding unit 301 in association with information indicating the time when the measured value is measured. In the present embodiment, the measurement value collection unit 305 sets the state of the resource to 1 when the measurement value acquired from the monitoring target system 14 is greater than or equal to the threshold stored in the threshold information holding unit 306 for each resource. If it is less than the threshold, the resource state is discretized as 0.

リソース状態保持部301には、例えば図4に示すように、測定値収集部305によってリソースの状態が収集された時刻を示す識別子3011毎に、それぞれのリソースID3010に対応するリソースの状態を示す値が格納されている。図4に示す例において、「T」は、現在の各リソースの状態が収集された時刻を示しており、「T−1」は、「T」よりも前に測定値が測定された時刻を示している。 For example, as illustrated in FIG. 4, the resource state holding unit 301 includes a value indicating the state of the resource corresponding to each resource ID 3010 for each identifier 3011 indicating the time when the state of the resource is collected by the measurement value collection unit 305. Is stored. In the example illustrated in FIG. 4, “T 0 ” indicates the time when the current state of each resource is collected, and “T −1 ” is measured before “T 0 ”. Indicates the time.

測定値収集部305は、新たな時刻に対応する各リソースの測定値を離散化すると、「T−4」の状態を削除すると共に、「T」〜「T−3」を左へ1つずつずらし、「T」に新たな時刻に対応する各リソースの状態を格納することにより、リソース状態保持部301内のデータを更新する。なお、本実施形態において、リソース状態保持部301には過去5つの時点の各リソースの状態が格納されているが、リソース状態保持部301には過去2つ以上の各リソースの状態が格納されていればよい。 When the measurement value collection unit 305 discretizes the measurement value of each resource corresponding to the new time, the measurement value collection unit 305 deletes the state of “T −4 ” and shifts “T 0 ” to “T −3 ” one to the left. The data in the resource state holding unit 301 is updated by shifting the state one by one and storing the state of each resource corresponding to the new time in “T 0 ”. In this embodiment, the resource state holding unit 301 stores the state of each resource at the past five points in time, but the resource state holding unit 301 stores the state of each of the past two or more resources. Just do it.

受付部307は、キーボードやマウス等の入力装置16を介して、予測すべき時点までの時間を示す予測時間、および、遷移関数を作成する時間間隔を示す作成時間を含む予測指示を、リソース状態予測装置30のユーザから受け付けた場合に、予測時間を測定回数算出部308へ送ると共に、作成時間を含む遷移ルールの収集開始指示を遷移ルール抽出部302へ送る。   The accepting unit 307 receives, via the input device 16 such as a keyboard or a mouse, a prediction instruction including a prediction time indicating a time until prediction and a generation time indicating a time interval for generating a transition function, as a resource state When received from the user of the prediction device 30, the prediction time is sent to the measurement number calculation unit 308, and a transition rule collection start instruction including the creation time is sent to the transition rule extraction unit 302.

測定回数算出部308は、受付部307から予測時間を受け取った場合に、当該予測時間内に、各リソースの測定値が測定される回数である測定回数を算出し、算出した測定回数を次状態予測部304へ送る。本実施形態において、監視対象システム14は、1分毎に各リソースの測定値を測定しており、測定回数算出部308は、受付部307から受け取った予測時間を1分で割った商を測定回数として算出する。   When receiving the predicted time from the accepting unit 307, the measurement number calculation unit 308 calculates a measurement number that is the number of times the measured value of each resource is measured within the prediction time, and the calculated measurement number is Send to the prediction unit 304. In this embodiment, the monitoring target system 14 measures the measurement value of each resource every minute, and the measurement count calculation unit 308 measures the quotient obtained by dividing the predicted time received from the reception unit 307 by one minute. Calculate as the number of times.

遷移ルール抽出部302は、遷移ルールの収集開始指示を受付部307から受け取った場合に、当該収集開始指示に含まれている作成時間毎に、連続する2つの時刻の各リソースの状態をリソース状態保持部301から順次読み出す。本実施形態において、遷移ルール抽出部302は、時刻Tにおける各リソースの状態(すなわち現在の各リソースの状態)と、時刻T−1における各リソースの状態とをリソース状態保持部301から読み出す。 When the transition rule extraction unit 302 receives a transition rule collection start instruction from the reception unit 307, the transition rule extraction unit 302 displays the state of each resource at two consecutive times for each creation time included in the collection start instruction. Read sequentially from the holding unit 301. In the present embodiment, the transition rule extraction unit 302 reads the state of each resource at time T 0 (ie, the current state of each resource) and the state of each resource at time T −1 from the resource state holding unit 301.

そして、遷移ルール抽出部302は、図5に示すように、それぞれのリソースの状態をセルオートマトンにおける1つのセルとみなし、それぞれの時刻毎に各リソースの状態を示す情報を1列に並べる。図5に示した例において、無地のセルは0の状態を示し、網掛けのセルは1の状態を示している。   Then, as illustrated in FIG. 5, the transition rule extraction unit 302 regards the state of each resource as one cell in the cellular automaton, and arranges information indicating the state of each resource in one column for each time. In the example shown in FIG. 5, a plain cell indicates a 0 state, and a shaded cell indicates a 1 state.

そして、遷移ルール抽出部302は、前の時刻の各リソースの状態において、対象となるセルを含む、連続して隣り合う所定数のセル毎に、当該所定数のセルのそれぞれの状態を入力状態とすると共に、後の時刻の各リソースの状態において、当該対象となるセルの状態を出力状態とする遷移ルールを抽出する。   Then, the transition rule extraction unit 302 inputs the state of each of the predetermined number of cells for each predetermined number of consecutive cells including the target cell in the state of each resource at the previous time. In addition, in the state of each resource at a later time, a transition rule whose output state is the state of the target cell is extracted.

本実施形態において、遷移ルール抽出部302は、前の時刻の各リソースの状態において、連続して隣り合う3個のセル毎に、当該3個のセルのそれぞれの状態を入力状態とする。また、遷移ルール抽出部302は、対象となるセルを、当該3個のセルの中央のセルとし、後の時刻の各リソースの状態において、当該対象となるセルの状態を出力状態とする。遷移ルール抽出部302によって全てのセルを対象として抽出された遷移ルール40は、例えば図6に示すようになる。遷移ルール抽出部302は、全てのセルを対象として抽出した遷移ルールを遷移関数作成部303へ送る。   In the present embodiment, the transition rule extraction unit 302 sets the state of each of the three cells as an input state for each of three adjacent cells in the state of each resource at the previous time. The transition rule extraction unit 302 sets the target cell as the center cell of the three cells, and sets the state of the target cell as an output state in the state of each resource at a later time. Transition rules 40 extracted for all cells by the transition rule extraction unit 302 are as shown in FIG. 6, for example. The transition rule extraction unit 302 sends the transition rules extracted for all cells to the transition function creation unit 303.

なお、リソース1を対象として遷移ルールを抽出する場合、遷移ルール抽出部302は、前の時刻の各リソースの状態として、リソースn、リソース1、およびリソース2を用いる。また、リソースnを対象として遷移ルールを抽出する場合、遷移ルール抽出部302は、時刻の各リソースの状態として、リソースn−1、リソースn、およびリソース1を用いる。   When a transition rule is extracted for resource 1, transition rule extraction unit 302 uses resource n, resource 1, and resource 2 as the state of each resource at the previous time. When extracting a transition rule for resource n, transition rule extraction unit 302 uses resource n-1, resource n, and resource 1 as the state of each resource at the time.

また、遷移ルール抽出部302は、遷移関数作成部303から遷移ルールの再抽出を指示された場合に、図7に示すように、さらに前の時刻の各リソースの状態をリソース状態保持部301から順次読み出し、前の時刻の各リソースの状態と、読み出したさらに前の時刻の各リソースの状態とから、それぞれのセルを対象とする遷移ルールを再度抽出し、再度抽出した遷移ルールを遷移関数作成部303へ送る。   Further, when the transition function extraction unit 302 is instructed to re-extract the transition rule from the transition function creation unit 303, the transition rule extraction unit 302 displays the state of each resource at the previous time from the resource state holding unit 301 as shown in FIG. Sequential readout, transition rules for each cell are extracted again from the state of each resource at the previous time and the state of each resource at the earlier time, and a transition function is created for the extracted transition rule again Send to section 303.

遷移関数作成部303は、遷移ルール抽出部302から遷移ルールを受け取った場合に、例えば図8に示すように、入力状態が同一となる遷移ルール毎に、それぞれの出力状態となる割合を算出する。図8に示す例では、前の状態42において、左のセル420が「0」、中央のセル421が「0」、右のセル422が「0」である場合、中央のセルの後の状態43は全て「0」となることが示されており、前の状態42において、左のセル420が「0」、中央のセル421が「1」、右のセル422が「1」である場合、中央のセルの後の状態43は、「0」となる割合が70%であり、「1」となる割合が30%であることが示されている。   When the transition function creation unit 303 receives the transition rule from the transition rule extraction unit 302, for example, as illustrated in FIG. 8, the transition function creation unit 303 calculates the ratio of the output state for each transition rule having the same input state. . In the example shown in FIG. 8, in the previous state 42, when the left cell 420 is “0”, the central cell 421 is “0”, and the right cell 422 is “0”, the state after the central cell 43 are all shown to be “0”. In the previous state 42, the left cell 420 is “0”, the center cell 421 is “1”, and the right cell 422 is “1”. In the state 43 after the central cell, the ratio of “0” is 70%, and the ratio of “1” is 30%.

遷移関数作成部303は、それぞれの遷移ルールにおいて、最も高い割合となる出力状態を当該遷移ルールにおける出力状態として採用し、採用された出力状態を含む複数の遷移ルールを用いて遷移関数を作成する。遷移関数作成部303によって作成された遷移関数44は例えば図9のようになる。そして、遷移関数作成部303は、出力状態の割合がリソース状態予測装置30の管理者等によって予め設定された第1の閾値(例えば80%)以上となっている遷移ルールの割合を、作成した遷移関数の確からしさを示す尤度として算出する。図8に示した例において第1の閾値が80%である場合、遷移関数作成部303は、図9に示した遷移関数44の尤度を、7÷8×100=87.5%と算出する。   The transition function creating unit 303 adopts the highest output state in each transition rule as the output state in the transition rule, and creates a transition function using a plurality of transition rules including the adopted output state. . The transition function 44 created by the transition function creation unit 303 is, for example, as shown in FIG. Then, the transition function creating unit 303 created a ratio of transition rules in which the ratio of the output state is equal to or higher than a first threshold (for example, 80%) preset by the administrator of the resource state prediction device 30 or the like. Calculated as a likelihood indicating the likelihood of the transition function. In the example shown in FIG. 8, when the first threshold is 80%, the transition function creation unit 303 calculates the likelihood of the transition function 44 shown in FIG. 9 as 7 ÷ 8 × 100 = 87.5%. To do.

そして、遷移関数作成部303は、算出した遷移関数の尤度が、リソース状態予測装置30の管理者等によって予め設定された第2の閾値(例えば70%)以上となっているか否かを判定する。算出した遷移関数の尤度が第2の閾値以上である場合、遷移関数作成部303は、算出した遷移関数を、算出した尤度と共に次状態予測部304へ送る。   Then, the transition function creation unit 303 determines whether or not the calculated likelihood of the transition function is equal to or greater than a second threshold (for example, 70%) preset by the administrator of the resource state prediction device 30 or the like. To do. When the likelihood of the calculated transition function is equal to or greater than the second threshold, the transition function creating unit 303 sends the calculated transition function to the next state prediction unit 304 together with the calculated likelihood.

一方、算出した遷移関数の尤度が第2の閾値未満である場合、遷移関数作成部303は、遷移ルールの再抽出を遷移ルール抽出部302に指示する。その後、遷移ルール抽出部302から新たな遷移ルールを受け取った場合、遷移関数作成部303は、受け取った遷移ルールを、遷移ルール抽出部302から前回受け取った遷移ルールと統合して、入力状態が同一となる遷移ルール毎に、それぞれの出力状態となる割合を算出する。このように、遷移関数の尤度が所定値以上となるまで遷移ルールの抽出を繰り返すため、リソース状態予測装置30は、算出される遷移関数の精度を高めることができる。   On the other hand, when the calculated likelihood of the transition function is less than the second threshold, the transition function creation unit 303 instructs the transition rule extraction unit 302 to re-extract the transition rule. After that, when a new transition rule is received from the transition rule extraction unit 302, the transition function creation unit 303 integrates the received transition rule with the transition rule previously received from the transition rule extraction unit 302, and the input state is the same. For each transition rule, the ratio of each output state is calculated. As described above, since the extraction of the transition rule is repeated until the likelihood of the transition function becomes a predetermined value or more, the resource state prediction device 30 can improve the accuracy of the calculated transition function.

次状態予測部304は、測定回数算出部308から測定回数を受け取った場合に、現在の各リソースの状態をリソース状態保持部301から順次読み出す。そして、次状態予測部304は、それぞれのリソースをセルオートマトンにおける1つのセルとみなし、対象となるセルを含む、連続して隣り合う所定数のセル毎に、当該所定数のセルのそれぞれの状態を入力状態とする遷移ルールを、遷移関数作成部303から受け取った遷移関数から抽出する。   When the next state prediction unit 304 receives the measurement number from the measurement number calculation unit 308, the next state prediction unit 304 sequentially reads the current state of each resource from the resource state holding unit 301. Then, the next state prediction unit 304 regards each resource as one cell in the cellular automaton, and each state of the predetermined number of cells for each predetermined number of consecutive cells including the target cell. Are extracted from the transition function received from the transition function creation unit 303.

そして、次状態予測部304は、抽出した遷移ルールに含まれている出力状態を、当該対象となるセルの次の時刻における状態として算出する。次状態予測部304は、図10に示すように、全てのセルのそれぞれを対象とし、現在の各リソースの状態を初期状態として、遷移関数作成部303から受け取った遷移関数を用いて各リソースの次の状態を求める処理を、測定回数算出部308から受け取った測定回数分繰り返すことにより、ユーザから指示された時点における各リソースの状態を予測する。   Then, the next state prediction unit 304 calculates the output state included in the extracted transition rule as the state at the next time of the target cell. As shown in FIG. 10, the next state prediction unit 304 targets all the cells, sets the current state of each resource as an initial state, and uses the transition function received from the transition function creation unit 303 to By repeating the processing for obtaining the next state for the number of times of measurement received from the number of times of measurement calculation unit 308, the state of each resource at the time point instructed by the user is predicted.

そして、次状態予測部304は、例えば図11に示すような予測結果50を作成し、作成した予測結果50をリソース変更量算出装置20および表示部300へ送る。予測結果50には、リソースID51毎に、対応するリソースの現在の状態52、および対応するリソースの予測状態53が、予測状態53の算出に用いられた遷移関数の尤度54と共に格納されている。なお、次状態予測部304は、遷移関数作成部303によって新たな遷移関数が算出されるまでは、遷移関数作成部303によって前回算出された遷移関数を用いて、ユーザから指示された時点における各リソースの状態を予測する。   Then, the next state prediction unit 304 creates a prediction result 50 as shown in FIG. 11, for example, and sends the created prediction result 50 to the resource change amount calculation device 20 and the display unit 300. In the prediction result 50, for each resource ID 51, the current state 52 of the corresponding resource and the prediction state 53 of the corresponding resource are stored together with the likelihood 54 of the transition function used to calculate the prediction state 53. . The next state predicting unit 304 uses the transition function previously calculated by the transition function creating unit 303 until the new transition function is calculated by the transition function creating unit 303. Predict resource status.

このように、本実施形態のリソース状態予測装置30は、各リソースの状態を予測するために作成すべき遷移関数は1つでよいため、従来のように複数のリソースのそれぞれについて、それぞれのリソースの測定値の挙動を表す近似式を求めるような処理を行う必要が無く、処理負荷を低く抑えることができる。また、遷移関数を求めるためには、最低2つの異なる時刻において測定された各リソースの測定値があればよいため、従来のように、それぞれのリソースについて何十、何百という測定値の履歴を保持しておく必要が無い。従って、必要なメモリ容量を少なくすることができる。   As described above, the resource state prediction apparatus 30 according to the present embodiment needs only one transition function to predict the state of each resource. Therefore, it is not necessary to perform a process for obtaining an approximate expression representing the behavior of the measured value, and the processing load can be reduced. In addition, in order to obtain the transition function, it is only necessary to have the measured values of each resource measured at at least two different times. Thus, as in the past, dozens or hundreds of measured value histories are stored for each resource. There is no need to keep it. Therefore, the required memory capacity can be reduced.

表示部300は、次状態予測部304によって予測された各リソースの状態と、測定値収集部305によって収集された各リソースの実際の状態とを、例えば図12に示すような予測結果画面60として表示装置15に表示する。図12に示す予測結果画面60において、領域61には、各リソースのリソースIDが表示され、領域62には、各リソースの状態が表示され、領域63には、各リソースにおいて予測された状態と実際の状態とが一致している割合を示す予測成功率が表示される。   The display unit 300 displays the state of each resource predicted by the next state prediction unit 304 and the actual state of each resource collected by the measurement value collection unit 305 as a prediction result screen 60 as shown in FIG. It is displayed on the display device 15. In the prediction result screen 60 shown in FIG. 12, the resource ID of each resource is displayed in the area 61, the state of each resource is displayed in the area 62, and the state predicted in each resource is displayed in the area 63. A predicted success rate indicating the rate at which the actual state matches is displayed.

予測結果画面60において、ボタン64またはボタン65が操作されると、表示部300は、より古い各リソースの状態、または、より新しい各リソースの状態を表示装置15に表示する。また、ボタン66またはボタン67が操作されると、表示部300は、画面に表示されていない他のリソースの状態を表示装置15に表示する。   When the button 64 or the button 65 is operated on the prediction result screen 60, the display unit 300 displays the older state of each resource or the newer state of each resource on the display device 15. When the button 66 or the button 67 is operated, the display unit 300 displays the state of other resources not displayed on the screen on the display device 15.

予測結果画面60を閲覧することにより、リソース状態予測装置30のユーザは、リソース状態予測装置30による予測の精度を視覚的に認識することができる。また、リソース状態予測装置30のユーザは、予測結果画面60を閲覧することにより、予測が失敗しやすいリソースを見つけることができる。   By browsing the prediction result screen 60, the user of the resource state prediction device 30 can visually recognize the accuracy of prediction by the resource state prediction device 30. Further, the user of the resource state prediction device 30 can find a resource that is likely to fail in prediction by browsing the prediction result screen 60.

図13は、リソース変更量算出装置20の機能構成の一例を示すブロック図である。リソース変更量算出装置20は、変更量取得部21、リソース変更量算出部22、およびリソース情報保持部23を備える。   FIG. 13 is a block diagram illustrating an example of a functional configuration of the resource change amount calculation device 20. The resource change amount calculation device 20 includes a change amount acquisition unit 21, a resource change amount calculation unit 22, and a resource information holding unit 23.

リソース情報保持部23には、例えば図14に示すように、リソースID230毎に、当該リソースID230に対応するリソースの種別231、当該リソースの変更が可能か否かを示す制御232、および当該リソースの現時点での全体量233が格納されている。追加または返上が可能なリソースについては、制御232の欄に○が格納され、追加または返上が不可能なリソースについては、制御232の欄に×が格納される。   For example, as illustrated in FIG. 14, the resource information holding unit 23 includes, for each resource ID 230, a resource type 231 corresponding to the resource ID 230, a control 232 indicating whether or not the resource can be changed, and the resource information The current total amount 233 is stored. For resources that can be added or returned, a circle is stored in the control 232 column, and for resources that cannot be added or returned, a cross is stored in the control 232 column.

変更量取得部21は、実際に変更したリソースの量を自律制御装置13から受け取った場合に、対応するリソースについて、リソース情報保持部23内の全体量233を更新する。   When the change amount acquisition unit 21 receives the actually changed resource amount from the autonomous control device 13, the change amount acquisition unit 21 updates the total amount 233 in the resource information holding unit 23 for the corresponding resource.

リソース変更量算出部22は、図11に示した予測結果50をリソース状態予測装置30から受信した場合に、現在の状態と予測状態とを比較して、状態が変化しているリソースのリソースIDを特定する。そして、リソース変更量算出部22は、変化リソース抽出部23を参照して、特定したリソースIDに対応するリソースが追加または返上が可能なリソースである場合に、現在の状態が「1」で、予測状態が「0」であるものについては、リソースを返上すべきと判定し、現在の状態が「0」で、予測状態が「1」であるものについては、リソースを追加すべきと判定する。   When the resource change amount calculation unit 22 receives the prediction result 50 shown in FIG. 11 from the resource state prediction device 30, the resource change amount calculation unit 22 compares the current state with the prediction state, and the resource ID of the resource whose state is changing Is identified. Then, the resource change amount calculation unit 22 refers to the change resource extraction unit 23, and when the resource corresponding to the identified resource ID is a resource that can be added or returned, the current state is “1”, If the predicted state is “0”, it is determined that the resource should be returned, and if the current state is “0” and the predicted state is “1”, it is determined that the resource should be added. .

次に、リソース変更量算出部22は、変化リソース抽出部23を参照して、追加または返上させるリソースの量を、状態が変化しているそれぞれのリソースについて算出する。本実施形態において、リソース変更量算出部22は、予め定められた割合(例えば10%)に対応する量を、追加または返上させるリソースの量として算出する。例えば、リソース変更量算出部22は、図14において、リソースIDが「0002」のリソースについては、5Gビット×10%=500Mビットを追加するリソースの量として算出する。   Next, the resource change amount calculation unit 22 refers to the change resource extraction unit 23 and calculates the amount of the resource to be added or returned for each resource whose state has changed. In the present embodiment, the resource change amount calculation unit 22 calculates an amount corresponding to a predetermined ratio (for example, 10%) as the amount of resources to be added or returned. For example, in FIG. 14, the resource change amount calculation unit 22 calculates 5 G bits × 10% = 500 M bits as the amount of resources for the resource with the resource ID “0002”.

そして、リソース変更量算出部22は、状態が変化しており、かつ、リソースの追加または返上が可能なそれぞれのリソースについて算出した、追加または返上すべきリソースの量を、リソース状態予測装置30から受け取った予測結果50に含まれている尤度と共に自律制御装置13へ送る。これを受け取った自律制御装置13は、例えば、尤度が予め定められた値(例えば90%)以上の場合に、リソース変更量算出装置20から受け取った、追加または返上すべきリソースの量に基づいて監視対象システム14を制御する。   Then, the resource change amount calculation unit 22 calculates, from the resource state prediction device 30, the amount of the resource to be added or returned, calculated for each resource whose state has been changed and to which the resource can be added or returned. It is sent to the autonomous control device 13 together with the likelihood included in the received prediction result 50. The autonomous control device 13 that has received this is based on the amount of resources to be added or returned received from the resource change amount calculation device 20 when the likelihood is equal to or greater than a predetermined value (for example, 90%). To control the monitoring target system 14.

ここで、本実施形態における自律制御では、監視対象システム14が望ましい負荷状態(各リソースの利用率があまり高すぎず、多少の負荷の上昇にも対応可能な状態であると共に、各リソースの利用率があまり低すぎず、各リソースの利用効率が高い状態)で稼動している場合に、その負荷状態を維持するように制御する。すなわち、リソース状態予測装置30のユーザは、監視対象システム14が望ましい負荷状態にあるときに所定時間後の各リソースの負荷状態をリソース状態予測装置30に予測させ、リソース変更量算出装置20は、リソース状態予測装置30の予測結果から、監視対象システム14の負荷状態を、前記望ましい負荷状態へ戻すためのリソースの変更量を自律制御装置13へ提供する。   Here, in the autonomous control in the present embodiment, the monitoring target system 14 is in a desirable load state (the utilization rate of each resource is not too high and can cope with a slight increase in load, and the use of each resource) When the system is operating in a state where the rate is not too low and the utilization efficiency of each resource is high), control is performed so as to maintain the load state. That is, the user of the resource state prediction device 30 causes the resource state prediction device 30 to predict the load state of each resource after a predetermined time when the monitored system 14 is in a desired load state, and the resource change amount calculation device 20 From the prediction result of the resource state prediction device 30, a resource change amount for returning the load state of the monitored system 14 to the desired load state is provided to the autonomous control device 13.

図15は、第1実施形態における制御システム10の動作の一例を示すフローチャートである。各リソースの状態を予測すべき時点までの時間を示す予測時間、および、遷移関数を作成する時間間隔を示す作成時間を含む予測指示を、ユーザから受け付けた場合に、制御システム10は、本フローチャートに示す動作を開始する。なお、リソース状態予測装置30の測定値収集部305による測定値の収集、および、リソース変更量算出装置20の変更量取得部21によるリソースの変更量の取得に関する処理は、随時実行されているものとする。   FIG. 15 is a flowchart illustrating an example of the operation of the control system 10 in the first embodiment. When a prediction instruction including a prediction time indicating a time until a time point at which each resource state is to be predicted and a generation time indicating a time interval for generating a transition function is received from the user, the control system 10 performs this flowchart. The operation shown in is started. The processing related to the collection of measurement values by the measurement value collection unit 305 of the resource state prediction device 30 and the acquisition of resource change amounts by the change amount acquisition unit 21 of the resource change amount calculation device 20 is executed as needed. And

まず、受付部307は、予測時間を測定回数算出部308へ送ると共に、作成時間を含む遷移ルールの収集開始指示を遷移ルール抽出部302へ送る。そして、遷移ルール抽出部302は、作成時間をカウントするためのタイマをリセットする(S100)。   First, the reception unit 307 sends the prediction time to the measurement number calculation unit 308 and also sends a transition rule collection start instruction including the creation time to the transition rule extraction unit 302. Then, the transition rule extraction unit 302 resets a timer for counting the creation time (S100).

次に、測定回数算出部308は、受付部307から受け取った予測時間内に、各リソースの測定値が測定される回数である測定回数を算出し、算出した測定回数を次状態予測部304へ送る(S101)。そして、リソース状態予測装置30は、予測時間が経過した後の各リソースの状態を予測する予測処理を実行し、予測結果をリソース変更量算出装置20へ出力する(S200)。予測処理の詳細については後述する。   Next, the measurement number calculation unit 308 calculates a measurement number that is the number of times the measured value of each resource is measured within the prediction time received from the reception unit 307, and sends the calculated measurement number to the next state prediction unit 304. Send (S101). Then, the resource state prediction device 30 executes a prediction process for predicting the state of each resource after the prediction time has elapsed, and outputs a prediction result to the resource change amount calculation device 20 (S200). Details of the prediction process will be described later.

次に、リソース変更量算出部22は、リソース状態予測装置30から受信した予測結果に含まれている現在の状態と予測状態とを比較して、状態が変化しているリソースのリソースIDを特定し、特定したリソースIDについて、変化リソース抽出部23を参照して、追加または返上させるリソースの量を、状態が変化しているそれぞれのリソースについて算出する(S102)。そして、リソース変更量算出部22は、状態が変化しているそれぞれのリソースについて算出した、追加または返上すべきリソースの量を、リソース状態予測装置30から受け取った予測結果50に含まれている尤度と共に自律制御装置13へ送る。   Next, the resource change amount calculation unit 22 compares the current state included in the prediction result received from the resource state prediction device 30 with the prediction state, and identifies the resource ID of the resource whose state has changed. Then, with respect to the identified resource ID, the changed resource extraction unit 23 is referred to, and the amount of the resource to be added or returned is calculated for each resource whose state has changed (S102). Then, the resource change amount calculation unit 22 calculates the amount of the resource to be added or returned, calculated for each resource whose state has changed, in the prediction result 50 received from the resource state prediction device 30. To the autonomous control device 13 together with the degree.

次に、自律制御装置13は、例えば、尤度が予め定められた値以上か否かを判定することにより、リソース変更量算出装置20によって算出されたリソースの変更量を採用するか否かを判定する(S103)。リソース変更量算出装置20によって算出されたリソースの変更量を採用する場合(S103:Yes)、自律制御装置13は、リソース変更量算出装置20によって算出されたリソースの変更量に従って監視対象システム14内の各リソースの量を変更し(S104)、リソース状態予測装置30は、再びステップS200に示した処理を実行する。   Next, the autonomous control device 13 determines whether or not to adopt the resource change amount calculated by the resource change amount calculation device 20, for example, by determining whether or not the likelihood is equal to or greater than a predetermined value. Determine (S103). When the resource change amount calculated by the resource change amount calculation device 20 is adopted (S103: Yes), the autonomous control device 13 in the monitoring target system 14 in accordance with the resource change amount calculated by the resource change amount calculation device 20 The amount of each resource is changed (S104), and the resource state prediction device 30 executes the process shown in step S200 again.

一方、リソース変更量算出装置20によって算出されたリソースの変更量を採用しない場合(S103:No)、自律制御装置13は、制御システム10の運用管理者によって予め設定された制御ポリシに従って監視対象システム14内の各リソースの量を制御し(S105)、リソース状態予測装置30は、再びステップS200に示した処理を実行する。   On the other hand, when the resource change amount calculated by the resource change amount calculation device 20 is not employed (S103: No), the autonomous control device 13 monitors the system to be monitored according to the control policy set in advance by the operation manager of the control system 10. 14 is controlled (S105), and the resource state prediction device 30 executes the process shown in step S200 again.

図16は、第1実施形態における予測処理(S200)の一例を示すフローチャートである。   FIG. 16 is a flowchart illustrating an example of the prediction process (S200) in the first embodiment.

まず、遷移ルール抽出部302は、作成時間をカウントするためのタイマを参照して、遷移関数を作成するタイミングとなったか否かを判定する(S201)。遷移関数の作成タイミングである場合(S201:Yes)、遷移ルール抽出部302は、タイマをリセットする(S202)。そして、遷移ルール抽出部302は、連続する2つの時刻それぞれの各リソースの状態をリソース状態保持部301から順次読み出す(S203)。   First, the transition rule extraction unit 302 refers to a timer for counting the creation time and determines whether or not it is time to create a transition function (S201). When it is time to create a transition function (S201: Yes), the transition rule extraction unit 302 resets the timer (S202). Then, the transition rule extraction unit 302 sequentially reads out the state of each resource at each of two consecutive times from the resource state holding unit 301 (S203).

次に、遷移ルール抽出部302は、図5で説明したように、それぞれのリソースをセルオートマトンにおける1つのセルとみなし、それぞれの時刻毎に各リソースの状態を示す情報を1列に並べ、前の時刻の各リソースの状態において、対象となるセルを含む、連続して隣り合う所定数のセル毎に、当該所定数のセルのそれぞれの状態を入力状態とすると共に、後の時刻の各リソースの状態において、当該対象となるセルの状態を出力状態とする遷移ルールを抽出する。そして、遷移ルール抽出部302は、全てのセルを対象として抽出した遷移ルール(図6参照)を遷移関数作成部303へ送る(S204)。   Next, as described with reference to FIG. 5, the transition rule extraction unit 302 regards each resource as one cell in the cellular automaton, arranges information indicating the state of each resource at each time in one column, For each predetermined number of adjacent cells including the target cell in the state of each resource at the time, the respective states of the predetermined number of cells are set as input states, and each resource at a later time In this state, a transition rule whose output state is the state of the target cell is extracted. Then, the transition rule extraction unit 302 sends the transition rules (see FIG. 6) extracted for all cells to the transition function creation unit 303 (S204).

次に、遷移関数作成部303は、図8で説明したように、入力状態が同一となる遷移ルール毎に、それぞれの出力状態となる割合を算出する。そして、遷移関数作成部303は、それぞれの遷移ルールにおいて、最も高い割合となる出力状態を当該遷移ルールにおける出力状態として採用し、採用された出力状態を含む複数の遷移ルールを用いて遷移関数を作成する(S205)。   Next, as described with reference to FIG. 8, the transition function creating unit 303 calculates the ratio of each output state for each transition rule having the same input state. Then, the transition function creation unit 303 adopts the highest output state in each transition rule as the output state in the transition rule, and uses the plurality of transition rules including the adopted output state to generate the transition function. Create (S205).

次に、遷移関数作成部303は、出力状態の割合がリソース状態予測装置30の管理者等によって予め設定された第1の閾値(例えば80%)以上となっている遷移ルールの割合を、作成した遷移関数の確からしさを示す尤度として算出する。そして、遷移関数作成部303は、算出した遷移関数の尤度が、リソース状態予測装置30の管理者等によって予め設定された第2の閾値(例えば70%)以上となっているか否かを判定する(S206)。   Next, the transition function creation unit 303 creates a ratio of transition rules whose output state ratio is equal to or higher than a first threshold (for example, 80%) preset by the administrator of the resource state prediction apparatus 30 or the like. It is calculated as a likelihood indicating the certainty of the transition function. Then, the transition function creation unit 303 determines whether or not the calculated likelihood of the transition function is equal to or greater than a second threshold (for example, 70%) preset by the administrator of the resource state prediction device 30 or the like. (S206).

算出した遷移関数の尤度が第2の閾値以上である場合(S206:Yes)、遷移関数作成部303は、算出した遷移関数を、算出した尤度と共に次状態予測部304へ送る。次状態予測部304は、それぞれのリソースをセルオートマトンにおける1つのセルとみなし、対象となるセルを含む、連続して隣り合う所定数のセル毎に、当該所定数のセルのそれぞれの状態を入力状態とする遷移ルールを、遷移関数作成部303から受け取った遷移関数から抽出する。   When the calculated likelihood of the transition function is greater than or equal to the second threshold (S206: Yes), the transition function creation unit 303 sends the calculated transition function together with the calculated likelihood to the next state prediction unit 304. The next state prediction unit 304 regards each resource as one cell in the cellular automaton, and inputs each state of the predetermined number of cells for each predetermined number of cells adjacent to each other including the target cell. A transition rule to be a state is extracted from the transition function received from the transition function creation unit 303.

そして、次状態予測部304は、抽出した遷移ルールに含まれている出力状態を、当該対象となるセルの次の時刻における状態として算出する。次状態予測部304は、図10で説明したように、全てのセルのそれぞれを対象とし、現在の各リソースの状態を初期状態として、遷移関数作成部303から受け取った遷移関数を用いて各リソースの次の状態を求める処理を、測定回数算出部308から受け取った測定回数分繰り返すことにより、ユーザから指示された時点における各リソースの状態を予測する(S207)。   Then, the next state prediction unit 304 calculates the output state included in the extracted transition rule as the state at the next time of the target cell. As described with reference to FIG. 10, the next state prediction unit 304 targets all of the cells, sets the current state of each resource as an initial state, and uses each transition function received from the transition function creation unit 303. The state of each resource at the time point instructed by the user is predicted by repeating the processing for obtaining the next state for the number of times of measurement received from the number of times of measurement calculation unit 308 (S207).

次に、次状態予測部304は、図11に例示した予測結果50を作成し、作成した予測結果50をリソース変更量算出装置20および表示部300へ送る(S208)。表示部300は、次状態予測部304によって予測された各リソースの状態と、測定値収集部305によって収集された各リソースの実際の状態とを、図12に示したような予測結果画面60として表示装置15に表示し(S209)、リソース状態予測装置30は、本フローチャート示す予測処理(S200)を終了する。   Next, the next state prediction unit 304 creates the prediction result 50 illustrated in FIG. 11, and sends the created prediction result 50 to the resource change amount calculation device 20 and the display unit 300 (S208). The display unit 300 displays the state of each resource predicted by the next state prediction unit 304 and the actual state of each resource collected by the measurement value collection unit 305 as a prediction result screen 60 as shown in FIG. The information is displayed on the display device 15 (S209), and the resource state prediction device 30 ends the prediction process (S200) shown in this flowchart.

なお、ステップS201において、遷移関数の作成タイミングではない場合(S201:No)、次状態予測部304は、遷移関数作成部303によって前回作成された遷移関数を用いて、ユーザから指示された時点における各リソースの状態を予測し(S213)、次状態予測部304は、ステップS208に示した処理を実行する。   If it is not the transition function creation timing in step S201 (S201: No), the next state prediction unit 304 uses the transition function created last time by the transition function creation unit 303 at the time point instructed by the user. The state of each resource is predicted (S213), and the next state prediction unit 304 executes the process shown in step S208.

また、ステップS206において、算出した遷移関数の尤度が第2の閾値未満である場合(S206:No)、遷移関数作成部303は、遷移ルールの再抽出を遷移ルール抽出部302に指示する。そして、遷移ルール抽出部302は、さらに前の時刻における各リソースの測定値がリソース状態保持部301内に存在するか否かを判定する(S210)。   In step S206, when the calculated likelihood of the transition function is less than the second threshold (S206: No), the transition function creation unit 303 instructs the transition rule extraction unit 302 to re-extract the transition rule. Then, the transition rule extraction unit 302 determines whether or not the measured value of each resource at the previous time exists in the resource state holding unit 301 (S210).

さらに前の時刻における各リソースの測定値がリソース状態保持部301内に存在する場合(S210:Yes)、遷移ルール抽出部302は、図7で説明したように、さらに前の時刻の各リソースの状態をリソース状態保持部301から順次読み出す(S212)。そして、遷移ルール抽出部302は、ステップS204において、前の時刻の各リソースの状態と、さらに前の時刻の各リソースの状態とから、それぞれのセルを対象とする遷移ルールを再度抽出する。   Further, when the measured value of each resource at the previous time is present in the resource state holding unit 301 (S210: Yes), the transition rule extracting unit 302, as described in FIG. The state is sequentially read from the resource state holding unit 301 (S212). Then, in step S204, the transition rule extraction unit 302 extracts again the transition rule for each cell from the state of each resource at the previous time and the state of each resource at the previous time.

一方、さらに前の時刻における各リソースの測定値がリソース状態保持部301内に存在しない場合(S210:No)、遷移ルール抽出部302は、表示装置15等を介してユーザにエラーを通知し(S211)、リソース状態予測装置30は、本フローチャート示す予測処理(S200)を終了する。なお、さらに前の時刻における各リソースの測定値がリソース状態保持部301内に存在しない場合(S210:No)、今回の処理において遷移関数は作成されないが、次状態予測部304は前回作成された遷移関数を引き続き用いて所定時間後の各リソースの状態を予測することができる。   On the other hand, when the measured value of each resource at the previous time does not exist in the resource state holding unit 301 (S210: No), the transition rule extracting unit 302 notifies the user of an error via the display device 15 or the like ( (S211), the resource state prediction apparatus 30 ends the prediction process (S200) shown in this flowchart. In addition, when the measured value of each resource at the previous time does not exist in the resource state holding unit 301 (S210: No), the transition function is not created in this processing, but the next state prediction unit 304 is created last time. The state of each resource after a predetermined time can be predicted using the transition function continuously.

以上、本発明の第1の実施形態について説明した。   The first embodiment of the present invention has been described above.

上記説明から明らかなように、本実施形態のリソース状態予測装置30によれば、計算機リソースの動的なニーズを予測する際の処理負荷を低く抑えると共に、予測計算に必要なデータの量を少なくすることができる。   As is clear from the above description, according to the resource state prediction device 30 of the present embodiment, the processing load when predicting the dynamic needs of computer resources is kept low, and the amount of data required for prediction calculation is reduced. can do.

次に、本発明の第2の実施形態について説明する。   Next, a second embodiment of the present invention will be described.

図17は、第2実施形態におけるリソース状態予測装置30の機能構成の一例を示すブロック図である。リソース状態予測装置30は、表示部300、リソース状態保持部301、遷移ルール抽出部302、遷移関数作成部303、次状態予測部304、測定値収集部305、閾値情報保持部306、受付部307、測定回数算出部308、および機器構成情報保持部309を備える。   FIG. 17 is a block diagram illustrating an example of a functional configuration of the resource state prediction device 30 according to the second embodiment. The resource state prediction apparatus 30 includes a display unit 300, a resource state holding unit 301, a transition rule extraction unit 302, a transition function creation unit 303, a next state prediction unit 304, a measured value collection unit 305, a threshold information holding unit 306, and a reception unit 307. A measurement number calculation unit 308 and a device configuration information holding unit 309.

なお、以下に説明する点を除き、図17において、図2と同じ符号を付した構成は、図2における構成と同一または同様の機能を有するため説明を省略する。本実施形態のリソース状態予測装置30は、機器構成情報保持部309を備える点が第1の実施形態のリソース状態予測装置30とは異なる。   Except for the points described below, in FIG. 17, the components denoted by the same reference numerals as those in FIG. 2 have the same or similar functions as those in FIG. The resource state prediction apparatus 30 of the present embodiment is different from the resource state prediction apparatus 30 of the first embodiment in that the device state information holding unit 309 is provided.

機器構成情報保持部309には、例えば図18に示すように、リソースID3090毎に、当該リソースID3090に対応するリソースの名称3091、および、当該リソースに隣接している他のリソースのIDを示す隣接リソースID3092が格納されている。機器構成情報保持部309内のデータは、監視対象システム14の設計者等によって予め設定される。   For example, as illustrated in FIG. 18, the device configuration information holding unit 309 includes, for each resource ID 3090, a resource name 3091 corresponding to the resource ID 3090 and an adjacent resource ID that indicates the ID of another resource adjacent to the resource. A resource ID 3092 is stored. Data in the device configuration information holding unit 309 is set in advance by a designer of the monitoring target system 14 or the like.

ここで、隣接しているとは、同一基板上に配置されたCPUとメモリのように物理的に近い位置に配置されている状態だけでなく、物理的に離れた場所に配置されていたとしても、通信回線を介して互いに通信するサーバ等のように、一方の状態が他方の状態に与える影響が大きい状態にあることを意味する。リソース間の隣接関係は、例えば図19に示すように、それぞれのリソースを示すノード70と、リソースどうしが隣接していることを示すリンク71とで表される。なお、図19に示したリソース間の隣接関係を示す図は、監視対象システム14の設計者によって予め定められている。   Here, the term “adjacent” means not only a state in which the CPU and the memory are arranged on the same substrate, but also a state where they are physically separated, as well as a state where they are physically separated. This also means that one state has a great influence on the other state, such as servers that communicate with each other via a communication line. For example, as shown in FIG. 19, the adjacency relationship between resources is represented by a node 70 indicating each resource and a link 71 indicating that the resources are adjacent to each other. In addition, the figure which shows the adjacency relationship between the resources shown in FIG. 19 is predetermined by the designer of the monitoring target system 14.

遷移ルール抽出部302は、遷移ルールの収集開始指示を受付部307から受け取った場合に、機器構成情報保持部309を参照して、リソースを1列に並べたときにリソース間の距離が最小となるように、各リソースの位置を入れ替える。例えば、図19に示したリソースの関係を、1つのリンク71を距離1としてマトリクス72を作ると、例えば図20のようになる。リソースA〜Fを1列に並べたときにリソース間の距離が最小となるようにするためには、距離が0のみで構成される対角成分の右隣の成分(図20の点線の成分)の距離の合計が最小となるようにリソースの位置を入れ替えればよい。   When the transition rule extraction unit 302 receives a transition rule collection start instruction from the reception unit 307, the transition rule extraction unit 302 refers to the device configuration information holding unit 309 and determines that the distance between the resources is the minimum when the resources are arranged in one column. The position of each resource is exchanged so that For example, when the relationship of resources shown in FIG. 19 is made with one link 71 as the distance 1 and the matrix 72 is created, for example, FIG. 20 is obtained. In order to minimize the distance between resources when the resources A to F are arranged in a line, the component on the right side of the diagonal component having only the distance 0 (the dotted line component in FIG. 20). The positions of the resources may be switched so that the sum of the distances in () is minimized.

図20の例では、リソースBとリソースEとを入れ替えた後に、リソースBとリソースDとを入れ替え、その後に、リソースFとリソースDとを入れ替えることにより、対角成分の右隣の成分の距離の合計を最小にすることができる。このような操作により、対角成分の右隣の成分の距離の合計が最小となったマトリクス73を図示すると、例えば図21のようになる。   In the example of FIG. 20, the resource B and the resource E are exchanged, then the resource B and the resource D are exchanged, and then the resource F and the resource D are exchanged. Can be minimized. FIG. 21 shows, for example, a matrix 73 in which the total of the distances of the components on the right side of the diagonal component is minimized by such an operation.

遷移ルール抽出部302は、リソース間の距離が最小となるようにリソースの位置を入れ替えた後に、遷移ルールの収集開始指示に含まれている作成時間毎に、連続する2つの時刻の各リソースの状態をリソース状態保持部301から順次読み出して遷移ルールを抽出する。その後のリソース状態予測装置30の処理については、第1の実施形態と同様である。   The transition rule extraction unit 302 replaces the positions of the resources so that the distance between the resources is minimized, and then, for each creation time included in the transition rule collection start instruction, the transition rule extraction unit 302 The state is sequentially read from the resource state holding unit 301 to extract a transition rule. Subsequent processing of the resource state prediction device 30 is the same as in the first embodiment.

このように、関連性の高いリソースを近い位置に配置してセルオートマトンを適用することにより、現実のシステムの挙動により近い状態遷移を再現することができる。これにより、作成される遷移関数の精度を高めることができる。   In this way, state transitions closer to the behavior of an actual system can be reproduced by applying cellular automata by placing highly relevant resources at close positions. Thereby, the precision of the created transition function can be increased.

図22は、第2実施形態における制御システム10の動作の一例を示すフローチャートである。なお、以下に説明する点を除き、図22において、図15と同じ符号を付した処理は、図15における処理と同一または同様であるため説明を省略する。   FIG. 22 is a flowchart showing an example of the operation of the control system 10 in the second embodiment. Except for the points described below, in FIG. 22, the processes denoted by the same reference numerals as those in FIG. 15 are the same as or similar to the processes in FIG.

ステップS101において、測定回数算出部308が測定回数を算出した後、遷移ルール抽出部302は、機器構成情報保持部309を参照して、リソースを1列に並べたときにリソース間の距離が最小となるように、各リソースの位置を入れ替え(S110)、リソース状態予測装置30は、予測処理を実行する(S200)。   In step S101, after the number-of-measurements calculation unit 308 calculates the number of measurements, the transition rule extraction unit 302 refers to the device configuration information holding unit 309, and the distance between the resources is minimum when the resources are arranged in one column. The position of each resource is changed so that (S110), and the resource state prediction device 30 executes a prediction process (S200).

以上、本発明の第2の実施形態について説明した。   The second embodiment of the present invention has been described above.

次に、本発明の第3の実施形態について説明する。   Next, a third embodiment of the present invention will be described.

図23は、第3実施形態におけるリソース状態予測装置30の機能構成の一例を示すブロック図である。リソース状態予測装置30は、表示部300、リソース状態保持部301、遷移ルール抽出部302、遷移関数作成部303、次状態予測部304、測定値収集部305、閾値情報保持部306、受付部307、測定回数算出部308、リスク値算出部310、およびコスト情報保持部311を備える。   FIG. 23 is a block diagram illustrating an example of a functional configuration of the resource state prediction device 30 according to the third embodiment. The resource state prediction apparatus 30 includes a display unit 300, a resource state holding unit 301, a transition rule extraction unit 302, a transition function creation unit 303, a next state prediction unit 304, a measured value collection unit 305, a threshold information holding unit 306, and a reception unit 307. , A measurement number calculation unit 308, a risk value calculation unit 310, and a cost information holding unit 311.

なお、以下に説明する点を除き、図23において、図2と同じ符号を付した構成は、図2における構成と同一または同様の機能を有するため説明を省略する。本実施形態のリソース状態予測装置30は、リスク値算出部310およびコスト情報保持部311を備える点が第1の実施形態のリソース状態予測装置30とは異なる。   Except for the points described below, in FIG. 23, the components denoted by the same reference numerals as those in FIG. 2 have the same or similar functions as those in FIG. The resource state prediction apparatus 30 of the present embodiment is different from the resource state prediction apparatus 30 of the first embodiment in that a risk value calculation unit 310 and a cost information holding unit 311 are provided.

コスト情報保持部311には、例えば図24に示すように、リソースの状態変化の有無を示す状態変化3110毎に、コスト値3111が格納されている。コスト値とは、リソースの状態に変化があった場合については、当該変化を是正するように制御する際に発生するコストであり、リソースの状態が変化しなかった場合には、当該状態を維持する際に発生するコストである。   In the cost information holding unit 311, for example, as illustrated in FIG. 24, a cost value 3111 is stored for each state change 3110 indicating whether or not there is a resource state change. The cost value is the cost that is incurred when control is performed to correct the change when there is a change in the resource state. If the resource state does not change, the state is maintained. This is the cost incurred.

次状態予測部304は、作成した予測結果(図11参照)を、リソース変更量算出装置20、表示部300、およびリスク値算出部310へ送る。リスク値算出部310は、次状態予測部304から予想結果を受け取った場合に、コスト情報保持部311を参照して、リソース毎に、現在の状態と予測状態とからコスト値を算出する。そして、リスク値算出部310は、算出したコスト値を全てのリソースについて合計することによりリスク値を算出し、算出したリスク値をリソース変更量算出装置20へ送る。   The next state prediction unit 304 sends the created prediction result (see FIG. 11) to the resource change amount calculation device 20, the display unit 300, and the risk value calculation unit 310. When the risk value calculation unit 310 receives the prediction result from the next state prediction unit 304, the risk value calculation unit 310 refers to the cost information holding unit 311 and calculates the cost value from the current state and the prediction state for each resource. Then, the risk value calculation unit 310 calculates the risk value by summing the calculated cost values for all resources, and sends the calculated risk value to the resource change amount calculation device 20.

リソース変更量算出装置20のリソース変更量算出部22は、次状態予測部304から受け取ったリスク値を、状態が変化しているそれぞれのリソースについて算出した、追加または返上すべきリソースの量、および、次状態予測部304から受け取った遷移関数の尤度と共に自律制御装置13へ送る。   The resource change amount calculation unit 22 of the resource change amount calculation device 20 calculates the risk value received from the next state prediction unit 304 for each resource whose state has changed, the amount of resources to be added or returned, and Then, it is sent to the autonomous control device 13 together with the likelihood of the transition function received from the next state prediction unit 304.

これを受け取った自律制御装置13は、例えば、下記のような(1)式を用いて、パラメータkを算出し、算出したパラメータkが予め定められた値(例えば30)以上の場合に、リソース変更量算出装置20から受け取った、追加または返上すべきリソースの量に基づいて監視対象システム14を制御する。   The autonomous control device 13 that has received this calculates the parameter k using, for example, the following equation (1), and if the calculated parameter k is a predetermined value (for example, 30) or more, The monitoring target system 14 is controlled based on the amount of resources to be added or returned received from the change amount calculation device 20.

Figure 0004932749
例えば、予測結果に従ってリソースの変更を行ったとしても、遷移関数の尤度が低ければ、予測が外れて無駄な制御を行ってしまう場合がある。また、遷移関数の尤度がそれほど低くない場合であっても、リスク値が高ければ、予測結果が誤っていた場合の損失が大きくなる場合がある。リソース状態予測装置30は、予測結果に従って監視対象システム14のリソースの量を変更するか否かを判定するための判断材料として、遷移関数の尤度だけでなく、リスク値も算出して自律制御装置13に提供する。これにより自律制御装置13は、より多くの観点で、リソース変更量算出装置20からのリソースの変更量を採用するか否かを判定することができる。
Figure 0004932749
For example, even if the resource is changed according to the prediction result, if the likelihood of the transition function is low, the prediction may be missed and useless control may be performed. Even if the likelihood of the transition function is not so low, if the risk value is high, the loss when the prediction result is incorrect may increase. The resource state prediction device 30 calculates not only the likelihood of the transition function but also the risk value as a judgment material for determining whether or not to change the resource amount of the monitoring target system 14 according to the prediction result, and autonomous control. Provided to the device 13. Thereby, the autonomous control device 13 can determine whether or not to adopt the resource change amount from the resource change amount calculation device 20 from more viewpoints.

図25は、第3実施形態における予測処理(S200)の一例を示すフローチャートである。なお、以下に説明する点を除き、図25において、図16と同じ符号を付した処理は、図16における処理と同一または同様であるため説明を省略する。   FIG. 25 is a flowchart illustrating an example of the prediction process (S200) in the third embodiment. Except for the points described below, in FIG. 25, the processes denoted by the same reference numerals as those in FIG. 16 are the same as or similar to the processes in FIG.

ステップS207またはS213に示した処理が実行された後、リスク値算出部310は、コスト情報保持部311を参照して、リソース毎に、現在の状態と予測状態とからコスト値を算出する(S220)。そして、次状態予測部304は、作成した予測結果をリソース変更量算出装置20および表示部300へ送り、リスク値算出部310は、算出したコスト値をリソース変更量算出装置20へ送る(S221)。その後、表示部300は、ステップS209に示した処理を実行する。   After the process shown in step S207 or S213 is executed, the risk value calculation unit 310 refers to the cost information holding unit 311 and calculates a cost value from the current state and the predicted state for each resource (S220). ). Then, the next state prediction unit 304 sends the created prediction result to the resource change amount calculation device 20 and the display unit 300, and the risk value calculation unit 310 sends the calculated cost value to the resource change amount calculation device 20 (S221). . Thereafter, the display unit 300 executes the process shown in step S209.

以上、本発明の第3の実施形態について説明した。   Heretofore, the third embodiment of the present invention has been described.

次に、本発明の第4の実施形態について説明する。   Next, a fourth embodiment of the present invention will be described.

第4の実施形態におけるリソース状態予測装置30は、図17を用いて説明した第2の実施形態におけるリソース状態予測装置30と同様の構成である。ただし、機器構成情報保持部309に格納されるデータの内容が一部異なっており、それに伴って、遷移ルール抽出部302、遷移関数作成部303、および次状態予測部304の処理が一部異なっている。   The resource state prediction apparatus 30 in the fourth embodiment has the same configuration as the resource state prediction apparatus 30 in the second embodiment described with reference to FIG. However, the contents of the data stored in the device configuration information holding unit 309 are partially different, and accordingly, the processing of the transition rule extracting unit 302, the transition function creating unit 303, and the next state predicting unit 304 is partially different. ing.

機器構成情報保持部309には、例えば図26に示すように、リソースID3090毎に、当該リソースID3090に対応するリソースの名称3091、および、当該リソースが属するグループを識別するグループID3093が格納されている。グループとは、例えば、サーバ等の1台の装置に組み込まれているリソース群、同一の業務過程に割り当てられているリソース群、あるいは、同一のサービスの実行に割り当てられているリソース群等である。機器構成情報保持部309内のデータは、監視対象システム14の設計者等によって予め設定される。   For example, as illustrated in FIG. 26, the device configuration information holding unit 309 stores, for each resource ID 3090, a resource name 3091 corresponding to the resource ID 3090 and a group ID 3093 that identifies the group to which the resource belongs. . A group is, for example, a resource group incorporated in one device such as a server, a resource group assigned to the same business process, or a resource group assigned to the execution of the same service. . Data in the device configuration information holding unit 309 is set in advance by a designer of the monitoring target system 14 or the like.

遷移ルール抽出部302は、遷移ルールの収集開始指示を受付部307から受け取った場合に、遷移ルールの収集開始指示に含まれている作成時間毎に、機器構成情報保持部309を参照して、同一のグループIDに対応付けられているリソース毎に、連続する2つの時刻の各リソースの状態をリソース状態保持部301から順次読み出して遷移ルールを抽出する。そして、遷移ルール抽出部302は、抽出した遷移ルールを、同一のグループIDに対応付けられているリソース毎に遷移関数作成部303へ送る。   When the transition rule extraction unit 302 receives a transition rule collection start instruction from the reception unit 307, the transition rule extraction unit 302 refers to the device configuration information holding unit 309 for each creation time included in the transition rule collection start instruction. For each resource associated with the same group ID, the state of each resource at two consecutive times is sequentially read from the resource state holding unit 301 to extract a transition rule. Then, the transition rule extraction unit 302 sends the extracted transition rule to the transition function creation unit 303 for each resource associated with the same group ID.

遷移関数作成部303は、同一のグループIDに対応付けられているリソース毎に、遷移関数を作成し、作成した遷移関数を、次状態予測部304へ送る。次状態予測部304は、同一のグループIDに対応付けられているリソース毎に、遷移関数作成部303によって作成された遷移関数を用いて、ユーザから指示された時点における各リソースの状態を予測する。   The transition function creation unit 303 creates a transition function for each resource associated with the same group ID, and sends the created transition function to the next state prediction unit 304. The next state prediction unit 304 uses the transition function created by the transition function creation unit 303 for each resource associated with the same group ID to predict the state of each resource at the time point instructed by the user. .

関連性の高いリソースを同一のグループとすることにより、現実のシステムの挙動により近い状態遷移を再現することができる。これにより、作成される遷移関数の精度を高めることができる。   By making highly related resources the same group, it is possible to reproduce a state transition closer to the behavior of an actual system. Thereby, the precision of the created transition function can be increased.

図27は、第4実施形態における予測処理(S200)の一例を示すフローチャートである。なお、以下に説明する点を除き、図27において、図16と同じ符号を付した処理は、図16における処理と同一または同様であるため説明を省略する。   FIG. 27 is a flowchart illustrating an example of the prediction process (S200) in the fourth embodiment. Except for the points described below, in FIG. 27, the processes denoted by the same reference numerals as those in FIG. 16 are the same as or similar to the processes in FIG.

ステップS202においてタイマをリセットした後、遷移ルール抽出部302は、機器構成情報保持部309を参照して、未選択のグループを1つ選択し(S230)、選択したグループに属するリソースについて、連続する2つの時刻それぞれの各リソースの状態をリソース状態保持部301から順次読み出す(S203)。   After resetting the timer in step S202, the transition rule extraction unit 302 refers to the device configuration information holding unit 309, selects one unselected group (S230), and continues for resources belonging to the selected group. The state of each resource at each of the two times is sequentially read from the resource state holding unit 301 (S203).

また、ステップS206において、遷移関数作成部303によって算出された遷移関数の尤度が第2の閾値以上である場合(S206:Yes)、遷移関数作成部303は、作成した遷移関数を、対応するグループのグループIDおよび算出した尤度と共に次状態予測部304へ送る。次状態予測部304は、リソース状態保持部301を参照して、遷移関数作成部303から受け取ったグループIDに対応付けられているリソースについて、遷移関数作成部303から受け取った遷移関数を用い、ユーザから指示された時点における各リソースの状態を予測する(S231)。   In step S206, when the likelihood of the transition function calculated by the transition function creation unit 303 is equal to or greater than the second threshold (S206: Yes), the transition function creation unit 303 corresponds to the created transition function. The information is sent to the next state prediction unit 304 together with the group ID of the group and the calculated likelihood. The next state prediction unit 304 refers to the resource state holding unit 301 and uses the transition function received from the transition function creation unit 303 for the resource associated with the group ID received from the transition function creation unit 303, and the user The state of each resource at the time point instructed from is predicted (S231).

ステップS231において、選択中のグループに属するリソースの状態が予測されるか、または、ステップS211において、遷移ルール抽出部302によってエラーが通知された後、遷移ルール抽出部302は、リソース状態保持部301を参照して、全てのグループを選択したか否かを判定する(S232)。   In step S231, after the state of the resource belonging to the selected group is predicted, or in step S211, an error is notified by the transition rule extraction unit 302, the transition rule extraction unit 302 includes the resource state holding unit 301. , It is determined whether all groups have been selected (S232).

全てのグループが選択された場合(S232:Yes)、次状態予測部304は、ユーザから指示された時点における各リソースの状態および遷移関数の尤度を含む予測結果を作成する(S208)。いずれかのグループが選択されていない場合(S232:No)、遷移ルール抽出部302は、再びステップS230に示した処理を実行する。   When all the groups have been selected (S232: Yes), the next state prediction unit 304 creates a prediction result including the state of each resource and the likelihood of the transition function at the time point instructed by the user (S208). When any group is not selected (S232: No), the transition rule extraction unit 302 executes the process shown in step S230 again.

また、ステップS201において、遷移関数の作成タイミングではない場合(S201:No)、次状態予測部304は、リソース状態保持部301を参照し、グループ毎に、遷移関数作成部303によって前回作成された遷移関数を用いて、ユーザから指示された時点における各リソースの状態を予測し(S233)、ステップS208に示した処理を実行する。   In step S201, when it is not the creation timing of the transition function (S201: No), the next state prediction unit 304 refers to the resource state holding unit 301 and is created last time by the transition function creation unit 303 for each group. Using the transition function, the state of each resource at the time point instructed by the user is predicted (S233), and the process shown in step S208 is executed.

以上、本発明の第4の実施形態について説明した。   Heretofore, the fourth embodiment of the present invention has been described.

なお、上記した各実施形態におけるリソース状態予測装置30は、例えば図28に示すような構成のコンピュータ80によって実現される。図28は、リソース状態予測装置30の機能を実現するコンピュータ80の一例を示すハードウェア構成図である。コンピュータ80は、CPU(Central Processing Unit)81、RAM(Random Access Memory)82、ROM(Read Only Memory)83、HDD(Hard Disk Drive)84、通信インターフェイス(I/F)85、入出力インターフェイス(I/F)86、およびメディアインターフェイス(I/F)87を備える。   Note that the resource state prediction apparatus 30 in each of the embodiments described above is realized by a computer 80 having a configuration as shown in FIG. 28, for example. FIG. 28 is a hardware configuration diagram illustrating an example of a computer 80 that implements the functions of the resource state prediction device 30. The computer 80 includes a central processing unit (CPU) 81, a random access memory (RAM) 82, a read only memory (ROM) 83, a hard disk drive (HDD) 84, a communication interface (I / F) 85, an input / output interface (I). / F) 86 and a media interface (I / F) 87.

CPU81は、ROM83またはHDD84に格納されたプログラムに基づいて動作し、各部の制御を行う。ROM83は、コンピュータ80の起動時にCPU81が実行するブートプログラムや、コンピュータ80のハードウェアに依存するプログラム等を格納する。HDD84は、CPU81によって実行されるプログラムを格納する。通信インターフェイス85は、通信回線を介して他の機器からデータを受信してCPU81へ送ると共に、CPU81が生成したデータを、通信回線を介して他の機器へ送信する。   The CPU 81 operates based on a program stored in the ROM 83 or the HDD 84 and controls each unit. The ROM 83 stores a boot program executed by the CPU 81 when the computer 80 is started up, a program depending on the hardware of the computer 80, and the like. The HDD 84 stores a program executed by the CPU 81. The communication interface 85 receives data from other devices via a communication line and sends the data to the CPU 81, and transmits data generated by the CPU 81 to other devices via the communication line.

CPU81は、入出力インターフェイス86を介して、表示装置15および入力装置16を制御する。CPU81は、入出力インターフェイス86を介して、入力装置16からデータを取得する。また、CPU81は、生成したデータを、入出力インターフェイス86を介して表示装置15へ出力する。   The CPU 81 controls the display device 15 and the input device 16 via the input / output interface 86. The CPU 81 acquires data from the input device 16 via the input / output interface 86. Further, the CPU 81 outputs the generated data to the display device 15 via the input / output interface 86.

メディアインターフェイス87は、記録媒体88に格納されたプログラムまたはデータを読み取り、RAM82を介してCPU81に提供する。CPU81は、当該プログラムを、メディアインターフェイス87を介して記録媒体88からRAM82上にロードし、ロードしたプログラムを実行する。記録媒体88は、例えばDVD(Digital Versatile Disk)、PD(Phase change rewritable Disk)等の光学記録媒体、MO(Magneto-Optical disk)等の光磁気記録媒体、テープ媒体、磁気記録媒体、または半導体メモリ等である。   The media interface 87 reads a program or data stored in the recording medium 88 and provides it to the CPU 81 via the RAM 82. The CPU 81 loads the program from the recording medium 88 onto the RAM 82 via the media interface 87, and executes the loaded program. The recording medium 88 is, for example, an optical recording medium such as a DVD (Digital Versatile Disk) or PD (Phase change rewritable disk), a magneto-optical recording medium such as an MO (Magneto-Optical disk), a tape medium, a magnetic recording medium, or a semiconductor memory. Etc.

コンピュータ80が第1の実施形態のリソース状態予測装置30として機能する場合、コンピュータ80のCPU81は、RAM82上にロードされたプログラムを実行することにより、表示部300、リソース状態保持部301、遷移ルール抽出部302、遷移関数作成部303、次状態予測部304、測定値収集部305、閾値情報保持部306、受付部307、および測定回数算出部308の各機能を実現する。また、RAM82またはHDD84には、リソース状態保持部301および閾値情報保持部306内のデータが格納される。   When the computer 80 functions as the resource state prediction apparatus 30 of the first embodiment, the CPU 81 of the computer 80 executes a program loaded on the RAM 82, thereby causing the display unit 300, the resource state holding unit 301, the transition rule. The functions of the extraction unit 302, the transition function creation unit 303, the next state prediction unit 304, the measurement value collection unit 305, the threshold information holding unit 306, the reception unit 307, and the measurement number calculation unit 308 are realized. Further, the RAM 82 or the HDD 84 stores data in the resource state holding unit 301 and the threshold information holding unit 306.

また、コンピュータ80が第2または第4の実施形態のリソース状態予測装置30として機能する場合、コンピュータ80のCPU81は、RAM82上にロードされたプログラムを実行することにより、表示部300、リソース状態保持部301、遷移ルール抽出部302、遷移関数作成部303、次状態予測部304、測定値収集部305、閾値情報保持部306、受付部307、測定回数算出部308、および機器構成情報保持部309の各機能を実現する。また、RAM82またはHDD84には、リソース状態保持部301、閾値情報保持部306、および機器構成情報保持部309内のデータが格納される。   Further, when the computer 80 functions as the resource state prediction device 30 of the second or fourth embodiment, the CPU 81 of the computer 80 executes the program loaded on the RAM 82, thereby causing the display unit 300 to hold the resource state. Unit 301, transition rule extraction unit 302, transition function creation unit 303, next state prediction unit 304, measurement value collection unit 305, threshold information storage unit 306, reception unit 307, measurement frequency calculation unit 308, and device configuration information storage unit 309 Each function is realized. The RAM 82 or the HDD 84 stores data in the resource state holding unit 301, the threshold information holding unit 306, and the device configuration information holding unit 309.

また、コンピュータ80が第3の実施形態のリソース状態予測装置30として機能する場合、コンピュータ80のCPU81は、RAM82上にロードされたプログラムを実行することにより、表示部300、リソース状態保持部301、遷移ルール抽出部302、遷移関数作成部303、次状態予測部304、測定値収集部305、閾値情報保持部306、受付部307、測定回数算出部308、リスク値算出部310、およびコスト情報保持部311の各機能を実現する。また、RAM82またはHDD84には、リソース状態保持部301、閾値情報保持部306、およびコスト情報保持部311内のデータが格納される。   Further, when the computer 80 functions as the resource state prediction apparatus 30 of the third embodiment, the CPU 81 of the computer 80 executes a program loaded on the RAM 82, thereby causing the display unit 300, the resource state holding unit 301, Transition rule extraction unit 302, transition function creation unit 303, next state prediction unit 304, measurement value collection unit 305, threshold information holding unit 306, reception unit 307, measurement frequency calculation unit 308, risk value calculation unit 310, and cost information holding Each function of the unit 311 is realized. The RAM 82 or the HDD 84 stores data in the resource state holding unit 301, the threshold information holding unit 306, and the cost information holding unit 311.

コンピュータ80は、これらのプログラムを、記録媒体88から読み取って実行するが、他の例として、他の装置から、通信媒体を介してこれらのプログラムを取得してもよい。通信媒体とは、通信回線、または、当該通信回線を伝搬するディジタル信号もしくは搬送波を指す。   The computer 80 reads these programs from the recording medium 88 and executes them, but as another example, these programs may be acquired from other devices via a communication medium. The communication medium refers to a communication line or a digital signal or a carrier wave that propagates through the communication line.

なお、本発明は、上記した実施形態に限定されるものではなく、その要旨の範囲内で数々の変形が可能である。   In addition, this invention is not limited to above-described embodiment, Many deformation | transformation are possible within the range of the summary.

例えば、上記した各実施形態において、測定値収集部305は、各リソースを2つの状態に離散化したが、本発明はこれに限られず、3つ以上の状態に離散化してもよい。また、上記した各実施形態において、リソース状態予測装置30は、2つの時刻の各リソースの状態において、前の各リソースの状態において、連続して隣り合う3個のセルを用いて、当該3個のセルの中央のセルの後の状態を予測したが、本発明はこれに限られず、前の各リソースの状態において、連続して隣り合う2n+1個(n≧2)以上のセルを用いて、当該2n+1個のセルの中央のセルの後の状態を予測するようにしてもよい。   For example, in each of the above-described embodiments, the measurement value collection unit 305 discretizes each resource into two states, but the present invention is not limited to this and may be discretized into three or more states. Further, in each of the above-described embodiments, the resource state prediction device 30 uses the three cells that are consecutively adjacent in the state of each resource at the time of each resource at two times. However, the present invention is not limited to this, and in each previous resource state, using 2n + 1 (n ≧ 2) or more cells that are consecutively adjacent to each other, The state after the center cell of the 2n + 1 cells may be predicted.

また、上記した各実施形態において、遷移関数作成部303によって算出された遷移関数の尤度が第2の閾値未満である場合、遷移ルール抽出部302は、さらに前の時刻における各リソースの測定値を用いて、遷移ルールをさらに抽出したが、本発明はこれに限られない。例えば、遷移ルール抽出部302は、各リソースの過去の状態をさかのぼることにより遷移ルールの抽出対象を増やす他に、遷移ルールの抽出対象となるリソース数を増やすことにより、遷移ルールの抽出対象を増やすようにしてもよい。   In each embodiment described above, when the likelihood of the transition function calculated by the transition function creation unit 303 is less than the second threshold, the transition rule extraction unit 302 further determines the measured value of each resource at the previous time. Although the transition rule is further extracted using, the present invention is not limited to this. For example, the transition rule extraction unit 302 increases the number of transition rule extraction targets by increasing the number of transition rule extraction targets in addition to increasing the number of transition rule extraction targets by tracing back the past state of each resource. You may do it.

本発明の一実施形態に係る制御システム10の構成を示すシステム構成図である。It is a system configuration figure showing the composition of control system 10 concerning one embodiment of the present invention. 第1実施形態におけるリソース状態予測装置30の機能構成の一例を示すブロック図である。It is a block diagram which shows an example of a function structure of the resource state prediction apparatus 30 in 1st Embodiment. 閾値情報保持部306に格納されているデータの構造の一例を示す図である。6 is a diagram illustrating an example of the structure of data stored in a threshold information holding unit 306. FIG. リソース状態保持部301に格納されているデータの構造の一例を示す図である。FIG. 4 is a diagram illustrating an example of the structure of data stored in a resource state holding unit 301. セルオートマトンとして扱うセルのまとまりの一例を示す概念図である。It is a conceptual diagram which shows an example of the collection of the cell handled as a cellular automaton. 遷移ルール抽出部302によってリソース毎に収集された遷移ルールの一例を示す図である。It is a figure which shows an example of the transition rule collected for every resource by the transition rule extraction part 302. FIG. 遷移ルールを再度抽出する場合のセルのまとまりの一例を示す概念図である。It is a conceptual diagram which shows an example of the collection of the cell in the case of extracting a transition rule again. 前のセルの状態が同一の遷移ルールについて、中央のセルにおける後の状態の割合を示す図である。It is a figure which shows the ratio of the subsequent state in a center cell about the transition rule with the same state of the previous cell. 遷移関数作成部303によって算出された遷移関数の一例を示す図である。It is a figure which shows an example of the transition function calculated by the transition function preparation part 303. FIG. 遷移関数作成部303によって算出された遷移関数を用いて所定時間後の各リソースの状態が予測される過程を示す概念図である。It is a conceptual diagram which shows the process in which the state of each resource after predetermined time is estimated using the transition function calculated by the transition function preparation part 303. FIG. 次状態予測部304から出力されるデータの構造の一例を示す図である。It is a figure which shows an example of the structure of the data output from the next state estimation part. 表示部300によって表示装置15に表示される予測結果画面60の一例を示す概念図である。It is a conceptual diagram which shows an example of the prediction result screen 60 displayed on the display apparatus 15 by the display part 300. FIG. リソース変更量算出装置20の機能構成の一例を示すブロック図である。3 is a block diagram illustrating an example of a functional configuration of a resource change amount calculation device 20. FIG. 変化リソース抽出部23に格納されているデータの構造の一例を示す図である。It is a figure which shows an example of the structure of the data stored in the change resource extraction part. 第1実施形態における制御システム10の動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation | movement of the control system 10 in 1st Embodiment. 第1実施形態における予測処理(S200)の一例を示すフローチャートである。It is a flowchart which shows an example of the prediction process (S200) in 1st Embodiment. 第2実施形態におけるリソース状態予測装置30の機能構成の一例を示すブロック図である。It is a block diagram which shows an example of a function structure of the resource state prediction apparatus 30 in 2nd Embodiment. 第2実施形態において機器構成情報保持部309に格納されているデータの構造の一例を示す図である。It is a figure which shows an example of the structure of the data stored in the apparatus structure information holding | maintenance part 309 in 2nd Embodiment. 各リソースの接続関係の一例を示す概念図である。It is a conceptual diagram which shows an example of the connection relation of each resource. 各リソース間の距離を示すマトリクス72の一例を示す図である。It is a figure which shows an example of the matrix 72 which shows the distance between each resource. 隣り合うリソース間の距離が最小となるように各リソースを配置した場合のマトリクス73の一例を示す図である。It is a figure which shows an example of the matrix 73 at the time of arrange | positioning each resource so that the distance between adjacent resources may become the minimum. 第2実施形態における制御システム10の動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation | movement of the control system 10 in 2nd Embodiment. 第3実施形態におけるリソース状態予測装置30の機能構成の一例を示すブロック図である。It is a block diagram which shows an example of a function structure of the resource state prediction apparatus 30 in 3rd Embodiment. コスト情報保持部311に格納されているデータの構造の一例を示すAn example of the structure of data stored in the cost information holding unit 311 is shown. 第3実施形態における予測処理(S200)の一例を示すフローチャートである。It is a flowchart which shows an example of the prediction process (S200) in 3rd Embodiment. 第4実施形態において機器構成情報保持部309に格納されているデータの構造の一例を示す図である。It is a figure which shows an example of the structure of the data stored in the apparatus structure information holding | maintenance part 309 in 4th Embodiment. 第4実施形態における予測処理(S200)の一例を示すフローチャートである。It is a flowchart which shows an example of the prediction process (S200) in 4th Embodiment. リソース状態予測装置30の機能を実現するコンピュータ80の一例を示すハードウェア構成図である。FIG. 3 is a hardware configuration diagram illustrating an example of a computer 80 that realizes the function of the resource state prediction device 30.

符号の説明Explanation of symbols

10・・・制御システム、11・・・クライアントコンピュータ、12・・・通信回線、13・・・自律制御装置、14・・・監視対象システム、15・・・表示装置、16・・・入力装置、20・・・リソース変更量算出装置、21・・・変更量取得部、22・・・リソース変更量算出部、23・・・リソース情報保持部、30・・・リソース状態予測装置、300・・・表示部、301・・・リソース状態保持部、302・・・遷移ルール抽出部、303・・・遷移関数作成部、304・・・次状態予測部、305・・・測定値収集部、306・・・閾値情報保持部、307・・・受付部、308・・・測定回数算出部、309・・・機器構成情報保持部、310・・・リスク値算出部、311・・・コスト情報保持部、40・・・遷移ルール、42・・・前の状態、43・・・後の状態、44・・・遷移関数、50・・・予測結果、51・・・リソースID、52・・・現在の状態、53・・・予測状態、54・・・尤度、60・・・予測結果画面、80・・・コンピュータ、81・・・CPU、82・・・RAM、83・・・ROM、84・・・HDD、85・・・通信インターフェイス、86・・・入出力インターフェイス、87・・・メディアインターフェイス、88・・・記録媒体 DESCRIPTION OF SYMBOLS 10 ... Control system, 11 ... Client computer, 12 ... Communication line, 13 ... Autonomous control device, 14 ... Monitored system, 15 ... Display device, 16 ... Input device , 20 ... Resource change amount calculation device, 21 ... Change amount acquisition unit, 22 ... Resource change amount calculation unit, 23 ... Resource information holding unit, 30 ... Resource state prediction device, 300 Display unit 301 Resource state holding unit 302 Transition rule extraction unit 303 Transition function creation unit 304 Next state prediction unit 305 Measurement value collection unit 306: Threshold value holding unit, 307 ... Accepting unit, 308 ... Measurement number calculating unit, 309 ... Device configuration information holding unit, 310 ... Risk value calculating unit, 311 ... Cost information Holding unit, 40... Transition , 42 ... previous state, 43 ... subsequent state, 44 ... transition function, 50 ... prediction result, 51 ... resource ID, 52 ... current state, ..Prediction state, 54 ... Likelihood, 60 ... Prediction result screen, 80 ... Computer, 81 ... CPU, 82 ... RAM, 83 ... ROM, 84 ... HDD, 85 ... Communication interface, 86 ... Input / output interface, 87 ... Media interface, 88 ... Recording medium

Claims (9)

監視対象のシステム内の各リソースの現在の状態に基づいて、当該各リソースの後の状態を予測し、予測結果を出力するリソース状態予測装置であって、
前記監視対象のシステムから各リソースの測定値を収集し、リソース毎に予め定められた閾値を用いてそれぞれの測定値を複数の状態のいずれかに離散化する測定値収集手段と、
前記測定値収集手段によって収集され離散化された各リソースの状態を、当該リソースが測定された時刻に対応付けて保持するリソース状態保持手段と、
連続する2つの時刻の各リソースの状態を前記リソース状態保持手段から順次読み出してそれぞれの時刻毎に1列に並べ、それぞれのリソースをセルオートマトンにおける1つのセルとみなし、前の時刻の各リソースの状態において、対象となるセルを含む、連続して隣り合う所定数のセル毎に、当該所定数のセルのそれぞれの状態を入力状態とし、後の時刻の各リソースの状態において、当該対象となるセルの状態を出力状態とする遷移ルールを、全てのセルのそれぞれを対象として抽出する遷移ルール抽出手段と、
前記遷移ルール抽出手段によって抽出された遷移ルールの中で、同一の入力状態となる遷移ルール毎に、異なる出力状態となる割合を算出し、最も高い割合となる出力状態を、当該遷移ルールにおける出力状態として採用し、採用された出力状態を含む複数の遷移ルールで構成される遷移関数を作成する遷移関数作成手段と、
現在時刻から、各リソースの状態を予測すべき時刻までの時間の入力を受け付ける受付手段と、
現在時刻から前記受付手段を介して入力された時間が経過するまでに、各リソースの測定値が測定される回数である測定回数を算出する測定回数算出手段と、
現在の各リソースの状態を前記測定値保持手段から順次読み出して1列に並べ、それぞれのリソースをセルオートマトンにおける1つのセルとみなし、対象となるセルを含む、連続して隣り合う所定数のセル毎に、当該所定数のセルのそれぞれの状態を入力状態とする遷移ルールを、前記遷移関数作成手段によって作成された遷移関数から抽出し、抽出した遷移ルールに含まれている出力状態を、当該対象となるセルの次の時刻における状態として算出する処理を、全てのセルのそれぞれを対象として実行する次状態予測手段と
を備え、
前記次状態予測手段は、さらに、
前記遷移関数を参照して、算出した各リソースの次の状態から、各リソースのさらに次の状態を算出する処理を、前記測定回数算出手段によって算出された測定回数−1回繰り返し、最終的に算出された各リソースの状態を、前記受付手段を介して入力された時間が経過した後の各リソースの状態として外部へ出力すること
を特徴とするリソース状態予測装置。
A resource state prediction device that predicts a state after each resource based on the current state of each resource in the monitored system and outputs a prediction result,
A measurement value collecting means for collecting measurement values of each resource from the monitored system and discretizing each measurement value into one of a plurality of states using a predetermined threshold for each resource;
Resource state holding means for holding the state of each resource collected and discretized by the measurement value collecting means in association with the time when the resource was measured;
The state of each resource at two consecutive times is sequentially read from the resource state holding means and arranged in one column at each time, each resource is regarded as one cell in the cellular automaton, and each resource at the previous time is In a state, for each predetermined number of adjacent cells including the target cell, the state of each of the predetermined number of cells is set as an input state, and becomes the target in the state of each resource at a later time A transition rule extracting means for extracting a transition rule having a cell state as an output state for each of all cells;
Of the transition rules extracted by the transition rule extracting means, the ratio of different output states is calculated for each transition rule having the same input state, and the highest output state is output in the transition rule. A transition function creating means for creating a transition function composed of a plurality of transition rules including the adopted output state,
Accepting means for accepting input of time from the current time to the time at which the state of each resource should be predicted;
A measurement number calculation means for calculating a measurement number, which is the number of times a measurement value of each resource is measured, from the current time until the time input via the reception unit elapses;
The current state of each resource is sequentially read out from the measurement value holding means and arranged in one column, each resource is regarded as one cell in the cellular automaton, and a predetermined number of cells adjacent to each other including the target cell Each time, a transition rule having the respective states of the predetermined number of cells as input states is extracted from the transition function created by the transition function creating means, and the output state included in the extracted transition rule is A next state predicting means for executing processing for calculating the state at the next time of the target cell as a target for each of all cells;
The next state predicting means further includes:
With reference to the transition function, the process of calculating the next state of each resource from the calculated next state of each resource is repeated by the number of times of measurement calculated by the number-of-measurement calculating means minus one, and finally A resource state prediction apparatus that outputs the calculated state of each resource to the outside as the state of each resource after a time input via the receiving unit has elapsed.
請求項1に記載のリソース状態予測装置であって、
前記測定値収集手段は、
所定時間毎に収集した各リソースの測定値を、リソース毎に予め定められた閾値を用いて2つの状態のいずれかに離散化し、
前記遷移ルール抽出手段は、
前の時刻の各リソースの状態において、対象となるセルを中心とする、連続して隣り合う3つのセル毎に、当該3つのセルのそれぞれの状態を入力状態とし、後の時刻の各リソースの状態において、当該対象となるセルの状態を出力状態とする遷移ルールを、全てのセルのそれぞれを対象として抽出し、
前記次状態予測手段は、
対象となるセルを中心とする、連続して隣り合う3つのセル毎に、当該3つのセルのそれぞれの状態を入力状態とする遷移ルールを、前記遷移関数作成手段によって作成された遷移関数から抽出し、抽出した遷移ルールに含まれている出力状態を、当該対象となるセルの次の時刻における状態として算出する処理を、全てのセルのそれぞれを対象として実行することを特徴とするリソース状態予測装置。
The resource state prediction apparatus according to claim 1,
The measurement value collecting means includes
The measurement value of each resource collected every predetermined time is discretized into one of two states using a threshold value predetermined for each resource,
The transition rule extraction means includes
In the state of each resource at the previous time, for each of three consecutive cells centered on the target cell, the state of each of the three cells is set to the input state, and In the state, a transition rule whose output state is the state of the target cell is extracted for each of all the cells,
The next state prediction means includes:
Extraction is made from the transition function created by the transition function creating means for each of three consecutive cells centered on the target cell, with the state of each of the three cells as the input state. And performing a process for calculating the output state included in the extracted transition rule as the state at the next time of the target cell for each of all the cells. apparatus.
請求項1に記載のリソース状態予測装置であって、
前記遷移関数作成手段は、
遷移ルール毎に採用された出力状態の割合を参照し、遷移関数を構成する複数の遷移ルールの中で、予め定められた割合以上となっている出力状態を含む遷移ルールの割合を、遷移関数の確からしさを示す尤度としてさらに算出して当該遷移関数と共に出力し、
前記次状態予測手段は、
前記遷移関数作成手段によって算出された遷移関数の尤度を、前記受付手段を介して入力された時間が経過した後の各リソースの状態を示す情報と共に外部へ出力することを特徴とするリソース状態予測装置。
The resource state prediction apparatus according to claim 1,
The transition function creating means includes
Referring to the ratio of output states adopted for each transition rule, the ratio of transition rules including output states that are equal to or higher than a predetermined ratio among the plurality of transition rules constituting the transition function Is further calculated as a likelihood indicating the certainty and output together with the transition function,
The next state prediction means includes:
A resource state characterized in that the likelihood of the transition function calculated by the transition function creating means is output to the outside together with information indicating the state of each resource after the time input via the accepting means has elapsed. Prediction device.
請求項3に記載のリソース状態予測装置であって、
前記遷移ルール抽出手段は、
前記遷移関数の尤度が予め定められた値未満である場合に、前記リソース状態保持手段からさらに前の各リソースの状態を読み出し、前記連続する2つの時刻の各リソースの状態において、前の時刻の各リソースの状態を後の時刻の各リソースの状態とし、読み出したさらに前の各リソースの状態を前の時刻の各リソースの状態として、さらに遷移ルールを抽出し、
前記遷移関数作成手段は、
前記遷移関数の尤度が予め定められた値未満である場合に、前記遷移ルール抽出手段によってさらに抽出された遷移ルールをさらに用いて、同一の入力状態となる遷移ルール毎に、異なる出力状態となる割合を算出することを特徴とするリソース状態予測装置。
The resource state prediction apparatus according to claim 3,
The transition rule extraction means includes
When the likelihood of the transition function is less than a predetermined value, the previous state of each resource is read out from the resource state holding unit, and the previous time in the state of each resource at the two consecutive times The state of each resource is set to the state of each resource at a later time, the state of each read resource is set to the state of each resource at the previous time, and further transition rules are extracted.
The transition function creating means includes
When the likelihood of the transition function is less than a predetermined value, the transition rule further extracted by the transition rule extracting unit is further used to change the output state different for each transition rule having the same input state. A resource state prediction apparatus characterized by calculating a ratio of
請求項1に記載のリソース状態予測装置であって、
リソース毎に、他のリソースとの距離を示す情報を保持する距離情報保持手段をさらに備え、
前記遷移ルール抽出手段および前記次状態予測手段は、
各リソースの状態を前記リソース状態保持手段から順次読み出して1列に並べる際に、前記距離情報保持手段を参照して、隣り合うリソース間の距離が最小となるように各リソースの状態を並べることを特徴とするリソース状態予測装置。
The resource state prediction apparatus according to claim 1,
Each resource further comprises distance information holding means for holding information indicating the distance to other resources,
The transition rule extraction means and the next state prediction means are:
When sequentially reading out the state of each resource from the resource state holding unit and arranging them in a line, the state of each resource is arranged so that the distance between adjacent resources is minimized with reference to the distance information holding unit. A resource state prediction apparatus characterized by
請求項1に記載のリソース状態予測装置であって、
リソースの状態が変化した場合のコスト値と、リソースの状態が変化しなかった場合のコスト値とを保持するコスト情報保持手段と、
リソース毎に、現在の各リソースの状態と、前記次状態予測手段によって算出された、前記受付手段を介して入力された時間が経過した後の各リソースの状態とから、前記コスト情報保持手段を参照して、リソース毎にコスト値を算出し、算出したコスト値を合計することによりリスク値を算出し、算出したリスク値を外部へ出力するリスク値出力手段と
をさらに備えることを特徴とするリソース状態予測装置。
The resource state prediction apparatus according to claim 1,
Cost information holding means for holding a cost value when the resource state has changed and a cost value when the resource state has not changed;
For each resource, the cost information holding means is calculated from the current state of each resource and the state of each resource after the time input via the accepting means calculated by the next state predicting means. The system further comprises a risk value output means for calculating a cost value for each resource, calculating a risk value by summing the calculated cost values, and outputting the calculated risk value to the outside. Resource state prediction device.
請求項1に記載のリソース状態予測装置であって、
リソース毎に、当該リソースが属するグループを識別するグループIDを保持するグループ情報保持手段をさらに備え、
前記遷移ルール抽出手段は、
前記グループ情報保持手段を参照して、同一のグループに属する複数のリソース毎に遷移ルールを抽出し、
前記遷移関数作成手段は、
前記グループ情報保持手段を参照して、同一のグループに属する複数のリソース毎に遷移関数を作成し、
前記次状態予測手段は、
前記グループ情報保持手段を参照して、同一のグループに属する複数のリソース毎に前記受付手段を介して入力された時間が経過した後の各リソースの状態を出力することを特徴とするリソース状態予測装置。
The resource state prediction apparatus according to claim 1,
For each resource, it further comprises group information holding means for holding a group ID for identifying a group to which the resource belongs,
The transition rule extraction means includes
With reference to the group information holding means, extract a transition rule for each of a plurality of resources belonging to the same group,
The transition function creating means includes
Refer to the group information holding means, create a transition function for each of a plurality of resources belonging to the same group,
The next state prediction means includes:
Resource state prediction characterized by outputting the state of each resource after the time input via the accepting unit has elapsed for each of a plurality of resources belonging to the same group with reference to the group information holding unit apparatus.
監視対象のシステム内の各リソースの現在の状態に基づいて、当該各リソースの後の状態を予測し、予測結果を出力するリソース状態予測装置におけるリソース状態予測方法であって、
前記リソース状態予測装置は、
前記監視対象のシステムから各リソースの測定値を収集し、リソース毎に予め定められた閾値を用いてそれぞれの測定値を複数の状態のいずれかに離散化して、当該リソースが測定された時刻に対応付けてリソース状態保持手段に格納する測定値収集ステップと、
連続する2つの時刻の各リソースの状態を前記リソース状態保持手段から順次読み出してそれぞれの時刻毎に1列に並べ、それぞれのリソースをセルオートマトンにおける1つのセルとみなし、前の時刻の各リソースの状態において、対象となるセルを含む、連続して隣り合う所定数のセル毎に、当該所定数のセルのそれぞれの状態を入力状態とし、後の時刻の各リソースの状態において、当該対象となるセルの状態を出力状態とする遷移ルールを、全てのセルのそれぞれを対象として抽出する遷移ルール抽出ステップと、
前記遷移ルール抽出ステップにおいて抽出した遷移ルールの中で、同一の入力状態となる遷移ルール毎に、異なる出力状態となる割合を算出し、最も高い割合となる出力状態を、当該遷移ルールにおける出力状態として採用し、採用された出力状態を含む複数の遷移ルールで構成される遷移関数を作成する遷移関数作成ステップと、
現在時刻から、各リソースの状態を予測すべき時刻までの時間の入力を受け付ける受付ステップと、
現在時刻から前記受付ステップにおいて受け付けた時間が経過するまでに、各リソースの測定値が測定される回数である測定回数を算出する測定回数算出ステップと、
現在の各リソースの状態を前記測定値保持手段から順次読み出して1列に並べ、それぞれのリソースをセルオートマトンにおける1つのセルとみなし、対象となるセルを含む、連続して隣り合う所定数のセル毎に、当該所定数のセルのそれぞれの状態を入力状態とする遷移ルールを、前記遷移関数作成ステップにおいて作成した遷移関数から抽出し、抽出した遷移ルールに含まれている出力状態を、当該対象となるセルの次の時刻における状態として算出する処理を、全てのセルのそれぞれを対象として実行する次状態予測ステップと
を実行し、
前記リソース状態予測装置は、前記次状態予測ステップにおいて、さらに、
前記遷移関数を参照して、算出した各リソースの次の状態から、各リソースのさらに次の状態を算出する処理を、前記測定回数算出ステップにおいて算出した測定回数−1回繰り返し、最終的に算出された各リソースの状態を、前記受付ステップにおいて受け付けた時間が経過した後の各リソースの状態として外部へ出力することを特徴とするリソース状態予測方法。
A resource state prediction method in a resource state prediction device that predicts a state after each resource based on the current state of each resource in a monitored system and outputs a prediction result,
The resource state prediction apparatus
Collect measurement values of each resource from the monitored system, discretize each measurement value into one of a plurality of states using a predetermined threshold for each resource, and at the time when the resource is measured A measurement value collecting step for storing in the resource state holding means in association;
The state of each resource at two consecutive times is sequentially read from the resource state holding means and arranged in one column at each time, each resource is regarded as one cell in the cellular automaton, and each resource at the previous time is In a state, for each predetermined number of adjacent cells including the target cell, the state of each of the predetermined number of cells is set as an input state, and becomes the target in the state of each resource at a later time A transition rule extracting step for extracting a transition rule having a cell state as an output state for each of all cells;
Of the transition rules extracted in the transition rule extraction step, the ratio of different output states is calculated for each transition rule that has the same input state, and the highest output state is determined as the output state in the transition rule. A transition function creating step that creates a transition function composed of a plurality of transition rules including the adopted output state,
A reception step for receiving an input of time from the current time to a time at which the state of each resource should be predicted;
A measurement count calculation step for calculating a measurement count that is the number of times the measurement value of each resource is measured before the time received in the reception step elapses from the current time;
The current state of each resource is sequentially read out from the measurement value holding means and arranged in one column, each resource is regarded as one cell in the cellular automaton, and a predetermined number of cells adjacent to each other including the target cell Each time, a transition rule having each state of the predetermined number of cells as an input state is extracted from the transition function created in the transition function creating step, and the output state included in the extracted transition rule is taken as the target A process of calculating the state at the next time of the cell to be executed as a next state prediction step for executing all of the cells as targets,
In the resource state prediction apparatus, in the next state prediction step,
The process of calculating the next state of each resource from the calculated next state of each resource with reference to the transition function is repeated by the number of times of measurement calculated in the measurement number calculation step—one time and finally calculated. A resource state prediction method characterized in that the state of each resource is output to the outside as the state of each resource after the time received in the receiving step has elapsed.
コンピュータを、監視対象のシステム内の各リソースの現在の状態に基づいて、当該各リソースの後の状態を予測し、予測結果を出力するリソース状態予測装置として機能させるプログラムであって、
前記コンピュータに、
前記監視対象のシステムから各リソースの測定値を収集し、リソース毎に予め定められた閾値を用いてそれぞれの測定値を複数の状態のいずれかに離散化する測定値収集機能、
前記測定値収集機能によって収集され離散化された各リソースの状態を、当該リソースが測定された時刻に対応付けて保持するリソース状態保持機能、
連続する2つの時刻の各リソースの状態を前記リソース状態保持機能から順次読み出してそれぞれの時刻毎に1列に並べ、それぞれのリソースをセルオートマトンにおける1つのセルとみなし、前の時刻の各リソースの状態において、対象となるセルを含む、連続して隣り合う所定数のセル毎に、当該所定数のセルのそれぞれの状態を入力状態とし、後の時刻の各リソースの状態において、当該対象となるセルの状態を出力状態とする遷移ルールを、全てのセルのそれぞれを対象として抽出する遷移ルール抽出機能、
前記遷移ルール抽出機能によって抽出された遷移ルールの中で、同一の入力状態となる遷移ルール毎に、異なる出力状態となる割合を算出し、最も高い割合となる出力状態を、当該遷移ルールにおける出力状態として採用し、採用された出力状態を含む複数の遷移ルールで構成される遷移関数を作成する遷移関数作成機能、
現在時刻から、各リソースの状態を予測すべき時刻までの時間の入力を受け付ける受付機能、
現在時刻から前記受付機能を介して入力された時間が経過するまでに、各リソースの測定値が測定される回数である測定回数を算出する測定回数算出機能、および、
現在の各リソースの状態を前記測定値保持機能から順次読み出して1列に並べ、それぞれのリソースをセルオートマトンにおける1つのセルとみなし、対象となるセルを含む、連続して隣り合う所定数のセル毎に、当該所定数のセルのそれぞれの状態を入力状態とする遷移ルールを、前記遷移関数作成機能によって作成された遷移関数から抽出し、抽出した遷移ルールに含まれている出力状態を、当該対象となるセルの次の時刻における状態として算出する処理を、全てのセルのそれぞれを対象として実行する次状態予測機能
を実現させ、
前記次状態予測機能は、さらに、
前記遷移関数を参照して、算出した各リソースの次の状態から、各リソースのさらに次の状態を算出する処理を、前記測定回数算出機能によって算出された測定回数−1回繰り返し、最終的に算出された各リソースの状態を、前記受付機能を介して入力された時間が経過した後の各リソースの状態として外部へ出力することを特徴とするプログラム。
A program for causing a computer to function as a resource state prediction device that predicts a state after each resource based on the current state of each resource in the system to be monitored and outputs a prediction result,
In the computer,
A measurement value collection function that collects measurement values of each resource from the monitored system and discretizes each measurement value into one of a plurality of states using a predetermined threshold for each resource;
A resource state holding function for holding the state of each resource collected and discretized by the measurement value collecting function in association with the time when the resource is measured;
The state of each resource at two consecutive times is sequentially read out from the resource state holding function and arranged in one column at each time, each resource is regarded as one cell in the cellular automaton, and each resource at the previous time is In a state, for each predetermined number of adjacent cells including the target cell, the state of each of the predetermined number of cells is set as an input state, and becomes the target in the state of each resource at a later time Transition rule extraction function that extracts the transition rule with the cell state as the output state for each of all cells,
Of the transition rules extracted by the transition rule extraction function, the ratio of different output states is calculated for each transition rule having the same input state, and the highest output state is output in the transition rule. Transition function creation function that creates a transition function composed of multiple transition rules including the adopted output state,
A reception function that accepts input of time from the current time to the time when the state of each resource should be predicted,
A measurement count calculation function for calculating a measurement count, which is the number of times a measurement value of each resource is measured, from the current time until the time input via the reception function elapses; and
The current state of each resource is sequentially read out from the measurement value holding function and arranged in one column, each resource is regarded as one cell in the cellular automaton, and a predetermined number of adjacent cells including the target cell Each time, a transition rule having each state of the predetermined number of cells as an input state is extracted from the transition function created by the transition function creation function, and the output state included in the extracted transition rule is Realize the next state prediction function that executes the process of calculating the state at the next time of the target cell for each of all cells,
The next state prediction function further includes:
The process of calculating the next state of each resource from the calculated next state of each resource with reference to the transition function is repeated by the number of measurement times calculated by the measurement number calculation function minus one, and finally A program which outputs the calculated state of each resource to the outside as the state of each resource after the time input via the reception function has elapsed.
JP2008008636A 2008-01-18 2008-01-18 Resource state prediction apparatus, resource state prediction method, and program Expired - Fee Related JP4932749B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008008636A JP4932749B2 (en) 2008-01-18 2008-01-18 Resource state prediction apparatus, resource state prediction method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008008636A JP4932749B2 (en) 2008-01-18 2008-01-18 Resource state prediction apparatus, resource state prediction method, and program

Publications (2)

Publication Number Publication Date
JP2009169780A JP2009169780A (en) 2009-07-30
JP4932749B2 true JP4932749B2 (en) 2012-05-16

Family

ID=40970851

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008008636A Expired - Fee Related JP4932749B2 (en) 2008-01-18 2008-01-18 Resource state prediction apparatus, resource state prediction method, and program

Country Status (1)

Country Link
JP (1) JP4932749B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012124295A1 (en) * 2011-03-11 2012-09-20 日本電気株式会社 Computer system, control system, control method and control program
EP3007407B1 (en) 2014-10-10 2018-08-15 Alcatel Lucent Configuration method, equipment, system and computer readable medium for determining a new configuration of calculation resources
CN116680062B (en) * 2023-08-03 2023-12-01 湖南博创高新实业有限公司 Application scheduling deployment method based on big data cluster and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11261702A (en) * 1998-03-06 1999-09-24 Fujitsu Ltd System optimization controlling by predicting load
JP2000020499A (en) * 1998-06-29 2000-01-21 Sharp Corp Device and method for simulating group action
JP3459910B2 (en) * 2001-02-16 2003-10-27 株式会社バイオ医療情報 A relevance extraction device that extracts relevance between physiological information using cellular automaton theory

Also Published As

Publication number Publication date
JP2009169780A (en) 2009-07-30

Similar Documents

Publication Publication Date Title
JP5218390B2 (en) Autonomous control server, virtual server control method and program
US20110320228A1 (en) Automated Generation of Markov Chains for Use in Information Technology
JP2014134987A (en) Information processing system monitoring device, monitoring method, and monitoring program
US20190286077A1 (en) Optimization apparatus and control method for optimization apparatus
CN111143039B (en) Scheduling method and device of virtual machine and computer storage medium
Du et al. Scientific workflows in IoT environments: a data placement strategy based on heterogeneous edge-cloud computing
CN103108020A (en) Service collaboration device, service collaboration method, and computer-readable recording medium
CN114862656A (en) Method for acquiring training cost of distributed deep learning model based on multiple GPUs
JP4932749B2 (en) Resource state prediction apparatus, resource state prediction method, and program
KR20230031889A (en) Anomaly detection in network topology
CN105431815A (en) Input-output prioritization for database workload
Iyapparaja et al. FogQSYM: An industry 4.0 analytical model for fog applications
KR102612841B1 (en) Method for applying workload prediction model by operation service in micro data center
JP2021064049A (en) Calculator system and mathematical model generation support method
Kadupitiya et al. SciSpot: Scientific computing on temporally constrained cloud preemptible VMs
JP2016192692A (en) Path arrangement method, path arrangement device, and program
US11748226B2 (en) Service graph generator, service graph generation method, and program
KR20220096531A (en) Cloud optimization device and method for big data analysis based on artificial intelligence
US20170019462A1 (en) Management method and computer
US11522807B2 (en) Computationally efficient analysis and management of systems modeled as networks
EP3173984A1 (en) Methods and apparatuses for quantum annealing tuning
US20080147221A1 (en) Grid modeling tool
Rahmani et al. A file group data replication algorithm for data grids
CN102822806B (en) Detect the state that gets nowhere of application
US10237159B2 (en) Computer system and method of controlling computer system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100803

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111228

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120215

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

Free format text: PAYMENT UNTIL: 20150224

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees