JP2018142057A - Device monitoring apparatus, device monitoring program and control method of device monitoring apparatus - Google Patents

Device monitoring apparatus, device monitoring program and control method of device monitoring apparatus Download PDF

Info

Publication number
JP2018142057A
JP2018142057A JP2017034470A JP2017034470A JP2018142057A JP 2018142057 A JP2018142057 A JP 2018142057A JP 2017034470 A JP2017034470 A JP 2017034470A JP 2017034470 A JP2017034470 A JP 2017034470A JP 2018142057 A JP2018142057 A JP 2018142057A
Authority
JP
Japan
Prior art keywords
job
monitoring
information
unit
device information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017034470A
Other languages
Japanese (ja)
Inventor
朋季 高橋
Tomoki Takahashi
朋季 高橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2017034470A priority Critical patent/JP2018142057A/en
Publication of JP2018142057A publication Critical patent/JP2018142057A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a device monitoring apparatus capable of monitoring the state of a device at appropriate timing, a device monitoring program and a control method of the device monitoring apparatus.SOLUTION: A PC 2 applying a device monitoring apparatus of the present invention comprises: a request unit 230 which requests device information indicating the status of a printer 1 to the printer 1; a job status information acquisition unit 250 which acquires job status information indicating the status of a job, from a job management unit 210 which manages the job for transmitting to the printer 1; and a monitoring control unit 260 which determines a timing at which the request unit 230 requires the device information, based on the job status information.SELECTED DRAWING: Figure 2

Description

本発明は、デバイスの監視を行うデバイス監視装置、デバイス監視プログラムおよびデバイス監視装置の制御方法に関する。   The present invention relates to a device monitoring apparatus that monitors a device, a device monitoring program, and a device monitoring apparatus control method.

従来、この種の技術として、特許文献1が知られている。特許文献1には、プリンターのポーリング監視を行う監視装置において、プリンターから送信されたステータス情報に基づいてポーリング間隔を決定する技術が開示されている。この監視装置は、プリンターの異常やビジー状態を検出した場合は、ポーリング間隔を短くし、プリンターの正常を検出した場合は、ポーリング間隔を長くする制御を行う。   Conventionally, patent document 1 is known as this kind of technique. Japanese Patent Application Laid-Open No. 2004-151561 discloses a technique for determining a polling interval based on status information transmitted from a printer in a monitoring device that performs printer polling monitoring. This monitoring device performs control to shorten the polling interval when a printer abnormality or busy state is detected, and to increase the polling interval when it detects normality of the printer.

特開2002−297336号公報JP 2002-297336 A

ところで、例えば、監視装置からプリンターに対して印刷データを送信してプリンターに印刷動作を実行させる処理の間、監視装置がプリンターのステータス情報を取得できなくなってしまうことがある。この場合、特許文献1の監視装置は、ビジー状態を検出するため、ポーリング間隔を短くし、頻繁にポーリングを繰り返すことになるが、これに備えて監視装置のCPU(Central Processing Unit)リソースや通信回線リソースを多く用いることになってしまう。このように、監視装置が行うデバイス監視において、デバイスからステータス情報を適切に取得することができないという問題があった。   By the way, for example, during the process of sending print data from the monitoring device to the printer and causing the printer to execute the printing operation, the monitoring device may not be able to acquire the printer status information. In this case, in order to detect the busy state, the monitoring device of Patent Document 1 shortens the polling interval and frequently repeats the polling. In preparation for this, the monitoring device CPU (Central Processing Unit) resources and communication are used. A lot of line resources will be used. As described above, in the device monitoring performed by the monitoring apparatus, there is a problem that the status information cannot be appropriately acquired from the device.

本発明は、上記の問題点に鑑み、デバイスの状態監視を適切に行うことが可能なデバイス監視装置、デバイス監視プログラムおよびデバイス監視装置の制御方法を提供することを目的とする。   In view of the above-described problems, an object of the present invention is to provide a device monitoring apparatus, a device monitoring program, and a device monitoring apparatus control method capable of appropriately monitoring a device state.

本発明のデバイス監視装置は、デバイスに対し、デバイスの状態を示すデバイス情報を要求する要求部と、デバイスに送信するジョブを管理するジョブ管理部から、ジョブの状態を示すジョブ状態情報を取得するジョブ状態情報取得部と、ジョブ状態情報に基づいて、要求部がデバイス情報を要求するタイミングを決定する監視制御部と、を備えることを特徴とする。   The device monitoring apparatus according to the present invention acquires job status information indicating a job status from a request unit requesting device information indicating the device status to the device and a job management unit managing a job transmitted to the device. A job status information acquisition unit and a monitoring control unit that determines the timing at which the request unit requests device information based on the job status information.

本発明のプログラムは、コンピューターを、デバイスに対し、デバイスの状態を示すデバイス情報を要求する要求部と、デバイスに送信するジョブを管理するジョブ管理部から、ジョブの状態を示すジョブ状態情報を取得するジョブ状態情報取得部と、ジョブ状態情報に基づいて、要求部がデバイス情報を要求するタイミングを決定する監視制御部と、として機能させるためのプログラム。   The program of the present invention acquires job status information indicating a job status from a request unit requesting device information indicating the status of the device to a computer and a job management unit managing a job transmitted to the device. A program for functioning as a job status information acquisition unit that performs, and a monitoring control unit that determines the timing at which the request unit requests device information based on the job status information.

本発明のデバイス監視装置の制御方法は、デバイスを監視するデバイス監視装置の制御方法であって、デバイスに送信するジョブを管理するジョブ管理部から、ジョブの状態を示すジョブ状態情報を取得するジョブ状態情報取得ステップと、ジョブ状態情報に基づいて、デバイスの状態を示すデバイス情報を要求するタイミングを決定する監視制御ステップと、決定されたタイミングで、デバイスに対し、デバイス情報の要求を行う要求ステップと、を実行することを特徴とする。   The device monitoring apparatus control method of the present invention is a device monitoring apparatus control method for monitoring a device, and a job for acquiring job status information indicating a job status from a job management unit for managing a job to be transmitted to the device. A status information acquisition step, a monitoring control step for determining timing for requesting device information indicating the status of the device based on the job status information, and a request step for requesting device information to the device at the determined timing And executing.

本発明の構成によれば、ジョブ状態情報に基づいてデバイス情報を要求するタイミングを決定するため、デバイスとデバイス監視装置とがデータ通信している間など、デバイス情報を取得できなかった場合でも、次のデバイス情報の要求を適切なタイミングで行うことができる。
なお、デバイスとは、プリンター、スキャナー、表示装置(投写装置を含む)など、デバイス監視装置と双方向通信が可能な装置を指す。
According to the configuration of the present invention, since the timing for requesting the device information is determined based on the job status information, even when the device information cannot be acquired, such as during the data communication between the device and the device monitoring apparatus, The next device information request can be made at an appropriate timing.
Note that a device refers to an apparatus capable of bidirectional communication with a device monitoring apparatus, such as a printer, a scanner, and a display apparatus (including a projection apparatus).

上記のデバイス監視装置において、要求部は、デバイスに対し、定期的にデバイス情報を要求するポーリング監視を行い、監視制御部は、ジョブ状態情報に基づいて、ポーリング監視のポーリング間隔を決定することを特徴とする。   In the device monitoring apparatus, the requesting unit performs polling monitoring for periodically requesting device information to the device, and the monitoring control unit determines a polling monitoring polling interval based on the job status information. Features.

本発明の構成によれば、適切なポーリング間隔でデバイスのポーリング監視を行うことができる。   According to the configuration of the present invention, it is possible to perform device polling monitoring at an appropriate polling interval.

上記のデバイス監視装置において、要求に応じてデバイスから送信されたデバイス情報を取得するデバイス情報取得部を備え、監視制御部は、デバイス情報取得部によりデバイス情報を取得できた場合、ポーリング間隔を所定の時間とし、デバイス情報取得部によりデバイス情報を取得できなかった場合、ジョブ状態情報に基づいてポーリング間隔を決定することを特徴とする。   The device monitoring apparatus includes a device information acquisition unit that acquires device information transmitted from a device in response to a request, and the monitoring control unit sets a polling interval when the device information acquisition unit can acquire the device information. When the device information acquisition unit cannot acquire the device information, the polling interval is determined based on the job status information.

本発明の構成によれば、デバイス情報を取得できた場合は、通常のポーリングを行うため、デバイスの異常を正確に検知することができる。また、デバイス情報を取得できなかった場合は、デバイスとデータ通信中である可能性が高いため、ジョブ状態情報に基づいて適切なポーリング間隔を決定することができる。   According to the configuration of the present invention, when device information can be acquired, normal polling is performed, so that a device abnormality can be accurately detected. If device information cannot be acquired, there is a high possibility that data communication is being performed with the device, so an appropriate polling interval can be determined based on the job status information.

上記のデバイス監視装置において、監視制御部は、デバイス情報取得部によりデバイス情報を取得できなかった場合、所定の時間より長いポーリング間隔に決定することを特徴とする。   In the device monitoring apparatus, the monitoring control unit determines a polling interval longer than a predetermined time when the device information acquisition unit cannot acquire the device information.

本発明の構成によれば、デバイス情報を取得できなかった場合は、デバイスとデータ通信中である可能性が高いため、ポーリング間隔を長くすることで、無駄にポーリングを繰り返すことによる不具合(ポーリングの繰り返しに備えた監視装置のCPUリソースや通信回線リソースの増加など)を防止できる。   According to the configuration of the present invention, when device information cannot be acquired, there is a high possibility that data communication is being performed with the device. It is possible to prevent an increase in the CPU resources and communication line resources of the monitoring device in preparation for repetition.

上記のデバイス監視装置において、監視制御部は、デバイス情報取得部によりデバイス情報を取得できなかった場合、次のデバイス情報の要求までのポーリング間隔を決定し、当該ポーリング間隔に相当する待機時間を経過した後、要求部に対してデバイス情報の要求を指示することを特徴とする。   In the above device monitoring apparatus, if the device information acquisition unit cannot acquire the device information, the monitoring control unit determines a polling interval until a request for the next device information, and a waiting time corresponding to the polling interval has elapsed. After that, the request unit is instructed to request device information.

本発明の構成によれば、デバイス情報の要求ごとに、適切なポーリング間隔(待機時間)を決定することができる。   According to the configuration of the present invention, an appropriate polling interval (standby time) can be determined for each request for device information.

上記のデバイス監視装置において、ジョブ状態情報は、ジョブの処理済みデータ量を示す情報、ジョブの未処理データ量を示す情報、ジョブが送信中であるか否かを示す情報、のうち少なくとも1つを含むことを特徴とする。   In the device monitoring apparatus, the job status information includes at least one of information indicating the processed data amount of the job, information indicating the unprocessed data amount of the job, and information indicating whether or not the job is being transmitted. It is characterized by including.

本発明の構成によれば、ジョブの処理済みデータ量を示す情報、ジョブの未処理データ量を示す情報、ジョブが送信中であるか否かを示す情報、のうち少なくとも1つを考慮し、適切なタイミングでデバイス情報を要求することができる。   According to the configuration of the present invention, considering at least one of information indicating the processed data amount of the job, information indicating the unprocessed data amount of the job, and information indicating whether or not the job is being transmitted, Device information can be requested at an appropriate timing.

なお、本発明のデバイス監視装置は、物理的に1つの装置で実現してもよいし、複数の装置を協働させて実現してもよい。また、本発明に記載された各部の機能は、各々が物理的に独立したハードウェア資源で実現されるものに限定されず、1つのハードウェア資源で複数の機能を実現してもよいし、複数のハードウェア資源で1つの機能を実現してもよい。   Note that the device monitoring apparatus of the present invention may be physically realized by one apparatus, or may be realized by cooperating a plurality of apparatuses. In addition, the functions of the units described in the present invention are not limited to those realized by physically independent hardware resources, and a plurality of functions may be realized by one hardware resource. One function may be realized by a plurality of hardware resources.

本発明の一実施形態に係る監視システムのハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the monitoring system which concerns on one Embodiment of this invention. 監視システムの機能構成を示すブロック図である。It is a block diagram which shows the function structure of a monitoring system. PCによるポーリング処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the polling process by PC. 変形例1に係る監視システムの機能構成を示すブロック図である。It is a block diagram which shows the function structure of the monitoring system which concerns on the modification 1.

[第1実施形態]
以下、添付の図面を参照して、本発明のデバイス監視装置、デバイス監視プログラムおよびデバイス監視装置の制御方法を説明する。本実施形態では、「デバイス」の一例としてプリンター1を例示し、「デバイス監視装置」の一例としてパーソナルコンピューター(以下、「PC」と表記する)2を例示する。
[First Embodiment]
Hereinafter, a device monitoring apparatus, a device monitoring program, and a device monitoring apparatus control method according to the present invention will be described with reference to the accompanying drawings. In this embodiment, the printer 1 is illustrated as an example of “device”, and the personal computer (hereinafter referred to as “PC”) 2 is illustrated as an example of “device monitoring apparatus”.

図1は、本発明の一実施形態に係る監視システムSYのハードウェア構成を示すブロック図である。監視システムSYは、プリンター1およびPC2を含む。これらプリンター1およびPC2は、通信回線40により接続され、双方向通信が可能である。本実施形態では、通信回線40として、USBケーブルを例示する。なお、USBケーブルに代え、ワイヤレスUSBを採用してもよいし、USBに限らず他の通信方式を採用してもよい。   FIG. 1 is a block diagram showing a hardware configuration of a monitoring system SY according to an embodiment of the present invention. The monitoring system SY includes a printer 1 and a PC 2. The printer 1 and the PC 2 are connected by a communication line 40 and can perform bidirectional communication. In the present embodiment, a USB cable is exemplified as the communication line 40. Note that a wireless USB may be employed instead of the USB cable, and other communication methods are not limited to USB.

プリンター1は、ハードウェア構成として、CPU(Central Processing Unit)11、ROM(Read Only Memory)12、RAM(Random Access Memory)13、通信インターフェイス(以下、「通信I/F」と表記する)14および印刷機構15を備える。   The printer 1 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, a communication interface (hereinafter referred to as “communication I / F”) 14 and a hardware configuration. A printing mechanism 15 is provided.

CPU11は、プリンター1内の各部と信号の入出力を行い、各種演算処理を行う。ROM12は、プリンター1のファームウェア等を記憶する。RAM13は、CPU11のワークエリアとして用いられる。また、RAM13は、PC2から受信した印刷データを一時的に格納するバッファー41を有する。   The CPU 11 inputs and outputs signals to and from each unit in the printer 1 and performs various arithmetic processes. The ROM 12 stores the firmware of the printer 1 and the like. The RAM 13 is used as a work area for the CPU 11. The RAM 13 includes a buffer 41 that temporarily stores print data received from the PC 2.

通信I/F14は、USBインターフェイスであり、通信回線40(USBケーブル)を介してPC2と通信する。印刷機構15は、バッファー41から読み出した印刷データに基づいて印刷を行う。印刷機構15の印刷方式(インクジェット方式、電子写真方式、熱転写方式、感熱式など)は問わない。   The communication I / F 14 is a USB interface, and communicates with the PC 2 via the communication line 40 (USB cable). The printing mechanism 15 performs printing based on the print data read from the buffer 41. There is no limitation on the printing method of the printing mechanism 15 (inkjet method, electrophotographic method, thermal transfer method, thermal method, etc.).

PC2は、ハードウェア構成として、通信I/F21、CPU22、ROM23、RAM24およびHDD25を備える。   The PC 2 includes a communication I / F 21, a CPU 22, a ROM 23, a RAM 24, and an HDD 25 as a hardware configuration.

通信I/F21は、USBインターフェイスであり、通信回線40を介してプリンター1と通信する。CPU22は、PC2内の各部と信号の入出力を行い、各種演算処理を行う。ROM23は、各種制御プログラムや各種制御データを記憶する。RAM24は、CPU22のワークエリアとして用いられる。   The communication I / F 21 is a USB interface and communicates with the printer 1 via the communication line 40. The CPU 22 inputs and outputs signals to and from each unit in the PC 2 and performs various arithmetic processes. The ROM 23 stores various control programs and various control data. The RAM 24 is used as a work area for the CPU 22.

HDD25は、監視アプリケーション31、印刷アプリケーション32、プリンタードライバー33およびOS(Operating System)34等のプログラムを記憶する。   The HDD 25 stores programs such as a monitoring application 31, a printing application 32, a printer driver 33, and an OS (Operating System) 34.

監視アプリケーション31は、プリンター1の状態(ステータス)を監視するためのアプリケーションである。PC2(CPU22)は、当該監視アプリケーション31に基づいて、プリンター1に対し、プリンター1の状態を示すデバイス情報を定期的に要求するポーリング監視を行う。なお、監視アプリケーション31のプログラムが、「デバイス監視プログラム」の一例である。   The monitoring application 31 is an application for monitoring the state (status) of the printer 1. Based on the monitoring application 31, the PC 2 (CPU 22) performs polling monitoring that periodically requests device information indicating the status of the printer 1 from the printer 1. The program of the monitoring application 31 is an example of a “device monitoring program”.

印刷アプリケーション32は、印刷対象となる画像ファイルや文書ファイルを生成し、当該印刷対象の印刷指令を行うためのアプリケーションである。プリンタードライバー33は、印刷アプリケーション32により生成された画像ファイルや文書ファイルに基づき、印刷ジョブを生成する。印刷ジョブは、プリンター1に対応したプロトコルに基づく制御コマンドを含む。   The print application 32 is an application for generating an image file or a document file to be printed and issuing a print command for the print target. The printer driver 33 generates a print job based on the image file and document file generated by the print application 32. The print job includes a control command based on a protocol corresponding to the printer 1.

OS34は、上記の監視アプリケーション31、印刷アプリケーション32およびプリンタードライバー33を動作させるための基本ソフトウェアである。また、OS34は、スプーラー42を有する。スプーラー42は、印刷処理を効率化するためのユーティリティ・ソフトウエアである。スプーラー42は、プリンタードライバー33により生成された印刷ジョブを、スプーラー・ファイルとして一時記憶領域(プリンターキュー)に格納し、先の印刷処理が終了し次第、次のジョブの印刷処理を実行させる。なお、印刷ジョブは、「ジョブ」の一例である。   The OS 34 is basic software for operating the monitoring application 31, the printing application 32, and the printer driver 33. The OS 34 has a spooler 42. The spooler 42 is utility software for improving the efficiency of the printing process. The spooler 42 stores the print job generated by the printer driver 33 in the temporary storage area (printer queue) as a spooler file, and executes the print processing of the next job as soon as the previous print processing is completed. A print job is an example of a “job”.

次に、図2を参照し、プリンター1およびPC2の機能構成を説明する。まず、PC2の機能構成から説明する。PC2(CPU22)は、主な機能として、ジョブ管理部210、通信制御部220、要求部230、デバイス情報取得部240、ジョブ状態情報取得部250および監視制御部260を備える。なお、これらのうち、ジョブ管理部210および通信制御部220は、主にOS34によって実現される機能である。また、要求部230、デバイス情報取得部240、ジョブ状態情報取得部250および監視制御部260は、主に監視アプリケーション31によって実現される機能である。   Next, the functional configuration of the printer 1 and the PC 2 will be described with reference to FIG. First, the functional configuration of the PC 2 will be described. The PC 2 (CPU 22) includes a job management unit 210, a communication control unit 220, a request unit 230, a device information acquisition unit 240, a job status information acquisition unit 250, and a monitoring control unit 260 as main functions. Of these, the job management unit 210 and the communication control unit 220 are functions implemented mainly by the OS 34. The request unit 230, the device information acquisition unit 240, the job status information acquisition unit 250, and the monitoring control unit 260 are functions mainly realized by the monitoring application 31.

ジョブ管理部210は、プリンター1に送信する印刷ジョブを管理するものであり、スプーラー42の機能を含む。スプーラー42は、プリンタードライバー33により生成された印刷ジョブを、プリンター1に対応する一時記憶領域に格納する。ジョブ管理部210は、この一時記憶領域に記憶されている印刷ジョブと、当該印刷ジョブに関するジョブ状態情報と、を管理する。ジョブ状態情報は、プリンタードライバー33またはOS34により生成される。   The job management unit 210 manages a print job transmitted to the printer 1 and includes the function of the spooler 42. The spooler 42 stores the print job generated by the printer driver 33 in a temporary storage area corresponding to the printer 1. The job management unit 210 manages a print job stored in the temporary storage area and job status information regarding the print job. The job status information is generated by the printer driver 33 or the OS 34.

ジョブ状態情報は、印刷ジョブの属性を示す属性情報と、印刷ジョブの状態を示す状態情報と、を含む。属性情報は、印刷ジョブのデータ量(データサイズまたはページ数)、データ種別(ファイル形式、コマンド形式など)、印刷設定(カラー設定、画質設定など)を示す情報を含む。また、状態情報は、処理情報およびステータス情報を含む。処理情報とは、印刷ジョブの処理済みデータ量または印刷ジョブの未処理データ量を示す情報である。なお、「処理済みデータ量」とは、後述する通信制御部220から既に送信された印刷データ量を指し、「未処理データ量」とは、通信制御部220から送信されていない印刷データ量(スプーラー42の管理下にある印刷データ量)を指す。また、ステータス情報とは、通信制御部220がプリンター1に印刷データを送信中であるか否かを示す情報である。   The job status information includes attribute information indicating a print job attribute and status information indicating a print job status. The attribute information includes information indicating the print job data amount (data size or number of pages), data type (file format, command format, etc.), and print settings (color settings, image quality settings, etc.). The state information includes processing information and status information. The processing information is information indicating the processed data amount of the print job or the unprocessed data amount of the print job. The “processed data amount” refers to the amount of print data that has already been transmitted from the communication control unit 220 described later, and the “unprocessed data amount” refers to the amount of print data that has not been transmitted from the communication control unit 220 ( Print data amount under the control of the spooler 42). The status information is information indicating whether or not the communication control unit 220 is transmitting print data to the printer 1.

通信制御部220は、通信I/F21の機能を含むものであり、一時記憶領域に格納された印刷ジョブに基づいて、プリンター1に印刷データを送信する。また、通信制御部220は、プリンター1に対し、デバイス情報を要求する要求コマンドを送信すると共に、プリンター1から、当該要求コマンドに対する応答としてデバイス情報を受信する。   The communication control unit 220 includes a function of the communication I / F 21 and transmits print data to the printer 1 based on a print job stored in the temporary storage area. In addition, the communication control unit 220 transmits a request command for requesting device information to the printer 1 and receives device information from the printer 1 as a response to the request command.

要求部230は、プリンター1に対し、デバイス情報を要求する。つまり、上記の通信制御部220に対し、要求コマンドの送信を依頼する(要求ステップ)。また、要求部230は、ポーリング監視のため、プリンター1に対し、定期的にデバイス情報を要求する。つまり、通信制御部220に対し、定期的に要求コマンドの送信を依頼する。この要求コマンドの送信タイミング(ポーリング間隔)は、後述する監視制御部260により決定される。また、監視制御部260は、決定したタイミングで、要求部230に対し要求コマンドの送信指示を行う。   The request unit 230 requests device information from the printer 1. That is, the communication control unit 220 is requested to transmit a request command (request step). The request unit 230 periodically requests device information from the printer 1 for polling monitoring. That is, it periodically requests the communication control unit 220 to transmit a request command. The transmission timing (polling interval) of this request command is determined by the monitoring control unit 260 described later. In addition, the monitoring control unit 260 instructs the request unit 230 to transmit a request command at the determined timing.

デバイス情報取得部240は、プリンター1から送信されたデバイス情報を、通信制御部220を介して取得する。なお、デバイス情報取得部240が、デバイス情報を取得できない場合も考えられる。デバイス情報を取得できない場合とは、(1)プリンター1が印刷中(バッファー41に、印刷データが印刷処理待ち状態になっている状態)のため、ビジー信号を送信した場合、(2)プリンター1に印刷データを送信している間、通信回線40が占有されてしまい、プリンター1が要求コマンドを受け付けられない場合、(3)プリンター1がデバイス情報を送信したが、PC2に届かない場合、などが考えられる。   The device information acquisition unit 240 acquires device information transmitted from the printer 1 via the communication control unit 220. Note that there may be a case where the device information acquisition unit 240 cannot acquire device information. When the device information cannot be acquired, (1) when the printer 1 is printing (the print data is waiting for print processing in the buffer 41), and when the busy signal is transmitted, (2) the printer 1 While the print data is being transmitted to the printer, the communication line 40 is occupied and the printer 1 cannot accept the request command. (3) The printer 1 transmits the device information but does not reach the PC 2. Can be considered.

ジョブ状態情報取得部250は、監視制御部260の指示に基づき、ジョブ管理部210からジョブ状態情報を取得する(ジョブ状態情報取得ステップ)。監視制御部260は、デバイス情報取得部240によりデバイス情報を取得できない場合(上記(1)〜(3)の場合)、ジョブ状態情報取得部250に対し、ジョブ状態情報の取得を指示する。   The job status information acquisition unit 250 acquires job status information from the job management unit 210 based on an instruction from the monitoring control unit 260 (job status information acquisition step). When the device information acquisition unit 240 cannot acquire device information (in the cases (1) to (3) above), the monitoring control unit 260 instructs the job status information acquisition unit 250 to acquire job status information.

監視制御部260は、デバイス情報取得部240によりデバイス情報を取得できた場合、ポーリング間隔を、HDD25等に記憶された所定の時間とする。一方、監視制御部260は、デバイス情報取得部240によりデバイス情報を取得できなかった場合、ジョブ状態情報取得部250により取得したジョブ状態情報に基づいて、ポーリング間隔(要求部230がデバイス情報を要求するタイミング)を決定する(監視制御ステップ)。この場合(デバイス情報を取得できなかった場合)、デバイス情報を取得できた場合よりも長いポーリング間隔となるようにポーリング間隔を決定する。   When the device information acquisition unit 240 can acquire the device information, the monitoring control unit 260 sets the polling interval to a predetermined time stored in the HDD 25 or the like. On the other hand, if the device information acquisition unit 240 cannot acquire the device information, the monitoring control unit 260 determines the polling interval (the request unit 230 requests the device information based on the job status information acquired by the job status information acquisition unit 250. (Monitoring control step). In this case (when device information cannot be acquired), the polling interval is determined so that the polling interval is longer than when device information can be acquired.

ここで、デバイス情報を取得できなかった場合の監視制御部260の処理を説明する。監視制御部260は、デバイス情報を取得できなかった場合、まずジョブ状態情報を取得し、当該ジョブ状態情報に含まれる状態情報(処理情報およびステータス情報)に基づいて、印刷中であるか否かを判定する。なお、ここでの「印刷中」とは、PC2からプリンター1に対し印刷データの送信中であるか、プリンター1が印刷処理待ち状態になっていることを指す。   Here, processing of the monitoring control unit 260 when device information cannot be acquired will be described. If the device information cannot be acquired, the monitoring control unit 260 first acquires job status information, and determines whether printing is in progress based on the status information (processing information and status information) included in the job status information. Determine. Here, “printing” indicates that print data is being transmitted from the PC 2 to the printer 1 or that the printer 1 is waiting for print processing.

監視制御部260は、例えば処理情報から、印刷ジョブの未処理データの存在が検出できた場合や、ステータス情報から、印刷データが送信中であることが検出できた場合に、印刷中と判定する。印刷中と判定した場合、監視制御部260は、ジョブ状態情報に含まれる状態情報や属性情報に基づいて、印刷が終わる時間を予測し、ポーリング間隔(デバイス情報の次の要求タイミング)を決定する。例えば、未処理データ量とポーリング間隔とを対応付けたテーブルを参照し、印刷が終わるタイミング、若しくは、その直前または直後に、次回のポーリングを行うように、ポーリング間隔を決定する。これにより、印刷データが送信されている間は、ポーリングが行われないことになるため、無駄なポーリング処理の削減、および通信回線40のトラフィック削減を実現できる。   For example, when the presence of unprocessed data of the print job can be detected from the processing information or from the status information, the monitoring control unit 260 determines that printing is in progress. . If it is determined that printing is in progress, the monitoring control unit 260 predicts the time when printing will end based on the status information and attribute information included in the job status information, and determines a polling interval (next request timing of device information). . For example, referring to a table in which the amount of unprocessed data is associated with a polling interval, the polling interval is determined so that the next polling is performed at the timing when printing ends, or immediately before or immediately after that. As a result, polling is not performed while print data is being transmitted, so that unnecessary polling processing and traffic on the communication line 40 can be reduced.

一方、プリンター1(CPU11)は、主な機能として、通信制御部110および印刷制御部120を備える。   On the other hand, the printer 1 (CPU 11) includes a communication control unit 110 and a print control unit 120 as main functions.

通信制御部110は、通信I/F14を介してPC2から印刷データを受信する通信制御等を行う。また、通信制御部110は、PC2から要求コマンドを受信すると共に、当該要求コマンドに対する応答としてデバイス情報を送信する。また、通信制御部110は、要求コマンドを受信したとき、バッファー41の状態を確認し、印刷データが印刷処理待ち状態になっている場合、PC2にビジー信号を送信する。   The communication control unit 110 performs communication control for receiving print data from the PC 2 via the communication I / F 14. Further, the communication control unit 110 receives a request command from the PC 2 and transmits device information as a response to the request command. Further, when the communication control unit 110 receives the request command, the communication control unit 110 checks the state of the buffer 41 and transmits a busy signal to the PC 2 when the print data is in the print processing waiting state.

印刷制御部120は、PC2から送信された印刷データに基づいて印刷制御を行うものであり、印刷機構15に印刷を実行させる。印刷制御部120は、バッファー41に格納された印刷データを順次読み出し、用紙等の印刷媒体に印刷を行う。   The print control unit 120 performs print control based on the print data transmitted from the PC 2 and causes the printing mechanism 15 to execute printing. The print control unit 120 sequentially reads the print data stored in the buffer 41 and performs printing on a print medium such as paper.

次に、図3のフローチャートを参照し、PC2によるポーリング処理の流れを説明する。なお、ポーリング処理は、「デバイス監視装置の制御方法」の一例である。PC2(CPU22)は、ポーリング処理の開始に伴い、プリンター1に対しデバイス情報を要求する(S01)。また、この要求に対し、所定の応答期間内にデバイス情報を取得できたか否かを判定する(S02)。デバイス情報を取得できた場合は(S02:Yes)、ポーリング間隔(次のデバイス情報の要求までの待機時間)を所定の時間に設定し(S03)、設定したポーリング間隔だけ待機する(S04)。なお、S02で「Yes」と判定されるのは、エラー処理を必要としないデバイス情報を取得した場合である。仮に、エラー処理を必要とするデバイス情報を取得した場合は、S02で「No」と判定され、後述するS06にて「No」と判定される。   Next, the flow of polling processing by the PC 2 will be described with reference to the flowchart of FIG. The polling process is an example of a “device monitoring apparatus control method”. The PC 2 (CPU 22) requests device information from the printer 1 with the start of the polling process (S01). In response to this request, it is determined whether or not device information has been acquired within a predetermined response period (S02). When the device information can be acquired (S02: Yes), the polling interval (waiting time until the next device information request) is set to a predetermined time (S03), and the device waits for the set polling interval (S04). Note that “Yes” is determined in S02 when device information that does not require error processing is acquired. If device information requiring error processing is acquired, “No” is determined in S02, and “No” is determined in S06 described later.

PC2は、設定したポーリング間隔に相当する待機時間が経過すると、ポーリング監視を継続するか否かを判定し(S05)、継続する場合は(S05:Yes)、S01に戻る。また、ポーリング監視を継続しない場合は(S05:No)、ポーリング処理を終了する。なお、ポーリング監視を継続しない場合(S05:No)とは、ポーリング監視を中止する操作が行われた場合や、PC2の状態変化によりポーリング処理を継続できない場合などが考えられる。   When the standby time corresponding to the set polling interval has elapsed, the PC 2 determines whether or not to continue polling monitoring (S05), and if so (S05: Yes), returns to S01. If the polling monitoring is not continued (S05: No), the polling process is terminated. Note that the case where the polling monitoring is not continued (S05: No) may be a case where an operation for stopping the polling monitoring is performed or a case where the polling process cannot be continued due to a change in the state of the PC2.

一方、PC2は、デバイス情報を取得できなかった場合(S02:No)、ジョブ管理部210からジョブ状態情報を取得し、印刷中であるか否かを判定する(S06)。ここで、ジョブ状態情報から印刷中であると判定した場合は(S06:Yes)、ジョブ状態情報に基づいてポーリング間隔を算出する(S07)。ここでは、S03で設定したポーリング間隔(所定の時間)よりも長いポーリング間隔が算出されるような算出アルゴリズムが用いられる。また、S07の算出結果に基づいて、ポーリング間隔(次のデバイス情報の要求までの待機時間)を設定し(S08)、S04に移行する。   On the other hand, when the PC 2 cannot acquire the device information (S02: No), the PC 2 acquires job status information from the job management unit 210, and determines whether printing is in progress (S06). If it is determined from the job status information that printing is in progress (S06: Yes), a polling interval is calculated based on the job status information (S07). Here, a calculation algorithm is used in which a polling interval longer than the polling interval (predetermined time) set in S03 is calculated. Further, based on the calculation result of S07, a polling interval (waiting time until the next device information request) is set (S08), and the process proceeds to S04.

また、ジョブ状態情報を取得した結果、印刷中でないと判定した場合は(S06:No)エラーに応じた処理を行う(S09)。例えば、プリンター1からエラー処理を伴うデバイス情報を取得した場合、デバイス情報に応じたエラー処理を行う。なお、S06:Noの判定は、プリンター1からエラー処理を伴うデバイス情報を取得した場合の他、プリンター1からビジー信号などの応答がなく、印刷データの送信中でもない場合や、プリンター1からビジー以外の状態を示すエラー情報を受信した場合、などが考えられる。   As a result of acquiring the job status information, if it is determined that printing is not being performed (S06: No), processing corresponding to the error is performed (S09). For example, when device information that accompanies error processing is acquired from the printer 1, error processing is performed according to the device information. Note that S06: No is determined when device information with error processing is acquired from the printer 1, when there is no response such as a busy signal from the printer 1 and print data is not being transmitted, or when the printer 1 is not busy. When error information indicating the state of the message is received, it is conceivable.

以上説明したとおり、本実施形態の監視システムSYによれば、PC2内で管理されている印刷ジョブの状態を示すジョブ状態情報に基づいて、ポーリング間隔を決定するため、デバイス情報を取得できないような場合でも、適切なポーリング間隔でポーリング監視を行うことができる。つまり、プリンター1に対し印刷データを送信している間など、デバイス情報を取得できないと考えられる間は、ポーリングを行わず、印刷データの送信が終わったと考えられるときまで待機することで、無駄にポーリングを繰り返すことによる不具合(ポーリングの繰り返しに備えたPC2のCPUリソースや通信回線リソースの増加など)を防止できる。また、ポーリングの頻度が下がるため、複数プロセスの衝突によるエラー回避も期待できる。一方、デバイス情報を取得できた場合は、通常のポーリング間隔でポーリング監視を行うため、デバイスの異常を正確に検知することができる。   As described above, according to the monitoring system SY of this embodiment, device information cannot be acquired because the polling interval is determined based on the job status information indicating the status of the print job managed in the PC 2. Even in this case, polling monitoring can be performed at an appropriate polling interval. In other words, while it is considered that device information cannot be acquired, such as while sending print data to the printer 1, polling is not performed, and it is wasted by waiting until the print data transmission is considered to be completed. Problems due to repeated polling (such as an increase in CPU resources and communication line resources of the PC 2 in preparation for repeated polling) can be prevented. In addition, since the polling frequency is lowered, it can be expected to avoid errors due to collisions between multiple processes. On the other hand, when the device information can be acquired, polling monitoring is performed at a normal polling interval, so that a device abnormality can be accurately detected.

なお、上記の実施形態に限らず、以下の変形例を採用可能である。
[変形例1]
第1実施形態では、プリンター1およびPC2により監視システムSYを構成したが、図4に示すように、PC2の機能を、複数の装置で実現してもよい。図4の例では、上記の実施形態におけるPC2の各部210〜260(図2参照)を、PC2´と監視サーバー5により実現している。PC2´と監視サーバー5は、インターネット等のネットワークNWを介して接続される。また、プリンター1は、PC2´とUSBケーブル等により接続される。また、特に図示しないが、PC2´には、印刷アプリケーション32やプリンタードライバー33がインストールされ、プリンター1に対する印刷指令および印刷ジョブの生成を行う。
Note that the present invention is not limited to the above-described embodiment, and the following modification examples can be employed.
[Modification 1]
In the first embodiment, the monitoring system SY is configured by the printer 1 and the PC 2. However, as shown in FIG. 4, the functions of the PC 2 may be realized by a plurality of devices. In the example of FIG. 4, each part 210 to 260 (see FIG. 2) of the PC 2 in the above embodiment is realized by the PC 2 ′ and the monitoring server 5. The PC 2 ′ and the monitoring server 5 are connected via a network NW such as the Internet. The printer 1 is connected to the PC 2 ′ by a USB cable or the like. Although not particularly shown, a print application 32 and a printer driver 33 are installed in the PC 2 ′, and a print command and a print job are generated for the printer 1.

PC2´は、上記の実施形態におけるPC2の機能のうち、ジョブ管理部210および通信制御部220を備える。また、監視サーバー5は、上記の実施形態におけるPC2の機能のうち、要求部230、デバイス情報取得部240、ジョブ状態情報取得部250および監視制御部260を備える。この構成により、PC2´は、監視サーバー5からのデバイス情報の要求により、プリンター1に対し要求コマンドを送信する。また、PC2´は、要求コマンドに対する応答(デバイス情報やビジー信号)を監視サーバー5に送信する。また、監視サーバー5は、ジョブ管理部210により管理されるジョブ状態情報に基づいてポーリング監視のポーリング間隔を決定し、決定したポーリング間隔で、PC2´(通信制御部220)に対し要求コマンドの送信を指示する。この構成によれば、監視サーバー5によりポーリング処理を制御できるため、PC2´の制御負荷を軽減できる。   The PC 2 ′ includes a job management unit 210 and a communication control unit 220 among the functions of the PC 2 in the above embodiment. The monitoring server 5 includes a request unit 230, a device information acquisition unit 240, a job status information acquisition unit 250, and a monitoring control unit 260 among the functions of the PC 2 in the above embodiment. With this configuration, the PC 2 ′ transmits a request command to the printer 1 in response to a device information request from the monitoring server 5. The PC 2 ′ transmits a response (device information or busy signal) to the request command to the monitoring server 5. The monitoring server 5 determines a polling monitoring polling interval based on the job status information managed by the job management unit 210, and transmits a request command to the PC 2 '(communication control unit 220) at the determined polling interval. Instruct. According to this configuration, since the polling process can be controlled by the monitoring server 5, the control load on the PC 2 'can be reduced.

[変形例2]
上記の実施形態においてPC2は、プリンタードライバー33を備える構成としたが、ドライバーレスの構成としても良い。例えば、マークアップ言語を解釈可能なプリンター1であれば、マークアップ言語により記述された印刷データを送信することにより、プリンター1に対応したコマンド変換が不要となり、ドライバーレスを実現できる。また、PC2がWebアプリケーションを利用する構成でもよい。この場合、PC2にWebブラウザーを搭載し、Webサーバーから提供されたWebページをユーザーインターフェースとして、印刷ジョブを生成すればよい。
[Modification 2]
In the above embodiment, the PC 2 is configured to include the printer driver 33, but may be configured to be driverless. For example, in the case of the printer 1 capable of interpreting the markup language, by sending print data described in the markup language, command conversion corresponding to the printer 1 becomes unnecessary, and driverlessness can be realized. Further, the PC 2 may use a web application. In this case, a print job may be generated by installing a Web browser on the PC 2 and using a Web page provided from the Web server as a user interface.

[変形例3]
上記の実施形態では、PC2によりポーリング処理を行うものとしたが、必ずしも定期的にデバイス情報を要求する構成でなくてもよい。例えば、PC2が、何らかの状態変化をトリガーとして、または予め定められたタイミングでデバイス情報を要求する構成でもよい。
[Modification 3]
In the above embodiment, the polling process is performed by the PC 2. However, the device information need not be periodically requested. For example, the PC 2 may be configured to request device information with some state change as a trigger or at a predetermined timing.

[変形例4]
上記の実施形態において監視制御部260は、デバイス情報を取得できなかった場合であって、印刷中と判定した場合、印刷ジョブの未処理データ量に基づいて、ポーリング間隔を決定したが、単位時間における未処理データの減少率など、印刷データ送信の進捗率に基づいて、ポーリング間隔を決定してもよい。例えば、未処理データ量が同じ場合でも、進捗率が高ければ、進捗率が低い場合よりもポーリング間隔を短くする、などの算出方法が考えられる。
[Modification 4]
In the above embodiment, the monitoring control unit 260 determines the polling interval based on the unprocessed data amount of the print job when the device information cannot be acquired and it is determined that printing is in progress. The polling interval may be determined based on a progress rate of print data transmission such as a decrease rate of unprocessed data. For example, even when the amount of unprocessed data is the same, if the progress rate is high, a calculation method such as shortening the polling interval as compared with the case where the progress rate is low can be considered.

[変形例5]
また、印刷データの総データ量を、複数個に分割した分割データが処理される時間を計測し、その時間に分割数を乗算することで、ポーリング間隔を決定してもよい。
[Modification 5]
Alternatively, the polling interval may be determined by measuring the time for processing the divided data obtained by dividing the total amount of print data into a plurality of times and multiplying the time by the number of divisions.

[変形例6]
また、印刷ジョブのジョブ状態情報だけでなく、通信制御部220による印刷データの送信状況を監視し、その監視結果に基づいて、ポーリング間隔を決定してもよい。例えば、印刷データが複数ページのデータから成る場合、各ページデータの送信タイミングを監視することが考えられる。
[Modification 6]
Further, not only the job status information of the print job but also the print data transmission status by the communication control unit 220 may be monitored, and the polling interval may be determined based on the monitoring result. For example, when the print data is composed of data of a plurality of pages, it is conceivable to monitor the transmission timing of each page data.

[変形例7]
また、上記の実施形態では、ジョブ状態情報に基づいて印刷が終わる時間を予測し、その予測時間をポーリング間隔として算出したが、必ずしも印刷が終わる時間を基準にしなくてもよい。例えば、単純に、印刷データの未処理データ量が所定の閾値を超える場合は、ポーリング間隔をt1とし、所定の閾値以下の場合は、ポーリング間隔をt2(但し、t2<t1)とする、などの算出方法も考えられる。この場合、閾値を複数段階設けてもよい。また、この場合、印刷データの送信が終わる前にデバイス情報を要求することとなるが、その時点のジョブ状態情報に基づいて、再度、ポーリング間隔(次のデバイス情報の要求までの待機時間)を算出すればよい。
[Modification 7]
In the above embodiment, the printing end time is predicted based on the job status information, and the predicted time is calculated as the polling interval. However, the printing end time may not necessarily be used as a reference. For example, simply, if the unprocessed data amount of the print data exceeds a predetermined threshold, the polling interval is t1, and if it is less than the predetermined threshold, the polling interval is t2 (where t2 <t1), etc. The calculation method of can also be considered. In this case, a plurality of threshold values may be provided. In this case, the device information is requested before the transmission of the print data is completed, but the polling interval (waiting time until the next device information request) is set again based on the job status information at that time. What is necessary is just to calculate.

[変形例8]
上記の実施形態では、「デバイス監視装置」として、PC2を例示したが、タブレット端末やWebサーバーなどPC2以外の情報処理端末を採用してもよい。
[Modification 8]
In the above embodiment, the PC 2 is exemplified as the “device monitoring apparatus”, but an information processing terminal other than the PC 2 such as a tablet terminal or a Web server may be employed.

[変形例9]
上記の実施形態では、「デバイス」としてプリンター1を例示したが、他のデバイスに本実施形態を適用してもよい。他のデバイスとしては、スキャナー、表示装置(投写装置を含む)など、「デバイス監視装置」と双方向通信が可能な装置が考えられる。
[Modification 9]
In the above embodiment, the printer 1 is exemplified as the “device”, but the present embodiment may be applied to other devices. As other devices, devices capable of bidirectional communication with a “device monitoring device” such as a scanner and a display device (including a projection device) are conceivable.

[変形例10]
上記の実施形態および変形例に示した監視システムSY内の各装置における各構成要素(各機能)をプログラムとして提供してもよい。また、そのプログラムを各種記録媒体(CD−ROM、フラッシュメモリー等)に格納して提供してもよい。すなわち、コンピューターを監視システムSY内の各装置の各構成要素(各機能)として機能させるためのプログラム、それを記録したコンピューター読み取り可能な記録媒体も、本発明の権利範囲に含まれる。その他、本発明の要旨を逸脱しない範囲で、適宜変更が可能である。
[Modification 10]
You may provide each component (each function) in each apparatus in the monitoring system SY shown to said embodiment and modification as a program. The program may be provided by being stored in various recording media (CD-ROM, flash memory, etc.). That is, a program for causing a computer to function as each component (each function) of each device in the monitoring system SY and a computer-readable recording medium recording the program are also included in the scope of the present invention. Other modifications can be made as appropriate without departing from the scope of the present invention.

1…プリンター、2…PC、110…通信制御部、120…印刷制御部、210…ジョブ管理部、220…通信制御部、230…要求部、240…デバイス情報取得部、250…ジョブ状態情報取得部、260…監視制御部、SY…監視システム   DESCRIPTION OF SYMBOLS 1 ... Printer, 2 ... PC, 110 ... Communication control part, 120 ... Print control part, 210 ... Job management part, 220 ... Communication control part, 230 ... Request part, 240 ... Device information acquisition part, 250 ... Job status information acquisition Unit, 260 ... monitoring control unit, SY ... monitoring system

Claims (8)

デバイスに対し、前記デバイスの状態を示すデバイス情報を要求する要求部と、
前記デバイスに送信するジョブを管理するジョブ管理部から、前記ジョブの状態を示すジョブ状態情報を取得するジョブ状態情報取得部と、
前記ジョブ状態情報に基づいて、前記要求部が前記デバイス情報を要求するタイミングを決定する監視制御部と、を備えることを特徴とするデバイス監視装置。
A requesting unit for requesting device information indicating a state of the device to the device;
A job status information acquisition unit that acquires job status information indicating the status of the job from a job management unit that manages jobs to be transmitted to the device;
A device monitoring apparatus comprising: a monitoring control unit that determines a timing at which the request unit requests the device information based on the job status information.
前記要求部は、前記デバイスに対し、定期的に前記デバイス情報を要求するポーリング監視を行い、
前記監視制御部は、前記ジョブ状態情報に基づいて、前記ポーリング監視のポーリング間隔を決定することを特徴とする請求項1に記載のデバイス監視装置。
The request unit performs polling monitoring for periodically requesting the device information to the device,
The device monitoring apparatus according to claim 1, wherein the monitoring control unit determines a polling interval for the polling monitoring based on the job status information.
前記要求に応じて前記デバイスから送信された前記デバイス情報を取得するデバイス情報取得部を備え、
前記監視制御部は、前記デバイス情報取得部により前記デバイス情報を取得できた場合、前記ポーリング間隔を所定の時間とし、前記デバイス情報取得部により前記デバイス情報を取得できなかった場合、前記ジョブ状態情報に基づいて前記ポーリング間隔を決定することを特徴とする請求項2に記載のデバイス監視装置。
A device information acquisition unit that acquires the device information transmitted from the device in response to the request;
When the device information acquisition unit can acquire the device information, the monitoring control unit sets the polling interval as a predetermined time, and when the device information acquisition unit cannot acquire the device information, the job status information The device monitoring apparatus according to claim 2, wherein the polling interval is determined based on the device.
前記監視制御部は、前記デバイス情報取得部により前記デバイス情報を取得できなかった場合、前記所定の時間より長いポーリング間隔に決定することを特徴とする請求項3に記載のデバイス監視装置。   The device monitoring apparatus according to claim 3, wherein the monitoring control unit determines a polling interval longer than the predetermined time when the device information acquisition unit cannot acquire the device information. 前記監視制御部は、前記デバイス情報取得部により前記デバイス情報を取得できなかった場合、次の前記デバイス情報の要求までの前記ポーリング間隔を決定し、当該ポーリング間隔に相当する待機時間を経過した後、前記要求部に対して前記デバイス情報の要求を指示することを特徴とする請求項3または4に記載のデバイス監視装置。   When the device information acquisition unit cannot acquire the device information, the monitoring control unit determines the polling interval until the next request for the device information, and after a standby time corresponding to the polling interval has elapsed The device monitoring apparatus according to claim 3 or 4, wherein the device monitoring apparatus instructs the request unit to request the device information. 前記ジョブ状態情報は、前記ジョブの処理済みデータ量を示す情報、前記ジョブの未処理データ量を示す情報、前記ジョブが送信中であるか否かを示す情報、のうち少なくとも1つを含むことを特徴とする請求項1ないし5のいずれか1項に記載のデバイス監視装置。   The job status information includes at least one of information indicating a processed data amount of the job, information indicating an unprocessed data amount of the job, and information indicating whether or not the job is being transmitted. The device monitoring apparatus according to claim 1, wherein: コンピューターを、
デバイスに対し、前記デバイスの状態を示すデバイス情報を要求する要求部と、
前記デバイスに送信するジョブを管理するジョブ管理部から、前記ジョブの状態を示すジョブ状態情報を取得するジョブ状態情報取得部と、
前記ジョブ状態情報に基づいて、前記要求部が前記デバイス情報を要求するタイミングを決定する監視制御部と、として機能させるためのデバイス監視プログラム。
Computer
A requesting unit for requesting device information indicating a state of the device to the device;
A job status information acquisition unit that acquires job status information indicating the status of the job from a job management unit that manages jobs to be transmitted to the device;
A device monitoring program for functioning as a monitoring control unit that determines a timing at which the requesting unit requests the device information based on the job status information.
デバイスを監視するデバイス監視装置の制御方法であって、
前記デバイスに送信するジョブを管理するジョブ管理部から、前記ジョブの状態を示すジョブ状態情報を取得するジョブ状態情報取得ステップと、
前記ジョブ状態情報に基づいて、前記デバイスの状態を示すデバイス情報を要求するタイミングを決定する監視制御ステップと、
決定された前記タイミングで、前記デバイスに対し、前記デバイス情報の要求を行う要求ステップと、を実行することを特徴とするデバイス監視装置の制御方法。
A device monitoring apparatus control method for monitoring a device,
A job status information acquisition step for acquiring job status information indicating the status of the job from a job management unit that manages jobs to be transmitted to the device;
A monitoring control step for determining timing for requesting device information indicating the state of the device based on the job status information;
And a requesting step for requesting the device information to the device at the determined timing.
JP2017034470A 2017-02-27 2017-02-27 Device monitoring apparatus, device monitoring program and control method of device monitoring apparatus Pending JP2018142057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017034470A JP2018142057A (en) 2017-02-27 2017-02-27 Device monitoring apparatus, device monitoring program and control method of device monitoring apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017034470A JP2018142057A (en) 2017-02-27 2017-02-27 Device monitoring apparatus, device monitoring program and control method of device monitoring apparatus

Publications (1)

Publication Number Publication Date
JP2018142057A true JP2018142057A (en) 2018-09-13

Family

ID=63526626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017034470A Pending JP2018142057A (en) 2017-02-27 2017-02-27 Device monitoring apparatus, device monitoring program and control method of device monitoring apparatus

Country Status (1)

Country Link
JP (1) JP2018142057A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020027162A1 (en) 2018-07-30 2020-02-06 旭化成株式会社 Conductive film and conductive film roll, electronic paper, touch panel, and flat panel display using same
JP7424035B2 (en) 2019-12-19 2024-01-30 京セラドキュメントソリューションズ株式会社 Information processing equipment and information processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020027162A1 (en) 2018-07-30 2020-02-06 旭化成株式会社 Conductive film and conductive film roll, electronic paper, touch panel, and flat panel display using same
JP7424035B2 (en) 2019-12-19 2024-01-30 京セラドキュメントソリューションズ株式会社 Information processing equipment and information processing system

Similar Documents

Publication Publication Date Title
US9274736B2 (en) Information processing apparatus, output system, information processing method, and recording medium storing information processing program
US20120086978A1 (en) Cloud computing system, information processing method, and storage medium
US8854648B2 (en) Printing system and printing control apparatus
JP6547462B2 (en) Communication control device, communication control driver and communication control method
US8730506B2 (en) Image forming apparatus that can request ending time for processing print data by an external apparatus from the external apparatus and control method thereof
JP2023168372A (en) application program
US10146487B2 (en) Information processing system, apparatus, and method
JP2018142057A (en) Device monitoring apparatus, device monitoring program and control method of device monitoring apparatus
JP2013073369A (en) Print control system, print control method, image processor and print control program
JP2017011515A (en) Image formation apparatus, control program for image formation apparatus, and management method
US9582227B2 (en) Printer control apparatus, printing control method, and printing control system for transmitting a reception request signal and adjusting a transmission interval of a transmission request signal
JP4095310B2 (en) Recording system, information processing apparatus, control method therefor, and program
JP2011090599A (en) Information processing apparatus and method
JP3897083B2 (en) Print processing apparatus and print processing method
US9158489B1 (en) Buffering a print instruction before its transferred to a printing apparatus
JP5087525B2 (en) Image forming system
JP6874530B2 (en) Information processing device and information processing method
JP2006035487A (en) Print system and method
JP2015099475A (en) Information processing system, control method of the same, and program
JP2000231465A (en) Job distributing method
JP6295644B2 (en) Print control apparatus, print control system, and program
JP2012061687A (en) Image forming system and method for plotting and developing printing data
US20150178607A1 (en) Printing control apparatus, printing control system, printing control method, and non-transistory computer readable medium
JP2016184216A (en) Processing device, image processing system, and program
JP2006173905A (en) Job management device, job management system, job management method, and control program

Legal Events

Date Code Title Description
RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20180910