JP2012175376A - Management apparatus and data collection apparatus - Google Patents
Management apparatus and data collection apparatus Download PDFInfo
- Publication number
- JP2012175376A JP2012175376A JP2011035084A JP2011035084A JP2012175376A JP 2012175376 A JP2012175376 A JP 2012175376A JP 2011035084 A JP2011035084 A JP 2011035084A JP 2011035084 A JP2011035084 A JP 2011035084A JP 2012175376 A JP2012175376 A JP 2012175376A
- Authority
- JP
- Japan
- Prior art keywords
- data
- collection
- state
- processing method
- unit
- 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.)
- Withdrawn
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
- Communication Control (AREA)
Abstract
【課題】適切なデータ量低減加工方式を選択することで、収集したデータの送信データ量を効果的に低減する。
【解決手段】制御機器112は、デバイスからのデータを収集し、収集した収集データをサーバ装置111に送信する。サーバ装置111は、デバイスからの収集データを所定のステートごとに解析し、ステートごとに最適なデータ量低減加工方式を決定し、決定したステートごとのデータ量低減加工方式を制御機器112に通知する。制御機器112は、ステートごとに、サーバ装置111から通知されたデータ量低減加工方式で収集データを加工し、加工後の収集データをサーバ装置111に送信する。
【選択図】図1The transmission data amount of collected data is effectively reduced by selecting an appropriate data amount reduction processing method.
A control device 112 collects data from a device and transmits the collected data to a server device 111. The server device 111 analyzes the collected data from the device for each predetermined state, determines an optimum data amount reduction processing method for each state, and notifies the control device 112 of the determined data amount reduction processing method for each state. . The control device 112 processes the collected data by the data amount reduction processing method notified from the server device 111 for each state, and transmits the processed collected data to the server device 111.
[Selection] Figure 1
Description
本発明は、データを送信する際の送信データ量を低減する技術に関する。 The present invention relates to a technique for reducing the amount of transmission data when transmitting data.
制御機器(例えばPLC(Programmable Logic Controller)など)は、自身に接続している機器の制御・管理を行う機器である。
制御機器には接続された機器の動作を制御する命令を機器に送信する機能の他に、機器管理のためのデータを収集する機能がある。機器管理のためのデータとは例えば、機器内の回路の入力や出力の状態を示す値や、機器の処理実績値などである。これらはデバイス信号値やデバイスデータ、デバイス信号値データと呼ばれる。
収集したデバイス信号値は、制御機器内のデバイスメモリに蓄積され、制御機器からサーバ装置などに送られ、機器管理システムなどで使用される。
収集したデータのサーバ装置と制御機器との間の通信は、制御機器用通信システムで行われる。
制御機器用通信システムには、機器からデータを収集する場合に、サーバ装置から制御機器にデータ収集命令を送り、制御機器側が自動で機器のデータを収集・送信し続ける配信型の通信方式がある。
制御機器は一定の収集間隔で機器のデータを収集し続け、送信間隔分のデータが溜まった時点でサーバ装置に送信を行う。
この処理はサーバ装置からのデータ収集命令を受信してから制御機器側が自動で繰り返し実行する。
サーバ装置は、データ収集命令を送信した後は、制御機器から送信されるデータをデータベースに更新し続ける。
昨今、この制御機器向け通信では、より高精度な機器の異常監視や生産管理のため、データ収集点数の増加とデータ収集・送信間隔の短間隔化が進んでおり、通信量の増加に繋がっている。
A control device (for example, PLC (Programmable Logic Controller)) is a device that controls and manages a device connected to itself.
The control device has a function of collecting data for device management in addition to a function of transmitting a command for controlling the operation of the connected device to the device. Data for device management is, for example, a value indicating the input or output state of a circuit in the device, a processing result value of the device, or the like. These are called device signal value, device data, and device signal value data.
The collected device signal values are accumulated in a device memory in the control device, sent from the control device to a server device, etc., and used in a device management system or the like.
Communication between the server device of the collected data and the control device is performed by a communication system for control devices.
In the communication system for control equipment, when collecting data from the equipment, there is a distribution type communication method in which a data collection command is sent from the server device to the control equipment, and the control equipment side automatically collects and transmits the equipment data. .
The control device continues to collect device data at a certain collection interval, and transmits data to the server device when data for the transmission interval is accumulated.
This process is automatically and repeatedly executed by the control device after receiving a data collection command from the server device.
After transmitting the data collection command, the server device continues to update the data transmitted from the control device to the database.
In recent years, in this communication for control devices, the number of data collection points and the data collection / transmission interval have been shortened for more accurate device abnormality monitoring and production management, leading to an increase in communication volume. Yes.
回線や制御機器本体などのハードウェア(H/W)に手を加えず、ソフトウェア(S/W)だけでデータ収集効率を改善するには、機器(クライアント)側からの送信データに圧縮などデータ量を低減する加工を施す方法がある。
クライアント側からの送信データにデータ量を低減するような加工を行う通信装置は存在するが、それらの方法は全てネットワーク上の通信量(帯域負荷)に基づいて圧縮の有無や方式を決定するものである。
従来は、ネットワーク上の通信量を監視する手段を持ち、ネットワークの通信量を検知することによって、送信すべき画像データの圧縮/非圧縮を決定していた(例えば特許文献1)。
また、基地局制御装置が各基地局の遅延時間を測定する手段を持ち、測定された遅延時間に基づいてネットワークの帯域負荷量を判断することによって、負荷に応じた音声データの伝送速度(圧縮方式)を設定していた(例えば特許文献2)。
In order to improve data collection efficiency with software (S / W) alone without changing the hardware (H / W) such as the line and control device itself, data such as compression to the transmission data from the device (client) side There is a method of performing processing to reduce the amount.
There are communication devices that perform processing that reduces the amount of data sent from the client side, but all of these methods determine whether or not to compress based on the network traffic (bandwidth load). It is.
Conventionally, a means for monitoring the traffic on the network has been provided, and compression / non-compression of image data to be transmitted has been determined by detecting the traffic on the network (for example, Patent Document 1).
In addition, the base station controller has means for measuring the delay time of each base station, and by determining the network bandwidth load based on the measured delay time, the transmission rate (compression) of voice data according to the load (For example, Patent Document 2).
従来、制御機器用通信では通信時にこのデータ量を低減するような加工は行われていない。
制御機器用通信でやりとりされるデータには、制御機器が管理する機器の動作を示すものや、機器の行った処理の実績を示すものなどがある。
機器の動作は制御プログラムで指定されており、正常に動作している場合、動作は一定の処理、すなわち定型処理の繰り返しで構成されている。
処理は、入力信号(入力デバイス)で開始し、終了時に出力信号(出力デバイス)を出力する。
出力は別の処理を開始する入力にもなる。
そのため、収集した信号値を時系列で見ると値は一定の傾向(波形)の繰り返しとなり、連続した値を符号で置換して記述するような圧縮処理を行ったデータより、定型処理時の波形との差分を取ったデータの方がデータ量を低減出来る場合がある。
通信時に送信するデータにデータ量を低減するような加工を行うこと自体は特許文献1及び特許文献2に示す既存技術で可能だが、特許文献1では通信量に基づいて圧縮の有無や方式を決定しているため、規則的ではあるものの値の変動が多いような機器データの場合、効率が悪い。
また、デバイスデータは機器の状態(ステート)によりデータの傾向が変動するが、収集対象である複数の信号値の傾向は互いに疎であり、制御機器で収集する実データは可変処理と定型処理の影響が混在する。
そのため、収集したデータのどこからどこまでを波形とするかを決定する際に、その値が別の可変処理の終了待ちデータか異常データかを機械的に判断することが難しい。
Conventionally, processing for reducing the amount of data during communication has not been performed in communication for control devices.
Data exchanged by control device communication includes data indicating the operation of a device managed by the control device, data indicating the results of processing performed by the device, and the like.
The operation of the device is specified by the control program, and when the device is operating normally, the operation is configured by repeating a certain process, that is, a fixed process.
The process starts with an input signal (input device) and outputs an output signal (output device) at the end.
The output also becomes an input for starting another process.
Therefore, when the collected signal values are viewed in time series, the values repeat with a certain tendency (waveform), and the waveform at the time of standard processing is obtained from the compressed data that is described by replacing consecutive values with codes. In some cases, the amount of data obtained by taking the difference between and can be reduced.
Although it is possible with the existing technology shown in
In addition, the trend of device data varies depending on the state of the device, but the trend of multiple signal values to be collected is sparse, and the actual data collected by the control device is variable and routine processing. Effects are mixed.
For this reason, it is difficult to mechanically determine whether the value of the collected data is the data waiting for the end of another variable process or abnormal data when determining from where to where the waveform is a waveform.
本発明は上記のような課題を解決することを主な目的としており、適切なデータ量低減加工方式を選択することで、収集したデータの送信データ量を効果的に低減することを主な目的とする。 The main object of the present invention is to solve the above-mentioned problems, and the main object is to effectively reduce the transmission data amount of collected data by selecting an appropriate data amount reduction processing method. And
本発明に係る管理装置は、
データ収集装置に接続され、前記データ収集装置を介して複数のデバイスを管理し、前記データ収集装置により収集されたデバイスのデータを前記データ収集装置から受信する管理装置であって、
前記複数のデバイスの動作手順の論理的な区分であるステートを定義するステート情報を記憶するステート情報記憶部と、
前記複数のデバイスのうちデータ収集の対象となるデバイスを収集対象デバイスとして指定するデバイス指定部と、
前記データ収集装置に対して、前記収集対象デバイスからの収集データを、データ量を低減させるデータ量低減加工を行わずに送信するよう指示する収集指示部と、
前記収集指示部からの指示に基づいて前記データ収集装置から送信された前記収集対象デバイスからの収集データを受信する収集データ受信部と、
前記ステート情報に基づき、前記収集データ受信部により受信された前記収集対象デバイスからの収集データが、いずれのステートにおいて前記収集対象デバイスから収集された収集データであるかを判断する収集データ判断部と、
前記収集データ受信部により受信された前記収集対象デバイスからの収集データに対して複数のデータ量低減加工方式の各々を適用し、ステートごとに、データ量低減加工方式を指定する加工方式指定部と、
前記加工方式指定部により指定された指定データ量低減加工方式をステートごとに前記データ収集装置に通知し、前記データ収集装置に対して、収集データをステートごとに指定データ量低減加工方式にて加工し、指定データ量低減加工方式で加工された収集データを送信するよう指示するデータ加工指示部とを有することを特徴とする。
The management device according to the present invention is:
A management apparatus connected to a data collection apparatus, managing a plurality of devices via the data collection apparatus, and receiving device data collected by the data collection apparatus from the data collection apparatus;
A state information storage unit that stores state information that defines a state that is a logical division of an operation procedure of the plurality of devices;
A device designating unit for designating a data collection target device among the plurality of devices as a collection target device;
A collection instruction unit that instructs the data collection device to transmit the collected data from the collection target device without performing data amount reduction processing to reduce the data amount;
A collection data receiving unit that receives collection data from the collection target device transmitted from the data collection device based on an instruction from the collection instruction unit;
A collected data judging unit for judging in which state the collected data from the collection target device received by the collected data receiving unit is the collected data collected from the collection target device based on the state information; ,
Applying each of a plurality of data amount reduction processing methods to the collected data received from the collection target device received by the collection data receiving unit, and specifying a data amount reduction processing method for each state; ,
Notify the data collection device for the specified data amount reduction processing method specified by the processing method specifying unit for each state, and process the collected data to the data collection device for each state using the specified data amount reduction processing method And a data processing instruction unit for instructing to transmit the collected data processed by the designated data amount reduction processing method.
本発明によれば、収集対象デバイスからの収集データを受信し、受信した収集データに基づき最適なデータ量低減加工方式を指定するため、収集データの送信データ量を効果的に低減することができる。 According to the present invention, since the collection data from the collection target device is received and the optimum data amount reduction processing method is designated based on the received collection data, the transmission data amount of the collection data can be effectively reduced. .
実施の形態1及び2では、従来技術の課題を解決するために、ネットワーク内のデータ流量を低減することで通信の高速大容量化を図る構成を説明する。
具体的には、実施の形態1では、サーバ装置で複数信号を関連付けて解析することで可変処理と定型処理を分類し、収集データに対し最適な低減加工を行う。
更に、サーバ装置が信号を関連付ける情報であるステートを持ち、デバイスデータの入出力を監視してステートの移行を判断し、常に最適な加工方式を指定することで、送信データ量の低減を行う。
また、実施の形態2では、全体の通信量を監視して送信タイミングを調整し、データ送信のピークを分散・少量化させ、通信回路を平均的に使用することで通信の効率化を行い、送信可能データ点数を増加させる。
In
Specifically, in the first embodiment, variable processing and routine processing are classified by associating and analyzing a plurality of signals in the server device, and optimal reduction processing is performed on the collected data.
Further, the server apparatus has a state as information for associating signals, monitors input / output of device data, determines the state transition, and always designates an optimum processing method, thereby reducing the amount of transmission data.
In the second embodiment, the overall communication amount is monitored and the transmission timing is adjusted, the peak of data transmission is distributed and reduced, and communication efficiency is improved by using the communication circuit on average. Increase the number of transmittable data points.
実施の形態1.
[A.1.システム構成図:図1]
図1は、実施の形態1及び2に係る制御機器用通信システム100の構成例を示す。
制御機器用通信システム100は、サーバ装置111と複数の制御機器112−A、112−Bとが接続され、また、各制御機器112−A、112−Bには複数の機器200が接続されている。
サーバ装置111は、制御機器112−A、112−Bを介して複数の機器200におけるデバイスを管理し、制御機器112−A、112−Bにより収集された機器200のデバイスのデータを制御機器112−A、112−Bから受信する。
サーバ装置111は、管理装置の例である。
制御機器112−A、112−Bは、機器200のデバイスのデータを収集し、収集した収集データをサーバ装置111に送信する。
実施の形態1及び2では、制御機器112−A、112−Bは、収集データを送信する際に、所定のデータ量低減加工方式により収集データのデータ量を低減し、データ量が低減された収集データをサーバ装置111に送信する。
制御機器112−A、112−Bは、データ収集装置の例である。
なお、以下、制御機器112−A、112−Bを区別する必要がない場合は、制御機器112と表記する。
また、図1では、制御機器112−A、112−Bという2つの制御機器を用いる例を示しているが、制御機器の個数は任意である。
[A. 1. System configuration diagram: Fig. 1]
FIG. 1 shows a configuration example of a control
In the control
The
The
The control devices 112 -A and 112 -B collect device data of the
In the first and second embodiments, when the control devices 112-A and 112-B transmit the collected data, the data amount of the collected data is reduced by a predetermined data amount reduction processing method, and the data amount is reduced. The collected data is transmitted to the
The control devices 112-A and 112-B are examples of data collection devices.
Hereinafter, when it is not necessary to distinguish between the control devices 112-A and 112-B, they are referred to as the
In addition, FIG. 1 illustrates an example in which two control devices 112-A and 112-B are used, but the number of control devices is arbitrary.
[A.1.1 サーバ装置サイドのシステム構成:図2〜図8]
図2は本実施の形態に係るサーバ装置111の構成例を示す。
サーバ装置111は以下の機能、情報及び仕組みを持つ。
[A. 1.1 System configuration on server side: FIGS. 2 to 8]
FIG. 2 shows a configuration example of the
The
サーバ−制御機器間通信部(サーバサイド)101は、サーバ装置111と制御機器112の間で通信を行う。
サーバ−制御機器間通信部(サーバサイド)101は、制御機器112に命令や設定、データを送信する機能と、送信されてくる収集データを受信する機能を持つ。
サーバ−制御機器間通信部(サーバサイド)101は、収集データ受信部に対応する。
The server-control device communication unit (server side) 101 performs communication between the
The server-control device communication unit (server side) 101 has a function of transmitting commands, settings, and data to the
The server-control device communication unit (server side) 101 corresponds to a collected data receiving unit.
デバイス指定部120は、サーバ装置111のユーザからの指示を入力し、ユーザからの指示に従って複数の機器200のデバイスのうちデータ収集の対象となるデバイスを収集対象デバイスとして指定する。
なお、デバイスは、機器200の回路内にある「接点」や「コイル」等のハードウェアを意味するとともに、これに限らず、機器200のメモリ内の「接点」や「コイル」等のデータの意味や、制御機器112のメモリ内に蓄積されている機器200から取得した「接点」や「コイル」等のデータの意味、これらの「接点」や「コイル」等のデータを表す変数名の意味も包含する。
また、「人間が管理するためのIDとしての収集対象名」も包含する。
The
The device means hardware such as “contact” and “coil” in the circuit of the
It also includes “collection target name as an ID for human management”.
データ復元部102は、制御機器112でデータ量を低減する加工を施された収集データを復元する。
The
データ解析部103は、収集データを解析する。
データ解析部103は、波形作成部103−1と加工方式指定部103−2からなる。
The
The
波形作成部103−1は、収集データや、タイミングチャート109や制御用プログラム110などを解析し、収集データの時系列傾向である波形情報105を作成する。
また、波形作成部103−1は、事前解析段階において、制御機器112に対して収集対象デバイスからの収集データを送信するよう指示する。
また、波形作成部103−1は、事前解析段階において、制御機器112から受信した収集対象デバイスからの収集データが、いずれのステートにおいて収集された収集データであるかを判断する。
なお、ステートについては後述する。
波形作成部103−1は、収集指示部、収集データ判断部及びデータ波形抽出部に対応する。
The waveform creation unit 103-1 analyzes the collected data, the
In addition, the waveform creation unit 103-1 instructs the
In addition, the waveform creation unit 103-1 determines in which state the collected data from the collection target device received from the
The state will be described later.
The waveform creation unit 103-1 corresponds to a collection instruction unit, a collected data determination unit, and a data waveform extraction unit.
加工方式指定部103−2は、ステートごとに、収集データの送信データ量を低減するデータ量低減加工方式を指定し、制御機器112に対して、指定したデータ量低減加工方式(指定データ量低減加工方式)にて収集データを加工し、当該データ量低減加工方式で加工された収集データを送信するよう指示する。
加工方式指定部103−2は、データ加工指示部の例でもある。
データ量低減加工方式(以下、単に加工方式とも表記する)には、例えば、(1)連続データを符号で置換して記述する圧縮方式、(2)登録した波形情報105との差異のみ送信する差分方式、(3)指定された基準値と異なるデータのみ送信する比較方式などがあるがそれらに限定するものではない。
なお、データに加工を行わない場合、本機能は使用しない。
加工方式指定部103−2は、登録された加工方式に対し効率が良い順に優先度をつけ、優先度上位の加工方式でデータを収集するよう指定する。
加工方式指定部103−2は、事前の解析だけでなく、運転中の解析にも使用する。
運転中、データの加工方式はデバイス情報106のもつデータ低減率から決定する。
優先度上位の加工方式で収集しているデータのデータ量が増加した場合、加工方式指定部103−2が自動で方式を優先度下位の方式に切り替える。
The processing method designation unit 103-2 designates a data amount reduction processing method for reducing the transmission data amount of collected data for each state, and designates the designated data amount reduction processing method (designated data amount reduction) to the
The processing method designation unit 103-2 is also an example of a data processing instruction unit.
For the data amount reduction processing method (hereinafter also simply referred to as processing method), for example, (1) a compression method described by replacing continuous data with a code, and (2) only the difference from the registered
Note that this function is not used when data is not processed.
The processing method designation unit 103-2 gives priority to the registered processing methods in order of efficiency, and designates data to be collected by a processing method with higher priority.
The processing method designating unit 103-2 is used not only for preliminary analysis but also for analysis during operation.
During operation, the data processing method is determined from the data reduction rate of the device information 106.
When the amount of data collected by the higher priority processing method increases, the processing method specifying unit 103-2 automatically switches the method to the lower priority method.
全体管理部104は、複数のデータを総合的に監視・管理する。
全体管理部104は、ステートの移行の判断のほか、ユーザがデバイスを指定することにより異常判定等にも使用される。
全体管理部104は、特定デバイス監視部104−1と複数デバイス監視部104−2からなる。
特定デバイス監視部104−1は、ユーザの指定するデバイスや、ステート変化に関わる特定のデバイスのデータ更新状態を監視する。監視対象は単一のデバイスである。
複数デバイス監視部104−2は、ユーザの指定する複数のデバイス値の組み合わせや、ステート変化に複数のデバイスが関わる場合に使用する。
全体管理部104でステートの遷移が確認できた場合、開始デバイスの状態から現在のステートを割り出す。
そして、全体管理部104は、割り出したステートを通知する移行ステート通知情報を生成し、サーバ−制御機器間通信部(サーバサイド)101から移行ステート通知情報を制御機器112に送信する。
移行ステート通知情報は、新たなステートが到来する度に、到来したステートを通知する情報であり、制御機器112では、移行ステート通知情報で通知されたステートに対応する加工方式で収集データの加工を行う。
なお、全体管理部104は、移行先ステート通知部及びデバイス監視部に対応する。
The
The
The
The specific device monitoring unit 104-1 monitors the data update state of a device designated by the user and a specific device related to the state change. The monitoring target is a single device.
The multiple device monitoring unit 104-2 is used when a plurality of devices are involved in a combination of a plurality of device values designated by the user or a state change.
When the state transition can be confirmed by the
Then, the
The transition state notification information is information for notifying the arrived state every time a new state arrives, and the
The
波形情報記憶部1050−Aは、1つ以上の波形情報105を記憶している。
波形情報105は、一定期間内におけるデバイスデータ値の時間軸での変化傾向を記したデータである。
図4は波形情報105の例である。
波形情報105は、一意のIDとなるような波形名と、デバイスデータの値の推移である傾向データが記されている。
図4の例では傾向データは、当該デバイスの収集間隔を単位としたビットデータとしているが、これに限定するものではない。
例えば、最小収集間隔を単位としたワードデータなどでも構わない。
また、同一傾向のデータでも対象ステートや対象デバイスが異なれば別データとしているが、これに限定するものではない。
波形情報105は、サーバ装置111だけでなく、制御機器112上でももつが、制御機器112がもつ波形情報105−Bは、当該制御機器112で収集するデバイスデータ分のみである。
The waveform information storage unit 1050 -A stores one or more pieces of
The
FIG. 4 is an example of the
The
In the example of FIG. 4, the trend data is bit data with the collection interval of the device as a unit, but is not limited thereto.
For example, word data with the minimum collection interval as a unit may be used.
Further, even if the data has the same tendency, the data is different if the target state or the target device is different. However, the present invention is not limited to this.
The
デバイス情報記憶部1060は、1つ以上のデバイス情報106を記憶する。
デバイス情報106は、収集対象デバイスに関する情報を記したデータである。
図5はデバイス情報の例である。
デバイス情報106は、収集対象デバイス毎に存在し、データ送信間隔、データ収集間隔、関連ステート、当該ステート時に使用する加工方式、波形情報105、各加工方式でのデータ量低減率、平均通信量が記されている。
図5では、データ量低減率として、未加工データ量に対する加工後のデータ量の割合をパーセンテージで示している。
また、加工方式として三方式の例を示しているが、これ以外の方式がある場合はそれを追加してもよい。
なお、当該ステート時に使用する加工方式として、各加工方式でのデータ量低減率のうち最も低減率が高いものを指定しているが、ユーザが任意の方式を指定しても構わない。
The device
The device information 106 is data describing information related to the collection target device.
FIG. 5 is an example of device information.
Device information 106 exists for each collection target device, and includes data transmission interval, data collection interval, related state, processing method used in the state,
In FIG. 5, as the data amount reduction rate, the ratio of the processed data amount to the unprocessed data amount is shown as a percentage.
Moreover, although the example of three systems is shown as a processing system, when there exists a system other than this, you may add it.
Note that although the processing method used in the state is designated with the highest reduction rate among the data amount reduction rates in each processing method, the user may designate any method.
ステート情報107は、特定期間のデータ収集に関連しているデバイスの情報を記したデータである。
ステートは、デバイスの状態であり、複数のデバイスの動作手順の論理的な区分に相当する。
ステートは、制御機器用通信システム100のユーザが任意に設定する。
ステートの定義は、本システムで事前解析を行う前に用意する。本実施の形態では、例えば、動作手順情報記憶部1090に記載の情報や、仕様書など、機器200を組み合わせて動作させる際に必要となる情報を想定しているが、本システム向けに新規に作成しても構わない。
デバイスは、あるステート下にある期間中、同一の動作を繰り返す。ステートが移行するとデバイスは異なる動作を行う。
但し、例えば、デバイスmはステートxで同一動作αを繰り返し、ステートyでは同一動作βを繰り返すが、デバイスnはステートxで同一動作λを繰り返し、ステートyでは同一動作を行わないという場合もある。
図6、図7はステート情報107の例である。
ステート情報107は、ステート毎に存在し、一意のステート名、処理を開始する合図となる開始デバイス401、処理を終了した際に出力する終了デバイス402、当該ステートである間に収集するデバイスである収集対象デバイス403が記されている。
収集対象デバイス403として収集されるデータのデバイス信号種別は問わない。入出力デバイス信号のほか、処理実績値なども対象となる。
つまり、図6、図7で示した収集対象デバイス403の例は、入力と出力のみであるが、タイマー値や処理実績値など収集対象となるデバイス信号種別に合わせて項目を追加して構わない。
終了デバイス402として扱われるデータは出力デバイス信号である必要があるが、数は問わない。
開始デバイス信号401として扱われるデータは入力/出力デバイス信号を問わず、複数でも構わない。
ステート情報107は、このように各ステートの始期と終期をいずれかのデバイスに対応付けて定義している。
後述するように、波形作成部103−1は、ステート情報107に示される開始デバイス及び終了デバイスの挙動を解析し、制御機器112から受信した収集対象デバイスからの収集データが、いずれのステートにおいて収集された収集データであるかを判断する。
The state information 107 is data describing device information related to data collection for a specific period.
A state is a state of a device and corresponds to a logical division of operation procedures of a plurality of devices.
The state is arbitrarily set by the user of the control
The state definition is prepared before the preliminary analysis is performed in this system. In the present embodiment, for example, information required when the
The device repeats the same operation for a period under a certain state. The device behaves differently when the state transitions.
However, for example, the device m repeats the same operation α in the state x and repeats the same operation β in the state y, but the device n repeats the same operation λ in the state x and does not perform the same operation in the state y. .
6 and 7 are examples of the state information 107. FIG.
The state information 107 exists for each state, and is a unique state name, a
The device signal type of data collected as the
That is, the example of the
The data handled as the
The data handled as the
Thus, the state information 107 defines the start and end of each state in association with one of the devices.
As will be described later, the waveform creation unit 103-1 analyzes the behavior of the start device and the end device indicated in the state information 107, and collects data collected from the collection target device received from the
データベース108は、収集したデータを保存する。
データベース108は既知の技術であるため説明を省略する。
The
Since the
動作手順情報記憶部1090は、タイミングチャート109と制御用プログラム110を記憶する。
The operation procedure
タイミングチャート109は、クロック同期を行う回路の全てのデバイス値の時間変化を、時間軸で同期を取って記述したものである。
これにより、デバイス間の連携関係を得ることが可能となる。
図8にタイミングチャート例を示す。
なお、タイミングチャート109の記述方法は例に示した方法に限定するものではない。
なお、図8において、Xで始まるデバイスの信号は入力デバイスの信号を表し、Yで始まるデバイスの信号は出力デバイスの信号を表す。
A
As a result, it is possible to obtain a cooperative relationship between devices.
FIG. 8 shows an example of a timing chart.
Note that the description method of the
In FIG. 8, a device signal starting with X represents an input device signal, and a device signal starting with Y represents an output device signal.
制御用プログラム110は、制御機器112を制御するためのプログラムである。
例えば、製造業向け制御機器の場合、ラダー言語やSFC(Sequential Function Chart)言語、FBD(Function block diagram)言語などがあるが、これらに限定するものではない。
The
For example, in the case of a control device for the manufacturing industry, there are a ladder language, a SFC (Sequential Function Chart) language, a FBD (Function block diagram) language, and the like, but the invention is not limited thereto.
[A.1.2 制御機器サイドのシステム構成:図2及び図3、図9]
図3は本実施の形態に係る制御機器112の構成例を示す。
制御機器112は、様々な機器(図示しない)の動作を制御するための機器である。
例えば、FA(Factory Automation)分野の場合、制御機器112にはPLCなどがある。
制御機器112は、以下の機能、情報及び仕組みを持つ。
[A. 1.2 System configuration on the control device side: FIGS. 2, 3, and 9]
FIG. 3 shows a configuration example of the
The
For example, in the case of the FA (Factory Automation) field, the
The
サーバ−制御機器間通信部(クライアントサイド)113は、サーバ装置111と制御機器112の間で通信を行う。
サーバ−制御機器間通信部(クライアントサイド)113は、サーバ装置111にデータを送信する機能と、命令や設定、データを受信する機能を持つ。
データの送信は、データを送信し続ける配信形式の他に、取得命令に対し値を返す問い合わせ形式でも行うことが可能である。
サーバ−制御機器間通信部(クライアントサイド)113は、受信部及び送信部に対応する。
A server-control device communication unit (client side) 113 performs communication between the
The server-control device communication unit (client side) 113 has a function of transmitting data to the
In addition to the distribution format that continues to transmit data, the data can be transmitted in an inquiry format that returns a value in response to an acquisition command.
The server-control device communication unit (client side) 113 corresponds to a reception unit and a transmission unit.
データ収集部114は、制御機器112自身の内部データや制御機器112に接続された機器200内のデバイスのデータを収集する。
収集対象は収集デバイス情報116に記載されている。
収集したデータは制御機器112内に保存する。
データ収集部114は、データ収集の際にタイムスタンプを付ける。
The data collection unit 114 collects internal data of the
The collection target is described in the
The collected data is stored in the
The data collection unit 114 attaches a time stamp when collecting data.
データ加工部115は、収集したデータに対し、データ量を低減し、送信周期ごとにデータを区切る加工を施す。
データ量を低減する加工方式には、例えば、(1)連続データを符号で置換して記述する圧縮方式、(2)登録した波形情報105との差分のみ送信する差分方式、(3)指定された基準値と異なるデータのみ送信する比較方式などがあるがそれらに限定するものではない。
また、データ量を低減する加工は行わないことも可能である。
収集データを区切るための送信周期は、収集デバイス情報116を参照し取得する。
加工データはサーバ−制御機器間通信部(クライアントサイド)113に渡され、サーバ装置111に送信される。
The
Examples of the processing method for reducing the data amount include (1) a compression method in which continuous data is replaced by a code, (2) a differential method for transmitting only the difference from the registered
Further, it is possible not to perform processing for reducing the data amount.
The transmission cycle for separating the collected data is acquired by referring to the collected
The processed data is transferred to the server-control device communication unit (client side) 113 and transmitted to the
収集デバイス情報記憶部1160は、収集デバイス情報116を記憶する。
収集デバイス情報116は、収集対象デバイスの情報を記したデータである。
図9は収集デバイス情報116の例である。
収集デバイス情報には、当該制御機器112で収集するデバイスと、デバイスごとの送信間隔、収集間隔、ステートごとの加工方式、使用波形が記されている。
本実施の形態では、ステートが移行すると、サーバ装置111の全体管理部104が新たなステートを通知する移行ステート通知情報を送信する。
制御機器112では、サーバ装置111から移行ステート通知情報を受信する度に、移行ステート通知情報で通知されているステートに対応する加工方式を収集デバイス情報116から抽出し、ステートに応じた加工方式で収集データを加工することができる。
The collection device
The
FIG. 9 is an example of the
In the collection device information, a device collected by the
In the present embodiment, when the state transitions, the
Each time the
波形情報記憶部1050−Bは、波形情報105−Bを記憶する。
波形情報105−Bは、前述の波形情報105と同一のものである。
ただし、サーバ装置111がもつ波形情報105−Aとは異なり、当該制御機器112で収集するデバイスデータ分のみである。
The waveform information storage unit 1050-B stores the waveform information 105-B.
The waveform information 105-B is the same as the
However, unlike the waveform information 105-A included in the
[A.2.システムの動作]
次に、制御機器用通信システム100の動作を説明する。
制御機器用通信システム100の動作は、事前解析と収集実行時(運転中)に分けられる。
事前解析は、試運転を行い収集したデータを解析するフェーズである。
運転中は、解析データを使用し、データの収集を実行するフェーズである。
[A. 2. System operation]
Next, the operation of the control
The operation of the control
The pre-analysis is a phase in which data collected through a trial run is analyzed.
During operation, analysis data is used and data is collected.
[A.2.1 事前解析時の動作概略:図10及び図11]
事前解析時の動作の概略を、図10及び図11を用いて説明する。
事前解析時の処理は、大きく分けて、解析参照用データ(波形情報105、デバイス情報106、ステート情報107)の作成(S801〜S802)、実データ収集(S803〜S808)、実データ解析(S809〜S813)の処理からなる。
[A. 2.1 Outline of operation during preliminary analysis: FIGS. 10 and 11]
An outline of the operation during the pre-analysis will be described with reference to FIGS.
The processing at the time of prior analysis is roughly divided into creation of analysis reference data (
サーバ装置111上にて、制御機器用通信システム100の事前解析を開始すると、波形作成部103−1はタイミングチャート109及び制御用プログラム110を解析してステート情報107を作成する(S801)。
また、波形作成部103−1は、タイミングチャート109や制御用プログラム110を解析して波形情報105−A及びデバイス情報106を作成し、関連するステート情報107に登録する(S802)。
つまり、波形作成部103−1は、タイミングチャート109や制御用プログラム110を解析して、収集対象デバイスごとに、各ステートにおける収集対象デバイスの収集データのデータ波形を予測し、予測したデータ波形が示される波形情報105−Aを生成する。
また、波形作成部103−1は、収集対象デバイスごとにデバイス情報を生成するが、この時点では、図3の項目のうち、送信間隔、収集間隔、関連ステート、使用波形の項目のみが指定され、加工方式、圧縮低減率(%)、差分低減率(%)、比較低減率(%)、平均通信量(bit)の各項目は空欄である。
また、波形作成部103−1は、デバイス指定部120から収集対象デバイスの識別子を取得し、ステートごとに、ステート情報107に収集対象デバイスを登録する。
なお、解析参照用データの作成処理の詳細は後述する。
When pre-analysis of the control
Further, the waveform creation unit 103-1 analyzes the
That is, the waveform creation unit 103-1 analyzes the
Further, the waveform creation unit 103-1 generates device information for each collection target device, but at this time, only the items of the transmission interval, the collection interval, the related state, and the used waveform are specified among the items in FIG. 3. , Processing method, compression reduction rate (%), differential reduction rate (%), comparative reduction rate (%), and average traffic (bit) are blank.
In addition, the waveform creation unit 103-1 acquires the identifier of the collection target device from the
Details of the process for creating analysis reference data will be described later.
次に、制御機器用通信システム100を実行し試運転を開始する。
ここで、波形作成部103−1が、収集対象デバイス、送信間隔、収集間隔をサーバ−制御機器間通信部(サーバサイド)101を介して制御機器112に通知した後、収集対象デバイスからの収集データをデータ量低減加工を行わずに送信するよう指示する実行開始命令をサーバ−制御機器間通信部(サーバサイド)101を介して制御機器112に送信する(S803)。
なお、ステート情報107に記述されている開始デバイス及び終了デバイスが収集対象デバイスとして指定されていない場合は、波形作成部103−1は、開始デバイス及び終了デバイスと、開始デバイス及び終了デバイスの送信間隔と収集間隔を制御機器112に通知し、開始デバイスと終了デバイスからの収集データをデータ量低減加工を行わずに送信するよう指示する。
Next, the control
Here, after the waveform creation unit 103-1 notifies the
When the start device and end device described in the state information 107 are not designated as collection target devices, the waveform creation unit 103-1 transmits the start device and end device, and the transmission interval between the start device and end device. The collection interval is notified to the
制御機器112上にて、サーバ−制御機器間通信部(クライアントサイド)113が実行開始命令を受信する(S804)。
次に、制御機器112では、収集対象デバイスと送信間隔と収集間隔を収集デバイス情報116に登録する(S805)。
また、サーバ装置111から、開始デバイスと終了デバイスが通知されている場合は、開始デバイス、終了デバイス、送信間隔、収集間隔を収集デバイス情報116に登録する。
なお、以下では、説明の簡明のため、開始デバイスと終了デバイスがすべて収集対象デバイスに含まれており、制御機器112では、収集対象デバイスからのデータのみを収集する例を説明する。
On the
Next, the
When the start device and the end device are notified from the
In the following, for simplicity of explanation, an example in which all the start devices and end devices are included in the collection target device and the
次に、データ収集部114は収集デバイス情報116を参照し、収集対象デバイスからのデータを収集する(S806)。
また、データ加工部115は、事前解析時にはデータ量低減加工は行わない。
データ加工部115は、送信間隔に基づいて収集データを区切り、収集データをサーバ−制御機器間通信部(クライアントサイド)113に渡す(S807)。
サーバ−制御機器間通信部(クライアントサイド)113は、収集デバイス情報116に登録された送信間隔に基づき、サーバ装置111に収集データを送信する(S808)。
Next, the data collection unit 114 refers to the
Further, the
The
The server-control device communication unit (client side) 113 transmits the collected data to the
サーバ装置111では、サーバ−制御機器間通信部(サーバサイド)101が試運転終了まで収集データを受信し続ける(S809)。
次に、受信した収集データを元に、波形作成部103−1が波形情報105−Aを修正する(S810)。
つまり、波形作成部103−1は、開始デバイスからの収集データと終了デバイスからの収集データとに基づき、開始デバイスの挙動と終了デバイスの挙動を解析し、収集対象デバイスからの収集データが、いずれのステートにおいて収集対象デバイスから収集された収集データであるかを判断する。
そして、波形作成部103−1は、ステートごとの収集データに表れているデータパターンを用いてS802で生成した波形情報105−Aを修正する。
なお、波形情報105−Aの修正処理の詳細は後述する。
In the
Next, the waveform creation unit 103-1 corrects the waveform information 105-A based on the received collected data (S810).
That is, the waveform creation unit 103-1 analyzes the behavior of the start device and the behavior of the end device based on the collected data from the start device and the collected data from the end device, and the collected data from the collection target device is It is determined whether the collected data is collected from the collection target device in the state.
Then, the waveform creation unit 103-1 corrects the waveform information 105-A generated in S802 using the data pattern appearing in the collected data for each state.
Details of the correction process of the waveform information 105-A will be described later.
次に、加工方式指定部103−2が、収集した全てのデータに対して、全データ量低減加工方式を実施し、各方式のデータ量低減率を、デバイス情報106に記入する(S811)。
つまり、加工方式指定部103−2は、波形作成部103−1により修正された波形情報105−A、換言すれば、波形作成部103−1により判別されたステートごとの収集データに表れているデータパターンに対して、ステートごとに、全てのデータ量低減加工方式を適用し、各方式のデータ量低減率を算出する。
そして、加工方式指定部103−2は、圧縮方式によるデータ量低減率をデバイス情報106の圧縮低減率(%)の欄に記入し、差分方式によるデータ量低減率を差分低減率(%)の欄に記入し、比較方式によるデータ量低減率を比較低減率(%)の欄に記入する。
次に、加工方式指定部103−2は、ステート単位で、収集データのデータ量を低減させるデータ量低減加工方式を指定する。
例えば、収集データのデータ波形が定型のデータ波形となっているステートが存在する場合は、当該ステートに対して、収集データにおいて当該定型のデータ波形との差異のみを通知するデータ量低減加工方式を指定することが考えられる。
また、加工方式指定部103−2は、いずれかのステートについて、収集データに対するデータ量低減率がいずれの加工方式によっても所定の閾値を上回らない場合は、当該ステートに対しては加工方式を指定しないようにしてもよい。
なお、加工方式の指定処理の詳細は、後述する。
次に、加工方式指定部103−2は、指定した加工方式をデバイス情報106の加工方式の欄に記入する。
次に、加工方式指定部103−2は、サーバ−制御機器間通信部(サーバサイド)101を経由して、収集対象デバイス、ステートごとの加工方式、収集間隔、送信間隔を通知する情報を収集デバイス情報116として制御機器112に送信するとともに、波形情報105−Aを制御機器112に送信する(S812)。
なお、S812で送信される収集デバイス情報116は、収集対象デバイス通知情報及び加工方式通知情報に対応する。
Next, the processing method designating unit 103-2 performs a total data amount reduction processing method on all the collected data, and enters the data amount reduction rate of each method in the device information 106 (S811).
That is, the processing method designation unit 103-2 appears in the waveform information 105-A modified by the waveform creation unit 103-1, in other words, the collected data for each state determined by the waveform creation unit 103-1. All data amount reduction processing methods are applied to the data pattern for each state, and the data amount reduction rate of each method is calculated.
Then, the processing method designation unit 103-2 enters the data amount reduction rate by the compression method in the column of the compression reduction rate (%) of the device information 106, and sets the data amount reduction rate by the difference method to the difference reduction rate (%). Fill in the column and enter the data reduction rate by the comparison method in the column for comparative reduction rate (%).
Next, the processing method designation unit 103-2 designates a data amount reduction processing method for reducing the data amount of collected data in units of states.
For example, if there is a state where the data waveform of the collected data is a standard data waveform, a data amount reduction processing method that notifies only the difference in the collected data from the standard data waveform to the state. It is possible to specify.
In addition, the processing method specifying unit 103-2 specifies a processing method for the state when the data amount reduction rate for the collected data does not exceed a predetermined threshold value by any of the processing methods. You may make it not.
Details of the processing method designation processing will be described later.
Next, the processing method specifying unit 103-2 enters the specified processing method in the column of the processing method of the device information 106.
Next, the processing method designation unit 103-2 collects information for notifying the collection target device, the processing method for each state, the collection interval, and the transmission interval via the server-control device communication unit (server side) 101. The
The
制御機器112は、サーバ装置111から送信された波形情報105−Aを波形情報105−Bとして登録する。
さらに、制御機器112は、サーバ装置111から送信された収集デバイス情報116を収集デバイス情報記憶部1160に格納し(S813)、終了する。
The
Further, the
なお、ここでは、1つの制御機器112についての動作例を説明したが、制御機器112が複数存在する場合は、サーバ装置111においてS801〜S803及びS809〜S812の処理を各制御機器112に対して行い、各制御機器112においてS804〜S808の処理を行う。
In addition, although the operation example about the one
[A.2.1.1 解析参照用データの作成:図14 〜 図17]
事前解析時処理のうち、解析参照用データを作成する際の動作(S801〜S802)の例として、デバイス信号の波形を作成する動作を、図14、図15及び図16及び図17を用いて説明する。
[A. 2.1.1 Creation of analysis reference data: FIGS. 14 to 17]
As an example of the operation (S801 to S802) when generating analysis reference data in the pre-analysis processing, an operation for generating a waveform of a device signal will be described with reference to FIGS. 14, 15, 16, and 17. explain.
ユーザが登録したデバイス信号の波形を作成する動作の流れを、図15及び図16を用いて説明する。
ユーザはデバイス指定部120を介して収集対象デバイスを制御機器用通信システム100に登録する。
なお、図15〜図17では、収集対象デバイスをユーザ登録デバイスとも表記する。
制御機器用通信システム100は、ユーザ登録デバイスのデバイス情報の雛形を作成する(S1101)。
次に、波形作成部103−1はユーザ登録デバイスと関連するタイミングチャート109を全て選出し、それぞれのタイミングチャート109からステート情報107の雛形を作成する(S1102)。
また、波形作成部103−1は、ユーザ登録デバイスが入力デバイスか、出力デバイスかを、タイミングチャート109や制御用プログラム110から確認する(D1101)。
An operation flow for creating a waveform of a device signal registered by a user will be described with reference to FIGS. 15 and 16.
The user registers the collection target device in the control
15 to 17, the collection target device is also expressed as a user registration device.
The control
Next, the waveform creation unit 103-1 selects all the timing charts 109 related to the user registration device, and creates a template of the state information 107 from each timing chart 109 (S 1102).
Further, the waveform creation unit 103-1 checks whether the user registration device is an input device or an output device from the
図14は制御プログラムの一つであるSFC言語を図示した例(SFC図)である。
SFC図には、処理を開始するための入力となるデバイス1001(開始デバイス401)や、処理が終了した際の出力となるデバイス1002(終了デバイス402)、処理1003が記載されている。
このような制御用プログラム110を解析し、検索対象となっているデバイスの種類や、検索対象となっているデバイスがステートの変化に関係する開始デバイス401や終了デバイス402であるかを判定する。
FIG. 14 is an example (SFC diagram) illustrating the SFC language which is one of the control programs.
In the SFC diagram, a device 1001 (start device 401) that is an input for starting processing, a device 1002 (end device 402) that is an output when processing is ended, and a
Such a
図17はデバイスが入力デバイスである場合の波形決定の例である。
ユーザ登録デバイス(X20)1201が波形を決定したい入力デバイスである。
デバイスA(Y10)1202は出力デバイスであり、図14でS2処理が終了した際に出力されるデバイス1002である。
デバイスB(X10)1203はS2処理の開始を示す入力デバイス1001である。
FIG. 17 shows an example of waveform determination when the device is an input device.
A user registration device (X20) 1201 is an input device for which a waveform is to be determined.
A device A (Y10) 1202 is an output device, and is a
Device B (X10) 1203 is an
ユーザ登録デバイスが入力デバイスである場合(D1101)、選出したタイミングチャート109にて、ユーザ登録デバイスの変化を開始するための入力となるデバイスを、全タイミングチャート109及び制御用プログラム110から検索する(S1103)。
検索結果として得られたデバイスであるデバイスA(Y10)1002(デバイスA(Y10)1202)を出力するデバイスを、タイミングチャート109及び制御用プログラム110から検索する(S1104)。
デバイス信号A(Y10)1002(デバイスA(Y10)1202)を出力するデバイスであるデバイスB(X10)1003(デバイスB(X10)1203)と、デバイスA(Y10)1002(デバイスA(Y10)1202)とユーザ登録デバイス(X20)を時系列に沿って並べる(S1105及び図17)。
デバイスA(Y10)1002の出力があった時刻から、デバイスB(X10)1003の変化が開始する時刻までを仮の波形情報105−Aとする(S1106及び図17)。
When the user registration device is an input device (D1101), in the selected
A device that outputs the device A (Y10) 1002 (device A (Y10) 1202), which is the device obtained as a search result, is searched from the
A device B (X10) 1003 (device B (X10) 1203) and a device A (Y10) 1002 (device A (Y10) 1202) that output device signals A (Y10) 1002 (device A (Y10) 1202). ) And the user registration device (X20) are arranged in time series (S1105 and FIG. 17).
Temporary waveform information 105-A is defined from the time when device A (Y10) 1002 is output to the time when device B (X10) 1003 starts to change (S1106 and FIG. 17).
波形情報105−Aの傾向データは、試運転時に実データを収集した際に、実データを使用して再度波形データ作成処理(S1105 〜S1106)を行って波形を修正し、修正後の傾向データを本番で使用する波形情報105−Aとする。 The trend data of the waveform information 105-A is obtained by correcting the waveform by performing the waveform data creation process (S1105 to S1106) again using the actual data when the actual data is collected during the test run, and the corrected trend data is obtained. It is assumed that the waveform information 105-A is used in actual production.
次に、波形作成部103−1は、生成した仮の波形情報105−Aを、ユーザ登録デバイスのデバイス情報106に登録する(S1107)。
また、波形作成部103−1は、全てのタイミングチャート109の波形情報105−Aを作成するまで一連の処理(S1103〜S1107)を続ける(D1102)。
Next, the waveform creation unit 103-1 registers the generated temporary waveform information 105-A in the device information 106 of the user registration device (S1107).
In addition, the waveform creation unit 103-1 continues a series of processes (S1103 to S1107) until the waveform information 105-A of all timing
また、D1101の判断において、ユーザ登録デバイスが出力デバイスである場合は、ユーザ登録デバイスがステート終了のための出力となっているかを、全タイミングチャート109及び制御用プログラム110から確認する(D1103)。
ステート終了のための出力となっている場合(D1103でYES)のみ、波形作成部103−1は、ユーザ登録デバイスが出力となっている全てのステート情報107の終了デバイス402として登録する(S1108)。
If it is determined in D1101 that the user registration device is an output device, it is confirmed from all timing
Only when the output is for the end of the state (YES in D1103), the waveform creation unit 103-1 registers as the
また、波形作成部103−1は、ユーザ登録デバイスの種類に関わらず、ユーザ登録デバイスがステート開始のための入力となっているかを、全タイミングチャート109及び制御用プログラム110から検索する(D1104)。
ステート開始のための入力となっている場合のみ、波形作成部103−1は、ユーザ登録デバイスを入力となっている全てのステート情報107の開始デバイス401として登録する(S1109)。
また、波形作成部103−1は、上記のステート情報107以外の関連する全ステート情報107に対し、ユーザ登録デバイスを収集対象デバイス403として登録し(S1110)、終了する。
In addition, the waveform creation unit 103-1 searches the
Only when the input is for starting a state, the waveform creation unit 103-1 registers the user registration device as the
In addition, the waveform creation unit 103-1 registers the user registration device as the
[A.2.2 収集実行時及び停止時の動作概略:図12及び図13]
収集実行時及び停止時の動作の概略を、図12及び図13を用いて説明する。
収集実行時の処理は、制御機器112側での収集データ加工処理(S904〜S906)と、サーバ装置111側でのデータ復元・解析処理(S907〜S911)からなる。
二つの処理は独立しており、開始後は並行して行われる。
停止時の処理(S912〜S913)は、ユーザが制御機器用通信システム100を停止した際に割り込み処理として発生する。
[A. 2.2 Outline of operations when collecting and stopping: FIGS. 12 and 13]
The outline of the operation at the time of executing and stopping the collection will be described with reference to FIGS.
The processing at the time of execution of execution consists of collected data processing (S904 to S906) on the
The two processes are independent and are performed in parallel after the start.
The stop process (S912 to S913) occurs as an interrupt process when the user stops the control
制御機器用通信システム100を実行し、データ収集を開始する。
サーバ−制御機器間通信部(サーバサイド)101は、制御機器112に実行開始命令を送信する(S901)。
制御機器112では、サーバ−制御機器間通信部(クライアントサイド)113が実行開始命令を受信する(S902)。
また、サーバ装置111では、全体管理部104がステートの移行を監視し、新たなステートが到来する度に、移行ステート通知情報を送信し、制御機器112が移行ステート通知情報を受信する。
制御機器112では、収集デバイス情報116を参照し、データ収集部114は収集対象デバイスを、データ加工部115はデバイスごとの送信間隔とステートごとの加工方式(移行ステート通知情報で通知されたステートに対応する加工方式)を取得する(S903)。
データ収集部114は収集対象デバイスからのデータを収集する(S904)。
データ加工部115は収集したデータを加工する。加工データはサーバ−制御機器間通信部(クライアントサイド)113に渡す(S905)。
なお、本例ではデータ量低減加工はデータを収集した都度逐次実施し、送信間隔分のデータ加工処理を終えた時点で加工データの完成としているが、予め送信間隔分のデータが蓄積されてから蓄積データに対し加工を行っても構わない。
加工の詳細は後述する。
次に、サーバ−制御機器間通信部(クライアントサイド)113が、加工データをサーバ装置111に送信する(S906)。
なお、制御機器112では、サーバ−制御機器間通信部(クライアントサイド)113がサーバ装置111から停止命令を受信するまで一連の(S904〜S906)の処理を繰り返す(D902)。
The control
The server-control device communication unit (server side) 101 transmits an execution start command to the control device 112 (S901).
In the
In the
The
The data collection unit 114 collects data from the collection target device (S904).
The
In this example, the data amount reduction processing is sequentially performed every time data is collected, and the processing data is completed when the data processing processing for the transmission interval is completed. However, after the data for the transmission interval is accumulated in advance. The accumulated data may be processed.
Details of the processing will be described later.
Next, the server-control device communication unit (client side) 113 transmits the processed data to the server device 111 (S906).
The
サーバ装置111では、サーバ−制御機器間通信部(サーバサイド)101は制御機器112からのデータを待ち、受信し続ける(S907)。
データ復元部102は収集データを復元する(S908)。
つまり、データ復元部102は、収集データが加工されている場合は、該当する加工方式に対応する復元方式を適用して加工前のデータを復元する。
そして、データ復元部102は、復元した収集データをデータベース108に更新する(S909)。
また、データ解析部103の加工方式指定部103−2は復元したデータを解析し、加工方式の変更判定を行う(S910)。
特定デバイス監視部104−1及び、複数デバイス監視部104−2は、復元した収集データの内容を監視し、指定したデバイスの更新状況を監視する(S911)。
監視の詳細は後述する。
サーバ装置111では、ユーザが制御機器用通信システム100を停止するまで一連の(S907〜S911)の処理を繰り返す(D901)。
In the
The
That is, when the collected data is processed, the
Then, the
In addition, the processing method designating unit 103-2 of the
The specific device monitoring unit 104-1 and the multiple device monitoring unit 104-2 monitor the content of the restored collected data and monitor the update status of the designated device (S911).
Details of the monitoring will be described later.
The
ユーザが制御機器用通信システム100を停止した場合(D901でYES)、サーバ−制御機器間通信部(サーバサイド)101は停止命令を制御機器112に送信する(S912)。
そして、サーバ装置111内の制御機器用通信システム100に関する処理を全て停止する(S913)。
また、サーバ−制御機器間通信部(クライアントサイド)113が停止命令を受信した場合(D902でYES)、制御機器112内の処理を停止する(S914)。
サーバ−制御機器間通信部(クライアントサイド)113は送信を停止する。
また、データ収集部114はデバイスからのデータ収集を停止する。
また、データ加工部115は加工を停止する。
サーバ装置111内の処理及び制御機器112内の処理の停止が完了したら、終了する。
When the user stops the control device communication system 100 (YES in D901), the server-control device communication unit (server side) 101 transmits a stop command to the control device 112 (S912).
Then, all the processes related to the control
When the server-control device communication unit (client side) 113 receives the stop command (YES in D902), the processing in the
The server-control device communication unit (client side) 113 stops transmission.
Further, the data collection unit 114 stops collecting data from the device.
Further, the
When the process in the
[A.2.2.1 収集データ加工の動作:図18]
収集実行時処理のうち、制御機器112側での収集データ加工の際の動作(S904〜S906)を、図18を用いて説明する。
収集データ加工処理は、データ収集部114による収集処理、データ加工部115によるデータ加工処理、サーバ−制御機器間通信部(クライアントサイド)113による送信処理からなる。
三つの処理は独立しており、開始後は並行して行われる。
[A. 2.2.1 Collected Data Processing Operation: Fig. 18]
Of the collection execution processing, operations (S904 to S906) at the time of collecting data processing on the
The collected data processing process includes a collecting process by the data collecting unit 114, a data processing process by the
The three processes are independent and are performed in parallel after the start.
データ収集部114は、実行開始命令を受信後、収集デバイス情報116に登録されている収集対象デバイスのデータを収集する(S1301)。
収集データは、収集間隔に従い収集する。
そして、データ収集部114は、収集したデータにタイムスタンプを付け、制御機器112内に保存する(S1302)。
データ収集部114は、以上の動作(S1301〜S1302)を、停止命令を受信するまで繰り返す。
After receiving the execution start command, the data collection unit 114 collects data of the collection target device registered in the collection device information 116 (S1301).
Collected data is collected according to the collection interval.
Then, the data collection unit 114 attaches a time stamp to the collected data and stores it in the control device 112 (S1302).
The data collection unit 114 repeats the above operations (S1301 to S1302) until a stop command is received.
データ加工部115は、データ収集部114が保存した収集データを取得する(S1303)。
次に、データ加工部115は、収集データを収集デバイス情報116記載のデータ量低減加工方式に従い加工する(S1304)。
データ加工部115が選択するデータ量低減加工方式は、サーバ装置111からの移行ステート通知情報で通知されたステートに対応する加工方式である。
そして、データ加工部115は、加工データが収集デバイス情報116記載の送信周期分蓄積されるまで一連の(S1303〜S1304)の処理を繰り返す(D1301)。
送信周期分蓄積された場合(D1301でYES)、データ加工部115は、加工データをサーバ−制御機器間通信部(クライアントサイド)113に渡す(S1305)。
データ加工部115は、以上の動作(S1303〜S1305)を、停止命令を受信するまで繰り返す。
The
Next, the
The data amount reduction processing method selected by the
The
If the transmission period is accumulated (YES in D1301), the
The
サーバ−制御機器間通信部(クライアントサイド)113は、受け取った加工データを、サーバ装置111に送信する(S1306)。
サーバ−制御機器間通信部(クライアントサイド)113、以上の動作(S1306)を、停止命令を受信するまで繰り返す。
The server-control device communication unit (client side) 113 transmits the received processed data to the server device 111 (S1306).
The server-control device communication unit (client side) 113 repeats the above operation (S1306) until a stop command is received.
[A.2.2.2 収集データ復元・解析の動作]
収集実行時処理のうち、データ復元部102によるデータ復元処理は、制御機器112にて行った加工方式のアルゴリズムに従った、復元アルゴリズムで復元する。
後述するように、全体管理部104がステートの移行タイミングを判定するので、データ復元部102は、サーバ−制御機器間通信部(サーバサイド)101から入力した収集データがどのステートの収集データであるかを全体管理部104から通知される。
そして、データ復元部102は、全体管理部104から通知されたステートにおける各収集対象デバイスの加工方式を各収集対象デバイスのデバイス情報106から取得し、各収集対象デバイスからの収集データを、それぞれの加工方式に対応する復元方式にて復元する。
[A. 2.2.2 Operation of collected data restoration / analysis]
Among the collection execution processing, the data restoration processing by the
As will be described later, since the
Then, the
収集実行時処理のうち、サーバ装置111側でのデータ解析処理は、復元データの監視と収集データ加工方式の切り替えに分けられる。
Of the collection execution processing, the data analysis processing on the
[A.2.2.2.1 復元データの監視の動作]
まず、復元データの監視の動作を説明する。
特定デバイス監視部104−1は、データ復元部102により復元された収集データにおいて、収集対象デバイスのうちユーザがデバイス指定部120を用いて指定したデバイス(以下、監視対象デバイスという)や、ステート情報107内で開始・終了デバイスとして指定されたデバイスのデバイス値の変化を監視する。
監視対象デバイスの挙動に変化があった場合は、特定デバイス監視部104−1は、ユーザが指定した方式で監視対象デバイスの挙動の変化を通知する(例えば、サーバ装置111上の機器管理アプリケーション(図示しない)にエラーを送信する、など)。
開始・終了デバイス値に指定の変化があった場合(例えば、終了デバイスがONになった瞬間など)は、特定デバイス監視部104−1は、ステートが遷移したとみなし、どのステートに移行したかの分析に入る。
[A. 2.2.2.1 Operation of monitoring restored data]
First, the operation of monitoring restored data will be described.
The specific device monitoring unit 104-1 includes, in the collected data restored by the
When there is a change in the behavior of the monitoring target device, the specific device monitoring unit 104-1 notifies the change in the behavior of the monitoring target device by a method specified by the user (for example, the device management application ( Send an error to (not shown)).
If there is a specified change in the start / end device value (for example, the moment when the end device is turned ON), the specific device monitoring unit 104-1 regards the state as transitioned, and to which state it has transitioned Enter the analysis.
複数デバイス監視部104−2は、データ復元部102により復元された収集データにおいて、ユーザの指定する複数の監視対象デバイスのデバイス値の組み合わせや、ステート情報107内で開始デバイスとして指定された、複数のデバイス値の変化を監視する。
複数デバイス監視部104−2は、複数の監視対象デバイスのデバイス値に対し時刻で同期をとり、更新状態の監視を行う。
ユーザの指定する複数の監視対象デバイスの挙動に変化があった場合は、ユーザが指定した方式で監視対象デバイスの挙動の変化を通知する。
また、開始デバイスの値に指定の変化があった場合(例えば、デバイスAがONになり、デバイスBがOFFになった瞬間など)は、ステートが遷移したとみなし、どのステートに移行したかの分析に入る。
In the collected data restored by the
The multiple device monitoring unit 104-2 synchronizes the device values of the multiple monitoring target devices with time, and monitors the update state.
When there is a change in the behavior of a plurality of monitoring target devices designated by the user, a change in the behavior of the monitoring target device is notified by a method designated by the user.
In addition, when there is a specified change in the value of the start device (for example, the moment when device A is turned on and device B is turned off), it is considered that the state has changed, and which state has been changed to Start analysis.
ステート情報107で終了デバイス402として登録されているデバイス値の変化が確認でき、全体管理部104がステートの遷移が起こったと判断した場合、ステート情報107の開始デバイス401として指定されているデバイスの現在の状態(値)から現在のステート(新たなステート)を割り出す。
その後、全体管理部104は、制御機器112に対し、現在のステート(新たなステート)を通知する移行ステート通知情報を送信する。
なお、ステート移行の分析処理は、既存技術により実現されるので、詳細な説明は省略する。
When the change of the device value registered as the
Thereafter, the
Note that the state transition analysis process is implemented by existing technology, and thus detailed description thereof is omitted.
[A.2.2.2.2 収集データ加工方式切り替えの動作:図19]
次に、ステート未変化時の加工方式切り替え(S910)動作の例として、加工方式指定部103−2が切り替えを機械的に行う場合の動作を、図19を用いて説明する。
[A. 2.2.2.2 Operation of switching collected data processing method: Fig. 19]
Next, as an example of the processing method switching (S910) operation when the state has not changed, an operation when the processing method specifying unit 103-2 mechanically performs switching will be described with reference to FIG.
加工方式指定部103−2は、収集したデータのデータ量低減率を監視する(S1401)。
具体的には、加工方式指定部103−2は、データ復元部102による復元前の収集データ(現在の方式(優先度一番目)で加工されている収集データ)と復元後の収集データを入力し、復元後の収集データに対して二番目に低減率の高い加工方式(優先度二番目)を適用して収集データを加工し、復元前の収集データ(現在の方式(優先度一番目)で加工されている収集データ)におけるデータ低減率と、二番目に低減率の高い加工方式(優先度二番目)による収集データにおけるデータ低減率を算出する。
そして、加工方式指定部103−2は、現在の方式(優先度一番目)を使用した収集データのデータ低減率が、二番目に低減率の高い方式(優先度二番目)のデータ低減率より低いかを確認する(D1401)。
現在の方式(優先度一番目)のデータ低減効率が二番目に低減率の高い方式(優先度二番目)のデータ低減率と同じか高い場合(D1401でNO)は、加工方式の変更は行わず終了する。
一方、現在の方式(優先度一番目)のデータ低減効率の方が低い場合(D1401でYES)、制御機器112の収集デバイス情報116を二番目に低減率の高い方式(優先度二番目)に切替える。
つまり、加工方式指定部103−2は、現在のステートの収集データに対する加工方式を優先度二番目の加工方式に切り替えるよう指示する加工方式切替指示情報を生成し、サーバ−制御機器間通信部(サーバサイド)101から制御機器112に送信し、制御機器112において優先度二番目の加工方式にて収集データを加工させる。
The processing method designation unit 103-2 monitors the data amount reduction rate of the collected data (S1401).
Specifically, the processing method designation unit 103-2 inputs the collected data before the restoration by the data restoration unit 102 (collected data processed by the current method (first priority)) and the collected data after the restoration. Apply the processing method with the second highest reduction rate to the collected data after restoration (second priority) to process the collected data, and collect the data before restoration (current method (first priority)). The data reduction rate in the collected data processed in the second step) and the data reduction rate in the collected data by the processing method having the second highest reduction rate (second priority).
Then, the processing method designation unit 103-2 has a data reduction rate of the collected data using the current method (first priority) higher than the data reduction rate of the method with the second highest reduction rate (second priority). It is confirmed whether it is low (D1401).
If the data reduction efficiency of the current method (first priority) is the same or higher than the data reduction rate of the method with the second highest reduction rate (second priority) (NO in D1401), the processing method is changed. Quit.
On the other hand, if the data reduction efficiency of the current method (first priority) is lower (YES in D1401), the
That is, the processing method designating unit 103-2 generates processing method switching instruction information for instructing to switch the processing method for the collected data of the current state to the processing method with the second priority, and the server-control device communication unit ( Server side) 101 to the
そして、加工方式指定部103−2は、しばらくデータを収集し、加工方式の切り替え後の収集データ(優先度二番目の方式で加工されている収集データ)のデータ低減率が、三番目に低減率の高い方式(優先度三番目)より低いかを確認する(D1402)。
なお、切り替え後の収集データのデータ低減率と、三番目に低減率の高い方式(優先度三番目)による収集データのデータ低減率の算出手順は、上述の優先度一番目の方式と優先度二番目の方式の場合の手順と同様である。
切り替え後の収集データ(優先度二番目の方式で加工されている収集データ)のデータ低減効率が三番目に低減率の高い方式(優先度三番目)のデータ低減率と同じか高い場合(D1402でNO)は、変更は行わず終了する(優先度二番目の方式のまま)。
一方、切り替え後の収集データ(優先度二番目の方式で加工されている収集データ)のデータ低減効率が低い場合(D1402でYES)は、加工方式指定部103−2は、収集したデータに対し、データ低減率が一番高い方式(優先度一番目の方式)で試算を行い、低減率を保持する(S1403)。
And the processing method designation | designated part 103-2 collects data for a while, and the data reduction rate of the collection data (collected data processed by the 2nd priority method) after switching a processing method reduces to the 3rd. It is confirmed whether the rate is lower than the high rate method (priority third) (D1402).
The procedure for calculating the data reduction rate of the collected data after switching and the data reduction rate of the collected data using the method with the third highest reduction rate (priority third) The procedure is the same as in the second method.
When the data reduction efficiency of the collected data after switching (collected data processed by the second priority method) is the same as or higher than the data reduction rate of the third highest reduction ratio (priority third) (D1402) NO) is ended without changing (the second priority method remains).
On the other hand, when the data reduction efficiency of the collected data after switching (collected data processed by the second priority method) is low (YES in D1402), the processing method designating unit 103-2 performs the processing on the collected data. Then, trial calculation is performed with the method with the highest data reduction rate (first priority method), and the reduction rate is held (S1403).
そして、試算した低減率(優先度一番目の方式)のデータ低減率が現在の低減率(優先度二番目の方式)と同じか高い場合(D1403でNO)に、加工方式指定部103−2は、制御機器112の収集デバイス情報116を一番目に低減率の高い方式(優先度一番目の方式)に切替える(S1405)。
つまり、加工方式指定部103−2は、現在のステートの収集データに対する加工方式を優先度一番目の加工方式に切り替えるよう指示する加工方式切替指示情報を生成し、サーバ−制御機器間通信部(サーバサイド)101から制御機器112に送信し、制御機器112において優先度一番目の加工方式にて収集データを加工させる。
一方、試算した低減率(優先度一番目の方式)のデータ低減率が現在の低減率(優先度二番目の方式)よりも低い場合(D1403でYES)は、加工方式指定部103−2は、制御機器112の収集デバイス情報116を三番目に低減率の高い方式(優先度三番目)に切替える(S1404)。
つまり、加工方式指定部103−2は、現在のステートの収集データに対する加工方式を優先度三番目の加工方式に切り替えるよう指示する加工方式切替指示情報を生成し、サーバ−制御機器間通信部(サーバサイド)101から制御機器112に送信し、制御機器112において優先度三番目の加工方式にて収集データを加工させる。
加工方式指定部103−2は、データの低減効率が向上するまで以上の動作を繰り返し、優先度が最下位のデータ加工方式まで方式を切り替える。
また、加工方式指定部103−2は、切り替え後のデータ低減率が最後の加工方式より低い場合(D1404でYES)は、制御機器112の収集デバイス情報116を加工なしに切り替え(S1406)、処理を終了する。
つまり、加工方式指定部103−2は、無加工に切り替えるよう指示する加工方式切替指示情報を生成し、サーバ−制御機器間通信部(サーバサイド)101から制御機器112に送信し、制御機器112から無加工の収集データを送信させる。
When the data reduction rate of the estimated reduction rate (first priority method) is the same as or higher than the current reduction rate (second priority method) (NO in D1403), the processing method designation unit 103-2 Switches the collected
That is, the processing method designating unit 103-2 generates processing method switching instruction information for instructing to switch the processing method for the collected data of the current state to the processing method having the first priority, and the server-control device communication unit ( The server side) 101 transmits the data to the
On the other hand, when the data reduction rate of the estimated reduction rate (first priority method) is lower than the current reduction rate (second priority method) (YES in D1403), the processing method designation unit 103-2 Then, the
In other words, the processing method designating unit 103-2 generates processing method switching instruction information for instructing to switch the processing method for the collected data of the current state to the processing method with the third priority, and the server-control device communication unit ( The server side) 101 transmits the data to the
The processing method designating unit 103-2 repeats the above operation until the data reduction efficiency is improved, and switches the method to the data processing method with the lowest priority.
Further, when the data reduction rate after switching is lower than the last processing method (YES in D1404), the processing method specifying unit 103-2 switches the
That is, the processing method designation unit 103-2 generates processing method switching instruction information for instructing switching to non-processing, and transmits the processing method switching instruction information from the server-control device communication unit (server side) 101 to the
制御機器112では、あるステートの継続中、すなわち、当該ステートの収集データの収集中にサーバ装置111から加工方式切替指示情報を受信した場合(S1402、S1404、S1405、S1406)は、加工方式切替指示情報の受信以降に加工する収集データのデータ量低減加工方式を新たな指定データ量低減加工方式に切り替え、新たな指定データ量低減加工方式で加工した収集データをサーバ装置111に送信する。
When the
なお、上記の加工方式切り替えは一例である。
その他にも、データ量低減率が悪化した際に、収集データに対して全ての加工方式を適用した試算を行い(S1403の処理を全方式分行い)、結果から最適な方式を選択しても構わない。
また、加工方式の優先順位や切り替え方式は、ユーザが指定しても構わない。
また、以上の説明では、事前解析段階において、サーバ装置111から制御機器112に、図9に例示した収集デバイス情報116を送信し、データ収集時には、サーバ装置11から制御装置112に現在のステートを通知し、制御機器112ではサーバ装置111から通知されたステートに対応する加工方式を収集デバイス情報116から特定し、特定した加工方式にて収集データを加工する方法を説明した。
これに対して、事前解析段階では図9の収集デバイス情報116を送信せずに、データ収集時に、ステート移行の度に、サーバ装置11が現在のステートにおける加工方式をデバイスごとに制御装置112に通知し、制御機器112ではサーバ装置111から通知された加工方式にて収集データを加工するようにしてもよい。
The above processing method switching is an example.
In addition, when the data volume reduction rate deteriorates, trial calculation using all processing methods is performed on the collected data (the processing of S1403 is performed for all methods), and the optimum method can be selected from the results. I do not care.
Further, the priority of the processing method and the switching method may be specified by the user.
In the above description, the
On the other hand, at the pre-analysis stage, without collecting the collected
[A.3 効果]
以上のように、入出力デバイスの関連から静的データ(タイミングチャート109等)と実データを関連付けて解析することで機械的に定型処理の区切りを判断し、動作後も全体を監視して状態を判断するため、常に最適な加工方式を指定することが可能となり、送信データ量を低減出来るという効果が得られる。
[A. 3 Effect]
As described above, static data (
以上、本実施の形態では、
サーバ装置と制御機器との間でデータを送受信する手段と、
制御機器から送られてきた加工データを復元する手段と、
収集したデータを解析する手段と、
収集した全てのデータの動向を管理する手段と、
収集データの傾向を記述した波形情報と、
デバイスとその仕様波形を記述したデバイス情報と、
特定期間のデータ収集に関連するデバイスの情報を記述したステート情報と、
収集したデータを格納するデータベースと、
を備えたサーバ装置と、
制御機器とサーバ装置との間でデータを送受信する手段と、
制御対象となる機器からデータを収集する手段と、
収集したデータにデータ量を低減する加工を行う手段と、
データを送信するタイミングの管理を行う手段と、
収集データの傾向を記述した波形情報と、
収集データの情報を記述した収集デバイス情報と、
を備えた制御機器、からなる、
収集データをサーバ装置で解析しデータの傾向に合わせたデータ量低減加工方式を選択することを可能な制御機器用通信システムを説明した。
As described above, in the present embodiment,
Means for transmitting and receiving data between the server device and the control device;
Means for restoring machining data sent from the control device;
A means of analyzing the collected data;
A means of managing the trends of all collected data;
Waveform information describing trends in collected data,
Device information describing the device and its specification waveform,
State information describing device information related to data collection for a specific period of time,
A database to store the collected data;
A server device comprising:
Means for transmitting and receiving data between the control device and the server device;
Means for collecting data from the controlled device;
Means for processing the collected data to reduce the amount of data;
Means for managing the timing of data transmission;
Waveform information describing trends in collected data,
Collection device information that describes the collected data information,
Comprising control equipment,
A communication system for control equipment that can analyze collected data with a server device and select a data amount reduction processing method that matches the data trend has been described.
実施の形態2.
[B.1 実施の形態2 システム構成図:図20及び図21]
図20及び図21は、実施の形態2を示す構成図である。
図20は、本実施の形態に係るサーバ装置111の構成例を示しており、図2との違いは、全体管理部104に送信タイミング分散制御部104−3を追加し、また、全体ステート構成図130を追加したことである。
また、図21は、本実施の形態に係る制御機器112の構成例を示しており、図3との違いは、送信タイミング管理部117を追加したことである。
[B. 1. Second embodiment System configuration diagram: FIGS. 20 and 21]
20 and 21 are configuration diagrams showing the second embodiment.
FIG. 20 shows a configuration example of the
FIG. 21 shows a configuration example of the
図20において、送信タイミング分散制御部104−3は、全ての機器200及びデバイスの通信量を試算し、データ送信タイミングを分散させる。
より具体的には、送信タイミング分散制御部104−3は、デバイス情報106と全体ステート130から時系列での全体の通信量を試算する。
通信負荷が高い時間帯にデータを送信している機器200またはデバイスを抽出し、それらのデータ送信タイミングが分散するスケジュールを生成し、生成したスケジュールに沿ってデータ送信タイミングを調整する。
送信タイミング分散制御部104−3は、運転前の事前解析だけでなく、運転中の解析にも使用する。
In FIG. 20, the transmission timing distribution control unit 104-3 calculates the communication amount of all the
More specifically, the transmission timing distribution control unit 104-3 calculates the total communication amount in time series from the device information 106 and the
A
The transmission timing distribution control unit 104-3 is used not only for preliminary analysis before driving but also for analysis during driving.
全体ステート構成図130は、ステート情報107を関連付ける情報を記したデータである。
全体ステート構成図130は、試運転時の収集データやステート情報107の入出力の関係から、制御機器が制御を行っているデバイスのステートを、時間軸を揃えて並べたものである。
送信タイミング分散制御部104−3は、この全体ステート構成図130からどのステートが同時に発生しているかを検索し、通信量を試算する。
The overall state configuration diagram 130 is data describing information associating the state information 107.
The overall state configuration diagram 130 is a list of the states of devices controlled by the control device, with the time axis aligned, based on the input / output relationship of the collected data during the trial run and the state information 107.
The transmission timing distribution control unit 104-3 searches which state is simultaneously generated from the overall state configuration diagram 130 and calculates the communication amount.
送信タイミング管理部117は、機器200もしくはデバイスの送信タイミングを調整する。
調整を行うのは送信タイミングであり、送信周期や収集周期はそのままである。
送信タイミング管理部117は、サーバ装置111から送信タイミング調整命令を受信した場合、データ加工部115を制御して加工データの区切り間隔を調整することで、データ送信タイミングを調整する。
The transmission
The adjustment is performed at the transmission timing, and the transmission cycle and the collection cycle remain unchanged.
When receiving a transmission timing adjustment command from the
なお、これらの要素以外は図2及び図3と同様であるので、説明を省略する。 Since these elements are the same as those in FIGS. 2 and 3, the description thereof is omitted.
[B.2 実施の形態2 システムの動作]
次に、制御機器用通信システム100が、送信タイミング分散制御部104−3を用いて送信タイミングを分散させる場合の動作を説明する。
送信タイミング分散処理は、タイミング解析とタイミング調整に分けられる。
送信タイミング分散処理以外の動作は、実施の形態1と同様であるため省略する。
[B. 2. Second Embodiment System Operation]
Next, the operation in the case where the control
Transmission timing distribution processing is divided into timing analysis and timing adjustment.
Since operations other than the transmission timing distribution processing are the same as those in the first embodiment, a description thereof will be omitted.
[B.2.1 送信タイミング解析:図22〜23]
タイミング解析時の処理を、図22及び図23を用いて説明する。
図22のS1601及びS1602と、図23のS1701〜S1703がタイミング解析処理である。タイミング解析は、事前解析時と収集中に実施する。
[B. 2.1 Transmission Timing Analysis: FIGS. 22 to 23]
Processing during timing analysis will be described with reference to FIGS.
S1601 and S1602 in FIG. 22 and S1701 to S1703 in FIG. 23 are timing analysis processes. Timing analysis is performed during pre-analysis and during collection.
図22に示すように、送信タイミング分散制御部104−3は、実データを用いて試算を行うため、試運転時のデータ収集後、加工方式指定部103−2の処理が終了してから(つまり、S801〜S811の後)開始する。
送信タイミング分散制御部104−3は、時系列でそろえた収集データ及び全体ステート構成図130を元に、加工後のデータ量を試算し、全体の通信量を算出する(S1601)。
送信タイミング分散制御部104−3は、通信量の多いデバイスの送信タイミングが分散するよう(機器200もしくはデバイスごとの送信タイミングがずれるよう)、送信開始タイミングを調整し、保持する(S1602)。
以降は、S812、S813の処理が行われる。
なお、S801〜S811、S812、S813の処理は実施の形態1で説明したものと同じなので、説明を省略する。
As shown in FIG. 22, since the transmission timing distribution control unit 104-3 performs trial calculation using actual data, after the data collection during the trial operation, the processing of the processing method designating unit 103-2 is completed (that is, , After S801 to S811).
The transmission timing distribution control unit 104-3 calculates the data amount after processing based on the collected data and the entire state configuration diagram 130 arranged in time series, and calculates the total communication amount (S1601).
The transmission timing distribution control unit 104-3 adjusts and holds the transmission start timing so that the transmission timing of devices with a large amount of communication is distributed (transmission timing for each
Thereafter, the processing of S812 and S813 is performed.
In addition, since the process of S801-S811, S812, and S813 is the same as what was demonstrated in
また、収集実行時では、図23に示すように、まず、サーバ装置111では、制御機器用通信システム100を実行し、データを収集する。
送信タイミング分散制御部104−3は保持する送信開始タイミングに従い、実行開始命令をサーバ−制御機器間通信部(サーバサイド)101に送信する(S1701)。
サーバ−制御機器間通信部(サーバサイド)101は制御機器112に実行開始命令を送信する(S1702)。
また、S902〜S911の処理が実施された後に、送信タイミング分散制御部104−3は、通信量の多いデバイスの送信タイミングが分散するよう、送信開始タイミングを調整し、保持する(S1703)。
以降は、D901〜S914の処理が行われる。
なお、S902〜S911、D901〜S914の処理は実施の形態1で説明したものと同じなので、説明を省略する。
Further, at the time of executing the collection, as shown in FIG. 23, first, the
The transmission timing distribution control unit 104-3 transmits an execution start command to the server-control device communication unit (server side) 101 in accordance with the held transmission start timing (S1701).
The server-control device communication unit (server side) 101 transmits an execution start command to the control device 112 (S1702).
In addition, after the processing of S902 to S911 is performed, the transmission timing distribution control unit 104-3 adjusts and holds the transmission start timing so that the transmission timings of devices with a large amount of communication are distributed (S1703).
Thereafter, the processing of D901 to S914 is performed.
In addition, since the process of S902-S911 and D901-S914 is the same as what was demonstrated in
事前解析時のタイミング解析は、全体ステート構成図130に基づいた理想的な時刻で算出するが、実際の収集中は、通信の遅れなどによりデータ受信のタイミングにズレが発生する。
そのため、収集中のタイミング解析は、収集データの実際の到着時刻を監視し、間隔が変動しているようであれば、再計算を行い、送信タイミングを調整する。
Timing analysis at the time of prior analysis is calculated at an ideal time based on the overall state configuration diagram 130, but during actual collection, a deviation occurs in data reception timing due to a communication delay or the like.
Therefore, in the timing analysis during collection, the actual arrival time of collected data is monitored, and if the interval seems to fluctuate, recalculation is performed to adjust the transmission timing.
[B.2.2 送信タイミング調整]
次に、タイミング調整時の処理を、図24及び図25を用いて説明する。
タイミングの調整は、収集開始時と収集実行時双方で実施可能であるが、その動作は異なる。
[B. 2.2 Transmission timing adjustment]
Next, processing during timing adjustment will be described with reference to FIGS. 24 and 25. FIG.
The timing adjustment can be performed both at the start of collection and at the time of collection execution, but the operation is different.
[B.2.2.1 収集開始時 送信タイミング調整:図24]
まず、収集開始時に送信タイミングを調整する場合の動作の例として、複数のデバイスのタイミング調整を、図24を用いて説明する。
制御機器112の送信周期は全て100ms、データを調整するための間隔は30msとする。
送信タイミング調整は、送信タイミング分散制御部104−3が送信開始時刻をデバイスごとにずらして開始命令を送信することで実現する。
[B. 2.2.1 Transmission timing adjustment at the start of collection: Fig. 24]
First, timing adjustment of a plurality of devices will be described with reference to FIG. 24 as an example of operation when transmission timing is adjusted at the start of collection.
The transmission period of the
The transmission timing adjustment is realized by the transmission timing distribution control unit 104-3 transmitting a start command by shifting the transmission start time for each device.
送信タイミング分散制御部104−3は、制御機器112−Aにデータ送信命令を送信する。(S1801)
制御機器112−Aはデータ収集を開始する(S1804)。以降、100msごとにデータを送信する。
制御機器112−Aに開始命令を送信してから指定のデータ調整間隔後(30ms後)に、送信タイミング分散制御部104−3は制御機器112−Bにデータ送信命令を送信する(S1802)。
制御機器112−Bはデータ収集を開始する(S1805)。以降、100msごとにデータを送信する。
制御機器112−Bに開始命令を送信してから指定のデータ調整間隔後(30ms後、最初に制御機器112−Aに開始命令を送信してから60ms後)に、送信タイミング分散制御部104−3は制御機器112−C、制御機器112−Dにデータ送信命令を送信する(S1803)。
制御機器112−C、制御機器112−Dはデータ収集を開始する(S1806〜S1807)。以降、100msごとにデータを送信する。
The transmission timing distribution control unit 104-3 transmits a data transmission command to the control device 112-A. (S1801)
The control device 112-A starts data collection (S1804). Thereafter, data is transmitted every 100 ms.
The transmission timing distribution control unit 104-3 transmits a data transmission command to the control device 112-B after a specified data adjustment interval (30 ms later) after transmitting the start command to the control device 112-A (S1802).
The control device 112-B starts data collection (S1805). Thereafter, data is transmitted every 100 ms.
Transmission timing distribution control unit 104-after a specified data adjustment interval after transmitting a start command to control device 112 -B (30 ms later, 60 ms after first transmitting the start command to control device 112 -A) 3 transmits a data transmission command to the control device 112-C and the control device 112-D (S1803).
The control device 112-C and the control device 112-D start data collection (S1806 to S1807). Thereafter, data is transmitted every 100 ms.
[B.2.2.3 収集実行時 送信タイミング調整:図25]
次に、収集実行時に送信タイミングを調整する場合の動作の例として、同タイミングでデータ送信を行っている制御機器112の送信タイミングの調整を、図25を用いて説明する。
[B. 2.2.3 Transmission timing adjustment during collection: Fig. 25]
Next, as an example of an operation when adjusting the transmission timing during collection execution, adjustment of the transmission timing of the
送信タイミング分散制御部104−3は制御機器112−A、制御機器112−Bにデータ送信命令を送信する(S1901)。
制御機器112−A、制御機器112−Bはデータ収集を開始する(S1902−A、S1902−B)。
以降、制御機器112−A、制御機器112−Bは100msごとにデータを送信する。
送信タイミング分散制御部104−3は実行中も解析を行い、通信量を解析する。
解析の結果、通信量負荷が大きいと判断した場合、制御機器112−Bに30ms送信を遅らせるよう送信間隔調整命令を送信する(S1903)。
制御機器112−Bは、送信間隔調整命令を受信する(S1904)。
制御機器112−Bの送信タイミング管理部117は、送信間隔調整命令の受信後に一回、前回の送信間隔に従いデータを送信する(S1905)。
送信タイミング管理部117は、調整時間分(30ms分)のデータを送信するようデータ加工部115に指示を出す。データ加工部115は30ms分のデータを加工し、サーバ−制御機器間通信部(クライアントサイド)113に渡す。
サーバ−制御機器間通信部(クライアントサイド)113は、前回の送信から30ms後にデータを送信する(S1906)。
以降、制御機器112−Bは指定された送信間隔である100msごとにデータを送信する。
なお、タイミング調整の間隔(図24、図25中の数値30ms)は一例であり、これに限ったものではない。
一定のアルゴリズムに従いタイミングが重ならない間隔を機械的に算出しても、ユーザが指定しても構わない。
The transmission timing distribution control unit 104-3 transmits a data transmission command to the control device 112-A and the control device 112-B (S1901).
The control device 112-A and the control device 112-B start data collection (S1902-A, S1902-B).
Thereafter, the control device 112-A and the control device 112-B transmit data every 100 ms.
The transmission timing distribution control unit 104-3 analyzes during execution to analyze the traffic.
As a result of the analysis, if it is determined that the traffic load is large, a transmission interval adjustment command is transmitted to the control device 112-B so as to delay the transmission for 30 ms (S1903).
The control device 112-B receives the transmission interval adjustment command (S1904).
The transmission
The transmission
The server-control device communication unit (client side) 113 transmits
Thereafter, the control device 112-B transmits data every 100 ms, which is a specified transmission interval.
Note that the timing adjustment interval (
The interval at which the timing does not overlap may be calculated mechanically according to a certain algorithm, or may be designated by the user.
[B.3 実施の形態2 効果]
以上のように、全体の通信量を試算して、予めデータ送信タイミングを調整し、実行中も随時送信タイミングを調整することで、回線を平均的に使用することが可能となるため、収集可能なデータ量を増大させるという効果が得られる。
[B. 3.
As described above, it is possible to collect data because it is possible to use the circuit on average by adjusting the data transmission timing in advance by adjusting the total data traffic and adjusting the transmission timing as needed during execution. The effect of increasing the amount of data can be obtained.
以上、本実施の形態では、
サーバ装置に、全体の通信量を試算してデバイスごとのデータ送信タイミングを分散させる手段、
を備えた制御機器用通信システムを説明した。
As described above, in the present embodiment,
A means for distributing the data transmission timing for each device by calculating the total communication amount to the server device,
A communication system for control equipment provided with the above has been described.
最後に、実施の形態1及び2に示したサーバ装置111及び制御機器112のハードウェア構成例について説明する。
図26は、実施の形態1及び2に示すサーバ装置111及び制御機器112のハードウェア資源の一例を示す図である。
なお、図26の構成は、あくまでもサーバ装置111及び制御機器112のハードウェア構成の一例を示すものであり、サーバ装置111及び制御機器112のハードウェア構成は図26に記載の構成に限らず、他の構成であってもよい。
Finally, a hardware configuration example of the
FIG. 26 is a diagram illustrating an example of hardware resources of the
The configuration of FIG. 26 is merely an example of the hardware configuration of the
図26において、サーバ装置111及び制御機器112は、プログラムを実行するCPU911(Central Processing Unit、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、プロセッサともいう)を備えている。
CPU911は、バス912を介して、例えば、ROM(Read Only Memory)913、RAM(Random Access Memory)914、通信ボード915、表示装置901、キーボード902、マウス903、磁気ディスク装置920と接続され、これらのハードウェアを制御する。
更に、CPU911は、FDD904(Flexible Disk Drive)、コンパクトディスク装置905(CDD)、プリンタ装置906、スキャナ装置907と接続していてもよい。また、磁気ディスク装置920の代わりに、SSD(Solid State Drive)、光ディスク装置、メモリカード(登録商標)読み書き装置などの記憶装置でもよい。
RAM914は、揮発性メモリの一例である。ROM913、FDD904、CDD905、磁気ディスク装置920の記憶媒体は、不揮発性メモリの一例である。これらは、記憶装置の一例である。
実施の形態1及び2で説明した「〜記憶部」は、RAM914、磁気ディスク装置920等により実現される。
通信ボード915、キーボード902、マウス903、スキャナ装置907、FDD904などは、入力装置の一例である。
また、通信ボード915、表示装置901、プリンタ装置906などは、出力装置の一例である。
In FIG. 26, the
The
Further, the
The
The “˜storage unit” described in the first and second embodiments is realized by the
A
The
通信ボード915は、図1に示すように、ネットワークに接続されている。
例えば、通信ボード915は、LAN(ローカルエリアネットワーク)をはじめ、インターネット、WAN(ワイドエリアネットワーク)、SAN(ストレージエリアネットワーク)などに接続されていてもよい。
As shown in FIG. 1, the
For example, the
磁気ディスク装置920には、オペレーティングシステム921(OS)、ウィンドウシステム922、プログラム群923、ファイル群924が記憶されている。
プログラム群923のプログラムは、CPU911がオペレーティングシステム921、ウィンドウシステム922を利用しながら実行する。
The
The programs in the
また、RAM914には、CPU911に実行させるオペレーティングシステム921のプログラムやアプリケーションプログラムの少なくとも一部が一時的に格納される。
また、RAM914には、CPU911による処理に必要な各種データが格納される。
The
The
また、ROM913には、BIOS(Basic Input Output System)プログラムが格納され、磁気ディスク装置920にはブートプログラムが格納されている。
サーバ装置111及び制御機器112の起動時には、ROM913のBIOSプログラム及び磁気ディスク装置920のブートプログラムが実行され、BIOSプログラム及びブートプログラムによりオペレーティングシステム921が起動される。
The
When the
上記プログラム群923には、実施の形態1及び2の説明において「〜部」(「〜記憶部」以外、以下同様)、「〜手段」として説明している機能を実行するプログラムが記憶されている。プログラムは、CPU911により読み出され実行される。
The
ファイル群924には、実施の形態1及び2の説明において、「〜の判断」、「〜の判定」、「〜の判別」、「〜の指定」、「〜の決定」、「〜の生成」、「〜の作成」、「〜の比較」、「〜の更新」、「〜の設定」、「〜の登録」、「〜の選択」、「〜の取得」、「〜の入力」、「〜の出力」等として説明している処理の結果を示す情報やデータや信号値や変数値やパラメータが、「〜ファイル」や「〜データベース」の各項目として記憶されている。
「〜ファイル」や「〜データベース」は、ディスクやメモリなどの記録媒体に記憶される。
ディスクやメモリなどの記憶媒体に記憶された情報やデータや信号値や変数値やパラメータは、読み書き回路を介してCPU911によりメインメモリやキャッシュメモリに読み出される。
そして、読み出された情報やデータや信号値や変数値やパラメータは、抽出・検索・参照・比較・演算・計算・処理・編集・出力・印刷・表示などのCPUの動作に用いられる。
抽出・検索・参照・比較・演算・計算・処理・編集・出力・印刷・表示のCPUの動作の間、情報やデータや信号値や変数値やパラメータは、メインメモリ、レジスタ、キャッシュメモリ、バッファメモリ等に一時的に記憶される。
また、実施の形態1及び2で説明しているフローチャートの矢印の部分は主としてデータや信号の入出力を示す。
データや信号値は、RAM914のメモリ、FDD904のフレキシブルディスク、CDD905のコンパクトディスク、磁気ディスク装置920の磁気ディスク、その他光ディスク、ミニディスク、DVD等の記録媒体に記録される。
また、データや信号は、バス912や信号線やケーブルその他の伝送媒体によりオンライン伝送される。
In the
The “˜file” and “˜database” are stored in a recording medium such as a disk or a memory.
Information, data, signal values, variable values, and parameters stored in a storage medium such as a disk or memory are read out to the main memory or cache memory by the
The read information, data, signal value, variable value, and parameter are used for CPU operations such as extraction, search, reference, comparison, calculation, calculation, processing, editing, output, printing, and display.
Information, data, signal values, variable values, and parameters are stored in the main memory, registers, cache memory, and buffers during the CPU operations of extraction, search, reference, comparison, calculation, processing, editing, output, printing, and display. It is temporarily stored in a memory or the like.
In addition, the arrows in the flowcharts described in the first and second embodiments mainly indicate input / output of data and signals.
Data and signal values are recorded on a recording medium such as a memory of the
Data and signals are transmitted online via a bus 912, signal lines, cables, or other transmission media.
また、実施の形態1及び2の説明において「〜部」、「〜手段」として説明しているものは、「〜回路」、「〜装置」、「〜機器」であってもよく、また、「〜ステップ」、「〜手順」、「〜処理」であってもよい。
すなわち、実施の形態1及び2で説明したフローチャートに示すステップ、手順、処理により、サーバ装置111及び制御機器112の処理をデータ処理方法として捉えることができる。
また、「〜部」、「〜手段」として説明しているものは、ROM913に記憶されたファームウェアで実現されていても構わない。
或いは、ソフトウェアのみ、或いは、素子・基板・配線などのハードウェアのみ、或いは、ソフトウェアとハードウェアとの組み合わせ、さらには、ファームウェアとの組み合わせで実施されても構わない。
ファームウェアとソフトウェアは、プログラムとして、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、DVD等の記録媒体に記憶される。
プログラムはCPU911により読み出され、CPU911により実行される。
すなわち、プログラムは、実施の形態1及び2の「〜部」、「〜手段」としてコンピュータを機能させるものである。あるいは、実施の形態1及び2の「〜部」、「〜手段」の手順や方法をコンピュータに実行させるものである。
Further, in the description of the first and second embodiments, what is described as “to part” and “to means” may be “to circuit”, “to device”, and “to device”. It may be “˜step”, “˜procedure”, “˜processing”.
In other words, the processing of the
In addition, what is described as “˜unit” and “˜means” may be realized by firmware stored in the
Alternatively, it may be implemented only by software, only by hardware such as an element, a board, or wiring, by a combination of software and hardware, or by a combination of firmware.
Firmware and software are stored as programs in a recording medium such as a magnetic disk, a flexible disk, an optical disk, a compact disk, a mini disk, and a DVD.
The program is read by the
That is, the program causes the computer to function as “˜unit” and “˜means” of the first and second embodiments. Alternatively, the procedures and methods of “to part” and “to means” of the first and second embodiments are executed by a computer.
このように、実施の形態1及び2に示すサーバ装置111及び制御機器112は、処理装置たるCPU、記憶装置たるメモリ、磁気ディスク等、入力装置たるキーボード、マウス、通信ボード等、出力装置たる表示装置、通信ボード等を備えるコンピュータである。
そして、上記したように「〜部」、「〜手段」として示された機能をこれら処理装置、記憶装置、入力装置、出力装置を用いて実現するものである。
As described above, the
As described above, the functions indicated as “˜unit” and “˜means” are realized by using these processing devices, storage devices, input devices, and output devices.
100 制御機器用通信システム、101 サーバ−制御機器間通信部(サーバサイド)、102 データ復元部、103 データ解析部、103−1 波形作成部、103−2 加工方式指定部、104 全体管理部、104−1 特定デバイス監視部、104−2 複数デバイス監視部、104−3 送信タイミング分散制御部、105 波形情報、106 デバイス情報、107 ステート情報、108 データベース、109 タイミングチャート、110 制御用プログラム、111 サーバ装置、112 制御機器、113 サーバ−制御機器間通信部(クライアントサイド)、114 データ収集部、115 データ加工部、116 収集デバイス情報、117 送信タイミング管理部、120 デバイス指定部、130 全体ステート構成図、200 機器、1050 波形情報記憶部、1060 デバイス情報記憶部、1070 ステート情報記憶部、1090 動作手順情報記憶部、1160 収集デバイス情報記憶部。
DESCRIPTION OF
Claims (18)
前記複数のデバイスの動作手順の論理的な区分であるステートを定義するステート情報を記憶するステート情報記憶部と、
前記複数のデバイスのうちデータ収集の対象となるデバイスを収集対象デバイスとして指定するデバイス指定部と、
前記データ収集装置に対して、前記収集対象デバイスからの収集データを、データ量を低減させるデータ量低減加工を行わずに送信するよう指示する収集指示部と、
前記収集指示部からの指示に基づいて前記データ収集装置から送信された前記収集対象デバイスからの収集データを受信する収集データ受信部と、
前記ステート情報に基づき、前記収集データ受信部により受信された前記収集対象デバイスからの収集データが、いずれのステートにおいて前記収集対象デバイスから収集された収集データであるかを判断する収集データ判断部と、
前記収集データ受信部により受信された前記収集対象デバイスからの収集データに対して複数のデータ量低減加工方式の各々を適用し、ステートごとに、データ量低減加工方式を指定する加工方式指定部と、
前記加工方式指定部により指定された指定データ量低減加工方式をステートごとに前記データ収集装置に通知し、前記データ収集装置に対して、収集データをステートごとに指定データ量低減加工方式にて加工し、指定データ量低減加工方式で加工された収集データを送信するよう指示するデータ加工指示部とを有することを特徴とする管理装置。 A management apparatus connected to a data collection apparatus, managing a plurality of devices via the data collection apparatus, and receiving device data collected by the data collection apparatus from the data collection apparatus;
A state information storage unit that stores state information that defines a state that is a logical division of an operation procedure of the plurality of devices;
A device designating unit for designating a data collection target device among the plurality of devices as a collection target device;
A collection instruction unit that instructs the data collection device to transmit the collected data from the collection target device without performing data amount reduction processing to reduce the data amount;
A collection data receiving unit that receives collection data from the collection target device transmitted from the data collection device based on an instruction from the collection instruction unit;
A collected data judging unit for judging in which state the collected data from the collection target device received by the collected data receiving unit is the collected data collected from the collection target device based on the state information; ,
Applying each of a plurality of data amount reduction processing methods to the collected data received from the collection target device received by the collection data receiving unit, and specifying a data amount reduction processing method for each state; ,
Notify the data collection device for the specified data amount reduction processing method specified by the processing method specifying unit for each state, and process the collected data to the data collection device for each state using the specified data amount reduction processing method And a data processing instruction unit that instructs to transmit the collected data processed by the designated data amount reduction processing method.
収集データに対して複数のデータ量低減加工方式の各々を適用した結果、データ量低減度合いが最大となるデータ量低減加工方式を指定することを特徴とする請求項1に記載の管理装置。 The processing method designating part is
The management apparatus according to claim 1, wherein a data amount reduction processing method that maximizes the degree of data amount reduction as a result of applying each of the plurality of data amount reduction processing methods to the collected data is specified.
収集データに対して複数のデータ量低減加工方式の各々を適用した結果、いずれかのステートについて、収集データに対するデータ量低減度合いがいずれのデータ量低減加工方式によっても所定の閾値を上回らない場合に、当該ステートに対しては、データ量低減加工方式を指定しないことを特徴とする請求項2に記載の管理装置。 As a result of applying each of the plurality of data amount reduction processing methods to the collected data, the processing method designating unit has a predetermined degree of data amount reduction with respect to the collected data in any state by any data amount reduction processing method. The management apparatus according to claim 2, wherein when the threshold value is not exceeded, the data amount reduction processing method is not designated for the state.
前記収集データ受信部により受信された前記収集対象デバイスからの収集データを解析し、ステートごとに、前記収集対象デバイスからの収集データのデータ波形を抽出するデータ波形抽出部を有し、
前記データ加工指示部は、
前記データ収集装置に対して、ステートごとに指定データ量低減加工方式を通知するとともに、ステートごとに前記データ波形抽出部により抽出されたデータ波形を通知することを特徴とする請求項1〜3のいずれかに記載の管理装置。 The management device further includes:
Analyzing the collected data from the collection target device received by the collected data receiving unit, and for each state, having a data waveform extraction unit that extracts a data waveform of the collected data from the collection target device;
The data processing instruction unit
The specified data amount reduction processing method is notified to the data collection device for each state, and the data waveform extracted by the data waveform extraction unit is notified for each state. The management apparatus in any one.
前記収集対象デバイスからの収集データの受信前に、前記収集対象デバイスの動作を示すタイミングチャートを解析し、ステートごとに、前記収集対象デバイスからの収集データのデータ波形を予測し、
前記収集データ受信部により前記収集対象デバイスからの収集データが受信された際に、ステートごとに予測したデータ波形を用いて、前記収集データ受信部により受信された前記収集対象デバイスからの収集データを解析し、ステートごとに、前記収集対象デバイスからの収集データのデータ波形を抽出することを特徴とする請求項4に記載の管理装置。 The data waveform extraction unit
Before receiving the collection data from the collection target device, analyze the timing chart showing the operation of the collection target device, predict the data waveform of the collection data from the collection target device for each state,
When the collected data from the collection target device is received by the collected data receiving unit, the collected data from the collection target device received by the collected data receiving unit is obtained using a data waveform predicted for each state. 5. The management apparatus according to claim 4, wherein the management apparatus analyzes and extracts a data waveform of collected data from the collection target device for each state.
収集データのデータ波形が定型のデータ波形となっているステートが存在する場合に、当該ステートに対して、収集データにおいて当該定型のデータ波形との差異のみを通知するデータ量低減加工方式を指定することを特徴とする請求項1〜5のいずれかに記載の管理装置。 The processing method designating part is
When there is a state where the data waveform of the collected data is a standard data waveform, a data amount reduction processing method for notifying the state of only the difference between the collected data and the standard data waveform is specified. The management apparatus according to any one of claims 1 to 5, wherein
ステートごとに、ステートの始期と終期を、それぞれ、いずれかのデバイスの挙動に対応付けて定義するステート情報を記憶しており、
前記収集指示部は、
前記データ収集装置に対して、前記収集対象デバイスからの収集データ及び各ステートの始期及び終期に対応付けられている関連デバイスからの収集データを、データ量を低減させるデータ量低減加工を行わずに送信するよう指示し、
前記収集データ受信部は、
前記収集対象デバイスからの収集データ及び前記関連デバイスからの収集データを受信し、
前記収集データ判断部は、
前記ステート情報と関連デバイスからの収集データとに基づき関連デバイスの挙動を解析して、前記収集対象デバイスからの収集データが、いずれのステートにおいて前記収集対象デバイスから収集された収集データであるかを判断することを特徴とする請求項1〜6のいずれかに記載の管理装置。 The state information storage unit
For each state, state information that defines the start and end of the state in association with the behavior of one of the devices is stored.
The collection instruction unit
For the data collection device, the collected data from the collection target device and the collected data from the related device associated with the start and end of each state are not subjected to data amount reduction processing for reducing the data amount. Tell them to send,
The collected data receiving unit
Receiving collected data from the device to be collected and collected data from the related device;
The collected data judgment unit
Based on the state information and the collected data from the related device, the behavior of the related device is analyzed, and in which state the collected data from the collection target device is the collected data collected from the collection target device. The management apparatus according to claim 1, wherein the management apparatus determines.
前記データ収集装置から受信した収集データに基づいてステートの移行を監視し、ステートが移行する度に、移行先のステートを通知する移行ステート通知情報を生成し、生成した移行ステート通知情報を前記データ収集装置に送信する移行先ステート通知部を有することを特徴とする請求項1〜7のいずれかに記載の管理装置。 The management device further includes:
The state transition is monitored based on the collected data received from the data collection device, and each time the state transitions, the transition state notification information for notifying the transition destination state is generated, and the generated transition state notification information is used as the data. The management apparatus according to claim 1, further comprising a transfer destination state notification unit that transmits to the collection apparatus.
指定データ量低減加工方式で加工された前記収集対象デバイスからの収集データを、前記データ収集装置から受信し、
前記管理装置は、更に、
指定データ量低減加工方式で加工された前記収集対象デバイスからの収集データに対して、指定データ量低減加工方式に対応する復元方式を適用して、加工前の収集データを復元するデータ復元部を有することを特徴とする請求項1〜8のいずれかに記載の管理装置。 The collected data receiving unit
Collected data from the collection target device processed by the specified data amount reduction processing method is received from the data collection device,
The management device further includes:
A data restoration unit that restores collected data before processing by applying a restoration method corresponding to the designated data amount reduction processing method to the collected data processed by the specified data amount reduction processing method. The management apparatus according to claim 1, comprising: a management apparatus according to claim 1.
指定した収集対象デバイスのうち、監視対象となるデバイスを監視対象デバイスとして指定し、
前記管理装置は、更に、
前記収集データ受信部により受信された収集データを解析して前記監視対象デバイスの挙動を監視し、前記監視対象デバイスの挙動が変化した場合に、前記監視対象デバイスの挙動の変化を通知するデバイス監視部を有することを特徴とする請求項1〜9のいずれかに記載の管理装置。 The device designation unit is
Of the specified collection target devices, specify the devices to be monitored as monitored devices,
The management device further includes:
Device monitoring that analyzes the collected data received by the collected data receiving unit to monitor the behavior of the monitored device and notifies the change in the behavior of the monitored device when the behavior of the monitored device changes The management device according to claim 1, further comprising a management unit.
指定データ量低減加工方式で加工された前記収集対象デバイスからの収集データを、前記データ収集装置から受信し、
前記加工方式指定部は、
指定データ量低減加工方式で加工された前記収集対象デバイスからの収集データに対して、指定データ量低減加工方式におけるデータ量低減度合いと他のデータ量低減加工方式におけるデータ量低減度合いとを比較し、指定データ量低減加工方式でのデータ量低減度合いが他のデータ量低減加工方式でのデータ量低減度合いを下回っている場合に、当該ステートに対して、前記他のデータ量低減加工方式を新たな指定データ量低減加工方式として指定し、
前記データ加工指示部は、
前記データ収集装置に対して、前記加工方式指定部により指定された新たな指定データ量低減加工方式を対応するステートの収集データの加工に用いるよう指示することを特徴とする請求項1〜10のいずれかに記載の管理装置。 The collected data receiving unit
Collected data from the collection target device processed by the specified data amount reduction processing method is received from the data collection device,
The processing method designating part is
Compare the data amount reduction degree in the specified data amount reduction processing method with the data amount reduction degree in other data amount reduction processing methods for the collected data from the collection target device processed by the specified data amount reduction processing method. When the data amount reduction degree in the specified data amount reduction processing method is lower than the data amount reduction degree in the other data amount reduction processing method, the other data amount reduction processing method is newly added to the state. Specified as a specified data amount reduction processing method,
The data processing instruction unit
11. The data collection device is instructed to use a new designated data amount reduction processing method specified by the processing method specifying unit for processing the collected data of the corresponding state. The management apparatus in any one.
前記データ収集装置から2以上の収集対象デバイスからの収集データが送信される場合に、前記データ収集装置からの収集データの送信タイミングが分散するスケジュールを生成し、生成したスケジュールに従って前記データ収集装置にデータ収集を指示し、前記データ収集装置からの収集データの送信タイミングを分散させる送信タイミング分散制御部を有することを特徴とする請求項1〜11のいずれかに記載の管理装置。 The management device further includes:
When collection data from two or more collection target devices is transmitted from the data collection device, a schedule in which the transmission timing of the collection data from the data collection device is distributed is generated, and the data collection device is transmitted according to the generated schedule. The management apparatus according to claim 1, further comprising a transmission timing distribution control unit that instructs data collection and distributes the transmission timing of the collected data from the data collection apparatus.
前記管理装置は、更に、
前記複数のデータ収集装置からの収集データの送信タイミングが分散するスケジュールを生成し、生成したスケジュールに従って前記複数のデータ収集装置にデータ収集を指示し、前記複数のデータ収集装置からの収集データの送信タイミングを分散させる送信タイミング分散制御部を有することを特徴とする請求項1〜12のいずれかに記載の管理装置。 The management device is connected to a plurality of data collection devices,
The management device further includes:
A schedule in which transmission timings of collected data from the plurality of data collection devices are distributed is generated, data collection is instructed to the plurality of data collection devices according to the generated schedule, and collection data is transmitted from the plurality of data collection devices The management apparatus according to claim 1, further comprising a transmission timing distribution control unit that distributes timing.
データ収集の対象となるデバイスを収集対象デバイスとして通知する収集対象デバイス通知情報と、前記複数のデバイスの動作手順の論理的な区分であるステートごとに、前記収集対象デバイスから収集されたデータに適用するデータ量低減加工方式を指定データ量低減加工方式として通知する加工方式通知情報と、ステートの移行を判別するためのステート判別情報を、前記管理装置から受信する受信部と、
前記収集対象デバイス通知情報に基づき、前記収集対象デバイスからのデータを収集するデータ収集部と、
前記ステート判別情報を用いてステートの移行を判別するとともに、ステートの開始から終了までの期間に対応する前記収集対象デバイスからの収集データを当該ステートに指定されている指定データ量低減加工方式にて加工するデータ加工部と、
前記データ加工部によりステートごとに指定データ量低減加工方式にて加工された前記収集対象デバイスからの収集データを、前記管理装置に送信する送信部とを有することを特徴とするデータ収集装置。 A data collection device that is connected to a management device that manages a plurality of devices, collects data of at least some of the plurality of devices, and transmits the collected device data to the management device. ,
Applies to the data collected from the collection target device for each state that is a logical division of the operation procedure of the plurality of devices and the collection target device notification information for notifying the data collection target device as the collection target device Processing method notification information for notifying the data amount reduction processing method to be designated as the specified data amount reduction processing method, and a receiving unit for receiving state determination information for determining state transition from the management device,
A data collection unit that collects data from the collection target device based on the collection target device notification information;
The state determination information is used to determine the state transition, and the collected data from the collection target device corresponding to the period from the start to the end of the state is processed by the designated data amount reduction processing method specified for the state. A data processing unit to process,
A data collection apparatus comprising: a transmission unit configured to transmit collected data from the collection target device processed by the data processing unit by a specified data amount reduction processing method for each state to the management apparatus.
前記管理装置により複数の収集対象デバイスが指定された場合に、収集対象デバイスごとに、収集対象デバイス通知情報と加工方式通知情報を受信し、
前記データ収集部は、
前記収集対象デバイス通知情報に基づき、各収集対象デバイスからのデータを収集し、
前記データ加工部は、
前記ステート判別情報を用いてステートの移行を判別するとともに、ステートの開始から終了までの期間に対応する各収集対象デバイスからの収集データを、収集対象デバイスごとに、当該ステートに指定されている指定データ量低減加工方式にて加工することを特徴とする請求項14に記載のデータ収集装置。 The receiver is
When a plurality of collection target devices are designated by the management apparatus, for each collection target device, the collection target device notification information and the processing method notification information are received,
The data collection unit
Based on the collection target device notification information, collect data from each collection target device,
The data processing unit
The state transition is determined using the state determination information, and the collection data from each collection target device corresponding to the period from the start to the end of the state is designated for each collection target device. The data collection device according to claim 14, wherein the data collection device performs processing by a data amount reduction processing method.
所定のステートについて前記加工方式通知情報で通知された指定データ量低減加工方式と異なる新たな指定データ量低減加工方式に切り替えて収集データを加工するよう指示する加工方式切替指示情報を受信する場合があり、
前記データ加工部は、
前記受信部により前記加工方式切替指示情報が受信された場合に、前記加工方式切替指示情報で指示されているステートに対応する収集データのデータ量低減加工方式を前記新たな指定データ量低減加工方式に切り替えることを特徴とする請求項14又は15に記載のデータ収集装置。 The receiver is
There is a case in which processing method switching instruction information for instructing to process the collected data by switching to a new specified data amount reduction processing method different from the specified data amount reduction processing method notified by the processing method notification information for a predetermined state may be received. Yes,
The data processing unit
When the processing unit switching instruction information is received by the receiving unit, the data amount reduction processing method of the collected data corresponding to the state instructed by the processing method switching instruction information is changed to the new designated data amount reduction processing method. The data collection device according to claim 14, wherein the data collection device is switched to.
前記データ収集部により所定のステートに対応する収集データが収集されている最中に前記受信部により当該ステートについての加工方式切替指示情報が受信された場合に、前記加工方式切替指示情報の受信以降に加工する収集データのデータ量低減加工方式を新たな指定データ量低減加工方式に切り替えることを特徴とする請求項16に記載のデータ収集装置。 The data processing unit
After the processing method switching instruction information is received by the receiving unit while the collected data corresponding to the predetermined state is being collected by the data collecting unit, the processing method switching instruction information is received The data collection device according to claim 16, wherein the data amount reduction processing method of the collected data to be processed into a new designated data amount reduction processing method is switched.
ステートが移行する度に移行先のステートを通知する移行ステート通知情報を、前記管理装置から前記ステート判別情報として受信し、
前記データ加工部は、
前記移行ステート通知情報の受信により、前記移行ステート通知情報で通知されているステートへの移行を判別することを特徴とする請求項14〜17のいずれかに記載のデータ収集装置。 The receiver is
Transition state notification information for notifying the destination state every time the state transitions is received as the state determination information from the management device,
The data processing unit
18. The data collection device according to claim 14, wherein a transition to a state notified by the transition state notification information is determined based on reception of the transition state notification information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011035084A JP2012175376A (en) | 2011-02-21 | 2011-02-21 | Management apparatus and data collection apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011035084A JP2012175376A (en) | 2011-02-21 | 2011-02-21 | Management apparatus and data collection apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2012175376A true JP2012175376A (en) | 2012-09-10 |
Family
ID=46977851
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011035084A Withdrawn JP2012175376A (en) | 2011-02-21 | 2011-02-21 | Management apparatus and data collection apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2012175376A (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016091556A (en) * | 2014-10-31 | 2016-05-23 | 京セラドキュメントソリューションズ株式会社 | Printer data processing system and printer data processing method |
| JP5967322B1 (en) * | 2015-06-16 | 2016-08-10 | 三菱電機株式会社 | Information processing apparatus and information processing method |
| US9921564B2 (en) | 2014-03-17 | 2018-03-20 | Mitsubishi Electric Corporation | Programmable logic controller |
| JP2018078518A (en) * | 2016-11-11 | 2018-05-17 | ローレル精機株式会社 | Data management system and data management method |
| JP2020013517A (en) * | 2018-07-20 | 2020-01-23 | 株式会社リコー | Device management device, device management system, and program |
| CN111596974A (en) * | 2020-04-24 | 2020-08-28 | 中建八局第二建设有限公司 | Intelligent acquisition system and method based on finite-state machine algorithm |
| WO2022001314A1 (en) * | 2020-06-29 | 2022-01-06 | 中兴通讯股份有限公司 | Information collection method and apparatus, storage medium, and electronic apparatus |
| WO2026003985A1 (en) * | 2024-06-26 | 2026-01-02 | Ntt株式会社 | Transmission/reception management device, transmission/reception management system, network system, transmission/reception management method, and program |
-
2011
- 2011-02-21 JP JP2011035084A patent/JP2012175376A/en not_active Withdrawn
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9921564B2 (en) | 2014-03-17 | 2018-03-20 | Mitsubishi Electric Corporation | Programmable logic controller |
| JP2016091556A (en) * | 2014-10-31 | 2016-05-23 | 京セラドキュメントソリューションズ株式会社 | Printer data processing system and printer data processing method |
| US10126956B2 (en) | 2015-06-16 | 2018-11-13 | Mitsubishi Electric Corporation | Information processing device and information processing method |
| TWI573018B (en) * | 2015-06-16 | 2017-03-01 | Mitsubishi Electric Corp | Information processing device and information processing method |
| WO2016203541A1 (en) * | 2015-06-16 | 2016-12-22 | 三菱電機株式会社 | Information processor and information processing method |
| JP5967322B1 (en) * | 2015-06-16 | 2016-08-10 | 三菱電機株式会社 | Information processing apparatus and information processing method |
| JP2018078518A (en) * | 2016-11-11 | 2018-05-17 | ローレル精機株式会社 | Data management system and data management method |
| JP2020013517A (en) * | 2018-07-20 | 2020-01-23 | 株式会社リコー | Device management device, device management system, and program |
| JP7073958B2 (en) | 2018-07-20 | 2022-05-24 | 株式会社リコー | Equipment management equipment, equipment management systems, and programs |
| CN111596974A (en) * | 2020-04-24 | 2020-08-28 | 中建八局第二建设有限公司 | Intelligent acquisition system and method based on finite-state machine algorithm |
| WO2022001314A1 (en) * | 2020-06-29 | 2022-01-06 | 中兴通讯股份有限公司 | Information collection method and apparatus, storage medium, and electronic apparatus |
| US12418463B2 (en) | 2020-06-29 | 2025-09-16 | Zte Corporation | Information acquisition method and apparatus, storage medium, and electronic apparatus |
| WO2026003985A1 (en) * | 2024-06-26 | 2026-01-02 | Ntt株式会社 | Transmission/reception management device, transmission/reception management system, network system, transmission/reception management method, and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2012175376A (en) | Management apparatus and data collection apparatus | |
| Wang et al. | Performability analysis of clustered systems with rejuvenation under varying workload | |
| US10452048B2 (en) | Control system and control device | |
| CN105677469A (en) | Timing task executing method and device | |
| WO2018186358A1 (en) | Control device, control method, and control program | |
| JP2021060966A (en) | Programmable logic controller and PLC system | |
| JP2011128940A (en) | Software test automation system and software test automation method | |
| JP7059673B2 (en) | Control devices, control systems, control methods, and control programs | |
| US9568905B2 (en) | CPU of PLC, system program for PLC, and recording medium storing system program for PLC | |
| KR101872648B1 (en) | Method for fast communication between scada system and device and system thereof | |
| JP2020184336A (en) | Methods and apparatus to implement predictive analytics for continuous processes | |
| CN116490829B (en) | Methods for controlling automated systems with control redundancy, and automated systems. | |
| US20100217423A1 (en) | Method for Providing Functions in an Industrial Automation System, Control Program and Industrial Automation System | |
| US11734201B2 (en) | Control system | |
| JP6304048B2 (en) | Control system and control device | |
| CN102290051B (en) | Predictive resampler scheduler algorithm | |
| CN110750371A (en) | Flow execution method, device, equipment and storage medium | |
| WO2024189778A1 (en) | Flow generation program, flow generation device, and flow generation method | |
| JP7749952B2 (en) | Control system, model generation method, and model generation program | |
| JP7448815B2 (en) | Information processing system, storage device, host device, and program | |
| KR20190016370A (en) | Method for fast communication between scada system and device and system thereof | |
| CN110781135B (en) | Distributed search system, index distribution method, and storage medium | |
| JP2018156541A (en) | Management device, management system, control method for management device, and program | |
| JP4541241B2 (en) | Plant control system | |
| KR102300347B1 (en) | Apparatus of continuous profiling for multicore embedded system and the method of the same |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20140513 |