JP2014016708A - Rule creation device - Google Patents
Rule creation device Download PDFInfo
- Publication number
- JP2014016708A JP2014016708A JP2012152402A JP2012152402A JP2014016708A JP 2014016708 A JP2014016708 A JP 2014016708A JP 2012152402 A JP2012152402 A JP 2012152402A JP 2012152402 A JP2012152402 A JP 2012152402A JP 2014016708 A JP2014016708 A JP 2014016708A
- Authority
- JP
- Japan
- Prior art keywords
- template
- rule
- profile
- device identifier
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
本発明は、テンプレートを用いてルールを作成するルール作成装置、ルール作成方法、およびそのプログラムに関する。 The present invention relates to a rule creation device, a rule creation method, and a program for creating a rule using a template.
大量に存在する機器と機器がネットワークを介して相互に通信し、人手を介さずに連携することでサービスを提供するM2M(Machine To Machine)サービスとよばれるサービス形態がある。 There is a service form called M2M (Machine To Machine) service that provides a service by communicating a large amount of devices and devices with each other via a network and cooperating without human intervention.
ここで言う機器とは、パソコンやサーバといったコンピュータだけでなく、工場の工作機械、自動車、エアコン、監視カメラ、温度センサ等、様々なものを含む。各機器は様々な機能を提供するデバイスを備える。例えば、自動車は、位置を測定する機能を提供するGPSデバイスや、ナビゲーション情報を表示する機能を提供するモニタデバイス等を備える。温度センサ等は、機器自体が1つの機能を提供するデバイスである。 The equipment mentioned here includes not only computers such as personal computers and servers, but also various devices such as factory machine tools, automobiles, air conditioners, surveillance cameras, and temperature sensors. Each device includes devices that provide various functions. For example, an automobile includes a GPS device that provides a function of measuring a position, a monitor device that provides a function of displaying navigation information, and the like. A temperature sensor or the like is a device in which the device itself provides one function.
また、デバイス間で流通する通信内容をイベントと呼ぶ。すなわち、M2Mサービスとは、デバイス間でイベントを流通させることで、各デバイスが提供する機能を用いてサービスを実現することである。 In addition, communication contents distributed between devices are called events. In other words, the M2M service is to realize a service using a function provided by each device by distributing an event between the devices.
例えば、周囲の気温を計測し温度情報というイベントを生成する温度センサというデバイスと、周囲の気温を制御するエアコンというデバイスを用いて、温度センサから温度情報イベントをエアコンに流通させることで空調管理、例えば温度情報イベントが30度以上ならエアコンの設定温度を1度下げる、といったことを実現するM2Mサービス等が考えられる。 For example, using a device called a temperature sensor that measures the ambient temperature and generates an event called temperature information, and a device called an air conditioner that controls the ambient temperature, air temperature management is performed by distributing temperature information events from the temperature sensor to the air conditioner. For example, if the temperature information event is 30 degrees or more, an M2M service or the like that realizes that the set temperature of the air conditioner is lowered by 1 degree can be considered.
実際にM2Mサービスを実現する方法としては、図12に示すように、全デバイスをM2M管理システムに接続し、このM2M管理システムが、デバイスで生成されたイベントを受信し、別の適切なデバイスに流通させるという方法がある(例えば、非特許文献1参照)。M2M管理システムは、M2Mプラットフォームとも呼ばれる。この方式では、イベントの流通の制御にルールを用いる。すなわち、M2M管理システムの記憶装置にデバイス間のイベントの流通規則であるルールを記憶し、そのルールに従ってM2M管理システムのプロセッサがイベントの流通を制御する。 As a method of actually realizing the M2M service, as shown in FIG. 12, all the devices are connected to the M2M management system, and this M2M management system receives the event generated by the device and sends it to another appropriate device. There is a method of distributing (see, for example, Non-Patent Document 1). The M2M management system is also called an M2M platform. In this method, rules are used to control the distribution of events. That is, a rule that is a distribution rule for events between devices is stored in the storage device of the M2M management system, and a processor of the M2M management system controls distribution of events according to the rule.
図13は、ルールの構成を示す。図13に示すように、ルールは、ルール名と条件部と実行部とから構成される。ルール名は、ルールを一意に識別する識別子である。 FIG. 13 shows a rule configuration. As shown in FIG. 13, a rule is composed of a rule name, a condition part, and an execution part. The rule name is an identifier that uniquely identifies the rule.
条件部は、当該ルールが適用されてイベントの流通が実行される条件を記述する。条件部は、送信デバイス識別子とイベント条件とを有する。送信デバイス識別子は、イベントを生成したデバイスを一意に定める識別子である。イベント条件は、生成されたイベントを表す。 The condition part describes a condition under which the rule is applied and event distribution is executed. The condition part has a transmission device identifier and an event condition. The transmission device identifier is an identifier that uniquely defines the device that generated the event. The event condition represents a generated event.
また実行部は、当該ルールが適用された場合の流通処理の内容を記述する。実行部は、受信デバイス識別子と通知イベント(通知メッセージとも言う)とを有する。受信デバイス識別子は、イベントを受信するデバイスを一意に定める識別子である。通知イベントは、受信させるイベントを表す。 The execution unit describes the contents of the distribution process when the rule is applied. The execution unit includes a receiving device identifier and a notification event (also referred to as a notification message). The receiving device identifier is an identifier that uniquely defines a device that receives an event. The notification event represents an event to be received.
図14は、ルールを用いたM2Mサービスの例を示す。図14に示すM2Mサービスでは、Room1〜4の4つの部屋に分散して配置された、温度計TM1〜TM2、エアコンAC1〜AC4、振動センサBS1〜BS3、人感センサHS1〜HS4を図示しないネットワーク経由で接続し、幾つかのルールによって連携させている。例えば、Room1に配置された温度計TM1とエアコンAC1とを、ルール名「エアコン制御1」のルールによって連携させている。またRoom2に配置された温度計TM2とエアコンAC2とを、ルール名「エアコン制御2」のルールによって連携させている。
FIG. 14 shows an example of an M2M service using rules. In the M2M service shown in FIG. 14, the thermometers TM1 to TM2, the air conditioners AC1 to AC4, the vibration sensors BS1 to BS3, and the human sensors HS1 to HS4, which are arranged in four rooms of Rooms 1 to 4, are not shown. Connected via, and linked by some rules. For example, the thermometer TM1 and the air conditioner AC1 arranged in the Room 1 are linked according to the rule of the rule name “air conditioner control 1”. Further, the thermometer TM2 and the air conditioner AC2 arranged in the
図15は、M2Mサービスで使用するルールを作成する手順を示す。まずルール作成者は、条件部の送信デバイスの識別子を記述する(ステップS101)。次にルール作成者は、条件部のイベント条件を記述する(ステップS102)。次にルール作成者は、実行部の受信デバイス識別子を記述する(ステップS103)。次にルール作成者は、実行部の通知メッセージを記述する(ステップS104)。最後にルール作成者は、ルール名を記述する(ステップS105)。各ステップの実行順序は上記に限らず任意でよい。 FIG. 15 shows a procedure for creating a rule used in the M2M service. First, the rule creator describes the identifier of the transmission device in the condition part (step S101). Next, the rule creator describes the event condition in the condition part (step S102). Next, the rule creator describes the receiving device identifier of the execution unit (step S103). Next, the rule creator describes a notification message from the execution unit (step S104). Finally, the rule creator describes the rule name (step S105). The execution order of each step is not limited to the above, and may be arbitrary.
しかし、M2Mサービスでは、対象とするデバイスの数が非常に多いため、使用するルールの数も多く、それらを全て手作業で作成するのは非現実的である。このように大量のルールを作成する際の課題を解決する方法として、テンプレートを用いてルールを作成する技術がある(例えば特許文献1参照)。 However, since the number of target devices is very large in the M2M service, the number of rules to be used is also large, and it is impractical to create all of them manually. As a method for solving the problem when creating a large number of rules in this way, there is a technique for creating rules using a template (see, for example, Patent Document 1).
テンプレートは、多くのルールで共通となる部分を事前に設定し、ルール毎に異なる部分を空欄として任意の値を入力できるようにした、ルールのひな形である。M2Mサービスでは、図14に示されるように、同種類のデバイス間には、イベント条件と通知メッセージがほぼ同じルールを使用することが多い。そのため、M2Mサービスでは、送信デバイスと受信デバイスの組毎に、所望のイベント条件と通知メッセージを設定し、送信デバイスと受信デバイスの識別子の欄は空欄としたテンプレートを用いれば良い。 A template is a template of a rule in which a part common to many rules is set in advance, and an arbitrary value can be input with a different part for each rule being blank. In the M2M service, as shown in FIG. 14, event conditions and notification messages often use the same rules between devices of the same type. Therefore, in the M2M service, a template may be used in which desired event conditions and notification messages are set for each pair of transmitting device and receiving device, and the identifier field of the transmitting device and receiving device is blank.
図16は、テンプレートを用いてルールを作成する手順を示す。まずルール作成者は、ルール作成対象とする送信デバイスと受信デバイスの組に適したテンプレートを選択する(ステップS111)。次にルール作成者は、選択したテンプレートに送信デバイスの識別子を記述する(ステップS112)。次にルール作成者は、選択したテンプレートに受信デバイスの識別子を記述する(ステップS113)。最後にルール作成者は、選択したテンプレートにルール名を記述する(ステップS114)。ステップS112〜S114の実行順序は上記に限らず任意でよい。 FIG. 16 shows a procedure for creating a rule using a template. First, the rule creator selects a template suitable for a set of a transmission device and a reception device as a rule creation target (step S111). Next, the rule creator describes the identifier of the transmission device in the selected template (step S112). Next, the rule creator describes the identifier of the receiving device in the selected template (step S113). Finally, the rule creator describes the rule name in the selected template (step S114). The execution order of steps S112 to S114 is not limited to the above, and may be arbitrary.
図17は、テンプレートを用いたルール作成の具体例を示す。この具体例では、照明制御用のテンプレートを用いて、人感センサの識別子と照明の識別子との部分が相違する複数のルールを作成している。 FIG. 17 shows a specific example of rule creation using a template. In this specific example, a plurality of rules having different portions of the identifier of the human sensor and the identifier of the illumination are created using a template for lighting control.
以上のように、テンプレートを用いたルール作成では、特に煩雑なイベント条件と通知メッセージの記述を省くことができるため、ルール作成の手間を大幅に削減することが可能となる。しかしながら、テンプレートを用いるルール作成では、テンプレートを選択する必要がある。多くのテンプレートの中から適切なテンプレートを選択する作業は、テンプレートの数が多くなればなるほど困難になる。前述したとおり、M2Mサービスでは対象とするデバイスの種類が多いためテンプレートの数も多くなり、適切なテンプレートの選択がより一層困難になる。 As described above, rule creation using a template can omit a particularly troublesome event condition and description of a notification message, so that the labor for rule creation can be greatly reduced. However, when creating a rule using a template, it is necessary to select a template. The task of selecting an appropriate template from among many templates becomes more difficult as the number of templates increases. As described above, in the M2M service, since there are many types of target devices, the number of templates increases, and it becomes more difficult to select an appropriate template.
本発明の目的は、上述したような課題、すなわち、数多くのテンプレートの中から適切なテンプレートを選択するのは困難である、という課題を解決するルール作成装置を提供することにある。 An object of the present invention is to provide a rule creation apparatus that solves the above-described problem, that is, it is difficult to select an appropriate template from a large number of templates.
本発明の一形態にかかるルール作成装置は、
それぞれがテンプレート名とイベント条件と通知メッセージと送信デバイス制約と受信デバイス制約とを有する複数のテンプレートを記憶するテンプレート記憶手段と、デバイス識別子とデバイスに関する各種の情報とを有する複数のデバイスプロファイルを記憶するプロファイル記憶手段と、上記テンプレート記憶手段と上記プロファイル記憶手段とに接続された処理装置とを備え、
上記処理装置は、
送信デバイス識別子と受信デバイス識別子とを有する第1の入力情報を入力する第1の入力手段と、
上記複数のデバイスプロファイルの中から、上記入力した上記第1の入力情報中の上記送信デバイス識別子に一致する上記デバイス識別子を有する上記デバイスプロファイルをテンプレート選択用送信プロファイルとして選択すると共に、上記入力した上記第1の入力情報中の上記受信デバイス識別子に一致する上記デバイス識別子を有する上記デバイスプロファイルをテンプレート選択用受信プロファイルとして選択する第1のプロファイル選択手段と、
上記複数のテンプレートの中から、上記テンプレート選択用送信プロファイルに記述された上記デバイスに関する各種の情報が上記送信デバイス制約を満足し且つ上記テンプレート選択用受信プロファイルに記述された上記デバイスに関する情報が上記受信デバイス制約を満足する上記テンプレートを選択するテンプレート選択手段と、
上記入力した上記第1の入力情報中の上記送信デバイス識別子と上記選択した上記テンプレート中の上記イベント条件とを含む条件部と、上記入力した上記第1の入力情報中の上記受信デバイス識別子と上記選択した上記テンプレート中の上記通知メッセージとを含む実行部と、一意なルール名とを有するルールを作成する第1のルール作成手段と
を有する。
The rule creation device according to one aspect of the present invention is:
A template storage unit that stores a plurality of templates each having a template name, an event condition, a notification message, a transmission device constraint, and a reception device constraint, and a plurality of device profiles each having a device identifier and various information about the device are stored. A profile storage means, a processing device connected to the template storage means and the profile storage means,
The processing device
First input means for inputting first input information having a transmitting device identifier and a receiving device identifier;
The device profile having the device identifier that matches the transmission device identifier in the input first input information is selected as a template selection transmission profile from the plurality of device profiles. First profile selection means for selecting, as a template selection reception profile, the device profile having the device identifier that matches the reception device identifier in the first input information;
Among the plurality of templates, various information related to the device described in the template selection transmission profile satisfies the transmission device restriction, and information related to the device described in the template selection reception profile is received. A template selection means for selecting the template that satisfies the device constraints;
A condition part including the transmitting device identifier in the input first input information and the event condition in the selected template; the receiving device identifier in the input first input information; and An execution unit including the notification message in the selected template, and a first rule creation unit that creates a rule having a unique rule name;
また本発明の他の形態にかかるルール作成方法は、
それぞれがテンプレート名とイベント条件と通知メッセージと送信デバイス制約と受信デバイス制約とを有する複数のテンプレートを記憶するテンプレート記憶手段と、デバイス識別子とデバイスに関する各種の情報とを有する複数のデバイスプロファイルを記憶するプロファイル記憶手段と、上記テンプレート記憶手段と上記プロファイル記憶手段とに接続された処理装置とを備え、
上記処理装置が、
送信デバイス識別子と受信デバイス識別子とを有する第1の入力情報を入力し、
上記複数のデバイスプロファイルの中から、上記入力した上記第1の入力情報中の上記送信デバイス識別子に一致する上記デバイス識別子を有する上記デバイスプロファイルをテンプレート選択用送信プロファイルとして選択すると共に、上記入力した上記第1の入力情報中の上記受信デバイス識別子に一致する上記デバイス識別子を有する上記デバイスプロファイルをテンプレート選択用受信プロファイルとして選択し、
上記複数のテンプレートの中から、上記テンプレート選択用送信プロファイルに記述された上記デバイスに関する各種の情報が上記送信デバイス制約を満足し且つ上記テンプレート選択用受信プロファイルに記述された上記デバイスに関する情報が上記受信デバイス制約を満足する上記テンプレートを選択し、
上記入力した上記第1の入力情報中の上記送信デバイス識別子と上記選択した上記テンプレート中の上記イベント条件とを含む条件部と、上記入力した上記第1の入力情報中の上記受信デバイス識別子と上記選択した上記テンプレート中の上記通知メッセージとを含む実行部と、一意なルール名とを有するルールを作成する。
A rule creation method according to another aspect of the present invention includes:
A template storage unit that stores a plurality of templates each having a template name, an event condition, a notification message, a transmission device constraint, and a reception device constraint, and a plurality of device profiles each having a device identifier and various information about the device are stored. A profile storage means, a processing device connected to the template storage means and the profile storage means,
The processing device is
Input first input information having a transmitting device identifier and a receiving device identifier;
The device profile having the device identifier that matches the transmission device identifier in the input first input information is selected as a template selection transmission profile from the plurality of device profiles. Selecting the device profile having the device identifier matching the reception device identifier in the first input information as a template selection reception profile;
Among the plurality of templates, various information related to the device described in the template selection transmission profile satisfies the transmission device restriction, and information related to the device described in the template selection reception profile is received. Select the above template that satisfies the device constraints,
A condition part including the transmitting device identifier in the input first input information and the event condition in the selected template; the receiving device identifier in the input first input information; and A rule having an execution part including the notification message in the selected template and a unique rule name is created.
また本発明の他の形態にかかるプログラムは、
それぞれがテンプレート名とイベント条件と通知メッセージと送信デバイス制約と受信デバイス制約とを有する複数のテンプレートと、デバイス識別子とデバイスに関する各種の情報とを有する複数のデバイスプロファイルとを記憶する記憶部に接続されたプロセッサに、
送信デバイス識別子と受信デバイス識別子とを有する第1の入力情報を入力するステップと、
上記複数のデバイスプロファイルの中から、上記入力した上記第1の入力情報中の上記送信デバイス識別子に一致する上記デバイス識別子を有する上記デバイスプロファイルをテンプレート選択用送信プロファイルとして選択すると共に、上記入力した上記第1の入力情報中の上記受信デバイス識別子に一致する上記デバイス識別子を有する上記デバイスプロファイルをテンプレート選択用受信プロファイルとして選択するステップと、
上記複数のテンプレートの中から、上記テンプレート選択用送信プロファイルに記述された上記デバイスに関する各種の情報が上記送信デバイス制約を満足し且つ上記テンプレート選択用受信プロファイルに記述された上記デバイスに関する情報が上記受信デバイス制約を満足する上記テンプレートを選択するステップと、
上記入力した上記第1の入力情報中の上記送信デバイス識別子と上記選択した上記テンプレート中の上記イベント条件とを含む条件部と、上記入力した上記第1の入力情報中の上記受信デバイス識別子と上記選択した上記テンプレート中の上記通知メッセージとを含む実行部と、一意なルール名とを有するルールを作成するステップと
を行わせる。
A program according to another embodiment of the present invention is
Each is connected to a storage unit for storing a plurality of templates each having a template name, an event condition, a notification message, a transmission device restriction, and a reception device restriction, and a plurality of device profiles each having a device identifier and various information related to the device. Processor
Inputting first input information having a transmitting device identifier and a receiving device identifier;
The device profile having the device identifier that matches the transmission device identifier in the input first input information is selected as a template selection transmission profile from the plurality of device profiles. Selecting the device profile having the device identifier that matches the reception device identifier in the first input information as a template selection reception profile;
Among the plurality of templates, various information related to the device described in the template selection transmission profile satisfies the transmission device restriction, and information related to the device described in the template selection reception profile is received. Selecting the template that satisfies the device constraints;
A condition part including the transmitting device identifier in the input first input information and the event condition in the selected template; the receiving device identifier in the input first input information; and An execution unit including the notification message in the selected template and a step of creating a rule having a unique rule name are performed.
本発明は上述した構成を有するため、ルール中に記述する送信デバイス識別子および受信デバイス識別子を入力するだけで適切なテンプレートが自動的に選択されるため、余分な手間をかけずにルールを効率良く作成することが可能になる。 Since the present invention has the above-described configuration, an appropriate template is automatically selected simply by inputting a transmitting device identifier and a receiving device identifier described in the rule, so that the rule can be efficiently executed without extra effort. It becomes possible to create.
次に本発明の実施の形態について図面を参照して詳細に説明する。
[第1の実施形態]
図1を参照すると、本発明の第1の実施形態にかかるルール作成装置100は、通信I/F(インターフェース)部110、操作入力部120、画面表示部130、記憶部140、および演算処理部150を有する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.
[First embodiment]
Referring to FIG. 1, a rule creation device 100 according to the first exemplary embodiment of the present invention includes a communication I / F (interface)
通信I/F部110は、専用のデータ通信回路からなり、通信回線を介して接続された各種装置との間でデータ通信を行う機能を有している。
The communication I /
操作入力部120は、キーボードやマウスなどの操作入力装置からなり、オペレータの操作を検出して演算処理部150に出力する機能を有している。
The
画面表示部130は、LCD(Liquid Crystal Display)やPDP(Plasma Display Panel)などの画面表示装置からなり、演算処理部150からの指示に応じて、操作メニューなどの各種情報を画面表示する機能を有している。
The
記憶部140は、ハードディスクやメモリなどの記憶装置からなり、演算処理部150における各種処理に必要な処理情報やプログラム140Pを記憶する機能を有している。プログラム140Pは、演算処理部150に読み込まれて実行されることにより各種処理部を実現するプログラムであり、通信I/F部110などのデータ入出力機能を介して外部装置(図示せず)や記憶媒体(図示せず)から予め読み込まれて記憶部140に保存される。記憶部140で記憶される主な処理情報として、テンプレート群140A、およびプロファイル群140Bがある。
The
テンプレート群140Aは、ルール作成用のテンプレート140A1の集合である。図2は、テンプレート群140Aに含まれるテンプレート140A1の構成例である。テンプレート140A1は、テンプレート名140A11とイベント条件140A12と通知メッセージ140A13と送信デバイス制約140A14と受信デバイス制約140A15とを有する。
The
テンプレート名140A11は、当該テンプレートを識別する一意の名前である。イベント条件140A12は、当該テンプレートを用いて作成されるルールの条件部に設定されるイベント条件である。通知メッセージ140A13は、当該テンプレートを用いて作成されるルールの実行部に設定される通知メッセージである。送信デバイス制約140A14は、当該テンプレートが適用される送信デバイスを限定するための情報である。受信デバイス制約140A15は、当該テンプレートが適用される受信デバイスを限定するための情報である。 The template name 140A11 is a unique name that identifies the template. The event condition 140A12 is an event condition set in a condition part of a rule created using the template. The notification message 140A13 is a notification message set in a rule execution unit created using the template. The transmission device restriction 140A14 is information for limiting the transmission device to which the template is applied. The receiving device restriction 140A15 is information for limiting the receiving device to which the template is applied.
例えば図2の1行目のテンプレートは、「エアコン制御」というテンプレート名を持ち、イベント条件として「温度情報T≦30」、通信メッセージとして「設定温度を1度下げる」、送信デバイス制約として「デバイス種類=温度計」、受信デバイス制約として「デバイス種類=エアコン&設置場所=送信デバイス設置場所」をそれぞれ有している。記号&は、論理積条件を表す。このテンプレートは、送信デバイス制約に「デバイス種類=温度計」が設定されているため、当該テンプレートが適用される送信デバイス、換言すれば当該テンプレートを使用してルールが生成される送信デバイスは、その種類が温度計でなければならないことを意味している。また、上記テンプレートは、受信デバイス制約に「デバイス種類=エアコン&設置場所=送信デバイス設置場所」が設定されているため、当該テンプレートが適用される受信デバイス、換言すれば当該テンプレートを使用してルールが生成される受信デバイスは、その種類がエアコンであり、然もそのエアコンの設置場所が、組になる送信デバイスの設置場所と同じでなければならないことを意味している。 For example, the template in the first line of FIG. 2 has a template name “air conditioner control”, “temperature information T ≦ 30” as an event condition, “decrease set temperature once” as a communication message, and “device as a transmission device constraint” “Type = thermometer” and “device type = air conditioner & installation location = transmission device installation location” are included as receiving device constraints. The symbol & represents a logical product condition. Since this device has “device type = thermometer” set in the transmission device constraint, the transmission device to which the template is applied, in other words, the transmission device for which a rule is generated using the template, is It means that the type must be a thermometer. In addition, since the above-mentioned template has “device type = air conditioner & installation location = transmission device installation location” in the receiving device restriction, the receiving device to which the template is applied, in other words, the rule using the template is used. Means that the type of the receiving device is an air conditioner, and the installation location of the air conditioner must be the same as the installation location of the transmitting device to be paired.
プロファイル群140Bは、デバイスプロファイル140B1の集合である。図3は、プロファイル群140Bに含まれるデバイスプロファイル140B1の構成例である。デバイスプロファイル140B1は、デバイス識別子140B11とプロファイル140B12とを有する。
The
デバイス識別子140B11は、デバイスを識別する一意の名前である。プロファイル140B12は、当該デバイス識別子で識別されるデバイスに関する各種の情報である。 The device identifier 140B11 is a unique name that identifies the device. The profile 140B12 is various information regarding the device identified by the device identifier.
例えば図3中の1つのデバイスプロファイルは、「TM1」というデバイス識別子を持つデバイスは、その種類が温度計であり、設置場所はRoom1であること、そのデバイスが生成するイベントは温度情報Tであり、生成するイベントの単位は°Cであることを表している。また、図3中の他の1つのデバイスプロファイルは、「AC1」というデバイス識別子を持つデバイスは、その種類がエアコンであり、設置場所はRoom1であること、設置日は2000年1月1日であることを表している。 For example, one device profile in FIG. 3 is that a device having a device identifier of “TM1” is of the type thermometer, the installation location is Room 1, and the event generated by the device is temperature information T. This means that the unit of the event to be generated is ° C. In addition, another device profile in FIG. 3 shows that a device having a device identifier “AC1” is of the type air conditioner, the installation location is Room 1, and the installation date is January 1, 2000. It represents something.
演算処理部150は、MPUなどのマイクロプロセッサとその周辺回路を有し、記憶部140からプログラム140Pを読み込んで実行することにより、上記ハードウェアとプログラム140Pとを協働させて各種処理部を実現する機能を有している。演算処理部150で実現される主な処理部として、入力手段150Aとプロファイル選択手段150Bとテンプレート選択手段150Cとルール作成手段150Dとがある。
The
入力手段150Aは、操作入力部120または通信I/F部110を通じてルール作成者から、作成するルールに設定する送信デバイス識別子と受信デバイス識別子とを入力する機能を有する。入力手段150Aは、入力した送信デバイス識別子と受信デバイス識別子とを、プロファイル選択手段150Bおよびルール作成手段150Dに伝達する。
The
プロファイル選択手段150Bは、記憶部140に記憶されたプロファイル群140Bの中から、テンプレートを選択するために使用するデバイスプロファイル140B1を選択する機能を有する。具体的には、プロファイル選択手段150Bは、入力手段150Aから伝達された送信デバイス識別子に一致するデバイス識別子140B11を有するデバイスプロファイル140B1をテンプレート選択用送信プロファイルとして選択する。またプロファイル選択手段150Bは、入力手段150Aから伝達された受信デバイス識別子に一致するデバイス識別子140B11を有するデバイスプロファイル140B1をテンプレート選択用受信プロファイルとして選択する。プロファイル選択手段150Bは、選択したテンプレート選択用送信デバイスプロファイルとテンプレート選択用受信プロファイルとをテンプレート選択手段150Cに伝達する。
The
テンプレート選択手段150Cは、プロファイル選択手段150Bから伝達されたデバイスプロファイルに従って、記憶部140に記憶されたテンプレート群140Aの中からルールの作成に使用するテンプレート140A1を選択する機能を有する。具体的には、テンプレート選択手段150Cは、テンプレート群140Aの中から、テンプレート選択用送信プロファイルに記述されたデバイスに関する各種の情報が送信デバイス制約140A14を満足し、且つ、テンプレート選択用受信プロファイルに記述されたデバイスに関する各種の情報が受信デバイス制約140A15を満足するテンプレート140A1を選択する。テンプレート選択手段150Cは、選択したテンプレート140A1をルール作成手段150Dに伝達する。
The
ルール作成手段150Dは、入力手段150Aから伝達された送信デバイス識別子および受信デバイス識別子とテンプレート選択手段150Cから伝達されたテンプレート140A1とからルールを作成する機能を有する。具体的には、ルール作成手段150Dは、送信デバイス識別子とテンプレート140A1中のイベント条件140A12とを含む条件部と、受信デバイス識別子とテンプレート140A1中の通知メッセージ140A13とを含む実行部とを有し、一意なルール名を付与したルールを作成する。ルール作成手段150Dは、作成したルールを通信I/F部110を通じて外部に出力し、または画面表示部130に表示する。
The rule creation means 150D has a function of creating a rule from the transmission device identifier and reception device identifier transmitted from the input means 150A and the template 140A1 transmitted from the template selection means 150C. Specifically, the rule creation means 150D includes a condition unit including a transmission device identifier and an event condition 140A12 in the template 140A1, and an execution unit including a reception device identifier and a notification message 140A13 in the template 140A1, Create a rule with a unique rule name. The
次に、図4のフローチャートを参照して、本実施形態にかかるルール作成装置100の動作について説明する。 Next, the operation of the rule creation device 100 according to the present embodiment will be described with reference to the flowchart of FIG.
まず、入力手段150Aは、操作入力部120または通信I/F部110を通じてユーザから、送信デバイス識別子と受信デバイス識別子との組を入力し、プロファイル選択手段150Bとルール作成手段150Dとに伝達する(ステップS1)。例えば、ユーザが、操作入力部120を通じて送信デバイス識別子=TM1、受信デバイス識別子=AC1を入力すると、入力手段150Aがこれらを入力してプロファイル選択手段150Bとルール作成手段150Dとへ伝達する。
First, the
次に、プロファイル選択手段150Bは、入力手段150Aから伝達された送信デバイス識別子に一致するデバイス識別子140B11を有するデバイスプロファイル140B1をテンプレート選択用送信プロファイルとして選択すると共に、入力手段150Aから伝達された受信デバイス識別子に一致するデバイス識別子140B11を有するデバイスプロファイル140B1をテンプレート選択用受信プロファイルとして選択し、選択したテンプレート選択用送信プロファイルおよびテンプレート選択用受信プロファイルをテンプレート選択手段150Cに伝達する(ステップS2)。例えば、送信デバイス識別子=TM1、受信デバイス識別子=AC1の場合、プロファイル選択手段150Bは、図3中のデバイス識別子=TM1のデバイスファイルと、図3中のデバイス識別子=AC1のデバイスファイルとを選択し、テンプレート選択手段150Cに伝達する。
Next, the
次に、テンプレート選択手段150Cは、テンプレート選択用送信プロファイルに記述されたデバイスに関する各種の情報が送信デバイス制約140A14を満足し、テンプレート選択用受信プロファイルに記述されたデバイスに関する各種の情報が受信デバイス制約140A15を満足するテンプレート140A1を、テンプレート群140Aの中から選択し、選択したテンプレート140A1をルール作成手段150Dに伝達する(ステップS3)。例えば、図3中のデバイス識別子=TM1のデバイスファイルがテンプレート選択用送信プロファイル、図3中のデバイス識別子=AC1のデバイスファイルがテンプレート選択用受信プロファイルの場合、テンプレート選択手段150Cは、図2に示される複数のテンプレートの中から、「エアコン制御」のテンプレート名を有するテンプレート140A1を選択する。その理由は、テンプレート選択用送信プロファイルに記述されたデバイスに関する各種の情報「デバイス種類=温度計、設置場所=Room1、生成イベント=温度情報T、イベント単位=°C」がそのテンプレート140A1の送信デバイス制約140A14「デバイス種類=温度計」を満足し、且つ、テンプレート選択用受信プロファイルに記述されたデバイスに関する各種の情報「デバイス種類=エアコン、設置場所=Room1、設置日=2000年1月1日」がそのテンプレート140A1の受信デバイス制約140A15「デバイス種類=エアコン&設置場所=送信デバイス設置場所」を満足するからである。ここで、デバイス制約に存在しないプロファイルは、デバイスプロファイルのプロファイルが如何なるものであっても満足したものと見做される。
Next, the
次に、ルール作成手段150Dは、入力手段150Aから伝達された送信デバイス識別子とテンプレート選択手段150Cから伝達されたテンプレート140A1中のイベント条件140A12とを含む条件部と、入力手段150Aから伝達された受信デバイス識別子とテンプレート選択手段150Cから伝達されたテンプレート140A1中の通知メッセージ140A13とを含む実行部とを有し、一意なルール名を付与したルールを作成する(ステップS4)。例えば、送信デバイス識別子がTM1、受信デバイス識別子がAC1、テンプレートが図2に示される「エアコン制御」のテンプレート名を有するテンプレート140A1である場合、ルール作成手段150Dは、例えば図5に示すようなルールを生成する。一意となるルール名の付け方は任意である。例えば、テンプレート毎に作成されたルール数を記憶しておき、その数+1をサフィックスとして一意なテンプレート名に付与する、等の方法があるが、これに限定されない。
Next, the rule creation means 150D includes a condition part including the transmission device identifier transmitted from the input means 150A and the event condition 140A12 in the template 140A1 transmitted from the template selection means 150C, and the reception transmitted from the input means 150A. An execution unit including a device identifier and a notification message 140A13 in the template 140A1 transmitted from the
最後に、ルール作成手段150Dは、作成したルールを通信I/F部110を通じて外部に出力し、または画面表示部130に表示する(ステップS5)。
Finally, the
次に本実施形態の効果を説明する。 Next, the effect of this embodiment will be described.
本実施形態によれば、ルール中に記述する送信デバイス識別子および受信デバイス識別子を入力するだけで適切なテンプレートが自動的に選択されるため、ユーザは、余分な手間をかけずにルールを効率良く作成することが可能になる。 According to the present embodiment, an appropriate template is automatically selected simply by inputting a transmission device identifier and a reception device identifier described in a rule, so that the user can efficiently execute the rule without extra effort. It becomes possible to create.
これに対して、例えばテンプレート群140Aの一覧を画面表示部130に表示し、その一覧から適切なテンプレートをユーザが選択する方法では、テンプレートの数が多い場合にテンプレートを選択する際のユーザの負担が増大する。また、テンプレート群140Aを送信デバイスと受信デバイスの種類の組み合わせをキーに検索可能に保持しておき、送信デバイスと受信デバイスの種類をユーザに指定させて、ルールの作成で使用するテンプレートをユーザに選択させる方法では、送信デバイス識別子および受信デバイス識別子以外に送信デバイスおよび受信デバイスの種類をユーザが入力する必要があり、ユーザの負担が増大する。
On the other hand, for example, in a method in which a list of the
[第2の実施形態]
図6を参照すると、本発明の第2の実施形態にかかるルール作成装置200は、通信I/F部210、操作入力部220、画面表示部230、記憶部240、および演算処理部250を有する。
[Second Embodiment]
Referring to FIG. 6, the rule creation device 200 according to the second exemplary embodiment of the present invention includes a communication I /
通信I/F部210、操作入力部220、および画面表示部230は、図1に示した第1の実施形態における通信I/F部110、操作入力部120、および画面表示部130と同様の機能を有する。
The communication I /
記憶部240は、ハードディスクやメモリなどの記憶装置からなり、演算処理部250における各種処理に必要な処理情報やプログラム240Pを記憶する機能を有している。プログラム240Pは、演算処理部250に読み込まれて実行されることにより各種処理部を実現するプログラムであり、通信I/F部210などのデータ入出力機能を介して外部装置(図示せず)や記憶媒体(図示せず)から予め読み込まれて記憶部240に保存される。記憶部240で記憶される主な処理情報として、テンプレート群240A、およびプロファイル群240Bがある。
The
テンプレート群240Aは、ルール作成用のテンプレート240A1の集合である。テンプレート群240Aおよびその構成要素であるテンプレート240A1は、図1に示した第1の実施形態におけるテンプレート群140Aおよびその構成要素であるテンプレート140A1と同じである。
プロファイル群240Bは、デバイスプロファイル240B1の集合である。プロファイル群240Bおよびその構成要素であるデバイスプロファイル240B1は、図1に示した第1の実施形態におけるデバイスプロファイル140Bおよびその構成要素であるデバイスプロファイル140B1と同じである。
The
演算処理部250は、MPUなどのマイクロプロセッサとその周辺回路を有し、記憶部240からプログラム240Pを読み込んで実行することにより、上記ハードウェアとプログラム240Pとを協働させて各種処理部を実現する機能を有している。演算処理部250で実現される主な処理部として、入力手段250Aとプロファイル選択手段250Bとテンプレート選択手段250Cとルール作成手段250Dとルール修正手段250Eとルール登録手段250Fとがある。
The
入力手段250A、プロファイル選択手段250B、テンプレート選択手段250Cは、図1に示した第1の実施形態における入力手段150A、プロファイル選択手段150B、テンプレート選択手段150Cと同様の機能を有する。 The input means 250A, profile selection means 250B, and template selection means 250C have the same functions as the input means 150A, profile selection means 150B, and template selection means 150C in the first embodiment shown in FIG.
ルール作成手段250Dは、図1に示した第1の実施形態におけるルール作成手段150Dと同様のルール作成機能を有する。但し、ルール作成手段250Dは、作成したルールをルール修正手段250Eに伝達する。
The rule creation means 250D has the same rule creation function as the rule creation means 150D in the first embodiment shown in FIG. However, the
ルール修正手段250Eは、ルール作成手段250Dによって生成されたルールを画面表示部230に表示する機能と、この表示したルールに対してユーザが操作入力部220を通じて修正を指示すると、指示された通りにルールを修正する機能とを有する。即ち、ルール修正手段250Eは、ユーザに対してルールを対話的に修正する環境を提供する。ルール修正手段250Eは、ユーザによる修正後のルール、あるいはユーザによって修正無しと判断されたルールを、ルール登録手段250Fに伝達する。
The rule correcting unit 250E displays the rule generated by the
ルール登録手段250Fは、ルール修正手段250Eから伝達されたルールを、通信I/F部210を通じて図6には図示しないM2M管理システムへ送信し、M2M管理システムのルール記憶装置に記憶させる機能を有する。
The
次に、図7のフローチャートを参照して、本実施形態にかかるルール作成装置200の動作について説明する。 Next, the operation of the rule creation device 200 according to the present embodiment will be described with reference to the flowchart of FIG.
まず、入力手段250Aは、操作入力部220または通信I/F部210を通じてユーザから、送信デバイス識別子と受信デバイス識別子との組を入力し、プロファイル選択手段250Bとルール作成手段250Dとに伝達する(ステップS11)。
First, the
次に、プロファイル選択手段250Bは、入力手段250Aから伝達された送信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル240B1をテンプレート選択用送信プロファイルとして選択すると共に、入力手段250Aから伝達された受信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル240B1をテンプレート選択用受信プロファイルとして選択し、選択したテンプレート選択用送信プロファイルおよびテンプレート選択用受信プロファイルをテンプレート選択手段250Cに伝達する(ステップS12)。
Next, the
次に、テンプレート選択手段250Cは、テンプレート選択用送信プロファイルに記述されたデバイスに関する各種の情報が送信デバイス制約を満足し、テンプレート選択用受信するプロファイルに記述されたデバイスに関する各種の情報が受信デバイス制約を満足するテンプレート240A1を、テンプレート群240Aの中から選択し、選択したテンプレート240A1をルール作成手段250Dに伝達する(ステップS13)。
Next, the
次に、ルール作成手段250Dは、入力手段250Aから伝達された送信デバイス識別子とテンプレート選択手段250Cから伝達されたテンプレート240A1中のイベント条件とを含む条件部と、入力手段250Aから伝達された受信デバイス識別子とテンプレート選択手段250Cから伝達されたテンプレート240A1中の通知メッセージとを含む実行部とを有し、一意なルール名を付与したルールを作成する(ステップS14)。そして、ルール作成手段250Dは、作成したルールをルール修正手段250Eに伝達する。
Next, the rule creation means 250D includes a condition part including the transmission device identifier transmitted from the input means 250A and the event condition in the template 240A1 transmitted from the template selection means 250C, and the receiving device transmitted from the input means 250A. A rule including an identifier and an execution unit including the notification message in the template 240A1 transmitted from the
次に、ルール修正手段250Eは、ルール作成手段250Dによって生成されたルールを画面表示部230に表示し、ユーザからの指示を待ち合わせる(ステップS15)。ルール修正手段250Eは、操作入力部220を通じてユーザから修正の指示を受けると(ステップS16でYES)、その修正の指示に従ってルールの修正を行う(ステップS18)。またルール修正手段250Eは、操作入力部220を通じてユーザからルールの登録の指示を受けると(ステップS17でYES)、修正後のルール(一度も修正の指示を受けていない場合には生成された時点のルール)をルール登録手段250Fに伝達する。
Next, the rule correction unit 250E displays the rule generated by the
ルール登録手段250Fは、ルール修正手段250Eから伝達されたルールを、通信I/F部210を通じてM2M管理システムへ送信し、M2M管理システムのルール記憶装置に記憶させる(ステップS19)。
The
次に本実施形態の効果を説明する。 Next, the effect of this embodiment will be described.
本実施形態によれば、図1に示した第1の実施形態と同様に、ルール中に記述する送信デバイス識別子および受信デバイス識別子を入力するだけで適切なテンプレートが自動的に選択されるため、ユーザは、余分な手間をかけずにルールを効率良く作成することが可能になる。 According to the present embodiment, as in the first embodiment shown in FIG. 1, an appropriate template is automatically selected simply by inputting a transmitting device identifier and a receiving device identifier described in a rule. The user can efficiently create rules without extra effort.
また本実施形態によれば、生成されたルールを画面表示部230に表示し、修正の指示を受け付けるルール修正手段250Eを有するので、ユーザは生成されたルールの内容を確認することができ、必要に応じて修正することができる。例えば、同じ種類の送信デバイスと受信デバイスの組み合わせに対して、イベント条件や通知メッセージの内容が互いに相違する複数のテンプレートがテンプレート群240に存在している場合、テンプレート選択手段250Cで複数のテンプレート240A1が選択され、ルール作成手段250Dで複数のルールが作成され、ルール修正手段250Eによって複数のルールが画面表示部230に表示される。このときユーザは、複数のルールのうちの何れか1つを残し、他を削除する修正指示を入力することにより、適切なルールを作成することができる。
In addition, according to the present embodiment, since the generated rule is displayed on the
また本実施形態によれば、ルール登録手段250Fを有するため、生成したルールをM2M管理システムに登録する作業を自動化することができる。 Moreover, according to this embodiment, since it has the rule registration means 250F, the operation | work which registers the produced | generated rule with an M2M management system can be automated.
[第3の実施形態]
図8を参照すると、本発明の第3の実施形態にかかるルール作成装置300は、通信I/F部310、操作入力部320、画面表示部330、記憶部340、および演算処理部350を有する。
[Third embodiment]
Referring to FIG. 8, the rule creation device 300 according to the third exemplary embodiment of the present invention includes a communication I /
通信I/F部310、操作入力部320、および画面表示部330は、図6に示した第2の実施形態における通信I/F部210、操作入力部220、および画面表示部230と同様の機能を有する。
Communication I /
記憶部340は、ハードディスクやメモリなどの記憶装置からなり、演算処理部350における各種処理に必要な処理情報やプログラム340Pを記憶する機能を有している。プログラム340Pは、演算処理部350に読み込まれて実行されることにより各種処理部を実現するプログラムであり、通信I/F部310などのデータ入出力機能を介して外部装置(図示せず)や記憶媒体(図示せず)から予め読み込まれて記憶部340に保存される。記憶部340で記憶される主な処理情報として、テンプレート群340A、およびプロファイル群340Bがある。
The
テンプレート群340Aは、ルール作成用のテンプレート340A1の集合である。テンプレート群340Aおよびその構成要素であるテンプレート340A1は、図6に示した第2の実施形態におけるテンプレート群240Aおよびその構成要素であるテンプレート240A1と同じである。
プロファイル群340Bは、デバイスプロファイル340B1の集合である。プロファイル群340Bおよびその構成要素であるデバイスプロファイル340B1は、図6に示した第2の実施形態におけるデバイスプロファイル240Bおよびその構成要素であるデバイスプロファイル240B1と同じである。
The
演算処理部350は、MPUなどのマイクロプロセッサとその周辺回路を有し、記憶部340からプログラム340Pを読み込んで実行することにより、上記ハードウェアとプログラム340Pとを協働させて各種処理部を実現する機能を有している。演算処理部350で実現される主な処理部として、テンプレート作成機能付きルール作成部360と、テンプレートによるルール作成部370とがある。
The
テンプレート作成機能付きルール作成部360は、ユーザから入力されたイベント条件や通知メッセージ等の情報に従ってルールを作成する機能と、この作成したルールと同じイベント条件および通知メッセージを使用する他のルールを作成するためのテンプレートを作成して記憶部340のテンプレート群340Aに登録する機能とを有する。テンプレート作成機能付きルール作成部360は、ルール作成機能に関連する処理部として、入力手段360A、ルール作成手段360B、およびルール登録手段360Cを有する。またテンプレート作成機能付きルール作成部360は、テンプレート作成機能に関連する処理部として、プロファイル選択手段360D、制約生成手段360E、テンプレート作成手段360F、テンプレート修正手段360G、およびテンプレート登録手段360Hを有する。
The
入力手段360Aは、操作入力部320または通信I/F部310を通じてルール作成者から、ルール名と送信デバイス識別子とイベント条件と受信デバイス識別子と通知メッセージとを含むルール作成情報を入力する機能を有する。入力手段360Aは、入力したルール作成情報を、ルール作成手段360B、プロファイル選択手段360D、テンプレート作成手段360Fに伝達する。
The
ルール作成手段360Bは、入力手段360Aから伝達されたルール作成情報に基づいてルールを作成する機能を有する。具体的には、ルール作成手段360Bは、ルール作成情報中の送信デバイス識別子とイベント条件とを含む条件部と、ルール作成情報中の受信デバイス識別子と通知メッセージとを含む実行部とを有し、ルール作成情報中のルール名を有するルールを作成する。ルール作成手段360Bは、作成したルールを、ルール登録手段360Cに伝達する。
The
ルール登録手段360Cは、ルール作成手段360Bから伝達されたルールを、通信I/F部310を通じて図8には図示しないM2M管理システムへ送信し、M2M管理システムのルール記憶装置に記憶させる機能を有する。
The
プロファイル選択手段360Dは、記憶部340に記憶されたプロファイル群340Bの中から、入力手段360Aから伝達されたルール作成情報中の送信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル340B1をテンプレート作成用送信プロファイルとして選択する機能と、ルール作成情報中の受信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル340B1をテンプレート作成用受信プロファイルとして選択する機能とを有する。プロファイル選択手段360Dは、選択したテンプレート作成用送信プロファイルおよびテンプレート作成用受信プロファイルを、制約生成手段360Eに伝達する。
The
制約生成手段360Eは、プロファイル選択手段360Dから伝達されたテンプレート作成用送信プロファイルおよびテンプレート作成用受信プロファイルに記述されたデバイスに関する各種の情報を解析し、テンプレート作成手段360Fが作成するテンプレートに設定する送信デバイス制約と受信デバイス制約とを生成し、テンプレート作成手段360Fに伝達する機能を有する。
The
テンプレート中の送信デバイス制約は、当該テンプレートが適用される送信デバイスを限定する情報である。送信デバイスに関するどのような情報を送信デバイス制約とするかは事前に定義されている。制約生成手段360Eは、この定義に従ってテンプレート作成用送信プロファイルおよびテンプレート作成用受信プロファイルから送信デバイス制約を生成する。例えば第1の実施形態では、送信デバイス識別子を送信デバイス制約としていた(図2参照)。このように送信デバイス識別子を送信デバイス制約とする場合、制約生成手段360Eは、テンプレート作成用送信プロファイル中から送信デバイス識別子を抽出する。
The transmission device restriction in the template is information that limits the transmission device to which the template is applied. What information regarding the transmission device is defined as a transmission device constraint is defined in advance. The constraint generation means 360E generates a transmission device constraint from the template creation transmission profile and the template creation reception profile according to this definition. For example, in the first embodiment, the transmission device identifier is a transmission device constraint (see FIG. 2). When the transmission device identifier is used as the transmission device constraint in this way, the
またテンプレート中の受信デバイス制約は、当該テンプレートが適用される受信デバイスを限定する情報である。受信デバイスに関するどのような情報を受信デバイス制約とするかは事前に定義されている。制約生成手段360Eは、この定義に従ってテンプレート作成用送信プロファイルおよびテンプレート作成用受信プロファイルから送信デバイス制約を生成する。例えば第1の実施形態では、受信デバイス識別子と受信デバイスの設置場所とを受信デバイス制約としていた(図2参照)。このように受信デバイス識別子と受信デバイスの設置場所を受信デバイス制約とする場合、制約生成手段360Eは、テンプレート作成用受信プロファイル中から受信デバイス識別子および設置場所を抽出する。また第1の実施形態の他の例では、受信デバイスの設置場所として、送信デバイスと同じであることを受信デバイス制約としていた(図2参照)。このように送信デバイスと受信デバイス間の所定の関係を受信デバイス制約とする場合、制約生成手段360Eは、テンプレート作成用送信プロファイルとテンプレート作成用受信プロファイルとから上記所定の関係を抽出し、それを受信デバイス制約とする。
The receiving device restriction in the template is information that limits the receiving device to which the template is applied. What information regarding the receiving device is defined as the receiving device constraint is defined in advance. The constraint generation means 360E generates a transmission device constraint from the template creation transmission profile and the template creation reception profile according to this definition. For example, in the first embodiment, the reception device identifier and the installation location of the reception device are the reception device restrictions (see FIG. 2). When the reception device identifier and the installation location of the reception device are set as the reception device constraint in this way, the
第1の実施形態には受信デバイス識別子のみを受信デバイス制約とする例が示されていないが、受信デバイス識別子のみを受信デバイス制約としても良いのは言うまでもない。この場合には、制約生成手段360Eは、テンプレート作成用受信プロファイル中から送信デバイス識別子を抽出する。 Although the first embodiment does not show an example in which only the receiving device identifier is used as the receiving device constraint, it is needless to say that only the receiving device identifier may be used as the receiving device constraint. In this case, the constraint generation means 360E extracts the transmission device identifier from the template creation reception profile.
一般にデバイスの種類と設置場所がデバイス制約として有効であるため、制約生成手段360Eは、これらのみをデバイスプロファイルからデバイス制約として抽出するようにしても良いが、これに限定するものではない。
In general, since the device type and the installation location are effective as device constraints, the
また、制約生成手段360Eは、デバイスの種類と設置場所を優先度の高い制約、それ以外のプロファイルを優先度の低い制約としてそれぞれ抽出して画面表示部330に優先度別に表示し、実際に使用する制約をユーザに選択させるようにしても良い。このユーザによる制約の選択は、後段のテンプレート修正手段360Gによるテンプレートの修正段階で実施するようにしても良い。
Further, the
テンプレート作成手段360Fは、入力手段360Aから伝達されたルール作成情報中のイベント条件および通知メッセージと、制約生成手段360Eから伝達された送信デバイス制約および受信デバイス制約と、一意なテンプレート名とを有するテンプレートを生成する機能を有する。一意なテンプレート名の生成方法としては、例えば、ルール名をそのままテンプレート名とする方法がある。但し、既に同名のテンプレートが存在する場合、一意となるテンプレート名を付ける。一意となるテンプレート名の付け方としては、例えば、同名のテンプレート毎に作成されたテンプレート数を記憶しておき、その数+1をサフィックスとしてルール名に付与する、等の方式があるが、これに限定されるものではない。テンプレート作成手段360Fは、生成したテンプレートをテンプレート修正手段360Gに伝達する。
The
テンプレート修正手段360Gは、テンプレート作成手段360Fによって生成されたテンプレートを画面表示部330に表示する機能と、この表示したテンプレートに対してユーザが操作入力部320を通じて修正を指示すると、指示された通りにテンプレートを修正する機能とを有する。即ち、テンプレート修正手段360Gは、ユーザに対してテンプレートを対話的に修正する環境を提供する。テンプレート修正手段360Gは、ユーザによる修正後のテンプレート、あるいはユーザによって修正無しと判断されたテンプレートを、テンプレート登録手段360Hに伝達する。なお、テンプレートの作成を行わないことも、修正の一形態である。また、テンプレート修正手段360Gは省略してもよい。その場合、テンプレート作成手段360Fで作成されたテンプレートはテンプレート登録手段360Hに伝達される。
The
テンプレート登録手段360Hは、テンプレート修正手段360Gから伝達されたテンプレートを、記憶部340のテンプレート群340Aに記憶させる機能を有する。
The
テンプレートによるルール作成部370は、記憶部340に記憶されたテンプレート群340Aを利用して、本発明の第2の実施形態と同様なルール作成環境をルール作成者に提供する機能を有する。すなわち、テンプレートによるルール作成部370は、図6に示した第2の実施形態における入力手段250A、プロファイル選択手段250B、テンプレート選択手段250C、ルール作成手段250D、ルール修正手段250E、およびルール登録手段250Fから構成される。
The
次に、本実施形態にかかるルール作成装置300の動作について説明する。 Next, the operation of the rule creation device 300 according to the present embodiment will be described.
本実施形態にかかるルール作成装置300は、テンプレート作成機能付きルール作成部360を動作させる動作モードと、テンプレートによるルール作成部370を動作させる動作モードとの2つの動作モードを有する。利用者は、例えば画面表示部330に表示される操作メニューによって、上記2つの動作モードのうちの何れかの動作モードを選択して利用することができる。一般的には、利用できるテンプレートがテンプレート群340A中に存在すれば、テンプレートによるルール作成部370を利用する。他方、利用できるテンプレートがテンプレート群340A中に存在しなければ、テンプレート作成機能付きルール作成部360を利用してテンプレート無しでルールを作成する。このとき、ルールの作成と同時にテンプレートが作成されてテンプレート群340Aに登録される。この登録されたテンプレートを利用してルールを作成する場合、テンプレートによるルール作成部370を利用することになる。
The rule creation apparatus 300 according to the present embodiment has two operation modes: an operation mode in which the
テンプレートによるルール作成部370の動作は、図7に示した本発明の第2の実施形態の動作と同じである。以下では、テンプレート作成機能付きルール作成部360の動作を説明する。
The operation of the
図9は、本実施形態にかかるルール作成装置300がテンプレート作成機能付きルール作成部360による動作モードで実行する処理の一例を示すフローチャートである。
FIG. 9 is a flowchart showing an example of processing executed in the operation mode by the
まず、入力手段360Aは、操作入力部320または通信I/F部310を通じてユーザから、ルール名と送信デバイス識別子とイベント条件と受信デバイス識別子と通信メッセージとを有するルール作成情報を入力し、ルール作成手段360Bとプロファイル選択手段360Dとテンプレート作成手段360Fに伝達する(ステップS21)。
First, the
次に、ルール作成手段360Bは、入力手段360Aから伝達されたルール作成情報中の送信デバイス識別子とイベント条件とを含む条件部と、ルール作成情報中の受信デバイス識別子と通知メッセージとを含む実行部とを有し、ルール作成情報中のルール名を有するルールを作成し、ルール登録手段360Cに伝達する(ステップS22)。
Next, the
次に、ルール登録手段360Cは、ルール作成手段360Bから伝達されたルールを、通信I/F部310を通じてM2M管理システムのルール記憶装置に登録する(ステップS23)。
Next, the
次に、プロファイル選択手段360Dは、入力手段360Aから伝達されたルール作成情報中の送信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル340B1をテンプレート生成用送信プロファイルとして選択すると共に、ルール作成情報中の受信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル340B1をテンプレート生成用受信プロファイルとして選択し、制約生成手段360Eに伝達する(ステップS24)。
Next, the
次に、制約生成手段360Eは、プロファイル選択手段360Dから伝達されたテンプレート作成用送信プロファイルおよびテンプレート作成用受信プロファイルに記述されたデバイスに関する各種の情報を解析し、送信デバイス制約と受信デバイス制約とを生成し、テンプレート作成手段360Fに伝達する(ステップS25)。
Next, the
次に、テンプレート作成手段360Fは、入力手段360Aから伝達されたルール作成情報中のイベント条件および通知メッセージと、制約生成手段360Eから伝達された送信デバイス制約および受信デバイス制約と、一意なテンプレート名とを有するテンプレートを生成し、テンプレート修正手段360Gに伝達する(ステップS26)。
Next, the
次に、テンプレート修正手段360Gは、テンプレート作成手段360Fによって生成されたテンプレートを画面表示部330に表示し、ユーザからの指示を待ち合わせる(ステップS27)。テンプレート修正手段360Gは、操作入力部320を通じてユーザから修正の指示を受けると(ステップS28でYES)、その修正の指示に従ってテンプレートの修正を行う(ステップS31)。またテンプレート修正手段360Gは、操作入力部320を通じてユーザからテンプレートの登録の指示を受けると(ステップS29でYES)、修正の指示を受けて修正した後のテンプレート(一度も修正の指示を受けていない場合には生成された時点のテンプレート)をテンプレート登録手段360Hに伝達する。さらにテンプレート修正手段360Gは、操作入力部320を通じてユーザからテンプレートを登録しない旨の指示を受けると(ステップS30でYES)、テンプレート作成手段360Fによって生成されたテンプレートを破棄し、図9に示す処理を終了する。
Next, the
テンプレート登録手段360Hは、ルール修正手段250Eからテンプレートが伝達されると、そのテンプレートを記憶部340のテンプレート群340に登録する(ステップS32)。そして、図9に示す処理を終了する。
When the template is transmitted from the rule correction unit 250E, the
次に本実施形態の効果を説明する。 Next, the effect of this embodiment will be described.
本実施形態によれば、図6に示した本発明の第2の実施形態と同様の効果が得られると共に、以下のような効果が得られる。 According to this embodiment, the same effects as those of the second embodiment of the present invention shown in FIG. 6 can be obtained, and the following effects can be obtained.
テンプレート作成機能付きルール作成部360を利用することにより、ユーザは、イベント条件および通知メッセージを直接入力してルールを作成することができ、しかも、作成したルールと同じイベント条件および通知メッセージを使用する他のルールを作成するためのテンプレートを同時に作成することができる。これにより、テンプレートを作成するためのユーザの作業量を軽減することができる。
By using the
[第4の実施形態]
図10を参照すると、本発明の第4の実施形態にかかるルール作成装置400は、通信I/F部410、操作入力部420、画面表示部430、記憶部440、および演算処理部450を有する。
[Fourth Embodiment]
Referring to FIG. 10, the rule creation device 400 according to the fourth exemplary embodiment of the present invention includes a communication I /
通信I/F部410、操作入力部420、および画面表示部430は、図8に示した第3の実施形態における通信I/F部310、操作入力部320、および画面表示部330と同様の機能を有する。
The communication I /
記憶部440は、ハードディスクやメモリなどの記憶装置からなり、演算処理部450における各種処理に必要な処理情報やプログラム440Pを記憶する機能を有している。プログラム440Pは、演算処理部450に読み込まれて実行されることにより各種処理部を実現するプログラムであり、通信I/F部410などのデータ入出力機能を介して外部装置(図示せず)や記憶媒体(図示せず)から予め読み込まれて記憶部440に保存される。記憶部440で記憶される主な処理情報として、テンプレート群440A、およびプロファイル群440Bがある。
The
テンプレート群440Aは、ルール作成用のテンプレート440A1の集合である。テンプレート群440Aおよびその構成要素であるテンプレート440A1は、図8に示した第3の実施形態におけるテンプレート群340Aおよびその構成要素であるテンプレート340A1と同じである。
The
プロファイル群440Bは、デバイスプロファイル440B1の集合である。プロファイル群440Bおよびその構成要素であるデバイスプロファイル440B1は、図8に示した第3の実施形態におけるデバイスプロファイル340Bおよびその構成要素であるデバイスプロファイル340B1と同じである。
The
演算処理部450は、MPUなどのマイクロプロセッサとその周辺回路を有し、記憶部440からプログラム440Pを読み込んで実行することにより、上記ハードウェアとプログラム440Pとを協働させて各種処理部を実現する機能を有している。演算処理部450で実現される主な処理部として、テンプレート作成機能付きルール作成部460と、テンプレートによるルール作成部470とがある。
The
テンプレート作成機能付きルール作成部460は、ユーザから入力された複数のルール作成情報(それらのイベント条件と通知メッセージは同じである)に従って複数のルールを作成する機能と、この作成した複数のルールと同じイベント条件および通知メッセージを使用する他のルールを作成するためのテンプレートを作成して記憶部440のテンプレート群440Aに登録する機能とを有する。テンプレート作成機能付きルール作成部460は、ルール作成機能に関連する処理部として、入力手段460A、ルール作成手段460B、およびルール登録手段460Cを有する。またテンプレート作成機能付きルール作成部460は、テンプレート作成機能に関連する処理部として、プロファイル選択手段460D、制約生成手段460E、テンプレート作成手段460F、テンプレート修正手段460G、およびテンプレート登録手段460Hを有する。
The
入力手段460Aは、操作入力部420または通信I/F部410を通じてルール作成者から、ルール名と送信デバイス識別子とイベント条件と受信デバイス識別子と通知メッセージとを有し、イベント条件と通知メッセージとが同一である複数のルール作成情報を入力する機能を有する。入力手段450Aは、入力した複数のルール作成情報を、ルール作成手段460B、プロファイル選択手段460D、テンプレート作成手段460Fに伝達する。
The
ルール作成手段460Bは、入力手段460Aから伝達された複数のルール情報に基づいて複数のルールを作成する機能を有する。具体的には、ルール作成手段460Bは、ルール作成情報毎に、そのルール作成情報中の送信デバイス識別子とイベント条件とを含む条件部と、ルール作成情報中の受信デバイス識別子と通知メッセージとを含む実行部とを有し、ルール作成情報中のルール名を有するルールを作成する。ルール作成手段460Bは、作成した複数のルールを、ルール登録手段460Cに伝達する。
The
ルール登録手段460Cは、ルール作成手段460Bから伝達された複数のルールを、通信I/F部410を通じて図10には図示しないM2M管理システムへ送信し、M2M管理システムのルール記憶装置に記憶させる機能を有する。
The
プロファイル選択手段460Dは、記憶部440に記憶されたプロファイル群440Bの中から、入力手段460Aから伝達されたルール作成情報毎に、そのルール作成情報中の送信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル440B1をテンプレート作成用送信プロファイルとして選択する機能と、ルール作成情報中の受信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル440B1をテンプレート作成用受信プロファイルとして選択する機能とを有する。プロファイル選択手段460Dは、選択した複数のテンプレート作成用送信プロファイルおよび複数のテンプレート作成用受信プロファイルを、制約生成手段460Eに伝達する。
The
制約生成手段460Eは、プロファイル選択手段460Dから伝達された複数のテンプレート作成用送信プロファイルおよび複数のテンプレート作成用受信プロファイルに記述されたデバイスに関する各種の情報を解析して、テンプレート作成手段460Fが作成するテンプレートに設定する送信デバイス制約と受信デバイス制約とを生成し、テンプレート作成手段460Fに伝達する機能を有する。
The
テンプレート中の送信デバイス制約は、当該テンプレートが適用される送信デバイスを限定する情報である。制約生成手段460Eは、プロファイル選択手段460Dから伝達された複数のテンプレート作成用送信プロファイルに共通するデバイスに関する情報を送信デバイス制約として生成する機能を有する。このようにする理由は、イベント条件および通知メッセージが同じになる複数のルールに共通に適用できるテンプレートの送信デバイス制約としては、当該複数のルールが適用される複数の送信デバイスに共通しているプロファイルが適している可能性が高いためである。このため、例えば複数の送信デバイスでデバイスの種類が同じであれば、デバイス種類が送信デバイス制約として生成される。また、例えば複数の送信デバイスでデバイス設置場所が同じであれば、デバイス設置場所が送信デバイス制約として生成される。
The transmission device restriction in the template is information that limits the transmission device to which the template is applied. The
テンプレート中の受信デバイス制約は、当該テンプレートが適用される受信デバイスを限定する情報である。制約生成手段460Eは、プロファイル選択手段460Dから伝達された複数のテンプレート作成用受信プロファイルに共通するデバイスに関する情報を受信デバイス制約として生成する機能を有する。このようにする理由は、イベント条件および通知メッセージが同じになる複数のルールに共通に適用できるテンプレートの受信デバイス制約としては、当該複数のルールが適用される複数の受信デバイスに共通しているプロファイルが適している可能性が高いためである。このため、例えば複数の受信デバイスでデバイスの種類が同じであれば、デバイス種類が受信デバイス制約として生成される。また、例えば複数の受信デバイスでデバイス設置場所が同じであれば、デバイス設置場所が受信デバイス制約として生成される。
The receiving device restriction in the template is information that limits the receiving device to which the template is applied. The
また、制約生成手段460Eは、プロファイル選択手段460Dから伝達された同じルール作成情報中の送信および受信デバイス識別子によって選択されたテンプレート作成用送信プロファイルおよびテンプレート作成用受信プロファイルに記述された送信デバイスおよび受信デバイスに関する各種の情報に基づいて、各ルール作成情報毎に、送信デバイスと受信デバイスの相対的な関係を解析し、全てのルール作成情報で共通する送信デバイスと受信デバイスの相対的な関係を、送信デバイス制約または受信デバイス制約としてもよい。解析する相対的な関係としては、例えば、受信デバイスの設置場所が送信デバイスと同じであるという、設置場所に関する相対的な関係がある。
Further, the
また、制約生成手段460Eは、全てのテンプレート作成用送信プロファイルで共通する送信デバイス制約および全てのテンプレート作成用受信プロファイルで共通する受信デバイス制約を優先度の高い制約、それ以外の方法で作成した送信デバイス制約および受信デバイス制約を優先度の低い制約として画面表示部430に優先度別に表示し、実際に使用する制約をユーザに選択させるようにしても良い。このユーザによる制約の選択は、後段のテンプレート修正手段460Gによるテンプレートの修正段階で実施するようにしても良い。
In addition, the
テンプレート作成手段460Fは、入力手段460Aから伝達された複数のルール作成情報間で共通なイベント条件および通知メッセージと、制約生成手段460Eから伝達された送信デバイス制約および受信デバイス制約と、一意なテンプレート名とを有するテンプレートを生成する機能を有する。テンプレート作成手段460Fは、生成したテンプレートをテンプレート修正手段460Gに伝達する。
The
テンプレート修正手段460Gは、テンプレート作成手段460Fによって生成されたテンプレートを画面表示部430に表示する機能と、この表示したテンプレートに対してユーザが操作入力部420を通じて修正を指示すると、指示された通りにテンプレートを修正する機能とを有する。即ち、テンプレート修正手段460Gは、ユーザに対してテンプレートを対話的に修正する環境を提供する。テンプレート修正手段460Gは、ユーザによる修正後のテンプレート、あるいはユーザによって修正無しと判断されたテンプレートを、テンプレート登録手段460Hに伝達する。なお、テンプレートの作成を行わないことも、修正の一形態である。また、テンプレート修正手段460Gは省略してもよい。その場合、テンプレート作成手段460Fで作成されたテンプレートはテンプレート登録手段460Hに伝達される。
The template correction unit 460G has a function of displaying the template generated by the
テンプレート登録手段460Hは、テンプレート修正手段460Gから伝達されたテンプレートを、記憶部440のテンプレート群440Aに記憶させる機能を有する。
The
テンプレートによるルール作成部470は、記憶部440に記憶されたテンプレート群440Aを利用して、本発明の第2の実施形態と同様なルール作成環境をルール作成者に提供する機能を有する。すなわち、テンプレートによるルール作成部470は、図6に示した第2の実施形態における入力手段250A、プロファイル選択手段250B、テンプレート選択手段250C、ルール作成手段250D、ルール修正手段250E、およびルール登録手段250Fから構成される。
The
次に、本実施形態にかかるルール作成装置400の動作について説明する。 Next, the operation of the rule creation device 400 according to the present embodiment will be described.
本実施形態にかかるルール作成装置400は、テンプレート作成機能付きルール作成部460を動作させる動作モードと、テンプレートによるルール作成部470を動作させる動作モードとの2つの動作モードを有する。利用者は、例えば画面表示部430に表示される操作メニューによって、上記2つの動作モードのうちの何れかの動作モードを選択して利用することができる。テンプレートによるルール作成部470の動作は、図7に示した本発明の第2の実施形態の動作と同じである。以下では、テンプレート作成機能付きルール作成部460の動作を説明する。
The rule creation device 400 according to the present embodiment has two operation modes: an operation mode in which the
図11は、本実施形態にかかるルール作成装置400がテンプレート作成機能付きルール作成部460による動作モードで実行する処理の一例を示すフローチャートである。
FIG. 11 is a flowchart illustrating an example of processing executed in the operation mode by the rule creation unit with
まず、入力手段460Aは、操作入力部420または通信I/F部410を通じてユーザから、ルール名と送信デバイス識別子とイベント条件と受信デバイス識別子と通知メッセージとを有し、イベント条件と通知メッセージとが同一である複数のルール作成情報を入力し、ルール作成手段460Bとプロファイル選択手段460Dとテンプレート作成手段460Fに伝達する(ステップS41)。イベント条件と通知メッセージが同じである複数のルール作成情報の入力では、ルール作成情報毎に同じイベント条件と通知メッセージとをユーザに繰り返し入力させても良いし、例えば最初の一つのルール作成情報の入力時にイベント条件と通知メッセージをユーザに入力させ、残りのルール作成情報の入力時にはイベント条件と通知メッセージの入力を省略させてもよい。
First, the
次に、ルール作成手段460Bは、入力手段460Aから伝達されたルール作成情報毎に、そのルール作成情報中の送信デバイス識別子とイベント条件とを含む条件部と、ルール作成情報中の受信デバイス識別子と通知メッセージとを含む実行部とを有し、ルール作成情報中のルール名を有するルールを作成し、ルール登録手段460Cに伝達する(ステップS42)。
Next, the
次に、ルール登録手段460Cは、ルール作成手段460Bから伝達された複数のルールを、通信I/F部410を通じて図10には図示しないM2M管理システムへ送信し、M2M管理システムのルール記憶装置に記憶させる(ステップS43)。
Next, the
次に、プロファイル選択手段460Dは、記憶部440に記憶されたプロファイル群440Bの中から、入力手段460Aから伝達されたルール作成情報毎に、そのルール作成情報中の送信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル440B1をテンプレート作成用送信プロファイルとして選択すると共に、ルール作成情報中の受信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル440B1をテンプレート作成用受信プロファイルとして選択し、制約生成手段460Eに伝達する(ステップS44)。
Next, the
次に、制約生成手段460Eは、プロファイル選択手段460Dから伝達された複数のテンプレート作成用送信プロファイルおよび複数のテンプレート作成用受信プロファイルに記述されたデバイスに関する各種の情報を解析して、共通な情報を送信デバイス制約および受信デバイス制約として生成し、テンプレート作成手段460Fに伝達する(ステップS45)。
Next, the
次に、テンプレート作成手段460Fは、入力手段460Aから伝達された複数のルール作成情報間で共通なイベント条件および通知メッセージと、制約生成手段460Eから伝達された送信デバイス制約および受信デバイス制約と、一意なテンプレート名とを有するテンプレートを生成し、テンプレート修正手段460Gに伝達する(ステップS46)。
Next, the
続いて行われるテンプレート修正手段460Gおよびテンプレート登録手段460HによるステップS47〜S52の動作は、図9に示した本発明の第3の実施形態におけるテンプレート修正手段360Gおよびテンプレート登録手段360HによるステップS27〜S32の動作と同じである。
Subsequent operations of steps S47 to S52 performed by the template correction unit 460G and the
次に本実施形態の効果を説明する。 Next, the effect of this embodiment will be described.
本実施形態によれば、図6に示した本発明の第2の実施形態と同様の効果が得られると共に、以下のような効果が得られる。 According to this embodiment, the same effects as those of the second embodiment of the present invention shown in FIG. 6 can be obtained, and the following effects can be obtained.
テンプレート作成機能付きルール作成部460を利用することにより、ユーザは、イベント条件および通知メッセージが同じである複数のルールを、イベント条件および通知メッセージを直接入力して作成することができ、しかも、作成した複数のルールと同じイベント条件および通知メッセージを使用する他のルールを作成するためのテンプレートを同時に作成することができる。これにより、テンプレートを作成するためのユーザの作業量を軽減することができる。
By using the
また本実施形態によれば、適切な送信デバイス制約および受信デバイス制約を有するテンプレートを作成することができる。その理由は、イベント条件および通知メッセージが同じ複数のルールが適用される複数の送信デバイスや受信デバイスに共通しているプロファイルを送信デバイス制約および受信デバイス制約とするためである。イベント条件および通知メッセージが同じ複数のルールに共通に適用できるテンプレートの送信デバイス制約および受信デバイス制約としては、当該複数のルールが適用される複数の送信デバイスや受信デバイスに共通しているプロファイルが適している可能性が高く、またユーザが気付かなかった共通プロファイルから有効な制約が生成される場合もある。 Further, according to the present embodiment, a template having appropriate transmission device constraints and reception device constraints can be created. The reason is that a profile common to a plurality of transmission devices and reception devices to which a plurality of rules having the same event condition and notification message are applied is used as a transmission device constraint and a reception device constraint. Templates that can be applied in common to multiple rules with the same event conditions and notification messages are suitable for sending and receiving device constraints for profiles that are common to multiple sending and receiving devices to which the multiple rules apply. In some cases, effective constraints are generated from a common profile that the user has not noticed.
本発明は、ルール作成装置に適用でき、特にイベント流通ルールを設定することで、大量に存在するデバイス間でイベントを流通させることで、各デバイスが提供する機能を用いてサービスを提供するM2Mサービスといった用途に適用できる。 INDUSTRIAL APPLICABILITY The present invention can be applied to a rule creation device, and in particular, an event distribution rule is set so that an event is distributed among a large number of existing devices, thereby providing a service using a function provided by each device. It can be applied to such uses.
100…ルール作成装置
110…通信I/F部
120…操作入力部
130…画面表示部
140…記憶部
140A…テンプレート群
140A1…テンプレート
140B…プロファイル群
140B1…デバイスプロファイル
140P…プログラム
150…演算処理部
150A…入力手段
150B…プロファイル選択手段
150C…テンプレート選択手段
150D…ルール作成手段
DESCRIPTION OF SYMBOLS 100 ...
Claims (21)
前記処理装置は、
送信デバイス識別子と受信デバイス識別子とを有する第1の入力情報を入力する第1の入力手段と、
前記複数のデバイスプロファイルの中から、前記入力した前記第1の入力情報中の前記送信デバイス識別子に一致する前記デバイス識別子を有する前記デバイスプロファイルをテンプレート選択用送信プロファイルとして選択すると共に、前記入力した前記第1の入力情報中の前記受信デバイス識別子に一致する前記デバイス識別子を有する前記デバイスプロファイルをテンプレート選択用受信プロファイルとして選択する第1のプロファイル選択手段と、
前記複数のテンプレートの中から、前記テンプレート選択用送信プロファイルに記述された前記デバイスに関する各種の情報が前記送信デバイス制約を満足し且つ前記テンプレート選択用受信プロファイルに記述された前記デバイスに関する情報が前記受信デバイス制約を満足する前記テンプレートを選択するテンプレート選択手段と、
前記入力した前記第1の入力情報中の前記送信デバイス識別子と前記選択した前記テンプレート中の前記イベント条件とを含む条件部と、前記入力した前記第1の入力情報中の前記受信デバイス識別子と前記選択した前記テンプレート中の前記通知メッセージとを含む実行部と、一意なルール名とを有するルールを作成する第1のルール作成手段と
を有するルール作成装置。 A template storage unit that stores a plurality of templates each having a template name, an event condition, a notification message, a transmission device constraint, and a reception device constraint, and a plurality of device profiles each having a device identifier and various information about the device are stored. A profile storage means, a processing device connected to the template storage means and the profile storage means,
The processor is
First input means for inputting first input information having a transmitting device identifier and a receiving device identifier;
The device profile having the device identifier that matches the transmission device identifier in the input first input information is selected as a template selection transmission profile from the plurality of device profiles, and the input First profile selection means for selecting, as a template selection reception profile, the device profile having the device identifier that matches the reception device identifier in the first input information;
Among the plurality of templates, various information related to the device described in the template selection transmission profile satisfies the transmission device restriction, and information related to the device described in the template selection reception profile is received. Template selection means for selecting the template that satisfies the device constraints;
A condition part including the transmitting device identifier in the input first input information and the event condition in the selected template; the receiving device identifier in the input first input information; A rule creation device comprising: an execution unit including the notification message in the selected template; and a first rule creation means for creating a rule having a unique rule name.
ルール名と送信デバイス識別子とイベント条件と受信デバイス識別子と通知メッセージとを有する第2の入力情報を入力する第2の入力手段と、
前記第2の入力情報中の前記送信デバイス識別子と前記イベント条件とを含む条件部と、前記第2の入力情報中の前記受信デバイス識別子と前記通知メッセージとを含む実行部と、前記第2の入力情報中の前記ルール名とを有するルールを作成する第2のルール作成手段と、
前記複数のデバイスプロファイルの中から、前記第2の入力情報中の前記送信デバイス識別子に一致する前記デバイス識別子を有する前記デバイスプロファイルをテンプレート作成用送信プロファイルとして選択すると共に、前記第2の入力情報中の前記受信デバイス識別子に一致する前記デバイス識別子を有する前記デバイスプロファイルをテンプレート作成用受信プロファイルとして選択する第2のプロファイル選択手段と、
前記選択した前記テンプレート作成用送信プロファイル中のデバイスに関する各種の情報と前記テンプレート作成用受信プロファイル中のデバイスに関する各種の情報とから送信デバイス制約と受信デバイス制約とを生成する制約生成手段と、
前記第2の入力情報中の前記イベント条件および前記通知メッセージと、前記生成された前記送信デバイス制約および前記受信デバイス制約と、一意なテンプレート名とを有するテンプレートを生成するテンプレート生成手段と
を有する請求項1に記載のルール作成装置。 The processing apparatus further includes:
Second input means for inputting second input information having a rule name, a transmission device identifier, an event condition, a reception device identifier, and a notification message;
A condition unit including the transmission device identifier and the event condition in the second input information, an execution unit including the reception device identifier and the notification message in the second input information, and the second Second rule creating means for creating a rule having the rule name in the input information;
The device profile having the device identifier that matches the transmission device identifier in the second input information is selected as a template creation transmission profile from the plurality of device profiles, and the second input information Second profile selection means for selecting, as a template creation reception profile, the device profile having the device identifier that matches the reception device identifier of
Constraint generation means for generating a transmission device constraint and a reception device constraint from various information related to the device in the selected template creation transmission profile and various information related to the device in the template creation reception profile;
And a template generation unit configured to generate a template having the event condition and the notification message in the second input information, the generated transmission device restriction and the reception device restriction, and a unique template name. Item 2. The rule creation device according to Item 1.
ルール名と送信デバイス識別子とイベント条件と受信デバイス識別子と通知メッセージとを有し、前記イベント条件と前記通知メッセージとが同一である複数の第2の入力情報を入力する第2の入力手段と、
前記第2の入力情報毎に、前記第2の入力情報中の前記送信デバイス識別子と前記イベント条件とを含む条件部と、前記第2の入力情報中の前記受信デバイス識別子と前記通知メッセージとを含む実行部と、前記第2の入力情報中の前記ルール名とを有するルールを作成する第2のルール作成手段と、
前記第2の入力情報毎に、前記複数のデバイスプロファイルの中から、前記第2の入力情報中の前記送信デバイス識別子に一致する前記デバイス識別子を有する前記デバイスプロファイルをテンプレート作成用送信プロファイルとして選択すると共に、前記入力した第2の入力情報中の前記受信デバイス識別子に一致する前記デバイス識別子を有する前記デバイスプロファイルをテンプレート作成用受信プロファイルとして選択する第2のプロファイル選択手段と、
前記第2の入力情報毎に選択した複数の前記テンプレート作成用送信プロファイルに共通するデバイスに関する情報を送信デバイス制約として生成すると共に、前記第2の入力情報毎に選択した複数の前記テンプレート作成用受信プロファイルに共通するデバイスに関する情報を受信デバイス制約として生成する制約生成手段と、
前記複数の第2の入力情報で同一の前記イベント条件および前記通知メッセージと、前記生成された前記送信デバイス制約および前記受信デバイス制約と、一意なテンプレート名とを有するテンプレートを生成するテンプレート生成手段と
を有する請求項1に記載のルール作成装置。 The processing apparatus further includes:
A second input means for inputting a plurality of second input information having a rule name, a transmission device identifier, an event condition, a reception device identifier, and a notification message, wherein the event condition and the notification message are the same;
For each of the second input information, a condition part including the transmitting device identifier and the event condition in the second input information, the receiving device identifier and the notification message in the second input information, A second rule creating means for creating a rule having an execution unit including the rule name in the second input information;
For each of the second input information, the device profile having the device identifier that matches the transmission device identifier in the second input information is selected as a template creation transmission profile from the plurality of device profiles. And second profile selection means for selecting, as a template creation reception profile, the device profile having the device identifier that matches the reception device identifier in the input second input information;
Generate information related to a device common to the plurality of template creation transmission profiles selected for each of the second input information as a transmission device constraint, and also receive a plurality of template creation receptions selected for each of the second input information. Constraint generation means for generating information on devices common to profiles as a receiving device constraint;
A template generating means for generating a template having the same event condition and the notification message in the plurality of second input information, the generated transmission device constraint and the reception device constraint, and a unique template name; The rule creation device according to claim 1, comprising:
前記生成されたテンプレートを前記テンプレート記憶手段に登録するテンプレート登録手段
を有する請求項2または3に記載のルール作成装置。 The processing apparatus further includes:
The rule creation device according to claim 2, further comprising a template registration unit that registers the generated template in the template storage unit.
前記生成されたテンプレートを画面表示部に表示し、操作入力部を通じて入力されるユーザ指示に従って前記テンプレートを修正するテンプレート修正手段
を有する請求項2または3に記載のルール作成装置。 The processing apparatus further includes:
4. The rule creation device according to claim 2, further comprising a template correction unit that displays the generated template on a screen display unit and corrects the template according to a user instruction input through an operation input unit.
前記修正後のテンプレートを前記テンプレート記憶手段に登録するテンプレート登録手段
を有する請求項5に記載のルール作成装置。 The processing apparatus further includes:
The rule creation device according to claim 5, further comprising a template registration unit that registers the modified template in the template storage unit.
前記送信デバイス制約および前記受信デバイス制約は、前記デバイスの種類を示す情報を有する
請求項1乃至6の何れかに記載のルール作成装置。 The various information about the device includes information indicating the type of the device,
The rule creation device according to claim 1, wherein the transmission device restriction and the reception device restriction include information indicating a type of the device.
前記受信デバイス制約は、前記デバイスの設置場所を示す情報を有する
請求項1乃至7の何れかに記載のルール作成装置。 Various types of information on the device include information indicating the installation location of the device,
The rule creation device according to claim 1, wherein the reception device restriction includes information indicating an installation location of the device.
前記受信デバイス制約は、受信デバイスの設置場所が送信デバイスと同じであることを示す情報を有する
請求項1乃至7の何れかに記載のルール作成装置。 Various types of information on the device include information indicating the installation location of the device,
The rule creation device according to claim 1, wherein the reception device restriction includes information indicating that a setting location of the reception device is the same as that of the transmission device.
前記生成されたルールを、M2M管理システムに登録するルール登録手段
を有する請求項1乃至9の何れかに記載のルール作成装置。 The processing apparatus further includes:
The rule creation device according to claim 1, further comprising a rule registration unit that registers the generated rule in an M2M management system.
前記処理装置が、
送信デバイス識別子と受信デバイス識別子とを有する第1の入力情報を入力し、
前記複数のデバイスプロファイルの中から、前記入力した前記第1の入力情報中の前記送信デバイス識別子に一致する前記デバイス識別子を有する前記デバイスプロファイルをテンプレート選択用送信プロファイルとして選択すると共に、前記入力した前記第1の入力情報中の前記受信デバイス識別子に一致する前記デバイス識別子を有する前記デバイスプロファイルをテンプレート選択用受信プロファイルとして選択し、
前記複数のテンプレートの中から、前記テンプレート選択用送信プロファイルに記述された前記デバイスに関する各種の情報が前記送信デバイス制約を満足し且つ前記テンプレート選択用受信プロファイルに記述された前記デバイスに関する情報が前記受信デバイス制約を満足する前記テンプレートを選択し、
前記入力した前記第1の入力情報中の前記送信デバイス識別子と前記選択した前記テンプレート中の前記イベント条件とを含む条件部と、前記入力した前記第1の入力情報中の前記受信デバイス識別子と前記選択した前記テンプレート中の前記通知メッセージとを含む実行部と、一意なルール名とを有するルールを作成する
ルール作成方法。 A template storage unit that stores a plurality of templates each having a template name, an event condition, a notification message, a transmission device constraint, and a reception device constraint, and a plurality of device profiles each having a device identifier and various information about the device are stored. A profile storage means, a processing device connected to the template storage means and the profile storage means,
The processing device is
Input first input information having a transmitting device identifier and a receiving device identifier;
The device profile having the device identifier that matches the transmission device identifier in the input first input information is selected as a template selection transmission profile from the plurality of device profiles, and the input Selecting the device profile having the device identifier that matches the receiving device identifier in the first input information as a template selection receiving profile;
Among the plurality of templates, various information related to the device described in the template selection transmission profile satisfies the transmission device restriction, and information related to the device described in the template selection reception profile is received. Select the template that satisfies the device constraints,
A condition part including the transmitting device identifier in the input first input information and the event condition in the selected template; the receiving device identifier in the input first input information; A rule creation method for creating a rule having an execution unit including the notification message in the selected template and a unique rule name.
ルール名と送信デバイス識別子とイベント条件と受信デバイス識別子と通知メッセージとを有する第2の入力情報を入力し、
前記第2の入力情報中の前記送信デバイス識別子と前記イベント条件とを含む条件部と、前記第2の入力情報中の前記受信デバイス識別子と前記通知メッセージとを含む実行部と、前記第2の入力情報中の前記ルール名とを有するルールを作成し、
前記複数のデバイスプロファイルの中から、前記第2の入力情報中の前記送信デバイス識別子に一致する前記デバイス識別子を有する前記デバイスプロファイルをテンプレート作成用送信プロファイルとして選択すると共に、前記第2の入力情報中の前記受信デバイス識別子に一致する前記デバイス識別子を有する前記デバイスプロファイルをテンプレート作成用受信プロファイルとして選択し、
前記選択した前記テンプレート作成用送信プロファイル中のデバイスに関する各種の情報と前記テンプレート作成用受信プロファイル中のデバイスに関する各種の情報とから送信デバイス制約と受信デバイス制約とを生成し、
前記第2の入力情報中の前記イベント条件および前記通知メッセージと、前記生成された前記送信デバイス制約および前記受信デバイス制約と、一意なテンプレート名とを有するテンプレートを生成する
請求項11に記載のルール作成方法。 The processing apparatus further comprises:
Input second input information having a rule name, a transmitting device identifier, an event condition, a receiving device identifier, and a notification message,
A condition unit including the transmission device identifier and the event condition in the second input information, an execution unit including the reception device identifier and the notification message in the second input information, and the second Create a rule with the rule name in the input information,
The device profile having the device identifier that matches the transmission device identifier in the second input information is selected as a template creation transmission profile from the plurality of device profiles, and the second input information Selecting the device profile having the device identifier that matches the receiving device identifier of a template creation reception profile;
A transmission device constraint and a reception device constraint are generated from various information related to the device in the selected template creation transmission profile and various information related to the device in the template creation reception profile,
The rule according to claim 11, wherein a template having the event condition and the notification message in the second input information, the generated transmission device restriction and the reception device restriction, and a unique template name is generated. How to make.
ルール名と送信デバイス識別子とイベント条件と受信デバイス識別子と通知メッセージとを有し、前記イベント条件と前記通知メッセージとが同一である複数の第2の入力情報を入力し、
前記第2の入力情報毎に、前記第2の入力情報中の前記送信デバイス識別子と前記イベント条件とを含む条件部と、前記第2の入力情報中の前記受信デバイス識別子と前記通知メッセージとを含む実行部と、前記第2の入力情報中の前記ルール名とを有するルールを作成し、
前記第2の入力情報毎に、前記複数のデバイスプロファイルの中から、前記第2の入力情報中の前記送信デバイス識別子に一致する前記デバイス識別子を有する前記デバイスプロファイルをテンプレート作成用送信プロファイルとして選択すると共に、前記入力した第2の入力情報中の前記受信デバイス識別子に一致する前記デバイス識別子を有する前記デバイスプロファイルをテンプレート作成用受信プロファイルとして選択し、
前記第2の入力情報毎に選択した複数の前記テンプレート作成用送信プロファイルに共通するデバイスに関する情報を送信デバイス制約として生成すると共に、前記第2の入力情報毎に選択した複数の前記テンプレート作成用受信プロファイルに共通するデバイスに関する情報を受信デバイス制約として生成し、
前記複数の第2の入力情報で同一の前記イベント条件および前記通知メッセージと、前記生成された前記送信デバイス制約および前記受信デバイス制約と、一意なテンプレート名とを有するテンプレートを生成する
請求項11に記載のルール作成方法。 The processing apparatus further comprises:
A plurality of second input information having a rule name, a transmission device identifier, an event condition, a reception device identifier, and a notification message, wherein the event condition and the notification message are the same;
For each of the second input information, a condition part including the transmitting device identifier and the event condition in the second input information, the receiving device identifier and the notification message in the second input information, A rule having an execution unit including the rule name in the second input information,
For each of the second input information, the device profile having the device identifier that matches the transmission device identifier in the second input information is selected as a template creation transmission profile from the plurality of device profiles. And selecting the device profile having the device identifier that matches the reception device identifier in the input second input information as a template creation reception profile,
Generate information related to a device common to the plurality of template creation transmission profiles selected for each of the second input information as a transmission device constraint, and also receive a plurality of template creation receptions selected for each of the second input information. Generate information about devices common to profiles as receiving device constraints,
The template having the event condition and the notification message that are the same as the plurality of second input information, the generated transmission device restriction and the reception device restriction, and a unique template name is generated. The rule creation method described.
前記生成されたテンプレートを前記テンプレート記憶手段に登録する
請求項12または13に記載のルール作成方法。 The processing apparatus further comprises:
The rule creation method according to claim 12 or 13, wherein the generated template is registered in the template storage unit.
前記生成されたテンプレートを画面表示部に表示し、操作入力部を通じて入力されるユーザ指示に従って前記テンプレートを修正する
請求項12または13に記載のルール作成方法。 The processing apparatus further comprises:
The rule creation method according to claim 12 or 13, wherein the generated template is displayed on a screen display unit, and the template is modified in accordance with a user instruction input through an operation input unit.
前記修正後のテンプレートを前記テンプレート記憶手段に登録する
請求項15に記載のルール作成方法。 The processing apparatus further comprises:
The rule creation method according to claim 15, wherein the modified template is registered in the template storage unit.
前記送信デバイス制約および前記受信デバイス制約は、前記デバイスの種類を示す情報を有する
請求項11乃至16の何れかに記載のルール作成方法。 The various information about the device includes information indicating the type of the device,
The rule creation method according to claim 11, wherein the transmission device restriction and the reception device restriction have information indicating a type of the device.
前記受信デバイス制約は、前記デバイスの設置場所を示す情報を有する
請求項11乃至17の何れかに記載のルール作成方法。 Various types of information on the device include information indicating the installation location of the device,
The rule creation method according to claim 11, wherein the reception device restriction includes information indicating an installation location of the device.
前記受信デバイス制約は、受信デバイスの設置場所が送信デバイスと同じであることを示す情報を有する
請求項11乃至17の何れかに記載のルール作成方法。 Various types of information on the device include information indicating the installation location of the device,
The rule creation method according to any one of claims 11 to 17, wherein the reception device restriction includes information indicating that an installation location of the reception device is the same as that of the transmission device.
前記生成されたルールを、M2M管理システムに登録する
請求項11乃至19の何れかに記載のルール作成方法。 The processing apparatus further comprises:
The rule creation method according to claim 11, wherein the generated rule is registered in an M2M management system.
送信デバイス識別子と受信デバイス識別子とを有する第1の入力情報を入力するステップと、
前記複数のデバイスプロファイルの中から、前記入力した前記第1の入力情報中の前記送信デバイス識別子に一致する前記デバイス識別子を有する前記デバイスプロファイルをテンプレート選択用送信プロファイルとして選択すると共に、前記入力した前記第1の入力情報中の前記受信デバイス識別子に一致する前記デバイス識別子を有する前記デバイスプロファイルをテンプレート選択用受信プロファイルとして選択するステップと、
前記複数のテンプレートの中から、前記テンプレート選択用送信プロファイルに記述された前記デバイスに関する各種の情報が前記送信デバイス制約を満足し且つ前記テンプレート選択用受信プロファイルに記述された前記デバイスに関する情報が前記受信デバイス制約を満足する前記テンプレートを選択するステップと、
前記入力した前記第1の入力情報中の前記送信デバイス識別子と前記選択した前記テンプレート中の前記イベント条件とを含む条件部と、前記入力した前記第1の入力情報中の前記受信デバイス識別子と前記選択した前記テンプレート中の前記通知メッセージとを含む実行部と、一意なルール名とを有するルールを作成するステップと
を行わせるためのプログラム。 Each is connected to a storage unit for storing a plurality of templates each having a template name, an event condition, a notification message, a transmission device restriction, and a reception device restriction, and a plurality of device profiles each having a device identifier and various information related to the device. Processor
Inputting first input information having a transmitting device identifier and a receiving device identifier;
The device profile having the device identifier that matches the transmission device identifier in the input first input information is selected as a template selection transmission profile from the plurality of device profiles, and the input Selecting the device profile having the device identifier matching the receiving device identifier in first input information as a template selection receiving profile;
Among the plurality of templates, various information related to the device described in the template selection transmission profile satisfies the transmission device restriction, and information related to the device described in the template selection reception profile is received. Selecting the template that satisfies device constraints;
A condition part including the transmitting device identifier in the input first input information and the event condition in the selected template; the receiving device identifier in the input first input information; A program for causing an execution unit including the notification message in the selected template to generate a rule having a unique rule name.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012152402A JP2014016708A (en) | 2012-07-06 | 2012-07-06 | Rule creation device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012152402A JP2014016708A (en) | 2012-07-06 | 2012-07-06 | Rule creation device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014016708A true JP2014016708A (en) | 2014-01-30 |
Family
ID=50111361
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012152402A Pending JP2014016708A (en) | 2012-07-06 | 2012-07-06 | Rule creation device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014016708A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10255447B2 (en) | 2016-04-28 | 2019-04-09 | Sk Planet Co., Ltd. | Secure message-sending method using personalized template and apparatus using the same |
-
2012
- 2012-07-06 JP JP2012152402A patent/JP2014016708A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10255447B2 (en) | 2016-04-28 | 2019-04-09 | Sk Planet Co., Ltd. | Secure message-sending method using personalized template and apparatus using the same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101657379B1 (en) | Method and apparatus for providing data entry content to a remote environment | |
US8688815B2 (en) | System and method for welder with help request functionality | |
JP2017134823A (en) | Method and device for recommending application and method and device for displaying recommended application | |
JP2014225239A (en) | Method and apparatus for seamless state transfer between user interface devices in mobile control room | |
JP5522381B2 (en) | Display device, terminal device, display system, program, information storage medium, display method, and image change method | |
US20190196898A1 (en) | Log transmission apparatus and log collection system | |
US9264318B2 (en) | Synchronized distributed networks with frictionless application installation | |
US20210304126A1 (en) | System to catalogue tracking data | |
KR20150033453A (en) | Method of big data processing, apparatus performing the same and storage media storing the same | |
US20150205269A1 (en) | Method and system for monitoring controlled variable of multivariable predictive controller in an industrial plant | |
US11662858B2 (en) | Terminal device, calibration method and calibration program | |
US20160337166A1 (en) | Apparatus and method for automated event notification read receipt to support non-repudiated auditing or other functions in industrial process control and automation system | |
US20200120116A1 (en) | Supervisory control and data acquisition | |
US10021063B2 (en) | Apparatus and method for protecting proprietary information over public notification infrastructure | |
JP2014016708A (en) | Rule creation device | |
JP5123133B2 (en) | Display system and display device | |
US20220191822A1 (en) | Device cooperation method, apparatus, and system | |
KR20170019607A (en) | Interaction crime prevention system | |
KR102146062B1 (en) | Server, Method, and Recording Medium for experiencing Smart Device by using Store Terminal | |
WO2020166343A1 (en) | Processing system, processing method, maintenance worker assist device and maintenance worker assist program | |
Heinz et al. | Feedback presentation for workers in industrial environments–challenges and opportunities | |
KR101539955B1 (en) | Method, management apparatus, server, terminal and recording medium for providing remote media output service | |
JP5965661B2 (en) | Display screen conversion apparatus, display screen conversion method, and program | |
JP2011253423A (en) | Operation support system | |
US20200044941A1 (en) | Monitoring system, image information providing device, client control device, image information providing program, and client control program |