JPH09138769A - System and method for software delivery - Google Patents

System and method for software delivery

Info

Publication number
JPH09138769A
JPH09138769A JP7295685A JP29568595A JPH09138769A JP H09138769 A JPH09138769 A JP H09138769A JP 7295685 A JP7295685 A JP 7295685A JP 29568595 A JP29568595 A JP 29568595A JP H09138769 A JPH09138769 A JP H09138769A
Authority
JP
Japan
Prior art keywords
software
distribution
client
machine
version
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7295685A
Other languages
Japanese (ja)
Inventor
Yoko Matsui
陽子 松井
Yasutomo Akiyama
康智 秋山
Masahiro Momomoto
征弘 百本
Yuji Aoki
裕司 青木
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
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP7295685A priority Critical patent/JPH09138769A/en
Publication of JPH09138769A publication Critical patent/JPH09138769A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

PROBLEM TO BE SOLVED: To instantly recover a software so as to use the same software by providing a software recovering means instructing the replacement software with an old version before delivery at the time of judging the failure of delivery in a client machine. SOLUTION: What is described in a server-side operation setting file 17 set to the disk device 3 on the side of a server machine 1 is the name of a software, whether to recover or not and information of the name of a module to recover. At the time of the failure of delivery, a server-side operation setting file judging means 18 judges whether to recover or not corresponding to the delivered software. When the software is judged to recover, a software recovery instructing means 15 is executed. Thereby the client machine 2 executes a software recovering means 16 to copy all the modules of the software of the old version in an original space on a disk to return the software into the original state before delivery.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、サーバマシンに
接続された複数のクライアントマシンからなるネットワ
ークシステムにおいて、サーバマシンからクライアント
マシンへのソフトウェアの配布システム及び配布方法に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a software distribution system and method for distributing software from a server machine to a client machine in a network system including a plurality of client machines connected to the server machine.

【0002】[0002]

【従来の技術】一般に、ネットワーク環境に複数のマシ
ンがある環境における、ソフトウェア配布方式に関して
は、ソフトウェアのバージョンが改変されたとき、各マ
シンごとに手作業で旧バージョンのソフトウェアを新バ
ージョンのソフトウエアに入れ換えるのでは効率が悪い
ので、サーバマシンから各クライアントマシンへ一斉に
新バージョンのソフトウエアを配布するダウンロードが
行われている。このようなソフトウェア配布システムの
一例として、特開平4ー359345に記載されたシス
テムがある。図11は、そのシステム構成を示す図であ
り、図において1はホスト・コンピュータであり、サー
バマシンに相当するものである。2は端末であり、クラ
イアント・マシンに相当するものである。22はLANケ
ーブルであり、両者を接続する役目をする。6はソフト
ウェア送信手段であり、配付する新バージョンのソフト
ウェアを端末2に送信する役目をする。端末2側にはソ
フトウェア受信手段7があり、送信されたソフトウェア
を受信して格納する役目をする。3はディスク装置であ
り、ホスト・コンピュータ1側には配布対象ソフトウェ
ア4が格納されており、端末2側には送信されたソフト
ウェアが格納される他、各端末2においてソフトウェア
のバージョンを管理するための端末ソフト管理テーブル
76が格納されており、それぞれの端末にある管理テーブ
ル更新手段77によりテーブルの内容が更新される。更新
後の内容は、ホスト・コンピュータ1に送信され、ホス
ト・コンピュータ1側にある端末ソフト管理テーブル76
も更新される。
2. Description of the Related Art Generally, regarding a software distribution method in an environment where there are a plurality of machines in a network environment, when the version of the software is modified, the old version of the software is manually replaced by the new version of the software for each machine. Since it is inefficient to replace it with, the download is being performed to distribute the new version of the software from the server machine to each client machine all at once. An example of such a software distribution system is the system described in Japanese Patent Laid-Open No. 4-359345. FIG. 11 is a diagram showing the system configuration, in which 1 is a host computer, which corresponds to a server machine. Reference numeral 2 is a terminal, which corresponds to a client machine. A LAN cable 22 serves to connect the two. Reference numeral 6 denotes a software transmitting means, which serves to transmit the new version of software to be distributed to the terminal 2. On the terminal 2 side, there is software receiving means 7, which serves to receive and store the transmitted software. A disk device 3 stores distribution target software 4 on the host computer 1 side, the transmitted software is stored on the terminal 2 side, and manages the version of the software on each terminal 2. Terminal software management table
76 is stored, and the contents of the table are updated by the management table updating means 77 in each terminal. The updated contents are transmitted to the host computer 1, and the terminal software management table 76 on the host computer 1 side is displayed.
Is also updated.

【0003】次に動作について説明する。ホスト・コン
ピュータ1から配布対象ソフトウェア4が指定され、ソ
フトウェア送信手段6により各端末2に送信される。各
端末2では、ソフトウェア受信手段7により受信すると
共にディスク装置3に格納する。格納後、ソフトウェア
受信手段7から信号を受けて管理テーブル更新手段77は
端末ソフト管理テーブル76上の該当するソフトウェアの
バージョンを更新する。この更新結果はホスト・コンピ
ュータ1に送信され、ホスト・コンピュータ1側の端末
ソフト管理テーブル76も更新される。ここで、分散処理
環境下の実際のシステムにおいては、一部のホストに対
するソフトウェア配布の失敗、もしくは、一部アプリケ
ーションのソフトウェア配布処理の失敗が、システム全
体の動作に悪影響を及ぼすこともある。また、システム
稼働中にソフトウェア配布を行なうような場合、ソフト
ウェア配布作業そのものに多くの時間を割り当てられな
いことも考えられ、その場合、ソフトウェア配布に失敗
した際のシステム復旧を早急に行なう必要がある。
Next, the operation will be described. The distribution target software 4 is designated by the host computer 1, and is transmitted to each terminal 2 by the software transmitting means 6. At each terminal 2, it is received by the software receiving means 7 and stored in the disk device 3. After storing, upon receiving a signal from the software receiving means 7, the management table updating means 77 updates the corresponding software version on the terminal software management table 76. This update result is transmitted to the host computer 1, and the terminal software management table 76 on the host computer 1 side is also updated. Here, in an actual system under a distributed processing environment, failure of software distribution to some hosts or failure of software distribution processing of some applications may adversely affect the operation of the entire system. In addition, when software is distributed while the system is operating, it may not be possible to allocate a lot of time to the software distribution itself. In that case, it is necessary to immediately recover the system when the software distribution fails. .

【0004】[0004]

【発明が解決しようとする課題】従来のソフトウェア配
布システムは上記のように構成されているので、ソフト
ウェアの配布に失敗した場合は、ホスト・コンピュータ
1側の端末ソフト管理テーブル76により配布に失敗した
端末に再送することも考えられるが、ネットワーク上の
回線等のトラブルの場合は再度失敗することも考えら
れ、全ての端末で稼働しているソフトウェアのバージョ
ンが一致しないという事態を招くおそれがある。また、
ソフトウェアのバージョンを一致させるためにホスト・
コンピュータ1から旧バージョンのソフトウェアを送信
して全ての端末のソフトウェアを旧バージョンに戻すこ
とも考えられるが、やはり、ネットワーク上の回線等の
トラブルの場合は、再度失敗することも考えられ、全て
の端末で稼働しているソフトウェアのバージョンが一致
しなくなるという問題点があった。また、ソフトウェア
配布に失敗した端末2の台数が端末全体の台数と比較し
て少ない場合、全端末に配布したソフトウェアを旧バー
ジョンに戻す必要がない場合もあり、画一的な方法では
システムの要求に応じた柔軟な対応ができないという問
題点もあった。さらに、ソフトウェア配布に失敗したソ
フトウェアが、実際にはシステムの動作に影響を与えな
い、もしくは、限定された影響を与えるだけであること
がわかる場合、ソフトウェア配布失敗後に全ソフトウェ
アを旧バージョンに戻す必要はなく、画一的な方法では
システムの要求に応じた柔軟な対応ができないという問
題点もあった。さらにまた、ホスト・コンピュータ1か
ら送信された旧バージョンのソフトウェアの受信に端末
側で成功したとしても、端末2が配布対象のソフトウェ
アを使用中の場合とか処理の都合上により、しばらくの
間旧バージョンのソフトウェアを使用したい場合には対
応できないという問題点もあった。
Since the conventional software distribution system is configured as described above, when the software distribution fails, the distribution fails due to the terminal software management table 76 on the host computer 1 side. Although it may be retransmitted to the terminals, it may fail again in the case of a trouble such as a line on the network, which may cause a situation in which the versions of software running on all the terminals do not match. Also,
Host to match software version
It is possible to send the software of the old version from the computer 1 to restore the software of all terminals to the old version, but again, in the case of a trouble such as a line on the network, it may fail again, and There was a problem that the versions of the software running on the terminals would not match. Further, when the number of terminals 2 that failed in software distribution is smaller than the number of terminals as a whole, it may not be necessary to restore the software distributed to all terminals to the old version. There was also a problem that it was not possible to respond flexibly according to. Furthermore, if you find that the software that failed in software distribution does not actually affect the operation of the system, or only has a limited effect, you need to restore all the software to the old version after the software distribution fails. However, there is also a problem that it is not possible to flexibly respond to system requirements with a uniform method. Furthermore, even if the terminal side succeeds in receiving the old version of the software transmitted from the host computer 1, the old version may remain for a while due to the case where the terminal 2 is using the software to be distributed or due to the processing. There was also a problem that we could not deal with it if we wanted to use this software.

【0005】この発明は、上記のような問題点を解消す
るためになされたもので、サーバマシンからクライアン
トマシンへの配布に失敗した場合でも、全てのクライア
ントマシンにおいて同一のソフトウェアを使用できるよ
うに即時に復旧可能とすることを目的とする。また、第
2の目的は、ソフトウェアの配布が、全てのクライアン
トマシン又は全てのソフトウェアに対して成功せず、配
布結果が不完全な形態を採ったとしても、システムの要
求に応じた柔軟な対応をとることができることを目的と
する。さらに、第3の目的は、サーバマシンからクライ
アントマシンへの配布に成功した場合でも、クライアン
トマシン側の都合により、新バージョンのソフトウェア
を即時に旧バージョンのソフトウェアと入れ換えるか所
定時間経過後に入れ換えるかをクライアントマシンにお
いて選択できることを目的とする。
The present invention has been made in order to solve the above-mentioned problems. Even if the distribution from the server machine to the client machines fails, the same software can be used in all the client machines. The purpose is to enable immediate recovery. The second purpose is that the software distribution does not succeed for all client machines or all the software, and even if the distribution result is incomplete, it is possible to flexibly respond to the system request. The purpose is to be able to take. Further, a third purpose is to decide whether to replace the software of the new version with the software of the old version immediately or after a lapse of a predetermined time depending on the convenience of the client machine even when the distribution from the server machine to the client machine is successful. The purpose is to be selectable on the client machine.

【0006】[0006]

【課題を解決するための手段】この発明に係るソフトウ
ェア配布システム及び方法は、サーバマシンに接続され
た複数のクライアントマシンからなるネットワークシス
テムにおいて、上記サーバマシンから送信された配布リ
スト上の配布対象ソフトウェアの旧バージョンを上記ク
ライアントマシンにおいて保存するソフトウェア保存手
段、上記サーバマシンから上記クライアントマシンに新
バージョンのソフトウェアを送信するソフトウェア送信
手段、送信されたソフトウェアを上記クライアントマシ
ンにおいて受信するソフトウェア受信手段、受信の成功
または失敗を上記サーバマシンへ通知する配布結果通知
手段、この通知された配布結果により各クライアントマ
シンに対する配布が成功したか失敗したかを判断する配
布結果判断手段、この手段により少なくとも1台のクラ
イアントマシンにおいて配布が失敗したと判断された場
合に上記サーバマシンから全てのクライアントマシンに
対して配布済の新バージョンのソフトウェアを配布前の
旧バージョンのソフトウェアと入れ換えるように命令す
るソフトウェア回復命令手段、このソフトウェア回復命
令を受けたとき上記ソフトウェア保存手段により保存し
ておいた旧バージョンのソフトウェアを元の状態に戻す
ソフトウェア回復手段からなるものである。
DISCLOSURE OF THE INVENTION A software distribution system and method according to the present invention is a network system including a plurality of client machines connected to a server machine, and the distribution target software on the distribution list transmitted from the server machine. Software storing means for storing the old version of the above in the client machine, software transmitting means for transmitting the new version of software from the server machine to the client machine, software receiving means for receiving the transmitted software in the client machine, Distribution result notifying means for notifying the server machine of success or failure, distribution result judging means for judging whether the distribution to each client machine has succeeded or failed based on the notified distribution result, If it is determined that the distribution has failed in at least one client machine by the method of above, the new version software already distributed from the server machine to all the client machines is replaced with the old version software before distribution. The software recovery command means for instructing, and the software recovery means for returning the software of the old version stored by the software storage means to the original state when the software recovery instruction is received.

【0007】また、サーバマシンから送信された配布リ
スト上の配布対象ソフトウェアの旧バージョンをクライ
アントマシンにおいて保存するステップ、上記サーバマ
シンから上記クライアントマシンに新バージョンのソフ
トウェアを送信するステップ、送信されたソフトウェア
を上記クライアントマシンにおいて受信するステップ、
受信の成功または失敗を上記サーバマシンへ通知するス
テップ、この通知された配布結果により各クライアント
マシンに対する配布が成功したか失敗したかを判断する
ステップ、この判断結果により少なくとも1台のクライ
アントマシンにおいて配布が失敗したと判断された場合
に上記サーバマシンから全てのクライアントマシンに対
して配布済の新バージョンのソフトウェアを配布前の旧
バージョンのソフトウェアと入れ換えるように命令する
ステップ、この命令を受けたとき又は上記受信に失敗し
たとき保存しておいた旧バージョンのソフトウェアを元
の状態に戻すステップからなるものである。
[0007] Further, a step of storing the old version of the distribution target software on the distribution list transmitted from the server machine in the client machine, a step of transmitting the new version of the software from the server machine to the client machine, the transmitted software Receiving at the client machine,
The step of notifying the server machine of the success or failure of the reception, the step of judging whether the distribution to each client machine has succeeded or failed based on the notified distribution result, and the distribution in at least one client machine according to this judgment result When it is determined that the above has failed, a step for instructing all client machines to replace the distributed new version software with the old version software before distribution, when this command is received, or It comprises a step of restoring the stored old version of the software to the original state when the reception fails.

【0008】さらに、サーバマシンにおいて、各クライ
アントマシンに対する新バージョンのソフトウェアの配
布が失敗したと判断したとき、配布に失敗したクライア
ントマシンの台数の全体のクライアントマシンの台数に
占める割合により、全てのクライアントマシンに対して
配布済の新バージョンのソフトウェアを配布前の旧バー
ジョンのソフトウェアと入れ換えるように命令するか否
かを決定するものである。
Further, when the server machine determines that the distribution of the new version of the software to each client machine has failed, all the clients are determined according to the ratio of the number of client machines that failed in distribution to the total number of client machines. It decides whether or not to instruct the machine to replace the distributed new version software with the pre-distributed old version software.

【0009】また、クライアントマシンに送信された新
バージョンのソフトウェアについて、旧バージョンのソ
フトウェアと入れ換えるか否かの決定をソフトウェアご
とに設定できるものである。
Further, it is possible to set, for each software, a decision as to whether or not the new version of the software sent to the client machine should be replaced with the old version of the software.

【0010】さらにまた、サーバマシンから複数のクラ
イアントマシンに新バージョンのソフトウェアを送信す
るステップ、送信されたソフトウェアを上記クライアン
トマシンにおいて受信するステップ、受信した新バージ
ョンのソフトウェアを即時に旧バージョンのソフトウェ
アと入れ換えるか所定時間経過後に入れ換えるかを各ク
ライアントマシンにおいて選択できるものである。
Furthermore, the step of transmitting the new version of the software from the server machine to the plurality of client machines, the step of receiving the transmitted software in the client machine, and the received new version of the software immediately becoming the old version of the software. In each client machine, it is possible to select the replacement or the replacement after a lapse of a predetermined time.

【0011】また、サーバマシンから複数のクライアン
トマシンに新バージョンのソフトウェアを送信後予め設
定した時間が経過したとき、上記サーバマシンから全て
のクライアントマシンに対して新バージョンのソフトウ
ェアを旧バージョンのソフトウェアと入れ換える命令を
送信するものである。
When a preset time elapses after the new version software is transmitted from the server machine to the plurality of client machines, the new version software is replaced with the old version software from the server machine to all the client machines. The command to exchange is transmitted.

【0012】さらに、クライアントに送信された新バー
ジョンのソフトウェアについて、旧バージョンのソフト
ウェアと入れ換える時期をソフトウェアごとに設定でき
るものである。
Further, it is possible to set the time for replacing the new version software sent to the client with the old version software for each software.

【0013】また、サーバマシンから送信される新バー
ジョンソフトウェアの旧バージョンのソフトウェアをク
ライアントマシンにおいて保存するか否かを選択できる
ものである。
Further, it is possible to select whether or not to save the old version software of the new version software transmitted from the server machine in the client machine.

【0014】[0014]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.図1はこの発明の一実施形態であるソフ
トウェア配布システムを示すもので、図において、1は
サーバマシンで配布リストに基づいて新バージョンのソ
フトウエアを送信する役目をする。2はクライアントマ
シンでサーバマシン1から送信されたソフトウエアを受
信し利用できるように配備する役目をする。3はディス
ク装置で、サーバマシン1に接続されたディスク装置3
では主として配布対象ソフトウェア、クライアントマシ
ン2に接続されたディスク装置3では主として受信した
ソフトウェア5がそれぞれ格納されている。6はサーバ
マシン1から同時に複数台のクライアントマシン2に新
バージョンのソフトウェアを送信するソフトウェア送信
手段で、送信するデータの先頭には、配布リストがあ
り、配布リスト中には今回配布するソフトウェアの一覧
表が格納されている。7は配布されたソフトウェアをク
ライアントマシンにおいて受信するソフトウェア受信手
段、8は上記配布リストをチェックし配布対象ソフトウ
ェアの旧バージョンをディスク内の別のスペースに保存
するソフトウェア保存手段である。9は送信のために複
数のソフトウェアがパッケージングされており、そのま
まではシステム上利用できないので、上記ソフトウェア
受信手段により受信した後、複数のソフトウェアを分割
してディスク装置3の所定のディスクスペースに展開す
るソフトウェア展開手段である。10はクライアントマシ
ン2において配布の成功又は失敗をサーバマシン1へ通
知する配布結果通知手段、11はサーバマシン1において
クライアントマシン2からの配布結果通知を受信し状態
記録ファイル12に記録する配布結果受信手段、配布が成
功か否かを失敗したクライアントマシン2の台数の全体
の台数に占める比率である判断基準を有する配布結果判
断基準ファイル13の情報と上記状態記録ファイル12の情
報とでクライアントマシン2に対する配布が成功したか
否かを判断する配布結果判断手段14である。15は配布結
果判断手段14により配布が失敗だと判断された場合にサ
ーバマシン1から全てのクライアントマシン2に対して
ソフトウェアを配布前の元の状態に戻すよう命令するソ
フトウェア回復命令手段、16はソフトウェア回復命令を
受けたとき、予めソフトウェア保存手段8によって保存
しておいた旧バージョンのソフトウェアを所定のディス
クスペースに移動することによってソフトウェアを配布
前の元の状態に戻すソフトウェア回復手段である。
Embodiment 1 FIG. FIG. 1 shows a software distribution system according to an embodiment of the present invention. In the figure, 1 serves to transmit a new version of software based on a distribution list in a server machine. Reference numeral 2 is a client machine that receives software transmitted from the server machine 1 and deploys the software so that it can be used. A disk device 3 is a disk device 3 connected to the server machine 1.
Mainly stores the software to be distributed, and the disk device 3 connected to the client machine 2 mainly stores the received software 5. Reference numeral 6 denotes a software transmitting means for transmitting a new version of software from the server machine 1 to a plurality of client machines 2 at the same time. The data to be transmitted has a distribution list at the beginning, and the distribution list includes a list of software to be distributed this time. The table is stored. Reference numeral 7 is a software receiving means for receiving the distributed software in the client machine, and 8 is a software storing means for checking the distribution list and storing the old version of the software to be distributed in another space in the disk. Since a plurality of software 9 are packaged for transmission and cannot be used in the system as they are, the plurality of software 9 are divided by the software receiving means and expanded into a predetermined disk space of the disk device 3 after being received by the software receiving means. It is a software deployment means for performing. 10 is a distribution result notifying means for notifying the server machine 1 of the success or failure of the distribution in the client machine 2, 11 is a distribution result reception for receiving the distribution result notification from the client machine 2 in the server machine 1 and recording it in the status recording file 12. Means, the client machine 2 with the information of the distribution result judgment reference file 13 and the information of the status recording file 12 having a judgment criterion that is a ratio of the number of client machines 2 that have failed in distribution to the total number of machines. Is a distribution result judging means 14 for judging whether or not the distribution has been successful. Reference numeral 15 denotes software recovery instruction means for instructing all client machines 2 from the server machine 1 to return the software to the original state before distribution when the distribution result determination means 14 determines that the distribution has failed, and 16 indicates When a software recovery command is received, the software recovery means restores the software to the original state before distribution by moving the old version of the software stored in advance by the software storage means 8 to a predetermined disk space.

【0015】サーバマシン1側のディスク装置3に設定
されているサーバ側動作設定ファイル17には、図2に示
す通り、software name(ソフトウェア
名)、recover(回復するか否か)、modul
e list(回復するモジュール名)の情報を記述す
る。配布に失敗した場合、サーバ側動作設定ファイル判
断手段18により、配布されたソフトウェアによって、回
復するか否かを判断し、ソフトウェアを回復すると判断
された場合には、ソフトウェア回復命令手段15を実行
し、それによりクライアントマシン2ではソフトウェア
回復手段16を実行し、旧バージョンのソフトウェアの全
モジュールをディスク上の元のスペースにコピーし、ソ
フトウェアを配布前の元の状態に戻す。一方、19はクラ
イアント側動作設定ファイルで、図3に示すようにこの
ファイルには、software(ソフトウェア名)、
immediately(即時に更新するか否か)、s
avemodule(更新時に旧バージョンのソフトウ
ェアの保存を行なうか否か)、module list
(更新するモジュール名)の情報を記述する。図3のよ
うに、(ソフトウェア名)としてALL、(即時に更新
するか否か)についてはyと記述しておけば、このクラ
イアントマシン2がソフトウェアを受信した時、ソフト
ウェア展開手段9により即時に配布されたソフトウェア
を展開し、新バージョンに更新する。(即時に更新する
か否か)についてnと記述しておいた場合は所定時間経
過後にクライアント側動作設定ファイル19らの信号によ
り、ソフトウェア展開手段9が働き配布されたソフトウ
ェアを展開し、新バージョンに更新する。さらには、シ
ステム管理上、別途に予め設定した時間が経過した場合
は、サーバマシン1内のソフトウェア展開命令手段21に
より強制的に全てのクライアントマシン2に配布された
ソフトウェアが展開される。なお、22はサーバマシン1
とクライアントマシン2とを接続するLANであり、ク
ライアントマシン2は通常数台から数十台接続される。
As shown in FIG. 2, the server side operation setting file 17 set in the disk device 3 on the server machine 1 side includes software name (software name), recover (whether or not to recover), and modul.
Describe the information of e list (name of module to be recovered). If the distribution is unsuccessful, the server side operation setting file judging means 18 judges whether or not the software is to be recovered depending on the distributed software, and if it is judged that the software is recovered, the software recovery instruction means 15 is executed. As a result, the client machine 2 executes the software recovery means 16, copies all the modules of the software of the old version to the original space on the disk, and restores the software to the original state before distribution. On the other hand, 19 is an operation setting file on the client side. As shown in FIG. 3, this file contains software (software name),
immediately (whether or not to immediately update), s
avemodule (whether to save the old version of software when updating), module list
Describe the information of (module name to be updated). As shown in FIG. 3, if ALL is described as (software name) and y is described as to (whether or not to immediately update), when this client machine 2 receives software, the software expanding means 9 immediately Unpack the distributed software and update to the new version. When (whether or not to immediately update) is described as n, after a predetermined time elapses, the software of the client side operation setting file 19 causes the software expanding means 9 to expand the distributed software to develop a new version. To update. Further, in the case of system management, when a separately preset time has elapsed, the software deployment instruction means 21 in the server machine 1 forcibly deploys the software distributed to all the client machines 2. 22 is the server machine 1
Is a LAN for connecting the client machine 2 to the client machine 2, and usually several to several tens of client machines 2 are connected.

【0016】次に動作について説明する。図4は、上記
ソフトウェア配布システムの動作の一実施形態を示すも
ので、まず、ソフトウェア送信手段6を実行することに
より、サーバマシン1からネットワークシステム内の全
クライアントマシン2にソフトウェアをパッケージング
したものを送信し(ステップ23)、各クライアントマシ
ン2はそのソフトウェアをソフトウェア受信手段7によ
り受信する(ステップ24)。ソフトウェア受信手段7の
コマンドの終了コードにより、ソフトウェア受信手段7
が成功したかどうかを判断し(ステップ25)、ソフトウ
ェアの受信に成功した場合には、配布された新バージョ
ンのソフトウェアをディスク装置3上にコピーして保存
する(ステップ26)。次に、受信したソフトウェアと同
じソフトウェアがディスク装置3上に存在する場合に
は、現在ディスク装置3上にある旧バージョンのソフト
ウェアを、ソフトウェア保存手段8により、ディスク装
置3上の他のスペースにコピーして保存する(ステップ
27)。ソフトウェアの受信に失敗した場合には、ソフト
ウェア配布結果通知に「失敗」をセットする(ステップ
28)。次に、各クライアントマシン2では、それぞれソ
フトウェア展開手段9を実行し、パッケージングされて
いた新バージョンのソフトウェアを展開する(ステップ
29)。ソフトウェアの展開に成功した場合には(ステッ
プ30)、ソフトウェア配布結果通知に「成功」をセット
し(ステップ31)、失敗した場合には配布結果通知に
「失敗」をセットする(ステップ28)。その後、各クラ
イアントマシン2はサーバマシン1へ配布結果を配布結
果通知手段10により送信する(ステップ32)。配布結果
通知の内容を図5に示す。result(配布結果)は
OKの場合の一例である。サーバマシン1は、クライア
ントマシン2からの配布結果通知を配布結果受信手段11
により受信し(ステップ33)、配布結果を図6に示す状
態記録ファイル12へ記録する(ステップ34)。状態記録
ファイル12は配布ソフトウェアごとに作成される。全て
のクライアントマシン2からの配布結果通知の受信が完
了すると(ステップ35)、サーバマシン1では、配布結
果判断手段14により状態記録ファイル12の内容を解析し
(ステップ36)、1台でも配布に失敗したクライアント
マシン2が存在すると判断したら、ソフトウェア回復命
令手段15により全てのクライアントマシン2にソフトウ
ェアの回復を命令する(ステップ37)。全てのクライア
ントマシン2における配布に成功した場合は、そのまま
終了する。
Next, the operation will be described. FIG. 4 shows an embodiment of the operation of the software distribution system. First, by executing the software transmission means 6, the software is packaged from the server machine 1 to all client machines 2 in the network system. Is transmitted (step 23), and each client machine 2 receives the software by the software receiving means 7 (step 24). Depending on the command end code of the software receiving means 7, the software receiving means 7
Is succeeded (step 25), and if the software is successfully received, the distributed new version of the software is copied and stored on the disk device 3 (step 26). Next, when the same software as the received software exists on the disk device 3, the old version software currently on the disk device 3 is copied to another space on the disk device 3 by the software storage unit 8. And save (step
27). If the software reception fails, set "failure" in the software distribution result notification (step
28). Next, each client machine 2 executes the software expanding means 9 to expand the packaged new version of the software (step
29). If the software deployment is successful (step 30), the software distribution result notification is set to "success" (step 31), and if the software distribution is unsuccessful, the distribution result notification is set to "failure" (step 28). Then, each client machine 2 transmits the distribution result to the server machine 1 by the distribution result notifying means 10 (step 32). The contents of the distribution result notification are shown in FIG. The result (distribution result) is an example in the case of OK. The server machine 1 receives the distribution result notification from the client machine 2 by the distribution result receiving means 11
Is received (step 33) and the distribution result is recorded in the status recording file 12 shown in FIG. 6 (step 34). The state recording file 12 is created for each distributed software. When the reception of the distribution result notifications from all the client machines 2 is completed (step 35), in the server machine 1, the contents of the state recording file 12 are analyzed by the distribution result judging means 14 (step 36), and even one machine can be distributed. If it is determined that there is a failed client machine 2, the software recovery command means 15 commands all client machines 2 to recover the software (step 37). When the distribution is successful in all the client machines 2, the process ends as it is.

【0017】ステップ35において、全てのクライアント
マシン2からの配布結果を受信していない状態であって
も、ステップ38において、新バージョンソフトウェアを
送信(ステップ23)してからの経過時間を計測し、所定
時間経過後はネットワーク上のトラブルにより配布結果
が受信不可能と判断し、受信不可能のクライアントマシ
ン2におけるソフトウェアの配布自体も「失敗」と推定
し、ソフトウェア回復命令手段15により全てのクライア
ントマシン2にソフトウェアの回復を命令する(ステッ
プ39)。ソフトウェア回復命令を受信(ステップ40)し
た各クライアントマシン2では、ソフトウェア回復手段
16により、ステップ27で保存しておいた旧のバージョン
のソフトウェアをディスク装置3上の元のスペースにコ
ピーし、ソフトウェアを配布前の元の状態に戻す(ステ
ップ41)。
In step 35, even if the distribution results from all the client machines 2 are not received, in step 38, the elapsed time from the transmission of the new version software (step 23) is measured, After the lapse of a predetermined time, it is determined that the distribution result cannot be received due to a trouble on the network, and the software distribution itself in the client machine 2 that cannot receive is also presumed to be “failed”. 2 is instructed to recover the software (step 39). In each client machine 2 that has received the software recovery command (step 40), the software recovery means
According to 16, the old version of the software saved in step 27 is copied to the original space on the disk device 3, and the software is returned to the original state before distribution (step 41).

【0018】このように、ネットワークシステム内のク
ライアントマシン2の中に1台でも配布に失敗したマシ
ンが存在する場合、全てのクライアントマシン2の当該
ソフトウェアを強制的に配布前のバージョンに戻すの
で、ネットワークシステム内の全てのクライアントマシ
ン2で同じバージョンのソフトウェアが動作することに
なるので、常に同一のバージョンのソフトウェアが動作
することを厳しく求められているシステムにおいては、
旧バージョンに戻す応急処置は必須であり、高い効果を
有する。配布前の状態に戻した後、配布結果で「失敗」
の通知があったもの、又は配布結果通知そのものが受信
できなかったクライアントマシン2についてはその失敗
の原因を除去した後、再度ステップ23からスタートし、
サーバ1から各クライアントマシン2に対して新バージ
ョンのソフトウェアを送信する。
In this way, if any one of the client machines 2 in the network system has failed to be distributed, the software of all client machines 2 is forcibly returned to the version before distribution. Since the same version of software operates on all client machines 2 in the network system, in a system where it is strictly required that the same version of software always operates,
First aid to revert to the old version is essential and highly effective. After returning to the state before distribution, the distribution result is "Failed"
For the client machine 2 for which the notification of the above was received or the distribution result notification itself could not be received, after removing the cause of the failure, start from step 23 again,
A new version of software is transmitted from the server 1 to each client machine 2.

【0019】実施の形態2.上記実施の形態1において
は、全てのソフトウエアに対して一律に取り扱っていた
が、ソフトウエアの種類によっては必ず新バージョンで
なければ対応できないものもあり、又逆に旧バージョン
でも当面支障なく使用できるものもある。ソフトウエア
の重要度の軽重により取り扱いを変えた方が効果的な場
合もある。上記のような方法として、図1に示すシステ
ムの動作の一実施形態として図7の方法がある。図7は
主要部のみ記載してある。サーバマシン1からのソフト
ウェア配布の際に、ネットワークシステム内に1台でも
配布に失敗したクライアントマシンが存在した場合、サ
ーバ側動作設定ファイル判断手段18によりサーバ側動作
設定ファイル17の内容を解析する。サーバ側動作設定フ
ァイル17の一例としての図2に示すように、サーバ側動
作設定ファイル17に、ソフトウェア名のリスト、それぞ
れのソフトウェアを回復するか否かについてy又はnを
記述しておけば、図7のフローチャートに示すように、
配布に失敗した時、サーバ側動作設定ファイル判断手段
18により、配布されたソフトウェアによって、回復する
か否かを判断し(ステップ42)、ソフトウェアを回復す
ると判断された場合には、ソフトウェア回復命令手段15
を実行し(ステップ43)、それによりクライアントマシ
ン2ではソフトウェア回復手段16を実行し(ステップ4
4)、旧バージョンのソフトウェアの全モジュールをデ
ィスク上の元のスペースにコピーし、ソフトウェアを配
布前の元の状態に戻す(ステップ45)。
Embodiment 2. In the first embodiment, all the software is handled uniformly, but depending on the type of software, there are some that can only be supported by the new version, and conversely, the old version can be used without any problem for the time being. Some can be done. It may be more effective to change the handling depending on the importance of software. As the above method, there is a method shown in FIG. 7 as one embodiment of the operation of the system shown in FIG. FIG. 7 shows only the main part. At the time of software distribution from the server machine 1, if at least one client machine fails to be distributed in the network system, the server-side operation setting file determining means 18 analyzes the contents of the server-side operation setting file 17. As shown in FIG. 2 as an example of the server side operation setting file 17, if the server side operation setting file 17 describes a list of software names and y or n indicating whether or not to restore each software, As shown in the flow chart of FIG.
When distribution fails, the operation setting file judgment means on the server side
It is determined by the distributed software whether the software is recovered (step 42), and if it is determined that the software is recovered, the software recovery instruction means 15 is executed.
(Step 43), which causes the client machine 2 to execute the software recovery means 16 (Step 4).
4) Copy all modules of the old version of software to the original space on the disk and restore the software to its original state before distribution (step 45).

【0020】さらに、大容量のソフトウェアの場合に
は、モジュール単位で取り扱いを変えた方が効率的な場
合があり、図1に示すシステムの動作の一実施形態とし
て図8の方法がある。図8は主要部のみ記載してある。
サーバ側動作設定ファイル17の一例としての図2に示す
ように、サーバ側動作設定ファイル17に、ソフトウェア
名及びそれぞれのソフトウェアを構成するモジュール名
のリスト、それらのモジュールを回復するか否かについ
てy又はnを記述しておけば、図8のフローチャートに
示すように、配布に失敗した時、サーバ側動作設定ファ
イル判断手段18により、配布されたソフトウェアによっ
て、回復するか否かを判断し(ステップ46)、ソフトウ
ェアを回復すると判断された場合には、サーバ側動作設
定ファイル17に回復するモジュールとしてとして記述さ
れているモジュール名をソフトウェア回復命令にセット
し(ステップ47)、ソフトウェア回復命令手段15を実行
し(ステップ48)、それによりクライアントマシン2で
はソフトウェア回復手段16を実行し(ステップ49)、旧
バージョンのソフトウェアの全モジュールをディスク上
の元のスペースにコピーし、ソフトウェアを配布前の元
の状態に戻す(ステップ50)。上記の様に、配布に失敗
したときの動作を各ソフトウェアごと、各モジュールご
とに設定することができるので、ネットワークシステム
内に1台でも配布に失敗したクライアントマシンが存在
した場合、新バージョンによる影響が強いもののみを残
して他のソフトウェア、モジュールを旧バージョンに戻
すことにより、不完全な状態であっても迅速に復旧が可
能となり、配布に失敗したクライアントマシンと配布に
成功したクライアントマシンでの処理の格差を少なくす
ることができる。
Further, in the case of large-capacity software, it may be more efficient to change the handling for each module, and there is the method of FIG. 8 as one embodiment of the operation of the system shown in FIG. FIG. 8 shows only the main part.
As shown in FIG. 2 as an example of the server side operation setting file 17, in the server side operation setting file 17, a list of software names and module names constituting each software, and whether or not to recover those modules y Alternatively, if n is described, as shown in the flowchart of FIG. 8, when the distribution fails, the server side operation setting file judgment means 18 judges whether or not the software is recovered (step 46) If it is determined to restore the software, the module name described as the module to be restored in the server side operation setting file 17 is set in the software restoration instruction (step 47), and the software restoration instruction means 15 is set. Execute (step 48), which causes the client machine 2 to recover the software. Run 16 (step 49), copy all modules of the old version of the software to the original space on the disk, and restore the software to its original state before distribution (step 50). As described above, the behavior when distribution fails can be set for each software and each module, so if there is any client machine that failed distribution in the network system, the effect of the new version However, by restoring the other software and modules to the old version, leaving only the strong ones, it is possible to recover quickly even in the incomplete state. The processing gap can be reduced.

【0021】実施の形態3.上記実施の形態1及び実施
の形態2においては、1台でも配布に失敗したクライア
ントマシンがあるか否かによって復旧のための処理を実
施していたが、クライアントマシンが数十台あるいは数
百台の多数の台数がネットワークに接続されている場合
には、ソフトウエアの配布に失敗したクライアントマシ
ンの台数により、復旧するか否かを決めた方がシステム
全体にとっては効果的な場合がある。上記のような方法
として、図1に示すシステムの動作の一実施形態として
図9のフローチャートに示す方法がある。この方法は、
実施形態1における図4のステップ36の「1台でも配布
に失敗したクライアントマシンがあるか?」という文を
「配布に失敗したクライアントマシンの台数は許容範囲
外か?」という文に差し替え、一部処理フローを変更し
たものである。配布開始前に、予めサーバマシン1の配
布結果判断基準ファイル13に全クライアントマシン1の
内の何パーセントの台数への配布が成功した場合に配布
が成功であったと判断するかの許容範囲をパーセンテー
ジの数値で記述しておく。サーバマシン1は、クライア
ントマシン2からの配布結果通知を配布結果受信手段11
により受信し(ステップ51)、状態記録ファイル12へ記
録する(ステップ52)。全クライアントマシンからの配
布結果通知の受信が完了する(ステップ53)か、又は所
定時間が経過(ステップ54)したときは、配布結果判断
手段14により配布結果判断基準ファイル13の内容と状態
記録ファイル12の内容を照合し(ステップ55)、配布に
失敗したクライアントマシンの台数の割合が配布結果判
断基準ファイル13に記述されている数値以上の場合に、
ソフトウェア回復命令手段15を実行する(ステップ5
6)。ソフトウェア回復命令を受信(ステップ57)した
各クライアントマシン2では、ソフトウェア回復手段16
により、予め保存しておいた旧バージョンのソフトウェ
アをディスク上の元のスペースにコピーし、ソフトウェ
アを配布前の元の状態に戻す(ステップ58)。ステップ
51で配布に失敗したクライアントマシン2の台数の割合
が配布結果判断基準ファイル13に記述されている数値未
満の場合にはそのまま終了する。上記のように、この方
法では配布失敗時の動作を配布に失敗したクライアント
マシン2の台数の割合によって決定し、配布に失敗した
クライアントマシン2の台数がシステムの許容範囲の場
合にはソフトウェア回復手段16を実行しないため、特に
クライアントマシン2の台数が多い場合には、システム
全体の効率を考えた柔軟性のある運用が可能であり、シ
ステムの運用目的に合わせて許容範囲を適宜設定するこ
とができる。なお、上記許容範囲を越えている場合であ
っても、ソフトウェアごとにソフトウェア回復手段16を
実行するか否かを設定することが可能であり、システム
の運用目的に合わせて対象ソフトウェアを設定すること
ができる。
Embodiment 3 In the first and second embodiments described above, the recovery process is performed depending on whether or not even one client machine has failed to be distributed. However, there are tens or hundreds of client machines. If a large number of client machines are connected to the network, it may be more effective for the entire system to decide whether or not to recover depending on the number of client machines that have failed to distribute the software. As the above method, there is a method shown in the flowchart of FIG. 9 as one embodiment of the operation of the system shown in FIG. This method
In step 36 of FIG. 4 in the first embodiment, the sentence “Is there any client machine that failed in distribution?” Is replaced with the sentence “Is the number of client machines that failed distribution outside the allowable range?” This is a modification of the partial processing flow. Before the distribution is started, the allowable range of whether the distribution result judgment standard file 13 of the server machine 1 is judged to be successful when the distribution to a certain number of all client machines 1 is successful is made in advance as a percentage. It is described by the numerical value of. The server machine 1 receives the distribution result notification from the client machine 2 by the distribution result receiving means 11
Is received (step 51) and recorded in the status recording file 12 (step 52). When reception of the distribution result notification from all client machines is completed (step 53) or when a predetermined time has elapsed (step 54), the contents of the distribution result judgment reference file 13 and the status record file are calculated by the distribution result judgment means 14. The contents of 12 are collated (step 55), and if the ratio of the number of client machines that failed distribution is greater than or equal to the value described in distribution result judgment standard file 13,
The software recovery command means 15 is executed (step 5
6). In each client machine 2 that has received the software recovery command (step 57), the software recovery means 16
Thus, the previously stored software of the old version is copied to the original space on the disk, and the software is returned to the original state before distribution (step 58). Steps
If the ratio of the number of client machines 2 that failed in distribution at 51 is less than the numerical value described in the distribution result judgment reference file 13, the process ends as it is. As described above, according to this method, the operation at the time of distribution failure is determined by the ratio of the number of client machines 2 that failed in distribution, and if the number of client machines 2 that failed in distribution is within the allowable range of the system, software recovery means is used. Since 16 is not executed, flexible operation is possible considering the efficiency of the entire system, especially when the number of client machines 2 is large, and the allowable range can be set appropriately according to the operation purpose of the system. it can. Even if the allowable range is exceeded, it is possible to set whether to execute the software recovery means 16 for each software, and set the target software according to the operation purpose of the system. You can

【0022】実施の形態4.以上述べてきた実施の形態
1〜実施の形態3は、サーバマシン主導型で、システム
全体としての効率を重視するあまり、クライアントマシ
ン側の事情を無視している。しかしながら、クライアン
トマシンの台数が少ない場合には、クライアントマシン
側の事情を考慮しつつシステム全体の効率を考えること
が必要である。この様な運用を実現するため、図1のシ
ステムの動作の一実施形態として図10のフローチャート
に示される方法がある。図10において、ソフトウェア送
信手段を実行することにより、サーバマシン1からネッ
トワークシステム内の全クライアントマシン2に新バー
ジョンの複数のソフトウェアをパッケージングしたもの
を送信し(ステップ59)、各クライアントマシン2はそ
のソフトウェアをソフトウェア受信手段7により受信す
る(ステップ60)と共に展開に失敗した場合の予備のた
め送信された新バージョンソフトウェアを保存する(ス
テップ61)。サーバマシン1からのソフトウェア受信の
際に、各クライアントマシン2はクライアント側動作設
定ファイル判断手段20によりクライアント側動作設定フ
ァイル19の内容を解析する(ステップ62)。図3に示す
クライアント側動作設定ファイル19には、「ソフトウェ
ア名」、「即時に更新するか否か」、「更新時に旧バー
ジョンのソフトウェア(モジュール)の保存を行なうか
否か」、「更新するモジュール名」の情報が格納されて
いる。ステップ56において即時に更新すると判定された
場合は、さらにクライアント側動作設定ファイル19の内
容を解析し(ステップ63)、更新時に旧バージョンのソ
フトウェア(モジュール)の保存を行なう場合には、旧
バージョンソフトウェアを保存(ステップ64)した後
に、保存を行なわない場合には直ちに、新バージョンソ
フトウェアを展開して旧バージョンのソフトウェアと入
れ換える(ステップ65)。ステップ62において即時に更
新しないと判定された場合は、ステップ66で、クライア
ント側動作設定ファイル19に設定されている「設定時
間」(図示せず)による所定時間が経過したか否かを判
定し、経過した場合は、さらにクライアント側動作設定
ファイル19の内容を解析し(ステップ67)、更新時に旧
バージョンのソフトウェア(モジュール)の保存を行な
う場合には、旧バージョンソフトウェアを保存(ステッ
プ68)した後に、保存を行なわない場合には直ちに、新
バージョンソフトウェアを展開して旧バージョンのソフ
トウェアと入れ換える(ステップ69)。ステップ66で、
クライアント側動作設定ファイル19に設定されている
「設定時間」による所定時間が経過してない場合に、サ
ーバマシン1においてステップ59の時点から予め設定し
た時間が経過した場合(ステップ70)には、サーバマシ
ン1から全てのクライアントマシン2にソフトウェア展
開命令を送信し(ステップ71)、各クライアントマシン
2では、ソフトウェア展開命令の受信(ステップ72)
後、更新時に旧バージョンのソフトウェア(モジュー
ル)の保存を行なう場合には(ステップ73)、旧バージ
ョンソフトウェアを保存(ステップ74)した後に、保存
を行なわない場合には直ちに、新バージョンソフトウェ
アを展開して旧バージョンのソフトウェアと入れ換える
(ステップ75)。
Embodiment 4 In the first to third embodiments described above, the server machine initiative type and the circumstances on the client machine side are ignored because the efficiency of the entire system is emphasized. However, when the number of client machines is small, it is necessary to consider the efficiency of the entire system while considering the circumstances on the client machine side. In order to realize such operation, there is a method shown in the flowchart of FIG. 10 as one embodiment of the operation of the system of FIG. In FIG. 10, by executing the software transmission means, the server machine 1 transmits the packaged version of a plurality of software to all the client machines 2 in the network system (step 59), and each client machine 2 The software is received by the software receiving means 7 (step 60), and the new version software transmitted is stored as a backup in case the expansion fails (step 61). When the software is received from the server machine 1, each client machine 2 analyzes the contents of the client side operation setting file 19 by the client side operation setting file judging means 20 (step 62). In the client-side operation setting file 19 shown in FIG. 3, "software name", "whether or not to immediately update", "whether or not to save the software (module) of the old version at the time of updating", and "update" Information of "module name" is stored. If it is determined in step 56 that the update is to be performed immediately, the contents of the client-side operation setting file 19 are further analyzed (step 63). If the old version software (module) is saved at the time of update, the old version software After saving (step 64), if the saving is not performed, the new version software is immediately developed and replaced with the old version software (step 65). When it is determined in step 62 that the update is not to be performed immediately, it is determined in step 66 whether or not a predetermined time according to the “set time” (not shown) set in the client-side operation setting file 19 has elapsed. If the time has passed, the contents of the client-side operation setting file 19 are further analyzed (step 67), and if the old version software (module) is saved at the time of updating, the old version software is saved (step 68). Later, if not saved, the new version software is immediately expanded and replaced with the old version software (step 69). In step 66,
When the predetermined time according to the “set time” set in the client side operation setting file 19 has not elapsed and the preset time has elapsed from the time of step 59 in the server machine 1 (step 70), The software development command is transmitted from the server machine 1 to all the client machines 2 (step 71), and each client machine 2 receives the software development command (step 72).
Later, if you want to save the software (module) of the old version when updating (step 73), save the software of the old version (step 74), and if you do not save it, immediately deploy the software of the new version. And replace the old version of the software (step 75).

【0023】上記の様にクライアントマシン側の事情に
より新バージョンのソフトウェアを展開する時刻を延期
することができるので、旧バージョンソフトウェアを使
用中でしばらく旧バージョンのままで処理を続行したい
場合、又定例処理の遅れのため旧バージョンでの処理デ
ータが未処理の場合等の事情に対応することができる。
さらに、サーバマシン1において、送信の時点から予め
設定した時間が経過した場合には、サーバマシン1から
全てのクライアントマシン2にソフトウェア展開命令を
送信するので、クライアントマシン側の事情を考慮しつ
つもシステム全体の効率を図ることが可能である。ま
た、クライアント側動作設定ファイル19は、ソフトウェ
アごとに動作を設定できるので、必要な新バージョンの
ソフトウェアのみについて展開して旧バージョンのソフ
トウェアと入れ換える時刻を延期することができ、処理
内容の簡潔化と共に目的に指向した処理を実現すること
ができる。さらに、旧バージョンのソフトウェアを保存
するか否かをソフトウェアごとに設定できるので、各ク
ライアントマシン2の事情により、自己のディスク装置
3に空き容量が少ない場合には、容量の比較的大きな旧
バージョンのソフトウェアは保存しない処置をとること
も可能である。後に、必要となった場合は、サーバマシ
ン1から再度送信してもらう様依頼すればよい。
As described above, the time for deploying the new version of the software can be postponed due to the circumstances on the client machine side. Therefore, when the old version software is being used and the old version is to be continued for a while, the process can also be performed regularly. It is possible to deal with the situation where the processing data in the old version has not been processed due to the processing delay.
Further, in the server machine 1, when a preset time has elapsed from the time of transmission, the server machine 1 transmits a software expansion command to all the client machines 2, so while considering the circumstances on the client machine side. It is possible to improve the efficiency of the entire system. Also, since the client-side operation setting file 19 can set the operation for each software, it is possible to expand only the required new version of the software and postpone the time to replace the old version of the software, simplifying the processing content. It is possible to realize a processing oriented to the purpose. Further, whether or not to save the software of the old version can be set for each software. Therefore, when there is little free space in its own disk device 3 due to the circumstances of each client machine 2, the old version with a relatively large capacity can be used. The software can also take steps that do not save. If necessary later, the server machine 1 may request the transmission again.

【0024】なお、以上述べたように、クライアント側
動作設定ファイル19の内容を人手を介さない処理フロー
として実行することもできるが、サーバマシン1から送
信された時点でクライアントマシン2での操作者の指示
を待つようにすることも可能である。操作者の指示を待
つようにすれば、新バージョンのソフトウェアが送信さ
れた時点でのクライアントマシン側での最新の状況によ
り対処することができるので、より効果的なシステム運
用が可能となる。
As described above, the contents of the client side operation setting file 19 can be executed as a processing flow without human intervention, but the operator at the client machine 2 at the time of transmission from the server machine 1 It is also possible to wait for the instructions. By waiting for the operator's instruction, it is possible to deal with the latest situation on the client machine side at the time when the new version of the software is transmitted, so that more effective system operation becomes possible.

【0025】[0025]

【発明の効果】この発明は、以上説明したように構成さ
れているので、以下に示すような効果を奏する。
Since the present invention is constructed as described above, it has the following effects.

【0026】配布結果判断手段により少なくとも1台の
クライアントマシンにおいて配布が失敗したと判断され
た場合に、サーバマシンから全てのクライアントマシン
に対して配布済の新バージョンのソフトウェアを配布前
の旧バージョンと入れ換えるように命令するソフトウエ
ア回復命令手段を設けたので、常に同一のバージョンの
ソフトウェアが動作することを厳しく求められているシ
ステムにおいては、旧バージョンに戻す応急処置をとる
ことができる効果がある。
When the distribution result judging means judges that the distribution has failed in at least one client machine, the new version of the software distributed from the server machine to all the client machines is regarded as the old version before distribution. Since the software recovery instruction means for instructing the replacement is provided, in a system where it is strictly required that the software of the same version always operates, there is an effect that it is possible to take an emergency measure to restore the old version.

【0027】また、少なくとも1台のクライアントマシ
ンにおいて配布が失敗したと判断されたとき又は新バー
ジョンのソフトウェアを送信してから予め設定した所定
時間が経過したときに上記サーバマシンから全てのクラ
イアントマシンに対して配布済の新バージョンのソフト
ウェアを配布前の旧バージョンのソフトウェアと入れ換
えるようにしたので、クライアントマシンからサーバマ
シンへ送信した配布結果がサーバマシンに届かなかった
場合でも、所定時間待ってから旧バージョンに戻す応急
処置をとることができる効果がある。
Further, when it is determined that the distribution has failed in at least one client machine, or when a predetermined time that has been set in advance has elapsed since the new version of the software was transmitted, the server machine described above can be sent to all the client machines. On the other hand, the new version of the software that has already been distributed has been replaced with the old version of the software that has not been distributed, so even if the distribution result sent from the client machine to the server machine does not reach the server machine, wait a certain period of time before the old There is an effect that you can take the first aid to return to the version.

【0028】さらに、配布に失敗したクライアントマシ
ンの台数の全体のクライアントマシンの台数に占める割
合により、全てのクライアントマシンに対して配布済の
新バージョンのソフトウェアを配布前の旧バージョンの
ソフトウェアと入れ換えるように命令するか否かを決定
するようにしたので、クライアントマシンの台数が多い
場合には、システム全体の効率を考えた柔軟性のある運
用が可能であり、システムの運用目的に合わせて許容範
囲を適宜設定することができる効果がある。
Further, depending on the ratio of the number of client machines that failed to be distributed to the total number of client machines, the new version of software that has been distributed to all client machines may be replaced with the old version of software that has not been distributed. Since it decides whether or not to instruct, it is possible to operate flexibly considering the efficiency of the entire system when the number of client machines is large. Can be set appropriately.

【0029】また、送信された新バージョンのソフトウ
ェアについて、旧バージョンのソフトウェアと入れ換え
るか否かの決定をソフトウェアごとに設定できるように
したので、必ず新バージョンでなければ対応できないも
ののみを残して他のソフトウェア、モジュールを旧バー
ジョンに戻すことにより、不完全な状態であっても迅速
に復旧が可能となる効果がある。
Further, since it is possible to set, for each software, whether or not to replace the software of the new version with the software of the old version, it is necessary to leave only the software which cannot be handled unless it is the new version. By restoring the software and modules of the previous version to the previous version, there is an effect that it is possible to recover quickly even in an incomplete state.

【0030】さらに、受信した新バージョンのソフトウ
ェアを即時に旧バージョンのソフトウェアと入れ換える
か所定時間経過後に入れ換えるかを各クライアントマシ
ンにおいて選択するようにしたので、クライアントマシ
ン側の事情により旧バージョンのソフトウェアを続行し
て使用できる効果がある。
Further, since the client machine selects whether to immediately replace the received new version software with the old version software or after a lapse of a predetermined time, the old version software is replaced by the client machine side. There is an effect that you can continue to use.

【0031】また、サーバマシンから複数のクライアン
トマシンに新バージョンのソフトウェアを送信後予め設
定した時間が経過したとき、上記サーバマシンから全て
のクライアントマシンに対して新バージョンのソフトウ
ェアを旧バージョンのソフトウェアと入れ換える命令を
送信するようにしたので、クライアントマシン側の事情
を考慮しつつシステム全体の効率を図ることが可能とな
る効果がある。
When a preset time elapses after the new version software is transmitted from the server machine to the plurality of client machines, the new version software is replaced with the old version software from the server machine to all the client machines. Since the command for exchanging is transmitted, there is an effect that the efficiency of the entire system can be achieved while considering the situation on the client machine side.

【0032】さらにまた、送信された新バージョンのソ
フトウェアについて、クライアントマシン側の事情によ
り旧バージョンのソフトウェアと入れ換える時期をソフ
トウェアごとに設定できるようにしたので、処理を簡素
化すると共に柔軟な対応が可能となる効果がある。
Further, since the time when the new version of the transmitted software is replaced with the old version of the software can be set for each software depending on the circumstances of the client machine, the processing can be simplified and a flexible response is possible. There is an effect.

【0033】また、旧バージョンのソフトウェアをクラ
イアントマシンにおいて保存するか否かを選択できるよ
うにしたので、容量の比較的大きな旧バージョンのソフ
トウェアは保存しない処置をとることも可能となる効果
がある。
Further, since it is possible to select whether or not to save the software of the old version in the client machine, it is possible to take a measure not to save the software of the old version having a relatively large capacity.

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

【図1】 この発明の実施形態1のシステム構成を示す
ブロック図である。
FIG. 1 is a block diagram showing a system configuration of a first embodiment of the present invention.

【図2】 この発明の実施形態1のサーバ側動作設定フ
ァイルである。
FIG. 2 is a server-side operation setting file according to the first embodiment of the present invention.

【図3】 この発明の実施形態1のクライアント側動作
設定ファイルである。
FIG. 3 is a client-side operation setting file according to the first embodiment of the present invention.

【図4】 この発明の実施形態1の動作を示すフローチ
ャートである。
FIG. 4 is a flowchart showing the operation of the first embodiment of the present invention.

【図5】 この発明の実施形態1の配布結果通知を示す
ファイルレイアウト図である。
FIG. 5 is a file layout diagram showing a distribution result notification according to the first embodiment of the present invention.

【図6】 この発明の実施形態1の状態記録ファイルを
示すファイルレイアウト図である。
FIG. 6 is a file layout diagram showing a state recording file according to the first embodiment of the present invention.

【図7】 この発明の実施形態2の動作を示すフローチ
ャートである。
FIG. 7 is a flowchart showing the operation of the second embodiment of the present invention.

【図8】 この発明の実施形態2の動作を示すフローチ
ャートである。
FIG. 8 is a flowchart showing the operation of the second embodiment of the present invention.

【図9】 この発明の実施形態3の動作を示すフローチ
ャートである。
FIG. 9 is a flowchart showing the operation of the third embodiment of the present invention.

【図10】 この発明の実施形態4の動作を示すフロー
チャートである。
FIG. 10 is a flowchart showing the operation of the fourth embodiment of the present invention.

【図11】 従来例のソフトウェア配布システムを示す
システム構成図である。
FIG. 11 is a system configuration diagram showing a conventional software distribution system.

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

1 サーバマシン、 2 クライアントマシン、 4
配布対象ソフトウェア 6 ソフトウェア送信手段、 7 ソフトウェア受信手
段、 8 ソフトウェア保存手段、 10 配布結果通
知手段、 14 配布結果判断手段、 15ソフトウェ
ア回復命令手段、 16 ソフトウェア回復手段。
1 server machine, 2 client machine, 4
Software to be distributed 6 Software transmitting means, 7 Software receiving means, 8 Software storing means, 10 Distribution result notifying means, 14 Distribution result judging means, 15 Software recovery command means, 16 Software recovery means.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 青木 裕司 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Yuji Aoki 2-3-3 Marunouchi, Chiyoda-ku, Tokyo Sanryo Electric Co., Ltd.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 サーバマシンに接続された複数のクライ
アントマシンからなるネットワークシステムにおいて、
上記サーバマシンから送信された配布リスト上の配布対
象ソフトウェアの旧バージョンを上記クライアントマシ
ンにおいて保存するソフトウェア保存手段、上記サーバ
マシンから上記クライアントマシンに新バージョンのソ
フトウェアを送信するソフトウェア送信手段、送信され
たソフトウェアを上記クライアントマシンにおいて受信
するソフトウェア受信手段、受信の成功または失敗を上
記サーバマシンへ通知する配布結果通知手段、この通知
された配布結果により各クライアントマシンに対する配
布が成功したか失敗したかを判断する配布結果判断手
段、この手段により少なくとも1台のクライアントマシ
ンにおいて配布が失敗したと判断されたときに上記サー
バマシンから全てのクライアントマシンに対して配布済
の新バージョンのソフトウェアを配布前の旧バージョン
のソフトウェアと入れ換えるように命令するソフトウェ
ア回復命令手段、このソフトウェア回復命令を受けたと
き上記ソフトウェア保存手段により保存しておいた旧バ
ージョンのソフトウェアを元の状態に戻すソフトウェア
回復手段からなるソフトウェア配布システム。
1. A network system comprising a plurality of client machines connected to a server machine,
Software saving means for saving the old version of the distribution target software on the distribution list sent from the server machine in the client machine, software sending means for sending the new version of software from the server machine to the client machine, sent Software receiving means for receiving software in the client machine, distribution result notifying means for notifying the server machine of the success or failure of reception, and it is judged whether the distribution to each client machine has succeeded or failed based on the notified distribution result. Means for determining distribution result, and when this means determines that the distribution has failed in at least one client machine, the server machine of the new version already distributed to all the client machines. Software for instructing to replace the software with the old version of software before distribution, and software recovery for returning the old version of the software saved by the software saving means to the original state when the software recovery instruction is received. A software distribution system consisting of means.
【請求項2】 サーバマシンから送信された配布リスト
上の配布対象ソフトウェアの旧バージョンをクライアン
トマシンにおいて保存するステップ、上記サーバマシン
から上記クライアントマシンに新バージョンのソフトウ
ェアを送信するステップ、送信されたソフトウェアを上
記クライアントマシンにおいて受信するステップ、受信
の成功または失敗を上記サーバマシンへ通知するステッ
プ、この通知された配布結果により各クライアントマシ
ンに対する配布が成功したか失敗したかを判断するステ
ップ、この判断結果により少なくとも1台のクライアン
トマシンにおいて配布が失敗したと判断されたとき又は
新バージョンのソフトウェアを送信してから予め設定し
た所定時間が経過したときに上記サーバマシンから全て
のクライアントマシンに対して配布済の新バージョンの
ソフトウェアを配布前の旧バージョンのソフトウェアと
入れ換えるように命令するステップ、この命令を受けた
とき保存しておいた旧バージョンのソフトウェアを元の
状態に戻すステップからなるソフトウェア配布方法。
2. A step of storing, in a client machine, an old version of distribution target software on a distribution list transmitted from a server machine, a step of transmitting a new version of software from the server machine to the client machine, and the transmitted software. In the client machine, informing the server machine of the success or failure of the reception, determining whether the distribution to each client machine is successful or unsuccessful according to the notified distribution result, the result of this judgment When it is determined that distribution has failed on at least one client machine or when a preset time has passed since the new version of software was sent, all client machines From the step of instructing the software to replace the new version of the software that has been distributed with the old version of the software before distribution, and the step of restoring the old version of the software saved when receiving this command. Software distribution method.
【請求項3】 上記サーバマシンにおいて、各クライア
ントマシンに対する新バージョンのソフトウェアの配布
が失敗したと判断したとき、配布に失敗したクライアン
トマシンの台数の全体のクライアントマシンの台数に占
める割合により、全てのクライアントマシンに対して配
布済の新バージョンのソフトウェアを配布前の旧バージ
ョンのソフトウェアと入れ換えるように命令するか否か
を決定することを特徴とする請求項2に記載のソフトウ
ェア配布方法。
3. In the server machine, when it is determined that the distribution of the new version of software to each client machine has failed, the total number of client machines that have failed to be distributed is determined by the proportion of all the client machines. 3. The software distribution method according to claim 2, wherein it is determined whether or not to instruct the client machine to replace the distributed new version software with the undistributed old version software.
【請求項4】 送信された新バージョンのソフトウェア
について、旧バージョンのソフトウェアと入れ換えるか
否かの決定をソフトウェアごとに設定できることを特徴
とする請求項2又は請求項3に記載のソフトウェア配布
方法。
4. The software distribution method according to claim 2, wherein it is possible to set, for each software, whether to replace the transmitted new version of the software with the old version of the software.
【請求項5】 サーバマシンから複数のクライアントマ
シンに新バージョンのソフトウェアを送信するステッ
プ、送信されたソフトウェアを上記クライアントマシン
において受信するステップ、受信した新バージョンのソ
フトウェアを即時に旧バージョンのソフトウェアと入れ
換えるか所定時間経過後に入れ換えるかを各クライアン
トマシンにおいて選択するステップからなるソフトウェ
ア配布方法。
5. A step of transmitting a new version of software from a server machine to a plurality of client machines, a step of receiving the transmitted software in the client machine, and a step of immediately replacing the received new version of software with old version of the software. A software distribution method comprising a step of selecting in each client machine whether to replace after a lapse of a predetermined time.
【請求項6】 上記サーバマシンから複数のクライアン
トマシンに新バージョンのソフトウェアを送信後予め設
定した時間が経過したとき、上記サーバマシンから全て
のクライアントマシンに対して新バージョンのソフトウ
ェアを旧バージョンのソフトウェアと入れ換える命令を
送信することを特徴とする請求項5に記載のソフトウェ
ア配布方法。
6. When a preset time elapses after transmitting the new version software from the server machine to a plurality of client machines, the new version software is transferred from the server machine to all the client machines to the old version software. 6. The software distribution method according to claim 5, further comprising transmitting an instruction to replace with.
【請求項7】 送信された新バージョンのソフトウェア
について、旧バージョンのソフトウェアと入れ換える時
期をソフトウェアごとに設定できることを特徴とする請
求項5又は請求項6に記載のソフトウェア配布方法。
7. The software distribution method according to claim 5, wherein it is possible to set a time for replacing the transmitted new version software with the old version software for each software.
【請求項8】 サーバマシンから送信される新バージョ
ンソフトウェアの旧バージョンのソフトウェアをクライ
アントマシンにおいて保存するか否かを選択できること
を特徴とする請求項2〜請求項7のいずれかに記載のソ
フトウェア配布方法。
8. The software distribution according to claim 2, wherein it is possible to select whether or not to save the old version software of the new version software sent from the server machine in the client machine. Method.
JP7295685A 1995-11-14 1995-11-14 System and method for software delivery Pending JPH09138769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7295685A JPH09138769A (en) 1995-11-14 1995-11-14 System and method for software delivery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7295685A JPH09138769A (en) 1995-11-14 1995-11-14 System and method for software delivery

Publications (1)

Publication Number Publication Date
JPH09138769A true JPH09138769A (en) 1997-05-27

Family

ID=17823861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7295685A Pending JPH09138769A (en) 1995-11-14 1995-11-14 System and method for software delivery

Country Status (1)

Country Link
JP (1) JPH09138769A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1021059A (en) * 1996-07-02 1998-01-23 Mitsubishi Electric Corp Software version management system for network system
JP2001005668A (en) * 1999-06-22 2001-01-12 Hitachi Building Systems Co Ltd Method for remotely rewriting terminal program
JP2009059210A (en) * 2007-08-31 2009-03-19 Canon Inc Distribution device, distribution method, and computer program
JP2009140501A (en) * 2007-12-06 2009-06-25 Sony Corp System and method for dynamically generating user interface for network client device
JP2016053845A (en) * 2014-09-03 2016-04-14 東芝テック株式会社 Information processor and program
JP2016099775A (en) * 2014-11-20 2016-05-30 シャープ株式会社 Electronic device having updating function for firmware
JP2016536701A (en) * 2013-09-17 2016-11-24 ジェムアルト エスアー Communication method between server and secure element

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05127891A (en) * 1991-11-07 1993-05-25 Fujitsu Ltd Stable working method for software revision in computer system
JPH05257673A (en) * 1992-03-11 1993-10-08 Fujitsu Ltd Old file reserving method at the time of updating file
JPH0659994A (en) * 1992-08-10 1994-03-04 Fuji Xerox Co Ltd Remote installation system
JPH0667855A (en) * 1992-08-18 1994-03-11 Nec Corp Software installing system
JPH06119182A (en) * 1992-10-07 1994-04-28 Hitachi Ltd Information communication network system with down-load control function
JPH06149557A (en) * 1992-11-10 1994-05-27 Fujitsu Ltd Automatic firmware recovery system
JPH06222915A (en) * 1993-01-21 1994-08-12 Fuji Xerox Co Ltd Install system
JPH06259260A (en) * 1993-03-10 1994-09-16 Fuji Photo Film Co Ltd Boot load system
JPH06348502A (en) * 1993-06-11 1994-12-22 Nec Corp Control system down-line loading
JPH07225732A (en) * 1994-02-10 1995-08-22 Fujitsu Ltd Method for installing shared application program in network system and information processor for the same

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05127891A (en) * 1991-11-07 1993-05-25 Fujitsu Ltd Stable working method for software revision in computer system
JPH05257673A (en) * 1992-03-11 1993-10-08 Fujitsu Ltd Old file reserving method at the time of updating file
JPH0659994A (en) * 1992-08-10 1994-03-04 Fuji Xerox Co Ltd Remote installation system
JPH0667855A (en) * 1992-08-18 1994-03-11 Nec Corp Software installing system
JPH06119182A (en) * 1992-10-07 1994-04-28 Hitachi Ltd Information communication network system with down-load control function
JPH06149557A (en) * 1992-11-10 1994-05-27 Fujitsu Ltd Automatic firmware recovery system
JPH06222915A (en) * 1993-01-21 1994-08-12 Fuji Xerox Co Ltd Install system
JPH06259260A (en) * 1993-03-10 1994-09-16 Fuji Photo Film Co Ltd Boot load system
JPH06348502A (en) * 1993-06-11 1994-12-22 Nec Corp Control system down-line loading
JPH07225732A (en) * 1994-02-10 1995-08-22 Fujitsu Ltd Method for installing shared application program in network system and information processor for the same

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1021059A (en) * 1996-07-02 1998-01-23 Mitsubishi Electric Corp Software version management system for network system
JP2001005668A (en) * 1999-06-22 2001-01-12 Hitachi Building Systems Co Ltd Method for remotely rewriting terminal program
JP2009059210A (en) * 2007-08-31 2009-03-19 Canon Inc Distribution device, distribution method, and computer program
JP2009140501A (en) * 2007-12-06 2009-06-25 Sony Corp System and method for dynamically generating user interface for network client device
JP2016536701A (en) * 2013-09-17 2016-11-24 ジェムアルト エスアー Communication method between server and secure element
JP2016053845A (en) * 2014-09-03 2016-04-14 東芝テック株式会社 Information processor and program
JP2016099775A (en) * 2014-11-20 2016-05-30 シャープ株式会社 Electronic device having updating function for firmware

Similar Documents

Publication Publication Date Title
US6971095B2 (en) Automatic firmware version upgrade system
US8375363B2 (en) Mechanism to change firmware in a high availability single processor system
US7076689B2 (en) Use of unique XID range among multiple control processors
US7194652B2 (en) High availability synchronization architecture
US7188237B2 (en) Reboot manager usable to change firmware in a high availability single processor system
US7065673B2 (en) Staged startup after failover or reboot
CN109634638B (en) Cluster software upgrading method, device, equipment and medium
EP2542976B1 (en) Method and apparatus of backing-up subversion repository
JP2004295462A (en) Recovery processing method, execution system of the same, and processing program of the same
JP3901060B2 (en) Application update processing method, update processing system, and update processing program
CN110109772B (en) CPU restarting method, communication equipment and readable storage medium
JP2009245264A (en) System, method, and program for controlling backup
JPH09138769A (en) System and method for software delivery
CN111698558A (en) Television software upgrading method, television terminal and computer readable storage medium
CN112333008B (en) Cloud host complete machine backup and restoration method, device, equipment and storage medium
CN110620798A (en) Control method, system, equipment and storage medium for FTP connection
JPH1031562A (en) Information processing system
JPH117382A (en) Version-up method for firmware
CN116166470A (en) Redis cluster clone replication method and device, medium and equipment
JP2011053780A (en) Restoration system, restoration method and backup control system
JPH1124934A (en) Distribution management method for client program in client server system
JP2004102493A (en) Contents distributing method and contents distribution controller
JPH11353187A (en) Error processing system for remote installation
WO2023032106A1 (en) Job management system and control method therefor
JP7508974B2 (en) JOB MANAGEMENT DEVICE, JOB MANAGEMENT SYSTEM, JOB MANAGEMENT METHOD, AND JOB MANAGEMENT PROGRAM

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040323

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20040513

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040517

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041109

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050308