JP2010114848A - Request-processing apparatus - Google Patents

Request-processing apparatus Download PDF

Info

Publication number
JP2010114848A
JP2010114848A JP2008288090A JP2008288090A JP2010114848A JP 2010114848 A JP2010114848 A JP 2010114848A JP 2008288090 A JP2008288090 A JP 2008288090A JP 2008288090 A JP2008288090 A JP 2008288090A JP 2010114848 A JP2010114848 A JP 2010114848A
Authority
JP
Japan
Prior art keywords
request
stored
buffer
communication means
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008288090A
Other languages
Japanese (ja)
Other versions
JP5453772B2 (en
Inventor
Yasuhiro Oshima
康裕 大島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2008288090A priority Critical patent/JP5453772B2/en
Publication of JP2010114848A publication Critical patent/JP2010114848A/en
Application granted granted Critical
Publication of JP5453772B2 publication Critical patent/JP5453772B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To appropriately deal with the requests from external devices connected to a plurality of communication means, even if the requests compete. <P>SOLUTION: An arbiter 78 determines whether a request is stored in a communication buffer 72 or 76, connected to a network and a USB, respectively. If the request is stored, a common application 82 is called out, and the application 82 is made to execute processing on the request. At the same time, until the processing is finished, even if the next request is stored in either of the communication buffers 72, 76, the request is left standing; and when processing under execution is finished, processing for the next request is started. Consequently, even if a request from a computer PC 1 connected to the network and a request from a computer PC 2 connected to the USB compete, the requests can be dealt appropriately. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、リクエスト処理装置に関する。   The present invention relates to a request processing apparatus.

従来、スキャナ及びプリンタを備えたデジタル複合機が知られている。このデジタル複合機では、スキャナが画像を取り込むスキャナ機能、プリンタが印刷を行う印刷機能、スキャナが読み取った画像をプリンタが印刷するコピー機能、電話回線を介して画像の送受信を行うファクシミリ機能などを備えている(特許文献1)。こうしたデジタル複合機は、ネットワークを介して接続されたコンピュータからの指令に基づいて動作する。
特開2007−72771号公報
Conventionally, a digital multifunction machine including a scanner and a printer is known. This digital multi-function peripheral has a scanner function for capturing an image by a scanner, a printing function for printing by a printer, a copy function for printing an image read by the scanner, a facsimile function for transmitting and receiving an image via a telephone line, and the like. (Patent Document 1). Such a digital multifunction peripheral operates based on a command from a computer connected via a network.
JP 2007-72771 A

ところで、特許文献1に記載されたデジタル複合機では、ネットワークに接続する通信インタフェースを1つしか有していないため、こうした通信インタフェースを複数有している場合には、リクエストの競合が発生する可能性がある。こうした競合については、適切に対応する必要がある。   By the way, since the digital multi-function peripheral described in Patent Document 1 has only one communication interface connected to the network, when there are a plurality of such communication interfaces, request contention may occur. There is sex. Such competition needs to be dealt with appropriately.

本発明は、このような課題に鑑みなされたものであり、複数の通信手段に接続された外部機器からのリクエストが競合したとしても適切に対応することができるリクエスト処理装置を提供することを主目的とする。   The present invention has been made in view of such problems, and it is a main object of the present invention to provide a request processing apparatus capable of appropriately responding even if requests from external devices connected to a plurality of communication means compete. Objective.

本発明は、上述の目的を達成するために以下の手段を採った。   The present invention adopts the following means in order to achieve the above-mentioned object.

本発明のリクエスト処理装置は、
第1通信手段と、
第2通信手段と、
前記第1通信手段で受信されたリクエストを保存可能な第1バッファと、
前記第2通信手段で受信されたリクエストを保存可能な第2バッファと、
前記第1及び第2通信手段で受信されたリクエストに対する所定の処理を実行可能な共通のアプリケーションが格納されたアプリケーション格納手段と、
前記第1及び第2バッファのいずれかにリクエストが保存されているか否かを判定し、リクエストが保存されていたならば前記アプリケーション格納手段から前記共通のアプリケーションを呼び出して該共通のアプリケーションに前記リクエストに対する所定の処理を実行させると共に、該所定の処理が終了するまでは前記第1及び第2バッファのいずれかに次のリクエストが格納されたとしても放置する調停手段と、
を備えたものである。
The request processing apparatus of the present invention
First communication means;
A second communication means;
A first buffer capable of storing a request received by the first communication means;
A second buffer capable of storing a request received by the second communication means;
Application storage means in which a common application capable of executing a predetermined process for the requests received by the first and second communication means is stored;
It is determined whether or not a request is stored in one of the first and second buffers. If the request is stored, the common application is called from the application storage unit and the request is sent to the common application. An arbitration unit that executes a predetermined process for the first and second buffers until the predetermined process ends, even if the next request is stored in one of the first and second buffers;
It is equipped with.

このリクエスト処理装置では、第1及び第2バッファのいずれかにリクエストが保存されているか否かを判定し、リクエストが保存されていたならば共通のアプリケーションを呼び出して該共通のアプリケーションにそのリクエストに対する所定の処理を実行させると共に、該所定の処理が終了するまでは第1及び第2バッファのいずれかに次のリクエストが格納されたとしても放置する。つまり、第1通信手段に接続された外部機器からのリクエストと第2通信手段に接続された外部機器からのリクエストが競合したとしても、実行中の処理が終了するまでは次のリクエストに対する処理を実行しない。もちろん、実行中の処理が終了したならば、次のリクエストの処理を開始する。したがって、複数の通信手段に接続された外部機器からのリクエストが競合したとしても適切に対応することができる。   In this request processing apparatus, it is determined whether or not the request is stored in one of the first and second buffers, and if the request is stored, a common application is called and the request is sent to the common application. A predetermined process is executed, and until the predetermined process ends, even if the next request is stored in one of the first and second buffers, it is left unattended. That is, even if a request from an external device connected to the first communication means and a request from an external device connected to the second communication means compete, the processing for the next request is performed until the processing being executed is completed. Do not execute. Of course, when the processing being executed is completed, the processing of the next request is started. Therefore, even if requests from external devices connected to a plurality of communication means compete, it can be appropriately handled.

なお、「所定の処理」は、特に限定されるものではないが、例えば、ファクシミリ送信処理、印刷処理、電子データ保存処理などが挙げられる。   The “predetermined processing” is not particularly limited, and examples thereof include facsimile transmission processing, printing processing, and electronic data storage processing.

本発明のリクエスト処理装置において、前記第1通信手段は、所定のプロトコルに従って通信する手段であり、前記第2通信手段は、前記第1通信手段とは異なるプロトコルに従って通信する手段であってもよい。このように互いに異なる通信手段を複数備える場合には、プロトコルスタック(物理層からアプリケーション層まで)の特性が各々異なるため、プロトコルスタックの一部を共通化しようとする思想がなかったが、ここではアプリケーションを共通化したため、各プロトコルごとに個別にアプリケーションを開発する場合に比べてコストの低減化を図ることができる。例えば、前記第1通信手段は、ネットワークプロトコルに従って通信する手段であり、前記第2通信手段は、USBプロトコルに従って通信する手段であってもよい。   In the request processing apparatus of the present invention, the first communication unit may be a unit that communicates according to a predetermined protocol, and the second communication unit may be a unit that communicates according to a protocol different from the first communication unit. . When there are a plurality of communication means different from each other in this way, the protocol stack (from the physical layer to the application layer) has different characteristics, so there was no idea to share a part of the protocol stack. Since the application is shared, the cost can be reduced as compared with the case where the application is individually developed for each protocol. For example, the first communication unit may be a unit that communicates according to a network protocol, and the second communication unit may be a unit that communicates according to a USB protocol.

本発明のリクエスト処理装置において、前記調停手段は、前記所定の処理が終了したあと、該所定の処理が前記第1及び第2バッファの一方のリクエストに対する処理だったときには、前記第1及び第2バッファの他方に保存されているリクエストを優先的に処理してもよい。こうすれば、各通信手段に接続された外部機器からのリクエストを平等に処理することができる。   In the request processing device according to the present invention, the arbitration unit may perform the first and second operations when the predetermined process is a process for one request of the first and second buffers after the predetermined process is completed. Requests stored in the other buffer may be processed preferentially. In this way, requests from external devices connected to each communication means can be processed equally.

本発明のリクエスト処理装置は、前記第1及び第2バッファとの間でデータの移動が可能であり前記共通のアプリケーションがアクセス可能な共有バッファを備え、前記調停手段は、前記第1及び第2バッファのいずれかにリクエストが保存されているか否かを判定し、リクエストが保存されていたならば該リクエストを前記共有バッファへ移動し、該共有バッファへのリクエストの移動をきっかけとして前記アプリケーション格納手段から前記共通のアプリケーションを呼び出して該共通のアプリケーションに前記リクエストに対する所定の処理を実行させてもよい。こうすれば、アプリケーションは第1及び第2通信手段のいずれで受信されたリクエストかを意識することなく処理を実行することができる。なお、共有バッファへのリクエストの移動をきっかけとしてアプリケーション格納手段から前記共通のアプリケーションを呼び出すには、例えば、共有バッファへリクエストが移動したか否かを絶えず監視し共有バッファへリクエストが移動したとき共通のアプリケーションを呼び出すようにしてもよいし、共有バッファへリクエストが移動すると事前に登録されているコールバック関数をコールして共通のアプリケーションを呼び出すようにしてもよい。   The request processing apparatus of the present invention includes a shared buffer that can move data between the first and second buffers and can be accessed by the common application, and the arbitration means includes the first and second buffers. It is determined whether or not the request is stored in any of the buffers, and if the request is stored, the request is moved to the shared buffer, and the application storage means is triggered by the movement of the request to the shared buffer. The common application may be called to cause the common application to execute a predetermined process for the request. In this way, the application can execute processing without being aware of whether the request is received by either the first or second communication means. In order to call the common application from the application storage means triggered by the movement of the request to the shared buffer, for example, it is common to monitor whether or not the request has moved to the shared buffer and to move the request to the shared buffer. The application may be called, or when a request moves to the shared buffer, a callback function registered in advance may be called to call a common application.

このような共有バッファを備えた本発明のリクエスト処理装置において、前記第1バッファは、前記第1通信手段へ送信すべきレスポンスも保存可能であり、前記第2バッファは、前記第2通信手段へ送信すべきレスポンスも保存可能であり、前記共通のアプリケーションは、前記所定の処理を実行したあとレスポンスを生成し前記リクエストに付された情報と共に前記共有バッファへ保存する機能を有し、前記調停手段は、前記第1及び第2バッファのいずれかにリクエストが保存されているか否かを判定し、前記第1及び第2通信手段のいずれのリクエストかを識別可能な識別情報を付して前記リクエストに付けて前記共有バッファへ移動し、該共有バッファへのリクエストの移動をきっかけとして前記アプリケーション格納手段から前記共通のアプリケーションを呼び出して該共通のアプリケーションに前記リクエストに対する所定の処理を実行させると共に、前記リクエストに対するレスポンスが前記識別情報を付されて前記共有バッファに保存されるまでは前記第1及び第2バッファのいずれかに次のリクエストが格納されたとしても放置し、前記共有バッファに前記レスポンスが前記識別情報を付されて前記共有バッファに保存されたあとは該識別情報に基づいてリクエストの送信元が前記第1及び第2通信手段のいずれであるかを判定し、該判定の結果に基づいて前記レスポンスを前記第1及び第2バッファのいずれかに保存してもよい。こうすれば、リクエストの送信元へ第1及び第2通信手段を介してレスポンスを返すことが可能となる。   In the request processing apparatus of the present invention having such a shared buffer, the first buffer can store a response to be transmitted to the first communication means, and the second buffer can be sent to the second communication means. A response to be transmitted can also be stored, and the common application has a function of generating a response after executing the predetermined processing and storing it in the shared buffer together with information attached to the request. Determines whether the request is stored in one of the first and second buffers, and adds the identification information that can identify which request is the first or second communication unit to the request. To the shared buffer, and from the application storage means, triggered by the movement of the request to the shared buffer. The first and second buffers are called until a common application is called to cause the common application to execute a predetermined process for the request, and a response to the request is attached with the identification information and stored in the shared buffer. Even if the next request is stored in any of the above, the request is sent to the shared buffer after the response is attached with the identification information and stored in the shared buffer. It may be determined whether the communication means is the first or second communication means, and the response may be stored in either the first buffer or the second buffer based on the determination result. This makes it possible to return a response to the request transmission source via the first and second communication means.

次に、本発明を実施するための最良の形態を図面を用いて説明する。図1は、本発明を具現化した一実施形態であるマルチファンクションプリンタ(MFP)10の構成の概略を示す構成図である。   Next, the best mode for carrying out the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram showing an outline of the configuration of a multifunction printer (MFP) 10 which is an embodiment embodying the present invention.

MFP10は、プリンタ機能、スキャナ機能、ファックス機能を有している。このMFP10は、印刷を実行する印刷モジュール20と、書類を読み取る読取モジュール22と、ファックス情報を送受信するファックスモデム24と、外部に設置されたコンピュータPC1との間でネットワークを介してデータを送受信するネットワークインタフェース26と、外部に設置されたコンピュータPC2との間でUSBケーブルを介してデータを送受信するUSBインタフェース28と、各種情報を表示したりユーザの指示を入力したりする操作パネル50と、装置全体の制御を司るメインコントローラ60とを備えている。なお、本明細書では、ネットワークを「NW」、インタフェースを「I/F」と表記することがある。   The MFP 10 has a printer function, a scanner function, and a fax function. The MFP 10 transmits / receives data via a network between a printing module 20 that executes printing, a reading module 22 that reads a document, a fax modem 24 that transmits / receives fax information, and a computer PC 1 installed outside. A USB interface 28 for transmitting and receiving data via a USB cable between the network interface 26 and an externally installed computer PC2, an operation panel 50 for displaying various types of information and inputting user instructions, and a device And a main controller 60 that controls the entire system. In this specification, the network may be expressed as “NW” and the interface as “I / F”.

印刷モジュール20は、メインコントローラ60から印刷指令を受けると、その印刷指令の対象である印刷ジョブに基づいて、印刷ヘッドから記録紙Sへインクを吐出することにより印刷を実行する周知のインクジェット方式のカラープリンタ機構として構成されている。   When the print module 20 receives a print command from the main controller 60, the print module 20 performs printing by discharging ink from the print head to the recording paper S based on the print job that is the target of the print command. It is configured as a color printer mechanism.

読取モジュール22は、メインコントローラ60からの読取指令を受けると、ガラス台36に載置された書類を画像データとして読み取る周知のフラットベッド型のフルカラースキャナ機構として構成されている。この読取モジュール22は、書類に向かって発光したあとの反射光をレッド(R)、グリーン(G)、ブルー(B)の各色に分解して読取データとする周知のカラーイメージセンサを備えている。   When the reading module 22 receives a reading command from the main controller 60, the reading module 22 is configured as a well-known flatbed type full-color scanner mechanism that reads a document placed on the glass table 36 as image data. The reading module 22 includes a well-known color image sensor that separates reflected light after emitting light toward a document into red (R), green (G), and blue (B) colors to be read data. .

ファックスモデム24は、メインコントローラ60からのファックス送信指令を受けると、ファックス送信する元のデータを送信先の通信方式に合わせた形式の送信データへと変換し、図示しない電話回線を介して接続された送信先の機器へその送信データを送信したり、電話回線を介して接続された機器から受信した受信データを画像データへと変換したりするよう構成されている。   When the fax modem 24 receives a fax transmission command from the main controller 60, the fax modem 24 converts the original data for fax transmission into transmission data in a format suitable for the communication method of the destination, and is connected via a telephone line (not shown). The transmission data is transmitted to a transmission destination device, or reception data received from a device connected via a telephone line is converted into image data.

ネットワークI/F26は、ネットワークに接続された外部の機器(例えばコンピュータPC1)との間でデータの送受信が可能なように構成されている。   The network I / F 26 is configured to be able to transmit and receive data to and from an external device (for example, the computer PC1) connected to the network.

USBI/F28は、USBケーブルを介して接続されたUSBホスト(例えばコンピュータPC2)との間でデータの送受信が可能なように構成されている。この場合、MFP10はUSBデバイスとして機能する。   The USB I / F 28 is configured to be able to transmit and receive data to and from a USB host (for example, the computer PC2) connected via a USB cable. In this case, the MFP 10 functions as a USB device.

操作パネル50は、液晶ディスプレイである表示部52と、コピーボタンや印刷ボタン、ファックス送信ボタン、スキャンボタン、電源ボタン、テンキーなどを含むボタン群54とを備えている。この操作パネル50は、各種情報を表示部52に表示したりユーザの指示をボタン群54の操作を介して入力したりする。   The operation panel 50 includes a display unit 52 that is a liquid crystal display, and a button group 54 including a copy button, a print button, a fax transmission button, a scan button, a power button, a numeric keypad, and the like. The operation panel 50 displays various types of information on the display unit 52 and inputs user instructions through the operation of the button group 54.

メインコントローラ60は、CPUを中心とするマイクロプロセッサとして構成されており、各種処理プログラムや各種データ、各種テーブルなどを記憶したROMや一時的に印刷データ等を記憶するRAMなどを備えている。このメインコントローラ60は、印刷モジュール20や読取モジュール22、ファックスモデム24、ネットワークI/F26、USBI/F28からの各種動作信号や各種検出信号、各種データを入力したり、操作パネル50のボタン群54の操作に応じて発生する操作信号を入力したりする。また、印刷を実行するよう印刷モジュール20に指令を出力したり、読取モジュール22へ各種制御信号を出力したり、操作パネル50の表示部52に制御信号を出力したりする。   The main controller 60 is configured as a microprocessor centered on a CPU, and includes a ROM that stores various processing programs, various data, various tables, and a RAM that temporarily stores print data. The main controller 60 inputs various operation signals, various detection signals, and various data from the printing module 20, the reading module 22, the fax modem 24, the network I / F 26, and the USB I / F 28, and the button group 54 of the operation panel 50. An operation signal generated in response to the operation is input. Further, a command is output to the printing module 20 to execute printing, various control signals are output to the reading module 22, and control signals are output to the display unit 52 of the operation panel 50.

こうして構成されたMFP10は、印刷処理やスキャン処理、コピー処理、ファックス送受信処理などの各種処理を実行する。印刷処理は、ネットワークI/F26又はUSBI/F28を介して入力された印刷ジョブに基づいて印刷モジュール20により記録紙Sへの印刷を行う処理である。スキャン処理は、ガラス台36に載置された原稿の画像を読取モジュール22により読み取る処理である。コピー処理は、読取モジュール22により読み取った画像データに基づいて印刷モジュール20により印刷を行う処理である。ファックス送受信処理は、読取モジュール22により読み取った画像データ又はネットワークI/F26かUSBI/F28を介して入力された画像データをファックスモデム24及び図示しない電話回線を介して外部の機器へ送信したり、ファックスモデム24及び電話回線を介して外部の機器から受信した画像データを印刷モジュール20により印刷したりする処理である。   The MFP 10 thus configured executes various processes such as a printing process, a scanning process, a copy process, and a fax transmission / reception process. The printing process is a process for printing on the recording paper S by the printing module 20 based on a print job input via the network I / F 26 or the USB I / F 28. The scanning process is a process of reading an image of a document placed on the glass table 36 by the reading module 22. The copy process is a process in which the printing module 20 performs printing based on the image data read by the reading module 22. In the fax transmission / reception process, the image data read by the reading module 22 or the image data input via the network I / F 26 or the USB I / F 28 is transmitted to an external device via the fax modem 24 and a telephone line (not shown). In this process, image data received from an external device via the fax modem 24 and a telephone line is printed by the printing module 20.

ここで、MFP10のファックス送信処理を実行する際の機能ブロックを図2を用いて説明する。図2は、MFP10のメインコントローラ60を機能ブロックで表した説明図である。メインコントローラ60は、ネットワーク通信の際にプロトコルを制御するNWドメイン62と、USB通信及びネットワーク通信のいずれにおいても動作する共通ドメイン68とを備えている。NWドメイン62は、コンピュータPC1との間でネットワークを介してデータのやり取りを行うためのNW通信ドライバ64と、共通ドメイン68との間でドメインコミュニケーションを介してデータのやり取りを行うためのNWドメイン間通信ドライバ66とを備えている。このNWドメイン62は、下層から上層に向かって、物理層(有線又は無線)、TCP/IP、HTTP、MIME、SOAPヘッダ、WSAがこの順で積層されたプロトコルスタックにしたがってデータのやり取りを行う。なお、TCP/IPはTransmission Control Protocol/Internet Protocol、HTTPはHyperText Transfer Protocol、MIMEはMultipurpose Internet Mail Extension、SOAPはSimple Object Access Protocol、WSAはWebservice-addressingの略である。共通ドメイン68は、NWドメイン62との間でドメインコミュニケーションを介してデータのやり取りを行うNWドメイン間通信ドライバ70と、コンピュータPC2との間でUSBケーブルを介してデータのやり取りを行うUSB通信ドライバ74とを備えている。NWドメイン間通信ドライバ70は、NWドメイン間通信バッファ72を利用しながら、前述したプロトコルスタックにしたがってNWドメイン62のNWドメイン間通信ドライバ70とデータのやり取りを行う。NWドメイン間通信バッファ72には、受信用領域72aと送信用領域72bとが設けられている。一方、USB通信ドライバ74は、USB通信バッファ76を利用しながら、双方向パラレル通信を定義しているIEEE1284.4に準拠してUSBの通信を行う。USB通信バッファ76には、受信用領域76aと送信用領域76bとが設けられている。また、共通ドメイン68は、ネットワーク通信とUSB通信との調停を行うアービタ78と、このアービタ78により両通信バッファ72,76との間でデータの移動が行われる共有バッファ80と、NW通信及びUSB通信のいずれによって取得したリクエストかに依存することなくファックス送信処理を実行するアプリケーション82とを備えている。共有バッファ80には、受信用領域80aと送信用領域80bとが設けられている。また、アプリケーション82は、メインコントローラ60のROMに格納されている。   Here, functional blocks for executing the fax transmission process of the MFP 10 will be described with reference to FIG. FIG. 2 is an explanatory diagram showing the main controller 60 of the MFP 10 as functional blocks. The main controller 60 includes an NW domain 62 that controls a protocol during network communication, and a common domain 68 that operates in both USB communication and network communication. The NW domain 62 is an NW communication driver 64 for exchanging data with the computer PC1 via a network, and an NW domain for exchanging data with the common domain 68 via domain communication. And a communication driver 66. The NW domain 62 exchanges data from a lower layer to an upper layer according to a protocol stack in which a physical layer (wired or wireless), TCP / IP, HTTP, MIME, SOAP header, and WSA are stacked in this order. TCP / IP stands for Transmission Control Protocol / Internet Protocol, HTTP stands for HyperText Transfer Protocol, MIME stands for Multipurpose Internet Mail Extension, SOAP stands for Simple Object Access Protocol, and WSA stands for Webservice-addressing. The common domain 68 includes an NW domain communication driver 70 that exchanges data with the NW domain 62 via domain communication, and a USB communication driver 74 that exchanges data with the computer PC2 via a USB cable. And. The inter-NW domain communication driver 70 exchanges data with the inter-NW domain communication driver 70 of the NW domain 62 in accordance with the protocol stack described above while using the inter-NW domain communication buffer 72. The inter-NW domain communication buffer 72 is provided with a reception area 72a and a transmission area 72b. On the other hand, the USB communication driver 74 uses the USB communication buffer 76 to perform USB communication in conformity with IEEE1284.4 that defines bidirectional parallel communication. The USB communication buffer 76 is provided with a reception area 76a and a transmission area 76b. The common domain 68 includes an arbiter 78 that performs arbitration between network communication and USB communication, a shared buffer 80 in which data is transferred between the communication buffers 72 and 76 by the arbiter 78, NW communication, and USB communication. And an application 82 that executes a fax transmission process without depending on which of the requests is acquired by communication. The shared buffer 80 is provided with a reception area 80a and a transmission area 80b. The application 82 is stored in the ROM of the main controller 60.

次に、MFP10の動作、特に、コンピュータPC1,PC2からのファックス送信処理を実行するときのMFP10の動作について説明する。コンピュータPC1,PC2がMFP10にファックス送信処理を実行させる場合、(1)プリンタ状態取得のリクエスト、(2)ファックス送信のリクエスト、(3)ファックスデータ送信のリクエスト、(4)ジョブステータス確認のリクエストを順次送信する。各リクエストは、直前に送信したリクエストに対するレスポンスを受信したあとに送信される。また、これらのリクエストは、SOAPメッセージとして送信される。   Next, the operation of the MFP 10, particularly the operation of the MFP 10 when executing fax transmission processing from the computers PC 1 and PC 2 will be described. When the computers PC1 and PC2 cause the MFP 10 to execute a fax transmission process, (1) a printer status acquisition request, (2) a fax transmission request, (3) a fax data transmission request, and (4) a job status confirmation request Send sequentially. Each request is transmitted after receiving a response to the request transmitted immediately before. These requests are transmitted as SOAP messages.

SOAPメッセージは、図3に示すように、通信プロトコルに依存するヘッダと、SOAPヘッダ(任意の要素)及びSOAPボディ(必須の要素)を含むSOAPエンベロープとで構成されている。SOAPヘッダには、SOAPメッセージの宛先が記述され、SOAPボディには、最終的なメッセージの受信者が処理を行う情報が記述される。コンピュータPC1やMFP10がネットワークを介して相手へ送信するSOAPメッセージを作成する場合、SOAPボディを作成し、WSAを管理するためのオペレーションやメッセージを決定し、それらをSOAPヘッダとすることによりSOAPエンベロープを作成し、HTTPに関するヘッダを追加する。こうすることにより、ネットワーク用のSOAPメッセージが完成する。一方、コンピュータPC2やMFP10がUSBを介して相手へ送信するSOAPメッセージを作成する場合、SOAPボディを作成し、SOAPヘッダのないSOAPエンベロープを作成し、USBに関するヘッダを追加する。こうすることにより、USB用のSOAPメッセージを作成する。ここで、SOAPメッセージの一例として、ファックス状態取得のリクエスト(前出の(1)参照)のSOAPメッセージの一例を図4及び図5に示す。図4はネットワーク用、図5はUSB用である。図4及び図5から明らかなように、いずれのSOAPメッセージもSOAPボディの内容は同じである。なお、「FAXout」はファックス送信を意味する。   As shown in FIG. 3, the SOAP message is composed of a header depending on the communication protocol, and a SOAP envelope including a SOAP header (arbitrary element) and a SOAP body (essential element). The SOAP header describes the destination of the SOAP message, and the SOAP body describes the information that the final message recipient will process. When creating a SOAP message that the computer PC1 or MFP 10 sends to the other party via the network, a SOAP body is created, operations and messages for managing the WSA are determined, and these are used as a SOAP header to create a SOAP envelope. Create and add HTTP headers. This completes the SOAP message for the network. On the other hand, when creating a SOAP message that the computer PC2 or MFP 10 transmits to the other party via USB, a SOAP body is created, a SOAP envelope without a SOAP header is created, and a header related to USB is added. In this way, a USB SOAP message is created. Here, as an example of the SOAP message, an example of the SOAP message of the fax status acquisition request (see (1) above) is shown in FIGS. 4 is for the network, and FIG. 5 is for the USB. As is apparent from FIGS. 4 and 5, the contents of the SOAP body are the same for any SOAP message. “FAXout” means fax transmission.

図2の共通ドメイン68のNWドメイン間通信ドライバ70は、コンピュータPC1からネットワーク、NWドメイン62及びドメインコミュニケーションを介してSOAPメッセージを受信すると、SOAPヘッダを解読したあと、NWドメイン間通信バッファ72の受信用領域72aにSOAPボディのみを保存する。また、共通ドメイン68のUSB通信ドライバ74は、コンピュータPC2からUSBを介してSOAPメッセージを受信すると、USB通信バッファ76の受信用領域76aにSOAPボディのみを保存する。   2 receives the SOAP message from the computer PC1 via the network, the NW domain 62, and the domain communication, after decoding the SOAP header, the NW interdomain communication driver 70 in the common domain 68 receives the NW interdomain communication buffer 72. Only the SOAP body is stored in the use area 72a. In addition, when the USB communication driver 74 of the common domain 68 receives a SOAP message from the computer PC2 via USB, it stores only the SOAP body in the reception area 76a of the USB communication buffer 76.

共通ドメイン68のアービタ78は、MFP10の図示しないメインスイッチがオンされたあと、図6に示す調停ルーチンを実行する。この調停ルーチンが開始されると、アービタ78は、監視対象のI/FがネットワークI/F26かUSBI/F28かを判定する(ステップS100)。初期設定では、ネットワークI/F26が監視対象として設定される。続いて、監視対象のI/Fの通信バッファの受信用領域にリクエストが保存されているか否かを判定する(ステップS110)。具体的には、監視対象のI/FがネットワークI/F26の場合には、NWドメイン間通信バッファ72の受信用領域72aにリクエストが保存されているか否かを判定し、監視対象のI/FがUSBI/F28の場合には、USB通信バッファ76の受信用領域72aにリクエストが保存されているか否かを判定する。そして、ステップS110でリクエストが保存されていたならば、アービタ78はそのリクエストにI/F情報を付けて共有バッファ80の受信用領域80aへ移す(ステップS120)。ここで、I/F情報とは、監視対象となっているI/Fを表す情報である。   The arbiter 78 of the common domain 68 executes an arbitration routine shown in FIG. 6 after a main switch (not shown) of the MFP 10 is turned on. When this arbitration routine is started, the arbiter 78 determines whether the I / F to be monitored is the network I / F 26 or the USB I / F 28 (step S100). In the initial setting, the network I / F 26 is set as a monitoring target. Subsequently, it is determined whether or not the request is stored in the reception area of the communication buffer of the I / F to be monitored (step S110). Specifically, when the I / F to be monitored is the network I / F 26, it is determined whether the request is stored in the reception area 72a of the inter-NW domain communication buffer 72, and the I / F to be monitored is determined. When F is USB I / F 28, it is determined whether or not the request is stored in the reception area 72a of the USB communication buffer 76. If the request is stored in step S110, the arbiter 78 adds the I / F information to the request and moves to the reception area 80a of the shared buffer 80 (step S120). Here, the I / F information is information representing an I / F that is a monitoring target.

ここで、共有バッファ80の受信用領域80aにリクエストが格納されると、コールバックが発生してファックス送信用のアプリケーション82が共有バッファ80の受信用領域80aのリクエストとI/F情報を取りに行く。リクエストを取得したアプリケーション82は、そのリクエストの内容つまりSOAPボディの内容にしたがって処理を実行する。例えば、プリンタ状態取得のリクエスト(前出の(1)参照)の場合には、アプリケーション82は、MFP10の状態(待機状態、印刷実行中、読取実行中、ファックス送信中、ファックス受信中)を把握し、その結果を表すレスポンスを作成する処理を実行する。このとき、アプリケーション82は、そのリクエストがネットワークI/F26を介して受信したものかUSBI/F28を介して受信したものかを意識せずに処理を実行する。つまり、アプリケーション82は、リクエストと共にI/F情報も取得するが、そのI/F情報はそのまま保持しているだけである。その後、アプリケーション82は、作成したレスポンスをI/F情報と合わせて共有バッファ80の送信用領域80bへ書き込む。   Here, when a request is stored in the reception area 80a of the shared buffer 80, a callback occurs and the fax transmission application 82 retrieves the request and I / F information in the reception area 80a of the shared buffer 80. go. The application 82 that has acquired the request executes processing according to the content of the request, that is, the content of the SOAP body. For example, in the case of a printer status acquisition request (see (1) above), the application 82 knows the status of the MFP 10 (standby state, executing printing, executing reading, transmitting fax, receiving fax). Then, a process for creating a response representing the result is executed. At this time, the application 82 executes processing without being conscious of whether the request is received via the network I / F 26 or the USB I / F 28. That is, the application 82 acquires I / F information together with the request, but only holds the I / F information as it is. Thereafter, the application 82 writes the created response together with the I / F information in the transmission area 80b of the shared buffer 80.

さて、アービタ78は、ステップS120のあと、共有バッファ80の送信用領域80bにレスポンスが保存されたか否かを判定し(ステップS130)、レスポンスが保存されていなければそのまま待機する。一方、レスポンスが保存されていたならば、そのレスポンスに付いているI/F情報に基づいて返信先の通信バッファを認識し(ステップS140)、そのレスポンスを共有バッファ80の送信用領域80bから返信先の通信バッファの送信用領域へを移す(ステップS150)。具体的には、I/F情報がネットワークI/F26を表す場合には、レスポンスをNWドメイン間通信バッファ72の送信用領域72bへ移し、I/F情報がUSBI/F28を表す場合には、レスポンスをUSB通信バッファ76の送信用領域72bへ移す。その後、監視対象のI/Fを切り替え(ステップS160)、再びステップS110に戻る。こうすることにより、一方のI/Fで受信したリクエストの処理が終了したら、次はもう一方のI/Fで受信したリクエストの処理を優先して実行することになる。なお、ステップS110で監視対象の通信バッファの受信用領域にリクエストがなかったならば、監視対象のI/Fを切り替え(ステップS170)、再びステップS110に戻る。このように、アービタ78は、アプリケーション82が一つのリクエストに対するレスポンスを返すまで次のリクエストを取りに行かない(つまり、リクエストに対する処理が終了するまでは次のリクエストが格納されたとしても放置する)ため、アプリケーション82の処理におけるリクエスト−レスポンスのシリアライズが保持される。   Now, after step S120, the arbiter 78 determines whether or not a response is stored in the transmission area 80b of the shared buffer 80 (step S130). If the response is not stored, the arbiter 78 stands by. On the other hand, if the response is stored, the communication buffer of the reply destination is recognized based on the I / F information attached to the response (step S140), and the response is returned from the transmission area 80b of the shared buffer 80. Move to the transmission area of the previous communication buffer (step S150). Specifically, when the I / F information represents the network I / F 26, the response is moved to the transmission area 72b of the inter-NW domain communication buffer 72, and when the I / F information represents the USB I / F 28, The response is moved to the transmission area 72b of the USB communication buffer 76. Thereafter, the I / F to be monitored is switched (step S160), and the process returns to step S110 again. In this way, when the processing of the request received at one I / F is completed, the processing of the request received at the other I / F is preferentially executed. If there is no request in the reception area of the communication buffer to be monitored in step S110, the monitoring target I / F is switched (step S170), and the process returns to step S110 again. As described above, the arbiter 78 does not take the next request until the application 82 returns a response to the one request (that is, the next request is stored until the processing for the request is completed). Therefore, request-response serialization in the processing of the application 82 is retained.

そして、NWドメイン間通信バッファ72の送信用領域72bに保存されたレスポンスは、NWドメイン間通信ドライバ70によりドメインコミュニケーション、NWドメイン62及びネットワークを介してコンピュータPC1へ送信される。これにより、コンピュータPC1は、MFP10へ送ったリクエストに対するレスポンスを受信する。一方、USB通信バッファ76の送信用領域76bに保存されたレスポンスは、USB通信ドライバ74によりUSBを介してコンピュータPC2へ送信される。これにより、コンピュータPC2は、MFP10へ送ったリクエストに対するレスポンスを受信する。   The response stored in the transmission area 72b of the inter-NW domain communication buffer 72 is transmitted to the computer PC1 by the inter-NW domain communication driver 70 via the domain communication, the NW domain 62, and the network. As a result, the computer PC1 receives a response to the request sent to the MFP 10. On the other hand, the response stored in the transmission area 76b of the USB communication buffer 76 is transmitted to the computer PC2 by the USB communication driver 74 via the USB. As a result, the computer PC2 receives a response to the request sent to the MFP 10.

次に、ネットワークを介してコンピュータPC1からリクエストを受信したときのアービタ78及びアプリケーション82の動作を図7を用いて説明する。図7は、MFP10の内部処理手順を表す説明図である。ここでは、NWドメイン間通信バッファ72の受信用領域72aにリクエストが保存されているものとして説明する。(a)アービタ78は、NWドメイン間通信バッファ72の受信用領域72aにリクエストが保存されていることを見つけると、そのリクエストをI/F情報(ここではネットワークI/Fを表す情報)を付けて共有バッファ80の受信用領域80aへ移す。(b)共有バッファ80の受信用領域80aにリクエストが格納されると、コールバックが発生する。(c)コールバックによりアプリケーション82が共有バッファ80の受信用領域80aのリクエストとI/F情報を取りに行く。(d)リクエストを取得したアプリケーション82は、そのリクエストつまりSOAPボディをパースし、その内容にしたがって処理を実行する。(e)アプリケーション82は、レスポンスを作成し、そのレスポンスをI/F情報と合わせて共有バッファ80の送信用領域80bへ書き込む。(f)アービタ78は、共有バッファ80の送信用領域80bにレスポンスが保存されていることを見つけると、そのレスポンスに付いているI/F情報を基に返信先がネットワークI/Fであることを認識し、そのレスポンスを共有バッファ80の送信用領域80bからNWドメイン間通信バッファ72の送信用領域72bへ移す。その後、アービタ78は、次のリクエストがUSB通信バッファ76の受信用領域76aに保存されているか否かを見に行く。   Next, operations of the arbiter 78 and the application 82 when a request is received from the computer PC1 via the network will be described with reference to FIG. FIG. 7 is an explanatory diagram illustrating an internal processing procedure of the MFP 10. Here, description will be made assuming that the request is stored in the reception area 72a of the inter-NW domain communication buffer 72. (A) When the arbiter 78 finds that the request is stored in the reception area 72a of the NW inter-domain communication buffer 72, the arbiter 78 attaches the request with I / F information (information indicating the network I / F here). To the reception area 80a of the shared buffer 80. (B) When a request is stored in the reception area 80a of the shared buffer 80, a callback occurs. (C) By the callback, the application 82 obtains the request and the I / F information of the reception area 80a of the shared buffer 80. (D) The application 82 that has acquired the request parses the request, that is, the SOAP body, and executes processing according to the content. (E) The application 82 creates a response and writes the response together with the I / F information in the transmission area 80b of the shared buffer 80. (F) When the arbiter 78 finds that the response is stored in the transmission area 80b of the shared buffer 80, the reply destination is the network I / F based on the I / F information attached to the response. And the response is transferred from the transmission area 80b of the shared buffer 80 to the transmission area 72b of the inter-NW domain communication buffer 72. Thereafter, the arbiter 78 checks whether or not the next request is stored in the reception area 76a of the USB communication buffer 76.

ここで、本実施形態の構成要素と本発明の構成要素との対応関係を明らかにする。本実施形態のネットワークI/F26が本発明の第1通信手段に相当し、USBI/F28が第2通信手段に相当し、NWドメイン間通信バッファ72が第1バッファに相当し、USB通信バッファ76が第2バッファに相当し、アプリケーション82を格納するROMがアプリケーション格納手段に相当し、アービタ78が調停手段に相当する。   Here, the correspondence between the components of the present embodiment and the components of the present invention will be clarified. The network I / F 26 of the present embodiment corresponds to the first communication unit of the present invention, the USB I / F 28 corresponds to the second communication unit, the inter-NW domain communication buffer 72 corresponds to the first buffer, and the USB communication buffer 76. Corresponds to the second buffer, the ROM for storing the application 82 corresponds to the application storage means, and the arbiter 78 corresponds to the arbitration means.

以上詳述した本実施形態のMFP20によれば、ネットワークI/F26に接続されたコンピュータPC1からのリクエストとUSBI/F28に接続されたコンピュータPC2からのリクエストが競合したとしても、アプリケーション82は、一つのリクエストに対する処理を終了するまでは次のリクエストに対する処理を実行しない。したがって、ネットワークI/F26に接続されたコンピュータPC1やUSBI/F28に接続されたコンピュータPC2からのリクエストが競合したとしても適切に対応することができる。   According to the MFP 20 of the present embodiment described in detail above, even if a request from the computer PC1 connected to the network I / F 26 and a request from the computer PC2 connected to the USB I / F 28 conflict, the application 82 Until the processing for one request is completed, the processing for the next request is not executed. Therefore, even if requests from the computer PC1 connected to the network I / F 26 and the computer PC2 connected to the USB I / F 28 compete, it can be appropriately handled.

また、従来は、ネットワークI/FとUSBI/Fといった互いに異なるインタフェースを複数備える場合には、プロトコルスタックの特性が各々異なるため、プロトコルスタックの一部を共通化しようとする思想がなかったが、本実施形態ではアプリケーション82を共通化したため、各プロトコルごとに個別にアプリケーションを開発する場合に比べてコストの低減化を図ることができる。   Further, conventionally, when a plurality of different interfaces such as a network I / F and a USB I / F are provided, the characteristics of the protocol stack are different, so there was no idea to share a part of the protocol stack. In the present embodiment, since the application 82 is shared, the cost can be reduced as compared with the case where the application is individually developed for each protocol.

更に、ネットワークI/F26とUSBI/F28の一方で受信したリクエストに対する処理が終了したあとは、もう一方で受信したリクエストに対する処理を優先的に実行するため、各インタフェースに接続されたコンピュータPC1,PC2からのリクエストを平等に処理することができる。   Further, after the processing for the request received by one of the network I / F 26 and the USB I / F 28 is completed, the processing for the request received by the other is performed preferentially, so that the computers PC1 and PC2 connected to each interface Can be processed equally.

更にまた、インタフェースにかかわらず共通のSOAPボディを共有バッファ80の受信用領域80aに移動するのをきっかけとしてアプリケーション82がそのSOAPボディを解釈して処理を実行するため、アプリケーション82はインタフェースの種類を意識することなく処理を実行することができる。   Furthermore, since the application 82 interprets the SOAP body and executes the process by moving the common SOAP body to the reception area 80a of the shared buffer 80 regardless of the interface, the application 82 determines the type of interface. Processing can be executed without being conscious.

そしてまた、NWドメイン間通信バッファ72及びUSB通信バッファ76はそれぞれ送信用領域72b、76bを備えているため、リクエストの送信元へネットワーク又はUSBを介してレスポンスを返すことが可能となる。   Further, since the inter-NW domain communication buffer 72 and the USB communication buffer 76 have transmission areas 72b and 76b, respectively, it becomes possible to return a response to the request source via the network or USB.

なお、本発明は上述した実施形態に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の態様で実施し得ることはいうまでもない。   It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that the present invention can be implemented in various modes as long as it belongs to the technical scope of the present invention.

例えば、上述した実施形態では、アプリケーション82はファックス送信処理を実行するものとして説明したが、特にファックス送信処理に限定されるものではなく、例えば、印刷処理を実行するものであってもよいし、画像データ保存処理を実行するものであってもよい。   For example, in the above-described embodiment, the application 82 is described as executing the fax transmission process. However, the application 82 is not particularly limited to the fax transmission process. For example, the application 82 may execute the print process. An image data storage process may be executed.

上述した実施形態では、共有バッファ80の受信用領域80aにリクエストが保存されると、そのリクエストはコールバック形式によってアプリケーション82に処理されるものとしたが、アプリケーション82が受信用領域80aにリクエストが保存されたか否かを監視し、リクエストが保存されたならばそのリクエストを読み出して処理してもよい。   In the above-described embodiment, when a request is stored in the reception area 80a of the shared buffer 80, the request is processed by the application 82 in the callback format. However, the application 82 receives a request in the reception area 80a. Whether the request has been saved may be monitored, and if the request is saved, the request may be read and processed.

上述した実施形態では、MFP10にネットワークを介してコンピュータPC1が接続され、USBを介してコンピュータPC2が接続されている場合を例示したが、2つの通信路は両方ともネットワークであってもよいし両方ともUSBであってもよい。また、ネットワークとUSBとが複数混在していてもよい。また、コンピュータPC1,PC2の代わりにデジタルカメラや携帯電話などの電子機器が接続されていてもよい。   In the embodiment described above, the case where the computer PC1 is connected to the MFP 10 via the network and the computer PC2 is connected via the USB has been exemplified. However, both of the two communication paths may be a network, or both. Both may be USB. A plurality of networks and USBs may be mixed. Further, electronic devices such as a digital camera and a mobile phone may be connected instead of the computers PC1 and PC2.

上述した実施形態では、MFP10を本発明のリクエスト処理装置として説明したが、複合機能を持たないプリンタやスキャナ、ファクシミリ装置などを本発明のリクエスト装置としてもよい。   In the above-described embodiment, the MFP 10 has been described as the request processing apparatus of the present invention, but a printer, a scanner, a facsimile apparatus, or the like that does not have a composite function may be used as the request apparatus of the present invention.

マルチファンクションプリンタ(MFP)10の構成の概略を示す構成図。1 is a configuration diagram showing an outline of the configuration of a multifunction printer (MFP) 10. MFP10のメインコントローラ60を機能ブロックで表した説明図。FIG. 3 is an explanatory diagram showing the main controller 60 of the MFP 10 as functional blocks. SOAPメッセージの模式図。The schematic diagram of a SOAP message. ネットワーク用のSOAPメッセージの具体例を示す説明図。Explanatory drawing which shows the specific example of the SOAP message for networks. USB用のSOAPメッセージの具体例を示す説明図。Explanatory drawing which shows the specific example of the SOAP message for USB. 調停ルーチンのフローチャート。The flowchart of an arbitration routine. MFP10の内部処理手順を表す説明図。3 is an explanatory diagram illustrating an internal processing procedure of the MFP. FIG.

符号の説明Explanation of symbols

10 マルチファンクションプリンタ(MFP)、20 印刷モジュール、22 読取モジュール、24 ファックスモデム、26 ネットワークインタフェース、28 USBインタフェース、36 ガラス台、50 操作パネル、52 表示部、54 ボタン群、60 メインコントローラ、62 NWドメイン、64 NW通信ドライバ、66 NWドメイン間通信ドライバ、68 共通ドメイン、70 NWドメイン間通信ドライバ、72 ドメイン間通信バッファ、72a 受信用領域、72b 送信用領域、74 USB通信ドライバ、76 USB通信バッファ、76a 受信用領域、76b 送信用領域、78 アービタ、80 共有バッファ、80a 受信用領域、80b 送信用領域、82 アプリケーション、PC1,PC2 コンピュータ、S 記録紙。   10 Multifunction Printer (MFP), 20 Printing Module, 22 Reading Module, 24 Fax Modem, 26 Network Interface, 28 USB Interface, 36 Glass Stand, 50 Operation Panel, 52 Display Unit, 54 Button Group, 60 Main Controller, 62 NW Domain, 64 NW communication driver, 66 NW inter-domain communication driver, 68 Common domain, 70 NW inter-domain communication driver, 72 Inter-domain communication buffer, 72a Reception area, 72b Transmission area, 74 USB communication driver, 76 USB communication buffer 76a reception area, 76b transmission area, 78 arbiter, 80 shared buffer, 80a reception area, 80b transmission area, 82 applications, PC1, PC2 computer , S recording paper.

Claims (6)

第1通信手段と、
第2通信手段と、
前記第1通信手段で受信されたリクエストを保存可能な第1バッファと、
前記第2通信手段で受信されたリクエストを保存可能な第2バッファと、
前記第1及び第2通信手段で受信されたリクエストに対する所定の処理を実行可能な共通のアプリケーションが格納されたアプリケーション格納手段と、
前記第1及び第2バッファのいずれかにリクエストが保存されているか否かを判定し、リクエストが保存されていたならば前記アプリケーション格納手段から前記共通のアプリケーションを呼び出して該共通のアプリケーションに前記リクエストに対する所定の処理を実行させると共に、該所定の処理が終了するまでは前記第1及び第2バッファのいずれかに次のリクエストが格納されたとしても放置する調停手段と、
を備えたリクエスト処理装置。
First communication means;
A second communication means;
A first buffer capable of storing a request received by the first communication means;
A second buffer capable of storing a request received by the second communication means;
Application storage means in which a common application capable of executing a predetermined process for the requests received by the first and second communication means is stored;
It is determined whether or not a request is stored in one of the first and second buffers. If the request is stored, the common application is called from the application storage unit and the request is sent to the common application. An arbitration unit that executes a predetermined process for the first and second buffers until the predetermined process ends, even if the next request is stored in one of the first and second buffers;
A request processing apparatus comprising:
前記第1通信手段は、所定のプロトコルに従って通信する手段であり、
前記第2通信手段は、前記第1通信手段とは異なるプロトコルに従って通信する手段である、
請求項1に記載のリクエスト処理装置。
The first communication means is means for communicating according to a predetermined protocol,
The second communication means is means for communicating according to a protocol different from that of the first communication means.
The request processing apparatus according to claim 1.
前記第1通信手段は、ネットワークプロトコルに従って通信する手段であり、
前記第2通信手段は、USBプロトコルに従って通信する手段である、
請求項2に記載のリクエスト処理装置。
The first communication means is means for communicating according to a network protocol,
The second communication means is means for communicating according to a USB protocol.
The request processing apparatus according to claim 2.
前記調停手段は、前記所定の処理が終了したあと、該所定の処理が前記第1及び第2バッファの一方のリクエストに対する処理だったときには、前記第1及び第2バッファの他方に保存されているリクエストを優先的に処理する、
請求項1〜3のいずれか1項に記載のリクエスト処理装置。
When the predetermined process is a process for one request of the first and second buffers after the predetermined process is completed, the arbitrating means is stored in the other of the first and second buffers. Process requests preferentially,
The request processing device according to claim 1.
請求項1〜4のいずれか1項に記載のリクエスト処理装置であって、
前記第1及び第2バッファとの間でデータの移動が可能であり前記共通のアプリケーションがアクセス可能な共有バッファ
を備え、
前記調停手段は、前記第1及び第2バッファのいずれかにリクエストが保存されているか否かを判定し、リクエストが保存されていたならば該リクエストを前記共有バッファへ移動し、該共有バッファへのリクエストの移動をきっかけとして前記アプリケーション格納手段から前記共通のアプリケーションを呼び出して該共通のアプリケーションに前記リクエストに対する所定の処理を実行させる、
リクエスト処理装置。
The request processing device according to any one of claims 1 to 4,
A shared buffer capable of moving data between the first and second buffers and accessible by the common application;
The arbitration unit determines whether or not a request is stored in one of the first and second buffers. If the request is stored, the arbitration unit moves the request to the shared buffer and transfers the request to the shared buffer. Calling the common application from the application storage means triggered by the movement of the request, causing the common application to execute predetermined processing on the request,
Request processing device.
前記第1バッファは、前記第1通信手段へ送信すべきレスポンスも保存可能であり、
前記第2バッファは、前記第2通信手段へ送信すべきレスポンスも保存可能であり、
前記共通のアプリケーションは、前記所定の処理を実行したあとレスポンスを生成し前記リクエストに付された情報と共に前記共有バッファへ保存する機能を有し、
前記調停手段は、前記第1及び第2バッファのいずれかにリクエストが保存されているか否かを判定し、前記第1及び第2通信手段のいずれのリクエストかを識別可能な識別情報を付して前記リクエストに付けて前記共有バッファへ移動し、該共有バッファへのリクエストの移動をきっかけとして前記アプリケーション格納手段から前記共通のアプリケーションを呼び出して該共通のアプリケーションに前記リクエストに対する所定の処理を実行させると共に、前記リクエストに対するレスポンスが前記識別情報を付されて前記共有バッファに保存されるまでは前記第1及び第2バッファのいずれかに次のリクエストが格納されたとしても放置し、前記共有バッファに前記レスポンスが前記識別情報を付されて前記共有バッファに保存されたあとは該識別情報に基づいてリクエストの送信元が前記第1及び第2通信手段のいずれであるかを判定し、該判定の結果に基づいて前記レスポンスを前記第1及び第2バッファのいずれかに保存する、
請求項5に記載のリクエスト処理装置。
The first buffer can store a response to be transmitted to the first communication means,
The second buffer can also store a response to be transmitted to the second communication means,
The common application has a function of generating a response after executing the predetermined processing and storing it in the shared buffer together with information attached to the request,
The arbitration unit determines whether a request is stored in one of the first and second buffers, and adds identification information that can identify which request is the first or second communication unit. The request is moved to the shared buffer in response to the request, and the common application is called from the application storage means triggered by the movement of the request to the shared buffer to cause the common application to execute predetermined processing on the request. In addition, until a response to the request is attached with the identification information and stored in the shared buffer, even if the next request is stored in one of the first and second buffers, The response is stored in the shared buffer with the identification information Is determined based on the identification information whether the request source is the first or second communication means, and based on the result of the determination, the response is either the first buffer or the second buffer. To save,
The request processing apparatus according to claim 5.
JP2008288090A 2008-11-10 2008-11-10 Request processing device Active JP5453772B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008288090A JP5453772B2 (en) 2008-11-10 2008-11-10 Request processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008288090A JP5453772B2 (en) 2008-11-10 2008-11-10 Request processing device

Publications (2)

Publication Number Publication Date
JP2010114848A true JP2010114848A (en) 2010-05-20
JP5453772B2 JP5453772B2 (en) 2014-03-26

Family

ID=42303025

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008288090A Active JP5453772B2 (en) 2008-11-10 2008-11-10 Request processing device

Country Status (1)

Country Link
JP (1) JP5453772B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05224848A (en) * 1992-02-14 1993-09-03 Canon Inc Printer
JPH08185286A (en) * 1994-12-28 1996-07-16 Nec Corp Printer controller
JP2006044169A (en) * 2004-08-06 2006-02-16 Canon Inc Printing device and method of controlling the same
JP2006260596A (en) * 2001-09-28 2006-09-28 Ricoh Co Ltd Drawing information acquiring method, program for executing this method by computer, and image forming device
JP2007133778A (en) * 2005-11-11 2007-05-31 Casio Electronics Co Ltd Printer and print system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05224848A (en) * 1992-02-14 1993-09-03 Canon Inc Printer
JPH08185286A (en) * 1994-12-28 1996-07-16 Nec Corp Printer controller
JP2006260596A (en) * 2001-09-28 2006-09-28 Ricoh Co Ltd Drawing information acquiring method, program for executing this method by computer, and image forming device
JP2006044169A (en) * 2004-08-06 2006-02-16 Canon Inc Printing device and method of controlling the same
JP2007133778A (en) * 2005-11-11 2007-05-31 Casio Electronics Co Ltd Printer and print system

Also Published As

Publication number Publication date
JP5453772B2 (en) 2014-03-26

Similar Documents

Publication Publication Date Title
EP2018036A2 (en) Facsimile transmission over a network
JP2007208712A (en) Internet facsimile equipment and communication processing program
JP2005192022A (en) Image processor, control method and control program of image processor
JP2010140160A (en) Electronic apparatus and information processing system
US20060282531A1 (en) Network interface apparatus for controlling image data forwarding according to performance function of each address and method thereof
US20040252323A1 (en) Image processing system and image scanning device
JP5453772B2 (en) Request processing device
JP6015177B2 (en) Image information transmitting apparatus, image information transmitting / receiving system and program
JP2004252863A (en) Information processor and its control method and control program
US8488162B2 (en) Communication apparatus using reconnection request, method of controlling the same, and storage medium
JP2009188500A (en) Multifunction printer selection device, multifunction printer and job processing method
JP2010232973A (en) Image transfer system, data transfer method, and program
JP2008141489A (en) E-mail transmitter
CN100556063C (en) Image processing apparatus
US11108925B2 (en) Multi-function peripheral and image recording apparatus
JP2006140812A (en) Information processing apparatus and data transmission program
JP2008252344A (en) Communication apparatus
JP4334547B2 (en) Image forming apparatus
JP2928940B2 (en) Data communication method
JP2007266832A (en) Facsimile machine
US20100053666A1 (en) Image communication apparatus and computer readable medium
JP2019216451A (en) Processing device, processing method, and program
JP2001197247A (en) Image data transmitter-receiver and communication system
JP2006140684A (en) Program
JP2019087928A (en) Image reading device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110808

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130903

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131101

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131223

R150 Certificate of patent or registration of utility model

Ref document number: 5453772

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350