JP2005352778A - Server, client, and control method thereof - Google Patents

Server, client, and control method thereof Download PDF

Info

Publication number
JP2005352778A
JP2005352778A JP2004173008A JP2004173008A JP2005352778A JP 2005352778 A JP2005352778 A JP 2005352778A JP 2004173008 A JP2004173008 A JP 2004173008A JP 2004173008 A JP2004173008 A JP 2004173008A JP 2005352778 A JP2005352778 A JP 2005352778A
Authority
JP
Japan
Prior art keywords
client
server
update file
update
time
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.)
Withdrawn
Application number
JP2004173008A
Other languages
Japanese (ja)
Inventor
Kei Kitakata
圭 北形
Nakakatsu Kurotsu
中克 黒津
Masamichi Oshima
正道 大島
Hidekazu Morooka
秀和 師岡
Takashi Yakida
隆 八木田
Koichiro Wanda
浩一郎 椀田
Koji Kikuchi
浩司 菊池
Hiroyuki Kayama
博之 嘉山
Kenichi Shirai
健一 白井
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 JP2004173008A priority Critical patent/JP2005352778A/en
Publication of JP2005352778A publication Critical patent/JP2005352778A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem that it is hard to efficiently operate a system because download of an update file and version up of a system environment are extremely affected by operation conditions of clients in a server-client system composed of a plurality of clients integrally managed by a server via a network. <P>SOLUTION: A control method of a server to be connected to a network and connected to clients via the network, comprises a determination step of determining the presence or absence of new update files to update the data owned by the clients; a transmission step of transmitting the new update files to the clients together with time information to execute the new update files; and a management step of managing clients which have not transmitted the new update files yet. In the transmission step, the method does not transmit the update files again to the clients which have transmitted the update file already on the basis of the management in the management step. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、コンピュータネットワークを介して互いに接続されるサーバ及びクライアント、及びそれらを制御する方法に関する。   The present invention relates to a server and a client connected to each other via a computer network, and a method for controlling them.

ネットワーク経由でサーバにより一括管理されるクライアントで構成されたサーバクライアントシステムでは、システム環境をある日時を境に全てバージョンアップをしたいとシステム管理者が考える場合でも、その更新日時の直前までは前バージョンの環境で動作させることになる。また、実際に更新を行う場合であっても、全てのクライアントにサーバーから一斉に更新ファイルをダウンロードさせようとしても、クライアントはいつでも確実に動いているわけではないので、ダウンロードをさせようとしたタイミングにおいて動作していない場合がある。   In a server client system that consists of clients that are collectively managed by a server via the network, even if the system administrator wants to upgrade the system environment all at a certain date and time, the previous version is immediately before the update date and time. It will be operated in the environment of. Also, even if you actually update, even if you want all clients to download the update file from the server all at once, the client is not always working reliably, so when you try to download May not work.

さらに、ダウンロードした更新ファイルをある日時に全てのクライアントで一斉に実行してシステムのバージョンアップを行う場合も、上記と同様に必ずしも全てのクライアントが動いているわけではないので、適切にバージョンアップが行われないクライアントが存在することがある。   In addition, even when all the clients execute the downloaded update file at the same time on a certain date and time to upgrade the system, not all the clients are running as in the above, so the version can be updated appropriately. There may be clients that are not done.

また、バージョンアッププログラムファイルに日時情報を付随し受信装置に送る。送信装置は複数の受信装置のそれぞれが希望した上記プログラムファイルの実行時刻情報をリスト化しておいて、送出する受信装置に対応した実行時刻情報バージョンアッププログラムファイルに付随する。そして、受信装置において、更新時刻をチェックして、その日時になったときにバージョンアッププログラムを実行する、といった技術が提案されている(特許文献1参照)。
特開2000ー081971号公報
In addition, date information is attached to the upgrade program file and sent to the receiving apparatus. The transmitting device lists the execution time information of the program file desired by each of the plurality of receiving devices, and accompanies the execution time information upgrade program file corresponding to the receiving device to be transmitted. A technique has been proposed in which the receiving device checks the update time and executes the upgrade program when the date and time comes (see Patent Document 1).
JP 2000-081971 A

しかし、上記提案技術では、ダウンロード時やバージョンアップ時に受信装置が動作していなかった場合が全く想定されておらず、例えば、受信装置が更新情報をサーバに確認するような形態を取った場合に、各受信装置が毎回起動時にサーバに対し更新問い合わせを行うとサーバの負荷が増大し、システムダウン等の恐れが発生する。   However, in the above proposed technique, it is not assumed that the receiving device is not operating at the time of downloading or upgrading, for example, when the receiving device takes a form of confirming update information with the server. When each receiving device makes an update inquiry to the server every time it starts up, the load on the server increases and the system may be down.

このように、ネットワーク経由でサーバにより一括管理される複数のクライアントで構成されるサーバ・クライアントシステムでは、更新ファイルのダウンロードやシステム環境のバージョンアップがクライアントの動作状態に大きく影響を受け、効率的なシステム運用を行うことが困難である。   In this way, in a server / client system consisting of multiple clients that are collectively managed by the server via the network, the download of update files and the upgrade of the system environment are greatly affected by the operating status of the client. It is difficult to operate the system.

上記課題を解決するための本発明は、ネットワークに接続され、前記ネットワークを介してクライアントと接続されるサーバの制御方法であって、前記クライアントが有するデータを更新するための新たな更新ファイルの有無を判定する判定工程と、前記新たな更新ファイルが有ると判定された場合に、前記新たな更新ファイルを、前記新たな更新ファイルを実行する時間情報と共に前記クライアントへ送信する送信工程と、前記新たな更新ファイルを未送信のクライアントを管理する管理工程とを有し、前記送信工程では、前記管理工程における管理に基づき、送信済みのクライアントに対しては再度更新ファイルを送信しないことを特徴とする。   The present invention for solving the above problems is a method for controlling a server connected to a network and connected to a client via the network, and whether or not there is a new update file for updating data held by the client A determination step for determining whether there is a new update file, a transmission step for transmitting the new update file to the client together with time information for executing the new update file, and the new A management process for managing clients that have not yet transmitted a new update file, and in the transmission process, based on the management in the management process, the update file is not transmitted to a client that has already been transmitted. .

上記課題を更に解決するための本発明は、ネットワークに接続され、前記ネットワークを介してクライアントと接続されるサーバの制御方法であって、前記クライアントからの接続要求を受け付ける受付工程と、前記接続要求を受け付けた前記クライアントに未送信の更新ファイルの有無を判定する判定工程と、前記未送信の更新ファイルを、前記未送信の更新ファイルを実行する時間情報と共に前記クライアントへ送信する送信工程とを備え、前記接続要求は、前記クライアントのうち、受信した更新ファイルを未実行のクライアント以外により行われることを特徴とする。   The present invention for further solving the above problems is a method for controlling a server connected to a network and connected to a client via the network, the receiving step for receiving a connection request from the client, and the connection request A determination step for determining whether or not there is an unsent update file to the client, and a transmission step for transmitting the unsent update file to the client together with time information for executing the unsent update file. The connection request is made by a client other than an unexecuted client among the clients.

本発明によれば、サーバ・クライアントシステムにおいて、更新ファイルのダウンロードやシステム環境のバージョンアップへのクライアントの動作状態の影響を軽減し、効率的なシステム運用が可能となる。   According to the present invention, in the server / client system, the influence of the operation state of the client on the download of the update file and the version upgrade of the system environment is reduced, and the efficient system operation is possible.

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

本発明は、例えば、図1に示すようなネットワーク越しにサーバで一括管理されたクライアントで構成されるサーバ・クライアントシステムで適用される。本実施形態においては、当該サーバ・クライアントシステムにプリンタが接続され、印刷システムを構築する場合について説明するが、本発明の適用可能なサーバ・クライアントシステムは印刷システムにのみ限定されることなく、目的プログラムを更新ファイルにより更新することでシステム環境をバージョンアップ可能なサーバ・クライアントシステムであれば、どのようなシステムについても適用可能である。   The present invention is applied to, for example, a server / client system composed of clients collectively managed by a server via a network as shown in FIG. In this embodiment, a case where a printer is connected to the server / client system and a printing system is constructed will be described. However, the server / client system to which the present invention is applicable is not limited to the printing system, The present invention can be applied to any system as long as the system environment can be upgraded by updating the program with an update file.

101は印刷システムのサーバであり、更新ファイルのインストールシステムを管理する「サーバ」である。ここで更新ファイルとは、サーバ101からクライアント102へ提供され、クライアント102が有するデータの一部を書き換えることによりデータを更新するためのプログラムファイルであり、例えばプリンタドライバといった目的プログラムのデータの一部分を書き換えるために利用される。このような目的プログラムの更新により、クライアント102の印刷環境を更新することができる。   A print system server 101 is a “server” that manages an update file installation system. Here, the update file is a program file that is provided from the server 101 to the client 102 and updates the data by rewriting a part of the data that the client 102 has. For example, a part of the data of the target program such as a printer driver is stored. Used for rewriting. The printing environment of the client 102 can be updated by updating the target program.

102〜104は印刷システムのサーバで管理されるクライアントであり、サーバ101から提供される更新ファイルを実行することにより、印刷環境の更新を行う端末である。以下、本実施形態の説明においては簡単の為にクライアント102のみについて説明するが、クライアント103及び104についてもクライアント102と同様にして本実施形態に対応する本発明を適用可能であることは言うまでもない。また、ネットワーク106に接続可能なクライアント数は、3台に限定されることなく、より多くの、又はより少ないクライアント数であってもよい。   Reference numerals 102 to 104 denote clients that are managed by the server of the printing system, and are terminals that update the printing environment by executing update files provided from the server 101. In the following description of the present embodiment, only the client 102 will be described for the sake of simplicity. Needless to say, the present invention corresponding to the present embodiment can also be applied to the clients 103 and 104 in the same manner as the client 102. . Further, the number of clients that can be connected to the network 106 is not limited to three, and may be a larger or smaller number of clients.

105は印刷システムを通して印刷を行うプリンタである。106はサーバー101、クライアント102〜104及びプリンタ105が接続されるLAN等のネットワークであり、ルータを介してインターネットに接続する。   A printer 105 performs printing through the printing system. Reference numeral 106 denotes a network such as a LAN to which the server 101, clients 102 to 104 and the printer 105 are connected, and connects to the Internet via a router.

図11は、本発明の実施形態に対応するサーバ101のハードウェア構成の一例を記載する図である。   FIG. 11 is a diagram describing an example of the hardware configuration of the server 101 corresponding to the embodiment of the present invention.

図11において、1101はCPUであり、サーバ101全体の制御を実行する。1102はRAMであり、データ作業領域、一時待避領域として機能する。1103はROMであり、サーバ101を制御するための各種制御プログラムや設定情報等を記憶する。   In FIG. 11, reference numeral 1101 denotes a CPU, which controls the entire server 101. Reference numeral 1102 denotes a RAM, which functions as a data work area and a temporary save area. Reference numeral 1103 denotes a ROM which stores various control programs for controlling the server 101, setting information, and the like.

1104はハードディスクドライブ(HDD)であり、クライアント102に提供される更新ファイルのデータや、クライアント情報管理テーブルなどの各種データを記憶する。1105はネットワークI/F(インターフェース)であり、ネットワーク106を介してデータの送受信を行う。システム管理者は、ネットワークI/Fを介してネットワーク106経由でインターネットから新たな更新ファイルをサーバ101にダウンロードすることにより、サーバ101に新たな更新ファイルを追加することができる。   A hard disk drive (HDD) 1104 stores update file data provided to the client 102 and various data such as a client information management table. A network I / F (interface) 1105 transmits and receives data via the network 106. The system administrator can add a new update file to the server 101 by downloading a new update file from the Internet via the network 106 via the network I / F.

1106はビデオI/F(インターフェース)であり、ディスプレイ装置311に表示する画像の表示制御を行う。311はディスプレイ装置であり、液晶やCRT等から構成される。   Reference numeral 1106 denotes a video I / F (interface), which controls display of an image displayed on the display device 311. Reference numeral 311 denotes a display device, which includes a liquid crystal, a CRT, and the like.

1107はポインティングデバイスであり、例えば、マウス、入力タブレット、タッチパネル等から構成される。1108はキーボードである。このポインティングデバイス1107及びキーボード1108によって、端末の各種入力を実現する入力部として機能する。   A pointing device 1107 includes, for example, a mouse, an input tablet, a touch panel, and the like. Reference numeral 1108 denotes a keyboard. The pointing device 1107 and the keyboard 1108 function as an input unit that realizes various inputs of the terminal.

1109は記録媒体ドライブであり、CD−ROM、CD−R/RW、DVD−ROM、DVD−R/RW、DVD−RAM等から構成される。システム管理者は、これらの記録媒体を利用して、新しい更新ファイルをサーバ101に追加することができる。   A recording medium drive 1109 includes a CD-ROM, CD-R / RW, DVD-ROM, DVD-R / RW, DVD-RAM, and the like. The system administrator can add a new update file to the server 101 using these recording media.

1110は外部機器I/F(インターフェース)であり、USBポート等からなり、メモリカードやリーダライタ装置等の外部接続装置との接続を可能にする。1112は上記各構成要素を相互に接続するバスである。   Reference numeral 1110 denotes an external device I / F (interface), which includes a USB port and the like, and enables connection with an external connection device such as a memory card or a reader / writer device. Reference numeral 1112 denotes a bus that interconnects the above-described components.

図12は、本発明の実施形態に対応するクライアント102のハードウェア構成の一例を記載する図である。クライアント103及び104のハードウェア構成も図12に示すものと同様である。   FIG. 12 is a diagram describing an example of the hardware configuration of the client 102 corresponding to the embodiment of the present invention. The hardware configuration of the clients 103 and 104 is the same as that shown in FIG.

図12において、1201はCPUであり、クライアント102全体の制御を実行する。1202はRAMであり、データ作業領域、一時待避領域として機能する。1203はROMであり、クライアント102を制御するための各種制御プログラムや設定情報等を記憶する。   In FIG. 12, reference numeral 1201 denotes a CPU, which controls the entire client 102. A RAM 1202 functions as a data work area and a temporary save area. A ROM 1203 stores various control programs for controlling the client 102, setting information, and the like.

1204はハードディスクドライブ(HDD)であり、クライアント情報テーブルや、更新ファイルにより更新される各種実行プログラム(プリンタドライバを含む)を記憶する。1205はネットワークI/F(インターフェース)であり、ネットワーク106を介してサーバ101と接続しデータの送受信を行う。   A hard disk drive (HDD) 1204 stores a client information table and various execution programs (including a printer driver) updated by an update file. A network interface (I / F) 1205 is connected to the server 101 via the network 106 and transmits / receives data.

1206はビデオI/F(インターフェース)であり、ディスプレイ装置1211に表示する画像の表示制御を行う。1211はディスプレイ装置であり、液晶やCRT等から構成される。   Reference numeral 1206 denotes a video I / F (interface), which controls display of an image displayed on the display device 1211. Reference numeral 1211 denotes a display device, which includes a liquid crystal, a CRT, and the like.

1207はポインティングデバイスであり、例えば、マウス、入力タブレット、タッチパネル等から構成される。1208はキーボードである。このポインティングデバイス1207及びキーボード1208によって、端末の各種入力を実現する入力部として機能する。   A pointing device 1207 includes, for example, a mouse, an input tablet, a touch panel, and the like. Reference numeral 1208 denotes a keyboard. The pointing device 1207 and the keyboard 1208 function as an input unit that realizes various inputs of the terminal.

1209は記録媒体ドライブであり、CD−ROM、CD−R/RW、DVD−ROM、DVD−R/RW、DVD−RAM等から構成される。1210は外部機器I/F(インターフェース)であり、USBポート等からなり、リーダライタ装置103−2との接続を可能にする。特に、本実施形態では、USBコネクタを有するリーダライタ装置103−2や、メモリカード(以下、USBメモリ)等の接続を可能にする。1212は上記各構成要素を相互に接続するバスである。   Reference numeral 1209 denotes a recording medium drive, which includes a CD-ROM, CD-R / RW, DVD-ROM, DVD-R / RW, DVD-RAM, and the like. Reference numeral 1210 denotes an external device I / F (interface), which includes a USB port and the like, and enables connection with the reader / writer device 103-2. In particular, in this embodiment, it is possible to connect a reader / writer device 103-2 having a USB connector, a memory card (hereinafter referred to as a USB memory), or the like. Reference numeral 1212 denotes a bus for interconnecting the above-described components.

図2aは、本実施形態におけるクライアント情報テーブルの一例を示す図である。クライアント情報テーブルは、クライアント102のHDD1204内に格納される。   FIG. 2A is a diagram illustrating an example of a client information table in the present embodiment. The client information table is stored in the HDD 1204 of the client 102.

クライアント情報テーブルには少なくとも、更新日時201、更新確認日時202、確認間隔時間203が含まれる。   The client information table includes at least an update date / time 201, an update check date / time 202, and a check interval time 203.

より具体的に、更新日時201は、クライアント102の印刷環境の更新日時に関する情報で、本発明の印刷システムのシステム管理者から予め指定される。更新日時201は、例えば、「2004/3/1/AM10:00」のように更新ファイルを実行するタイミングを日付及び時間の情報で表している。また、更新日時201は、クライアント102がサーバ101から更新ファイルをダウンロードする際に、サーバ101からクライアント102へ通知される。即ち、更新日時201とは、クライアント102がサーバ101からダウンロードした更新ファイルを実行する日時に関する情報である。従って、クライアント102は更新ファイルをダウンロードしてすぐに実行するのではなく、更新日時201に基づいて、所望の更新日時において実行することとなる。   More specifically, the update date / time 201 is information related to the update date / time of the printing environment of the client 102 and is designated in advance by the system administrator of the printing system of the present invention. The update date / time 201 represents the timing of executing the update file, for example, “2004/3/1 / AM10: 00” by date and time information. The update date / time 201 is notified from the server 101 to the client 102 when the client 102 downloads an update file from the server 101. That is, the update date / time 201 is information related to the date / time when the client 102 executes the update file downloaded from the server 101. Therefore, the client 102 does not download the update file and immediately executes it, but executes it at a desired update date based on the update date 201.

また、クライアント102は、定期的にサーバ101にアクセスして、更新ファイルを確認している。更新確認日時202は、クライアント102がサーバ101にアクセスして更新ファイルを確認した最新の日時情報である。この更新確認日時202は、例えば、「2004/2/29/AM11:30」のように、クライアント102がサーバ101にアクセスして、更新ファイルの有無を確認した日付及び時間の情報で構成される。   Further, the client 102 periodically accesses the server 101 and confirms an update file. The update confirmation date and time 202 is the latest date and time information when the client 102 accesses the server 101 and confirms the update file. The update confirmation date and time 202 is configured by date and time information when the client 102 accesses the server 101 and confirms the presence or absence of an update file, for example, “2004/2/29 / AM11: 30”. .

クライアント102がサーバ101へアクセスする時間的間隔は、確認間隔時間203によって指定される。この確認間隔時間203は、クライアント102がサーバ101への接続を確保すべき時間間隔を定める情報であって、システム管理者により予め指定される。この確認間隔時間203は、例えば「24h」や「3日」のように、最後に確認を行った日時から経過した時間の情報として定義されても良いし、「AM9:00」のように経過時間ではなく、定期的な時刻の情報として定義されても良い。従って、クライアント102は、最新確認日時202に基づいて、サーバ101にアクセスした日時から確認間隔時間203に基づいて決定される時間間隔だけ時間が経過した場合には、再度サーバ101へアクセスして更新ファイルの内容を確認する。クライアント102は送信フラグ212に基づいて既に更新ファイルが送信されており且つ保持している更新ファイルが未実行である場合には、サーバへの再度の確認は行わない。   The time interval at which the client 102 accesses the server 101 is specified by the confirmation interval time 203. The confirmation interval time 203 is information for determining a time interval at which the client 102 should ensure connection to the server 101, and is specified in advance by the system administrator. The confirmation interval time 203 may be defined as information on the time elapsed from the date and time of the last confirmation, such as “24h” or “3 days”, or may be defined as “AM 9:00”. Instead of time, it may be defined as regular time information. Therefore, the client 102 accesses the server 101 again and updates it when the time interval determined based on the confirmation interval time 203 has elapsed from the date and time when the server 101 was accessed based on the latest confirmation date and time 202. Check the contents of the file. If the update file has already been transmitted based on the transmission flag 212 and the update file held by the client 102 is not yet executed, the client 102 does not confirm again with the server.

図2bは、サーバ101において、更新ファイルを管理するための更新ファイル管理テーブルの一例を示す図である。図2bにおいて、204は、システム管理者によって指定された更新通知日時である。この更新通知日時において、サーバ101からネットワーク106に接続された各クライアントに対して、新しい更新ファイルの追加が行われた旨を通知することができる。なお、この更新通知日時は指定せず、更新日時のみを指定することもできる。その場合には、新しい更新ファイルの追加が行われた時点で、サーバ101から各クライアントへの通知が行われる。   FIG. 2B is a diagram illustrating an example of an update file management table for managing update files in the server 101. In FIG. 2b, reference numeral 204 denotes an update notification date and time designated by the system administrator. At this update notification date and time, the server 101 can notify each client connected to the network 106 that a new update file has been added. Note that it is possible to specify only the update date and time without specifying the update notification date and time. In that case, the server 101 notifies each client when a new update file is added.

205は、システム管理者によって指定された更新日時であり、図2aにおける更新日時201と一致する。206は、更新ファイルのバージョンであり、それぞれの更新ファイルに一意に与えられる。207は更新ファイルの本文データである。   205 is an update date and time designated by the system administrator, which matches the update date and time 201 in FIG. Reference numeral 206 denotes a version of the update file, which is uniquely given to each update file. Reference numeral 207 denotes body data of the update file.

図2cは、サーバ101において、クライアントの更新状況を管理するためのクライアント情報管理テーブルの一例を示す図である。   FIG. 2C is a diagram illustrating an example of a client information management table for managing the client update status in the server 101.

208は、各クライアントに付与された識別番号であり、この識別番号には各クライアントに割り当てられているネットワークアドレスやMACアドレスが対応づけられている。   Reference numeral 208 denotes an identification number assigned to each client, and this identification number is associated with a network address or a MAC address assigned to each client.

209の更新終了時は、各クライアントから送信された更新終了通知を受信した日時の情報である。210の更新確認時は、各クライアントから最新に更新ファイルの有無の確認を受け付けた日時の情報である。211は、各クライアントに現在までに提供された更新ファイルのバージョンを示す現在のバージョン情報である。この現在のバージョン211は、更新終了通知をクライアントから受信した場合に更新される。   When the update is completed at 209, the date and time information of the update completion transmitted from each client is received. The update confirmation of 210 is information on the date and time when confirmation of the presence / absence of the latest update file is received from each client. Reference numeral 211 denotes current version information indicating the version of the update file provided to each client so far. The current version 211 is updated when an update end notification is received from the client.

サーバ101は、更新終了時209と現在のバージョン211を参照することにより、クライアント番号「5」に対応するクライアントにはバージョン1.10及び1.11の更新ファイルが提供されていないことを把握することができる。   By referring to the update version 209 and the current version 211, the server 101 recognizes that the update files of the versions 1.10 and 1.11 are not provided to the client corresponding to the client number “5”. be able to.

サーバ101は、クライアント情報管理テーブルの送信フラグ213に基づいて未送信のクライアントを把握することができる。また、更新情報確認時間210が登録されていないクライアントで且つ送信フラグ213が"1"、つまり送信済みのクライアントに対しては再度の送信を行わず、更新情報確認時間210が登録されていないクライアントで且つ送信フラグが"0"のクライアントのみ再送を行う。

図3aは、サーバ101がクライアント102へ更新ファイルを送信する際の、サーバ101における処理の一例に対応するフローチャートである。
The server 101 can grasp untransmitted clients based on the transmission flag 213 of the client information management table. In addition, a client in which the update information confirmation time 210 is not registered, and the transmission flag 213 is “1”, that is, a client that has not been transmitted and is not registered again. In addition, retransmission is performed only for clients whose transmission flag is “0”.

FIG. 3A is a flowchart corresponding to an example of processing in the server 101 when the server 101 transmits an update file to the client 102.

S301において、印刷環境の新たな更新ファイルが追加されたかどうかを判定する。この更新ファイルの有無は、図2bに示す更新ファイル管理テーブルに、現在のシステム時間以降に更新日時が設定された更新ファイルがあるかどうかによって判定することができる。また、更新ファイルを追加したシステム管理者が新たな更新ファイルの追加指示を手動で行うことによって、当該指示をサーバ101が受け付けたか否かによって判定しても良い。   In step S301, it is determined whether a new update file for the printing environment has been added. The presence or absence of this update file can be determined by whether or not there is an update file in which the update date and time is set after the current system time in the update file management table shown in FIG. Alternatively, the system administrator who added the update file may manually determine whether to add a new update file, and whether or not the server 101 has received the instruction may be determined.

S301において新たな更新ファイルの追加があったと判定されると(S301において「YES」)、S302へ移行する。一方、S301において新たな更新ファイルの追加はないと判定されると(S301において「NO」)、サーバ101からクライアント102へ更新ファイルを配布する必要はないので、そのまま処理を終了する。この場合、S301の処理は、予め定められた時間間隔に応じて定期的に行っても良いし、システム管理者が新たな更新ファイルを追加した際に手動で行っても良い。   If it is determined in S301 that a new update file has been added ("YES" in S301), the process proceeds to S302. On the other hand, if it is determined in S301 that a new update file is not added ("NO" in S301), it is not necessary to distribute the update file from the server 101 to the client 102, and thus the process ends. In this case, the process of S301 may be performed periodically according to a predetermined time interval, or may be performed manually when a system administrator adds a new update file.

S302では、ネットワーク106に接続されサーバ101により管理されているクライアント102及びその他のクライアントに対して、サーバ101から、更新ファイルの追加が行われた旨の通知、即ち、更新通知がなされる。ネットワーク上の各クライアントには、それぞれネットワークアドレスが付与されており、このネットワークアドレスを利用して、サーバ101と各クライアント間における通信が確立される。よって、S302において通信可能なクライアントは、サーバ101が更新案内の通知を行った際に起動中のクライアントに限られる。   In S302, the server 101 notifies the client 102 and other clients connected to the network 106 and other clients that the update file has been added, that is, an update notification. Each client on the network is assigned a network address, and communication between the server 101 and each client is established using this network address. Therefore, the clients that can communicate in S302 are limited to the clients that are active when the server 101 notifies the update guidance.

なお、S302における更新通知は、図2bに示す更新ファイル管理テーブルにおいて更新通知時204が指定されていた場合には、指定された日時において行われることが好ましい。   The update notification in S302 is preferably performed at the specified date and time when the update notification time 204 is specified in the update file management table shown in FIG.

S303では、更新ファイルのダウンロード要求を各クライアントから受け付けたか否かを判定し、要求を受け付けた場合(S303において「YES」)にはS304において更新ファイルをクライアント宛に送信し、S305へ移行する。この更新ファイルには更新日時情報201が付加されている。一方、要求を受け付けない場合(S303において「NO」)には、処理を終了する。   In S303, it is determined whether an update file download request has been received from each client. If the request has been received ("YES" in S303), the update file is transmitted to the client in S304, and the process proceeds to S305. Update date / time information 201 is added to the update file. On the other hand, if the request is not accepted (“NO” in S303), the process ends.

S303及びS304における処理は、新たな更新ファイルの送信要求を行うことのできる起動中のクライアントと間でのみ実行され、起動中でないクライアントについては通信を確立することができないので、更新案内の通知や更新ファイルの送信は行われないこととなる。起動中でないクライアントは図6に示すフローチャートに対応する処理を行って、サーバ101から更新ファイルを取得することとなる。   The processing in S303 and S304 is executed only with a running client that can send a new update file transmission request, and communication cannot be established for a client that is not running. The update file is not sent. A client that is not active performs processing corresponding to the flowchart shown in FIG. 6 and acquires an update file from the server 101.

S305では、送信終了通知をクライアント102から受信し、S306において、クライアント情報管理テーブルを更新する。なお、この場合に更新されるのは、送信フラグ213、である。   In S305, a transmission end notification is received from the client 102, and in S306, the client information management table is updated. In this case, the transmission flag 213 is updated.

図3bは、クライアント102から接続要求を受けてサーバ101が更新ファイルを送信する際の、サーバ101における処理の一例に対応するフローチャートである。   FIG. 3B is a flowchart corresponding to an example of processing in the server 101 when the server 101 receives a connection request from the client 102 and transmits an update file.

S307において、クライアント102からの接続要求があったかどうかを判定する。接続要求があった場合(S307において「YES」)、S308においてクライアント102と接続し、接続要求がない場合(S307において「NO」)には、クライアント102からの接続要求の監視を継続する。   In S307, it is determined whether or not there is a connection request from the client 102. If there is a connection request (“YES” in S307), the client 102 is connected in S308, and if there is no connection request (“NO” in S307), monitoring of the connection request from the client 102 is continued.

S308においては、接続要求のあったクライアント102と接続し、S309において未送信の更新ファイルが有るかどうかを判定する。S308における判定は、図2bの更新ファイル管理テーブル及び図2cのクライアント情報管理テーブルに基づいて行うことができる。   In S308, the client 102 that has made a connection request is connected, and in S309, it is determined whether there is an unsent update file. The determination in S308 can be made based on the update file management table in FIG. 2b and the client information management table in FIG. 2c.

例えば、図2cにおいて、現在接続しているクライアント102のクライアント番号が「2」とすると、更新確認時210が「2004.1.19PM17:00」であり、現在のバージョン211が「1.10」であるので、図2bのバージョン1.11の本文データの更新通知時204の「2004.2.29AM10:00」以降にサーバ101へアクセスしていないこととなる。従って、このクライアントには、バージョン1.11の更新ファイルが未送信であると判定することができる。   For example, in FIG. 2C, if the client number of the currently connected client 102 is “2”, the update confirmation time 210 is “2004.1.19PM17: 00” and the current version 211 is “1.10”. Therefore, the server 101 has not been accessed after “2004.2.29AM10: 00” after the update notification 204 of the text data of version 1.11 of FIG. Therefore, it can be determined that the update file of version 1.11 has not been transmitted to this client.

また、クライアント番号が「5」とすると、更新終了時209が「2003.12.15AM9:20」、更新確認時210が「2004.1.10」、現在のバージョン211が「1.09」である。従って、バージョン1.10とバージョン1.11の更新ファイルが未送信であると判定することができる。   If the client number is “5”, the update completion time 209 is “2003.12.15AM9: 20”, the update confirmation time 210 is “2004.1.10”, and the current version 211 is “1.09”. Therefore, it can be determined that the update files of version 1.10 and version 1.11.

このようにして、未送信の更新ファイルがあると判定された場合(S309において「YES」)、S310においてクライアント102に対して新たな更新ファイルが有る旨の通知を行いS311へ移行する。一方、未送信の更新ファイルが無いと判定された場合(S309において「NO」)は、S314に移行して、クライアント情報管理テーブルを更新して処理を終了する。なお、この場合に更新されるのは、更新確認時210である。   In this way, if it is determined that there is an unsent update file (“YES” in S309), the client 102 is notified that there is a new update file in S310, and the process proceeds to S311. On the other hand, if it is determined that there is no unsent update file (“NO” in S309), the process proceeds to S314, the client information management table is updated, and the process ends. In this case, the update is performed at the update confirmation time 210.

S311では、クライアント102からの送信要求を受信し、S313においてS309で未送信と判定された更新ファイルをクライアント102宛に送信する。S314では、クライアントから送信される更新終了通知を受信し、S314において、クライアント情報管理テーブルを更新して処理を終了する。なお、この場合に更新されるのは、更新終了時209、更新確認時210及び現在のバージョン211である。   In S <b> 311, the transmission request from the client 102 is received, and the update file determined to be untransmitted in S <b> 309 in S <b> 313 is transmitted to the client 102. In S314, an update end notification transmitted from the client is received. In S314, the client information management table is updated, and the process ends. In this case, what is updated is the update version 209, the update confirmation time 210, and the current version 211.

次に、サーバ101からの更新案内の通知が行われた際に起動中であった各クライアントにおいて実行される処理の一例を図4を参照して説明する。図4は、クライアント102がサーバ101から通知を受けて更新ファイルを受け取る際の、クライアント102における処理の一例に対応するフローチャートである。なお、同様の処理は、ネットワーク106に接続された他のクライアントにおいても実行される。   Next, an example of processing executed in each client that is running when notification of update guidance from the server 101 is performed will be described with reference to FIG. FIG. 4 is a flowchart corresponding to an example of processing in the client 102 when the client 102 receives a notification from the server 101 and receives an update file. Note that the same processing is executed in other clients connected to the network 106.

クライアント102は、S401においてサーバ101から更新通知を受信すると、S402においてサーバ101に対して更新ファイルの送信を要求する。S403では、更新ファイルを問題なく受信できたか否かを判定し、受信できたと判定された場合(S403で「YES」)には、S404へ移行して、更新確認日時情報202を現在の日時に更新する。   When the client 102 receives the update notification from the server 101 in S401, the client 102 requests the server 101 to transmit an update file in S402. In S403, it is determined whether or not the update file has been successfully received. If it is determined that the update file has been received ("YES" in S403), the process proceeds to S404, and the update confirmation date and time information 202 is set to the current date and time. Update.

一方、更新ファイルを受信できなかった場合には、S405へ移行してサーバ101への問い合わせを行い、サーバ101から応答が得られた場合には(S406で「NO」)、S402において再度更新ファイルの送信要求を行う。一方、サーバ101から応答が得られなかった場合には(S406で「YES」)、そのまま処理を終了する。   On the other hand, if the update file could not be received, the process proceeds to S405 and an inquiry is made to the server 101. If a response is obtained from the server 101 ("NO" in S406), the update file is again returned in S402. Request to send. On the other hand, when a response is not obtained from the server 101 (“YES” in S406), the process is terminated as it is.

S404では、受信した更新ファイルをハードディスク1204に格納すると共に、更新確認日時情報202を更新した後、S407に移行し、更新ファイルに付加されている更新日時201を読み出し、クライアント情報テーブル200の更新日時201を更新する。   In S404, the received update file is stored in the hard disk 1204 and the update confirmation date / time information 202 is updated. Then, the process proceeds to S407, where the update date / time 201 added to the update file is read, and the update date / time of the client information table 200 is read. 201 is updated.

また、S408において、OSのタイマーを更新日時201の日時情報に設定する。   In step S <b> 408, the OS timer is set in the date / time information of the update date / time 201.

次に、新たな更新ファイルを受信したクライアント102において、当該更新ファイルを実行して印刷環境を更新する際に行われる処理の一例を図5を参照して説明する。図5は、クライアント102における更新ファイルの実行処理の一例に対応するフローチャートであり、ネットワーク106に接続されている他のクライアントにおいても、同様の処理が実行される。   Next, an example of processing performed when the client 102 that has received a new update file executes the update file to update the printing environment will be described with reference to FIG. FIG. 5 is a flowchart corresponding to an example of update file execution processing in the client 102, and similar processing is executed in other clients connected to the network 106.

S501では、図4のS408で設定したタイマーがタイムアップしたかどうかを判定する。タイムアップしていない場合(S501において「NO」)は、タイマーの監視を継続する。一方、タイムアップした場合(S501において「YES」)には、S502に移行して、クライアント情報テーブル200の更新日時201をRAM1202のワークエリアに読み出して現在のシステム時間と比較を行う。このような比較を行うのは、タイマーによるカウントとシステム時間との誤差を解消するためである。   In S501, it is determined whether or not the timer set in S408 of FIG. 4 has expired. If the time is not up (“NO” in S501), the monitoring of the timer is continued. On the other hand, when the time is up (“YES” in S501), the process proceeds to S502, where the update date 201 of the client information table 200 is read into the work area of the RAM 1202 and compared with the current system time. The comparison is performed in order to eliminate an error between the count by the timer and the system time.

比較の結果、現在のシステム時間が、更新日時201において設定された更新日時と一致するか、又は、既に更新日時経過している場合(S503において「YES」)には、S504へ移行する。一方、現在のシステム時間が更新日時に至っていない場合(S503において「NO」)には、現在のシステム時間の監視を継続する。   As a result of comparison, if the current system time matches the update date and time set in the update date and time 201, or if the update date and time has already passed (“YES” in S503), the process proceeds to S504. On the other hand, if the current system time has not reached the update date and time (“NO” in S503), monitoring of the current system time is continued.

S504では、S404でハードディスク1204に格納された更新ファイルを、RAM1202のワークエリアに読み出し、更新ファイルを実行する。この更新ファイルの実行により目的プログラムの一部が修正され、印刷環境が更新される。更新ファイルの実行が終わると、S505へ移行して更新処理の終了をサーバ101へ通知する。   In S504, the update file stored in the hard disk 1204 in S404 is read into the work area of the RAM 1202, and the update file is executed. By executing this update file, a part of the target program is corrected and the printing environment is updated. When the execution of the update file is completed, the process proceeds to S505 to notify the server 101 of the end of the update process.

サーバ101では、クライアント102から送信された更新処理の終了通知を受信し、サーバ101で管理する各クライアントを管理するテーブルの内容を更新する。   The server 101 receives the update processing end notification transmitted from the client 102 and updates the contents of the table managing each client managed by the server 101.

次に、クライアント102から更新ファイルの確認を行い、印刷環境の更新処理を行う場合について図6を参照して説明する。図6は、クライアント102からサーバ101へ更新ファイルの確認を行って、印刷環境の更新処理を行う場合の処理の一例に対応するフローチャートである。   Next, the case where the update file is confirmed from the client 102 and the update processing of the printing environment is performed will be described with reference to FIG. FIG. 6 is a flowchart corresponding to an example of processing when the update file is confirmed from the client 102 to the server 101 and update processing of the printing environment is performed.

図6に対応する処理は、サーバ101から更新通知が行われた際に対応するクライアント102が起動されておらず、当該更新通知を受信することができなかった場合に行われる処理である。ここでは、クライアント102側で更新確認日時202から確認間隔時間203が経過したかどうかに基づいてサーバ101へのアクセスを行うかどうかが判定される。   The process corresponding to FIG. 6 is a process performed when the corresponding client 102 is not activated when an update notification is made from the server 101 and the update notification cannot be received. Here, whether to access the server 101 is determined based on whether the confirmation interval time 203 has elapsed from the update confirmation date 202 on the client 102 side.

まず、S601では、クライアントで既に更新ファイルを受信していて、実行していない更新ファイルが存在するかを確認する。もし、存在する場合は、S602で更新ファイルを実行する。   First, in S601, it is confirmed whether there is an update file that has already been received by the client and has not been executed. If it exists, the update file is executed in S602.

次に、S603では、現在のシステム時間に基づいて、クライアント情報テーブル200の更新確認日時202から確認間隔時間203が経過したかどうかを判定する。判定の結果、確認間隔時間203が経過している場合(S603において「YES」)には、S604に移行し、経過していない場合には、確認間隔時間203の経過を監視する。   Next, in S603, it is determined whether or not the confirmation interval time 203 has elapsed from the update confirmation date 202 of the client information table 200 based on the current system time. As a result of the determination, if the confirmation interval time 203 has elapsed (“YES” in S603), the process proceeds to S604, and if it has not elapsed, the elapse of the confirmation interval time 203 is monitored.

S604ではサーバ101へ接続し、新たな更新ファイルの追加が行われたかどうかを判定する。S605では、更新確認日時情報を現在のシステム時間に基づいて更新する。S604における判定の結果、新たな更新ファイルがある場合(S606において「YES」)には、S607へ移行し、サーバ101に対して当該更新ファイルの送信を要求する。一方、新たな更新ファイルがない場合には、そのまま処理を終了する。なお、処理終了後にステップS603の判定が再度行われる場合には、S605における更新後の更新確認日時から確認間隔時間が経過したかどうかが判定される。   In step S604, the server 101 is connected to determine whether a new update file has been added. In step S605, the update confirmation date / time information is updated based on the current system time. If the result of determination in S <b> 604 is that there is a new update file (“YES” in S <b> 606), the process proceeds to S <b> 607 and requests the server 101 to transmit the update file. On the other hand, if there is no new update file, the process ends. When the determination in step S603 is performed again after the process is completed, it is determined whether the confirmation interval time has elapsed from the update confirmation date and time after the update in S605.

S607で更新ファイルの送信要求をした後は、S608において更新ファイルを受信し、S609では、受信した更新ファイルに付加された更新日時情報によりクライアント情報テーブル200の更新日時201を更新する。S610では、更新された更新日時201の内容に基づいて、現在のシステム時間が当該更新日時を経過しているかどうかを判定する。判定の結果、更新日時を経過している場合(S610において「YES」)には、S611に移行して更新ファイルを実行して、印刷環境の更新を行う。印刷環境の更新が終了した場合には、S612においてサーバ101に対して更新処理の終了を通知して処理を終了する。   After sending the update file transmission request in S607, the update file is received in S608, and in S609, the update date 201 of the client information table 200 is updated with the update date information added to the received update file. In S610, based on the content of the updated update date / time 201, it is determined whether or not the current system time has passed the update date / time. As a result of the determination, if the update date has passed ("YES" in S610), the process proceeds to S611 to execute the update file and update the printing environment. When the update of the printing environment is completed, the server 101 is notified of the end of the update process in S612, and the process ends.

一方、更新日時を経過していない場合(S610において「NO」)には、S613においてOSのタイマーをスタートさせ、処理を終了する。   On the other hand, if the update date has not elapsed (“NO” in S610), the OS timer is started in S613, and the process ends.

次に、サーバ101とクライアント102との状態に応じた、サーバ101とクライアント102間の通信形態について、図7から図10までを参照して説明する。   Next, a communication mode between the server 101 and the client 102 according to the state between the server 101 and the client 102 will be described with reference to FIGS.

図7は、サーバ101が更新通知を行った際に、クライアント102が起動中である場合を記載している。   FIG. 7 shows a case where the client 102 is running when the server 101 issues an update notification.

ここにおいて、T701において、サーバ101から印刷環境の更新通知がクライアント102へ送信される。T702において、クライアント102からは更新通知に対応して、更新ファイルの送信要求がサーバ101へ送信される。サーバ101は、クライアント102からの要求に対し、更新ファイルを送信する。このとき、更新ファイルには更新日時201が付加される。   Here, in T <b> 701, a print environment update notification is transmitted from the server 101 to the client 102. In T702, an update file transmission request is transmitted from the client 102 to the server 101 in response to the update notification. The server 101 transmits an update file in response to a request from the client 102. At this time, the update date 201 is added to the update file.

T704は、更新日時201において指定された更新日時を示しており、クライアント102は更新日時に到達すると、T705において更新ファイルを実行して印刷環境の更新を行う。更新が完了するとT706においてクライアント102からサーバ101へ、更新終了の通知がなされる。   T704 indicates the update date and time specified in the update date and time 201. When the client 102 reaches the update date and time, the client 102 executes the update file and updates the printing environment in T705. When the update is completed, notification of completion of the update is made from the client 102 to the server 101 at T706.

図7の例では、サーバ101では図3aの処理が実行され、クライアント102では図4の処理が実行される。   In the example of FIG. 7, the server 101 executes the process of FIG. 3a, and the client 102 executes the process of FIG.

次に、図8は、サーバ101から更新ファイルを受信した後、クライアント102が停止したまま、更新日時を経過してしまった場合を記載している。T801からT803までは、図7と同様なので説明は省略する。図8の例では、クライアント102が、更新ファイルを受信した後、停止状態となりそのままファイル更新日時を経過してしまう。クライアントが再度起動された場合には、T805において更新ファイルを実行してシステムの更新が行われ、T806では更新終了通知がサーバ101へ送信される。   Next, FIG. 8 shows a case where the update date and time has passed with the client 102 stopped after receiving the update file from the server 101. Since T801 to T803 are the same as those in FIG. In the example of FIG. 8, after the client 102 receives the update file, the client 102 is stopped and the file update date and time passes. When the client is activated again, the update file is executed at T805 to update the system, and an update end notification is transmitted to the server 101 at T806.

図8の例では、サーバ101では図3aの処理が実行され、クライアント102では図4及び図5の処理が実行される。   In the example of FIG. 8, the server 101 executes the process of FIG. 3 a, and the client 102 executes the processes of FIGS. 4 and 5.

図9は、サーバ101が印刷環境の更新通知を行った際にクライアント102が停止中であり、その後クライアント102が起動されて、サーバ101へ問い合わせを行う場合を記載している。   FIG. 9 illustrates a case where the client 102 is stopped when the server 101 issues a print environment update notification, and then the client 102 is activated to make an inquiry to the server 101.

まず、サーバ101はT901においてクライアント102に対して印刷環境の更新通知を行う。しかしこの場合では、クライアント102は停止中なのでクライアント102からは応答を得られない。クライアント102が起動されると確認間隔時間203が経過したかどうかが判定され、当該時間が経過した場合にはT902においてサーバ101に更新の有無を確認する。この結果、新たな更新ファイルが追加されていた場合には、T903においてサーバ101から更新ファイルがクライアント102宛に送信される。その後の更新ファイルの実行処理の内容は、図7で説明した通りであるので省略する。   First, the server 101 sends a print environment update notification to the client 102 in T901. However, in this case, since the client 102 is stopped, a response cannot be obtained from the client 102. When the client 102 is activated, it is determined whether or not the confirmation interval time 203 has elapsed. If the time has elapsed, the server 101 is checked for the presence or absence of an update in T902. As a result, when a new update file has been added, the update file is transmitted from the server 101 to the client 102 at T903. The contents of the subsequent update file execution process are the same as described with reference to FIG.

図9の例では、サーバ101では図3a及び図3bの処理が実行され、クライアント102では図6の処理が実行される。   In the example of FIG. 9, the server 101 executes the processes of FIGS. 3a and 3b, and the client 102 executes the process of FIG.

図10は、サーバ101が印刷環境の更新通知を行った際にクライアント102が停止中であり、クライアントが停止状態のまま更新日時を経過してしまった場合を記載している。   FIG. 10 shows a case where the client 102 is stopped when the server 101 issues a print environment update notification, and the update date and time has passed with the client stopped.

まず、サーバ101はT1001においてクライアント102に対して印刷環境の更新通知を行う。しかしこの場合では、クライアント102は停止中なのでクライアント102からは応答を得られない。クライアントは停止状態のままファイルの更新日時T1002を経過する。その後クライアント102が起動されると確認間隔時間203が経過したかどうかが判定され、当該時間が経過した場合にはT902においてサーバ101に更新の有無を確認する。この結果、新たな更新ファイルが追加されているので、T903においてサーバ101から更新ファイルがクライアント102宛に送信される。その後の更新ファイルの実行処理の内容は、図7で説明した通りであるので省略する。   First, the server 101 sends a print environment update notification to the client 102 in T1001. However, in this case, since the client 102 is stopped, a response cannot be obtained from the client 102. The client passes the file update date T1002 while being stopped. After that, when the client 102 is activated, it is determined whether or not the confirmation interval time 203 has elapsed. When the time has elapsed, the server 101 is checked for the presence or absence of an update in T902. As a result, since a new update file has been added, the update file is transmitted from the server 101 to the client 102 at T903. The contents of the subsequent update file execution process are the same as described with reference to FIG.

図10の例では、サーバ101では図3a及び図3bの処理が実行され、クライアント102では図6の処理が実行される。   In the example of FIG. 10, the server 101 executes the processes of FIGS. 3a and 3b, and the client 102 executes the process of FIG.

以上のように、本実施形態に対応する本発明では、システム管理者からサーバ101上に新たな更新ファイルが追加された場合に、各クライアントに対して印刷環境の更新通知を行い、その時点において起動されているクライアントに対して新しい更新ファイルを当該更新ファイルの実行タイミングを指定する情報と併せて提供する。一方、その時点において起動されていなかったクライアントに対しては、一定のタイミングでサーバ101側へ問い合わせを行わせることにより、更新ファイルを取得することを可能としている。   As described above, in the present invention corresponding to the present embodiment, when a new update file is added on the server 101 from the system administrator, a print environment update notification is sent to each client, and at that time A new update file is provided to the active client together with information specifying the execution timing of the update file. On the other hand, an update file can be acquired by making an inquiry to the server 101 side at a fixed timing for a client that has not been activated at that time.

これにより、サーバ101からの更新通知時に停止中のクライアントに対しても、更新ファイルを提供することができ、また、更新ファイルの提供タイミングと、実際に更新ファイルを実行してシステムを更新するタイミングとに、一定のタイムラグを設けておくことにより、複数のクライアントの印刷環境を同時期に更新することが可能となる。また、各クライアントは、システム管理者が指定する日時までは前バージョンの環境で動作し、指定された日時以降はバージョンアップされた環境で動作する。   As a result, the update file can be provided even to a client that is stopped at the time of the update notification from the server 101, and the update file provision timing and the timing at which the system is updated by actually executing the update file In addition, by providing a certain time lag, it is possible to update the printing environment of a plurality of clients at the same time. Each client operates in the environment of the previous version until the date and time specified by the system administrator, and operates in the upgraded environment after the specified date and time.

停止期間が長かったために更新時期を逸したクライアントについても、起動時にサーバ101へアクセスするように制御されるので、起動後直ちに印刷環境を更新することが可能となる。   Even for a client that has missed the update time due to a long suspension period, it is controlled to access the server 101 at the time of activation, so that the printing environment can be updated immediately after activation.

このように、システム管理者が印刷環境をある日時を境に全てバージョンアップをしたいが、その更新日時の前までは前バージョンの印刷環境で動作させたい場合に、印刷環境のバージョンを更新する前からクライアント側での更新実行の予約が行え、実際にバージョンアップを行いたい日以降に、クライアントでユーザが印刷環境を使用する前までに確実に印刷環境のバージョンアップを行うことができる。   In this way, when the system administrator wants to upgrade all the printing environments at a certain date and time, but wants to operate in the previous version printing environment before the updating date and time, before updating the printing environment version The update execution can be reserved on the client side, and the print environment can be surely upgraded before the user uses the print environment on the client after the date on which the update is actually desired.

また、クライアント自身が未実行の更新ファイルがあれば、サーバに更新ファイルの要求を行なわないので、サーバが都合の良いタイミングで更新ファイルを各クライアントに配布することができ、且つ、クライアントからの余分なサーバへのアクセスを防ぐことが可能となる。   In addition, if the client itself has an unexecuted update file, the server does not request the update file, so the server can distribute the update file to each client at a convenient timing, and the client can receive an extra file. It is possible to prevent access to a secure server.

[その他の実施形態]
なお、本発明は、複数の機器(例えばホストコンピュータ、インタフェイス機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用してもよい。
[Other Embodiments]
Note that the present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, and a printer), and a device (for example, a copying machine and a facsimile device) including a single device. You may apply to.

また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Another object of the present invention is to supply a storage medium (or recording medium) in which a program code of software that realizes the functions of the above-described embodiments is recorded to a system or apparatus, and the computer (or CPU or CPU) of the system or apparatus. Needless to say, this can also be achieved by the MPU) reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Furthermore, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function is determined based on the instruction of the program code. It goes without saying that the CPU or the like provided in the expansion card or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

本発明の実施形態に対応するサーバ・クライアントシステムの構成の一例を示す図である。It is a figure which shows an example of a structure of the server client system corresponding to embodiment of this invention. 本発明の実施形態に対応するクライアント情報のテーブルの一例を示す図である。It is a figure which shows an example of the table of the client information corresponding to embodiment of this invention. 本発明の実施形態に対応する更新ファイルの一例を示す図である。It is a figure which shows an example of the update file corresponding to embodiment of this invention. 本発明の実施形態に対応する、サーバ101で管理されるクライアント情報の一例を示す図である。It is a figure which shows an example of the client information managed with the server 101 corresponding to embodiment of this invention. 本発明の実施形態に対応するサーバ101における処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process in the server 101 corresponding to embodiment of this invention. 本発明の実施形態に対応するサーバ101における処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process in the server 101 corresponding to embodiment of this invention. 本発明の実施形態に対応するクライアント102における処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process in the client 102 corresponding to embodiment of this invention. 本発明の実施形態に対応するクライアント102における処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process in the client 102 corresponding to embodiment of this invention. 本発明の実施形態に対応するクライアント102における処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process in the client 102 corresponding to embodiment of this invention. 本発明の実施形態に対応する、サーバ101とクライアント102との間の通信の一例を示す図である。It is a figure which shows an example of the communication between the server 101 and the client 102 corresponding to embodiment of this invention. 本発明の実施形態に対応する、サーバ101とクライアント102との間の通信の一例を示す図である。It is a figure which shows an example of the communication between the server 101 and the client 102 corresponding to embodiment of this invention. 本発明の実施形態に対応する、サーバ101とクライアント102との間の通信の一例を示す図である。It is a figure which shows an example of the communication between the server 101 and the client 102 corresponding to embodiment of this invention. 本発明の実施形態に対応する、サーバ101とクライアント102との間の通信の一例を示す図である。It is a figure which shows an example of the communication between the server 101 and the client 102 corresponding to embodiment of this invention. 本発明の実施形態に対応する、サーバ101の構成の一例を示す図である。It is a figure which shows an example of a structure of the server 101 corresponding to embodiment of this invention. 本発明の実施形態に対応する、クライアント102の構成の一例を示す図である。It is a figure which shows an example of a structure of the client 102 corresponding to embodiment of this invention.

Claims (6)

ネットワークに接続され、前記ネットワークを介してクライアントと接続されるサーバの制御方法であって、
前記クライアントが有するデータを更新するための新たな更新ファイルの有無を判定する判定工程と、
前記新たな更新ファイルが有ると判定された場合に、前記新たな更新ファイルを、前記新たな更新ファイルを実行する時間情報と共に前記クライアントへ送信する送信工程と、
前記新たな更新ファイルを未送信のクライアントを管理する管理工程とを有し、前記送信工程では、前記管理工程における管理に基づき、送信済みのクライアントに対しては再度更新ファイルを送信しないことを特徴とするサーバの制御方法。
A method for controlling a server connected to a network and connected to a client via the network,
A determination step of determining the presence or absence of a new update file for updating data held by the client;
A transmission step of transmitting the new update file to the client together with time information for executing the new update file when it is determined that the new update file is present;
A management process for managing clients that have not yet transmitted the new update file, and in the transmission process, the update file is not transmitted again to the clients that have already been transmitted based on the management in the management process. Server control method.
ネットワークに接続され、前記ネットワークを介してクライアントと接続されるサーバの制御方法であって、
前記クライアントからの接続要求を受け付ける受付工程と、
前記接続要求を受け付けた前記クライアントに未送信の更新ファイルの有無を判定する判定工程と、
前記未送信の更新ファイルを、前記未送信の更新ファイルを実行する時間情報と共に前記クライアントへ送信する送信工程とを備え、
前記接続要求は、前記クライアントのうち、受信した更新ファイルを未実行のクライアント以外により行われることを特徴とするサーバの制御方法。
A method for controlling a server connected to a network and connected to a client via the network,
Accepting a connection request from the client;
A determination step of determining whether there is an unsent update file to the client that has received the connection request;
A transmission step of transmitting the unsent update file to the client together with time information for executing the unsent update file;
The server control method, wherein the connection request is made by a client other than the client that has not yet executed the received update file among the clients.
ネットワークに接続され、前記ネットワークを介してサーバと接続されるクライアントの制御方法であって、
前記クライアントが有するデータを更新するための新たな更新ファイルの送信を前記サーバへ要求する要求工程と、
前記新たな更新ファイルを、前記新たな更新ファイルを実行するタイミングに関する第1の時間情報と共に受信する第2の受信工程と、
前記第1の時間情報に基づいて、前記新たな更新ファイルを実行するか否かを判定する第1の判定工程と、
前記判定の結果に基づいて、前記新たな更新ファイルを実行して、前記データを更新する更新工程と
を備えることを特徴とするクライアントの制御方法。
A method for controlling a client connected to a network and connected to a server via the network,
A requesting step for requesting the server to send a new update file for updating data held by the client;
A second receiving step of receiving the new update file together with first time information relating to a timing of executing the new update file;
A first determination step of determining whether to execute the new update file based on the first time information;
A client control method comprising: an update step of executing the new update file and updating the data based on a result of the determination.
前記第1の時間情報は前記新たな更新ファイルを実行する日時の情報であって、
前記第1の判定工程では、前記日時の情報と前記クライアントにおけるシステム時間とが比較され、前記システム時間が前記日時と一致又は前記日時を経過している場合に前記新たな更新ファイルを実行すると判定されることを特徴とする請求項3に記載のクライアントの制御方法。
The first time information is information on a date and time when the new update file is executed,
In the first determination step, the date and time information is compared with the system time in the client, and it is determined that the new update file is executed when the system time matches the date and time or the date and time have passed. The client control method according to claim 3, wherein:
前記クライアントが、前記サーバに最新に接続した日時に関する第1の情報と、前記サーバへの接続を確保すべき時間間隔に関する第2の情報とに基づいて、前記最先に接続した日時から、前記時間間隔が経過したか否かを判定する第2の判定工程と、
前記時間間隔が経過したと判定された場合に、前記サーバと接続する接続工程と、
前記サーバから、前記クライアントが未受信の更新ファイルを、前記未受信の更新ファイルを実行する第2の時間情報と共に受信する第3の受信工程と
を更に備え、
前記第2の時間情報に基づいて、前記第1の判定工程において前記未受信の更新ファイルが実行されるか否かが判定されることを特徴とする請求項3又は4に記載のクライアントの制御方法。
From the date and time when the client connected to the server based on the first information about the date and time when the client was most recently connected and the second information about the time interval when the connection to the server should be secured, A second determination step of determining whether the time interval has elapsed;
A connection step for connecting to the server when it is determined that the time interval has passed;
A third receiving step of receiving, from the server, an update file that has not been received by the client together with second time information for executing the update file that has not been received;
5. The client control according to claim 3, wherein whether or not the unreceived update file is executed is determined in the first determination step based on the second time information. Method.
前記第2の判定工程における判定は、前記クライアントが停止状態から起動された後に実行されることを特徴とする請求項5に記載のクライアントの制御方法。   6. The client control method according to claim 5, wherein the determination in the second determination step is executed after the client is started from a stopped state.
JP2004173008A 2004-06-10 2004-06-10 Server, client, and control method thereof Withdrawn JP2005352778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004173008A JP2005352778A (en) 2004-06-10 2004-06-10 Server, client, and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004173008A JP2005352778A (en) 2004-06-10 2004-06-10 Server, client, and control method thereof

Publications (1)

Publication Number Publication Date
JP2005352778A true JP2005352778A (en) 2005-12-22

Family

ID=35587211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004173008A Withdrawn JP2005352778A (en) 2004-06-10 2004-06-10 Server, client, and control method thereof

Country Status (1)

Country Link
JP (1) JP2005352778A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007310659A (en) * 2006-05-18 2007-11-29 Ntt Docomo Inc Mobile communication terminal, distribution server, update notification distribution system, and update notification control method
JP2007334602A (en) * 2006-06-14 2007-12-27 Brother Ind Ltd Update data delivery system, terminal device therein, update data delivery device, connection control device, update data delivery method, and program used therefor
JP2008022097A (en) * 2006-07-11 2008-01-31 Meidensha Corp Data communication system of monitoring control system
JP2008104036A (en) * 2006-10-20 2008-05-01 Sumitomo Electric Ind Ltd Communication device
WO2011007413A1 (en) * 2009-07-13 2011-01-20 株式会社Pfu Distribution system, server device, terminal device, and distribution method
US7958210B2 (en) 2008-03-19 2011-06-07 Fujitsu Limited Update management method and update management unit
JP2012113489A (en) * 2010-11-24 2012-06-14 Hitachi Systems Ltd Client program automatic updating system
JP2015167295A (en) * 2014-03-03 2015-09-24 株式会社ネットリソースマネジメント System and method for vpn connection
WO2016208259A1 (en) * 2015-06-23 2016-12-29 株式会社Jvcケンウッド Management device, wireless device, communication system, and management method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007310659A (en) * 2006-05-18 2007-11-29 Ntt Docomo Inc Mobile communication terminal, distribution server, update notification distribution system, and update notification control method
JP4699279B2 (en) * 2006-05-18 2011-06-08 株式会社エヌ・ティ・ティ・ドコモ Mobile communication terminal, distribution server, update notification distribution system, and update notification control method
JP2007334602A (en) * 2006-06-14 2007-12-27 Brother Ind Ltd Update data delivery system, terminal device therein, update data delivery device, connection control device, update data delivery method, and program used therefor
JP2008022097A (en) * 2006-07-11 2008-01-31 Meidensha Corp Data communication system of monitoring control system
JP2008104036A (en) * 2006-10-20 2008-05-01 Sumitomo Electric Ind Ltd Communication device
US7958210B2 (en) 2008-03-19 2011-06-07 Fujitsu Limited Update management method and update management unit
WO2011007413A1 (en) * 2009-07-13 2011-01-20 株式会社Pfu Distribution system, server device, terminal device, and distribution method
JP4828637B2 (en) * 2009-07-13 2011-11-30 株式会社Pfu Distribution system, server device, and distribution method
US8423996B2 (en) 2009-07-13 2013-04-16 Pfu Limited Delivery system, server device, terminal device, and delivery method
JP2012113489A (en) * 2010-11-24 2012-06-14 Hitachi Systems Ltd Client program automatic updating system
JP2015167295A (en) * 2014-03-03 2015-09-24 株式会社ネットリソースマネジメント System and method for vpn connection
WO2016208259A1 (en) * 2015-06-23 2016-12-29 株式会社Jvcケンウッド Management device, wireless device, communication system, and management method

Similar Documents

Publication Publication Date Title
JP4440107B2 (en) Methods and configurations for using shared resources in a network
JP3682777B2 (en) Image forming apparatus and remote management system
JP4811486B2 (en) Program, information processing system, and information processing apparatus
US8804168B2 (en) System, server, image forming apparatus, system control method, and storage medium
US9390273B2 (en) Device managing apparatus, device managing system, and recording medium storing a software management program
JP7069672B2 (en) Application update method and program
JP2007334898A (en) System and method for distributing data
US20060277279A1 (en) Image processing apparatus used in network environment
JP2005284497A (en) Relay unit, management server, relay method and authentication method
US20090059284A1 (en) Job-submission-request apparatus and method
JP2005346723A (en) System and method for managing a plurality of resources over a plurality of printers
JP2004287477A (en) Data storage/readout control for mass storage device
JP2006190320A (en) System for supporting use of device on network
JP2005352778A (en) Server, client, and control method thereof
JP2004213132A (en) Printing system, printer driver introduction method, printer driver-distributing computer program, record medium and printer driver distribution server
US20120110198A1 (en) License management system and function providing device
JP2002189594A (en) Automatic latest version setting system and automatic setting method
US8166199B2 (en) Communication apparatus, network system, communication method and program
US20050228979A1 (en) Stored-program device
JP2007323653A (en) Data delivery system, data delivery method and data delivery program
JP2009193444A (en) Software update system, management device and terminal
JPH11110223A (en) Distribution update system for peripheral equipment operation software and computer readable storage medium
US20060130043A1 (en) Method and apparatus to upgrade software of an apparatus having a plurality of microprocessors
JP7040165B2 (en) Information processing equipment, information processing systems and programs
US9009244B2 (en) Image forming apparatus, and control method thereof

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070904