JP2019215807A - Data controller, data control method, and program - Google Patents
Data controller, data control method, and program Download PDFInfo
- Publication number
- JP2019215807A JP2019215807A JP2018113764A JP2018113764A JP2019215807A JP 2019215807 A JP2019215807 A JP 2019215807A JP 2018113764 A JP2018113764 A JP 2018113764A JP 2018113764 A JP2018113764 A JP 2018113764A JP 2019215807 A JP2019215807 A JP 2019215807A
- Authority
- JP
- Japan
- Prior art keywords
- load
- application
- data
- sensor data
- server
- 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
Landscapes
- Computer And Data Communications (AREA)
Abstract
Description
本発明は、アプリケーションの動作に起因する負荷を制御するデータ制御装置、データ制御方法、およびプログラムに関する。 The present invention relates to a data control device, a data control method, and a program for controlling a load resulting from an operation of an application.
IoT(Internet of Things)システムは、カメラなどのセンサによって取得されたセンサデータを収集し、収集したセンサデータを用いた処理を実行する。センサは、IoTゲートウェイを介してアプリケーションにセンサデータを送付する。IoTゲートウェイは、センサから収集したデータを、任意のコンピュータに実装された所望のアプリケーションに配送する。アプリケーションは、配送されたセンサデータを処理する。 An IoT (Internet of Things) system collects sensor data acquired by a sensor such as a camera, and executes processing using the collected sensor data. The sensor sends sensor data to the application via the IoT gateway. The IoT gateway delivers data collected from the sensors to a desired application implemented on any computer. The application processes the delivered sensor data.
一般に、IoTシステムを構成するアプリケーションは、コストや処理遅延を鑑みた上で、クラウド環境やエッジ環境のコンピュータ上で動作させる。 Generally, an application configuring an IoT system is operated on a computer in a cloud environment or an edge environment in consideration of cost and processing delay.
クラウド環境でアプリケーションを動作させる場合、センサデータは、公衆網または専用網を通じてクラウド環境上のアプリケーションまで送付される。一般に、クラウド環境には、低コストで計算資源を使用することができるとともに、アプリケーション負荷に応じて計算資源を増減させることができるというメリットがある。その一方で、クラウド環境には、公衆網または専用網を通じたセンサデータの送付が必要であるため、通信コストや通信時間が掛かるというデメリットがある。 When operating an application in a cloud environment, sensor data is sent to an application on the cloud environment via a public network or a dedicated network. In general, the cloud environment has the advantage that the computing resources can be used at low cost and the computing resources can be increased or decreased according to the application load. On the other hand, the cloud environment requires the transmission of sensor data through a public network or a dedicated network, and thus has a disadvantage that communication cost and communication time are required.
エッジ環境においては、センサの近傍にコンピュータが配置される。センサは、近傍のコンピュータのアプリケーションにセンサデータを送付する。一般に、エッジ環境では、センサ近傍に計算資源を配置することから、計算資源が高コストになるというデメリットがある。また、エッジ環境には、配置場所の制約のために大量の計算資源を配置することが困難であり、計算資源が限られるため、アプリケーション負荷に応じて計算資源を増減させることができないというデメリットがある。その一方で、エッジ環境には、通信が不要となるため、通信コストを抑制でき、通信時間を短縮できるというメリットがある。 In the edge environment, a computer is located near the sensor. The sensor sends the sensor data to a nearby computer application. Generally, in the edge environment, since the computation resources are arranged near the sensor, there is a disadvantage that the computation resources are expensive. Also, in the edge environment, it is difficult to allocate a large amount of computational resources due to restrictions on the location, and the computational resources are limited. Therefore, there is a disadvantage that the computational resources cannot be increased or decreased according to the application load. is there. On the other hand, in the edge environment, there is an advantage that communication is unnecessary, so that communication costs can be suppressed and communication time can be reduced.
クラウド環境およびエッジ環境のいずれの環境でアプリケーションを動作させるかは、システムに掛かる要件によって決定される。 Whether to operate the application in the cloud environment or the edge environment is determined by the requirements of the system.
一方、IoTシステムでは、アプリケーションの処理に起因するサーバ負荷が動的に変動する場合がある。例えば、センサからのデータ入力を契機にデータ処理を行うようなアプリケーションに対し、データ量が動的に変動するセンサからのデータ入力があった場合、当該アプリケーションによる負荷はデータの入力量に依存して動的に変動する。 On the other hand, in the IoT system, the server load resulting from the processing of the application may fluctuate dynamically. For example, for an application that performs data processing triggered by data input from a sensor, if there is data input from a sensor whose data amount fluctuates dynamically, the load of the application depends on the data input amount. And fluctuate dynamically.
また、センサから入力されるデータの量ではなく、データの質によってアプリケーション負荷が変動する場合もある。例えば、カメラ映像データを分析し、カメラに写っている人物を分析するアプリケーションでは、カメラに写っている人数に依存してアプリケーション負荷が変動する。このように負荷が動的に変動するアプリケーションを計算資源の限られたエッジ環境で動作させる場合、計算資源が枯渇する恐れがある。計算資源が枯渇した場合、システム動作が不安定になったり、処理が遅延したりする可能性がある。 Further, the application load may fluctuate depending on not the amount of data input from the sensor but the quality of the data. For example, in an application that analyzes camera video data and analyzes a person in the camera, the application load varies depending on the number of people in the camera. When operating an application whose load dynamically fluctuates in an edge environment where computational resources are limited, there is a possibility that computational resources will be exhausted. When computing resources are exhausted, there is a possibility that system operation becomes unstable or processing is delayed.
特許文献1には、ネットワークを介してサーバ機器に接続された複数のクライアント機器において、データのアップロードおよびダウンロードを可能とするデータ配信システムについて開示されている。
特許文献2には、M2M(Machine to Machine)サービスを提供するサーバについて開示されている。 Patent Literature 2 discloses a server that provides an M2M (Machine to Machine) service.
特許文献3には、分散ネットワークコンピューティング環境におけるデータウェアハウスシステムについて開示されている。 Patent Literature 3 discloses a data warehouse system in a distributed network computing environment.
特許文献4には、ネットワークで接続された複数のサーバがクライアントに対してサービスを提供する分散型データ蓄積サーバシステムについて開示されている。 Patent Document 4 discloses a distributed data storage server system in which a plurality of servers connected via a network provide services to clients.
特許文献1のシステムによれば、サーバ機器の負荷状況に応じて、クライアント機器側における処理を調整することで、システム全体での処理効率を向上させることができる。特許文献1のシステムは、ストリームに対して画像を追加・取得する役割のクライアント機器の台数に基づいて予測されるサーバ機器の負荷状況に応じて、クライアント機器に設定変更を要求する。そのため、特許文献1のシステムは、ストリームに対して画像を追加する役割のクライアント機器からサーバ装置に画像を追加するまでに時間が掛かるという問題点があった。
According to the system of
特許文献2のサーバによれば、サーバが高負荷のときであってもサービスの起動を遅延させず、また自身の負荷を低減することができる。しかしながら、特許文献2のサーバは、自身が高負荷状態になってからデータ収集方法の優先度を求めるため、データ処理に遅延が生じるという問題点があった。 According to the server of Patent Literature 2, even when the server is under a heavy load, it is possible to reduce the load on the server without delaying the activation of the service. However, the server disclosed in Patent Literature 2 has a problem in that data processing is delayed because the server obtains the priority of the data collection method after the server itself becomes in a high load state.
特許文献3のシステムによれば、クライアントをグループ化することによって、クライアント間でのデータ共有が可能となるため、クライアント側の記憶装置容量や更新処理コスト、ネットワーク負荷を削減できる。しかしながら、特許文献3のシステムは、クライアントが互いに接続し合う環境でない限り効果がないため、センサのように互いに独立した装置からのデータを収集する用途には用いることができないという問題点があった。 According to the system of Patent Literature 3, data can be shared between clients by grouping the clients, so that the storage device capacity, update processing cost, and network load on the client side can be reduced. However, the system disclosed in Patent Literature 3 has no problem unless it is in an environment where clients are connected to each other, and therefore cannot be used for collecting data from independent devices such as sensors. .
特許文献4のシステムによれば、サーバを変更する際のサーバ間のデータ転送を抑制できるので、クライアントの接続先サーバが変更された時に、サーバや記憶装置、ネットワークの負荷を抑制できる。しかしながら、特許文献4のシステムは、第1のサーバの負荷が負荷閾値より高いと判定された時に、サーバ負荷情報の中から最も負荷の低い第2のサーバを選択するため、サーバ間において負荷情報を共有させておく必要があるという問題点があった。 According to the system disclosed in Patent Literature 4, since data transfer between servers when a server is changed can be suppressed, the load on the server, the storage device, and the network can be suppressed when the connection destination server of the client is changed. However, the system of Patent Document 4 selects the second server with the lowest load from the server load information when it is determined that the load on the first server is higher than the load threshold. There was a problem that it was necessary to share.
本発明の目的は、上述した課題を解決し、限られた計算資源のエッジ環境においても、アプリケーションの実行精度を安定化できるデータ制御装置を提供することにある。 An object of the present invention is to solve the above-described problems and to provide a data control device capable of stabilizing the execution accuracy of an application even in an edge environment with limited computational resources.
本発明の一態様のデータ制御装置は、配送先のアプリケーションが指定されたセンサデータを受信し、配送先のアプリケーションでセンサデータを処理する際に発生しうる将来負荷と負荷閾値との比較結果に応じてセンサデータを制御し、制御されたセンサデータを配送先のアプリケーションに送信するデータ制御部と、配送先のアプリケーションがインストールされたサーバの負荷情報およびアプリケーションの負荷特性に基づいて、データ制御部によって制御されたセンサデータを配送先のアプリケーションで処理する際に発生しうる将来負荷を予測する負荷予測部とを備える。 The data control device according to one embodiment of the present invention is configured such that the destination application receives the specified sensor data, and a comparison result between a future load and a load threshold that can occur when the destination application processes the sensor data is used. A data control unit that controls the sensor data in accordance with the data, and transmits the controlled sensor data to a destination application; and a data control unit based on load information of a server on which the destination application is installed and load characteristics of the application. And a load estimating unit for estimating a future load that may occur when processing the sensor data controlled by the application in the destination application.
本発明の一態様のデータ処理システムは、サーバと、サーバにインストールされた少なくとも一つのアプリケーションと、アプリケーションで処理するセンサデータを取得する少なくとも一つのセンサと、センサによって取得されたセンサデータを処理する配送先のアプリケーションを指定し、配送先が指定されたセンサデータをデータ制御装置に配送するデータ配送装置と、配送先が指定されたセンサデータをデータ配送装置から受信し、配送先のアプリケーションがインストールされたサーバの負荷情報および配送先のアプリケーションの負荷特性に基づいて、センサデータを配送先のアプリケーションで処理する際に発生しうる将来負荷を予測し、将来負荷と負荷閾値との比較結果に応じてセンサデータを制御し、制御されたセンサデータを配送先のアプリケーションに送信するデータ制御装置とを備える。 A data processing system according to one embodiment of the present invention processes a server, at least one application installed on the server, at least one sensor for acquiring sensor data to be processed by the application, and sensor data acquired by the sensor. A data delivery device that specifies the application of the delivery destination and delivers the sensor data with the designated delivery destination to the data control device, and receives the sensor data with the designated delivery destination from the data delivery device and installs the application of the delivery destination. Based on the server load information provided and the load characteristics of the destination application, predict the future load that may occur when the sensor data is processed by the destination application, and according to the comparison result between the future load and the load threshold. To control the sensor data, and And a data controller that sends the data to the destination application.
本発明の一態様のデータ制御方法においては、配送先のアプリケーションが指定されたセンサデータを受信し、配送先のアプリケーションがインストールされたサーバの負荷情報およびアプリケーションの負荷特性に基づいて、センサデータを配送先のアプリケーションで処理する際に発生しうる将来負荷を予測し、配送先のアプリケーションでセンサデータを処理する際に発生しうる将来負荷と負荷閾値との比較結果に応じてセンサデータを制御し、制御されたセンサデータを配送先のアプリケーションに送信する。 In the data control method according to one aspect of the present invention, the destination application receives the designated sensor data, and converts the sensor data based on the load information of the server on which the destination application is installed and the load characteristics of the application. Predict the future load that may occur when processing in the destination application, and control the sensor data according to the result of comparing the future load that may occur when processing the sensor data with the destination application with the load threshold. , And sends the controlled sensor data to the destination application.
本発明の一態様のプログラムは、配送先のアプリケーションが指定されたセンサデータを受信する処理と、配送先のアプリケーションがインストールされたサーバの負荷情報およびアプリケーションの負荷特性に基づいて、センサデータを配送先のアプリケーションで処理する際に発生しうる将来負荷を予測する処理と、配送先のアプリケーションでセンサデータを処理する際に発生しうる将来負荷と負荷閾値との比較結果に応じてセンサデータを制御する処理と、制御されたセンサデータを配送先のアプリケーションに送信する処理とをコンピュータに実行させる。 According to an embodiment of the present invention, there is provided a program for distributing sensor data based on a process of receiving sensor data specified by a destination application and load information of a server on which the destination application is installed and load characteristics of the application. Controls sensor data according to the result of predicting the future load that may occur when processing with the destination application and comparing the load threshold with the future load that may occur when processing the sensor data with the destination application And transmitting the controlled sensor data to the destination application.
本発明によれば、限られた計算資源のエッジ環境においても、アプリケーションの実行精度を安定化できるデータ制御装置を提供することが可能になる。 According to the present invention, it is possible to provide a data control device capable of stabilizing the execution accuracy of an application even in an edge environment with limited computational resources.
以下に、本発明を実施するための形態について図面を用いて説明する。ただし、以下に述べる実施形態には、本発明を実施するために技術的に好ましい限定がされているが、発明の範囲を以下に限定するものではない。なお、以下の実施形態の説明に用いる全図においては、特に理由がない限り、同様箇所には同一符号を付す。また、以下の実施形態において、同様の構成・動作に関しては繰り返しの説明を省略する場合がある。 An embodiment for carrying out the present invention will be described below with reference to the drawings. However, the embodiments described below have technically preferable limitations for carrying out the present invention, but do not limit the scope of the invention. In all the drawings used in the description of the following embodiments, the same parts are denoted by the same reference numerals unless otherwise specified. In the following embodiments, repetitive description of similar configurations and operations may be omitted.
(第1の実施形態)
まず、本発明の第1の実施形態に係るデータ処理システムについて図面を参照しながら説明する。
(1st Embodiment)
First, a data processing system according to a first embodiment of the present invention will be described with reference to the drawings.
(構成)
図1は、本実施形態のデータ処理システム1の構成の一例を示す概念図である。図1のように、データ処理システム1は、センサ群11、データ配送装置12、データ制御装置13、アプリケーション群14、およびサーバ15を備える。
(Constitution)
FIG. 1 is a conceptual diagram illustrating an example of a configuration of a
センサ群11は、少なくとも一つのセンサ111によって構成される。図1には、m個のセンサ111−1〜mによってセンサ群11が構成される例を示す(mは自然数)。また、アプリケーション群14は、少なくとも一つのアプリケーション141によって構成される。図1には、n個のアプリケーション141−1〜nによってアプリケーション群14が構成される例を示す(nは自然数)。
The
センサ群11を構成するそれぞれのセンサ111は、検出対象の空間情報や時間情報を電気信号(以下、センサデータSDと呼ぶ)に変換し、変換後のセンサデータSDをデータ配送装置12に送信する。センサ111は、送信先のアプリケーション141を示すID(以下、宛先アプリケーションIDと呼ぶ)とセンサデータSDとをセットにした送信データTDをデータ配送装置12に送信する。なお、宛先アプリケーションIDは、データ配送装置12やデータ制御装置13でセンサデータSDとセットにするように構成してもよい。
Each of the
例えば、センサ111は、フォトダイオードやイメージセンサなどの受光素子のように光を検出するデバイスや、重さや圧力、歪などを検出するデバイス、速度や加速度、回転数などを検出するデバイスによって実現できる。また、センサ111は、超音波や音波、振動を検出するデバイスや、温度や湿度、熱を検出するデバイス、磁界や電流、電圧などを検出するデバイスによって実現できる。また、センサ111は、物体の有無や位置、形を検出するデバイスや、匂いや味、顔、指紋などを検出するデバイスによって実現できる。なお、上記のセンサ111の実現例は一例であって、本実施形態を限定するものではない。
For example, the
データ配送装置12は、センサ群11から送信データTDを受信する。データ配送装置12は、送信データに含まれる宛先アプリケーションIDで指定されるアプリケーション141のアドレスをセンサデータSDとセットにした配送データDDをデータ制御装置13に送信する。
The
データ制御装置13は、サーバ15の負荷情報を取得する。また、データ制御装置13は、アプリケーション群14の負荷特性情報を保持する。なお、アプリケーション141の負荷特性情報は、データの量および内容の少なくともいずれかに対するアプリケーション141の負荷の相関関係である。
The data control
また、データ制御装置13は、データ配送装置12から配送データDDを受信する。データ制御装置13は、配送データDDに含まれるセンサデータSDに対する制御方法を決定し、決定した制御方法をセンサデータSDに適用することで制御済みセンサデータCSDを生成する。
Further, the
具体的には、データ制御装置13は、サーバ15の負荷情報、アプリケーション141の負荷特性情報、およびセンサデータSDを用いて、そのアプリケーション141をそのサーバ15で実行した際に発生しうる将来負荷FLを予測する。データ制御装置13は、予測した将来負荷FLと、自装置が制御パラメータとして保持する負荷閾値TLとを比較し、将来負荷FLが負荷閾値TLを下回る制御方法を決定する。データ制御装置13は、当該制御方法をセンサデータSDに適用して制御済みセンサデータCSDを生成する。
Specifically, the
データ制御装置13は、サーバ15の負荷情報、アプリケーション141の負荷相関関係、および制御済みセンサデータCSDを用いて、そのアプリケーション141をそのサーバ15で実行した際に発生しうる将来負荷FL’を予測する。データ制御装置13は、予測した将来負荷FL’と、自装置が制御パラメータとして保持する負荷閾値TLとを比較し、将来負荷FL’が負荷閾値TLを下回る制御方法を決定する。データ制御装置13は、当該制御方法を制御済みセンサデータCSDに適用して制御済みセンサデータCSDを更新する。データ制御装置13は、将来負荷FL’が負荷閾値TLを下回るまで制御済みセンサデータCSDの更新を繰り返す。
The data control
そして、データ制御装置13は、あて先アドレスにセットされたアプリケーション141にセンサデータSDまたは制御済みセンサデータCSDを送信する。なお、以下においては、制御されていないセンサデータSDについても、データ制御装置13によって負荷を検証されていれば、制御済みセンサデータCSD(制御されたセンサデータ)と呼ぶこともある。
Then, the
あて先アドレスにセットされたアプリケーション141は、データ制御装置13からセンサデータSDまたは制御済みセンサデータCSDを受信する。そのアプリケーション141は、受信したデータ制御装置13からセンサデータSDまたは制御済みセンサデータCSDを用いて処理を実行する。
The application 141 set to the destination address receives the sensor data SD or the controlled sensor data CSD from the
アプリケーション群14を構成するそれぞれのアプリケーション141は、目的に応じてプログラムされたソフトウェアである。例えば、アプリケーション141の一例として、顔画像分析アプリケーションや河川氾濫検知アプリケーションなどを挙げられる。ただし、アプリケーション141には、任意のソフトウェアを適用できる。なお、図1においては、アプリケーション群14とサーバ15とを別の構成のように図示しているが、アプリケーション群14を構成するそれぞれのアプリケーション141はサーバ15にインストールされる。
Each application 141 constituting the
サーバ15は、アプリケーション群14を構成するアプリケーション141がインストールされるサーバある。例えば、サーバ15は、データセンタやサーバルーム、オフィス、個人宅など、任意の場所に設置できる。サーバ15は、仮想サーバとして構築されたものであってもよい。なお、図1においては、サーバ15が一つの例を示すが、サーバ15は複数あってもよい。
The
以上が、データ処理システム1の構成についての説明である。次に、データ処理システム1に含まれるデータ制御装置13の詳細構成について図面を参照しながら説明する。
The above is the description of the configuration of the
〔データ制御装置〕
図2は、データ制御装置13の詳細構成の一例を示すブロック図である。図2に示すように、データ制御装置13は、データ制御部131、制御方法記憶部132、サーバ負荷記憶部133、サーバ負荷収集部134、将来負荷予測部135、アプリケーション負荷特性記憶部136を有する。データ制御部131と制御方法記憶部132とは、データ制御手段を構成する。サーバ負荷記憶部133とサーバ負荷収集部134とは、サーバ負荷収集手段を構成する。将来負荷予測部135とアプリケーション負荷特性記憶部136とは、負荷予測手段を構成する。
[Data controller]
FIG. 2 is a block diagram illustrating an example of a detailed configuration of the
データ制御部131は、データ配送装置12から配送データDDを受信する。データ制御部131は、配送データDDに含まれるセンサデータSDと、あて先アドレスにセットされたアプリケーション141でそのセンサデータSDを処理した際に発生しうる負荷である将来負荷FLの予測指示とを将来負荷予測部135に送信する。データ制御部131は、その予測指示に応じて予測された将来負荷FLを将来負荷予測部135から受信する。
The data control
データ制御部131は、受信した将来負荷FLとセンサデータSDとを用いて、負荷に応じた制御済みセンサデータCSDを生成する。すなわち、データ制御部131は、センサデータSDに基づいた将来負荷FLと負荷閾値TLとを比較し、比較結果に応じた制御済みセンサデータCSDを生成する。
The data control
データ制御部131は、将来負荷FLが負荷閾値TLを下回っている場合、アプリケーション141が当該センサデータSDを処理する際に発生する負荷により、サーバリソース逼迫が発生することはないと判断する。この場合、データ制御部131は、宛先のアプリケーション141に当該センサデータSDを送信する。
When the future load FL is lower than the load threshold TL, the
一方、データ制御部131は、将来負荷FLが負荷閾値TLを上回っている場合、アプリケーション141が当該センサデータSDを処理する際に発生する負荷により、サーバリソース逼迫が発生すると判断する。この場合、データ制御部131は、制御方法記憶部132を参照し、制御方法記憶部132に記憶された制御方法を当該センサデータSDに適用することで制御済みセンサデータCSDを生成する。具体的には、データ制御部131は、制御方法記憶部132を参照して当該センサデータSDを用いるアプリケーション141に対する制御方法を取得し、取得した制御方法を当該センサデータSDに適用し、制御済みセンサデータCSDを取得する。なお、将来負荷FLと負荷閾値TLとが等しい場合にセンサデータSDを制御するか否かについては予め決めておけばよい。
On the other hand, when the future load FL exceeds the load threshold TL, the
データ制御部131は、制御済みセンサデータCSDとともに、その制御済みセンサデータCSDをアプリケーション141で処理した際に発生しうる負荷である将来負荷FLの予測指示を将来負荷予測部135に送信する。データ制御部131は、その予測指示に応じて予測された将来負荷FLを将来負荷予測部135から受信する。
The data control
データ制御部131は、受信した将来負荷FLと制御済みセンサデータCSDとを用いて、負荷に応じた制御済みセンサデータCSDを送信または更新する。具体的には、データ制御部131は、制御済みセンサデータCSDに基づいた将来負荷FLと負荷閾値TLとの比較結果に応じて、制御済みセンサデータCSDを送信または更新する。
The data control
データ制御部131は、将来負荷FLが負荷閾値TLを下回っている場合、アプリケーション141が当該制御済みセンサデータCSDを処理する際に発生する負荷により、サーバリソース逼迫が発生することはないと判断する。この場合、データ制御部131は、宛先のアプリケーション141に当該制御済みセンサデータCSDを送信する。
When the future load FL is lower than the load threshold TL, the
一方、データ制御部131は、将来負荷FLが負荷閾値TLを上回っている場合、アプリケーション141が当該制御済みセンサデータCSDを処理する際に発生する負荷により、サーバリソース逼迫が発生すると判断する。この場合、データ制御部131は、制御方法記憶部132を参照し、制御方法記憶部132に記憶された制御方法を当該制御済みセンサデータCSDに適用することで制御済みセンサデータCSDを更新する。具体的には、データ制御部131は、制御方法記憶部132を参照して当該制御済みセンサデータCSDを用いるアプリケーション141に対する制御方法を取得する。データ制御部131は、取得した制御方法を当該制御済みセンサデータCSDに適用して制御済みセンサデータCSDを更新する。更新された制御済みセンサデータCSDのことを更新制御済みセンサデータRCSDとも呼ぶ。なお、将来負荷FLと負荷閾値TLとが等しい場合に制御済みセンサデータCSDを更新するか否かについては予め決めておけばよい。
On the other hand, when the future load FL exceeds the load threshold TL, the
データ制御部131は、更新制御済みセンサデータRCSDとともに、その更新制御済みセンサデータRCSDをアプリケーション141で処理した際に発生しうる負荷である将来負荷FLの予測指示を将来負荷予測部135に送信する。データ制御部131は、その予測指示に応じて予測された将来負荷FLを将来負荷予測部135から受信する。データ制御部131は、受信した将来負荷FLが負荷閾値TLを下回るまで、更新制御済みセンサデータRCSDの更新を繰り返す。
The data control
制御方法記憶部132には、アプリケーション141ごとのセンサデータの制御方法が記憶される。センサデータの制御方法は、アプリケーション141ごとの特性調査を予め行うことによって構成できる。
The control
図3は、制御方法記憶部132に記憶させる制御方法の一例(制御方法120)である。制御方法120は、顔画像分析アプリケーション(アプリケーションA)と河川氾濫検知アプリケーション(アプリケーションB)の制御方法を含む。顔画像分析アプリケーション(アプリケーションA)の場合、データ制御部131は、制御方法記憶部132を参照して制御方法を取得し、センサデータSDまたは制御済みセンサデータCSDの画像ビット数を半減させる制御をする。河川氾濫検知アプリケーション(アプリケーションB)の場合、データ制御部131は、制御方法記憶部132を参照して制御方法を取得し、センサデータSDまたは制御済みセンサデータCSDのデータ数を半減させる制御をする。
FIG. 3 is an example of the control method stored in the control method storage unit 132 (control method 120). The
サーバ負荷記憶部133には、サーバ15の負荷情報(以下、サーバ負荷情報と呼ぶ)が記憶される。
The server
図4は、サーバ負荷記憶部133に記憶させるサーバ負荷情報の一例(サーバ負荷情報130)である。サーバ負荷情報130は、サーバ15を識別するためのサーバID(Identification)と、そのサーバ15の負荷の状態を示すサーバ負荷とを対応付ける情報を含む。
FIG. 4 is an example (server load information 130) of server load information stored in the server
サーバ負荷収集部134は、サーバ15の負荷情報を定期的にサーバ15から取得する。サーバ負荷収集部134は、取得した負荷情報をサーバ負荷記憶部133に記憶させる。
The server
将来負荷予測部135は、センサデータSDとともに、将来負荷FLの予測指示をデータ制御部131から受信する。将来負荷予測部135は、予測指示を受信すると、サーバ負荷記憶部133を参照して現在負荷CLを取得する。将来負荷予測部135は、受信した予測指示に応じて、現在のサーバ15の負荷である現在負荷CLと、受信したセンサデータSDによってサーバ15に発生しうる負荷である追加負荷NLとを合わせて将来負荷FLを予測する。将来負荷予測部135は、予測指示に応じて推定した将来負荷FLをデータ制御部131に送信する。
The future
アプリケーション負荷特性記憶部136には、アプリケーション群14を構成するアプリケーション141ごとの負荷特性(以下、アプリケーション負荷特性と呼ぶ)が記憶される。アプリケーション負荷特性は、アプリケーション141ごとに負荷試験を事前に行うことによって構成できる。例えば、アプリケーション負荷特性記憶部136は、アプリケーション群14ごとに構成される。なお、アプリケーション負荷特性記憶部136は、アプリケーション群14を構成するアプリケーション141ごとに構成されてもよい。
The application load
図5は、アプリケーション141が顔画像分析アプリケーション(アプリケーションA)である場合に、アプリケーション負荷特性記憶部136に記憶させるアプリケーション負荷特性161の構成例である。アプリケーション141が顔画像分析である場合、センサデータSDは画像データであり、画像内に現れる人物数と画像サイズとに応じてアプリケーション負荷が決定される。そのため、アプリケーション負荷特性記憶部136には、画像内人物数1人あたりの発生負荷が画像サイズごとにまとめられたアプリケーション負荷特性161を記憶させる。
FIG. 5 is a configuration example of an application load characteristic 161 stored in the application load
図5の例の場合、将来負荷予測部135は、画像内人物数を画像内検索によって取得する。また、将来負荷予測部135は、アプリケーション負荷特性記憶部136を参照し、画像サイズに応じた画像内人物数1人あたりの発生負荷を取得する。将来負荷予測部135は、アプリケーション負荷特性記憶部136から取得した画像サイズに応じた画像内人物数1人あたりの発生負荷と、画像内検索によって取得した画像内人物数とを用いて追加負荷NLを予測する。例えば、画像サイズが768、画像内人物数が5人の場合、画像内人物数1人あたりの発生負荷が0.2であるため、追加負荷NLは1.0(=0.2×5)と算出される。
In the case of the example of FIG. 5, the future
図6は、アプリケーション141が河川氾濫検知アプリケーション(アプリケーションB)の場合に、アプリケーション負荷特性記憶部136に記憶させるアプリケーション負荷特性162の構成例である。河川氾濫検知アプリケーションは、河川の水位計データをセンサデータSDに用いて氾濫を検知する。河川氾濫検知アプリケーションは、河川の水位が低く、氾濫の危険性が低い場合にはデータを処理する必要性が低い。そのため、不要なサーバ15の負荷の上昇を避けるために、センサ111がデータを送信する回数を間引くことがある。この場合、アプリケーション141は、センサデータSDのビット数に比例した負荷を発生させる。そこで、アプリケーション負荷特性記憶部136には、センサデータSDのビット数あたりの発生負荷が記憶される。
FIG. 6 is a configuration example of the application load characteristic 162 stored in the application load
図6の例の場合、将来負荷予測部135は、センサデータSDのデータサイズを計測する。また、将来負荷予測部135は、アプリケーション負荷特性記憶部136を参照し、センサデータSDのビット数あたりの発生負荷を取得する。将来負荷予測部135は、アプリケーション負荷特性記憶部136から取得したセンサデータSDのビット数あたりの発生負荷と、計測したデータサイズとを用いて追加負荷NLを予測する。例えば、データサイズが100ビットの場合、センサデータSDのビット数あたりの発生負荷が0.001であるため、追加負荷NLは0.1(=0.001×100)と算出される。
In the case of the example of FIG. 6, the future
以上が、データ処理システム1の構成についての説明である。続いて、データ処理システム1の動作について説明する。
The above is the description of the configuration of the
(動作)
図7は、データ制御装置13の動作について説明するためのフローチャートである。なお、図7のフローチャートに沿った処理については、データ制御装置13を動作の主体として説明する。
(motion)
FIG. 7 is a flowchart for explaining the operation of the
図7において、まず、データ制御装置13は、データ配送装置12から配送データDDを受信する(ステップS11)。
7, first, the
次に、データ制御装置13は、配送データDDに含まれるセンサデータSDを、あて先アドレスにセットされたアプリケーション141に適用した際の将来負荷FLを予測する(ステップS12)。
Next, the
ここで、データ制御装置13は、予測した将来負荷FLと負荷閾値TLとを比較する(ステップS13)。
Here, the
将来負荷FLが負荷閾値TLを上回る場合(ステップS13でYes)、データ制御装置13は、センサデータSDを制御し、制御済みセンサデータCSDを生成する(ステップS14)。一方、将来負荷FLが負荷閾値TLを下回る場合(ステップS13でNo)、ステップS18に進む。
When the future load FL exceeds the load threshold TL (Yes in Step S13), the
次に、データ制御装置13は、制御済みセンサデータCSDを、あて先アドレスにセットされたアプリケーション141に適用した際の将来負荷FL’を予測する(ステップS15)。
Next, the
ここで、データ制御装置13は、予測した将来負荷FL’と負荷閾値TLとを比較する(ステップS16)。
Here, the
将来負荷FL’が負荷閾値TLを上回る場合(ステップS16でYes)、データ制御装置13は、制御済みセンサデータCSDを制御し、制御済みセンサデータCSDを生成する(ステップS17)。ステップS17の後は、ステップS15に戻る。一方、将来負荷FL’が負荷閾値TLを下回る場合(ステップS16でNo)、ステップS18に進む。
When the future load FL 'exceeds the load threshold TL (Yes in step S16), the
そして、データ制御装置13は、センサデータSDまたは制御済みセンサデータCSDを、あて先アドレスにセットされたアプリケーション141に送信する(ステップS18)。
Then, the
以上が、データ制御装置13の動作についての説明である。
The above is the description of the operation of the
以上のように、本実施形態のデータ処理システムは、サーバ、そのサーバにインストールされた少なくとも一つのアプリケーション、およびそのアプリケーションで処理するセンサデータを取得する少なくとも一つのセンサを備える。また、本実施形態のデータ処理システムは、データ配送装置およびデータ制御装置を備える。データ配送装置は、センサによって取得されたセンサデータを処理する配送先のアプリケーションを指定し、配送先が指定されたセンサデータをデータ制御装置に配送する。データ制御装置は、配送先が指定されたセンサデータをデータ配送装置から受信する。データ制御装置は、配送先のアプリケーションがインストールされたサーバの負荷情報および配送先のアプリケーションの負荷特性に基づいて、センサデータを配送先のアプリケーションで処理する際に発生しうる将来負荷を予測する。データ制御装置は、将来負荷と負荷閾値との比較結果に応じてセンサデータを制御し、制御されたセンサデータを配送先のアプリケーションに送信する。 As described above, the data processing system according to the present embodiment includes the server, at least one application installed on the server, and at least one sensor that acquires sensor data processed by the application. Further, the data processing system of the present embodiment includes a data distribution device and a data control device. The data delivery device specifies a delivery destination application that processes the sensor data acquired by the sensor, and delivers the sensor data with the designated delivery destination to the data control device. The data control device receives, from the data delivery device, the sensor data whose delivery destination is specified. The data control device predicts a future load that may occur when the sensor data is processed by the destination application based on the load information of the server on which the destination application is installed and the load characteristics of the destination application. The data control device controls the sensor data according to a result of the comparison between the future load and the load threshold, and transmits the controlled sensor data to the application at the delivery destination.
本実施形態のデータ処理システムは、将来負荷FLが負荷閾値TLを下回るまで制御済みセンサデータCSDの更新を繰り返す。その結果、あて先アドレスにセットされたアプリケーションでセンサデータSDまたは制御済みセンサデータCSDを処理する際に発生し得る負荷を低減できるため、サーバリソースが逼迫されることを回避できる。すなわち、本実施形態のデータ処理システムによれば、アプリケーションの停止や遅延を回避して大幅な精度低減を防ぐことができるため、限られた計算資源のエッジ環境においても、アプリケーションの実行精度を安定化させることが可能となる。 The data processing system of the present embodiment repeatedly updates the controlled sensor data CSD until the future load FL falls below the load threshold TL. As a result, a load that can be generated when the sensor data SD or the controlled sensor data CSD is processed by the application set at the destination address can be reduced, so that the server resources can be prevented from being tight. In other words, according to the data processing system of the present embodiment, it is possible to avoid a halt or delay of the application and to prevent a significant reduction in accuracy, so that the execution accuracy of the application can be stabilized even in an edge environment with limited computational resources. It becomes possible to make it.
本実施形態のデータ制御装置は、データ配送装置から受信したセンサデータSDに対する制御方法を決定し、決定した制御方法をセンサデータSDに適用した制御済みセンサデータCSDを生成する。 The data control device of the present embodiment determines a control method for the sensor data SD received from the data distribution device, and generates controlled sensor data CSD in which the determined control method is applied to the sensor data SD.
本実施形態のデータ制御装置は、サーバから負荷情報を取得するとともに、アプリケーションの負荷特性情報を保持する。データ制御装置は、サーバの負荷情報と、アプリケーションの負荷相関関係とを用いて、センサデータSDから将来発生する将来負荷を予測する。さらに、データ制御装置は、予測した将来負荷と、自装置が保持する制御パラメータである負荷閾値とを比較し、将来負荷が負荷閾値を下回る制御方法を決定する。その結果、本実施形態のデータ制御装置によれば、システムを安定化させつつ、アプリケーションの実行精度を安定化させることが可能となる。 The data control device of the present embodiment acquires load information from a server and holds load characteristic information of an application. The data control device predicts a future load that will occur in the future from the sensor data SD using the load information of the server and the load correlation of the application. Further, the data control device compares the predicted future load with a load threshold which is a control parameter held by the device itself, and determines a control method in which the future load falls below the load threshold. As a result, according to the data control device of the present embodiment, it is possible to stabilize the execution accuracy of the application while stabilizing the system.
すなわち、本実施形態によれば、サーバリソース逼迫によるシステムの不安定化を回避しつつ、アプリケーション停止・遅延によるアプリケーション実行精度低下を回避することができる。そのため、本実施形態によれば、アプリケーションの実行精度を高めることが可能になる。 In other words, according to the present embodiment, it is possible to avoid a system instability due to a shortage of server resources and to avoid a decrease in application execution accuracy due to application stoppage and delay. Therefore, according to the present embodiment, it is possible to increase the execution accuracy of the application.
(第2の実施形態)
次に、本発明の第2の実施形態に係るデータ制御装置について図面を参照しながら説明する。本実施形態のデータ制御装置は、第1の実施形態に係るデータ処理システムのデータ制御装置を上位概念化したものである。
(Second Embodiment)
Next, a data control device according to a second embodiment of the present invention will be described with reference to the drawings. The data control device of the present embodiment is a higher-level concept of the data control device of the data processing system according to the first embodiment.
図8は、本実施形態のデータ制御装置20の構成を示すブロック図である。図8のように、データ制御装置20は、データ制御部210および負荷予測部250を備える。データ制御装置20は、データ制御部210において、図示しないセンサが取得するセンサデータを配送するデータ配送装置22と、センサデータの配送先に指定されたアプリケーション240とに接続される。
FIG. 8 is a block diagram showing a configuration of the
データ制御部210は、配送先のアプリケーション240が指定されたセンサデータをデータ配送装置22から受信する。データ制御部210は、配送先のアプリケーション240でセンサデータを処理する際に発生しうる将来負荷と負荷閾値との比較結果に応じてセンサデータを制御する。データ制御部210は、制御されたセンサデータを配送先のアプリケーション240に送信する。
The data control
負荷予測部250は、配送先のアプリケーション240がインストールされたサーバ(図示しない)の負荷情報およびアプリケーション240の負荷特性に基づいて、配送先のアプリケーション240でセンサデータを処理する際に発生しうる将来負荷を予測する。また、負荷予測部250は、データ制御部210によって制御されたセンサデータを配送先のアプリケーション240で処理する際に発生しうる将来負荷を予測する。
The
以上のように、本実施形態のデータ制御装置は、データ制御部と、負荷予測部とを備える。データ制御部は、配送先のアプリケーションが指定されたセンサデータを受信する。データ制御部は、配送先のアプリケーションでセンサデータを処理する際に発生しうる将来負荷と負荷閾値との比較結果に応じてセンサデータを制御し、制御されたセンサデータを配送先のアプリケーションに送信する。負荷予測部は、配送先のアプリケーションがインストールされたサーバの負荷情報およびアプリケーションの負荷特性に基づいて、データ制御部によって制御されたセンサデータを配送先のアプリケーションで処理する際に発生しうる将来負荷を予測する。 As described above, the data control device according to the present embodiment includes the data control unit and the load prediction unit. The data control unit receives the sensor data in which the application of the delivery destination is specified. The data control unit controls the sensor data according to the result of comparing the load threshold with a future load that may occur when the sensor data is processed by the destination application, and transmits the controlled sensor data to the destination application I do. The load estimating unit is configured to calculate a future load that may occur when processing the sensor data controlled by the data control unit in the destination application based on the load information of the server on which the application of the destination is installed and the load characteristics of the application. Predict.
本実施形態のデータ制御装置によれば、限られた計算資源のエッジ環境においても、アプリケーションの実行精度を安定化できる。 According to the data control device of the present embodiment, the execution accuracy of an application can be stabilized even in an edge environment with limited computational resources.
例えば、データ制御装置は、将来負荷が負荷閾値を下回るまでセンサデータの制御を繰り返す。 For example, the data control device repeats the control of the sensor data until the future load falls below the load threshold.
例えば、データ制御装置は、アプリケーションがインストールされたサーバの負荷情報をサーバから収集するサーバ負荷収集部を備える。 For example, the data control device includes a server load collecting unit that collects, from the server, load information of the server on which the application is installed.
例えば、データ制御部は、アプリケーションごとの制御方法を記憶させる制御方法記憶部を含む。データ制御部は、制御方法記憶部を参照して配送先のアプリケーションの制御方法を取得し、取得した制御方法に基づいてセンサデータを制御する。 For example, the data control unit includes a control method storage unit that stores a control method for each application. The data control unit acquires the control method of the application at the delivery destination with reference to the control method storage unit, and controls the sensor data based on the acquired control method.
例えば、サーバ負荷収集部は、アプリケーションがインストールされたサーバの負荷情報を記憶させるサーバ負荷記憶部を含む。また、負荷予測部は、アプリケーションごとの負荷特性を記憶させるアプリケーション負荷特性記憶部を含む。負荷予測部は、サーバ負荷記憶部を参照して配送先のアプリケーションがインストールされたサーバの負荷情報を取得するとともに、アプリケーション負荷特性記憶部を参照して配送先のアプリケーションの負荷特性を取得する。負荷予測部は、取得したサーバの負荷情報およびアプリケーションの負荷特性に基づいて、データ制御部によって制御されたセンサデータを配送先のアプリケーションで処理する際に発生しうる将来負荷を予測する。 For example, the server load collection unit includes a server load storage unit that stores load information of a server on which an application is installed. Further, the load prediction unit includes an application load characteristic storage unit that stores a load characteristic for each application. The load prediction unit refers to the server load storage unit to obtain the load information of the server on which the destination application is installed, and obtains the load characteristics of the destination application by referring to the application load characteristic storage unit. The load prediction unit predicts a future load that may occur when the sensor data controlled by the data control unit is processed by the destination application based on the obtained server load information and the application load characteristics.
例えば、負荷予測部は、センサデータの量および内容の少なくともいずれかと、アプリケーションの負荷との相関関係に基づいて将来負荷を予測する。 For example, the load prediction unit predicts a future load based on a correlation between at least one of the amount and content of the sensor data and the load of the application.
例えば、データ制御部は、配送先のアプリケーションが指定されたセンサデータを受信すると、配送先のアプリケーションでセンサデータを処理する際に発生しうる将来負荷の予測指示とセンサデータとを負荷予測部に送信する。データ制御部は、予測指示に応じて予測された将来負荷を負荷予測部から受信し、受信した将来負荷と負荷閾値とを比較する。将来負荷が負荷閾値を上回る場合、データ制御部は、センサデータを制御する。そして、データ制御部は、制御されたセンサデータを配送先のアプリケーションで処理する際に発生しうる将来負荷の予測指示と制御された負荷閾値とを負荷予測部に送信する。データ制御部は、予測指示に応じて予測された将来負荷を負荷予測部から受信し、受信した将来負荷と負荷閾値とを比較する。データ制御部は、将来負荷が負荷閾値を上回る場合、制御されたセンサデータを制御する。データ制御部は、制御されたセンサデータを配送先のアプリケーションで処理する際に発生しうる将来負荷の予測指示と制御された負荷閾値とを負荷予測部に送信することを将来負荷が負荷閾値を下回るまで繰り返す。 For example, when the destination application receives the specified sensor data, the data control unit sends a future load prediction instruction and sensor data that may occur when the destination application processes the sensor data to the load prediction unit. Send. The data control unit receives a future load predicted according to the prediction instruction from the load prediction unit, and compares the received future load with a load threshold. When the future load exceeds the load threshold, the data control unit controls the sensor data. Then, the data control unit transmits to the load prediction unit an instruction to predict a future load that may occur when the controlled sensor data is processed by the application of the delivery destination and the controlled load threshold. The data control unit receives a future load predicted according to the prediction instruction from the load prediction unit, and compares the received future load with a load threshold. The data control unit controls the controlled sensor data when the future load exceeds the load threshold. The data control unit transmits the load instruction with a predicted load instruction and a controlled load threshold that may occur when the controlled sensor data is processed by the application of the delivery destination. Repeat until below.
例えば、負荷予測部は、データ制御部から予測指示およびセンサデータを受信すると、アプリケーションの負荷特性に基づいて、配送先のアプリケーションでセンサデータを処理する際に発生しうる追加負荷を予測する。負荷予測部は、アプリケーションがインストールされたサーバの負荷情報に基づくサーバの現在負荷と追加負荷とを合わせることによって将来負荷を予測する。 For example, when the load prediction unit receives the prediction instruction and the sensor data from the data control unit, the load prediction unit predicts an additional load that may be generated when the destination application processes the sensor data based on the load characteristics of the application. The load prediction unit predicts a future load by combining the current load and the additional load of the server based on the load information of the server on which the application is installed.
(ハードウェア)
ここで、本発明の各実施形態に係るデータ処理システムの処理を実行するハードウェア構成について、図9の情報処理装置90を一例として挙げて説明する。例えば、情報処理装置90は、コンピュータやサーバ装置によって実現される。なお、図9の情報処理装置90は、各実施形態のデータ処理システムの処理を実行するための構成例であって、本発明の範囲を限定するものではない。
(hardware)
Here, a hardware configuration for executing processing of the data processing system according to each embodiment of the present invention will be described using the
図9のように、情報処理装置90は、プロセッサ91、主記憶装置92、補助記憶装置93、入出力インターフェース95および通信インターフェース96を備える。図9においては、インターフェースをI/F(Interface)と略して表記する。プロセッサ91、主記憶装置92、補助記憶装置93、入出力インターフェース95および通信インターフェース96は、バス99を介して互いにデータ通信可能に接続される。また、プロセッサ91、主記憶装置92、補助記憶装置93および入出力インターフェース95は、通信インターフェース96を介して、インターネットやイントラネットなどのネットワークに接続される。
As shown in FIG. 9, the
プロセッサ91は、補助記憶装置93等に格納されたプログラムを主記憶装置92に展開し、展開されたプログラムを実行する。本実施形態においては、情報処理装置90にインストールされたソフトウェアプログラムを用いる構成とすればよい。プロセッサ91は、本実施形態に係るデータ処理システムによる処理を実行する。
The
主記憶装置92は、プログラムが展開される領域を有する。主記憶装置92は、例えばDRAM(Dynamic Random Access Memory)などの揮発性メモリとすればよい。また、MRAM(Magnetoresistive Random Access Memory)などの不揮発性メモリを主記憶装置92として構成・追加してもよい。
The
補助記憶装置93は、種々のデータを記憶する。補助記憶装置93は、ハードディスクやフラッシュメモリなどのローカルディスクによって構成される。なお、種々のデータを主記憶装置92に記憶させる構成とし、補助記憶装置93を省略することも可能である。
The
入出力インターフェース95は、情報処理装置90と周辺機器とを接続するためのインターフェースである。通信インターフェース96は、規格や仕様に基づいて、インターネットやイントラネットなどのネットワークを通じて、外部のシステムや装置に接続するためのインターフェースである。入出力インターフェース95および通信インターフェース96は、外部機器と接続するインターフェースとして共通化してもよい。
The input /
情報処理装置90には、必要に応じて、キーボードやマウス、タッチパネルなどの入力機器を接続するように構成してもよい。それらの入力機器は、情報や設定の入力に使用される。なお、タッチパネルを入力機器として用いる場合は、表示機器の表示画面が入力機器のインターフェースを兼ねる構成とすればよい。プロセッサ91と入力機器との間のデータ通信は、入出力インターフェース95に仲介させればよい。
The
また、情報処理装置90には、情報を表示するための表示機器を備え付けてもよい。表示機器を備え付ける場合、情報処理装置90には、表示機器の表示を制御するための表示制御装置(図示しない)が備えられていることが好ましい。表示機器は、入出力インターフェース95を介して情報処理装置90に接続すればよい。
Further, the
また、情報処理装置90には、必要に応じて、ディスクドライブを備え付けてもよい。ディスクドライブは、バス99に接続される。ディスクドライブは、プロセッサ91と図示しない記録媒体(プログラム記録媒体)との間で、記録媒体からのデータ・プログラムの読み出し、情報処理装置90の処理結果の記録媒体への書き込みなどを仲介する。記録媒体は、例えば、CD(Compact Disc)やDVD(Digital Versatile Disc)などの光学記録媒体で実現できる。また、記録媒体は、USB(Universal Serial Bus)メモリやSD(Secure Digital)カードなどの半導体記録媒体や、フレキシブルディスクなどの磁気記録媒体、その他の記録媒体によって実現してもよい。
Further, the
以上が、本発明の各実施形態に係るデータ処理システムを可能とするためのハードウェア構成の一例である。なお、図9のハードウェア構成は、各実施形態に係るデータ処理システムの演算処理を実行するためのハードウェア構成の一例であって、本発明の範囲を限定するものではない。また、各実施形態に係るデータ処理システムに関する処理をコンピュータに実行させるプログラムも本発明の範囲に含まれる。さらに、各実施形態に係るプログラムを記録したプログラム記録媒体も本発明の範囲に含まれる。 The above is an example of the hardware configuration for enabling the data processing system according to each embodiment of the present invention. Note that the hardware configuration in FIG. 9 is an example of a hardware configuration for executing arithmetic processing of the data processing system according to each embodiment, and does not limit the scope of the present invention. Further, a program that causes a computer to execute a process related to the data processing system according to each embodiment is also included in the scope of the present invention. Furthermore, a program recording medium on which a program according to each embodiment is recorded is also included in the scope of the present invention.
各実施形態のデータ処理システムの構成要素は、任意に組み合わせることができる。また、各実施形態のデータ処理システムの構成要素は、ソフトウェアによって実現してもよいし、回路によって実現してもよい。 The components of the data processing system of each embodiment can be arbitrarily combined. Also, the components of the data processing system of each embodiment may be realized by software or may be realized by a circuit.
以上、実施形態を参照して本発明を説明してきたが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解し得る様々な変更をすることができる。 As described above, the present invention has been described with reference to the exemplary embodiments. However, the present invention is not limited to the above exemplary embodiments. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.
1 データ処理システム
11 センサ群
12 データ配送装置
13 データ制御装置
14 アプリケーション群
15 サーバ
20 データ制御装置
22 データ配送装置
111 センサ
131 データ制御部
132 制御方法記憶部
133 サーバ負荷記憶部
134 サーバ負荷収集部
135 将来負荷予測部
136 アプリケーション負荷特性記憶部
141 アプリケーション
210 データ制御部
240 アプリケーション
250 負荷予測部
Claims (10)
配送先の前記アプリケーションがインストールされたサーバの負荷情報および前記アプリケーションの負荷特性に基づいて、前記データ制御手段によって制御された前記センサデータを配送先の前記アプリケーションで処理する際に発生しうる前記将来負荷を予測する負荷予測手段とを備えるデータ制御装置。 The destination application receives the specified sensor data, and controls the sensor data in accordance with a comparison result between a future load and a load threshold that may occur when processing the sensor data in the destination application, Data control means for transmitting the controlled sensor data to the destination application,
The future that may occur when the sensor application controlled by the data control unit is processed by the application of the destination based on the load information of the server on which the application of the destination is installed and the load characteristics of the application. A data control device comprising: a load prediction unit that predicts a load.
前記将来負荷が前記負荷閾値を下回るまで前記センサデータの制御を繰り返す請求項1に記載のデータ制御装置。 The data control means includes:
The data control device according to claim 1, wherein control of the sensor data is repeated until the future load falls below the load threshold.
前記アプリケーションごとの制御方法を記憶させる制御方法記憶手段を含み、
前記サーバ負荷収集手段は、
前記アプリケーションがインストールされた前記サーバの負荷情報を記憶させるサーバ負荷記憶手段を含み、
前記負荷予測手段は、
前記アプリケーションごとの負荷特性を記憶させるアプリケーション負荷特性記憶手段とを含み、
前記データ制御手段は、
前記制御方法記憶手段を参照して配送先の前記アプリケーションの前記制御方法を取得し、取得した前記制御方法に基づいて前記センサデータを制御し、
前記負荷予測手段は、
前記サーバ負荷記憶手段を参照して配送先の前記アプリケーションがインストールされた前記サーバの負荷情報を取得するとともに、前記アプリケーション負荷特性記憶手段を参照して配送先の前記アプリケーションの負荷特性を取得し、取得した前記サーバの負荷情報および前記アプリケーションの負荷特性に基づいて、前記データ制御手段によって制御された前記センサデータを配送先の前記アプリケーションで処理する際に発生しうる前記将来負荷を予測する請求項3に記載のデータ制御装置。 The data control means includes:
Including a control method storage means for storing a control method for each application,
The server load collecting means,
Server load storage means for storing load information of the server on which the application is installed,
The load prediction means includes:
Application load characteristics storage means for storing the load characteristics for each application,
The data control means includes:
Acquiring the control method of the application of the delivery destination with reference to the control method storage means, controlling the sensor data based on the acquired control method,
The load prediction means includes:
Acquiring the load information of the server on which the application of the delivery destination is installed by referring to the server load storage unit, and acquiring the load characteristics of the application of the delivery destination by referring to the application load characteristic storage unit, A method for predicting the future load that may occur when the sensor data controlled by the data control unit is processed by the application at a delivery destination based on the acquired load information of the server and load characteristics of the application. 4. The data control device according to 3.
前記センサデータの量および内容の少なくともいずれかと、前記アプリケーションの負荷との相関関係に基づいて前記将来負荷を予測する請求項1乃至4のいずれか一項に記載のデータ制御装置。 The load prediction means includes:
The data control device according to claim 1, wherein the future load is predicted based on a correlation between at least one of an amount and a content of the sensor data and a load of the application.
配送先の前記アプリケーションが指定された前記センサデータを受信すると、
配送先の前記アプリケーションで前記センサデータを処理する際に発生しうる前記将来負荷の予測指示と前記センサデータとを前記負荷予測手段に送信し、
前記予測指示に応じて予測された前記将来負荷を前記負荷予測手段から受信し、
受信した前記将来負荷と前記負荷閾値とを比較し、
前記将来負荷が前記負荷閾値を上回る場合、
前記センサデータを制御し、
制御された前記センサデータを配送先の前記アプリケーションで処理する際に発生しうる前記将来負荷の前記予測指示と制御された前記負荷閾値とを前記負荷予測手段に送信し、
前記予測指示に応じて予測された前記将来負荷を前記負荷予測手段から受信し、
受信した前記将来負荷と前記負荷閾値とを比較し、
前記将来負荷が前記負荷閾値を上回る場合、
制御された前記センサデータを制御し、
制御された前記センサデータを配送先の前記アプリケーションで処理する際に発生しうる前記将来負荷の前記予測指示と制御された前記負荷閾値とを前記負荷予測手段に送信することを前記将来負荷が前記負荷閾値を下回るまで繰り返す請求項1乃至5のいずれか一項に記載のデータ制御装置。 The data control means includes:
When the destination application receives the specified sensor data,
Sending the future load prediction instruction and the sensor data that may occur when the sensor data is processed by the application at the delivery destination to the load prediction unit,
Receiving the future load predicted according to the prediction instruction from the load prediction means,
Comparing the received future load with the load threshold,
When the future load exceeds the load threshold,
Controlling the sensor data,
Transmitting the predicted instruction and the controlled load threshold of the future load that may occur when the controlled sensor data is processed by the application of the delivery destination to the load predicting unit,
Receiving the future load predicted according to the prediction instruction from the load prediction means,
Comparing the received future load with the load threshold,
When the future load exceeds the load threshold,
Controlling the controlled sensor data,
The future load is configured to transmit, to the load prediction unit, the prediction instruction of the future load and the controlled load threshold that may occur when the controlled sensor data is processed by the application at the delivery destination. The data control device according to any one of claims 1 to 5, wherein the data control device repeats the process until the load value falls below a load threshold value.
前記データ制御手段から前記予測指示および前記センサデータを受信すると、
前記アプリケーションの負荷特性に基づいて、配送先の前記アプリケーションで前記センサデータを処理する際に発生しうる追加負荷を予測し、前記アプリケーションがインストールされた前記サーバの負荷情報に基づく前記サーバの現在負荷と前記追加負荷とを合わせることによって前記将来負荷を予測する請求項6に記載のデータ制御装置。 The load prediction means includes:
When receiving the prediction instruction and the sensor data from the data control means,
Based on the load characteristics of the application, predict an additional load that may occur when the sensor data is processed by the application at the delivery destination, and calculate a current load of the server based on load information of the server on which the application is installed. 7. The data control device according to claim 6, wherein the future load is predicted by combining the load with the additional load.
前記サーバにインストールされた少なくとも一つのアプリケーションと、
前記アプリケーションで処理するセンサデータを取得する少なくとも一つのセンサと、
前記センサによって取得された前記センサデータを処理する配送先の前記アプリケーションを指定し、配送先が指定された前記センサデータを配送するデータ配送装置と、
配送先が指定された前記センサデータを前記データ配送装置から受信し、配送先の前記アプリケーションがインストールされた前記サーバの負荷情報および配送先の前記アプリケーションの負荷特性に基づいて、前記センサデータを配送先の前記アプリケーションで処理する際に発生しうる将来負荷を予測し、前記将来負荷と負荷閾値との比較結果に応じて前記センサデータを制御し、制御された前記センサデータを配送先の前記アプリケーションに送信するデータ制御装置とを備えるデータ処理システム。 Server and
At least one application installed on the server;
At least one sensor for acquiring sensor data to be processed by the application,
A data delivery device that designates the application of a delivery destination that processes the sensor data acquired by the sensor, and delivers the sensor data whose delivery destination is designated;
Receiving the sensor data whose delivery destination is specified from the data delivery device, and delivering the sensor data based on load information of the server on which the application of the delivery destination is installed and load characteristics of the application of the delivery destination. Predicting a future load that may occur when processing by the application, controlling the sensor data according to a comparison result between the future load and a load threshold, and controlling the sensor data under the control of the application as a delivery destination. A data processing system comprising:
配送先の前記アプリケーションがインストールされたサーバの負荷情報および前記アプリケーションの負荷特性に基づいて、前記センサデータを配送先の前記アプリケーションで処理する際に発生しうる将来負荷を予測し、
配送先の前記アプリケーションで前記センサデータを処理する際に発生しうる前記将来負荷と負荷閾値との比較結果に応じて前記センサデータを制御し、
制御された前記センサデータを配送先の前記アプリケーションに送信するデータ制御方法。 The destination application receives the specified sensor data,
Based on the load information of the server where the application of the delivery destination is installed and the load characteristics of the application, predict a future load that may occur when the sensor data is processed by the application of the delivery destination,
Controlling the sensor data according to a comparison result between the future load and a load threshold that may occur when processing the sensor data in the application at the destination,
A data control method for transmitting the controlled sensor data to the destination application.
配送先の前記アプリケーションがインストールされたサーバの負荷情報および前記アプリケーションの負荷特性に基づいて、前記センサデータを配送先の前記アプリケーションで処理する際に発生しうる将来負荷を予測する処理と、
配送先の前記アプリケーションで前記センサデータを処理する際に発生しうる前記将来負荷と負荷閾値との比較結果に応じて前記センサデータを制御する処理と、
制御された前記センサデータを配送先の前記アプリケーションに送信する処理とをコンピュータに実行させるプログラム。 A process in which the destination application receives the specified sensor data,
Based on the load information of the server where the application of the delivery destination is installed and the load characteristics of the application, a process of predicting a future load that may occur when the sensor data is processed by the application of the delivery destination,
A process of controlling the sensor data according to a comparison result between the future load and a load threshold that may occur when processing the sensor data in the application at the delivery destination;
Transmitting a controlled sensor data to the application at a delivery destination.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018113764A JP2019215807A (en) | 2018-06-14 | 2018-06-14 | Data controller, data control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018113764A JP2019215807A (en) | 2018-06-14 | 2018-06-14 | Data controller, data control method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2019215807A true JP2019215807A (en) | 2019-12-19 |
Family
ID=68918010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018113764A Pending JP2019215807A (en) | 2018-06-14 | 2018-06-14 | Data controller, data control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2019215807A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220345590A1 (en) * | 2019-10-07 | 2022-10-27 | Nec Corporation | Video analysis method, video analysis system, and information processing device |
-
2018
- 2018-06-14 JP JP2018113764A patent/JP2019215807A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220345590A1 (en) * | 2019-10-07 | 2022-10-27 | Nec Corporation | Video analysis method, video analysis system, and information processing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6631710B2 (en) | Virtualization management program, virtualization management device, and virtualization management method | |
US9921861B2 (en) | Virtual machine management method and information processing apparatus | |
JP2017201791A (en) | Video encoding system and method | |
JP7035606B2 (en) | Edge computing systems, edge servers, system control methods, and programs | |
WO2019192263A1 (en) | Task assigning method, apparatus and device | |
JP6237397B2 (en) | Control device and communication method | |
CN111064781A (en) | Multi-container cluster monitoring data acquisition method and device and electronic equipment | |
JP2018200603A (en) | Task arranging program, task arranging method, and task arranging device | |
JP2017107274A (en) | Virtual machine adding method, information processing unit, and virtual machine adding system | |
KR20190059661A (en) | Electronic device and method for managing computing resources of at least one cloud server that provices cloud services | |
JP2021504780A (en) | Application Prioritization for Automatic Diagonal Scaling in a Distributed Computing Environment | |
US20220329651A1 (en) | Apparatus for container orchestration in geographically distributed multi-cloud environment and method using the same | |
US11327811B2 (en) | Distributed computing mesh | |
CN114564313A (en) | Load adjustment method and device, electronic equipment and storage medium | |
JP2019215807A (en) | Data controller, data control method, and program | |
EP3872624B1 (en) | Information processing device, information processing system, and information processing method | |
JP2021504777A (en) | Automatic diagonal scaling of workloads in a distributed computing environment | |
US9983888B2 (en) | Predictive writing of bootable images to storage nodes in a cloud computing environment | |
JP2017111664A (en) | Auto-scale program and auto-scale method | |
JP2019028689A (en) | Unnecessary file detector, unnecessary file detection method, and unnecessary file detection program | |
US20170286181A1 (en) | Deployment and execution of sensing and computational tasks in a network of computing devices | |
CN113703906A (en) | Data processing method, device and system | |
CN110719306B (en) | Network request limiting method, computer equipment and storage medium | |
CN116324724A (en) | VDI resource allocation determination device, VDI resource allocation determination method, and VDI resource allocation determination program | |
JP6922344B2 (en) | Information processing equipment, information processing system, and information processing method |