JP6664343B2 - Software update management system and program - Google Patents

Software update management system and program Download PDF

Info

Publication number
JP6664343B2
JP6664343B2 JP2017044488A JP2017044488A JP6664343B2 JP 6664343 B2 JP6664343 B2 JP 6664343B2 JP 2017044488 A JP2017044488 A JP 2017044488A JP 2017044488 A JP2017044488 A JP 2017044488A JP 6664343 B2 JP6664343 B2 JP 6664343B2
Authority
JP
Japan
Prior art keywords
software
update
control
equipment
influence
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.)
Expired - Fee Related
Application number
JP2017044488A
Other languages
Japanese (ja)
Other versions
JP2018147413A (en
Inventor
佐藤 健二
健二 佐藤
利宏 妻鹿
利宏 妻鹿
宗佑 南田
宗佑 南田
仁 川▲崎▼
仁 川▲崎▼
恵大 太田
恵大 太田
朋興 浮穴
朋興 浮穴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Mitsubishi Electric Building Techno Service Co Ltd
Original Assignee
Mitsubishi Electric Corp
Mitsubishi Electric Building Techno Service 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 Mitsubishi Electric Corp, Mitsubishi Electric Building Techno Service Co Ltd filed Critical Mitsubishi Electric Corp
Priority to JP2017044488A priority Critical patent/JP6664343B2/en
Priority to PCT/JP2017/027397 priority patent/WO2018163461A1/en
Priority to CN201780088075.1A priority patent/CN110383249B/en
Publication of JP2018147413A publication Critical patent/JP2018147413A/en
Application granted granted Critical
Publication of JP6664343B2 publication Critical patent/JP6664343B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Description

本発明は、ソフトウェア更新管理システム及びプログラム、特に設備機器において動作するソフトウェアの更新に関する。   The present invention relates to a software update management system and a program, and in particular, to an update of software operating on equipment.

保守対象のビルのオーナー等の顧客が使用するタブレットやスマートフォンなどの端末にアプリケーションを配布して、顧客ビルの設備機器に関連するサービスを顧客に提供することが行われている。顧客が配布されたアプリケーションを使用してサービスを正常に利用できるようにするには、ビルの設備機器において動作するソフトウェアのバージョンが、配布されたアプリケーションに対応している必要がある。もし、対応していない場合には、設備機器のソフトウェアを更新したり新規インストールしたりする必要がある。以降の説明では、更新と新規インストールをあわせて「更新」と呼ぶことにする。   2. Description of the Related Art Applications are distributed to terminals such as tablets and smartphones used by customers such as owners of buildings to be maintained, and services related to equipment in customer buildings are provided to customers. In order for the customer to successfully use the service using the distributed application, the version of software running on the facility equipment of the building needs to correspond to the distributed application. If not, it is necessary to update or newly install the software of the equipment. In the following description, the update and the new installation are collectively referred to as “update”.

従来においては、更新の実績やビル設備の運用スケジュールを参照して設備機器(コントローラ)のソフトウェアの更新スケジュールを作成する技術が提案されている(例えば、特許文献1)。   2. Description of the Related Art Conventionally, there has been proposed a technique of creating a software update schedule of equipment (controller) with reference to update results and building equipment operation schedules (for example, Patent Document 1).

特開2015−191502号公報JP-A-2015-191502 特開2009−157597号公報JP 2009-157597 A 特開2009−286600号公報JP 2009-286600 A 特開2008−186392号公報JP 2008-186392 A 特開2009−169524号公報JP 2009-169524 A 特開2011−113391号公報JP 2011-113391 A 特開2008−152332号公報JP 2008-152332 A 特開2001−067225号公報JP 2001-067225 A

ところで、顧客が上記サービスを利用できない場合、顧客は、どの設備機器のソフトウェアを更新してよいのか、またどのタイミングで更新してよいのかを判断することができない。ビル管理会社は、設備機器のソフトウェア及びその更新を管理するが、ソフトウェアの更新は、他のシステム(例えば、更新対象が空調設備の場合における入退管理システム)や他の顧客(例えば、ビルがテナントビルの場合における他のテナント)による設備機器の制御に影響を与える可能性がある。そのため、例えば、設備機器があまり利用されていない時間帯など適切なタイミングでソフトウェアの更新を行うことが望まれる。   By the way, if the customer cannot use the above service, the customer cannot determine which equipment device software may be updated and at what timing the software device may be updated. The building management company manages the software of the equipment and the update thereof, and the software update is performed by another system (for example, an access control system when the update target is an air conditioner) or another customer (for example, the building There is a possibility that the control of equipment by another tenant in the case of a tenant building may be affected. Therefore, it is desired to update the software at an appropriate timing, for example, during a time period when equipment is not used much.

従来においては、ソフトウェアの更新実績や設備機器の制御スケジュールを参照して設備機器の制御に影響を与えない時間帯を求め、その時間帯にソフトウェアの更新を行えるようにしていた。しかしながら、設備機器を動作させるための制御処理には、制御スケジュールとして設定されていない制御(例えば、顧客操作や環境変化をトリガーとして実行される制御)やビル設備の内部処理(例えば、データ集計処理)等があるが、従来では、ソフトウェアの更新実績や設備機器の制御スケジュールに表れてこない制御に与える影響を考慮していなかった。   Conventionally, a time zone that does not affect the control of the equipment is obtained by referring to the update results of the software and the control schedule of the equipment, and the software can be updated during the time. However, the control processing for operating the facility equipment includes control that is not set as a control schedule (for example, control that is executed in response to a customer operation or environmental change as a trigger) or internal processing of building equipment (for example, data aggregation processing). However, in the past, no consideration was given to the influence on control that does not appear in the software update record or the control schedule of the equipment.

本発明は、設備機器の制御スケジュールに表れてこない制御をも考慮してソフトウェアの更新を行うことを目的とする。   An object of the present invention is to update software in consideration of control that does not appear in a control schedule of equipment.

本発明に係るソフトウェア更新管理システムは、設備機器の制御のスケジュールが定義された制御スケジュール情報を記憶する制御スケジュール情報記憶手段と、前記設備機器において動作するソフトウェアの更新予定時間及び更新所要時間を含む更新要求情報を受け付ける受付手段と、前記設備機器にかかる負荷の状態を示す状態情報を取得する状態情報取得手段と、ソフトウェアの更新の可否を判定する更新判定手段と、前記更新判定手段からの指示に応じてソフトウェアの更新を行う更新手段と、を有し、前記更新判定手段は、前記状態情報を参照して、更新予定時間を迎えるソフトウェアの更新処理が、前記制御スケジュール情報にスケジュールが定義されている制御のみならず、定義されていない制御にも与える影響の度合いを示す影響度を算出する影響度算出部を含み、算出した影響度が所定の閾値以上の場合には当該ソフトウェアの更新を前記更新手段に指示しないものである。   A software update management system according to the present invention includes a control schedule information storage unit that stores control schedule information in which a schedule for controlling equipment is defined, and a scheduled update time and a required update time of software operating on the equipment. Receiving means for receiving update request information, state information obtaining means for obtaining state information indicating a state of a load applied to the equipment, update determining means for determining whether or not software can be updated, and instructions from the update determining means Update means for updating the software according to the update determination means, wherein the update determination means refers to the state information, and the update processing of the software at the scheduled update time is defined in the control schedule information. Indicate the degree of impact on not only defined controls but also undefined controls It includes influence calculation unit for calculating a degree of influence calculated degree of influence in the case of more than the predetermined threshold value is one that does not instruct the update of the software in the updating means.

また、前記制御スケジュール情報には、前記設備機器の各制御に対する優先度が予め設定されており、前記更新判定手段は、更新予定時間になっても更新が実行されていないソフトウェアに対し、更新予定時間からの経過時間に応じた優先度を設定する優先度設定部を含み、当該ソフトウェアの影響度が閾値以上であっても、当該ソフトウェアの優先度が当該ソフトウェアの更新を実行しようとした場合に重複して実行されることになる制御の優先度を上回る場合には当該ソフトウェアの更新を前記更新手段に指示するものである。   Further, in the control schedule information, a priority for each control of the equipment is set in advance, and the update determination unit determines that the software that has not been updated even when the scheduled update time has elapsed is updated. Includes a priority setting unit that sets the priority according to the elapsed time from the time, even if the influence of the software is equal to or greater than the threshold, and the priority of the software attempts to execute the update of the software. When the priority of the control to be executed redundantly is exceeded, the updating of the software is instructed to the updating means.

また、前記設備機器にかかる負荷の時系列的変化が定義された負荷モデルを記憶する負荷モデル記憶手段を有し、前記更新判定手段は、当該ソフトウェアの影響度が閾値以上であっても、前記負荷モデルを参照することによって前記設備機器にかかる負荷が今後上昇すると判断した場合に当該ソフトウェアの更新を前記更新手段に指示するものである。   In addition, the apparatus further includes a load model storage unit that stores a load model in which a time-series change of a load applied to the facility device is defined, and the update determination unit is configured such that, even if an influence degree of the software is equal to or more than a threshold value, When it is determined that the load on the equipment will increase in the future by referring to the load model, the update unit is instructed to update the software.

本発明に係るプログラムは、設備機器の制御のスケジュールが定義された制御スケジュール情報を記憶する制御スケジュール情報記憶手段にアクセス可能なコンピュータを、前記設備機器において動作するソフトウェアの更新予定時間及び更新所要時間を含む更新要求情報を受け付ける受付手段、前記設備機器にかかる負荷の状態を示す状態情報を取得する状態情報取得手段、ソフトウェアの更新の可否を判定する更新判定手段、前記更新判定手段からの指示に応じてソフトウェアの更新を行う更新手段、として機能させるものである。   A program according to the present invention provides a computer that can access a control schedule information storage unit that stores control schedule information in which a schedule for controlling equipment is defined, by updating scheduled time and required update time of software operating on the equipment. Receiving means for receiving update request information including, state information obtaining means for obtaining state information indicating a state of a load applied to the equipment, update determining means for determining whether or not software can be updated, and an instruction from the update determining means. It functions as updating means for updating the software accordingly.

前記更新判定手段は、前記状態情報を参照して、更新予定時間を迎えるソフトウェアの更新処理が、前記制御スケジュール情報にスケジュールが定義されている制御のみならず、定義されていない制御にも与える影響の度合いを示す影響度を算出する影響度算出部を含み、算出した影響度が所定の閾値以上の場合には当該ソフトウェアの更新を前記更新手段に指示しないものである。   The update determination unit refers to the state information, and influences the update process of the software reaching the scheduled update time not only on the control whose schedule is defined in the control schedule information but also on the control not defined. And an influence degree calculation unit for calculating an influence degree indicating the degree of the influence. When the calculated influence degree is equal to or more than a predetermined threshold value, the update means is not instructed to update the software.

本発明によれば、設備機器の制御スケジュールに表れてこない制御をも考慮してソフトウェアの更新を行うことができる。   According to the present invention, software can be updated in consideration of control that does not appear in the control schedule of equipment.

また、制御の実行に支障を来さないようにソフトウェアの更新を待機させる場合でも、更新予定日時から経過した時間が長くなった場合にはソフトウェアの更新を行うことができる。   Further, even when the software update is made to be on standby so as not to hinder the execution of the control, the software can be updated when the time elapsed from the scheduled update date and time becomes long.

また、制御機器の係る負荷が高く制御の実行に支障を来すことになる状態であっても、今後、制御機器に係る負荷が更に上昇するのであれば、ソフトウェアの更新を現時点で行うことができる。   Also, even in a state where the load on the control device is high and hinders the execution of control, if the load on the control device further increases in the future, it is possible to update the software at this time. it can.

本発明に係るソフトウェア更新管理システムの一実施の形態を示した全体構成図である。FIG. 1 is an overall configuration diagram showing an embodiment of a software update management system according to the present invention. 実施の形態1におけるビル設備に搭載されるコンピュータのハードウェア構成図である。FIG. 3 is a hardware configuration diagram of a computer mounted on building equipment according to the first embodiment. 実施の形態1におけるビル設備のブロック構成図である。FIG. 2 is a block diagram of building equipment according to the first embodiment. 実施の形態1における更新要求情報記憶部に登録される更新要求情報のデータ構成の一例を示す図である。5 is a diagram illustrating an example of a data configuration of update request information registered in an update request information storage unit according to Embodiment 1. FIG. 実施の形態1における制御スケジュール情報記憶部に登録される制御スケジュール情報のデータ構成の一例を示す図である。5 is a diagram illustrating an example of a data configuration of control schedule information registered in a control schedule information storage unit according to Embodiment 1. FIG. 実施の形態1におけるソフトウェア更新処理を示すフローチャートである。5 is a flowchart illustrating a software update process according to the first embodiment. 実施の形態1において取得される状態情報のデータ構成の一例を示す図である。5 is a diagram illustrating an example of a data configuration of state information acquired in Embodiment 1. FIG. 実施の形態2におけるビル設備のブロック構成図である。FIG. 9 is a block diagram of building equipment according to a second embodiment. 実施の形態2における更新要求情報記憶部に登録される更新要求情報のデータ構成の一例を示す図である。FIG. 14 is a diagram illustrating an example of a data configuration of update request information registered in an update request information storage unit according to Embodiment 2. 実施の形態2における制御スケジュール情報記憶部に登録される制御スケジュール情報のデータ構成の一例を示す図である。FIG. 13 is a diagram illustrating an example of a data configuration of control schedule information registered in a control schedule information storage unit according to Embodiment 2. 実施の形態2におけるソフトウェア更新処理を示すフローチャートである。13 is a flowchart illustrating a software update process according to the second embodiment. 実施の形態3におけるビル設備のブロック構成図である。FIG. 14 is a block diagram of building equipment according to a third embodiment. 実施の形態3におけるソフトウェア更新処理を示すフローチャートである。15 is a flowchart illustrating a software update process according to the third embodiment.

以下、図面に基づいて、本発明の好適な実施の形態について説明する。   Hereinafter, a preferred embodiment of the present invention will be described with reference to the drawings.

実施の形態1.
図1は、本発明に係るソフトウェア更新管理システムの一実施の形態を示した全体構成図である。図1には、遠隔監視センタ1、顧客事務所2及び顧客ビル3が示されている。顧客事務所2は、顧客ビル3のオーナー等の顧客の事務所であり、公衆回線やインターネットなどの顧客用ネットワーク4を介して遠隔監視センタ1と通信を行う顧客端末20が設けられる。顧客端末20は、顧客が使用するパーソナルコンピュータ(PC)、スマートフォンあるいはタブレットなどの端末である。顧客ビル3は、顧客が所有するビルであり、ソフトウェアの更新対象とする1又は複数の設備機器(以下、「ビル設備」)30が設置される。ビル設備30は、公衆回線やインターネットなどの設備用ネットワーク5を介して遠隔監視センタ1と通信を行う。なお、顧客ビル3には、1又は複数のビル設備30が設置されるが、各ビル設備30とも後述する構成を有していればよいので、図1には、便宜的に1台のみ図示している。
Embodiment 1 FIG.
FIG. 1 is an overall configuration diagram showing an embodiment of a software update management system according to the present invention. FIG. 1 shows a remote monitoring center 1, a customer office 2, and a customer building 3. The customer office 2 is an office of a customer such as an owner of the customer building 3, and is provided with a customer terminal 20 that communicates with the remote monitoring center 1 via a customer network 4 such as a public line or the Internet. The customer terminal 20 is a terminal such as a personal computer (PC), a smartphone, or a tablet used by the customer. The customer building 3 is a building owned by the customer, and has one or a plurality of equipment (hereinafter, “building equipment”) 30 to be updated with software. The building facility 30 communicates with the remote monitoring center 1 via a facility network 5 such as a public line or the Internet. One or a plurality of building facilities 30 are installed in the customer building 3, but since each building facility 30 only needs to have a configuration described later, FIG. 1 shows only one building facility for convenience. Is shown.

遠隔監視センタ1は、ビル設備保守会社の施設であり、顧客ビル3に設置されているビル設備30を遠隔から監視する。また、顧客端末20にアプリケーションを配布することで、顧客に対し、顧客が所有する顧客ビル3のビル設備30の利用に関連するサービスを提供する。   The remote monitoring center 1 is a facility of a building equipment maintenance company and monitors building equipment 30 installed in the customer building 3 from a remote place. Further, by distributing the application to the customer terminal 20, a service related to the use of the building equipment 30 of the customer building 3 owned by the customer is provided to the customer.

遠隔監視センタ1は、管理端末11、ソフトウェア管理サーバ12、顧客情報管理サーバ13、顧客サービスサーバ14及びビル設備管理装置15をイントラネット16で接続した構成を有している。管理端末11は、遠隔監視センタ1において顧客端末向けアプリケーションとビル設備向けソフトウェアを管理する管理者により使用されるPC等で構成され、ソフトウェアや各種情報の管理に用いられる。ソフトウェア管理サーバ12は、顧客端末向けアプリケーション及びビル設備向けソフトウェアを保持管理するサーバコンピュータである。顧客情報管理サーバ13は、顧客ビル3のビル設備30について、配置やソフトウェアバージョンなどを含む構成情報を保持管理するサーバコンピュータである。顧客サービスサーバ14は、サービスを顧客に提供するサーバコンピュータである。そのために、顧客サービスサーバ14は、顧客からの要求に応じて顧客端末向けアプリケーションを顧客端末20にダウンロードする。また、顧客サービスサーバ14は、ビル設備30におけるソフトウェアの更新をビル設備管理装置15に要求し、更にソフトウェアが更新された通知をビル設備管理装置15から受けると、ダウンロードした顧客端末向けアプリケーションが利用可能になった旨を顧客に通知する。ビル設備管理装置15は、ビル設備30の管理に用いられるサーバコンピュータである。具体的には、ビル設備30の制御及び状態監視を実行する。また、ソフトウェアの更新要求に応じてビル設備30自身が実行するソフトウェアの更新を管理する。   The remote monitoring center 1 has a configuration in which a management terminal 11, a software management server 12, a customer information management server 13, a customer service server 14, and a building equipment management device 15 are connected via an intranet 16. The management terminal 11 includes a PC or the like used by an administrator who manages applications for customer terminals and software for building facilities in the remote monitoring center 1, and is used for management of software and various information. The software management server 12 is a server computer that holds and manages applications for customer terminals and software for building facilities. The customer information management server 13 is a server computer that holds and manages configuration information including the arrangement and software version of the building equipment 30 of the customer building 3. The customer service server 14 is a server computer that provides services to customers. For that purpose, the customer service server 14 downloads the customer terminal application to the customer terminal 20 in response to a request from the customer. Further, the customer service server 14 requests the building equipment management apparatus 15 to update the software in the building equipment 30 and further receives a notification that the software has been updated from the building equipment management apparatus 15, and uses the downloaded application for the customer terminal. Notify the customer that it is possible. The building equipment management device 15 is a server computer used for managing the building equipment 30. Specifically, control and state monitoring of the building equipment 30 are executed. Also, it manages software updates executed by the building equipment 30 itself in response to a software update request.

図2は、本実施の形態におけるビル設備30に搭載されるコンピュータのハードウェア構成図である。本実施の形態においては、ソフトウェアを自ら更新でき、また実行する能力を持つコントローラを想定している。コントローラは、接続された空調等の各種設備(図示せず)の動作制御を行う設備機器である。コントローラに搭載されるコンピュータは、従前から存在する汎用的なハードウェア構成で実現できる。すなわち、コンピュータは、図2に示したようにCPU41、ROM42、RAM43、ハードディスクドライブ(HDD)44、通信手段として設けられたネットワークインタフェース(IF)45を内部バス46に接続して構成される。   FIG. 2 is a hardware configuration diagram of a computer mounted on the building equipment 30 in the present embodiment. In the present embodiment, a controller capable of updating software by itself and having the ability to execute the software is assumed. The controller is equipment that controls the operation of various facilities (not shown) such as connected air conditioners. A computer mounted on the controller can be realized by a general-purpose hardware configuration that has existed before. That is, the computer is configured by connecting a CPU 41, a ROM 42, a RAM 43, a hard disk drive (HDD) 44, and a network interface (IF) 45 provided as communication means to an internal bus 46 as shown in FIG.

図3は、本実施の形態におけるビル設備30のブロック構成図である。なお、本実施の形態の説明に用いない構成要素については図から省略している。本実施の形態におけるビル設備30は、更新要求受付部31、状態監視部32、更新判定部33、ソフトウェア更新部34、制御部35、ソフトウェア記憶部36、更新要求情報記憶部37及び制御スケジュール情報記憶部38を有している。更新要求受付部31は、ビル設備30において動作するソフトウェアの更新要求情報を遠隔監視センタ1から受け付ける。状態監視部32は、ビル設備30にかかる負荷の状態を監視し、その状態を示す状態情報を更新判定部33に渡す。更新判定部33は、更新要求受付部31が受け付けた更新要求に応じて、要求されたソフトウェアの更新が可能かどうかの判定を行う。そして、更新可と判定したときにはソフトウェアの更新をソフトウェア更新部34に指示する。本実施の形態における更新要求受付部31には、影響度算出部331が含まれている。影響度算出部331は、状態情報を参照して、更新予定時間を迎えるソフトウェアの更新処理が、制御スケジュール情報にスケジュールが定義されている制御のみならず、定義されていない制御にも与える影響の度合いを示す影響度を算出する。ソフトウェア更新部34は、更新判定部33からの指示に応じてソフトウェアの更新を行う。制御部35は、各構成要素31〜34と連携してソフトウェアの更新処理を制御する。ソフトウェア記憶部36には、更新対象のソフトウェアが蓄積される。   FIG. 3 is a block diagram of the building equipment 30 in the present embodiment. Note that components not used in the description of the present embodiment are omitted from the drawings. The building equipment 30 according to the present embodiment includes an update request receiving unit 31, a state monitoring unit 32, an update determination unit 33, a software update unit 34, a control unit 35, a software storage unit 36, an update request information storage unit 37, and control schedule information. It has a storage unit 38. The update request receiving unit 31 receives, from the remote monitoring center 1, update request information of software operating in the building equipment 30. The state monitoring unit 32 monitors the state of the load applied to the building equipment 30 and passes state information indicating the state to the update determination unit 33. The update determination unit 33 determines whether the requested software can be updated in response to the update request received by the update request reception unit 31. When it is determined that the update is possible, the software update unit 34 is instructed to update the software. The update request receiving unit 31 according to the present embodiment includes an influence degree calculating unit 331. The influence degree calculation unit 331 refers to the state information, and determines whether the software update processing reaching the scheduled update time affects not only the control whose schedule is defined in the control schedule information but also the control whose schedule is not defined. The degree of influence indicating the degree is calculated. The software update unit 34 updates the software according to an instruction from the update determination unit 33. The control unit 35 controls the software update process in cooperation with the components 31 to 34. Software to be updated is stored in the software storage unit 36.

図4は、本実施の形態における更新要求情報記憶部37に登録される更新要求情報のデータ構成の一例を示す図である。更新要求情報記憶部37には、更新要求受付部31により取得された更新要求情報が登録され、ソフトウェア更新部34により更新が実行されると削除される。更新要求情報は、U−ID、ビルID、設備ID、ソフトウェア名、バージョン、所要時間及び更新要求日時を含む。U−IDは、更新要求情報(レコード)の識別情報である。ビルIDは、更新要求情報を受け付けた顧客ビル3の識別情報である。設備IDは、ソフトウェアの更新対象となるビル設備30の識別情報である。本実施の形態では、更新要求情報をビル設備30毎に保持するので、ビルID及び設備IDにはそれぞれ、同じ識別情報が設定されることになる。ソフトウェア名は、更新対象のソフトウェアを特定する情報としての名称で、バージョンは更新後のソフトウェアのバージョンを示す。所要時間は、当該ソフトウェアの更新に要する時間である。更新要求日時は、当該ソフトウェアの更新処理の実行を開始させる予定日時である。   FIG. 4 is a diagram illustrating an example of a data configuration of update request information registered in the update request information storage unit 37 according to the present embodiment. The update request information acquired by the update request receiving unit 31 is registered in the update request information storage unit 37, and is deleted when the software update unit 34 executes the update. The update request information includes a U-ID, a building ID, a facility ID, a software name, a version, a required time, and an update request date and time. U-ID is identification information of update request information (record). The building ID is identification information of the customer building 3 that has received the update request information. The equipment ID is identification information of the building equipment 30 whose software is to be updated. In the present embodiment, since the update request information is stored for each building facility 30, the same identification information is set for each of the building ID and the facility ID. The software name is a name as information for specifying software to be updated, and the version indicates the version of the software after the update. The required time is the time required for updating the software. The update request date and time is a scheduled date and time at which execution of the update process of the software is started.

図5は、本実施の形態における制御スケジュール情報記憶部38に登録される制御スケジュール情報のデータ構成の一例を示す図である。制御スケジュール情報記憶部38には、ビル設備30に対して行われる制御のスケジュールが予め定義された更新要求情報が登録される。動作制御部(図示せず)は、この制御スケジュールに従ってビル設備30又はビル設備30に接続されている空調等の設備機器の動作を制御する。制御スケジュール情報は、SC−ID、ビルID、設備ID、制御内容、設定値、開始日時及び終了日時を含む。SC−IDは、制御スケジュール情報(レコード)の識別情報である。ビルID及び設備IDは、更新要求情報において説明したとおりである。制御内容は、実施する制御の内容を特定する名称である。設定値には、当該制御を実施する際の具体的な設定値が設定される。開始日時及び終了日時は、制御を実施する時間の範囲を指定する情報であり、当該制御の始期と終期が設定される。   FIG. 5 is a diagram illustrating an example of a data configuration of control schedule information registered in the control schedule information storage unit 38 according to the present embodiment. Update request information in which a schedule of control performed on the building equipment 30 is defined in advance is registered in the control schedule information storage unit 38. The operation control unit (not shown) controls the operation of the building equipment 30 or equipment such as an air conditioner connected to the building equipment 30 according to the control schedule. The control schedule information includes an SC-ID, a building ID, a facility ID, a control content, a set value, a start date and time, and an end date and time. SC-ID is identification information of control schedule information (record). The building ID and the facility ID are as described in the update request information. The control content is a name that specifies the content of the control to be performed. As the set value, a specific set value for performing the control is set. The start date and time and the end date and time are information for specifying the range of time for performing the control, and the start and end of the control are set.

ビル設備30における各構成要素31〜35は、ビル設備30に搭載されるコンピュータと、コンピュータに搭載されたCPU41で動作するプログラムとの協調動作により実現される。また、各記憶部36〜38は、ビル設備30に搭載されたHDD44にて実現される。あるいは、RAM43又は外部にある記憶手段をネットワーク経由で利用してもよい。   Each of the constituent elements 31 to 35 in the building equipment 30 is realized by a cooperative operation of a computer mounted on the building equipment 30 and a program operated by the CPU 41 mounted on the computer. Each of the storage units 36 to 38 is realized by the HDD 44 mounted on the building equipment 30. Alternatively, the RAM 43 or an external storage means may be used via a network.

また、本実施の形態で用いるプログラムは、通信手段により提供することはもちろん、CD−ROMやUSBメモリ等のコンピュータ読み取り可能な記録媒体に格納して提供することも可能である。通信手段や記録媒体から提供されたプログラムはコンピュータにインストールされ、コンピュータのCPUがプログラムを順次実行することで各種処理が実現される。   In addition, the program used in the present embodiment can be provided not only by communication means but also stored in a computer-readable recording medium such as a CD-ROM or a USB memory. The program provided from the communication means or the recording medium is installed in the computer, and various processes are realized by the CPU of the computer sequentially executing the program.

顧客端末向けアプリケーション又はビル設備向けソフトウェアが更新されると、管理者は、管理端末11を用いて更新されたソフトウェア、及び顧客端末向けアプリケーションとビル設備向けソフトウェアのバージョンの対応関係を示す対応情報をソフトウェア管理サーバ12に登録する。顧客は、顧客端末20を操作して顧客サービスサーバ14から顧客端末向けアプリケーションをダウンロードにより取得する。顧客サービスサーバ14は、ソフトウェア管理サーバ12に登録されている対応情報及び顧客情報管理サーバ13に登録されている顧客情報を参照することによって、当該顧客が新たに取得した顧客端末向けアプリケーションに対応するバージョンのビル設備向けソフトウェアが、当該顧客の顧客ビル3のビル設備30にインストールされていないことを認識すると、ビル設備30のソフトウェアの更新をビル設備管理装置15に要求する。ビル設備管理装置15は、この要求に応じてビル設備30に更新要求情報を送信することで、ソフトウェアの更新を指示する。   When the customer terminal application or the building facility software is updated, the manager updates the software updated using the management terminal 11 and the correspondence information indicating the correspondence between the customer terminal application and the version of the building facility software. Register in the software management server 12. The customer operates the customer terminal 20 to obtain the customer terminal application from the customer service server 14 by downloading. The customer service server 14 refers to the correspondence information registered in the software management server 12 and the customer information registered in the customer information management server 13 to respond to the customer terminal application newly acquired by the customer. When recognizing that the version of the building equipment software is not installed in the building equipment 30 of the customer building 3 of the customer, the building equipment management apparatus 15 is requested to update the software of the building equipment 30. The building equipment management device 15 instructs the software update by transmitting update request information to the building equipment 30 in response to the request.

遠隔監視センタ1から更新要求情報が送信されてくると、更新要求受付部31は、その情報を取得し、更新要求情報記憶部37に登録することで、ソフトウェアの更新要求を受け付ける。   When update request information is transmitted from the remote monitoring center 1, the update request receiving unit 31 acquires the information and registers the information in the update request information storage unit 37, thereby receiving a software update request.

次に、本実施の形態におけるソフトウェア更新処理について図6に示したフローチャートを用いて説明する。   Next, a software update process according to the present embodiment will be described with reference to a flowchart shown in FIG.

更新判定部33は、更新要求情報記憶部37から更新要求情報から1レコード読み出す(ステップ101)。なお、ここでは、読み出した1つの更新要求情報に着目して説明する。他の更新要求情報に対しても同様に、更新要求情報記憶部37から読み出して後述する処理を行うことになる。更新判定部33は、更に制御スケジュール情報記憶部38から制御スケジュール情報を読み出す(ステップ102)。   The update determining unit 33 reads one record from the update request information from the update request information storage unit 37 (Step 101). Here, the description will focus on one piece of read update request information. Similarly, the other update request information is read from the update request information storage unit 37 and subjected to the processing described later. The update determining unit 33 further reads out the control schedule information from the control schedule information storage unit 38 (Step 102).

読み出した更新要求情報において更新対象とするソフトウェアの更新予定日時になるまで待機し(ステップ103でN)、その更新予定日時になると(ステップ103でY)、更新判定部33は、状態監視部32から状態情報を取得する(ステップ104)。なお、本実施の形態では、上記のような手順にて処理するが、ステップ101において更新判定部33に更新要求情報の更新予定日時と現在時刻とを常時対比させ、更新予定日時を迎える時点で、該当する更新要求情報を読み出させるようにしてもよい。   In the read update request information, the process waits until the scheduled update date and time of the software to be updated is reached (N in step 103), and when the scheduled update date and time is reached (Y in step 103), the update determination unit 33 sets the status monitoring unit 32. (Step 104). In the present embodiment, the processing is performed according to the above-described procedure. In step 101, the update determination unit 33 constantly compares the scheduled update date and time of the update request information with the current time. Alternatively, the corresponding update request information may be read.

図7は、本実施の形態における状態情報のデータ構成例を示した図である。状態情報は、S−ID、ビルID、設備ID、監視項目名、状態及び取得日時を含む。S−IDは、状態情報(レコード)の識別情報である。ビルID及び設備IDは、更新要求情報において説明したとおりである。監視項目名は、監視する項目を示す名称である。状態は、当該監視項目における現時点における状態である。1レコード目の状態情報は、CPU負荷率が70%であることを示している。取得日時は、負荷の状態が取得された日時である。   FIG. 7 is a diagram illustrating a data configuration example of the state information according to the present embodiment. The status information includes an S-ID, a building ID, a facility ID, a monitoring item name, a status, and an acquisition date and time. The S-ID is identification information of the state information (record). The building ID and the facility ID are as described in the update request information. The monitoring item name is a name indicating an item to be monitored. The status is the current status of the monitoring item. The status information in the first record indicates that the CPU load factor is 70%. The acquisition date and time is the date and time when the load status was acquired.

続いて、影響度算出部331は、更新予定日時を迎えるソフトウェアに対して影響度を算出する(ステップ105)。影響度は、更新予定日時を迎えるソフトウェアの更新処理を実行することによってビル設備30に与える影響を客観的に数値によって示す指標である。本実施の形態では、影響度を次のようにして算出する。まず、説明の簡略化のためにCPU負荷率に着目して説明する。   Subsequently, the influence degree calculation unit 331 calculates the influence degree for the software whose scheduled update date and time is reached (Step 105). The degree of influence is an index that numerically indicates the effect on the building equipment 30 by executing the software update processing that reaches the scheduled update date and time. In the present embodiment, the degree of influence is calculated as follows. First, for the sake of simplicity, the description will focus on the CPU load factor.

本実施の形態では、影響度の有無を判別するために閾値を予め設定している。例えば、CPU負荷率に対する閾値に80%を設定したとする。ここで、状態情報から検出されるCPU負荷率が70%であったとする。この場合の影響度は70%となり、閾値(80%)を下回るので(ステップ106でN)、更新判定部33は、当該ソフトウェアの更新をソフトウェア更新部34に指示する。この指示に応じて、ソフトウェア更新部34は、新しいバージョンのソフトウェアを遠隔監視センタ1から取得し、当該ソフトウェアを更新する(ステップ107)。   In the present embodiment, a threshold is set in advance to determine the presence or absence of the degree of influence. For example, it is assumed that a threshold value for the CPU load factor is set to 80%. Here, it is assumed that the CPU load factor detected from the state information is 70%. In this case, the degree of influence is 70%, which is lower than the threshold value (80%) (N in step 106). Therefore, the update determination unit 33 instructs the software update unit 34 to update the software. In response to this instruction, the software update unit 34 obtains a new version of the software from the remote monitoring center 1 and updates the software (step 107).

一方、状態情報から検出されるCPU負荷率(影響度)が90%であったとすると閾値(80%)以上となるので(ステップ106でY)、更新判定部33は、当該ソフトウェアの更新をソフトウェア更新部34に指示することなくステップ104に戻る。すなわち、影響度が閾値を下回るまでステップ104〜106を繰り返すことになる。   On the other hand, if the CPU load ratio (degree of influence) detected from the state information is 90%, the threshold becomes (80%) or more (Y in step 106). The process returns to step 104 without instructing the updating unit 34. That is, steps 104 to 106 are repeated until the degree of influence falls below the threshold.

以上の説明では、説明の簡略化のためにCPU負荷率に着目して説明したが、ビル設備30の負荷を示す情報としては、その他にもメモリ使用率等種々の情報(監視項目)がある。そこで、本実施の形態では、影響度を計算により算出することにした。すなわち、影響度をIとすると、影響度を次の式にて算出する。
I=a(tb−ta)+bLa
In the above description, the CPU load factor has been focused on for the sake of simplicity, but the information indicating the load of the building equipment 30 also includes various other information (monitoring items) such as a memory usage factor. . Therefore, in the present embodiment, the degree of influence is calculated by calculation. That is, assuming that the degree of influence is I, the degree of influence is calculated by the following equation.
I = a (tb−ta) + bLa

ここで、tbは更新要求情報に設定されている所要時間、taは制御スケジュール情報の開始日時から得られる時間であって、ある制御につき現在時刻から当該制御が次に実行されることになる時間(開始日時)までの時間である。ここでいう、「ある制御」には、当該ソフトウェアの更新処理を実行しようとした場合に重複して実行されることになる制御が該当する。制御とソフトウェアの更新処理は、ビル設備30の資源を共に使用(消費)するため、ソフトウェアの更新処理を更新予定日時に実行させてしまうと、重複して実行される既存の制御に影響を与えてしまうことになりかねないからである。Laは、取得された状態情報に基づき現時点でビル設備30にかかる負荷を所定の計算式にて数値化した負荷情報である。a及びbは係数であり、ビル設備30毎又はビル設備30の種類(空調、入退システム等)毎に適宜設定される。   Here, tb is the required time set in the update request information, ta is the time obtained from the start date and time of the control schedule information, and the time when the control is to be executed next from the current time for a certain control. (Start date and time). Here, the “certain control” corresponds to a control that is repeatedly executed when an attempt is made to execute the software update processing. Since the control and the software update process use (consume) the resources of the building equipment 30 together, if the software update process is executed at the scheduled update date and time, the existing control executed redundantly is affected. Because it could end up being La is load information obtained by quantifying the load on the building equipment 30 at the present time based on the acquired state information using a predetermined calculation formula. “a” and “b” are coefficients, which are appropriately set for each building facility 30 or for each type of building facility 30 (air conditioning, entrance / exit system, etc.).

上記計算式において、(tb−ta)は、ソフトウェアの更新処理が制御スケジュール情報に定義されている制御が実行されない間に実行できるかどうかを示している。仮に、ソフトウェア更新の所要時間tbが、制御が実行されない空き時間taより長ければ、それだけ制御の実行に影響を与えることになる。   In the above formula, (tb-ta) indicates whether the software update process can be executed while the control defined in the control schedule information is not executed. If the required time tb of the software update is longer than the idle time ta during which the control is not executed, the execution of the control will be affected accordingly.

また、負荷情報Laには、制御スケジュールに定義されていない制御(例えば、顧客操作や環境変化をトリガーとして実行される制御)やビル設備の内部処理(例えば、データ集計処理)等による使用に基づくビル設備30にかかる負荷が含まれる。この負荷情報Laを加えて影響度を算出することで、ソフトウェアの更新の可否の判定の際に、ソフトウェアの更新実績や設備機器の制御スケジュールには表れてこない制御による負荷を考慮することが可能となる。仮に、制御スケジュールに定義されている制御が実行されていないのにもかかわらず、負荷情報Laが示す値が相対的に大きければ、制御スケジュールに定義されていない制御が実行されている可能性があると推定できる。つまり、ソフトウェアの更新を開始してしまうと、制御スケジュールに定義されていない制御の実行に影響を与えることになりうる。   In addition, the load information La is based on control not defined in the control schedule (for example, control performed by a customer operation or environmental change as a trigger) or internal processing of building equipment (for example, data aggregation processing). The load applied to the building equipment 30 is included. By calculating the degree of influence by adding the load information La, it is possible to consider a software update record or a control load that does not appear in the control schedule of the equipment when determining whether or not the software can be updated. Becomes If the value indicated by the load information La is relatively large even though the control defined in the control schedule is not executed, there is a possibility that the control not defined in the control schedule is executed. It can be estimated that there is. In other words, starting the update of the software may affect the execution of control not defined in the control schedule.

上記説明では、CPU負荷率を用いて簡略的に説明したが、更新判定部33は、影響度算出部331において上記計算式にて算出した影響度を、所定の閾値と比較することで、上記説明したようにソフトウェアの更新の可否を判定する。なお、上記計算式は一例であってこれに限定する必要はない。   In the above description, the CPU load factor has been used for simple description. However, the update determination unit 33 compares the impact calculated by the above-described equation in the impact calculation unit 331 with a predetermined threshold value, As described, it is determined whether the software can be updated. Note that the above calculation formula is an example, and it is not necessary to limit to this.

算出した影響度が閾値を下回ると(ステップ106でN)、前述したように、更新判定部33による指示によりソフトウェアの更新が行われる(ステップ107)。   When the calculated degree of influence falls below the threshold value (N in step 106), as described above, the software is updated according to the instruction from the update determination unit 33 (step 107).

一方、影響度が閾値以上の場合(ステップ106でY)、ステップ104〜106を繰り返すことになる。しかしながら、ビル設備30の負荷はいずれ落ちてきて、影響度はいずれ閾値を下回るようになるとも考えられる。更新予定日時は過ぎるかもしれないがビル設備30の制御の実行に影響を与えないタイミングでソフトウェアの更新を実行することができる。   On the other hand, when the degree of influence is equal to or larger than the threshold (Y in step 106), steps 104 to 106 are repeated. However, it is conceivable that the load on the building equipment 30 will eventually drop and the degree of influence will eventually fall below the threshold. Although the scheduled update date and time may have passed, the software update can be executed at a timing that does not affect the execution of the control of the building equipment 30.

以上説明したように、本実施の形態によれば、ビル設備30にかかる負荷を考慮することで、ソフトウェアの更新処理が制御スケジュール情報に定義されている制御のみならず、制御スケジュール情報に定義されていない制御にも与える影響をも考慮してソフトウェアの更新の実行を制御することができる。すなわち、本実施の形態によれば、ビル設備30における動作、運用等に影響を与えないようにしてソフトウェアを更新することができる。   As described above, according to the present embodiment, by considering the load on the building equipment 30, the software update process is defined not only in the control defined in the control schedule information but also in the control schedule information. The execution of the software update can be controlled in consideration of the influence on the control that is not performed. That is, according to the present embodiment, the software can be updated without affecting the operation and operation of the building equipment 30.

ソフトウェアの更新が終了すると、当該ソフトウェアに対応する更新要求情報は、制御部35又は制御部35による制御のもとソフトウェア更新部34により更新要求情報記憶部37から削除される。そして、ソフトウェアが更新されたことは、遠隔監視センタ1を介して顧客に通知され、これにより、顧客は、顧客端末向けアプリケーションが利用できるようになったことを知ることになる。このように、本実施の形態によれば、ビル設備30において更新すべきソフトウェアやソフトウェアの更新タイミングを意識することなく、顧客は、サービスの提供を受けることができるようになる。   When the software update is completed, the update request information corresponding to the software is deleted from the update request information storage unit 37 by the control unit 35 or the software update unit 34 under the control of the control unit 35. Then, the update of the software is notified to the customer via the remote monitoring center 1, whereby the customer knows that the customer terminal application can be used. As described above, according to the present embodiment, the customer can receive the service without being aware of the software to be updated in the building equipment 30 and the timing of updating the software.

なお、本実施の形態では、更新が終了したソフトウェアに対応する更新要求情報を更新要求情報記憶部37から削除するようにしたが、削除せずに、更新が終了した旨を示すフラグ情報あるいは更新終了日時を当該更新要求情報に対応付けして記録するようにしてもよい。   In the present embodiment, the update request information corresponding to the software whose update has been completed is deleted from the update request information storage unit 37. However, without deleting the update request information, the flag information indicating that the update has been completed or the update The end date and time may be recorded in association with the update request information.

実施の形態2.
図8は、本実施の形態におけるビル設備のブロック構成図である。実施の形態1(図1)と同じ構成要素には同じ符号を付け説明を省略する。本実施の形態では、実施の形態1において示した更新判定部33に、優先度設定部332を追加している。優先度設定部332は、更新予定時間になっても更新が実行されていないソフトウェアに対し、更新予定時間からの経過時間に応じた優先度を設定する。なお、ビル設備30のハードウェア構成は実施の形態1と同じでよい。
Embodiment 2 FIG.
FIG. 8 is a block diagram of the building equipment according to the present embodiment. The same components as those in the first embodiment (FIG. 1) are denoted by the same reference numerals, and description thereof is omitted. In the present embodiment, a priority setting unit 332 is added to the update determination unit 33 shown in the first embodiment. The priority setting unit 332 sets the priority according to the elapsed time from the scheduled update time for software that has not been updated even at the scheduled update time. The hardware configuration of the building equipment 30 may be the same as in the first embodiment.

図9は、本実施の形態における更新要求情報記憶部37に登録される更新要求情報のデータ構成の一例を示す図である。本実施の形態における更新要求情報には、実施の形態1(図4)に示したデータ構成に、優先度設定部332によって設定、更新される優先度が追加設定される。   FIG. 9 is a diagram illustrating an example of a data configuration of update request information registered in the update request information storage unit 37 according to the present embodiment. In the update request information in the present embodiment, the priority set and updated by the priority setting unit 332 is additionally set to the data configuration shown in the first embodiment (FIG. 4).

図10は、本実施の形態における制御スケジュール情報記憶部38に登録される制御スケジュール情報のデータ構成の一例を示す図である。本実施の形態における制御スケジュール情報には、実施の形態1(図5)に示したデータ構成に、設定度が予め設定される。制御スケジュール情報に含まれる優先度は、制御それぞれに対応して設定される固定値である。遅延させることなくスケジュール通りに実行させたい制御ほど高い値の優先度が設定される。   FIG. 10 is a diagram illustrating an example of a data configuration of control schedule information registered in the control schedule information storage unit 38 according to the present embodiment. In the control schedule information in the present embodiment, the degree of setting is set in advance to the data configuration shown in the first embodiment (FIG. 5). The priority included in the control schedule information is a fixed value set corresponding to each control. A higher priority is set for a control that is to be executed according to a schedule without delay.

次に、本実施の形態におけるソフトウェア更新処理について図11に示したフローチャートを用いて説明する。なお、実施の形態1と同じ処理ステップには、同じステップ番号を付け、説明を適宜省略する。   Next, a software update process according to the present embodiment will be described using a flowchart shown in FIG. The same processing steps as those in the first embodiment are denoted by the same step numbers, and description thereof will be omitted as appropriate.

前述したように、更新判定部33は、ソフトウェアの更新の可否について判定する際、ビル設備30の負荷の状態を参照して影響度を算出する(ステップ101〜105)。そして、算出した影響度が閾値を下回ると(ステップ106でN)、実施の形態1と同様に更新判定部33による指示によりソフトウェアの更新が行われる(ステップ107)。   As described above, when determining whether the software can be updated, the update determination unit 33 calculates the degree of influence with reference to the load state of the building equipment 30 (steps 101 to 105). Then, when the calculated degree of influence falls below the threshold value (N in step 106), the software is updated by an instruction from the update determination unit 33 as in the first embodiment (step 107).

一方、影響度が閾値以上の場合(ステップ106でY)、本実施の形態における優先度設定部332は、当該ソフトウェアに対し優先度を設定する(ステップ201)。より詳細に説明すると、各ソフトウェアには、優先度の初期値として0が設定されており、当該ソフトウェアの更新要求日時からの経過時間が所定の閾値Tsを超える度に優先度を1ずつ上げていく。例えば、閾値Tsが5分とした場合、更新要求日時から5分経過したときに1、10分経過したときに2、と、優先度は時間の経過に伴い高い値となるように更新される。   On the other hand, if the degree of influence is equal to or larger than the threshold (Y in step 106), the priority setting unit 332 in the present embodiment sets a priority for the software (step 201). Describing in more detail, 0 is set as the initial value of the priority of each software, and the priority is increased by 1 each time the elapsed time from the update request date and time of the software exceeds a predetermined threshold Ts. Go. For example, when the threshold value Ts is 5 minutes, the priority is updated so that the priority becomes higher as time elapses, such as 1 when 5 minutes have elapsed from the update request date and time and 2 when 10 minutes have elapsed. .

優先度を設定すると、更新判定部33は、ソフトウェアの所要時間及び制御スケジュール情報の開始日時と終了日時を参照し、制御スケジュール情報に定義されている制御の中から、仮にソフトウェアの更新を今から実行しようとした場合に、ソフトウェアの更新処理と重複して実行されることになる制御を抽出する。そして、ソフトウェアの優先度と抽出した1又は複数の制御の優先度を比較し、ソフトウェアの優先度が全ての制御の優先度を上回るのであれば(ステップ202でN)、更新判定部33は、ソフトウェア更新部34に指示することで、ソフトウェアを更新させる(ステップ107)。   When the priority is set, the update determination unit 33 refers to the required time of the software and the start date and time and the end date and time of the control schedule information, and temporarily updates the software from among the controls defined in the control schedule information. If it is attempted to execute the control, control that will be executed in duplicate with the software update process is extracted. The priority of the software is compared with the priority of the extracted one or more controls. If the priority of the software exceeds the priority of all the controls (N in step 202), the update determination unit 33 By instructing the software updating unit 34, the software is updated (step 107).

一方、ソフトウェアの優先度がいずれかの制御の優先度以下であれば(ステップ202でY)、ソフトウェアの更新指示をすることなくステップ104に戻る。これにより、ステップ104〜202の処理は繰り返し実行される可能性はあるが、ステップ201において、時間の経過に伴いソフトウェアの優先度が高くなるので、ソフトウェアの優先度は、いずれ抽出した全ての制御の優先度を上回ることになり、これにより、ソフトウェアは更新されることになる。   On the other hand, if the priority of the software is equal to or lower than the priority of any of the controls (Y in step 202), the process returns to step 104 without giving a software update instruction. As a result, there is a possibility that the processing of steps 104 to 202 may be repeatedly executed. However, in step 201, the priority of the software increases with the lapse of time. , And the software will be updated.

実施の形態1においては、影響度が閾値以上の場合でも、ビル設備30にかかる負荷はいずれ落ちてくると仮定し、これにより影響度はいずれ閾値を下回るようになるので、それまで待ってソフトウェアの更新を行うことにした。本実施の形態では、このような仮定は不要としている。つまり、ビル設備30の負荷は一定以上継続して高い状態にあるとしたら、ソフトウェアは更新できなくなる。そこで、このような場合に対処できるように、優先度をソフトウェア及び制御に設定し、ソフトウェアの更新ができない状態が続いた場合に、重複して実行されることになるかもしれない制御との優先度の関係から、ソフトウェアの更新処理の方が制御の実行より優先度が高くなったときにソフトウェアの更新を行うようにした。これにより、制御の実行に対し若干の影響を与えるかもしれないが、ソフトウェアの更新が実行されない状態のまま続くことから回避することができる。   In the first embodiment, even if the degree of influence is equal to or more than the threshold, it is assumed that the load on the building equipment 30 will eventually decrease, and the degree of influence will eventually fall below the threshold. Decided to update. In the present embodiment, such an assumption is unnecessary. That is, if the load on the building equipment 30 is continuously higher than a certain level, the software cannot be updated. Therefore, in order to deal with such a case, the priority is set to software and control, and if software cannot be updated continuously, priority is given to control that may be executed repeatedly. Due to the degree, the software is updated when the priority of the software update processing becomes higher than the execution of the control. This may have a slight effect on the execution of the control, but it can be avoided from continuing from a state where the software update is not executed.

実施の形態3.
図12は、本実施の形態におけるビル設備のブロック構成図である。実施の形態1(図1)と同じ構成要素には同じ符号を付け説明を省略する。なお、ビル設備30のハードウェア構成は実施の形態1と同じでよい。
Embodiment 3 FIG.
FIG. 12 is a block diagram of the building equipment according to the present embodiment. The same components as those in the first embodiment (FIG. 1) are denoted by the same reference numerals, and description thereof is omitted. The hardware configuration of the building equipment 30 may be the same as in the first embodiment.

本実施の形態では、実施の形態1に示した構成に、負荷モデル記憶部39を追加した構成を有している。負荷モデル記憶部39に記憶される負荷モデルは、ビル設備30にかかる負荷の時系列的変化が定義されたモデルデータであり、過去の負荷の遷移から生成される。例えば、負荷の高い制御が実行したり、複数の制御が同時に実行したりするときにビル設備30にかかる負荷は高くなる。また、負荷モデルには、負荷の遷移のみならず、制御中の時間帯、あるいは保守中や集計中(例えば、日報処理の制御プログラムの動作時)などビル設備30の利用状況を示す情報を時間に関連付けて設定してもよい。ビル設備30の現在の利用状況は、遠隔監視センタ1から取得するようにしてもよい。   This embodiment has a configuration in which a load model storage unit 39 is added to the configuration shown in the first embodiment. The load model stored in the load model storage unit 39 is model data in which a time-series change of a load applied to the building equipment 30 is defined, and is generated from a transition of a past load. For example, when a control with a high load is executed or a plurality of controls are executed at the same time, a load applied to the building equipment 30 increases. The load model includes not only the load transition but also information indicating the usage status of the building equipment 30 such as a time zone during control, or during maintenance or counting (for example, when a control program for daily report processing is operating). May be set in association with. The current usage status of the building equipment 30 may be acquired from the remote monitoring center 1.

次に、本実施の形態におけるソフトウェア更新処理について図13に示したフローチャートを用いて説明する。なお、実施の形態1と同じ処理ステップには、同じステップ番号を付け、説明を適宜省略する。   Next, a software update process according to the present embodiment will be described using a flowchart shown in FIG. The same processing steps as those in the first embodiment are denoted by the same step numbers, and description thereof will be omitted as appropriate.

前述したように、更新判定部33は、ソフトウェアの更新の可否について判定する際、ビル設備30の負荷の状態を参照して影響度を算出する(ステップ101〜105)。そして、算出した影響度が閾値を下回ると(ステップ106でN)、実施の形態1と同様に更新判定部33による指示によりソフトウェアの更新が行われる(ステップ107)。   As described above, when determining whether the software can be updated, the update determination unit 33 calculates the degree of influence with reference to the load state of the building equipment 30 (steps 101 to 105). Then, when the calculated degree of influence falls below the threshold value (N in step 106), the software is updated by an instruction from the update determination unit 33 as in the first embodiment (step 107).

一方、影響度が閾値以上の場合(ステップ106でY)、本実施の形態における更新判定部33は、負荷モデル記憶部39から負荷モデルを取得し、負荷モデルから現時点以降の負荷のレベルの動向を認識する(ステップ301)。ここで、ビル設備30にかかる負荷が今後上昇すると判断した場合(ステップ302でY)、ソフトウェア更新部34に指示することで、ソフトウェアを更新させる(ステップ107)。   On the other hand, when the degree of influence is equal to or greater than the threshold (Y in step 106), the update determination unit 33 in the present embodiment acquires the load model from the load model Is recognized (step 301). Here, when it is determined that the load on the building equipment 30 will increase in the future (Y in step 302), the software is updated by instructing the software updating unit 34 (step 107).

一方、ビル設備30にかかる負荷が今後上昇しないと判断した場合(ステップ302でN)、ソフトウェアの更新指示をすることなくステップ104に戻る。   On the other hand, if it is determined that the load applied to the building equipment 30 will not increase in the future (N in step 302), the process returns to step 104 without giving a software update instruction.

実施の形態1においては、影響度が閾値以上の場合でも、ビル設備30にかかる負荷はいずれ落ちてくると仮定してステップ104〜106を繰り返すようにした。ただ、ビル設備30にかかる負荷は落ちるどころかこれ以降上昇することも考えられる。   In the first embodiment, even when the degree of influence is equal to or more than the threshold value, steps 104 to 106 are repeated on the assumption that the load on the building equipment 30 will eventually decrease. However, it is conceivable that the load applied to the building equipment 30 will rise rather than decrease.

そこで、本実施の形態では、過去の実績に基づき生成された負荷モデルを参照して、現時点以降、負荷が落ちない、すなわち影響度が閾値を下回ることが見込めない場合には、影響度が閾値以上であってもソフトウェアの更新を強行するようにした。このようにして、ソフトウェアの更新が実行されない状態のまま続くことから回避することができる。   Therefore, in the present embodiment, by referring to the load model generated based on the past performance, if the load does not decrease from the current time, that is, if it is not expected that the impact falls below the threshold, the impact is set to the threshold. Even if it is above, I tried to update the software. In this way, it is possible to prevent the software update from continuing without being executed.

なお、上記説明では、負荷の遷移のみに注目してソフトウェアの更新の可否を判定するようにした。ただ、制御中等利用状況を示す情報が付加されている場合、この情報を更に参照してソフトウェアの更新の可否を判定するようにしてもよい。例えば、今後、負荷は上昇する傾向にあっても、直近にいずれの制御も実行されない保守中となる時間帯が存在すれば、その時間までソフトウェアの更新を待機する。あるいは、今後、負荷が低下する傾向にあっても現時点以降はしばらく制御中が続くのであれば、保守中である現時点でソフトウェアの更新を実行してしまう。このように、負荷の遷移に加えて過去におけるビル設備30の利用状況を参照して、ソフトウェアの更新の可否を判定してもよい。   In the above description, whether or not the software can be updated is determined by focusing only on the transition of the load. However, when information indicating the use status such as during control is added, the information may be further referred to to determine whether the software can be updated. For example, even if the load tends to increase in the future, if there is a time period during which maintenance is not performed immediately and no control is performed, the software update waits until that time. Alternatively, even if the load tends to decrease in the future, if the control is continued for a while after the present time, the software is updated at the present time during the maintenance. In this way, whether or not the software can be updated may be determined by referring to the past usage status of the building equipment 30 in addition to the transition of the load.

なお、本実施の形態では、便宜的に負荷モデルを1つある場合で説明したが、営業日/休日、時節等に応じて複数用意しておいてもよい。   In the present embodiment, a case has been described in which one load model is provided for convenience, but a plurality of load models may be prepared according to business days / holidays, seasons, and the like.

また、本実施の形態は、実施の形態1に追加する機能として説明したが、実施の形態2と組み合わせて実施してもよい。   Although the present embodiment has been described as a function added to the first embodiment, it may be implemented in combination with the second embodiment.

ところで、前述した実施の形態以外にも、次のように変形させて実施してもよい。例えば、状態監視部32は、ビル設備30にかかる負荷の状態を監視したが、これに加えて、特定のソフトウェア、具体的には更新対象となるソフトウェアやこのソフトウェアと連携して実行されるソフトウェア、あるいはプライオリティの高い制御ソフトウェア等の動作状態を監視対象としてもよい。そして、特定のソフトウェアが動作中の場合はソフトウェアの更新を待機させる。   By the way, other than the above-described embodiment, the present invention may be modified as follows. For example, the state monitoring unit 32 monitors the state of the load applied to the building equipment 30. In addition to this, specific software, specifically, software to be updated or software executed in cooperation with this software Alternatively, an operation state of control software or the like having a higher priority may be set as a monitoring target. Then, when the specific software is operating, the update of the software is waited.

また、上記各実施の形態においてステップ106において影響度と比較する閾値は固定値であった。ただ、負荷モデルのように時間に応じて設定値を変えるようにしてもよい   In each of the above embodiments, the threshold value to be compared with the degree of influence in step 106 is a fixed value. However, the set value may be changed according to time like a load model.

また、上記各実施の形態においては、ビル設備30において当該ビル設備30のソフトウェアの更新制御を行うようにしたが、他の装置、例えば、ゲートウェイとのその他の装置でビル設備30のソフトウェアの更新制御を行うようにしてもよい。顧客ビル3に複数のビル設備30が設置されている場合、複数のビル設備30を管理するビル管理装置で行うようにしてもよい。あるいは遠隔監視センタ1から行うようにしてもよい。   Further, in each of the above-described embodiments, the update of the software of the building equipment 30 is controlled in the building equipment 30, but the update of the software of the building equipment 30 is performed by another device, for example, another device with a gateway. Control may be performed. When a plurality of building facilities 30 are installed in the customer building 3, the building management device that manages the plurality of building facilities 30 may be used. Alternatively, it may be performed from the remote monitoring center 1.

また、顧客ビル3に複数のビル設備30が設置されている場合において複数のビル設備30が連携して動作する場合は、他のビル設備30の負荷をも考慮する、すなわち他のビル設備30の状態情報をも参照して影響度を算出するようにしてもよい。遠隔監視センタ1がソフトウェアの更新制御を行う場合には、他の顧客ビル3のビル設備30の負荷を考慮するようにしてもよい。この場合、遠隔監視センタ1の顧客ビル3におけるソフトウェアの更新の管理を行うことになるが、この場合、算出した影響度に基づきソフトウェアの更新する順番を決めるようにしてもよい。   In addition, when a plurality of building facilities 30 are installed in the customer building 3 and the plurality of building facilities 30 operate in cooperation with each other, the load of the other building facilities 30 is also taken into consideration, that is, the other building facilities 30 are considered. The degree of influence may be calculated by also referring to the state information. When the remote monitoring center 1 performs software update control, the load on the building equipment 30 of another customer building 3 may be considered. In this case, the software update in the customer building 3 of the remote monitoring center 1 is managed. In this case, the order of updating the software may be determined based on the calculated influence degree.

更に、本実施の形態では、ビル設備30におけるソフトウェアの更新の可否をビル設備30において自動的に判断するようにしたが、ビル設備30に通知部を設けて、ソフトウェアの更新の是非を顧客に問い合わせるようにしてもよい。   Further, in the present embodiment, whether or not the software update in the building equipment 30 is allowed is automatically determined in the building equipment 30. However, a notification unit is provided in the building equipment 30 to inform the customer whether or not to update the software. An inquiry may be made.

1 遠隔監視センタ、2 顧客事務所、3 顧客ビル、4 顧客用ネットワーク、5 設備用ネットワーク、11 管理端末、12 ソフトウェア管理サーバ、13 顧客情報管理サーバ、14 顧客サービスサーバ、15 ビル設備管理装置、16 イントラネット、20 顧客端末、30 ビル設備、31 更新要求受付部、32 状態監視部、33 更新判定部、34 ソフトウェア更新部、35 制御部、36 ソフトウェア記憶部、37 更新要求情報記憶部、38 制御スケジュール情報記憶部、39 負荷モデル記憶部、41 CPU、42 ROM、43 RAM、44 ハードディスクドライブ(HDD)、45 ネットワークインタフェース(IF)、46 内部バス、331 影響度算出部、332 優先度設定部。
1 remote monitoring center, 2 customer office, 3 customer building, 4 customer network, 5 facility network, 11 management terminal, 12 software management server, 13 customer information management server, 14 customer service server, 15 building facility management device, 16 intranet, 20 customer terminals, 30 building equipment, 31 update request receiving unit, 32 status monitoring unit, 33 update determination unit, 34 software update unit, 35 control unit, 36 software storage unit, 37 update request information storage unit, 38 control Schedule information storage unit, 39 load model storage unit, 41 CPU, 42 ROM, 43 RAM, 44 hard disk drive (HDD), 45 network interface (IF), 46 internal bus, 331 influence calculation unit, 332 priority setting unit.

Claims (4)

設備機器の制御のスケジュールが定義された制御スケジュール情報を記憶する制御スケジュール情報記憶手段と、
前記設備機器において動作するソフトウェアの更新予定時間及び更新所要時間を含む更新要求情報を受け付ける受付手段と、
前記設備機器にかかる負荷の状態を示す状態情報を取得する状態情報取得手段と、
ソフトウェアの更新の可否を判定する更新判定手段と、
前記更新判定手段からの指示に応じてソフトウェアの更新を行う更新手段と、
を有し、
前記更新判定手段は、
前記状態情報を参照して、更新予定時間を迎えるソフトウェアの更新処理が、前記制御スケジュール情報にスケジュールが定義されている制御のみならず、定義されていない制御にも与える影響の度合いを示す影響度を算出する影響度算出部を含み、
算出した影響度が所定の閾値以上の場合には当該ソフトウェアの更新を前記更新手段に指示しないことを特徴とするソフトウェア更新管理システム。
Control schedule information storage means for storing control schedule information in which a control schedule of the equipment is defined,
A receiving unit that receives update request information including a scheduled update time and a required update time of software operating on the equipment,
State information acquisition means for acquiring state information indicating the state of the load applied to the equipment,
Update determination means for determining whether the software can be updated;
Updating means for updating software according to an instruction from the update determining means,
Has,
The update determination unit includes:
A degree of influence indicating the degree of influence that the software update processing that reaches the scheduled update time affects not only the control whose schedule is defined in the control schedule information but also the undefined control with reference to the state information. Including an influence degree calculation unit for calculating
If the calculated degree of influence is equal to or greater than a predetermined threshold, the software update management system does not instruct the update unit to update the software.
前記制御スケジュール情報には、前記設備機器の各制御に対する優先度が予め設定されており、
前記更新判定手段は、
更新予定時間になっても更新が実行されていないソフトウェアに対し、更新予定時間からの経過時間に応じた優先度を設定する優先度設定部を含み、
当該ソフトウェアの影響度が閾値以上であっても、当該ソフトウェアの優先度が当該ソフトウェアの更新を実行しようとした場合に重複して実行されることになる制御の優先度を上回る場合には当該ソフトウェアの更新を前記更新手段に指示することを特徴とする請求項1に記載のソフトウェア更新管理システム。
In the control schedule information, a priority for each control of the equipment is set in advance,
The update determination unit includes:
Including a priority setting unit that sets a priority according to an elapsed time from the scheduled update time for software that has not been updated even at the scheduled update time,
Even if the degree of influence of the software is equal to or greater than the threshold, if the priority of the software exceeds the priority of control that will be executed repeatedly when trying to update the software, the software The software update management system according to claim 1, wherein the software update management system is instructed to update the software.
前記設備機器にかかる負荷の時系列的変化が定義された負荷モデルを記憶する負荷モデル記憶手段を有し、
前記更新判定手段は、当該ソフトウェアの影響度が閾値以上であっても、前記負荷モデルを参照することによって前記設備機器にかかる負荷が今後上昇すると判断した場合に当該ソフトウェアの更新を前記更新手段に指示することを特徴とする請求項1に記載のソフトウェア更新管理システム。
A load model storage unit that stores a load model in which a time-series change of the load applied to the equipment is defined,
Even if the degree of influence of the software is equal to or greater than a threshold value, the update determining unit determines that the load on the equipment will increase in the future by referring to the load model. The software update management system according to claim 1, wherein the instruction is issued.
設備機器の制御のスケジュールが定義された制御スケジュール情報を記憶する制御スケジュール情報記憶手段にアクセス可能なコンピュータを、
前記設備機器において動作するソフトウェアの更新予定時間及び更新所要時間を含む更新要求情報を受け付ける受付手段、
前記設備機器にかかる負荷の状態を示す状態情報を取得する状態情報取得手段、
ソフトウェアの更新の可否を判定する更新判定手段、
前記更新判定手段からの指示に応じてソフトウェアの更新を行う更新手段、
として機能させ、
前記更新判定手段は、
前記状態情報を参照して、更新予定時間を迎えるソフトウェアの更新処理が、前記制御スケジュール情報にスケジュールが定義されている制御のみならず、定義されていない制御に与える影響度を算出する影響度算出部を含み、
算出した影響度が所定の閾値以上の場合には当該ソフトウェアの更新を前記更新手段に指示しないことを特徴とするプログラム。
A computer that can access a control schedule information storage unit that stores control schedule information in which a schedule of control of the equipment is defined.
A receiving unit that receives update request information including a scheduled update time and a required update time of software operating on the equipment,
State information obtaining means for obtaining state information indicating a state of a load applied to the equipment,
Update determining means for determining whether software can be updated,
Updating means for updating software according to an instruction from the update determining means,
Function as
The update determination unit includes:
Influence calculation for calculating the influence of the software update processing reaching the scheduled update time on not only the control whose schedule is defined in the control schedule information but also the undefined control with reference to the state information. Part,
If the calculated degree of influence is equal to or greater than a predetermined threshold, the program does not instruct the updating means to update the software.
JP2017044488A 2017-03-09 2017-03-09 Software update management system and program Expired - Fee Related JP6664343B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2017044488A JP6664343B2 (en) 2017-03-09 2017-03-09 Software update management system and program
PCT/JP2017/027397 WO2018163461A1 (en) 2017-03-09 2017-07-28 Software update management system and program
CN201780088075.1A CN110383249B (en) 2017-03-09 2017-07-28 Software update management system and software update method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017044488A JP6664343B2 (en) 2017-03-09 2017-03-09 Software update management system and program

Publications (2)

Publication Number Publication Date
JP2018147413A JP2018147413A (en) 2018-09-20
JP6664343B2 true JP6664343B2 (en) 2020-03-13

Family

ID=63448346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017044488A Expired - Fee Related JP6664343B2 (en) 2017-03-09 2017-03-09 Software update management system and program

Country Status (3)

Country Link
JP (1) JP6664343B2 (en)
CN (1) CN110383249B (en)
WO (1) WO2018163461A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021158537A (en) * 2020-03-27 2021-10-07 パナソニックIpマネジメント株式会社 Hands-free device, data transfer method and program
WO2023206521A1 (en) * 2022-04-29 2023-11-02 Siemens Aktiengesellschaft Method, apparatus and device for hardening assets in ot system and storage medium and computer program product
JP2023172411A (en) * 2022-05-24 2023-12-06 シャープ株式会社 air conditioner

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4805622B2 (en) * 2005-07-12 2011-11-02 株式会社日立製作所 Network management device
JP4368336B2 (en) * 2005-07-13 2009-11-18 富士通株式会社 Category setting support method and apparatus
WO2008126182A1 (en) * 2007-03-15 2008-10-23 Fujitsu Limited Task analysis program and task analyzer
JP2009271603A (en) * 2008-04-30 2009-11-19 Panasonic Electric Works Co Ltd Equipment management system
JP2010020610A (en) * 2008-07-11 2010-01-28 Sony Corp Recorder, method for acquiring software update data, program, and data delivery system
CN102070054B (en) * 2009-11-19 2012-11-28 上海三菱电梯有限公司 Automatic testing system of elevator running control software
JP5659894B2 (en) * 2011-03-17 2015-01-28 日本電気株式会社 Software update device, software update method, and software update program
JP2013029874A (en) * 2011-07-26 2013-02-07 Toshiba Corp Electronic apparatus, control method of electronic apparatus, control program of electronic apparatus
JP6056424B2 (en) * 2012-11-29 2017-01-11 株式会社デンソー In-vehicle program update device
JP6244453B2 (en) * 2014-04-16 2017-12-06 クラリオン株式会社 Data distribution system and data distribution method
EP3407197B1 (en) * 2014-07-31 2022-08-17 Mitsubishi Electric Corporation Device management apparatus, management program update method and program

Also Published As

Publication number Publication date
JP2018147413A (en) 2018-09-20
CN110383249A (en) 2019-10-25
CN110383249B (en) 2023-07-07
WO2018163461A1 (en) 2018-09-13

Similar Documents

Publication Publication Date Title
CN111527478B (en) System and method for detecting abnormal user experience and performance in cooperation with cloud equipment
US20160142477A1 (en) Connection control device, connection control system, and non-transitory computer readable medium
JP6664343B2 (en) Software update management system and program
CN110651256B (en) System and method for preventing service interruption during software update
WO2017020781A1 (en) Power saving processing method, device, mobile terminal and cloud server
US20180196402A1 (en) Performance optimization in a building automation system
CN106209412B (en) Resource monitoring system and method thereof
CN113196251A (en) Storage management apparatus, method and program
US9607275B2 (en) Method and system for integration of systems management with project and portfolio management
CN112882939A (en) Automatic testing method and device, electronic equipment and storage medium
JP5794063B2 (en) Device management system, failure management device, device management device, failure management program, and device management program
CN113568717A (en) Equipment control method, device, server and medium
JP4325467B2 (en) Automatic power control system
CN110347546B (en) Dynamic adjustment method, device, medium and electronic equipment for monitoring task
CN112052077A (en) Method, device, equipment and medium for software task management
JP6823257B2 (en) Job monitoring program, job monitoring device and job monitoring method
JP2005020989A (en) Power control system for electrical apparatus
CN109254782B (en) Operating system installation method and device
JP6067471B2 (en) Gateway device and program
US9535753B2 (en) Context and optimization framework
JP7026702B2 (en) Control system, control method, and program
CN107577546B (en) Information processing method and device and electronic equipment
JP6061874B2 (en) Data management apparatus and program
CN113835733B (en) Cloud application updating method and device, electronic equipment and storage medium
CN111274230B (en) Data migration management method, device, equipment and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181203

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181211

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200121

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200218

R150 Certificate of patent or registration of utility model

Ref document number: 6664343

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees