JP2014016708A - Rule creation device - Google Patents

Rule creation device Download PDF

Info

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
Application number
JP2012152402A
Other languages
Japanese (ja)
Inventor
Kenichiro Fujiyama
健一郎 藤山
Sawako Mikami
紗和子 見上
Koji Kida
弘司 喜田
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2012152402A priority Critical patent/JP2014016708A/en
Publication of JP2014016708A publication Critical patent/JP2014016708A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a rule creation device which solves a problem that it is difficult to select an appropriate template out of a number of templates.SOLUTION: Template storage means stores a plurality of templates having a template name, an event condition, a notification message, a transmission device limitation, and a reception device limitation. Profile storage means stores a plurality of device profiles having various types of information related to devices. When a transmission device identifier and a reception device identifier are input, profile selection means selects a device profile corresponding to the transmission device identifier and a device profile corresponding to the reception device identifier. Template selection means selects a template in which various types of information described in the selected device profile satisfy a transmission device limitation, and a reception device limitation in the template. Rule creation means creates a rule by using a selected template.

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 Room 2 are linked in accordance with the rule of the rule name “air conditioner control 2”.

図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.

特開2010−236847号公報JP 2010-236847 A

「分散ストリームPub/Subプラットフォームの提案」、2011年3月14日〜17日、電子情報通信学会総合大会、通信講演論文集2、P212。“Proposal of Distributed Stream Pub / Sub Platform”, March 14-17, 2011, IEICE General Conference, Communication Lecture 2, P212.

しかし、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の実施形態のブロック図である。It is a block diagram of a 1st embodiment of the present invention. 本発明の第1の実施形態におけるテンプレートの構成例を示す図である。It is a figure which shows the structural example of the template in the 1st Embodiment of this invention. 本発明の第1の実施形態におけるデバイスプロファイルの構成例を示す図である。It is a figure which shows the structural example of the device profile in the 1st Embodiment of this invention. 本発明の第1の実施形態の動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation | movement of the 1st Embodiment of this invention. 本発明の第1の実施形態において生成されたルールの一例を示す図である。It is a figure which shows an example of the rule produced | generated in the 1st Embodiment of this invention. 本発明の第2の実施形態のブロック図である。It is a block diagram of the 2nd Embodiment of this invention. 本発明の第2の実施形態の動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation | movement of the 2nd Embodiment of this invention. 本発明の第3の実施形態のブロック図である。It is a block diagram of the 3rd Embodiment of this invention. 本発明の第3の実施形態におけるテンプレート作成機能付きルール作成部の動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation | movement of the rule preparation part with a template preparation function in the 3rd Embodiment of this invention. 本発明の第4の実施形態のブロック図である。It is a block diagram of the 4th Embodiment of this invention. 本発明の第4の実施形態におけるテンプレート作成機能付きルール作成部の動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation | movement of the rule preparation part with a template preparation function in the 4th Embodiment of this invention. M2Mサービスの構成例を示す図である。It is a figure which shows the structural example of an M2M service. M2Mサービスで使用するルールの構成例を示す図である。It is a figure which shows the structural example of the rule used with an M2M service. M2Mサービスの具体例を示す図である。It is a figure which shows the specific example of an M2M service. M2Mサービスで使用するルールを一から作成する手順を示すフローチャートである。It is a flowchart which shows the procedure which produces the rule used by M2M service from scratch. M2Mサービスで使用するルールをテンプレートを利用して作成する手順を示すフローチャートである。It is a flowchart which shows the procedure which produces the rule used with an M2M service using a template. 同じテンプレートから生成される複数のルールの例を示す図である。It is a figure which shows the example of the some rule produced | generated from the same template.

次に本発明の実施の形態について図面を参照して詳細に説明する。
[第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) unit 110, an operation input unit 120, a screen display unit 130, a storage unit 140, and an arithmetic processing unit. 150.

通信I/F部110は、専用のデータ通信回路からなり、通信回線を介して接続された各種装置との間でデータ通信を行う機能を有している。   The communication I / F unit 110 includes a dedicated data communication circuit, and has a function of performing data communication with various devices connected via a communication line.

操作入力部120は、キーボードやマウスなどの操作入力装置からなり、オペレータの操作を検出して演算処理部150に出力する機能を有している。   The operation input unit 120 includes an operation input device such as a keyboard and a mouse, and has a function of detecting an operator operation and outputting the operation to the arithmetic processing unit 150.

画面表示部130は、LCD(Liquid Crystal Display)やPDP(Plasma Display Panel)などの画面表示装置からなり、演算処理部150からの指示に応じて、操作メニューなどの各種情報を画面表示する機能を有している。   The screen display unit 130 includes a screen display device such as an LCD (Liquid Crystal Display) or a PDP (Plasma Display Panel), and has a function of displaying various information such as an operation menu on the screen in response to an instruction from the arithmetic processing unit 150. Have.

記憶部140は、ハードディスクやメモリなどの記憶装置からなり、演算処理部150における各種処理に必要な処理情報やプログラム140Pを記憶する機能を有している。プログラム140Pは、演算処理部150に読み込まれて実行されることにより各種処理部を実現するプログラムであり、通信I/F部110などのデータ入出力機能を介して外部装置(図示せず)や記憶媒体(図示せず)から予め読み込まれて記憶部140に保存される。記憶部140で記憶される主な処理情報として、テンプレート群140A、およびプロファイル群140Bがある。   The storage unit 140 includes a storage device such as a hard disk or a memory, and has a function of storing processing information and programs 140P necessary for various processes in the arithmetic processing unit 150. The program 140P is a program that realizes various processing units by being read and executed by the arithmetic processing unit 150, and an external device (not shown) or the like via a data input / output function such as the communication I / F unit 110. It is read in advance from a storage medium (not shown) and stored in the storage unit 140. Main processing information stored in the storage unit 140 includes a template group 140A and a profile group 140B.

テンプレート群140Aは、ルール作成用のテンプレート140A1の集合である。図2は、テンプレート群140Aに含まれるテンプレート140A1の構成例である。テンプレート140A1は、テンプレート名140A11とイベント条件140A12と通知メッセージ140A13と送信デバイス制約140A14と受信デバイス制約140A15とを有する。   The template group 140A is a set of templates 140A1 for creating rules. FIG. 2 is a configuration example of the template 140A1 included in the template group 140A. The template 140A1 includes a template name 140A11, an event condition 140A12, a notification message 140A13, a transmission device restriction 140A14, and a reception device restriction 140A15.

テンプレート名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 profile group 140B is a set of device profiles 140B1. FIG. 3 is a configuration example of the device profile 140B1 included in the profile group 140B. The device profile 140B1 has a device identifier 140B11 and a profile 140B12.

デバイス識別子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 arithmetic processing unit 150 has a microprocessor such as an MPU and its peripheral circuits, and reads and executes the program 140P from the storage unit 140, thereby realizing various processing units by cooperating the hardware and the program 140P. It has a function to do. As main processing units realized by the arithmetic processing unit 150, there are an input unit 150A, a profile selection unit 150B, a template selection unit 150C, and a rule creation unit 150D.

入力手段150Aは、操作入力部120または通信I/F部110を通じてルール作成者から、作成するルールに設定する送信デバイス識別子と受信デバイス識別子とを入力する機能を有する。入力手段150Aは、入力した送信デバイス識別子と受信デバイス識別子とを、プロファイル選択手段150Bおよびルール作成手段150Dに伝達する。   The input unit 150A has a function of inputting a transmission device identifier and a reception device identifier set in a rule to be created from the rule creator through the operation input unit 120 or the communication I / F unit 110. The input unit 150A transmits the input transmission device identifier and reception device identifier to the profile selection unit 150B and the rule creation unit 150D.

プロファイル選択手段150Bは、記憶部140に記憶されたプロファイル群140Bの中から、テンプレートを選択するために使用するデバイスプロファイル140B1を選択する機能を有する。具体的には、プロファイル選択手段150Bは、入力手段150Aから伝達された送信デバイス識別子に一致するデバイス識別子140B11を有するデバイスプロファイル140B1をテンプレート選択用送信プロファイルとして選択する。またプロファイル選択手段150Bは、入力手段150Aから伝達された受信デバイス識別子に一致するデバイス識別子140B11を有するデバイスプロファイル140B1をテンプレート選択用受信プロファイルとして選択する。プロファイル選択手段150Bは、選択したテンプレート選択用送信デバイスプロファイルとテンプレート選択用受信プロファイルとをテンプレート選択手段150Cに伝達する。   The profile selection unit 150B has a function of selecting a device profile 140B1 used for selecting a template from the profile group 140B stored in the storage unit 140. Specifically, the profile selection unit 150B selects the device profile 140B1 having the device identifier 140B11 that matches the transmission device identifier transmitted from the input unit 150A as the template selection transmission profile. The profile selection unit 150B selects the device profile 140B1 having the device identifier 140B11 that matches the reception device identifier transmitted from the input unit 150A as the template selection reception profile. The profile selection unit 150B transmits the selected template selection transmission device profile and the template selection reception profile to the template selection unit 150C.

テンプレート選択手段150Cは、プロファイル選択手段150Bから伝達されたデバイスプロファイルに従って、記憶部140に記憶されたテンプレート群140Aの中からルールの作成に使用するテンプレート140A1を選択する機能を有する。具体的には、テンプレート選択手段150Cは、テンプレート群140Aの中から、テンプレート選択用送信プロファイルに記述されたデバイスに関する各種の情報が送信デバイス制約140A14を満足し、且つ、テンプレート選択用受信プロファイルに記述されたデバイスに関する各種の情報が受信デバイス制約140A15を満足するテンプレート140A1を選択する。テンプレート選択手段150Cは、選択したテンプレート140A1をルール作成手段150Dに伝達する。   The template selecting unit 150C has a function of selecting a template 140A1 used for creating a rule from the template group 140A stored in the storage unit 140 in accordance with the device profile transmitted from the profile selecting unit 150B. Specifically, the template selection unit 150C includes various information related to the device described in the template selection transmission profile from the template group 140A that satisfies the transmission device restriction 140A14 and is described in the template selection reception profile. The template 140A1 in which various information regarding the selected device satisfies the receiving device constraint 140A15 is selected. The template selection unit 150C transmits the selected template 140A1 to the rule creation unit 150D.

ルール作成手段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 rule creation unit 150D outputs the created rule to the outside through the communication I / F unit 110 or displays it on the screen display unit 130.

次に、図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 input unit 150A inputs a pair of a transmission device identifier and a reception device identifier from the user through the operation input unit 120 or the communication I / F unit 110, and transmits the set to the profile selection unit 150B and the rule creation unit 150D ( Step S1). For example, when the user inputs the transmission device identifier = TM1 and the reception device identifier = AC1 through the operation input unit 120, the input unit 150A inputs them and transmits them to the profile selection unit 150B and the rule creation unit 150D.

次に、プロファイル選択手段150Bは、入力手段150Aから伝達された送信デバイス識別子に一致するデバイス識別子140B11を有するデバイスプロファイル140B1をテンプレート選択用送信プロファイルとして選択すると共に、入力手段150Aから伝達された受信デバイス識別子に一致するデバイス識別子140B11を有するデバイスプロファイル140B1をテンプレート選択用受信プロファイルとして選択し、選択したテンプレート選択用送信プロファイルおよびテンプレート選択用受信プロファイルをテンプレート選択手段150Cに伝達する(ステップS2)。例えば、送信デバイス識別子=TM1、受信デバイス識別子=AC1の場合、プロファイル選択手段150Bは、図3中のデバイス識別子=TM1のデバイスファイルと、図3中のデバイス識別子=AC1のデバイスファイルとを選択し、テンプレート選択手段150Cに伝達する。   Next, the profile selection unit 150B selects the device profile 140B1 having the device identifier 140B11 that matches the transmission device identifier transmitted from the input unit 150A as the template selection transmission profile, and receives the reception device transmitted from the input unit 150A. The device profile 140B1 having the device identifier 140B11 that matches the identifier is selected as a template selection reception profile, and the selected template selection transmission profile and template selection reception profile are transmitted to the template selection means 150C (step S2). For example, when the transmission device identifier = TM1 and the reception device identifier = AC1, the profile selection unit 150B selects the device file with the device identifier = TM1 in FIG. 3 and the device file with the device identifier = AC1 in FIG. And transmitted to the template selecting means 150C.

次に、テンプレート選択手段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 template selection unit 150C satisfies various types of information related to the device described in the template selection transmission profile satisfy the transmission device constraint 140A14, and various types of information related to the device described in the template selection reception profile includes the reception device constraint. A template 140A1 that satisfies 140A15 is selected from the template group 140A, and the selected template 140A1 is transmitted to the rule creating means 150D (step S3). For example, when the device file with the device identifier = TM1 in FIG. 3 is a transmission profile for template selection and the device file with the device identifier = AC1 in FIG. 3 is a reception profile for template selection, the template selection unit 150C is shown in FIG. The template 140A1 having the template name “air conditioner control” is selected from the plurality of templates. The reason is that various types of information related to the device described in the template selection transmission profile “device type = thermometer, installation location = Room1, generation event = temperature information T, event unit = ° C.” is the transmission device of the template 140A1. Various information related to the device satisfying the restriction 140A14 “device type = thermometer” and described in the template selection reception profile “device type = air conditioner, installation location = Room1, installation date = January 1, 2000” This is because the receiving device restriction 140A15 “device type = air conditioner & installation location = transmission device installation location” of the template 140A1 is satisfied. Here, a profile that does not exist in the device constraint is considered to be satisfactory regardless of the profile of the device profile.

次に、ルール作成手段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 template selection unit 150C is created, and a rule with a unique rule name is created (step S4). For example, when the transmitting device identifier is TM1, the receiving device identifier is AC1, and the template is the template 140A1 having the template name “air conditioner control” shown in FIG. 2, the rule creating means 150D uses, for example, a rule as shown in FIG. Is generated. The method of assigning a unique rule name is arbitrary. For example, there is a method of storing the number of rules created for each template and assigning the number +1 to a unique template name as a suffix, but is not limited thereto.

最後に、ルール作成手段150Dは、作成したルールを通信I/F部110を通じて外部に出力し、または画面表示部130に表示する(ステップS5)。   Finally, the rule creation unit 150D outputs the created rule to the outside through the communication I / F unit 110 or displays it on the screen display unit 130 (step S5).

次に本実施形態の効果を説明する。   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 template group 140A is displayed on the screen display unit 130 and the user selects an appropriate template from the list, the burden on the user when selecting a template when the number of templates is large. Will increase. In addition, the template group 140A is held so as to be searchable using a combination of the types of the transmission device and the reception device as a key, and the user specifies the type of the transmission device and the reception device so that the user can select a template used in rule creation. In the method of selecting, it is necessary for the user to input the types of the transmitting device and the receiving device in addition to the transmitting device identifier and the receiving device identifier, which increases the burden on the user.

[第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 / F unit 210, an operation input unit 220, a screen display unit 230, a storage unit 240, and an arithmetic processing unit 250. .

通信I/F部210、操作入力部220、および画面表示部230は、図1に示した第1の実施形態における通信I/F部110、操作入力部120、および画面表示部130と同様の機能を有する。   The communication I / F unit 210, the operation input unit 220, and the screen display unit 230 are the same as the communication I / F unit 110, the operation input unit 120, and the screen display unit 130 in the first embodiment illustrated in FIG. It has a function.

記憶部240は、ハードディスクやメモリなどの記憶装置からなり、演算処理部250における各種処理に必要な処理情報やプログラム240Pを記憶する機能を有している。プログラム240Pは、演算処理部250に読み込まれて実行されることにより各種処理部を実現するプログラムであり、通信I/F部210などのデータ入出力機能を介して外部装置(図示せず)や記憶媒体(図示せず)から予め読み込まれて記憶部240に保存される。記憶部240で記憶される主な処理情報として、テンプレート群240A、およびプロファイル群240Bがある。   The storage unit 240 includes a storage device such as a hard disk or a memory, and has a function of storing processing information and programs 240P necessary for various processes in the arithmetic processing unit 250. The program 240P is a program that realizes various processing units by being read and executed by the arithmetic processing unit 250, and an external device (not shown) or the like via a data input / output function such as the communication I / F unit 210. It is read in advance from a storage medium (not shown) and stored in the storage unit 240. Main processing information stored in the storage unit 240 includes a template group 240A and a profile group 240B.

テンプレート群240Aは、ルール作成用のテンプレート240A1の集合である。テンプレート群240Aおよびその構成要素であるテンプレート240A1は、図1に示した第1の実施形態におけるテンプレート群140Aおよびその構成要素であるテンプレート140A1と同じである。   Template group 240A is a set of templates 240A1 for rule creation. The template group 240A and its template 240A1 are the same as the template group 140A and its template 140A1 in the first embodiment shown in FIG.

プロファイル群240Bは、デバイスプロファイル240B1の集合である。プロファイル群240Bおよびその構成要素であるデバイスプロファイル240B1は、図1に示した第1の実施形態におけるデバイスプロファイル140Bおよびその構成要素であるデバイスプロファイル140B1と同じである。   The profile group 240B is a set of device profiles 240B1. The profile group 240B and its device profile 240B1 are the same as the device profile 140B and its device profile 140B1 in the first embodiment shown in FIG.

演算処理部250は、MPUなどのマイクロプロセッサとその周辺回路を有し、記憶部240からプログラム240Pを読み込んで実行することにより、上記ハードウェアとプログラム240Pとを協働させて各種処理部を実現する機能を有している。演算処理部250で実現される主な処理部として、入力手段250Aとプロファイル選択手段250Bとテンプレート選択手段250Cとルール作成手段250Dとルール修正手段250Eとルール登録手段250Fとがある。   The arithmetic processing unit 250 has a microprocessor such as an MPU and its peripheral circuits, and reads and executes the program 240P from the storage unit 240, thereby realizing various processing units by cooperating the hardware and the program 240P. It has a function to do. As main processing units realized by the arithmetic processing unit 250, there are an input unit 250A, a profile selection unit 250B, a template selection unit 250C, a rule creation unit 250D, a rule correction unit 250E, and a rule registration unit 250F.

入力手段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 rule creation unit 250D transmits the created rule to the rule correction unit 250E.

ルール修正手段250Eは、ルール作成手段250Dによって生成されたルールを画面表示部230に表示する機能と、この表示したルールに対してユーザが操作入力部220を通じて修正を指示すると、指示された通りにルールを修正する機能とを有する。即ち、ルール修正手段250Eは、ユーザに対してルールを対話的に修正する環境を提供する。ルール修正手段250Eは、ユーザによる修正後のルール、あるいはユーザによって修正無しと判断されたルールを、ルール登録手段250Fに伝達する。   The rule correcting unit 250E displays the rule generated by the rule creating unit 250D on the screen display unit 230, and when the user instructs the displayed rule to be corrected through the operation input unit 220, as instructed. And a function for modifying the rule. That is, the rule correction unit 250E provides an environment for interactively correcting the rule to the user. The rule correction unit 250E transmits the rule corrected by the user or the rule determined not to be corrected by the user to the rule registration unit 250F.

ルール登録手段250Fは、ルール修正手段250Eから伝達されたルールを、通信I/F部210を通じて図6には図示しないM2M管理システムへ送信し、M2M管理システムのルール記憶装置に記憶させる機能を有する。   The rule registration unit 250F has a function of transmitting the rule transmitted from the rule correction unit 250E to the M2M management system (not shown in FIG. 6) through the communication I / F unit 210 and storing it in the rule storage device of the M2M management system. .

次に、図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 input unit 250A inputs a pair of a transmission device identifier and a reception device identifier from the user through the operation input unit 220 or the communication I / F unit 210, and transmits the set to the profile selection unit 250B and the rule creation unit 250D ( Step S11).

次に、プロファイル選択手段250Bは、入力手段250Aから伝達された送信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル240B1をテンプレート選択用送信プロファイルとして選択すると共に、入力手段250Aから伝達された受信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル240B1をテンプレート選択用受信プロファイルとして選択し、選択したテンプレート選択用送信プロファイルおよびテンプレート選択用受信プロファイルをテンプレート選択手段250Cに伝達する(ステップS12)。   Next, the profile selection unit 250B selects a device profile 240B1 having a device identifier that matches the transmission device identifier transmitted from the input unit 250A as a template selection transmission profile, and receives the reception device identifier transmitted from the input unit 250A. Is selected as a template selection reception profile, and the selected template selection transmission profile and template selection reception profile are transmitted to the template selection means 250C (step S12).

次に、テンプレート選択手段250Cは、テンプレート選択用送信プロファイルに記述されたデバイスに関する各種の情報が送信デバイス制約を満足し、テンプレート選択用受信するプロファイルに記述されたデバイスに関する各種の情報が受信デバイス制約を満足するテンプレート240A1を、テンプレート群240Aの中から選択し、選択したテンプレート240A1をルール作成手段250Dに伝達する(ステップS13)。   Next, the template selection unit 250C satisfies the various types of information related to the device described in the template selection transmission profile satisfy the transmission device constraint, and the various types of information related to the device described in the template selection reception profile receives the reception device constraint. Is selected from the template group 240A, and the selected template 240A1 is transmitted to the rule creating means 250D (step S13).

次に、ルール作成手段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 template selection unit 250C and having a unique rule name is created (step S14). Then, the rule creation unit 250D transmits the created rule to the rule correction unit 250E.

次に、ルール修正手段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 rule creation unit 250D on the screen display unit 230 and waits for an instruction from the user (step S15). When receiving a correction instruction from the user through the operation input unit 220 (YES in step S16), the rule correction unit 250E corrects the rule in accordance with the correction instruction (step S18). Further, when receiving an instruction for registering a rule from the user through the operation input unit 220 (YES in step S17), the rule correcting unit 250E generates a corrected rule (if it has not received an instruction for correction even once) Are transmitted to the rule registration means 250F.

ルール登録手段250Fは、ルール修正手段250Eから伝達されたルールを、通信I/F部210を通じてM2M管理システムへ送信し、M2M管理システムのルール記憶装置に記憶させる(ステップS19)。   The rule registration unit 250F transmits the rule transmitted from the rule correction unit 250E to the M2M management system through the communication I / F unit 210 and stores it in the rule storage device of the M2M management system (step S19).

次に本実施形態の効果を説明する。   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 screen display unit 230 and has the rule correction means 250E that receives a correction instruction, the user can confirm the content of the generated rule, and is necessary. Can be modified accordingly. For example, when a plurality of templates having different event conditions and notification message contents exist in the template group 240 for a combination of the same type of transmission device and reception device, the template selection unit 250C uses the plurality of templates 240A1. Is selected, a plurality of rules are created by the rule creation means 250D, and a plurality of rules are displayed on the screen display unit 230 by the rule correction means 250E. At this time, the user can create an appropriate rule by inputting any correction instruction that leaves any one of the plurality of rules and deletes the other.

また本実施形態によれば、ルール登録手段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 / F unit 310, an operation input unit 320, a screen display unit 330, a storage unit 340, and an arithmetic processing unit 350. .

通信I/F部310、操作入力部320、および画面表示部330は、図6に示した第2の実施形態における通信I/F部210、操作入力部220、および画面表示部230と同様の機能を有する。   Communication I / F unit 310, operation input unit 320, and screen display unit 330 are the same as communication I / F unit 210, operation input unit 220, and screen display unit 230 in the second embodiment shown in FIG. It has a function.

記憶部340は、ハードディスクやメモリなどの記憶装置からなり、演算処理部350における各種処理に必要な処理情報やプログラム340Pを記憶する機能を有している。プログラム340Pは、演算処理部350に読み込まれて実行されることにより各種処理部を実現するプログラムであり、通信I/F部310などのデータ入出力機能を介して外部装置(図示せず)や記憶媒体(図示せず)から予め読み込まれて記憶部340に保存される。記憶部340で記憶される主な処理情報として、テンプレート群340A、およびプロファイル群340Bがある。   The storage unit 340 includes a storage device such as a hard disk or a memory, and has a function of storing processing information and programs 340P necessary for various processes in the arithmetic processing unit 350. The program 340P is a program that realizes various processing units by being read and executed by the arithmetic processing unit 350, and an external device (not shown) or the like via a data input / output function such as the communication I / F unit 310. The data is read in advance from a storage medium (not shown) and stored in the storage unit 340. Main processing information stored in the storage unit 340 includes a template group 340A and a profile group 340B.

テンプレート群340Aは、ルール作成用のテンプレート340A1の集合である。テンプレート群340Aおよびその構成要素であるテンプレート340A1は、図6に示した第2の実施形態におけるテンプレート群240Aおよびその構成要素であるテンプレート240A1と同じである。   Template group 340A is a set of templates 340A1 for rule creation. Template group 340A and template 340A1 that is a component thereof are the same as template group 240A and template 240A1 that is a component thereof in the second embodiment shown in FIG.

プロファイル群340Bは、デバイスプロファイル340B1の集合である。プロファイル群340Bおよびその構成要素であるデバイスプロファイル340B1は、図6に示した第2の実施形態におけるデバイスプロファイル240Bおよびその構成要素であるデバイスプロファイル240B1と同じである。   The profile group 340B is a set of device profiles 340B1. The profile group 340B and its device profile 340B1 are the same as the device profile 240B and its device profile 240B1 in the second embodiment shown in FIG.

演算処理部350は、MPUなどのマイクロプロセッサとその周辺回路を有し、記憶部340からプログラム340Pを読み込んで実行することにより、上記ハードウェアとプログラム340Pとを協働させて各種処理部を実現する機能を有している。演算処理部350で実現される主な処理部として、テンプレート作成機能付きルール作成部360と、テンプレートによるルール作成部370とがある。   The arithmetic processing unit 350 has a microprocessor such as an MPU and its peripheral circuits, and reads and executes the program 340P from the storage unit 340, thereby realizing various processing units by cooperating the hardware and the program 340P. It has a function to do. The main processing units realized by the arithmetic processing unit 350 include a rule creation unit 360 with a template creation function and a rule creation unit 370 using a template.

テンプレート作成機能付きルール作成部360は、ユーザから入力されたイベント条件や通知メッセージ等の情報に従ってルールを作成する機能と、この作成したルールと同じイベント条件および通知メッセージを使用する他のルールを作成するためのテンプレートを作成して記憶部340のテンプレート群340Aに登録する機能とを有する。テンプレート作成機能付きルール作成部360は、ルール作成機能に関連する処理部として、入力手段360A、ルール作成手段360B、およびルール登録手段360Cを有する。またテンプレート作成機能付きルール作成部360は、テンプレート作成機能に関連する処理部として、プロファイル選択手段360D、制約生成手段360E、テンプレート作成手段360F、テンプレート修正手段360G、およびテンプレート登録手段360Hを有する。   The rule creation unit 360 with a template creation function creates a rule according to information such as an event condition or a notification message input from the user, and creates another rule that uses the same event condition and notification message as the created rule. And a function of creating a template for registration in the template group 340A of the storage unit 340. The rule creation unit with template creation function 360 includes an input unit 360A, a rule creation unit 360B, and a rule registration unit 360C as processing units related to the rule creation function. The rule creation unit with template creation function 360 includes a profile selection unit 360D, a constraint generation unit 360E, a template creation unit 360F, a template correction unit 360G, and a template registration unit 360H as processing units related to the template creation function.

入力手段360Aは、操作入力部320または通信I/F部310を通じてルール作成者から、ルール名と送信デバイス識別子とイベント条件と受信デバイス識別子と通知メッセージとを含むルール作成情報を入力する機能を有する。入力手段360Aは、入力したルール作成情報を、ルール作成手段360B、プロファイル選択手段360D、テンプレート作成手段360Fに伝達する。   The input unit 360A has a function of inputting rule creation information including a rule name, a transmission device identifier, an event condition, a reception device identifier, and a notification message from the rule creator through the operation input unit 320 or the communication I / F unit 310. . The input unit 360A transmits the input rule creation information to the rule creation unit 360B, the profile selection unit 360D, and the template creation unit 360F.

ルール作成手段360Bは、入力手段360Aから伝達されたルール作成情報に基づいてルールを作成する機能を有する。具体的には、ルール作成手段360Bは、ルール作成情報中の送信デバイス識別子とイベント条件とを含む条件部と、ルール作成情報中の受信デバイス識別子と通知メッセージとを含む実行部とを有し、ルール作成情報中のルール名を有するルールを作成する。ルール作成手段360Bは、作成したルールを、ルール登録手段360Cに伝達する。   The rule creation unit 360B has a function of creating a rule based on the rule creation information transmitted from the input unit 360A. Specifically, the rule creation means 360B has a condition part including a transmission device identifier and an event condition in the rule creation information, and an execution part including a reception device identifier and a notification message in the rule creation information, A rule having the rule name in the rule creation information is created. The rule creation unit 360B transmits the created rule to the rule registration unit 360C.

ルール登録手段360Cは、ルール作成手段360Bから伝達されたルールを、通信I/F部310を通じて図8には図示しないM2M管理システムへ送信し、M2M管理システムのルール記憶装置に記憶させる機能を有する。   The rule registration unit 360C has a function of transmitting the rule transmitted from the rule creation unit 360B to the M2M management system (not shown in FIG. 8) through the communication I / F unit 310 and storing it in the rule storage device of the M2M management system. .

プロファイル選択手段360Dは、記憶部340に記憶されたプロファイル群340Bの中から、入力手段360Aから伝達されたルール作成情報中の送信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル340B1をテンプレート作成用送信プロファイルとして選択する機能と、ルール作成情報中の受信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル340B1をテンプレート作成用受信プロファイルとして選択する機能とを有する。プロファイル選択手段360Dは、選択したテンプレート作成用送信プロファイルおよびテンプレート作成用受信プロファイルを、制約生成手段360Eに伝達する。   The profile selection unit 360D transmits a device profile 340B1 having a device identifier that matches the transmission device identifier in the rule creation information transmitted from the input unit 360A from among the profile group 340B stored in the storage unit 340. A function to select as a profile, and a function to select a device profile 340B1 having a device identifier that matches the reception device identifier in the rule creation information as a template creation reception profile. The profile selection unit 360D transmits the selected template creation transmission profile and template creation reception profile to the constraint generation unit 360E.

制約生成手段360Eは、プロファイル選択手段360Dから伝達されたテンプレート作成用送信プロファイルおよびテンプレート作成用受信プロファイルに記述されたデバイスに関する各種の情報を解析し、テンプレート作成手段360Fが作成するテンプレートに設定する送信デバイス制約と受信デバイス制約とを生成し、テンプレート作成手段360Fに伝達する機能を有する。   The constraint generation unit 360E analyzes various types of information related to the devices described in the template creation transmission profile and the template creation reception profile transmitted from the profile selection unit 360D, and transmits the template set in the template created by the template creation unit 360F. It has a function of generating device constraints and receiving device constraints and transmitting them to the template creation means 360F.

テンプレート中の送信デバイス制約は、当該テンプレートが適用される送信デバイスを限定する情報である。送信デバイスに関するどのような情報を送信デバイス制約とするかは事前に定義されている。制約生成手段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 constraint generation unit 360E extracts the transmission device identifier from the template creation transmission profile.

またテンプレート中の受信デバイス制約は、当該テンプレートが適用される受信デバイスを限定する情報である。受信デバイスに関するどのような情報を受信デバイス制約とするかは事前に定義されている。制約生成手段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 constraint generation unit 360E extracts the reception device identifier and the installation location from the template creation reception profile. In another example of the first embodiment, the reception device restriction is that the installation location of the reception device is the same as that of the transmission device (see FIG. 2). In this way, when the predetermined relationship between the transmitting device and the receiving device is used as the receiving device constraint, the constraint generation unit 360E extracts the predetermined relationship from the template creation transmission profile and the template creation reception profile, and uses it. Receiving device constraint.

第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 constraint generation unit 360E may extract only these as device constraints from the device profile, but is not limited thereto.

また、制約生成手段360Eは、デバイスの種類と設置場所を優先度の高い制約、それ以外のプロファイルを優先度の低い制約としてそれぞれ抽出して画面表示部330に優先度別に表示し、実際に使用する制約をユーザに選択させるようにしても良い。このユーザによる制約の選択は、後段のテンプレート修正手段360Gによるテンプレートの修正段階で実施するようにしても良い。   Further, the constraint generation unit 360E extracts the device type and installation location as constraints with high priority and other profiles as constraints with low priority, displays them on the screen display unit 330 according to priority, and actually uses them. You may make it make a user select the restrictions to perform. The selection of the constraint by the user may be performed at the template correction stage by the template correction unit 360G in the subsequent stage.

テンプレート作成手段360Fは、入力手段360Aから伝達されたルール作成情報中のイベント条件および通知メッセージと、制約生成手段360Eから伝達された送信デバイス制約および受信デバイス制約と、一意なテンプレート名とを有するテンプレートを生成する機能を有する。一意なテンプレート名の生成方法としては、例えば、ルール名をそのままテンプレート名とする方法がある。但し、既に同名のテンプレートが存在する場合、一意となるテンプレート名を付ける。一意となるテンプレート名の付け方としては、例えば、同名のテンプレート毎に作成されたテンプレート数を記憶しておき、その数+1をサフィックスとしてルール名に付与する、等の方式があるが、これに限定されるものではない。テンプレート作成手段360Fは、生成したテンプレートをテンプレート修正手段360Gに伝達する。   The template creation unit 360F includes a template having an event condition and a notification message in the rule creation information transmitted from the input unit 360A, a transmission device constraint and a reception device constraint transmitted from the constraint generation unit 360E, and a unique template name. It has the function to generate. As a method for generating a unique template name, for example, there is a method in which a rule name is used as a template name as it is. However, if a template with the same name already exists, a unique template name is assigned. As a method of assigning a unique template name, for example, there is a method of storing the number of templates created for each template of the same name, and adding the number +1 as a suffix to the rule name. Is not to be done. The template creation unit 360F transmits the generated template to the template correction unit 360G.

テンプレート修正手段360Gは、テンプレート作成手段360Fによって生成されたテンプレートを画面表示部330に表示する機能と、この表示したテンプレートに対してユーザが操作入力部320を通じて修正を指示すると、指示された通りにテンプレートを修正する機能とを有する。即ち、テンプレート修正手段360Gは、ユーザに対してテンプレートを対話的に修正する環境を提供する。テンプレート修正手段360Gは、ユーザによる修正後のテンプレート、あるいはユーザによって修正無しと判断されたテンプレートを、テンプレート登録手段360Hに伝達する。なお、テンプレートの作成を行わないことも、修正の一形態である。また、テンプレート修正手段360Gは省略してもよい。その場合、テンプレート作成手段360Fで作成されたテンプレートはテンプレート登録手段360Hに伝達される。   The template correction unit 360G displays the template generated by the template creation unit 360F on the screen display unit 330, and when the user instructs the displayed template to be corrected through the operation input unit 320, as instructed. And a function of modifying the template. That is, the template correction unit 360G provides an environment for interactively correcting the template to the user. The template correction unit 360G transmits the template corrected by the user or the template determined not to be corrected by the user to the template registration unit 360H. Note that not creating a template is another form of modification. Further, the template correction unit 360G may be omitted. In that case, the template created by the template creation unit 360F is transmitted to the template registration unit 360H.

テンプレート登録手段360Hは、テンプレート修正手段360Gから伝達されたテンプレートを、記憶部340のテンプレート群340Aに記憶させる機能を有する。   The template registration unit 360H has a function of storing the template transmitted from the template correction unit 360G in the template group 340A of the storage unit 340.

テンプレートによるルール作成部370は、記憶部340に記憶されたテンプレート群340Aを利用して、本発明の第2の実施形態と同様なルール作成環境をルール作成者に提供する機能を有する。すなわち、テンプレートによるルール作成部370は、図6に示した第2の実施形態における入力手段250A、プロファイル選択手段250B、テンプレート選択手段250C、ルール作成手段250D、ルール修正手段250E、およびルール登録手段250Fから構成される。   The rule creation unit 370 using templates has a function of providing the rule creator with a rule creation environment similar to that of the second embodiment of the present invention, using the template group 340A stored in the storage unit 340. That is, the template rule creation unit 370 has the input unit 250A, profile selection unit 250B, template selection unit 250C, rule creation unit 250D, rule modification unit 250E, and rule registration unit 250F in the second embodiment shown in FIG. Consists of

次に、本実施形態にかかるルール作成装置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 rule creation unit 360 with a template creation function is operated, and an operation mode in which the rule creation unit 370 using a template is operated. For example, the user can select and use one of the two operation modes by an operation menu displayed on the screen display unit 330. In general, if a template that can be used exists in the template group 340A, the rule creation unit 370 based on the template is used. On the other hand, if a usable template does not exist in the template group 340A, a rule is created without a template using the rule creation unit with template creation function 360. At this time, a template is created at the same time as the rule is created and registered in the template group 340A. When a rule is created using the registered template, the rule creation unit 370 using the template is used.

テンプレートによるルール作成部370の動作は、図7に示した本発明の第2の実施形態の動作と同じである。以下では、テンプレート作成機能付きルール作成部360の動作を説明する。   The operation of the rule creation unit 370 based on the template is the same as that of the second embodiment of the present invention shown in FIG. Below, operation | movement of the rule creation part 360 with a template creation function is demonstrated.

図9は、本実施形態にかかるルール作成装置300がテンプレート作成機能付きルール作成部360による動作モードで実行する処理の一例を示すフローチャートである。   FIG. 9 is a flowchart showing an example of processing executed in the operation mode by the rule creation unit 360 with the template creation function by the rule creation device 300 according to the present embodiment.

まず、入力手段360Aは、操作入力部320または通信I/F部310を通じてユーザから、ルール名と送信デバイス識別子とイベント条件と受信デバイス識別子と通信メッセージとを有するルール作成情報を入力し、ルール作成手段360Bとプロファイル選択手段360Dとテンプレート作成手段360Fに伝達する(ステップS21)。   First, the input unit 360A inputs rule creation information including a rule name, a transmission device identifier, an event condition, a reception device identifier, and a communication message from the user through the operation input unit 320 or the communication I / F unit 310, and creates a rule. The information is transmitted to means 360B, profile selection means 360D, and template creation means 360F (step S21).

次に、ルール作成手段360Bは、入力手段360Aから伝達されたルール作成情報中の送信デバイス識別子とイベント条件とを含む条件部と、ルール作成情報中の受信デバイス識別子と通知メッセージとを含む実行部とを有し、ルール作成情報中のルール名を有するルールを作成し、ルール登録手段360Cに伝達する(ステップS22)。   Next, the rule creation unit 360B includes a condition unit including a transmission device identifier and an event condition in the rule creation information transmitted from the input unit 360A, and an execution unit including a reception device identifier and a notification message in the rule creation information. The rule having the rule name in the rule creation information is created and transmitted to the rule registration unit 360C (step S22).

次に、ルール登録手段360Cは、ルール作成手段360Bから伝達されたルールを、通信I/F部310を通じてM2M管理システムのルール記憶装置に登録する(ステップS23)。   Next, the rule registration unit 360C registers the rule transmitted from the rule creation unit 360B in the rule storage device of the M2M management system through the communication I / F unit 310 (step S23).

次に、プロファイル選択手段360Dは、入力手段360Aから伝達されたルール作成情報中の送信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル340B1をテンプレート生成用送信プロファイルとして選択すると共に、ルール作成情報中の受信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル340B1をテンプレート生成用受信プロファイルとして選択し、制約生成手段360Eに伝達する(ステップS24)。   Next, the profile selection unit 360D selects a device profile 340B1 having a device identifier that matches the transmission device identifier in the rule creation information transmitted from the input unit 360A as a template generation transmission profile, and The device profile 340B1 having a device identifier that matches the reception device identifier is selected as a template generation reception profile, and is transmitted to the constraint generation means 360E (step S24).

次に、制約生成手段360Eは、プロファイル選択手段360Dから伝達されたテンプレート作成用送信プロファイルおよびテンプレート作成用受信プロファイルに記述されたデバイスに関する各種の情報を解析し、送信デバイス制約と受信デバイス制約とを生成し、テンプレート作成手段360Fに伝達する(ステップS25)。   Next, the constraint generation unit 360E analyzes various information about the device described in the template creation transmission profile and the template creation reception profile transmitted from the profile selection unit 360D, and determines the transmission device constraint and the reception device constraint. It is generated and transmitted to the template creation means 360F (step S25).

次に、テンプレート作成手段360Fは、入力手段360Aから伝達されたルール作成情報中のイベント条件および通知メッセージと、制約生成手段360Eから伝達された送信デバイス制約および受信デバイス制約と、一意なテンプレート名とを有するテンプレートを生成し、テンプレート修正手段360Gに伝達する(ステップS26)。   Next, the template creation unit 360F includes an event condition and a notification message in the rule creation information transmitted from the input unit 360A, a transmission device constraint and a reception device constraint transmitted from the constraint generation unit 360E, a unique template name, Is generated and transmitted to the template correction means 360G (step S26).

次に、テンプレート修正手段360Gは、テンプレート作成手段360Fによって生成されたテンプレートを画面表示部330に表示し、ユーザからの指示を待ち合わせる(ステップS27)。テンプレート修正手段360Gは、操作入力部320を通じてユーザから修正の指示を受けると(ステップS28でYES)、その修正の指示に従ってテンプレートの修正を行う(ステップS31)。またテンプレート修正手段360Gは、操作入力部320を通じてユーザからテンプレートの登録の指示を受けると(ステップS29でYES)、修正の指示を受けて修正した後のテンプレート(一度も修正の指示を受けていない場合には生成された時点のテンプレート)をテンプレート登録手段360Hに伝達する。さらにテンプレート修正手段360Gは、操作入力部320を通じてユーザからテンプレートを登録しない旨の指示を受けると(ステップS30でYES)、テンプレート作成手段360Fによって生成されたテンプレートを破棄し、図9に示す処理を終了する。   Next, the template correction unit 360G displays the template generated by the template creation unit 360F on the screen display unit 330, and waits for an instruction from the user (step S27). When receiving a correction instruction from the user through operation input unit 320 (YES in step S28), template correction means 360G corrects the template in accordance with the correction instruction (step S31). Further, when receiving a template registration instruction from the user through the operation input unit 320 (YES in step S29), the template correction unit 360G receives the correction instruction and has corrected the template (although no correction instruction has been received). In this case, the generated template) is transmitted to the template registration means 360H. Further, when receiving an instruction from the user not to register the template through the operation input unit 320 (YES in step S30), the template correction unit 360G discards the template generated by the template creation unit 360F, and performs the process shown in FIG. finish.

テンプレート登録手段360Hは、ルール修正手段250Eからテンプレートが伝達されると、そのテンプレートを記憶部340のテンプレート群340に登録する(ステップS32)。そして、図9に示す処理を終了する。   When the template is transmitted from the rule correction unit 250E, the template registration unit 360H registers the template in the template group 340 of the storage unit 340 (step S32). Then, the process shown in FIG. 9 ends.

次に本実施形態の効果を説明する。   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 rule creation unit 360 with a template creation function, the user can create a rule by directly inputting an event condition and a notification message, and uses the same event condition and notification message as the created rule. Templates for creating other rules can be created at the same time. Thereby, the work amount of the user for creating the template can be reduced.

[第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 / F unit 410, an operation input unit 420, a screen display unit 430, a storage unit 440, and an arithmetic processing unit 450. .

通信I/F部410、操作入力部420、および画面表示部430は、図8に示した第3の実施形態における通信I/F部310、操作入力部320、および画面表示部330と同様の機能を有する。   The communication I / F unit 410, operation input unit 420, and screen display unit 430 are the same as the communication I / F unit 310, operation input unit 320, and screen display unit 330 in the third embodiment shown in FIG. It has a function.

記憶部440は、ハードディスクやメモリなどの記憶装置からなり、演算処理部450における各種処理に必要な処理情報やプログラム440Pを記憶する機能を有している。プログラム440Pは、演算処理部450に読み込まれて実行されることにより各種処理部を実現するプログラムであり、通信I/F部410などのデータ入出力機能を介して外部装置(図示せず)や記憶媒体(図示せず)から予め読み込まれて記憶部440に保存される。記憶部440で記憶される主な処理情報として、テンプレート群440A、およびプロファイル群440Bがある。   The storage unit 440 includes a storage device such as a hard disk or a memory, and has a function of storing processing information and programs 440P necessary for various processes in the arithmetic processing unit 450. The program 440P is a program that realizes various processing units by being read and executed by the arithmetic processing unit 450, and an external device (not shown) or the like via a data input / output function such as the communication I / F unit 410. It is read in advance from a storage medium (not shown) and stored in the storage unit 440. Main processing information stored in the storage unit 440 includes a template group 440A and a profile group 440B.

テンプレート群440Aは、ルール作成用のテンプレート440A1の集合である。テンプレート群440Aおよびその構成要素であるテンプレート440A1は、図8に示した第3の実施形態におけるテンプレート群340Aおよびその構成要素であるテンプレート340A1と同じである。   The template group 440A is a set of templates 440A1 for creating rules. The template group 440A and the template 440A1 that is a component thereof are the same as the template group 340A and the template 340A1 that is a component thereof in the third embodiment shown in FIG.

プロファイル群440Bは、デバイスプロファイル440B1の集合である。プロファイル群440Bおよびその構成要素であるデバイスプロファイル440B1は、図8に示した第3の実施形態におけるデバイスプロファイル340Bおよびその構成要素であるデバイスプロファイル340B1と同じである。   The profile group 440B is a set of device profiles 440B1. The profile group 440B and its device profile 440B1 are the same as the device profile 340B and its device profile 340B1 in the third embodiment shown in FIG.

演算処理部450は、MPUなどのマイクロプロセッサとその周辺回路を有し、記憶部440からプログラム440Pを読み込んで実行することにより、上記ハードウェアとプログラム440Pとを協働させて各種処理部を実現する機能を有している。演算処理部450で実現される主な処理部として、テンプレート作成機能付きルール作成部460と、テンプレートによるルール作成部470とがある。   The arithmetic processing unit 450 has a microprocessor such as an MPU and its peripheral circuits, and reads and executes the program 440P from the storage unit 440, thereby realizing various processing units by cooperating the hardware and the program 440P. It has a function to do. As main processing units realized by the arithmetic processing unit 450, there are a rule creation unit 460 with a template creation function and a rule creation unit 470 using a template.

テンプレート作成機能付きルール作成部460は、ユーザから入力された複数のルール作成情報(それらのイベント条件と通知メッセージは同じである)に従って複数のルールを作成する機能と、この作成した複数のルールと同じイベント条件および通知メッセージを使用する他のルールを作成するためのテンプレートを作成して記憶部440のテンプレート群440Aに登録する機能とを有する。テンプレート作成機能付きルール作成部460は、ルール作成機能に関連する処理部として、入力手段460A、ルール作成手段460B、およびルール登録手段460Cを有する。またテンプレート作成機能付きルール作成部460は、テンプレート作成機能に関連する処理部として、プロファイル選択手段460D、制約生成手段460E、テンプレート作成手段460F、テンプレート修正手段460G、およびテンプレート登録手段460Hを有する。   The rule creation unit 460 with a template creation function includes a function for creating a plurality of rules according to a plurality of rule creation information (the event condition and the notification message are the same) input from the user, And a function for creating a template for creating another rule using the same event condition and notification message and registering it in the template group 440A of the storage unit 440. The rule creation unit with template creation function 460 includes an input unit 460A, a rule creation unit 460B, and a rule registration unit 460C as processing units related to the rule creation function. The rule creation unit with template creation function 460 includes a profile selection unit 460D, a constraint generation unit 460E, a template creation unit 460F, a template correction unit 460G, and a template registration unit 460H as processing units related to the template creation function.

入力手段460Aは、操作入力部420または通信I/F部410を通じてルール作成者から、ルール名と送信デバイス識別子とイベント条件と受信デバイス識別子と通知メッセージとを有し、イベント条件と通知メッセージとが同一である複数のルール作成情報を入力する機能を有する。入力手段450Aは、入力した複数のルール作成情報を、ルール作成手段460B、プロファイル選択手段460D、テンプレート作成手段460Fに伝達する。   The input unit 460A has a rule name, a transmission device identifier, an event condition, a reception device identifier, and a notification message from the rule creator through the operation input unit 420 or the communication I / F unit 410, and the event condition and the notification message are It has a function of inputting a plurality of rule creation information that is the same. The input unit 450A transmits the plurality of input rule creation information to the rule creation unit 460B, the profile selection unit 460D, and the template creation unit 460F.

ルール作成手段460Bは、入力手段460Aから伝達された複数のルール情報に基づいて複数のルールを作成する機能を有する。具体的には、ルール作成手段460Bは、ルール作成情報毎に、そのルール作成情報中の送信デバイス識別子とイベント条件とを含む条件部と、ルール作成情報中の受信デバイス識別子と通知メッセージとを含む実行部とを有し、ルール作成情報中のルール名を有するルールを作成する。ルール作成手段460Bは、作成した複数のルールを、ルール登録手段460Cに伝達する。   The rule creation unit 460B has a function of creating a plurality of rules based on a plurality of rule information transmitted from the input unit 460A. Specifically, the rule creation unit 460B includes, for each rule creation information, a condition part including a transmission device identifier and an event condition in the rule creation information, a reception device identifier and a notification message in the rule creation information. A rule having a rule name in the rule creation information. The rule creation unit 460B transmits the created rules to the rule registration unit 460C.

ルール登録手段460Cは、ルール作成手段460Bから伝達された複数のルールを、通信I/F部410を通じて図10には図示しないM2M管理システムへ送信し、M2M管理システムのルール記憶装置に記憶させる機能を有する。   The rule registration unit 460C transmits a plurality of rules transmitted from the rule creation unit 460B to the M2M management system (not shown in FIG. 10) through the communication I / F unit 410, and stores them in the rule storage device of the M2M management system Have

プロファイル選択手段460Dは、記憶部440に記憶されたプロファイル群440Bの中から、入力手段460Aから伝達されたルール作成情報毎に、そのルール作成情報中の送信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル440B1をテンプレート作成用送信プロファイルとして選択する機能と、ルール作成情報中の受信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル440B1をテンプレート作成用受信プロファイルとして選択する機能とを有する。プロファイル選択手段460Dは、選択した複数のテンプレート作成用送信プロファイルおよび複数のテンプレート作成用受信プロファイルを、制約生成手段460Eに伝達する。   The profile selection unit 460D has a device identifier that matches the transmission device identifier in the rule creation information for each rule creation information transmitted from the input unit 460A from the profile group 440B stored in the storage unit 440. A function of selecting the profile 440B1 as a template creation transmission profile and a function of selecting a device profile 440B1 having a device identifier that matches the reception device identifier in the rule creation information as a template creation reception profile. The profile selection unit 460D transmits the selected plurality of template creation transmission profiles and the plurality of template creation reception profiles to the constraint generation unit 460E.

制約生成手段460Eは、プロファイル選択手段460Dから伝達された複数のテンプレート作成用送信プロファイルおよび複数のテンプレート作成用受信プロファイルに記述されたデバイスに関する各種の情報を解析して、テンプレート作成手段460Fが作成するテンプレートに設定する送信デバイス制約と受信デバイス制約とを生成し、テンプレート作成手段460Fに伝達する機能を有する。   The constraint generation unit 460E analyzes various information related to the devices described in the plurality of template creation transmission profiles and the plurality of template creation reception profiles transmitted from the profile selection unit 460D, and the template creation unit 460F creates them. It has a function of generating a transmission device restriction and a reception device restriction to be set in a template and transmitting them to the template creation means 460F.

テンプレート中の送信デバイス制約は、当該テンプレートが適用される送信デバイスを限定する情報である。制約生成手段460Eは、プロファイル選択手段460Dから伝達された複数のテンプレート作成用送信プロファイルに共通するデバイスに関する情報を送信デバイス制約として生成する機能を有する。このようにする理由は、イベント条件および通知メッセージが同じになる複数のルールに共通に適用できるテンプレートの送信デバイス制約としては、当該複数のルールが適用される複数の送信デバイスに共通しているプロファイルが適している可能性が高いためである。このため、例えば複数の送信デバイスでデバイスの種類が同じであれば、デバイス種類が送信デバイス制約として生成される。また、例えば複数の送信デバイスでデバイス設置場所が同じであれば、デバイス設置場所が送信デバイス制約として生成される。   The transmission device restriction in the template is information that limits the transmission device to which the template is applied. The constraint generation unit 460E has a function of generating, as a transmission device constraint, information related to a device common to a plurality of template creation transmission profiles transmitted from the profile selection unit 460D. The reason for doing this is that the template that can be applied in common to multiple rules with the same event condition and notification message is a profile that is common to multiple transmission devices to which the multiple rules are applied. This is because is likely to be suitable. For this reason, for example, if a plurality of transmission devices have the same device type, the device type is generated as a transmission device constraint. For example, if the device installation location is the same for a plurality of transmission devices, the device installation location is generated as a transmission device constraint.

テンプレート中の受信デバイス制約は、当該テンプレートが適用される受信デバイスを限定する情報である。制約生成手段460Eは、プロファイル選択手段460Dから伝達された複数のテンプレート作成用受信プロファイルに共通するデバイスに関する情報を受信デバイス制約として生成する機能を有する。このようにする理由は、イベント条件および通知メッセージが同じになる複数のルールに共通に適用できるテンプレートの受信デバイス制約としては、当該複数のルールが適用される複数の受信デバイスに共通しているプロファイルが適している可能性が高いためである。このため、例えば複数の受信デバイスでデバイスの種類が同じであれば、デバイス種類が受信デバイス制約として生成される。また、例えば複数の受信デバイスでデバイス設置場所が同じであれば、デバイス設置場所が受信デバイス制約として生成される。   The receiving device restriction in the template is information that limits the receiving device to which the template is applied. The constraint generation unit 460E has a function of generating, as a reception device constraint, information related to a device common to the plurality of template creation reception profiles transmitted from the profile selection unit 460D. The reason for doing this is that the template receiving device restriction that can be commonly applied to multiple rules with the same event condition and notification message is a profile common to multiple receiving devices to which the multiple rules are applied. This is because is likely to be suitable. For this reason, for example, if a plurality of receiving devices have the same device type, the device type is generated as a receiving device constraint. For example, if the device installation location is the same for a plurality of receiving devices, the device installation location is generated as a receiving device constraint.

また、制約生成手段460Eは、プロファイル選択手段460Dから伝達された同じルール作成情報中の送信および受信デバイス識別子によって選択されたテンプレート作成用送信プロファイルおよびテンプレート作成用受信プロファイルに記述された送信デバイスおよび受信デバイスに関する各種の情報に基づいて、各ルール作成情報毎に、送信デバイスと受信デバイスの相対的な関係を解析し、全てのルール作成情報で共通する送信デバイスと受信デバイスの相対的な関係を、送信デバイス制約または受信デバイス制約としてもよい。解析する相対的な関係としては、例えば、受信デバイスの設置場所が送信デバイスと同じであるという、設置場所に関する相対的な関係がある。   Further, the constraint generation unit 460E transmits the transmission device and reception described in the template creation transmission profile and the template creation reception profile selected by the transmission and reception device identifiers in the same rule creation information transmitted from the profile selection unit 460D. Based on various information about the device, for each rule creation information, analyze the relative relationship between the sending device and the receiving device, and the relative relationship between the sending device and the receiving device common to all rule creation information, It may be a transmission device restriction or a reception device restriction. As a relative relationship to be analyzed, for example, there is a relative relationship regarding the installation location, in which the installation location of the receiving device is the same as that of the transmission device.

また、制約生成手段460Eは、全てのテンプレート作成用送信プロファイルで共通する送信デバイス制約および全てのテンプレート作成用受信プロファイルで共通する受信デバイス制約を優先度の高い制約、それ以外の方法で作成した送信デバイス制約および受信デバイス制約を優先度の低い制約として画面表示部430に優先度別に表示し、実際に使用する制約をユーザに選択させるようにしても良い。このユーザによる制約の選択は、後段のテンプレート修正手段460Gによるテンプレートの修正段階で実施するようにしても良い。   In addition, the constraint generation unit 460E generates a transmission device constraint that is common to all template creation transmission profiles and a reception device constraint that is common to all template creation reception profiles. The device constraint and the receiving device constraint may be displayed on the screen display unit 430 as a constraint with low priority for each priority, and the user may select a constraint to be actually used. The selection of the constraint by the user may be performed at the template correction stage by the template correction unit 460G in the subsequent stage.

テンプレート作成手段460Fは、入力手段460Aから伝達された複数のルール作成情報間で共通なイベント条件および通知メッセージと、制約生成手段460Eから伝達された送信デバイス制約および受信デバイス制約と、一意なテンプレート名とを有するテンプレートを生成する機能を有する。テンプレート作成手段460Fは、生成したテンプレートをテンプレート修正手段460Gに伝達する。   The template creation unit 460F includes an event condition and a notification message that are common among the plurality of rule creation information transmitted from the input unit 460A, a transmission device constraint and a reception device constraint transmitted from the constraint generation unit 460E, and a unique template name. The function which produces | generates the template which has these. The template creation unit 460F transmits the generated template to the template correction unit 460G.

テンプレート修正手段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 template creation unit 460F on the screen display unit 430, and when the user instructs correction of the displayed template through the operation input unit 420, as instructed. And a function of modifying the template. That is, the template correcting unit 460G provides an environment for interactively correcting the template to the user. The template correction unit 460G transmits the template corrected by the user or the template determined not to be corrected by the user to the template registration unit 460H. Note that not creating a template is another form of modification. Further, the template correction unit 460G may be omitted. In that case, the template created by the template creation unit 460F is transmitted to the template registration unit 460H.

テンプレート登録手段460Hは、テンプレート修正手段460Gから伝達されたテンプレートを、記憶部440のテンプレート群440Aに記憶させる機能を有する。   The template registration unit 460H has a function of storing the template transmitted from the template correction unit 460G in the template group 440A of the storage unit 440.

テンプレートによるルール作成部470は、記憶部440に記憶されたテンプレート群440Aを利用して、本発明の第2の実施形態と同様なルール作成環境をルール作成者に提供する機能を有する。すなわち、テンプレートによるルール作成部470は、図6に示した第2の実施形態における入力手段250A、プロファイル選択手段250B、テンプレート選択手段250C、ルール作成手段250D、ルール修正手段250E、およびルール登録手段250Fから構成される。   The rule creation unit 470 using templates has a function of providing a rule creation environment similar to that of the second embodiment of the present invention to the rule creator using the template group 440A stored in the storage unit 440. That is, the rule creation unit 470 based on the template is the input unit 250A, profile selection unit 250B, template selection unit 250C, rule creation unit 250D, rule modification unit 250E, and rule registration unit 250F in the second embodiment shown in FIG. Consists of

次に、本実施形態にかかるルール作成装置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 rule creation unit 460 with a template creation function is operated, and an operation mode in which the rule creation unit 470 using a template is operated. For example, the user can select and use one of the two operation modes by an operation menu displayed on the screen display unit 430. The operation of the rule creation unit 470 based on the template is the same as that of the second embodiment of the present invention shown in FIG. Below, operation | movement of the rule preparation part 460 with a template preparation function is demonstrated.

図11は、本実施形態にかかるルール作成装置400がテンプレート作成機能付きルール作成部460による動作モードで実行する処理の一例を示すフローチャートである。   FIG. 11 is a flowchart illustrating an example of processing executed in the operation mode by the rule creation unit with template creation function 460 by the rule creation device 400 according to the present embodiment.

まず、入力手段460Aは、操作入力部420または通信I/F部410を通じてユーザから、ルール名と送信デバイス識別子とイベント条件と受信デバイス識別子と通知メッセージとを有し、イベント条件と通知メッセージとが同一である複数のルール作成情報を入力し、ルール作成手段460Bとプロファイル選択手段460Dとテンプレート作成手段460Fに伝達する(ステップS41)。イベント条件と通知メッセージが同じである複数のルール作成情報の入力では、ルール作成情報毎に同じイベント条件と通知メッセージとをユーザに繰り返し入力させても良いし、例えば最初の一つのルール作成情報の入力時にイベント条件と通知メッセージをユーザに入力させ、残りのルール作成情報の入力時にはイベント条件と通知メッセージの入力を省略させてもよい。   First, the input unit 460A has a rule name, a transmission device identifier, an event condition, a reception device identifier, and a notification message from the user through the operation input unit 420 or the communication I / F unit 410. A plurality of identical rule creation information is input and transmitted to the rule creation means 460B, profile selection means 460D, and template creation means 460F (step S41). In the input of a plurality of rule creation information having the same event condition and notification message, the user may repeatedly input the same event condition and notification message for each rule creation information. The user may input the event condition and the notification message at the time of input, and the input of the event condition and the notification message may be omitted when the remaining rule creation information is input.

次に、ルール作成手段460Bは、入力手段460Aから伝達されたルール作成情報毎に、そのルール作成情報中の送信デバイス識別子とイベント条件とを含む条件部と、ルール作成情報中の受信デバイス識別子と通知メッセージとを含む実行部とを有し、ルール作成情報中のルール名を有するルールを作成し、ルール登録手段460Cに伝達する(ステップS42)。   Next, the rule creation unit 460B, for each rule creation information transmitted from the input unit 460A, a condition part including a transmission device identifier and an event condition in the rule creation information, a reception device identifier in the rule creation information, A rule having a rule name in the rule creation information is created and transmitted to the rule registration means 460C (step S42).

次に、ルール登録手段460Cは、ルール作成手段460Bから伝達された複数のルールを、通信I/F部410を通じて図10には図示しないM2M管理システムへ送信し、M2M管理システムのルール記憶装置に記憶させる(ステップS43)。   Next, the rule registration unit 460C transmits the plurality of rules transmitted from the rule creation unit 460B to the M2M management system (not shown in FIG. 10) through the communication I / F unit 410, and stores it in the rule storage device of the M2M management system. Store (step S43).

次に、プロファイル選択手段460Dは、記憶部440に記憶されたプロファイル群440Bの中から、入力手段460Aから伝達されたルール作成情報毎に、そのルール作成情報中の送信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル440B1をテンプレート作成用送信プロファイルとして選択すると共に、ルール作成情報中の受信デバイス識別子に一致するデバイス識別子を有するデバイスプロファイル440B1をテンプレート作成用受信プロファイルとして選択し、制約生成手段460Eに伝達する(ステップS44)。   Next, the profile selection unit 460D, for each rule creation information transmitted from the input unit 460A, out of the profile group 440B stored in the storage unit 440, a device identifier that matches the transmission device identifier in the rule creation information. Is selected as a template creation transmission profile, and a device profile 440B1 having a device identifier that matches the reception device identifier in the rule creation information is selected as a template creation reception profile and transmitted to the constraint generation means 460E. (Step S44).

次に、制約生成手段460Eは、プロファイル選択手段460Dから伝達された複数のテンプレート作成用送信プロファイルおよび複数のテンプレート作成用受信プロファイルに記述されたデバイスに関する各種の情報を解析して、共通な情報を送信デバイス制約および受信デバイス制約として生成し、テンプレート作成手段460Fに伝達する(ステップS45)。   Next, the constraint generation unit 460E analyzes various types of information related to the devices described in the plurality of template creation transmission profiles and the plurality of template creation reception profiles transmitted from the profile selection unit 460D to obtain common information. The transmission device restriction and the reception device restriction are generated and transmitted to the template creation unit 460F (step S45).

次に、テンプレート作成手段460Fは、入力手段460Aから伝達された複数のルール作成情報間で共通なイベント条件および通知メッセージと、制約生成手段460Eから伝達された送信デバイス制約および受信デバイス制約と、一意なテンプレート名とを有するテンプレートを生成し、テンプレート修正手段460Gに伝達する(ステップS46)。   Next, the template creation unit 460F has a unique event condition and notification message common to the plurality of rule creation information transmitted from the input unit 460A, a transmission device constraint and a reception device constraint transmitted from the constraint generation unit 460E, A template having a unique template name is generated and transmitted to the template correction means 460G (step S46).

続いて行われるテンプレート修正手段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 template registration unit 460H are steps S27 to S32 performed by the template correction unit 360G and the template registration unit 360H in the third embodiment of the present invention shown in FIG. Is the same as the operation.

次に本実施形態の効果を説明する。   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 rule creation unit 460 with a template creation function, the user can create a plurality of rules having the same event condition and notification message by directly inputting the event condition and the notification message. It is possible to simultaneously create a template for creating another rule that uses the same event condition and notification message as a plurality of rules. Thereby, the work amount of the user for creating the template can be reduced.

また本実施形態によれば、適切な送信デバイス制約および受信デバイス制約を有するテンプレートを作成することができる。その理由は、イベント条件および通知メッセージが同じ複数のルールが適用される複数の送信デバイスや受信デバイスに共通しているプロファイルを送信デバイス制約および受信デバイス制約とするためである。イベント条件および通知メッセージが同じ複数のルールに共通に適用できるテンプレートの送信デバイス制約および受信デバイス制約としては、当該複数のルールが適用される複数の送信デバイスや受信デバイスに共通しているプロファイルが適している可能性が高く、またユーザが気付かなかった共通プロファイルから有効な制約が生成される場合もある。   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 ... Rule creation apparatus 110 ... Communication I / F part 120 ... Operation input part 130 ... Screen display part 140 ... Storage part 140A ... Template group 140A1 ... Template 140B ... Profile group 140B1 ... Device profile 140P ... Program 150 ... Arithmetic processing part 150A ... Input means 150B ... Profile selection means 150C ... Template selection means 150D ... Rule creation means

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.
JP2012152402A 2012-07-06 2012-07-06 Rule creation device Pending JP2014016708A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
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