JP2001194395A - Automatically renewing method for system - Google Patents

Automatically renewing method for system

Info

Publication number
JP2001194395A
JP2001194395A JP2000009974A JP2000009974A JP2001194395A JP 2001194395 A JP2001194395 A JP 2001194395A JP 2000009974 A JP2000009974 A JP 2000009974A JP 2000009974 A JP2000009974 A JP 2000009974A JP 2001194395 A JP2001194395 A JP 2001194395A
Authority
JP
Japan
Prior art keywords
update
time
server
field
field server
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
JP2000009974A
Other languages
Japanese (ja)
Inventor
Yasuko Yokoyama
泰子 横山
Motoaki Satoyama
元章 里山
Yoshiaki Morimoto
義章 森本
Ritsuko Kawabata
律子 川端
Kenji Kitagawa
健二 北川
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2000009974A priority Critical patent/JP2001194395A/en
Publication of JP2001194395A publication Critical patent/JP2001194395A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

PROBLEM TO BE SOLVED: To perform a processing which applies a load to a processor such as renewing of a system program in a field server without having any influence on the natural function and monitoring control function of the field server. SOLUTION: The time band where the number of using electric apparatuses is minimum in a day is calculated from the statistical information for electric apparatus obtained by analyzing the using state data of electric apparatuses obtained by the monitoring function of the field server, and the time band data is transmitted to an external power server to obtain a further adjusted time band. According to this, the access time of the field server group to the external power server and a communication line is dispersed, whereby the communication time can be minimized without applying a load to the processor of the field server, and the download of a program can be thus quickly performed to renew the system.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は建物の屋外のサーバ
にアクセスするネットワークと屋内ネットワークを用い
て電気機器の監視・制御を行うフィールドサーバシステ
ムに関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a field server system for monitoring and controlling electric equipment using a network for accessing a server outside a building and an indoor network.

【0002】[0002]

【従来の技術】フィールドサーバは屋内の電気機器製品
の監視・制御を行うシステムであり、電流使用量によっ
て電気機器製品の使用状況を検知し、またその使用状況
データを使用して機器の異常検知、ブレーカ遮断防止、
使用状況異常の検知機能を提供する。さらに外部サーバ
にネットワーク接続し、電気機器の使用情報の報告、新
たなサービスのダウンロード等の機能も提供する。特開
平9−145743では、フィールドサーバの上記機能
のうち、電気機器に対して行う検知や制御に関する技術
について述べられている。
2. Description of the Related Art A field server is a system for monitoring and controlling indoor electrical equipment products. The field server detects the usage status of electrical equipment products based on the amount of electric current used, and detects abnormality of the equipment using the usage data. , Breaker cutoff prevention,
Provide a function to detect usage abnormalities. Furthermore, it is connected to an external server via a network, and provides functions such as reporting of usage information of electric devices and downloading of new services. Japanese Patent Application Laid-Open No. 9-145743 describes a technique related to detection and control performed on an electric device among the above functions of the field server.

【0003】[0003]

【発明が解決しようとする課題】フィールドサーバの機
能としては、電気機器の監視・制御の他に、電力会社な
どの外部サーバへの電力使用量の報告や、外部サーバか
らのプログラムやデータのダウンロード等も考えられ
る。一方フィールドサーバに求められる条件は、安定し
て動作し不都合を感じさせないことである。例えば総電
気機器の使用電力量が契約値を越えそうなときには、各
電気機器の使用電力量、使用状況等の情報を集め、ブレ
ーカ遮断防止の処理を行わなければならない。そのとき
にプロセッサが過負荷となり処理が遅れればブレーカが
落ち利用者は不便さを感じる。上記従来技術では、フィ
ールドサーバが外部サーバからプログラムやデータ等を
ダウンロードする際のフィールドサーバの機能低下につ
いては考慮されていない。フィールドサーバの本来の機
能実行への影響を最小限に押さえたダウンロード方法が
必要である。
The functions of the field server include not only monitoring and control of electric equipment, but also reporting of power consumption to an external server such as a power company and downloading of programs and data from the external server. Etc. are also conceivable. On the other hand, the condition required for the field server is that it operates stably and does not cause any inconvenience. For example, when the electric power consumption of the total electric equipment is likely to exceed the contract value, it is necessary to collect information such as the electric power consumption and the usage status of each electric equipment, and to perform a process of preventing breaker cutoff. At that time, if the processor is overloaded and the processing is delayed, the breaker is dropped and the user feels inconvenience. In the above prior art, no consideration is given to deterioration of the function of the field server when the field server downloads a program, data, or the like from an external server. There is a need for a download method that minimizes the effect on the original function execution of the field server.

【0004】本発明の目的は、電気機器の監視を行なう
フィールドサーバが最適な時間帯を選んでシステムプロ
グラムをダウンロードする方法を提供することにある。
プログラムの更新や、システムの新規導入等は使用者の
契約の変更に伴う場合が多いので、ダウンロードは事前
に行っておく必要があるため、時間的余裕がある。本発
明では、ダウンロード、システムの更新までに時間的余
裕があることを前提とする。
[0004] It is an object of the present invention to provide a method in which a field server for monitoring electric equipment selects an optimal time zone and downloads a system program.
Updating programs or newly introducing a system often accompanies a change in the user's contract, so downloading must be performed in advance, so there is ample time. In the present invention, it is assumed that there is enough time before downloading and updating the system.

【0005】[0005]

【課題を解決するための手段】上記のような従来技術の
問題点を解決するために、フィールドサーバのプロセッ
サが最も余裕のある時にダウンロード処理を行うように
プロセッサの最小負荷時間帯を算出する処理を行なう。
かつ、外部サーバへのアクセスが集中すると余分な時間
がかかるため、外部サーバへのアクセス重複が最小限に
なるようにアクセス時刻を調整するアクセス時刻調整処
理を行なう。上記2つの処理を実現することにより、フ
ィールドサーバが暇なときにダウンロードを実行し、か
つ、外部サーバへのアクセス時間を短くしフィールドサ
ーバプロセッサへの負荷を押さえることが可能になる。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems of the prior art, a process of calculating a minimum load time zone of a processor of a field server so that the download process is performed when the processor has the most margin. Perform
In addition, since extra time is required when access to the external server is concentrated, an access time adjustment process for adjusting the access time is performed so as to minimize overlap of accesses to the external server. By implementing the above two processes, it is possible to execute the download when the field server is idle, and to shorten the access time to the external server and reduce the load on the field server processor.

【0006】[0006]

【発明の実施の形態】以下、本発明についての実施例を
図を用いて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to the drawings.

【0007】まず始めに図1により、本発明によるフィ
ールドサーバを用いた一利用形態を示す。フィールドサ
ーバ101には住居内ネットワーク102が接続してお
り、その先には電気機器製品群が個々に接続している。
住居内ネットワーク102は、例えば電力線を利用した
ネットワークで構築できる。この住居内ネットワーク1
02を介して、フィールドサーバ101は電気機器製品
群103の個々に流れる電力量を検知することにより、
個々の電気機器の使用状況を監視し、必要があれば制御
も行う。また検知した使用電力データ、または電力デー
タの加工情報を、公衆回線等を利用した外部ネットワー
ク104を介して、外部サーバ105(本実施例では電
力会社のサーバとし、以下電力サーバ105とする)に
送信したり、電力サーバからの情報を取得する等のこと
を行う。電力サーバ105は電力会社のサーバの他、例
えば、セキュリティサービスのサーバ、在宅ケアのサー
バ、ホームオートメーションのサーバ等が考えられ、様
々なリモートサービスの提供を行う。
First, FIG. 1 shows one usage mode using the field server according to the present invention. An in-house network 102 is connected to the field server 101, and a group of electrical equipment products is individually connected beyond the network 102.
The in-house network 102 can be constructed, for example, by a network using a power line. This home network 1
02, the field server 101 detects the amount of electric power flowing individually in the electric device product group 103,
It monitors the usage status of each electrical device and controls it if necessary. In addition, the detected power consumption data or the processing information of the power data is transmitted to an external server 105 (in this embodiment, a server of a power company, hereinafter referred to as a power server 105) via an external network 104 using a public line or the like. It performs operations such as transmitting and acquiring information from the power server. The power server 105 may be, for example, a security service server, a home care server, a home automation server, or the like, in addition to a power company server, and provides various remote services.

【0008】次にフィールドサーバ101の機器構成を
図2を用いて説明する。フィールドサーバ101は処理
装置201、内部記憶装置202、外部記憶装置20
3、住居内通信装置204、外部通信装置205からな
る。表示装置206、キーボード、マウス等の入力装置
207はフィールドサーバ101に不可欠ではないが、
フィールドサーバ101が提供するサービス内容によっ
ては必要となる場合がある。電気機器監視・制御プログ
ラム208はノンストップで電気機器の使用状況を監視
する必要があるため常に内部記憶装置202にある。シ
ステム自動更新システム209は、非使用時には外部記
憶装置203にあり、実行時には外部記憶装置203か
ら内部記憶装置202に読み込まれ、処理装置201に
よって実行される。
Next, the device configuration of the field server 101 will be described with reference to FIG. The field server 101 includes a processing device 201, an internal storage device 202, and an external storage device 20.
3. It consists of the in-house communication device 204 and the external communication device 205. Although the display device 206, the input device 207 such as a keyboard and a mouse are not indispensable to the field server 101,
It may be necessary depending on the service content provided by the field server 101. The electrical equipment monitoring / control program 208 is always in the internal storage device 202 because it is necessary to monitor the usage status of the electrical equipment without stopping. The system automatic update system 209 is in the external storage device 203 when not in use, and is read from the external storage device 203 into the internal storage device 202 when executed, and is executed by the processing device 201.

【0009】図3にフィールドサーバ101にある、本
発明に関連するプログラムと、システム自動更新プログ
ラムを構成する機能一覧と、データの流れを示す。電気
機器監視・制御プログラム208が各電気機器の使用電
流量を検知し、使用電流データを電気機器使用状況情報
301として外部記憶装置203に格納する。システム
自動更新プログラム209は低負荷時間帯情報生成機能
302、更新推奨条件算出機能303、更新時間調整機
能304、プログラム更新機能308から構成される。
低負荷時間帯情報生成機能302は1日分の電気機器使
用状況情報301を用い、当該日の低負荷時間帯情報3
05を生成する。更新推奨条件生成機能303は低負荷
時間帯情報305を使用して更新推奨条件306を生成
する。更新時間調整機能304は、この更新推奨条件3
06を外部通信手段104を介して外部サーバである電
力サーバ105に送信し、電力サーバにアクセスする時
刻の調整を行わせ、更新最適条件307を取得する。プ
ログラム更新機能308は更新最適条件307の条件に
従って、電力サーバ105からプログラムのダウンロー
ドを行いシステムを更新する。
FIG. 3 shows a program related to the present invention, a list of functions constituting a system automatic update program, and a data flow in the field server 101. The electric device monitoring / control program 208 detects the amount of current used by each electric device, and stores the used current data in the external storage device 203 as electric device use status information 301. The system automatic update program 209 includes a low load time zone information generation function 302, an update recommended condition calculation function 303, an update time adjustment function 304, and a program update function 308.
The low load time period information generation function 302 uses the electric device usage status information 301 for one day, and outputs the low load time period information 3 for that day.
05 is generated. The update recommendation condition generation function 303 generates the update recommendation condition 306 using the low load time zone information 305. The update time adjustment function 304 performs the update recommended condition 3
06 is transmitted to the power server 105, which is an external server, via the external communication means 104, and the time for accessing the power server is adjusted, and the update optimum condition 307 is acquired. The program update function 308 downloads a program from the power server 105 and updates the system according to the update optimum condition 307.

【0010】上記の各処理、及び機能について詳細に説
明する。
The above processes and functions will be described in detail.

【0011】電気機器監視・制御プログラム208は、
通常、無停止で各電気機器に流れる電流量の検知、電流
データの電力サーバへの報告、電流量データから電気機
器の異常検出、電気機器の動作制御等のサービスを行
う。本実施例に直接関係するのは各電気機器へ流れる電
流量の検知機能であるので、その他の機能説明について
は割愛する。本実施例において、電気機器監視・制御プ
ログラム208は、一定時間間隔で各電気機器に流れる
電流量を計測し、図4に示すようなデータ形式である電
気機器使用状況情報301の電気機器ごとに分かれた計
測値配列401に計測データを記録し、外部記憶装置2
03に格納する。
The electric device monitoring / control program 208
Usually, services such as detection of the amount of current flowing through each electric device without interruption, reporting of current data to a power server, detection of abnormality of the electric device from the current amount data, and control of operation of the electric device are performed. The function directly related to the present embodiment is the function of detecting the amount of current flowing to each electric device, and thus the description of the other functions is omitted. In the present embodiment, the electric device monitoring / control program 208 measures the amount of current flowing through each electric device at regular time intervals, and for each electric device in the electric device usage status information 301 in a data format as shown in FIG. The measurement data is recorded in the divided measurement value array 401 and stored in the external storage device 2
03.

【0012】図4は電気機器監視・制御プログラム20
8が生成する各電気機器の電流使用状況を示すデータで
ある。電気機器ごとに各検知時刻の使用電流量を格納す
る1次元配列の計測値配列401があり、この1次元配
列が電気機器の数だけ集まった2次元配列で電気機器使
用状況情報301を構成している。図4に示す例では、
最上段の数字が計測時刻を示し、2段目からは表の左端
の電気機器に流れた電流値を示している。時刻8におけ
る電灯1に流れた電流量計測値402は0.6アンペア
であることを示している。電気機器使用状況情報301
は外部記憶装置203に一定期間分、例えば3ヶ月間分
のデータを常に保存する。低負荷時間帯情報生成機能3
02によって低負荷時間帯情報305を生成した後は、
他の用途がなければ電気機器使用状況情報301の使用
済み部分のデータを削除してもよい。
FIG. 4 shows an electric equipment monitoring / control program 20.
8 is data indicating the current usage status of each electric device generated. There is a one-dimensional array of measured value arrays 401 for storing the amount of current used at each detection time for each electrical device, and this one-dimensional array constitutes the electrical device usage information 301 in a two-dimensional array in which the number of electrical devices is collected. ing. In the example shown in FIG.
The number at the top indicates the measurement time, and the second and subsequent figures indicate the value of the current flowing to the electric device at the left end of the table. The measured value 402 of the amount of current flowing through the lamp 1 at time 8 indicates that it is 0.6 amperes. Electrical equipment usage information 301
Always stores data for a fixed period, for example, three months, in the external storage device 203. Low load time zone information generation function 3
After the low load time zone information 305 is generated by the
If there is no other use, the data of the used part of the electric equipment use status information 301 may be deleted.

【0013】電気機器使用状況情報301から1日分の
計測データを取り出し、ある一定以上の電流が流れた時
間だけを太線で示すグラフにすると、図5(1)に示す
ような電気機器使用状況グラフ501に表せる。ある一
定以上の電流と制限するのは、電源OFFの状態でも電流
が流れる待機電力のある電気機器があるためである。本
実施例における電気機器の使用状況としては、待機電力
程度の微弱な電流が流れた場合は非使用中と見なすこと
とする。低負荷時間帯情報生成機能302は連続する電
気機器使用状況情報301の1日分の計測データを持っ
てきて、まず各検知時刻503における使用電気機器数
504を調べ、図5(2)に示すような電気機器使用状
況データ502を生成する。図の例では稼働している電
気機器全てをカウントしているが、この段階で冷蔵庫の
ように無停止で稼働する電気機器をカウントから外して
も構わない。次に使用電気機器数の最低値を求め、使用
電気機器数が最低値である時刻にのみ1、それ以外の時
刻には0を設定した図5(3)に示す低負荷時間帯デー
タ506を作成する。
[0013] The measurement data for one day is extracted from the electric equipment usage information 301, and only the time during which a certain current or more flows is shown by a bold line. As shown in FIG. This can be shown in a graph 501. The reason for limiting the current to a certain value or more is that there is an electric device having standby power through which the current flows even when the power is off. As the usage status of the electric device in the present embodiment, when a weak current of about the standby power flows, it is assumed that the device is not in use. The low load time period information generation function 302 retrieves the measurement data for one day of the continuous electric equipment use status information 301, first checks the number of electric equipment used 504 at each detection time 503, and shows it in FIG. Such electrical equipment usage data 502 is generated. In the example of the figure, all the operating electric devices are counted, but at this stage, the non-stop operating electric devices such as a refrigerator may be excluded from the count. Next, the lowest value of the number of used electric devices is obtained, and 1 is set only at the time when the number of used electric devices is the lowest value, and 0 is set at other times. create.

【0014】日毎低負荷時間帯情報305のデータ構造
を図6に示す。低負荷時間帯情報305は、年月日デー
タ601、曜日データ602、祝日データ604、低負
荷時間帯506からなる。祝日データ604とは、その
日が一般的な国民の祝日であるか否かを示すデータで、
祝日データ604を決めるためのカレンダー情報は電力
サーバ105から得る。一般の家庭においては、平日と
休日での生活パターンが異なる場合が多い。共働きの家
庭ではその度合いが顕著であるし、そうでない家庭にお
いても平日に仕事をしている人が休日には在宅するな
ど、在宅する人員構成が変化するためやはり生活パター
ンは変化する。休日データ603は、その家庭の生活パ
ターンが平日と休日とで異なる場合に、その日がその家
庭にとって休日であるか否かを示すデータである。休日
は土曜、日曜の場合が多いが、それ以外の曜日である場
合も多いので休日の曜日情報は、使用者から入力しても
らう、または、蓄積した低負荷時間帯情報の低負荷時間
帯のパターンから逆算することにより取得する。また、
定期的な休日に当たらない日でも祝日、使用者が休みを
取るなどの理由から休みのパターンになることがある。
祝日の場合は電力サーバから得るカレンダー情報の祝日
データ604があるので、休日パターンとして処理をす
る。使用者が取る休みの場合は、やはり入力装置から使
用者に予定を入力してもらい休日データとして扱うか、
または全ての平日のうち、使用者が意識的に休日とする
日を含めて変則的なパターンの日が1割程度はあり得る
ことを考慮し、平日の更新推奨時間帯算出に使用するデ
ータから変則的パターンの日を外す等の処理を行う。ま
た本実施例では、生活のパターンを平日と休日の2種類
として休日情報を論理値にしているが、3パターン以上
ある場合には休日データを整数値のパターンデータに変
えるだけで対応可能である。
FIG. 6 shows the data structure of the daily low load time zone information 305. The low load time zone information 305 includes date data 601, day data 602, holiday data 604, and low load time zone 506. Holiday data 604 is data indicating whether or not the day is a general national holiday.
Calendar information for determining the holiday data 604 is obtained from the power server 105. In general households, life patterns on weekdays and holidays are often different. In a dual-income family, the degree is remarkable, and in other households, the life pattern changes because the number of people who stay at home changes, such as those who work on weekdays staying on holidays. The holiday data 603 is data indicating whether or not the day is a holiday for the family when the life pattern of the family differs between weekdays and holidays. Holidays are often Saturdays and Sundays, but they are often other days, so the day of the week information for holidays must be entered by the user, or the low-load time zone Obtained by calculating backward from the pattern. Also,
Even on a day that does not fall on a regular holiday, a holiday pattern may occur due to a public holiday or a user taking a holiday.
In the case of a holiday, since there is holiday data 604 of calendar information obtained from the power server, the processing is performed as a holiday pattern. If the user takes a break, ask the user to input the schedule from the input device and treat it as holiday data.
Or, considering that there may be about 10% of irregular pattern days including the day when the user intentionally makes a holiday out of all the weekdays, the data used for calculating the recommended update time zone on weekdays is considered. Processing such as removing days of the irregular pattern is performed. Further, in this embodiment, the holiday information is a logical value with two types of life patterns, weekdays and holidays. However, if there are three or more patterns, it can be dealt with simply by changing the holiday data to integer-value pattern data. .

【0015】生活パターンの違いによって電気機器の使
用パターンも変化するため、算出した日毎低負荷時間帯
情報305から統計データを取る場合には平日と休日の
データを区別して行う。算出した日毎低負荷時間帯30
5のデータを、平日と、休日で振り分け、それぞれの低
負荷時間帯データ506の各時刻の要素を加算し、調査
対象日の全てで使用電気機器数が最小となる時刻を求め
る。図7に各日毎データの低負荷時間帯データ506の
値が1の時刻、すなわちその日のうちで電気機器の使用
数が最小であった時刻を斜線の棒で示すグラフを示し
た。調査対象日全てで使用電気機器数が最小となる連続
する時間帯は平日推奨時間帯データ701、休日推奨時
間帯データ702で表せる。
Since the usage pattern of the electric equipment also changes depending on the life pattern, when obtaining statistical data from the calculated daily low load time zone information 305, weekday and holiday data are distinguished. Calculated daily low load time zone 30
The data of No. 5 is divided into weekdays and holidays, and the elements at each time of the low-load time zone data 506 are added to obtain a time at which the number of used electrical devices becomes the minimum on all the survey target days. FIG. 7 is a graph showing the time when the value of the low-load time zone data 506 of each day data is 1, that is, the time when the number of use of the electric device is the minimum in the day by a hatched bar. A continuous time zone in which the number of used electrical devices is the minimum on all the survey target days can be represented by weekday recommended time zone data 701 and holiday recommended time zone data 702.

【0016】更新推奨条件306のデータ構成を図8に
示す。平日推奨時間帯801、休日推奨時間帯802、
祝日除外803、指定日804、除外日805で構成す
る。平日推奨時間帯801、休日推奨時間帯802はそ
れぞれ、対象となる曜日データ806と、推奨時間帯デ
ータ701、702からなる。指定日801、除外日8
05については図8の例では指定無しであるが、使用者
が表示装置206と入力装置207を使って指定日や除
外日を指定する手段がある場合に使用する。
FIG. 8 shows the data structure of the recommended update condition 306. Recommended weekdays 801, Recommended holidays 802,
It comprises holiday exclusion 803, designated date 804, and exclusion date 805. The weekday recommended time zone 801 and holiday recommended time zone 802 are each composed of target day of the week data 806 and recommended time zone data 701 and 702. 801 designated days, 8 excluded days
8 is not specified in the example of FIG. 8, but is used when there is a means for the user to specify a specified date or an exclusion date using the display device 206 and the input device 207.

【0017】一方、図9に示すように、電力サーバ10
5には多数のフィールドサーバ群901がつながってお
り、フィールドサーバから電力サーバ105へのアクセ
スが集中すると処理効率が落ちる。たとえば前述までの
処理によって、平日の午後1:00〜4:00までの推奨時間
帯を算出したとする。これと同じ条件を算出したフィー
ルドサーバが他にも多数存在したとすると、平日の午後
1:00になったとたんそれら全てのフィールドサーバが
ダウンロードを開始し、通信回線や電力サーバ自体への
負荷が増大し各フィールドサーバの処理時間が延び、か
えって効率の悪い結果を招く可能性が高い。ダウンロー
ドの開始が一時刻に集中するのを回避するため、フィー
ルドサーバの更新時間調整機能303は、更新推奨条件
306を電力サーバ105に報告し、更新条件の調整を
要求する。電力サーバ105は全てのフィールドサーバ
からの報告を受け取り、フィールドサーバ間更新時間調
整機能902が各フィールドサーバのダウンロードの開
始時刻について調整を行う。図18に示すグラフは、横
に時間軸、縦は各フィールドサーバとし、フィールドサ
ーバの更新時間帯を表すもので、24時間分のグラフの
一部を示したものである。ここでたとえば電力サーバ1
05に14個のフィールドサーバが接続しており、各フ
ィールドサーバからの更新条件の時間が、図18に示す
グラフ1801のような場合、ある単位時間(たとえば
10分)内に更新時間があるフィールドサーバがいくつ
あるかを調べる。この例では更新時間が完全に単位時間
を含む場合のみをカウントする。調べた結果をグラフの
下方の表1802に示す。この結果の数の小さいものか
らその時間にダウンロードするフィールドサーバを確定
していく。この例で最小なのは、時刻1で、フィールド
サーバはAであるので、フィールドサーバAのダウンロー
ドはこの時間帯に行うことを確定する。確定したら、フ
ィールドサーバAの他の時間2、時間3、時間4にもあ
る更新時間は必要なくなるので、表1802の相当個所
からそれぞれ1マイナスする。
On the other hand, as shown in FIG.
5 is connected to a large number of field server groups 901, and when the access from the field server to the power server 105 is concentrated, the processing efficiency is reduced. For example, it is assumed that a recommended time zone from 1:00 pm to 4:00 pm on weekdays is calculated by the processing described above. If there were many other field servers that calculated the same conditions,
As soon as 1:00, all those field servers start downloading, increasing the load on the communication line and the power server itself, increasing the processing time of each field server, and more likely to cause inefficient results. . In order to prevent the start of download from being concentrated at one time, the update time adjustment function 303 of the field server reports the update recommended condition 306 to the power server 105 and requests adjustment of the update condition. The power server 105 receives reports from all field servers, and the inter-field server update time adjustment function 902 adjusts the download start time of each field server. The graph shown in FIG. 18 indicates a time axis on the horizontal side and each field server on the vertical side, and indicates an update time zone of the field server, and is a part of a graph for 24 hours. Here, for example, the power server 1
In the case where 14 field servers are connected to the field 05 and the time of the update condition from each field server is as shown in a graph 1801 in FIG. 18, the field whose update time is within a certain unit time (for example, 10 minutes) Find out how many servers you have. In this example, only the case where the update time completely includes the unit time is counted. The results of the examination are shown in Table 1802 below the graph. The field server to download at that time is determined from the small number of the results. In this example, the minimum is at time 1 and the field server is A, so it is determined that the download of the field server A will be performed during this time zone. After the determination, the update time at the other time 2, time 3, and time 4 of the field server A is no longer necessary, and therefore 1 is subtracted from the corresponding part of the table 1802.

【0018】上記処理を繰り返していくと、最終的に
は、グラフ1803に示すような更新時間の割り当てと
なる。ここでさらに上記の単位時間を分割して、上記処
理を繰り返し、フィールドサーバの更新の割り当て時間
を分散させることも可能である。グラフ1803の時間
2のように、1つの時間帯に複数のフィールドサーバが
残った場合は、当該時間帯を均等に分割し当該フィール
ドサーバに割り当てる。この結果各フィールドサーバの
更新時間は図19のグラフ1901に示す時間に調整す
ることができる。各フィールドサーバの更新開始時刻は
割り当てられた時間帯の開始時刻とする。
When the above process is repeated, an update time is finally allocated as shown in a graph 1803. Here, it is also possible to further divide the above-mentioned unit time and repeat the above-mentioned processing, thereby dispersing the time allotted for updating the field server. When a plurality of field servers remain in one time slot as in time 2 in the graph 1803, the time slot is equally divided and assigned to the field server. As a result, the update time of each field server can be adjusted to the time shown in the graph 1901 in FIG. The update start time of each field server is the start time of the assigned time zone.

【0019】本実施例では時間にのみ注目した調整方法
を示したが、これ以外にも、曜日による調整、ネットワ
ークグループによる調整等が可能であり、またこれらの
調整方法を2つ以上組み合わせて調整する方法も可能で
ある。電力サーバ105は上記方法で調整した更新条件
を各フィールドサーバに送信する。各フィールドサーバ
の更新時間調整機能303は、この更新条件を受け取
り、当該フィールドサーバの更新最適条件307とす
る。
In this embodiment, the adjustment method focusing only on the time is shown. However, other adjustment methods such as adjustment by day of the week, adjustment by a network group, and the like are possible, and adjustment by combining two or more of these adjustment methods. It is also possible to do this. The power server 105 transmits the update condition adjusted by the above method to each field server. The update time adjustment function 303 of each field server receives the update condition and sets it as the update optimum condition 307 of the field server.

【0020】プログラム更新機能308は、電力サーバ
から受け取った更新最適条件307の日時に電力サーバ
からプログラムをダウンロードし、システムの更新を行
う。
The program update function 308 downloads a program from the power server on the date and time of the update optimum condition 307 received from the power server, and updates the system.

【0021】次に、本発明を実現するための各機能の処
理内容をフローチャートを用いて説明する。
Next, processing contents of each function for realizing the present invention will be described with reference to flowcharts.

【0022】まず、図2に示した電気機器監視制御プロ
グラム208の処理フローを図10に示す。
First, FIG. 10 shows a processing flow of the electric equipment monitoring control program 208 shown in FIG.

【0023】処理1001:現在時刻が電力サーバとの
データ送受信を行う定期的時刻である場合処理1002
に進み、それ以外は処理1003に進む分岐処理。 処理1002:電気機器に流れる電流量を検知し、デー
タを記録装置に記録し、処理後は処理1001に戻る。
Process 1001: When the current time is a regular time for transmitting and receiving data to and from the power server Process 1002
Otherwise, the process branches to process 1003. Process 1002: Detect the amount of current flowing through the electric device, record the data in the recording device, and return to process 1001 after the process.

【0024】処理1003:処理1002で記録した電
気機器の使用情報を電力サーバに送信し、電力サーバに
新しい情報があればそれをダウンロードする。
Process 1003: The use information of the electric equipment recorded in process 1002 is transmitted to the power server, and if there is new information in the power server, it is downloaded.

【0025】処理1004:電力サーバからダウンロー
ドした情報の中に、システムプログラムの更新情報があ
った場合処理1005に進み、それ以外では処理100
1に戻る分岐処理。詳細な処理フローは図11以降に示
す。
Process 1004: If there is update information of the system program in the information downloaded from the power server, the process proceeds to process 1005;
Branch processing returning to 1. The detailed processing flow is shown in FIG.

【0026】電気機器監視制御プログラム208によ
り、必要時に呼び出されるシステム自動更新プログラム
209のフローチャートを図11に示し、処理フローを
以下に示す。
FIG. 11 shows a flowchart of the system automatic update program 209 called when necessary by the electric equipment monitoring control program 208, and the processing flow is shown below.

【0027】処理1101:各電気機器使用状況情報3
01から1日分の低負荷時間帯情報305を生成する。
詳細な処理フローは図12に示す。
Process 1101: Electric equipment usage status information 3
From 01, low load time zone information 305 for one day is generated.
FIG. 12 shows a detailed processing flow.

【0028】処理1102:更新推奨条件を算出するの
に必要な量の電気機器使用状況情報301の低負荷時間
帯情報化が終了している場合処理1103に進み、それ
以外は処理1101に戻る。
Process 1102: If the amount of electrical equipment usage information 301 necessary to calculate the recommended update condition has been converted into low load time zone information, the process proceeds to process 1103; otherwise, the process returns to process 1101.

【0029】処理1103:処理1101で生成した日
毎低負荷時間帯情報305から、更新推奨条件306を
算出する。詳細な処理フローは図14に示す。
Process 1103: An update recommended condition 306 is calculated from the daily low load time zone information 305 generated in the process 1101. FIG. 14 shows a detailed processing flow.

【0030】処理1104:電力サーバと通信し、処理
1103で得た更新推奨条件306から、更新最適条件
307を得る。詳細な処理フローは図16に示す。
Process 1104: Communicate with the power server and obtain the update optimum condition 307 from the recommended update condition 306 obtained in process 1103. FIG. 16 shows the detailed processing flow.

【0031】処理1105:処理1104で得た更新最
適条件307に従って、外部サーバからプログラムをダ
ウンロードしてシステム更新を行う。詳細な処理フロー
は図17に示す。
Process 1105: In accordance with the update optimum condition 307 obtained in process 1104, a program is downloaded from an external server to update the system. FIG. 17 shows a detailed processing flow.

【0032】日毎低負荷時間帯情報生成処理1101の
フローチャートを図12に示し、処理フローは以下に説
明する。
FIG. 12 shows a flowchart of the daily low load time zone information generation processing 1101, and the processing flow will be described below.

【0033】処理1201:処理の対象時刻に0を代入
する初期化処理。
Process 1201: Initialization process for substituting 0 for the process target time.

【0034】処理1202:対象時刻が1日分を越えた
場合、当該日分の電気機器使用状況データ502の生成
を終了し、低負荷時間帯データ506を生成する処理1
208に進み、それ以外の場合は処理1203に進む分
岐処理。
Process 1202: When the target time exceeds one day, the generation of the electric equipment usage data 502 for the day is ended, and the low load time zone data 506 is generated.
The branch process proceeds to step 208, and otherwise proceeds to step 1203.

【0035】処理1203:対象時刻に使用中の電気機
器数をカウントする、使用電気機器数に0を代入する初
期化処理。
Process 1203: an initialization process for counting the number of electrical devices in use at the target time and substituting 0 for the number of electrical devices used.

【0036】処理1204:対象時刻における使用電気
機器数のカウントを終了した場合、処理1207に進
み、それ以外の場合は処理1205に進む分岐処理。
Process 1204: A branch process in which, when the counting of the number of used electrical devices at the target time is completed, the process proceeds to process 1207; otherwise, the process proceeds to process 1205.

【0037】処理1205:対象時刻における一電気機
器の使用電流量がある基準値よりも小さい場合は処理1
204に戻り、それ以外は処理1206に進む分岐処
理。
Process 1205: Process 1 if the current consumption of one electrical device at the target time is smaller than a certain reference value
Returning to step 204, otherwise proceeding to step 1206.

【0038】処理1206:使用電気機器数の値を1増
やす加算処理。
Process 1206: Addition process for increasing the value of the number of used electrical devices by one.

【0039】処理1207:使用電気機器数を電気機器
使用状況データ502の対象時刻に対応する箇所に格納
し、対象時刻に検知時間間隔を加算し、処理1202に
戻る。
Process 1207: The number of used electrical devices is stored in the location corresponding to the target time in the electrical device usage data 502, the detection time interval is added to the target time, and the process returns to process 1202.

【0040】処理1208:電気機器使用状況データ5
02から低負荷時間帯データ506を生成する低負荷時
間帯抽出処理。本処理については図13で説明する。本
処理を終了したら、日毎低負荷時間帯情報生成処理を終
了し、処理1102に戻る。
Process 1208: electric equipment use status data 5
A low-load time zone extraction process for generating low-load time zone data 506 from the data 02. This processing will be described with reference to FIG. When this process ends, the daily low load time zone information generation process ends, and the process returns to step 1102.

【0041】電気機器使用状況データ502から、使用
電気機器数が最小となる時刻を求める低負荷時間帯抽出
処理のフローチャートを図13に示し、処理フローを以
下に説明する。
FIG. 13 shows a flowchart of a low-load time zone extraction process for obtaining a time at which the number of used electrical devices is minimized from the electrical device usage data 502, and the process flow will be described below.

【0042】処理1301:1日の電気機器使用数の中
で、最小使用数を求める。
Process 1301: The minimum number of used electric appliances is determined from the number of used electric appliances per day.

【0043】処理1302:調査時刻の初期化処理。低
負荷時間帯データ506を格納する配列を用意する。
Process 1302: Investigation time initialization process. An array for storing the low load time zone data 506 is prepared.

【0044】処理1303:電気機器使用状況データ5
02の全てのデータについて処理が終了した場合、本処
理を終了し戻る。それ以外は処理1304に進む分岐処
理。
Process 1303: electric equipment use status data 5
When the processing has been completed for all the data No. 02, this processing is terminated and the process returns. Otherwise, the branch processing proceeds to processing 1304.

【0045】処理1304:調査時刻の使用電気機器数
が最小使用数である場合、処理1305に進み、それ以
外は処理1306に進む分岐処理。
Process 1304: A branch process in which, when the number of used electrical devices at the investigation time is the minimum number of uses, the process proceeds to process 1305;

【0046】処理1305:低負荷時間帯データの対応
箇所に1を格納する。
Process 1305: 1 is stored in the corresponding location of the low load time zone data.

【0047】処理1306:低負荷時間帯データの対応
箇所に0を格納する。
Process 1306: 0 is stored in the corresponding location of the low load time zone data.

【0048】処理1307:調査時刻を次の時刻とし処
理1303に戻る。
Process 1307: The investigation time is set as the next time, and the process returns to process 1303.

【0049】図14に低負荷時間帯データ506から、
使用電気機器数の少ない連続した時間帯データを求める
更新推奨条件算出処理1102のフローチャートを示
し、処理フローを以下に示す。
FIG. 14 shows that the low load time zone data 506
A flowchart of the update recommended condition calculation processing 1102 for obtaining continuous time zone data with a small number of used electrical devices is shown, and the processing flow is shown below.

【0050】処理1401:調査時刻の初期化処理、中
間データを格納する配列を用意し全配列要素を1で初期
化する。
Processing 1401: Initialization processing of the examination time, an array for storing intermediate data is prepared, and all array elements are initialized to 1.

【0051】処理1402:1日の全時刻について処理
が終了した場合、中間データを推奨時間帯データにする
連続時間帯抽出処理1405に進み、それ以外は処理1
403に進む分岐処理。
Process 1402: When the process is completed for all times of the day, the process proceeds to the continuous time zone extraction process 1405 for setting the intermediate data to the recommended time zone data.
Branch processing to proceed to 403.

【0052】処理1403:調査対象となる全ての日に
ついて処理が終了した場合、処理1404に進み、それ
以外は処理1405に進む分岐処理。
Process 1403: A branch process in which, when the process is completed for all days to be investigated, the process proceeds to process 1404, and otherwise proceeds to process 1405.

【0053】処理1404:調査時刻を次の時刻に設定
する。
Process 1404: The investigation time is set to the next time.

【0054】処理1405:調査時刻の中間データに、
低負荷時間帯データを加算する。対象日を次の対象日に
する。
Process 1405: Intermediate data at the survey time
Add low load time zone data. Set the target date to the next target date.

【0055】処理1406:中間データから推奨時間帯
データを求める連続時間帯抽出処理を行う。この処理が
終了したら、本処理も終了し、戻る。
Process 1406: A continuous time zone extraction process for obtaining recommended time zone data from intermediate data is performed. When this process ends, this process ends and returns.

【0056】図15に上記で生成した中間データから連
続した推奨時間帯を求める連続時間帯抽出処理1406
のフローチャートを示し、以下に処理フローを示す。
FIG. 15 shows a continuous time zone extraction process 1406 for obtaining continuous recommended time zones from the intermediate data generated above.
Is shown, and the processing flow is shown below.

【0057】処理1501:処理1102での中間デー
タにおける最大値を求める。
Process 1501: The maximum value in the intermediate data in process 1102 is obtained.

【0058】処理1502:対象時刻、最大値の状態が
連続しているか否かを示す連続フラグの初期化。
Process 1502: Initialization of a continuation flag indicating whether or not the state of the target time and the maximum value are continuous.

【0059】処理1503:中間データの全時刻につい
て処理が終了した場合本処理を終了し戻る。それ以外は
処理1504に進む分岐処理。
Process 1503: When the process is completed for all the times of the intermediate data, this process is completed and returns. Otherwise, the branch processing proceeds to processing 1504.

【0060】処理1504:対象時刻の中間データが最
大値である場合は処理1505に進み、それ以外は処理
1508に進む分岐処理。
Process 1504: A branch process in which, when the intermediate data at the target time has the maximum value, the process proceeds to process 1505; otherwise, the process proceeds to process 1508.

【0061】処理1505:連続フラグが1の場合処理
1506に進み、それ以外は処理1507に進む分岐処
理。
Process 1505: A branch process in which the process proceeds to process 1506 when the continuous flag is 1, and otherwise proceeds to process 1507.

【0062】処理1506:連続終了時刻に調査時刻を
設定する。
Process 1506: Investigation time is set as the continuous end time.

【0063】処理1507:連続開始時刻に調査時刻を
設定し、連続フラグに1を設定する。
Process 1507: The investigation time is set to the continuous start time, and 1 is set to the continuous flag.

【0064】処理1508:連続フラグが1の場合処理
1509に進み、それ以外は処理1151に進む分岐処
理。
Process 1508: A branch process in which the process proceeds to process 1509 when the continuous flag is 1, and otherwise proceeds to process 1151.

【0065】処理1509:連続時間が基準最低時間よ
り短い場合は処理1511に進み、それ以外は処理15
10に進む分岐処理。
Process 1509: If the continuous time is shorter than the reference minimum time, the process proceeds to process 1511;
Branch processing to proceed to 10.

【0066】処理1510:連続フラグに0を設定す
る。
Process 1510: 0 is set in the continuous flag.

【0067】処理1511:対象時刻を1上げる。Process 1511: The target time is increased by one.

【0068】更新時間調整処理1104のフローチャー
トを図16に示し、処理フローを以下に示す。
FIG. 16 shows a flowchart of the update time adjustment processing 1104, and the processing flow is shown below.

【0069】処理1601:更新推奨条件算出処理11
03で生成した更新推奨条件306を電力サーバ105
に送信する。
Process 1601: Recommended update condition calculation process 11
03 and the update recommended condition 306 generated in
Send to

【0070】処理1602:電力サーバからの返信待ち
返信があれば処理1603に進み、それ以外は返信があ
るかどうかのチェック処理1602を繰り返す。
Process 1602: If there is a reply waiting reply from the power server, the process proceeds to process 1603. Otherwise, the process 1602 for checking whether there is a reply is repeated.

【0071】処理1603:電力サーバから更新最適条
件307を取得する。
Process 1603: Obtain the update optimum condition 307 from the power server.

【0072】プログラム更新処理1105のフローチャ
ートを図17に示し、処理フローを以下に示す。
FIG. 17 shows a flowchart of the program update processing 1105, and the processing flow is shown below.

【0073】処理1701:現在の時刻条件が更新され
る条件を満たした場合は処理1702に進み、それ以外
は条件が満たされるのを待つ処理1701を繰り返す。
Process 1701: If the current time condition satisfies the condition to be updated, the process proceeds to process 1702; otherwise, the process 1701 for waiting for the condition to be satisfied is repeated.

【0074】処理1702:電力サーバからプログラム
をダウンロードする。
Process 1702: Download the program from the power server.

【0075】処理1703:システムプログラムを更新
する。
Process 1703: The system program is updated.

【0076】電力サーバ105で動作するフィールドサ
ーバ間の更新時間調整機能902のフローチャートを図
20に示し、処理フローを以下に示す。
FIG. 20 shows a flowchart of the update time adjustment function 902 between the field servers operating on the power server 105, and the processing flow is shown below.

【0077】処理2001:24時間を分割する分割単
位時間(bt)、分割単位時間で24時間を割った分割個数
(num)、更新時間調整を行うフィールドサーバの数(fnu
m)を設定する。
Processing 2001: Division time (bt) for dividing 24 hours, number of divisions obtained by dividing 24 hours by division unit time
(num), the number of field servers that adjust the update time (fnu
m) is set.

【0078】処理2002:分割個数の数の要素を持つ
一次元配列を2つ生成し、各要素は0で初期化する。1
つは分割単位時間ごとの更新フィールドサーバ数管理配
列(counts)、もう1つは分割単位時間ごとに割り当てた
フィールドサーバ数管理配列(cnt)。
Process 2002: Two two-dimensional arrays having elements of the number of divisions are generated, and each element is initialized with 0. 1
One is an update field server number management array (counts) for each division unit time, and the other is a field server number management array (cnt) allocated for each division unit time.

【0079】処理2003:分割個数*フィールドサー
バ数の二次元配列、更新時間状態管理配列(states)を生
成する。
Process 2003: A two-dimensional array of the number of divisions * the number of field servers and an update time state management array (states) are generated.

【0080】処理2004:フィールドサーバの個数の
要素を持つ一次元配列(result)を生成する。これは調整
結果の各フィールドサーバの更新開始時刻を格納するた
めの配列。
Process 2004: A one-dimensional array (result) having the number of elements of the field server is generated. This is an array to store the update start time of each field server as the adjustment result.

【0081】処理2005:更新フィールドサーバ数管
理配列(counts)、更新時間状態管理配列(states)を初期
化する。
Process 2005: The update field server number management array (counts) and the update time state management array (states) are initialized.

【0082】処理2006:フィールドサーバ間の更新
時間調整処理をする。
Process 2006: Update time adjustment between field servers is performed.

【0083】配列の初期化処理2005のフローチャー
トを図21に示し、処理フローを以下に示す。
FIG. 21 shows a flowchart of the array initialization processing 2005, and the processing flow is shown below.

【0084】処理2101:配列のインデックス(i:フ
ィールドサーバを示す)を初期化する。
Process 2101: Initialize the array index (i: indicates a field server).

【0085】処理2102:フィールドサーバインデッ
クスがフィールドサーバ数を越えた場合は、配列の初期
化処理2005を終了し、処理2006に進み、それ以
外はフィールドサーバインデックスが示すフィールドサ
ーバについて処理2103から処理2107を行う。
Process 2102: If the field server index exceeds the number of field servers, the array initialization process 2005 ends and the process proceeds to the process 2006. Otherwise, the processes 2103 to 2107 are performed on the field server indicated by the field server index. I do.

【0086】処理2103:配列の単位時間インデック
ス(j)を初期化する。
Process 2103: Initialize the unit time index (j) of the array.

【0087】処理2104:単位時間インデックスが分
割個数を越えた場合は、処理2108に進み、それ以外
は処理2105に進む。
Process 2104: If the unit time index exceeds the number of divisions, the process proceeds to process 2108; otherwise, the process proceeds to process 2105.

【0088】処理2105:対象となっているフィール
ドサーバの更新時間帯に各単位時間が完全に包含されて
いる場合は処理21062進み、それ以外は処理210
7に進む。
Process 2105: If the unit time is completely included in the update time zone of the field server of interest, the process proceeds to process 21062;
Go to 7.

【0089】処理2106:更新フィールドサーバ数管
理配列の単位時間インデックスの要素を1インクリメン
トし、更新時間状態管理配列のフィールドサーバインデ
ックスと単位時間インデックスの要素に1を設定し、単
位時間インデックスを1インクリメントし、処理210
4に戻る。
Process 2106: The unit time index element of the update field server number management array is incremented by 1, the field server index and the unit time index element of the update time state management array are set to 1, and the unit time index is incremented by 1. And processing 210
Return to 4.

【0090】処理2107:更新時間状態管理配列のフ
ィールドサーバインデックスと単位時間インデックスの
要素に0を設定し、単位時間インデックスを1インクリ
メントし、処理2104に戻る。
Process 2107: 0 is set to the field server index and the unit time index element of the update time state management array, the unit time index is incremented by 1, and the process returns to the process 2104.

【0091】処理2108:フィールドサーバインデッ
クスを1インクリメントし、処理2102に戻る。
Process 2108: The field server index is incremented by 1 and the process returns to process 2102.

【0092】フィールドサーバ間の更新時間調整処理2
006のフローチャートを図22に示し、処理フローを
以下に示す。
Update time adjustment processing 2 between field servers
The flowchart of 006 is shown in FIG. 22, and the processing flow is shown below.

【0093】処理2201:各フィールドサーバの分割
単位時間への割り当て処理を行う。
Process 2201: A process of allocating each field server to a division unit time is performed.

【0094】処理2202:配列の単位時間インデック
ス(j)を初期化する。
Process 2202: Initialize the unit time index (j) of the array.

【0095】処理2203:単位時間インデックスが分
割個数を越えた場合は、フィールドサーバ間の更新時間
調整処理2006を終了し、フィールドサーバ間の更新
時間調整機能に戻り、それ以外は単位時間インデックス
が示す単位時間に関して処理2204を行う。
Process 2203: If the unit time index exceeds the number of divisions, the update time adjustment process 2006 between field servers is terminated, and the process returns to the update time adjustment function between field servers. Otherwise, the unit time index indicates. Processing 2204 is performed for the unit time.

【0096】処理2204:単位時間インデックスが示
す単位時間に割り当てられたフィールドサーバ間の更新
時間調整処理を行う。
Process 2204: An update time adjustment process is performed between the field servers assigned to the unit time indicated by the unit time index.

【0097】処理2205:単位時間インデックスを1
インクリメントし、処理2203に戻る。
Process 2205: The unit time index is set to 1
Increment and return to process 2203.

【0098】各フィールドサーバの分割単位時間への割
り当て処理2201のフローチャートを図23に示し、
処理フローを以下に示す。
FIG. 23 is a flowchart showing the process 2201 of assigning each field server to a division unit time.
The processing flow is shown below.

【0099】処理2301:更新フィールドサーバ数管
理配列(counts)の要素が全て0なら分割単位時間への割
り当て処理2201を終了し処理2202に進み、それ
以外は要素が0以外で最小となる単位時間インデックス
に対して処理2302から処理2312を行う。
Process 2301: If all the elements of the update field server number management array (counts) are 0, the process of allocating to the division unit time 2201 is terminated and the process proceeds to the process 2202; Steps 2302 to 2312 are performed on the index.

【0100】処理2302:フィールドサーバインデッ
クスの初期化処理をする。
Process 2302: Initialize the field server index.

【0101】処理2303:フィールドサーバインデッ
クスがフィールドサーバ数を越えた場合は、処理230
4に進み、それ以外は処理2305に進む。
Process 2303: If the field server index exceeds the number of field servers, process 230
Then, the process proceeds to step 2305.

【0102】処理2304:更新フィールドサーバ数管
理配列の単位時間インデックスの要素に0を設定する。
Process 2304: 0 is set to the element of the unit time index of the update field server number management array.

【0103】処理2305:フィールドサーバインデッ
クスと単位時間インデックスの示す更新時間状態管理配
列(states)の要素が1の場合は処理2307に進み、そ
れ以外は処理2306に進む。
Process 2305: If the element of the update time state management array (states) indicated by the field server index and the unit time index is 1, the process proceeds to the process 2307; otherwise, the process proceeds to the process 2306.

【0104】処理2306:フィールドサーバインデッ
クスを1インクリメントする。
Process 2306: The field server index is incremented by one.

【0105】処理2307:新たな単位時間インデック
ス(k)を初期化する。
Process 2307: A new unit time index (k) is initialized.

【0106】処理2308:新たな単位時間インデック
スが分割個数を越えた場合は処理2306に進み、それ
以外は処理2309に進む。
Process 2308: If the new unit time index exceeds the number of divisions, the process proceeds to process 2306; otherwise, the process proceeds to process 2309.

【0107】処理2308:新たな単位時間インデック
スが分割個数を越えた場合は処理2306に進み、それ
以外は処理2309から処理2312を行う。
Process 2308: When the new unit time index exceeds the number of divisions, the process proceeds to process 2306, and otherwise, processes 2309 to 2312 are performed.

【0108】処理2309:新たな単位時間インデック
スが単位時間インデックスに等しい場合は処理2310
に進み、それ以外は処理2311に進む。
Process 2309: Process 2310 if the new unit time index is equal to the unit time index
Otherwise, to step 2311.

【0109】処理2310:新たな単位時間インデック
スを1インクリメントし,処理2308に戻る。
Process 2310: The new unit time index is incremented by 1 and the process returns to process 2308.

【0110】処理2311:フィールドサーバインデッ
クスと新たな単位時間インデックスの示す更新時間状態
管理配列(states)の要素が1の場合は処理2312に進
み、それ以外は処理2310に進む。
Process 2311: If the element of the update time state management array (states) indicated by the field server index and the new unit time index is 1, the process proceeds to a process 2312; otherwise, the process proceeds to a process 2310.

【0111】処理2312:更新フィールドサーバ数管
理配列の新たな単位時間インデックスの要素を1デクリ
メントし、割り当てたフィールドサーバ数管理配列(cn
t)の新たな単位時間インデックスの要素を1インクリメ
ントし、フィールドサーバインデックスと新たな単位時
間インデックスの示す更新時間状態管理配列(states)の
要素を0にする。
Process 2312: The element of the new unit time index of the updated field server number management array is decremented by 1, and the assigned field server number management array (cn
The element of the new unit time index of t) is incremented by 1, and the element of the update time state management array (states) indicated by the field server index and the new unit time index is set to 0.

【0112】割り当てられたフィールドサーバ間の更新
時間調整処理2204のフローチャートを図24に示
し、処理フローを以下に示す。
FIG. 24 shows a flowchart of the update time adjustment processing 2204 between the assigned field servers, and the processing flow is shown below.

【0113】処理2401:当該単位時間に割り当てら
れたフィールドサーバ数(fcount)と当該単位時間の開始
時刻(stime)を設定。
Process 2401: The number of field servers (fcount) allocated to the unit time and the start time (stime) of the unit time are set.

【0114】処理2402:割り当てフィールドサーバ
インデックス(m)を初期化する。
Process 2402: Initialize the assigned field server index (m).

【0115】処理2403:割り当てフィールドサーバ
インデックスが割り当て個数を越えた場合は割り当てフ
ィールドサーバ間の更新時間調整処理2204を終了し
処理2205に進み、それ以外は処理2404に進む。
Process 2403: When the assigned field server index exceeds the assigned number, the update time adjustment process 2204 between the assigned field servers is terminated and the process proceeds to the process 2205. Otherwise, the process proceeds to the process 2404.

【0116】処理2404:割り当てられたフィールド
サーバのフィールドサーバインデックス(l)を求める。
Process 2404: The field server index (l) of the assigned field server is obtained.

【0117】処理2405:調整後更新開始時刻配列(r
esult)のフィールドサーバインデックスの要素に計算し
た更新開始時刻を格納する。
Process 2405: Adjusted update start time array (r
esult) stores the calculated update start time in the field server index element.

【0118】処理2406:割り当てフィールドサーバ
インデックスを1インクリメントし、処理2403に戻
る。
Process 2406: The assigned field server index is incremented by 1, and the process returns to process 2403.

【0119】本実施例では電気機器使用状況情報301
を蓄積しておいて、システムの更新時間を決める必要が
あったときに、まとめて一定期間分(3ヶ月)の低負荷
時間帯情報を生成するとしたが、低負荷時間帯情報生成
機能302をシステム自動更新プログラム209ではな
く、電気機器監視・制御プログラム208の構成要素と
して、電気機器使用状況情報を作成するとともに1日1
回低負荷時間帯情報の生成を行う、または電気機器の使
用状況を監視すると同時に低負荷時間帯情報を生成する
等の実現方法も考えられる。
In this embodiment, the electric equipment use status information 301
Is stored, and when it is necessary to determine the update time of the system, the low load time zone information for a certain period (three months) is generated collectively. Instead of the system automatic update program 209, as a component of the electrical equipment monitoring / control program 208, electrical equipment usage information is created and
It is also conceivable to generate the low load time zone information, or to monitor the usage status of the electric device and generate the low load time zone information at the same time.

【0120】[0120]

【発明の効果】以上述べたように本発明によれば、電気
機器の監視を行うフィールドサーバにおいて、フィール
ドサーバのシステムプログラムを更新する際、過去の電
気機器の使用状況データから一日のうちで稼働電気機器
の最も少ない時間帯データを算出し、またそのデータを
電力サーバに送りプログラムのダウンロードを行う時刻
の調整を行ってもらうことにより、フィールドサーバに
最も余裕があり、かつ通信回線、電力サーバも最も効率
的に使用できる時刻にプログラムのダウンロードを行い
システムの更新を行うことで、フィールドサーバの作業
への影響を最小限に押さえつつシステムの更新を行うこ
とが可能となる。
As described above, according to the present invention, when a system program of a field server is updated in a field server for monitoring an electric device, the usage data of the past electric device can be updated within a day. By calculating the time zone data with the least number of operating electrical devices and sending the data to the power server to adjust the time at which the program is downloaded, the field server has the most room and the communication line and power server By updating the system by downloading the program at the time when it can be used most efficiently, it is possible to update the system while minimizing the effect on the operation of the field server.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明を実現するシステム全体の構成の一例を
示す図である。
FIG. 1 is a diagram illustrating an example of a configuration of an entire system for implementing the present invention.

【図2】本発明を実現するハードウェア構成の一例を示
す図である。
FIG. 2 is a diagram illustrating an example of a hardware configuration that implements the present invention.

【図3】本発明を実現するソフトウェア構成の一例とデ
ータの流れを示す図である。
FIG. 3 is a diagram showing an example of a software configuration for realizing the present invention and a data flow.

【図4】本発明の一実施例における、フィールドサーバ
の電気機器監視・制御プログラムが出力する電気機器に
流れる電流量データである各電気機器使用状況情報のデ
ータ形式の一例と、データの一例を示す図である。
FIG. 4 is a diagram illustrating an example of a data format of electric device usage status information, which is current amount data flowing through an electric device output by an electric device monitoring / control program of a field server, and an example of data according to an embodiment of the present invention. FIG.

【図5】(1)は図4に示した各電気機器使用状況情報
の数値データ例を図化して、低負荷時間帯を算出する手
順の一例を示す図である。(2)、(3)は数値データ
列の処理手順を示す図である。
FIG. 5A is a diagram illustrating an example of a procedure for calculating a low-load time zone by illustrating an example of numerical data of each electrical device use status information illustrated in FIG. 4; (2), (3) is a figure which shows the processing procedure of a numerical data sequence.

【図6】図5に示した1日分の低負荷時間帯データの構
成を示す図である。
FIG. 6 is a diagram showing a configuration of one day of low load time zone data shown in FIG. 5;

【図7】図6で得た日毎低負荷時間帯データの集合か
ら、全ての日に共通する時間帯を求める手順を示す図で
ある。
FIG. 7 is a diagram showing a procedure for obtaining a time zone common to all days from a set of daily low load time zone data obtained in FIG. 6;

【図8】図7で得た更新推奨条件のデータ構成を示す図
である。
FIG. 8 is a diagram showing a data structure of an update recommendation condition obtained in FIG. 7;

【図9】フィールドサーバが図8で得た更新推奨条件を
電力サーバに送信し、電力サーバへのアクセス時刻を調
整した更新最適条件を得る手順を示す図である。
9 is a diagram showing a procedure in which the field server transmits the update recommendation condition obtained in FIG. 8 to the power server, and obtains an update optimum condition in which the access time to the power server is adjusted.

【図10】本発明によるフィールドサーバで稼働するプ
ログラムの一例のフローである。
FIG. 10 is a flowchart of an example of a program that runs on the field server according to the present invention.

【図11】図10に示したプログラムから起動されるシ
ステム自動更新処理のフローである。
FIG. 11 is a flowchart of a system automatic update process started from the program shown in FIG. 10;

【図12】図11に示したプログラムから起動される日
毎低負荷時間帯情報生成処理のフローである。
FIG. 12 is a flowchart of a daily low load time zone information generation process started from the program shown in FIG. 11;

【図13】図12に示したプログラムから起動される低
負荷時間帯抽出処理のフローである。
FIG. 13 is a flowchart of a low load time period extraction process started from the program shown in FIG. 12;

【図14】図11に示したプログラムから起動される更
新推奨条件算出処理のフローである。
FIG. 14 is a flowchart of an update recommendation condition calculation process started from the program shown in FIG. 11;

【図15】図14に示したプログラムから起動される連
続時間帯抽出処理のフローである。
FIG. 15 is a flowchart of a continuous time period extraction process started from the program shown in FIG. 14;

【図16】図11に示したプログラムから起動される更
新時間調整処理のフローである。
FIG. 16 is a flowchart of an update time adjustment process started from the program shown in FIG. 11;

【図17】図11に示したプログラムから起動されるプ
ログラム更新処理のフローである。
FIG. 17 is a flowchart of a program update process started from the program shown in FIG. 11;

【図18】フィールドサーバ管理ホスト側で行う複数の
フィールドサーバ間の更新時間の調整方法を説明するた
めの図である。
FIG. 18 is a diagram illustrating a method of adjusting the update time between a plurality of field servers performed on the field server management host side.

【図19】フィールドサーバ管理ホスト側で行う複数の
フィールドサーバ間の更新時間の調整方法を説明するた
めの図の続きである。
FIG. 19 is a continuation of the diagram for describing the method of adjusting the update time between a plurality of field servers performed on the field server management host side.

【図20】図18で説明したフィールドサーバ管理ホス
ト側で動くフィールドサーバ間の更新時間調整プログラ
ムの処理フローである。
20 is a processing flow of an update time adjustment program between field servers operated on the field server management host side described in FIG.

【図21】図20に示したプログラムから起動される配
列state,countsの初期設定処理のフローである。
21 is a flowchart of an initial setting process of arrays state and counts started from the program shown in FIG.

【図22】図20に示したプログラムから起動されるフ
ィールドサーバ間の更新時刻調整処理のフローである。
FIG. 22 is a flowchart of an update time adjustment process between field servers started from the program shown in FIG. 20;

【図23】図22に示したプログラムから起動されるフ
ィールドサーバの分割単位時間への割振り処理のフロー
である。
FIG. 23 is a flowchart showing a process of allocating a field server to a division unit time started from the program shown in FIG. 22;

【図24】図22に示したプログラムから起動される当
該時間帯に割り当てられたフィールドサーバで割り当て
時間を分割する処理のフローである。
FIG. 24 is a flowchart showing a process of dividing an assigned time by a field server assigned to the time zone activated from the program shown in FIG. 22;

【符号の説明】[Explanation of symbols]

101... フィールドサーバ、102... 住居内ネット
ワーク、103... 電気機器機器群、104... 外部ネ
ットワーク、105... 外部サーバ 201... 処理装置、202... 内部記憶装置、20
3... 外部記憶装置、204...住居内通信装置、20
5...外部通信装置、206... 表示装置、207...
入力装置、208...電気機器監視制御プログラム、2
09...システム自動更新プログラム、 210...フィ
ールドサーバ管理プログラム 301... 電気機器使用状況情報、302... 日毎低負
荷時間帯情報生成機能、303... 更新推奨条件算出機
能、304...更新時間調整機能、305...日毎低負荷
時間帯情報、306...更新推奨条件、307...更新最
適条件
101 ... field server, 102 ... home network, 103 ... electrical equipment group, 104 ... external network, 105 ... external server 201 ... processing unit, 202 ... internal storage Device, 20
3 .... external storage device, 204 ... home communication device, 20
5. External communication device, 206 ... Display device, 207 ...
Input device, 208 ... Electrical equipment monitoring control program, 2
09 ... System automatic update program, 210 ... Field server management program 301 ... Electrical equipment usage status information, 302 ... Daily low load time zone information generation function, 303 ... Update recommended condition calculation function, 304 ... update time adjustment function, 305 ... daily low load time zone information, 306 ... update recommended condition, 307 ... update optimal condition

───────────────────────────────────────────────────── フロントページの続き (72)発明者 森本 義章 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 (72)発明者 川端 律子 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 (72)発明者 北川 健二 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 Fターム(参考) 5B076 BB14 5B089 GA11 GA21 GB02 HA01 JA36 JB16 JB22 KA06 KA07 KB04 KB11  ──────────────────────────────────────────────────の Continued on the front page (72) Inventor Yoshiaki Morimoto 1099 Ozenji Temple, Aso-ku, Kawasaki City, Kanagawa Prefecture Inside Hitachi, Ltd.System Development Laboratory Co., Ltd. (72) Inventor Kenji Kitagawa 1099 Ozenji Temple, Aso-ku, Kawasaki City, Kanagawa Prefecture F-term (reference) 5B076 BB14 5B089 GA11 GA21 GB02 HA01 JA36 JB16 JB22 KA06 KA07 KB04 KB11

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】中央処理装置と記憶装置と通信装置とを含
み、ローカルエリアネットワークと広域ネットワークに
接続するフィールドサーバであって、 ローカルエリアネットワーク(以下LAN)が敷設されて
いる領域内、例えば家屋内で、LANに接続する各電気機
器の使用電力データを収集する電気機器使用状況監視処
理と、各電気機器の制御を行う電気機器制御処理を行な
う電気機器監視・制御フィールドサーバにおいて、シス
テムプログラムの更新が必要になったとき、収集した使
用電力データからシステムプログラム更新に適した条件
を算出する更新最適条件算出処理と、前記更新最適条件
をさらに最適化する更新時間調整処理とを行なうことに
よって、フィールドサーバの中央処理装置が過負荷な状
態でない時にシステムプログラムを更新することを特徴
とするシステム自動更新方法。
1. A field server that includes a central processing unit, a storage device, and a communication device and is connected to a local area network and a wide area network. Indoors, an electrical equipment usage status monitoring process that collects power usage data of each electrical device connected to the LAN and an electrical device monitoring and control field server that performs electrical device control processing that controls each electrical device are executed by the system program. When an update is required, by performing an update optimum condition calculation process of calculating a condition suitable for updating the system program from the collected power consumption data, and an update time adjustment process of further optimizing the update optimum condition, Update the system program when the central processing unit of the field server is not overloaded A system automatic updating method.
【請求項2】前記更新最適条件算出処理は、前記電気機
器使用状況監視処理によりLANに接続する各電気機器か
ら収集した電気機器のON/OFF状態、電気機器に流れた電
流量、及び使用予定電流量のいずれかを含む使用電力デ
ータから、曜日や時間ごとの電気機器の使用頻度データ
を生成し、電気機器の使用が低頻度となる曜日や時間を
得ることによりシステムプログラム更新に適した条件を
算出することを特徴とする請求項1記載のシステム自動
更新方法。
2. The update optimum condition calculation process includes the following steps: the ON / OFF state of the electric device collected from each electric device connected to the LAN by the electric device use status monitoring process, the amount of current flowing through the electric device, and the scheduled use. Conditions suitable for updating system programs by generating usage frequency data for electrical devices for each day of the week or time from power usage data including any of the current amounts, and obtaining days and times when electrical devices are used less frequently 2. The system automatic updating method according to claim 1, wherein is calculated.
【請求項3】前記更新最適条件算出処理により算出した
更新最適条件を、広域ネットワークに接続するフィール
ドサーバ管理用ホスト計算機に送信し、フィールドサー
バ管理用ホスト計算機は、複数のフィールドサーバから
送信された更新最適条件を元に、フィールドサーバ同士
の更新時間の重複が少なくなるように、各フィールドサ
ーバの更新開始時刻等を調整した更新条件を各フィール
ドサーバに返送する更新時間調整処理を行なうことによ
り、複数のフィールドサーバが更新を行う場合において
も、各フィールドサーバは最適な更新条件を得ることを
特徴とする請求項1記載のシステム自動更新方法。
3. The update optimum condition calculated by the update optimum condition calculation process is transmitted to a field server management host computer connected to a wide area network, and the field server management host computer is transmitted from a plurality of field servers. Based on the update optimum condition, by performing an update time adjustment process of returning an update condition in which an update start time of each field server is adjusted to each field server so as to reduce overlap of update times between the field servers, 2. The system automatic updating method according to claim 1, wherein even when a plurality of field servers perform updating, each field server obtains an optimal updating condition.
【請求項4】各電気機器から収集した使用状況データ
を、PCのモニタやTV等の表示機能のある電気機器に表示
する電気機器使用状況表示機能を備えることを特徴とす
る請求項1記載のシステム自動更新方法。
4. The electronic device according to claim 1, further comprising an electric device use status display function for displaying the use status data collected from each electric device on an electric device having a display function such as a PC monitor or a TV. System automatic update method.
JP2000009974A 2000-01-13 2000-01-13 Automatically renewing method for system Pending JP2001194395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000009974A JP2001194395A (en) 2000-01-13 2000-01-13 Automatically renewing method for system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000009974A JP2001194395A (en) 2000-01-13 2000-01-13 Automatically renewing method for system

Publications (1)

Publication Number Publication Date
JP2001194395A true JP2001194395A (en) 2001-07-19

Family

ID=18538047

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000009974A Pending JP2001194395A (en) 2000-01-13 2000-01-13 Automatically renewing method for system

Country Status (1)

Country Link
JP (1) JP2001194395A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009074965A (en) * 2007-09-21 2009-04-09 Asahi Kasei Homes Kk Energy consumption reduction support device
JP2014032151A (en) * 2012-08-06 2014-02-20 Mitsubishi Electric Corp Power display device
JP2015164037A (en) * 2014-02-10 2015-09-10 ゼネラル・エレクトリック・カンパニイ Utility meter intelligent firmware update system and method
JP2015191502A (en) * 2014-03-28 2015-11-02 三菱電機ビルテクノサービス株式会社 Update schedule management device and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009074965A (en) * 2007-09-21 2009-04-09 Asahi Kasei Homes Kk Energy consumption reduction support device
JP2014032151A (en) * 2012-08-06 2014-02-20 Mitsubishi Electric Corp Power display device
JP2015164037A (en) * 2014-02-10 2015-09-10 ゼネラル・エレクトリック・カンパニイ Utility meter intelligent firmware update system and method
JP2015191502A (en) * 2014-03-28 2015-11-02 三菱電機ビルテクノサービス株式会社 Update schedule management device and program

Similar Documents

Publication Publication Date Title
US7312721B2 (en) Data collector for an automated meter reading system
JP5605476B2 (en) System operation management apparatus, system operation management method, and program storage medium
US6868293B1 (en) System and method for energy usage curtailment
US7412509B2 (en) Control system computer, method, and program for monitoring the operational state of a system
US7502844B2 (en) Abnormality indicator of a desired group of resource elements
CN113452145B (en) Method and system for monitoring power utilization condition of low-voltage transformer area user
JP2006349483A (en) Electric power consumption monitoring system
US11131972B2 (en) Performance optimization in a building automation system
US20030061324A1 (en) System and method for analyzing and optimizing computer system performance utilizing observed time performance measures
JP2007082398A (en) Server, system, and method solar power generation management
US10819600B2 (en) Data collection apparatus and data collection method
JPH0844677A (en) Distributed processing system
CN116482598A (en) Power consumption data monitoring method and device
JP2001194395A (en) Automatically renewing method for system
JP2009009538A (en) Method and system for analyzing operating condition
EP1036472B1 (en) Event pre-processing for composing a report
JP3726310B2 (en) Information communication system
CN110909036A (en) Functional module recommendation method and device
CN114600089A (en) Method, device, computing equipment and storage medium for determining acquisition frequency
JP5422612B2 (en) Power saving information providing apparatus, method, system, and program
JP2004104753A (en) Remote monitoring type illumination system, repeater, and server device
WO2019146098A1 (en) Control system, control method, and program
JP2001265623A (en) Monitoring device
CN112598344B (en) Dynamic regulation method and device for temperature alarm interval, electronic equipment and medium
TWI781549B (en) Communication system, communication management device, concentration device, software sending method and recording medium