JP2009032280A - Monitoring controller - Google Patents

Monitoring controller Download PDF

Info

Publication number
JP2009032280A
JP2009032280A JP2008245981A JP2008245981A JP2009032280A JP 2009032280 A JP2009032280 A JP 2009032280A JP 2008245981 A JP2008245981 A JP 2008245981A JP 2008245981 A JP2008245981 A JP 2008245981A JP 2009032280 A JP2009032280 A JP 2009032280A
Authority
JP
Japan
Prior art keywords
volatile memory
backup
sensor
program
control unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008245981A
Other languages
Japanese (ja)
Inventor
Junya Nakasone
純也 中曽根
Yoshihisa Onishi
義久 大西
Makoto Karasawa
誠 唐沢
Shigeo Tera
茂夫 寺
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2008245981A priority Critical patent/JP2009032280A/en
Publication of JP2009032280A publication Critical patent/JP2009032280A/en
Pending legal-status Critical Current

Links

Landscapes

  • Emergency Alarm Devices (AREA)
  • Alarm Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a monitoring controller capable of backing up and restoring a data of a system, and allowing quick restarting. <P>SOLUTION: This monitoring controller includes: a sensor for sensing a temperature, humidity, and the opening and closing of a contact point; a volatile memory for storing a measured data transmitted from the sensor, alarm information and mail transmission information based on the measured data, an operating system, a program and a set file for operating a control part, and a backup list indicating a content of backup; a nonvolatile memory for backing up the measured data, the alarm information, the mail transmission information, the operating system, the program and the set file, from the volatile memory after restarted; and the control part for confirming inconsistency and for restoring a deficient portion from the nonvolatile memory, by referring to the backup list and the data stored in the volatile memory, when restarted. <P>COPYRIGHT: (C)2009,JPO&amp;INPIT

Description

本発明は、温度、湿度、音声および接点動作を監視する監視コントローラに関し、特にシステムのデータバックアップおよび復旧が可能で、再起動を素早く行うことができる監視コントローラに関する。   The present invention relates to a monitoring controller that monitors temperature, humidity, sound, and contact operation, and more particularly to a monitoring controller that can perform data backup and recovery of a system and can be quickly restarted.

従来の技術として、一つの住宅もしくは部屋のセキュリティを監視する防災感知器や防犯検知器が接続され、メッセージ等を表示可能な表示部を有する複数の住宅情報盤と、それらを管理する警報監視盤とを有する集合住宅監視システムにおいて、警報監視盤から住宅情報盤に向けて発信され電気的にラッチされることにより表示可能なメッセージや、住宅情報盤に接続された警報装置からの情報等を、停電後の復旧時に再現可能な遠隔監視システムがある(例えば特許文献1)。   As a conventional technology, a disaster prevention detector or a crime prevention detector that monitors the security of a single house or room is connected, and a plurality of housing information panels having a display unit capable of displaying messages and the like, and an alarm monitoring panel for managing them In an apartment house monitoring system having a message that can be displayed by being transmitted and electrically latched from the alarm monitoring panel to the housing information panel, information from an alarm device connected to the housing information panel, etc. There is a remote monitoring system that can be reproduced at the time of recovery after a power failure (for example, Patent Document 1).

この遠隔監視システムは、各住宅情報盤に不揮発性のメモリであるEEPROMを搭載しており、メッセージを保存可能である。停電復旧後はROMやRAMに記憶されたプログラムとともにEEPROMのデータを読み込んで再起動することで、メッセージや警報装置からの情報等を再現可能である。
特開平10−269480号公報
In this remote monitoring system, each house information panel is equipped with an EEPROM which is a non-volatile memory, and can store messages. After the power failure is restored, the data stored in the EEPROM together with the program stored in the ROM or RAM is read and restarted, whereby the message, information from the alarm device, etc. can be reproduced.
Japanese Patent Laid-Open No. 10-269480

しかし、従来の遠隔監視システムによると、EEPROM等の不揮発性メモリを読み込んで再起動するため、揮発性メモリに比べ起動に時間を要するという問題がある。   However, according to a conventional remote monitoring system, since a nonvolatile memory such as an EEPROM is read and restarted, there is a problem that it takes longer time to start than a volatile memory.

従って、本発明の目的は、システムのデータバックアップおよび復旧が可能で、再起動を素早く行うことができる監視コントローラを提供することにある。   Accordingly, an object of the present invention is to provide a monitoring controller that can back up and restore a system and can be quickly restarted.

(1)本発明は上記目的を達成するため、温度と湿度と接点の開閉とを認知するセンサと、前記センサより発信された測定データと、前記測定データに基づく警報情報およびメール送信情報と、制御部を動作させるためのオペレーティングシステム、プログラム、設定ファイルと、バックアップの内容を示すバックアップリストとを記憶する揮発性メモリと、再起動後に前記揮発性メモリより前記測定データと前記警報情報と前記メール送信情報と前記オペレーティングシステムと前記プログラムと前記設定ファイルとをバックアップする不揮発性メモリと、再起動時に前記バックアップリストと前記揮発性メモリに保存されたデータを参照することにより、不一致を確認し、不足分を前記不揮発性メモリより復旧する制御部とからなる監視コントローラを提供する。 (1) In order to achieve the above object, the present invention provides a sensor for recognizing temperature, humidity, and contact opening / closing, measurement data transmitted from the sensor, alarm information and mail transmission information based on the measurement data, A volatile memory for storing an operating system, a program, a setting file for operating the control unit, and a backup list indicating backup contents, and the measurement data, the alarm information, and the mail from the volatile memory after restart Non-volatile memory that backs up the transmission information, the operating system, the program, and the configuration file, and confirms the inconsistency by referring to the data stored in the backup list and the volatile memory at the time of restart. Comprising a control unit for recovering minutes from the non-volatile memory To provide a controller.

このような構成によれば、各メモリ中のデータを分別して保存しているため、より詳細なデータバックアップ管理が可能となる。
(2)また、本発明は上記目的を達成するため、温度と湿度と接点の開閉とを認知するセンサと、前記センサより発信された温度および湿度履歴と、前記温度および湿度履歴に基づく警報情報およびメール送信情報と、制御部を動作させるためのオペレーティングシステム、プログラム、設定ファイルと、バックアップの内容を示すバックアップリストとを記憶する揮発性メモリと、再起動後に前記揮発性メモリより前記温度および湿度履歴と前記警報情報と前記メール送信情報と前記オペレーティングシステムと前記プログラムと前記設定ファイルとをバックアップする不揮発性メモリと、再起動時に前記バックアップリストと前記揮発性メモリに保存されたデータを参照することにより、不一致を確認し、不足分を前記不揮発性メモリより復旧する制御部とからなる監視コントローラを提供する。
According to such a configuration, since data in each memory is sorted and stored, more detailed data backup management can be performed.
(2) In order to achieve the above object, the present invention provides a sensor for recognizing temperature, humidity, and contact opening / closing, temperature and humidity history transmitted from the sensor, and alarm information based on the temperature and humidity history. And a volatile memory for storing the mail transmission information, an operating system, a program, a setting file for operating the control unit, and a backup list indicating the contents of the backup, and the temperature and humidity from the volatile memory after the restart Refer to the history, the alarm information, the mail transmission information, the non-volatile memory that backs up the operating system, the program, and the configuration file, and the backup list and the data stored in the volatile memory at the time of restart. Confirm the discrepancy by using the non-volatile memory. Providing a supervisory controller composed of a control unit to recover.

このような構成によれば、(1)の効果に加え、温度および湿度等の測定データを保存およびバックアップしているため、より詳細な監視の分析が可能となる。   According to such a configuration, in addition to the effect of (1), measurement data such as temperature and humidity is stored and backed up, so that more detailed monitoring analysis can be performed.

本発明によれば、監視コントローラのデータバックアップおよび復旧が可能で、再起動を素早く行うことができる。   According to the present invention, data backup and recovery of the monitoring controller is possible, and restarting can be performed quickly.

〔第1の実施の形態〕
以下に、本発明の第1の実施の形態を図面を参考にして詳細に説明する。
(監視コントローラの構成)
図1は、本発明の第1の実施の形態に関する監視コントローラの構成を示す概略図である。
[First Embodiment]
The first embodiment of the present invention will be described below in detail with reference to the drawings.
(Monitoring controller configuration)
FIG. 1 is a schematic diagram showing a configuration of a monitoring controller according to the first embodiment of the present invention.

この監視コントローラ1は、内部にCPU(Central Processing Unit)等の制御部やSRAM(Static Random Access Memory)等の記憶媒体を有し外部との接続端子としてLANケーブル209が接続されたイーサネット(登録商標)端子204とRS−232C端子207と入出力端子200とを有するセンササーバ10と、各センサと接続されてセンササーバ10および認証キーソケットと電源と信号をともに送信可能な1−WIRE201および208により接続される接点ユニット11と、音声ユニット付きの認証キーソケット12と、ドアの開閉を検知する有線のドアセンサ13と、窓の開閉を検知する有線の窓センサ14と、各無線センサの信号を受信する無線受信部15と、窓の開閉を検知する無線の窓センサ16と、非常状態を送信するための無線の非常スイッチ17とを有する。   The monitoring controller 1 includes an Ethernet (registered trademark) having a control unit such as a CPU (Central Processing Unit) and a storage medium such as an SRAM (Static Random Access Memory) and a LAN cable 209 connected as an external connection terminal. ) By the sensor server 10 having the terminal 204, the RS-232C terminal 207, and the input / output terminal 200, and the 1-WIRE 201 and 208 connected to each sensor and capable of transmitting both the sensor server 10, the authentication key socket, the power source, and the signal. Receives signals from the contact unit 11 to be connected, an authentication key socket 12 with a voice unit, a wired door sensor 13 that detects opening and closing of a door, a wired window sensor 14 that detects opening and closing of a window, and each wireless sensor. Wireless receiver 15 , A wireless window sensor 16 for detecting opening and closing of the window, and a wireless emergency switch 17 for transmitting an emergency state.

センササーバ10、接点ユニット11、および認証キーソケット12はそれぞれ電力供給および信号送信が可能な1−WIRE201、および208にて接続されている。ドアセンサ13、窓センサ14、窓センサ16、および非常スイッチ17が設置された設備は監視され、各センサからの異常信号は接点ユニット11を介しセンササーバ10に送信され、異常ログは内部の記憶装置に記録されて、LANケーブル209を介して外部ネットワーク上の機器に情報送信が可能である。監視の実行、および解除は認証キーソケット12に図示しない専用の認証キーを用いて照合することで変更可能である。   The sensor server 10, the contact unit 11, and the authentication key socket 12 are connected by 1-WIRE 201 and 208 capable of supplying power and transmitting signals, respectively. The equipment in which the door sensor 13, the window sensor 14, the window sensor 16, and the emergency switch 17 are installed is monitored, an abnormality signal from each sensor is transmitted to the sensor server 10 via the contact unit 11, and an abnormality log is stored in an internal storage device. The information can be transmitted to a device on the external network via the LAN cable 209. The execution and cancellation of monitoring can be changed by collating the authentication key socket 12 with a dedicated authentication key (not shown).

図2は、本発明の第1の実施の形態に関する監視コントローラの構成を示すブロック図である。   FIG. 2 is a block diagram showing the configuration of the monitoring controller according to the first embodiment of the present invention.

センササーバ10は、信号入出力部20と信号処理部30とからなり、各部に共通して各信号回路を駆動する駆動回路301を含んだCPU等の電子部品からなる主制御部300が設置される。   The sensor server 10 includes a signal input / output unit 20 and a signal processing unit 30, and a main control unit 300 including an electronic component such as a CPU including a drive circuit 301 that drives each signal circuit in common with each unit is installed. The

信号入出力部20は、1−WIRE201により接点ユニット11に接続される入出力端子200と、イーサネット(登録商標)端子204と信号線203により接続されてイーサネット(登録商標)信号を処理するためのドライバ202と、RS−232C端子207と信号線206により接続されてRS−232C信号を処理するためのRS−232Cドライバ205とを有する。   The signal input / output unit 20 is connected to the contact unit 11 by the 1-WIRE 201, the Ethernet (registered trademark) terminal 204, and the signal line 203 to process the Ethernet (registered trademark) signal. It has a driver 202 and an RS-232C driver 205 connected to the RS-232C terminal 207 and the signal line 206 for processing an RS-232C signal.

信号処理部30は、時刻信号を主制御部300へ発信する時計回路302と、記憶部310を有する。記憶部310は、主制御部300に接続され揮発性の記憶媒体であるSRAM311と、SRAM311に接続され不揮発性の記憶媒体であるフラッシュメモリ312と、SRAM311に電力を供給する電源を監視する電源監視部313と、電力供給部40からSRAM311に電力供給されない場合に補助的に電力を供給するバックアップ電源314とから構成される。   The signal processing unit 30 includes a clock circuit 302 that transmits a time signal to the main control unit 300 and a storage unit 310. The storage unit 310 is connected to the main control unit 300 and includes a SRAM 311 that is a volatile storage medium, a flash memory 312 that is connected to the SRAM 311 and a nonvolatile storage medium, and a power supply monitor that monitors a power supply that supplies power to the SRAM 311. 313 and a backup power source 314 that supplies power supplementarily when power is not supplied from the power supply unit 40 to the SRAM 311.

接点ユニット11は、Ch1からCh8の8チャンネルからなる入出力部111を有する8chアドレススイッチ110を有し、各チャンネルからドアセンサ13、窓センサ14、および無線受信部15に接続されている。   The contact unit 11 has an 8-channel address switch 110 having an input / output unit 111 composed of eight channels Ch1 to Ch8, and is connected to the door sensor 13, the window sensor 14, and the wireless receiver 15 from each channel.

電力供給部40は、AC100Vを供給するコンセントに接続されるための電源コネクタ400と、入力されるAC電源のノイズを除去するノイズフィルタ401と、AC100Vの電源をDC5Vに変換するスイッチング電源部402と、DC5VをDC3.2Vに降圧するレギュレータ回路403と、DC3.2VをDC1.8Vに降圧するレギュレータ回路404とを有する。   The power supply unit 40 includes a power connector 400 for connection to an outlet that supplies AC 100V, a noise filter 401 that removes noise from the input AC power, and a switching power unit 402 that converts the AC 100V power to DC 5V. , A regulator circuit 403 for stepping down DC5V to DC3.2V and a regulator circuit 404 for stepping down DC3.2V to DC1.8V.

また、電力供給部40は、DC1.8V、3.2V、5Vの3種類の電圧を出力できるため、監視コントローラ1の各部の定格電圧に適した電力を供給可能である。
(記憶領域の構成)
図3は、本発明の第1の実施の形態に関するSRAMおよびフラッシュメモリの記憶領域構成を示す概略図である。
Further, since the power supply unit 40 can output three types of voltages of DC 1.8 V, 3.2 V, and 5 V, it is possible to supply power suitable for the rated voltage of each part of the monitoring controller 1.
(Storage area configuration)
FIG. 3 is a schematic diagram showing the storage area configuration of the SRAM and the flash memory according to the first embodiment of the present invention.

SRAM311は、記憶領域を分割して独立的に扱う事が可能で各領域にそれぞれ、各プログラムを共通して操作しセンササーバ10の各部を管理するオペレーティングシステム記憶領域311Aと、センササーバ10の各部を動作させるためのプログラム記憶領域311Bと、監視コントローラ1のユーザーによって設定可能なオペレーティングシステムおよびプログラムの設定を記憶する設定ファイル記憶領域311Cとを記憶している。   The SRAM 311 divides the storage area and can be handled independently, and each area has an operating system storage area 311A for operating each program in common and managing each part of the sensor server 10, and each part of the sensor server 10. Are stored in a program storage area 311B for setting the operating system and program settings that can be set by the user of the monitoring controller 1.

また、SRAM311の各領域に、監視コントローラ1において異常が発生した場合に管理者に送られるメールの履歴を記憶するメールログファイル記憶領域311Dと、メールログファイル記憶領域311Dの記憶領域を越えた場合に作成日時の古い物からオールドファイルとして保存されるメールログファイルオールド記憶領域311Eと、監視コントローラ1において発生した異常について詳細情報の履歴を記憶する警報ログファイル記憶領域311Fと、警報ログファイル記憶領域311Fの記憶領域を越えた場合に作成日時の古い物からオールドファイルとして保存される警報ログファイルオールド記憶領域311Gとを記憶している。   Further, when the storage area of the mail log file storage area 311D and the storage area of the mail log file storage area 311D are exceeded in each area of the SRAM 311 when the abnormality occurs in the monitoring controller 1, the history of the mail sent to the administrator is stored. A mail log file old storage area 311E stored as an old file from an object with an old creation date and time, an alarm log file storage area 311F for storing a history of detailed information regarding an abnormality occurring in the monitoring controller 1, and an alarm log file storage area An alarm log file old storage area 311G that is stored as an old file from the oldest created date and time when the storage area of 311F is exceeded is stored.

フラッシュメモリ312は、記憶領域を分割して独立的に扱う事が可能で、バックアップ領域312Aからバックアップ領域312Gにかけての各領域に、SRAM311のオペレーティングシステム記憶領域311Aから警報ログファイルオールド記憶領域311Gのそれぞれに対応した情報が複製されている。   The flash memory 312 can be handled independently by dividing the storage area. Each area from the backup area 312A to the backup area 312G includes an operating system storage area 311A to an alarm log file old storage area 311G in the SRAM 311. Information corresponding to is copied.

SRAM311には、フラッシュメモリ312へ各バックアップファイルが作成された日時等のファイル情報が各記憶領域内にバックアップリスト311Hとして保存される。
(第1の実施の形態の動作)
以下に、本発明の第1の実施の形態における監視コントローラの動作を図1から図5を参照しつつ説明する。
The SRAM 311 stores file information such as the date and time when each backup file was created in the flash memory 312 as a backup list 311H in each storage area.
(Operation of the first embodiment)
The operation of the monitoring controller according to the first embodiment of the present invention will be described below with reference to FIGS.

図4は、本発明の第1の実施の形態に関するセンササーバの工場出荷時の再起動動作を示すフローチャートである。   FIG. 4 is a flowchart showing a restart operation at the time of factory shipment of the sensor server according to the first embodiment of the present invention.

まず、工場出荷状態ではゼロデータが記憶されているSRAM311の記憶領域を分割し、オペレーティングシステム記憶領域311Aにオペレーティングシステムを、プログラム記憶領域311Bにプログラムを、また設定ファイル記憶領域311Cにデフォルトの設定ファイルをインストールする(s10)。   First, in the factory-shipped state, the storage area of the SRAM 311 in which zero data is stored is divided, the operating system storage area 311A is the operating system, the program storage area 311B is the program, and the setting file storage area 311C is the default setting file. Is installed (s10).

次に、センササーバ10を操作し、再起動する(s11)。センササーバ10の主制御部300は、SRAM311の各記憶領域に記憶されたバックアップリスト311Hを読み込み、バックアップリスト311H内のファイル作成時のタイムスタンプを参照する(s12)。   Next, the sensor server 10 is operated and restarted (s11). The main control unit 300 of the sensor server 10 reads the backup list 311H stored in each storage area of the SRAM 311 and refers to the time stamp at the time of file creation in the backup list 311H (s12).

初期再起動の時点ではバックアップファイルは存在していないため、主制御部300はバックアップリスト311Hを参照することにより、フラッシュメモリ312内にデータが存在していないことを認識する。認識した後、主制御部300は、SRAM311内のデータをフラッシュメモリ312にコピーし、バックアップを実行する(s13)。   Since the backup file does not exist at the time of the initial restart, the main control unit 300 recognizes that no data exists in the flash memory 312 by referring to the backup list 311H. After the recognition, the main control unit 300 copies the data in the SRAM 311 to the flash memory 312 and executes backup (s13).

次に、主制御部300は、SRAM311からフラッシュメモリ312へとバックアップされたデータのファイル名とデータ容量およびタイムスタンプを含むバックアップの詳細データをバックアップリスト311Hへ保存する(s14)。   Next, the main control unit 300 saves detailed backup data including the file name, data capacity, and time stamp of the data backed up from the SRAM 311 to the flash memory 312 in the backup list 311H (s14).

図5は、本発明の第1の実施の形態に関するセンササーバの再起動動作を示すフローチャートである。   FIG. 5 is a flowchart showing the restarting operation of the sensor server according to the first embodiment of the present invention.

まず、主制御部300は、SRAM311内の設定ファイル記憶領域311Cより再起動設定時間を読み込み、時計回路302が発信する時刻情報を参照する(s20)。設定時間になるまでは同動作を繰り返し(s20;NO)、設定時刻になったら(s20;YES)、センササーバ10を再起動する(s21)。   First, the main control unit 300 reads the restart setting time from the setting file storage area 311C in the SRAM 311 and refers to the time information transmitted by the clock circuit 302 (s20). The same operation is repeated until the set time is reached (s20; NO), and when the set time is reached (s20; YES), the sensor server 10 is restarted (s21).

次に、主制御部300は、バックアップリスト311Hを参照し(s22)、SRAM311に保存された各ファイルのタイムスタンプと照合する(s23)。バックアップリスト311Hとタイムスタンプに不一致がある場合(s24;YES)、まず、フラッシュメモリ312にバックアップされているにも関わらず、ある不具合でSRAM311内から消えてしまったファイルを復元する(s25)。   Next, the main control unit 300 refers to the backup list 311H (s22) and collates with the time stamp of each file stored in the SRAM 311 (s23). If there is a discrepancy between the backup list 311H and the time stamp (s24; YES), first, a file that has been deleted from the SRAM 311 due to a certain problem although it is backed up in the flash memory 312 is restored (s25).

次に、バックアップリスト311Hとタイムスタンプに不一致がない場合(s24;NO)、もしくはs25を実行後、前回のバックアップ以降に更新保存、追加および削除等の動作により新規で変更されたデータをSRAM311からフラッシュメモリ312へバックアップする(s26)。この時、オペレーティングシステム記憶領域311A、プログラム記憶領域311B、および設定ファイル記憶領域311Cに関しては変更分のみ新たにバックアップし、その他のファイルについてはすべてのファイルをフラッシュメモリ312へバックアップする。次に、s26において行われたバックアップ動作に基づくバックアップリストを作成し、バックアップリスト311Hを更新する(s27)。
(第1の実施の形態の効果)
上記した実施の形態によると、SRAM311に保存されたデータによりセンササーバ10を動作させ、フラッシュメモリ312にバックアップデータを保存することにより、電源供給がストップする等の不測の事態により揮発型メモリであるSRAM311のデータが消えてしまった場合にも復旧が可能である。
Next, when there is no discrepancy between the backup list 311H and the time stamp (s24; NO), or after executing s25, new and changed data is updated from the SRAM 311 by operations such as update storage, addition, and deletion after the previous backup. Back up to the flash memory 312 (s26). At this time, the operating system storage area 311A, the program storage area 311B, and the setting file storage area 311C are newly backed up only for the change, and all other files are backed up to the flash memory 312. Next, a backup list based on the backup operation performed in s26 is created, and the backup list 311H is updated (s27).
(Effects of the first embodiment)
According to the above-described embodiment, the sensor server 10 is operated by the data stored in the SRAM 311 and the backup data is stored in the flash memory 312, so that the volatile memory is used due to an unexpected situation such as power supply being stopped. Even if the data in the SRAM 311 is lost, the data can be recovered.

また、SRAM311は読み込み、および書き込みの動作が不揮発性メモリに比べて速いため、通常動作および再起動の処理速度が向上する。また、データ検証のためにバックアップリスト311HとSRAM311内のヘッダ情報のみを参照しており、全データを読み込まないため、再起動に要する時間が短縮される。   In addition, since the SRAM 311 performs reading and writing operations faster than the nonvolatile memory, the processing speed of normal operation and restart is improved. Further, since only the backup list 311H and the header information in the SRAM 311 are referred to for data verification, and all data is not read, the time required for restart is shortened.

また、定期的に再起動を行うことによりセンササーバ10の主制御部300内に設置される図示しない一時記憶メモリ等のメンテナンスを行うことができ、センササーバの動作安定性向上となる。
〔第2の実施の形態〕
(第2の実施の形態の構成)
図6は、本発明の第2の実施の形態に関するSRAMおよびフラッシュメモリの記憶領域構成を示す概略図である。なお、以下の説明において、第1の実施の形態と同一の構成および機能を有する部分については共通の符号を付している。
Further, by periodically restarting, maintenance of a temporary storage memory (not shown) installed in the main control unit 300 of the sensor server 10 can be performed, and the operational stability of the sensor server is improved.
[Second Embodiment]
(Configuration of Second Embodiment)
FIG. 6 is a schematic diagram showing the storage area configuration of the SRAM and the flash memory according to the second embodiment of the present invention. In the following description, parts having the same configuration and function as those of the first embodiment are denoted by common reference numerals.

SRAM311は、各センサによって測定される温度や湿度等の測定情報を記憶する拡張ログファイル記憶領域311Iを有する。フラッシュメモリ312は、拡張ログファイル記憶領域311Iをバックアップして記憶するバックアップ領域312Iを有する。   The SRAM 311 has an extended log file storage area 311I for storing measurement information such as temperature and humidity measured by each sensor. The flash memory 312 has a backup area 312I for backing up and storing the extended log file storage area 311I.

拡張ログファイル記憶領域311Iのバックアップ動作は、更新分のみのバックアップではなく、ミラーリングにより行う。   The backup operation of the extended log file storage area 311I is performed by mirroring instead of backup only for the update.

拡張ログファイル記憶領域311Iは、それぞれ64KBの容量を有する15の記憶領域に分割されており、1日あたりの温度、および湿度の測定データを例えば、64KBまでと設定することにより最大15日分のログを保存可能である。なお、1から15までナンバリングされた各記憶領域に、ログが順番に繰り返し保存され、最新の書き込み位置をポインタにより記憶することで常に最新の15日分のログを保持可能である。
(第2の実施の形態の効果)
上記した実施の形態によると、第1の実施の形態の効果に加え、メールログファイルや警報ログファイルと同様に拡張ログを保存、およびバックアップ可能にしたことで、監視コントローラはセキュリティとしての監視だけでなく、データ測定が可能となるため、より詳細な監視体制を構築することが可能である。
The extended log file storage area 311I is divided into 15 storage areas each having a capacity of 64 KB. By setting the temperature and humidity measurement data per day to, for example, 64 KB, a maximum of 15 days can be stored. Logs can be saved. In addition, logs are repeatedly stored in order in each storage area numbered from 1 to 15, and the latest 15 days of logs can always be held by storing the latest writing position with a pointer.
(Effect of the second embodiment)
According to the above-described embodiment, in addition to the effects of the first embodiment, the extended log can be saved and backed up in the same manner as the mail log file and the alarm log file, so that the monitoring controller can only monitor as security. In addition, since data can be measured, a more detailed monitoring system can be established.

本発明の第1の実施の形態に関する監視コントローラの構成を示す概略図である。It is the schematic which shows the structure of the monitoring controller regarding the 1st Embodiment of this invention. 本発明の第1の実施の形態に関する監視コントローラの構成を示すブロック図である。It is a block diagram which shows the structure of the monitoring controller regarding the 1st Embodiment of this invention. 本発明の第1の実施の形態に関するSRAMおよびフラッシュメモリの記憶領域構成を示す概略図である。1 is a schematic diagram showing a storage area configuration of an SRAM and a flash memory according to a first embodiment of the present invention. 本発明の第1の実施の形態に関するセンササーバの工場出荷時の再起動動作を示すフローチャートである。It is a flowchart which shows the restarting operation at the time of factory shipment of the sensor server regarding the 1st Embodiment of this invention. 本発明の第1の実施の形態に関するセンササーバの再起動動作を示すフローチャートである。It is a flowchart which shows the restarting operation | movement of the sensor server regarding the 1st Embodiment of this invention. 本発明の第2の実施の形態に関するSRAMおよびフラッシュメモリの記憶領域構成を示す概略図である。It is the schematic which shows the storage area structure of SRAM and flash memory regarding the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

1…監視コントローラ、10…センササーバ、11…接点ユニット、12…認証キーソケット、13…ドアセンサ、14…窓センサ、15…無線受信部、16…窓センサ、17…非常スイッチ、20…信号入出力部、30…信号処理部、40…電力供給部、110…アドレススイッチ、111…入出力部、200…入出力端子、201…1−WIRE、202…ドライバ、203…信号線、204…イーサネット(登録商標)端子、205…ドライバ、206…信号線、207…RS−232C端子、208…1−WIRE、209…LANケーブル、300…主制御部、301…駆動回路、302…時計回路、310…記憶部、311…SRAM、311A…オペレーティングシステム記憶領域、311B…プログラム記憶領域、311C…設定ファイル記憶領域、311D…メールログファイル記憶領域、311E…メールログファイルオールド記憶領域、311F…警報ログファイル記憶領域、311G…警報ログファイルオールド記憶領域、311H…バックアップリスト、311I…拡張ログファイル記憶領域、312…フラッシュメモリ、312A…バックアップ領域、312G…バックアップ領域、312I…バックアップ領域、313…電源監視部、314…バックアップ電源、400…電源コネクタ、401…ノイズフィルタ、402…スイッチング電源部、403…レギュレータ回路、404…レギュレータ回路 DESCRIPTION OF SYMBOLS 1 ... Monitoring controller, 10 ... Sensor server, 11 ... Contact unit, 12 ... Authentication key socket, 13 ... Door sensor, 14 ... Window sensor, 15 ... Wireless receiver, 16 ... Window sensor, 17 ... Emergency switch, 20 ... Signal input Output unit 30 ... Signal processing unit 40 ... Power supply unit 110 ... Address switch 111 ... Input / output unit 200 ... Input / output terminal 201 ... 1-WIRE 202 ... Driver 203 ... Signal line 204 ... Ethernet (Registered trademark) terminal, 205 ... driver, 206 ... signal line, 207 ... RS-232C terminal, 208 ... 1-WIRE, 209 ... LAN cable, 300 ... main controller, 301 ... drive circuit, 302 ... clock circuit, 310 ... Storage unit, 311 ... SRAM, 311A ... Operating system storage area, 311B ... Program storage area, 311C Setting file storage area, 311D ... Mail log file storage area, 311E ... Mail log file old storage area, 311F ... Alarm log file storage area, 311G ... Alarm log file old storage area, 311H ... Backup list, 311I ... Extended log file storage 312 ... Flash memory, 312A ... Backup area, 312G ... Backup area, 312I ... Backup area, 313 ... Power supply monitoring unit, 314 ... Backup power supply, 400 ... Power connector, 401 ... Noise filter, 402 ... Switching power supply unit, 403 ... Regulator circuit, 404 ... Regulator circuit

Claims (4)

温度と湿度と接点の開閉とを認知するセンサと、
前記センサより発信された測定データと、前記測定データに基づく警報情報およびメール送信情報と、制御部を動作させるためのオペレーティングシステム、プログラム、設定ファイルと、バックアップの内容を示すバックアップリストとを記憶する揮発性メモリと、
再起動後に前記揮発性メモリより前記測定データと前記警報情報と前記メール送信情報と前記オペレーティングシステムと前記プログラムと前記設定ファイルとをバックアップする不揮発性メモリと、
再起動時に前記バックアップリストと前記揮発性メモリに保存されたデータを参照することにより、不一致を確認し、不足分を前記不揮発性メモリより復旧する制御部とからなる監視コントローラ。
A sensor for recognizing temperature, humidity, and contact opening and closing;
Stores measurement data transmitted from the sensor, alarm information and e-mail transmission information based on the measurement data, an operating system for operating the control unit, a program, a setting file, and a backup list indicating backup contents Volatile memory,
A non-volatile memory that backs up the measurement data, the alarm information, the mail transmission information, the operating system, the program, and the configuration file from the volatile memory after restart;
A monitoring controller comprising a control unit that confirms a mismatch by referring to the backup list and data stored in the volatile memory at the time of restart, and recovers the shortage from the nonvolatile memory.
温度と湿度と接点の開閉とを認知するセンサと、
前記センサより発信された温度および湿度履歴と、前記温度および湿度履歴に基づく警報情報およびメール送信情報と、制御部を動作させるためのオペレーティングシステム、プログラム、設定ファイルと、バックアップの内容を示すバックアップリストとを記憶する揮発性メモリと、
再起動後に前記揮発性メモリより前記温度および湿度履歴と前記警報情報と前記メール送信情報と前記オペレーティングシステムと前記プログラムと前記設定ファイルとをバックアップする不揮発性メモリと、
再起動時に前記バックアップリストと前記揮発性メモリに保存されたデータを参照することにより、不一致を確認し、不足分を前記不揮発性メモリより復旧する制御部とからなる監視コントローラ。
A sensor for recognizing temperature, humidity, and contact opening and closing;
Temperature and humidity history transmitted from the sensor, alarm information and mail transmission information based on the temperature and humidity history, operating system, program, setting file for operating the control unit, and backup list indicating backup contents Volatile memory for storing
A non-volatile memory that backs up the temperature and humidity history, the alarm information, the mail transmission information, the operating system, the program, and the setting file from the volatile memory after restart;
A monitoring controller comprising a control unit that confirms a mismatch by referring to the backup list and data stored in the volatile memory at the time of restart, and recovers the shortage from the nonvolatile memory.
前記制御部は、復旧後に復旧日時および復旧回数を前記不揮発性メモリにバックアップすることを特徴とする請求項1または2に記載の監視コントローラ。   The monitoring controller according to claim 1, wherein the control unit backs up a recovery date and time and a recovery count in the nonvolatile memory after the recovery. 前記制御部は、復旧後に前記揮発性メモリのオペレーティングシステム、プログラム、設定ファイルの変更分を前記不揮発性メモリにバックアップすることを特徴とする請求項1または2に記載の監視コントローラ。   The monitoring controller according to claim 1, wherein the control unit backs up changes in the operating system, program, and setting file of the volatile memory to the nonvolatile memory after recovery.
JP2008245981A 2008-09-25 2008-09-25 Monitoring controller Pending JP2009032280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008245981A JP2009032280A (en) 2008-09-25 2008-09-25 Monitoring controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008245981A JP2009032280A (en) 2008-09-25 2008-09-25 Monitoring controller

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006086221A Division JP4878886B2 (en) 2006-03-27 2006-03-27 Monitoring controller and monitoring controller restart method

Publications (1)

Publication Number Publication Date
JP2009032280A true JP2009032280A (en) 2009-02-12

Family

ID=40402658

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008245981A Pending JP2009032280A (en) 2008-09-25 2008-09-25 Monitoring controller

Country Status (1)

Country Link
JP (1) JP2009032280A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110164082A (en) * 2019-06-21 2019-08-23 山东大学 The static controller design method and system of home security alarm system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11283147A (en) * 1998-03-31 1999-10-15 Fuji Electric Co Ltd Gas alarm
JP2001130345A (en) * 1999-11-10 2001-05-15 Nec Corp Device and method for recording on-vehicle system operation information
JP2007264802A (en) * 2006-03-27 2007-10-11 Sanyo Electric Co Ltd Monitor controller and monitor controller restarting method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11283147A (en) * 1998-03-31 1999-10-15 Fuji Electric Co Ltd Gas alarm
JP2001130345A (en) * 1999-11-10 2001-05-15 Nec Corp Device and method for recording on-vehicle system operation information
JP2007264802A (en) * 2006-03-27 2007-10-11 Sanyo Electric Co Ltd Monitor controller and monitor controller restarting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110164082A (en) * 2019-06-21 2019-08-23 山东大学 The static controller design method and system of home security alarm system

Similar Documents

Publication Publication Date Title
US8310698B2 (en) Image forming apparatus and activating method thereof
KR101837155B1 (en) IoT device power remote management and control system
EP2615593A2 (en) Security system storage of persistent data
JP4878886B2 (en) Monitoring controller and monitoring controller restart method
KR101454014B1 (en) Real time system and method for monitoring error of network camera and network video recorder
JP5194690B2 (en) Uninterruptible power system
JP2009032280A (en) Monitoring controller
CN101231607A (en) Method for maintenance of main system through custom-built embedded small system
JP6124644B2 (en) Information processing apparatus and information processing system
GB2395828A (en) Troubleshooting printing devices
JP4454548B2 (en) Card usage system and its failure avoidance method
JP2009003967A (en) Monitor controller restarting method
CN116737462A (en) Data processing method, system, device and medium
CN112510823B (en) Power supply remote control system
JP2015088123A (en) Monitoring control system, monitoring control device, and setting information backup method
CN110275797B (en) Controller and data storage method
CN113440784A (en) Fire protection system
JP4711168B2 (en) Production equipment management system
JP4194602B2 (en) Uninterruptible power supply, computer system, and computer startup phase monitoring method using uninterruptible power supply
JP2003110785A (en) Image storage device
CN219891649U (en) Domestic operating system recovery backup intelligent system
JP2005115472A (en) Operation control system
JP2011198224A (en) Information processing apparatus and monitoring apparatus system
JP2868683B2 (en) Home information communication device
WO2023188232A1 (en) Network monitoring device, network monitoring system, network monitoring method, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20090327

Free format text: JAPANESE INTERMEDIATE CODE: A621

A131 Notification of reasons for refusal

Effective date: 20110712

Free format text: JAPANESE INTERMEDIATE CODE: A131

RD02 Notification of acceptance of power of attorney

Effective date: 20111117

Free format text: JAPANESE INTERMEDIATE CODE: A7422

RD04 Notification of resignation of power of attorney

Effective date: 20111130

Free format text: JAPANESE INTERMEDIATE CODE: A7424

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20120131

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20130628

A02 Decision of refusal

Effective date: 20130917

Free format text: JAPANESE INTERMEDIATE CODE: A02