JP2016066162A - Information processing device, system and program - Google Patents

Information processing device, system and program Download PDF

Info

Publication number
JP2016066162A
JP2016066162A JP2014193644A JP2014193644A JP2016066162A JP 2016066162 A JP2016066162 A JP 2016066162A JP 2014193644 A JP2014193644 A JP 2014193644A JP 2014193644 A JP2014193644 A JP 2014193644A JP 2016066162 A JP2016066162 A JP 2016066162A
Authority
JP
Japan
Prior art keywords
message
unit
software
information processing
received
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2014193644A
Other languages
Japanese (ja)
Other versions
JP6471439B2 (en
Inventor
洋 劉
Hiroshi Ryu
洋 劉
大竹 晋
Susumu Otake
晋 大竹
芳裕 竹下
Yoshihiro Takeshita
芳裕 竹下
石川 智久
Tomohisa Ishikawa
智久 石川
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2014193644A priority Critical patent/JP6471439B2/en
Publication of JP2016066162A publication Critical patent/JP2016066162A/en
Application granted granted Critical
Publication of JP6471439B2 publication Critical patent/JP6471439B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce a processing load caused by re-transmission in the case where a message is re-transmitted from one software to another software.SOLUTION: Generation means 101 generates a message about processing executed by an information processing device 10. First transmission means 102 transmits a message generated by the generation means 101 to software functioning as a web client together with a message identifier identifying the message. When a re-transmission request including a message identifier is received from the software, on the basis of the message identifier included in the received re-transmission request, second transmission means 103 identifies a message, from among messages generated by the generation means 101, which is not received by the software and satisfies a condition in which attribute of the message is determined in advance. The second transmission means 103 transmits the identified message to the software.SELECTED DRAWING: Figure 7

Description

本発明は、情報処理装置、システム及びプログラムに関する。   The present invention relates to an information processing apparatus, system, and program.

特許文献1には、画像形成装置の操作部と外部情報端末の表示部とにおいて操作パネルとしての表示画面データを表示する技術が記載されている。   Patent Document 1 describes a technique for displaying display screen data as an operation panel on an operation unit of an image forming apparatus and a display unit of an external information terminal.

特開2013−256016号公報JP2013-256016A

本発明は、一のソフトウェアから他のソフトウェアへメッセージが再送される場合の再送に起因する処理負荷を軽減することを目的とする。   An object of the present invention is to reduce a processing load caused by retransmission when a message is retransmitted from one software to another software.

本発明の請求項1に係る情報処理装置は、メッセージを生成する生成手段と、前記メッセージおよび当該メッセージのメッセージ識別子をクライアントとなるソフトウェアに送信する第1送信手段と、前記ソフトウェアから再送要求を受信した場合、当該再送要求に含まれるメッセージ識別子に基づいて、前記生成されたメッセージのうち、当該ソフトウェアが受信しておらず、かつ、属性が条件を満たすメッセージを前記ソフトウェアへ送信する第2送信手段とを有することを特徴とする。   An information processing apparatus according to claim 1 of the present invention receives a generation request for generating a message, a first transmission unit for transmitting the message and a message identifier of the message to software as a client, and a retransmission request from the software In this case, based on the message identifier included in the retransmission request, second transmission means for transmitting, to the software, a message that is not received by the software and that satisfies the attribute, among the generated messages. It is characterized by having.

本発明の請求項2に係る情報処理装置は、請求項1に記載の構成において、前記生成されたメッセージの少なくとも一部を、前記メッセージ識別子および当該メッセージの送信先であるソフトウェアを識別するクライアント識別子と対応付けて記憶手段に記憶する記憶制御手段と、前記記憶手段に記憶されたメッセージの中から、前記受信された再送要求に含まれるメッセージ識別子に基づいて、前記ソフトウェアが受信していないメッセージを特定する第1特定手段と、前記第1特定手段により特定されたメッセージの中から、当該メッセージの属性が予め定められた条件を満たすものを特定する第2特定手段とを更に有し、前記第2送信手段は、前記第2特定手段により特定されたメッセージを前記ソフトウェアへ送信することを特徴とする。   An information processing apparatus according to a second aspect of the present invention is the information processing apparatus according to the first aspect, wherein at least a part of the generated message is a client identifier that identifies the message identifier and software that is a transmission destination of the message. A storage control unit that stores the message in the storage unit in association with a message that is not received by the software based on a message identifier included in the received retransmission request from among the messages stored in the storage unit. A first specifying means for specifying; and a second specifying means for specifying, from among the messages specified by the first specifying means, an attribute of the message that satisfies a predetermined condition, 2 transmitting means transmits the message specified by the second specifying means to the software. That.

本発明の請求項3に係る情報処理装置は、請求項1に記載の構成において、前記生成されたメッセージのうち、当該メッセージの属性が予め定められた条件を満たすものを特定する第2特定手段と、前記第2特定手段により特定されたメッセージを、当該メッセージを識別するメッセージ識別子および当該メッセージの送信先であるソフトウェアを識別するクライアント識別子と対応付けて記憶手段に記憶する記憶制御手段と、前記記憶手段に記憶されたメッセージの中から、前記受信された再送要求に含まれるメッセージ識別子に基づいて、前記再送要求の送信元であるソフトウェアが受信していないメッセージを特定する第1特定手段とを更に有し、前記第2送信手段は、前記第1特定手段により特定されたメッセージを前記ソフトウェアへ送信することを特徴とする。   The information processing apparatus according to claim 3 of the present invention is the information processing apparatus according to claim 1, wherein, in the configuration according to claim 1, a second specifying unit that specifies, among the generated messages, a message whose attribute satisfies a predetermined condition. A storage control unit that stores the message specified by the second specifying unit in a storage unit in association with a message identifier that identifies the message and a client identifier that identifies software that is a transmission destination of the message; First specifying means for specifying a message that has not been received by software that is a transmission source of the retransmission request, based on a message identifier included in the received retransmission request, from among messages stored in the storage means; The second transmission means further includes the message specified by the first specification means with the software. And transmitting to.

本発明の請求項4に係る情報処理装置は、請求項2または3に記載の構成において、前記属性は、前記メッセージの重要度を示し、前記第2特定手段は、前記重要度が予め定められた閾値よりも高いメッセージを特定することを特徴とする。   The information processing apparatus according to claim 4 of the present invention is the configuration according to claim 2 or 3, wherein the attribute indicates the importance of the message, and the second specifying means has the importance determined in advance. A message that is higher than a threshold value is specified.

本発明の請求項5に係る情報処理装置は、請求項1ないし4のいずれか1項に記載の構成において、前記第2送信手段は、前記生成されたメッセージの中に、前記ソフトウェアが受信しておらず、かつ、前記属性が前記条件を満たすメッセージがない場合、前記ソフトウェアが受信済であって前記属性が前記条件を満たすメッセージを、当該ソフトウェアへ再送することを特徴とする。   In the information processing apparatus according to claim 5 of the present invention, in the configuration according to any one of claims 1 to 4, the second transmission means receives the software in the generated message. If there is no message whose attribute satisfies the condition, the software has been received and the message whose attribute satisfies the condition is retransmitted to the software.

本発明の請求項6に係る情報処理装置は、請求項2ないし4のいずれか1項に記載の構成において、前記第2特定手段は、前記メッセージが送信されてから経過した時間が予め定められた閾値以下であるメッセージを特定することを特徴とする。   In the information processing apparatus according to claim 6 of the present invention, in the configuration according to any one of claims 2 to 4, the second specifying means has a predetermined time elapsed since the message was transmitted. A message that is equal to or less than a threshold value is identified.

本発明の請求項7に係る情報処理装置は、請求項2に記載の構成において、処理を実行する処理手段を更に有し、前記メッセージは、前記処理手段が実行する処理に関するメッセージであり、前記記憶制御手段は、前記生成されたメッセージの少なくとも一部を、前記処理を識別する処理識別子および前記メッセージ識別子と対応付けて前記記憶手段に記憶し、前記第2特定手段は、前記記憶手段に記憶されたメッセージの中に前記処理が完了した旨を示すメッセージがある場合、当該メッセージを特定し、当該処理の処理識別子に対応する他のメッセージを特定しないことを特徴とする。   An information processing apparatus according to claim 7 of the present invention further includes processing means for executing processing in the configuration according to claim 2, wherein the message is a message related to processing executed by the processing means, The storage control means stores at least a part of the generated message in the storage means in association with the process identifier for identifying the process and the message identifier, and the second specifying means stores in the storage means. If there is a message indicating that the processing is completed in the received message, the message is specified, and another message corresponding to the processing identifier of the processing is not specified.

本発明の請求項8に係る情報処理装置は、ウェブサーバとして機能するソフトウェアが実行する処理に関するメッセージを、当該メッセージを識別するメッセージ識別子とともに当該ソフトウェアから受信する受信手段と、前記受信されたメッセージ識別子を記憶手段に記憶する記憶制御手段と、前記メッセージの受信に関する状態が予め定められた条件を満たす場合、前記メッセージの再送要求であって前記メッセージ識別子を含む再送要求を送信する送信手段と、前記再送要求の応答として前記ソフトウェアから受信されるメッセージに対応する処理のうち、当該受信されたメッセージの属性が予め定められた条件を満たす処理を実行する処理実行手段とを有することを特徴とする。   An information processing apparatus according to claim 8 of the present invention includes: a receiving unit that receives a message related to processing executed by software functioning as a web server together with a message identifier that identifies the message; and the received message identifier Storage control means for storing in a storage means, and a transmission means for transmitting a retransmission request that is a message retransmission request and includes the message identifier when the state related to reception of the message satisfies a predetermined condition, and Among the processes corresponding to the message received from the software as a response to the retransmission request, the apparatus has a process execution means for executing a process in which the attribute of the received message satisfies a predetermined condition.

本発明の請求項9に係る情報処理装置は、請求項8に記載の構成において、前記属性は、前記メッセージの重要度を示し、前記処理実行手段は、前記重要度が予め定められた閾値よりも高いメッセージに対応する処理を実行することを特徴とする。   An information processing apparatus according to claim 9 of the present invention is the information processing apparatus according to claim 8, wherein the attribute indicates the importance of the message, and the processing execution means determines the importance from a predetermined threshold. The processing corresponding to a high message is executed.

本発明の請求項10に係る情報処理装置は、請求項8または9に記載の構成において、前記ソフトウェアに対して処理の実行要求を送信する第2送信手段を更に備え、前記処理実行手段は、前記実行要求に対応する処理が完了した旨を示すメッセージに対応する処理を実行し、当該メッセージ以外のメッセージに対応する処理を実行しないことを特徴とする。   An information processing apparatus according to a tenth aspect of the present invention, in the configuration according to the eighth or ninth aspect, further includes a second transmission unit that transmits a process execution request to the software, and the process execution unit includes: A process corresponding to a message indicating that the process corresponding to the execution request is completed is executed, and a process corresponding to a message other than the message is not executed.

本発明の請求項11に係るシステムは、第1情報処理装置と、第2情報処理装置とを有し、前記第1情報処理装置は、ウェブサーバとして機能する第1ソフトウェアが実行する処理に関するメッセージを、当該メッセージを識別するメッセージ識別子とともに当該第1ソフトウェアから受信する受信手段と、前記受信されたメッセージ識別子を記憶手段に記憶する記憶制御手段と、前記メッセージの受信に関する状態が予め定められた条件を満たす場合、前記メッセージの再送要求であって前記メッセージ識別子を含む再送要求を送信する第1送信手段と、前記再送要求の応答として前記第1ソフトウェアから受信されるメッセージに対応する処理のうち、当該受信されたメッセージの属性が予め定められた条件を満たす処理を実行する処理実行手段とを備え、前記第2情報処理装置は、メッセージを生成する生成手段と、前記メッセージおよび当該メッセージのメッセージ識別子をクライアントとなるソフトウェアに送信する第2送信手段と、前記ソフトウェアから再送要求を受信した場合、当該再送要求に含まれるメッセージ識別子に基づいて、前記生成されたメッセージのうち、当該ソフトウェアが受信しておらず、かつ、属性が条件を満たすメッセージを前記ソフトウェアへ送信する第3送信手段とを備えることを特徴とする。   A system according to an eleventh aspect of the present invention includes a first information processing device and a second information processing device, and the first information processing device is a message relating to processing executed by first software functioning as a web server. Receiving means for receiving the message together with the message identifier for identifying the message from the first software, storage control means for storing the received message identifier in the storage means, and a condition in which a state relating to reception of the message is predetermined. When satisfying, a first transmission means for transmitting a retransmission request that is a retransmission request of the message and including the message identifier, and a process corresponding to a message received from the first software as a response to the retransmission request, Processing that executes processing in which the attribute of the received message satisfies a predetermined condition The second information processing apparatus includes a generation unit that generates a message, a second transmission unit that transmits the message and a message identifier of the message to software that serves as a client, and a retransmission request from the software. If received, based on the message identifier included in the retransmission request, a third transmission for transmitting, to the software, a message that is not received by the software and that satisfies the attribute, among the generated messages. Means.

本発明の請求項12に係るプログラムは、コンピュータに、メッセージを生成するステップと、前記メッセージおよび当該メッセージのメッセージ識別子をクライアントとなるソフトウェアに送信するステップと、前記ソフトウェアから再送要求を受信した場合、当該再送要求に含まれるメッセージ識別子に基づいて、前記生成されたメッセージのうち、当該ソフトウェアが受信しておらず、かつ、属性が条件を満たすメッセージを前記ソフトウェアへ送信するステップとを実行させるためのプログラムであることを特徴とする。   When the program according to claim 12 of the present invention receives a retransmission request from the software, a step of generating a message to the computer, a step of transmitting the message and a message identifier of the message to software as a client, Based on the message identifier included in the resend request, the step of causing the generated software to receive a message that has not been received by the software and that satisfies the attribute condition to the software is executed. It is a program.

本発明の請求項13に係るプログラムは、コンピュータに、ウェブサーバとして機能するソフトウェアが実行する処理に関するメッセージを、当該メッセージを識別するメッセージ識別子とともに当該ソフトウェアから受信するステップと、前記受信されたメッセージ識別子を記憶手段に記憶するステップと、前記メッセージの受信に関する状態が予め定められた条件を満たす場合、前記メッセージの再送要求であって前記メッセージ識別子を含む再送要求を送信するステップと、前記再送要求の応答として前記ソフトウェアから受信されるメッセージに対応する処理のうち、当該受信されたメッセージの属性が予め定められた条件を満たす処理を実行するステップとを実行させるためのプログラムであることを特徴とする。   According to a thirteenth aspect of the present invention, there is provided a program for receiving a message related to processing executed by software functioning as a web server, together with a message identifier for identifying the message, from the software, and the received message identifier. Storing a message in a storage means, and when a state related to reception of the message satisfies a predetermined condition, a step of transmitting a retransmission request that is a retransmission request of the message and includes the message identifier; and A program for executing a step corresponding to a message received from the software as a response and executing a process in which an attribute of the received message satisfies a predetermined condition. .

請求項1、2、3、8、11、12および13に係る発明によれば、生成されたメッセージのうち、再送要求を受けた場合に属性が条件を満たすメッセージを送信しない場合と比べて、一のソフトウェアから他のソフトウェアへメッセージが再送される場合の再送に起因する処理負荷が軽減される。
請求項4および9に係る発明によれば、重要度が閾値よりも高いメッセージ以外のメッセージに対応する処理の実行が省略される。
請求項5に係る発明によれば、受信側のソフトウェアに再実行させたい処理を指定することができる。
請求項6に係る発明によれば、送信されてからの経過時間が閾値以下であるメッセージを特定しない場合と比べて、再送に起因する処理負荷が軽減される。
請求項7および10に係る発明によれば、処理が完了した旨を示すメッセージ以外のメッセージに対応する処理の実行が省略される。
According to the inventions according to claims 1, 2, 3, 8, 11, 12, and 13, compared to a case where, among the generated messages, a message that satisfies the attribute condition is not transmitted when a retransmission request is received, The processing load caused by retransmission when a message is retransmitted from one software to another is reduced.
According to the inventions according to claims 4 and 9, execution of processing corresponding to a message other than a message whose importance is higher than a threshold is omitted.
According to the fifth aspect of the invention, it is possible to designate a process that the receiving side software desires to re-execute.
According to the sixth aspect of the present invention, the processing load due to retransmission is reduced compared to a case where a message whose elapsed time after transmission is less than or equal to a threshold is not specified.
According to the seventh and tenth aspects of the present invention, execution of processing corresponding to a message other than a message indicating that processing has been completed is omitted.

実施形態の情報処理システムの全体構成の一例を示すブロック図1 is a block diagram showing an example of the overall configuration of an information processing system according to an embodiment 表示された操作画像の一例を示す図The figure which shows an example of the displayed operation image 表示された状況情報の例を示す図The figure which shows the example of the status information which is displayed ユーザ装置のハードウェア構成の一例を示すブロック図The block diagram which shows an example of the hardware constitutions of a user apparatus 操作装置のハードウェア構成の一例を示すブロック図Block diagram showing an example of the hardware configuration of the operating device 情報処理装置のハードウェア構成の一例を示すブロック図Block diagram showing an example of a hardware configuration of an information processing apparatus 情報処理システムの機能構成の一例を示すブロック図Block diagram showing an example of a functional configuration of an information processing system 情報処理システムの構成を表す階層構造の一例を示す図The figure which shows an example of the hierarchical structure showing the structure of an information processing system 機能部に含まれるモジュール群の一例を示す図The figure which shows an example of the module group contained in a function part 表示された状況情報の例を示す図The figure which shows the example of the status information which is displayed 表示された状況情報の例を示す図The figure which shows the example of the status information which is displayed 第1の方法が用いられる場合の各装置の動作の一例を示すシーケンス図The sequence diagram which shows an example of operation | movement of each apparatus in case the 1st method is used 第2の方法が用いられる場合の各装置の動作の一例を示すシーケンス図The sequence diagram which shows an example of operation | movement of each apparatus in case the 2nd method is used 第3の方法が用いられる場合の各装置の動作の一例を示すシーケンス図The sequence diagram which shows an example of operation | movement of each apparatus in case the 3rd method is used 第4の方法が用いられる場合の各装置の動作の一例を示すシーケンス図The sequence diagram which shows an example of operation | movement of each apparatus in case the 4th method is used コピー動作の一例を示すシーケンス図Sequence diagram showing an example of copy operation キャッシュ領域に格納されるデータの内容の一例を示す図The figure which shows an example of the content of the data stored in a cache area キャッシュ領域に格納されるデータの内容の一例を示す図The figure which shows an example of the content of the data stored in a cache area メッセージの再送要求動作の一例を示すシーケンス図Sequence diagram showing an example of message resend request operation 変形例の情報処理装置のハードウェア構成の一例を示す図The figure which shows an example of the hardware constitutions of the information processing apparatus of a modification 変形例の情報処理装置のハードウェア構成の一例を示す図The figure which shows an example of the hardware constitutions of the information processing apparatus of a modification

[1]実施形態
まず、図1から図11までを参照して、実施形態の情報処理システムの全体構成、ハードウェア構成及び機能構成について説明する。
[1] Embodiment First, the overall configuration, hardware configuration, and functional configuration of an information processing system according to an embodiment will be described with reference to FIGS. 1 to 11.

[1−1]全体構成
図1は、情報処理システムの全体構成の一例を示すブロック図である。図1では、通信回線2と、通信機器3と、情報処理装置10と、複数のユーザ装置20とを備える情報処理システム1が示されている。情報処理システム1は、本実施形態では、コピーやスキャン、FAX(ファクシミリ)、プリント(画像データの媒体への出力)などの機能をユーザに提供するシステムである。
[1-1] Overall Configuration FIG. 1 is a block diagram illustrating an example of the overall configuration of the information processing system. In FIG. 1, an information processing system 1 including a communication line 2, a communication device 3, an information processing device 10, and a plurality of user devices 20 is illustrated. In the present embodiment, the information processing system 1 is a system that provides a user with functions such as copying, scanning, FAX (facsimile), and printing (output of image data to a medium).

通信回線2は、例えばインターネットや移動体通信網、電話回線などのうちの少なくとも1つ以上を含む通信のためのシステムである。通信回線2は、自システムに接続された装置同士の通信を仲介する。通信回線2には、情報処理装置10及び通信機器3が接続されている。通信機器3は、通信機能を有する装置であり、本実施形態では無線LANの規格に準拠して無線通信を行う。通信機器3は、ユーザ装置20と無線通信を行う一方、通信回線2を介して情報処理装置10と通信する。つまり、情報処理装置10は、通信回線2及び通信機器3を介してユーザ装置20と通信する。なお、情報処理装置10とユーザ装置20は、通信機器3を介することなく、直接通信するように構成してもよい。   The communication line 2 is a system for communication including at least one of the Internet, a mobile communication network, a telephone line, and the like. The communication line 2 mediates communication between devices connected to the own system. An information processing apparatus 10 and a communication device 3 are connected to the communication line 2. The communication device 3 is a device having a communication function, and performs wireless communication in accordance with a wireless LAN standard in the present embodiment. The communication device 3 communicates with the information processing device 10 via the communication line 2 while performing wireless communication with the user device 20. That is, the information processing apparatus 10 communicates with the user apparatus 20 via the communication line 2 and the communication device 3. Note that the information processing apparatus 10 and the user apparatus 20 may be configured to communicate directly without using the communication device 3.

情報処理装置10は、媒体に画像を形成する画像形成処理や、媒体に形成された画像を読み取る画像読取処理などの処理を行う装置である。これらの処理は、前述したコピーやスキャン、FAX、プリントなどの機能がユーザに提供される際に行われる。情報処理装置10は、自装置の操作に用いられる操作装置30を有する。操作装置30は、情報処理装置10を操作するための装置であり、いわゆるコントロールパネルである。操作装置30は、情報処理装置10の筐体に固定されており、情報処理装置10が設置されている場所に来たユーザによって用いられる。操作装置30は、例えば液晶ディスプレイ等を有し、情報処理装置10を操作するための画像データ(以下「操作画像データ」という)を表示する。操作画像データに基づき表示される操作画像について、図2を参照して説明する。   The information processing apparatus 10 is an apparatus that performs processes such as an image forming process for forming an image on a medium and an image reading process for reading an image formed on the medium. These processes are performed when the above-described functions such as copying, scanning, FAX, and printing are provided to the user. The information processing apparatus 10 includes an operation device 30 that is used to operate the own device. The operation device 30 is a device for operating the information processing apparatus 10 and is a so-called control panel. The operation device 30 is fixed to the housing of the information processing device 10 and is used by a user who has come to a place where the information processing device 10 is installed. The operation device 30 includes, for example, a liquid crystal display and displays image data (hereinafter referred to as “operation image data”) for operating the information processing device 10. The operation image displayed based on the operation image data will be described with reference to FIG.

図2は、操作装置30に表示される操作画像の一例を示す図である。図2の例では、コピー機能を利用するための操作画像データ群A1が表示されている。操作画像データ群A1には、コピーを開始させるための操作画像データA11などが含まれている。ユーザは、操作画像データA11をタップする(軽く叩く)ことで、操作画像データA11に対応する操作、すなわちコピーを開始させる操作を行う。操作装置30は、表示した操作画像データに対して操作が行われると、その操作に対応した処理の要求を情報処理装置10に対して行う。操作画像データA11が操作された場合であれば、操作装置30は、コピー機能を提供するための処理(具体的には画像読取処理および画像形成処理を含む一連の処理。以下「コピー処理」という)を情報処理装置10に要求する。   FIG. 2 is a diagram illustrating an example of an operation image displayed on the operation device 30. In the example of FIG. 2, an operation image data group A1 for using the copy function is displayed. The operation image data group A1 includes operation image data A11 for starting copying. The user performs an operation corresponding to the operation image data A11, that is, an operation to start copying, by tapping (tapping) the operation image data A11. When an operation is performed on the displayed operation image data, the operation device 30 requests the information processing device 10 for processing corresponding to the operation. If the operation image data A11 is operated, the controller device 30 performs a process for providing a copy function (specifically, a series of processes including an image reading process and an image forming process; hereinafter referred to as “copy process”). ) To the information processing apparatus 10.

ユーザ装置20は、操作画像を表示し、表示した操作画像に対して操作が行われると、その操作に対応した処理の要求を情報処理装置10に対して行うという点で、操作装置30と共通している。ユーザ装置20は、例えばタブレット端末やパーソナルコンピュータなどであり、ユーザによって持ち運ばれて利用されるものでもよいし、机に設置されて利用されるものでもよい。また、情報処理装置10の操作に限らず、他の用途(会社の業務など)にも用いられてもよい。   The user device 20 displays the operation image, and when the operation is performed on the displayed operation image, the user device 20 makes a request for processing corresponding to the operation to the information processing device 10. doing. The user device 20 is, for example, a tablet terminal or a personal computer, and may be carried and used by a user or may be installed and used on a desk. Further, the present invention is not limited to the operation of the information processing apparatus 10 and may be used for other purposes (such as company business).

情報処理装置10は、操作装置30やユーザ装置20からの要求に基づいて処理を実行すると、実行している処理の状況を表す情報(以下「状況情報」という)をこれらの装置に送信することで、これらの装置に対して処理の状況を通知する。状況情報とは、例えば、コピー機能が利用される場合であれば、画像が読み取られた媒体の枚数や画像が形成された媒体の枚数などの情報である。   When the information processing apparatus 10 executes a process based on a request from the operation apparatus 30 or the user apparatus 20, the information processing apparatus 10 transmits information indicating the status of the process being executed (hereinafter referred to as “situation information”) to these apparatuses. Then, the processing status is notified to these devices. The status information is information such as the number of media on which an image is read and the number of media on which an image is formed, for example, when a copy function is used.

図3は、表示された状況情報の例を示す図である。情報処理装置10は、例えばコピー処理を実行した場合であれば、図3(a)に示すように、コピーが完了した枚数(部数及びページ数)を表す枚数情報C11や「コピーしています。」という文字列、「白黒」、「A4」、「100%」及び「ソート」というコピーのパラメータなどを含む状況情報C1を通知する。   FIG. 3 is a diagram illustrating an example of the displayed status information. For example, in the case of executing a copy process, the information processing apparatus 10 copies the number information C11 indicating the number of copies (number of copies and pages) as shown in FIG. ”And status information C1 including copy parameters such as“ monochrome ”,“ A4 ”,“ 100% ”, and“ sort ”.

また、情報処理装置10は、コピー処理が進んで要求された枚数のコピーが完了すると、図3(b)に示すように、要求された枚数の分のコピーが完了したことを表す枚数情報C21や「コピーが完了しました。」という文字列などを含む状況情報C2を送信する。なお、枚数情報C11及びC21は、コピーを要求された枚数を分母とし、そのうちコピーが完了した枚数を分子とする分数で表されている。このように、状況情報には、処理の進捗を表す情報や処理の結果を表す情報、処理に用いられるパラメータの情報などが含まれる。操作装置30及びユーザ装置20は、いずれも、通知された状況を図3に示すように表示する表示装置でもある。以下では、操作装置30及びユーザ装置20を区別しない場合には表示装置4という。   In addition, when the copy process proceeds and the requested number of copies is completed, the information processing apparatus 10, as shown in FIG. 3B, the number information C21 indicating that the requested number of copies has been completed. And status information C2 including a character string such as “Copy completed” is transmitted. Note that the number information C11 and C21 are expressed in fractions with the number of copies requested as a denominator and the number of copies completed as a numerator. As described above, the status information includes information indicating the progress of the process, information indicating the result of the process, information on the parameters used for the process, and the like. The operation device 30 and the user device 20 are both display devices that display the notified status as shown in FIG. Hereinafter, when the operation device 30 and the user device 20 are not distinguished, they are referred to as the display device 4.

[1−2]ハードウェア構成
図4は、ユーザ装置20のハードウェア構成の一例を示すブロック図である。ユーザ装置20は、制御部21と、記憶部22と、通信部23と、表示部24と、操作部25とを備えるコンピュータである。制御部21は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)及びリアルタイムクロックを備え、CPUが、RAMをワークエリアとして用いてROMや記憶部22に記憶されたプログラムを実行することによって各部の動作を制御する。リアルタイムクロックは、現在の日時を算出してCPUに通知する。
[1-2] Hardware Configuration FIG. 4 is a block diagram illustrating an example of a hardware configuration of the user device 20. The user device 20 is a computer that includes a control unit 21, a storage unit 22, a communication unit 23, a display unit 24, and an operation unit 25. The control unit 21 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and a real-time clock. The CPU is stored in the ROM or the storage unit 22 using the RAM as a work area. The operation of each part is controlled by executing a program. The real time clock calculates the current date and time and notifies the CPU.

記憶部22は、ハードディスクドライブ等を備え、制御部21が制御に用いるデータやプログラム、画像データなどを記憶する。通信部23は、無線LAN(Local Area Network)の規格に準拠して無線通信を行う通信回路及びアンテナを備える通信手段であり、例えば図1に示す通信機器3と無線通信を行う。表示部24は、例えば液晶ディスプレイを有し、制御部21により制御されて表示面に画像を表示する。操作部25は、例えば自装置がタブレット端末である場合には、表示面に重ねて設けられたタッチセンサ(タッチスクリーンやタッチパネルともいう)や筐体に設けられたボタン等を備え、上述したタップ等のユーザの操作を受け付けてその操作の内容を示す操作データを制御部21に供給する。なお、自装置がパーソナルコンピュータである場合には、操作部25はキーボードやマウスを備えていてもよい。制御部21は、供給された操作データに応じた制御を行う。   The storage unit 22 includes a hard disk drive and the like, and stores data, programs, image data, and the like used by the control unit 21 for control. The communication unit 23 is a communication unit including a communication circuit and an antenna that perform wireless communication in accordance with a wireless LAN (Local Area Network) standard. For example, the communication unit 23 performs wireless communication with the communication device 3 illustrated in FIG. The display unit 24 includes, for example, a liquid crystal display and is controlled by the control unit 21 to display an image on the display surface. For example, when the device itself is a tablet terminal, the operation unit 25 includes a touch sensor (also referred to as a touch screen or a touch panel) provided on the display surface, a button provided on the housing, and the like described above. The operation data indicating the content of the operation is supplied to the control unit 21. In the case where the own apparatus is a personal computer, the operation unit 25 may include a keyboard and a mouse. The control unit 21 performs control according to the supplied operation data.

図5は、操作装置30のハードウェア構成の一例を示すブロック図である。操作装置30は、制御部31と、記憶部32と、通信部33と、表示部34と、操作部35とを備えるコンピュータである。以下、図4に示すブロックと共通のハードウェアを表すブロック(通信部33を除く各部)には、共通の名称を付して説明を省く。通信部33は、有線LANの規格に準拠して通信を行う通信回路と、通信用のケーブル(具体的にはLANケーブル)が有するコネクタを差し込むポートとを備える通信手段である。   FIG. 5 is a block diagram illustrating an example of a hardware configuration of the controller device 30. The operation device 30 is a computer that includes a control unit 31, a storage unit 32, a communication unit 33, a display unit 34, and an operation unit 35. In the following, blocks representing hardware common to the blocks shown in FIG. 4 (each unit other than the communication unit 33) are assigned common names and description thereof is omitted. The communication unit 33 is a communication unit that includes a communication circuit that performs communication in accordance with the standard of the wired LAN, and a port into which a connector included in a communication cable (specifically, a LAN cable) is inserted.

上述したように、操作装置30とユーザ装置20を区別しない場合には表示装置4という。また、これに伴い、制御部31と制御部21を区別する必要がない場合には「制御部141」という。記憶部32と記憶部22を区別する必要がない場合には「記憶部142」という。表示部34と表示部24を区別する必要がない場合には「表示部144」という。操作部35と操作部25を区別する必要がない場合には「操作部145」という。   As described above, when the operation device 30 and the user device 20 are not distinguished, they are referred to as the display device 4. Accordingly, when it is not necessary to distinguish between the control unit 31 and the control unit 21, it is referred to as a “control unit 141”. When it is not necessary to distinguish between the storage unit 32 and the storage unit 22, the storage unit 32 is referred to as a “storage unit 142”. When there is no need to distinguish between the display unit 34 and the display unit 24, the display unit 34 is referred to as a “display unit 144”. When there is no need to distinguish between the operation unit 35 and the operation unit 25, the operation unit 35 is referred to as “operation unit 145”.

図6は、情報処理装置10のハードウェア構成の一例を示すブロック図である。情報処理装置10は、制御部11と、記憶部12と、画像読取部13と、画像形成部14と、第1通信部15と、第2通信部16と、接続部17とを備えるコンピュータである。以下、図4及び図5に示すブロックと共通のハードウェアを表すブロック(制御部11及び記憶部12)には、共通の名称を付して説明を省く。また、情報処理装置10は、UI(User Interface)部として機能する前述した操作装置30を備えている。制御部11は、本実施形態では、操作装置30を除く各部を制御する。   FIG. 6 is a block diagram illustrating an example of a hardware configuration of the information processing apparatus 10. The information processing apparatus 10 is a computer including a control unit 11, a storage unit 12, an image reading unit 13, an image forming unit 14, a first communication unit 15, a second communication unit 16, and a connection unit 17. is there. Hereinafter, blocks (control unit 11 and storage unit 12) representing hardware common to the blocks illustrated in FIGS. 4 and 5 are denoted by common names and description thereof is omitted. The information processing apparatus 10 includes the above-described operation device 30 that functions as a UI (User Interface) unit. In the present embodiment, the control unit 11 controls each unit other than the operation device 30.

画像読取部13は、例えばCCD(Charge Coupled Devices)方式を用いて、原稿に描かれた画像を読み取る画像読取処理を行う。画像読取部13は、用紙等の媒体に形成されたコンテンツの画像を光学的に読み取って、読み取った画像を表す画像データを制御部11に供給する。画像形成部14は、例えば電子写真方式を用いて、媒体に画像を形成する画像形成処理を行う。画像形成部14は、制御部11から供給される画像データが示す画像を用紙等の媒体に形成する。なお、画像の読み取り及び画像の形成に用いられる前述した方式は、それぞれ一例であり、他の方式であってもよい。   The image reading unit 13 performs an image reading process for reading an image drawn on a document using, for example, a CCD (Charge Coupled Devices) system. The image reading unit 13 optically reads an image of content formed on a medium such as paper and supplies image data representing the read image to the control unit 11. The image forming unit 14 performs an image forming process for forming an image on a medium using, for example, an electrophotographic method. The image forming unit 14 forms an image indicated by the image data supplied from the control unit 11 on a medium such as paper. Note that the above-described methods used for image reading and image formation are examples, and other methods may be used.

第1通信部15は、通信用のケーブルやデータバスを介して操作装置30の通信部33と接続され、前述した外部装置を介さずに操作装置30と通信する。つまり、通信部33も、前述した外部装置を介さずに情報処理装置10と通信する。   The first communication unit 15 is connected to the communication unit 33 of the controller device 30 via a communication cable or data bus, and communicates with the controller device 30 without passing through the external device described above. That is, the communication unit 33 also communicates with the information processing apparatus 10 without using the external device described above.

第2通信部16は、通信用のインターフェースとして有線LANまたは無線LANの規格に準拠して通信を行う通信回路と、通信用のケーブル(LANケーブル)が有するコネクタを差し込むポートや無線LANの規格に準拠した無線の送受信装置を備え、このインターフェースを介して接続される装置と通信する通信処理を行う。第2通信部16は、図1に示す通信回線2に接続されて、外部装置(情報処理装置10にとっての外部装置であり、例えば通信機器3)を介して例えばユーザ装置20と通信する。接続部17は、SDメモリーカード等の記憶媒体を接続するスロット等を有し、それらの記憶媒体と接続する。制御部11は、接続部17を介して、それらの記憶媒体に記憶されているデータの読み出しや記憶媒体へのデータの書き込みを行う。操作装置30は、図5の説明で述べた構成を備え、第1通信部15と通信する。操作装置30は、この通信を行うことで、例えば制御部11から送信されてくるデータが示す画像を表示したり、情報処理装置10を操作するためのデータを制御部11に送信したりするユーザインターフェース部(UI部)として機能する。   The second communication unit 16 conforms to a communication circuit that performs communication in accordance with a wired LAN or wireless LAN standard as a communication interface, a port into which a connector of a communication cable (LAN cable) is inserted, or a wireless LAN standard. A compliant wireless transmission / reception device is provided, and a communication process for communicating with a device connected via this interface is performed. The second communication unit 16 is connected to the communication line 2 illustrated in FIG. 1 and communicates with, for example, the user device 20 via an external device (an external device for the information processing device 10, for example, the communication device 3). The connection unit 17 has a slot and the like for connecting storage media such as an SD memory card, and is connected to those storage media. The control unit 11 reads data stored in the storage medium and writes data to the storage medium via the connection unit 17. The operating device 30 has the configuration described in the description of FIG. 5 and communicates with the first communication unit 15. For example, the operation device 30 displays an image indicated by data transmitted from the control unit 11 or transmits data for operating the information processing device 10 to the control unit 11 by performing this communication. It functions as an interface unit (UI unit).

[1−3]機能構成
図7は、情報処理システム1の機能構成の一例を示すブロック図である。情報処理システム1は、情報処理装置10(第2情報処理装置の一例)と、表示装置4(すなわち操作装置30またはユーザ装置20(第1情報処理装置の一例))とを有する。情報処理装置10は、生成手段101と、第1送信手段102と、第2送信手段103と、記憶制御手段104と、第1特定手段105と、第2特定手段106と、処理手段107とを備える。生成手段101は、情報処理装置10が実行する処理に関するメッセージを生成する。第1送信手段102は、ウェブクライアントとして機能するソフトウェアに対して、生成手段101により生成されたメッセージを、当該メッセージを識別するメッセージ識別子とともに送信する。第2送信手段103は、メッセージ識別子を含む再送要求が上記ソフトウェアから受信された場合、受信された再送要求に含まれるメッセージ識別子に基づいて、生成手段101により生成されたメッセージの中から、上記ソフトウェアが受信していないメッセージであって、かつ、当該メッセージの属性が予め定められた条件を満たすものを特定する。また、第2送信手段103は、特定したメッセージを上記ソフトウェアへ送信する。
[1-3] Functional Configuration FIG. 7 is a block diagram illustrating an example of a functional configuration of the information processing system 1. The information processing system 1 includes an information processing device 10 (an example of a second information processing device) and a display device 4 (that is, the operation device 30 or the user device 20 (an example of a first information processing device)). The information processing apparatus 10 includes a generation unit 101, a first transmission unit 102, a second transmission unit 103, a storage control unit 104, a first identification unit 105, a second identification unit 106, and a processing unit 107. Prepare. The generation unit 101 generates a message related to processing executed by the information processing apparatus 10. The first transmission unit 102 transmits the message generated by the generation unit 101 to the software functioning as a web client together with a message identifier for identifying the message. When a retransmission request including a message identifier is received from the software, the second transmitting unit 103 selects the software from the messages generated by the generating unit 101 based on the message identifier included in the received retransmission request. Is a message that has not been received, and the message attribute satisfies a predetermined condition. The second transmission unit 103 transmits the identified message to the software.

記憶制御手段104は、生成されたメッセージの少なくとも一部を、メッセージ識別子およびメッセージの送付先であるソフトウェアを識別するクライアント識別子と対応付けて記憶手段108に記憶する。第1特定手段105は、記憶手段108に記憶されたメッセージの中から、上記ソフトウェアが受信していないメッセージを特定する。第2特定手段106は、第1特定手段105により特定されたメッセージの中から、当該メッセージの属性が予め定められた条件を満たすものを特定する。処理手段107は、処理を実行する。   The storage control unit 104 stores at least a part of the generated message in the storage unit 108 in association with the message identifier and the client identifier that identifies the software to which the message is sent. The first specifying unit 105 specifies a message that has not been received by the software from the messages stored in the storage unit 108. The second specifying means 106 specifies, from among the messages specified by the first specifying means 105, those whose attributes of the message satisfy a predetermined condition. The processing unit 107 executes processing.

この例で、情報処理装置10の制御部11、制御部11および第1通信部15、または制御部11および第2通信部16は、生成手段101、第1送信手段102、第2送信手段103、記憶制御手段104、第1特定手段105、第2特定手段106および処理手段107の一例である。記憶部12は記憶手段108の一例である。   In this example, the control unit 11, the control unit 11 and the first communication unit 15, or the control unit 11 and the second communication unit 16 of the information processing apparatus 10 include the generation unit 101, the first transmission unit 102, and the second transmission unit 103. The storage control unit 104, the first specifying unit 105, the second specifying unit 106, and the processing unit 107 are examples. The storage unit 12 is an example of the storage unit 108.

表示装置4は、受信手段401と、記憶制御手段402と、第3送信手段403と、処理実行手段404と、第4送信手段406とを備える。受信手段401は、ウェブサーバとして機能するソフトウェアが実行する処理に関するメッセージを、当該メッセージを識別するメッセージ識別子とともに当該ソフトウェアから受信する。記憶制御手段402は、受信手段401により受信されたメッセージ識別子を記憶手段405に記憶する。第3送信手段403は、メッセージの受信に関する状態が予め定められた条件を満たす場合、メッセージの再送要求であってメッセージ識別子を含む再送要求を送信する。処理実行手段404は、上記再送要求の応答として上記ソフトウェアから受信されるメッセージに対応する処理のうち、受信されたメッセージの属性が予め定められた条件を満たす処理を実行する。第4送信手段406は、上記ソフトウェアに対して処理の実行を要求する。   The display device 4 includes a reception unit 401, a storage control unit 402, a third transmission unit 403, a process execution unit 404, and a fourth transmission unit 406. The receiving unit 401 receives a message related to processing executed by software functioning as a web server from the software together with a message identifier for identifying the message. The storage control unit 402 stores the message identifier received by the reception unit 401 in the storage unit 405. The third transmission unit 403 transmits a retransmission request including a message identifier, which is a message retransmission request, when a state related to message reception satisfies a predetermined condition. The process execution means 404 executes a process corresponding to a message received from the software as a response to the retransmission request, in which the attribute of the received message satisfies a predetermined condition. The fourth transmission unit 406 requests the software to execute processing.

この例で、ユーザ装置20の制御部21、制御部21および通信部23、操作装置30の制御部31、または制御部31および通信部33は、受信手段401、記憶制御手段402、第3送信手段403、処理実行手段404および第4送信手段406の一例である。記憶部22および記憶部32は記憶手段405の一例である。   In this example, the control unit 21, the control unit 21 and the communication unit 23 of the user device 20, the control unit 31 of the operation device 30, or the control unit 31 and the communication unit 33 include the reception unit 401, the storage control unit 402, and the third transmission. It is an example of the means 403, the process execution means 404, and the 4th transmission means 406. The storage unit 22 and the storage unit 32 are an example of the storage unit 405.

[1−4]階層構造
図8は、情報処理システム1の構成を表す階層構造の一例を示す図である。情報処理システム1は、プレゼンテーション層40と、インターフェース50と、ファンクション層60と、ミドルウェア層70と、ハードウェア層80とを備える。プレゼンテーション層40は表示装置4(すなわち操作装置30およびユーザ装置20)の制御部141が記憶部142に記憶されたプログラムを実行することによって実現される。プレゼンテーション層40はウェブクライアントとして機能するソフトウェアの一例である。インターフェース50、ファンクション層60およびミドルウェア層70は、情報処理装置10の制御部11が記憶部12に記憶されたプログラムを実行することによって実現される。インターフェース50、ファンクション層60およびミドルウェア層70は、ウェブサーバとして機能するソフトウェアの一例である。ハードウェア層80は、情報処理装置10のハードウェア資源の集合であり、ミドルウェア層70により制御される。
[1-4] Hierarchical Structure FIG. 8 is a diagram illustrating an example of a hierarchical structure representing the configuration of the information processing system 1. The information processing system 1 includes a presentation layer 40, an interface 50, a function layer 60, a middleware layer 70, and a hardware layer 80. The presentation layer 40 is realized by the control unit 141 of the display device 4 (that is, the operation device 30 and the user device 20) executing a program stored in the storage unit 142. The presentation layer 40 is an example of software that functions as a web client. The interface 50, the function layer 60, and the middleware layer 70 are realized when the control unit 11 of the information processing apparatus 10 executes a program stored in the storage unit 12. The interface 50, the function layer 60, and the middleware layer 70 are examples of software that functions as a web server. The hardware layer 80 is a set of hardware resources of the information processing apparatus 10 and is controlled by the middleware layer 70.

この実施形態では、プレゼンテーション層40(すなわち表示装置4)とインターフェース50(すなわち情報処理装置10)とは、WWW(World Wide Web:ワールドワイドウェブ。以下「ウェブ」という)の規格に準拠して通信が行われる。この例で、プレゼンテーション層40とインターフェース50とは、HTTP(Hypertext Transfer Protocol)およびWebSocketにより通信を行う。   In this embodiment, the presentation layer 40 (that is, the display device 4) and the interface 50 (that is, the information processing device 10) communicate according to the WWW (World Wide Web: hereinafter referred to as “web”) standard. Is done. In this example, the presentation layer 40 and the interface 50 communicate with each other using HTTP (Hypertext Transfer Protocol) and WebSocket.

表示装置4がユーザ装置20である場合、情報処理装置10とユーザ装置20(すなわちプレゼンテーション層40とインターフェース50)は、図1の説明で述べたように、通信回線2および通信機器3を介してデータの授受を行う。すなわち、この場合、情報処理装置10およびユーザ装置20ではない通信機器(通信機器3や通信回線2が有する通信機器など。以下「他の通信機器」という)を介する通信が行われる。一方、表示装置4が操作装置30である場合、情報処理装置10と操作装置30(すなわちプレゼンテーション層40とインターフェース50)は、図6の説明で述べた第1通信部15に接続されているケーブルを介してデータの授受を行う。すなわち、この場合、前述した他の通信機器を介さない通信が行われる。上記他の通信機器には、通信機器3以外にも、例えば通信回線2が有するルータやハブ、ブリッジなどが含まれる。なお、通信回線2がルータ等を有しない場合でも、少なくとも通信機器3が含まれる。   When the display device 4 is the user device 20, the information processing device 10 and the user device 20 (that is, the presentation layer 40 and the interface 50) are connected via the communication line 2 and the communication device 3 as described in the description of FIG. Send and receive data. That is, in this case, communication is performed via a communication device (such as the communication device 3 or the communication line 2 included in the communication line 2; hereinafter referred to as “other communication device”) that is not the information processing device 10 or the user device 20. On the other hand, when the display device 4 is the operation device 30, the information processing device 10 and the operation device 30 (that is, the presentation layer 40 and the interface 50) are connected to the first communication unit 15 described in FIG. Send and receive data via. That is, in this case, communication is performed without using the above-described other communication device. In addition to the communication device 3, the other communication device includes, for example, a router, a hub, a bridge, and the like included in the communication line 2. Even when the communication line 2 does not have a router or the like, at least the communication device 3 is included.

[1−4−1]プレゼンテーション層
操作装置30またはユーザ装置20に相当するプレゼンテーション層40は、ユーザによる操作を受け付ける機能(いわゆるユーザインターフェース)を実現する。プレゼンテーション層40は、UI制御部41と、デバイス制御部42と、通信部43とを備える。UI制御部41は、ユーザインターフェースを制御する部分であり、インターフェース50(すなわち情報処理装置10)から送信されてくる、上述した操作画像データや状況情報を表示部144に表示したり、操作部145から供給されるデータに応じてユーザの操作を受け付けたりする。具体的には、例えば、UI制御部41は、前述した図3に示される状況情報C1やC2を表示する。ここで、状況情報の他の例について図10及び図11を参照して説明する。
[1-4-1] Presentation Layer The presentation layer 40 corresponding to the operation device 30 or the user device 20 realizes a function (so-called user interface) for receiving an operation by the user. The presentation layer 40 includes a UI control unit 41, a device control unit 42, and a communication unit 43. The UI control unit 41 controls the user interface, and displays the above-described operation image data and status information transmitted from the interface 50 (that is, the information processing apparatus 10) on the display unit 144 or the operation unit 145. The user's operation is accepted according to the data supplied from the user. Specifically, for example, the UI control unit 41 displays the situation information C1 and C2 shown in FIG. 3 described above. Here, another example of the situation information will be described with reference to FIGS.

図10は、表示された状況情報の例を示す図である。この例では、コピー処理の途中で媒体を収納する収納部がユーザによって開かれた場合に表示される状況情報が表示されている。具体的には、「用紙収容部がセットされていません。」という文字列を含む状況情報C3が表示されている。   FIG. 10 is a diagram illustrating an example of the displayed status information. In this example, status information that is displayed when the storage unit that stores the medium is opened by the user during the copy process is displayed. Specifically, status information C3 including a character string “No paper storage unit is set” is displayed.

図11は、表示された状況情報の別の例を示す図である。この例では、複数の画像を記憶したSDメモリーカード等の記憶媒体が図6に示す情報処理装置10の接続部17に接続されたときに、その記憶媒体に記憶された画像のサムネイル画像の一覧を表示する処理の状況及び結果が表示されている。図11(a)では、「画像一覧を表示しています。」という文字列と、読み込みが済んだ画像から生成したサムネイル画像(この例では10個のサムネイル画像)とを含む状況情報C4が示されている。図11(b)では、「画像一覧を表示しました。」という文字列と、記憶媒体から読み出した全画像から生成したサムネイル画像の一覧とを含む状況情報C5が示されている。   FIG. 11 is a diagram illustrating another example of the displayed status information. In this example, when a storage medium such as an SD memory card storing a plurality of images is connected to the connection unit 17 of the information processing apparatus 10 shown in FIG. 6, a list of thumbnail images of the images stored in the storage medium. The status and result of the process for displaying are displayed. In FIG. 11A, status information C4 including a character string “image list is displayed” and thumbnail images (10 thumbnail images in this example) generated from the read-in images is shown. Has been. FIG. 11B shows status information C5 including a character string “Image list displayed” and a list of thumbnail images generated from all images read from the storage medium.

また、UI制御部41は、例えば情報処理装置10のURL(Uniform Resource Locator)にアクセスする操作をユーザが行うことで、操作画像データの要求を情報処理装置10のインターフェース50に送信する。また、UI制御部41は、送信した操作画像データの要求の応答として情報処理装置10の操作画像管理部63から送信されてきた、操作画像を表すデータ(以下「操作画像データ」という)が示す操作画像を、表示部144に表示する。より具体的には、UI制御部41は、例えばHTML(Hyper Text Markup Language)形式で記述された操作画像データによって示される操作画像の配置や大きさなどのパラメータに基づいて、操作画像を表示する。こうして表示された操作画像が例えば図2に示す操作画像データ群A1である。   In addition, the UI control unit 41 transmits a request for operation image data to the interface 50 of the information processing apparatus 10 when the user performs an operation to access a URL (Uniform Resource Locator) of the information processing apparatus 10, for example. Further, the UI control unit 41 indicates data representing an operation image (hereinafter referred to as “operation image data”) transmitted from the operation image management unit 63 of the information processing apparatus 10 as a response to the request for the transmitted operation image data. The operation image is displayed on the display unit 144. More specifically, the UI control unit 41 displays an operation image based on parameters such as the arrangement and size of the operation image indicated by the operation image data described in, for example, HTML (Hyper Text Markup Language) format. . The operation image displayed in this way is, for example, the operation image data group A1 shown in FIG.

操作画像データ群A1には、コピーする画像の倍率、コピーした画像を形成する用紙及びコピーした画像のカラーモードというパラメータをそれぞれ選択させるための操作画像(例えばボタン画像やアイコン画像)が含まれている。UI制御部41は、ユーザがこれらの操作画像を操作することで選択したり設定されるパラメータの内容をユーザに提示するために操作画像を表示態様を変えて表示する。図2の例では、現在選択されているコピーの倍率(この例では「110%」)を表す文字列を含む画像と、現在選択されている用紙及びカラーモードを表す操作画像(この例では「他の倍率」、「A4普通紙」、「白黒」という文字列が描かれたもの)を、選択されていない選択画像とは異なる態様(この例では線を太くする態様。ハイライトやラジオボタンなどの態様でもよい。)で表示した例である。   The operation image data group A1 includes operation images (for example, button images and icon images) for selecting parameters such as the magnification of the image to be copied, the paper on which the copied image is formed, and the color mode of the copied image. Yes. The UI control unit 41 displays the operation image while changing the display mode in order to present the user with the contents of parameters that are selected or set by the user operating these operation images. In the example of FIG. 2, an image including a character string representing the magnification of the currently selected copy (in this example, “110%”) and an operation image representing the currently selected paper and color mode (in this example, “ A different aspect from the selected image that has not been selected (an aspect in which the character strings “other magnification”, “A4 plain paper”, and “black and white” are drawn) (in this example, a line is thickened. Highlight or radio button) Or the like.) Is an example displayed.

操作画像データ群A1には、コピーを開始させるための操作画像データA11が含まれている。操作画像データA11が操作されると、その時点で選択されているパラメータを用いたコピーの処理がインターフェース50を介してファンクション層60に要求される。   The operation image data group A1 includes operation image data A11 for starting copying. When the operation image data A11 is operated, a copy process using the parameter selected at that time is requested to the function layer 60 via the interface 50.

図8の説明に戻る。UI制御部41は、表示した操作画像に関するデータをデバイス制御部42に供給する。操作画像に関するデータとは、操作画像が操作されたか否かを判断するために用いられるデータであり、現在表示されている画面の識別情報であったり、操作画面でユーザが選択したり設定したパラメータの種類と値といったデータである。   Returning to the description of FIG. The UI control unit 41 supplies data related to the displayed operation image to the device control unit 42. The data related to the operation image is data used to determine whether or not the operation image has been operated, and is identification information of the currently displayed screen or parameters selected or set by the user on the operation screen. Data such as type and value.

デバイス制御部42は、ユーザの操作に基づいてインターフェース50を介してファンクション層60へ処理の実行を要求する。デバイス制御部42は、操作画像に対する操作がユーザにより行われると、UI制御部41から供給されるデータに基づいて、そのユーザの操作に応じた処理を情報処理装置10に要求する。   The device control unit 42 requests the function layer 60 to execute processing via the interface 50 based on a user operation. When an operation on the operation image is performed by the user, the device control unit 42 requests the information processing apparatus 10 to perform processing corresponding to the user operation based on data supplied from the UI control unit 41.

デバイス制御部42は、UI制御部41から供給されたパラメータ伝達画像に関するデータが示すパラメータを用いて、情報処理装置10に処理を依頼する内容を指示データとして生成し、この指示データを送信することにより処理を情報処理装置10に対して要求する。図2に示す状態で操作画像データA11に対する操作が行われた場合であれば、UI制御部41は、コピー処理依頼を示す情報と、複写倍率のパラメータとして「11%」、カラーモードのパラメータとして「白黒」、用紙サイズのパラメータとして「A4普通紙」を、デバイス制御部42へ送り、デバイス制御部42は、110%の倍率でA4普通紙に白黒でコピーするための処理を表す指示データを生成して情報処理装置10に要求する。   The device control unit 42 uses the parameters indicated by the data related to the parameter transmission image supplied from the UI control unit 41 to generate, as instruction data, the content that requests the information processing apparatus 10 to process, and transmits the instruction data To request the information processing apparatus 10. If the operation image data A11 is operated in the state shown in FIG. 2, the UI control unit 41 sets the information indicating the copy processing request, “11%” as the copy magnification parameter, and the color mode parameter. “Monochrome” and “A4 plain paper” as a paper size parameter are sent to the device control unit 42. The device control unit 42 displays instruction data representing processing for copying in black and white on A4 plain paper at a magnification of 110%. Generate and request to the information processing apparatus 10.

この例で、デバイス制御部42は、UI制御部42から受けとった機能に関する指示情報とパラメータを用いて行うという指示を記述した指示データを生成する。この実施形態では、指示データとしてXML(Extensible Markup Language)で記述される。デバイス制御部42は、生成した指示データを含むHTTPリクエストを生成する。デバイス制御部42は、生成したHTTPリクエストをインターフェース50に送信することで、ファンクション層60に対して処理を要求する。このようにデバイス制御部42が処理を要求するためにインターフェース50へ送信するHTTPリクエストのことを以下では「処理要求」という。なお、コピー処理が要求される場合には、指示エータを含む処理要求が生成されるが、要求される処理によっては、処理要求に指示データが含まれない場合もある。例えば情報処理装置10の電源を落とす処理が要求される場合には処理要求に指示データが含まれない。   In this example, the device control unit 42 generates instruction data describing an instruction to be performed using instruction information and parameters regarding the function received from the UI control unit 42. In this embodiment, the instruction data is described in XML (Extensible Markup Language). The device control unit 42 generates an HTTP request including the generated instruction data. The device control unit 42 requests the function layer 60 to perform processing by transmitting the generated HTTP request to the interface 50. The HTTP request that the device control unit 42 transmits to the interface 50 in order to request processing is hereinafter referred to as “processing request”. Note that when a copy process is requested, a process request including an instructor is generated. However, depending on the requested process, the instruction data may not be included in the process request. For example, when a process for turning off the power of the information processing apparatus 10 is requested, the instruction data is not included in the process request.

通信部43は、UI制御部41及びデバイス制御部42がインターフェース50と行う通信を制御する。   The communication unit 43 controls communication performed by the UI control unit 41 and the device control unit 42 with the interface 50.

[1−4−2]インターフェース50
インターフェース50は、プレゼンテーション層40とファンクション層60との接続を仲介する機能を実現する層である。プレゼンテーション層40とインターフェース50との接続は、図1に示す通信機器3等の通信機能を有する外部装置を介する場合(ユーザ装置20との接続)と、そういった外部装置を介さない場合(操作装置30との接続)とがある。インターフェース50は、ユーザ装置20及び操作装置30との通信を、共通の通信手順(HTTP、WebSocketなどの規格に準拠した通信の手順)で仲介する。インターフェース50は、例えばプレゼンテーション層40から送信されてくるHTTPリクエストを受け取ってファンクション層60に供給したり、その応答でファンクション層60から供給されるHTTPレスポンスを受け取ってプレゼンテーション層40に向けて送信したりする。
[1-4-2] Interface 50
The interface 50 is a layer that realizes a function that mediates the connection between the presentation layer 40 and the function layer 60. The connection between the presentation layer 40 and the interface 50 is through an external device having a communication function such as the communication device 3 shown in FIG. 1 (connection with the user device 20) or not through such an external device (operation device 30). Connection). The interface 50 mediates communication with the user device 20 and the operation device 30 by a common communication procedure (communication procedure compliant with standards such as HTTP and WebSocket). The interface 50 receives, for example, an HTTP request transmitted from the presentation layer 40 and supplies it to the function layer 60, or receives an HTTP response supplied from the function layer 60 as a response to the HTTP request and transmits it to the presentation layer 40. To do.

[1−4−3]ファンクション層60
ファンクション層60は、コピー機能やスキャン機能など、目的とする用途に沿ってデータを加工する機能を実現する層である。ファンクション層60は、受付・応答部61と、イベント通知部62と、操作画像管理部63と、操作画像DB(Data Base:データベース)64と、コピー機能やスキャン機能などを提供する機能部65とを備える。
[1-4-3] Function layer 60
The function layer 60 is a layer that realizes a function of processing data in accordance with a target application such as a copy function and a scan function. The function layer 60 includes a reception / response unit 61, an event notification unit 62, an operation image management unit 63, an operation image DB (Data Base) 64, a function unit 65 that provides a copy function, a scan function, and the like. Is provided.

受付・応答部61は、プレゼンテーション層40からインターフェース50を介して送信されてくる処理要求を受け付け、機能部65に処理を依頼する。このとき、受付・応答部61は、依頼された処理を識別する情報として、トランザクションIDを発行する。また、受付・応答部61は、その処理を要求してきた要求元(表示装置4)を識別する情報として、クライアントID(クライアント識別子の一例)を発行する。受付・応答部61は、発行したトランザクションID及びクライアントIDと、要求元の表示装置4の通信の宛先を互いに対応付けて記憶部12に記憶させる。受付・応答部61は、機能部65に処理を依頼する際に、発行したトランザクションIDを機能部65に供給する。また、受付・応答部61は、受け付けた要求に対する応答を、インターフェース50を介してプレゼンテーション層40に送信する。応答は、要求を受け付けた旨を示すだけの場合もあれば、状況情報を含む場合もある。   The reception / response unit 61 receives a processing request transmitted from the presentation layer 40 via the interface 50 and requests the function unit 65 to perform processing. At this time, the reception / response unit 61 issues a transaction ID as information for identifying the requested process. Further, the reception / response unit 61 issues a client ID (an example of a client identifier) as information for identifying a request source (display device 4) that has requested the processing. The reception / response unit 61 stores the issued transaction ID and client ID and the communication destination of the request source display device 4 in association with each other in the storage unit 12. The reception / response unit 61 supplies the issued transaction ID to the functional unit 65 when requesting the processing to the functional unit 65. Further, the reception / response unit 61 transmits a response to the received request to the presentation layer 40 via the interface 50. The response may only indicate that the request has been accepted, or it may include status information.

イベント通知部62は、状況情報を含む通知データを生成し、生成した通知データをWebSocketに準拠したデータに含めてインターフェース50を介してプレゼンテーション層40に送信する。   The event notification unit 62 generates notification data including situation information, includes the generated notification data in data conforming to WebSocket, and transmits the data to the presentation layer 40 via the interface 50.

本実施形態では、ファンクション層60とプレゼンテーション層40は、大別して4つの方法で、要求の送信や応答または通知の送信を行う。第1および第2の方法は、HTTPプロトコルが用いられる方法であり、これらは受付・応答部61により行われる。一方、第3の方法は、HTTPプロトコルとWebSocketプロトコルとが併用される方法であり、この方法は受付・応答部61とイベント通知部62が協働することにより行われる。第4の方法は、WebSocketプロトコルによりイベント(通知)の送信が行われる方法であり、この方法はイベント通知部62により行われる。   In the present embodiment, the function layer 60 and the presentation layer 40 are roughly divided into four methods for transmitting a request and transmitting a response or notification. The first and second methods are methods using the HTTP protocol, and these are performed by the reception / response unit 61. On the other hand, the third method is a method in which the HTTP protocol and the WebSocket protocol are used together, and this method is performed by the cooperation of the reception / response unit 61 and the event notification unit 62. The fourth method is a method in which an event (notification) is transmitted by the WebSocket protocol, and this method is performed by the event notification unit 62.

第1の方法では、受付・応答部61は、プレゼンテーション層40から処理要求(HTTPリクエスト)が送信されてきた場合、ミドルウェア層70およびハードウェア層80によるその処理の実行が完了するまで待機する。この場合、受付・応答部61は、ミドルウェア層70から処理の完了が通知されると、処理が完了したときの状況を示す状況情報を含むHTTPレスポンスを、処理を要求してきたプレゼンテーション層40に送信する。具体例を挙げると、例えば図2に示す「倍率選択」の欄の「−」や「+」という操作画像をユーザが操作した場合、プレゼンテーション層40からコピーの倍率というパラメータを下げる処理や上げる処理が要求される。この場合、受付・応答部61は、要求された処理が実行されて変化したパラメータの値を処理の結果として応答する。   In the first method, when a processing request (HTTP request) is transmitted from the presentation layer 40, the reception / response unit 61 waits until execution of the processing by the middleware layer 70 and the hardware layer 80 is completed. In this case, when the completion / processing is notified from the middleware layer 70, the reception / response unit 61 transmits an HTTP response including status information indicating the status when the processing is completed to the presentation layer 40 that has requested the processing. To do. As a specific example, when the user operates an operation image such as “−” or “+” in the “magnification selection” column shown in FIG. Is required. In this case, the reception / response unit 61 responds with the value of the parameter that has changed as a result of the requested process as a result of the process.

第2の方法では、受付・応答部61は、プレゼンテーション層40から処理要求(HTTPリクエスト)が受信された場合、要求された処理の完了を待たずにまずは処理要求が受け付けられた旨の応答(HTTPレスポンス)を送信する。その後、状況情報は、プレゼンテーション層40がHTTPによるいわゆるポーリングを行うことにより取得される。すなわち、受付・応答部61は、プレゼンテーション層40からその処理の状況の通知を求める要求(以下「通知要求」という)があったときに、その通知要求に対する応答を行う。第2の方法で応答が行われると、例えば図3(a)に示す枚数情報C11は、コピーされた画像が媒体に形成される度ではなく、ポーリングの度に通知されて表示される。このため、例えばページ数が1枚ずつ増えるのではなく、数枚ずつ増えることがある。   In the second method, when a processing request (HTTP request) is received from the presentation layer 40, the reception / response unit 61 first responds that the processing request has been received without waiting for completion of the requested processing ( (HTTP response). Thereafter, the status information is acquired by the presentation layer 40 performing so-called polling by HTTP. That is, when there is a request for notification of the processing status from the presentation layer 40 (hereinafter referred to as “notification request”), the reception / response unit 61 responds to the notification request. When a response is made by the second method, for example, the number information C11 shown in FIG. 3A is notified and displayed every time polling is performed, not every time a copied image is formed on a medium. For this reason, for example, the number of pages does not increase one by one, but may increase by several.

このように、受付・応答部61は、第1及び第2の方法を用いた場合、プレゼンテーション層40からの要求(処理要求または通知要求)があったときにその要求に対する応答を送信する。受付・応答部61は、第1の方法を用いた場合には、処理要求に対する応答で処理の結果を要求元のプレゼンテーション層40に送信し、第2の方法を用いた場合には、処理要求に対する応答よりもあとに受け取った通知要求に対する応答で、処理の結果およびそれ以外の処理の状況を要求元のプレゼンテーション層40に送信する。   As described above, when the first and second methods are used, the reception / response unit 61 transmits a response to the request when there is a request (processing request or notification request) from the presentation layer 40. When the first method is used, the reception / response unit 61 transmits the processing result to the requesting presentation layer 40 in response to the processing request, and when the second method is used, the processing request In response to the notification request received after the response to, the processing result and the status of other processing are transmitted to the presentation layer 40 of the request source.

第3の方法では、受付・応答部61は、プレゼンテーション層40から処理要求(HTTPリクエスト)が受信されると、第2の方法のように、要求された処理の完了を待たずにまずは処理要求が受け付けられた旨を示す応答(HTTPレスポンス)を送信する。そのあと、イベント通知部62は、ミドルウェア層70およびハードウェア層80により実行されている処理において通知すべき状況が生じたら、通知要求がなくてもその状況をWebSocketによりプレゼンテーション層40に通知する。つまり、第3の方法により通知される状況は、処理要求により実行される処理の状況である。第3の方法で通知の送信が行われると、例えば図3(a)に示す枚数情報C11のうちの「ページ数」が、コピーされた画像が媒体に形成される度に増えていく。   In the third method, when the processing request (HTTP request) is received from the presentation layer 40, the reception / response unit 61 first requests the processing without waiting for completion of the requested processing as in the second method. A response (HTTP response) indicating that has been accepted is transmitted. After that, when a situation to be notified occurs in the processing executed by the middleware layer 70 and the hardware layer 80, the event notification unit 62 notifies the presentation layer 40 of the situation by WebSocket even if there is no notification request. That is, the situation notified by the third method is the situation of the process executed by the process request. When notification is transmitted by the third method, for example, the “number of pages” in the sheet number information C11 shown in FIG. 3A increases every time a copied image is formed on a medium.

第4の方法では、イベント通知部62は、プレゼンテーション層40からの処理要求の有無に関係なく、通知すべき状況が生じたら、通知要求がなくてもその状況をWebSocketによりプレゼンテーション層40に通知する。つまり、第4の方法により通知される状況は、処理要求により実行される処理に関係がある場合もあるし、それとは関係がない場合もある。この第4の方法では、例えば、WebSocketの規格に基づいて情報処理装置10とセッションが確立されたプレゼンテーション層40であればどれでも通知先となり得る。情報処理システム1においては、例えば、「トナー切れ」や「用紙切れ」、「収容部オープン(用紙等の媒体を収納する収納部が開いた状態)」などの状況は第4の方法で通知するように定められる。なお、第4の方法により通知される状況は、通知先であるプレゼンテーション層40(表示装置4)毎に異なっていてもよい。   In the fourth method, the event notification unit 62 notifies the presentation layer 40 of the situation by WebSocket when there is a notification request regardless of whether or not there is a processing request from the presentation layer 40 even if there is no notification request. . That is, the situation notified by the fourth method may be related to the process executed by the process request or may not be related to it. In the fourth method, for example, any presentation layer 40 in which a session with the information processing apparatus 10 is established based on the WebSocket standard can be a notification destination. In the information processing system 1, for example, statuses such as “out of toner”, “out of paper”, “opening of storage unit (a storage unit storing a medium such as paper) is opened” are notified by the fourth method. It is determined as follows. Note that the situation notified by the fourth method may be different for each presentation layer 40 (display device 4) that is a notification destination.

このように、イベント通知部62は、第3及び第4の方法を用いた場合、プレゼンテーション層40からの要求(処理要求及び通知要求)の有無に関係なく、能動的に(いわゆるプッシュ型の)通知を行う。イベント通知部62は、第3の方法を用いた場合には、処理要求に対する応答よりもあとに、その処理の結果およびそれ以外の処理の状況を通知し、第4の方法を用いた場合には、予め定められた処理の状況を通知する。   As described above, when the third and fourth methods are used, the event notification unit 62 actively (so-called push type) regardless of whether or not there is a request (processing request and notification request) from the presentation layer 40. Make a notification. When the third method is used, the event notification unit 62 notifies the result of the processing and the status of other processing after the response to the processing request, and when the fourth method is used. Notifies the predetermined processing status.

第2及び第3の方法が用いられた場合、受付・応答部61またはイベント通知部62は、どちらの場合でも、処理要求に対する応答よりもあとに、処理の結果およびそれ以外の処理の状況を送信する。また、第1から第3までの3通りの方法は、要求された処理の状況を通知するための方法である。本実施形態では、プレゼンテーション層40は、処理を要求するときに、その処理の状況(処理の結果を含む)を送信する方法(すなわち第1の方法ないし第4の方法のいずれか)を指定する。例えば、送信の方法は、デバイス制御部42によって生成される処理要求に含まれるパラメータによって指定されてもよい。受付・応答部61およびイベント通知部62は、プレゼンテーション層40によって指定された方法を用いて状況情報の送信を行う。   When the second and third methods are used, in either case, the reception / response unit 61 or the event notification unit 62 displays the processing result and other processing status after the response to the processing request. Send. The three methods from the first to the third are methods for notifying the status of the requested processing. In the present embodiment, when the presentation layer 40 requests processing, the presentation layer 40 designates a method (that is, one of the first method to the fourth method) for transmitting the processing status (including the processing result). . For example, the transmission method may be specified by a parameter included in the processing request generated by the device control unit 42. The reception / response unit 61 and the event notification unit 62 transmit status information using a method specified by the presentation layer 40.

この実施形態では、状況情報は、ミドルウェア層70によって生成され、受付・応答部61またはイベント通知部62に供給される。なお、状況情報や機能部65、受付・応答部61またはイベント通知部62によって生成されてもよい。また、イベント通知部62へ供給される状況情報は、ミドルウェア層70(または機能部65)からイベント通知部62へ直接供給されることなく、受付・応答部61を経由してイベント通知部62へ供給されてもよい。   In this embodiment, the situation information is generated by the middleware layer 70 and supplied to the reception / response unit 61 or the event notification unit 62. It may be generated by the situation information / function unit 65, the reception / response unit 61 or the event notification unit 62. Further, the status information supplied to the event notification unit 62 is not supplied directly from the middleware layer 70 (or the function unit 65) to the event notification unit 62, but to the event notification unit 62 via the reception / response unit 61. It may be supplied.

操作画像管理部63は、プレゼンテーション層40に送信する操作画像データの管理を行う。操作画像DB64は、操作画像データを格納するデータベースである。操作画像管理部63は、上述した操作画像データを、インターフェース50を介してプレゼンテーション層40に提供する。操作画像管理部63は、操作画像データを記憶しており、操作画像要求がインターフェース50を介して送信されてくると、例えばHTMLで記述された操作画像データを含む応答を要求元に対してインターフェース50を介して送信する。   The operation image management unit 63 manages operation image data to be transmitted to the presentation layer 40. The operation image DB 64 is a database that stores operation image data. The operation image management unit 63 provides the operation image data described above to the presentation layer 40 via the interface 50. The operation image management unit 63 stores operation image data, and when an operation image request is transmitted via the interface 50, for example, a response including operation image data described in HTML is interfaced to the request source. 50 to transmit.

操作画像管理部63は、ユーザ装置20から操作画像データの要求が送信されてきた場合、それに応答してユーザ装置20に操作画像データを送信する。また、操作画像管理部63は、操作装置30から操作画像データの要求が送信されてきた場合には、それに応答して操作装置30に操作画像データを送信する。このように操作画像データの要求元(ユーザ装置20及び操作装置30)に操作画像データを送信することで、操作画像管理部63は、それらの要求元に操作画像データをそれぞれ提供する。   When the operation image data request is transmitted from the user device 20, the operation image management unit 63 transmits the operation image data to the user device 20 in response to the request. Further, when a request for operation image data is transmitted from the operation device 30, the operation image management unit 63 transmits the operation image data to the operation device 30 in response thereto. By transmitting the operation image data to the operation image data request sources (the user device 20 and the operation device 30) as described above, the operation image management unit 63 provides the operation image data to the request sources.

機能部65は、情報処理装置10がユーザに提供する機能を実現するためのモジュール群である。情報処理装置10の機能部65は、プレゼンテーション層40から処理要求がインターフェース50を介して送信されてくると、ミドルウェア層70を制御して、その処理要求により要求された処理を実行させる。   The function unit 65 is a module group for realizing the function provided to the user by the information processing apparatus 10. When a processing request is transmitted from the presentation layer 40 via the interface 50, the functional unit 65 of the information processing apparatus 10 controls the middleware layer 70 to execute the processing requested by the processing request.

図9は、機能部65に含まれるモジュール群の一例を示す図である。機能部65には、コピー機能、スキャン機能、FAX機能、プリント機能、宛先表管理機能(宛先情報を管理する機能)、デバイス管理機能(画像読取部13の原稿セット状態や画像形成部14の媒体、消耗品の状態などを管理する機能)、認証機能、親展ボックス機能(情報処理装置10に記憶されている電子文書を管理する機能)、プレビュー機能、ダウンロード機能(プログラムの更新を制御する機能)、保守機能(リモートからの要求に従いハードウェアをメンテナンスする機能)、診断機能(ハードウェアを診断する機能)をそれぞれ実現するためのモジュールが含まれている。   FIG. 9 is a diagram illustrating an example of a module group included in the functional unit 65. The function unit 65 includes a copy function, a scan function, a FAX function, a print function, a destination table management function (a function for managing destination information), a device management function (a document set state of the image reading unit 13 and a medium of the image forming unit 14). , A function for managing the state of consumables, etc.), an authentication function, a confidential box function (a function for managing an electronic document stored in the information processing apparatus 10), a preview function, a download function (a function for controlling program updates) Modules for realizing a maintenance function (a function for maintaining hardware according to a request from a remote) and a diagnosis function (a function for diagnosing hardware) are included.

機能部65は、例えば、処理要求に含まれている指示データを解析し、解析した指示の内容のとおりに処理が実行されるように、ミドルウェア層70を制御する。具体的には、機能部65は、指示された処理(例えばコピー処理)を指示されたパラメータで実行させる。これにより、ミドルウェア層70は、例えばユーザの操作によって定められた画質及び読取方法で媒体から画像を読み取り、読み取った画像を、ユーザの操作によって定められた出力形式、倍率、用紙及びカラーモードで形成する。   For example, the functional unit 65 analyzes the instruction data included in the processing request, and controls the middleware layer 70 so that the processing is executed according to the content of the analyzed instruction. Specifically, the function unit 65 causes the designated process (for example, copy process) to be executed with the designated parameter. Thereby, the middleware layer 70 reads an image from a medium with an image quality and a reading method determined by a user operation, for example, and forms the read image in an output format, magnification, paper, and color mode determined by the user operation. To do.

機能部65は、ミドルウェア層70に処理の実行を指示する際に、受付・応答部61から供給されたトランザクションIDをミドルウェア層70に供給する。ミドルウェア層70は、受付・応答部61に対して、上述した状況情報とともにトランザクションIDを供給する。   When the function unit 65 instructs the middleware layer 70 to execute the process, the function unit 65 supplies the transaction ID supplied from the reception / response unit 61 to the middleware layer 70. The middleware layer 70 supplies a transaction ID to the reception / response unit 61 together with the situation information described above.

また、機能部65は、処理要求に記述されている方法(第1から第4の方法のうちのいずれか)を指定する記述を解析し、解析した方法(すなわち表示装置4が指定した方法)を受付・応答部61に伝達する。受付・応答部61またはイベント通知部62は、機能部65から供給されたトランザクションIDに対応付けられた通信の宛先に対して、ともに供給された状況情報を記述した通知データを、伝達された方法に則って送信する。これにより、受付・応答部61またはイベント通知部62は、処理の要求元に対して処理の状況を指定された方法で送信する。なお、機能部65は処理要求を受付・応答部61に供給するだけにして、受付・応答部61が指定された通知先の解析を行ってもよい。   In addition, the function unit 65 analyzes the description specifying the method (any one of the first to fourth methods) described in the processing request, and the analyzed method (that is, the method specified by the display device 4). Is transmitted to the reception / response unit 61. The reception / response unit 61 or the event notification unit 62 transmits the notification data describing the situation information supplied to the communication destination associated with the transaction ID supplied from the function unit 65 to the communication destination. Send according to As a result, the reception / response unit 61 or the event notification unit 62 transmits the processing status to the processing request source in a specified manner. The function unit 65 may analyze the notification destination designated by the reception / response unit 61 by simply supplying the processing request to the reception / response unit 61.

ミドルウェア層70は、ファンクション層60とハードウェア層80との中間で汎用的な処理を実行する層である。ハードウェア層80は、画像読み取りや画像形成などの処理を物理的に実現する層である。ミドルウェア層70およびハードウェア層80は、上述したコピー処理の他、スキャン処理、FAX処理、プリント処理(それぞれスキャン機能、FAX機能、プリント機能を提供するための処理)などの各種の処理を実行する。コピー処理には、図6に示す画像読取部13による画像読取処理及び画像形成部14による画像形成処理が含まれる。スキャン処理には画像読取処理が含まれ、FAX処理には第2通信部16によるFAX通信処理が含まれる。また、プリント処理には、第1通信部15による通信処理及び画像形成処理が含まれる。スキャン処理及びFAX処理には、他にも、データの取得及び出力の方法に応じて、第2通信部16を用いたデータ通信処理やデータを記憶部12に書き込む書込処理、記憶されたデータを記憶部12から読み出す読出処理などが含まれる。ミドルウェア層70およびハードウェア層80は、処理を実行すると、上述した状況情報(実行している処理の状況を表す情報)をファンクション層60に供給する。   The middleware layer 70 is a layer that executes general-purpose processing between the function layer 60 and the hardware layer 80. The hardware layer 80 is a layer that physically realizes processing such as image reading and image formation. In addition to the copy process described above, the middleware layer 70 and the hardware layer 80 execute various processes such as a scan process, a FAX process, and a print process (processes for providing a scan function, a FAX function, and a print function, respectively). . The copy process includes an image reading process by the image reading unit 13 and an image forming process by the image forming unit 14 shown in FIG. The scanning process includes an image reading process, and the FAX process includes a FAX communication process by the second communication unit 16. The print process includes a communication process and an image forming process by the first communication unit 15. In addition to the scan process and the FAX process, the data communication process using the second communication unit 16 and the write process for writing the data to the storage unit 12 and the stored data according to the data acquisition and output method Read processing from the storage unit 12 is included. When the middleware layer 70 and the hardware layer 80 execute the processing, the middleware layer 70 and the hardware layer 80 supply the above-described status information (information indicating the status of the processing being executed) to the function layer 60.

図8に示す受付・応答部61、イベント通知部62、操作画像管理部63および機能部65の少なくともいずれかひとつは、図7の生成手段101、第1送信手段102、第2送信手段103、記憶制御手段104、第1特定手段105および第2特定手段106の一例である。ミドルウェア層70およびハードウェア層80は、処理手段107の一例である。UI制御部41、デバイス制御部42および通信部43の少なくともいずれか一つは、受信手段401、記憶制御手段402、第3送信手段403、処理実行手段404の一例である。   At least one of the reception / response unit 61, the event notification unit 62, the operation image management unit 63, and the function unit 65 illustrated in FIG. 8 includes the generation unit 101, the first transmission unit 102, the second transmission unit 103, and the like illustrated in FIG. This is an example of the storage control means 104, the first specifying means 105, and the second specifying means 106. The middleware layer 70 and the hardware layer 80 are an example of the processing unit 107. At least one of the UI control unit 41, the device control unit 42, and the communication unit 43 is an example of a reception unit 401, a storage control unit 402, a third transmission unit 403, and a process execution unit 404.

[1−5]動作
[1−5−1]状況情報の送信動作
まず、上述した第1から第4までの4つの方法で状況情報を送信する際に各装置が行う動作の例について、図12から図15までを参照して説明する。
[1-5] Operation [1-5-1] Status Information Transmission Operation First, an example of an operation performed by each device when status information is transmitted by the above-described first to fourth methods will be described with reference to FIG. This will be described with reference to FIGS.

[1−5−1−1]状況情報の第1の送信動作
図12は、状況情報の送信方法として、上述の第1の方法が用いられる場合の各装置の動作の一例を示すシーケンス図である。図12に示す動作は、例えば、ユーザがコピーを行う前に、コピーのためのパラメータ(倍率や用紙のサイズ、カラーモードなど)を変更する操作を行うことを契機に開始される。まず、表示装置4の制御部141(プレゼンテーション層40)が、パラメータを変更する操作を受け付けると(ステップS111)、パラメータの変更の要求を記述した処理要求データをHTTPリクエストに含めて情報処理装置10に対して送信する(ステップS112)。情報処理装置10の受付・応答部61は、そのHTTPリクエストを受信すると、受信された要求の内容を解釈し(ステップS113)、解釈した内容での処理の実行を情報処理装置10のミドルウェア層70に指示する(ステップS114)。
[1-5-1-1] First Transmission Operation of Status Information FIG. 12 is a sequence diagram illustrating an example of the operation of each apparatus when the above-described first method is used as the transmission method of the status information. is there. The operation illustrated in FIG. 12 is started, for example, when the user performs an operation of changing parameters for copying (magnification, paper size, color mode, etc.) before copying. First, when the control unit 141 (presentation layer 40) of the display device 4 accepts an operation for changing a parameter (step S111), the information processing device 10 includes processing request data describing a request for changing the parameter in the HTTP request. (Step S112). When receiving the HTTP request, the reception / response unit 61 of the information processing apparatus 10 interprets the content of the received request (step S113), and executes the processing with the interpreted content in the middleware layer 70 of the information processing apparatus 10. (Step S114).

ミドルウェア層70は、ハードウェア層80と協働して、指示された処理、すなわちパラメータの変更を実行し(ステップS115)、その結果を表す情報を状況情報として受付・応答部61に供給する(ステップS116)。受付・応答部61は、供給された状況情報(この例ではパラメータの変更結果)を記述した通知データを生成する(ステップS117)。受付・応答部61は、生成した通知データを含むHTTPレスポンスを、処理の要求元である表示装置4に送信する(ステップS118)。表示装置4の制御部141は、送信されてきたHTTPレスポンスに含まれる状況情報を自装置の表示部144に表示させる(ステップS119)。   The middleware layer 70 cooperates with the hardware layer 80 to execute an instructed process, that is, a parameter change (step S115), and supplies information representing the result to the reception / response unit 61 as status information ( Step S116). The reception / response unit 61 generates notification data describing the supplied situation information (parameter change result in this example) (step S117). The reception / response unit 61 transmits an HTTP response including the generated notification data to the display device 4 that is a processing request source (step S118). The control unit 141 of the display device 4 displays the status information included in the transmitted HTTP response on the display unit 144 of the own device (step S119).

[1−5−1−2]状況情報の第2の送信動作
図13は、第2の方法が用いられる場合の各装置の動作の一例を示すシーケンス図である。図13に示す動作は、例えば、ユーザが情報処理装置10の画像読取部13に原稿をセットし、表示装置4に対してコピーを開始させる操作を行うことを契機に開始される。まず、表示装置4の制御部141は、コピーを開始させる操作を受け付けると(ステップS121)、受け付けた操作に応じた指示データを作成する(ステップS122)。制御部141は、作成した指示データを含む処理要求(HTTPリクエスト)を情報処理装置10に送信する(ステップS123)。情報処理装置10の受付・応答部61は、図8に示すインターフェース50を介して処理要求を受け取ると、受け付けた処理要求に含まれる指示データを解析することで、指示の内容を解釈する(ステップS124)。
[1-5-1-2] Second Transmission Operation of Status Information FIG. 13 is a sequence diagram illustrating an example of the operation of each device when the second method is used. The operation illustrated in FIG. 13 is started, for example, when the user sets a document on the image reading unit 13 of the information processing apparatus 10 and performs an operation to start copying on the display device 4. First, when receiving an operation for starting copying (step S121), the control unit 141 of the display device 4 creates instruction data corresponding to the received operation (step S122). The control unit 141 transmits a processing request (HTTP request) including the created instruction data to the information processing apparatus 10 (step S123). Upon receipt of the processing request via the interface 50 shown in FIG. 8, the reception / response unit 61 of the information processing apparatus 10 interprets the content of the instruction by analyzing the instruction data included in the received processing request (step S124).

受付・応答部61が、解釈した内容に基づいてコピー処理をミドルウェア層70に指示すると(ステップS125)、ミドルウェア層70及びハードウェア層80が協働して、指示された内容に基づく処理(コピー処理)を実行する(ステップS126)。受付・応答部61は、コピー処理を指示したあと、コピー処理の要求を受け付けた旨を示すHTTPレスポンスを、ステップS123において受信されたHTTPリクエストの応答として表示装置4に送信する(ステップS131)。表示装置4の制御部141は、受信されたHTTPレスポンスに応じた内容を自装置の表示部144に表示させる(ステップS132)。なお、ステップS131の動作は、ステップS124またはS125の動作の前に行われてもよい。   When the reception / response unit 61 instructs the middleware layer 70 based on the interpreted content (Step S125), the middleware layer 70 and the hardware layer 80 cooperate to perform processing based on the instructed content (copying). Process) is executed (step S126). After instructing the copy process, the reception / response unit 61 transmits an HTTP response indicating that the request for the copy process has been received to the display device 4 as a response to the HTTP request received in step S123 (step S131). The control unit 141 of the display device 4 displays the content corresponding to the received HTTP response on the display unit 144 of the own device (step S132). Note that the operation in step S131 may be performed before the operation in step S124 or S125.

第2の方法においては、表示装置4からの処理要求に対する処理状況の通知および処理完了の通知は、表示装置4がHTTPリクエストによりポーリング処理を行うことにより表示装置4に取得される。表示装置4の制御部141は、コピー処理の要求に対する応答を受け取ったあと、そのコピー処理の状況の通知を求める通知要求(HTTPリクエスト)を送信することによってポーリング処理を行う(ステップS141)。情報処理装置10の受付・応答部61は、コピー処理の状況情報がまだ供給されていなければ、その旨を示すHTTPレスポンスを表示装置4に送信する(ステップS142)。ステップS141及びS142の動作は繰り返し行われる。   In the second method, the processing status notification and the processing completion notification for the processing request from the display device 4 are acquired by the display device 4 when the display device 4 performs a polling process using an HTTP request. After receiving a response to the copy processing request, the control unit 141 of the display device 4 performs a polling process by transmitting a notification request (HTTP request) for requesting notification of the copy processing status (step S141). If the copy process status information has not been supplied yet, the reception / response unit 61 of the information processing apparatus 10 transmits an HTTP response indicating that fact to the display apparatus 4 (step S142). The operations in steps S141 and S142 are repeated.

情報処理装置10のミドルウェア層70は、コピー(読み取った原稿を示す画像)を媒体に出力すると、それを検知して(ステップS151)、コピーが媒体に出力されたという状況を示す状況情報を受付・応答部61に供給する(ステップS152)。受付・応答部61は、状況情報が供給されたあとに通知要求(HTTPリクエスト)を受信すると(ステップS141)、状況情報を含むHTTPレスポンスを生成して(ステップS153)、表示装置4に送信する(ステップS154)。表示装置4の制御部141は、ステップS132のように、HTTPレスポンスに応じた内容を自装置の表示部に表示させる(ステップS155)。   When the middleware layer 70 of the information processing apparatus 10 outputs a copy (an image showing the read document) to the medium, the middleware layer 70 detects the situation (step S151) and accepts status information indicating that the copy has been output to the medium. -It supplies to the response part 61 (step S152). When receiving the notification request (HTTP request) after the situation information is supplied (step S141), the reception / response unit 61 generates an HTTP response including the situation information (step S153) and transmits it to the display device 4. (Step S154). The control unit 141 of the display device 4 displays the content corresponding to the HTTP response on the display unit of its own device as in step S132 (step S155).

[1−5−1−3]状況情報の第3の送信動作
図14は、第3の方法が用いられる場合の各装置の動作の一例を示すシーケンス図である。第1の方法および第2の方法では、表示装置4と情報処理装置10との間でHTTPによるデータの遣り取りが行われた。それに対し、第3の方法では、HTTPに加えて、WebSocketプロトコルにより情報処理装置10から表示装置4へのデータの送信が行われる。具体的には、第2の方法においてポーリングにより取得された状況情報が、第3の方法においてはWebSocketのメッセージとして表示装置4へ通知される。第2の方法と第3の方法とは、ひとつの処理を異なる方法で実現するものであり、両者は選択的に用いられる。
[1-5-1-3] Third Transmission Operation of Status Information FIG. 14 is a sequence diagram illustrating an example of the operation of each device when the third method is used. In the first method and the second method, data is exchanged between the display device 4 and the information processing device 10 by HTTP. On the other hand, in the third method, data is transmitted from the information processing apparatus 10 to the display apparatus 4 by the WebSocket protocol in addition to HTTP. Specifically, the status information acquired by polling in the second method is notified to the display device 4 as a WebSocket message in the third method. The second method and the third method realize one process by different methods, and both are selectively used.

図14に示す動作は、図13のように、コピーを開始させる操作をユーザが行うことを契機に開始される。まず、表示装置4の制御部141は、コピーを開始させる操作を受け付けると(ステップS121)、情報処理装置10との間でWebSocketセッションを確立するための処理を行う。すなわち、制御部141は、情報処理装置10へWebSocketのハンドシェイク要求であるHTTPリクエストを送信する。このHTTPリクエストには、表示装置4を識別するクライアントIDが含まれる。   The operation shown in FIG. 14 is started when the user performs an operation to start copying as shown in FIG. First, when receiving an operation for starting copying (step S121), the control unit 141 of the display device 4 performs processing for establishing a WebSocket session with the information processing device 10. That is, the control unit 141 transmits an HTTP request that is a WebSocket handshake request to the information processing apparatus 10. This HTTP request includes a client ID for identifying the display device 4.

情報処理装置10のインターフェース50は、表示装置4から受信されたHTTPリクエストに基づき、WebSocketセッションの確立を行う。受付・応答部61は、WebSocketのハンドシェイク応答を表示装置4へ送信し、これにより、表示装置4と情報処理装置10との間でWebSocketのセッション(以下、単に「セッション」という)が確立される(ステップS160)。なお、セッションが確立されるタイミングはこのタイミングに限られない。例えば、ユーザが表示装置4を用いてウェブブラウザを起動して情報処理装置10のURL(Uniform Resource Locator)にアクセスする操作を行ったタイミングで、セッションの確立処理が行われてもよい。   The interface 50 of the information processing device 10 establishes a WebSocket session based on the HTTP request received from the display device 4. The reception / response unit 61 transmits a WebSocket handshake response to the display device 4, whereby a WebSocket session (hereinafter simply referred to as “session”) is established between the display device 4 and the information processing device 10. (Step S160). Note that the timing at which a session is established is not limited to this timing. For example, the session establishment process may be performed at the timing when the user performs an operation of starting a web browser using the display device 4 and accessing a URL (Uniform Resource Locator) of the information processing apparatus 10.

また、受付・応答部61は、受信されたHTTPリクエストに含まれるクライアントIDを記憶部12の予め定められた領域(以下「キャッシュ領域12a」という)に格納する。キャッシュ領域12aに記憶されたクライアントIDは、セッションが正常な処理により切断された場合にキャッシュ領域12aから削除される。すなわち、キャッシュ領域12aには、情報処理装置10との間でセッションを確立中である表示装置4のクライアントID、およびセッションが処理の途中で切断されてしまった表示装置4のクライアントIDが蓄積される。   In addition, the reception / response unit 61 stores the client ID included in the received HTTP request in a predetermined area of the storage unit 12 (hereinafter referred to as “cache area 12a”). The client ID stored in the cache area 12a is deleted from the cache area 12a when the session is disconnected by normal processing. That is, the cache area 12a stores the client ID of the display device 4 that is establishing a session with the information processing device 10 and the client ID of the display device 4 that has been disconnected during the processing. The

ステップS161以降の処理において、表示装置4と情報処理装置10とは、HTTPまたはWebSocketのいずれかのプロトコルを用いてメッセージのやりとりを行う。以下、HTTPにより送受信されるメッセージとWebSocketにより送信されるメッセージとを各々区別する必要がない場合には、これらを単に「メッセージ」と称して説明する。情報処理装置10の受付・応答部61は、自装置が送信したメッセージを、そのメッセージに付与されていたクライアントID、トランザクションIDおよびシーケンスIDとともにキャッシュ領域12aに格納する。シーケンスIDは、そのメッセージを識別する識別情報(メッセージ識別子の一例)である。また、表示装置4の制御部141は、自装置が受信したメッセージに付与されていたトランザクションIDおよびシーケンスIDの組を、自装置のキャッシュ領域(以下「キャッシュ領域142a」という)に格納する。キャッシュ領域142aは、記憶部142に設けられていてもよく、また、RAMに設けられてもよい。キャッシュ領域142aに格納されたIDのセットは、セッションが処理の途中で切断された場合などに参照される。   In the processing after step S161, the display device 4 and the information processing device 10 exchange messages using either HTTP or WebSocket protocol. Hereinafter, when there is no need to distinguish between a message transmitted and received by HTTP and a message transmitted by WebSocket, these will be simply referred to as “messages”. The reception / response unit 61 of the information processing apparatus 10 stores the message transmitted by the own apparatus in the cache area 12a together with the client ID, transaction ID, and sequence ID assigned to the message. The sequence ID is identification information (an example of a message identifier) that identifies the message. Further, the control unit 141 of the display device 4 stores the set of the transaction ID and the sequence ID assigned to the message received by the device itself in the cache region (hereinafter referred to as “cache region 142a”) of the device itself. The cache area 142a may be provided in the storage unit 142 or may be provided in the RAM. The set of IDs stored in the cache area 142a is referred to when the session is disconnected during the processing.

図14の説明に戻る。WebSocketセッションが確立されると、制御部141は、上述した第3の方法を申し込む旨を記述した通知要求データを含むHTTPリクエストを情報処理装置10に送信する(ステップS161)。情報処理装置10の受付・応答部61は、そのHTTPリクエストを受信すると、受信されたHTTPリクエストに含まれる通知要求データに記述された申込みの内容をミドルウェア層70に伝達する(ステップS162)。ミドルウェア層70は、伝達された申込みを受け付け、表示装置4に対して今後第3の方法で状態情報の送信を行うための設定を行う(ステップS163)。ミドルウェア層70は、例えば第3の方法で通知を行うか否かを表すフラグをONにする。   Returning to the description of FIG. When the WebSocket session is established, the control unit 141 transmits an HTTP request including notification request data describing that the third method described above is applied to the information processing apparatus 10 (step S161). When receiving the HTTP request, the reception / response unit 61 of the information processing apparatus 10 transmits the contents of the application described in the notification request data included in the received HTTP request to the middleware layer 70 (step S162). The middleware layer 70 receives the transmitted application and performs settings for transmitting status information in the third method in the future on the display device 4 (step S163). For example, the middleware layer 70 turns on a flag indicating whether or not to perform notification by the third method.

次に、図13に示すステップS122からS126までの動作と、ステップS131及びS132の動作が行われる。続いて、情報処理装置10のミドルウェア層70及びハードウェア層80は、ステップS151(コピー出力の検知)の動作を行うと、上記フラグがONになっているため、コピーが媒体に出力されたという状況を示す状況情報を受付・応答部61ではなく、イベント通知部62に供給する(ステップS172)。イベント通知部62は、供給された状況情報(コピー枚数等)を記述した通知データを生成して(ステップS173)、生成したデータをステップS160で確立したWebSocketセッションを介して表示装置4に送信する(ステップS174)。表示装置4の制御部141は、受信されたデータに記述された内容(例えば図3(a)に示す状況情報C1)を自装置の表示部144に表示させる(ステップS175)。   Next, the operations from steps S122 to S126 and the operations of steps S131 and S132 shown in FIG. 13 are performed. Subsequently, when the middleware layer 70 and the hardware layer 80 of the information processing apparatus 10 perform the operation of step S151 (detection of copy output), it is said that the copy is output to the medium because the flag is ON. The situation information indicating the situation is supplied to the event notification unit 62 instead of the reception / response unit 61 (step S172). The event notification unit 62 generates notification data describing the supplied status information (number of copies, etc.) (step S173), and transmits the generated data to the display device 4 via the WebSocket session established in step S160. (Step S174). The control unit 141 of the display device 4 displays the contents described in the received data (for example, the status information C1 shown in FIG. 3A) on the display unit 144 of the own device (step S175).

ミドルウェア層70及びハードウェア層80は、コピー処理を完了すると(ステップS181)、その旨を示す状況情報をイベント通知部62に供給する(ステップS182)。イベント通知部62は、この状況情報を記述した通知データ(例えば「コピーが完了しました。」という文字列を含む通知データ)を生成し(ステップS183)、生成した通知データを、WebSocketのメッセージに含めて表示装置4に送信する(ステップS184)。表示装置4の制御部141は、ステップS184で受信した通知データに記述された内容(例えば図7(b)に示す状況情報C2)を自装置の表示部に表示させる(ステップS185)。   When the middleware layer 70 and the hardware layer 80 complete the copy process (step S181), the middleware layer 70 and the hardware layer 80 supply status information indicating the fact to the event notification unit 62 (step S182). The event notification unit 62 generates notification data describing the status information (for example, notification data including a character string “Copy completed”) (step S183), and uses the generated notification data as a WebSocket message. The data is transmitted to the display device 4 (step S184). The control unit 141 of the display device 4 displays the content described in the notification data received in step S184 (for example, the status information C2 shown in FIG. 7B) on the display unit of the own device (step S185).

[1−5−1−4]状況情報の第4の送信動作
図15は、第4の方法が用いられる場合の各装置の動作の一例を示すシーケンス図である。第4の方法では、WebSocketにより状況情報が表示装置4へ通知される。この方法では、予め確立されたWebSocketセッション、例えば図14のステップS160で確立されたセッションが用いられる。情報処理装置10において予め定められた状況(トナー切れや用紙切れ、収容部オープンなど)が発生すると、情報処理装置10のミドルウェア層70及びハードウェア層80が協働して、その定められた状況を検知し(ステップS201)、検知した状況を表す状況情報をイベント通知部62に供給する(ステップS202)。イベント通知部62は、供給された状況情報を記述した通知データを生成し(ステップS203)、その通知データを、確立されているWebSocketのセッションを介して表示装置4にインターフェース50を介して送信する(ステップS204)。表示装置4の制御部141は、ステップS204で受信した通知データに記述された状況情報を自装置の表示部に表示させる(ステップS205)。
[1-5-1-4] Fourth Transmission Operation of Status Information FIG. 15 is a sequence diagram illustrating an example of the operation of each device when the fourth method is used. In the fourth method, status information is notified to the display device 4 by WebSocket. In this method, a WebSocket session established in advance, for example, the session established in step S160 in FIG. 14 is used. When a predetermined situation occurs in the information processing apparatus 10 (out of toner, out of paper, opening of a storage unit, etc.), the middleware layer 70 and the hardware layer 80 of the information processing apparatus 10 cooperate to determine the predetermined situation. Is detected (step S201), and status information indicating the detected status is supplied to the event notification unit 62 (step S202). The event notification unit 62 generates notification data describing the supplied status information (step S203), and transmits the notification data to the display device 4 via the interface 50 via the established WebSocket session. (Step S204). The control unit 141 of the display device 4 displays the status information described in the notification data received in step S204 on the display unit of the own device (step S205).

なお、上述したように、表示装置4毎に異なる状況が通知されてもよい。その場合には、ステップS192のあとに、制御部141が、自装置に通知すべき状況を記述した通知データを情報処理装置10に通信部43を介して送信する。インターフェース50を介してそれを受け取ったイベント通知部62は、その通知すべき状況を表示装置4の宛先に対応付けて記憶しておく。イベント通知部62は、ステップS202で供給された状況情報が、記憶しておいた通知すべき状況を表している場合にその状況の通知を行う。   As described above, a different situation may be notified for each display device 4. In this case, after step S192, the control unit 141 transmits notification data describing a situation to be notified to the own device to the information processing device 10 via the communication unit 43. The event notification unit 62 that has received it via the interface 50 stores the status to be notified in association with the destination of the display device 4. The event notification unit 62 notifies the situation when the situation information supplied in step S202 represents the stored situation to be notified.

[1−5−2]動作例1
図16は、情報処理システム1の具体的な動作の一例を示すシーケンス図である。この例では、ユーザが表示装置4を操作して、情報処理装置10にコピー処理を実行させる場合の動作例を説明する。この動作例では、情報処理装置10から表示装置4への状況情報の送信の方法として、上述した第3の方法および第4の方法が用いられる(第3の方法が用いられるため、第2の方法は用いられない)。具体的には、クライアントからの要求により実行される処理(例えばコピー処理)の実行指示および実行完了通知の送信処理については、第3の方法が用いられ、クライアントからの要求によらない、情報処理装置10の装置状態を示す通知(例えば、用紙の収容部がセットされていない旨を示す通知)の送信処理については、第4の方法が用いられる。具体的には、図16のステップS308ないしS322、S330およびS331が第3の方法に対応しており、ステップS324ないしS327が第4の方法に対応している。
[1-5-2] Operation example 1
FIG. 16 is a sequence diagram illustrating an example of a specific operation of the information processing system 1. In this example, an operation example in the case where the user operates the display device 4 to cause the information processing device 10 to execute a copy process will be described. In this operation example, the third method and the fourth method described above are used as the method for transmitting the status information from the information processing device 10 to the display device 4 (the second method is used because the third method is used). Method is not used). Specifically, the third method is used for the execution instruction of the processing (for example, copy processing) executed in response to the request from the client and the transmission processing of the execution completion notification, and information processing that does not depend on the request from the client. A fourth method is used for transmission processing of a notification indicating the device status of the device 10 (for example, a notification indicating that the paper storage unit is not set). Specifically, steps S308 to S322, S330, and S331 in FIG. 16 correspond to the third method, and steps S324 to S327 correspond to the fourth method.

まず、ユーザは、表示装置4に対して、ウェブブラウザを起動して情報処理装置10のURLにアクセスする操作を行う。ステップS301において、表示装置4の制御部141は、ウェブブラウザを起動する。ステップS302において、制御部141は、情報処理装置10へTCP(Transmission Control Protocol)のハンドシェイク要求を送信する。表示装置4の制御部141と、情報処理装置10の制御部11との間で、TCPコネクションを確立するためのやり取りが行われ、TCPコネクションが確立される。ステップS303において、制御部141は、WebSocketのハンドシェイク要求であるHTTPリクエストを送信する。インターフェース50は、表示装置4から受信されたHTTPリクエストに基づき、WebSocketへの切り替えを行う。インターフェース50は、WebSocketのハンドシェイク応答を行い、これにより、表示装置4と情報処理装置10との間でWebSocketのセッションが確立される。   First, the user operates the display device 4 to activate a web browser and access the URL of the information processing device 10. In step S301, the control unit 141 of the display device 4 starts a web browser. In step S <b> 302, the control unit 141 transmits a TCP (Transmission Control Protocol) handshake request to the information processing apparatus 10. An exchange for establishing a TCP connection is performed between the control unit 141 of the display device 4 and the control unit 11 of the information processing device 10, and the TCP connection is established. In step S303, the control unit 141 transmits an HTTP request which is a WebSocket handshake request. The interface 50 switches to the WebSocket based on the HTTP request received from the display device 4. The interface 50 performs a WebSocket handshake response, whereby a WebSocket session is established between the display device 4 and the information processing device 10.

セッションが確立されると、制御部141は、表示部144に表示する操作画像を表示するためのデフォルトの設定情報(以下「デフォルト設定情報」という)の取得要求を情報処理装置10へ送信する(ステップS304)。具体的には、制御部141は、デフォルト設定情報の取得要求を示すメッセージを生成する。制御部141は、生成したメッセージを含むHTTPリクエストを情報処理装置10へ送信する。   When the session is established, the control unit 141 transmits an acquisition request for default setting information (hereinafter referred to as “default setting information”) for displaying the operation image to be displayed on the display unit 144 to the information processing apparatus 10 ( Step S304). Specifically, the control unit 141 generates a message indicating an acquisition request for default setting information. The control unit 141 transmits an HTTP request including the generated message to the information processing apparatus 10.

受付・応答部61は、表示装置4からHTTPリクエストを受信すると、受信されたHTTPリクエストに含まれるメッセージに対応するデフォルト設定情報を取得する。デフォルト設定情報は、情報処理装置10の記憶部12に記憶されていてもよく、また、SDカードなどのメモリーカードに記憶されていてもよい。また、デフォルト設定情報は、通信回線2を介して接続されたサーバ装置に格納されていてもよい。ステップS305において、受付・応答部61は、取得したデフォルト設定情報を示すメッセージを生成し、生成したメッセージを含むHTTPレスポンスを表示装置4へ送信する。   When the reception / response unit 61 receives an HTTP request from the display device 4, the reception / response unit 61 acquires default setting information corresponding to the message included in the received HTTP request. The default setting information may be stored in the storage unit 12 of the information processing apparatus 10 or may be stored in a memory card such as an SD card. The default setting information may be stored in a server device connected via the communication line 2. In step S <b> 305, the reception / response unit 61 generates a message indicating the acquired default setting information, and transmits an HTTP response including the generated message to the display device 4.

ステップS306において、制御部141は、情報処理装置10から受信されたHTTPレスポンスに含まれるデフォルト設定情報に従ってデフォルトの操作画像を表示部144に表示する。この例では、制御部141は、受信されたデフォルト設定情報が示す操作画像の配置や大きさなどのパラメータに基づいて、操作画像を表示する。   In step S306, the control unit 141 displays a default operation image on the display unit 144 according to the default setting information included in the HTTP response received from the information processing apparatus 10. In this example, the control unit 141 displays an operation image based on parameters such as the arrangement and size of the operation image indicated by the received default setting information.

こうして表示された操作画像の一例が、上述した図2に示す操作画像データ群A1である。操作画像データ群A1には、「画質調整」、「読取方法」、「出力形式」、「処理編集」などのタグを選択することで表示される操作画像も含まれる。操作画像データ群A1には、コピーする画像の倍率、コピーした画像を形成する用紙及びコピーした画像のカラーモードというパラメータをそれぞれ選択させるための操作画像データグループA12、A13及びA14が含まれている。操作画像データグループA12、A13及びA14は、コピー機能を利用するときに機能部65に指示しなければならないパラメータを選択するための操作画像である。   An example of the operation image displayed in this way is the operation image data group A1 shown in FIG. 2 described above. The operation image data group A1 also includes operation images displayed by selecting tags such as “image quality adjustment”, “reading method”, “output format”, “process editing”, and the like. The operation image data group A1 includes operation image data groups A12, A13, and A14 for selecting parameters such as the magnification of the image to be copied, the paper on which the copied image is formed, and the color mode of the copied image, respectively. . The operation image data groups A12, A13, and A14 are operation images for selecting parameters that must be instructed to the function unit 65 when using the copy function.

例えば操作画像データグループA12には、コピーの倍率を1%単位で大きくするという指示に対応した操作画像データA15と、コピーの倍率を1%単位で小さくするという指示に対応した操作画像データA16とが含まれている。図2に示すように倍率が110%であれば、操作画像データA15を1回操作すれば倍率が111%となり、操作画像データA16を2回操作すれば倍率が108%となる。こうしてパラメータが選択され、上述した操作画像データA11(コピーを開始させるための操作画像)が操作されると、その時点で選択されているパラメータを用いて処理を実行するように情報処理装置10に対する指示が行われる。つまり、操作画像データA11は、指示の内容を定める(つまり決定する)ための操作画像であり、以下では「指示内容決定画像」という。制御部141は、前述したデフォルト設定情報に基づいてこれらの操作画像を表示する。   For example, the operation image data group A12 includes operation image data A15 corresponding to an instruction to increase the copy magnification by 1%, and operation image data A16 corresponding to an instruction to decrease the copy magnification by 1%. It is included. As shown in FIG. 2, when the magnification is 110%, the operation image data A15 is operated once, the magnification is 111%, and the operation image data A16 is operated twice, the magnification is 108%. When the parameter is thus selected and the above-described operation image data A11 (operation image for starting copying) is operated, the information processing apparatus 10 is executed so that the process is executed using the parameter selected at that time. Instruction is given. That is, the operation image data A11 is an operation image for determining (that is, determining) the content of the instruction, and is hereinafter referred to as “instruction content determination image”. The control unit 141 displays these operation images based on the default setting information described above.

また、制御部141は、現在選択されているパラメータの内容をユーザに伝達するための画像(以下「パラメータ伝達画像」という)を表示する。制御部141は、例えば、表示領域B11に、現在選択されているコピーの倍率(この例では「110%」)の文字列をパラメータ伝達画像として表示し、現在選択されている用紙及びカラーモードを表す操作画像(この例では「他の倍率」、「A4普通紙」、「白黒」という文字列が描かれたもの)を、選択されていない選択画像とは異なる態様(この例では線を太くする態様。ハイライトなどの態様でもよい。)で表示している。   In addition, the control unit 141 displays an image (hereinafter referred to as “parameter transmission image”) for transmitting the content of the currently selected parameter to the user. For example, the control unit 141 displays a character string of the currently selected copy magnification (“110%” in this example) as a parameter transmission image in the display area B11, and displays the currently selected paper and color mode. The operation image to be represented (in this example, the character string “other magnification”, “A4 plain paper”, “black and white”) is drawn in a different form from the selected image that is not selected (in this example, the line is thickened). (A mode such as highlight may be used.)

ユーザによって操作画像に対する操作が行われると、制御部141は、その操作に対応した指示を特定する。制御部141は、例えばユーザが操作部のタッチセンサをタップした(軽く叩いた)場合に、操作部から出力されるデータに基づき、タップされた位置が操作画像領域に含まれているか否かを判断する。   When the user performs an operation on the operation image, the control unit 141 identifies an instruction corresponding to the operation. For example, when the user taps (tap) the touch sensor of the operation unit, the control unit 141 determines whether the tapped position is included in the operation image area based on data output from the operation unit. to decide.

ステップS307において、制御部141は、ユーザによって操作された内容に基づいて、情報処理装置10に依頼する処理の内容を記述した指示データを生成する。この例で、ユーザによりコピー処理に関する設定の変更と、コピー処理の実行とが指示された場合の動作を示す。ステップS308において、制御部141は、生成した指示データを含むHTTPリクエストを生成し、生成したHTTPリクエストを情報処理装置10へ送信する。   In step S <b> 307, the control unit 141 generates instruction data describing the content of the processing requested of the information processing apparatus 10 based on the content operated by the user. In this example, an operation in the case where the user has instructed to change the setting related to the copy process and to execute the copy process is shown. In step S <b> 308, the control unit 141 generates an HTTP request including the generated instruction data, and transmits the generated HTTP request to the information processing apparatus 10.

情報処理装置10の受付・応答部61は、表示装置4からHTTPリクエストを受信する。ステップS309において、受付・応答部61は、HTTPリクエストの送信元である表示装置4を識別するクライアントIDと、要求された処理を識別するトランザクションIDとを発行する。なお、HTTPリクエストの送信元である表示装置4のクライアントIDが既に発行されている場合は、再度発行を行うことなく、既に発行されているクライアントIDが用いられる。ステップS310において、受付・応答部61は、発行したクライアントIDとトランザクションIDとを対応付けて、自装置のキャッシュ領域12aに格納する。   The reception / response unit 61 of the information processing device 10 receives an HTTP request from the display device 4. In step S309, the reception / response unit 61 issues a client ID that identifies the display device 4 that is the transmission source of the HTTP request, and a transaction ID that identifies the requested process. In addition, when the client ID of the display device 4 that is the transmission source of the HTTP request has already been issued, the client ID that has already been issued is used without being issued again. In step S310, the reception / response unit 61 associates the issued client ID with the transaction ID and stores them in the cache area 12a of the own apparatus.

受付・応答部61は、処理要求を受け付けた旨を示すHTTPレスポンスを生成する。このHTTPレスポンスには、ステップS309で発行されたクライアントIDとトランザクションIDとが含まれる。ステップS311において、受付・応答部61は、生成したHTTPレスポンスを、ステップS308で受信されたHTTPリクエストの応答として表示装置4へ送信する。   The reception / response unit 61 generates an HTTP response indicating that the processing request has been received. This HTTP response includes the client ID and transaction ID issued in step S309. In step S311, the reception / response unit 61 transmits the generated HTTP response to the display device 4 as a response to the HTTP request received in step S308.

HTTPレスポンスを受信すると、制御部141は、ステップS312において、受信されたHTTPレスポンスに含まれるクライアントIDとトランザクションIDとを対応付けてキャッシュ領域142aに格納する。ステップS313において、表示部144に表示している画面を更新する。表示部144には、例えば、指示された処理が受け付けられた旨を示す画面が表示される。   When receiving the HTTP response, in step S312, the control unit 141 stores the client ID and the transaction ID included in the received HTTP response in association with each other in the cache area 142a. In step S313, the screen displayed on the display unit 144 is updated. For example, a screen indicating that the instructed process has been received is displayed on the display unit 144.

ステップS314において、受付・応答部61は、受信されたHTTPリクエストに含まれる指示データをミドルウェア層70に供給し、画像処理の実行を指示する。ステップS315において、ミドルウェア層70は、供給された指示データに従って処理データを生成する。この処理データは、表示装置4から指示された画像処理を管理するためのデータである。ステップS316において、ミドルウェア層70は、生成された処理データに従って、指示された処理の実行を開始する。具体的には、例えば、ミドルウェア層70は、指示データにより指定された画質及び読取方法で媒体から画像を読み取るように画像読取部13を制御する。また、ミドルウェア層70は、画像読取部13が読み取った画像を、操作により定められた出力形式、倍率、用紙及びカラーモードで形成するように画像形成部14を制御する。このようにして、ミドルウェア層70およびハードウェア層80は、画像読取部13および画像形成部14を制御して、表示装置4により指示された内容に応じた処理を行う。   In step S314, the reception / response unit 61 supplies the instruction data included in the received HTTP request to the middleware layer 70, and instructs execution of image processing. In step S315, the middleware layer 70 generates processing data according to the supplied instruction data. This processing data is data for managing image processing instructed from the display device 4. In step S316, the middleware layer 70 starts executing the instructed process according to the generated process data. Specifically, for example, the middleware layer 70 controls the image reading unit 13 to read an image from the medium with the image quality and the reading method specified by the instruction data. Further, the middleware layer 70 controls the image forming unit 14 so as to form the image read by the image reading unit 13 in the output format, magnification, paper, and color mode determined by the operation. In this way, the middleware layer 70 and the hardware layer 80 control the image reading unit 13 and the image forming unit 14 to perform processing according to the contents instructed by the display device 4.

指示された画像処理を実行している期間において、ミドルウェア層70は、処理の状況に関する状況情報を生成する。ミドルウェア層70は、例えば決められた処理(媒体からの画像の読み取りや画像を形成した媒体の排出など)を行う度に状況情報を生成する。ミドルウェア層70は状況情報をイベント通知部62に送信する(ステップS317)。イベント通知部62は、ミドルウェア層70から状況情報を受信すると、ステップS318において、シーケンスIDを発行する。ステップS319において、イベント通知部62は、発行したシーケンスIDを、メッセージの送信先の表示装置4を示すクライアントIDおよびその処理を識別するトランザクションIDに対応付けてキャッシュ領域12aに格納する。   During the period when the instructed image processing is being executed, the middleware layer 70 generates status information regarding the processing status. The middleware layer 70 generates status information each time a predetermined process (such as reading an image from a medium or discharging a medium on which an image is formed) is performed. The middleware layer 70 transmits status information to the event notification unit 62 (step S317). When receiving the status information from the middleware layer 70, the event notification unit 62 issues a sequence ID in step S318. In step S319, the event notification unit 62 stores the issued sequence ID in the cache area 12a in association with the client ID indicating the message display destination display device 4 and the transaction ID for identifying the process.

図17は、キャッシュ領域12aに格納されるデータの一例を示す図である。キャッシュ領域12aには送信されるメッセージに関するデータが格納される。具体的には、キャッシュ領域12aには、「クライアントID」と、「トランザクションID」と、「シーケンスID」と、「優先度」と、「body」との各情報が対応付けて記憶される。これらの情報のうち、「クライアントID」は、処理要求の送信元である表示装置4を識別する識別情報である。「トランザクションID」は、処理単位で割り当てられる識別情報である。ひとつの処理が完了するまでにやり取りされるメッセージには同一のトランザクションIDが付される。「シーケンスID」は、個々のメッセージを識別する識別情報であり、送信されるメッセージの各々にそれぞれ異なるシーケンスIDが割り当てられる。この例で、シーケンスIDは、複数のメッセージの各々に、メッセージが送信される順にインクリメントされる。また、この例で、シーケンスIDは、送信されるメッセージがHTTPで送信されるかWebSocketで送信されるかに関わらず、送信される順番を示す通し番号が付される。   FIG. 17 is a diagram illustrating an example of data stored in the cache area 12a. The cache area 12a stores data related to the message to be transmitted. Specifically, each information of “client ID”, “transaction ID”, “sequence ID”, “priority”, and “body” is stored in the cache area 12a in association with each other. Among these pieces of information, “client ID” is identification information for identifying the display device 4 that is the transmission source of the processing request. “Transaction ID” is identification information assigned in units of processing. The same transaction ID is attached to messages exchanged until one process is completed. “Sequence ID” is identification information for identifying each message, and a different sequence ID is assigned to each transmitted message. In this example, the sequence ID is incremented for each of the plurality of messages in the order in which the messages are transmitted. In this example, the sequence ID is assigned a serial number indicating the order of transmission regardless of whether the message to be transmitted is transmitted by HTTP or WebSocket.

「優先度」は、各メッセージの優先度を示す情報であり、各メッセージの種別に応じて予め定められている。優先度はメッセージの属性の一例である。この例で、例えば、コピー処理が完了した旨を示すメッセージや、用紙の収容部がセットされていない旨を示すメッセージの優先度は高く設定されており、一方、コピー処理の途中経過を示すメッセージの優先度は低く設定されている。なお、表示装置4からの処理要求を受け付けた旨を示すHTTPレスポンス(ステップS311で送信されるHTTPレスポンス)には、シーケンスIDが発行されない。このHTTPレスポンスについては、「シーケンスID」および「優先度」の項目に「null」を設定したデータがキャッシュ領域142aに登録されてもよい。   “Priority” is information indicating the priority of each message, and is predetermined according to the type of each message. The priority is an example of a message attribute. In this example, for example, a message indicating that the copy process has been completed or a message indicating that the paper storage unit is not set is set to a high priority, while a message indicating the progress of the copy process. The priority of is set low. Note that the sequence ID is not issued to the HTTP response (HTTP response transmitted in step S311) indicating that the processing request from the display device 4 has been received. For this HTTP response, data in which “null” is set in the items of “sequence ID” and “priority” may be registered in the cache area 142a.

再び図16を参照する。イベント通知部62は、ミドルウェア層70から供給された状況情報と、ステップS318で発行されたシーケンスIDと、ステップS309で発行されたトランザクションIDとを含むWebSocketのメッセージを生成する。このイベントには、イベントの優先度を示すパラメータが含まれる。ステップS320において、イベント通知部62は、WebSocketセッションを介して生成したイベントを表示装置4へ送信する。   Refer to FIG. 16 again. The event notification unit 62 generates a WebSocket message including the status information supplied from the middleware layer 70, the sequence ID issued in step S318, and the transaction ID issued in step S309. This event includes a parameter indicating the priority of the event. In step S320, the event notification unit 62 transmits the event generated through the WebSocket session to the display device 4.

表示装置4の制御部141は、情報処理装置10からWebSocketのメッセージを受信する。ステップS321において、制御部141は、受信されたメッセージに含まれるトランザクションIDとシーケンスIDと優先度とを対応付けてキャッシュ領域142aに格納する。   The control unit 141 of the display device 4 receives a WebSocket message from the information processing device 10. In step S321, the control unit 141 stores the transaction ID, sequence ID, and priority included in the received message in the cache area 142a in association with each other.

図18は、キャッシュ領域142aに格納されるデータの一例を示す図である。キャッシュ領域142aには、情報処理装置10から受信されたメッセージを識別する情報が格納される。具体的には、キャッシュ領域142aには、「クライアントID」と、「トランザクションID」と、「シーケンスID」と、「優先度」と、「画面ID」との各情報が対応付けて記憶される。これらの情報のうち、「クライアントID」、「トランザクションID」、「シーケンスID」および「優先度」は、情報処理装置10から受信されるメッセージに付与されている情報である。「画面ID」は、そのメッセージに対応する画面を識別する識別情報である。「画面ID」とメッセージの種別とは予め対応付けられており、制御部141は、記憶部142に予め記憶された対応関係に基づいて、受信されたメッセージに対応する画面IDを特定し、特定した画面IDをキャッシュ領域142aに格納する。なお、図18には、キャッシュ領域142aにクライアントIDが格納される例を示しているが、クライアントIDがキャッシュ領域142aに格納されない構成であってもよい。   FIG. 18 is a diagram illustrating an example of data stored in the cache area 142a. Information for identifying a message received from the information processing apparatus 10 is stored in the cache area 142a. Specifically, each information of “client ID”, “transaction ID”, “sequence ID”, “priority”, and “screen ID” is stored in the cache area 142a in association with each other. . Among these pieces of information, “client ID”, “transaction ID”, “sequence ID”, and “priority” are information given to a message received from the information processing apparatus 10. “Screen ID” is identification information for identifying a screen corresponding to the message. The “screen ID” and the message type are associated in advance, and the control unit 141 identifies and identifies the screen ID corresponding to the received message based on the correspondence relationship stored in advance in the storage unit 142. The screen ID thus stored is stored in the cache area 142a. FIG. 18 shows an example in which the client ID is stored in the cache area 142a, but a configuration in which the client ID is not stored in the cache area 142a may be used.

図16の説明に戻る。ステップS322において、制御部141は、受信されたメッセージに含まれる状況情報に基づいて、表示部144に表示している画面を更新する。具体的には、例えば、処理を実行中である旨を示す画面において、読み取られた媒体の枚数や、画像が形成された媒体の枚数が更新される。   Returning to the description of FIG. In step S322, the control unit 141 updates the screen displayed on the display unit 144 based on the situation information included in the received message. Specifically, for example, on the screen indicating that the process is being executed, the number of read media and the number of media on which images are formed are updated.

ミドルウェア層70から状況情報が供給される毎に、ステップS317ないしステップS322の処理が繰り返し行われ、キャッシュ領域12aおよびキャッシュ領域142aが更新されるとともに、表示装置4の画面がその都度更新される。すなわち、ステップS317ないしステップS322の処理は、ユーザによって指示された処理が情報処理装置10において完了するまで、状況情報が供給される毎に繰り返し実行される。ひとつの処理が完了するまでにイベント通知部62から表示装置4へ送信される複数のメッセージは、ひとつの処理の関するメッセージであるため、同一のトランザクションIDが付される。なお、シーケンスIDはそれぞれのメッセージで異なる。   Each time status information is supplied from the middleware layer 70, the processing from step S317 to step S322 is repeatedly performed, the cache area 12a and the cache area 142a are updated, and the screen of the display device 4 is updated each time. That is, the processes in steps S317 to S322 are repeatedly executed every time the status information is supplied until the process instructed by the user is completed in the information processing apparatus 10. Since a plurality of messages transmitted from the event notification unit 62 to the display device 4 until one process is completed are messages related to one process, the same transaction ID is attached. Note that the sequence ID is different for each message.

ここで、コピー処理の途中で、媒体を収容する収容部がユーザによって開かれた場合、ステップS323において、ミドルウェア層70は、ハードウェア層80から通知に応じて、収容部がセットされていない旨を検知する。ステップS324において、ミドルウェア層70は、検知した状態を示す状態情報をイベント通知部62に供給する。ステップS325において、イベント通知部62は、この状態情報を送信するためのトランザクションIDとシーケンスIDとを発行する。収容部の状態の通知処理は、コピー処理とは異なる処理であるため、コピー処理のトランザクションIDとは異なるトランザクションIDが発行される。ステップS326において、イベント通知部62は、発行したトランザクションIDとシーケンスIDとをキャッシュ領域12aにキャッシュする。ステップS327において、イベント通知部62は、供給された状態情報を含むとともに、発行したトランザクションIDとシーケンスIDとを含むWebSocketのメッセージを表示装置4に送信する。ステップS328において、制御部141は、受信されたメッセージに含まれるIDのセットをキャッシュ領域142aにキャッシュする。ステップS329において、制御部141は、受信された状態情報に応じた画面(図10に例示される画面)を表示する。   Here, in the middle of the copy process, if the storage unit that stores the medium is opened by the user, the middleware layer 70 indicates that the storage unit is not set in response to the notification from the hardware layer 80 in step S323. Is detected. In step S324, the middleware layer 70 supplies state information indicating the detected state to the event notification unit 62. In step S325, the event notification unit 62 issues a transaction ID and a sequence ID for transmitting this state information. Since the notification process of the status of the storage unit is a process different from the copy process, a transaction ID different from the transaction ID of the copy process is issued. In step S326, the event notification unit 62 caches the issued transaction ID and sequence ID in the cache area 12a. In step S <b> 327, the event notification unit 62 transmits a WebSocket message including the issued transaction ID and sequence ID to the display device 4, including the supplied state information. In step S328, the control unit 141 caches the set of IDs included in the received message in the cache area 142a. In step S329, the control unit 141 displays a screen (screen illustrated in FIG. 10) according to the received state information.

さて、指示された画像処理の実行が完了すると、ステップ330において、ミドルウェア層70は、処理が完了した旨を示す状態情報をイベント通知部62に供給する。ステップS331において、イベント通知部62は、供給された状態情報を含むWebSocketメッセージを生成し、生成したメッセージをWebSocketセッションにより表示装置4へ送信する。ステップS332において、制御部141は、受信されたイベントに含まれるIDのセットをキャッシュ領域142aにキャッシュする。ステップS333において、制御部141は、指示された画像処理が完了した旨を示す画面を表示部144に表示する。   When the execution of the instructed image processing is completed, in step 330, the middleware layer 70 supplies status information indicating that the processing is completed to the event notification unit 62. In step S331, the event notification unit 62 generates a WebSocket message including the supplied state information, and transmits the generated message to the display device 4 through the WebSocket session. In step S332, the control unit 141 caches the set of IDs included in the received event in the cache area 142a. In step S333, the control unit 141 displays a screen indicating that the instructed image processing is completed on the display unit 144.

[1−5−3]動作例2
図19は、情報処理システム1の動作の他の例を示すシーケンス図である。この例では、ユーザが表示装置4を操作して、情報処理装置10にコピー処理を実行させる場合の動作であって、コピー処理の途中で(コピー処理が完了する前に)、表示装置4が情報処理装置10からメッセージを受信できなくなってしまった場合の動作を説明する。メッセージを受信できない場合とは、例えば、WebSocketセッションが何らかの原因により切断されてしまった場合や、表示装置4のメッセージの受信に係るバッファの空き容量がなくなってしまうことによってメッセージが受信できなくなった場合、通信回線の状況によりメッセージの一部または全部が紛失されてしまった場合などが挙げられる。WebSocketセッションが切断されてしまう場合とは、例えばネットワークが不安定であったり、停電や節電などの理由による切断が挙げられる。図19には、図16のステップS322の処理が行われた後に、WebSocketセッションが切断された場合の動作が例示されている。
[1-5-3] Operation example 2
FIG. 19 is a sequence diagram illustrating another example of the operation of the information processing system 1. In this example, the operation is performed when the user operates the display device 4 to cause the information processing device 10 to execute a copy process. In the middle of the copy process (before the copy process is completed), the display device 4 An operation when a message cannot be received from the information processing apparatus 10 will be described. For example, when the message cannot be received, for example, when the WebSocket session is disconnected due to some reason, or when the message cannot be received because the buffer capacity for receiving the message of the display device 4 is exhausted. In some cases, some or all of the message is lost due to the communication line status. The case where the WebSocket session is disconnected includes, for example, disconnection due to reasons such as an unstable network or a power failure or power saving. FIG. 19 illustrates an operation when the WebSocket session is disconnected after the process of step S322 in FIG. 16 is performed.

表示装置4の制御部141は、情報処理装置10からのメッセージを受信していない可能性があると判定した場合、メッセージの再送処理を行う。判定の方法としては、例えば、セッションの切断が検知された場合や、メッセージの受信に係るバッファの空き容量がなくなってしまった場合に、受信すべきメッセージが受信されていない可能性があると判定してもよい。受信すべきメッセージが受信されていない可能性があると判定した場合、制御部141は、セッションが切断されているかを判定する。セッションが切断されている場合、制御部141は、ステップS401において、WebSocketの再接続要求、すなわちハンドシェイク要求(HTTPリクエスト)を情報処理装置10へ送信する。なお、セッションが切断されていない場合、ステップS401ないしステップS404の処理はスキップされる。ステップS401において送信される再接続要求には、キャッシュ領域142aに格納されている自装置を識別するクライアントIDが含まれる。ここで、表示装置4の制御部141が、受信すべきメッセージが受信されていない可能性があると判定する別の態様としては、キャッシュに記憶している通知メッセージのうち、同一のトランザクションIDが付与されたメッセージを確認し、一連のメッセージの全体の数とそのメッセージが何通目であるかを示す情報が付加されている場合に、最後まで受信していないことを判断するようにしてもよいし、一連のメッセージに必ず最後を示す情報がある場合に、また、最後を示す情報が不可され得たメッセージが無いことを核にすることにより、まだ最後までメッセージを受信していないことを判断するように構成してもよい。   When the control unit 141 of the display device 4 determines that there is a possibility that the message from the information processing device 10 has not been received, the control unit 141 performs a message retransmission process. As a determination method, for example, when the disconnection of a session is detected or when the free space of the buffer related to the reception of the message is exhausted, it is determined that there is a possibility that the message to be received is not received. May be. When determining that there is a possibility that a message to be received has not been received, the control unit 141 determines whether the session is disconnected. When the session is disconnected, the control unit 141 transmits a WebSocket reconnection request, that is, a handshake request (HTTP request) to the information processing apparatus 10 in step S401. If the session is not disconnected, the processing from step S401 to step S404 is skipped. The reconnection request transmitted in step S401 includes a client ID for identifying the own device stored in the cache area 142a. Here, as another aspect in which the control unit 141 of the display device 4 determines that there is a possibility that the message to be received has not been received, the same transaction ID is included in the notification message stored in the cache. Check the given message, and if information indicating the total number of messages in the series and the number of messages is added, it may be determined that the message has not been received. Okay, if there is always information that indicates the end in a series of messages, and that there is no message that could be disabled for the information indicating the end, the message has not yet been received to the end. You may comprise so that it may judge.

ステップS402において、インターフェース50は、受信されたHTTPリクエストに含まれるクライアントIDを、キャッシュ領域12aに記憶されたクライアントIDと照合する。キャッシュ領域12aには、上述したように、情報処理装置10との間でセッションを確立している表示装置4のクライアントIDが格納されており、セッションが正常な処理により切断された場合にキャッシュ領域12aから削除される。すなわち、通信ネットワークの問題等により処理の途中でセッションが切断されてしまった場合、そのセッションの確立先のクライアントIDはキャッシュ領域12aに記憶されたままとなっている。また、情報処理装置10が複数の表示装置4との間でセッションを確立している場合、キャッシュ領域12aには、複数のクライアントIDが格納されている。ステップS401において受信されたHTTPリクエストに含まれるクライアントIDがキャッシュ領域12aに格納されている場合、インターフェース50は、表示装置4との間のセッションを再度確立する処理を行う。すなわち、ステップS404において、インターフェース50は、表示装置4にハンドシェイク応答を送信し、セッションを確立する。なお、受信されたHTTPリクエストに含まれるクライアントIDがキャッシュ領域に格納されていない場合、制御部11は、セッションを新規に確立すると判断する。図19では、受信されたHTTPリクエストに含まれるクライアントIDがキャッシュ領域12aに格納されている場合の動作を例示している。   In step S402, the interface 50 collates the client ID included in the received HTTP request with the client ID stored in the cache area 12a. As described above, the cache area 12a stores the client ID of the display device 4 that has established a session with the information processing apparatus 10, and the cache area when the session is disconnected due to normal processing. Deleted from 12a. That is, when a session is disconnected in the middle of processing due to a communication network problem or the like, the client ID to which the session is established remains stored in the cache area 12a. When the information processing apparatus 10 has established a session with a plurality of display apparatuses 4, a plurality of client IDs are stored in the cache area 12a. When the client ID included in the HTTP request received in step S401 is stored in the cache area 12a, the interface 50 performs processing for reestablishing a session with the display device 4. That is, in step S404, the interface 50 transmits a handshake response to the display device 4 and establishes a session. When the client ID included in the received HTTP request is not stored in the cache area, the control unit 11 determines to newly establish a session. FIG. 19 illustrates an operation when the client ID included in the received HTTP request is stored in the cache area 12a.

ステップS405において、制御部141は、キャッシュ領域142aに格納されているトランザクションID、セッションIDおよびクライアントIDのセットを読み出す。キャッシュ領域142aにIDのセットが複数格納されている場合、この実施形態では、制御部141は、格納されている全てのIDのセットを読み出す。   In step S405, the control unit 141 reads a set of transaction ID, session ID, and client ID stored in the cache area 142a. When a plurality of ID sets are stored in the cache area 142a, in this embodiment, the control unit 141 reads all stored ID sets.

ステップS406において、制御部141は、読み出したIDのセットを情報処理装置10へ送信する。このIDのセットは、WebSocketセッションを介して送信される。   In step S <b> 406, the control unit 141 transmits the read ID set to the information processing apparatus 10. This set of IDs is transmitted via a WebSocket session.

イベント通知部62は、表示装置4からIDのセットを受信する。ステップS407において、受付・応答部61は、受信されたIDのセットとキャッシュ領域12aに記憶されているIDのセットと照合し、照合結果に基づいて、どのメッセージを再送するかを決定する。この例で、受付・応答部61は、受信されたIDのセットとキャッシュ領域12aに記憶されたIDのセットとを比較して差分を抽出する。また、受付・応答部61は、抽出された差分に含まれるIDのセットに対応するメッセージのうち、優先度が予め定められた閾値よりも高いメッセージを、再送するメッセージとして特定する。例えば、受付・応答部61は、優先度が「100」以上であるメッセージを再送するメッセージとして特定してもよい。ステップS408において、イベント通知部62は、特定したメッセージを表示装置4へ再送する。   The event notification unit 62 receives a set of IDs from the display device 4. In step S407, the reception / response unit 61 collates the received ID set with the ID set stored in the cache area 12a, and determines which message to retransmit based on the collation result. In this example, the reception / response unit 61 compares the received ID set with the ID set stored in the cache area 12a and extracts the difference. In addition, the reception / response unit 61 identifies, as a message to be retransmitted, a message whose priority is higher than a predetermined threshold among the messages corresponding to the set of IDs included in the extracted difference. For example, the reception / response unit 61 may identify a message whose priority is “100” or higher as a message to be retransmitted. In step S <b> 408, the event notification unit 62 retransmits the identified message to the display device 4.

制御部141は、再送されたメッセージを受信する。ステップS409において、制御部141は、受信されたメッセージに含まれるIDのセットをキャッシュ領域142aに格納し、ステップS410において、受信されたメッセージに応じた画面を表示部144に表示する。この例で、制御部141が表示部144に表示する画面は、受信されたメッセージ(優先度が閾値よりも高いメッセージ)に対応する画面であり、例えば、収容部が正しくセットされていない旨を示す画面や、処理が完了した旨を示す画面である。すなわち、この例で、表示部144には、ユーザへの通知が必須であると考えられる画面が表示され、ユーザへの通知が必ずしも必要でない画面、例えばコピー処理の途中経過を示す画面(コピーが3ページ目まで終わりました、など)は表示されない。   The control unit 141 receives the retransmitted message. In step S409, the control unit 141 stores the set of IDs included in the received message in the cache area 142a, and in step S410, displays a screen corresponding to the received message on the display unit 144. In this example, the screen displayed on the display unit 144 by the control unit 141 is a screen corresponding to the received message (message whose priority is higher than the threshold value). For example, the storage unit is not set correctly. And a screen indicating that the processing has been completed. That is, in this example, the display unit 144 displays a screen that is considered to be indispensable to notify the user, and a screen that does not necessarily require notification to the user, for example, a screen that shows the progress of the copy process (copy Is not displayed.

ところで、処理の途中でセッションが切断されてしまった場合など、何らかの原因で表示装置4が情報処理装置10からのメッセージを受信できなくなってしまう場合がある。この場合、表示装置4で受信すべきメッセージが受信されない虞がある。例えば、情報処理装置10でコピー処理が完了しているにも関わらず、表示装置4がコピー処理の完了通知を受信できない場合、表示装置4の画面が更新されなくなってしまう。また、他の例として、例えば、ユーザによって指示されたコピー処理を情報処理装置10が実行している最中に、用紙の収容部が情報処理装置10からはずされてしまったにも関わらず、収容部が正しくセットされていない旨の通知が表示装置4で受信されなかった場合、表示装置4にはその旨が表示されないから、ユーザはコピー処理が実行されない理由を把握することができない。   By the way, the display device 4 may not be able to receive a message from the information processing device 10 for some reason, such as when the session is disconnected during the process. In this case, a message that should be received by the display device 4 may not be received. For example, when the display device 4 cannot receive the copy processing completion notification even though the copy processing is completed in the information processing device 10, the screen of the display device 4 is not updated. As another example, for example, while the information processing apparatus 10 is executing the copy process instructed by the user, the sheet storage unit is removed from the information processing apparatus 10, If the display device 4 does not receive a notification that the storage unit is not set correctly, the display device 4 does not display that fact, so the user cannot grasp the reason why the copy process is not executed.

それに対しこの実施形態では、表示装置4から再送要求があった場合、情報処理装置10が表示装置4から送信されてきたIDのセットと自装置にキャッシュされているIDのセットとを照合し、照合結果に応じてメッセージの再送処理を行う。これにより、情報処理装置10から表示装置4への通知がロストすることが防止される。また、このとき、キャッシュされているすべてのメッセージを再送するのではなく、条件を満たすメッセージを選定して送信することにより、再送に起因する処理負荷が軽減される。
上記した実施例では、表示装置4と情報処理装置10との間の通信セッションが切断された後にセッションを再確立したときに、表示装置4からメッセージ再送要求を行う例を説明したが、この構成に限られることはなく、情報処理装置10の受付・応答部61またはイベント通知部62は、セッションの再確立したおきに表示装置10に対し、キャッシュ領域142aに格納された情報の取得を要求し、取得したIDのセットとキャッシュ領域12aに記憶されたIDのセットとを比較して差分を抽出するようにしてもよい。情報処理装置10側から表示装置4へのキャッシュ領域に格納された情報の取得は、セッション再確立する毎に要求してもよいし、情報処理装置10の受付・応答部61またはイベント通知部62が未送信のメッセージが存在すると判断したときにのみ要求するようにしてもよい。
On the other hand, in this embodiment, when there is a retransmission request from the display device 4, the information processing device 10 collates the set of IDs transmitted from the display device 4 with the set of IDs cached in the own device, The message is retransmitted according to the collation result. This prevents the notification from the information processing device 10 to the display device 4 from being lost. At this time, instead of retransmitting all cached messages, by selecting and transmitting messages that satisfy the conditions, the processing load due to retransmission is reduced.
In the above-described embodiment, the example in which the message retransmission request is made from the display device 4 when the session is reestablished after the communication session between the display device 4 and the information processing device 10 is disconnected has been described. The reception / response unit 61 or the event notification unit 62 of the information processing device 10 requests the display device 10 to acquire information stored in the cache area 142a every time the session is re-established. The difference may be extracted by comparing the acquired set of IDs with the set of IDs stored in the cache area 12a. Acquisition of information stored in the cache area from the information processing device 10 side to the display device 4 may be requested every time the session is re-established, or the reception / response unit 61 or event notification unit 62 of the information processing device 10 may be requested. May be requested only when it is determined that there is an unsent message.

[2]変形例
上述した実施形態は、本発明の実施の一例に過ぎず、以下のように変形させてもよい。また、上述した実施形態及び以下に示す各変形例は、必要に応じて組み合わせて実施してもよい。
[2] Modification The above-described embodiment is merely an example of the present invention, and may be modified as follows. Moreover, you may implement combining embodiment mentioned above and each modification shown below as needed.

[2−1]再送するメッセージの特定方法
上述の実施形態では、イベント通知部62は、図19のステップS407において、どのメッセージを再送するかを、受信されたIDのセットとキャッシュ領域12aに記憶されたIDのセットと比較して差分を抽出し、抽出した差分のうち、重要度(優先度)が予め定められた閾値よりも高いメッセージを、再送するメッセージとして特定した。再送するメッセージの特定方法はこれに限られない。例えば、イベント通知部62は、抽出された差分に含まれるIDのセットに対応する全てのメッセージを、優先度の値に関わらず、再送するメッセージとして特定してもよい。
[2-1] Method for identifying message to be retransmitted In the above-described embodiment, the event notification unit 62 stores which message is retransmitted in step S407 of FIG. 19 in the received ID set and the cache area 12a. A difference is extracted by comparing with the set of IDs, and a message whose importance (priority) is higher than a predetermined threshold among the extracted differences is specified as a message to be retransmitted. The method for identifying the message to be retransmitted is not limited to this. For example, the event notification unit 62 may specify all messages corresponding to the set of IDs included in the extracted difference as messages to be retransmitted regardless of the priority value.

また、上述の実施形態では、イベント通知部62は、抽出された差分に含まれるIDのセットに対応するメッセージのうち、優先度が閾値よりも高いメッセージを再送するメッセージとして特定したが、判定に用いられる属性は優先度に限られない。判定に用いられるメッセージの属性としては、例えば、メッセージの送信先である表示装置4の種別(リモート/ローカル、など)を示す情報や、メッセージが送信されてからの経過時間が用いられてもよい。   In the above-described embodiment, the event notification unit 62 specifies a message having a higher priority than the threshold among messages corresponding to the set of IDs included in the extracted difference as a message to be retransmitted. The attribute used is not limited to priority. As an attribute of the message used for the determination, for example, information indicating the type (remote / local, etc.) of the display device 4 that is a message transmission destination, or an elapsed time since the message was transmitted may be used. .

また、他の例として、イベント通知部62は、キャッシュ領域12aに記憶されているメッセージの中に、表示装置4が受信しておらず、かつ、属性が予め定められた条件を満たすメッセージがない場合、表示装置4が受信済であって属性が条件を満たすメッセージを再送すべきメッセージとして特定してもよい。例えば、イベント通知部62は、抽出された差分に含まれるIDのセットに対応するメッセージのうち、優先度が閾値よりも高いメッセージが無い場合、差分に含まれないIDのセットに対応するメッセージの中から、優先度が閾値よりも高いメッセージを、再送するメッセージとして特定してもよい。この例では、再送されたメッセージが表示装置4で受信されることにより表示部144に表示される画面は、既に表示された画面である。すなわち、この例では、表示部144の画面が、特定の画面(例えば、ユーザが処理の経過を把握し易い画面、等)まで戻す制御が行われる。   As another example, the event notification unit 62 has no message stored in the cache area 12a that is not received by the display device 4 and satisfies a predetermined attribute condition. In this case, a message that has been received by the display device 4 and satisfies the attribute condition may be specified as a message to be retransmitted. For example, if there is no message whose priority is higher than the threshold among the messages corresponding to the set of IDs included in the extracted difference, the event notification unit 62 displays the message corresponding to the set of IDs not included in the difference. Among them, a message having a priority higher than a threshold value may be specified as a message to be retransmitted. In this example, the screen displayed on the display unit 144 when the retransmitted message is received by the display device 4 is a screen that has already been displayed. That is, in this example, control is performed to return the screen of the display unit 144 to a specific screen (for example, a screen on which the user can easily grasp the progress of the process).

また、他の例として、イベント通知部62は、キャッシュ領域12aにキャッシュされたメッセージのうち、送信されてから経過した時間が予め定められた閾値以下であるメッセージを再送すべきメッセージとして特定してもよい。また、イベント通知部62は、送信されてから経過した時間が予め定められた閾値以上であるメッセージをキャッシュ領域12aから削除するようにしてもよい。   As another example, the event notification unit 62 identifies a message cached in the cache area 12a as a message to be retransmitted as a message whose time elapsed since transmission is less than or equal to a predetermined threshold. Also good. Further, the event notification unit 62 may delete from the cache area 12a a message whose elapsed time since transmission is equal to or greater than a predetermined threshold.

また、表示装置4から要求された処理の完了通知を示すメッセージがキャッシュ領域12aにキャッシュされている場合、イベント通知部62は、処理の完了通知を示すメッセージを再送すべきメッセージとして特定してもよい。この場合、その完了通知を示すメッセージに含まれるトランザクションIDと同一のトランザクションIDが付された他のメッセージは、再送すべきメッセージとして特定されない。この例では、例えば、コピー処理の途中経過(コピーが3ページ目まで終わりました、など)を示すメッセージは再送されない。   Further, when the message indicating the processing completion notification requested from the display device 4 is cached in the cache area 12a, the event notification unit 62 may identify the message indicating the processing completion notification as a message to be retransmitted. Good. In this case, other messages with the same transaction ID as the transaction ID included in the message indicating the completion notification are not specified as messages to be retransmitted. In this example, for example, a message indicating the progress of copy processing (copying has been completed to the third page, etc.) is not retransmitted.

また、上述の実施形態において、イベント通知部62が、キャッシュ領域12aにキャッシュされたメッセージの属性に基づいて、送信すべきメッセージの順序を変更して送信してもよい。   In the above-described embodiment, the event notification unit 62 may change the order of messages to be transmitted based on the attribute of the message cached in the cache area 12a.

[2−2]メッセージのキャッシュ方法
上述の実施形態では、イベント通知部62は、表示装置4へ送信するメッセージを全てキャッシュ領域12aにキャッシュしたが、イベント通知部62がキャッシュするメッセージを選定してもよい。例えば、イベント通知部62は、表示装置4へ送信するメッセージのうち、重要度が予め定められた閾値よりも高いメッセージをキャッシュし、それ以外のメッセージはキャッシュしないようにしてもよい。
[2-2] Message Caching Method In the above-described embodiment, the event notification unit 62 caches all messages to be transmitted to the display device 4 in the cache area 12a, but selects a message to be cached by the event notification unit 62. Also good. For example, the event notification unit 62 may cache a message whose importance is higher than a predetermined threshold among messages transmitted to the display device 4 and may not cache other messages.

また、複数の記憶領域(例えばRAMとハードディスクドライブ)にキャッシュ領域を設ける構成とし、イベント通知部62が、重要度に応じてキャッシュする領域を異ならせてもよい。例えば、イベント通知部62が、重要度が閾値よりも高いメッセージは記憶部12のキャッシュ領域に格納する一方、重要度が閾値以下であるメッセージはRAMに設けたキャッシュ領域に格納するようにしてもよい。   Further, a cache area may be provided in a plurality of storage areas (for example, a RAM and a hard disk drive), and the event notification unit 62 may change the cache area according to the importance. For example, the event notification unit 62 may store a message whose importance level is higher than a threshold value in the cache area of the storage unit 12, while storing a message whose importance level is less than or equal to the threshold value in a cache area provided in the RAM. Good.

[2−3]再送要求に含めるIDセットの選定方法
上述の実施形態では、表示装置4の制御部141は、キャッシュ領域142aにキャッシュされている全てのIDのセットを再送要求に含めて情報処理装置10へ送信した。再送要求に含めるIDのセットは上述した実施形態で示したものに限られない。例えば、制御部141は、キャッシュ領域142aに格納されているIDのセットのうち、最新のIDのセットを読み出して再送要求に含めて送信してもよい。また、他の例として、例えば、制御部141は、キャッシュ領域142aに格納されているIDのセットのうち、重要度(優先度)が予め定められた閾値以上であるIDのセットを読み出してもよい。
[2-3] Method for Selecting ID Set to be Included in Retransmission Request In the embodiment described above, the control unit 141 of the display device 4 includes all ID sets cached in the cache area 142a in the retransmission request and performs information processing. Sent to device 10. The set of IDs included in the retransmission request is not limited to that shown in the above-described embodiment. For example, the control unit 141 may read out the latest set of IDs from the set of IDs stored in the cache area 142a, and transmit the set in the retransmission request. As another example, for example, the control unit 141 may read an ID set whose importance (priority) is equal to or higher than a predetermined threshold among the ID sets stored in the cache area 142a. Good.

また、上述の実施形態では、制御部141は、受信済みである(すなわちキャッシュ領域142aに格納されている)IDを読み出して再送要求に含めたが、再送要求に含めるIDのセットは、キャッシュ領域142aに格納されているものに限られない。例えば、制御部141は、キャッシュ領域142aに格納されているIDのセットに含まれるシーケンスIDに基づいて受信していないメッセージのシーケンスIDを推定し、推定したシーケンスIDを再送要求に含めてもよい。具体的には、例えば、キャッシュ領域142aにシーケンスIDとして「001」、「002」が格納されている場合、制御部141は、キャッシュ領域142aに格納されているシーケンスIDの中から最近に受信されたもの(この例では、「001」)を特定し、特定したシーケンスIDをインクリメントした値(この例では、「003」)を再送要求に「003」含めてもよい。この場合、情報処理装置10の制御部11は、送信されてくる再送要求に含まれるシーケンスIDが付されたメッセージおよびそれ以降のメッセージを再送する。   Further, in the above-described embodiment, the control unit 141 reads the ID that has been received (that is, stored in the cache area 142a) and includes the ID in the retransmission request. It is not restricted to what is stored in 142a. For example, the control unit 141 may estimate the sequence ID of a message that has not been received based on the sequence ID included in the set of IDs stored in the cache area 142a, and include the estimated sequence ID in the retransmission request. . Specifically, for example, when “001” and “002” are stored as sequence IDs in the cache area 142a, the control unit 141 has recently received from the sequence IDs stored in the cache area 142a. A value (“001” in this example) is specified, and a value (“003” in this example) obtained by incrementing the specified sequence ID may be included in the retransmission request. In this case, the control unit 11 of the information processing apparatus 10 retransmits the message with the sequence ID included in the transmitted retransmission request and subsequent messages.

[2−4]再送されたメッセージに対応する処理の実行
上述の実施形態において、制御部141は、情報処理装置10から再送されてきたメッセージに対応する処理を実行するか否かを、メッセージによって異ならせてもよい。具体的には、例えば、制御部141は、再送されてきたメッセージのうち、重要度が予め定められた閾値よりも高いメッセージに対応する処理を実行し、それ以外の処理を実行しないようにしてもよい。
[2-4] Execution of processing corresponding to retransmitted message In the above-described embodiment, the control unit 141 determines whether or not to execute the processing corresponding to the message retransmitted from the information processing apparatus 10 according to the message. It may be different. Specifically, for example, the control unit 141 executes processing corresponding to a message whose importance is higher than a predetermined threshold among the retransmitted messages, and does not execute any other processing. Also good.

また、例えば、再送されてきたメッセージのなかに、ユーザによって指示された処理の完了通知を示すメッセージが含まれている場合、制御部141は、完了通知のメッセージに対応する処理(すなわち完了画面の表示処理)を行い、そのメッセージに付されているトランザクションIDが付された他のメッセージに関する処理を行わないようにしてもよい。   For example, when the retransmitted message includes a message indicating the completion notification of the processing instructed by the user, the control unit 141 performs processing corresponding to the completion notification message (that is, the completion screen). Display processing) may be performed, and processing related to other messages with transaction IDs attached to the messages may not be performed.

[2−5]通信の規格
実施形態では、ユーザ装置20は、無線LANの規格に準拠する無線通信を行う通信部を備えていたが、これに限らず、例えば操作装置30の通信部33と同様に有線LANの規格に準拠する通信を行う通信部を備えていてもよい。この場合、ユーザ装置20は、有線LANのルータやハブなどに通信用のケーブルを介して接続される。この場合のユーザ装置20の通信部も、上述した他の通信機器(ルータやハブなど)と通信する通信手段として機能する。
[2-5] Communication Standard In the embodiment, the user device 20 includes a communication unit that performs wireless communication in conformity with the wireless LAN standard. Similarly, a communication unit that performs communication conforming to the standard of the wired LAN may be provided. In this case, the user device 20 is connected to a wired LAN router or hub via a communication cable. In this case, the communication unit of the user device 20 also functions as a communication unit that communicates with other communication devices (such as a router and a hub) described above.

また、実施形態では、情報処理装置10の第1通信部と操作装置30の通信部が有線LANの規格に準拠して通信を行ったが、これに限らず、例えば、USB(Universal Serial Bus)やHDMI(登録商標)(High-Definition Multimedia Interface)などの規格に準拠する通信を行ってもよいし、他にも、無線LANやBluetooth(登録商標)、NFC(Near field communication)などの規格に準拠する無線通信を行ってもよい。いずれの場合も、操作装置30の通信部は、他のルータはハブなどの通信機器を介さずに情報処理装置10の第1通信部と通信する。このように、操作装置30の通信部は、他の通信機器を介さず情報処理装置10と通信する通信手段として機能する。   In the embodiment, the first communication unit of the information processing device 10 and the communication unit of the operation device 30 communicate according to the standard of the wired LAN. However, the present invention is not limited to this. For example, a USB (Universal Serial Bus) And communication conforming to standards such as HDMI (registered trademark) (High-Definition Multimedia Interface), and other standards such as wireless LAN, Bluetooth (registered trademark), NFC (Near field communication), etc. Compliant wireless communication may be performed. In any case, the communication unit of the controller device 30 communicates with the first communication unit of the information processing apparatus 10 without the other routers passing through a communication device such as a hub. As described above, the communication unit of the operation device 30 functions as a communication unit that communicates with the information processing device 10 without using other communication devices.

また、上述の実施形態では、情報処理装置10と表示装置4とは、HTTPおよびWebSocketの2種類の通信プロトコルを併用してデータの授受を行ったが、用いられる通信プロトコルはこれらに限られない。情報処理装置10と表示装置4とが用いる通信プロトコルは、表示装置4(ウェブクライアント)から送信される要求に対する応答を情報処理装置10(ウェブサーバ)が送信するための第1通信プロトコルと、情報処理装置10から表示装置4へ通知を送信するために第2通信プロトコルであればよい。   In the above-described embodiment, the information processing apparatus 10 and the display apparatus 4 exchange data using two types of communication protocols, HTTP and WebSocket, but the communication protocol used is not limited to these. . The communication protocol used by the information processing apparatus 10 and the display apparatus 4 includes a first communication protocol for the information processing apparatus 10 (web server) to transmit a response to a request transmitted from the display apparatus 4 (web client), and information. The second communication protocol may be used in order to transmit a notification from the processing device 10 to the display device 4.

また、上述の実施形態において、情報処理装置10と表示装置4とは、SOAP(Simple Object Access Protocol)の規格に準拠したデータの授受を行ってもよい。また、情報処置装置10と表示装置4とがデータの授受を行う際に準拠するプロトコルはこれに限られない。情報処理装置10と表示装置4とは、例えばREST(Representational State Transfer)やSGML(Standard Generalized Markup Language)などの規格に準拠して通信してもよい。   Further, in the above-described embodiment, the information processing apparatus 10 and the display apparatus 4 may exchange data that conforms to the SOAP (Simple Object Access Protocol) standard. Further, the protocol that is used when the information processing device 10 and the display device 4 exchange data is not limited to this. The information processing device 10 and the display device 4 may communicate in accordance with a standard such as REST (Representational State Transfer) or SGML (Standard Generalized Markup Language).

[2−6]操作装置の構成
操作装置30は、実施形態では図5に示すように制御部や記憶部、通信部を備えていたが、これらを備えていなくてもよい。
図20は、本変形例の情報処理装置10aのハードウェア構成の一例を示す図である。図20の例では、図6に示す各部のうち、操作装置30を除く各部を備える情報処理装置10aと、操作装置30aとが示されている。本変形例でも、操作装置30aは情報処理装置10aの筐体に固定されている。操作装置30aは、図5に示す通信部33と、UI部36とを備える。
[2-6] Configuration of Operation Device In the embodiment, the operation device 30 includes the control unit, the storage unit, and the communication unit as illustrated in FIG. 5, but may not include these.
FIG. 20 is a diagram illustrating an example of a hardware configuration of the information processing apparatus 10a according to the present modification. In the example of FIG. 20, an information processing apparatus 10 a including each unit excluding the operation device 30 among the units illustrated in FIG. 6 and the operation device 30 a are illustrated. Also in this modification, the operating device 30a is fixed to the housing of the information processing device 10a. The operating device 30a includes a communication unit 33 and a UI unit 36 illustrated in FIG.

通信部33及びUI部36は、情報処理装置10a内のバスに接続され、制御部11によって制御されるようになっている。また、通信部33は、第1通信部15とも接続されている。UI部36は、表示面と表示面に重ねられたタッチセンサとを備え、ユーザからの操作を受け付けるとともに画像を表示する。UI部36は、受け付けたユーザの操作に応じた操作データを制御部11に供給し、制御部11は、この操作データに応じた処理を行う。本変形例では、制御部11がブラウザのプログラムを実行することで図7に示す表示装置4の機能を実現する。   The communication unit 33 and the UI unit 36 are connected to a bus in the information processing apparatus 10 a and are controlled by the control unit 11. The communication unit 33 is also connected to the first communication unit 15. The UI unit 36 includes a display surface and a touch sensor superimposed on the display surface, and receives an operation from the user and displays an image. The UI unit 36 supplies operation data corresponding to the received user operation to the control unit 11, and the control unit 11 performs processing according to the operation data. In this modification, the function of the display device 4 shown in FIG. 7 is realized by the control unit 11 executing a browser program.

[2−7]操作装置の設置
操作装置は、実施形態や上記変形例では情報処理装置の筐体に固定されていたが、固定されていなくてもよい。例えば、操作装置が情報処理装置の筐体に固定されておらず、いわゆるリモコンとして用いられる装置であってもよい。
図21は、本変形例の情報処理装置10bのハードウェア構成の一例を示す図である。図21の例では、図6に示す各部のうち、操作装置30を除く各部を備える情報処理装置10bと、操作装置30bとが示されている。操作装置30bは、図5に示す各部を備え、図7に示す表示装置4として機能する装置である。情報処理装置10bの筐体には、操作装置30bを設置可能な形に形成された部分(以下「設置部」という)を有する。
[2-7] Installation of Operation Device The operation device is fixed to the housing of the information processing device in the embodiment and the modified example described above, but may not be fixed. For example, the controller device may be a device used as a so-called remote controller without being fixed to the housing of the information processing device.
FIG. 21 is a diagram illustrating an example of a hardware configuration of the information processing apparatus 10b according to the present modification. In the example of FIG. 21, the information processing apparatus 10 b including the respective units excluding the operation device 30 among the units illustrated in FIG. 6 and the operation device 30 b are illustrated. The operating device 30b is a device that includes the units illustrated in FIG. 5 and functions as the display device 4 illustrated in FIG. The casing of the information processing apparatus 10b has a portion (hereinafter referred to as “installation section”) formed in a shape in which the operation apparatus 30b can be installed.

操作装置30bは、通信用のケーブルを介して第1通信部15に接続されており、設置部に設置された状態でユーザにより使用される。操作装置30bは、実施形態の操作装置30と同様に、他の通信機器を介さずに情報処理装置10と通信を行うローカルの表示装置4として用いられる。なお、ユーザは、操作装置30bからケーブルを取り外して、操作装置30bを別の場所に持って行き別の用途に用いてもよい。なお、図19の例では、操作装置30bに代えて、操作手段として機能する他の装置(例えば図1等に示したユーザ装置20)が接続されてもよい。また、操作装置30bを、通信機器3に接続させて、通信機器3及び通信回線2を介して情報処理装置10bと通信させてもよい。   The operating device 30b is connected to the first communication unit 15 via a communication cable, and is used by the user while being installed in the installation unit. The operating device 30b is used as the local display device 4 that communicates with the information processing device 10 without using other communication devices, like the operating device 30 of the embodiment. The user may remove the cable from the operation device 30b, take the operation device 30b to another location, and use it for another purpose. In the example of FIG. 19, instead of the operation device 30b, another device functioning as an operation unit (for example, the user device 20 shown in FIG. 1 or the like) may be connected. Further, the controller device 30b may be connected to the communication device 3 to communicate with the information processing device 10b via the communication device 3 and the communication line 2.

[2−8]情報処理装置10が行う処理
上述の実施形態では、コピー処理を行う場合の動作について説明したが、情報処理装置10が行う処理はコピー処理に限られない。情報処理装置10が行う処理は、例えば上述した画像読取処理であってもよく、また、画像形成処理であってもよい。
[2-8] Process Performed by Information Processing Apparatus 10 In the above-described embodiment, the operation when performing the copy process has been described. However, the process performed by the information processing apparatus 10 is not limited to the copy process. The process performed by the information processing apparatus 10 may be, for example, the image reading process described above or an image forming process.

[2−9]操作の受付方法
上述の実施形態では、制御部21は、タッチセンサでユーザの操作を受け付けたが、ユーザの操作を受け付ける方法はこれに限られない。例えば、表示装置4がタブレット端末であれば筐体に設けられたボタンで操作を受け付けてもよい。また、表示装置4がパーソナルコンピュータであればキーボードやマウスなどで操作を受け付けてもよい。
[2-9] Operation Accepting Method In the above-described embodiment, the control unit 21 receives a user operation with a touch sensor, but the method for receiving a user operation is not limited thereto. For example, if the display device 4 is a tablet terminal, an operation may be received using a button provided on the housing. If the display device 4 is a personal computer, an operation may be received using a keyboard, a mouse, or the like.

[2−10]メッセージの送信
イベント通知部62は、実施形態では、WebSocketの規格に準拠するXMLデータを送信したが、これに限らない。例えば、Cometと呼ばれる技術を用いて、表示装置4のUI制御部41が送信してきたHTTPリクエストをイベント通知部62が維持し、送信すべきメッセージ(状況情報の更新など)が発生することを契機に、イベント通知部62が、維持していたHTTPリクエストへの応答で状況情報を送信してもよい。Cometを用いた方法だと、実施形態と同様に、操作用装置からの要求が行われたときにその応答でこの送信が行われる場合に比べて、処理の状況がユーザに早く伝達されることになる。
[2-10] Message Transmission Although the event notification unit 62 transmits XML data that conforms to the WebSocket standard in the embodiment, the present invention is not limited to this. For example, the event notification unit 62 maintains the HTTP request transmitted from the UI control unit 41 of the display device 4 using a technique called Comet, and a message (update of status information, etc.) to be transmitted occurs. In addition, the event notification unit 62 may transmit the status information in response to the maintained HTTP request. In the method using Comet, the processing status is transmitted to the user earlier than in the case where this transmission is performed in response to a request from the operation device, as in the embodiment. become.

[2−11]発明のカテゴリ
本発明は、情報処理装置、表示装置、通信機器及びこれらの装置を備える情報処理システムの他にも、これらの装置が実施する処理を実現するための情報処理方法としても捉えられるものである。また、本発明は、情報処理装置及び表示装置というコンピュータを、上述した各手段として機能させるためのプログラムとしても捉えられるものである。このプログラムは、それを記憶させた光ディスク等の記録媒体の形態で提供されたり、インターネット等の通信回線を介して、コンピュータにダウンロードさせ、それをインストールして利用可能にするなどの形態でも提供されたりするものであってもよい。
[2-11] Category of Invention In addition to an information processing device, a display device, a communication device, and an information processing system including these devices, an information processing method for realizing processing performed by these devices. It can be seen as. The present invention can also be understood as a program for causing a computer called an information processing apparatus and a display apparatus to function as the above-described units. This program is provided in the form of a recording medium such as an optical disk storing the program, or in the form of being downloaded and installed on a computer via a communication line such as the Internet, etc. It may be a thing to do.

1…情報処理システム、2…通信回線、3…通信機器、4…表示装置、10…情報処理装置、20…ユーザ装置、30…操作装置、11、21、31…制御部、12、22、32…記憶部、13…画像読取部、14…画像形成部、15…第1通信部、16…第2通信部、17…接続部、23、33…通信部、24、34…表示部、25、35…操作部、101…生成手段、102…第1送信手段、103…第2送信手段、104…記憶制御手段、105…第1特定手段、106…第2特定手段、107…処理手段、108…記憶手段、401…受信手段、402…記憶制御手段、403…第3送信手段、404…処理実行手段、405…記憶手段、406…第4送信手段 DESCRIPTION OF SYMBOLS 1 ... Information processing system, 2 ... Communication line, 3 ... Communication apparatus, 4 ... Display apparatus, 10 ... Information processing apparatus, 20 ... User apparatus, 30 ... Operation apparatus, 11, 21, 31 ... Control part, 12, 22, 32 ... Storage unit, 13 ... Image reading unit, 14 ... Image forming unit, 15 ... First communication unit, 16 ... Second communication unit, 17 ... Connection unit, 23, 33 ... Communication unit, 24, 34 ... Display unit, 25, 35 ... operation unit, 101 ... generating means, 102 ... first transmitting means, 103 ... second transmitting means, 104 ... storage control means, 105 ... first specifying means, 106 ... second specifying means, 107 ... processing means , 108 ... storage means, 401 ... reception means, 402 ... storage control means, 403 ... third transmission means, 404 ... processing execution means, 405 ... storage means, 406 ... fourth transmission means

Claims (13)

メッセージを生成する生成手段と、
前記メッセージおよび当該メッセージのメッセージ識別子をクライアントとなるソフトウェアに送信する第1送信手段と、
前記ソフトウェアから再送要求を受信した場合、当該再送要求に含まれるメッセージ識別子に基づいて、前記生成されたメッセージのうち、当該ソフトウェアが受信しておらず、かつ、属性が条件を満たすメッセージを前記ソフトウェアへ送信する第2送信手段と
を有する情報処理装置。
Generating means for generating a message;
First transmission means for transmitting the message and a message identifier of the message to software as a client;
When a retransmission request is received from the software, based on a message identifier included in the retransmission request, a message that is not received by the software and satisfies an attribute condition is generated from the generated software. An information processing apparatus comprising: a second transmission unit configured to transmit to
前記生成されたメッセージの少なくとも一部を、前記メッセージ識別子および当該メッセージの送信先であるソフトウェアを識別するクライアント識別子と対応付けて記憶手段に記憶する記憶制御手段と、
前記記憶手段に記憶されたメッセージの中から、前記受信された再送要求に含まれるメッセージ識別子に基づいて、前記ソフトウェアが受信していないメッセージを特定する第1特定手段と、
前記第1特定手段により特定されたメッセージの中から、当該メッセージの属性が予め定められた条件を満たすものを特定する第2特定手段と
を更に有し、
前記第2送信手段は、前記第2特定手段により特定されたメッセージを前記ソフトウェアへ送信する
ことを特徴とする請求項1に記載の情報処理装置。
Storage control means for storing at least a part of the generated message in a storage means in association with the message identifier and a client identifier for identifying software that is a transmission destination of the message;
First specifying means for specifying a message not received by the software based on a message identifier included in the received retransmission request from among messages stored in the storage means;
A second specifying means for specifying, from the messages specified by the first specifying means, a message whose attribute satisfies a predetermined condition; and
The information processing apparatus according to claim 1, wherein the second transmission unit transmits the message specified by the second specification unit to the software.
前記生成されたメッセージのうち、当該メッセージの属性が予め定められた条件を満たすものを特定する第2特定手段と、
前記第2特定手段により特定されたメッセージを、当該メッセージを識別するメッセージ識別子および当該メッセージの送信先であるソフトウェアを識別するクライアント識別子と対応付けて記憶手段に記憶する記憶制御手段と、
前記記憶手段に記憶されたメッセージの中から、前記受信された再送要求に含まれるメッセージ識別子に基づいて、前記再送要求の送信元であるソフトウェアが受信していないメッセージを特定する第1特定手段と
を更に有し、
前記第2送信手段は、前記第1特定手段により特定されたメッセージを前記ソフトウェアへ送信する
ことを特徴とする請求項1に記載の情報処理装置。
A second specifying means for specifying, among the generated messages, a message whose attribute satisfies a predetermined condition;
Storage control means for storing the message specified by the second specifying means in association with a message identifier for identifying the message and a client identifier for identifying software that is the transmission destination of the message;
First identifying means for identifying a message that has not been received by software that is a transmission source of the retransmission request, based on a message identifier included in the received retransmission request, from among messages stored in the storage means; Further comprising
The information processing apparatus according to claim 1, wherein the second transmission unit transmits the message specified by the first specification unit to the software.
前記属性は、前記メッセージの重要度を示し、
前記第2特定手段は、前記重要度が予め定められた閾値よりも高いメッセージを特定する
請求項2または3に記載の情報処理装置。
The attribute indicates the importance of the message;
The information processing apparatus according to claim 2, wherein the second specifying unit specifies a message whose importance is higher than a predetermined threshold.
前記第2送信手段は、前記生成されたメッセージの中に、前記ソフトウェアが受信しておらず、かつ、前記属性が前記条件を満たすメッセージがない場合、前記ソフトウェアが受信済であって前記属性が前記条件を満たすメッセージを、当該ソフトウェアへ再送する
請求項1ないし4のいずれか1項に記載の情報処理装置。
If the software does not receive the message and the attribute does not satisfy the condition in the generated message, the second transmission means has received the software and the attribute is The information processing apparatus according to any one of claims 1 to 4, wherein a message satisfying the condition is retransmitted to the software.
前記第2特定手段は、前記メッセージが送信されてから経過した時間が予め定められた閾値以下であるメッセージを特定する
請求項2ないし4のいずれか1項に記載の情報処理装置。
5. The information processing apparatus according to claim 2, wherein the second specifying unit specifies a message whose time elapsed since the message was transmitted is equal to or less than a predetermined threshold.
処理を実行する処理手段を更に有し、
前記メッセージは、前記処理手段が実行する処理に関するメッセージであり、
前記記憶制御手段は、前記生成されたメッセージの少なくとも一部を、前記処理を識別する処理識別子および前記メッセージ識別子と対応付けて前記記憶手段に記憶し、
前記第2特定手段は、前記記憶手段に記憶されたメッセージの中に前記処理が完了した旨を示すメッセージがある場合、当該メッセージを特定し、当該処理の処理識別子に対応する他のメッセージを特定しない
請求項2に記載の情報処理装置。
It further has processing means for executing processing,
The message is a message related to processing executed by the processing means,
The storage control means stores at least a part of the generated message in the storage means in association with a process identifier for identifying the process and the message identifier,
If the message stored in the storage means includes a message indicating that the processing is completed, the second specifying means specifies the message and specifies another message corresponding to the process identifier of the process. The information processing apparatus according to claim 2.
ウェブサーバとして機能するソフトウェアが実行する処理に関するメッセージを、当該メッセージを識別するメッセージ識別子とともに当該ソフトウェアから受信する受信手段と、
前記受信されたメッセージ識別子を記憶手段に記憶する記憶制御手段と、
前記メッセージの受信に関する状態が予め定められた条件を満たす場合、前記メッセージの再送要求であって前記メッセージ識別子を含む再送要求を送信する送信手段と、
前記再送要求の応答として前記ソフトウェアから受信されるメッセージに対応する処理のうち、当該受信されたメッセージの属性が予め定められた条件を満たす処理を実行する処理実行手段と
を有する情報処理装置。
Receiving means for receiving a message related to processing executed by software functioning as a web server from the software together with a message identifier for identifying the message;
Storage control means for storing the received message identifier in storage means;
When the state related to reception of the message satisfies a predetermined condition, a transmission unit that transmits a retransmission request that is the message retransmission request and includes the message identifier;
An information processing apparatus comprising: a process execution unit that executes a process that satisfies a predetermined condition of an attribute of the received message among processes corresponding to a message received from the software as a response to the retransmission request.
前記属性は、前記メッセージの重要度を示し、
前記処理実行手段は、前記重要度が予め定められた閾値よりも高いメッセージに対応する処理を実行する
請求項8に記載の情報処理装置。
The attribute indicates the importance of the message;
The information processing apparatus according to claim 8, wherein the process execution unit executes a process corresponding to a message whose importance is higher than a predetermined threshold.
前記ソフトウェアに対して処理の実行要求を送信する第2送信手段
を更に備え、
前記処理実行手段は、前記実行要求に対応する処理が完了した旨を示すメッセージに対応する処理を実行し、当該メッセージ以外のメッセージに対応する処理を実行しない
請求項8または9に記載の情報処理装置。
A second transmission means for transmitting a processing execution request to the software;
The information processing according to claim 8, wherein the process execution unit executes a process corresponding to a message indicating that the process corresponding to the execution request is completed, and does not execute a process corresponding to a message other than the message. apparatus.
第1情報処理装置と、
第2情報処理装置と
を有し、
前記第1情報処理装置は、
ウェブサーバとして機能する第1ソフトウェアが実行する処理に関するメッセージを、当該メッセージを識別するメッセージ識別子とともに当該第1ソフトウェアから受信する受信手段と、
前記受信されたメッセージ識別子を記憶手段に記憶する記憶制御手段と、
前記メッセージの受信に関する状態が予め定められた条件を満たす場合、前記メッセージの再送要求であって前記メッセージ識別子を含む再送要求を送信する第1送信手段と、
前記再送要求の応答として前記第1ソフトウェアから受信されるメッセージに対応する処理のうち、当該受信されたメッセージの属性が予め定められた条件を満たす処理を実行する処理実行手段と
を備え、
前記第2情報処理装置は、
メッセージを生成する生成手段と、
前記メッセージおよび当該メッセージのメッセージ識別子をクライアントとなるソフトウェアに送信する第2送信手段と、
前記ソフトウェアから再送要求を受信した場合、当該再送要求に含まれるメッセージ識別子に基づいて、前記生成されたメッセージのうち、当該ソフトウェアが受信しておらず、かつ、属性が条件を満たすメッセージを前記ソフトウェアへ送信する第3送信手段と
を備える
システム。
A first information processing device;
A second information processing device,
The first information processing apparatus
Receiving means for receiving a message related to processing executed by the first software functioning as a web server from the first software together with a message identifier for identifying the message;
Storage control means for storing the received message identifier in storage means;
A first transmission means for transmitting a retransmission request that is a retransmission request for the message and includes the message identifier when a state related to reception of the message satisfies a predetermined condition;
A process executing means for executing a process in which an attribute of the received message satisfies a predetermined condition among processes corresponding to the message received from the first software as a response to the retransmission request;
The second information processing apparatus
Generating means for generating a message;
Second transmission means for transmitting the message and the message identifier of the message to software as a client;
When a retransmission request is received from the software, based on a message identifier included in the retransmission request, a message that is not received by the software and satisfies an attribute condition is generated from the generated software. A third transmission means for transmitting to the system.
コンピュータに、
メッセージを生成するステップと、
前記メッセージおよび当該メッセージのメッセージ識別子をクライアントとなるソフトウェアに送信するステップと、
前記ソフトウェアから再送要求を受信した場合、当該再送要求に含まれるメッセージ識別子に基づいて、前記生成されたメッセージのうち、当該ソフトウェアが受信しておらず、かつ、属性が条件を満たすメッセージを前記ソフトウェアへ送信するステップと
を実行させるためのプログラム。
On the computer,
Generating a message;
Sending the message and a message identifier of the message to software as a client;
When a retransmission request is received from the software, based on a message identifier included in the retransmission request, a message that is not received by the software and satisfies an attribute condition is generated from the generated software. A program for executing the step of sending to
コンピュータに、
ウェブサーバとして機能するソフトウェアが実行する処理に関するメッセージを、当該メッセージを識別するメッセージ識別子とともに当該ソフトウェアから受信するステップと、
前記受信されたメッセージ識別子を記憶手段に記憶するステップと、
前記メッセージの受信に関する状態が予め定められた条件を満たす場合、前記メッセージの再送要求であって前記メッセージ識別子を含む再送要求を送信するステップと、
前記再送要求の応答として前記ソフトウェアから受信されるメッセージに対応する処理のうち、当該受信されたメッセージの属性が予め定められた条件を満たす処理を実行するステップと
を実行させるためのプログラム。
On the computer,
Receiving a message regarding processing executed by software functioning as a web server from the software together with a message identifier for identifying the message;
Storing the received message identifier in storage means;
When a state related to reception of the message satisfies a predetermined condition, transmitting a retransmission request that is the message retransmission request and includes the message identifier;
A program for executing a process corresponding to a message received from the software as a response to the resend request, wherein the attribute of the received message satisfies a predetermined condition.
JP2014193644A 2014-09-24 2014-09-24 Information processing apparatus, system, and program Expired - Fee Related JP6471439B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014193644A JP6471439B2 (en) 2014-09-24 2014-09-24 Information processing apparatus, system, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014193644A JP6471439B2 (en) 2014-09-24 2014-09-24 Information processing apparatus, system, and program

Publications (2)

Publication Number Publication Date
JP2016066162A true JP2016066162A (en) 2016-04-28
JP6471439B2 JP6471439B2 (en) 2019-02-20

Family

ID=55805620

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014193644A Expired - Fee Related JP6471439B2 (en) 2014-09-24 2014-09-24 Information processing apparatus, system, and program

Country Status (1)

Country Link
JP (1) JP6471439B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10262093A (en) * 1997-03-19 1998-09-29 Hitachi Ltd Transmission control method
JP2006026006A (en) * 2004-07-14 2006-02-02 Samii Kk Reel type game machine

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10262093A (en) * 1997-03-19 1998-09-29 Hitachi Ltd Transmission control method
JP2006026006A (en) * 2004-07-14 2006-02-02 Samii Kk Reel type game machine

Also Published As

Publication number Publication date
JP6471439B2 (en) 2019-02-20

Similar Documents

Publication Publication Date Title
JP6471441B2 (en) Information processing apparatus, system, and program
US10607123B2 (en) Remotely-operated apparatus remotely operated by external terminal using a browser use mode or a transmitted image use mode, remote operation system including the same, and recording medium
JP5953844B2 (en) TERMINAL DEVICE PROGRAM, TERMINAL DEVICE, AND TERMINAL DEVICE CONTROL METHOD
US9092704B2 (en) Image forming system, image forming apparatus, and recording medium
JP5743671B2 (en) Information processing apparatus and control method thereof
JP2014049022A (en) Communication relay program and communication relay apparatus
JP2015032024A (en) Terminal device and printer
CN102123218A (en) Information processing system, control method therefor, external control apparatus, information provision apparatus and image processing apparatus
JP2015016561A (en) Printer, printing control device, printing system and program
JP6451175B2 (en) Image processing apparatus, system, and program
JP6488608B2 (en) Information processing apparatus, system, and program
JP6561444B2 (en) Information processing apparatus, information processing system, and program
JP6476685B2 (en) INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING SYSTEM, DISPLAY DEVICE, AND PROGRAM
JP7240246B2 (en) IMAGE FORMING APPARATUS, CONTROL METHOD AND IMAGE FORMING SYSTEM THEREOF, AND PROGRAM
JP2018107686A (en) Image processing apparatus, control method and program of the same
JP6492486B2 (en) Information processing apparatus, information processing system, and program
JP2009110381A (en) Image processing system
JP6471439B2 (en) Information processing apparatus, system, and program
JP6471440B2 (en) Information processing apparatus, information processing system, and program
JP6424538B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING SYSTEM, AND PROGRAM
JP2012243109A (en) Image processing system
JP2016066159A (en) Information processing device, information processing system, and program
KR20180001294A (en) System and method of providing mobile printing
JP2014146383A (en) Image processing system, web server, control method in image processing system, and program
JP2007325252A (en) Facsimile transmitting state sending system and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170831

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180508

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180705

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190107

R150 Certificate of patent or registration of utility model

Ref document number: 6471439

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees