JP2020024730A - Remote communication system - Google Patents

Remote communication system Download PDF

Info

Publication number
JP2020024730A
JP2020024730A JP2019189424A JP2019189424A JP2020024730A JP 2020024730 A JP2020024730 A JP 2020024730A JP 2019189424 A JP2019189424 A JP 2019189424A JP 2019189424 A JP2019189424 A JP 2019189424A JP 2020024730 A JP2020024730 A JP 2020024730A
Authority
JP
Japan
Prior art keywords
session
image forming
forming apparatus
remote
test
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
JP2019189424A
Other languages
Japanese (ja)
Other versions
JP6754105B2 (en
Inventor
孝記 中島
Takanori Nakajima
孝記 中島
中村 剛
Takeshi Nakamura
中村  剛
経介 福島
Keisuke Fukushima
経介 福島
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2019189424A priority Critical patent/JP6754105B2/en
Publication of JP2020024730A publication Critical patent/JP2020024730A/en
Application granted granted Critical
Publication of JP6754105B2 publication Critical patent/JP6754105B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Facsimiles In General (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

To provide a remote communication system that can improve security when an image forming apparatus is controlled from an electronic apparatus present outside a network to which the image forming apparatus belongs.SOLUTION: When, in a remote communication system, connection established between a connection terminal 40 and a session relay system and connection established between an image forming apparatus 20 and the session relay system are associated with a session ID, and thereby a remote session is relayed by the session relay system, the image forming apparatus 20 executes, with the connection terminal 40, a session communication state test for the communication state through the remote session, and the connection terminal 40 notifies a user of a result of execution of the session communication state test (S343).SELECTED DRAWING: Figure 18

Description

本発明は、画像形成装置と、画像形成装置が所属するネットワークの外部に存在する電子機器との間で通信を実行するリモート通信システムに関する。   The present invention relates to a remote communication system that executes communication between an image forming apparatus and an electronic device existing outside a network to which the image forming apparatus belongs.

従来、画像形成装置と、画像形成装置が所属するLAN(Local Area Network)の内部に存在する電子機器との間で通信を実行するシステムが知られている(例えば、特許文献1参照。)。特許文献1に記載されたシステムは、電子機器によって生成されたUI(User Interface)画面を画像形成装置に表示させ、電子機器に蓄積されている印刷データに基づいた印刷を画像形成装置に実行させる。   2. Description of the Related Art Conventionally, there has been known a system for executing communication between an image forming apparatus and an electronic device existing inside a LAN (Local Area Network) to which the image forming apparatus belongs (for example, see Patent Document 1). The system described in Patent Literature 1 displays a UI (User Interface) screen generated by an electronic device on an image forming apparatus, and causes the image forming apparatus to execute printing based on print data stored in the electronic apparatus. .

特開2006−238199号公報JP 2006-238199 A

しかしながら、特許文献1に記載されたシステムにおいては、画像形成装置が所属するLANの内部に存在する電子機器から画像形成装置を制御することが前提とされており、画像形成装置が所属するネットワークの外部に存在する電子機器から画像形成装置を制御するためにはセキュリティーの観点において問題がある。   However, the system described in Patent Document 1 is based on the premise that the image forming apparatus is controlled from an electronic device existing inside the LAN to which the image forming apparatus belongs, and the network of the network to which the image forming apparatus belongs. There is a problem in terms of security in controlling the image forming apparatus from an external electronic device.

そこで、本発明は、画像形成装置が所属するネットワークの外部に存在する電子機器から画像形成装置を制御する場合のセキュリティーを向上することができるリモート通信システムを提供することを目的とする。   Therefore, an object of the present invention is to provide a remote communication system capable of improving security when controlling an image forming apparatus from an electronic device existing outside a network to which the image forming apparatus belongs.

本発明のリモート通信システムは、画像形成装置と、前記画像形成装置が所属するネットワークの外部に存在する電子機器と、前記画像形成装置および前記電子機器の間のセッションを中継するセッション中継システムと、前記セッションを管理するセッション管理手段とを備え、前記セッション中継システムは、前記セッションによる通信を前記セッション中継システムにおいて識別するための第1のセッションIDおよび第2のセッションIDを前記セッション管理手段に通知し、前記セッション管理手段は、前記電子機器への前記第1のセッションIDの通知と、前記画像形成装置への前記第2のセッションIDの通知とを実行し、前記電子機器は、前記セッション中継システムとの間に前記第1のセッションIDを使用する接続を確立し、前記画像形成装置は、前記セッション中継システムとの間に前記第2のセッションIDを使用する接続を確立し、前記セッション中継システムは、前記電子機器との間に確立された接続と、前記画像形成装置との間に確立された接続とを前記第1のセッションIDおよび前記第2のセッションIDによって関連付けることによって、前記セッションを中継するリモート通信システムであって、前記セッション管理手段は、前記セッションを介した通信状態のテストの開始が前記電子機器によって要求された場合に、前記第1のセッションIDとしての第1のテストIDと、前記第2のセッションIDとしての第2のテストIDとを前記セッション中継システムに要求し、前記画像形成装置は、前記電子機器および前記セッション中継システムの間に確立された接続と、前記画像形成装置および前記セッション中継システムの間に確立された接続とが前記第1のテストIDおよび前記第2のテストIDによって関連付けられることによって、前記セッションが前記セッション中継システムによって中継された場合に、このセッションを介した通信状態の前記テストを前記電子機器との間で実行し、前記電子機器は、前記テストの実行結果を通知することを特徴とする。   The remote communication system of the present invention is an image forming apparatus, an electronic device existing outside the network to which the image forming device belongs, a session relay system for relaying a session between the image forming device and the electronic device, Session management means for managing the session, wherein the session relay system notifies the session management means of a first session ID and a second session ID for identifying communication by the session in the session relay system. The session management unit executes notification of the first session ID to the electronic device and notification of the second session ID to the image forming apparatus, and the electronic device executes the session relay. Establish a connection with the system using the first session ID. The image forming apparatus establishes a connection using the second session ID with the session relay system, wherein the session relay system establishes a connection with the electronic device, A remote communication system that relays the session by associating a connection established with an image forming apparatus with the first session ID and the second session ID, wherein the session management unit includes: When a start of a communication state test via a session is requested by the electronic device, a first test ID as the first session ID, a second test ID as the second session ID, Request from the session relay system, and the image forming apparatus transmits the electronic device and the session relay system. The connection established between the system and the connection established between the image forming apparatus and the session relay system is associated by the first test ID and the second test ID, so that the session is established. When relayed by the session relay system, the test of the communication state via the session is executed with the electronic device, and the electronic device notifies the execution result of the test. .

この構成により、本発明のリモート通信システムは、画像形成装置が所属するネットワークの外部に存在する電子機器のうち、セッション管理手段から第1のセッションIDが通知された電子機器のみが、セッション中継システムによって中継される画像形成装置とのセッションを確立するので、画像形成装置が所属するネットワークの外部に存在する電子機器から画像形成装置を制御する場合のセキュリティーを向上することができる。また、本発明のリモート通信システムは、セッション中継システムによって中継される画像形成装置および電子機器の間のセッションを介した通信状態のテストが画像形成装置および電子機器の間で実行されるので、セッション中継システムによって中継されるセッションのエンドツーエンドの通信信頼性を担保することができ、安定した品質のセッションを確立することができる。   With this configuration, the remote communication system according to the present invention is configured such that, of the electronic devices existing outside the network to which the image forming apparatus belongs, only the electronic device for which the first session ID is notified from the session management unit is included in the session relay system. Since a session with the image forming apparatus relayed by the image forming apparatus is established, security when the image forming apparatus is controlled from an electronic device existing outside the network to which the image forming apparatus belongs can be improved. Further, in the remote communication system of the present invention, a test of a communication state via a session between the image forming apparatus and the electronic device relayed by the session relay system is executed between the image forming apparatus and the electronic device. End-to-end communication reliability of a session relayed by the relay system can be ensured, and a session of stable quality can be established.

本発明のリモート通信システムにおいて、前記セッション管理手段は、前記テストのための情報の通信状況を前記画像形成装置および前記セッション中継システムから取得し、前記電子機器は、前記テストの実行結果がエラーである場合、前記セッション管理手段によって取得された前記通信状況を通知しても良い。   In the remote communication system according to the present invention, the session management unit acquires a communication status of the information for the test from the image forming apparatus and the session relay system, and the electronic device determines that the execution result of the test is an error. In some cases, the communication status acquired by the session management means may be notified.

この構成により、本発明のリモート通信システムは、セッション中継システムによって中継される画像形成装置および電子機器の間のセッションを介した通信状態のテストの実行結果がエラーである場合、このテストのための情報の、画像形成装置およびセッション中継システムにおける通信状況を通知するので、セッションの経路におけるいずれの箇所に問題があるかを利用者に認識させることができる。   With this configuration, the remote communication system according to the present invention is configured such that when an execution result of a test of a communication state through a session between the image forming apparatus and the electronic device relayed by the session relay system is an error, the test Since the communication status of the information in the image forming apparatus and the session relay system is notified, it is possible for the user to recognize which part of the session path has a problem.

本発明のリモート通信システムにおいて、前記セッション管理手段は、前記テストの開始が前記電子機器によって要求された場合に、このテストを実行するためのアプリケーションを前記画像形成装置にインストールさせても良い。   In the remote communication system according to the present invention, when the start of the test is requested by the electronic device, the session management unit may cause the image forming apparatus to install an application for executing the test.

この構成により、本発明のリモート通信システムは、セッション中継システムによって中継される画像形成装置および電子機器の間のセッションを介した通信状態のテストの開始が電子機器によって要求された場合に、このテストを実行するためのアプリケーションを画像形成装置にインストールさせるので、このアプリケーションが存在しない画像形成装置と、電子機器との間に確立されるセッションを介した通信状態のテストを実行することができる。   With this configuration, the remote communication system according to the present invention is configured such that, when a start of a communication state test via a session between the image forming apparatus and the electronic device relayed by the session relay system is requested by the electronic device, the test is performed. Is installed in the image forming apparatus, it is possible to execute a communication state test via a session established between the image forming apparatus having no application and the electronic device.

本発明のリモート通信システムにおいて、前記画像形成装置は、前記セッションが終了する場合に前記アプリケーションをアンインストールしても良い。   In the remote communication system according to the present invention, the image forming apparatus may uninstall the application when the session ends.

この構成により、本発明のリモート通信システムは、セッション中継システムによって中継される画像形成装置および電子機器の間のセッションを介した通信状態のテストを実行するためのアプリケーションが、このテストの開始の際に画像形成装置にインストールされ、このテストの終了の際に画像形成装置からアンインストールされるので、画像形成装置の記憶容量を必要以上に使用することを抑えることができる。   With this configuration, the remote communication system according to the present invention is configured such that an application for executing a test of a communication state via a session between the image forming apparatus and the electronic device relayed by the session relay system at the start of the test Is installed in the image forming apparatus, and is uninstalled from the image forming apparatus at the end of this test. Therefore, it is possible to prevent the storage capacity of the image forming apparatus from being used more than necessary.

本発明のリモート通信システムにおいて、前記第1のテストIDおよび前記第2のテストIDは、同一のテストIDであっても良い。   In the remote communication system of the present invention, the first test ID and the second test ID may be the same test ID.

この構成により、本発明のリモート通信システムは、互いに異なる2つのテストIDをセッション中継システムにおいて関連付ける必要がないので、セッション中継システムにおけるテストIDの処理を簡略化することができる。   With this configuration, the remote communication system of the present invention does not need to associate two different test IDs in the session relay system, so that the processing of the test ID in the session relay system can be simplified.

本発明のリモート通信システムにおいて、前記第1のセッションIDおよび前記第2のセッションIDは、同一のセッションIDであっても良い。   In the remote communication system of the present invention, the first session ID and the second session ID may be the same session ID.

この構成により、本発明のリモート通信システムは、互いに異なる2つのセッションIDをセッション中継システムにおいて関連付ける必要がないので、セッション中継システムにおけるセッションIDの処理を簡略化することができる。   With this configuration, the remote communication system of the present invention does not need to associate two different session IDs in the session relay system, and thus can simplify the processing of the session ID in the session relay system.

本発明のリモート通信システムは、画像形成装置が所属するネットワークの外部に存在する電子機器から画像形成装置を制御する場合のセキュリティーを向上することができる。   ADVANTAGE OF THE INVENTION The remote communication system of this invention can improve the security at the time of controlling an image forming apparatus from the electronic device existing outside the network to which the image forming apparatus belongs.

本発明の一実施の形態に係るリモート通信システムのブロック図である。It is a block diagram of a remote communication system concerning one embodiment of the present invention. MFPである場合の図1に示す画像形成装置のブロック図である。FIG. 2 is a block diagram of the image forming apparatus shown in FIG. 1 in the case of an MFP. 図1に示す接続端末のブロック図である。FIG. 2 is a block diagram of a connection terminal shown in FIG. 1. 図1に示すリモートメンテナンスシステムによって実現される機能を示す図である。FIG. 2 is a diagram showing functions realized by the remote maintenance system shown in FIG. 1. 図1に示すセッション中継システムによって実現される機能を示す図である。FIG. 2 is a diagram illustrating functions realized by the session relay system illustrated in FIG. 1. 接続端末の利用者がリモートメンテナンスシステムにログインする場合の図1に示すリモート通信システムの動作のシーケンス図である。FIG. 2 is a sequence diagram of an operation of the remote communication system shown in FIG. 1 when a user of a connection terminal logs in to a remote maintenance system. リモートメンテナンスシステム経由でリモートメンテナンスを実行する場合の図1に示すリモート通信システムの動作のシーケンス図である。FIG. 4 is a sequence diagram of an operation of the remote communication system shown in FIG. 1 when executing remote maintenance via the remote maintenance system. リモートセッションを開始する場合の図1に示すリモート通信システムの動作のシーケンス図である。FIG. 4 is a sequence diagram of an operation of the remote communication system shown in FIG. 1 when starting a remote session. 図8に示すデバイス側セッション確立のシーケンス図である。FIG. 9 is a sequence diagram of establishing a device-side session shown in FIG. 8. 図8に示す接続端末側セッション確立のシーケンス図である。FIG. 9 is a sequence diagram for establishing a connection terminal side session shown in FIG. 8. 図8に示す動作において表示されるリモートセッション承認用画面の一例を示す図である。FIG. 9 is a diagram illustrating an example of a remote session approval screen displayed in the operation illustrated in FIG. 8. 接続端末からのリモートセッションを介した要求に応じて画像形成装置が動作する場合の図1に示すリモート通信システムの動作のシーケンス図である。FIG. 2 is a sequence diagram of an operation of the remote communication system shown in FIG. 1 when the image forming apparatus operates in response to a request from a connection terminal via a remote session. (a)図12に示す動作においてサーバーアプリケーションが処理するHTTPデータを示す図である。 (b)図13(a)に示すHTTPデータをインターネット上で中継するためのHTTPデータを示す図である。13A is a diagram showing HTTP data processed by the server application in the operation shown in FIG. FIG. 14B is a diagram showing HTTP data for relaying the HTTP data shown in FIG. 13A over the Internet. リモートセッションを終了する場合の図1に示すリモート通信システムの動作のシーケンス図である。FIG. 4 is a sequence diagram of an operation of the remote communication system shown in FIG. 1 when ending a remote session. 図14に示すデバイス側セッション終了のシーケンス図である。FIG. 15 is a sequence diagram for ending the device-side session shown in FIG. 14. リモートセッションを介した通信状態のテストを実行する場合の図1に示すリモート通信システムの動作のシーケンス図である。FIG. 4 is a sequence diagram of an operation of the remote communication system shown in FIG. 1 when a communication state test via a remote session is executed. 図16に示すサーバーアプリケーション確認のシーケンス図である。FIG. 17 is a sequence diagram of the server application confirmation shown in FIG. 16. 図16に示すセッション通信状態テストのシーケンス図である。17 is a sequence diagram of the session communication state test shown in FIG. 図16に示すリモートセッション終了のシーケンス図である。17 is a sequence diagram for ending the remote session shown in FIG. 図19に示す接続端末側セッション終了のシーケンス図である。FIG. 20 is a sequence diagram for terminating the session on the connection terminal side shown in FIG. 19. 図19に示すXMPP経由セッション終了のシーケンス図である。FIG. 20 is a sequence diagram of ending the session via XMPP shown in FIG. 19. 図16に示す動作において表示されるテスト承認用画面の一例を示す図である。FIG. 17 is a diagram illustrating an example of a test approval screen displayed in the operation illustrated in FIG. 16. 図16に示す動作において表示されるアプリケーションインストール承認用画面の一例を示す図である。FIG. 17 is a diagram illustrating an example of an application installation approval screen displayed in the operation illustrated in FIG. 16.

以下、本発明の一実施の形態について、図面を用いて説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

まず、本実施の形態に係るリモート通信システムの構成について説明する。   First, the configuration of the remote communication system according to the present embodiment will be described.

図1は、本実施の形態に係るリモート通信システム10のブロック図である。   FIG. 1 is a block diagram of a remote communication system 10 according to the present embodiment.

図1に示すように、リモート通信システム10は、画像形成装置20と、画像形成装置20が所属するLAN(Local Area Network)などのネットワークをインターネットなどのネットワークに接続するゲートウェイ30と、画像形成装置20が所属するネットワークの外部に存在する電子機器としての接続端末40と、リモート通信システム10に含まれる画像形成装置、および、リモート通信システム10に含まれる接続端末の間の通信を制御するリモート通信制御システム15とを備えている。   As shown in FIG. 1, a remote communication system 10 includes an image forming apparatus 20, a gateway 30 that connects a network such as a LAN (Local Area Network) to which the image forming apparatus 20 belongs to a network such as the Internet, and an image forming apparatus. Remote communication that controls communication between a connection terminal 40 as an electronic device existing outside the network to which the device 20 belongs, an image forming apparatus included in the remote communication system 10, and a connection terminal included in the remote communication system 10. And a control system 15.

リモート通信制御システム15は、リモート通信システム10に含まれる接続端末からの指示に応じて、リモート通信システム10に含まれる画像形成装置に対してリモートメンテナンスを実行するクラウドサービスであるリモートメンテナンスシステム50と、リモート通信システム10に含まれる画像形成装置、および、リモート通信システム10に含まれる接続端末の間の直接相互接続、すなわち、Peer to Peerのセッション(以下「リモートセッション」という。)を中継するクラウドサービスであるセッション中継システム60とを備えている。   The remote communication control system 15 includes a remote maintenance system 50 that is a cloud service that performs remote maintenance on an image forming apparatus included in the remote communication system 10 in response to an instruction from a connection terminal included in the remote communication system 10. A cloud that relays a direct interconnection between an image forming apparatus included in the remote communication system 10 and a connection terminal included in the remote communication system 10, that is, a peer-to-peer session (hereinafter, referred to as a “remote session”). And a session relay system 60 as a service.

リモート通信システム10は、画像形成装置20が所属するネットワークに、画像形成装置20以外にも、画像形成装置を備えることが可能である。リモート通信システム10は、画像形成装置20が所属するネットワーク以外にも、画像形成装置が所属するネットワークを備えることが可能である。リモート通信システム10に含まれる画像形成装置は、例えば、MFP(Multifunction Peripheral)、プリンター専用機、コピー専用機、ファックス専用機、スキャナー専用機などの画像形成装置である。   The remote communication system 10 can include an image forming apparatus in addition to the image forming apparatus 20 in a network to which the image forming apparatus 20 belongs. The remote communication system 10 can include a network to which the image forming apparatus belongs in addition to a network to which the image forming apparatus 20 belongs. The image forming apparatus included in the remote communication system 10 is, for example, an image forming apparatus such as an MFP (Multifunction Peripheral), a printer dedicated machine, a copy dedicated machine, a fax dedicated machine, a scanner dedicated machine, and the like.

ゲートウェイ30は、画像形成装置20が所属するネットワークの内部に対する、このネットワークの外部からの攻撃を防ぐファイアウォールを構成している。そのため、リモート通信システム10に含まれる画像形成装置と、リモートメンテナンスシステム50との間の通信は、リモート通信システム10に含まれる画像形成装置がXMPP(Extensible Messaging and Presence Protocol)によってリモートメンテナンスシステム50に接続し続けることによって、維持される。   The gateway 30 constitutes a firewall that prevents attacks inside the network to which the image forming apparatus 20 belongs from outside the network. Therefore, communication between the image forming apparatus included in the remote communication system 10 and the remote maintenance system 50 is performed by the image forming apparatus included in the remote communication system 10 via the XMPP (Extensible Messaging and Presence Protocol). Maintained by staying connected.

リモート通信システム10は、接続端末40以外にも接続端末を備えることが可能である。リモート通信システム10に含まれる接続端末は、例えば、PC(Personal Computer)などのコンピューターである。   The remote communication system 10 can include a connection terminal other than the connection terminal 40. The connection terminal included in the remote communication system 10 is, for example, a computer such as a PC (Personal Computer).

リモートメンテナンスシステム50は、例えば、サーバーコンピューターによって構成されている。リモートメンテナンスシステム50によって実行されるリモートメンテナンスは、例えば、画像形成装置のカウンターの確認、画像形成装置へのファームウェアのインストールなどのメンテナンスである。リモートメンテナンスシステム50は、リモートメンテナンスを実行するだけでなく、リモートセッションを管理する。すなわち、リモートメンテナンスシステム50は、セッション管理システムを構成している。   The remote maintenance system 50 is configured by, for example, a server computer. The remote maintenance performed by the remote maintenance system 50 is, for example, maintenance such as checking a counter of the image forming apparatus and installing firmware on the image forming apparatus. The remote maintenance system 50 not only executes remote maintenance but also manages remote sessions. That is, the remote maintenance system 50 constitutes a session management system.

セッション中継システム60は、例えば、サーバーコンピューターによって構成されている。   The session relay system 60 is configured by, for example, a server computer.

リモート通信システム10に含まれる画像形成装置と、リモートメンテナンスシステム50とは、インターネットなどのネットワークを介して通信可能である。リモート通信システム10に含まれる画像形成装置と、セッション中継システム60とは、インターネットなどのネットワークを介して通信可能である。リモート通信システム10に含まれる接続端末と、リモートメンテナンスシステム50とは、インターネットなどのネットワークを介して通信可能である。リモート通信システム10に含まれる接続端末と、セッション中継システム60とは、インターネットなどのネットワークを介して通信可能である。リモートメンテナンスシステム50と、セッション中継システム60とは、インターネットなどのネットワークを介して通信可能である。   The image forming apparatus included in the remote communication system 10 and the remote maintenance system 50 can communicate with each other via a network such as the Internet. The image forming apparatus included in the remote communication system 10 and the session relay system 60 can communicate via a network such as the Internet. The connection terminal included in the remote communication system 10 and the remote maintenance system 50 can communicate via a network such as the Internet. The connection terminal included in the remote communication system 10 and the session relay system 60 can communicate via a network such as the Internet. The remote maintenance system 50 and the session relay system 60 can communicate via a network such as the Internet.

図2は、MFPである場合の画像形成装置20のブロック図である。   FIG. 2 is a block diagram of the image forming apparatus 20 in the case of an MFP.

図2に示す画像形成装置20は、種々の操作が入力されるボタンなどの入力デバイスである操作部21と、種々の情報を表示するLCD(Liquid Crystal Display)などの表示デバイスである表示部22と、原稿から画像を読み取る読取デバイスであるスキャナー23と、用紙などの記録媒体に画像を印刷する印刷デバイスであるプリンター24と、図示していない外部のファクシミリ装置と公衆電話回線などの通信回線経由でファックス通信を行うファックスデバイスであるファックス通信部25と、ネットワーク経由で、または、ネットワークを介さずに有線または無線によって直接に、外部の装置と通信を行う通信デバイスである通信部26と、各種の情報を記憶する半導体メモリー、HDD(Hard Disk Drive)などの不揮発性の記憶デバイスである記憶部27と、画像形成装置20全体を制御する制御部28とを備えている。   The image forming apparatus 20 illustrated in FIG. 2 includes an operation unit 21 that is an input device such as a button for inputting various operations, and a display unit 22 that is a display device such as an LCD (Liquid Crystal Display) that displays various information. , A scanner 23 which is a reading device for reading an image from a document, a printer 24 which is a printing device for printing an image on a recording medium such as paper, and an external facsimile apparatus (not shown) and a communication line such as a public telephone line. A facsimile communication unit 25 that is a facsimile device that performs facsimile communication with a communication unit 26 that is a communication device that communicates with an external device via a network or directly by wire or wirelessly without passing through a network; Memory, HDD (Hard Dis) Drive) and a storage unit 27 is a nonvolatile storage device such as, and a control unit 28 for controlling the entire image forming apparatus 20.

制御部28は、例えば、CPU(Central Processing Unit)と、プログラムおよび各種のデータを記憶しているROM(Read Only Memory)と、CPUの作業領域として用いられるRAM(Random Access Memory)とを備えている。CPUは、ROMまたは記憶部27に記憶されているプログラムを実行する。   The control unit 28 includes, for example, a CPU (Central Processing Unit), a ROM (Read Only Memory) storing programs and various data, and a RAM (Random Access Memory) used as a work area of the CPU. I have. The CPU executes a program stored in the ROM or the storage unit 27.

制御部28は、ROMまたは記憶部27に記憶されているプログラムを実行することによって、リモート通信システム10に含まれる接続端末からリモートセッションを介して利用されるサーバーアプリケーション28aと、セッション中継システム60(図1参照。)との間の通信を制御するCloud Hub Agent28bとを実現する。   The control unit 28 executes a program stored in the ROM or the storage unit 27 to execute a server application 28a used from a connection terminal included in the remote communication system 10 via a remote session, and a session relay system 60 ( And a Cloud Hub Agent 28b for controlling communication with the server.

制御部28は、ROMまたは記憶部27に記憶されているプログラムを実行することによって、サーバーアプリケーション28a以外にも、サーバーアプリケーションを実現することが可能である。   The control unit 28 can implement a server application other than the server application 28a by executing a program stored in the ROM or the storage unit 27.

制御部28によって実現されるサーバーアプリケーションとしては、例えば、画像形成装置20が所属するネットワークの外部に画像形成装置20の各種の設定状況を通知するとともに、画像形成装置20が所属するネットワークの外部から画像形成装置20の各種の設定を受け付けるWeb Serverがある。また、制御部28によって実現されるサーバーアプリケーションとしては、例えば、画像形成装置20の表示部22に表示される画面(例えば、Webページ)のデータを画像形成装置20が所属するネットワークの外部に送信するとともに、このデータに基づいて表示される画面に対する操作を、画像形成装置20が所属するネットワークの外部から受信して、受信した操作に応じて画像形成装置20を動作させるRemote APP Serverがある。   As the server application realized by the control unit 28, for example, various setting statuses of the image forming apparatus 20 are notified to the outside of the network to which the image forming apparatus 20 belongs, and from the outside of the network to which the image forming apparatus 20 belongs. There is a Web Server that receives various settings of the image forming apparatus 20. As a server application realized by the control unit 28, for example, data of a screen (for example, a Web page) displayed on the display unit 22 of the image forming apparatus 20 is transmitted to the outside of the network to which the image forming apparatus 20 belongs. In addition, there is a Remote APP Server that receives an operation on a screen displayed based on this data from outside the network to which the image forming apparatus 20 belongs, and operates the image forming apparatus 20 according to the received operation.

制御部28によって実現されるサーバーアプリケーションは、アプリケーションIDによって識別されることが可能である。   The server application realized by the control unit 28 can be identified by the application ID.

図3は、接続端末40のブロック図である。   FIG. 3 is a block diagram of the connection terminal 40.

図3に示すように、接続端末40は、種々の操作が入力される例えばキーボード、マウスなどの入力デバイスである操作部41と、種々の情報を表示するLCDなどの表示デバイスである表示部42と、ネットワーク経由で、または、ネットワークを介さずに有線または無線によって直接に、外部の装置と通信を行う通信デバイスである通信部43と、各種の情報を記憶する半導体メモリー、HDDなどの不揮発性の記憶デバイスである記憶部44と、接続端末40全体を制御する制御部45とを備えている。   As shown in FIG. 3, the connection terminal 40 includes an operation unit 41 that is an input device such as a keyboard and a mouse to which various operations are input, and a display unit 42 that is a display device such as an LCD for displaying various information. A communication unit 43, which is a communication device that communicates with an external device via a network or directly via a wired or wireless connection without using a network, and a non-volatile memory such as a semiconductor memory or HDD for storing various information. And a control unit 45 for controlling the entire connection terminal 40.

制御部45は、例えば、CPUと、プログラムおよび各種のデータを記憶しているROMと、CPUの作業領域として用いられるRAMとを備えている。CPUは、ROMまたは記憶部44に記憶されているプログラムを実行する。   The control unit 45 includes, for example, a CPU, a ROM storing programs and various data, and a RAM used as a work area of the CPU. The CPU executes a program stored in the ROM or the storage unit 44.

制御部45は、ROMまたは記憶部44に記憶されているプログラムを実行することによって、リモートメンテナンスシステム50へのログインの処理を実行するログイン手段45aと、リモートメンテナンスシステム50にリモートメンテナンスを指示するリモートメンテナンス指示手段45bと、リモート通信システム10に含まれる画像形成装置のサーバーアプリケーションをリモートセッションを介して利用するクライアント45cと、リモートセッションを制御するリモートセッション制御手段45dとを実現する。   The control unit 45 executes a program stored in the ROM or the storage unit 44 to execute a login process to the remote maintenance system 50, and a remote unit that instructs the remote maintenance system 50 to perform remote maintenance. A maintenance instruction unit 45b, a client 45c that uses a server application of the image forming apparatus included in the remote communication system 10 via a remote session, and a remote session control unit 45d that controls the remote session are realized.

制御部45は、ROMまたは記憶部44に記憶されているプログラムを実行することによって、クライアント45c以外にも、クライアントを実現することが可能である。   The control unit 45 can realize a client other than the client 45c by executing a program stored in the ROM or the storage unit 44.

制御部45によって実現されるクライアントとしては、例えば、サーバーアプリケーションとしてのWeb Serverから通知された設定状況を表示部42に表示するとともに、操作部41から入力された各種の設定を、このWeb Serverに対して指示するWeb Browserがある。また、制御部45によって実現されるクライアントとしては、例えば、サーバーアプリケーションとしてのRemote APP Serverから受信した画面のデータに基づいた画面を表示部42に表示するとともに、この画面に対して操作部41から入力された操作を、このRemote APP Serverに送信するRemote APP Clientなどのアプリケーションがある。   As a client realized by the control unit 45, for example, the setting status notified from the Web Server as a server application is displayed on the display unit 42, and various settings input from the operation unit 41 are transmitted to the Web Server. There is a Web Browser to instruct the Web Browser. As a client realized by the control unit 45, for example, a screen based on data of a screen received from a Remote APP Server as a server application is displayed on the display unit 42, and the screen is transmitted from the operation unit 41 to the display unit 42. There is an application such as a Remote APP Client that transmits the input operation to the Remote APP Server.

制御部45によって実現されるクライアントは、アプリケーションIDによって識別されることが可能である。なお、制御部45によって実現されるクライアントを識別するためのアプリケーションIDは、このクライアントに対応する、画像形成装置のサーバーアプリケーションを識別するためのアプリケーションIDと同一である。   The client realized by the control unit 45 can be identified by the application ID. Note that the application ID for identifying the client realized by the control unit 45 is the same as the application ID for identifying the server application of the image forming apparatus corresponding to the client.

図4は、リモートメンテナンスシステム50によって実現される機能を示す図である。   FIG. 4 is a diagram showing functions realized by the remote maintenance system 50.

図4に示すように、リモートメンテナンスシステム50は、特定のプログラムを実行することによって、利用者のログインを許可するか否かを判断するログイン許可判断手段51と、リモートメンテナンスを実行するリモートメンテナンス手段52と、リモートセッションを管理するセッション管理手段53とを実現する。   As shown in FIG. 4, a remote maintenance system 50 includes a login permission determining unit 51 that determines whether to permit a user to log in by executing a specific program, and a remote maintenance unit that performs remote maintenance. 52 and a session management unit 53 for managing a remote session.

図5は、セッション中継システム60によって実現される機能を示す図である。   FIG. 5 is a diagram illustrating functions realized by the session relay system 60.

図5に示すように、セッション中継システム60は、特定のプログラムを実行することによって、リモート通信システム10に含まれる画像形成装置との通信を制御するCloud Hub61を実現する。セッション中継システム60は、特定のプログラムを実行することによって、Cloud Hub61以外にも、Cloud Hubを実現することが可能である。   As illustrated in FIG. 5, the session relay system 60 realizes a Cloud Hub 61 that controls communication with an image forming apparatus included in the remote communication system 10 by executing a specific program. The session relay system 60 can realize a Cloud Hub in addition to the Cloud Hub 61 by executing a specific program.

セッション中継システム60は、特定のプログラムを実行することによって、リモート通信システム10に含まれる接続端末との通信を制御するWeb Agent62を実現する。セッション中継システム60は、特定のプログラムを実行することによって、Web Agent62以外にも、Web Agentを実現することが可能である。   The session relay system 60 realizes a Web Agent 62 that controls communication with a connection terminal included in the remote communication system 10 by executing a specific program. The session relay system 60 can realize a Web Agent other than the Web Agent 62 by executing a specific program.

セッション中継システム60は、特定のプログラムを実行することによって、画像形成装置をいずれのCloud Hubに接続し、接続端末をいずれのWeb Agentに接続するかを決定するMaster63と、リモートセッションに関するログを記憶するセッション管理データベース64とを実現する。   The session relay system 60 stores a Master 63 that determines which Cloud Hub is to be connected to the image forming apparatus and which Web Agent is connected to the connection terminal by executing a specific program, and a log related to a remote session. And a session management database 64 to be implemented.

セッション中継システム60に含まれるCloud Hubと、セッション中継システム60に含まれるWeb Agentとは、一対一の関係である。すなわち、セッション中継システム60に含まれるCloud Hubの数と、セッション中継システム60に含まれるWeb Agentの数とは、同一である。   The Cloud Hub included in the session relay system 60 and the Web Agent included in the session relay system 60 have a one-to-one relationship. That is, the number of Cloud Hubs included in the session relay system 60 and the number of Web Agents included in the session relay system 60 are the same.

リモート通信システム10に含まれる画像形成装置がセッション中継システム60に接続する場合、この画像形成装置と、いずれのCloud Hubとを接続するかは、Master63によって決定される。しかしながら、以下においては、Master63の動作についての詳細な説明を省略する。   When an image forming apparatus included in the remote communication system 10 connects to the session relay system 60, the Master 63 determines which Cloud Hub is to be connected to the image forming apparatus. However, a detailed description of the operation of Master 63 will be omitted below.

同様に、リモート通信システム10に含まれる接続端末がセッション中継システム60に接続する場合、この接続端末と、いずれのWeb Agentとを接続するかは、Master63によって決定される。しかしながら、以下においては、Master63の動作についての詳細な説明を省略する。   Similarly, when a connection terminal included in the remote communication system 10 connects to the session relay system 60, the Master 63 determines which Web Agent to connect to this connection terminal. However, a detailed description of the operation of Master 63 will be omitted below.

次に、リモート通信システム10の動作について説明する。   Next, the operation of the remote communication system 10 will be described.

まず、接続端末40の利用者がリモートメンテナンスシステム50にログインする場合のリモート通信システム10の動作について説明する。   First, the operation of the remote communication system 10 when the user of the connection terminal 40 logs in to the remote maintenance system 50 will be described.

図6は、接続端末40の利用者がリモートメンテナンスシステム50にログインする場合のリモート通信システム10の動作のシーケンス図である。   FIG. 6 is a sequence diagram of the operation of the remote communication system 10 when the user of the connection terminal 40 logs in to the remote maintenance system 50.

接続端末40の利用者は、操作部41を介して利用者IDおよびパスワードを入力することによってリモートメンテナンスシステム50へのログインを指示することができる。接続端末40のログイン手段45aは、リモートメンテナンスシステム50へのログインの指示を受け付けると、図6に示すように、操作部41を介して入力された利用者IDおよびパスワードをリモートメンテナンスシステム50に通知することによって、リモートメンテナンスシステム50へのログインの処理を実行する(S101)。   The user of the connection terminal 40 can instruct a login to the remote maintenance system 50 by inputting a user ID and a password via the operation unit 41. Upon receiving an instruction to log in to the remote maintenance system 50, the login unit 45a of the connection terminal 40 notifies the remote maintenance system 50 of the user ID and password input via the operation unit 41, as shown in FIG. Then, the process of logging in to the remote maintenance system 50 is executed (S101).

リモートメンテナンスシステム50のログイン許可判断手段51は、接続端末40からログインが要求されると、利用者のログインを許可するか否かを、接続端末40から通知された利用者IDおよびパスワードの組み合わせに基づいて判断し(S102)、判断結果を接続端末40に返信する(S103)。   When a login is requested from the connection terminal 40, the login permission determination unit 51 of the remote maintenance system 50 determines whether to permit the user to log in based on the combination of the user ID and the password notified from the connection terminal 40. Based on the determination (S102), the determination result is returned to the connection terminal 40 (S103).

次に、リモートメンテナンスシステム50経由でリモートメンテナンスを実行する場合のリモート通信システム10の動作について説明する。   Next, the operation of the remote communication system 10 when performing remote maintenance via the remote maintenance system 50 will be described.

図7は、リモートメンテナンスシステム50経由でリモートメンテナンスを実行する場合のリモート通信システム10の動作のシーケンス図である。   FIG. 7 is a sequence diagram of the operation of the remote communication system 10 when performing remote maintenance via the remote maintenance system 50.

接続端末40の利用者は、リモートメンテナンスシステム50にログインしている場合、リモートメンテナンスシステム50経由での特定の画像形成装置(以下、図7に示す動作の説明において、画像形成装置20として説明する。)のリモートメンテナンスを操作部41を介して指示することができる。接続端末40のリモートメンテナンス指示手段45bは、リモートメンテナンスシステム50経由でのリモートメンテナンスの指示を受け付けると、図7に示すように、操作部41を介して指示された画像形成装置20のデバイスIDをリモートメンテナンスシステム50に通知することによって、操作部41を介して指示されたリモートメンテナンスをリモートメンテナンスシステム50に指示する(S121)。   When the user of the connection terminal 40 is logged in to the remote maintenance system 50, a specific image forming apparatus via the remote maintenance system 50 (hereinafter, described as the image forming apparatus 20 in the operation illustrated in FIG. 7). ) Can be instructed via the operation unit 41. When receiving the remote maintenance instruction via the remote maintenance system 50, the remote maintenance instruction unit 45b of the connection terminal 40 changes the device ID of the image forming apparatus 20 instructed via the operation unit 41 as shown in FIG. By notifying the remote maintenance system 50, the remote maintenance system 50 instructs the remote maintenance instructed via the operation unit 41 (S121).

リモートメンテナンスシステム50のリモートメンテナンス手段52は、接続端末40からリモートメンテナンスが指示されると、接続端末40からリモートメンテナンスの対象として指定された画像形成装置20に、接続端末40から指示されたメンテナンスをXMPPによって要求する(S122)。   When the remote maintenance is instructed from the connection terminal 40, the remote maintenance unit 52 of the remote maintenance system 50 performs the maintenance instructed from the connection terminal 40 to the image forming apparatus 20 designated as the target of the remote maintenance from the connection terminal 40. Request is made by XMPP (S122).

画像形成装置20の制御部28は、リモートメンテナンスシステム50からメンテナンスが要求されると、リモートメンテナンスシステム50から要求されたメンテナンスを実行し(S123)、メンテナンスの実行結果をXMPPによってリモートメンテナンスシステム50に通知する(S124)。   When maintenance is requested from the remote maintenance system 50, the control unit 28 of the image forming apparatus 20 executes the maintenance requested by the remote maintenance system 50 (S123), and sends the execution result of the maintenance to the remote maintenance system 50 by XMPP. Notification is made (S124).

リモートメンテナンスシステム50のリモートメンテナンス手段52は、メンテナンスの実行結果が画像形成装置20から通知されると、画像形成装置20から通知された実行結果を接続端末40に通知する(S125)。   When the result of the maintenance is notified from the image forming apparatus 20, the remote maintenance unit 52 of the remote maintenance system 50 notifies the connection terminal 40 of the execution result notified from the image forming apparatus 20 (S125).

次に、リモートセッションを開始する場合のリモート通信システム10の動作について説明する。   Next, the operation of the remote communication system 10 when starting a remote session will be described.

図8は、リモートセッションを開始する場合のリモート通信システム10の動作のシーケンス図である。図9は、図8に示すデバイス側セッション確立のシーケンス図である。図10は、図8に示す接続端末側セッション確立のシーケンス図である。   FIG. 8 is a sequence diagram of the operation of the remote communication system 10 when starting a remote session. FIG. 9 is a sequence diagram of the device-side session establishment shown in FIG. FIG. 10 is a sequence diagram of the connection terminal-side session establishment shown in FIG.

接続端末40の利用者は、リモートメンテナンスシステム50にログインしている場合、特定のクライアント(以下、図8〜図10に示す動作の説明において、クライアント45cとして説明する。)を指定して、特定の画像形成装置(以下、図8〜図10に示す動作の説明において、画像形成装置20として説明する。)とのリモートセッションの開始を操作部41を介して指示することができる。接続端末40のリモートセッション制御手段45dは、リモートセッションの開始の指示を受け付けると、図8〜図10に示すように、操作部41を介して指示された画像形成装置20のデバイスIDと、操作部41を介して指示されたクライアント45cのアプリケーションIDとをリモートメンテナンスシステム50に通知することによって、リモートセッションの開始をリモートメンテナンスシステム50に要求する(S141)。   When logging in to the remote maintenance system 50, the user of the connection terminal 40 specifies a specific client (hereinafter, described as a client 45c in the description of the operations illustrated in FIGS. 8 to 10) and specifies the client. The start of a remote session with the image forming apparatus (hereinafter, described as the image forming apparatus 20 in the description of the operations illustrated in FIGS. 8 to 10) can be instructed via the operation unit 41. Upon receiving the instruction to start the remote session, the remote session control unit 45d of the connection terminal 40 receives the device ID of the image forming apparatus 20 instructed via the operation unit 41 and the operation, as shown in FIGS. The remote maintenance system 50 is requested to start a remote session by notifying the remote maintenance system 50 of the application ID of the client 45c specified via the unit 41 (S141).

なお、接続端末40の利用者は、画像形成装置20とのリモートセッションの開始を操作部41を介して指示する場合、画像形成装置20とのリモートセッションの開始を操作部41を介して指示する前に、画像形成装置20とのリモートセッションの開始を希望する旨を画像形成装置20の利用者に例えば電話などの方法によって事前に別途連絡することが好ましい。   When the user of the connection terminal 40 instructs the start of the remote session with the image forming apparatus 20 via the operation unit 41, the user instructs the start of the remote session with the image forming apparatus 20 via the operation unit 41. Beforehand, it is preferable that the user of the image forming apparatus 20 is separately informed in advance that the user desires to start a remote session with the image forming apparatus 20 by a method such as a telephone.

リモートメンテナンスシステム50のセッション管理手段53は、S141の要求を受け付けると、S141によって通知されたデバイスIDによって特定される画像形成装置20に、S141によって通知されたアプリケーションIDを通知することによって、リモートセッションの開始の承認をXMPPによって要求する(S142)。   Upon receiving the request in S141, the session management unit 53 of the remote maintenance system 50 notifies the image forming apparatus 20 specified by the device ID notified in S141 of the application ID notified in S141, thereby executing the remote session. Is requested by XMPP (S142).

画像形成装置20のサーバーアプリケーションのうち、S142によって通知されたアプリケーションIDによって特定されるサーバーアプリケーション28aは、S142の要求を受けると、リモートセッションの開始を承認するか否かの指示を受け付けるリモートセッション承認用画面70(図11参照。)を表示部22に表示する(S143)。   Among the server applications of the image forming apparatus 20, the server application 28a specified by the application ID notified in S142 receives the request in S142, and accepts an instruction as to whether or not to approve the start of the remote session. Screen 70 (see FIG. 11) is displayed on the display unit 22 (S143).

図11は、リモートセッション承認用画面70の一例を示す図である。   FIG. 11 is a diagram showing an example of the remote session approval screen 70.

図11に示すリモートセッション承認用画面70は、リモートセッションを承認するか否かを尋ねるメッセージ71と、リモートセッションの開始の承認の指示を受け付けるためのYESボタン72と、リモートセッションの開始の不承認の指示を受け付けるためのNOボタン73とを備えている。画像形成装置20の利用者は、操作部21を介してYESボタン72およびNOボタン73のいずれかを押すことができる。   The remote session approval screen 70 shown in FIG. 11 includes a message 71 asking whether to approve the remote session, a YES button 72 for accepting an instruction to approve the start of the remote session, and a A NO button 73 for receiving an instruction is provided. The user of the image forming apparatus 20 can press either the YES button 72 or the NO button 73 via the operation unit 21.

図8〜図10に示すように、サーバーアプリケーション28aは、操作部21を介してYESボタン72が押されると、リモートセッションが承認された旨をXMPPによってリモートメンテナンスシステム50に通知する(S144)。   As shown in FIGS. 8 to 10, when the YES button 72 is pressed via the operation unit 21, the server application 28a notifies the remote maintenance system 50 by XMPP that the remote session has been approved (S144).

なお、図示していないが、S143において表示部22に表示されたリモートセッション承認用画面70に対して操作部21を介してNOボタン73が押された場合、リモート通信システム10は、次のように動作する。まず、画像形成装置20のサーバーアプリケーション28aは、リモートセッションが承認されなかった旨をXMPPによってリモートメンテナンスシステム50に通知する。次いで、リモートメンテナンスシステム50のセッション管理手段53は、リモートセッションが承認されなかった旨を接続端末40に通知する。そして、接続端末40のリモートセッション制御手段45dは、リモートセッションが承認されなかった旨を表示部42に表示する。   Although not shown, if the NO button 73 is pressed via the operation unit 21 on the remote session approval screen 70 displayed on the display unit 22 in S143, the remote communication system 10 Works. First, the server application 28a of the image forming apparatus 20 notifies the remote maintenance system 50 by XMPP that the remote session has not been approved. Next, the session management means 53 of the remote maintenance system 50 notifies the connection terminal 40 that the remote session has not been approved. Then, the remote session control unit 45d of the connection terminal 40 displays on the display unit 42 that the remote session has not been approved.

リモートメンテナンスシステム50のセッション管理手段53は、S144の通知を受けると、セッション中継システム60に接続情報をAPI(Application Program Interface)によって要求する(S145)。   Upon receiving the notification in S144, the session management unit 53 of the remote maintenance system 50 requests connection information from the session relay system 60 by using an API (Application Program Interface) (S145).

セッション中継システム60のCloud Hub61は、S145の要求を受けると、このリモートセッションによる通信をセッション中継システム60において識別するためのセッションIDを生成し(S146)、生成したセッションIDを接続情報としてリモートメンテナンスシステム50にAPIによって通知する(S147)。セッションIDとしては、例えば、HMAC(Hash−based Message Authentication Code)などのハッシュアルゴリズムで生成された乱数列を、HTTP(Hypertext Transfer Protocol)上で取り扱えるようにBASE64エンコーディングしたものなど、ランダムな識別情報が採用される。   Upon receiving the request of S145, the Cloud Hub 61 of the session relay system 60 generates a session ID for identifying communication by the remote session in the session relay system 60 (S146), and uses the generated session ID as connection information for remote maintenance. The system 50 is notified by the API (S147). As the session ID, for example, random identification information such as one obtained by encoding a random number sequence generated by a hash algorithm such as HMAC (Hash-based Message Authentication Code) in BASE64 encoding so as to be handled on HTTP (Hypertext Transfer Protocol) is used. Adopted.

リモートメンテナンスシステム50のセッション管理手段53は、S147においてセッションIDが通知されると、リモートセッションの有効期間をリモートメンテナンスシステム50が認識するためのトークンを生成し(S148)、生成したトークンと、S147において通知されたセッションIDとをXMPPによって画像形成装置20に通知する(S149)。   When the session ID is notified in S147, the session management unit 53 of the remote maintenance system 50 generates a token for the remote maintenance system 50 to recognize the validity period of the remote session (S148), and generates the token and S147. Is notified to the image forming apparatus 20 by XMPP (S149).

次いで、セッション管理手段53は、トークンおよびセッションIDを取得した旨を接続端末40に通知する(S150)。   Next, the session management unit 53 notifies the connection terminal 40 that the token and the session ID have been acquired (S150).

画像形成装置20のサーバーアプリケーション28aは、S149においてトークンおよびセッションIDが通知されると、S149において通知されたトークンおよびセッションIDを設定したCloud Hub Agent28bを起動する(S171)。   When notified of the token and the session ID in S149, the server application 28a of the image forming apparatus 20 activates the Cloud Hub Agent 28b in which the token and the session ID notified in S149 are set (S171).

次いで、Cloud Hub Agent28bは、設定されたトークンおよびセッションIDをセッション中継システム60に通知することによって、セッション中継システム60にセッションの確立を要求する(S172)。   Next, the Cloud Hub Agent 28b requests the session relay system 60 to establish a session by notifying the session relay system 60 of the set token and the session ID (S172).

セッション中継システム60のCloud Hubのうち、S172において通知されたセッションIDに対応付けられているCloud Hub61は、S172の要求を受けると、S172において通知されたトークンによる認証をAPIによってリモートメンテナンスシステム50に要求する(S173)。したがって、リモートメンテナンスシステム50のセッション管理手段53は、S173によって要求された認証を実行し(S174)、認証の結果をセッション中継システム60にAPIによって通知する(S175)。   Among the Cloud Hubs of the session relay system 60, the Cloud Hub 61 associated with the session ID notified in S172, upon receiving the request in S172, authenticates with the token notified in S172 to the remote maintenance system 50 by the API. Request (S173). Therefore, the session management unit 53 of the remote maintenance system 50 executes the authentication requested in S173 (S174), and notifies the session relay system 60 of the authentication result by the API (S175).

セッション中継システム60のCloud Hub61は、S175において認証の成功が通知されると、画像形成装置20とのセッションを開始したことを示すログをセッション管理データベース64に記憶し(S176)、S176において記憶したログをトークンとともにリモートメンテナンスシステム50にAPIによって通知する(S177)。したがって、リモートメンテナンスシステム50のセッション管理手段53は、S177において通知されたログを、S177において通知されたトークンによって識別されるリモートセッションのログとして管理し(S178)、このログを管理した旨をセッション中継システム60にAPIによって返信する(S179)。   When notified of successful authentication in S175, the Cloud Hub 61 of the session relay system 60 stores a log indicating that a session with the image forming apparatus 20 has started in the session management database 64 (S176), and stores the log in S176. The log is notified to the remote maintenance system 50 together with the token by the API (S177). Therefore, the session management unit 53 of the remote maintenance system 50 manages the log notified in S177 as a log of the remote session identified by the token notified in S177 (S178), and indicates that the log has been managed. An API is returned to the relay system 60 (S179).

セッション中継システム60のCloud Hub61は、S175において認証の成功が通知されると、画像形成装置20とのセッションを確立した旨を画像形成装置20に通知する(S180)。すなわち、画像形成装置20と、セッション中継システム60との間にHTTPベースのWebSocket接続が確立される。   When notified of the success of the authentication in S175, the Cloud Hub 61 of the session relay system 60 notifies the image forming apparatus 20 that a session with the image forming apparatus 20 has been established (S180). That is, an HTTP-based WebSocket connection is established between the image forming apparatus 20 and the session relay system 60.

接続端末40のリモートセッション制御手段45dは、S141の処理の後、リモートメンテナンスシステム50から接続情報を取得することができるまで、リモートメンテナンスシステム50に接続情報をポーリングによって要求する(S201)。   After the process of S141, the remote session control unit 45d of the connection terminal 40 requests the remote maintenance system 50 for the connection information by polling until the connection information can be acquired from the remote maintenance system 50 (S201).

リモートメンテナンスシステム50のセッション管理手段53は、S201の要求を受けた場合に、S148においてトークンを生成済みであるとき、このトークンと、S147においてセッション中継システム60から通知されたセッションIDとを接続情報として接続端末40に通知する(S202)。   Upon receiving the request in S201, if the token has been generated in S148, the session management unit 53 of the remote maintenance system 50 stores the token and the session ID notified from the session relay system 60 in S147 in the connection information. To the connection terminal 40 (S202).

接続端末40のリモートセッション制御手段45dは、S202においてトークンおよびセッションIDが通知されると、S202において通知されたトークンおよびセッションIDを設定したクライアント45cを起動する(S203)。   When the token and the session ID are notified in S202, the remote session control unit 45d of the connection terminal 40 activates the client 45c in which the token and the session ID notified in S202 are set (S203).

次いで、クライアント45cは、設定されたトークンおよびセッションIDをセッション中継システム60に通知することによって、セッション中継システム60にセッションの確立を要求する(S204)。   Next, the client 45c requests the session relay system 60 to establish a session by notifying the session relay system 60 of the set token and the session ID (S204).

セッション中継システム60のWeb Agentのうち、S204において通知されたセッションIDに対応付けられているWeb Agent62は、S204の要求を受けると、S204において通知されたトークンおよびセッションIDをCloud Hub61に通知することによって、Cloud Hub61にセッションの確立を要求する(S205)。   Among the Web Agents of the session relay system 60, the Web Agent 62 associated with the session ID notified in S204, upon receiving the request in S204, notifies the Cloud Hub 61 of the token and session ID notified in S204. Requesting the Cloud Hub 61 to establish a session (S205).

セッション中継システム60のCloud Hub61は、S205の要求を受けると、S205において通知されたトークンによる認証をAPIによってリモートメンテナンスシステム50に要求する(S206)。したがって、リモートメンテナンスシステム50のセッション管理手段53は、S206によって要求された認証を実行し(S207)、認証の結果をセッション中継システム60にAPIによって通知する(S208)。   Upon receiving the request of S205, the Cloud Hub 61 of the session relay system 60 requests the remote maintenance system 50 to authenticate with the token notified in S205 by using the API (S206). Therefore, the session management unit 53 of the remote maintenance system 50 executes the authentication requested in S206 (S207), and notifies the session relay system 60 of the authentication result by the API (S208).

セッション中継システム60のCloud Hub61は、S208において認証の成功が通知されると、接続端末40とのセッションを開始したことを示すログをセッション管理データベース64に記憶し(S209)、S209において記憶したログをトークンとともにリモートメンテナンスシステム50にAPIによって通知する(S210)。したがって、リモートメンテナンスシステム50のセッション管理手段53は、S210において通知されたログを、S210において通知されたトークンによって識別されるリモートセッションのログとして管理し(S211)、このログを管理した旨をセッション中継システム60にAPIによって返信する(S212)。   When notified of successful authentication in S208, the Cloud Hub 61 of the session relay system 60 stores a log indicating that a session with the connection terminal 40 has been started in the session management database 64 (S209), and stores the log stored in S209. Is notified to the remote maintenance system 50 together with the token by the API (S210). Therefore, the session management unit 53 of the remote maintenance system 50 manages the log notified in S210 as a log of the remote session identified by the token notified in S210 (S211), and reports that the log has been managed to the session. A reply is sent to the relay system 60 by the API (S212).

セッション中継システム60のCloud Hub61は、S208において認証の成功が通知されると、接続端末40とのセッションを確立した旨をWeb Agent62に通知する(S213)。したがって、Web Agent62は、接続端末40とのセッションを確立した旨を接続端末40に通知する(S214)。すなわち、接続端末40と、セッション中継システム60との間にHTTPベースのWebSocket接続が確立される。   When notified of successful authentication in S208, the Cloud Hub 61 of the session relay system 60 notifies the Web Agent 62 that a session with the connection terminal 40 has been established (S213). Therefore, the Web Agent 62 notifies the connection terminal 40 that the session with the connection terminal 40 has been established (S214). That is, an HTTP-based WebSocket connection is established between the connection terminal 40 and the session relay system 60.

なお、セッション中継システム60は、図8〜図10に示す動作によって画像形成装置20との間に確立されたWebSocket接続と、図8〜図10に示す動作によって接続端末40との間に確立されたWebSocket接続とを、セッションIDによって関連付ける。したがって、図8〜図10に示す動作によって、リモートセッションが確立される。   The session relay system 60 is established between the WebSocket connection established with the image forming apparatus 20 by the operation shown in FIGS. 8 to 10 and the connection terminal 40 by the operation shown in FIGS. The WebSocket connection is associated by a session ID. Therefore, a remote session is established by the operations shown in FIGS.

次に、接続端末40からのリモートセッションを介した要求に応じて画像形成装置20が動作する場合のリモート通信システム10の動作について説明する。   Next, an operation of the remote communication system 10 when the image forming apparatus 20 operates in response to a request from the connection terminal 40 via a remote session will be described.

図12は、接続端末40からのリモートセッションを介した要求に応じて画像形成装置20が動作する場合のリモート通信システム10の動作のシーケンス図である。   FIG. 12 is a sequence diagram of an operation of the remote communication system 10 when the image forming apparatus 20 operates in response to a request from the connection terminal 40 via a remote session.

図8〜図10に示す動作によってリモートセッションが確立されている場合、接続端末40の利用者は、画像形成装置20に対する要求を操作部41を介して指示することができる。接続端末40のクライアント45cは、画像形成装置20に対する要求の指示を受け付けると、図12に示すように、操作部41を介して指示された要求を通知するためのHTTPリクエストを生成する(S231)。   When the remote session is established by the operations shown in FIGS. 8 to 10, the user of the connection terminal 40 can instruct a request to the image forming apparatus 20 via the operation unit 41. Upon receiving the request instruction to the image forming apparatus 20, the client 45c of the connection terminal 40 generates an HTTP request for notifying the request instructed via the operation unit 41 as shown in FIG. 12 (S231). .

ここで、S232において生成されるHTTPリクエストの構造について説明する。   Here, the structure of the HTTP request generated in S232 will be described.

図13(a)は、サーバーアプリケーション28aが処理するHTTPデータ80を示す図である。図13(b)は、図13(a)に示すHTTPデータ80をインターネット上で中継するためのHTTPデータ90を示す図である。   FIG. 13A is a diagram showing HTTP data 80 processed by the server application 28a. FIG. 13B is a diagram showing HTTP data 90 for relaying the HTTP data 80 shown in FIG. 13A over the Internet.

図13に示すように、HTTPデータ80は、HTTPヘッダー81と、HTTPボディー82とを含んでいる。HTTPデータ90は、インターネット上の中継のためのHTTPヘッダー91と、HTTPボディー92としてのHTTPデータ80とを含んでいる。なお、HTTPヘッダー91には、サーバーアプリケーション28aを特定するためのアプリケーションID91aが含まれている。   As shown in FIG. 13, the HTTP data 80 includes an HTTP header 81 and an HTTP body 82. The HTTP data 90 includes an HTTP header 91 for relaying on the Internet, and HTTP data 80 as an HTTP body 92. Note that the HTTP header 91 includes an application ID 91a for specifying the server application 28a.

クライアント45cは、操作部41を介して指示された要求を通知するためのHTTPリクエストとして、図13(b)に示すHTTPデータ90と同様の構造のHTTPデータを生成する。ここで、セッションIDは、HTTPヘッダー91に相当する箇所に格納される。   The client 45c generates HTTP data having the same structure as the HTTP data 90 shown in FIG. 13B as an HTTP request for notifying a request instructed via the operation unit 41. Here, the session ID is stored in a location corresponding to the HTTP header 91.

図12に示すように、接続端末40のクライアント45cは、S231において生成したHTTPリクエストをセッション中継システム60にWebSocket接続によって送信する(S232)。   As shown in FIG. 12, the client 45c of the connection terminal 40 transmits the HTTP request generated in S231 to the session relay system 60 through a WebSocket connection (S232).

セッション中継システム60のWeb Agentのうち、S232において送信されてきたHTTPリクエストに含まれるセッションIDに対応付けられたWeb Agent62は、S232においてHTTPリクエストが送信されてくると、このHTTPリクエストをCloud Hub61に渡す(S233)。したがって、Cloud Hub61は、このHTTPリクエストに含まれるセッションIDに対応するWebSocket接続によって、このHTTPリクエストを画像形成装置20に送信する(S234)。   Among the Web Agents of the session relay system 60, the Web Agent 62 associated with the session ID included in the HTTP request transmitted in S232 transmits the HTTP request to the Cloud Hub 61 when the HTTP request is transmitted in S232. It passes (S233). Therefore, the Cloud Hub 61 transmits the HTTP request to the image forming apparatus 20 via the WebSocket connection corresponding to the session ID included in the HTTP request (S234).

画像形成装置20のCloud Hub Agent28bは、S234においてHTTPリクエストが送信されてくると、このHTTPリクエストに含まれるアプリケーションIDに対応するサーバーアプリケーション28aを識別する(S235)。   Upon receiving the HTTP request in S234, the Cloud Hub Agent 28b of the image forming apparatus 20 identifies the server application 28a corresponding to the application ID included in the HTTP request (S235).

次いで、Cloud Hub Agent28bは、S234において送信されてきたHTTPリクエストからインターネット上の中継のためのHTTPヘッダーを取り外したHTTPリクエストを生成する(S236)。ここで、S236において生成されるHTTPリクエストは、図13(a)に示すHTTPデータ80と同様の構造のHTTPデータである。   Next, the Cloud Hub Agent 28b generates an HTTP request by removing the HTTP header for relaying on the Internet from the HTTP request transmitted in S234 (S236). Here, the HTTP request generated in S236 is HTTP data having the same structure as the HTTP data 80 shown in FIG.

次いで、Cloud Hub Agent28bは、S235において識別したサーバーアプリケーション28aに、S236において生成したHTTPリクエストを渡す(S237)。   Next, the Cloud Hub Agent 28b passes the HTTP request generated in S236 to the server application 28a identified in S235 (S237).

サーバーアプリケーション28aは、S237においてHTTPリクエストが渡されると、このHTTPリクエストに応じたHTTPレスポンスを生成する(S238)。ここで、S238において生成されるHTTPレスポンスは、図13(a)に示すHTTPデータ80と同様の構造のHTTPデータである。   Upon receiving the HTTP request in S237, the server application 28a generates an HTTP response corresponding to the HTTP request (S238). Here, the HTTP response generated in S238 is HTTP data having the same structure as the HTTP data 80 shown in FIG.

次いで、サーバーアプリケーション28aは、S238において生成したHTTPレスポンスを、Cloud Hub Agent28bに渡す(S239)。   Next, the server application 28a passes the HTTP response generated in S238 to the Cloud Hub Agent 28b (S239).

Cloud Hub Agent28bは、S239においてHTTPレスポンスが渡されると、S239において渡されたHTTPレスポンスに、インターネット上の中継のためのHTTPヘッダーを取り付けたHTTPレスポンスを生成する(S240)。ここで、S240において生成されるHTTPレスポンスは、図13(b)に示すHTTPデータ90と同様の構造のHTTPデータである。セッションIDは、HTTPヘッダー91に相当する箇所に格納される。   When the HTTP response is passed in S239, the Cloud Hub Agent 28b generates an HTTP response in which an HTTP header for relaying on the Internet is attached to the HTTP response passed in S239 (S240). Here, the HTTP response generated in S240 is HTTP data having the same structure as the HTTP data 90 shown in FIG. The session ID is stored at a location corresponding to the HTTP header 91.

Cloud Hub Agent28bは、S240において生成したHTTPレスポンスをセッション中継システム60にWebSocket接続によって送信する(S241)。   The Cloud Hub Agent 28b transmits the HTTP response generated in S240 to the session relay system 60 via a WebSocket connection (S241).

セッション中継システム60のCloud Hubのうち、S241において送信されてきたHTTPレスポンスに含まれるセッションIDに対応付けられたCloud Hub61は、S241においてHTTPレスポンスが送信されてくると、このHTTPレスポンスをWeb Agent62に渡す(S242)。したがって、Web Agent62は、このHTTPレスポンスに含まれるセッションIDに対応するWebSocket接続によって、このHTTPレスポンスを接続端末40に送信する(S243)。   Among the Cloud Hubs of the session relay system 60, the Cloud Hub 61 associated with the session ID included in the HTTP response transmitted in S241 transmits the HTTP response to the Web Agent 62 when the HTTP response is transmitted in S241. Hand over (S242). Therefore, the Web Agent 62 transmits the HTTP response to the connection terminal 40 via the WebSocket connection corresponding to the session ID included in the HTTP response (S243).

したがって、接続端末40のクライアント45cは、S243において送信されてきたHTTPレスポンスを受信することができる。   Therefore, the client 45c of the connection terminal 40 can receive the HTTP response transmitted in S243.

次に、リモートセッションを終了する場合のリモート通信システム10の動作について説明する。   Next, the operation of the remote communication system 10 when ending the remote session will be described.

図14は、リモートセッションを終了する場合のリモート通信システム10の動作のシーケンス図である。図15は、図14に示すデバイス側セッション終了のシーケンス図である。   FIG. 14 is a sequence diagram of the operation of the remote communication system 10 when ending the remote session. FIG. 15 is a sequence diagram for terminating the device-side session shown in FIG.

接続端末40の利用者は、特定の画像形成装置(以下、図14および図15に示す動作の説明において、画像形成装置20として説明する。)の特定のサーバーアプリケーション(以下、図14および図15に示す動作の説明において、サーバーアプリケーション28aとして説明する。)とのリモートセッションの終了を操作部41を介して指示することができる。接続端末40のリモートセッション制御手段45dは、リモートセッションの終了の指示を受け付けると、図14および図15に示すように、操作部41を介して指示されたリモートセッションのトークンおよびセッションIDをクライアント45cに通知することによって、リモートセッションの終了をクライアント45cに要求する(S261)。したがって、クライアント45cは、S261において要求されたリモートセッションの終了をセッション中継システム60にWebSocket接続によって要求する(S262)。   The user of the connection terminal 40 can use a specific server application (hereinafter, FIGS. 14 and 15) of a specific image forming apparatus (hereinafter, described as the image forming apparatus 20 in the description of the operations illustrated in FIGS. 14 and 15). In the description of the operation described in (1), the server application 28a will be described). When the remote session control unit 45d of the connection terminal 40 receives the instruction to end the remote session, the remote session token and the session ID specified via the operation unit 41 are transmitted to the client 45c as shown in FIGS. Requesting the client 45c to end the remote session (S261). Therefore, the client 45c requests the session relay system 60 to end the remote session requested in S261 through the WebSocket connection (S262).

セッション中継システム60のWeb Agentのうち、S262における要求に含まれるセッションIDに対応付けられたWeb Agent62は、S262においてリモートセッションの終了が要求されると、この要求をCloud Hub61に渡す(S263)。したがって、Cloud Hub61は、この要求に含まれるトークンによって識別されるリモートセッションの終了をAPIによってリモートメンテナンスシステム50に要求する(S264)。   Among the Web Agents of the session relay system 60, the Web Agent 62 associated with the session ID included in the request in S262, when the end of the remote session is requested in S262, passes this request to the Cloud Hub 61 (S263). Therefore, the Cloud Hub 61 requests the remote maintenance system 50 to terminate the remote session identified by the token included in the request by the API (S264).

リモートメンテナンスシステム50のセッション管理手段53は、S264の要求を受けると、S264の要求の対象のリモートセッションの対象の画像形成装置20に、このリモートセッションの終了をXMPPによって要求する(S265)。   Upon receiving the request of S264, the session management unit 53 of the remote maintenance system 50 requests the image forming apparatus 20 of the target of the remote session requested by S264 to end this remote session by XMPP (S265).

次いで、セッション管理手段53は、リモートセッションの終了の要求を受け付けた旨をセッション中継システム60にAPIによって通知する(S266)。   Next, the session management unit 53 notifies the session relay system 60 of the reception of the request for terminating the remote session by using the API (S266).

セッション中継システム60のCloud Hub61は、S266においてリモートセッションの終了の要求の受け付けが通知されると、接続端末40とのセッションを終了したことを示すログをセッション管理データベース64に記憶し(S267)、S267において記憶したログをトークンとともにリモートメンテナンスシステム50にAPIによって通知する(S268)。したがって、リモートメンテナンスシステム50のセッション管理手段53は、S268において通知されたログを、S268において通知されたトークンによって識別されるリモートセッションのログとして管理し(S269)、このログを管理した旨をセッション中継システム60にAPIによって返信する(S270)。   The Cloud Hub 61 of the session relay system 60 stores the log indicating that the session with the connection terminal 40 has been ended in the session management database 64 when notified of the reception of the request for terminating the remote session in S266 (S267). The log stored in S267 is notified to the remote maintenance system 50 together with the token by an API (S268). Therefore, the session management unit 53 of the remote maintenance system 50 manages the log notified in S268 as a log of the remote session identified by the token notified in S268 (S269), and indicates that the log has been managed. An API is returned to the relay system 60 (S270).

セッション中継システム60のCloud Hub61は、S270における返信を受けると、接続端末40と、セッション中継システム60とのWebSocket接続の終了をWeb Agent62に通知する(S271)。したがって、Web Agent62は、接続端末40と、セッション中継システム60とのWebSocket接続の終了を接続端末40に通知する(S272)。   When receiving the reply in S270, the Cloud Hub 61 of the session relay system 60 notifies the Web Agent 62 of the end of the WebSocket connection between the connection terminal 40 and the session relay system 60 (S271). Therefore, the Web Agent 62 notifies the connection terminal 40 of the end of the WebSocket connection between the connection terminal 40 and the session relay system 60 (S272).

接続端末40のクライアント45cは、S272の通知を受けると、接続端末40と、セッション中継システム60とのWebSocket接続の終了をリモートセッション制御手段45dに通知して(S273)、自身の動作を終了する。   Upon receiving the notification in S272, the client 45c of the connection terminal 40 notifies the remote session control unit 45d of the end of the WebSocket connection between the connection terminal 40 and the session relay system 60 (S273), and ends its operation. .

したがって、リモートセッション制御手段45dは、例えば、接続端末40と、セッション中継システム60とのWebSocket接続が終了した旨を表示部42に表示することができる。   Therefore, the remote session control unit 45d can display on the display unit 42 that WebSocket connection between the connection terminal 40 and the session relay system 60 has been completed, for example.

画像形成装置20のサーバーアプリケーションのうち、S265において受けた要求の対象のリモートセッションの対象のサーバーアプリケーション28aは、S265の要求を受けると、このリモートセッションのトークンおよびセッションIDをCloud Hub Agent28bに通知することによって、リモートセッションの終了をCloud Hub Agent28bに要求する(S291)。したがって、Cloud Hub Agent28bは、S291において要求されたリモートセッションの終了をセッション中継システム60にWebSocket接続によって要求する(S292)。   Upon receiving the request of S265, the server application 28a of the remote session of the request received in S265 among the server applications of the image forming apparatus 20 notifies the token and session ID of the remote session to the Cloud Hub Agent 28b. This requests the Cloud Hub Agent 28b to end the remote session (S291). Therefore, the Cloud Hub Agent 28b requests the session relay system 60 to terminate the remote session requested in S291 by a WebSocket connection (S292).

セッション中継システム60のCloud Hub61は、S292の要求を受けると、この要求に含まれるトークンによって識別されるリモートセッションの終了をAPIによってリモートメンテナンスシステム50に要求する(S293)。   Upon receiving the request of S292, the Cloud Hub 61 of the session relay system 60 requests the remote maintenance system 50 to terminate the remote session identified by the token included in the request (S293).

リモートメンテナンスシステム50のセッション管理手段53は、S293の要求を受けると、リモートセッションの終了の要求を受け付けた旨をセッション中継システム60にAPIによって通知する(S294)。   Upon receiving the request of S293, the session management unit 53 of the remote maintenance system 50 notifies the session relay system 60 of the reception of the request for terminating the remote session by using the API (S294).

セッション中継システム60のCloud Hub61は、S294においてリモートセッションの終了の要求の受け付けが通知されると、画像形成装置20とのセッションを終了したことを示すログをセッション管理データベース64に記憶し(S295)、S295において記憶したログをトークンとともにリモートメンテナンスシステム50にAPIによって通知する(S296)。したがって、リモートメンテナンスシステム50のセッション管理手段53は、S296において通知されたログを、S296において通知されたトークンによって識別されるリモートセッションのログとして管理し(S297)、このログを管理した旨をセッション中継システム60にAPIによって返信する(S298)。   The Cloud Hub 61 of the session relay system 60 stores the log indicating that the session with the image forming apparatus 20 has been completed in the session management database 64 when notified of the reception of the request for terminating the remote session in S294 (S295). The log stored in S295 is notified to the remote maintenance system 50 together with the token by the API (S296). Therefore, the session management unit 53 of the remote maintenance system 50 manages the log notified in S296 as a log of the remote session identified by the token notified in S296 (S297), and indicates that the log has been managed in the session. An API is returned to the relay system 60 (S298).

セッション中継システム60のCloud Hub61は、S298における返信を受けると、画像形成装置20と、セッション中継システム60とのWebSocket接続の終了を画像形成装置20に通知する(S299)。   Upon receiving the reply in S298, the Cloud Hub 61 of the session relay system 60 notifies the image forming apparatus 20 and the end of the WebSocket connection with the session relay system 60 to the image forming apparatus 20 (S299).

画像形成装置20のCloud Hub Agent28bは、S299の通知を受けると、自身の動作を終了する。   Upon receiving the notification of S299, the Cloud Hub Agent 28b of the image forming apparatus 20 ends its operation.

なお、リモートメンテナンスシステム50のセッション管理手段53は、画像形成装置20およびセッション中継システム60の間のセッションの終了を示すログがセッション中継システム60から通知されてきたことと、接続端末40およびセッション中継システム60の間のセッションの終了を示すログがセッション中継システム60から通知されてきたこととを両方確認した場合に、セッション中継システム60を介した画像形成装置20および接続端末40のリモートセッションが終了したと判断する。セッション管理手段53は、セッション中継システム60を介した画像形成装置20および接続端末40のリモートセッションが終了していないと判断している場合、セッション中継システム60を介した画像形成装置20および接続端末40の新たなリモートセッションの確立を許可しない。   The session management unit 53 of the remote maintenance system 50 determines that the log indicating the end of the session between the image forming apparatus 20 and the session relay system 60 has been notified from the session relay system 60, and that the connection terminal 40 and the session relay When it is confirmed that the log indicating the end of the session between the systems 60 has been notified from the session relay system 60, the remote session of the image forming apparatus 20 and the connection terminal 40 via the session relay system 60 ends. Judge that you have done. If the session management unit 53 determines that the remote session between the image forming apparatus 20 and the connection terminal 40 via the session relay system 60 has not ended, the image management apparatus 53 and the connection terminal via the session relay system 60 Do not allow the establishment of 40 new remote sessions.

次に、リモートセッションを介した通信状態のテスト(以下「セッション通信状態テスト」という。)を実行する場合のリモート通信システム10の動作について説明する。   Next, an operation of the remote communication system 10 when a communication state test via a remote session (hereinafter, referred to as a “session communication state test”) is performed will be described.

図16は、セッション通信状態テストを実行する場合のリモート通信システム10の動作のシーケンス図である。図17は、図16に示すサーバーアプリケーション確認のシーケンス図である。図18は、図16に示すセッション通信状態テストのシーケンス図である。図19は、図16に示すリモートセッション終了のシーケンス図である。図20は、図19に示す接続端末側セッション終了のシーケンス図である。図21は、図19に示すXMPP経由セッション終了のシーケンス図である。   FIG. 16 is a sequence diagram of the operation of the remote communication system 10 when the session communication state test is executed. FIG. 17 is a sequence diagram of the server application confirmation shown in FIG. FIG. 18 is a sequence diagram of the session communication state test shown in FIG. FIG. 19 is a sequence diagram for ending the remote session shown in FIG. FIG. 20 is a sequence diagram of the connection terminal-side session end shown in FIG. FIG. 21 is a sequence diagram of terminating the session via XMPP shown in FIG.

接続端末40の利用者は、リモートメンテナンスシステム50にログインしている場合、セッション通信状態テストを実行するためのクライアント(以下、図16〜図21に示す動作の説明において、クライアント45cとして説明する。)を指定して、特定の画像形成装置(以下、図16〜図21に示す動作の説明において、画像形成装置20として説明する。)とのリモートセッションを介したセッション通信状態テストの実行を操作部41を介して指示することができる。接続端末40のリモートセッション制御手段45dは、セッション通信状態テストの実行の指示を受け付けると、図16〜図21に示すように、操作部41を介して指示された画像形成装置20のデバイスIDと、操作部41を介して指示されたクライアント45cのアプリケーションIDとをリモートメンテナンスシステム50に通知することによって、セッション通信状態テストの開始をリモートメンテナンスシステム50に要求する(S311)。   When the user of the connection terminal 40 is logged in to the remote maintenance system 50, the client for executing the session communication state test (hereinafter, described as the client 45c in the description of the operations illustrated in FIGS. 16 to 21). ) To operate the execution of a session communication state test via a remote session with a specific image forming apparatus (hereinafter, described as the image forming apparatus 20 in the description of the operations shown in FIGS. 16 to 21). An instruction can be given via the unit 41. When receiving the instruction to execute the session communication state test, the remote session control unit 45d of the connection terminal 40 receives the device ID of the image forming apparatus 20 specified via the operation unit 41 as shown in FIGS. Then, by informing the remote maintenance system 50 of the application ID of the client 45c specified via the operation unit 41, the start of the session communication state test is requested to the remote maintenance system 50 (S311).

なお、接続端末40の利用者は、画像形成装置20とのセッション通信状態テストの実行を操作部41を介して指示する場合、画像形成装置20とのセッション通信状態テストの実行を操作部41を介して指示する前に、画像形成装置20とのセッション通信状態テストの実行を希望する旨を画像形成装置20の利用者に例えば電話などの方法によって事前に別途連絡することが好ましい。   When the user of the connection terminal 40 instructs the execution of the session communication state test with the image forming apparatus 20 via the operation unit 41, the execution of the session communication state test with the image forming apparatus 20 is performed by the operation unit 41. It is preferable that the user of the image forming apparatus 20 be separately informed beforehand instructing the user of the image forming apparatus 20 that the execution of the session communication state test with the image forming apparatus 20 is desired, for example, by a method such as a telephone.

リモートメンテナンスシステム50のセッション管理手段53は、S311の要求を受け付けると、S311によって通知されたデバイスIDによって特定される画像形成装置20に、S311によって通知されたアプリケーションIDを通知することによって、このアプリケーションIDによって特定されるサーバーアプリケーションが画像形成装置20にインストールされているか否かをXMPPによって問い合わせる(S312)。   Upon receiving the request in S311, the session management unit 53 of the remote maintenance system 50 notifies the image forming apparatus 20 identified by the device ID notified in S311 of the application ID notified in S311, and An inquiry is made by XMPP as to whether the server application specified by the ID is installed in the image forming apparatus 20 (S312).

画像形成装置20のリモートセッション制御手段28cは、S312の問い合わせを受けると、画像形成装置20のサーバーアプリケーションのうち、S312によって通知されたアプリケーションIDによって特定されるサーバーアプリケーションがインストールされているか否かを判断し(S313)、判断結果をXMPPによって通知する(S314)。   Upon receiving the inquiry in S312, the remote session control unit 28c of the image forming apparatus 20 determines whether the server application specified by the application ID notified in S312 is installed among the server applications of the image forming apparatus 20. Judgment is made (S313), and the judgment result is notified by XMPP (S314).

リモートメンテナンスシステム50のセッション管理手段53は、対象のサーバーアプリケーションがインストールされていることを示すS314の通知を受けると、S311によって通知されたアプリケーションIDを通知することによって、セッション通信状態テストの開始の承認をXMPPによって画像形成装置20に要求する(S315)。   Upon receiving the notification in S314 indicating that the target server application is installed, the session management means 53 of the remote maintenance system 50 notifies the application ID notified in S311 to start the session communication state test. Approval is requested to the image forming apparatus 20 by XMPP (S315).

画像形成装置20のリモートセッション制御手段28cは、S315の要求を受けると、セッション通信状態テストの開始を承認するか否かの指示を受け付けるテスト承認用画面75(図22参照。)を表示部22に表示する(S316)。   Upon receiving the request in S315, the remote session control unit 28c of the image forming apparatus 20 displays a test approval screen 75 (see FIG. 22) for receiving an instruction as to whether to approve the start of the session communication state test. (S316).

図22は、テスト承認用画面75の一例を示す図である。   FIG. 22 is a diagram showing an example of the test approval screen 75.

図22に示すテスト承認用画面75は、セッション通信状態テストの開始を承認するか否かを尋ねるメッセージ75aと、セッション通信状態テストの開始の承認の指示を受け付けるためのYESボタン75bと、セッション通信状態テストの開始の不承認の指示を受け付けるためのNOボタン75cとを備えている。画像形成装置20の利用者は、操作部21を介してYESボタン75bおよびNOボタン75cのいずれかを押すことができる。   The test approval screen 75 shown in FIG. 22 includes a message 75a for asking whether to approve the start of the session communication state test, a YES button 75b for receiving an instruction to approve the start of the session communication state test, and a session communication A NO button 75c is provided for accepting an instruction for disapproval of the start of the state test. The user of the image forming apparatus 20 can press either the YES button 75b or the NO button 75c via the operation unit 21.

図16〜図21に示すように、リモートセッション制御手段28cは、操作部21を介してYESボタン75bが押されると、セッション通信状態テストが承認された旨をXMPPによってリモートメンテナンスシステム50に通知する(S317)。   As shown in FIGS. 16 to 21, when the YES button 75b is pressed via the operation unit 21, the remote session control unit 28c notifies the remote maintenance system 50 that the session communication state test has been approved by XMPP. (S317).

なお、図示していないが、S316において表示部22に表示されたテスト承認用画面75に対して操作部21を介してNOボタン75cが押された場合、リモート通信システム10は、次のように動作する。まず、画像形成装置20のリモートセッション制御手段28cは、セッション通信状態テストが承認されなかった旨をXMPPによってリモートメンテナンスシステム50に通知する。次いで、リモートメンテナンスシステム50のセッション管理手段53は、セッション通信状態テストが承認されなかった旨を接続端末40に通知する。そして、接続端末40のリモートセッション制御手段45dは、セッション通信状態テストが承認されなかった旨を表示部42に表示する。   Although not shown, when the NO button 75c is pressed via the operation unit 21 on the test approval screen 75 displayed on the display unit 22 in S316, the remote communication system 10 Operate. First, the remote session control unit 28c of the image forming apparatus 20 notifies the remote maintenance system 50 by XMPP that the session communication state test has not been approved. Next, the session management unit 53 of the remote maintenance system 50 notifies the connection terminal 40 that the session communication state test has not been approved. Then, the remote session control unit 45d of the connection terminal 40 displays on the display unit 42 that the session communication state test has not been approved.

リモートメンテナンスシステム50のセッション管理手段53は、対象のサーバーアプリケーションがインストールされていないことを示すS314の通知を受けると、S311によって通知されたアプリケーションIDを通知することによって、このアプリケーションIDによって特定されるサーバーアプリケーションのインストールの承認をXMPPによって画像形成装置20に要求する(S318)。   Upon receiving the notification in S314 indicating that the target server application has not been installed, the session management unit 53 of the remote maintenance system 50 notifies the application ID notified in S311 and thereby specifies the application ID. The XMPP requests the image forming apparatus 20 to approve the installation of the server application (S318).

画像形成装置20のリモートセッション制御手段28cは、S318の要求を受けると、S318によって通知されたアプリケーションIDによって特定されるサーバーアプリケーションのインストールを承認するか否かの指示を受け付けるアプリケーションインストール承認用画面76(図23参照。)を表示部22に表示する(S319)。   Upon receiving the request in S318, the remote session control unit 28c of the image forming apparatus 20 accepts an instruction as to whether to approve the installation of the server application specified by the application ID notified in S318 or not. (See FIG. 23) is displayed on the display unit 22 (S319).

図23は、アプリケーションインストール承認用画面76の一例を示す図である。   FIG. 23 is a diagram showing an example of the application installation approval screen 76.

図23に示すアプリケーションインストール承認用画面76は、リモートセッションのためのサーバーアプリケーションのインストールを承認するか否かを尋ねるメッセージ76aと、サーバーアプリケーションのインストールの開始の承認の指示を受け付けるためのYESボタン76bと、サーバーアプリケーションのインストールの開始の不承認の指示を受け付けるためのNOボタン76cとを備えている。画像形成装置20の利用者は、操作部21を介してYESボタン76bおよびNOボタン76cのいずれかを押すことができる。   The application installation approval screen 76 shown in FIG. 23 includes a message 76a asking whether to approve the installation of the server application for the remote session, and a YES button 76b for receiving an instruction to approve the start of the server application installation. And a NO button 76c for accepting an instruction for disapproval of the start of installation of the server application. The user of the image forming apparatus 20 can press either the YES button 76b or the NO button 76c via the operation unit 21.

図16〜図21に示すように、リモートセッション制御手段28cは、操作部21を介してYESボタン76bが押されると、対象のサーバーアプリケーションのインストールが承認された旨をXMPPによってリモートメンテナンスシステム50に通知する(S320)。   As shown in FIGS. 16 to 21, when the YES button 76 b is pressed via the operation unit 21, the remote session control unit 28 c notifies the remote maintenance system 50 by XMPP that the installation of the target server application has been approved. Notification is made (S320).

なお、図示していないが、S319において表示部22に表示されたアプリケーションインストール承認用画面76に対して操作部21を介してNOボタン76cが押された場合、リモート通信システム10は、次のように動作する。まず、画像形成装置20のリモートセッション制御手段28cは、対象のサーバーアプリケーションのインストールが承認されなかった旨をXMPPによってリモートメンテナンスシステム50に通知する。次いで、リモートメンテナンスシステム50のセッション管理手段53は、セッション通信状態テストが承認されなかった旨を接続端末40に通知する。そして、接続端末40のリモートセッション制御手段45dは、セッション通信状態テストが承認されなかった旨を表示部42に表示する。   Although not shown, when the NO button 76c is pressed via the operation unit 21 on the application installation approval screen 76 displayed on the display unit 22 in S319, the remote communication system 10 Works. First, the remote session control unit 28c of the image forming apparatus 20 notifies the remote maintenance system 50 by XMPP that the installation of the target server application has not been approved. Next, the session management unit 53 of the remote maintenance system 50 notifies the connection terminal 40 that the session communication state test has not been approved. Then, the remote session control unit 45d of the connection terminal 40 displays on the display unit 42 that the session communication state test has not been approved.

リモートメンテナンスシステム50のセッション管理手段53は、S317またはS320の通知を受けると、セッション中継システム60に接続情報をAPI(Application Program Interface)によって要求する(S321)。   Upon receiving the notification in S317 or S320, the session management unit 53 of the remote maintenance system 50 requests connection information from the session relay system 60 by using an API (Application Program Interface) (S321).

セッション中継システム60のCloud Hub61は、S321の要求を受けると、このリモートセッションによる通信をセッション中継システム60において識別するためのセッションIDを生成し(S322)、生成したセッションIDを接続情報としてリモートメンテナンスシステム50にAPIによって通知する(S323)。セッションIDとしては、例えば、HMAC(Hash−based Message Authentication Code)などのハッシュアルゴリズムで生成された乱数列を、HTTP(Hypertext Transfer Protocol)上で取り扱えるようにBASE64エンコーディングしたものなど、ランダムな識別情報が採用される。   Upon receiving the request of S321, the Cloud Hub 61 of the session relay system 60 generates a session ID for identifying the communication by the remote session in the session relay system 60 (S322), and uses the generated session ID as connection information for remote maintenance. The system 50 is notified by an API (S323). As the session ID, for example, random identification information such as one obtained by encoding a random number sequence generated by a hash algorithm such as HMAC (Hash-based Message Authentication Code) in BASE64 encoding so as to be handled on HTTP (Hypertext Transfer Protocol) is used. Adopted.

リモートメンテナンスシステム50のセッション管理手段53は、S323においてセッションIDが通知されると、リモートセッションの有効期間をリモートメンテナンスシステム50が認識するためのトークンを生成する(S324)。   When the session ID is notified in S323, the session management unit 53 of the remote maintenance system 50 generates a token for the remote maintenance system 50 to recognize the validity period of the remote session (S324).

セッション管理手段53は、リモートセッションが承認された旨がS317において通知されていた場合、S324の処理の後、S324において生成したトークンと、S323において通知されたセッションIDとをXMPPによって画像形成装置20に通知する(S325)。   When the fact that the remote session has been approved is notified in S317, the session management unit 53, after the processing in S324, uses the XMPP to send the token generated in S324 and the session ID notified in S323 to the image forming apparatus 20. (S325).

セッション管理手段53は、対象のサーバーアプリケーションのインストールが承認された旨がS320において通知されていた場合、S324の処理の後、S324において生成したトークンと、S323において通知されたセッションIDと、対象のサーバーアプリケーションとをXMPPによって画像形成装置20に通知する(S326)。   When the notification that the installation of the target server application has been approved is received in S320, the session management unit 53, after the processing of S324, the token generated in S324, the session ID notified in S323, and the target The server application is notified to the image forming apparatus 20 by XMPP (S326).

画像形成装置20のリモートセッション制御手段28cは、S326によって送信されてきたサーバーアプリケーションを受信すると、このサーバーアプリケーションを画像形成装置20自身にインストールする(S327)。   Upon receiving the server application transmitted in S326, the remote session control unit 28c of the image forming apparatus 20 installs the server application in the image forming apparatus 20 itself (S327).

なお、S311によって接続端末40からリモートメンテナンスシステム50に通知されたアプリケーションIDによって特定されるサーバーアプリケーションを、以下においてサーバーアプリケーション28aとして説明する。   The server application specified by the application ID notified from the connection terminal 40 to the remote maintenance system 50 in S311 will be described below as the server application 28a.

リモートメンテナンスシステム50のセッション管理手段53は、S325またはS327の処理の後、トークンおよびセッションIDを取得した旨を接続端末40に通知する(S328)。   After the processing of S325 or S327, the session management unit 53 of the remote maintenance system 50 notifies the connection terminal 40 that the token and the session ID have been acquired (S328).

リモート通信システム10は、S325またはS326においてトークンおよびセッションIDが画像形成装置20に通知されると、図9に示す動作と同様の動作を実行する。したがって、画像形成装置20と、セッション中継システム60との間にHTTPベースのWebSocket接続が確立される。   When the token and the session ID are notified to the image forming apparatus 20 in S325 or S326, the remote communication system 10 performs the same operation as the operation illustrated in FIG. Therefore, an HTTP-based WebSocket connection is established between the image forming apparatus 20 and the session relay system 60.

また、リモート通信システム10は、S311の処理の後、図10に示す動作と同様の動作を実行する。したがって、接続端末40と、セッション中継システム60との間にHTTPベースのWebSocket接続が確立される。   Further, after the process of S311, the remote communication system 10 executes the same operation as the operation shown in FIG. Therefore, an HTTP-based WebSocket connection is established between the connection terminal 40 and the session relay system 60.

以降、リモート通信システム10は、図12に示す動作と同様に、セッション中継システム60によって中継される画像形成装置20および接続端末40の間のリモートセッションを介した通信を実行することができる。したがって、画像形成装置20のサーバーアプリケーション28aは、このリモートセッションを介したセッション通信状態テストを接続端末40のクライアント45cとの間で開始する(S341)。例えば、画像形成装置20のサーバーアプリケーション28aと、接続端末40のクライアント45cとは、セッション通信状態テストにおいて、セッション中継システム60によって中継されるリモートセッションを介して、まずサーバーアプリケーション28aがクライアント45cに特定の情報を送信し、次いでサーバーアプリケーション28aから特定の情報を受信したクライアント45cがサーバーアプリケーション28aに特定の情報を送信し、次いでクライアント45cから特定の情報を受信したサーバーアプリケーション28aがクライアント45cに特定の情報を送信し、・・・というように、互いに交互に複数回情報を送信し合って、複数回の情報の送受信が正しく実行されるか否かを確認する。   Thereafter, the remote communication system 10 can execute communication via the remote session between the image forming apparatus 20 and the connection terminal 40 relayed by the session relay system 60, similarly to the operation illustrated in FIG. Therefore, the server application 28a of the image forming apparatus 20 starts a session communication state test via the remote session with the client 45c of the connection terminal 40 (S341). For example, the server application 28a of the image forming apparatus 20 and the client 45c of the connection terminal 40 first specify the server application 28a to the client 45c via a remote session relayed by the session relay system 60 in a session communication state test. The client 45c that has received the specific information from the server application 28a transmits the specific information to the server application 28a, and then the server application 28a that has received the specific information from the client 45c transmits the specific information to the client 45c. The information is transmitted a plurality of times alternately with each other, such as transmitting the information, and so on, and it is confirmed whether or not the transmission and reception of the information are correctly performed a plurality of times.

なお、リモートメンテナンスシステム50のセッション管理手段53は、セッション通信状態テストのための情報の通信状況(以下「テスト通信状況」という。)を画像形成装置20およびセッション中継システム60から取得する。ここで、テスト通信状況とは、例えば、セッション通信状態テストのための情報が画像形成装置20からセッション中継システム60に向けて何時送信されたか、画像形成装置20から送信された、セッション通信状態テストのための情報がセッション中継システム60によって何時受信されたか、セッション通信状態テストのための情報がセッション中継システム60から接続端末40に向けて何時送信されたか、接続端末40から送信された、セッション通信状態テストのための情報がセッション中継システム60によって何時受信されたか、セッション通信状態テストのための情報がセッション中継システム60から画像形成装置20に向けて何時送信されたか、セッション中継システム60から送信された、セッション通信状態テストのための情報が画像形成装置20によって何時受信されたかという情報を含んでいる。   The session management unit 53 of the remote maintenance system 50 acquires the communication status of information for a session communication status test (hereinafter, referred to as “test communication status”) from the image forming apparatus 20 and the session relay system 60. Here, the test communication state refers to, for example, when the information for the session communication state test was transmitted from the image forming apparatus 20 to the session relay system 60, or the session communication state test transmitted from the image forming apparatus 20. , The information for the session communication state test was transmitted from the session relay system 60 to the connection terminal 40, and the session communication transmitted from the connection terminal 40. When the information for the state test is received by the session relay system 60, when the information for the session communication state test is transmitted from the session relay system 60 to the image forming apparatus 20, the information is transmitted from the session relay system 60. The session communication status test Information for contains information that was received any time by the image forming apparatus 20.

画像形成装置20のサーバーアプリケーション28aは、S341において開始したセッション通信状態テストが正常に終了した場合、または、S341において開始したセッション通信状態テストの開始から所定の時間が経過しても、このセッション通信状態テストが正常に終了しない場合、S341において開始したセッション通信状態テストの実行結果を表示部22への表示によって通知する(S342)。ここで、サーバーアプリケーション28aは、S341において開始したセッション通信状態テストの開始から所定の時間が経過しても、このセッション通信状態テストが正常に終了しない場合、S341において開始したセッション通信状態テストの実行結果がエラーである旨をS342において通知する。   The server application 28a of the image forming apparatus 20 performs the session communication if the session communication state test started in S341 is normally completed, or even if a predetermined time has elapsed from the start of the session communication state test started in S341. If the status test does not end normally, the execution result of the session communication status test started in S341 is notified by display on the display unit 22 (S342). Here, the server application 28a executes the session communication status test started in S341 if the session communication status test does not end normally even after a predetermined time has elapsed from the start of the session communication status test started in S341. In step S342, the result is an error.

同様に、接続端末40のクライアント45cは、S341において開始されたセッション通信状態テストが正常に終了した場合、または、S341において開始されたセッション通信状態テストの開始から所定の時間が経過しても、このセッション通信状態テストが正常に終了しない場合、S341において開始したセッション通信状態テストの実行結果を表示部42への表示によって通知する(S343)。ここで、クライアント45cは、S341において開始されたセッション通信状態テストの開始から所定の時間が経過しても、このセッション通信状態テストが正常に終了しない場合、S341において開始されたセッション通信状態テストの実行結果がエラーである旨をS343において通知する。   Similarly, the client 45c of the connection terminal 40 determines whether the session communication state test started in S341 ends normally, or even if a predetermined time has elapsed since the start of the session communication state test started in S341. If the session communication state test does not end normally, the execution result of the session communication state test started in S341 is notified by display on the display unit 42 (S343). Here, if the session communication state test does not end normally even after a predetermined time has elapsed from the start of the session communication state test started in S341, the client 45c executes the session communication state test started in S341. The fact that the execution result is an error is notified in S343.

クライアント45cは、S343によって通知した、セッション通信状態テストの実行結果がエラーである場合、リモートメンテナンスシステム50によって画像形成装置20およびセッション中継システム60から取得されたテスト通信状況を、リモートメンテナンスシステム50に要求する(S344)。リモートメンテナンスシステム50のセッション管理手段53は、S344の要求を受けると、S344において要求されたテスト通信状況を接続端末40に送信する(S345)。したがって、接続端末40のクライアント45cは、S345においてリモートメンテナンスシステム50から送信されてきたテスト通信状況を表示部42への表示によって通知する(S346)。   When the execution result of the session communication state test notified in S343 is an error, the client 45c transmits the test communication status acquired from the image forming apparatus 20 and the session relay system 60 by the remote maintenance system 50 to the remote maintenance system 50. Request (S344). Upon receiving the request in S344, the session management unit 53 of the remote maintenance system 50 transmits the test communication status requested in S344 to the connection terminal 40 (S345). Therefore, the client 45c of the connection terminal 40 notifies the test communication status transmitted from the remote maintenance system 50 in S345 by displaying it on the display unit 42 (S346).

画像形成装置20のサーバーアプリケーション28aは、S342の動作を終了すると、対象のリモートセッションのトークンおよびセッションIDをCloud Hub Agent28bに通知することによって、リモートセッションの終了をCloud Hub Agent28bに要求する(S361)。したがって、Cloud Hub Agent28bは、S361において要求されたリモートセッションの終了をセッション中継システム60にWebSocket接続によって要求する(S362)。   Upon ending the operation in S342, the server application 28a of the image forming apparatus 20 requests the Cloud Hub Agent 28b to end the remote session by notifying the token and session ID of the target remote session to the Cloud Hub Agent 28b (S361). . Therefore, the Cloud Hub Agent 28b requests the session relay system 60 to end the remote session requested in S361 through a WebSocket connection (S362).

セッション中継システム60のCloud Hub61は、S362の要求を受けると、S362において要求されたリモートセッションの終了をWeb Agent62に要求する(S363)。   Upon receiving the request in S362, the Cloud Hub 61 of the session relay system 60 requests the Web Agent 62 to end the remote session requested in S362 (S363).

また、セッション中継システム60のCloud Hub61は、S362の要求を受けると、この要求に含まれるトークンによって識別されるリモートセッションの終了をAPIによってリモートメンテナンスシステム50に要求する(S364)。   Further, upon receiving the request of S362, the Cloud Hub 61 of the session relay system 60 requests the remote maintenance system 50 to terminate the remote session identified by the token included in the request (S364).

リモートメンテナンスシステム50のセッション管理手段53は、S364の要求を受けると、リモートセッションの終了の要求を受け付けた旨をセッション中継システム60にAPIによって通知する(S365)。   Upon receiving the request in S364, the session management unit 53 of the remote maintenance system 50 notifies the session relay system 60 of the reception of the request for terminating the remote session by using the API (S365).

セッション中継システム60のCloud Hub61は、S365においてリモートセッションの終了の要求の受け付けが通知されると、画像形成装置20とのセッションを終了したことを示すログをセッション管理データベース64に記憶し(S366)、S366において記憶したログをトークンとともにリモートメンテナンスシステム50にAPIによって通知する(S367)。したがって、リモートメンテナンスシステム50のセッション管理手段53は、S367において通知されたログを、S367において通知されたトークンによって識別されるリモートセッションのログとして管理し(S368)、このログを管理した旨をセッション中継システム60にAPIによって返信する(S369)。   The Cloud Hub 61 of the session relay system 60 stores the log indicating that the session with the image forming apparatus 20 has been completed in the session management database 64 when notified of the reception of the request for ending the remote session in S365 (S366). Then, the log stored in S366 is notified to the remote maintenance system 50 together with the token by the API (S367). Therefore, the session management means 53 of the remote maintenance system 50 manages the log notified in S367 as a log of the remote session identified by the token notified in S367 (S368), and indicates that the log has been managed. An API is returned to the relay system 60 (S369).

セッション中継システム60のCloud Hub61は、S369における返信を受けると、画像形成装置20と、セッション中継システム60とのWebSocket接続の終了を画像形成装置20に通知する(S370)。   Upon receiving the reply in S369, the Cloud Hub 61 of the session relay system 60 notifies the image forming apparatus 20 of the termination of the WebSocket connection between the image forming apparatus 20 and the session relay system 60 (S370).

画像形成装置20のCloud Hub Agent28bは、S370の通知を受けると、自身の動作を終了する。   Upon receiving the notification in S370, the Cloud Hub Agent 28b of the image forming apparatus 20 ends its operation.

セッション中継システム60のWeb Agent62は、S363の要求を受けると、接続端末40と、セッション中継システム60とのWebSocket接続の終了を接続端末40に通知する(S391)。   Upon receiving the request in S363, the Web Agent 62 of the session relay system 60 notifies the connection terminal 40 and the connection terminal 40 of the end of the WebSocket connection with the session relay system 60 (S391).

接続端末40のクライアント45cは、S391の通知を受けると、自身の動作を終了する。   Upon receiving the notification in S391, the client 45c of the connection terminal 40 ends its operation.

セッション中継システム60のWeb Agent62は、S391の処理の後、接続端末40とのセッションを終了したことをCloud Hub61に通知する(S392)。   After the processing of S391, the Web Agent 62 of the session relay system 60 notifies the Cloud Hub 61 that the session with the connection terminal 40 has been completed (S392).

セッション中継システム60のCloud Hub61は、接続端末40とのセッションを終了したことがS392において通知されると、接続端末40とのセッションを終了したことを示すログをセッション管理データベース64に記憶し(S393)、S393において記憶したログをトークンとともにリモートメンテナンスシステム50にAPIによって通知する(S394)。したがって、リモートメンテナンスシステム50のセッション管理手段53は、S394において通知されたログを、S394において通知されたトークンによって識別されるリモートセッションのログとして管理し(S395)、このログを管理した旨をセッション中継システム60にAPIによって返信する(S396)。   Upon being notified in S392 that the session with the connection terminal 40 has ended, the Cloud Hub 61 of the session relay system 60 stores a log indicating that the session with the connection terminal 40 has ended in the session management database 64 (S393). ), The log stored in S393 is notified to the remote maintenance system 50 together with the token by the API (S394). Therefore, the session management unit 53 of the remote maintenance system 50 manages the log notified in S394 as a log of the remote session identified by the token notified in S394 (S395), and indicates that the log has been managed in the session. A reply is sent to the relay system 60 by API (S396).

セッション中継システム60のCloud Hub61は、S396における返信を受けると、リモートメンテナンスシステム50から返信を受けた旨をWeb Agent62に通知する(S397)。   Upon receiving the reply in S396, the Cloud Hub 61 of the session relay system 60 notifies the Web Agent 62 that the reply has been received from the remote maintenance system 50 (S397).

画像形成装置20のサーバーアプリケーション28aは、操作部21を介してYESボタン472が押されると、リモートセッションの切断の承認の指示を受け付けた旨をXMPPによってリモートメンテナンスシステム50に通知する(S411)。   When the YES button 472 is pressed via the operation unit 21, the server application 28a of the image forming apparatus 20 notifies the remote maintenance system 50 of the acceptance of the instruction to approve the disconnection of the remote session by XMPP (S411).

リモートメンテナンスシステム50のセッション管理手段53は、S411の通知を受けた場合に、S394において通知されるログを未だ受信していないとき、対象のリモートセッションのトークンおよびセッションIDをセッション中継システム60に通知することによって、リモートセッションの終了をセッション中継システム60に要求する(S412)。したがって、セッション中継システム60のCloud Hub61は、S412において要求されたリモートセッションの終了をWeb Agent62に要求する(S413)。   The session management unit 53 of the remote maintenance system 50 notifies the session relay system 60 of the token and the session ID of the target remote session if the log notified in S394 has not yet been received when the notification in S411 is received. By doing so, it requests the session relay system 60 to end the remote session (S412). Therefore, the Cloud Hub 61 of the session relay system 60 requests the Web Agent 62 to end the remote session requested in S412 (S413).

リモート通信システム10は、S413の処理の後、上述したS391〜S397の処理と同様の処理を実行する。   After the processing in S413, the remote communication system 10 executes the same processing as the processing in S391 to S397 described above.

次いで、セッション中継システム60のWeb Agent62は、リモートセッションの終了をCloud Hub61に通知する(S414)。したがって、セッション中継システム60のCloud Hub61は、リモートセッションの終了をリモートメンテナンスシステム50に通知する(S415)。   Next, the Web Agent 62 of the session relay system 60 notifies the end of the remote session to the Cloud Hub 61 (S414). Therefore, the Cloud Hub 61 of the session relay system 60 notifies the remote maintenance system 50 of the end of the remote session (S415).

リモートメンテナンスシステム50のセッション管理手段53は、S415の通知を受けると、リモートセッションの終了をXMPPによって画像形成装置20に通知する(S416)。   Upon receiving the notification in S415, the session management unit 53 of the remote maintenance system 50 notifies the image forming apparatus 20 of the end of the remote session by XMPP (S416).

なお、リモートメンテナンスシステム50のセッション管理手段53は、S411の通知を受けた場合に、S394において通知されるログを既に受信しているとき、上述したS412〜S415の処理を実行しない。   Note that, when the session management unit 53 of the remote maintenance system 50 receives the notification of S411 and has already received the log notified in S394, the session management unit 53 does not execute the processes of S412 to S415 described above.

セッション管理手段53がS411の通知を受けた場合にS394において通知されるログを未だ受信していない場合にS412〜S415の処理が実行される理由は、画像形成装置20のサーバーアプリケーション28aがS361においてリモートセッションの終了をCloud Hub Agent28bに要求したことによるセッション中継システム60のCloud Hub61からのログの通知(S394)と、画像形成装置20のサーバーアプリケーション28aからのXMPP経由でのリモートセッションの切断の承認の指示の受け付けの通知(S411)とが非同期で実行されるために、何れが先に実行されるか定まらないからである。   If the session management unit 53 receives the notification in S411 and has not yet received the log notified in S394, the processing in S412 to S415 is executed because the server application 28a of the image forming apparatus 20 determines in S361 Notification of the log from the Cloud Hub 61 of the session relay system 60 by requesting the end of the remote session to the Cloud Hub Agent 28b (S394), and approval of disconnection of the remote session via the XMPP from the server application 28a of the image forming apparatus 20 This is because the notification of the reception of the instruction (S411) is executed asynchronously, and it is not determined which is executed first.

なお、リモートメンテナンスシステム50のセッション管理手段53は、画像形成装置20およびセッション中継システム60の間のセッションの終了を示すログがセッション中継システム60から通知されてきたことと、接続端末40およびセッション中継システム60の間のセッションの終了を示すログがセッション中継システム60から通知されてきたこととを両方確認した場合に、セッション中継システム60を介した画像形成装置20および接続端末40のリモートセッションが終了したと判断する。セッション管理手段53は、セッション中継システム60を介した画像形成装置20および接続端末40のリモートセッションが終了していないと判断している場合、セッション中継システム60を介した画像形成装置20および接続端末40の新たなリモートセッションの確立を許可しない。   The session management unit 53 of the remote maintenance system 50 determines that the log indicating the end of the session between the image forming apparatus 20 and the session relay system 60 has been notified from the session relay system 60, and that the connection terminal 40 and the session relay When it is confirmed that the log indicating the end of the session between the systems 60 has been notified from the session relay system 60, the remote session of the image forming apparatus 20 and the connection terminal 40 via the session relay system 60 ends. Judge that you have done. If the session management unit 53 determines that the remote session between the image forming apparatus 20 and the connection terminal 40 via the session relay system 60 has not ended, the image management apparatus 53 and the connection terminal via the session relay system 60 Do not allow the establishment of 40 new remote sessions.

画像形成装置20の制御部28は、サーバーアプリケーション28aがS327においてインストールされたものである場合、Cloud Hub Agent28bが終了するとともに、S416の通知を受けた後、サーバーアプリケーション28aをアンインストールする(S371)。   If the server application 28a has been installed in S327, the control unit 28 of the image forming apparatus 20 ends the Cloud Hub Agent 28b and, after receiving the notification in S416, uninstalls the server application 28a (S371). .

以上に説明したように、リモート通信システム10において、画像形成装置20は、セッション中継システム60との間にセッションIDを使用するWebSocket接続を確立し(S171〜S180)、接続端末40は、セッション中継システム60との間にセッションIDを使用するWebSocket接続を確立し(S201〜S214)、セッション中継システム60は、接続端末40との間に確立された接続と、画像形成装置20との間に確立された接続とをセッションIDによって関連付けることによってリモートセッションを中継する(S231〜S243)。この構成により、リモート通信システム10は、画像形成装置20が所属するネットワークの外部に存在する接続端末のうち、リモートメンテナンスシステム50からセッションIDが通知された接続端末40のみが、セッション中継システム60によって中継される画像形成装置20とのリモートセッションを確立するので、画像形成装置20が所属するネットワークの外部に存在する接続端末40から画像形成装置20を制御する場合のセキュリティーを向上することができる。   As described above, in the remote communication system 10, the image forming apparatus 20 establishes a WebSocket connection using the session ID with the session relay system 60 (S171 to S180), and the connection terminal 40 A WebSocket connection using a session ID is established with the system 60 (S201 to S214). The session relay system 60 establishes a connection between the connection terminal 40 and the image forming apparatus 20. The remote session is relayed by associating the established connection with the session ID (S231 to S243). With this configuration, the remote communication system 10 is configured such that only the connection terminal 40 whose session ID is notified from the remote maintenance system 50 among the connection terminals existing outside the network to which the image forming apparatus 20 belongs, is transmitted by the session relay system 60. Since the remote session with the relayed image forming apparatus 20 is established, security when the image forming apparatus 20 is controlled from the connection terminal 40 existing outside the network to which the image forming apparatus 20 belongs can be improved.

リモート通信システム10において、画像形成装置20およびセッション中継システム60の間に確立されるWebSocket接続によって使用されるセッションIDと、接続端末40およびセッション中継システム60の間に確立されるWebSocket接続によって使用されるセッションIDとは、同一のセッションIDである。この構成により、リモート通信システム10は、互いに異なる2つのセッションIDをセッション中継システム60において関連付ける必要がないので、セッション中継システム60におけるセッションIDの処理を簡略化することができる。なお、画像形成装置20およびセッション中継システム60の間に確立されるWebSocket接続によって使用されるセッションIDと、接続端末40およびセッション中継システム60の間に確立されるWebSocket接続によって使用されるセッションIDとは、セッション中継システム60において互いに関連付けられれば、互いに異なっていても良い。   In the remote communication system 10, a session ID used by a WebSocket connection established between the image forming apparatus 20 and the session relay system 60, and a session ID used by a WebSocket connection established between the connection terminal 40 and the session relay system 60. Are the same session ID. With this configuration, the remote communication system 10 does not need to associate two different session IDs in the session relay system 60, so that the processing of the session ID in the session relay system 60 can be simplified. The session ID used by the WebSocket connection established between the image forming apparatus 20 and the session relay system 60 and the session ID used by the WebSocket connection established between the connection terminal 40 and the session relay system 60 May be different from each other as long as they are associated with each other in the session relay system 60.

リモート通信システム10において、セッション中継システム60および接続端末40の間に確立されるWebSocket接続と、セッション中継システム60および画像形成装置20の間に確立されるWebSocket接続との少なくとも1つは、SSL(Secure Sockets Layer)などの暗号化通信の接続であっても良い。この構成により、リモート通信システム10は、セッション中継システム60によって中継される、接続端末40および画像形成装置20の間のリモートセッションの経路の少なくとも一部が暗号化されるので、画像形成装置20に対してクラッキングなどの不正利用が発生することを抑えることができる。   In the remote communication system 10, at least one of a WebSocket connection established between the session relay system 60 and the connection terminal 40 and a WebSocket connection established between the session relay system 60 and the image forming apparatus 20 are SSL ( The connection may be an encrypted communication connection such as Secure Sockets Layer. With this configuration, at least a part of the path of the remote session between the connection terminal 40 and the image forming apparatus 20 that is relayed by the session relay system 60 is encrypted. On the other hand, occurrence of unauthorized use such as cracking can be suppressed.

リモート通信システム10において、リモートメンテナンスシステム50は、接続端末40の利用者がリモートメンテナンスシステム50にログインしている場合に、接続端末40からリモートセッションの開始の要求(S141)を受け付け、接続端末40からリモートセッションの開始の要求を受け付けなかった場合、画像形成装置20へのセッションIDの通知(S149)と、接続端末40へのセッションIDの通知(S202)とを実行しない。この構成により、リモート通信システム10は、接続端末40の利用者がリモートメンテナンスシステム50にログインすることができる場合にのみ、セッション中継システム60によって中継される、接続端末40および画像形成装置20の間のリモートセッションが確立されるので、このリモートセッションのセキュリティーを向上することができる。   In the remote communication system 10, when the user of the connection terminal 40 is logged in to the remote maintenance system 50, the remote maintenance system 50 receives a request for starting a remote session (S141) from the connection terminal 40, and If the request for starting the remote session is not received from the MFP, the notification of the session ID to the image forming apparatus 20 (S149) and the notification of the session ID to the connection terminal 40 (S202) are not executed. With this configuration, the remote communication system 10 allows the connection terminal 40 and the image forming apparatus 20 to be relayed by the session relay system 60 only when the user of the connection terminal 40 can log in to the remote maintenance system 50. Since the remote session is established, the security of the remote session can be improved.

リモート通信システム10において、リモートメンテナンスシステム50は、画像形成装置20の利用者からリモートセッションの開始が承認されなかった場合、画像形成装置20へのセッションIDの通知(S149)と、接続端末40へのセッションIDの通知(S202)とを実行しない。この構成により、リモート通信システム10は、画像形成装置20の利用者からリモートセッションの開始が承認された場合にのみ、セッション中継システム60によって中継される、接続端末40および画像形成装置20の間のリモートセッションが確立されるので、このリモートセッションのセキュリティーを向上することができる。なお、リモートメンテナンスシステム50は、画像形成装置20の利用者からリモートセッションの開始が承認されなかった場合、画像形成装置20へのセッションIDの通知と、接続端末40へのセッションIDの通知とのいずれか1つを実行しない構成でも良い。   In the remote communication system 10, when the user of the image forming apparatus 20 does not approve the start of the remote session, the remote maintenance system 50 notifies the image forming apparatus 20 of the session ID (S 149) and sends the notification to the connection terminal 40. Is not executed (S202). With this configuration, the remote communication system 10 allows the connection between the connection terminal 40 and the image forming apparatus 20 to be relayed by the session relay system 60 only when the user of the image forming apparatus 20 approves the start of the remote session. Since the remote session is established, the security of the remote session can be improved. If the user of the image forming apparatus 20 does not approve the start of the remote session, the remote maintenance system 50 sends a notification of the session ID to the image forming apparatus 20 and a notification of the session ID to the connection terminal 40. A configuration in which any one is not performed may be adopted.

リモート通信システム10において、セッション中継システム60は、リモートメンテナンスシステム50からセッションIDが要求される(S145)度にセッションIDを変更する(S146)。この構成により、リモート通信システム10は、セッション中継システム60によって中継される、接続端末40および画像形成装置20の間のリモートセッションが確立する度にセッションIDが変更されるので、このリモートセッションのセキュリティーを向上することができる。   In the remote communication system 10, the session relay system 60 changes the session ID every time a session ID is requested from the remote maintenance system 50 (S145) (S146). With this configuration, the remote communication system 10 changes the session ID every time a remote session between the connection terminal 40 and the image forming apparatus 20 is established, which is relayed by the session relay system 60. Can be improved.

リモート通信システム10は、画像形成装置20が所属するネットワークの外部に存在する接続端末40に、画像形成装置20に表示される画面と同一の画面を表示することによって、この接続端末40から画像形成装置20を操作するので、画像形成装置20が所属するネットワークの外部に存在する接続端末40から画像形成装置20を低コストで簡便に操作することができる。例えば、接続端末40は、画像形成装置20の設定画面を表示部42に表示することによって、画像形成装置20のアドレス帳の設定など、画像形成装置20に対して各種の設定を、接続端末40の利用者に実行させることができる。また、接続端末40は、例えば、画像形成装置20の各種の情報の確認画面を表示部42に表示することによって、画像形成装置20に発生したエラーの確認、画像形成装置20で印刷した枚数の確認、画像形成装置20におけるトナーの残量など、画像形成装置20の各種の情報の確認を、接続端末40の利用者に実行させることができる。また、接続端末40は、例えば、画像形成装置20へのソフトウェアのインストール画面を表示部42に表示することによって、画像形成装置20へのファームウェアのインストール、画像形成装置20へのアプリケーションのインストールなど、画像形成装置20への各種のソフトウェアのインストールを、接続端末40の利用者に実行させることができる。   The remote communication system 10 displays the same screen as the screen displayed on the image forming apparatus 20 on the connecting terminal 40 existing outside the network to which the image forming apparatus 20 belongs, so that the image forming apparatus 20 Since the apparatus 20 is operated, the image forming apparatus 20 can be easily operated at low cost from the connection terminal 40 existing outside the network to which the image forming apparatus 20 belongs. For example, by displaying the setting screen of the image forming apparatus 20 on the display unit 42, the connection terminal 40 can perform various settings for the image forming apparatus 20, such as setting of an address book of the image forming apparatus 20, and the like. Of users can be executed. In addition, the connection terminal 40 displays, for example, a confirmation screen of various information of the image forming apparatus 20 on the display unit 42, thereby confirming an error that has occurred in the image forming apparatus 20 and checking the number of sheets printed by the image forming apparatus 20. The user of the connection terminal 40 can cause the user of the connection terminal 40 to check and check various information of the image forming apparatus 20 such as the remaining amount of toner in the image forming apparatus 20. In addition, the connection terminal 40 displays, for example, a screen for installing software on the image forming apparatus 20 on the display unit 42, thereby installing firmware on the image forming apparatus 20, installing an application on the image forming apparatus 20, and the like. The user of the connection terminal 40 can install various software on the image forming apparatus 20.

なお、接続端末40は、リモートセッションによって画像形成装置20内の種々のアプリケーションと通信することができるので、画像形成装置20に対するメンテナンス以外の様々な機能を実現することができる。   Since the connection terminal 40 can communicate with various applications in the image forming apparatus 20 through a remote session, various functions other than maintenance for the image forming apparatus 20 can be realized.

リモート通信システム10は、セッション中継システム60によって中継される画像形成装置20および接続端末40の間のリモートセッションを介した通信状態のテスト、すなわち、セッション通信状態テストが画像形成装置20および接続端末40の間で実行される(S341)ので、セッション中継システム60によって中継されるリモートセッションのエンドツーエンドの通信信頼性を担保することができ、安定した品質のリモートセッションを確立することができる。例えば、リモート通信システム10は、本格的なリモートセッションが確立される前に、セッション通信状態テストが画像形成装置20および接続端末40の間で実行されるので、セッション通信状態テストの実行結果がエラーである場合に、本格的に確立されたリモートセッションが切断されるとき、このリモートセッションが切断される原因が、このリモートセッションを利用するためのアプリケーションに不具合があることではなく、画像形成装置20が所属するネットワークが不安定であることである可能性を利用者に認識させることができる。   The remote communication system 10 performs a test of a communication state via a remote session between the image forming apparatus 20 and the connection terminal 40 relayed by the session relay system 60, that is, the session communication state test is performed by the image forming apparatus 20 and the connection terminal 40. (S341), the end-to-end communication reliability of the remote session relayed by the session relay system 60 can be ensured, and a remote session of stable quality can be established. For example, in the remote communication system 10, the session communication state test is executed between the image forming apparatus 20 and the connection terminal 40 before the full-scale remote session is established. In this case, when the remote session established in earnest is disconnected, the cause of the disconnection of the remote session is not that the application for using the remote session has a problem, but the image forming apparatus 20. The user can be made aware of the possibility that the network to which he belongs is unstable.

リモート通信システム10は、セッション中継システム60によって中継される画像形成装置20および接続端末40の間のリモートセッションを介した通信状態のセッション通信状態テストの実行結果がエラーである場合、このセッション通信状態テストのための情報の、画像形成装置20およびセッション中継システム60における通信状況を通知する(S346)ので、リモートセッションの経路におけるいずれの箇所に問題があるかを利用者に認識させることができる。例えば、リモート通信システム10は、画像形成装置20が所属するLANと、インターネットとの接続箇所に問題がある場合、そのことを利用者に認識させることができる。   If the execution result of the session communication state test of the communication state via the remote session between the image forming apparatus 20 and the connection terminal 40 relayed by the session relay system 60 is an error, the remote communication system 10 Since the communication status of the information for the test in the image forming apparatus 20 and the session relay system 60 is notified (S346), it is possible for the user to recognize which part of the path of the remote session has a problem. For example, the remote communication system 10 can cause a user to recognize that there is a problem in a connection point between the LAN to which the image forming apparatus 20 belongs and the Internet.

リモート通信システム10において、セッション通信状態テストのために画像形成装置20およびセッション中継システム60の間に確立されるWebSocket接続によって使用されるセッションIDと、セッション通信状態テストのために接続端末40およびセッション中継システム60の間に確立されるWebSocket接続によって使用されるセッションIDとは、同一のセッションIDである。この構成により、リモート通信システム10は、セッション通信状態テストのために画像形成装置20およびセッション中継システム60の間に確立されるWebSocket接続によって使用されるセッションIDと、セッション通信状態テストのために接続端末40およびセッション中継システム60の間に確立されるWebSocket接続によって使用されるセッションIDとをセッション中継システム60において関連付ける必要がないので、セッション中継システム60におけるセッションIDの処理を簡略化することができる。なお、セッション通信状態テストのために画像形成装置20およびセッション中継システム60の間に確立されるWebSocket接続によって使用されるセッションIDと、セッション通信状態テストのために接続端末40およびセッション中継システム60の間に確立されるWebSocket接続によって使用されるセッションIDとは、セッション中継システム60において互いに関連付けられれば、互いに異なっていても良い。   In the remote communication system 10, the session ID used by the WebSocket connection established between the image forming apparatus 20 and the session relay system 60 for the session communication state test, and the connection terminal 40 and the session for the session communication state test The session ID used by the WebSocket connection established between the relay systems 60 is the same session ID. With this configuration, the remote communication system 10 connects the session ID used by the WebSocket connection established between the image forming apparatus 20 and the session relay system 60 for the session communication state test, and the session ID for the session communication state test. Since there is no need to associate the session ID used by the WebSocket connection established between the terminal 40 and the session relay system 60 with the session relay system 60, the processing of the session ID in the session relay system 60 can be simplified. . Note that the session ID used by the WebSocket connection established between the image forming apparatus 20 and the session relay system 60 for the session communication state test, and the connection terminal 40 and the session relay system 60 for the session communication state test. The session ID used by the WebSocket connection established therebetween may be different from each other as long as they are associated with each other in the session relay system 60.

リモート通信システム10は、セッション中継システム60によって中継される画像形成装置および接続端末の間のリモートセッションを介した通信状態のセッション通信状態テストの開始が接続端末によって要求された場合に、このセッション通信状態テストを実行するためのサーバーアプリケーションを画像形成装置にインストールさせる(S327)ので、このサーバーアプリケーションが存在しない画像形成装置と、接続端末との間に確立されるリモートセッションを介した通信状態のセッション通信状態テストを実行することができる。   The remote communication system 10, when requested by the connection terminal to start a session communication state test of the communication state via the remote session between the image forming apparatus and the connection terminal relayed by the session relay system 60, Since the server application for executing the state test is installed in the image forming apparatus (S327), the session in the communication state via the remote session established between the image forming apparatus having no server application and the connection terminal. A communication status test can be performed.

リモート通信システム10は、セッション通信状態テストを実行するためのサーバーアプリケーションのインストールが画像形成装置の利用者からアプリケーションインストール承認用画面76によって承認された場合にのみ、セッション通信状態テストを実行するためのサーバーアプリケーションを画像形成装置にインストールさせるので、セッション通信状態テストのセキュリティーを向上することができる。   The remote communication system 10 executes the session communication state test only when the installation of the server application for executing the session communication state test is approved by the user of the image forming apparatus on the application installation approval screen 76. Since the server application is installed in the image forming apparatus, the security of the session communication state test can be improved.

リモート通信システム10は、セッション通信状態テストを実行するためのサーバーアプリケーションのインストールの画像形成装置の利用者からの承認を、画像形成装置の利用者からのセッション通信状態テストの開始の承認として扱うので、画像形成装置の利用者の負担を軽減することができる。なお、リモート通信システム10は、セッション通信状態テストを実行するためのサーバーアプリケーションのインストールの画像形成装置の利用者からの承認を受け付けた場合でも、画像形成装置の利用者からのセッション通信状態テストの開始の承認も受け付ける構成でも良い。   The remote communication system 10 treats the approval of the user of the image forming apparatus of the installation of the server application for executing the session communication state test as the approval of the start of the session communication state test from the user of the image forming apparatus. Thus, the burden on the user of the image forming apparatus can be reduced. Note that even when the remote communication system 10 receives the approval of the user of the image forming apparatus for installing the server application for performing the session communication state test, the remote communication system 10 performs the session communication state test from the user of the image forming apparatus. A configuration in which start approval is also accepted may be used.

リモート通信システム10は、セッション通信状態テストを実行するためのサーバーアプリケーションが、このセッション通信状態テストの開始の際に画像形成装置にインストールされ、このセッション通信状態テストの終了の際に画像形成装置からアンインストールされる(S371)ので、画像形成装置の記憶容量を必要以上に使用することを抑えることができる。   In the remote communication system 10, a server application for executing a session communication state test is installed on the image forming apparatus at the start of the session communication state test, and the server application is transmitted from the image forming apparatus at the end of the session communication state test. Since the program is uninstalled (S371), it is possible to prevent the storage capacity of the image forming apparatus from being used more than necessary.

リモート通信システム10は、本実施の形態において、図7に示すようにリモートメンテナンスを実行することができる。しかしながら、リモート通信システム10は、図7に示すようなリモートメンテナンスを実行することができなくても良い。   In this embodiment, the remote communication system 10 can execute remote maintenance as shown in FIG. However, the remote communication system 10 may not be able to execute the remote maintenance as shown in FIG.

リモート通信システム10は、本実施の形態において、セッション管理手段がリモートメンテナンスシステム50によって実現されている。しかしながら、リモート通信システム10は、セッション管理手段が、セッション中継システム60など、リモートメンテナンスシステム50以外のシステムによって実現されても良い。   In the remote communication system 10, in the present embodiment, the session management means is realized by the remote maintenance system 50. However, in the remote communication system 10, the session management means may be realized by a system other than the remote maintenance system 50, such as the session relay system 60.

10 リモート通信システム
20 画像形成装置
28a サーバーアプリケーション(アプリケーション)
40 接続端末(電子機器)
53 セッション管理手段
60 セッション中継システム
Reference Signs List 10 remote communication system 20 image forming device 28a server application (application)
40 connection terminal (electronic equipment)
53 session management means 60 session relay system

Claims (14)

画像形成装置と、
前記画像形成装置が所属するネットワークの外部に存在する電子機器と、
前記画像形成装置および前記電子機器の間のセッションを中継するセッション中継システムと
を備え、
前記セッション中継システムは、前記画像形成装置との間に確立された接続と、前記電子機器との間に確立された接続とを関連付けることによって、前記セッションを中継し、
前記画像形成装置および前記電子機器は、前記セッションを介した通信状態のテストを実行することを特徴とするリモート通信システム。
An image forming apparatus;
An electronic device existing outside the network to which the image forming apparatus belongs;
A session relay system that relays a session between the image forming apparatus and the electronic device,
The session relay system relays the session by associating a connection established with the image forming apparatus with a connection established with the electronic device,
The remote communication system, wherein the image forming apparatus and the electronic device execute a test of a communication state through the session.
前記セッションを管理するセッション管理手段を備え、
前記セッション中継システムは、前記セッションによる通信を前記セッション中継システムにおいて識別するための第1のセッションIDおよび第2のセッションIDを前記セッション管理手段に通知し、
前記セッション管理手段は、前記電子機器への前記第1のセッションIDの通知と、前記画像形成装置への前記第2のセッションIDの通知とを実行し、
前記電子機器は、前記セッション中継システムとの間に前記第1のセッションIDを使用する接続を確立し、
前記画像形成装置は、前記セッション中継システムとの間に前記第2のセッションIDを使用する接続を確立し、
前記セッション中継システムは、前記電子機器との間に確立された接続と、前記画像形成装置との間に確立された接続とを前記第1のセッションIDおよび前記第2のセッションIDによって関連付けることによって、前記セッションを中継することを特徴とする請求項1に記載のリモート通信システム。
Comprising session management means for managing the session,
The session relay system notifies the session management unit of a first session ID and a second session ID for identifying communication by the session in the session relay system,
The session management unit executes a notification of the first session ID to the electronic device and a notification of the second session ID to the image forming apparatus,
The electronic device establishes a connection using the first session ID with the session relay system;
The image forming apparatus establishes a connection using the second session ID with the session relay system;
The session relay system associates a connection established with the electronic device with a connection established with the image forming apparatus by using the first session ID and the second session ID. The remote communication system according to claim 1, wherein the session is relayed.
前記セッション管理手段は、前記テストの開始が前記電子機器によって要求された場合に、前記第1のセッションIDとしての第1のテストIDと、前記第2のセッションIDとしての第2のテストIDとを前記セッション中継システムに要求し、
前記画像形成装置および前記電子機器は、前記電子機器および前記セッション中継システムの間に確立された接続と、前記画像形成装置および前記セッション中継システムの間に確立された接続とが前記第1のテストIDおよび前記第2のテストIDによって関連付けられることによって、前記セッションが前記セッション中継システムによって中継された場合に、このセッションを介した通信状態の前記テストを実行することを特徴とする請求項2に記載のリモート通信システム。
The session management means, when the start of the test is requested by the electronic device, a first test ID as the first session ID, a second test ID as the second session ID, To the session relay system,
The image forming apparatus and the electronic device may be configured such that a connection established between the electronic device and the session relay system and a connection established between the image forming device and the session relay system are the first test. 3. The method according to claim 2, wherein the test of the communication state through the session is performed when the session is relayed by the session relay system by being associated by an ID and the second test ID. A remote communication system as described.
前記画像形成装置および前記電子機器の少なくとも一方は、前記テストの実行結果を通知することを特徴とする請求項1または請求項2に記載のリモート通信システム。   The remote communication system according to claim 1, wherein at least one of the image forming apparatus and the electronic device notifies a result of the execution of the test. 前記電子機器は、前記テストのための情報の通信状況を通知することを特徴とする請求項1または請求項2に記載のリモート通信システム。   The remote communication system according to claim 1, wherein the electronic device notifies a communication status of the information for the test. 前記電子機器は、前記テストの実行結果がエラーである場合、前記通信状況を通知することを特徴とする請求項5に記載のリモート通信システム。   The remote communication system according to claim 5, wherein the electronic device notifies the communication status when an execution result of the test is an error. 前記電子機器は、前記画像形成装置および前記セッション中継システムから取得された前記通信状況を通知することを特徴とする請求項5または請求項6に記載のリモート通信システム。   7. The remote communication system according to claim 5, wherein the electronic device notifies the communication status acquired from the image forming apparatus and the session relay system. 8. 前記通信状況は、
前記テストのための情報が前記画像形成装置から前記セッション中継システムに向けて何時送信されたかという情報と、
前記画像形成装置から送信された、前記テストのための情報が前記セッション中継システムによって何時受信されたかという情報と
を含むことを特徴とする請求項7に記載のリモート通信システム。
The communication status is
Information on when the information for the test was transmitted from the image forming apparatus to the session relay system,
The remote communication system according to claim 7, further comprising: information indicating when the information for the test is received by the session relay system, the information being transmitted from the image forming apparatus.
前記通信状況は、
前記テストのための情報が前記セッション中継システムから前記画像形成装置に向けて何時送信されたかという情報と、
前記セッション中継システムから送信された、前記テストのための情報が前記画像形成装置によって何時受信されたかという情報と
を含むことを特徴とする請求項7または請求項8に記載のリモート通信システム。
The communication status is
Information on when the information for the test was transmitted from the session relay system to the image forming apparatus,
The remote communication system according to claim 7, further comprising: information indicating when the information for the test is received by the image forming apparatus, the information being transmitted from the session relay system.
前記通信状況は、
前記テストのための情報が前記セッション中継システムから前記電子機器に向けて何時送信されたかという情報と、
前記電子機器から送信された、前記テストのための情報が前記セッション中継システムによって何時受信されたかという情報と
の少なくとも1つを含むことを特徴とする請求項7から請求項9までのいずれかに記載のリモート通信システム。
The communication status is
Information on when the information for the test was transmitted from the session relay system to the electronic device,
10. The information according to claim 7, further comprising at least one of information transmitted from the electronic device and indicating when the information for the test was received by the session relay system. A remote communication system as described.
前記セッション管理手段は、前記テストの開始が前記電子機器によって要求された場合に、このテストを実行するためのアプリケーションを前記画像形成装置にインストールさせることを特徴とする請求項2または請求項3に記載のリモート通信システム。   4. The image forming apparatus according to claim 2, wherein the session management unit causes an application for executing the test to be installed in the image forming apparatus when the start of the test is requested by the electronic device. A remote communication system as described. 前記画像形成装置は、前記セッションが終了する場合に前記アプリケーションをアンインストールすることを特徴とする請求項11に記載のリモート通信システム。   The remote communication system according to claim 11, wherein the image forming apparatus uninstalls the application when the session ends. 前記第1のテストIDおよび前記第2のテストIDは、同一のテストIDであることを特徴とする請求項3に記載のリモート通信システム。   The remote communication system according to claim 3, wherein the first test ID and the second test ID are the same test ID. 前記テストは、前記画像形成装置および前記電子機器が互いに交互に複数回情報を送信し合って、複数回の情報の送受信が正しく実行されるか否かを確認するものであることを特徴とする請求項1から請求項13までのいずれかに記載のリモート通信システム。   The test is characterized in that the image forming apparatus and the electronic device alternately transmit information a plurality of times to each other, and confirm whether the information transmission and reception are correctly performed a plurality of times. The remote communication system according to claim 1.
JP2019189424A 2019-10-16 2019-10-16 Remote communication system Active JP6754105B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019189424A JP6754105B2 (en) 2019-10-16 2019-10-16 Remote communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019189424A JP6754105B2 (en) 2019-10-16 2019-10-16 Remote communication system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017128665A Division JP6607361B2 (en) 2017-06-30 2017-06-30 Remote communication system

Publications (2)

Publication Number Publication Date
JP2020024730A true JP2020024730A (en) 2020-02-13
JP6754105B2 JP6754105B2 (en) 2020-09-09

Family

ID=69618809

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019189424A Active JP6754105B2 (en) 2019-10-16 2019-10-16 Remote communication system

Country Status (1)

Country Link
JP (1) JP6754105B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004171400A (en) * 2002-11-21 2004-06-17 Canon Inc Information processor for performing maintenance management
WO2005013567A1 (en) * 2003-08-05 2005-02-10 Fujitsu Limited Communication interval quality analysis system
JP2008152646A (en) * 2006-12-19 2008-07-03 Canon Inc Remote maintenance system
JP2011242984A (en) * 2010-05-18 2011-12-01 Canon Inc Image forming apparatus and method therefor
US20150301765A1 (en) * 2014-04-21 2015-10-22 Canon Kabushiki Kaisha Communication system, image processing apparatus, control method for image processing apparatus, and storage medium
JP2017054458A (en) * 2015-09-11 2017-03-16 キヤノン株式会社 Communication system, control method thereof, image formation apparatus, control method thereof and program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004171400A (en) * 2002-11-21 2004-06-17 Canon Inc Information processor for performing maintenance management
WO2005013567A1 (en) * 2003-08-05 2005-02-10 Fujitsu Limited Communication interval quality analysis system
JP2008152646A (en) * 2006-12-19 2008-07-03 Canon Inc Remote maintenance system
JP2011242984A (en) * 2010-05-18 2011-12-01 Canon Inc Image forming apparatus and method therefor
US20150301765A1 (en) * 2014-04-21 2015-10-22 Canon Kabushiki Kaisha Communication system, image processing apparatus, control method for image processing apparatus, and storage medium
JP2015207158A (en) * 2014-04-21 2015-11-19 キヤノン株式会社 Communication system, image processor, method for controlling image processor, and program
JP2017054458A (en) * 2015-09-11 2017-03-16 キヤノン株式会社 Communication system, control method thereof, image formation apparatus, control method thereof and program
US20170078512A1 (en) * 2015-09-11 2017-03-16 Canon Kabushiki Kaisha Communication system and method of controlling the same, image forming apparatus and method of controlling the same, and storage medium

Also Published As

Publication number Publication date
JP6754105B2 (en) 2020-09-09

Similar Documents

Publication Publication Date Title
EP2779010B1 (en) Information processing system and information processing method
JP6751268B2 (en) Remote communication control system and remote communication system
CN109218382B (en) Remote communication control system and session management system
JP6703310B2 (en) Remote communication control system, remote maintenance system and remote maintenance program
JP6607361B2 (en) Remote communication system
JP6751267B2 (en) Remote communication control system, remote communication system, session management system and session management program
JP6754105B2 (en) Remote communication system
JP6838707B2 (en) Remote communication control system, session management system and session management program
JP7121352B2 (en) remote communication system
JP6990839B2 (en) Remote communication system
JP7093062B2 (en) Remote communication control system, session management system and session management program
JP6751269B2 (en) Remote communication control system, session management system and session management program
EP3422673B1 (en) Remote communication system, and session management system
JP6751266B2 (en) Remote communication control system, session management system and session management program
US11864090B2 (en) Communication system, communication management method, and non-transitory recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191016

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200629

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200804

R150 Certificate of patent or registration of utility model

Ref document number: 6754105

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150