[go: up one dir, main page]

JP2015019220A - Communication device, communication method, and communication program - Google Patents

Communication device, communication method, and communication program Download PDF

Info

Publication number
JP2015019220A
JP2015019220A JP2013144718A JP2013144718A JP2015019220A JP 2015019220 A JP2015019220 A JP 2015019220A JP 2013144718 A JP2013144718 A JP 2013144718A JP 2013144718 A JP2013144718 A JP 2013144718A JP 2015019220 A JP2015019220 A JP 2015019220A
Authority
JP
Japan
Prior art keywords
group
parameter
consistency
change request
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013144718A
Other languages
Japanese (ja)
Inventor
啓子 北島
Keiko Kitajima
啓子 北島
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.)
Sumitomo Electric Industries Ltd
Sumitomo Electric Networks Inc
Original Assignee
Sumitomo Electric Industries Ltd
Sumitomo Electric Networks Inc
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 Sumitomo Electric Industries Ltd, Sumitomo Electric Networks Inc filed Critical Sumitomo Electric Industries Ltd
Priority to JP2013144718A priority Critical patent/JP2015019220A/en
Publication of JP2015019220A publication Critical patent/JP2015019220A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform stable operation by appropriately setting a plurality of parameters required for communication, in a configuration in which the communication is performed with a plurality of apparatuses.SOLUTION: A HGW (home gateway) 101 comprises: a change request acceptance unit 71 for accepting a change request which includes part or all of target parameters, which belong to a group of parameters whose consistency should be confirmed of groups of parameters to be set in the HGW 101, and is for requesting change of values of the parameters; a group confirmation unit 73 which holds the target parameters included in the accepted change request, and confirms whether or not change requests for all of the target parameters belonging to the group are accepted; a consistency confirmation unit 76 which confirms consistency among values of the respective target parameters belonging to the group when the group confirmation unit 73 confirms that the change requests for all of the target parameters belonging to the group have been accepted; and a setting unit 75 for setting the respective target parameters whose consistency are confirmed in the HGW 101.

Description

本発明は、通信装置、通信方法および通信プログラムに関し、特に、複数の機器と通信する通信装置、通信方法および通信プログラムに関する。   The present invention relates to a communication device, a communication method, and a communication program, and more particularly, to a communication device, a communication method, and a communication program that communicate with a plurality of devices.

従来、家庭内のエアコン、照明または冷蔵庫など複数の家電機器を相互連携させて操作するためのホームネットワークシステムが知られている。たとえば、複数の家電機器を、ホームゲートウェイ(HGW)を介して外部インターネットに通信接続させることにより、ユーザは、外出先から自宅のコンテンツにアクセスして、家庭内の複数の家電機器を相互連携させて操作することができる(たとえば、非特許文献1参照。)。   2. Description of the Related Art Conventionally, home network systems for operating a plurality of home appliances such as an air conditioner, a lighting, or a refrigerator in a home in cooperation with each other are known. For example, by connecting a plurality of home appliances to the external Internet via a home gateway (HGW), a user can access home content from outside the home and mutually link a plurality of home appliances in the home. (See, for example, Non-Patent Document 1.)

“1−1−3 基盤技術/ホームネットワーク・インフラ技術/ホームゲートウェイ”、[online]、[平成25年3月6日検索]、インターネット〈URL:http://www.jpo.go.jp/shiryou/s_sonota/hyoujun_gijutsu/web-base/1-1-3.pdf〉“1-1-3 Basic Technology / Home Network / Infrastructure Technology / Home Gateway”, [online], [Search March 6, 2013], Internet <URL: http://www.jpo.go.jp/ shiryou / s_sonota / hyoujun_gijutsu / web-base / 1-1-3.pdf> “TR-181 Device Data Model for TR-069”、Issue: 02 Amendment 6、Issue Date: November 2012“TR-181 Device Data Model for TR-069”, Issue: 02 Amendment 6, Issue Date: November 2012 “TR-069 CPE WAN Management Protocol”、Issue: 1 Amendment 4、Issue Date: July 2011、Protocol Version: 1.3“TR-069 CPE WAN Management Protocol”, Issue: 1 Amendment 4, Issue Date: July 2011, Protocol Version: 1.3 ”OMA Device Management Tree and Description Candidate Version 1.2”、[online]、[平成25年5月28日検索]、インターネット〈URL:http://member.openmobilealliance.org/ftp/Public_documents/DM/Permanent_documents/OMA-TS-DM-TND-V1_2-20050615-C.zip〉“OMA Device Management Tree and Description Candidate Version 1.2”, [online], [Search May 28, 2013], Internet <URL: http://member.openmobilealliance.org/ftp/Public_documents/DM/Permanent_documents/OMA -TS-DM-TND-V1_2-20050615-C.zip>

たとえば、複数の家電機器を、ホームゲートウェイを介して外部インターネットに通信接続する場合、ネットワーク接続に関するパラメータの設定をHGWに対して行う必要がある。この設定は、外部インターネット側の装置または家庭内の装置から行われることが考えられる。   For example, when a plurality of home appliances are connected to the external Internet via a home gateway, it is necessary to set parameters relating to network connection to the HGW. This setting may be performed from an external Internet device or a home device.

たとえば、HGWが外部インターネット側の装置と通信接続を確立するために必要なパラメータとして、アドレス自動取得のオンまたはオフ、HGWのIPアドレス、サブネットマスクおよびゲートウェイIPアドレス等がある。これらのパラメータの設定を行う際、複数のパラメータ間において整合性の確認が必要な場合がある。   For example, parameters necessary for the HGW to establish a communication connection with a device on the external Internet side include ON / OFF of automatic address acquisition, an IP address of the HGW, a subnet mask, and a gateway IP address. When setting these parameters, it may be necessary to check consistency between a plurality of parameters.

具体的には、たとえば、アドレス自動取得をオフに設定したとき、HGWのIPアドレス、サブネットマスクおよびゲートウェイIPアドレスの値がヌルのままであると、不適切なネットワーク設定となってしまう。   Specifically, for example, when automatic address acquisition is set to OFF, if the values of the HGW IP address, subnet mask, and gateway IP address remain null, the network setting is inappropriate.

このような不適切なネットワーク設定がなされると、HGWが外部インターネット側の装置と通信接続ができなくなる場合がある。また、適切なネットワーク設定を行うために複雑な処理が必要な場合がある。   If such an inappropriate network setting is made, the HGW may not be able to establish communication connection with a device on the external Internet side. In addition, complicated processing may be required to perform appropriate network settings.

この発明は、上述の課題を解決するためになされたもので、その目的は、複数の機器と通信する構成において、通信に必要な複数のパラメータを適切に設定し、安定した動作を行うことが可能な通信装置、通信方法および通信プログラムを提供することである。   The present invention has been made to solve the above-described problems. The object of the present invention is to appropriately set a plurality of parameters necessary for communication and perform stable operation in a configuration for communicating with a plurality of devices. A communication device, a communication method, and a communication program are provided.

(1)上記課題を解決するために、この発明のある局面に係わる通信装置は、自己の通信装置に設定すべきパラメータ群のうち、整合性を確認すべきパラメータのグループに属するパラメータである対象パラメータの一部または全部を含み、上記パラメータの値の変更を要求するための変更要求、を受付ける変更要求受付部と、上記変更要求受付部により受付けられた上記変更要求に含まれる上記対象パラメータを保持し、上記グループに属するすべての上記対象パラメータの上記変更要求が受付けられたか否かを確認するグループ確認部と、上記グループ確認部により上記グループに属するすべての上記対象パラメータの上記変更要求が受付けられたことが確認されると、上記グループに属する各上記対象パラメータの間で値の整合性を確認する整合性確認部と、上記整合性確認部により整合性が確認された上記各対象パラメータを自己の上記通信装置に設定する設定部とを備える。   (1) In order to solve the above-described problem, a communication device according to an aspect of the present invention is an object that is a parameter belonging to a parameter group whose consistency should be confirmed among parameter groups to be set in its own communication device. A change request accepting unit that accepts a change request for requesting a change in the value of the parameter, including part or all of the parameter, and the target parameter included in the change request accepted by the change request accepting unit. And a group confirmation unit for confirming whether or not the change request for all the target parameters belonging to the group has been accepted, and the change request for all the target parameters belonging to the group is accepted by the group confirmation unit If it is confirmed that the values are consistent, the consistency of the values is confirmed among the target parameters belonging to the group. It comprises a consistency check unit which, a setting unit for setting each target parameter integrity is confirmed by the integrity checking unit in its said communications device.

このように、グループに属するすべての対象パラメータの変更要求が受付けられ、かつ当該対象パラメータ間の値の整合性が確認された場合に、当該対象パラメータを通信装置に設定する構成により、通信に必要な複数のパラメータを適切に設定し、安定した動作を行うことができる。   In this way, when a change request for all target parameters belonging to a group is accepted and the consistency of values between the target parameters is confirmed, the configuration is performed so that the target parameters are set in the communication device. A plurality of parameters can be set appropriately, and stable operation can be performed.

これにより、たとえば、通信装置に不適切なネットワーク設定がなされてしまうことを回避することができるので、通信装置が外部インターネット側の装置と通信接続ができなくなる状況を回避することができる。また、適切なネットワーク設定とするための複雑な処理を不要とすることができる。   As a result, for example, it is possible to avoid an inappropriate network setting for the communication device, so that it is possible to avoid a situation in which the communication device cannot communicate with the device on the external Internet side. Further, it is possible to eliminate a complicated process for setting an appropriate network.

(2)好ましくは、上記グループ確認部は、上記グループに属するすべての上記対象パラメータの上記変更要求のうち所定時間内に受付けられなかった上記変更要求が存在する場合、タイムアウト処理として、保持する上記対象パラメータを破棄する。   (2) Preferably, when there is the change request that has not been accepted within a predetermined time among the change requests for all the target parameters belonging to the group, the group confirmation unit holds the time-out process as the time-out process. Discard the target parameter.

このように、グループに属するすべての対象パラメータの変更要求が受付けられるまで待つ処理に対して時間制限を設ける構成により、すべて揃う可能性が低い対象パラメータを保持せずに、不要なデータとして破棄することができるので、メモリの使用効率を向上させることができる。   In this way, with a configuration in which a time limit is set for processing to wait until a request for changing all target parameters belonging to the group is accepted, target parameters that are unlikely to be all collected are retained and discarded as unnecessary data Therefore, the memory usage efficiency can be improved.

(3)好ましくは、上記整合性確認部は、上記グループに属する上記各対象パラメータ間の値の整合性が条件を満たさない場合、エラーを出力する。   (3) Preferably, the consistency check unit outputs an error when the value consistency between the target parameters belonging to the group does not satisfy a condition.

このような構成により、通信装置に不適切な設定をしてしまう前に、たとえば対象パラメータ間の整合性が無いことを通知することができる。   With such a configuration, it is possible to notify, for example, that there is no consistency between target parameters before improperly setting the communication device.

(4)好ましくは、上記通信装置は、上記パラメータの識別子を含むツリー構造のデータモデルを保持し、上記データモデルに含まれる上記識別子に対応する上記パラメータの値の変更が要求されると、上記識別子に対応するプラグインが起動し、起動した上記プラグインは、上記識別子に対応する上記パラメータを含む上記変更要求を上記変更要求受付部に出力し、上記変更要求受付部は、上記プラグインからの上記変更要求を受付ける。   (4) Preferably, the communication device holds a data model having a tree structure including an identifier of the parameter, and when a change in the value of the parameter corresponding to the identifier included in the data model is requested, The plug-in corresponding to the identifier is activated, and the activated plug-in outputs the change request including the parameter corresponding to the identifier to the change request accepting unit, and the change request accepting unit receives the change request from the plug-in. The above change request is accepted.

このような構成により、プラグインを介してパラメータを設定する構成であっても、対象パラメータ間の整合性を確認した上で、通信装置に対して適切にパラメータを設定することができる。   With such a configuration, even in a configuration in which parameters are set via a plug-in, parameters can be appropriately set for the communication device after confirming consistency between target parameters.

(5)上記課題を解決するために、この発明のある局面に係わる通信方法は、通信装置において用いられる通信方法であって、自己の上記通信装置に設定すべきパラメータ群のうち、整合性を確認すべきパラメータのグループに属するパラメータである対象パラメータの一部または全部を含み、上記パラメータの値の変更を要求するための変更要求、を受付けるステップと、受付けた上記変更要求に含まれる上記対象パラメータを保持し、上記グループに属するすべての上記対象パラメータの上記変更要求を受付けたか否かを確認するステップと、上記グループに属するすべての上記対象パラメータの上記変更要求を受付けたことを確認すると、上記グループに属する各上記対象パラメータの間で値の整合性を確認するステップと、整合性を確認した上記各対象パラメータを自己の上記通信装置に設定するステップとを含む。   (5) In order to solve the above-described problem, a communication method according to an aspect of the present invention is a communication method used in a communication device, and the consistency among parameters set to be set in the communication device is determined. A step of accepting a change request for requesting a change in the value of the parameter, including a part or all of the target parameter belonging to a group of parameters to be confirmed, and the target included in the received change request Holding the parameter and confirming whether or not the change request for all the target parameters belonging to the group has been accepted, and confirming that the change request for all the target parameters belonging to the group has been accepted, Checking the consistency of values among the target parameters belonging to the group, and The above object parameters sure and a step of setting the self of the communication device.

このように、グループに属するすべての対象パラメータの変更要求が受付けられ、かつ当該対象パラメータ間の値の整合性が確認された場合に、当該対象パラメータを通信装置に設定する構成により、通信に必要な複数のパラメータを適切に設定し、安定した動作を行うことができる。   In this way, when a change request for all target parameters belonging to a group is accepted and the consistency of values between the target parameters is confirmed, the configuration is performed so that the target parameters are set in the communication device. A plurality of parameters can be set appropriately, and stable operation can be performed.

これにより、たとえば、通信装置に不適切なネットワーク設定がなされてしまうことを回避することができるので、通信装置が外部インターネット側の装置と通信接続ができなくなる状況を回避することができる。また、適切なネットワーク設定とするための複雑な処理を不要とすることができる。   As a result, for example, it is possible to avoid an inappropriate network setting for the communication device, so that it is possible to avoid a situation in which the communication device cannot communicate with the device on the external Internet side. Further, it is possible to eliminate a complicated process for setting an appropriate network.

(6)上記課題を解決するために、この発明のある局面に係わる通信プログラムは、通信装置において用いられる通信プログラムであって、コンピュータに、自己の上記通信装置に設定すべきパラメータ群のうち、整合性を確認すべきパラメータのグループに属するパラメータである対象パラメータの一部または全部を含み、上記パラメータの値の変更を要求するための変更要求、を受付けるステップと、受付けた上記変更要求に含まれる上記対象パラメータを保持し、上記グループに属するすべての上記対象パラメータの上記変更要求を受付けたか否かを確認するステップと、上記グループに属するすべての上記対象パラメータの上記変更要求を受付けたことを確認すると、上記グループに属する各上記対象パラメータの間で値の整合性を確認するステップと、整合性を確認した上記各対象パラメータを自己の上記通信装置に設定するステップとを実行させるためのプログラムである。   (6) In order to solve the above-described problem, a communication program according to an aspect of the present invention is a communication program used in a communication device, and among a parameter group to be set in the communication device of its own in a computer, A step of accepting a change request for requesting a change in the value of the parameter, including part or all of the target parameter belonging to the group of parameters whose consistency should be confirmed, and included in the received change request Holding the target parameter and confirming whether or not the change request for all the target parameters belonging to the group has been accepted, and receiving the change request for all the target parameters belonging to the group. If confirmed, the consistency of values between the target parameters belonging to the group is confirmed. A step of sure, a program for executing a step of setting the respective target parameters verify the integrity of the self of the communication device.

このように、グループに属するすべての対象パラメータの変更要求が受付けられ、かつ当該対象パラメータ間の値の整合性が確認された場合に、当該対象パラメータを通信装置に設定する構成により、通信に必要な複数のパラメータを適切に設定し、安定した動作を行うことができる。   In this way, when a change request for all target parameters belonging to a group is accepted and the consistency of values between the target parameters is confirmed, the configuration is performed so that the target parameters are set in the communication device. A plurality of parameters can be set appropriately, and stable operation can be performed.

これにより、たとえば、通信装置に不適切なネットワーク設定がなされてしまうことを回避することができるので、通信装置が外部インターネット側の装置と通信接続ができなくなる状況を回避することができる。また、適切なネットワーク設定とするための複雑な処理を不要とすることができる。   As a result, for example, it is possible to avoid an inappropriate network setting for the communication device, so that it is possible to avoid a situation in which the communication device cannot communicate with the device on the external Internet side. Further, it is possible to eliminate a complicated process for setting an appropriate network.

本発明によれば、複数の機器と通信する構成において、通信に必要な複数のパラメータを適切に設定し、安定した動作を行うことができる。   ADVANTAGE OF THE INVENTION According to this invention, in the structure which communicates with a some apparatus, the several parameter required for communication can be set appropriately, and the stable operation | movement can be performed.

本発明の実施の形態に係る通信システムの構成を示す図である。It is a figure which shows the structure of the communication system which concerns on embodiment of this invention. 本発明の実施の形態に係るHGWのソフトウェア構成およびインタフェース構成を示す図である。It is a figure which shows the software structure and interface structure of HGW which concern on embodiment of this invention. 本発明の実施の形態に係るHGWにおけるDMT Adminが有するツリー構造のデータモデルの一例を示す図である。It is a figure which shows an example of the data model of the tree structure which DMT Admin in HGW concerning embodiment of this invention has. 本発明の実施の形態に係るHGWにおけるWeb UIアプリが生成するパラメータ設定画面の一例を示す図である。It is a figure which shows an example of the parameter setting screen which the web UI application in HGW which concerns on embodiment of this invention produces | generates. 本発明の実施の形態に係るHGWにおけるAPI関数部の構成を示す図である。It is a figure which shows the structure of the API function part in HGW which concerns on embodiment of this invention. 本発明の実施の形態に係るAPI関数部がプラグインから受けたパラメータを設定ファイルに設定する際の動作手順を定めたフローチャートである。It is the flowchart which defined the operation | movement procedure at the time of setting the parameter which the API function part which concerns on embodiment of this invention received from the plug-in in a setting file. 本発明の実施の形態に係るサーバおよびHGWがメッセージを送受信するシーケンスの一例を示す図である。It is a figure which shows an example of the sequence in which the server and HGW which concern on embodiment of this invention transmit and receive a message. 本発明の実施の形態に係るHGWにおけるACS処理部の構成を示す図である。It is a figure which shows the structure of the ACS process part in HGW which concerns on embodiment of this invention.

以下、本発明の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals and description thereof will not be repeated.

[構成および基本動作]
図1は、本発明の実施の形態に係る通信システムの構成を示す図である。
[Configuration and basic operation]
FIG. 1 is a diagram showing a configuration of a communication system according to an embodiment of the present invention.

図1を参照して、通信システム301は、HGW101と、1または複数の機器161と、サーバ151とを備える。   With reference to FIG. 1, the communication system 301 includes an HGW 101, one or more devices 161, and a server 151.

HGW101は、たとえば、家庭およびオフィス等の宅内に設けられるルータであり、LAN(Local Area Network)側のネットワークとWAN(Wide Area Network)側のネットワーク111とを接続するための中継装置である。HGW101は、WAN側において、たとえばネットワーク111を介してサーバ151と接続されている。   The HGW 101 is a router provided in homes such as homes and offices, for example, and is a relay device for connecting a LAN (Local Area Network) side network and a WAN (Wide Area Network) side network 111. The HGW 101 is connected to the server 151 via, for example, the network 111 on the WAN side.

HGW101は、LAN側において、1または複数の機器161と接続可能である。ここでは、HGW101に1台の機器161、具体的にはPC(Personal Computer)161が有線接続または無線接続されている状況を想定する。なお、機器161は、PCでなく、たとえば、家庭内のテレビ受像機およびエアコンであってもよい。   The HGW 101 can be connected to one or a plurality of devices 161 on the LAN side. Here, it is assumed that one device 161, specifically, a PC (Personal Computer) 161 is connected to the HGW 101 by wire connection or wireless connection. Note that the device 161 may not be a PC, but may be, for example, a domestic television receiver or an air conditioner.

HGW101には、たとえば、WAN側のネットワーク111と接続するためのパラメータが設定されている。パラメータは、DHCP使用によるアドレス自動取得のオンまたはオフ、HGW101のWAN側のIPアドレス、サブネットマスクおよびゲートウェイIPアドレス等である。   For example, parameters for connecting to the WAN-side network 111 are set in the HGW 101. Parameters include ON / OFF of automatic address acquisition by using DHCP, WAN side IP address of HGW 101, subnet mask, gateway IP address, and the like.

PC161を使用するユーザが、たとえば上記パラメータを変更する場合がある。HGW101は、たとえば、上記パラメータを変更するためのサービスを当該ユーザに提供するための複数のソフトウェアモジュールを搭載することが可能である。   A user who uses the PC 161 may change the above parameters, for example. For example, the HGW 101 can be equipped with a plurality of software modules for providing a service for changing the parameters to the user.

たとえば、HGW101は、PC161を利用するユーザに対し、パラメータを変更するためのGUI(Graphical User Interface)を提供するためのソフトウェアモジュールを搭載する。   For example, the HGW 101 is equipped with a software module for providing a GUI (Graphical User Interface) for changing parameters to a user who uses the PC 161.

HGW101は、必要に応じてこのようなソフトウェアモジュールをネットワーク等からダウンロードしてインストールし、不要なソフトウェアモジュールを削除することにより、機能を柔軟に変更する。   The HGW 101 downloads and installs such software modules from a network or the like as necessary, and deletes unnecessary software modules to flexibly change functions.

ここで、ハードウェアの製造元または種類が異なる場合であっても同一のソフトウェアモジュールの動作を可能にし、さらに、機器を再起動することなくソフトウェアモジュールの追加または入れ替えを可能にするためのソフトウェアプラグインの仕組みとして、Java(登録商標)を用いたソフトウェアモジュールの実行環境であるOSGi(Open Services Gateway initiative)がある。   Here, a software plug-in that enables operation of the same software module even when the hardware manufacturer or type is different, and enables addition or replacement of the software module without restarting the device. As a mechanism, there is OSGi (Open Services Gateway initiative) which is an execution environment of software modules using Java (registered trademark).

このOSGiでは、OS(Operating System)上でJava VM(virtual machine)がプロセスとして実行され、当該プロセス上でJava言語により記述されたミドルウェアであるOSGi FW(Framework)が動作し、さらにOSGi FW上に、1または複数のソフトウェアモジュール(以下、バンドルとも称する。)がインストールされて実行される。   In this OSGi, a Java VM (virtual machine) is executed as a process on the OS (Operating System), OSGi FW (Framework), which is middleware described in the Java language, operates on the process, and further on the OSGi FW One or a plurality of software modules (hereinafter also referred to as bundles) are installed and executed.

[例1:LAN側からのネットワーク設定]
図2は、本発明の実施の形態に係るHGWのソフトウェア構成およびインタフェース構成を示す図である。
[Example 1: Network setting from LAN side]
FIG. 2 is a diagram showing a software configuration and an interface configuration of the HGW according to the embodiment of the present invention.

図2を参照して、HGW101は、LANインタフェース部31と、WANインタフェース部34とを含む。   Referring to FIG. 2, HGW 101 includes a LAN interface unit 31 and a WAN interface unit 34.

HGW101のソフトウェアは、OS(Operating System)21と、Java仮想マシン(Java VM)22と、OSGi FW(Open Service Gateway initiative Framework)23と、バンドル群24と、Nativeプログラム群62とを含む。OS21、Java仮想マシン22、OSGi FW23およびバンドル群24によりJAVA(登録商標)側ソフトウェアが構成される。OS21およびNativeプログラム群62によりNative側ソフトウェアが構成される。   The software of the HGW 101 includes an OS (Operating System) 21, a Java virtual machine (Java VM) 22, an OSGi FW (Open Service Gateway initiative Framework) 23, a bundle group 24, and a Native program group 62. The OS 21, Java virtual machine 22, OSGi FW 23 and bundle group 24 constitute JAVA (registered trademark) side software. Native side software is constituted by the OS 21 and the Native program group 62.

バンドル群24は、Web UI(User Interface)アプリ11と、DMT(Device Management Tree) Admin12と、プラグイン13A,13B,13Cとを含む。以下、プラグイン13A,13B,13Cの各々を、プラグイン13と称する場合がある。図2では、3つのプラグイン13を代表的に示しているが、さらに多数または少数のプラグイン13が設けられてもよい。   The bundle group 24 includes a Web UI (User Interface) application 11, a DMT (Device Management Tree) Admin 12, and plug-ins 13A, 13B, and 13C. Hereinafter, each of the plug-ins 13A, 13B, and 13C may be referred to as a plug-in 13. In FIG. 2, three plug-ins 13 are representatively shown, but a larger or smaller number of plug-ins 13 may be provided.

Nativeプログラム群62は、設定ファイル51と、API(Application Program Interface)関数部52と、ACS(Auto Configuration Servers)処理部53とを含む。   The Native program group 62 includes a setting file 51, an API (Application Program Interface) function unit 52, and an ACS (Auto Configuration Servers) processing unit 53.

HGW101は、階層化された複数のレイヤに従って動作する。より詳細には、JAVA側ソフトウェアにおいて、OS21のレイヤが最下位レイヤ(第1のレイヤ)であり、その上位レイヤがJava仮想マシン22のレイヤであり、その上位レイヤがOSGi FW23のレイヤであり、さらにその上位レイヤがバンドル群24のレイヤ(第2のレイヤ)である。   The HGW 101 operates according to a plurality of hierarchized layers. More specifically, in the JAVA side software, the OS 21 layer is the lowest layer (first layer), the upper layer is the Java virtual machine 22 layer, and the upper layer is the OSGi FW 23 layer, Furthermore, the higher layer is a layer (second layer) of the bundle group 24.

また、Native側ソフトウェアにおいて、OS21のレイヤが最下位レイヤ(第1のレイヤ)であり、その上位レイヤがNativeプログラム群62(第2のレイヤ)である。   In the native software, the OS 21 layer is the lowest layer (first layer), and the higher layer is the native program group 62 (second layer).

OSGi FW23は、OSGiアライアンスによる標準化技術であり、前述のように、Java言語に基づいたオープンなソフトウェア部品化技術に基づいて作成された、ソフトウェア部品の実行環境を提供するソフトウェアプラットフォームである。   The OSGi FW 23 is a standardized technology by the OSGi Alliance, and as described above, is a software platform that provides an execution environment for software components created based on an open software componentization technology based on the Java language.

OS21は、LANインタフェース部31を介して、自己のHGW101に有線接続または無線接続されているPC161との間で通信信号の送受信を行なう。また、OS21は、WANインタフェース部34を介して、ネットワーク111経由でサーバ151との間で通信信号の送受信を行なう。   The OS 21 transmits and receives communication signals to and from the PC 161 that is wired or wirelessly connected to its own HGW 101 via the LAN interface unit 31. Further, the OS 21 transmits and receives communication signals to and from the server 151 via the network 111 via the WAN interface unit 34.

バンドル群24におけるプラグイン13およびNativeプログラム群62におけるAPI関数部52間における通信信号の送受信は、ループバックアドレスを用いたプロセス間通信によりOS21経由で行われる。   Transmission / reception of communication signals between the plug-in 13 in the bundle group 24 and the API function unit 52 in the Native program group 62 is performed via the OS 21 by inter-process communication using a loopback address.

HGW101は、OSGi FW23上において、バンドル群24の各バンドルを単独に、または連携して実行することができる。また、図2ではバンドル群24に含まれるバンドルとして、5つのアプリケーションが示されているが、バンドル群24には、さらに多数または少数のバンドルが含まれてもよい。   The HGW 101 can execute each bundle of the bundle group 24 alone or in cooperation on the OSGi FW 23. In FIG. 2, five applications are shown as bundles included in the bundle group 24, but the bundle group 24 may include a larger number or a smaller number of bundles.

また、各バンドルを実行させるためのソフトウェアプラットフォームは、Java仮想マシン22およびOSGi FW23に限定されず、他のアプリケーション実行環境であってもよい。   The software platform for executing each bundle is not limited to the Java virtual machine 22 and the OSGi FW 23, and may be another application execution environment.

バンドル群24に含まれる各バンドルは、OSGi FW23上でOSGi FW23から提供される機能を利用して動作する。   Each bundle included in the bundle group 24 operates on the OSGi FW 23 using a function provided from the OSGi FW 23.

図3は、本発明の実施の形態に係るHGWにおけるDMT Adminが有するツリー構造のデータモデルの一例を示す図である。   FIG. 3 is a diagram showing an example of a data model having a tree structure included in DMT Admin in the HGW according to the embodiment of the present invention.

図3を参照して、DMT Admin12は、たとえば非特許文献4に示すOMA(Open Mobile Alliance) DM Protocolに従うツリー構造のデータモデルであるDMT14を有する。DMT14は、たとえば複数のノードにより構成される。各ノードは、たとえば親子関係を有する。親ノードと子ノードとの間は、たとえばエッジにより結ばれる。   Referring to FIG. 3, DMT Admin 12 has DMT 14 that is a tree-structured data model according to, for example, OMA (Open Mobile Alliance) DM Protocol shown in Non-Patent Document 4. The DMT 14 is configured by a plurality of nodes, for example. Each node has a parent-child relationship, for example. The parent node and the child node are connected by, for example, an edge.

DMT14は、たとえば自己のHGW101に設定されるパラメータについての抽象モデルである。DMT14におけるノードは、たとえばパラメータの識別子を示すノードである。   The DMT 14 is an abstract model for parameters set in the own HGW 101, for example. The node in the DMT 14 is a node indicating a parameter identifier, for example.

より詳細には、DMT14は、たとえばルートノードとして「Device」ノードを有する。「Device」ノードは、たとえば、子ノードとして「DeviceInfo」、「Time」、「IP」、「DHCPv4」、および「Routing」の子ノードを有する。   More specifically, the DMT 14 has a “Device” node as a root node, for example. The “Device” node has, for example, child nodes of “DeviceInfo”, “Time”, “IP”, “DHCPv4”, and “Routing” as child nodes.

「IP」ノードは、たとえば、子ノードとして「Interface」ノードを有する。「IP」ノードについての最底辺のノードは、たとえば、「IPAddress」ノードおよび「SubnetMask」ノードである。「IPAddress」ノードは、たとえばパラメータであるIPアドレスの識別子を示す。また、「SubnetMask」ノードは、たとえばパラメータであるサブネットマスクの識別子を示す。以下、IPアドレスを示すパラメータをパラメータIPとも称する。また、サブネットマスクを示すパラメータをパラメータSNとも称する。   The “IP” node has, for example, an “Interface” node as a child node. The bottommost nodes for the “IP” node are, for example, an “IPAddress” node and a “SubnetMask” node. The “IPAddress” node indicates an identifier of an IP address that is a parameter, for example. The “SubnetMask” node indicates an identifier of a subnet mask that is a parameter, for example. Hereinafter, the parameter indicating the IP address is also referred to as parameter IP. A parameter indicating the subnet mask is also referred to as a parameter SN.

「DHCPv4」ノードは、たとえば、子ノードとして「Client」ノードを有する。「DHCPv4」ノードについての最底辺のノードは、たとえば、「Enable」ノードである。「Enable」ノードは、たとえば自動でIPアドレスを取得するか否かを設定するパラメータの識別子を示す。以下、自動でIPアドレスを取得するか否かを示すパラメータをパラメータDHCPとも称する。   The “DHCPv4” node has, for example, a “Client” node as a child node. The bottommost node for the “DHCPv4” node is, for example, an “Enable” node. The “Enable” node indicates an identifier of a parameter for setting whether to automatically acquire an IP address, for example. Hereinafter, a parameter indicating whether or not an IP address is automatically acquired is also referred to as a parameter DHCP.

「Routing」ノードは、たとえば、子ノードとして「Router」ノードを有する。「Routing」ノードについての最底辺のノードは、たとえば、「GatewayIPAddress」ノードである。「GatewayIPAddress」ノードは、たとえばパラメータであるゲートウェイのIPアドレスの識別子を示す。以下、ゲートウェイを示すパラメータをパラメータGWとも称する。   The “Router” node has, for example, a “Router” node as a child node. The bottommost node for the “Routing” node is, for example, a “GatewayIPAddress” node. The “Gateway IP Address” node indicates, for example, an identifier of a gateway IP address that is a parameter. Hereinafter, the parameter indicating the gateway is also referred to as a parameter GW.

各ノードは、たとえばパス名により特定される。具体的には、「IPAddress」ノードは、たとえば「Device.IP.Interface.1.IPV4Address.1.IPAddress」で示されるパス名により特定される。   Each node is specified by a path name, for example. Specifically, the “IPAddress” node is specified by a path name indicated by “Device.IP.Interface.1.IPV4Address.1.IPAddress”, for example.

また、ノードには、プラグイン13が登録される場合がある。ノードにプラグイン13が登録されているときに、たとえば、当該ノード以下のノードに対して他のバンドルによるアクセスが発生すると、当該プラグイン13が起動する。   Further, the plug-in 13 may be registered in the node. When the plug-in 13 is registered in a node, for example, when access from another bundle occurs to a node below the node, the plug-in 13 is activated.

たとえば、「IP」ノードにプラグイン13Aが登録されているときに、「IPAddress」ノードまたは「SubnetMask」ノードに対して他のバンドルによるアクセスが発生すると、プラグイン13Aが起動する。   For example, when the plug-in 13A is registered in the “IP” node, the plug-in 13A is activated when access to the “IPAddress” node or the “SubnetMask” node is caused by another bundle.

また、たとえば、「DHCPv4」ノードにプラグイン13Bが登録されているときに、「Enable」ノードに対して他のバンドルによるアクセスが発生すると、プラグイン13Bが起動する。   Also, for example, when the plug-in 13B is registered in the “DHCPv4” node, the plug-in 13B is activated when the “Enable” node is accessed by another bundle.

また、たとえば、「Routing」ノードにプラグイン13Cが登録されているときに、「GatewayIPAddress」ノードに対して他のバンドルによるアクセスが発生すると、プラグイン13Cが起動する。   In addition, for example, when the plug-in 13C is registered in the “Routing” node, the plug-in 13C is activated when the “GatewayIPAddress” node is accessed by another bundle.

図4は、本発明の実施の形態に係るHGWにおけるWeb UIアプリが生成するパラメータ設定画面の一例を示す図である。   FIG. 4 is a diagram showing an example of a parameter setting screen generated by the Web UI application in the HGW according to the embodiment of the present invention.

図4を参照して、Web UIアプリ11は、OSGi FW23上で、たとえば、PC161へ送信すべき下り情報の作成およびPC161から受信した上り情報の処理を行なう。   Referring to FIG. 4, Web UI application 11 creates, for example, downlink information to be transmitted to PC 161 and processes uplink information received from PC 161 on OSGi FW 23.

具体的には、Web UIアプリ11は、たとえば、自己のHGW101のWAN側のネットワーク設定を行うためのパラメータ設定画面201をPC161の画面に表示する。   Specifically, the Web UI application 11 displays, for example, a parameter setting screen 201 for performing network setting on the WAN side of its own HGW 101 on the screen of the PC 161.

この際、Web UIアプリ11は、たとえば、OS21を介して設定ファイル51に格納されたパラメータの値を読み出し、読み出したパラメータをパラメータ設定画面201に表示する。   At this time, for example, the Web UI application 11 reads the parameter value stored in the setting file 51 via the OS 21 and displays the read parameter on the parameter setting screen 201.

PC161を操作するユーザは、アドレス自動取得のオンまたはオフ、HGW101のIPアドレス、サブネットマスクおよびゲートウェイIPアドレスの値の書き込みが完了すると、設定ボタン206を押す。   The user who operates the PC 161 presses the setting button 206 when automatic address acquisition is turned on or off and writing of the IP address, subnet mask, and gateway IP address values of the HGW 101 is completed.

PC161は、設定ボタン206が押されると、アドレス自動取得設定欄202、IPアドレス設定欄203、サブネットマスク設定欄204およびゲートウェイIPアドレス設定欄205に書込まれた値をHGW101へ送信する。   When the setting button 206 is pressed, the PC 161 transmits the values written in the address automatic acquisition setting field 202, the IP address setting field 203, the subnet mask setting field 204, and the gateway IP address setting field 205 to the HGW 101.

なお、PC161は、設定ボタン206が押されると、書込まれた値を一括でHGW101へ送信する構成であるとしたが、これに限定するものではない。PC161は、たとえば、ユーザが各設定欄に値を書込む毎に、書込まれた値をHGW101へ送信する構成であってもよい。   The PC 161 is configured to transmit the written values to the HGW 101 at once when the setting button 206 is pressed. However, the present invention is not limited to this. For example, the PC 161 may be configured to transmit the written value to the HGW 101 every time the user writes a value in each setting field.

再び図2を参照して、Web UIアプリ11は、PC161から各種パラメータを受信すると、自己のHGW101に設定されているパラメータの値を、受信した各種パラメータの値に変更することを要求するために、以下の処理を行う。   Referring to FIG. 2 again, when the Web UI application 11 receives various parameters from the PC 161, in order to request that the parameter values set in its own HGW 101 be changed to the received various parameter values. The following processing is performed.

すなわち、Web UIアプリ11は、DMT Admin12のDMT14における当該各種パラメータの識別子に対応するノードへ当該各種パラメータの値を出力する。より詳細には、Web UIアプリ11は、当該各種パラメータの識別子に対応するノードを特定するためのパス名とともに、当該各種パラメータの値をDMT14へ出力する。   That is, the Web UI application 11 outputs the values of the various parameters to the node corresponding to the identifiers of the various parameters in the DMT 14 of the DMT Admin 12. More specifically, the Web UI application 11 outputs the values of the various parameters to the DMT 14 together with the path name for specifying the node corresponding to the identifier of the various parameters.

DMT Admin12は、Web UIアプリ11から各種パラメータを受けるすなわちWeb UIアプリ11からのアクセスが発生すると、受けた各種パラメータの識別子に対応するプラグイン13を起動させる。そして、起動したプラグイン13は、当該識別子に対応するパラメータを含む変更要求であって、自己のHGW101に設定されているパラメータの値の変更を要求するための変更要求をNative側ソフトウェアにおけるAPI関数部52へOS21経由で出力する。   When the DMT Admin 12 receives various parameters from the Web UI application 11, that is, when an access from the Web UI application 11 occurs, the DMT Admin 12 activates the plug-in 13 corresponding to the identifier of the received various parameters. Then, the activated plug-in 13 sends a change request including a parameter corresponding to the identifier, and requests the change of the parameter value set in its own HGW 101 to the API function in the native software. The data is output to the unit 52 via the OS 21.

具体的には、Web UIアプリ11は、たとえば、PC161から受信した自動でIPアドレスを取得するか否かを示すパラメータDHCPを、DMT14の「DHCPv4」ノードについての最底辺のノードである「Enable」を特定するためのパス名とともにDMT Admin12へ出力する。   Specifically, the Web UI application 11 uses, for example, a parameter DHCP received from the PC 161 and indicating whether or not to automatically acquire an IP address as “Enable”, which is the lowest node for the “DHCPv4” node of the DMT 14. Are output to DMT Admin12 together with the path name for specifying the ID.

DMT Admin12は、「Enable」ノードに対するWeb UIアプリ11からのパラメータDHCPを受けると、「Enable」ノードが示す識別子に対応するプラグイン13Bを起動させる。プラグイン13Bは、Web UIアプリ11からのパラメータDHCPを含む変更要求をNative側ソフトウェアにおけるAPI関数部52へ出力する。   When the DMT Admin 12 receives the parameter DHCP from the Web UI application 11 for the “Enable” node, the DMT Admin 12 activates the plug-in 13B corresponding to the identifier indicated by the “Enable” node. The plug-in 13B outputs a change request including the parameter DHCP from the Web UI application 11 to the API function unit 52 in the Native side software.

また、Web UIアプリ11は、たとえば、PC161から受信したIPアドレスを示すパラメータIPを、DMT14の「IP」ノードについての最底辺のノードである「IPAddress」を特定するためのパス名とともにDMT Admin12へ出力する。   Further, the Web UI application 11 sends, for example, the parameter IP indicating the IP address received from the PC 161 to the DMT Admin 12 together with the path name for specifying “IPAddress” which is the bottommost node for the “IP” node of the DMT 14. Output.

DMT Admin12は、「IPAddress」ノードに対するWeb UIアプリ11からのパラメータIPを受けると、「IPAddress」ノードが示す識別子に対応するプラグイン13Aを起動させる。プラグイン13Aは、Web UIアプリ11からのパラメータIPを含む変更要求をNative側ソフトウェアにおけるAPI関数部52へ出力する。   When receiving the parameter IP from the Web UI application 11 for the “IPAddress” node, the DMT Admin 12 activates the plug-in 13A corresponding to the identifier indicated by the “IPAddress” node. The plug-in 13A outputs a change request including the parameter IP from the Web UI application 11 to the API function unit 52 in the Native side software.

また、Web UIアプリ11は、たとえば、PC161から受信したサブネットマスクを示すパラメータSNを、DMT14の「IP」ノードについての最底辺のノードである「SubnetMask」を特定するためのパス名とともにDMT Admin12へ出力する。   For example, the Web UI application 11 sends the parameter SN indicating the subnet mask received from the PC 161 to the DMT Admin 12 together with the path name for specifying the “SubnetMask” that is the bottommost node for the “IP” node of the DMT 14. Output.

DMT Admin12では、「SubnetMask」ノードに対するWeb UIアプリ11からのパラメータSNを受けると、「SubnetMask」ノードが示す識別子に対応するプラグイン13Aを起動させる。プラグイン13Aは、Web UIアプリ11からのパラメータSNを含む変更要求をNative側ソフトウェアにおけるAPI関数部52へ出力する。   When receiving the parameter SN from the Web UI application 11 for the “SubnetMask” node, the DMT Admin12 activates the plug-in 13A corresponding to the identifier indicated by the “SubnetMask” node. The plug-in 13A outputs a change request including the parameter SN from the Web UI application 11 to the API function unit 52 in the Native side software.

また、Web UIアプリ11は、たとえば、PC161から受信したゲートウェイIPアドレスを示すパラメータGWを、DMT14の「Routing」ノードについての最底辺のノードである「GatewayIPAddress」を特定するためのパス名とともにDMT Admin12へ出力する。   In addition, the Web UI application 11 uses, for example, the parameter GW indicating the gateway IP address received from the PC 161 together with the path name for specifying “GatewayIPAddress” which is the lowest-side node for the “Routing” node of the DMT 14. Output to.

DMT Admin12では、「GatewayIPAddress」ノードに対するWeb UIアプリ11からのパラメータGWを受けると、「GatewayIPAddress」ノードが示す識別子に対応するプラグイン13Cを起動させる。プラグイン13Cは、Web UIアプリ11からのパラメータGWを含む変更要求をNative側ソフトウェアにおけるAPI関数部52へ出力する。   When receiving the parameter GW from the Web UI application 11 for the “GatewayIPAddress” node, the DMT Admin12 activates the plug-in 13C corresponding to the identifier indicated by the “GatewayIPAddress” node. The plug-in 13C outputs a change request including the parameter GW from the Web UI application 11 to the API function unit 52 in the Native side software.

上記のように、Web UIアプリ11がPC161から受信したパラメータは、一括してAPI関数部52へ出力されるのでなく、プラグイン13毎に別々のセッションでAPI関数部52へ出力される。   As described above, the parameters received from the PC 161 by the Web UI application 11 are not collectively output to the API function unit 52 but are output to the API function unit 52 for each plug-in 13 in separate sessions.

[パラメータの設定を行う際に生ずる問題点]
たとえば、アドレス自動取得のオンまたはオフ、HGW101のIPアドレス、サブネットマスクおよびゲートウェイIPアドレスのパラメータの変更を行う際、複数のパラメータ間において整合性の確認が必要な場合がある。
[Problems that occur when setting parameters]
For example, when automatic address acquisition is turned on or off, and parameters of the IP address, subnet mask, and gateway IP address of the HGW 101 are changed, it may be necessary to check consistency between a plurality of parameters.

具体的には、たとえば、アドレス自動取得をオフに設定する場合、HGW101のIPアドレス、サブネットマスクおよびゲートウェイIPアドレスの値が必要となる。しかしながら、IPアドレス、サブネットマスクおよびゲートウェイIPアドレスの値がプラグイン13経由で送信されて来ない場合、ネットワーク設定を適切に完了することができない。   Specifically, for example, when automatic address acquisition is set to OFF, the IP address, subnet mask, and gateway IP address values of the HGW 101 are required. However, if the values of the IP address, subnet mask, and gateway IP address are not transmitted via the plug-in 13, the network setting cannot be properly completed.

上述したように、各パラメータは、プラグイン13を介して一つ一つ順番に送信される。パラメータが送信されて来る順に当該パラメータを設定してしまうと、たとえば、アドレス自動取得をオフに設定した後、IPアドレス、サブネットマスクおよびゲートウェイIPアドレスの値がプラグイン13経由で送信されて来ない場合、不適切なネットワーク設定となってしまう。   As described above, each parameter is transmitted one by one through the plug-in 13 one by one. If the parameters are set in the order in which the parameters are transmitted, for example, after automatic address acquisition is turned off, the IP address, subnet mask, and gateway IP address values are not transmitted via the plug-in 13. If this is the case, the network setting will be inappropriate.

このような不適切なネットワーク設定がなされると、HGW101がWAN側のネットワーク111と通信の接続ができなくなる場合がある。また、適切なネットワーク設定を行うために複雑な処理が必要な場合がある。   If such an inappropriate network setting is made, the HGW 101 may not be able to communicate with the WAN-side network 111. In addition, complicated processing may be required to perform appropriate network settings.

これに対して、本発明の実施の形態に係るAPI関数部52は、以下の構成および動作により、整合性が確認されていないパラメータを設定してしまうことを回避する。   On the other hand, the API function unit 52 according to the embodiment of the present invention avoids setting a parameter whose consistency has not been confirmed by the following configuration and operation.

[API関数部の構成]
図5は、本発明の実施の形態に係るHGWにおけるAPI関数部の構成を示す図である。
[Configuration of API function part]
FIG. 5 is a diagram showing a configuration of an API function unit in the HGW according to the embodiment of the present invention.

図5を参照して、API関数部52は、変更要求受付部71と、タイマ部72と、グループ確認部73と、記憶部74と、設定部75と、整合性確認部76と、エラー出力部77とを含む。   Referring to FIG. 5, the API function unit 52 includes a change request receiving unit 71, a timer unit 72, a group confirmation unit 73, a storage unit 74, a setting unit 75, a consistency confirmation unit 76, and an error output. Part 77.

記憶部74は、たとえば、1または複数のグループの情報を保持する。グループの情報には、グループに属するパラメータであって値の整合性を確認すべきパラメータである対象パラメータについての種別のIDが含まれる。また、記憶部74は、パラメータを一時的に保持する。   The storage unit 74 holds information on one or more groups, for example. The group information includes the type ID of the target parameter that is a parameter belonging to the group and whose value should be checked for consistency. The storage unit 74 temporarily stores parameters.

変更要求受付部71は、自己のHGW101に設定すべきパラメータを含む変更要求をプラグイン13A,13B,13Cから受ける、すなわち当該変更要求をプラグイン13A,13B,13Cから受付ける。変更要求には、対象パラメータの一部または全部が含まれる場合がある。変更要求受付部71は、受けた変更要求に含まれるパラメータをグループ確認部73へ出力する。   The change request receiving unit 71 receives a change request including a parameter to be set in its own HGW 101 from the plug-ins 13A, 13B, 13C, that is, receives the change request from the plug-ins 13A, 13B, 13C. The change request may include some or all of the target parameters. The change request receiving unit 71 outputs the parameters included in the received change request to the group confirmation unit 73.

グループ確認部73は、変更要求受付部71からパラメータを受けると、記憶部74が保持するグループの情報を参照し、受けたパラメータの種別のIDが値の整合性確認が必要なパラメータとしてグループに属する対象パラメータの種別のIDに該当するか否かを判断する。   When the group confirmation unit 73 receives a parameter from the change request reception unit 71, the group confirmation unit 73 refers to the group information held by the storage unit 74, and the received parameter type ID is assigned to the group as a parameter whose value consistency needs to be confirmed. It is determined whether or not the ID of the type of the target parameter to which it belongs.

グループ確認部73は、たとえば、受けたパラメータの種別のIDが対象パラメータの種別のIDに該当しないと判断する場合、受けたパラメータを設定部75へ出力する。   For example, when the group confirmation unit 73 determines that the received parameter type ID does not correspond to the target parameter type ID, the group confirmation unit 73 outputs the received parameter to the setting unit 75.

一方、グループ確認部73は、たとえば、受けたパラメータの種別のIDが対象パラメータの種別のIDに該当すると判断する場合、受けたパラメータを記憶部74において保持すると共にタイマ部72にタイムアウトまでの所定時間をセットし、タイマ部72に動作を開始させる。   On the other hand, for example, when the group confirmation unit 73 determines that the received parameter type ID corresponds to the ID of the target parameter type, the group confirmation unit 73 holds the received parameter in the storage unit 74 and sets a predetermined time until the timer unit 72 times out. The time is set and the timer unit 72 is started to operate.

グループ確認部73は、たとえば、当該グループに属する対象パラメータを受ける毎にタイマ部72に所定時間を再セットし、タイマ部72に動作を開始させる。なお、グループ確認部73は、たとえば、グループに属する対象パラメータを最初に受けたタイミングのみタイマ部72に所定時間をセットし、タイマ部72に動作を開始させてもよい。   For example, every time the group confirmation unit 73 receives a target parameter belonging to the group, the group confirmation unit 73 resets the timer unit 72 for a predetermined time and causes the timer unit 72 to start operation. Note that the group confirmation unit 73 may set a predetermined time in the timer unit 72 only at the timing when the target parameter belonging to the group is first received, and cause the timer unit 72 to start operation.

タイマ部72は、セットされた時間が経過すると、タイマ満了通知をグループ確認部73へ出力する。   When the set time has elapsed, the timer unit 72 outputs a timer expiration notification to the group confirmation unit 73.

グループ確認部73は、たとえば、タイマ部72からタイマ満了通知を受けるまでに当該グループに属するすべての対象パラメータの変更要求が受付けられたことを確認すると、タイマ部72の動作を停止させ、記憶部74に保持する当該グループに属するすべての対象パラメータを整合性確認部76へ出力する。   For example, when the group confirmation unit 73 confirms that a request for changing all target parameters belonging to the group has been received before receiving the timer expiration notification from the timer unit 72, the group confirmation unit 73 stops the operation of the timer unit 72, and the storage unit All target parameters belonging to the group held in 74 are output to the consistency confirmation unit 76.

また、グループ確認部73は、たとえば、当該グループに属するすべての対象パラメータの変更要求が受付けられる前にタイマ部72からタイマ満了通知を受けた場合、タイムアウト処理を行う。   In addition, for example, when the group confirmation unit 73 receives a timer expiration notification from the timer unit 72 before receiving a request for changing all target parameters belonging to the group, the group confirmation unit 73 performs a timeout process.

具体的には、グループ確認部73は、たとえば、記憶部74に保持する対象パラメータを破棄し、タイムアウトが発生した旨を示すエラー通知をエラー出力部77へ出力する。   Specifically, for example, the group confirmation unit 73 discards the target parameter held in the storage unit 74 and outputs an error notification indicating that a timeout has occurred to the error output unit 77.

整合性確認部76は、グループ確認部73から対象パラメータを受けると、受けた対象パラメータの間で値の整合性を確認する。整合性確認部76は、たとえば、対象パラメータの間の値の整合性が所定条件を満たす場合、すなわち対象パラメータの間に値の整合性がある場合、パラメータを設定部75へ出力する。   When the consistency confirmation unit 76 receives the target parameter from the group confirmation unit 73, the consistency confirmation unit 76 confirms the consistency of the values between the received target parameters. For example, when the consistency of values between target parameters satisfies a predetermined condition, that is, when there is a consistency of values between target parameters, the consistency checking unit 76 outputs the parameters to the setting unit 75.

また、整合性確認部76は、たとえば、対象パラメータの間の値の整合性が所定条件を満たさない場合、値の整合性に問題がある旨を示すエラー通知をエラー出力部77へ出力する。   For example, when the consistency of values between target parameters does not satisfy a predetermined condition, the consistency confirmation unit 76 outputs an error notification indicating that there is a problem with the consistency of values to the error output unit 77.

設定部75は、グループ確認部73および整合性確認部76からパラメータを受けると、受けたパラメータを設定ファイル51に設定する。   When receiving the parameters from the group confirmation unit 73 and the consistency confirmation unit 76, the setting unit 75 sets the received parameters in the setting file 51.

エラー出力部77は、グループ確認部73および整合性確認部76からエラー通知を受けると、受けたエラー通知をプラグイン13へ出力する。   Upon receiving an error notification from the group confirmation unit 73 and the consistency confirmation unit 76, the error output unit 77 outputs the received error notification to the plug-in 13.

再び図2を参照して、設定ファイル51は、たとえば、HGW101において使用されるパラメータを保持する。OS21は、たとえば、自己のHGW装置101のWAN側のネットワーク設定のパラメータとして設定ファイル51からパラメータを読み出し、読み出したパラメータを自己のHGW装置101に設定する。   Referring to FIG. 2 again, the setting file 51 holds parameters used in the HGW 101, for example. For example, the OS 21 reads a parameter from the setting file 51 as a network setting parameter on the WAN side of its own HGW apparatus 101, and sets the read parameter in its own HGW apparatus 101.

[API関数部の動作]
次に、本発明の実施の形態に係るHGWの動作について図面を用いて説明する。HGW101は、以下に示すフローチャートおよびシーケンスの各ステップを含むプログラムを図示しないメモリから読み出して実行する。このプログラムは、外部からインストールすることができる。
[Operation of API function part]
Next, the operation of the HGW according to the embodiment of the present invention will be described with reference to the drawings. The HGW 101 reads out and executes a program including the following flowchart and sequence steps from a memory (not shown). This program can be installed externally.

図6は、本発明の実施の形態に係るAPI関数部がプラグインから受けたパラメータを設定ファイルに設定する際の動作手順を定めたフローチャートである。   FIG. 6 is a flowchart defining an operation procedure when the API function unit according to the embodiment of the present invention sets a parameter received from a plug-in in a setting file.

図6を参照して、まず、グループ確認部73は、変更要求受付部71が受けたすなわち受付けた変更要求に含まれるパラメータがグループに属する対象パラメータであると判断する場合(ステップS102でYES)、以下の処理を行う。   Referring to FIG. 6, first, group confirmation unit 73 determines that the parameter included in the change request received by change request receiving unit 71, that is, the received change request is a target parameter belonging to the group (YES in step S102). The following processing is performed.

すなわち、グループ確認部73は、当該グループに属するすべての対象パラメータの変更要求のうちの一部の変更要求が受付けられておらず、当該グループに属するすべての対象パラメータが揃っていない場合(ステップS104でNO)、変更要求受付部71が受付けた変更要求に含まれる対象パラメータを記憶部74に保持し、タイマ部72に所定時間をセットし、タイマ部72に動作を開始させる(ステップS106)。   In other words, the group confirmation unit 73 does not accept some of the change requests for all the target parameters belonging to the group and does not have all the target parameters belonging to the group (step S104). NO), the target parameter included in the change request accepted by the change request accepting unit 71 is held in the storage unit 74, a predetermined time is set in the timer unit 72, and the timer unit 72 is started to operate (step S106).

次に、グループ確認部73は、変更要求受付部71が当該グループに属する対象パラメータを含む変更要求を受付けるまで待受け(ステップS108でNOかつステップS110でNO)、当該グループに属するすべての対象パラメータの変更要求が受付けられるまでにタイムアウトが発生すると(ステップS108でNOかつステップS110でYES)、以下の処理を行う。   Next, the group confirmation unit 73 stands by until the change request receiving unit 71 receives a change request including the target parameter belonging to the group (NO in step S108 and NO in step S110), and all the target parameters belonging to the group are checked. If a timeout occurs before the change request is accepted (NO in step S108 and YES in step S110), the following processing is performed.

すなわち、グループ確認部73は、記憶部74に保持する対象パラメータを破棄する(ステップS112)。   That is, the group confirmation unit 73 discards the target parameter held in the storage unit 74 (step S112).

一方、グループ確認部73は、タイムアウトが発生するまでに変更要求受付部71が当該グループに属する対象パラメータを含む変更要求を受付けると(ステップS110でNOかつステップS108でYES)、上記変更要求に含まれる対象パラメータを取得する。   On the other hand, when the change request accepting unit 71 accepts a change request including the target parameter belonging to the group before the timeout occurs (NO in step S110 and YES in step S108), the group confirmation unit 73 is included in the change request. Get the target parameter.

そして、グループ確認部73は、当該グループに属するすべての対象パラメータが揃っていない場合(ステップS104でNO)、取得した対象パラメータを記憶部74に保持し、タイマ部72に所定時間をセットし、タイマ部72に動作を開始させる(ステップS106)。   If all target parameters belonging to the group are not complete (NO in step S104), the group confirmation unit 73 holds the acquired target parameters in the storage unit 74, sets a predetermined time in the timer unit 72, The timer unit 72 is started to operate (step S106).

一方、グループ確認部73は、当該グループに属するすべての対象パラメータが揃っていない場合(ステップS104でYES)、記憶部74に保持する各対象パラメータを整合性確認部76へ出力する。整合性確認部76は、グループ確認部73から各対象パラメータを受けると、受けた各対象パラメータ間の値の整合性を確認する(ステップS114)。   On the other hand, when all target parameters belonging to the group are not complete (YES in step S104), the group confirmation unit 73 outputs each target parameter held in the storage unit 74 to the consistency confirmation unit 76. When the consistency confirmation unit 76 receives each target parameter from the group confirmation unit 73, the consistency confirmation unit 76 confirms the consistency of values between the received target parameters (step S114).

整合性確認部76は、各対象パラメータ間の値の整合性が所定条件を満たす場合(ステップS116でYES)、各対象パラメータを設定部75へ出力する。   The consistency confirmation unit 76 outputs each target parameter to the setting unit 75 when the value consistency between the target parameters satisfies a predetermined condition (YES in step S116).

次に、設定部75は、整合性確認部76から各対象パラメータを受けると、受けた各対象パラメータを設定ファイル51に設定する(ステップS118)。   Next, upon receiving each target parameter from the consistency confirmation unit 76, the setting unit 75 sets each received target parameter in the setting file 51 (step S118).

一方、整合性確認部76は、パラメータ間の値の整合性が所定条件を満たさない場合(ステップS116でNO)、たとえば、エラー通知をエラー出力部77経由でプラグイン13へ出力する(ステップS120)。   On the other hand, if the consistency of the values between parameters does not satisfy the predetermined condition (NO in step S116), for example, the consistency confirmation unit 76 outputs an error notification to the plug-in 13 via the error output unit 77 (step S120). ).

一方、グループ確認部73は、変更要求受付部71が受付けた変更要求に含まれるパラメータがグループに属する対象パラメータでないと判断する場合(ステップS102でNO)、当該パラメータを設定部75へ出力する。   On the other hand, when determining that the parameter included in the change request received by the change request receiving unit 71 is not a target parameter belonging to the group (NO in step S102), the group confirmation unit 73 outputs the parameter to the setting unit 75.

次に、設定部75は、グループ確認部73からパラメータを受けると、受けたパラメータを設定ファイル51に設定する(ステップS118)。   Next, when receiving a parameter from the group confirmation unit 73, the setting unit 75 sets the received parameter in the setting file 51 (step S118).

[例2:WAN側からのネットワーク設定]
再び図1を参照して、たとえば、サーバ151からHGW101のネットワーク設定を行いたい場合がある。この際、サーバ151およびHGW101間の通信は、たとえば、TR−069(非特許文献3)に規定するプロトコルに従って行われる状況を想定する。
[Example 2: Network setting from WAN side]
Referring to FIG. 1 again, for example, there is a case where it is desired to perform network setting of HGW 101 from server 151. At this time, it is assumed that the communication between the server 151 and the HGW 101 is performed in accordance with a protocol defined in TR-069 (Non-patent Document 3), for example.

TR−069において、サーバ151およびHGW101は、それぞれACSおよびCPE(Customer Premises Equipment)と称される。   In TR-069, the server 151 and the HGW 101 are referred to as ACS and CPE (Customer Premises Equipment), respectively.

図7は、本発明の実施の形態に係るサーバおよびHGWがメッセージを送受信するシーケンスの一例を示す図である。   FIG. 7 is a diagram illustrating an example of a sequence in which the server and the HGW according to the embodiment of the present invention transmit and receive messages.

サーバ151は、HGW101に設定されているパラメータを変更する際、たとえばTR−069に規定するSetParameterValuesメソッドを用いて、変更したいパラメータについてのパス名と値とを指定し、変更要求としてHGW101へ送信する(ステップS12)。変更したいパラメータについてのパス名によりツリー構造のデータモデルにおけるノードが特定される。   When changing a parameter set in the HGW 101, the server 151 designates a path name and a value for the parameter to be changed using, for example, a SetParameterValues method defined in TR-069, and transmits the change request to the HGW 101. (Step S12). The node in the tree-structured data model is specified by the path name for the parameter to be changed.

HGW101は、サーバ151から変更要求を受信すると、受信した変更要求に含まれるデータモデルのパス名および値を取得し、取得したパス名および値に基づいて処理を行う(ステップS14)。   When receiving the change request from the server 151, the HGW 101 acquires the path name and value of the data model included in the received change request, and performs processing based on the acquired path name and value (step S14).

HGW101は、取得したパス名および値をデータモデルに設定することを保留する場合、「暫定OK」をサーバ151へ送信する(ステップS16)。なお、HGW101は、取得したパス名および値を保留せずにデータモデルに設定する場合、「OK」をサーバ151へ送信する。   When the HGW 101 suspends setting the acquired path name and value in the data model, the HGW 101 transmits “provisional OK” to the server 151 (step S16). Note that the HGW 101 transmits “OK” to the server 151 when setting the acquired path name and value in the data model without deferring.

たとえば、サーバ151が、アドレス自動取得のオンまたはオフ、HGW101のIPアドレス、サブネットマスクおよびゲートウェイIPアドレスの値を変更する状況を想定する。   For example, assume that the server 151 changes the values of automatic address acquisition on or off, the IP address of the HGW 101, the subnet mask, and the gateway IP address.

具体的には、サーバ151は、SetParameterValuesメソッドを用いて、アドレス自動取得のオンまたはオフ、IPアドレス、サブネットマスクおよびゲートウェイIPアドレスのパラメータの値を変更するための変更要求をHGW101へ送信する。   Specifically, the server 151 uses the SetParameterValues method to send a change request to the HGW 101 to turn on or off automatic address acquisition, and to change parameter values of the IP address, subnet mask, and gateway IP address.

この際、サーバ151は、たとえば、アドレス自動取得のオンまたはオフ、IPアドレス、サブネットマスクおよびゲートウェイIPアドレスの値毎に複数の変更要求を生成し、生成した複数の変更要求をHGW101へ送信する。   At this time, for example, the server 151 generates a plurality of change requests for each value of automatic address acquisition on / off, IP address, subnet mask, and gateway IP address, and transmits the generated plurality of change requests to the HGW 101.

なお、サーバ151は、たとえば、アドレス自動取得のオンまたはオフ、IPアドレス、サブネットマスクおよびゲートウェイIPアドレスの値すべてを含む1つの変更要求を生成し、生成した変更要求をHGW101へ送信してもよい。   The server 151 may generate, for example, one change request including all the values of automatic address acquisition on / off, IP address, subnet mask, and gateway IP address, and transmit the generated change request to the HGW 101. .

また、サーバ151は、パラメータ間で値の整合性確認を行わずにパラメータをHGW101へ送信する場合がある。この場合、HGW101に対して間違った設定をしたタイミングでサーバ151およびHGW101間の通信ができなくなる可能性があるので好ましくない。   In addition, the server 151 may transmit parameters to the HGW 101 without checking the consistency of values between parameters. In this case, there is a possibility that communication between the server 151 and the HGW 101 may become impossible at the timing when an incorrect setting is made for the HGW 101, which is not preferable.

これに対して、本発明の実施の形態に係るACS処理部53は、以下の構成により、整合性が確認されていないパラメータを設定してしまうことを回避する。   On the other hand, the ACS processing unit 53 according to the embodiment of the present invention avoids setting a parameter whose consistency has not been confirmed with the following configuration.

[ACS処理部の構成]
図8は、本発明の実施の形態に係るHGWにおけるACS処理部の構成を示す図である。
[Configuration of ACS processing unit]
FIG. 8 is a diagram showing a configuration of an ACS processing unit in the HGW according to the embodiment of the present invention.

図8を参照して、ACS処理部53は、変更要求受付部171と、タイマ部172と、グループ確認部173と、記憶部174と、設定部175と、整合性確認部176と、エラー出力部177とを含む。   Referring to FIG. 8, ACS processing unit 53 includes change request receiving unit 171, timer unit 172, group confirmation unit 173, storage unit 174, setting unit 175, consistency confirmation unit 176, and error output. Part 177.

記憶部174は、たとえば、1または複数のグループの情報を保持する。グループの情報には、グループに属するパラメータであって値の整合性を確認すべきパラメータである対象パラメータについての種別のIDが含まれる。また、記憶部174は、パラメータを一時的に保持する。   The storage unit 174 holds, for example, information on one or more groups. The group information includes the type ID of the target parameter that is a parameter belonging to the group and whose value should be checked for consistency. The storage unit 174 temporarily holds parameters.

変更要求受付部171は、自己のHGW101に設定すべきパラメータを含む変更要求をサーバ151からネットワーク111経由で受信する、すなわち当該変更要求をサーバ151からネットワーク111経由で受付ける。変更要求には、対象パラメータの一部または全部が含まれる場合がある。変更要求受付部171は、受信した変更要求に含まれるパラメータをグループ確認部173へ出力する。   The change request receiving unit 171 receives a change request including a parameter to be set in its own HGW 101 from the server 151 via the network 111, that is, receives the change request from the server 151 via the network 111. The change request may include some or all of the target parameters. The change request reception unit 171 outputs the parameters included in the received change request to the group confirmation unit 173.

グループ確認部173は、変更要求受付部171からパラメータを受けると、記憶部174が保持するグループの情報を参照し、受けたパラメータの種別のIDが値の整合性確認が必要なパラメータとしてグループに属する対象パラメータの種別のIDに該当するか否かを判断する。   When the group confirmation unit 173 receives a parameter from the change request reception unit 171, the group confirmation unit 173 refers to the group information held by the storage unit 174, and the received parameter type ID is assigned to the group as a parameter that requires value consistency confirmation. It is determined whether or not the ID of the type of the target parameter to which it belongs.

グループ確認部173は、たとえば、受けたパラメータの種別のIDが対象パラメータの種別のIDに該当しないと判断する場合、受けたパラメータを設定部175へ出力する。   For example, when the group confirmation unit 173 determines that the received parameter type ID does not correspond to the target parameter type ID, the group confirmation unit 173 outputs the received parameter to the setting unit 175.

一方、グループ確認部173は、たとえば、受けたパラメータの種別のIDが対象パラメータの種別のIDに該当すると判断する場合、受けたパラメータを記憶部174において保持すると共にタイマ部172にタイムアウトまでの所定時間をセットし、タイマ部172に動作を開始させる。   On the other hand, for example, when the group confirmation unit 173 determines that the received parameter type ID corresponds to the target parameter type ID, the group confirmation unit 173 holds the received parameter in the storage unit 174 and sets the timer unit 172 for a predetermined time-out. The time is set and the timer unit 172 starts operating.

グループ確認部173は、たとえば、当該グループに属する対象パラメータを受ける毎にタイマ部172に所定時間を再セットし、タイマ部172に動作を開始させる。なお、グループ確認部173は、たとえば、グループに属する対象パラメータを最初に受けたタイミングのみタイマ部172に所定時間をセットし、タイマ部172に動作を開始させてもよい。   For example, each time the group confirmation unit 173 receives a target parameter belonging to the group, the group confirmation unit 173 resets the timer unit 172 for a predetermined time and causes the timer unit 172 to start operating. Note that the group confirmation unit 173 may set a predetermined time in the timer unit 172 only when the target parameter belonging to the group is first received, and cause the timer unit 172 to start operation.

タイマ部172は、セットされた時間が経過すると、タイマ満了通知をグループ確認部173へ出力する。   When the set time elapses, the timer unit 172 outputs a timer expiration notification to the group confirmation unit 173.

グループ確認部173は、たとえば、タイマ部172からタイマ満了通知を受けるまでに当該グループに属するすべての対象パラメータの変更要求が受付けられたことを確認すると、タイマ部172の動作を停止させ、記憶部174に保持する当該グループに属するすべての対象パラメータを整合性確認部176へ出力する。   For example, when the group confirmation unit 173 confirms that a request for changing all target parameters belonging to the group has been received before receiving the timer expiration notification from the timer unit 172, the group confirmation unit 173 stops the operation of the timer unit 172, and All target parameters belonging to the group held in 174 are output to the consistency checking unit 176.

また、グループ確認部173は、たとえば、当該グループに属するすべての対象パラメータの変更要求が受付けられる前にタイマ部172からタイマ満了通知を受けた場合、タイムアウト処理を行う。   In addition, for example, when the group confirmation unit 173 receives a timer expiration notification from the timer unit 172 before receiving a request for changing all target parameters belonging to the group, the group confirmation unit 173 performs a timeout process.

具体的には、グループ確認部173は、たとえば、記憶部174に保持する対象パラメータを破棄し、タイムアウトが発生した旨を示すエラー通知をエラー出力部177へ出力する。   Specifically, for example, the group confirmation unit 173 discards the target parameter held in the storage unit 174, and outputs an error notification indicating that a timeout has occurred to the error output unit 177.

整合性確認部176は、グループ確認部173から対象パラメータを受けると、受けた対象パラメータの間で値の整合性を確認する。整合性確認部176は、たとえば、対象パラメータの間の値の整合性が所定条件を満たす場合、すなわち対象パラメータの間に値の整合性がある場合、パラメータを設定部175へ出力する。   When the consistency confirmation unit 176 receives the target parameter from the group confirmation unit 173, the consistency confirmation unit 176 confirms the consistency of the values between the received target parameters. For example, if the value consistency between the target parameters satisfies a predetermined condition, that is, if there is a value consistency between the target parameters, the consistency check unit 176 outputs the parameters to the setting unit 175.

また、整合性確認部176は、たとえば、対象パラメータの間の値の整合性が所定条件を満たさない場合、値の整合性に問題がある旨を示すエラー通知をエラー出力部177へ出力する。   For example, when the consistency of values between target parameters does not satisfy a predetermined condition, the consistency confirmation unit 176 outputs an error notification indicating that there is a problem with the consistency of values to the error output unit 177.

設定部175は、グループ確認部173および整合性確認部176からパラメータを受けると、受けたパラメータを設定ファイル51に設定する。   When receiving the parameters from the group confirmation unit 173 and the consistency confirmation unit 176, the setting unit 175 sets the received parameters in the setting file 51.

エラー出力部177は、グループ確認部173および整合性確認部176からエラー通知を受けると、受けたエラー通知をサーバ151へネットワーク111経由で送信する。   Upon receiving an error notification from the group confirmation unit 173 and the consistency confirmation unit 176, the error output unit 177 transmits the received error notification to the server 151 via the network 111.

再び図2を参照して、設定ファイル51は、たとえば、HGW101において使用されるパラメータを保持する。OS21は、たとえば、自己のHGW装置101のWAN側のネットワーク設定のパラメータとして設定ファイル51からパラメータを読み出し、読み出したパラメータを自己のHGW装置101に設定する。   Referring to FIG. 2 again, the setting file 51 holds parameters used in the HGW 101, for example. For example, the OS 21 reads a parameter from the setting file 51 as a network setting parameter on the WAN side of its own HGW apparatus 101, and sets the read parameter in its own HGW apparatus 101.

なお、ACS処理部53の動作は、API関数部52の動作と同様であるので詳細な説明は繰り返さない。   Since the operation of ACS processing unit 53 is the same as the operation of API function unit 52, detailed description will not be repeated.

ところで、たとえば、HGW101がネットワーク111側の装置と通信接続を確立するために必要なパラメータとして、アドレス自動取得のオンまたはオフ、HGW101のIPアドレス、サブネットマスクおよびゲートウェイIPアドレス等がある。これらのパラメータの設定を行う際、複数のパラメータ間において整合性の確認が必要な場合がある。   By the way, for example, parameters necessary for the HGW 101 to establish a communication connection with a device on the network 111 side include ON / OFF of automatic address acquisition, an IP address of the HGW 101, a subnet mask, and a gateway IP address. When setting these parameters, it may be necessary to check consistency between a plurality of parameters.

具体的には、たとえば、アドレス自動取得をオフに設定したとき、HGW101のIPアドレス、サブネットマスクおよびゲートウェイIPアドレスの値がヌルのままであると、不適切なネットワーク設定となってしまう。   Specifically, for example, when the automatic address acquisition is set to OFF, if the values of the IP address, subnet mask, and gateway IP address of the HGW 101 remain null, the network setting becomes inappropriate.

このような不適切なネットワーク設定がなされると、HGW101がネットワーク111側の装置と通信接続ができなくなる場合がある。また、適切なネットワーク設定を行うために複雑な処理が必要な場合がある。   If such an inappropriate network setting is made, the HGW 101 may not be able to communicate with a device on the network 111 side. In addition, complicated processing may be required to perform appropriate network settings.

これに対して、本発明の実施の形態に係る通信装置では、変更要求受付部71は、自己のHGW101に設定すべきパラメータ群のうち、整合性を確認すべきパラメータのグループに属するパラメータである対象パラメータの一部または全部を含み、パラメータの値の変更を要求するための変更要求、を受付ける。グループ確認部73は、変更要求受付部71により受付けられた変更要求に含まれる対象パラメータを保持し、グループに属するすべての対象パラメータの変更要求が受付けられたか否かを確認する。整合性確認部76は、グループ確認部73によりグループに属するすべての対象パラメータの変更要求が受付けられたことが確認されると、グループに属する各対象パラメータの間で値の整合性を確認する。設定部75は、整合性確認部76により整合性が確認された各対象パラメータを自己のHGW101に設定する。   On the other hand, in the communication apparatus according to the embodiment of the present invention, the change request receiving unit 71 is a parameter belonging to the parameter group whose consistency should be confirmed among the parameter groups to be set in the own HGW 101. A change request including a part or all of the target parameter and requesting a change in the value of the parameter is accepted. The group confirmation unit 73 retains the target parameters included in the change request received by the change request reception unit 71, and checks whether change requests for all target parameters belonging to the group have been received. When the group confirmation unit 73 confirms that the request for changing all the target parameters belonging to the group has been accepted, the consistency confirmation unit 76 confirms the consistency of values among the target parameters belonging to the group. The setting unit 75 sets each target parameter whose consistency has been confirmed by the consistency confirmation unit 76 in its own HGW 101.

このように、グループに属するすべての対象パラメータの変更要求が受付けられ、かつ当該対象パラメータ間の値の整合性が確認された場合に、当該対象パラメータをHGW101に設定する構成により、通信に必要な複数のパラメータを適切に設定し、安定した動作を行うことができる。   In this way, when a change request for all target parameters belonging to the group is accepted and the consistency of the values between the target parameters is confirmed, the configuration in which the target parameters are set in the HGW 101 is necessary for communication. A plurality of parameters can be set appropriately and stable operation can be performed.

これにより、たとえば、HGW101に不適切なネットワーク設定がなされてしまうことを回避することができるので、HGW101がネットワーク111側の装置と通信接続ができなくなる状況を回避することができる。また、適切なネットワーク設定とするための複雑な処理を不要とすることができる。   Thereby, for example, it is possible to avoid an inappropriate network setting for the HGW 101, and therefore it is possible to avoid a situation in which the HGW 101 cannot communicate with the apparatus on the network 111 side. Further, it is possible to eliminate a complicated process for setting an appropriate network.

また、本発明の実施の形態に係る通信装置では、グループ確認部73は、グループに属するすべての対象パラメータの変更要求のうち所定時間内に受付けられなかった変更要求が存在する場合、タイムアウト処理として、保持する対象パラメータを破棄する。   Moreover, in the communication apparatus according to the embodiment of the present invention, the group confirmation unit 73 performs a timeout process when there is a change request that has not been received within a predetermined time among all the change requests for the target parameters belonging to the group. , Discard the target parameter to be retained.

このように、グループに属するすべての対象パラメータの変更要求が受付けられるまで待つ処理に対して時間制限を設ける構成により、すべて揃う可能性が低い対象パラメータを保持せずに、不要なデータとして破棄することができるので、メモリの使用効率を向上させることができる。   In this way, with a configuration in which a time limit is set for processing to wait until a request for changing all target parameters belonging to the group is accepted, target parameters that are unlikely to be all collected are retained and discarded as unnecessary data Therefore, the memory usage efficiency can be improved.

また、本発明の実施の形態に係る通信装置では、整合性確認部76は、グループに属する各対象パラメータ間の値の整合性が条件を満たさない場合、エラーを出力する。   Moreover, in the communication apparatus according to the embodiment of the present invention, the consistency confirmation unit 76 outputs an error when the consistency of values between the target parameters belonging to the group does not satisfy the condition.

このような構成により、HGW101に不適切な設定をしてしまう前に、たとえば対象パラメータ間の整合性が無いことを通知することができる。   With such a configuration, it is possible to notify that there is no consistency between the target parameters, for example, before making an inappropriate setting in the HGW 101.

また、本発明の実施の形態に係る通信装置では、HGW101は、パラメータの識別子を含むツリー構造のデータモデルであるDMT14を保持し、DMT14に含まれる識別子に対応するパラメータの値の変更が要求されると、当該識別子に対応するプラグイン13が起動し、起動したプラグイン13は、当該識別子に対応するパラメータを含む変更要求を変更要求受付部71に出力する。そして、変更要求受付部71は、プラグイン13からの変更要求を受付ける。   In the communication apparatus according to the embodiment of the present invention, the HGW 101 holds the DMT 14 that is a tree-structured data model including the parameter identifier, and is requested to change the parameter value corresponding to the identifier included in the DMT 14. Then, the plug-in 13 corresponding to the identifier is activated, and the activated plug-in 13 outputs a change request including a parameter corresponding to the identifier to the change request receiving unit 71. Then, the change request receiving unit 71 receives a change request from the plug-in 13.

このような構成により、プラグイン13を介してパラメータを設定する構成であっても、対象パラメータ間の整合性を確認した上で、HGW101に対して適切にパラメータを設定することができる。   With such a configuration, even in a configuration in which parameters are set via the plug-in 13, it is possible to appropriately set parameters for the HGW 101 after confirming consistency between target parameters.

また、本発明の実施の形態に係る通信装置では、変更要求受付部171は、自己のHGW101に設定すべきパラメータ群のうち、整合性を確認すべきパラメータのグループに属するパラメータである対象パラメータの一部または全部を含み、パラメータの値の変更を要求するための変更要求、を受付ける。グループ確認部173は、変更要求受付部171により受付けられた変更要求に含まれる対象パラメータを保持し、グループに属するすべての対象パラメータの変更要求が受付けられたか否かを確認する。整合性確認部176は、グループ確認部173によりグループに属するすべての対象パラメータの変更要求が受付けられたことが確認されると、グループに属する各対象パラメータの間で値の整合性を確認する。設定部175は、整合性確認部176により整合性が確認された各対象パラメータを自己のHGW101に設定する。   Further, in the communication apparatus according to the embodiment of the present invention, the change request receiving unit 171 includes the target parameter that is a parameter belonging to the parameter group to be checked for consistency among the parameter group to be set in the own HGW 101. A change request for requesting a change in the value of a parameter, including part or all of the parameter, is accepted. The group confirmation unit 173 holds the target parameter included in the change request received by the change request reception unit 171 and checks whether a change request for all target parameters belonging to the group has been received. When the group confirmation unit 173 confirms that the change request for all target parameters belonging to the group has been received, the consistency confirmation unit 176 confirms the consistency of values among the target parameters belonging to the group. The setting unit 175 sets each target parameter whose consistency has been confirmed by the consistency confirmation unit 176 in its own HGW 101.

このように、グループに属するすべての対象パラメータの変更要求が受付けられ、かつ当該対象パラメータ間の値の整合性が確認された場合に、当該対象パラメータをHGW101に設定する構成により、通信に必要な複数のパラメータを適切に設定し、安定した動作を行うことができる。   In this way, when a change request for all target parameters belonging to the group is accepted and the consistency of the values between the target parameters is confirmed, the configuration in which the target parameters are set in the HGW 101 is necessary for communication. A plurality of parameters can be set appropriately and stable operation can be performed.

これにより、たとえば、HGW101に不適切なネットワーク設定がなされてしまうことを回避することができるので、HGW101がネットワーク111側の装置と通信接続ができなくなる状況を回避することができる。また、適切なネットワーク設定とするための複雑な処理を不要とすることができる。   Thereby, for example, it is possible to avoid an inappropriate network setting for the HGW 101, and therefore it is possible to avoid a situation in which the HGW 101 cannot communicate with the apparatus on the network 111 side. Further, it is possible to eliminate a complicated process for setting an appropriate network.

また、本発明の実施の形態に係る通信装置では、グループ確認部173は、グループに属するすべての対象パラメータの変更要求のうち所定時間内に受付けられなかった変更要求が存在する場合、タイムアウト処理として、保持する対象パラメータを破棄する。   In the communication device according to the embodiment of the present invention, the group confirmation unit 173 performs a timeout process when there is a change request that has not been received within a predetermined time among all the change requests for the target parameters belonging to the group. , Discard the target parameter to be retained.

このように、グループに属するすべての対象パラメータの変更要求が受付けられるまで待つ処理に対して時間制限を設ける構成により、すべて揃う可能性が低い対象パラメータを保持せずに、不要なデータとして破棄することができるので、メモリの使用効率を向上させることができる。   In this way, with a configuration in which a time limit is set for processing to wait until a request for changing all target parameters belonging to the group is accepted, target parameters that are unlikely to be all collected are retained and discarded as unnecessary data Therefore, the memory usage efficiency can be improved.

また、本発明の実施の形態に係る通信装置では、整合性確認部176は、グループに属する各対象パラメータ間の値の整合性が条件を満たさない場合、エラーを出力する。   Further, in the communication apparatus according to the embodiment of the present invention, the consistency check unit 176 outputs an error when the value consistency between the target parameters belonging to the group does not satisfy the condition.

このような構成により、HGW101に不適切な設定をしてしまう前に、たとえば対象パラメータ間の整合性が無いことを通知することができる。   With such a configuration, it is possible to notify that there is no consistency between the target parameters, for example, before making an inappropriate setting in the HGW 101.

なお、本発明の実施の形態に係る通信装置では、HGW101は、API関数部52およびACS処理部53を備える構成であるとしたが、これに限定するものではない。HGW101は、API関数部52およびACS処理部53のいずれか一方を備える構成であってもよい。   In the communication apparatus according to the embodiment of the present invention, the HGW 101 is configured to include the API function unit 52 and the ACS processing unit 53, but the present invention is not limited to this. The HGW 101 may be configured to include one of the API function unit 52 and the ACS processing unit 53.

また、本発明の実施の形態に係る通信装置では、API関数部52およびACS処理部53は、WAN側のネットワーク設定を行うためのパラメータについて整合性の確認を行う構成であるとしたが、これに限定するものではない。API関数部52およびACS処理部53は、たとえば、LAN側のネットワーク設定またはその他の設定について整合性の確認を行う構成であってもよい。   In the communication apparatus according to the embodiment of the present invention, the API function unit 52 and the ACS processing unit 53 are configured to check the consistency of parameters for performing network settings on the WAN side. It is not limited to. For example, the API function unit 52 and the ACS processing unit 53 may be configured to check the consistency of the LAN-side network settings or other settings.

上記実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記説明ではなく特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The above embodiment should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

11 Web UIアプリ
12 DMT Admin
13 プラグイン
14 DMT
21 OS
22 Java仮想マシン
23 OSGi FW
24 バンドル群
31 LANインタフェース部
34 WANインタフェース部
51 設定ファイル
52 API関数部
53 ACS処理部
62 Nativeプログラム群
71,171 変更要求受付部
72,172 タイマ部
73,173 グループ確認部
74,174 記憶部
75,175 設定部
76,176 整合性確認部
77,177 エラー出力部
101 HGW
111 ネットワーク
151 サーバ
161 機器
301 通信システム
11 Web UI application 12 DMT Admin
13 Plug-in 14 DMT
21 OS
22 Java virtual machine 23 OSGi FW
24 bundle group 31 LAN interface unit 34 WAN interface unit 51 setting file 52 API function unit 53 ACS processing unit 62 native program group 71,171 change request reception unit 72,172 timer unit 73,173 group confirmation unit 74,174 storage unit 75 , 175 Setting unit 76, 176 Consistency confirmation unit 77, 177 Error output unit 101 HGW
111 Network 151 Server 161 Device 301 Communication System

Claims (6)

自己の通信装置に設定すべきパラメータ群のうち、整合性を確認すべきパラメータのグループに属するパラメータである対象パラメータの一部または全部を含み、前記パラメータの値の変更を要求するための変更要求、を受付ける変更要求受付部と、
前記変更要求受付部により受付けられた前記変更要求に含まれる前記対象パラメータを保持し、前記グループに属するすべての前記対象パラメータの前記変更要求が受付けられたか否かを確認するグループ確認部と、
前記グループ確認部により前記グループに属するすべての前記対象パラメータの前記変更要求が受付けられたことが確認されると、前記グループに属する各前記対象パラメータの間で値の整合性を確認する整合性確認部と、
前記整合性確認部により整合性が確認された前記各対象パラメータを自己の前記通信装置に設定する設定部とを備える、通信装置。
A change request for requesting a change in the value of the parameter, including part or all of the target parameters that belong to the parameter group to be checked for consistency among the parameter group to be set in the own communication device , A change request accepting unit that accepts
A group confirmation unit that holds the target parameter included in the change request received by the change request reception unit and confirms whether the change request of all the target parameters belonging to the group has been received;
When the group confirmation unit confirms that the change request for all the target parameters belonging to the group has been accepted, the consistency confirmation for confirming the consistency of values among the target parameters belonging to the group And
A communication apparatus comprising: a setting unit configured to set each target parameter whose consistency has been confirmed by the consistency confirmation unit in the communication apparatus of its own.
前記グループ確認部は、前記グループに属するすべての前記対象パラメータの前記変更要求のうち所定時間内に受付けられなかった前記変更要求が存在する場合、タイムアウト処理として、保持する前記対象パラメータを破棄する、請求項1に記載の通信装置。   When there is the change request that has not been accepted within a predetermined time among the change requests of all the target parameters belonging to the group, the group confirmation unit discards the target parameter to be held as a timeout process, The communication apparatus according to claim 1. 前記整合性確認部は、前記グループに属する前記各対象パラメータ間の値の整合性が条件を満たさない場合、エラーを出力する、請求項1または請求項2に記載の通信装置。   The communication device according to claim 1, wherein the consistency check unit outputs an error when value consistency between the target parameters belonging to the group does not satisfy a condition. 前記通信装置は、前記パラメータの識別子を含むツリー構造のデータモデルを保持し、前記データモデルに含まれる前記識別子に対応する前記パラメータの値の変更が要求されると、前記識別子に対応するプラグインが起動し、起動した前記プラグインは、前記識別子に対応する前記パラメータを含む前記変更要求を前記変更要求受付部に出力し、
前記変更要求受付部は、前記プラグインからの前記変更要求を受付ける、請求項1から請求項3のいずれか1項に記載の通信装置。
The communication device holds a data model having a tree structure including an identifier of the parameter, and when a change in the value of the parameter corresponding to the identifier included in the data model is requested, a plug-in corresponding to the identifier Is activated, and the activated plug-in outputs the change request including the parameter corresponding to the identifier to the change request receiving unit,
The communication apparatus according to any one of claims 1 to 3, wherein the change request receiving unit receives the change request from the plug-in.
通信装置において用いられる通信方法であって、
自己の前記通信装置に設定すべきパラメータ群のうち、整合性を確認すべきパラメータのグループに属するパラメータである対象パラメータの一部または全部を含み、前記パラメータの値の変更を要求するための変更要求、を受付けるステップと、
受付けた前記変更要求に含まれる前記対象パラメータを保持し、前記グループに属するすべての前記対象パラメータの前記変更要求を受付けたか否かを確認するステップと、
前記グループに属するすべての前記対象パラメータの前記変更要求を受付けたことを確認すると、前記グループに属する各前記対象パラメータの間で値の整合性を確認するステップと、
整合性を確認した前記各対象パラメータを自己の前記通信装置に設定するステップとを含む、通信方法。
A communication method used in a communication device,
A change for requesting a change in the value of the parameter, including a part or all of the target parameters that belong to the parameter group to be checked for consistency among the parameter group to be set in the communication apparatus of its own Accepting the request, and
Holding the target parameter included in the received change request, and confirming whether the change request of all the target parameters belonging to the group has been received;
Confirming that the change request of all the target parameters belonging to the group has been accepted, checking the consistency of values among the target parameters belonging to the group;
And setting each target parameter whose consistency has been confirmed in its own communication device.
通信装置において用いられる通信プログラムであって、
コンピュータに、
自己の前記通信装置に設定すべきパラメータ群のうち、整合性を確認すべきパラメータのグループに属するパラメータである対象パラメータの一部または全部を含み、前記パラメータの値の変更を要求するための変更要求、を受付けるステップと、
受付けた前記変更要求に含まれる前記対象パラメータを保持し、前記グループに属するすべての前記対象パラメータの前記変更要求を受付けたか否かを確認するステップと、
前記グループに属するすべての前記対象パラメータの前記変更要求を受付けたことを確認すると、前記グループに属する各前記対象パラメータの間で値の整合性を確認するステップと、
整合性を確認した前記各対象パラメータを自己の前記通信装置に設定するステップとを実行させるための、通信プログラム。
A communication program used in a communication device,
On the computer,
A change for requesting a change in the value of the parameter, including a part or all of the target parameters that belong to the parameter group to be checked for consistency among the parameter group to be set in the communication apparatus of its own Accepting the request, and
Holding the target parameter included in the received change request, and confirming whether the change request of all the target parameters belonging to the group has been received;
Confirming that the change request of all the target parameters belonging to the group has been accepted, checking the consistency of values among the target parameters belonging to the group;
A communication program for executing the step of setting each of the target parameters whose consistency has been confirmed in the communication device.
JP2013144718A 2013-07-10 2013-07-10 Communication device, communication method, and communication program Pending JP2015019220A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013144718A JP2015019220A (en) 2013-07-10 2013-07-10 Communication device, communication method, and communication program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013144718A JP2015019220A (en) 2013-07-10 2013-07-10 Communication device, communication method, and communication program

Publications (1)

Publication Number Publication Date
JP2015019220A true JP2015019220A (en) 2015-01-29

Family

ID=52439845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013144718A Pending JP2015019220A (en) 2013-07-10 2013-07-10 Communication device, communication method, and communication program

Country Status (1)

Country Link
JP (1) JP2015019220A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0954671A (en) * 1995-08-11 1997-02-25 Fuji Xerox Co Ltd Command input method
JPH1084399A (en) * 1996-05-09 1998-03-31 Sun Microsyst Inc Method and system for automatically configuring protocol parameters in a protocol layer for a public area network
JP2003069780A (en) * 2001-08-24 2003-03-07 Konica Corp Image forming device
JP2009206863A (en) * 2008-02-28 2009-09-10 Fujitsu Telecom Networks Ltd Layer 2 switch system and layer 2 switch

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0954671A (en) * 1995-08-11 1997-02-25 Fuji Xerox Co Ltd Command input method
JPH1084399A (en) * 1996-05-09 1998-03-31 Sun Microsyst Inc Method and system for automatically configuring protocol parameters in a protocol layer for a public area network
JP2003069780A (en) * 2001-08-24 2003-03-07 Konica Corp Image forming device
JP2009206863A (en) * 2008-02-28 2009-09-10 Fujitsu Telecom Networks Ltd Layer 2 switch system and layer 2 switch

Similar Documents

Publication Publication Date Title
US12375369B2 (en) Service enabler function
JP6456472B2 (en) Enhanced operation between service layer and management layer in an M2M system by enabling execution of multiple commands on multiple devices
EP2712118B1 (en) Method and system for managing devices in batches
US8626921B2 (en) Device and service management based on layer 2 through layer 7 device attributes
CN103685210B (en) The register method and device of terminal
JP2017515430A (en) Resource and attribute management in machine-to-machine network
JPWO2004071014A1 (en) SNMP proxy agent and management information relay method
CN101218797A (en) Residential Gateway System for Home Networking Services
CN112653566A (en) Data processing method and device
CN115514667B (en) Access service processing method, system, device, electronic device and storage medium
KR102000234B1 (en) Apparatus for providing home network service and method thereof
KR20240067938A (en) Management of interoperability test profiles in M-Plane of O-RAN
CN106031091B (en) Techniques for Assisting Remote Diagnosis of Access Gateways
CN101867509B (en) Device, system and method for automatically configuring application terminal in household network
JP5818362B2 (en) Network system, network management device, network management program, and network management method
Lee et al. Automating Configuration System and Protocol for Next‐Generation Home Appliances
US11153118B2 (en) Technique for executing a service in a local area network through a wide area communication network
CN106230882A (en) First machine, the second machine and first machine control method to the second machine
CN103166771A (en) Method and system for managing gateway and under hanging device
US20110235641A1 (en) Communication apparatus, method of controlling the communication apparatus,and program
JP2015019220A (en) Communication device, communication method, and communication program
CN107302448A (en) Port snoop method and device
CN104486360B (en) Method for non-Allseen equipment to access network and related equipment
CN105306238A (en) Terminal access method, terminal access device and terminal access system
JPWO2012160861A1 (en) Software automatic deployment device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160219

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20160408

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161102

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161206

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20170606