JP2016167670A - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP2016167670A
JP2016167670A JP2015045816A JP2015045816A JP2016167670A JP 2016167670 A JP2016167670 A JP 2016167670A JP 2015045816 A JP2015045816 A JP 2015045816A JP 2015045816 A JP2015045816 A JP 2015045816A JP 2016167670 A JP2016167670 A JP 2016167670A
Authority
JP
Japan
Prior art keywords
management unit
information
information management
module
communication device
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.)
Granted
Application number
JP2015045816A
Other languages
Japanese (ja)
Other versions
JP6054444B2 (en
Inventor
巌樹 戸嶋
Iwaki Toshima
巌樹 戸嶋
中村 純
Jun Nakamura
純 中村
翠 山根
Midori Yamane
翠 山根
大畑 博敬
Hirotaka Ohata
博敬 大畑
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.)
Nippon Telegraph and Telephone West Corp
Original Assignee
Nippon Telegraph and Telephone West Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone West Corp filed Critical Nippon Telegraph and Telephone West Corp
Priority to JP2015045816A priority Critical patent/JP6054444B2/en
Publication of JP2016167670A publication Critical patent/JP2016167670A/en
Application granted granted Critical
Publication of JP6054444B2 publication Critical patent/JP6054444B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To suppress processing delay when a stateful communication protocol is used for a control protocol of a device which belongs to a home network, while being a communication device such as a Home Gateway (HGW) in which flexible mounting property is achieved by virtual machines and modules.SOLUTION: A communication device has a first information management section which associates device identification information uniquely showing a module which is executed on a virtual machine and controls a service to be provided to a device belonging to a home network and a device which is mounted in a native language different from the module and belongs to the home network and reference information used for controlling a service by the module to hold them, and the information is stored in a nonvolatile memory 13. The communication device also has a second information management section which associates device identification information and the reference information to hold them, on the virtual machine, and the information is stored in a main storage device 12 (volatile memory). A module 17 uses a second information management section 24 preferentially than a first information management section 23.SELECTED DRAWING: Figure 5

Description

この発明は、ホームネットワーク及び外部ネットワークを相互接続するホームゲートウェイ(Home−GateWay:HGW)等の通信機器に関する。   The present invention relates to a communication device such as a home gateway (HGW) that interconnects a home network and an external network.

近年、この種の通信機器は、ホームネットワークと外部ネットワークとを相互接続するブロードバンドルータとしての機能だけでなく、ホームネットワークに属する各種機器へ提供されるサービスの制御を行う機能も付加されるようになっている(例えば、特許文献1)。   In recent years, this type of communication device is added not only with a function as a broadband router for interconnecting a home network and an external network, but also with a function for controlling services provided to various devices belonging to the home network. (For example, Patent Document 1).

HGW等の通信機器と宅内の各機器との接続手法として各種の無線通信規格の発展が進んでおり、ホームネットワークに接続される機器は、今後も多様化していくことが予想される。また、各宅での機器使用状況は、経済的にビッグデータとしての活用価値があり、各宅の機器から取得したデータをクラウドサーバ上に集め、個々のユーザニーズにあった多種多様なサービス展開が行われることも予想される。HGW等の通信機器には、ファームアップせずに機器の増加に対応できる仕組みが求められており、ホームネットワーク内の機器間通信に用いる様々な通信プロトコルが策定されている。   Various wireless communication standards have been developed as a method for connecting communication devices such as HGW and home devices, and devices connected to home networks are expected to diversify in the future. In addition, the device usage status at each home is economically useful as big data, and the data acquired from each home device is collected on a cloud server, and a wide variety of services are developed to meet individual user needs. Is also expected to occur. A communication device such as an HGW is required to have a mechanism that can cope with an increase in devices without upgrading the firmware, and various communication protocols used for communication between devices in a home network have been developed.

例えば、HGW等の通信機器においては、多様なプロトコル、機器に対応する柔軟なソフトウェア実装性を実現するため、仮想マシンを実装し、その仮想マシン上で動作するモジュールによって機能追加が行われている。HGWの分野では、仮想マシンとしてJava(登録商標)仮想マシン(Java virtual machine:JVM)が一般的であり、サービス提供用のモジュールをJavaモジュールとして実装することが行われている。   For example, in a communication device such as an HGW, a virtual machine is mounted and a function is added by a module operating on the virtual machine in order to realize flexible software mountability corresponding to various protocols and devices. . In the field of HGW, a Java (registered trademark) virtual machine (JVM) is generally used as a virtual machine, and a module for providing a service is mounted as a Java module.

また、ホームネットワークに属する機器用の制御プロトコルとしては、ステートフルな通信プロトコルを採用することが一般的になっている。例えば、Echonet Lite規格(エコーネットコンソーシアム策定)は、国内のHEMS(home energy management system、家庭内エネルギー管理システム)用の標準プロトコルとされている。   In addition, a stateful communication protocol is generally adopted as a control protocol for devices belonging to the home network. For example, the Echonet Lite standard (Echonet Consortium) is a standard protocol for domestic HEMS (Home Energy Management System).

ステートフルな通信プロトコルでは、「OK」、「ON」等の単純な意味内容の命令コードであっても、その意味は、その時々の文脈で変化する。モジュールは、機器の現在の状態(ステート)を加味した判断を行って、自己の処理内容を決定することになる。このため、機器の現在の状態を示すステート情報のように、モジュールがサービスの制御に用いる情報については、モジュールへ随時に提供可能な参照用情報として保持され、モジュールは、サービスの制御を行う際、必要に応じて参照用情報を取得しなければならない。   In the stateful communication protocol, even if the instruction code has a simple meaning such as “OK” or “ON”, the meaning changes depending on the context. The module determines its own processing content by making a determination in consideration of the current state of the device. For this reason, information used by the module for service control, such as state information indicating the current state of the device, is held as reference information that can be provided to the module as needed. If necessary, reference information must be obtained.

特開2012−124567号公報JP 2012-124567 A

本願発明者らは、上述のようにモジュールの実装と参照用情報の保持とをHGW等の通信機器で実現した際、通信機器の処理時間にどのような影響がでるかを実験で確認した。その実験では、HGWにJVMと、ステートフルなプロトコルで機器制御を行うJavaモジュールとを実装すると共に、参照用情報を保持するためのデータベースをJavaモジュールと異なるネイティブ言語で実装し、参照用情報を不揮発性メモリに格納するようにした。Javaモジュールによる機器制御内容は、SIP(Session Initiation Protocol)通信においてSIPメッセージに特定のプレフィックスを付加する処理を行うことである。実験の結果、この付加処理を行う場合、当該付加処理を行わないSIPメッセージの処理に比して、最大で40%近い遅延が発生した。このような遅延が発生し得る原因を調べたところ、データベースに保持された参照用情報をJavaモジュールが取得する際、JNI(Java Native Interface)を介したJavaモジュールとデータベース間のデータ受け渡しが低速であり、一般に、そのデータ受け渡しをステート管理のために何度も行うことが要因になる、と判明した。   The inventors of the present application have confirmed through experiments how the processing time of the communication device is affected when the module mounting and the holding of reference information are realized by a communication device such as an HGW as described above. In the experiment, a JVM and a Java module for device control using a stateful protocol are mounted on the HGW, and a database for storing reference information is mounted in a native language different from the Java module, and the reference information is nonvolatile. Stored in the memory. The device control content by the Java module is to perform processing for adding a specific prefix to the SIP message in SIP (Session Initiation Protocol) communication. As a result of the experiment, when this additional process was performed, a delay of nearly 40% occurred at the maximum as compared with the SIP message process without the additional process. As a result of investigating the cause of such a delay, when the Java module obtains the reference information stored in the database, the data transfer between the Java module and the database via the JNI (Java Native Interface) is slow. In general, it has been found that the data transfer is performed many times for state management.

そこで、この発明が解決しようとする課題は、仮想マシン及びモジュールによる柔軟な実装性を実現したHGW等の通信機器としつつ、ホームネットワークに属する機器向けサービスの制御プロトコルにステートフルな通信プロトコルを用いる場合の処理遅延を抑えることである。   Therefore, the problem to be solved by the present invention is a case where a stateful communication protocol is used as a control protocol for a service for a device belonging to a home network while using a communication device such as an HGW that realizes flexible mounting by a virtual machine and a module. Is to suppress the processing delay.

上記の課題を解決するこの発明は、仮想マシン上で動作するように実装され、ホームネットワークに属する機器に提供されるサービスの制御を行うモジュールを備え、前記ホームネットワーク及び外部ネットワークを相互接続する通信機器において、前記モジュールと異なるネイティブ言語で実装され、前記ホームネットワークに属する機器を一意に示す機器識別情報と、前記モジュールによって前記サービスの制御に用いられる参照用情報とを対応付けて保持する第1情報管理部と、前記第1情報管理部に保持する情報が格納される不揮発性メモリと、を備えている。これにより、停電、ファームアップ等による電源遮断時でも問題なく機器ごとに参照用情報を通信機器に保持することが可能となる。このため、仮想マシン及びモジュールによる柔軟な実装性を実現しつつ、機器向けサービスの制御プロトコルにステートフルな通信プロトコルを用いる場合にも対応可能となる。
さらに、この発明に係る通信機器は、前記仮想マシン上で動作するように実装され、前記機器識別情報と前記参照用情報とを対応付けて保持する第2情報管理部と、前記第2情報管理部に保持する情報が格納される揮発性メモリと、を備えている。これにより、第2情報管理部に保持されている参照用情報については、モジュールからの参照を仮想マシン上で完結することが可能となる。
ここで、この発明に係る前記モジュールは、前記第1情報管理部よりも前記第2情報管理部を優先的に使用する。これにより、前記第2情報管理部に保持されている参照用情報について、モジュールは、参照に比較的時間を要するネイティブ領域の第1情報管理部を使用せずに済む。このため、ステートフルな通信プロトコルを用いる場合でも処理遅延が抑えられる。
The present invention for solving the above-mentioned problem is provided with a module which is mounted to operate on a virtual machine and which controls a service provided to a device belonging to a home network, and interconnects the home network and an external network. A device, which is implemented in a native language different from that of the module and first stores device identification information uniquely indicating a device belonging to the home network and reference information used for controlling the service by the module in association with each other. An information management unit; and a non-volatile memory in which information held in the first information management unit is stored. This makes it possible to hold the reference information for each device without any problem even when the power is cut off due to a power failure, firmware upgrade, or the like. Therefore, it is possible to cope with a case where a stateful communication protocol is used as a control protocol for a service for a device while realizing a flexible mounting property by a virtual machine and a module.
Furthermore, a communication device according to the present invention is mounted so as to operate on the virtual machine, and a second information management unit that holds the device identification information and the reference information in association with each other, and the second information management And a volatile memory in which information held in the unit is stored. Thereby, for the reference information held in the second information management unit, the reference from the module can be completed on the virtual machine.
Here, the module according to the present invention uses the second information management unit preferentially over the first information management unit. As a result, with respect to the reference information held in the second information management unit, the module does not need to use the first information management unit in the native area that requires a relatively long time for reference. For this reason, even when a stateful communication protocol is used, processing delay can be suppressed.

このように、この発明は、仮想マシン及びモジュールによる柔軟な実装性を実現したHGW等の通信機器としつつ、ホームネットワークに属する機器の制御プロトコルにステートフルな通信プロトコルを用いる場合の処理遅延を抑えることができる。   As described above, the present invention suppresses a processing delay when a stateful communication protocol is used as a control protocol of a device belonging to a home network while using a communication device such as an HGW that realizes flexible mounting by a virtual machine and a module. Can do.

この発明の実施例に係る通信機器の主なハードウェア資源を示すブロック図The block diagram which shows the main hardware resources of the communication apparatus which concerns on the Example of this invention 図1の通信機器に実装された仮想マシンに関する主なソフトウェア資源を示す概念図The conceptual diagram which shows the main software resources regarding the virtual machine mounted in the communication apparatus of FIG. 図2の第1情報管理部のテーブルの概念図Conceptual diagram of the table of the first information management unit of FIG. 図2の第2情報管理部のテーブルの概念図Conceptual diagram of the table of the second information management unit of FIG. 図2のモジュールが参照先を選択する際の処理を示すフローチャートThe flowchart which shows the process at the time of the module of FIG. 2 selecting a reference destination 図2の第1情報管理部の更新時の処理を示すフローチャートThe flowchart which shows the process at the time of the update of the 1st information management part of FIG. 図2の第1情報管理部から第2情報管理部への複製時の処理を示すフローチャートThe flowchart which shows the process at the time of replication from the 1st information management part of FIG. 2 to the 2nd information management part (a)は図7の処理を具体例で示す初期段階における第1情報管理部のテーブルを示す概念図、(b)は前記(a)からテーブルをソートした結果を示す概念図(A) is a conceptual diagram showing the table of the first information management unit in the initial stage showing the processing of FIG. 7 as a specific example, (b) is a conceptual diagram showing the result of sorting the table from (a) 図2のモジュールの起動時に図4のテーブルを再構築する処理時のフローチャートFlowchart at the time of processing for rebuilding the table of FIG. 4 when the module of FIG. 2 is started (a)は図2のモジュールが第2情報管理部を使用する動作例を示すフローチャート、(b)は図2のモジュールが第1情報管理部を使用する動作例を示すフローチャート。FIG. 3A is a flowchart illustrating an operation example in which the module in FIG. 2 uses the second information management unit, and FIG. 2B is a flowchart illustrating an operation example in which the module in FIG. 2 uses the first information management unit.

以下、この発明の実施形態を説明する。
第1の実施形態に係る通信機器では、前記第1情報管理部及び前記第2情報管理部が、前記モジュールからの要求に応える処理と独立して同期する。
ステートフルなプロトコルに対応のモジュールは、使用する第1又は第2情報管理部に対し、必要に応じて自己の処理内容を反映させる更新要求を行うことがある。また、外部ネットワークから参照用情報、新規機器登録等について第1情報管理部が更新されることもあり得る。これらのことを考慮すると、前記第1情報管理部及び前記第2情報管理部間の同期により、不揮発性メモリに格納する第1情報管理部をマスタの状態に保つことが好ましい。第1の実施形態では、第1情報管理部や第2情報管理部の同期処理と、モジュールからの要求に応える処理とが独立しているので、モジュール側の処理遅延を避けることができる。
Embodiments of the present invention will be described below.
In the communication device according to the first embodiment, the first information management unit and the second information management unit synchronize independently with processing that responds to a request from the module.
The module corresponding to the stateful protocol may make an update request to reflect the processing contents of the first or second information management unit to be used as necessary. In addition, the first information management unit may be updated from the external network for reference information, new device registration, and the like. Considering these, it is preferable to keep the first information management unit stored in the nonvolatile memory in a master state by synchronization between the first information management unit and the second information management unit. In the first embodiment, since the synchronization processing of the first information management unit and the second information management unit and the processing responding to the request from the module are independent, processing delay on the module side can be avoided.

第2の実施形態に係る通信機器では、前記第1情報管理部が、前記機器ごとの使用頻度を示す頻度情報と前記機器識別情報とを対応付けて保持し、前記使用頻度の高い順を反映させる優先規則によって前記第2情報管理部に複製する前記参照用情報を選ぶ。
HGW等の通信機器においては、通常、揮発性メモリに比して不揮発性メモリは大容量搭載されるので、第1情報管理部用に十分なメモリ容量を確保することが容易である。一方、第2情報管理部用に割り当てられる揮発性メモリの容量は、通信機器で動作する他のソフトウェアの使用状況等で異なり、揮発性メモリ容量の制限下で第1情報管理部の全ての参照用情報を第2情報管理部に保持させることができず、第1情報管理部から第2情報管理部へ複製する参照用情報を選択しなければならない場合も起こり得る。第2の実施形態は、その複製対象の選択において、機器の種類や当該宅の生活態様等で様々に異なる機器間の使用頻度差を反映させ、使用頻度の高いものを優遇するので、揮発性メモリ容量の制限下でモジュールによる第2情報管理部の使用機会を生じ易くすることができる。
In the communication device according to the second embodiment, the first information management unit holds the frequency information indicating the usage frequency for each device and the device identification information in association with each other, and reflects the order in which the usage frequency is high. The reference information to be copied to the second information management unit is selected according to the priority rule.
In a communication device such as an HGW, a non-volatile memory is usually mounted with a larger capacity than a volatile memory, so that it is easy to ensure a sufficient memory capacity for the first information management unit. On the other hand, the capacity of the volatile memory allocated for the second information management unit differs depending on the usage status of other software operating on the communication device, and all the references of the first information management unit are limited under the limitation of the volatile memory capacity. There may be a case where the second information management unit cannot hold the usage information and the reference information to be copied from the first information management unit to the second information management unit must be selected. In the second embodiment, in the selection of the duplication target, the difference in the frequency of use between the devices, which varies depending on the type of device and the lifestyle of the home, is reflected, and the one with high use frequency is preferentially treated. It is possible to easily generate a use opportunity of the second information management unit by the module under the limitation of the memory capacity.

第3の実施形態に係る通信機器では、前記第1情報管理部が、前記参照用情報を前記第2情報管理部に複製する優先度を示す順位付情報と、前記機器識別情報とを対応付けて保持し、前記使用頻度よりも前記優先度の高い順を優先的に反映させる優先規則によって前記第2情報管理部に複製する前記参照用情報を選ぶ。
通信機器の配下には多様な機器が接続されるので、使用頻度よりも重要視すべき安全性、遅延耐性等の属性を機器の種類や状態に応じて評価した基準に基づき、通信機器内で高速処理の対象にするか否かを選べることが好ましい。第3の実施形態は、前述の複製対象選択に際し、使用頻度以外の基準で評価した優先度の高いものを優遇し、高速処理の対象にすることができる。
In the communication device according to the third embodiment, the first information management unit associates the ranking information indicating the priority for duplicating the reference information with the second information management unit and the device identification information. The reference information to be copied to the second information management unit is selected according to a priority rule that preferentially reflects the order of priority higher than the usage frequency.
Various devices are connected under the control of communication devices, so in communication devices based on criteria that evaluate safety, delay tolerance, and other attributes that are more important than frequency of use according to the type and status of the device. It is preferable to select whether or not to be a target of high-speed processing. In the third embodiment, when selecting the above-mentioned replication target, it is possible to preferentially select a high-priority item evaluated based on a criterion other than the use frequency, and make it a target for high-speed processing.

以下、この発明の一実施例を添付図面に基づいて説明する。図1に通信機器1のハードウェア資源の要旨、図2にソフトウェア資源の要旨を示す。この通信機器1は、エンドユーザ宅に設置されるホームゲートウェイ(HGW)として構成されている。通信機器1には、宅内LAN(Local Area Network)として構築されたホームネットワーク2と、これに対してWAN(Wide Area Network)となる外部ネットワーク3とを相互接続するルータとして機能するようになっている。   Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings. FIG. 1 shows the gist of hardware resources of the communication device 1, and FIG. 2 shows the gist of software resources. The communication device 1 is configured as a home gateway (HGW) installed in an end user's house. The communication device 1 functions as a router for interconnecting a home network 2 constructed as a home LAN (Local Area Network) and an external network 3 serving as a WAN (Wide Area Network). Yes.

通信機器1は、中央演算処理装置(CPU)11と、主記憶装置12、不揮発性メモリ13と、LAN側通信装置14、WAN側通信装置15等のハードウェア資源と、不揮発性メモリ13に格納され、主記憶装置12にロードされて中央演算処理装置11によって実行される各種のソフトウェア資源とによって構成されている。   The communication device 1 stores a central processing unit (CPU) 11, a main storage device 12, a nonvolatile memory 13, hardware resources such as a LAN side communication device 14, a WAN side communication device 15, and the nonvolatile memory 13. And various software resources that are loaded into the main storage device 12 and executed by the central processing unit 11.

また、通信機器1は、IP電話サービスの一端を収容しており、SIP(Session Initiation Protocol)パケットの送受信を行う機能を有する。   The communication device 1 accommodates one end of an IP telephone service and has a function of transmitting and receiving a SIP (Session Initiation Protocol) packet.

外部ネットワーク3は、光通信網、公衆電話網等の公衆回線網になっており、一般に、インターネットへのアクセス網として使用される。WAN側通信装置15は、外部ネットワーク3のユーザ宅側の回線終端装置(図示省略)に接続される。回線終端装置は、通信機器1に搭載されてもよい。   The external network 3 is a public network such as an optical communication network or a public telephone network, and is generally used as an access network to the Internet. The WAN side communication device 15 is connected to a line terminating device (not shown) on the user home side of the external network 3. The line termination device may be mounted on the communication device 1.

ホームネットワーク2は、通信機器1の配下に構築されたLANになっている。LAN側通信装置14には、ホームネットワーク2に属する機器4〜8が接続される。LAN側通信装置14と機器4〜8間の伝送媒体は、有線、無線のいずれでもよい。   The home network 2 is a LAN constructed under the communication device 1. Devices 4 to 8 belonging to the home network 2 are connected to the LAN side communication device 14. The transmission medium between the LAN side communication device 14 and the devices 4 to 8 may be either wired or wireless.

中央演算処理装置11は、メインプロセッサと、複数のサブプロセッサとを有するマルチコアプロセッサになっており、サブプロセッサごとに所定の処理を割り当てて並列処理を実行可能なものとなっている。   The central processing unit 11 is a multi-core processor having a main processor and a plurality of sub processors, and can execute parallel processing by assigning predetermined processing to each sub processor.

主記憶装置12は、電源供給時のみ情報を保持可能な揮発性メモリからなる。不揮発性メモリ13は、非電源供給時でも情報を保持可能で、主記憶装置12に対して大容量ながら低速なものとなっている。例えば、不揮発性メモリ13として、フラッシュメモリ、ハードディスクドライブが用いられる。   The main storage device 12 includes a volatile memory that can hold information only when power is supplied. The nonvolatile memory 13 can hold information even when power is not supplied, and has a large capacity and a low speed with respect to the main storage device 12. For example, a flash memory or a hard disk drive is used as the nonvolatile memory 13.

不揮発性メモリ13に格納するソフトウェア資源としては、ハードウェア資源を直接に制御するファームウェア(図示省略)、OS(Operating System)、これらをプラットフォームとして動作する仮想マシン16、仮想マシン16上で動作するモジュール17等が実装されている。   Software resources stored in the non-volatile memory 13 include firmware (not shown) that directly controls hardware resources, an OS (Operating System), a virtual machine 16 that operates as a platform, and a module that operates on the virtual machine 16 17 etc. are mounted.

仮想マシン16は、プラットフォーム非依存性の仮想的な実行環境を構築し、その上で所定のオブジェクト指向言語で記述されたモジュール17を実行し、中央演算処理装置11が直接解釈して実行可能なネイティブコードに変換する。このため、仮想マシン16及びモジュール17による柔軟な実装性を実現することができる。   The virtual machine 16 constructs a platform-independent virtual execution environment, executes a module 17 described in a predetermined object-oriented language, and can be directly interpreted and executed by the central processing unit 11. Convert to native code. For this reason, the flexible mounting property by the virtual machine 16 and the module 17 is realizable.

図示の仮想マシン16は、Java仮想マシン(JVM)になっている。モジュール17は、Java言語で記述されたモジュールになっており、OSGi Allianceのフレームワークに対応のバンドルとして構成されている。   The illustrated virtual machine 16 is a Java virtual machine (JVM). The module 17 is a module described in the Java language, and is configured as a bundle corresponding to the OSGi Alliance framework.

モジュール17は、通信機器1から機器4〜8に提供されるサービスの制御を行うソフトウェアになっている。機器4〜8の制御に関する通信プロトコルは、ステートフルなものとなっているが、一種に限られない。モジュール17によるサービスは、外部ネットワーク3を介した対応の機器4〜8の遠隔制御や遠隔監視、ホームネットワーク2内での機器4〜8間の連動等、機器ごとに適宜の内容となる。モジュール17は、機器4〜8の製造業者からの提供、ユーザによるインストール、外部ネットワーク3を介したダウンロード、プリインストール等の適宜の手段によって通信機器1に実装される。   The module 17 is software that controls services provided from the communication device 1 to the devices 4 to 8. The communication protocol related to the control of the devices 4 to 8 is stateful, but is not limited to one type. The service by the module 17 has appropriate contents for each device, such as remote control and remote monitoring of the corresponding devices 4 to 8 via the external network 3, and linkage between the devices 4 to 8 in the home network 2. The module 17 is mounted on the communication device 1 by appropriate means such as provision from the manufacturer of the devices 4 to 8, installation by the user, downloading via the external network 3, pre-installation, and the like.

通信機器1は、機器4〜8向けのサービスの制御に関する通信プロトコルのメッセージをネイティブ領域で解読し、命令コード、機器を指定する識別情報等の所要の記述を読み取り、モジュール17へ渡す。例えば、SIPメッセージのisub領域に記述された機器指定、機器4〜8の制御に用いる命令コードの読み取り処理が挙げられる。   The communication device 1 decodes a message of a communication protocol related to service control for the devices 4 to 8 in the native area, reads a required description such as an instruction code and identification information for specifying the device, and passes it to the module 17. For example, the device designation described in the isub area of the SIP message and the reading process of the instruction code used for controlling the devices 4 to 8 can be mentioned.

さらに、通信機器1は、モジュール17によってサービスの制御に用いられる参照用情報を管理するための第1情報管理部23及び第2情報管理部24を備えている。   Further, the communication device 1 includes a first information management unit 23 and a second information management unit 24 for managing reference information used for service control by the module 17.

第1情報管理部23は、図2、図3に示すテーブルT1により、ホームネットワーク2内で機器4〜8を一意に示す機器識別情報31と、機器4〜8向けのサービスの制御に用いられる参照用情報32〜34とを対応付けて保持する。第1情報管理部23は、モジュール17と異なるネイティブ言語で実装されている。ここで、ネイティブ言語とは、ネイティブコードを生成するプログラム(ソースコード)の言語のことをいう。第1情報管理部23がテーブルT1に保持する情報は、不揮発性メモリ13に格納される。   The first information management unit 23 is used to control the device identification information 31 that uniquely indicates the devices 4 to 8 in the home network 2 and the service for the devices 4 to 8 based on the table T1 illustrated in FIGS. The reference information 32 to 34 is held in association with each other. The first information management unit 23 is implemented in a native language different from the module 17. Here, the native language means a language of a program (source code) that generates a native code. Information stored in the table T1 by the first information management unit 23 is stored in the nonvolatile memory 13.

機器識別情報31は、ホームネットワーク2内で機器4〜8に設定されたアドレスとして記述される。例えば、SIPメッセージに制御用の情報を付与する場合、機器識別情報31は、機器4〜8に設定された電話番号となる。機器識別情報31は、ホームネットワーク2に属する機器4〜8とアドレスとの対応性を通信機器1において一意に識別可能であればよく、これを満足する限り、機種名、機器の型式、ユーザの任意登録の識別情報等でもよい。   The device identification information 31 is described as an address set for the devices 4 to 8 in the home network 2. For example, when control information is added to the SIP message, the device identification information 31 is a telephone number set for the devices 4 to 8. The device identification information 31 only needs to be able to uniquely identify the correspondence between the devices 4 to 8 belonging to the home network 2 and the address in the communication device 1, and as long as this is satisfied, the device name, device model, user's It may be arbitrarily registered identification information.

参照用情報32は、機器4〜8への指示内容を示す命令コード、機器4〜8からの応答内容を示すステータスコード等、機器4〜8の制御に際し、送受信されるステートフルなコードとして記述される。   The reference information 32 is described as a stateful code that is transmitted / received when the devices 4 to 8 are controlled, such as an instruction code indicating an instruction content to the devices 4 to 8 and a status code indicating a response content from the devices 4 to 8. The

参照用情報33は、機器4〜8の現在の状態を示すステート情報である。   The reference information 33 is state information indicating the current state of the devices 4 to 8.

参照用情報34は、参照用情報32に示すコード、参照用情報33に示す機器4〜8の現在の状態との組み合わせから定まる次の動作を示す情報として記述されている。なお、その組み合わせから次の動作を導く解釈法則は、機器4〜8ごとに製造業者等によって既定されている。この解釈法則は、通常、モジュール17に実装されるが、この例では第1情報管理部23にも実装されている。モジュール17は、参照用情報34に示された次の動作を実行するための処理を行う。なお、機器4〜8に関する次の動作は、モジュール17のみで判断するようにしてもよく、この場合、参照用情報34を第1情報管理部23に保持することは不要である。   The reference information 34 is described as information indicating the next operation determined from the combination of the code shown in the reference information 32 and the current state of the devices 4 to 8 shown in the reference information 33. In addition, the interpretation law which guide | induces the next operation | movement from the combination is predetermined by the manufacturer etc. for every apparatus 4-8. This interpretation rule is usually implemented in the module 17, but in this example, it is also implemented in the first information management unit 23. The module 17 performs a process for executing the next operation indicated in the reference information 34. The next operation regarding the devices 4 to 8 may be determined only by the module 17. In this case, it is not necessary to store the reference information 34 in the first information management unit 23.

第1情報管理部23への機器4〜8の登録は、モジュール17の実装時にユーザ登録又は自動的に登録されるようにしてもよいし、随時、機器4〜8の製造業者、アクセス網を運営する通信事業者等の外部サーバから外部ネットワーク3経由で登録されるようにしてもよい。参照用情報32〜34は、モジュール17や第1情報管理部23の判断によって必要に応じ適宜に更新される。参照用情報33は、モジュール17による機器4〜8からのステート情報の取得、モジュール17による機器制御の実行結果、初期から継続した前述の解釈法則の累積等、制御用のプロトコルに対応した所定規則に基づいて更新される。   The registration of the devices 4 to 8 in the first information management unit 23 may be registered as a user or automatically when the module 17 is mounted, and the manufacturer and the access network of the devices 4 to 8 may be registered as needed. It may be registered via an external network 3 from an external server such as a telecommunications carrier that operates. The reference information 32 to 34 is updated as necessary according to the determination of the module 17 or the first information management unit 23. The reference information 33 is a predetermined rule corresponding to the control protocol, such as acquisition of state information from the devices 4 to 8 by the module 17, execution results of device control by the module 17, accumulation of the above-described interpretation laws continued from the beginning, and the like. Updated based on

第2情報管理部24は、図2、図4に示すように、仮想マシン16上で動作するように実装され、テーブルT2で機器識別情報31と参照用情報32〜34とを対応付けて保持する。第2情報管理部24がテーブルT2に保持する情報は、揮発性メモリからなる主記憶装置12上に割り当てられた領域に格納される。第2情報管理部24は、仮想マシン16で直接に解釈可能なJava言語で記述されている。   The second information management unit 24 is mounted so as to operate on the virtual machine 16 as shown in FIGS. 2 and 4, and stores the device identification information 31 and the reference information 32-34 in association with each other in the table T2. To do. The information held in the table T2 by the second information management unit 24 is stored in an area allocated on the main storage device 12 composed of a volatile memory. The second information management unit 24 is described in the Java language that can be directly interpreted by the virtual machine 16.

モジュール17は、必要に応じて機器4〜8の状態を確認し、テーブルT2を上書きする。モジュール17の終了時やメモリ電源の遮断時には、第2情報管理部24のテーブルT2がクリアされる。   The module 17 confirms the state of the devices 4 to 8 as necessary, and overwrites the table T2. When the module 17 is terminated or when the memory power supply is shut off, the table T2 of the second information management unit 24 is cleared.

モジュール17は、第1情報管理部23よりも第2情報管理部24を優先的に使用する。すなわち、図5に示すように、モジュール17は、機器4〜8からの要求や外部ネットワーク3経由からの要求等を受けてサービスの制御契機が到来したとき、サービス提供先とする機器4〜8の参照用情報32〜34について、第2情報管理部24に検索を依頼し(S1)、この検索に成功したとき、ここの参照用情報32〜34を参照、取得して(S2)、これを反映させた処理を行う(S3)。一方、(S1)での検索に失敗したとき、モジュール17は、第1情報管理部23に検索を依頼して、ここの参照用情報32〜34を参照、取得して(S4)、これを反映させた処理を行う(S3)。モジュール17は、その処理の実行に伴い参照用情報32〜34を更新する必要があるときは、使用先とする第2情報管理部24のテーブルT2又は第1情報管理部23のテーブルT1に反映させる更新要求を出す。   The module 17 preferentially uses the second information management unit 24 over the first information management unit 23. That is, as shown in FIG. 5, when the module 17 receives a request from the devices 4 to 8 or a request from the external network 3, etc., a service control opportunity arrives, the devices 4 to 8 that are service providing destinations. The second information management unit 24 is requested to search for the reference information 32 to 34 (S1), and when the search is successful, the reference information 32 to 34 is referred to and acquired (S2). A process reflecting the above is performed (S3). On the other hand, when the search in (S1) fails, the module 17 requests the first information management unit 23 to search, and references and acquires the reference information 32-34 here (S4). The reflected process is performed (S3). When the module 17 needs to update the reference information 32 to 34 in accordance with the execution of the processing, the module 17 reflects it in the table T2 of the second information management unit 24 or the table T1 of the first information management unit 23 that is used. An update request is issued.

図2に示す第1情報管理部23及び第2情報管理部24は、同期を行う。ここで、第1情報管理部23及び第2情報管理部24は、モジュール17からの要求に応える処理と独立して同期する。この同期処理と、モジュール17からの要求に応える処理とは、中央演算処理装置11配下の相異なるプロセッサに割り当てられており、並列処理で行われるようになっている。なお、同期処理は、モジュール17からの要求に応える処理よりも優先度を低く設定したバックグラウンド処理により独立して行うようにしてもよい。   The first information management unit 23 and the second information management unit 24 illustrated in FIG. 2 perform synchronization. Here, the first information management unit 23 and the second information management unit 24 synchronize independently with the processing responding to the request from the module 17. The synchronization processing and the processing responding to the request from the module 17 are assigned to different processors under the central processing unit 11 and are performed in parallel processing. The synchronization process may be performed independently by a background process with a lower priority than the process that responds to the request from the module 17.

第1情報管理部23及び第2情報管理部24間の同期により、不揮発性メモリ13に格納する第1情報管理部23をマスタの状態に保つことができる。第1情報管理部23や第2情報管理部24の同期処理と、第1情報管理部23や第2情報管理部24がモジュール17からの参照、更新等の要求に応える処理とが独立しているので、モジュール17側の処理遅延を避けることができる。   Due to the synchronization between the first information management unit 23 and the second information management unit 24, the first information management unit 23 stored in the nonvolatile memory 13 can be kept in the master state. The synchronization processing of the first information management unit 23 and the second information management unit 24 and the processing in which the first information management unit 23 and the second information management unit 24 respond to requests such as reference and update from the module 17 are independent. Therefore, processing delay on the module 17 side can be avoided.

第1情報管理部23は、図3に示すように、機器4〜8ごとの使用頻度を示す頻度情報35と機器識別情報31とを対応付けて保持する。第1情報管理部23は、使用頻度を所定の算出規則で演算し、この値を頻度情報35としてテーブルT1に書き込む。   As illustrated in FIG. 3, the first information management unit 23 holds frequency information 35 indicating the usage frequency for each of the devices 4 to 8 and device identification information 31 in association with each other. The first information management unit 23 calculates the usage frequency according to a predetermined calculation rule, and writes this value as frequency information 35 in the table T1.

例えば、第1情報管理部23が保持する更新履歴を用い、テーブルT1のレコード単位で更新回数を使用回数とすることができる。また、項目ごとに使用回数を把握することもできる。例えば、直近1ヶ月など、時間を切って、1日あたりの命令が実施された回数は、命令コマンドを示す参照用情報32の更新回数としてカウントすることができる。   For example, using the update history held by the first information management unit 23, the number of updates can be used as the number of uses for each record in the table T1. It is also possible to grasp the number of uses for each item. For example, the number of times a command is executed per day with the time cut off, such as the last month, can be counted as the number of updates of the reference information 32 indicating the command command.

使用頻度は、例えば、単純平均とし、1ヶ月の使用回数/30日の演算式で求めることができる。また、使用頻度は、例えば、N日前までの移動平均とし、次の式1で求めることができる。
式1:(D_n−d_i)×N_i/Σd_i
(ただし、D_n:合計を算出する範囲、d_i:1〜N、N_i:i日前の使用回数)
The frequency of use can be obtained, for example, as a simple average, using the number of use per month / 30 days. Further, the use frequency can be obtained by the following equation 1, for example, as a moving average up to N days ago.
Formula 1: (D_n−d_i) × N_i / Σd_i
(However, D_n: range for calculating the total, d_i: 1 to N, N_i: number of uses i days ago)

使用頻度の求め方は、前述の各例示の他にも、任意の統計手法を採用してもよく、その際、季節、温度、天候等の外部要因を取り入れた方法や、ユーザ個人の使用傾向の時系列データを加味する方法にしてもよい。   In addition to the above-mentioned examples, any statistical method may be used to determine the usage frequency. In this case, methods incorporating external factors such as season, temperature, weather, etc. The time series data may be taken into consideration.

また、図2、図3に示す第1情報管理部23は、参照用情報32〜34を第2情報管理部24に複製する優先度を示す順位付情報36、37と、機器識別情報31とを対応付けて保持する。この例では、順位付情報36が、機器4〜8の状態に応じた危険度を評価し、これに基づいた優先度の値「0」〜「3」を割り当てたものとなっている。また、順位付情報37が、機器4〜8の状態に応じた遅延耐性を評価し、これに基づいた優先度の値「0」〜「3」を割り当てたものとなっている。優先度の値は、数字が大きいほど危険、もしくは遅延に敏感の意味となり、「3」: 最優先(例えば、火事の可能性がある)、「2」: 故障の危険がある、遅延が機能に致命的、「1」:機能や使用感に影響する可能性がある、「0」:問題ない、と評価されている。これら優先度は、例えば、機器4〜8の状態ごとに予め人為的に評価付けされ、第1情報管理部23に参照可能な形式で不揮発性メモリ13に格納されている。第1情報管理部23は、機器の現在の状態を示す参照用情報33を更新すると、その更新後の参照用情報33に対応の優先度を確認し、優先度の変化があれば、対応の順位付情報36、37をテーブルT1に書き込む。   Further, the first information management unit 23 shown in FIGS. 2 and 3 includes ranking information 36 and 37 indicating priorities for copying the reference information 32 to 34 to the second information management unit 24, device identification information 31, and the like. Are stored in association with each other. In this example, the ranking information 36 evaluates the degree of risk according to the state of the devices 4 to 8 and assigns priority values “0” to “3” based on this. Also, the ranking information 37 evaluates the delay tolerance according to the state of the devices 4 to 8 and assigns priority values “0” to “3” based on this. The priority value is more dangerous or sensitive to delay as the number is larger. “3”: Highest priority (for example, there is a possibility of fire), “2”: Risk of failure, delay functions It is evaluated that “1”: there is a possibility of affecting the function and feeling of use, and “0”: there is no problem. These priorities are artificially evaluated in advance for each state of the devices 4 to 8, for example, and stored in the nonvolatile memory 13 in a format that can be referred to by the first information management unit 23. When the first information management unit 23 updates the reference information 33 indicating the current state of the device, the first information management unit 23 checks the priority corresponding to the updated reference information 33, and if there is a change in the priority, The ranking information 36 and 37 is written in the table T1.

第1情報管理部23は、テーブルT1において機器識別情報31と対応付けて保持するコピーフラグ38に基づいて、第2情報管理部24に複製する対象を決定する。コピーフラグ38は、第2情報管理部24用に割り当てられたメモリ容量の不足により、第1情報管理部23のテーブルT1に保持された全参照用情報32〜34をテーブルT2に複製することができないとき、テーブルT1のいずれの参照用情報32〜34を複製するかを選ぶためのものである。図中、コピーフラグ38の値:「1」が複製対象のレコードを示し、「0」が非複製対象のレコードを示す。コピーフラグ38をテーブルT1の上位何番目まで「1」にするかは、メモリ容量の制限下、第2情報管理部24に複製可能な最大量に基づいて決定される。   The first information management unit 23 determines a target to be copied to the second information management unit 24 based on the copy flag 38 held in association with the device identification information 31 in the table T1. The copy flag 38 may copy all the reference information 32 to 34 held in the table T1 of the first information management unit 23 to the table T2 due to a lack of memory capacity allocated for the second information management unit 24. This is for selecting which reference information 32-34 in the table T1 is to be copied when it is not possible. In the figure, the value of the copy flag 38: “1” indicates a record to be copied, and “0” indicates a record to be copied. The upper number in the table T1 to which the copy flag 38 is set to “1” is determined based on the maximum amount that can be copied to the second information management unit 24 under the limitation of the memory capacity.

図6に示すように、(S3)の処理に伴う更新等、第1情報管理部23は、自己の更新の際、頻度情報35、順位付情報36、37について所要の更新を行い(S11,S12)、その更新で値が変化したか判断を行い、変化している場合、コピーフラグ38の更新処理に移行し(S13,S14)、一方、値が変化しない場合、コピーフラグ38の更新処理を行わず、コピーフラグ38が「1」のレコードであれば、第2情報管理部24に複製を行い、「0」であれば複製しない(S13,S15)。   As shown in FIG. 6, the first information management unit 23 performs necessary updates on the frequency information 35 and the ranking information 36 and 37 when updating itself, such as the update accompanying the process of (S3) (S11, S12) It is determined whether or not the value has changed due to the update. If the value has changed, the process proceeds to the update process of the copy flag 38 (S13, S14). If the value does not change, the update process of the copy flag 38 is performed. If the copy flag 38 is “1”, the second information management unit 24 performs duplication. If it is “0”, the duplication is not performed (S13, S15).

ここで、第1情報管理部23は、使用頻度の高い順を反映させ、かつ使用頻度よりも優先度の高い順を優先的に反映させる優先規則によって第2情報管理部24に複製する参照用情報32〜34を選ぶ。すなわち、通信機器1は、その複製対象の選択において、機器4〜8の種類や当該宅の生活態様等で様々に異なる機器4〜8間の使用頻度差を反映させ、使用頻度の高いものを優遇するので、主記憶装置12(揮発性メモリ)のメモリ容量の制限下でモジュール17による第2情報管理部24の使用機会を生じ易くすることができ、また、使用頻度よりも重要視すべき属性を機器4〜8の種類や状態に応じて評価した基準に基づき、通信機器1内で高速処理の対象にするか否かを選び、高速処理の対象にすることができる。   Here, the first information management unit 23 is used for reference to be copied to the second information management unit 24 according to a priority rule that reflects the order in which the usage frequency is high and the priority order in which the priority is higher than the usage frequency. Select information 32-34. That is, the communication device 1 reflects a difference in use frequency between the devices 4 to 8 that are different depending on the types of the devices 4 to 8 and the life style of the house in the selection of the copy target, and the communication device 1 has a high use frequency. Since the preferential treatment is provided, it is possible to easily generate a use opportunity of the second information management unit 24 by the module 17 under the limitation of the memory capacity of the main storage device 12 (volatile memory), and should be more important than the use frequency. Based on the criteria evaluated according to the types and states of the devices 4 to 8, it is possible to select whether or not to be a target of high-speed processing in the communication device 1 and make it a target of high-speed processing.

この例では、安全面を重視し、第1情報管理部23は、コピーフラグ38の更新処理において、図7に示すように、最優先で順位付情報36の値の高い順に上位へソートし(S21)、次に順位付情報37の値の高い順に上位へソートし(S22)、次に頻度情報35の値の高い順に上位へソート(S23)して、テーブルT1内でのレコードの並び順を確定する。その後、第1情報管理部23は、第2情報管理部24に複製可能な最大量(メモリ容量次第)に基づいて、コピーフラグ38をテーブルT1の上位何番目まで「1」にするかを決定し、所要のレコードのコピーフラグ38を書き換える(S24)。次の同期処理において、第1情報管理部23は、コピーフラグ38が「1」のものだけを第2情報管理部24に複製する(S25)。   In this example, emphasis is placed on safety, and in the update process of the copy flag 38, as shown in FIG. 7, the first information management unit 23 sorts higher in the order of highest priority and ranking information 36 as shown in FIG. S21), the next highest order value 37 is sorted in order from the highest value (S22), the next highest order value in the frequency information 35 is sorted (S23), and the order of records in the table T1 Confirm. Thereafter, the first information management unit 23 determines the highest number in the table T1 that is set to “1” based on the maximum amount (depending on the memory capacity) that can be copied to the second information management unit 24. Then, the copy flag 38 of the required record is rewritten (S24). In the next synchronization process, the first information management unit 23 copies only the copy flag 38 having the value “1” to the second information management unit 24 (S25).

例えば、許されるコピーフラグ38の数が3つであって図8(a)に示すテーブルT1の状態を仮定する。ここで、図8(a)における機器(風呂)の順位付情報36の値「0」が図8(b)に示すように「3」へ更新されると、前述の(S13)、(S21)の処理により、順位付情報36の値が最大の「3」で優先度の最も高い機器(風呂)のレコードがテーブルT1の最上位レコード(1番目)となり、コピーフラグ38が「0」から「1」に更新される。一方、図8(a)において3番目の機器(電話機)のレコードは、図8(b)において4番目に繰り下げられるので、そのコピーフラグ38は、「1」から「0」に更新される。   For example, assume that the number of permitted copy flags 38 is three and the state of the table T1 shown in FIG. Here, when the value “0” of the ranking information 36 of the device (bath) in FIG. 8A is updated to “3” as shown in FIG. 8B, the above-described (S13), (S21) ), The record of the device (bath) with the highest priority and the highest priority (36) becomes the highest record (first) in the table T1, and the copy flag 38 is changed from “0”. It is updated to “1”. On the other hand, the record of the third device (telephone) in FIG. 8A is carried down to the fourth position in FIG. 8B, so that the copy flag 38 is updated from “1” to “0”.

図2に示すモジュール17のファームアップ等により、図1に示す主記憶装置12からテーブルT2が消去されると、その後、図2のモジュール17が起動するときにテーブルT2の再構築が行われる。この際、図1に示す不揮発性メモリ13に格納された第1情報管理部23のテーブルT1においては、前述の優先規則に従ったソート順序でレコードが並んでいる。図2に示すモジュール17は、図9に示すように、第1情報管理部23のテーブルT1をチェックし(S31)、必要に応じて機器4〜8の状態を確認し、状態のずれの修正等、所要の情報について第1情報管理部23の更新を行う(S32)。モジュール17は、第2情報管理部24に割り当てられているメモリ容量を第1情報管理部23へ知らせ、複製を要求する。第1情報管理部23は、そのメモリ容量に応じて、コピー可能な範囲を確定し、所要のコピーフラグ38を「1」とし(S33)、その後、第2情報管理部24に複製する(S34)。   If the table T2 is deleted from the main storage device 12 shown in FIG. 1 due to the firmware upgrade of the module 17 shown in FIG. 2, then the table T2 is reconstructed when the module 17 shown in FIG. At this time, in the table T1 of the first information management unit 23 stored in the nonvolatile memory 13 shown in FIG. 1, the records are arranged in the sort order according to the above-described priority rule. As shown in FIG. 9, the module 17 shown in FIG. 2 checks the table T1 of the first information management unit 23 (S31), checks the status of the devices 4 to 8 as necessary, and corrects the deviation of the status. For example, the first information management unit 23 is updated for necessary information (S32). The module 17 informs the first information management unit 23 of the memory capacity allocated to the second information management unit 24 and requests replication. The first information management unit 23 determines the copyable range according to the memory capacity, sets the required copy flag 38 to “1” (S33), and then copies it to the second information management unit 24 (S34). ).

なお、前述の同期処理や起動時の処理においては、第2情報管理部24に割り当てられているメモリ容量の確認を省略するようにしてもよい。例えば、第1情報管理部23は、第2情報管理部24のメモリ容量の満杯に伴ってエラーが通知されるまで、優先順位に従ってソートされた最上位のものから順次に複製を継続すればよい。この場合、コピーフラグ38を省略することも可能である。   Note that the confirmation of the memory capacity allocated to the second information management unit 24 may be omitted in the above-described synchronization processing and startup processing. For example, the first information management unit 23 may continue the replication sequentially from the highest one sorted according to the priority order until an error is notified when the memory capacity of the second information management unit 24 is full. . In this case, the copy flag 38 can be omitted.

この通信機器1の動作の一例を図10(a)に示す。同図(a)の動作は、通信機器1の配下でホームネットワーク2に属する機器(電話機)に提供されるIP電話サービスにおいて、モジュール17が機器の発呼に関する制御を行う場合を想定している。ここで、機器の現在の状態は、発信者番号の非通知サービスを利用する設定がなされた非接続状態であり、これを示す参照用情報33が図3、図4のテーブルT1、T2に保持されているものとする。機器4からの発信指示がモジュール17に届いたとき、モジュール17は、機器4の機器識別情報31(この場合、SIPなので電話番号)を検索キーとし、先ず第2情報管理部24を検索し、ここでヒットする(S41)。モジュール17は、第2情報管理部24から参照用情報32〜34を取得し、非通知サービスの適用を示す命令コードのプレフィックス「184」の付与を決定する(S42)。モジュール17は、他にもプレフィックスを付与すべき番号か第2情報管理部24をさらに検索し、最終的な発信番号の確定を確認後(S43、S44)、SIPの発信処理を行って接続を確立する(S45)。   An example of the operation of the communication device 1 is shown in FIG. The operation of FIG. 6A assumes a case where the module 17 performs control related to the call of the device in the IP telephone service provided to the device (telephone) belonging to the home network 2 under the communication device 1. . Here, the current state of the device is a non-connection state in which setting for using the caller ID non-notification service is made, and reference information 33 indicating this is stored in the tables T1 and T2 in FIGS. It is assumed that When the transmission instruction from the device 4 arrives at the module 17, the module 17 first searches the second information management unit 24 using the device identification information 31 of the device 4 (in this case, a telephone number because it is SIP) as a search key. It hits here (S41). The module 17 acquires the reference information 32 to 34 from the second information management unit 24, and decides to give the instruction code prefix “184” indicating the application of the non-notification service (S42). The module 17 further searches the second information management unit 24 for other numbers to be prefixed, confirms final call number confirmation (S43, S44), and then performs SIP call processing to establish a connection. Establish (S45).

図10(b)に示す動作例は、同じく機器(電話機)に提供されるIP電話サービスにおいて発信者番号の非通知サービスを利用する設定がなされた非接続状態であり、これを示す参照用情報33が図3のテーブルT1にのみ保持されている点で同図(a)と相違したものとする。同図(b)の場合、機器4からの発信指示がモジュール17に届いたとき、モジュール17は、先ず第2情報管理部24を検索するが、ここでヒットせず、第1情報管理部23を検索して参照用情報32〜34を取得し(S51)、プレフィックス「184」の付与を決定後(S52)、第1情報管理部23をさらに検索して最終的な発信番号の確定を確認後(S53、S54)、SIPの発信処理を行うことになる(S55)。これら動作例を比較すると、同図(a)の場合、モジュール17は、仮想マシン16上で動作する第2情報管理部24から参照用情報32〜34を取得可能な分、同図(b)の場合に比して、ネイティブ領域の第1情報管理部23の使用を減らし、処理遅延を抑えることができる。   The operation example shown in FIG. 10B is a non-connection state in which the caller ID non-notification service is set in the IP telephone service that is also provided to the device (telephone), and reference information indicating this is shown. It is assumed that 33 is held only in the table T1 of FIG. In the case of FIG. 5B, when a transmission instruction from the device 4 arrives at the module 17, the module 17 first searches the second information management unit 24, but does not hit here, and the first information management unit 23. To obtain reference information 32-34 (S51), and after determining to give the prefix "184" (S52), the first information management unit 23 is further searched to confirm final caller ID Later (S53, S54), SIP transmission processing is performed (S55). Comparing these operation examples, in the case of FIG. 8A, the module 17 can obtain the reference information 32-34 from the second information management unit 24 operating on the virtual machine 16, and FIG. Compared to the case, the use of the first information management unit 23 in the native area can be reduced, and the processing delay can be suppressed.

この発明の技術的範囲は、上述の実施形態や実施例に限定されず、特許請求の範囲の記載に基づく技術的思想の範囲内での全ての変更を含むものである。   The technical scope of the present invention is not limited to the above-described embodiments and examples, but includes all modifications within the scope of the technical idea based on the description of the scope of claims.

1 通信機器
2 ホームネットワーク
3 外部ネットワーク
4〜8 機器
12 主記憶装置(揮発性メモリ)
13 不揮発性メモリ
16 仮想マシン
17 モジュール
23 第1情報管理部
24 第2情報管理部
31 機器識別情報
32〜34 参照用情報
35 頻度情報
36,37 順位付情報
DESCRIPTION OF SYMBOLS 1 Communication apparatus 2 Home network 3 External network 4-8 Equipment 12 Main memory (volatile memory)
13 Non-volatile memory 16 Virtual machine 17 Module 23 First information management unit 24 Second information management unit 31 Device identification information 32-34 Reference information 35 Frequency information 36, 37 Ranking information

Claims (4)

仮想マシン上で実行され、ホームネットワークに属する機器へ提供されるサービスの制御を行うモジュールを備え、前記ホームネットワーク及び外部ネットワークを相互接続する通信機器において、
前記モジュールと異なるネイティブ言語で実装され、前記ホームネットワークに属する機器を一意に示す機器識別情報と、前記モジュールによって前記サービスの制御に用いられる参照用情報とを対応付けて保持する第1情報管理部と、
前記第1情報管理部に保持する情報が格納される不揮発性メモリと、
前記仮想マシン上で動作するように実装され、前記機器識別情報と前記参照用情報とを対応付けて保持する第2情報管理部と、
前記第2情報管理部に保持する情報が格納される揮発性メモリと、を備えており、
前記モジュールが、前記第1情報管理部よりも前記第2情報管理部を優先的に使用することを特徴とする通信機器。
In a communication device that is executed on a virtual machine and includes a module that controls a service provided to a device belonging to a home network, and interconnects the home network and an external network,
A first information management unit that is implemented in a native language different from that of the module and that stores device identification information that uniquely indicates a device that belongs to the home network and reference information that is used by the module to control the service When,
A non-volatile memory in which information stored in the first information management unit is stored;
A second information management unit that is mounted to operate on the virtual machine and holds the device identification information and the reference information in association with each other;
A volatile memory in which information stored in the second information management unit is stored,
The communication device, wherein the module preferentially uses the second information management unit over the first information management unit.
前記第1情報管理部及び前記第2情報管理部が、前記モジュールからの要求に応える処理と独立して同期する請求項1に記載の通信機器。   The communication device according to claim 1, wherein the first information management unit and the second information management unit synchronize independently with a process responding to a request from the module. 前記第1情報管理部が、前記機器ごとの使用頻度を示す頻度情報と前記機器識別情報とを対応付けて保持し、前記使用頻度の高い順を反映させる優先規則によって前記第2情報管理部に複製する前記参照用情報を選ぶ請求項1又は2に記載の通信機器。   The first information management unit holds the frequency information indicating the usage frequency for each device and the device identification information in association with each other, and the second information management unit uses a priority rule that reflects the order of the highest usage frequency. The communication device according to claim 1, wherein the reference information to be copied is selected. 前記第1情報管理部が、前記参照用情報を前記第2情報管理部に複製する優先度を示す順位付情報と、前記機器識別情報とを対応付けて保持し、前記使用頻度よりも前記優先度の高い順を優先的に反映させる優先規則によって前記第2情報管理部に複製する前記参照用情報を選ぶ請求項3に記載の通信機器。   The first information management unit holds the ranking information indicating the priority of copying the reference information to the second information management unit and the device identification information in association with each other, and the priority over the usage frequency. The communication device according to claim 3, wherein the reference information to be copied to the second information management unit is selected according to a priority rule that preferentially reflects the descending order.
JP2015045816A 2015-03-09 2015-03-09 Communication equipment Active JP6054444B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015045816A JP6054444B2 (en) 2015-03-09 2015-03-09 Communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015045816A JP6054444B2 (en) 2015-03-09 2015-03-09 Communication equipment

Publications (2)

Publication Number Publication Date
JP2016167670A true JP2016167670A (en) 2016-09-15
JP6054444B2 JP6054444B2 (en) 2016-12-27

Family

ID=56898756

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015045816A Active JP6054444B2 (en) 2015-03-09 2015-03-09 Communication equipment

Country Status (1)

Country Link
JP (1) JP6054444B2 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02163850A (en) * 1988-12-16 1990-06-25 Mitsubishi Electric Corp Memory device
JPH09207392A (en) * 1996-02-01 1997-08-12 Seiko Epson Corp Printer and computer system
US6032240A (en) * 1997-11-12 2000-02-29 Intergraph Corporation Bypassing a nonpaged pool controller when accessing a remainder portion of a random access memory
JP2004088484A (en) * 2002-08-27 2004-03-18 Yamaha Corp Household electric appliance controlling apparatus, communication apparatus, program, and recording medium
JP2009069969A (en) * 2007-09-11 2009-04-02 Canon Inc Information processing method and information processor, program
JP2012124567A (en) * 2010-12-06 2012-06-28 Hitachi Ltd Control device, and method of controlling the same
JP2012123556A (en) * 2010-12-07 2012-06-28 Hitachi Solutions Ltd Virtual server system and control method thereof
JP2012238943A (en) * 2011-05-10 2012-12-06 Nippon Telegr & Teleph Corp <Ntt> Access control method for home network and home gateway device using the control method
US20130086202A1 (en) * 2011-09-29 2013-04-04 Comcast Cable Communications, Llc Multiple Virtual Machines in a Mobile Virtualization Platform

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02163850A (en) * 1988-12-16 1990-06-25 Mitsubishi Electric Corp Memory device
JPH09207392A (en) * 1996-02-01 1997-08-12 Seiko Epson Corp Printer and computer system
US6032240A (en) * 1997-11-12 2000-02-29 Intergraph Corporation Bypassing a nonpaged pool controller when accessing a remainder portion of a random access memory
JP2004088484A (en) * 2002-08-27 2004-03-18 Yamaha Corp Household electric appliance controlling apparatus, communication apparatus, program, and recording medium
JP2009069969A (en) * 2007-09-11 2009-04-02 Canon Inc Information processing method and information processor, program
JP2012124567A (en) * 2010-12-06 2012-06-28 Hitachi Ltd Control device, and method of controlling the same
JP2012123556A (en) * 2010-12-07 2012-06-28 Hitachi Solutions Ltd Virtual server system and control method thereof
JP2012238943A (en) * 2011-05-10 2012-12-06 Nippon Telegr & Teleph Corp <Ntt> Access control method for home network and home gateway device using the control method
US20130086202A1 (en) * 2011-09-29 2013-04-04 Comcast Cable Communications, Llc Multiple Virtual Machines in a Mobile Virtualization Platform

Also Published As

Publication number Publication date
JP6054444B2 (en) 2016-12-27

Similar Documents

Publication Publication Date Title
CN108683516B (en) Application instance upgrading method, device and system
US9996333B2 (en) Apparatus and method for automating the installation and configuration of infrastructure
CN109120678A (en) The method and apparatus of service tray for distributed memory system
US10474451B2 (en) Containerized upgrade in operating system level virtualization
CN108989066B (en) Equipment management method and device
US10313282B1 (en) Flexible middleware messaging system
CN110417870A (en) configuration file management method, device, equipment and storage medium
CN104754062A (en) Internet based information popularization method, server and user terminal
KR20130061734A (en) Cloud-shared resource providing system
US11132191B2 (en) Software and firmware updates of computing systems
CN104699499B (en) A kind of heterogeneous terminals method for upgrading software
CN112035216A (en) Communication method for Kubernetes cluster network and OpenStack network
CN114553693B (en) Gateway upgrading method and device
US10817512B2 (en) Standing queries in memory
JP6054444B2 (en) Communication equipment
CN113448609B (en) Container upgrading method, device, equipment and storage medium
CN115878154A (en) System and method for upgrading container mirror image version
CN114546591A (en) Mirror image file sharing method, container cluster management system and related equipment
US8499002B2 (en) Apparatus and method for controlling devices in requested resource via network
CN113596087A (en) Application upgrading method and device and computer readable storage medium
WO2015117294A1 (en) Information binding method and device
JP5784792B1 (en) Communication equipment and program
KR20150137766A (en) System and method for creating stack of virtual machine
WO2024047779A1 (en) Increase in efficiency of download of large file for virtual environment
CN111756562B (en) Cluster takeover method, system and related components

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160609

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160621

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160819

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20161129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161130

R150 Certificate of patent or registration of utility model

Ref document number: 6054444

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250