JP2011170688A - Monitoring device, monitoring method, and program - Google Patents

Monitoring device, monitoring method, and program Download PDF

Info

Publication number
JP2011170688A
JP2011170688A JP2010034874A JP2010034874A JP2011170688A JP 2011170688 A JP2011170688 A JP 2011170688A JP 2010034874 A JP2010034874 A JP 2010034874A JP 2010034874 A JP2010034874 A JP 2010034874A JP 2011170688 A JP2011170688 A JP 2011170688A
Authority
JP
Japan
Prior art keywords
monitoring
monitoring target
unit
message
change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2010034874A
Other languages
Japanese (ja)
Inventor
Kanami Hashimoto
香奈美 橋本
Hajime Tamura
元 田村
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.)
Oki Networks Co Ltd
Original Assignee
Oki Networks 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 Oki Networks Co Ltd filed Critical Oki Networks Co Ltd
Priority to JP2010034874A priority Critical patent/JP2011170688A/en
Publication of JP2011170688A publication Critical patent/JP2011170688A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)
  • Selective Calling Equipment (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a monitoring device and method for acquiring status information about a monitoring target device, only when a status of the monitoring target device is changed, and also for generating image data. <P>SOLUTION: The monitoring device includes: a message receiving unit 121 for receiving messages 111 in real time from a plurality of monitoring target devices 30 and for storing the received messages 111 in a memory 11; an analysis unit 122 for analyzing whether the messages 111 acquired from the memory 11 show a change in a status of any one of the monitoring target devices 30; a collection part 123 for gathering status information 112 showing the status of change for a monitoring target device 30 showing the change when the messages 111 show the change in status and for storing the gathered status information 112 in the memory 11; and a communication control unit 124 for generating screen data 114 for display in a screen of a monitoring terminal 20 based on the status information 112 acquired from the memory 11 and for transmitting the image data to the monitoring terminal 20. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、監視対象装置の監視状態をユーザにリアルタイムに通知する監視装置、監視方法及びプログラムに関する。   The present invention relates to a monitoring device, a monitoring method, and a program for notifying a user of a monitoring state of a monitoring target device in real time.

従来から、装置監視システムでは、監視装置によりネットワーク上における監視の対象となる監視対象装置の運用状態及びハードウェア状態の監視が行われている。監視対象装置の状態を表示するHMI(Human Machine Interface)端末は、ユーザインターフェースとしてWeb画面を用いており、現在の監視対象装置の状態を画面に表示するために、HMI端末側から監視装置に対して最新情報取得の処理を行う。例えば、Web画面から監視装置に対して定期的に最新情報取得処理を行い、Web画面を更新する方法が一般的である。   Conventionally, in an apparatus monitoring system, the monitoring apparatus monitors the operation status and hardware status of a monitoring target apparatus to be monitored on a network. An HMI (Human Machine Interface) terminal that displays the status of a monitored device uses a Web screen as a user interface, and the HMI terminal side displays the current status of the monitored device on the screen to the monitoring device. To get the latest information. For example, a method of regularly performing the latest information acquisition process on a monitoring device from a Web screen and updating the Web screen is common.

図4は、従来のWeb画面を用いた装置監視システム500におけるWeb画面の更新方法を示す図である。装置監視システム500は、監視の対象となる監視対象装置70、監視対象装置70を監視する監視装置50及びHMI端末60から構成される。監視装置50は、監視サーバ52、監視対象装置70の状態を蓄積データとして格納するデータ記憶部53、及び、Web画面を生成するWebサーバ51から構成される。   FIG. 4 is a diagram showing a Web screen update method in the apparatus monitoring system 500 using a conventional Web screen. The device monitoring system 500 includes a monitoring target device 70 to be monitored, a monitoring device 50 that monitors the monitoring target device 70, and an HMI terminal 60. The monitoring device 50 includes a monitoring server 52, a data storage unit 53 that stores the status of the monitoring target device 70 as accumulated data, and a Web server 51 that generates a Web screen.

監視サーバ2は、監視対象装置70を所定の時間間隔で監視し、監視対象装置70より状態情報を取得して、取得した状態情報をデータ記憶部53に記憶する。Webサーバ51は、HMI端末60より情報取得要求を受信した後、蓄積データ記憶部53から状態情報を取得し、Web画面に表示するための表示用データを生成し、HMI端末60へ送信する。HMI端末60は、表示用データを受信して、Webブラウザで画面を表示する。   The monitoring server 2 monitors the monitoring target device 70 at predetermined time intervals, acquires status information from the monitoring target device 70, and stores the acquired status information in the data storage unit 53. After receiving the information acquisition request from the HMI terminal 60, the Web server 51 acquires status information from the accumulated data storage unit 53, generates display data to be displayed on the Web screen, and transmits the display data to the HMI terminal 60. The HMI terminal 60 receives the display data and displays a screen with a Web browser.

特許文献1では、監視対象であるプラントなどのデータを定期的に収集・保存し、保存したデータをHTTP(Hypertext Transfer Protocol)形式で送信するデータ通信機能を持つ中央処理装置に対して、端末より監視対象のデータのリクエストが行われたときは、リクエストに対してHTTP形式で送信されたデータを端末に表示する技術が開示されている。   In Patent Document 1, data from a plant or the like to be monitored is periodically collected and stored, and a central processing unit having a data communication function for transmitting the stored data in an HTTP (Hypertext Transfer Protocol) format from a terminal. A technique is disclosed in which when a request for data to be monitored is made, data transmitted in HTTP format in response to the request is displayed on a terminal.

特開2001−243152号公報JP 2001-243152 A

しかしながら、特許文献1に記載の技術では、監視対象装置に障害が発生した場合にも、端末から問い合わせがない限りユーザは障害を知ることができない。また、前記技術を用いて端末から監視装置への問い合わせ間隔を短くした場合、通信の負荷が比例的に増加する。また、監視対象装置に状態の変化がない場合でも、頻繁に端末から監視装置へアクセスするとともに、画面データを生成して負荷が増大するという問題があった。   However, with the technique described in Patent Document 1, even when a failure occurs in the monitoring target device, the user cannot know the failure unless there is an inquiry from the terminal. In addition, when the inquiry interval from the terminal to the monitoring device is shortened using the above technique, the communication load increases proportionally. Further, even when there is no change in the state of the monitoring target device, there is a problem that the monitoring device is frequently accessed from the terminal and screen data is generated to increase the load.

本発明は、このような問題を解決するためになされたものであり、監視対象装置の状態が変化した場合にのみ、監視装置が監視対象装置の状態情報を取得するとともに、画面データの生成を行う監視装置、監視方法及びプログラムを提供することを課題とする。   The present invention has been made to solve such a problem, and only when the status of the monitoring target device changes, the monitoring device acquires the status information of the monitoring target device and generates screen data. It is an object to provide a monitoring device, a monitoring method, and a program to be performed.

前記課題を解決するために、本発明に係る監視装置は、監視の対象となる複数の監視対象装置と、画面上で前記監視対象装置を監視する監視端末とを互いに通信可能に接続する監視装置であって、前記複数の監視対象装置からリアルタイムにメッセージを受信して、受信したメッセージを記憶部に格納するメッセージ受信部と、前記記憶部から取得した前記メッセージが何れの前記監視対象装置の状態の変化を示すか否かを分析する分析部と、前記メッセージが状態の変化を示しているときは、変化を示した前記監視対象装置から、変化の状態を示す状態情報を収集し、収集された状態情報を前記記憶部へ格納する収集部と、前記記憶部から取得した前記状態情報に基づいて、前記監視端末の前記画面に表示するための画面データを生成して、生成された画面データを前記監視端末へ送信する通信制御部と、を備えることを特徴とする。   In order to solve the above problems, a monitoring device according to the present invention is a monitoring device that connects a plurality of monitoring target devices to be monitored and a monitoring terminal that monitors the monitoring target device on a screen so that they can communicate with each other. A message receiving unit that receives a message in real time from the plurality of monitoring target devices and stores the received message in a storage unit, and the status of any of the monitoring target devices that is acquired from the storage unit When the message indicates a change in state, the analysis unit that analyzes whether or not the change indicates a change in state, collects state information indicating the change state from the monitoring target device that indicates the change. Generating state data to be displayed on the screen of the monitoring terminal based on the state information acquired from the storage unit and a collecting unit that stores the state information in the storage unit The generated screen data, characterized in that it comprises a communication control unit to be transmitted to the monitoring terminal.

ここで、監視対象装置は、状態が変化したときに当該監視対象装置の識別情報を含むメッセージを監視装置へ送信すると共に、状態情報の取得要求に対しては、障害内容を含む状態情報を監視装置へ送信するものである。
また、監視端末は、監視装置から画面データを受信することにより、Webブラウザを介して初期状態情報が表示された画面を更新するものである。
Here, when the status changes, the monitoring target device transmits a message including the identification information of the monitoring target device to the monitoring device, and monitors the status information including the failure content in response to the acquisition request for the status information. To be sent to the device.
The monitoring terminal updates the screen on which the initial state information is displayed via the Web browser by receiving screen data from the monitoring device.

本発明によれば、監視対象装置の状態が変化した場合にのみ、監視装置が監視対象装置の状態情報を取得する共に、画面データの生成を行う監視装置、監視方法及びプログラムを提供することが可能になる。   According to the present invention, it is possible to provide a monitoring device, a monitoring method, and a program for generating the screen data while the monitoring device acquires the status information of the monitoring target device only when the state of the monitoring target device changes. It becomes possible.

実施形態に係る監視システムの構成図である。It is a block diagram of the monitoring system which concerns on embodiment. 実施形態に係る監視装置の機能構成図である。It is a functional lineblock diagram of a monitoring device concerning an embodiment. 監視装置の動作を説明するフローチャートである。It is a flowchart explaining operation | movement of a monitoring apparatus. 従来のWeb画面を用いた装置監視システムにおけるWeb画面の更新方法を示す図である。It is a figure which shows the update method of the web screen in the apparatus monitoring system using the conventional web screen.

本発明に係る監視装置を含む監視システムについて、図1乃至図3を参照しながら実施形態を説明する。なお、実施形態を説明するにあたり、同様な構成又は機能を示す部位については、同一の符号を付し、その説明の重複を省略する。   An embodiment of a monitoring system including a monitoring device according to the present invention will be described with reference to FIGS. 1 to 3. Note that, in describing the embodiment, parts having similar configurations or functions are denoted by the same reference numerals, and redundant description thereof is omitted.

図1は、本実施形態に係る監視システム100の構成図である。図1に示すように、監視システム100は、監視装置10と、監視の対象となる複数の監視対象装置30a〜30n(以下、まとめて「監視対象装置30」ともいう)と、HMI端末20a〜20n(以下、まとめて「HMI端末20」ともいう)とを備えて構成され、IP(Internet Protocol)網40を介して、監視対象装置30とHMI端末20とが監視装置10に通信可能に接続されている。   FIG. 1 is a configuration diagram of a monitoring system 100 according to the present embodiment. As shown in FIG. 1, the monitoring system 100 includes a monitoring device 10, a plurality of monitoring target devices 30a to 30n (hereinafter, collectively referred to as “monitoring target devices 30”), and HMI terminals 20a to 20a. 20n (hereinafter collectively referred to as “HMI terminal 20”), and the monitoring target device 30 and the HMI terminal 20 are communicably connected to the monitoring device 10 via an IP (Internet Protocol) network 40. Has been.

監視装置10は、記憶部11と、制御部12と、通信部13とを備えて構成される。記憶部11は、図示しないメモリ、HDD(Hard Disk Drive)等で構成され、種々のプログラム及び情報を記憶する。制御部12は、CPU、メモリ、及びこれらの周辺回路等(いずれも図示せず)から構成される。制御部12は、記憶部11に記憶されるプログラムを実行することで様々な機能を実現する。   The monitoring device 10 includes a storage unit 11, a control unit 12, and a communication unit 13. The storage unit 11 includes a memory (not shown), an HDD (Hard Disk Drive), and the like, and stores various programs and information. The control unit 12 includes a CPU, a memory, and peripheral circuits thereof (not shown). The control unit 12 implements various functions by executing programs stored in the storage unit 11.

通信部13はLAN(Local Area Network)用のアダプタ装置、モデム等であって、制御部12の指示に従って動作し、HMI端末20及び監視対象装置30とデータの送受信を行う。
IP網40は、LAN、WAN(Wide Area Network)等であり、有線及び無線のどちらか一方、または両方で構成され、データ通信を実現する。IP網40内では、IPプロトコルに則って通信が行われる。
HMI端末10は、例えば、PC(Personal Computer)であり、監視装置10との間で通信を行う端末通信部22と、監視装置10より受信した画面データを画面に表示する表示部21とを備える。表示部21では、HTML(HyperText Markup Language)言語で記述された画面がWebブラウザを介して表示される。
The communication unit 13 is a LAN (Local Area Network) adapter device, a modem, and the like. The communication unit 13 operates according to instructions from the control unit 12 and transmits / receives data to / from the HMI terminal 20 and the monitoring target device 30.
The IP network 40 is a LAN, a WAN (Wide Area Network), or the like, and is configured by one or both of wired and wireless, and realizes data communication. In the IP network 40, communication is performed according to the IP protocol.
The HMI terminal 10 is, for example, a PC (Personal Computer), and includes a terminal communication unit 22 that communicates with the monitoring device 10 and a display unit 21 that displays screen data received from the monitoring device 10 on a screen. . The display unit 21 displays a screen described in HTML (HyperText Markup Language) language via a Web browser.

監視対象装置30は、例えば、プリンタ、PC(Personal Computer)、サーバ、中継装置(ルータ、ゲートウェイ等)、モデム等がその対象となる。監視対象装置30は、これらの状態が変化するごとに後記するメッセージ111(図2参照)を監視装置10へ送信する。   The monitoring target device 30 is, for example, a printer, a PC (Personal Computer), a server, a relay device (router, gateway, etc.), a modem, or the like. The monitoring target device 30 transmits a message 111 (see FIG. 2) to be described later to the monitoring device 10 every time these states change.

図2は、実施形態に係る監視装置10の機能構成図である。
監視装置10の記憶部11は、メッセージ111、状態情報112、ソケット通信情報113及び画面データ114を記憶する。メッセージ111及び状態情報112は、それぞれ監視対象装置30ごとに記憶部12に格納され、ソケット通信情報113及び画面データ114は、それぞれHMI端末20ごとに記憶部12に格納される。
監視装置10の制御部12は、メッセージ受信部121、分析部122、収集部123及び通信制御部124を備える。さらに、通信制御部124は、ソケット生成部125及び通知部126を備える。
FIG. 2 is a functional configuration diagram of the monitoring apparatus 10 according to the embodiment.
The storage unit 11 of the monitoring device 10 stores a message 111, state information 112, socket communication information 113, and screen data 114. The message 111 and the status information 112 are stored in the storage unit 12 for each monitoring target device 30, and the socket communication information 113 and the screen data 114 are stored in the storage unit 12 for each HMI terminal 20, respectively.
The control unit 12 of the monitoring apparatus 10 includes a message reception unit 121, an analysis unit 122, a collection unit 123, and a communication control unit 124. Further, the communication control unit 124 includes a socket generation unit 125 and a notification unit 126.

メッセージ受信部121は、リアルタイムに(逐次)複数の監視対象装置30からそれぞれメッセージ111を受信する。メッセージ111は、監視対象装置30に障害等の状態変化が発生したとき、あるいは、所定の処理が終了したときなどに監視装置10に送信される。監視対象装置30は複数備えられているが、監視対象装置30から監視装置10へのメッセージ111の送信は、他の監視対象装置30のメッセージ送信に依存することなくそれぞれ独立して、行われる。メッセージ受信部121は、受信したメッセージ111を記憶部11に格納する。   The message receiving unit 121 receives the message 111 from each of the plurality of monitoring target devices 30 in real time (sequentially). The message 111 is transmitted to the monitoring device 10 when a state change such as a failure occurs in the monitoring target device 30 or when a predetermined process is completed. Although a plurality of monitoring target devices 30 are provided, the transmission of the message 111 from the monitoring target device 30 to the monitoring device 10 is performed independently without depending on the message transmission of the other monitoring target devices 30. The message receiving unit 121 stores the received message 111 in the storage unit 11.

ここで、メッセージ受信部121におけるメッセージ111の受信と、分析部122、収集部123又は通信制御部124における処理はそれぞれ独自に並列に行う、所謂、マルチプロセス処理が可能である。よって、メッセージ受信部121は、監視対象装置30が送信したメッセージ111をリアルタイムに受信することが可能になる。   Here, the reception of the message 111 in the message reception unit 121 and the processing in the analysis unit 122, the collection unit 123, or the communication control unit 124 can be performed in parallel, so-called multi-process processing. Therefore, the message receiving unit 121 can receive the message 111 transmitted by the monitoring target device 30 in real time.

監視装置10と監視対象装置30とは、前記したようにIP網40を介して接続されており、監視対象装置30との通信は、例えば、SNMP(Simple Network Management Protocol、簡易ネットワーク管理プロトコル)における通信が可能である。   The monitoring device 10 and the monitoring target device 30 are connected via the IP network 40 as described above, and communication with the monitoring target device 30 is, for example, in SNMP (Simple Network Management Protocol). Communication is possible.

分析部122は、記憶部11からメッセージ111を取得し、メッセージ111の内容が、監視対象装置30の障害等の状態変化を示すメッセージ111か否かを分析する。状態変化を示すメッセージ111の内容には、例えば、状態変化が発生した監視対象装置30の装置ID(Identification:識別情報)、発生時刻、障害等の状態変化を示すフラッグ、障害箇所等が含まれる。そして、状態変化を示すメッセージの場合は、分析部122は、CPU(不図示)を介して、収集部123にその旨を通知する。   The analysis unit 122 acquires the message 111 from the storage unit 11 and analyzes whether or not the content of the message 111 is the message 111 indicating a state change such as a failure of the monitoring target device 30. The contents of the message 111 indicating the state change include, for example, a device ID (Identification: identification information) of the monitoring target device 30 in which the state change has occurred, an occurrence time, a flag indicating a state change such as a failure, a failure location, and the like. . And in the case of the message which shows a state change, the analysis part 122 notifies that to the collection part 123 via CPU (not shown).

収集部123は、この通知に基づいて、監視対象装置30の状態変化を示す情報(以下、「状態情報112」という)を再収集する。ここで、監視装置10が起動した直後に、収集部123は、メッセージ111の有無にかかわらず監視対象装置30の初期の状態情報112を初期状態情報として収集し、記憶部11に格納する。したがって、メッセージ111に基づく状態情報112の収集は二度目以降の収集に該当することになる。つまり、メッセージ111に基づく状態情報112の収集は再収集となる。   Based on this notification, the collection unit 123 recollects information indicating the state change of the monitoring target device 30 (hereinafter referred to as “state information 112”). Here, immediately after the monitoring device 10 is activated, the collection unit 123 collects the initial state information 112 of the monitoring target device 30 as initial state information regardless of the presence or absence of the message 111 and stores it in the storage unit 11. Therefore, the collection of the status information 112 based on the message 111 corresponds to the second and subsequent collections. That is, the collection of the state information 112 based on the message 111 is a recollection.

収集部123は、再収集した状態情報112を記憶部11に格納する。状態情報112は、プリンタを例に取ると、電源やファン等の異常に関する障害の詳細情報である。また、これらの障害の程度を、その障害の緊急度の観点からメジャー、マイナー、クリティカル等と分類することも可能である。なお、障害の詳細情報は前記したメッセージ111に含め、障害内容の特定が難しい詳細情報を状態情報112に含めるようにしてもよい。   The collection unit 123 stores the re-collected state information 112 in the storage unit 11. The status information 112 is detailed information about a failure related to an abnormality such as a power supply or a fan, for a printer. Also, the degree of these failures can be classified as major, minor, critical, etc. from the viewpoint of the urgency of the failure. The detailed information on the failure may be included in the above-described message 111, and the detailed information on which it is difficult to specify the content of the failure may be included in the status information 112.

このように、メッセージ受信部121が監視対象装置30からメッセージ111を受信する処理プロセスと、収集部123が監視対象装置30から状態情報を収集する処理プロセスとを独立して行うことにより、メッセージ受信部121は、障害や状態変化等の監視対象項目に属しないメッセージ、例えば、所定の業務処理の終了等のメッセージを監視対象装置30から受信することができ、収集部123は、メッセージ受信部121が前記した状態変化以外のメッセージを受信する処理を行っているときにも、並行して、状態情報112を監視対象装置30から収集することが可能になる。   In this way, the message reception unit 121 receives the message 111 by independently performing the processing process in which the message 111 is received from the monitoring target device 30 and the processing unit 123 in which the collection unit 123 collects the status information from the monitoring target device 30. The unit 121 can receive a message that does not belong to the monitoring target item such as a failure or a state change, for example, a message such as the end of a predetermined business process from the monitoring target device 30, and the collection unit 123 can receive the message receiving unit 121. However, it is possible to collect the status information 112 from the monitoring target device 30 in parallel even when processing for receiving a message other than the status change described above is performed.

通信制御部124は、収集部123から状態情報112を記憶部11に格納した旨の通知をCPU(不図示)から受け取ると、通知部126に通知する。通知部126は、個々のHMI端末20に対応して備えられている。通知部126は、記憶部11に格納されている状態情報112を元にHMI端末20の表示部21に表示する画面データ114を生成する。画面データ114は、HMI端末20毎に生成され、記憶部11に格納される。   When the communication control unit 124 receives notification from the CPU (not shown) that the state information 112 has been stored in the storage unit 11 from the collection unit 123, the communication control unit 124 notifies the notification unit 126. The notification unit 126 is provided corresponding to each HMI terminal 20. The notification unit 126 generates screen data 114 to be displayed on the display unit 21 of the HMI terminal 20 based on the state information 112 stored in the storage unit 11. The screen data 114 is generated for each HMI terminal 20 and stored in the storage unit 11.

前記したように、監視装置10が起動したときは、監視対象装置30の初期状態情報が記憶部11に格納されるため、監視対象装置30からメッセージ111を受信しない状態においては、通知部126は、この初期状態情報に基づいて初期画面データを生成し、予めHMI端末20に送信する。そして、メッセージ111を受信した場合は、制御部12は、該当する監視対象装置30の状態情報112に基づく画面データ114のみを生成し、HMI端末20へ送信する。そして、この画面データ114の送信により、HMI端末20における表示部21の画面が更新される。   As described above, since the initial state information of the monitoring target device 30 is stored in the storage unit 11 when the monitoring device 10 is activated, the notification unit 126 is in a state where the message 111 is not received from the monitoring target device 30. Based on this initial state information, initial screen data is generated and transmitted to the HMI terminal 20 in advance. When the message 111 is received, the control unit 12 generates only the screen data 114 based on the status information 112 of the corresponding monitoring target device 30 and transmits the screen data 114 to the HMI terminal 20. And the screen of the display part 21 in the HMI terminal 20 is updated by transmission of this screen data 114.

監視装置10とHMI端末20との間では、IP網40を介してソケット接続により通信が行われる。通信制御部124のソケット生成部125は、HMI端末20に状態情報を送信するために、TCP/IP(Transmission Control Protocol/Internet Protocol)送信用のソケットの開設を行う。通信制御部124におけるソケットとは、監視装置10のIPアドレス及びポート番号を含む通信情報(以下、「ソケット通信情報」という)である。ソケットの開設とは、ソケットを生成して、生成したソケット通信情報などを格納するためのメモリ領域を記憶部11に確保し、データ送信先であるHMI端末20の端末通信部21から接続要求(通信開始の通知に対応)を待ち受けることをいう。   Communication between the monitoring apparatus 10 and the HMI terminal 20 is performed by socket connection via the IP network 40. The socket generation unit 125 of the communication control unit 124 opens a TCP / IP (Transmission Control Protocol / Internet Protocol) transmission socket in order to transmit state information to the HMI terminal 20. The socket in the communication control unit 124 is communication information including the IP address and port number of the monitoring device 10 (hereinafter referred to as “socket communication information”). Opening a socket means creating a socket, securing a memory area for storing the generated socket communication information and the like in the storage unit 11, and requesting a connection from the terminal communication unit 21 of the HMI terminal 20 that is a data transmission destination ( Waiting for a notification of communication start).

一方、HMI端末20の端末通信部22は、監視装置10の通信制御部124から状態情報112を受信するための準備として、TCP/IP受信用ソケットの開設の準備を行う。HMI端末20側におけるソケットの開設とは、表示部21に状態情報112を表示するためにHMI端末20を起動したときにソケットを生成し、監視装置10に接続要求を行うことをいう。   On the other hand, the terminal communication unit 22 of the HMI terminal 20 prepares to open a TCP / IP reception socket as preparation for receiving the status information 112 from the communication control unit 124 of the monitoring device 10. The establishment of a socket on the HMI terminal 20 side means that a socket is generated when the HMI terminal 20 is activated to display the status information 112 on the display unit 21 and a connection request is made to the monitoring device 10.

そして、監視装置10は、HMI端末20から通信開始の通知を受信すると、IPアドレスを照合することによって通信を許可するか否かを判断し、HMI端末20に応答を返信する。ここで、監視装置10が、通信を許可する応答を返信すれば、HMI端末20と接続状態になり、受信側におけるソケットの開設が実行されたことになる。監視装置10では、ソケットの開設が完了すると、送信要求があるか否かをチェックする。この送信要求は、例えば、HMI端末20を起動したときなどに発生し、状態情報112をHMI端末20に送信するための要求である。通知部126は、記憶部11に格納されたソケット通信情報113を参照することにより、自身とHMI端末20と対応付ける。   When the monitoring device 10 receives a communication start notification from the HMI terminal 20, the monitoring device 10 determines whether to permit communication by checking the IP address, and returns a response to the HMI terminal 20. Here, if the monitoring device 10 returns a response permitting communication, the monitoring device 10 is connected to the HMI terminal 20 and the socket on the receiving side has been opened. When the opening of the socket is completed, the monitoring device 10 checks whether there is a transmission request. This transmission request is generated when, for example, the HMI terminal 20 is activated, and is a request for transmitting the status information 112 to the HMI terminal 20. The notification unit 126 associates itself with the HMI terminal 20 by referring to the socket communication information 113 stored in the storage unit 11.

HMI端末20の表示部21における表示画面は、Webブラウザとしての機能を有しており、監視装置10からの状態情報112を表示する。Webブラウザ上では、例えば、Java(登録商標)アプレットを組み込んで使用することが可能である。Javaアプレットを使用することにより、HTMLで記述された静的なWebページでは実現できない動的な表現が可能となる。   The display screen on the display unit 21 of the HMI terminal 20 has a function as a Web browser, and displays the status information 112 from the monitoring device 10. On a Web browser, for example, a Java (registered trademark) applet can be incorporated and used. By using a Java applet, dynamic expression that cannot be realized by a static Web page written in HTML becomes possible.

次に、図3に示すフローチャートを用いて監視装置10の動作を説明する。図3は、監視装置10の動作を説明するフローチャートである。
まず、監視装置10が起動すると、収集部123は、監視対象装置30の初期状態情報を取得し、記憶部11に格納する。(ステップS11)。通信制御部124は、収集部123から初期状態情報を記憶部11に格納した旨の通知を制御部12から受け取ると、通知部126に通知する。通知部126は、初期状態情報に基づいて、初期画面データを生成し、HMI端末20へ送信する(ステップS12)。
Next, the operation of the monitoring apparatus 10 will be described using the flowchart shown in FIG. FIG. 3 is a flowchart for explaining the operation of the monitoring apparatus 10.
First, when the monitoring device 10 is activated, the collection unit 123 acquires initial state information of the monitoring target device 30 and stores it in the storage unit 11. (Step S11). When the communication control unit 124 receives a notification from the control unit 12 that the initial state information is stored in the storage unit 11 from the collection unit 123, the communication control unit 124 notifies the notification unit 126. The notification unit 126 generates initial screen data based on the initial state information and transmits it to the HMI terminal 20 (step S12).

次に、監視装置10の制御部12におけるCPU(不図示)は、メッセージ受信部121がメッセージ111を受信したか否かを判定し、メッセージ111を受信したとき(ステップS13のYes)は、収集部123に通知する。メッセージ111を受信しないときは(ステップS13のNo)、他の処理を行う共に、メッセージ111の受信を待つ。   Next, the CPU (not shown) in the control unit 12 of the monitoring apparatus 10 determines whether or not the message receiving unit 121 has received the message 111. When the message 111 is received (Yes in step S13), the collection is performed. To the unit 123. When the message 111 is not received (No in step S13), other processing is performed and the reception of the message 111 is awaited.

収集部123は、記憶部11から受信したメッセージ111を取得して、状態変化を示すメッセージ111か否かを分析し、状態変化を示す場合は(ステップS14のYes)、制御部12におけるCPU(不図示)を介して収集部123へ通知する(ステップS15)。状態変化を示すメッセージ111でない場合(ステップS14のNo)は、終了する。通知を受けた収集部123は、状態情報112を再収集し、記憶部11へ格納する(ステップS16)。   The collection unit 123 acquires the message 111 received from the storage unit 11 and analyzes whether or not the message 111 indicates a state change. If the state change is indicated (Yes in step S14), the CPU ( Notification is made to the collection unit 123 via (not shown) (step S15). If it is not the message 111 indicating the state change (No in step S14), the process ends. Upon receiving the notification, the collection unit 123 recollects the state information 112 and stores it in the storage unit 11 (step S16).

収集部123は、状態情報112を監視対象装置30から収集した旨を、CPU(不図示)を介して通知部126へ通知する(ステップS17)。通知部126は、記憶部11から取得した状態情報112を元にHMI端末20に表示する画面データ114を生成し(ステップS18)、記憶部11へ格納する。通知部126は、画面データ114をHMI端末20へ送信する(ステップS19)。HMI端末20では、表示部21において画面データがWebブラウザを介して表示される。   The collection unit 123 notifies the notification unit 126 that the state information 112 has been collected from the monitoring target device 30 via the CPU (not shown) (step S17). The notification unit 126 generates screen data 114 to be displayed on the HMI terminal 20 based on the state information 112 acquired from the storage unit 11 (step S18), and stores the screen data 114 in the storage unit 11. The notification unit 126 transmits the screen data 114 to the HMI terminal 20 (step S19). In the HMI terminal 20, screen data is displayed on the display unit 21 via a Web browser.

以上により、監視装置10は、監視対象装置30からのメッセージ受信を契機に状態情報を更新するため、監視対象装置30状態変化から画面データ114が生成されてHMI端末20の表示部21に表示されるまでのタイムラグが、定期的にすべての監視対象装置30の状態情報を取得する場合に比べて小さくなる。   As described above, since the monitoring device 10 updates the state information when the message is received from the monitoring target device 30, the screen data 114 is generated from the state change of the monitoring target device 30 and displayed on the display unit 21 of the HMI terminal 20. The time lag until the time is smaller than in the case where the status information of all the monitoring target devices 30 is periodically acquired.

また、状態変化時のみに、監視対象装置30からメッセージ111の受信を行うことで、定期的にすべての監視対象装置30の状態情報112を取得する場合に比べて、通信負荷や監視装置10の負荷が小さくなる。
また、状態が変化した監視対象装置30の状態情報112のみを監視装置10が取得することで、1回当たりの通信量を減らすことができる。
Also, by receiving the message 111 from the monitoring target device 30 only when the state changes, the communication load and the monitoring device 10 of the monitoring device 10 can be compared with the case where the status information 112 of all the monitoring target devices 30 is periodically acquired. The load is reduced.
In addition, since the monitoring apparatus 10 acquires only the state information 112 of the monitoring target apparatus 30 whose state has changed, the communication amount per time can be reduced.

10 監視装置
11 記憶部
12 制御部
13 通信部
20、20a、20n HMI端末(監視端末)
21、21a、21n 表示部
22、22a、22n 端末通信部
30、30a、30n 監視対象装置
40 IP網
100 監視システム
111 メッセージ
112 状態情報
113 ソケット通信情報
114 画面データ
121 メッセージ受信部
122 分析部
123 収集部
124 通信制御部
125 ソケット生成部
126 通知部
DESCRIPTION OF SYMBOLS 10 Monitoring apparatus 11 Memory | storage part 12 Control part 13 Communication part 20, 20a, 20n HMI terminal (monitoring terminal)
21, 21a, 21n Display unit 22, 22a, 22n Terminal communication unit 30, 30a, 30n Monitoring target device 40 IP network 100 Monitoring system 111 Message 112 Status information 113 Socket communication information
114 screen data 121 message receiving unit 122 analyzing unit 123 collecting unit 124 communication control unit 125 socket generating unit 126 notifying unit

Claims (4)

監視の対象となる複数の監視対象装置と、画面上で前記監視対象装置を監視する監視端末とを互いに通信可能に接続する監視装置であって、
前記複数の監視対象装置からリアルタイムにメッセージを受信して、受信したメッセージを記憶部に格納するメッセージ受信部と、
前記記憶部から取得した前記メッセージが何れの前記監視対象装置の状態の変化を示すか否かを分析する分析部と、
前記メッセージが状態の変化を示しているときは、変化を示した前記監視対象装置から、変化の状態を示す状態情報を収集し、収集された状態情報を前記記憶部へ格納する収集部と、
前記記憶部から取得した前記状態情報に基づいて、前記監視端末の前記画面に表示するための画面データを生成して、生成された画面データを前記監視端末へ送信する通信制御部と、
を備えることを特徴とする監視装置。
A monitoring device that connects a plurality of monitoring target devices to be monitored and a monitoring terminal that monitors the monitoring target device on a screen in a communicable manner,
A message receiving unit that receives messages in real time from the plurality of monitoring target devices, and stores the received messages in a storage unit;
An analysis unit that analyzes whether the message acquired from the storage unit indicates a change in a state of the monitoring target device;
When the message indicates a change in state, a collecting unit that collects state information indicating the state of change from the monitoring target device that indicates the change, and stores the collected state information in the storage unit;
A communication control unit that generates screen data to be displayed on the screen of the monitoring terminal based on the state information acquired from the storage unit, and transmits the generated screen data to the monitoring terminal;
A monitoring device comprising:
前記収集部は、前記監視装置が起動したときは、前記複数の監視対象装置から初期状態情報を収集し、
前記通信制御部は、前記初期状態情報に基づいて、初期画面データを生成し、生成された初期画面データを前記監視端末へ予め送信し、前記画面データの送信により前記監視端末の画面が更新されることを特徴とする請求項1に記載の監視装置。
The collection unit collects initial state information from the plurality of monitoring target devices when the monitoring device is activated,
The communication control unit generates initial screen data based on the initial state information, transmits the generated initial screen data to the monitoring terminal in advance, and the screen of the monitoring terminal is updated by the transmission of the screen data. The monitoring apparatus according to claim 1.
監視の対象となる複数の監視対象装置と、画面上で前記監視対象装置を監視する監視端末とを互いに通信可能に接続する監視装置が実行する監視方法であって、
前記複数の監視対象装置からリアルタイムにメッセージを受信して、受信したメッセージを記憶部に格納するステップと、
前記記憶部から取得した前記メッセージが何れの前記監視対象装置の状態の変化を示すか否かを分析するステップと、
前記メッセージが状態の変化を示しているときは、変化を示した前記監視対象装置から、変化の状態を示す状態情報を収集し、収集された状態情報を前記記憶部へ格納するステップと、
前記記憶部から取得した前記状態情報に基づいて、前記監視端末の前記画面に表示するための画面データを生成して、生成された画面データを前記監視端末へ送信するステップと、
を備えることを特徴とする監視方法。
A monitoring method executed by a monitoring device that connects a plurality of monitoring target devices to be monitored and a monitoring terminal that monitors the monitoring target device on a screen in a communicable manner,
Receiving a message in real time from the plurality of devices to be monitored, and storing the received message in a storage unit;
Analyzing whether the message acquired from the storage unit indicates a change in the state of the monitoring target device; and
When the message indicates a change in state, collecting state information indicating the state of change from the monitoring target device indicating the change, and storing the collected state information in the storage unit;
Generating screen data to be displayed on the screen of the monitoring terminal based on the state information acquired from the storage unit, and transmitting the generated screen data to the monitoring terminal;
A monitoring method comprising:
請求項3に記載の監視方法を前記監視装置のコンピュータに実行させるためのプログラム。   A program for causing a computer of the monitoring apparatus to execute the monitoring method according to claim 3.
JP2010034874A 2010-02-19 2010-02-19 Monitoring device, monitoring method, and program Pending JP2011170688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010034874A JP2011170688A (en) 2010-02-19 2010-02-19 Monitoring device, monitoring method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010034874A JP2011170688A (en) 2010-02-19 2010-02-19 Monitoring device, monitoring method, and program

Publications (1)

Publication Number Publication Date
JP2011170688A true JP2011170688A (en) 2011-09-01

Family

ID=44684736

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010034874A Pending JP2011170688A (en) 2010-02-19 2010-02-19 Monitoring device, monitoring method, and program

Country Status (1)

Country Link
JP (1) JP2011170688A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016194881A (en) * 2015-04-02 2016-11-17 富士通株式会社 Information processor, information update program, and storage system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003323361A (en) * 2002-04-26 2003-11-14 Nippon Telegr & Teleph Corp <Ntt> Network device monitoring system, management device, network device and network device monitoring method
JP2006350651A (en) * 2005-06-15 2006-12-28 Canon Inc Monitoring device, control method thereof, and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003323361A (en) * 2002-04-26 2003-11-14 Nippon Telegr & Teleph Corp <Ntt> Network device monitoring system, management device, network device and network device monitoring method
JP2006350651A (en) * 2005-06-15 2006-12-28 Canon Inc Monitoring device, control method thereof, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016194881A (en) * 2015-04-02 2016-11-17 富士通株式会社 Information processor, information update program, and storage system

Similar Documents

Publication Publication Date Title
CN101651707B (en) Method for automatically acquiring user behavior log of network
JP5431454B2 (en) Wind turbine configuration management system and its central computer system
US9195419B2 (en) Print control system
US10091388B2 (en) Print control system and print control method
JP5935622B2 (en) Information processing apparatus, monitoring apparatus, information processing method, and monitoring program
JP2009259161A (en) Knowledge-based failure recovery support system, user terminal, relay server and knowledge supply server, and data relay method
EP1976258A1 (en) Information processing apparatus and computer usable medium therefor
US20160162764A1 (en) Print control system and print control method
JP2006011888A (en) Remote management system
JP2006268470A (en) Asynchronous communication method
JP5975396B2 (en) Device management system, management device and device used therefor
JP5560641B2 (en) Data management apparatus, data management program, and data management method
JP7013660B2 (en) Remote management mediators, remote management systems, remote management methods, and programs
JP2011170688A (en) Monitoring device, monitoring method, and program
JP2015005082A (en) Image forming apparatus, control method and program for image forming apparatus
JP2006178834A (en) Dependency relation information collecting system and method
JP5543896B2 (en) Mediation server, and access analysis method and program by the mediation server
JP2006085623A (en) Web monitoring system, data processing method and monitored apparatus
JP2018136876A (en) Monitoring device, method and program
JP2011138202A (en) Server device, server load distribution device, server load distribution method, and program
JP4787655B2 (en) Information processing apparatus, display control apparatus, information processing system, information processing method, display control method, information processing program, and display control program
JP6359584B2 (en) Gateway device and data collection system
JP2009123097A (en) Property management system, portable terminal, server, and program
JP2015090551A (en) Information processing system, proxy device, information processing method, and program
JP5360434B2 (en) COMMUNICATION DEVICE, COMMUNICATION MONITORING METHOD, AND COMMUNICATION MONITORING PROGRAM

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20120813

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130722

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130730

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20131126