JP2014013473A - Software update device - Google Patents

Software update device Download PDF

Info

Publication number
JP2014013473A
JP2014013473A JP2012150155A JP2012150155A JP2014013473A JP 2014013473 A JP2014013473 A JP 2014013473A JP 2012150155 A JP2012150155 A JP 2012150155A JP 2012150155 A JP2012150155 A JP 2012150155A JP 2014013473 A JP2014013473 A JP 2014013473A
Authority
JP
Japan
Prior art keywords
software
time
distribution
determining whether
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.)
Pending
Application number
JP2012150155A
Other languages
Japanese (ja)
Inventor
Masahito Hirai
正仁 平井
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2012150155A priority Critical patent/JP2014013473A/en
Publication of JP2014013473A publication Critical patent/JP2014013473A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To solve the problem that a plurality of devices having different versions come to exist if processing is interrupted in the middle of updating when the plurality of devices are updated to a software of the same version so that users can use the software.SOLUTION: A software update device is a device for updating a software of a device connected to a network, and has means for determining whether to be software compulsory distribution, means for determining whether a software distribution time is a distributable time zone, means for rescheduling software update if not the distributable time zone, means for distributing a software to a distribution object device, means for determining whether the current time is included in an applicable time zone, means for calculating an application end schedule time, means for determining whether software application can be performed within an updateable time, and means for applying the software.

Description

本発明は、ネットワークに接続された複数の装置へのソフトウェア更新方法に関し、特に、所定の時間帯にソフトウェア更新のスケジューリングを行う方法に関する。   The present invention relates to a software update method for a plurality of devices connected to a network, and more particularly, to a method for scheduling software update in a predetermined time zone.

従来、ネットワークに接続された複数の装置に対するソフトウェア更新は、ユーザーの使用を妨げないように夜間などにスケジューリングを行って更新を実行していた。   Conventionally, software updates for a plurality of devices connected to a network are performed by scheduling at night or the like so as not to disturb the use of the user.

しかし、複数の機器へのソフトウェア更新に時間がかかり、所定の時間帯に処理が終了しない場合がある。その場合には、更新を中断し、更新再開は別の時間にスケジューリングして行うというものがある。(特許文献1参照)   However, it may take time to update software to a plurality of devices, and processing may not be completed in a predetermined time zone. In that case, the update is interrupted and the restart of the update is scheduled at another time. (See Patent Document 1)

特許第3636012号明細書Japanese Patent No. 3636012

複数の機器を同じバージョンのソフトウェアに更新してユーザーに使用させたい場合があるが、更新の途中で処理を中断してしまうと、バージョンの異なる複数の機器が存在することになる。   There are cases where it is desired to update a plurality of devices to the same version of software and allow the user to use them. However, if the processing is interrupted in the middle of the update, there are a plurality of devices having different versions.

ネットワーク(105)に接続されたデバイス(104)のソフトウェアを更新する装置(101)であって、ソフトウェア強制配布か否かを判断する手段(S101)と、ソフトウェア配布時刻が配布可能時間帯か否かを判断する手段(S102)と、タスクを中断する手段(S103)と、一度に配布する対象数を取得する手段(S104)と、ソフトウェア更新を再スケジューリングする手段(S105)と、配布対象デバイスにソフトウェアを配布する手段(S106)と、配布終了か否かを判断する手段(S107)と、現在時刻を取得する手段(S108)と、更新可能時間帯を取得する手段(S109)と、現在時刻が適用可能時間帯に含まれているか否かを判断する手段(S110)と、適用終了予定時間を計算する手段(S111)と、ソフトウェア更新を再スケジューリングする手段(S112)と、更新可能時間内にソフトウェア適用を行えるかどうかを判断する手段(S113)と、ソフトウェアの適用を行う手段(S114)と、ソフトウェア適用終了かを判断する手段(S115)と、を有することを特徴とするソフトウェア更新装置。   An apparatus (101) for updating software of a device (104) connected to the network (105), means for determining whether software distribution is forcible (S101), and whether the software distribution time is a distributable time zone Means for determining whether (S102), means for interrupting the task (S103), means for obtaining the number of objects to be distributed at one time (S104), means for rescheduling software updates (S105), and distribution target device Software distribution means (S106), distribution end determination unit (S107), current time acquisition means (S108), updatable time zone acquisition means (S109), Means for determining whether or not the time is included in the applicable time zone (S110), and means for calculating the application end scheduled time ( 111), means for rescheduling software update (S112), means for determining whether software can be applied within the updatable time (S113), means for applying software (S114), and software application termination And a software updating apparatus comprising: means for determining whether or not (S115).

本発明によれば、配布と適用にわけてソフトウェアの更新を行い、ソフトウェアの適用時に更新完了の予測を立て、所定の時間帯に処理が終了するか否かを判断することにより複数の機器でソフトウェアを同じバージョンに保つことができる。なお、ここでいうソフトウェアの配布とは、デバイスが動作するためのソフトウェアを配布することをいう。また、適用とはデバイスに配布されたソフトウェアをデバイス上で既に動作しているソフトウェアから置き換えてデバイスを動作可能な状態にすることをいう。   According to the present invention, the software is updated in the distribution and application, the update completion is predicted when the software is applied, and it is determined whether or not the processing is completed in a predetermined time period. You can keep the software at the same version. The distribution of software here refers to distribution of software for operating a device. “Apply” means that the software distributed to the device is replaced with the software already running on the device to make the device operable.

システムの構成図System configuration diagram デバイス管理装置101の内部構成を示す図The figure which shows the internal structure of the device management apparatus 101 デバイス管理装置101の記憶装置203に格納されている内容を示す図The figure which shows the content stored in the memory | storage device 203 of the device management apparatus 101 ソフトウェア配布・適用プログラム301が使用するデータの構造を示す図The figure which shows the structure of the data which the software distribution and application program 301 uses 詳細を示すタスク詳細情報303のテーブルデータ構造Table data structure of detailed task information 303 indicating details デバイスのハードウェア的な内部構造を示す図Diagram showing the hardware internal structure of the device デバイスのソフトウェア的な内部構造を示す図Diagram showing the internal software structure of the device ソフトウェアデータベースサーバー102に格納されているデータ構造Data structure stored in software database server 102 ソフトウェアを配布・適用するデバイス104のソフトウェア更新状態の一覧List of software update states of devices 104 to which software is distributed / applied ソフトウェア配布・適用プログラム301の機能毎のブロックを表す図The figure showing the block for every function of software distribution and application program 301 ソフトウェア配布・適用の処理のフローチャートSoftware distribution / application flowchart ソフトウェア配布・適用のデバイス側の処理に関するフローチャートFlow chart for device side processing of software distribution / application

以下、本発明を実施するための最良の形態について図面を用いて説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings.

図1は、本発明に係るシステムの構成図である。デバイス管理装置101はネットワーク105を介して印刷装置などのデバイス104へのソフトウェアの配布・適用の操作を行う。なお、デバイスが1つ以上あることを想定しているので、図1ではデバイス104を104a、104b、104cと3つのデバイスがある例として記載した。デバイス管理装置101からソフトウェア配布の指示を受けたデバイス104は、ソフトウェアデータベースサーバー102からソフトウェアを取得する。クライアント103は、ネットワーク105を介してデバイス管理装置のユーザーインターフェースを操作する。   FIG. 1 is a block diagram of a system according to the present invention. The device management apparatus 101 performs software distribution / application operations to the device 104 such as a printing apparatus via the network 105. Since it is assumed that there are one or more devices, FIG. 1 illustrates the device 104 as an example having three devices 104a, 104b, and 104c. The device 104 that has received the software distribution instruction from the device management apparatus 101 acquires the software from the software database server 102. The client 103 operates the user interface of the device management apparatus via the network 105.

図2は、図1のデバイス管理装置101の内部構成を示す図である。本発明を実施するためのソフトウェア配布・適用プログラムは、ハードディスクなどの記憶装置203からメモリ202にロードされ、CPU201によって実行される。デバイス管理装置101は、ネットワークインターフェース206を介してネットワーク105上に接続された印刷装置などのデバイス104と通信を行う。デバイス管理装置101は、ディスプレイなどの表示装置205にプログラムのユーザーインターフェースを表示し、キーボードなどの入力装置204からユーザーからの入力を受け付ける。図1のクライアント装置103からネットワーク105経由でデバイス管理装置101の画面操作を行う場合もある。   FIG. 2 is a diagram showing an internal configuration of the device management apparatus 101 of FIG. A software distribution / application program for carrying out the present invention is loaded from a storage device 203 such as a hard disk into the memory 202 and executed by the CPU 201. The device management apparatus 101 communicates with a device 104 such as a printing apparatus connected on the network 105 via a network interface 206. The device management apparatus 101 displays a program user interface on a display device 205 such as a display, and receives input from a user from an input device 204 such as a keyboard. In some cases, the screen of the device management apparatus 101 is operated from the client apparatus 103 of FIG.

図3は、デバイス管理装置101の記憶装置203に格納されている内容を示す図である。記憶装置203には、本発明を実施するためのソフトウェア配布・適用プログラム301と、前記プログラムが使用する更新タスク情報302、更新タスク詳細情報303が格納されている。また、各配布対象デバイスの更新状態の一覧304が格納されている。また、プログラムが読み込んで使用する初期設定値305も格納されている。   FIG. 3 is a diagram illustrating the contents stored in the storage device 203 of the device management apparatus 101. The storage device 203 stores a software distribution / application program 301 for implementing the present invention, update task information 302 and update task detailed information 303 used by the program. In addition, a list 304 of update states of each distribution target device is stored. An initial setting value 305 that is read and used by the program is also stored.

図4は、本発明を実施するためのソフトウェア配布・適用プログラム301が使用するデータであるタスク情報302のテーブルデータ構造を示す図である。タスクとは後述のタスクスケジューラーが実行開始時刻になると実行する複数の配布先に対してソフトウェアを配布するプログラムの処理単位である。タスク情報302には、タスク名401、タスクの実行開始時間402、更新するソフトウェア名403、更新するソフトウェアのバージョン404、URLなどの更新するソフトウェアの取得先405、後述の図5における更新先のリスト名406、強制配布か否かを示す強制配布フラグ407によって構成される。タスク状態408は状態を示す値が格納されており、実行が開始される前においてタスク状態408は未実行を示す値となっている。ソフトウェア配布・適用を行っている間、デバイスは印刷などの機能を使用することができない場合があるため、ユーザーが使用する時間帯を避けて更新可能時間帯にソフトウェア配布・適用を行う必要がある。また、ソフトウェアの適用だけは行える場合もあるため、後述のように適用のみはユーザー使用時間帯でも行えるようにすることもできる。   FIG. 4 is a diagram showing a table data structure of task information 302 which is data used by the software distribution / application program 301 for carrying out the present invention. A task is a processing unit of a program that distributes software to a plurality of distribution destinations that are executed when a task scheduler described later reaches an execution start time. The task information 302 includes a task name 401, a task execution start time 402, a software name 403 to be updated, a software version 404 to be updated, a software acquisition destination 405 such as a URL, and an update destination list in FIG. The name 406 includes a forced distribution flag 407 indicating whether or not forced distribution is performed. The task state 408 stores a value indicating the state, and the task state 408 is a value indicating unexecuted before the execution is started. During software distribution / application, the device may not be able to use functions such as printing. Therefore, it is necessary to distribute and apply software during updatable hours, avoiding the user's time zone. . Further, since there are cases where only application of software can be performed, it is possible to perform only application even during a user use time zone as described later.

図5は、図4の更新先のリスト名406に関連付いているタスク詳細情報303のテーブルデータ構造を示す図である。タスク詳細情報303は更新先のリスト名406毎にソフトウェアの配布先を示すIPアドレスなどの一覧情報が記載されている。例えば、タスクが3つあった場合には501a、501b,501cと、複数の配布先を示す一覧情報が3つ存在することになる。   FIG. 5 is a diagram showing a table data structure of the detailed task information 303 associated with the update destination list name 406 of FIG. The task detailed information 303 includes list information such as an IP address indicating a software distribution destination for each update destination list name 406. For example, when there are three tasks, there are three list information indicating the distribution destinations 501a, 501b, and 501c.

図6は、デバイス104のハードウェア的な内部構造を示す図である。デバイス管理装置からのソフトウェア配布の指示があるとCPU601は、ソフトウェア配布の機能をメモリ603にロードする。CPU601はネットワーク制御部606とネットワーク105を経由して、ソフトウェアデータベースサーバー102から配布するソフトウェアを取得する。CPU601は記憶装置603に取得したソフトウェアを一時保存する。CPU601はデバイス管理装置からのソフトウェア適用の指示があると、ソフトウェア適用の機能を記憶装置603からメモリ602にロードする。そして、記憶装置603にある取得したソフトウェアとデバイス104上で現在動作しているソフトウェアを置き換える。表示装置605はユーザーインターフェースを表示し、入力装置604はユーザーからの入力を受け付ける。   FIG. 6 is a diagram illustrating a hardware internal structure of the device 104. When there is a software distribution instruction from the device management apparatus, the CPU 601 loads the software distribution function into the memory 603. The CPU 601 acquires software to be distributed from the software database server 102 via the network control unit 606 and the network 105. The CPU 601 temporarily stores the acquired software in the storage device 603. When receiving a software application instruction from the device management apparatus, the CPU 601 loads a software application function from the storage device 603 to the memory 602. Then, the acquired software in the storage device 603 is replaced with the software currently operating on the device 104. The display device 605 displays a user interface, and the input device 604 receives input from the user.

図7は、デバイス104のソフトウェア的な内部構造を示す図である。デバイス104は、デバイス管理装置101から配布の指示があると、ソフトウェア配布(取得)機能701によって、図1のソフトウェアデータベースサーバー102から該当するソフトウェアの取得を行う。デバイス104は取得したソフトウェアを更新ソフトウェア一時保存703として一時保存する。デバイス104はデバイス管理装置101から更新ソフトウェアの適用の指示があると、ソフトウェア適用機能702によって更新ソフトウェア一時保存703を取り出し、実際に動作する現在のソフトウェア704として適用する。   FIG. 7 is a diagram showing a software internal structure of the device 104. Upon receiving a distribution instruction from the device management apparatus 101, the device 104 acquires the corresponding software from the software database server 102 in FIG. 1 by the software distribution (acquisition) function 701. The device 104 temporarily stores the acquired software as an updated software temporary storage 703. When there is an instruction to apply the update software from the device management apparatus 101, the device 104 retrieves the update software temporary storage 703 by the software application function 702 and applies it as the current software 704 that actually operates.

図8は、図1のソフトウェアデータベースサーバー102に格納されているデータ構造を示す図である。図1のソフトウェアデータベースサーバー102に格納されているデータは、ソフトウェアのモジュール名801、ソフトウェアのバージョン802、ソフトウェアの容量803、格納番地804が記載されている。デバイス104に対してデバイス管理装置101がソフトウェアの取得を指示すると、デバイス104は、ソフトウェアデータベースサーバー102に対して、更新タスク情報302の更新するソフトウェア名403、更新するソフトウェアのバージョン404と一致するソフトウェアを取得する。また、ソフトウェアの容量803は、ソフトウェアを適用するために要する時間計算などに使用される。   FIG. 8 is a diagram showing a data structure stored in the software database server 102 of FIG. The data stored in the software database server 102 in FIG. 1 includes a software module name 801, a software version 802, a software capacity 803, and a storage address 804. When the device management apparatus 101 instructs the device 104 to acquire software, the device 104 instructs the software database server 102 to match the software name 403 to be updated in the update task information 302 and the software version 404 to be updated. To get. The software capacity 803 is used for calculating the time required to apply the software.

図9は、デバイス管理装置101がソフトウェアを配布・適用するデバイス104のソフトウェア更新状態の一覧である。ソフトウェア更新状態の一覧は、デバイス管理装置101の記憶装置203に格納されている(図3の304)。   FIG. 9 is a list of software update states of the devices 104 to which the device management apparatus 101 distributes and applies software. A list of software update states is stored in the storage device 203 of the device management apparatus 101 (304 in FIG. 3).

更新状態には「未配布」、「配布中」、「配布済み」、「適用中」、「適用済み」の各状態がある。更新状態の初期状態は「未配布」である。デバイス104はソフトウェアの配布が開始されるとデバイス管理装置101に配布が開始されたことを通知し、デバイス管理装置101はソフトウェア更新状態の一覧の状態を「配布中」に書き換える。デバイス104はソフトウェアの配布が終了すると、デバイス管理装置101に配布終了を通知する。デバイス管理装置101は配布終了を受信してソフトウェア更新状態の一覧の状態を「配布済」に書き換える。デバイス104はソフトウェアの適用が開始されるとデバイス管理装置101に適用が開始されたことを通知し、デバイス管理装置101はソフトウェア適用状態の一覧の状態を「適用中」に書き換える。デバイス104はソフトウェアの適用が終了すると、デバイス管理装置101に適用終了を通知する。デバイス管理装置101は適用終了を受信してソフトウェア適用状態の一覧の状態を「適用済」に書き換える。   The update status includes “undistributed”, “distributing”, “distributed”, “applied”, and “applied” statuses. The initial state of the update state is “undistributed”. When the distribution of software is started, the device 104 notifies the device management apparatus 101 that the distribution has started, and the device management apparatus 101 rewrites the status of the list of software update states to “distributing”. When the software distribution is completed, the device 104 notifies the device management apparatus 101 of the distribution completion. Upon receiving the distribution end, the device management apparatus 101 rewrites the status of the software update status list to “distributed”. When the application of software is started, the device 104 notifies the device management apparatus 101 that the application has started, and the device management apparatus 101 rewrites the state of the list of software application states to “in application”. When the application of the software is completed, the device 104 notifies the device management apparatus 101 of the application completion. Upon receiving the application end, the device management apparatus 101 rewrites the state of the software application state list to “applied”.

図10は、図3のソフトウェア配布・適用プログラム301の機能毎のブロックを表す図である。タスク作成ユーザーインターフェース1001は、タスク作成に必要な情報についてユーザーからの入力を受け付ける画面を表示する機能を提供する。タスク作成ユーザーインターフェース1001で入力された情報は、図3の更新タスク情報303、タスク詳細情報304として格納される。タスクスケジューラー1002は、図4の実行開始時間402を定期的に確認し、タスク状態408が未実行で、実行開始時間を過ぎていたら、ソフトウェア配布と適用を行うタスクを実行する。   FIG. 10 is a diagram showing blocks for each function of the software distribution / application program 301 of FIG. The task creation user interface 1001 provides a function of displaying a screen for accepting input from the user for information necessary for task creation. Information input through the task creation user interface 1001 is stored as update task information 303 and task detailed information 304 in FIG. The task scheduler 1002 periodically checks the execution start time 402 in FIG. 4 and executes a task for performing software distribution and application if the task state 408 has not been executed and the execution start time has passed.

図11はソフトウェア配布・適用の処理のフローチャートを示す図である。フローチャート図11を用いてソフトウェア配布・適用の処理の詳細を説明する。なお、各ステップを実行する主体が明記されていない場合、実行の主体はプログラムを実行するデバイス管理装置101のCPU202である。   FIG. 11 is a flowchart of software distribution / application processing. Details of the software distribution / application processing will be described with reference to the flowchart of FIG. When the subject that executes each step is not specified, the subject that executes the step is the CPU 202 of the device management apparatus 101 that executes the program.

まず、タスクスケジューラー1002によってソフトウェア配布と適用を行うタスクが実行されると、図4のタスク状態408を実行中に変更し、図4の強制配布か否かの値をチェックする(ステップS101)。ステップ101において強制配布でないと判断された場合にはデバイス管理装置101が持つ現在時間と、図3の初期設定値305内に格納されている更新可能時間帯を取得し、現在時間が更新可能時間帯に含まれるか否かの判断を行う(ステップS102)。なお、更新可能時間帯は予め初期設定機能(図10の1006)を通じてユーザーから入力を受け付けることが可能である。初期設定値は記憶装置203に格納される(図3の305)。現在時間が更新可能時間帯に含まれない場合には、タスク実行を中断する(ステップS103)。ステップS103で中断されたタスクは、次回の更新可能時間帯内に実行が開始されるように図4のタスク情報テーブル302の実行開始時間402を変更し、タスク状態を未実行に変更する(ステップS105)。ステップS102において、現在時間が更新可能時間帯に含まれる場合には、一度に配布する対象デバイス数を記憶装置203から取得する(ステップS104)。また、図4の強制配布か否かの値をチェックにおいて、強制配布と判断された場合には、一度に配布する対象デバイスの数を記憶装置203から取得する(ステップS104)。なお、一度に配布する対象デバイス数は予め初期設定機能(図10の1006)を通じてユーザーから入力を受け付けることが可能である。配布制御1003は、図4の更新リスト名406から更新リスト名を取得する。さらに更新リスト名に基づいて図5の更新リスト名毎の更新先の一覧を取得する。配布制御1003は、図4のソフトウェア名403、バージョン404、取得先405を取得し、対象デバイス104に対して、前記情報を含む配布指示を行う(ステップS106)。その際、更新状態管理機能1004は、図9のソフトウェア更新状態の一覧の対象デバイスについて「配布中」に相当する値を書き込む。なお、図9のソフトウェア更新状態の一覧において対象デバイスの更新状態902が「未配布」のデバイス以外には配布しないものとする。デバイス管理装置101から配布指示を受けたデバイス104はソフトウェアデータベースサーバー102からソフトウェアを取得し、取得が終了するとデバイス管理装置101に配布終了通知を行う。デバイス104の処理の詳細ついては図12の説明で行う。   First, when a task for performing software distribution and application is executed by the task scheduler 1002, the task state 408 in FIG. 4 is changed during execution, and the value of whether or not forced distribution in FIG. 4 is checked (step S101). If it is determined in step 101 that the distribution is not compulsory, the current time of the device management apparatus 101 and the updatable time zone stored in the initial setting value 305 in FIG. It is determined whether or not the band is included (step S102). The updatable time zone can accept input from the user in advance through an initial setting function (1006 in FIG. 10). The initial setting value is stored in the storage device 203 (305 in FIG. 3). If the current time is not included in the updatable time zone, task execution is interrupted (step S103). The task suspended in step S103 is changed to the execution start time 402 in the task information table 302 of FIG. 4 so that execution is started within the next updatable time zone, and the task state is changed to unexecuted (step S105). In step S102, if the current time is included in the updatable time zone, the number of target devices to be distributed at one time is acquired from the storage device 203 (step S104). If it is determined that forced distribution is performed in the check of whether or not forced distribution in FIG. 4 is performed, the number of target devices to be distributed at one time is acquired from the storage device 203 (step S104). Note that the number of target devices to be distributed at a time can be previously input from the user through the initial setting function (1006 in FIG. 10). The distribution control 1003 acquires an update list name from the update list name 406 in FIG. Furthermore, a list of update destinations for each update list name in FIG. 5 is acquired based on the update list name. The distribution control 1003 acquires the software name 403, version 404, and acquisition destination 405 in FIG. 4, and issues a distribution instruction including the information to the target device 104 (step S106). At that time, the update status management function 1004 writes a value corresponding to “distributing” for the target device in the software update status list of FIG. In the software update status list of FIG. 9, it is assumed that the update status 902 of the target device is not distributed to devices other than “undistributed”. Upon receiving the distribution instruction from the device management apparatus 101, the device 104 acquires the software from the software database server 102, and when the acquisition ends, notifies the device management apparatus 101 of the distribution end. Details of the processing of the device 104 will be described with reference to FIG.

デバイス管理装置101は配布終了通知を対象デバイスから受信する(ステップS203)。その際、デバイス管理装置101は図9のソフトウェア更新状態の一覧の対象デバイスについて配布済みに相当する値を書き込む。デバイス管理装置101は、図9のソフトウェア更新状態の一覧を確認し、すべての対象デバイスについて配布済みになっているかを確認する(ステップS107)。ステップS107において、すべての対象デバイスについて配布済みになってない場合には、ステップS101に移行する。ステップS107において、すべての対象デバイスについて配布済みになっている場合には、現在時刻を取得する(ステップS108)。図3の初期設定値に含まれる更新可能時間帯を取得し(ステップS109)、前記で取得した現在時刻がその時間帯に含まれているか否かを判断する(ステップS110)。ステップS110の判断で現在時刻が更新可能時間帯に含まれていない場合には、図4のタスク状態408を未実行にし、実行開始時間402を次回の更新可能時間帯に含まれるように変更してタスクを終了する(S112)。ステップS110の判断で現在時刻が更新可能時間帯に含まれている場合には、ステップS111に移行する。ステップS111では、ソフトウェアデータベースサーバー102からソフトウェアを取得した際のファイルサイズ情報と、単位サイズあたりにかかる更新時間、現在時刻によって、更新終了予定時間を計算する(ステップS111)。単位サイズあたりにかかる更新時間はデバイスの能力に依存するのでデバイス104から取得するか、デバイス管理装置101に予め保存されているものとする。ステップS111で計算した更新終了予定時間が更新可能時間帯よりも大きいか否かを判断する(ステップS113)。更新終了予定時間が更新可能時間帯よりも大きい場合には、ステップS112に移行する。更新終了予定時間が更新可能時間帯よりも小さい場合には、ソフトウェアの適用開始をデバイス104に指示する(ステップS114)。なお、ソフトウェアの適用開始する際には、図9の対象デバイスについての更新状態902を「適用中」に変更する。デバイス101で適用が終了すると適用終了通知がデバイス管理装置101に送信され、デバイス管理装置が受信する。その際、デバイス管理装置101は、図9の更新状態を「適用済み」に変更する。図9の更新状態がすべての対象デバイスについて「適用済み」であるかを確認する(ステップS115)。ステップS115ですべて「適用済み」でない場合には、デバイス104からの適用終了通知を待つ。また、ステップS115ですべて「適用済み」の場合には、図4のタスク状態408を終了に変更して、タスクを終了する。   The device management apparatus 101 receives a distribution end notification from the target device (step S203). At this time, the device management apparatus 101 writes a value corresponding to “distributed” for the target device in the list of software update states in FIG. The device management apparatus 101 confirms the list of software update states in FIG. 9 and confirms whether or not distribution has been performed for all target devices (step S107). If it is determined in step S107 that all the target devices have not been distributed, the process proceeds to step S101. If it is determined in step S107 that all the target devices have been distributed, the current time is acquired (step S108). An updatable time zone included in the initial setting value of FIG. 3 is acquired (step S109), and it is determined whether or not the current time acquired above is included in the time zone (step S110). If it is determined in step S110 that the current time is not included in the updatable time zone, the task state 408 in FIG. 4 is not executed, and the execution start time 402 is changed to be included in the next updatable time zone. The task is terminated (S112). If it is determined in step S110 that the current time is included in the updatable time zone, the process proceeds to step S111. In step S111, the scheduled update end time is calculated based on the file size information when the software is acquired from the software database server 102, the update time per unit size, and the current time (step S111). Since the update time per unit size depends on the capability of the device, it is assumed that it is acquired from the device 104 or stored in the device management apparatus 101 in advance. It is determined whether or not the scheduled update end time calculated in step S111 is longer than the updatable time zone (step S113). If the scheduled update end time is longer than the updatable time zone, the process proceeds to step S112. If the scheduled update end time is shorter than the updatable time zone, the device 104 is instructed to start applying software (step S114). When the application of software is started, the update state 902 for the target device in FIG. 9 is changed to “in application”. When application is completed at the device 101, an application end notification is transmitted to the device management apparatus 101, and the device management apparatus receives it. At that time, the device management apparatus 101 changes the update state in FIG. 9 to “applied”. It is confirmed whether the update state in FIG. 9 is “applied” for all target devices (step S115). If all of them are not “applied” in step S115, an application end notification from the device 104 is awaited. If all of them are “applied” in step S115, the task state 408 in FIG. 4 is changed to end, and the task is ended.

図12はデバイス管理装置101から配布指示S106を受けて、ソフトウェアを取得するデバイス104の処理を示す図である。フローチャート図12を用いてソフトウェア取得のデバイス104の処理を説明する。ソフトウェア更新対象デバイス104はデバイス管理装置101から配布指示を受けると(S201)、取得先405に対してソフトウェアの取得要求を行う(S202)。取得先405は図1のソフトウェアデータベースサーバー102である。ソフトウェアデータベースサーバー102は前記配布指示に含まれるソフトウェア名403、バージョン404と図8のモジュール名801、バージョン802と照合する。ソフトウェアデータベースサーバー102は前記の照合で一致した情報に対応する格納番地804を元に更新対象のソフトウェアをソフトウェアデータベースサーバー102が持つソフトウェアデータベースから引き出し、対象デバイス104にソフトウェアを送信する。その際、ファイル容量も送信される。対象デバイス104は前記ソフトウェアを受信する(S203)。対象デバイス104はデバイス管理装置101に配布終了通知を送信する(S204)。   FIG. 12 is a diagram illustrating processing of the device 104 that receives the distribution instruction S106 from the device management apparatus 101 and acquires software. The process of the software acquisition device 104 will be described with reference to the flowchart of FIG. Upon receiving a distribution instruction from the device management apparatus 101 (S201), the software update target device 104 issues a software acquisition request to the acquisition destination 405 (S202). The acquisition source 405 is the software database server 102 of FIG. The software database server 102 collates the software name 403 and version 404 included in the distribution instruction with the module name 801 and version 802 in FIG. The software database server 102 extracts the software to be updated from the software database of the software database server 102 based on the storage address 804 corresponding to the information matched in the above collation, and transmits the software to the target device 104. At that time, the file capacity is also transmitted. The target device 104 receives the software (S203). The target device 104 transmits a distribution end notification to the device management apparatus 101 (S204).

以上のようにソフトウェアの配布・適用を行うことにより、所定の時間帯に処理が終了するように複数の機器でソフトウェアを同じバージョンに更新することができる。   By distributing and applying software as described above, the software can be updated to the same version on a plurality of devices so that the processing is completed within a predetermined time period.

101・・・デバイス管理装置
102・・・ソフトウェアデータベースサーバー
103・・・デバイス管理装置の入力操作をするためのクライアント
104・・・ソフトウェア配布対象デバイス
105・・・ネットワーク
203・・・デバイス管理装置内部にある記憶装置
DESCRIPTION OF SYMBOLS 101 ... Device management apparatus 102 ... Software database server 103 ... Client 104 for performing input operation of device management apparatus ... Software distribution target device 105 ... Network 203 ... Inside device management apparatus Storage device

Claims (3)

ネットワーク(105)に接続されたデバイス(104)のソフトウェアを更新する装置(101)であって、ソフトウェア強制配布か否かを判断する手段(S101)と、ソフトウェア配布時刻が配布可能時間帯か否かを判断する手段(S102)と、タスクを中断する手段(S103)と、一度に配布する対象数を取得する手段(S104)と、ソフトウェア更新を再スケジューリングする手段(S105)と、配布対象デバイスにソフトウェアを配布する手段(S106)と、配布終了か否かを判断する手段(S107)と、現在時刻を取得する手段(S108)と、更新可能時間帯を取得する手段(S109)と、現在時刻が適用可能時間帯に含まれているか否かを判断する手段(S110)と、適用終了予定時間を計算する手段(S111)と、ソフトウェア更新を再スケジューリングする手段(S112)と、更新可能時間内にソフトウェア適用を行えるかどうかを判断する手段(S113)と、ソフトウェアの適用を行う手段(S114)と、ソフトウェア適用終了かを判断する手段(S115)と、を有することを特徴とするソフトウェア更新装置。   An apparatus (101) for updating software of a device (104) connected to the network (105), means for determining whether software distribution is forcible (S101), and whether the software distribution time is a distributable time zone Means for determining whether (S102), means for interrupting the task (S103), means for obtaining the number of objects to be distributed at one time (S104), means for rescheduling software updates (S105), and distribution target device Software distribution means (S106), distribution end determination unit (S107), current time acquisition means (S108), updatable time zone acquisition means (S109), Means for determining whether or not the time is included in the applicable time zone (S110), and means for calculating the application end scheduled time ( 111), means for rescheduling software update (S112), means for determining whether software can be applied within the updatable time (S113), means for applying software (S114), and software application termination And a software updating apparatus comprising: means for determining whether or not (S115). ネットワーク(105)に接続されたデバイス(104)のソフトウェアを更新する方法(101)であって、ソフトウェア強制配布か否かを判断する手段(S101)と、ソフトウェア配布時刻が配布可能時間帯か否かを判断する手段(S102)と、タスクを中断する手段(S103)と、一度に配布する対象数を取得する手段(S104)と、ソフトウェア更新を再スケジューリングする手段(S105)と、配布対象デバイスにソフトウェアを配布する手段(S106)と、配布終了か否かを判断する手段(S107)と、現在時刻を取得する手段(S108)と、更新可能時間帯を取得する手段(S109)と、現在時刻が適用可能時間帯に含まれているか否かを判断する手段(S110)と、適用終了予定時間を計算する手段(S111)と、ソフトウェア更新を再スケジューリングする手段(S112)と、更新可能時間内にソフトウェア適用を行えるかどうかを判断する手段(S113)と、ソフトウェアの適用を行う手段(S114)と、ソフトウェア適用終了かを判断する手段(S115)と、を有することを特徴とするソフトウェア更新方法。   A method (101) for updating software of a device (104) connected to a network (105), means for determining whether software distribution is forcible (S101), and whether the software distribution time is a distributable time zone Means for determining whether (S102), means for interrupting the task (S103), means for obtaining the number of objects to be distributed at one time (S104), means for rescheduling software updates (S105), and distribution target device Software distribution means (S106), distribution end determination unit (S107), current time acquisition means (S108), updatable time zone acquisition means (S109), Means for determining whether or not the time is included in the applicable time zone (S110), and means for calculating the application end scheduled time ( 111), means for rescheduling software update (S112), means for determining whether software can be applied within the updatable time (S113), means for applying software (S114), and software application termination And a software update method characterized by comprising: means for determining whether (S115). ネットワーク(105)に接続されたデバイス(104)のソフトウェアを更新するプログラム(101)であって、ソフトウェア強制配布か否かを判断するステップ(S101)と、ソフトウェア配布時刻が配布可能時間帯か否かを判断する手段(S102)と、タスクを中断するステップ(S103)と、一度に配布する対象数を取得するステップ(S104)と、ソフトウェア更新を再スケジューリングするステップ(S105)と、配布対象デバイスにソフトウェアを配布するステップ(S106)と、配布終了か否かを判断するステップ(S107)と、現在時刻を取得するステップ(S108)と、更新可能時間帯を取得するステップ(S109)と、現在時刻が適用可能時間帯に含まれているか否かを判断するステップ(S110)と、適用終了予定時間を計算するステップ(S111)と、ソフトウェア更新を再スケジューリングするステップ(S112)と、更新可能時間内にソフトウェア適用を行えるかどうかを判断するステップ(S113)と、ソフトウェアの適用を行うステップ(S114)と、ソフトウェア適用終了かを判断するステップ(S115)と、を有することを特徴とするソフトウェア更新プログラム。   A program (101) for updating software of the device (104) connected to the network (105), the step (S101) for determining whether or not the software is forcibly distributed, and whether or not the software distribution time is a distributable time zone Means for determining whether (S102), the step of interrupting the task (S103), the step of obtaining the number of objects to be distributed at one time (S104), the step of rescheduling the software update (S105), and the distribution target device Distributing software (S106), determining whether or not distribution is completed (S107), obtaining a current time (S108), obtaining an updatable time zone (S109), A step of determining whether or not the time is included in the applicable time zone (S1 0), a step of calculating a scheduled application end time (S111), a step of rescheduling the software update (S112), a step of determining whether the software can be applied within the updatable time (S113), A software update program comprising: a step of applying (S114); and a step of determining whether software application is completed (S115).
JP2012150155A 2012-07-04 2012-07-04 Software update device Pending JP2014013473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012150155A JP2014013473A (en) 2012-07-04 2012-07-04 Software update device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012150155A JP2014013473A (en) 2012-07-04 2012-07-04 Software update device

Publications (1)

Publication Number Publication Date
JP2014013473A true JP2014013473A (en) 2014-01-23

Family

ID=50109128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012150155A Pending JP2014013473A (en) 2012-07-04 2012-07-04 Software update device

Country Status (1)

Country Link
JP (1) JP2014013473A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108449377A (en) * 2018-02-02 2018-08-24 珠海金山网络游戏科技有限公司 A kind of update method and resource packing and issuing system and method for game version
JP2018198013A (en) * 2017-05-24 2018-12-13 株式会社リコー Image forming device, system, and control method
JP2019160082A (en) * 2018-03-15 2019-09-19 キヤノン株式会社 System and method in system
JP2019181835A (en) * 2018-04-12 2019-10-24 富士ゼロックス株式会社 Information processing device and information processing program
JP2019219805A (en) * 2018-06-18 2019-12-26 キヤノン株式会社 Information processing apparatus, control method thereof and program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018198013A (en) * 2017-05-24 2018-12-13 株式会社リコー Image forming device, system, and control method
CN108449377A (en) * 2018-02-02 2018-08-24 珠海金山网络游戏科技有限公司 A kind of update method and resource packing and issuing system and method for game version
JP2019160082A (en) * 2018-03-15 2019-09-19 キヤノン株式会社 System and method in system
JP7051507B2 (en) 2018-03-15 2022-04-11 キヤノン株式会社 System and method in system
JP2019181835A (en) * 2018-04-12 2019-10-24 富士ゼロックス株式会社 Information processing device and information processing program
JP7040246B2 (en) 2018-04-12 2022-03-23 富士フイルムビジネスイノベーション株式会社 Information processing equipment and information processing programs
JP2019219805A (en) * 2018-06-18 2019-12-26 キヤノン株式会社 Information processing apparatus, control method thereof and program
JP7121555B2 (en) 2018-06-18 2022-08-18 キヤノン株式会社 Information processing device, its control method, and program

Similar Documents

Publication Publication Date Title
US9383992B2 (en) Enterprise wide software version recommendation
US9990230B1 (en) Scheduling a notebook execution
US10310903B2 (en) Resilient scheduling of broker jobs for asynchronous tasks in a multi-tenant platform-as-a-service (PaaS) system
JP6011479B2 (en) Application management apparatus, application management system, and program
US10884727B2 (en) Rolling upgrade of a distributed application
EP2677422A1 (en) Automatic Application Updates
US8910128B2 (en) Methods and apparatus for application performance and capacity analysis
CN110651256B (en) System and method for preventing service interruption during software update
US11012371B2 (en) Queued workload service in a multi tenant environment
JP2014013473A (en) Software update device
US9921882B2 (en) Information processing system, deployment method, processing device, and deployment device
Huang AppACTS: Mobile app automated compatibility testing service
US8694462B2 (en) Scale-out system to acquire event data
US9847950B1 (en) Messaging system thread pool
US9195515B1 (en) Method and system for process load balancing
CN106657195B (en) Task processing method and relay device
JP2017049730A (en) Notification program, notification method and notification system
US8863133B2 (en) License management in a cluster environment
CN112631759A (en) Data processing method, device and system
CN113014616A (en) Analytic content network for content delivery embedding
JP5380895B2 (en) Management program, management method and management apparatus
US20180260206A1 (en) Method of managing applications and computing device using the same
CN113472638B (en) Edge gateway control method, system, device, electronic equipment and storage medium
JP2007164642A (en) Resource management device and method
JP2016218541A (en) Information processing device and program