JP7764734B2 - Management system, device, management method and program - Google Patents
Management system, device, management method and programInfo
- Publication number
- JP7764734B2 JP7764734B2 JP2021181400A JP2021181400A JP7764734B2 JP 7764734 B2 JP7764734 B2 JP 7764734B2 JP 2021181400 A JP2021181400 A JP 2021181400A JP 2021181400 A JP2021181400 A JP 2021181400A JP 7764734 B2 JP7764734 B2 JP 7764734B2
- Authority
- JP
- Japan
- Prior art keywords
- task
- period
- search
- management
- management system
- 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.)
- Active
Links
Landscapes
- Facsimiles In General (AREA)
Description
本開示は、端末装置を管理する技術に関する。 This disclosure relates to technology for managing terminal devices.
特許文献1には、管理装置がサーバを介して画像形成装置を管理する管理システムが記載されている。 Patent Document 1 describes a management system in which a management device manages image forming devices via a server.
画像形成装置などの端末装置を管理装置が管理する管理システムでは、管理装置と端末装置との間で様々なデータを送受信するために、サーバを介した管理装置と端末装置との間のデータ伝達を効率化することが望まれる。 In a management system in which a management device manages terminal devices such as image forming devices, it is desirable to streamline data transmission between the management device and terminal devices via a server in order to send and receive various data between the management device and terminal devices.
本開示は、管理システムにおけるデータ伝達を効率化することを目的とする。 The purpose of this disclosure is to improve the efficiency of data transmission in management systems.
本開示の一態様は、管理装置と、デバイスと、管理装置およびデバイスと通信可能に構成された記憶装置とを備える管理システムである。
管理装置は、タスク実行指示処理を実行するように構成される。タスク実行指示処理は、第1タスクの内容を示すタスク内容情報と、第1タスクが実行された後に第1タスクの次に連続して実行させる第2タスクの有無を示すタスク有無情報とを含むタスク実行指示を記憶装置にアップロードする。
One aspect of the present disclosure is a management system including a management device, a device, and a storage device configured to be able to communicate with the management device and the device.
The management device is configured to execute a task execution instruction process that uploads, to the storage device, a task execution instruction that includes task content information indicating the content of a first task and task presence/absence information indicating whether or not a second task is to be executed successively after the first task has been executed.
デバイスは、連続判断処理と、第1周期設定処理と、第2周期設定処理とを実行するように構成される。
連続判断処理は、第1タスクに対応するタスク実行指示を記憶装置から取得した場合において、タスク有無情報に基づいて第2タスクが存在するか否かを判断する。
The device is configured to execute a continuity determination process, a first period setting process, and a second period setting process.
The continuity determination process determines whether or not a second task exists based on task presence/absence information when a task execution instruction corresponding to a first task is obtained from a storage device.
第1周期設定処理は、第2タスクが存在しないと連続判断処理によって判断された場合には、タスク実行指示を検索する検索周期を、第1検索周期に設定する。
第2周期設定処理は、第2タスクが存在すると連続判断処理によって判断された場合には、検索周期を、第1検索周期より短い第2検索周期に設定する。
The first period setting process sets the search period for searching for a task execution instruction to the first search period when the continuity determination process determines that the second task does not exist.
The second period setting process sets the search period to a second search period that is shorter than the first search period when the continuity determination process determines that the second task exists.
このように構成された本開示の管理システムは、第1タスクの実行終了時点では第2タスクの実行指示が記憶装置にアップロードされておらず、その後に、第2タスクの実行指示が記憶装置にアップロードされた場合において、第2タスクの実行指示が既に記憶装置にアップロードされているにも関わらず、この実行指示がデバイスに伝達されない状態が長時間継続してしまうという事態の発生を抑制し、データ伝達を効率化することができる。 The management system of the present disclosure, configured in this manner, can prevent a situation in which, when an instruction to execute a second task has not been uploaded to the storage device at the time execution of a first task is completed and the instruction to execute the second task is subsequently uploaded to the storage device, the instruction to execute the second task is not transmitted to the device for a long period of time, even though the instruction has already been uploaded to the storage device, thereby making data transmission more efficient.
本開示の別の態様は、管理装置およびデバイスが記憶装置と通信可能に構成される管理システムの管理装置であって、管理装置の制御部は、タスク実行指示処理を実行するように構成される。 Another aspect of the present disclosure is a management device in a management system in which the management device and devices are configured to be able to communicate with a storage device, and the control unit of the management device is configured to execute task execution instruction processing.
本開示の管理装置は、本開示の管理システムが備える装置であり、本開示の管理システムと同様の効果を得ることができる。
本開示の更に別の態様は、管理装置およびデバイスが記憶装置と通信可能に構成される管理システムのデバイスであって、デバイスの制御部は、連続判断処理と、第1周期設定処理と、第2周期設定処理とを実行するように構成される。
The management device of the present disclosure is a device included in the management system of the present disclosure, and can obtain the same effects as the management system of the present disclosure.
Yet another aspect of the present disclosure is a device of a management system in which a management apparatus and a device are configured to be able to communicate with a storage device, and a control unit of the device is configured to execute a continuity determination process, a first period setting process, and a second period setting process.
本開示のデバイスは、本開示の管理システムが備える装置であり、本開示の管理システムと同様の効果を得ることができる。
本開示の更に別の態様は、管理装置およびデバイスが記憶装置と通信可能に構成される管理システムで実行される管理方法であって、タスク実行指示ステップと、連続判断ステップと、第1周期設定ステップと、第2周期設定ステップとを備える。
The device of the present disclosure is an apparatus included in the management system of the present disclosure, and can obtain the same effects as the management system of the present disclosure.
Yet another aspect of the present disclosure is a management method executed in a management system in which a management device and a device are configured to be able to communicate with a storage device, and includes a task execution instruction step, a continuity judgment step, a first period setting step, and a second period setting step.
本開示の管理方法は、本開示の管理システムにて実行される方法であり、当該方法を実行することで、本開示の管理システムと同様の効果を得ることができる。
本開示の更に別の態様は、管理装置およびデバイスが記憶装置と通信可能に構成される管理システムの管理装置が備える制御部に、タスク実行指示処理を実行させるように構成されるプログラムである。
The management method of the present disclosure is a method executed by the management system of the present disclosure, and by executing this method, it is possible to obtain the same effects as the management system of the present disclosure.
Yet another aspect of the present disclosure is a program configured to cause a control unit included in a management device of a management system configured so that the management device and a device can communicate with a storage device to execute a task execution instruction process.
本開示のプログラムは、本開示の管理システムにて実行されるプログラムであり、当該プログラムを実行することで、本開示の管理システムと同様の効果を得ることができる。
本開示の更に別の態様は、管理装置およびデバイスが記憶装置と通信可能に構成される管理システムのデバイスが備える制御部に、連続判断処理と、第1周期設定処理と、第2周期設定処理とを実行させるように構成されるプログラムである。
The program of the present disclosure is a program executed by the management system of the present disclosure, and by executing the program, it is possible to obtain the same effects as the management system of the present disclosure.
Yet another aspect of the present disclosure is a program configured to cause a control unit provided in a device of a management system in which the management device and the device are configured to be able to communicate with a storage device to execute a continuity determination process, a first period setting process, and a second period setting process.
本開示のプログラムは、本開示の管理システムにて実行されるプログラムであり、当該プログラムを実行することで、本開示の管理システムと同様の効果を得ることができる。 The program disclosed herein is a program executed by the management system disclosed herein, and by executing this program, the same effects as those of the management system disclosed herein can be obtained.
以下に本開示の実施形態を図面とともに説明する。
(1)全体構成
本実施形態の管理システム1は、マスタ2およびクライアント3の協働により、複数拠点に配置された端末装置4,5を、クラウドサーバ6を介して管理するように構成されたネットワークシステムである。
Hereinafter, embodiments of the present disclosure will be described with reference to the drawings.
(1) Overall Configuration The management system 1 of this embodiment is a network system configured to manage terminal devices 4 and 5 located at multiple locations via a cloud server 6 through cooperation between a master 2 and a client 3.
図1に示すように、マスタ2は、第1拠点に設置された端末装置4とローカルエリアネットワークを介して通信可能に構成される。マスタ2は、さらに、広域ネットワークを介してクラウドサーバ6と通信可能に構成される。 As shown in FIG. 1, the master 2 is configured to be able to communicate with a terminal device 4 installed at a first location via a local area network. The master 2 is further configured to be able to communicate with a cloud server 6 via a wide area network.
クライアント3は、第2拠点に設置された端末装置4とローカルエリアネットワークを介して通信可能に構成される。クライアント3は、さらに、広域ネットワークを介してクラウドサーバ6と通信可能に構成される。第3拠点に設置された端末装置5は、広域ネットワークを介してクラウドサーバ6と通信可能に構成される。 Client 3 is configured to be able to communicate with terminal device 4 installed at a second location via a local area network. Client 3 is further configured to be able to communicate with cloud server 6 via a wide area network. Terminal device 5 installed at a third location is configured to be able to communicate with cloud server 6 via a wide area network.
ローカルエリアネットワークは、例えば、無線LANおよび有線LANのうち少なくとも一方を含んでいてもよい。広域ネットワークは、例えば、インターネットを含んでいてもよい。第3拠点は、ローカルエリアネットワークが構築されていてもよい。この場合、端末装置5は、第3拠点内のローカルエリアネットワークを介して広域ネットワークに接続されてもよい。 The local area network may include, for example, at least one of a wireless LAN and a wired LAN. The wide area network may include, for example, the Internet. A local area network may be constructed at the third location. In this case, the terminal device 5 may be connected to the wide area network via the local area network within the third location.
端末装置4は、クラウドサーバ6によって提供されるクラウドサービスを利用する能力を有しない。換言すれば、各端末装置4は、クラウドサーバ6と通信を行う機能を有しない。以下では、この端末装置4のことを、特に第1種端末装置4と表現する。一方、端末装置5は、クラウドサーバ6によって提供されるクラウドサービスを利用する能力を有する端末装置である。換言すれば、端末装置5は、クラウドサーバ6と通信する機能を有する。以下では、この端末装置5のことを、特に第2種端末装置5と表現する。 Terminal device 4 does not have the ability to use the cloud services provided by cloud server 6. In other words, each terminal device 4 does not have the function of communicating with cloud server 6. Below, this terminal device 4 will be referred to specifically as a first-type terminal device 4. On the other hand, terminal device 5 is a terminal device that has the ability to use the cloud services provided by cloud server 6. In other words, terminal device 5 has the function of communicating with cloud server 6. Below, this terminal device 5 will be referred to specifically as a second-type terminal device 5.
第2拠点に設置された第1種端末装置4は、クライアント3およびクラウドサーバ6を介して、マスタ2により管理される。第3拠点に設置された第2種端末装置5は、クライアント3を介さずクラウドサーバ6を介して、マスタ2により管理される。 A first-type terminal device 4 installed at the second location is managed by the master 2 via the client 3 and cloud server 6. A second-type terminal device 5 installed at the third location is managed by the master 2 via the cloud server 6, not via the client 3.
マスタ2によって管理される端末装置4,5は、例えば、企業などの一組織で管理される端末装置の一群であり得る。この場合、各拠点は、組織の活動拠点であり得る。一例によれば、マスタ2が存在する第1拠点は、組織の管理部門を有するオフィスであり得る。それ以外の第2拠点および第3拠点は、第1拠点から離れた組織のブランチオフィスであり得る。 The terminal devices 4 and 5 managed by the master 2 may be, for example, a group of terminal devices managed by an organization such as a company. In this case, each location may be an activity base for the organization. For example, the first location where the master 2 is located may be an office that houses the organization's management department. The other second and third locations may be branch offices of the organization that are located away from the first location.
端末装置4,5の例には、プリンタ、スキャナ、および、それらの機能が統合されたディジタル複合機などが含まれる。マスタ2およびクライアント3は、例えば、パーソナルコンピュータに専用のコンピュータプログラムがインストールされて構成される。 Examples of terminal devices 4 and 5 include printers, scanners, and digital multifunction peripherals that combine these functions. The master 2 and client 3 are configured, for example, by installing a dedicated computer program on a personal computer.
(2)装置構成
図2に示すように、マスタ2は、制御部11と、通信部12と、表示部13と、入力部14と、記憶部15とを備える。制御部11は、CPU21と、メモリ22とを備える。プロセッサとしてのCPU21は、記憶部15に記憶されたコンピュータプログラムに従う処理を実行する。メモリ22は、上記処理の実行時に、ワークメモリとして使用される。
(2) Device Configuration As shown in Fig. 2, the master 2 includes a control unit 11, a communication unit 12, a display unit 13, an input unit 14, and a storage unit 15. The control unit 11 includes a CPU 21 and a memory 22. The CPU 21 as a processor executes processing in accordance with a computer program stored in the storage unit 15. The memory 22 is used as a work memory when executing the above processing.
記憶部15は、例えばソリッドステートドライブおよびハードディスクドライブ等のストレージを含み、各種のコンピュータプログラムおよびデータを記憶する。記憶部15には、主管理プログラム15aが記憶される。主管理プログラム15aは、マスタ2により実現されるべき管理機能を、CPU21に実現させるためのコンピュータプログラムである。以下において説明される制御部11を主体とした処理は、CPU21がコンピュータプログラムに従って実行する処理により実現されると理解されてよい。 The memory unit 15 includes storage devices such as a solid state drive and a hard disk drive, and stores various computer programs and data. The memory unit 15 stores a main management program 15a. The main management program 15a is a computer program that causes the CPU 21 to implement the management functions that should be implemented by the master 2. The processing mainly performed by the control unit 11 described below can be understood to be implemented by processing executed by the CPU 21 in accordance with the computer program.
通信部12は、当該マスタ2が存在する拠点のローカルエリアネットワークに接続され、更には、広域ネットワークに接続される。通信部12は、図示しないルータを介して広域ネットワークに接続されてもよい。表示部13は、マスタ2を操作するユーザ向けの各種画面を表示するように構成される。表示部13の例には、液晶ディスプレイが含まれる。各種画面の例には、管理対象の端末装置4,5のログ情報およびステータス情報を表示するための画面、および、ユーザからの操作信号に従って端末装置4,5を遠隔操作するための画面が含まれる。 The communication unit 12 is connected to the local area network of the base where the master 2 is located, and is further connected to a wide area network. The communication unit 12 may also be connected to the wide area network via a router (not shown). The display unit 13 is configured to display various screens for the user operating the master 2. An example of the display unit 13 is an LCD display. Examples of the various screens include a screen for displaying log information and status information for the managed terminal devices 4 and 5, and a screen for remotely operating the terminal devices 4 and 5 in accordance with operation signals from the user.
入力部14は、例えばキーボードおよびポインティングデバイス等の、マスタ2を操作するユーザからの操作信号を入力するための一つ以上の入力デバイスを備える。制御部11は、入力部14を通じて入力される操作信号に従って、動作する。 The input unit 14 includes one or more input devices, such as a keyboard and a pointing device, for inputting operation signals from a user operating the master 2. The control unit 11 operates in accordance with the operation signals input through the input unit 14.
クライアント3は、制御部31と、通信部32と、表示部33と、入力部34と、記憶部35とを備える。制御部31は、CPU41およびメモリ42を備える。プロセッサとしてのCPU41は、記憶部35が記憶するコンピュータプログラムに従う処理を実行する。 The client 3 includes a control unit 31, a communication unit 32, a display unit 33, an input unit 34, and a storage unit 35. The control unit 31 includes a CPU 41 and a memory 42. The CPU 41, as a processor, executes processing in accordance with a computer program stored in the storage unit 35.
記憶部35には、副管理プログラム35aが記憶される。副管理プログラム35aは、クライアント3により実現されるべきマスタ2の管理機能に関連する機能を、CPU41に実現させるためのコンピュータプログラムである。以下において説明される制御部31を主体とした処理は、CPU41がコンピュータプログラムに従って実行する処理により実現されると理解されてよい。 The storage unit 35 stores a sub-management program 35a. The sub-management program 35a is a computer program that causes the CPU 41 to implement functions related to the management functions of the master 2 that should be implemented by the client 3. The processing mainly performed by the control unit 31 described below can be understood to be implemented by processing executed by the CPU 41 in accordance with the computer program.
通信部32は、当該クライアント3が存在する拠点のローカルエリアネットワークに接続され、更には、広域ネットワークに接続される。通信部32は、図示しないルータを介して広域ネットワークに接続されてもよい。表示部33は、例えば液晶ディスプレイを含み、クライアント3を操作するユーザ向けの各種画面を表示するように構成される。入力部34は、クライアント3を操作するユーザからの操作信号を入力するための一つ以上の入力デバイスを備える。制御部31は、入力部34を通じて入力される操作信号に従って、動作する。 The communication unit 32 is connected to the local area network of the base where the client 3 is located, and is further connected to a wide area network. The communication unit 32 may be connected to the wide area network via a router (not shown). The display unit 33 includes, for example, an LCD display, and is configured to display various screens for the user operating the client 3. The input unit 34 has one or more input devices for inputting operation signals from the user operating the client 3. The control unit 31 operates in accordance with the operation signals input through the input unit 34.
第1種端末装置4は、制御部51と、通信部52と、表示部53と、入力部54とを備える。第1種端末装置4がディジタル複合機であるとき、第1種端末装置4は更に、印刷部55と、読取部56とを備えることができる。第1種端末装置4は、印刷部55および読取部56のうちのどちらか一方のみを備えていてもよい。 The first type terminal device 4 includes a control unit 51, a communication unit 52, a display unit 53, and an input unit 54. When the first type terminal device 4 is a digital multifunction peripheral, the first type terminal device 4 may further include a printing unit 55 and a reading unit 56. The first type terminal device 4 may include only one of the printing unit 55 and the reading unit 56.
制御部51は、CPU61と、メモリ62とを備える。メモリ62は、RAMの他、例えばフラッシュメモリ等の不揮発性メモリを備えることができ、不揮発性メモリに、コンピュータプログラムおよび設定データ等を記憶することができる。 The control unit 51 includes a CPU 61 and memory 62. In addition to RAM, the memory 62 can also include non-volatile memory such as flash memory, and computer programs, setting data, etc. can be stored in the non-volatile memory.
プロセッサとしてのCPU61は、メモリ62に記憶されたコンピュータプログラムに従う処理を実行することにより、第1種端末装置全体を統括制御する。以下において説明される制御部51を主体とした処理は、CPU61がコンピュータプログラムに従って実行する処理により実現されると理解されてよい。 The CPU 61 as a processor performs overall control of the entire Type 1 terminal device by executing processes in accordance with a computer program stored in memory 62. The processes mainly performed by the control unit 51 described below can be understood to be realized by processes executed by the CPU 61 in accordance with the computer program.
通信部52は、当該第1種端末装置4が存在する拠点のローカルエリアネットワークに、そこに存在するマスタ2またはクライアント3と通信可能であるように接続される。表示部53は、例えば液晶ディスプレイを含み、第1種端末装置4を操作するユーザ向けの各種画面を表示するように構成される。入力部54は、ユーザからの操作信号を入力するために、例えば液晶ディスプレイ上のタッチパネル等の一つ以上の入力デバイスを備える。 The communication unit 52 is connected to the local area network of the base where the type 1 terminal device 4 is located so as to be able to communicate with the master 2 or client 3 located there. The display unit 53 includes, for example, an LCD display, and is configured to display various screens for the user operating the type 1 terminal device 4. The input unit 54 includes one or more input devices, such as a touch panel on an LCD display, for inputting operation signals from the user.
印刷部55は、制御部51に制御されて、シートに画像を印刷するように構成される。印刷部55の例には、インクジェットプリンタおよびレーザプリンタが含まれる。本実施形態によれば、色材の残量等のステータス情報および印刷枚数等のログ情報が、後述する方法で、第1種端末装置4からクライアント3およびクラウドサーバ6を通じてマスタ2に提供される。読取部56は、制御部51に制御されて、印刷物等の読取対象を読み取るように構成される。 The printing unit 55 is configured to print an image on a sheet under the control of the control unit 51. Examples of the printing unit 55 include an inkjet printer and a laser printer. According to this embodiment, status information such as the remaining amount of colorant and log information such as the number of printed sheets are provided to the master 2 from the first type terminal device 4 via the client 3 and cloud server 6 using a method described below. The reading unit 56 is configured to read a reading target such as a printed material under the control of the control unit 51.
図3に示すように、第2種端末装置5は、制御部71と、通信部72と、表示部73と、入力部74とを備える。第2種端末装置5がディジタル複合機であるとき、第2種端末装置5は更に、印刷部75と、読取部76とを備えることができる。第2種端末装置5は、印刷部75および読取部76のうちのどちらか一方のみを備えていてもよい。 As shown in FIG. 3, the second type terminal device 5 includes a control unit 71, a communication unit 72, a display unit 73, and an input unit 74. When the second type terminal device 5 is a digital multifunction peripheral, the second type terminal device 5 may further include a printing unit 75 and a reading unit 76. The second type terminal device 5 may include only one of the printing unit 75 and the reading unit 76.
制御部71は、CPU81と、メモリ82とを備える。メモリ82は、フラッシュメモリなどの不揮発性メモリを備えることができ、不揮発性メモリに、コンピュータプログラムや設定データ等を記憶することができる。 The control unit 71 includes a CPU 81 and memory 82. The memory 82 may include non-volatile memory such as flash memory, and computer programs, setting data, etc. may be stored in the non-volatile memory.
プロセッサとしてのCPU81は、メモリ82に記憶されたコンピュータプログラムに従う処理を実行することにより、装置全体を統括制御する。メモリ82には、通信プログラム82aが記憶される。通信プログラム82aは、クラウドサーバ6によって提供されるクラウドサービスを利用するためのプログラムである。以下において説明される制御部71を主体とした処理は、CPU81がコンピュータプログラムに従って実行する処理により実現されると理解されてよい。 The CPU 81 as a processor performs overall control of the entire device by executing processing in accordance with a computer program stored in memory 82. A communication program 82a is stored in memory 82. The communication program 82a is a program for using cloud services provided by the cloud server 6. The processing mainly performed by the control unit 71 described below can be understood to be realized by processing executed by the CPU 81 in accordance with the computer program.
通信部72は、クラウドサーバ6と通信可能であるように、広域ネットワークに接続される。第3拠点にローカルエリアネットワークが構築されている場合、通信部72は、そのローカルエリアネットワークを介して広域ネットワークに接続されてもよい。表示部73は、例えば液晶ディスプレイを含む。入力部74は、ユーザからの操作信号を入力するための一つ以上の入力デバイスを備える。 The communication unit 72 is connected to a wide area network so as to be able to communicate with the cloud server 6. If a local area network is established at the third location, the communication unit 72 may be connected to the wide area network via that local area network. The display unit 73 includes, for example, an LCD display. The input unit 74 has one or more input devices for inputting operation signals from the user.
印刷部75は、制御部71に制御されて、シートに画像を印刷するように構成される。本実施形態によれば、色材の残量等のステータス情報と、印刷枚数等のログ情報とが、後述する方法で、第2種端末装置5からクラウドサーバ6を通じてマスタ2に提供される。読取部76は、制御部71に制御されて、印刷物等の読取対象を読み取るように構成される。 The printing unit 75 is configured to print an image on a sheet under the control of the control unit 71. According to this embodiment, status information such as the remaining amount of colorant and log information such as the number of printed sheets are provided to the master 2 from the second-type terminal device 5 via the cloud server 6 using a method described below. The reading unit 76 is configured to read a reading target such as a printed material under the control of the control unit 71.
クラウドサーバ6は、制御部91と、通信部92と、第1ストレージ93と、第2ストレージ94とを備える。制御部91は、CPU101と、メモリ102とを備える。
プロセッサとしてのCPU101は、メモリ102が記憶するコンピュータプログラムに従う処理を実行する。CPU101が実行する処理には、当該クラウドサーバ6をクラウドストレージとして機能させるための処理が含まれる。以下において説明される制御部91を主体とした処理は、CPU101がコンピュータプログラムに従って実行する処理により実現されると理解されてよい。
The cloud server 6 includes a control unit 91, a communication unit 92, a first storage 93, and a second storage 94. The control unit 91 includes a CPU 101 and a memory 102.
The CPU 101 as a processor executes processes in accordance with a computer program stored in the memory 102. The processes executed by the CPU 101 include processes for causing the cloud server 6 to function as cloud storage. The processes mainly performed by the control unit 91 described below may be understood to be realized by the processes executed by the CPU 101 in accordance with the computer program.
上記クラウドストレージは、テーブルストレージおよびオブジェクトストレージを含む。制御部91による上記処理の実行により、第1ストレージ93は、テーブルストレージとして機能し、第2ストレージ94は、オブジェクトストレージとして機能する。 The above cloud storage includes table storage and object storage. By executing the above processing by the control unit 91, the first storage 93 functions as table storage, and the second storage 94 functions as object storage.
例示的な第1ストレージ93は、NoSQLデータストアとして機能し、スキーマレスのエンティティの一群を構成要素とするテーブルを格納可能に構成される。テーブルにおける各エンティティは、プロパティのセットで構成される。 The exemplary first storage 93 functions as a NoSQL data store and is configured to store tables made up of a collection of schema-less entities. Each entity in a table is made up of a set of properties.
例示的な第2ストレージ94は、オブジェクトとして、任意のテキストファイルおよびバイナリファイルを、HTTP/HTTPSプロトコルを用いて、外部から読込および書込可能なオブジェクトストレージとして機能する。 The exemplary second storage 94 functions as an object storage that can externally read and write any text and binary files as objects using the HTTP/HTTPS protocol.
上述したテーブルストレージおよびオブジェクトストレージを提供するクラウドサービスとしては、マイクロソフト社のAzureが知られている。クラウドサーバ6は、このようなクラウドサービスと同様に動作し得る。Azureは、登録商標である。 Microsoft's Azure is a well-known cloud service that provides the table storage and object storage described above. Cloud server 6 can operate in a similar manner to such a cloud service. Azure is a registered trademark.
(3)シーケンス概略
次に、管理に関する動作シーケンスを概略的に説明する。
マスタ2に主管理プログラム15aがインストールされると、主管理プログラム15aに従う処理が、マスタ2の制御部11により実行される。つまり、マスタ2が、管理機能を有するようになる。
(3) Outline of Sequence Next, an outline of the operation sequence relating to management will be explained.
When the main management program 15a is installed in the master 2, processing in accordance with the main management program 15a is executed by the control unit 11 of the master 2. In other words, the master 2 comes to have a management function.
図4に示すように、マスタ2は、まずS01にて、クラウドプロファイルを設定する処理を行う。マスタ2は、例えば主管理者が入力部14を介して行う設定操作に従って、クラウドプロファイルを設定する。 As shown in FIG. 4, Master 2 first performs a process to set a cloud profile in S01. Master 2 sets the cloud profile in accordance with setting operations performed by the primary administrator via the input unit 14, for example.
クラウドプロファイルの設定は、クラウドパラメータを設定することを含む。クラウドパラメータは、初期設定パラメータを含む。クライアント3および第2種端末装置5は、後述するように、クラウドサーバ6に対するポーリング動作と、クラウドサーバ6に保持される情報の更新動作とを実行する。このポーリング動作は、後述するインスタントタスクの有無を周期的に確認する動作である。情報更新動作は、後述するスケジュールタスクで規定される動作である。 Setting a cloud profile includes setting cloud parameters. The cloud parameters include initial setting parameters. As described below, the client 3 and the second-type terminal device 5 perform a polling operation on the cloud server 6 and an update operation of information held on the cloud server 6. This polling operation periodically checks for the presence or absence of instant tasks, described below. The information update operation is an operation specified by a schedule task, described below.
初期設定パラメータは、例えば、ポーリング動作の周期(以下、ポーリング周期)と、情報更新動作の周期(以下、情報更新周期)とを含む。クライアント3および第2種端末装置5のポーリング周期は、後述する第1検索周期および第2検索周期の2種類設定される。情報更新周期は、更新すべき情報の種類に応じて複数種類設定される。 The initial setting parameters include, for example, the period of the polling operation (hereinafter referred to as the polling period) and the period of the information update operation (hereinafter referred to as the information update period). Two types of polling periods are set for the client 3 and the second-type terminal device 5: a first search period and a second search period, which will be described later. Multiple types of information update periods are set depending on the type of information to be updated.
クラウドパラメータは、さらに、スケジュールタスクテンプレートを含んでいてもよい。スケジュールタスクテンプレートには、各端末装置4,5が実行すべきスケジュールタスクの処理内容が規定されている。上記の情報更新周期は、スケジュールタスクにおける1つ以上の処理の実行周期に対応する。 The cloud parameters may further include a schedule task template. The schedule task template specifies the processing content of the schedule task to be executed by each terminal device 4, 5. The information update period corresponds to the execution period of one or more processes in the schedule task.
スケジュールタスクテンプレートとスケジュールタスクテーブルとはそれぞれ個別に存在する。すなわち、第1ストレージ93において、スケジュールタスクテンプレートは第1記憶領域に書き込まれ、スケジュールタスクテーブルは、第1記憶領域とは異なる第2記憶領域に書き込まれる。 The schedule task template and schedule task table exist separately. That is, in the first storage 93, the schedule task template is written to a first storage area, and the schedule task table is written to a second storage area that is different from the first storage area.
クラウドプロファイルの設定は、さらに、クラウドサービスを利用するための共有アクセス署名(以下、SAS)を設定することを含む。SASは、Shared Access Signatureの略である。 Configuring a cloud profile also includes configuring a shared access signature (SAS) for using cloud services. SAS stands for Shared Access Signature.
SASは、第1ストレージ93および第2ストレージ94(すなわち、テーブルストレージおよびオブジェクトストレージ)のそれぞれに対して個別に設定されている。マスタ2におけるクラウドプロファイルの設定では、主管理者は、マスタ2から第1ストレージ93および第2ストレージ94にアクセスできるように、第1ストレージ93および第2ストレージ94のそれぞれに設定されているSASを、クラウドプロファイルの一部として設定する。 The SAS is configured separately for each of the first storage 93 and the second storage 94 (i.e., the table storage and the object storage). When configuring the cloud profile on Master 2, the primary administrator configures the SAS configured for each of the first storage 93 and the second storage 94 as part of the cloud profile so that Master 2 can access the first storage 93 and the second storage 94.
なお、マスタ2における主管理プログラム15aのインストール時においても、同じSASが設定される。マスタ2がクラウドサーバ6へアクセスする際は、マスタ2に設定されているSASがクラウドサーバ6へ送信される。そして、送信されたSASが、クラウドサーバ6において設定されている当該アクセス先のSASに一致すると、アクセス先との通信(すなわち、データの読み書き)が可能となる。 The same SAS is also set when the main management program 15a is installed on master 2. When master 2 accesses cloud server 6, the SAS set on master 2 is sent to cloud server 6. If the sent SAS matches the SAS of the access destination set on cloud server 6, communication with the access destination (i.e., reading and writing of data) becomes possible.
マスタ2は、S02に示すように、主管理者の操作に従い、設定されたクラウドプロファイルに従うクラウドパラメータをクラウドサーバ6の第1ストレージ93にアップロードする。これにより、S03に示すように、アップロードされたクラウドパラメータが第1ストレージ93に書き込まれる。 As shown in S02, Master 2 uploads cloud parameters according to the set cloud profile to the first storage 93 of the cloud server 6 in accordance with the operation of the primary administrator. As a result, as shown in S03, the uploaded cloud parameters are written to the first storage 93.
マスタ2は、S04に示すように、クラウドプロファイルの少なくとも一部を、クライアントプロファイル(すなわち、クライアント3での読込用データ)として、マスタ2からエクスポートする。クライアントプロファイルは、例えば、上記の初期設定パラメータ、スケジュールタスクテンプレートおよびSASの少なくとも1つを含んでいてもよい。 マスタ2によってエクスポートされたクライアントプロファイルは、クライアント3に提供される。クライアントプロファイルは、どのような方法でクライアント3に提供されてもよい。例えば、電子メールその他の方法でクライアントプロファイルがマスタ2からクライアント3へ送信されてもよい。 As shown in S04, Master 2 exports at least a portion of the cloud profile from Master 2 as a client profile (i.e., data to be read by Client 3). The client profile may include, for example, at least one of the above-mentioned initial setting parameters, schedule task template, and SAS. The client profile exported by Master 2 is provided to Client 3. The client profile may be provided to Client 3 by any method. For example, the client profile may be sent from Master 2 to Client 3 by email or other method.
副管理者は、S06に示すように、クライアント3を操作して、クライアント3に副管理プログラム35aをインストールする。この際、S05に示すように、副管理者の操作により、マスタ2から提供されたクライアントプロファイルがクライアント3にインポートされる。すなわち、クライアントプロファイルで設定されている各種データが適宜クライアント3に設定される。例えば、クライアントプロファイルに設定されているSAS、ポーリング周期および情報更新周期などがインポートされてクライアント3に設定される。上記のスケジュールタスクテンプレートがインポートされてもよい。 As shown in S06, the sub-administrator operates the client 3 to install the sub-management program 35a on the client 3. At this time, as shown in S05, the sub-administrator operates the client 3 to import the client profile provided by the master 2. In other words, various data set in the client profile is set in the client 3 as appropriate. For example, the SAS, polling period, information update period, etc. set in the client profile are imported and set in the client 3. The above-mentioned schedule task template may also be imported.
上記のように副管理プログラム35aがインストールされ且つクライアントプロファイルが設定されることにより、クライアント3は、クラウドサーバ6を利用可能となる。これにより、クライアント3は、クラウドサーバ6を介してマスタ2と情報伝達可能に構成される。そしてクライアント3は、管理中継機能を、クラウドサーバ6を介して実行可能に構成される。管理中継機能は、マスタ2から第1種端末装置4へのタスク実行指示と、第1種端末装置4からマスタ2へのログ情報およびステータス情報の伝達とを含み、マスタ2と第1種端末装置4との間で情報を中継する機能である。 By installing the sub-management program 35a and setting the client profile as described above, the client 3 becomes able to use the cloud server 6. This configures the client 3 to be able to communicate information with the master 2 via the cloud server 6. The client 3 is also configured to be able to execute a management relay function via the cloud server 6. The management relay function includes issuing task execution instructions from the master 2 to the first-type terminal device 4 and transmitting log information and status information from the first-type terminal device 4 to the master 2, and is a function that relays information between the master 2 and the first-type terminal device 4.
またS07に示すように、第2種端末装置5の管理者(以下、装置管理者)による入力操作により、第2種端末装置5にSASが登録される。
第2種端末装置5に対するSASの登録は、例えば、第2種端末装置5の入力部74を介して行われてもよい。また例えば、第2種端末装置5とは別の情報処理装置から第2種端末装置5へSASを登録できてもよい。具体的には、第2種端末装置5に所定のWEBサーバが内蔵されていてもよい。そして、第2種端末装置5とは別の情報処理装置から当該WEBサーバへアクセスし、情報処理装置におけるユーザインタフェースを介してSASを入力してWEBサーバへ送信することにより、第2種端末装置5へSASを登録できてもよい。
As shown in S07, the SAS is registered in the second type terminal device 5 by an input operation by the administrator of the second type terminal device 5 (hereinafter referred to as the device administrator).
The registration of the SAS to the second type terminal device 5 may be performed, for example, via the input unit 74 of the second type terminal device 5. Alternatively, for example, the SAS may be registered to the second type terminal device 5 from an information processing device other than the second type terminal device 5. Specifically, a predetermined web server may be built into the second type terminal device 5. The SAS may be registered to the second type terminal device 5 by accessing the web server from an information processing device other than the second type terminal device 5, inputting the SAS via a user interface in the information processing device, and transmitting it to the web server.
SASが登録された第2種端末装置5の制御部71は、通信プログラム82aに従う処理を実行する。通信プログラム82aに従って処理を実行する制御部71を、以下、クラウドコネクタという。クラウドコネクタは、S08に示すように、SASを用いてクラウドサーバ6の第1ストレージ93にアクセスし、マスタ2により書き込まれたクラウドパラメータを参照する。クラウドコネクタは、このクラウドパラメータを取得して自装置に設定する。 The control unit 71 of the type 2 terminal device 5 in which the SAS is registered executes processing in accordance with the communication program 82a. The control unit 71 that executes processing in accordance with the communication program 82a is hereinafter referred to as the cloud connector. As shown in S08, the cloud connector uses the SAS to access the first storage 93 of the cloud server 6 and references the cloud parameters written by the master 2. The cloud connector obtains these cloud parameters and sets them in its own device.
なお、クラウドコネクタがクラウドサーバ6へアクセスする際には、当該アクセス先のSASが、クラウドコネクタからクラウドサーバ6へ送信される。そして、送信されたSASが、クラウドサーバ6において設定されている当該アクセス先のSASに一致すると、アクセス先との通信(すなわち、データの読み書き)が可能となる。 When the cloud connector accesses the cloud server 6, the SAS of the access destination is sent from the cloud connector to the cloud server 6. If the sent SAS matches the SAS of the access destination set in the cloud server 6, communication with the access destination (i.e., reading and writing of data) becomes possible.
第2種端末装置5(すなわち、クラウドコネクタ)は、上記のクラウドパラメータおよびSASの設定を含む初期設定(すなわち、S07,S08の処理)が完了すると、S09に示すように、設定された情報更新周期に従って、定期的にスケジュールタスクを実行する。 Once the type 2 terminal device 5 (i.e., the cloud connector) has completed the initial configuration (i.e., the processes of S07 and S08), including the configuration of the cloud parameters and SAS, it periodically executes the schedule task according to the set information update cycle, as shown in S09.
クライアント3は、上記のクラウドパラメータおよびSASの設定を含む初期設定(すなわち、S05,S06の処理)が完了すると、S10に示すように、設定された情報更新周期に従って、定期的に、クラウドサーバ6の第1ストレージ93内に格納された情報を更新するスケジュールタスクを実行する。 Once the initial settings (i.e., the processes of S05 and S06) including the setting of the above cloud parameters and SAS are completed, the client 3 executes a schedule task that periodically updates the information stored in the first storage 93 of the cloud server 6 according to the set information update cycle, as shown in S10.
クラウドコネクタによるスケジュールタスクは、対応するデバイス情報が第1ストレージ93に登録されていない場合には、まずデバイス情報を第1ストレージ93に登録することから始まる。クラウドコネクタに対応するデバイス情報とは、当該クラウドコネクタが実装された第2種端末装置5を示す所定の情報である。 A scheduling task using a cloud connector begins by first registering the device information in the first storage 93 if the corresponding device information is not registered in the first storage 93. The device information corresponding to a cloud connector is specified information that indicates the type 2 terminal device 5 in which the cloud connector is implemented.
クライアント3によるスケジュールタスクは、管理対象の第1種端末装置4のうち、対応するデバイス情報が第1ストレージ93に登録されていない第1種端末装置4が存在している場合には、デバイス情報が登録されていない第1種端末装置4のデバイス情報を第1ストレージ93に登録することから始まる。第1種端末装置4のデバイス情報とは、当該第1種端末装置4を示す所定の情報である。 The schedule task by the client 3 begins by registering the device information of the type 1 terminal device 4 whose corresponding device information is not registered in the first storage 93, if any of the type 1 terminal devices 4 to be managed are present. The device information of the type 1 terminal device 4 is predetermined information that identifies the type 1 terminal device 4 in question.
第1ストレージ93は、テーブルの一つとして、スケジュールタスクテーブルを備える。スケジュールタスクテーブルは、1つ以上のエンティティの一群を含む。1つのエンティティは複数のプロパティを含む。本実施形態では、複数のプロパティは、例えば、図5に示すように、「PartitionKey」、「RowKey」、「DeviceId」、「NotifyParameter」、「Progress」および「Source」を含む。 The first storage 93 includes a schedule task table as one of its tables. The schedule task table includes a group of one or more entities. Each entity includes multiple properties. In this embodiment, the multiple properties include, for example, "PartitionKey," "RowKey," "DeviceId," "NotifyParameter," "Progress," and "Source," as shown in FIG. 5.
スケジュールタスクテーブルは、端末装置4,5のそれぞれについて個別に、「ログ」、「ステータス」および「登録」に関する3つのエンティティを備える。つまり、本実施形態では、管理対象の端末装置4,5毎の個別のスケジュールタスクテーブル(以下、個別テーブル)を有し、スケジュールタスクテーブルはこれら個別テーブルの集合体であると見なせる。個別テーブルはそれぞれ、対応する端末装置4,5の「ログ」、「ステータス」および「登録」それぞれに関する3つのエンティティを備える。 The schedule task table has three entities related to "log," "status," and "registration" for each of the terminal devices 4 and 5. In other words, in this embodiment, there is an individual schedule task table (hereinafter referred to as "individual table") for each of the managed terminal devices 4 and 5, and the schedule task table can be considered to be a collection of these individual tables. Each individual table has three entities related to "log," "status," and "registration" for the corresponding terminal device 4 and 5.
エンティティ内の情報は、対応する端末装置が第1種端末装置4である場合は、当該第1種端末装置4を管理するクライアント3によって更新される。エンティティ内の情報は、対応する端末装置が第2種端末装置5である場合は、当該第2種端末装置5のクラウドコネクタによって更新される。 If the corresponding terminal device is a first-type terminal device 4, the information in the entity is updated by the client 3 that manages the first-type terminal device 4. If the corresponding terminal device is a second-type terminal device 5, the information in the entity is updated by the cloud connector of the second-type terminal device 5.
「ログ」に関するエンティティである場合には、プロパティ「PartitionKey」に、「ログ」であることを示す文字列である「log」が格納される。「ログ」に関するエンティティは、プロパティ「DeviceId」に格納されたデバイスIDに対応する端末装置のログ情報を、プロパティ「NotifyParameter」に格納する。デバイスIDは、端末装置4,5のそれぞれに固有な識別情報である。 If the entity is related to "log", the property "PartitionKey" stores the string "log" indicating that it is a "log". The entity related to "log" stores the log information of the terminal device corresponding to the device ID stored in the property "DeviceId" in the property "NotifyParameter". The device ID is identification information unique to each of the terminal devices 4 and 5.
ログ情報は、対応する端末装置がプリンタまたはディジタル複合機であるときに、対応する端末装置の総印刷枚数を示す情報を含んでもよい。ログ情報は、印刷履歴として、印刷ジョブ毎に、印刷指令元のユーザおよび印刷枚数を示す情報を含んでもよい。 When the corresponding terminal device is a printer or digital multifunction peripheral, the log information may include information indicating the total number of pages printed by the corresponding terminal device. The log information may also include, as a printing history, information indicating the user who issued the print command and the number of pages printed for each print job.
「ステータス」に関するエンティティである場合には、プロパティ「PartitionKey」に、「ステータス」であることを示す文字列である「status」が格納される。「ステータス」に関するエンティティは、プロパティ「DeviceId」に格納されたデバイスIDに対応する端末装置のステータス情報を、プロパティ「NotifyParameter」に格納する。ステータス情報は、対応する端末装置がプリンタまたはディジタル複合機であるときに、対応する端末装置の色材の残量情報および紙詰まり等のエラー情報を含んでもよい。 If the entity is related to "status," the property "PartitionKey" stores "status," a string indicating that it is a "status." An entity related to "status" stores status information for the terminal device corresponding to the device ID stored in the property "DeviceId" in the property "NotifyParameter." When the corresponding terminal device is a printer or digital multifunction peripheral, the status information may include information on the remaining amount of coloring material in the corresponding terminal device and error information such as paper jams.
「登録」に関するエンティティである場合には、プロパティ「PartitionKey」には、「登録」であることを示す文字列である「registration」が格納される。「登録」に関するエンティティは、プロパティ「DeviceId」に格納されたデバイスIDに対応する端末装置のデバイス情報を、プロパティ「NotifyParameter」に格納する。デバイス情報は、デバイスの基本構成を説明する複数の項目を含む。 If the entity is related to "registration," the property "PartitionKey" stores "registration," a string indicating "registration." Entities related to "registration" store device information for the terminal device corresponding to the device ID stored in the property "DeviceId" in the property "NotifyParameter." The device information includes multiple items that describe the basic configuration of the device.
プロパティ「DeviceId」には、エンティティを更新した装置のデバイスIDが格納される。
プロパティ「NotifyParameter」には、スケジュールタスクの指示内容を示すためにJSON形式で記述された文字列が格納される。
The property "DeviceId" stores the device ID of the device that updated the entity.
The property "NotifyParameter" stores a character string written in JSON format to indicate the instruction content of the schedule task.
例えば、「ステータス」に関するエンティティにおけるプロパティ「NotifyParameter」では、対応するパラメータの管理情報ベース(以下、MIB)で用いられるオブジェクト識別子(以下、OID)と、その値とを関連付けるようにして、JSON形式で記述される。図5のタスク指示T1に示す”x.x.x.x.x・・・・・・・・・・・”、”y.y.y.y.y・・・・・・・・・・”との記載は、オブジェクト識別子を例示的に抽象表現している。MIBは、Management Information Baseの略である。 For example, the property "NotifyParameter" in an entity related to "status" is written in JSON format, associating the object identifier (OID) used in the management information base (MIB) of the corresponding parameter with its value. The notations "x.x.x.x.x..." and "y.y.y.y.y..." shown in task instruction T1 in Figure 5 are illustrative abstract representations of object identifiers. MIB stands for Management Information Base.
タスク指示T1における2行目の指示は、「”x.x.x.x.・・・”: ”%MIB(x.x.x.x.・・・)%”」である。上記の「x.x.x.x.・・・」は、MIBのオブジェクトIDである。 The instruction on the second line of task instruction T1 is "x. x. x. x. ...": "%MIB(x.x.x.x. ...)%". The "x.x.x.x. ..." above is the MIB object ID.
タスク指示T1における3行目の指示は、「”y.y.y.y.・・・”: ”%MIB(y.y.y.y.・・・)%”」である。上記の「y.y.y.y.・・・」は、MIBのオブジェクトIDである。 The instruction on the third line of task instruction T1 is "y. y. y. y. ...": "%MIB(y.y.y.y....)%". The "y.y.y.y..." above is the MIB object ID.
上記の「x.x.x.x.・・・」をOid1と表記すると、2行目の指示は「”Oid1”: ”%MIB(Oid1)%”」である。そして、「%MIB(Oid1)%」は、オブジェクトIDであるOid1に対応する値を取得して、取得した値を「%MIB(Oid1)%」に上書きする指示である。このため、Oid1に対応する値を「XXXXXXX」とすると、登録済データでは、「”Oid1”: ”%MIB(Oid1)%”」が「”Oid1”: ”XXXXXXX”」に書き換えられる。 If the above "x.x.x.x...." is written as Oid1, the instruction on the second line is "Oid1: %MIB(Oid1)%". "%MIB(Oid1)%" is an instruction to obtain the value corresponding to Oid1, which is the object ID, and overwrite "%MIB(Oid1)%" with the obtained value. Therefore, if the value corresponding to Oid1 is "XXXXXX", then in the registered data, "Oid1: %MIB(Oid1)%" will be rewritten to "Oid1: XXXXXX".
同様に、3行目の指示は、オブジェクトID「y.y.y.y.・・・」をOid2と表記すると、「”Oid2”: ”%MIB(Oid2)%”」である。
図5のタスク結果T2に示す”x.x.x.x.x・・・・・・・・・・・”、”y.y.y.y.y・・・・・・・・・・”との記載は、更新結果を例示的に抽象表現している。
Similarly, the instruction on the third line is "Oid2": "%MIB(Oid2)%" when the object ID "y.y.y.y..." is written as Oid2.
The descriptions "xxxxxx...." and "yyyyyy...." shown in the task result T2 in FIG. 5 are illustrative abstract representations of the update results.
「ログ」および「登録」に関するエンティティのそれぞれにおいても、「ステータス」に関するエンティティと同様にして、プロパティ「NotifyParameter」内の文字列が書き換えられる。 For each of the "Log" and "Registration" entities, the string in the "NotifyParameter" property is rewritten in the same way as for the "Status" entity.
プロパティ「Progress」には、進捗状況を示す文字列として、例えば、タスクが完了したことを示す文字列「done」、指示の実行を要求していることを示す文字列「request」、タスクを実行中であることを示す文字列「processing」が格納される。 The property "Progress" stores a string indicating the progress, such as the string "done" indicating that the task has been completed, the string "request" indicating that an instruction is being requested to be executed, or the string "processing" indicating that the task is currently being executed.
プロパティ「Source」は、エンティティを更新した装置の種別を示す。エンティティがクライアント3により更新されるとき、当該エンティティにおけるプロパティ「Source」には、クライアント3であることを示す文字列である「client」が格納される。エンティティがクラウドコネクタにより更新されるとき、当該エンティティにおけるプロパティ「Source」には、第2種端末装置5であることを示す文字列である「device」が格納される。 The property "Source" indicates the type of device that updated the entity. When an entity is updated by a client 3, the property "Source" of that entity stores the string "client", which indicates that it is a client 3. When an entity is updated by a cloud connector, the property "Source" of that entity stores the string "device", which indicates that it is a type 2 terminal device 5.
第2種端末装置5のクラウドコネクタのエンティティは、当該クラウドコネクタによって更新される。第1種端末装置4のエンティティは、第1種端末装置4と同一のローカルエリアネットワークに接続されたクライアント3によって更新される。すなわち、クライアント3によって、クライアント3配下の第1種端末装置4(すなわち、管理中継対象の第1種端末装置4)毎のエンティティが更新される。第1種端末装置4の登録エンティティには、第1種端末装置4を管理中継対象とするクライアント3の識別情報が、デバイス情報の一部として書き込まれてもよい。 The entity of the cloud connector of a second-type terminal device 5 is updated by the cloud connector. The entity of a first-type terminal device 4 is updated by a client 3 connected to the same local area network as the first-type terminal device 4. In other words, the client 3 updates the entity for each first-type terminal device 4 under the client 3 (i.e., the first-type terminal device 4 that is the management relay target). Identification information for the client 3 that manages and relays the first-type terminal device 4 may be written as part of the device information in the registration entity of the first-type terminal device 4.
クライアント3は、同一ローカルエリアネットワーク内における管理中継対象の各第1種端末装置4と通信し、各第1種端末装置4から、デバイス情報の更新に必要な情報を取得する。クライアント3は、取得した情報に基づき、対応する第1種端末装置4の登録エンティティを更新することができる。 The client 3 communicates with each type 1 terminal device 4 that is a management relay target within the same local area network, and obtains the information necessary to update device information from each type 1 terminal device 4. Based on the obtained information, the client 3 can update the registration entity of the corresponding type 1 terminal device 4.
クライアント3は、さらに、定期的に、管理中継対象の各第1種端末装置4とローカルエリアネットワークを介して通信し、対応するログ情報およびステータス情報を取得する。クライアント3は、取得したログ情報およびステータス情報に基づき、対応する第1種端末装置4のログエンティティおよびステータスエンティティを更新することができる。 The client 3 also periodically communicates with each type 1 terminal device 4 that is the target of management relay via the local area network to obtain corresponding log information and status information. Based on the obtained log information and status information, the client 3 can update the log entities and status entities of the corresponding type 1 terminal device 4.
第2種端末装置5のクラウドコネクタは、定期的にクラウドサーバ6にアクセスし、自己のログ情報およびステータス情報に基づいて自己のログエンティティおよびステータスエンティティを更新することができる。 The cloud connector of the second-type terminal device 5 can periodically access the cloud server 6 and update its own log entity and status entity based on its own log information and status information.
マスタ2は、クライアント3としての機能を兼ね備える。すなわち、マスタ2は、第1拠点の第1種端末装置4に対して、クライアント3として機能すると理解してよい。具体的には、クラウドサーバ6の第1ストレージ93におけるスケジュールタスクテーブルには、第1拠点における第1種端末装置4(以下、マスタ配下端末装置)それぞれに対応した、「ログ」、「ステータス」および「登録」に関する3つのエンティティが生成される。マスタ2は、クライアント3と同様に、マスタ配下端末装置から各種情報を取得して、対応するマスタ配下端末装置それぞれの登録エンティティ、ログエンティティおよびステータスエンティティを更新することができる。 The master 2 also functions as a client 3. In other words, the master 2 can be understood to function as a client 3 with respect to the first-type terminal device 4 at the first base. Specifically, three entities related to "log," "status," and "registration" are generated in the schedule task table in the first storage 93 of the cloud server 6, corresponding to each of the first-type terminal devices 4 at the first base (hereinafter referred to as master-subordinate terminal devices). Like the client 3, the master 2 can obtain various information from the master-subordinate terminal devices and update the registration entity, log entity, and status entity of each corresponding master-subordinate terminal device.
マスタ2は、さらに、図4のS11に示すように、定期的にクラウドサーバ6の第1ストレージ93にアクセスして、端末装置4,5それぞれのログエンティティ、ステータスエンティティおよび登録エンティティを参照する。マスタ2は、これらの参照に基づき、各端末装置4,5のログ情報、ステータス情報およびデバイス情報を、記憶部15に記憶する処理を実行することができる。 Furthermore, as shown in S11 of FIG. 4, the master 2 periodically accesses the first storage 93 of the cloud server 6 and references the log entities, status entities, and registration entities of each of the terminal devices 4 and 5. Based on these references, the master 2 can execute processing to store the log information, status information, and device information of each of the terminal devices 4 and 5 in the storage unit 15.
さらにマスタ2は、ユーザの操作によって入力部14から出力される操作信号に従って、表示部13の画面に、上記登録された端末装置4,5のリストを表示したり、端末装置4,5のログ情報およびステータス情報を表示したりすることができる。このように管理システム1は、複数拠点で使用される端末装置4,5の状態を、マスタ2が設置された一拠点で遠隔から監視可能に構成される。 Furthermore, the master 2 can display a list of the registered terminal devices 4 and 5 on the screen of the display unit 13, as well as log information and status information for the terminal devices 4 and 5, in accordance with operation signals output from the input unit 14 by user operation. In this way, the management system 1 is configured to enable remote monitoring of the status of terminal devices 4 and 5 used at multiple locations from a single location where the master 2 is installed.
S12に示すように、マスタ2は、主管理者の操作によって入力部14から出力される操作信号に従って、主管理者からインスタントタスクの実行要求操作を受け付け、この実行要求操作に従ってインスタントタスクのエンティティ(以下、インスタントタスクエンティティ)を示すデータを生成する。インスタントタスクは、スケジュールタスク以外の非定期のタスクである。 As shown in S12, the master 2 accepts an instant task execution request operation from the main administrator in accordance with an operation signal output from the input unit 14 by the main administrator's operation, and generates data indicating an instant task entity (hereinafter referred to as an instant task entity) in accordance with this execution request operation. An instant task is a non-periodic task other than a scheduled task.
さらにマスタ2は、S13に示すように、作成したデータをクラウドサーバ6へ送信することで、該当するインスタントタスクエンティティを第1ストレージ93に登録することができる。 Furthermore, as shown in S13, the master 2 can register the corresponding instant task entity in the first storage 93 by sending the created data to the cloud server 6.
インスタントタスクエンティティは、第1ストレージ93において、例えば、図6に例示するインスタントタスクテーブルの形式で登録される。
インスタントタスクテーブルは、スケジュールタスクテーブルと同様に、「PartitionKey」、「RowKey」、「DeviceId」、「NotifyParameter」、「Progress」、「SequentialTaskId」および「NextSequentialTaskId」のプロパティを含む。
The instant task entities are registered in the first storage 93 in the form of an instant task table, for example, as shown in FIG.
The instant task table, like the scheduled task table, includes the properties "PartitionKey", "RowKey", "DeviceId", "NotifyParameter", "Progress", "SequentialTaskId", and "NextSequentialTaskId".
プロパティ「PartitionKey」には、インスタントタスクであることを示す文字列である「instanttask」が格納されている。
プロパティ「RowKey」には、各インスタントタスクを識別するためのトランザクションIDが格納される。
The property "PartitionKey" stores "instanttask", which is a character string indicating that it is an instant task.
The property "RowKey" stores a transaction ID for identifying each instant task.
プロパティ「DeviceId」には、指示の宛先となる第1種端末装置4または第2種端末装置5を識別するためのデバイスIDが格納される。
プロパティ「NotifyParameter」には、インスタントタスクの指示内容を示すためにJSON形式で記述された文字列が格納される。
The property "DeviceId" stores a device ID for identifying the first type terminal device 4 or the second type terminal device 5 that is the destination of the instruction.
The property "NotifyParameter" stores a character string written in JSON format to indicate the instruction content of the instant task.
プロパティ「Progress」には、指示の進捗状況を示す文字列が格納される。
プロパティ「SequentialTaskId」には、連続タスクIDが格納される。連続タスクIDは、当該タスクが連続タスクの1番目のタスクである場合において1番目のタスクであることを示し、当該タスクが連続タスクの2番目以降のタスクである場合において当該タスクを指定する。
The property "Progress" stores a character string indicating the progress of the instruction.
The property "SequentialTaskId" stores a sequential task ID. The sequential task ID indicates that the task is the first task in the sequential tasks, and specifies the task in the sequential tasks that are the second or later tasks.
プロパティ「NextSequentialTaskId」には、次連続タスクIDが格納される。次連続タスクIDは、連続して実行される複数のタスクにおいて当該タスクの次に実行されるタスクを指定する。 The property "NextSequentialTaskId" stores the next sequential task ID. The next sequential task ID specifies the task to be executed next in a series of tasks.
インスタントタスクの実行に所定のファイルが必要な場合、マスタ2は、図4のS14に示すように、当該ファイルを第2ストレージ94に格納する。この場合に、プロパティ「NotifyParameter」には、当該ファイルの格納先を示す情報(例えば、URL)が記述される。例えば、インスタントタスクが端末装置4,5におけるファームウェアの更新である場合には、マスタ2は、ファームウェアの更新に必要な更新ファイルを、第2ストレージ94に格納する。この場合に、プロパティ「NotifyParameter」には、例えば、ファームウェアの更新ファイルの格納先URLが記述されてもよい。 If a specific file is required to execute an instant task, the master 2 stores the file in the second storage 94, as shown in S14 of FIG. 4. In this case, the property "NotifyParameter" describes information indicating the storage destination of the file (e.g., a URL). For example, if the instant task is a firmware update for the terminal devices 4 and 5, the master 2 stores the update file required for the firmware update in the second storage 94. In this case, the property "NotifyParameter" may describe, for example, the storage destination URL of the firmware update file.
第2種端末装置5のクラウドコネクタは、S15に示すように、設定されたポーリング周期で、クラウドサーバ6の第1ストレージ93にアクセスし、自己を対象とするインスタントタスクを検索する。すなわち、クラウドコネクタは、インスタントタスクテーブル内に、自己で実行すべきインスタントタスクの新規エンティティが登録されているか否かを判断する。 As shown in S15, the cloud connector of the second-type terminal device 5 accesses the first storage 93 of the cloud server 6 at the set polling period and searches for instant tasks that target itself. In other words, the cloud connector determines whether a new entity for an instant task that should be executed by itself has been registered in the instant task table.
新規エンティティが登録されている場合に、クラウドコネクタは、対応するインスタントタスクエンティティにおけるプロパティ「Progress」の文字列を、「request」から「processing」に書き換えることにより、インスタントタスクの要求を受け取った旨をマスタ2に伝達する。 When a new entity is registered, the cloud connector notifies Master 2 that it has received an instant task request by rewriting the string for the "Progress" property in the corresponding instant task entity from "request" to "processing."
インスタントタスクエンティティを登録したマスタ2は、S18に示すように、当該インスタントタスクエンティティに対応するインスタントタスクの状況確認を行う。具体的には、マスタ2は、第1ストレージ93に登録されたインスタントタスクテーブルにおけるインスタントタスクエンティティを、設定されたポーリング周期で定期的に参照する。マスタ2は、定期参照により、進捗状況のプロパティの値が更新されたことに基づいて、インスタントタスクの要求が受け取られたことを確認することができる。 As shown in S18, the master 2 that has registered the instant task entity checks the status of the instant task corresponding to that instant task entity. Specifically, the master 2 periodically references the instant task entity in the instant task table registered in the first storage 93 at the set polling interval. Through this periodic reference, the master 2 can confirm that the instant task request has been received based on the updated value of the progress status property.
第2種端末装置5のクラウドコネクタは、インスタントタスクの実行に際して、インスタントタスクエンティティにおけるプロパティ「NotifyParameter」を参照する。そしてクラウドコネクタは、インスタントタスクの実行に必要なデータファイルが第2ストレージ94内に存在する場合には、プロパティ「NotifyParameter」に記載された格納先情報(例えばURL)に基づいて、S16に示すように、第2ストレージ94からデータファイルをダウンロードする。 When executing an instant task, the cloud connector of the second-type terminal device 5 references the "NotifyParameter" property in the instant task entity. If the data file required to execute the instant task exists in the second storage 94, the cloud connector downloads the data file from the second storage 94 based on the storage destination information (e.g., URL) described in the "NotifyParameter" property, as shown in S16.
第2種端末装置5のクラウドコネクタは、インスタントタスクが終了すると、S17に示すように、該当するインスタントタスクエンティティを更新する。具体的には、クラウドコネクタは、対応するインスタントタスクエンティティにおけるプロパティ「Progress」の文字列を、「processing」から「done」に書き換えることにより、インスタントタスクの実行を完了した旨をマスタ2に伝達する。 When the instant task is completed, the cloud connector of the second-type terminal device 5 updates the corresponding instant task entity as shown in S17. Specifically, the cloud connector rewrites the string of the property "Progress" in the corresponding instant task entity from "processing" to "done," thereby notifying the master 2 that the execution of the instant task has been completed.
クライアント3は、S19に示すように、設定されたポーリング周期で、クラウドサーバ6の第1ストレージ93にアクセスし、管理中継対象を対象とするインスタントタスクを検索する。すなわち、クライアント3は、インスタントタスクテーブル内に、自己の管理中継対象の第1種端末装置4に実行させるべきインスタントタスクの新規エンティティが登録されているか否かを判断する。以下、管理中継対象の第1種端末装置4のうちインスタントタスクテーブルにおいてインスタントタスクの実行対象に設定されている1つ以上の第1種端末装置4(つまり、プロパティ「DeviceId」に格納されているデバイスIDに対応する1つ以上の第1種端末装置4)のそれぞれを、インスタントタスク実行対象という。 As shown in S19, the client 3 accesses the first storage 93 of the cloud server 6 at the set polling period and searches for instant tasks that target the management relay target. That is, the client 3 determines whether a new entity for the instant task to be executed by the type 1 terminal device 4 that is the management relay target of the client 3 has been registered in the instant task table. Hereinafter, each of one or more type 1 terminal devices 4 that are the management relay target and that are set as instant task execution targets in the instant task table (that is, one or more type 1 terminal devices 4 that correspond to the device ID stored in the property "DeviceId") will be referred to as an instant task execution target.
インスタントタスク実行対象に対する新規のインスタントタスクエンティティが登録されている場合に、クライアント3は、該当するインスタントタスクエンティティにおけるプロパティ「Progress」の文字列を、「request」から「processing」に書き換えることにより、インスタントタスクの要求を受け取った旨をマスタ2に伝達する。さらにクライアント3は、インスタントタスクエンティティにおけるプロパティ「NotifyParameter」を参照し、実行すべき処理内容を認識する。そしてクライアント3は、認識した処理内容に基づき、S20に示すように、必要に応じて第2ストレージ94からインスタントタスクに実行に必要なデータファイルを取得する。 When a new instant task entity for the instant task execution target is registered, the client 3 notifies the master 2 that it has received the instant task request by rewriting the string of the property "Progress" in the corresponding instant task entity from "request" to "processing." The client 3 then references the property "NotifyParameter" in the instant task entity to identify the processing content to be executed. Then, based on the identified processing content, the client 3 retrieves data files necessary for executing the instant task from the second storage 94 as necessary, as shown in S20.
その後、クライアント3は、S21に示すように、ローカルエリアネットワークを通じて、インスタントタスク実行対象に、インスタントタスクの実行を指示する。この際、第2ストレージ94から取得したデータファイルを、各インスタントタスク実行対象に転送する。そしてクライアント3は、インスタントタスク実行対象から、インスタントタスクの実行結果を取得する。 Then, as shown in S21, the client 3 instructs the instant task execution targets to execute the instant task via the local area network. At this time, the data file obtained from the second storage 94 is transferred to each instant task execution target. The client 3 then obtains the execution results of the instant task from the instant task execution targets.
クライアント3は、全てのインスタントタスク実行対象においてインスタントタスクの実行が完了すると、S22に示すように、該当するインスタントタスク実行対象のインスタントタスクエンティティを更新する。具体的には、クライアント3は、対応するインスタントタスクエンティティにおけるプロパティ「Progress」の文字列を、「processing」から「done」に書き換えることにより、インスタントタスクの実行を完了した旨をマスタ2に伝達する。 When the execution of instant tasks for all instant task execution targets is completed, the client 3 updates the instant task entity for the corresponding instant task execution target, as shown in S22. Specifically, the client 3 rewrites the string for the property "Progress" in the corresponding instant task entity from "processing" to "done," thereby notifying the master 2 that the execution of the instant task has been completed.
マスタ2は、状況確認として、S23に示すように、第1ストレージ93のインスタントタスクテーブルにおけるインスタントタスクエンティティを参照し、プロパティ「Progress」の文字列が「done」に書き換えられたことを知ることにより、インスタントタスクが完了したことを確認し、処理結果を記憶部15に書き込む。 To check the status, as shown in S23, Master 2 references the instant task entity in the instant task table in the first storage 93 and finds that the string for the property "Progress" has been rewritten to "done." This confirms that the instant task has been completed, and writes the processing result to the memory unit 15.
マスタ2は、更に、処理結果を表示部13の画面に表示することができる。マスタ2は、S24に示すように、登録したインスタントタスクが、対応する全てのインスタントタスク実行対象で完了したことを確認すると、S25に示すように、不要になったインスタントタスクのインスタントタスクエンティティを第1ストレージ93から削除する。またマスタ2は、S26に示すように、当該インスタントタスクに供されたデータファイル(例えばファームウェアの更新ファイル)を第2ストレージ94から削除する。 The master 2 can also display the processing results on the screen of the display unit 13. As shown in S24, when the master 2 confirms that the registered instant task has been completed for all corresponding instant task execution targets, it deletes the instant task entity of the instant task that is no longer needed from the first storage 93 as shown in S25. The master 2 also deletes the data file (e.g., a firmware update file) provided for the instant task from the second storage 94 as shown in S26.
このように管理システム1は、クラウドサーバ6の第1ストレージ93におけるインスタントタスクエンティティの登録および更新と、第2ストレージ94を介したデータファイルの転送とにより、複数拠点で使用される端末装置4,5を、マスタ2が設置されている一拠点で遠隔から制御可能に構成される。 In this way, the management system 1 is configured to be able to remotely control terminal devices 4 and 5 used at multiple locations from a single location where the master 2 is installed, by registering and updating instant task entities in the first storage 93 of the cloud server 6 and transferring data files via the second storage 94.
(4)連続タスクに関連する処理
次に、マスタ2の制御部11が実行するタスク登録処理の手順を説明する。タスク登録処理は、マスタ2の動作中において繰り返し実行される処理である。
(4) Processing Related to Continuous Tasks Next, a description will be given of the procedure of task registration processing executed by the control unit 11 of the master 2. The task registration processing is processing that is repeatedly executed while the master 2 is in operation.
タスク登録処理が実行されると、制御部11のCPU21は、図7に示すように、まずS110にて、実行要求が出されており且つクラウドサーバ6に登録されていないタスク(以下、実行待機タスク)が存在するか否かを判断する。 When the task registration process is executed, the CPU 21 of the control unit 11 first determines in S110 whether there is a task for which an execution request has been issued but which has not been registered on the cloud server 6 (hereinafter referred to as an execution waiting task), as shown in FIG. 7.
ここで、実行待機タスクが存在しない場合には、CPU21は、タスク登録処理を終了する。一方、実行待機タスクが存在する場合には、CPU21は、S120にて、実行待機タスクの中から最も早く実行要求が出されたタスクを取得する。 If there are no tasks waiting for execution, the CPU 21 ends the task registration process. On the other hand, if there are tasks waiting for execution, the CPU 21 acquires, at S120, the task for which an execution request was issued earliest from among the tasks waiting for execution.
そしてCPU21は、S130にて、S120で取得したタスクの実行を要求するインスタントタスクエンティティを生成する。
ここで、図8に示すように4つの実行待機タスクが存在する場合におけるインスタントタスクエンティティ生成の具体例を説明する。
Then, in S130, the CPU 21 generates an instant task entity that requests the execution of the task acquired in S120.
Here, a specific example of instant task entity generation in the case where there are four tasks waiting to be executed as shown in FIG. 8 will be described.
図8に示す4つの実行待機タスクのうち、最も早く実行要求が出されたタスクは、タスクTS1で示すように、デバイスIDが「PrinterA」に設定されている端末装置の連続タスクにおける1番目のタスクである。 Of the four tasks waiting for execution shown in Figure 8, the task for which an execution request was issued first is the first task in the series of consecutive tasks for the terminal device whose device ID is set to "PrinterA," as shown by task TS1.
4つの実行待機タスクのうち、2番目に早く実行要求が出されたタスクは、タスクTS2で示すように、デバイスIDが「PrinterA」に設定されている端末装置の連続タスクにおける2番目のタスクである。 Of the four tasks waiting for execution, the task for which an execution request was issued second earliest is the second task in the continuous task list for the terminal device whose device ID is set to "PrinterA," as shown by task TS2.
4つの実行待機タスクのうち、3番目に早く実行要求が出されたタスクは、タスクTS3で示すように、デバイスIDが「PrinterB」に設定されている端末装置の連続タスクにおける1番目のタスクである。 Of the four tasks waiting for execution, the task for which an execution request was issued third earliest is the first task in the series of consecutive tasks for the terminal device whose device ID is set to "PrinterB," as shown by task TS3.
4つの実行待機タスクのうち、最も遅く実行要求が出されたタスクは、タスクTS4で示すように、デバイスIDが「PrinterB」に設定されている端末装置の連続タスクにおける2番目のタスクである。 Of the four tasks waiting for execution, the task for which an execution request was issued last is the second task in the series of consecutive tasks for the terminal device whose device ID is set to "PrinterB," as shown by task TS4.
タスクTS1のインスタントタスクエンティティでは、トランザクションIDが「001」、デバイスIDが「PrinterA」、連続タスクIDが「0」、次連続タスクIDが「1」に設定される。 In the instant task entity for task TS1, the transaction ID is set to "001", the device ID is set to "PrinterA", the consecutive task ID is set to "0", and the next consecutive task ID is set to "1".
タスクTS2のインスタントタスクエンティティでは、トランザクションIDが「002」、デバイスIDが「PrinterA」、連続タスクIDが「1」、次連続タスクIDが「NULL」に設定される。 In the instant task entity for task TS2, the transaction ID is set to "002", the device ID is set to "PrinterA", the consecutive task ID is set to "1", and the next consecutive task ID is set to "NULL".
タスクTS3のインスタントタスクエンティティでは、トランザクションIDが「003」、デバイスIDが「PrinterB」、連続タスクIDが「0」、次連続タスクIDが「2」に設定される。 In the instant task entity for task TS3, the transaction ID is set to "003", the device ID is set to "PrinterB", the consecutive task ID is set to "0", and the next consecutive task ID is set to "2".
タスクTS4のインスタントタスクエンティティでは、トランザクションIDが「004」、デバイスIDが「PrinterB」、連続タスクIDが「2」、次連続タスクIDが「NULL」に設定される。 In the instant task entity for task TS4, the transaction ID is set to "004", the device ID is set to "PrinterB", the consecutive task ID is set to "2", and the next consecutive task ID is set to "NULL".
なお、クライアント3は、デバイスIDが「PrinterA」に設定されている端末装置のインスタントタスクエンティティと、デバイスIDが「PrinterB」に設定されている端末装置のインスタントタスクエンティティとを互いに独立して検索することができる。これにより、クライアント3は、或る端末装置(例えば「PrinterA」)において次のタスクの取得を待っている状態であるために、別の端末装置(例えば「PrinterB」)におけるタスクの実行が妨げられてしまうという事態の発生を抑制することができる。 Note that the client 3 can independently search for the instant task entity of a terminal device whose device ID is set to "PrinterA" and the instant task entity of a terminal device whose device ID is set to "PrinterB." This allows the client 3 to prevent a situation in which a terminal device (e.g., "PrinterA") is waiting to acquire the next task, preventing the execution of a task on another terminal device (e.g., "PrinterB").
S130の処理が終了すると、CPU21は、図7に示すように、S140にて、S130で生成したインスタントタスクエンティティを第1ストレージ93に登録して、タスク登録処理を終了する。 When the processing of S130 is completed, the CPU 21 registers the instant task entity generated in S130 in the first storage 93 in S140, as shown in FIG. 7, and terminates the task registration processing.
次に、クライアント3の制御部31と第2種端末装置5の制御部71とが実行するタスク実行処理の手順を説明する。タスク実行処理は、クライアント3および第2種端末装置5の動作中において繰り返し実行される処理である。 Next, we will explain the procedure for the task execution process executed by the control unit 31 of the client 3 and the control unit 71 of the second-type terminal device 5. The task execution process is a process that is repeatedly executed while the client 3 and the second-type terminal device 5 are operating.
タスク実行処理が実行されると、制御部31のCPU41と制御部71のCPU81とは、図9に示すように、まずS310にて、検索タイミングが到来したか否かを判断する。検索タイミングは、クライアント3および第2種端末装置5のそれぞれについて設定されたポーリング周期が経過するタイミングである。 When the task execution process is executed, the CPU 41 of the control unit 31 and the CPU 81 of the control unit 71 first determine in S310 whether the search timing has arrived, as shown in FIG. 9. The search timing is the timing when the polling period set for each of the client 3 and the second-type terminal device 5 has elapsed.
ここで、検索タイミングが到来していない場合には、CPU41,81は、タスク実行処理を終了する。一方、検索タイミングが到来した場合には、CPU41,81は、S320にて、インスタントタスクの検索を実行する。 If the search timing has not arrived, the CPU 41, 81 terminates the task execution process. On the other hand, if the search timing has arrived, the CPU 41, 81 performs a search for instant tasks in S320.
具体的には、CPU41は、クラウドサーバ6の第1ストレージ93にアクセスすることによって、クライアント3とローカルエリアネットワークを介して接続されている第1種端末装置4が要求対象となっているインスタントタスクエンティティを検索する。そしてCPU41は、要求対象のインスタントタスクエンティティが存在する場合に、取得していないインスタントタスクエンティティの中から最も早く登録されているものを取得する。 Specifically, the CPU 41 accesses the first storage 93 of the cloud server 6 to search for an instant task entity that is the target of a request from a first type terminal device 4 connected to the client 3 via a local area network. If the requested instant task entity exists, the CPU 41 then obtains the earliest registered instant task entity from among the instant task entities that have not yet been obtained.
またCPU81は、クラウドサーバ6の第1ストレージ93にアクセスすることによって、当該第2種端末装置5が要求対象となっているインスタントタスクエンティティを検索する。そしてCPU81は、要求対象のインスタントタスクエンティティが存在する場合に、取得していないインスタントタスクエンティティの中から最も早く登録されているものを取得する。 The CPU 81 also accesses the first storage 93 of the cloud server 6 to search for instant task entities that are the target of a request from the second-type terminal device 5. If the requested instant task entity exists, the CPU 81 then obtains the earliest registered instant task entity from among the unobtained instant task entities.
S320の処理が終了すると、CPU41,81は、S330にて、S320でインスタントタスクエンティティを取得したか否かを判断する。ここで、インスタントタスクエンティティを取得した場合には、CPU41,81は、S340にて、取得したインスタントタスクエンティティで要求されているタスクを実行する。 When the processing of S320 is completed, the CPU 41, 81 determines in S330 whether or not an instant task entity was acquired in S320. If an instant task entity was acquired, the CPU 41, 81 executes the task requested in the acquired instant task entity in S340.
次にCPU41,81は、S350にて、取得したインスタントタスクエンティティのプロパティ「NextSequentialTaskId」を参照することによって、次に実行するタスク(以下、次タスク)が指定されているか否かを判断する。具体的には、CPU41,81は、プロパティ「NextSequentialTaskId」に数字が格納されている場合に、次タスクが指定されていると判断する。一方、CPU41,81は、プロパティ「NextSequentialTaskId」に数字が格納されていない場合に、次タスクが指定されていないと判断する。 Next, at S350, the CPU 41, 81 determines whether the next task to be executed (hereinafter referred to as the next task) has been specified by referencing the property "NextSequentialTaskId" of the acquired instant task entity. Specifically, the CPU 41, 81 determines that the next task has been specified if a number is stored in the property "NextSequentialTaskId." On the other hand, the CPU 41, 81 determines that the next task has not been specified if a number is not stored in the property "NextSequentialTaskId."
ここで、次タスクが指定されている場合には、CPU41,81は、S360にて、ポーリング周期を、予め設定された第2検索周期に設定し、タスク実行処理を終了する。
またS330にて、インスタントタスクエンティティを取得していない場合には、CPU41,81は、S370に移行する。
If the next task is specified, the CPU 41, 81 sets the polling period to the second search period set in advance in S360, and ends the task execution process.
If an instant task entity has not been acquired in S330, the CPU 41, 81 proceeds to S370.
またS350にて、次タスクが指定されていない場合には、CPU41,81は、S370に移行する。
そしてS370に移行すると、CPU41,81は、ポーリング周期が第2検索周期に設定されているか否かを判断する。ここで、ポーリング周期が第2検索周期に設定されていない場合には、CPU41,81は、タスク実行処理を終了する。
If the next task is not specified in S350, the CPU 41, 81 proceeds to S370.
Then, in S370, the CPU 41, 81 determines whether the polling period is set to the second search period. If the polling period is not set to the second search period, the CPU 41, 81 ends the task execution process.
一方、ポーリング周期が第2検索周期に設定されている場合には、CPU41,81は、S380にて、次タスクを取得することができなかった時間(以下、タスク未取得時間)が予め設定された切替時間を超えたか否かを判断する。 On the other hand, if the polling period is set to the second search period, the CPU 41, 81 determines in S380 whether the time during which the next task could not be acquired (hereinafter referred to as the task unacquired time) has exceeded the preset switching time.
ここで、タスク未取得時間が切替時間を超えていない場合には、CPU41,81は、タスク実行処理を終了する。一方、タスク未取得時間が切替時間を超えた場合には、CPU41,81は、S390にて、ポーリング周期を、第2検索周期より長くなるように設定された第1検索周期に設定し、タスク実行処理を終了する。 Here, if the task unacquired time does not exceed the switching time, the CPU 41, 81 terminates the task execution process. On the other hand, if the task unacquired time exceeds the switching time, the CPU 41, 81 sets the polling period to the first search period, which is set to be longer than the second search period, in S390, and terminates the task execution process.
なお、クライアント3および第2種端末装置5は、ポーリング周期が第1検索周期に設定されている場合には、先頭タスク(すなわち、プロパティ「SequentialTaskId」に「0」が格納されているインスタントタスクエンティティ)を検索する。 When the polling period is set to the first search period, the client 3 and the second-type terminal device 5 search for the first task (i.e., the instant task entity in which "0" is stored in the property "SequentialTaskId").
また、クライアント3および第2種端末装置5は、ポーリング周期が第2検索周期に設定されている場合には、直近で取得したインスタントタスクエンティティと同じデバイスIDがプロパティ「DeviceId」に格納され、且つ、直近で取得したインスタントタスクエンティティの次連続タスクIDと同じ数字がプロパティ「SequentialTaskId」に格納されているインスタントタスクエンティティを検索する。 Furthermore, when the polling period is set to the second search period, the client 3 and the second type terminal device 5 search for an instant task entity whose property "DeviceId" stores the same device ID as the most recently acquired instant task entity, and whose property "SequentialTaskId" stores the same number as the next sequential task ID of the most recently acquired instant task entity.
次に、連続タスク実行に関する動作シーケンスを概略的に説明する。連続タスク実行に関する動作シーケンスの説明では、クライアント3または第2種端末装置5をデバイスという。 Next, we will provide an overview of the operational sequence for executing consecutive tasks. In this explanation of the operational sequence for executing consecutive tasks, the client 3 or the second-type terminal device 5 will be referred to as a device.
図10に示すように、デバイスは、S41に示すように、第1検索周期が経過することによって、検索タイミングが到来したと判断する。以下、第1検索周期が経過することにより到来する検索タイミングを第1検索タイミングという。 As shown in FIG. 10, the device determines that the search timing has arrived when the first search cycle has elapsed, as shown in S41. Hereinafter, the search timing that arrives when the first search cycle has elapsed will be referred to as the first search timing.
そしてデバイスは、S42に示すように、クラウドサーバ6の第1ストレージ93にアクセスし、インスタントタスクエンティティを検索する。なお、デバイスが第2種端末装置5である場合には、第2種端末装置5は、自己を対象とするインスタントタスクエンティティを検索する。デバイスがクライアント3である場合には、管理中継対象を対象とするインスタントタスクエンティティを検索する。以下、第1検索タイミングが到来することにより行われる検索を第1検索という。 Then, as shown in S42, the device accesses the first storage 93 of the cloud server 6 and searches for an instant task entity. If the device is a second-type terminal device 5, the second-type terminal device 5 searches for an instant task entity that targets itself. If the device is a client 3, it searches for an instant task entity that targets a management relay target. Hereinafter, the search performed when the first search timing arrives will be referred to as the first search.
そしてS43に示すように、デバイスは、S42の第1検索によって先頭タスクのインスタントタスクエンティティを取得できない。
次にマスタ2は、S44に示すように、先頭タスクのインスタントタスクエンティティをクラウドサーバ6の第1ストレージ93に登録する。さらにマスタ2は、S45に示すように、マスタ2に設定されたポーリング周期が経過することによって、確認タイミングが到来したと判断する。
Then, as shown in S43, the device cannot acquire the instant task entity of the top task through the first search in S42.
Next, as shown in S44, master 2 registers the instant task entity of the leading task in the first storage 93 of the cloud server 6. Furthermore, as shown in S45, master 2 determines that the confirmation timing has arrived when the polling period set in master 2 has elapsed.
そしてマスタ2は、S46に示すように、クラウドサーバ6の第1ストレージ93にアクセスし、先頭タスクの結果を確認する。
そしてS47に示すように、マスタ2は、先頭タスクが未だ実行されていないことを確認する。
Then, as shown in S46, the master 2 accesses the first storage 93 of the cloud server 6 and checks the result of the leading task.
Then, as shown in S47, master 2 confirms that the leading task has not yet been executed.
またデバイスは、S48に示すように、第1検索タイミングが到来したと判断し、S49に示すように、第1検索を実行する。これにより、デバイスは、S50に示すように、先頭タスクのインスタントタスクエンティティをクラウドサーバ6の第1ストレージ93から取得し、S51に示すように、先頭タスクを実行する。 The device also determines that the first search timing has arrived, as shown in S48, and executes the first search, as shown in S49. As a result, the device obtains the instant task entity of the top task from the first storage 93 of the cloud server 6, as shown in S50, and executes the top task, as shown in S51.
先頭タスクが終了すると、デバイスは、S52に示すように、クラウドサーバ6の第1ストレージ93に登録されている先頭タスクのインスタントタスクエンティティのプロパティ「Progress」の文字列を書き換えることにより、先頭タスクの実行を完了した旨を通知する。 When the top task is completed, the device notifies the user that execution of the top task has been completed by rewriting the string in the "Progress" property of the instant task entity of the top task registered in the first storage 93 of the cloud server 6, as shown in S52.
さらにデバイスは、第2検索周期が経過することによって、検索タイミングが到来したと判断し、S53に示すように、クラウドサーバ6の第1ストレージ93にアクセスし、先頭タスクの次に実行されるタスク(以下、次タスク)のインスタントタスクエンティティを検索する。以下、第2検索周期が経過することにより到来する検索タイミングを第2検索タイミングという。第2検索タイミングが到来することにより行われる検索を第2検索という。 Furthermore, when the second search period has elapsed, the device determines that the search timing has arrived, and, as shown in S53, accesses the first storage 93 of the cloud server 6 and searches for the instant task entity of the task to be executed next after the first task (hereinafter referred to as the next task). Hereinafter, the search timing that arrives when the second search period has elapsed is referred to as the second search timing. A search performed when the second search timing arrives is referred to as the second search.
そしてS54に示すように、デバイスは、S53の第2検索によって次タスクのインスタントタスクエンティティを取得できない。
次にマスタ2は、S55に示すように、マスタ2に設定されたポーリング周期が経過することによって、確認タイミングが到来したと判断する。
Then, as shown in S54, the device cannot obtain the instant task entity of the next task through the second search in S53.
Next, as shown in S55, the master 2 determines that the confirmation timing has arrived when the polling period set in the master 2 has elapsed.
そしてマスタ2は、S56に示すように、クラウドサーバ6の第1ストレージ93にアクセスし、先頭タスクの結果を確認する。
そしてS57に示すように、マスタ2は、先頭タスクの実行が完了したことを確認する。これにより、マスタ2は、S58に示すように、先頭タスクのインスタントタスクエンティティをクラウドサーバ6の第1ストレージ93から削除する。さらにマスタ2は、S59に示すように、次タスクのインスタントタスクエンティティをクラウドサーバ6の第1ストレージ93に登録する。
Then, as shown in S56, the master 2 accesses the first storage 93 of the cloud server 6 and checks the result of the leading task.
Then, as shown in S57, master 2 confirms that execution of the top task has been completed. As a result, as shown in S58, master 2 deletes the instant task entity of the top task from the first storage 93 of the cloud server 6. Furthermore, as shown in S59, master 2 registers the instant task entity of the next task in the first storage 93 of the cloud server 6.
図11に示すように、デバイスは、第2検索周期が経過することによって、S60にて、第2検索タイミングが到来したと判断する。そしてデバイスは、S61に示すように、第2検索を実行する。これにより、デバイスは、S62に示すように、次タスクのインスタントタスクエンティティをクラウドサーバ6の第1ストレージ93から取得し、S63に示すように、次タスクを実行する。 As shown in FIG. 11 , when the second search period has elapsed, the device determines in S60 that the second search timing has arrived. The device then performs a second search in S61. As a result, the device obtains the instant task entity for the next task from the first storage 93 of the cloud server 6 in S62, and executes the next task in S63.
次タスクが終了すると、デバイスは、S64に示すように、クラウドサーバ6の第1ストレージ93に登録されている次タスクのインスタントタスクエンティティのプロパティ「Progress」の文字列を書き換えることにより、次タスクの実行を完了した旨を通知する。 When the next task is completed, the device notifies the user that execution of the next task has been completed by rewriting the string in the "Progress" property of the instant task entity for the next task registered in the first storage 93 of the cloud server 6, as shown in S64.
さらにデバイスは、第1検索周期が経過することによって、第1検索タイミングが到来したと判断し、S65に示すように、クラウドサーバ6の第1ストレージ93にアクセスし、先頭タスクのインスタントタスクエンティティを検索する。 Furthermore, when the first search period has elapsed, the device determines that the first search timing has arrived, and as shown in S65, accesses the first storage 93 of the cloud server 6 and searches for the instant task entity of the top task.
そしてS66に示すように、デバイスは、S65の第1検索によって先頭タスクのインスタントタスクエンティティを取得できない。
次にマスタ2は、S67に示すように、マスタ2に設定されたポーリング周期が経過することによって、確認タイミングが到来したと判断する。
Then, as shown in S66, the device cannot acquire the instant task entity of the top task through the first search in S65.
Next, as shown in S67, the master 2 determines that the confirmation timing has arrived when the polling period set in the master 2 has elapsed.
そしてマスタ2は、S68に示すように、クラウドサーバ6の第1ストレージ93にアクセスし、次タスクの結果を確認する。
そしてS69に示すように、マスタ2は、次タスクの実行が完了したことを確認する。これにより、マスタ2は、S70に示すように、次タスクのインスタントタスクエンティティをクラウドサーバ6の第1ストレージ93から削除する。
Then, as shown in S68, the master 2 accesses the first storage 93 of the cloud server 6 and checks the result of the next task.
Then, as shown in S69, master 2 confirms that the execution of the next task has been completed, and then, as shown in S70, master 2 deletes the instant task entity of the next task from the first storage 93 of the cloud server 6.
さらにデバイスは、S71に示すように、第1検索周期が経過することによって、第1検索タイミングが到来したと判断し、S72に示すように、クラウドサーバ6の第1ストレージ93にアクセスし、先頭タスクのインスタントタスクエンティティを検索する。 Furthermore, as shown in S71, the device determines that the first search timing has arrived when the first search period has elapsed, and as shown in S72, it accesses the first storage 93 of the cloud server 6 and searches for the instant task entity of the top task.
そしてS73に示すように、デバイスは、S72の第1検索によって先頭タスクのインスタントタスクエンティティを取得できない。
(5)効果
このように構成された管理システム1は、マスタ2と、クライアント3および第2種端末装置5(以下、デバイス)と、マスタ2およびデバイスと通信可能に構成されたクラウドサーバ6とを備える。
Then, as shown in S73, the device cannot acquire the instant task entity of the top task through the first search in S72.
(5) Effects The management system 1 configured in this manner includes the master 2, the client 3, the second-type terminal device 5 (hereinafter, referred to as device), and the cloud server 6 configured to be able to communicate with the master 2 and the device.
マスタ2は、タスク実行指示処理を実行するように構成される。タスク実行指示処理は、第1タスクの内容を示すタスク内容情報と、第1タスクが実行された後に第1タスクの次に連続して実行させる第2タスクの有無を示す次連続タスクIDとを含むインスタントタスクエンティティをクラウドサーバ6にアップロードする。 Master 2 is configured to execute a task execution instruction process. The task execution instruction process uploads to cloud server 6 an instant task entity that includes task content information indicating the content of a first task and a next successive task ID indicating whether or not a second task is to be executed immediately after the first task after it has been executed.
デバイスは、連続判断処理と、第1周期設定処理と、第2周期設定処理とを実行するように構成される。
連続判断処理は、第1タスクに対応するインスタントタスクエンティティをクラウドサーバ6から取得した場合において、次連続タスクIDに基づいて第2タスクが存在するか否かを判断する。
The device is configured to execute a continuity determination process, a first period setting process, and a second period setting process.
In the continuity determination process, when an instant task entity corresponding to a first task is acquired from the cloud server 6, it is determined whether or not a second task exists based on the next continuity task ID.
第1周期設定処理は、第2タスクが存在しないと連続判断処理によって判断された場合には、インスタントタスクエンティティを検索する検索周期を、第1検索周期に設定する。 If the continuity determination process determines that the second task does not exist, the first period setting process sets the search period for searching for instant task entities to the first search period.
第2周期設定処理は、第2タスクが存在すると連続判断処理によって判断された場合には、検索周期を、第1検索周期より短い第2検索周期に設定する。
このような管理システム1は、第1タスクの実行終了時点では第2タスクのインスタントタスクエンティティがクラウドサーバ6にアップロードされておらず、その後に、第2タスクのインスタントタスクエンティティがクラウドサーバ6にアップロードされた場合において、第2タスクのインスタントタスクエンティティが既にクラウドサーバ6にアップロードされているにも関わらず、このインスタントタスクエンティティがデバイスに伝達されない状態が長時間継続してしまうという事態の発生を抑制し、データ伝達を効率化することができる。
The second period setting process sets the search period to a second search period that is shorter than the first search period when the continuity determination process determines that the second task exists.
In such a management system 1, in a case where the instant task entity of the second task has not been uploaded to the cloud server 6 at the time when the execution of the first task is completed and the instant task entity of the second task is subsequently uploaded to the cloud server 6, the management system 1 can prevent a situation from occurring in which the instant task entity of the second task has already been uploaded to the cloud server 6 but this instant task entity is not transmitted to the device for a long period of time, thereby making data transmission more efficient.
なお、デバイスのメモリが、第1タスクおよび第2タスクのインスタントタスクエンティティをクラウドサーバ6から一括して取得して記憶することができるほどの容量を有していない場合には、第1タスクを取得して第1タスクを実行した後に第2タスクを取得する必要がある。これにより、上記のように、第2タスクのインスタントタスクエンティティが既にクラウドサーバ6にアップロードされているにも関わらず、このインスタントタスクエンティティがデバイスに伝達されない状態が長時間継続してしまうという事態が発生し易くなる。このため、上記のように第1検索周期と第2検索周期とを設定可能にすることによるデータ伝達の効率化は、特にデバイスのメモリ容量が小さい場合において有効である。 Note that if the device's memory does not have enough capacity to simultaneously acquire and store the instant task entities of the first task and the second task from the cloud server 6, it is necessary to acquire the first task, execute the first task, and then acquire the second task. This makes it more likely that, as described above, even if the instant task entity of the second task has already been uploaded to the cloud server 6, the instant task entity will not be transmitted to the device for a long period of time. For this reason, improving the efficiency of data transmission by making the first search period and second search period configurable as described above is effective, particularly when the device has a small memory capacity.
またマスタ2は、検索周期指示処理を実行するように構成される。検索周期指示処理は、第1検索周期を示す第1検索周期情報と、第2検索周期を示す第2検索周期情報とをクラウドサーバ6にアップロードする。このような管理システム1では、主管理者がマスタ2を介して第1,2検索周期を適宜変更することができる。 Master 2 is also configured to execute a search cycle instruction process. The search cycle instruction process uploads first search cycle information indicating the first search cycle and second search cycle information indicating the second search cycle to the cloud server 6. In such a management system 1, the main administrator can change the first and second search cycles as needed via master 2.
第1周期設定処理は、第2タスクが存在しないと連続判断処理によって判断された場合において、更に、第2タスクを取得することができなかった期間が予め設定された切替時間を超えた場合に、第1検索周期に設定する。このような管理システム1では、切替時間が経過するまでは第2検索周期から第1検索周期へ切り替わらない。このため、管理システム1は、第2検索周期から第1検索周期へ頻繁に切り替わってしまうのを抑制することができ、データ伝達を更に効率化することができる。 The first period setting process sets the first search period when the continuity determination process determines that the second task does not exist, and further when the period during which the second task could not be acquired exceeds a preset switching time. In such a management system 1, the second search period does not switch to the first search period until the switching time has elapsed. As a result, the management system 1 can prevent frequent switching from the second search period to the first search period, further improving the efficiency of data transmission.
インスタントタスクエンティティは、連続して実行させる複数のタスクの中の先頭タスクであるか否かを示す連続タスクIDを含む。このような管理システム1は、先頭タスクの検索を容易にすることができる。 An instant task entity includes a consecutive task ID that indicates whether the task is the first task among multiple tasks to be executed consecutively. This makes it easy for the management system 1 to search for the first task.
以上説明した実施形態において、マスタ2は管理装置に相当し、クラウドサーバ6は記憶装置に相当し、主管理プログラム15a、副管理プログラム35aおよび通信プログラム82aはプログラムに相当する。 In the embodiment described above, the master 2 corresponds to the management device, the cloud server 6 corresponds to the storage device, and the main management program 15a, sub-management program 35a, and communication program 82a correspond to programs.
また、S110~S140はタスク実行指示処理およびタスク実行指示ステップに相当し、S350は連続判断処理および連続判断ステップに相当し、S380,S390は第1周期設定処理および第1周期設定ステップに相当し、S360は第2周期設定処理および第2周期設定ステップに相当する。 Furthermore, S110 to S140 correspond to the task execution instruction process and task execution instruction step, S350 corresponds to the continuity determination process and continuity determination step, S380 and S390 correspond to the first period setting process and first period setting step, and S360 corresponds to the second period setting process and second period setting step.
また、S02は検索周期指示処理に相当し、次連続タスクIDはタスク有無情報に相当し、連続タスクIDは先頭タスク情報に相当し、第2種端末装置5は画像形成装置に相当し、クライアント3は情報処理装置に相当する。 Furthermore, S02 corresponds to the search cycle instruction process, the next consecutive task ID corresponds to task presence/absence information, the consecutive task ID corresponds to the first task information, the second type terminal device 5 corresponds to the image forming device, and the client 3 corresponds to the information processing device.
以上、本開示の一実施形態について説明したが、本開示は上記実施形態に限定されるものではなく、種々変形して実施することができる。
[変形例1]
例えば上記実施形態では、クラウドパラメータをクラウドサーバ6の第1ストレージ93にアップロードすることによって第1検索周期および第2検索周期を第2種端末装置5に伝達する形態を示した。しかし、連続して実行させる複数のタスクのうち、1番目に実行される先頭タスクのインスタントタスクエンティティ内に第2検索周期情報を格納し、最後に実行される最終タスクのインスタントタスクエンティティ内に第1検索周期情報を格納するようにしてもよい。
Although one embodiment of the present disclosure has been described above, the present disclosure is not limited to the above embodiment and can be implemented in various modifications.
[Modification 1]
For example, in the above embodiment, the first search period and the second search period are transmitted to the second type terminal device 5 by uploading the cloud parameters to the first storage 93 of the cloud server 6. However, it is also possible to store the second search period information in the instant task entity of the leading task that is executed first among a plurality of tasks to be executed consecutively, and store the first search period information in the instant task entity of the final task that is executed last.
[変形例2]
上記実施形態では、マスタ2の初期設定において第1検索周期および第2検索周期が設定される形態を示した。しかし、第1検索周期および第2検索周期が予め設定されているようにしてもよい。これにより、マスタ2が第1,2検索周期情報をクラウドサーバ6にアップロードする処理と、クライアント3および第2種端末装置5がクラウドサーバ6から第1,2検索周期情報を取得する処理とを省略することができ、管理システム1の通信負荷を低減することができる。
[Modification 2]
In the above embodiment, the first search period and the second search period are set in the initial setting of the master 2. However, the first search period and the second search period may be set in advance. This eliminates the need for the master 2 to upload the first and second search period information to the cloud server 6 and the need for the clients 3 and the second-type terminal devices 5 to acquire the first and second search period information from the cloud server 6, thereby reducing the communication load on the management system 1.
上記実施形態における1つの構成要素が有する複数の機能を、複数の構成要素によって実現したり、1つの構成要素が有する1つの機能を、複数の構成要素によって実現したりしてもよい。また、複数の構成要素が有する複数の機能を、1つの構成要素によって実現したり、複数の構成要素によって実現される1つの機能を、1つの構成要素によって実現したりしてもよい。また、上記実施形態の構成の一部を省略してもよい。また、上記実施形態の構成の少なくとも一部を、他の上記実施形態の構成に対して付加または置換してもよい。 Multiple functions possessed by one component in the above embodiments may be realized by multiple components, or one function possessed by one component may be realized by multiple components. Furthermore, multiple functions possessed by multiple components may be realized by one component, or one function realized by multiple components may be realized by one component. Furthermore, part of the configuration of the above embodiments may be omitted. Furthermore, at least part of the configuration of the above embodiments may be added to or substituted for the configuration of another of the above embodiments.
上述したマスタ2の他、当該マスタ2を構成要素とするシステム、当該マスタ2としてコンピュータを機能させるためのプログラム、このプログラムを記録した半導体メモリ等の非遷移的実体的記録媒体、管理方法など、種々の形態で本開示を実現することもできる。 In addition to the master 2 described above, the present disclosure can also be realized in various forms, such as a system that includes the master 2 as a component, a program for causing a computer to function as the master 2, a non-transient physical recording medium such as a semiconductor memory on which this program is recorded, and a management method.
1…管理システム、2…マスタ、3…クライアント、5…第2種端末装置、6…クラウドサーバ、11,31,71…制御部、15a…主管理プログラム、35a…副管理プログラム、82a…通信プログラム 1...Management system, 2...Master, 3...Client, 5...Type 2 terminal device, 6...Cloud server, 11, 31, 71...Control unit, 15a...Main management program, 35a...Sub-management program, 82a...Communication program
Claims (9)
デバイスと、
前記管理装置および前記デバイスと通信可能に構成された記憶装置とを備え、
前記管理装置は、
第1タスクの内容を示すタスク内容情報と、前記第1タスクが実行された後に前記第1タスクの次に連続して実行させる第2タスクの有無を示すタスク有無情報とを含むタスク実行指示を前記記憶装置にアップロードするタスク実行指示処理を実行するように構成され、
前記デバイスは、
前記第1タスクに対応する前記タスク実行指示を前記記憶装置から取得した場合において、前記タスク有無情報に基づいて前記第2タスクが存在するか否かを判断する連続判断処理と、
前記第2タスクが存在しないと前記連続判断処理によって判断された場合には、前記タスク実行指示を検索する検索周期を、第1検索周期に設定する第1周期設定処理と、
前記第2タスクが存在すると前記連続判断処理によって判断された場合には、前記検索周期を、前記第1検索周期より短い第2検索周期に設定する第2周期設定処理と
を実行するように構成される管理システム。 A management device;
a device;
a storage device configured to be able to communicate with the management device and the device;
The management device
configured to execute a task execution instruction process for uploading to the storage device a task execution instruction including task content information indicating the content of a first task and task presence/absence information indicating the presence or absence of a second task to be executed successively after the first task has been executed,
The device comprises:
a continuity determination process for determining whether the second task exists based on the task presence/absence information when the task execution instruction corresponding to the first task is obtained from the storage device;
a first period setting process for setting a search period for searching for the task execution instruction to a first search period when the continuity determination process determines that the second task does not exist;
and when it is determined by the continuity determination process that the second task exists, executing a second period setting process to set the search period to a second search period that is shorter than the first search period.
前記管理装置は、
前記第1検索周期を示す第1検索周期情報と、前記第2検索周期を示す第2検索周期情報とを前記記憶装置にアップロードする検索周期指示処理を実行するように構成される管理システム。 The management system according to claim 1,
The management device
a management system configured to execute a search cycle instruction process for uploading first search cycle information indicating the first search cycle and second search cycle information indicating the second search cycle to the storage device;
前記第1検索周期および前記第2検索周期が予め設定されている管理システム。 3. The management system according to claim 1 or 2,
A management system in which the first search period and the second search period are preset.
前記第1周期設定処理は、前記第2タスクが存在しないと前記連続判断処理によって判断された場合において、更に、前記第2タスクを取得することができなかった期間が予め設定された切替時間を超えた場合に、前記第1検索周期に設定する管理システム。 The management system according to any one of claims 1 to 3,
The first period setting process is a management system that sets the first search period when the continuity determination process determines that the second task does not exist, and further when the period during which the second task could not be acquired exceeds a predetermined switching time.
前記タスク実行指示は、連続して実行させる複数のタスクの中の先頭タスクであるか否かを示す先頭タスク情報を含む管理システム。 The management system according to any one of claims 1 to 4,
The task execution instruction includes leading task information indicating whether the task is the leading task among a plurality of tasks to be executed successively.
前記デバイスは、
画像形成装置であるか、
複数の前記画像形成装置と通信可能に接続された情報処理装置である管理システム。 The management system according to any one of claims 1 to 5,
The device comprises:
Is it an image forming device?
A management system is an information processing apparatus communicably connected to the plurality of image forming apparatuses.
前記デバイスの制御部は、
第1タスクの内容を示すタスク内容情報と、前記第1タスクが実行された後に前記第1タスクの次に連続して実行させる第2タスクの有無を示すタスク有無情報とを含むタスク実行指示を前記記憶装置から取得した場合において、前記タスク有無情報に基づいて前記第2タスクが存在するか否かを判断する連続判断処理と、
前記第2タスクが存在しないと前記連続判断処理によって判断された場合には、前記タスク実行指示を検索する検索周期を、第1検索周期に設定する第1周期設定処理と、
前記第2タスクが存在すると前記連続判断処理によって判断された場合には、前記検索周期を、前記第1検索周期より短い第2検索周期に設定する第2周期設定処理と
を実行するように構成されるデバイス。 A management system in which a management apparatus and a device are configured to be able to communicate with a storage device,
The control unit of the device
a continuity determination process for determining whether or not the second task exists based on task presence/absence information when a task execution instruction including task content information indicating the content of a first task and task presence/absence information indicating the presence or absence of a second task to be executed successively after the first task is executed is acquired from the storage device;
a first period setting process for setting a search period for searching for the task execution instruction to a first search period when the continuity determination process determines that the second task does not exist;
and a second period setting process for setting the search period to a second search period that is shorter than the first search period when the continuity determination process determines that the second task exists.
前記管理装置が、第1タスクの内容を示すタスク内容情報と、前記第1タスクが実行された後に前記第1タスクの次に連続して実行させる第2タスクの有無を示すタスク有無情報とを含むタスク実行指示を前記記憶装置にアップロードするタスク実行指示ステップと、
前記デバイスが、前記第1タスクに対応する前記タスク実行指示を前記記憶装置から取得した場合において、前記タスク有無情報に基づいて前記第2タスクが存在するか否かを判断する連続判断ステップと、
前記デバイスが、前記第2タスクが存在しないと前記連続判断ステップによって判断された場合には、前記タスク実行指示を検索する検索周期を、第1検索周期に設定する第1周期設定ステップと、
前記デバイスが、前記第2タスクが存在すると前記連続判断ステップによって判断された場合には、前記検索周期を、前記第1検索周期より短い第2検索周期に設定する第2周期設定ステップと
を備える管理方法。 A management method executed in a management system in which a management apparatus and a device are configured to be able to communicate with a storage device, comprising:
a task execution instruction step in which the management device uploads to the storage device a task execution instruction including task content information indicating the content of a first task and task presence/absence information indicating the presence or absence of a second task to be executed successively after the first task has been executed;
a continuity determination step of determining whether the second task exists based on the task presence/absence information when the device acquires the task execution instruction corresponding to the first task from the storage device;
a first cycle setting step of setting a search cycle for searching for the task execution instruction to a first search cycle when the device determines in the continuity determining step that the second task does not exist;
a second period setting step of setting the search period to a second search period that is shorter than the first search period when the device determines in the continuity determining step that the second task exists.
第1タスクの内容を示すタスク内容情報と、前記第1タスクが実行された後に前記第1タスクの次に連続して実行させる第2タスクの有無を示すタスク有無情報とを含むタスク実行指示を前記記憶装置から取得した場合において、前記タスク有無情報に基づいて前記第2タスクが存在するか否かを判断する連続判断処理と、
前記第2タスクが存在しないと前記連続判断処理によって判断された場合には、前記タスク実行指示を検索する検索周期を、第1検索周期に設定する第1周期設定処理と、
前記第2タスクが存在すると前記連続判断処理によって判断された場合には、前記検索周期を、前記第1検索周期より短い第2検索周期に設定する第2周期設定処理と
を実行させるように構成されるプログラム。 A control unit provided in a device of a management system configured so that a management device and a device can communicate with a storage device,
a continuity determination process for determining whether or not the second task exists based on task presence/absence information when a task execution instruction including task content information indicating the content of a first task and task presence/absence information indicating the presence or absence of a second task to be executed successively after the first task is executed is acquired from the storage device;
a first period setting process for setting a search period for searching for task execution instructions to a first search period when the continuity determination process determines that the second task does not exist;
and a second period setting process for setting the search period to a second search period that is shorter than the first search period when the continuity determination process determines that the second task exists.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021181400A JP7764734B2 (en) | 2021-11-05 | 2021-11-05 | Management system, device, management method and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021181400A JP7764734B2 (en) | 2021-11-05 | 2021-11-05 | Management system, device, management method and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023069509A JP2023069509A (en) | 2023-05-18 |
| JP7764734B2 true JP7764734B2 (en) | 2025-11-06 |
Family
ID=86327443
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021181400A Active JP7764734B2 (en) | 2021-11-05 | 2021-11-05 | Management system, device, management method and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7764734B2 (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006227854A (en) | 2005-02-17 | 2006-08-31 | Seiko Epson Corp | Print progress monitoring control of printing devices connected to the network |
| JP2008176436A (en) | 2007-01-17 | 2008-07-31 | Fuji Xerox Co Ltd | Management device and program |
| JP2008283330A (en) | 2007-05-09 | 2008-11-20 | Sony Corp | Communication system, information management apparatus and method, information processing apparatus and method, and program |
| JP2013205968A (en) | 2012-03-27 | 2013-10-07 | Sharp Corp | Server system, print system, and printer |
| JP2019145033A (en) | 2018-02-23 | 2019-08-29 | ローランドディー.ジー.株式会社 | Printing system and computer program for creating job list |
| JP2021149869A (en) | 2020-03-23 | 2021-09-27 | キヤノン株式会社 | Printing system, printer, control method, and program |
| JP2022035714A (en) | 2020-08-21 | 2022-03-04 | キヤノン株式会社 | Printing device, control method for the same and program |
-
2021
- 2021-11-05 JP JP2021181400A patent/JP7764734B2/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006227854A (en) | 2005-02-17 | 2006-08-31 | Seiko Epson Corp | Print progress monitoring control of printing devices connected to the network |
| JP2008176436A (en) | 2007-01-17 | 2008-07-31 | Fuji Xerox Co Ltd | Management device and program |
| JP2008283330A (en) | 2007-05-09 | 2008-11-20 | Sony Corp | Communication system, information management apparatus and method, information processing apparatus and method, and program |
| JP2013205968A (en) | 2012-03-27 | 2013-10-07 | Sharp Corp | Server system, print system, and printer |
| JP2019145033A (en) | 2018-02-23 | 2019-08-29 | ローランドディー.ジー.株式会社 | Printing system and computer program for creating job list |
| JP2021149869A (en) | 2020-03-23 | 2021-09-27 | キヤノン株式会社 | Printing system, printer, control method, and program |
| JP2022035714A (en) | 2020-08-21 | 2022-03-04 | キヤノン株式会社 | Printing device, control method for the same and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023069509A (en) | 2023-05-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12160473B2 (en) | Management system, management method, management program, and installation program | |
| US20140325517A1 (en) | Server system, method for controlling the same, and program for executing parallel distributed processing | |
| JP2013257615A (en) | Information processing system, image formation device, control method and computer program | |
| JP2010525439A (en) | Printing apparatus, printing control method and program | |
| JP7552390B2 (en) | MANAGEMENT PROGRAM, INFORMATION PROCESSING APPARATUS, AND MANAGEMENT METHOD | |
| JP6840986B2 (en) | Print management device and program | |
| JP6812673B2 (en) | Image processing systems, image forming equipment, data sharing methods, and computer programs | |
| JP7764734B2 (en) | Management system, device, management method and program | |
| JP7771637B2 (en) | Management program, management device, management method, and management system | |
| JP7732338B2 (en) | Management program, management device, management method, and management system | |
| JP6576160B2 (en) | Management system, management system control method, and program | |
| JP7739954B2 (en) | Management program, management device, management method, and management system | |
| JP7533250B2 (en) | Terminal management program, terminal management method, and terminal management system | |
| US20170078509A1 (en) | Information processing system and information processing method | |
| JP7604917B2 (en) | Management system, management device, and computer program | |
| JP7619059B2 (en) | Management system and communication device | |
| JP2019160065A (en) | Job system, job execution method, information processing device, and program | |
| JP7732337B2 (en) | Management system, management program, and management method | |
| JP7760911B2 (en) | Management system, device, program and management method | |
| US11561740B2 (en) | Terminal management system, terminal management program, and terminal management method | |
| JP2015204524A (en) | System and control method thereof, information processing apparatus and control method thereof, job processing apparatus and control method and program thereof | |
| JP2019095854A (en) | System and apparatus management method | |
| JP6089825B2 (en) | Information processing system and data input method | |
| JP2024122153A (en) | Management system, management device, terminal device, management program, and management method | |
| CN110610554A (en) | Cloud attendance system and data synchronization method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20241004 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250716 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250722 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250827 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20250924 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20251007 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7764734 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |