JP2015019220A - Communication device, communication method, and communication program - Google Patents
Communication device, communication method, and communication program Download PDFInfo
- 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
Links
Images
Landscapes
- Programmable Controllers (AREA)
- Communication Control (AREA)
Abstract
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
たとえば、複数の家電機器を、ホームゲートウェイを介して外部インターネットに通信接続する場合、ネットワーク接続に関するパラメータの設定を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.
以下、本発明の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。 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
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)
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
HGW101には、たとえば、WAN側のネットワーク111と接続するためのパラメータが設定されている。パラメータは、DHCP使用によるアドレス自動取得のオンまたはオフ、HGW101のWAN側のIPアドレス、サブネットマスクおよびゲートウェイIPアドレス等である。
For example, parameters for connecting to the WAN-
PC161を使用するユーザが、たとえば上記パラメータを変更する場合がある。HGW101は、たとえば、上記パラメータを変更するためのサービスを当該ユーザに提供するための複数のソフトウェアモジュールを搭載することが可能である。
A user who uses the
たとえば、HGW101は、PC161を利用するユーザに対し、パラメータを変更するためのGUI(Graphical User Interface)を提供するためのソフトウェアモジュールを搭載する。
For example, the
HGW101は、必要に応じてこのようなソフトウェアモジュールをネットワーク等からダウンロードしてインストールし、不要なソフトウェアモジュールを削除することにより、機能を柔軟に変更する。
The
ここで、ハードウェアの製造元または種類が異なる場合であっても同一のソフトウェアモジュールの動作を可能にし、さらに、機器を再起動することなくソフトウェアモジュールの追加または入れ替えを可能にするためのソフトウェアプラグインの仕組みとして、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,
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
バンドル群24は、Web UI(User Interface)アプリ11と、DMT(Device Management Tree) Admin12と、プラグイン13A,13B,13Cとを含む。以下、プラグイン13A,13B,13Cの各々を、プラグイン13と称する場合がある。図2では、3つのプラグイン13を代表的に示しているが、さらに多数または少数のプラグイン13が設けられてもよい。
The
Nativeプログラム群62は、設定ファイル51と、API(Application Program Interface)関数部52と、ACS(Auto Configuration Servers)処理部53とを含む。
The
HGW101は、階層化された複数のレイヤに従って動作する。より詳細には、JAVA側ソフトウェアにおいて、OS21のレイヤが最下位レイヤ(第1のレイヤ)であり、その上位レイヤがJava仮想マシン22のレイヤであり、その上位レイヤがOSGi FW23のレイヤであり、さらにその上位レイヤがバンドル群24のレイヤ(第2のレイヤ)である。
The
また、Native側ソフトウェアにおいて、OS21のレイヤが最下位レイヤ(第1のレイヤ)であり、その上位レイヤがNativeプログラム群62(第2のレイヤ)である。
In the native software, the
OSGi FW23は、OSGiアライアンスによる標準化技術であり、前述のように、Java言語に基づいたオープンなソフトウェア部品化技術に基づいて作成された、ソフトウェア部品の実行環境を提供するソフトウェアプラットフォームである。
The
OS21は、LANインタフェース部31を介して、自己のHGW101に有線接続または無線接続されているPC161との間で通信信号の送受信を行なう。また、OS21は、WANインタフェース部34を介して、ネットワーク111経由でサーバ151との間で通信信号の送受信を行なう。
The
バンドル群24におけるプラグイン13およびNativeプログラム群62におけるAPI関数部52間における通信信号の送受信は、ループバックアドレスを用いたプロセス間通信によりOS21経由で行われる。
Transmission / reception of communication signals between the plug-in 13 in the
HGW101は、OSGi FW23上において、バンドル群24の各バンドルを単独に、または連携して実行することができる。また、図2ではバンドル群24に含まれるバンドルとして、5つのアプリケーションが示されているが、バンドル群24には、さらに多数または少数のバンドルが含まれてもよい。
The
また、各バンドルを実行させるためのソフトウェアプラットフォームは、Java仮想マシン22およびOSGi FW23に限定されず、他のアプリケーション実行環境であってもよい。
The software platform for executing each bundle is not limited to the Java
バンドル群24に含まれる各バンドルは、OSGi FW23上でOSGi FW23から提供される機能を利用して動作する。
Each bundle included in the
図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,
DMT14は、たとえば自己のHGW101に設定されるパラメータについての抽象モデルである。DMT14におけるノードは、たとえばパラメータの識別子を示すノードである。
The
より詳細には、DMT14は、たとえばルートノードとして「Device」ノードを有する。「Device」ノードは、たとえば、子ノードとして「DeviceInfo」、「Time」、「IP」、「DHCPv4」、および「Routing」の子ノードを有する。
More specifically, the
「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アプリ11は、たとえば、自己のHGW101のWAN側のネットワーク設定を行うためのパラメータ設定画面201をPC161の画面に表示する。
Specifically, the
この際、Web UIアプリ11は、たとえば、OS21を介して設定ファイル51に格納されたパラメータの値を読み出し、読み出したパラメータをパラメータ設定画面201に表示する。
At this time, for example, the
PC161を操作するユーザは、アドレス自動取得のオンまたはオフ、HGW101のIPアドレス、サブネットマスクおよびゲートウェイIPアドレスの値の書き込みが完了すると、設定ボタン206を押す。
The user who operates the
PC161は、設定ボタン206が押されると、アドレス自動取得設定欄202、IPアドレス設定欄203、サブネットマスク設定欄204およびゲートウェイIPアドレス設定欄205に書込まれた値をHGW101へ送信する。
When the
なお、PC161は、設定ボタン206が押されると、書込まれた値を一括でHGW101へ送信する構成であるとしたが、これに限定するものではない。PC161は、たとえば、ユーザが各設定欄に値を書込む毎に、書込まれた値をHGW101へ送信する構成であってもよい。
The
再び図2を参照して、Web UIアプリ11は、PC161から各種パラメータを受信すると、自己のHGW101に設定されているパラメータの値を、受信した各種パラメータの値に変更することを要求するために、以下の処理を行う。
Referring to FIG. 2 again, when the
すなわち、Web UIアプリ11は、DMT Admin12のDMT14における当該各種パラメータの識別子に対応するノードへ当該各種パラメータの値を出力する。より詳細には、Web UIアプリ11は、当該各種パラメータの識別子に対応するノードを特定するためのパス名とともに、当該各種パラメータの値をDMT14へ出力する。
That is, the
DMT Admin12は、Web UIアプリ11から各種パラメータを受けるすなわちWeb UIアプリ11からのアクセスが発生すると、受けた各種パラメータの識別子に対応するプラグイン13を起動させる。そして、起動したプラグイン13は、当該識別子に対応するパラメータを含む変更要求であって、自己のHGW101に設定されているパラメータの値の変更を要求するための変更要求をNative側ソフトウェアにおけるAPI関数部52へOS21経由で出力する。
When the
具体的には、Web UIアプリ11は、たとえば、PC161から受信した自動でIPアドレスを取得するか否かを示すパラメータDHCPを、DMT14の「DHCPv4」ノードについての最底辺のノードである「Enable」を特定するためのパス名とともにDMT Admin12へ出力する。
Specifically, the
DMT Admin12は、「Enable」ノードに対するWeb UIアプリ11からのパラメータDHCPを受けると、「Enable」ノードが示す識別子に対応するプラグイン13Bを起動させる。プラグイン13Bは、Web UIアプリ11からのパラメータDHCPを含む変更要求をNative側ソフトウェアにおけるAPI関数部52へ出力する。
When the
また、Web UIアプリ11は、たとえば、PC161から受信したIPアドレスを示すパラメータIPを、DMT14の「IP」ノードについての最底辺のノードである「IPAddress」を特定するためのパス名とともにDMT Admin12へ出力する。
Further, the
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アプリ11は、たとえば、PC161から受信したサブネットマスクを示すパラメータSNを、DMT14の「IP」ノードについての最底辺のノードである「SubnetMask」を特定するためのパス名とともにDMT Admin12へ出力する。
For example, the
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アプリ11は、たとえば、PC161から受信したゲートウェイIPアドレスを示すパラメータGWを、DMT14の「Routing」ノードについての最底辺のノードである「GatewayIPAddress」を特定するためのパス名とともにDMT Admin12へ出力する。
In addition, the
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アプリ11がPC161から受信したパラメータは、一括してAPI関数部52へ出力されるのでなく、プラグイン13毎に別々のセッションでAPI関数部52へ出力される。
As described above, the parameters received from the
[パラメータの設定を行う際に生ずる問題点]
たとえば、アドレス自動取得のオンまたはオフ、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
具体的には、たとえば、アドレス自動取得をオフに設定する場合、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
上述したように、各パラメータは、プラグイン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
これに対して、本発明の実施の形態に係るAPI関数部52は、以下の構成および動作により、整合性が確認されていないパラメータを設定してしまうことを回避する。
On the other hand, the
[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
記憶部74は、たとえば、1または複数のグループの情報を保持する。グループの情報には、グループに属するパラメータであって値の整合性を確認すべきパラメータである対象パラメータについての種別のIDが含まれる。また、記憶部74は、パラメータを一時的に保持する。
The
変更要求受付部71は、自己のHGW101に設定すべきパラメータを含む変更要求をプラグイン13A,13B,13Cから受ける、すなわち当該変更要求をプラグイン13A,13B,13Cから受付ける。変更要求には、対象パラメータの一部または全部が含まれる場合がある。変更要求受付部71は、受けた変更要求に含まれるパラメータをグループ確認部73へ出力する。
The change
グループ確認部73は、変更要求受付部71からパラメータを受けると、記憶部74が保持するグループの情報を参照し、受けたパラメータの種別のIDが値の整合性確認が必要なパラメータとしてグループに属する対象パラメータの種別のIDに該当するか否かを判断する。
When the
グループ確認部73は、たとえば、受けたパラメータの種別のIDが対象パラメータの種別のIDに該当しないと判断する場合、受けたパラメータを設定部75へ出力する。
For example, when the
一方、グループ確認部73は、たとえば、受けたパラメータの種別のIDが対象パラメータの種別のIDに該当すると判断する場合、受けたパラメータを記憶部74において保持すると共にタイマ部72にタイムアウトまでの所定時間をセットし、タイマ部72に動作を開始させる。
On the other hand, for example, when the
グループ確認部73は、たとえば、当該グループに属する対象パラメータを受ける毎にタイマ部72に所定時間を再セットし、タイマ部72に動作を開始させる。なお、グループ確認部73は、たとえば、グループに属する対象パラメータを最初に受けたタイミングのみタイマ部72に所定時間をセットし、タイマ部72に動作を開始させてもよい。
For example, every time the
タイマ部72は、セットされた時間が経過すると、タイマ満了通知をグループ確認部73へ出力する。
When the set time has elapsed, the
グループ確認部73は、たとえば、タイマ部72からタイマ満了通知を受けるまでに当該グループに属するすべての対象パラメータの変更要求が受付けられたことを確認すると、タイマ部72の動作を停止させ、記憶部74に保持する当該グループに属するすべての対象パラメータを整合性確認部76へ出力する。
For example, when the
また、グループ確認部73は、たとえば、当該グループに属するすべての対象パラメータの変更要求が受付けられる前にタイマ部72からタイマ満了通知を受けた場合、タイムアウト処理を行う。
In addition, for example, when the
具体的には、グループ確認部73は、たとえば、記憶部74に保持する対象パラメータを破棄し、タイムアウトが発生した旨を示すエラー通知をエラー出力部77へ出力する。
Specifically, for example, the
整合性確認部76は、グループ確認部73から対象パラメータを受けると、受けた対象パラメータの間で値の整合性を確認する。整合性確認部76は、たとえば、対象パラメータの間の値の整合性が所定条件を満たす場合、すなわち対象パラメータの間に値の整合性がある場合、パラメータを設定部75へ出力する。
When the
また、整合性確認部76は、たとえば、対象パラメータの間の値の整合性が所定条件を満たさない場合、値の整合性に問題がある旨を示すエラー通知をエラー出力部77へ出力する。
For example, when the consistency of values between target parameters does not satisfy a predetermined condition, the
設定部75は、グループ確認部73および整合性確認部76からパラメータを受けると、受けたパラメータを設定ファイル51に設定する。
When receiving the parameters from the
エラー出力部77は、グループ確認部73および整合性確認部76からエラー通知を受けると、受けたエラー通知をプラグイン13へ出力する。
Upon receiving an error notification from the
再び図2を参照して、設定ファイル51は、たとえば、HGW101において使用されるパラメータを保持する。OS21は、たとえば、自己のHGW装置101のWAN側のネットワーク設定のパラメータとして設定ファイル51からパラメータを読み出し、読み出したパラメータを自己のHGW装置101に設定する。
Referring to FIG. 2 again, the setting
[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
図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,
すなわち、グループ確認部73は、当該グループに属するすべての対象パラメータの変更要求のうちの一部の変更要求が受付けられておらず、当該グループに属するすべての対象パラメータが揃っていない場合(ステップS104でNO)、変更要求受付部71が受付けた変更要求に含まれる対象パラメータを記憶部74に保持し、タイマ部72に所定時間をセットし、タイマ部72に動作を開始させる(ステップS106)。
In other words, the
次に、グループ確認部73は、変更要求受付部71が当該グループに属する対象パラメータを含む変更要求を受付けるまで待受け(ステップS108でNOかつステップS110でNO)、当該グループに属するすべての対象パラメータの変更要求が受付けられるまでにタイムアウトが発生すると(ステップS108でNOかつステップS110でYES)、以下の処理を行う。
Next, the
すなわち、グループ確認部73は、記憶部74に保持する対象パラメータを破棄する(ステップS112)。
That is, the
一方、グループ確認部73は、タイムアウトが発生するまでに変更要求受付部71が当該グループに属する対象パラメータを含む変更要求を受付けると(ステップS110でNOかつステップS108でYES)、上記変更要求に含まれる対象パラメータを取得する。
On the other hand, when the change
そして、グループ確認部73は、当該グループに属するすべての対象パラメータが揃っていない場合(ステップS104でNO)、取得した対象パラメータを記憶部74に保持し、タイマ部72に所定時間をセットし、タイマ部72に動作を開始させる(ステップS106)。
If all target parameters belonging to the group are not complete (NO in step S104), the
一方、グループ確認部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
整合性確認部76は、各対象パラメータ間の値の整合性が所定条件を満たす場合(ステップS116でYES)、各対象パラメータを設定部75へ出力する。
The
次に、設定部75は、整合性確認部76から各対象パラメータを受けると、受けた各対象パラメータを設定ファイル51に設定する(ステップS118)。
Next, upon receiving each target parameter from the
一方、整合性確認部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
一方、グループ確認部73は、変更要求受付部71が受付けた変更要求に含まれるパラメータがグループに属する対象パラメータでないと判断する場合(ステップS102でNO)、当該パラメータを設定部75へ出力する。
On the other hand, when determining that the parameter included in the change request received by the change
次に、設定部75は、グループ確認部73からパラメータを受けると、受けたパラメータを設定ファイル51に設定する(ステップS118)。
Next, when receiving a parameter from the
[例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
TR−069において、サーバ151およびHGW101は、それぞれACSおよびCPE(Customer Premises Equipment)と称される。
In TR-069, the
図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
HGW101は、サーバ151から変更要求を受信すると、受信した変更要求に含まれるデータモデルのパス名および値を取得し、取得したパス名および値に基づいて処理を行う(ステップS14)。
When receiving the change request from the
HGW101は、取得したパス名および値をデータモデルに設定することを保留する場合、「暫定OK」をサーバ151へ送信する(ステップS16)。なお、HGW101は、取得したパス名および値を保留せずにデータモデルに設定する場合、「OK」をサーバ151へ送信する。
When the
たとえば、サーバ151が、アドレス自動取得のオンまたはオフ、HGW101のIPアドレス、サブネットマスクおよびゲートウェイIPアドレスの値を変更する状況を想定する。
For example, assume that the
具体的には、サーバ151は、SetParameterValuesメソッドを用いて、アドレス自動取得のオンまたはオフ、IPアドレス、サブネットマスクおよびゲートウェイIPアドレスのパラメータの値を変更するための変更要求をHGW101へ送信する。
Specifically, the
この際、サーバ151は、たとえば、アドレス自動取得のオンまたはオフ、IPアドレス、サブネットマスクおよびゲートウェイIPアドレスの値毎に複数の変更要求を生成し、生成した複数の変更要求をHGW101へ送信する。
At this time, for example, the
なお、サーバ151は、たとえば、アドレス自動取得のオンまたはオフ、IPアドレス、サブネットマスクおよびゲートウェイIPアドレスの値すべてを含む1つの変更要求を生成し、生成した変更要求をHGW101へ送信してもよい。
The
また、サーバ151は、パラメータ間で値の整合性確認を行わずにパラメータをHGW101へ送信する場合がある。この場合、HGW101に対して間違った設定をしたタイミングでサーバ151およびHGW101間の通信ができなくなる可能性があるので好ましくない。
In addition, the
これに対して、本発明の実施の形態に係るACS処理部53は、以下の構成により、整合性が確認されていないパラメータを設定してしまうことを回避する。
On the other hand, the
[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,
記憶部174は、たとえば、1または複数のグループの情報を保持する。グループの情報には、グループに属するパラメータであって値の整合性を確認すべきパラメータである対象パラメータについての種別のIDが含まれる。また、記憶部174は、パラメータを一時的に保持する。
The
変更要求受付部171は、自己のHGW101に設定すべきパラメータを含む変更要求をサーバ151からネットワーク111経由で受信する、すなわち当該変更要求をサーバ151からネットワーク111経由で受付ける。変更要求には、対象パラメータの一部または全部が含まれる場合がある。変更要求受付部171は、受信した変更要求に含まれるパラメータをグループ確認部173へ出力する。
The change
グループ確認部173は、変更要求受付部171からパラメータを受けると、記憶部174が保持するグループの情報を参照し、受けたパラメータの種別のIDが値の整合性確認が必要なパラメータとしてグループに属する対象パラメータの種別のIDに該当するか否かを判断する。
When the
グループ確認部173は、たとえば、受けたパラメータの種別のIDが対象パラメータの種別のIDに該当しないと判断する場合、受けたパラメータを設定部175へ出力する。
For example, when the
一方、グループ確認部173は、たとえば、受けたパラメータの種別のIDが対象パラメータの種別のIDに該当すると判断する場合、受けたパラメータを記憶部174において保持すると共にタイマ部172にタイムアウトまでの所定時間をセットし、タイマ部172に動作を開始させる。
On the other hand, for example, when the
グループ確認部173は、たとえば、当該グループに属する対象パラメータを受ける毎にタイマ部172に所定時間を再セットし、タイマ部172に動作を開始させる。なお、グループ確認部173は、たとえば、グループに属する対象パラメータを最初に受けたタイミングのみタイマ部172に所定時間をセットし、タイマ部172に動作を開始させてもよい。
For example, each time the
タイマ部172は、セットされた時間が経過すると、タイマ満了通知をグループ確認部173へ出力する。
When the set time elapses, the
グループ確認部173は、たとえば、タイマ部172からタイマ満了通知を受けるまでに当該グループに属するすべての対象パラメータの変更要求が受付けられたことを確認すると、タイマ部172の動作を停止させ、記憶部174に保持する当該グループに属するすべての対象パラメータを整合性確認部176へ出力する。
For example, when the
また、グループ確認部173は、たとえば、当該グループに属するすべての対象パラメータの変更要求が受付けられる前にタイマ部172からタイマ満了通知を受けた場合、タイムアウト処理を行う。
In addition, for example, when the
具体的には、グループ確認部173は、たとえば、記憶部174に保持する対象パラメータを破棄し、タイムアウトが発生した旨を示すエラー通知をエラー出力部177へ出力する。
Specifically, for example, the
整合性確認部176は、グループ確認部173から対象パラメータを受けると、受けた対象パラメータの間で値の整合性を確認する。整合性確認部176は、たとえば、対象パラメータの間の値の整合性が所定条件を満たす場合、すなわち対象パラメータの間に値の整合性がある場合、パラメータを設定部175へ出力する。
When the
また、整合性確認部176は、たとえば、対象パラメータの間の値の整合性が所定条件を満たさない場合、値の整合性に問題がある旨を示すエラー通知をエラー出力部177へ出力する。
For example, when the consistency of values between target parameters does not satisfy a predetermined condition, the
設定部175は、グループ確認部173および整合性確認部176からパラメータを受けると、受けたパラメータを設定ファイル51に設定する。
When receiving the parameters from the
エラー出力部177は、グループ確認部173および整合性確認部176からエラー通知を受けると、受けたエラー通知をサーバ151へネットワーク111経由で送信する。
Upon receiving an error notification from the
再び図2を参照して、設定ファイル51は、たとえば、HGW101において使用されるパラメータを保持する。OS21は、たとえば、自己のHGW装置101のWAN側のネットワーク設定のパラメータとして設定ファイル51からパラメータを読み出し、読み出したパラメータを自己のHGW装置101に設定する。
Referring to FIG. 2 again, the setting
なお、ACS処理部53の動作は、API関数部52の動作と同様であるので詳細な説明は繰り返さない。
Since the operation of
ところで、たとえば、HGW101がネットワーク111側の装置と通信接続を確立するために必要なパラメータとして、アドレス自動取得のオンまたはオフ、HGW101のIPアドレス、サブネットマスクおよびゲートウェイIPアドレス等がある。これらのパラメータの設定を行う際、複数のパラメータ間において整合性の確認が必要な場合がある。
By the way, for example, parameters necessary for the
具体的には、たとえば、アドレス自動取得をオフに設定したとき、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
このような不適切なネットワーク設定がなされると、HGW101がネットワーク111側の装置と通信接続ができなくなる場合がある。また、適切なネットワーク設定を行うために複雑な処理が必要な場合がある。
If such an inappropriate network setting is made, the
これに対して、本発明の実施の形態に係る通信装置では、変更要求受付部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
このように、グループに属するすべての対象パラメータの変更要求が受付けられ、かつ当該対象パラメータ間の値の整合性が確認された場合に、当該対象パラメータを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
これにより、たとえば、HGW101に不適切なネットワーク設定がなされてしまうことを回避することができるので、HGW101がネットワーク111側の装置と通信接続ができなくなる状況を回避することができる。また、適切なネットワーク設定とするための複雑な処理を不要とすることができる。
Thereby, for example, it is possible to avoid an inappropriate network setting for the
また、本発明の実施の形態に係る通信装置では、グループ確認部73は、グループに属するすべての対象パラメータの変更要求のうち所定時間内に受付けられなかった変更要求が存在する場合、タイムアウト処理として、保持する対象パラメータを破棄する。
Moreover, in the communication apparatus according to the embodiment of the present invention, the
このように、グループに属するすべての対象パラメータの変更要求が受付けられるまで待つ処理に対して時間制限を設ける構成により、すべて揃う可能性が低い対象パラメータを保持せずに、不要なデータとして破棄することができるので、メモリの使用効率を向上させることができる。 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
このような構成により、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
また、本発明の実施の形態に係る通信装置では、HGW101は、パラメータの識別子を含むツリー構造のデータモデルであるDMT14を保持し、DMT14に含まれる識別子に対応するパラメータの値の変更が要求されると、当該識別子に対応するプラグイン13が起動し、起動したプラグイン13は、当該識別子に対応するパラメータを含む変更要求を変更要求受付部71に出力する。そして、変更要求受付部71は、プラグイン13からの変更要求を受付ける。
In the communication apparatus according to the embodiment of the present invention, the
このような構成により、プラグイン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
また、本発明の実施の形態に係る通信装置では、変更要求受付部171は、自己のHGW101に設定すべきパラメータ群のうち、整合性を確認すべきパラメータのグループに属するパラメータである対象パラメータの一部または全部を含み、パラメータの値の変更を要求するための変更要求、を受付ける。グループ確認部173は、変更要求受付部171により受付けられた変更要求に含まれる対象パラメータを保持し、グループに属するすべての対象パラメータの変更要求が受付けられたか否かを確認する。整合性確認部176は、グループ確認部173によりグループに属するすべての対象パラメータの変更要求が受付けられたことが確認されると、グループに属する各対象パラメータの間で値の整合性を確認する。設定部175は、整合性確認部176により整合性が確認された各対象パラメータを自己のHGW101に設定する。
Further, in the communication apparatus according to the embodiment of the present invention, the change
このように、グループに属するすべての対象パラメータの変更要求が受付けられ、かつ当該対象パラメータ間の値の整合性が確認された場合に、当該対象パラメータを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
これにより、たとえば、HGW101に不適切なネットワーク設定がなされてしまうことを回避することができるので、HGW101がネットワーク111側の装置と通信接続ができなくなる状況を回避することができる。また、適切なネットワーク設定とするための複雑な処理を不要とすることができる。
Thereby, for example, it is possible to avoid an inappropriate network setting for the
また、本発明の実施の形態に係る通信装置では、グループ確認部173は、グループに属するすべての対象パラメータの変更要求のうち所定時間内に受付けられなかった変更要求が存在する場合、タイムアウト処理として、保持する対象パラメータを破棄する。
In the communication device according to the embodiment of the present invention, the
このように、グループに属するすべての対象パラメータの変更要求が受付けられるまで待つ処理に対して時間制限を設ける構成により、すべて揃う可能性が低い対象パラメータを保持せずに、不要なデータとして破棄することができるので、メモリの使用効率を向上させることができる。 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
このような構成により、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
なお、本発明の実施の形態に係る通信装置では、HGW101は、API関数部52およびACS処理部53を備える構成であるとしたが、これに限定するものではない。HGW101は、API関数部52およびACS処理部53のいずれか一方を備える構成であってもよい。
In the communication apparatus according to the embodiment of the present invention, the
また、本発明の実施の形態に係る通信装置では、API関数部52およびACS処理部53は、WAN側のネットワーク設定を行うためのパラメータについて整合性の確認を行う構成であるとしたが、これに限定するものではない。API関数部52およびACS処理部53は、たとえば、LAN側のネットワーク設定またはその他の設定について整合性の確認を行う構成であってもよい。
In the communication apparatus according to the embodiment of the present invention, the
上記実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記説明ではなく特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 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
13 Plug-in 14 DMT
21 OS
22 Java
24
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から請求項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.
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)
| 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 |
-
2013
- 2013-07-10 JP JP2013144718A patent/JP2015019220A/en active Pending
Patent Citations (4)
| 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 |