JP5080136B2 - Remote maintenance system - Google Patents

Remote maintenance system Download PDF

Info

Publication number
JP5080136B2
JP5080136B2 JP2007137868A JP2007137868A JP5080136B2 JP 5080136 B2 JP5080136 B2 JP 5080136B2 JP 2007137868 A JP2007137868 A JP 2007137868A JP 2007137868 A JP2007137868 A JP 2007137868A JP 5080136 B2 JP5080136 B2 JP 5080136B2
Authority
JP
Japan
Prior art keywords
terminal
software
server
operation status
update
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
JP2007137868A
Other languages
Japanese (ja)
Other versions
JP2008293258A (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.)
Hitachi Omron Terminal Solutions Corp
Original Assignee
Hitachi Omron Terminal Solutions Corp
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 Omron Terminal Solutions Corp filed Critical Hitachi Omron Terminal Solutions Corp
Priority to JP2007137868A priority Critical patent/JP5080136B2/en
Publication of JP2008293258A publication Critical patent/JP2008293258A/en
Application granted granted Critical
Publication of JP5080136B2 publication Critical patent/JP5080136B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Description

本発明は、リモートメンテナンスシステムに係り、特に、サーバとネットワークに接続された端末に組み込まれたソフトウェアのバージョンに応じて該ソフトウェアを更新するリモートメンテナンスシステム、そのソフトウェア更新の制御方法及びサーバに関する。   The present invention relates to a remote maintenance system, and more particularly to a remote maintenance system that updates software according to a version of software installed in a terminal connected to the server and a network, a software update control method, and a server.

ネットワークを介して複数の端末とサーバが接続されるシステムにおいて、端末またはサーバの各ファイルに対して自動で更新、削除及び追加する方法が考案されている。例えば、特許文献1には、端末の使用状態を取得しソフトウェアの更新の可否を判定する更新条件判定部と、更新条件判定部により更新可能と判定された端末に対してソフトウェアの更新を指示する更新制御部とを備えたソフトウェア自動更新装置により、非使用状態にある端末の抽出からソフトウェアの更新までを自動的に行うという技術が開示されている。   In a system in which a plurality of terminals and a server are connected via a network, a method of automatically updating, deleting and adding each file of the terminal or server has been devised. For example, in Patent Literature 1, an update condition determination unit that acquires a usage state of a terminal and determines whether or not software can be updated, and a terminal that is determined to be updateable by the update condition determination unit is instructed to update software. A technology is disclosed in which an automatic software updating apparatus including an update control unit automatically performs a process from extraction of a non-use terminal to software update.

特開2006−318293号公報JP 2006-318293 A

しかしながら、従来技術では、自動的にソフトウェアの更新はできるものの、更新後のソフトウェアが、必ずしも正常に動作するとは限らない。そのため、多くの端末にソフトウェア更新を行い、一斉に更新後のソフトウェアを起動した場合には、更新を行った端末全てが正常に動作しなくなるという最悪の状況も考えられ、その後の業務に支障をきたす。また、この場合、正常に動作しない多くの端末に復旧作業が必要となり、復旧に時間を要するという問題があった。   However, in the prior art, although software can be automatically updated, the updated software does not always operate normally. For this reason, when software is updated on many terminals and the updated software is started all at once, the worst situation may occur where all the terminals that have been updated will not operate normally, hindering subsequent operations. Come on. Further, in this case, there is a problem that many terminals that do not operate normally require recovery work, and that recovery takes time.

本発明の目的は、ある端末の更新後のソフトウェアが正常に動作しているか否かの動作状況を監視し、その動作状況に応じて他の端末にも反映させることで、他の端末が正常に動作しなくなる事態を回避することにある。   The purpose of the present invention is to monitor the operating status of whether or not the software after updating of a certain terminal is operating normally, and to reflect it on other terminals according to the operating status, so that other terminals are operating normally. It is to avoid the situation where it stops working.

上記目的を達成するために、本発明のリモートメンテナンスシステムのソフトウェア更新の制御方法は、サーバと複数の端末とをネットワークを介して接続し、該サーバのリモートアクセスにより、該端末が有するソフトウェアを更新するリモートメンテナンスシステムにおけるソフトウェア更新の制御方法であって、第1の端末が有する該ソフトウェアを更新した後の動作状況を示す動作状況データを該第1の端末から受信し、受信した該動作状況データの動作状況に応じて、前記第1の端末にエラーが発生した時は予め端末毎に定められた処理を前記第1の端末に対して実行し、かつエラーを検知した該第1の端末の台数を拠点毎に集計し、その台数が予め定められた台数を超過した場合には、その拠点内の他の端末のソフトウェアを更新しないように構成することができる。 In order to achieve the above object, a software update control method for a remote maintenance system according to the present invention connects a server and a plurality of terminals via a network, and updates the software of the terminal by remote access of the server. A method for controlling software update in a remote maintenance system, wherein operation status data indicating an operation status after updating the software of the first terminal is received from the first terminal, and the received operation status data When an error occurs in the first terminal according to the operation status of the first terminal, a process predetermined for each terminal is executed for the first terminal, and the error of the first terminal that detected the error is detected. It aggregates number for each base, if in excess of the number that the number has been determined in advance, further software other terminals in the hub It can be configured not to.

また、本発明のリモートメンテナンスシステムは、サーバと複数の端末とをネットワークを介して接続し、該サーバのリモートアクセスにより、該端末が有するソフトウェアを更新するリモートメンテナンスシステムであって、該端末は、該ソフトウェアの更新後の動作に関するログ情報に基づいて、更新後の該ソフトウェアが正常に動作しているか否かの動作状況を診断する診断プログラムを格納する端末記憶手段と、該診断プログラムが診断した結果である動作状況データを、該サーバ装置へ送信する端末通信手段とを有し、該サーバは、該端末の該動作状況データを該端末から受信するサーバ通信手段と、該端末から受信した該動作状況データを格納するサーバ記憶手段と、該動作状況に基づき該端末にエラーが発生した時の処理を端末毎に規定し更新制御ファイルと、該サーバ記憶手段に格納された該動作状況データと該更新制御ファイルとに基づいて、該端末のソフトウェア更新時にエラーが発生した場合に所定の処理を実行し、該他の端末の該ソフトウェアを更新する制御を行う更新制御手段とを有し、前記サーバ記憶手段は、ソフトウェア更新処理中にエラーを検知した前記端末の台数を拠点毎に集計した異常発生台数ファイルを含み、前記更新制御手段は、ソフトウェア更新処理中に、前記異常発生台数ファイルに記録された台数が予め定められた台数を超過した場合、その拠点の他の前記端末に対して以降のソフトウェア更新処理を実行しないように構成することができる。 Further, the remote maintenance system of the present invention is a remote maintenance system in which a server and a plurality of terminals are connected via a network, and the software of the terminal is updated by remote access of the server. Based on the log information regarding the operation after the software update, terminal storage means for storing a diagnosis program for diagnosing the operation status of whether the updated software is operating normally, and the diagnosis program diagnosed Terminal communication means for transmitting operation status data as a result to the server device, and the server receives server operation means for receiving the operation status data of the terminal from the terminal , and the terminal received from the terminal. end and server storage means for storing operation status data, the process when an error occurs in the terminal based on said operating conditions And defining and updating control files for each, the based on the stored in the server storage unit a and said operating condition data the further and new control file, executes a predetermined process when an error occurs during the end of the software update said end, possess an update control means for performing control to update the said other terminal of the software, the server storage means, abnormality number file obtained by aggregating the number of the terminal which has detected an error during the software update processing for each site And when the number of units recorded in the abnormality occurrence number file exceeds a predetermined number during software update processing, the update control means performs subsequent software updates for the other terminals at the base. It can be configured not to execute the processing .

また、本発明のサーバは、端末とネットワークを介して接続され、該端末へのリモートアクセスにより、該端末が有するソフトウェアを更新するサーバであって、第1の端末が有する該ソフトウェアの更新後の動作状況を示す動作状況データを該第1の端末から受信する通信手段と、受信した該動作状況データの動作状況に応じて、該第1の端末以外の他の端末に対するソフトウェアの更新に関する更新処理データを記憶する第1の記憶手段と、受信した該動作状況データの動作状況に応じて、ソフトウェア更新時にエラーが発生した場合の処理を該端末毎に予め記憶する第2の記憶手段と、前記第1の端末のソフトウェア更新時にエラーが発生した場合、前記第2の記憶手段に記憶された処理を前記第1の端末に実行し、前記第1の記憶手段に記憶された該更新処理データに基づいて、該他の端末の該ソフトウェアを更新する制御を行う更新制御手段とを有し、前記第1の記憶手段は、ソフトウェア更新処理中にエラーを検知した前記端末の台数を拠点毎に集計した異常発生台数ファイルを含み、前記更新制御手段は、ソフトウェア更新処理中に、前記異常発生台数ファイルに記録された台数が予め定められた台数を超過した場合、その拠点の他の前記端末に対して以降のソフトウェア更新処理を実行しないように構成することができる。
The server of the present invention is a server that is connected to a terminal via a network and updates the software that the terminal has by remote access to the terminal, and after the update of the software that the first terminal has Communication means for receiving operation status data indicating the operation status from the first terminal, and update processing related to software update for other terminals other than the first terminal according to the operation status of the received operation status data First storage means for storing data, second storage means for storing in advance processing for each terminal when an error occurs during software update according to the operation status of the received operation status data, If an error occurs during the software update of the first terminal, the process stored in the second storage means is executed on the first terminal, and the first storage On the basis of the stored the further new process data, possess an update control means for performing control to update the software of the other terminals, said first storage means, the error was detected during software update process Including an abnormal number file that counts the number of terminals for each base, the update control means, during the software update process, when the number recorded in the abnormal number file exceeds a predetermined number, It is possible to configure so that subsequent software update processing is not executed for the other terminals at the base .

本発明によれば、ある端末の更新後のソフトウェアの動作状況を、他の端末にも反映させることにより、他の端末が正常に動作しなくなる事態を回避できる。   According to the present invention, it is possible to avoid a situation in which other terminals do not operate normally by reflecting the operation status of software after updating a certain terminal to other terminals.

次に、本発明を実施するための最良の形態を、以下の実施例に基づき図面を参照しつつ説明していく。
〔実施例1〕
まず、図1を参照して、本実施例に係るリモートメンテナンスシステムについて説明する。
図1は、ソフトウェア更新を制御するリモートメンテナンスシステム100の構成例を示す図である。
リモートメンテナンスシステム100は、サーバ11、サーバ側ルータ41、サーバ側LAN10、端末21、支店側ルータ42、支店側LAN20及びWAN200から構成されている。WAN200とサーバ側LAN10、及びWAN200と支店側LAN20との間にはそれぞれサーバ側ルータ41、支店側ルータ42が設けられており、WAN−LAN間のデータを中継する。サーバ側LAN10と支店側LAN20との間は直接接続されることはなく、WAN200を介して接続されている。ここで、サーバ側LAN10は、各拠点ごと、あるいは地域ごとに設ける構成としてもよい。サーバ側LAN10にはサーバ11が、支店側LAN20には端末21が接続されている。
Next, the best mode for carrying out the present invention will be described based on the following embodiments with reference to the drawings.
[Example 1]
First, a remote maintenance system according to the present embodiment will be described with reference to FIG.
FIG. 1 is a diagram illustrating a configuration example of a remote maintenance system 100 that controls software update.
The remote maintenance system 100 includes a server 11, a server side router 41, a server side LAN 10, a terminal 21, a branch side router 42, a branch side LAN 20, and a WAN 200. A server side router 41 and a branch side router 42 are provided between the WAN 200 and the server side LAN 10, and between the WAN 200 and the branch side LAN 20, respectively, and relay data between the WAN and the LAN. The server side LAN 10 and the branch side LAN 20 are not directly connected but are connected via the WAN 200. Here, the server-side LAN 10 may be provided for each base or each region. A server 11 is connected to the server side LAN 10, and a terminal 21 is connected to the branch side LAN 20.

図2は、サーバ11の構成例を示す図である。
サーバ11は、中央処理装置(CPU)13、入力部14、出力部15、ネットワークインタフェース(NIC)16及び記憶部17から構成されている。CPU13は、サーバ11の制御やデータの演算/加工を行う。演算/加工されたデータは、記憶部17に記憶され、あるいは出力部15に出力される。入力部14は、例えばキーボード、マウスである。出力部15は、CPU13がデータ演算/加工したデータを出力する。NIC16は、ネットワークインタフェースカードであり、サーバ11をサーバ側LAN10に接続する。
FIG. 2 is a diagram illustrating a configuration example of the server 11.
The server 11 includes a central processing unit (CPU) 13, an input unit 14, an output unit 15, a network interface (NIC) 16 and a storage unit 17. The CPU 13 controls the server 11 and calculates / processes data. The calculated / processed data is stored in the storage unit 17 or output to the output unit 15. The input unit 14 is, for example, a keyboard or a mouse. The output unit 15 outputs the data calculated / processed by the CPU 13. The NIC 16 is a network interface card, and connects the server 11 to the server side LAN 10.

記憶部17は、配布ファイル171、配布先リスト172、ソフトウェア動作状況ファイル173、配布プログラム174、更新制御ファイル175及び異常発生台数ファイル176の各データを記憶する。   The storage unit 17 stores data of a distribution file 171, a distribution destination list 172, a software operation status file 173, a distribution program 174, an update control file 175, and an abnormality occurrence number file 176.

次に、各ファイルについて説明する。
配布ファイル171は、各端末21に配布されるプログラムモジュールやデータ表等を記憶するファイルである。
配布先リスト172は、図3に示すように、端末識別番号50及び拠点識別番号51から構成されている。端末識別番号50は、端末21を識別するために付された数字、文字、記号を組み合わせた列であり、ユニークでなければならない。端末21の識別番号が決まれば拠点の識別番号は一意に決まる。拠点識別番号51は、端末21が設置されている拠点を示す識別番号である。
Next, each file will be described.
The distribution file 171 is a file that stores program modules and data tables distributed to the terminals 21.
As shown in FIG. 3, the distribution destination list 172 includes a terminal identification number 50 and a base identification number 51. The terminal identification number 50 is a sequence combining numbers, characters, and symbols assigned to identify the terminal 21 and must be unique. If the identification number of the terminal 21 is determined, the identification number of the base is uniquely determined. The base identification number 51 is an identification number indicating the base where the terminal 21 is installed.

ソフトウェア動作状況ファイル173は、端末21から受信した、端末21のソフトウェア動作状況を記録したファイルである。   The software operation status file 173 is a file in which the software operation status of the terminal 21 received from the terminal 21 is recorded.

配布プログラム174は、配布ファイル171を端末21に配布し、また、ソフトウェア動作状況ファイル173に記録されているソフトウェア動作状況のデータに基づいて、端末21のソフトウェア更新を制御するプログラムである。ソフトウェア更新の際のエラー発生時には、そのエラーの処理が更新制御ファイル175に記述されている場合、この記述された処理を実行する制御を行う。この配布プログラム174がCPU13で実行されることによって、端末21のソフトウェアを更新するためのソフトウェア更新制御手段300が実現する。   The distribution program 174 is a program that distributes the distribution file 171 to the terminal 21 and controls software update of the terminal 21 based on the software operation status data recorded in the software operation status file 173. When an error occurs during software update, if the error process is described in the update control file 175, control to execute the described process is performed. When the distribution program 174 is executed by the CPU 13, the software update control means 300 for updating the software of the terminal 21 is realized.

異常発生台数ファイル176は、サーバ11がリモートメンテナンスシステム100のネットワークに接続された端末21に対するソフトウェア更新処理中に、異常を検知した端末21の台数を拠点ごとに集計した数を記録したファイルである。   The abnormality occurrence number file 176 is a file in which the server 11 records the number of the number of terminals 21 that have detected an abnormality for each base during the software update process for the terminals 21 connected to the network of the remote maintenance system 100. .

図4及び図5を参照して、更新制御ファイル175を説明する。
図4に示すように、更新制御ファイル175は、拠点識別番号60及び許容異常台数61のフィールドから構成される。
許容異常台数61は、サーバ11が端末21へのソフトウェア更新を中止する契機となる、更新後ソフトウェア動作が正常ではない端末21の数を表す。更新後のソフトウェアの動作が正常でない端末21の数が、更新制御ファイル175に記述されている許容異常台数61を超えた場合、サーバはその拠点の端末21に対して、以降のソフトウェア更新を実行しない。例えば、拠点Xの許容異常台数が0の場合、拠点Xの端末21が1台でもソフトウェア更新後の動作が正常でないと通知されれば、サーバ11はそれ以降、拠点Xの端末21に対してソフトウェア更新を実行しない。
The update control file 175 will be described with reference to FIGS. 4 and 5.
As shown in FIG. 4, the update control file 175 includes fields for the base identification number 60 and the allowable abnormal number 61.
The allowable abnormal number 61 represents the number of terminals 21 whose software operation after update is not normal, which triggers the server 11 to stop the software update to the terminal 21. When the number of terminals 21 whose software operations after updating exceed the allowable abnormal number 61 described in the update control file 175, the server executes subsequent software updating for the terminal 21 at the base. do not do. For example, when the allowable abnormal number of the base X is 0, if it is notified that the operation after the software update is not normal even if there is one terminal 21 of the base X, the server 11 thereafter notifies the terminal 21 of the base X. Do not perform software updates.

拠点識別番号60は、拠点を識別するための数字、文字、記号を組み合わせた列であり、ユニークでなければならない。拠点識別番号60のフィールドには、複数の拠点を示す識別番号を記述してもよく、例えば、全拠点を表す識別番号を記述してよい。これにより、例えば拠点Wと拠点Zの2拠点を併せた許容異常台数61を4と記述することができ、この場合、拠点Wと拠点Zで併せて5台以上の端末21が、サーバ11へ更新後のソフトウェアの動作が正常でないと通知すれば、サーバ11は以降、拠点W及び拠点Zの2拠点の端末21に対してソフトウェア更新を実行しない。   The site identification number 60 is a string combining numbers, characters, and symbols for identifying the site, and must be unique. In the field of the base identification number 60, an identification number indicating a plurality of bases may be described, for example, an identification number indicating all the bases may be described. Thereby, for example, the allowable abnormal number 61 of the two bases W and Z can be described as 4, and in this case, at least five terminals 21 at the base W and the base Z are connected to the server 11. If it is notified that the operation of the software after the update is not normal, the server 11 does not update the software for the terminals 21 at the base W and the base Z thereafter.

図5に示すように、更新制御ファイル175は、各端末21に対する更新処理中に発生したエラーに対し、サーバ11が行う処理が記述されているファイルであり、端末識別番号70及びエラー発生時の処理71のフィールドから構成されている。   As shown in FIG. 5, the update control file 175 is a file in which processing performed by the server 11 is described for an error that occurred during the update processing for each terminal 21, and includes the terminal identification number 70 and the error occurrence time. It consists of a field of processing 71.

端末識別番号70は、端末21を識別するために付された数字、文字、記号を組み合わせた列であり、ユニークでなければならない。   The terminal identification number 70 is a combination of numbers, characters, and symbols assigned to identify the terminal 21 and must be unique.

エラー発生時の処理71は、エラー発生の内容の項目ごとに、各端末21がエラー発生時に処理すべき内容を記したフィールドである。例えば、端末X−001の電源が投入されていなかった場合、サーバは処理Aを行う。処理Aとは、例えば、端末21へ電源投入指令を送信後、再度ソフトウェア更新を試みる、または、端末21へのソフトウェア更新は行わず、次の端末21の処理へ移行する等である。また、処理Aには、端末21を異常台数にカウントするか否かの処理を含めてもよい。   The process 71 when an error occurs is a field that describes the contents that each terminal 21 should process when an error occurs for each item of the contents of the error occurrence. For example, if the terminal X-001 is not powered on, the server performs process A. The process A is, for example, trying to update software again after transmitting a power-on instruction to the terminal 21 or shifting to the next process of the terminal 21 without updating the software to the terminal 21. The process A may include a process for determining whether or not the terminal 21 is counted as an abnormal number.

図10を参照して、異常発生台数ファイル176を説明する。
異常発生台数ファイル176は、拠点識別番号80及び異常発生台数81のフィールドから構成されている。拠点識別番号80は、拠点を識別するための数字、文字、記号を組み合わせた列であり、ユニークでなければならない。異常発生台数81は、サーバ11がリモートメンテナンスシステム100のネットワークに接続された端末21に対するソフトウェア更新処理中に、異常を検知した端末21の台数であり、拠点ごとに集計した数である。
The abnormality occurrence number file 176 will be described with reference to FIG.
The abnormality occurrence number file 176 includes fields of the base identification number 80 and the abnormality occurrence number 81. The site identification number 80 is a string combining numbers, characters, and symbols for identifying the site, and must be unique. The number 81 of abnormal occurrences is the number of terminals 21 that have detected an abnormality during the software update process for the terminal 21 connected to the network of the remote maintenance system 100 by the server 11, and is the number counted for each base.

図6は、端末21の構成例を示す図である。
端末21は、CPU23、入力部24、出力部25、NIC26及び記憶部27から構成されている。CPU23は、端末21の動作を制御する。入力部24は、例えばキーボード、マウスである。出力部25は、CPU23がデータ演算/加工した結果のデータを出力する。NIC26は、ネットワークインタフェースカードであり、端末21を支店側LAN20に接続する。記憶部27は、アプリケーションソフトウェア31、ログファイル32及び診断プログラム33の各データを記憶する。
FIG. 6 is a diagram illustrating a configuration example of the terminal 21.
The terminal 21 includes a CPU 23, an input unit 24, an output unit 25, a NIC 26 and a storage unit 27. The CPU 23 controls the operation of the terminal 21. The input unit 24 is, for example, a keyboard or a mouse. The output unit 25 outputs data obtained as a result of data calculation / processing by the CPU 23. The NIC 26 is a network interface card, and connects the terminal 21 to the branch side LAN 20. The storage unit 27 stores data of the application software 31, the log file 32, and the diagnostic program 33.

アプリケーションソフトウェア31は、起動時および起動後のソフトウェアの動作状態をログファイル32に出力する。   The application software 31 outputs the operation state of the software at the start time and after the start to the log file 32.

ログファイル32は、アプリケーションソフトウェア31により出力されたソフトウェアの動作ログを記録したファイルである。   The log file 32 is a file in which an operation log of software output by the application software 31 is recorded.

診断プログラム33は、アプリケーションソフトウェア31が出力した動作ログをログファイル32から取得し、取得した動作ログに基づいて更新したソフトウェアの動作状況を診断して、その結果をサーバ11にルータ42を介して通知する。   The diagnostic program 33 acquires the operation log output by the application software 31 from the log file 32, diagnoses the operation status of the updated software based on the acquired operation log, and sends the result to the server 11 via the router 42. Notice.

次に、サーバ11が、端末21のソフトウェア更新の制御をする手順について、図7から図9を参照しながら説明する。
図7から図9は、サーバ11が配布先リスト172から次のソフトウェア更新対象となる端末21の情報を取得した後、端末21にソフトウェア更新を行い、端末21からソフトウェア動作状況情報を受信してソフトウェア更新処理を続行するか否かを判断する動作を示すフローチャートである。特に、図9は、ソフトウェア更新の際のエラー発生時の動作を示すフローチャートである。
Next, the procedure in which the server 11 controls the software update of the terminal 21 will be described with reference to FIGS.
7 to FIG. 9, after the server 11 acquires information on the terminal 21 that is the next software update target from the distribution destination list 172, the server 11 performs software update on the terminal 21 and receives software operation status information from the terminal 21. It is a flowchart which shows the operation | movement which judges whether a software update process is continued. In particular, FIG. 9 is a flowchart showing an operation when an error occurs during software update.

まず、サーバ11のCPU13は、異常発生台数ファイル176の全拠点に対する異常発生台数81のフィールドを0にセットする(S101)。次に、記憶部17の配布先リスト172から配布ファイル171の配布先を取得する(S102)。既に全ての端末21に配布ファイル171を配布済みで、新たな配布先を取得できなかった場合(S103のN)、処理を終了する。配布先を取得できた場合(S103のY)、配布先である端末21が更新可能な状態であるか否かの情報を取得する(S104)。端末21がソフトウェア更新可能な状態でない(例えば端末の電源が投入されていない、更新対象のソフトウェアの前提バージョンが異なる等)場合(S105のN)、サーバ11のCPU13は後述のエラー処理を行う。一方、端末21がソフトウェア更新可能である場合(S105のY)、サーバ11のCPU13は記憶部17の配布ファイル171を端末21へ送信する(S106)。   First, the CPU 13 of the server 11 sets the field of the number 81 of abnormal occurrences for all sites in the abnormality occurrence number file 176 to 0 (S101). Next, the distribution destination of the distribution file 171 is acquired from the distribution destination list 172 of the storage unit 17 (S102). If the distribution file 171 has already been distributed to all the terminals 21 and a new distribution destination has not been acquired (N in S103), the process ends. When the distribution destination can be acquired (Y in S103), information on whether or not the distribution destination terminal 21 is in an updatable state is acquired (S104). When the terminal 21 is not in a state in which software can be updated (for example, the terminal is not turned on, or the prerequisite version of the software to be updated is different) (N in S105), the CPU 13 of the server 11 performs error processing described later. On the other hand, when the terminal 21 can update software (Y in S105), the CPU 13 of the server 11 transmits the distribution file 171 in the storage unit 17 to the terminal 21 (S106).

配布ファイル171のファイル配布が正常に終了しなかった場合(S107のN)、サーバ11のCPU13は後述のエラー処理を行う。   When the file distribution of the distribution file 171 is not normally completed (N in S107), the CPU 13 of the server 11 performs an error process described later.

ファイル配布が正常に終了した場合(S107のY)、サーバ11のCPU13は端末21からソフトウェアの更新後のソフトウェア動作状況が通知されるのを待つ(S110)。端末21からソフトウェア動作状況が通知されずにタイムアウトした場合(S111)、後述のエラー処理を行う。タイムアウト前に端末21からソフトウェア動作状況が通知された場合(S110のY)、通知された情報を記憶部17のソフトウェア動作状況ファイル173に記憶する(S112)。通知されたソフトウェア動作状況が正常でない場合(S113のN)、後述のエラー処理を行う。通知されたソフトウェア動作状況が正常な場合(S113のY)、配布先リスト172から次の配布先を取得する処理(S102)に戻る。   When the file distribution is completed normally (Y in S107), the CPU 13 of the server 11 waits for notification of the software operation status after software update from the terminal 21 (S110). If the terminal 21 times out without being notified of the software operation status (S111), error processing described later is performed. When the software operation status is notified from the terminal 21 before the timeout (Y in S110), the notified information is stored in the software operation status file 173 of the storage unit 17 (S112). If the notified software operation status is not normal (N in S113), error processing described later is performed. If the notified software operation status is normal (Y in S113), the process returns to the process of acquiring the next distribution destination from the distribution destination list 172 (S102).

次に、エラー処理について説明する。
サーバ11のCPU13はソフトウェア更新処理中にエラーが発生したか否かを判定する(S121)。エラーが発生していない場合、配布先リスト172から次の配布先を取得する処理(S102)に戻る。エラーが発生した場合、そのエラーに対する処理が更新制御ファイル175に記述してあるか否かを判定する(S122)。記述がない場合、処理を終了する。
Next, error processing will be described.
The CPU 13 of the server 11 determines whether an error has occurred during the software update process (S121). If no error has occurred, the process returns to the process of acquiring the next distribution destination from the distribution destination list 172 (S102). When an error occurs, it is determined whether or not processing for the error is described in the update control file 175 (S122). If there is no description, the process ends.

記述がある場合、異常発生台数ファイル176のその端末21が属する拠点の異常発生台数のフィールドを+1し(S123)、更新制御ファイル175に記述してある処理を行う(S124)。更新制御ファイル175に記述してある処理が、処理を終了させる内容であれば、サーバ11のCPU13は処理を終了する(S125のN)。更新制御ファイル175に記述してある処理が、処理を終了させるものでなければ、配布先リスト172から次の配布先を取得する処理(S102)に戻る。   If there is a description, the field of the number of abnormal occurrences at the site to which the terminal 21 belongs is incremented by 1 in the abnormality occurrence number file 176 (S123), and the process described in the update control file 175 is performed (S124). If the process described in the update control file 175 is a content that terminates the process, the CPU 13 of the server 11 ends the process (N in S125). If the process described in the update control file 175 does not end the process, the process returns to the process of acquiring the next distribution destination from the distribution destination list 172 (S102).

以上のように、本実施例に係るサーバ11によれば、端末21のソフトウェア更新後の動作状況を確認しながら1台ごとに確実にソフトウェア更新を行うことができる。尚、ここで1台ごととは、ネットワーク全体で1台ごとではなく、ネットワーク全体の端末21をいくつかの部分集合に分け、部分集合ごとに1台ごとでもよい。例えば、サーバ11は拠点ごとに1台ずつソフトウェア更新処理をさせ、各拠点に対する処理を並行して行ってもよい。
〔実施例2〕
次に、実施の形態2に係るソフトウェア更新を制御するリモートメンテナンスシステムについて説明する。尚、実施の形態2に係るリモートメンテナンスシステムの構成例は実施の形態1と同一のため、実施例1の符号を参照する。
As described above, according to the server 11 according to the present embodiment, it is possible to reliably update the software for each device while confirming the operation state of the terminal 21 after the software update. Here, the term “each unit” does not mean every unit in the entire network, but the terminal 21 of the entire network may be divided into some subsets, and each unit may be in each subset. For example, the server 11 may perform a software update process for each base and perform processing for each base in parallel.
[Example 2]
Next, a remote maintenance system for controlling software updates according to the second embodiment will be described. The configuration example of the remote maintenance system according to the second embodiment is the same as that of the first embodiment, and therefore the reference numerals of the first embodiment are referred to.

実施の形態2が実施の形態1と異なる点は、サーバ11がソフトウェア更新対象の端末21に対して予め一斉にファイル配布を行っておき、その後1台ずつ端末21にソフトウェア更新の指令を送信する点である。ソフトウェア更新の指令を受けた端末21は先に配布されていたファイルを用いソフトウェアを更新し、更新後にソフトウェアを起動させる。その後、端末21の診断プログラム33は更新後のソフトウェアの動作状況を取得し、サーバ11へ通知する。サーバ11は通知された動作状況に応じて、他の端末21へのソフトウェア更新指令を送信するか否かを制御する。   The difference between the second embodiment and the first embodiment is that the server 11 distributes files to the terminals 21 to be updated in advance all at once, and then sends a software update command to the terminals 21 one by one. Is a point. Upon receiving the software update instruction, the terminal 21 updates the software using the previously distributed file, and activates the software after the update. Thereafter, the diagnostic program 33 of the terminal 21 acquires the updated operation status of the software and notifies the server 11 of it. The server 11 controls whether or not to send a software update command to the other terminal 21 according to the notified operation status.

このように実施の形態2によれば、端末1台ずつにファイルを配布するのではなく、一斉に全台に配布するため、ネットワーク通信量を低減することができ、また、全端末に対するソフトウェア更新にかかる時間が短縮できる。   As described above, according to the second embodiment, since the files are not distributed to all the terminals at the same time but distributed to all the terminals at the same time, the network traffic can be reduced, and the software update for all the terminals is performed. Can reduce the time it takes.

〔実施例3〕
実施の形態3に比して実施の形態1と異なる点は、サーバ11は、最初は端末1台ずつファイル配布を行い、ある時点で残りの全端末に一斉にソフトウェア更新をさせるという点である。ここで、ある時点とは例えば3台の端末から更新後のソフトウェア動作状況が正常であると通知された時点などである。
Example 3
The difference from the first embodiment compared to the third embodiment is that the server 11 initially distributes files one by one at a time and causes all the remaining terminals to update software at a certain point in time. . Here, for example, the point in time is a point in time when the updated software operation status is notified from three terminals.

このように実施の形態3によれば、初めは1台ずつソフトウェア更新することにより、最低限正常に動作させたい端末数を確保することができ、それ以降は一斉に端末のソフトウェア更新をさせるため全体のソフトウェア更新にかかる時間を短縮することができる。   As described above, according to the third embodiment, by initially updating the software one by one, it is possible to secure the minimum number of terminals that are desired to operate normally, and thereafter, the software of the terminals is updated all at once. The time required for the entire software update can be shortened.

尚、本発明は、具体的に開示された実施例に限定されるものではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。   The present invention is not limited to the specifically disclosed embodiments, and various modifications and changes can be made without departing from the scope of the claims.

実施例におけるリモートメンテナンスシステムの構成例を示す図。The figure which shows the structural example of the remote maintenance system in an Example. 実施例におけるサーバの構成例を示す図。The figure which shows the structural example of the server in an Example. 配布先リストの構成例を示す図。The figure which shows the structural example of a distribution destination list. 更新制御ファイルの構成例を示す図(その1)。The figure which shows the structural example of an update control file (the 1). 更新制御ファイルの構成例を示す図(その2)。The figure which shows the structural example of an update control file (the 2). 実施例における端末装置の構成例を示す図。The figure which shows the structural example of the terminal device in an Example. 端末のソフトウェア更新を制御する動作を示すフローチャート。The flowchart which shows the operation | movement which controls the software update of a terminal. 端末のソフトウェア更新を制御する動作を示すフローチャート。The flowchart which shows the operation | movement which controls the software update of a terminal. 通知されたエラーに対する処理を行う動作を示すフローチャート。The flowchart which shows the operation | movement which performs the process with respect to the notified error. 異常発生台数ファイルの構成例を示す図。The figure which shows the structural example of an abnormality generation number file.

符号の説明Explanation of symbols

10:サーバ側LAN、11:サーバ、 13:CPU、14:入力部、 15:出力部、 16:NIC、 17:記憶部、 20:支店側LAN、 21:端末、 23:CPU、 24:入力部、 25:出力部、 26:NIC、 27:記憶部、 30:支店側LAN、 31:アプリケーションソフトウェア、 32:ログファイル、 33:診断プログラム、 41、42:ルータ、 100:ネットワーク、 171:配布ファイル、 172:配布先リスト、 173:ソフトウェア動作状況ファイル、 174:配布プログラム、 175:更新制御ファイル、176:異常発生台数ファイル、 200:WAN、 300:更新制御手段 10: Server side LAN, 11: Server, 13: CPU, 14: Input unit, 15: Output unit, 16: NIC, 17: Storage unit, 20: Branch side LAN, 21: Terminal, 23: CPU, 24: Input Part: 25: output part, 26: NIC, 27: storage part, 30: branch side LAN, 31: application software, 32: log file, 33: diagnostic program, 41, 42: router, 100: network, 171: distribution File, 172: distribution destination list, 173: software operation status file, 174: distribution program, 175: update control file, 176: abnormality occurrence number file, 200: WAN, 300: update control means

Claims (3)

サーバと複数の端末とをネットワークを介して接続し、該サーバのリモートアクセスにより、該端末が有するソフトウェアを更新するリモートメンテナンスシステムにおけるソフトウェア更新の制御方法であって、
第1の端末が有する該ソフトウェアを更新した後の動作状況を示す動作状況データを該第1の端末から受信し、受信した該動作状況データの動作状況に応じて、前記第1の端末にエラーが発生した時は予め端末毎に定められた処理を前記第1の端末に対して実行し、かつエラーを検知した該第1の端末の台数を拠点毎に集計し、その台数が、予め定められた台数を超過した場合には、その拠点内の他の端末のソフトウェアを更新しないことを特徴とするソフトウェア更新の制御方法。
A software update control method in a remote maintenance system in which a server and a plurality of terminals are connected via a network and the software of the terminal is updated by remote access of the server,
An operation status data indicating an operation status after updating the software of the first terminal is received from the first terminal, and an error is detected in the first terminal according to the operation status of the received operation status data. When the error occurs , the processing predetermined for each terminal is executed for the first terminal, and the number of the first terminals that detected an error is counted for each base, and the number is determined in advance. A software update control method characterized by not updating the software of other terminals in the base when the number exceeds the specified number .
サーバと複数の端末とをネットワークを介して接続し、該サーバのリモートアクセスにより、該端末が有するソフトウェアを更新するリモートメンテナンスシステムであって、
該端末は、該ソフトウェアの更新後の動作に関するログ情報に基づいて、更新後の該ソフトウェアが正常に動作しているか否かの動作状況を診断する診断プログラムを格納する端末記憶手段と、該診断プログラムが診断した結果である動作状況データを、該サーバ装置へ送信する端末通信手段とを有し、
該サーバは、該端末の該動作状況データを該端末から受信するサーバ通信手段と、該端末から受信した該動作状況データを格納するサーバ記憶手段と、該動作状況に基づき該端末にエラーが発生した際の処理を端末毎に規定した更新制御ファイルと、該サーバ記憶手段に格納された該動作状況データと該更新制御ファイルとに基づいて、該端末のソフトウェア更新時にエラーが発生した場合に所定の処理を実行し、該他の端末の該ソフトウェアを更新する制御を行う更新制御手段とを有し、
前記サーバ記憶手段は、ソフトウェア更新処理中にエラーを検知した前記端末の台数を拠点毎に集計した異常発生台数ファイルを含み、
前記更新制御手段は、ソフトウェア更新処理中に、前記異常発生台数ファイルに記録された台数が予め定められた台数を超過した場合、その拠点の他の前記端末に対して以降のソフトウェア更新処理を実行しないことを特徴とするリモートメンテナンスシステム。
A remote maintenance system for connecting a server and a plurality of terminals via a network, and updating software of the terminal by remote access of the server,
The terminal includes a terminal storage unit that stores a diagnostic program for diagnosing an operation status as to whether or not the updated software is operating normally based on log information related to the operation after the software is updated, and the diagnosis A terminal communication means for transmitting operation status data as a result of diagnosis by the program to the server device;
The server includes a server communication unit that receives the operation status data of the terminal from the terminal, a server storage unit that stores the operation status data received from the terminal, and an error occurs in the terminal based on the operation status Predetermined when an error occurs during software update of the terminal based on the update control file that defines the processing for each terminal, the operation status data stored in the server storage means, and the update control file run the process, it possesses an update control means for performing control to update the software of the other terminal,
The server storage means includes an abnormality occurrence number file in which the number of the terminals that have detected an error during software update processing is tabulated for each base,
The update control means, when the number of units recorded in the abnormality occurrence number file exceeds a predetermined number during software update processing, executes subsequent software update processing for the other terminals at the base Remote maintenance system characterized by not .
端末とネットワークを介して接続され、該端末へのリモートアクセスにより、該端末が有するソフトウェアを更新するサーバであって、
第1の端末が有する該ソフトウェアの更新後の動作状況を示す動作状況データを該第1の端末から受信する通信手段と、
受信した該動作状況データの動作状況に応じて、該第1の端末以外の他の端末に対するソフトウェアの更新に関する更新処理データを記憶する第1の記憶手段と、
受信した該動作状況データの動作状況に応じて、ソフトウェア更新時にエラーが発生した場合の処理を該端末毎に予め記憶する第2の記憶手段と、
前記第1の端末のソフトウェア更新時にエラーが発生した場合、前記第2の記憶手段に記憶された処理を前記第1の端末に実行し、前記第1の記憶手段に記憶された該更新処理データに基づいて、該他の端末の該ソフトウェアを更新する制御を行う更新制御手段とを有し、
前記第1の記憶手段は、ソフトウェア更新処理中にエラーを検知した前記端末の台数を拠点毎に集計した異常発生台数ファイルを含み、
前記更新制御手段は、ソフトウェア更新処理中に、前記異常発生台数ファイルに記録された台数が予め定められた台数を超過した場合、その拠点の他の前記端末に対して以降のソフトウェア更新処理を実行しないことを特徴とするサーバ。
A server that is connected to a terminal via a network and updates software of the terminal by remote access to the terminal,
Communication means for receiving, from the first terminal, operation status data indicating an operation status after the software update of the first terminal;
First storage means for storing update processing data related to software updates for other terminals other than the first terminal, in accordance with the operation status of the received operation status data;
Second storage means for storing in advance processing for each terminal when an error occurs during software update according to the operation status of the received operation status data;
If an error occurs during software update of the first terminal, the update process data stored in the first storage means is executed on the first terminal by executing the process stored in the second storage means. based on, it possesses an update control means for performing control to update the software of the other terminal,
The first storage means includes an abnormality occurrence number file in which the number of terminals that have detected an error during software update processing is tabulated for each base,
The update control means, when the number of units recorded in the abnormality occurrence number file exceeds a predetermined number during software update processing, executes subsequent software update processing for the other terminals at the base A server characterized by not .
JP2007137868A 2007-05-24 2007-05-24 Remote maintenance system Expired - Fee Related JP5080136B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007137868A JP5080136B2 (en) 2007-05-24 2007-05-24 Remote maintenance system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007137868A JP5080136B2 (en) 2007-05-24 2007-05-24 Remote maintenance system

Publications (2)

Publication Number Publication Date
JP2008293258A JP2008293258A (en) 2008-12-04
JP5080136B2 true JP5080136B2 (en) 2012-11-21

Family

ID=40167918

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007137868A Expired - Fee Related JP5080136B2 (en) 2007-05-24 2007-05-24 Remote maintenance system

Country Status (1)

Country Link
JP (1) JP5080136B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5268820B2 (en) * 2009-07-30 2013-08-21 株式会社東芝 Rewriting method for monitoring device program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040003266A1 (en) * 2000-09-22 2004-01-01 Patchlink Corporation Non-invasive automatic offsite patch fingerprinting and updating system and method
JP2002251491A (en) * 2001-02-26 2002-09-06 Ntt Comware Corp System and method for providing failure recovery measure pattern, and recording medium storing program of the method
JP2003263411A (en) * 2002-03-12 2003-09-19 Dainippon Printing Co Ltd Faulty equipment restoration system and method
US7216343B2 (en) * 2002-09-20 2007-05-08 International Business Machines Corporation Method and apparatus for automatic updating and testing of software
JP2004326287A (en) * 2003-04-23 2004-11-18 Mitsubishi Electric Corp Program remote updating system
JP2006119848A (en) * 2004-10-20 2006-05-11 Fujitsu Ltd Software update program, software update device and software update method
JP2006318293A (en) * 2005-05-13 2006-11-24 Matsushita Electric Ind Co Ltd Automatic updating apparatus for software and terminal

Also Published As

Publication number Publication date
JP2008293258A (en) 2008-12-04

Similar Documents

Publication Publication Date Title
CN110062918B (en) Method for updating software in a cloud gateway, computer program for carrying out said method and processing unit for carrying out said method
CN109714202B (en) Client off-line reason distinguishing method and cluster type safety management system
US20090265587A1 (en) Knowledge-based failure recovery support system
CN110865907B (en) Method and system for providing service redundancy between master server and slave server
CN111052087A (en) Control system, information processing device, and abnormality factor estimation program
US9444684B2 (en) Method and system for detecting network upgrades
US20120096303A1 (en) Detecting and recovering from process failures
JP5080136B2 (en) Remote maintenance system
JP2017169044A (en) Setting device, communication system, method for setting update of communication device, and program
US20230221948A1 (en) Automation Controller For Upgrading An IT Infrastructure
US20080178182A1 (en) Work state returning apparatus, work state returning method, and computer product
JP2001022709A (en) Cluster system and computer-readable storage medium storing program
JP2006113754A (en) Software update device and method
JP4257364B2 (en) COMMUNICATION ERROR INFORMATION OUTPUT PROGRAM, COMMUNICATION ERROR INFORMATION OUTPUT METHOD, AND COMMUNICATION ERROR INFORMATION OUTPUT DEVICE
CN115842860A (en) Monitoring method, device and system for data link
JP6070040B2 (en) Database system, database device, database failure recovery method and program
JP5653112B2 (en) Command execution result abnormality detection system and method
JP5139485B2 (en) Remote security diagnostic system
JP2007068090A (en) Network device monitor system and monitoring method, and program therefor
JP2014021586A (en) Server performing upgrade of program, upgrade system composed of server and plurality of devices, and upgrade method of program
CN109672573B (en) Configuration file deployment method, configuration file determination method, server and storage medium
CN111008092A (en) Welding machine communication management method and welding machine
US20090259322A1 (en) Automation system and method for the diagnosis, adjustment or optimization of an automation device
CN110569047A (en) method for remotely updating human-computer interface based on detachable communication module
JPH1040124A (en) Execution control method for diagnostic program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090727

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120322

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120515

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120713

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120830

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150907

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5080136

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees