JP2024025814A - Electronic devices and systems - Google Patents
Electronic devices and systems Download PDFInfo
- Publication number
- JP2024025814A JP2024025814A JP2023210082A JP2023210082A JP2024025814A JP 2024025814 A JP2024025814 A JP 2024025814A JP 2023210082 A JP2023210082 A JP 2023210082A JP 2023210082 A JP2023210082 A JP 2023210082A JP 2024025814 A JP2024025814 A JP 2024025814A
- Authority
- JP
- Japan
- Prior art keywords
- rule
- information
- rule information
- module
- evaluation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003860 storage Methods 0.000 claims abstract description 11
- 238000012545 processing Methods 0.000 claims description 71
- 238000000034 method Methods 0.000 claims description 66
- 238000010586 diagram Methods 0.000 abstract description 21
- 238000011156 evaluation Methods 0.000 description 183
- 230000015654 memory Effects 0.000 description 123
- 230000008569 process Effects 0.000 description 64
- 230000005540 biological transmission Effects 0.000 description 19
- 230000006870 function Effects 0.000 description 18
- 230000001186 cumulative effect Effects 0.000 description 13
- 238000001514 detection method Methods 0.000 description 11
- 230000002776 aggregation Effects 0.000 description 8
- 238000004220 aggregation Methods 0.000 description 8
- 230000007704 transition Effects 0.000 description 5
- 238000001994 activation Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000004913 activation Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000001816 cooling Methods 0.000 description 3
- 238000009826 distribution Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000003058 natural language processing Methods 0.000 description 2
- 238000010248 power generation Methods 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- LFQSCWFLJHTTHZ-UHFFFAOYSA-N Ethanol Chemical compound CCO LFQSCWFLJHTTHZ-UHFFFAOYSA-N 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000010411 cooking Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000877 morphologic effect Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
- 238000005303 weighing Methods 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
【課題】IoTシステムを実現するための多数のルール情報の中から少なくとも一つのルール情報を簡単に選択することができる電子装置を提供すること。【解決手段】実施形態によれば、電子装置は、記憶部と表示制御部を具備する。記憶部は、複数のルール情報を記憶する。ルール情報は、ルールが決められる場合の定型的な属性情報を定義しており、ルールの決め方の利便性を提供する。【選択図】図1The present invention provides an electronic device that can easily select at least one piece of rule information from a large number of pieces of rule information for realizing an IoT system. According to an embodiment, an electronic device includes a storage section and a display control section. The storage unit stores a plurality of pieces of rule information. The rule information defines typical attribute information when rules are determined, and provides convenience in determining rules. [Selection diagram] Figure 1
Description
本発明の実施形態は電子装置及びシステムに関する。 Embodiments of the present invention relate to electronic devices and systems.
インターネットを経由して実空間上の物体(デバイスと称される)を連携させるIoT(Internet of Things)システムが普及している。IoTシステムを作るためには、デバイスの制御に関するプログラミング等の高度な技術的な知識が必要であり、IoTシステムを作ることは容易ではない。 2. Description of the Related Art IoT (Internet of Things) systems that link objects (referred to as devices) in real space via the Internet are becoming widespread. Creating an IoT system requires advanced technical knowledge such as programming related to device control, and creating an IoT system is not easy.
近年、「もし何々ならば、何々する」というルール情報に従って複数のデバイスを連携させてIoTシステムを作ることが提案されている。複数のデバイスを制御できる電子装置にルール情報をインストールすることによりIoTシステムが実現される。 In recent years, it has been proposed to create an IoT system by linking multiple devices according to rule information such as "if so-and-so, do so-and-so." An IoT system is realized by installing rule information into an electronic device that can control multiple devices.
IoTシステムを作りたいユーザは、予め用意され、公開されている多数のルール情報の中から自分に適したルール情報を選択して、電子装置にダウンロードする。予め用意されているルール情報の数が増えると、ルール情報を選択することは困難である。 A user who wants to create an IoT system selects rule information suitable for him from among a large number of previously prepared rule information and downloads it to an electronic device. When the number of rule information prepared in advance increases, it becomes difficult to select the rule information.
本発明の目的は、IoTシステムを実現するための多数のルール情報等の中から少なくとも一つのルール情報等を簡単に選択することができる電子装置及びシステムを提供することである。 An object of the present invention is to provide an electronic device and a system that can easily select at least one rule information etc. from a large number of rule information etc. for realizing an IoT system.
一実施形態によれば、複数のセンサと複数の処理モジュールに接続される電子装置は、
前記複数のセンサの中の少なくとも1つのセンサのセンス結果が特定の結果である場合、前記複数の処理モジュールの中の少なくとも1つの処理モジュールが前記センス結果に連携した動作を実行するように関連付けした複数のルール情報を記憶する記憶部と、
前記複数のルール情報に含まれるルール識別情報を表示する表示画面を生成する表示制御部と、を具備し、そして、
前記複数のルール情報のそれぞれは、ルール情報の作成者の識別情報と、前記ルール情報の属性情報を含み、前記属性情報は、前記ルール情報により提供されるサービスが利用されるシーンを示す第1の識別情報と、前記ルール情報により提供される前記サービスのテーマを示す第2の識別情報と、前記ルール情報により提供される前記サービスにより解決される課題を示す第3の識別情報と、を少なくとも含む、電子装置が提供される。
According to one embodiment, an electronic device connected to the plurality of sensors and the plurality of processing modules includes:
When the sense result of at least one sensor among the plurality of sensors is a specific result, at least one processing module among the plurality of processing modules is associated with the sense result to perform a coordinated operation. a storage unit that stores multiple pieces of rule information;
a display control unit that generates a display screen that displays rule identification information included in the plurality of rule information, and
Each of the plurality of pieces of rule information includes identification information of a creator of the rule information and attribute information of the rule information, and the attribute information includes a first information indicating a scene in which a service provided by the rule information is used. , second identification information indicating a theme of the service provided by the rule information, and third identification information indicating a problem to be solved by the service provided by the rule information. An electronic device is provided, including.
以下、図面を参照して、実施形態を説明する。以下の説明は、実施形態の技術的思想を具体化するための装置や方法を例示するものであって、実施形態の技術的思想は、以下に説明する構成要素の構造、形状、配置、材質等に限定されるものではない。当業者が容易に想到し得る変形は、当然に開示の範囲に含まれる。説明をより明確にするため、図面において、各要素のサイズ、厚み、平面寸法又は形状等を実際の実施態様に対して変更して模式的に表す場合もある。複数の図面において、互いの寸法の関係や比率が異なる要素が含まれることもある。複数の図面において、対応する要素には同じ参照数字を付して重複する説明を省略する場合もある。いくつかの要素に複数の呼称を付す場合があるが、これら呼称の例はあくまで例示であり、これらの要素に他の呼称を付すことを否定するものではない。また、複数の呼称が付されていない要素についても、他の呼称を付すことを否定するものではない。なお、以下の説明において、「接続」は直接的な接続のみならず、他の要素を介して間接的に接続されることも意味する。 Embodiments will be described below with reference to the drawings. The following description exemplifies devices and methods for embodying the technical idea of the embodiment, and the technical idea of the embodiment includes the structure, shape, arrangement, and material of the components described below. etc., but is not limited to. Modifications that can be easily conceived by those skilled in the art are naturally included within the scope of the disclosure. In order to make the explanation more clear, in the drawings, the size, thickness, planar dimension, shape, etc. of each element may be changed from the actual embodiment and schematically expressed. A plurality of drawings may include elements having different dimensional relationships and ratios. In some drawings, corresponding elements may be designated by the same reference numerals and redundant descriptions may be omitted. Although some elements may be given a plurality of names, these names are merely illustrative, and do not deny that other names may be given to these elements. Furthermore, this does not negate the use of other names for elements that are not given multiple names. Note that in the following description, "connection" means not only direct connection but also indirect connection via other elements.
(IoTシステムの概要)
実施形態は、ルール情報に基づいて種々のデバイスを連携させるIoTシステムに関する。実施形態のIoTシステムは、デバイスに限らず、ソフトウェアにより提供されるサービスも連携させる。サービスはデバイスにインストールされているプログラムによるメールサービス、SNSサービスや、クラウドサーバにより提供されるWebサービスを含む。この明細書では、IoTシステムにより連携される単位であるデバイスとサービスはモジュールと称されることもある。ルール情報は、複数のモジュールの組み合わせ方の定義であるルールを記述する情報である。実施形態は、デバイスやサービスを自由に組み合わせることができるので、家庭、会社、社会の様々なシーンで便利な仕組みを実現できる。
(Overview of IoT system)
Embodiments relate to an IoT system that allows various devices to cooperate based on rule information. The IoT system of the embodiment allows not only devices but also services provided by software to cooperate. Services include email services provided by programs installed on devices, SNS services, and web services provided by cloud servers. In this specification, devices and services that are units linked by an IoT system may also be referred to as modules. Rule information is information that describes rules that define how to combine multiple modules. In the embodiment, devices and services can be freely combined, so a convenient system can be realized in various scenes at home, at work, and in society.
サービスは、所定の実体/状態/情報の制御を組み合わせて、有償または無償でユーザに対して所定の処理や状態の変化、あるいはコンテンツやデータ/情報を提供する能動的動作を意味する。実施形態では、ルール情報に従って、ユーザにサービスを提供する。このサービス提供の形態として、実施形態では、各種デバイスを利用した実空間上あるいは物理空間上のサービスとWebサービスなどを利用したサイバ空間上のサービス間の垣根を越えた(跨った)組み合わせ(複合化)サービスを提供してもよい。 A service refers to an active operation that combines control of a predetermined entity/state/information and provides a predetermined process, change in state, or content or data/information to a user for a fee or free of charge. In the embodiment, services are provided to users according to rule information. As a form of providing this service, in the embodiment, a cross-border (straddling) combination (crossing) of services in real space or physical space using various devices and services in cyber space using Web services etc. ) services may be provided.
コンテンツは、所定機能に関係する具体的内容を意味し、他との違いが個々に識別可能な具体性を有する。例えば“映画”と言う抽象的概念は含まれず、他のコンテンツとの識別手段として“映画名(題名)”が設定された特定コンテンツが該当する。同様にWebブラウザに表示される“Web画面”と言う抽象的概念は含まれず、特定のURL上に配置された特定のWeb頁も該当する。 Content means specific content related to a predetermined function, and has specificity that allows individual differences from others to be identified. For example, the abstract concept of "movie" is not included, but specific content for which a "movie name (title)" is set as a means of identification from other content is applicable. Similarly, the abstract concept of a "web screen" displayed on a web browser is not included, but also a specific web page located on a specific URL.
モジュールは、所定機能の実現手段を含む。モジュールは、この所定機能が実現された実空間上で人間が認識可能な実体(状態又は情報とも称される)とその制御部との組み合わせで構成される。個々の制御部で制御される複数のモジュールの動作の組み合わせにより、ユーザに対してサービスが提供される。モジュールは、所定機能を実現するための実体と制御部との組み合わせの概念である。モジュールを構成する人間が認識可能な実体その制御部は、物理的に一体化されている必要は無い。例えば人間が認識可能な実体とその制御部が物理的に離れた位置に設置され、通信機能を利用して両者が連携されてもよい。モジュールを構成する人間が認識可能な実体とその制御部は、物理的実体(Physically real object)を形成している必要は無い。 The module includes means for implementing a predetermined function. A module is composed of a combination of a human-recognizable entity (also referred to as a state or information) in a real space in which this predetermined function is realized and its control unit. Services are provided to users by a combination of operations of a plurality of modules controlled by individual control units. A module is a concept of a combination of an entity and a control unit for realizing a predetermined function. The human-perceivable entities that make up the module and their controls need not be physically integrated. For example, a human-recognizable entity and its control unit may be installed at physically separate locations, and the two may be linked using a communication function. The human-recognizable entities that make up the module and their control units do not need to form a physically real object.
デバイスは、実空間上に実在し、所定機能の実現に利用されるあらゆるものを含む。デバイスは、処理を実行するデバイスやコンテンツを表示するデバイス、データを記憶する記憶装置を含む。デバイスは、外部のデバイスとの間の通信を行うための通信機能を内蔵してもよい。デバイスは、自然界の物理的又は化学的な状態又は現象に対して作用する機能を持ってもよい。自然界に対して受動的作用を行うデバイスは、センサ等を含む。自然界に対して能動的作用を行うデバイスは、ロボット、駆動機構及び表示装置(表示素子)等を含む。デバイスの物理的形態としては、据え置き型に限らず、移動可能な携帯型の形態でもよい。デバイスの物理的形態の例は、ユーザの腕や足に固定するバンド型センサや腰に固定するベルト型センサ、頭部に装着するVRタイプやARタイプのヘッドマウントディスプレイ等のユーザが装着可能な形態を含む。 A device includes anything that exists in real space and is used to implement a predetermined function. Devices include devices that execute processing, devices that display content, and storage devices that store data. The device may have built-in communication functionality for communicating with external devices. A device may have the ability to act on physical or chemical conditions or phenomena in nature. Devices that passively act on the natural world include sensors and the like. Devices that actively act on the natural world include robots, drive mechanisms, display devices (display elements), and the like. The physical form of the device is not limited to a stationary type, but may be a mobile type. Examples of physical forms of devices that can be worn by the user include band-type sensors that are fixed to the user's arms or legs, belt-type sensors that are fixed to the waist, and VR-type or AR-type head-mounted displays that are worn on the user's head. Including form.
ルールの一例は、センサモジュールにより検出される状態が特定の状態である場合、実行モジュールが特定の処理を実行するというモジュールの連携関係を規定するものである。ルールを記述するルール情報は種々の形式があり、その一例は、特定の状態を示す条件情報(IF部とも称される)と、センサモジュールにより検出された状態が特定の状態である場合に実行モジュールにより実行される特定の処理を示す処理情報(THEN部とも称される)とを含む形式がある。しかし、ルール情報の形式は、この形式に限定されない。 An example of the rule defines a cooperation relationship between modules such that when the state detected by the sensor module is a specific state, the execution module executes a specific process. Rule information that describes rules has various formats, one example of which is condition information (also referred to as an IF part) that indicates a specific state, and information that is executed when the state detected by the sensor module is a specific state. There is a format that includes processing information (also referred to as a THEN section) indicating a specific process executed by the module. However, the format of the rule information is not limited to this format.
この形式のルール情報の一例は、「もし温度が26度以上であれば空調機を冷房モードで運転させる」である。この例の場合、IoTシステムが連携させるモジュール(この場合は、デバイス)は、状態の一例である温度を検出する温度センサと、処理の一例である冷房モードの運転を実行する空調機である。状態、処理の一例は上記の例に限定されない。 An example of rule information in this format is "If the temperature is 26 degrees or higher, operate the air conditioner in cooling mode." In this example, the modules (devices in this case) that the IoT system cooperates with are a temperature sensor that detects temperature, which is an example of a state, and an air conditioner that executes operation in cooling mode, which is an example of processing. Examples of states and processing are not limited to the above examples.
この明細書では、状態を検出するモジュールはIFモジュールと称され、処理を実行するモジュールはTHENモジュールと称される。IoTシステムは、IFモジュールと、THENモジュールと、電子装置を含む。電子装置は、例えば無線によりIFモジュールとTHENモジュールに接続される。電子装置は、IFモジュールにより検出された状態が特定の状態であるかどうかを判断し、特定の状態である場合、THENモジュールに処理を実行させる指示を与える。 In this specification, modules that detect conditions are referred to as IF modules, and modules that perform processing are referred to as THEN modules. The IoT system includes an IF module, a THEN module, and an electronic device. The electronic device is connected to the IF module and the THEN module, for example wirelessly. The electronic device determines whether the condition detected by the IF module is a particular condition, and if so, provides instructions to the THEN module to perform processing.
電子装置の一例は、これに限定されないが、スマートフォンを含む。電子装置には、ルール情報と、ルール情報に従ってIFモジュールとTHENモジュールを制御するソフトウェアがインストールされる。電子装置は、IFモジュールに対して状態の検出を定期的に要求し、IFモジュールの出力に基づいて、IFモジュールが検出した状態が特定の状態であることを検知した場合、THENモジュールに対して特定の処理を実行するように制御する。 An example of an electronic device includes, but is not limited to, a smartphone. The electronic device is installed with rule information and software that controls the IF module and THEN module according to the rule information. The electronic device periodically requests the IF module to detect a state, and if the IF module detects that the state detected is a specific state based on the output of the IF module, the electronic device requests the THEN module to detect the state. Control execution of specific processing.
一つのルール情報においてIF部とTHEN部の数、すなわち検出される状態の数と、実行される処理の数はそれぞれ一つに限定されない。例えば複数の状態がそれぞれ複数の特定の状態である場合に一つの処理が実行されてもよい。例えば、ルール情報は、第1のIFモジュールにより検出された状態が第1の特定の状態であり、かつ第2のIFモジュールにより検出された状態が第2の特定の状態である場合に実行される1つの処理を示してもよい。あるいは、一つの状態が一つの特定の状態である場合に複数の処理が実行されてもよい。さらに、複数の状態がそれぞれ複数の特定の状態である場合に複数の処理が実行されてもよい。例えば、ルール情報は、検出モジュールにより検出された状態が特定の状態である場合に第1のTHENモジュールによる実行される第1の処理と、第2のTHENモジュールにより実行される第2の処理を示してもよい。 In one piece of rule information, the number of IF parts and THEN parts, that is, the number of states to be detected and the number of processes to be executed, are not limited to one each. For example, one process may be executed when each of the plurality of states is a plurality of specific states. For example, the rule information may be executed if the condition detected by the first IF module is a first specific condition and the condition detected by the second IF module is a second specific condition. may indicate one process. Alternatively, multiple processes may be executed when one state is one specific state. Furthermore, a plurality of processes may be executed when each of the plurality of states is a plurality of specific states. For example, the rule information may specify a first process to be performed by a first THEN module and a second process to be performed by a second THEN module when the state detected by the detection module is a specific state. May be shown.
IoTシステムを作りたい又は使いたいユーザは、自らルール情報を作成してもよいが、他のユーザが作成したルール情報を利用することもできるようになっている。実施形態では、ルール情報を作成したユーザはルール情報をサーバへアップロードする。ルール情報を利用したいユーザは、サーバにアクセスし、多数のルール情報の中から適切なルール情報を選択して、ダウンロードする。 Users who want to create or use an IoT system may create their own rule information, but they can also use rule information created by other users. In the embodiment, the user who created the rule information uploads the rule information to the server. A user who wants to use rule information accesses the server, selects and downloads appropriate rule information from among a large number of rule information.
(ルール情報)
電子装置は、メモリに記憶されている有効なルール情報に含まれるIFモジュールIDで識別されるIFモジュールに対して、状態を検出し、検出結果をIFサイクル毎に電子装置へ送信することを要求する要求信号を送信する。IFモジュールは、電子装置からの要求信号に応じて状態を検出し、検出した状態を示す検出信号を電子装置に送信する。
(rule information)
The electronic device requests the IF module identified by the IF module ID included in the valid rule information stored in the memory to detect the state and send the detection result to the electronic device every IF cycle. send a request signal to The IF module detects a state in response to a request signal from the electronic device, and transmits a detection signal indicating the detected state to the electronic device.
電子装置は、IFモジュールが検出した状態がいずれかのルール情報のIF部に記載の特定の状態であるか否かを判定する。電子装置は、検出した状態が特定の状態であると判定した場合、当該ルール情報のTHEN部に記載のTHENモジュールにTHEN部に記載の処理を実行させることを要求する要求信号を送信する。 The electronic device determines whether the state detected by the IF module is a specific state described in the IF section of any rule information. When the electronic device determines that the detected state is a specific state, the electronic device transmits a request signal requesting the THEN module described in the THEN section of the rule information to execute the process described in the THEN section.
電子装置は、このように少なくとも1つのIFモジュールと少なくとも1つのTHENモジュールを連携させることにより便利な仕組み(IoTシステム)を提供する。なお、ルール情報は、仕組みを提供するためのモジュールと、それらの連携を定義するものであるので、料理におけるレシピと対応するので、本明細書では、ルール情報はレシピ情報とも称される。 The electronic device thus provides a convenient mechanism (IoT system) by coordinating at least one IF module and at least one THEN module. Note that since rule information defines modules for providing a mechanism and their cooperation, it corresponds to a recipe for cooking, and therefore, in this specification, rule information is also referred to as recipe information.
ルール情報を用いてIoTシステムを構築するためには、ルール情報の拡充、流通が必要である。クラウドサーバは、ルール公開サイトを備え、格納しているルール情報を示すルール一覧画面を公開することが考えられる。なお、ルール情報の中には、公開が許可されていないルール情報も存在する場合がある。その場合は、ルール公開サイトは公開が許可されたルール情報のみを公開する。 In order to construct an IoT system using rule information, it is necessary to expand and distribute rule information. It is conceivable that the cloud server includes a rule publication site and publishes a rule list screen showing stored rule information. Note that there may be some rule information that is not permitted to be made public. In that case, the rule publishing site will only publish the rule information that is permitted to be published.
ユーザは、ルール公開サイトにアクセスすると、公開されているルール一覧画面を見ることができる。ユーザは、ルール一覧画面の中からルール情報を選択して、選択したルール情報をエッジコンピュータにダウンロードすることができる。 When a user accesses a rule publication site, he or she can view a screen listing published rules. The user can select rule information from the rule list screen and download the selected rule information to the edge computer.
ユーザは、ルール情報に記載されているIFモジュールとTHENモジュールを用意すれば、IoTシステムを簡単に構成することができる。 A user can easily configure an IoT system by preparing the IF module and THEN module described in the rule information.
ルール情報はIoTシステムを構築したいユーザが作成するが、このユーザ以外にも、業として作成する作成者や、ルール情報を構成するIFモジュールとTHENモジュールの製造者等もルール情報を作成することが可能である。 Rule information is created by a user who wants to build an IoT system, but in addition to these users, creators who create it professionally and manufacturers of the IF module and THEN module that make up the rule information can also create rule information. It is possible.
このように多数の人が多数のルール情報をクラウドサーバへアップロードすることが予想される。クラウドサーバが格納しているルール情報の数が多くなると、適切なルール情報の選択が困難となる。そのため、クラウドサーバは、多数のルール情報の中からユーザに推奨するルール情報の一覧画面を提供する。これにより、ユーザによるルール情報の選択が容易となる。 In this way, it is expected that many people will upload a large amount of rule information to the cloud server. When the number of rule information stored in a cloud server increases, it becomes difficult to select appropriate rule information. Therefore, the cloud server provides the user with a list screen of recommended rule information from among a large amount of rule information. This facilitates the user's selection of rule information.
クラウドサーバは、ルールを推奨するために、ルール情報に関する推奨度情報を算出する必要がある。推奨度情報は、ルール情報を推奨するために用いる指標に関する情報である。推奨度情報の値はルール情報が推奨される度合いに応じている。例えば、より推奨されるルール情報に関する推奨度情報の値は、より推奨されないルール情報に関する推奨度情報の値より大きい。推奨度情報は、単一の指標ではなく、複数の指標から算出してもよい。指標の例は、利用回数や評価等を含む。利用回数は、累計の利用回数と一定期間内の利用回数を含む。一定期間内の利用回数には直近の単位期間(例えば1カ月)の利用回数を含む。利用回数が多いルール情報や評価が高いルール情報はより推奨されるルール情報であると考えてもよい。 In order to recommend rules, the cloud server needs to calculate recommendation degree information regarding rule information. Recommendation level information is information regarding an index used to recommend rule information. The value of the recommendation degree information corresponds to the degree to which the rule information is recommended. For example, the value of recommendation degree information regarding rule information that is more recommended is greater than the value of recommendation degree information regarding rule information that is less recommended. Recommendation level information may be calculated from a plurality of indicators instead of a single indicator. Examples of indicators include usage frequency, evaluation, and the like. The number of uses includes the cumulative number of uses and the number of uses within a certain period of time. The number of uses within a certain period includes the number of uses in the most recent unit period (for example, one month). Rule information that is frequently used or has a high evaluation may be considered to be more recommended rule information.
クラウドサーバは、利用回数や評価に関する推奨度情報の値の順(例えば、大きい順)にルール情報が並んだランキング表をルール一覧画面としてユーザに提供してもよい。ランキング表は複数の頁からなることもあるが、複数の頁は推奨度情報の値の大きい順に表示される。これにより、ルール情報の数が多くても、ユーザは短時間にルール一覧画面から所望のルール情報を選択して、ダウンロードすることができる。 The cloud server may provide the user with a ranking table in which rule information is arranged in order of the number of uses and the value of recommendation information regarding evaluation (for example, in descending order) as a rule list screen. The ranking table may consist of a plurality of pages, and the plurality of pages are displayed in descending order of the recommendation degree information value. Thereby, even if there is a large number of rule information, the user can select and download desired rule information from the rule list screen in a short time.
(エッジコンピュータ)
図1は、本実施形態に係るIoTシステムの構成の一例を示す図であり、特にIoTシステム内のエッジコンピュータ6の詳細の一例を示す。本実施形態に係るIoTシステムは、クラウドサーバ2、エッジコンピュータ6、IFモジュール8A、及びTHENモジュール8Bを含む。クラウドサーバ2とエッジコンピュータ6はネットワーク18を介して接続される。エッジコンピュータ6とIFモジュール8Aは、ネットワーク18を介して接続される。エッジコンピュータ6とTHENモジュール8Bは、ネットワーク18を介して接続される。エッジコンピュータ6は、ルール情報を作成する電子装置の一例である。クラウドサーバの構成は図7に示す。エッジコンピュータ6は、ユーザ毎の電子装置の一例である。図1は単数のエッジコンピュータ6を示すが、異なるユーザ又は同一のユーザの複数のエッジコンピュータ6がネットワーク18に接続されていても良い。
(edge computer)
FIG. 1 is a diagram showing an example of the configuration of an IoT system according to the present embodiment, and particularly shows an example of details of an
エッジコンピュータ6は、入力装置102、表示装置104、送信部106、受信部108、マイクロサービス10A,10B、アプリケーション20、ルールメモリ28、評価メモリ122及び履歴メモリ124を備える。入力装置は、例えばきーボード、マウスである。表示装置は、例えば液晶ディスプレイやプロジェクタである。入力装置102と表示装置104は、別々のデバイスから構成する代わりに、タッチ入力機能を有する単一のディスプレイから構成してもよい。
The
エッジコンピュータ6の例は、パーソナルコンピュータ、スマートフォン、タブレット、サイネージ、ゲートウェイ、ルータ、カーナビゲーションシステム、家電機器(テレビ等)、複合機(コピー機)、クラウドサーバ等を含む。
Examples of the
エッジコンピュータ6の設置場所は、トラック、列車、船舶、航空機等の輸送装置、また、病院、工場、アパートメント、個人住宅(音声合成、メール、SNS等)、農業施設、漁業施設、林業施設、学校、公園等のも施設を含む。
ルール情報に基づきIoTシステムを構築するアプリケーション20は、ルール作成部112、ルール取得部114、評価管理部116、実行履歴管理部118及びルールエンジン26を含む。アプリケーション20は、ルール情報に基づきIoTシステムを構築するプラットフォームを実現するためのプログラムである。ルールエンジン26は、ルール管理部132、状態モニタ134及び処理起動部136を含む。
The
ルール作成部112は、入力装置102から入力されたテキスト情報に基づいて、ルール情報を作成し、ルール情報を送信部106へ送る。
The rule creation unit 112 creates rule information based on the text information input from the
ルール情報の例を図2乃至図4に示す。 Examples of rule information are shown in FIGS. 2 to 4.
図2は、ルール情報のデータ構造の一例を示す。ルール情報は、複数の項目を含む。ルール情報の項目の例は、ルールID、ルール名、作成者ID、作成日時、IF-THEN部、ルール属性、編集可否フラグ、編集者ID等を含む。ルール情報の項目の例は、図2の例に限定されない。例えばルール属性、編集可否フラグ、編集者ID等は省略される場合もある。 FIG. 2 shows an example of the data structure of rule information. Rule information includes multiple items. Examples of rule information items include rule ID, rule name, creator ID, creation date and time, IF-THEN section, rule attribute, editability flag, editor ID, and the like. Examples of rule information items are not limited to the example in FIG. 2. For example, rule attributes, editability flags, editor IDs, etc. may be omitted.
ルールIDはルール情報毎のユニークな識別情報である。ルールIDは、作成時に自動的に決められるが、作成時に決定しなくても良い。作成者は、重複しない限り、ルールIDを自由に設定してもよい。ルール名は、ルールの内容、すなわちIoTシステムの内容を表すものである。ルール名の例は、これらに限定されないが、「高温時冷房運転」、「来客通知」、「音声ガイド」、「機械故障通知」、「心拍異常通知」等を含む。作成者IDはルール情報の作成者毎のユニークな識別情報である。作成日時は自動的に入力される。 The rule ID is unique identification information for each piece of rule information. The rule ID is automatically determined at the time of creation, but does not need to be determined at the time of creation. The creator may freely set rule IDs as long as they do not overlap. The rule name represents the content of the rule, that is, the content of the IoT system. Examples of rule names include, but are not limited to, "cooling operation at high temperature", "visitor notification", "voice guide", "mechanical failure notification", "abnormal heartbeat notification", and the like. The creator ID is unique identification information for each creator of rule information. The creation date and time will be entered automatically.
IF-THEN部はIFモジュール8AとTHENモジュール8Bの連携を示す。IF-THEN部の一例は図3に示す。
The IF-THEN section shows cooperation between the IF module 8A and THEN
ルール属性は、ルール情報がどのようなサービスを提供するのかを示す情報である。ルール属性の一例は図4に示す。 The rule attribute is information indicating what kind of service the rule information provides. An example of rule attributes is shown in FIG.
ルール作成者は、自分が作成したルール(具体的にはIF-THEN部、ルール属性等)を他人が編集することを許可又は禁止できる。ルール作成者は、自分が作成したルールの編集を許可する場合、編集可否フラグを例えば“1”とし、禁止する場合、編集可否フラグを例えば“0”とする。なお、編集可否フラグの具体的な値はこれに限定されない。 A rule creator can permit or prohibit others from editing the rule he or she has created (specifically, the IF-THEN section, rule attributes, etc.). The rule creator sets the editability flag to, for example, "1" when allowing editing of the rule created by the rule creator, and sets the editability flag to, for example, "0" when prohibiting the editing. Note that the specific value of the editability flag is not limited to this.
このシステムは、ユーザが編集可能なルール情報をダウンロードした場合、ユーザはルール情報を編集することができるようになっている。編集可能なルール情報をダウンロードした場合、ディスプレイにルール情報の編集可を示すアイコンが表示される。このアイコンがタッチされると、ルール情報が編集可能となる。 In this system, if the user downloads editable rule information, the user can edit the rule information. When editable rule information is downloaded, an icon indicating that the rule information can be edited is displayed on the display. When this icon is touched, the rule information can be edited.
ユーザが編集により作成したルール情報は、新規に作成したルール情報と同様にサーバにアップロードされる。編集により作成されたルールは、編集前のオリジナルルールとは異なるルールIDを有するルールとして登録される。その場合、作成者IDは不変であるが、編集者IDが付け加えられる。編集者IDは編集者毎のユニークな識別情報である。編集可の一つのオリジナルルールから編集により複数のルールが作成され、登録されることも可能である。 Rule information created by editing by the user is uploaded to the server in the same way as newly created rule information. A rule created by editing is registered as a rule having a different rule ID from the original rule before editing. In that case, the creator ID remains unchanged, but the editor ID is added. The editor ID is unique identification information for each editor. It is also possible to create and register multiple rules by editing one editable original rule.
図3は、IF-THEN部のデータ構造の一例を示す。IF-THEN部は作成者により入力される又は編集者により編集されるものであり、IF部とTHEN部からなる。 FIG. 3 shows an example of the data structure of the IF-THEN section. The IF-THEN section is input by the creator or edited by the editor, and consists of an IF section and a THEN section.
IF部は、複数の項目を含む。IF部の項目の例は、これらに限定されないが、IFモジュール8Aの識別情報であるIFモジュールID、処理の実行開始のための条件、条件の詳細を定義するIFパラメータ、条件を調べる周期を示すIFサイクル等を含む。条件は、IFモジュール8Aにより検出された状態と比較される特定の状態である。IFモジュール8Aの例は、これらに限定されないが、温度センサ、湿度センサ、ドア、アルコール検知器、開閉センサ、ビーコン、人感センサ、水漏れセンサ、発電椅子、発電床、重さセンサ、複合多機能センサ(光、温度、湿度、加速度、ジャイロ等)、体温計、重量計、マイクロフォン、湿度計、カメラ等を含む。 The IF section includes multiple items. Examples of items in the IF section include, but are not limited to, the IF module ID which is the identification information of the IF module 8A, the condition for starting execution of processing, the IF parameter that defines the details of the condition, and the cycle for checking the condition. Including IF cycle etc. A condition is a particular condition that is compared to the condition detected by IF module 8A. Examples of the IF module 8A include, but are not limited to, temperature sensors, humidity sensors, doors, alcohol detectors, opening/closing sensors, beacons, human sensors, water leak sensors, power generation chairs, power generation floors, weight sensors, and multiplex sensors. Includes functional sensors (light, temperature, humidity, acceleration, gyro, etc.), thermometers, weight scales, microphones, hygrometers, cameras, etc.
THEN部も、複数の項目を含む。THEN部の項目の例は、これらに限定されないが、THENモジュール8Bの識別情報であるTHENモジュールID、THENモジュール8Bが実行する処理、処理の詳細を定義するTHENパラメータ等を含む。THENモジュール8Bの例は、これらに限定されないが、コミュニケーションロボット、電源タップ、通知用腕時計、リストバンド、LED、電子機器のリモコン、メール送信、マップ表示、音声合成等を含む。
The THEN section also includes multiple items. Examples of items in the THEN section include, but are not limited to, a THEN module ID that is identification information of the
IF部、THEN部の組み合わせの例は、これらに限定されないが、
「トレイに〇〇グラム以上の物体が置かれたら、〇〇秒間光ってお知らせする」、
「温度が〇〇度を超えたら、〇〇モードで空調機を動作させる」、
「工作機械の振動が〇〇秒以上停止したら、警告文を〇〇秒間表示して作業員に通知する」、
「〇〇人が〇〇に来たら、○○語で○○の音声案内を開始する」、
「心拍数が〇〇を超えたら、○○により本人に知らせる」等である。
Examples of combinations of the IF part and THEN part are not limited to these, but
"If an object weighing more than XX grams is placed on the tray, it will light up for XX seconds to notify you."
"If the temperature exceeds 〇〇 degrees, operate the air conditioner in 〇〇 mode."
"If the vibration of the machine tool stops for more than XX seconds, a warning message will be displayed for XX seconds to notify the operator."
“When 〇〇 people come to 〇〇, we will start providing audio guidance for 〇〇 in 〇〇 language.
For example, ``If the heart rate exceeds 〇〇, notify the person by 〇〇.''
IF部とTHEN部の中の○○はIF部、THEN部の詳細を指定する数値や選択肢であり、IFパラメータとTHENパラメータにより定義される。 ○○ in the IF section and THEN section are numerical values or options that specify the details of the IF section and THEN section, and are defined by the IF parameter and THEN parameter.
図4は、ルール属性のデータ構造の一例を示す。ルール属性は、複数の項目を含む。ルール属性の項目の例は、これらに限定されないが、対象者ID、シーンID、テーマID、課題ID等を含む。ルール属性は、後述するルール推奨処理において利用され得る。ルール属性は、ルール情報の検索においても、キーワードとして利用され得る。 FIG. 4 shows an example of the data structure of rule attributes. The rule attribute includes multiple items. Examples of rule attribute items include, but are not limited to, subject ID, scene ID, theme ID, task ID, and the like. The rule attributes can be used in the rule recommendation process described below. Rule attributes can also be used as keywords in searching for rule information.
対象者IDは、ルール情報に基づき実行される処理の対象であるユーザ、すなわちルール情報により提供されるサービスの対象者を示す識別情報である。対象者の例は、これらに限定されないが、従業員(ID=P1)、管理者(ID=P2)、教授、看護師等を含む。 The target person ID is identification information indicating the user who is the target of the process executed based on the rule information, that is, the target person of the service provided based on the rule information. Examples of targets include, but are not limited to, employees (ID=P1), managers (ID=P2), professors, nurses, and the like.
シーンIDは、ルール情報に基づき処理が実行されるシーン、すなわちルール情報により提供されるサービスが利用されるシーンを示す識別情報である。シーンの例は、これらに限定されないが、会議室、レストラン、荷物梱包場所、工事現場、オフィス(ID=S1)、工場(ID=S2)、教室内、エレベータ、家の敷地、自宅のリビング、食料品店、コーヒーショップ、公園、学校の敷地、洋服店(アパレルショップ)、出入国ゲート、観光地、コンビニエンスストア、博物館(ID=S3)美術館、鉄道の駅、オフィスビル、ホテル、高速道路、ホテルロビー、物流センター、テニスコート、空港、トイレ、バスの車内等を含む。 The scene ID is identification information indicating a scene in which processing is executed based on the rule information, that is, a scene in which a service provided by the rule information is used. Examples of scenes include, but are not limited to, a conference room, a restaurant, a luggage packing area, a construction site, an office (ID=S1), a factory (ID=S2), a classroom, an elevator, a house site, a living room at home, Grocery stores, coffee shops, parks, school grounds, clothing stores (apparel shops), immigration gates, tourist spots, convenience stores, museums (ID=S3) art museums, railway stations, office buildings, hotels, highways, hotels This includes lobbies, distribution centers, tennis courts, airports, restrooms, bus interiors, etc.
テーマIDは、ルール情報に基づき実行される処理のテーマ、すなわちルール情報により提供されるサービスのテーマを示す識別情報である。テーマの例は、これらに限定されないが、セキュリティ(ID=T1)、効率化(ID=T3)、快適、安心、シェア拡大(ID=T2)、自動化、お金儲け/節約、娯楽(ID=T4)、健康(ID=T5)、便利等を含む。 The theme ID is identification information indicating the theme of the process executed based on the rule information, that is, the theme of the service provided by the rule information. Examples of themes include, but are not limited to, security (ID=T1), efficiency (ID=T3), comfort, peace of mind, share expansion (ID=T2), automation, money making/saving, and entertainment (ID=T4). ), health (ID=T5), convenience, etc.
課題IDは、ルール情報に基づき実行される処理により解決される課題、すなわちルール情報により提供されるサービスにより解決される課題を示す識別情報である。課題の例は、これらに限定されないが、見える化(ID=O1)、機能付加、省エネルギ(ID=O2)、エコロジー(ID=O3)等を含む。ルール属性のデータ構造は図4に示す例に限定されない。 The problem ID is identification information indicating a problem to be solved by a process executed based on the rule information, that is, a problem to be solved by a service provided by the rule information. Examples of issues include, but are not limited to, visualization (ID=O1), functional addition, energy saving (ID=O2), ecology (ID=O3), and the like. The data structure of the rule attribute is not limited to the example shown in FIG.
ルール情報の作成時に、作成者は、ルール属性を設定してもよい。作成者は、ルール情報の作成時ではなく、任意のタイミングでルール属性を設定又は変更してもよい。なお、ルール情報の検索にルールID、ルール名、IF-THEN部内のキーワード、作成者ID、編集者ID等を利用し、ルール属性の少なくとも一つの項目を利用しない場合は、作成者は、利用しないルール属性の項目を設定しなくてもよい。ルール属性の項目を入力する代わりに、ルール属性の項目の選択肢を表示し、その中から選択肢を選択することによりルール属性の項目を設定してもよい。なお、ルール属性の項目のうち限定する必要がない項目がある場合、当該項目には全て(all)のIDが設定される。 When creating rule information, the creator may set rule attributes. The creator may set or change the rule attributes at any time rather than when creating the rule information. Note that if the rule ID, rule name, keyword in the IF-THEN section, creator ID, editor ID, etc. are used to search for rule information, and at least one item of rule attributes is not used, the creator cannot use the rule information. There is no need to set the rule attribute item that does not apply. Instead of inputting the rule attribute item, the rule attribute item may be set by displaying the options of the rule attribute item and selecting one of the options. Note that if there is an item among the rule attribute items that does not need to be limited, an ID of all is set for the item.
なお、図示の便宜上、ルール情報を3枚のテーブルに分割して示したが、実際のルール情報は、図3に示すIF-THEN部と図4に示すルール属性が図2に示すテーブルに組み込まれた1枚のテーブルでもよい。 For convenience of illustration, the rule information is shown divided into three tables; however, in actual rule information, the IF-THEN part shown in Fig. 3 and the rule attributes shown in Fig. 4 are incorporated into the table shown in Fig. 2. It may be a single table.
図1の説明に戻り、送信部106は、ルール情報をネットワーク18を介してクラウドサーバ2へ送信する。
Returning to the explanation of FIG. 1, the
エッジコンピュータ6のユーザがルール情報を作成する際、ルール作成部112は、ルール作成のためのガイダンス画面を表示装置104に表示してもよい。ルール作成部112は、ガイダンス画面に従って作成者が入力装置102から入力又は選択した情報に基づきルール情報を作成する。ここでは、ガイダンス画面に従ってルール情報を作成する例を示したが、ガイダンス画面を利用せずに、ユーザがルール作成に必要な情報を直接に入力して、ルール情報を作成してもよい。
When the user of the
なお、ルール情報を入力装置102からテキスト情報として入力する代わりに、この情報を音声信号として入力し、音声信号を音声認識してルール情報を入力してもよい。
Note that instead of inputting the rule information as text information from the
送信部106は、図示せずメモリを有する。送信部106は、ルール作成部112から送信されたルール情報をメモリに書き込む。送信部106は、ユーザからのルール情報の送信要求を受け取ると、メモリ内のルール情報をクラウドサーバ2へ送信してもよいし、一定数のルール情報がメモリに格納される毎に一定数のルール情報をクラウドサーバ2へ送信してもよいし、メモリに記憶されているルール情報を一定時間毎にクラウドサーバ2へ送信してもよい。ユーザは、入力装置102を用いてルール情報の送信要求を送信部106へ送ることができる。
The
複数のエッジコンピュータ6からクラウドサーバ2に送信されたルール情報は、例えば図2乃至図4に示す形式で、クラウドサーバ2に記憶される。
The rule information transmitted from the plurality of
エッジコンピュータ6のユーザがクラウドサーバ2からルール情報をダウンロードする際、ルール取得部114は、ユーザが指定した推奨度情報についてのルール情報のランキング表の表示を要求する表示要求信号又はユーザが選択したルール情報のダウンロードを要求するダウンロード要求信号を送信部106に送る。送信部106は、表示要求信号又はダウンロード要求信号をネットワーク18を介してクラウドサーバ2のルール公開サイト(図示せず)へ送信する。
When the user of the
ルール公開サイトは、指定した推奨度情報についてのルール情報のランキング表の表示を要求する表示要求信号を受信すると、複数のルール情報が推奨度情報の値の大きい順に並んだランキング情報をルール一覧画面情報としてエッジコンピュータ6に送信する。
When the rule publication site receives a display request signal requesting to display a ranking table of rule information for specified recommendation information, it displays ranking information in which multiple pieces of rule information are arranged in descending order of recommendation information on a rule list screen. It is sent to the
エッジコンピュータ6の受信部108は、受信したルール一覧画面情報をルール取得部114に送信する。ルール取得部114は、ルール一覧画面情報に基づいてランキング表を表示装置104で表示する。
The receiving
表示されているランキング表の中の少なくとも一つのルール情報をユーザが選択すると、ルール取得部114は、選択したルール情報のダウンロードを要求するダウンロード要求信号を送信部106に送る。送信部106は、ダウンロード要求信号をネットワーク18を介してルール公開サイトへ送信する。
When the user selects at least one piece of rule information in the displayed ranking table, the
ルール公開サイトは、選択されたルール情報のダウンロード要求信号を受信すると、選択されたルール情報をエッジコンピュータ6に送信する。
Upon receiving the download request signal for the selected rule information, the rule publication site transmits the selected rule information to the
エッジコンピュータ6の受信部108は、受信したルール情報をルールエンジン26のルール管理部132に送る。ルール管理部132は、ルール情報をルールメモリ28に書き込む。ルールメモリ28はルール情報を記憶する。
The receiving
ルール情報のダウンロードは有料でもよいし、無料でもよい。有料の場合、例えば図2に示すルール情報のデータ構造の項目に料金を追加し、ルール管理部132がルール情報をルールメモリ28に書き込むと、課金処理が行われるように構成してもよい。
Downloading the rule information may be paid or free. In the case of a charge, for example, the charge may be added to an item in the data structure of the rule information shown in FIG. 2, and when the
ルールエンジン26の状態モニタ134は、マイクロサービス10A、10Bに接続される。マイクロサービス10Aは、ネットワーク18を介してIFモジュール8Aに接続される。マイクロサービス10Bは、ネットワーク18を介してTHENモジュール8Bに接続される。なお、エッジコンピュータ6とクラウドサーバ2を接続するネットワークと、エッジコンピュータ6とIFモジュール8A、THENモジュール8Bを接続するネットワークとは図1の例では同じネットワークとして記載しているが、異なるネットワークであっても良い。マイクロサービス10A、10Bは、オブジェクト指向のプログラミング言語を用いたプログラムで構成さされたIFモジュール8A、THENモジュール8Bの制御手段である。
A state monitor 134 of the
説明の便宜上、図1は単数のIFモジュール8Aと単数のTHENモジュール8Bを示すが、複数のIFモジュール8Aと、それらに対応する複数のマイクロサービス10Aが設けられてもよいし、複数のTHENモジュール8Bと、それらに対応する複数のマイクロサービス10Bが設けられてもよい。なお、一つのサービスを提供するIoTシステムを構成する場合は、少なくとも一つのIFモジュール8Aと少なくとも一つのTHENモジュール8Bの2個のモジュールがあればよい。また、一つのモジュールが状態を検出し、同じモジュールが処理を実行する機能を有するならば、一つのモジュールがあればよい。例えばLED付きの照度センサを用いれば、照度が閾値以上の場合、LEDを点灯させるというルール情報に従うIoTシステムを実現できる。
For convenience of explanation, FIG. 1 shows a single IF module 8A and a single THEN
上述したように、IFモジュール8A、THENモジュール8Bは、デバイスに限らず、処理、コンテンツ又はデータを含む。従って、マイクロサービス10A、10Bは、Web頁間の遷移制御や特定Web頁に対応した画面操作などの制御を行うためのAI技術を用いたプログラムソフトも含む。同様に、マイクロサービス10A、10Bは、AI技術を用いて特定の映像コンテンツ内に登場する人物の人数を自動抽出するアプリケーションプログラムや、取得データを、例えば統計解析などを利用して解析するアプリケーションプログラムも含む。
As described above, the IF module 8A and THEN
IFモジュール8A、THENモジュール8B、及びマイクロサービス10A、10Bとネットワーク18との接続は、無線でも有線でもよい。無線接続の例は、ブルートゥース(登録商標)、携帯電話回線、Wi-Fi(登録商標)等がある。有線接続の例は、有線LAN、USB接続等がある。
Connections between the IF module 8A, THEN
IFモジュール8A、THENモジュール8Bは実空間上のモジュールと、サイバ空間上のモジュールを含む。実空間上のモジュールの例は、これらに限定されないが、センサ、ビーコン、家電、スマートフォンやタブレット等の携帯端末、HMD(head mounted display)、IoT機器及びGPS衛星を含む。実空間上のモジュールは、図1に示すようにエッジコンピュータ6の外部に配置されるモジュールと、図1には示さないがエッジコンピュータ6に内蔵されるモジュールを含む。内蔵されるモジュールの例は、これらに限定されないが、温度センサ、圧力センサ及びジャイロを含む。
The IF module 8A and THEN
サイバ空間上のモジュールの例は、これらに限定されないが、WebサービスサーバやIoTサービスサーバにより実現される、証券(特定銘柄の株)の自動売買、特定商品の発注と受け取った商品代金の自動振り込み(課金処理)、映画や音楽の鑑賞券の購入申し込みや旅行等の予約申し込み等のユーザサービスを含む。 Examples of modules in cyberspace include, but are not limited to, automatic trading of securities (stocks of specific brands), ordering of specific products, and automatic transfer of received product prices, realized by web service servers and IoT service servers. (billing processing), and user services such as applications for purchasing tickets for movies and music, applications for reservations for travel, etc.
ルールエンジン26の説明に戻り、状態モニタ134は、ルール情報のIF部に記載されているIFモジュール8Aに対応するマイクロサービス10Aに状態の検出を定期的に要求し、マイクロサービス10Aから検出信号を受信する。状態モニタ134は、マイクロサービス10Aから検出要求を受信すると、IFモジュール8Aが検出した状態がルールメモリ28に記憶されている有効なルール情報の中のいずれかのルール情報のIF部に記載の特定の状態と一致するか否かを判定し、判定結果を処理起動部136へ送る。
Returning to the explanation of the
状態モニタ134がIFモジュール8Aの検出状態が特定の状態と一致することを検出すると、処理起動部136は、当該ルール情報のTHEN部に記載の処理をTHENモジュール8Bに実行させるための実行指示信号を、THENモジュール8Bに対応するマイクロサービス10Bに送信する。マイクロサービス10Bは制御信号を受信すると、対応するTHENモジュール8Bに処理実行コマンドを送信する。制御信号は、実行履歴管理部118にも送信される。
When the
ルール情報の利用は有料でもよいし、無料でもよい。有料の場合、例えば図2に示すルール情報のデータ構造の項目に料金を追加し、処理起動部136が起動処理を行うと、課金処理が行われてもよい。
Use of the rule information may be paid or free. In the case of a charge, the charge may be added to an item of the data structure of the rule information shown in FIG. 2, for example, and when the
実行履歴管理部118は、処理起動部136から出力される制御信号に基づいて実行履歴情報を作成し、実行履歴情報を履歴メモリ124に書き込むとともに、実行履歴情報を送信部106へ送る。履歴メモリ124は実行履歴情報を記憶する。実行履歴は、THEN部に記載の処理の実行の履歴を示すものであり、ルール情報の利用の履歴を示すものでもある。実行履歴情報の例は、図5を参照して後述する。
The execution
送信部106は、実行履歴管理部118から送信された実行履歴情報をクラウドサーバ2に送信するまで記憶するメモリを含む。送信部106は、ユーザからの実行履歴情報の送信要求を受け取ると、メモリ内の実行履歴情報をネットワーク18を介してクラウドサーバ2へ送信してもよいし、一定数の実行履歴情報がメモリに格納される毎に一定数の実行履歴情報を送信してもよいし、メモリに記憶されている実行履歴情報を一定時間毎に送信してもよい。ユーザは、入力装置102を用いて実行履歴情報の送信要求を送信部106へ送ることができる。
The transmitting
ユーザは、ルール情報の評価を示すテキスト情報を入力装置102から入力することができる。評価管理部116は、入力装置102から入力されたテキスト情報に基づいてルール情報の評価情報を作成する。評価情報は、コメント等の文字列、評価の数値等を含む。評価情報の作成時期には制限がない。ユーザは、評価情報の作成又は作成時期を入力装置102を用いてエッジコンピュータ6に指示することができる。
The user can input text information indicating the evaluation of the rule information from the
評価管理部116は、評価情報の作成が指示されると、エッジコンピュータ6が記憶していて、ルールメモリ28に記憶されているルール情報と履歴メモリ124に記憶されている実行履歴に基づいて、過去に利用したルール情報(THEN部に記載の処理が実行されたルール情報)の一覧を表示装置104に表示させ、その一覧の中のルール情報の評価情報を入力することを許可するとともに、評価情報の入力を促す。すなわち、ルール情報の評価情報は、そのルール情報を実際に利用したユーザのみが入力可能であり、ルール情報を利用していない人が評価情報を入力することは不可である。これにより、評価情報の信憑性を高めることができる。
When the
なお、過去に使用したルール情報の一覧表示は必須ではなく、ユーザがルールID、ルール名称等によりルール情報を選択して、評価情報を入力してもよい。この場合も、評価管理部116は、実際に使用していないルール情報が選択され、評価情報が入力されることを許可しない。
Note that displaying a list of rule information used in the past is not essential, and the user may select rule information by rule ID, rule name, etc. and input evaluation information. In this case as well, the
評価管理部116は、作成した評価情報を評価メモリ122に書き込むとともに、送信部106へ送る。評価情報の詳細は、図6を参照して後述する。評価メモリは評価情報を記憶する。
The
なお、評価情報も入力装置102からテキスト情報として入力する代わりに、これらの情報を音声信号として入力し、音声信号を音声認識して評価情報を入力してもよい。
Note that instead of inputting the evaluation information as text information from the
送信部106は、評価管理部116から送信された評価情報をクラウドサーバ2に送信するまで記憶するメモリを含む。送信部106は、ユーザからの評価情報の送信要求を受け取ると、メモリ内の評価情報をネットワーク18を介してクラウドサーバ2へ送信してもよいし、一定数の評価情報がメモリに格納される毎に一定数の評価情報を送信してもよいし、メモリに記憶されている評価情報を一定時間毎に送信してもよい。ユーザは、入力装置102を用いて評価情報の送信要求を送信部106へ送ることができる。
The
ルールメモリ28、履歴メモリ124及び評価メモリ122は、図1に示すように、3つのメモリから構成してもよいが、1つのメモリから構成してもよい。1つのメモリから構成する場合、1つのメモリの領域を3つに分割し、分割領域それぞれにルール情報、実行履歴情報及び評価情報を記憶してもよい。3つのメモリから構成する場合、独立した3つのメモリデバイスから構成してもよいし、1つのメモリデバイスとして使用される3つのメモリから構成してもよい。
The
エッジコンピュータ6がルール情報を作成すると説明したが、エッジコンピュータ6ではなくクラウドサーバ2がルール情報を作成してもよい。さらに、エッジコンピュータ6でもクラウドサーバ2でもなく、ネットワーク18を介してエッジコンピュータ6と接続される他の電子装置(例えば、パーソナルコンピュータや別のエッジコンピュータ)がルール情報を作成し、当該ルール情報を管理する構成としてもよい。エッジコンピュータ6は、ルール情報を作成し、作成したルール情報をクラウドサーバ2へ送信する機能と、ルール情報をダウンロードしてルール情報を利用する機能を備える。しかし、他の電子装置は、ルール情報を作成する機能を備えるが、利用する機能を備えなくてもよい、すなわちルールエンジンを備えなくてもよい。他の電子装置でルール情報を作成する処理は、エッジコンピュータ6でルール情報を作成する処理と同様なので、この明細書では、エッジコンピュータ6でルール情報を作成する動作を説明する。
Although it has been described that the
上記の説明は、ルール作成者とルール利用者が別の人である場合を想定したが、ルール作成者とルール利用者が同一人でもよい。この場合、エッジコンピュータ6で作成されたルール情報はクラウドサーバ2に登録しなくてもよい。しかし、上記の説明と同様に、ルール情報がエッジコンピュータ6からクラウドサーバ2に送信され、クラウドサーバ2に登録された後、クラウドサーバ2からエッジコンピュータ6にダウンロードされるようにしてもよい。
Although the above explanation assumes that the rule creator and the rule user are different people, the rule creator and the rule user may be the same person. In this case, the rule information created by the
ルールメモリ28に記憶されているルール情報は、原則自動的に利用されるが、ルールメモリ28に多数のルール情報が記憶されており、全てのルール情報を常時利用する必要が無い場合がある。例えば特定のルール情報は夜間は利用したくない場合がある。ルール管理部132は、入力装置102からのユーザの指示に基づき、ルールメモリ28に記憶されている多数のルール情報の中の利用するルール情報を有効なルール情報としてもよい。無効なルール情報は、利用されない。ユーザは、有効/無効の選択に限らず、有効とする場合、有効とする期間/時間帯等を指定することもできる。図2に示すデータ構造のルール情報にルールの有効/無効、有効とする期間/時間帯等の欄を追加してもよい。
Although the rule information stored in the
図5は、実行履歴情報のデータ構造の一例を示す。実行履歴情報は、複数の項目を含む。実行履歴情報の項目の例は、これらに限られないが、実行日時、ルールID、ユーザ属性、利用デバイスID、利用位置ID等を含む。実行日時は、ルール情報の中のTHEN部が記載する処理の実行開始日時を示す。実行履歴情報の中の1行のデータが1回の処理の実行に対応する。 FIG. 5 shows an example of the data structure of execution history information. The execution history information includes multiple items. Examples of items of execution history information include, but are not limited to, execution date and time, rule ID, user attributes, usage device ID, usage location ID, and the like. The execution date and time indicates the execution start date and time of the process described in the THEN section in the rule information. One line of data in the execution history information corresponds to one process execution.
ユーザ属性は、ルールを利用するユーザの属性を示すものであり、複数の項目からなる。ユーザ属性の項目の例は、これらに限定されないが、ユーザID、氏名、生年月日、性別、国籍、住所、職業等を含む。これらの項目は、エッジコンピュータ6におけるユーザ登録時に設定され得る。ユーザ属性は、後述するルール推奨処理において利用され得る。ユーザ属性は、ルール情報の検索においても、キーワードとして利用され得る。
The user attribute indicates the attribute of the user who uses the rule, and consists of a plurality of items. Examples of user attribute items include, but are not limited to, user ID, name, date of birth, gender, nationality, address, occupation, and the like. These items can be set at the time of user registration on the
利用デバイスIDは、ルール情報に基づいて特定の処理を実行させるエッジコンピュータ6を識別するものであり、エッジコンピュータ6のログイン時に取得され得る。利用位置IDは、特定の処理を実行させるエッジコンピュータ6の位置を識別するものである。利用位置IDは、スマートフォンのようにエッジコンピュータ6がGPS機能を備えている場合は、GPS機能から得られる。GPS機能を備えていない場合は、利用位置IDは、エッジコンピュータ6の初期設定時に設定された設置場所情報から得られる。図5に示す実行履歴情報は一つのエッジコンピュータ6が作成するので、ユーザID(ユーザ属性も)、利用デバイスIDはそれぞれ同じユーザ、同じ利用デバイスを示す。利用デバイスIDと利用位置IDも、後述するルール推奨処理において利用され得るし、ルール情報の検索においても、キーワードとして利用され得る。
The usage device ID identifies the
多数のエッジコンピュータ6からクラウドサーバ2に多数の実行履歴情報が送信されると、異なるユーザID、異なる利用デバイスIDの多数の実行履歴情報がクラウドサーバ2のサーバメモリ38に蓄積される。ユーザ属性と利用デバイスIDと利用位置IDは、クラウドサーバ2がランキング表を表示する際、ユーザにより指定されると、指定された項目に基づいて絞り込まれたランキング表の表示が可能となる。あるいは、ユーザがルール公開サイトが持っているルール情報を検索したい時に、ユーザ属性と利用デバイスIDと利用位置IDを検索キーワードとして使用し得る。
When a large amount of execution history information is transmitted from a large number of
ユーザは、自分が利用したルール情報のコメント、評価を入力することができる。コメント、評価はルール情報全体に関するルールコメント、ルール評価でも良いし、IFモジュール8Aに関するIFモジュールコメント、IF評価でもよいし、THENモジュール8Bに関するTHENモジュールコメント、TNENモジュール評価でもよい。ルールコメントの一例は、「このルールは○○という課題に対する良い解決策を実現している」である。IFモジュールコメントの例は、「このIFモジュールは精度が高い」である。THENモジュールコメントの例は、「このTHENモジュールは寿命が長い」である。評価は数値であり、例えば最大値が5.0で、0.1単位で設定可能である。数値は、評価が高い程、大きい。なお、コメントと評価のいずれか一方の入力を省略してもよい。
Users can input comments and evaluations of the rule information they have used. The comments and evaluations may be rule comments and rule evaluations regarding the entire rule information, IF module comments and IF evaluations regarding the IF module 8A, and THEN module comments and TNEN module evaluations regarding the
評価管理部116は、図6に示すデータ構造の評価情報を作成する。評価情報は、複数の項目からなる。評価情報の項目は、これらに限定されないが、一例として、ルールID、ユーザID、ルールコメント、ルール評価、IFモジュールコメント、IFモジュール評価、THENモジュールコメント、THENモジュール評価等を含む。コメントはテキストであり、評価は数値である。ルールコメント、ルール評価、IFモジュールコメント、IFモジュール評価、THENモジュールコメント、THENモジュール評価等は、入力装置102を介するユーザからの入力に基づいて評価管理部116が作成する。なお、ルール評価、IFモジュール評価及びTHENモジュール評価等はユーザが入力するのではなく、ルールコメント、IFモジュールコメント及びTHENモジュールコメントに含まれる文字をAIが解析して、評価を決定してもよい。
The
図6に示す評価情報は、一つのエッジコンピュータ6が作成するので、ユーザIDは同じユーザを示す。評価情報の各項目は、後述するルール推奨処理において利用され得る。評価情報の各項目は、ルール情報の検索においても、キーワードとして利用され得る。
Since the evaluation information shown in FIG. 6 is created by one
評価管理部116は、評価メモリ122に記憶されている評価情報を送信部106を介してクラウドサーバ2へ送信する。評価管理部116は、ユーザから送信が指示されると、評価情報をクラウドサーバ2へ送信してもよいし、一定数の評価情報が評価メモリ122に格納される毎に一定数の評価情報をクラウドサーバ2へ送信してもよいし、評価メモリ122に記憶されている評価情報を一定時間毎にクラウドサーバ2へ送信してもよい。なお、同一ユーザであれば評価情報の入力は様々な機器を用いて行われ、クラウドサーバ2に当該評価情報が送信されてもよい。例えば、エッジコンピュータ6がスマートフォンであるとした場合、別機器(例えばパーソナルコンピュータ)を用いて入力された評価情報が、クラウドサーバ2に送信されてもよい。
The
多数のエッジコンピュータ6からクラウドサーバ2に多数の評価情報が送信されると、同じルールに関する異なるユーザによる評価情報がクラウドサーバ2に蓄積される。ルール作成者は、自分が作成したルール情報の評価情報を閲覧することができるようになっている。
When a large number of pieces of evaluation information are transmitted from a large number of
(クラウドサーバ)
図7は、IoTシステム内のクラウドサーバ2の構成の一例を示す。
(Cloud server)
FIG. 7 shows an example of the configuration of the cloud server 2 in the IoT system.
クラウドサーバ2は、第1受信部202、ルール書き込み部204、履歴書き込み部206、評価書き込み部208、ランキング処理部210、サーバメモリ38、第2受信部232、要求判定部234、ルール選択部236、ルール一覧画面作成部238、送信部242を有する。
The cloud server 2 includes a
サーバメモリ38は、ルールメモリ222、履歴メモリ224、評価メモリ226、ランキングメモリ228を有する。
The
ルールメモリ222は、ルール情報を記憶する。履歴メモリ224は、実行履歴情報を記憶する。評価メモリ226は、評価情報を記憶する。ランキングメモリ228は、ランキング情報を記憶する。ランキング情報は、第1利用回数ランキング情報、第2利用回数ランキング情報、第3利用回数ランキング情報を含む。第1利用回数ランキング情報、第2利用回数ランキング情報、第3利用回数ランキング情報は後述する。第1受信部202は、クラウドサーバ2に接続可能な全てのエッジコンピュータ6からルール情報、実行履歴情報及び評価情報を受信する。
クラウドサーバ2の動作は、ルール登録時の動作とルール配信時の動作を含む。ルール登録とは、全てのエッジコンピュータ6により作成され、エッジコンピュータ6からクラウドサーバ2に送信されたルール情報を受信し、ルールメモリ222に記憶させることを含む。エッジコンピュータ6ではなくクラウドサーバ2がルール情報を作成する場合、ルール登録は、クラウドサーバ2で作成したルール情報をルールメモリ222に書き込むことを含む。ルール登録は、エッジコンピュータ6からの指示により実行される。
The operations of the cloud server 2 include operations at the time of rule registration and operations at the time of rule distribution. Rule registration includes receiving rule information created by all the
ルール書き込み部204は、第1受信部202で受信した全てのエッジコンピュータ6からのルール情報をルールメモリ222に書き込む。ルール書き込み部204は、ルール情報を受信すると、図示しない認証機関へルール情報を転送し、認証を依頼してもよい。認証機関は、IF部に記載の条件が成立した場合、THEN部に記載のTHENモジュールが処理を正しく実行できるか否かを判定する。ルール書き込み部204は、認証機関の認証が得られたルール情報をルールメモリ222に書き込んでもよい。
The
履歴書き込み部206は、第1受信部202で受信した全てのエッジコンピュータ6からの実行履歴情報を履歴メモリ224に書き込む。評価書き込み部208は、第1受信部202で受信した全てのエッジコンピュータ6からの評価情報を評価メモリ226に書き込む。
The
ランキング処理部210は、履歴メモリ224に記憶されている実行履歴情報内の実行日時情報をルール毎に集計し、ルール毎の利用回数を算出し、利用回数ランキング情報をランキングメモリ228に書き込む。ランキング処理部210は、評価メモリ226に記憶されている評価情報をルール毎に集計し、ルール毎の総合評価を算出し、総合評価ランキング情報をランキングメモリ228に書き込む。集計の一例は、平均値を算出することを含む。ランキング処理部210の詳細は後述する。
The
ルールメモリ222、履歴メモリ224、評価メモリ226及びランキングメモリ228を1つのメモリから構成する場合、1つのメモリの領域を4つに分割し、分割領域それぞれにルール情報、実行履歴情報、評価情報及びランキング情報を記憶してもよい。しかし、ルールメモリ222、履歴メモリ224、評価メモリ226及びランキングメモリ228は4つのメモリから構成してもよい。4つのメモリから構成する場合、独立した4つのメモリから構成してもよい。ルールメモリ222、履歴メモリ224、評価メモリ226及びランキングメモリ228は、1つのメモリとして使用される2つ以上のメモリから構成してもよい。
When the
第2受信部232は、エッジコンピュータ6からの要求信号を受信する。要求信号は、ルール一覧画面の表示を要求する表示要求信号であるか又は選択したルール情報のダウンロードを要求するダウンロード要求信号である。ダウンロード要求信号は、ルール情報のダウンロードを要求する旨の情報とダウンロード対象のルール情報を特定する情報を有する。
The
要求判定部234は、第2受信部232で受信した要求信号が、表示要求信号である場合は要求信号をルール一覧画面作成部238に送信し、ダウンロード要求信号である場合は要求信号をルール選択部236に送信する。
If the request signal received by the
ルール一覧画面作成部238は、要求判定部234から表示要求信号を受信すると、要求信号で指定された推奨度情報に基づくランキング情報をランキングメモリ228から読み出し、ランキング情報に基づくランキング表をルール一覧画面として作成し、ルール一覧画面情報を送信部242へ送る。すなわち、ランキング処理部210とルール一覧画面作成部238は連携して、推奨度情報に基づいて複数のルール情報の少なくとも1つのルール情報を表示する表示画面を生成する。そのため、ランキング処理部210とルール一覧画面作成部238は表示制御部と称されてもよい。なお、表示制御部はサーバメモリ38も含んでもよい。
When the rule list
ルール選択部236は、要求判定部234からダウンロード要求信号を受信すると、ダウンロード対象のルール情報をルールメモリ222から読み出し、ルール情報を送信部242へ送る。
When the
送信部242は、要求信号の送信元であるエッジコンピュータ6へルール一覧画面情報又はルール情報を送信する。
The
これにより、ルール一覧画面の表示を要求したエッジコンピュータ6の表示装置104にルール一覧画面が表示される。その後、ルール一覧画面の中の少なくとも一つのルール情報が選択されると、選択されたルール情報がエッジコンピュータ6にダウンロードされる。
As a result, the rule list screen is displayed on the
なお、エッジコンピュータ6の機能とクラウドサーバ2の機能の分担は、図1と図7に示した例に限定されない。図1に示したエッジコンピュータ6の機能の少なくとも一部をクラウドサーバ2で実現してもよい。図7に示したクラウドサーバ2の機能の少なくとも一部をエッジコンピュータ6で実現してもよい。さらに、両者の機能を含む単一の電子装置を設けてもよい。例えば、図1におけるマイクロサービス10A,10B、アプリケーション20、ルールメモリ28、送信部106、受信部108、評価メモリ122、及び履歴メモリ124に相当する構成をクラウドサーバ2に実装してもよい。この場合、クラウドサーバ2側で、IFモジュール8Aが検出した状態がルールメモリ28に記憶されている有効なルール情報の中のいずれかのルール情報のIF部に記載の特定の状態と一致するか否かを判定し、一致した場合、当該ルール情報のTHEN部に記載の処理をTHENモジュール8Bに実行させるための実行指示信号を、THENモジュール8Bに対応するマイクロサービス10Bに送信する処理は行う。
Note that the division of functions between the
(ルール一覧表示)
ランキング処理部210はルール情報毎の推奨度情報を算出して、ランキングメモリ228に書き込む。ランキング処理部210は、複数のルール情報を推奨度情報に基づいてその値の大きい順に並べてランキング情報を作成する。
(Rule list display)
The
ランキング処理部210は、集計タイミングになると、履歴メモリ224に記憶されている全てのエッジコンピュータ6からの実行履歴情報をルールID毎に集計して、ルール情報毎の累計の利用回数と一定期間内の利用回数を算出する。集計タイミングは、履歴メモリ224に実行履歴情報が書き込まれる毎でもよいし、一定期間毎でもよい。
At the aggregation timing, the
ランキング処理部210は、ルールID、累計の利用回数及び一定期間内の利用回数を対応付け、複数のルール情報を利用回数の多い順に並べて第1利用回数ランキング情報を算出し、第1利用回数ランキング情報をランキングメモリ228に書き込む。あるいは、集計タイミングは、ランキング情報が要求された時でもよい。すなわち、ランキング処理部210は、ランキング情報を予め算出し、ランキングメモリ228に書き込むことなく、要求された時にランキング情報を算出してもよい。
The
図8は、第1利用回数ランキング情報の一例を示す。第1利用回数ランキング情報では、複数のルール情報が累計の利用回数の多い順に並べられているが、一定期間内の利用回数の多い順に並べられていてもよい。なお、ランキング処理部210は、ルールID、累計の利用回数及び一定期間内の利用回数を対応付けるだけで、複数のルール情報を利用回数の順に並べ直さなくてもよい。ルール一覧画面作成部238が一覧画面を作成する際に、ランキングメモリ228から読み出したランキング情報において複数のルール情報を利用回数の多い順に並べ直してから一覧画面を作成してもよい。
FIG. 8 shows an example of first usage frequency ranking information. In the first use frequency ranking information, a plurality of pieces of rule information are arranged in descending order of the total number of uses, but may be arranged in order of the largest number of uses within a certain period. Note that the
利用回数に関する第1ルール一覧画面の表示要求がエッジコンピュータ6からクラウドサーバ2に送信されると、ルール一覧画面作成部238は、ランキングメモリ228から、例えば図8に示す第1利用回数ランキング情報を読み出し、第1利用回数ランキング情報に基づき第1利用回数ランキング表信号を作成し、第1利用回数ランキング表信号をルール一覧画面信号としてエッジコンピュータ6に送信する。
When a request to display the first rule list screen regarding the number of uses is sent from the
これにより、エッジコンピュータ6の表示装置104は、例えば図9に示す第1利用回数ランキング表を表示する。第1利用回数ランキング表では、複数のルール情報(各ルール情報はルール名と利用回数からなる)が累計の利用回数の多い順に並べられているが、一定期間内の利用回数の多い順に並べられてもよい。累計の利用回数のランキング表を表示するか又は一定期間内の利用回数のランキング表を表示するかは、エッジコンピュータ6から送信される第1ルール一覧画面の表示要求で指定可能である。
As a result, the
ランキング処理部210は、ルール情報毎の利用回数を算出するだけではなく、ユーザ毎の利用回数を算出してもよい。ユーザは、図9に示す第1利用回数ランキング表からは全てのユーザについての利用回数が分かるが、特定のユーザについての利用回数は分からない。ユーザは、自分が提供したいサービスと似たようなサービスを提供しているユーザが多数回使用したルール情報を知ることができれば、ルール情報を簡単に又は迅速に選択することが可能となる。特定のユーザについての利用回数を算出するために、ランキング処理部210は、集計タイミングになると、履歴メモリ224に記憶されている実行履歴情報をルールIDとユーザIDの組み合わせ毎に集計して、ルールIDとユーザIDの組み合わせ毎の累計の利用回数と一定期間内の利用回数を算出する。
The
ランキング処理部210は、ルールID、ユーザID、累計の利用回数及び一定期間内の利用回数を対応付ける第2利用回数ランキング情報を求め、第2利用回数ランキング情報をランキングメモリ228に書き込む。
The
図10は、第2利用回数ランキング情報の一例を示す。エッジコンピュータ6は、第2利用回数ランキング情報に基づいて特定のユーザについての第2利用回数ランキング表を表示することができる。第2利用回数ランキング表は、図9に示す第1利用回数ランキング表と略同じであるが、利用回数は特定のユーザについての利用回数である点が異なる。第2利用回数ランキング表中のルール情報の並び順は、累計の利用回数の多い順でも一定期間内の利用回数の多い順でもよい。どのユーザIDのユーザについて累計の利用回数のランキング表を表示するか又は一定期間内の利用回数のランキング表を表示するかは、エッジコンピュータ6から送信されるルール一覧画面の表示要求で指定可能である。
FIG. 10 shows an example of the second usage frequency ranking information. The
さらに、ランキング処理部210は、ルール属性の項目(対象者、シーン、テーマ及び課題)毎の利用回数を算出してもよい。ルール作成者は、ルール情報がどのようなサービスを提供するかを示すルール属性を設定可能である。同じルール情報でも、ルール属性の項目が異なり、利用される状況が異なると、効果が異なることがある。IoTシステムにより提供したいサービスに適したルール情報を見つけるためには、ルール属性の項目を指定し、その項目についての利用回数が多いルール情報を見つけることが有用である。
Furthermore, the
ルール属性の項目についての利用回数を算出するために、ランキング処理部210は、集計タイミングになると、履歴メモリ224に記憶されている実行履歴情報をルールIDとルール属性の各項目の組み合わせ毎に集計して、ルールIDとルール属性の各項目の組み合わせ毎の累計の利用回数と一定期間内の利用回数を算出する。ランキング処理部210は、第3利用回数ランキング情報を算出し、第3利用回数ランキング情報をランキングメモリ228に書き込む。第3利用回数ランキング情報は、ルールIDと累計の利用回数とが対応付けられた情報、ルール属性の各項目と累計の利用回数とが対応付けられた情報、ルールIDと一定期間内の利用回数とが対応付けられた情報、ルール属性の各項目と一定期間内の利用回数とが対応付けられた情報のいずれかを少なくとも含む。
In order to calculate the number of uses for the rule attribute item, the
図11は、第3利用回数ランキング情報の一例を示す。なお、ルール属性の項目は、対象者、シーン、テーマ及び課題を全て含む必要は無く、これらのうちの少なくとも一つを含めばよい。 FIG. 11 shows an example of the third usage frequency ranking information. Note that the rule attribute items do not need to include all of the target person, scene, theme, and task, and may include at least one of these.
エッジコンピュータ6は、図11に示す第3利用回数ランキング情報に基づいて図12に示す第3利用回数ランキング表を表示することができる。図12に示す利用回数ランキング表では、ルール属性の項目としてシーンが選択され、複数のルール情報(各ルール情報はルール名、利用回数、ルール属性の他の項目からなる)が特定のシーンIDについての累計の利用回数の多い順に並べられているが、あるシーンについて一定期間内の利用回数の多い順に並べられてもよい。また、ルール属性の項目としてシーン以外の項目を選んでもよい。さらに、ルール属性の複数の項目を選択し、複数の項目の組み合わせについての利用回数を算出してもよい。ルール属性のどの項目(複数でもよい)のどのIDについて累計の利用回数のランキング表を表示するか又は一定期間内の利用回数のランキング表を表示するかは、エッジコンピュータ6から送信されるルール一覧画面の表示要求で指定可能である。
The
図12に示す利用回数ランキング表の各ルール情報の表示領域において、対象者、テーマ又は課題がクリックされると、特定のシーンについての利用回数ランキング表は、クリックされた特定の対象者、テーマ又は課題についての利用回数ランキング表に変更される。 When a target person, theme, or task is clicked in the display area of each rule information of the usage frequency ranking table shown in FIG. 12, the usage frequency ranking table for a specific scene is It will be changed to a ranking table of the number of times the assignment has been used.
図11に示す第3利用回数ランキング情報においても、図10に示す第2利用回数ランキング情報のように、ユーザIDも含めて、ルールIDとユーザIDとルール属性の各項目の組み合わせ毎に利用回数を算出してもよい。 Also in the third usage frequency ranking information shown in FIG. 11, like the second usage frequency ranking information shown in FIG. may be calculated.
ランキング処理部210が算出する推奨度情報の他の例は、評価に関する推奨度情報である。評価は、ルール評価、IFモジュール評価及びTHENモジュール評価を含む。図6に示すように、ルール評価、IFモジュール評価及びTHENモジュール評価は評価情報に含まれる。
Another example of the recommendation degree information calculated by the
ランキング処理部210は、集計タイミングになると、評価メモリ226に記憶されている評価情報のルール評価、IFモジュール評価及びTHENモジュール評価をルールID毎に集計して、ルール情報毎のルール評価集計値、IFモジュール評価集計値、THENモジュール評価集計値を算出する。集計値は、評価の平均値、評価の最大値と最小値のペア等を含む。集計タイミングは、評価メモリ226に評価情報が書き込まれる毎でもよいし、一定期間毎でもよい。
At the aggregation timing, the
ランキング処理部210は、ルールID、ルール評価集計値、IFモジュール評価集計値及びTHENモジュール評価集計値を対応付ける評価ランキング情報を算出し、評価ランキング情報をランキングメモリ228に書き込む。図13は、評価ランキング情報の一例を示す。なお、評価集計値は、ルール評価集計値、IFモジュール評価集計値及びTHENモジュール評価集計値を全て含む必要は無く、これらのうちの少なくとも一つを含めばよい。図13に示す評価ランキング情報では、ルールIDがルール評価集計値の大きい順に並べられているが、IFモジュール評価集計値又はTHENモジュール評価集計値の大きい順に並べられていてもよい。
The
エッジコンピュータ6は、図13に示す評価ランキング情報に基づいて、図14に示すルール評価ランキング表を表示することができる。図14に示すルール評価ランキング表では、複数のルール情報(各ルール情報は、ルール名、ルール評価集計値、IFモジュール評価集計値、THENモジュール評価集計値からなる)がルール評価集計値の大きい順に並べられているが、IFモジュール評価集計値又はTHENモジュール評価集計値の大きい順に並べられてもよい。ルール評価、IFモジュール評価及びTHENモジュール評価のいずれの大きい順のランキング表を表示するかは、エッジコンピュータ6から送信されるルール一覧画面の表示要求で指定可能である。
The
図14に示すランキング表の各ルール情報の表示領域において、IFモジュール評価集計値又はTHENモジュール評価集計値がクリックされると、ルール評価ランキング表は、クリックされたIFモジュール評価集計値又はTHENモジュール評価集計値についてのランキング表に変更される。 When the IF module evaluation aggregate value or THEN module evaluation aggregate value is clicked in the display area of each rule information of the ranking table shown in FIG. 14, the rule evaluation ranking table displays the clicked IF module evaluation aggregate value or THEN module evaluation Changed to a ranking table based on aggregated values.
図13に示す評価ランキング情報においても、図10に示す第2利用回数ランキング情報のように、ユーザIDも含めて、ルールIDとユーザIDと評価集計値の組み合わせ毎に利用回数を算出してもよい。 In the evaluation ranking information shown in FIG. 13, the number of uses may be calculated for each combination of rule ID, user ID, and evaluation aggregate value, including the user ID, as in the second usage frequency ranking information shown in FIG. 10. good.
なお、評価は評価情報に含まれるコメント(ルールコメント、IFモジュールコメント、THENモジュールコメント)を含んでもよい。この場合、ランキング処理部210は、形態素解析、構文解析、意味解析、文脈解析による自然言語処理を実行可能とされている。ランキング処理部210は、テキストからなるコメントを自然言語処理して、テキストをコメント内容を示すコメント値に変換する。ランキング処理部210は、コメント値をルールID毎に集計して、ルール情報のコメント集計値を算出する。ランキング処理部210は、ルールID、評価集計値及びコメント集計値を対応付ける第2評価ランキング情報を算出してもよい。
Note that the evaluation may include comments (rule comments, IF module comments, THEN module comments) included in the evaluation information. In this case, the
上述の説明では、ランキング処理部210は特定の推奨度情報に関してルール情報を予め並べたランキング情報を算出し、ランキング情報をランキングメモリ228に書き込んでおき、エッジコンピュータ6からのルール一覧表示要求を受信すると、ランキングメモリ228からランキング情報を読み出している。しかし、ランキングメモリ228に記憶されているランキング情報において、ルールIDが推奨度情報の値の大きい順に並べられている必要は無い。ランキング処理部210は、ルールIDと推奨度情報とを対応付けただけのランキング情報をランキングメモリ228に書き込んでもよい。ルール一覧画面作成部238は、ランキングメモリ228から読み出したランキング情報において推奨度情報の値の大きい順にルールIDを並べ直してから一覧画面を作成してもよい。
In the above description, the
さらに、ランキング処理部210は、上記の情報の代わりに又は上記の情報に加えて、利用デバイスIDや利用位置IDとルールの各組み合わせについて累計の利用回数、一定期間内の利用回数又は評価集計値を算出してもよい。
Furthermore, instead of or in addition to the above information, the
例えば図8、図10又は図11に示す利用回数ランキング情報にルール作成者IDを追加してもよい。例えば図8に示す第1利用回数ランキング情報に対してルール作成者IDが追加された場合、図15に示す利用回数ランキング表が表示され得る。図15に示す利用回数ランキング表は、図9に示すランキング表に対して、各ルール情報の表示領域にルール作成者が表示されている点が異なる。 For example, the rule creator ID may be added to the usage count ranking information shown in FIG. 8, FIG. 10, or FIG. 11. For example, when the rule creator ID is added to the first usage frequency ranking information shown in FIG. 8, a usage frequency ranking table shown in FIG. 15 may be displayed. The usage count ranking table shown in FIG. 15 differs from the ranking table shown in FIG. 9 in that the rule creator is displayed in the display area of each rule information.
図15に示すランキング表では、図9に示すランキング表と同様に、ルール作成者が誰であるかに関わらず、利用回数の多い順にルール情報が並べられている。図15に示すランキング表の各ルール情報の表示領域においてルール作成者がクリックされると、ランキング表は、例えば図16に示すように、クリックされた特定の作成者が作成したルール情報についての利用回数ランキング表に変更される。そのため、利用回数の多いルール情報のルール作成者をクリックすることにより、利用回数の多いルール情報の作成者が作成したルール情報の利用回数ランキング表を表示することができる。利用回数の多いルール作成者が作成したルール情報を選択することは無難であると考えられるので、例えば図16に示すように特定のルール作成者の作成したルール情報の利用回数ランキング表を表示することは、ルール情報の選択に有用である。 In the ranking table shown in FIG. 15, similar to the ranking table shown in FIG. 9, rule information is arranged in descending order of usage frequency, regardless of who created the rule. When a rule creator is clicked in the display area of each rule information of the ranking table shown in FIG. 15, the ranking table displays information about the usage of the rule information created by the specific creator clicked, for example, as shown in FIG. 16. Changed to frequency ranking table. Therefore, by clicking on the rule creator of rule information that has been used frequently, a ranking table of the number of uses of rule information created by the creator of rule information that has been used many times can be displayed. Since it is considered safe to select rule information created by a rule creator who has used it many times, for example, as shown in FIG. 16, a ranking table of the number of uses of rule information created by a specific rule creator is displayed. This is useful for selecting rule information.
なお、ルール作成者IDを図13に示す評価ランキング情報に追加しても、同様な効果が得られる。 Note that the same effect can be obtained by adding the rule creator ID to the evaluation ranking information shown in FIG. 13.
また、ルール作成者IDではなく、IFモジュールIDとTHENモジュールIDをランキング情報に追加しても、同様な効果が得られる。例えば図8に示す利用回数ランキング情報に対してIFモジュールIDとTHENモジュールIDが追加された場合、例えば図17に示すルール評価ランキング表が表示される。図17に示すランキング表は、図14に示すルール評価ランキング表の各ルール情報のIFモジュール評価集計値がIFモジュールIDに、THENモジュール評価集計値がTHENモジュールIDに変更されている点が異なる。なお、IFモジュールIDとTHENモジュールIDをともにランキング情報に追加するのではなく、IFモジュールIDとTHENモジュールIDの一方のみを追加してもよい。 Further, the same effect can be obtained by adding the IF module ID and THEN module ID to the ranking information instead of the rule creator ID. For example, when the IF module ID and THEN module ID are added to the usage count ranking information shown in FIG. 8, the rule evaluation ranking table shown in FIG. 17, for example, is displayed. The ranking table shown in FIG. 17 differs in that the IF module evaluation total value of each rule information in the rule evaluation ranking table shown in FIG. 14 is changed to the IF module ID, and the THEN module evaluation total value is changed to the THEN module ID. Note that instead of adding both the IF module ID and the THEN module ID to the ranking information, only one of the IF module ID and the THEN module ID may be added.
図17に示すランキング表は、図14に示すランキング表と同様に、IFモジュールやTHENモジュールが何であるかに関わらず、複数のルール情報は利用回数の多い順に並べられている。図17に示すランキング表の各ルール情報の表示領域において、IFモジュールID又はTHENモジュールIDがクリックされると、ランキング表は、図18に示すように、クリックされたIFモジュール又はTHENモジュールを使うルール情報に限られた利用回数ランキング表に変更される。そのため、利用回数の多いIFモジュール又はTHENモジュールを使うルール情報の利用回数ランキング表を表示することができる。利用回数の多いIFモジュール又はTHENモジュールを使うルール情報を選択することは無難であると考えられるので、図18に示す利用回数ランキング表を表示することは、ルール情報の選択に有用である。 In the ranking table shown in FIG. 17, similar to the ranking table shown in FIG. 14, a plurality of pieces of rule information are arranged in descending order of usage frequency, regardless of the IF module or THEN module. When the IF module ID or THEN module ID is clicked in the display area of each rule information of the ranking table shown in FIG. 17, the ranking table displays the rules that use the clicked IF module or THEN module, as shown in FIG. Changed to a usage ranking table with limited information. Therefore, it is possible to display a usage frequency ranking table of rule information that uses the IF module or THEN module that is used frequently. Since it is considered safe to select rule information that uses an IF module or THEN module that is used frequently, displaying the usage frequency ranking table shown in FIG. 18 is useful for selecting rule information.
IFモジュールIDとTHENモジュールIDを利用開始ランキング情報に追加するのではなく、評価ランキング情報に追加しても、同様な効果が得られる。 A similar effect can be obtained by adding the IF module ID and THEN module ID to the evaluation ranking information instead of adding them to the start-of-use ranking information.
以上説明したように、実施形態は、推奨度情報に基づいて最終的にユーザにお薦めするルール情報を提示する表示画面を生成する表示制御部を備える。表示制御部は、推奨度情報に基づいて最終的な表示画面を生成すればよく、表示画面とそれを生成する処理に何ら限定はない。最終的な表示画面は、上述した利用回数ランキング表、評価ランキング表に限らず、ユーザにお薦めするルール情報を表示するものであれば、その形態に何ら限定は無く、ランキング表は種々変形可能である。さらに、推奨度情報から表示画面を生成する処理も、上述したように、推奨度情報に基づくランキング情報をランキングメモリ228から読み出し、ランキング情報に基づくランキング表をルール一覧画面として作成する処理に限らず、推奨度情報からランキング表を直接求めてもよい。
As described above, the embodiment includes a display control unit that generates a display screen that presents rule information that is ultimately recommended to the user based on recommendation level information. The display control unit only needs to generate the final display screen based on the recommendation level information, and there is no limitation on the display screen and the process for generating it. The final display screen is not limited to the above-mentioned usage frequency ranking table and evaluation ranking table, but there is no limit to its form as long as it displays rule information recommended to the user, and the ranking table can be modified in various ways. be. Furthermore, the process of generating a display screen from the recommendation level information is not limited to the process of reading ranking information based on the recommendation level information from the
推奨度情報の変形例を説明する。 A modified example of the recommendation level information will be explained.
上述の説明では、利用回数や評価に関する推奨度情報が用いられたが、作成日時に関する推奨度情報が用いられてもよい。すなわち、作成日時が新しい順に並べられたルール一覧画面を表示してもよい。この場合は、クラウドサーバ2にランキング処理部210、ランキングメモリ228を設けることは不要であり。ルール一覧画面作成部238はルールメモリ222から作成日時の新しい順にルール情報を読み出して、一覧画面を生成すればよい。
In the above description, recommendation information regarding the number of uses and evaluation was used, but recommendation information regarding creation date and time may also be used. That is, a rule list screen may be displayed in which rules are arranged in order of creation date and time. In this case, it is unnecessary to provide the
また、エッジコンピュータ6は、所有しているIFモジュールのIDとTHENモジュールのIDを管理している。エッジコンピュータ6は、例えばルール一覧表示要求とともにこれらのIDをクラウドサーバ2へ送信してもよい。クラウドサーバ2は、ルールメモリ222が記憶しているルール情報の中からユーザが所有しているIFモジュールとTHENモジュールを使うルール情報を検索し、検索したルール情報からなるルール一覧画面を生成することができる。すなわち、ユーザが現在所有しているIFモジュールとTHENモジュールだけで利用できるルール情報をユーザへ推奨することができる。ユーザは新たにモジュールを購入することなく、IoTシステムを作成することができる。
The
実行履歴情報として、実行日時や利用位置IDを含めた場合には、クラウドサーバ2は、これらを分析して、このルール情報は何月何日何時頃利用されることが多いこと又はこのルール情報は何処で利用されることが多いことを知ることができる。この知識をルール一覧作成に利用すると、より効率的なルール情報を推奨することができる。すなわち、クラウドサーバ2は、ルール一覧画面表示の要求信号の送信日時に利用されることが多いルール情報又はルール一覧画面表示の要求信号の送信場所で利用されることが多いルール情報を実行履歴情報に基づいて抽出することができる。あるいは、エッジコンピュータ6は、ルール一覧画面表示の要求信号の送信の際、利用日時又は利用場所を指定すると、クラウドサーバ2は、指定された日時又は指定された場所で利用されることが多いルール情報の一覧画面を作成することができる。
If the execution history information includes execution date and time and usage location ID, the cloud server 2 analyzes these and determines what month, day, and time this rule information is often used, or the rule information. You can find out where it is often used. If this knowledge is used to create a list of rules, it is possible to recommend more efficient rule information. That is, the cloud server 2 converts rule information that is often used in the transmission date and time of the request signal for rule list screen display or rule information that is often used in the transmission location of the request signal for rule list screen display into execution history information. can be extracted based on. Alternatively, when the
ユーザは、エッジコンピュータ6のルール取得部114からルール情報の検索要求をルール公開サイトへ送信することもできる。検索要求は、ルール一覧画面の表示中に送信してもよいし、ルール一覧画面とは無関係に送信してもよい。
The user can also send a search request for rule information from the
(ルール作成)
図19はエッジコンピュータ12のルール作成部112によるルール作成処理の一例を示すフローチャートである。ここでは、エッジコンピュータ12はスマートフォンであるとする。図20乃至図22は、ルール作成時のエッジコンピュータ12の表示装置104の画面遷移の一例を示す。
(rule creation)
FIG. 19 is a flowchart showing an example of rule creation processing by the rule creation unit 112 of the edge computer 12. Here, it is assumed that the edge computer 12 is a smartphone. 20 to 22 show examples of screen transitions on the
ルール作成部112は、ステップS104で、ルール作成メニューを表示装置104上で表示する。ルール作成メニューの一例を図20(a)に示す。ルール作成メニューは、ルールID欄302、IFボタン306及びTHENボタン308を含む。ルールID欄302には、エッジコンピュータ12の識別番号である数10桁の英数字が入力される。識別番号は、自動的に発番されてもよい。
The rule creation unit 112 displays a rule creation menu on the
ルール作成者がIFボタン306を選択すると、ルール作成部112は、ステップS106で、図20(b)に示すIFモジュールの選択画面を表示し、IF部の設定処理を行う。選択画面は、IFモジュールのアイコンと名称のリストであり、リストは上下にスクロール可能である。IFモジュールは機能・種類毎にグループ化されていてもよい。名称の順番は「あいうえお」順でもよいし、使用回数の多い順でもよい。
When the rule creator selects the
ルール作成者がいずれかのIFモジュールのアイコンを選択すると、ルール作成部112は、図20(c)に示すIF部の条件設定画面を表示する。ここでは、IFモジュールとして「ボタン」が選択された例を説明する。条件設定画面は、条件の選択肢と「進む」ボタン312を含む。条件として「ボタンを押すと」が選択されると、IFパラメータの選択肢としてシングルクリック、ダブルクリック及びロングクリックがさらに表示される。IFパラメータが選択されると、図示していないが、IFサイクルの選択肢もさらに表示され、IFサイクルも設定される。 When the rule creator selects one of the IF module icons, the rule creator 112 displays the IF module condition setting screen shown in FIG. 20(c). Here, an example will be described in which a "button" is selected as the IF module. The condition setting screen includes condition options and a "proceed" button 312. When "when a button is pressed" is selected as the condition, single click, double click, and long click are further displayed as IF parameter options. When the IF parameter is selected, an IF cycle option is also displayed (not shown), and the IF cycle is also set.
ルール作成者が「進む」ボタン312を選択すると、ルール作成部112は、図21(a)に示すIF部条件設定の終了画面を表示する。終了画面は、ルールID欄302、IFボタン306、THENボタン308及び選択されたIFモジュールのアイコン314を含む。
When the rule creator selects the "proceed" button 312, the rule creator 112 displays the IF section condition setting completion screen shown in FIG. 21(a). The end screen includes a
例えば「温度が25度以上」と「湿度が80%以上」のような複数の条件を1つのルール情報に含めたい場合がある。この場合、ルール作成者は、終了画面でIFボタン306を選択する。IFボタン306が選択されると、上述のIF部の設定処理が再度実行され、複数の条件が1つのルール情報に設定される。なお、複数の条件はAND条件でもOR条件でもよい。IF部の設定処理が再度実行される場合、複数の条件がAND条件であるかOR条件であるかの選択肢も設定される。複数の条件がAND条件である場合、複数の条件の全てが満たされないと、THEN部に記載の処理が実行されない。複数の条件がOR条件である場合、複数の条件のいずれか一つでも満たされると、THEN部に記載の処理が実行される。
For example, there are cases where it is desired to include multiple conditions such as "temperature is 25 degrees or higher" and "humidity is 80% or higher" in one piece of rule information. In this case, the rule creator selects the
ルール作成者が、IF部設定の終了画面でTHENボタン308を選択すると、ルール作成部112は、ステップS108で、図21(b)に示すTHENモジュールの選択画面を表示し、THEN部の設定処理を行う。選択画面は、THENモジュールのアイコンと名称のリストであり、リストは上下にスクロール可能である。THENモジュールは機能・種類毎にグループ化されていてもよい。名称の順番は「あいうえお」順でもよいし、使用回数の多い順でもよい。
When the rule creator selects the
ルール作成者がいずれかのTHENモジュールを選択すると、ルール作成部112は、図21(c)に示すTHEN部の処理設定画面を表示する。ここでは、THENモジュールとしてLEDが選択された例を説明する。処理設定画面は、処理の選択肢と「進む」ボタン316を含む。処理として「光る」が選択されると、THENパラメータの選択肢として発光パターン、例えば「100ms毎に点滅」がさらに表示される。 When the rule creator selects any THEN module, the rule creator 112 displays a process setting screen for the THEN module shown in FIG. 21(c). Here, an example will be described in which an LED is selected as the THEN module. The processing setting screen includes processing options and a "proceed" button 316. When "shining" is selected as the process, a lighting pattern such as "flashing every 100 ms" is further displayed as a THEN parameter option.
ルール作成者が「進む」ボタン316を選択すると、ルール作成部112は、図22(a)に示すTHEN部の設定終了画面を表示する。設定終了画面は、ルールID欄302、IFボタン306、THENボタン308、IFモジュールのアイコン314、THENモジュールのアイコン318及び「進む」ボタン322を含む。
When the rule creator selects the "proceed" button 316, the rule creator 112 displays the THEN section setting completion screen shown in FIG. 22(a). The setting end screen includes a
条件の設定処理と同様に、例えば「振動によりユーザに通知」と「メールでユーザに通知」のような複数の処理を1つのルール情報に含めたい場合がある。この場合、ルール作成者は、終了画面でTHENボタン308を選択する。THENボタン308が選択されると、上述のTHEN部の設定処理が再度実行され、複数の処理が1つのルール情報に設定される。なお、複数の処理はAND処理でもOR処理でもよい。THEN部の設定処理が再度実行される場合、複数の処理がAND処理であるかOR処理であるかの選択肢も設定される。
Similar to the condition setting process, there are cases where it is desired to include multiple processes such as "notify the user by vibration" and "notify the user by email" in one rule information. In this case, the rule creator selects THEN
ルール作成者が、THEN部設定の終了画面で「進む」ボタン322を選択すると、ルール作成部112は、ステップS112で、図22(b)に示すルール属性と編集可否フラグの設定画面を表示し、ルール属性と編集可否フラグの設定処理を行う。設定画面はルール属性の選択肢と編集可否フラグの選択肢を含む。
When the rule creator selects the "proceed"
これらの選択肢が選択されると、ルール作成部112は、図22(c)に示す送信確認画面を表示する。送信確認画面は設定したルールの内容と送信ボタン326を含む。ユーザは、この画面でルール名を入力することができる。
When these options are selected, the rule creation unit 112 displays a transmission confirmation screen shown in FIG. 22(c). The transmission confirmation screen includes the contents of the set rule and a
ルール作成者が送信ボタン326を選択すると、ルール作成部112は、ステップS114で、ルール情報を送信部106へ送る。送信部106は所定のタイミングでルール情報をクラウドサーバ2へ送信する。
When the rule creator selects the
このようにクラウドサーバ2は、各エッジコンピュータ6から送信された多くのルール情報をルールメモリ222に記憶する。
In this way, the cloud server 2 stores a lot of rule information transmitted from each
(ルールダウンロード)
ユーザはルールを利用する際、先ず、希望するルール情報をクラウドサーバ2からエッジコンピュータ6にダウンロードする。図23は、ルール情報のダウンロードに関するエッジコンピュータ6とクラウドサーバ2の処理の流れの一例を示すシーケンスチャートである。
(Rule download)
When using rules, the user first downloads desired rule information from the cloud server 2 to the
エッジコンピュータ6では、ルール取得部114は、ステップS122で、クラウドサーバ2のルール配信サイトにアクセスし、ルール一覧画面の表示を要求する表示要求信号を送信部106を介してクラウドサーバ2へ送信する。表示要求信号は、どの推奨度情報に関するランキングを要求するかを指定する。
In the
クラウドサーバ2では、表示要求信号を受信すると、ルール一覧画面作成部238は、ステップS142で、指定された推奨度情報に関するランキング情報をランキングメモリ228から読み出し、読み出したランキング情報に基づいてルール一覧画面信号を生成し、ルール一覧画面信号を送信部242を介してエッジコンピュータ6に送信する。
In the cloud server 2, upon receiving the display request signal, the rule list
エッジコンピュータ6では、受信部108がルール一覧画面信号を受信すると、ルール取得部114は、ステップS124で、ルール一覧画面信号に基づいて図9、図12、図14又は図15に示すランキング表を表示装置104で表示する。
In the
ユーザは、ランキング表の中から希望するルール情報を選択する。ユーザは、場合によっては、画面をスクロールしてランキング表を見る。しかし、ランキング表からルール情報を選択できない場合、ユーザは表示されているランキング表を異なる種類のランキング表に変更することを要求することができる。ルール取得部114は、ユーザからの指示に基づいて、ステップS122を再度実行し、他の推奨度情報を指定する表示要求信号をクラウドサーバ2に送信してもよい。例えば利用回数ランキング表から評価ランキング表に変更する、またはその逆に変更することが可能である。さらに、同じ推奨度情報に関するランキング表でも、特定のユーザ、特定のルール作成者、特定のルール属性、特定のIFモジュール又はTHENモジュールについての絞り込んだランキング表に変更する場合も可能である。この場合も、ルール取得部114は、ユーザからの指示に基づいて、ステップS122を再度実行し、ランキング表を絞り込む要求信号をクラウドサーバ2に送信してもよい。
The user selects desired rule information from the ranking table. The user may scroll the screen to view the ranking table. However, if rule information cannot be selected from the ranking table, the user can request that the displayed ranking table be changed to a different type of ranking table. The
ユーザがランキング表の中からルールを選択すると、ルール取得部114は、ステップS126で、選択されたルール情報のダウンロード要求信号を送信部106を介してクラウドサーバ2へ送信する。
When the user selects a rule from the ranking table, the
クラウドサーバ2では、ダウンロード要求信号を受信すると、ルール選択部236は、ステップS144で、ルールメモリ222から要求されたルール情報を読み出し、ルール情報を送信部242を介してエッジコンピュータ6に送信する。
In the cloud server 2, upon receiving the download request signal, the
エッジコンピュータ6では、ルール情報を受信すると、ルール管理部132は、ステップS128で、ルール情報をルールメモリ28に書き込む。
In the
(ルール利用)
図24はエッジコンピュータ12のルールエンジン26がルールを利用する処理の一例を示すフローチャートである。ルール管理部132は、ステップS152で、ルールメモリ28に記憶されているルール情報を読み出し、読み出したルール情報を状態モニタ134と処理起動部136へ送る。ルール情報に有効/無効又は有効な期間が設定されている場合は、ルール管理部132は、現在有効なルール情報のみを読み出す。ここでは、複数のIFモジュール8AとTHENモジュール8Bが用意されているとする。複数のIFモジュール8Aにそれぞれ対応した複数のマイクロサービス10Aと、複数のTHENモジュール8Bにそれぞれ対応した複数のマイクロサービス10Bも用意されているとする。
(Using rules)
FIG. 24 is a flowchart showing an example of a process in which the
状態モニタ134は、ステップS154で、ルール管理部132から送信されたルール情報に規定されているIFモジュールIDに対応するマイクロサービス10AへIFモジュール8Aの状態をIFサイクルで規定の周期で検出させる状態検出要求信号を送信する。マイクロサービス10Aは対応するIFモジュール8Aへ状態検出要求信号を定期的に送信し、IFモジュール8Aに状態を検出させる。IFモジュール8Aは、要求信号に応じて状態を検出し、状態検出信号をマイクロサービス10Aへ送る。
In step S154, the status monitor 134 causes the
状態モニタ134は、ステップS156で、マイクロサービス10a~10iから送信されたIFモジュール8Aの状態検出信号を受信する。
In step S156, the
状態モニタ134は、ステップS158で、IFモジュール8Aにより検出された状態はいずれかのルール情報のIF部に記載の条件(IFパラメータも考慮)した条件)を満たしているか否かを判定する。状態モニタ134は、状態が条件を満たしていないと判定した場合、ステップS154の処理を再度実行する。
In step S158, the
状態モニタ134は、状態が条件を満たしていると判定した場合、当該ルール情報のルールIDへ送る。
When the
処理起動部136は、ルールIDを受信すると、ステップS160で、当該ルールIDのルール情報に規定されているTHENモジュールIDに対応するマイクロサービス10Bへルール情報に規定されている処理を実行させる制御信号を送信し、実行履歴管理部118にルールIDを送信する。マイクロサービス10Bは、ルール情報に規定されている処理を実行させるようにTHENモジュール8Bを駆動する。
Upon receiving the rule ID, the
実行履歴管理部118は、ルールIDを受信すると、ステップS162で、実行履歴情報を作成し、実行履歴情報を履歴メモリ124に書き込む。
Upon receiving the rule ID, the execution
実行履歴管理部118は、ステップS164で、実行履歴情報をクラウドサーバ2へ送信する。
The execution
THENモジュール8Bが処理を実行した後の任意のタイミング(ステップS166)で、評価管理部116は、ルールのコメント・評価の入力画面を表示する。ユーザは、画面に従って、利用したルールのコメント・評価を入力する。これにより、評価情報が作成される。
At an arbitrary timing after the
評価管理部116は、ステップS168で、評価情報をクラウドサーバ2へ送信する。
The
なお、実行履歴情報の送信ステップS164と、評価情報の送信ステップS170の実行タイミングは、他のタイミングでもよい。 Note that the execution timings of the execution history information transmission step S164 and the evaluation information transmission step S170 may be other timings.
なお、本発明は上記の各実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に亘る構成要素を適宜組み合せてもよい。 It should be noted that the present invention is not limited to the above-described embodiments as they are, but can be implemented by modifying the constituent elements within the scope of the invention at the implementation stage. Moreover, various inventions can be formed by appropriately combining the plurality of components disclosed in the above embodiments. For example, some components may be deleted from all the components shown in the embodiments. Furthermore, components from different embodiments may be combined as appropriate.
2…クラウドサーバ、6…エッジコンピュータ、8A…IFモジュール、8B…THENモジュール、10a,10B…マイクロサービス、18…ネットワーク、26…ルールエンジン、28…ルールメモリ、204…ルール書き込み部、206…履歴書き込み部、208…評価書き込み部、210…ランキング処理部、222…ルールメモリ、224…履歴メモリ、226…評価メモリ、228…ランキングメモリ、236…ルール選択部、238…ルール一覧画面作成部。 2... Cloud server, 6... Edge computer, 8A... IF module, 8B... THEN module, 10a, 10B... microservice, 18... network, 26... rule engine, 28... rule memory, 204... rule writing unit, 206... history Writing section, 208... Evaluation writing section, 210... Ranking processing section, 222... Rule memory, 224... History memory, 226... Evaluation memory, 228... Ranking memory, 236... Rule selection section, 238... Rule list screen creation section.
Claims (7)
前記複数のセンサの中の少なくとも1つのセンサのセンス結果が特定の結果である場合、前記複数の処理モジュールの中の少なくとも1つの処理モジュールが前記センス結果に連携した動作を実行するように関連付けした複数のルール情報を記憶する記憶部と、
前記複数のルール情報に含まれるルール識別情報を表示する表示画面を生成する表示制御部と、を具備し、
前記複数のルール情報のそれぞれは、
ルール情報の作成者の識別情報と、
前記ルール情報の属性情報を含み、
前記属性情報は、
前記ルール情報により提供されるサービスが利用されるシーンを示す第1の識別情報と、
前記ルール情報により提供される前記サービスのテーマを示す第2の識別情報と、
前記ルール情報により提供される前記サービスにより解決される課題を示す第3の識別情報と、を少なくとも含む、
電子装置。 Electronic devices connected to multiple sensors and multiple processing modules are
When the sense result of at least one sensor among the plurality of sensors is a specific result, at least one processing module among the plurality of processing modules is associated with the sense result to perform a coordinated operation. a storage unit that stores multiple pieces of rule information;
a display control unit that generates a display screen that displays rule identification information included in the plurality of rule information,
Each of the plurality of rule information is
Identification information of the creator of the rule information,
including attribute information of the rule information,
The attribute information is
first identification information indicating a scene in which the service provided by the rule information is used;
second identification information indicating a theme of the service provided by the rule information;
at least third identification information indicating a problem to be solved by the service provided by the rule information;
electronic equipment.
前記ルール作成部は記憶部に対して、
1つのルール識別情報に対応させて、センサ(IFモジュール)の識別情報と処理モジュール(THENモジュール)の識別情報を特定する第1、第2の記憶領域と、
前記センサ(IFモジュール)のセンシング内容と、前記処理モジュール(THENモジュール)の処理内容を記述する第3、第4の記憶領域を含む、
請求項1記載の電子装置。 further including a rule creation section for creating the rule information,
The rule creation unit stores the following information in the storage unit:
first and second storage areas that specify identification information of a sensor (IF module) and identification information of a processing module (THEN module) in correspondence with one rule identification information;
including third and fourth storage areas that describe sensing contents of the sensor (IF module) and processing contents of the processing module (THEN module);
The electronic device according to claim 1.
前記複数のセンサの中の少なくとも1つのセンサのセンス結果が特定の結果である場合、前記複数の処理モジュールの中の少なくとも1つの処理モジュールが前記センス結果に連携した動作を実行するように関連付けした複数のルール情報を記憶する記憶部と、
前記複数のルール情報に含まれるルール識別情報を表示する表示画面を生成する表示制御部と、を具備し、
前記複数のルール情報のそれぞれは、
ルール情報の作成者の識別情報と、
前記ルール情報の属性情報を含み、
前記属性情報は、
前記ルール情報により提供されるサービスが利用されるシーンを示す第1の識別情報と、
前記ルール情報により提供される前記サービスのテーマを示す第2の識別情報と、
前記ルール情報により提供される前記サービスにより解決される課題を示す第3の識別情報と、を少なくとも含み、
前記センサ及び又は前記処理モジュールが、マイクロサービスを介して前記インターネットに接続されている、
電子装置システム。 An electronic device system with multiple sensors, multiple processing modules, and connected to the Internet,
When the sense result of at least one sensor among the plurality of sensors is a specific result, at least one processing module among the plurality of processing modules is associated with the sense result to perform a coordinated operation. a storage unit that stores multiple pieces of rule information;
a display control unit that generates a display screen that displays rule identification information included in the plurality of rule information,
Each of the plurality of rule information is
Identification information of the creator of the rule information,
including attribute information of the rule information,
The attribute information is
first identification information indicating a scene in which the service provided by the rule information is used;
second identification information indicating a theme of the service provided by the rule information;
at least third identification information indicating a problem to be solved by the service provided by the rule information,
the sensor and/or the processing module is connected to the internet via a microservice;
Electronic equipment system.
前記複数のセンサの中の少なくとも1つのセンサのセンス結果が特定の結果である場合、前記複数の処理モジュールの中の少なくとも1つの処理モジュールが前記センス結果に連携した動作を実行するように関連付けした複数のルール情報を記憶部に記憶し、
前記複数のルール情報に含まれるルール識別情報を表示する表示制御部が表示画面を生成し、
前記複数のルール情報のそれぞれは、
ルール情報の作成者の識別情報と、
前記ルール情報の属性情報を含み、
前記属性情報は、
前記ルール情報により提供されるサービスが利用されるシーンを示す第1の識別情報と、
前記ルール情報により提供される前記サービスのテーマを示す第2の識別情報と、
前記ルール情報により提供される前記サービスにより解決される課題を示す第3の識別情報と、を少なくとも含むみ、
前記センサと前記処理モジュールを前記ルール情報により連携させるようにした、
電子装置の制御方法。 A method for controlling an electronic device connected to multiple sensors and multiple processing modules is
When the sense result of at least one sensor among the plurality of sensors is a specific result, at least one processing module among the plurality of processing modules is associated with the sense result to perform a coordinated operation. Store multiple pieces of rule information in the storage unit,
A display control unit that displays rule identification information included in the plurality of rule information generates a display screen,
Each of the plurality of rule information is
Identification information of the creator of the rule information,
including attribute information of the rule information,
The attribute information is
first identification information indicating a scene in which the service provided by the rule information is used;
second identification information indicating a theme of the service provided by the rule information;
at least third identification information indicating a problem to be solved by the service provided by the rule information;
The sensor and the processing module are made to cooperate based on the rule information,
How to control electronic devices.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2023210082A JP2024025814A (en) | 2020-09-24 | 2023-12-13 | Electronic devices and systems |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020159421A JP7407681B2 (en) | 2020-09-24 | 2020-09-24 | Electronic devices and systems |
JP2023210082A JP2024025814A (en) | 2020-09-24 | 2023-12-13 | Electronic devices and systems |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020159421A Division JP7407681B2 (en) | 2020-09-24 | 2020-09-24 | Electronic devices and systems |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2024025814A true JP2024025814A (en) | 2024-02-26 |
Family
ID=80962884
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020159421A Active JP7407681B2 (en) | 2020-09-24 | 2020-09-24 | Electronic devices and systems |
JP2023210082A Pending JP2024025814A (en) | 2020-09-24 | 2023-12-13 | Electronic devices and systems |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020159421A Active JP7407681B2 (en) | 2020-09-24 | 2020-09-24 | Electronic devices and systems |
Country Status (1)
Country | Link |
---|---|
JP (2) | JP7407681B2 (en) |
Family Cites Families (4)
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 |
-
2020
- 2020-09-24 JP JP2020159421A patent/JP7407681B2/en active Active
-
2023
- 2023-12-13 JP JP2023210082A patent/JP2024025814A/en active Pending
Also Published As
Publication number | Publication date |
---|---|
JP2022052904A (en) | 2022-04-05 |
JP7407681B2 (en) | 2024-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10353939B2 (en) | Interoperability mechanisms for internet of things integration platform | |
US10171586B2 (en) | Physical environment profiling through Internet of Things integration platform | |
US8675912B2 (en) | System and method for initiating actions and providing feedback by pointing at object of interest | |
US9398413B1 (en) | Mapping electronic devices within an area | |
CN108141449A (en) | Control device cloud | |
CN107209549A (en) | The virtual assistant system of movable messaging can be realized | |
Abou-Zahra et al. | Web standards to enable an accessible and inclusive internet of things (IoT) | |
Vanus et al. | Development and testing of a visualization application software, implemented with wireless control system in smart home care | |
Xu et al. | A generic user interface for energy management in smart homes | |
JP2014520348A (en) | Modeled physical environment for information transfer | |
JP7407681B2 (en) | Electronic devices and systems | |
JP5702030B1 (en) | Information providing method and information processing method | |
KR20220010941A (en) | Bigdata-based residential model recommendation system for users and a method for recommending a residential model using the same | |
JP5133398B2 (en) | Paper book / digital content correspondence generation apparatus and method | |
KR100678327B1 (en) | Mobile site builder, site access scheme and network system for the site information | |
JP2024051177A (en) | PROBLEM-SOLVING IDEA SUPPORT METHOD, PROBLEM-SOLVING IDEA SUPPORT SYSTEM, AND PROBLEM-SOLVING IDEA SUPPORT DEVICE | |
Niu | Achieving Healthy and Quality Life of One-person Households Using IoT and Machine Learning | |
Hägglund | The smart home: logistical media, infrastructure and practiced places | |
Vlachava | Semantic Annotations in Sensor | |
Gawley et al. | Implementing a Platform Agnostic Architecture to Accommodate Heterogeneous Data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20231213 |