JP7463458B2 - Setting information providing device, setting information providing method, and program - Google Patents
Setting information providing device, setting information providing method, and program Download PDFInfo
- Publication number
- JP7463458B2 JP7463458B2 JP2022139281A JP2022139281A JP7463458B2 JP 7463458 B2 JP7463458 B2 JP 7463458B2 JP 2022139281 A JP2022139281 A JP 2022139281A JP 2022139281 A JP2022139281 A JP 2022139281A JP 7463458 B2 JP7463458 B2 JP 7463458B2
- Authority
- JP
- Japan
- Prior art keywords
- setting information
- setting
- file
- information providing
- iot
- 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
Links
- 238000000034 method Methods 0.000 title claims description 9
- 238000004891 communication Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 description 13
- 230000000694 effects Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001172 regenerating effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Description
本発明は、IoTデバイスに対して設定を行う技術に関連するものである。 The present invention relates to technology for configuring IoT devices.
センサ、トラッカー、M2Mルータ等のIoTデバイスが普及している。IoTデバイスは、例えば、周期的に情報(例:映像、センサ情報)を取得し、取得した情報をサーバに送信する。 IoT devices such as sensors, trackers, and M2M routers are becoming widespread. IoT devices, for example, periodically acquire information (e.g., video, sensor information) and transmit the acquired information to a server.
IoTデバイスに目的の動作を行わせるためには、IoTデバイスを予め正しく設定しておく必要がある。IoTデバイスの設定には一般に設定ファイルが使用され、設定ファイルをIoTデバイスに格納することで、IoTデバイスの設定が行われる。以降、特に断らない限り、「設定」には、最初の設定のみならず、既に設定した設定内容を変更することも含まれるものとする。 To make an IoT device perform the desired operation, it is necessary to configure the IoT device correctly in advance. A configuration file is generally used to configure an IoT device, and the IoT device is configured by storing the configuration file in the IoT device. Hereinafter, unless otherwise specified, "configuration" includes not only the initial configuration, but also changing settings that have already been configured.
様々な場所に置かれた多数のIoTデバイスに対する設定作業は、遠隔から実行できることが望ましい。IoTデバイスの設定を遠隔から行うことを可能とする技術として、OMA LwM2M(Open Mobile Alliance Lightweight Machine to Machine)等の標準化されたデバイス管理プロトコルを用いる技術がある。 It is desirable to be able to perform configuration work remotely on a large number of IoT devices placed in various locations. One technology that makes it possible to remotely configure IoT devices is one that uses standardized device management protocols such as OMA LwM2M (Open Mobile Alliance Lightweight Machine to Machine).
しかし、LwM2Mのようなデバイス管理プロトコルを使用するには、IoTデバイスにデバイス管理プロトコル用のクライアントソフトウェアをインストールする必要がある。多数のIoTデバイスに対してクライアントソフトウェアをインストールするには大きな手間がかかる。 However, to use a device management protocol such as LwM2M, it is necessary to install client software for the device management protocol on the IoT device. Installing client software on a large number of IoT devices is a significant effort.
また、デバイス管理プロトコルを使用せずに、個々のIoTデバイスに遠隔からアクセスして設定作業を行うことも可能である。しかし、その場合、IoTデバイス間の設定ファイルのフォーマットの相違等に対応しなければならず、多数のIoTデバイスに対する設定作業は膨大な量の作業になってしまう。 It is also possible to remotely access and configure individual IoT devices without using a device management protocol. In that case, however, differences in the format of configuration files between IoT devices must be addressed, and configuring a large number of IoT devices becomes an enormous task.
すなわち、従来技術では、IoTデバイスの設定を容易に行うことができないという課題があった。なお、このような課題はIoTデバイスに限らないデバイス全般に生じ得る課題である。 In other words, the conventional technology has the problem that it is not easy to configure IoT devices. Note that this problem is not limited to IoT devices, but can occur with devices in general.
本発明は上記の点に鑑みてなされたものであり、デバイスの設定を容易に行うことを可能とする技術を提供することを目的とする。 The present invention has been made in consideration of the above points, and aims to provide technology that makes it possible to easily configure devices.
開示の技術によれば、デバイスに設定ファイルを提供する設定情報提供装置であって、
テンプレートとパラメータ値とから設定ファイルを生成し、生成した設定ファイルを記憶部に格納する設定情報生成部と、
前記デバイスから、複数のデバイスに共通のアクセス先である設定ファイル格納領域を表す第1URLを受信した場合に、当該第1URLに、前記デバイスの識別情報に基づいて検知したファイル名を付加して第2URLを作成し、当該第2URLを用いて、前記デバイス用の特定の設定ファイルを前記記憶部から取得し、前記デバイスに前記特定の設定ファイルを送信する設定情報取得部と
を備える設定情報提供装置が提供される。
According to the disclosed technology, there is provided a setting information providing device that provides a setting file to a device, comprising:
a setting information generating unit that generates a setting file from the template and the parameter values and stores the generated setting file in a storage unit;
a setting information acquisition unit that, when receiving from the device a first URL representing a setting file storage area that is a common access destination for a plurality of devices , creates a second URL by adding a file name detected based on identification information of the device to the first URL , acquires a specific setting file for the device from the memory unit using the second URL, and transmits the specific setting file to the device.
開示の技術によれば、デバイスの設定を容易に行うことを可能とする技術が提供される。 The disclosed technology provides technology that allows devices to be easily configured.
以下、図面を参照して本発明の実施の形態(本実施の形態)を説明する。以下で説明する実施の形態は一例に過ぎず、本発明が適用される実施の形態は、以下の実施の形態に限られるわけではない。例えば、以下の説明では、設定の対象となるデバイスとしてIoTデバイスが使用されるが、設定の対象となるデバイスはIoTデバイスに限定されるわけではなく、例えば、PC、スマートフォン等のデバイスが設定の対象となるデバイスになってもよい。また、以下では、「設定情報」の例として「設定ファイル」を使用しているが、「設定情報」は「設定ファイル」以外の形式の情報であってもよい。 Below, an embodiment of the present invention (the present embodiment) will be described with reference to the drawings. The embodiment described below is merely an example, and the embodiment to which the present invention is applied is not limited to the following embodiment. For example, in the following description, an IoT device is used as the device to be configured, but the device to be configured is not limited to an IoT device, and devices such as PCs and smartphones may be the device to be configured. Also, in the following, a "configuration file" is used as an example of "configuration information", but the "configuration information" may be information in a format other than a "configuration file".
(課題について)
本実施の形態に係る技術の利点を理解し易くするために、まず、本実施の形態に係る技術に関する課題(1)~(3)を詳細に説明する。
(Regarding the issues)
In order to facilitate understanding of the advantages of the technique according to the present embodiment, first, problems (1) to (3) relating to the technique according to the present embodiment will be described in detail.
(1)デバイス管理プロトコルを使用する場合の課題
OMA LwM2Mのようなデバイス管理プロトコルを利用する場合には、IoTデバイスにデバイス管理プロトコル用のクライアントソフトを導入することが必要となる。
(1) Issues when using a device management protocol When using a device management protocol such as OMA LwM2M, it is necessary to install client software for the device management protocol in the IoT device.
すなわち、IoTデバイスに対してデバイス管理プロトコルを利用する場合、IoTデバイスにクライアントソフトをインストールすることや、SDKによる開発が必要になる。そのため、クライアントソフト自体の試験、およびメンテナンスが必要となり、コスト高となる。 In other words, when using a device management protocol for IoT devices, it is necessary to install client software on the IoT device and develop it using an SDK. This requires testing and maintenance of the client software itself, which increases costs.
(2)設定ファイルのフォーマットに関する課題
企業等において多数のIoTデバイスを利用する際には、個々の用途に合うIoTデバイスを選択するため、多数のIoTデバイスの中には、複数のベンダのIoTデバイスが含まれる。一般に、ベンダ間でIoTデバイスの設定ファイルのフォーマットが異なるため、複数のベンダにわたる多数のIoTデバイスに対する設定作業は非常に煩雑なものとなる。
(2) Problems with the Format of the Configuration File When a large number of IoT devices are used in a company or the like, the IoT devices are selected according to the individual purpose, and therefore the large number of IoT devices includes IoT devices from multiple vendors. In general, the formats of the configuration files of IoT devices differ between vendors, and therefore the configuration work for a large number of IoT devices from multiple vendors becomes very cumbersome.
(3)設定ファイルの取得に関する課題
IoTデバイスに対する設定を行う技術として、サーバに設定ファイルを格納しておき、IoTデバイスが、例えば定期的にサーバにアクセスして設定ファイルを取得する技術がある。
(3) Issues Regarding Acquisition of Configuration Files As a technique for configuring an IoT device, there is a technique in which a configuration file is stored in a server and the IoT device, for example, periodically accesses the server to acquire the configuration file.
サーバ側では、IoTデバイスごと(あるいはIoTデバイスのグループごと)に設定ファイルを保持しておく。本技術を用いてIoTデバイスが設定ファイルを取得するには、IoTデバイスは、サーバにおける目的の設定ファイルにアクセスする必要がある。 The server side stores a configuration file for each IoT device (or for each group of IoT devices). For an IoT device to obtain a configuration file using this technology, the IoT device needs to access the desired configuration file on the server.
上記のアクセスを自動的に行うには、IoTデバイスに対してアクセス先を予め設定しておく必要があるが、多数のIoTデバイスに対してそれぞれ異なるアクセス先(具体的にはURL等の文字列)を設定するには大きな負荷がかかる。 To perform the above access automatically, it is necessary to set the access destination for the IoT device in advance, but setting different access destinations (specifically, character strings such as URLs) for a large number of IoT devices imposes a large load.
以下、上記の課題を解決するシステムの構成と動作を詳細に説明する。 The configuration and operation of the system that solves the above problems are described in detail below.
(システム構成例)
図1に、本実施の形態における設定情報提供システムの全体構成例を示す。図1に示すように、本実施の形態の設定情報提供システムは、設定情報提供装置100、及び管理装置300を有する。設定情報提供装置100、及び管理装置300はいずれも、物理マシンにより実現されてもよいし、クラウド上の仮想マシンにより実現されてもよい。管理装置300は外部装置400に接続されている。
(System configuration example)
Fig. 1 shows an example of the overall configuration of a setting information providing system according to the present embodiment. As shown in Fig. 1, the setting information providing system according to the present embodiment includes a setting
設定情報提供装置100は、アクセス網200を経由して各IoTデバイス10と接続される。アクセス網200には複数のIoTデバイス10が接続されている。
The setting
各IoTデバイス10は、例えば、センサ、トラッカー等である。本実施の形態では、各IoTデバイス10は、アクセス網200を介して設定情報提供装置100と通信することができる。
Each
アクセス網200は、モバイル網であってもよいし、固定網であってもよい。また、アクセス網200は、パブリックなネットワークでもよいし、プライベートなネットワークでもよい。
The
管理装置300は、設定情報提供装置100において処理のために使用する情報を保持している。管理装置300が保持する情報については、例えば、SO(サービスオーダ)投入という形で外部装置400から入力される。
The
設定情報提供装置100は、管理装置300から取得する情報に基づいて、設定ファイル等の設定情報をIoTデバイス10に提供する装置である。なお、設定情報提供装置100は、1つのコンピュータ(サーバ等)で構成されてもよいし、複数のコンピュータで構成されてもよい。図1に示すように、設定情報提供装置100は、設定情報取得部110、設定情報生成部120、及び記憶部130を有する。なお、記憶部130は、設定情報提供装置100の外部に備えられたデータベースサーバであってもよい。これらの機能部の動作例については後述する。
The setting
(システムの動作例)
図2を参照して、本実施の形態における設定情報取得システムの動作例を説明する。なお、図2では、便宜上、記憶部130を2箇所に記載している。これらはそれぞれ記憶部130における領域に相当する。
(Example of system operation)
An example of the operation of the setting information acquisition system according to the present embodiment will be described with reference to Fig. 2. For the sake of convenience, the
図2の例において、IoTデバイス10を利用している企業として、企業(1)、企業(2)、企業(3)が存在するものとする。企業をテナントと呼んでもよい。 In the example of FIG. 2, there are three companies using the IoT device 10: company (1), company (2), and company (3). The companies may also be called tenants.
また、ここでは、同一の設定ファイル(ファイル名が異なっても設定の内容が同一であれば同一の設定ファイルであるとする)を使用する1以上のIoTデバイス10を「グループ」と呼ぶことにする。IoTデバイス10の利用形態によって、「グループ」はどのような単位にもなり得る。例として、IoTデバイス10とグループとの対応として、下記のケース1~4がある。
In addition, here, one or
ケース1:1つのIoTデバイス10が1つのグループに対応する。
Case 1: One
ケース2:1つの企業の全IoTデバイス10が1つのグループに対応する。
Case 2: All
ケース3:1つの企業の全IoTデバイスのうちの複数のIoTデバイス10があるグループに対応し、別の複数のIoTデバイスが別のグループに対応する。
Case 3: Of all IoT devices in a single company,
ケース4:複数の企業の全IoTデバイスが1つのグループに対応する。 Case 4: All IoT devices from multiple companies correspond to one group.
図2の例では、企業(1)においてグループ1-A(IoTデバイス10A群)とグループ1-B(IoTデバイス10B群)が存在し、企業(2)においてグループ2(IoTデバイス10C群)が存在し、企業(3)においてグループ3(IoTデバイス10D群)が存在する。
In the example of FIG. 2, Group 1-A (
グループ1-AのIoTデバイス10Aは、設定ファイルとしてConfig_Aを使用し、グループ1-BのIoTデバイス10Bは、設定ファイルとしてConfig_Bを使用する。グループ2のIoTデバイス10Cは、設定ファイルとしてConfig_Cを使用する。グループ2のIoTデバイス10Dは、設定ファイルとしてConfig_Dを使用する。
The
図2に示すとおり、Config_AとConfig_BのフォーマットはJSONであり、Config_CとConfig_DのフォーマットはCSVである。 As shown in Figure 2, the format of Config_A and Config_B is JSON, and the format of Config_C and Config_D is CSV.
また、図2の例では、企業(1)の各IoTデバイス10は固定アクセス網201で設定情報提供装置100に接続され、企業(2)、(3)の各IoTデバイス10は、モバイルアクセス網202で設定情報提供装置100に接続される。
In the example of FIG. 2, each
<設定ファイルの生成に関する動作>
本実施の形態では、設定情報生成部120が、テンプレートに、値(パラメータ)を設定することで設定ファイルを作成し、その設定ファイルを記憶部130に格納する。
<Configuration file generation operations>
In this embodiment, the setting
テンプレートには、設定ファイルに含めるべき値(パラメータ)の名前(定義)が記載されており、設定情報生成部120は、その名前の位置に、値を挿入することで、設定ファイルを作成する。例えば、下記のように、テンプレートにおける値の名前として、「パラメータ1」、「パラメータ2」、「パラメータ3」、「パラメータ4」があるとする。
The template contains the names (definitions) of values (parameters) to be included in the configuration file, and the
パラメータ1:
パラメータ2:
パラメータ3:
パラメータ4:
同じグループの設定ファイルについては、同じテンプレートを使用することができる。グループ2のテンプレートとして上記テンプレートを使用するものとし、例えば、グループ2の各IoTデバイス10C用のパラメータ1の値がABC.comであり、パラメータ2の値が60であり、パラメータ3の値が10であり、パラメータ4の値が$imeiであるとすると、設定情報生成部120は、グループ2の各IoTデバイス10C用の設定ファイルとして、下記の内容を持つ設定ファイルを生成する。パラメータにはパラメータ4のように$から始まるプレースホルダを含めることができ、$imeiは、設定ファイル生成時にプレースホルダの示す外部装置から入力した識別情報値に置き換わる。
Parameter 1:
Parameter 2:
Parameter 3:
Parameter 4:
The same template can be used for the configuration files of the same group. Assuming that the above template is used as the template for group 2, for example, the value of
パラメータ1:ABC.com
パラメータ2:60
パラメータ3:10
パラメータ4:123456789012345
例えば、設定内容に変更が生じ、グループ2の各IoTデバイス10C用のパラメータ1の値がXYZ.comでなり、パラメータ2の値が50になり、パラメータ3の値が10になったとすると、設定情報生成部120は、グループ2の各IoTデバイス10C用の設定ファイルとして、下記の内容を持つ設定ファイルを生成する。
Parameter 1: ABC.com
Parameter 2: 60
Parameter 3: 10
Parameter 4: 123456789012345
For example, if a change occurs in the setting contents, and the value of
パラメータ1:XYZ.com
パラメータ2:50
パラメータ3:10
パラメータ4:123456789012345
設定ファイルの内容に関しては特に限定はなく、どのようなパラメータ値を設定することも可能である。例えば、IoTデバイス10の情報送信先アドレス、情報取得周期等がパラメータ値として設定される。
Parameter 1: XYZ.com
Parameter 2: 50
Parameter 3: 10
Parameter 4: 123456789012345
The contents of the configuration file are not particularly limited, and any parameter value can be set in the configuration file. For example, the information transmission destination address of the
図2のS1~S3の手順に沿って、動作例を説明する。この手順には、後述する設定情報取得のための準備の処理も含まれる。ここでは、例として、企業(2)(つまり、同一設定ファイルを使用するグループ2)に関する動作を説明する。他の企業に関しても基本的に同様の動作となる。 An example of the operation will be described following the steps S1 to S3 in FIG. 2. This procedure also includes preparation processing for obtaining configuration information, which will be described later. Here, as an example, the operation for company (2) (i.e., group 2 using the same configuration file) will be described. The operation for other companies will basically be similar.
S1において、管理装置300は、外部装置400(例えばシステム担当者の端末)から、グループ2の各IoTデバイス10Cの識別情報と、グループ2を識別するための識別情報を取得する。取得した情報は、グループごとに記憶部130に格納される。
In S1, the
IoTデバイス10Cの識別情報とは、IoTデバイス10Cが設定情報提供装置100にアクセスしたときに、設定情報提供装置100が取得でき、それによりアクセス元(要求送信元)を識別可能な情報である。
The identification information of the
IoTデバイス10Cの識別情報は、例えば、IoTデバイス10Cの電話番号、IoTデバイス10CのSIM情報(例:IMSI)、IoTデバイス10CのIPアドレス、IoTデバイス10Cのハードウェア情報(例:IMEI)のうちのいずれか1つ又はいずれか複数である。これらの情報はいずれも、IoTデバイス10Cがアクセス網200を介して設定情報提供装置100に接続するときに、通信情報(例:パケットヘッダ、制御信号等)から取得可能であるとする。なお、電話番号、SIM情報、IPアドレスは、通信のために使用する情報の例である。
The identification information of the
IoTデバイス10Cの識別情報は、通信情報から取得できなくてもよく、その場合には、例えば、アクセス網200における加入者管理装置等から取得可能であるとする。
The identification information of the
グループ2を識別するための識別情報は、例えば、企業ID、テナントID、グループ2で使用しているIoTデバイスの種類(例:スマートメータ)、等のうちのいずれか1つ又はいずれか複数である。 The identification information for identifying group 2 may be, for example, one or more of the following: company ID, tenant ID, type of IoT device used in group 2 (e.g., smart meter), etc.
記憶部130には、グループごと(例えばテナントごと)にテンプレートが格納される。ここでは、記憶部130には既にグループ2用のフォーマットのテンプレート(テンプレートファイル)が格納されているものとし、テンプレートにパラメータ値を新たに設定する、あるいは、パラメータ値を変更することを想定する。
The
そのため、S1では、情報した情報の他に、管理装置300は、外部装置400から、グループ2用のパラメータ値を取得する。
Therefore, in S1, in addition to the received information, the
S2において、管理装置300は、グループ2(テナント2)用のパラメータ値を、記憶部130におけるテナント2用の領域に格納する。図2の例では、パラメータ値(parameters)とグループ情報(Group Info)が示されている。なお、グループ情報を使用しないこととしてもよい。
In S2, the
また、テンプレートは順次更新されることを想定している。ただし、テンプレートは複数世代分を記憶部130に保存可能であり、新規テンプレートを使用した場合に不具合等が生じた場合には、旧世代のテンプレートを指定して設定ファイルを再生成することで、ロールバックすることが可能である。
It is also assumed that templates will be updated sequentially. However, multiple generations of templates can be stored in the
また、テンプレートにおいて、IoTデバイス10Cの識別情報をパラメータ値として設定できるようにしてもよい。その場合、設定ファイル内のパラメータ値として、IoTデバイス10Cの識別情報が含まれる。
In addition, the template may be configured so that identification information of the
S3において、設定情報生成部120は、グループ2(テナント2)のテンプレート及びパラメータ値を用いて設定ファイルを生成し、生成した設定ファイルを記憶部130における設定ファイル保存領域に格納する。
In S3, the configuration
本実施の形態では、グループ2のIoTデバイス10Cは、設定ファイルのファイル名を直接に指定することなく、グループ2の設定ファイルを取得できる。それを可能にするための準備となる動作として、設定ファイル生成にあたって下記の動作を行う。
In this embodiment, the
S3では、上述したパラメータ値の他、管理装置300から記憶部130に対して、グループ2の各IoTデバイス10Cの識別情報と、グループ2を識別するための識別情報とを対応付けて格納する。設定情報生成部120は、これらの識別情報を用いて、下記の動作例1又は動作例2を行う。なお、動作例1、2以外の動作を行うこととしてもよい。
In S3, in addition to the above-mentioned parameter values, the
動作例1:
設定情報生成部120は、グループ2の設定ファイルについて、個々のIoTデバイス10Cの識別情報をファイル名とした設定ファイルを作成する。例えば、1234という識別情報のIoTデバイス10Cに対して「1234」をファイル名とする設定ファイルを作成する。動作例1の場合、グループ2の同一内容の異なるファイル名の設定ファイルが、IoTデバイス10Cの数だけ生成される。なお、IoTデバイス10Cの識別情報がグループ2のIoTデバイスの識別情報であることの判別に関して、IoTデバイス10Cの識別情報に対応付けて、グループ2の識別情報が記憶部130に格納されているので、それらを用いて判別をすることができる。
Example 1:
The setting
また、動作例1では、個々のIoTデバイスに対して、その識別情報をファイル名とする設定ファイルを生成するので、IoTデバイスごとに、設定ファイルの内容を異ならせることも可能である。 In addition, in operation example 1, a configuration file is generated for each IoT device with its identification information as the file name, so it is possible to make the contents of the configuration file different for each IoT device.
動作例2:
設定情報生成部120は、グループ2の設定ファイルについて、1つの設定ファイルを生成する。この場合のファイル名はどのようなものでもよく、ここでは「Config_C」というファイル名の設定ファイルを生成し、格納したとする。
Example 2:
The setting
設定情報生成部120は、ファイル名「Config_C」と、各IoTデバイス10Cの識別情報とを対応付けた情報を対応情報として生成し、当該対応情報を記憶部130に格納する。なお、対応情報の生成に関しては、設定情報取得部110が行ってもよい。
The setting
つまり、動作例2では、グループ2の1つの設定ファイル「Config_C」に対して、グループ2に属する複数のIoTデバイスの識別情報が対応付けられる。 In other words, in operation example 2, the identification information of multiple IoT devices belonging to group 2 is associated with one configuration file "Config_C" for group 2.
<設定ファイルの提供に関する動作>
上述した動作が行われたことを前提として、次に、設定情報提供装置100が、グループ2の各IoTデバイス10Cに、グループ2の設定ファイルを提供する動作例を説明する。
<Operations related to provision of configuration files>
Assuming that the above-mentioned operations have been performed, next, an example of an operation in which the setting
図2のS4において、グループ2のIoTデバイス10Cが、設定ファイルの取得要求を送信する。図2の例において、IoTデバイス10Cから送信された取得要求は、モバイルアクセス網202を経由して、設定情報提供装置100に届く。
In S4 of FIG. 2, the
本実施の形態において、IoTデバイス10Cが送信する取得要求には、送信先(アクセス先)である設定情報提供装置100を特定する情報(あるいは、設定情報提供装置100内の設定ファイル格納領域を特定する情報)を含むが、IoTデバイス10Cが取得するべき設定ファイルを特定する情報を含まない。
In this embodiment, the acquisition request sent by the
あるいは、IoTデバイス10Cが送信する取得要求は、設定情報提供装置100(あるいは、設定情報提供装置100内の設定ファイル格納領域)を送信先として送信されるが、その送信先は、IoTデバイス10Cが取得するべき設定ファイルを特定するものではない。
Alternatively, the acquisition request sent by the
取得要求を受け取った設定情報取得部110は、その取得要求の送信元のIoTデバイス10Cの識別情報を取得する。前述したとおり、IoTデバイス10Cの識別情報は、例えば、IoTデバイス10Cの電話番号、IoTデバイス10CのSIM情報(例:IMSI)、IoTデバイス10CのIPアドレス、IoTデバイス1010Cのハードウェア情報(例:IMEI)のうちのいずれか1つ又はいずれか複数である。
The setting
前述した動作例1の動作で設定ファイルが準備されている場合、設定情報取得部110は、記憶部130から、IoTデバイス10Cの識別情報をファイル名とする設定ファイルを取得し、取得した設定ファイルを、取得要求送信元のIoTデバイス10Cに送信する。
When a setting file has been prepared by the operation of the above-described operation example 1, the setting
前述した動作例2の動作で設定ファイルが準備されている場合、設定情報取得部110は、ファイル名「Config_C」と、各IoTデバイス1010Cの識別情報とを対応付けた対応情報に基づいて、ファイル名が「Config_C」である設定ファイルを記憶部130から取得し、取得した設定ファイルを、取得要求送信元のIoTデバイス10Cに送信する。
When a configuration file has been prepared by the operation of the above-mentioned operation example 2, the configuration
IoTデバイス10Cが、取得要求として、HTTPのGETを使用する場合の具体例を説明する。例えば、設定情報提供装置100における設定ファイル格納領域が、「http://xxx.yy.jp/conf/」で特定されるとする。当該設定ファイル格納領域は、全IoTデバイス10に共通であるとし、当該設定ファイル格納領域内に、各設定ファイルが格納されていて、所望の設定ファイルはファイル名で特定できるとする。ここではIoTデバイス10Cが取得するべき設定ファイルのファイル名が「Config_C」であるとする。
A specific example will be described in which the
取得要求における対象リソースとして、IoTデバイス10Cから「http://xxx.yy.jp/conf/」を受信した設定情報取得部110は、IoTデバイス10Cの識別情報から、IoTデバイス10Cが取得するべき設定ファイルのファイル名が「Config_C」であることを検知すると、「http://xxx.yy.jp/conf/」に「Config_C」を加えて「http://xxx.yy.jp/conf/Config_C」を作成する。そして、「http://xxx.yy.jp/conf/Config_C」を用いて、ファイル名が「Config_C」の設定ファイルを取得し、取得した設定ファイルを、取得要求送信元のIoTデバイス10Cに送信する。
When the setting
上記のように、IoTデバイス10が設定ファイルの取得要求を行う際に、IoTデバイス10は設定ファイルを指定する必要はなく、複数のIoTデバイス10に共通の場所(アクセス先)を指定すればよい。従って、個々のIoTデバイス10に対して共通のアクセス先を設定しておくだけで、個々のIoTデバイス10は、それが取得するべき特定の設定ファイルを取得できる。
As described above, when the
例えば、IoTデバイス10において定期的に設定ファイルを取得する動作を実装することで、設定ファイルが変更されても、IoTデバイス10を操作することなく、IoTデバイス10は変更後の設定ファイルを取得できる。
For example, by implementing an operation in the
(ハードウェア構成例)
設定情報提供装置100は、例えば、コンピュータにプログラムを実行させることにより実現できる。このコンピュータは、物理的なコンピュータであってもよいし、クラウド上の仮想マシンであってもよい。
(Hardware configuration example)
The setting
すなわち、設定情報提供装置100は、コンピュータに内蔵されるCPUやメモリ等のハードウェア資源を用いて、設定情報提供装置100で実施される処理に対応するプログラムを実行することによって実現することが可能である。上記プログラムは、コンピュータが読み取り可能な記録媒体(可搬メモリ等)に記録して、保存したり、配布したりすることが可能である。また、上記プログラムをインターネットや電子メール等、ネットワークを通して提供することも可能である。
That is, the setting
図3は、上記コンピュータのハードウェア構成例を示す図である。図3のコンピュータは、それぞれバスBで相互に接続されているドライブ装置1000、補助記憶装置1002、メモリ装置1003、CPU1004、インタフェース装置1005、表示装置1006、入力装置1007、出力装置1008等を有する。なお、これらのうち、一部の装置を備えないこととしてもよい。例えば、表示を行わない場合、表示装置1006を備えなくてもよい。
Figure 3 is a diagram showing an example of the hardware configuration of the computer. The computer in Figure 3 has a
当該コンピュータでの処理を実現するプログラムは、例えば、CD-ROM又はメモリカード等の記録媒体1001によって提供される。プログラムを記憶した記録媒体1001がドライブ装置1000にセットされると、プログラムが記録媒体1001からドライブ装置1000を介して補助記憶装置1002にインストールされる。但し、プログラムのインストールは必ずしも記録媒体1001より行う必要はなく、ネットワークを介して他のコンピュータよりダウンロードするようにしてもよい。補助記憶装置1002は、インストールされたプログラムを格納すると共に、必要なファイルやデータ等を格納する。
The program that realizes the processing on the computer is provided by a
メモリ装置1003は、プログラムの起動指示があった場合に、補助記憶装置1002からプログラムを読み出して格納する。CPU1004は、メモリ装置1003に格納されたプログラムに従って、設定情報提供装置100に係る機能を実現する。インタフェース装置1005は、ネットワークに接続するためのインタフェースとして用いられ、送信部及び受信部として機能する。表示装置1006はプログラムによるGUI(Graphical User Interface)等を表示する。入力装置1007はキーボード及びマウス、ボタン、又はタッチパネル等で構成され、様々な操作指示を入力させるために用いられる。出力装置1008は演算結果を出力する。
When an instruction to start a program is received, the
(実施の形態のまとめ、効果)
以上説明したように、本実施の形態に係る技術により、IoTデバイスの設定を容易に行うことが可能となる。より具体的には下記のとおりである。以下、前述した課題(1)~(3)に対応させて、本実施の形態に係る技術の特徴やその効果を説明する。
(Summary and Effects of the Embodiments)
As described above, the technology according to the present embodiment makes it possible to easily configure an IoT device. More specifically, it is as follows. Below, the features and effects of the technology according to the present embodiment will be described in relation to the above-mentioned problems (1) to (3).
なお、以下では、複数の効果を説明しているが、これら複数の効果は本実施の形態に係る技術で得られる効果の例であり、本発明の実施技術において、以下で説明する複数の効果のうちの1つ又は複数の効果が得られないこととしてもよい。 Note that, although several effects are described below, these are examples of effects that can be obtained with the technology according to the present embodiment, and it is possible that one or more of the effects described below cannot be obtained with the technology according to the present invention.
(1)デバイス管理プロトコルを使用する場合の課題について
本実施の形態に係る技術により、一般的に使用されているHTTPを用いて、テキストベースの設定ファイルを送信することができるので、LwM2M等のデバイス管理プロトコルを使用する必要がない。
(1) Issues when using a device management protocol The technology according to the present embodiment makes it possible to transmit a text-based configuration file using the commonly used HTTP, eliminating the need to use a device management protocol such as LwM2M.
また、テンプレートを用いて、自由なフォーマットで設定ファイルを生成することができるので、IoTデバイス側にLwM2M等のクライアントソフトやSDKを必要としない。 In addition, configuration files can be generated in any format using templates, so there is no need for client software or SDKs such as LwM2M on the IoT device side.
(2)設定ファイルのフォーマットに関する課題について
本実施の形態では、テンプレートで任意の設定ファイルのフォーマットを定義できるため、IoTデバイスのベンダごとの設定ファイルのフォーマットの違いを吸収できる。また、同一の設定ファイルを使用するIoTデバイスをグループ化することで、IoTデバイスの用途や種類ごとに設定ファイルを保持できる。また、設定ファイルの内容の変更は、テンプレートに対して行えばよいため、IoTデバイスの一元管理を行うことができる。
(2) Problems related to the format of the setting file In this embodiment, since the format of any setting file can be defined by the template, differences in the format of the setting file for each IoT device vendor can be absorbed. In addition, by grouping IoT devices that use the same setting file, setting files can be stored for each purpose and type of IoT device. In addition, since the content of the setting file can be changed only by changing the template, the IoT devices can be managed centrally.
また、あるグループでの設定ファイルを変更する必要がある場合には、そのグループに紐づいたテンプレートを用いて、設定ファイルを生成することで、別グループの設定ファイルには影響することなく対象グループにおける設定ファイルの変更が可能となる。 In addition, if you need to change the configuration files in a group, you can generate a configuration file using a template associated with that group, making it possible to change the configuration files in the target group without affecting the configuration files in other groups.
(3)設定ファイルの取得に関する課題について
本実施の形態では、IoTデバイスが設定ファイルの取得要求を行う際に、設定情報提供装置100において、IoTデバイスの通信に使用する識別情報等を使用することで、受信した取得要求がどのIoTデバイスからの取得要求であるかを識別し、IoTデバイスに設定すべき設定ファイルを特定することができる。これにより、IoTデバイス側で設定する設定ファイル取得のためのアクセス先(URL等)を複数IoTデバイス間で共通化でき、IoTデバイスに対する初期設定(キッティング)と運用を簡素化できる。
(3) Problems related to acquiring a setting file In this embodiment, when an IoT device makes a request to acquire a setting file, the setting
また、IoTデバイスに対して、設定ファイルを取得するための共通のアクセス先と、設定ファイルを取得する時間間隔とを最初に設定するだけで、自動で各IoTデバイスに対する設定ファイルの更新等を行うことができる。 In addition, by simply initially setting a common access destination for IoT devices to obtain configuration files and the time interval for obtaining the configuration files, it is possible to automatically update the configuration files for each IoT device.
また、設定情報提供装置100の設定情報生成部120において、生成した設定ファイルに対し、生成時刻を示すタイムスタンプを付与することとしてもよい。この場合、設定情報提供装置100の設定情報取得部110は、IoTデバイスから取得要求を受けた際に、当該IoTデバイス用の設定ファイルのタイムスタンプを確認し、タイムスタンプが更新されていれば設定ファイルを送信し、タイムスタンプが更新されていなければ、既に送信済であると判断し、設定ファイルを送信しない。これにより、データ通信量を削減することができる。
The setting
(付記)
本明細書には、少なくとも下記の各項に記載した設定情報提供装置、設定情報提供方法、及びプログラムが記載されている。
(付記項1)
デバイスに設定情報を提供する設定情報提供装置であって、
テンプレートとパラメータ値とから設定情報を生成し、生成した設定情報を記憶部に格納する設定情報生成部と、
前記デバイスから、複数のデバイスに共通のアクセス先に対する取得要求を受信した場合に、前記デバイスの識別情報に基づいて、前記デバイス用の特定の設定情報を前記記憶部から取得し、前記デバイスに前記特定の設定情報を送信する設定情報取得部と
を備える設定情報提供装置。
(付記項2)
前記記憶部において、1つ以上のデバイスからなるグループごとにテンプレートを保持する
付記項1に記載の設定情報提供装置。
(付記項3)
前記デバイスの識別情報は、前記デバイスと前記設定情報提供装置との間の通信に使用される情報である
付記項1又は2に記載の設定情報提供装置。
(付記項4)
前記記憶部において、設定情報が各デバイスの識別情報と対応付けて格納されており、前記設定情報取得部は、前記デバイスの識別情報に対応する設定情報を前記記憶部から取得し、当該設定情報を前記デバイスに送信する
付記項1ないし3のうちいずれか1項に記載の設定情報提供装置。
(付記項5)
デバイスに設定情報を提供する設定情報提供装置が実行する設定情報提供方法であって、
テンプレートとパラメータ値とから設定情報を生成し、生成した設定情報を記憶部に格納するステップと、
前記デバイスから、複数のデバイスに共通のアクセス先に対する取得要求を受信した場合に、前記デバイスの識別情報に基づいて、前記デバイス用の特定の設定情報を前記記憶部から取得し、前記デバイスに前記特定の設定情報を送信するステップと
を備える設定情報提供方法。
(付記項6)
コンピュータを、付記項1ないし4のうちいずれか1項に記載の前記設定情報提供装置における前記設定情報生成部、及び前記設定情報取得部として機能させるためのプログラム。
(Additional Note)
This specification describes at least the setting information providing device, the setting information providing method, and the program described in the following sections.
(Additional Note 1)
A setting information providing device for providing setting information to a device,
a setting information generating unit that generates setting information from the template and the parameter values and stores the generated setting information in a storage unit;
and a setting information acquisition unit that, when receiving an acquisition request from the device for an access destination common to a plurality of devices, acquires specific setting information for the device from the storage unit based on identification information of the device, and transmits the specific setting information to the device.
(Additional Note 2)
2. The setting information providing device according to
(Additional Note 3)
3. The setting information providing device according to
(Additional Note 4)
The setting information providing device according to any one of
(Additional Note 5)
A setting information providing method executed by a setting information providing device that provides setting information to a device, comprising:
generating setting information from the template and the parameter values, and storing the generated setting information in a storage unit;
and when an acquisition request for an access destination common to multiple devices is received from the device, acquiring specific setting information for the device from the memory unit based on identification information of the device, and transmitting the specific setting information to the device.
(Additional Note 6)
A program for causing a computer to function as the setting information generating unit and the setting information acquiring unit in the setting information providing device according to any one of
以上、本実施の形態について説明したが、本発明はかかる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。 Although the present embodiment has been described above, the present invention is not limited to this specific embodiment, and various modifications and variations are possible within the scope of the gist of the present invention as described in the claims.
10 IoTデバイス
100 設定情報提供装置
110 設定情報取得部
120 設定情報生成部
130 記憶部
200 アクセス網
300 管理装置
400 外部装置
1000 ドライブ装置
1001 記録媒体
1002 補助記憶装置
1003 メモリ装置
1004 CPU
1005 インタフェース装置
1006 表示装置
1007 入力装置
1008 出力装置
10
1005
Claims (5)
テンプレートとパラメータ値とから設定ファイルを生成し、生成した設定ファイルを記憶部に格納する設定情報生成部と、
前記デバイスから、複数のデバイスに共通のアクセス先である設定ファイル格納領域を表す第1URLを受信した場合に、当該第1URLに、前記デバイスの識別情報に基づいて検知したファイル名を付加して第2URLを作成し、当該第2URLを用いて、前記デバイス用の特定の設定ファイルを前記記憶部から取得し、前記デバイスに前記特定の設定ファイルを送信する設定情報取得部と
を備える設定情報提供装置。 A setting information providing device for providing a setting file to a device,
a setting information generating unit that generates a setting file from the template and the parameter values and stores the generated setting file in a storage unit;
a setting information acquisition unit that, when receiving from the device a first URL representing a setting file storage area that is a common access destination for a plurality of devices , creates a second URL by adding a file name detected based on the identification information of the device to the first URL , acquires a specific setting file for the device from the memory unit using the second URL, and transmits the specific setting file to the device.
請求項1に記載の設定情報提供装置。 The setting information providing device according to claim 1 , wherein the storage unit holds a template for each group made up of one or more devices.
請求項1に記載の設定情報提供装置。 The setting information providing device according to claim 1 , wherein the device identification information is information used for communication between the device and the setting information providing device.
テンプレートとパラメータ値とから設定ファイルを生成し、生成した設定ファイルを記憶部に格納するステップと、
前記デバイスから、複数のデバイスに共通のアクセス先である設定ファイル格納領域を表す第1URLを受信した場合に、当該第1URLに、前記デバイスの識別情報に基づいて検知したファイル名を付加して第2URLを作成し、当該第2URLを用いて、前記デバイス用の特定の設定ファイルを前記記憶部から取得し、前記デバイスに前記特定の設定ファイルを送信するステップと
を備える設定情報提供方法。 A setting information providing method executed by a setting information providing device that provides a setting file to a device, comprising:
generating a configuration file from the template and the parameter values, and storing the generated configuration file in a storage unit;
a step of: when receiving from the device a first URL representing a configuration file storage area that is a common access destination for a plurality of devices , creating a second URL by adding a file name detected based on the identification information of the device to the first URL , obtaining a specific configuration file for the device from the memory unit using the second URL, and transmitting the specific configuration file to the device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022139281A JP7463458B2 (en) | 2022-09-01 | 2022-09-01 | Setting information providing device, setting information providing method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022139281A JP7463458B2 (en) | 2022-09-01 | 2022-09-01 | Setting information providing device, setting information providing method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2024034795A JP2024034795A (en) | 2024-03-13 |
JP7463458B2 true JP7463458B2 (en) | 2024-04-08 |
Family
ID=90193627
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022139281A Active JP7463458B2 (en) | 2022-09-01 | 2022-09-01 | Setting information providing device, setting information providing method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7463458B2 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004005125A (en) | 2002-05-31 | 2004-01-08 | Matsushita Electric Ind Co Ltd | Information processing system, terminal device and server device |
-
2022
- 2022-09-01 JP JP2022139281A patent/JP7463458B2/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004005125A (en) | 2002-05-31 | 2004-01-08 | Matsushita Electric Ind Co Ltd | Information processing system, terminal device and server device |
Non-Patent Citations (1)
Title |
---|
小野瀬 正一 外7名,「ネットワーク運用管理を自動化する」,日経NETWORK,日経BP社,2017年10月28日,第211号,pp.38-47 |
Also Published As
Publication number | Publication date |
---|---|
JP2024034795A (en) | 2024-03-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109104318B (en) | Method for realizing cluster self-adaptive deployment | |
US10469314B2 (en) | API gateway for network policy and configuration management with public cloud | |
EP1355231A2 (en) | Processing data files using plug-ins | |
US20110004676A1 (en) | Virtual appliance deploying system | |
CN107800565B (en) | Inspection method, inspection device, inspection system, computer equipment and storage medium | |
CN116018788A (en) | Configuring service grid networking resources for dynamically discovered peers or network functions | |
US10382258B2 (en) | Viral system discovery and installation for distributed networks | |
US20120226740A1 (en) | System and method to provide remote device management for mobile virtualized platforms | |
Da Silva et al. | Internet of things out of the box: using TOSCA for automating the deployment of IoT environments | |
WO2009011962A1 (en) | Network advisor | |
CN113301116A (en) | Cross-network communication method, device, system and equipment for microservice application | |
JP7132494B2 (en) | Multi-cloud operation program and multi-cloud operation method | |
CN113039498A (en) | Method for commissioning field devices in an industrial system network | |
WO2024078208A1 (en) | Domain name query method and apparatus based on ecs protocol, and storage medium and device | |
US11354491B1 (en) | Systems and methods for improved data modeling and translation | |
JP7463458B2 (en) | Setting information providing device, setting information providing method, and program | |
CN114270785A (en) | Setting device, communication system, setting method, and program | |
CN103080913A (en) | Method for finding communication devices connected to communication network, and management device | |
JP2018156492A (en) | Remote management system, mediation device, remote management method, and remote management program | |
US10768985B1 (en) | Active directory organizational unit-based deployment of computing systems | |
JP5228081B2 (en) | Home device management system and home device management method | |
JP6837939B2 (en) | Management device, management system, network device setting method, and program | |
US7773552B2 (en) | Mobile communication system and mobile communication method | |
JP2022086679A (en) | System and method for setting information about wireless communication | |
JP6852424B2 (en) | Application server, its method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220901 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20231121 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240122 |
|
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: 20240312 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240327 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7463458 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |