JP2024025814A - Electronic devices and systems - Google Patents

Electronic devices and systems Download PDF

Info

Publication number
JP2024025814A
JP2024025814A JP2023210082A JP2023210082A JP2024025814A JP 2024025814 A JP2024025814 A JP 2024025814A JP 2023210082 A JP2023210082 A JP 2023210082A JP 2023210082 A JP2023210082 A JP 2023210082A JP 2024025814 A JP2024025814 A JP 2024025814A
Authority
JP
Japan
Prior art keywords
rule
information
rule information
module
evaluation
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
JP2023210082A
Other languages
Japanese (ja)
Inventor
武弘 吉本
恭平 千葉
水輝 齊川
瑛 村上
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.)
Toshiba Corp
Toshiba Digital Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Digital Solutions 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 Toshiba Corp, Toshiba Digital Solutions Corp filed Critical Toshiba Corp
Priority to JP2023210082A priority Critical patent/JP2024025814A/en
Publication of JP2024025814A publication Critical patent/JP2024025814A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

【課題】IoTシステムを実現するための多数のルール情報の中から少なくとも一つのルール情報を簡単に選択することができる電子装置を提供すること。【解決手段】実施形態によれば、電子装置は、記憶部と表示制御部を具備する。記憶部は、複数のルール情報を記憶する。ルール情報は、ルールが決められる場合の定型的な属性情報を定義しており、ルールの決め方の利便性を提供する。【選択図】図1The present invention provides an electronic device that can easily select at least one piece of rule information from a large number of pieces of rule information for realizing an IoT system. According to an embodiment, an electronic device includes a storage section and a display control section. The storage unit stores a plurality of pieces of rule information. The rule information defines typical attribute information when rules are determined, and provides convenience in determining rules. [Selection diagram] Figure 1

Description

本発明の実施形態は電子装置及びシステムに関する。 Embodiments of the present invention relate to electronic devices and systems.

インターネットを経由して実空間上の物体(デバイスと称される)を連携させるIoT(Internet of Things)システムが普及している。IoTシステムを作るためには、デバイスの制御に関するプログラミング等の高度な技術的な知識が必要であり、IoTシステムを作ることは容易ではない。 2. Description of the Related Art IoT (Internet of Things) systems that link objects (referred to as devices) in real space via the Internet are becoming widespread. Creating an IoT system requires advanced technical knowledge such as programming related to device control, and creating an IoT system is not easy.

近年、「もし何々ならば、何々する」というルール情報に従って複数のデバイスを連携させてIoTシステムを作ることが提案されている。複数のデバイスを制御できる電子装置にルール情報をインストールすることによりIoTシステムが実現される。 In recent years, it has been proposed to create an IoT system by linking multiple devices according to rule information such as "if so-and-so, do so-and-so." An IoT system is realized by installing rule information into an electronic device that can control multiple devices.

IoTシステムを作りたいユーザは、予め用意され、公開されている多数のルール情報の中から自分に適したルール情報を選択して、電子装置にダウンロードする。予め用意されているルール情報の数が増えると、ルール情報を選択することは困難である。 A user who wants to create an IoT system selects rule information suitable for him from among a large number of previously prepared rule information and downloads it to an electronic device. When the number of rule information prepared in advance increases, it becomes difficult to select the rule information.

特開2019-145150号公報Japanese Patent Application Publication No. 2019-145150

本発明の目的は、IoTシステムを実現するための多数のルール情報等の中から少なくとも一つのルール情報等を簡単に選択することができる電子装置及びシステムを提供することである。 An object of the present invention is to provide an electronic device and a system that can easily select at least one rule information etc. from a large number of rule information etc. for realizing an IoT system.

一実施形態によれば、複数のセンサと複数の処理モジュールに接続される電子装置は、
前記複数のセンサの中の少なくとも1つのセンサのセンス結果が特定の結果である場合、前記複数の処理モジュールの中の少なくとも1つの処理モジュールが前記センス結果に連携した動作を実行するように関連付けした複数のルール情報を記憶する記憶部と、
前記複数のルール情報に含まれるルール識別情報を表示する表示画面を生成する表示制御部と、を具備し、そして、
前記複数のルール情報のそれぞれは、ルール情報の作成者の識別情報と、前記ルール情報の属性情報を含み、前記属性情報は、前記ルール情報により提供されるサービスが利用されるシーンを示す第1の識別情報と、前記ルール情報により提供される前記サービスのテーマを示す第2の識別情報と、前記ルール情報により提供される前記サービスにより解決される課題を示す第3の識別情報と、を少なくとも含む、電子装置が提供される。
According to one embodiment, an electronic device connected to the plurality of sensors and the plurality of processing modules includes:
When the sense result of at least one sensor among the plurality of sensors is a specific result, at least one processing module among the plurality of processing modules is associated with the sense result to perform a coordinated operation. a storage unit that stores multiple pieces of rule information;
a display control unit that generates a display screen that displays rule identification information included in the plurality of rule information, and
Each of the plurality of pieces of rule information includes identification information of a creator of the rule information and attribute information of the rule information, and the attribute information includes a first information indicating a scene in which a service provided by the rule information is used. , second identification information indicating a theme of the service provided by the rule information, and third identification information indicating a problem to be solved by the service provided by the rule information. An electronic device is provided, including.

第1実施形態によるIoTシステム内のエッジコンピュータの機能ブロックの一例を示す図である。FIG. 3 is a diagram illustrating an example of functional blocks of an edge computer in the IoT system according to the first embodiment. 第1実施形態によるIoTシステムが利用するルール情報のデータ構造の一例を示す図である。FIG. 2 is a diagram illustrating an example of a data structure of rule information used by the IoT system according to the first embodiment. 図2に示すルール情報の中のIF-THEN部のデータ構造の一例を示す図である。3 is a diagram showing an example of a data structure of an IF-THEN section in the rule information shown in FIG. 2. FIG. 図2に示すルール情報の中のルール属性のデータ構造の一例を示す図である。3 is a diagram showing an example of a data structure of rule attributes in the rule information shown in FIG. 2. FIG. エッジコンピュータが記憶する実行履歴情報のデータ構造の一例を示す図である。FIG. 3 is a diagram illustrating an example of a data structure of execution history information stored by an edge computer. エッジコンピュータが記憶する評価情報のデータ構造の一例を示す図である。FIG. 3 is a diagram showing an example of a data structure of evaluation information stored in an edge computer. 第1実施形態によるIoTシステム内のクラウドサーバの機能ブロックの一例を示す図である。It is a diagram showing an example of functional blocks of a cloud server in the IoT system according to the first embodiment. クラウドサーバが生成する利用回数ランキング情報のデータ構造の一例を示す図である。FIG. 3 is a diagram illustrating an example of a data structure of usage count ranking information generated by a cloud server. 利用回数ランキング表の一例を示す図である。FIG. 3 is a diagram showing an example of a usage frequency ranking table. 利用回数ランキング情報のデータ構造の他の例を示す図である。FIG. 7 is a diagram showing another example of the data structure of usage frequency ranking information. 利用回数ランキング情報のデータ構造の他の例を示す図である。FIG. 7 is a diagram showing another example of the data structure of usage frequency ranking information. 利用回数ランキング表の他の例を示す図である。FIG. 7 is a diagram showing another example of the usage frequency ranking table. クラウドサーバが生成する評価ランキング情報のデータ構造の一例を示す図である。FIG. 3 is a diagram illustrating an example of a data structure of evaluation ranking information generated by a cloud server. 評価ランキング表の一例を示す図である。It is a figure showing an example of an evaluation ranking table. 利用回数ランキング表のさらに他の例を示す図である。FIG. 7 is a diagram showing still another example of a usage frequency ranking table. 利用回数ランキング表のさらに他の例を示す図である。FIG. 7 is a diagram showing still another example of a usage frequency ranking table. 評価ランキング表のさらに他の例を示す図である。It is a figure which shows yet another example of an evaluation ranking table. 評価ランキング表のさらに他の例を示す図である。It is a figure which shows yet another example of an evaluation ranking table. 第1実施形態によるエッジコンピュータによるルール作成の一例を示すフローチャートである。7 is a flowchart illustrating an example of rule creation by the edge computer according to the first embodiment. 図19に示すルール作成時のエッジコンピュータのディスプレイの画面遷移の一例を示す図である。FIG. 20 is a diagram showing an example of screen transitions on the display of the edge computer when creating the rules shown in FIG. 19; 図19に示すルール作成時のディスプレイの画面遷移の他の例を示す図である。20 is a diagram showing another example of screen transitions on the display during rule creation shown in FIG. 19; FIG. 図19に示すルール作成時のディスプレイの画面遷移のさらに他の例を示す図である。20 is a diagram showing still another example of the screen transition of the display during rule creation shown in FIG. 19. FIG. 第1実施形態によるエッジコンピュータによるルール情報のダウンロード処理の一例を示すシーケンス図である。FIG. 3 is a sequence diagram showing an example of a rule information download process by the edge computer according to the first embodiment. 第1実施形態によるエッジコンピュータによるルール利用の一例を示すフローチャートである。7 is a flowchart illustrating an example of rule usage by the edge computer according to the first embodiment.

以下、図面を参照して、実施形態を説明する。以下の説明は、実施形態の技術的思想を具体化するための装置や方法を例示するものであって、実施形態の技術的思想は、以下に説明する構成要素の構造、形状、配置、材質等に限定されるものではない。当業者が容易に想到し得る変形は、当然に開示の範囲に含まれる。説明をより明確にするため、図面において、各要素のサイズ、厚み、平面寸法又は形状等を実際の実施態様に対して変更して模式的に表す場合もある。複数の図面において、互いの寸法の関係や比率が異なる要素が含まれることもある。複数の図面において、対応する要素には同じ参照数字を付して重複する説明を省略する場合もある。いくつかの要素に複数の呼称を付す場合があるが、これら呼称の例はあくまで例示であり、これらの要素に他の呼称を付すことを否定するものではない。また、複数の呼称が付されていない要素についても、他の呼称を付すことを否定するものではない。なお、以下の説明において、「接続」は直接的な接続のみならず、他の要素を介して間接的に接続されることも意味する。 Embodiments will be described below with reference to the drawings. The following description exemplifies devices and methods for embodying the technical idea of the embodiment, and the technical idea of the embodiment includes the structure, shape, arrangement, and material of the components described below. etc., but is not limited to. Modifications that can be easily conceived by those skilled in the art are naturally included within the scope of the disclosure. In order to make the explanation more clear, in the drawings, the size, thickness, planar dimension, shape, etc. of each element may be changed from the actual embodiment and schematically expressed. A plurality of drawings may include elements having different dimensional relationships and ratios. In some drawings, corresponding elements may be designated by the same reference numerals and redundant descriptions may be omitted. Although some elements may be given a plurality of names, these names are merely illustrative, and do not deny that other names may be given to these elements. Furthermore, this does not negate the use of other names for elements that are not given multiple names. Note that in the following description, "connection" means not only direct connection but also indirect connection via other elements.

(IoTシステムの概要)
実施形態は、ルール情報に基づいて種々のデバイスを連携させるIoTシステムに関する。実施形態のIoTシステムは、デバイスに限らず、ソフトウェアにより提供されるサービスも連携させる。サービスはデバイスにインストールされているプログラムによるメールサービス、SNSサービスや、クラウドサーバにより提供されるWebサービスを含む。この明細書では、IoTシステムにより連携される単位であるデバイスとサービスはモジュールと称されることもある。ルール情報は、複数のモジュールの組み合わせ方の定義であるルールを記述する情報である。実施形態は、デバイスやサービスを自由に組み合わせることができるので、家庭、会社、社会の様々なシーンで便利な仕組みを実現できる。
(Overview of IoT system)
Embodiments relate to an IoT system that allows various devices to cooperate based on rule information. The IoT system of the embodiment allows not only devices but also services provided by software to cooperate. Services include email services provided by programs installed on devices, SNS services, and web services provided by cloud servers. In this specification, devices and services that are units linked by an IoT system may also be referred to as modules. Rule information is information that describes rules that define how to combine multiple modules. In the embodiment, devices and services can be freely combined, so a convenient system can be realized in various scenes at home, at work, and in society.

サービスは、所定の実体/状態/情報の制御を組み合わせて、有償または無償でユーザに対して所定の処理や状態の変化、あるいはコンテンツやデータ/情報を提供する能動的動作を意味する。実施形態では、ルール情報に従って、ユーザにサービスを提供する。このサービス提供の形態として、実施形態では、各種デバイスを利用した実空間上あるいは物理空間上のサービスとWebサービスなどを利用したサイバ空間上のサービス間の垣根を越えた(跨った)組み合わせ(複合化)サービスを提供してもよい。 A service refers to an active operation that combines control of a predetermined entity/state/information and provides a predetermined process, change in state, or content or data/information to a user for a fee or free of charge. In the embodiment, services are provided to users according to rule information. As a form of providing this service, in the embodiment, a cross-border (straddling) combination (crossing) of services in real space or physical space using various devices and services in cyber space using Web services etc. ) services may be provided.

コンテンツは、所定機能に関係する具体的内容を意味し、他との違いが個々に識別可能な具体性を有する。例えば“映画”と言う抽象的概念は含まれず、他のコンテンツとの識別手段として“映画名(題名)”が設定された特定コンテンツが該当する。同様にWebブラウザに表示される“Web画面”と言う抽象的概念は含まれず、特定のURL上に配置された特定のWeb頁も該当する。 Content means specific content related to a predetermined function, and has specificity that allows individual differences from others to be identified. For example, the abstract concept of "movie" is not included, but specific content for which a "movie name (title)" is set as a means of identification from other content is applicable. Similarly, the abstract concept of a "web screen" displayed on a web browser is not included, but also a specific web page located on a specific URL.

モジュールは、所定機能の実現手段を含む。モジュールは、この所定機能が実現された実空間上で人間が認識可能な実体(状態又は情報とも称される)とその制御部との組み合わせで構成される。個々の制御部で制御される複数のモジュールの動作の組み合わせにより、ユーザに対してサービスが提供される。モジュールは、所定機能を実現するための実体と制御部との組み合わせの概念である。モジュールを構成する人間が認識可能な実体その制御部は、物理的に一体化されている必要は無い。例えば人間が認識可能な実体とその制御部が物理的に離れた位置に設置され、通信機能を利用して両者が連携されてもよい。モジュールを構成する人間が認識可能な実体とその制御部は、物理的実体(Physically real object)を形成している必要は無い。 The module includes means for implementing a predetermined function. A module is composed of a combination of a human-recognizable entity (also referred to as a state or information) in a real space in which this predetermined function is realized and its control unit. Services are provided to users by a combination of operations of a plurality of modules controlled by individual control units. A module is a concept of a combination of an entity and a control unit for realizing a predetermined function. The human-perceivable entities that make up the module and their controls need not be physically integrated. For example, a human-recognizable entity and its control unit may be installed at physically separate locations, and the two may be linked using a communication function. The human-recognizable entities that make up the module and their control units do not need to form a physically real object.

デバイスは、実空間上に実在し、所定機能の実現に利用されるあらゆるものを含む。デバイスは、処理を実行するデバイスやコンテンツを表示するデバイス、データを記憶する記憶装置を含む。デバイスは、外部のデバイスとの間の通信を行うための通信機能を内蔵してもよい。デバイスは、自然界の物理的又は化学的な状態又は現象に対して作用する機能を持ってもよい。自然界に対して受動的作用を行うデバイスは、センサ等を含む。自然界に対して能動的作用を行うデバイスは、ロボット、駆動機構及び表示装置(表示素子)等を含む。デバイスの物理的形態としては、据え置き型に限らず、移動可能な携帯型の形態でもよい。デバイスの物理的形態の例は、ユーザの腕や足に固定するバンド型センサや腰に固定するベルト型センサ、頭部に装着するVRタイプやARタイプのヘッドマウントディスプレイ等のユーザが装着可能な形態を含む。 A device includes anything that exists in real space and is used to implement a predetermined function. Devices include devices that execute processing, devices that display content, and storage devices that store data. The device may have built-in communication functionality for communicating with external devices. A device may have the ability to act on physical or chemical conditions or phenomena in nature. Devices that passively act on the natural world include sensors and the like. Devices that actively act on the natural world include robots, drive mechanisms, display devices (display elements), and the like. The physical form of the device is not limited to a stationary type, but may be a mobile type. Examples of physical forms of devices that can be worn by the user include band-type sensors that are fixed to the user's arms or legs, belt-type sensors that are fixed to the waist, and VR-type or AR-type head-mounted displays that are worn on the user's head. Including form.

ルールの一例は、センサモジュールにより検出される状態が特定の状態である場合、実行モジュールが特定の処理を実行するというモジュールの連携関係を規定するものである。ルールを記述するルール情報は種々の形式があり、その一例は、特定の状態を示す条件情報(IF部とも称される)と、センサモジュールにより検出された状態が特定の状態である場合に実行モジュールにより実行される特定の処理を示す処理情報(THEN部とも称される)とを含む形式がある。しかし、ルール情報の形式は、この形式に限定されない。 An example of the rule defines a cooperation relationship between modules such that when the state detected by the sensor module is a specific state, the execution module executes a specific process. Rule information that describes rules has various formats, one example of which is condition information (also referred to as an IF part) that indicates a specific state, and information that is executed when the state detected by the sensor module is a specific state. There is a format that includes processing information (also referred to as a THEN section) indicating a specific process executed by the module. However, the format of the rule information is not limited to this format.

この形式のルール情報の一例は、「もし温度が26度以上であれば空調機を冷房モードで運転させる」である。この例の場合、IoTシステムが連携させるモジュール(この場合は、デバイス)は、状態の一例である温度を検出する温度センサと、処理の一例である冷房モードの運転を実行する空調機である。状態、処理の一例は上記の例に限定されない。 An example of rule information in this format is "If the temperature is 26 degrees or higher, operate the air conditioner in cooling mode." In this example, the modules (devices in this case) that the IoT system cooperates with are a temperature sensor that detects temperature, which is an example of a state, and an air conditioner that executes operation in cooling mode, which is an example of processing. Examples of states and processing are not limited to the above examples.

この明細書では、状態を検出するモジュールはIFモジュールと称され、処理を実行するモジュールはTHENモジュールと称される。IoTシステムは、IFモジュールと、THENモジュールと、電子装置を含む。電子装置は、例えば無線によりIFモジュールとTHENモジュールに接続される。電子装置は、IFモジュールにより検出された状態が特定の状態であるかどうかを判断し、特定の状態である場合、THENモジュールに処理を実行させる指示を与える。 In this specification, modules that detect conditions are referred to as IF modules, and modules that perform processing are referred to as THEN modules. The IoT system includes an IF module, a THEN module, and an electronic device. The electronic device is connected to the IF module and the THEN module, for example wirelessly. The electronic device determines whether the condition detected by the IF module is a particular condition, and if so, provides instructions to the THEN module to perform processing.

電子装置の一例は、これに限定されないが、スマートフォンを含む。電子装置には、ルール情報と、ルール情報に従ってIFモジュールとTHENモジュールを制御するソフトウェアがインストールされる。電子装置は、IFモジュールに対して状態の検出を定期的に要求し、IFモジュールの出力に基づいて、IFモジュールが検出した状態が特定の状態であることを検知した場合、THENモジュールに対して特定の処理を実行するように制御する。 An example of an electronic device includes, but is not limited to, a smartphone. The electronic device is installed with rule information and software that controls the IF module and THEN module according to the rule information. The electronic device periodically requests the IF module to detect a state, and if the IF module detects that the state detected is a specific state based on the output of the IF module, the electronic device requests the THEN module to detect the state. Control execution of specific processing.

一つのルール情報においてIF部とTHEN部の数、すなわち検出される状態の数と、実行される処理の数はそれぞれ一つに限定されない。例えば複数の状態がそれぞれ複数の特定の状態である場合に一つの処理が実行されてもよい。例えば、ルール情報は、第1のIFモジュールにより検出された状態が第1の特定の状態であり、かつ第2のIFモジュールにより検出された状態が第2の特定の状態である場合に実行される1つの処理を示してもよい。あるいは、一つの状態が一つの特定の状態である場合に複数の処理が実行されてもよい。さらに、複数の状態がそれぞれ複数の特定の状態である場合に複数の処理が実行されてもよい。例えば、ルール情報は、検出モジュールにより検出された状態が特定の状態である場合に第1のTHENモジュールによる実行される第1の処理と、第2のTHENモジュールにより実行される第2の処理を示してもよい。 In one piece of rule information, the number of IF parts and THEN parts, that is, the number of states to be detected and the number of processes to be executed, are not limited to one each. For example, one process may be executed when each of the plurality of states is a plurality of specific states. For example, the rule information may be executed if the condition detected by the first IF module is a first specific condition and the condition detected by the second IF module is a second specific condition. may indicate one process. Alternatively, multiple processes may be executed when one state is one specific state. Furthermore, a plurality of processes may be executed when each of the plurality of states is a plurality of specific states. For example, the rule information may specify a first process to be performed by a first THEN module and a second process to be performed by a second THEN module when the state detected by the detection module is a specific state. May be shown.

IoTシステムを作りたい又は使いたいユーザは、自らルール情報を作成してもよいが、他のユーザが作成したルール情報を利用することもできるようになっている。実施形態では、ルール情報を作成したユーザはルール情報をサーバへアップロードする。ルール情報を利用したいユーザは、サーバにアクセスし、多数のルール情報の中から適切なルール情報を選択して、ダウンロードする。 Users who want to create or use an IoT system may create their own rule information, but they can also use rule information created by other users. In the embodiment, the user who created the rule information uploads the rule information to the server. A user who wants to use rule information accesses the server, selects and downloads appropriate rule information from among a large number of rule information.

(ルール情報)
電子装置は、メモリに記憶されている有効なルール情報に含まれるIFモジュールIDで識別されるIFモジュールに対して、状態を検出し、検出結果をIFサイクル毎に電子装置へ送信することを要求する要求信号を送信する。IFモジュールは、電子装置からの要求信号に応じて状態を検出し、検出した状態を示す検出信号を電子装置に送信する。
(rule information)
The electronic device requests the IF module identified by the IF module ID included in the valid rule information stored in the memory to detect the state and send the detection result to the electronic device every IF cycle. send a request signal to The IF module detects a state in response to a request signal from the electronic device, and transmits a detection signal indicating the detected state to the electronic device.

電子装置は、IFモジュールが検出した状態がいずれかのルール情報のIF部に記載の特定の状態であるか否かを判定する。電子装置は、検出した状態が特定の状態であると判定した場合、当該ルール情報のTHEN部に記載のTHENモジュールにTHEN部に記載の処理を実行させることを要求する要求信号を送信する。 The electronic device determines whether the state detected by the IF module is a specific state described in the IF section of any rule information. When the electronic device determines that the detected state is a specific state, the electronic device transmits a request signal requesting the THEN module described in the THEN section of the rule information to execute the process described in the THEN section.

電子装置は、このように少なくとも1つのIFモジュールと少なくとも1つのTHENモジュールを連携させることにより便利な仕組み(IoTシステム)を提供する。なお、ルール情報は、仕組みを提供するためのモジュールと、それらの連携を定義するものであるので、料理におけるレシピと対応するので、本明細書では、ルール情報はレシピ情報とも称される。 The electronic device thus provides a convenient mechanism (IoT system) by coordinating at least one IF module and at least one THEN module. Note that since rule information defines modules for providing a mechanism and their cooperation, it corresponds to a recipe for cooking, and therefore, in this specification, rule information is also referred to as recipe information.

ルール情報を用いてIoTシステムを構築するためには、ルール情報の拡充、流通が必要である。クラウドサーバは、ルール公開サイトを備え、格納しているルール情報を示すルール一覧画面を公開することが考えられる。なお、ルール情報の中には、公開が許可されていないルール情報も存在する場合がある。その場合は、ルール公開サイトは公開が許可されたルール情報のみを公開する。 In order to construct an IoT system using rule information, it is necessary to expand and distribute rule information. It is conceivable that the cloud server includes a rule publication site and publishes a rule list screen showing stored rule information. Note that there may be some rule information that is not permitted to be made public. In that case, the rule publishing site will only publish the rule information that is permitted to be published.

ユーザは、ルール公開サイトにアクセスすると、公開されているルール一覧画面を見ることができる。ユーザは、ルール一覧画面の中からルール情報を選択して、選択したルール情報をエッジコンピュータにダウンロードすることができる。 When a user accesses a rule publication site, he or she can view a screen listing published rules. The user can select rule information from the rule list screen and download the selected rule information to the edge computer.

ユーザは、ルール情報に記載されているIFモジュールとTHENモジュールを用意すれば、IoTシステムを簡単に構成することができる。 A user can easily configure an IoT system by preparing the IF module and THEN module described in the rule information.

ルール情報はIoTシステムを構築したいユーザが作成するが、このユーザ以外にも、業として作成する作成者や、ルール情報を構成するIFモジュールとTHENモジュールの製造者等もルール情報を作成することが可能である。 Rule information is created by a user who wants to build an IoT system, but in addition to these users, creators who create it professionally and manufacturers of the IF module and THEN module that make up the rule information can also create rule information. It is possible.

このように多数の人が多数のルール情報をクラウドサーバへアップロードすることが予想される。クラウドサーバが格納しているルール情報の数が多くなると、適切なルール情報の選択が困難となる。そのため、クラウドサーバは、多数のルール情報の中からユーザに推奨するルール情報の一覧画面を提供する。これにより、ユーザによるルール情報の選択が容易となる。 In this way, it is expected that many people will upload a large amount of rule information to the cloud server. When the number of rule information stored in a cloud server increases, it becomes difficult to select appropriate rule information. Therefore, the cloud server provides the user with a list screen of recommended rule information from among a large amount of rule information. This facilitates the user's selection of rule information.

クラウドサーバは、ルールを推奨するために、ルール情報に関する推奨度情報を算出する必要がある。推奨度情報は、ルール情報を推奨するために用いる指標に関する情報である。推奨度情報の値はルール情報が推奨される度合いに応じている。例えば、より推奨されるルール情報に関する推奨度情報の値は、より推奨されないルール情報に関する推奨度情報の値より大きい。推奨度情報は、単一の指標ではなく、複数の指標から算出してもよい。指標の例は、利用回数や評価等を含む。利用回数は、累計の利用回数と一定期間内の利用回数を含む。一定期間内の利用回数には直近の単位期間(例えば1カ月)の利用回数を含む。利用回数が多いルール情報や評価が高いルール情報はより推奨されるルール情報であると考えてもよい。 In order to recommend rules, the cloud server needs to calculate recommendation degree information regarding rule information. Recommendation level information is information regarding an index used to recommend rule information. The value of the recommendation degree information corresponds to the degree to which the rule information is recommended. For example, the value of recommendation degree information regarding rule information that is more recommended is greater than the value of recommendation degree information regarding rule information that is less recommended. Recommendation level information may be calculated from a plurality of indicators instead of a single indicator. Examples of indicators include usage frequency, evaluation, and the like. The number of uses includes the cumulative number of uses and the number of uses within a certain period of time. The number of uses within a certain period includes the number of uses in the most recent unit period (for example, one month). Rule information that is frequently used or has a high evaluation may be considered to be more recommended rule information.

クラウドサーバは、利用回数や評価に関する推奨度情報の値の順(例えば、大きい順)にルール情報が並んだランキング表をルール一覧画面としてユーザに提供してもよい。ランキング表は複数の頁からなることもあるが、複数の頁は推奨度情報の値の大きい順に表示される。これにより、ルール情報の数が多くても、ユーザは短時間にルール一覧画面から所望のルール情報を選択して、ダウンロードすることができる。 The cloud server may provide the user with a ranking table in which rule information is arranged in order of the number of uses and the value of recommendation information regarding evaluation (for example, in descending order) as a rule list screen. The ranking table may consist of a plurality of pages, and the plurality of pages are displayed in descending order of the recommendation degree information value. Thereby, even if there is a large number of rule information, the user can select and download desired rule information from the rule list screen in a short time.

(エッジコンピュータ)
図1は、本実施形態に係るIoTシステムの構成の一例を示す図であり、特にIoTシステム内のエッジコンピュータ6の詳細の一例を示す。本実施形態に係るIoTシステムは、クラウドサーバ2、エッジコンピュータ6、IFモジュール8A、及びTHENモジュール8Bを含む。クラウドサーバ2とエッジコンピュータ6はネットワーク18を介して接続される。エッジコンピュータ6とIFモジュール8Aは、ネットワーク18を介して接続される。エッジコンピュータ6とTHENモジュール8Bは、ネットワーク18を介して接続される。エッジコンピュータ6は、ルール情報を作成する電子装置の一例である。クラウドサーバの構成は図7に示す。エッジコンピュータ6は、ユーザ毎の電子装置の一例である。図1は単数のエッジコンピュータ6を示すが、異なるユーザ又は同一のユーザの複数のエッジコンピュータ6がネットワーク18に接続されていても良い。
(edge computer)
FIG. 1 is a diagram showing an example of the configuration of an IoT system according to the present embodiment, and particularly shows an example of details of an edge computer 6 in the IoT system. The IoT system according to this embodiment includes a cloud server 2, an edge computer 6, an IF module 8A, and a THEN module 8B. Cloud server 2 and edge computer 6 are connected via network 18. Edge computer 6 and IF module 8A are connected via network 18. The edge computer 6 and THEN module 8B are connected via a network 18. The edge computer 6 is an example of an electronic device that creates rule information. The configuration of the cloud server is shown in Figure 7. The edge computer 6 is an example of an electronic device for each user. Although FIG. 1 shows a single edge computer 6, multiple edge computers 6 of different users or the same user may be connected to the network 18.

エッジコンピュータ6は、入力装置102、表示装置104、送信部106、受信部108、マイクロサービス10A,10B、アプリケーション20、ルールメモリ28、評価メモリ122及び履歴メモリ124を備える。入力装置は、例えばきーボード、マウスである。表示装置は、例えば液晶ディスプレイやプロジェクタである。入力装置102と表示装置104は、別々のデバイスから構成する代わりに、タッチ入力機能を有する単一のディスプレイから構成してもよい。 The edge computer 6 includes an input device 102, a display device 104, a transmitter 106, a receiver 108, microservices 10A and 10B, an application 20, a rule memory 28, an evaluation memory 122, and a history memory 124. The input device is, for example, a keyboard or a mouse. The display device is, for example, a liquid crystal display or a projector. Input device 102 and display device 104 may be comprised of a single display with touch input functionality instead of being comprised of separate devices.

エッジコンピュータ6の例は、パーソナルコンピュータ、スマートフォン、タブレット、サイネージ、ゲートウェイ、ルータ、カーナビゲーションシステム、家電機器(テレビ等)、複合機(コピー機)、クラウドサーバ等を含む。 Examples of the edge computer 6 include a personal computer, a smartphone, a tablet, a signage, a gateway, a router, a car navigation system, a home appliance (such as a television), a multifunction device (copy machine), a cloud server, and the like.

エッジコンピュータ6の設置場所は、トラック、列車、船舶、航空機等の輸送装置、また、病院、工場、アパートメント、個人住宅(音声合成、メール、SNS等)、農業施設、漁業施設、林業施設、学校、公園等のも施設を含む。 Edge computers 6 can be installed in transportation devices such as trucks, trains, ships, and aircraft, as well as hospitals, factories, apartments, private residences (speech synthesis, email, SNS, etc.), agricultural facilities, fishing facilities, forestry facilities, and schools. , parks and other facilities.

ルール情報に基づきIoTシステムを構築するアプリケーション20は、ルール作成部112、ルール取得部114、評価管理部116、実行履歴管理部118及びルールエンジン26を含む。アプリケーション20は、ルール情報に基づきIoTシステムを構築するプラットフォームを実現するためのプログラムである。ルールエンジン26は、ルール管理部132、状態モニタ134及び処理起動部136を含む。 The application 20 that constructs an IoT system based on rule information includes a rule creation section 112, a rule acquisition section 114, an evaluation management section 116, an execution history management section 118, and a rule engine 26. The application 20 is a program for realizing a platform for constructing an IoT system based on rule information. The rule engine 26 includes a rule management section 132, a status monitor 134, and a process starting section 136.

ルール作成部112は、入力装置102から入力されたテキスト情報に基づいて、ルール情報を作成し、ルール情報を送信部106へ送る。 The rule creation unit 112 creates rule information based on the text information input from the input device 102 and sends the rule information to the transmission unit 106.

ルール情報の例を図2乃至図4に示す。 Examples of rule information are shown in FIGS. 2 to 4.

図2は、ルール情報のデータ構造の一例を示す。ルール情報は、複数の項目を含む。ルール情報の項目の例は、ルールID、ルール名、作成者ID、作成日時、IF-THEN部、ルール属性、編集可否フラグ、編集者ID等を含む。ルール情報の項目の例は、図2の例に限定されない。例えばルール属性、編集可否フラグ、編集者ID等は省略される場合もある。 FIG. 2 shows an example of the data structure of rule information. Rule information includes multiple items. Examples of rule information items include rule ID, rule name, creator ID, creation date and time, IF-THEN section, rule attribute, editability flag, editor ID, and the like. Examples of rule information items are not limited to the example in FIG. 2. For example, rule attributes, editability flags, editor IDs, etc. may be omitted.

ルールIDはルール情報毎のユニークな識別情報である。ルールIDは、作成時に自動的に決められるが、作成時に決定しなくても良い。作成者は、重複しない限り、ルールIDを自由に設定してもよい。ルール名は、ルールの内容、すなわちIoTシステムの内容を表すものである。ルール名の例は、これらに限定されないが、「高温時冷房運転」、「来客通知」、「音声ガイド」、「機械故障通知」、「心拍異常通知」等を含む。作成者IDはルール情報の作成者毎のユニークな識別情報である。作成日時は自動的に入力される。 The rule ID is unique identification information for each piece of rule information. The rule ID is automatically determined at the time of creation, but does not need to be determined at the time of creation. The creator may freely set rule IDs as long as they do not overlap. The rule name represents the content of the rule, that is, the content of the IoT system. Examples of rule names include, but are not limited to, "cooling operation at high temperature", "visitor notification", "voice guide", "mechanical failure notification", "abnormal heartbeat notification", and the like. The creator ID is unique identification information for each creator of rule information. The creation date and time will be entered automatically.

IF-THEN部はIFモジュール8AとTHENモジュール8Bの連携を示す。IF-THEN部の一例は図3に示す。 The IF-THEN section shows cooperation between the IF module 8A and THEN module 8B. An example of the IF-THEN section is shown in FIG.

ルール属性は、ルール情報がどのようなサービスを提供するのかを示す情報である。ルール属性の一例は図4に示す。 The rule attribute is information indicating what kind of service the rule information provides. An example of rule attributes is shown in FIG.

ルール作成者は、自分が作成したルール(具体的にはIF-THEN部、ルール属性等)を他人が編集することを許可又は禁止できる。ルール作成者は、自分が作成したルールの編集を許可する場合、編集可否フラグを例えば“1”とし、禁止する場合、編集可否フラグを例えば“0”とする。なお、編集可否フラグの具体的な値はこれに限定されない。 A rule creator can permit or prohibit others from editing the rule he or she has created (specifically, the IF-THEN section, rule attributes, etc.). The rule creator sets the editability flag to, for example, "1" when allowing editing of the rule created by the rule creator, and sets the editability flag to, for example, "0" when prohibiting the editing. Note that the specific value of the editability flag is not limited to this.

このシステムは、ユーザが編集可能なルール情報をダウンロードした場合、ユーザはルール情報を編集することができるようになっている。編集可能なルール情報をダウンロードした場合、ディスプレイにルール情報の編集可を示すアイコンが表示される。このアイコンがタッチされると、ルール情報が編集可能となる。 In this system, if the user downloads editable rule information, the user can edit the rule information. When editable rule information is downloaded, an icon indicating that the rule information can be edited is displayed on the display. When this icon is touched, the rule information can be edited.

ユーザが編集により作成したルール情報は、新規に作成したルール情報と同様にサーバにアップロードされる。編集により作成されたルールは、編集前のオリジナルルールとは異なるルールIDを有するルールとして登録される。その場合、作成者IDは不変であるが、編集者IDが付け加えられる。編集者IDは編集者毎のユニークな識別情報である。編集可の一つのオリジナルルールから編集により複数のルールが作成され、登録されることも可能である。 Rule information created by editing by the user is uploaded to the server in the same way as newly created rule information. A rule created by editing is registered as a rule having a different rule ID from the original rule before editing. In that case, the creator ID remains unchanged, but the editor ID is added. The editor ID is unique identification information for each editor. It is also possible to create and register multiple rules by editing one editable original rule.

図3は、IF-THEN部のデータ構造の一例を示す。IF-THEN部は作成者により入力される又は編集者により編集されるものであり、IF部とTHEN部からなる。 FIG. 3 shows an example of the data structure of the IF-THEN section. The IF-THEN section is input by the creator or edited by the editor, and consists of an IF section and a THEN section.

IF部は、複数の項目を含む。IF部の項目の例は、これらに限定されないが、IFモジュール8Aの識別情報であるIFモジュールID、処理の実行開始のための条件、条件の詳細を定義するIFパラメータ、条件を調べる周期を示すIFサイクル等を含む。条件は、IFモジュール8Aにより検出された状態と比較される特定の状態である。IFモジュール8Aの例は、これらに限定されないが、温度センサ、湿度センサ、ドア、アルコール検知器、開閉センサ、ビーコン、人感センサ、水漏れセンサ、発電椅子、発電床、重さセンサ、複合多機能センサ(光、温度、湿度、加速度、ジャイロ等)、体温計、重量計、マイクロフォン、湿度計、カメラ等を含む。 The IF section includes multiple items. Examples of items in the IF section include, but are not limited to, the IF module ID which is the identification information of the IF module 8A, the condition for starting execution of processing, the IF parameter that defines the details of the condition, and the cycle for checking the condition. Including IF cycle etc. A condition is a particular condition that is compared to the condition detected by IF module 8A. Examples of the IF module 8A include, but are not limited to, temperature sensors, humidity sensors, doors, alcohol detectors, opening/closing sensors, beacons, human sensors, water leak sensors, power generation chairs, power generation floors, weight sensors, and multiplex sensors. Includes functional sensors (light, temperature, humidity, acceleration, gyro, etc.), thermometers, weight scales, microphones, hygrometers, cameras, etc.

THEN部も、複数の項目を含む。THEN部の項目の例は、これらに限定されないが、THENモジュール8Bの識別情報であるTHENモジュールID、THENモジュール8Bが実行する処理、処理の詳細を定義するTHENパラメータ等を含む。THENモジュール8Bの例は、これらに限定されないが、コミュニケーションロボット、電源タップ、通知用腕時計、リストバンド、LED、電子機器のリモコン、メール送信、マップ表示、音声合成等を含む。 The THEN section also includes multiple items. Examples of items in the THEN section include, but are not limited to, a THEN module ID that is identification information of the THEN module 8B, a process that the THEN module 8B executes, a THEN parameter that defines details of the process, and the like. Examples of THEN module 8B include, but are not limited to, communication robots, power strips, notification watches, wristbands, LEDs, remote controls for electronic devices, email transmission, map display, voice synthesis, and the like.

IF部、THEN部の組み合わせの例は、これらに限定されないが、
「トレイに〇〇グラム以上の物体が置かれたら、〇〇秒間光ってお知らせする」、
「温度が〇〇度を超えたら、〇〇モードで空調機を動作させる」、
「工作機械の振動が〇〇秒以上停止したら、警告文を〇〇秒間表示して作業員に通知する」、
「〇〇人が〇〇に来たら、○○語で○○の音声案内を開始する」、
「心拍数が〇〇を超えたら、○○により本人に知らせる」等である。
Examples of combinations of the IF part and THEN part are not limited to these, but
"If an object weighing more than XX grams is placed on the tray, it will light up for XX seconds to notify you."
"If the temperature exceeds 〇〇 degrees, operate the air conditioner in 〇〇 mode."
"If the vibration of the machine tool stops for more than XX seconds, a warning message will be displayed for XX seconds to notify the operator."
“When 〇〇 people come to 〇〇, we will start providing audio guidance for 〇〇 in 〇〇 language.
For example, ``If the heart rate exceeds 〇〇, notify the person by 〇〇.''

IF部とTHEN部の中の○○はIF部、THEN部の詳細を指定する数値や選択肢であり、IFパラメータとTHENパラメータにより定義される。 ○○ in the IF section and THEN section are numerical values or options that specify the details of the IF section and THEN section, and are defined by the IF parameter and THEN parameter.

図4は、ルール属性のデータ構造の一例を示す。ルール属性は、複数の項目を含む。ルール属性の項目の例は、これらに限定されないが、対象者ID、シーンID、テーマID、課題ID等を含む。ルール属性は、後述するルール推奨処理において利用され得る。ルール属性は、ルール情報の検索においても、キーワードとして利用され得る。 FIG. 4 shows an example of the data structure of rule attributes. The rule attribute includes multiple items. Examples of rule attribute items include, but are not limited to, subject ID, scene ID, theme ID, task ID, and the like. The rule attributes can be used in the rule recommendation process described below. Rule attributes can also be used as keywords in searching for rule information.

対象者IDは、ルール情報に基づき実行される処理の対象であるユーザ、すなわちルール情報により提供されるサービスの対象者を示す識別情報である。対象者の例は、これらに限定されないが、従業員(ID=P1)、管理者(ID=P2)、教授、看護師等を含む。 The target person ID is identification information indicating the user who is the target of the process executed based on the rule information, that is, the target person of the service provided based on the rule information. Examples of targets include, but are not limited to, employees (ID=P1), managers (ID=P2), professors, nurses, and the like.

シーンIDは、ルール情報に基づき処理が実行されるシーン、すなわちルール情報により提供されるサービスが利用されるシーンを示す識別情報である。シーンの例は、これらに限定されないが、会議室、レストラン、荷物梱包場所、工事現場、オフィス(ID=S1)、工場(ID=S2)、教室内、エレベータ、家の敷地、自宅のリビング、食料品店、コーヒーショップ、公園、学校の敷地、洋服店(アパレルショップ)、出入国ゲート、観光地、コンビニエンスストア、博物館(ID=S3)美術館、鉄道の駅、オフィスビル、ホテル、高速道路、ホテルロビー、物流センター、テニスコート、空港、トイレ、バスの車内等を含む。 The scene ID is identification information indicating a scene in which processing is executed based on the rule information, that is, a scene in which a service provided by the rule information is used. Examples of scenes include, but are not limited to, a conference room, a restaurant, a luggage packing area, a construction site, an office (ID=S1), a factory (ID=S2), a classroom, an elevator, a house site, a living room at home, Grocery stores, coffee shops, parks, school grounds, clothing stores (apparel shops), immigration gates, tourist spots, convenience stores, museums (ID=S3) art museums, railway stations, office buildings, hotels, highways, hotels This includes lobbies, distribution centers, tennis courts, airports, restrooms, bus interiors, etc.

テーマIDは、ルール情報に基づき実行される処理のテーマ、すなわちルール情報により提供されるサービスのテーマを示す識別情報である。テーマの例は、これらに限定されないが、セキュリティ(ID=T1)、効率化(ID=T3)、快適、安心、シェア拡大(ID=T2)、自動化、お金儲け/節約、娯楽(ID=T4)、健康(ID=T5)、便利等を含む。 The theme ID is identification information indicating the theme of the process executed based on the rule information, that is, the theme of the service provided by the rule information. Examples of themes include, but are not limited to, security (ID=T1), efficiency (ID=T3), comfort, peace of mind, share expansion (ID=T2), automation, money making/saving, and entertainment (ID=T4). ), health (ID=T5), convenience, etc.

課題IDは、ルール情報に基づき実行される処理により解決される課題、すなわちルール情報により提供されるサービスにより解決される課題を示す識別情報である。課題の例は、これらに限定されないが、見える化(ID=O1)、機能付加、省エネルギ(ID=O2)、エコロジー(ID=O3)等を含む。ルール属性のデータ構造は図4に示す例に限定されない。 The problem ID is identification information indicating a problem to be solved by a process executed based on the rule information, that is, a problem to be solved by a service provided by the rule information. Examples of issues include, but are not limited to, visualization (ID=O1), functional addition, energy saving (ID=O2), ecology (ID=O3), and the like. The data structure of the rule attribute is not limited to the example shown in FIG.

ルール情報の作成時に、作成者は、ルール属性を設定してもよい。作成者は、ルール情報の作成時ではなく、任意のタイミングでルール属性を設定又は変更してもよい。なお、ルール情報の検索にルールID、ルール名、IF-THEN部内のキーワード、作成者ID、編集者ID等を利用し、ルール属性の少なくとも一つの項目を利用しない場合は、作成者は、利用しないルール属性の項目を設定しなくてもよい。ルール属性の項目を入力する代わりに、ルール属性の項目の選択肢を表示し、その中から選択肢を選択することによりルール属性の項目を設定してもよい。なお、ルール属性の項目のうち限定する必要がない項目がある場合、当該項目には全て(all)のIDが設定される。 When creating rule information, the creator may set rule attributes. The creator may set or change the rule attributes at any time rather than when creating the rule information. Note that if the rule ID, rule name, keyword in the IF-THEN section, creator ID, editor ID, etc. are used to search for rule information, and at least one item of rule attributes is not used, the creator cannot use the rule information. There is no need to set the rule attribute item that does not apply. Instead of inputting the rule attribute item, the rule attribute item may be set by displaying the options of the rule attribute item and selecting one of the options. Note that if there is an item among the rule attribute items that does not need to be limited, an ID of all is set for the item.

なお、図示の便宜上、ルール情報を3枚のテーブルに分割して示したが、実際のルール情報は、図3に示すIF-THEN部と図4に示すルール属性が図2に示すテーブルに組み込まれた1枚のテーブルでもよい。 For convenience of illustration, the rule information is shown divided into three tables; however, in actual rule information, the IF-THEN part shown in Fig. 3 and the rule attributes shown in Fig. 4 are incorporated into the table shown in Fig. 2. It may be a single table.

図1の説明に戻り、送信部106は、ルール情報をネットワーク18を介してクラウドサーバ2へ送信する。 Returning to the explanation of FIG. 1, the transmitter 106 transmits the rule information to the cloud server 2 via the network 18.

エッジコンピュータ6のユーザがルール情報を作成する際、ルール作成部112は、ルール作成のためのガイダンス画面を表示装置104に表示してもよい。ルール作成部112は、ガイダンス画面に従って作成者が入力装置102から入力又は選択した情報に基づきルール情報を作成する。ここでは、ガイダンス画面に従ってルール情報を作成する例を示したが、ガイダンス画面を利用せずに、ユーザがルール作成に必要な情報を直接に入力して、ルール情報を作成してもよい。 When the user of the edge computer 6 creates rule information, the rule creation unit 112 may display a guidance screen for rule creation on the display device 104. The rule creation unit 112 creates rule information based on information input or selected by the creator from the input device 102 according to the guidance screen. Although an example has been shown in which rule information is created according to the guidance screen, the user may directly input information necessary for creating rules to create rule information without using the guidance screen.

なお、ルール情報を入力装置102からテキスト情報として入力する代わりに、この情報を音声信号として入力し、音声信号を音声認識してルール情報を入力してもよい。 Note that instead of inputting the rule information as text information from the input device 102, this information may be input as an audio signal, and the rule information may be input by performing voice recognition on the audio signal.

送信部106は、図示せずメモリを有する。送信部106は、ルール作成部112から送信されたルール情報をメモリに書き込む。送信部106は、ユーザからのルール情報の送信要求を受け取ると、メモリ内のルール情報をクラウドサーバ2へ送信してもよいし、一定数のルール情報がメモリに格納される毎に一定数のルール情報をクラウドサーバ2へ送信してもよいし、メモリに記憶されているルール情報を一定時間毎にクラウドサーバ2へ送信してもよい。ユーザは、入力装置102を用いてルール情報の送信要求を送信部106へ送ることができる。 The transmitter 106 includes a memory (not shown). The transmitter 106 writes the rule information transmitted from the rule creator 112 into memory. When the sending unit 106 receives a request to send rule information from a user, it may send the rule information in the memory to the cloud server 2, or it may send a certain number of rule information every time a certain number of rule information is stored in the memory. The rule information may be transmitted to the cloud server 2, or the rule information stored in the memory may be transmitted to the cloud server 2 at regular intervals. The user can use the input device 102 to send a request to send rule information to the sending unit 106 .

複数のエッジコンピュータ6からクラウドサーバ2に送信されたルール情報は、例えば図2乃至図4に示す形式で、クラウドサーバ2に記憶される。 The rule information transmitted from the plurality of edge computers 6 to the cloud server 2 is stored in the cloud server 2 in the formats shown in FIGS. 2 to 4, for example.

エッジコンピュータ6のユーザがクラウドサーバ2からルール情報をダウンロードする際、ルール取得部114は、ユーザが指定した推奨度情報についてのルール情報のランキング表の表示を要求する表示要求信号又はユーザが選択したルール情報のダウンロードを要求するダウンロード要求信号を送信部106に送る。送信部106は、表示要求信号又はダウンロード要求信号をネットワーク18を介してクラウドサーバ2のルール公開サイト(図示せず)へ送信する。 When the user of the edge computer 6 downloads rule information from the cloud server 2, the rule acquisition unit 114 sends a display request signal requesting display of a ranking table of the rule information regarding the recommendation level information specified by the user or a display request signal selected by the user. A download request signal requesting download of the rule information is sent to the transmitter 106. The transmitting unit 106 transmits a display request signal or a download request signal to a rule publication site (not shown) of the cloud server 2 via the network 18.

ルール公開サイトは、指定した推奨度情報についてのルール情報のランキング表の表示を要求する表示要求信号を受信すると、複数のルール情報が推奨度情報の値の大きい順に並んだランキング情報をルール一覧画面情報としてエッジコンピュータ6に送信する。 When the rule publication site receives a display request signal requesting to display a ranking table of rule information for specified recommendation information, it displays ranking information in which multiple pieces of rule information are arranged in descending order of recommendation information on a rule list screen. It is sent to the edge computer 6 as information.

エッジコンピュータ6の受信部108は、受信したルール一覧画面情報をルール取得部114に送信する。ルール取得部114は、ルール一覧画面情報に基づいてランキング表を表示装置104で表示する。 The receiving unit 108 of the edge computer 6 transmits the received rule list screen information to the rule acquiring unit 114. The rule acquisition unit 114 displays a ranking table on the display device 104 based on the rule list screen information.

表示されているランキング表の中の少なくとも一つのルール情報をユーザが選択すると、ルール取得部114は、選択したルール情報のダウンロードを要求するダウンロード要求信号を送信部106に送る。送信部106は、ダウンロード要求信号をネットワーク18を介してルール公開サイトへ送信する。 When the user selects at least one piece of rule information in the displayed ranking table, the rule acquisition unit 114 sends a download request signal to the transmission unit 106 requesting download of the selected rule information. The transmitter 106 transmits the download request signal to the rule publication site via the network 18.

ルール公開サイトは、選択されたルール情報のダウンロード要求信号を受信すると、選択されたルール情報をエッジコンピュータ6に送信する。 Upon receiving the download request signal for the selected rule information, the rule publication site transmits the selected rule information to the edge computer 6.

エッジコンピュータ6の受信部108は、受信したルール情報をルールエンジン26のルール管理部132に送る。ルール管理部132は、ルール情報をルールメモリ28に書き込む。ルールメモリ28はルール情報を記憶する。 The receiving unit 108 of the edge computer 6 sends the received rule information to the rule management unit 132 of the rule engine 26. The rule management unit 132 writes rule information into the rule memory 28. Rule memory 28 stores rule information.

ルール情報のダウンロードは有料でもよいし、無料でもよい。有料の場合、例えば図2に示すルール情報のデータ構造の項目に料金を追加し、ルール管理部132がルール情報をルールメモリ28に書き込むと、課金処理が行われるように構成してもよい。 Downloading the rule information may be paid or free. In the case of a charge, for example, the charge may be added to an item in the data structure of the rule information shown in FIG. 2, and when the rule management unit 132 writes the rule information into the rule memory 28, the billing process may be performed.

ルールエンジン26の状態モニタ134は、マイクロサービス10A、10Bに接続される。マイクロサービス10Aは、ネットワーク18を介してIFモジュール8Aに接続される。マイクロサービス10Bは、ネットワーク18を介してTHENモジュール8Bに接続される。なお、エッジコンピュータ6とクラウドサーバ2を接続するネットワークと、エッジコンピュータ6とIFモジュール8A、THENモジュール8Bを接続するネットワークとは図1の例では同じネットワークとして記載しているが、異なるネットワークであっても良い。マイクロサービス10A、10Bは、オブジェクト指向のプログラミング言語を用いたプログラムで構成さされたIFモジュール8A、THENモジュール8Bの制御手段である。 A state monitor 134 of the rules engine 26 is connected to the microservices 10A, 10B. Microservice 10A is connected to IF module 8A via network 18. Microservice 10B is connected to THEN module 8B via network 18. Note that the network connecting the edge computer 6 and the cloud server 2 and the network connecting the edge computer 6, IF module 8A, and THEN module 8B are described as the same network in the example of FIG. 1, but they are different networks. It's okay. The microservices 10A and 10B are control means for the IF module 8A and THEN module 8B, which are configured by programs using an object-oriented programming language.

説明の便宜上、図1は単数のIFモジュール8Aと単数のTHENモジュール8Bを示すが、複数のIFモジュール8Aと、それらに対応する複数のマイクロサービス10Aが設けられてもよいし、複数のTHENモジュール8Bと、それらに対応する複数のマイクロサービス10Bが設けられてもよい。なお、一つのサービスを提供するIoTシステムを構成する場合は、少なくとも一つのIFモジュール8Aと少なくとも一つのTHENモジュール8Bの2個のモジュールがあればよい。また、一つのモジュールが状態を検出し、同じモジュールが処理を実行する機能を有するならば、一つのモジュールがあればよい。例えばLED付きの照度センサを用いれば、照度が閾値以上の場合、LEDを点灯させるというルール情報に従うIoTシステムを実現できる。 For convenience of explanation, FIG. 1 shows a single IF module 8A and a single THEN module 8B, but a plurality of IF modules 8A and a plurality of microservices 10A corresponding to them may be provided, or a plurality of THEN modules may be provided. 8B and a plurality of microservices 10B corresponding thereto may be provided. Note that when configuring an IoT system that provides one service, it is sufficient to have two modules: at least one IF module 8A and at least one THEN module 8B. Further, if one module has the function of detecting a state and the same module has the function of executing processing, it is sufficient to have one module. For example, by using an illuminance sensor with an LED, it is possible to realize an IoT system that follows rule information such that when the illuminance is equal to or higher than a threshold, the LED is turned on.

上述したように、IFモジュール8A、THENモジュール8Bは、デバイスに限らず、処理、コンテンツ又はデータを含む。従って、マイクロサービス10A、10Bは、Web頁間の遷移制御や特定Web頁に対応した画面操作などの制御を行うためのAI技術を用いたプログラムソフトも含む。同様に、マイクロサービス10A、10Bは、AI技術を用いて特定の映像コンテンツ内に登場する人物の人数を自動抽出するアプリケーションプログラムや、取得データを、例えば統計解析などを利用して解析するアプリケーションプログラムも含む。 As described above, the IF module 8A and THEN module 8B are not limited to devices, but include processing, content, or data. Therefore, the microservices 10A and 10B also include program software using AI technology to control transitions between Web pages and screen operations corresponding to specific Web pages. Similarly, the microservices 10A and 10B include an application program that automatically extracts the number of people appearing in a specific video content using AI technology, and an application program that analyzes acquired data using statistical analysis, etc. Also included.

IFモジュール8A、THENモジュール8B、及びマイクロサービス10A、10Bとネットワーク18との接続は、無線でも有線でもよい。無線接続の例は、ブルートゥース(登録商標)、携帯電話回線、Wi-Fi(登録商標)等がある。有線接続の例は、有線LAN、USB接続等がある。 Connections between the IF module 8A, THEN module 8B, and microservices 10A and 10B and the network 18 may be wireless or wired. Examples of wireless connections include Bluetooth (registered trademark), mobile phone line, Wi-Fi (registered trademark), and the like. Examples of wired connections include wired LAN and USB connections.

IFモジュール8A、THENモジュール8Bは実空間上のモジュールと、サイバ空間上のモジュールを含む。実空間上のモジュールの例は、これらに限定されないが、センサ、ビーコン、家電、スマートフォンやタブレット等の携帯端末、HMD(head mounted display)、IoT機器及びGPS衛星を含む。実空間上のモジュールは、図1に示すようにエッジコンピュータ6の外部に配置されるモジュールと、図1には示さないがエッジコンピュータ6に内蔵されるモジュールを含む。内蔵されるモジュールの例は、これらに限定されないが、温度センサ、圧力センサ及びジャイロを含む。 The IF module 8A and THEN module 8B include a module in real space and a module in cyber space. Examples of modules in real space include, but are not limited to, sensors, beacons, home appliances, mobile terminals such as smartphones and tablets, HMDs (head mounted displays), IoT devices, and GPS satellites. The modules in real space include modules arranged outside the edge computer 6 as shown in FIG. 1 and modules built into the edge computer 6 although not shown in FIG. Examples of included modules include, but are not limited to, temperature sensors, pressure sensors, and gyros.

サイバ空間上のモジュールの例は、これらに限定されないが、WebサービスサーバやIoTサービスサーバにより実現される、証券(特定銘柄の株)の自動売買、特定商品の発注と受け取った商品代金の自動振り込み(課金処理)、映画や音楽の鑑賞券の購入申し込みや旅行等の予約申し込み等のユーザサービスを含む。 Examples of modules in cyberspace include, but are not limited to, automatic trading of securities (stocks of specific brands), ordering of specific products, and automatic transfer of received product prices, realized by web service servers and IoT service servers. (billing processing), and user services such as applications for purchasing tickets for movies and music, applications for reservations for travel, etc.

ルールエンジン26の説明に戻り、状態モニタ134は、ルール情報のIF部に記載されているIFモジュール8Aに対応するマイクロサービス10Aに状態の検出を定期的に要求し、マイクロサービス10Aから検出信号を受信する。状態モニタ134は、マイクロサービス10Aから検出要求を受信すると、IFモジュール8Aが検出した状態がルールメモリ28に記憶されている有効なルール情報の中のいずれかのルール情報のIF部に記載の特定の状態と一致するか否かを判定し、判定結果を処理起動部136へ送る。 Returning to the explanation of the rule engine 26, the status monitor 134 periodically requests status detection from the microservice 10A corresponding to the IF module 8A described in the IF section of the rule information, and receives a detection signal from the microservice 10A. Receive. When the status monitor 134 receives the detection request from the microservice 10A, the status monitor 134 determines whether the status detected by the IF module 8A is specified in the IF section of any of the valid rule information stored in the rule memory 28. It is determined whether the state matches the state of , and the determination result is sent to the processing starting unit 136.

状態モニタ134がIFモジュール8Aの検出状態が特定の状態と一致することを検出すると、処理起動部136は、当該ルール情報のTHEN部に記載の処理をTHENモジュール8Bに実行させるための実行指示信号を、THENモジュール8Bに対応するマイクロサービス10Bに送信する。マイクロサービス10Bは制御信号を受信すると、対応するTHENモジュール8Bに処理実行コマンドを送信する。制御信号は、実行履歴管理部118にも送信される。 When the status monitor 134 detects that the detection status of the IF module 8A matches a specific status, the process activation unit 136 sends an execution instruction signal to cause the THEN module 8B to execute the process described in the THEN part of the rule information. is sent to the microservice 10B corresponding to THEN module 8B. When the microservice 10B receives the control signal, it sends a processing execution command to the corresponding THEN module 8B. The control signal is also sent to the execution history management section 118.

ルール情報の利用は有料でもよいし、無料でもよい。有料の場合、例えば図2に示すルール情報のデータ構造の項目に料金を追加し、処理起動部136が起動処理を行うと、課金処理が行われてもよい。 Use of the rule information may be paid or free. In the case of a charge, the charge may be added to an item of the data structure of the rule information shown in FIG. 2, for example, and when the processing activation unit 136 performs the activation process, the charging process may be performed.

実行履歴管理部118は、処理起動部136から出力される制御信号に基づいて実行履歴情報を作成し、実行履歴情報を履歴メモリ124に書き込むとともに、実行履歴情報を送信部106へ送る。履歴メモリ124は実行履歴情報を記憶する。実行履歴は、THEN部に記載の処理の実行の履歴を示すものであり、ルール情報の利用の履歴を示すものでもある。実行履歴情報の例は、図5を参照して後述する。 The execution history management unit 118 creates execution history information based on the control signal output from the processing activation unit 136, writes the execution history information into the history memory 124, and sends the execution history information to the transmission unit 106. History memory 124 stores execution history information. The execution history indicates the history of the execution of the process described in the THEN section, and also indicates the history of the use of the rule information. An example of the execution history information will be described later with reference to FIG.

送信部106は、実行履歴管理部118から送信された実行履歴情報をクラウドサーバ2に送信するまで記憶するメモリを含む。送信部106は、ユーザからの実行履歴情報の送信要求を受け取ると、メモリ内の実行履歴情報をネットワーク18を介してクラウドサーバ2へ送信してもよいし、一定数の実行履歴情報がメモリに格納される毎に一定数の実行履歴情報を送信してもよいし、メモリに記憶されている実行履歴情報を一定時間毎に送信してもよい。ユーザは、入力装置102を用いて実行履歴情報の送信要求を送信部106へ送ることができる。 The transmitting unit 106 includes a memory that stores the execution history information transmitted from the execution history management unit 118 until it is transmitted to the cloud server 2. Upon receiving a request to send execution history information from a user, the transmission unit 106 may transmit the execution history information in the memory to the cloud server 2 via the network 18, or send a certain number of execution history information to the memory. A fixed number of execution history information may be transmitted each time the execution history information is stored, or execution history information stored in the memory may be transmitted at fixed intervals. The user can use the input device 102 to send a request to send execution history information to the sending unit 106 .

ユーザは、ルール情報の評価を示すテキスト情報を入力装置102から入力することができる。評価管理部116は、入力装置102から入力されたテキスト情報に基づいてルール情報の評価情報を作成する。評価情報は、コメント等の文字列、評価の数値等を含む。評価情報の作成時期には制限がない。ユーザは、評価情報の作成又は作成時期を入力装置102を用いてエッジコンピュータ6に指示することができる。 The user can input text information indicating the evaluation of the rule information from the input device 102. The evaluation management unit 116 creates evaluation information of rule information based on the text information input from the input device 102. The evaluation information includes character strings such as comments, evaluation values, and the like. There is no limit to the time when evaluation information is created. The user can instruct the edge computer 6 to create or create the evaluation information using the input device 102.

評価管理部116は、評価情報の作成が指示されると、エッジコンピュータ6が記憶していて、ルールメモリ28に記憶されているルール情報と履歴メモリ124に記憶されている実行履歴に基づいて、過去に利用したルール情報(THEN部に記載の処理が実行されたルール情報)の一覧を表示装置104に表示させ、その一覧の中のルール情報の評価情報を入力することを許可するとともに、評価情報の入力を促す。すなわち、ルール情報の評価情報は、そのルール情報を実際に利用したユーザのみが入力可能であり、ルール情報を利用していない人が評価情報を入力することは不可である。これにより、評価情報の信憑性を高めることができる。 When the evaluation management unit 116 is instructed to create evaluation information, the evaluation management unit 116 generates the evaluation information based on the rule information stored in the edge computer 6 and stored in the rule memory 28 and the execution history stored in the history memory 124. Displays a list of rule information used in the past (rule information for which the process described in the THEN section has been executed) on the display device 104, allows input of evaluation information of the rule information in the list, and also allows evaluation of rule information in the list. Prompt for information input. That is, evaluation information of rule information can only be input by a user who actually used the rule information, and it is not possible for a person who has not used the rule information to input evaluation information. Thereby, the credibility of the evaluation information can be improved.

なお、過去に使用したルール情報の一覧表示は必須ではなく、ユーザがルールID、ルール名称等によりルール情報を選択して、評価情報を入力してもよい。この場合も、評価管理部116は、実際に使用していないルール情報が選択され、評価情報が入力されることを許可しない。 Note that displaying a list of rule information used in the past is not essential, and the user may select rule information by rule ID, rule name, etc. and input evaluation information. In this case as well, the evaluation management unit 116 does not allow rule information that is not actually used to be selected and evaluation information to be input.

評価管理部116は、作成した評価情報を評価メモリ122に書き込むとともに、送信部106へ送る。評価情報の詳細は、図6を参照して後述する。評価メモリは評価情報を記憶する。 The evaluation management section 116 writes the created evaluation information into the evaluation memory 122 and sends it to the transmission section 106. Details of the evaluation information will be described later with reference to FIG. 6. The evaluation memory stores evaluation information.

なお、評価情報も入力装置102からテキスト情報として入力する代わりに、これらの情報を音声信号として入力し、音声信号を音声認識して評価情報を入力してもよい。 Note that instead of inputting the evaluation information as text information from the input device 102, this information may be input as an audio signal, and the evaluation information may be input by performing voice recognition on the audio signal.

送信部106は、評価管理部116から送信された評価情報をクラウドサーバ2に送信するまで記憶するメモリを含む。送信部106は、ユーザからの評価情報の送信要求を受け取ると、メモリ内の評価情報をネットワーク18を介してクラウドサーバ2へ送信してもよいし、一定数の評価情報がメモリに格納される毎に一定数の評価情報を送信してもよいし、メモリに記憶されている評価情報を一定時間毎に送信してもよい。ユーザは、入力装置102を用いて評価情報の送信要求を送信部106へ送ることができる。 The transmitter 106 includes a memory that stores the evaluation information transmitted from the evaluation manager 116 until it is transmitted to the cloud server 2. Upon receiving a request to send evaluation information from a user, the transmitting unit 106 may transmit the evaluation information in the memory to the cloud server 2 via the network 18, or a certain number of evaluation information may be stored in the memory. A fixed number of evaluation information may be transmitted every time, or evaluation information stored in memory may be transmitted at fixed time intervals. The user can use the input device 102 to send a request to send evaluation information to the sending unit 106 .

ルールメモリ28、履歴メモリ124及び評価メモリ122は、図1に示すように、3つのメモリから構成してもよいが、1つのメモリから構成してもよい。1つのメモリから構成する場合、1つのメモリの領域を3つに分割し、分割領域それぞれにルール情報、実行履歴情報及び評価情報を記憶してもよい。3つのメモリから構成する場合、独立した3つのメモリデバイスから構成してもよいし、1つのメモリデバイスとして使用される3つのメモリから構成してもよい。 The rule memory 28, history memory 124, and evaluation memory 122 may be composed of three memories, as shown in FIG. 1, or may be composed of one memory. When configured from one memory, the area of one memory may be divided into three areas, and rule information, execution history information, and evaluation information may be stored in each of the divided areas. When configured from three memories, it may be configured from three independent memory devices, or may be configured from three memories used as one memory device.

エッジコンピュータ6がルール情報を作成すると説明したが、エッジコンピュータ6ではなくクラウドサーバ2がルール情報を作成してもよい。さらに、エッジコンピュータ6でもクラウドサーバ2でもなく、ネットワーク18を介してエッジコンピュータ6と接続される他の電子装置(例えば、パーソナルコンピュータや別のエッジコンピュータ)がルール情報を作成し、当該ルール情報を管理する構成としてもよい。エッジコンピュータ6は、ルール情報を作成し、作成したルール情報をクラウドサーバ2へ送信する機能と、ルール情報をダウンロードしてルール情報を利用する機能を備える。しかし、他の電子装置は、ルール情報を作成する機能を備えるが、利用する機能を備えなくてもよい、すなわちルールエンジンを備えなくてもよい。他の電子装置でルール情報を作成する処理は、エッジコンピュータ6でルール情報を作成する処理と同様なので、この明細書では、エッジコンピュータ6でルール情報を作成する動作を説明する。 Although it has been described that the edge computer 6 creates the rule information, the cloud server 2 instead of the edge computer 6 may create the rule information. Furthermore, not the edge computer 6 or the cloud server 2, but another electronic device (for example, a personal computer or another edge computer) connected to the edge computer 6 via the network 18 creates the rule information and transmits the rule information. It may also be configured to be managed. The edge computer 6 has a function of creating rule information and transmitting the created rule information to the cloud server 2, and a function of downloading the rule information and using the rule information. However, other electronic devices may have the function of creating rule information but may not have the function of using it, that is, they may not have a rule engine. The process of creating rule information on another electronic device is similar to the process of creating rule information on the edge computer 6, so in this specification, the operation of creating rule information on the edge computer 6 will be described.

上記の説明は、ルール作成者とルール利用者が別の人である場合を想定したが、ルール作成者とルール利用者が同一人でもよい。この場合、エッジコンピュータ6で作成されたルール情報はクラウドサーバ2に登録しなくてもよい。しかし、上記の説明と同様に、ルール情報がエッジコンピュータ6からクラウドサーバ2に送信され、クラウドサーバ2に登録された後、クラウドサーバ2からエッジコンピュータ6にダウンロードされるようにしてもよい。 Although the above explanation assumes that the rule creator and the rule user are different people, the rule creator and the rule user may be the same person. In this case, the rule information created by the edge computer 6 does not need to be registered in the cloud server 2. However, similarly to the above explanation, the rule information may be transmitted from the edge computer 6 to the cloud server 2, registered in the cloud server 2, and then downloaded from the cloud server 2 to the edge computer 6.

ルールメモリ28に記憶されているルール情報は、原則自動的に利用されるが、ルールメモリ28に多数のルール情報が記憶されており、全てのルール情報を常時利用する必要が無い場合がある。例えば特定のルール情報は夜間は利用したくない場合がある。ルール管理部132は、入力装置102からのユーザの指示に基づき、ルールメモリ28に記憶されている多数のルール情報の中の利用するルール情報を有効なルール情報としてもよい。無効なルール情報は、利用されない。ユーザは、有効/無効の選択に限らず、有効とする場合、有効とする期間/時間帯等を指定することもできる。図2に示すデータ構造のルール情報にルールの有効/無効、有効とする期間/時間帯等の欄を追加してもよい。 Although the rule information stored in the rule memory 28 is automatically used in principle, a large amount of rule information is stored in the rule memory 28, and there are cases where it is not necessary to use all the rule information all the time. For example, you may not want to use specific rule information at night. Based on a user's instruction from the input device 102, the rule management unit 132 may select the rule information to be used from among the large number of pieces of rule information stored in the rule memory 28 as valid rule information. Invalid rule information is not used. The user is not limited to selecting valid/invalid, but when validating, the user can also specify the period/time zone etc. to be valid. Columns such as validity/invalidity of the rule, valid period/time zone, etc. may be added to the rule information in the data structure shown in FIG. 2.

図5は、実行履歴情報のデータ構造の一例を示す。実行履歴情報は、複数の項目を含む。実行履歴情報の項目の例は、これらに限られないが、実行日時、ルールID、ユーザ属性、利用デバイスID、利用位置ID等を含む。実行日時は、ルール情報の中のTHEN部が記載する処理の実行開始日時を示す。実行履歴情報の中の1行のデータが1回の処理の実行に対応する。 FIG. 5 shows an example of the data structure of execution history information. The execution history information includes multiple items. Examples of items of execution history information include, but are not limited to, execution date and time, rule ID, user attributes, usage device ID, usage location ID, and the like. The execution date and time indicates the execution start date and time of the process described in the THEN section in the rule information. One line of data in the execution history information corresponds to one process execution.

ユーザ属性は、ルールを利用するユーザの属性を示すものであり、複数の項目からなる。ユーザ属性の項目の例は、これらに限定されないが、ユーザID、氏名、生年月日、性別、国籍、住所、職業等を含む。これらの項目は、エッジコンピュータ6におけるユーザ登録時に設定され得る。ユーザ属性は、後述するルール推奨処理において利用され得る。ユーザ属性は、ルール情報の検索においても、キーワードとして利用され得る。 The user attribute indicates the attribute of the user who uses the rule, and consists of a plurality of items. Examples of user attribute items include, but are not limited to, user ID, name, date of birth, gender, nationality, address, occupation, and the like. These items can be set at the time of user registration on the edge computer 6. User attributes can be used in the rule recommendation process described below. User attributes can also be used as keywords in searching for rule information.

利用デバイスIDは、ルール情報に基づいて特定の処理を実行させるエッジコンピュータ6を識別するものであり、エッジコンピュータ6のログイン時に取得され得る。利用位置IDは、特定の処理を実行させるエッジコンピュータ6の位置を識別するものである。利用位置IDは、スマートフォンのようにエッジコンピュータ6がGPS機能を備えている場合は、GPS機能から得られる。GPS機能を備えていない場合は、利用位置IDは、エッジコンピュータ6の初期設定時に設定された設置場所情報から得られる。図5に示す実行履歴情報は一つのエッジコンピュータ6が作成するので、ユーザID(ユーザ属性も)、利用デバイスIDはそれぞれ同じユーザ、同じ利用デバイスを示す。利用デバイスIDと利用位置IDも、後述するルール推奨処理において利用され得るし、ルール情報の検索においても、キーワードとして利用され得る。 The usage device ID identifies the edge computer 6 that executes a specific process based on the rule information, and can be obtained when the edge computer 6 logs in. The usage location ID identifies the location of the edge computer 6 that executes a specific process. If the edge computer 6 is equipped with a GPS function, such as a smartphone, the usage location ID can be obtained from the GPS function. If the edge computer 6 does not have a GPS function, the usage location ID is obtained from the installation location information set at the time of initial setting of the edge computer 6. Since the execution history information shown in FIG. 5 is created by one edge computer 6, the user ID (also the user attribute) and the used device ID indicate the same user and the same used device, respectively. The usage device ID and the usage location ID can also be used in the rule recommendation process described later, and can also be used as keywords in the search for rule information.

多数のエッジコンピュータ6からクラウドサーバ2に多数の実行履歴情報が送信されると、異なるユーザID、異なる利用デバイスIDの多数の実行履歴情報がクラウドサーバ2のサーバメモリ38に蓄積される。ユーザ属性と利用デバイスIDと利用位置IDは、クラウドサーバ2がランキング表を表示する際、ユーザにより指定されると、指定された項目に基づいて絞り込まれたランキング表の表示が可能となる。あるいは、ユーザがルール公開サイトが持っているルール情報を検索したい時に、ユーザ属性と利用デバイスIDと利用位置IDを検索キーワードとして使用し得る。 When a large amount of execution history information is transmitted from a large number of edge computers 6 to the cloud server 2, a large amount of execution history information with different user IDs and different usage device IDs is accumulated in the server memory 38 of the cloud server 2. When the user attribute, usage device ID, and usage location ID are specified by the user when the cloud server 2 displays a ranking table, it becomes possible to display a ranking table narrowed down based on the specified items. Alternatively, when a user wants to search for rule information held by a rule publication site, the user attribute, usage device ID, and usage location ID can be used as search keywords.

ユーザは、自分が利用したルール情報のコメント、評価を入力することができる。コメント、評価はルール情報全体に関するルールコメント、ルール評価でも良いし、IFモジュール8Aに関するIFモジュールコメント、IF評価でもよいし、THENモジュール8Bに関するTHENモジュールコメント、TNENモジュール評価でもよい。ルールコメントの一例は、「このルールは○○という課題に対する良い解決策を実現している」である。IFモジュールコメントの例は、「このIFモジュールは精度が高い」である。THENモジュールコメントの例は、「このTHENモジュールは寿命が長い」である。評価は数値であり、例えば最大値が5.0で、0.1単位で設定可能である。数値は、評価が高い程、大きい。なお、コメントと評価のいずれか一方の入力を省略してもよい。 Users can input comments and evaluations of the rule information they have used. The comments and evaluations may be rule comments and rule evaluations regarding the entire rule information, IF module comments and IF evaluations regarding the IF module 8A, and THEN module comments and TNEN module evaluations regarding the THEN module 8B. An example of a rule comment is "This rule realizes a good solution to the problem XX." An example of an IF module comment is "This IF module has high accuracy." An example of a THEN module comment is "This THEN module has a long life." The evaluation is a numerical value, for example, the maximum value is 5.0 and can be set in units of 0.1. The higher the evaluation, the larger the value. Note that inputting either the comment or the evaluation may be omitted.

評価管理部116は、図6に示すデータ構造の評価情報を作成する。評価情報は、複数の項目からなる。評価情報の項目は、これらに限定されないが、一例として、ルールID、ユーザID、ルールコメント、ルール評価、IFモジュールコメント、IFモジュール評価、THENモジュールコメント、THENモジュール評価等を含む。コメントはテキストであり、評価は数値である。ルールコメント、ルール評価、IFモジュールコメント、IFモジュール評価、THENモジュールコメント、THENモジュール評価等は、入力装置102を介するユーザからの入力に基づいて評価管理部116が作成する。なお、ルール評価、IFモジュール評価及びTHENモジュール評価等はユーザが入力するのではなく、ルールコメント、IFモジュールコメント及びTHENモジュールコメントに含まれる文字をAIが解析して、評価を決定してもよい。 The evaluation management unit 116 creates evaluation information having the data structure shown in FIG. The evaluation information consists of multiple items. Items of evaluation information include, but are not limited to, for example, rule ID, user ID, rule comment, rule evaluation, IF module comment, IF module evaluation, THEN module comment, THEN module evaluation, and the like. Comments are text and ratings are numerical values. Rule comments, rule evaluations, IF module comments, IF module evaluations, THEN module comments, THEN module evaluations, etc. are created by the evaluation management unit 116 based on input from the user via the input device 102. Note that the rule evaluation, IF module evaluation, THEN module evaluation, etc. may not be input by the user, but the evaluation may be determined by AI analyzing the characters included in the rule comment, IF module comment, and THEN module comment. .

図6に示す評価情報は、一つのエッジコンピュータ6が作成するので、ユーザIDは同じユーザを示す。評価情報の各項目は、後述するルール推奨処理において利用され得る。評価情報の各項目は、ルール情報の検索においても、キーワードとして利用され得る。 Since the evaluation information shown in FIG. 6 is created by one edge computer 6, the user IDs indicate the same user. Each item of evaluation information can be used in the rule recommendation process described later. Each item of evaluation information can also be used as a keyword in a search for rule information.

評価管理部116は、評価メモリ122に記憶されている評価情報を送信部106を介してクラウドサーバ2へ送信する。評価管理部116は、ユーザから送信が指示されると、評価情報をクラウドサーバ2へ送信してもよいし、一定数の評価情報が評価メモリ122に格納される毎に一定数の評価情報をクラウドサーバ2へ送信してもよいし、評価メモリ122に記憶されている評価情報を一定時間毎にクラウドサーバ2へ送信してもよい。なお、同一ユーザであれば評価情報の入力は様々な機器を用いて行われ、クラウドサーバ2に当該評価情報が送信されてもよい。例えば、エッジコンピュータ6がスマートフォンであるとした場合、別機器(例えばパーソナルコンピュータ)を用いて入力された評価情報が、クラウドサーバ2に送信されてもよい。 The evaluation management unit 116 transmits the evaluation information stored in the evaluation memory 122 to the cloud server 2 via the transmission unit 106. The evaluation management unit 116 may transmit the evaluation information to the cloud server 2 when instructed to do so by the user, or may transmit a certain number of evaluation information each time a certain number of evaluation information is stored in the evaluation memory 122. It may be transmitted to the cloud server 2, or the evaluation information stored in the evaluation memory 122 may be transmitted to the cloud server 2 at regular intervals. Note that if the user is the same user, the evaluation information may be input using various devices, and the evaluation information may be transmitted to the cloud server 2. For example, if the edge computer 6 is a smartphone, evaluation information input using another device (for example, a personal computer) may be transmitted to the cloud server 2.

多数のエッジコンピュータ6からクラウドサーバ2に多数の評価情報が送信されると、同じルールに関する異なるユーザによる評価情報がクラウドサーバ2に蓄積される。ルール作成者は、自分が作成したルール情報の評価情報を閲覧することができるようになっている。 When a large number of pieces of evaluation information are transmitted from a large number of edge computers 6 to the cloud server 2, evaluation information about the same rule by different users is accumulated in the cloud server 2. Rule creators can view evaluation information of the rule information they created.

(クラウドサーバ)
図7は、IoTシステム内のクラウドサーバ2の構成の一例を示す。
(Cloud server)
FIG. 7 shows an example of the configuration of the cloud server 2 in the IoT system.

クラウドサーバ2は、第1受信部202、ルール書き込み部204、履歴書き込み部206、評価書き込み部208、ランキング処理部210、サーバメモリ38、第2受信部232、要求判定部234、ルール選択部236、ルール一覧画面作成部238、送信部242を有する。 The cloud server 2 includes a first receiving section 202, a rule writing section 204, a history writing section 206, an evaluation writing section 208, a ranking processing section 210, a server memory 38, a second receiving section 232, a request determination section 234, and a rule selection section 236. , a rule list screen creation section 238, and a transmission section 242.

サーバメモリ38は、ルールメモリ222、履歴メモリ224、評価メモリ226、ランキングメモリ228を有する。 The server memory 38 includes a rule memory 222, a history memory 224, an evaluation memory 226, and a ranking memory 228.

ルールメモリ222は、ルール情報を記憶する。履歴メモリ224は、実行履歴情報を記憶する。評価メモリ226は、評価情報を記憶する。ランキングメモリ228は、ランキング情報を記憶する。ランキング情報は、第1利用回数ランキング情報、第2利用回数ランキング情報、第3利用回数ランキング情報を含む。第1利用回数ランキング情報、第2利用回数ランキング情報、第3利用回数ランキング情報は後述する。第1受信部202は、クラウドサーバ2に接続可能な全てのエッジコンピュータ6からルール情報、実行履歴情報及び評価情報を受信する。 Rule memory 222 stores rule information. History memory 224 stores execution history information. Evaluation memory 226 stores evaluation information. Ranking memory 228 stores ranking information. The ranking information includes first usage frequency ranking information, second usage frequency ranking information, and third usage frequency ranking information. The first usage frequency ranking information, the second usage frequency ranking information, and the third usage frequency ranking information will be described later. The first receiving unit 202 receives rule information, execution history information, and evaluation information from all edge computers 6 connectable to the cloud server 2.

クラウドサーバ2の動作は、ルール登録時の動作とルール配信時の動作を含む。ルール登録とは、全てのエッジコンピュータ6により作成され、エッジコンピュータ6からクラウドサーバ2に送信されたルール情報を受信し、ルールメモリ222に記憶させることを含む。エッジコンピュータ6ではなくクラウドサーバ2がルール情報を作成する場合、ルール登録は、クラウドサーバ2で作成したルール情報をルールメモリ222に書き込むことを含む。ルール登録は、エッジコンピュータ6からの指示により実行される。 The operations of the cloud server 2 include operations at the time of rule registration and operations at the time of rule distribution. Rule registration includes receiving rule information created by all the edge computers 6 and transmitted from the edge computers 6 to the cloud server 2, and storing it in the rule memory 222. When the cloud server 2 rather than the edge computer 6 creates the rule information, rule registration includes writing the rule information created by the cloud server 2 into the rule memory 222. Rule registration is executed according to instructions from the edge computer 6.

ルール書き込み部204は、第1受信部202で受信した全てのエッジコンピュータ6からのルール情報をルールメモリ222に書き込む。ルール書き込み部204は、ルール情報を受信すると、図示しない認証機関へルール情報を転送し、認証を依頼してもよい。認証機関は、IF部に記載の条件が成立した場合、THEN部に記載のTHENモジュールが処理を正しく実行できるか否かを判定する。ルール書き込み部204は、認証機関の認証が得られたルール情報をルールメモリ222に書き込んでもよい。 The rule writing unit 204 writes the rule information from all the edge computers 6 received by the first receiving unit 202 into the rule memory 222. When the rule writing unit 204 receives the rule information, it may transfer the rule information to a certification authority (not shown) and request authentication. When the conditions described in the IF section are satisfied, the certification authority determines whether the THEN module described in the THEN section can correctly execute the process. The rule writing unit 204 may write rule information that has been certified by a certification authority into the rule memory 222.

履歴書き込み部206は、第1受信部202で受信した全てのエッジコンピュータ6からの実行履歴情報を履歴メモリ224に書き込む。評価書き込み部208は、第1受信部202で受信した全てのエッジコンピュータ6からの評価情報を評価メモリ226に書き込む。 The history writing unit 206 writes the execution history information from all the edge computers 6 received by the first receiving unit 202 into the history memory 224. The evaluation writing unit 208 writes the evaluation information from all the edge computers 6 received by the first receiving unit 202 into the evaluation memory 226.

ランキング処理部210は、履歴メモリ224に記憶されている実行履歴情報内の実行日時情報をルール毎に集計し、ルール毎の利用回数を算出し、利用回数ランキング情報をランキングメモリ228に書き込む。ランキング処理部210は、評価メモリ226に記憶されている評価情報をルール毎に集計し、ルール毎の総合評価を算出し、総合評価ランキング情報をランキングメモリ228に書き込む。集計の一例は、平均値を算出することを含む。ランキング処理部210の詳細は後述する。 The ranking processing unit 210 aggregates the execution date and time information in the execution history information stored in the history memory 224 for each rule, calculates the number of uses for each rule, and writes the usage number ranking information into the ranking memory 228. The ranking processing unit 210 aggregates the evaluation information stored in the evaluation memory 226 for each rule, calculates an overall evaluation for each rule, and writes the overall evaluation ranking information into the ranking memory 228. An example of aggregation includes calculating an average value. Details of the ranking processing section 210 will be described later.

ルールメモリ222、履歴メモリ224、評価メモリ226及びランキングメモリ228を1つのメモリから構成する場合、1つのメモリの領域を4つに分割し、分割領域それぞれにルール情報、実行履歴情報、評価情報及びランキング情報を記憶してもよい。しかし、ルールメモリ222、履歴メモリ224、評価メモリ226及びランキングメモリ228は4つのメモリから構成してもよい。4つのメモリから構成する場合、独立した4つのメモリから構成してもよい。ルールメモリ222、履歴メモリ224、評価メモリ226及びランキングメモリ228は、1つのメモリとして使用される2つ以上のメモリから構成してもよい。 When the rule memory 222, history memory 224, evaluation memory 226, and ranking memory 228 are configured from one memory, one memory area is divided into four areas, and each divided area stores rule information, execution history information, evaluation information, and Ranking information may also be stored. However, the rule memory 222, history memory 224, evaluation memory 226, and ranking memory 228 may be composed of four memories. When configured from four memories, it may be configured from four independent memories. Rule memory 222, history memory 224, evaluation memory 226, and ranking memory 228 may be composed of two or more memories used as one memory.

第2受信部232は、エッジコンピュータ6からの要求信号を受信する。要求信号は、ルール一覧画面の表示を要求する表示要求信号であるか又は選択したルール情報のダウンロードを要求するダウンロード要求信号である。ダウンロード要求信号は、ルール情報のダウンロードを要求する旨の情報とダウンロード対象のルール情報を特定する情報を有する。 The second receiving unit 232 receives the request signal from the edge computer 6. The request signal is a display request signal requesting display of a rule list screen, or a download request signal requesting downloading of the selected rule information. The download request signal includes information indicating that a download of the rule information is requested and information specifying the rule information to be downloaded.

要求判定部234は、第2受信部232で受信した要求信号が、表示要求信号である場合は要求信号をルール一覧画面作成部238に送信し、ダウンロード要求信号である場合は要求信号をルール選択部236に送信する。 If the request signal received by the second receiving unit 232 is a display request signal, the request determination unit 234 transmits the request signal to the rule list screen creation unit 238, and if the request signal is a download request signal, the request signal is used for rule selection. 236.

ルール一覧画面作成部238は、要求判定部234から表示要求信号を受信すると、要求信号で指定された推奨度情報に基づくランキング情報をランキングメモリ228から読み出し、ランキング情報に基づくランキング表をルール一覧画面として作成し、ルール一覧画面情報を送信部242へ送る。すなわち、ランキング処理部210とルール一覧画面作成部238は連携して、推奨度情報に基づいて複数のルール情報の少なくとも1つのルール情報を表示する表示画面を生成する。そのため、ランキング処理部210とルール一覧画面作成部238は表示制御部と称されてもよい。なお、表示制御部はサーバメモリ38も含んでもよい。 When the rule list screen creation unit 238 receives the display request signal from the request determination unit 234, it reads ranking information based on the recommendation level information specified in the request signal from the ranking memory 228, and creates a ranking table based on the ranking information on the rule list screen. , and sends the rule list screen information to the transmitter 242. That is, the ranking processing unit 210 and the rule list screen creation unit 238 cooperate to generate a display screen that displays at least one rule information among the plurality of rule information based on the recommendation level information. Therefore, the ranking processing section 210 and the rule list screen creation section 238 may be referred to as a display control section. Note that the display control unit may also include the server memory 38.

ルール選択部236は、要求判定部234からダウンロード要求信号を受信すると、ダウンロード対象のルール情報をルールメモリ222から読み出し、ルール情報を送信部242へ送る。 When the rule selection unit 236 receives the download request signal from the request determination unit 234 , it reads the rule information to be downloaded from the rule memory 222 and sends the rule information to the transmission unit 242 .

送信部242は、要求信号の送信元であるエッジコンピュータ6へルール一覧画面情報又はルール情報を送信する。 The transmitter 242 transmits the rule list screen information or the rule information to the edge computer 6 that is the source of the request signal.

これにより、ルール一覧画面の表示を要求したエッジコンピュータ6の表示装置104にルール一覧画面が表示される。その後、ルール一覧画面の中の少なくとも一つのルール情報が選択されると、選択されたルール情報がエッジコンピュータ6にダウンロードされる。 As a result, the rule list screen is displayed on the display device 104 of the edge computer 6 that requested the display of the rule list screen. Thereafter, when at least one piece of rule information in the rule list screen is selected, the selected rule information is downloaded to the edge computer 6.

なお、エッジコンピュータ6の機能とクラウドサーバ2の機能の分担は、図1と図7に示した例に限定されない。図1に示したエッジコンピュータ6の機能の少なくとも一部をクラウドサーバ2で実現してもよい。図7に示したクラウドサーバ2の機能の少なくとも一部をエッジコンピュータ6で実現してもよい。さらに、両者の機能を含む単一の電子装置を設けてもよい。例えば、図1におけるマイクロサービス10A,10B、アプリケーション20、ルールメモリ28、送信部106、受信部108、評価メモリ122、及び履歴メモリ124に相当する構成をクラウドサーバ2に実装してもよい。この場合、クラウドサーバ2側で、IFモジュール8Aが検出した状態がルールメモリ28に記憶されている有効なルール情報の中のいずれかのルール情報のIF部に記載の特定の状態と一致するか否かを判定し、一致した場合、当該ルール情報のTHEN部に記載の処理をTHENモジュール8Bに実行させるための実行指示信号を、THENモジュール8Bに対応するマイクロサービス10Bに送信する処理は行う。 Note that the division of functions between the edge computer 6 and the cloud server 2 is not limited to the examples shown in FIGS. 1 and 7. At least a part of the functions of the edge computer 6 shown in FIG. 1 may be realized by the cloud server 2. At least a part of the functions of the cloud server 2 shown in FIG. 7 may be realized by the edge computer 6. Furthermore, a single electronic device may be provided that includes both functions. For example, a configuration corresponding to the microservices 10A, 10B, application 20, rule memory 28, transmitter 106, receiver 108, evaluation memory 122, and history memory 124 in FIG. 1 may be implemented in the cloud server 2. In this case, on the cloud server 2 side, whether the state detected by the IF module 8A matches the specific state described in the IF part of any rule information among the valid rule information stored in the rule memory 28? If they match, a process is performed in which an execution instruction signal for causing the THEN module 8B to execute the process described in the THEN section of the rule information is sent to the microservice 10B corresponding to the THEN module 8B.

(ルール一覧表示)
ランキング処理部210はルール情報毎の推奨度情報を算出して、ランキングメモリ228に書き込む。ランキング処理部210は、複数のルール情報を推奨度情報に基づいてその値の大きい順に並べてランキング情報を作成する。
(Rule list display)
The ranking processing unit 210 calculates recommendation degree information for each rule information and writes it into the ranking memory 228. The ranking processing unit 210 creates ranking information by arranging a plurality of pieces of rule information in descending order of their values based on recommendation degree information.

ランキング処理部210は、集計タイミングになると、履歴メモリ224に記憶されている全てのエッジコンピュータ6からの実行履歴情報をルールID毎に集計して、ルール情報毎の累計の利用回数と一定期間内の利用回数を算出する。集計タイミングは、履歴メモリ224に実行履歴情報が書き込まれる毎でもよいし、一定期間毎でもよい。 At the aggregation timing, the ranking processing unit 210 aggregates the execution history information from all the edge computers 6 stored in the history memory 224 for each rule ID, and calculates the cumulative number of uses for each rule information and the number of uses within a certain period of time. Calculate the number of uses. The aggregation timing may be every time execution history information is written to the history memory 224, or every fixed period.

ランキング処理部210は、ルールID、累計の利用回数及び一定期間内の利用回数を対応付け、複数のルール情報を利用回数の多い順に並べて第1利用回数ランキング情報を算出し、第1利用回数ランキング情報をランキングメモリ228に書き込む。あるいは、集計タイミングは、ランキング情報が要求された時でもよい。すなわち、ランキング処理部210は、ランキング情報を予め算出し、ランキングメモリ228に書き込むことなく、要求された時にランキング情報を算出してもよい。 The ranking processing unit 210 associates the rule ID, the cumulative number of uses, and the number of uses within a certain period, arranges the plurality of rule information in descending order of the number of uses, calculates first usage number ranking information, and calculates the first usage number ranking. Write the information to ranking memory 228. Alternatively, the aggregation timing may be when ranking information is requested. That is, the ranking processing unit 210 may calculate the ranking information in advance and calculate the ranking information when requested, without writing it into the ranking memory 228.

図8は、第1利用回数ランキング情報の一例を示す。第1利用回数ランキング情報では、複数のルール情報が累計の利用回数の多い順に並べられているが、一定期間内の利用回数の多い順に並べられていてもよい。なお、ランキング処理部210は、ルールID、累計の利用回数及び一定期間内の利用回数を対応付けるだけで、複数のルール情報を利用回数の順に並べ直さなくてもよい。ルール一覧画面作成部238が一覧画面を作成する際に、ランキングメモリ228から読み出したランキング情報において複数のルール情報を利用回数の多い順に並べ直してから一覧画面を作成してもよい。 FIG. 8 shows an example of first usage frequency ranking information. In the first use frequency ranking information, a plurality of pieces of rule information are arranged in descending order of the total number of uses, but may be arranged in order of the largest number of uses within a certain period. Note that the ranking processing unit 210 does not need to rearrange the plural pieces of rule information in the order of the number of uses, just by associating the rule ID, the total number of uses, and the number of uses within a certain period of time. When the rule list screen creation unit 238 creates the list screen, the list screen may be created after rearranging the plural pieces of rule information in the ranking information read from the ranking memory 228 in descending order of usage frequency.

利用回数に関する第1ルール一覧画面の表示要求がエッジコンピュータ6からクラウドサーバ2に送信されると、ルール一覧画面作成部238は、ランキングメモリ228から、例えば図8に示す第1利用回数ランキング情報を読み出し、第1利用回数ランキング情報に基づき第1利用回数ランキング表信号を作成し、第1利用回数ランキング表信号をルール一覧画面信号としてエッジコンピュータ6に送信する。 When a request to display the first rule list screen regarding the number of uses is sent from the edge computer 6 to the cloud server 2, the rule list screen creation unit 238 generates the first use number ranking information shown in FIG. 8 from the ranking memory 228, for example. A first usage ranking table signal is created based on the first usage ranking information, and the first usage ranking table signal is sent to the edge computer 6 as a rule list screen signal.

これにより、エッジコンピュータ6の表示装置104は、例えば図9に示す第1利用回数ランキング表を表示する。第1利用回数ランキング表では、複数のルール情報(各ルール情報はルール名と利用回数からなる)が累計の利用回数の多い順に並べられているが、一定期間内の利用回数の多い順に並べられてもよい。累計の利用回数のランキング表を表示するか又は一定期間内の利用回数のランキング表を表示するかは、エッジコンピュータ6から送信される第1ルール一覧画面の表示要求で指定可能である。 As a result, the display device 104 of the edge computer 6 displays, for example, the first usage frequency ranking table shown in FIG. In the first usage frequency ranking table, multiple pieces of rule information (each rule information consists of a rule name and the number of usages) are arranged in descending order of the total number of usages, but they are arranged in descending order of the number of usages within a certain period of time. You can. Whether to display a ranking table of the total number of uses or a ranking table of the number of uses within a certain period can be specified by a display request for the first rule list screen transmitted from the edge computer 6.

ランキング処理部210は、ルール情報毎の利用回数を算出するだけではなく、ユーザ毎の利用回数を算出してもよい。ユーザは、図9に示す第1利用回数ランキング表からは全てのユーザについての利用回数が分かるが、特定のユーザについての利用回数は分からない。ユーザは、自分が提供したいサービスと似たようなサービスを提供しているユーザが多数回使用したルール情報を知ることができれば、ルール情報を簡単に又は迅速に選択することが可能となる。特定のユーザについての利用回数を算出するために、ランキング処理部210は、集計タイミングになると、履歴メモリ224に記憶されている実行履歴情報をルールIDとユーザIDの組み合わせ毎に集計して、ルールIDとユーザIDの組み合わせ毎の累計の利用回数と一定期間内の利用回数を算出する。 The ranking processing unit 210 may calculate not only the number of uses for each rule information, but also the number of uses for each user. The user knows the number of uses for all users from the first usage frequency ranking table shown in FIG. 9, but does not know the number of uses for a specific user. If a user can know the rule information that has been used many times by users who provide services similar to the service he or she wants to provide, he or she can easily or quickly select rule information. In order to calculate the number of usages for a specific user, the ranking processing unit 210 aggregates the execution history information stored in the history memory 224 for each combination of rule ID and user ID at the aggregation timing. The cumulative number of uses and the number of uses within a certain period are calculated for each combination of ID and user ID.

ランキング処理部210は、ルールID、ユーザID、累計の利用回数及び一定期間内の利用回数を対応付ける第2利用回数ランキング情報を求め、第2利用回数ランキング情報をランキングメモリ228に書き込む。 The ranking processing unit 210 obtains second usage frequency ranking information that associates the rule ID, the user ID, the cumulative usage frequency, and the usage frequency within a certain period of time, and writes the second usage frequency ranking information into the ranking memory 228.

図10は、第2利用回数ランキング情報の一例を示す。エッジコンピュータ6は、第2利用回数ランキング情報に基づいて特定のユーザについての第2利用回数ランキング表を表示することができる。第2利用回数ランキング表は、図9に示す第1利用回数ランキング表と略同じであるが、利用回数は特定のユーザについての利用回数である点が異なる。第2利用回数ランキング表中のルール情報の並び順は、累計の利用回数の多い順でも一定期間内の利用回数の多い順でもよい。どのユーザIDのユーザについて累計の利用回数のランキング表を表示するか又は一定期間内の利用回数のランキング表を表示するかは、エッジコンピュータ6から送信されるルール一覧画面の表示要求で指定可能である。 FIG. 10 shows an example of the second usage frequency ranking information. The edge computer 6 can display a second usage frequency ranking table for a specific user based on the second usage frequency ranking information. The second usage frequency ranking table is substantially the same as the first usage frequency ranking table shown in FIG. 9, except that the usage frequency is the usage frequency for a specific user. The order of the rule information in the second usage frequency ranking table may be in order of the highest cumulative number of usages or in order of the highest number of usages within a certain period of time. Whether to display a ranking table of the cumulative number of uses or a ranking table of the number of uses within a certain period for which user ID is to be displayed can be specified by a request to display the rule list screen sent from the edge computer 6. be.

さらに、ランキング処理部210は、ルール属性の項目(対象者、シーン、テーマ及び課題)毎の利用回数を算出してもよい。ルール作成者は、ルール情報がどのようなサービスを提供するかを示すルール属性を設定可能である。同じルール情報でも、ルール属性の項目が異なり、利用される状況が異なると、効果が異なることがある。IoTシステムにより提供したいサービスに適したルール情報を見つけるためには、ルール属性の項目を指定し、その項目についての利用回数が多いルール情報を見つけることが有用である。 Furthermore, the ranking processing unit 210 may calculate the number of uses for each rule attribute item (target person, scene, theme, and task). A rule creator can set a rule attribute that indicates what kind of service the rule information provides. Even if the rule information is the same, the effects may vary depending on the rule attribute items and the usage situation. In order to find rule information suitable for a service desired to be provided by an IoT system, it is useful to specify a rule attribute item and find rule information that is used most often for that item.

ルール属性の項目についての利用回数を算出するために、ランキング処理部210は、集計タイミングになると、履歴メモリ224に記憶されている実行履歴情報をルールIDとルール属性の各項目の組み合わせ毎に集計して、ルールIDとルール属性の各項目の組み合わせ毎の累計の利用回数と一定期間内の利用回数を算出する。ランキング処理部210は、第3利用回数ランキング情報を算出し、第3利用回数ランキング情報をランキングメモリ228に書き込む。第3利用回数ランキング情報は、ルールIDと累計の利用回数とが対応付けられた情報、ルール属性の各項目と累計の利用回数とが対応付けられた情報、ルールIDと一定期間内の利用回数とが対応付けられた情報、ルール属性の各項目と一定期間内の利用回数とが対応付けられた情報のいずれかを少なくとも含む。 In order to calculate the number of uses for the rule attribute item, the ranking processing unit 210 aggregates the execution history information stored in the history memory 224 for each combination of rule ID and rule attribute item at the aggregation timing. Then, the cumulative number of uses and the number of uses within a certain period are calculated for each combination of rule ID and rule attribute. The ranking processing unit 210 calculates third usage frequency ranking information and writes the third usage frequency ranking information into the ranking memory 228. The third usage frequency ranking information includes information that associates a rule ID with the cumulative number of uses, information that associates each rule attribute item with the cumulative number of uses, and rule ID and the number of uses within a certain period of time. and information that associates each item of the rule attribute with the number of uses within a certain period of time.

図11は、第3利用回数ランキング情報の一例を示す。なお、ルール属性の項目は、対象者、シーン、テーマ及び課題を全て含む必要は無く、これらのうちの少なくとも一つを含めばよい。 FIG. 11 shows an example of the third usage frequency ranking information. Note that the rule attribute items do not need to include all of the target person, scene, theme, and task, and may include at least one of these.

エッジコンピュータ6は、図11に示す第3利用回数ランキング情報に基づいて図12に示す第3利用回数ランキング表を表示することができる。図12に示す利用回数ランキング表では、ルール属性の項目としてシーンが選択され、複数のルール情報(各ルール情報はルール名、利用回数、ルール属性の他の項目からなる)が特定のシーンIDについての累計の利用回数の多い順に並べられているが、あるシーンについて一定期間内の利用回数の多い順に並べられてもよい。また、ルール属性の項目としてシーン以外の項目を選んでもよい。さらに、ルール属性の複数の項目を選択し、複数の項目の組み合わせについての利用回数を算出してもよい。ルール属性のどの項目(複数でもよい)のどのIDについて累計の利用回数のランキング表を表示するか又は一定期間内の利用回数のランキング表を表示するかは、エッジコンピュータ6から送信されるルール一覧画面の表示要求で指定可能である。 The edge computer 6 can display a third usage frequency ranking table shown in FIG. 12 based on the third usage frequency ranking information shown in FIG. 11. In the usage frequency ranking table shown in FIG. 12, a scene is selected as a rule attribute item, and multiple pieces of rule information (each rule information consists of a rule name, usage frequency, and other items of rule attributes) are displayed for a specific scene ID. Although the scenes are arranged in descending order of the cumulative number of times they have been used, they may be arranged in descending order of the number of times they have been used within a certain period of time. Furthermore, items other than scenes may be selected as rule attribute items. Furthermore, a plurality of items of rule attributes may be selected and the number of uses for a combination of the plurality of items may be calculated. The list of rules sent from the edge computer 6 determines whether to display a ranking table of the cumulative number of uses or a ranking table of the number of uses within a certain period for which ID of which item (or items may be plural) of the rule attributes. It can be specified in the screen display request.

図12に示す利用回数ランキング表の各ルール情報の表示領域において、対象者、テーマ又は課題がクリックされると、特定のシーンについての利用回数ランキング表は、クリックされた特定の対象者、テーマ又は課題についての利用回数ランキング表に変更される。 When a target person, theme, or task is clicked in the display area of each rule information of the usage frequency ranking table shown in FIG. 12, the usage frequency ranking table for a specific scene is It will be changed to a ranking table of the number of times the assignment has been used.

図11に示す第3利用回数ランキング情報においても、図10に示す第2利用回数ランキング情報のように、ユーザIDも含めて、ルールIDとユーザIDとルール属性の各項目の組み合わせ毎に利用回数を算出してもよい。 Also in the third usage frequency ranking information shown in FIG. 11, like the second usage frequency ranking information shown in FIG. may be calculated.

ランキング処理部210が算出する推奨度情報の他の例は、評価に関する推奨度情報である。評価は、ルール評価、IFモジュール評価及びTHENモジュール評価を含む。図6に示すように、ルール評価、IFモジュール評価及びTHENモジュール評価は評価情報に含まれる。 Another example of the recommendation degree information calculated by the ranking processing unit 210 is recommendation degree information regarding evaluation. The evaluation includes rule evaluation, IF module evaluation, and THEN module evaluation. As shown in FIG. 6, the rule evaluation, IF module evaluation, and THEN module evaluation are included in the evaluation information.

ランキング処理部210は、集計タイミングになると、評価メモリ226に記憶されている評価情報のルール評価、IFモジュール評価及びTHENモジュール評価をルールID毎に集計して、ルール情報毎のルール評価集計値、IFモジュール評価集計値、THENモジュール評価集計値を算出する。集計値は、評価の平均値、評価の最大値と最小値のペア等を含む。集計タイミングは、評価メモリ226に評価情報が書き込まれる毎でもよいし、一定期間毎でもよい。 At the aggregation timing, the ranking processing unit 210 aggregates the rule evaluation, IF module evaluation, and THEN module evaluation of the evaluation information stored in the evaluation memory 226 for each rule ID, and calculates the rule evaluation aggregate value for each rule information, Calculate the IF module evaluation total value and THEN module evaluation total value. The aggregate value includes an average value of evaluations, a pair of maximum and minimum evaluation values, and the like. The aggregation timing may be every time the evaluation information is written to the evaluation memory 226, or every fixed period.

ランキング処理部210は、ルールID、ルール評価集計値、IFモジュール評価集計値及びTHENモジュール評価集計値を対応付ける評価ランキング情報を算出し、評価ランキング情報をランキングメモリ228に書き込む。図13は、評価ランキング情報の一例を示す。なお、評価集計値は、ルール評価集計値、IFモジュール評価集計値及びTHENモジュール評価集計値を全て含む必要は無く、これらのうちの少なくとも一つを含めばよい。図13に示す評価ランキング情報では、ルールIDがルール評価集計値の大きい順に並べられているが、IFモジュール評価集計値又はTHENモジュール評価集計値の大きい順に並べられていてもよい。 The ranking processing unit 210 calculates evaluation ranking information that associates the rule ID, the rule evaluation aggregate value, the IF module evaluation aggregate value, and the THEN module evaluation aggregate value, and writes the evaluation ranking information into the ranking memory 228. FIG. 13 shows an example of evaluation ranking information. Note that the evaluation aggregate value does not need to include all of the rule evaluation aggregate value, IF module evaluation aggregate value, and THEN module evaluation aggregate value, and may include at least one of these. In the evaluation ranking information shown in FIG. 13, the rule IDs are arranged in descending order of rule evaluation aggregate value, but they may also be arranged in descending order of IF module evaluation aggregate value or THEN module evaluation aggregate value.

エッジコンピュータ6は、図13に示す評価ランキング情報に基づいて、図14に示すルール評価ランキング表を表示することができる。図14に示すルール評価ランキング表では、複数のルール情報(各ルール情報は、ルール名、ルール評価集計値、IFモジュール評価集計値、THENモジュール評価集計値からなる)がルール評価集計値の大きい順に並べられているが、IFモジュール評価集計値又はTHENモジュール評価集計値の大きい順に並べられてもよい。ルール評価、IFモジュール評価及びTHENモジュール評価のいずれの大きい順のランキング表を表示するかは、エッジコンピュータ6から送信されるルール一覧画面の表示要求で指定可能である。 The edge computer 6 can display the rule evaluation ranking table shown in FIG. 14 based on the evaluation ranking information shown in FIG. 13. In the rule evaluation ranking table shown in FIG. 14, a plurality of pieces of rule information (each rule information consists of a rule name, a rule evaluation aggregate value, an IF module evaluation aggregate value, and a THEN module evaluation aggregate value) are arranged in descending order of rule evaluation aggregate value. Although they are arranged in order, they may be arranged in descending order of the IF module evaluation total value or the THEN module evaluation total value. Which of the ranking tables of rule evaluation, IF module evaluation, and THEN module evaluation in descending order is to be displayed can be specified by a rule list screen display request sent from the edge computer 6.

図14に示すランキング表の各ルール情報の表示領域において、IFモジュール評価集計値又はTHENモジュール評価集計値がクリックされると、ルール評価ランキング表は、クリックされたIFモジュール評価集計値又はTHENモジュール評価集計値についてのランキング表に変更される。 When the IF module evaluation aggregate value or THEN module evaluation aggregate value is clicked in the display area of each rule information of the ranking table shown in FIG. 14, the rule evaluation ranking table displays the clicked IF module evaluation aggregate value or THEN module evaluation Changed to a ranking table based on aggregated values.

図13に示す評価ランキング情報においても、図10に示す第2利用回数ランキング情報のように、ユーザIDも含めて、ルールIDとユーザIDと評価集計値の組み合わせ毎に利用回数を算出してもよい。 In the evaluation ranking information shown in FIG. 13, the number of uses may be calculated for each combination of rule ID, user ID, and evaluation aggregate value, including the user ID, as in the second usage frequency ranking information shown in FIG. 10. good.

なお、評価は評価情報に含まれるコメント(ルールコメント、IFモジュールコメント、THENモジュールコメント)を含んでもよい。この場合、ランキング処理部210は、形態素解析、構文解析、意味解析、文脈解析による自然言語処理を実行可能とされている。ランキング処理部210は、テキストからなるコメントを自然言語処理して、テキストをコメント内容を示すコメント値に変換する。ランキング処理部210は、コメント値をルールID毎に集計して、ルール情報のコメント集計値を算出する。ランキング処理部210は、ルールID、評価集計値及びコメント集計値を対応付ける第2評価ランキング情報を算出してもよい。 Note that the evaluation may include comments (rule comments, IF module comments, THEN module comments) included in the evaluation information. In this case, the ranking processing unit 210 is capable of executing natural language processing using morphological analysis, syntactic analysis, semantic analysis, and context analysis. The ranking processing unit 210 performs natural language processing on a comment made of text and converts the text into a comment value indicating the content of the comment. The ranking processing unit 210 totalizes the comment values for each rule ID and calculates the comment total value of the rule information. The ranking processing unit 210 may calculate second evaluation ranking information that associates the rule ID, the total evaluation value, and the total comment value.

上述の説明では、ランキング処理部210は特定の推奨度情報に関してルール情報を予め並べたランキング情報を算出し、ランキング情報をランキングメモリ228に書き込んでおき、エッジコンピュータ6からのルール一覧表示要求を受信すると、ランキングメモリ228からランキング情報を読み出している。しかし、ランキングメモリ228に記憶されているランキング情報において、ルールIDが推奨度情報の値の大きい順に並べられている必要は無い。ランキング処理部210は、ルールIDと推奨度情報とを対応付けただけのランキング情報をランキングメモリ228に書き込んでもよい。ルール一覧画面作成部238は、ランキングメモリ228から読み出したランキング情報において推奨度情報の値の大きい順にルールIDを並べ直してから一覧画面を作成してもよい。 In the above description, the ranking processing unit 210 calculates ranking information in which rule information is arranged in advance regarding specific recommendation level information, writes the ranking information in the ranking memory 228, and receives a rule list display request from the edge computer 6. Then, ranking information is read from the ranking memory 228. However, in the ranking information stored in the ranking memory 228, the rule IDs do not need to be arranged in descending order of the value of the recommendation degree information. The ranking processing unit 210 may write into the ranking memory 228 ranking information that only associates rule IDs with recommendation degree information. The rule list screen creation unit 238 may create the list screen after rearranging the rule IDs in the ranking information read from the ranking memory 228 in descending order of the recommendation level information.

さらに、ランキング処理部210は、上記の情報の代わりに又は上記の情報に加えて、利用デバイスIDや利用位置IDとルールの各組み合わせについて累計の利用回数、一定期間内の利用回数又は評価集計値を算出してもよい。 Furthermore, instead of or in addition to the above information, the ranking processing unit 210 calculates the cumulative number of uses, the number of uses within a certain period, or the evaluation aggregate value for each combination of the device ID, the location ID, and the rule. may be calculated.

例えば図8、図10又は図11に示す利用回数ランキング情報にルール作成者IDを追加してもよい。例えば図8に示す第1利用回数ランキング情報に対してルール作成者IDが追加された場合、図15に示す利用回数ランキング表が表示され得る。図15に示す利用回数ランキング表は、図9に示すランキング表に対して、各ルール情報の表示領域にルール作成者が表示されている点が異なる。 For example, the rule creator ID may be added to the usage count ranking information shown in FIG. 8, FIG. 10, or FIG. 11. For example, when the rule creator ID is added to the first usage frequency ranking information shown in FIG. 8, a usage frequency ranking table shown in FIG. 15 may be displayed. The usage count ranking table shown in FIG. 15 differs from the ranking table shown in FIG. 9 in that the rule creator is displayed in the display area of each rule information.

図15に示すランキング表では、図9に示すランキング表と同様に、ルール作成者が誰であるかに関わらず、利用回数の多い順にルール情報が並べられている。図15に示すランキング表の各ルール情報の表示領域においてルール作成者がクリックされると、ランキング表は、例えば図16に示すように、クリックされた特定の作成者が作成したルール情報についての利用回数ランキング表に変更される。そのため、利用回数の多いルール情報のルール作成者をクリックすることにより、利用回数の多いルール情報の作成者が作成したルール情報の利用回数ランキング表を表示することができる。利用回数の多いルール作成者が作成したルール情報を選択することは無難であると考えられるので、例えば図16に示すように特定のルール作成者の作成したルール情報の利用回数ランキング表を表示することは、ルール情報の選択に有用である。 In the ranking table shown in FIG. 15, similar to the ranking table shown in FIG. 9, rule information is arranged in descending order of usage frequency, regardless of who created the rule. When a rule creator is clicked in the display area of each rule information of the ranking table shown in FIG. 15, the ranking table displays information about the usage of the rule information created by the specific creator clicked, for example, as shown in FIG. 16. Changed to frequency ranking table. Therefore, by clicking on the rule creator of rule information that has been used frequently, a ranking table of the number of uses of rule information created by the creator of rule information that has been used many times can be displayed. Since it is considered safe to select rule information created by a rule creator who has used it many times, for example, as shown in FIG. 16, a ranking table of the number of uses of rule information created by a specific rule creator is displayed. This is useful for selecting rule information.

なお、ルール作成者IDを図13に示す評価ランキング情報に追加しても、同様な効果が得られる。 Note that the same effect can be obtained by adding the rule creator ID to the evaluation ranking information shown in FIG. 13.

また、ルール作成者IDではなく、IFモジュールIDとTHENモジュールIDをランキング情報に追加しても、同様な効果が得られる。例えば図8に示す利用回数ランキング情報に対してIFモジュールIDとTHENモジュールIDが追加された場合、例えば図17に示すルール評価ランキング表が表示される。図17に示すランキング表は、図14に示すルール評価ランキング表の各ルール情報のIFモジュール評価集計値がIFモジュールIDに、THENモジュール評価集計値がTHENモジュールIDに変更されている点が異なる。なお、IFモジュールIDとTHENモジュールIDをともにランキング情報に追加するのではなく、IFモジュールIDとTHENモジュールIDの一方のみを追加してもよい。 Further, the same effect can be obtained by adding the IF module ID and THEN module ID to the ranking information instead of the rule creator ID. For example, when the IF module ID and THEN module ID are added to the usage count ranking information shown in FIG. 8, the rule evaluation ranking table shown in FIG. 17, for example, is displayed. The ranking table shown in FIG. 17 differs in that the IF module evaluation total value of each rule information in the rule evaluation ranking table shown in FIG. 14 is changed to the IF module ID, and the THEN module evaluation total value is changed to the THEN module ID. Note that instead of adding both the IF module ID and the THEN module ID to the ranking information, only one of the IF module ID and the THEN module ID may be added.

図17に示すランキング表は、図14に示すランキング表と同様に、IFモジュールやTHENモジュールが何であるかに関わらず、複数のルール情報は利用回数の多い順に並べられている。図17に示すランキング表の各ルール情報の表示領域において、IFモジュールID又はTHENモジュールIDがクリックされると、ランキング表は、図18に示すように、クリックされたIFモジュール又はTHENモジュールを使うルール情報に限られた利用回数ランキング表に変更される。そのため、利用回数の多いIFモジュール又はTHENモジュールを使うルール情報の利用回数ランキング表を表示することができる。利用回数の多いIFモジュール又はTHENモジュールを使うルール情報を選択することは無難であると考えられるので、図18に示す利用回数ランキング表を表示することは、ルール情報の選択に有用である。 In the ranking table shown in FIG. 17, similar to the ranking table shown in FIG. 14, a plurality of pieces of rule information are arranged in descending order of usage frequency, regardless of the IF module or THEN module. When the IF module ID or THEN module ID is clicked in the display area of each rule information of the ranking table shown in FIG. 17, the ranking table displays the rules that use the clicked IF module or THEN module, as shown in FIG. Changed to a usage ranking table with limited information. Therefore, it is possible to display a usage frequency ranking table of rule information that uses the IF module or THEN module that is used frequently. Since it is considered safe to select rule information that uses an IF module or THEN module that is used frequently, displaying the usage frequency ranking table shown in FIG. 18 is useful for selecting rule information.

IFモジュールIDとTHENモジュールIDを利用開始ランキング情報に追加するのではなく、評価ランキング情報に追加しても、同様な効果が得られる。 A similar effect can be obtained by adding the IF module ID and THEN module ID to the evaluation ranking information instead of adding them to the start-of-use ranking information.

以上説明したように、実施形態は、推奨度情報に基づいて最終的にユーザにお薦めするルール情報を提示する表示画面を生成する表示制御部を備える。表示制御部は、推奨度情報に基づいて最終的な表示画面を生成すればよく、表示画面とそれを生成する処理に何ら限定はない。最終的な表示画面は、上述した利用回数ランキング表、評価ランキング表に限らず、ユーザにお薦めするルール情報を表示するものであれば、その形態に何ら限定は無く、ランキング表は種々変形可能である。さらに、推奨度情報から表示画面を生成する処理も、上述したように、推奨度情報に基づくランキング情報をランキングメモリ228から読み出し、ランキング情報に基づくランキング表をルール一覧画面として作成する処理に限らず、推奨度情報からランキング表を直接求めてもよい。 As described above, the embodiment includes a display control unit that generates a display screen that presents rule information that is ultimately recommended to the user based on recommendation level information. The display control unit only needs to generate the final display screen based on the recommendation level information, and there is no limitation on the display screen and the process for generating it. The final display screen is not limited to the above-mentioned usage frequency ranking table and evaluation ranking table, but there is no limit to its form as long as it displays rule information recommended to the user, and the ranking table can be modified in various ways. be. Furthermore, the process of generating a display screen from the recommendation level information is not limited to the process of reading ranking information based on the recommendation level information from the ranking memory 228 and creating a ranking table based on the ranking information as a rule list screen, as described above. , the ranking table may be directly obtained from the recommendation information.

推奨度情報の変形例を説明する。 A modified example of the recommendation level information will be explained.

上述の説明では、利用回数や評価に関する推奨度情報が用いられたが、作成日時に関する推奨度情報が用いられてもよい。すなわち、作成日時が新しい順に並べられたルール一覧画面を表示してもよい。この場合は、クラウドサーバ2にランキング処理部210、ランキングメモリ228を設けることは不要であり。ルール一覧画面作成部238はルールメモリ222から作成日時の新しい順にルール情報を読み出して、一覧画面を生成すればよい。 In the above description, recommendation information regarding the number of uses and evaluation was used, but recommendation information regarding creation date and time may also be used. That is, a rule list screen may be displayed in which rules are arranged in order of creation date and time. In this case, it is unnecessary to provide the ranking processing unit 210 and the ranking memory 228 in the cloud server 2. The rule list screen creation unit 238 may read rule information from the rule memory 222 in order of creation date and time, and generate a list screen.

また、エッジコンピュータ6は、所有しているIFモジュールのIDとTHENモジュールのIDを管理している。エッジコンピュータ6は、例えばルール一覧表示要求とともにこれらのIDをクラウドサーバ2へ送信してもよい。クラウドサーバ2は、ルールメモリ222が記憶しているルール情報の中からユーザが所有しているIFモジュールとTHENモジュールを使うルール情報を検索し、検索したルール情報からなるルール一覧画面を生成することができる。すなわち、ユーザが現在所有しているIFモジュールとTHENモジュールだけで利用できるルール情報をユーザへ推奨することができる。ユーザは新たにモジュールを購入することなく、IoTシステムを作成することができる。 The edge computer 6 also manages the IDs of the IF modules and THEN modules it owns. The edge computer 6 may, for example, transmit these IDs to the cloud server 2 together with a rule list display request. The cloud server 2 searches for rule information that uses the IF module and THEN module owned by the user from the rule information stored in the rule memory 222, and generates a rule list screen consisting of the searched rule information. Can be done. That is, rule information that can be used only with the IF module and THEN module that the user currently owns can be recommended to the user. Users can create IoT systems without purchasing new modules.

実行履歴情報として、実行日時や利用位置IDを含めた場合には、クラウドサーバ2は、これらを分析して、このルール情報は何月何日何時頃利用されることが多いこと又はこのルール情報は何処で利用されることが多いことを知ることができる。この知識をルール一覧作成に利用すると、より効率的なルール情報を推奨することができる。すなわち、クラウドサーバ2は、ルール一覧画面表示の要求信号の送信日時に利用されることが多いルール情報又はルール一覧画面表示の要求信号の送信場所で利用されることが多いルール情報を実行履歴情報に基づいて抽出することができる。あるいは、エッジコンピュータ6は、ルール一覧画面表示の要求信号の送信の際、利用日時又は利用場所を指定すると、クラウドサーバ2は、指定された日時又は指定された場所で利用されることが多いルール情報の一覧画面を作成することができる。 If the execution history information includes execution date and time and usage location ID, the cloud server 2 analyzes these and determines what month, day, and time this rule information is often used, or the rule information. You can find out where it is often used. If this knowledge is used to create a list of rules, it is possible to recommend more efficient rule information. That is, the cloud server 2 converts rule information that is often used in the transmission date and time of the request signal for rule list screen display or rule information that is often used in the transmission location of the request signal for rule list screen display into execution history information. can be extracted based on. Alternatively, when the edge computer 6 specifies the date and time of use or the place of use when transmitting the request signal for displaying the rule list screen, the cloud server 2 sends the rules that are often used at the specified date and time or at the specified place. You can create an information list screen.

ユーザは、エッジコンピュータ6のルール取得部114からルール情報の検索要求をルール公開サイトへ送信することもできる。検索要求は、ルール一覧画面の表示中に送信してもよいし、ルール一覧画面とは無関係に送信してもよい。 The user can also send a search request for rule information from the rule acquisition unit 114 of the edge computer 6 to the rule publication site. The search request may be sent while the rule list screen is displayed, or may be sent regardless of the rule list screen.

(ルール作成)
図19はエッジコンピュータ12のルール作成部112によるルール作成処理の一例を示すフローチャートである。ここでは、エッジコンピュータ12はスマートフォンであるとする。図20乃至図22は、ルール作成時のエッジコンピュータ12の表示装置104の画面遷移の一例を示す。
(rule creation)
FIG. 19 is a flowchart showing an example of rule creation processing by the rule creation unit 112 of the edge computer 12. Here, it is assumed that the edge computer 12 is a smartphone. 20 to 22 show examples of screen transitions on the display device 104 of the edge computer 12 during rule creation.

ルール作成部112は、ステップS104で、ルール作成メニューを表示装置104上で表示する。ルール作成メニューの一例を図20(a)に示す。ルール作成メニューは、ルールID欄302、IFボタン306及びTHENボタン308を含む。ルールID欄302には、エッジコンピュータ12の識別番号である数10桁の英数字が入力される。識別番号は、自動的に発番されてもよい。 The rule creation unit 112 displays a rule creation menu on the display device 104 in step S104. An example of the rule creation menu is shown in FIG. 20(a). The rule creation menu includes a rule ID field 302, an IF button 306, and a THEN button 308. In the rule ID column 302, a tens of alphanumeric characters that are the identification number of the edge computer 12 are input. The identification number may be automatically generated.

ルール作成者がIFボタン306を選択すると、ルール作成部112は、ステップS106で、図20(b)に示すIFモジュールの選択画面を表示し、IF部の設定処理を行う。選択画面は、IFモジュールのアイコンと名称のリストであり、リストは上下にスクロール可能である。IFモジュールは機能・種類毎にグループ化されていてもよい。名称の順番は「あいうえお」順でもよいし、使用回数の多い順でもよい。 When the rule creator selects the IF button 306, the rule creator 112 displays the IF module selection screen shown in FIG. 20(b) in step S106, and performs the IF module setting process. The selection screen is a list of IF module icons and names, and the list can be scrolled up and down. IF modules may be grouped by function or type. The order of the names may be in the order of "Aiueo" or in the order of the number of times they have been used.

ルール作成者がいずれかのIFモジュールのアイコンを選択すると、ルール作成部112は、図20(c)に示すIF部の条件設定画面を表示する。ここでは、IFモジュールとして「ボタン」が選択された例を説明する。条件設定画面は、条件の選択肢と「進む」ボタン312を含む。条件として「ボタンを押すと」が選択されると、IFパラメータの選択肢としてシングルクリック、ダブルクリック及びロングクリックがさらに表示される。IFパラメータが選択されると、図示していないが、IFサイクルの選択肢もさらに表示され、IFサイクルも設定される。 When the rule creator selects one of the IF module icons, the rule creator 112 displays the IF module condition setting screen shown in FIG. 20(c). Here, an example will be described in which a "button" is selected as the IF module. The condition setting screen includes condition options and a "proceed" button 312. When "when a button is pressed" is selected as the condition, single click, double click, and long click are further displayed as IF parameter options. When the IF parameter is selected, an IF cycle option is also displayed (not shown), and the IF cycle is also set.

ルール作成者が「進む」ボタン312を選択すると、ルール作成部112は、図21(a)に示すIF部条件設定の終了画面を表示する。終了画面は、ルールID欄302、IFボタン306、THENボタン308及び選択されたIFモジュールのアイコン314を含む。 When the rule creator selects the "proceed" button 312, the rule creator 112 displays the IF section condition setting completion screen shown in FIG. 21(a). The end screen includes a rule ID field 302, an IF button 306, a THEN button 308, and an icon 314 of the selected IF module.

例えば「温度が25度以上」と「湿度が80%以上」のような複数の条件を1つのルール情報に含めたい場合がある。この場合、ルール作成者は、終了画面でIFボタン306を選択する。IFボタン306が選択されると、上述のIF部の設定処理が再度実行され、複数の条件が1つのルール情報に設定される。なお、複数の条件はAND条件でもOR条件でもよい。IF部の設定処理が再度実行される場合、複数の条件がAND条件であるかOR条件であるかの選択肢も設定される。複数の条件がAND条件である場合、複数の条件の全てが満たされないと、THEN部に記載の処理が実行されない。複数の条件がOR条件である場合、複数の条件のいずれか一つでも満たされると、THEN部に記載の処理が実行される。 For example, there are cases where it is desired to include multiple conditions such as "temperature is 25 degrees or higher" and "humidity is 80% or higher" in one piece of rule information. In this case, the rule creator selects the IF button 306 on the end screen. When the IF button 306 is selected, the above-described IF section setting process is executed again, and a plurality of conditions are set in one piece of rule information. Note that the plurality of conditions may be an AND condition or an OR condition. When the IF unit setting process is executed again, the option of whether the plurality of conditions are AND conditions or OR conditions is also set. If the plurality of conditions are AND conditions, the process described in the THEN section will not be executed unless all of the plurality of conditions are satisfied. When the plurality of conditions are OR conditions, if any one of the plurality of conditions is satisfied, the process described in the THEN section is executed.

ルール作成者が、IF部設定の終了画面でTHENボタン308を選択すると、ルール作成部112は、ステップS108で、図21(b)に示すTHENモジュールの選択画面を表示し、THEN部の設定処理を行う。選択画面は、THENモジュールのアイコンと名称のリストであり、リストは上下にスクロール可能である。THENモジュールは機能・種類毎にグループ化されていてもよい。名称の順番は「あいうえお」順でもよいし、使用回数の多い順でもよい。 When the rule creator selects the THEN button 308 on the IF section setting end screen, the rule creation section 112 displays the THEN module selection screen shown in FIG. 21(b) in step S108, and executes the THEN section setting process. I do. The selection screen is a list of THEN module icons and names, and the list can be scrolled up and down. THEN modules may be grouped by function/type. The order of the names may be in the order of "Aiueo" or in the order of the number of times they have been used.

ルール作成者がいずれかのTHENモジュールを選択すると、ルール作成部112は、図21(c)に示すTHEN部の処理設定画面を表示する。ここでは、THENモジュールとしてLEDが選択された例を説明する。処理設定画面は、処理の選択肢と「進む」ボタン316を含む。処理として「光る」が選択されると、THENパラメータの選択肢として発光パターン、例えば「100ms毎に点滅」がさらに表示される。 When the rule creator selects any THEN module, the rule creator 112 displays a process setting screen for the THEN module shown in FIG. 21(c). Here, an example will be described in which an LED is selected as the THEN module. The processing setting screen includes processing options and a "proceed" button 316. When "shining" is selected as the process, a lighting pattern such as "flashing every 100 ms" is further displayed as a THEN parameter option.

ルール作成者が「進む」ボタン316を選択すると、ルール作成部112は、図22(a)に示すTHEN部の設定終了画面を表示する。設定終了画面は、ルールID欄302、IFボタン306、THENボタン308、IFモジュールのアイコン314、THENモジュールのアイコン318及び「進む」ボタン322を含む。 When the rule creator selects the "proceed" button 316, the rule creator 112 displays the THEN section setting completion screen shown in FIG. 22(a). The setting end screen includes a rule ID field 302, an IF button 306, a THEN button 308, an IF module icon 314, a THEN module icon 318, and a "proceed" button 322.

条件の設定処理と同様に、例えば「振動によりユーザに通知」と「メールでユーザに通知」のような複数の処理を1つのルール情報に含めたい場合がある。この場合、ルール作成者は、終了画面でTHENボタン308を選択する。THENボタン308が選択されると、上述のTHEN部の設定処理が再度実行され、複数の処理が1つのルール情報に設定される。なお、複数の処理はAND処理でもOR処理でもよい。THEN部の設定処理が再度実行される場合、複数の処理がAND処理であるかOR処理であるかの選択肢も設定される。 Similar to the condition setting process, there are cases where it is desired to include multiple processes such as "notify the user by vibration" and "notify the user by email" in one rule information. In this case, the rule creator selects THEN button 308 on the end screen. When the THEN button 308 is selected, the setting process of the THEN section described above is executed again, and a plurality of processes are set in one rule information. Note that the plurality of processes may be an AND process or an OR process. When the THEN section setting process is executed again, the option of whether the plurality of processes is AND processing or OR processing is also set.

ルール作成者が、THEN部設定の終了画面で「進む」ボタン322を選択すると、ルール作成部112は、ステップS112で、図22(b)に示すルール属性と編集可否フラグの設定画面を表示し、ルール属性と編集可否フラグの設定処理を行う。設定画面はルール属性の選択肢と編集可否フラグの選択肢を含む。 When the rule creator selects the "proceed" button 322 on the THEN section setting end screen, the rule creation section 112 displays the rule attribute and editability flag setting screen shown in FIG. 22(b) in step S112. , performs setting processing of rule attributes and editability flags. The setting screen includes options for rule attributes and options for editability flags.

これらの選択肢が選択されると、ルール作成部112は、図22(c)に示す送信確認画面を表示する。送信確認画面は設定したルールの内容と送信ボタン326を含む。ユーザは、この画面でルール名を入力することができる。 When these options are selected, the rule creation unit 112 displays a transmission confirmation screen shown in FIG. 22(c). The transmission confirmation screen includes the contents of the set rule and a transmission button 326. The user can enter a rule name on this screen.

ルール作成者が送信ボタン326を選択すると、ルール作成部112は、ステップS114で、ルール情報を送信部106へ送る。送信部106は所定のタイミングでルール情報をクラウドサーバ2へ送信する。 When the rule creator selects the send button 326, the rule creator 112 sends the rule information to the transmitter 106 in step S114. The transmitter 106 transmits the rule information to the cloud server 2 at a predetermined timing.

このようにクラウドサーバ2は、各エッジコンピュータ6から送信された多くのルール情報をルールメモリ222に記憶する。 In this way, the cloud server 2 stores a lot of rule information transmitted from each edge computer 6 in the rule memory 222.

(ルールダウンロード)
ユーザはルールを利用する際、先ず、希望するルール情報をクラウドサーバ2からエッジコンピュータ6にダウンロードする。図23は、ルール情報のダウンロードに関するエッジコンピュータ6とクラウドサーバ2の処理の流れの一例を示すシーケンスチャートである。
(Rule download)
When using rules, the user first downloads desired rule information from the cloud server 2 to the edge computer 6. FIG. 23 is a sequence chart showing an example of the process flow of the edge computer 6 and cloud server 2 regarding downloading of rule information.

エッジコンピュータ6では、ルール取得部114は、ステップS122で、クラウドサーバ2のルール配信サイトにアクセスし、ルール一覧画面の表示を要求する表示要求信号を送信部106を介してクラウドサーバ2へ送信する。表示要求信号は、どの推奨度情報に関するランキングを要求するかを指定する。 In the edge computer 6, the rule acquisition unit 114 accesses the rule distribution site of the cloud server 2 in step S122, and transmits a display request signal requesting display of the rule list screen to the cloud server 2 via the transmission unit 106. . The display request signal specifies which recommendation information is requested for ranking.

クラウドサーバ2では、表示要求信号を受信すると、ルール一覧画面作成部238は、ステップS142で、指定された推奨度情報に関するランキング情報をランキングメモリ228から読み出し、読み出したランキング情報に基づいてルール一覧画面信号を生成し、ルール一覧画面信号を送信部242を介してエッジコンピュータ6に送信する。 In the cloud server 2, upon receiving the display request signal, the rule list screen creation unit 238 reads ranking information related to the specified recommendation level information from the ranking memory 228 in step S142, and creates the rule list screen based on the read ranking information. A signal is generated and a rule list screen signal is transmitted to the edge computer 6 via the transmitter 242.

エッジコンピュータ6では、受信部108がルール一覧画面信号を受信すると、ルール取得部114は、ステップS124で、ルール一覧画面信号に基づいて図9、図12、図14又は図15に示すランキング表を表示装置104で表示する。 In the edge computer 6, when the receiving unit 108 receives the rule list screen signal, the rule acquisition unit 114 generates the ranking table shown in FIG. 9, FIG. 12, FIG. 14, or FIG. 15 based on the rule list screen signal in step S124. It is displayed on the display device 104.

ユーザは、ランキング表の中から希望するルール情報を選択する。ユーザは、場合によっては、画面をスクロールしてランキング表を見る。しかし、ランキング表からルール情報を選択できない場合、ユーザは表示されているランキング表を異なる種類のランキング表に変更することを要求することができる。ルール取得部114は、ユーザからの指示に基づいて、ステップS122を再度実行し、他の推奨度情報を指定する表示要求信号をクラウドサーバ2に送信してもよい。例えば利用回数ランキング表から評価ランキング表に変更する、またはその逆に変更することが可能である。さらに、同じ推奨度情報に関するランキング表でも、特定のユーザ、特定のルール作成者、特定のルール属性、特定のIFモジュール又はTHENモジュールについての絞り込んだランキング表に変更する場合も可能である。この場合も、ルール取得部114は、ユーザからの指示に基づいて、ステップS122を再度実行し、ランキング表を絞り込む要求信号をクラウドサーバ2に送信してもよい。 The user selects desired rule information from the ranking table. The user may scroll the screen to view the ranking table. However, if rule information cannot be selected from the ranking table, the user can request that the displayed ranking table be changed to a different type of ranking table. The rule acquisition unit 114 may execute step S122 again based on an instruction from the user and transmit a display request signal specifying other recommendation level information to the cloud server 2. For example, it is possible to change from a usage frequency ranking table to an evaluation ranking table, or vice versa. Furthermore, even if the ranking table is related to the same recommendation level information, it is also possible to change the ranking table to a narrowed-down ranking table for a specific user, specific rule creator, specific rule attribute, specific IF module, or THEN module. In this case as well, the rule acquisition unit 114 may execute step S122 again based on an instruction from the user and transmit a request signal to narrow down the ranking table to the cloud server 2.

ユーザがランキング表の中からルールを選択すると、ルール取得部114は、ステップS126で、選択されたルール情報のダウンロード要求信号を送信部106を介してクラウドサーバ2へ送信する。 When the user selects a rule from the ranking table, the rule acquisition unit 114 transmits a download request signal for the selected rule information to the cloud server 2 via the transmission unit 106 in step S126.

クラウドサーバ2では、ダウンロード要求信号を受信すると、ルール選択部236は、ステップS144で、ルールメモリ222から要求されたルール情報を読み出し、ルール情報を送信部242を介してエッジコンピュータ6に送信する。 In the cloud server 2, upon receiving the download request signal, the rule selection unit 236 reads the requested rule information from the rule memory 222 and transmits the rule information to the edge computer 6 via the transmission unit 242 in step S144.

エッジコンピュータ6では、ルール情報を受信すると、ルール管理部132は、ステップS128で、ルール情報をルールメモリ28に書き込む。 In the edge computer 6, upon receiving the rule information, the rule management unit 132 writes the rule information into the rule memory 28 in step S128.

(ルール利用)
図24はエッジコンピュータ12のルールエンジン26がルールを利用する処理の一例を示すフローチャートである。ルール管理部132は、ステップS152で、ルールメモリ28に記憶されているルール情報を読み出し、読み出したルール情報を状態モニタ134と処理起動部136へ送る。ルール情報に有効/無効又は有効な期間が設定されている場合は、ルール管理部132は、現在有効なルール情報のみを読み出す。ここでは、複数のIFモジュール8AとTHENモジュール8Bが用意されているとする。複数のIFモジュール8Aにそれぞれ対応した複数のマイクロサービス10Aと、複数のTHENモジュール8Bにそれぞれ対応した複数のマイクロサービス10Bも用意されているとする。
(Using rules)
FIG. 24 is a flowchart showing an example of a process in which the rule engine 26 of the edge computer 12 uses rules. In step S152, the rule management unit 132 reads the rule information stored in the rule memory 28, and sends the read rule information to the status monitor 134 and the process starting unit 136. If valid/invalid or a valid period is set in the rule information, the rule management unit 132 reads only the currently valid rule information. Here, it is assumed that a plurality of IF modules 8A and THEN modules 8B are prepared. It is also assumed that a plurality of microservices 10A corresponding to the plurality of IF modules 8A and a plurality of microservices 10B corresponding to the plurality of THEN modules 8B are also prepared.

状態モニタ134は、ステップS154で、ルール管理部132から送信されたルール情報に規定されているIFモジュールIDに対応するマイクロサービス10AへIFモジュール8Aの状態をIFサイクルで規定の周期で検出させる状態検出要求信号を送信する。マイクロサービス10Aは対応するIFモジュール8Aへ状態検出要求信号を定期的に送信し、IFモジュール8Aに状態を検出させる。IFモジュール8Aは、要求信号に応じて状態を検出し、状態検出信号をマイクロサービス10Aへ送る。 In step S154, the status monitor 134 causes the microservice 10A corresponding to the IF module ID specified in the rule information transmitted from the rule management unit 132 to detect the status of the IF module 8A at regular intervals in the IF cycle. Send a detection request signal. The microservice 10A periodically transmits a state detection request signal to the corresponding IF module 8A, and causes the IF module 8A to detect the state. The IF module 8A detects the state according to the request signal and sends the state detection signal to the microservice 10A.

状態モニタ134は、ステップS156で、マイクロサービス10a~10iから送信されたIFモジュール8Aの状態検出信号を受信する。 In step S156, the status monitor 134 receives the status detection signal of the IF module 8A transmitted from the microservices 10a to 10i.

状態モニタ134は、ステップS158で、IFモジュール8Aにより検出された状態はいずれかのルール情報のIF部に記載の条件(IFパラメータも考慮)した条件)を満たしているか否かを判定する。状態モニタ134は、状態が条件を満たしていないと判定した場合、ステップS154の処理を再度実行する。 In step S158, the state monitor 134 determines whether the state detected by the IF module 8A satisfies the conditions (conditions that also take into account the IF parameters) described in the IF section of any of the rule information. If the status monitor 134 determines that the status does not satisfy the conditions, it executes the process of step S154 again.

状態モニタ134は、状態が条件を満たしていると判定した場合、当該ルール情報のルールIDへ送る。 When the state monitor 134 determines that the state satisfies the conditions, it sends the rule information to the rule ID of the rule information.

処理起動部136は、ルールIDを受信すると、ステップS160で、当該ルールIDのルール情報に規定されているTHENモジュールIDに対応するマイクロサービス10Bへルール情報に規定されている処理を実行させる制御信号を送信し、実行履歴管理部118にルールIDを送信する。マイクロサービス10Bは、ルール情報に規定されている処理を実行させるようにTHENモジュール8Bを駆動する。 Upon receiving the rule ID, the process starting unit 136 sends a control signal to the microservice 10B corresponding to the THEN module ID specified in the rule information of the rule ID to execute the process specified in the rule information in step S160. and sends the rule ID to the execution history management section 118. The microservice 10B drives the THEN module 8B to execute the processing specified in the rule information.

実行履歴管理部118は、ルールIDを受信すると、ステップS162で、実行履歴情報を作成し、実行履歴情報を履歴メモリ124に書き込む。 Upon receiving the rule ID, the execution history management unit 118 creates execution history information and writes the execution history information into the history memory 124 in step S162.

実行履歴管理部118は、ステップS164で、実行履歴情報をクラウドサーバ2へ送信する。 The execution history management unit 118 transmits the execution history information to the cloud server 2 in step S164.

THENモジュール8Bが処理を実行した後の任意のタイミング(ステップS166)で、評価管理部116は、ルールのコメント・評価の入力画面を表示する。ユーザは、画面に従って、利用したルールのコメント・評価を入力する。これにより、評価情報が作成される。 At an arbitrary timing after the THEN module 8B executes the process (step S166), the evaluation management unit 116 displays a rule comment/evaluation input screen. The user follows the screen and enters comments and evaluations of the rule used. As a result, evaluation information is created.

評価管理部116は、ステップS168で、評価情報をクラウドサーバ2へ送信する。 The evaluation management unit 116 transmits the evaluation information to the cloud server 2 in step S168.

なお、実行履歴情報の送信ステップS164と、評価情報の送信ステップS170の実行タイミングは、他のタイミングでもよい。 Note that the execution timings of the execution history information transmission step S164 and the evaluation information transmission step S170 may be other timings.

なお、本発明は上記の各実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に亘る構成要素を適宜組み合せてもよい。 It should be noted that the present invention is not limited to the above-described embodiments as they are, but can be implemented by modifying the constituent elements within the scope of the invention at the implementation stage. Moreover, various inventions can be formed by appropriately combining the plurality of components disclosed in the above embodiments. For example, some components may be deleted from all the components shown in the embodiments. Furthermore, components from different embodiments may be combined as appropriate.

2…クラウドサーバ、6…エッジコンピュータ、8A…IFモジュール、8B…THENモジュール、10a,10B…マイクロサービス、18…ネットワーク、26…ルールエンジン、28…ルールメモリ、204…ルール書き込み部、206…履歴書き込み部、208…評価書き込み部、210…ランキング処理部、222…ルールメモリ、224…履歴メモリ、226…評価メモリ、228…ランキングメモリ、236…ルール選択部、238…ルール一覧画面作成部。 2... Cloud server, 6... Edge computer, 8A... IF module, 8B... THEN module, 10a, 10B... microservice, 18... network, 26... rule engine, 28... rule memory, 204... rule writing unit, 206... history Writing section, 208... Evaluation writing section, 210... Ranking processing section, 222... Rule memory, 224... History memory, 226... Evaluation memory, 228... Ranking memory, 236... Rule selection section, 238... Rule list screen creation section.

Claims (7)

複数のセンサと複数の処理モジュールに接続される電子装置は、
前記複数のセンサの中の少なくとも1つのセンサのセンス結果が特定の結果である場合、前記複数の処理モジュールの中の少なくとも1つの処理モジュールが前記センス結果に連携した動作を実行するように関連付けした複数のルール情報を記憶する記憶部と、
前記複数のルール情報に含まれるルール識別情報を表示する表示画面を生成する表示制御部と、を具備し、
前記複数のルール情報のそれぞれは、
ルール情報の作成者の識別情報と、
前記ルール情報の属性情報を含み、
前記属性情報は、
前記ルール情報により提供されるサービスが利用されるシーンを示す第1の識別情報と、
前記ルール情報により提供される前記サービスのテーマを示す第2の識別情報と、
前記ルール情報により提供される前記サービスにより解決される課題を示す第3の識別情報と、を少なくとも含む、
電子装置。
Electronic devices connected to multiple sensors and multiple processing modules are
When the sense result of at least one sensor among the plurality of sensors is a specific result, at least one processing module among the plurality of processing modules is associated with the sense result to perform a coordinated operation. a storage unit that stores multiple pieces of rule information;
a display control unit that generates a display screen that displays rule identification information included in the plurality of rule information,
Each of the plurality of rule information is
Identification information of the creator of the rule information,
including attribute information of the rule information,
The attribute information is
first identification information indicating a scene in which the service provided by the rule information is used;
second identification information indicating a theme of the service provided by the rule information;
at least third identification information indicating a problem to be solved by the service provided by the rule information;
electronic equipment.
前記センサ及び又は前記処理モジュールは、マイクロサービスとネットワークを介して接続されている、請求項1記載の電子装置。 The electronic device according to claim 1, wherein the sensor and/or the processing module are connected to a microservice via a network. 前記ルール情報は、ルール公開サイトからダウンロードされて、記憶部に格納されている、請求項1記載の電子装置。 The electronic device according to claim 1, wherein the rule information is downloaded from a rule publication site and stored in a storage unit. 前記ルール公開サイトをアクセスして、ルール一覧画面に公開されているルールをみて、前記ルール情報を選択する手段を備える、請求項3記載の電子装置。 4. The electronic device according to claim 3, further comprising means for accessing said rule publication site, viewing rules published on a rule list screen, and selecting said rule information. さらに前記ルール情報を作成するためのルール作成部を含み、
前記ルール作成部は記憶部に対して、
1つのルール識別情報に対応させて、センサ(IFモジュール)の識別情報と処理モジュール(THENモジュール)の識別情報を特定する第1、第2の記憶領域と、
前記センサ(IFモジュール)のセンシング内容と、前記処理モジュール(THENモジュール)の処理内容を記述する第3、第4の記憶領域を含む、
請求項1記載の電子装置。
further including a rule creation section for creating the rule information,
The rule creation unit stores the following information in the storage unit:
first and second storage areas that specify identification information of a sensor (IF module) and identification information of a processing module (THEN module) in correspondence with one rule identification information;
including third and fourth storage areas that describe sensing contents of the sensor (IF module) and processing contents of the processing module (THEN module);
The electronic device according to claim 1.
複数のセンサと複数の処理モジュールとインターネットに接続される電子装置システムは、
前記複数のセンサの中の少なくとも1つのセンサのセンス結果が特定の結果である場合、前記複数の処理モジュールの中の少なくとも1つの処理モジュールが前記センス結果に連携した動作を実行するように関連付けした複数のルール情報を記憶する記憶部と、
前記複数のルール情報に含まれるルール識別情報を表示する表示画面を生成する表示制御部と、を具備し、
前記複数のルール情報のそれぞれは、
ルール情報の作成者の識別情報と、
前記ルール情報の属性情報を含み、
前記属性情報は、
前記ルール情報により提供されるサービスが利用されるシーンを示す第1の識別情報と、
前記ルール情報により提供される前記サービスのテーマを示す第2の識別情報と、
前記ルール情報により提供される前記サービスにより解決される課題を示す第3の識別情報と、を少なくとも含み、
前記センサ及び又は前記処理モジュールが、マイクロサービスを介して前記インターネットに接続されている、
電子装置システム。
An electronic device system with multiple sensors, multiple processing modules, and connected to the Internet,
When the sense result of at least one sensor among the plurality of sensors is a specific result, at least one processing module among the plurality of processing modules is associated with the sense result to perform a coordinated operation. a storage unit that stores multiple pieces of rule information;
a display control unit that generates a display screen that displays rule identification information included in the plurality of rule information,
Each of the plurality of rule information is
Identification information of the creator of the rule information,
including attribute information of the rule information,
The attribute information is
first identification information indicating a scene in which the service provided by the rule information is used;
second identification information indicating a theme of the service provided by the rule information;
at least third identification information indicating a problem to be solved by the service provided by the rule information,
the sensor and/or the processing module is connected to the internet via a microservice;
Electronic equipment system.
複数のセンサと複数の処理モジュールに接続される電子装置の制御方法は、
前記複数のセンサの中の少なくとも1つのセンサのセンス結果が特定の結果である場合、前記複数の処理モジュールの中の少なくとも1つの処理モジュールが前記センス結果に連携した動作を実行するように関連付けした複数のルール情報を記憶部に記憶し、
前記複数のルール情報に含まれるルール識別情報を表示する表示制御部が表示画面を生成し、
前記複数のルール情報のそれぞれは、
ルール情報の作成者の識別情報と、
前記ルール情報の属性情報を含み、
前記属性情報は、
前記ルール情報により提供されるサービスが利用されるシーンを示す第1の識別情報と、
前記ルール情報により提供される前記サービスのテーマを示す第2の識別情報と、
前記ルール情報により提供される前記サービスにより解決される課題を示す第3の識別情報と、を少なくとも含むみ、
前記センサと前記処理モジュールを前記ルール情報により連携させるようにした、
電子装置の制御方法。
A method for controlling an electronic device connected to multiple sensors and multiple processing modules is
When the sense result of at least one sensor among the plurality of sensors is a specific result, at least one processing module among the plurality of processing modules is associated with the sense result to perform a coordinated operation. Store multiple pieces of rule information in the storage unit,
A display control unit that displays rule identification information included in the plurality of rule information generates a display screen,
Each of the plurality of rule information is
Identification information of the creator of the rule information,
including attribute information of the rule information,
The attribute information is
first identification information indicating a scene in which the service provided by the rule information is used;
second identification information indicating a theme of the service provided by the rule information;
at least third identification information indicating a problem to be solved by the service provided by the rule information;
The sensor and the processing module are made to cooperate based on the rule information,
How to control electronic devices.
JP2023210082A 2020-09-24 2023-12-13 Electronic devices and systems Pending JP2024025814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023210082A JP2024025814A (en) 2020-09-24 2023-12-13 Electronic devices and systems

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020159421A JP7407681B2 (en) 2020-09-24 2020-09-24 Electronic devices and systems
JP2023210082A JP2024025814A (en) 2020-09-24 2023-12-13 Electronic devices and systems

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2020159421A Division JP7407681B2 (en) 2020-09-24 2020-09-24 Electronic devices and systems

Publications (1)

Publication Number Publication Date
JP2024025814A true JP2024025814A (en) 2024-02-26

Family

ID=80962884

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2020159421A Active JP7407681B2 (en) 2020-09-24 2020-09-24 Electronic devices and systems
JP2023210082A Pending JP2024025814A (en) 2020-09-24 2023-12-13 Electronic devices and systems

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2020159421A Active JP7407681B2 (en) 2020-09-24 2020-09-24 Electronic devices and systems

Country Status (1)

Country Link
JP (2) JP7407681B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012008707A (en) * 2010-06-23 2012-01-12 Ntt Docomo Inc Linkage management device, service linkage support system and service linkage support method
US10110394B2 (en) * 2015-05-11 2018-10-23 Samsung Electronics Co., Ltd. Electronic apparatus and method of controlling the same
JP6664940B2 (en) * 2015-12-01 2020-03-13 シャープ株式会社 Registration assisting device, registration assisting system, control method of registration assisting device
JP6495154B2 (en) * 2015-12-01 2019-04-03 シャープ株式会社 Operation execution control server, rule generation server, terminal device, linkage system, operation execution control server control method, rule generation server control method, terminal device control method, and control program

Also Published As

Publication number Publication date
JP2022052904A (en) 2022-04-05
JP7407681B2 (en) 2024-01-04

Similar Documents

Publication Publication Date Title
US10353939B2 (en) Interoperability mechanisms for internet of things integration platform
US10171586B2 (en) Physical environment profiling through Internet of Things integration platform
US8675912B2 (en) System and method for initiating actions and providing feedback by pointing at object of interest
US9398413B1 (en) Mapping electronic devices within an area
CN108141449A (en) Control device cloud
CN107209549A (en) The virtual assistant system of movable messaging can be realized
Abou-Zahra et al. Web standards to enable an accessible and inclusive internet of things (IoT)
Vanus et al. Development and testing of a visualization application software, implemented with wireless control system in smart home care
Xu et al. A generic user interface for energy management in smart homes
JP2014520348A (en) Modeled physical environment for information transfer
JP7407681B2 (en) Electronic devices and systems
JP5702030B1 (en) Information providing method and information processing method
KR20220010941A (en) Bigdata-based residential model recommendation system for users and a method for recommending a residential model using the same
JP5133398B2 (en) Paper book / digital content correspondence generation apparatus and method
KR100678327B1 (en) Mobile site builder, site access scheme and network system for the site information
JP2024051177A (en) PROBLEM-SOLVING IDEA SUPPORT METHOD, PROBLEM-SOLVING IDEA SUPPORT SYSTEM, AND PROBLEM-SOLVING IDEA SUPPORT DEVICE
Niu Achieving Healthy and Quality Life of One-person Households Using IoT and Machine Learning
Hägglund The smart home: logistical media, infrastructure and practiced places
Vlachava Semantic Annotations in Sensor
Gawley et al. Implementing a Platform Agnostic Architecture to Accommodate Heterogeneous Data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231213