JP5072499B2 - Image forming apparatus, data communication apparatus, data communication method, and data communication program - Google Patents

Image forming apparatus, data communication apparatus, data communication method, and data communication program Download PDF

Info

Publication number
JP5072499B2
JP5072499B2 JP2007238267A JP2007238267A JP5072499B2 JP 5072499 B2 JP5072499 B2 JP 5072499B2 JP 2007238267 A JP2007238267 A JP 2007238267A JP 2007238267 A JP2007238267 A JP 2007238267A JP 5072499 B2 JP5072499 B2 JP 5072499B2
Authority
JP
Japan
Prior art keywords
function
image forming
forming apparatus
external device
message
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.)
Expired - Fee Related
Application number
JP2007238267A
Other languages
Japanese (ja)
Other versions
JP2009071612A (en
Inventor
耕作 中原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2007238267A priority Critical patent/JP5072499B2/en
Publication of JP2009071612A publication Critical patent/JP2009071612A/en
Application granted granted Critical
Publication of JP5072499B2 publication Critical patent/JP5072499B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、外部機器から要求された所定の処理を行う画像形成装置、外部機器から要求された所定の処理を行う画像形成装置と外部機器との間でデータ通信を行うデータ通信装置、データ通信方法、及びデータ通信プログラムに関するものである。   The present invention relates to an image forming apparatus that performs predetermined processing requested from an external device, a data communication device that performs data communication between the image forming apparatus that performs predetermined processing requested from the external device and the external device, and data communication The present invention relates to a method and a data communication program.

画像形成装置は、PC(Personal Computer)などの外部機器とネットワークなどの所定のデータ通信手段を介して受け付けた動作要求に応じて、画像形成装置が搭載する機能により要求された処理を行っている。   In response to an operation request received via an external device such as a PC (Personal Computer) and predetermined data communication means such as a network, the image forming apparatus performs processing requested by a function installed in the image forming apparatus. .

例えば、特許文献1には、「画像形成装置において、ネットワークに接続された管理サーバからのログ情報の送信要求を、XML(Extensible Markup Language)を利用したSOAP(Simple Object Access Protocol)により受信し、SOAPリスナにより受信した送信要求を解析し、SOAPプロキシにより解析の結果を管理サーバに対してSOAPにより送信する」という画像形成装置が開示されている。   For example, in Patent Document 1, “in the image forming apparatus, a log information transmission request from a management server connected to a network is received by SOAP (Simple Object Access Protocol) using XML (Extensible Markup Language). An image forming apparatus is disclosed that analyzes a transmission request received by a SOAP listener and transmits the analysis result to the management server by SOAP using a SOAP proxy.

画像形成装置が、外部機器からの要求に応じた情報を応答するケースは、特許文献1に開示されているログ情報のような画像形成装置内で収集された情報の提供や、画像形成装置の電源投入時に行われる画像形成装置が有する機能などの機器情報の提供などがある。   The case in which the image forming apparatus responds with information according to a request from an external device is the provision of information collected in the image forming apparatus such as log information disclosed in Patent Document 1, There is provision of device information such as functions of the image forming apparatus performed when the power is turned on.

上記情報提供などの所定の処理を、外部機器から画像形成装置に対して要求する場合には、特許文献1に開示されているように、外部機器からの動作要求などを所定の形式で定義した構造化データ(以下、「SOAPメッセージ」という。)を外部機器から画像形成装置へ送信し、画像形成装置が要求に応じて処理を行った後に、その結果をまとめたSOAPデータを外部機器へ送信するというSOAPを利用したメッセージ交換方式が採用されている。   When a predetermined process such as information provision is requested from an external device to the image forming apparatus, an operation request from the external device is defined in a predetermined format as disclosed in Patent Document 1. Structured data (hereinafter referred to as “SOAP message”) is transmitted from an external device to the image forming apparatus, and after the image forming apparatus performs processing according to a request, SOAP data summarizing the result is transmitted to the external device. A message exchange method using SOAP is used.

上記「SOAP」とは、XMLをベースとしたメッセージ交換のためのプロトコル仕様で、HTTP(HyperText Transfer Protocol)やSMTP(Simple Mail Transfer Protocol)といったプロトコルの上位に位置し、そのパケットの中で、オブジェクト呼び出しに必要なSOAPメッセージの交換を行うためのプロトコルである。SOAPは、ネットワークなどの電気通信回線を介して、アプリケーションを構成するコンポーネント同士を容易に連携させることを目的としている。また、SOAPは、送受信するSOAPメッセージに、IPアドレスやポート番号などの宛先情報、また所定の処理を指示するアクション情報などのXML文書本体以外の付加情報を付加できる。   “SOAP” is a protocol specification for exchanging messages based on XML, and is positioned above protocols such as HTTP (HyperText Transfer Protocol) and SMTP (Simple Mail Transfer Protocol). This is a protocol for exchanging SOAP messages necessary for calling. The purpose of SOAP is to easily link components constituting an application via a telecommunication line such as a network. In addition, SOAP can add additional information other than the XML document body, such as destination information such as an IP address and a port number, and action information for instructing a predetermined process, to a SOAP message to be transmitted and received.

このことから、機器同士のメッセージ交換にSOAPを利用することで、例えば、複合機(MFP)が有する機器情報提供機能や、コピー、ファクシミリ、プリンタ、スキャナなどの機能を、外部機器が有する機能と連携するメッセージ交換機能を実現することができる。
特開2004―215309号公報
From this, by using SOAP for exchanging messages between devices, for example, a device information providing function possessed by a multi-function peripheral (MFP), a function such as copying, facsimile, printer, scanner, etc., is a function possessed by an external device. A cooperative message exchange function can be realized.
Japanese Patent Laid-Open No. 2004-215309

しかしながら、複合機などのような複数の機能を有する画像形成装置では、各機能が動作するときに使用するメモリ空間が異なるように、それぞれ別のプロセスで動作するように設計されている。このようなマルチプロセス環境では、SOAPモジュールが機能ごとに実装され、メッセージ交換機能を実現している。このような場合、外部装置では、画像形成装置で動作するSOAPモジュールの数だけ宛先情報を管理しなければならない。また、連携対象の画像形成装置の台数によっては、更に多くの宛先情報を管理しなければならない。   However, an image forming apparatus having a plurality of functions such as a multifunction peripheral is designed to operate in different processes so that the memory space used when each function operates is different. In such a multi-process environment, a SOAP module is mounted for each function to realize a message exchange function. In such a case, the external apparatus must manage the destination information by the number of SOAP modules that operate in the image forming apparatus. Further, depending on the number of image forming apparatuses to be linked, more destination information must be managed.

このように、従来のメッセージ交換機能では、メッセージ交換のための行う外部機器と画像形成装置との接続が複雑化するという問題点がある。   As described above, the conventional message exchange function has a problem that the connection between the external device for exchanging messages and the image forming apparatus becomes complicated.

また、従来のメッセージ交換機能では、SOAPモジュールが機能ごとに実装されていることから、画像形成装置が有するメモリなどの記憶領域を余分に消費してしまっていた(ハードウェア資源を余分に消費してしまっていた)。   Further, in the conventional message exchange function, since the SOAP module is mounted for each function, an extra storage area such as a memory of the image forming apparatus is consumed (excessive hardware resources are consumed). It was.)

本発明では、上記従来技術の問題点に鑑み、データ通信機能によるリソースの消費を軽減し、外部機器が有する機能と画像形成装置が有する機能とを連携することができる画像形成装置、データ通信装置、データ通信方法、及びデータ通信プログラムを提供することを目的とする。   In the present invention, in view of the above-described problems of the prior art, an image forming apparatus and a data communication apparatus capable of reducing resource consumption by a data communication function and linking a function of an external device with a function of an image forming apparatus. An object of the present invention is to provide a data communication method and a data communication program.

上記目的を達成するため、本発明の画像形成装置は、外部機器からの要求に応じて、当該画像形成装置が有するアプリケーションの情報を含む機器情報を前記外部機器に提供する第1の機能と、前記外部機器からの要求を受け付けた前記アプリケーションにより処理を実行する少なくとも1つ以上の第2の機能とを有する画像形成装置であって、前記外部機器から送信された前記第1の機能又は前記第2の機能に対して処理を要求する要求メッセージを、前記第1の機能及び前記第2の機能とを含む複数の機能に共通して受信する受信手段と、前記第1の機能と前記第2の機能が別のプロセスで動作するマルチプロセス環境において、前記受信手段により受信された前記要求メッセージの所定の情報に基づいて、前記要求メッセージにより要求された処理を行う前記第1の機能又は前記第2の機能のどちらか一方を特定し、特定された前記第1の機能又は前記第2の機能に対して前記要求メッセージの要求内容を通知するメッセージ制御手段とを有することを特徴とする。 In order to achieve the above object, the image forming apparatus of the present invention has a first function of providing device information including application information included in the image forming device to the external device in response to a request from the external device. An image forming apparatus having at least one second function for executing processing by the application that has received a request from the external device , wherein the first function or the first function transmitted from the external device Receiving means for receiving a request message for requesting processing for two functions in common to a plurality of functions including the first function and the second function; and the first function and the second function In a multi-process environment in which the function of the function operates in a separate process, the request message is required based on predetermined information of the request message received by the receiving means. It has been processed the first function or to identify either of said second function performed, and notifies the request content of the request message to the identified first function or the second function And a message control means.

また、上記目的を達成するため、本発明の画像形成装置は、前記メッセージ制御手段において、前記要求メッセージの宛先に関する情報及び/又は前記要求メッセージにより要求される処理に関する情報に基づいて、要求された処理を行う前記第1の機能又は前記第2の機能のどちらか一方を特定することを特徴とする。 In order to achieve the above object, the image forming apparatus of the present invention is requested by the message control unit based on information on a destination of the request message and / or information on processing requested by the request message. One of the first function and the second function for performing processing is specified .

また、上記目的を達成するため、本発明の画像形成装置は、前記受信手段及び前記メッセージ制御手段を実現するソフトウェア部品が、当該画像形成装置が有する前記第1の機能及び前記第2の機能が動作するプロセスとは別のプロセスで動作することを特徴とする。 In order to achieve the above object, in the image forming apparatus of the present invention, a software component that implements the receiving unit and the message control unit includes the first function and the second function of the image forming apparatus. It is characterized by operating in a process different from the operating process .

また、上記目的を達成するため、本発明の画像形成装置は、前記受信手段及び前記メッセージ制御手段を実現するソフトウェア部品が、同じプロセスで動作することを特徴とする。   In order to achieve the above object, the image forming apparatus of the present invention is characterized in that software components that realize the receiving unit and the message control unit operate in the same process.

また、上記目的を達成するため、本発明の画像形成装置は、前記受信手段において、前記外部機器から送信された前記要求メッセージをSOAP(Simple Object Access Protocol)により受信することを特徴とする。   In order to achieve the above object, the image forming apparatus of the present invention is characterized in that the receiving unit receives the request message transmitted from the external device by SOAP (Simple Object Access Protocol).

これによって、本発明の画像形成装置は、外部機器と双方向でメッセージ交換を行うデータ送受信機能を画像形成装置が有する各機能に対して共通化し(各機能に対してSOAPモジュールを共通化し)、共通化されたデータ送受信機能により受信されたメッセージの内容に基づいて、要求された処理を行う機能を特定し、特定された機能に対して要求内容を通知する構成により、ネットワークに接続される複数の外部機器に対して、共通したデータ送受信機能を提供する(データ通信のときに使用するポートを一元化する)ことができ、データ通信機能によるリソースの消費を軽減し、外部機器が有する機能と画像形成装置が有する機能とを連携することができる。   As a result, the image forming apparatus of the present invention shares a data transmission / reception function for exchanging messages bidirectionally with an external device for each function of the image forming apparatus (a SOAP module is shared for each function). A plurality of units connected to the network by specifying a function for performing a requested process based on the content of a message received by a common data transmission / reception function and notifying the specified function of the requested content Can provide a common data transmission / reception function (unify the ports used for data communication) to external devices, reduce resource consumption by the data communication function, and provide functions and images that the external device has. The function of the forming apparatus can be linked.

上記目的を達成するため、本発明のデータ通信装置は、外部機器からの要求に応じて、当該画像形成装置が有するアプリケーションの情報を含む機器情報を前記外部機器に提供する第1の機能と、前記外部機器からの要求を受け付けた前記アプリケーションにより処理を実行する少なくとも1つ以上の第2の機能とを有する画像形成装置と、前記外部機器との間で、双方向のデータ通信を行うデータ通信装置であって、前記外部機器から送信された前記第1の機能又は前記第2の機能に対して処理を要求する要求メッセージを受信する受信手段と、前記第1の機能と前記第2の機能とが別のプロセスで動作するマルチプロセス環境において、前記受信手段により受信された前記要求メッセージの所定の情報に基づいて、前記要求メッセージにより要求された処理を行う前記画像形成装置並びに前記画像形成装置が有する前記第1の機能又は前記第2の機能のどちらか一方を特定し、特定された前記画像形成装置が有する前記第1の機能又は前記第2の機能に対して前記要求メッセージの要求内容を通知するメッセージ制御手段とを有することを特徴とする。 In order to achieve the above object, the data communication device of the present invention provides a first function for providing device information including application information of the image forming apparatus to the external device in response to a request from the external device; Data communication for performing bidirectional data communication between the external device and an image forming apparatus having at least one second function that executes processing by the application that has received a request from the external device A receiving means for receiving a request message for requesting processing to the first function or the second function transmitted from the external device ; the first function; and the second function. In a multi-process environment in which the request message is received by the receiving means based on predetermined information of the request message received by the receiving means. The image forming apparatus that performs the requested process and the first function or the second function of the image forming apparatus are specified, and the specified first image forming apparatus has the first function. And a message control means for notifying a request content of the request message to the function or the second function .

また、上記目的を達成するため、本発明のデータ通信装置は、前記メッセージ制御手段において、前記要求メッセージの通知先に関する情報及び/又は前記要求メッセージにより要求される処理に関する情報に基づいて、要求された処理を行う前記画像形成装置並びに前記画像形成装置が有する前記第1の機能又は前記第2の機能のどちらか一方を特定することを特徴とする。 In order to achieve the above object, the data communication device of the present invention is requested in the message control unit based on information on a notification destination of the request message and / or information on processing requested by the request message. One of the first function and the second function of the image forming apparatus and the image forming apparatus that perform the processing is specified .

また、上記目的を達成するため、本発明のデータ通信装置は、前記受信手段において、前記外部機器から送信された先記要求メッセージをSOAPにより受信することを特徴とする。   In order to achieve the above object, the data communication apparatus of the present invention is characterized in that the receiving unit receives the pre-request message transmitted from the external device by SOAP.

これによって、本発明のデータ通信装置は、外部機器と画像形成装置との間で、双方向のメッセージ交換を行うデータ送受信機能を有し(SOAPモジュールを外部機器や画像形成装置と異なる装置に実装し)、データ送受信機能により外部機器から受信されたメッセージの内容に基づいて、要求された処理を行う画像形成装置とその機能を特定し、特定された画像形成装置の機能に対して要求内容を通知する構成により、ネットワークに接続される複数の外部機器に対して、共通したデータ送受信機能を提供する(データ通信のときに使用するポートを一元化する)ことができ、データ通信機能によるリソースの消費を軽減し、外部機器が有する機能と画像形成装置が有する機能とを連携することができる。   As a result, the data communication apparatus according to the present invention has a data transmission / reception function for performing bidirectional message exchange between the external device and the image forming apparatus (the SOAP module is mounted on a device different from the external device or the image forming apparatus). The image forming apparatus that performs the requested processing and its function are identified based on the content of the message received from the external device by the data transmission / reception function, and the requested content is specified for the function of the identified image forming apparatus. The configuration to notify can provide a common data transmission / reception function (unify ports used for data communication) to multiple external devices connected to the network, and resource consumption by the data communication function The function of the external device and the function of the image forming apparatus can be linked.

上記目的を達成するため、本発明のデータ通信方法は、外部機器からの要求に応じて、当該画像形成装置が有するアプリケーションの情報を含む機器情報を前記外部機器に提供する第1の機能と、前記外部機器からの要求を受け付けた前記アプリケーションにより処理を実行する少なくとも1つ以上の第2の機能とを有する画像形成装置と、前記外部機器との間で、双方向のデータ通信を行うデータ通信方法であって、前記外部機器から送信された前記第1の機能又は前記第2の機能に対して処理を要求する要求メッセージを、前記第1の機能及び前記第2の機能とを含む複数の機能に共通して受信する受信手順と、前記第1の機能と前記第2の機能とが別のプロセスで動作するマルチプロセス環境において、前記受信手順により受信された前記要求メッセージの所定の情報に基づいて、前記要求メッセージにより要求された処理を行う前記第1の機能又は前記第2の機能のどちらか一方を特定し、特定された前記第1の機能又は前記第2の機能に対して前記要求メッセージの要求内容を通知するメッセージ制御手順とを有することを特徴とする。 In order to achieve the above object, a data communication method of the present invention includes a first function for providing device information including application information included in the image forming apparatus to the external device in response to a request from the external device. Data communication for performing bidirectional data communication between the external device and an image forming apparatus having at least one second function that executes processing by the application that has received a request from the external device A plurality of request messages transmitted from the external device for requesting processing to the first function or the second function, the request message including the first function and the second function; a receiving step of receiving common to function in a multi-process environment in which the first function and the second function is operated in a separate process, is received by the receiving procedure Based on the predetermined information of the request message, the first function or the second function for performing the processing requested by the request message is specified, and the specified first function or the specified function And a message control procedure for notifying a request function of the request message to the second function .

また、上記目的を達成するため、本発明のデータ通信方法は、前記メッセージ制御手順において、前記要求メッセージの宛先に関する情報及び/又は前記要求メッセージにより要求される処理に関する情報に基づいて、要求された処理を行う前記第1の機能又は前記第2の機能のどちらか一方を特定することを特徴とする。 In order to achieve the above object, the data communication method of the present invention is requested based on information on a destination of the request message and / or information on processing requested by the request message in the message control procedure . One of the first function and the second function for performing processing is specified .

また、上記目的を達成するため、本発明のデータ通信方法は、前記受信手順において、前記外部機器から送信された前記要求メッセージをSOAPにより受信することを特徴とする。   In order to achieve the above object, the data communication method of the present invention is characterized in that, in the reception procedure, the request message transmitted from the external device is received by SOAP.

これによって、本発明のデータ通信方法は、外部機器と双方向でメッセージ交換を行うデータ送受信機能を画像形成装置が有する各機能に対して共通化し(各機能に対してSOAPモジュールを共通化し)、共通化されたデータ送受信機能により受信されたメッセージの内容に基づいて、要求された処理を行う機能を特定し、特定された機能に対して要求内容を通知することで、ネットワークに接続される複数の外部機器に対して、共通したデータ送受信機能を提供する(データ通信のときに使用するポートを一元化する)ことができ、データ通信機能によるリソースの消費を軽減し、外部機器が有する機能と画像形成装置が有する機能とを連携することができる。   Accordingly, the data communication method of the present invention has a data transmission / reception function for exchanging messages bidirectionally with an external device for each function of the image forming apparatus (a SOAP module is shared for each function). Multiple functions connected to the network by specifying the function to perform the requested processing based on the content of the message received by the common data transmission / reception function and notifying the specified function of the requested content Can provide a common data transmission / reception function (unify the ports used for data communication) to external devices, reduce resource consumption by the data communication function, and provide functions and images that the external device has. The function of the forming apparatus can be linked.

上記目的を達成するため、本発明のデータ通信プログラムは、外部機器からの要求に応じて、当該画像形成装置が有するアプリケーションの情報を含む機器情報を前記外部機器に提供する第1の機能と、前記外部機器からの要求を受け付けた前記アプリケーションにより処理を実行する少なくとも1つ以上の第2の機能とを有する画像形成装置と、前記外部機器との間で、双方向のデータ通信を行うデータ通信プログラムであって、コンピュータを、前記外部機器から送信された前記第1の機能又は前記第2の機能に対して処理を要求する要求メッセージを受信する受信手段と、前記第1の機能と前記第2の機能とが別のプロセスで動作するマルチプロセス環境において、前記受信手段により受信された前記要求メッセージの所定の情報に基づいて、前記要求メッセージにより要求された処理を行う前記第1の機能又は前記第2の機能のどちらか一方を特定し、特定された前記第1の機能又は前記第2の機能に対して前記要求メッセージの要求内容を通知するメッセージ制御手段として機能させる。

In order to achieve the above object, a data communication program according to the present invention includes a first function for providing device information including application information included in the image forming apparatus to the external device in response to a request from the external device. Data communication for performing bidirectional data communication between the external device and an image forming apparatus having at least one second function that executes processing by the application that has received a request from the external device A receiving unit configured to receive a request message for requesting a process for the first function or the second function transmitted from the external device , the first function, and the first function; In a multi-process environment in which the two functions operate in different processes, based on predetermined information of the request message received by the receiving unit. And specifying either the first function or the second function that performs the processing requested by the request message, and requesting the specified first function or the second function. It functions as a message control means for notifying the request content of a message.

これによって、本発明のデータ通信プログラムは、コンピュータを、外部機器と双方向でメッセージ交換を行うデータ送受信機能を画像形成装置が有する各機能に対して共通化し(各機能に対してSOAPモジュールを共通化し)、共通化されたデータ送受信機能により受信されたメッセージの内容に基づいて、要求された処理を行う機能を特定し、特定された機能に対して要求内容を通知するように機能させることができる。   Thus, the data communication program of the present invention makes the computer share a data transmission / reception function for exchanging messages with an external device in both directions for each function of the image forming apparatus (a SOAP module is shared for each function). And specifying the function for performing the requested processing based on the content of the message received by the common data transmission / reception function, and allowing the specified function to be notified of the request content. it can.

よって、本発明のデータ通信プログラムは、ネットワークに接続される複数の外部機器に対して、共通したデータ送受信機能を提供する(データ通信のときに使用するポートを一元化する)ことができ、データ通信機能によるリソースの消費を軽減し、外部機器が有する機能と画像形成装置が有する機能とを連携することができるデータ通信機能を実現することができる。   Therefore, the data communication program of the present invention can provide a common data transmission / reception function (unify ports used for data communication) to a plurality of external devices connected to the network. It is possible to realize a data communication function that can reduce the consumption of resources due to the function and link the function of the external device with the function of the image forming apparatus.

本発明によれば、データ通信機能によるリソースの消費を軽減し、外部機器が有する機能と画像形成装置が有する機能とを連携することができる画像形成装置、データ通信装置、データ通信方法、及びデータ通信プログラムを提供することができる。   According to the present invention, an image forming apparatus, a data communication apparatus, a data communication method, and data capable of reducing resource consumption by a data communication function and linking a function of an external device with a function of an image forming apparatus A communication program can be provided.

以下、本発明の好適な実施の形態(以下、「実施形態」という。)について、図面を用いて詳細に説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention (hereinafter referred to as “embodiments”) will be described in detail with reference to the drawings.

[第1の実施形態]
<ハードウェア構成>
では、本実施形態に係る画像形成装置100のハードウェア構成について、図1を用いて説明する。図1は、本発明の第1の実施形態に係る画像形成装置100のハードウェア構成の一例を示す図である。
[First Embodiment]
<Hardware configuration>
A hardware configuration of the image forming apparatus 100 according to the present embodiment will be described with reference to FIG. FIG. 1 is a diagram illustrating an example of a hardware configuration of an image forming apparatus 100 according to the first embodiment of the present invention.

本実施形態に係る画像形成装置100は、操作パネル11と、記憶メディアI/F12と、コントローラ13と、データ通信I/F14と、HDD(Hard Disk Drive)17と、スキャナ15と、プロッタ16とから構成され、それぞれ相互に接続されている。   The image forming apparatus 100 according to the present embodiment includes an operation panel 11, a storage medium I / F 12, a controller 13, a data communication I / F 14, an HDD (Hard Disk Drive) 17, a scanner 15, and a plotter 16. Are connected to each other.

操作パネル11は、入力装置11aと表示装置11bとを有しており、入力装置11aは、ハードウェアキーなどで構成され、画像形成装置100に各操作信号を入力するのに用いられる。また、表示装置11bは、ディスプレイなどで構成され、例えば画像形成動作に関する各種情報を表示する。データ通信I/F14は、インタフェース装置14aを有しており、画像形成装置100をネットワークなどのデータ伝送路に接続するインタフェースである。HDD17は、画像形成装置100で取り扱われる受信文書データや読み取り画像データなどの各種データを格納している。また、HDD17は、これらの各種データを、所定のファイルシステムやDB(Data Base)により管理している。   The operation panel 11 includes an input device 11a and a display device 11b. The input device 11a includes hardware keys and is used to input each operation signal to the image forming apparatus 100. Further, the display device 11b is configured by a display or the like, and displays, for example, various types of information regarding the image forming operation. The data communication I / F 14 includes an interface device 14a, and is an interface that connects the image forming apparatus 100 to a data transmission path such as a network. The HDD 17 stores various data such as received document data and read image data handled by the image forming apparatus 100. Further, the HDD 17 manages these various data by a predetermined file system or DB (Data Base).

HDD17に格納される各種データの中には、例えば、デジタルカメラなどの外部機器によって記録された電子データも含まれる。このような場合には、メモリカードなどの記録媒体12bによって画像形成装置100に提供されるか、データ伝送路であるネットワークなどを通じてアップロードされる。記録媒体12bは、記憶メディアI/F12が有するドライブ装置12aにセットされ各種データが記録媒体12bからドライブ装置12aを介してHDD17に格納される。   The various data stored in the HDD 17 includes electronic data recorded by an external device such as a digital camera, for example. In such a case, it is provided to the image forming apparatus 100 by a recording medium 12b such as a memory card or uploaded via a network or the like that is a data transmission path. The recording medium 12b is set in the drive device 12a included in the storage medium I / F 12, and various data are stored in the HDD 17 from the recording medium 12b via the drive device 12a.

コントローラ13は、ROM(Read Only Memory)13a、RAM(Random Access Memory)13b、及びCPU(Central Processing Unit)13cとを有しており、ROM13aは、画像形成装置100が起動されるときに実行されるプログラムや各種データを格納している。また、RAM13bは、ROM13aやHDD17から読み出された各種プログラムやデータを一時保持する。更に、CPU13cは、RAM13bが一時保持しているプログラムを実行する。コントローラ13は、例えば、データ通信I/F14を介して印刷データを受信した場合に、ROM13aからRAM13b上に読み出された、PDL(Page Description Language)を解釈可能なプログラム(PDLパーサ)をCPU13cにより実行し、印刷データを解釈してビットマップイメージを生成する。   The controller 13 includes a ROM (Read Only Memory) 13a, a RAM (Random Access Memory) 13b, and a CPU (Central Processing Unit) 13c. The ROM 13a is executed when the image forming apparatus 100 is activated. Program and various data are stored. The RAM 13b temporarily stores various programs and data read from the ROM 13a and the HDD 17. Further, the CPU 13c executes a program temporarily stored in the RAM 13b. For example, when the print data is received via the data communication I / F 14, the controller 13 reads a program (PDL parser) that can read PDL (Page Description Language) read from the ROM 13a onto the RAM 13b by the CPU 13c. Execute and interpret the print data to generate a bitmap image.

スキャナ15は、画像読取装置15aを有しており、読み取り面に配置された原稿を光学的に読み取り画像データを生成する。プロッタ16は、印刷装置16aを有しており、例えば、電子写真プロセス方式によってビットマップイメージを記録紙に印刷する。   The scanner 15 includes an image reading device 15a, and optically reads a document placed on a reading surface and generates image data. The plotter 16 has a printing device 16a and prints a bitmap image on a recording sheet by, for example, an electrophotographic process method.

このように、本実施形態に係る画像形成装置100では、上記ハードウェア構成により、コピー、プリンタ、ファクシミリ、スキャナなどの複数の機能を実現している。   As described above, the image forming apparatus 100 according to the present embodiment realizes a plurality of functions such as a copy, a printer, a facsimile, and a scanner by the above hardware configuration.

<ソフトウェア構成>
次に、本実施形態に係る画像形成装置100のソフトウェア構成について、図2を用いて説明する。図2は、本発明の第1の実施形態に係る画像形成装置100のソフトウェア構成の一例を示す図である。
<Software configuration>
Next, the software configuration of the image forming apparatus 100 according to the present embodiment will be described with reference to FIG. FIG. 2 is a diagram illustrating an example of a software configuration of the image forming apparatus 100 according to the first embodiment of the present invention.

<<画像形成装置>>
本実施形態に係る画像形成装置100は、図1に示したプロッタ16と、スキャナ15と、ファクシミリやHDD17などのハードウェアリソース101などを有するとともに、起動部140により起動されるプラットホーム120とアプリケーション130とから構成されるソフトウェア群110とを備えている。
<< Image forming apparatus >>
The image forming apparatus 100 according to the present embodiment includes the plotter 16 illustrated in FIG. 1, the scanner 15, the hardware resource 101 such as a facsimile machine and the HDD 17, and the like, and the platform 120 and the application 130 activated by the activation unit 140. And a software group 110 composed of

プラットホーム120は、アプリケーション130からの処理要求を解釈してハードウェア資源の獲得要求を発生させるコントロールサービス150と、1つ以上のハードウェア資源の管理を行い、コントロールサービス150からの獲得要求を調停するSRM(System Resource Manager)123と、OS(Operating System)121とを有する。   The platform 120 interprets a processing request from the application 130 and generates a hardware resource acquisition request, manages one or more hardware resources, and arbitrates the acquisition request from the control service 150. An SRM (System Resource Manager) 123 and an OS (Operating System) 121 are included.

コントロールサービスは、複数のサービスモジュールから形成され、SCS(System Control Service)122と、ECS(Engine Control Service)124と、MCS(Memory Control Service)125と、OCS(Operation panel Control Service)126と、FCS(FAX Control Service)127と、NCS(Network Control Service)128とから構成される。   The control service is formed of a plurality of service modules, and includes an SCS (System Control Service) 122, an ECS (Engine Control Service) 124, an MCS (Memory Control Service) 125, an OCS (Operation Panel Control Service) 126, and an FCS. (FAX Control Service) 127 and NCS (Network Control Service) 128.

なお、このプラットホーム120は、予め定義されたメソッドによりアプリケーション130から処理要求を受信可能とするAPI(Application Program Interface)103と、プロッタ16やスキャナ15、またその他のハードウェアリソース101などを、ハードウェア資源を利用する上位層からの要求に従ってOS121を介して制御するときのインタフェースであるエンジンI/F102を有する。   The platform 120 includes an API (Application Program Interface) 103 that can receive a processing request from the application 130 by a predefined method, a plotter 16, a scanner 15, and other hardware resources 101. It has an engine I / F 102 that is an interface for controlling via the OS 121 in accordance with a request from an upper layer that uses resources.

OS121は、UNIX(登録商標)などの汎用オペレーティングシステムであり、プラットホーム120並びにアプリケーション130の各ソフトウェアをそれぞれプロセスとして並列実行する。   The OS 121 is a general-purpose operating system such as UNIX (registered trademark), and executes the software of the platform 120 and the application 130 in parallel as processes.

SRM123は、SCS122とともにシステムの制御およびリソースの管理を行うものであり、プロッタ16やスキャナ15などのエンジン、メモリ、HDDファイル、ホストI/O(例えば、セントロI/F、ネットワークI/F、IEEE1394 I/F、RS232C I/Fなど。)のハードウェア資源を利用する上位層からの要求に従って調停を行い、実行制御する。   The SRM 123, together with the SCS 122, controls the system and manages resources, and includes engines such as the plotter 16 and the scanner 15, memory, HDD files, host I / O (for example, Centro I / F, network I / F, IEEE 1394). I / F, RS232C I / F, etc.) arbitration is performed according to a request from a higher layer using hardware resources, and execution control is performed.

具体的には、このSRM123は、要求されたハードウェア資源が利用可能であるか(他の要求により利用されていないかどうか)を判断し、利用可能であれば要求されたハードウェア資源が利用可能である旨を上位層に伝える。また、SRM123は、上位層からの要求に対してハードウェア資源の利用スケジューリングを行い、要求内容(例えば、プリンタエンジンにより紙搬送と作像動作、メモリ確保、ファイル生成など。)を直接実施している。   Specifically, the SRM 123 determines whether the requested hardware resource is available (whether it is not used by another request), and if it is available, the requested hardware resource is used. Tell the upper layer that it is possible. In addition, the SRM 123 performs use scheduling of hardware resources in response to a request from an upper layer, and directly executes request contents (for example, paper conveyance and image forming operation, memory allocation, file generation, etc. by a printer engine). Yes.

SCS122は、アプリ管理、操作部制御、システム画面表示、LED(Light Emitting Diode)表示、リソース管理、割り込みアプリ制御を行うものである。ECS124は、プロッタ16、スキャナ15などから構成されるハードウェア資源のエンジンを制御するものである。   The SCS 122 performs application management, operation unit control, system screen display, LED (Light Emitting Diode) display, resource management, and interrupt application control. The ECS 124 controls a hardware resource engine including the plotter 16 and the scanner 15.

MCS125は、画像メモリの取得および解放、HDDの利用、画像データの圧縮および伸張などを行うものである。OCS126は、オペレータと本体制御間の情報伝達手段となる操作パネル11を制御するモジュールである。   The MCS 125 acquires and releases an image memory, uses an HDD, compresses and decompresses image data, and the like. The OCS 126 is a module that controls the operation panel 11 serving as information transmission means between the operator and the main body control.

FCS127は、システムコントローラの各アプリ層からPSTN(Public Switched Telephone Networks)/ISDN(Integrated Services Digital Network)を利用したファクシミリ送受信、BKM(バックアップSRAM:Static Random Access Memory)で管理されている各種ファクシミリデータの登録/引用、ファクシミリ読みとり、ファクシミリ受信印刷、融合送受信を行うためのAPIを提供するものである。FCS127には、そのサブプロセスであるFCUハンドラ(FCUH)が起動される。このFCUHは、FCS127からの指令によりファクシミリ送受信のときにファクシミリエンジンのデバイスドライバを制御するものである。   The FCS 127 transmits / receives facsimiles using PSTN (Public Switched Telephone Networks) / ISDN (Integrated Services Digital Network) from each application layer of the system controller, and various facsimile data managed by BKM (Backup SRAM: Static Random Access Memory). An API for performing registration / quotation, facsimile reading, facsimile reception printing, and fusion transmission / reception is provided. In the FCS 127, an FCU handler (FCUH) that is a subprocess thereof is activated. The FCUH controls the device driver of the facsimile engine when performing facsimile transmission / reception according to a command from the FCS 127.

NCS128は、ネットワークI/Oを必要とするアプリケーション130に対して共通に利用できるサービスを提供するためのモジュール群である。   The NCS 128 is a module group for providing a service that can be commonly used for the applications 130 that require network I / O.

本実施形態に係るデータ通信機能は、NCS128が有している。NCS128を構成する具体的なソフトウェア部品(プログラム)については、以降に示す図3を用いて説明する。   The NCS 128 has a data communication function according to the present embodiment. Specific software components (programs) constituting the NCS 128 will be described with reference to FIG.

アプリケーション130は、PCLやポストスクリプト(PS)などのPDLパーサを有するプリンタ用のアプリケーションであるプリンタアプリ111と、コピー用アプリケーションであるコピーアプリ112と、ファクシミリ用アプリケーションであるファックスアプリ113と、スキャナ用アプリケーションであるスキャナアプリ114と、ネットワークファイル用アプリケーションであるネットファイルアプリ115と、工程検査用アプリケーションである工程検査アプリ116と、配信用のアプリケーションである配信アプリ117とを有している。   The application 130 includes a printer application 111 that is a printer application having a PDL parser such as PCL and PostScript (PS), a copy application 112 that is a copy application, a fax application 113 that is a facsimile application, and a scanner application. It has a scanner application 114 as an application, a network file application 115 as a network file application, a process inspection application 116 as a process inspection application, and a distribution application 117 as a distribution application.

これらの各コントロールサービスとSRM123と各アプリケーション130とは、1つ以上のメソッドを有するオブジェクトであり、このオブジェクトを起動することによりそれぞれプロセスとしてOS121上に生成されて実行される。そして、各プロセス内部には、複数のスレッドが起動され、OS121の管理下でこれらのスレッドのCPU占有時間を切り替えることにより並列実行が実現されている。このため、プロセス切り替えによる並列実行と比較して、並列実行時の処理速度の向上が図られている。   Each of these control services, SRM 123, and each application 130 is an object having one or more methods, and is generated and executed on the OS 121 as a process by activating this object. A plurality of threads are activated in each process, and parallel execution is realized by switching the CPU occupation time of these threads under the management of the OS 121. For this reason, compared with parallel execution by process switching, the processing speed at the time of parallel execution is improved.

各アプリプロセスと各コントロールサービスプロセスとは、メソッドの実行によるプロセス間通信によってメッセージの送受信が行われる。   Messages are transmitted and received between each application process and each control service process by inter-process communication by executing a method.

<<NCS>>
ここからは、本実施形態に係るデータ通信機能を有するNCS128について、図3及び図4を用いて説明する。
(ソフトウェア構成の概要)
図3は、本発明の第1の実施形態に係るNCS128のソフトウェア構成の一例を示す図である。
<< NCS >>
From here, the NCS 128 having the data communication function according to the present embodiment will be described with reference to FIGS.
(Overview of software configuration)
FIG. 3 is a diagram showing an example of the software configuration of the NCS 128 according to the first embodiment of the present invention.

本実施形態に係るNCS128のソフトウェア構成は、主に、各プロトコルによって受信したデータを各アプリケーション130に振り分けたり、アプリケーション130からデータをネットワーク側に送信する際の仲介を行うモジュール群で構成される。そのモジュール群の中に、本実施形態に係るWS−MFPモジュール群20がある。   The software configuration of the NCS 128 according to the present embodiment is mainly composed of a module group that distributes data received by each protocol to each application 130 and mediates when data is transmitted from the application 130 to the network side. Among the module groups, there is a WS-MFP module group 20 according to the present embodiment.

ここで上記の「WS」とは、World Wide Web Consortium(W3C)のワーキンググループ(WG)により進められているXMLをベースとした標準化Webサービスの意味である。「WS」については、その詳細が開示されている公開文献「Devices Profile for Web Services」を開示し、ここでの説明を省略する。公開文献の入手先URLは、"http://specs.xmlsoap.org/ws/2006/02/devprof/devicesprofile.pdf"である。また、以降の説明の中で、「WS」がつく機能名やモジュール名は、この標準化Webサービスに準拠して設計された機能やモジュールである。例えば、WS−MFPモジュール群20は、標準化Webサービスに準拠して設計された複合機用のモジュール群を示している。   Here, the above-mentioned “WS” means a standardized Web service based on XML that is being promoted by a working group (WG) of the World Wide Web Consortium (W3C). As for “WS”, an open document “Devices Profile for Web Services” in which the details are disclosed is disclosed, and the description thereof is omitted here. The URL for obtaining the published document is “http://specs.xmlsoap.org/ws/2006/02/devprof/devicesprofile.pdf”. In the following description, function names and module names with “WS” are functions and modules designed in accordance with this standardized Web service. For example, the WS-MFP module group 20 is a module group for a multifunction machine designed in accordance with a standardized Web service.

図3に示すWS−MFPモジュール群20は、外部機器と画像形成装置100が有するプリンタアプリ111との間でプリンタ関連のデータを取り扱うWS−Printer21pや、外部機器と画像形成装置100が有するスキャナアプリ114との間でスキャナ関連のデータを取り扱うWS−Scanner21sと、外部機器と画像形成装置100との間で機器関連のデータを取り扱うDFMモジュール22とから構成され、上記各ソフトウェア部品は、それぞれ別のプロセスで起動され動作するように実装される。   The WS-MFP module group 20 illustrated in FIG. 3 includes a WS-Printer 21p that handles printer-related data between the external device and the printer application 111 included in the image forming apparatus 100, and a scanner application included in the external device and the image forming apparatus 100. 114 includes a WS-Scanner 21 s that handles scanner-related data, and a DFM module 22 that handles device-related data between the external device and the image forming apparatus 100. Implemented to be invoked and run in a process.

例えば、WS−Printer21pは、DFMモジュール22からのプリンタアプリ111に関する情報の取得要求に応答したり、外部機器からの印刷要求をプリンタアプリ111に通知したりする機能である。DFMモジュール22は、WS−Printer21pやWS−Scanner21sなどからプリンタアプリ111やスキャナアプリ114などのアプリケーション情報を取得し、取得した情報を基に外部機器に対して、画像形成装置100が提供可能な標準化Webサービスに関する情報を含む機器情報を送信する。上記において、DFMモジュール22からWS−Printer21pが保有するプリンタ関連の情報を取得する場合について説明を行ったが、互いに別のプロセスによって動作しているため、プロセス間通信によりデータの送受信を行う。   For example, the WS-Printer 21p has a function of responding to an information acquisition request regarding the printer application 111 from the DFM module 22 and notifying the printer application 111 of a print request from an external device. The DFM module 22 acquires application information such as the printer application 111 and the scanner application 114 from the WS-Printer 21p, WS-Scanner 21s, and the like, and standardization that the image forming apparatus 100 can provide to external devices based on the acquired information. Device information including information related to the Web service is transmitted. In the above description, the case where the printer-related information held by the WS-Printer 21p is acquired from the DFM module 22 has been described. However, since the printer-related information is operated by different processes, data is transmitted and received by inter-process communication.

このように、本実施形態に係る画像形成装置100は、上記構成によるNCS128を有することにより、外部機器と画像形成装置100との間でデータの送受信を行うことができる。
(ソフトウェア構成の詳細)
図4は、本発明の第1の実施形態に係るWS−MFPモジュール群20及びSOAP50のソフトウェア構成の一例を示す図である。
As described above, the image forming apparatus 100 according to the present embodiment includes the NCS 128 configured as described above, so that data can be transmitted and received between the external device and the image forming apparatus 100.
(Details of software configuration)
FIG. 4 is a diagram showing an example of the software configuration of the WS-MFP module group 20 and the SOAP 50 according to the first embodiment of the present invention.

図4に示すように、本実施形態に係るNCS128は、WS−MFPモジュール群20のDFMモジュール22、WS−Printer21p及びWS−Scanner21sに加え、SOAP50とディスパッチャ60とから構成され、上記各ソフトウェア部品は、それぞれ別のプロセスで起動され動作するように実装される。   As shown in FIG. 4, the NCS 128 according to the present embodiment includes a SOAP 50 and a dispatcher 60 in addition to the DFM module 22, WS-Printer 21 p and WS-Scanner 21 s of the WS-MFP module group 20. , Each implemented in a separate process.

以下に、DFMモジュール22、WS−Printer21p、WS−Scanner21s、SOAP50、及びディスパッチャ60それぞれを構成する主なソフトウェア部品について説明する。   In the following, main software components constituting the DFM module 22, WS-Printer 21p, WS-Scanner 21s, SOAP 50, and dispatcher 60 will be described.

WS−Printer21pは、PrinterDCP41pとWS−Eventing42pとから構成される。   The WS-Printer 21p is composed of a Printer DCP 41p and a WS-Eventing 42p.

PrinterDCP41pは、プリンタ機能を利用する外部機器が有する機能(例えばプリンタドライバなど)と画像形成装置100が有するプリンタアプリ111との間で、プリンタ関連のデータを送受信する。また、WS−Eventing42pは、プリンタ機能を利用する外部機器が有する機能から送信された印刷要求などの処理要求イベントを画像形成装置100が有するプリンタアプリ111に通知する。   The Printer DCP 41 p transmits and receives printer-related data between a function (for example, a printer driver) of an external device that uses the printer function and the printer application 111 of the image forming apparatus 100. The WS-Eventing 42p notifies the printer application 111 of the image forming apparatus 100 of a processing request event such as a print request transmitted from a function of an external device that uses the printer function.

WS−Printer21pは、このような機能構成により、例えば、外部機器からの印刷要求に従って、画像形成装置100が有するプリンタアプリ111により、受信した画像データの印刷を行い、印刷が完了した旨を外部機器へ通知する処理を実現する。   With such a functional configuration, the WS-Printer 21p prints the received image data by the printer application 111 included in the image forming apparatus 100 in accordance with a print request from the external device, for example. Realize the process of notifying.

WS−Scanner21sは、ScannerDCP41sとWS−Eventing42sとから構成される。ScannerDCP41sは、スキャナ機能を利用する外部機器が有する機能(例えば文書管理ソフトウェアなど)と画像形成装置100が有するスキャナアプリ114との間で、スキャナ関連のデータを送受信する。また、WS−Eventing42sは、スキャナ機能を利用する外部機器が有する機能から送信された画像読み取り要求などの処理要求イベントを画像形成装置100が有するスキャナアプリ114に通知する。   WS-Scanner 21s is composed of Scanner DCP 41s and WS-Eventing 42s. The Scanner DCP 41 s transmits and receives scanner-related data between a function (for example, document management software) of an external device that uses the scanner function and the scanner application 114 of the image forming apparatus 100. Also, the WS-Eventing 42s notifies the scanner application 114 of the image forming apparatus 100 of a processing request event such as an image reading request transmitted from a function of an external device that uses the scanner function.

WS−Scanner21sは、上記機能構成により、例えば、外部機器からの画像読み取り要求に従って、画像形成装置100が有するスキャナアプリ114により、原稿の読み取りを行い、読み取りが完了した旨を外部機器へ通知する処理を実現する。   The WS-Scanner 21s performs processing for reading the document by the scanner application 114 included in the image forming apparatus 100 according to the image reading request from the external device, and notifying the external device that the reading is completed. Is realized.

DFMモジュール22は、WS−Discovery31と、WS−Transfer32と、WS−MetadataExchenge33と、WSD−Manager34とから構成される。   The DFM module 22 includes a WS-Discovery 31, a WS-Transfer 32, a WS-Metadata Exchange 33, and a WSD-Manager 34.

WS−Discovery31は、標準化Webサービスにより、搭載するアプリケーション機能を提供可能な装置(WS−Device)がネットワークに参加したことを、外部機器が有する機能が検知するためのメッセージを、外部機器と画像形成装置100との間で送受信する。   WS-Discovery 31 uses a standardized Web service to generate a message for detecting the function of an external device that a device (WS-Device) capable of providing an installed application function has joined the network, and forming an image with the external device. Data is transmitted to and received from the device 100.

WS−Transfer32は、画像形成装置100が提供可能な標準化Webサービスに関する情報(機器情報)を通知するメッセージを、外部機器と画像形成装置100との間で送受信する。また、WS−Transfer32は、UDP(User Datagram Protocol)により、外部機器に対して、画像形成装置100がネットワーク200に参加した旨を知らせる(例えば「Hello」コマンドをネットワーク200に接続される全ての外部機器に対してマルチキャストする)。   The WS-Transfer 32 transmits and receives a message for notifying information (device information) related to a standardized Web service that can be provided by the image forming apparatus 100 between the external device and the image forming apparatus 100. Also, the WS-Transfer 32 notifies an external device that the image forming apparatus 100 has joined the network 200 by using UDP (User Datagram Protocol) (for example, a “Hello” command is sent to all external devices connected to the network 200. Multicast to device).

WS−MetadataExchenge33は、WS−Printer21p及びWS−Scanner21sから取得した各アプリケーションに関する情報などを基に、画像形成装置100が提供可能な標準化Webサービスに関する情報のデータを生成する。   The WS-MetadataExchange 33 generates data on information relating to standardized Web services that can be provided by the image forming apparatus 100 based on information relating to each application acquired from the WS-Printer 21p and the WS-Scanner 21s.

WSD−Manager34は、WS−Discovery31、WS−Transfer32、及びWS−MetadataExchenge33、並びに、WS−Printer21p及びWS−Scanner21sが有する各DCP41p及び41sなどの動作制御・管理を行う。   The WSD-Manager 34 performs operation control and management of the WS-Discovery 31, the WS-Transfer 32, the WS-Metadata Exchange 33, and the DCPs 41p and 41s included in the WS-Printer 21p and the WS-Scanner 21s.

DFMモジュール22は、上記機能構成により、例えば、標準化Webサービスにより、搭載するアプリケーション機能を提供可能な画像形成装置100の自動検知機能を実現している。   The DFM module 22 realizes the automatic detection function of the image forming apparatus 100 capable of providing an installed application function by, for example, a standardized Web service with the above-described functional configuration.

SOAP50は、SOAPメッセージ送受信51と、SOAPメッセージ生成52とから構成される。   The SOAP 50 includes a SOAP message transmission / reception 51 and a SOAP message generation 52.

SOAPメッセージ送受信51は、下位層にあたるHTTPやSMTPなどの通信プロトコルによりネットワーク200を介して、外部機器と画像形成装置100との間で、SOAPメッセージを送受信する。また、SOAPメッセージ生成52は、WS−MetadataExchange33により生成されたデータを基にSOAPメッセージを生成する。   The SOAP message transmission / reception 51 transmits / receives a SOAP message between the external device and the image forming apparatus 100 via the network 200 by a communication protocol such as HTTP or SMTP corresponding to a lower layer. The SOAP message generation 52 generates a SOAP message based on the data generated by the WS-MetadataExchange 33.

SOAP50は、このような機能構成により、DFMモジュール22、WS−Printer21p、及びWS−Scanner21sなどから受け取った通信データをSOAPメッセージに変換し、外部機器と画像形成装置100との間のメッセージ交換機能を実現している。また、本実施形態では、SOAP50にオープンソースの「gSOAP」を採用し、WS−MFPモジュール群20が動作するプロセスとは異なるプロセスで動作するように実装する。「gSOAP」については、その詳細が開示されている開発元の公式サイトである「gSOAP:C/C++ Web Services and Clients」へのURL(http://www.cs.fsu.edu/~engelen/soap.html)を開示し、ここでの説明は省略する。   With such a functional configuration, the SOAP 50 converts communication data received from the DFM module 22, WS-Printer 21p, WS-Scanner 21s, and the like into a SOAP message, and provides a message exchange function between the external device and the image forming apparatus 100. Realized. In the present embodiment, open source “gSOAP” is adopted as the SOAP 50, and it is mounted so as to operate in a process different from the process in which the WS-MFP module group 20 operates. For “gSOAP”, the URL to “gSOAP: C / C ++ Web Services and Clients” (http://www.cs.fsu.edu/~engelen/) soap.html), which is not described here.

ディスパッチャ60は、SOAPメッセージ受信51を介して外部機器から受信したSOAPメッセージを、SOAPメッセージの内容に応じて、DFMモジュール22、WS−Printer21p、又はWS−Scanner21sに振り分ける(メッセージ内容を通知する)。また、その逆に、DFMモジュール22、WS−Printer21p、又はWS−Scanner21sから受け付けたメッセージ生成要求に従って、SOAP50が有するSOAPメッセージ生成52へデータを送信する。   The dispatcher 60 distributes the SOAP message received from the external device via the SOAP message reception 51 to the DFM module 22, the WS-Printer 21p, or the WS-Scanner 21s according to the content of the SOAP message (notifies the message content). Conversely, data is transmitted to the SOAP message generation 52 of the SOAP 50 in accordance with the message generation request received from the DFM module 22, WS-Printer 21p, or WS-Scanner 21s.

このように、ディスパッチャ60は、SOAP50を介して、外部機器が有する機能と画像形成装置100が有するWS−MFPモジュール群20との間のSOAPメッセージのディスパッチ機能を実現している。また、本実施形態では、ディスパッチャ60をSOAP50と同一のプロセスで動作するように実装する。   As described above, the dispatcher 60 implements a SOAP message dispatch function between the function of the external device and the WS-MFP module group 20 of the image forming apparatus 100 via the SOAP 50. In the present embodiment, the dispatcher 60 is mounted so as to operate in the same process as the SOAP 50.

また、ディスパッチャ60の実装により、SOAP50は、DFMモジュール22、WS−Printer21p、及びWS−Scanner21sに対して共通のデータ送受信機能を実現している。   Further, by implementing the dispatcher 60, the SOAP 50 realizes a common data transmission / reception function for the DFM module 22, the WS-Printer 21p, and the WS-Scanner 21s.

本実施形態に係る画像形成装置100は、上記のようなソフトウェア構成によるNCS128を有しており、外部機器とのメッセージ交換などのデータ通信を行う。   The image forming apparatus 100 according to the present embodiment includes the NCS 128 having the software configuration as described above, and performs data communication such as message exchange with an external device.

<データ通信機能>
次に、これまで説明を行ってきたハードウェア及びソフトウェア構成を踏まえ、本実施形態に係る画像形成装置100が有する「データ通信機能」について、図5を用いて説明する。図5は、本発明の第1の実施形態に係るデータ通信機能の機能構成の一例を示す図である。
<Data communication function>
Next, based on the hardware and software configurations described so far, the “data communication function” of the image forming apparatus 100 according to the present embodiment will be described with reference to FIG. FIG. 5 is a diagram illustrating an example of a functional configuration of the data communication function according to the first embodiment of the present invention.

<<機能構成の概要>>
本実施形態に係る画像形成装置100は、主に、外部機器と画像形成装置100との間のSOAPメッセージを送受信するメッセージ送受信部71(受信手段)と、画像形成装置100から外部機器に、標準化Webサービスに関する情報を含む機器情報を提供する機器情報提供部72と、画像形成装置100が有するコピー、ファックス、プリンター、スキャナなどのアプリケーション130に関連する機能を管理するアプリケーション管理部73と、外部機器が有する機能と画像形成装置100が有する機器情報提供部72又はアプリケーション管理部73との間で交換される各種メッセージの振り分けや、メッセージ送受信部71に対して機器情報管理部72又はアプリケーション管理部73からの処理要求を伝達するなどの制御を行うメッセージ制御部74(メッセージ制御手段)とから構成されている。
<< Overview of functional configuration >>
The image forming apparatus 100 according to the present embodiment is mainly standardized by a message transmission / reception unit 71 (reception unit) that transmits and receives a SOAP message between the external device and the image forming apparatus 100, and from the image forming apparatus 100 to the external device. A device information providing unit 72 that provides device information including information related to the Web service, an application management unit 73 that manages functions related to the application 130 such as a copy, a fax, a printer, and a scanner that the image forming apparatus 100 has, and an external device The distribution of various messages exchanged between the functions of the image forming apparatus 100 and the device information providing unit 72 or the application management unit 73 of the image forming apparatus 100, or the device information management unit 72 or the application management unit 73 with respect to the message transmission / reception unit 71. Control such as transmitting processing requests from It is constructed from the message control unit 74 (message control means).

また、上記各機能部は、図4において説明を行った以下に挙げるソフトウェア部品が、画像形成装置100が有するコントローラ13に配置されたROM13aからRAM13b上に読み出され、CPU13cで実行されることで実現される機能である。   In addition, each of the functional units is read out from the ROM 13a arranged in the controller 13 of the image forming apparatus 100 onto the RAM 13b and executed by the CPU 13c, as described below with reference to FIG. This is a function that is realized.

メッセージ送受信部71は、SOAP50が有するSOAPメッセージ送受信51によって実現される機能である。機器情報提供部72は、DFMモジュール22が有する各ソフトウェア部品(WS−Discovery31、WS−Transfer32、WS−MetadataExchange33、及びWSD−Manager34)によって実現される機能である。   The message transmission / reception unit 71 is a function realized by the SOAP message transmission / reception 51 included in the SOAP 50. The device information providing unit 72 is a function realized by each software component (WS-Discovery 31, WS-Transfer 32, WS-Metadata Exchange 33, and WSD-Manager 34) included in the DFM module 22.

また、アプリケーション管理部73は、画像形成装置100が有する基本機能である入力・出力機能に対応する入力部73aと出力部73bとから構成され、入力部73aはWS−Scanner21s、出力部73bはWS−Printer21pによって実現される機能である。メッセージ制御部74は、ディスパッチャ60により実現される機能である。   The application management unit 73 includes an input unit 73a and an output unit 73b corresponding to an input / output function that is a basic function of the image forming apparatus 100. The input unit 73a is a WS-Scanner 21s, and the output unit 73b is a WS. -A function realized by Printer 21p. The message control unit 74 is a function realized by the dispatcher 60.

<<動作概要>>
次に、上記各機能部による本実施形態に係る「データ通信機能」の動作について、「外部機器が標準化Webサービスにより、搭載するアプリケーション機能を提供可能な画像形成装置100を検知する」という動作例を基に説明する。
<< Operation overview >>
Next, with regard to the operation of the “data communication function” according to the present embodiment by each of the functional units described above, an operation example of “an external device detects an image forming apparatus 100 that can provide an installed application function by a standardized Web service”. This will be explained based on the above.

(1)自動検知コマンドの発行:画像形成装置側
まず、画像形成装置100は、機器情報提供部72により、ネットワーク200に接続される外部機器に対して、標準化Webサービスにより、搭載するアプリケーション機能を提供可能な装置として検知してもらうために、自動検知コマンドを送信する。より具体的には、自動検知コマンド(例えば「Hello」)をUDPによりマルチキャストする。
(1) Issuing Automatic Detection Command: Image Forming Apparatus Side First, the image forming apparatus 100 uses an apparatus information providing unit 72 to install application functions to be installed on an external device connected to the network 200 using a standardized Web service. An automatic detection command is transmitted in order to be detected as a device that can be provided. More specifically, an automatic detection command (for example, “Hello”) is multicast by UDP.

(2)提供サービスの詳細情報の取得要求:外部機器側
外部機器は、ネットワーク200を介して送信された自動検知コマンドをデータ通信手段により受信すると、画像形成装置100が提供可能なサービスの詳細情報(以下、「提供サービス情報」という。)の取得を要求する要求メッセージ(SOAPメッセージ)を、送信元の画像形成装置100に対して送信する。
(2) Request for Acquisition of Detailed Information of Provided Service: External Device Side When the external device receives the automatic detection command transmitted via the network 200 by the data communication unit, detailed information on the service that can be provided by the image forming apparatus 100 (Hereinafter referred to as “provided service information”), a request message (SOAP message) requesting acquisition is transmitted to the image forming apparatus 100 that is the transmission source.

(3)提供サービス情報の生成:画像形成装置側
画像形成装置100は、ネットワーク200を介して外部機器から送信された要求メッセージをメッセージ送受信部71により受信する。画像形成装置100は、受信した要求メッセージをメッセージ制御部71により解析し、提供サービス情報を収集可能な機能部を特定する。本実施形態の場合は、画像形成装置100が提供可能な標準化Webサービスに関する情報を含む機器情報を収集可能な機器情報提供部72に、外部機器からの処理要求を通知する。
(3) Generation of Provided Service Information: Image Forming Apparatus Side The image forming apparatus 100 receives a request message transmitted from an external device via the network 200 by the message transmission / reception unit 71. The image forming apparatus 100 analyzes the received request message by the message control unit 71 and identifies a functional unit that can collect the provided service information. In the case of the present embodiment, a processing request from an external device is notified to the device information providing unit 72 that can collect device information including information related to a standardized Web service that can be provided by the image forming apparatus 100.

その結果、画像形成装置100は、機器情報提供部72により、アプリケーション管理部73から提供可能な入出力機能に関する情報を取得し、取得した提供可能な入出力機能に関する情報と他の取得情報(例えば、OS121を介して取得したハードウェア資源に関する情報など。)とを基に機器情報を生成する。   As a result, the image forming apparatus 100 uses the device information providing unit 72 to acquire information related to the input / output function that can be provided from the application management unit 73, and the acquired information related to the input / output function that can be provided and other acquired information (for example, , Device information is generated based on the hardware resource information acquired via the OS 121.

次に、画像形成装置100は、機器情報提供部72により生成された機器情報を、メッセージ制御部74を介してメッセージ送受信部71へ渡す。画像形成装置100は、受け取った機器情報を基に、メッセージ送受信部71により外部機器に提供サービス情報として応答するためのSOAPメッセージを生成する。   Next, the image forming apparatus 100 passes the device information generated by the device information providing unit 72 to the message transmitting / receiving unit 71 via the message control unit 74. Based on the received device information, the image forming apparatus 100 generates a SOAP message for responding to the external device as provided service information by the message transmission / reception unit 71.

(4)提供サービス情報の応答:画像形成装置側
画像形成装置100は、メッセージ送受信部71により、生成したSOAPメッセージを、要求元の外部装置に送信する。
(4) Response of Provided Service Information: Image Forming Apparatus Side The image forming apparatus 100 uses the message transmission / reception unit 71 to transmit the generated SOAP message to the requesting external apparatus.

<データ通信機能の詳細>
本実施形態に係る「データ通信機能」において、上記動作の中で、「どのようにして外部機器から送信されたメッセージの要求内容を、該当する要求処理を行う機能部へディスパッチしているのか(振り分けているか)」について詳細に説明する。
<Details of data communication function>
In the “data communication function” according to the present embodiment, in the above operation, “How is the request content of the message transmitted from the external device dispatched to the functional unit that performs the corresponding request processing ( Will be described in detail.

本実施形態に係る画像形成装置100では、メッセージ制御部74により、メッセージ送受信部71により受信された要求メッセージの所定の情報に基づいて、要求された所定の処理を行う機能部(機器情報提供部72又はアプリケーション管理部73のどちらか一方)を特定し、特定された機能に対して要求メッセージの要求内容を通知することにより実現している。   In the image forming apparatus 100 according to the present embodiment, a function unit (apparatus information providing unit) that performs a predetermined process requested by the message control unit 74 based on predetermined information of a request message received by the message transmission / reception unit 71. 72 or the application management unit 73), and the request contents of the request message are notified to the specified function.

<<データ構成>>
メッセージ制御部74が、機能部を特定するときに解析を行う、外部機器から送信されるSOAPメッセージについて、図6を用いて説明する。
<< Data structure >>
A SOAP message transmitted from an external device, which is analyzed when the message control unit 74 specifies a functional unit, will be described with reference to FIG.

図6は、本発明の第1の実施形態に係るSOAPメッセージ81及び82の一例を示す図である。図6(a)には、「WS−Transfer Getメッセージ」の例が示されており、図6(b)には、「WS−Eventing Subscribeメッセージ」の例が示されている。   FIG. 6 is a diagram showing an example of SOAP messages 81 and 82 according to the first embodiment of the present invention. FIG. 6A shows an example of a “WS-Transfer Get message”, and FIG. 6B shows an example of a “WS-Eventing Subscribe message”.

本実施形態で想定しているXMLベースのSOAPメッセージの構造について簡単に説明する。   The structure of the XML-based SOAP message assumed in this embodiment will be briefly described.

(メッセージ構造)
XMLベースのSOAPメッセージの構造において特徴的なのは、「エンベロープ」と言われる構造化定義である。この「エンベロープ」には、Headerタグ(<SOAP−ENV:Header>)によって付帯情報が定義され、SOAPメッセージの通知先の機能部を指定する宛先情報(例えば、「IPアドレス」や「ポート番号」などの文字列データ。)や、要求に応じて処理される所定の処理に関する情報であるアクション情報(例えば、「transfer」や「eventing」などの文字列データ)などが記述されている。後は、その要素として記述されているBobyタグ(<SOAP−ENV:Body>)によってSOAPメッセージ本体が定義され、その中に、XMLエンコードされたメッセージ名とデータが記述されている。よって、このBodyタグの中に要求に応じて所定の処理を行う機能部の呼び出しに必要なパラメータなどが記述されることになる。このように、本実施形態で想定しているSOAPメッセージは、XMLベースであることから、構造化されたデータ形式となっている。このXMLベースのSOAPメッセージは、現在W3CにW3C Noteとして提出され、標準化が進められている。
(Message structure)
Characteristic in the structure of XML-based SOAP messages is a structured definition called “envelope”. In the “envelope”, incidental information is defined by a Header tag (<SOAP-ENV: Header>), and destination information (for example, “IP address” or “port number”) that specifies a function part to which a SOAP message is notified. ) And action information (for example, character string data such as “transfer” and “eventing”) that is information related to a predetermined process processed in response to a request is described. After that, a SOAP message body is defined by a Boy tag (<SOAP-ENV: Body>) described as the element, and an XML encoded message name and data are described therein. Therefore, parameters necessary for calling a functional unit that performs predetermined processing in response to a request are described in the Body tag. As described above, the SOAP message assumed in the present embodiment is based on XML, and thus has a structured data format. This XML-based SOAP message is currently submitted to the W3C as a W3C Note and is being standardized.

図6(a)に示すSOAPメッセージ81には、Headerタグ内の文字列"<wsa:Action>http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</wsa:Action>"により、「WS−Transfer Get」の処理に関する情報が記述されている。このSOAPメッセージ81は、画像形成装置100が自動検知コマンドを発行したときに外部機器から送信されるメッセージである。   The SOAP message 81 shown in FIG. 6A includes a character string “<wsa: Action> http://schemas.xmlsoap.org/ws/2004/09/transfer/Get </ wsa: Action> in the Header tag. "Describes the information regarding the processing of" WS-Transfer Get ". The SOAP message 81 is a message transmitted from an external device when the image forming apparatus 100 issues an automatic detection command.

また、図6(b)に示すSOAPメッセージ82には、Headerタグ内の文字列"<wsa:Action>http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe</wsa:Action>"により、「WS−Eventing Subscribe」の処理に関する情報が記述されている。このSOAPメッセージ82は、例えば、画像形成装置100に対して印刷要求を行うときに外部機器から送信されるメッセージである。   In addition, the SOAP message 82 shown in FIG. 6B includes a character string “<wsa: Action> http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe </ wsa: “Action>” describes information related to the processing of “WS-Eventing Subscribe”. The SOAP message 82 is a message transmitted from an external device when a print request is made to the image forming apparatus 100, for example.

<<ディスパッチ処理(メッセージ内容に応じた機能部の特定)>>
以降に、本実施形態に係るメッセージ制御部74で行う、メッセージ内容に応じて機能部を特定するディスパッチ処理について、図6及び図7を用いて説明する。
<< Dispatch processing (specification of functional part according to message contents) >>
Hereinafter, a dispatch process for specifying a functional unit according to the message content performed by the message control unit 74 according to the present embodiment will be described with reference to FIGS. 6 and 7.

(メッセージ内容の解析)
本実施形態に係るメッセージ制御部74は、メッセージ送受信部71により受信されたSOAPメッセージ81及び82内に記述された構造化データを解析する。メッセージ制御部74は、予めメッセージ解析用に保持しておいた宛先情報やアクション情報を示す文字列(例えば、IPアドレスを示す"http://192.168"、ポート番号を示す"53"、要求する処理を示す"transfer/Get"、及び"eventing/Subscribe"など。)を基に、構造化データ内に宛先情報及び/又はアクション情報(宛先情報やアクション情報を示す文字列など)が含まれているか否かを検索する。その結果、メッセージ制御部74は、宛先情報及び/又はアクション情報を見つけると、その情報に基づいて、要求された所定の処理を行う機能部(機器情報提供部72又はアプリケーション管理部73のどちらか一方)を特定する。
(Analysis of message contents)
The message control unit 74 according to the present embodiment analyzes the structured data described in the SOAP messages 81 and 82 received by the message transmission / reception unit 71. The message control unit 74 requests a character string indicating destination information or action information (for example, “http: //192.168” indicating an IP address and “53” indicating a port number) stored in advance for message analysis. Based on "transfer / Get" and "eventing / Subscribe" indicating processing), destination information and / or action information (such as a character string indicating destination information or action information) is included in the structured data. Search whether or not. As a result, when the message control unit 74 finds the destination information and / or action information, based on the information, the message control unit 74 performs a requested predetermined process (either the device information providing unit 72 or the application management unit 73). On the other hand).

(解析結果から機能部を特定)
メッセージ制御部74が、図6(a)に示すSOAPメッセージ81を解析した場合、メッセージ内の文字列"<wsa:Action>http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</wsa:Action>"から、アクション情報に該当する文字列"transfer/Get"(図中の破線枠A)を見つけ、要求された処理を行う機器情報提供部72を特定する。
(The functional part is specified from the analysis result)
When the message control unit 74 analyzes the SOAP message 81 shown in FIG. 6A, the character string “<wsa: Action> http://schemas.xmlsoap.org/ws/2004/09/transfer/ A character string “transfer / Get” (broken frame A in the figure) corresponding to the action information is found from Get </ wsa: Action> ”, and the device information providing unit 72 that performs the requested processing is specified.

また、図6(b)に示すSOAPメッセージ82を解析した場合、メッセージ内の文字列"<wsa:Action>http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe</wsa:Action>"から、アクション情報に該当する文字列"eventing/Subscribe"(図中の破線枠B2)を見つける。   When the SOAP message 82 shown in FIG. 6B is analyzed, the character string “<wsa: Action> http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe </ wsa” in the message is analyzed. : Character string “eventing / Subscribe” (broken frame B2 in the figure) corresponding to the action information is found from Action> ”.

しかし、SOAPメッセージ82のような「WS−Eventing Subscribeメッセージ」の場合には、上記に説明を行ったアクション情報だけでは、最終的な機能部を特定することができない。なぜなら、画像形成装置100が、出力部73aと入力部73bのように、「WS−Eventing Subscribeメッセージ」により要求される機能を複数有する場合がある。このような場合には、メッセージ制御部74は、外部機器から「入力部73a又は出力部73bのどちらの機能部に対して処理要求を行ったのか」を特定しなければならない。そこで、本実施形態では、図7に示すようなデータを予め保持している。   However, in the case of a “WS-Eventing Subscribe message” such as the SOAP message 82, the final functional unit cannot be specified only by the action information described above. This is because the image forming apparatus 100 may have a plurality of functions required by the “WS-Eventing Subscribe message”, such as the output unit 73 a and the input unit 73 b. In such a case, the message control unit 74 must specify “to which functional unit of the input unit 73a or the output unit 73b a processing request has been made” from an external device. Therefore, in this embodiment, data as shown in FIG. 7 is held in advance.

図7は、本発明の第1の実施形態に係る関連付けデータ91のデータ構成の一例を示す図である。図7には、外部機器と画像形成装置100との間でデータを送受信するときのプロトコルの種別を示す「プロトコル種別」と、データ送受信するときに指定されるポートを示す「ポート番号」と、ポート番号に割り当てられた機能部を示す「割り当てアプリ」とから構成される関連付けデータ91の例が示されている。このように、本実施形態では、指定されたポートによりデータの送受信を行う固有の機能部を、図7に示すように、予めテーブル化しデータとして保持しておく。   FIG. 7 is a diagram illustrating an example of a data configuration of the association data 91 according to the first embodiment of the present invention. FIG. 7 includes a “protocol type” indicating a protocol type when data is transmitted / received between the external device and the image forming apparatus 100, a “port number” indicating a port designated when data is transmitted / received, An example of the association data 91 including “assignment application” indicating the function unit assigned to the port number is shown. As described above, in this embodiment, a unique function unit that transmits and receives data through a designated port is tabulated in advance and held as data as shown in FIG.

これによって、メッセージ制御部74は、メッセージ内の文字列"<wsa:To>http://192.168.xxx.xxx:53XX1</wsa:To>"から、宛先情報に該当する文字列"53XX1"(図中の破線枠B1)を見つけると、この文字列を参照キーにして、図7に示す関連付けデータ91を参照し(図中の破線枠C)、該当する「割り当てアプリ」の情報項目に設定されている機能名(図中の"WS-Printer")から、要求された処理を行う出力部73bを特定する。   Accordingly, the message control unit 74 uses the character string “53XX1” corresponding to the destination information from the character string “<wsa: To> http://192.168.xxx.xxx:53XX1 </ wsa: To>” in the message. When (the broken line frame B1 in the figure) is found, this character string is used as a reference key, and the association data 91 shown in FIG. 7 is referenced (broken line frame C in the figure). From the set function name (“WS-Printer” in the figure), the output unit 73b that performs the requested processing is specified.

メッセージ制御部74は、SOAPメッセージ81及び82による要求内容を、特定した各機能部に対して通知する。   The message control unit 74 notifies the requesting contents of the SOAP messages 81 and 82 to the specified functional units.

このように、本実施形態に係る画像形成装置100は、上記に説明を行った各機能部による構成により、外部機器と双方向でメッセージ交換を行うデータ送受信機能(メッセージ送受信部71)を画像形成装置100が有する各機能(機器情報提供部72及びアプリケーション管理部73)に対して共通化し(各機能に対してSOAPモジュールを共通化し)、共通化されたデータ送受信機能(メッセージ送受信部71)により受信されたメッセージ(SOAPメッセージ81及び82)の内容に基づいて、要求された処理を行う機能(機器情報提供部72、アプリケーション管理部73が有する入力部73a、又は出力部73bのいずれか1つの機能部)を特定し、特定された機能に対して要求内容を通知する。   As described above, the image forming apparatus 100 according to the present embodiment forms the data transmission / reception function (message transmission / reception unit 71) for exchanging messages bidirectionally with an external device by the configuration of each functional unit described above. Common to each function (device information providing unit 72 and application management unit 73) of the apparatus 100 (a SOAP module is shared for each function), and a common data transmission / reception function (message transmission / reception unit 71). Based on the contents of the received messages (SOAP messages 81 and 82), the function of performing the requested processing (the device information providing unit 72, the input unit 73a included in the application management unit 73, or the output unit 73b) The function part is specified, and the request content is notified to the specified function.

その結果、画像形成装置100は、ネットワーク200に接続される複数の外部機器に対して、共通したデータ送受信機能を提供する(データ通信のときに使用するポートを一元化する)ことができ、データ通信機能によるリソースの消費を軽減し、自らが搭載した機能と外部機器が有する機能とを連携することができる「データ通信機能」を実現している。   As a result, the image forming apparatus 100 can provide a common data transmission / reception function (unify ports used for data communication) to a plurality of external devices connected to the network 200. It realizes a “data communication function” that reduces the consumption of resources by functions and links the functions installed by itself with the functions of external devices.

<処理手順>
上記に説明を行った本実施形態に係る「データ通信機能」の具体的な処理手順について図8を用いて説明する。以下に説明する処理手順は、主に、画像形成装置100が有するコントローラ13に配置されたCPU13cで実行されるデータ通信プログラムによって行われる処理である。また、以下の処理手順では、画像形成装置100がプリンタ、また外部機器がクライアント端末300である場合を例に説明する。
<Processing procedure>
A specific processing procedure of the “data communication function” according to the present embodiment described above will be described with reference to FIG. The processing procedure described below is mainly processing performed by a data communication program executed by the CPU 13c disposed in the controller 13 included in the image forming apparatus 100. Further, in the following processing procedure, a case where the image forming apparatus 100 is a printer and the external device is a client terminal 300 will be described as an example.

<<基本処理手順>>
図8は、本発明の第1の実施形態に係るデータ通信機能の基本処理手順の一例を示すシーケンス図である。
<< Basic processing procedure >>
FIG. 8 is a sequence diagram showing an example of a basic processing procedure of the data communication function according to the first embodiment of the present invention.

プリンタ100は、ネットワーク200に参加したとき(例えば、「ネットワークケーブルが接続されたとき」や、「ネットワークケーブルが接続された状態で電源が投入されたとき」など。)に、WS−Printer21pにより、DFMモジュール22に提供サービス情報通知が要求し(ステップS101)、要求を受け付けたDFMモジュール22により、ネットワーク200に接続される全てのクライアント端末300に対して自動検知コマンドが送信される(ステップS102)。   When the printer 100 participates in the network 200 (for example, “when the network cable is connected” or “when the power is turned on while the network cable is connected”), the printer 100 uses the WS-Printer 21p. The provided service information notification is requested to the DFM module 22 (step S101), and the automatic detection command is transmitted to all the client terminals 300 connected to the network 200 by the DFM module 22 that has received the request (step S102). .

クライアント端末300は、自動検知コマンドを、ネットワーク200を介して受信し、送信元のプリンタ100に提供サービス情報の取得を要求するSOAPメッセージ81(「WS−Transfer Getメッセージ」)を発行する(ステップS103)。   The client terminal 300 receives the automatic detection command via the network 200 and issues a SOAP message 81 (“WS-Transfer Get message”) requesting the transmission source printer 100 to obtain the provided service information (step S103). ).

プリンタ100は、SOAP50によりクライアント端末300から送信されたSOAPメッセージ81を受信し、受信したSOAPメッセージ81をディスパッチャ60へ渡す(ステップS104)。SOAPメッセージ81を受け取った(Getメッセージのディスパッチ・通知指定を受け取った)ディスパッチャ60は、メッセージを解析し、データ内に含まれる宛先情報及び/又はアクション情報に基づいて、要求された提供サービス情報を収集するDFMモジュール22を特定し、特定されたDFMモジュール22に提供サービス情報の収集要求(Getメッセージを受信した旨)を通知する(ステップS105)。   The printer 100 receives the SOAP message 81 transmitted from the client terminal 300 by the SOAP 50, and passes the received SOAP message 81 to the dispatcher 60 (step S104). Upon receiving the SOAP message 81 (received Get message dispatch / notification specification), the dispatcher 60 analyzes the message and obtains requested service information based on destination information and / or action information included in the data. The DFM module 22 to be collected is specified, and the provided service information collection request (that the Get message has been received) is notified to the specified DFM module 22 (step S105).

プリンタ100は、DFMモジュール22により、ステップS101において収集した提供サービス情報を含む機器情報が、ディスパッチャ60を介してSOAP50に渡されることで、クライアント端末300へ応答するための提供サービス情報のメタデータの生成を要求する(ステップS106及びS107)。   The printer 100 passes the device information including the provided service information collected in step S101 by the DFM module 22 to the SOAP 50 via the dispatcher 60, so that the metadata of the provided service information for responding to the client terminal 300 can be obtained. Generation is requested (steps S106 and S107).

プリンタ100は、SOAP50により、要求に応じてメタデータを生成し(ステップS108)、生成したメタデータをディスパッチャ60に渡し、応答するメタデータのディスパッチ及び応答通知を指示する(ステップS109)。ディスパッチャ60により、メタデータを受け取ったディスパッチャ60は、メタデータを解析し、データ内に含まれる宛先情報及び/又はアクション情報に基づいて、メタデータの生成を要求したDFMモジュール22を特定し、特定されたDFMモジュール22にメタデータを生成した旨を通知する(ステップS110)。   The printer 100 generates metadata in response to the request by the SOAP 50 (step S108), passes the generated metadata to the dispatcher 60, and instructs dispatch of the responding metadata and response notification (step S109). Upon receiving the metadata by the dispatcher 60, the dispatcher 60 analyzes the metadata and identifies and identifies the DFM module 22 that has requested the generation of the metadata based on the destination information and / or action information included in the data. The generated DFM module 22 is notified that the metadata has been generated (step S110).

プリンタ100は、DFMモジュール22により、GetResponse応答が、ディスパッチャ60を介してSOAP50に渡されることで、クライアント端末300に提供サービス情報の応答を要求する(ステップS111及びS112)。   The printer 100 requests the client terminal 300 to respond to the provided service information by passing the GetResponse response to the SOAP 50 via the dispatcher 60 by the DFM module 22 (steps S111 and S112).

プリンタ100は、SOAP50により、要求に応じて、提供サービス情報のSOAPメッセージ(「WS−Transfer GetResponseメッセージ」)がクライアント端末300に送信される(ステップS113)。   In response to the request, the printer 100 transmits a SOAP message of the provided service information (“WS-Transfer GetResponse message”) to the client terminal 300 (step S113).

これによって、クライアント端末300が有する機能とプリンタ100が有する機能とが連携する。   As a result, the functions of the client terminal 300 and the functions of the printer 100 are linked.

連携後、クライアント端末300は、プリンタ100に、例えば「印刷」などのプリンタ関連処理の要求イベント登録を要求するSOAPメッセージ82(「WS−Eventing Subscribeメッセージ」)を発行する(ステップS114)。   After the cooperation, the client terminal 300 issues a SOAP message 82 (“WS-Eventing Subscribe message”) requesting registration of a request event for a printer-related process such as “print” to the printer 100 (step S114).

プリンタ100は、SOAP50によりクライアント端末300から送信されたSOAPメッセージ82を受信し、受信したSOAPメッセージ82をディスパッチャ60へ渡す(ステップS115)。SOAPメッセージ82を受け取った(Subscribeメッセージのディスパッチ・通知指定を受け取った)ディスパッチャ60は、メッセージを解析し、データ内に含まれる宛先情報及び/又はアクション情報に基づいて、要求されたプリンタ関連処理要求イベントを登録するWS−Printer21pを特定し、特定されたWS−Printer21pに処理要求イベントの登録要求(Subscribeメッセージを受信した旨)を通知する(ステップS116)。   The printer 100 receives the SOAP message 82 transmitted from the client terminal 300 by the SOAP 50, and passes the received SOAP message 82 to the dispatcher 60 (step S115). The dispatcher 60 that receives the SOAP message 82 (receives the dispatch / notification designation of the Subscribe message) analyzes the message, and requests the requested printer-related processing based on the destination information and / or action information included in the data. The WS-Printer 21p for registering the event is specified, and a processing request event registration request (that the Subscribe message has been received) is notified to the specified WS-Printer 21p (step S116).

プリンタ100は、WS−Printer21pによりイベント登録が終了すると、登録応答が発行され、発行された登録応答がディスパッチャ60を介してSOAP50に渡されることで、クライアント端末300にプリンタ関連処理要求イベントの登録応答を要求する(ステップS117及びS118)。   When the event registration is completed by the WS-Printer 21p, the printer 100 issues a registration response, and the issued registration response is passed to the SOAP 50 via the dispatcher 60, so that the registration response of the printer-related processing request event is sent to the client terminal 300. Is requested (steps S117 and S118).

プリンタ100は、SOAP50により、要求に応じて、登録応答のSOAPメッセージ(「Subscribe Responseメッセージ」)がクライアント端末300に送信される(ステップS119)。   In response to the request, the SOAP 100 transmits a SOAP message (“Subscribe Response message”) as a registration response to the client terminal 300 (step S119).

これによって、クライアント端末300からプリンタ100に対して画像データの印刷実行を指示する。   As a result, the client terminal 300 instructs the printer 100 to execute printing of image data.

クライアント端末300は、ネットワーク200を介してプリンタ100から登録応答を受信すると、印刷可能であると判断し、プリンタ100に、「印刷」を要求するSOAPメッセージ(「Create PrintJobメッセージ」)を発行する(ステップS120)。   Upon receiving a registration response from the printer 100 via the network 200, the client terminal 300 determines that printing is possible, and issues a SOAP message (“Create Print Job message”) requesting “print” to the printer 100 ( Step S120).

プリンタ100は、SOAP50によりクライアント端末300から送信されたSOAPメッセージを受信し、受信したSOAPメッセージをディスパッチャ60へ渡す(ステップS121)。SOAPメッセージを受け取った(Create PrintJobメッセージのディスパッチ・通知指定を受け取った)ディスパッチャ60は、メッセージを解析し、データ内に含まれる宛先情報及び/又はアクション情報に基づいて、要求された画像データの印刷をプリンタアプリ111に実行指示するWS−Printer21pを特定し、特定されたWS−Printer21pに印刷実行の指示要求(Create PrintJobメッセージを受信した旨)を通知する(ステップS122)。   The printer 100 receives the SOAP message transmitted from the client terminal 300 by the SOAP 50, and passes the received SOAP message to the dispatcher 60 (step S121). The dispatcher 60 that received the SOAP message (received the dispatch / notification designation of the Create Print Job message) analyzes the message and prints the requested image data based on the destination information and / or action information included in the data. The WS-Printer 21p that instructs the printer application 111 to execute is specified, and a print execution instruction request (that the Create PrintJob message has been received) is notified to the specified WS-Printer 21p (step S122).

プリンタ100は、プリンタアプリ111により画像データの印刷が行われると、WS−Printer21pにより印刷開始応答(Job ID)が発行され、発行された印刷開始応答がディスパッチャ60を介してSOAP50に渡されることで、クライアント端末300に画像データ印刷の開始応答を要求する(ステップS123及びS124)。   When image data is printed by the printer application 111, the printer 100 issues a print start response (Job ID) by the WS-Printer 21p, and passes the issued print start response to the SOAP 50 via the dispatcher 60. Then, the client terminal 300 is requested to send an image data printing start response (steps S123 and S124).

プリンタ100は、SOAP50により、要求に応じて、印刷開始応答のSOAPメッセージ(「Create PrintJobメッセージ(Job ID)」)がクライアント端末300に送信される(ステップS125)。   In response to the request, the printer 100 transmits a SOAP message (“Create Print Job message (Job ID)”) as a print start response to the client terminal 300 (step S125).

このように、本実施形態に係るデータ通信プログラムは、本実施形態に係る画像形成装置100において、DFMモジュール22又はWS−Printer21pに対して外部機器から送信されたメッセージを、SOAP50により共通して受信し、ディスパッチャ60により、SOAP50で受信したSOAPメッセージ81及び82を解析し、メッセージの内容に応じて要求内容を通知する機能部を特定するように機能させることができる。   As described above, in the image forming apparatus 100 according to the present embodiment, the data communication program according to the present embodiment receives the message transmitted from the external device to the DFM module 22 or the WS-Printer 21p in common by the SOAP 50. Then, the dispatcher 60 can function to analyze the SOAP messages 81 and 82 received by the SOAP 50 and specify a function unit that notifies the request content according to the content of the message.

<まとめ>
以上のように、本発明の第1の実施形態によれば、本実施形態に係る画像形成装置100は、外部機器と双方向でメッセージ交換を行うデータ送受信機能を画像形成装置100が有する各機能に対して共通化し(各機能に対してSOAPモジュールを共通化し)、共通化されたデータ送受信機能により受信されたメッセージの内容に基づいて、要求された処理を行う機能を特定し、特定された機能に対して要求内容を通知する。
<Summary>
As described above, according to the first embodiment of the present invention, the image forming apparatus 100 according to the present embodiment has each function that the image forming apparatus 100 has the data transmission / reception function for exchanging messages bidirectionally with external devices. For each function (the SOAP module is shared for each function), and based on the content of the message received by the common data transmission / reception function, the function for performing the requested processing is specified and specified. Notify the request to the function.

これによって、本実施形態に係る画像形成装置100は、ネットワーク200に接続される複数の外部機器に対して、共通したデータ送受信機能を提供する(データ通信のときに使用するポートを一元化する)ことができ、データ通信機能によるリソースの消費を軽減し、外部機器が有する機能と画像形成装置100が有する機能とを連携することができる「データ通信機能」を提供することができる。   Thus, the image forming apparatus 100 according to the present embodiment provides a common data transmission / reception function to a plurality of external devices connected to the network 200 (unifies ports used for data communication). Therefore, it is possible to provide a “data communication function” that can reduce resource consumption by the data communication function and link the function of the external device with the function of the image forming apparatus 100.

[第2の実施形態]
本実施形態では、搭載メモリなどのデータ通信プログラムを動作させる資源が少ない画像形成装置の場合を考慮し、データ通信機能によるリソースの消費を軽減し、外部機器が有する機能とローエンドの画像形成装置が有する機能とを連携することができる「データ通信機能」を有するデータ通信装置について説明する。
[Second Embodiment]
In the present embodiment, considering the case of an image forming apparatus that has few resources for operating a data communication program such as an on-board memory, the consumption of resources by the data communication function is reduced, and the functions of external devices and the low-end image forming apparatus are A data communication apparatus having a “data communication function” capable of cooperating with the functions it has will be described.

第1の実施形態に係る画像形成装置では、画像形成装置が有するコントローラに配置されたROMからデータ通信プログラムをRAM上に読み出し、CPUで実行することにより、外部機器が有する機能と画像形成装置が有する機能との連携を実現していた。しかし、本実施形態では、第1の実施形態に係るデータ通信プログラムのうち、SOAPモジュール群を別の装置において実装し、ローエンドの画像形成装置(スペックが低いハードウェアを搭載した画像形成装置)と外部機器との間に上記データ通信装置を配置する構成としたことにより、ローエンドの画像形成装置においても、ネットワークに接続される複数の外部機器に対して、共通したデータ送受信機能を提供する(データ通信のときに使用するポートを一元化する)ことができ、データ通信機能によるリソースの消費を軽減し、外部機器が有する機能とローエンドの画像形成装置が有する機能とを連携することができる。   In the image forming apparatus according to the first embodiment, the data communication program is read from the ROM arranged in the controller of the image forming apparatus onto the RAM and executed by the CPU, so that the functions and the image forming apparatus possessed by the external device are The linkage with the functions it had had been realized. However, in the present embodiment, the SOAP module group is mounted in another device in the data communication program according to the first embodiment, and a low-end image forming device (an image forming device equipped with hardware having low specifications) Since the data communication device is arranged between the external device and the low-end image forming apparatus, a common data transmission / reception function is provided to a plurality of external devices connected to the network (data). Ports used in communication can be unified), resource consumption by the data communication function can be reduced, and the function of the external device and the function of the low-end image forming apparatus can be linked.

以降に、本実施形態に係る画像形成装置100a〜nについて、図9及び図10を用いて説明する。また、第1の実施形態と同様の技術的事項については、第1の実施形態で説明を行った図面及び参照符号を用いて本実施形態においての説明を省略する。   Hereinafter, the image forming apparatuses 100a to 100n according to the present embodiment will be described with reference to FIGS. The technical matters similar to those of the first embodiment are not described in the present embodiment by using the drawings and reference numerals described in the first embodiment.

<データ通信システム>
図9は、本発明の第2の実施形態に係る画像形成装置100a〜nとデータ通信装置400とから構成されるシステムの一例を示す図である。
<Data communication system>
FIG. 9 is a diagram illustrating an example of a system including the image forming apparatuses 100a to 100n and the data communication apparatus 400 according to the second embodiment of the present invention.

図9に示すように、本実施形態に係るデータ通信システムでは、SOAP50(メッセージ送受信部71)及びディスパッチャ60(メッセージ制御部74)の機能を有するデータ通信装置400が、ネットワーク200を介して接続される外部機器と画像形成装置100a〜nとの間に配置される構成となっている。また、データ通信装置400は、複数の画像形成装置100a〜nが接続されることを考慮し、外部機器が接続されるネットワーク200上を流れるデータを、画像形成装置100a〜nが接続されるデータ通信装置400からのネットワークに中継するルーティング機能も有している。   As shown in FIG. 9, in the data communication system according to the present embodiment, a data communication apparatus 400 having functions of SOAP 50 (message transmission / reception unit 71) and dispatcher 60 (message control unit 74) is connected via a network 200. The image forming apparatuses 100a to 100n are arranged between the external device and the image forming apparatuses 100a to 100n. Further, the data communication apparatus 400 considers that a plurality of image forming apparatuses 100a to 100n are connected, and data that flows on the network 200 to which external devices are connected is converted to data to which the image forming apparatuses 100a to 100n are connected. It also has a routing function for relaying from the communication device 400 to the network.

<データ通信機能の詳細>
本実施形態に係るデータ通信装置400が有する「データ通信機能」において行うディスパッチ処理について、図10を用いて説明する。
<Details of data communication function>
A dispatch process performed in the “data communication function” of the data communication apparatus 400 according to the present embodiment will be described with reference to FIG.

<<ディスパッチ処理(メッセージ内容に応じた機能部の特定)>>
本実施形態と第1の実施形態との違いは、SOAPメッセージ82である「WS−Eventing Subscribeメッセージ」を受信した場合の処理である。
<< Dispatch processing (specification of functional part according to message contents) >>
The difference between the present embodiment and the first embodiment is processing when a “WS-Eventing Subscribe message” which is a SOAP message 82 is received.

(解析結果から機能部を特定)
図10は、本発明の第2の実施形態に係るSOAPメッセージ81及び82の一例を示す図である。
メッセージ制御部74が、図10(a)に示すSOAPメッセージ81を解析した場合、メッセージ内の文字列"<wsa:Action>http://schemas.xmlsoap.org/ws/2004/09/transfer/Get</wsa:Action>"から、アクション情報に該当する文字列"transfer/Get"(図中の破線枠A)を見つけ、要求された処理を行う機器情報提供部72を特定する。
(The functional part is specified from the analysis result)
FIG. 10 is a diagram showing an example of SOAP messages 81 and 82 according to the second embodiment of the present invention.
When the message control unit 74 analyzes the SOAP message 81 shown in FIG. 10A, the character string “<wsa: Action> http://schemas.xmlsoap.org/ws/2004/09/transfer/ A character string “transfer / Get” (broken frame A in the figure) corresponding to the action information is found from Get </ wsa: Action> ”, and the device information providing unit 72 that performs the requested processing is specified.

また、図10(b)に示すSOAPメッセージ82を解析した場合、メッセージ内の文字列"<wsa:Action>http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe</wsa:Action>"から、アクション情報に該当する文字列"eventing/Subscribe"(図中の破線枠B2)を見つける。   When the SOAP message 82 shown in FIG. 10B is analyzed, the character string “<wsa: Action> http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe </ wsa” in the message is analyzed. : Character string “eventing / Subscribe” (broken frame B2 in the figure) corresponding to the action information is found from Action> ”.

しかし、SOAPメッセージ82のような「WS−Eventing Subscribeメッセージ」の場合には、上記に説明を行ったアクション情報だけでは、最終的な機能部を特定することができない。なぜなら、「WS−Eventing Subscribeメッセージ」により要求される機能を有する複数の画像形成装置100a〜nがデータ通信装置400に接続される場合がある。このような場合には、メッセージ制御部74は、外部機器から「どの画像形成装置100a〜nが有する入力部73a又は出力部73bに対して処理要求を行ったのか」を特定しなければならない。そこで、本実施形態に係るデータ通信装置400では、第1の実施形態と同様の関連付けデータ91を予め保持している。   However, in the case of a “WS-Eventing Subscribe message” such as the SOAP message 82, the final functional unit cannot be specified only by the action information described above. This is because a plurality of image forming apparatuses 100 a to 100 n having a function requested by the “WS-Eventing Subscribe message” may be connected to the data communication apparatus 400. In such a case, the message control unit 74 must specify “which image forming apparatus 100a to 100n has made a processing request to the input unit 73a or the output unit 73b” from the external device. Therefore, in the data communication apparatus 400 according to the present embodiment, association data 91 similar to that in the first embodiment is held in advance.

これによって、メッセージ制御部74は、メッセージ内の文字列"<wsa:To>http://192.168.xxx.xxx:53XX1</wsa:To>"から、まず、宛先情報の文字列"http://192.168.xxx.xxx"(図中の破線枠B1a)を見つけると、この文字列を参照キーにして、ルーティング機能で用いるルーティングテーブル(非図示)を参照し、該当するIPアドレスから画像形成装置100a〜nを特定する。更に、メッセージ制御部74は、宛先情報の文字列"53XX1"(図中の破線枠B1b)を見つけると、この文字列を参照キーにして、図7に示す関連付けデータ91を参照し(図中の破線枠C)、該当する「割り当てアプリ」の情報項目に設定されている機能名(図中の"WS-Printer")から、要求された処理を行う出力部73bを特定する。   As a result, the message control unit 74 starts with the character string “http: of destination information from the character string“ <wsa: To> http://192.168.xxx.xxx:53XX1 </ wsa: To> ”in the message. //192.168.xxx.xxx "(broken frame B1a in the figure) When this character string is used as a reference key, a routing table (not shown) used in the routing function is referenced, and an image is formed from the corresponding IP address. Identify devices 100a-n. Further, when the message control unit 74 finds the character string “53XX1” (broken frame B1b in the figure) of the destination information, the message control unit 74 refers to the association data 91 shown in FIG. The output unit 73b that performs the requested processing is specified from the function name ("WS-Printer" in the figure) set in the corresponding "assigned app" information item.

メッセージ制御部74は、SOAPメッセージ82による要求内容を、特定した画像形成装置100a〜nの各機能部に対して通知する。   The message control unit 74 notifies the request content of the SOAP message 82 to the functional units of the identified image forming apparatuses 100a to 100n.

このように、本実施形態に係るデータ通信装置400は、上記に説明を行ったメッセージ制御部74を有する構成により、データ通信機能によるリソースの消費を軽減し、外部機器が有する機能とローエンドの画像形成装置100a〜nが有する機能とを連携することができる「データ通信機能」を実現している。   As described above, the data communication apparatus 400 according to the present embodiment has the configuration including the message control unit 74 described above, thereby reducing the resource consumption due to the data communication function, and the functions of the external device and the low-end image. A “data communication function” capable of linking the functions of the forming apparatuses 100a to 100n is realized.

<まとめ>
以上のように、本発明の第2の実施形態によれば、本実施形態に係るデータ通信装置400は、外部機器と双方向でメッセージ交換を行うデータ送受信機能を、複数の画像形成装置100が有する各機能に対して共通化し(各機能に対してSOAPモジュールを共通化し)、共通化されたデータ送受信機能により受信されたメッセージの内容に基づいて、要求された処理を行う画像形成装置100a〜nとその装置が有する機能を特定し、特定された機能に対して要求内容を通知する。
<Summary>
As described above, according to the second embodiment of the present invention, the data communication apparatus 400 according to the present embodiment has a data transmission / reception function for exchanging messages bidirectionally with external devices. The image forming apparatuses 100a to 100a that perform the requested processing based on the content of the message received by the common data transmission / reception function, and are shared by the respective functions (the SOAP module is shared by the functions). n and the function of the device are specified, and the request contents are notified to the specified function.

これによって、本実施形態に係るデータ通信装置400は、ネットワーク200に接続される複数の外部機器に対して、共通したデータ送受信機能を提供する(データ通信のときに使用するポートを一元化する)ことができ、データ通信機能によるリソースの消費を軽減し、外部機器が有する機能とローエンドの画像形成装置100が有する機能とを連携することができる「データ通信機能」を提供することができる。   Thereby, the data communication apparatus 400 according to the present embodiment provides a common data transmission / reception function to a plurality of external devices connected to the network 200 (unifies ports used for data communication). It is possible to provide a “data communication function” that can reduce the consumption of resources by the data communication function and link the function of the external device with the function of the low-end image forming apparatus 100.

ここまで、上記第1及び第2の実施形態に基づき本発明の説明を行ってきたが、本発明の各実施形態に係る画像形成装置100が有する「データ通信機能」は、図8に示した処理手順を含む本実施形態に係るデータ通信プログラムを、画像形成装置100が有するコントローラ13に配置されたCPU13cで実行することで実現することができる。よって、本発明の各実施形態に係る画像形成装置100が有するデータ通信プログラムは、画像形成装置100が読み取り可能な記録媒体12bに格納することができる。   Up to this point, the present invention has been described based on the first and second embodiments. The “data communication function” of the image forming apparatus 100 according to each embodiment of the present invention is shown in FIG. The data communication program according to the present embodiment including the processing procedure can be realized by being executed by the CPU 13c disposed in the controller 13 included in the image forming apparatus 100. Accordingly, the data communication program included in the image forming apparatus 100 according to each embodiment of the present invention can be stored in the recording medium 12b readable by the image forming apparatus 100.

各実施形態に係るデータ通信プログラムは、フロッピー(登録商標)ディスク、CD(Compact Disc)、DVD(Digital Versatile Disk)などの記録媒体12bに記憶させることによって、これらの記録媒体12bを読み取り可能なドライブ装置12aを有する記憶メディアI/F12を介して、記録媒体12bから画像形成装置100にインストールすることができる。また、画像形成装置100は、インタフェース装置14aを有するデータ通信I/F14を備えていることから、インターネットなどの電気通信回線を用いてデータ通信プログラムをダウンロードし、インストールすることも可能である。   A data communication program according to each embodiment is stored in a recording medium 12b such as a floppy (registered trademark) disk, a CD (Compact Disc), a DVD (Digital Versatile Disk), and the like, and can read the recording medium 12b. The image forming apparatus 100 can be installed from the recording medium 12b via the storage medium I / F 12 having the apparatus 12a. Since the image forming apparatus 100 includes the data communication I / F 14 having the interface device 14a, the data communication program can be downloaded and installed using an electric communication line such as the Internet.

また、上記第2の実施形態において説明を行った外部機器と連携する装置については、画像形成装置に限定されるものではない。画像形成装置100a〜nは、連携対象の装置の一例であって、標準化Webサービスにより、搭載するアプリケーション機能を提供可能な装置であればよい。また、上記第2の実施形態において説明を行ったデータ通信機能を有する装置については、第2の実施形態に挙げるデータ通信機能専用の装置でなくてもよく、例えば、プリントサーバや電源管理装置であってもよく、第2の実施形態に係るデータ通信機能を実現するプログラムをインストール・実行可能な環境を有し、ネットワーク200に接続可能なハードウェアを備えた装置であればよい。   In addition, the apparatus that cooperates with the external device described in the second embodiment is not limited to the image forming apparatus. The image forming apparatuses 100a to 100n are an example of apparatuses to be linked, and may be apparatuses that can provide an application function to be installed by a standardized Web service. In addition, the device having the data communication function described in the second embodiment may not be a device dedicated to the data communication function described in the second embodiment. For example, the device may be a print server or a power management device. Any device may be used as long as it has an environment in which a program for realizing the data communication function according to the second embodiment can be installed and executed and includes hardware that can be connected to the network 200.

最後に、上記各実施形態に挙げた形状に、その他の要素との組み合わせなど、ここで示した要件に、本発明が限定されるものではない。これらの点に関しては、本発明の主旨をそこなわない範囲で変更することが可能であり、その応用形態に応じて適切に定めることができる。   Finally, the present invention is not limited to the requirements shown here, such as combinations of other elements with the shapes listed in the above embodiments. With respect to these points, the present invention can be changed within a range that does not detract from the gist of the present invention, and can be appropriately determined according to the application form.

本発明の第1の実施形態に係る画像形成装置のハードウェア構成の一例を示す図である。1 is a diagram illustrating an example of a hardware configuration of an image forming apparatus according to a first embodiment of the present invention. 本発明の第1の実施形態に係る画像形成装置のソフトウェア構成の一例を示す図である。2 is a diagram illustrating an example of a software configuration of the image forming apparatus according to the first exemplary embodiment of the present invention. FIG. 本発明の第1の実施形態に係るNCSのソフトウェア構成の一例を示す図である。It is a figure which shows an example of the software structure of NCS which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るWS−MFPモジュール群とSOAPのソフトウェア構成の一例を示す図である。2 is a diagram illustrating an example of a software configuration of a WS-MFP module group and a SOAP according to the first embodiment of the present invention. FIG. 本発明の第1の実施形態に係るデータ通信機能の機能構成の一例を示す図である。It is a figure which shows an example of a function structure of the data communication function which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るSOAPメッセージの一例を示す図である。It is a figure which shows an example of the SOAP message which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る関連付けデータのデータ構成の一例を示す図である。It is a figure which shows an example of the data structure of the association data which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係るデータ通信機能の基本処理手順の一例を示すシーケンス図である。It is a sequence diagram which shows an example of the basic processing procedure of the data communication function which concerns on the 1st Embodiment of this invention. 本発明の第2の実施形態に係る画像形成装置とデータ通信装置とから構成されるシステムの一例を示す図である。It is a figure which shows an example of the system comprised from the image forming apparatus and data communication apparatus which concern on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係るSOAPメッセージの一例を示す図である。It is a figure which shows an example of the SOAP message which concerns on the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

11 操作パネル
11a 入力装置
11b 表示装置
12 記憶メディアI/F
12a ドライブ装置
12b 記録媒体
13 コントローラ
13a ROM
13b RAM
13c CPU
14 データ通信I/F
14a インタフェース装置
15 スキャナ
15a 画像読取装置
16 プロッタ
16a 印刷装置
17 HDD
20 WS−MFPモジュール群
21p WS−Printer
21s WS−Scanner
22 DFMモジュール
31 WS−Discovery
32 WS−Transfer
33 WS−MetadataExchange
34 WSD−Manager
41p PrinterDCP
41s ScannnerDCP
42 WS−Eventing
50 SOAP
51 SOAPメッセージ送受信
52 SOAPメッセージ生成
60 ディスパッチャ
71 メッセージ送受信部
72 機器情報提供部
73 アプリケーション管理部
73a 出力部
73b 入力部
74 メッセージ制御部
81 WS−Transfer Getメッセージ
82 WS−Eventing Subscribeメッセージ
91 関連付けデータ
100、100a〜n 画像形成装置
101 ハードウェアリソース
102 エンジンI/F
103 API
110 ソフトウェア群
111 プリンタアプリ
112 コピーアプリ
113 ファクスアプリ
114 スキャナアプリ
115 ネットファイルアプリ
116 工程検査アプリ
117 配信アプリ
120 プラットフォーム
121 OS
122 SCS
123 SRM
124 ECS
125 MCS
126 OCS
127 FCS
128 NCS
129 IMH
130 アプリケーション
140 起動部
150 コントロールサービス
200 ネットワーク
300 クライアント端末(PC)
400 データ通信装置
11 Operation Panel 11a Input Device 11b Display Device 12 Storage Media I / F
12a drive device 12b recording medium 13 controller 13a ROM
13b RAM
13c CPU
14 Data communication I / F
14a interface device 15 scanner 15a image reading device 16 plotter 16a printing device 17 HDD
20 WS-MFP module group 21p WS-Printer
21s WS-Scanner
22 DFM module 31 WS-Discovery
32 WS-Transfer
33 WS-MetadataExchange
34 WSD-Manager
41p PrinterDCP
41s Scanner DCP
42 WS-Eventing
50 SOAP
51 SOAP message transmission / reception 52 SOAP message generation 60 Dispatcher 71 Message transmission / reception unit 72 Device information providing unit 73 Application management unit 73a Output unit 73b Input unit 74 Message control unit 81 WS-Transfer Get message 82 WS-Eventing Subscribe message 91 Association data 100, 100a-n Image forming apparatus 101 Hardware resource 102 Engine I / F
103 API
110 Software group 111 Printer application 112 Copy application 113 Fax application 114 Scanner application 115 Net file application 116 Process inspection application 117 Distribution application 120 Platform 121 OS
122 SCS
123 SRM
124 ECS
125 MCS
126 OCS
127 FCS
128 NCS
129 IMH
130 Application 140 Starter 150 Control Service 200 Network 300 Client Terminal (PC)
400 Data communication device

Claims (12)

外部機器からの要求に応じて、当該画像形成装置が有するアプリケーションの情報を含む機器情報を前記外部機器に提供する第1の機能と、前記外部機器からの要求を受け付けた前記アプリケーションにより処理を実行する少なくとも1つ以上の第2の機能とを有する画像形成装置であって、
前記外部機器から送信された前記第1の機能又は前記第2の機能に対して処理を要求する要求メッセージを、前記第1の機能及び前記第2の機能とを含む複数の機能に共通して受信する受信手段と、
前記第1の機能と前記第2の機能が別のプロセスで動作するマルチプロセス環境において、前記受信手段により受信された前記要求メッセージの所定の情報に基づいて、前記要求メッセージにより要求された処理を行う前記第1の機能又は前記第2の機能のどちらか一方を特定し、特定された前記第1の機能又は前記第2の機能に対して前記要求メッセージの要求内容を通知するメッセージ制御手段とを有することを特徴とする画像形成装置。
In response to a request from an external device, the first function that provides device information including application information of the image forming apparatus to the external device, and the application that has received the request from the external device executes processing An image forming apparatus having at least one second function
A request message for requesting processing to the first function or the second function transmitted from the external device is common to a plurality of functions including the first function and the second function. Receiving means for receiving;
In a multi-process environment in which the first function and the second function operate in different processes, processing requested by the request message is performed based on predetermined information of the request message received by the receiving unit. Message control means for specifying either the first function or the second function to be performed, and notifying the specified content of the request message to the specified first function or the second function; An image forming apparatus comprising:
前記メッセージ制御手段は、
前記要求メッセージの宛先に関する情報及び/又は前記要求メッセージにより要求される処理に関する情報に基づいて、要求された処理を行う前記第1の機能又は前記第2の機能のどちらか一方を特定することを特徴とする請求項1に記載の画像形成装置。
The message control means includes
Specifying either the first function or the second function for performing the requested process based on the information about the destination of the request message and / or the information about the process requested by the request message. The image forming apparatus according to claim 1, wherein:
前記受信手段及び前記メッセージ制御手段を実現するソフトウェア部品は、
当該画像形成装置が有する前記第1の機能及び前記第2の機能が動作するプロセスとは別のプロセスで動作することを特徴とする請求項1又は2に記載の画像形成装置。
The software component that implements the receiving means and the message control means is:
The image forming apparatus according to claim 1, wherein the image forming apparatus operates in a process different from a process in which the first function and the second function of the image forming apparatus operate.
前記受信手段及び前記メッセージ制御手段を実現するソフトウェア部品は、
同じプロセスで動作することを特徴とする請求項3に記載の画像形成装置。
The software component that implements the receiving means and the message control means is:
The image forming apparatus according to claim 3, wherein the image forming apparatus operates in the same process.
前記受信手段は、
前記外部機器から送信された前記要求メッセージをSOAP(Simple Object Access Protocol)により受信することを特徴とする請求項1ないし4のいずれか一項に記載の画像形成装置。
The receiving means includes
5. The image forming apparatus according to claim 1, wherein the request message transmitted from the external device is received by SOAP (Simple Object Access Protocol). 6.
外部機器からの要求に応じて、当該画像形成装置が有するアプリケーションの情報を含む機器情報を前記外部機器に提供する第1の機能と、前記外部機器からの要求を受け付けた前記アプリケーションにより処理を実行する少なくとも1つ以上の第2の機能とを有する画像形成装置と、前記外部機器との間で、双方向のデータ通信を行うデータ通信装置であって、
前記外部機器から送信された前記第1の機能又は前記第2の機能に対して処理を要求する要求メッセージを受信する受信手段と、
前記第1の機能と前記第2の機能とが別のプロセスで動作するマルチプロセス環境において、前記受信手段により受信された前記要求メッセージの所定の情報に基づいて、前記要求メッセージにより要求された処理を行う前記画像形成装置並びに前記画像形成装置が有する前記第1の機能又は前記第2の機能のどちらか一方を特定し、特定された前記画像形成装置が有する前記第1の機能又は前記第2の機能に対して前記要求メッセージの要求内容を通知するメッセージ制御手段とを有することを特徴とするデータ通信装置。
In response to a request from an external device, the first function that provides device information including application information of the image forming apparatus to the external device, and the application that has received the request from the external device executes processing A data communication apparatus that performs bidirectional data communication between the image forming apparatus having at least one second function and the external device,
Receiving means for receiving a request message for requesting processing to the first function or the second function transmitted from the external device;
In a multi-process environment in which the first function and the second function operate in different processes, processing requested by the request message based on predetermined information of the request message received by the receiving unit The image forming apparatus that performs the above and the first function or the second function of the image forming apparatus are specified, and the first function or the second of the specified image forming apparatus is specified. And a message control means for notifying the function of the request message of the request message.
前記メッセージ制御手段は、
前記要求メッセージの通知先に関する情報及び/又は前記要求メッセージにより要求される処理に関する情報に基づいて、要求された処理を行う前記画像形成装置並びに前記画像形成装置が有する前記第1の機能又は前記第2の機能のどちらか一方を特定することを特徴とする請求項6に記載のデータ通信装置。
The message control means includes
The image forming apparatus that performs a requested process based on information on a notification destination of the request message and / or information on a process requested by the request message, and the first function or the first function of the image forming apparatus The data communication apparatus according to claim 6, wherein one of the two functions is specified.
前記受信手段は、
前記外部機器から送信された先記要求メッセージをSOAP(Simple Object Access Protocol)により受信することを特徴とする請求項6又は7に記載のデータ通信装置。
The receiving means includes
8. The data communication apparatus according to claim 6, wherein the pre-request message transmitted from the external device is received by SOAP (Simple Object Access Protocol).
外部機器からの要求に応じて、当該画像形成装置が有するアプリケーションの情報を含む機器情報を前記外部機器に提供する第1の機能と、前記外部機器からの要求を受け付けた前記アプリケーションにより処理を実行する少なくとも1つ以上の第2の機能とを有する画像形成装置と、前記外部機器との間で、双方向のデータ通信を行うデータ通信方法であって、
前記外部機器から送信された前記第1の機能又は前記第2の機能に対して処理を要求する要求メッセージを、前記第1の機能及び前記第2の機能とを含む複数の機能に共通して受信する受信手順と、
前記第1の機能と前記第2の機能とが別のプロセスで動作するマルチプロセス環境において、前記受信手順により受信された前記要求メッセージの所定の情報に基づいて、前記要求メッセージにより要求された処理を行う前記第1の機能又は前記第2の機能のどちらか一方を特定し、特定された前記第1の機能又は前記第2の機能に対して前記要求メッセージの要求内容を通知するメッセージ制御手順とを有することを特徴とするデータ通信方法。
In response to a request from an external device, the first function that provides device information including application information of the image forming apparatus to the external device, and the application that has received the request from the external device executes processing A data communication method for performing bidirectional data communication between an image forming apparatus having at least one second function and the external device,
A request message for requesting processing to the first function or the second function transmitted from the external device is common to a plurality of functions including the first function and the second function. The receiving procedure to receive,
In a multi-process environment in which the first function and the second function operate in different processes, processing requested by the request message based on predetermined information of the request message received by the reception procedure A message control procedure for specifying either the first function or the second function for performing the notification, and notifying the specified content of the request message to the first function or the second function And a data communication method.
前記メッセージ制御手順は、
前記要求メッセージの宛先に関する情報及び/又は前記要求メッセージにより要求される処理に関する情報に基づいて、要求された処理を行う前記第1の機能又は前記第2の機能のどちらか一方を特定することを特徴とする請求項9に記載のデータ通信方法。
The message control procedure includes:
Specifying either the first function or the second function for performing the requested process based on the information about the destination of the request message and / or the information about the process requested by the request message. The data communication method according to claim 9, wherein:
前記受信手順は、
前記外部機器から送信された前記要求メッセージをSOAP(Simple Object Access Protocol)により受信することを特徴とする請求項9又は10に記載のデータ通信方法。
The reception procedure is as follows:
11. The data communication method according to claim 9 or 10, wherein the request message transmitted from the external device is received by SOAP (Simple Object Access Protocol).
外部機器からの要求に応じて、当該画像形成装置が有するアプリケーションの情報を含む機器情報を前記外部機器に提供する第1の機能と、前記外部機器からの要求を受け付けた前記アプリケーションにより処理を実行する少なくとも1つ以上の第2の機能とを有する画像形成装置と、前記外部機器との間で、双方向のデータ通信を行うデータ通信プログラムであって、
コンピュータを、
前記外部機器から送信された前記第1の機能又は前記第2の機能に対して処理を要求する要求メッセージを受信する受信手段と、
前記第1の機能と前記第2の機能とが別のプロセスで動作するマルチプロセス環境において、前記受信手段により受信された前記要求メッセージの所定の情報に基づいて、前記要求メッセージにより要求された処理を行う前記第1の機能又は前記第2の機能のどちらか一方を特定し、特定された前記第1の機能又は前記第2の機能に対して前記要求メッセージの要求内容を通知するメッセージ制御手段として機能させるデータ通信プログラム。
In response to a request from an external device, the first function that provides device information including application information of the image forming apparatus to the external device, and the application that has received the request from the external device executes processing A data communication program for performing bidirectional data communication between an image forming apparatus having at least one or more second functions and the external device,
Computer
Receiving means for receiving a request message for requesting processing to the first function or the second function transmitted from the external device;
In a multi-process environment in which the first function and the second function operate in different processes, processing requested by the request message based on predetermined information of the request message received by the receiving unit Message control means for specifying either the first function or the second function for performing the notification and notifying the specified content of the request message to the specified first function or the second function Data communication program to function as.
JP2007238267A 2007-09-13 2007-09-13 Image forming apparatus, data communication apparatus, data communication method, and data communication program Expired - Fee Related JP5072499B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007238267A JP5072499B2 (en) 2007-09-13 2007-09-13 Image forming apparatus, data communication apparatus, data communication method, and data communication program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007238267A JP5072499B2 (en) 2007-09-13 2007-09-13 Image forming apparatus, data communication apparatus, data communication method, and data communication program

Publications (2)

Publication Number Publication Date
JP2009071612A JP2009071612A (en) 2009-04-02
JP5072499B2 true JP5072499B2 (en) 2012-11-14

Family

ID=40607411

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007238267A Expired - Fee Related JP5072499B2 (en) 2007-09-13 2007-09-13 Image forming apparatus, data communication apparatus, data communication method, and data communication program

Country Status (1)

Country Link
JP (1) JP5072499B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022055518A (en) 2020-09-29 2022-04-08 株式会社リコー Equipment management system, remote management device, remote management method and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003308264A (en) * 2002-02-15 2003-10-31 Hitachi Ltd Network equipment and method for controlling network equipment
JP4291856B2 (en) * 2002-03-25 2009-07-08 株式会社リコー Image forming apparatus having Web service function
JP4251958B2 (en) * 2003-10-22 2009-04-08 株式会社リコー Image forming apparatus, information processing apparatus, information processing method, information processing program, and recording medium

Also Published As

Publication number Publication date
JP2009071612A (en) 2009-04-02

Similar Documents

Publication Publication Date Title
JP6481724B2 (en) Image handling apparatus, image handling method and program
US8947701B2 (en) Server apparatus, terminal apparatus, and printing system and data conversion method thereof
JP4759436B2 (en) Image handling apparatus, image processing system, image processing control method, and image processing control program
JP5370439B2 (en) Apparatus, request processing method, program, and recording medium
JP2009255390A (en) Image forming apparatus, functional cooperation control method, and functional cooperation control program
EP1439684B1 (en) Apparatus, method and system for providing information in accordance with one of a plurality of protocols
JP4291856B2 (en) Image forming apparatus having Web service function
JP4079722B2 (en) Image forming apparatus that cooperates between apparatuses via a network
JP5072499B2 (en) Image forming apparatus, data communication apparatus, data communication method, and data communication program
JP4141209B2 (en) Image forming apparatus having Web service function
JP4520484B2 (en) Image forming apparatus having Web service function
JP4130108B2 (en) Image forming apparatus having Web service function
JP4291855B2 (en) Image forming apparatus having Web service function
JP4136738B2 (en) Image forming apparatus having Web service function
JP2009278336A (en) Image forming apparatus, provided function control method, and provided function control program
JP5046818B2 (en) Image forming apparatus, data processing method in image forming apparatus, and data processing program
JP5211634B2 (en) Image processing apparatus and priority determination method
JP2006020341A (en) Image forming apparatus including web service functions
JP4141210B2 (en) Image forming apparatus having Web service function
JP2009111785A (en) Image processor and processing distributing method
JP4857211B2 (en) Image forming apparatus, distributed printing system, distributed printing method, program, and recording medium
JP4373692B2 (en) Image forming apparatus having Web service function
JP2009248527A (en) Image processing device and apparatus state monitoring method
JP4291854B2 (en) Image forming apparatus having Web service function
JP4130109B2 (en) Image forming apparatus having Web service function

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100420

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111006

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120113

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 5072499

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

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees