JP5975396B2 - Device management system, management device and device used therefor - Google Patents

Device management system, management device and device used therefor Download PDF

Info

Publication number
JP5975396B2
JP5975396B2 JP2012261873A JP2012261873A JP5975396B2 JP 5975396 B2 JP5975396 B2 JP 5975396B2 JP 2012261873 A JP2012261873 A JP 2012261873A JP 2012261873 A JP2012261873 A JP 2012261873A JP 5975396 B2 JP5975396 B2 JP 5975396B2
Authority
JP
Japan
Prior art keywords
management
protocol
conversion
conversion module
management system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012261873A
Other languages
Japanese (ja)
Other versions
JP2014106938A (en
Inventor
昌幸 天野
昌幸 天野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management Co Ltd
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 Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to JP2012261873A priority Critical patent/JP5975396B2/en
Publication of JP2014106938A publication Critical patent/JP2014106938A/en
Application granted granted Critical
Publication of JP5975396B2 publication Critical patent/JP5975396B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、機器を管理する機能を持つ管理装置を備えた機器管理システム、それに用いられる管理装置および機器に関する。 The present invention relates to a device management system including a management device having a function of managing devices, and a management device and a device used therefor .

従来から、複数の管理装置と、管理装置により管理される家電製品やコンピュータ等の機器(エージェント)とからなる機器管理システム(管理システム)が提案されている(たとえば特許文献1参照)。   Conventionally, a device management system (management system) including a plurality of management devices and devices (agents) such as home appliances and computers managed by the management device has been proposed (for example, see Patent Document 1).

ところで、この種の機器管理システムにおいては、異なるベンダの管理装置が用いられることがあり、このような場合に、異なるベンダの管理装置間でも通信可能となる相互接続用の標準プロトコルが用いられる。ただし、相互接続用の標準プロトコルはベンダ間で合意した約束事であるから、このような標準プロトコルを利用した通信からは最大公約数的なデータしか得られず、ベンダ独自のデータ形式や通信方式にまで完全に対応することはできない。   By the way, in this type of device management system, management devices of different vendors may be used. In such a case, a standard protocol for interconnection that enables communication between management devices of different vendors is used. However, because the standard protocol for interconnection is a convention agreed between the vendors, communication using such a standard protocol can only obtain the greatest common divisor data, and the vendor's own data format and communication method. Can not fully respond.

そこで、特許文献1では、第1の管理装置−機器間の通信プロトコルと、第2の管理装置−機器間の通信プロトコルとが異なっている場合でも、第1の管理装置−第2管理装置間で管理情報を送受信できるように、第1の管理装置が通信プロトコルの変換を行う。具体的には、第1の管理装置は、第2の管理装置との通信プロトコルを決定するように、試験用コマンドを第2の管理装置に送信し、第2の管理装置から正常な応答があればその通信プロトコルを使用することを決定する。このように、第1の管理装置は、第2の管理装置−機器間の通信プロトコルを割り出した後に、この通信プロトコルを自身の使用する通信プロトコルの形式に変換することで第2の管理装置と管理情報の送受信を行う。   Therefore, in Patent Document 1, even when the communication protocol between the first management device and the device is different from the communication protocol between the second management device and the device, the first management device is between the second management device. The first management device converts the communication protocol so that the management information can be transmitted and received by. Specifically, the first management device transmits a test command to the second management device so as to determine a communication protocol with the second management device, and a normal response is received from the second management device. If so, decide to use that communication protocol. As described above, the first management device, after determining the communication protocol between the second management device and the device, converts the communication protocol into the format of the communication protocol used by the first management device. Send and receive management information.

特開平11−234277号公報JP 11-234277 A

ところで、近年では、機器にWebサーバとしての機能を付加することにより、Webブラウザ機能を有する汎用のコンピュータ等を管理装置として使用できるようにした機器管理システムが提供されている。しかし、特許文献1に記載の構成では、第1の管理装置は、異なる通信プロトコル間でコマンドや伝送方式などを変換するための変換形式を予め複数記憶し、且つこの変換形式に従って通信プロトコルの変換を行うプロトコル変換部を有している。すなわち、第1の管理装置にてプロトコル変換を行うためには、第1の管理装置に変換形式を記憶した記憶部やプロトコル変換部が必要であるから、Webブラウザ機能を有する汎用のコンピュータ等をそのまま第1の管理装置として使用することはできない。   By the way, in recent years, a device management system has been provided in which a general-purpose computer having a web browser function can be used as a management device by adding a function as a web server to a device. However, in the configuration described in Patent Document 1, the first management apparatus stores in advance a plurality of conversion formats for converting commands, transmission methods, and the like between different communication protocols, and converts communication protocols according to the conversion formats. A protocol conversion unit for performing That is, in order to perform protocol conversion in the first management device, the first management device requires a storage unit and a protocol conversion unit that store the conversion format. Therefore, a general-purpose computer having a Web browser function is required. It cannot be used as it is as the first management device.

また、管理装置ではなく機器でプロトコル変換を行わせることも考えられるが、そうすると、プロトコル変換の分だけ機器側の処理負荷が大きくなり、限られたリソースを持つ組み込み機器などでは対応できない可能性がある。   In addition, it is conceivable that protocol conversion is performed by a device instead of a management device, but in that case, the processing load on the device side increases by the amount of protocol conversion, and there is a possibility that it cannot be supported by an embedded device having limited resources. is there.

本発明は上記事由に鑑みて為されており、管理装置でプロトコル変換を行いながらも、汎用のコンピュータ等を管理装置として使用可能な機器管理システム、それに用いられる管理装置および機器を提供することを目的とする。 The present invention has been made in view of the above reasons, and provides a device management system that can use a general-purpose computer or the like as a management device while performing protocol conversion in the management device, and a management device and a device used therefor. Objective.

本発明の機器管理システムは、管理装置と、前記管理装置との間で第1のプロトコルで通信する第1の機器と、前記第1のプロトコルとは異なる第2のプロトコルで通信する第2の機器とを備え、前記第1の機器は、プロトコル変換用の関数群からなる変換モジュールと、前記変換モジュールを用いて前記第1のプロトコルと前記第2のプロトコルとの間でプロトコル変換を行うための変換情報を記憶した記憶部とを有し、前記管理装置は、前記第1の機器から前記変換モジュールおよび前記変換情報を取得する取得部と、前記第2の機器との通信時に、前記変換情報に従い前記変換モジュールを用いて、前記第1のプロトコルと前記第2のプロトコルとの間でプロトコル変換を行うように機能する処理部とを有し、前記変換モジュールを取得するためのスクリプトを含むファイルを前記第2の機器が保持しており、前記管理装置は、前記ファイルを前記第2の機器から読み込み、前記ファイル内の前記スクリプトに従って、前記取得部にて前記第1の機器から前記変換モジュールを取得することを特徴とする。 The device management system of the present invention includes a management device, a first device that communicates with the management device using a first protocol, and a second device that communicates using a second protocol different from the first protocol. and a device, wherein the first equipment performs protocol conversion between said first protocol and said second protocol using a conversion module comprising a set of functions for protocol conversion, the conversion module and a memorized storing unit conversion information for the management device includes an acquisition unit for acquiring the first equipment or we said conversion module and said conversion information, when communicating with the second device , using the conversion module in accordance with the conversion information, possess a processing unit that functions to make a protocol conversion between said first protocol and said second protocol, preparative said conversion module The second device holds a file including a script for performing the operation, and the management device reads the file from the second device, and the acquisition unit performs the first reading according to the script in the file. The conversion module is obtained from one device .

この機器管理システムにおいて、前記第1の機器および前記第2の機器は、Webページを提供するWebサーバとしての機能を有しており、前記管理装置は、前記第1の機器および前記第2の機器から提供されるWebページを表示するWebブラウザとしての機能を有することが望ましい。   In the device management system, the first device and the second device have a function as a Web server that provides a Web page, and the management device includes the first device and the second device. It is desirable to have a function as a Web browser that displays a Web page provided from the device.

この機器管理システムにおいて、前記第1の機器は、前記第2の機器と直接通信するための通信路を構築するトンネル機能を有し、前記管理装置は、前記トンネル機能にて構築される通信路を用いて、前記第1の機器を経由して前記第2の機器と通信するように構成されていることがより望ましい。
また、本発明の管理装置は、前記機器管理システムにおいて前記管理装置として用いられることを特徴とする。
また、本発明の機器は、前記機器管理システムにおいて前記第1の機器または前記第2の機器として用いられることを特徴とする。
In this equipment management system, the first equipment has a tunnel function for constructing a communication path for directly communicating with the second equipment, and the management apparatus is a communication path constructed by the tunnel function. More preferably, it is configured to communicate with the second device via the first device.
The management apparatus of the present invention is used as the management apparatus in the device management system.
The device of the present invention is used as the first device or the second device in the device management system.

本発明の構成によれば、第1の機器と第2の機器との一方は、変換モジュールと、変換情報を記憶した記憶部とを有し、管理装置は、変換モジュールおよび変換情報を取得する取得部と、処理部とを有し、処理部が、第2の機器との通信時にプロトコル変換を行うように機能する。したがって、本発明は、管理装置でプロトコル変換を行いながらも、汎用のコンピュータ等を管理装置として使用可能であるという利点がある。   According to the configuration of the present invention, one of the first device and the second device has the conversion module and the storage unit that stores the conversion information, and the management device acquires the conversion module and the conversion information. An acquisition unit and a processing unit are included, and the processing unit functions to perform protocol conversion when communicating with the second device. Therefore, the present invention has an advantage that a general-purpose computer or the like can be used as a management apparatus while performing protocol conversion in the management apparatus.

実施形態1に係る機器管理システムを示すシステム構成図である。1 is a system configuration diagram illustrating a device management system according to a first embodiment. 実施形態1に係る機器管理システムの動作の説明図である。It is explanatory drawing of operation | movement of the apparatus management system which concerns on Embodiment 1. FIG. 実施形態1に係る機器管理システムの動作の説明図である。It is explanatory drawing of operation | movement of the apparatus management system which concerns on Embodiment 1. FIG. 実施形態1に係る機器管理システムの動作の説明図である。It is explanatory drawing of operation | movement of the apparatus management system which concerns on Embodiment 1. FIG. 実施形態1に係る機器管理システムの他の構成例の動作の説明図である。It is explanatory drawing of operation | movement of the other structural example of the apparatus management system which concerns on Embodiment 1. FIG. 実施形態1に係る機器管理システムの他の構成例の動作の説明図である。It is explanatory drawing of operation | movement of the other structural example of the apparatus management system which concerns on Embodiment 1. FIG. 実施形態2に係る機器管理システムの動作の説明図である。It is explanatory drawing of operation | movement of the apparatus management system which concerns on Embodiment 2. FIG.

(実施形態1)
本実施形態の機器管理システムは、図1に示すように、共通の伝送路3に接続された第1の管理装置11と、第1の管理装置11との間で第1のプロトコルで通信する第1の機器21とを備えている。さらに、本実施形態では、機器管理システムは、第1のプロトコルとは異なる第2のプロトコルに対応した第2の機器22と、第2の機器22との間で第2のプロトコルで通信する第2の管理装置12とを備えている。言い換えれば、第1の管理装置11と第1のプロトコルで直接通信可能な機器が第1の機器21であり、第1の管理装置11と第1のプロトコルで通信することができない機器が第2の機器22である。
(Embodiment 1)
As shown in FIG. 1, the device management system according to the present embodiment communicates with a first protocol between a first management device 11 connected to a common transmission path 3 and the first management device 11. The first device 21 is provided. Furthermore, in this embodiment, the device management system communicates with the second protocol between the second device 22 corresponding to the second protocol different from the first protocol and the second device 22. 2 management devices 12. In other words, the device that can directly communicate with the first management device 11 using the first protocol is the first device 21, and the device that cannot communicate with the first management device 11 using the first protocol is the second device. Equipment 22.

以下、第1の管理装置11のことを単に「管理装置1」ともいい、第1の機器21と第2の機器22とを特に区別しない場合には単に「機器2」という。なお、図1の例では、管理装置と機器2とは2台ずつ設けられているが、管理装置および機器2の台数をこの例に限定する趣旨ではない。   Hereinafter, the first management device 11 is also simply referred to as “management device 1”, and is simply referred to as “device 2” when the first device 21 and the second device 22 are not particularly distinguished. In the example of FIG. 1, two management devices and two devices 2 are provided, but the number of management devices and devices 2 is not limited to this example.

機器2は、被制御対象の端末4と接続されており、これらの端末4と共に、たとえばオフィスビルのような建物内の空間において種々のサブシステムを構築するサブシステムユニットである。つまり、各機器2にはそれぞれ複数台の端末4が接続されており、各機器2は、それら複数台の端末4を集中監視制御するサブシステムユニットを構築する。ここで、機器2は限られたリソースを持つ組み込み機器である。   The device 2 is connected to a terminal 4 to be controlled, and is a subsystem unit that constructs various subsystems together with these terminals 4 in a space in a building such as an office building. That is, a plurality of terminals 4 are connected to each device 2, and each device 2 constructs a subsystem unit for centrally monitoring and controlling the plurality of terminals 4. Here, the device 2 is an embedded device having limited resources.

より具体的には、機器2は、たとえば各種センサなどの監視端末、および照明機器や空調機器などの動作を制御する制御端末が端末4として接続されており、これらの端末4と共に照明制御システムや空調制御システムなどのサブシステムを構築する。したがって、各サブシステムにおいては、機器2が複数台の端末4を集中的に監視および制御することが可能である。   More specifically, the device 2 is connected to, for example, a monitoring terminal such as various sensors and a control terminal that controls the operation of a lighting device or an air conditioning device as the terminal 4. Build subsystems such as air conditioning control systems. Therefore, in each subsystem, the device 2 can centrally monitor and control a plurality of terminals 4.

ここで、第1の機器21および第2の機器22は、Webページを提供するWebサーバとしての機能を有している。機器2は、サブシステム内の電力消費量や動作状況、センサ出力などの様々な情報を、Webページとして提供する。   Here, the first device 21 and the second device 22 have a function as a Web server that provides a Web page. The device 2 provides various information such as power consumption, operation status, and sensor output in the subsystem as a Web page.

なお、機器2は、それ自身がたとえば各種センサなどの監視端末、および照明機器や空調機器などの動作を制御する制御端末であってもよい。図1の例では、第2の機器22にのみ端末4が接続されており、第1の機器21には端末4は接続されていない。   Note that the device 2 itself may be a monitoring terminal such as various sensors, and a control terminal that controls operations of a lighting device, an air conditioner, and the like. In the example of FIG. 1, the terminal 4 is connected only to the second device 22, and the terminal 4 is not connected to the first device 21.

管理装置1は、Webブラウザの機能が搭載された汎用のパーソナルコンピュータからなり、これにより、建物内の各所に散在する複数のサブシステムを上位レベルで連携、連動することで全体最適化が可能な通信ネットワークを構築する。管理装置1は、第1の機器21および第2の機器22から提供されるWebページをWebブラウザにより表示する。ここで、本実施形態の機器管理システムは、オープンプロトコルに準拠しており、管理装置1は、様々なベンダの機器2と通信可能に構成されている。つまり、管理装置1は、建物内の複数のサブシステムを相互に接続することで建物全体の監視と制御を可能とする。ただし、管理装置1は、Webブラウザの機能を有する汎用のコンピュータ等であればよいので、パーソナルコンピュータに限らない。   The management device 1 is composed of a general-purpose personal computer equipped with a Web browser function. By this, a plurality of subsystems scattered in various places in a building can be linked and linked at a higher level to enable overall optimization. Build a communication network. The management apparatus 1 displays the web page provided from the first device 21 and the second device 22 by a web browser. Here, the device management system of the present embodiment conforms to the open protocol, and the management device 1 is configured to be able to communicate with devices 2 of various vendors. That is, the management apparatus 1 enables monitoring and control of the entire building by connecting a plurality of subsystems in the building to each other. However, the management device 1 is not limited to a personal computer because it may be a general-purpose computer having a Web browser function.

なお、管理装置1は、イーサネット(登録商標)に準拠した伝送路3により機器2と有線接続されていてもよいし、機器2との間で無線通信する構成であってもよい。また、管理装置1は、インターネットなどの公衆網を介して、機器2と通信する構成であってもよい。第2の管理装置12も、基本的な構成は第1の管理装置11と同様である。   Note that the management apparatus 1 may be connected to the device 2 by a wire via a transmission line 3 compliant with Ethernet (registered trademark), or may be configured to perform wireless communication with the device 2. The management device 1 may be configured to communicate with the device 2 via a public network such as the Internet. The basic configuration of the second management device 12 is the same as that of the first management device 11.

ところで、相互接続用の標準プロトコルはベンダ間で合意した約束事であるから、このような標準プロトコルを利用した通信からは最大公約数的なデータしか得られず、ベンダ独自のデータ形式や通信方式にまで完全に対応することはできない。たとえば、機器2がサブシステム内の電力消費量を系統別に管理している場合でも、ベンダの異なる管理装置1は、標準プロトコルを利用した通信でサブシステム全体の電力消費量を表示することはできても、系統別の電力消費量までは表示できないことがある。   By the way, because the standard protocol for interconnection is an agreement agreed between vendors, only the greatest common divisor data can be obtained from communication using such a standard protocol. Can not fully respond. For example, even when the device 2 manages the power consumption in the subsystem for each system, the management devices 1 of different vendors can display the power consumption of the entire subsystem by communication using the standard protocol. However, the power consumption for each system may not be displayed.

そこで、本実施形態では、管理装置1は、プロトコル変換を行って異なるプロトコルの機器2とも通信を行うことによって、ベンダ独自のデータ形式や通信方式にまで対応するように構成されている。以下では、第1の機器21から収集した電力消費量をグラフ化して表示する機能を有する管理装置1が、本来、この機能に対応していない第2の機器22から収集した電力消費量についてもグラフ化して表示する場合を例として説明する。つまり、以下に例示する管理装置1は、第2の機器22から収集した電力消費量についても、第1の機器21から収集した電力消費量と同じように扱うことができ、両方の電力消費量を1つのグラフ内に並べて表示する。   Therefore, in the present embodiment, the management apparatus 1 is configured to support vendor-specific data formats and communication methods by performing protocol conversion and communicating with devices 2 of different protocols. In the following, the management apparatus 1 having a function of displaying the power consumption collected from the first device 21 in a graph will also show the power consumption collected from the second device 22 that does not originally support this function. A case where a graph is displayed will be described as an example. That is, the management apparatus 1 exemplified below can handle the power consumption collected from the second device 22 in the same manner as the power consumption collected from the first device 21, and both power consumptions Are displayed side by side in one graph.

具体的には、図1に示すように、第1の機器21は、プロトコル変換用の関数群からなる変換モジュール211と、変換モジュールを用いて第1のプロトコル−第2のプロトコル間でプロトコル変換を行うための変換情報を記憶した記憶部212とを有している。また、管理装置1は、CPU(Central Processing Unit)を主構成とする処理部111と、第1の機器21から変換モジュール211および変換情報を取得する取得部112とを有している。   Specifically, as illustrated in FIG. 1, the first device 21 includes a conversion module 211 that includes a function group for protocol conversion, and protocol conversion between the first protocol and the second protocol using the conversion module. And a storage unit 212 that stores conversion information for performing the above. In addition, the management apparatus 1 includes a processing unit 111 having a CPU (Central Processing Unit) as a main component, and an acquisition unit 112 that acquires the conversion module 211 and conversion information from the first device 21.

変換モジュール211は、少なくとも第1のプロトコル−第2のプロトコル間でのプロトコル変換に必要な関数群からなり、第1の機器21に予め設定されている。   The conversion module 211 is composed of a group of functions necessary for protocol conversion between at least the first protocol and the second protocol, and is set in the first device 21 in advance.

記憶部212は、通信先となる第2の機器22のアドレスおよび第2の機器22との通信方式が定められた情報を変換情報として予め記憶している。ここでいう変換情報は、通信先の識別情報(たとえばIPアドレスや品番)とデータ変換方法とを対にした情報である。データ変換方法とは、第2の機器22が持つ情報(電力消費量など)を、その表現(独自プロトコルの電文、CSVファイル、HTML(Hyper Text Markup Language)中の文字列)を解釈して抽出し、第1のプロトコルに変換する方法を意味している。本実施形態では、変換情報は少なくとも第1のプロトコル−第2のプロトコル間でのプロトコル変換の手順および必要なパラメータを含むプログラムである。   The storage unit 212 stores in advance, as conversion information, information in which the address of the second device 22 that is a communication destination and the communication method with the second device 22 are determined. The conversion information here is information obtained by pairing identification information (for example, IP address or product number) of the communication destination with a data conversion method. Data conversion method is to extract information (power consumption, etc.) held by the second device 22 by interpreting its expression (original protocol message, CSV file, character string in HTML (Hyper Text Markup Language)) It means a method of converting to the first protocol. In the present embodiment, the conversion information is a program including at least a protocol conversion procedure between the first protocol and the second protocol and necessary parameters.

ここで、記憶部212は、通信先として複数種類の機器2に対応できるように、それぞれ異なる種類の第2のプロトコルに対応した複数の変換情報を記憶していてもよい。この場合、いずれの変換情報を使用するかは、管理装置1の操作によりユーザが任意に選択すればよい。また、第1の機器21が、ソフトウェアのアップデートなどに対応した機器であれば、記憶部212に記憶されている変換情報は、第1の機器21のソフトウェアのアップデートに併せて更新されてもよい。   Here, the storage unit 212 may store a plurality of pieces of conversion information corresponding to different types of second protocols so as to correspond to a plurality of types of devices 2 as communication destinations. In this case, which conversion information is to be used may be arbitrarily selected by the user through the operation of the management apparatus 1. Further, if the first device 21 is a device that supports software update or the like, the conversion information stored in the storage unit 212 may be updated together with the software update of the first device 21. .

処理部111は、第2の機器22との通信時に、変換情報に従い変換モジュール211を用いて、第1のプロトコル−第2のプロトコル間でプロトコル変換を行うように機能する。つまり、管理装置1は、第1の機器21から取得部112にて変換モジュール211および変換情報を取得し、この変換情報を処理部111にて実行することにより、処理部111が変換モジュール211を用いてプロトコル変換の処理を実施する。   The processing unit 111 functions to perform protocol conversion between the first protocol and the second protocol using the conversion module 211 in accordance with the conversion information during communication with the second device 22. That is, the management apparatus 1 acquires the conversion module 211 and the conversion information from the first device 21 by the acquisition unit 112, and executes the conversion information by the processing unit 111. Used to perform protocol conversion processing.

さらに、本実施形態では、第2の機器22は、第1の機器21のHTMLファイルである「proxy.html」を保持している。このHTMLファイルには、変換モジュール211を取得部112に取得させるためのスクリプトが含まれている。   Furthermore, in the present embodiment, the second device 22 holds “proxy.html” that is an HTML file of the first device 21. This HTML file includes a script for causing the acquisition unit 112 to acquire the conversion module 211.

また、管理装置1は、Webブラウザの標準の機能として、メインのWebページである親ページ(メインページ)内に、任意のサイズのインラインフレーム(iframe)を表示する機能を有している。親ページ内の処理とインラインフレーム内の処理とは互いに独立しており、以下では、管理装置1の処理部111のうち、親ページ10内の処理を担う部分を基本処理部とし、インラインフレーム内の処理を担う部分を応用処理部とする。   Further, the management device 1 has a function of displaying an inline frame (iframe) of an arbitrary size in a parent page (main page) that is a main Web page as a standard function of the Web browser. The processing in the parent page and the processing in the inline frame are independent of each other. In the following, the processing unit 111 of the management apparatus 1 is assumed to be the part responsible for the processing in the parent page 10, and the processing in the inline frame The part responsible for this processing is referred to as an application processing unit.

次に、本実施形態の機器管理システムの動作について図2〜4を参照して説明する。なお、図2では第2の管理装置12の図示を省略しており、「10」が管理装置1の親ページ、「101」がインラインフレームを表している。   Next, the operation of the device management system of this embodiment will be described with reference to FIGS. In FIG. 2, the second management device 12 is not shown, and “10” represents a parent page of the management device 1 and “101” represents an inline frame.

まず、管理装置1は、Webブラウザにより親ページ10上で第1の機器21の監視画面にログインする。それから、管理装置1は、取得部112にて第1の機器21から変換情報を取得する(図2のS1)。このとき、第1の機器21は、記憶部212内の変換情報をHTML形式にして管理装置1に送信する。管理装置1は、変換情報を受信すると、この変換情報に従って図3に示す処理を実行する。   First, the management apparatus 1 logs in to the monitoring screen of the first device 21 on the parent page 10 using a Web browser. Then, the management apparatus 1 acquires conversion information from the first device 21 by the acquisition unit 112 (S1 in FIG. 2). At this time, the first device 21 converts the conversion information in the storage unit 212 into the HTML format and transmits it to the management apparatus 1. When receiving the conversion information, the management device 1 executes the processing shown in FIG. 3 according to the conversion information.

すなわち、管理装置1は、図3に示すように第1の機器21との通信時には(S11:Yes)、第1のプロトコルでHTTP(Hyper Text Transfer Protocol)リクエストを行い、第1の機器21からの応答を待つ(S12)。第1の機器21から電力消費量の応答があれば、管理装置1は、その内容に従って第1の機器21の電力消費量をグラフ化した第1の機器21の監視画面を生成し、画面表示を更新して第1の機器21の電力消費量を親ページ10にグラフ表示する(S13)。   That is, as shown in FIG. 3, the management apparatus 1 makes an HTTP (Hyper Text Transfer Protocol) request using the first protocol when communicating with the first device 21 (S11: Yes). Is waited for (S12). If there is a response of the power consumption from the first device 21, the management device 1 generates a monitoring screen of the first device 21 that graphs the power consumption of the first device 21 according to the content, and displays the screen. And the power consumption of the first device 21 is displayed in a graph on the parent page 10 (S13).

一方、第2の機器22との通信時には(S11:No)、管理装置1は、親ページ10中にサイズ0(ゼロ)のインラインフレーム101を生成する(S14)。なお、図2ではインラインフレーム101内の処理を明確にするためにある程度の大きさを持つインラインフレーム101を図示しているが、実際にサイズ0のインラインフレーム101は管理装置1の画面上には表示されない。ただし、応用処理部は、親ページ10のバックグラウンドで、基本処理部とは別にインラインフレーム101内の処理を継続することになる。   On the other hand, when communicating with the second device 22 (S11: No), the management device 1 generates an inline frame 101 of size 0 (zero) in the parent page 10 (S14). In FIG. 2, the inline frame 101 having a certain size is illustrated in order to clarify the processing in the inline frame 101, but the inline frame 101 of size 0 is actually displayed on the screen of the management apparatus 1. Do not show. However, the application processing unit continues processing in the inline frame 101 separately from the basic processing unit in the background of the parent page 10.

そして、管理装置1は、応用処理部にて第2の機器22からHTMLファイル(proxy.html)を読み込み(図2のS2)、リクエストに必要な情報をこのHTMLファイルに送信し、インラインフレーム101からの応答を待つ(S15)。   Then, the management apparatus 1 reads an HTML file (proxy.html) from the second device 22 in the application processing unit (S2 in FIG. 2), transmits information necessary for the request to the HTML file, and the inline frame 101. Wait for a response from (S15).

インラインフレーム101内での処理S15について詳しく述べると、管理装置1は、まずHTMLファイル内に埋め込まれているスクリプトタグに従って、第1の機器21から変換モジュール211をインラインフレーム101内に読み込む(図2のS3)。これにより、管理装置1は、変換モジュール(transform.js)211に定義されている処理をインラインフレーム101内で応用処理部にて実行する。図4は、変換モジュール211に定義されている処理を表している。   The processing S15 in the inline frame 101 will be described in detail. The management apparatus 1 first reads the conversion module 211 from the first device 21 into the inline frame 101 according to the script tag embedded in the HTML file (FIG. 2). S3). As a result, the management apparatus 1 executes the processing defined in the conversion module (transform.js) 211 in the application processing unit within the inline frame 101. FIG. 4 shows processing defined in the conversion module 211.

すなわち、管理装置1は、応用処理部にて変換モジュール211を読み込むと、第1の機器21の監視画面(親ページ10)からのリクエストを待つ(図4のS151)。リクエストがあると(S151:Yes)、管理装置1は、応用処理部から第2の機器22に対して第2のプロトコルでのHTTPリクエストを行い、第2の機器22からの応答を待つ(S152)。ここで、リクエスト元になるHTMLファイルは第2の機器22に配置されたファイルであるから、管理装置1は第2の機器22に対して自由にHTTPリクエストを行うことができる。   In other words, when the conversion module 211 is read by the application processing unit, the management apparatus 1 waits for a request from the monitoring screen (parent page 10) of the first device 21 (S151 in FIG. 4). When there is a request (S151: Yes), the management apparatus 1 makes an HTTP request with the second protocol from the application processing unit to the second device 22, and waits for a response from the second device 22 (S152). ). Here, since the HTML file serving as the request source is a file arranged in the second device 22, the management device 1 can freely make an HTTP request to the second device 22.

第2の機器22から電力消費量の応答があれば、管理装置1は、インラインフレーム101内で応用処理部にて応答の電文(第2のプロトコル)を第1のプロトコルに変換する(S153)。管理装置1は、第1のプロトコル形式に変換された第2の機器22からの応答を、親ページ10を表示している基本処理部に出力する(S154)。これにより、管理装置1は、画面表示を更新することにより、基本処理部にて第1の機器21と第2の機器22との両方の電力消費量を親ページ10に並べてグラフ表示することができる(図3のS13)。   If there is a power consumption response from the second device 22, the management apparatus 1 converts the response message (second protocol) into the first protocol in the application processing unit within the inline frame 101 (S153). . The management device 1 outputs the response from the second device 22 converted into the first protocol format to the basic processing unit displaying the parent page 10 (S154). Thereby, the management apparatus 1 can display the power consumption of both the first device 21 and the second device 22 on the parent page 10 in a graph by the basic processing unit by updating the screen display. Yes (S13 in FIG. 3).

なお、管理装置1は、第1の機器21に配置されている変換モジュール211の全部を第1の機器21から読み込んでもよいし、一部のみを第1の機器21から読み込んでもよい。一部のみを読み込む場合、管理装置1は、第1のプロトコル−第2のプロトコル間でのプロトコル変換に必要な分の変換モジュール211を変換情報から判断し、その分の変換モジュール211を選択的に読み込む。   Note that the management apparatus 1 may read all of the conversion modules 211 arranged in the first device 21 from the first device 21 or may read only a part from the first device 21. When only a part is read, the management apparatus 1 determines the conversion module 211 for the protocol conversion between the first protocol and the second protocol from the conversion information, and selectively selects the conversion module 211 corresponding to the conversion module 211. Read in.

ここにおいて、上述したように親ページ10からインラインフレーム101へのリクエスト送信時(S151)や、インラインフレーム101から親ページ10への第2の機器22の応答の出力時(S154)には、異なるページ間でのデータの授受が必要になる。言い換えれば、基本処理部と応用処理部とが異なるドメインと通信している際に、基本処理部と応用処理部との間でデータを授受する必要がある。そのためには、Webブラウザにおけるクロスドメイン通信の技術が前提となるので、この点について簡単に説明する。   Here, as described above, it differs when the request is transmitted from the parent page 10 to the inline frame 101 (S151), and when the response of the second device 22 is output from the inline frame 101 to the parent page 10 (S154). Data exchange between pages is required. In other words, when the basic processing unit and the application processing unit are communicating with different domains, it is necessary to exchange data between the basic processing unit and the application processing unit. For that purpose, since the technique of the cross domain communication in a web browser is a premise, this point is demonstrated easily.

すなわち、一般的に、Webブラウザは、異なるドメイン(プロトコル、ホスト、ポートのいずれかが自ホストと異なる通信相手)に対して、JavaScript(登録商標)による通信ができない制約がある。そのため、本実施形態では、この制約を回避して異なるドメインと通信する方法が必要であるので、一例としてwindow.name方式とPostMessage方式とのいずれかを採用する。PostMessage方式に対応したWebブラウザではPostMessage方式を使い、対応していないWebブラウザではwindow.name方式を使う。   In other words, in general, there is a restriction that a Web browser cannot perform communication using JavaScript (registered trademark) to a different domain (a communication partner whose protocol, host, or port is different from its own host). Therefore, in the present embodiment, a method for avoiding this restriction and communicating with different domains is necessary. Either the name method or the PostMessage method is adopted. The PostMessage method is used in a Web browser that supports the PostMessage method, and the window. Use the name method.

以下に、window.name方式の動作を、管理装置1がホストAの機器のWebページからホストBの機器のデータを取得して処理する場合を例に説明する。この場合、管理装置1は、ホストAのWebページにサイズ0(ゼロ)のインラインフレーム(iframe)を生成し、インラインフレームの「window.name」にホストBへのリクエスト用のパラメータを設定する。それから、管理装置1は、インラインフレームの「href」を設定する。これにより、インラインフレームにホストBの「proxy.html」が読み込まれる。「href」に設定するURLのハッシュタグには、ホストBの応答取得後に遷移するホストA上のURL(「return_URL」)を記載する。「return_URL」は、ホストA上のURLであればよく、画像ファイルのURLなどでもよい。   In the following, window. The operation of the name method will be described by taking as an example a case where the management apparatus 1 acquires and processes the data of the host B device from the Web page of the host A device. In this case, the management apparatus 1 generates an inline frame (iframe) of size 0 (zero) on the Web page of the host A, and sets a parameter for a request to the host B in “window.name” of the inline frame. Then, the management apparatus 1 sets “href” of the inline frame. As a result, “proxy.html” of the host B is read into the inline frame. In the hash tag of the URL set to “href”, the URL (“return_URL”) on the host A that transitions after the response from the host B is acquired is described. “Return_URL” may be a URL on the host A, and may be a URL of an image file.

それ以降、管理装置1は、インラインフレームの「href」が「return_URL」になるまで、定期的にポーリングして確認する。インラインフレームの「href」が「return_URL」になれば、管理装置1は、「window.name」に設定されたホストBからの応答を取得する。   Thereafter, the management device 1 periodically polls and confirms until the “href” of the inline frame becomes “return_URL”. If “href” of the inline frame becomes “return_URL”, the management apparatus 1 acquires a response from the host B set to “window.name”.

一方で、管理装置1は、ホストBのページ(「proxy.html」)での処理として、まず「window.name」からホストBへのリクエストに必要なパラメータを取得する。それから、管理装置1は、ホストBにHTTPリクエストを行い、ホストBからの応答を取得し、その応答を「window.name」に設定する。そして、管理装置1は、自ページ(インラインフレーム)の「href」を「return_URL」に変更する(ページ遷移)。   On the other hand, the management apparatus 1 first acquires parameters necessary for a request to the host B from “window.name” as processing on the page of the host B (“proxy.html”). Then, the management apparatus 1 makes an HTTP request to the host B, obtains a response from the host B, and sets the response to “window.name”. Then, the management device 1 changes “href” of its own page (inline frame) to “return_URL” (page transition).

なお、クロスドメイン通信を可能とする技術としては、上記の例に限らず、たとえばWebブラウザの設定変更によりクロスドメイン通信を許可する方法などもある。また、最初からクロスドメイン通信可能な環境では、HTMLファイル(proxy.html)が第2の機器22でなく第1の機器21に配置されていたとしても、管理装置1は、このHTMLファイルから第2の機器22のデータにアクセスできる。   The technology that enables cross-domain communication is not limited to the above example, and there is, for example, a method of permitting cross-domain communication by changing the setting of a Web browser. Also, in an environment where cross-domain communication is possible from the beginning, even if the HTML file (proxy.html) is arranged in the first device 21 instead of the second device 22, the management device 1 does not start from the HTML file. The data of the second device 22 can be accessed.

以上説明した本実施形態の機器管理システムによれば、管理装置1は、第2の機器22との通信時に、処理部111が、変換情報に従い変換モジュール211を用いて、第1のプロトコル−第2のプロトコル間でプロトコル変換を行うように構成されている。要するに、プロトコル変換は機器2ではなく管理装置1で行われるので、機器2がたとえば限られたリソースを持つ組み込み機器である場合にも、十分対応できるという利点がある。さらに、充実した開発環境(HTML、JavaScript(登録商標)等)やライブラリを活用できるので、各種の変換モジュール211は短期間、低コストで開発できる。   According to the device management system of the present embodiment described above, the management device 1 uses the conversion module 211 in accordance with the conversion information to cause the processing unit 111 to use the first protocol-first when communicating with the second device 22. The protocol conversion is performed between the two protocols. In short, since the protocol conversion is performed not by the device 2 but by the management apparatus 1, there is an advantage that even when the device 2 is an embedded device having limited resources, for example, it can be sufficiently handled. Furthermore, since a rich development environment (HTML, JavaScript (registered trademark), etc.) and a library can be utilized, various conversion modules 211 can be developed in a short period of time and at a low cost.

また、プロトコル変換に必要な変換モジュール211および変換情報を記憶した記憶部212は第1の機器21が有しており、管理装置1は、第1の機器21から変換モジュール211および変換情報を取得する取得部112を有している。したがって、管理装置1は、元々、プロトコル変換を行うための変換情報を記憶した記憶部や変換モジュールを有している必要はなく、第1の機器21から取得した変換情報に従って変換モジュール211を用いてプロトコル変換を行う処理部111があればよい。すなわち、本実施形態の機器管理システムは、管理装置1にてプロトコル変換を行いながらも、Webブラウザ機能を有する汎用のコンピュータ等を管理装置1として使用することができる。   The first device 21 has the conversion module 211 necessary for protocol conversion and the storage unit 212 storing the conversion information. The management apparatus 1 acquires the conversion module 211 and the conversion information from the first device 21. The acquisition part 112 which performs is provided. Therefore, the management apparatus 1 does not necessarily have a storage unit or conversion module that stores conversion information for performing protocol conversion, and uses the conversion module 211 according to the conversion information acquired from the first device 21. It is sufficient if there is a processing unit 111 that performs protocol conversion. That is, the device management system according to the present embodiment can use a general-purpose computer or the like having a Web browser function as the management device 1 while the management device 1 performs protocol conversion.

要するに、本実施形態に係る機器管理システムによれば、管理装置1でプロトコル変換を行いながらも、汎用のコンピュータ等を管理装置1として使用可能であるという利点がある。   In short, the device management system according to the present embodiment has an advantage that a general-purpose computer or the like can be used as the management device 1 while the management device 1 performs protocol conversion.

また、本実施形態では、変換モジュール211および記憶部212を第1の機器21が有しているので、管理装置1は、特別な処理を必要とすることなく、変換モジュール211および変換情報を取得することができる。   In the present embodiment, since the first device 21 includes the conversion module 211 and the storage unit 212, the management apparatus 1 acquires the conversion module 211 and the conversion information without requiring special processing. can do.

さらにまた、管理装置1は、第2の機器22から取得したHTMLファイル(proxy.html)に従って、第1の機器21から変換モジュール211を取得するので、変換モジュール211をインラインフレーム内で動作させることができる。つまり、第1の機器21に対応したHTMLファイルが第2の機器22に予め配置されていれば、管理装置1は、基本処理部とは別の応用処理部にて変換モジュール211を読み込んで変換モジュール211を動作させることができる。   Furthermore, since the management apparatus 1 acquires the conversion module 211 from the first device 21 according to the HTML file (proxy.html) acquired from the second device 22, the conversion module 211 can be operated within the inline frame. Can do. That is, if an HTML file corresponding to the first device 21 is preliminarily arranged in the second device 22, the management device 1 reads the conversion module 211 by a different application processing unit from the basic processing unit and converts it. The module 211 can be operated.

したがって、管理装置1は、メインである第1の機器21の監視画面(親ページ)においては、第2のプロトコルを意識することなく、第2の機器22を第1の機器21と同じように扱うことできる。しかも、変換モジュール211にバグがあった場合でも、管理装置1は、メインである第1の機器21の監視画面の表示動作については継続することができる。なお、この構成に限らず、管理装置1は、変換モジュール211および変換情報を、親ページとインラインフレームとの少なくとも一方に読み込むことで、プロトコル変換を行うことが可能である。すなわち、管理装置1は、変換モジュール211および変換情報を、親ページとインラインフレームとの一方にまとめて読み込んでもよいし、親ページに変換モジュール211、インラインフレームに変換情報を読み込んでもよい。   Therefore, the management apparatus 1 makes the second device 22 the same as the first device 21 without being aware of the second protocol on the monitoring screen (parent page) of the main first device 21. I can handle it. Moreover, even when there is a bug in the conversion module 211, the management device 1 can continue the display operation of the monitoring screen of the first device 21 that is the main. The management apparatus 1 is not limited to this configuration, and can perform protocol conversion by reading the conversion module 211 and conversion information into at least one of the parent page and the inline frame. In other words, the management apparatus 1 may read the conversion module 211 and the conversion information together into one of the parent page and the inline frame, or may read the conversion module 211 into the parent page and the conversion information into the inline frame.

ところで、本実施形態の他の構成例として、図5に示すように、第1の機器21は、第2の機器22と直接通信するための通信路を構築(トンネリング)するトンネル機能213を有していてもよい。この構成では、管理装置1は、トンネル機能213にて構築される通信路を用いて、第1の機器21を経由して第2の機器22と通信するように構成されている。そのため、第2の機器22が管理装置1のWebブラウザではアクセスできないHTTP通信以外のプロトコルを採用しているような場合でも、管理装置1は第2の機器22からの応答を取得することができる。なお、図5では第2の管理装置12の図示を省略しており、「10」が管理装置1の親ページ、「101」がインラインフレームを表している。   Incidentally, as another configuration example of the present embodiment, as shown in FIG. 5, the first device 21 has a tunnel function 213 for constructing (tunneling) a communication path for directly communicating with the second device 22. You may do it. In this configuration, the management device 1 is configured to communicate with the second device 22 via the first device 21 using a communication path constructed by the tunnel function 213. Therefore, even when the second device 22 employs a protocol other than HTTP communication that cannot be accessed by the Web browser of the management device 1, the management device 1 can obtain a response from the second device 22. . In FIG. 5, the second management apparatus 12 is not shown, and “10” represents a parent page of the management apparatus 1 and “101” represents an inline frame.

具体的に説明すると、図5の構成では、管理装置1は、第1の機器21から変換情報を取得し、この変換情報に従って第1の機器21から変換モジュール211を取得する。このとき、管理装置1は、上述の例と同様に、変換モジュール211をインラインフレーム101内に読み込み、変換モジュール211の処理をインラインフレーム101内で応用処理部にて実行する。図6は、変換モジュール211の処理を表している。   Specifically, in the configuration of FIG. 5, the management apparatus 1 acquires conversion information from the first device 21, and acquires the conversion module 211 from the first device 21 according to this conversion information. At this time, the management apparatus 1 reads the conversion module 211 into the inline frame 101 and executes the processing of the conversion module 211 in the inline frame 101 by the application processing unit, as in the above example. FIG. 6 shows the processing of the conversion module 211.

すなわち、管理装置1は、変換モジュール211を読み込むと、トンネル機能213の形式に変換された第2の機器22に対するリクエスト電文を作成する(図6のS21)。そして、管理装置1は、作成されたリクエスト電文を、第1の機器21のトンネル機能213に送信し、応答を待つ(S22)。リクエスト電文は、第1の機器21のトンネル機能213を経由して第2の機器22に送信され、これに対する第2の機器22からの応答も、第1の機器21のトンネル機能213を経由して管理装置1に送信される。   That is, when the management apparatus 1 reads the conversion module 211, the management apparatus 1 creates a request message for the second device 22 converted into the tunnel function 213 format (S21 in FIG. 6). Then, the management device 1 transmits the created request message to the tunnel function 213 of the first device 21 and waits for a response (S22). The request message is transmitted to the second device 22 via the tunnel function 213 of the first device 21, and the response from the second device 22 is also sent via the tunnel function 213 of the first device 21. To the management device 1.

管理装置1は、トンネル機能213から応答があれば、応用処理部にて応答の電文(第2のプロトコル)を第1のプロトコルに変換する(S23)。管理装置1は、第1のプロトコル形式に変換された第2の機器22からの応答を、第1の機器21の監視画面(親ページ10)を表示している基本処理部に出力する(S24)。これにより、管理装置1は、画面表示を更新することにより、基本処理部にて第1の機器21と第2の機器22との両方の電力消費量を親ページ10に並べてグラフ表示することができる。   If there is a response from the tunnel function 213, the management apparatus 1 converts the response message (second protocol) into the first protocol in the application processing unit (S23). The management device 1 outputs the response from the second device 22 converted into the first protocol format to the basic processing unit displaying the monitoring screen (parent page 10) of the first device 21 (S24). ). Thereby, the management apparatus 1 can display the power consumption of both the first device 21 and the second device 22 on the parent page 10 in a graph by the basic processing unit by updating the screen display. it can.

なお、管理装置1−トンネル機能213間の通信プロトコル(第3のプロトコル)について簡単に説明する。一例として、基本フォーマットは「〔コマンド〕:〔IPアドレス〕:〔ポート番号〕:〔電文〕」となる。ここで、〔コマンド〕、〔IPアドレス〕、〔ポート番号〕はASCII文字列、〔電文〕は16進数表記に変換後の文字列(ASCII文字列)である。使用されるコマンドとしては、指定されたIPアドレスのポート番号にTCPで接続し、〔電文〕で指定された電文を第2の機器22に送信する「send」、第2の機器22からの応答を管理装置1に返信する「received」がある。「received」コマンドにおいては、〔IPアドレス〕、〔ポート番号〕は「send」コマンドと同じ〔IPアドレス〕、〔ポート番号〕が指定される。また、第2の機器22からの応答は16進数表記のASCII文字列に変換されている。   A communication protocol (third protocol) between the management apparatus 1 and the tunnel function 213 will be briefly described. As an example, the basic format is “[command]: [IP address]: [port number]: [message]”. Here, [command], [IP address], and [port number] are ASCII character strings, and [message] are character strings converted to hexadecimal notation (ASCII character strings). As a command to be used, a TCP connection is made to the port number of the designated IP address, and “send” is transmitted to the second device 22 for the message specified in [message], and a response from the second device 22 To the management apparatus 1 is “received”. In the “received” command, the same [IP address] and [port number] as the “send” command are specified for [IP address] and [port number]. The response from the second device 22 is converted into an ASCII character string in hexadecimal notation.

以上説明した図5の構成によれば、第2の機器22で用いられる第2のプロトコルは電文がテキスト、転送プロトコルがHTTPに限定されることなく、たとえばバイナリ電文を扱い且つ転送プロトコルがHTTP以外のプロトコルであっても対応できる。これにより、管理装置1は、modbus/TCP等のHTTP以外のIP通信であっても、第1の通信プロトコルとの間でプロトコル変換可能になる。   According to the configuration of FIG. 5 described above, the second protocol used in the second device 22 is not limited to the text message and the transfer protocol is HTTP, but handles, for example, binary messages and the transfer protocol is other than HTTP. Even the protocol can be supported. As a result, the management apparatus 1 can perform protocol conversion with the first communication protocol even for IP communication other than HTTP, such as modbus / TCP.

なお、上記実施形態においては、管理装置1は、第1の機器21との通信処理と、第2の機器22との通信処理とを互いに独立した処理とするために、インラインフレームを使用している。つまり、管理装置1は、第1の機器21との通信処理を基本処理部にて親ページ内で行い、第2の機器22との通信処理を応用処理部にてインラインフレーム内で行っている。ただし、管理装置1は、第1の機器21との通信処理と、第2の機器22との通信処理とを互いに独立して実行できればよく、インラインフレーム以外の方法を使用する構成であってもよい。   In the above-described embodiment, the management device 1 uses an inline frame in order to make the communication process with the first device 21 and the communication process with the second device 22 independent of each other. Yes. That is, the management device 1 performs communication processing with the first device 21 in the parent page in the basic processing unit, and performs communication processing with the second device 22 in the inline frame in the application processing unit. . However, the management apparatus 1 only needs to be able to execute the communication process with the first device 21 and the communication process with the second device 22 independently of each other, and may be configured to use a method other than an inline frame. Good.

(実施形態2)
本実施形態の機器管理システムは、図7に示すように変換モジュール221および記憶部222を第2の機器22が有している点で実施形態1の機器管理システムと相違する。また、本実施形態では、第2の機器22は、後述する画面書換モジュール(rewrite.js)223を有している。以下、実施形態1と同様の構成については共通の符号を付して適宜説明を省略する。
(Embodiment 2)
The device management system according to the present embodiment is different from the device management system according to the first embodiment in that the second device 22 includes a conversion module 221 and a storage unit 222 as illustrated in FIG. In the present embodiment, the second device 22 includes a screen rewriting module (rewrite.js) 223 described later. Hereinafter, the same configurations as those of the first embodiment are denoted by common reference numerals, and description thereof will be omitted as appropriate.

次に、本実施形態の機器管理システムの動作について図7を参照して説明する。なお、図7では第2の管理装置12の図示を省略しており、「10」が管理装置1の親ページ、「101」がインラインフレームを表している。   Next, the operation of the device management system of this embodiment will be described with reference to FIG. In FIG. 7, the second management device 12 is not shown, and “10” represents a parent page of the management device 1 and “101” represents an inline frame.

まず、管理装置1は、Webブラウザにより親ページ10上で第1の機器21の監視画面にログインする(図7のS31)。それから、管理装置1の親ページ10上で、ユーザがブックマークレットを実行する。ここで、ブックマークレットは、第2の機器22から画面書換モジュール223を取得し(S32)、画面書換モジュール223を動作させるように記述されたスクリプトである。   First, the management device 1 logs in to the monitoring screen of the first device 21 on the parent page 10 using a Web browser (S31 in FIG. 7). Then, the user executes a bookmarklet on the parent page 10 of the management device 1. Here, the bookmarklet is a script described to acquire the screen rewriting module 223 from the second device 22 (S32) and operate the screen rewriting module 223.

管理装置1は、画面書換モジュール223を実行することにより、親ページ10中にインラインフレーム101を生成し、このインラインフレーム101に第2の機器22の監視画面を読み込む。このとき、管理装置1は、取得部112にて第2の機器22から変換情報を取得する(S33)。そして、管理装置1は、インラインフレーム101のサイズを最大化し、さらに最前面に設定することで、インラインフレーム101にて第1の機器21の監視画面(親ページ10)を覆い隠す。   The management apparatus 1 generates the inline frame 101 in the parent page 10 by executing the screen rewriting module 223, and reads the monitoring screen of the second device 22 in the inline frame 101. At this time, the management apparatus 1 acquires conversion information from the second device 22 by the acquisition unit 112 (S33). Then, the management apparatus 1 maximizes the size of the inline frame 101 and sets it to the forefront, thereby hiding the monitoring screen (parent page 10) of the first device 21 by the inline frame 101.

なお、図7では親ページ10内の処理を明確にするために親ページ10内の一部にインラインフレーム101を図示しているが、実際には親ページ10はインラインフレーム101で覆われるため管理装置1の画面上には表示されない。ただし、基本処理部は、インラインフレーム101のバックグラウンドで、応用処理部とは別に親ページ10内の処理を継続することになる。   In FIG. 7, the inline frame 101 is illustrated in a part of the parent page 10 in order to clarify the processing in the parent page 10, but the parent page 10 is actually covered with the inline frame 101 and managed. It is not displayed on the screen of the device 1. However, the basic processing unit continues processing in the parent page 10 separately from the application processing unit in the background of the inline frame 101.

さらに、管理装置1は、親ページ10内にスクリプトタグを生成して変換モジュール221を読み込み(S34)、変換モジュール221を親ページ10に登録する。これにより、管理装置1は、変換モジュール(transform.js)221に定義されている処理を親ページ10内で基本処理部にて実行する。変換モジュール221に定義されている処理は、実施形態1で図4を用いて説明した処理と基本的に同様である。   Further, the management apparatus 1 generates a script tag in the parent page 10 and reads the conversion module 221 (S34), and registers the conversion module 221 in the parent page 10. As a result, the management apparatus 1 executes the processing defined in the conversion module (transform.js) 221 in the basic processing unit in the parent page 10. The processing defined in the conversion module 221 is basically the same as the processing described with reference to FIG. 4 in the first embodiment.

すなわち、管理装置1は、基本処理部にて変換モジュール221を読み込むと、第2の機器22の監視画面(インラインフレーム101)からのリクエストを待つ。リクエストがあると、管理装置1は、基本処理部から第1の機器21に対して第1のプロトコルでのHTTPリクエストを行い、第1の機器21からの応答を待つ。   That is, when the management apparatus 1 reads the conversion module 221 in the basic processing unit, the management apparatus 1 waits for a request from the monitoring screen (inline frame 101) of the second device 22. When there is a request, the management apparatus 1 makes an HTTP request with the first protocol to the first device 21 from the basic processing unit, and waits for a response from the first device 21.

第1の機器21から電力消費量の応答があれば、管理装置1は、親ページ10内で基本処理部にて応答の電文(第1のプロトコル)を第2のプロトコルに変換する。管理装置1は、第2のプロトコル形式に変換された第1の機器21からの応答を、インラインフレーム101を表示している応用処理部に出力する。これにより、管理装置1は、画面表示を更新することにより、応用処理部にて第1の機器21と第2の機器22との両方の電力消費量をインラインフレーム101に並べてグラフ表示することができる。   If there is a power consumption response from the first device 21, the management device 1 converts the response message (first protocol) into the second protocol in the basic processing unit within the parent page 10. The management device 1 outputs the response from the first device 21 converted into the second protocol format to the application processing unit displaying the inline frame 101. Thereby, the management apparatus 1 can display the power consumption of both the first device 21 and the second device 22 in the inline frame 101 and display the graph in the application processing unit by updating the screen display. it can.

以上説明した本実施形態の機器管理システムによれば、第1の機器21が独自の認証方式を採用しており、またその動作仕様が不明である場合や、他の機器(第2の機器22)のHTMLファイルが第1の機器21に設定されていない場合にも対応することができる。すなわち、これらの場合でも、管理装置1は、第1の機器21だけでなくプロトコルの異なる第2の機器22についても統合管理することができる。   According to the device management system of the present embodiment described above, the first device 21 employs a unique authentication method, and the operation specification is unknown, or other devices (second device 22). ) HTML file is not set in the first device 21. That is, even in these cases, the management apparatus 1 can integrally manage not only the first device 21 but also the second device 22 having a different protocol.

その他の構成および機能は実施形態1と同様である。   Other configurations and functions are the same as those of the first embodiment.

1 管理装置
111 処理部
112 取得部
21 第1の機器
22 第2の機器
211 変換モジュール
212 記憶部
213 トンネル機能
221 変換モジュール
222 記憶部
DESCRIPTION OF SYMBOLS 1 Management apparatus 111 Processing part 112 Acquisition part 21 1st apparatus 22 2nd apparatus 211 Conversion module 212 Storage part 213 Tunnel function 221 Conversion module 222 Storage part

Claims (5)

管理装置と、前記管理装置との間で第1のプロトコルで通信する第1の機器と、前記第1のプロトコルとは異なる第2のプロトコルで通信する第2の機器とを備え、
前記第1の機器は
プロトコル変換用の関数群からなる変換モジュールと、
前記変換モジュールを用いて前記第1のプロトコルと前記第2のプロトコルとの間でプロトコル変換を行うための変換情報を記憶した記憶部とを有し、
前記管理装置は、
前記第1の機器から前記変換モジュールおよび前記変換情報を取得する取得部と、
前記第2の機器との通信時に、前記変換情報に従い前記変換モジュールを用いて、前記第1のプロトコルと前記第2のプロトコルとの間でプロトコル変換を行うように機能する処理部とを有し、
前記変換モジュールを取得するためのスクリプトを含むファイルを前記第2の機器が保持しており、
前記管理装置は、前記ファイルを前記第2の機器から読み込み、前記ファイル内の前記スクリプトに従って、前記取得部にて前記第1の機器から前記変換モジュールを取得する
ことを特徴とする機器管理システム。
A management device, a first device that communicates with the management device using a first protocol, and a second device that communicates using a second protocol different from the first protocol,
Wherein the first equipment is
A conversion module consisting of functions for protocol conversion;
A storage unit storing conversion information for performing protocol conversion between the first protocol and the second protocol using the conversion module;
The management device
An acquisition unit for acquiring the first equipment or al the conversion module and the conversion information,
When communicating with the second device, using the conversion module in accordance with the conversion information, possess a processing unit that functions to make a protocol conversion between said first protocol and said second protocol ,
The second device holds a file containing a script for obtaining the conversion module;
The management apparatus reads the file from the second device, and acquires the conversion module from the first device by the acquisition unit according to the script in the file .
前記第1の機器および前記第2の機器は、Webページを提供するWebサーバとしての機能を有しており、
前記管理装置は、前記第1の機器および前記第2の機器から提供されるWebページを表示するWebブラウザとしての機能を有する
ことを特徴とする請求項1に記載の機器管理システム。
The first device and the second device have a function as a Web server that provides a Web page,
The device management system according to claim 1, wherein the management device has a function as a Web browser that displays a Web page provided from the first device and the second device.
前記第1の機器は、前記第2の機器と直接通信するための通信路を構築するトンネル機能を有し、  The first device has a tunnel function for constructing a communication path for directly communicating with the second device;
前記管理装置は、前記トンネル機能にて構築される通信路を用いて、前記第1の機器を経由して前記第2の機器と通信するように構成されている  The management device is configured to communicate with the second device via the first device using a communication path constructed by the tunnel function.
ことを特徴とする請求項1または2に記載の機器管理システム。  The device management system according to claim 1, wherein the device management system is a device management system.
請求項1〜3のいずれか1項に記載の機器管理システムにおいて前記管理装置として用いられる  It is used as said management apparatus in the apparatus management system of any one of Claims 1-3.
ことを特徴とする管理装置。  A management device characterized by that.
請求項1〜3のいずれか1項に記載の機器管理システムにおいて前記第1の機器または前記第2の機器として用いられる  It is used as said 1st apparatus or said 2nd apparatus in the apparatus management system of any one of Claims 1-3.
ことを特徴とする機器。  Equipment characterized by that.
JP2012261873A 2012-11-30 2012-11-30 Device management system, management device and device used therefor Active JP5975396B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012261873A JP5975396B2 (en) 2012-11-30 2012-11-30 Device management system, management device and device used therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012261873A JP5975396B2 (en) 2012-11-30 2012-11-30 Device management system, management device and device used therefor

Publications (2)

Publication Number Publication Date
JP2014106938A JP2014106938A (en) 2014-06-09
JP5975396B2 true JP5975396B2 (en) 2016-08-23

Family

ID=51028317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012261873A Active JP5975396B2 (en) 2012-11-30 2012-11-30 Device management system, management device and device used therefor

Country Status (1)

Country Link
JP (1) JP5975396B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6175843B2 (en) * 2013-03-27 2017-08-09 日本電気株式会社 Content control system, content control method, and content control program
JP6274163B2 (en) * 2015-07-22 2018-02-07 コニカミノルタ株式会社 Image forming apparatus and information display method
JP6656221B2 (en) * 2017-12-25 2020-03-04 矢崎エナジーシステム株式会社 Communications system
CN111343134A (en) * 2018-12-19 2020-06-26 美的集团股份有限公司 Communication method, medium, household appliance and device based on script parsing protocol
JP7317570B2 (en) 2019-05-10 2023-07-31 株式会社東芝 Supervisory control system, gateway system, and conversion method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002063086A (en) * 2000-08-23 2002-02-28 Nippon Telegr & Teleph Corp <Ntt> Managing method and management system for network, and storage medium storing program therefor
JP2007327656A (en) * 2006-06-06 2007-12-20 Daikin Ind Ltd Information management system
JP5015052B2 (en) * 2008-03-26 2012-08-29 パナソニック株式会社 Monitoring system and monitoring server device

Also Published As

Publication number Publication date
JP2014106938A (en) 2014-06-09

Similar Documents

Publication Publication Date Title
JP5975396B2 (en) Device management system, management device and device used therefor
CN103262020B (en) Virtual input/output device for printer
JP5935622B2 (en) Information processing apparatus, monitoring apparatus, information processing method, and monitoring program
JP5321586B2 (en) Application extension system, extension method, extension program
KR20130097006A (en) Device for do it yourself m2m platform and, m2m service method thereof
CN105794152A (en) Web-based interaction with building automation
JP2007108953A (en) Chat program
US20230136504A1 (en) Method for generating application for controlling external electronic device and electronic apparatus for supporting the same
WO2017041550A1 (en) Device simulator communication method and system
JP5774429B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP2021048504A (en) Information processing device and information processing program
JP2005309703A (en) Electronic equipment system
Lee Internet of things: Smart home system
CN115834726B (en) Protocol conversion method, data transmission method, device, gateway and storage medium
Khichadi et al. Building a cloud solution for energy management using raspberry pi
JP6102108B2 (en) Information processing apparatus, data providing method, and data providing program
JP6108443B2 (en) Page setting method and system for controlling terminal to remotely update setting information of controlled device via Web server
JP6025971B2 (en) Communication adapter and program
JP2010026948A (en) Communication equipment
Bo et al. Wireless machine to machine monitoring using cross-platform smart phone for district heating
US9516148B2 (en) Computer-readable recording medium, information management method and information management device
KR20120118866A (en) An interface construction system and method to control low-erformance equipment using web technology
JP7091998B2 (en) Authentication device, authentication method and authentication program
Rao et al. Raspberry Pi 3 Model B+ Based Endure Redicting Using Web of Things (WoT)
JP2017187890A (en) Gateway device and data collection system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150302

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20150422

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160119

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160322

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160708

R151 Written notification of patent or utility model registration

Ref document number: 5975396

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151