Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7631490B2 - Electronic Devices and Systems - Google Patents
[go: Go Back, main page]

JP7631490B2 - Electronic Devices and Systems - Google Patents

Electronic Devices and Systems Download PDF

Info

Publication number
JP7631490B2
JP7631490B2 JP2023210082A JP2023210082A JP7631490B2 JP 7631490 B2 JP7631490 B2 JP 7631490B2 JP 2023210082 A JP2023210082 A JP 2023210082A JP 2023210082 A JP2023210082 A JP 2023210082A JP 7631490 B2 JP7631490 B2 JP 7631490B2
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.)
Active
Application number
JP2023210082A
Other languages
Japanese (ja)
Other versions
JP2024025814A (en
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/JP7631490B2/en
Publication of JP2024025814A publication Critical patent/JP2024025814A/en
Application granted granted Critical
Publication of JP7631490B2 publication Critical patent/JP7631490B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Description

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

インターネットを経由して実空間上の物体(デバイスと称される)を連携させるIoT(Internet of Things)システムが普及している。IoTシステムを作るためには、デバイスの制御に関するプログラミング等の高度な技術的な知識が必要であり、IoTシステムを作ることは容易ではない。 Internet of Things (IoT) systems that connect objects (called devices) in the real world via the Internet are becoming more common. Creating an IoT system requires advanced technical knowledge, such as programming for controlling the devices, 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 this, then do that." An IoT system is realized by installing rule information in an electronic device that can control multiple devices.

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

特開2019-145150号公報JP 2019-145150 A

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

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

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

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

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

サービスは、所定の実体/状態/情報の制御を組み合わせて、有償または無償でユーザに対して所定の処理や状態の変化、あるいはコンテンツやデータ/情報を提供する能動的動作を意味する。実施形態では、ルール情報に従って、ユーザにサービスを提供する。このサービス提供の形態として、実施形態では、各種デバイスを利用した実空間上あるいは物理空間上のサービスとWebサービスなどを利用したサイバ空間上のサービス間の垣根を越えた(跨った)組み合わせ(複合化)サービスを提供してもよい。 A service refers to an active operation that combines the control of specified entities/states/information to provide a user with specified processing, state changes, or content, data, or information, with or without charge. In an embodiment, a service is provided to a user according to rule information. As a form of providing this service, in an embodiment, a combined (composite) service that crosses (spans) the boundaries between a service in real space or physical space using various devices and a service in cyberspace using web services, etc. may be provided.

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

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

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

ルールの一例は、センサモジュールにより検出される状態が特定の状態である場合、実行モジュールが特定の処理を実行するというモジュールの連携関係を規定するものである。ルールを記述するルール情報は種々の形式があり、その一例は、特定の状態を示す条件情報(IF部とも称される)と、センサモジュールにより検出された状態が特定の状態である場合に実行モジュールにより実行される特定の処理を示す処理情報(THEN部とも称される)とを含む形式がある。しかし、ルール情報の形式は、この形式に限定されない。 One example of a rule is one that specifies the cooperation relationship between modules such that, if the state detected by the sensor module is a specific state, the execution module executes a specific process. There are various formats of rule information that describes a rule, and one example is a format that includes condition information (also called an IF section) that indicates a specific state, and processing information (also called a THEN section) that indicates a specific process to be executed by the execution module if the state detected by the sensor module is a specific state. However, the format of 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 links to are a temperature sensor that detects temperature, which is an example of a state, and an air conditioner that operates in cooling mode, which is an example of a process. Examples of states and processes are not limited to the above examples.

この明細書では、状態を検出するモジュールはIFモジュールと称され、処理を実行するモジュールはTHENモジュールと称される。IoTシステムは、IFモジュールと、THENモジュールと、電子装置を含む。電子装置は、例えば無線によりIFモジュールとTHENモジュールに接続される。電子装置は、IFモジュールにより検出された状態が特定の状態であるかどうかを判断し、特定の状態である場合、THENモジュールに処理を実行させる指示を与える。 In this specification, the module that detects a state is referred to as an IF module, and the module that performs processing is referred to as a THEN module. An 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 state detected by the IF module is a specific state, and if so, instructs 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. Rule information and software that controls the IF module and the THEN module according to the rule information are installed in the electronic device. The electronic device periodically requests the IF module to detect a state, and when the electronic device detects, based on the output of the IF module, that the state detected by the IF module is a specific state, it controls the THEN module to execute a specific process.

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

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

(ルール情報)
電子装置は、メモリに記憶されている有効なルール情報に含まれるIFモジュールIDで識別されるIFモジュールに対して、状態を検出し、検出結果をIFサイクル毎に電子装置へ送信することを要求する要求信号を送信する。IFモジュールは、電子装置からの要求信号に応じて状態を検出し、検出した状態を示す検出信号を電子装置に送信する。
(Rule information)
The electronic device transmits a request signal to an IF module identified by an IF module ID included in valid rule information stored in a memory, requesting the IF module to detect a state and transmit the detection result to the electronic device for each IF cycle. The IF module detects a state in response to the 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. If the electronic device determines that the detected state is a specific state, it transmits a request signal to the THEN module described in the THEN section of the rule information, requesting that the THEN module execute the process described in the THEN section.

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

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

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

ユーザは、ルール情報に記載されているIFモジュールとTHENモジュールを用意すれば、IoTシステムを簡単に構成することができる。 Users 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 users who want to build IoT systems, but rule information can also be created by other users, such as creators who create it as a business or manufacturers of the IF and THEN modules that make up the rule information.

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

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

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

(エッジコンピュータ)
図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 this embodiment, and in particular shows an example of the 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. The cloud server 2 and the edge computer 6 are connected via a network 18. The edge computer 6 and the IF module 8A are connected via a network 18. The edge computer 6 and the 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 FIG. 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 transmitting unit 106, a receiving unit 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. Instead of being configured as separate devices, the input device 102 and the display device 104 may be configured as a single display having a touch input function.

エッジコンピュータ6の例は、パーソナルコンピュータ、スマートフォン、タブレット、サイネージ、ゲートウェイ、ルータ、カーナビゲーションシステム、家電機器(テレビ等)、複合機(コピー機)、クラウドサーバ等を含む。 Examples of edge computers 6 include personal computers, smartphones, tablets, signage, gateways, routers, car navigation systems, home appliances (televisions, etc.), multifunction devices (copy machines), cloud servers, etc.

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

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

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

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

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

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

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

このシステムは、ユーザが編集可能なルール情報をダウンロードした場合、ユーザはルール情報を編集することができるようになっている。編集可能なルール情報をダウンロードした場合、ディスプレイにルール情報の編集可を示すアイコンが表示される。このアイコンがタッチされると、ルール情報が編集可能となる。 With 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 appears on the display. When this icon is touched, the rule information becomes editable.

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

図3は、IF-THEN部のデータ構造の一例を示す。IF-THEN部は作成者により入力される又は編集者により編集されるものであり、IF部とTHEN部からなる。 Figure 3 shows an example of the data structure of an IF-THEN section. The IF-THEN section is entered 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 a plurality of items. Examples of items in the IF section include, but are not limited to, an IF module ID, which is identification information for the IF module 8A, a condition for starting execution of processing, an IF parameter that defines the details of the condition, an IF cycle that indicates the period for checking the condition, and the like. A condition is a specific state that is compared with a state detected by the IF module 8A. Examples of the IF module 8A include, but are not limited to, a temperature sensor, a humidity sensor, a door, a breathalyzer, an open/close sensor, a beacon, a human presence sensor, a water leak sensor, a power-generating chair, a power-generating floor, a weight sensor, a composite multi-function sensor (light, temperature, humidity, acceleration, gyro, etc.), a thermometer, a weight scale, a microphone, a hygrometer, a camera, and the like.

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, which is identification information for the THEN module 8B, a process executed by the THEN module 8B, and THEN parameters that define the details of the process. Examples of the THEN module 8B include, but are not limited to, a communication robot, a power strip, a notification watch, a wristband, an LED, a remote control for an electronic device, sending email, displaying a map, and synthesizing voice.

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

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

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

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

シーンIDは、ルール情報に基づき処理が実行されるシーン、すなわちルール情報により提供されるサービスが利用されるシーンを示す識別情報である。シーンの例は、これらに限定されないが、会議室、レストラン、荷物梱包場所、工事現場、オフィス(ID=S1)、工場(ID=S2)、教室内、エレベータ、家の敷地、自宅のリビング、食料品店、コーヒーショップ、公園、学校の敷地、洋服店(アパレルショップ)、出入国ゲート、観光地、コンビニエンスストア、博物館(ID=S3)美術館、鉄道の駅、オフィスビル、ホテル、高速道路、ホテルロビー、物流センター、テニスコート、空港、トイレ、バスの車内等を含む。 The scene ID is identification information that indicates the scene where processing is performed based on the rule information, i.e., the scene where the 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), inside a classroom, an elevator, the grounds of a house, the living room of a home, a grocery store, a coffee shop, a park, a school grounds, a clothing store (apparel shop), an immigration gate, a tourist spot, a convenience store, a museum (ID=S3), an art museum, a train station, an office building, a hotel, a highway, a hotel lobby, a logistics center, a tennis court, an airport, a toilet, the inside of a bus, etc.

テーマIDは、ルール情報に基づき実行される処理のテーマ、すなわちルール情報により提供されるサービスのテーマを示す識別情報である。テーマの例は、これらに限定されないが、セキュリティ(ID=T1)、効率化(ID=T3)、快適、安心、シェア拡大(ID=T2)、自動化、お金儲け/節約、娯楽(ID=T4)、健康(ID=T5)、便利等を含む。 The theme ID is identification information that indicates the theme of the process executed based on the rule information, i.e., 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, market share expansion (ID=T2), automation, making/saving money, entertainment (ID=T4), health (ID=T5), convenience, etc.

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

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

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

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

エッジコンピュータ6のユーザがルール情報を作成する際、ルール作成部112は、ルール作成のためのガイダンス画面を表示装置104に表示してもよい。ルール作成部112は、ガイダンス画面に従って作成者が入力装置102から入力又は選択した情報に基づきルール情報を作成する。ここでは、ガイダンス画面に従ってルール情報を作成する例を示したが、ガイダンス画面を利用せずに、ユーザがルール作成に必要な情報を直接に入力して、ルール情報を作成してもよい。 When a 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 that the creator inputs or selects from the input device 102 in accordance with the guidance screen. Here, an example is shown in which rule information is created in accordance with the guidance screen, but the user may also create rule information by directly inputting information necessary for rule creation without using the guidance screen.

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

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

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

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

ルール公開サイトは、指定した推奨度情報についてのルール情報のランキング表の表示を要求する表示要求信号を受信すると、複数のルール情報が推奨度情報の値の大きい順に並んだランキング情報をルール一覧画面情報としてエッジコンピュータ6に送信する。 When the rule disclosure site receives a display request signal requesting the display of a ranking table of rule information for the specified recommendation level information, it transmits ranking information in which multiple rule information items are arranged in descending order of recommendation level information value to the edge computer 6 as rule list screen 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 acquisition 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 rule information from the displayed ranking table, the rule acquisition unit 114 sends a download request signal to the transmission unit 106, requesting the download of the selected rule information. The transmission unit 106 transmits the download request signal to the rule publication site via the network 18.

ルール公開サイトは、選択されたルール情報のダウンロード要求信号を受信すると、選択されたルール情報をエッジコンピュータ6に送信する。 When the rule publication site receives a download request signal for the selected rule information, it 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 the rule information to the rule memory 28. The rule memory 28 stores the rule information.

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

ルールエンジン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の制御手段である。 The status monitor 134 of the rule engine 26 is connected to the microservices 10A and 10B. The microservice 10A is connected to the IF module 8A via the network 18. The microservice 10B is connected to the THEN module 8B via the network 18. Note that although the network connecting the edge computer 6 and the cloud server 2 and the network connecting the edge computer 6 and the IF module 8A and the THEN module 8B are shown as the same network in the example of FIG. 1, they may be different networks. The microservices 10A and 10B are control means for the IF module 8A and the THEN module 8B, which are configured by a program 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 ease of explanation, FIG. 1 shows a single IF module 8A and a single THEN module 8B, but multiple IF modules 8A and multiple corresponding microservices 10A may be provided, or multiple THEN modules 8B and multiple corresponding microservices 10B may be provided. When configuring an IoT system that provides one service, at least two modules, at least one IF module 8A and at least one THEN module 8B, are required. Also, if one module has the function of detecting a state and executing processing, one module is sufficient. For example, by using an illuminance sensor with an LED, an IoT system can be realized that follows rule information that turns on an LED when the illuminance is above a threshold.

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

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

IFモジュール8A、THENモジュール8Bは実空間上のモジュールと、サイバ空間上のモジュールを含む。実空間上のモジュールの例は、これらに限定されないが、センサ、ビーコン、家電、スマートフォンやタブレット等の携帯端末、HMD(head mounted display)、IoT機器及びGPS衛星を含む。実空間上のモジュールは、図1に示すようにエッジコンピュータ6の外部に配置されるモジュールと、図1には示さないがエッジコンピュータ6に内蔵されるモジュールを含む。内蔵されるモジュールの例は、これらに限定されないが、温度センサ、圧力センサ及びジャイロを含む。 The IF module 8A and the THEN module 8B include modules in the real space and modules in the cyber space. Examples of modules in the 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. Modules in the real space include modules that are placed outside the edge computer 6 as shown in FIG. 1, and modules that are built into the edge computer 6 but are not shown in FIG. 1. Examples of built-in 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, user services that are realized by web service servers or IoT service servers, such as automatic buying and selling of securities (specific stocks), ordering of specific products and automatic transfer of the received product price (billing process), application for purchasing movie or music tickets, and application for reservation of 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 state monitor 134 periodically requests the microservice 10A corresponding to the IF module 8A described in the IF section of the rule information to detect the state, and receives a detection signal from the microservice 10A. When the state monitor 134 receives a detection request from the microservice 10A, it determines whether the state detected by the IF module 8A matches a specific state described in the IF section of any of the valid rule information stored in the rule memory 28, and sends the determination result to the process startup unit 136.

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

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

実行履歴管理部118は、処理起動部136から出力される制御信号に基づいて実行履歴情報を作成し、実行履歴情報を履歴メモリ124に書き込むとともに、実行履歴情報を送信部106へ送る。履歴メモリ124は実行履歴情報を記憶する。実行履歴は、THEN部に記載の処理の実行の履歴を示すものであり、ルール情報の利用の履歴を示すものでもある。実行履歴情報の例は、図5を参照して後述する。 The execution history management unit 118 creates execution history information based on a control signal output from the process startup unit 136, writes the execution history information to the history memory 124, and sends the execution history information to the transmission unit 106. The history memory 124 stores the 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. 5.

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

ユーザは、ルール情報の評価を示すテキスト情報を入力装置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 for the rule information based on the text information input from the input device 102. The evaluation information includes character strings such as comments, evaluation values, etc. There is no limit to the time when the evaluation information is created. The user can instruct the edge computer 6 to create the evaluation information or the time of creation using the input device 102.

評価管理部116は、評価情報の作成が指示されると、エッジコンピュータ6が記憶していて、ルールメモリ28に記憶されているルール情報と履歴メモリ124に記憶されている実行履歴に基づいて、過去に利用したルール情報(THEN部に記載の処理が実行されたルール情報)の一覧を表示装置104に表示させ、その一覧の中のルール情報の評価情報を入力することを許可するとともに、評価情報の入力を促す。すなわち、ルール情報の評価情報は、そのルール情報を実際に利用したユーザのみが入力可能であり、ルール情報を利用していない人が評価情報を入力することは不可である。これにより、評価情報の信憑性を高めることができる。 When the evaluation management unit 116 is instructed to create evaluation information, it causes the display device 104 to display a list of previously used rule information (rule information for which the processing described in the THEN section has been executed) 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, and permits the input of evaluation information for rule information in the list, while also prompting the input of evaluation information. In other words, evaluation information for rule information can only be input by users who have actually used that rule information, and evaluation information cannot be input by people who have not used the rule information. This can increase the credibility of the evaluation information.

なお、過去に使用したルール情報の一覧表示は必須ではなく、ユーザがルール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, too, the evaluation management unit 116 does not allow rule information that has not actually been used to be selected and evaluation information to be input.

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

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

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

ルールメモリ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 composed of one memory, the area of the single memory may be divided into three, and rule information, execution history information, and evaluation information may be stored in each divided area. When composed of three memories, they may be composed of three independent memory devices, or may be composed of 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 may create the rule information instead of the edge computer 6. Furthermore, the rule information may be created and managed by another electronic device (e.g., a personal computer or another edge computer) connected to the edge computer 6 via the network 18, rather than the edge computer 6 or the cloud server 2. 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 and using the rule information. However, the other electronic device may have a function of creating rule information but not a function of using it, that is, it may not have a rule engine. The process of creating rule information in the other electronic device is similar to the process of creating rule information in the edge computer 6, so this specification describes the operation of creating rule information in the edge computer 6.

上記の説明は、ルール作成者とルール利用者が別の人である場合を想定したが、ルール作成者とルール利用者が同一人でもよい。この場合、エッジコンピュータ6で作成されたルール情報はクラウドサーバ2に登録しなくてもよい。しかし、上記の説明と同様に、ルール情報がエッジコンピュータ6からクラウドサーバ2に送信され、クラウドサーバ2に登録された後、クラウドサーバ2からエッジコンピュータ6にダウンロードされるようにしてもよい。 The above explanation assumes that the rule creator and the rule user are different people, but 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, similar 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に示すデータ構造のルール情報にルールの有効/無効、有効とする期間/時間帯等の欄を追加してもよい。 The rule information stored in the rule memory 28 is used automatically in principle, but there are cases where a large amount of rule information is stored in the rule memory 28 and it is not necessary to use all of the rule information all the time. For example, there are cases where certain rule information is not desired to be used at night. The rule management unit 132 may set the rule information to be used from the large amount of rule information stored in the rule memory 28 as valid rule information based on a user instruction from the input device 102. Invalid rule information is not used. The user is not limited to selecting valid/invalid, and when validating, can also specify the period/time period, etc. for validity. Columns for valid/invalid rules, period/time period for validity, etc. may be added to the rule information of the data structure shown in FIG. 2.

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

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

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

多数のエッジコンピュータ6からクラウドサーバ2に多数の実行履歴情報が送信されると、異なるユーザID、異なる利用デバイスIDの多数の実行履歴情報がクラウドサーバ2のサーバメモリ38に蓄積される。ユーザ属性と利用デバイスIDと利用位置IDは、クラウドサーバ2がランキング表を表示する際、ユーザにより指定されると、指定された項目に基づいて絞り込まれたランキング表の表示が可能となる。あるいは、ユーザがルール公開サイトが持っているルール情報を検索したい時に、ユーザ属性と利用デバイスIDと利用位置IDを検索キーワードとして使用し得る。 When a large number of pieces of execution history information are sent from a large number of edge computers 6 to the cloud server 2, a large number of pieces of execution history information with different user IDs and different usage device IDs are stored in the server memory 38 of the cloud server 2. When the cloud server 2 displays a ranking table, if the user specifies the user attributes, usage device ID, and usage location ID, it becomes possible to display a ranking table that is narrowed down based on the specified items. Alternatively, when a user wants to search for rule information held by the rule disclosure site, the user attributes, 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単位で設定可能である。数値は、評価が高い程、大きい。なお、コメントと評価のいずれか一方の入力を省略してもよい。 A user can input comments and evaluations for the rule information that he or she has used. The comments and evaluations may be rule comments and rule evaluations for the entire rule information, IF module comments and IF evaluations for IF module 8A, or THEN module comments and TNEN module evaluations for THEN module 8B. An example of a rule comment is "This rule realizes a good solution to the problem called 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, and can be set in increments of 0.1, with a maximum value of 5.0, for example. The higher the evaluation, the larger the numerical value. It is possible to omit input of either the comment or the evaluation.

評価管理部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 with the data structure shown in FIG. 6. The evaluation information consists of multiple items. The items of the evaluation information include, but are not limited to, rule ID, user ID, rule comment, rule evaluation, IF module comment, IF module evaluation, THEN module comment, THEN module evaluation, etc., as examples. The comments are text, and the evaluations are numerical. The rule comment, rule evaluation, IF module comment, IF module evaluation, THEN module comment, THEN module evaluation, 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 rather the AI may analyze the characters contained in the rule comment, IF module comment, and THEN module comment to determine the evaluation.

図6に示す評価情報は、一つのエッジコンピュータ6が作成するので、ユーザIDは同じユーザを示す。評価情報の各項目は、後述するルール推奨処理において利用され得る。評価情報の各項目は、ルール情報の検索においても、キーワードとして利用され得る。 The evaluation information shown in FIG. 6 is created by one edge computer 6, so the user ID indicates the same user. Each item of the evaluation information can be used in the rule recommendation process described below. Each item of the evaluation information can also be used as a keyword when searching 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. When instructed to do so by a user, the evaluation management unit 116 may transmit the evaluation information to the cloud server 2, or may transmit a fixed number of pieces of evaluation information to the cloud server 2 each time a fixed number of pieces of evaluation information are stored in the evaluation memory 122, or may transmit the evaluation information stored in the evaluation memory 122 to the cloud server 2 at fixed time intervals. Note that, for 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, the evaluation information input using another device (e.g., a personal computer) may be transmitted to the cloud server 2.

多数のエッジコンピュータ6からクラウドサーバ2に多数の評価情報が送信されると、同じルールに関する異なるユーザによる評価情報がクラウドサーバ2に蓄積される。ルール作成者は、自分が作成したルール情報の評価情報を閲覧することができるようになっている。 When a large number of pieces of evaluation information are sent from a large number of edge computers 6 to the cloud server 2, evaluation information by different users regarding the same rule is accumulated in the cloud server 2. The rule creator is able to view the evaluation information for the rule information that he or she 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 has a first receiving unit 202, a rule writing unit 204, a history writing unit 206, an evaluation writing unit 208, a ranking processing unit 210, a server memory 38, a second receiving unit 232, a request determination unit 234, a rule selection unit 236, a rule list screen creation unit 238, and a transmission unit 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からルール情報、実行履歴情報及び評価情報を受信する。 The rule memory 222 stores rule information. The history memory 224 stores execution history information. The evaluation memory 226 stores evaluation information. The ranking memory 228 stores ranking information. The ranking information includes first usage count ranking information, second usage count ranking information, and third usage count ranking information. The first usage count ranking information, second usage count ranking information, and third usage count 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 that can be connected to the cloud server 2.

クラウドサーバ2の動作は、ルール登録時の動作とルール配信時の動作を含む。ルール登録とは、全てのエッジコンピュータ6により作成され、エッジコンピュータ6からクラウドサーバ2に送信されたルール情報を受信し、ルールメモリ222に記憶させることを含む。エッジコンピュータ6ではなくクラウドサーバ2がルール情報を作成する場合、ルール登録は、クラウドサーバ2で作成したルール情報をルールメモリ222に書き込むことを含む。ルール登録は、エッジコンピュータ6からの指示により実行される。 The operations of the cloud server 2 include operations during rule registration and rule distribution. Rule registration includes receiving rule information created by all 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 creates rule information instead of the edge computers 6, rule registration includes writing the rule information created by the cloud server 2 to the rule memory 222. Rule registration is executed in response to an instruction 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 received by the first receiving unit 202 from all edge computers 6 into the rule memory 222. When the rule writing unit 204 receives the rule information, it may transfer the rule information to an authentication authority (not shown) and request authentication. If the condition described in the IF section is met, the authentication authority determines whether or not the THEN module described in the THEN section can correctly execute processing. The rule writing unit 204 may write the rule information that has been authenticated by the authentication 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 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 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 counts the execution date and time information in the execution history information stored in the history memory 224 for each rule, calculates the number of times each rule is used, and writes the number of times of use ranking information to the ranking memory 228. The ranking processing unit 210 counts 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 to the ranking memory 228. An example of the counting includes calculating an average value. The ranking processing unit 210 will be described in detail 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 a single memory, the area of the single memory may be divided into four, and the rule information, execution history information, evaluation information, and ranking information may be stored in each divided area. However, the rule memory 222, history memory 224, evaluation memory 226, and ranking memory 228 may be configured from four memories. When configured from four memories, they may be configured from four independent memories. The rule memory 222, history memory 224, evaluation memory 226, and ranking memory 228 may be configured from two or more memories used as a single memory.

第2受信部232は、エッジコンピュータ6からの要求信号を受信する。要求信号は、ルール一覧画面の表示を要求する表示要求信号であるか又は選択したルール情報のダウンロードを要求するダウンロード要求信号である。ダウンロード要求信号は、ルール情報のダウンロードを要求する旨の情報とダウンロード対象のルール情報を特定する情報を有する。 The second receiving unit 232 receives a request signal from the edge computer 6. The request signal is either a display request signal requesting the display of a rule list screen or a download request signal requesting the download of selected rule information. The download request signal includes information requesting the download of rule information and information identifying 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 sends the request signal to the rule list screen creation unit 238, and if the request signal is a download request signal, the request determination unit 234 sends the request signal to the rule selection unit 236.

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

ルール選択部236は、要求判定部234からダウンロード要求信号を受信すると、ダウンロード対象のルール情報をルールメモリ222から読み出し、ルール情報を送信部242へ送る。 When the rule selection unit 236 receives a 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 transmission unit 242 transmits the rule list screen information or rule information to the edge computer 6 that is the sender 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. After that, when at least one piece of rule information is selected from the rule list screen, 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に送信する処理は行う。 The division of the functions of the edge computer 6 and the cloud server 2 is not limited to the examples shown in FIG. 1 and FIG. 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 including both functions may be provided. For example, a configuration corresponding to the microservices 10A and 10B, the application 20, the rule memory 28, the transmission unit 106, the reception unit 108, the evaluation memory 122, and the history memory 124 in FIG. 1 may be implemented in the cloud server 2. In this case, the cloud server 2 determines whether the state detected by the IF module 8A matches a specific state described in the IF section of any of the valid rule information stored in the rule memory 28, and if they match, a process is performed to transmit an execution instruction signal to the microservice 10B corresponding to the THEN module 8B to cause the THEN module 8B to execute the process described in the THEN section of the rule information.

(ルール一覧表示)
ランキング処理部210はルール情報毎の推奨度情報を算出して、ランキングメモリ228に書き込む。ランキング処理部210は、複数のルール情報を推奨度情報に基づいてその値の大きい順に並べてランキング情報を作成する。
(List of rules)
The ranking processing unit 210 calculates recommendation level 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 rule information in descending order of value based on the recommendation level information.

ランキング処理部210は、集計タイミングになると、履歴メモリ224に記憶されている全てのエッジコンピュータ6からの実行履歴情報をルールID毎に集計して、ルール情報毎の累計の利用回数と一定期間内の利用回数を算出する。集計タイミングは、履歴メモリ224に実行履歴情報が書き込まれる毎でもよいし、一定期間毎でもよい。 When it is time to tally up the execution history information from all edge computers 6 stored in the history memory 224, the ranking processing unit 210 tally up the execution history information 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. The tallying up may be done every time execution history information is written to the history memory 224, or may be done at regular intervals.

ランキング処理部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 of time, and arranges the multiple rule information in order of most frequently used to calculate first number of uses ranking information, and writes the first number of uses ranking information to the ranking memory 228. Alternatively, the timing of the aggregation may be when the ranking information is requested. In other words, the ranking processing unit 210 may calculate the ranking information when requested, without calculating the ranking information in advance and writing it to the ranking memory 228.

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

利用回数に関する第1ルール一覧画面の表示要求がエッジコンピュータ6からクラウドサーバ2に送信されると、ルール一覧画面作成部238は、ランキングメモリ228から、例えば図8に示す第1利用回数ランキング情報を読み出し、第1利用回数ランキング情報に基づき第1利用回数ランキング表信号を作成し、第1利用回数ランキング表信号をルール一覧画面信号としてエッジコンピュータ6に送信する。 When a display request for a first rule list screen related to the number of uses is sent from the edge computer 6 to the cloud server 2, the rule list screen creation unit 238 reads out the first number of uses ranking information, for example as shown in FIG. 8, from the ranking memory 228, creates a first number of uses ranking table signal based on the first number of uses ranking information, and sends the first number of uses ranking table signal 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 count ranking table shown in FIG. 9. In the first usage count ranking table, multiple rule information (each rule information consists of a rule name and usage count) are arranged in order of the most cumulative usage count, but may also be arranged in order of the most cumulative usage count within a certain period of time. Whether to display the ranking table of cumulative usage count or the ranking table of usage count within a certain period of time can be specified by the display request for the first rule list screen sent from the edge computer 6.

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

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

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

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

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

図11は、第3利用回数ランキング情報の一例を示す。なお、ルール属性の項目は、対象者、シーン、テーマ及び課題を全て含む必要は無く、これらのうちの少なくとも一つを含めばよい。 Figure 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, but may include at least one of these.

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

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

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

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

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

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

エッジコンピュータ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, multiple rule information (each rule information is composed 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, but they may also be arranged in descending order of IF module evaluation aggregate value or THEN module evaluation aggregate value. The order of the rule evaluation, IF module evaluation, or THEN module evaluation to be displayed in the ranking table can be specified by a display request for the rule list screen sent from the edge computer 6.

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

図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 count ranking information shown in FIG. 10.

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

上述の説明では、ランキング処理部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 pre-arranged in relation to specific recommendation level information, writes the ranking information in the ranking memory 228, and reads the ranking information from the ranking memory 228 when a rule list display request is received from the edge computer 6. However, in the ranking information stored in the ranking memory 228, the rule IDs do not need to be arranged in descending order of recommendation level information value. The ranking processing unit 210 may write ranking information in which the rule IDs are simply associated with the recommendation level information in the ranking information read from the ranking memory 228. The rule list screen creation unit 238 may create a list screen after rearranging the rule IDs in the ranking information read from the ranking memory 228 in descending order of recommendation level information value.

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

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

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

なお、ルール作成者IDを図13に示す評価ランキング情報に追加しても、同様な効果が得られる。 The same effect can be achieved by adding the rule creator ID to the evaluation ranking information shown in Figure 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の一方のみを追加してもよい。 Also, 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, a rule evaluation ranking table as shown in FIG. 17 is displayed. The ranking table shown in FIG. 17 differs in that the IF module evaluation aggregate value of each rule information in the rule evaluation ranking table shown in FIG. 14 has been changed to the IF module ID, and the THEN module evaluation aggregate value has been 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, multiple rule information are arranged in order of frequency of use, regardless of the IF module or THEN module. When an IF module ID or THEN module ID is clicked in the display area of each rule information in the ranking table shown in FIG. 17, the ranking table changes to a frequency of use ranking table limited to rule information that uses the clicked IF module or THEN module, as shown in FIG. 18. Therefore, it is possible to display a frequency of use ranking table of rule information that uses IF modules or THEN modules that are used frequently. Since it is considered safe to select rule information that uses IF modules or THEN modules that are used frequently, displaying the frequency of use ranking table shown in FIG. 18 is useful for selecting rule information.

IFモジュールIDとTHENモジュールIDを利用開始ランキング情報に追加するのではなく、評価ランキング情報に追加しても、同様な効果が得られる。 The same effect can be achieved by adding the IF module ID and THEN module ID to the evaluation ranking information instead of adding them to the usage start 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 the recommendation level information. The display control unit is only required to generate the final display screen based on the recommendation level information, and there are no limitations on the display screen and the process for generating it. The final display screen is not limited to the above-mentioned number of use ranking table and evaluation ranking table, and there is no limitation on its form as long as it displays rule information that is recommended to the user, and the ranking table can be modified in various ways. 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, but may also directly obtain a ranking table from the recommendation level information.

推奨度情報の変形例を説明する。 Explains modified examples of recommendation level information.

上述の説明では、利用回数や評価に関する推奨度情報が用いられたが、作成日時に関する推奨度情報が用いられてもよい。すなわち、作成日時が新しい順に並べられたルール一覧画面を表示してもよい。この場合は、クラウドサーバ2にランキング処理部210、ランキングメモリ228を設けることは不要であり。ルール一覧画面作成部238はルールメモリ222から作成日時の新しい順にルール情報を読み出して、一覧画面を生成すればよい。 In the above explanation, recommendation level information related to the number of times of use and evaluation was used, but recommendation level information related to the creation date and time may also be used. In other words, a rule list screen in which the rules are arranged in order of most recent creation date and time may be displayed. In this case, it is not necessary to provide the ranking processing unit 210 and ranking memory 228 in the cloud server 2. The rule list screen creation unit 238 simply reads out the rule information from the rule memory 222 in order of most recent creation date and time, and generates the 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 that it owns. The edge computer 6 may send these IDs to the cloud server 2, for example, along with a request to display a rule list. The cloud server 2 can search for rule information that uses the IF modules and THEN modules that the user owns from the rule information stored in the rule memory 222, and generate a rule list screen consisting of the searched rule information. In other words, it is possible to recommend to the user rule information that can be used with only the IF modules and THEN modules that the user currently owns. The user can create an IoT system without purchasing new modules.

実行履歴情報として、実行日時や利用位置IDを含めた場合には、クラウドサーバ2は、これらを分析して、このルール情報は何月何日何時頃利用されることが多いこと又はこのルール情報は何処で利用されることが多いことを知ることができる。この知識をルール一覧作成に利用すると、より効率的なルール情報を推奨することができる。すなわち、クラウドサーバ2は、ルール一覧画面表示の要求信号の送信日時に利用されることが多いルール情報又はルール一覧画面表示の要求信号の送信場所で利用されることが多いルール情報を実行履歴情報に基づいて抽出することができる。あるいは、エッジコンピュータ6は、ルール一覧画面表示の要求信号の送信の際、利用日時又は利用場所を指定すると、クラウドサーバ2は、指定された日時又は指定された場所で利用されることが多いルール情報の一覧画面を作成することができる。 When the execution date and time or the usage location ID is included as the execution history information, the cloud server 2 can analyze them to know what date and time this rule information is often used, or where this rule information is often used. By using this knowledge in creating a rule list, more efficient rule information can be recommended. That is, the cloud server 2 can extract rule information that is often used at the date and time when the request signal for displaying the rule list screen was sent, or rule information that is often used at the location where the request signal for displaying the rule list screen was sent, based on the execution history information. Alternatively, when the edge computer 6 sends a request signal for displaying the rule list screen, the edge computer 6 specifies the usage date and time or usage location, and the cloud server 2 can create a list screen of rule information that is often used at the specified date and time or location.

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

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

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

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

ルール作成者がいずれかのIFモジュールのアイコンを選択すると、ルール作成部112は、図20(c)に示すIF部の条件設定画面を表示する。ここでは、IFモジュールとして「ボタン」が選択された例を説明する。条件設定画面は、条件の選択肢と「進む」ボタン312を含む。条件として「ボタンを押すと」が選択されると、IFパラメータの選択肢としてシングルクリック、ダブルクリック及びロングクリックがさらに表示される。IFパラメータが選択されると、図示していないが、IFサイクルの選択肢もさらに表示され、IFサイクルも設定される。 When the rule creator selects any of the IF module icons, the rule creation unit 112 displays the IF section condition setting screen shown in FIG. 20(c). Here, an example is described in which "Button" is selected as the IF module. The condition setting screen includes condition options and a "Next" button 312. When "When the button is pressed" is selected as the condition, single click, double click, and long click are further displayed as IF parameter options. When an IF parameter is selected, although not shown, IF cycle options are further displayed 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 "Next" button 312, the rule creation unit 112 displays the end screen for setting IF conditions 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 for 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 may be cases where multiple conditions, such as "temperature is 25 degrees or higher" and "humidity is 80% or higher", are to be included 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 setting process of the IF section described above is executed again, and the multiple conditions are set in one piece of rule information. Note that the multiple conditions may be AND conditions or OR conditions. When the setting process of the IF section is executed again, an option is also set as to whether the multiple conditions are AND conditions or OR conditions. When the multiple conditions are AND conditions, the process described in the THEN section will not be executed unless all of the multiple conditions are satisfied. When the multiple conditions are OR conditions, the process described in the THEN section will be executed if any one of the multiple conditions is satisfied.

ルール作成者が、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 unit 112 displays the THEN module selection screen shown in FIG. 21(b) in step S108 and performs the setting process for the THEN section. The selection screen is a list of icons and names of THEN modules, and the list can be scrolled up and down. THEN modules may be grouped by function or type. The names may be in alphabetical order, or in order of frequency of use.

ルール作成者がいずれかのTHENモジュールを選択すると、ルール作成部112は、図21(c)に示すTHEN部の処理設定画面を表示する。ここでは、THENモジュールとしてLEDが選択された例を説明する。処理設定画面は、処理の選択肢と「進む」ボタン316を含む。処理として「光る」が選択されると、THENパラメータの選択肢として発光パターン、例えば「100ms毎に点滅」がさらに表示される。 When the rule creator selects any of the THEN modules, the rule creation unit 112 displays the process setting screen for the THEN unit shown in FIG. 21(c). Here, an example will be described in which LED has been selected as the THEN module. The process setting screen includes process options and a "Next" button 316. When "Light up" is selected as the process, a light emission pattern, for example, "Blink 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 "Next" button 316, the rule creation unit 112 displays the setting completion screen for the THEN section shown in FIG. 22(a). The setting completion 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 "Next" button 322.

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

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

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

ルール作成者が送信ボタン326を選択すると、ルール作成部112は、ステップS114で、ルール情報を送信部106へ送る。送信部106は所定のタイミングでルール情報をクラウドサーバ2へ送信する。 When the rule creator selects the send button 326, the rule creation unit 112 sends the rule information to the transmission unit 106 in step S114. The transmission unit 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 large amount of rule information sent from each edge computer 6 in the rule memory 222.

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

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

クラウドサーバ2では、表示要求信号を受信すると、ルール一覧画面作成部238は、ステップS142で、指定された推奨度情報に関するランキング情報をランキングメモリ228から読み出し、読み出したランキング情報に基づいてルール一覧画面信号を生成し、ルール一覧画面信号を送信部242を介してエッジコンピュータ6に送信する。 In the cloud server 2, when the display request signal is received, the rule list screen creation unit 238 reads out the ranking information related to the specified recommendation level information from the ranking memory 228 in step S142, generates a rule list screen signal based on the read out ranking information, and transmits the rule list screen signal to the edge computer 6 via the transmission unit 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, in step S124, displays the ranking table shown in FIG. 9, FIG. 12, FIG. 14, or FIG. 15 on the display device 104 based on the rule list screen signal.

ユーザは、ランキング表の中から希望するルール情報を選択する。ユーザは、場合によっては、画面をスクロールしてランキング表を見る。しかし、ランキング表からルール情報を選択できない場合、ユーザは表示されているランキング表を異なる種類のランキング表に変更することを要求することができる。ルール取得部114は、ユーザからの指示に基づいて、ステップS122を再度実行し、他の推奨度情報を指定する表示要求信号をクラウドサーバ2に送信してもよい。例えば利用回数ランキング表から評価ランキング表に変更する、またはその逆に変更することが可能である。さらに、同じ推奨度情報に関するランキング表でも、特定のユーザ、特定のルール作成者、特定のルール属性、特定のIFモジュール又はTHENモジュールについての絞り込んだランキング表に変更する場合も可能である。この場合も、ルール取得部114は、ユーザからの指示に基づいて、ステップS122を再度実行し、ランキング表を絞り込む要求信号をクラウドサーバ2に送信してもよい。 The user selects the desired rule information from the ranking table. In some cases, the user scrolls the screen to view the ranking table. However, if the user cannot select rule information from the ranking table, the user can request to change the displayed ranking table 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 send a display request signal specifying other recommendation level information to the cloud server 2. For example, it is possible to change from a usage count 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 it to a ranking table narrowed down to a specific user, a specific rule creator, a specific rule attribute, a specific IF module, or a THEN module. In this case, the rule acquisition unit 114 may execute step S122 again based on an instruction from the user, and send 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に送信する。 When the cloud server 2 receives the download request signal, the rule selection unit 236 reads the requested rule information from the rule memory 222 in step S144 and transmits the rule information to the edge computer 6 via the transmission unit 242.

エッジコンピュータ6では、ルール情報を受信すると、ルール管理部132は、ステップS128で、ルール情報をルールメモリ28に書き込む。 When the edge computer 6 receives the rule information, the rule management unit 132 writes the rule information to 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も用意されているとする。
(Rules Use)
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 out the rule information stored in the rule memory 28 and sends the read rule information to the state monitor 134 and the process startup unit 136. If the rule information is set to valid/invalid or a valid period, the rule management unit 132 reads out only the currently valid rule information. Here, it is assumed that a plurality of IF modules 8A and a THEN module 8B are prepared. It is also assumed that a plurality of microservices 10A corresponding to the plurality of IF modules 8A, respectively, and a plurality of microservices 10B corresponding to the plurality of THEN modules 8B, respectively, are 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 sends a status detection request signal to the microservice 10A corresponding to the IF module ID specified in the rule information sent from the rule management unit 132, to detect the status of the IF module 8A at a specified period in the IF cycle. The microservice 10A periodically sends a status detection request signal to the corresponding IF module 8A, causing the IF module 8A to detect the status. The IF module 8A detects the status in response to the request signal, and sends a status 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 sent 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 (taking into account the IF parameters) described in the IF section of any rule information. If the state monitor 134 determines that the state does not satisfy the conditions, it executes the process of step S154 again.

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

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

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

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

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

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

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

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

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...microservices, 18...network, 26...rule engine, 28...rule memory, 204...rule writing unit, 206...history writing unit, 208...evaluation writing unit, 210...ranking processing unit, 222...rule memory, 224...history memory, 226...evaluation memory, 228...ranking memory, 236...rule selection unit, 238...rule list screen creation unit.

Claims (7)

複数のセンサと複数の処理モジュールに接続される電子装置は、
前記複数のセンサの中の少なくとも1つのセンサのセンス結果が特定の結果である場合、前記複数の処理モジュールの中の少なくとも1つの処理モジュールが前記センス結果に連携した動作を実行するように関連付けした複数のルール情報を記憶する記憶部と、
前記複数のルール情報に含まれるルール識別情報を表示する表示画面を生成する表示制御部と、を具備し、
前記複数のルール情報のそれぞれは、
ルール情報の作成者の識別情報と、
前記ルール情報の属性情報を含み、
前記属性情報は、
前記ルール情報により提供されるサービスが利用されるシーンを示す第1の識別情報と、
前記ルール情報により提供される前記サービスのテーマを示す第2の識別情報と、
前記ルール情報により提供される前記サービスにより解決される課題を示す第3の識別情報と、を少なくとも含む、
電子装置。
An electronic device connected to a plurality of sensors and a plurality of processing modules
a storage unit that stores a plurality of rule information items associated with a sense result of at least one sensor among the plurality of sensors such that, 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 executes an operation associated with the sense result;
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 includes:
Identification information of the creator of the rule information;
The rule information includes attribute information,
The attribute information is
First identification 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.
Electronic device.
前記センサ及び又は前記処理モジュールは、マイクロサービスとネットワークを介して接続されている、請求項1記載の電子装置。 The electronic device of 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 publishing site and stored in a storage unit. 前記ルール公開サイトをアクセスして、ルール一覧画面に公開されているルールをみて、前記ルール情報を選択する手段を備える、請求項3記載の電子装置。 The electronic device according to claim 3, further comprising a means for accessing the rule publication site, viewing the rules published on a rule list screen, and selecting the rule information. さらに前記ルール情報を作成するためのルール作成部を含み、
前記ルール作成部は記憶部に対して、
1つのルール識別情報に対応させて、センサ(IFモジュール)の識別情報と処理モジュール(THENモジュール)の識別情報を特定する第1、第2の記憶領域と、
前記センサ(IFモジュール)のセンシング内容と、前記処理モジュール(THENモジュール)の処理内容を記述する第3、第4の記憶領域を含む、
請求項1記載の電子装置。
Further, a rule creating unit for creating the rule information,
The rule creating unit,
a first storage area and a second storage area for specifying identification information of a sensor (IF module) and identification information of a processing module (THEN module) in association with one rule identification information;
a third and fourth memory area for describing the sensing contents of the sensor (IF module) and the processing contents of the processing module (THEN module);
2. The electronic device of claim 1.
複数のセンサと複数の処理モジュールとインターネットに接続される電子装置システムは、
前記複数のセンサの中の少なくとも1つのセンサのセンス結果が特定の結果である場合、前記複数の処理モジュールの中の少なくとも1つの処理モジュールが前記センス結果に連携した動作を実行するように関連付けした複数のルール情報を記憶する記憶部と、
前記複数のルール情報に含まれるルール識別情報を表示する表示画面を生成する表示制御部と、を具備し、
前記複数のルール情報のそれぞれは、
ルール情報の作成者の識別情報と、
前記ルール情報の属性情報を含み、
前記属性情報は、
前記ルール情報により提供されるサービスが利用されるシーンを示す第1の識別情報と、
前記ルール情報により提供される前記サービスのテーマを示す第2の識別情報と、
前記ルール情報により提供される前記サービスにより解決される課題を示す第3の識別情報と、を少なくとも含み、
前記センサ及び又は前記処理モジュールが、マイクロサービスを介して前記インターネットに接続されている、
電子装置システム。
An electronic device system connected to a plurality of sensors, a plurality of processing modules, and the Internet,
a storage unit that stores a plurality of rule information items associated with a sense result of at least one sensor among the plurality of sensors such that, 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 executes an operation associated with the sense result;
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 includes:
Identification information of the creator of the rule information;
The rule information includes attribute information,
The attribute information is
First identification 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,
The sensor and/or the processing module are connected to the Internet via microservices.
Electronic equipment system.
複数のセンサと複数の処理モジュールに接続される電子装置の制御方法は、
前記複数のセンサの中の少なくとも1つのセンサのセンス結果が特定の結果である場合、前記複数の処理モジュールの中の少なくとも1つの処理モジュールが前記センス結果に連携した動作を実行するように関連付けした複数のルール情報を記憶部に記憶し、
前記複数のルール情報に含まれるルール識別情報を表示する表示制御部が表示画面を生成し、
前記複数のルール情報のそれぞれは、
ルール情報の作成者の識別情報と、
前記ルール情報の属性情報を含み、
前記属性情報は、
前記ルール情報により提供されるサービスが利用されるシーンを示す第1の識別情報と、
前記ルール情報により提供される前記サービスのテーマを示す第2の識別情報と、
前記ルール情報により提供される前記サービスにより解決される課題を示す第3の識別情報と、を少なくとも含むみ、
前記センサと前記処理モジュールを前記ルール情報により連携させるようにした、
電子装置の制御方法。
A method for controlling an electronic device connected to a plurality of sensors and a plurality of processing modules, comprising:
storing a plurality of rule information items in a storage unit, the rule information items being associated with at least one of the plurality of processing modules so that, when a sensed result of at least one of the plurality of sensors is a specific result, at least one of the plurality of processing modules executes an operation associated with the sensed result;
a display control unit that displays rule identification information included in the plurality of pieces of rule information, generating a display screen;
Each of the plurality of rule information includes:
Identification information of the creator of the rule information;
The rule information includes attribute information,
The attribute information is
First identification 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;
The sensor and the processing module are linked by the rule information.
A method for controlling an electronic device.
JP2023210082A 2020-09-24 2023-12-13 Electronic Devices and Systems Active JP7631490B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023210082A JP7631490B2 (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 JP7631490B2 (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 (2)

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

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 Active JP7631490B2 (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)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011180946A (en) 2010-03-03 2011-09-15 Oki Electric Industry Co Ltd Sensor data providing system, method and device
JP2014153797A (en) 2013-02-06 2014-08-25 Omron Corp Device information providing system and device information providing method
JP2018157455A (en) 2017-03-21 2018-10-04 株式会社リコー Mediation device, information processing system, program, and data structure

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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011180946A (en) 2010-03-03 2011-09-15 Oki Electric Industry Co Ltd Sensor data providing system, method and device
JP2014153797A (en) 2013-02-06 2014-08-25 Omron Corp Device information providing system and device information providing method
JP2018157455A (en) 2017-03-21 2018-10-04 株式会社リコー Mediation device, information processing system, program, and data structure

Also Published As

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

Similar Documents

Publication Publication Date Title
Ricci Mobile recommender systems
US8675912B2 (en) System and method for initiating actions and providing feedback by pointing at object of interest
JP6300295B2 (en) Friend recommendation method, server therefor, and terminal
US9430498B2 (en) Methods and systems for generating a digital celebrity map tour guide
CN102521019B (en) Information is provided to user based on context
KR101687927B1 (en) Obtaining event reviews
Hjorth The place of the emplaced mobile: A case study into gendered locative media practices
CN102693261A (en) Providing applications with personalized and contextually relevant content
KR20170091142A (en) Web content tagging and filtering
CN113313552A (en) Recommendation processing method and device
TWI649664B (en) Terminal device, server device, and program for recording an operation by an image
KR101604654B1 (en) Method and user terminal for providing social network service information based on location and time
WO2017035272A1 (en) System and method for facilitating user connections in travel locations
WO2018049515A1 (en) System and method for the efficient generation and exchange of descriptive information with media data
JP2019185655A (en) System, method, and program for generating page
JP5825118B2 (en) Release range determination method, release range determination apparatus and program
JP2013058181A (en) Method, system, terminal device, server device, and program for sharing data associated with geographic location
JP6562877B2 (en) Information providing apparatus, method and system
JP6461230B2 (en) Determination device, determination method, and determination program
JP7631490B2 (en) Electronic Devices and Systems
JP5702030B1 (en) Information providing method and information processing method
KR20160057122A (en) Manufacturing system and method for nonlinear interactive contents and story hub system using the same
JP2012093880A (en) Electronic information providing system, electronic information providing server, electronic information browsing device and program
WO2015097744A1 (en) Vacant time information providing system
JP5674208B2 (en) Rental property search server device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231213

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20241210

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20250107

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250205

R150 Certificate of patent or registration of utility model

Ref document number: 7631490

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150