JP6828216B2 - Machine-learned model switching system, edge device, machine-learned model switching method, and program - Google Patents

Machine-learned model switching system, edge device, machine-learned model switching method, and program Download PDF

Info

Publication number
JP6828216B2
JP6828216B2 JP2020512139A JP2020512139A JP6828216B2 JP 6828216 B2 JP6828216 B2 JP 6828216B2 JP 2020512139 A JP2020512139 A JP 2020512139A JP 2020512139 A JP2020512139 A JP 2020512139A JP 6828216 B2 JP6828216 B2 JP 6828216B2
Authority
JP
Japan
Prior art keywords
machine
learned model
edge device
communication path
communication
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
JP2020512139A
Other languages
Japanese (ja)
Other versions
JPWO2019193661A1 (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.)
Uhuru Corp
Original Assignee
Uhuru 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 Uhuru Corp filed Critical Uhuru Corp
Application granted granted Critical
Publication of JP6828216B2 publication Critical patent/JP6828216B2/en
Publication of JPWO2019193661A1 publication Critical patent/JPWO2019193661A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N99/00Subject matter not provided for in other groups of this subclass

Description

本発明は、IoT(Internet of Things)の分野で利用される機械学習済みモデル切り替えシステム、エッジデバイス、機械学習済みモデル切り替え方法、及びプログラムに関する。 The present invention relates to a machine-learned model switching system, an edge device, a machine-learned model switching method, and a program used in the field of IoT (Internet of Things).

近年、AI(artificial intelligence)技術の進歩によって、学習済みモデルの更新技術が注目されている。例えば、特許文献1には、機械学習システムのモデルを更新するための技術が提案されている。 In recent years, advances in AI (artificial intelligence) technology have attracted attention for learning model update technology. For example, Patent Document 1 proposes a technique for updating a model of a machine learning system.

特開2017−120647号公報JP-A-2017-120647

特許文献1に記載のシステムでは機械学習システムのモデルをトレーニングしているが、機械学習システムのモデルをトレーニングしても処理の目的は変わらない。ところで、1つのエッジデバイスを通信経路によって異なる用途で使用したい場合がある。例えばエッジデバイスがその用途に応じた機械学習済みモデルを用いて処理を行う場合、エッジデバイスの用途の変更に応じて機械学習済みモデルも切り替える必要がある。しかし、例えばエッジデバイスが十分なハードウェアリソースを有していない場合には、エッジデバイスが多数の機械学習済みモデルを記憶し、用途に応じてこれらを切り替えて使用することができない。 In the system described in Patent Document 1, a model of a machine learning system is trained, but the purpose of processing does not change even if the model of the machine learning system is trained. By the way, there are cases where one edge device is desired to be used for different purposes depending on the communication path. For example, when an edge device performs processing using a machine-learned model according to its use, it is necessary to switch the machine-learned model according to a change in the use of the edge device. However, for example, if the edge device does not have sufficient hardware resources, the edge device cannot store a large number of machine-learned models and switch between them depending on the application.

本発明は、エッジデバイスが使用する機械学習済みモデルを通信経路によって切り替えることを目的とする。 An object of the present invention is to switch the machine-learned model used by an edge device according to a communication path.

本発明の形態によれば、サーバーに通信回線を介して接続されたエッジデバイスであって、サーバーと自身とを結ぶ通信経路を示す通信経路情報に応じて、使用している第1機械学習済みモデルとは目的が異なる第2機械学習済みモデルを、サーバーから取得し、第1機械学習済みモデルを第2機械学習済みモデルに切り替えるエッジデバイスが提供される。
本発明の形態によれば、サーバーと、サーバーに通信回線を介して接続されたエッジデバイスとを備える機械学習済みモデル切り替えシステムであって、エッジデバイスは、サーバーと自身とを結ぶ通信経路を示す通信経路情報に応じて、使用している第1機械学習済みモデルとは目的が異なる第2機械学習済みモデルを、サーバーから取得し、第1機械学習済みモデルを第2機械学習済みモデルに切り替える機械学習済みモデル切り替えシステムが提供される。
本発明の形態によれば、サーバーに通信回線を介して接続されたエッジデバイスによる機械学習済みモデル切り替え方法であって、エッジデバイスが、サーバーと自身とを結ぶ通信経路を示す通信経路情報に応じて、使用している第1機械学習済みモデルとは目的が異なる第2機械学習済みモデルを、サーバーから取得し、第1機械学習済みモデルを第2機械学習済みモデルに切り替える機械学習済みモデル切り替え方法が提供される。
本発明の形態によれば、サーバーに通信回線を介して接続されたエッジデバイスに、サーバーと自身とを結ぶ通信経路を示す通信経路情報に応じて、使用している第1機械学習済みモデルとは目的が異なる第2機械学習済みモデルを、サーバーから取得し、第1機械学習済みモデルを第2機械学習済みモデルに切り替えるステップを実行させるためのプログラムが提供される。
本発明の形態によれば、機械学習済みモデル切り替えシステムは、エッジデバイスに対して、目的の異なる機械学習済みモデルを切り替える機械学習済みモデル切り替えシステムであって、前記エッジデバイスの通信経路を示す通信経路情報を取得する取得手段と、前記エッジデバイスに、前記通信経路情報に対応付けられた機械学習済みモデルを取得させるように制御する制御手段と、前記エッジデバイスに既に適用されている他の機械学習済みモデルを、取得した前記機械学習済みモデルに切り替える切替手段と、を有する機械学習済みモデル切り替えシステムが提供される。
According to the embodiment of the present invention, the first machine-learned edge device used is an edge device connected to the server via a communication line and is used according to the communication path information indicating the communication path connecting the server and itself. An edge device is provided that acquires a second machine-learned model having a different purpose from the model from a server and switches the first machine-learned model to the second machine-learned model.
According to the embodiment of the present invention, it is a machine-learned model switching system including a server and an edge device connected to the server via a communication line, and the edge device indicates a communication path connecting the server and itself. According to the communication path information, the second machine-learned model whose purpose is different from the first machine-learned model used is acquired from the server, and the first machine-learned model is switched to the second machine-learned model. A machine-learned model switching system is provided.
According to the embodiment of the present invention, it is a machine-learned model switching method by an edge device connected to a server via a communication line, and the edge device responds to communication path information indicating a communication path connecting the server and itself. Then, the second machine-learned model whose purpose is different from the first machine-learned model used is acquired from the server, and the first machine-learned model is switched to the second machine-learned model. Machine-learned model switching A method is provided.
According to the embodiment of the present invention, the edge device connected to the server via the communication line has the first machine-learned model used according to the communication path information indicating the communication path connecting the server and itself. Is provided with a program for acquiring a second machine-learned model having a different purpose from a server and executing a step of switching the first machine-learned model to the second machine-learned model.
According to the embodiment of the present invention, the machine-learned model switching system is a machine-learned model switching system that switches a machine-learned model having a different purpose to an edge device, and is a communication indicating a communication path of the edge device. An acquisition means for acquiring route information, a control means for controlling the edge device to acquire a machine-learned model associated with the communication route information, and another machine already applied to the edge device. A machine-learned model switching system including a switching means for switching a trained model to the acquired machine-learned model is provided.

本発明の形態によれば、前記取得手段は、前記通信経路のうち前記エッジデバイスが直接通信するノードを識別する前記通信経路情報を取得し、前記制御手段は、前記エッジデバイスに、前記通信経路情報により識別される前記ノードに対応付けられた前記機械学習済みモデルを取得させるように制御する機械学習済みモデル切り替えシステムが提供される。 According to the embodiment of the present invention, the acquisition means acquires the communication path information that identifies the node with which the edge device directly communicates among the communication paths, and the control means informs the edge device of the communication path. A machine-learned model switching system that controls to acquire the machine-learned model associated with the node identified by information is provided.

本発明の形態によれば、前記制御手段は、前記エッジデバイスに、前記ノードと直接通信する前記エッジデバイスの数に対応付けられた前記機械学習済みモデルを取得させるように制御する機械学習済みモデル切り替えシステムが提供される。 According to the embodiment of the present invention, the control means controls the edge device to acquire the machine-learned model associated with the number of the edge devices that directly communicate with the node. A switching system is provided.

本発明の形態によれば、前記取得手段は、前記エッジデバイスの前記通信経路が変化したときに前記通信経路情報を取得する機械学習済みモデル切り替えシステムが提供される。 According to the embodiment of the present invention, the acquisition means is provided with a machine-learned model switching system that acquires the communication path information when the communication path of the edge device changes.

本発明の形態によれば、前記取得手段は、前記エッジデバイスの周囲の環境を示す環境情報を取得し、前記制御手段は、前記エッジデバイスに、前記通信経路情報及び前記環境情報の組に対応付けられた前記機械学習済みモデルを取得させるように制御する機械学習済みモデル切り替えシステムが提供される。 According to the embodiment of the present invention, the acquisition means acquires environmental information indicating the environment around the edge device, and the control means corresponds to the edge device with the communication path information and the set of the environmental information. A machine-learned model switching system is provided that controls the acquisition of the attached machine-learned model.

本発明の形態によれば、前記制御手段は、前記通信経路情報で示される通信経路のノード数を特定して、該ノード数に対応付けられた前記機械学習済みモデルを前記エッジデバイスに取得させるように制御する機械学習済みモデル切り替えシステムが提供される。 According to the embodiment of the present invention, the control means specifies the number of nodes of the communication path indicated by the communication path information, and causes the edge device to acquire the machine-learned model associated with the number of nodes. A machine-learned model switching system is provided.

本発明の形態によれば、本発明の形態の機械学習済みモデル切り替えシステムの制御に従って、前記機械学習済みモデルを取得し、既に適用している他の機械学習済みモデルを、取得した前記機械学習済みモデルに切り替えるエッジデバイスが提供される。 According to the embodiment of the present invention, the machine learning model is acquired and another machine learning model already applied is acquired according to the control of the machine learning model switching system of the embodiment of the present invention. An edge device is provided to switch to the finished model.

本発明の形態によれば、エッジデバイスに対して、目的の異なる機械学習済みモデルを切り替える機械学習済みモデル切り替え方法であって、前記エッジデバイスの通信経路を示す通信経路情報を取得するステップと、前記エッジデバイスに、前記通信経路情報に対応付けられた機械学習済みモデルを取得させるように制御するステップと、前記エッジデバイスに、既に適用されている他の機械学習済みモデルを、取得した前記機械学習済みモデルに切り替えるステップと、を有する機械学習済みモデル切り替え方法が提供される。 According to the embodiment of the present invention, it is a machine-learned model switching method for switching a machine-learned model having a different purpose for an edge device, and a step of acquiring communication path information indicating a communication path of the edge device. The machine that has acquired a step of controlling the edge device to acquire a machine-learned model associated with the communication path information and another machine-learned model already applied to the edge device. A machine-learned model switching method with a step to switch to a trained model is provided.

本発明の形態によれば、コンピュータに、エッジデバイスの通信経路を示す通信経路情報を取得するステップと、前記エッジデバイスに、前記通信経路情報に対応付けられた機械学習済みモデルを取得させるように制御するステップと、前記エッジデバイスに、既に適用されている他の機械学習済みモデルを、取得させた前記機械学習済みモデルに切り替えさせるステップと、を実行させるためのプログラムが提供される。 According to the embodiment of the present invention, the computer is made to acquire the communication path information indicating the communication path of the edge device, and the edge device is made to acquire the machine-learned model associated with the communication path information. A program is provided for executing a step of controlling and a step of switching the other machine-learned model already applied to the edge device to the acquired machine-learned model.

本発明によれば、エッジデバイスが使用する機械学習済みモデルを通信経路によって切り替えることができる。 According to the present invention, the machine-learned model used by the edge device can be switched according to the communication path.

本実施形態に係る機械学習済みモデル切り替えシステム9の構成を示す図。The figure which shows the structure of the machine-learned model switching system 9 which concerns on this embodiment. 提供装置1の構成の例を示す図。The figure which shows the example of the structure of the provision device 1. モデルDB121の例を示す図。The figure which shows the example of the model DB 121. 通信経路DB122の例を示す図。The figure which shows the example of the communication path DB 122. エッジデバイス2の構成の例を示す図。The figure which shows the example of the structure of the edge device 2. 提供装置1及びエッジデバイス2の機能的構成を示す図。The figure which shows the functional configuration of the providing device 1 and the edge device 2. 機械学習済みモデル切り替えシステム9の動作の流れを示すシーケンス図。The sequence diagram which shows the operation flow of the machine-learned model switching system 9.

1…提供装置、11…制御部、110…制御手段、111…取得手段、112…特定手段、113…提供手段、114…更新手段、12…記憶部、121…モデルDB、122…通信経路DB、13…通信部、2…エッジデバイス、21…制御部、211…送信手段、212…切替手段、213…実行手段、22…記憶部、221…機械学習済みモデル、222…教師データ、23…通信部、24…操作部、25…表示部、27…検知部、3…通信回線、31…ルータ、32…アクセスポイント、9…機械学習済みモデル切り替えシステム。 1 ... Providing device, 11 ... Control unit, 110 ... Control means, 111 ... Acquisition means, 112 ... Specific means, 113 ... Providing means, 114 ... Update means, 12 ... Storage unit, 121 ... Model DB, 122 ... Communication path DB , 13 ... communication unit, 2 ... edge device, 21 ... control unit, 211 ... transmission means, 212 ... switching means, 213 ... execution means, 22 ... storage unit, 221 ... machine learning model, 222 ... teacher data, 23 ... Communication unit, 24 ... Operation unit, 25 ... Display unit, 27 ... Detection unit, 3 ... Communication line, 31 ... Router, 32 ... Access point, 9 ... Machine learning model switching system.

<実施形態>
<機械学習済みモデル切り替えシステムの全体構成>
図1は、本実施形態に係る機械学習済みモデル切り替えシステム9の構成を示す図である。機械学習済みモデル切り替えシステム9は、エッジデバイス2が使用する機械学習済みモデルを、エッジデバイス2が提供装置群Cと接続する通信経路に応じて切り替えるシステムであり、提供装置群Cと、複数のエッジデバイス2と、これらを通信可能に接続する通信回線3と、を有する。
<Embodiment>
<Overall configuration of machine-learned model switching system>
FIG. 1 is a diagram showing a configuration of a machine-learned model switching system 9 according to the present embodiment. The machine-learned model switching system 9 is a system that switches the machine-learned model used by the edge device 2 according to the communication path in which the edge device 2 connects to the providing device group C. It has an edge device 2 and a communication line 3 for communicably connecting them.

提供装置群Cは、複数の提供装置1を有し、これら複数の提供装置1が相互に通信して協調し合うことで、それぞれに備えられたリソースを共有し、目的の異なる複数の機械学習済みモデルを生成する。 The providing device group C has a plurality of providing devices 1, and the plurality of providing devices 1 communicate with each other and cooperate with each other to share the resources provided for each and to perform a plurality of machine learnings having different purposes. Generate a completed model.

提供装置1のそれぞれが有するリソースの機能とは、例えばデータの収集・記憶、これらのデータを用いた機械学習、機械学習によって得られた機械学習済みモデルの管理、及び、これら各種機能の配分、統括、管理等である。 The resource functions of each of the providing devices 1 include, for example, data collection / storage, machine learning using these data, management of machine-learned models obtained by machine learning, and distribution of these various functions. Supervision, management, etc.

提供装置群Cを構成する複数の提供装置1は、例えばIEEE802.11におけるアドホック・モード等を利用して相互に通信を行ってもよい。また、これらの提供装置1は、それぞれが通信回線3を介して相互に通信を行ってもよい。 The plurality of providing devices 1 constituting the providing device group C may communicate with each other by using, for example, the ad hoc mode in IEEE802.11. Further, each of these providing devices 1 may communicate with each other via the communication line 3.

なお、本実施形態で機械学習済みモデル切り替えシステム9は、複数の提供装置1を有する提供装置群Cを備えているが、機械学習済みモデル切り替えシステム9は、エッジデバイス2に機械学習済みモデルを提供する提供装置1を1台だけ備える構成であってもよい。 In the present embodiment, the machine-learned model switching system 9 includes a providing device group C having a plurality of providing devices 1, but the machine-learned model switching system 9 uses a machine-learned model on the edge device 2. The configuration may include only one providing device 1 to be provided.

複数のエッジデバイス2は、パーソナルコンピュータや、スマートフォン、タブレットPC等、ユーザがそれぞれ所持している端末装置であり、それぞれが通信回線3を経由して提供装置群Cと接続し、提供装置1から機械学習済みモデルを受取る。エッジデバイス2は、移動可能であってもよい。 The plurality of edge devices 2 are terminal devices owned by the user, such as a personal computer, a smartphone, and a tablet PC, each of which is connected to the providing device group C via the communication line 3 from the providing device 1. Receive a machine-learned model. The edge device 2 may be movable.

通信回線3は、提供装置1とエッジデバイス2とを通信可能に接続する回線であり、例えばインターネット等である。通信回線3が実行する通信は、提供装置1とエッジデバイス2とを結ぶ通信経路の情報を、提供装置1が取得可能であれば、どのような通信であってもよいが、以下の説明ではパケット交換による通信として説明する。 The communication line 3 is a line that connects the providing device 1 and the edge device 2 so as to be communicable, and is, for example, the Internet. The communication executed by the communication line 3 may be any communication as long as the providing device 1 can acquire the information of the communication path connecting the providing device 1 and the edge device 2, but the following description describes it. It will be described as communication by packet switching.

通信回線3がパケット交換による通信を行う場合、図1に示す通り、通信回線3は、提供装置1又はエッジデバイス2との通信を中継して通信経路を制御するルータ31を有する。また、通信回線3は、無線により提供装置1又はエッジデバイス2と接続するためのアクセスポイント32を有してもよい。 When the communication line 3 performs communication by packet switching, as shown in FIG. 1, the communication line 3 has a router 31 that relays communication with the providing device 1 or the edge device 2 to control the communication path. Further, the communication line 3 may have an access point 32 for wirelessly connecting to the providing device 1 or the edge device 2.

<提供装置の構成>
図2は、提供装置1の構成の例を示す図である。提供装置1は、制御部11、記憶部12、及び通信部13を有する。
<Configuration of provided equipment>
FIG. 2 is a diagram showing an example of the configuration of the providing device 1. The providing device 1 has a control unit 11, a storage unit 12, and a communication unit 13.

制御部11は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)を有し、CPUがROM及び記憶部12に記憶されているコンピュータプログラム(以下、単にプログラムという)を読み出して実行することにより提供装置1の各部を制御する。 The control unit 11 has a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory), and a computer program in which the CPU is stored in the ROM and the storage unit 12 (hereinafter, simply referred to as a program). Is read and executed to control each part of the providing device 1.

通信部13は、有線又は無線により通信回線3に接続する通信回路である。通信部13は、有線又は無線により直接、他の提供装置1と接続する機能を有していてもよい。提供装置1は、通信部13により通信回線3に接続されたエッジデバイス2と情報をやり取りする。 The communication unit 13 is a communication circuit connected to the communication line 3 by wire or wirelessly. The communication unit 13 may have a function of directly connecting to another providing device 1 by wire or wirelessly. The providing device 1 exchanges information with the edge device 2 connected to the communication line 3 by the communication unit 13.

記憶部12は、ソリッドステートドライブ、ハードディスクドライブ等の記憶手段であり、制御部11のCPUに読み込まれる各種のプログラム、データ等を記憶する。また、記憶部12は、モデルDB121、及び通信経路DB122を有する。 The storage unit 12 is a storage means for a solid state drive, a hard disk drive, or the like, and stores various programs, data, and the like read into the CPU of the control unit 11. Further, the storage unit 12 has a model DB 121 and a communication path DB 122.

図3は、モデルDB121の例を示す図である。モデルDB121は、機械学習済みモデルを識別する識別情報であるモデルIDと、そのモデルIDで識別される機械学習済みモデルと、を対応付けて記憶するデータベースである。 FIG. 3 is a diagram showing an example of the model DB 121. The model DB 121 is a database that stores a model ID, which is identification information for identifying a machine-learned model, and a machine-learned model identified by the model ID in association with each other.

機械学習済みモデルは、それぞれ目的・用途が異なっている。例えば、図3に示すモデルID「M01」の機械学習済みモデルは、私用に比べて仕事に関する通信を優先させ、又は仕事に関する助言等をするためのモデルである。 Machine-learned models have different purposes and uses. For example, the machine-learned model of the model ID “M01” shown in FIG. 3 is a model for prioritizing communication related to work or giving advice regarding work as compared with private use.

一方、例えば、モデルID「M02」の機械学習済みモデルは、私用に比べて仕事に関する通信を抑制し、又はユーザの仕事に費やす時間を制限するよう助言等をするためのモデルである。 On the other hand, for example, the machine-learned model of the model ID "M02" is a model for suppressing communication related to work or giving advice to limit the time spent on the work of the user as compared with private use.

図4は、通信経路DB122の例を示す図である。通信経路DB122は、通信経路IDと、モデルIDと、を対応付けて記憶するデータベースである。通信経路IDとは、提供装置1とエッジデバイス2とを結ぶ通信経路のそれぞれを識別する識別情報である。 FIG. 4 is a diagram showing an example of the communication path DB 122. The communication path DB 122 is a database that stores the communication path ID and the model ID in association with each other. The communication path ID is identification information that identifies each of the communication paths connecting the providing device 1 and the edge device 2.

パケット交換による通信において、通信経路は、1以上の中継装置(ノードという)を含んで構成される。各ノードには、例えばIPv4(Internet Protocol version 4)やIPv6(Internet Protocol version 6)等の識別情報が割当てられている。通信経路情報とは、例えば、この通信経路に含まれる各ノードの識別情報等である。パケット交換において、各パケットには送信元と送信先の識別情報が付されているため、通信経路は送信元と送信先とによって占有されることなく、多重化される。 In communication by packet switching, a communication path is configured to include one or more relay devices (referred to as nodes). Identification information such as IPv4 (Internet Protocol version 4) and IPv6 (Internet Protocol version 6) is assigned to each node. The communication path information is, for example, identification information of each node included in this communication path. In packet switching, since the identification information of the source and the destination is attached to each packet, the communication path is multiplexed without being occupied by the source and the destination.

通信経路は、例えば、エッジデバイス2と直接通信するノードによって識別されてもよい。このノードとは、例えばエッジデバイス2が無線により通信回線3と接続するのであれば、このエッジデバイス2が直接接続するアクセスポイント32であり、エッジデバイス2が優先により通信回線3と接続するのであれば、このエッジデバイス2が直接接続するルータ31である。 The communication path may be identified, for example, by a node that communicates directly with the edge device 2. For example, if the edge device 2 wirelessly connects to the communication line 3, this node is an access point 32 to which the edge device 2 directly connects, and the edge device 2 connects to the communication line 3 by priority. For example, it is a router 31 to which the edge device 2 is directly connected.

モデルIDとは、エッジデバイス2が上述した通信経路IDで識別される通信経路を介して提供装置1と通信するときに、そのエッジデバイス2に適用されるべき機械学習済みモデルを識別する識別情報である。 The model ID is identification information that identifies a machine-learned model to be applied to the edge device 2 when the edge device 2 communicates with the provider 1 via the communication path identified by the communication path ID described above. Is.

なお、通信経路DB122において、複数の通信経路に同一の機械学習済みモデルが対応付けられてもよいが、通信経路DB122は、1つの通信経路に対して必ずいずれか1つの機械学習済みモデルが特定されるように構成されている。 In the communication path DB 122, the same machine-learned model may be associated with a plurality of communication paths, but in the communication path DB 122, any one machine-learned model is always specified for one communication path. It is configured to be.

また、通信経路DB122に記憶されるモデルIDで識別される機械学習済みモデルは、モデルDB121に記憶されていてもよいが、提供装置1の記憶部12に記憶されていなくてもよい。この場合、通信経路DB122は、提供装置1が通信回線3を介してアクセス可能ないずれかのデータベースに記憶されている機械学習済みモデルのモデルIDを通信経路IDと対応付けて記憶していればよい。 Further, the machine-learned model identified by the model ID stored in the communication path DB 122 may be stored in the model DB 121, but may not be stored in the storage unit 12 of the providing device 1. In this case, if the communication path DB 122 stores the model ID of the machine-learned model stored in any database accessible by the providing device 1 via the communication line 3 in association with the communication path ID. Good.

<エッジデバイスの構成>
図5は、エッジデバイス2の構成の例を示す図である。エッジデバイス2は、制御部21、記憶部22、通信部23、操作部24、表示部25、及び検知部27を有する。
<Edge device configuration>
FIG. 5 is a diagram showing an example of the configuration of the edge device 2. The edge device 2 includes a control unit 21, a storage unit 22, a communication unit 23, an operation unit 24, a display unit 25, and a detection unit 27.

制御部21は、CPU、ROM、RAMを有し、CPUがROM及び記憶部22に記憶されているプログラムを読み出して実行することによりエッジデバイス2の各部を制御する。 The control unit 21 has a CPU, a ROM, and a RAM, and the CPU controls each unit of the edge device 2 by reading and executing a program stored in the ROM and the storage unit 22.

通信部23は、有線又は無線により通信回線3に接続する通信回路である。エッジデバイス2は、通信部23により通信回線3に接続された提供装置1と情報をやり取りする。 The communication unit 23 is a communication circuit that connects to the communication line 3 by wire or wirelessly. The edge device 2 exchanges information with the providing device 1 connected to the communication line 3 by the communication unit 23.

操作部24は、各種の指示をするための操作ボタン、キーボード、タッチパネル等の操作子を備えており、ユーザによる操作を受付けてその操作内容に応じた信号を制御部21に送る。 The operation unit 24 includes operation buttons such as an operation button, a keyboard, and a touch panel for giving various instructions, receives an operation by the user, and sends a signal according to the operation content to the control unit 21.

表示部25は、液晶ディスプレイ等の表示画面を有しており、制御部21の制御の下、画像を表示する。表示画面の上には、操作部24の透明のタッチパネルが重ねて配置されてもよい。 The display unit 25 has a display screen such as a liquid crystal display, and displays an image under the control of the control unit 21. The transparent touch panel of the operation unit 24 may be superposed on the display screen.

なお、エッジデバイス2は、表示部25に加えて、又は替えて、制御部21の制御の下で音声を放出するスピーカ等の放音部を含んでもよい。この場合、エッジデバイス2の制御部21は、この放音部から音声を出力させてもよい。 In addition to or in place of the display unit 25, the edge device 2 may include a sound emitting unit such as a speaker that emits sound under the control of the control unit 21. In this case, the control unit 21 of the edge device 2 may output sound from this sound emitting unit.

また、エッジデバイス2は、表示部25に加えて、又は替えて、外部機器と接続するためのインタフェースを含んでもよい。この場合、エッジデバイス2の制御部21は、このインタフェースを通じて接続した外部機器を制御してもよい。インタフェースに接続される外部機器は、例えば、映像・音響装置等である。 Further, the edge device 2 may include an interface for connecting to an external device in addition to or in place of the display unit 25. In this case, the control unit 21 of the edge device 2 may control an external device connected through this interface. The external device connected to the interface is, for example, a video / audio device or the like.

検知部27は、エッジデバイス2の周囲の環境を検知して検知したその環境を示す情報(環境情報という)を生成するセンサ等である。検知部27は、例えば、周囲の音量を測定する音量計であってもよいし、周囲の温度を測定する温度計であってもよい。また、検知部27は、振動を検知する振動計であってもよいし、ユーザの脈拍、呼吸数等を検知する生体センサであってもよい。 The detection unit 27 is a sensor or the like that detects the environment around the edge device 2 and generates information (referred to as environmental information) indicating the detected environment. The detection unit 27 may be, for example, a volume meter for measuring the ambient volume or a thermometer for measuring the ambient temperature. Further, the detection unit 27 may be a vibrometer that detects vibration, or a biological sensor that detects the user's pulse, respiratory rate, and the like.

また、検知部27は、例えば、全球測位衛星システム(GNSS:Global Navigation Satellite System)に基づき、複数の航法衛星からそれぞれ航法信号を受信(検知)する受信機等を有してもよい。検知部27は、受信した航法信号に基づいてエッジデバイス2の位置を計算するプロセッサを有していてもよい。また、検知部27が受信した複数の航法信号を用いて制御部21がエッジデバイス2の位置を計算してもよい。 Further, the detection unit 27 may have, for example, a receiver that receives (detects) navigation signals from a plurality of navigation satellites based on the Global Navigation Satellite System (GNSS). The detection unit 27 may have a processor that calculates the position of the edge device 2 based on the received navigation signal. Further, the control unit 21 may calculate the position of the edge device 2 using the plurality of navigation signals received by the detection unit 27.

記憶部22は、ソリッドステートドライブ、ハードディスクドライブ等の記憶手段であり、制御部21のCPUに読み込まれる各種のプログラム、データ等を記憶する。記憶部22は、機械学習済みモデル221を記憶する。記憶部22が記憶することが可能な機械学習済みモデル221は1つのみである。 The storage unit 22 is a storage means for a solid state drive, a hard disk drive, or the like, and stores various programs, data, and the like read into the CPU of the control unit 21. The storage unit 22 stores the machine-learned model 221. Only one machine-learned model 221 can be stored by the storage unit 22.

また、記憶部22は、教師データ222を有してもよい。教師データ222は、機械学習済みモデル221を使用してエッジデバイス2の制御部21が演算、推論等の処理を行って得られた出力に対して評価を与えたデータである。 Further, the storage unit 22 may have the teacher data 222. The teacher data 222 is data in which the control unit 21 of the edge device 2 performs processing such as calculation and inference using the machine-learned model 221 to give an evaluation to the output obtained.

エッジデバイス2の出力に対する評価は、エッジデバイス2を所持するユーザによって出力の度に行われる操作に基づいて行われてもよいし、検知部27の検知結果を予め記憶部22に記憶された基準値等と比較することで行われてもよい。 The evaluation of the output of the edge device 2 may be performed based on an operation performed each time the output is performed by the user who owns the edge device 2, or the detection result of the detection unit 27 is stored in the storage unit 22 in advance as a reference. It may be done by comparing with a value or the like.

<提供装置及びエッジデバイスの機能的構成>
図6は、提供装置1及びエッジデバイス2の機能的構成を示す図である。なお、図6において、通信部13、通信部23、及び通信回線3を省く。提供装置1の制御部11は、記憶部12に記憶されているプログラムを読み出して実行することにより、取得手段111、特定手段112、提供手段113、及び更新手段114として機能する。
<Functional configuration of providing device and edge device>
FIG. 6 is a diagram showing a functional configuration of the providing device 1 and the edge device 2. In FIG. 6, the communication unit 13, the communication unit 23, and the communication line 3 are omitted. The control unit 11 of the providing device 1 functions as the acquiring means 111, the specifying means 112, the providing means 113, and the updating means 114 by reading and executing the program stored in the storage unit 12.

これらの機能は、1台の提供装置1の制御部11によって実現されてもよいが、提供装置群Cを構成する複数の提供装置1の制御部11が、相互に通信をして互いの演算機能や記憶部12の記憶内容等のリソースを共有することによって実現されてもよい。 These functions may be realized by the control unit 11 of one providing device 1, but the control units 11 of a plurality of providing devices 1 constituting the providing device group C communicate with each other and perform mutual calculation. It may be realized by sharing resources such as functions and storage contents of the storage unit 12.

エッジデバイス2の制御部21は、記憶部22に記憶されているプログラムを読み出して実行することにより、送信手段211、切替手段212、及び実行手段213として機能する。 The control unit 21 of the edge device 2 functions as the transmission means 211, the switching means 212, and the execution means 213 by reading and executing the program stored in the storage unit 22.

エッジデバイス2において通信部23が通信回線3を介していずれかの提供装置1と通信をする際に、送信手段211は、自身と提供装置1との通信経路を確立することの要求を送信する。このとき、送信手段211は、例えば特定の提供装置1との通信を要求してもよいが、提供装置群Cに属する提供装置1のうち、条件を満たす提供装置1に対して通信を要求してもよい。 When the communication unit 23 communicates with any of the providing devices 1 via the communication line 3 in the edge device 2, the transmitting means 211 transmits a request for establishing a communication path between itself and the providing device 1. .. At this time, the transmitting means 211 may request communication with, for example, a specific providing device 1, but requests communication from the providing device 1 that satisfies the condition among the providing devices 1 belonging to the providing device group C. You may.

通信回線3では、この要求に応じて複数のルータ31及びアクセスポイント32が通信経路を確立していずれか1つの提供装置1とエッジデバイス2との通信を開始させる。 In the communication line 3, a plurality of routers 31 and access points 32 establish a communication path in response to this request and start communication between any one of the providing devices 1 and the edge device 2.

エッジデバイス2との通信経路が確立されると、提供装置1において取得手段111がこの通信経路を示す通信経路情報を取得して特定手段112に引き渡す。 When the communication path with the edge device 2 is established, the acquisition means 111 acquires the communication path information indicating the communication path in the providing device 1 and delivers it to the specific means 112.

特定手段112は、取得手段111が取得した通信経路情報によって示されるに通信経路応じた機械学習済みモデルを特定する。 The identification means 112 identifies the machine-learned model according to the communication path as indicated by the communication path information acquired by the acquisition means 111.

特定手段112は、通信経路情報が示す通信経路を特定し、通信経路DB122を参照してその通信経路に対応付けられている機械学習済みモデルを特定する。すなわち、特定手段112は、提供装置1がエッジデバイス2との間に確立した通信経路に応じて機械学習済みモデルを特定する。 The identification means 112 identifies the communication path indicated by the communication path information, and refers to the communication path DB 122 to specify the machine-learned model associated with the communication path. That is, the identification means 112 identifies the machine-learned model according to the communication path established by the providing device 1 with the edge device 2.

提供手段113は、特定手段112が特定した機械学習済みモデルをモデルDB121から読み出して、エッジデバイス2に提供する。 The providing means 113 reads the machine-learned model specified by the specifying means 112 from the model DB 121 and provides it to the edge device 2.

なお、提供手段113による機械学習済みモデルの提供は、提供装置1からエッジデバイス2に向けて機械学習済みモデルを送信する、いわゆるプッシュ型の提供であってもよいし、エッジデバイス2に対してアクセスを許可して機械学習済みモデルを取得するように仕向ける、いわゆるプル型の提供であってもよい。 The provision of the machine-learned model by the providing means 113 may be a so-called push-type provision in which the machine-learned model is transmitted from the providing device 1 to the edge device 2, or may be provided to the edge device 2. It may be a so-called pull-type offer that allows access to obtain a machine-learned model.

要するに、特定手段112及び提供手段113は、図6に示す通り、エッジデバイス2の通信経路情報に対応付けられた機械学習済みモデルを、そのエッジデバイス2に取得させるように制御する制御手段110として機能すればよい。 In short, as shown in FIG. 6, the specifying means 112 and the providing means 113 serve as the control means 110 that controls the edge device 2 to acquire the machine-learned model associated with the communication path information of the edge device 2. It just works.

また、提供手段113は、特定手段112が特定した機械学習済みモデルが、モデルDB121以外の他のデータベースに記憶されている場合に、そのデータベースから上述した機械学習済みモデルを取得して、提供装置1に通信経路情報を送ったエッジデバイス2に提供してもよい。この場合、特定手段112は、提供装置1とエッジデバイス2との通信経路情報に対応付けられた機械学習済みモデルを、通信回線3を介して接続することが可能なデータベースに記憶された機械学習済みモデルの中から特定すればよい。 Further, when the machine-learned model specified by the specific means 112 is stored in a database other than the model DB 121, the providing means 113 acquires the above-mentioned machine-learned model from the database and provides the providing device. It may be provided to the edge device 2 that has sent the communication path information to 1. In this case, the specific means 112 uses machine learning stored in a database capable of connecting the machine-learned model associated with the communication path information between the providing device 1 and the edge device 2 via the communication line 3. You can specify it from the completed models.

提供手段113は、暗号化通信方式を用いて機械学習済みモデルを提供してもよい。この暗号化通信方式とは、データを暗号化して通信する通信方式をいう。暗号化通信方式には、SSL(Secure Sockets Layer)やTLS(Transport Layer Security)等の周知の暗号化通信方式が用いられてもよい。 The providing means 113 may provide a machine-learned model using an encrypted communication method. This encrypted communication method refers to a communication method in which data is encrypted for communication. As the encrypted communication method, a well-known encrypted communication method such as SSL (Secure Sockets Layer) or TLS (Transport Layer Security) may be used.

機械学習済みモデルがエッジデバイス2に提供されると、切替手段212は、提供されたこの新しい機械学習済みモデルによって、記憶部22に記憶されている古い機械学習済みモデル221を切り替える。 When the machine-learned model is provided to the edge device 2, the switching means 212 switches the old machine-learned model 221 stored in the storage unit 22 by the provided new machine-learned model.

すなわち、エッジデバイス2は、機械学習済みモデル切り替えシステム9の制御に従って、機械学習済みモデルを取得し、自身が適用している他の機械学習済みモデルを取得した機械学習済みモデルに切り替える。 That is, the edge device 2 acquires the machine-learned model under the control of the machine-learned model switching system 9, and switches to the acquired machine-learned model by acquiring another machine-learned model to which it applies.

また、提供手段113は、特定手段112が特定した機械学習済みモデルをエッジデバイス2に提供し、この機械学習済みモデルにより、このエッジデバイス2に適用されている他の機械学習済みモデルを切り替えさせる。 Further, the providing means 113 provides the edge device 2 with the machine-learned model specified by the specific means 112, and the machine-learned model switches another machine-learned model applied to the edge device 2. ..

なお、新しい機械学習済みモデルによって古い機械学習済みモデルを切り替えるとは、新しい機械学習済みモデルによって古い機械学習済みモデルの全てを置換することも含むが、少なくともその一部を更新することである。 Switching the old machine-learned model with the new machine-learned model includes replacing all of the old machine-learned model with the new machine-learned model, but updating at least a part of it.

実行手段213は、記憶部22から機械学習済みモデルを読み出して、この機械学習済みモデルを用いた処理を実行する。実行手段213は、例えば、この処理によって得られる出力を表示部25に表示させる。 The execution means 213 reads the machine-learned model from the storage unit 22 and executes a process using the machine-learned model. The executing means 213 causes the display unit 25 to display the output obtained by this processing, for example.

なお、エッジデバイス2が表示部25に加えて、又は替えて、上述した放音部を含んでいる場合、実行手段213は、上述した処理によって得られる出力をこの放音部に送ってこの出力に対応する音声を放出させてもよい。 When the edge device 2 includes the above-mentioned sound emitting unit in addition to or in place of the display unit 25, the executing means 213 sends the output obtained by the above-mentioned processing to the sound emitting unit to this output. The sound corresponding to may be emitted.

また、エッジデバイス2が表示部25に加えて、又は替えて、上述したインタフェースを含んでいる場合、実行手段213は、上述した処理によって得られる出力をこのインタフェース経由で外部機器に送ってもよい。この場合、送った出力に応じて外部機器が制御され、例えば、音響装置による音楽の再生等が制御される。 Further, when the edge device 2 includes the above-mentioned interface in addition to or in place of the display unit 25, the executing means 213 may send the output obtained by the above-mentioned processing to an external device via this interface. .. In this case, the external device is controlled according to the transmitted output, and for example, the reproduction of music by the sound device is controlled.

また、実行手段213は、機械学習済みモデルを用いた処理によって得られる出力を評価して、評価に応じた教師データ222を生成し、記憶部22に記憶する。 Further, the executing means 213 evaluates the output obtained by the processing using the machine-learned model, generates the teacher data 222 according to the evaluation, and stores it in the storage unit 22.

この出力の評価は、検知部27により検知された環境情報に関連付けて行われてもよい。また、この出力の評価は、ユーザが操作部24を操作して入力した内容に応じて行われてもよい。 The evaluation of this output may be performed in association with the environmental information detected by the detection unit 27. Further, the evaluation of this output may be performed according to the content input by the user by operating the operation unit 24.

教師データ222から読み出された教師データは、所定の条件が満たされたときに送信手段211によって提供装置1に送信される。 The teacher data read from the teacher data 222 is transmitted to the providing device 1 by the transmitting means 211 when a predetermined condition is satisfied.

提供装置1が、エッジデバイス2のそれぞれから送信された教師データを受信すると、取得手段111は、これらの教師データを取得する。そして、例えば集計した教師データが所定の条件を満たしたときに、更新手段114は、取得手段111から集計した教師データを受取って、この教師データに基づいた機械学習を行い、新たな機械学習済みモデルを生成してモデルDB121に記憶することにより、機械学習済みモデルを更新する。 When the providing device 1 receives the teacher data transmitted from each of the edge devices 2, the acquisition means 111 acquires these teacher data. Then, for example, when the aggregated teacher data satisfies a predetermined condition, the update means 114 receives the aggregated teacher data from the acquisition means 111, performs machine learning based on the teacher data, and has completed new machine learning. The machine-learned model is updated by generating a model and storing it in the model DB 121.

この場合、更新手段114が行う機械学習のアルゴリズムは、教師データに適したモデルを生成する、いわゆる教師あり学習のアルゴリズムである。 In this case, the machine learning algorithm performed by the updating means 114 is a so-called supervised learning algorithm that generates a model suitable for the teacher data.

<機械学習済みモデル切り替えシステムの動作>
図7は、機械学習済みモデル切り替えシステム9の動作の流れを示すシーケンス図である。エッジデバイス2は、いずれかの提供装置1に対して通信の要求を送信する(ステップS101)。
<Operation of machine-learned model switching system>
FIG. 7 is a sequence diagram showing an operation flow of the machine-learned model switching system 9. The edge device 2 transmits a communication request to any of the providing devices 1 (step S101).

エッジデバイス2からの要求により、通信回線3は提供装置群Cのうち、いずれかの提供装置1を選択して、その提供装置1とエッジデバイス2との通信経路を確立する。 Upon request from the edge device 2, the communication line 3 selects one of the providing devices 1 from the providing device group C, and establishes a communication path between the providing device 1 and the edge device 2.

通信経路が確立すると、提供装置1は、エッジデバイス2との間に確立された通信経路を示す通信経路情報を取得して、この通信経路に対応付けられている機械学習済みモデルとを特定する(ステップS102)。そして提供装置1は、特定したこの機械学習済みモデルをエッジデバイス2に提供する(ステップS103)。 When the communication path is established, the providing device 1 acquires the communication path information indicating the communication path established with the edge device 2 and identifies the machine-learned model associated with the communication path. (Step S102). Then, the providing device 1 provides the specified machine-learned model to the edge device 2 (step S103).

エッジデバイス2では、提供装置1から機械学習済みモデルを受取ると、記憶部22に記憶している機械学習済みモデルを、受取ったこの機械学習済みモデルによって、切り替え(ステップS104)、切り替え後の機械学習済みモデルを用いて決められた処理を実行する(ステップS105)。 When the edge device 2 receives the machine-learned model from the providing device 1, the machine-learned model stored in the storage unit 22 is switched by the received machine-learned model (step S104), and the machine after switching is switched. The determined process is executed using the trained model (step S105).

処理を実行して出力を得ると、エッジデバイス2は、その出力についての評価を行い、評価に基づいた教師データを生成する。エッジデバイス2では、生成した教師データを記憶する(ステップS106)。 When the process is executed and an output is obtained, the edge device 2 evaluates the output and generates teacher data based on the evaluation. The edge device 2 stores the generated teacher data (step S106).

例えば、決められた条件を満たしたときに、エッジデバイス2は、記憶された教師データを提供装置1に送信する(ステップS107)。提供装置1は、この教師データを受信すると、教師データに基づく学習を行い、自身が記憶している機械学習済みモデルを更新する(ステップS108)。 For example, when the predetermined condition is satisfied, the edge device 2 transmits the stored teacher data to the providing device 1 (step S107). Upon receiving this teacher data, the providing device 1 performs learning based on the teacher data and updates the machine-learned model stored by itself (step S108).

以上の動作により、エッジデバイス2は提供装置1との間に確立した通信経路に応じて目的の異なる機械学習済みモデルを取得し、これを用いた処理を実行するので通信経路に応じた処理を行うことができる。 By the above operation, the edge device 2 acquires a machine-learned model having a different purpose according to the communication path established with the providing device 1, and executes the process using the machine-learned model, so that the process according to the communication path is performed. It can be carried out.

例えば、本発明の機械学習済みモデル切り替えシステム9によれば、エッジデバイス2が職場にいるときと、自宅にいるときとで受信又は送信を許可するメールを要件や送信元ごとに判定したり、再生する音楽や映像等のコンテンツを変えたりすることができる。 For example, according to the machine-learned model switching system 9 of the present invention, it is possible to determine for each requirement or source an email that is permitted to be received or transmitted when the edge device 2 is at work and at home. You can change the content such as music and video to be played.

具体的に、ユーザが職場のアクセスポイント32にエッジデバイス2を接続すると、このエッジデバイス2には、職場用の機械学習済みモデルが提供され、モデルの切り替えが行われる。このため、ユーザは、このエッジデバイス2を用いて仕事をすることを機械学習済みモデル切り替えシステム9により許可される。 Specifically, when the user connects the edge device 2 to the access point 32 in the workplace, the edge device 2 is provided with a machine-learned model for the workplace, and the model is switched. Therefore, the user is permitted by the machine-learned model switching system 9 to work with the edge device 2.

また、ユーザが自宅のアクセスポイント32にエッジデバイス2を接続すると、このエッジデバイス2には、自宅用の機械学習済みモデルが提供され、モデルの切り替えが行われる。このため、ユーザは、このエッジデバイス2を用いて一定量以上の仕事をすることを機械学習済みモデル切り替えシステム9により禁止される。これにより、ユーザが働き過ぎが抑制される。 Further, when the user connects the edge device 2 to the access point 32 at home, the edge device 2 is provided with a machine-learned model for home use, and the model is switched. Therefore, the user is prohibited by the machine-learned model switching system 9 from doing more than a certain amount of work using the edge device 2. This prevents the user from overworking.

また、本発明の機械学習済みモデル切り替えシステム9によれば、エッジデバイス2は、多数の機械学習済みモデルを記憶するだけの記憶容量を有していなくてもよいため、必要なハードウェアリソースを減らすことができる。 Further, according to the machine-learned model switching system 9 of the present invention, the edge device 2 does not have to have a storage capacity sufficient to store a large number of machine-learned models, and thus requires necessary hardware resources. Can be reduced.

また、本発明の機械学習済みモデル切り替えシステム9によれば、提供装置群Cを構成するいずれかの提供装置1が新しい機械学習済みモデルを生成しているため、エッジデバイス2には機械学習済みモデルを生成するだけの処理能力が必要でない。 Further, according to the machine-learned model switching system 9 of the present invention, since any of the providing devices 1 constituting the providing device group C generates a new machine-learned model, the edge device 2 has been machine-learned. You don't need the processing power to generate a model.

さらに、本発明の機械学習済みモデル切り替えシステム9で、暗号化通信方式を用いて機械学習済みモデルをやり取りする場合には、悪意ある第三者はこの機械学習済みモデルを剽窃し難い。 Further, when the machine-learned model switching system 9 of the present invention exchanges a machine-learned model by using an encrypted communication method, a malicious third party is unlikely to steal the machine-learned model.

<変形例>
以上が実施形態の説明であるが、この実施形態の内容は以下のように変形し得る。また、以下の変形例を組合せてもよい。
<Modification example>
The above is the description of the embodiment, but the content of this embodiment can be modified as follows. Moreover, the following modification examples may be combined.

<変形例1>
上述した実施形態において、送信手段211は、自身と提供装置1との通信経路を確立することの要求を提供装置1に送信していたが、これに加えて検知部27で生成された環境情報を提供装置1に送信してもよい。取得手段111は、通信経路情報と環境情報とを取得してこれらを特定手段112に引き渡し、特定手段112は引き渡された通信経路情報及び環境情報の組に応じた機械学習済みモデルを特定すればよい。
<Modification example 1>
In the above-described embodiment, the transmitting means 211 has transmitted a request for establishing a communication path between itself and the providing device 1 to the providing device 1, but in addition to this, the environmental information generated by the detection unit 27 has been transmitted. May be transmitted to the providing device 1. The acquisition means 111 acquires the communication route information and the environment information and delivers them to the specific means 112, and the specific means 112 specifies the machine-learned model according to the set of the delivered communication route information and the environment information. Good.

この場合、提供装置1の記憶部12に記憶されている通信経路DB122は、環境情報に応じて通信経路IDとモデルIDとの対応表を選択可能に構成されていればよい。通信経路DB122は、例えば、検知される音量や温度等、環境情報の値を複数の等級に分類し、その等級ごとに異なる対応表が対応付けられていてもよい。 In this case, the communication path DB 122 stored in the storage unit 12 of the providing device 1 may be configured so that the correspondence table between the communication path ID and the model ID can be selected according to the environmental information. The communication path DB 122 may classify the values of environmental information such as the detected volume and temperature into a plurality of grades, and may be associated with different correspondence tables for each grade.

<変形例2>
また、通信経路がエッジデバイス2と直接通信するノードによって識別される場合、特定手段112は、このノードと直接通信するエッジデバイス2の数に応じて機械学習済みモデルを特定してもよい。この場合、取得手段111は、複数のエッジデバイス2とそれぞれ確立した通信経路を示す通信経路情報を取得する。そして特定手段112は、取得した通信経路情報から、エッジデバイス2がそれぞれ直接通信するノードを特定し、それらノードごとに、そのノードに接続しているエッジデバイス2の数を監視する。
<Modification 2>
Further, when the communication path is identified by a node that directly communicates with the edge device 2, the identifying means 112 may specify the machine-learned model according to the number of edge devices 2 that directly communicate with this node. In this case, the acquisition means 111 acquires communication route information indicating the communication routes established with the plurality of edge devices 2. Then, the identification means 112 identifies the nodes with which the edge devices 2 directly communicate from the acquired communication path information, and monitors the number of edge devices 2 connected to the nodes for each of the nodes.

通信経路DB122は、共通のノードに直接通信するエッジデバイス2の数を複数の等級に分類し、その分類ごとにモデルIDを対応付けて記憶していればよい。なお、特定手段112は、共通のノードに直接通信するエッジデバイス2の数に替えて、この数をそのノードの処理能力等で除算した稼働率を監視し、この稼働率に応じた機械学習済みモデルを特定してもよい。 The communication path DB 122 may classify the number of edge devices 2 that directly communicate with a common node into a plurality of grades, and store the model IDs in association with each classification. The specific means 112 monitors the operating rate obtained by dividing this number by the processing capacity of the node, etc., instead of the number of edge devices 2 that directly communicate with the common node, and has completed machine learning according to this operating rate. The model may be specified.

<変形例3>
上述した実施形態において、送信手段211は、自身と提供装置1との通信経路を確立することの要求を提供装置1に送信していたが、通信経路が確立された後に、その通信経路が変化したときに、その通信経路を示す通信経路情報を送信してもよい。この場合、提供装置1において取得手段111は、変化した通信経路を示す通信経路情報を取得する。
<Modification example 3>
In the above-described embodiment, the transmission means 211 has transmitted a request for establishing a communication path between itself and the providing device 1 to the providing device 1, but the communication path changes after the communication path is established. At that time, communication route information indicating the communication route may be transmitted. In this case, in the providing device 1, the acquisition means 111 acquires the communication route information indicating the changed communication route.

<変形例4>
上述した実施形態において、更新手段114は、エッジデバイス2のそれぞれから送信された教師データを受取り、この教師データに基づいた機械学習を行って、新たな機械学習済みモデルを生成することにより、機械学習済みモデルを更新していたが、他の教師データを用いて機械学習を行ってもよい。
<Modification example 4>
In the above-described embodiment, the updating means 114 receives the teacher data transmitted from each of the edge devices 2, performs machine learning based on the teacher data, and generates a new machine-learned model. Although the trained model was updated, machine learning may be performed using other teacher data.

また、更新手段114が行う機械学習のアルゴリズムは、教師あり学習のアルゴリズムであったが、これに限定されず、教師なし学習、半教師あり学習、強化学習、表現学習等の機械学習用のアルゴリズムであってもよい。 The machine learning algorithm performed by the update means 114 is a supervised learning algorithm, but is not limited to this, and is an algorithm for machine learning such as unsupervised learning, semi-supervised learning, enhanced learning, and expression learning. It may be.

また、機械学習用のアルゴリズムは、データマイニングやディープラーニング等の、その他の学習用のアルゴリズムを含んでもよい。なお、これらの学習用のアルゴリズムは、例えば決定木学習、相関ルール学習、ニューラルネットワーク、遺伝的プログラミング、帰納論理プログラミング、サポートベクターマシン、クラスタリング、ベイジアンネットワーク等の各種の技術を用いたものが含まれる。要するに、機械学習用のアルゴリズムは、データ提供者により提供される何らかのデータとともに処理されて、その処理の結果、ユーザが得たい情報を出力するものであればよい。 Further, the algorithm for machine learning may include other algorithms for learning such as data mining and deep learning. These learning algorithms include those using various technologies such as decision tree learning, correlation rule learning, neural networks, genetic programming, inductive logic programming, support vector machines, clustering, and Bayesian networks. .. In short, the algorithm for machine learning may be processed together with some data provided by the data provider, and as a result of the processing, the information desired by the user may be output.

<変形例5>
また、提供装置1は、通信経路情報で示される通信経路に含まれるノードの数を特定して、このノード数に対応付けられた機械学習済みモデルをエッジデバイス2に取得させるように制御してもよい。
<Modification 5>
Further, the providing device 1 specifies the number of nodes included in the communication path indicated by the communication path information, and controls the edge device 2 to acquire the machine-learned model associated with the number of nodes. May be good.

この場合、特定手段112は、取得手段111が取得した通信経路情報から、提供装置1からエッジデバイス2までの通信経路に含まれるノードの数(ノード数という)を特定し、そのノード数に応じた機械学習済みモデルを特定する。通信経路DB122は、通信経路のノード数を複数の等級に分類し、その分類ごとにモデルIDを対応付けて記憶していればよい。 In this case, the specifying means 112 specifies the number of nodes (referred to as the number of nodes) included in the communication path from the providing device 1 to the edge device 2 from the communication route information acquired by the acquiring means 111, and responds to the number of nodes. Identify the machine-learned model. The communication path DB 122 may classify the number of nodes of the communication path into a plurality of grades, and store the model ID in association with each classification.

また、提供装置1は、通信経路情報で示される通信経路における通信の速度(通信速度)を特定して、この通信速度に対応付けられた機械学習済みモデルをエッジデバイス2に取得させるように制御してもよい。 Further, the providing device 1 specifies the communication speed (communication speed) in the communication path indicated by the communication path information, and controls the edge device 2 to acquire the machine-learned model associated with the communication speed. You may.

この場合、特定手段112は、取得手段111が取得した通信経路情報から、提供装置1とエッジデバイス2との通信速度を特定し、その通信速度に応じた機械学習済みモデルを特定する。通信経路DB122は、通信経路における通信速度を複数の等級に分類し、その分類ごとにモデルIDを対応付けて記憶していればよい。 In this case, the specifying means 112 specifies the communication speed between the providing device 1 and the edge device 2 from the communication path information acquired by the acquiring means 111, and specifies the machine-learned model according to the communication speed. The communication path DB 122 may classify the communication speeds in the communication path into a plurality of grades, and store the model IDs in association with each of the classifications.

<変形例6>
上述した実施形態において、通信回線3が実行する通信は、パケット交換による通信として説明したが、例えば、提供装置1とエッジデバイス2とで専用線を占有するデータ通信であってもよい。要するに提供装置1がエッジデバイスの通信経路を示す通信経路情報を取得できれば、この通信経路で行われる通信は、パケット交換による通信でなくてもよい。
<Modification 6>
In the above-described embodiment, the communication executed by the communication line 3 has been described as communication by packet switching, but for example, data communication in which the providing device 1 and the edge device 2 occupy a dedicated line may be used. In short, if the providing device 1 can acquire the communication path information indicating the communication path of the edge device, the communication performed on this communication path does not have to be the communication by packet switching.

<変形例7>
提供装置1の制御部11が実行する処理は、記憶した機械学習済みモデルを用いて処理を実行するエッジデバイス2に、この機械学習済みモデルを提供する機械学習済みモデル切り替え方法として観念され得る。すなわち、本発明は、エッジデバイス2に対して、目的の異なる機械学習済みモデルを切り替える機械学習済みモデル切り替え方法であって、エッジデバイス2の通信経路を示す通信経路情報を取得するステップと、エッジデバイス2に、通信経路情報に対応付けられた機械学習済みモデルを取得させるように制御するステップと、エッジデバイス2に、既に適用されている他の機械学習済みモデルを、取得した機械学習済みモデルに切り替えるステップと、を有する機械学習済みモデル切り替え方法として提供されてもよい。
<Modification 7>
The process executed by the control unit 11 of the providing device 1 can be conceived as a machine-learned model switching method for providing the machine-learned model to the edge device 2 that executes the process using the stored machine-learned model. That is, the present invention is a machine-learned model switching method for switching a machine-learned model having a different purpose for the edge device 2, and includes a step of acquiring communication path information indicating a communication path of the edge device 2 and an edge. The step of controlling the device 2 to acquire the machine-learned model associated with the communication path information, and the acquired machine-learned model of another machine-learned model already applied to the edge device 2. It may be provided as a machine-learned model switching method having a step of switching to.

<変形例8>
提供装置1、エッジデバイス2によってそれぞれ実行されるプログラムは、磁気テープ及び磁気ディスク等の磁気記録媒体、光ディスク等の光記録媒体、光磁気記録媒体、半導体メモリ等の、コンピュータ装置が読取り可能な記録媒体に記憶された状態で提供し得る。また、このプログラムを、インターネット等の通信回線経由でダウンロードさせてもよい。なお、上述した制御手段としてはCPU以外にも種々の装置が適用される場合があり、例えば、専用のプロセッサ等が用いられる。
<Modification 8>
The programs executed by the providing device 1 and the edge device 2 are recordings readable by a computer device such as a magnetic recording medium such as a magnetic tape and a magnetic disk, an optical recording medium such as an optical disk, an optical magnetic recording medium, and a semiconductor memory. It can be provided as stored on a medium. Further, this program may be downloaded via a communication line such as the Internet. In addition to the CPU, various devices may be applied as the control means described above, and for example, a dedicated processor or the like is used.

Claims (9)

サーバーに通信回線を介して接続されたエッジデバイスであって、
前記サーバーと自身とを結ぶ通信経路を示す通信経路情報に応じて、使用している第1機械学習済みモデルとは目的が異なる第2機械学習済みモデルを、前記サーバーから取得し、前記第1機械学習済みモデルを前記第2機械学習済みモデルに切り替える
エッジデバイス。
An edge device connected to the server via a communication line
A second machine-learned model having a purpose different from that of the first machine-learned model used is acquired from the server according to the communication path information indicating the communication path connecting the server and itself, and the first machine-learned model is obtained. An edge device that switches a machine-learned model to the second machine-learned model.
前記通信経路情報が示す前記通信経路のうち、自身が直接通信するノードに応じて、前記第2機械学習済みモデルを、前記サーバーから取得し、前記第1機械学習済みモデルを前記第2機械学習済みモデルに切り替える
請求項1に記載のエッジデバイス。
Among the communication paths indicated by the communication path information, the second machine-learned model is acquired from the server according to the node with which it directly communicates, and the first machine-learned model is obtained by the second machine learning. The edge device according to claim 1, which switches to a finished model.
前記ノードと直接通信するエッジデバイスの数に応じて、前記第2機械学習済みモデルを、前記サーバーから取得し、前記第1機械学習済みモデルを前記第2機械学習済みモデルに切り替える
請求項2に記載のエッジデバイス。
According to claim 2, the second machine-learned model is acquired from the server and the first machine-learned model is switched to the second machine-learned model according to the number of edge devices that directly communicate with the node. Described edge device.
前記通信経路が変化したときに前記通信経路情報に応じて、前記第2機械学習済みモデルを、前記サーバーから取得し、前記第1機械学習済みモデルを前記第2機械学習済みモデルに切り替える
請求項1に記載のエッジデバイス。
A claim that acquires the second machine-learned model from the server and switches the first machine-learned model to the second machine-learned model according to the communication path information when the communication path changes. The edge device according to 1.
前記通信経路情報および自身の周囲の環境を示す環境情報に応じて、前記第2機械学習済みモデルを、前記サーバーから取得し、前記第1機械学習済みモデルを前記第2機械学習済みモデルに切り替える
請求項1から請求項4のいずれか一項に記載のエッジデバイス。
The second machine-learned model is acquired from the server and the first machine-learned model is switched to the second machine-learned model according to the communication path information and the environment information indicating the surrounding environment. The edge device according to any one of claims 1 to 4.
前記通信経路情報に示される前記通信経路が有するノード数に応じて、前記第2機械学習済みモデルを、前記サーバーから取得し、前記第1機械学習済みモデルを前記第2機械学習済みモデルに切り替える
請求項1から請求項5のいずれか一項に記載のエッジデバイス。
The second machine-learned model is acquired from the server and the first machine-learned model is switched to the second machine-learned model according to the number of nodes of the communication path shown in the communication path information. The edge device according to any one of claims 1 to 5.
サーバーと、該サーバーに通信回線を介して接続されたエッジデバイスとを備える機械学習済みモデル切り替えシステムであって、
前記エッジデバイスは、前記サーバーと自身とを結ぶ通信経路を示す通信経路情報に応じて、使用している第1機械学習済みモデルとは目的が異なる第2機械学習済みモデルを、前記サーバーから取得し、前記第1機械学習済みモデルを前記第2機械学習済みモデルに切り替える
機械学習済みモデル切り替えシステム。
A machine-learned model switching system that includes a server and an edge device connected to the server via a communication line.
The edge device acquires a second machine-learned model having a different purpose from the first machine-learned model used from the server according to the communication path information indicating the communication path connecting the server and itself. A machine-learned model switching system that switches the first machine-learned model to the second machine-learned model.
サーバーに通信回線を介して接続されたエッジデバイスによる機械学習済みモデル切り替え方法であって、
前記エッジデバイスが、前記サーバーと自身とを結ぶ通信経路を示す通信経路情報に応じて、使用している第1機械学習済みモデルとは目的が異なる第2機械学習済みモデルを、前記サーバーから取得し、前記第1機械学習済みモデルを前記第2機械学習済みモデルに切り替える
機械学習済みモデル切り替え方法。
A machine-learned model switching method using an edge device connected to a server via a communication line.
The edge device acquires a second machine-learned model having a different purpose from the first machine-learned model used from the server according to the communication route information indicating the communication path connecting the server and itself. Then, the machine-learned model switching method for switching the first machine-learned model to the second machine-learned model.
サーバーに通信回線を介して接続されたエッジデバイスに、
前記サーバーと自身とを結ぶ通信経路を示す通信経路情報に応じて、使用している第1機械学習済みモデルとは目的が異なる第2機械学習済みモデルを、前記サーバーから取得し、前記第1機械学習済みモデルを前記第2機械学習済みモデルに切り替えるステップ
を実行させるためのプログラム。
To an edge device connected to the server via a communication line,
A second machine-learned model having a purpose different from that of the first machine-learned model used is acquired from the server according to the communication path information indicating the communication path connecting the server and itself, and the first machine-learned model is obtained. A program for executing a step of switching a machine-learned model to the second machine-learned model.
JP2020512139A 2018-04-03 2018-04-03 Machine-learned model switching system, edge device, machine-learned model switching method, and program Active JP6828216B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/014335 WO2019193661A1 (en) 2018-04-03 2018-04-03 Machine-learned model switching system, edge device, machine-learned model switching method, and program

Publications (2)

Publication Number Publication Date
JP6828216B2 true JP6828216B2 (en) 2021-02-10
JPWO2019193661A1 JPWO2019193661A1 (en) 2021-02-12

Family

ID=68100634

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020512139A Active JP6828216B2 (en) 2018-04-03 2018-04-03 Machine-learned model switching system, edge device, machine-learned model switching method, and program

Country Status (2)

Country Link
JP (1) JP6828216B2 (en)
WO (1) WO2019193661A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114930789A (en) * 2020-01-14 2022-08-19 Oppo广东移动通信有限公司 Artificial intelligence operation processing method, device, system, terminal and network equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5266396B2 (en) * 2009-10-30 2013-08-21 パナソニック株式会社 AV data receiving apparatus, AV data receiving method, and AV data transmitting / receiving system
JP2013072974A (en) * 2011-09-27 2013-04-22 Toshiba Corp Voice recognition device, method and program
US9990587B2 (en) * 2015-01-22 2018-06-05 Preferred Networks, Inc. Machine learning heterogeneous edge device, method, and system
JP6652254B2 (en) * 2016-03-23 2020-02-19 Necプラットフォームズ株式会社 Communication terminal and method

Also Published As

Publication number Publication date
WO2019193661A1 (en) 2019-10-10
JPWO2019193661A1 (en) 2021-02-12

Similar Documents

Publication Publication Date Title
AU2021290416B2 (en) Resource prioritization and communication-channel establishment
Sinha et al. Building an E Ective IoT Ecosystem for Your Business
JP2022177032A (en) Dynamic Response Prediction for Improved Bot Task Processing
US20090259648A1 (en) Automated avatar creation and interaction in a virtual world
US20210201244A1 (en) Dynamic analytics and forecasting for messaging staff
US20210365482A1 (en) Chat system, chatbot server device, chatbot id management device, chat mediation server device, program, chat method, and chat mediation method
CA3008427C (en) System for suggesting, launching and automatically or semi-automatically downloading applications for an intelligent mobile object
KR20130061724A (en) System and method for social collection
WO2021068764A1 (en) Information processing method and device
US20200210880A1 (en) Reconfiguration of embedded services on devices using device functionality information
CN108351848B (en) Device cooperation support system
US20180089699A1 (en) Systems and methods for managing a user experience for consumer products
JP6828216B2 (en) Machine-learned model switching system, edge device, machine-learned model switching method, and program
US11568024B2 (en) Computing device use restriction system
CN106030603A (en) Personal daemon interaction through escalating disclosure
KR20180034603A (en) Service Element Host Selection
Vastardis et al. A user behaviour-driven smart-home gateway for energy management
US11838256B2 (en) Systems and methods for dynamically routing application notifications to selected devices
JPWO2019150565A1 (en) Trained model update system, trained model update method, and program
Pérez-Vereda et al. Dynamically programmable virtual profiles as a service
JP2018156492A (en) Remote management system, mediation device, remote management method, and remote management program
KR20230000138A (en) Method, computer device, and computer program to pick and display messages in messaging-based social network service
JP2007323255A (en) Information transmission device, information transmission method, and recording medium with information transmission program recorded
KR102184286B1 (en) Spatio-cohesive service discovery and dynamic service handover for distributed iot enviroments
US20220156400A1 (en) Methods and Systems for Controlling a Device Using a Model Trained on Network Requests

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201001

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201001

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20201001

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20201022

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: 20210107

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210120

R150 Certificate of patent or registration of utility model

Ref document number: 6828216

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250