[go: up one dir, main page]

JP6083297B2 - Scanner and communication system - Google Patents

Scanner and communication system Download PDF

Info

Publication number
JP6083297B2
JP6083297B2 JP2013073560A JP2013073560A JP6083297B2 JP 6083297 B2 JP6083297 B2 JP 6083297B2 JP 2013073560 A JP2013073560 A JP 2013073560A JP 2013073560 A JP2013073560 A JP 2013073560A JP 6083297 B2 JP6083297 B2 JP 6083297B2
Authority
JP
Japan
Prior art keywords
server
account information
scanner
scan
scan data
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.)
Active
Application number
JP2013073560A
Other languages
Japanese (ja)
Other versions
JP2014197820A (en
Inventor
亮介 都築
亮介 都築
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2013073560A priority Critical patent/JP6083297B2/en
Publication of JP2014197820A publication Critical patent/JP2014197820A/en
Application granted granted Critical
Publication of JP6083297B2 publication Critical patent/JP6083297B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Or Security For Electrophotography (AREA)
  • Facsimiles In General (AREA)

Description

本明細書では、スキャナによって生成されるスキャンデータをサーバに保存するための技術を開示する。   The present specification discloses a technique for storing scan data generated by a scanner in a server.

スキャナによって生成されるスキャンデータをサーバに保存(即ちアップロード)するための技術が知られている。   A technique for storing (that is, uploading) scan data generated by a scanner in a server is known.

特開2008−236702JP2008-236702 特開2003−32425JP2003-32425A 特開2011−192116JP2011-192116A

本明細書では、スキャナによって生成されるスキャンデータをサーバに保存するための新規な技術を開示する。   The present specification discloses a novel technique for storing scan data generated by a scanner in a server.

本明細書によって開示されるスキャナは、スキャン実行部と、アカウント情報受信部と、ログイン部と、指示受信部と、スキャン制御部と、スキャンデータ送信部と、アカウント情報送信部と、を備える。アカウント情報受信部は、第1のサーバにログインするための第1のアカウント情報と、第2のサーバにログインするための第2のアカウント情報と、の双方を、ユーザによって実行される1回の操作に応じた1回の無線通信を利用して、携帯端末から受信する。第1のサーバは、スキャナから第2のサーバへのスキャンデータの送信を仲介する。第2のサーバは、スキャンデータを保存する。ログイン部は、第1のアカウント情報を利用して第1のサーバにログインする。指示受信部は、第1のサーバへのログインの後に、第1のサーバからスキャン指示を受信する。スキャン制御部は、第1のサーバからスキャン指示が受信される場合に、原稿のスキャンをスキャン実行部に実行させて、特定のスキャンデータを生成する。スキャンデータ送信部は、特定のスキャンデータを第1のサーバに送信する。アカウント情報送信部は、第1のアカウント情報と第2のアカウント情報とが第1のサーバで関連付けられる状態で、第2のアカウント情報を第1のサーバに送信する。この結果、第1のサーバは、第2のアカウント情報を利用して第2のサーバにログインして、特定のスキャンデータを第2のサーバに送信する。   The scanner disclosed in the present specification includes a scan execution unit, an account information reception unit, a login unit, an instruction reception unit, a scan control unit, a scan data transmission unit, and an account information transmission unit. The account information receiving unit executes both the first account information for logging in to the first server and the second account information for logging in to the second server at a time executed by the user. It receives from a portable terminal using one wireless communication according to operation. The first server mediates transmission of scan data from the scanner to the second server. The second server stores scan data. The login unit logs in to the first server using the first account information. The instruction receiving unit receives a scan instruction from the first server after logging in to the first server. When a scan instruction is received from the first server, the scan control unit causes the scan execution unit to scan a document and generates specific scan data. The scan data transmission unit transmits specific scan data to the first server. The account information transmission unit transmits the second account information to the first server in a state where the first account information and the second account information are associated with each other by the first server. As a result, the first server logs in to the second server using the second account information, and transmits specific scan data to the second server.

上記の構成によると、スキャナは、ユーザによって実行される1回の操作に応じた1回の無線通信を利用して、携帯端末から第1及び第2のアカウント情報の双方を受信することができる。このために、スキャナは、以下の動作を実行することができる。即ち、スキャナは、第1のアカウント情報を利用して第1のサーバにログインし、その後、第1のサーバからスキャン指示を受信する。この場合、スキャナは、特定のスキャンデータを生成して、特定のスキャンデータを第1のサーバに送信する。また、スキャナは、第1及び第2のアカウント情報が第1のサーバで関連付けられる状態で、第2のアカウント情報を第1のサーバに送信する。これにより、第1のサーバは、スキャナのログインのために利用された第1のアカウント情報と、第2のサーバにログインするための第2のアカウント情報と、を関連付けることができ、この結果、第2のアカウント情報を利用して第2のサーバにログインして、特定のスキャンデータを第2のサーバに送信することができる。この技術によると、ユーザは、1回の操作に応じた1回の無線通信を携帯端末に実行させるだけで、スキャナに特定のスキャンデータを生成させることができると共に、第1のサーバを介して第2のサーバに当該特定のスキャンデータを保存させることができる。   According to the above configuration, the scanner can receive both the first and second account information from the portable terminal using one wireless communication corresponding to one operation performed by the user. . For this purpose, the scanner can perform the following operations. That is, the scanner uses the first account information to log in to the first server, and then receives a scan instruction from the first server. In this case, the scanner generates specific scan data and transmits the specific scan data to the first server. The scanner transmits the second account information to the first server in a state where the first and second account information are associated with each other at the first server. Accordingly, the first server can associate the first account information used for the login of the scanner with the second account information for logging in to the second server, and as a result, Specific scan data can be transmitted to the second server by logging into the second server using the second account information. According to this technology, the user can cause the scanner to generate specific scan data only by causing the mobile terminal to execute one wireless communication corresponding to one operation, and via the first server. The specific scan data can be stored in the second server.

本明細書では、スキャナと、第1のサーバと、を備える通信システムも開示する。第1のサーバは、スキャナから第1のアカウント情報を含むログイン要求を受信して、スキャナの第1のサーバへのログインを許容するログイン制御部と、スキャナの第1のサーバへのログインの後に、スキャン指示をスキャナに送信する指示送信部と、スキャナから特定のスキャンデータを受信するスキャンデータ受信部と、第1のアカウント情報と第2のアカウント情報とが関連付けられる状態で、スキャナから第2のアカウント情報を受信する第2のアカウント情報受信部と、第2のアカウント情報を利用して第2のサーバにログインして、特定のスキャンデータを第2のサーバに送信する第2のスキャンデータ送信部と、を備える。この技術によると、ユーザは、1回の操作に応じた1回の無線通信を携帯端末に実行させるだけで、スキャナに特定のスキャンデータを生成させることができると共に、第1のサーバを介して第2のサーバに当該特定のスキャンデータを保存させることができる。   The present specification also discloses a communication system including a scanner and a first server. The first server receives the login request including the first account information from the scanner, and after the login of the scanner to the first server and the login control unit that allows the scanner to log in to the first server. , An instruction transmission unit that transmits a scan instruction to the scanner, a scan data reception unit that receives specific scan data from the scanner, and the second account information from the scanner in a state in which the first account information and the second account information are associated with each other. A second account information receiving unit for receiving the account information and a second scan data for logging in to the second server using the second account information and transmitting specific scan data to the second server A transmission unit. According to this technology, the user can cause the scanner to generate specific scan data only by causing the mobile terminal to execute one wireless communication corresponding to one operation, and via the first server. The specific scan data can be stored in the second server.

上記のいずれかの機器(即ち、スキャナ、又は、第1のサーバ)を実現するための制御方法、コンピュータプログラム、及び、当該コンピュータプログラムを記憶するコンピュータ読取可能記憶媒体も、新規で有用である。   A control method, a computer program, and a computer-readable storage medium storing the computer program for realizing any of the above devices (that is, the scanner or the first server) are also novel and useful.

通信システムの構成を示す。1 shows a configuration of a communication system. 各デバイスによって実行される各処理のシーケンス図を示す。The sequence diagram of each process performed by each device is shown. スキャンデータ送信処理のフローチャートを示す。The flowchart of a scan data transmission process is shown. アップロード準備処理のフローチャートを示す。The flowchart of an upload preparation process is shown. アップロード処理のフローチャートを示す。The flowchart of an upload process is shown. アップロードが成功するケースのシーケンス図を示す。The sequence diagram of the case where upload succeeds is shown. 原稿の詰まりが発生するケースのシーケンス図を示す。A sequence diagram of a case where a document jam occurs is shown. 携帯端末で表示される各画面を示す。Each screen displayed on a portable terminal is shown.

(実施例)
(システムの構成)
図1に示されるように、通信システム2は、スキャナ10と、仲介サーバ50と、保存サーバ100と、携帯端末150と、を備える。各デバイス10,50,100,150は、インターネットを介して、相互に通信可能である。また、スキャナ10及び携帯端末150は、後述のNFC(Near Field Communicationの略)方式に従った無線通信を利用して、相互に通信可能である。
(Example)
(System configuration)
As shown in FIG. 1, the communication system 2 includes a scanner 10, a mediation server 50, a storage server 100, and a mobile terminal 150. Each device 10, 50, 100, 150 can communicate with each other via the Internet. Further, the scanner 10 and the portable terminal 150 can communicate with each other by using wireless communication in accordance with an NFC (Near Field Communication) method described later.

スキャナ10は、原稿のスキャンを実行して、スキャナ10の内部にスキャンデータを記憶したり、スキャナ10と同じLAN(Local Area Networkの略)に接続されているPC(Personal Computerの略)にスキャンデータを送信したりすることができる。特に、本実施例では、スキャナ10は、携帯端末150とNFC方式に従った無線通信を実行することによって、原稿のスキャンを実行して、仲介サーバ50を介して保存サーバ100にスキャンデータをアップロードすることができる。このアップロードを実現するために、各デバイス10等は、以下の構成を備える。   The scanner 10 scans an original and stores scan data in the scanner 10 or scans a PC (abbreviation of personal computer) connected to the same LAN (abbreviation of local area network) as the scanner 10. Or send data. In particular, in this embodiment, the scanner 10 scans a document by executing wireless communication with the mobile terminal 150 according to the NFC method, and uploads scan data to the storage server 100 via the mediation server 50. can do. In order to realize this upload, each device 10 or the like has the following configuration.

(スキャナ10の構成)
スキャナ10は、図示省略のPC等の周辺機器である。スキャナ10は、操作部12と、表示部14と、NFCインターフェース16と、スキャン実行部20と、ネットワークインターフェース22と、制御部30と、を備える。以下では、インターフェースのことを「I/F」と記載する。
(Configuration of the scanner 10)
The scanner 10 is a peripheral device such as a PC (not shown). The scanner 10 includes an operation unit 12, a display unit 14, an NFC interface 16, a scan execution unit 20, a network interface 22, and a control unit 30. Hereinafter, the interface is described as “I / F”.

操作部12は、複数のキーを備える。ユーザは、操作部12を操作することによって、様々な指示をスキャナ10に入力することができる。表示部14は、様々な情報を表示するためのディスプレイである。スキャン実行部20は、CCD方式、CIS方式等のスキャン機構を備える。   The operation unit 12 includes a plurality of keys. The user can input various instructions to the scanner 10 by operating the operation unit 12. The display unit 14 is a display for displaying various information. The scan execution unit 20 includes a scan mechanism such as a CCD system or a CIS system.

NFCI/F16は、NFC方式の無線通信(以下では「NFC通信」と呼ぶ)を実行するためのI/Fである。NFC方式は、いわゆる近距離無線通信のための無線通信方式であり、例えば、ISO/IEC21481又は18092の国際標準規格に基づく無線通信方式である。ネットワークI/F22は、スキャナ10が設置されている環境に構築される図示省略のLANに接続するためのI/Fであり、有線通信のためのI/Fであってもよいし、無線通信のためのI/Fであってもよい。スキャナ10は、ネットワークI/F22及び図示省略のLANを介して、インターネットに接続される。   The NFC I / F 16 is an I / F for executing NFC wireless communication (hereinafter referred to as “NFC communication”). The NFC method is a wireless communication method for so-called short-range wireless communication, for example, a wireless communication method based on the international standard of ISO / IEC21481 or 18092. The network I / F 22 is an I / F for connecting to a LAN (not shown) constructed in the environment where the scanner 10 is installed, and may be an I / F for wired communication or wireless communication I / F may be used. The scanner 10 is connected to the Internet via a network I / F 22 and a LAN (not shown).

制御部30は、CPU32と、メモリ34と、を備える。CPU32は、メモリ34に記憶されているプログラムに従って、様々な処理を実行する。   The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes according to the program stored in the memory 34.

(仲介サーバ50の構成)
仲介サーバ50は、スキャナ10のベンダによってインターネット上に設置されるサーバである。仲介サーバ50は、スキャナ10からスキャンデータを受信して、当該スキャンデータを保存サーバ100に送信する。即ち、仲介サーバ50は、スキャナ10から保存サーバ100へのスキャンデータの送信を仲介する。仲介サーバ50は、ネットワークI/F60と、制御部70と、を備える。
(Configuration of Mediation Server 50)
The mediation server 50 is a server installed on the Internet by the vendor of the scanner 10. The mediation server 50 receives the scan data from the scanner 10 and transmits the scan data to the storage server 100. That is, the mediation server 50 mediates transmission of scan data from the scanner 10 to the storage server 100. The mediation server 50 includes a network I / F 60 and a control unit 70.

ネットワークI/F60は、インターネットに接続するためのI/Fである。制御部70は、CPU72と、メモリ74と、を備える。CPU72は、メモリ74に格納されているプログラムに従って、様々な処理を実行する。   The network I / F 60 is an I / F for connecting to the Internet. The control unit 70 includes a CPU 72 and a memory 74. The CPU 72 executes various processes according to the program stored in the memory 74.

(保存サーバ100の構成)
保存サーバ100は、スキャナ10のベンダとは異なる特定のサービス提供会社によってインターネット上に設置されるサーバである。保存サーバ100は、画像データ、文書データ等の様々なデータ(即ちファイル)を保存することができる。保存サーバ100は、例えば、「FTOPIA」、「Evernote(登録商標)」、「Google(登録商標) Docs」、「PICASA(登録商標)」、「FACEBOOK(登録商標)」等の公知のサーバであってもよい。
(Configuration of storage server 100)
The storage server 100 is a server installed on the Internet by a specific service provider company different from the vendor of the scanner 10. The storage server 100 can store various data (that is, files) such as image data and document data. The storage server 100 is a known server such as “FTOPIA”, “Evernote (registered trademark)”, “Google (registered trademark) Docs”, “PICASA (registered trademark)”, “FACEBOOK (registered trademark)”, or the like. May be.

図示省略しているが、インターネット上には、上記の特定のサービス提供会社によって設置される保存サーバ100のみならず、他の様々なサービス提供会社によって提供される様々な保存サーバが存在する。即ち、複数個のサービス提供会社によって運営される複数個の保存サーバがインターネット上に存在する。   Although not shown, on the Internet, there are various storage servers provided by various other service providers as well as the storage server 100 installed by the specific service provider. That is, a plurality of storage servers operated by a plurality of service providing companies exist on the Internet.

スキャナ10のベンダは、仲介サーバ50と通信を実行するためのAPI(Application Program Interface)を公開している。そして、複数個のサービス提供会社のそれぞれは、上記のAPIを含むプログラムに従って各保存サーバ100等を動作させる。これにより、保存サーバ100等は、仲介サーバ50と様々な通信(例えば後述の図6のスキャンデータ300の通信等)を実行することができる。   The vendor of the scanner 10 publishes an API (Application Program Interface) for executing communication with the mediation server 50. Each of the plurality of service providers operates each storage server 100 or the like according to the program including the API. Accordingly, the storage server 100 and the like can execute various communications (for example, communication of scan data 300 in FIG. 6 described later) with the mediation server 50.

(携帯端末150の構成)
携帯端末150は、例えば、携帯電話(例えばスマートフォン)、PDA(Personal Digital Assistanceの略)、ノートPC、タブレットPC、携帯型音楽再生装置、携帯型動画再生装置等の可搬型の端末装置である。携帯端末150は、NFCI/F156と、CPU162と、メモリ164と、を備える。また、携帯端末150は、図示省略の様々なハードウェア(例えば、操作部、表示部等)を備える。
(Configuration of mobile terminal 150)
The mobile terminal 150 is, for example, a portable terminal device such as a mobile phone (for example, a smartphone), a PDA (abbreviation of Personal Digital Assistance), a notebook PC, a tablet PC, a portable music playback device, and a portable video playback device. The portable terminal 150 includes an NFC I / F 156, a CPU 162, and a memory 164. The portable terminal 150 includes various hardware (not shown) (for example, an operation unit, a display unit, etc.).

NFCI/F156は、NFC通信を実行するためのI/Fである。CPU162は、メモリ164に格納されているプログラムに従って、様々な処理を実行する。メモリ164は、さらに、スキャナ10から保存サーバ100等へのスキャンデータのアップロードに関連する様々な処理をスキャナ10に実行させるためのアプリケーション(以下では「スキャナ用アプリケーション」と呼ぶ)を記憶している。例えば、携帯端末150は、スキャナ10のベンダによってインターネット上に設置されるサーバ(即ち仲介サーバ50は異なるサーバ)から、スキャナ用アプリケーションをダウンロードする。CPU162によって実行される以下の各処理は、スキャナ用アプリケーションに従って実行される。   The NFC I / F 156 is an I / F for executing NFC communication. The CPU 162 executes various processes according to the program stored in the memory 164. The memory 164 further stores an application (hereinafter referred to as a “scanner application”) for causing the scanner 10 to execute various processes related to uploading scan data from the scanner 10 to the storage server 100 or the like. . For example, the mobile terminal 150 downloads the scanner application from a server (that is, a server different from the mediation server 50) installed on the Internet by the vendor of the scanner 10. The following processes executed by the CPU 162 are executed according to the scanner application.

(事前準備;図2)
図2を参照しながら、各デバイス10,50,100,150が実行する各処理の内容を説明する。まず、携帯端末150のユーザは、以下の事前準備を実行する。携帯端末150では、ユーザによってスキャナ用アプリケーションが起動される。次いで、仲介サーバ50にアクセスするための操作が実行される。スキャナ用アプリケーションには、仲介サーバ50のURL(Uniform Resource Locatorの略)が予め記述されている。携帯端末150のCPU162は、仲介サーバ50のURLを利用して仲介サーバ50にアクセスして、仲介サーバ50からアカウント登録画面を表わす画面情報を受信する。これにより、CPU162は、アカウント登録画面を表示部(図示省略)に表示させる。ユーザは、アカウント登録画面を見ながら、携帯端末150を操作して、ユーザID、パスワード等の各種情報を携帯端末150に入力する。CPU162は、ユーザによって上記の各種情報が入力されると、上記の各種情報を含むアカウント要求200を仲介サーバ50に送信する。
(Preparation; Fig. 2)
The contents of each process executed by each device 10, 50, 100, 150 will be described with reference to FIG. First, the user of the mobile terminal 150 performs the following advance preparation. In the mobile terminal 150, a scanner application is activated by the user. Next, an operation for accessing the mediation server 50 is executed. In the scanner application, the URL (abbreviation of Uniform Resource Locator) of the mediation server 50 is described in advance. The CPU 162 of the portable terminal 150 accesses the mediation server 50 using the URL of the mediation server 50 and receives screen information representing an account registration screen from the mediation server 50. Thereby, CPU162 displays an account registration screen on a display part (illustration omitted). While viewing the account registration screen, the user operates the mobile terminal 150 to input various information such as a user ID and a password to the mobile terminal 150. CPU162 will transmit the account request 200 containing said various information to the mediation server 50, if said various information is input by the user.

仲介サーバ50のCPU72は、携帯端末150からアカウント要求200を受信すると、アカウント要求200に含まれる上記の各種情報を含むアカウント情報AC1を、メモリ74に登録する(即ちメモリ74に記憶させる)。そして、CPU72は、登録済みのアカウント情報AC1を携帯端末150に送信する。   When receiving the account request 200 from the mobile terminal 150, the CPU 72 of the mediation server 50 registers the account information AC1 including the various information included in the account request 200 in the memory 74 (that is, stores it in the memory 74). Then, the CPU 72 transmits the registered account information AC1 to the mobile terminal 150.

携帯端末150のCPU162は、仲介サーバ50からアカウント情報AC1を受信すると、アカウント情報AC1を記憶する。これにより、仲介サーバ50にログインするためのアカウント情報AC1が、携帯端末150に記憶される。   When receiving the account information AC1 from the mediation server 50, the CPU 162 of the portable terminal 150 stores the account information AC1. As a result, account information AC <b> 1 for logging in to the mediation server 50 is stored in the mobile terminal 150.

また、スキャナ用アプリケーションには、複数個の保存サーバのそれぞれのサーバ名及びURLが予め記述されている。本実施例では、ユーザは、複数個の保存サーバの中から保存サーバ100を選択して、保存サーバ100にアクセスするための操作を実行する。この場合、携帯端末150のCPU162は、仲介サーバ50の場合と同様に、保存サーバ100のURLを利用して、保存サーバ100からアカウント登録画面を表わす画面情報を受信する。ユーザは、ユーザID、パスワード等の各種情報を携帯端末150に入力する。この場合、携帯端末150のCPU162は、ユーザによって入力された上記の各種情報を含むアカウント要求204を保存サーバ100に送信する。   In the scanner application, server names and URLs of a plurality of storage servers are described in advance. In this embodiment, the user selects a storage server 100 from among a plurality of storage servers, and executes an operation for accessing the storage server 100. In this case, the CPU 162 of the mobile terminal 150 receives the screen information representing the account registration screen from the storage server 100 using the URL of the storage server 100 as in the case of the mediation server 50. The user inputs various information such as a user ID and a password to the mobile terminal 150. In this case, the CPU 162 of the mobile terminal 150 transmits an account request 204 including the above-described various information input by the user to the storage server 100.

保存サーバ100は、携帯端末150からアカウント要求204を受信すると、アカウント要求204に含まれる上記の各種情報を含むアカウント情報AC2を登録する。そして、保存サーバ100は、登録済みのアカウント情報AC2を携帯端末150に送信する。   When the storage server 100 receives the account request 204 from the mobile terminal 150, the storage server 100 registers the account information AC <b> 2 including the various information included in the account request 204. Then, the storage server 100 transmits the registered account information AC2 to the mobile terminal 150.

携帯端末150のCPU162は、保存サーバ100からアカウント情報AC2を受信すると、アカウント情報AC2を記憶する。これにより、保存サーバ100にログインするためのアカウント情報AC2が、携帯端末150に記憶される。   When receiving the account information AC2 from the storage server 100, the CPU 162 of the portable terminal 150 stores the account information AC2. As a result, account information AC <b> 2 for logging in to the storage server 100 is stored in the mobile terminal 150.

なお、携帯端末150は、ユーザの指示に従って、保存サーバ100とは異なる保存サーバにログインするためのアカウント情報も記憶することができる。即ち、携帯端末150には、1個以上の保存サーバにログインするための1個以上のアカウント情報が記憶される。   Note that the mobile terminal 150 can also store account information for logging in to a storage server different from the storage server 100 in accordance with a user instruction. That is, the mobile terminal 150 stores one or more account information for logging in to one or more storage servers.

(スキャンデータのアップロードのための処理)
ユーザは、上記の事前準備を実行して、2個のアカウント情報AC1,AC2を携帯端末150に記憶させた後に、保存サーバ100へのスキャンデータのアップロードを仲介サーバ50に実行させることができる。ユーザは、スキャンデータのアップロードの実行を望む場合に、携帯端末150に記憶されているスキャナ用アプリケーションを起動させる。これにより、待機画面SC1(図8参照)が携帯端末150に表示される。
(Process for uploading scan data)
The user can cause the mediation server 50 to upload the scan data to the storage server 100 after performing the above-described preparation and storing the two pieces of account information AC1 and AC2 in the portable terminal 150. When the user desires to execute the upload of scan data, the user activates the scanner application stored in the portable terminal 150. Thereby, the standby screen SC1 (see FIG. 8) is displayed on the portable terminal 150.

図8に示されるように、待機画面SC1は、サーバ名を選択するための領域を含む。本実施例では、ユーザは、携帯端末150にアカウント情報が記憶されている1個以上の保存サーバのサーバ名の中から、スキャンデータを保存するための1個の保存サーバのサーバ名(本実施例では保存サーバ100のサーバ名「xxx」)を選択する。   As shown in FIG. 8, standby screen SC1 includes an area for selecting a server name. In this embodiment, the user selects the server name of one storage server for storing scan data from the server names of one or more storage servers whose account information is stored in the mobile terminal 150 (this embodiment). In the example, the server name “xxx”) of the storage server 100 is selected.

待機画面SC1は、さらに、スキャン条件(即ち、スキャン対象の原稿のサイズ、スキャンタイプ、ファイルタイプ)を選択するための領域を含む。ユーザは、A3、A4、B4等の複数個の原稿のサイズの中から、1個のサイズを選択する。また、ユーザは、カラースキャン、モノクロスキャン等の複数個のスキャンタイプの中から、1個のスキャンタイプを選択する。また、ユーザは、PDF、JPEG等の複数個のファイル形式の中から、1個のファイル形式(即ち、スキャンデータのファイル形式)を選択する。   The standby screen SC1 further includes an area for selecting a scan condition (that is, the size of a document to be scanned, the scan type, and the file type). The user selects one size from a plurality of document sizes such as A3, A4, and B4. Further, the user selects one scan type from a plurality of scan types such as color scan and monochrome scan. In addition, the user selects one file format (that is, a file format of scan data) from a plurality of file formats such as PDF and JPEG.

次いで、ユーザは、スキャナ10と携帯端末150との間でNFC接続を確立させるために、携帯端末150をスキャナ10に近づける。この結果、スキャナ10のNFCI/F16と携帯端末150のNFCI/F156との間の距離が、各I/F16,156が通信可能な最大の距離(即ちNFC通信を実行可能な距離;例えば10cm)よりも大きい状態から、当該最大の距離以下である状態に移行する。この場合、図2に示されるように、スキャナ10のNFCI/F16と携帯端末150のNFCI/F156との間にNFC接続が確立される。   Next, the user brings the portable terminal 150 closer to the scanner 10 in order to establish an NFC connection between the scanner 10 and the portable terminal 150. As a result, the distance between the NFC I / F 16 of the scanner 10 and the NFC I / F 156 of the portable terminal 150 is the maximum distance that each I / F 16, 156 can communicate with (i.e., the distance at which NFC communication can be performed; for example, 10 cm). The state shifts from a state larger than the maximum distance to a state equal to or smaller than the maximum distance. In this case, as shown in FIG. 2, an NFC connection is established between the NFC I / F 16 of the scanner 10 and the NFC I / F 156 of the portable terminal 150.

携帯端末150のCPU162は、上記のNFC接続を利用して(即ちNFCI/F156を介して)、NFC情報208をスキャナ10に送信する。NFC情報208は、仲介サーバ50にログインするためのアカウント情報AC1と、ユーザによって選択された保存サーバ100にログインするためのアカウント情報AC2と、ユーザによって選択されたスキャン条件を示す条件情報と、ユーザによって選択されたサーバ名と、を含む。   The CPU 162 of the portable terminal 150 transmits the NFC information 208 to the scanner 10 using the NFC connection (that is, via the NFC I / F 156). The NFC information 208 includes account information AC1 for logging in to the mediation server 50, account information AC2 for logging in to the storage server 100 selected by the user, condition information indicating the scanning conditions selected by the user, and the user And the server name selected by.

スキャナ10のCPU32は、上記のNFC接続を利用して(即ちNFCI/F16を介して)、携帯端末150からNFC情報208を受信する。この場合、CPU32は、ネットワークI/F22を介して、NFC情報208内のアカウント情報AC1を含むログイン要求210を、仲介サーバ50のURLを利用して仲介サーバ50に送信する。なお、仲介サーバ50のURLは、スキャナ10のメモリ34に予め記憶されていてもよいし、携帯端末150から受信されるNFC情報208内に記述されていてもよい。   The CPU 32 of the scanner 10 receives the NFC information 208 from the portable terminal 150 using the NFC connection (that is, via the NFC I / F 16). In this case, the CPU 32 transmits a login request 210 including the account information AC1 in the NFC information 208 to the mediation server 50 using the URL of the mediation server 50 via the network I / F 22. The URL of the mediation server 50 may be stored in advance in the memory 34 of the scanner 10 or may be described in the NFC information 208 received from the mobile terminal 150.

仲介サーバ50のCPU72は、ネットワークI/F60を介して、スキャナ10からログイン要求210を受信する。なお、仲介サーバ50において実行される通信では、ネットワークI/F60が常に利用されるので、以下の説明では、「ネットワークI/F60を介して」という用語を省略する。CPU72は、ログイン要求210に含まれるアカウント情報AC1がメモリ74に登録されているのか否かを判断する。CPU72は、アカウント情報AC1がメモリ74に登録されていないと判断する場合には、図示省略しているが、ログイン失敗通知をスキャナ10に送信する。   The CPU 72 of the mediation server 50 receives the login request 210 from the scanner 10 via the network I / F 60. Note that the network I / F 60 is always used for communication executed in the mediation server 50, and therefore the term “via the network I / F 60” is omitted in the following description. The CPU 72 determines whether the account information AC <b> 1 included in the login request 210 is registered in the memory 74. When the CPU 72 determines that the account information AC1 is not registered in the memory 74, the CPU 72 transmits a login failure notification to the scanner 10 (not shown).

一方において、CPU72は、アカウント情報AC1がメモリ74に登録されていると判断する場合には、ユニークな文字列であるトークン(即ち認証情報)214を生成する。そして、CPU72は、アカウント情報AC1に関連付けて、トークン214をメモリ74に記憶させる。次いで、CPU72は、トークン214を含むログイン成功通知212をスキャナ10に送信する。   On the other hand, when determining that the account information AC1 is registered in the memory 74, the CPU 72 generates a token (that is, authentication information) 214 that is a unique character string. Then, the CPU 72 stores the token 214 in the memory 74 in association with the account information AC1. Next, the CPU 72 transmits a login success notification 212 including the token 214 to the scanner 10.

スキャナ10のCPU32は、ネットワークI/F22を介して、仲介サーバ50からログイン成功通知212を受信する。この場合、CPU32は、ログイン成功通知212に含まれるトークン214をメモリ34に記憶させる。次いで、CPU32は、ネットワークI/F22を介して、トークン214を含む接続要求を仲介サーバ50に送信する。上記の接続要求は、スキャナ10と仲介サーバ50との間にXMPP(Extensible Messaging and Presence Protocolの略)接続を確立するための要求である。   The CPU 32 of the scanner 10 receives the login success notification 212 from the mediation server 50 via the network I / F 22. In this case, the CPU 32 stores the token 214 included in the login success notification 212 in the memory 34. Next, the CPU 32 transmits a connection request including the token 214 to the mediation server 50 via the network I / F 22. The connection request is a request for establishing an XMPP (Extensible Messaging and Presence Protocol) connection between the scanner 10 and the mediation server 50.

仲介サーバ50のCPU72は、スキャナ10から接続要求を受信すると、接続要求に含まれるトークン214がメモリ74に記憶されているのか否かを判断する。CPU72は、トークン214がメモリ74に記憶されていると判断する場合には、所定の応答をスキャナ10に送信する。これにより、スキャナ10と仲介サーバ50との間にXMPP接続が確立される。この結果、仲介サーバ50は、XMPP接続を利用することができるので、図示省略のルータ等によって通信が妨げられることなく、後述のスキャン指示220をスキャナ10に適切に送信することができる(即ち、インターネット側からLAN側への通信を実行することができる)。   When receiving the connection request from the scanner 10, the CPU 72 of the mediation server 50 determines whether or not the token 214 included in the connection request is stored in the memory 74. When the CPU 72 determines that the token 214 is stored in the memory 74, the CPU 72 transmits a predetermined response to the scanner 10. Thereby, an XMPP connection is established between the scanner 10 and the mediation server 50. As a result, since the intermediary server 50 can use the XMPP connection, it can appropriately transmit a scan instruction 220 described later to the scanner 10 without being interrupted by a router (not shown) or the like (that is, the intermediary server 50). Communication from the Internet side to the LAN side can be executed).

仲介サーバ50のCPU72は、XMPP接続が確立される場合に、XMPP接続を識別するための接続IDを生成し、アカウント情報AC1に関連付けて、接続IDをメモリ74に記憶させる。この結果、メモリ74では、トークン214、接続ID、及び、アカウント情報AC1が関連付けられている状態になる。   When the XMPP connection is established, the CPU 72 of the mediation server 50 generates a connection ID for identifying the XMPP connection, and stores the connection ID in the memory 74 in association with the account information AC1. As a result, in the memory 74, the token 214, the connection ID, and the account information AC1 are associated with each other.

次いで、スキャナ10のCPU32は、トークン214を利用して、スキャンデータのアップロードに関連する処理を識別するための処理ID216を生成する。本実施例では、処理ID(例えばYYY20130315)は、トークン214によって示される文字列(例えばYYY)と、現在の日時を示す情報(例えば20130315)と、を組み合わせることによって生成される。詳しくは後述するが、処理ID216は、携帯端末150のユーザがスキャンデータのアップロードに関連する処理のステータスを確認するために、携帯端末150及び保存サーバ100で利用される。   Next, the CPU 32 of the scanner 10 uses the token 214 to generate a process ID 216 for identifying a process related to uploading scan data. In the present embodiment, the process ID (for example, YYY20130315) is generated by combining a character string (for example, YYY) indicated by the token 214 and information (for example, 20130315) indicating the current date and time. As will be described in detail later, the process ID 216 is used by the mobile terminal 150 and the storage server 100 in order for the user of the mobile terminal 150 to check the status of processing related to uploading of scan data.

スキャナ10のCPU32は、上記のNFC接続を利用して(即ちNFCI/F16を介して)、処理ID216を含むスキャン受付通知218を携帯端末150に送信する。   The CPU 32 of the scanner 10 transmits a scan acceptance notification 218 including the process ID 216 to the portable terminal 150 using the NFC connection (that is, via the NFC I / F 16).

携帯端末150のCPU162は、上記のNFC接続を利用して(即ちNFCI/F156を介して)、スキャナ10からスキャン受付通知218を受信する。この場合、受付画面SC2(図8参照)が携帯端末150で表示される。受付画面SC2は、スキャンの要求を受け付けたことを示すメッセージと、スキャン受付通知218に含まれる処理ID216と、を含む。   The CPU 162 of the portable terminal 150 receives the scan acceptance notification 218 from the scanner 10 using the NFC connection (that is, via the NFC I / F 156). In this case, the reception screen SC2 (see FIG. 8) is displayed on the mobile terminal 150. The reception screen SC2 includes a message indicating that a scan request has been received, and a process ID 216 included in the scan reception notification 218.

ユーザは、受付画面SC2を見れば、携帯端末150をスキャナ10から離反させてもよいことを知ることができる。携帯端末150がスキャナ10から離反すると、スキャナ10のNFCI/F16と携帯端末150のNFCI/F156との間の距離が、各I/F16,156が通信可能な最大の距離以下である状態から、当該距離よりも大きい状態に戻る。この場合、上記のNFC接続が切断される。以下では、上記のNFC接続が確立されてから、上記のNFC接続が切断されるまでに、スキャナ10と携帯端末150との間で実行されるNFC通信(即ち、NFC情報208の通信、及び、スキャン受付通知218の通信)のことを、「1回のNFC通信」と呼ぶ。   The user can know that the portable terminal 150 may be moved away from the scanner 10 by looking at the reception screen SC2. When the mobile terminal 150 is separated from the scanner 10, the distance between the NFC I / F 16 of the scanner 10 and the NFC I / F 156 of the mobile terminal 150 is less than the maximum distance at which each of the I / Fs 16 and 156 can communicate. The state returns to a state larger than the distance. In this case, the NFC connection is disconnected. Hereinafter, NFC communication performed between the scanner 10 and the portable terminal 150 after the NFC connection is established and before the NFC connection is disconnected (that is, communication of the NFC information 208, and The communication of the scan acceptance notification 218) is referred to as “one NFC communication”.

上述したように、本実施例では、ユーザが携帯端末150をスキャナ10に近づけるための1回の操作を実行すれば、1回のNFC通信を利用して、携帯端末150からスキャナ10へのNFC情報208の送信と、スキャナ10から携帯端末150へのスキャン受付通知218の送信と、が実行される。即ち、1回のNFC通信を利用して、アカウント情報AC1、アカウント情報AC2、及び、処理ID216の3個の情報の全ての通信が実行される。上記の3個の情報の通信のために、ユーザが携帯端末150をスキャナ10に近づけるための操作を複数回に亘って実行しなければならない構成と比べると、ユーザの利便性が向上する。   As described above, in this embodiment, if the user performs one operation for bringing the mobile terminal 150 close to the scanner 10, the NFC from the mobile terminal 150 to the scanner 10 is performed using one NFC communication. Transmission of information 208 and transmission of scan acceptance notification 218 from scanner 10 to portable terminal 150 are executed. That is, communication of all three pieces of information of account information AC1, account information AC2, and process ID 216 is executed using one NFC communication. Compared with a configuration in which the user has to execute an operation for bringing the mobile terminal 150 close to the scanner 10 a plurality of times for the communication of the above three pieces of information, the convenience for the user is improved.

上述したように、スキャナ10は、携帯端末150から、保存サーバ100にログインするためのアカウント情報AC2、及び、保存サーバ100のサーバ名を受信済みである(NFC情報208参照)。スキャナ10のCPU32は、上記のXMPP接続を利用して(即ちネットワークI/F22を介して)、処理ID216、アカウント情報AC2、及び、サーバ名が関連付けられた状態で、これらの情報を仲介サーバ50に送信する。即ち、CPU32は、これらの情報を同時的に仲介サーバ50に送信する。   As described above, the scanner 10 has received the account information AC2 for logging in to the storage server 100 and the server name of the storage server 100 from the portable terminal 150 (see NFC information 208). The CPU 32 of the scanner 10 uses the above-described XMPP connection (that is, via the network I / F 22) to transfer these pieces of information to the mediation server 50 in a state where the process ID 216, the account information AC2, and the server name are associated with each other. Send to. That is, the CPU 32 transmits these pieces of information to the mediation server 50 simultaneously.

仲介サーバ50のCPU72は、上記のXMPP接続を利用して、スキャナ10からアカウント情報AC2、処理ID216、及び、保存サーバ100のサーバ名を同時的に受信する。   The CPU 72 of the mediation server 50 simultaneously receives the account information AC2, the process ID 216, and the server name of the storage server 100 from the scanner 10 using the XMPP connection.

上述したように、処理ID216は、トークン214を用いて生成される。また、仲介サーバ50のメモリ74では、アカウント情報AC1及びトークン214が関連付けられている。従って、CPU72は、アカウント情報AC2と、処理ID216に含まれるトークン214と、を同時的に受信する場合に、メモリ74を参照して、トークン214に関連付けられているアカウント情報AC1を特定することができる。即ち、CPU72は、トークン214を介して、アカウント情報AC1及びアカウント情報AC2を関連付けることができる。そして、CPU72は、アカウント情報AC2及び処理ID216をメモリ74に記憶させる。この結果、メモリ74では、トークン214、接続ID、アカウント情報AC1、アカウント情報AC2、及び、処理ID216が関連付けられている状態になる。   As described above, the process ID 216 is generated using the token 214. In the memory 74 of the mediation server 50, the account information AC1 and the token 214 are associated with each other. Therefore, when receiving the account information AC2 and the token 214 included in the process ID 216 at the same time, the CPU 72 refers to the memory 74 and specifies the account information AC1 associated with the token 214. it can. That is, the CPU 72 can associate the account information AC1 and the account information AC2 via the token 214. Then, the CPU 72 stores the account information AC2 and the process ID 216 in the memory 74. As a result, in the memory 74, the token 214, connection ID, account information AC1, account information AC2, and process ID 216 are associated with each other.

なお、変形例では、仲介サーバ50のCPU72は、以下のようにして、2個のアカウント情報AC1,AC2を関連付けてもよい。上述したように、CPU72は、XMPP接続を利用して、スキャナ10からアカウント情報AC2及び処理ID216を受信する。そして、メモリ74では、XMPP接続を識別するための接続ID及びアカウント情報AC1が関連付けられている。従って、CPU72は、XMPP接続を利用してアカウント情報AC2及び処理ID216を受信する場合に、メモリ74を参照して、当該XMPP接続の接続IDに関連付けられているアカウント情報AC1を特定することができ、この結果、2個のアカウント情報AC1,AC2を関連付けることができる。即ち、CPU72は、XMPP接続の接続IDを介して、2個のアカウント情報AC1,AC2を関連付けることができる。なお、XMPP接続は、トークン214を利用して確立される接続である。従って、本変形例でも、トークン214を介して、2個のアカウント情報AC1,AC2が関連付けられていると言える。   In the modification, the CPU 72 of the mediation server 50 may associate the two pieces of account information AC1 and AC2 as follows. As described above, the CPU 72 receives the account information AC2 and the process ID 216 from the scanner 10 using the XMPP connection. In the memory 74, a connection ID for identifying the XMPP connection and account information AC1 are associated. Therefore, when receiving the account information AC2 and the process ID 216 using the XMPP connection, the CPU 72 can specify the account information AC1 associated with the connection ID of the XMPP connection with reference to the memory 74. As a result, two pieces of account information AC1 and AC2 can be associated with each other. That is, the CPU 72 can associate the two pieces of account information AC1 and AC2 via the connection ID of the XMPP connection. The XMPP connection is a connection established using the token 214. Therefore, it can be said that also in this modification, two pieces of account information AC1 and AC2 are associated through the token 214.

次いで、仲介サーバ50のCPU72は、処理ID216に関連付けて、ステータス情報をメモリ74に記憶させる。この結果、メモリ74では、トークン214、接続ID、アカウント情報AC1、アカウント情報AC2、処理ID216、及び、ステータス情報が関連付けられている状態になる。現時点では、ステータス情報は、「スキャン準備」を示す。詳しくは後述するが、仲介サーバ50は、ステータス情報を携帯端末150に供給することができる(後述の図6のステータス要求308、ステータス通知310等参照)。即ち、ユーザは、携帯端末150を利用して、ステータス情報にアクセスすれば、スキャンデータのアップロードに関連する処理の現在のステータスを知ることができる。   Next, the CPU 72 of the mediation server 50 stores the status information in the memory 74 in association with the process ID 216. As a result, in the memory 74, the token 214, connection ID, account information AC1, account information AC2, process ID 216, and status information are associated with each other. At this time, the status information indicates “scan preparation”. As will be described in detail later, the mediation server 50 can supply status information to the portable terminal 150 (see status request 308, status notification 310, etc. in FIG. 6 described later). That is, the user can know the current status of processing related to uploading scan data by accessing the status information using the mobile terminal 150.

次いで、CPU72は、上記のXMPP接続を利用して、スキャン指示220をスキャナ10に送信する。CPU72は、XMPP接続を利用するので、LAN側に存在するスキャナ10にスキャン指示220を適切に送信することができる。CPU72は、スキャン指示220をスキャナ10に送信すると、アップロード準備処理(図4参照)を開始する。   Next, the CPU 72 transmits a scan instruction 220 to the scanner 10 using the above XMPP connection. Since the CPU 72 uses the XMPP connection, the scan instruction 220 can be appropriately transmitted to the scanner 10 existing on the LAN side. When the CPU 72 transmits the scan instruction 220 to the scanner 10, the CPU 72 starts an upload preparation process (see FIG. 4).

なお、変形例では、CPU72は、XMPP接続を利用せずに、スキャン指示220をスキャナ10に送信してもよい。例えば、CPU72は、スキャナ10から処理ID216及びアカウント情報AC2を受信すると、それらの情報の戻り値として、スキャン指示220をスキャナ10に送信してもよい。本変形例の構成でも、CPU72は、ルータ等によって通信が妨げられることなく、LAN側に存在するスキャナ10にスキャン指示220を適切に送信することができる。   In the modification, the CPU 72 may transmit the scan instruction 220 to the scanner 10 without using the XMPP connection. For example, when receiving the process ID 216 and the account information AC2 from the scanner 10, the CPU 72 may transmit a scan instruction 220 to the scanner 10 as a return value of the information. Even in the configuration of this modification, the CPU 72 can appropriately transmit the scan instruction 220 to the scanner 10 existing on the LAN side without being interrupted by a router or the like.

スキャナ10のCPU32は、上記のXMPP接続を利用して(即ちネットワークI/F22を介して)、仲介サーバ50からスキャン指示220を受信する。この場合、S2において、CPU32は、スキャンデータ送信処理(図3参照)を開始する。   The CPU 32 of the scanner 10 receives the scan instruction 220 from the mediation server 50 using the above XMPP connection (that is, via the network I / F 22). In this case, in S2, the CPU 32 starts a scan data transmission process (see FIG. 3).

(スキャンデータ送信処理;図3)
図3を参照して、スキャナ10のCPU32によって実行されるスキャンデータ送信処理(図2のS2)の内容を説明する。
(Scan data transmission processing; FIG. 3)
The contents of the scan data transmission process (S2 in FIG. 2) executed by the CPU 32 of the scanner 10 will be described with reference to FIG.

上述したように、スキャナ10のCPU32は、携帯端末150からスキャン条件を示す条件情報を既に受信している(図2のNFC情報208参照)。S10では、CPU32は、受信済みの条件情報によって示される原稿のサイズ(例えばA4)及びスキャンタイプ(例えばカラー)に従った原稿のスキャンが実行されるように、スキャン実行部20に命令を送信する。これにより、スキャン実行部20は、原稿のスキャンを実行して、画像データを生成する。   As described above, the CPU 32 of the scanner 10 has already received the condition information indicating the scan condition from the portable terminal 150 (see NFC information 208 in FIG. 2). In S10, the CPU 32 transmits a command to the scan execution unit 20 so that the document is scanned according to the document size (for example, A4) and the scan type (for example, color) indicated by the received condition information. . As a result, the scan execution unit 20 scans the document and generates image data.

S12では、CPU32は、スキャン対象の原稿の全てのページに対するスキャンが終了したのか否かを判断する。CPU32は、スキャン実行部20から全てのページのスキャンが終了したことを示す信号を受信する場合には、S12でYESと判断して、スキャン実行部20から取得される画像データを利用して、受信済みの条件情報によって示されるファイル形式(例えばPDF)を有するファイルを生成する。以下では、ここで生成されるファイルのことを「スキャンデータ」と呼ぶ。そして、CPU32は、S14に進む。一方において、CPU32は、スキャン実行部20から上記の信号を受信しない場合には、S12でNOと判断して、S30に進む。   In S12, the CPU 32 determines whether or not scanning for all pages of the document to be scanned has been completed. When receiving a signal indicating that scanning of all pages has been completed from the scan execution unit 20, the CPU 32 determines YES in S12, and uses the image data acquired from the scan execution unit 20, A file having a file format (for example, PDF) indicated by the received condition information is generated. Hereinafter, the file generated here is referred to as “scan data”. Then, the CPU 32 proceeds to S14. On the other hand, if the CPU 32 does not receive the above signal from the scan execution unit 20, the CPU 32 determines NO in S12 and proceeds to S30.

S14では、CPU32は、ネットワークI/F22を介して、トークン214及びスキャンデータを仲介サーバ50に同時的に送信する。これにより、CPU32は、トークン214及びスキャンデータが関連付けられた状態で、トークン214及びスキャンデータを仲介サーバ50に送信することができる。   In S <b> 14, the CPU 32 transmits the token 214 and the scan data to the mediation server 50 simultaneously via the network I / F 22. Thus, the CPU 32 can transmit the token 214 and the scan data to the mediation server 50 in a state where the token 214 and the scan data are associated with each other.

なお、S14では、CPU32は、スキャナ10及び仲介サーバ50の間に確立されているXMPP接続を利用せずに、トークン214及びスキャンデータを仲介サーバ50に送信する。詳しくは後述するが、仲介サーバ50は、スキャンデータと共にトークン214を受信するので、トークン214に関連付けられているアカウント情報AC1に従ったログイン状態を有するスキャナ10から、スキャンデータを受信したことを知ることができる(後述の図4のS50でYES)。   In S <b> 14, the CPU 32 transmits the token 214 and the scan data to the mediation server 50 without using the XMPP connection established between the scanner 10 and the mediation server 50. As will be described in detail later, since the intermediary server 50 receives the token 214 together with the scan data, it knows that the scan data has been received from the scanner 10 having a login state according to the account information AC1 associated with the token 214. (YES in S50 of FIG. 4 described later).

ただし、変形例では、S14において、CPU32は、XMPP接続を利用して、スキャンデータを仲介サーバ50に送信してもよい。この場合、CPU32は、トークン214を仲介サーバ50に送信しなくてもよい。仲介サーバ50は、XMPP接続の接続IDに関連付けられているアカウント情報AC1を特定することができ、この結果、アカウント情報AC1に従ったログイン状態を有するスキャナ10から、スキャンデータを受信したことを知ることができる。   However, in a modified example, in S14, the CPU 32 may transmit the scan data to the mediation server 50 using an XMPP connection. In this case, the CPU 32 does not have to transmit the token 214 to the mediation server 50. The mediation server 50 can specify the account information AC1 associated with the connection ID of the XMPP connection, and as a result, knows that the scan data has been received from the scanner 10 having a login state according to the account information AC1. be able to.

次いで、S18では、CPU32は、ネットワークI/F22を介して、XMPP接続を切断するための信号を仲介サーバ50に送信する。これにより、スキャナ10と仲介サーバ50との間のXMPP接続が切断される。この結果、スキャナ10がアカウント情報AC1に従って仲介サーバ50にログインしている状態が終了する。   Next, in S <b> 18, the CPU 32 transmits a signal for disconnecting the XMPP connection to the mediation server 50 via the network I / F 22. Thereby, the XMPP connection between the scanner 10 and the mediation server 50 is disconnected. As a result, the state where the scanner 10 is logged in to the mediation server 50 according to the account information AC1 ends.

続いて、S20では、CPU32は、トークン214をメモリ34から消去する。S20が終了すると、スキャンデータ送信処理が終了する。   Subsequently, in S <b> 20, the CPU 32 deletes the token 214 from the memory 34. When S20 ends, the scan data transmission process ends.

一方において、S30では、CPU32は、図示省略の自動原稿搬送装置(以下では「ADF(Automatic Document Feederの略)」と呼ぶ)によってスキャン対象の原稿が搬送される場合に、ADF内で原稿の詰まりが発生したのか否かを判断する。CPU32は、ADFから原稿の詰まりの発生を示す信号を受信する場合には、S30でYESと判断して、S32に進む。一方において、CPU32は、ADFから上記の信号を受信しない場合には、S30でNOと判断して、S12に戻る。   On the other hand, in S <b> 30, the CPU 32 jams a document in the ADF when a document to be scanned is conveyed by an automatic document feeder (not shown) (hereinafter referred to as “ADF (Automatic Document Feeder)”). It is determined whether or not this has occurred. If the CPU 32 receives a signal indicating the occurrence of a document jam from the ADF, the CPU 32 determines YES in S30 and proceeds to S32. On the other hand, when the CPU 32 does not receive the above signal from the ADF, the CPU 32 determines NO in S30 and returns to S12.

S32では、CPU32は、ネットワークI/F22を介して、トークン214及び原稿の詰まりを示すエラー通知を、仲介サーバ50に送信する。これにより、仲介サーバ50は、エラー通知と共にトークン214を受信するので、トークン214に関連付けられているアカウント情報AC1に従ったログイン状態を有するスキャナ10において、原稿の詰まりが発生したことを知ることができる(後述の図4のS70でYES)。   In S <b> 32, the CPU 32 transmits an error notification indicating the token 214 and document jam to the mediation server 50 via the network I / F 22. As a result, the mediation server 50 receives the token 214 together with the error notification, so that the scanner 10 having the login state according to the account information AC1 associated with the token 214 knows that a document jam has occurred. Yes (YES in S70 of FIG. 4 described later).

次いで、S34では、CPU32は、原稿の詰まりが解消されない状態で、上記のエラー通知を仲介サーバ50に送信してから一定時間が経過したのか否かを判断する。CPU32は、上記の一定時間が経過した場合には、S34でYESと判断して、S18に進む。この場合、スキャナ10及び仲介サーバ50の間のXMPP接続が切断され(S18)、トークン214がメモリ34から消去される(S20)。そして、スキャナ10から仲介サーバ50へのスキャンデータの送信が実行されず、この結果、保存サーバ100へのスキャンデータのアップロードが実行されない。一方において、CPU32は、上記の一定時間が経過しない場合には、S34でNOと判断して、S36に進む。   Next, in S <b> 34, the CPU 32 determines whether or not a predetermined time has elapsed since the error notification is transmitted to the mediation server 50 in a state where the jammed document is not cleared. If the predetermined time has elapsed, the CPU 32 determines YES in S34 and proceeds to S18. In this case, the XMPP connection between the scanner 10 and the mediation server 50 is disconnected (S18), and the token 214 is deleted from the memory 34 (S20). Then, transmission of scan data from the scanner 10 to the mediation server 50 is not executed, and as a result, upload of scan data to the storage server 100 is not executed. On the other hand, if the predetermined time has not elapsed, the CPU 32 determines NO in S34 and proceeds to S36.

S36では、CPU32は、原稿の詰まりが解消されたのか否かを判断する。ユーザによって原稿の詰まりを解消するための処置が実行された場合には、CPU32は、ADFから原稿の詰まりが解消したことを示す信号を受信する。この場合、CPU32は、S36でYESと判断して、S12に戻る。これにより、CPU32は、スキャンデータを仲介サーバ50に送信することができる(S12でYES、S14)。一方において、CPU32は、ADFから上記の信号を受信しない場合には、S36でNOと判断して、S34に戻る。   In S <b> 36, the CPU 32 determines whether the document jam has been resolved. When the user executes a procedure for clearing a document jam, the CPU 32 receives a signal indicating that the document jam has been cleared from the ADF. In this case, the CPU 32 determines YES in S36 and returns to S12. Thereby, CPU32 can transmit scan data to the mediation server 50 (it is YES at S12, S14). On the other hand, if the CPU 32 does not receive the above signal from the ADF, the CPU 32 determines NO in S36 and returns to S34.

(アップロード準備処理;図4)
図4を参照して、仲介サーバ50のCPU72によって実行されるアップロード準備処理(図2のS4)の内容を説明する。アップロード準備処理が開始される段階では、仲介サーバ50のメモリ74では、ログイン状態であるアカウント情報AC1等に関連付けて、「スキャン準備」を示すステータス情報が記憶されている。
(Upload preparation process; Fig. 4)
The contents of the upload preparation process (S4 in FIG. 2) executed by the CPU 72 of the mediation server 50 will be described with reference to FIG. At the stage where the upload preparation process is started, the memory 74 of the mediation server 50 stores status information indicating “scan preparation” in association with the account information AC1 and the like in the login state.

S50では、仲介サーバ50のCPU72は、トークン214に関連付けられているアカウント情報AC1に従ったログイン状態を有するスキャナ10から、スキャンデータを受信したのか否かを判断する。CPU72は、トークン214及びスキャンデータを同時的に受信する場合(図3のS14参照)には、スキャナ10からスキャンデータを受信したと判断して(S50でYES)、S52に進む。なお、CPU72は、スキャナ10からスキャンデータを受信する場合には、アカウント情報AC1、アカウント情報AC2等に関連付けて、スキャンデータをメモリ74に記憶させる。一方において、CPU72は、スキャナ10からスキャンデータを受信しない場合には、S50でNOと判断して、S70に進む。   In S <b> 50, the CPU 72 of the mediation server 50 determines whether scan data has been received from the scanner 10 having a login state according to the account information AC <b> 1 associated with the token 214. When the CPU 72 receives the token 214 and the scan data simultaneously (see S14 in FIG. 3), the CPU 72 determines that the scan data has been received from the scanner 10 (YES in S50), and proceeds to S52. When receiving scan data from the scanner 10, the CPU 72 stores the scan data in the memory 74 in association with the account information AC1, account information AC2, and the like. On the other hand, if the CPU 72 does not receive scan data from the scanner 10, it determines NO in S50 and proceeds to S70.

S52では、CPU72は、アカウント情報AC1に関連付けられているメモリ74内のステータス情報(即ち、処理ID216に関連付けられているステータス情報)を、「スキャン準備」から、「アップロード準備」に変更する。なお、仮に、この状態で、ユーザが携帯端末150を利用して仲介サーバ50にアクセスすれば、ユーザは、現在のステータスがアップロードの準備中であることを知ることができる。   In S52, the CPU 72 changes the status information in the memory 74 associated with the account information AC1 (that is, status information associated with the process ID 216) from “scan preparation” to “upload preparation”. If the user accesses the mediation server 50 using the mobile terminal 150 in this state, the user can know that the current status is being prepared for uploading.

次いで、S58では、CPU72は、スキャナ10から、XMPP接続を切断するための信号(図3のS18参照)を受信する。これにより、スキャナ10と仲介サーバ50との間のXMPP接続が切断される。   Next, in S58, the CPU 72 receives a signal (see S18 in FIG. 3) for disconnecting the XMPP connection from the scanner 10. Thereby, the XMPP connection between the scanner 10 and the mediation server 50 is disconnected.

次いで、S60では、CPU72は、トークン214及び接続IDをメモリ74から消去する。この結果、メモリ74では、アカウント情報AC1、アカウント情報AC2、サーバ名、処理ID216、ステータス情報(即ち「アップロード準備」)、及び、スキャンデータが関連付けられている状態になる。CPU72は、S60を終了すると、後述のアップロード処理(図5参照)を開始して(S62)、アップロード準備処理を終了する。   Next, in S <b> 60, the CPU 72 deletes the token 214 and the connection ID from the memory 74. As a result, in the memory 74, the account information AC1, account information AC2, server name, process ID 216, status information (ie, “upload preparation”), and scan data are associated with each other. When ending S60, the CPU 72 starts an upload process (see FIG. 5) described later (S62), and ends the upload preparation process.

一方において、S70では、CPU72は、トークン214に関連付けられているアカウント情報AC1に従ったログイン状態を有するスキャナ10から、エラー通知を受信したのか否かを判断する。CPU72は、トークン214及びエラー通知を同時的に受信する場合(図3のS32参照)には、スキャナ10からエラー通知を受信したと判断して(S70でYES)、S72に進む。一方において、CPU72は、スキャナ10からエラー通知を受信しない場合には、S70でNOと判断して、S50に戻る。   On the other hand, in S <b> 70, the CPU 72 determines whether an error notification has been received from the scanner 10 having a login state according to the account information AC <b> 1 associated with the token 214. When the CPU 72 receives the token 214 and the error notification simultaneously (see S32 in FIG. 3), the CPU 72 determines that the error notification has been received from the scanner 10 (YES in S70), and proceeds to S72. On the other hand, if no error notification is received from the scanner 10, the CPU 72 determines NO in S70 and returns to S50.

S72では、CPU72は、アカウント情報AC1に関連付けられているメモリ74内のステータス情報(即ち、処理ID216に関連付けられているステータス情報)を、「スキャン準備」から、「原稿の詰まり」に変更する。なお、仮に、この状態で、ユーザが携帯端末150を利用して仲介サーバ50にアクセスすれば、ユーザは、スキャナ10において原稿の詰まりが発生していることを知ることができ、原稿の詰まりを解消するための処置を実行することができる。   In S72, the CPU 72 changes the status information in the memory 74 associated with the account information AC1 (that is, status information associated with the process ID 216) from “scan preparation” to “document jam”. If the user accesses the mediation server 50 using the mobile terminal 150 in this state, the user can know that the document is jammed in the scanner 10, and the document is jammed. Actions to resolve can be performed.

次いで、S74では、CPU72は、スキャナ10からスキャンデータを受信したのか否かを判断する。S74の処理は、S50の処理と同様である。スキャナ10において原稿の詰まりが解消された場合(図3のS36でYES、S12でYES、S14参照)には、CPU72は、スキャナ10からスキャンデータを受信して、S74でYESと判断して、S52に進む。一方において、CPU72は、スキャナ10からスキャンデータを受信しない場合には、S74でNOと判断して、S76に進む。   Next, in S <b> 74, the CPU 72 determines whether scan data has been received from the scanner 10. The process of S74 is the same as the process of S50. When the document jam is resolved in the scanner 10 (YES in S36 of FIG. 3, YES in S12, S14), the CPU 72 receives the scan data from the scanner 10, determines YES in S74, Proceed to S52. On the other hand, if the CPU 72 does not receive scan data from the scanner 10, the CPU 72 determines NO in S74 and proceeds to S76.

S76では、CPU72は、スキャナ10及び仲介サーバ50の間のXMPP接続が切断されたのか否かを判断する。スキャナ10において原稿の詰まりが解消されない状態で一定時間が経過する場合(図3のS34でYES、S18参照)には、CPU72は、スキャナ10からXMPP接続を切断するための信号を受信する。この場合、CPU72は、S76でYESと判断して、S78に進む。一方において、CPU72は、スキャナ10から上記の信号を受信しない場合には、S76でNOと判断して、S74に戻る。   In S76, the CPU 72 determines whether or not the XMPP connection between the scanner 10 and the mediation server 50 has been disconnected. If the scanner 10 does not clear the jammed document and the fixed time elapses (YES in S34 of FIG. 3, refer to S18), the CPU 72 receives a signal for disconnecting the XMPP connection from the scanner 10. In this case, the CPU 72 determines YES in S76, and proceeds to S78. On the other hand, if the CPU 72 does not receive the above signal from the scanner 10, it determines NO in S76 and returns to S74.

S78では、CPU72は、トークン214、接続ID、アカウント情報AC2、処理ID216、及び、ステータス情報をメモリ74から消去する。この結果、メモリ74では、いずれの情報もアカウント情報AC1に関連付けられていない状態になる。CPU72は、S78を終了すると、後述のアップロード処理(図5参照)を開始せずに(即ちS62を実行せずに)、アップロード準備処理を終了する。   In S <b> 78, the CPU 72 deletes the token 214, connection ID, account information AC <b> 2, process ID 216, and status information from the memory 74. As a result, in the memory 74, no information is associated with the account information AC1. After completing S78, the CPU 72 ends the upload preparation process without starting the later-described upload process (see FIG. 5) (that is, without executing S62).

(アップロード処理;図5)
図5を参照して、図4のS62で開始されるアップロード処理の内容を説明する。アップロード処理が開始される段階では、仲介サーバ50のメモリ74では、アカウント情報AC2等に関連付けて、「アップロード準備」を示すステータス情報が記憶されている(図4のS52参照)。
(Upload processing; Fig. 5)
With reference to FIG. 5, the contents of the upload process started in S62 of FIG. 4 will be described. At the stage where the upload process is started, status information indicating “preparation for upload” is stored in the memory 74 of the mediation server 50 in association with the account information AC2 or the like (see S52 in FIG. 4).

S90では、CPU72は、スキャナ10から、処理ID216及びアカウント情報AC2と共に受信したサーバ名(図2参照)に従って、インターネット上に存在する複数個の保存サーバの中から、保存サーバ100を選択する。そして、CPU72は、アカウント情報AC2を含むログイン要求を、選択済みの保存サーバ100に送信する。なお、メモリ74は、保存サーバ100のURLを予め記憶している。CPU72は、保存サーバ100のURLを利用して、ログイン要求を保存サーバ100に送信する。   In S90, the CPU 72 selects the storage server 100 from a plurality of storage servers on the Internet according to the server name (see FIG. 2) received from the scanner 10 together with the process ID 216 and the account information AC2. Then, the CPU 72 transmits a login request including the account information AC2 to the selected storage server 100. The memory 74 stores the URL of the storage server 100 in advance. The CPU 72 transmits a login request to the storage server 100 using the URL of the storage server 100.

保存サーバ100は、仲介サーバ50からログイン要求を受信すると、ログイン要求に含まれるアカウント情報AC2が、保存サーバ100に登録されているのか否かを判断する。保存サーバ100は、アカウント情報AC2が登録されていると判断する場合には、ログイン成功通知を仲介サーバ50に送信し、アカウント情報AC2が登録されていないと判断する場合には、ログイン失敗通知を仲介サーバ50に送信する。例えば、アカウント情報AC2の有効期限が切れている場合には、アカウント情報AC2が保存サーバ100から消去され得るので、アカウント情報AC2が登録されていないと判断され得る。   When receiving the login request from the mediation server 50, the storage server 100 determines whether the account information AC2 included in the login request is registered in the storage server 100. If the storage server 100 determines that the account information AC2 is registered, the storage server 100 transmits a login success notification to the mediation server 50. If the storage server 100 determines that the account information AC2 is not registered, the storage server 100 issues a login failure notification. It transmits to the mediation server 50. For example, if the account information AC2 has expired, the account information AC2 can be deleted from the storage server 100, so it can be determined that the account information AC2 is not registered.

S92では、CPU72は、保存サーバ100からログイン成功通知を受信したのか否かを判断する。CPU72は、保存サーバ100からログイン成功通知を受信する場合には、S92でYESと判断して、S94に進む。この場合、仲介サーバ50がアカウント情報AC2に従って保存サーバ100にログインしている状態になる。一方において、CPU72は、保存サーバ100からログイン失敗通知を受信する場合には、S92でNOと判断して、S96に進む。   In S <b> 92, the CPU 72 determines whether a login success notification has been received from the storage server 100. When the CPU 72 receives a login success notification from the storage server 100, the CPU 72 determines YES in S92 and proceeds to S94. In this case, the mediation server 50 is logged in to the storage server 100 according to the account information AC2. On the other hand, when receiving a login failure notification from the storage server 100, the CPU 72 determines NO in S92 and proceeds to S96.

S96では、CPU72は、アカウント情報AC2に関連付けられているメモリ74内のステータス情報(即ち、処理ID216に関連付けられているステータス情報)を、「アップロード準備」から、「ログイン失敗」に変更する。なお、仮に、この状態で、ユーザが携帯端末150を利用して仲介サーバ50にアクセスすれば、ユーザは、保存サーバ100へのログインが失敗した結果として、スキャンデータのアップロードが実行されないことを知ることができる。S96が終了すると、アップロード処理を終了する。なお、S96が実行されてから所定時間経過後に、アカウント情報AC2、処理ID216、ステータス情報、及び、スキャンデータが、メモリ74から消去される。   In S96, the CPU 72 changes the status information in the memory 74 associated with the account information AC2 (that is, status information associated with the process ID 216) from “upload preparation” to “login failure”. If the user accesses the mediation server 50 using the mobile terminal 150 in this state, the user knows that the scan data upload is not executed as a result of the login to the storage server 100 having failed. be able to. When S96 ends, the upload process ends. Note that the account information AC2, the process ID 216, the status information, and the scan data are deleted from the memory 74 after a predetermined time has elapsed since the execution of S96.

一方において、S94では、CPU72は、アカウント情報AC2に関連付けられているメモリ74内のステータス情報(即ち、処理ID216に関連付けられているステータス情報)を、「アップロード準備」から、「アップロード中」に変更する。なお、仮に、この状態で、ユーザが携帯端末150を利用して仲介サーバ50にアクセスすれば、ユーザは、現在のステータスが保存サーバ100へのスキャンデータのアップロード中であることを知ることができる。   On the other hand, in S94, the CPU 72 changes the status information in the memory 74 associated with the account information AC2 (that is, status information associated with the process ID 216) from “upload preparation” to “uploading”. To do. If the user accesses the mediation server 50 using the mobile terminal 150 in this state, the user can know that the current status is uploading scan data to the storage server 100. .

次いで、S98では、CPU72は、アカウント情報AC2に関連付けられているメモリ74内のスキャンデータを、保存サーバ100に送信する。特に、CPU72は、アカウント情報AC2に従ったログイン状態を利用して、スキャンデータを保存サーバ100に送信する。なお、上記の「アカウント情報AC2に従ったログイン状態を利用して」の態様としては、例えば、以下の第1及び第2の手法のどちらかを採用することができる。   Next, in S98, the CPU 72 transmits the scan data in the memory 74 associated with the account information AC2 to the storage server 100. In particular, the CPU 72 transmits scan data to the storage server 100 using a login state according to the account information AC2. Note that, for example, one of the following first and second methods can be employed as the above-described aspect of “using the login state according to the account information AC2”.

第1の手法では、アカウント情報AC2に従ったログインが成功する場合に、特定のトークンが保存サーバ100で生成され、当該特定のトークンが仲介サーバ50に送信される。そして、保存サーバ100では、特定のトークン及びアカウント情報AC2が関連付けられる。この場合、仲介サーバ50のCPU72は、特定のトークン及びスキャンデータを保存サーバ100に同時的に送信する。これにより、保存サーバ100は、特定のトークンを介して、アカウント情報AC2及びスキャンデータを関連付けることができる。   In the first method, when the login according to the account information AC <b> 2 is successful, a specific token is generated by the storage server 100 and the specific token is transmitted to the mediation server 50. In the storage server 100, a specific token and account information AC2 are associated. In this case, the CPU 72 of the mediation server 50 transmits a specific token and scan data to the storage server 100 simultaneously. Thereby, the storage server 100 can associate the account information AC2 and the scan data via the specific token.

第2の手法では、アカウント情報AC2に従ったログインが成功する場合に、仲介サーバ50及び保存サーバ100の間に接続(例えばXMPP接続)が確立される。そして、保存サーバ100では、上記の接続を識別するための接続ID及びアカウント情報AC2が関連付けられる。この場合、仲介サーバ50のCPU72は、上記の接続を利用して、スキャンデータを保存サーバ100に送信する。これにより、保存サーバ100は、上記の接続IDを介して、アカウント情報AC2及びスキャンデータを関連付けることができる。   In the second method, when login according to the account information AC2 is successful, a connection (for example, XMPP connection) is established between the mediation server 50 and the storage server 100. In the storage server 100, the connection ID for identifying the connection and the account information AC2 are associated. In this case, the CPU 72 of the mediation server 50 transmits the scan data to the storage server 100 using the above connection. Accordingly, the storage server 100 can associate the account information AC2 and the scan data via the connection ID.

上述したように、保存サーバ100は、仲介サーバ50からスキャンデータを受信すると、アカウント情報AC2及びスキャンデータを関連付けることができる。このために、保存サーバ100は、アカウント情報AC2に対応する場所にスキャンデータを保存することができる。即ち、アカウント情報AC2に対応する場所にスキャンデータがアップロードされる。このように、スキャンデータのアップロードが成功すると、保存サーバ100は、アップロード成功通知を仲介サーバ50に送信する。   As described above, when the storage server 100 receives the scan data from the mediation server 50, the storage server 100 can associate the account information AC2 with the scan data. Therefore, the storage server 100 can store the scan data in a location corresponding to the account information AC2. That is, the scan data is uploaded to a location corresponding to the account information AC2. As described above, when uploading of scan data is successful, the storage server 100 transmits an upload success notification to the mediation server 50.

一方において、例えば、保存サーバ100において、アカウント情報AC2に対応する場所に保存可能な最大のデータサイズが予め決められている状況を想定する。この場合、保存サーバ100は、アカウント情報AC2に対応する場所に既に保存されているデータのデータサイズと、仲介サーバ50から受信されたスキャンデータのデータサイズと、の和が、上記の最大のデータサイズを超える場合には、アカウント情報AC2に対応する場所に、スキャンデータを新たに保存することができない。この場合には、保存サーバ100は、アップロード失敗通知を仲介サーバ50に送信する。   On the other hand, for example, assume that the storage server 100 has a predetermined maximum data size that can be stored in a location corresponding to the account information AC2. In this case, the storage server 100 determines that the sum of the data size of the data already stored in the location corresponding to the account information AC2 and the data size of the scan data received from the mediation server 50 is the maximum data described above. If the size is exceeded, the scan data cannot be newly stored in the location corresponding to the account information AC2. In this case, the storage server 100 transmits an upload failure notification to the mediation server 50.

S100では、CPU72は、保存サーバ100からアップロード成功通知を受信したのか否かを判断する。CPU72は、保存サーバ100からアップロード成功通知を受信する場合には、S100でYESと判断して、S102に進む。一方において、CPU72は、保存サーバ100からアップロード失敗通知を受信する場合には、S100でNOと判断して、S104に進む。   In S <b> 100, the CPU 72 determines whether an upload success notification has been received from the storage server 100. When receiving a successful upload notification from the storage server 100, the CPU 72 determines YES in S100 and proceeds to S102. On the other hand, when receiving the upload failure notification from the storage server 100, the CPU 72 determines NO in S100 and proceeds to S104.

S102では、CPU72は、アカウント情報AC2に関連付けられているメモリ74内のステータス情報(即ち、処理ID216に関連付けられているステータス情報)を、「アップロード中」から、「アップロード成功」に変更する。なお、この状態で、仮に、ユーザが携帯端末150を利用して仲介サーバ50にアクセスすれば、ユーザは、保存サーバ100へのスキャンデータのアップロードが成功したことを知ることができる。S102が終了すると、アップロード処理が終了する。   In S102, the CPU 72 changes the status information in the memory 74 associated with the account information AC2 (that is, status information associated with the process ID 216) from “Uploading” to “Upload successful”. In this state, if the user accesses the mediation server 50 using the mobile terminal 150, the user can know that the scan data has been successfully uploaded to the storage server 100. When S102 ends, the upload process ends.

一方において、S104では、CPU72は、アカウント情報AC2に関連付けられているメモリ74内のステータス情報(即ち、処理ID216に関連付けられているステータス情報)を、「アップロード中」から、「アップロード失敗」に変更する。なお、この状態で、仮に、ユーザが携帯端末150を利用して仲介サーバ50にアクセスすれば、ユーザは、保存サーバ100へのスキャンデータのアップロードが失敗したことを知ることができる。S104が終了すると、アップロード処理が終了する。   On the other hand, in S104, the CPU 72 changes the status information in the memory 74 associated with the account information AC2 (that is, status information associated with the process ID 216) from “Uploading” to “Upload failure”. To do. In this state, if the user accesses the mediation server 50 using the mobile terminal 150, the user can know that the scan data upload to the storage server 100 has failed. When S104 ends, the upload process ends.

なお、S102又はS104が実行される場合には、所定時間経過後に、アカウント情報AC2、処理ID216、ステータス情報、及び、スキャンデータが、メモリ74から消去される。   When S102 or S104 is executed, the account information AC2, process ID 216, status information, and scan data are deleted from the memory 74 after a predetermined time has elapsed.

(アップロードが成功するケース;図6)
図6を参照して、保存サーバ100へのスキャンデータのアップロードが成功するケースを説明する。本ケースは、図2の続きのシーケンスであり、図3〜図5の各処理によって実現される。
(Case where upload is successful; Fig. 6)
With reference to FIG. 6, a case where the upload of scan data to the storage server 100 is successful will be described. This case is a continuation sequence of FIG. 2, and is realized by each process of FIGS.

スキャナ10は、仲介サーバ50からスキャン指示220(図2参照)を受信する場合に、原稿のスキャンを実行して、スキャンデータ300を生成する(図3のS10、S12でYES)。そして、スキャナ10は、トークン214及びスキャンデータ300を仲介サーバ50に送信する(S14)。   When the scanner 10 receives a scan instruction 220 (see FIG. 2) from the mediation server 50, the scanner 10 scans the document and generates scan data 300 (YES in S10 and S12 of FIG. 3). Then, the scanner 10 transmits the token 214 and the scan data 300 to the mediation server 50 (S14).

仲介サーバ50は、スキャナ10からスキャンデータ300を受信すると(図4のS50でYES)、ステータス情報を「スキャン準備」から「アップロード準備」に変更する(S52)。   When receiving the scan data 300 from the scanner 10 (YES in S50 of FIG. 4), the mediation server 50 changes the status information from “scan preparation” to “upload preparation” (S52).

次いで、スキャナ10及び仲介サーバ50の間のXMPP接続が切断され、スキャナ10がアカウント情報AC1に従って仲介サーバ50にログインしている状態が終了する(図3のS18、図4のS58)。そして、スキャナ10においてトークン214が消去され(図3のS20)、仲介サーバ50においてトークン214が消去される(図4のS60)。   Next, the XMPP connection between the scanner 10 and the mediation server 50 is disconnected, and the state where the scanner 10 is logged in to the mediation server 50 according to the account information AC1 ends (S18 in FIG. 3 and S58 in FIG. 4). Then, the token 214 is deleted in the scanner 10 (S20 in FIG. 3), and the token 214 is deleted in the mediation server 50 (S60 in FIG. 4).

ユーザは、携帯端末150を操作して、ステータスの確認のための指示を携帯端末150に入力する。この場合、携帯端末150のCPU162は、アカウント情報AC1を含むログイン要求304を仲介サーバ50に送信して、仲介サーバ50からログイン成功通知306を受信する。即ち、携帯端末150がアカウント情報AC1に従って仲介サーバ50にログインしている状態になる。   The user operates the mobile terminal 150 to input an instruction for status confirmation to the mobile terminal 150. In this case, the CPU 162 of the mobile terminal 150 transmits a login request 304 including the account information AC <b> 1 to the mediation server 50 and receives a login success notification 306 from the mediation server 50. That is, the mobile terminal 150 is logged in to the mediation server 50 according to the account information AC1.

上述したように、携帯端末150のCPU162は、スキャナ10から処理ID216を受信済みである(図2のスキャン受付通知218参照)。CPU162は、仲介サーバ50にログインすると、処理ID216を含むステータス要求308を仲介サーバ50に送信する。   As described above, the CPU 162 of the portable terminal 150 has received the process ID 216 from the scanner 10 (see the scan acceptance notification 218 in FIG. 2). When the CPU 162 logs in to the mediation server 50, the CPU 162 transmits a status request 308 including the process ID 216 to the mediation server 50.

仲介サーバ50(即ちCPU72)は、携帯端末150からステータス要求308を受信すると、メモリ74から、ステータス要求308に含まれる処理ID216に関連付けられているステータス情報を取得する。そして、仲介サーバ50は、取得済みのステータス情報を含むステータス通知310を携帯端末150に送信する。   When receiving the status request 308 from the mobile terminal 150, the mediation server 50 (that is, the CPU 72) acquires status information associated with the process ID 216 included in the status request 308 from the memory 74. Then, the mediation server 50 transmits a status notification 310 including the acquired status information to the mobile terminal 150.

携帯端末150のCPU162は、仲介サーバ50からステータス通知310を受信する。この結果、携帯端末150でステータス画面SC3が表示される(図8参照)。ステータス画面SC3は、ステータス通知310に含まれるステータス情報によって示される「アップロード準備」というメッセージを含む。これにより、ユーザは、現在のステータスがスキャンデータのアップロードの準備中であることを知ることができる。   The CPU 162 of the mobile terminal 150 receives the status notification 310 from the mediation server 50. As a result, the status screen SC3 is displayed on the portable terminal 150 (see FIG. 8). Status screen SC3 includes a message “preparation for upload” indicated by the status information included in status notification 310. This allows the user to know that the current status is being prepared for uploading scan data.

次いで、図6に示されるように、仲介サーバ50は、アカウント情報AC2を含むログイン要求314を保存サーバ100に送信して(図5のS90)、保存サーバ100からログイン成功通知316を受信する(S92でYES)。即ち、仲介サーバ50がアカウント情報AC2に従って保存サーバ100にログインしている状態になる。そして、仲介サーバ50は、ステータス情報を「アップロード準備」から「アップロード中」に変更する(S94)。次いで、仲介サーバ50は、スキャンデータ300を保存サーバ100に送信する(S98)。   Next, as shown in FIG. 6, the mediation server 50 transmits a login request 314 including the account information AC2 to the storage server 100 (S90 in FIG. 5), and receives a login success notification 316 from the storage server 100 ( YES in S92). In other words, the mediation server 50 is logged in to the storage server 100 according to the account information AC2. Then, the mediation server 50 changes the status information from “uploading preparation” to “uploading” (S94). Next, the mediation server 50 transmits the scan data 300 to the storage server 100 (S98).

保存サーバ100は、仲介サーバ50からスキャンデータを受信すると、アカウント情報AC2に対応する場所にスキャンデータ300を保存する。これにより、スキャンデータ300が保存サーバ100にアップロードされる。保存サーバ100は、スキャンデータ300を保存すると、アップロード成功通知318を仲介サーバ50に送信する。   When the storage server 100 receives the scan data from the mediation server 50, the storage server 100 stores the scan data 300 in a location corresponding to the account information AC2. As a result, the scan data 300 is uploaded to the storage server 100. When saving the scan data 300, the saving server 100 transmits an upload success notification 318 to the mediation server 50.

仲介サーバ50は、保存サーバ100からアップロード成功通知318を受信すると(S100でYES)、ステータス情報を「アップロード中」から「アップロード成功」に変更する(S102)。   When receiving the upload success notification 318 from the storage server 100 (YES in S100), the mediation server 50 changes the status information from “Uploading” to “Upload successful” (S102).

携帯端末150のCPU162は、ステータス要求308の場合と同様に、ユーザの指示に従って、処理ID216を含むステータス要求320を仲介サーバ50に送信して、仲介サーバ50からステータス通知322を受信する。この結果、携帯端末150でステータス画面SC4が表示される(図8参照)。ステータス画面SC4は、ステータス通知322に含まれるステータス情報によって示される「アップロード成功」というメッセージを含む。これにより、ユーザは、保存サーバ100へのスキャンデータのアップロードが成功したことを知ることができる。   Similar to the status request 308, the CPU 162 of the portable terminal 150 transmits a status request 320 including the process ID 216 to the mediation server 50 and receives a status notification 322 from the mediation server 50 in accordance with a user instruction. As a result, the status screen SC4 is displayed on the portable terminal 150 (see FIG. 8). The status screen SC4 includes a message “upload successful” indicated by the status information included in the status notification 322. Thereby, the user can know that the upload of the scan data to the storage server 100 is successful.

(原稿の詰まりが発生するケース;図7)
図7を参照して、原稿の詰まりが発生するケースを説明する。本ケースも、図2の続きのシーケンスであり、図3〜図5の各処理によって実現される。
(Case where document jam occurs; Fig. 7)
With reference to FIG. 7, a case where a document jam occurs will be described. This case is also a continuation sequence of FIG. 2, and is realized by each process of FIGS.

スキャナ10では、原稿のスキャンが実行される過程で、原稿の詰まりが発生する。この場合、スキャナ10は、トークン214及びエラー通知402を仲介サーバ50に送信する(図3のS32)。   In the scanner 10, a document jam occurs in the process of scanning the document. In this case, the scanner 10 transmits the token 214 and the error notification 402 to the mediation server 50 (S32 in FIG. 3).

仲介サーバ50は、スキャナ10からエラー通知402を受信すると、ステータス情報を「スキャン準備」から「原稿の詰まり」に変更する(S72)。   Upon receiving the error notification 402 from the scanner 10, the mediation server 50 changes the status information from “scan preparation” to “document jam” (S72).

携帯端末150及び仲介サーバ50の間で実行される各情報404,406,408,410の通信は、図6の各情報304,306,308,310の通信と同様である。ただし、本ケースでは、ステータス通知410は、「原稿の詰まり」を示すステータス情報を含む。   Communication of each information 404, 406, 408, 410 executed between the portable terminal 150 and the mediation server 50 is the same as the communication of each information 304, 306, 308, 310 in FIG. However, in this case, the status notification 410 includes status information indicating “document jam”.

携帯端末150は、仲介サーバ50からステータス通知410を受信する。この結果、携帯端末150でステータス画面SC5が表示される(図8参照)。ステータス画面SC5は、ステータス通知410に含まれるステータス情報によって示される「原稿の詰まり」を示すメッセージを含む。これにより、ユーザは、スキャナ10で原稿の詰まりが発生していることを知ることができ、原稿の詰まりを解消するための処置を実行することができる。   The mobile terminal 150 receives the status notification 410 from the mediation server 50. As a result, the status screen SC5 is displayed on the portable terminal 150 (see FIG. 8). Status screen SC5 includes a message indicating “document jam” indicated by the status information included in status notification 410. As a result, the user can know that the document is jammed in the scanner 10 and can execute a measure for clearing the document jam.

スキャナ10は、原稿の詰まりが解消すると(図3のS36でYES)、原稿のスキャンを実行して、トークン214及びスキャンデータ300を仲介サーバ50に送信する(S14)。この後の各処理は、図6のケースと同様である。   When the document jam is eliminated (YES in S36 of FIG. 3), the scanner 10 scans the document and transmits the token 214 and the scan data 300 to the mediation server 50 (S14). The subsequent processes are the same as in the case of FIG.

(実施例の効果)
本実施例によると、図2に示されるように、スキャナ10は、ユーザが携帯端末150をスキャナ10に近づけるための1回の操作を実行すれば(即ちいわゆるワンタッチの操作を実行すれば)、1回のNFC通信を利用して、携帯端末150から2個のアカウント情報AC1,AC2の双方を受信することができる。従って、2個のアカウント情報AC1,AC2の通信のために、ユーザが携帯端末150をスキャナ10に近づけるための操作を2回に亘って実行しなければならない構成と比べて、ユーザの利便性が向上する。
(Effect of Example)
According to the present embodiment, as shown in FIG. 2, if the user performs a single operation for the user to bring the mobile terminal 150 closer to the scanner 10 (that is, if a so-called one-touch operation is performed), Both of the two pieces of account information AC1 and AC2 can be received from the mobile terminal 150 using one NFC communication. Therefore, compared with the configuration in which the user has to execute the operation for bringing the portable terminal 150 close to the scanner 10 twice for the communication of the two pieces of account information AC1 and AC2, the convenience of the user is improved. improves.

スキャナ10は、携帯端末150からアカウント情報AC1を受信するので、アカウント情報AC1を利用して仲介サーバ50にログインすることができる。その後、スキャナ10は、仲介サーバ50からスキャン指示220を受信する。この場合、図6に示されるように、スキャナ10は、スキャンデータ300を生成し、トークン214及びスキャンデータ300を仲介サーバ50に送信する。   Since the scanner 10 receives the account information AC1 from the portable terminal 150, the scanner 10 can log in to the mediation server 50 using the account information AC1. Thereafter, the scanner 10 receives a scan instruction 220 from the mediation server 50. In this case, as illustrated in FIG. 6, the scanner 10 generates the scan data 300 and transmits the token 214 and the scan data 300 to the mediation server 50.

また、図2に示されるように、スキャナ10は、携帯端末150からアカウント情報AC2を受信するので、アカウント情報AC2を仲介サーバ50に送信することができる。ここで、スキャナ10は、アカウント情報AC2及び処理ID216が関連付けられた状態で、アカウント情報AC2及び処理ID216を仲介サーバ50に送信する。この結果、仲介サーバ50は、処理ID216に含まれるトークン214を介して、アカウント情報AC1及びアカウント情報AC2を関連付けることができる。   Further, as shown in FIG. 2, the scanner 10 receives the account information AC2 from the portable terminal 150, so that the account information AC2 can be transmitted to the mediation server 50. Here, the scanner 10 transmits the account information AC2 and the process ID 216 to the mediation server 50 in a state where the account information AC2 and the process ID 216 are associated with each other. As a result, the mediation server 50 can associate the account information AC1 and the account information AC2 via the token 214 included in the process ID 216.

図6に示されるように、仲介サーバ50は、アカウント情報AC2を利用して、保存サーバ100にログインすることができる。また、仲介サーバ50は、アカウント情報AC1及びアカウント情報AC2を関連付けることができるので、アカウント情報AC1に従ったログイン状態を有するスキャナ10から受信されたスキャンデータ300を、アカウント情報AC2に従ったログイン状態を利用して、保存サーバ100に送信することができる。この結果、保存サーバ100は、アカウント情報AC2に対応する場所にスキャンデータ300を保存(即ちアップロード)することができる。   As shown in FIG. 6, the mediation server 50 can log in to the storage server 100 using the account information AC2. Further, since the mediation server 50 can associate the account information AC1 and the account information AC2, the scan data 300 received from the scanner 10 having the login state according to the account information AC1 is stored in the login state according to the account information AC2. Can be transmitted to the storage server 100. As a result, the storage server 100 can store (that is, upload) the scan data 300 in a location corresponding to the account information AC2.

上述したように、本実施例によると、ユーザは、携帯端末150を利用して、スキャナ10によって生成されるスキャンデータ300を、仲介サーバ50を介して、保存サーバ100に容易に保存(即ちアップロード)させることができる。   As described above, according to this embodiment, the user can easily save (that is, upload) the scan data 300 generated by the scanner 10 to the storage server 100 via the mediation server 50 using the portable terminal 150. ).

また、本実施例では、携帯端末150とは異なる携帯端末が利用される場合でも、携帯端末150の場合と同様に、スキャンデータを保存サーバ100にアップロードさせることができる。即ち、仲介サーバ50は、各ユーザが各携帯端末をスキャナ10に近づける場合に、各ユーザに対応する各アカウント情報に対応する各場所(即ち異なる場所)に、スキャンデータをアップロードすることができる。本実施例によると、各携帯端末の各ユーザは、同じスキャナ10を利用して、各ユーザの各アカウント情報に対応する各場所に、スキャンデータをアップロードさせることができる。   In the present embodiment, even when a mobile terminal different from the mobile terminal 150 is used, the scan data can be uploaded to the storage server 100 as in the case of the mobile terminal 150. That is, when each user brings each portable terminal close to the scanner 10, the mediation server 50 can upload scan data to each location corresponding to each account information corresponding to each user (that is, a different location). According to the present embodiment, each user of each portable terminal can upload scan data to each location corresponding to each account information of each user using the same scanner 10.

特に、本実施例によると、図6に示されるように、スキャナ10から仲介サーバ50へのスキャンデータ300の送信が終了すると、スキャナ10と仲介サーバ50との間のXMPP接続、即ち、アカウント情報AC1に従ったXMPP接続が、自動的に切断される(図3のS18、図4のS58参照)。仮に、スキャンデータ300の送信が終了しても、当該XMPP接続が維持される構成を採用すると、他の携帯端末のユーザは、スキャンデータのアップロードを実行することを望む場合に、当該XMPP接続を切断させなければならない。例えば、他の携帯端末のユーザは、スキャナ10の電源をOFFしたり、スキャナ10に操作部12に所定の操作を実行したりして、XMPP接続を切断させなければならない。これに対し、本実施例によると、スキャンデータ300の送信が終了すると、XMPP接続が自動的に切断されるので、他の携帯端末のユーザは、当該XMPP接続を切断させるための操作を実行せずに済む。このために、ユーザの利便性が向上する。   In particular, according to the present embodiment, as shown in FIG. 6, when the transmission of the scan data 300 from the scanner 10 to the mediation server 50 is completed, the XMPP connection between the scanner 10 and the mediation server 50, i.e., account information. The XMPP connection according to AC1 is automatically disconnected (see S18 in FIG. 3 and S58 in FIG. 4). If the XMPP connection is maintained even after the transmission of the scan data 300 is completed, the user of another mobile terminal may use the XMPP connection when the user wishes to upload the scan data. Must be cut off. For example, a user of another mobile terminal must disconnect the XMPP connection by turning off the power of the scanner 10 or causing the scanner 10 to perform a predetermined operation on the operation unit 12. On the other hand, according to the present embodiment, when the transmission of the scan data 300 is completed, the XMPP connection is automatically disconnected. Therefore, the user of another mobile terminal must execute an operation for disconnecting the XMPP connection. You do n’t have to. This improves user convenience.

(対応関係)
仲介サーバ50、保存サーバ100が、それぞれ、「第1のサーバ」、「第2のサーバ」の一例である。トークン214が、「第1のデータ」の一例である。処理ID216が、「第2のデータ」及び「処理識別情報」の一例である。NFCI/F16、ネットワークI/F22が、それぞれ、「第1のインターフェース」、「第2のインターフェース」の一例である。
(Correspondence)
The mediation server 50 and the storage server 100 are examples of “first server” and “second server”, respectively. The token 214 is an example of “first data”. The process ID 216 is an example of “second data” and “process identification information”. The NFC I / F 16 and the network I / F 22 are examples of “first interface” and “second interface”, respectively.

スキャナ10によって実行される各処理は、以下の対応関係を有する。図2において、携帯端末150からNFC情報208を受信する処理、ログイン要求210を仲介サーバ50に送信する処理、仲介サーバ50からログイン成功通知212を受信する処理、処理ID216を生成する処理、仲介サーバ50からスキャン指示220を受信する処理、アカウント情報AC2及び処理ID216を仲介サーバ50に送信する処理が、それぞれ、「アカウント情報受信部(第1のアカウント情報受信部)」、「ログイン部」、「データ受信部」、「生成部」、「指示受信部」、「アカウント情報送信部」によって実行される処理の一例である。また、スキャン受付通知218を携帯端末150に送信する処理、及び、処理ID216を仲介サーバ50に送信する処理が、「識別情報送信部」によって実行される処理の一例である。図3のS10の処理、S14の処理が、それぞれ、「スキャン制御部」、「スキャンデータ送信部(第1のスキャンデータ送信部)」によって実行される処理の一例である。   Each process executed by the scanner 10 has the following correspondence. In FIG. 2, the process of receiving the NFC information 208 from the portable terminal 150, the process of transmitting the login request 210 to the mediation server 50, the process of receiving the login success notification 212 from the mediation server 50, the process of generating the process ID 216, the mediation server 50, the process of receiving the scan instruction 220 from the process 50, and the process of transmitting the account information AC2 and the process ID 216 to the mediation server 50 are “account information receiving unit (first account information receiving unit)”, “login unit”, “ It is an example of processing executed by a “data reception unit”, “generation unit”, “instruction reception unit”, and “account information transmission unit”. Further, the process of transmitting the scan acceptance notification 218 to the portable terminal 150 and the process of transmitting the process ID 216 to the mediation server 50 are examples of processes executed by the “identification information transmitting unit”. The processes in S10 and S14 in FIG. 3 are examples of processes executed by the “scan control unit” and the “scan data transmission unit (first scan data transmission unit)”, respectively.

仲介サーバ50によって実行される各処理は、以下の対応関係を有する。図2において、スキャナ10からログイン要求210を受信してログイン成功通知212をスキャナ10に送信する処理、スキャン指示220をスキャナ10に送信する処理、スキャナ10からアカウント情報AC2を受信する処理が、それぞれ、「ログイン制御部」、「指示送信部」、「第2のアカウント情報受信部」によって実行される処理の一例である。図4において、S50でスキャナ10からスキャンデータを受信する処理が、「スキャンデータ受信部」によって実行される処理の一例である。図5において、S90及びS98の処理が、「第2のスキャンデータ送信部」によって実行される処理の一例である。また、図6において、ステータス通知310を携帯端末150に送信する処理が、「状況情報送信部」によって実行される処理の一例である。   Each process executed by the mediation server 50 has the following correspondence. In FIG. 2, a process of receiving a login request 210 from the scanner 10 and transmitting a login success notification 212 to the scanner 10, a process of transmitting a scan instruction 220 to the scanner 10, and a process of receiving account information AC2 from the scanner 10, respectively. , “Login control unit”, “instruction transmission unit”, and “second account information reception unit”. In FIG. 4, the process of receiving scan data from the scanner 10 in S <b> 50 is an example of a process executed by the “scan data receiving unit”. In FIG. 5, the processing of S90 and S98 is an example of processing executed by the “second scan data transmission unit”. In FIG. 6, the process of transmitting the status notification 310 to the portable terminal 150 is an example of the process executed by the “situation information transmission unit”.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。   Specific examples of the present invention have been described in detail above, but these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and changes of the specific examples illustrated above. The modifications of the above embodiment are listed below.

(変形例1)上記の実施例では、図2に示されるように、スキャナ10は、NFC通信を利用しているが、これに代えて、赤外線通信、Transfer Jet等のNFCとは異なる規格に従った近距離無線通信を利用してもよい。本変形例でも、スキャナ10は、携帯端末150をスキャナ10に近づけるための1回の操作に応じた1回の無線通信を利用して、携帯端末150から2個のアカウント情報AC1,AC2の双方を受信することができる。本変形例では、赤外線、Transfer Jet等の無線通信が、「1回の無線通信」の一例である。 (Modification 1) In the above embodiment, as shown in FIG. 2, the scanner 10 uses NFC communication, but instead of this, the standard differs from NFC such as infrared communication, Transfer Jet, etc. You may use the near field communication which followed. Also in this modified example, the scanner 10 uses the wireless communication of one time corresponding to one operation for bringing the mobile terminal 150 close to the scanner 10, and both of the two account information AC <b> 1 and AC <b> 2 from the mobile terminal 150. Can be received. In the present modification, wireless communication such as infrared or transfer jet is an example of “one wireless communication”.

(変形例2)上記の実施例では、図2に示されるように、スキャナ10は、仲介サーバ50からスキャン指示220を受信する前に、アカウント情報AC2を仲介サーバ50に送信する。これに代えて、スキャナ10は、仲介サーバ50からスキャン指示220を受信した後に、アカウント情報AC2を仲介サーバ50に送信してもよい。例えば、スキャナ10は、原稿のスキャンが終了した後(即ち図3のS12でYESの後)であって、スキャンデータ300を仲介サーバ50に送信する前(即ち図3のS14の前)に、アカウント情報AC2を仲介サーバ50に送信してもよい。また、例えば、スキャナ10は、スキャンデータ300を仲介サーバ50に送信した後(即ち図3のS14の後)であって、XMPP接続を切断する前(即ち図3のS18の前)に、アカウント情報AC2を仲介サーバ50に送信してもよい。一般的に言うと、アカウント情報送信部は、第1のサーバからスキャン指示が受信される前に、第2のアカウント情報を第1のサーバに送信してもよいし、第1のサーバからスキャン指示が受信された後に、第2のアカウント情報を第1のサーバに送信してもよい。 (Modification 2) In the above embodiment, as shown in FIG. 2, the scanner 10 transmits the account information AC <b> 2 to the mediation server 50 before receiving the scan instruction 220 from the mediation server 50. Alternatively, the scanner 10 may transmit the account information AC2 to the mediation server 50 after receiving the scan instruction 220 from the mediation server 50. For example, after the scanning of the document is completed (that is, after YES in S12 in FIG. 3), the scanner 10 before the scan data 300 is transmitted to the mediation server 50 (that is, before S14 in FIG. 3). The account information AC2 may be transmitted to the mediation server 50. Further, for example, the scanner 10 transmits the scan data 300 to the mediation server 50 (that is, after S14 in FIG. 3) and before disconnecting the XMPP connection (that is, before S18 in FIG. 3). The information AC2 may be transmitted to the mediation server 50. Generally speaking, the account information transmission unit may transmit the second account information to the first server or the scan from the first server before the scan instruction is received from the first server. After the instruction is received, the second account information may be transmitted to the first server.

(変形例3)上記の実施例では、図2に示されるように、スキャナ10は、処理ID216及びアカウント情報AC2が関連付けられた状態で、処理ID216及びアカウント情報AC2を仲介サーバ50に送信する(即ち、処理ID216及びアカウント情報AC2を同時的に送信する)。この結果、仲介サーバ50は、処理ID216に含まれるトークン214を介して、アカウント情報AC1及びアカウント情報AC2を関連付けることができる。これに代えて、以下の(1)〜(3)のいずれの手法が採用されてもよい。 (Modification 3) In the above embodiment, as shown in FIG. 2, the scanner 10 transmits the process ID 216 and the account information AC2 to the mediation server 50 in a state where the process ID 216 and the account information AC2 are associated ( That is, the process ID 216 and the account information AC2 are transmitted simultaneously). As a result, the mediation server 50 can associate the account information AC1 and the account information AC2 via the token 214 included in the process ID 216. Instead of this, any of the following methods (1) to (3) may be adopted.

(1)スキャナ10は、処理ID216を生成せずに、トークン214及びアカウント情報AC2が関連付けられた状態で、トークン214及びアカウント情報AC2を仲介サーバ50に送信してもよい。本変形例でも、仲介サーバ50は、トークン214を介して、2個のアカウント情報AC1,AC2を関連付けることができる。本変形例では、トークン214が「第1のデータ」及び「第2のデータ」の一例であり、「第1のデータ」及び「第2のデータ」が一致する。 (1) The scanner 10 may transmit the token 214 and the account information AC2 to the mediation server 50 in a state where the token 214 and the account information AC2 are associated without generating the process ID 216. Also in this modification, the mediation server 50 can associate two pieces of account information AC1 and AC2 via the token 214. In the present modification, the token 214 is an example of “first data” and “second data”, and “first data” and “second data” match.

(2)仲介サーバ50は、トークン214を生成した後に、さらに、トークン214を利用せずにユニークなIDを生成し、当該ID及びアカウント情報AC1を関連付けて記憶してもよい。そして、仲介サーバ50は、トークン214と上記のIDとを含むログイン成功通知212をスキャナ10に送信してもよい。スキャナ10は、上記のID及びアカウント情報AC2が関連付けられた状態で、上記のID及びアカウント情報AC2を仲介サーバ50に送信してもよい。本変形例では、仲介サーバ50は、上記のIDを介して、2個のアカウント情報AC1,AC2を関連付けることができる。本変形例では、上記のIDが「第1のデータ」及び「第2のデータ」の一例であり、「第1のデータ」及び「第2のデータ」が一致する。 (2) After generating the token 214, the mediation server 50 may further generate a unique ID without using the token 214, and store the ID and account information AC1 in association with each other. Then, the mediation server 50 may transmit a login success notification 212 including the token 214 and the above ID to the scanner 10. The scanner 10 may transmit the ID and account information AC2 to the mediation server 50 in a state where the ID and account information AC2 are associated with each other. In this modification, the mediation server 50 can associate the two pieces of account information AC1 and AC2 via the above ID. In the present modification, the ID is an example of “first data” and “second data”, and “first data” and “second data” match.

(3)上記の実施例及び上記の変形例(1)、(2)では、スキャナ10は、アカウント情報AC2と共に、2個のアカウント情報AC1,AC2の関連付けのための何らかのデータ(例えば、処理ID216、トークン214、ID)を、仲介サーバ50に送信する。これに代えて、スキャナ10は、アカウント情報AC2と共にデータを送信しなくてもよく、XMPP接続を利用して、アカウント情報AC2を仲介サーバ50に送信してもよい。上記の実施例でも説明したように、仲介サーバ50では、XMPP接続を識別するための接続ID及びアカウント情報AC1が関連付けられている。従って、仲介サーバ50は、アカウント情報AC2の受信に利用されたXMPP接続の接続IDを介して、2個のアカウント情報AC1,AC2を関連付けることができる。本変形例も、「第1のアカウント情報と第2のアカウント情報とが第1のサーバで関連付けられる状態で、第2のアカウント情報を第1のサーバに送信する」という構成の一例である。 (3) In the above embodiment and the above modification examples (1) and (2), the scanner 10 has some data (for example, process ID 216) for associating the two account information AC1 and AC2 together with the account information AC2. , Token 214, ID) to the mediation server 50. Instead of this, the scanner 10 may not transmit the data together with the account information AC2, and may transmit the account information AC2 to the mediation server 50 using the XMPP connection. As described in the above embodiment, in the mediation server 50, the connection ID for identifying the XMPP connection and the account information AC1 are associated. Therefore, the mediation server 50 can associate the two pieces of account information AC1 and AC2 via the connection ID of the XMPP connection used for receiving the account information AC2. This modification is also an example of a configuration of “transmitting the second account information to the first server in a state where the first account information and the second account information are associated with each other”.

(変形例4)上記の実施例では、図6に示されるように、仲介サーバ50は、スキャナ10からスキャンデータ300を受信した後に、アカウント情報AC2を利用して保存サーバ100にログインする。これに代えて、仲介サーバ50は、スキャン指示220(図2)をスキャナ10に送信する前に、アカウント情報AC2を利用して保存サーバ100へのログインを試行してもよい。そして、仲介サーバ50は、ログインが成功する場合に、スキャン指示220をスキャナ10に送信し、ログインが成功しない場合に、スキャン指示220をスキャナ10に送信しなくてもよい。本変形例によると、スキャナ10は、保存サーバ100にログインすることができないことに起因して、アップロードすることができない場合に、スキャンデータを生成せずに済む。 (Modification 4) In the above embodiment, as shown in FIG. 6, after receiving the scan data 300 from the scanner 10, the mediation server 50 logs in to the storage server 100 using the account information AC2. Instead, the mediation server 50 may attempt to log in to the storage server 100 using the account information AC2 before transmitting the scan instruction 220 (FIG. 2) to the scanner 10. The mediation server 50 does not need to transmit the scan instruction 220 to the scanner 10 when the login is successful, and does not transmit the scan instruction 220 to the scanner 10 when the login is not successful. According to this modification, the scanner 10 does not need to generate scan data when it cannot upload due to the inability to log in to the storage server 100.

(変形例5)「スキャナ」は、スキャン実行部を備えるあらゆるデバイス(例えば、スキャン機能及び印刷機能を含む多機能を実行可能な多機能機、FAX装置等)を含む。例えば、送信側のFAX装置(即ち「スキャナ」の一例)は、仲介サーバ50を介してFAXデータ(即ち「スキャンデータ」の一例)を保存サーバ100にアップロードさせることによって、FAX送信を実行してもよい。これにより、受信側のFAX装置は、仲介サーバ50からFAXデータを受信することによって、FAX受信を実行することができる。 (Modification 5) The “scanner” includes any device including a scan execution unit (for example, a multi-function device capable of executing a multi-function including a scan function and a print function, a FAX apparatus, etc.). For example, the transmission-side FAX apparatus (that is, an example of “scanner”) performs FAX transmission by uploading FAX data (that is, an example of “scan data”) to the storage server 100 via the mediation server 50. Also good. As a result, the reception-side FAX apparatus can execute FAX reception by receiving FAX data from the mediation server 50.

(変形例6)上記の各実施例では、スキャナ10及び仲介サーバ50のCPU32,72がメモリ34,74内のプログラム(即ちソフトウェア)を実行することによって、図2〜図7の各処理が実現される。これに代えて、各処理のうちの少なくとも1つは、論理回路等のハードウェアによって実現されてもよい。 (Modification 6) In each of the above-described embodiments, the CPUs 32 and 72 of the scanner 10 and the mediation server 50 execute the programs (that is, software) in the memories 34 and 74, thereby realizing the processes shown in FIGS. Is done. Alternatively, at least one of the processes may be realized by hardware such as a logic circuit.

2:通信システム、10:スキャナ、12:操作部、14:表示部、16:NFCI/F、20:スキャン実行部、22:ネットワークI/F、30:制御部、32:CPU、34:メモリ、50:仲介サーバ、60:ネットワークI/F、70:制御部、72:CPU、74:メモリ、100:保存サーバ、150:携帯端末、156:NFCI/F   2: communication system, 10: scanner, 12: operation unit, 14: display unit, 16: NFC I / F, 20: scan execution unit, 22: network I / F, 30: control unit, 32: CPU, 34: memory 50: Mediation server, 60: Network I / F, 70: Control unit, 72: CPU, 74: Memory, 100: Storage server, 150: Portable terminal, 156: NFC I / F

Claims (10)

スキャナであって、
スキャン実行部と、
第1のサーバにログインするための第1のアカウント情報と、第2のサーバにログインするための第2のアカウント情報と、の双方を、ユーザによって実行される1回の操作に応じた1回の無線通信を利用して、前記携帯端末から受信するアカウント情報受信部であって、前記第1のサーバは、前記スキャナから前記第2のサーバへのスキャンデータの送信を仲介し、前記第2のサーバは、前記スキャンデータを保存する、前記アカウント情報受信部と、
前記第1のアカウント情報を利用して前記第1のサーバにログインするログイン部と、
前記第1のサーバへの前記ログインの後に、前記第1のサーバからスキャン指示を受信する指示受信部と、
前記第1のサーバから前記スキャン指示が受信される場合に、原稿のスキャンを前記スキャン実行部に実行させて、特定のスキャンデータを生成するスキャン制御部と、
前記特定のスキャンデータを前記第1のサーバに送信するスキャンデータ送信部と、
前記第1のアカウント情報と前記第2のアカウント情報とが前記第1のサーバで関連付けられる状態で、前記第2のアカウント情報を前記第1のサーバに送信するアカウント情報送信部であって、この結果、前記第1のサーバは、前記第2のアカウント情報を利用して前記第2のサーバにログインして、前記特定のスキャンデータを前記第2のサーバに送信する、前記アカウント情報送信部と、
を備える、スキャナ。
A scanner,
A scan execution unit;
Both the first account information for logging in to the first server and the second account information for logging in to the second server are set once according to one operation executed by the user. An account information receiving unit that receives from the portable terminal using wireless communication of the first, wherein the first server mediates transmission of scan data from the scanner to the second server, and The server stores the scan data, the account information receiving unit,
A login unit for logging in to the first server using the first account information;
An instruction receiving unit that receives a scan instruction from the first server after the login to the first server;
A scan control unit that, when the scan instruction is received from the first server, causes the scan execution unit to scan a document and generates specific scan data;
A scan data transmission unit for transmitting the specific scan data to the first server;
An account information transmitting unit configured to transmit the second account information to the first server in a state in which the first account information and the second account information are associated with each other in the first server; As a result, the first server logs in to the second server using the second account information and transmits the specific scan data to the second server; ,
Comprising a scanner.
前記アカウント情報送信部は、前記第1のサーバから前記スキャン指示が受信される前に、前記第2のアカウント情報を前記第1のサーバに送信する、請求項1に記載のスキャナ。   The scanner according to claim 1, wherein the account information transmission unit transmits the second account information to the first server before the scan instruction is received from the first server. 前記スキャナは、さらに、
前記第1のサーバから、前記第1のサーバで前記第1のアカウント情報に関連付けられた第1のデータを受信するデータ受信部を備え、
前記アカウント情報送信部は、前記第1のデータに基づく第2のデータと、前記第2のアカウント情報と、を関連付けて、前記第1のサーバに送信する、請求項1又は2に記載のスキャナ。
The scanner further includes
A data receiving unit configured to receive, from the first server, first data associated with the first account information in the first server;
The scanner according to claim 1, wherein the account information transmission unit associates the second data based on the first data and the second account information and transmits the second data to the first server. .
前記スキャナは、さらに、
前記スキャン指示に基づいて実行されるべき処理を識別するための処理識別情報を生成する生成部と、
前記処理識別情報を、前記携帯端末と、前記第1のサーバと、に送信する識別情報送信部と、
を備える、請求項1又は2に記載のスキャナ。
The scanner further includes
A generation unit that generates process identification information for identifying a process to be executed based on the scan instruction;
An identification information transmitting unit for transmitting the processing identification information to the portable terminal and the first server;
The scanner according to claim 1, comprising:
前記識別情報送信部は、前記1回の無線通信を利用して、前記処理識別情報を前記携帯端末に送信する、請求項4に記載のスキャナ。   The scanner according to claim 4, wherein the identification information transmission unit transmits the processing identification information to the mobile terminal using the one-time wireless communication. 前記1回の無線通信は、NFC(Near Field Communicationの略)規格に従った無線通信である、請求項1から5のいずれか一項に記載のスキャナ。   The scanner according to any one of claims 1 to 5, wherein the one-time wireless communication is wireless communication according to NFC (Near Field Communication) standard. 前記スキャナは、さらに、
無線通信を実行するための第1のインターフェースを備え、
前記ユーザによって実行される前記1回の操作は、前記第1のインターフェースと前記携帯端末との間の距離であるデバイス間距離が、特定の距離以下になるように、前記携帯端末を前記スキャナに近づける操作であり、
前記1回の無線通信は、前記ユーザによって実行される前記1回の操作に起因して、前記デバイス間距離が前記特定の距離より大きい第1の状態から前記特定の距離以下である第2の状態に移行する第1のタイミングと、前記第2の状態から前記第1の状態に戻る第2のタイミングと、の間の期間に実行される無線通信であり、
前記アカウント情報受信部は、前記第1のインターフェースを介した前記1回の無線通信を利用して、前記携帯端末から前記第1のアカウント情報と第2のアカウント情報との双方を受信する、請求項1から6のいずれか一項に記載のスキャナ。
The scanner further includes
A first interface for performing wireless communication;
The one-time operation executed by the user causes the portable terminal to be placed on the scanner so that a device-to-device distance that is a distance between the first interface and the portable terminal is equal to or less than a specific distance. Is an operation to bring it closer,
The one-time wireless communication is a second state in which the inter-device distance is less than or equal to the specific distance from the first state that is greater than the specific distance due to the one operation performed by the user. Wireless communication executed in a period between a first timing of transition to a state and a second timing of returning from the second state to the first state;
The account information receiving unit receives both the first account information and the second account information from the mobile terminal using the one-time wireless communication via the first interface. Item 7. The scanner according to any one of Items 1 to 6.
前記スキャナは、さらに、
前記第1のインターフェースとは異なる第2のインターフェースを備え、
前記ログイン部は、前記第2のインターフェースを介して、前記第1のアカウント情報を利用して前記第1のサーバにログインし、
前記指示受信部は、前記第2のインターフェースを介して、前記第1のサーバから前記スキャン指示を受信し、
前記スキャンデータ送信部は、前記第2のインターフェースを介して、前記特定のスキャンデータを前記第1のサーバに送信し、
前記アカウント情報送信部は、前記第2のインターフェースを介して、前記第2のアカウント情報を前記第1のサーバに送信する、請求項7に記載のスキャナ。
The scanner further includes
A second interface different from the first interface;
The login unit logs in to the first server using the first account information via the second interface,
The instruction receiving unit receives the scan instruction from the first server via the second interface;
The scan data transmission unit transmits the specific scan data to the first server via the second interface;
The scanner according to claim 7, wherein the account information transmission unit transmits the second account information to the first server via the second interface.
通信システムであって、
スキャナと、
前記スキャナから第2のサーバへのスキャンデータの送信を仲介する第1のサーバであって、前記第2のサーバは前記スキャンデータを保存する、前記第1のサーバと、を備え、
前記スキャナは、
スキャン実行部と、
前記第1のサーバにログインするための第1のアカウント情報と、前記第2のサーバにログインするための第2のアカウント情報と、の双方を、ユーザによって実行される1回の操作に応じた1回の無線通信を利用して、前記携帯端末から受信する第1のアカウント情報受信部と、
前記第1のアカウント情報を含むログイン要求を前記第1のサーバに送信して、前記第1のサーバにログインするログイン部と、
前記第1のサーバへの前記ログインの後に、前記第1のサーバからスキャン指示を受信する指示受信部と、
前記第1のサーバから前記スキャン指示が受信される場合に、原稿のスキャンを前記スキャン実行部に実行させて、特定のスキャンデータを生成するスキャン制御部と、
前記特定のスキャンデータを前記第1のサーバに送信する第1のスキャンデータ送信部と、
前記第1のアカウント情報と前記第2のアカウント情報とが前記第1のサーバで関連付けられる状態で、前記第2のアカウント情報を前記第1のサーバに送信するアカウント情報送信部と、を備え、
前記第1のサーバは、
前記スキャナから前記第1のアカウント情報を含む前記ログイン要求を受信して、前記スキャナの前記第1のサーバへの前記ログインを許容するログイン制御部と、
前記スキャナの前記第1のサーバへの前記ログインの後に、前記スキャン指示を前記スキャナに送信する指示送信部と、
前記スキャナから前記特定のスキャンデータを受信するスキャンデータ受信部と、
前記第1のアカウント情報と前記第2のアカウント情報とが関連付けられる状態で、前記スキャナから前記第2のアカウント情報を受信する第2のアカウント情報受信部と、
前記第2のアカウント情報を利用して前記第2のサーバにログインして、前記特定のスキャンデータを前記第2のサーバに送信する第2のスキャンデータ送信部と、を備える、通信システム。
A communication system,
A scanner,
A first server that mediates transmission of scan data from the scanner to a second server, wherein the second server includes the first server that stores the scan data;
The scanner is
A scan execution unit;
Both the first account information for logging in to the first server and the second account information for logging in to the second server are in accordance with a single operation executed by the user. A first account information receiving unit that receives from the mobile terminal using one wireless communication;
A login unit that transmits a login request including the first account information to the first server, and logs in to the first server;
An instruction receiving unit that receives a scan instruction from the first server after the login to the first server;
A scan control unit that, when the scan instruction is received from the first server, causes the scan execution unit to scan a document and generates specific scan data;
A first scan data transmission unit for transmitting the specific scan data to the first server;
An account information transmitting unit configured to transmit the second account information to the first server in a state in which the first account information and the second account information are associated with each other in the first server;
The first server is
A login control unit that receives the login request including the first account information from the scanner and allows the login of the scanner to the first server;
An instruction transmission unit for transmitting the scan instruction to the scanner after the login of the scanner to the first server;
A scan data receiving unit for receiving the specific scan data from the scanner;
A second account information receiving unit for receiving the second account information from the scanner in a state in which the first account information and the second account information are associated;
A communication system comprising: a second scan data transmission unit that logs in to the second server using the second account information and transmits the specific scan data to the second server.
前記スキャナは、さらに、
前記スキャン指示に基づいて実行されるべき処理を識別するための処理識別情報を生成する生成部と、
前記処理識別情報を、前記携帯端末と、前記第1のサーバと、に送信する識別情報送信部と、を備え、
前記第1のサーバは、さらに、
前記携帯端末から前記処理識別情報が受信される場合に、前記処理識別情報によって識別される前記処理の状況を示す状況情報を前記携帯端末に送信する状況情報送信部を備える、請求項9に記載の通信システム。
The scanner further includes
A generation unit that generates process identification information for identifying a process to be executed based on the scan instruction;
An identification information transmitting unit that transmits the processing identification information to the portable terminal and the first server;
The first server further includes:
The situation information transmission part which transmits the situation information which shows the situation of the process identified by the process identification information to the portable terminal when the process identification information is received from the portable terminal. Communication system.
JP2013073560A 2013-03-29 2013-03-29 Scanner and communication system Active JP6083297B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013073560A JP6083297B2 (en) 2013-03-29 2013-03-29 Scanner and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013073560A JP6083297B2 (en) 2013-03-29 2013-03-29 Scanner and communication system

Publications (2)

Publication Number Publication Date
JP2014197820A JP2014197820A (en) 2014-10-16
JP6083297B2 true JP6083297B2 (en) 2017-02-22

Family

ID=52358334

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013073560A Active JP6083297B2 (en) 2013-03-29 2013-03-29 Scanner and communication system

Country Status (1)

Country Link
JP (1) JP6083297B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6104956B2 (en) * 2015-01-30 2017-03-29 株式会社Pfu Image data processing server, system, method and program
JP6421643B2 (en) * 2015-02-27 2018-11-14 ブラザー工業株式会社 Image forming apparatus, server apparatus, and communication system
JP6421644B2 (en) 2015-02-27 2018-11-14 ブラザー工業株式会社 Image forming apparatus, server apparatus, and communication system
JP6031543B2 (en) 2015-02-27 2016-11-24 株式会社Pfu Image data processing server, system, method and program
JP7224873B2 (en) * 2018-11-20 2023-02-20 キヤノン株式会社 Transmission device, transmission device control method and program
CN114781561A (en) * 2021-09-17 2022-07-22 长沙平中软件科技有限公司 Production counting system with voice prompt

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5825195B2 (en) * 2010-09-01 2015-12-02 キヤノンマーケティングジャパン株式会社 Document management system, image processing apparatus, information processing apparatus, document management method, control method, and program

Also Published As

Publication number Publication date
JP2014197820A (en) 2014-10-16

Similar Documents

Publication Publication Date Title
JP6083297B2 (en) Scanner and communication system
JP5231620B2 (en) Server device
JP5803949B2 (en) Image processing apparatus, information processing terminal, and program
US11316997B2 (en) Image processing apparatus, control method thereof, and storage medium
JP5954127B2 (en) Control server, data processing device, and control device for data processing device
US20140063562A1 (en) Electronic apparatus, message server and method of controlling scanning
CN103516927A (en) File scanning method
US11412094B2 (en) Image processing apparatus for determining an object intended for a particular talk room
US11204726B2 (en) Image processing apparatus, control method for image processing apparatus, and storage medium
JP2020188380A (en) Information processing system, user terminal and electronic device
US9374357B2 (en) Information processing device, and method and computer-readable medium therefor for the input and storage of authentication information
JP6083296B2 (en) Computer program for control server, communication system, and portable terminal
US20110292426A1 (en) Communication apparatus and communication method
US20110296174A1 (en) Communication apparatus and communication method
US11561748B2 (en) Information processing apparatus, storage medium, and control method
JP6288167B2 (en) Control server, data processing device, and control device for data processing device
JP2008123251A (en) Document management device
JP7615809B2 (en) Receiving data management system, sending data management system
JP5625657B2 (en) E-mail communication device
US20210337081A1 (en) Processing facsimile in cloud server
JP6756234B2 (en) Scanner
JP2024174689A (en) Image reading apparatus, control method thereof, and program
JP2014167768A (en) Communication device
JP2019091481A (en) Specific server and communication apparatus
JP2005216222A (en) Mail transmitting/receiving method and apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160310

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161214

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170109

R150 Certificate of patent or registration of utility model

Ref document number: 6083297

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150