JP2016110280A - Data collection system and data collection method - Google Patents
Data collection system and data collection method Download PDFInfo
- Publication number
- JP2016110280A JP2016110280A JP2014245025A JP2014245025A JP2016110280A JP 2016110280 A JP2016110280 A JP 2016110280A JP 2014245025 A JP2014245025 A JP 2014245025A JP 2014245025 A JP2014245025 A JP 2014245025A JP 2016110280 A JP2016110280 A JP 2016110280A
- Authority
- JP
- Japan
- Prior art keywords
- data
- communication
- log
- user
- time
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、データ収集システムおよびデータ収集方法に関する。 The present invention relates to a data collection system and a data collection method.
機器の利用状況の管理やセキュリティ強化などの観点から、機器が生成するログの収集、保管及び解析が行われている。また、ネットワーク環境の整備に伴って機器とネットワークを介して接続されたログ管理システムがログの収集を自動的に行うことも多い。また、ネットワーク上の任意の情報処理装置が処理を行うクラウドコンピューティングと呼ばれる技術が広まり、機器のログの収集等がクラウドサービスという形態で提供されることも増えている。 Logs generated, stored, and analyzed by devices are collected from the perspective of managing device usage and enhancing security. In addition, in many cases, a log management system connected to a device via a network automatically collects logs as the network environment is improved. In addition, a technique called cloud computing, in which an arbitrary information processing apparatus on a network performs processing, is spreading, and collection of device logs and the like is increasingly provided in the form of a cloud service.
クラウドサービスでログの収集等が行われる場合、クラウド上のログ管理システムはクラウドサービスを利用するさまざまなサービス利用企業が有する機器からログを収集する。サービス利用企業の規模や使用している機器は様々であり、また、サービス利用企業の通信環境(通信速度や通信帯域)も様々である。このため、サービス利用企業がそれぞれ任意のタイミングでログを送信すると、他のサービス利用企業の送信タイミングと重複してしまい、ログ管理システムへのログの送信が集中するおそれがある。この場合、ログ管理システムは集中した大量のログを遅延や障害を生じさせることなく受信しなければならない。 When logs are collected by a cloud service, the log management system on the cloud collects logs from devices owned by various service users who use the cloud service. There are various scales of service use companies and devices in use, and there are also various communication environments (communication speeds and communication bands) of service use companies. For this reason, if the service use enterprises transmit logs at arbitrary timings, the transmission timings of other service use enterprises overlap, and there is a possibility that log transmissions to the log management system will be concentrated. In this case, the log management system must receive a large amount of concentrated logs without causing delays or failures.
しかし、大量のログが集中してログ管理システムに送信された場合にも適切にログを受信するためにはログ管理システムの処理能力を向上させたり、通信インフラに対する投資が必要になったりするため、クラウドサービス側にとってコスト増となってしまう。 However, even when a large amount of logs are concentrated and sent to the log management system, it is necessary to improve the processing capacity of the log management system and to invest in communication infrastructure in order to receive logs appropriately. This increases costs for the cloud service.
このため、ログ管理装置がログ収集のタイミングを制御することでログ送信の集中を避ける技術が採用される場合がある(例えば、特許文献1参照。)。特許文献1には、ログの性質(サービスレベル項目、評価の期限、その評価に必要となるログの種別など)に基づいた優先順位に従いログ収集を実行するログ管理装置が開示されている。
For this reason, a technique for avoiding concentration of log transmission by controlling the timing of log collection by the log management apparatus may be employed (for example, see Patent Document 1).
しかしながら、特許文献1に記載されたログ管理装置では、例えば評価の期限が近いサービス利用企業にリソースが割り当てられログの収集が開始されるため、評価の期限が近いサービス利用企業が多ければログ送信が集中するおそれがあるという問題がある。
However, in the log management device described in
本発明は上記課題に鑑み、ログの収集タイミングの集中を避けることが可能なログ管理システムを提供することを目的とする。 In view of the above problems, an object of the present invention is to provide a log management system capable of avoiding concentration of log collection timing.
本発明は、利用者が利用する機器からネットワークを介してデータを収集するデータ収集システムであって、機器からデータを受信するデータ受信手段と、前記データ受信手段が受信した過去のデータを用いて、前記データ受信手段の通信負荷を利用者ごとに推定する通信負荷推定手段と、前記データ収集システムが保持する通信ログから時間帯ごとに使用済みの通信帯域を推定する通信帯域推定手段と、前記通信負荷推定手段が推定した通信負荷が最も大きい利用者の機器がデータを送信するタイミングを、機器からのデータを受信するために利用可能な通信帯域がある時間帯に割り当てる送信タイミング割り当て手段と、を有することを特徴とする。 The present invention is a data collection system for collecting data from a device used by a user via a network, using data receiving means for receiving data from the device, and past data received by the data receiving means. Communication load estimating means for estimating the communication load of the data receiving means for each user, communication band estimating means for estimating a used communication band for each time zone from a communication log held by the data collection system, A transmission timing assigning means for assigning a timing at which a user's device having the largest communication load estimated by the communication load estimating means transmits data to a time zone in which there is a communication band available for receiving data from the device; It is characterized by having.
ログの収集タイミングの集中を避けることが可能なログ管理システムを提供することができる。 A log management system capable of avoiding concentration of log collection timing can be provided.
以下、本発明を実施するための形態について図面を参照しながら説明する。
図1は、本実施形態のサービス利用システム100のシステム構成図の一例を示す。サービス利用システム100では、ログ管理システム13と1つ以上のサービス利用企業11とがネットワーク12を介して通信可能に接続される。このようなサービス利用システム100を前提にしてログ管理システム13による本実施形態のログ収集のスケジューリングについて説明する。
Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.
FIG. 1 shows an example of a system configuration diagram of a
図2はログ管理システム13によるログ収集のスケジューリングの概略を説明する図の一例である。図2(a)はログ管理システム13の各時間帯における受信側の通信帯域を模式的に示している。すなわち、時間帯ごとにログ管理システム13がどのくらいのデータ量を受信しているかを示す。詳細は後述するがログ管理システム13はスケジューリングに際してこのように使用済みの通信帯域を見積もる。
FIG. 2 is an example of a diagram illustrating an outline of log collection scheduling by the
図2(b)はサービス利用企業11が送信するログファイル容量を模式的に示している。各サービス利用企業11は契約などで定まっているログ情報収集間隔に応じて定期的にログファイルを送信する。ログファイル容量は定期的に送信される複数のログの容量である。また、ログファイル容量の縦幅は通信速度を表している。通信速度について詳細は後述するが、通信速度はログファイルを送信するサービス利用企業11が備える設備又は契約している通信回線業者などによって定まる。通信時間は、ログファイル容量と通信速度から算出できる。
FIG. 2B schematically shows the capacity of a log file transmitted by the
ログ管理システム13はスケジューリングに際して各サービス利用企業11ごとに図2(b)のようなログファイル容量と通信速度を計算する(通信時間はこれらから算出される)。
The
図2(c)はログ管理システム13によるあるサービス利用企業のログ収集のスケジューリングを示している。ログ管理システム13は使用済みの通信帯域が最も少ない時間帯を検出する。そして、この時間帯に、ログファイル容量が最も大きいサービス利用企業11を割り当てる。なお、必ずしも、使用済みの通信帯域が最も少ない時間帯にログファイル容量が最も大きいサービス利用企業11を割り当てる必要はなく、使用済みの通信帯域が最も少ない時間帯を優先してサービス利用企業11を割り当てればよい。
FIG. 2C shows the log collection scheduling of a certain service using company by the
こうすることで、ログ管理システム13にとって通信帯域が空いている時間帯に通信負荷が加わりやすいログファイルを送信するサービス利用企業11を割り当てることができる。
By doing so, it is possible to assign a
図2(d)は通信帯域が最も少ない時間帯にサービス利用企業11を割り当てた後の、各時間帯における通信帯域を模式的に示している。ログ管理システム13は通信帯域が最も少ない時間帯に、次にログファイル容量が最も大きいサービス利用企業11を割り当てる。
FIG. 2D schematically shows the communication band in each time slot after the
このように各サービス利用企業11を最も通信帯域が空いている時間帯に割り当てることを繰り返すことで通信帯域が均一化され、ログファイルの送信がある時間帯に集中することを抑制できる。
In this way, by repeatedly assigning each
<用語について>
ログファイル…ログが送信される際の送信対象である。ログファイルはデータの一例である。多くの場合、ログファイルには複数のログが含まれる。なお、ログとログファイルは厳密には区別されなくてよい。
ログ収集のスケジューリング…ログ管理システムがログファイルを収集するタイミング(例えば時刻)を決定することである。ログ管理システムがログファイルを収集するタイミングは、機器15から見るとログファイルを送信するタイミングとなる。
使用済みの通信帯域…ログ管理システム13がすでに使用している通信帯域であり、使用済みでない通信帯域が利用可能な通信帯域である。本実施形態では通信帯域を通信速度と同じ次元で表す。
<Terminology>
Log file: This is the transmission target when the log is transmitted. A log file is an example of data. In many cases, the log file contains multiple logs. Note that the log and the log file do not have to be strictly distinguished.
Log collection scheduling is to determine the timing (for example, time) at which the log management system collects log files. When the log management system collects the log file, the log file is transmitted when viewed from the
Used communication band: A communication band that is already used by the
<構成例>
図1に基づいてサービス利用システム100について説明する。ログ管理システム13は、クラウドコンピューティングが用いられたサービスであるクラウドサービスを提供する。ログ管理システム13はデータ収集システムの一例である。クラウドコンピューティングの物理的な構成に厳密な定義はないが、ログ管理システム13は少なくとも1台以上の情報処理装置を備えている。クラウドコンピューティングは、一例として、複数のサーバ、L1〜L3スイッチで接続された複数のサーバが搭載されたラック、及び、L1〜L3スイッチで接続された複数のラックが集積されたクラスタ等を有している。1台のサーバが仮想化によって複数のサーバとしての機能を提供することや、データストレージが複数のサーバで共有されてもよい。また、ログ管理システム13の機能が搭載されるサーバが固定されている必要はなく、サーバの増加、ラックやクラスタの組み替えに応じてログ管理システム13の物理的な配置は変動しうる。このように、本実施形態のログ管理システム13の物理的な構成は固定的でない可能性があり、ログ管理システム13は情報処理装置の機能を備えていればよい。
<Configuration example>
The
なお、ログ管理システム13がクラウドコンピューティングとしてではなく単独の情報処理装置により提供されることも可能である。
Note that the
サービス利用企業11はクラウドサービスの契約が可能な法人、自然人、団体又は個人等である。サービス利用企業11はクラウドサービスの利用者やユーザと称することができる。具体的には、サービス利用企業11は、例えば企業、ある企業の事業所、企業の工場、事務所、役所、社団法人、財団法人、学校法人、宗教法人、NPO(Nonprofit Organization)などがある。
The
サービス利用企業11はログを生成する機器15(図1では符号15a〜15eで示す)を使用する。機器15は例えばMFP(Multi Function Peripheral)15a、プロジェクタ15b、テレビ会議端末15c、電子ホワイトボード15d又はPC(Personal Computer)15eであるがこれらには限られない。また、機器15は1台でもよい。
The
各機器15はデータ送受信制御装置14に接続されている。データ送受信制御装置14は情報処理装置の一種である。データ送受信制御装置14は、各機器15が生成したログを取りまとめ、ログ管理システム13により定められたスケジュールにしたがって各機器15のログファイルをログ管理システム13に送信する。
Each
データ送受信制御装置14は各機器15のいずれかが代用してもよい。この場合、独立したデータ送受信制御装置14は不要であり、機器15がデータ送受信制御装置14の機能を担う。
Any of the
また、データ送受信制御装置14及び機器15が担うデータ送受信制御装置14の機能はなくてもよい。この場合、各機器15が、ログ管理システム13により定められたスケジュールにしたがって各機器15のログファイルをログ管理システム13に送信する。
Further, the functions of the data transmission /
<<ハードウェア構成>>
図3は、ログ管理システム13のハードウェア構成図の一例である。なお、図示するログ管理システム13のハードウェア構成は、1つの筐体に収納されていたりひとまとまりの装置として備えられていたりする必要はなく、ログ管理システム13が備えていることが好ましいハード的な要素を示す。
<< Hardware configuration >>
FIG. 3 is an example of a hardware configuration diagram of the
ログ管理システム13は、バス310に接続されたCPU301、ROM302、RAM303、HDD305、ディスプレイ308、ネットワークI/F309、キーボード311、マウス312、メディアドライブ307、及び、光学ドライブ314を有する。CPU301は、HD304に記憶されているプログラム320を実行して、ログ管理システム13の全体の動作を制御する。ROM302はIPL等のCPU301の駆動に用いられるプログラムを記憶している。RAM303はCPU301のワークエリアとして使用される。HD304は不揮発性メモリを搭載した記憶装置であり、ログ管理を行うプログラム320、OS、クラウドコンピューティングの構築・管理等を行うOpenStackソフトウェアなどを記憶している。
The
HDD(Hard Disk Drive)305はCPU301の制御にしたがってHD304に対する各種データの読み出し又は書き込みを制御する。ディスプレイ308はカーソル、メニュー、ウィンドウ、文字、又は画像などの各種情報を表示する。ネットワークI/F309はLANやインターネットなどのネットワーク12とのインタフェースであり、データ送受信制御装置14や機器15との通信を行う。キーボード311及びマウス312は入出力装置であり、キーボード311は文字、数値、各種指示などの入力のための複数のキーを備えこれらからの入力を受け付ける。マウス312はマウスポインターの移動及び各種指示の選択や実行、処理対象の選択などを受け付ける。
An HDD (Hard Disk Drive) 305 controls reading or writing of various data with respect to the
メディアドライブ307はフラッシュメモリ等のメディア306に対するデータの読み出し又は書き込み(記憶)を制御する。光学ドライブ314は着脱可能な記録媒体の一例としてのCD−ROM(Compact Disc Read Only Memory)313等に対する各種データの読み出し又は書き込みを制御する。
The media drive 307 controls reading or writing (storage) of data with respect to the medium 306 such as a flash memory. The
なお、上記プログラム320は、インストール可能な形式又は実行可能な形式のファイルで、メディア306やCD−ROM313等のコンピュータで読み取り可能な記録媒体に記録して流通させるようにしてもよい。あるいは、プログラム320は、任意のサーバ型の情報処理装置からダウンロードされる形態で配布されてもよい。
The
なお、データ送受信制御装置14のハードウェア構成はログ管理システム13と同様でよいため図示は省略する。
The hardware configuration of the data transmission /
<<ログ管理システムの機能について>>
図4は、ログ管理システム13の機能ブロック図の一例を示す。ログ管理システム13は、送受信部23、ログ管理部22、ログ保管部21、ログ解析部25、予測データ保管部24、ジョブスケジューリング部26、及び、ジョブ実行タイミング制御部27を有している。
<< About log management system functions >>
FIG. 4 shows an example of a functional block diagram of the
送受信部23、ログ管理部22、ログ保管部21、ログ解析部25、予測データ保管部24、ジョブスケジューリング部26、及び、ジョブ実行タイミング制御部27はCPU301がHD304に記憶されているプログラム320を実行して図3に示したハードウェアと協働することで実現される機能又は手段である。
The transmission /
また、ログ管理システム13は、ログデータ記憶部31、サービス利用企業データ記憶部32、予測データ記憶部33、通信ログ記憶部34、及び、ログ送信スケジュール記憶部35を有している。ログデータ記憶部31、サービス利用企業データ記憶部32、予測データ記憶部33、通信ログ記憶部34、及び、ログ送信スケジュール記憶部35は例えばHD304、RAM303、メディア306又はCD−ROM313等に構築されるデータベースや記憶領域である。これらはログ管理システム13がアクセス可能なネットワーク12上に存在すればよく、ログ管理システム13が保有していなくてもよい。
The
送受信部23は、サービス利用企業11からログを受信したり、サービス利用企業11にログ送信タイミングを通知したりする。
The transmission /
ログ管理部22はログの収集、保管、及び、解析を行う。すなわち、ログ管理に関する全体的な制御を行う。
The
ログ保管部21はログをログデータ記憶部31に保管する(記憶させる)。例えば、サービス利用企業11ごとにログを保管する。サービス利用企業11が複数の機器15を有している場合、機器15ごとに保管する。また、例えば、保管期限を過ぎたログを削除する、圧縮して大容量の記憶媒体に保管する等を行う。
The
ログ解析部25はログを解析して予測データを算出する。ログ解析部25は必要に応じてサービス利用企業データ記憶部32を参照する。予測データは、ログファイル容量、通信速度、及び、通信帯域である。ここで予測データとは次回のログファイルの送信タイミングにおいて、推定されるログファイル容量、通信速度、及び、通信帯域である。予測データを算出するため、ログ解析部25はログファイル容量算出部251、通信速度算出部252、及び、通信帯域算出部253を有している。これらの詳細は後述する。予測データ保管部24は予測データを予測データ記憶部33に保管する。
The
ジョブスケジューリング部26は予測データに基づいてログの収集タイミングをスケジューリングする。ログの収集タイミングは機器15から見るとログの送信タイミングであり、以下、ログ送信タイミング又はログ収集タイミングのスケジューリング結果をログ送信スケジュールという。ジョブスケジューリング部26はスケジューリングにより得られたログ送信スケジュールをログ送信スケジュール記憶部35に記憶させる。詳細は後述する。ジョブスケジューリング部26は送信タイミング割り当て手段の一例である。
The
ジョブ実行タイミング制御部27はログ送信スケジュール記憶部35に記憶されているログ送信スケジュールを読み出して、各サービス利用企業11に対しログファイルの送信を要求する。これによりログファイルの収集を行うことができる。
The job execution
続いて、ログデータ記憶部31、サービス利用企業データ記憶部32、予測データ記憶部33、通信ログ記憶部34、及び、ログ送信スケジュール記憶部35が保持するデータについて説明する。
Next, data held by the log
<<ログデータ>>
図5を用いていくつかのログデータの一例を説明する。図5のようなログデータがサービス利用企業11から送信され、ログデータ記憶部31に記憶される。
<< Log data >>
An example of some log data will be described with reference to FIG. Log data as shown in FIG. 5 is transmitted from the
図5(a)は機器15の1つであるMFPのプリント機能に関するログの一例を示す。図5(a)では各ログに行番号、ジョブ時刻、ユーザID、ジョブ名、ジョブ結果、ファイルタイプ、ファイルID、ファイルサイズ、及び、ジョブ時間が対応づけられている。各フィールドについて説明する。
行番号:ログの識別情報
ジョブ時刻:ジョブの実行を開始した時刻(ジョブとは機器15の機能の実行単位である)
ユーザID:サービス利用企業11の識別情報
ジョブ名:ユーザにより利用されたジョブの名称
ジョブ結果:ジョブの実行結果
ファイルタイプ:印刷された文書の種類
ファイルID:MFPが付与した文書の識別情報
ファイルサイズ:印刷された文書のサイズ
ジョブ時間:印刷の開始から終了までに要した時間(時間情報の一例である)
このMFP15aはクラウドプリントに対応している。クラウドプリントとはクライアント(PC15eなど)が印刷対象の文書をクラウドサービスに預けておき、任意の場所とタイミングでユーザがMFP15aに文書をダウンロードさせてMFP15aが印刷することを言う。
FIG. 5A shows an example of a log related to the print function of the MFP that is one of the
Line number: Log identification information Job time: Time when job execution is started (job is a unit of execution of the function of the device 15)
User ID: Identification information of
The
行番号2,4のログにファイルタイプとファイルサイズが登録されているので行番号2,4のジョブはクラウドプリントであることが分かる。行番号2,4のファイルはクラウドサービスからMFP15aが受信したファイルである。
Since the file type and file size are registered in the logs of
なお、事前にPC15eがファイルをクラウドサービスに送信している。このようにファイルがクラウドサービスを利用して送受信される場合、サービス利用企業11からログ管理システム13へのファイルの送信イベント(以下、ファイル送信イベントという)が発生している。PC15aのログもログデータ記憶部31に記憶されており、ログ管理システム13はファイル送信イベントのログを取得できる。
Note that the
図5(b)は機器15の1つであるMFP15aのスキャン機能に関するログの一例を示す。MFP15aはクラウドスキャンに対応している。クラウドスキャンとはユーザがMFP15aに原稿を読み取らせてMFP15aが作成した画像データをクラウドサービスに預けておくことをいう。ユーザは任意の場所とタイミングでMFP15aに画像データをダウンロードしてMFP15aに印刷させることができる。また、PC15eがダウンロードすることもできる。
FIG. 5B shows an example of a log related to the scan function of the
図5(b)のログのフィールドは図5(a)のログと同じである。行番号2,4のログにファイルタイプとファイルサイズが登録されているので行番号2,4のジョブはクラウドスキャンであることが分かる。すなわち、行番号2,4のログはファイル送信イベントを含むことを示している。
The log field in FIG. 5B is the same as the log in FIG. Since the file type and file size are registered in the logs of
図5(c)は機器15の1つである電子ホワイトボード15dのログの一例を示す。図5(c)のログのフィールドは図5(a)(b)のログと同じである。なお、電子ホワイトボード15dはクラウドサービスに対応している。電子ホワイトボード15dは会議などで使用されるファイルをクラウドサービスに預けておき、任意の場所とタイミングでユーザが電子ホワイトボード15dにファイルをダウンロードして電子ホワイトボード15dが表示したり印刷したりすることができる。図15(c)においても行番号2,4のログはファイル送信イベントを含むことを示している。
FIG. 5C shows an example of a log of the
この他、プロジェクタ15b及びテレビ会議端末15cのログもログデータ記憶部31に記憶される。プロジェクタ15b及びテレビ会議端末15cもクラウドサービスに対応しており、ファイルの送受信が可能である。
In addition, logs of the
<<サービス利用企業データ>>
なお、ログ管理のクラウドサービスを提供する業者(ログ管理システムの運営者等)は保有機器、台数、ログ情報収集期間をサービス利用企業データ記憶部32に登録することができる。
It should be noted that a provider (such as an operator of a log management system) that provides a log management cloud service can register the owned device, the number of units, and the log information collection period in the service use company
<<予測データ>>
なお、表3では通信帯域はテーブル状に表されているが、時間軸に対し使用済みの通信帯域を階段状にグラフ化することで図2(a)のように表すことができる。 In Table 3, the communication bandwidth is shown in a table shape, but it can be expressed as shown in FIG. 2A by graphing the used communication bandwidth in a stepwise manner with respect to the time axis.
<<通信ログ>>
送受信部23が受信するデータにはログファイルを含む他、クラウドサービスで送受信されるファイルなどログ管理システム13が受信する全てのデータが含まれる。したがって、通信ログによりログ管理システム13がどのくらいデータを受信しているかが見積もれるようになっている。通信ログが受信するデータのみのログでよいのは送信と受信の双方向通信になっているためであるが、データの送信が受信にも影響を与える場合には送信側のデータを考慮してもよい。
The data received by the transmission /
通信ログは例えば通信開始時刻でソートされており、処理ID、受信ファイルサイズ、及び、受信時間を有している。
通信開始時刻:ログ管理システム13がデータの受信を開始した時刻
処理ID:通信ログの識別番号
受信ファイルサイズ:受信したファイル(ログファイルに限られない)のサイズ
受信時間:受信したファイルの全体を受信するために要した時間
受信ファイルサイズを受信時間で割れば通信速度を算出できる。この通信速度は受信時間に渡ってログ管理システム13の通信リソースを使用するものであるため、通信開始時刻から受信時間にわたって通信速度を累積した値が使用済みの通信帯域となる。
The communication log is sorted by, for example, the communication start time, and has a process ID, a received file size, and a reception time.
Communication start time: Time when the
<<ログ送信スケジュール>>
<<サービス利用企業の機能について>>
図4に示すように、サービス利用企業11はデータ送受信制御装置14と1台以上の機器15を有している。データ送受信制御装置14はログ取得部141を有している。ログ取得部141はCPU301がHD304に記憶されているプログラムを実行して図3に示したハードウェアと協働することで実現される機能又は手段である。ログ取得部141はログ管理システム13が決定したログ送信スケジュールに従って各機器15からログを取得する。
<< About the functions of service companies >>
As shown in FIG. 4, the
<予測データの算出>
以下では、予測データとして、ログファイル容量、通信速度、及び、利用可能な通信帯域の算出方法を説明する。
<Calculation of forecast data>
Hereinafter, a calculation method of the log file capacity, the communication speed, and the usable communication band will be described as the prediction data.
<<ログファイル容量>>
ログファイル容量算出部251はログを解析してログファイル容量を算出する。ログファイル容量は1回の送信タイミングで(ログ情報収集間隔ごとに)サービス利用企業11が送信するログファイルのサイズである。ログファイル容量は、1つのサービス利用企業11が有する機器15の機能ごとのログのサイズを合計したものである。例えば、サービス利用企業11がMFP15aを有するものとする。MFP15aがログイン機能、プリント機能及びスキャン機能を有する場合、まず、各機能ごとにログファイル容量を算出する。そして、ログイン機能、プリント機能及びスキャン機能のログファイル容量を合計する。他の機器15についても各機能のログファイル容量の合計を算出し、サービス利用企業が有する全ての機器15のログファイル容量を合計することで1回の送信タイミングでデータ送受信制御装置14が送信するログファイル容量を算出する。
<< Log file size >>
The log file
このようにログ管理システム13が、ログに記述された情報に基づきログファイル容量を算出し、ログファイル容量等に基づいてサービス利用企業を最も通信帯域の空いている時間帯に割り当てることが本実施形態の特徴の1つになっている。
As described above, the
図6はログファイル容量の計算を説明する手順を示すフローチャート図の一例である。図6の手順はログ管理システム13がログファイルを受信するとスタートする。
FIG. 6 is an example of a flowchart showing a procedure for explaining the calculation of the log file capacity. The procedure in FIG. 6 starts when the
まず、ログファイル容量算出部251はサービス利用企業データ記憶部32に記憶されているログ情報収集間隔を読み出す(S10)。ログ情報収集間隔は、機能ごとのログファイル容量の合計を算出する期間となる。
First, the log file
次に、ログファイル容量算出部251はログデータ記憶部31のログを参照してログ情報収集間隔のジョブの実行回数を機能ごとにカウントする(S20)。
Next, the log file
ログファイル容量算出部251は同様の情報を、前回のログ情報収集間隔、前々回のログ情報収集間隔、及び、さらに過去のログ情報収集間隔などから取得する。例えば、直近のログ情報収集間隔のある機器15のログイン機能をA回、前回のログ情報収集間隔のログイン機能をB回、前々回のログ情報収集間隔のログイン機能をC回とする。ジョブの実行回数がカウントされたログ情報収集間隔の数をN(直近,前回,前々回なら3回)とする。
The log file
ログファイル容量算出部251は各ログ情報収集間隔のジョブ実行回数の平均を求める(S30)。
ジョブ実行回数の平均=(A回+B回+C回)/N
これがログ情報収集間隔におけるある機器15のログイン機能の平均的なジョブ実行回数である。
The log file
Average number of job executions = (A times + B times + C times) / N
This is the average job execution count of the login function of a
次に、ログファイル容量算出部251は着目している機能のログ情報収集間隔におけるログファイル容量を算出する(S40)。ジョブ実行ごとにログが作成されるが、1つのログのサイズはほぼ一定である。一方、機能ごとに作成されるログの行数が異なる場合がある。そこで、ログファイル容量算出部251は予め機能ごとのログの行数を保持している。
Next, the log file
ジョブ実行回数の平均×1つのログの行数×ログの1行あたりのログサイズ
次に、ログファイル容量算出部251はステップS40で求めた機能ごとのログファイル容量(乗算結果)の合計を算出する(S50)。
Average number of job executions x number of lines in one log x log size per log line Next, the log file
そして、ログファイル容量算出部251は機器15ごとに同様な計算を行い、機器15ごとのログファイル容量を合計する(S60)。これにより、1つのサービス利用企業11が1回の送信タイミングで送信するログファイル容量を算出できる。
Then, the log file
<<通信速度の算出>>
通信速度は、サービス利用企業11がデータをログ管理システム13に送信する際の通信速度である。通信速度の算出に用いられるデータは特に制約はないが、本実施形態ではクラウドプリントやクラウドスキャンで機器15がログ管理システム13にログファイルを送信する際の通信速度を利用する。
<< Communication speed calculation >>
The communication speed is a communication speed when the
図7は通信速度算出部252が通信速度を算出する手順を示すフローチャート図の一例である。図7の手順はログ管理システム13がログファイルを受信するとスタートする。
FIG. 7 is an example of a flowchart illustrating a procedure for the communication
通信速度算出部252はログファイルを送信したサービス利用企業11のログを参照し、ファイル送信イベントのログを抽出する(S10)。ファイル送信イベントのログにはファイルサイズとジョブ時間が記述されている。
The communication
通信速度算出部252はファイルの通信速度を算出する(S20)。ファイルの通信速度は、ファイルサイズをジョブ時間で除算することで算出される。
The communication
通信速度算出部252はログファイルを送信したサービス利用企業11の全てのファイル送信イベントから計算した通信速度(除算結果)を合計する(S40)。
The communication
次に、通信速度算出部252はステップS40で計算した合計をファイル送信イベントの数で割ることで通信速度の平均を算出する(S50)。この通信速度の平均を予測データとしての通信速度に決定する。
Next, the communication
このようにログ管理システム13が、ログに記述された情報から通信速度を算出し、通信速度に基づきサービス利用企業を、最も通信帯域の空いている時間帯に割り当てることが本実施形態の特徴の1つになっている。
As described above, the
なお、予測データとしての通信速度は、平均以外に中央値としてもよい。例えば、ステップS40で算出された全てのファイル送信イベントから計算した通信速度の中央値を予測データとしての通信速度とする。あるいは、平均に対する2σの範囲を予測データとしての通信速度としてもよい。例えば、平均+2σを予測データとしての通信速度とすれば通信速度を早く見積もることができ、サービス利用企業全体のログファイルの収集時間を短くできる。また、平均−2σを予測データとしての通信速度とすれば通信速度を遅く見積もることができ、ログ管理システム13の通信帯域に対し余裕のあるスケジューリングが可能になる。なお、通信速度は平均+2σ又は平均−2σに限られず平均±2σの範囲の任意の値でよい。
Note that the communication speed as the prediction data may be a median in addition to the average. For example, the median communication speed calculated from all the file transmission events calculated in step S40 is used as the communication speed as prediction data. Alternatively, a range of 2σ with respect to the average may be used as the communication speed as the prediction data. For example, if the average + 2σ is the communication speed as the prediction data, the communication speed can be estimated quickly, and the log file collection time of the entire service using company can be shortened. Further, if the average -2σ is the communication speed as the prediction data, the communication speed can be estimated slowly, and scheduling with a margin for the communication band of the
<<通信帯域の算出>>
図8は通信帯域の算出方法を模式的に説明する図の一例を、図9は通信帯域算出部253が通信帯域を算出する手順を示すフローチャート図の一例をそれぞれ示す。図9の手順は、例えば送信ログのスケジューリングの前に実行される。
<< Calculation of communication bandwidth >>
FIG. 8 schematically illustrates an example of a communication band calculation method, and FIG. 9 illustrates an example of a flowchart illustrating a procedure for the communication band calculation unit 253 to calculate a communication band. The procedure of FIG. 9 is executed before, for example, scheduling of the transmission log.
まず、通信帯域算出部253は時間帯ごとの通信帯域利用実績を算出する(S10)。図8(a)の通信帯域はログ管理システム13から見てどのくらいの通信帯域が使用済みかを示す通信帯域利用実績である。通信帯域利用実績の算出ではサービス利用企業11が送信するログファイルやファイル送信イベントのファイルだけでなく、ログ管理システム13が受信する全てのデータについて通信帯域が算出される。通信帯域算出部253は例えば1時間ごとの通信帯域利用実績を算出する。図8では0時台から23時台までの1時間ごとの時間帯が示されている。
First, the communication band calculation unit 253 calculates a communication band use record for each time period (S10). The communication band shown in FIG. 8A is a communication band use record showing how much communication band has been used as viewed from the
通信帯域算出部253は通信ログ記憶部34に記憶されている通信ログを読み出し、通信開始時刻に基づき時間帯を特定する。すなわち、13:30が通信開始時刻であれば、13時台が時間帯である。通信帯域算出部253は表4の通信ログから受信ファイルサイズと受信時間を読み出して、「受信ファイルサイズ÷受信時間」を算出して通信速度を算出する。この通信速度は、ログイン管理システムにとって使用済みの通信帯域であると解釈することができる。したがって、時間帯ごとに、1日の全ての通信ログの通信速度を加算することで使用済みの通信帯域を算出することができる。
The communication band calculation unit 253 reads the communication log stored in the communication
1日分だけの通信帯域利用実績では、ログ管理システム13が突発的に行った通信による通信帯域を含む可能性があるため、通信帯域算出部253は時間区間ごとに平均を算出する(S20)。図8(b)は図8(a)とは別の日の1日の各時間帯の通信帯域を示す。
Since the communication band usage record for only one day may include a communication band due to the sudden communication performed by the
通信帯域算出部253は各日の時間帯ごとの通信帯域を加算し日数で割ることで、1日の時間帯ごとの平均的な通信帯域を算出する。例えば、図8(a)では0時台に通信帯域51A、51Bの使用済みの通信帯域がある。図8(b)では0時台に通信帯域51C〜51Eの使用済みの通信帯域がある。したがって、使用済みの通信帯域の平均値は、通信帯域51A〜51Eの合計を2日で割れば得られる。
(51A+51B+51C+51D+51E)/2日
1時台、2時台〜23時台についても同様に算出できる。
The communication bandwidth calculation unit 253 calculates an average communication bandwidth for each time zone by adding the communication bandwidth for each time zone and dividing by the number of days. For example, in FIG. 8A, there are used
(51A + 51B + 51C + 51D + 51E) / 2
ログ情報収集間隔が1日に1回のサービス利用企業11のためには、図8(a)(b)にて説明したように通信帯域を算出すればよい。
For the
ところで、サービス利用企業11ごとにログ情報収集間隔が異なっているため、通信帯域もログ情報収集間隔に合わせて算出することが好ましい。ログ情報収集間隔が1週に1回のサービス利用企業11のために、通信帯域算出部253は各曜日(サービス利用企業11がログファイルを送信することになっている)の1日の通信帯域を算出する。すなわち、通信帯域算出部253は同じ曜日だけの1日の通信帯域を算出し、時間帯ごとに平均を算出する。例えば、月曜日であれば、過去の月曜日の通信帯域を算出し、時間帯ごとに平均を算出する。
By the way, since the log information collection interval is different for each
ログ情報収集間隔が1月に1回のサービス利用企業11のために、通信帯域算出部253は各日(サービス利用企業11がログファイルを送信することになっている)の1日の通信帯域を算出する。すなわち、通信帯域算出部253は一月中の同じ日(例えば1日や31日)だけの1日の通信帯域を算出し、時間帯ごとに平均を算出する。このようにして、ログ情報収集間隔に応じた通信帯域を算出できる。
For the
<<ログファイルの送信タイミングのスケジューリング>>
図10はジョブスケジューリング部26がログファイルの送信タイミングをスケジューリングする手順を示すフローチャート図の一例である。ジョブスケジューリング部26は後述するように例えばログファイル容量が最も大きいログファイルのサービス利用企業を、最も通信帯域の空いている時間帯に割り当てる(S10)。この処理を、各サービス利用企業のログ情報収集間隔ごと、かつ、サービス利用企業ごとに行う。
<< Scheduling of log file transmission timing >>
FIG. 10 is an example of a flowchart illustrating a procedure for scheduling the log file transmission timing by the
すなわち、ログ情報収集間隔が1日に1回のサービス利用企業11のために、ログファイルの送信タイミングを各サービス利用企業11に割り当てる。次に、ログ情報収集間隔が1週に1回のサービス利用企業11のために、ログファイルの送信タイミングを各サービス利用企業11に割り当てる。次に、ログ情報収集間隔が1月に1回のサービス利用企業11のために、ログファイルの送信タイミングを各サービス利用企業11に割り当てる。
That is, the log file transmission timing is assigned to each
図11を用いて、ログファイルの送信タイミングのスケジューリングについて説明する。なお、スケジューリングは例えば、毎月1回、6ヶ月に1回、又は、1年に1回などの決まったタイミングで実施される。 The log file transmission timing scheduling will be described with reference to FIG. Note that the scheduling is performed at a fixed timing such as once a month, once every six months, or once a year.
図11(a)は予測データとしての通信帯域の一例を示す。また、表8は説明のために記した予測データとしてのログファイル容量と通信速度の一例を示す。 FIG. 11A shows an example of a communication band as prediction data. Table 8 shows an example of the log file capacity and communication speed as prediction data described for explanation.
ジョブスケジューリング部26は通信帯域の最も低い時間帯に、以下のいずれかのサービス利用企業11を割り当てる。
・ログファイル容量が最も大きいログファイルのサービス利用企業11を割り当てる
・通信速度が最も早いログファイルのサービス利用企業11を割り当てる
・通信時間が最も長いログファイルのサービス利用企業11を割り当てる
割り当て方の考え方としてはログ管理システム13の通信負荷が大きなログファイルを先に割り当てるというものである。すなわち、ログファイル容量、通信速度、又は、通信時間の1つ以上は通信負荷情報の一例である。これにより、スケジューリングの後の方では通信負荷が大きなログファイルが少なくなるので、通信帯域が不均一に占有されることが抑制され、ログ管理システム13へのログの送信が集中しにくくなる。
The
Assign the log
以下では説明の便宜上、ログファイル容量が最も大きいログファイルを優先するものとして説明するが、通信速度が最も早いログファイル又は通信時間が最も長いログファイルを優先してもよい。なお、ログファイル容量は通信速度×通信時間の矩形領域の面積となっている。 In the following, for convenience of explanation, the log file having the largest log file capacity is described as being given priority. However, the log file having the fastest communication speed or the log file having the longest communication time may be given priority. The log file capacity is an area of a rectangular area of communication speed × communication time.
図11(a)を参照すると、0:20に最も通信帯域が低い時間帯がある。また、表8を参照すると、ログファイル容量が最も大きいサービス利用企業はユーザIDが「0003」のサービス利用企業であることが分かる。したがって、ユーザIDが「0003」のサービス利用企業のログファイルが0:20に割り当てられる。これにより、図11(b)に示すように、0:20から0:30までの時間帯にログファイル52aが割り当てられる。すなわち、通信速度が800〔kbps〕で10分間(600秒=60000バイト×8bit/800kbps)のログファイル52aをサービス利用企業11が送信するための時間と通信帯域が確保される。
Referring to FIG. 11A, there is a time zone with the lowest communication band at 0:20. Also, referring to Table 8, it can be seen that the service using company with the largest log file capacity is the service using company with the user ID “0003”. Therefore, the log file of the service using company whose user ID is “0003” is assigned to 0:20. As a result, as shown in FIG. 11B, the
次に、図11(c)を参照すると、0:50に最も通信帯域が低い時間帯がある。また、表8を参照すると、ログファイル容量が次に最も大きいサービス利用企業11のユーザIDが「0001」であることが分かる。したがって、図11(d)に示すようにユーザIDが「0001」のサービス利用企業11のログファイル52bが0:50に割り当てられる。すなわち、通信速度400〔kbps〕で10分間(600秒)のログファイル52bをサービス利用企業11が送信するための時間と通信帯域が確保される。
Next, referring to FIG. 11C, there is a time zone with the lowest communication band at 0:50. Also, referring to Table 8, it can be seen that the user ID of the
このように設定されたログファイルを送信する時刻がログ送信スケジュール記憶部35に記憶される。
The time for transmitting the log file set in this way is stored in the log transmission
ジョブスケジューリング部26はこのように最も通信帯域の低い時間帯に対し、最もログファイル容量が大きいログファイルを割り当てるので、大きなログファイルを優先的に送信させることができる。すなわち、通信負荷がかかりやすいログファイルのために優先して通信帯域を確保するので、ログファイル容量が比較的小さい残りのログファイルが割り当てられてもログの集中を抑制しやすい。
Since the
<<スケジューリングのより詳細な制御>>
ログファイルが最も通信帯域の低い時間帯に対し割り当てられた場合、必ずしも通信帯域が均一傾向にならない場合がある。図12は均一でない通信帯域の一例を示す図である。ログファイル52cが最も通信帯域の低い時間帯に対し割り当てられた場合、図12(a)ではログファイルが時刻0:20に割り当てられると判断される。しかし、ログファイル52cの通信時間は、通信帯域が最も低い時間帯(0:20〜0:30)よりも長い。
<< More detailed control of scheduling >>
When a log file is assigned to a time zone with the lowest communication bandwidth, the communication bandwidth may not necessarily be uniform. FIG. 12 is a diagram illustrating an example of a non-uniform communication band. When the
このため、図12(b)に示すように、0:30以降の通信帯域が大きくなってしまう。このような場合、ジョブスケジューリング部26はスケジューリングの結果の通信帯域がそれまで最も高かった通信帯域(0:40〜0:50過ぎ)よりも高いことを検知する。そして、図12(c)に示すように、例えば次に通信帯域が低い時間帯(0:50過ぎ)にログファイル52cをスケジューリングする。これにより、通信帯域の最大値が高くなることを抑制できる。
For this reason, as shown in FIG.12 (b), the communication band after 0:30 will become large. In such a case, the
あるいは、図12(d)に示すようにログファイルを分割することも有効である。ジョブスケジューリング部26はスケジューリングの前に、最も通信帯域が低い時間帯を検出し、ログファイル52cの通信時間と比較する。「通信時間>最も通信帯域が低い時間帯」の場合には、ログファイル52cの通信時間が最も通信帯域が低い時間帯以下となるようにログファイル52cを分割する。
Alternatively, it is also effective to divide the log file as shown in FIG. Prior to scheduling, the
ログファイル52cはログファイル52c1とそれ以外に分割される。それ以外に分割された残りのログファイルについて同様の処理を行うことで、ジョブスケジューリング部26はログファイル52cをログファイル52c2、ログファイル52c3に分割できる。したがって、時間に対する通信帯域を均一化しやすくなる。
The
このように、使用済みの通信帯域が最も少ない時間帯にログファイル容量が最も大きいサービス利用企業11を割り当てるのでなく、使用済みの通信帯域が最も少ない時間帯を優先してサービス利用企業11を割り当てることも可能である。
In this way, the
なお、あまりに短い通信時間に分割するとオーバーヘッドが大きくなり通信効率が低下するため、最小の通信時間(例えば、2分とする)未満には分割しない等の禁則を設けることが好ましい。 It should be noted that, if the communication time is divided to be too short, the overhead increases and the communication efficiency is lowered. Therefore, it is preferable to provide a prohibition such as not dividing the communication time less than the minimum communication time (for example, 2 minutes).
また、実際の通信帯域は図示するような直線状にはなりにくいので、ある程度の変動範囲では一定の通信帯域であると見なす。これにより、通信時間と最も通信帯域が低い時間帯との比較が容易になる。 Further, since the actual communication band is not likely to be linear as shown in the figure, it is considered that the communication band is constant within a certain range of fluctuation. This facilitates comparison between the communication time and the time zone with the lowest communication band.
<再スケジューリングについて>
1回のスケジューリングでは、時間に対する通信帯域が均一化されていないおそれがありうる。そこで、ジョブスケジューリング部26は、時間に対する通信帯域の均一性を評価してスケジューリングを再度行うか否かを判断する。
<About rescheduling>
In one scheduling, there is a possibility that the communication band with respect to time is not equalized. Therefore, the
図13(a)は時間に対する通信帯域の均一性の評価を説明する図の一例である。ジョブスケジューリング部26は例えば最も低い通信帯域と最も高い通信帯域との高低差54aが閾値以上の場合に、ログファイルの送信スケジューリングを再度行うと判断する。このような評価により再スケジューリングすれば、ログファイルの送信タイミングが集中することを抑制できる。
FIG. 13A is an example for explaining the evaluation of the uniformity of the communication band with respect to time. For example, when the
また、図13(b)に示すように、高低差の合計に基づきスケジューリングを再度行うか否かを判断してもよい。ジョブスケジューリング部26は時刻の昇順又は降順に通信帯域の増減を検出して、高低差54b〜54eの絶対値を累積する。図13(b)の例では高低差54b+高低差54c+高低差54d+高低差54eを計算する。この累積値が閾値以上の場合に、スケジューリングを再度行うと判断する。このような評価により再スケジューリングすれば、時間帯によって生じうる通信帯域の不均一を抑制できる。
Further, as shown in FIG. 13B, it may be determined whether to perform the scheduling again based on the sum of the height differences. The
なお、ジョブスケジューリング部26が再度、スケジューリングを行う場合、サービス利用企業11を時間帯に割り当てる規則を変更することが好ましい。例えば、直前に、通信帯域の最も低い時間帯に最もログファイル容量が大きいログファイルのサービス利用企業11を割り当てた場合、次回は、通信帯域の最も低い時間帯に、最も通信速度が速いログファイルのサービス利用企業11を割り当てる。これにより、再スケジューリングにより、通信帯域がより均一になることが期待できる。
In addition, when the
<<再スケジューリング後のログファイルの送信>>
定期的に又は均一性の見直しにより再スケジューリングされる場合、最後のログファイルの送信から次回のログファイルの送信までの時間がログ情報収集間隔よりも長くなる状況が生じうる。また、逆に、再スケジューリングにより、最後のログファイルの送信から次回のログファイルの送信までの時間がログ情報収集間隔よりも短くなる状況が生じうる。このような場合、予測データとしてのログファイル容量に対し、実際のログファイル容量が変わる可能性が高い。
<< Send log file after rescheduling >>
When rescheduling is performed regularly or by reviewing uniformity, the time from the last log file transmission to the next log file transmission may be longer than the log information collection interval. Conversely, due to rescheduling, a situation may occur in which the time from the last log file transmission to the next log file transmission is shorter than the log information collection interval. In such a case, the actual log file capacity is likely to change with respect to the log file capacity as the prediction data.
そこで、ジョブ実行タイミング制御部27はケースごとに、再スケジューリング後、1回目の送信タイミングを変えるか変えないかを決める。図14は再スケジューリング後、1回目の送信タイミングを変えるか変えないかの決定方法を説明する図の一例である。
Therefore, the job execution
ケース1)ログ情報収集間隔以内の時間経過後に次回の送信を実行する場合
図14(a)に示すように、あるサービス利用企業11が0:10のタイミングでログファイル52dを送信した。また、この時間帯に並列に再スケジューリングが行われたものとし、0:30頃に終了した。
Case 1) When the next transmission is executed after the elapse of the time within the log information collection interval As shown in FIG. 14A, a
図14(b)に示すようにこのサービス利用企業11のログファイル52eの送信タイミングは、0:10から0:50に変更されたものとする。一方、このサービス利用企業11のログ情報収集間隔は1日に1回である。
As shown in FIG. 14B, it is assumed that the transmission timing of the
この場合、ジョブ実行タイミング制御部27は20分後にやって来る送信タイミングでログファイル52eをサービス利用企業11の機器15に送信させる。このケースでは想定された送信量を超えることがないため、スケジューリングされたタイミングでログファイル52eを送信可能である。
In this case, the job execution
ケース2)ログ情報収集間隔以上の時間経過後に次回の送信を実行する場合
図14(c)に示すように、0:00〜0:30に再スケジューリングが行われたものとする。再スケジューリング前のあるサービス利用企業11のログファイル52fの送信タイミングが0:30であったとする。
Case 2) When the next transmission is executed after the elapse of the log information collection interval or more, as shown in FIG. 14C, it is assumed that rescheduling is performed at 0: 0 to 0:30. Assume that the transmission timing of the
図14(d)に示すようにこのサービス利用企業11のログファイル52fの送信タイミングが0:30から0:10に再スケジューリングされた。一方、このサービス利用企業11のログ情報収集間隔は1日に1回である。
As shown in FIG. 14D, the transmission timing of the
この場合、ジョブ実行タイミング制御部27は2回に分けてログファイル52fを送信する。例えば、約24時間後に送信タイミングが到来するため、まず次回の送信タイミングよりも手前である12時間後にログファイル52fの一部(例えば半分)を送信しておく。そして、再スケジュール後の送信タイミングが到来すると(約24時間後)、残りのログファイル52fを送信する。このケースでは、ログファイル容量が想定された送信量を超えることが考えられるため、送信を小分けにして実行することで、2回目以降の送信に影響を与えないようにすることができる。
In this case, the job execution
<動作手順>
図15はサービス利用企業11がログファイルを送信し、ログ管理システム13が予測データを算出する手順を示すシーケンス図の一例である。
S1:データ送受信制御装置14は送信スケジュールを確認する。この送信スケジュールは、図17にて説明するようにログ管理システム13から通知される。
S2:データ送受信制御装置14はログファイルを送信する時刻になるとログ送信のための処理を開始する。
S3:データ送受信制御装置14のログ取得部141は機器15に対しログを要求する。機器15は機能の実行に伴い逐次、生成したログを記憶しており、ログ取得部141は機器15からログ情報収集間隔のログを取得する。
S4:データ送受信制御装置14はログファイルをログ管理システム13に送信する。ログ管理システム13の送受信部23はログファイルを受信する。
S5:送受信部23はログファイルをログ管理部22に送出する。
S6:ログ管理部22はログの解析要求と共にログファイルをログ解析部25に送出する。
S7:ログ解析部25はログファイルを受け取ると通信ログを取得する。通信ログを取得するのは予測データとして通信帯域を算出するためである。
S8:ログ解析部25は予測データを算出する。
S9:予測データ保管部24は予測データを予測データ保管部24に送出する。予測データ保管部24は予測データを予測データ記憶部33に記憶させる。
S10:ログ管理部22はログファイルをログ保管部21に送出する。これによりログ保管部21はログファイルをログデータ記憶部31に記憶させる。
<Operation procedure>
FIG. 15 is an example of a sequence diagram illustrating a procedure in which the
S1: The data transmission /
S2: The data transmission /
S3: The
S4: The data transmission /
S5: The transmission /
S6: The
S7: When receiving the log file, the
S8: The
S9: The prediction
S10: The
図16はサービス利用企業11の機器15がログファイルを送信するタイミングのスケジューリングをログ管理システム13が行う手順を示すシーケンス図の一例である。図16の手順は例えば決まった定期的なタイミング(毎月1回、6ヶ月に1回、又は、1年に1回)になったり又は均一性の評価結果に応じたりしてスタートする。
S1:ログ管理システム13のログ管理部22はジョブスケジューリング部26にログファイルの送信タイミングのスケジューリングを要求する。
S2:ジョブスケジューリング部26は予測データを使ってログファイルの送信タイミングをスケジューリングする。
S3:ジョブスケジューリング部26はスケジューリングの結果であるログ送信スケジュールをログ送信スケジュール記憶部35に記憶させる。
FIG. 16 is an example of a sequence diagram illustrating a procedure in which the
S1: The
S2: The
S3: The
図17はログ管理システム13がログファイルの送信スケジュールをデータ送受信制御装置14に送信する手順を示すシーケンス図の一例である。
S1:ログ管理部22はジョブ実行のタイミング制御をジョブ実行タイミング制御部27に要求する。このジョブ実行とはログファイルの収集である。
S2:ジョブ実行タイミング制御部27はログ送信スケジュール記憶部35からログ送信スケジュールを読み出す。そして、以下の処理をサービス利用企業11ごとに行う。
S3:ジョブ実行タイミング制御部27は、任意のサービス利用企業11についてログファイルの送信タイミングになるとログ送信タイミング通知を送受信部23に送出する。
S4:送受信部23はログファイルの送信タイミングになったサービス利用企業11にログ送信タイミング通知を送信する。これにより、図15に示すように、サービス利用企業11はログファイルをログ管理システム13に送信する。
FIG. 17 is an example of a sequence diagram illustrating a procedure in which the
S1: The
S2: The job execution
S3: The job execution
S4: The transmission /
<その他の適用例>
以上、本発明を実施するための最良の形態について実施例を用いて説明したが、本発明はこうした実施例に何等限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々の変形及び置換を加えることができる。
<Other application examples>
The best mode for carrying out the present invention has been described above with reference to the embodiments. However, the present invention is not limited to these embodiments, and various modifications can be made without departing from the scope of the present invention. And substitutions can be added.
例えば、本実施形態ではログの送信について説明したが、サービス利用企業からログ管理システムに送信されるデータはログファイルでなくてもよい。例えば、アプリケーションプログラムが作成した印刷などに使用されたファイル、原稿がスキャンして生成された画像データのファイルなどを送信してもよい。 For example, in this embodiment, log transmission has been described. However, data transmitted from a service user company to a log management system may not be a log file. For example, a file used for printing or the like created by an application program, a file of image data generated by scanning a document, or the like may be transmitted.
また、図4等で図示した各装置の機能は概念的なものであり、物理的に図示のごとく合成されていることを要しない。実施形態で説明したログ管理システム13は、用途や目的に応じて様々なシステム内に組み込まれて構成されても良いし、ログ管理システム13の各機能部を分散又は統合したシステムとしても実施できる。
Also, the functions of the devices illustrated in FIG. 4 and the like are conceptual and do not need to be physically combined as illustrated. The
また、本実施形態では通信帯域を通信速度と同じ次元で表したが、通信帯域は周波数帯など別の物理量で表してもよい。 In this embodiment, the communication band is represented by the same dimension as the communication speed. However, the communication band may be represented by another physical quantity such as a frequency band.
また、本実施形態では、通信帯域を1時間単位又は10分単位であるとして説明したが、10分未時間時間や1時間より長い時間の通信帯域を算出してもよい。 Further, in the present embodiment, the communication band is described as being in units of 1 hour or 10 minutes. However, a communication band of 10 minutes untimed time or longer than 1 hour may be calculated.
11 サービス利用企業
12 ネットワーク
13 ログ管理システム
14 データ送受信制御装置
15 機器
21 ログ保管部
22 ログ管理部
23 送受信部
24 予測データ保管部
25 ログ解析部
26 ジョブスケジューリング部
27 ジョブ実行タイミング制御部
31 ログデータ記憶部
32 サービス利用企業データ記憶部
33 予測データ記憶部
34 通信ログ記憶部
35 ログ送信スケジュール記憶部
100 サービス利用システム
DESCRIPTION OF
Claims (13)
機器からデータを受信するデータ受信手段と、
前記データ受信手段が受信した過去のデータを用いて、前記データ受信手段の通信負荷を利用者ごとに推定する通信負荷推定手段と、
前記データ収集システムが保持する通信ログから時間帯ごとに使用済みの通信帯域を推定する通信帯域推定手段と、
前記通信負荷推定手段が推定した前記通信負荷が最も大きい利用者の機器がデータを送信するタイミングを、機器からのデータを受信するために利用可能な通信帯域がある時間帯に割り当てる送信タイミング割り当て手段と、を有するデータ収集システム。 A data collection system that collects data from a device used by a user via a network,
Data receiving means for receiving data from the device;
A communication load estimation unit that estimates a communication load of the data reception unit for each user using past data received by the data reception unit;
A communication band estimating means for estimating a used communication band for each time period from a communication log held by the data collection system;
Transmission timing assigning means for assigning the timing at which the user's device with the largest communication load estimated by the communication load estimating means transmits data to a time zone in which there is a communication band available for receiving data from the device. And a data collection system.
前記送信タイミング割り当て手段は、前記通信負荷推定手段が推定したデータの前記容量が最も大きい利用者の機器がデータを送信するタイミングを、前記利用可能な通信帯域がある時間帯に割り当てる、請求項1に記載のデータ収集システム。 The communication load estimation means estimates the capacity of data to be transmitted next time for each user using the past data received by the data reception means as the communication load,
The transmission timing allocating unit allocates a timing at which a user device having the largest amount of data estimated by the communication load estimating unit transmits data to a time zone in which the available communication band is present. The data collection system described in
前記送信タイミング割り当て手段は、前記通信負荷推定手段が推定したデータの前記通信速度が最も大きい利用者の機器がデータを送信するタイミングを、前記利用可能な通信帯域がある時間帯に割り当てる請求項2に記載のデータ収集システム。 The communication load estimating means estimates, as the communication load, the communication speed when the device transmits data from the file size described in the data and the time information required for transmission for each user,
The transmission timing allocating unit allocates a timing at which a user's device having the highest communication speed of the data estimated by the communication load estimating unit transmits data to a time zone in which the available communication band is present. The data collection system described in
前記送信タイミング割り当て手段は、前記通信負荷推定手段が推定した前記通信時間が最も長い利用者の機器がデータを送信するタイミングを、前記利用可能な通信帯域がある時間帯に割り当てる請求項3に記載のデータ収集システム。 The communication load estimation means estimates the communication time required for the device to transmit data from the capacity and the communication speed as the communication load for each user.
The said transmission timing allocation means allocates the timing which the said user's apparatus with the longest communication time estimated by the said communication load estimation means transmits data to the time slot with the said available communication band. Data collection system.
前記容量が最も大きい利用者の前記通信時間以上の時間帯を有する前記使用済みの通信帯域のうち通信帯域が最も低い時間帯に、前記容量が最も大きい利用者の機器がデータを送信するタイミングを割り当てる、請求項4に記載のデータ収集システム。 When the time zone in which the used communication band is the lowest is shorter than the communication time of the user having the largest capacity of data, the transmission timing allocation means sets the time in which the used communication band is the lowest. The device of the user with the largest capacity does not assign a timing for transmitting data,
The timing at which the device of the user with the largest capacity transmits data in the time zone with the lowest communication band among the used communication bands having a time period equal to or longer than the communication time of the user with the largest capacity. The data collection system according to claim 4, wherein the data collection system is assigned.
分割されたデータをそれぞれ前記使用済みの通信帯域が最も低い時間帯に割り当てることで前記容量が最も大きい利用者の機器がデータを送信するタイミングを割り当てる請求項4に記載のデータ収集システム。 When the time zone in which the used communication band is the lowest is shorter than the communication time of the user having the largest capacity of data, the transmission timing allocation means is configured to use the communication time in which the communication time of the data is used. Divide the data with the largest capacity so that is below the lowest time zone,
The data collection system according to claim 4, wherein the divided data is assigned to a time zone in which the used communication band is the lowest, thereby assigning a timing at which the user device having the largest capacity transmits data.
前記送信タイミング割り当て手段は、時間帯に対する通信帯域の均一性を評価し、評価結果に応じて、利用者の機器がデータを送信するタイミングを割り当てる処理を再度、行うか否かを判断する、請求項1〜7いずれか1項に記載のデータ収集システム。 After the transmission timing assigning unit has performed processing for all users, the process of assigning the timing at which the user's device transmits data in the time zone in which the used communication band is the lowest,
The transmission timing assigning means evaluates the uniformity of the communication band with respect to the time zone, and determines whether or not to perform again the process of assigning the timing at which the user device transmits data according to the evaluation result. Item 8. The data collection system according to any one of Items 1 to 7.
利用者ごとに予め定められたデータの送信周期よりも長い時間で次回の送信タイミングが到来する場合、前記次回の送信タイミングよりも手前のタイミングでデータの一部を該利用者の機器に送信させるデータ送信制御手段、を有する請求項1〜7いずれか1項に記載のデータ収集システム。 Since the transmission timing assigning means assigns the timing at which the user device transmits data, when the next transmission timing arrives in a time shorter than the data transmission cycle predetermined for each user, the next transmission Send data to the user's device at the timing,
When the next transmission timing arrives in a time longer than the data transmission cycle predetermined for each user, a part of the data is transmitted to the user's device at a timing before the next transmission timing. The data collection system according to claim 1, further comprising a data transmission control unit.
各機器のデータのサイズを合計することで利用者の機器が次回、送信するデータの前記容量を推定する請求項2に記載のデータ収集システム。 When the device used by the user has a plurality of functions, the communication load estimating means calculates an average number of times of use for each function in a data transmission cycle predetermined for each user from past data, Multiplying the log size output by the use of one function by the average number of use, and adding the multiplication result for each function to calculate the data size of one device,
The data collection system according to claim 2, wherein the capacity of data to be transmitted next time by a user's device is estimated by summing the sizes of data of the devices.
複数の除算結果の合計をファイル送信イベントの回数で除算した平均、複数の除算結果の中央値、又は、前記平均±2σの範囲の任意の値、のいずれかを前記通信時間として推定する請求項4に記載のデータ収集システム。 The communication load estimating means divides the file size described in the data of the file transmission event among the data received by the data receiving means by the time information required for transmission,
The average of dividing a total of a plurality of division results by the number of file transmission events, a median value of the plurality of division results, or an arbitrary value in a range of the average ± 2σ is estimated as the communication time. 4. The data collection system according to 4.
前記送信タイミング割り当て手段は、利用者ごとに予め定められたデータの送信周期に応じて定まる曜日又は一月中の1日の時間帯のうち利用可能な通信帯域がある時間帯に、利用者の機器がデータを送信するタイミングを割り当てる請求項1〜11いずれか1項に記載のデータ収集システム。 The communication band estimation means divides one day into a plurality of time zones, calculates the communication bandwidth used for each time zone from the communication log held by the data collection system, and sums the same, and the same for different days The used communication band is estimated from the average of the communication band of the time zone,
The transmission timing allocating means is a day of the week determined according to a transmission cycle of data predetermined for each user or a time zone in which a usable communication band is available during a day of the month. The data collection system according to claim 1, wherein the device assigns a timing for transmitting data.
データ収集システムが、機器からデータを受信するデータ受信ステップと、
前記データ受信ステップにおいて受信された過去のデータを用いて、前記データ収集システムの通信負荷を利用者ごとに推定する通信負荷推定ステップと、
前記データ収集システムが保持する通信ログから時間帯ごとに使用済みの通信帯域を推定する通信帯域推定ステップと、
前記通信負荷推定ステップにより推定された通信負荷が最も大きい利用者の機器がデータを送信するタイミングを、機器からのデータを受信するために利用可能な通信帯域がある時間帯に割り当てる送信タイミング割り当てステップと、を有するデータ収集方法。 A data collection method performed by a data collection system that collects data from a device used by a user via a network,
A data receiving step in which the data collection system receives data from the device;
Using the past data received in the data reception step, a communication load estimation step for estimating the communication load of the data collection system for each user;
A communication band estimating step for estimating a used communication band for each time zone from a communication log held by the data collection system;
A transmission timing assigning step for assigning a timing at which a user's device having the largest communication load estimated in the communication load estimating step transmits data to a time zone in which a communication band available for receiving data from the device is present. And a data collection method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014245025A JP2016110280A (en) | 2014-12-03 | 2014-12-03 | Data collection system and data collection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014245025A JP2016110280A (en) | 2014-12-03 | 2014-12-03 | Data collection system and data collection method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2016110280A true JP2016110280A (en) | 2016-06-20 |
Family
ID=56124082
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014245025A Pending JP2016110280A (en) | 2014-12-03 | 2014-12-03 | Data collection system and data collection method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2016110280A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018041288A (en) * | 2016-09-07 | 2018-03-15 | 富士通株式会社 | Log management unit and log management program |
WO2019021612A1 (en) * | 2017-07-24 | 2019-01-31 | パナソニックIpマネジメント株式会社 | Log acquisition device, communication module, log acquisition system, and log acquisition method |
US20190065337A1 (en) * | 2017-08-30 | 2019-02-28 | Fujitsu Limited | Log management apparatus, and log management method |
WO2019093098A1 (en) * | 2017-11-08 | 2019-05-16 | ソニー株式会社 | Information processing device, moving apparatus, method, and program |
-
2014
- 2014-12-03 JP JP2014245025A patent/JP2016110280A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018041288A (en) * | 2016-09-07 | 2018-03-15 | 富士通株式会社 | Log management unit and log management program |
WO2019021612A1 (en) * | 2017-07-24 | 2019-01-31 | パナソニックIpマネジメント株式会社 | Log acquisition device, communication module, log acquisition system, and log acquisition method |
US20190065337A1 (en) * | 2017-08-30 | 2019-02-28 | Fujitsu Limited | Log management apparatus, and log management method |
WO2019093098A1 (en) * | 2017-11-08 | 2019-05-16 | ソニー株式会社 | Information processing device, moving apparatus, method, and program |
JPWO2019093098A1 (en) * | 2017-11-08 | 2020-11-12 | ソニー株式会社 | Information processing equipment, mobile devices, and methods, and programs |
JP7173039B2 (en) | 2017-11-08 | 2022-11-16 | ソニーグループ株式会社 | Information processing device, mobile device, method, and program |
US11595431B2 (en) | 2017-11-08 | 2023-02-28 | Sony Corporation | Information processing apparatus, moving apparatus, and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8087026B2 (en) | Fair share scheduling based on an individual user's resource usage and the tracking of that usage | |
US11275609B2 (en) | Job distribution within a grid environment | |
EP3920490B1 (en) | Adaptive resource allocation method and apparatus | |
US9213503B2 (en) | Service provider management of virtual instances corresponding to hardware resources managed by other service providers | |
US8429165B1 (en) | Systems and methods of partitioning data for synchronous parallel processing | |
US9141432B2 (en) | Dynamic pending job queue length for job distribution within a grid environment | |
US8793693B2 (en) | Apparatus and method for predicting a processing time of a computer | |
US8832703B2 (en) | Dynamically changing job allocation priority based on a restoration rate for each user and time frame | |
US9423957B2 (en) | Adaptive system provisioning | |
US9588813B1 (en) | Determining cost of service call | |
JP6083290B2 (en) | Distributed processing system | |
US8606905B1 (en) | Automated determination of system scalability and scalability constraint factors | |
JP2016110280A (en) | Data collection system and data collection method | |
JP2014501010A (en) | Method and apparatus for expanding server-side processing capabilities | |
JP6519111B2 (en) | Data processing control method, data processing control program and data processing control device | |
JP6129290B1 (en) | Method and system for recommending application parameter settings and system specification settings in distributed computing | |
CN109783236B (en) | Method and apparatus for outputting information | |
US20130205024A1 (en) | Server system, management device, server management method, and program | |
CN109144689B (en) | Task scheduling method, device and computer program product | |
CN112181498A (en) | Concurrency control method, device and equipment | |
JPWO2018123030A1 (en) | Priority control method and data processing system | |
US9697049B2 (en) | Job scheduling apparatus and method based on island execution time | |
JP6753521B2 (en) | Computational resource management equipment, computational resource management methods, and programs | |
Kumar et al. | Fuzzy based resource management framework for high throughput computing | |
Mehboob et al. | Is Sharing Caring? Analyzing the Incentives for Shared Cloud Clusters |