JP6142594B2 - Relay device, relay method, relay program, and relay system - Google Patents
Relay device, relay method, relay program, and relay system Download PDFInfo
- Publication number
- JP6142594B2 JP6142594B2 JP2013054088A JP2013054088A JP6142594B2 JP 6142594 B2 JP6142594 B2 JP 6142594B2 JP 2013054088 A JP2013054088 A JP 2013054088A JP 2013054088 A JP2013054088 A JP 2013054088A JP 6142594 B2 JP6142594 B2 JP 6142594B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- relay
- processing
- management
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Computer And Data Communications (AREA)
Description
本発明は、管理装置とデバイス側との通信を中継する中継装置、この中継装置で用いられる中継方法と中継プログラム、及びデバイスとこのデバイスを管理する管理装置に接続される中継システムに関する。 The present invention relates to a relay device that relays communication between a management device and a device side, a relay method and a relay program used in the relay device, and a relay system connected to a device and a management device that manages the device.
プリンタやスキャナ、複合機などの各種デバイスをクラウド側から管理するサービスが普及しつつある。このようなデバイス管理サービスの1つとして、MPS(Managed Print Service )が知られている。MPSは、クラウド側に設けた管理装置からネットワークを介して複数の印刷用デバイスを遠隔管理するサービスである。 Services that manage various devices such as printers, scanners, and multifunction devices from the cloud side are becoming widespread. MPS (Managed Print Service) is known as one of such device management services. MPS is a service for remotely managing a plurality of printing devices via a network from a management apparatus provided on the cloud side.
MPS等のデバイス管理サービスを実現するための具体的技術は種々提案されている。例えば特許文献1には、複合機で異常が発生した場合に、その複合機からインターネットを介して特定のプロトコルで管理サーバへ異常発生を通知する技術が記載されている。 Various specific techniques for realizing device management services such as MPS have been proposed. For example, Patent Document 1 describes a technique for notifying an abnormality occurrence to a management server using a specific protocol from the multifunction device via the Internet when an abnormality occurs in the multifunction device.
しかし、特許文献1に記載の技術は、複合機側から管理サーバへ情報を送信するものであるため、管理サーバ側から主体的に複合機を管理することが困難である。そのため、デバイス管理サービスとして提供可能なサービスの種類は制限される。 However, since the technology described in Patent Document 1 transmits information from the multifunction device side to the management server, it is difficult to manage the multifunction device independently from the management server side. Therefore, the types of services that can be provided as device management services are limited.
また、管理対象のデバイスの数が多くなればなるほど、またサービスの種類が多様化すればするほど、管理装置において処理システムの複雑化や処理負荷の増大を招く。
本発明は上記課題に鑑みなされたものであり、管理対象のデバイスをその数にかかわらず管理装置側から主体的かつ効率的に管理できるようにすることを目的とする。
In addition, as the number of devices to be managed increases and the types of services become more diversified, the management apparatus becomes more complicated and the processing load increases.
The present invention has been made in view of the above problems, and an object of the present invention is to be able to manage a device to be managed independently and efficiently from the management device side regardless of the number of devices.
上記課題を解決するためになされた本発明の中継装置は、管理装置と少なくとも1つのデバイス接続装置との通信を中継するものである。少なくとも1つのデバイス接続装置は、少なくとも1つのデバイスとネットワークを介して常時接続型の第1の通信プロトコルを用いて相互に通信可能であって、本発明の中継装置との間でネットワークを介してリクエスト−レスポンス型の第2の通信プロトコルを用いて相互に通信可能である。管理装置は、本発明の中継装置との間でネットワークを介して第2の通信プロトコルを用いて相互に通信可能である。 The relay device of the present invention made to solve the above-described problem relays communication between a management device and at least one device connection device. At least one device connection apparatus can communicate with at least one device via the network using the always-connected first communication protocol, and with the relay apparatus of the present invention via the network. It is possible to communicate with each other using a request-response type second communication protocol. The management apparatus can communicate with the relay apparatus of the present invention using the second communication protocol via the network.
本発明の中継装置は、ネットワークと接続されてデータ送受信が可能な通信部と、制御部とを備え、制御部は、コマンド中継処理と、処理結果中継処理とを実行する。
コマンド中継処理は、管理装置から、少なくとも1つのデバイスを対象デバイスとしてその少なくとも1つの対象デバイスを直接又は間接に示すデバイス特定情報及びその少なくとも1つの対象デバイスについて要求する処理を示す処理情報を含む一括管理コマンドを第2の通信プロトコルを用いた通信により受信した場合に、対象デバイス毎に、その対象デバイスを示す個別特定情報及び処理情報を含む個別管理コマンドを通信部からデバイス接続装置へ第2の通信プロトコルを用いた通信で送信させることにより処理情報に応じた処理を実行させて、その処理結果をデバイス接続装置から第2の通信プロトコルを用いた通信により通信部を介して取得する処理である。
The relay device of the present invention includes a communication unit that is connected to a network and can transmit and receive data, and a control unit, and the control unit executes command relay processing and processing result relay processing.
The command relay process includes, from the management apparatus, at least one device as a target device, device identification information that directly or indirectly indicates the at least one target device, and batch information including processing information that indicates processing requested for the at least one target device When the management command is received by communication using the second communication protocol, for each target device, an individual management command including individual identification information and processing information indicating the target device is sent from the communication unit to the device connection apparatus. This is processing for executing processing according to processing information by transmitting by communication using a communication protocol, and acquiring the processing result from the device connection apparatus via communication using the second communication protocol. .
処理結果中継処理は、コマンド中継処理により取得した対象デバイス毎の処理結果を通信部から管理装置へ送信させる処理である。
このように構成された本発明の中継装置は、管理装置から一括管理コマンドを受信すると、その一括管理コマンドで指定されている対象デバイスについて個別に、個別管理コマンドをデバイス接続装置へ送信して処理結果を取得し、管理装置へ送信する。つまり、管理装置からみれば、どのデバイスについてどのような処理をしてほしいといった内容を示す一括管理コマンドを中継装置へ送信すれば、中継装置がその一括管理コマンドに基づいて対象デバイス一つ一つについて処理の要求を代行し、処理結果を返してくれる。
The process result relay process is a process for transmitting the process result for each target device acquired by the command relay process from the communication unit to the management apparatus.
When the relay apparatus of the present invention configured as described above receives a collective management command from the management apparatus, it individually transmits the individual management command to the device connection apparatus and processes the target device specified by the collective management command. Obtain the result and send it to the management device. In other words, from the point of view of the management device, if a batch management command is sent to the relay device indicating what kind of processing is desired for which device, the relay device will be able to apply each target device based on the batch management command. Substitutes the processing request for and returns the processing result.
そのため、本発明の中継装置によれば、管理対象のデバイスをその数にかかわらず管理装置側から主体的かつ効率的に管理することができる。
本発明の中継装置において制御部が実行する各処理は、それぞれ、コンピュータにそれら各処理を実行させるための中継プログラムとして実現することができる。
Therefore, according to the relay apparatus of the present invention, the management target devices can be managed proactively and efficiently from the management apparatus side regardless of the number of devices.
Each process executed by the control unit in the relay apparatus of the present invention can be realized as a relay program for causing a computer to execute each process.
また、上記課題を解決するためになされた本発明の中継システムは、少なくとも1つのデバイスとネットワークを介して常時接続型の第1の通信プロトコルを用いて相互に通信可能であって、且つ管理装置とネットワークを介してリクエスト−レスポンス型の第2の通信プロトコルを用いて相互に通信可能に構成された中継システムであり、処理部と、処理結果中継部とを備えている。 Also, the relay system of the present invention made to solve the above problems is capable of communicating with at least one device through a network using the always-connected first communication protocol, and a management device And a relay system configured to be able to communicate with each other using a request-response type second communication protocol via a network, and includes a processing unit and a processing result relay unit.
処理部は、管理装置から、少なくとも1つのデバイスを対象デバイスとしてその少なくとも1つの対象デバイスを直接又は間接に示すデバイス特定情報及びその少なくとも1つの対象デバイスについて要求する処理を示す処理情報を含む一括管理コマンドを第2の通信プロトコルを用いた通信により受信した場合に、対象デバイス毎に、処理情報に応じた処理を実行してその処理結果を取得する。 The processing unit includes collective management including, from the management apparatus, device specifying information that directly or indirectly indicates at least one target device as at least one device as a target device, and processing information indicating processing requested for the at least one target device. When the command is received by communication using the second communication protocol, processing corresponding to the processing information is executed for each target device, and the processing result is acquired.
処理結果中継部は、処理部により取得された対象デバイス毎の処理結果を管理装置へ送信する。
このように構成された本発明の中継システムは、管理装置から一括管理コマンドを受信すると、その一括管理コマンドで指定されている対象デバイスについて個別に、要求された処理を実行してその結果を取得し、管理装置へ送信する。そのため、管理対象のデバイスをその数にかかわらず管理装置側から主体的かつ効率的に管理することができる。
The processing result relay unit transmits the processing result for each target device acquired by the processing unit to the management apparatus.
When the relay system of the present invention configured as described above receives a collective management command from the management apparatus, it individually executes the requested processing for the target device specified by the collective management command and obtains the result. To the management device. Therefore, the management target device can be managed proactively and efficiently from the management apparatus side regardless of the number of devices.
本発明の中継システムは、少なくとも1つのデバイス接続装置と管理装置を備えた構成とすることができる。少なくとも1つのデバイス接続装置は、少なくとも1つのデバイスとネットワークを介して第1の通信プロトコルを用いた通信が可能である。中継装置は、少なくとも1つのデバイス接続装置及び管理装置とネットワークを介して第2の通信プロトコルを用いた通信が可能である。 The relay system of the present invention can be configured to include at least one device connection apparatus and a management apparatus. At least one device connection apparatus can communicate with at least one device via the network using the first communication protocol. The relay apparatus can communicate with at least one device connection apparatus and management apparatus using the second communication protocol via the network.
この場合、中継装置は、コマンド中継部と処理結果中継部を備え、デバイス接続装置は処理実行部と処理結果送信部を備えた構成とすることができる。
具体的には、中継装置において、コマンド中継部は、処理部の機能の一部を実現するものであって、管理装置から第2の通信プロトコルを用いた通信により一括管理コマンドを受信した場合に、対象デバイス毎に、その対象デバイスを示す個別特定情報及び処理情報を含む個別管理コマンドを第2の通信プロトコルを用いた通信によりデバイス接続装置へ送信して、その個別管理コマンドに対するデバイス接続装置からの処理結果を第2の通信プロトコルを用いた通信により受信する。処理結果中継部は、コマンド中継部により受信された対象デバイス毎の処理結果を第2の通信プロトコルを用いた通信により管理装置へ送信する。
In this case, the relay device may include a command relay unit and a processing result relay unit, and the device connection device may include a processing execution unit and a processing result transmission unit.
Specifically, in the relay device, the command relay unit realizes a part of the function of the processing unit, and when a batch management command is received from the management device by communication using the second communication protocol. For each target device, an individual management command including individual identification information and processing information indicating the target device is transmitted to the device connection apparatus by communication using the second communication protocol, and the device connection apparatus corresponding to the individual management command is transmitted. Is received by communication using the second communication protocol. The processing result relay unit transmits the processing result for each target device received by the command relay unit to the management apparatus by communication using the second communication protocol.
また、デバイス接続装置において、処理実行部は、処理部の機能の一部を実現するものであって、中継装置から第2の通信プロトコルを用いた通信により個別管理コマンドを受信した場合に、その個別管理コマンドに基づいて、対応する対象デバイスに対する処理情報に応じた処理を実行する。処理結果送信部は、処理実行部による処理結果を第2の通信プロトコルを用いた通信により中継装置へ送信する。 Further, in the device connection apparatus, the processing execution unit realizes a part of the function of the processing unit, and when the individual management command is received from the relay device by communication using the second communication protocol, Based on the individual management command, processing corresponding to the processing information for the corresponding target device is executed. The processing result transmission unit transmits the processing result by the processing execution unit to the relay device by communication using the second communication protocol.
このように、中継システムを、中継装置と少なくとも1つのデバイス接続装置とを備えた構成とし、これら各装置で中継システムの機能・役割を分担することで、多種多様な管理サービスを効率的に提供することが可能となる。 In this way, the relay system is configured to include a relay device and at least one device connection device, and each device shares the functions and roles of the relay system, thereby efficiently providing a wide variety of management services. It becomes possible to do.
以下に、本発明の好適な実施形態を図面に基づいて説明する。なお、本発明は、下記の実施形態に示された具体的手段や構造等に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の形態を採り得る。また、下記の実施形態の構成の一部を、課題を解決できる限りにおいて省略した態様も本発明の実施形態であり、下記の複数の実施形態を適宜組み合わせて構成される態様も本発明の実施形態である。 Preferred embodiments of the present invention will be described below with reference to the drawings. In addition, this invention is not limited to the specific means, structure, etc. which are shown by the following embodiment, In the range which does not deviate from the summary of this invention, various forms can be taken. In addition, aspects in which part of the configuration of the following embodiment is omitted as long as the problem can be solved are also embodiments of the present invention, and an aspect configured by appropriately combining the following embodiments is also an embodiment of the present invention. It is a form.
[第1実施形態]
(1)MPSシステム1の概要
図1に示すように、本実施形態のMPSシステム1は、複数のMFP(Multi Function Peripheral ;複合機)10と、ルータ18と、複数の管理FE(フロントエンド)20と、ログDB(データベース)30と、デバイス接続サーバ40と、中継装置50とを備えている。
[First Embodiment]
(1) Outline of MPS System 1 As shown in FIG. 1, the MPS system 1 of this embodiment includes a plurality of MFPs (Multi Function Peripheral) 10, a
MPSとは、マネージド・プリント・サービスの略称であり、プリンタや複写機、複合機などの印刷機能を備えたデバイスの各種マネジメントに関するアウトソーシング・サービスである。MPSは、各種デバイスによる印刷環境全体を管理し、顧客の印刷ニーズを満たすために全契約期間にわたってニーズの変化やオフィス環境の変化などに対応したサービスを行い、最適な出力環境を提供するものである。MPSで提供されるサービスには、例えば、デバイス本体のリース、消耗品の自動発注、印刷枚数に応じた課金、印刷状況のレポート化、印刷枚数の制限、デバイスのステータスの通知などがある。 MPS is an abbreviation for Managed Print Service, and is an outsourcing service related to various types of management of devices having printing functions such as printers, copiers, and multifunction machines. MPS manages the entire printing environment with various devices, provides services that respond to changes in needs and office environments over the entire contract period to meet the printing needs of customers, and provides an optimal output environment. is there. Services provided by the MPS include, for example, leasing of the device main body, automatic ordering of consumables, billing according to the number of printed sheets, printing status reporting, printing number limiting, device status notification, and the like.
本実施形態のMPSシステム1は、MPSを提供するサービス提供業者が、サービス提供対象の顧客の各MFP10をそれぞれ個別に管理することができるよう構成されたものである。具体的には、サービス提供業者は、自社用の管理FE20から、中継装置50を介して、管理対象の各MFP10にアクセスしたりログDB30にアクセスしたりすることで、顧客のニーズに応じて各MFP10を個別に管理することができる。
The MPS system 1 of the present embodiment is configured such that a service provider that provides an MPS can individually manage each
各MFP10は、それぞれ、ルータ18を介してインターネット(クラウド)5上の各種リソースに接続可能であり、本実施形態では少なくともログDB30及びデバイス接続サーバ40に接続して相互にデータ通信可能である。
Each
ルータ18は、複数のMFP10とインターネット5上の各種リソースとのデータ通信を中継するための周知のデータ中継装置である。ルータ18は、ファイアウォール機能やアドレス変換機能(例えばNAT)などの各種機能を備えている。
The
ルータ18からみてインターネット5およびこれに接続される各種リソースはいわゆるクラウドであり、一方、ルータ18及びこれに接続された各MFP10からなるネットワーク7は、いわゆるLAN(Local Area Network)である。クラウド側では、各管理FE20、ログDB30、デバイス接続サーバ40、及び中継装置50がインターネット5に接続されている。
The Internet 5 and various resources connected to the Internet 5 as viewed from the
LAN内の各MFP10は、ルータ18を介してクラウド上のログDB30やデバイス接続サーバ40とデータ通信することが可能である。また、クラウド側においては、中継装置50は、各管理FE20、デバイス接続サーバ40、及びログDB30とインターネット5を介して相互にデータ通信可能である。
Each
ルータ18において、ファイアウォール機能は、ルータ18内のネットワーク7(LAN)に対する外部(インターネット5側)からの不正侵入を防止する機能である。ファイアウォール機能では、外部との境界を流れるデータを監視し、不正なアクセスを検出・遮断する。アドレス変換機能は、ルータ18内のネットワーク7でのみ通用するプライベートIPアドレスと、インターネット5上のグローバルIPアドレスとを、1対1で相互変換する機能である。
In the
ファイアウォール機能とアドレス変換機能の具体的動作について説明する。例として、何れか1つのMFP10とデバイス接続サーバ40又はログDB30との間にコネクションが確立される場合にルータ18で行われる動作を説明する。ファイアウォール機能およびアドレス変換機能の動作は、MFP10と通信相手とのコネクションが、リクエスト−レスポンス型のプロトコルに従って確立されるか、それとも常時接続型のプロトコルに従って確立されるか、によって異なる。
Specific operations of the firewall function and the address translation function will be described. As an example, an operation performed by the
常時接続型のプロトコルとは、接続(セッション)をできるだけ(連続的又は断続的に)維持して、双方から任意のタイミングで通信を行える形式のプロトコルである。リクエスト−レスポンス型のプロトコルとは、リクエストに対してレスポンスで返信する形式のプロトコルである。本実施形態では、一例として、常時接続型のプロトコルとしてXMPP over BOSH(eXtensible Messaging and Presence Protocol over Bidirectional-streams Over Synchronous HTTP の略)が用いられ、リクエスト−レスポンス型のプロトコルとしてHTTP(Hypertext Transfer Protocol の略)が用いられる。 The always-on type protocol is a protocol in which a connection (session) is maintained (continuously or intermittently) as much as possible, and communication can be performed at any timing from both sides. The request-response type protocol is a protocol in a form of returning a response to a request. In this embodiment, as an example, XMPP over BOSH (abbreviation of eXtensible Messaging and Presence Protocol over Bidirectional-streams Over Synchronous HTTP) is used as an always-on type protocol, and HTTP (Hypertext Transfer Protocol) is used as a request-response type protocol. Abbreviation) is used.
具体的には、本実施形態では、MFP10とデバイス接続サーバ40との通信は主に常時接続型のXMPP over BOSHによるコネクションを介して行われ、MFP10とログDB30との通信は主にリクエストーレスポンス型のHTTPによるコネクションを介して行われる。なお、中継装置50とデバイス接続サーバ40との通信、中継装置50とログDB30との通信、及び中継装置50と各管理FE20との通信も、主にHTTPによるコネクションを介して行われる。
Specifically, in the present embodiment, the communication between the
常時接続型のプロトコルであるXMPP over BOSHによるXMPPセッション要求に従ったコネクション(以下「XMPPコネクション」ともいう)がデバイス接続サーバ40とMFP10との間で確立される場合、ルータ18のファイアウォール機能は、デバイス接続サーバ40とMFP10との通信を全て通過させる。またルータ18のアドレス変換機能は、デバイス接続サーバ40とMFP10との全ての通信に対してアドレス変換を実行する。これらの動作は、ルータ18が、XMPPコネクションを維持している通信相手を識別することによって実現される。これにより、XMPPコネクションを用いる場合には、デバイス接続サーバ40からMFP10へのリクエスト情報を通過させることが可能となる。
When a connection according to an XMPP session request by XMPP over BOSH, which is an always-connected protocol (hereinafter also referred to as “XMPP connection”) is established between the
リクエスト−レスポンス型のプロトコルであるHTTPに従ったコネクション(以下「HTTPコネクション」ともいう)がMFP10とログDB30との間で確立される場合、ルータ18のファイアウォール機能は、MFP10からログDB30へのリクエスト情報、及びログDB30からMFP10へのレスポンス情報は通過させる。しかし、ファイアウォール機能は、ログDB30からMFP10へのリクエスト情報は遮断する。これは、ファイアウォールの外部からのリクエスト情報には、不正アクセスや侵入のためのリクエスト情報が含まれている危険性があるためである。この機能は、ルータ18のファイアウォール機能が、MFP10からログDB30へ送信されたリクエスト情報に対するレスポンス情報を識別することによって実現される。
When a connection according to HTTP, which is a request-response type protocol (hereinafter also referred to as “HTTP connection”) is established between the
また、ルータ18のアドレス変換機能は、MFP10からログDB30へのリクエスト情報、及びログDB30からMFP10へのレスポンス情報については、アドレス変換を行う。しかし、アドレス変換機能は、ログDB30からMFP10へのリクエスト情報についてはアドレス変換を実行できない。従って、ログDB30からMFP10へのリクエスト情報は遮断される。これらの動作は、ルータ18が、MFP10からログDB30へ送信されたリクエスト情報に対するレスポンス情報を識別することによって実現される。
The address conversion function of the
ここで、MFP10とデバイス接続サーバ40との間にXMPP接続を確立するための手順について説明する。MFP10は、MFP10の電源がOFF状態からON状態に変化する場合に、BOSH(Bidirectional-streams Over Synchronous HTTP の略)の要求信号(即ちHTTPリクエスト)をデバイス接続サーバ40に送信する。この要求信号は、XMPP接続で利用されるべきセッションIDの送信を、デバイス接続サーバ40に要求するための信号である。
Here, a procedure for establishing an XMPP connection between the
なお、MFP10は、MFP10の電源がOFF状態からON状態に変化する場合のみならず、以下の状況でも、要求信号をデバイス接続サーバ40に送信してもよい。例えば、MFP10は、MFP10の通信リンクの状態が、リンクダウン状態(例えばケーブルが通信部17に挿入されていない状態)から、リンクアップ状態(例えばケーブルが通信部17に挿入されている状態)に変化する場合に、要求信号をデバイス接続サーバ40に送信してもよい。また、例えば、MFP10は、MFP10の通信設定が、インターネット通信を禁止する設定から、インターネット通信を許容する設定に変化する場合に、要求信号をデバイス接続サーバ40に送信してもよい。即ち、一般的に言うと、MFP10は、XMPP接続が確立されていない状態で、要求信号をデバイス接続サーバ40に送信すればよい。
Note that the
デバイス接続サーバ40は、MFP10から要求信号を受信した場合、セッションIDを生成して、セッションIDを含む応答信号(即ちHTTPレスポンス)をMFP10に送信する。
When the
MFP10は、デバイス接続サーバ40から応答信号を受信した場合、BOSHの要求信号(即ちHTTPリクエスト)をデバイス接続サーバ40に送信する。この要求信号は、応答信号に含まれるセッションIDに一致するセッションIDを含む。この要求信号は、XMPP接続の確立を、デバイス接続サーバ40に要求するための信号である。
When the
デバイス接続サーバ40は、MFP10からセッションIDを含む要求信号を受信した場合、OKを示す応答信号(即ちHTTPレスポンス)をMFP10に送信する。これにより、MFP10及びデバイス接続サーバ40は、XMPP接続を確立するための認証信号、応答信号等の様々な信号の通信を実行して、XMPP接続を確立する。
When the
MFP10は、XMPP接続が確立された場合、BOSHの要求信号(即ちHTTPリクエスト)をデバイス接続サーバ40に送信する。この要求信号は、上記のセッションIDを含む。この要求信号は、デバイス接続サーバ40からMFP10にデータ(例えばSubscribeコマンド)を送信するための元になる信号である。
When the XMPP connection is established, the
デバイス接続サーバ40は、MFP10から要求信号を受信した際、MFP10に送信されるべきSubscribeコマンドが存在すれば、要求信号に対する応答信号(即ちHTTPレスポンス)として、当該SubscribeコマンドをMFP10に送信する。ただし、デバイス接続サーバ40は、MFP10から要求信号を受信した際、MFP10に送信されるべきSubscribeコマンドが存在しなければ、中継装置50からSubscribeコマンドを受信するまで、SubscribeコマンドをMFP10に送信しない。
When the
BOSHの要求信号は、BOSHではない通常のHTTPの要求信号と比べて、長いタイムアウト時間を有する。従って、デバイス接続サーバ40は、MFP10から要求信号を受信してから、Subscribeコマンドを送信するまでの時間が長くても、タイムアウトと判断せずに、要求信号に対する応答信号として、Subscibeコマンドを適切に送信することができる。また、ルータ18は、MFP10からデバイス接続サーバ40へのBOSHの要求信号の転送を実行する場合には、要求信号の転送を実行してから、デバイス接続サーバ40からSubscribeコマンド(即ち応答信号)を受信するまでの時間が長くても、タイムアウトと判断せずに、SubscibeコマンドをMFP10に適切に転送することができる(即ちSubscibeコマンドの送信を許容する)。
The BOSH request signal has a longer timeout time than a normal HTTP request signal that is not BOSH. Therefore, even if the
上述したように、デバイス接続サーバ40は、MFP10とデバイス接続サーバ40との間にXMPP接続が確立されていると判断した場合、要求信号に対する応答信号として、SubscribeコマンドをMFP10に送信する。なお、当該応答信号は、上記のセッションIDを含まない。ただし、当該応答信号(即ちSubscribeコマンド)は、上記のセッションIDを含む要求信号(即ちXMPP接続を利用して通信される要求信号)に対する応答信号であるので、XMPP接続を利用して通信される信号である、と言える。
As described above, when it is determined that the XMPP connection is established between the
MFP10は、デバイス接続サーバ40からSubscribeコマンドを受信すると、Subscribeコマンドに含まれるインターバル時間情報によって示される時間が経過する毎に、Subscribeコマンドに含まれるデータIDによって識別される対象データ(例えば、印刷枚数、消耗品の残量等)の値の変化に関する判断処理を実行する。そして、MFP10は、判断処理で対象データの値の変化が有ると判断した場合、対象データの現在値を管理FE20に送信する。これにより、管理FE20のユーザ(即ち販売店の従業員)は、MFP10の対象データの現在値を知ることができ、当該現在値に応じたサービス(例えば、印刷媒体の補充サービス、消耗品の交換サービス等)をMFP10のユーザに提供することができる。
When the
なお、MFP10は、デバイス接続サーバ40及び中継装置50を介して、対象データを管理FE20に送信してもよいし、いずれのサーバも介さずに、対象データを管理FE20に送信してもよい。即ち、一般的に言うと、MFP10は、対象データが管理FE20で受信されるように、対象データを外部に送信すればよい。
The
MFP10は、デバイス接続サーバ40からSubscribeコマンドを受信すると、Subscribeコマンドを受信したことを示す特定の要求信号(即ちHTTPリクエスト)をデバイス接続サーバ40に送信する。なお、上記の特定の要求信号は、BOSHの要求信号ではなく、通常のHTTPの要求信号であり、上記のセッションIDを含まない。
When the
本実施形態のMPSシステム1において、複数のMFP10は、サービス提供業者と契約した顧客が使用するものであり、サービス提供業者は、顧客が使用する複数のMFP10をクラウド側から一括管理する。具体的には、サービス提供業者は、自社用の管理FE20から、各MFP10のログを取得したり、各MFP10の設定状態や登録状態などに関する情報を取得したり、各MFP10の設定状態を変更したりすることができる。
In the MPS system 1 of the present embodiment, a plurality of
MPSシステム1においては、様々な種類のデバイスを管理対象とすることができるが、本実施形態では、管理対象のデバイスが複数のMFP10であることを前提に、以下説明を続ける。
In the MPS system 1, various types of devices can be managed, but in the present embodiment, the following description is continued on the assumption that the managed device is a plurality of
(2)MPSシステム1の構成
本実施形態のMPSシステム1が備える各装置等の構成や機能について具体的に説明する。
(2) Configuration of MPS System 1 The configuration and functions of each device and the like included in the MPS system 1 of the present embodiment will be specifically described.
(2−1)MFP10の構成
MFP10は、印刷機能やスキャン機能、コピー機能、ネットワーク接続機能などの複数の機能を有する。MFP10は、図1に示すように、CPU11、ROM12、RAM13、NVRAM14、印刷部15、読取部16、通信部17などを備えている。
(2-1) Configuration of
MFP10において、CPU11は、ROM12やNVRAM14に記憶されている各種プログラムやデータに従ってMFP10内の各部の制御および各種演算を実行する。RAM13は、CPU11から直接アクセスされるメインメモリ等として利用される。印刷部15は、印刷用紙等の被記録媒体に画像を形成(印刷)する。読取部16は、イメージセンサを備え、原稿の画像を読み取ってその画像を表す画像データを生成する。
In the
通信部17は、MFP10と他の機器とを通信可能に接続するためのネットワークインタフェースである。この通信部17により、MFP10は、クラウド側とのデータ通信が可能となる。
The communication unit 17 is a network interface for connecting the
NVRAM14(Non Volatile RAM)は、記憶内容を電気的に書き換え可能な不揮発性メモリである。NVRAM14には、デバイスID記憶領域14aと登録情報記憶領域14bが割り当てられている。デバイスID記憶領域14aには、MFP10固有のデバイスIDが記憶される。このデバイスIDは、サービス提供業者等からMFP10毎に個別に割り当てられる固有の識別情報である。登録情報記憶領域14bには、当該MFP10が自身のログをログDB30に書き込むべきか否か、書き込むべき場合はどのインターバル時間(書き込み周期)で書き込むべきか、などの情報が登録情報として記憶される。
The NVRAM 14 (Non Volatile RAM) is a nonvolatile memory capable of electrically rewriting stored contents. A device
(2−2)ログDB30の説明
ログDB30には、ログを書き込むよう登録されたMFP10のログが、MFP10毎に記憶される。具体的には、管理FE20からMFP10に対し、後述する登録(Subscribe)要求によってログを定期的に(所定インターバル時間で)書き込むよう登録されると、そのMFP10により、指定されたインターバル時間で、そのMFP10のログがログDB30に送信される。
(2-2) Description of
MFP10から送信されるログには、そのMFP10のデバイスIDも含まれている。ログDB30は、MFP10からログを受信すると、そのログを、MFP10のデバイスIDと対応付けて記憶する。そのため、ログDB30には、登録された各MFP10のログがMFP10毎に記憶される。
The log transmitted from the
なお、MFP10は、DB30に対して直接的にログを書き込む(記憶する)処理を行うわけではなく、直接的にはログをDB30に送信してそれを記憶するよう指示するだけである。しかし、ログを送信することによって結果としてログDB30にログが記憶される。そのため、MFP10がログDB30へログを送信することによりログDB30にそのログを記憶させることを、便宜的に、ログを「書き込む」とも表現する。
Note that the
ログDB30は、管理FE20から中継装置50を介してログ取得(GetLog)要求を受けると、指定された一又は複数のMFP10のログを、中継装置50を介して管理FE20へ送信する。
When the
(2−3)管理FE20の説明
管理FE20からは、適宜、管理対象の各MFP10のうちいずれか(一又は複数)を対象とした各種要求が中継装置50へ送信される。これら各種要求の詳細については後述するが、共通することとして、何れの要求も、要求対象のデバイス(MFP10)のデバイスIDがリストアップされたデバイスIDリスト、及び要求の内容を示す情報が含まれる。また、各種要求のうち、ログをログDB30へ書き込むよう要求するための登録要求には、デバイスIDリストに加えて上記インターバル時間情報も含まれる。
(2-3) Description of
管理サービス提供業者は、管理FE20を起点として、必要に応じて各種要求を送信することで、既述の通り、各MFP10のログを取得したり、各MFP10の設定状態や登録状態などに関する情報を取得したり、各MFP10の設定状態を変更したりするなどして、各MFP10を管理することができる。
The management service provider starts the
(2−4)中継装置50の構成
中継装置50は、管理FE20から管理対象の各MFP10に対する各種要求及びログDB30へのログ取得要求を中継するために設けられており、CPU51、ROM52、RAM53、HDD(ハードディスクドライブ)54、通信部55などを備えている。
(2-4) Configuration of
CPU51は、ROM52やHDD54に記憶されている各種プログラムを実行することによって、上記の各種要求中継等の機能を実現する。ROM52には、CPU51によって実行される各種プログラムやデータ等が記憶されている。RAM53は、CPU51から直接アクセスされるメインメモリ等として利用される。
The
通信部55は、中継装置50と他の機器とを通信可能に接続するためのネットワークインタフェースである。この通信部55により、中継装置50は、管理FE20やログDB30、デバイス接続サーバ40などとのデータ通信が可能となる。
The
HDD54には、OSを含む各種ソフトウェアがインストールされている。また、HDD54には、登録情報記憶領域54aが割り当てられている。登録情報記憶領域54aには、管理FE20からあるMFP10を対象とした登録要求があった場合に、そのMFP10のデバイスIDと登録要求の内容(登録の有無や、登録された場合におけるログ書き込みのインターバル時間情報等)とが対応付けられて記憶される。
Various software including an OS is installed in the
なお、図1において、中継装置50のHDD54内に、ID変換テーブル54bが破線で示されているが、このID変換テーブル54bは、本実施形態では言及せず、後述する第2実施形態で説明する。
In FIG. 1, an ID conversion table 54b is indicated by a broken line in the
(2−5)デバイス接続サーバ40の構成
デバイス接続サーバ40は、中継装置50から管理対象の各MFP10に対する各種要求を中継するために設けられており、CPU41、ROM42、RAM43、HDD44、通信部45などを備えている。
(2-5) Configuration of
CPU41は、ROM42やHDD44に記憶されている各種プログラムを実行することによって、上記の各種要求中継等の機能を実現する。ROM42には、CPU41によって実行される各種プログラムやデータ等が記憶されている。RAM43は、CPU41から直接アクセスされるメインメモリ等として利用される。HDD44には、OSを含む各種ソフトウェアがインストールされている。
The
通信部45は、デバイス接続サーバ40と他の機器とを通信可能に接続するためのネットワークインタフェースである。この通信部45により、デバイス接続サーバ40は、中継装置50や各MFP10などとのデータ通信が可能となる。
The
(3)MPSシステム1の概略動作例
次に、本実施形態のMPSシステム1の動作例について、図2及び図3を用いて説明する。なお、図2,図3の動作例は、システム全体の動作を概略的に説明することを目的としてその動作の一部のみを抜粋して示している。
(3) Schematic Operation Example of MPS System 1 Next, an operation example of the MPS system 1 of the present embodiment will be described with reference to FIGS. 2 and 3 show only a part of the operation for the purpose of schematically explaining the operation of the entire system.
(3−1)登録要求時の動作例
まず、管理FE20から管理対象のMFP10に対して、ログをログDB30へ書き込むべき旨の登録要求を行う場合の動作例について、図2を用いて説明する。なお、管理FE20と中継装置50との通信、中継装置50とデバイス接続サーバ40との通信、中継装置50とログDB30との通信、及びMFP10とログDB30との通信は、本実施形態ではHTTPコネクションを介して行われる。一方、MFP10とデバイス接続サーバ40との通信は、本実施形態ではXMPPコネクションを介して行われる。また、本明細書において、「HTTPで」とはHTTPコネクションを介してという意味であり、「XMPPで」とはXMPPコネクションを介してという意味である。
(3-1) Operation Example at Registration Request First, an operation example in the case where the
図2に示すように、管理FE20から登録(Subscribe)要求が中継装置50へHTTPで送信されると、中継装置50は、登録要求に含まれているデバイスIDリストに基づき、登録対象のデバイス(MFP10)1つずつ順次、その登録対象のMFP10に対する登録要求を行う。なお、管理FE20からの各種要求において要求対象として指定されているMFP10を、以下、対象MFP10ともいう。
As illustrated in FIG. 2, when a registration (Subscribe) request is transmitted from the
具体的には、中継装置50は、各対象MFP10のうち何れか1つの対象MFP10について、その対象MFP10のデバイスID及びインターバル時間情報を含む登録要求を、デバイス接続サーバ40へHTTPで送信する。デバイス接続サーバ40は、中継装置50から登録要求を受信すると、その登録要求により指定されているデバイスIDのMFP10宛に、XMPPで登録要求を送信する。
Specifically, the
対象MFP10は、デバイス接続サーバ40から自身宛の登録要求を受信すると、自身のNVRAM14の登録情報記憶領域14bに、自身がログを書き込むべきデバイスとして登録された旨及び指定されたインターバル時間情報を、登録情報として記憶する。
When the
これにより、以後、当該MFP10は、指定されたインターバル時間で、自身のログをログDB30へHTTPで送信して書き込むことが可能となる。また、当該MFP10は、NVRAM14の登録情報記憶領域14bに登録情報を記憶すると、登録を行った旨の応答をXMPPでデバイス接続サーバ40へ送信する。
Thereby, thereafter, the
なお、本実施形態では、登録されたMFP10がログDB30に書き込むべきログの種類は予め決められている。具体的には、印刷用紙の種類毎の印刷枚数や、印刷枚数の総数、カラー印刷枚数、モノクロ印刷枚数などが、書き込むべきログとして予め設定されている。
In this embodiment, the type of log that the registered
デバイス接続サーバ40は、対象MFP10へ登録要求を送信した後、その対象MFP10から応答を受信した場合は、その対象MFP10について登録が完了した旨の、その対象MFP10のデバイスIDを含む応答を、HTTPで中継装置50へ送信する。なお、デバイス接続サーバ40は、対象MFP10へ登録要求を送信した後、一定時間経過してもその対象MFP10から応答を受信しなかった場合は、その対象MFP10について登録が正常に行われなかった旨の、その対象MFP10のデバイスIDを含む応答を、HTTPで中継装置50へ送信する。
When the
中継装置50は、ある対象MFP10についてデバイス接続サーバ40へ登録要求を送信した後、その登録要求に対するデバイス接続サーバ40からの応答を受信した場合は、引き続き、まだ登録要求を行っていない他の対象MFP10のうち何れか1つについて、上記同様にデバイス接続サーバ40へ登録要求を送信する。
When the
このようにして、中継装置50は、管理FE20からの登録要求により指定された登録対象の各MFP10について、1つずつ順に、デバイス接続サーバ40を介して登録要求を行う。そして、全ての登録対象のMFP10について登録要求を終了したら(全ての対象MFP10から応答があったら)、中継装置50は、管理FE20へ、HTTPで完了レスポンスを送信する。この完了レスポンスには、デバイスID毎に登録が正常になされたか否かを示す情報が含まれている。
In this way, the
なお、中継装置50は、必ずしも、全ての登録対象のMFP10について登録要求を終了した後に完了レスポンスを送信するわけではない。詳細は省略するが、場合によっては、登録対象の各MFP10に対する登録要求がまだ継続中であっても、適宜、完了レスポンスを送信することがある。
Note that the
また、中継装置50は、管理FE20から登録要求を受信した場合は、その要求内容(デバイスIDリスト及びインターバル時間情報)を、HDD54の登録情報記憶領域54aに記憶する。すなわち、要求対象のMFP10毎(デバイスID毎)に、それらMFP10がログを書き込むべきデバイスとして登録された旨およびその書き込みのインターバル時間情報を、登録情報として記憶する。
Further, when receiving a registration request from the
このように、管理FE20が中継装置50へ登録要求を行うことで、中継装置50及びデバイス接続サーバ40を経由して、各MFP10を管理対象として登録することができる。管理FE20は、必要に応じて所望のMFP10をリアルタイムに管理対象に登録することができる。
As described above, when the
MFP10が管理対象に登録されると、その登録されたMFP10からは、設定されたインターバル時間でログがログDB30に送信され、書き込まれる。そのため、管理FE20は、所望のタイミングで、中継装置50を介してログDB30へ所望のMFP10のログを要求することで、そのMFP10のログを取得することができるようになる。
When the
(3−2)ログ要求時の動作例
次に、管理FE20から管理対象のMFP10のログを取得する場合の動作例について、図3を用いて説明する。図3に示すように、管理FE20から中継装置50へログ取得(GetLog)要求がHTTPで送信されると、中継装置50は、ログ取得要求に含まれているデバイスIDリストに基づき、ログ取得要求対象のデバイス(MFP10)1つずつ順次、その対象MFP10のログをログDB30へ要求する。
(3-2) Operation Example at Log Request Next, an operation example when acquiring a log of the
より具体的には、中継装置50は、何れか1つの対象MFP10について、その対象MFP10のデバイスIDがログDB30に記憶されているかどうかの確認(デバイスID存在確認)を行う。そのデバイスID存在確認に対し、ログDB30から、対象MFP10のデバイスIDが記憶されている旨の応答があった場合は、その対象MFP10のデバイスIDを指定して、ログDB30へログ取得要求を送信する。このログ取得要求によって、ログDB30から対象MFP10のログが送信され、これにより中継装置50は対象MFP10のログを取得する。
More specifically, the
中継装置50は、ある対象MFP10についてログDB30からログを取得すると、引き続き、まだログ取得要求を行っていない他の対象MFP10のうち何れか1つを対象MFP10として、上記同様に、デバイスID存在確認及びログ取得要求を行って、ログを取得する。ただし、デバイスID存在確認に対し、ログDB30から、対象MFP10のデバイスIDが記憶されていない旨の応答があった場合は、その対象MFP10については、ログ取得要求を行わない。
When the
このようにして、中継装置50は、管理FE20からのログ取得要求により指定されたログ取得要求対象の各MFP10について、1つずつ順に、ログDB30からログを取得する。そして、全ての対象MFP10(ただしログDB30にデバイスIDが記憶されていないMFP10は除く)について、ログ取得が完了したら、中継装置50は、管理FE20へ、取得した各MFP10のログのレスポンスをHTTPで送信する。このログのレスポンスは、ログ取得要求対象のMFP10毎にそのデバイスIDと取得したログが対応付けられたものである。
In this way, the
なお、中継装置50が、ログ取得要求対象の各MFP10について1つずつ順次ログを取得することは、必須ではない。中継装置50は、ログDB30に対し、ログ取得要求対象の各MFP10について一括してデバイスID存在確認やログ取得要求を行うこともできる。
It is not essential for the
(3−3)その他の動作例
管理FE20からは、上述した登録(Subscribe)要求やログ取得(GetLog)要求以外にも、例えば、あるMFP10について管理対象から除外するためにそのMFP10の登録の解除を要求する登録解除(Unsubscribe)要求、あるMFP10について管理対象として登録されているか否かの情報を要求する登録状態情報取得(GetSubscription)要求、MFP10における印刷関連の各種機能の設定状態を要求する設定情報取得(GetSetting)要求、MFP10における印刷関連の各種機能の設定状態を変更させる設定変更(SetSetting)要求などの、各種の要求が、中継装置50へ送信される。
(3-3) Other Operation Examples In addition to the above-described registration (Subscribe) request and log acquisition (GetLog) request, the
そのため、中継装置50は、図2,図3に示した処理以外にも、上記各種の要求に応じた各種の中継処理を実行することができる。
例えば、管理FE20から、ある複数のMFP10を対象とした登録解除(Unsubscribe)要求(対象MFP10のデバイスIDリストを含む)を受信した場合は、中継装置50は、要求対象の各MFP10について1つずつ、順次、登録解除要求をデバイス接続サーバ40へ送信することで、デバイス接続サーバ40に、対象MFP10の登録を解除させる。
Therefore, the
For example, when receiving a registration cancellation (unsubscribe) request (including a device ID list of the target MFP 10) for a plurality of
この場合、デバイス接続サーバ40は、対象MFP10へXMPPで登録解除要求を行うことで、対象MFP10の登録を解除させる。登録解除要求を受けたMFP10は、NVRAM14内の登録情報記憶領域14bの登録情報を消去する。これにより、そのMFP10は、以後、ログを送信しなくなる。中継装置50も、HDD54内の登録情報記憶領域54aにおける、登録解除要求対象のMFP10に対する記憶内容を、未登録を示す内容に書き換える。
In this case, the
また例えば、管理FE20から、ある複数のMFP10を対象とした登録状態情報取得(GetSubscription)要求(対象MFP10のデバイスIDリストを含む)を受信した場合は、中継装置50は、要求対象の各MFP10について1つずつ、順次、その対象MFP10のデバイスIDを含む登録状態情報取得要求をログDB30へ送信する。ログDB30は、中継装置50から登録状態情報取得要求を受信すると、要求対象のMFP10のログが記憶されているか確認し、記憶されていれば、登録されている旨の応答を中継装置50へ送信し、記憶されていなければ、登録されていない旨の応答を中継装置50へ送信する。
Also, for example, when receiving a registration status information acquisition (GetSubscription) request (including a device ID list of the target MFP 10) for a plurality of
中継装置50は、対象MFP10それぞれに対するログDB30からの応答を一括して、管理FE20へレスポンスとして送信する。これにより、管理FE20は、各MFP10について、登録状況を確認することができる。
The
なお、中継装置50は、自身のHDD54にも、MFP10の登録情報を記憶している。そのため、管理FE20からの登録状態情報取得要求に対し、HDD54の登録情報記憶領域54aに記憶されている登録情報に基づいてレスポンスを送信するようにしてもよい。
Note that the
また例えば、管理FE20から、ある1つのMFP10を対象とした設定情報取得(GetSetting)要求(対象MFP10のデバイスIDを含む)を受信した場合は、中継装置50は、要求対象のMFP10について、そのMFP10のデバイスIDを含む設定情報要求をデバイス接続サーバ40へ送信する。
Further, for example, when a setting information acquisition (GetSetting) request (including the device ID of the target MFP 10) for a
デバイス接続サーバ40は、中継装置50から設定情報要求を受信すると、要求対象のMFP10へ、そのMFP10の設定状態に関する情報を要求する設定情報要求を、XMPPで送信する。
When the
設定情報要求の要求対象のMFP10は、デバイス接続サーバ40から設定情報要求を受信すると、自身の設定状態に関する所定の設定情報をXMPPでデバイス接続サーバ40へ送信する。送信すべき設定情報としては、例えば、MFP10が置かれている位置、スリープ状態移行条件、ファームウェアのアップデート状態など、種々の情報があり、MFP10において予め設定されている。
When receiving the setting information request from the
デバイス接続サーバ40は、MFP10から設定情報を受信すると、デバイスIDと共にその設定情報を中継装置50へ送信する。中継装置50は、デバイス接続サーバ40からの設定情報を受信し、その受信した設定情報を管理FE20へ送信する。これにより、管理FE20は、要求対象のMFP10について、設定情報を確認することができる。
Upon receiving the setting information from the
また例えば、管理FE20から、ある1つのMFP10を対象とした設定変更(SetSetting)要求(対象MFP10のデバイスID及び設定変更内容を含む)を受信した場合は、中継装置50は、要求対象のMFP10について、そのMFP10のデバイスIDを含む設定変更要求をデバイス接続サーバ40へ送信する。
Further, for example, when receiving a setting change (SetSetting) request (including the device ID and setting change contents of the target MFP 10) for a
デバイス接続サーバ40は、中継装置50から設定変更要求を受信すると、要求対象のMFP10へ、その設定変更要求をXMPPで送信する。
設定変更要求の要求対象のMFP10は、デバイス接続サーバ40から設定変更要求を受信すると、要求された設定変更内容に従って自身の設定状態を変更する。そして、変更が完了した旨の応答をXMPPでデバイス接続サーバ40へ送信する。デバイス接続サーバ40は、MFP10から応答を受信すると、デバイスIDと共にその応答を中継装置50へ送信する。中継装置50は、デバイス接続サーバ40からの応答を受信し、その受信した応答を管理FE20へ送信する。これにより、管理FE20は、要求対象のMFP10について、設定状態を変更することができる。
When the
When receiving the setting change request from the
(4)中継装置50による各種中継処理の説明
次に、中継装置50が実行する各種中継処理について、図4〜図7を用いて説明する。中継装置50のCPU51は、電源が投入されて動作を開始すると、HDD54から図4〜図7の各処理のプログラムを読み出し、これらを並行して実行する。
(4) Description of Various Relay Processes by
(4−1)登録処理(図4)の説明
まず、図4に示す登録(Subscribe)処理について説明する。図4の登録処理は、図2で説明した登録要求時の動作例に対応した処理である。すなわち、管理FE20から登録要求があった場合にその登録要求に応じた所定の処理を行うために実行される処理である。
(4-1) Description of Registration Process (FIG. 4) First, the registration (Subscribe) process shown in FIG. 4 will be described. The registration process in FIG. 4 corresponds to the operation example at the time of the registration request described in FIG. In other words, when there is a registration request from the
中継装置50のCPU51は、図4の登録処理を開始すると、S110で一定時間待機し、S120で、登録(Subscription)のエンドポイントにHTTPリクエストを受信したか否か、即ち管理FE20から登録要求を受信したか否かを判断する。
When the registration process of FIG. 4 is started, the
登録要求を受信していない場合はS110に戻る。登録要求を受信した場合は、S130で、受信したHTTPリクエスト(登録要求)のリクエストボディは正しいフォーマットであるか否か判断する。正しいフォーマットでなければ、S190で管理FE20にエラーレスポンスを送信してS110に戻る。
If no registration request has been received, the process returns to S110. If a registration request has been received, it is determined in S130 whether the request body of the received HTTP request (registration request) has the correct format. If the format is not correct, an error response is transmitted to the
リクエストボディが正しいフォーマットである場合は、S140で、リクエストボディにデバイスIDリストが含まれているか否か判断する。デバイスIDリストが含まれていない場合はS190に進むが、デバイスIDリストが含まれている場合はS150に進む。 If the request body has the correct format, it is determined in S140 whether or not the device ID list is included in the request body. If the device ID list is not included, the process proceeds to S190. If the device ID list is included, the process proceeds to S150.
S150では、デバイスIDリスト中のデバイスIDのうち何れか1つ(ただし登録要求をまだ行っていないもの)を、処理対象IDとする。S160では、デバイス接続サーバ40へ、処理対象IDのデバイス(MFP10)に対する登録(Subscribe)要求を送信する。
In S150, any one of the device IDs in the device ID list (however, a registration request has not been made) is set as a processing target ID. In S160, a registration (Subscribe) request for the device (MFP 10) having the processing target ID is transmitted to the
S170では、デバイスIDリスト中の全てのデバイスIDについて登録要求済みか否か判断する。まだ登録要求を行っていないMFP10がある場合は、S150に戻る。登録要求対象の全てのデバイスIDについて登録要求を行った場合は、S180で、完了レスポンスを生成する。この完了レスポンスは、対象MFP10のデバイスID毎の、登録が正常になされたか否かを示す情報を含むものである。そして、S190で、その生成した完了レスポンスを管理FE20へ送信して、S110に戻る。
In S170, it is determined whether or not registration has been requested for all device IDs in the device ID list. If there is an
(4−2)ログ取得処理(図5)の説明
次に、図5に示すログ取得(GetLog)処理について説明する。図5のログ取得処理は、図3で説明したログ取得時の動作例に対応した処理である。すなわち、管理FE20からログ取得要求があった場合にそのログ取得要求に応じた所定の処理を行うために実行される処理である。
(4-2) Description of Log Acquisition Process (FIG. 5) Next, the log acquisition (GetLog) process shown in FIG. 5 will be described. The log acquisition process in FIG. 5 corresponds to the operation example at the time of log acquisition described in FIG. In other words, when there is a log acquisition request from the
中継装置50のCPU51は、図5のログ取得処理を開始すると、S210で一定時間待機し、S220で、ログ取得(GetLog)のエンドポイントにHTTPリクエストを受信したか否か、即ち管理FE20からログ取得要求を受信したか否かを判断する。
When the log acquisition process of FIG. 5 is started, the
ログ取得要求を受信していない場合はS210に戻る。ログ取得要求を受信した場合は、S230で、ログDB30に接続可能か否か判断する。具体的には、HTTPコネクションの確立を試み、確立できるか否かにより判断する。ログDB30に接続できない場合は、S330で管理FE20にエラーレスポンスを送信してS210に戻る。ログDB30に接続できる場合は、S240で、受信したHTTPリクエスト(ログ取得要求)のリクエストボディは正しいフォーマットであるか否か判断する。正しいフォーマットでなければS330に進む。
If no log acquisition request has been received, the process returns to S210. If a log acquisition request is received, it is determined in S230 whether or not connection to the
リクエストボディが正しいフォーマットである場合は、S250で、リクエストボディにデバイスIDリストが含まれているか否か判断する。デバイスIDリストが含まれていない場合はS330に進むが、デバイスIDリストが含まれている場合はS260に進む。 If the request body has the correct format, it is determined in S250 whether or not a device ID list is included in the request body. If the device ID list is not included, the process proceeds to S330. If the device ID list is included, the process proceeds to S260.
S260では、デバイスIDリスト中のデバイスIDのうち何れか1つ(ただしログ取得要求をまだ行っていないもの)を、処理対象IDとする。S270では、処理対象IDがログDB30にあるか否かの判断、即ち既述のデバイスID存在確認を行う。処理対象IDがログDB30にない場合は、S300で所定のエラー処理を行ってS260に戻る。処理対象IDがログDB30にある場合は、S280で、処理対象IDのデバイス(MFP10)のログをログDB30から取得する。つまり、対象のデバイスIDを含むログ取得要求をログDB30へ送信することにより、ログDB30からログを受信し取得する。
In S260, any one of the device IDs in the device ID list (however, a log acquisition request has not been made) is set as a processing target ID. In S270, it is determined whether or not the processing target ID exists in the
S290では、デバイスIDリスト中の全てのデバイスID(ただしログDB30にそのデバイスIDがあったもの)についてログを取得したか否かを判断する。ログDB30にデバイスIDが登録されているデバイスIDの中でまだログを取得していないものがある場合はS260に戻るが、全てのデバイスIDについてログを取得した場合は、S310で、完了レスポンスを生成する。この完了レスポンスは、対象MFP10のデバイスID毎のログ(ただしログを取得できなかったデバイスIDについてはその旨を示す情報)を含むものである。そして、S320で、その生成したログのレスポンスを管理FE20へ送信して、S210に戻る。
In S290, it is determined whether or not logs have been acquired for all device IDs in the device ID list (however, those having the device ID in the log DB 30). If there is a device ID whose device ID is registered in the
(4−3)登録状態情報取得処理(図6)の説明
次に、図6に示す登録状態情報取得(GetSubscription)処理について説明する。図6の登録状態情報取得処理は、管理FE20から登録状態情報取得要求があった場合にその登録状態情報取得要求に応じた所定の処理を行うために実行される処理である。
(4-3) Description of Registration Status Information Acquisition Processing (FIG. 6) Next, registration status information acquisition (GetSubscription) processing shown in FIG. 6 will be described. The registration status information acquisition process of FIG. 6 is a process executed to perform a predetermined process corresponding to the registration status information acquisition request when there is a registration status information acquisition request from the
中継装置50のCPU51は、図6の登録状態情報取得処理を開始すると、S410で一定時間待機し、S420で、登録状態情報取得(GetSubscription)のエンドポイントにHTTPリクエストを受信したか否か、即ち管理FE20から登録状態情報取得要求を受信したか否かを判断する。
The
登録状態情報取得要求を受信していない場合は410に戻る。登録状態情報取得要求を受信した場合は、S430で、ログDB30に接続可能か否か判断する。ログDB30に接続できない場合は、S530で管理FE20にエラーレスポンスを送信してS410に戻る。ログDB30に接続できる場合は、S440で、受信したHTTPリクエスト(登録状態情報取得要求)のリクエストボディは正しいフォーマットであるか否か判断する。正しいフォーマットでなければS530に進む。
If the registration status information acquisition request has not been received, the process returns to 410. If a registration status information acquisition request is received, it is determined in S430 whether connection to the
リクエストボディが正しいフォーマットである場合は、S450で、リクエストボディにデバイスIDリストが含まれているか否か判断する。デバイスIDリストが含まれていない場合はS530に進むが、デバイスIDリストが含まれている場合はS460に進む。 If the request body has the correct format, it is determined in S450 whether or not a device ID list is included in the request body. If the device ID list is not included, the process proceeds to S530. If the device ID list is included, the process proceeds to S460.
S460では、デバイスIDリスト中のデバイスIDのうち何れか1つ(ただし登録状態情報取得要求をまだ行っていないもの)を、処理対象IDとする。S470では、処理対象IDがログDB30にあるか否かの判断、即ち既述のデバイスID存在確認と同様に処理を行う。処理対象IDがログDB30にない場合は、S500で所定のエラー処理を行ってS460に戻る。処理対象IDがログDB30にある場合は、S480で、処理対象IDのデバイス(MFP10)の登録状態情報をログDB30から取得する。つまり、対象のデバイスIDを含む登録状態情報取得要求をログDB30へ送信することにより、ログDB30から、当該デバイスIDが登録されているか否かの応答を受信する。
In S460, any one of the device IDs in the device ID list (however, the registration status information acquisition request has not yet been made) is set as the processing target ID. In S470, the processing is performed in the same manner as the determination of whether or not the processing target ID exists in the
S490では、デバイスIDリスト中の全てのデバイスID(ただしログDB30にそのデバイスIDがあったもの)について登録状態情報を取得したか否かを判断する。ログDB30にデバイスIDが登録されているデバイスIDの中でまだ登録状態情報を取得していないものがある場合はS460に戻るが、全てのデバイスIDについて登録状態情報を取得した場合は、S510で、取得したデバイスID毎の登録状態情報のレスポンスを生成する。そして、S520で、その生成したレスポンスを管理FE20へ送信して、S410に戻る。
In S490, it is determined whether or not the registration status information has been acquired for all device IDs in the device ID list (however, the device ID in the
(4−4)設定情報取得処理(図7)の説明
次に、図7に示す設定情報取得(GetSetting)処理について説明する。図7の設定情報取得処理は、管理FE20から設定情報取得要求があった場合にその設定情報取得要求に応じた所定の処理を行うために実行される処理である。
(4-4) Description of Setting Information Acquisition Process (FIG. 7) Next, the setting information acquisition (GetSetting) process shown in FIG. 7 will be described. The setting information acquisition process of FIG. 7 is a process executed to perform a predetermined process corresponding to the setting information acquisition request when there is a setting information acquisition request from the
中継装置50のCPU51は、図7の設定情報取得処理を開始すると、S610で一定時間待機し、S620で、設定情報取得(GetSetting)のエンドポイントにHTTPリクエストを受信したか否か、即ち管理FE20から設定情報取得要求を受信したか否かを判断する。
When the setting information acquisition process of FIG. 7 is started, the
設定情報取得要求を受信していない場合はS610に戻る。設定情報取得要求を受信した場合は、S630で、受信したHTTPリクエスト(設定情報取得要求)のリクエストボディは正しいフォーマットであるか否か判断する。正しいフォーマットでなければ、S690で管理FE20にエラーレスポンスを送信してS610に戻る。
If the setting information acquisition request has not been received, the process returns to S610. If a setting information acquisition request has been received, it is determined in S630 whether the request body of the received HTTP request (setting information acquisition request) has the correct format. If the format is not correct, an error response is transmitted to the
リクエストボディが正しいフォーマットである場合は、S640で、リクエストボディにデバイスIDリストが含まれているか否か判断する。デバイスIDリストが含まれていない場合はS690に進むが、デバイスIDリストが含まれている場合はS650に進む。 If the request body has the correct format, it is determined in S640 whether or not a device ID list is included in the request body. If the device ID list is not included, the process proceeds to S690. If the device ID list is included, the process proceeds to S650.
S650では、デバイスIDリスト中のデバイスIDのうち何れか1つ(ただし設定情報取得要求をまだ行っていないもの)を、処理対象IDとする。S660では、デバイス接続サーバ40へ、処理対象IDのデバイス(MFP10)に対する設定情報取得(Subscribe)要求を送信する。
In S650, any one of the device IDs in the device ID list (however, a setting information acquisition request has not yet been made) is set as a processing target ID. In S <b> 660, a setting information acquisition (Subscribe) request for the device (MFP 10) with the processing target ID is transmitted to the
S670では、デバイスIDリスト中の全てのデバイスIDについて設定情報取得要求済みか否か判断する。まだ設定情報取得要求を行っていないMFP10がある場合は、S650に戻る。要求対象の全てのデバイスIDについて設定情報取得要求を行った場合は、S680で、完了レスポンスを生成する。この完了レスポンスは、対象MFP10のデバイスID毎の、取得した設定情報を含むものである。そして、S690で、その生成した完了レスポンスを管理FE20へ送信して、S610に戻る。
In S670, it is determined whether setting information acquisition requests have been made for all device IDs in the device ID list. If there is an
(5)第1実施形態の効果等
以上説明した本実施形態のMPSシステム1によれば、管理FE20が中継装置50へ、デバイスIDリストを含む各種要求を送信すると、中継装置50は、要求対象の各デバイス(MFP10)について個別に、デバイス接続サーバ40を介して対象MFP10へ、又はログDB30へ、要求を中継送信する。そして、中継装置50は、要求内容に応じた応答をデバイス接続サーバ40を介して又はログDB30から受信すると、デバイスID毎の応答をまとめてレスポンスとして管理FE20へ送信する。
(5) Effects of First Embodiment According to the MPS system 1 of the present embodiment described above, when the
管理FE20からみれば、どのデバイスについてどのような処理をしてほしいとかどのような情報が欲しいなどといった内容を示す各種要求を中継装置50へ送信すれば、中継装置50がその要求に基づいて対象MFP10一つ一つについて処理の要求を代行し、レスポンスを返してくれる。
From the
そのため、管理対象の各MFP10を、その数にかかわらず、管理FE20から主体的かつ効率的に管理することができる。具体的には、管理FE20は、所望のMFP10に対して所望の処理を要求したり、所望のMFP10に対してそのログや各種情報を要求したりすることで、管理対象の各MFP10を適切に管理することができる。
Therefore, each
また、中継装置50は、管理FE20からの各種要求に対し、対象MFP10全てについての応答結果を一括してまとめたものを、レスポンスとして管理FE20へ送信することができる。そのため、管理FE20は、一又は複数のMFP10を対象とした各種要求を一括で行うことができるだけでなく、レスポンスについても一括して取得でき、管理FE20の処理負荷を低減することができる。
In addition, the
また、管理FE20と各MFP10との間に、中継装置50及びデバイス接続サーバ40を介在させ、これら中継装置50及びデバイス接続サーバ40によって中継機能を分担させることで、多種多様な管理サービスを効率的に提供することが可能となる。
In addition, the
例えば、異なる管理サービス毎に中継装置50を個別に備え、デバイス接続サーバ40はそれら各中継装置50との間で通信を行うようにすることで、複数の管理サービスを効率的に提供することも可能となる。
For example, the
[第2実施形態]
次に、第2実施形態のMPSシステムについて説明する。本実施形態のMPSシステムが第1実施形態のMPSシステム1と異なる点は、中継装置50のHDD54にID変換テーブル54b記憶領域があってそこにID変換テーブルが記憶されていること、及び管理FE20からの各種要求にユーザIDが含まれること、及び中継装置50はそのユーザIDをもとにID変換テーブルを参照してデバイスIDリストを取得することである。
[Second Embodiment]
Next, the MPS system of the second embodiment will be described. The MPS system of the present embodiment is different from the MPS system 1 of the first embodiment in that the
ID変換テーブルは、ユーザIDとデバイスIDリストとが対応付けられて登録されたものである。ユーザIDは複数種類登録可能であり、ユーザID毎に個々に、デバイスIDリストが対応付けられる。ID変換テーブルの内容は、管理サービス提供業者等によって中継装置50に記憶され、その内容は適宜更新される。
In the ID conversion table, a user ID and a device ID list are registered in association with each other. A plurality of types of user IDs can be registered, and a device ID list is associated with each user ID. The contents of the ID conversion table are stored in the
第1実施形態では、管理FF20は、各種要求を送信する際、要求対象の各MFP10のデバイスIDを一括してまとめたデバイスIDリストを送信する構成であった。これに対し、本実施形態では、管理FE20は、デバイスIDリストそのものではなく、対象MFP10のデバイスIDリストに対応したユーザIDを送信する。
In the first embodiment, the
中継装置50は、管理FE20から、ユーザIDを含む各種要求を受信すると、ID変換テーブルを参照して、その受信したユーザIDに対応したデバイスIDリストを取得する。これにより、中継装置50は、どのMFP10が要求対象であるかを認識することができる。そのため、デバイスIDリストの取得後は、中継装置50は、第1実施形態と全く同じようにして、各種要求に対する処理を行うことができる。
When receiving various requests including the user ID from the
本実施形態の中継装置50の中継処理の一例として、管理FE20からログ取得要求を受信した場合の処理、即ちログ取得(GetLog)処理を、図8に示す。図8に示すログ取得処理は、図5に示した第1実施形態のログ取得処理と比較して、HTTPリクエストのリクエストボディに含まれるIDを判断するS750の処理が異なっており、且つS760の処理が新たに加わっている点で異なる。
As an example of the relay processing of the
つまり、図8のログ取得処理において、S710〜S740の処理は図5のS210〜S240と同じであり、S770〜S840の処理は図5のS260〜S330と同じである。 That is, in the log acquisition process of FIG. 8, the processes of S710 to S740 are the same as S210 to S240 of FIG. 5, and the processes of S770 to S840 are the same as S260 to S330 of FIG.
本実施形態では、S740の処理でリクエストボディが正しいフォーマットであると判断したら、S750で、リクエストボディにユーザIDが含まれているか否か判断する。ユーザIDが含まれていない場合はS840に進むが、ユーザIDが含まれている場合はS760に進む。 In this embodiment, if it is determined in step S740 that the request body has the correct format, it is determined in step S750 whether the request body includes a user ID. If the user ID is not included, the process proceeds to S840. If the user ID is included, the process proceeds to S760.
S760では、ユーザIDの解決を行う。即ち、ID変換テーブルを参照して、ユーザIDからデバイスIDリストへの変換を行い、ユーザIDに対応したデバイスIDリストを取得する。そして、その取得したデバイスIDリストに基づき、S770以降の処理を行う。 In S760, the user ID is resolved. That is, referring to the ID conversion table, conversion from a user ID to a device ID list is performed, and a device ID list corresponding to the user ID is acquired. Then, based on the acquired device ID list, the processing from S770 is performed.
このように、本実施形態では、管理FE20は、要求対象のMFP10それぞれのデバイスIDをデバイスIDリストとして送信する必要はなく、単にユーザIDを送信すればよい。ユーザIDを送信すれば、あとは中継装置50が、そのユーザIDから対象MFP10の個々のデバイスID(デバイスIDリスト)を取得して個別に処理を実行してくれる。そのため、管理FE20における各種要求の生成・送信の処理負荷を軽減できる。
As described above, in this embodiment, the
[他の実施形態]
(1)ログDB30には、上述したログに限らず、その他の種々の情報を書き込むことができるようにしてもよい。例えば、MFP10のステータスに関する情報(インク残量、カバー開閉状態、オンライン・オフライン情報、ビジー情報、トナーエンプティ情報等)やその他の各種情報が書き込まれるように設定することができる。
[Other Embodiments]
(1) The
(2)各MFP10がログDB30に書き込む情報(ログ等)の具体的内容は、MFP10毎に個別に設定できるようにしてもよい。例えば、登録(Subscribe)要求によって、MFP10毎に、どのような情報をログDB30に書き込むべきかを個別に指定できるようにしてもよい。
(2) The specific contents of the information (log etc.) written in the
(3)ログDB30は、デバイス接続サーバ40又は中継装置50に内蔵することもできる。
(4)中継装置50とデバイス接続サーバ40を一体化してもよい。管理FE20と各MFP10との間で各種要求およびレスポンス等を適切に中継できる限り、即ち上記実施形態と等価な中継機能を実現できる限り、管理FE20と各MFP10との間でどのような中継システムを構築するかについては適宜決めることができる。
(3) The
(4) The
(5)本発明の適用は、MPSシステムに限定されるものではない。管理装置側から管理対象のデバイスについて各種の管理を行うよう構成されたあらゆるシステムに対して本発明を適用可能である。 (5) The application of the present invention is not limited to the MPS system. The present invention can be applied to any system configured to perform various types of management on devices to be managed from the management apparatus side.
1…MPSシステム、5…インターネット、10…MFP、11,41,51…CPU、12,42,52…ROM、13,43,53…RAM、14…NVRAM、14a…デバイスID記憶領域、14b…登録情報記憶領域、15…印刷部、16…読取部、17,45,55…通信部、18…ルータ、20…管理FE、30…ログDB、40…デバイス接続サーバ、44,54…HDD、50…中継装置、54a…登録情報記憶領域、54b…ID変換テーブル DESCRIPTION OF SYMBOLS 1 ... MPS system, 5 ... Internet, 10 ... MFP, 11, 41, 51 ... CPU, 12, 42, 52 ... ROM, 13, 43, 53 ... RAM, 14 ... NVRAM, 14a ... Device ID storage area, 14b ... Registered information storage area, 15 ... printing unit, 16 ... reading unit, 17, 45,55 ... communication unit, 18 ... router, 20 ... management FE, 30 ... log DB, 40 ... device connection server, 44,54 ... HDD, 50 ... Relay device, 54a ... Registration information storage area, 54b ... ID conversion table
Claims (6)
前記ネットワークと接続されてデータ送受信が可能な通信部と、
制御部と、
を備え、
前記制御部は、
前記管理装置から、少なくとも1つの前記デバイスを対象デバイスとしてその少なくとも1つの対象デバイスを直接又は間接に示すデバイス特定情報及びその少なくとも1つの対象デバイスについて要求する処理を示す処理情報を含む一括管理コマンドを前記第2の通信プロトコルを用いた通信により受信した場合に、前記対象デバイス毎に、その対象デバイスを示す個別特定情報及び前記処理情報を含む個別管理コマンドを前記通信部から前記デバイス接続装置へ前記第2の通信プロトコルを用いた通信で送信させることにより前記対象デバイスに前記処理情報に応じた処理を実行させてその処理結果を前記デバイス接続装置から前記第2の通信プロトコルを用いた通信により前記通信部を介して取得するコマンド中継処理と、
前記コマンド中継処理により取得した前記対象デバイス毎の前記処理結果を前記通信部から前記管理装置へ送信させる処理結果中継処理と、
を実行し、
前記デバイス接続装置には、
当該中継装置からの前記個別管理コマンドに基づいて対応する前記対象デバイスに対して前記処理情報に応じた処理の実行を指示し、その指示に対する前記処理結果を前記対象デバイスから前記第1の通信プロトコルを用いた通信により取得してその取得した処理結果を前記第2の通信プロトコルを用いた通信により当該中継装置へ送信するデバイス接続サーバと、
前記少なくとも1つのデバイスにおける所定のデバイス情報が前記デバイス毎に蓄積されるデバイス情報データベースと、
が含まれており、
前記制御部は、前記コマンド中継処理において、
前記管理装置から、前記対象デバイスに対して前記デバイス情報を所定の蓄積タイミングで前記デバイス情報データベースに蓄積させるためのデバイス情報蓄積要求を前記処理情報として含む前記一括管理コマンドを受信した場合、前記対象デバイス毎に順次、前記処理情報として前記デバイス情報蓄積要求を含む前記個別管理コマンドを前記デバイス接続サーバへ送信させることにより、前記対象デバイスに前記蓄積タイミングで当該対象デバイスの前記デバイス情報を前記デバイス情報データベースに蓄積させるようにし、
前記管理装置から、前記デバイス情報を取得すべき旨の前記処理情報を含む前記一括管理コマンドを受信した場合、前記対象デバイス毎の前記個別管理コマンドを前記デバイス情報データベースへ送信させることにより前記処理結果としての前記デバイス情報を前記デバイス情報データベースから取得する
ことを特徴とする中継装置。 A request-response type second communication protocol is provided to at least one device connection apparatus capable of communicating with each other using at least one device and a always-connected type first communication protocol via a network. Using the second communication protocol via the network, and relaying communication between the management device and the at least one device connection device. A relay device,
A communication unit connected to the network and capable of transmitting and receiving data;
A control unit;
With
The controller is
A collective management command including device identification information that directly or indirectly indicates at least one target device from at least one of the devices as a target device and processing information indicating processing to request for the at least one target device from the management apparatus When received by communication using the second communication protocol, for each target device, an individual management command including individual identification information indicating the target device and the processing information is sent from the communication unit to the device connection apparatus. By causing the target device to execute processing according to the processing information by transmitting by communication using the second communication protocol, the processing result is transmitted from the device connection apparatus by communication using the second communication protocol. Command relay processing acquired via the communication unit;
A processing result relay process for transmitting the processing result for each target device acquired by the command relay process from the communication unit to the management apparatus;
The execution,
In the device connection apparatus,
Based on the individual management command from the relay apparatus, the corresponding target device is instructed to execute processing according to the processing information, and the processing result for the instruction is transmitted from the target device to the first communication protocol. A device connection server that obtains the obtained processing result through communication using the second communication protocol and transmits the obtained processing result to the relay device through communication using the second communication protocol;
A device information database in which predetermined device information in the at least one device is stored for each device;
Is included,
The control unit, in the command relay process,
When receiving the collective management command including, as the processing information, a device information storage request for storing the device information in the device information database at a predetermined storage timing for the target device from the management apparatus, By sequentially transmitting the individual management command including the device information accumulation request as the processing information to the device connection server for each device, the device information of the target device is transmitted to the target device at the accumulation timing. Let it accumulate in the database,
When the collective management command including the processing information indicating that the device information should be acquired is received from the management apparatus, the processing result is obtained by causing the individual management command for each target device to be transmitted to the device information database. The device information as is acquired from the device information database
A relay device characterized by that.
前記制御部は、前記処理情報が示す前記処理が所定の一括応答処理である場合は、前記処理結果中継処理において、前記コマンド中継処理による前記処理結果の取得が前記各対象デバイスについて全て完了した後に、前記各対象デバイスの前記各処理結果を前記管理装置へ送信させる
ことを特徴とする中継装置。 The relay device according to claim 1,
When the process indicated by the process information is a predetermined batch response process, the control unit, after completing the acquisition of the process result by the command relay process for each target device in the process result relay process The relay apparatus characterized in that the processing results of the target devices are transmitted to the management apparatus.
前記管理装置から受信される前記デバイス特定情報は、前記少なくとも1つの対象デバイスの前記個別特定情報が対応付けられた所定の一括指定情報であり、
当該中継装置は、前記一括指定情報とこれに対応付けられた前記個別特定情報との対応関係が設定された対応関係設定部にアクセス可能であり、
前記制御部は、
前記管理装置から前記一括指定情報を含む前記一括管理コマンドを受信した場合に、前記対応関係設定部にアクセスすることで、前記一括指定情報に対応付けられた前記個別特定情報を取得する個別特定情報取得処理を実行し、
前記個別特定情報取得処理で取得した前記個別特定情報に基づいて前記コマンド中継処理を実行する
ことを特徴とする中継装置。 The relay device according to claim 1 or 2 ,
The device identification information received from the management apparatus is predetermined collective designation information associated with the individual identification information of the at least one target device,
The relay device can access a correspondence setting unit in which a correspondence between the collective designation information and the individual specific information associated therewith is set.
The controller is
Individual identification information for acquiring the individual identification information associated with the batch designation information by accessing the correspondence setting unit when the batch management command including the batch designation information is received from the management device Execute the acquisition process,
The relay device, wherein the command relay process is executed based on the individual identification information acquired in the individual identification information acquisition process.
前記管理装置から、少なくとも1つの前記デバイスを対象デバイスとしてその少なくとも1つの対象デバイスを直接又は間接に示すデバイス特定情報及びその少なくとも1つの対象デバイスについて要求する処理を示す処理情報を含む一括管理コマンドを前記第2の通信プロトコルを用いた通信により受信した場合に、前記対象デバイス毎に、その対象デバイスを示す個別特定情報及び前記処理情報を含む個別管理コマンドを前記第2の通信プロトコルを用いた通信により前記デバイス接続装置へ送信することにより、前記対象デバイスに前記処理情報に応じた処理を実行させてその処理結果を前記デバイス接続装置から前記第2の通信プロトコルを用いた通信により取得するコマンド中継ステップと、
前記コマンド中継ステップにより取得した前記対象デバイス毎の前記処理結果を前記管理装置へ送信する処理結果中継ステップと、
を有し、
前記デバイス接続装置には、
当該中継装置からの前記個別管理コマンドに基づいて対応する前記対象デバイスに対して前記処理情報に応じた処理の実行を指示し、その指示に対する前記処理結果を前記対象デバイスから前記第1の通信プロトコルを用いた通信により取得してその取得した処理結果を前記第2の通信プロトコルを用いた通信により当該中継装置へ送信するデバイス接続サーバと、
前記少なくとも1つのデバイスにおける所定のデバイス情報が前記デバイス毎に蓄積されるデバイス情報データベースと、
が含まれており、
前記コマンド中継ステップでは、
前記管理装置から、前記対象デバイスに対して前記デバイス情報を所定の蓄積タイミングで前記デバイス情報データベースに蓄積させるためのデバイス情報蓄積要求を前記処理情報として含む前記一括管理コマンドを受信した場合、前記対象デバイス毎に順次、前記処理情報として前記デバイス情報蓄積要求を含む前記個別管理コマンドを前記デバイス接続サーバへ送信することにより、前記対象デバイスに前記蓄積タイミングで当該対象デバイスの前記デバイス情報を前記デバイス情報データベースに蓄積させるようにし、
前記管理装置から、前記デバイス情報を取得すべき旨の前記処理情報を含む前記一括管理コマンドを受信した場合、前記対象デバイス毎の前記個別管理コマンドを前記デバイス情報データベースへ送信することにより前記処理結果としての前記デバイス情報を前記デバイス情報データベースから取得する
ことを特徴とする中継方法。 A request-response type second communication protocol is provided to at least one device connection apparatus capable of communicating with each other using at least one device and a always-connected type first communication protocol via a network. Using the second communication protocol via the network, and relaying communication between the management device and the at least one device connection device. In the relay device, the relay method used in the relay device,
A collective management command including device identification information that directly or indirectly indicates at least one target device from at least one of the devices as a target device and processing information indicating processing to request for the at least one target device from the management apparatus Communication using the second communication protocol for individual target devices including individual identification information indicating the target device and the processing information for each target device when received by communication using the second communication protocol The command relay causes the target device to execute processing according to the processing information by transmitting to the device connection apparatus, and obtains the processing result from the device connection apparatus by communication using the second communication protocol. Steps,
A processing result relay step of transmitting the processing result for each target device acquired in the command relay step to the management device;
Have
In the device connection apparatus,
Based on the individual management command from the relay apparatus, the corresponding target device is instructed to execute processing according to the processing information, and the processing result for the instruction is transmitted from the target device to the first communication protocol. A device connection server that obtains the obtained processing result through communication using the second communication protocol and transmits the obtained processing result to the relay device through communication using the second communication protocol;
A device information database in which predetermined device information in the at least one device is stored for each device;
Is included,
In the command relay step,
When receiving the collective management command including, as the processing information, a device information storage request for storing the device information in the device information database at a predetermined storage timing for the target device from the management apparatus, By sequentially transmitting the individual management command including the device information accumulation request as the processing information to the device connection server for each device, the device information of the target device is transmitted to the target device at the accumulation timing. Let it accumulate in the database,
When the batch management command including the processing information indicating that the device information should be acquired is received from the management apparatus, the processing result is obtained by transmitting the individual management command for each target device to the device information database. The device information as is obtained from the device information database .
前記管理装置から、少なくとも1つの前記デバイスを対象デバイスとしてその少なくとも1つの対象デバイスを直接又は間接に示すデバイス特定情報及びその少なくとも1つの対象デバイスについて要求する処理を示す処理情報を含む一括管理コマンドを前記第2の通信プロトコルを用いた通信により受信した場合に、前記対象デバイス毎に、その対象デバイスを示す個別特定情報及び前記処理情報を含む個別管理コマンドを前記第2の通信プロトコルを用いた通信で前記デバイス接続装置へ送信させることにより前記対象デバイスに前記処理情報に応じた処理を実行させてその処理結果を前記デバイス接続装置から前記第2の通信プロトコルを用いた通信により取得するコマンド中継処理と、
前記コマンド中継処理により取得した前記対象デバイス毎の前記処理結果を前記管理装置へ送信させる処理結果中継処理と、
を実行させ、
前記デバイス接続装置には、
当該中継装置からの前記個別管理コマンドに基づいて対応する前記対象デバイスに対して前記処理情報に応じた処理の実行を指示し、その指示に対する前記処理結果を前記対象デバイスから前記第1の通信プロトコルを用いた通信により取得してその取得した処理結果を前記第2の通信プロトコルを用いた通信により当該中継装置へ送信するデバイス接続サーバと、
前記少なくとも1つのデバイスにおける所定のデバイス情報が前記デバイス毎に蓄積されるデバイス情報データベースと、
が含まれており、
前記コマンド中継処理は、
前記管理装置から、前記対象デバイスに対して前記デバイス情報を所定の蓄積タイミングで前記デバイス情報データベースに蓄積させるためのデバイス情報蓄積要求を前記処理情報として含む前記一括管理コマンドを受信した場合、前記対象デバイス毎に順次、前記処理情報として前記デバイス情報蓄積要求を含む前記個別管理コマンドを前記デバイス接続サーバへ送信させることにより、前記対象デバイスに前記蓄積タイミングで当該対象デバイスの前記デバイス情報を前記デバイス情報データベースに蓄積させるようにし、
前記管理装置から、前記デバイス情報を取得すべき旨の前記処理情報を含む前記一括管理コマンドを受信した場合、前記対象デバイス毎の前記個別管理コマンドを前記デバイス情報データベースへ送信させることにより前記処理結果としての前記デバイス情報を前記デバイス情報データベースから取得するように構成されている、中継プログラム。 A request-response type second communication protocol is provided to at least one device connection apparatus capable of communicating with each other using at least one device and a always-connected type first communication protocol via a network. Using the second communication protocol via the network, and relaying communication between the management device and the at least one device connection device. A relay program for causing a computer of the relay device to execute the program,
A collective management command including device identification information that directly or indirectly indicates at least one target device from at least one of the devices as a target device and processing information indicating processing to request for the at least one target device from the management apparatus Communication using the second communication protocol for individual target devices including individual identification information indicating the target device and the processing information for each target device when received by communication using the second communication protocol Command relay processing for causing the target device to execute processing according to the processing information by transmitting to the device connection device and acquiring the processing result from the device connection device by communication using the second communication protocol. When,
A processing result relay process for transmitting the processing result for each target device acquired by the command relay process to the management apparatus;
Was executed,
In the device connection apparatus,
Based on the individual management command from the relay apparatus, the corresponding target device is instructed to execute processing according to the processing information, and the processing result for the instruction is transmitted from the target device to the first communication protocol. A device connection server that obtains the obtained processing result through communication using the second communication protocol and transmits the obtained processing result to the relay device through communication using the second communication protocol;
A device information database in which predetermined device information in the at least one device is stored for each device;
Is included,
The command relay process
When receiving the collective management command including, as the processing information, a device information storage request for storing the device information in the device information database at a predetermined storage timing for the target device from the management apparatus, By sequentially transmitting the individual management command including the device information accumulation request as the processing information to the device connection server for each device, the device information of the target device is transmitted to the target device at the accumulation timing. Let it accumulate in the database,
When the collective management command including the processing information indicating that the device information should be acquired is received from the management apparatus, the processing result is obtained by causing the individual management command for each target device to be transmitted to the device information database. A relay program configured to acquire the device information as from the device information database .
前記中継装置は、 The relay device is
前記管理装置から、少なくとも1つの前記デバイスを対象デバイスとしてその少なくとも1つの対象デバイスを直接又は間接に示すデバイス特定情報及びその少なくとも1つの対象デバイスについて要求する処理を示す処理情報を含む一括管理コマンドを前記第2の通信プロトコルを用いた通信により受信した場合に、前記対象デバイス毎に、その対象デバイスを示す個別特定情報及び前記処理情報を含む個別管理コマンドを前記デバイス接続装置へ前記第2の通信プロトコルを用いた通信で送信することにより前記対象デバイスに前記処理情報に応じた処理を実行させて、その処理結果を前記デバイス接続装置から前記第2の通信プロトコルを用いた通信により取得するコマンド中継部と、 A collective management command including device identification information that directly or indirectly indicates at least one target device from at least one of the devices as a target device and processing information indicating processing to request for the at least one target device from the management apparatus When received by communication using the second communication protocol, for each target device, an individual management command including individual identification information indicating the target device and the processing information is sent to the device connection apparatus. Command relay that causes the target device to execute processing according to the processing information by transmitting by communication using a protocol, and acquires the processing result from the device connection apparatus by communication using the second communication protocol And
前記コマンド中継部により取得された前記対象デバイス毎の前記処理結果を前記管理装置へ送信する処理結果中継部と、 A processing result relay unit that transmits the processing result for each target device acquired by the command relay unit to the management device;
を備え With
前記デバイス接続装置には、 In the device connection apparatus,
当該中継装置からの前記個別管理コマンドに基づいて対応する前記対象デバイスに対して前記処理情報に応じた処理の実行を指示し、その指示に対する前記処理結果を前記対象デバイスから前記第1の通信プロトコルを用いた通信により取得してその取得した処理結果を前記第2の通信プロトコルを用いた通信により当該中継装置へ送信するデバイス接続サーバと、 Based on the individual management command from the relay apparatus, the corresponding target device is instructed to execute processing according to the processing information, and the processing result for the instruction is transmitted from the target device to the first communication protocol. A device connection server that obtains the processing result obtained by communication using and transmits the obtained processing result to the relay device by communication using the second communication protocol;
前記少なくとも1つのデバイスにおける所定のデバイス情報が前記デバイス毎に蓄積されるデバイス情報データベースと、 A device information database in which predetermined device information in the at least one device is stored for each device;
が含まれており、 Is included,
前記中継装置が備える前記コマンド中継部は、 The command relay unit included in the relay device includes:
前記管理装置から、前記対象デバイスに対して前記デバイス情報を所定の蓄積タイミングで前記デバイス情報データベースに蓄積させるためのデバイス情報蓄積要求を前記処理情報として含む前記一括管理コマンドを受信した場合、前記対象デバイス毎に順次、前記処理情報として前記デバイス情報蓄積要求を含む前記個別管理コマンドを前記デバイス接続サーバへ送信することにより、前記対象デバイスに前記蓄積タイミングで当該対象デバイスの前記デバイス情報を前記デバイス情報データベースに蓄積させるようにし、 When receiving the collective management command including, as the processing information, a device information storage request for storing the device information in the device information database at a predetermined storage timing for the target device from the management apparatus, By sequentially transmitting the individual management command including the device information accumulation request as the processing information to the device connection server for each device, the device information of the target device is transmitted to the target device at the accumulation timing. Let it accumulate in the database,
前記管理装置から、前記デバイス情報を取得すべき旨の前記処理情報を含む前記一括管理コマンドを受信した場合、前記対象デバイス毎の前記個別管理コマンドを前記デバイス情報データベースへ送信することにより前記処理結果としての前記デバイス情報を前記デバイス情報データベースから取得する When the batch management command including the processing information indicating that the device information should be acquired is received from the management apparatus, the processing result is obtained by transmitting the individual management command for each target device to the device information database. The device information as is acquired from the device information database
ことを特徴とする中継システム。 A relay system characterized by that.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013054088A JP6142594B2 (en) | 2013-03-15 | 2013-03-15 | Relay device, relay method, relay program, and relay system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013054088A JP6142594B2 (en) | 2013-03-15 | 2013-03-15 | Relay device, relay method, relay program, and relay system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014179022A JP2014179022A (en) | 2014-09-25 |
JP6142594B2 true JP6142594B2 (en) | 2017-06-07 |
Family
ID=51698871
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013054088A Active JP6142594B2 (en) | 2013-03-15 | 2013-03-15 | Relay device, relay method, relay program, and relay system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6142594B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6519342B2 (en) * | 2015-06-23 | 2019-05-29 | コニカミノルタ株式会社 | Communication system, communication relay device and program |
JP6816589B2 (en) | 2017-03-17 | 2021-01-20 | 株式会社リコー | Remote management systems, intermediaries, remote management methods, and remote management programs |
JP7259213B2 (en) * | 2018-05-28 | 2023-04-18 | ブラザー工業株式会社 | Computer programs for servers and servers |
JP7298311B2 (en) * | 2019-06-03 | 2023-06-27 | ブラザー工業株式会社 | Program, information processing device, and communication system |
EP4222590A1 (en) | 2020-10-01 | 2023-08-09 | Hewlett-Packard Development Company, L.P. | Subscription-based print job execution |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4638131B2 (en) * | 2003-03-19 | 2011-02-23 | 株式会社リコー | Image processing apparatus management system and image processing apparatus management method |
JP4935181B2 (en) * | 2005-05-11 | 2012-05-23 | ソニー株式会社 | Processing equipment |
JP2012256973A (en) * | 2011-06-07 | 2012-12-27 | Canon Inc | Information processing device, communication method, program, and communication system |
-
2013
- 2013-03-15 JP JP2013054088A patent/JP6142594B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2014179022A (en) | 2014-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5939180B2 (en) | Information processing apparatus, relay server, information relay method, information relay program, and communication system | |
US10866776B2 (en) | Pull printing method and system using cloud server | |
JP6142594B2 (en) | Relay device, relay method, relay program, and relay system | |
KR100728924B1 (en) | Front-end device connected network system, communication method thereof on the network system and management system for network devices | |
JP4850761B2 (en) | Event notification device and event notification method | |
US9325769B2 (en) | Processing control server, processing control method, and processing terminal | |
JP2013055488A (en) | Power-saving mode release device, relay device, power-saving mode release method, and computer program | |
US10298697B2 (en) | Device management system and information processing apparatus, configured to obtain data from static server when data cannot be obtained from dynamic server | |
JP5879987B2 (en) | Information processing apparatus, information processing apparatus control method, control program, and image forming system | |
JP2013091182A (en) | Image forming system, image forming device, and program | |
JP2017116999A (en) | Function execution device, function execution method and storage medium | |
JP5862206B2 (en) | Image output device, relay device, program for image output device, and control method for image output device | |
JP2013196508A (en) | Equipment management system, equipment management method, server device and equipment management program | |
JP2014178989A (en) | Communication device | |
JP6090187B2 (en) | Electronic equipment and programs | |
JP2014232340A (en) | Program, information processing apparatus, image processing apparatus, and image processing system | |
JP4728767B2 (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, COMMUNICATION SYSTEM, PROGRAM, AND RECORDING MEDIUM | |
JP4916957B2 (en) | Server apparatus, information acquisition method, information acquisition program, recording medium, client apparatus, and communication system | |
JP5994692B2 (en) | Relay server and communication device | |
JP6336377B2 (en) | Network system and image forming apparatus | |
JP5526671B2 (en) | Program, information processing apparatus and communication system | |
JP6064703B2 (en) | Relay server | |
JP6213144B2 (en) | Function sharing system, share management server, function sharing method, and program | |
JP2011165048A (en) | Image forming apparatus, equipment management system, equipment management method, program and recording medium | |
JP2005223551A (en) | Address supply device, control method therefor, data transmission system, address notification program, and recording medium where address notification program is recorded |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160114 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20161130 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20161213 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170210 |
|
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: 20170411 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170424 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6142594 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |