JP2009231855A - Monitoring device and monitoring system - Google Patents

Monitoring device and monitoring system Download PDF

Info

Publication number
JP2009231855A
JP2009231855A JP2008070873A JP2008070873A JP2009231855A JP 2009231855 A JP2009231855 A JP 2009231855A JP 2008070873 A JP2008070873 A JP 2008070873A JP 2008070873 A JP2008070873 A JP 2008070873A JP 2009231855 A JP2009231855 A JP 2009231855A
Authority
JP
Japan
Prior art keywords
rule
event
detected
occurrence
management device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008070873A
Other languages
Japanese (ja)
Inventor
Harumi Minemura
治実 峯村
Hironobu Abe
博信 阿倍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2008070873A priority Critical patent/JP2009231855A/en
Publication of JP2009231855A publication Critical patent/JP2009231855A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To perform processes corresponding to events in real time even if many events are intensively detected at the same time, and to flexibly alter process contents corresponding to the event only by changing rules. <P>SOLUTION: A monitoring device includes an event detection unit 24 which detects an event generation, and a rule retrieval unit 25 which retrieves a rule corresponding to the event detected by the event detection unit 24 from rules stored in a rule repository 23, and a rule execution unit 26 executes process contents in the event generation described in the rule retrieved by the rule retrieval unit 25. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

この発明は、発生したイベントに対応する処理を実行する監視装置及び監視システムに関するものである。   The present invention relates to a monitoring device and a monitoring system that execute processing corresponding to an event that has occurred.

多くの監視システムは、監視カメラ、レコーダ、ビューアなどの監視コンポーネントと、その監視コンポーネントを制御・管理する制御用計算機とから構成されている。
例えば、以下の特許文献1には、制御用計算機が監視カメラ等のセンシング機器により検出されたイベントを収集し、そのイベントに応じて監視カメラの制御方法を変更する監視システムが開示されている。
また、以下の特許文献2には、監視コンポーネントがイベントの発生を検出するイベント検出エンジンを備え、その監視コンポーネントがイベント検出エンジンにより検出されたイベントに応じて録画開始等の制御を行う監視システムが開示されている。
Many surveillance systems are composed of surveillance components such as surveillance cameras, recorders, and viewers, and a control computer that controls and manages the surveillance components.
For example, Patent Document 1 below discloses a monitoring system in which a control computer collects events detected by a sensing device such as a monitoring camera, and changes the monitoring camera control method in accordance with the event.
Patent Document 2 below discloses a monitoring system in which a monitoring component includes an event detection engine that detects the occurrence of an event, and the monitoring component performs control such as recording start in accordance with an event detected by the event detection engine. It is disclosed.

特開2006−259953号公報(第2頁〜3頁、図19)Japanese Patent Laying-Open No. 2006-259953 (pages 2 to 3, FIG. 19) 特開2006−129519号公報(第2頁〜4頁、図10)Japanese Patent Laying-Open No. 2006-129519 (pages 2 to 4, FIG. 10)

従来の監視システムは以上のように構成されているので、制御用計算機が監視カメラ等のセンシング機器により検出された情報を収集し、その情報に応じて監視カメラの制御方法を変更する場合、複数のセンシング機器によるイベントの検出が同時期に集中すると、制御用計算機の負荷が高くなり、レスポンスが低下してしまうなどの課題があった。
また、監視コンポーネントがイベントの発生を検出するイベント検出エンジンを備え、その監視コンポーネントがイベント検出エンジンにより検出されたイベントに応じて録画開始等の制御を行う場合、イベントに対応する処理内容が監視コンポーネントに組み込まれてしまうため、その処理内容を柔軟に変更することができないなどの課題があった。
Since the conventional monitoring system is configured as described above, when the control computer collects information detected by a sensing device such as a monitoring camera and changes the monitoring camera control method according to the information, a plurality of When the detection of events by other sensing devices is concentrated at the same time, there is a problem that the load on the control computer increases and the response decreases.
In addition, when the monitoring component includes an event detection engine that detects the occurrence of an event, and the monitoring component performs control such as recording start according to the event detected by the event detection engine, the processing content corresponding to the event is the monitoring component. In other words, the processing contents cannot be flexibly changed.

この発明は上記のような課題を解決するためになされたもので、多くのイベントの検出が同時期に集中しても、イベントに対応する処理をリアルタイムに実行することができるとともに、ルールを入れ替えるだけで柔軟にイベントに対応する処理内容を変更することができる監視装置及び監視システムを得ることを目的とする。   The present invention has been made to solve the above-described problems, and even if detection of many events is concentrated at the same time, the processing corresponding to the event can be executed in real time, and the rules are changed. It is an object of the present invention to obtain a monitoring device and a monitoring system that can change processing contents corresponding to an event flexibly.

この発明に係る監視装置は、検出対象のイベント、イベントの発生条件及びイベント発生時の処理内容が記述されているルールを格納するルール格納手段と、イベントの発生を検出するイベント検出手段と、ルール格納手段に格納されているルールの中から、イベント検出手段により検出されたイベントに対応するルールを検索するルール検索手段とを設け、ルール実行手段がルール検索手段により検索されたルールに記述されているイベント発生時の処理内容を実行するようにしたものである。   The monitoring device according to the present invention includes a rule storage unit that stores a rule in which an event to be detected, an event occurrence condition, and a processing content at the time of the event are described, an event detection unit that detects the occurrence of an event, a rule A rule search means for searching for a rule corresponding to the event detected by the event detection means from the rules stored in the storage means, and the rule execution means is described in the rule searched by the rule search means The processing content when an event occurs is executed.

この発明によれば、イベントの発生条件及びイベント発生時の処理内容が記述されているルールを格納するルール格納手段と、イベントの発生を検出するイベント検出手段と、ルール格納手段に格納されているルールの中から、イベント検出手段により検出されたイベントに対応するルールを検索するルール検索手段とを設け、ルール実行手段がルール検索手段により検索されたルールに記述されているイベント発生時の処理内容を実行するように構成したので、多くのイベントの検出が同時期に集中しても、イベントに対応する処理をリアルタイムに実行することができるとともに、ルールを入れ替えるだけで柔軟にイベントに対応する処理内容を変更することができる効果がある。   According to the present invention, the rule storing means for storing the rule describing the event occurrence condition and the processing content at the time of event occurrence, the event detecting means for detecting the occurrence of the event, and the rule storing means are stored. A rule search means for searching for a rule corresponding to the event detected by the event detection means from among the rules, and the processing contents at the time of event occurrence described in the rule searched by the rule search means by the rule execution means Even if detection of many events is concentrated at the same time, processing corresponding to the event can be executed in real time, and processing corresponding to the event can be flexibly performed simply by changing the rule. There is an effect that the contents can be changed.

実施の形態1.
図1はこの発明の実施の形態1による監視システムを示す構成図であり、図において、ルール管理装置1は検出対象のイベント、イベントの発生条件及びイベント発生時の処理内容が記述されているルールを編集し、ネットワーク2を介して、そのルールを監視装置3に配信する処理を実施する。
監視装置3は監視カメラやレコーダなどの機器であり、ルール管理装置1から配信されたルールを格納し、イベントの発生を検出すると、そのイベントに対応するルールに記述されている処理内容を実行する。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a monitoring system according to Embodiment 1 of the present invention. In FIG. 1, a rule management device 1 is a rule in which events to be detected, event occurrence conditions, and processing contents at the time of event occurrence are described. And the process of distributing the rule to the monitoring device 3 via the network 2 is performed.
The monitoring device 3 is a device such as a monitoring camera or a recorder. The monitoring device 3 stores rules distributed from the rule management device 1, and when the occurrence of an event is detected, the processing content described in the rule corresponding to the event is executed. .

ルール管理装置1のルールエディタ11は例えば汎用の記述言語であるXML(eXtensible Markup Language)を使用してルールを編集するとともに、そのルールを解析(例えば、文法チェック)するソフトウェア等を実装しており、編集完了後のルールを含むルールファイルをコンバータ12に出力する処理を実施する。
コンバータ12はルールエディタ11から出力されたルールファイルをコンパクトファイルに変換するソフトウェア等を実装しており、ネットワーク2を介して、そのコンパクトファイルを監視装置3に配信する処理を実施する。
The rule editor 11 of the rule management device 1 is implemented with software for editing rules (for example, grammar check) and the like while editing rules using XML (extensible Markup Language), which is a general-purpose description language, for example. Then, a process of outputting a rule file including the rule after completion of editing to the converter 12 is performed.
The converter 12 has software or the like for converting the rule file output from the rule editor 11 into a compact file, and performs processing for distributing the compact file to the monitoring device 3 via the network 2.

監視装置3のセンサ21は例えば温度や湿度などを検出する計測器である。図1の例では、センサ21が1つだけ搭載されているが、複数のセンサ21が搭載されていてもよい。
監視コンポーネント用ルールエンジン22は監視装置3の主要部であり、イベントの発生を検出して、そのイベントに対応するルールに記述されている処理内容を実行する。
監視コンポーネント用ルールエンジン22のルールリポジトリ23はルール管理装置1から配信されたルールを少なくとも1以上格納するメモリである。なお、ルールリポジトリ23はルール格納手段を構成している。
The sensor 21 of the monitoring device 3 is a measuring instrument that detects, for example, temperature and humidity. In the example of FIG. 1, only one sensor 21 is mounted, but a plurality of sensors 21 may be mounted.
The monitoring component rule engine 22 is a main part of the monitoring device 3, detects the occurrence of an event, and executes the processing contents described in the rule corresponding to the event.
The rule repository 23 of the monitoring component rule engine 22 is a memory for storing at least one rule distributed from the rule management device 1. The rule repository 23 constitutes a rule storage unit.

イベント検出部24はセンサ21の検出結果を監視して、イベントの発生を検出する処理を実施する。なお、イベント検出部24はイベント検出手段を構成している。
ルール検索部25はルールリポジトリ23に格納されているルールの中から、イベント検出部24により検出されたイベントに対応するルールを検索する処理を実施する。なお、ルール検索部25はルール検索手段を構成している。
The event detection unit 24 monitors the detection result of the sensor 21 and performs processing for detecting the occurrence of the event. The event detection unit 24 constitutes event detection means.
The rule search unit 25 performs a process of searching for a rule corresponding to the event detected by the event detection unit 24 from the rules stored in the rule repository 23. The rule search unit 25 constitutes a rule search unit.

ルール実行部26はルール検索部25により検索されたルールに記述されているイベント発生時の処理内容を実行することにより、制御対象27を制御する処理を実施する。なお、ルール実行部26はルール実行手段を構成している。
制御対象27はルール実行部26により制御される機器(例えば、エアコン、火災報知機、警報機など)である。図1の例では、制御対象27が1つだけ搭載されているが、複数の制御対象27が搭載されていてもよい。
The rule execution unit 26 executes the process of controlling the control target 27 by executing the processing contents at the time of event occurrence described in the rule searched by the rule search unit 25. Note that the rule execution unit 26 constitutes a rule execution unit.
The control target 27 is a device (for example, an air conditioner, a fire alarm, an alarm device, etc.) controlled by the rule execution unit 26. In the example of FIG. 1, only one control object 27 is mounted, but a plurality of control objects 27 may be mounted.

次に動作について説明する。
まず、ルール管理装置1は、検出対象のイベント、イベントの発生条件及びイベント発生時の処理内容が記述されているルールを編集する。
即ち、ルール管理装置1のルールエディタ11は、例えば、汎用の記述言語であるXMLを使用してルールを編集する。
また、ルールエディタ11は、編集したルールを解析(例えば、文法チェック)し、そのルールの文法等に問題がなければ、編集完了後のルールを含むルールファイルをコンバータ12に出力する。
図1の例では、複数台の監視装置1がネットワーク2に接続されており、個々の監視装置1毎に異なるルールを編集するようにしてもよいし、全ての監視装置1に共通するルールを編集するようにしてもよい。
また、個々の監視装置1毎に複数のルールを編集するようにしてもよい。
Next, the operation will be described.
First, the rule management device 1 edits a rule in which an event to be detected, an event occurrence condition, and a processing content at the time of event occurrence are described.
That is, the rule editor 11 of the rule management device 1 edits a rule using, for example, XML that is a general-purpose description language.
Further, the rule editor 11 analyzes the edited rule (for example, grammar check), and outputs a rule file including the edited rule to the converter 12 if there is no problem in the grammar of the rule.
In the example of FIG. 1, a plurality of monitoring devices 1 are connected to the network 2, and different rules may be edited for each monitoring device 1, or rules common to all the monitoring devices 1 may be edited. You may make it edit.
Also, a plurality of rules may be edited for each monitoring device 1.

ここで、図2はルール管理装置1のルールエディタ11により編集されるルールの形式を示す説明図である。
図2において、ruleSet101はルールファイルに含まれているルールの集合であり、rule102はruleSet101に含まれているルールである。
rule102はルールの適用条件を示す1つのexpression103と、ルール適用時に実行されるアクション(イベント発生時の処理内容)を示す1つ以上のactionから構成されている。
Here, FIG. 2 is an explanatory diagram showing a format of a rule edited by the rule editor 11 of the rule management device 1.
In FIG. 2, ruleSet 101 is a set of rules included in the rule file, and rule102 is a rule included in ruleSet 101.
The rule 102 includes one expression 103 indicating a rule application condition and one or more actions indicating an action (processing content when an event occurs) executed when the rule is applied.

expression103は単独の条件式であるcondition105、否定を表すnot106、論理積を表すand107、論理和を表すor108、条件式間の時間的関係を表すthen109のいずれかに該当する。
not106、and107、or108、then109の中では、expression103が再帰的に使用される。
then109には付随的な属性としてtime110があり、このtime110によって時間関係の詳細(例えば、30秒以内や1分後など)が表される。
The expression 103 corresponds to one of a condition 105 that is a single conditional expression, a not 106 that represents negation, an AND 107 that represents a logical product, an or 108 that represents a logical sum, and a ten 109 that represents a temporal relationship between the conditional expressions.
The expression 103 is used recursively in the not 106, and 107, or 108, and then 109.
There 109 has a time 110 as an accompanying attribute, and the time 110 represents details of time relation (for example, within 30 seconds or after 1 minute).

condition105はoperator111、event112、value113の各1つからなり、対象イベントを示すevent112とvalue113で示される値がoperator111で示される関係になると、イベントの発生条件を満足することになる。
action104は1つのdevice114と1つ以上のparameter115からなり、device114が示す制御対象27に対して、parameter115を渡すことによって、所定の制御が行われる。
The condition 105 includes one of each of an operator 111, an event 112, and a value 113. If the value indicated by the event 112 indicating the target event and the value 113 has a relationship indicated by the operator 111, the event generation condition is satisfied.
The action 104 includes one device 114 and one or more parameters 115, and predetermined control is performed by passing the parameters 115 to the control object 27 indicated by the devices 114.

図3はXMLで記述されているルールの一例を示す説明図である。
図3において、operatorの“EQ”は“equal”、“LE”は“less or equal”、“GE”は“greater or equal”、“LT”は“less than”を示している。
図3では、XMLで記述されているルールを示しているが、XML以外の汎用記述言語を使用して記述してもよい。また、ルールエンジン用に設計された専用のルール記述言語を使用して記述してもよい。
FIG. 3 is an explanatory diagram showing an example of rules described in XML.
In FIG. 3, “EQ” of the operator indicates “equal”, “LE” indicates “less or equal”, “GE” indicates “greater or equal”, and “LT” indicates “less than”.
Although FIG. 3 shows rules written in XML, it may be described using a general-purpose description language other than XML. Moreover, you may describe using the rule description language for exclusive use designed for rule engines.

ルール管理装置1のコンバータ12は、ルールエディタ11からルールを含むルールファイルを受けると、そのルールファイルをコンパクトファイルに変換する。
ルールファイルをコンパクトファイルに変換するコンパクト化は、文字列で表現されているルールの構成要素を記号で置き換えたり、構成要素間の関係をポインタで表現したりすることによって実現することができる。
例えば、XMLの各要素や属性(例えば、<rule>、“EQ”)を1バイトの記号で表現し、要素や属性間の階層構造をファイル内のオフセットによるポインタで表すことによって実現することができる。
When the converter 12 of the rule management device 1 receives a rule file including a rule from the rule editor 11, the converter 12 converts the rule file into a compact file.
Compacting that converts a rule file into a compact file can be realized by replacing the constituent elements of a rule expressed by a character string with symbols or by expressing the relationship between the constituent elements with pointers.
For example, it can be realized by expressing each element and attribute of XML (for example, <rule>, “EQ”) by a 1-byte symbol, and expressing a hierarchical structure between the elements and attributes by a pointer by an offset in the file. it can.

コンバータ12は、ルールファイルをコンパクトファイルに変換すると、ネットワーク2を介して、そのコンパクトファイルを監視装置3に配信する。
この際、同種の監視装置3(例えば、1つの監視システム内に多数存在する監視カメラなど)に同じルールを適用する場合には、同じコンパクトファイルを複数の監視装置3に配信するようにする。
これにより、配信対象の監視装置3のルールリポジトリ23には、ルール管理装置1から配信されたコンパクトファイルが格納される。
When the converter 12 converts the rule file into a compact file, the converter 12 distributes the compact file to the monitoring device 3 via the network 2.
At this time, when the same rule is applied to the same type of monitoring device 3 (for example, a large number of monitoring cameras in one monitoring system), the same compact file is distributed to a plurality of monitoring devices 3.
Thereby, the compact file distributed from the rule management device 1 is stored in the rule repository 23 of the monitoring device 3 to be distributed.

監視装置3のセンサ21は、例えば、温度や湿度などを検出する。
ここでは、温度や湿度などを検出する例を示しているが、これは一例に過ぎず、例えば、不審者などの動体を検出するようにしてもよい。
監視装置3のイベント検出部24は、センサ21の検出結果を監視して、イベントの発生を検出する。
例えば、温度が30度以上であることがイベントの検出条件である場合、センサ21の検出結果が温度30度以上を示していれば、イベントの発生を検出する。
The sensor 21 of the monitoring device 3 detects, for example, temperature and humidity.
Here, an example in which temperature, humidity, and the like are detected is shown, but this is only an example. For example, a moving object such as a suspicious person may be detected.
The event detection unit 24 of the monitoring device 3 monitors the detection result of the sensor 21 and detects the occurrence of the event.
For example, when the event detection condition is that the temperature is 30 degrees or higher, the occurrence of the event is detected if the detection result of the sensor 21 indicates that the temperature is 30 degrees or higher.

監視装置3のルール検索部25は、イベント検出部24がイベントの発生を検出すると、ルールリポジトリ23に格納されている1以上のルールの中から、イベント検出部24により検出されたイベントに対応するルールを検索する。
例えば、イベント検出部24により検出されたイベントが“温度が30度以上”である旨を示すイベントであれば、ルールリポジトリ23に格納されている1以上のルールの中から、イベントの検出対象が“温度“であり、イベントの発生条件が“温度が30度以上”であるイベントに係るルールを検索する。
The rule search unit 25 of the monitoring device 3 corresponds to the event detected by the event detection unit 24 from one or more rules stored in the rule repository 23 when the event detection unit 24 detects the occurrence of the event. Search for rules.
For example, if the event detected by the event detection unit 24 is an event indicating that the “temperature is 30 degrees or higher”, the event detection target is selected from one or more rules stored in the rule repository 23. A rule relating to an event having “temperature” and an event occurrence condition “temperature is 30 degrees or more” is searched.

監視装置3のルール実行部26は、ルール検索部25がイベントに対応するルールを検索すると、そのルールに記述されているaction(イベント発生時の処理内容)を実行することにより、制御対象27を制御する。
例えば、制御対象27がエアコンであれば、“温度が30度以上”になると、自動的にエアコンが起動されて、室内の温度が下げられる制御などが行われる。
When the rule search unit 25 searches for a rule corresponding to an event, the rule execution unit 26 of the monitoring device 3 executes the action (processing content when the event occurs) described in the rule, thereby controlling the control target 27. Control.
For example, if the control object 27 is an air conditioner, when the “temperature is 30 degrees or higher”, the air conditioner is automatically activated to control the temperature of the room to be lowered.

以上で明らかなように、この実施の形態1によれば、イベントの発生条件及びイベント発生時の処理内容が記述されているルールを格納するルールリポジトリ23と、イベントの発生を検出するイベント検出部24と、ルールリポジトリ23に格納されているルールの中から、イベント検出部24により検出されたイベントに対応するルールを検索するルール検索部25とを設け、ルール実行部26がルール検索部25により検索されたルールに記述されているイベント発生時の処理内容を実行するように構成したので、多くのイベントの検出が同時期に集中しても、イベントに対応する処理をリアルタイムに実行することができるとともに(各監視装置3がイベントの検出から制御までを独自に実施し、外部の制御用計算機が介在しないので、多くのイベントの検出が同時期に集中したときに、その制御用計算機の負荷が高くなることによって、レスポンスが低下してしまうような状況が発生しない)、ルール管理装置1がルールリポジトリ23に格納されているルールを入れ替えるだけで柔軟にイベントに対応する処理内容を変更することができる効果を奏する。   As is apparent from the above, according to the first embodiment, the rule repository 23 that stores the rules describing the event occurrence conditions and the processing contents at the time of the event occurrence, and the event detection unit that detects the occurrence of the event 24 and a rule search unit 25 for searching for a rule corresponding to the event detected by the event detection unit 24 from the rules stored in the rule repository 23. Since it is configured to execute the processing contents at the time of event occurrence described in the searched rule, even if detection of many events is concentrated at the same time, the processing corresponding to the event can be executed in real time (Since each monitoring device 3 performs its own process from event detection to control without an external control computer. When a large number of events are detected at the same time, there is no situation where the response is reduced due to an increase in the load on the control computer). There is an effect that the processing content corresponding to the event can be flexibly changed simply by replacing the stored rules.

また、この実施の形態1によれば、ルール管理装置1のコンバータ12がルールエディタ11により編集されたルールを含むルールファイルをコンパクトファイルに変換して、そのコンパクトファイルを監視装置3に配信するように構成したので、監視装置3の処理負荷やメモリ量を軽減することができる効果を奏する。
ただし、監視装置3の処理能力やメモリ量が十分ある場合には、コンバータ12がルールファイルをコンパクトファイルに変換することなく、そのルールファイルを監視装置3のルールリポジトリ23に格納するようにしてもよい。
Further, according to the first embodiment, the converter 12 of the rule management device 1 converts the rule file including the rules edited by the rule editor 11 into a compact file, and distributes the compact file to the monitoring device 3. Thus, the processing load and the memory amount of the monitoring device 3 can be reduced.
However, if the monitoring device 3 has sufficient processing capability and memory capacity, the converter 12 may store the rule file in the rule repository 23 of the monitoring device 3 without converting the rule file into a compact file. Good.

また、この実施の形態1によれば、ルール管理装置1のルールエディタ11が汎用の記述言語を使用してルールを編集するように構成したので、専用のルール記述言語を設計することなく、ルールを編集することができるようになり、設計費などの費用を低減することができる効果を奏する。   Further, according to the first embodiment, since the rule editor 11 of the rule management device 1 is configured to edit rules using a general-purpose description language, the rules can be created without designing a dedicated rule description language. Can be edited, and there is an effect that costs such as design costs can be reduced.

実施の形態2.
図4はこの発明の実施の形態2による監視システムを示す構成図であり、図において、図1と同一符号は同一または相当部分を示すので説明を省略する。
ルールリポジトリ格納サーバ4はルールリポジトリ41を格納している外部サーバであり、ルールリポジトリ41はルール管理装置1から配信されたルールを少なくとも1以上格納するメモリである。
監視コンポーネント用ルールエンジン22のルール収集部28はルールリポジトリ格納サーバ4にアクセスして、イベント検出部24により検出されたイベントに対応するルールを収集する処理を実施する。なお、ルール収集部28はルール収集手段を構成している。
Embodiment 2. FIG.
4 is a block diagram showing a monitoring system according to Embodiment 2 of the present invention. In the figure, the same reference numerals as those in FIG.
The rule repository storage server 4 is an external server that stores a rule repository 41, and the rule repository 41 is a memory that stores at least one rule distributed from the rule management device 1.
The rule collection unit 28 of the monitoring component rule engine 22 accesses the rule repository storage server 4 and performs a process of collecting a rule corresponding to the event detected by the event detection unit 24. The rule collection unit 28 constitutes a rule collection unit.

次に動作について説明する。
まず、ルール管理装置1のルールエディタ11は、上記実施の形態1と同様に、例えば、汎用の記述言語であるXMLを使用してルールを編集する。
また、編集したルールを解析(例えば、文法チェック)し、そのルールの文法等に問題がなければ、編集完了後のルールを含むルールファイルをコンバータ12に出力する。
Next, the operation will be described.
First, the rule editor 11 of the rule management device 1 edits a rule using XML, which is a general-purpose description language, for example, as in the first embodiment.
Further, the edited rule is analyzed (for example, grammar check), and if there is no problem in the grammar of the rule, a rule file including the edited rule is output to the converter 12.

ルール管理装置1のコンバータ12は、ルールエディタ11からルールを含むルールファイルを受けると、上記実施の形態1と同様に、そのルールファイルをコンパクトファイルに変換する。
コンバータ12は、ルールファイルをコンパクトファイルに変換すると、ネットワーク2を介して、そのコンパクトファイルをルールリポジトリ格納サーバ4に配信する。
これにより、コンパクトファイルがルールリポジトリ格納サーバ4のルールリポジトリ41に格納される。
When the converter 12 of the rule management device 1 receives a rule file including a rule from the rule editor 11, the converter 12 converts the rule file into a compact file as in the first embodiment.
When converting the rule file into a compact file, the converter 12 distributes the compact file to the rule repository storage server 4 via the network 2.
As a result, the compact file is stored in the rule repository 41 of the rule repository storage server 4.

監視装置3のセンサ21は、上記実施の形態1と同様に、例えば、温度や湿度などを検出する。
監視装置3のイベント検出部24は、上記実施の形態1と同様に、センサ21の検出結果を監視して、イベントの発生を検出する。
The sensor 21 of the monitoring device 3 detects temperature, humidity, and the like, for example, as in the first embodiment.
The event detection unit 24 of the monitoring device 3 monitors the detection result of the sensor 21 and detects the occurrence of the event, as in the first embodiment.

監視装置3のルール収集部28は、イベント検出部24がイベントの発生を検出すると、ルールリポジトリ格納サーバ4にアクセスして、イベント検出部24により検出されたイベントに対応するルールを収集する。
例えば、イベント検出部24により検出されたイベントが“温度が30度以上”である旨を示すイベントであれば、ルールリポジトリ格納サーバ4のルールリポジトリ41に格納されている1以上のルールの中から、イベントの検出対象が“温度“であり、イベントの発生条件が“温度が30度以上”であるイベントに係るルールを検索して収集する。
When the event detection unit 24 detects the occurrence of an event, the rule collection unit 28 of the monitoring device 3 accesses the rule repository storage server 4 and collects rules corresponding to the event detected by the event detection unit 24.
For example, if the event detected by the event detection unit 24 is an event indicating that the “temperature is 30 degrees or higher”, the event is detected from one or more rules stored in the rule repository 41 of the rule repository storage server 4. The event detection target is “temperature”, and the rule relating to the event whose event occurrence condition is “temperature is 30 degrees or higher” is retrieved and collected.

監視装置3のルール実行部26は、ルール収集部28がイベントに対応するルールを収集すると、そのルールに記述されているaction(イベント発生時の処理内容)を実行することにより、制御対象27を制御する。
例えば、制御対象27がエアコンであれば、“温度が30度以上”になると、自動的にエアコンが起動されて、室内の温度が下げられる制御などが行われる。
When the rule collection unit 28 collects the rule corresponding to the event, the rule execution unit 26 of the monitoring device 3 executes the action (processing content when the event occurs) described in the rule, thereby controlling the control target 27. Control.
For example, if the control object 27 is an air conditioner, when the “temperature is 30 degrees or higher”, the air conditioner is automatically activated to control the temperature of the room to be lowered.

以上で明らかなように、この実施の形態2によれば、監視装置3のルール収集部28がルールリポジトリ格納サーバ4にアクセスして、イベント検出部24により検出されたイベントに対応するルールを収集するように構成したので、上記実施の形態1と同様の効果を奏するほかに、監視装置3内にルールリポジトリ23を搭載する必要がなくなり、その結果、監視装置3に必要なリソース量を低減することができる効果を奏する。また、同じルールを適用する監視装置3毎に、同一のコンパクトファイルを格納する必要がなくなるため、無駄がなくなり、保守性も向上する。   As is clear from the above, according to the second embodiment, the rule collection unit 28 of the monitoring device 3 accesses the rule repository storage server 4 and collects rules corresponding to the events detected by the event detection unit 24. In addition to the same effects as those of the first embodiment, it is not necessary to install the rule repository 23 in the monitoring device 3, and as a result, the amount of resources required for the monitoring device 3 is reduced. There is an effect that can be. In addition, since it is not necessary to store the same compact file for each monitoring device 3 to which the same rule is applied, waste is eliminated and maintainability is improved.

なお、この実施の形態2では、ルール管理装置1と別個にルールリポジトリ格納サーバ4を設けている例を示したが、ルール管理装置1とルールリポジトリ格納サーバ4を一体化して、ルール管理装置1がルールリポジトリ41を内蔵するようにしてもよい。   In the second embodiment, the rule repository storage server 4 is provided separately from the rule management device 1. However, the rule management device 1 is integrated with the rule repository storage server 4. The rule repository 41 may be built in.

この発明の実施の形態1による監視システムを示す構成図である。It is a block diagram which shows the monitoring system by Embodiment 1 of this invention. ルール管理装置1のルールエディタ11により編集されるルールの形式を示す説明図である。It is explanatory drawing which shows the format of the rule edited by the rule editor 11 of the rule management apparatus 1. FIG. XMLで記述されているルールの一例を示す説明図である。It is explanatory drawing which shows an example of the rule described by XML. この発明の実施の形態2による監視システムを示す構成図である。It is a block diagram which shows the monitoring system by Embodiment 2 of this invention.

符号の説明Explanation of symbols

1 ルール管理装置、2 ネットワーク、3 監視装置、4 ルールリポジトリ格納サーバ(外部サーバ)、11 ルールエディタ、12 コンバータ、21 センサ、22 監視コンポーネント用ルールエンジン、23 ルールリポジトリ(ルール格納手段)、24 イベント検出部(イベント検出手段)、25 ルール検索部(ルール検索手段)、26 ルール実行部(ルール実行手段)、27 制御対象、28 ルール収集部(ルール収集手段)、41 ルールリポジトリ、101 ruleSet、102 rule、103 expression、104 action、105 condition、106 not、107 and、108 or、109 then、110 time、111 operator、112 event、113 value、114 device、115 parameter。   1 rule management device, 2 network, 3 monitoring device, 4 rule repository storage server (external server), 11 rule editor, 12 converter, 21 sensor, 22 rule engine for monitoring components, 23 rule repository (rule storage means), 24 events Detection unit (event detection unit), 25 rule search unit (rule search unit), 26 rule execution unit (rule execution unit), 27 control target, 28 rule collection unit (rule collection unit), 41 rule repository, 101 ruleSet, 102 rule, 103 expression, 104 action, 105 condition, 106 not, 107 and, 108 or, 109 then, 110 time, 111 operator, 112 event, 13 value, 114 device, 115 parameter.

Claims (8)

検出対象のイベント、イベントの発生条件及びイベント発生時の処理内容が記述されているルールを格納するルール格納手段と、イベントの発生を検出するイベント検出手段と、上記ルール格納手段に格納されているルールの中から、上記イベント検出手段により検出されたイベントに対応するルールを検索するルール検索手段と、上記ルール検索手段により検索されたルールに記述されているイベント発生時の処理内容を実行するルール実行手段とを備えた監視装置。   Stored in a rule storage means for storing an event to be detected, an event occurrence condition, and a rule describing processing contents at the time of the event occurrence, an event detection means for detecting the occurrence of an event, and the rule storage means A rule search means for searching for a rule corresponding to the event detected by the event detection means from among the rules, and a rule for executing the processing contents when an event occurs described in the rule searched by the rule search means And a monitoring device. イベントの発生を検出するイベント検出手段と、検出対象のイベント、イベントの発生条件及びイベント発生時の処理内容が記述されているルールを格納している外部サーバにアクセスして、上記イベント検出手段により検出されたイベントに対応するルールを収集するルール収集手段と、上記ルール収集手段により収集されたルールに記述されているイベント発生時の処理内容を実行するルール実行手段とを備えた監視装置。   Event detection means for detecting the occurrence of an event, and an external server storing a rule describing the event to be detected, the event occurrence condition, and the processing content at the time of the event occurrence, and the event detection means A monitoring apparatus comprising: rule collection means for collecting rules corresponding to detected events; and rule execution means for executing processing contents when an event occurs described in the rules collected by the rule collection means. 検出対象のイベント、イベントの発生条件及びイベント発生時の処理内容が記述されているルールを編集して、上記ルールを配信するルール管理装置と、上記ルール管理装置から配信されたルールを格納するルール格納手段と、イベントの発生を検出するイベント検出手段と、上記ルール格納手段に格納されているルールの中から、上記イベント検出手段により検出されたイベントに対応するルールを検索するルール検索手段と、上記ルール検索手段により検索されたルールに記述されているイベント発生時の処理内容を実行するルール実行手段とを備えた監視システム。   A rule management device that edits a rule that describes an event to be detected, an event occurrence condition, and processing contents at the time of the event, and distributes the rule, and a rule that stores the rule distributed from the rule management device A storage means; an event detection means for detecting the occurrence of an event; and a rule search means for searching for a rule corresponding to the event detected by the event detection means from the rules stored in the rule storage means; A monitoring system comprising rule execution means for executing processing contents when an event occurs described in the rule searched by the rule search means. 検出対象のイベント、イベントの発生条件及びイベント発生時の処理内容が記述されているルールを編集して、上記ルールを配信するルール管理装置と、上記ルール管理装置から配信されたルールを格納する外部サーバと、イベントの発生を検出するイベント検出手段と、上記外部サーバにアクセスして、上記イベント検出手段により検出されたイベントに対応するルールを収集するルール収集手段と、上記ルール収集手段により収集されたルールに記述されているイベント発生時の処理内容を実行するルール実行手段とを備えた監視システム。   Edit a rule that describes the event to be detected, the event occurrence condition, and the processing content at the time of the event, and distribute the rule, and the external that stores the rule distributed from the rule management device A server, event detection means for detecting the occurrence of an event, rule collection means for accessing the external server and collecting a rule corresponding to the event detected by the event detection means, and collected by the rule collection means. And a rule execution means for executing processing contents when an event described in the rule is generated. ルール管理装置は、編集後のルールを含むルールファイルをコンパクトファイルに変換して、上記コンパクトファイルを配信することを特徴とする請求項3または請求項4記載の監視システム。   The monitoring system according to claim 3 or 4, wherein the rule management device converts a rule file including the edited rule into a compact file and distributes the compact file. ルール管理装置は、ルールの構成要素を1バイトの記号で表現し、構成要素間の階層構造をファイル内のオフセットによるポインタで表すことによって、ルールファイルをコンパクトファイルに変換することを特徴とする請求項5記載の監視システム。   The rule management device converts a rule file into a compact file by expressing a rule component by a 1-byte symbol and expressing a hierarchical structure between the components by a pointer by an offset in the file. Item 6. The monitoring system according to Item 5. ルール管理装置は、汎用の記述言語を使用してルールを編集することを特徴とする請求項3から請求項6のうちのいずれか1項記載の監視システム。   The monitoring system according to any one of claims 3 to 6, wherein the rule management device edits the rule using a general-purpose description language. ルール管理装置は、汎用の記述言語として、XMLを使用することを特徴とする請求項7記載の監視システム。   8. The monitoring system according to claim 7, wherein the rule management device uses XML as a general-purpose description language.
JP2008070873A 2008-03-19 2008-03-19 Monitoring device and monitoring system Pending JP2009231855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008070873A JP2009231855A (en) 2008-03-19 2008-03-19 Monitoring device and monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008070873A JP2009231855A (en) 2008-03-19 2008-03-19 Monitoring device and monitoring system

Publications (1)

Publication Number Publication Date
JP2009231855A true JP2009231855A (en) 2009-10-08

Family

ID=41246837

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008070873A Pending JP2009231855A (en) 2008-03-19 2008-03-19 Monitoring device and monitoring system

Country Status (1)

Country Link
JP (1) JP2009231855A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0583253A (en) * 1991-09-25 1993-04-02 Nec Corp Network monitor system
JP2005018341A (en) * 2003-06-25 2005-01-20 Omron Corp Event-driven program execution device, security system and program
JP2005072792A (en) * 2003-08-21 2005-03-17 Seiko Epson Corp Terminal management system, terminal, terminal management method, terminal management program, and computer-readable recording medium recording the terminal management program
JP2006072784A (en) * 2004-09-03 2006-03-16 Hitachi Information Systems Ltd Integrated monitoring system
JP2006143473A (en) * 2004-10-18 2006-06-08 Kuma Lift Gijutsu Kenkyusho:Kk Remote monitoring system and terminal unit
JP2007288447A (en) * 2006-04-14 2007-11-01 Matsushita Electric Works Ltd Remote monitoring system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0583253A (en) * 1991-09-25 1993-04-02 Nec Corp Network monitor system
JP2005018341A (en) * 2003-06-25 2005-01-20 Omron Corp Event-driven program execution device, security system and program
JP2005072792A (en) * 2003-08-21 2005-03-17 Seiko Epson Corp Terminal management system, terminal, terminal management method, terminal management program, and computer-readable recording medium recording the terminal management program
JP2006072784A (en) * 2004-09-03 2006-03-16 Hitachi Information Systems Ltd Integrated monitoring system
JP2006143473A (en) * 2004-10-18 2006-06-08 Kuma Lift Gijutsu Kenkyusho:Kk Remote monitoring system and terminal unit
JP2007288447A (en) * 2006-04-14 2007-11-01 Matsushita Electric Works Ltd Remote monitoring system

Similar Documents

Publication Publication Date Title
US20200160297A1 (en) Tracking processed machine data
US11068323B2 (en) Automatic registration of empty pointers
US20210109748A1 (en) Application programming interface for a registry
US11210072B2 (en) System for generating a map illustrating bindings
JP4458493B2 (en) Log notification condition definition support apparatus, log monitoring system, program, and log notification condition definition support method
CN109684370A (en) Daily record data processing method, system, equipment and storage medium
US20190260831A1 (en) Distributed integrated fabric
JP2006501566A (en) System and method for providing access to user interface information
US10567557B2 (en) Automatically adjusting timestamps from remote systems based on time zone differences
US20200336532A1 (en) Identifying un-deployed features of an application
US11314757B2 (en) Search results modulator
CN115576974B (en) Data processing method, device, equipment and medium
CN113568841A (en) Risk detection method, device and equipment for applet
KR101631032B1 (en) Data storing system and method based on unstructured data filtering and common format conversion
WO2015093687A1 (en) Data processing system
JP2009231855A (en) Monitoring device and monitoring system
JP6832366B2 (en) Information storage device, information storage method and program
KR20130089294A (en) Context awareness apparatus and method for improving reasoning efficiency thereof
CN114385946A (en) Data structure editing method and device, electronic equipment and storage medium
US20240019849A1 (en) Operator Centric System for Resolution of Abnormal Situations in a Plant
Zou et al. Design of Remote Video Surveillance System Based on Cloud Computing
US20220317650A1 (en) Analysis apparatus, control method thereof, and analysis system
Zelaya et al. Human Machine Interface for data acquisition systems applied in High Energy Physics
CN116882386A (en) Method and device for displaying project product dependency relationship
JP5003293B2 (en) Data search device, data search system, data search method, and data search program

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20101216

Free format text: JAPANESE INTERMEDIATE CODE: A621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120410

A131 Notification of reasons for refusal

Effective date: 20120417

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Effective date: 20120814

Free format text: JAPANESE INTERMEDIATE CODE: A02