JP2004180276A - Remote management system, communication device therefor, control method, and program - Google Patents

Remote management system, communication device therefor, control method, and program Download PDF

Info

Publication number
JP2004180276A
JP2004180276A JP2003328670A JP2003328670A JP2004180276A JP 2004180276 A JP2004180276 A JP 2004180276A JP 2003328670 A JP2003328670 A JP 2003328670A JP 2003328670 A JP2003328670 A JP 2003328670A JP 2004180276 A JP2004180276 A JP 2004180276A
Authority
JP
Japan
Prior art keywords
request
communication
communication device
remote management
received
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.)
Granted
Application number
JP2003328670A
Other languages
Japanese (ja)
Other versions
JP4347645B2 (en
Inventor
Katsumi Watai
克己 渡井
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2003328670A priority Critical patent/JP4347645B2/en
Publication of JP2004180276A publication Critical patent/JP2004180276A/en
Application granted granted Critical
Publication of JP4347645B2 publication Critical patent/JP4347645B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To easily perform setting for validating a function of communication with an external device as needed. <P>SOLUTION: In an image forming apparatus 100 provided with a communication means for communicating with a mediating device 101 and a request processing means (NRS) for returning a valid response to a request received from the mediating device 101 via the communication means, a validating operation is performed to the request processing means for turning functions of the request processing means itself into a valid state in accordance with a predetermined trigger and until the validating operation is performed, the request processing means may be set into a standby state that the valid response is not returned to the received request. In such a case, an equipment search request received from the mediating device 101 may be used as the predetermined trigger. <P>COPYRIGHT: (C)2004,JPO

Description

この発明は、外部装置から受信した要求に対して応答を返す機能を備えた通信装置、このような通信装置とこれに接続された遠隔管理仲介装置とこれに接続された管理装置とによって構成された通信装置の遠隔管理システム、上記のような通信装置の制御方法、および通信装置を制御するコンピュータに実行させるプログラムに関する。   The present invention includes a communication device having a function of returning a response to a request received from an external device, a communication device, a remote management mediation device connected to the communication device, and a management device connected thereto. The present invention relates to a remote management system for a communication device, a communication device control method as described above, and a program executed by a computer that controls the communication device.

従来から、通信機能を備えたプリンタ,ファクシミリ(FAX)装置,デジタル複写機,スキャナ装置,デジタル複合機等の画像処理装置を始め、ネットワーク家電,自動販売機,医療機器,電源装置,空調システム,ガス・水道・電気等の計量システム等に通信機能(通信手段)を持たせた通信装置(電子装置)を被管理装置とし、サービスセンタ(管理センタ)の管理装置(外部装置)が公衆回線等の通信回線(専用回線でもよい)経由でこれらの被管理装置を遠隔管理する遠隔管理システムが提案されている。
あるいは、被管理装置が通信機能を備えていない場合や、通信機能を備えていてもその機能が管理装置と通信するための機能を持っていない場合には、その被管理装置に管理装置と通信可能な通信機能を有する遠隔管理仲介装置(以下単に「仲介装置」ともいう)を通信回線経由で接続し、管理装置が通信回線および仲介装置経由で被管理装置を遠隔管理する遠隔管理システムも提案されている。
Conventionally, including image processing devices such as printers, facsimile (FAX) devices, digital copiers, scanner devices, and digital multifunction devices with communication functions, network home appliances, vending machines, medical devices, power supplies, air conditioning systems, A communication device (electronic device) that has a communication function (communication means) in a measuring system such as gas, water, electricity, etc. is a managed device, and a management device (external device) of a service center (management center) is a public line, etc. A remote management system for remotely managing these managed devices via a communication line (or a dedicated line) has been proposed.
Alternatively, if the managed device does not have a communication function, or if the managed device has a communication function but does not have a function for communicating with the management device, the managed device communicates with the management device. Also proposes a remote management system in which a remote management mediation device with a possible communication function (hereinafter simply referred to as “mediation device”) is connected via a communication line, and the management device remotely manages the managed device via the communication line and the mediation device. Have been.

例えば、被管理装置がデジタル複写機のような画像形成装置(画像処理装置)の場合には、顧客のオフィス等に画像形成装置と共に仲介装置(ラインアダプタ)を設置し、その画像形成装置とサービスセンタ内の管理装置(監視端末装置)とを公衆回線および仲介装置によって通信可能にし、その管理装置によって顧客先の画像形成装置の状態を管理する画像形成装置管理システムが知られている。(特許文献1参照)
特開平6−237330号公報
For example, when the managed device is an image forming device (image processing device) such as a digital copying machine, an intermediate device (line adapter) is installed together with the image forming device in a customer's office or the like, and the image forming device and the service are installed. 2. Description of the Related Art There is known an image forming apparatus management system that enables communication with a management apparatus (monitoring terminal apparatus) in a center via a public line and an intermediary apparatus, and manages the state of an image forming apparatus at a customer by the management apparatus. (See Patent Document 1)
JP-A-6-237330

このような画像形成装置管理システムによれば、サービスセンタ側で顧客先の画像形成装置の状態を容易に把握することができるので、画像形成装置に故障が発生したり、部品の寿命が近づいたり、消耗品の残りが少なくなったりした場合等に、顧客に連絡して警告する、サービスマンを派遣して修理を行う、消耗品の注文を受け付ける、等の対応を容易にあるいは自動的に行うことができ、画像形成装置の維持管理に必要な労力を低減することができる。   According to such an image forming apparatus management system, the state of the image forming apparatus at the customer's site can be easily grasped on the service center side, so that a failure occurs in the image forming apparatus or the service life of parts is approaching. If the remaining consumables are running low, contact the customer and warn them, dispatch a serviceman to perform repairs, accept orders for consumables, etc., easily or automatically. Therefore, labor required for maintenance of the image forming apparatus can be reduced.

ところで、このような画像形成装置管理システムの構築のために使用する画像形成装置は、工場出荷時点では、以下の(1)〜(4)に示す理由により、管理装置と通信するための機能(CSS機能)が無効になっており、管理装置と通信できないようになっている。
(1)工場出荷前にCSS機能が有効になっていると、顧客先に設置された後、適切な設定や接続がなされていない場合でも管理装置と通信できないという通信エラーが発生することがあるため、それを管理装置との通信に異常が発生したと誤認し、誤って警告(メッセージの表示や電子メール等)を発してしまうことがありえる。
(2)CSS機能に対応する仲介装置(仲介装置の機能を有する画像形成装置)の設置後の設定作業が難しいため、顧客自身には仲介装置を設置させないようにしていた。
By the way, at the time of factory shipment, an image forming apparatus used for constructing such an image forming apparatus management system has a function for communicating with the management apparatus for the following reasons (1) to (4). CSS function) is disabled, and communication with the management device cannot be performed.
(1) If the CSS function is enabled before shipment from the factory, a communication error may occur that communication cannot be performed with the management device after installation at a customer site even if appropriate settings and connections are not made. Therefore, it may be erroneously recognized that an abnormality has occurred in communication with the management apparatus, and a warning (display of a message, electronic mail, or the like) may be erroneously issued.
(2) Since setting work after installation of an intermediary device (image forming device having the function of the intermediary device) corresponding to the CSS function is difficult, the customer is prevented from installing the intermediary device.

(3)顧客によって保守契約が異なる場合があり、またCSS機能の利用契約を行っていない場合やそもそもサービスを行っていない地域ではCSS機能は動作させてはいけないが、これらの顧客に対しても共通の機能を有する画像形成装置を販売したいという要求があった。
(4)管理装置との通信には顧客の電話回線を使用するため、むやみにCSS機能を有効にして回線を占有しないようにする必要があった。
(3) The maintenance contract may differ depending on the customer, and the CSS function must not be operated in the case where the contract for using the CSS function is not made or in the area where the service is not provided in the first place. There has been a demand to sell image forming apparatuses having common functions.
(4) Since the customer's telephone line is used for communication with the management device, it was necessary to indiscriminately enable the CSS function so as not to occupy the line.

画像形成装置のCSS機能を有効にするためには、その画像形成装置を顧客のオフィス等に設置した後、CSS機能を有効にして管理装置と通信可能にする必要があるが、これは以下のような手順で行っていた。
すなわち、まずCSS機能を有する画像形成装置を購入等し、CSS機能の使用契約を行った顧客をサービスマンが訪問し、その画像形成装置のサービスマン用設定モード(SPモード)によってCSS機能を有効にする設定を行う。そして、サービスマンがサービスセンタに電話等で連絡を行った後、画像形成装置を操作してサービスセンタの管理装置との間で接続確認を行う。この接続確認が成功であれば、サービスセンタからサービスマンに連絡を入れてその旨を伝え、以後顧客先の画像形成装置とサービスセンタの管理装置とが通信可能になる。
To enable the CSS function of the image forming apparatus, it is necessary to install the image forming apparatus in a customer's office or the like and then enable the CSS function to enable communication with the management apparatus. I was going through such a procedure.
That is, first, an image forming apparatus having a CSS function is purchased, a service person visits a customer who has made a contract to use the CSS function, and the CSS function is enabled by a service person setting mode (SP mode) of the image forming apparatus. Make settings to Then, after the service person contacts the service center by telephone or the like, the image forming apparatus is operated to confirm the connection with the management apparatus of the service center. If the connection confirmation is successful, the service center contacts the serviceman to inform the serviceman, and thereafter, the image forming apparatus at the customer and the management apparatus of the service center can communicate with each other.

このため、CSS機能を有する画像形成装置を顧客先に設置してCSS機能(管理装置との通信機能)を有効にするには、その都度顧客先にサービスマンを派遣して1台ずつCSS機能を有効にするための作業を行う必要があり、労力やコストがかかるという問題があった。
この発明は、上記の問題点に鑑みてなされたものであり、顧客先に設置された1台又は複数台の通信装置が外部装置との通信機能を必要な場合にのみ自動的に有効にできるようにすることを目的とする。
For this reason, in order to install an image forming apparatus having a CSS function at the customer site and to enable the CSS function (communication function with the management device), a service person is dispatched to the customer site each time to perform the CSS function one by one. Therefore, it is necessary to perform a work for making the method effective, and there is a problem that labor and cost are required.
The present invention has been made in view of the above problems, and can be automatically enabled only when one or more communication devices installed at a customer need a communication function with an external device. The purpose is to be.

この発明は、上記の目的を達成するため、画像形成装置等の通信装置(電子装置)、その通信装置と遠隔管理仲介装置と管理装置とによって構成された通信装置の遠隔管理システム、上記通信装置の制御方法、および通信装置を制御するコンピュータに必要な機能(この発明に係わる機能)を実行させるプログラムを提供する。
請求項1の発明による通信装置は、外部装置と通信を行う通信手段と、該通信手段を介して上記外部装置から受信した要求に対して有効な応答を返す要求処理手段とを備えた通信装置であって、上記要求処理手段を、所定のトリガに応じて該要求処理手段自身の機能を有効状態にする有効化動作を行い、該有効化動作を行うまでは上記受信した要求に対して有効な応答を返さない待機状態に設定する待機設定手段を設けたものである。
請求項2の発明による通信装置は、請求項1の通信装置において、上記要求処理手段を、上記受信した要求が情報取得要求であった場合に、当該通信装置の情報を有効な応答として返す手段としたものである。
In order to achieve the above object, the present invention provides a communication device (electronic device) such as an image forming device, a remote management system for a communication device including the communication device, a remote management mediation device, and a management device. And a program for causing a computer that controls the communication device to execute necessary functions (functions according to the present invention).
A communication apparatus according to claim 1, comprising: communication means for communicating with an external device; and request processing means for returning a valid response to a request received from said external device via said communication means. The request processing means performs an activation operation to activate the function of the request processing means itself in response to a predetermined trigger, and is effective for the received request until the activation operation is performed. And a standby setting means for setting a standby state in which no response is returned.
A communication device according to a second aspect of the present invention is the communication device according to the first aspect, wherein the request processing unit returns the information of the communication device as a valid response when the received request is an information acquisition request. It is what it was.

請求項3の発明による通信装置は、外部装置と通信を行う通信手段と、該通信手段を介して上記外部装置から受信した要求に対して有効な応答を返す要求処理手段とを備えた通信装置であって、上記要求処理手段を、所定のトリガに応じて該要求処理手段自身の機能を有効状態にする有効化動作を行い、該有効化動作を行うまでは上記受信した要求に対して有効な応答を返さない待機状態に設定する待機設定手段を設け、上記所定のトリガを上記外部装置から受信する所定の要求としたものである。
請求項4の発明による通信装置は、請求項3の通信装置において、上記要求処理手段を、上記受信した要求が情報取得要求であった場合に、当該通信装置の情報を有効な応答として返す手段としたものである。
請求項5の発明による通信装置は、請求項3又は4の通信装置において、上記要求処理手段に、上記待機状態においては上記所定の要求以外の要求に対しては機能が無効状態である旨の応答を返す手段を備えたものである。
A communication apparatus according to claim 3, comprising: communication means for communicating with an external device; and request processing means for returning a valid response to a request received from said external device via said communication means. The request processing means performs an activation operation to activate the function of the request processing means itself in response to a predetermined trigger, and is effective for the received request until the activation operation is performed. A standby setting means for setting a standby state in which no response is returned, wherein the predetermined trigger is a predetermined request received from the external device.
A communication device according to a fourth aspect of the present invention is the communication device according to the third aspect, wherein the request processing unit returns information of the communication device as a valid response when the received request is an information acquisition request. It is what it was.
A communication device according to a fifth aspect of the present invention is the communication device according to the third or fourth aspect, wherein the request processing means has a function in the standby state that a function is invalid for a request other than the predetermined request. It is provided with a means for returning a response.

請求項6の発明による通信装置は、請求項3〜5のいずれかの通信装置において、上記所定の要求は該要求の発信元のアドレス情報を含み、上記有効化動作の際に該アドレス情報を通信先情報として記憶する通信先情報記憶手段を設けたものである。
請求項7の発明による通信装置は、請求項6の通信装置において、上記要求処理手段は、上記通信先情報に係る発信元から受信した要求に対してのみ有効な応答を返すものである。
請求項8の発明による通信装置は、請求項6又は7の通信装置において、上記要求処理手段に、上記待機状態以外でかつ上記通信先情報記憶手段に通信先情報が記憶されている状態で該通信先情報に係る外部装置以外から上記所定の要求を受信した場合には機能が無効状態である旨の応答を返す手段を備えたものである。
A communication device according to a sixth aspect of the present invention is the communication device according to any one of the third to fifth aspects, wherein the predetermined request includes address information of a source of the request, and the address information is transmitted during the validation operation. A communication destination information storage means for storing as communication destination information is provided.
A communication device according to a seventh aspect of the present invention is the communication device according to the sixth aspect, wherein the request processing means returns a valid response only to a request received from a source relating to the communication destination information.
The communication device according to the invention of claim 8 is the communication device according to claim 6 or 7, wherein the request processing means is in a state other than the standby state and the communication destination information is stored in the communication destination information storage means. When the predetermined request is received from a device other than the external device related to the communication destination information, a means for returning a response indicating that the function is disabled is provided.

請求項9の発明による通信装置は、請求項3〜8のいずれかの通信装置において、上記要求処理手段に、上記有効化動作を行う場合に上記所定の要求の発信元に対してその旨を通知する手段を備えたものである。
請求項10の発明による通信装置は、請求項3〜9のいずれかの通信装置において、上記待機設定手段に、上記外部装置から予め定めた要求を受信した場合に上記要求処理手段を上記待機状態に設定する手段を備えたものである。
請求項11の発明による通信装置は、請求項1〜10のいずれかの通信装置において、上記要求処理手段が、外部装置から受信した要求に対して有効な応答を返すか否かを該要求の受信直後にその時点での動作状態を参照して判断するようにしたものである。
請求項12の発明による通信装置は、請求項1〜11のいずれかの通信装置において、上記通信手段によって受信する要求及び上記要求処理手段が返す応答が構造化言語形式で記載されているものである。
A communication device according to a ninth aspect of the present invention is the communication device according to any one of the third to eighth aspects, wherein the request processing means notifies the request source of the predetermined request when performing the activation operation. A means for notifying is provided.
A communication device according to a tenth aspect of the present invention is the communication device according to any one of the third to ninth aspects, wherein the request processing unit is set to the standby state when the standby setting unit receives a predetermined request from the external device. Is provided.
A communication device according to an eleventh aspect of the present invention is the communication device according to any one of the first to tenth aspects, wherein the request processing means determines whether or not to return a valid response to the request received from the external device. Immediately after the reception, the judgment is made by referring to the operation state at that time.
A communication device according to a twelfth aspect of the present invention is the communication device according to any one of the first to eleventh aspects, wherein a request received by the communication means and a response returned by the request processing means are described in a structured language format. is there.

請求項13の発明による通信装置の遠隔管理システムは、1又は2以上の通信装置と、該通信装置と直接又は間接に接続された外部装置とによって構成される通信装置の遠隔管理システムであって、上記外部装置は、該通信装置とネットワークによって接続され、上記通信装置に対して各種要求を送信する要求送信手段を有する遠隔管理仲介装置と、該遠隔管理仲介装置とインタネットによって接続され、上記遠隔管理仲介装置に上記各種要求を送信させることによって該遠隔管理仲介装置に接続された上記通信装置の管理を行う管理装置とを含み、上記通信装置に、上記外部装置と通信を行う通信手段と、該通信手段を介して上記外部装置から受信した要求に対して有効な応答を返す要求処理手段と、該要求処理手段を、所定のトリガに応じて該要求処理手段自身の機能を有効状態にする有効化動作を行い、該有効化動作を行うまでは上記受信した要求に対して有効な応答を返さない待機状態に設定する待機設定手段とを設け、上記所定のトリガを上記外部装置から受信する所定の要求としたものである。   A remote management system for a communication device according to a thirteenth aspect of the present invention is a remote management system for a communication device including one or more communication devices and an external device connected directly or indirectly to the communication device. The external device is connected to the communication device via a network, has a remote management mediation device having request transmission means for transmitting various requests to the communication device, and is connected to the remote management mediation device via the Internet, A management device that manages the communication device connected to the remote management mediation device by causing the management mediation device to transmit the various requests, a communication unit that communicates with the external device, Request processing means for returning a valid response to a request received from the external device via the communication means; and And a standby setting means for performing a validating operation for setting the function of the request processing means itself to a valid state, and setting a standby state for not returning a valid response to the received request until the validating operation is performed. And providing the predetermined trigger as a predetermined request received from the external device.

請求項14の発明による通信装置の遠隔管理システムは、請求項13の通信装置の遠隔管理システムにおいて、上記遠隔管理仲介装置の要求送信手段が、定期的に上記通信装置に対して上記所定の要求を送信するものである。
請求項15の発明による通信装置の遠隔管理システムは、請求項13又は14の通信装置の遠隔管理システムにおいて、上記遠隔管理仲介装置が、各種指示を入力する操作部を備え、上記遠隔管理仲介装置の要求送信手段が、上記操作部からの指示に従って上記通信装置に対して上記所定の要求を送信するものである。
請求項16の発明による通信装置の遠隔管理システムは、請求項13〜15のいずれかの通信装置の遠隔管理システムにおいて、上記遠隔管理仲介装置に、自身が管理すべき通信装置の識別情報を記憶する記憶手段を設け、上記遠隔管理仲介装置の要求送信手段が、上記所定の要求を送信する場合には、上記該識別情報に対応する通信装置にのみ送信するものである。
According to a fourteenth aspect of the present invention, in the remote management system for a communication device according to the thirteenth aspect, the request transmission means of the remote management mediation device periodically transmits the predetermined request to the communication device. Is transmitted.
A remote management system for a communication device according to a fifteenth aspect of the present invention is the remote management system for a communication device according to the thirteenth or fourteenth aspect, wherein the remote management mediation device includes an operation unit for inputting various instructions, The request transmitting means transmits the predetermined request to the communication device in accordance with an instruction from the operation unit.
A communication device remote management system according to a sixteenth aspect of the present invention is the communication device remote management system according to any one of the thirteenth to fifteenth aspects, wherein the remote management mediation device stores identification information of a communication device to be managed by itself. The request transmitting means of the remote management mediation device transmits the predetermined request only to the communication device corresponding to the identification information.

請求項17の発明による通信装置の遠隔管理システムは、請求項13〜16のいずれかの通信装置の遠隔管理システムにおいて、上記通信装置に、上記要求処理手段によって上記有効化動作が行われた場合に、上記遠隔管理仲介装置を介して上記管理装置との間で通信試験を行う手段を設けたものである。
請求項18の発明による通信装置の遠隔管理システムは、請求項13〜17のいずれかの通信装置の遠隔管理システムにおいて、上記通信装置の上記待機設定手段に、上記外部装置から予め定めた要求を受信した場合に、上記要求処理手段を上記待機状態に設定する手段を備えたものである。
According to a seventeenth aspect of the present invention, in the remote management system for a communication device according to any one of the thirteenth to sixteenth aspects, the activation operation is performed on the communication device by the request processing means. A means for conducting a communication test with the management device via the remote management mediation device.
According to a eighteenth aspect of the present invention, in the remote management system for a communication device according to any one of the thirteenth to seventeenth aspects, a predetermined request from the external device is sent to the standby setting means of the communication device. A means for setting the request processing means to the standby state when receiving the request.

請求項19の発明による通信装置の遠隔管理システムは、1又は2以上の通信装置と、該通信装置とネットワークによって接続され、上記通信装置に対して各種要求を送信する要求送信手段を有する遠隔管理仲介装置と、該遠隔管理仲介装置とインタネットによって接続され、上記遠隔管理仲介装置に上記各種要求を送信させることによって該遠隔管理仲介装置に接続された上記通信装置の管理を行う管理装置とによって構成される通信装置の遠隔管理システムであって、上記遠隔管理仲介装置に、上記管理装置に対して定期的に送信要求があるかどうかの問い合わせを行う送信要求有無問合手段を設け、上記遠隔管理仲介装置の要求送信手段を、上記送信要求有無問合手段による上記管理装置への送信要求の問い合わせに対して、該管理装置から要求を受信した場合にのみ、該要求を上記通信装置へ送信する手段とし、上記通信装置に、上記遠隔管理仲介装置と通信を行う通信手段と、該通信手段を介して上記遠隔管理仲介装置から受信した要求に対して有効な応答を返す要求処理手段と、該要求処理手段を、所定のトリガに応じて該要求処理手段自身の機能を有効状態にする有効化動作を行い、該有効化動作を行うまでは上記受信した要求に対して有効な応答を返さない待機状態に設定する待機設定手段とを設けたものである。   20. A remote management system for a communication device according to claim 19, wherein the remote management system includes one or more communication devices, and a request transmission unit connected to the communication device via a network and transmitting various requests to the communication device. An intermediary device, and a management device connected to the remote management intermediation device via the Internet and configured to manage the communication device connected to the remote management intermediation device by transmitting the various requests to the remote management intermediation device. A transmission request presence / absence inquiry means for periodically inquiring whether or not there is a transmission request to the management device, wherein the remote management mediation device comprises The request transmitting means of the intermediary device responds to the inquiry of the transmission request to the management device by the transmission request presence / absence inquiry means. Means for transmitting the request to the communication device only when a request is received from the communication device, the communication device communicating with the remote management mediation device, and the remote management mediation device via the communication device. Request processing means for returning a valid response to a request received from the server; and performing an activation operation for setting the function of the request processing means to an active state in response to a predetermined trigger. There is provided a standby setting means for setting a standby state in which a valid response is not returned to the received request until the operation is performed.

請求項20の発明による通信装置の制御方法は、外部装置と通信を行う通信手段と、該通信手段を介して上記外部装置から受信した要求に対して有効な応答を返す要求処理手段とを備えた通信装置の制御方法であって、上記要求処理手段に、所定のトリガに応じて該要求処理手段自身の機能を有効状態にする有効化動作を行い、該有効化動作を行うまでは上記受信した要求に対して有効な応答を返さない待機状態の動作を行わせるものである。
請求項21の発明による通信装置の制御方法は、請求項20記載の通信装置の制御方法において、上記所定のトリガとして、上記外部装置から受信する所定の要求を用いるものである。
請求項22の発明による通信装置の制御方法は、請求項21の通信装置の制御方法において、上記所定の要求は該要求の発信元のアドレス情報を含むものであり、上記有効化動作の際に該アドレス情報を通信先情報として記憶しておき、上記要求処理手段に、上記通信先情報に係る発信元から受信した命令に対してのみ有効な応答を返させるものである。
A control method for a communication device according to a twentieth aspect of the present invention includes a communication unit that communicates with an external device, and a request processing unit that returns a valid response to a request received from the external device via the communication unit. A method of controlling the communication device, wherein the request processing means performs an activation operation for activating a function of the request processing means itself in response to a predetermined trigger, and the reception processing is performed until the activation operation is performed. In response to the request, a valid operation is not returned.
According to a twenty-first aspect of the present invention, in the control method for a communication device according to the twentieth aspect, a predetermined request received from the external device is used as the predetermined trigger.
A control method for a communication device according to a twenty-second aspect of the present invention is the control method for a communication device according to the twenty-first aspect, wherein the predetermined request includes address information of a source of the request. The address information is stored as communication destination information, and the request processing means is caused to return a valid response only to a command received from a source related to the communication destination information.

請求項23の発明によるプログラムは、外部装置と通信を行う通信手段を備えた通信装置を制御するコンピュータに、上記通信手段を介して上記外部装置から受信した要求に対して有効な応答を返す要求処理機能と、該要求処理機能を、所定のトリガに応じて該要求処理機能自身の機能を有効状態にする有効化動作を行い、該有効化動作を行うまでは上記受信した要求に対して有効な応答を返さない待機状態に設定する待機設定機能とを実現させるためプログラムである。
請求項24の発明によるプログラムは、請求項23のプログラムにおいて、上記所定のトリガを上記外部装置から受信する所定の要求としたものである。
請求項25の発明によるプログラムは、請求項23又は24のプログラムにおいて、上記所定の要求は該要求の発信元のアドレス情報を含むものであり、上記コンピュータに、上記有効化動作の際に該アドレス情報を通信先情報として記憶手段に記憶させる機能をも実現させるプログラムを含み、上記要求処理機能を、上記通信先情報に係る発信元から受信した要求に対してのみ有効な応答を返す機能としたものである。
24. A program according to claim 23, wherein a request for returning a valid response to a request received from said external device via said communication means to a computer controlling a communication apparatus having communication means for communicating with an external device. The processing function and the request processing function are activated according to a predetermined trigger to activate the function of the request processing function itself, and the request is valid for the received request until the activation operation is performed. This is a program for realizing a standby setting function of setting a standby state that does not return a response.
The program according to claim 24 is the program according to claim 23, wherein the predetermined trigger is a predetermined request received from the external device.
A program according to a twenty-fifth aspect of the present invention is the program according to the twenty-third aspect or the twenty-fourth aspect, wherein the predetermined request includes address information of a source of the request. A program for realizing a function of storing information as communication destination information in a storage unit, wherein the request processing function is a function of returning a valid response only to a request received from a transmission source related to the communication destination information. Things.

この発明の通信装置、通信装置の遠隔管理システム、通信装置の制御方法によれば、必要な場合に設定を自動的に変更して外部装置との通信機能を有効にすることができるので、不要な場合には通信機能を無効にしておくことができる一方、装置を遠隔管理システムに組み込む(外部装置と通信可能にするための)操作を極めて容易に行うことができる。
また、この発明のプログラムによれば、コンピュータに通信装置を制御させてこのような通信装置の動作と機能を実現し、同様な効果を得ることができる。
ADVANTAGE OF THE INVENTION According to the communication apparatus, the remote management system of the communication apparatus, and the control method of the communication apparatus of the present invention, the setting can be automatically changed when necessary and the communication function with the external apparatus can be enabled, so that it is unnecessary In such a case, the communication function can be disabled, while the operation of incorporating the device into the remote management system (to enable communication with an external device) can be performed extremely easily.
Further, according to the program of the present invention, the operation and function of such a communication device can be realized by causing a computer to control the communication device, and the same effect can be obtained.

以下、この発明を実施するための最良の形態を図面に基づいて具体的に説明する。
まず、この発明による通信装置を被管理装置とする遠隔管理システムの構成例について説明する。
図1は、その遠隔管理システムの構成の一例を示す概念図である。なお、ここでは、通信機能を持ち、管理装置によって管理される通信装置(電子装置)を説明の便宜上「被管理装置」と云う。
Hereinafter, the best mode for carrying out the present invention will be specifically described with reference to the drawings.
First, a configuration example of a remote management system using a communication device according to the present invention as a managed device will be described.
FIG. 1 is a conceptual diagram showing an example of the configuration of the remote management system. Here, a communication device (electronic device) having a communication function and managed by the management device is referred to as a “managed device” for convenience of description.

この遠隔管理システムは、プリンタ,FAX装置,デジタル複写機,デジタル複合機等の画像形成装置やスキャナ装置を含む画像処理装置、ネットワーク家電,自動販売機,医療機器,電源装置,空調システム,ガス・水道・電気等の計量システム等に通信機能を持たせた電子装置を被管理装置10(10a,10b,10c,10d,10e,10f)とする管理システムである。そして、この被管理装置10と接続される(被管理装置側から見た)外部装置として、被管理装置10とLAN(ローカルエリアネットワーク)等のネットワークによって接続された遠隔管理仲介装置である仲介装置101(101a,101b,101c)、更に仲介装置101とインタネット103を介して接続されるサーバ装置として機能する管理装置102を備え、当該管理装置102が、仲介装置101を介して各被管理装置10を集中的に遠隔管理できるようにしたものである。被管理装置10および仲介装置101は機器利用者(ユーザ)側のオフィス等に、管理装置102はサービスセンタ(管理センタ)にそれぞれ設置されている。   This remote management system includes image forming apparatuses such as printers, fax machines, digital copiers, and digital multifunction peripherals, image processing apparatuses including scanners, network home appliances, vending machines, medical equipment, power supplies, air conditioning systems, gas This is a management system in which an electronic device having a communication function in a weighing system such as a water supply system or an electric system is a managed device 10 (10a, 10b, 10c, 10d, 10e, 10f). As an external device connected to the managed device 10 (as viewed from the managed device side), an intermediary device which is a remote management intermediary device connected to the managed device 10 by a network such as a LAN (local area network). 101 (101a, 101b, 101c), and a management device 102 that functions as a server device connected to the mediation device 101 via the Internet 103. The management device 102 is connected to each managed device 10 via the mediation device 101. Can be centrally managed remotely. The managed device 10 and the mediation device 101 are installed in an office or the like on the device user (user) side, and the management device 102 is installed in a service center (management center).

ここで、管理装置102が新たな方式を用いて遠隔管理するサービス(NRS)を実現するために、機器利用者側のLAN等のネットワークに、NRSに対応するソフトウェアを実装した仲介装置101および被管理装置10が接続されている。その仲介装置101および被管理装置10には、管理装置102が従来の方式を用いて遠隔管理するサービス(CSS)も実現するために、CSSに対応するソフトウェアも実装している。NRSを実現するためには、CSSを実現する場合と同様に、仲介装置101および被管理装置10を初期設置すればよい。なお、公衆回線の代わりに、専用回線を用いてもよい。
公衆回線(又は専用回線)としては、アナログ回線,ADSL回線,デジタル回線(ISDN回線),光ファイバー利用回線等の固定電話回線や、携帯電話回線,PHS回線等の移動電話回線がある。
Here, in order to realize a service (NRS) that is managed remotely by the management apparatus 102 using a new method, the mediation apparatus 101 and software that support NRS are installed in a network such as a LAN on the device user side. The management device 10 is connected. The mediation device 101 and the managed device 10 are also equipped with CSS-compatible software in order to realize a service (CSS) that is managed remotely by the management device 102 using a conventional method. In order to realize NRS, the mediation device 101 and the managed device 10 may be initially installed as in the case of realizing CSS. Note that a dedicated line may be used instead of the public line.
As a public line (or a dedicated line), there are a fixed telephone line such as an analog line, an ADSL line, a digital line (ISDN line) and a line using an optical fiber, and a mobile telephone line such as a mobile telephone line and a PHS line.

なお、仲介装置101と被管理装置10との接続は、ネットワークに限らず、RS−485規格等に準拠したシリアル接続や、SCSI(Small Computer System Interface)規格等に準拠したパラレル接続等によって行ってもよい。例えば、RS−485規格の場合には、仲介装置101に直列に5台までの被管理装置10を接続することができる。
また、当該仲介装置101および被管理装置10は、その利用環境に応じて多様な階層構造を成す。
The connection between the mediation device 101 and the managed device 10 is not limited to a network, but may be performed by a serial connection conforming to the RS-485 standard or the like, a parallel connection conforming to the SCSI (Small Computer System Interface) standard, or the like. Is also good. For example, in the case of the RS-485 standard, up to five managed devices 10 can be connected to the mediation device 101 in series.
Further, the mediation device 101 and the managed device 10 form various hierarchical structures according to the usage environment.

例えば、図1に示す設置環境Aでは、管理装置102とHTTP(hyper text transfer protocol)による直接的なコネクションを確立できる仲介装置101aが被管理装置10aおよび10bを従える単純な階層構造になっているが、同図に示す設置環境Bでは、4台の被管理装置10を設置するため、1台の仲介装置101を設置しただけでは負荷が大きくなる。そのため、管理装置102とHTTPによる直接的なコネクションを確立できる仲介装置101bが、被管理装置10cおよび10dだけでなく、他の仲介装置101cを従え、この仲介装置101cが被管理装置10eおよび10fを更に従えるという階層構造を形成している。この場合、被管理装置10eおよび10fを遠隔管理するために管理装置102から発せられた情報は、仲介装置101bとその下位のノードである仲介装置101cとを経由して、被管理装置10e又は10fに到達することになる。   For example, in the installation environment A shown in FIG. 1, the mediation device 101a that can establish a direct connection with the management device 102 by HTTP (hyper text transfer protocol) has a simple hierarchical structure in which the managed devices 10a and 10b follow. However, in the installation environment B shown in the figure, since four managed devices 10 are installed, the load becomes large if only one intermediary device 101 is installed. Therefore, the mediation device 101b that can establish a direct connection with the management device 102 by HTTP follows not only the managed devices 10c and 10d but also another mediation device 101c, and the mediation device 101c manages the managed devices 10e and 10f. It forms a hierarchical structure that can be further followed. In this case, information issued from the management device 102 for remotely managing the managed devices 10e and 10f is transmitted to the managed device 10e or 10f via the mediation device 101b and the mediation device 101c which is a lower node thereof. Will be reached.

また、設置環境Cのように、被管理装置10に仲介装置101の機能を併せ持たせた仲介機能付被管理装置(以下単に「被管理装置」ともいう)11a,11bを、別途仲介装置を介さずにインタネット103によって管理装置102に接続するようにしてもよい。
図示はしていないが、仲介機能付被管理装置11の下位に更に被管理装置10を接続することもできる。
なお、各設置環境A,B,Cには、セキュリティ面を考慮し、ファイアウォール104(104a,104b,104c)を設置する。このファイアウォール104は、プロキシサーバによって構成する。
また、各被管理装置10,11に、ネットワーク経由でパーソナルコンピュータ等の端末装置や他の電子装置(外部装置)を接続することもできる。
Further, as in the installation environment C, managed devices with mediation function (hereinafter, also referred to simply as “managed devices”) 11a and 11b in which the managed device 10 also has the function of the mediation device 101 are separately provided as mediation devices. The connection to the management device 102 may be made via the Internet 103 without intervention.
Although not shown, the managed device 10 can be further connected to the managed device 11 having the mediation function.
In each of the installation environments A, B, and C, a firewall 104 (104a, 104b, 104c) is installed in consideration of security. This firewall 104 is configured by a proxy server.
Further, a terminal device such as a personal computer or another electronic device (external device) can be connected to each of the managed devices 10 and 11 via a network.

このような遠隔管理システムにおいて、仲介装置101は、これに接続された被管理装置10の制御管理のためのアプリケーションプログラムを実装している。
管理装置102は、各仲介装置101の制御管理、更にはこの仲介装置101を介した被管理装置10の制御管理を行うためのアプリケーションプログラムを実装している。そして、被管理装置10も含め、この遠隔管理システムにおけるこれら各ノードは、RPC(remote procedure call)により、相互の実装するアプリケーションプログラムのメソッドに対する処理の依頼である「要求」を送信し、この依頼された処理の結果である「応答」を取得することができるようになっている。
In such a remote management system, the mediation apparatus 101 has an application program for controlling and managing the managed apparatus 10 connected thereto.
The management device 102 is installed with an application program for performing control management of each mediation device 101 and control management of the managed device 10 via the mediation device 101. Each of the nodes in the remote management system, including the managed device 10, transmits a "request" which is a request for processing to a method of an application program to be mounted by RPC (remote procedure call). "Response" as a result of the performed processing can be obtained.

すなわち、仲介装置101又はこれと接続された被管理装置10では、管理装置102への要求を生成してこれを管理装置102へ引き渡し、この要求に対する応答を取得できる一方で、管理装置102は、上記仲介装置101側への要求を生成してこれを仲介装置101側へ引き渡し、この要求に対する応答を取得できるようになっている。この要求には、仲介装置101に被管理装置10に対して各種要求を送信させ、被管理装置10からの応答を仲介装置101を介して取得することも含まれる。
なお、RPCを実現するために、SOAP(Simple Object Access Protocol),HTTP,FTP(File Transfer Protocol),COM(Component Object Model),CORBA(Common Object Request Broker Architecture)等の既知のプロトコル(通信規格),技術,仕様などを利用することができる。
That is, the mediation device 101 or the managed device 10 connected thereto can generate a request to the management device 102, pass it to the management device 102, and obtain a response to the request, while the management device 102 A request to the mediation device 101 is generated and delivered to the mediation device 101, and a response to the request can be obtained. This request includes causing the mediation device 101 to transmit various requests to the managed device 10 and acquiring a response from the managed device 10 via the mediation device 101.
To realize RPC, a known protocol (communication standard) such as SOAP (Simple Object Access Protocol), HTTP, FTP (File Transfer Protocol), COM (Component Object Model), CORBA (Common Object Request Broker Architecture), and the like. , Technology, specifications, etc. can be used.

この送受信のデータ送受モデルを図2の概念図に示す。なお、この図においては、ファイアウォール104の存在は考慮していない。
(A)は、被管理装置10で管理装置102に対する要求が発生したケースである。このケースでは、被管理装置10が被管理装置側要求aを生成し、これを仲介装置101を経由して受け取った管理装置102がこの要求に対する応答aを返すというモデルになる。同図に示す仲介装置101は複数であるケースも想定できる(上記図1に示す設置環境B)。なお、(A)では、応答aだけでなく応答遅延通知a′を返信するケースが表記されている。これは、管理装置102を、仲介装置101を経由して被管理装置側要求を受け取って、当該要求に対する応答を即座に返せないと判断したときには、応答遅延通知を通知して一旦接続状態を切断し、次回の接続の際に上記要求に対する応答を改めて引き渡す構成としているためである。
The data transmission / reception model of this transmission / reception is shown in the conceptual diagram of FIG. In this figure, the existence of the firewall 104 is not considered.
(A) is a case where a request to the management device 102 has occurred in the managed device 10. In this case, the managed device 10 generates a managed device-side request a, and the management device 102 that has received the request a via the intermediary device 101 returns a response a to the request. It can be assumed that there are a plurality of mediation devices 101 shown in FIG. (A) shows a case in which not only the response a but also the response delay notification a 'is returned. This is because when the management device 102 receives a request from the managed device via the mediation device 101 and determines that a response to the request cannot be returned immediately, it notifies the response delay notification and disconnects the connection once. However, this is because a response to the above-mentioned request is newly delivered at the time of the next connection.

(B)は、管理装置102で被管理装置10に対する要求が発生したケースである。このケースでは、管理装置102が管理装置側要求bを生成し、これを仲介装置101を経由して受け取った被管理装置10が、当該要求に対する応答bを返すというモデルになっている。なお、(B)のケースでも、応答を即座に返せないときに応答遅延通知b′を返すことは(A)のケースと同様である。   (B) is a case where a request for the managed device 10 has occurred in the management device 102. In this case, the management device 102 generates a management device-side request b, and the managed device 10 that has received the request b via the mediation device 101 returns a response b to the request. In the case of (B), returning the response delay notification b 'when the response cannot be returned immediately is the same as the case of (A).

次に、図1に示す管理装置102の物理的構成について簡単に説明すると、当該管理装置102は、CPU,ROM,RAM等からなる制御装置や、データベース,モデム,プロキシ(Proxy)サーバ等によって構成されている。その構成については、追って詳細に説明する。
さらに、図1に示す仲介装置101における物理的構成について簡単に説明すると、当該仲介装置101は、CPU,ROM,RAM,不揮発性メモリ,PHY(物理メディアインタフェース)等によって構成されている。その構成については、追って詳細に説明する。
また、仲介機能付被管理装置11については、仲介装置101の機能を実現するためにこれらのユニットを単に被管理装置10に付加しても良いが、被管理装置10に備えるCPU,ROM,RAM等のハードウェア資源を利用し、CPUに適当なアプリケーションやプログラムモジュールを実行させることによって仲介装置101の機能を実現することもできる。
Next, the physical configuration of the management device 102 shown in FIG. 1 will be briefly described. The management device 102 is configured by a control device including a CPU, a ROM, a RAM, and the like, a database, a modem, a proxy (Proxy) server, and the like. Have been. The configuration will be described later in detail.
Further, the physical configuration of the intermediary device 101 shown in FIG. 1 will be briefly described. The configuration will be described later in detail.
In the managed device 11 with the mediation function, these units may be simply added to the managed device 10 in order to realize the function of the mediation device 101, but the CPU, ROM, and RAM provided in the managed device 10 The functions of the intermediary device 101 can also be realized by making the CPU execute an appropriate application or program module using hardware resources such as.

以下、図1に示した遠隔管理システムのより具体的な例として、この発明による通信装置である画像形成装置を被管理装置とする遠隔管理システムである画像形成装置管理システムについて説明する。図3は、その画像形成装置管理システムの構成の一例を示す概念図であるが、被管理装置10を画像形成装置100に、仲介機能付被管理装置11を仲介機能付画像形成装置(以下単に「画像形成装置」ともいう)110に変更した点が図1と相違するのみであるので、システムの全体構成についての説明は省略する。
画像形成装置100は、コピー,ファクシミリ,スキャナ等の機能および外部装置と通信を行う機能を備えたデジタル複合機であり、それらの機能に係るサービスを提供するためのアプリケーションプログラムを実装しているものである。また、仲介機能付画像形成装置110は、画像形成装置100に仲介装置101の機能を併せ持たせたものである。
Hereinafter, as a more specific example of the remote management system shown in FIG. 1, an image forming apparatus management system which is a remote management system in which an image forming apparatus which is a communication apparatus according to the present invention is a managed apparatus will be described. FIG. 3 is a conceptual diagram illustrating an example of the configuration of the image forming apparatus management system. The only difference from FIG. 1 is that it has been changed to “image forming apparatus” 110, and a description of the overall configuration of the system will be omitted.
The image forming apparatus 100 is a digital multifunction peripheral having functions such as copying, facsimile, and scanner, and a function of communicating with an external device, and has an application program for providing a service related to those functions. It is. Further, the image forming apparatus with mediation function 110 is obtained by adding the function of the mediation apparatus 101 to the image forming apparatus 100.

このような画像形成装置100(又は110)の物理的構成について図4を用いて説明する。
図4は、画像形成装置100内の物理的構成の一例を示すブロック図である。同図に示すように、画像形成装置100は、コントローラボード200,HDD(ハードディスクドライブ)201,NV−RAM(不揮発性RAM)202,PI(パーソナルインタフェース)ボード203,PHY(物理メディアインタフェース)204,操作パネル205,プロッタ/スキャナエンジンボード206,電源ユニット207,フィニッシャ208,ADF(自動原稿給送装置)209,給紙バンク210,その他周辺機211を備えている。これらのユニットは、それぞれがこの画像形成装置100におけるハードウェア資源である。
The physical configuration of such an image forming apparatus 100 (or 110) will be described with reference to FIG.
FIG. 4 is a block diagram illustrating an example of a physical configuration in the image forming apparatus 100. As shown in FIG. 1, the image forming apparatus 100 includes a controller board 200, an HDD (hard disk drive) 201, an NV-RAM (non-volatile RAM) 202, a PI (personal interface) board 203, a PHY (physical media interface) 204, An operation panel 205, a plotter / scanner engine board 206, a power supply unit 207, a finisher 208, an ADF (automatic document feeder) 209, a paper feed bank 210, and other peripheral devices 211 are provided. Each of these units is a hardware resource in the image forming apparatus 100.

ここで、コントローラボード200は、制御手段に該当し、CPU,ROM,RAM等を備え、PCI−BUS(Peripheral Components Interconnect-Bus)212を介して各機能を制御している。また、HDD201は、記憶手段に該当する。また、NV−RAM202は、記憶手段に該当する不揮発性メモリであって、例えばフラッシュメモリ等が該当する。
また、PIボード203とPHY204は、通信手段に該当し、外部との通信を行うためのものであって、例えば通信ボード等が該当する。PIボード203はRS485規格に準拠したインタフェースを備え、ラインアダプタを介して公衆回線に接続している。なお、上述したように、このPIボード203を用いて画像形成装置100と仲介装置101とを接続することも可能である。PHY204は、ネットワークを介して外部装置と通信を行うためのインタフェースである。
Here, the controller board 200 corresponds to a control unit, includes a CPU, a ROM, a RAM, and the like, and controls each function via a PCI-BUS (Peripheral Components Interconnect-Bus) 212. The HDD 201 corresponds to a storage unit. The NV-RAM 202 is a non-volatile memory corresponding to a storage unit, such as a flash memory.
The PI board 203 and the PHY 204 correspond to communication means and perform communication with the outside, and correspond to, for example, a communication board. The PI board 203 has an interface conforming to the RS485 standard, and is connected to a public line via a line adapter. As described above, the image forming apparatus 100 and the intermediary apparatus 101 can be connected using the PI board 203. The PHY 204 is an interface for communicating with an external device via a network.

ここで、同図中のENGRDYは、エンジンユニット側の各種初期設定が完了して、コントローラボード200とコマンドの送受信の準備ができたことをコントローラボード200側に通知するための信号線である。また、PWRCTLは、エンジンユニットへの電源供給をコントローラボード200側から制御するための信号線である。これら信号線の動作に関しては後述する。
また、操作パネル205は、ユーザの操作により各種指示を入力する操作部、および画像形成装置100の設定状態や動作状態などを表示する表示部とからなる。
Here, ENGRDY in the figure is a signal line for notifying the controller board 200 that various initial settings on the engine unit side have been completed and preparation for transmission and reception of commands with the controller board 200 has been completed. PWRCTL is a signal line for controlling power supply to the engine unit from the controller board 200 side. The operation of these signal lines will be described later.
The operation panel 205 includes an operation unit for inputting various instructions by a user's operation, and a display unit for displaying a setting state and an operation state of the image forming apparatus 100.

次に、画像形成装置100(又は110)のソフトウェア構成を図5を参照して説明する。
図5は、画像形成装置100のソフトウェア構成の一例を示すブロック図である。
この画像形成装置100のソフトウェア構成は、アプリケーションモジュール層,サービスモジュール層,汎用OS層からなる。そして、これらのソフトウェアを構成するプログラムはHDD201やコントローラボード200上のRAMに記憶され、必要に応じて読み出されてコントローラボード200上のCPUによって実行される。そして、そのCPUは、これらのプログラムを必要に応じて実行することにより、この発明による各機能を実現することができる。
Next, a software configuration of the image forming apparatus 100 (or 110) will be described with reference to FIG.
FIG. 5 is a block diagram illustrating an example of a software configuration of the image forming apparatus 100.
The software configuration of the image forming apparatus 100 includes an application module layer, a service module layer, and a general-purpose OS layer. Then, programs constituting these software are stored in the HDD 201 or the RAM on the controller board 200, read out as necessary, and executed by the CPU on the controller board 200. Then, the CPU executes these programs as needed, thereby realizing each function according to the present invention.

アプリケーションモジュール層のソフトウェアは、CPUを、ハードウェア資源を動作させて所定の機能を実現させる複数のアプリケーション制御手段(処理実行手段)として機能させるためのプログラムによって構成され、サービスモジュール層のソフトウェアは、CPUを、ハードウェア資源と各アプリケーション制御手段との間に介在し、複数のアプリケーション制御手段からのハードウェア資源に対する動作要求の受付,その動作要求の調停,およびその動作要求に基づく動作の実行制御を行うサービス制御手段(処理実行手段)として機能させるためのプログラムによって構成される。   The software of the application module layer is constituted by a program for causing the CPU to function as a plurality of application control means (processing executing means) for realizing a predetermined function by operating hardware resources. A CPU is interposed between a hardware resource and each application control means, accepts operation requests for hardware resources from a plurality of application control means, arbitrates the operation requests, and controls execution of operations based on the operation requests. And a program for functioning as a service control unit (processing execution unit) that performs the processing.

なお、それらの機能のうち、管理装置102との通信に係わる機能(通信手段としての機能)の実現方法は、画像形成装置100と画像形成装置110とによって異なる。つまり、画像形成装置110の場合は、仲介装置101の機能を備えているため、CPUが対応するプログラムを実行することにより、管理装置102との通信に係わる機能を実現することができる。画像形成装置100の場合には、CPUが対応するプログラムを実行すると共に、仲介装置101を利用することにより、管理装置102との通信に係わる機能を実現することができる。
また、画像形成装置100は、スキャナエンジンおよびプロッタエンジンを含むエンジンユニット内にセンサ等からなる事象検出手段)を備えている。この事象検出手段により、異常等の事象を検出できる。
Note that, among these functions, a method of realizing a function related to communication with the management apparatus 102 (function as a communication unit) differs depending on the image forming apparatus 100 and the image forming apparatus 110. That is, in the case of the image forming apparatus 110, since the function of the mediation apparatus 101 is provided, the function related to communication with the management apparatus 102 can be realized by the CPU executing the corresponding program. In the case of the image forming apparatus 100, a function related to communication with the management apparatus 102 can be realized by executing the corresponding program by the CPU and using the mediation apparatus 101.
Further, the image forming apparatus 100 includes an event detection unit including a sensor or the like in an engine unit including a scanner engine and a plotter engine. This event detection means can detect an event such as an abnormality.

サービスモジュール層には、オペレーションコントロールサービス(OCS)300、エンジンコントロールサービス(ECS)301、メモリコントロールサービス(MCS)302、ネットワークコントロールサービス(NCS)303、ファクスコントロールサービス(FCS)304、システムコントロールサービス(SCS)306、システムリソースマネージャ(SRM)307、イメージメモリハンドラ(IMH)308、デリバリーコントロールサービス(DCS)316、ユーザコントロールサービス(UCS)317を実装している。また、アプリケーションモジュール層には、NRSアプリ(以下単に「NRS」という)305、CSSアプリ(以下単に「CSS」という)315、コピーアプリ309、ファクスアプリ310、プリンタアプリ311、スキャナアプリ312、ネットファイルアプリ313、ウェブアプリ314を実装している。更に、汎用OS層には、汎用OS320を実装している。   The service module layer includes an operation control service (OCS) 300, an engine control service (ECS) 301, a memory control service (MCS) 302, a network control service (NCS) 303, a fax control service (FCS) 304, and a system control service ( SCS) 306, system resource manager (SRM) 307, image memory handler (IMH) 308, delivery control service (DCS) 316, and user control service (UCS) 317. In the application module layer, an NRS application (hereinafter simply referred to as “NRS”) 305, a CSS application (hereinafter simply referred to as “CSS”) 315, a copy application 309, a fax application 310, a printer application 311, a scanner application 312, a network file An application 313 and a web application 314 are mounted. Further, a general-purpose OS 320 is mounted on the general-purpose OS layer.

これらを更に詳述する。
OCS300は、操作パネル205を制御するモジュールである。
ECS301は、ハードウェアリソース等のエンジンユニットを制御するモジュールである。
MCS302は、メモリ制御をするモジュールであり、例えば、画像メモリの取得および開放、HDD201の利用等を行う。
NCS303は、ネットワークとアプリケーションモジュール層の各アプリケーションプログラムとの仲介処理を行わせるモジュールである。
FCS304は、ファクシミリ送受信、ファクシミリ読み取り、ファクシミリ受信印刷等を行うモジュールである。
These will be described in more detail.
The OCS 300 is a module that controls the operation panel 205.
The ECS 301 is a module that controls an engine unit such as a hardware resource.
The MCS 302 is a module that performs memory control, and acquires and releases an image memory, uses the HDD 201, and the like, for example.
The NCS 303 is a module that performs mediation processing between the network and each application program in the application module layer.
The FCS 304 is a module that performs facsimile transmission / reception, facsimile reading, facsimile reception printing, and the like.

SCS306は、コマンドの内容に応じたアプリケーションモジュール層の各アプリケーションプログラムの起動管理および終了管理を行うモジュールである。
SRM307は、システムの制御およびリソースの管理を行うモジュールである。
IMH308は、一時的に画像データを入れておくメモリを管理するモジュールである。
DCS316は、HDD201やコントローラボード200上のメモリに記憶している(する)画像ファイル等をSMTP(Simple Mail Transfer Protocol)やFTP(File Transfer Protocol)を用いて送受信するモジュールである。
UCS317は、ユーザ(機器利用者)が登録した宛先情報や宛名情報等のユーザ情報を管理するモジュールである。
The SCS 306 is a module that performs start management and end management of each application program in the application module layer according to the content of the command.
The SRM 307 is a module that controls a system and manages resources.
The IMH 308 is a module for managing a memory for temporarily storing image data.
The DCS 316 is a module that transmits and receives image files and the like stored in the HDD 201 and the memory on the controller board 200 using Simple Mail Transfer Protocol (SMTP) or File Transfer Protocol (FTP).
The UCS 317 is a module that manages user information such as destination information and address information registered by a user (device user).

NRS305およびCSS315はそれぞれ、互いに異なる方式による遠隔管理に関する機能(管理装置102との通信に係わる機能)をまとめたモジュールである。
コピーアプリ309は、コピーサービスを実現するためのアプリケーションプログラムである。
ファクスアプリ310は、ファクスサービスを実現するためのアプリケーションプログラムである。
Each of the NRS 305 and the CSS 315 is a module that integrates functions related to remote management (functions related to communication with the management apparatus 102) using different methods.
The copy application 309 is an application program for implementing a copy service.
The fax application 310 is an application program for implementing a fax service.

プリンタアプリ311は、プリンタサービスを実現するためのアプリケーションプログラムである。
スキャナアプリ312は、スキャナサービスを実現するためのアプリケーションプログラムである。
ネットファイルアプリ313は、ネットファイルサービスを実現するためのアプリケーションプログラムである。
ウェブアプリ314は、ウェブサービスを実現するためのアプリケーションプログラムである。
汎用OS320は、UNIX(登録商標),Linux(登録商標),Windows(登録商標)等のオペレーティングシステムを使用することができる。オペレーティングシステムは、サービスモジュール層やアプリケーションモジュール層のプログラムなどを実行させる処理を司る。ここで、UNIXやLinuxを用いれば、オープンソースゆえの安全性が担保され、ソースコード入手の容易性などの利点がある。
The printer application 311 is an application program for implementing a printer service.
The scanner application 312 is an application program for implementing a scanner service.
The net file application 313 is an application program for implementing a net file service.
The web application 314 is an application program for implementing a web service.
The general-purpose OS 320 can use an operating system such as UNIX (registered trademark), Linux (registered trademark), or Windows (registered trademark). The operating system manages processing for executing programs in the service module layer and the application module layer. Here, if UNIX or Linux is used, security due to open source is secured and there are advantages such as easy availability of source code.

ここで、上述したENGRDY信号とPWRCTL信号との動作について図6を用いて説明する。
図6の(A)は機器の立ち上がり時のENGRDY信号とPWRCTL信号の動作の一例を示している。主電源スイッチ(AC−POWER−SW)のONにより、AC−POWER(AC100V)の電源部から電源ユニット(主電源)207へ給電される(AC電源がONになる)と、電源ユニット207がON状態になり、電源ユニット207からコントローラボード200を含む装置全体への給電が開始され、これと同時にENGRDY信号はHighになる。この状態ではエンジンユニット側との通信はできない。なぜなら、エンジンユニット側の初期設定が完了していないからである。そして、一定期間経過後にエンジンユニット側の初期設定が完了し、ENGRDY信号がLowになった段階でエンジンユニット側との通信が可能となる。
Here, the operation of the above-described ENGRDY signal and PWRCTL signal will be described with reference to FIG.
FIG. 6A shows an example of the operation of the ENGRDY signal and the PWRCTL signal when the device starts up. When the main power switch (AC-POWER-SW) is turned on, power is supplied from the power supply unit of AC-POWER (AC 100 V) to the power supply unit (main power supply) 207 (AC power is turned on), and the power supply unit 207 is turned on. In this state, the power supply from the power supply unit 207 to the entire device including the controller board 200 is started, and at the same time, the ENGDY signal goes high. In this state, communication with the engine unit cannot be performed. This is because the initial setting of the engine unit has not been completed. Then, after a certain period of time, the initialization of the engine unit is completed, and communication with the engine unit becomes possible when the ENGRDY signal becomes low.

次に、同図(B)は省エネモードに移行した時のENGRDY信号とPWRCTL信号の動作の一例を示している。電源ユニット207がON状態の時(電源ユニット207から装置全体への給電中)に、例えば操作パネル205上の図示しないソフト電源キーの操作により、ハードユニットであるエンジンユニットへの給電停止が指示されると、省エネモードに移行するため、コントローラボード200によりPWRCTL信号をOFFにする。これと同時に、電源ユニット207からエンジンユニットへの給電が停止する。これに伴って、ENGRDY信号は、Highとなり省エネモードに移行する。次に、省エネモードから復帰する場合を同図(C)に示す。   Next, FIG. 6B shows an example of the operation of the ENGDY signal and the PWRCTL signal when the mode shifts to the energy saving mode. When the power supply unit 207 is in the ON state (during power supply from the power supply unit 207 to the entire apparatus), for example, an operation of a software power key (not shown) on the operation panel 205 is instructed to stop power supply to the engine unit which is a hard unit. Then, in order to shift to the energy saving mode, the PWRCTL signal is turned off by the controller board 200. At the same time, the power supply from the power supply unit 207 to the engine unit stops. Along with this, the ENGRDY signal becomes High and shifts to the energy saving mode. Next, the case of returning from the energy saving mode is shown in FIG.

同図(C)は、省エネモードから復帰する時のENGRDY信号とPWRCTL信号の動作の一例を示している。上記(B)の省エネモードから復帰する際には、例えばソフト電源キーの操作によってエンジンユニットへの給電停止の解除が指示され、コントローラボード200によりPWRCTL信号をONにする。これと同時に、電源ユニット207からエンジンユニットへの給電停止が解除される。しかし、上記の(A)で示したように、エンジンユニット側の初期設定が完了するまで、ENGRDY信号はHighの状態であり、初期設定が完了するとエンジンユニット側との通信が可能となり、Lowとなる。   FIG. 9C shows an example of the operation of the ENGDY signal and the PWRCTL signal when returning from the energy saving mode. When returning from the above energy saving mode (B), for example, an operation to release power supply to the engine unit is instructed by operating a soft power key, and the PWRCTL signal is turned on by the controller board 200. At the same time, the suspension of power supply from the power supply unit 207 to the engine unit is released. However, as shown in the above (A), the ENGDY signal is in a High state until the initialization of the engine unit is completed, and when the initialization is completed, communication with the engine unit becomes possible, and the Low and the ENGDY signals are transmitted. Become.

次に、上述した画像形成装置100のソフトウェアの構成に含まれるNRSモジュールの内部構成を図7を用いて更に説明する。
図7は、NRS305の構成の一例を示す機能ブロック図である。同図に示すように、NRS305は、SCS306とNCS303との間で処理を行っている。ウェブサーバ機能部500は、外部から受信した要求に関する応答処理を行う。ここでの要求は、例えば、構造化言語であるXML(Extensible Markup Language)形式で記載された、SOAP(Simple Object Access Protocol)によるSOAPリクエストであることが考えられる。ウェブクライアント機能部501は、外部への要求を発行する処理を行う。libsoap502は、SOAPを処理するライブラリであり、libxml503は、XML形式で記載されたデータを処理するライブラリである。また、libgwww504は、HTTPを処理するライブラリであり、libgw_ncs505は、NCS303との間の処理をするライブラリである。
そして、コントローラボード200上のCPUが、このようなNRS305を実行することにより、PHY204を介して外部装置から受信した要求に対して有効な応答を返す要求処理手段や、外部への要求を発行する要求発行手段、有効化動作を行うまでは受信した要求に対して有効な応答を返さない待機状態に設定する待機設定手段、アドレス情報を通信先情報として記憶手段に記憶させる通信先情報記憶手段としての機能を実現する。
Next, the internal configuration of the NRS module included in the software configuration of the image forming apparatus 100 will be further described with reference to FIG.
FIG. 7 is a functional block diagram illustrating an example of the configuration of the NRS 305. As shown in the drawing, the NRS 305 performs processing between the SCS 306 and the NCS 303. The web server function unit 500 performs a response process for a request received from the outside. The request here may be, for example, a SOAP request according to a Simple Object Access Protocol (SOAP) described in an XML (Extensible Markup Language) format which is a structured language. The web client function unit 501 performs a process of issuing an external request. A libsoap 502 is a library for processing SOAP, and a libxml 503 is a library for processing data described in XML format. Further, libgwww 504 is a library that processes HTTP, and libgw_ncs 505 is a library that performs processing with the NCS 303.
The CPU on the controller board 200 executes the NRS 305 to issue request processing means for returning a valid response to a request received from an external device via the PHY 204, or to issue a request to the outside. Request issuing means, standby setting means for setting a standby state in which a valid response is not returned to a received request until an activation operation is performed, and communication destination information storage means for storing address information as communication destination information in a storage means. Implement the function of

次に、仲介装置101の物理的構成について、図8を参照して説明する。
図8は、仲介装置101のハードウェア構成例を示すブロック図である。
この仲介装置101は、上述したように、機器利用者のオフィス等に設置されるものであり、CPU52,SDRAM53,フラッシュメモリ54(不揮発性メモリ),内部時計(リアルタイムクロック回路)55,Op−Port(操作部接続ポート)56,PHY57,モデム58,HDD制御部59,拡張I/F60,RS232I/F61,RS485I/F62,HDD63等を備えている。そして、この仲介装置101はPHY57を介してネットワーク上のCE端末105や画像形成装置100と接続される。また、RS232I/F61およびRS485I/F62を介しても画像形成装置100と接続可能であるが、ここではこのI/Fは使用しないものとする。なお、SDRAM53の代わりに、DRAMやSRAMを使用してもよい。また、フラッシュメモリ54の代わりに、EEPROM等の他の不揮発性メモリを使用してもよい。
Next, the physical configuration of the mediation device 101 will be described with reference to FIG.
FIG. 8 is a block diagram illustrating a hardware configuration example of the mediation apparatus 101.
As described above, the mediation device 101 is installed in the office of a device user or the like, and includes a CPU 52, an SDRAM 53, a flash memory 54 (non-volatile memory), an internal clock (real-time clock circuit) 55, and an Op-Port. (Operation unit connection port) 56, PHY 57, modem 58, HDD control unit 59, extended I / F 60, RS232 I / F61, RS485 I / F62, HDD63 and the like. The mediation device 101 is connected to the CE terminal 105 and the image forming apparatus 100 on the network via the PHY 57. The image forming apparatus 100 can be connected via the RS232 I / F61 and the RS485 I / F62, but this interface is not used here. Note that a DRAM or an SRAM may be used instead of the SDRAM 53. Further, instead of the flash memory 54, another nonvolatile memory such as an EEPROM may be used.

次に、仲介装置101のソフトウェア構成を図9を用いて説明する。
図9は、仲介装置101のソフトウェア構成の一例を示すブロック図である。
この図9に示すように、仲介装置101におけるソフトウェアは、アプリケーション層70,サービス層80,プロトコル層90の3層からなっている。そして、これらのソフトウェアを構成するプログラムは記憶手段であるHDD63やSDRAM53、あるいはフラッシュメモリ54上に記憶され、必要に応じて読み出されてCPU52によって実行される。そしてCPU52は、これらのプログラムを必要に応じて実行し、装置の制御を行うことにより、この発明による機能(要求送信手段,送信要求有無問合手段としての機能)を実現することができる。
Next, the software configuration of the mediation apparatus 101 will be described with reference to FIG.
FIG. 9 is a block diagram illustrating an example of a software configuration of the mediation apparatus 101.
As shown in FIG. 9, the software in the mediation apparatus 101 is composed of three layers: an application layer 70, a service layer 80, and a protocol layer 90. Then, programs constituting these software are stored in the HDD 63, the SDRAM 53, or the flash memory 54 as storage means, read out as necessary, and executed by the CPU 52. Then, the CPU 52 executes these programs as necessary and controls the apparatus, thereby realizing the functions according to the present invention (functions as request transmission means and transmission request presence / absence inquiry means).

このソフトウェアにおいて、アプリケーション層70は、デバイスコントロールメソッド群71とNRSアプリケーションメソッド群72とを有する。
そして、デバイスコントロールメソッド群71は、管理対象情報設定,機器設定,ファームウェアアップデート,ポーリング設定変更,ログ出力,起動処理の各メソッドを備え、この発明の特徴に係る処理を始め、被管理装置である画像形成装置100の情報管理や通信の設定等を行うためのプログラムである。
NRSアプリケーションメソッド群72は、ログ収集,ファームウェアダウンロード,機器コマンド実行,機器設定変更,サプライ通知,異常通知,デバイス起動/導入,デバイス生死確認の各メソッドを備え、画像形成装置100からの種々の通知や要求に対応したり、管理装置102からの要求に従って画像形成装置100に動作を行わせたりするためのプログラムである。
In this software, the application layer 70 has a device control method group 71 and an NRS application method group 72.
The device control method group 71 includes methods of management target information setting, device setting, firmware update, polling setting change, log output, and start-up processing, and starts processing according to the features of the present invention and is a managed device. This is a program for performing information management, communication settings, and the like of the image forming apparatus 100.
The NRS application method group 72 includes methods of log collection, firmware download, device command execution, device setting change, supply notification, abnormality notification, device activation / deployment, device life / death confirmation, and various notifications from the image forming apparatus 100. And a program for causing the image forming apparatus 100 to perform an operation according to a request from the management apparatus 102.

次に、サービス層80には、セキュリティサービス81,対接続機器通信サービス82,対管理装置通信サービス83,スケジューラサービス84とを備えている。
そして、セキュリティサービス81は、内部情報などの外部への不正流出を予防、妨害するなどのジョブを生成・実行するモジュールである。
対接続機器通信サービス82は、仲介装置101に接続されたネットワーク接続機器との間で情報の授受を実現するため、情報取得の対象となる機器の検索、対象機器との接続管理、ファイル送受信、パラメータ管理、APL管理などのジョブを生成・実行するモジュールである。
対管理装置通信サービス83は、管理装置102との間でコマンド受信,ファイル送受信,情報要求,情報送信(情報通知)などのジョブを生成・実行するモジュールである。
Next, the service layer 80 includes a security service 81, a communication service 82 for connected devices, a communication service 83 for a management device, and a scheduler service 84.
The security service 81 is a module that generates and executes a job for preventing or preventing illegal outflow of internal information or the like to the outside.
The connection device communication service 82 is for exchanging information with the network connection device connected to the intermediary device 101, so as to search for a device for which information is to be acquired, manage connection with the target device, transmit and receive files, This module generates and executes jobs for parameter management, APL management, and the like.
The management device communication service 83 is a module that generates and executes jobs such as command reception, file transmission / reception, information request, and information transmission (information notification) with the management device 102.

スケジューラサービス84は、所定の設定時間情報に基づき、リモートコントロールアプリを展開するモジュールである。
次のプロトコル層90には、情報の送受信対象に応じたプロトコルを用いて情報の授受をおこなうジョブを生成・実行するための各メソッドを備える。つまり、ネットワークを介したネットワーク接続機器の通信環境に広く対応可能なように、SOAP(Simple Object Access Protocol)や、その下位プロトコルとして用いられるHTTP,HTTPS(Hypertext Transfer Protocol Security),FTPなどを制御可能なメソッドを有している。
The scheduler service 84 is a module that deploys a remote control application based on predetermined set time information.
The next protocol layer 90 is provided with methods for generating and executing a job for transmitting and receiving information using a protocol corresponding to an information transmission / reception target. In other words, it is possible to control SOAP (Simple Object Access Protocol), HTTP, Hypertext Transfer Protocol Security (HTTPS) used as its lower protocol, FTP, etc. so as to widely support the communication environment of the network connection device via the network. Methods.

次に、管理装置102の物理的構成について、図10を参照して説明する。
図10は、管理装置102の物理的構成の一例を示すブロック図である。
この管理装置102は、モデム601,通信端末602,プロキシ(Proxy)サーバ603,操作者端末604,データベース605,制御装置606等からなる。
モデム601は、公衆回線を介して機器利用者側(例えば画像形成装置を利用しているユーザ先)の仲介装置101(又は画像形成装置110)と通信を司るものであり、送受信するデータを変復調する。このモデム601と後述する通信端末602により通信手段としての機能を果たす。
通信端末602は、モデム601による通信を制御するものである。
公衆回線を介してラインアダプタや仲介装置101とのデータの送受信を行う。
Next, a physical configuration of the management apparatus 102 will be described with reference to FIG.
FIG. 10 is a block diagram illustrating an example of a physical configuration of the management device 102.
The management device 102 includes a modem 601, a communication terminal 602, a proxy (Proxy) server 603, an operator terminal 604, a database 605, a control device 606, and the like.
The modem 601 manages communication with the mediation device 101 (or the image forming device 110) on the device user side (for example, the user using the image forming device) via a public line, and modulates and demodulates data to be transmitted and received. I do. The modem 601 and a communication terminal 602 described later function as communication means.
The communication terminal 602 controls communication by the modem 601.
Data is transmitted and received to and from the line adapter and the mediation device 101 via the public line.

プロキシサーバ603は、インタネット103を介してユーザ(機器利用者)側の仲介装置101との通信(データ送受信)およびセキュリティ管理を行う。このプロキシサーバ603も、通信手段としての機能を果たす。
操作者端末604は、サービスセンタの管理者であるセンタオペレータが操作する端末であり、各種データの入力をセンタオペレータによるキーボードやポインティングデバイス(マウス等)等の入力部上の操作により受け付けたり、センタオペレータに通知すべき情報を表示部に表示したりする。入力されるデータとしては、例えば、各ユーザ側の仲介装置101又は画像形成装置110が管理装置102へ通信する際に使用するIPアドレスや発呼先電話番号等の顧客情報がある。
The proxy server 603 performs communication (data transmission / reception) with the intermediary device 101 on the user (device user) side via the Internet 103 and security management. This proxy server 603 also functions as a communication unit.
The operator terminal 604 is a terminal operated by a center operator who is an administrator of the service center. The operator terminal 604 accepts input of various data by an operation on an input unit such as a keyboard and a pointing device (mouse or the like) by the center operator. Information to be notified to the operator is displayed on the display unit. The input data includes, for example, customer information such as an IP address and a call destination telephone number used when the mediation apparatus 101 or the image forming apparatus 110 of each user communicates with the management apparatus 102.

データベース605は、図示しないサーバのHDD(ハードディスク装置)等の記憶装置に存在し、各ユーザ側の仲介装置101および画像形成装置110のIPアドレスや電話番号、それらの装置から受信したデータ(情報)、操作者端末604から入力されたデータ、機種データベースや顧客データベース、およびこの発明に係るプログラム等の各種データを記憶する。
制御装置606は、図示しないCPU,ROM,RAM等からなるマイクロコンピュータを備えており、管理装置102全体を統括的に制御する。そのCPUが、上記プログラムを必要に応じて実行すると共に、モデム601,通信端末602,プロキシサーバ603,操作者端末604,又はデータベース605を利用することにより、この発明による機能(要求送信手段としての機能)を実現することができる。
The database 605 is stored in a storage device such as a HDD (hard disk device) of a server (not shown), and the IP address and telephone number of the mediation device 101 and the image forming device 110 on each user side, and data (information) received from those devices. And various data such as data input from the operator terminal 604, a model database and a customer database, and a program according to the present invention.
The control device 606 includes a microcomputer including a CPU, a ROM, a RAM, and the like (not shown), and controls the entire management device 102 as a whole. The CPU executes the above-described program as needed, and uses the modem 601, the communication terminal 602, the proxy server 603, the operator terminal 604, or the database 605 to provide the function according to the present invention (as a request transmitting means). Function) can be realized.

上述した構成を踏まえて、図3の画像形成装置管理システムで行われるデータ送受信の際の通信シーケンスの一例について説明する。なお、以下に示す処理は、実際にはCPUがプログラムに従って動作することによって実行するが、説明の都合上、プログラムが処理を実行するものとする。以後も、プログラムが何らかの処理を行うものとして説明を行う場合には、同様とする。
図11は、図3に示した管理装置102,仲介装置101,および画像形成装置100間で行われるデータ送受信の際の通信シーケンスの一例を示す図である。
An example of a communication sequence at the time of data transmission / reception performed in the image forming apparatus management system of FIG. 3 based on the above-described configuration will be described. Note that the following processing is actually executed by the CPU operating according to the program, but for convenience of explanation, the program is assumed to execute the processing. Hereinafter, the same applies when the description is made assuming that the program performs some processing.
FIG. 11 is a diagram illustrating an example of a communication sequence at the time of data transmission and reception performed between the management device 102, the mediation device 101, and the image forming device 100 illustrated in FIG.

この例においては、まず、仲介装置101は、インタネット103経由で管理装置102に対してポーリング(送信要求があるかどうかの問い合わせ)を行う(S601)。つまり、自己の識別情報である識別子を付加したポーリング用のSOAPメッセージを生成し(ポーリング情報を構造化言語形式であるXML形式に変換し)、そのSOAPメッセージに基づいてHTTPメッセージ(SOAPメッセージを含むHTTPメッセージ)を生成し、それをインタネット103経由で管理装置102へ送信する。図3に示したように、仲介装置101と管理装置102との間にはファイアウォール104を設けているため、管理装置102から仲介装置101に向けて通信セッションを張ることができないので、管理装置102から仲介装置101(あるいは仲介装置101を介して画像形成装置100)に要求を送信したい場合でも、このように仲介装置101からのポーリング(送信要求があるかどうかの問い合わせ)を待つ必要があるのである。なお、ファイアウォール104がなければ、ポーリングを行う必要はない。   In this example, first, the mediation apparatus 101 performs polling (inquiry as to whether there is a transmission request) to the management apparatus 102 via the Internet 103 (S601). That is, a polling SOAP message to which an identifier that is its own identification information is added is generated (the polling information is converted into an XML format that is a structured language format), and an HTTP message (including a SOAP message) is generated based on the SOAP message. An HTTP message is generated and transmitted to the management apparatus 102 via the Internet 103. As shown in FIG. 3, since a firewall 104 is provided between the mediation device 101 and the management device 102, a communication session cannot be established from the management device 102 to the mediation device 101. Therefore, even if it is desired to transmit a request to the mediation apparatus 101 (or the image forming apparatus 100 via the mediation apparatus 101), it is necessary to wait for polling (inquiry as to whether there is a transmission request) from the mediation apparatus 101 as described above. is there. If there is no firewall 104, there is no need to perform polling.

管理装置102は、仲介装置101から上記HTTPメッセージ(HTTPリクエスト)を受信すると、課金カウンタ(カウンタ情報)取得要求を示す情報のSOAPメッセージを含むHTTPメッセージ(HTTPレスポンス)を生成し、それをインタネット103経由で該当する仲介装置101(受信したSOAPメッセージの送信元)へ、ポーリングに対する応答として送信する(S602)。このとき、受信したHTTPメッセージ内のSOAPメッセージに付加された識別子に基づいて該当する仲介装置101を認識する。このように、ファイアウォール104の内側からの通信(HTTPリクエスト)に対する応答(HTTPレスポンス)であれば、ファイアウォール104の外側から内側に対してデータを送信することができる。   Upon receiving the HTTP message (HTTP request) from the mediation device 101, the management device 102 generates an HTTP message (HTTP response) including a SOAP message of information indicating a request to acquire a charging counter (counter information), and transmits the HTTP message (HTTP response) to the Internet 103. The response is sent as a response to the polling to the corresponding mediation device 101 (the source of the received SOAP message) via (S602). At this time, the corresponding mediation apparatus 101 is recognized based on the identifier added to the SOAP message in the received HTTP message. As described above, if a response (HTTP response) to a communication (HTTP request) from inside the firewall 104, data can be transmitted from outside the firewall 104 to the inside.

仲介装置101は、管理装置102から上記HTTPメッセージを受信すると、そのHTTPメッセージに基づいて課金カウンタ取得要求を示す情報のSOAPメッセージを生成し、それをネットワーク経由で自己に接続されている画像形成装置100のNRS305へ送信する(S603)。
NRS305は、仲介装置101から受信したSOAPメッセージに記述されている課金カウンタ取得要求をSCS306へ通知する(S604)。
SCS306は、NRS305から課金カウンタ取得要求の通知を受けると、NV−RAM202(又はHDD201)に格納されている課金カウンタのデータを読み取る(S605)。そして、その読み取った課金カウンタのデータ(応答データ)をNRS305へ引き渡す(S606)。
Upon receiving the HTTP message from the management device 102, the mediation device 101 generates a SOAP message of information indicating a charging counter acquisition request based on the HTTP message, and transmits the SOAP message to the image forming apparatus connected to the image forming apparatus via the network. It transmits to the NRS 305 of S100 (S603).
The NRS 305 notifies the SCS 306 of a charging counter acquisition request described in the SOAP message received from the mediation device 101 (S604).
Upon receiving the notification of the charging counter acquisition request from the NRS 305, the SCS 306 reads the charging counter data stored in the NV-RAM 202 (or the HDD 201) (S605). Then, the read data (response data) of the charging counter is transferred to the NRS 305 (S606).

NRS305は、SCS306から課金カウンタのデータ(カウンタ値を示すカウンタ情報)を受け取る(取得する)と、そのデータのSOAPメッセージを生成し(受け取ったデータを構造化言語形式であるXML形式に変換し)、それをネットワーク経由で仲介装置101へ送信する(S607)。
仲介装置101は、NRS305から課金カウンタのデータのSOAPメッセージを受信すると、そのSOAPメッセージに基づいてHTTPメッセージを生成し、それをインタネット103経由で管理装置102へ送信する(S608)。
このように、上記通信シーケンスにより、データの送受信が行われる。
Upon receiving (acquiring) the accounting counter data (counter information indicating the counter value) from the SCS 306, the NRS 305 generates a SOAP message of the data (converts the received data into an XML format, which is a structured language format). Then, it is transmitted to the mediation apparatus 101 via the network (S607).
Upon receiving the SOAP message of the accounting counter data from the NRS 305, the mediation apparatus 101 generates an HTTP message based on the SOAP message, and transmits it to the management apparatus 102 via the Internet 103 (S608).
Thus, data transmission and reception are performed by the communication sequence.

次に、上記図11と異なり、画像形成装置100から仲介装置101を経て管理装置102へデータを送信する場合の通信シーケンスの一例について説明する。
図12は、画像形成装置100から管理装置102へデータを送信する場合の通信シーケンスの一例を示す図である。
この例においては、まず、OCS300は、操作パネル205上の図示しないユーザコールキーが押下された旨をSCS306へ通知する(S701)。
SCS306は、OCS300からユーザコールキーが押下された旨の通知を受けると、ユーザコール要求をNRS305へ通知する(S702)。
Next, an example of a communication sequence when data is transmitted from the image forming apparatus 100 to the management apparatus 102 via the intermediary apparatus 101, which is different from FIG. 11, will be described.
FIG. 12 is a diagram illustrating an example of a communication sequence when data is transmitted from the image forming apparatus 100 to the management apparatus 102.
In this example, first, the OCS 300 notifies the SCS 306 that a user call key (not shown) on the operation panel 205 has been pressed (S701).
Upon receiving the notification from the OCS 300 that the user call key has been pressed, the SCS 306 notifies the NRS 305 of a user call request (S702).

NRS305は、SCS306からユーザコール要求の通知を受けると、ユーザコールを知らせるユーザコール情報のSOAPメッセージを生成し、それをネットワーク経由で仲介装置101へ送信する(S703)。
仲介装置101は、NRS305からユーザコール情報のSOAPメッセージを受信すると、そのSOAPメッセージに自己の識別情報である識別子を付加し、更にそのSOAPメッセージに基づいてHTTPメッセージを生成し、インタネット103経由で管理装置102に対してユーザコールを行う。つまり、自己の識別子を付加したユーザコール情報のSOAPメッセージを含むHTTPメッセージをインタネット103経由で管理装置102へ通報する(S704)。この場合には、ファイアウォール104の内側から外側に向けての送信であるので、仲介装置101が自ら管理装置102に向けてセッションを張ってデータを送信することができる。
ここで、ステップS704の処理後のパターンを以下の(A)から(C)に分けて説明する。
Upon receiving the notification of the user call request from the SCS 306, the NRS 305 generates a SOAP message of user call information for notifying the user call, and transmits it to the intermediary device 101 via the network (S703).
Upon receiving the SOAP message of the user call information from the NRS 305, the mediation apparatus 101 adds an identifier, which is its own identification information, to the SOAP message, generates an HTTP message based on the SOAP message, and manages the HTTP message via the Internet 103. A user call is made to the device 102. That is, an HTTP message including the SOAP message of the user call information to which the own identifier is added is reported to the management device 102 via the Internet 103 (S704). In this case, since the transmission is performed from the inside to the outside of the firewall 104, the mediation apparatus 101 can transmit data by itself establishing a session to the management apparatus 102.
Here, the pattern after the processing in step S704 will be described separately from the following (A) to (C).

まず、(A)において、管理装置102は、ユーザ先の仲介装置101からユーザコール情報のSOAPメッセージを含むHTTPメッセージを受信し、その受信が正常に終了した場合には、その旨(ユーザコールが成功した旨)のコール結果を、正常に終了しなかった(異常に終了した)場合には、その旨(ユーザコールが失敗した旨)のコール結果を示す情報のSOAPメッセージを含むHTTPメッセージを生成し、それを応答としてインタネット103経由で通報元の仲介装置101へ送信する(S705)。
仲介装置101は、管理装置102からコール結果を示す情報のSOAPメッセージを含むHTTPメッセージを受信すると、そのHTTPメッセージに基づいてコール結果を示す情報のSOAPメッセージを生成し、それをネットワーク経由でユーザコールキーが押下された画像形成装置100のNRS305へ送信する(S706)。
First, in (A), the management apparatus 102 receives the HTTP message including the SOAP message of the user call information from the intermediary apparatus 101 of the user, and when the reception is completed normally, the fact (the user call is If the call result (success) is not normally terminated (abnormal termination), an HTTP message including a SOAP message of the information indicating the call result (successful user call) is generated. Then, this is transmitted as a response to the mediation apparatus 101 of the report source via the Internet 103 (S705).
Upon receiving the HTTP message including the SOAP message of the information indicating the call result from the management apparatus 102, the mediation apparatus 101 generates a SOAP message of the information indicating the call result based on the HTTP message, and transmits the SOAP message to the user call via the network. The key is transmitted to the NRS 305 of the image forming apparatus 100 whose key is pressed (S706).

NRS305は、仲介装置101からコール結果を示す情報のSOAPメッセージを受信すると、そのSOAPメッセージが示すコール結果を解釈(判定)し、それをSCS306へ通知する(S707)。
SCS306は、コール結果を受け取ると、それをOCS300へ引き渡す。
OCS300は、SCS306からコール結果を受け取ると、その内容つまりユーザコールが成功したか失敗したかを示すメッセージを操作パネル205上に表示する(S708)。
Upon receiving the SOAP message of the information indicating the call result from the mediation apparatus 101, the NRS 305 interprets (determines) the call result indicated by the SOAP message and notifies the SCS 306 of the result (S707).
When the SCS 306 receives the call result, it hands it over to the OCS 300.
Upon receiving the call result from the SCS 306, the OCS 300 displays the content thereof, that is, a message indicating whether the user call succeeded or failed, on the operation panel 205 (S708).

次に(B)において、仲介装置101は、規定時間(予め設定された所定時間)が経っても管理装置102から応答がないと判断した場合には、ユーザコールが失敗した旨のコール結果を示す情報のSOAPメッセージを生成し、それをNRS305へ送信する(S709)。
NRS305は、失敗した旨のコール結果を示す情報のSOAPメッセージを受信すると、そのSOAPメッセージに記述されている失敗した旨のコール結果を解釈し、それをSCS306へ通知する(S710)。
SCS306は、NRS305からコール結果を受け取ると、それをOCS300へ引き渡す。
Next, in (B), if the mediation apparatus 101 determines that there is no response from the management apparatus 102 even after a lapse of a specified time (predetermined predetermined time), the mediation apparatus 101 returns a call result indicating that the user call has failed. A SOAP message of the indicated information is generated and transmitted to the NRS 305 (S709).
Upon receiving the SOAP message of the information indicating the call result indicating failure, the NRS 305 interprets the call result indicating failure described in the SOAP message and notifies the SCS 306 of the result (S710).
When the SCS 306 receives the call result from the NRS 305, it hands it over to the OCS 300.

OCS300は、SCS306からコール結果を受け取ると、その内容つまりユーザコールが失敗した旨を示すメッセージを操作パネル205上の文字表示器に表示する(S711)。
次に(C)において、NRS305は、規定時間が経っても仲介装置101から応答がないと判断した場合には、ユーザコールが失敗した旨のコール結果をSCS306へ通知する(S712)。
SCS306は、NRS305からコール結果を受け取ると、それをOCS300へ引き渡す。
OCS300は、SCS306からコール結果を受け取ると、その内容つまりユーザコールが失敗した旨を示すメッセージを操作パネル205上の文字表示器に表示する(S713)。
Upon receiving the call result from the SCS 306, the OCS 300 displays the content thereof, that is, a message indicating that the user call failed, on a character display on the operation panel 205 (S711).
Next, in (C), if the NRS 305 determines that there is no response from the mediation apparatus 101 even after the specified time has elapsed, it notifies the SCS 306 of a call result indicating that the user call has failed (S712).
When the SCS 306 receives the call result from the NRS 305, it hands it over to the OCS 300.
Upon receiving the call result from the SCS 306, the OCS 300 displays the content thereof, that is, a message indicating that the user call failed, on a character display on the operation panel 205 (S713).

なお、ここでは管理装置102からファイアウォール104を越えて仲介装置101(あるいは仲介装置101を介して画像形成装置100)にデータを送信するために、仲介装置101からのHTTPリクエストに対するレスポンスという形で送信を行う例について説明したが、ファイアウォール104を越える手段はこれに限られるものではなく、例えば、SMTP(Simple Mail Transfer Protocol)を利用して、送信したいデータを記載あるいは添付したメールを管理装置102から仲介装置101に送信することも考えられる。ただし、信頼性の面ではHTTPが優れている。   Here, in order to transmit data from the management apparatus 102 to the relay apparatus 101 (or the image forming apparatus 100 via the relay apparatus 101) via the firewall 104, the data is transmitted in the form of a response to an HTTP request from the relay apparatus 101. However, the means that goes through the firewall 104 is not limited to this. For example, using the SMTP (Simple Mail Transfer Protocol), the management apparatus 102 sends a mail describing or attached data to be transmitted from the management apparatus 102. Transmission to the mediation device 101 is also conceivable. However, HTTP is excellent in terms of reliability.

ここで、画像形成装置100は、プロッタエンジンや操作パネル205を含む各ハードウェア資源を制御するCPUが、その各ハードウェア資源の状態を監視し、いずれかのハードウェア資源で異常等の所定の事象が発生した場合、その事象を検出し、その事象のタイプによって異なる処理を行う。よって、事象のタイプを判定するための基準となる情報が必要であり、図13の例は事象(異常)のタイプを判定するための基準となる情報(基準情報)の一例を示すテーブルのデータ構造を示している。ここで、「SC(サービスマンコール)」は「異常」に相当するものである。同図に示すように、検出されたSCによってタイプが判定される。そこで、それぞれのタイプについて説明する。   Here, in the image forming apparatus 100, the CPU that controls each hardware resource including the plotter engine and the operation panel 205 monitors the status of each hardware resource, and a predetermined condition such as abnormality in any one of the hardware resources. When an event occurs, the event is detected and different processing is performed depending on the type of the event. Therefore, information serving as a criterion for determining the type of the event is required. In the example of FIG. 13, data of a table showing an example of information (reference information) serving as a criterion for determining the type of the event (abnormal) is shown. Shows the structure. Here, “SC (serviceman call)” corresponds to “abnormal”. As shown in the figure, the type is determined based on the detected SC. Therefore, each type will be described.

「タイプA」は、操作パネル205にSC表示を行って使用禁止(使用不可)とするもののうち、ユーザが解除できないものであり、管理装置102からの「SCリセット」もできないものである。例えば、定着系のSCなどである。
「タイプB」は、異常が検出(検知)された特定の機能のみが使用できないSCである。通常使用時には操作パネル205上にSC表示を行わないが、異常が検出されている機能を選択した時だけ、その操作パネル205にSC表示を行う。例えば、両面ユニット異常時に両面モードを選択した場合が該当する。
「タイプC」は、SC発生時にも操作パネル205への表示は行わず、内部的にSCの発生のロギングのみを行うものである。例えば、通信が不能になった場合が該当する。
The “Type A” is one in which the SC is displayed on the operation panel 205 and the use is prohibited (unusable), and the type cannot be canceled by the user, and the “SC reset” from the management apparatus 102 is not possible. For example, a fixing system SC is used.
“Type B” is an SC in which only a specific function in which an abnormality is detected (detected) cannot be used. During normal use, SC display is not performed on the operation panel 205, but SC display is performed on the operation panel 205 only when a function in which an abnormality is detected is selected. For example, this corresponds to a case where the duplex mode is selected when the duplex unit is abnormal.
“Type C” does not display on the operation panel 205 even when an SC occurs, but internally logs only the occurrence of the SC. For example, a case where communication is disabled is applicable.

また、「タイプD」は、操作パネル205上にSC表示を行って使用禁止とするが、主電源(電源ユニット207)のOFF/ON(一旦OFFにし、再びONにする操作)あるいはソフト電源キーの操作によってSCを解除するものである。主電源ON(電源投入)後に再度SCを検出して、見かけ上解除されない場合もある。例えば、モータ異常がそれに該当する。上記判定の基準情報は、上述したNV−RAM202(又はHDD201)の所定の格納領域に格納されていることが考えられる。なお、スキャナエンジンのSC,プロッタエンジンのSCのように、ユニット別の事象もタイプの異なる事象として扱うものとする。   For “Type D”, use of the main power supply (power supply unit 207) is turned off / on (operation of turning it off and then on again) or by using the soft power key. Is released by the operation of. After the main power is turned on (power is turned on), the SC may be detected again, and it may not be apparently released. For example, a motor abnormality corresponds to this. It is conceivable that the reference information for the determination is stored in a predetermined storage area of the NV-RAM 202 (or the HDD 201). It should be noted that, as in the case of the SC of the scanner engine and the SC of the plotter engine, events of each unit are also treated as events of different types.

次に、上述した画像形成装置100および画像形成装置管理システムにおける実施例、つまりこの発明の特徴となる動作及びその動作を実現するための構成について、図14〜図24を参照して具体的に説明する。なお、画像形成装置110でも、この発明の特徴となる動作を行うが、画像形成装置100と同様なので、ここでは説明を省略する。
この画像形成装置100には、上述したように、公衆回線に対応した通信手段とインタネット通信に対応した通信手段の双方を設けている。
そして、画像形成装置100は、仲介装置101および公衆回線を介して管理装置102と通信するCSS方式による遠隔管理(リモートサービス:RS)と、LAN等のネットワークを介して仲介装置101に接続し、その仲介装置101およびインタネット103を介して管理装置102と通信するNRS方式による遠隔管理の対象となり得るように構成している。画像形成装置110は、仲介装置101の機能を備えているため、同様に構成している。
Next, an embodiment of the above-described image forming apparatus 100 and image forming apparatus management system, that is, an operation which is a feature of the present invention and a configuration for realizing the operation will be specifically described with reference to FIGS. explain. Note that the image forming apparatus 110 also performs an operation that is a feature of the present invention, but is similar to the image forming apparatus 100, and thus the description is omitted here.
As described above, this image forming apparatus 100 is provided with both a communication unit corresponding to the public line and a communication unit corresponding to the Internet communication.
Then, the image forming apparatus 100 connects to the mediation apparatus 101 via a network such as a LAN, and remote management (remote service: RS) by the CSS method for communicating with the management apparatus 102 via the mediation apparatus 101 and the public line. The mediation apparatus 101 and the management apparatus 102 communicate with the management apparatus 102 via the Internet 103 so as to be able to be remotely managed by the NRS method. Since the image forming apparatus 110 has the function of the mediation apparatus 101, it has the same configuration.

具体的には、管理装置102からの要求に応じて装置の状態等の情報を送信したり、装置に異常が発生した場合にその旨を管理装置102へ通報したり等するためのプログラムとして、CSS方式に対応したCSS315と、NRS方式に対応したNRS305とを設けている。
そして、NCS303は、公衆回線を介して受信した要求はCSS315を介して、インタネット103やLAN等のネットワークを介して受信した要求は図8に示したようにNRS305を介してSCS306に渡す。画像形成装置100側から要求を発する場合にはその経路で逆にSCS306からNCS303にそのデータを渡す。そして、SCS306がこれらのCSS315及びNRS305の機能の有効/無効を装置の設定に応じて制御することにより、両方式の遠隔管理に選択的に対応可能としている。
この設定を行うために設けたものがRS状態設定レジスタ(以下、このレジスタの設定内容を「RS状態設定」という)である。そして、このRS状態設定レジスタによって、表1に示す4つの状態を設定可能にしている。
Specifically, as a program for transmitting information such as the status of the device in response to a request from the management device 102, and for notifying the management device 102 of the occurrence of an abnormality in the device, A CSS 315 corresponding to the CSS method and an NRS 305 corresponding to the NRS method are provided.
Then, the NCS 303 passes the request received via the public line via the CSS 315 and the request received via the Internet 103 or a network such as a LAN to the SCS 306 via the NRS 305 as shown in FIG. When a request is issued from the image forming apparatus 100 side, the data is transferred from the SCS 306 to the NCS 303 on the same route. The SCS 306 controls the validity / invalidity of the functions of the CSS 315 and the NRS 305 in accordance with the setting of the apparatus, so that both types of remote management can be selectively supported.
An RS state setting register (hereinafter referred to as “RS state setting”) is provided to perform this setting. The four states shown in Table 1 can be set by the RS state setting register.

Figure 2004180276
Figure 2004180276

「無効」はCSS315とNRS305のどちらの機能も無効にしている状態、「CSS」はCSS315のみの機能を有効にし、NRS305の機能は無効にしている状態、「NRS有効」は逆にCSS315の機能を無効にし、NRS305の機能を有効にしている状態である。「NRS設定待ち」については後述する。
なお、機能の無効とは、必ずしも何の動作も行わないことを意味するものではなく、受信した要求に対して機能が無効になっていることを示す応答を返す場合も含むものとする。また、上述したようにコントローラボード200上のCPUは、NRS305を実行することにより要求処理手段や要求発行手段としての機能を実現するので、NRS305の機能を無効にするとこれらの手段の機能を無効にすることになる。
“Invalid” indicates that both the CSS 315 and the NRS 305 are disabled, “CSS” enables the function of the CSS 315 only, and the NRS 305 is disabled, and “NRS enabled” indicates the function of the CSS 315. Are disabled and the function of the NRS 305 is enabled. "NRS setting wait" will be described later.
The function invalidation does not necessarily mean that no operation is performed, but also includes a case where a response indicating that the function is invalid is returned to the received request. Further, as described above, the CPU on the controller board 200 realizes the functions as the request processing unit and the request issuing unit by executing the NRS 305. Therefore, when the function of the NRS 305 is invalidated, the functions of these units are invalidated. Will do.

ここで、RS状態設定(NRS有効化)を含む処理とネットワークを介した通信動作との関係について説明する。図14は、その関係を説明するための通信シーケンスの一例を示す図である。
まず、画像形成装置100が、例えば図14の(A)に示すように、RS状態設定が「NRS有効」でない状態で仲介装置101から機器状態取得要求を受信した場合、特に要求に対する処理を行わず、NRS305の機能が無効である旨を示す応答(機器状態取得応答)としてNG(失敗)応答を返すようにしている。このようにすることにより、要求の送信元である仲介装置101は、正常な応答が得られないのは通信エラーが発生したりそもそも対象の画像形成装置100が接続されていなかったりするためではなく、画像形成装置100がNRS305の機能を無効にしているためであるということを認識することができる。なお、機器状態取得要求以外のNRS305の機能を利用する要求を受信した場合でも、上述と同様の処理を行うことができる。NRS305の機能を利用する要求は、NRS305に対して何らかの操作(処理)がなされることにより、発生するものである。
Here, the relationship between the processing including the RS state setting (NRS validation) and the communication operation via the network will be described. FIG. 14 is a diagram showing an example of a communication sequence for explaining the relationship.
First, when the image forming apparatus 100 receives a device status acquisition request from the mediation device 101 in a state where the RS status setting is not “NRS enabled”, as shown in FIG. Instead, an NG (failure) response is returned as a response (device status acquisition response) indicating that the function of the NRS 305 is invalid. By doing so, the mediation device 101 that is the source of the request cannot receive a normal response, not because of a communication error or the fact that the target image forming device 100 is not connected in the first place. , The function of the NRS 305 is invalidated by the image forming apparatus 100. Note that, even when a request to use the function of the NRS 305 other than the device state acquisition request is received, the same processing as described above can be performed. The request to use the function of the NRS 305 is generated by performing some operation (processing) on the NRS 305.

また、RS状態設定が「NRS有効」でない状態では、例えば図14の(B)に示すようにSCS306からサービスマンコール(SC)発生通知があった場合でも、仲介装置101に対するSC通報の発行は行わない。なお、SC発生通知以外のNRS305の機能を利用する要求(通知)を受信した場合でも、上述と同様の処理を行うことができる。
このように、RS状態設定が「NRS有効」でない場合には、画像形成装置100は外部装置から受信した要求に対して有効な応答は返さず、画像形成装置100側からの要求や通報も行わない。
Further, in a state where the RS state setting is not “NRS enabled”, even if there is a serviceman call (SC) generation notification from the SCS 306 as shown in FIG. Not performed. Note that, even when a request (notification) for using a function of the NRS 305 other than the SC occurrence notification is received, the same processing as described above can be performed.
As described above, when the RS status setting is not “NRS valid”, the image forming apparatus 100 does not return a valid response to the request received from the external apparatus, and also performs a request or notification from the image forming apparatus 100 side. Absent.

一方、後述する有効化動作によってRS状態設定を「NRS有効」に設定すると、画像形成装置100側からの要求や通報(通知)を行うようになり、例えば図14の(C)に示すように通信試験のための通信テストコール要求を仲介装置101へ送信し、その結果を応答として受信するような動作を行う。また、例えば図14の(D)に示すように、SCS306からサービスマンコール(SC)発生通知があった場合には仲介装置101に対するSC通報の発行を行い、その結果を応答として受信する。なお、通信テストコール要求やSC発生通知以外のNRS305の機能を利用する要求を仲介装置101へ送信することもできる。
さらに、外部装置から受信した要求に対して有効な応答を返す動作も行い、例えば図14の(E)に示すように、機器状態取得要求を受信した場合、SCS306に機器状態等を示す情報の取得を実行させ、その結果を機器状態取得応答(成功)として返すようにしている。
On the other hand, when the RS state setting is set to “NRS enabled” by the activation operation described later, a request or notification (notification) is made from the image forming apparatus 100 side, for example, as shown in FIG. An operation of transmitting a communication test call request for a communication test to the mediation apparatus 101 and receiving the result as a response is performed. Further, for example, as shown in FIG. 14D, when a serviceman call (SC) generation notification is received from the SCS 306, an SC notification is issued to the mediation apparatus 101, and the result is received as a response. Note that a request for using a function of the NRS 305 other than the communication test call request and the SC occurrence notification can also be transmitted to the mediation apparatus 101.
Further, an operation of returning a valid response to the request received from the external device is also performed. For example, as shown in FIG. 14E, when the device status acquisition request is received, the SCS 306 stores information indicating the device status and the like. The acquisition is executed, and the result is returned as a device status acquisition response (success).

逆に、図15に示す別の例のように、後述する待機設定動作によってRS状態設定を「NRS設定待ち」に設定することにより、RS状態設定が「NRS有効」でなくなると、同図の(C)や(D)に示すように、その後は画像形成装置100側からの要求や通報をしなくなり、また外部装置から受信した要求に対して有効な応答を返す動作も行わなくなる。
なお、要求の受信から応答の送信までの間にはタイムラグがあり、その間にRS状態設定が変更されることも考えられるが、要求に対して有効な応答を返すか否かは要求の受信直後にその時点でのRS状態設定を参照して判断するようにしている。図16にこのような場合の例を示す。
Conversely, as in another example shown in FIG. 15, when the RS state setting is set to “NRS setting wait” by the standby setting operation described later, the RS state setting is not “NRS valid”. As shown in (C) and (D), thereafter, the request or notification from the image forming apparatus 100 is stopped, and the operation of returning a valid response to the request received from the external apparatus is not performed.
Note that there may be a time lag between the reception of the request and the transmission of the response, during which the RS state setting may be changed. However, whether or not a valid response to the request is returned immediately after the reception of the request The determination is made by referring to the RS state setting at that time. FIG. 16 shows an example of such a case.

例えば、図16の(A)に示すようにRS状態設定が「NRS有効」の状態で受信した機器状態取得要求については、その後応答前にNRS305を無効にした場合でも、(a)に示すように有効な応答を返す。そのNRS305を無効にさせる要求は、ユーザによる操作パネル205上のキー操作によってのみ発生する。なお、操作パネル205上のキー操作によってRS状態設定を「NRS設定待ち」に変更させる要求を発生させることもできる。一方、図16の(B)に示すようにRS状態設定を「NRS有効」以外の例えば「NRS設定待ち」にした後で受信したジャムログ情報取得要求については、失敗の応答を返す。   For example, as shown in FIG. 16A, with respect to a device status acquisition request received in a state where the RS status setting is “NRS enabled”, even if the NRS 305 is invalidated before responding thereafter, as shown in FIG. Returns a valid response to The request to invalidate the NRS 305 is generated only by a key operation on the operation panel 205 by the user. Note that a request to change the RS state setting to “NRS setting wait” can be generated by a key operation on the operation panel 205. On the other hand, as shown in FIG. 16B, a failure response is returned for a jam log information acquisition request received after the RS state setting is set to other than “NRS enabled”, for example, to “wait for NRS setting”.

ところで、この発明の特徴は、RS状態設定について、「NRS設定待ち」の設定状態を設けた点である。この状態は、図3に示した画像形成装置管理システムに接続してNRS方式による遠隔管理を受けるために必要な設定を待つ待機状態であり、CSS315とNRS305のどちらの機能も無効にしているが、図3に示した仲介装置101から所定の要求(例えば機器検索要求)を受信した場合にRS状態設定レジスタを「NRS有効」に変更してNRSの動作(機能)を有効にする有効化動作を行うものである。
なお、上述したRS状態設定レジスタは、図4に示したNV−RAM202(HDD201でもよい)に設け、操作パネル205からの指示(要求)やコントローラボード200上のCPUからの指示に応じてその内容を変更可能としており、RS状態設定レジスタを「NRS設定待ち」に設定する場合には、このCPUが待機設定手段として機能する。
A feature of the present invention is that a setting state of “waiting for NRS setting” is provided for the RS state setting. This state is a standby state in which the apparatus is connected to the image forming apparatus management system shown in FIG. 3 and waits for a setting required for remote management by the NRS method. Both the functions of the CSS 315 and the NRS 305 are disabled. When a predetermined request (for example, a device search request) is received from the intermediary device 101 shown in FIG. 3, an activation operation of changing the RS status setting register to “NRS valid” to activate the NRS operation (function) Is what you do.
The above-mentioned RS state setting register is provided in the NV-RAM 202 (or the HDD 201) shown in FIG. 4 and its contents are changed according to an instruction (request) from the operation panel 205 or an instruction from the CPU on the controller board 200. Can be changed, and when the RS status setting register is set to “wait for NRS setting”, this CPU functions as a standby setting unit.

以下、このような画像形成装置100において外部装置からの要求を受信した場合の処理について、上述の必要な設定の動作も含めて説明する。図17〜図19はこの処理を示すフローチャートであり、これらのフローチャートに示す処理はこの発明による通信装置の制御方法の実施例に係る処理である。なお、ここではNRS方式の遠隔管理に係る動作について説明する。
この画像形成装置100のコントローラボード200に備えるCPUは、装置の動作中は常時図5に示したNRS305を実行し、PHY204を介した外部装置からの要求や通知の受信を監視している。そして、これらを受信すると、図17のフローチャートに示す処理を開始する。
Hereinafter, a process performed when a request from an external device is received in the image forming apparatus 100 will be described, including an operation of the necessary setting described above. 17 to 19 are flowcharts showing this processing, and the processing shown in these flowcharts is processing according to the embodiment of the control method of the communication device according to the present invention. Here, an operation related to the remote management of the NRS method will be described.
The CPU provided on the controller board 200 of the image forming apparatus 100 always executes the NRS 305 shown in FIG. 5 during operation of the apparatus, and monitors the reception of requests and notifications from external apparatuses via the PHY 204. Then, when these are received, the processing shown in the flowchart of FIG. 17 is started.

まず、ステップS1で受信内容をチェックする。そして、機器検索要求であれば、ステップS2に進む。機器検索要求とは、仲介装置101が、自己に接続されている管理すべき画像形成装置100の検索を要求するコマンドのことである。
ステップS2では、RS状態設定を調べる。そして、「NRS設定待ち」であればステップS3に進む。
First, the received contents are checked in step S1. If it is a device search request, the process proceeds to step S2. The device search request is a command that requests the mediation apparatus 101 to search for the image forming apparatus 100 to be managed that is connected to the relay apparatus 101.
In step S2, the RS status setting is checked. If it is "waiting for NRS setting", the process proceeds to step S3.

そして、ステップS3で機器検索要求の送信元である仲介装置101のIPアドレスを通信先情報としてNV−RAM202に記憶する。機器検索要求は、仲介装置101が画像形成装置100に対して発する要求の一種であり、XML形式で記載されたSOAPリクエスト(SOAPメッセージ)として転送されてくるが、この中には発信元のアドレス情報としてIPアドレスも含まれているので、タグを参照してこれを抽出して記憶させればよい。この処理において、NV−RAM202が通信先情報記憶手段として機能する。
そして、この処理によって、機器検索要求の送信元である仲介装置101を管理装置102への接続を仲介すべき仲介装置として認識する。
Then, in step S3, the IP address of the mediation apparatus 101 that is the transmission source of the device search request is stored in the NV-RAM 202 as communication destination information. The device search request is a type of request issued by the mediation device 101 to the image forming device 100, and is transferred as a SOAP request (SOAP message) described in XML format. Since the information includes an IP address, the tag may be extracted and stored by referring to the tag. In this process, the NV-RAM 202 functions as a communication destination information storage unit.
By this process, the mediation device 101 that is the transmission source of the device search request is recognized as the mediation device that should mediate the connection to the management device 102.

次のステップS4では、その仲介装置101に対して機器検索要求に対する応答である機器検索応答を「成功」で送信する。
そして、ステップS5で設定変更通知も送信して一旦処理を終了する。この設定変更通知は、仲介装置101の通信先である画像形成装置100の情報(通信先情報)の内容を変更したことを示す通知であるが、NRS方式の管理下にある画像形成装置100は何らかの設定を変更する度に設定を変更した旨を仲介装置101に通知するので、この通知もその一環として行うものである。なお、設定変更通知を機器検索要求に対する応答に含めるようにしてもよい。
ここで、SOAPリクエストとして送信される機器検索要求と機器検索応答のフォーマット例を図20,図21にそれぞれ示す。
In the next step S4, a device search response, which is a response to the device search request, is transmitted to the mediation device 101 with "success".
Then, in step S5, a setting change notification is also transmitted, and the process ends once. This setting change notification is a notification indicating that the content of information (communication destination information) of the image forming apparatus 100 that is the communication destination of the mediation apparatus 101 has been changed. Every time the setting is changed, the mediation device 101 is notified that the setting has been changed, and this notification is also performed as a part thereof. The setting change notification may be included in the response to the device search request.
Here, FIGS. 20 and 21 show format examples of the device search request and the device search response transmitted as the SOAP request, respectively.

一方、ステップS2でRS状態設定が「無効」あるいは「CSS」であった場合には、NRS305の機能は無効であるので、ステップS7に進んで機器検索要求に対してその旨を示す「失敗」の応答(機器検索応答)を送信して処理を終了する。
また、ステップS2でRS状態設定が「NRS有効」であった場合にはステップS6に進み、機器検索要求の送信元である仲介装置のIPアドレスを通信先情報として記憶しているIPアドレスと比較する。
一致していれば、送信元の仲介装置は既に通信先として設定済みであるので、ステップS4に進んで機器検索要求に対する応答を「成功」で送信し、以下の処理を行うが、ステップS5の処理は省略して処理を終了してもよい。
On the other hand, if the RS state setting is “invalid” or “CSS” in step S2, the function of the NRS 305 is invalid, and the process proceeds to step S7 to indicate “failure” indicating that to the device search request. Is transmitted (device search response), and the process ends.
If the RS state setting is "NRS enabled" in step S2, the process proceeds to step S6, where the IP address of the mediation device that is the transmission source of the device search request is compared with the IP address stored as the communication destination information. I do.
If they match, the mediation device of the transmission source has already been set as the communication destination, so the process proceeds to step S4 to transmit a response to the device search request with "success", and performs the following processing. The processing may be omitted and the processing may be terminated.

ステップS6で一致しなかった場合には、既に通信先として設定済みの仲介装置とは別の仲介装置から機器検索要求を受信したことになるが、各画像形成装置100について1つの仲介装置101を設定して監視システムを構築するため、このような場合にはNRS305の機能が無効である場合と同様にステップS7で「失敗」の応答を返して処理を終了する。   If they do not match in step S6, it means that a device search request has been received from a mediation device different from the mediation device already set as the communication destination, but one mediation device 101 is assigned to each image forming device 100. In such a case, a response of "failure" is returned in step S7 and the process is terminated in order to configure the monitoring system in such a case as in the case where the function of the NRS 305 is invalid.

また、ステップS1で受信内容が設定通知であった場合には、ステップS8に進む。仲介装置101は、画像形成装置100がステップS5の処理で送信した設定変更通知を受け取ると、画像形成装置100を管理対象として認識したことを示す通知をその画像形成装置100に送信するが、これが設定通知である。設定通知とは、仲介装置101が、自身が管理すべき画像形成装置100に対し、自己を通じて管理装置102の管理下に入るよう要求するコマンドのことである。なお、この設定通知もここでは他の要求と同様SOAPリクエストとして送信されるので、一種の要求と見ることもできる。
ステップS8では、RS状態設定レジスタの設定を「NRS設定待ち」から「NRS有効」に変更する。そして、この時点で画像形成装置100は管理装置102による管理対象の装置となり、これ以降は受信した要求に対して正常な応答を返し、また外部装置に対して要求や通知を送信することができるようになる。
If the received content is a setting notification in step S1, the process proceeds to step S8. When the mediation apparatus 101 receives the setting change notification transmitted by the image forming apparatus 100 in step S5, the mediation apparatus 101 transmits a notification indicating that the image forming apparatus 100 has been recognized as a management target to the image forming apparatus 100. This is a setting notification. The setting notification is a command by which the mediation apparatus 101 requests the image forming apparatus 100 to be managed by itself to be controlled by the management apparatus 102 through itself. Since this setting notification is transmitted as a SOAP request like other requests, it can be regarded as a kind of request.
In step S8, the setting of the RS status setting register is changed from "waiting for NRS setting" to "valid NRS". At this point, the image forming apparatus 100 becomes an apparatus to be managed by the management apparatus 102. Thereafter, the image forming apparatus 100 can return a normal response to the received request and can transmit a request or a notification to an external apparatus. Become like

次に、これらの情報の送受信を正常に行うことができるか否かを確認するため、ステップS9で管理装置102との間で通信試験を実施する。ただし、直接管理装置102と通信するわけではなく、仲介装置101に対して管理装置102との間で通信試験を行う旨の要求を送信し、仲介装置101がこれに応じて管理装置102に試験要求を送信し、これに対して帰ってきた管理装置102からの応答を仲介装置101から受け取る、という手順になる。従って、直接画像形成装置の送受信相手となるのは仲介装置101のみである。   Next, in step S9, a communication test is performed with the management apparatus 102 in order to confirm whether the transmission and reception of such information can be performed normally. However, it does not directly communicate with the management device 102, but transmits a request to the mediation device 101 to perform a communication test with the management device 102, and the mediation device 101 performs a test to the management device 102 accordingly. The procedure is such that a request is transmitted, and a response from the management device 102 that has returned to the request is received from the mediation device 101. Therefore, only the intermediary device 101 is a transmission / reception partner of the image forming apparatus directly.

なお、管理装置102に代えて要求の送受信機能を有するサーバ装置を設けて仲介装置との間で要求の送受信を行い、管理装置102をこのようなサーバ装置と別に、例えば公衆回線やLANで接続して設けるようにしてもよい。このような場合には、さらにサーバ装置から管理装置102に試験要求を送信し、管理装置102からの応答を、サーバ装置及び仲介装置101を介して受信することになる。
応答を受信すると、通信テストの結果を操作パネル205に表示したり管理者に電子メールで送信したりして通知し、処理を終了する。このとき、結果が成功であれば問題ないが、失敗の場合には自動で対処処理を行ったりユーザに対処を求めたりして問題の解決を図ることになる。
It should be noted that a server device having a request transmission / reception function is provided instead of the management device 102 to transmit / receive a request to / from the mediation device, and the management device 102 is connected separately from such a server device, for example, by a public line or a LAN. You may make it provide. In such a case, a test request is further transmitted from the server device to the management device 102, and a response from the management device 102 is received via the server device and the mediation device 101.
When the response is received, the result of the communication test is displayed on the operation panel 205 or transmitted to the administrator by e-mail to notify the administrator, and the process is terminated. At this time, if the result is successful, there is no problem. If the result is unsuccessful, the problem is solved by automatically performing a coping process or requesting the user to cope.

また、ステップS1で受信内容が待機設定要求であった場合には、図18のステップS10に進む。ここで、待機設定要求とは、仲介装置101が、自己を通じて管理装置102の管理下にある画像形成装置100に対し、管理下から外れるよう要求するコマンドであり、画像形成装置100を移設する際や、画像形成装置100を他の仲介装置101を介して管理装置102の管理下に置く場合等に使用されるものである。
ステップS10では、RS状態設定を調べる。そして、「NRS有効」であればステップS11に進む。
ステップS11ではRS状態設定レジスタの設定を「NRS有効」から「NRS設定待ち」に変更する。そして、この時点で画像形成装置100は管理装置102による管理対象外の装置となり、これ以降に受信した要求に対して正常な応答を返したり、また外部装置に対して要求や通知を送信したりすることがなくなる。なお、ステップS11において通信先情報として記憶しているIPアドレスの消去も同時に行うようにしてもよい。
If the received content is a standby setting request in step S1, the process proceeds to step S10 in FIG. Here, the standby setting request is a command by which the mediation apparatus 101 requests the image forming apparatus 100 under the management of the management apparatus 102 through the self-management apparatus 101 to be removed from the management. This is used when the image forming apparatus 100 is placed under the control of the management apparatus 102 via another mediation apparatus 101.
In step S10, the RS status setting is checked. Then, if "NRS is valid", the process proceeds to step S11.
In step S11, the setting of the RS status setting register is changed from "NRS valid" to "NRS setting wait". At this point, the image forming apparatus 100 becomes a device that is not managed by the management device 102, and returns a normal response to a request received thereafter, or sends a request or notification to an external device. Will not be done. In step S11, the IP address stored as the communication destination information may be deleted at the same time.

次のステップS12では、待機設定要求に対する応答を「成功」で返し、処理を終了する。なお、ここで応答を返すのは、待機設定要求はRS状態設定レジスタの設定を「NRS設定待ち」にする前に受信したものだからである。また、この時点では既にRS状態設定は「NRS設定待ち」であるため、別途設定変更通知の送信は行わないが、待機設定応答にその内容を含めてもよい。
ステップS10でRS状態設定が「無効」,「CSS」あるいは「NRS設定待ち」であった場合には、NRS305の機能は無効であるので、ステップS13に進んで機器検索要求に対してその旨を示す「失敗」の応答を送信して処理を終了する。
In the next step S12, a response to the standby setting request is returned with "success", and the process ends. Note that the response is returned here because the standby setting request is received before the setting of the RS status setting register is set to “NRS setting wait”. At this point, since the RS state setting is already “waiting for NRS setting”, the setting change notification is not separately transmitted, but the content may be included in the standby setting response.
If the RS status setting is “invalid”, “CSS” or “waiting for NRS setting” in step S10, the function of the NRS 305 is invalid, and the process proceeds to step S13 to notify the device search request accordingly. Then, the response of "failure" is transmitted and the process is terminated.

ステップS1で受信内容が機器検索要求,設定通知,待機設定要求のいずれでもなかった場合には、図19のステップS14に進んでステップS2の場合と同様にRS状態設定を調べ、「NRS有効」であればステップS15に進んで要求に対する通常処理を行って終了する。この処理は、例えば図8を用いて説明した課金カウンタ取得要求に対する応答のようなものであり、要求の内容をSCS306に伝達し、SCS306が必要なアプリケーションやモジュールに要求を発して実行し、その結果をNRS305に返す。   If the received content is not any of the device search request, the setting notification, and the standby setting request in step S1, the process proceeds to step S14 in FIG. 19, and the RS state setting is checked as in step S2, and "NRS enabled". If so, the flow advances to step S15 to perform normal processing for the request, and ends. This processing is, for example, a response to the charging counter acquisition request described with reference to FIG. 8. The request is transmitted to the SCS 306, the SCS 306 issues a request to a required application or module, and executes the request. The result is returned to the NRS 305.

ステップS14で「NRS有効」以外の設定であれば、NRS305の機能は無効であるので、ステップS16で要求に対してはその旨を示す「失敗」の応答を送信して処理を終了する。
なお、図18及び図19に示す処理の前に、図17のステップS6の場合と同様に要求の送信元のIPアドレスを通信先情報として記憶しているIPアドレスと比較し、一致した場合のみ要求に対する処理を行い、一致しない場合には「失敗」の応答を返すようにするとよい。
以上のフローチャートに示す処理において、機器検索要求を受信した場合のステップS3乃至S5の処理及びその後設定通知を受信した場合のステップS8の処理が、有効化動作である。
また、図18のステップS10〜S12の動作においてはコントローラボード200に備えるCPUが待機設定手段として機能する。
If the setting is other than "NRS valid" in step S14, the function of the NRS 305 is invalid, and a response of "failure" indicating the fact is transmitted to the request in step S16, and the process ends.
Before the processing shown in FIGS. 18 and 19, the IP address of the request source is compared with the IP address stored as the communication destination information in the same manner as in step S6 in FIG. The request may be processed, and if the two do not match, a "failure" response may be returned.
In the processing shown in the above flowchart, the processing in steps S3 to S5 when the device search request is received and the processing in step S8 when the setting notification is received thereafter are the activation operations.
In the operation of steps S10 to S12 in FIG. 18, the CPU provided on the controller board 200 functions as a standby setting unit.

ところで、図3に示したような画像形成装置管理システムを構成し、画像形成装置をNRS方式で管理する場合、まず画像形成装置100と仲介装置101を適当な順番でLANに接続するが、LANに接続する時点で、仲介装置101には自身が管理すべき画像形成装置の識別情報をキッティング情報として記憶させておく。図22に識別情報の例を示すが、例えば管理すべき画像形成装置の機種機番とIPアドレスを記憶しておけばよい。なお、この識別情報は、基本的にはリモートサービスの契約内容等に従って出荷前に予め記憶させておくとよいが、設置後に追加、変更等できるようにするとよい。また、ユーザ(機器利用者)又はサービスマン(CE)が仲介装置101に対して機器検索要求を送信する範囲をIPアドレス等で指定できるようにしてもよい。
また、画像形成装置100におけるRS状態レジスタは、設置時には「NRS設定待ち」に設定しておくものとする。
By the way, when the image forming apparatus management system as shown in FIG. 3 is configured and the image forming apparatus is managed by the NRS method, first, the image forming apparatus 100 and the mediation apparatus 101 are connected to the LAN in an appropriate order. When the connection is established, the mediation apparatus 101 stores the identification information of the image forming apparatus to be managed by itself as kitting information. FIG. 22 shows an example of the identification information. For example, the model number and the IP address of the image forming apparatus to be managed may be stored. Note that this identification information is basically preferably stored in advance according to the contract contents of the remote service before shipment, but may be added or changed after installation. In addition, a user (device user) or a serviceman (CE) may be able to specify a range for transmitting a device search request to the mediation device 101 using an IP address or the like.
The RS status register in the image forming apparatus 100 is set to “wait for NRS setting” at the time of installation.

仲介装置101は、LAN(ネットワーク)に接続されると、定期的(予め設定された時間置き)にあるいは図8に示したOp−Port56に接続されている操作部からの指示(ユーザによる操作部上のキー操作によって発生する)に従って、識別情報として記憶しているIPアドレスに対して自己のIPアドレス情報を含む機器検索要求を送信し、そのIPアドレスの装置を自己を通じて管理装置102の管理下に入れることを試みる。   When connected to a LAN (network), the mediation apparatus 101 periodically (at predetermined intervals) or receives an instruction from an operation unit connected to the Op-Port 56 shown in FIG. A device search request including its own IP address information is transmitted to the IP address stored as identification information in accordance with the above key operation, and the device of the IP address is controlled by the management device 102 through itself. Try to put in.

図23はこの場合の画像形成装置100と仲介装置101との間のNRS有効化のための通信シーケンスの詳細例を示す図であり、図14の破線で囲んで示す部分の詳細を示している。
ステップS101で上記の通り仲介装置101が機器検索要求を行うと、これを受信した画像形成装置100は図17のフローチャートに示した処理を行い、機器検索要求に含まれるIPアドレスを記憶すると共に、機器検索応答(S102)と設定変更通知(S103)をそのIPアドレスの仲介装置に送信する。
このうち設定変更通知には画像形成装置100の機種機番,IPアドレス,デバイスID等が含まれるので、仲介装置側でこれらの情報を、管理すべき画像形成装置100の識別情報と比較する。そして、一致した場合には機器検索要求を送信した相手を管理対象として認証し、ステップS104で設定通知を送信する。
FIG. 23 is a diagram showing a detailed example of a communication sequence for NRS validation between the image forming apparatus 100 and the mediation apparatus 101 in this case, and shows details of a portion surrounded by a broken line in FIG. .
When the mediation apparatus 101 makes a device search request as described above in step S101, the image forming apparatus 100 that has received the request performs the processing shown in the flowchart of FIG. 17, stores the IP address included in the device search request, The device search response (S102) and the setting change notification (S103) are transmitted to the mediation device of the IP address.
Since the setting change notification includes the model number, the IP address, the device ID, and the like of the image forming apparatus 100, the relay apparatus compares these information with the identification information of the image forming apparatus 100 to be managed. Then, if they match, the communication partner that transmitted the device search request is authenticated as a management target, and a setting notification is transmitted in step S104.

画像形成装置100側では、これを受信すると再度図17のフローチャートに示した処理を行い、今度はRS状態設定レジスタの設定を「NRS設定待ち」から「NRS有効」に変更する。この時点で画像形成装置100は仲介装置101を介して管理装置102の管理対象となる。つまり、画像形成装置管理システムに組み込まれたことになる。
その後、通信試験としてステップS105に示す通信テストコール要求を行い、ステップS106でその成功の応答を受け取ると処理を終了する。
このように、上述した機器検索要求を用いることにより、画像形成装置100を画像形成装置管理システムに自動的に組み込む処理を行うことができる。
Upon receiving this, the image forming apparatus 100 performs the processing shown in the flowchart of FIG. 17 again, and this time changes the setting of the RS state setting register from “waiting for NRS setting” to “valid NRS”. At this point, the image forming apparatus 100 is managed by the management apparatus 102 via the mediation apparatus 101. That is, it is incorporated into the image forming apparatus management system.
Thereafter, a communication test call request shown in step S105 is made as a communication test, and the process ends when a successful response is received in step S106.
As described above, by using the above-described device search request, a process of automatically incorporating the image forming apparatus 100 into the image forming apparatus management system can be performed.

一方、一旦管理装置102の管理下に入れた画像形成装置100を撤去する場合等には、その画像形成装置100が管理下でなくなることを明らかにする一方、その画像形成装置100を再度管理システムに組みこむ場合に上述のように容易に組み込みを行うことができるようにするため、仲介装置101は、対象の画像形成装置100に対して待機設定要求を送信し、装置を待機状態に戻すことを試みる。画像形成装置100の通信先として別の仲介装置101を設定し、画像形成装置100を別の仲介装置101を介して管理装置102の管理下に入れようとする場合でも、上述の通りそのままではこの設定を行うことができないので、同様に待機設定要求を送信する。
ここで、画像形成装置100が管理装置102の管理下にある場合には、NRS状態設定は「NRS有効」である。
On the other hand, when the image forming apparatus 100 once managed by the management apparatus 102 is to be removed, it is made clear that the image forming apparatus 100 is no longer under management, and the image forming apparatus 100 is again managed by the management system. In order to facilitate the incorporation as described above, the mediation apparatus 101 transmits a standby setting request to the target image forming apparatus 100 and returns the apparatus to the standby state. Try. Even when another intermediary device 101 is set as a communication destination of the image forming device 100 and the image forming device 100 is to be managed by the management device 102 via another intermediary device 101, as described above, this is not changed. Since the setting cannot be performed, a standby setting request is transmitted similarly.
Here, when the image forming apparatus 100 is under the management of the management apparatus 102, the NRS state setting is “NRS valid”.

図24はこの場合の画像形成装置100と仲介装置101との間の待機設定のための通信シーケンスの詳細例を示す図であり、図15の破線で囲んで示す部分の詳細を示している。
すなわち、ステップS111で上記の通り仲介装置101が待機設定要求を行うと、これを受信した画像形成装置100は図17および図18のフローチャートに示した処理を行い、NRS状態設定を「NRS設定待ち」に変更すると共に、ステップS112で待機設定応答をその要求を送信した仲介装置101に送信して処理を終了する。以上により、画像形成装置100が管理システムから外れたことになる。
このように、上述した待機設定要求を用いることにより、画像形成装置100を画像形成装置管理システムから外す処理を行うことができる。またこのとき、画像形成装置100を、初めて組み込む場合と同様な手順で上述した機器検索要求等の所定の要求によって外部装置との通信機能(NRS305の機能)を有効にし、画像形成装置管理システムに組み込むことができる状態に戻すことができる。
なお、待機設定要求は、手動で仲介装置101に指示して送信させてもよいし、仲介装置101が所定のトリガに応じて自動で送信するようにしてもよい。また、待機設定要求を送信した画像形成装置100に対しては、以後機器検索要求等の所定の要求を送信しないようにするとよい。
FIG. 24 is a diagram showing a detailed example of a communication sequence for standby setting between the image forming apparatus 100 and the intermediary apparatus 101 in this case, and shows details of a portion surrounded by a broken line in FIG.
That is, when the mediation apparatus 101 issues a standby setting request as described above in step S111, the image forming apparatus 100 that has received the request performs the processing shown in the flowcharts of FIGS. 17 and 18, and changes the NRS state setting to “NRS setting wait”. ", And transmits a standby setting response to the intermediary device 101 which has transmitted the request in step S112, and terminates the process. Thus, the image forming apparatus 100 has been removed from the management system.
As described above, by using the above-described standby setting request, it is possible to perform processing for removing the image forming apparatus 100 from the image forming apparatus management system. At this time, the communication function with the external device (the function of the NRS 305) is enabled by a predetermined request such as the device search request described above in the same procedure as when the image forming apparatus 100 is incorporated for the first time. It can be returned to a state where it can be incorporated.
Note that the standby setting request may be manually transmitted to the mediation device 101 by instructing the mediation device 101, or may be automatically transmitted by the mediation device 101 in response to a predetermined trigger. Further, it is preferable that a predetermined request such as a device search request is not transmitted to the image forming apparatus 100 that has transmitted the standby setting request.

以上のように、この実施例の画像形成装置においては、NRS305に待機状態を設け、「NRS設定待ち」の設定を可能にしたことにより、顧客先に仲介装置を設置して画像形成装置を管理システムに組み込む(接続する)際に、仲介装置と画像形成装置をLAN等のネットワークによって接続するだけで画像形成装置側の設定を自動的に変更してNRS305の機能を有効にすることができる。従って、画像形成装置を管理システムに組み込む作業を容易に行うことができる。さらに、その際にサービスマンが訪問して長時間の作業を行う必要がなくなり、管理システムに係るサービスコストを低減することができる。この効果は、多数の画像形成装置を一度に管理システムに組み込む際に特に発揮される。   As described above, in the image forming apparatus of this embodiment, the standby state is provided in the NRS 305, and the setting of “wait for NRS setting” is enabled, so that the intermediate apparatus is installed at the customer's site to manage the image forming apparatus. When incorporated (connected) into the system, the settings of the image forming apparatus can be automatically changed by simply connecting the intermediary apparatus and the image forming apparatus via a network such as a LAN to enable the function of the NRS 305. Therefore, the work of incorporating the image forming apparatus into the management system can be easily performed. Further, at this time, it is not necessary for the service person to visit and perform a long-time operation, and the service cost of the management system can be reduced. This effect is particularly exhibited when a large number of image forming apparatuses are incorporated into the management system at one time.

一方で、「NRS設定待ち」の状態においては画像形成装置が自ら要求や報告の送信を試みることはないので、仲介装置を設けない場合でも、通信相手が存在しないことによるエラーは発生せず、管理システム以外に係る動作は正常に行うことができる。さらに、NRS有効化のトリガとなる要求以外の要求に対してはNG応答を返すようにしているので、仲介装置と同じネットワークに接続する場合でも、管理システムに組み込まない状態にしておくことができる。
また、外部装置からの所定の要求をNRS有効化のトリガとしているので、管理システムにおける管理動作に用いるものと同様な書式の情報によって画像形成装置にNRSの有効化を促すことができる。
On the other hand, in the state of “waiting for NRS setting”, the image forming apparatus does not attempt to transmit a request or a report by itself, so even if no intermediary apparatus is provided, no error occurs due to the absence of a communication partner. Operations other than the management system can be performed normally. Furthermore, since an NG response is returned for a request other than the request that triggers NRS activation, even when connected to the same network as the mediation device, it is possible to leave the request in a state where it is not incorporated in the management system. .
Further, since a predetermined request from an external device is used as a trigger for NRS activation, it is possible to prompt the image forming apparatus to activate NRS by using information in a format similar to that used for the management operation in the management system.

また、外部装置からの予め定めた要求を受信した場合にRS状態設定を「NRS設定待ち」に戻すようにしているので、上記の効果の他、装置の移設や管理システムの再編を容易に行うことができる。すなわち、画像形成装置は、上述の待機設定要求を受けた後は、初めに接続する場合と同様な手順で管理システムに組み込むことができる状態となっているので、その後他の仲介装置から上述の所定の要求を送信することにより、画像形成装置を別の仲介装置を介して管理装置の管理下に置くような設定も仲介装置側から自動で容易に行うことができる。そしてこの場合において、画像形成装置を一旦管理システムから外す際に、これを仲介装置との通信が不能になったと誤認して警告等を行ってしまうというような不都合が発生しないようにすることができる。画像形成装置の撤去等で物理的あるいは論理的にネットワークから外す場合についても同様である。   In addition, when a predetermined request from an external device is received, the RS status setting is returned to “waiting for NRS setting”, so that in addition to the above effects, the relocation of the device and the reorganization of the management system are easily performed. be able to. That is, after receiving the above-described standby setting request, the image forming apparatus is in a state where it can be incorporated into the management system in the same procedure as in the case of the first connection. By transmitting the predetermined request, the setting for placing the image forming apparatus under the control of the management apparatus via another intermediary apparatus can be easily and automatically performed from the intermediary apparatus side. In this case, when the image forming apparatus is once removed from the management system, it is possible to prevent a problem such as giving a warning or the like by erroneously recognizing that the communication with the intermediary apparatus has become impossible. it can. The same applies to the case where the image forming apparatus is physically or logically disconnected from the network by removal or the like.

また、仲介装置が定期的に(所定の時間置きに)機器検索要求等の所定の要求を発するようにしているので、新たに画像形成装置を追加した場合でもその装置を容易に管理システムに組み込むことができる。ユーザによる操作部からの指示に従って所定の要求を発するようにすれば、所定の時間の経過を待つことなく画像形成装置のNRS機能を有効し、その画像形成装置を管理システムに組み込むことができる。
また、NRSを有効にした後で管理装置との間で通信試験を行うようにすれば、管理に必要な通信を正常に行うことができるか否かを確認し、システムの信頼性を高めることができる。
Further, since the intermediary device issues a predetermined request such as a device search request periodically (every predetermined time), even if a new image forming device is added, the device can be easily incorporated into the management system. be able to. If a predetermined request is issued according to an instruction from the operation unit by the user, the NRS function of the image forming apparatus can be enabled without waiting for a predetermined time to elapse, and the image forming apparatus can be incorporated in the management system.
In addition, if a communication test is performed with the management device after NRS is enabled, it is possible to confirm whether communication required for management can be performed normally and to improve the reliability of the system. Can be.

なお、図3の設置環境Bのように仲介装置を複数段に亘って設ける場合には、仲介装置同士の上下関係も画像形成装置の場合と同様に設定可能にすることができる。この場合には、管理すべき画像形成装置だけでなく下位の仲介装置の識別情報も上位の仲介装置に記憶させておくものとする。
また、仲介装置に記憶させておく画像形成装置の識別情報をIPアドレスの検索範囲としてもよい。そしてこの場合、機器検索要求を行う際にその範囲に対してマルチキャストで送信し、画像形成装置から帰ってきた機器検索応答や設定変更通知を参照して、ユーザがその中から管理下に置く装置を選択できるようにしてもよい。
In the case where the intermediary devices are provided in a plurality of stages as in the installation environment B in FIG. 3, the vertical relationship between the intermediary devices can be set similarly to the case of the image forming apparatus. In this case, it is assumed that not only the image forming apparatus to be managed but also the identification information of the lower order intermediate apparatus is stored in the upper order intermediate apparatus.
Further, the identification information of the image forming apparatus stored in the mediation apparatus may be used as the search range of the IP address. In this case, when making a device search request, the device is transmitted by multicast to the range, and by referring to the device search response and the setting change notification returned from the image forming apparatus, the device which the user places under management from among them. May be selectable.

また、画像形成装置側で手動で仲介装置のIPアドレスを通信先情報として指定し、RS状態設定レジスタを「NRS有効」に変更して、仲介装置側からの要求を待つことなく画像形成装置を管理システムに組み込むことができるようにしてもよい。
さらにまた、ネットワークのトラフィックを考えると効率はよくないが、上述した場合と逆に、画像形成装置側から仲介装置に対して検索要求を発し、適切な応答が得られた場合に「NRS有効」にすることも考えられる。
また、管理装置から仲介装置経由で画像形成装置へ機器検索要求等の所定の要求を送信することができるが、この場合、管理装置は、仲介装置からのポーリング(送信要求があるかどうかの問い合わせ)を受けた場合にのみ、上記要求を送信することにより、その要求を画像形成装置が仲介装置経由で受信することができる。
In addition, the image forming apparatus manually specifies the IP address of the mediation apparatus as communication destination information, changes the RS status setting register to “NRS valid”, and allows the image forming apparatus to wait for a request from the mediation apparatus. You may make it able to be integrated in a management system.
Furthermore, although efficiency is not good considering network traffic, the image forming apparatus issues a search request to the intermediary apparatus, and conversely, if an appropriate response is obtained, "NRS enabled" It is also possible to do.
Also, a predetermined request such as a device search request can be transmitted from the management device to the image forming apparatus via the mediation device. In this case, the management device polls the mediation device (inquires whether there is a transmission request). ), The image forming apparatus can receive the request via the intermediary apparatus by transmitting the request.

ここで、以上の実施例では、この発明による通信装置(電子装置)の例として通信機能を備えた画像形成装置について説明したが、この発明はこれらに限られるものではなく、通信機能を備えたネットワーク家電,自動販売機,医療機器,電源装置,空調システム,ガス・水道・電気等の計量システム等や、ネットワークに接続可能なコンピュータ等を含め、通信機能を備えた各種通信装置に適用可能である。また、これらの通信装置を被管理装置とした場合にも、遠隔管理システムを上述した場合と同様に動作させることができる。さらに、通信装置の遠隔管理システムについても、通信装置,仲介装置,管理装置の構成およびこれらの接続形式は、以上の実施例に限られるものではない。   Here, in the above embodiments, the image forming apparatus having the communication function has been described as an example of the communication apparatus (electronic device) according to the present invention. However, the present invention is not limited to these, and the present invention is not limited thereto. It can be applied to various communication devices with communication functions, including network home appliances, vending machines, medical equipment, power supplies, air conditioning systems, gas / water / electricity metering systems, etc., and computers that can be connected to a network. is there. Also, even when these communication devices are managed devices, the remote management system can be operated in the same manner as in the case described above. Further, also in the remote management system of the communication device, the configurations of the communication device, the mediation device, the management device, and the connection form thereof are not limited to the above embodiments.

また、この発明によるプログラムは、外部装置と通信を行う通信手段を備えた上述の画像形成装置等の通信装置を制御するコンピュータに、この発明による各種機能、つまり要求処理手段,待機設定手段としての機能,更には通信先情報記憶手段(アドレス情報を通信先情報として記憶手段に記憶させる手段としての機能)を実現させるためのプログラムであり、このようなプログラムをコンピュータに実行させることにより、上述したような効果を得ることができる。
このようなプログラムは、はじめからコンピュータに備えるROMあるいはHDD等の記憶手段に格納しておいてもよいが、記録媒体であるCD−ROMあるいはフレキシブルディスク,SRAM,EEPROM,メモリカード等の不揮発性記録媒体(メモリ)に記録して提供することもできる。そのメモリに記録されたプログラムをコンピュータにインストールしてCPUに実行させるか、CPUにそのメモリからこのプログラムを読み出して実行させることにより、上述した各手順を実行させることができる。
さらに、ネットワークに接続され、プログラムを記録した記録媒体を備える外部機器あるいはプログラムを記憶手段に記憶した外部機器からダウンロードして実行させることも可能である。
Further, the program according to the present invention can store various functions according to the present invention, that is, a request processing unit and a standby setting unit, in a computer that controls a communication device such as the above-described image forming apparatus provided with a communication unit that communicates with an external device. This is a program for realizing the function and further the communication destination information storage means (the function as a means for storing the address information as the communication destination information in the storage means). Such effects can be obtained.
Such a program may be stored in a storage means such as a ROM or an HDD provided in the computer from the beginning, but may be stored in a non-volatile storage medium such as a CD-ROM or a flexible disk, an SRAM, an EEPROM, or a memory card as a recording medium. It can also be provided by recording it on a medium (memory). Each of the above-described procedures can be executed by installing the program recorded in the memory in the computer and causing the CPU to execute the program, or reading and executing the program from the memory by the CPU.
Further, the program can be downloaded from an external device provided with a recording medium storing the program or an external device having the program stored in the storage means and executed.

この発明は、ネットワーク家電,自動販売機,医療機器,電源装置,空調システム,ガス・水道・電気等の計量システムやコンピュータ等の各種通信装置や、その通信装置を制御するコンピュータに適用可能である。   INDUSTRIAL APPLICABILITY The present invention is applicable to various communication devices such as network home appliances, vending machines, medical devices, power supply devices, air conditioning systems, gas / water supply / electricity metering systems and computers, and computers controlling the communication devices. .

この発明の通信装置の遠隔管理システムの構成の一例を示す概念図である。It is a conceptual diagram showing an example of composition of a remote management system of a communication device of the present invention. その遠隔管理システムにおけるデータ送受モデルを示す概念図である。FIG. 2 is a conceptual diagram showing a data transmission / reception model in the remote management system. この発明の通信装置の管理システムの一例である画像形成装置管理システムの構成の一例を示す概念図である。1 is a conceptual diagram illustrating an example of a configuration of an image forming apparatus management system that is an example of a communication apparatus management system according to the present invention. 図3の画像形成装置の物理的構成例を示すブロック図である。FIG. 4 is a block diagram illustrating a physical configuration example of the image forming apparatus in FIG. 3. その画像形成装置のソフトウェア構成例を示すブロック図である。FIG. 2 is a block diagram illustrating an example of a software configuration of the image forming apparatus. その画像形成装置におけるENGRDY信号とPWRCTL信号について説明するための図である。FIG. 4 is a diagram for describing an ENGRDY signal and a PWRCTL signal in the image forming apparatus.

その画像形成装置におけるNRSモジュールの構成を示す機能ブロック図である。FIG. 2 is a functional block diagram illustrating a configuration of an NRS module in the image forming apparatus. 図3の仲介装置のハードウェア構成例を示すブロック図である。FIG. 4 is a block diagram illustrating a hardware configuration example of the mediation device of FIG. 3. その仲介装置のソフトウェア構成例を示すブロック図である。FIG. 4 is a block diagram illustrating an example of a software configuration of the mediation device. 図3の管理装置102の物理的構成例を示すブロック図である。FIG. 4 is a block diagram illustrating a physical configuration example of a management device 102 in FIG. 3. 図3に示した画像形成装置遠隔管理システム内で行われるデータ送受信について説明するための通信シーケンスの一例を示す図である。FIG. 4 is a diagram illustrating an example of a communication sequence for describing data transmission and reception performed in the image forming apparatus remote management system illustrated in FIG. 3. その他の通信シーケンスの一例を示す図である。It is a figure showing an example of other communication sequences.

異常の種類を判定するための基準となる情報のテーブルの一例を示す説明図である。FIG. 9 is an explanatory diagram illustrating an example of a table of information serving as a reference for determining a type of abnormality. 図3に示した画像形成装置管理システム内の画像形成装置と仲介装置との間のデータ送受信について説明するための通信シーケンスの一例を示す図である。FIG. 4 is a diagram illustrating an example of a communication sequence for describing data transmission and reception between an image forming apparatus and an intermediary apparatus in the image forming apparatus management system illustrated in FIG. 3. その他の通信シーケンスの一例を示す図である。It is a figure showing an example of other communication sequences. その更に他の通信シーケンスの一例を示す図である。It is a figure which shows an example of the other communication sequence. この発明の通信装置の一例である画像形成装置が外部装置からの要求を受信した場合の通信シーケンスの一例を示すフロー図である。FIG. 7 is a flowchart illustrating an example of a communication sequence when an image forming apparatus, which is an example of the communication apparatus of the present invention, receives a request from an external device. 図17の続きの処理を示すフロー図である。FIG. 18 is a flowchart showing a process continued from FIG. 17.

図18の続きの別の部分の処理を示すフロー図である。FIG. 19 is a flowchart showing the processing of another part following FIG. 18. SOAPリクエストとして送信される機器検索要求のフォーマット例を示す図である。FIG. 9 is a diagram illustrating a format example of a device search request transmitted as a SOAP request. SOAPリクエストとして送信される機器検索応答のフォーマット例を示す図である。FIG. 8 is a diagram illustrating a format example of a device search response transmitted as a SOAP request. 図3の仲介装置が記憶している自身が管理すべき画像形成装置の識別情報の例を示す図である。FIG. 4 is a diagram illustrating an example of identification information of an image forming apparatus to be managed by itself that is stored in the mediation apparatus of FIG. 3. その仲介装置が画像形成装置へ機器検索要求を送信した場合の画像形成装置と仲介装置との間のデータ通信について説明するための通信シーケンスの一例を示す図である。FIG. 7 is a diagram illustrating an example of a communication sequence for describing data communication between the image forming apparatus and the mediation apparatus when the mediation apparatus transmits a device search request to the image forming apparatus. その仲介装置が画像形成装置へ待機設定要求を送信した場合の画像形成装置と仲介装置との間のデータ通信について説明するための通信シーケンスの一例を示す図である。FIG. 6 is a diagram illustrating an example of a communication sequence for explaining data communication between the image forming apparatus and the mediation apparatus when the mediation apparatus transmits a standby setting request to the image forming apparatus.

符号の説明Explanation of reference numerals

10:被管理装置 11:仲介機能付被管理装置 52:CPU 53:SDRAM 54:フラッシュメモリ 55:内部時計 56:Op―Port 57,204:PHY 58,601:モデム 59:HDD制御部 63,201:HDD 70:アプリケーション層 80:サービス層 90:プロトコル層 100:画像形成装置 101:仲介装置 102:管理装置 103:インタネット 104:ファイアウォール 105:CE端末 110:仲介機能付画像形成装置 202:NV−RAM 205:操作パネル 206:プロッタ/スキャナエンジンボード 300:OCS 301:ECS 302:MCS 303:NCS 304:FCS 305:NRS 306:SCS 307:SRM 308:IMH 309:コピーアプリ 310:ファクスアプリ 311:プリンタアプリ 312:スキャナアプリ 313:ネットファイルアプリ 314:ウェブアプリ 315:CSS 316:DCS 320:汎用OS 603:プロキシサーバ 604:操作者端末 605:データベース 606:制御装置 10: Managed Device 11: Managed Device with Mediation Function 52: CPU 53: SDRAM 54: Flash Memory 55: Internal Clock 56: Op-Port 57, 204: PHY 58, 601: Modem 59: HDD Control Unit 63, 201 : HDD 70: Application layer 80: Service layer 90: Protocol layer 100: Image forming device 101: Mediation device 102: Management device 103: Internet 104: Firewall 105: CE terminal 110: Image formation device with mediation function 202: NV-RAM 205: operation panel 206: plotter / scanner engine board 300: OCS 301: ECS 302: MCS 303: NCS 304: FCS 305: NRS 306: SCS 30 : SRM 308: IMH 309: Copy application 310: Fax application 311: Printer application 312: Scanner application 313: Net file application 314: Web application 315: CSS 316: DCS 320: General-purpose OS 603: Proxy server 604: Operator terminal 605 : Database 606: Control device

Claims (25)

外部装置と通信を行う通信手段と、
該通信手段を介して前記外部装置から受信した要求に対して有効な応答を返す要求処理手段とを備えた通信装置であって、
前記要求処理手段を、所定のトリガに応じて該要求処理手段自身の機能を有効状態にする有効化動作を行い、該有効化動作を行うまでは前記受信した要求に対して有効な応答を返さない待機状態に設定する待機設定手段を設けたことを特徴とする通信装置。
Communication means for communicating with an external device;
Request processing means for returning a valid response to the request received from the external device via the communication means,
The request processing means performs an activation operation to activate the function of the request processing means in response to a predetermined trigger, and returns a valid response to the received request until the activation operation is performed. A communication device comprising a standby setting means for setting a standby state.
請求項1記載の通信装置において、
前記要求処理手段は、前記受信した要求が情報取得要求であった場合に、当該通信装置の情報を有効な応答として返す手段であることを特徴とする通信装置。
The communication device according to claim 1,
The communication device, wherein the request processing unit is a unit that returns information of the communication device as a valid response when the received request is an information acquisition request.
外部装置と通信を行う通信手段と、
該通信手段を介して前記外部装置から受信した要求に対して有効な応答を返す要求処理手段とを備えた通信装置であって、
前記要求処理手段を、所定のトリガに応じて該要求処理手段自身の機能を有効状態にする有効化動作を行い、該有効化動作を行うまでは前記受信した要求に対して有効な応答を返さない待機状態に設定する待機設定手段を設け、
前記所定のトリガが、前記外部装置から受信する所定の要求であることを特徴とする通信装置。
Communication means for communicating with an external device;
Request processing means for returning a valid response to the request received from the external device via the communication means,
The request processing means performs an activation operation to activate the function of the request processing means in response to a predetermined trigger, and returns a valid response to the received request until the activation operation is performed. There is provided a standby setting means for setting the standby state,
The communication device according to claim 1, wherein the predetermined trigger is a predetermined request received from the external device.
請求項3記載の通信装置において、
前記要求処理手段は、前記受信した要求が情報取得要求であった場合に、当該通信装置の情報を有効な応答として返す手段であることを特徴とする通信装置。
The communication device according to claim 3,
The communication device, wherein the request processing unit is a unit that returns information of the communication device as a valid response when the received request is an information acquisition request.
請求項3又は4記載の通信装置において、
前記要求処理手段は、前記待機状態においては前記所定の要求以外の要求に対しては機能が無効状態である旨の応答を返す手段を有することを特徴とする通信装置。
The communication device according to claim 3 or 4,
The communication apparatus according to claim 1, wherein said request processing means includes means for returning a response indicating that the function is invalid to a request other than said predetermined request in said standby state.
請求項3乃至5のいずれか一項に記載の通信装置において、
前記所定の要求は、該要求の発信元のアドレス情報を含み、
前記有効化動作の際に該アドレス情報を通信先情報として記憶する通信先情報記憶手段を設けたことを特徴とする通信装置。
The communication device according to any one of claims 3 to 5,
The predetermined request includes address information of a source of the request,
A communication device, further comprising a communication destination information storage unit for storing the address information as communication destination information at the time of the activation operation.
請求項6記載の通信装置において、
前記要求処理手段は、前記通信先情報に係る発信元から受信した要求に対してのみ有効な応答を返すことを特徴とする通信装置。
The communication device according to claim 6,
The communication device according to claim 1, wherein the request processing unit returns a valid response only to a request received from a transmission source related to the communication destination information.
請求項6又は7記載の通信装置において、
前記要求処理手段は、前記待機状態以外でかつ前記通信先情報記憶手段に通信先情報が記憶されている状態で該通信先情報に係る外部装置以外から前記所定の要求を受信した場合には機能が無効状態である旨の応答を返す手段を有することを特徴とする通信装置。
The communication device according to claim 6, wherein
The request processing means functions when the predetermined request is received from a device other than the external device related to the communication destination information while the communication destination information is stored in the communication destination information storage means in a state other than the standby state. A communication device having means for returning a response indicating that is invalid.
請求項3乃至8のいずれか一項に記載の通信装置において、
前記要求処理手段は、前記有効化動作を行う場合に前記所定の要求の発信元に対してその旨を通知する手段を有することを特徴とする通信装置。
The communication device according to any one of claims 3 to 8,
The communication device according to claim 1, wherein the request processing means includes means for notifying a source of the predetermined request of performing the activation operation.
請求項3乃至9のいずれか一項に記載の通信装置において、
前記待機設定手段は、前記外部装置から予め定めた要求を受信した場合に前記要求処理手段を前記待機状態に設定する手段を有することを特徴とする通信装置。
The communication device according to any one of claims 3 to 9,
The communication device according to claim 1, wherein the standby setting unit includes a unit that sets the request processing unit to the standby state when a predetermined request is received from the external device.
請求項1乃至10のいずれか一項に記載の通信装置において、
前記要求処理手段は、外部装置から受信した要求に対して有効な応答を返すか否かを該要求の受信直後にその時点での動作状態を参照して判断するようにしたことを特徴とする通信装置。
The communication device according to any one of claims 1 to 10,
The request processing means is configured to determine whether or not to return a valid response to a request received from an external device by referring to an operation state at that time immediately after receiving the request. Communication device.
請求項1乃至11のいずれか一項に記載の通信装置において、
前記通信手段によって受信する要求及び前記要求処理手段が返す応答は、構造化言語形式で記載されていることを特徴とする通信装置。
The communication device according to any one of claims 1 to 11,
A communication device, wherein the request received by the communication unit and the response returned by the request processing unit are described in a structured language format.
1又は2以上の通信装置と、該通信装置と直接又は間接に接続された外部装置とによって構成される通信装置の遠隔管理システムであって、
前記外部装置は、該通信装置とネットワークによって接続され、前記通信装置に対して各種要求を送信する要求送信手段を有する遠隔管理仲介装置と、該遠隔管理仲介装置とインタネットによって接続され、前記遠隔管理仲介装置に前記各種要求を送信させることによって該遠隔管理仲介装置に接続された前記通信装置の管理を行う管理装置とを含み、
前記通信装置に、前記外部装置と通信を行う通信手段と、該通信手段を介して前記外部装置から受信した要求に対して有効な応答を返す要求処理手段と、該要求処理手段を、所定のトリガに応じて該要求処理手段自身の機能を有効状態にする有効化動作を行い、該有効化動作を行うまでは前記受信した要求に対して有効な応答を返さない待機状態に設定する待機設定手段とを設け、
前記所定のトリガは、前記外部装置から受信する所定の要求であることを特徴とする通信装置の遠隔管理システム。
A remote management system for a communication device including one or more communication devices and an external device connected directly or indirectly to the communication device,
The external device is connected to the communication device via a network, has a remote management intermediary device having request transmitting means for transmitting various requests to the communication device, and is connected to the remote management intermediation device via the Internet, and the remote management A management device that manages the communication device connected to the remote management mediation device by causing the mediation device to transmit the various requests,
A communication means for communicating with the external device, a request processing means for returning a valid response to a request received from the external device via the communication means, A standby setting for performing an activation operation to activate the function of the request processing means itself in response to a trigger and setting a standby state in which a valid response is not returned to the received request until the activation operation is performed. Means and
The remote management system for a communication device, wherein the predetermined trigger is a predetermined request received from the external device.
請求項13記載の通信装置の遠隔管理システムにおいて、
前記遠隔管理仲介装置の要求送信手段は、定期的に前記通信装置に対して前記所定の要求を送信することを特徴とする通信装置の遠隔管理システム。
The remote management system for a communication device according to claim 13,
The remote management system for a communication device, wherein the request transmission unit of the remote management mediation device periodically transmits the predetermined request to the communication device.
請求項13又は14記載の通信装置の遠隔管理システムにおいて、
前記遠隔管理仲介装置は、各種指示を入力する操作部を備え、
前記遠隔管理仲介装置の要求送信手段は、前記操作部からの指示に従って前記通信装置に対して前記所定の要求を送信することを特徴とする通信装置の遠隔管理システム。
The remote management system for a communication device according to claim 13 or 14,
The remote management mediation device includes an operation unit for inputting various instructions,
The request transmitting means of the remote management mediation device transmits the predetermined request to the communication device in accordance with an instruction from the operation unit, the remote management system for a communication device.
請求項13乃至15のいずれか一項に記載の通信装置の遠隔管理システムにおいて、
前記遠隔管理仲介装置に、自身が管理すべき通信装置の識別情報を記憶する記憶手段を設け、
前記遠隔管理仲介装置の要求送信手段は、前記所定の要求を送信する場合には、前記該識別情報に対応する通信装置にのみ送信することを特徴とする通信装置の遠隔管理システム。
The remote management system for a communication device according to any one of claims 13 to 15,
The remote management mediation device is provided with storage means for storing identification information of a communication device to be managed by itself.
The request transmitting means of the remote management intermediary device, when transmitting the predetermined request, transmits the request only to the communication device corresponding to the identification information.
請求項13乃至16のいずれか一項に記載の通信装置の遠隔管理システムにおいて、
前記通信装置に、前記要求処理手段によって前記有効化動作が行われた場合に、前記遠隔管理仲介装置を介して前記管理装置との間で通信試験を行う手段を設けたことを特徴とする通信装置の遠隔管理システム。
The remote management system for a communication device according to any one of claims 13 to 16,
The communication device further comprising means for performing a communication test with the management device via the remote management mediation device when the validation operation is performed by the request processing means. Equipment remote management system.
請求項13乃至17のいずれか一項に記載の通信装置の遠隔管理システムにおいて、
前記通信装置の前記待機設定手段は、前記外部装置から予め定めた要求を受信した場合に、前記要求処理手段を前記待機状態に設定する手段を有することを特徴とする通信装置の遠隔管理システム。
The remote management system for a communication device according to any one of claims 13 to 17,
The remote management system for a communication device, wherein the standby setting unit of the communication device includes a unit that sets the request processing unit to the standby state when a predetermined request is received from the external device.
1又は2以上の通信装置と、該通信装置とネットワークによって接続され、前記通信装置に対して各種要求を送信する要求送信手段を有する遠隔管理仲介装置と、該遠隔管理仲介装置とインタネットによって接続され、前記遠隔管理仲介装置に前記各種要求を送信させることによって該遠隔管理仲介装置に接続された前記通信装置の管理を行う管理装置とによって構成される通信装置の遠隔管理システムであって、
前記遠隔管理仲介装置に、前記管理装置に対して定期的に送信要求があるかどうかの問い合わせを行う送信要求有無問合手段を設け、
前記遠隔管理仲介装置の要求送信手段は、前記送信要求有無問合手段による前記管理装置への送信要求の問い合わせに対して、該管理装置から要求を受信した場合にのみ、該要求を前記通信装置へ送信する手段であり、
前記通信装置に、前記遠隔管理仲介装置と通信を行う通信手段と、該通信手段を介して前記遠隔管理仲介装置から受信した要求に対して有効な応答を返す要求処理手段と、該要求処理手段を、所定のトリガに応じて該要求処理手段自身の機能を有効状態にする有効化動作を行い、該有効化動作を行うまでは前記受信した要求に対して有効な応答を返さない待機状態に設定する待機設定手段とを設けたことを特徴とする通信装置の遠隔管理システム。
One or more communication devices, a remote management mediation device connected to the communication device via a network, and having a request transmitting unit for transmitting various requests to the communication device; and a remote management mediation device connected to the remote management mediation device via the Internet. A remote management system for a communication device, comprising: a management device that manages the communication device connected to the remote management mediation device by transmitting the various requests to the remote management mediation device,
The remote management intermediary device is provided with a transmission request presence / absence inquiry unit that periodically inquires the management device whether there is a transmission request,
The request sending means of the remote management mediation device, the request for the transmission request to the management device by the transmission request presence inquiry means, only when a request is received from the management device, the request is transmitted to the communication device Means to send to
Communication means for communicating with the remote management mediation device, request processing means for returning a valid response to a request received from the remote management mediation device via the communication means, the request processing means, Performs an activation operation to activate the function of the request processing means itself in response to a predetermined trigger, and enters a standby state in which a valid response to the received request is not returned until the activation operation is performed. A remote management system for a communication device, comprising a standby setting unit for setting.
外部装置と通信を行う通信手段と、
該通信手段を介して前記外部装置から受信した要求に対して有効な応答を返す要求処理手段とを備えた通信装置の制御方法であって、
前記要求処理手段に、所定のトリガに応じて該要求処理手段自身の機能を有効状態にする有効化動作を行い、該有効化動作を行うまでは前記受信した要求に対して有効な応答を返さない待機状態の動作を行わせることを特徴とする通信装置の制御方法。
Communication means for communicating with an external device;
Request processing means for returning a valid response to a request received from the external device via the communication means, the control method of a communication device,
The request processing means performs an activation operation to activate the function of the request processing means in response to a predetermined trigger, and returns a valid response to the received request until the activation operation is performed. A method for controlling a communication device, wherein an operation in an idle state is performed.
請求項20記載の通信装置の制御方法において、
前記所定のトリガとして、前記外部装置から受信する所定の要求を用いることを特徴とする通信装置の制御方法。
The control method for a communication device according to claim 20,
A method for controlling a communication device, wherein a predetermined request received from the external device is used as the predetermined trigger.
請求項21記載の通信装置の制御方法において、
前記所定の要求は、該要求の発信元のアドレス情報を含むものであり、
前記有効化動作の際に該アドレス情報を通信先情報として記憶しておき、
前記要求処理手段に、前記通信先情報に係る発信元から受信した命令に対してのみ有効な応答を返させることを特徴とする通信装置の制御方法。
The control method for a communication device according to claim 21,
The predetermined request includes address information of a source of the request,
At the time of the activation operation, the address information is stored as communication destination information,
A control method for a communication device, characterized by causing the request processing means to return a valid response only to a command received from a source related to the communication destination information.
外部装置と通信を行う通信手段を備えた通信装置を制御するコンピュータに、
前記通信手段を介して前記外部装置から受信した要求に対して有効な応答を返す要求処理機能と、
該要求処理機能を、所定のトリガに応じて該要求処理機能自身の機能を有効状態にする有効化動作を行い、該有効化動作を行うまでは前記受信した要求に対して有効な応答を返さない待機状態に設定する待機設定機能とを実現させるためプログラム。
A computer that controls a communication device including a communication unit that performs communication with an external device,
A request processing function for returning a valid response to a request received from the external device via the communication unit,
The request processing function performs an activation operation to activate the function of the request processing function itself in response to a predetermined trigger, and returns a valid response to the received request until the activation operation is performed. A program to realize the standby setting function to set the standby state.
請求項23記載のプログラムにおいて、
前記所定のトリガは、前記外部装置から受信する所定の要求であることを特徴とするプログラム。
The program according to claim 23,
The program is characterized in that the predetermined trigger is a predetermined request received from the external device.
請求項23又は24記載のプログラムにおいて、
前記所定の要求は、該要求の発信元のアドレス情報を含むものであり、
前記コンピュータに、前記有効化動作の際に該アドレス情報を通信先情報として記憶手段に記憶させる機能をも実現させるプログラムを含み、
前記要求処理機能は、前記通信先情報に係る発信元から受信した要求に対してのみ有効な応答を返す機能であることを特徴とするプログラム。
The program according to claim 23 or 24,
The predetermined request includes address information of a source of the request,
The computer includes a program that also realizes a function of storing the address information as communication destination information in a storage unit at the time of the enabling operation,
The program according to claim 1, wherein the request processing function is a function of returning a valid response only to a request received from a transmission source related to the communication destination information.
JP2003328670A 2002-11-13 2003-09-19 Remote management system and its communication device, control method, and program Expired - Fee Related JP4347645B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003328670A JP4347645B2 (en) 2002-11-13 2003-09-19 Remote management system and its communication device, control method, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002329763 2002-11-13
JP2003328670A JP4347645B2 (en) 2002-11-13 2003-09-19 Remote management system and its communication device, control method, and program

Publications (2)

Publication Number Publication Date
JP2004180276A true JP2004180276A (en) 2004-06-24
JP4347645B2 JP4347645B2 (en) 2009-10-21

Family

ID=32716189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003328670A Expired - Fee Related JP4347645B2 (en) 2002-11-13 2003-09-19 Remote management system and its communication device, control method, and program

Country Status (1)

Country Link
JP (1) JP4347645B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006260220A (en) * 2005-03-17 2006-09-28 Ricoh Co Ltd Information processor, program and storage medium
JP2006293978A (en) * 2005-03-18 2006-10-26 Ricoh Co Ltd Communication apparatus, method for controlling communication apparatus, communication system, program and recording medium
JP2008182295A (en) * 2007-01-23 2008-08-07 Sharp Corp Image processor, image processor management system, and setting change processing method for image processor
JP2008295025A (en) * 2007-04-27 2008-12-04 Daikin Ind Ltd Group control apparatus and group control program
JP2010108156A (en) * 2008-10-29 2010-05-13 Mitsubishi Electric Corp Hierarchical type resource monitoring system
JP2013207654A (en) * 2012-03-29 2013-10-07 Mitsubishi Electric Building Techno Service Co Ltd Remote management terminal and remote monitoring service system
WO2014142339A1 (en) * 2013-03-15 2014-09-18 Ricoh Company, Ltd. Information processing system, information processing method and program
WO2016098328A1 (en) * 2014-12-17 2016-06-23 株式会社デンソー Vehicular communication apparatus and reset guard function control program product

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4713189B2 (en) * 2005-03-17 2011-06-29 株式会社リコー Information processing apparatus, program, and recording medium
JP2006260220A (en) * 2005-03-17 2006-09-28 Ricoh Co Ltd Information processor, program and storage medium
JP2006293978A (en) * 2005-03-18 2006-10-26 Ricoh Co Ltd Communication apparatus, method for controlling communication apparatus, communication system, program and recording medium
JP4728767B2 (en) * 2005-03-18 2011-07-20 株式会社リコー COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, COMMUNICATION SYSTEM, PROGRAM, AND RECORDING MEDIUM
JP2008182295A (en) * 2007-01-23 2008-08-07 Sharp Corp Image processor, image processor management system, and setting change processing method for image processor
JP2008295025A (en) * 2007-04-27 2008-12-04 Daikin Ind Ltd Group control apparatus and group control program
JP4582167B2 (en) * 2007-04-27 2010-11-17 ダイキン工業株式会社 Group management device and group management program
JP2010108156A (en) * 2008-10-29 2010-05-13 Mitsubishi Electric Corp Hierarchical type resource monitoring system
JP2013207654A (en) * 2012-03-29 2013-10-07 Mitsubishi Electric Building Techno Service Co Ltd Remote management terminal and remote monitoring service system
WO2014142339A1 (en) * 2013-03-15 2014-09-18 Ricoh Company, Ltd. Information processing system, information processing method and program
US9800318B2 (en) 2013-03-15 2017-10-24 Ricoh Company, Ltd. Information processing system for operating devices connected to different networks using single process request
US10277301B2 (en) 2013-03-15 2019-04-30 Ricoh Company, Ltd. Information processing system, information processing method and program
WO2016098328A1 (en) * 2014-12-17 2016-06-23 株式会社デンソー Vehicular communication apparatus and reset guard function control program product

Also Published As

Publication number Publication date
JP4347645B2 (en) 2009-10-21

Similar Documents

Publication Publication Date Title
JP4019038B2 (en) Communication device, communication device remote management system, communication device control method, and program
JP4408033B2 (en) Remote management system
US8166153B2 (en) Remote control system and controlled apparatus therein capable of sending e-mail if communication request fails
US20040133674A1 (en) Remote management system, electronic apparatus, control method, and program that reduce communication costs in occurrence of abnormality
JP5550504B2 (en) Image forming apparatus and control method
JP4347645B2 (en) Remote management system and its communication device, control method, and program
JP4184247B2 (en) Management device, remote management system, and program
US20040168109A1 (en) Efficient remote management of devices by accurately removing abnormal condition reports
JP2008182295A (en) Image processor, image processor management system, and setting change processing method for image processor
JP4381839B2 (en) Electronic device, remote management system thereof, log management method and program
JP4163550B2 (en) Remote management system and its intermediary device, management device, secret information setting method, and program
JP4327541B2 (en) Remote management system, managed device, and program
JP4809272B2 (en) Remote management system and management information acquisition control method
JP2008065839A (en) Communication apparatus, remote control system, control method of communication apparatus, program, and recording medium
US20040158632A1 (en) Recovery of interrupted communication for remote management of devices
JP4133579B2 (en) Image processing device management system
JP4744808B2 (en) Communication device, remote management system and program thereof
JP2004295866A (en) Electronic device, its remote management system, log management method and program
JP2004208295A (en) Communication device, remote management system and control mehtod of communication device, and program
JP4964486B2 (en) Management device, managed device, mediation device, remote management system, communication method, and program
JP3958676B2 (en) COMMUNICATION DEVICE, ITS REMOTE MANAGEMENT SYSTEM, ABNORMAL TRANSMISSION METHOD AND PROGRAM
JP4298494B2 (en) Management device, remote management system, and counter monitoring type remote management method
JP2008065780A (en) Device, device management program and storage medium
JP4767036B2 (en) Image forming apparatus and computer program
JP2004287564A (en) Communication device, remote management system, method for controlling communication device, program, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051013

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071105

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080324

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081014

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081205

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: 20090714

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090716

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120724

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120724

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130724

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees