JP2009113390A - Image forming device, image forming system, information processing method, and computer program - Google Patents
Image forming device, image forming system, information processing method, and computer program Download PDFInfo
- Publication number
- JP2009113390A JP2009113390A JP2007290216A JP2007290216A JP2009113390A JP 2009113390 A JP2009113390 A JP 2009113390A JP 2007290216 A JP2007290216 A JP 2007290216A JP 2007290216 A JP2007290216 A JP 2007290216A JP 2009113390 A JP2009113390 A JP 2009113390A
- Authority
- JP
- Japan
- Prior art keywords
- request
- response
- item
- image forming
- unit
- 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
Links
Images
Abstract
Description
本発明は、 画像形成装置、画像形成システム、情報処理方法、及び、コンピュータプログラムに関する。 The present invention relates to an image forming apparatus, an image forming system, an information processing method, and a computer program.
従来から、ネットワークを介して接続された装置のファームウェアを更新してバージョンアップを行う技術がある。例えば、特開2004−139572号公報(特許文献1)には、画像形成装置のファームウェア更新を、所定の日時に行わせることにより、画像形成装置の稼働率の低下を回避する遠隔管理システム等の技術が開示されている。 2. Description of the Related Art Conventionally, there is a technique for updating the firmware by updating the firmware of devices connected via a network. For example, Japanese Patent Laid-Open No. 2004-139572 (Patent Document 1) discloses a remote management system or the like that avoids a decrease in the operating rate of an image forming apparatus by updating firmware of the image forming apparatus at a predetermined date and time. Technology is disclosed.
また例えば、特開2004−252704号公報(特許文献2)には、ネットワークを介して接続されたネットワーク接続機器間において、インストールされているソフトウェアのバージョン等をあわせるようにする機器管理装置の技術が開示されている。
しかしながら、上記特許文献1及び2に開示の技術では、画像形成装置に新機能を追加する際の容易性については考慮されていない。例えば、新機能を追加した画像形成装置において、その機能に係る処理を実行させるために、機能を実現する手段であるファームウェアの他に、各機能に対する指示を出力する中心的な制御を行うファームウェアも更新すると、機能の追加毎や機能の組合せが変更される毎にバージョンアップするファームウェアの管理や開発が煩雑になる。
However, the techniques disclosed in
本発明は、上記の点に鑑みて、これらの問題を解消するために発明されたものであり、新機能が追加された画像形成装置において、リクエストの内容を解析して好適に処理する画像形成装置、画像形成システム、情報処理方法、及び、コンピュータプログラムを提供することを目的としている。 The present invention has been invented in order to solve these problems in view of the above points, and in an image forming apparatus to which a new function is added, image formation that analyzes and appropriately processes the contents of a request. It is an object to provide an apparatus, an image forming system, an information processing method, and a computer program.
上記目的を達成するために、本発明の画像形成装置は次の如き構成を採用した。 In order to achieve the above object, the image forming apparatus of the present invention employs the following configuration.
本発明の画像形成装置は、当該画像形成装置に接続された機能実現手段の一覧を管理する一覧管理手段と、クライアント装置からの第一の記述形式によるリクエストを受信する通信手段と、前記リクエストを解析して該リクエストに含まれる機能実現手段の識別情報と要求項目とを取得して出力するリクエスト解析手段と、前記機能実現手段毎に、前記要求項目に対応する処理内容のデータ形式を保持するデータ形式保持手段と、前記リクエスト解析手段からの出力に基づいて、前記要求項目を前記処理内容のデータ形式にして前記機能実現手段に対して出力し、前記機能実現手段に対応する処理内容が無い場合には、前記要求項目を第二の記述形式にして前記機能実現手段に対して出力する処理内容取得手段と、を有する構成とすることができる。 An image forming apparatus according to the present invention includes a list managing unit that manages a list of function realizing units connected to the image forming apparatus, a communication unit that receives a request in a first description format from a client device, and the request. A request analysis unit that analyzes and obtains and outputs identification information and a request item of the function realizing unit included in the request, and holds a data format of processing contents corresponding to the request item for each function realizing unit Based on the output from the data format holding means and the request analyzing means, the request item is output to the function realizing means in the data format of the processing contents, and there is no processing contents corresponding to the function realizing means. In such a case, a processing content acquisition unit that outputs the request item to the function realization unit in a second description format may be provided. Kill.
これにより、新機能が追加された画像形成装置において、リクエストの内容を解析して好適に処理する画像形成装置を提供することができる。 Thereby, in the image forming apparatus to which a new function is added, it is possible to provide an image forming apparatus that analyzes the contents of the request and processes them appropriately.
なお、上記課題を解決するため、本発明は、さらに、上記画像形成装置を有する画像形成システム、上記画像形成装置又は上記画像形成システムにおける情報処理方法、及び、その情報処理方法をコンピュータに実行させるためのコンピュータプログラムとしてもよい。 In order to solve the above problem, the present invention further causes an image forming system having the image forming apparatus, an information processing method in the image forming apparatus or the image forming system, and a computer to execute the information processing method. It may be a computer program for this purpose.
本発明の画像形成装置、画像形成システム、情報処理方法、及び、コンピュータプログラムによれば、新機能が追加された画像形成装置において、リクエストの内容を解析して好適に処理する画像形成装置、画像形成システム、情報処理方法、及び、コンピュータプログラムを提供することが可能になる。 According to the image forming apparatus, the image forming system, the information processing method, and the computer program of the present invention, the image forming apparatus that analyzes the contents of the request and processes them appropriately in the image forming apparatus to which a new function is added, the image It is possible to provide a forming system, an information processing method, and a computer program.
以下、本発明の実施の形態を図面に基づき説明する。
〔本発明の実施の形態〕
(一のリクエストをそれぞれの装置が処理することを説明する図)
図1は、一のリクエストをそれぞれの装置が処理することを説明する図である。図1の画像形成システムは、クライアント装置であるPC15が、レーザプリンタ(以下、「LP」という。)25、複合機(以下、「MFP」という。)35、MFP36及び印刷機45と、ネットワークを介して接続されている。図1では、LP25、MFP35、MFP36及び印刷機45は、同一のインタフェースであり、リクエスト及びそのレスポンスの送受信に用いられるプロトコルは同一である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
Embodiment of the present invention
(Figure explaining that each device processes one request)
FIG. 1 is a diagram for explaining that each device processes one request. In the image forming system of FIG. 1, a PC 15 as a client device includes a laser printer (hereinafter referred to as “LP”) 25, a multifunction device (hereinafter referred to as “MFP”) 35, an
図1の画像形成システムにおいて、リクエストのデータフォーマットは、例えば、XMLの形式を有し、リクエストに含まれる要求項目のうち、各装置が有する機能実現部に対応する要求項目のみが、各装置において処理される。 In the image forming system of FIG. 1, the data format of the request has, for example, an XML format, and among the request items included in the request, only the request items corresponding to the function realization unit included in each device are included in each device. It is processed.
すなわち、PC15から送信されるリクエストaのうち、LP25は、自身が有する機能実現部に対応する箇所であるa1の部分の要求項目に対する処理を行う。同様に、MFP36は、自身が有する機能実現部に対応する箇所であるa2の部分の要求項目に対する処理を行う。MFP35と印刷機45とは、リクエストaに含まれる全ての要求項目に対応する機能実現部を有するので、それらに対応する処理を行う。このような要求項目の取捨選択は、例えば、各機器が有するWebService(以下、「WS」という。)部において行われる。
That is, in the request a transmitted from the
図1より、PC15は、装置毎の機能実現部を考慮することなく、リクエストを出力することができる。これにより、装置毎の機能実現部やバージョンに対応してクライアントの機能実現部を変更する手間を省くことができる。 As shown in FIG. 1, the PC 15 can output a request without considering the function realization unit for each device. Thereby, the trouble of changing the function realization unit of the client corresponding to the function realization unit and version for each apparatus can be saved.
ここで、PC15は、例えば、次の2つの方法によって各機器にアクセスすることが考えられる。
1. SNMP(Simple Network Management Protocol)を利用してMIB(Management Information Base)の情報にアクセスする。
2. HTTP(Hyper Text Transfer Protocol)上でSOAP(Simple Object Access Protocol)やXMLデータを利用する。
Here, for example, the PC 15 may access each device by the following two methods.
1. Information on MIB (Management Information Base) is accessed using SNMP (Simple Network Management Protocol).
2. SOAP (Simple Object Access Protocol) and XML data are used on HTTP (Hyper Text Transfer Protocol).
上記1.では、MIBで定められている情報については、全ての装置からアクセスして取得することができるが、MIB以外の情報については、取得できない。一方、上記2.では、装置毎にインタフェースを定義して装置が有する情報にアクセスでき、その際に、SOAPやXMLが用いられる。しかしながら、2.では、プラットフォームやバージョンの違いにより、インタフェースが異なる場合には、PC15側でその違いに応じた処理が必要になる。 Above 1. Then, the information defined by the MIB can be obtained by accessing from all devices, but the information other than the MIB cannot be obtained. On the other hand, the above 2. In this case, an interface is defined for each device, and information held by the device can be accessed. At that time, SOAP or XML is used. However, 2. Then, when the interface is different due to the difference in platform and version, the PC 15 side needs processing corresponding to the difference.
なお、本実施の形態において、インタフェースとは、特に明記しない限り「ネットワークインタフェース」であり、例えば、SOAPにおけるURL等の装置を識別して呼びかけるための情報である。 In this embodiment, an interface is a “network interface” unless otherwise specified, and is information for identifying and calling a device such as a URL in SOAP, for example.
(要求項目を取捨選択することにより生じる課題)
図2は、WS部において要求項目を取捨選択することにより生じる課題を説明する図である。図2の画像形成装置37は、WS部371と一以上の機能実現部372を有する。WS部371がリクエストに含まれている要求項目のうち、予め登録されている要求項目を取得して、機能実現部372に振り分けている。
(Issues caused by selecting required items)
FIG. 2 is a diagram illustrating a problem caused by selecting required items in the WS unit. The
しかしながら、機能実現部372が後から追加された場合には、その機能実現部に対応する要求項目が登録されていない場合も生じる。そのような場合に、要求項目がWS部371によって読み飛ばされてしまうと、機能実現部372が実装されているにも関わらず、要求項目が伝達されないために、その機能が実現されないという不具合が生じる。
However, when the
(未知の要求項目を伝達する例)
図3では、リクエストに含まれている要求項目のうち、予め登録されていない要求項目をも振り分けることを説明する図である。図3の画像形成装置38は、WS部381と機能実現部382を有する。図3では、リクエストaのうち、予め登録されている要求項目に係る部分a2と、登録されていない要求項目に係る部分a1の双方が、WS部381により、機能実現部382に振り分けられる。これにより、要求項目に対応する処理内容を、機能実現部382が実行することができる。
(Example of transmitting unknown request items)
FIG. 3 is a diagram for explaining the distribution of request items that are not registered in advance among the request items included in the request. The
予め登録されていない要求項目とは、例えば、WS部381が、その要求項目に対応するデータ形式を取得できない要求項目である。このような状態は、例えば、その機能実現部382が、画像形成装置38に新たに追加された機能に係る機能実現部である場合に生じる。
Request items that are not registered in advance are, for example, request items for which the
(未知の応答項目を伝達する例)
図4は、予め登録されていない応答項目を含むメッセージを生成する処理を説明する図である。図4では、画像形成装置38が有する各機能実現部382から、WS部381に対し、応答項目が出力される。これらの応答項目は、機能実現部毎に対応する所定のデータ形式でもよい。しかし、WS部381が、その機能実現部に対応するデータ形式を取得できない場合には、予め定められる所定の記述形式により、応答項目が取得される。
(Example of transmitting an unknown response item)
FIG. 4 is a diagram for explaining processing for generating a message including response items not registered in advance. In FIG. 4, response items are output from the
なお、WS部381が、応答項目のデータ形式を取得できない機能実現部382とは、例えば、画像形成装置38に対して新たに追加された機能に係る機能実現部であり、また例えば、その機能実現部に対する要求項目のデータ形式が取得できなかった機能実現部である。
Note that the
(システム構成の例)
図5は、本実施の形態による画像形成システムの構成の例を説明する図である。図5の画像形成システムは、PC1、PC2、PC3・・・と、MFP4、MFP5、MFP6・・・とが、LANに接続されている。これにより、各PCが、それぞれのMFPに対してリクエストを出力し、また各MFPからのレスポンスを受信する。
(Example of system configuration)
FIG. 5 is a diagram illustrating an example of the configuration of the image forming system according to the present embodiment. In the image forming system of FIG. 5, PC1, PC2, PC3... And MFP4, MFP5, MFP6. Accordingly, each PC outputs a request to each MFP and receives a response from each MFP.
(MFPの装置構成の例)
図6は、本実施の形態に係る画像形成装置であるMFPの装置構成の例を説明する図である。図6のMFP300は、例えば、情報処理ロジック部310、情報アクセス部330、情報保持部340、通信サーバ部351、通信クライアント部352、及び、ネットワークインタフェース(以下、「I/F」という。)390を有する。
(Example of MFP device configuration)
FIG. 6 is a diagram for explaining an example of the apparatus configuration of an MFP that is an image forming apparatus according to the present embodiment. 6 includes, for example, an information
情報処理ロジック部310は、クライアント装置等からのリクエストを解析し、また、クライアント装置へのレスポンスを生成する。情報処理ロジック部310は、例えば、データ処理部311を有する。データ処理部311は、XMLで記述されるリクエストをパースし、またXMLで記述されるレスポンスを生成する。
The information
情報アクセス部330は、情報処理ロジック部310によって解析されたリクエストに含まれる要求項目に基づいて、情報保持部340に保持されている情報を取得し、またその情報を編集して置き換え、または情報を生成して情報保持部340に格納させる。情報保持部340は、画像形成装置300の状態や操作者毎の識別情報、画像データ等を格納する。
The
通信サーバ部351と通信クライアント部352とは、クライアント装置に対して通信を行う手段である。ネットワークI/F390は、画像形成装置300とLANとを接続するためのインタフェースである。
The
(本実施の形態の画像形成システムの機能構成の例)
図7は、本実施の形態による画像形成システムの機能構成の例を説明する図である。図7の画像形成システムは、画像形成装置500とクライアントPC600とが接続されている。なお、画像形成装置500とクライアントPC600とは、ネットワークを介して接続されてもよく、また直接接続されてもよい。
(Example of functional configuration of image forming system of this embodiment)
FIG. 7 is a diagram illustrating an example of a functional configuration of the image forming system according to the present embodiment. In the image forming system of FIG. 7, an
画像形成装置500は、例えば、情報処理ロジック部510、機能実現手段530、一覧管理手段541、データ形式保持手段542、及び、通信手段550を有する。情報処理ロジック部510は、クライアントPC600から送信されるリクエストを解析してその中に含まれる要求項目を取得する。情報処理ロジック部510は、また、要求項目に対応するレスポンスを生成する。
The
情報処理ロジック部510は、例えば、リクエスト解析手段511、処理内容取得手段512、レスポンス生成手段513、及び、メッセージ生成手段514を有する。リクエスト解析手段511は、第一の記述形式によって記述されるリクエストをその構文にしたがって解析する。第一の記述形式とは、例えば、XMLによって表記され、名前空間によって項目群が識別される記述形式である。リクエスト解析手段511は、例えば、XMLパーサとして構成される。これにより、リクエストに含まれる要求項目を取得することができる。
The information
処理内容取得手段512は、リクエスト解析手段511によって解析された内容に基づいて、機能実現手段の識別情報と要求項目に対応する処理内容とを取得する。処理内容取得手段512は、例えば、データ形式保持手段542に保持されている機能実現手段毎のデータ形式に基づいて、要求項目をそのデータ形式による処理内容に変換する。
The processing
処理内容取得手段512は、要求項目に対応するデータ形式が取得できない場合には、その要求項目を所定の記述形式に変換する。所定の記述形式とは、例えば、第二の記述形式であり、名前空間名、変数又はタグ名、及び、値を有する、クラスとして構成されてよい。
When the data format corresponding to the request item cannot be acquired, the processing
なお、データ形式が取得できない場合とは、例えば、その要求項目に対応する機能実現手段が、新たに追加されたものであるため、一覧管理手段541によって識別情報は管理されているものの、データ形式保持手段542には、その機能実現手段とのデータのインタフェースとなるデータ形式が登録されていない場合等である。
Note that the case where the data format cannot be acquired means that, for example, the function realizing unit corresponding to the request item is newly added, and thus the identification information is managed by the
これにより、画像形成装置500が有する新たに追加された機能実現手段に対しても、要求項目を出力して処理を指示することができる。
As a result, it is possible to output a request item and instruct processing to a newly added function realizing unit included in the
レスポンス生成手段513は、機能実現手段530によって処理された要求項目に対応するレスポンスを生成する。レスポンス生成手段513が生成するレスポンスは、例えば、画像形成装置500の属するバージョンに基づいている。レスポンス生成手段513によって生成されるレスポンスは、機能実現手段530から出力される応答項目を含む。
The
レスポンス生成手段513は、機能実現手段530から出力される機能実現手段毎に対応するデータ形式の応答項目を変換し、第一の記述形式によるレスポンスを生成する。レスポンス生成手段513は、またさらに、機能実現手段530から出力される応答項目が、第二の記述形式による場合には、その応答項目から必要な情報を取り出して、第一の記述形式によるレスポンスにその情報を含ませる。
The
なお、応答項目が第二の記述形式による場合とは、その機能実現手段が、画像形成装置500に対して後から追加されたものであり、一覧管理手段541に識別情報が登録されているものの、データ形式保持手段542には、その機能実現手段とのデータのインタフェースとなるデータ形式が登録されていない場合等である。
When the response item is in the second description format, the function realizing unit is added to the
これにより、画像形成装置500が有する新たに追加された機能実現手段が出力する応答項目に対応するレスポンスを生成することができる。
As a result, it is possible to generate a response corresponding to the response item output by the newly added function realizing unit included in the
メッセージ生成手段514は、画像形成装置500における所定のイベントに基づいて、画像形成装置500の状態に係る情報が、所定の記述形式によって記述されたメッセージを生成する。所定のイベントとは、例えば、画像形成装置500におけるエラーの発生であり、より詳細には、ドアが開いた状態、用紙がない状態等の発生である。メッセージ生成手段514によって生成されるメッセージは、機能実現手段530から出力される状況項目を含む。
The
メッセージ生成手段514は、機能実現手段530から出力される機能実現手段毎に対応するデータ形式の状況項目を変換し、第一の記述形式によるメッセージを生成する。メッセージ生成手段514は、またさらに、機能実現手段530から出力される状況項目が、第二の記述形式による場合には、その状況項目から必要な情報を取り出して、第一の記述形式によるメッセージにその情報を含ませる。
The
なお、状況項目が第二の記述形式による場合とは、応答項目が第二の記述形式による場合と同様のケースである。これにより、画像形成装置500が有する新たに追加された機能実現手段が出力する状況項目に対応するメッセージを生成することができる。
The case where the status item is in the second description format is the same case as the case where the response item is in the second description format. As a result, a message corresponding to the status item output by the newly added function realizing unit included in the
機能実現手段530は、処理内容取得手段512が取得した要求項目に基づいて、対応する処理を実行する。機能実現手段530は、例えば、図示しない記憶手段に格納されている情報を取得して出力し、また記憶手段に格納されている情報を編集して置き換え、また要求項目に基づいて新たな情報を生成して記憶手段に格納させる。なお、記憶手段には、上記の他、画像形成装置500の状態に係る情報を保持し、また画像形成装置500によって処理される画像の画像データ、画像形成装置500を使用する操作者の情報等を保持されてよい。
The
機能実現手段530は、記憶手段に格納されている情報に係る処理を行う他に、画像形成装置500が有する画像形成機能、通信機能、ファクシミリ機能等に係る処理を行ってもよい。機能実現手段530は、また、画像形成装置500が有する構成の他に、画像形成装置500に接続される構成でもよい。
The
一覧管理手段541は、画像形成装置500が有する機能実現手段の一覧を保持し管理する。新たに機能実現手段530が追加された場合には、一覧管理手段541によって管理される一覧が更新される。
The
データ形式保持手段542は、機能実現手段毎に対応する、要求項目、応答項目、及び/又は、状況項目のデータ形式を保持する。これにより、処理内容取得手段512等が、第一の記述形式と、機能実現手段毎に対応するデータ形式との間の変換を行うことができる。
The data
通信手段550は、クライアントPC600との通信を行い、例えば、リクエストを受信し、レスポンスやメッセージを送信する。
The
クライアントPC600は、画像形成装置500に対して、リクエストを送信し、またその応答であるレスポンスを受信する。これにより、クライアントPC600は、画像形成装置500の制御や画像形成装置500が有する情報の管理を行う。
The
クライアントPC600は、例えば、情報処理ロジック部610と通信手段650とを有する。情報処理ロジック部610は、画像形成装置500に対して送信するリクエストを生成し、また、画像形成装置500から送信されるレスポンスを解析する。これにより、画像形成装置500のステータスを取得することができる。なお、ステータスとは、画像形成装置500の状態の他に、画像形成装置500が保持する情報でもよい。
The
情報処理ロジック部610は、例えば、リクエスト生成手段611、レスポンス解析手段612、ステータス取得手段613を有する。リクエスト生成手段611は、画像形成装置500に対して要求する要求項目を含むリクエストを生成する。リクエスト生成手段611によって生成されるリクエストは、例えば、第一の記述形式で表記される。
The information
レスポンス解析手段612は、画像形成装置500から送信されるレスポンス又はメッセージを解析する。以下、レスポンスを例に説明するが、メッセージの場合も同様に処理される。レスポンス解析手段612は、例えば、レスポンスがXMLによって記述される場合に、XMLパーサとして構成される。
The
ステータス取得手段613は、レスポンス解析手段612によって解析された応答項目又は状況項目に基づいて、画像形成装置500のステータスを取得する。ステータス取得手段613は、またさらに、取得したステータスに基づいて、機能実現手段630に対して応答項目を振り分ける。これにより、各機能実現手段が、その応答項目に対応する処理を実行することができる。
The
ステータス取得手段613は、応答項目を、機能実現手段毎に対応するデータ形式に変換する。ステータス取得手段613は、またさらに、その応答項目に対応するデータ形式がデータ形式保持手段642に保持されていない場合には、その応答項目を第二の記述形式に変換して出力する。
The
なお、応答項目が第二の記述形式による場合とは、画像形成装置500における場合と同様のケースであって、例えば、クライアント装置600に、新たに追加された機能実現手段630に対応する応答項目の場合である。これにより、クライアント装置が有する新たに追加された機能実現手段に対しても、応答項目又は状況項目を出力し、それらに対応する処理を実行させることができる。
Note that the case where the response item is in the second description format is the same case as that in the
機能実現手段630、一覧管理手段641、データ形式保持手段642、及び、通信手段650の機能及び構成は、画像形成装置500が有する同名の手段と同様であり、容易に理解できるので、ここでは説明を省略する。
The functions and configurations of the
(クライアントからのリクエストに基づく処理の例(その1))
図8は、画像形成装置300における、クライアントからのリクエストに基づく処理の例のシーケンス図である。図8のステップS101では、PC100から通信サーバ部351に対し、リクエストが送信される。リクエストは、例えば、条件を設定すること、情報を参照、変更、又は、削除することの要求項目を含む。リクエストは、また例えば、httpリクエストとして送信されてもよい。リクエストは、例えば、XML等の記述言語による第一の記述形式によって記述される。
(Example of processing based on a request from a client (part 1))
FIG. 8 is a sequence diagram of an example of processing based on a request from a client in the
ステップS101に続いてステップS102に進み、通信サーバ部351から情報処理ロジック部310に対し、ステップS101で受信されたリクエストを処理する依頼が出力される。リクエストは、例えば、画像形成装置500が有する情報保持部340に保持されているアドレス帳のデータを操作する処理の要求である。
Progressing to step S102 following step S101, the
ステップS102に続いてステップS103に進み、情報処理ロジック部310からデータ処理部311に対し、リクエストのデータを解析する依頼が出力される。
In step S103 following step S102, the information
ステップS103に続いてステップS104に進み、データ処理部311がリクエストを解析することにより、リクエストに含まれている要求項目を取得する。リクエストは、例えば、Atom Publishing Protocol(以下、「APP」という。)
、Atom、又は、その他の拡張形式の記述形式によって表記されている。そこで、データ処理部311は、それぞれの記述形式に応じて、要求項目と要求先の機能実現部の識別情報とを取得する。ここでは、例えば、情報アクセス部330の識別情報が取得される。
Proceeding to step S104 following step S103, the
, Atom, or other extended description format. Therefore, the
データ処理部311は、取得された機能実現部の識別情報に基づいて、その機能実現部に対応するデータ形式に要求項目を変換して処理内容とする。機能実現部に対応するデータ形式が無い場合には、その要求項目を、予め定められている第二の記述形式に変換する。
Based on the acquired identification information of the function realization unit, the
第二の記述形式とは、例えば、リクエストがXMLによって記述される場合に、その要求項目の属する名前空間名、変数名又はタグ名、及び、値を含むとよい。 For example, when the request is described in XML, the second description format may include a namespace name to which the request item belongs, a variable name or a tag name, and a value.
ステップS104に続いてステップS105に進み、データ処理部311から情報処理ロジック部310に対し、取得された処理内容又は第二の記述形式に変換された要求項目と、リクエストの解析が終了した通知が出力される。これに基づいて、情報処理ロジック部310は、要求項目毎に対応する処理内容又は第二の記述形式に変換された要求項目を取得する。
Progressing to step S105 following step S104, the
ステップS105に続いてステップS106に進み、情報処理ロジック部310から情報アクセス部330に対し、処理内容を実行する要求が出力される。ステップS106に続いてステップS107に進み、情報アクセス部330が情報保持部340にアクセスすることにより、ステップS101で受信されたリクエストに基づく処理が行われる。
Progressing to step S106 following step S105, the information
ステップS107に続いてステップS108に進み、情報処理部340から情報アクセス部330に対し、処理が終了したことの通知が出力される。ステップS108に続いてステップS109に進み、情報アクセス部330から情報処理ロジック部310に対し、処理が終了したことの通知が出力される。ステップS109に続いてステップS110に進み、情報処理ロジック部310から通信サーバ部351に対し、処理が終了したことをPC100に通知する要求が出力される。ステップS110に続いてステップS111に進み、通信サーバ部351からPC100に対し、処理が終了したことの通知が送信される。ここでは、例えば、httpレスポンスとして送信される。
Proceeding to step S108 following step S107, the
(クライアントからのリクエストに基づく処理の例(その2))
図9は、画像形成装置300における、クライアントからのリクエストに基づく処理の例のシーケンス図であって、画像形成装置300からPC100に対してレスポンスが送信される処理の例である。図9のステップS201からステップS208は、図10のステップS101からステップS108と同一であるので、ここでは説明を省略する。
(Example of processing based on a request from a client (part 2))
FIG. 9 is a sequence diagram of an example of processing based on a request from a client in the
ステップS208に続くステップS209では、情報アクセス部330から情報処理ロジック部310に対し、処理が終了した旨の応答項目が出力される。応答項目は、情報処理ロジック部310に対応する所定のデータ形式でもよく、また例えば、第二の記述形式によるものでもよい。なお、第二の記述形式とは、例えば、レスポンスがXMLによって記述される場合に、その応答項目の属する名前空間名、変数名又はタグ名、及び、値を含むとよい。
In step S209 subsequent to step S208, a response item indicating that the processing has been completed is output from the
ステップS209に続くステップS210では、情報処理ロジック部310からデータ処理部311に対し、レスポンスを生成する依頼が出力される。ステップS210に続いてステップS211に進み、データ処理部311が、ステップS204等で処理された処理内容毎に対応する応答項目を含むレスポンスを生成する。レスポンスは、第一の記述形式によって記述されており、例えば、XMLによって表記される。より詳細には、APP、Atom、又は、その他の拡張形式によって表記される。どの形式によって表記されるかは、例えば、どの形式でレスポンスを返して欲しいというリクエストの記述内容や、画像形成装置の形式のサポート状況によって異なる。
In step S210 following step S209, the information
ステップS211に続いてステップS212に進み、データ処理部311から情報処理ロジック部310に対し、レスポンスの生成が終了した通知とレスポンスとが出力される。なお、レスポンスが出力されることが、レスポンスの生成が終了した通知を兼ねてもよい。
Progressing to step S212 following step S211, the
ステップS212に続いてステップS213に進み、情報処理ロジック部310から通信サーバ部351に対し、レスポンスとそのレスポンスを送信する依頼が出力される。ステップS213に続いてステップS214に進み、通信サーバ部351からPC100に対し、レスポンスが送信される。
Proceeding to step S213 following step S212, the information
(メッセージを生成して送信する処理の例)
図10は、画像形成装置500からPC100に対し、所定のイベントに基づくメッセージが送信される場合の処理の例のシーケンス図である。図10のステップS301では、トリガとなるモジュールから情報処理ロジック部310に対し、イベントの発生が通知される。イベントとは、例えば、画像形成装置500が有するドアが開いた等の異常の発生である。
(Example of processing to generate and send a message)
FIG. 10 is a sequence diagram illustrating an example of processing when a message based on a predetermined event is transmitted from the
ステップS301に続いてステップS302に進み、情報処理ロジック部310から情報アクセス部330に対し、データの取得依頼が出力される。これは、ステップS301で通知される内容が、イベントが発生したことを表す情報であって、その詳細は、情報保持部340によって保持されている情報を参照することにより、得られるからである。
In step S302 following step S301, a data acquisition request is output from the information
ステップS302に続いてステップS303に進み、情報アクセス部330から情報保持部340に対し、データ取得要求が出力される。ステップS303に続いてステップS304に進み、情報保持部340から情報アクセス部330に対し、データが出力される。このデータには、イベントの詳細な情報が含まれている。ステップS304に続いてステップS305に進み、情報アクセス部330から情報処理ロジック部310に対し、ステップS304で取得されたデータが出力される。
Progressing to step S303 following step S302, a data acquisition request is output from the
情報アクセス部330から出力されるデータのデータ形式は、情報アクセス部330に対応するデータ形式でもよく、また例えば、第二の記述形式によって記述される形式でもよい。
The data format of the data output from the
ステップS305に続いてステップS306に進み、情報処理ロジック部310からデータ処理部311に対し、メッセージの生成依頼が出力される。ステップS306に続いてステップS307に進み、データ処理部311が、データに含まれているイベントの詳細な情報に基づいて、メッセージを生成する。メッセージは、所定の記述形式によって表される。ステップS307に続いてステップS308に進み、データ処理部311から情報処理ロジック部310に対し、メッセージ作成が終了した通知と、メッセージが出力される。なお、メッセージが出力されることにより、作成が終了した通知を兼ねてもよい。
Progressing to step S306 following step S305, the information
ステップS308に続いてステップS309に進み、情報処理ロジック部310から通信クライアント部352に対し、メッセージの送信依頼が出力される。ステップS309に続いてステップS310に進み、通信クライアント部352からPC100に対し、メッセージが出力される。ここでは、例えば、httpリクエストとして送信される。
Proceeding to step S309 following step S308, a message transmission request is output from the information
ステップS310に続いてステップS311に進み、PC100から通信クライアント部352に対し、メッセージが受信された通知が送信される。ここでは、例えば、httpレスポンスとして送信される。ステップS311に続いてステップS312に進み、通信クライアント部352から情報処理ロジック部310に対し、メッセージが受信された通知が出力される。
Progressing to step S311 following step S310, the notification that the message has been received is transmitted from the
(リクエストを解析する処理の例)
図11は、情報処理ロジック部310及びデータ処理部311において、リクエストが解析される処理の例のフロー図である。図11の処理は、例えば、図8のステップS104又は図9のステップS204において、リクエスト解析手段511によって実行される。図11のステップS401では、データ処理部311に対してリクエストが入力される。
(Example of processing to analyze request)
FIG. 11 is a flowchart of an example of processing in which a request is analyzed in the information
図12に、リクエストの例を示す。図12は、例えば、画像形成装置500が有する図示しない記憶手段等に保持されるアドレス帳に新たなレコードを追加する要求の例である。なお、記憶手段は、例えば、データ形式保持手段542と一の構成でもよい。
FIG. 12 shows an example of a request. FIG. 12 is an example of a request for adding a new record to an address book held in a storage unit (not shown) included in the
図12のリクエストは、HTTPリクエストヘッダー部R1と、要求項目を含む本体であるR2とを含む。本体R2の内、符号eが付された箇所の記述により、このリクエストが、Atomと、名前空間a及び名前空間vendorで定義される拡張形式とで、記述されていることが示されている。名前空間vendorで定義される拡張形式が、本実施の形態における新たに追加された機能に対する要求項目に対応する。 The request in FIG. 12 includes an HTTP request header part R1 and R2 that is a main body including a request item. The description of the part to which the symbol e is attached in the main body R2 indicates that this request is described in Atom and the extended format defined by the name space a and the name space vendor. The extended format defined by the name space “vendor” corresponds to a request item for the newly added function in the present embodiment.
R3は拡張形式で記述されている箇所である。R3には、名前「foo」に対応するメールアドレス、ファクシミリ番号等のレコードに係る情報、及び、それぞれ一の要求項目として含まれている。R3には、さらに、名前空間vendorにより識別されるタグを有する値gが含まれている。 R3 is a portion described in an extended format. R3 includes a mail address corresponding to the name “foo”, information related to a record such as a facsimile number, and one request item. R3 further includes a value g having a tag identified by the name space vendor.
図11に戻り、ステップS401に続いてステップS402に進み、リクエスト解析手段511が、リクエストを先頭から解析することにより、標準形式の部分の判定を行う。ここでは、標準形式がA形式とB形式との何れであるかを判定し、A形式である場合には、ステップS403に進み、B形式である場合には、ステップS406に進む。
Returning to FIG. 11, the process proceeds to step S <b> 402 following step S <b> 401, and the
なお、標準形式とは、例えば、リクエストがXMLによって記述されている場合には、汎用的な規格であるAPP又はAtom等をいう。また、本発明の実施の形態は、2種類のうちの1の標準形式を処理する例に限らず、3種類以上の複数の標準形式の中から何れか一以上の標準形式を処理してもよい。 Note that the standard format refers to, for example, APP or Atom, which is a general-purpose standard, when a request is described in XML. Further, the embodiment of the present invention is not limited to an example of processing one standard format out of two types, and may process any one or more standard formats from a plurality of three or more standard formats. Good.
ステップS402に続くステップS403からステップS405では、A形式で記述されている箇所について、リクエスト解析手段511が要求項目を取得する。さらに、処理内容取得手段512がその要求項目に対応する処理内容を取得する。ここで取得される処理内容は、機能実現手段毎に対応するデータ形式を有する。この処理は、A形式で記述されている箇所が全て処理されるまで繰り返される。
In step S403 to step S405 following step S402, the
なお、機能実現手段の識別情報は、リクエスト解析手段511によって取得される。機能実現手段の識別情報は、リクエストの中の要求項目毎に含まれてもよく、またリクエストの中の記述形式毎に対応づけられて含まれてもよい。
Note that the identification information of the function realizing unit is acquired by the
一方、ステップS402に続くステップS406からステップS408では、B形式で記述されている箇所について、リクエスト解析手段511と処理内容取得手段512とが、ステップS403からステップS405と同様の処理を行う。
On the other hand, in step S406 to step S408 following step S402, the
標準形式で記述されている箇所の処理が終了した後、独自形式の処理に進む。ステップS409では、リクエスト解析手段511が、リクエストの中の独自形式の有無を判断する。独自形式がある場合には、ステップS410に進み、独自形式がない場合には、ステップS414に進む。なお、ステップS409の判定は、独自形式の有無に代えて、画像形成装置500が処理する機能に対応する要求項目の項目群の有無の判定でもよい。画像形成装置500が処理する機能に対応する要求項目の項目群がある場合には、ステップS410に進み、ない場合には、ステップS415に進む。
After the process of the part described in the standard format is completed, the process proceeds to the process of the original format. In step S409, the
ステップS409に続くステップS410からS414では、リクエスト解析手段511が、リクエストに含まれている要求項目を取得する処理を、全ての要求項目が取得されるまで繰り返す。要求項目が取得される毎に、ステップS411において、処理内容取得手段512が、その要求項目に対応する処理内容の登録の有無を判断し、処理内容が登録されている場合には、ステップS412に進み、処理内容が登録されていない場合には、ステップS413に進む。
In steps S410 to S414 following step S409, the
ステップS411に続くステップS412では、処理内容取得手段512が、その処理内容を取得する。ここで取得される処理内容は、機能実現手段毎に対応するデータ形式を有する。一方、ステップS411に続くステップS413では、処理内容取得手段512が、要求項目を、第二の記述形式に変換する。
In step S412, following step S411, the processing
図13は、要求項目を第二の記述形式に変換することを説明する図である。図13では、符号fを付した名前空間と符号g1を付した要素とから、要求項目h1が形成され、符号fを付した名前空間と符号g2を付した要素とから、要求項目h2が形成される。 FIG. 13 is a diagram for explaining the conversion of the request item into the second description format. In FIG. 13, a request item h1 is formed from the name space to which the symbol f is attached and the element to which the symbol g1 is attached, and the request item h2 is formed from the name space to which the symbol f is attached and an element to which the symbol g2 is attached. Is done.
これにより、リクエストの中に、画像形成装置500に登録されていない機能に対する要求項目がある場合でも、その機能を実行することができる。したがって、画像形成装置500に対し、新たに追加された機能実現手段がある場合でも、リクエストを生成するクライアント装置等が、その機能に対するリクエストを出力することができる。
As a result, even if there is a request item for a function not registered in the
図11に戻り、ステップS409又はステップS413の処理の後、ステップS414に進み、取得された処理内容が、情報処理ロジック部310に出力される。
Returning to FIG. 11, after the process of step S409 or step S413, the process proceeds to step S414, and the acquired processing content is output to the information
(レスポンス又はメッセージを生成する処理の例)
図14は、情報処理ロジック部310及びデータ処理部311において、レスポンス又はメッセージが生成される処理の例のフロー図である。図12の処理は、例えば、図9のステップS211において、レスポンス生成手段513によって実行され、また例えば、図10のステップS307においてメッセージ生成手段によって実行される。ここではレスポンス生成手段513によって実行される例について説明する。
(Example of processing to generate response or message)
FIG. 14 is a flowchart of an example of processing in which a response or a message is generated in the information
図14のステップS501では、情報処理ロジック部310からデータ処理部311に対し、レスポンスに含まれる応答項目のデータが入力される。ステップS501に続いてステップS502に進み、レスポンス生成手段513が、入力されたデータに基づいて、レスポンスの記述形式を選択する。ここでは、標準形式の部分を選択し、A形式によって記述する場合にはステップS503に進み、B形式によって記述する場合にはステップS506に進む。
In step S501 in FIG. 14, response item data included in the response is input from the information
なお、本発明の実施の形態は2つの標準形式のうちの何れか一を選択する例に限らず、複数の標準形式のうちの何れか一以上を選択し、その標準形式により記述されるレスポンスを生成してよい。 The embodiment of the present invention is not limited to an example in which any one of two standard formats is selected, and any one or more of a plurality of standard formats is selected and a response described in the standard format is selected. May be generated.
ステップS502に続くステップS503からステップS505では、レスポンス生成手段が、A形式によって記述される応答項目のデータがなくなるまで、その応答項目がA形式によって記述されるデータを生成する。一方、ステップS502に続くステップS506からステップS508では、同様にB形式によって記述される応答項目のデータがなくなるまで、その応答項目がB形式によって記述されるデータを生成する。 In step S503 to step S505 following step S502, the response generation means generates data in which the response item is described in the A format until there is no response item data described in the A format. On the other hand, in steps S506 to S508 following step S502, data in which the response items are described in the B format is generated until there is no response item data described in the B format.
ステップS505又はステップS508に続くステップS509では、レスポンス生成手段513が、応答項目のデータのうち、独自形式によって記述されるものの有無を判断する。独自形式によって記述されるものがある場合には、ステップS510に進み、ない場合には、ステップS515に進む。
In step S509 following step S505 or step S508, the
ステップS509に続くステップS510からステップS513では、独自形式によって記述される応答項目のデータがなくなるまで、レスポンス生成手段513によってその応答項目を独自形式によって記述する処理が繰り返される。ステップS511において、レスポンス生成手段513が、その応答項目が未知のデータであるか否かを判断する。未知のデータとは、例えば、その応答項目が予め登録されたデータ形式を有さないデータである。未知のデータは、例えば、第二の記述形式により記述される。第二の記述形式とは、例えば、名前空間名、変数名又はタグ名、及び、値を有する。
In step S510 to step S513 following step S509, the
既知のデータである場合には、ステップS512に進み、未知のデータである場合には、ステップS513に進む。ステップS511に続くステップS512では、レスポンス生成手段513が、取得された応答項目のデータ形式を参照して、第一の記述形式によるレスポンスを生成する。一方、ステップS511に続くステップS513では、レスポンス生成手段513が、取得された第二の記述形式による応答項目から、第一の記述形式によるレスポンスを生成する。
If it is known data, the process proceeds to step S512, and if it is unknown data, the process proceeds to step S513. In step S512 following step S511, the
図15は、第二の記述形式による応答項目から、第一の記述形式によるレスポンスが生成されることを説明する図である。図15では、符号r1を付した応答項目から、名前空間sと要素t1とが生成され、符号r2を付した応答項目から、名前空間sと要素t2とが生成される。 FIG. 15 is a diagram illustrating that a response in the first description format is generated from response items in the second description format. In FIG. 15, the name space s and the element t1 are generated from the response item to which the symbol r1 is attached, and the name space s and the element t2 are generated from the response item to which the symbol r2 is attached.
図14に戻り、ステップS509又はステップS512に続いてステップS513に進み、レスポンス生成手段513によって生成されたレスポンスが、情報処理ロジック部310に対して出力される。
Returning to FIG. 14, the process proceeds to step
(レスポンスの例)
図16及び図17は、レスポンスの例を説明する図である。図16は、図12のリクエストに対応して生成されるレスポンスの例である。図16では、図12のリクエストに基づいて処理された内容が含まれている。すなわち、アドレス帳に追加されたレコードの内容である、名前「foo」と、その名前に対応するメールアドレス、ファクシミリ番号等が、それぞれ一の応答項目として含まれている。さらに、符号u1を付した箇所に、名前空間vendorによって識別されるアドレス帳に対する操作処理の応答項目が含まれている。
(Example response)
16 and 17 are diagrams for explaining examples of responses. FIG. 16 is an example of a response generated in response to the request of FIG. In FIG. 16, the content processed based on the request of FIG. 12 is included. That is, the name “foo”, which is the contents of the record added to the address book, the mail address corresponding to the name, the facsimile number, and the like are included as one response item. Furthermore, the response item of the operation process for the address book identified by the name space “vendor” is included in the part denoted by the reference symbol u1.
図17は、図12のリクエストに対応して生成されるレスポンスの例であって、図16とは異なるレスポンスの例である。図17のレスポンスは、faxAddressとfaxNumberとに係る応答項目が含まれていない。これは、このレスポンスを生成した画像形成装置が有する機能が、これらの情報をアドレス帳に含ませる機能を有していないためである。 FIG. 17 is an example of a response generated in response to the request of FIG. 12, and is an example of a response different from FIG. The response of FIG. 17 does not include response items related to faxAddress and faxNumber. This is because the function of the image forming apparatus that generated this response does not have the function of including these pieces of information in the address book.
また、アドレス帳の中のデータを編集する場合には、HTTPのPUTを用い、リクエストが入力され、その応答であるレスポンスが出力されてもよい。また、アドレス帳の中のデータを参照する場合には、HTTPのGETを用い、レスポンスデータが出力されてもよい。また、アドレス帳の中のデータを削除する場合には、HTTPのDELETEを用い、リクエスト及びレスポンスのデータのやりとりがなくてもよい。 When editing data in the address book, an HTTP PUT may be used to input a request and output a response as a response. In addition, when referring to data in the address book, response data may be output using HTTP GET. When deleting data in the address book, HTTP DELETE may be used, and there is no need to exchange request and response data.
(メッセージの例)
図18は、メッセージの例である。図18(A)は、画像形成装置に異常が発生したことを、クライアントPCに対して通知するメッセージの例であり、図18(B)は、そのメッセージに対して、クライアントPCから出力される応答の例である。
(Message example)
FIG. 18 is an example of a message. FIG. 18A is an example of a message for notifying the client PC that an abnormality has occurred in the image forming apparatus, and FIG. 18B is output from the client PC in response to the message. It is an example of a response.
図18(A)において、符号w1を付した名前空間と、符号w2を付した要素とが、第二の記述形式から変換されて得られた応答項目である。ここでは、メッセージは、HTTPリクエストとして送信され、応答はHTTPレスポンスとして返信されている。 In FIG. 18A, the name space with the reference symbol w1 and the element with the reference symbol w2 are response items obtained by conversion from the second description format. Here, the message is transmitted as an HTTP request, and the response is returned as an HTTP response.
(画像形成装置の他の実施の形態)
図19から図21は、画像形成装置の他の装置における本実施の形態を説明する図である。図19及び図20は、画像形成装置39から、情報収集サーバ70に対して送信されるデータを介する仲介機器を説明する図である。
(Another embodiment of image forming apparatus)
FIGS. 19 to 21 are diagrams illustrating the present embodiment in another apparatus of the image forming apparatus. 19 and 20 are diagrams for explaining an intermediary device via data transmitted from the
図19では、画像形成装置39から情報収集サーバ70に対し、データaが出力される。画像形成装置39と情報収集サーバ70との間のデータを介する仲介機器80では、データaのうち、拡張部分であるa1を読み飛ばし、残りの部分であるa2を、情報収集サーバ70に対応する記述形式に変換して出力する。これにより、読み飛ばされた部分であるa1の情報が、情報収集サーバ70に伝達されない。
In FIG. 19, data a is output from the
図20は、図19の不具合を解消することを説明する図である。図20では、仲介機器81は、画像形成装置39から出力されるデータaを、情報収集サーバ70に対応する記述形式a'に変換して出力する。この際、未知のデータの部分については、例えば、第二の記述形式に変換することにより、情報収集サーバ70に対応するデータ形式ではないものの、汎用的なデータ形式として情報収集サーバ70に伝達することができる。これにより、情報収集サーバ70が、画像形成装置39から出力された情報を、全て取得することができる。
FIG. 20 is a diagram for explaining that the problem of FIG. 19 is solved. In FIG. 20, the mediation device 81 converts the data a output from the
図21は、画像形成装置39からのメッセージ等を取得して処理するクライアント装置を説明する図である。図21のクライアント装置16は、通信部161、機能実現部162、及び、機能実現部163を有する。通信部161は、画像形成装置39からのメッセージmを取得する。
FIG. 21 is a diagram for explaining a client device that acquires and processes messages from the
取得されたメッセージmは、レスポンス解析手段612により解析され、ステータス取得手段613により、予め登録されている状況項目が取得される。ステータス取得手段613は、また、レスポンスに含まれている状況項目のうち登録されていない状況項目の内容がある場合には、その状況項目を、第二の記述形式に変換する。
The acquired message m is analyzed by the
機能実現部162は、機能実現部162に対応するデータ形式に変換された状況項目を取得して、その状況項目に対応する処理を行う。一方、機能実現部163は、第二の記述形式に変換された状況項目を取得して、その状況項目に対応する処理を行う。
The
これにより、クライアント装置16において、新たな機能実現部が追加された場合でも、その機能に対応するデータ形式を登録することなく、汎用的な記述形式により、その機能実現部に対する入出力を行うことができる。
Thereby, even when a new function realization unit is added in the
(コンピュータの構成)
図22は、本実施形態の画像形成装置又はクライアント装置を実現するコンピュータの構成図である。図22のコンピュータは、主処理部400、入力デバイス410、表示装置420、プリンタ430、スキャナ440、及び、HDD490を有する。主処理部400は、コンピュータの機能を実現する主たる部分であり、CPU401、ROM408、及び、RAM409を有する。CPU401は、コンピュータプログラムをROM408等から読み出し、RAM409に展開することにより、本実施形態のコンピュータプログラムを実行する。ROM408は不揮発性のメモリであり、CPU401によって実行されるプログラム、及び、画像形成装置又はクライアント装置の制御に必要なパラメータ等を保持する。RAM409は、CPU401が処理を行う際の、ワークメモリである。
(Computer configuration)
FIG. 22 is a configuration diagram of a computer that realizes the image forming apparatus or the client apparatus of the present embodiment. 22 includes a
入力デバイス410は、例えば、キーボード等であり、操作者が指示の入力を行う際に使用する。表示装置420は、コンピュータの状態等の表示を行う。プリンタ430は、画像を媒体に形成して出力する装置であり、スキャナ440は、媒体上に形成された画像を光学的に読み取る装置である。HDD490は、画像のデータ等の大容量のデータを格納する。
The
本実施形態のコンピュータプログラムは、HDD490、又は、ROM408に格納される他に、その他図示しないドライブ装置に挿入可能な記録媒体に格納されていてもよい。
In addition to being stored in the
以上、発明を実施するための最良の形態について説明を行ったが、本発明は、この最良の形態で述べた実施の形態に限定されるものではない。本発明の主旨をそこなわない範囲で変更することが可能である。 Although the best mode for carrying out the invention has been described above, the present invention is not limited to the embodiment described in the best mode. Modifications can be made without departing from the spirit of the present invention.
1、2、3 PC
4、5、6、35、36、300MFP
15 クライアント装置
25 LP
37、38 画像形成装置
45 印刷機
310、510、610 情報処理ロジック部
311 データ処理部
330 情報アクセス部
340 情報保持部
351 通信サーバ部
352 通信クライアント部
390 ネットワークインタフェース
400 コンピュータの主処理部
401 CPU
408 ROM
409 RAM
410 入力デバイス
420 表示装置
430 プリンタ
440 スキャナ
490 HDD
500 画像形成装置
511 リクエスト解析手段
512 処理内容取得手段
513 レスポンス生成手段
514 メッセージ生成手段
530、630 機能実現手段
541、641 一覧管理手段
542、642 データ形式保持手段
550、650 通信手段
611 リクエスト生成手段
612 レスポンス解析手段
613 ステータス取得手段
1, 2, 3 PC
4, 5, 6, 35, 36, 300 MFP
15
37, 38
408 ROM
409 RAM
410
500
Claims (22)
クライアント装置からの第一の記述形式によるリクエストを受信する通信手段と、
前記リクエストを解析して該リクエストに含まれる機能実現手段の識別情報と要求項目とを取得して出力するリクエスト解析手段と、
前記機能実現手段毎に、前記要求項目に対応する処理内容のデータ形式を保持するデータ形式保持手段と、
前記リクエスト解析手段からの出力に基づいて、前記要求項目を前記処理内容のデータ形式にして前記機能実現手段に対して出力し、前記機能実現手段に対応する処理内容が無い場合には、前記要求項目を第二の記述形式にして前記機能実現手段に対して出力する処理内容取得手段と、
を有する画像形成装置。 A list management means for managing a list of function realizing means connected to the image forming apparatus;
Communication means for receiving a request in a first description format from a client device;
Request analysis means for analyzing the request and obtaining and outputting identification information and request items of the function realizing means included in the request;
Data format holding means for holding the data format of the processing content corresponding to the request item for each function realizing means,
Based on the output from the request analysis means, the request item is output in the data format of the processing content to the function realizing means, and if there is no processing content corresponding to the function realizing means, the request Processing content acquisition means for outputting items to the function realizing means in a second description format;
An image forming apparatus.
前記リクエストは前記項目群のうちの何れか一以上の項目群の要求項目を有する請求項1記載の画像形成装置。 Each of the required items belongs to any one of a plurality of item groups,
The image forming apparatus according to claim 1, wherein the request includes a request item of any one or more of the item groups.
前記機能実現手段から、前記応答項目のデータ形式による応答項目、及び/又は、前記第二の記述形式による応答項目を取得して、前記第一の記述形式により前記応答項目が記述されたレスポンスを生成するレスポンス生成手段を有し、
前記通信手段は、さらに、前記レスポンスを前記クライアント装置に送信する請求項1ないし3何れか一項に記載の画像形成装置。 The data format holding unit further holds a data format of a response item corresponding to the processing content for each function realizing unit,
Obtaining a response item in the data format of the response item and / or a response item in the second description format from the function realization means, and sending a response in which the response item is described in the first description format Response generating means for generating,
The image forming apparatus according to claim 1, wherein the communication unit further transmits the response to the client apparatus.
前記機能実現手段から、前記状況項目のデータ形式、及び/又は、前記第二の記述形式による状況項目を取得して、前記第一の記述形式により前記状況項目が記述されたメッセージを生成するメッセージ生成手段と、
を有し、
前記通信手段は、さらに、前記メッセージを前記クライアント装置に送信する請求項1ないし5何れか一項に記載の画像形成装置。 The data format holding means further holds, for each function realizing means, a data format of status items relating to the state of the function realizing means,
A message for acquiring a status item in the data format of the status item and / or the second description format from the function realizing means, and generating a message in which the status item is described in the first description format Generating means;
Have
The image forming apparatus according to claim 1, wherein the communication unit further transmits the message to the client apparatus.
前記項目群は名前空間によって識別される請求項2又は3記載の画像形成装置。 The first description format is a description format represented by XML,
The image forming apparatus according to claim 2, wherein the item group is identified by a name space.
前記クライアント装置は、
前記画像形成装置に対する要求項目を有するリクエストを第一の記述形式により生成するリクエスト生成手段と、
前記リクエストを送信する第一の通信手段と、
を有し、
前記画像形成装置は、
当該画像形成装置に接続された第二の機能実現手段の一覧を管理する第二の一覧管理手段と、
クライアント装置からの第一の記述形式によるリクエストを受信する第二の通信手段と、
前記リクエストを解析して該リクエストに含まれる第二の機能実現手段の識別情報と要求項目とを取得して出力するリクエスト解析手段と、
前記第二の機能実現手段毎に、前記要求項目に対応する処理内容のデータ形式を保持する第二のデータ形式保持手段と、
前記リクエスト解析手段からの出力に基づいて、前記要求項目を前記処理内容のデータ形式にして前記第二の機能実現手段に対して出力し、前記第二の機能実現手段に対応する処理内容が無い場合には、前記要求項目を第二の記述形式にして前記第二の機能実現手段に対して出力する処理内容取得手段と、
を有する画像形成システム。 An image forming system in which a client device and an image forming apparatus are connected,
The client device is
Request generating means for generating a request having a request item for the image forming apparatus in a first description format;
A first communication means for transmitting the request;
Have
The image forming apparatus includes:
A second list management means for managing a list of second function realizing means connected to the image forming apparatus;
A second communication means for receiving a request in a first description format from the client device;
Request analysis means for analyzing the request and obtaining and outputting the identification information and the request item of the second function realizing means included in the request;
Second data format holding means for holding the data format of the processing content corresponding to the request item for each of the second function realizing means;
Based on the output from the request analysis unit, the request item is output to the second function realization unit in the data format of the process content, and there is no processing content corresponding to the second function realization unit. In this case, a processing content acquisition unit that outputs the request item to the second function realization unit in a second description format;
An image forming system.
前記データ形式保持手段は、さらに、前記第二の機能実現手段毎に、前記処理内容に対応する応答項目のデータ形式を保持し、
前記第二の機能実現手段から、前記応答項目のデータ形式による応答項目、及び/又は、前記第二の記述形式による応答項目を取得して、前記第一の記述形式により前記応答項目が記述されたレスポンスを生成するレスポンス生成手段を有し、
前記第二の通信手段は、さらに、前記レスポンスを前記クライアント装置に送信する請求項10記載の画像形成システム。 In the image forming apparatus,
The data format holding means further holds a data format of a response item corresponding to the processing content for each of the second function realizing means,
The response item in the data format of the response item and / or the response item in the second description format is acquired from the second function realization means, and the response item is described in the first description format. Response generating means for generating a response,
The image forming system according to claim 10, wherein the second communication unit further transmits the response to the client device.
前記第一の通信手段により前記レスポンスを受信し、
当該クライアント装置に接続された第一の機能実現手段の一覧を管理する第一の一覧管理手段と、
前記レスポンスを解析して該レスポンスに含まれる機能実現手段の識別情報と応答項目とを取得して出力するレスポンス解析手段と、
前記機能実現手段毎に、前記応答項目に対応する処理内容のデータ形式を保持する第一のデータ形式保持手段と、
前記レスポンス解析手段からの出力に基づいて、前記応答項目を所定のデータ形式にして前記第一の機能実現手段に対して出力し、前記第一の機能実現手段に対応するデータ形式が無い場合には、前記応答項目を第二の記述形式にして前記第一の機能実現手段に対して出力する処理内容取得手段と、
を有する請求項1又は2記載の画像形成システム。 The client device further includes:
Receiving the response by the first communication means;
First list management means for managing a list of first function realizing means connected to the client device;
Response analysis means for analyzing the response and obtaining and outputting the identification information and response items of the function realizing means included in the response;
First data format holding means for holding the data format of the processing content corresponding to the response item for each function realizing means;
Based on the output from the response analysis means, the response item is output to the first function realization means in a predetermined data format, and there is no data format corresponding to the first function realization means Processing contents acquisition means for outputting the response items to the first function realization means in a second description format;
The image forming system according to claim 1, further comprising:
前記レスポンスは前記項目群のうちの何れか一以上の項目群の応答項目を有し、
前記ステータス取得手段は、前記応答項目が属する項目群に基づいて、前記応答項目に対応する前記画像形成装置のステータスを取得する請求項12記載の画像形成システム。 Each of the response items belongs to any one of a plurality of item groups,
The response has a response item of any one or more of the item groups,
The image forming system according to claim 12, wherein the status acquisition unit acquires a status of the image forming apparatus corresponding to the response item based on an item group to which the response item belongs.
クライアント装置からの第一の記述形式によるリクエストを受信する受信ステップと、
前記リクエストを解析して該リクエストに含まれる機能実現手段の識別情報と要求項目とを取得して出力するリクエスト解析ステップと、
前記リクエスト解析ステップからの出力に基づいて、前記要求項目を前記処理内容のデータ形式にして前記機能実現手段に対して出力し、前記機能実現手段に対応する処理内容が無い場合には、前記要求項目を第二の記述形式にして前記機能実現手段に対して出力する処理内容取得ステップと、
を有する情報処理方法。 An information processing method in an image forming apparatus,
A receiving step for receiving a request in a first description format from the client device;
A request analysis step of analyzing the request and obtaining and outputting the identification information and the request item of the function realizing means included in the request;
Based on the output from the request analysis step, the request item is output in the data format of the processing content to the function realization means, and if there is no processing content corresponding to the function realization means, the request A processing content acquisition step of outputting items to the function realizing means in a second description format;
An information processing method comprising:
前記リクエストは前記項目群のうちの何れか一以上の項目群の要求項目を有する請求項16記載の情報処理方法。 Each of the required items belongs to any one of a plurality of item groups,
The information processing method according to claim 16, wherein the request includes a request item of any one or more of the item groups.
前記レスポンスを前記クライアント装置に送信する送信ステップと、
を有する請求項16又は17記載の情報処理方法。 Obtaining a response item in the data format of the response item and / or a response item in the second description format from the function realization means, and sending a response in which the response item is described in the first description format A response generation step to generate,
A transmission step of transmitting the response to the client device;
The information processing method according to claim 16 or 17, further comprising:
前記クライアント装置が、前記画像形成装置に対する要求項目を有するリクエストを第一の記述形式により生成するリクエスト生成ステップと、
前記クライアント装置が、前記リクエストを送信する送信ステップと、
前記画像形成装置が、前記クライアント装置からの第一の記述形式によるリクエストを受信する受信ステップと、
前記画像形成装置が、前記リクエストを解析して該リクエストに含まれる機能実現手段の識別情報と要求項目とを取得して出力するリクエスト解析ステップと、
前記画像形成装置が、前記リクエスト解析ステップからの出力に基づいて、前記要求項目を前記処理内容のデータ形式にして前記機能実現手段に対して出力し、前記機能実現手段に対応する処理内容が無い場合には、前記要求項目を第二の記述形式にして前記第機能実現手段に対して出力する処理内容取得ステップと、
を有する情報処理方法。 An information processing method in an image forming system in which a client device and an image forming device are connected,
A request generation step in which the client apparatus generates a request having a request item for the image forming apparatus in a first description format;
A transmitting step in which the client device transmits the request;
A receiving step in which the image forming apparatus receives a request in a first description format from the client apparatus;
A request analysis step in which the image forming apparatus analyzes the request and acquires and outputs the identification information and the request item of the function realization unit included in the request;
Based on the output from the request analysis step, the image forming apparatus outputs the request item to the function implementation unit in the data format of the process content, and there is no processing content corresponding to the function implementation unit In this case, a processing content acquisition step of outputting the request item to the first function realization unit in a second description format;
An information processing method comprising:
前記画像形成装置からの第一の記述形式によるレスポンスを受信する受信ステップと、
前記レスポンスを解析して該レスポンスに含まれる機能実現手段の識別情報と応答項目とを取得して出力するレスポンス解析ステップと、
前記レスポンス解析ステップからの出力に基づいて、前記応答項目を所定のデータ形式にして前記機能実現手段に対して出力し、前記機能実現手段に対応するデータ形式が無い場合には、前記応答項目を第二の記述形式にして前記第一の機能実現手段に対して出力する処理内容取得ステップと、
を有する情報処理方法。 An information processing method in a client device that communicates with an image forming apparatus,
A receiving step of receiving a response in a first description format from the image forming apparatus;
A response analysis step of analyzing the response and obtaining and outputting the identification information and response items of the function realizing means included in the response;
Based on the output from the response analysis step, the response item is output to the function realization means in a predetermined data format, and when there is no data format corresponding to the function realization means, the response item is A processing content acquisition step for outputting to the first function realization means in a second description format;
An information processing method comprising:
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007290216A JP5041972B2 (en) | 2007-11-07 | 2007-11-07 | Image forming apparatus, image forming system, information processing apparatus, computer program, and information recording medium |
US12/230,294 US20090063612A1 (en) | 2007-08-30 | 2008-08-27 | Image forming apparatus and image forming system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007290216A JP5041972B2 (en) | 2007-11-07 | 2007-11-07 | Image forming apparatus, image forming system, information processing apparatus, computer program, and information recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009113390A true JP2009113390A (en) | 2009-05-28 |
JP5041972B2 JP5041972B2 (en) | 2012-10-03 |
Family
ID=40781067
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007290216A Active JP5041972B2 (en) | 2007-08-30 | 2007-11-07 | Image forming apparatus, image forming system, information processing apparatus, computer program, and information recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5041972B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8363238B2 (en) | 2008-07-07 | 2013-01-29 | Ricoh Company, Ltd. | Image forming apparatus having a management unit and a shared processing unit, information processing method using the image forming apparatus, and image forming system having the image forming apparatus |
US11914652B2 (en) | 2019-12-19 | 2024-02-27 | Ricoh Company, Ltd. | Information processing system, method, and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005084570A (en) * | 2003-09-11 | 2005-03-31 | Fuji Xerox Co Ltd | Consumable management processing method and apparatus for information processing system and charging management processing method and apparatus, and information processing system |
JP2007207267A (en) * | 2007-03-26 | 2007-08-16 | Ricoh Co Ltd | Request management device, image forming device, job processing instruction method, and job processing instruction program |
-
2007
- 2007-11-07 JP JP2007290216A patent/JP5041972B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005084570A (en) * | 2003-09-11 | 2005-03-31 | Fuji Xerox Co Ltd | Consumable management processing method and apparatus for information processing system and charging management processing method and apparatus, and information processing system |
JP2007207267A (en) * | 2007-03-26 | 2007-08-16 | Ricoh Co Ltd | Request management device, image forming device, job processing instruction method, and job processing instruction program |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8363238B2 (en) | 2008-07-07 | 2013-01-29 | Ricoh Company, Ltd. | Image forming apparatus having a management unit and a shared processing unit, information processing method using the image forming apparatus, and image forming system having the image forming apparatus |
US11914652B2 (en) | 2019-12-19 | 2024-02-27 | Ricoh Company, Ltd. | Information processing system, method, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP5041972B2 (en) | 2012-10-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4612863B2 (en) | Image processing apparatus and control method and program thereof | |
CN104052897B (en) | Relay Apparatus, Image Processing Apparatus And Communication System | |
JP5257142B2 (en) | Image forming apparatus, image forming system, information processing method, and computer program | |
JP4403135B2 (en) | Web service utilization system | |
JP5157690B2 (en) | Image forming apparatus, information processing method, and image forming system | |
CN102123222B (en) | Image processing equipment and control method thereof | |
US20090063612A1 (en) | Image forming apparatus and image forming system | |
JP2012133498A (en) | Image processing device, system having image processing device and external device, control method for system and program | |
CN102685356B (en) | Image reading apparatus and image reading method | |
JP2008301484A (en) | Structure of syndication data | |
JP2008217750A (en) | Network device, image forming apparatus, data search method, data search program, and computer readable recording medium | |
JP5041972B2 (en) | Image forming apparatus, image forming system, information processing apparatus, computer program, and information recording medium | |
JP2006285840A (en) | Document management system | |
JP2005322222A (en) | Communication function adding method, program, storage medium and communication apparatus | |
JP2009130493A (en) | Network-compatible image processing apparatus | |
JP6268839B2 (en) | Distribution apparatus, distribution method, and distribution program | |
JP2008021118A (en) | Network communication equipment, method for controlling network communication equipment, control program of network communication equipment, and recording medium | |
JP2007148944A (en) | Communication terminal apparatus | |
JP2009059051A (en) | Image forming apparatus, information processing method, and image forming system | |
JP5091802B2 (en) | Image forming apparatus and image forming system | |
JP4545621B2 (en) | Network communication equipment | |
JP5932713B2 (en) | Image forming apparatus and web page language adding method | |
JP4653243B2 (en) | Image processing apparatus and control method and program thereof | |
JP5393558B2 (en) | Image forming apparatus | |
JP2006246261A (en) | Network communication apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100518 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120327 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120524 |
|
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: 20120612 |
|
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: 20120710 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5041972 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150720 Year of fee payment: 3 |