JP5505341B2 - Communication device - Google Patents
Communication device Download PDFInfo
- Publication number
- JP5505341B2 JP5505341B2 JP2011054434A JP2011054434A JP5505341B2 JP 5505341 B2 JP5505341 B2 JP 5505341B2 JP 2011054434 A JP2011054434 A JP 2011054434A JP 2011054434 A JP2011054434 A JP 2011054434A JP 5505341 B2 JP5505341 B2 JP 5505341B2
- Authority
- JP
- Japan
- Prior art keywords
- server
- authentication information
- type
- user
- information
- 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
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Description
本明細書によって開示される技術は、ネットワークを介してサーバに接続される通信装置に関する。 The technology disclosed in the present specification relates to a communication apparatus connected to a server via a network.
特許文献1のシステムでは、ユーザは、印刷対象のドキュメントのIDを端末装置に入力する。この場合、端末装置は、当該IDをプリント要求管理サーバに送信する。プリント要求管理サーバは、当該IDを含むプリント要求データをファクシミリサーバに送信する。この場合、ファクシミリサーバは、当該IDに対応する印刷データを取得して、当該印刷データをプリンタに送信する。この結果、プリンタは、当該印刷データに従った印刷を実行する。 In the system of Patent Document 1, a user inputs an ID of a document to be printed into a terminal device. In this case, the terminal device transmits the ID to the print request management server. The print request management server transmits print request data including the ID to the facsimile server. In this case, the facsimile server acquires print data corresponding to the ID and transmits the print data to the printer. As a result, the printer executes printing according to the print data.
特許文献1には、認証情報を用いたデータ通信が実行されるシステムについて、何ら考慮されていない。本明細書では、通信装置が、認証情報を用いて、データを適切に取得し得る技術を開示する。 Patent Document 1 does not take into consideration any system that executes data communication using authentication information. In the present specification, a technology is disclosed in which a communication device can appropriately acquire data using authentication information.
本明細書では、ネットワークを介してサーバに接続される通信装置を開示する。通信装置は、認証情報取得部と、データ取得部と、記憶制御部と、を備える。認証情報取得部は、ユーザから、第1種の認証情報の取得に関する取得指示が与えられる場合に、ユーザによって指定される第2種の認証情報をサーバに供給して、サーバから第1種の認証情報を取得する。データ取得部は、第1種の認証情報を用いて、データ格納部から特定のデータを取得する。記憶制御部は、第2種の認証情報を不揮発性メモリに記憶させる。認証情報取得部は、サーバから第1種の認証情報が取得され、その後、通信装置の電源のOFF及びONが実行される場合に、ユーザから取得指示が与えられなくても、不揮発性メモリ内の第2種の認証情報をサーバに供給して、サーバから第1種の認証情報を再び取得する。 The present specification discloses a communication device connected to a server via a network. The communication device includes an authentication information acquisition unit, a data acquisition unit, and a storage control unit. The authentication information acquisition unit supplies a second type of authentication information designated by the user to the server when an acquisition instruction regarding acquisition of the first type of authentication information is given from the user. Get authentication information. The data acquisition unit acquires specific data from the data storage unit using the first type of authentication information. The storage control unit stores the second type of authentication information in the nonvolatile memory. The authentication information acquisition unit acquires the first type of authentication information from the server, and when the communication device is turned off and on after that, even if no acquisition instruction is given from the user, the authentication information acquisition unit The second type of authentication information is supplied to the server, and the first type of authentication information is acquired again from the server.
上記の構成によると、通信装置は、第1種の認証情報を取得するために必要な第2種の認証情報を、不揮発性メモリに記憶させる。従って、通信装置の電源がOFFされても、不揮発性メモリに第2種の認証情報が維持される。その後、通信装置の電源がONされると、通信装置は、ユーザから取得指示が与えられなくても、不揮発性メモリ内の第2種の認証情報をサーバに供給して、サーバから第1種の認証情報を取得することができる。従って、仮に、第1種の認証情報が不揮発性メモリに記憶されない構成、即ち、通信装置の電源がOFFされる場合に第1種の認証情報が消去される構成、を採用しても、通信装置は、通信装置の電源がONされる場合に、第1種の認証情報を再び取得することができ、この結果、第1種の認証情報を用いて、データ格納部から特定のデータを適切に取得することができる。 According to said structure, a communication apparatus memorize | stores 2nd type authentication information required in order to acquire 1st type authentication information in a non-volatile memory. Therefore, even if the communication apparatus is turned off, the second type of authentication information is maintained in the nonvolatile memory. Thereafter, when the power of the communication device is turned on, the communication device supplies the second type of authentication information in the nonvolatile memory to the server without receiving an acquisition instruction from the user. Authentication information can be acquired. Therefore, even if a configuration in which the first type of authentication information is not stored in the nonvolatile memory, that is, a configuration in which the first type of authentication information is deleted when the power of the communication device is turned off, the communication is performed. When the power of the communication device is turned on, the device can acquire the first type of authentication information again. As a result, the first type of authentication information is used to appropriately specify specific data from the data storage unit. Can be obtained.
記憶制御部は、さらに、第1種の認証情報を、不揮発性メモリに記憶させずに、揮発性メモリに記憶させてもよい。データ取得部は、揮発性メモリ内の第1種の認証情報を用いて、データ格納部から特定のデータを取得してもよい。この構成によると、第1種の認証情報が不揮発性メモリに記憶されないために、第1種の認証情報が不揮発性メモリに記憶される構成と比べて、不揮発性メモリ内の情報量が増加するのを抑制することができる。 The storage control unit may further store the first type authentication information in the volatile memory without storing it in the nonvolatile memory. The data acquisition unit may acquire specific data from the data storage unit using the first type of authentication information in the volatile memory. According to this configuration, since the first type of authentication information is not stored in the non-volatile memory, the amount of information in the non-volatile memory increases compared to the configuration in which the first type of authentication information is stored in the non-volatile memory. Can be suppressed.
通信装置は、さらに、ユーザから取得指示が与えられる場合に、通信装置のデバイス情報をサーバに供給して、通信装置のデバイス情報をサーバに登録する登録部を備えていてもよい。サーバは、サーバに登録済みである通信装置のデバイス情報を第1の端末装置に供給して、第1の端末装置からの要求に応じて、特定のデータをデータ格納部に格納してもよい。この構成によると、第1の端末装置のユーザは、通信装置のデバイス情報を参照して、特定のデータをデータ格納部に格納するための指示をサーバに与え得る。 The communication apparatus may further include a registration unit that supplies device information of the communication apparatus to the server and registers the device information of the communication apparatus in the server when an acquisition instruction is given from the user. The server may supply the device information of the communication device registered in the server to the first terminal device, and store specific data in the data storage unit in response to a request from the first terminal device. . According to this configuration, the user of the first terminal device can give an instruction for storing specific data in the data storage unit to the server with reference to the device information of the communication device.
登録部は、サーバから第1種の認証情報が取得され、その後、通信装置の電源のOFF及びONが実行される場合に、通信装置のデバイス情報をサーバに供給しなくてもよい。この構成によると、通信装置のデバイス情報がサーバに供給されないために、通信装置の処理負荷を低減させることができる。 The registration unit may not supply the device information of the communication device to the server when the first type of authentication information is acquired from the server and then the power of the communication device is turned off and on. According to this configuration, since the device information of the communication device is not supplied to the server, the processing load of the communication device can be reduced.
登録部は、サーバから第1種の認証情報が取得され、その後、通信装置の電源のOFF及びONが実行される場合に、通信装置のデバイス情報がサーバに現在登録されているのか否かを判断する判断部を備えていてもよい。登録部は、通信装置のデバイス情報がサーバに現在登録されていると判断される場合に、通信装置のデバイス情報をサーバに供給せず、通信装置のデバイス情報がサーバに現在登録されていないと判断される場合に、通信装置のデバイス情報をサーバに供給して、通信装置のデバイス情報をサーバに登録してもよい。この構成によると、通信装置のデバイス情報がサーバに現在登録されている場合には、通信装置のデバイス情報がサーバに供給されないために、通信装置の処理負荷を低減させることができる。一方において、通信装置のデバイス情報がサーバに現在登録されていない場合には、通信装置のデバイス情報がサーバに供給されるために、通信装置のデバイス情報をサーバに適切に登録することができる。 The registration unit obtains whether or not the device information of the communication device is currently registered in the server when the first type of authentication information is acquired from the server and then the power of the communication device is turned off and on. You may provide the judgment part which judges. If the registration unit determines that the device information of the communication device is currently registered in the server, the registration unit does not supply the device information of the communication device to the server, and the device information of the communication device is not currently registered in the server. If determined, the device information of the communication device may be supplied to the server and the device information of the communication device may be registered in the server. According to this configuration, when the device information of the communication device is currently registered in the server, the device information of the communication device is not supplied to the server, so that the processing load on the communication device can be reduced. On the other hand, when the device information of the communication device is not currently registered in the server, the device information of the communication device is supplied to the server, so that the device information of the communication device can be appropriately registered in the server.
認証情報取得部は、(A)サーバから第1種の認証情報が取得され、その後、ユーザから、サーバとの通信の終了に関する終了指示が与えられずに、通信装置の電源のOFF及びONが実行される場合に、ユーザから取得指示が与えられなくても、第2種の認証情報をサーバに供給して、サーバから第1種の認証情報を再び取得し、(B)サーバから第1種の認証情報が取得され、その後、ユーザから終了指示が与えられ、その後、通信装置の電源のOFF及びONが実行される場合に、第2種の認証情報をサーバに供給しなくてもよい。この構成によると、通信装置は、ユーザから終了指示が与えられる場合には、第2種の認証情報をサーバに供給しない。即ち、ユーザが意図しない通信が実行されるのを抑制することができる。特に、通信装置の電源がONされる場合に、常に、第2種の認証情報をサーバに供給する構成と比べると、通信装置の処理負荷を低減させることができる。 The authentication information acquisition unit (A) acquires the first type of authentication information from the server, and then turns off and on the power of the communication device without receiving an end instruction from the user regarding the end of communication with the server. When executed, even if no acquisition instruction is given by the user, the second type of authentication information is supplied to the server, and the first type of authentication information is acquired again from the server. When the authentication information of the type is acquired, and then an end instruction is given from the user, and then the power of the communication device is turned off and on, the second type of authentication information may not be supplied to the server. . According to this configuration, the communication device does not supply the second type of authentication information to the server when an end instruction is given from the user. That is, it is possible to suppress communication that is not intended by the user. In particular, when the power of the communication device is turned on, the processing load on the communication device can be reduced as compared with the configuration in which the second type authentication information is always supplied to the server.
記憶制御部は、ユーザから終了指示が与えられる場合に、不揮発性メモリ内の第2種の認証情報のうちの少なくとも一部を消去してもよい。この構成によると、不揮発性メモリ内の情報量を低減させることができる。 The storage control unit may erase at least a part of the second type of authentication information in the nonvolatile memory when an end instruction is given from the user. According to this configuration, the amount of information in the nonvolatile memory can be reduced.
第2種の認証情報は、ユーザIDとパスワードとを含んでいてもよい。記憶制御部は、ユーザから終了指示が与えられる場合に、不揮発性メモリ内のユーザIDを消去せずに、不揮発性メモリ内のパスワードを消去してもよい。この構成によると、ユーザは、終了指示の後に、再び取得指示を与える際に、ユーザIDを指定せずに済む。 The second type of authentication information may include a user ID and a password. The storage control unit may erase the password in the nonvolatile memory without erasing the user ID in the nonvolatile memory when an end instruction is given from the user. According to this configuration, the user does not need to specify the user ID when giving the acquisition instruction again after the end instruction.
取得指示は、ユーザが、通信装置と別体に構成されている第2の端末装置に所定の操作を加える際に、第2の端末装置から通信装置に送信される指示であってもよい。この構成によると、ユーザは、通信装置と別体に構成されている第2の端末装置を用いて、通信装置に取得指示を与えることができる。 The acquisition instruction may be an instruction transmitted from the second terminal device to the communication device when the user performs a predetermined operation on the second terminal device configured separately from the communication device. According to this configuration, the user can give an acquisition instruction to the communication device using the second terminal device configured separately from the communication device.
サーバは、第1の端末装置からの要求に従って、特定のデータをデータ格納部に格納させる格納管理サーバと、格納管理サーバから、特定のデータをデータ格納部に格納させたことを示す格納通知を取得する場合に、所定の通知を通信装置に送信する通知管理サーバと、を含んでいてもよい。認証情報取得部は、ユーザから取得指示が与えられる場合に、第2種の認証情報を格納管理サーバに供給して、格納管理サーバから第1種の認証情報を取得してもよい。データ取得部は、通知管理サーバから所定の通知が受信される際に、第1種の認証情報を用いて、データ格納部から特定のデータを取得してもよい。 In accordance with a request from the first terminal device, the server stores a storage management server that stores specific data in the data storage unit, and a storage notification indicating that the specific data is stored in the data storage unit from the storage management server. In the case of acquisition, a notification management server that transmits a predetermined notification to the communication device may be included. The authentication information acquisition unit may supply the second type of authentication information to the storage management server and acquire the first type of authentication information from the storage management server when an acquisition instruction is given from the user. The data acquisition unit may acquire specific data from the data storage unit using the first type of authentication information when a predetermined notification is received from the notification management server.
なお、上記の通信装置を実現するための制御方法、コンピュータプログラム、及び、当該コンピュータプログラムを格納するコンピュータ読取可能記録媒体も、新規で有用である。 Note that a control method, a computer program, and a computer-readable recording medium storing the computer program for realizing the communication device are also novel and useful.
(システムの構成)
図1に示されるように、通信システム2は、プリンタ10(PC80の周辺機器)と、格納管理サーバ50と、通知管理サーバ60と、PC80と、を備える。各デバイス10,50〜80は、別体に構成されている。プリンタ10は、LAN4を介して、インターネット6に接続されている。各デバイス50〜80は、インターネット6に接続されている。従って、プリンタ10は、インターネット6を介して、各デバイス50〜80に通信可能に接続される。なお、変形例では、PC80がLAN4に接続されていてもよい。この場合、プリンタ10は、インターネット6を介さずに、LAN4を介して、PC80と通信可能に接続される。
(System configuration)
As shown in FIG. 1, the communication system 2 includes a printer 10 (a peripheral device of the PC 80), a
(プリンタ10の構成)
プリンタ10は、操作部12と、表示部14と、印刷実行部16と、ネットワークインターフェイス18と、制御部20と、を備える。上記の各部12〜20は、バス線(符号省略)に接続されている。操作部12は、複数のキーによって構成される。ユーザは、操作部12を操作することによって、様々な指示をプリンタ10に入力することができる。表示部14は、様々な情報を表示するためのディスプレイである。印刷実行部16は、インクジェット方式、レーザ方式等の印刷機構を備え、制御部20からの指示に従って印刷を実行する。ネットワークインターフェイス18は、LAN4に接続されている。
(Configuration of Printer 10)
The
制御部20は、CPU22と、NVRAM(不揮発性メモリ)24と、VRAM(揮発性メモリ)26と、を備える。CPU22は、NVRAM24に格納されているプログラムに従って、様々な処理を実行する。CPU22が当該プログラムに従って処理を実行することによって、認証情報取得部30、データ取得部32、記憶制御部34、及び、登録部36の各機能が実現される。なお、登録部36は、判断部38を備える。
The
なお、NVRAM24の記憶容量は、VRAM26の記憶容量よりも少ない。詳しくは後述するが、NVRAM24の記憶容量を有効に活用するために、本実施例では、後述のAuthTokenを、NVRAM24に記憶させずに、VRAM26に記憶させる。
Note that the storage capacity of the
また、図示省略しているが、プリンタ10は、電源コードを備えており、当該電源コードは、例えば家庭内等のコンセントに接続される。また、操作部12は、プリンタ10の電源をON又はOFFするための電源スイッチを含む。なお、本実施例では、プリンタ10の電源スイッチは、いわゆるソフトスイッチであるが、変形例では、プリンタ10の電源スイッチは、いわゆるハードスイッチであってもよい。
Although not shown, the
(格納管理サーバ50及び通知管理サーバ60の構成)
格納管理サーバ50及び通知管理サーバ60は、プリンタ10での印刷を仲介するためのサーバ(即ち印刷仲介サーバ)である。各サーバ50,60は、プリンタ10のベンダによって提供されるサーバではなく、クラウド印刷サービスを提供する会社(以下では「提供会社」と呼ぶ)によって提供されるサーバである。ただし、変形例では、各サーバ50,60は、プリンタ10のベンダによって提供されるサーバであってもよい。また、本実施例では、サーバ50,60が別体に構成されているが、変形例では、サーバ50,60が一体に構成されていてもよい。
(Configuration of the
The
格納管理サーバ50は、PC80からの指示に応じて、印刷対象のデータ(以下では「印刷データ」と呼ぶ)をデータ格納部56に格納する。なお、データ格納部56は、格納管理サーバ50の内部に設けられていてもよいし、格納管理サーバ50の外部に設けられていてもよい。後者の場合、データ格納部56のことを「データ格納サーバ」と言い換えてもよい。
The
格納管理サーバ50は、プリンタ管理テーブル52を記憶している。プリンタ管理テーブル52では、ユーザIDと、AuthTokenと、プリンタ名と、Capability情報と、が対応付けられている。
The
ユーザIDは、クラウド印刷サービスを利用することを望むユーザに対して、上記の提供会社によって発行されるIDである。AuthTokenは、ユーザがユーザIDを利用して格納管理サーバ50にログインする際に、当該ユーザに割り当てられる認証情報である。1個のユーザIDに対して1個のAuthTokenが割り当てられるために、AuthTokenは、ユーザIDに関係する情報であると言える。AuthTokenは、所定の文字数(アルファベットと数字の組み合わせ)によって構成される。AuthTokenの文字数が多くなれば、AuthTokenのデータサイズが大きくなる。また、プリンタ名は、プリンタのノード名(例えば、プリンタのユーザによって指定される名称)である。例えば、プリンタ10のプリンタ名は「PN1」である。Capability情報は、プリンタが実行可能な印刷条件を示す情報である。
The user ID is an ID issued by the above provider to a user who desires to use the cloud printing service. AuthToken is authentication information assigned to a user when the user logs in to the
Capability情報は、例えば、プリンタが利用可能な色数を含む。図1の例では、プリンタ名「PN1」を有するプリンタ10が利用可能な色数は、「カラー」、「グレー」、及び、「モノクロ」である。これは、プリンタ10が、カラー印刷と、グレースケール印刷と、モノクロ印刷と、の全てを実行可能であることを意味する。また、Capability情報は、例えば、プリンタが利用可能な用紙サイズを含む。図1の例では、プリンタ名「PN1」を有するプリンタ10が利用可能な用紙サイズは、「A4」、及び、「B4」である。これは、プリンタ10が、A4の印刷用紙に対する印刷と、B4の印刷用紙に対する印刷と、のどちらも実行可能であることを意味する。
The capability information includes, for example, the number of colors that can be used by the printer. In the example of FIG. 1, the number of colors that can be used by the
なお、Capability情報は、プリンタが利用可能な色数及び用紙サイズに限られず、プリンタが利用可能な印刷解像度、用紙種類(普通紙、光沢紙等)等を含んでいてもよいし、プリンタで許容される印刷部数の上限を示す情報を含んでいてもよいし、プリンタが両面印刷を実行可能か否かを示す情報を含んでいてもよい。 The capability information is not limited to the number of colors and paper sizes that can be used by the printer, but may include the print resolution, paper type (plain paper, glossy paper, etc.) that can be used by the printer, and is acceptable for the printer. Information indicating the upper limit of the number of copies to be printed may be included, or information indicating whether or not the printer can perform double-sided printing may be included.
格納管理サーバ50は、さらに、ジョブ管理テーブル54を記憶している。ジョブ管理テーブル54では、ユーザIDと、ジョブ情報と、が対応付けられている。ユーザIDは、プリンタ管理テーブル52で利用されるユーザIDと同様である。ジョブ情報については、図3を参照しながら、後で詳しく説明する。
The
なお、格納管理サーバ50は、特定のユーザID(例えば「U1」)を有するユーザからの指示(即ち、上記の特定のユーザIDを有するユーザが利用する端末装置からの指示)に従って、印刷データをデータ格納部56に格納した際に、上記の特定のユーザIDを含む格納通知を通知管理サーバ60に供給する。
The
通知管理サーバ60は、格納管理サーバ50から、上記の特定のユーザIDを含む格納通知を取得する場合に、上記の特定のユーザIDを用いた認証が成功したプリンタ(例えばプリンタ10)に、所定の通知を送信する。この点については、後で詳しく説明する。
When the
(各デバイスが実行する処理)
続いて、図2を参照して、各デバイスが実行する処理の内容を説明する。プリンタ10は、ウェブサーバプログラムを記憶しており、ウェブサーバとして機能することができる。また、格納管理サーバ50も、ウェブサーバプログラムを記憶しており、ウェブサーバとして機能することができる。一方において、PC80は、ウェブブラウザプログラムを記憶しており、ウェブクライアントとして機能することができる。
(Processing executed by each device)
Next, the contents of processing executed by each device will be described with reference to FIG. The
(認証に関する処理)
なお、以下では、各デバイスが実行する処理の概略を説明する。プリンタ10が実行する具体的な処理については、図4を参照しながら、後で詳しく説明する。PC80のユーザは、クラウド印刷サービスを利用することを望む場合に、プリンタ10のウェブサーバにアクセスするための操作を、PC80の操作部(図示省略;例えば、キーボード、マウス等)に加える。この場合、PC80は、ウェブブラウザを用いて、プリンタ10のウェブサーバにアクセスする。プリンタ10のウェブサーバは、ユーザIDとパスワードとを入力するためのログイン画面を表わす画面データを、PC80に供給する。この結果、PC80の表示部(図示省略)にログイン画面が表示される。ユーザは、ログイン画面を見ながら、ユーザID「U1」とパスワードとを含むログイン情報を入力するための操作を、PC80の操作部に加える。この場合、PC80は、ログイン情報をプリンタ10に供給する。
(Processing related to authentication)
In the following, an outline of processing executed by each device will be described. Specific processing executed by the
プリンタ10の認証情報取得部30(図1参照)は、PC80からログイン情報が取得される場合に、当該ログイン情報を格納管理サーバ50に供給する。なお、プリンタ10のメモリ24内には格納管理サーバ50のIPアドレスが予め格納されており、認証情報取得部30は、当該IPアドレスを送信先として、ログイン情報を送信する。この構成によると、PC80のユーザは、プリンタ10と別体に構成されているPC80を用いて、ログインのための指示(即ち、ログイン情報)をプリンタ10に与えることができる。
The authentication information acquisition unit 30 (see FIG. 1) of the
図示省略しているが、格納管理サーバ50は、複数のユーザIDのそれぞれについて、当該ユーザIDとパスワードとが対応付けられているユーザ管理テーブルを記憶している。格納管理サーバ50は、プリンタ10からログイン情報が受信される場合に、当該ログイン情報に含まれるユーザID及びパスワードがユーザ管理テーブルに含まれるのか否かを判断する(即ち、認証を実行する)。格納管理サーバ50は、ユーザID及びパスワードがユーザ管理テーブルに含まれる場合に、認証成功を示す成功情報をプリンタ10に送信する。この場合、格納管理サーバ50は、さらに、AuthToken「AT1」を生成して、プリンタ10に送信する。
Although not shown, the
この結果、認証情報取得部30は、格納管理サーバ50から、成功情報と、AuthToken「AT1」と、を取得する。次いで、プリンタ10の登録部36(図1参照)は、プリンタ10のプリンタ名「PN1」と、プリンタ10のCapability情報(即ち、プリンタ10が実行可能な全ての印刷条件を示す情報)と、を格納管理サーバ50に供給する。
As a result, the authentication
格納管理サーバ50は、プリンタ10からプリンタ名「PN1」及びCapability情報が取得される場合に、ユーザID「U1」と、プリンタ名「PN1」と、AuthToken「AT1」と、Capability情報と、を対応付けて、プリンタ管理テーブル52に登録する。
When the printer name “PN1” and the capability information are acquired from the
プリンタ10の制御部20は、さらに、ログイン情報を通知管理サーバ60にも送信する。なお、プリンタ10のメモリ24内には通知管理サーバ60のアドレスが予め格納されており、制御部20は、当該アドレスを送信先として、ログイン情報を送信する。
The
図示省略しているが、通知管理サーバ60は、格納管理サーバ50と同様に、ユーザ管理テーブルを記憶している。通知管理サーバ60は、プリンタ10からログイン情報が受信される場合に、格納管理サーバ50と同様の認証を実行して、認証成功を示す成功情報をプリンタ10に送信する。
Although not shown, the
プリンタ10は、通知管理サーバ60から成功情報が受信される場合に、プリンタ10と通知管理サーバ60との間に、通信セッションを確立する。プリンタ10と通知管理サーバ60との間では、プリンタ10の電源がOFFされるまで、通信セッションが確立された状態、即ち、XMPP(eXtensible Messaging and Presence Protocol)のストリームがオープンされた状態、が維持される。なお、プリンタ10と格納管理サーバ50との間では、通信セッションが確立された状態が維持されず、両者の間で後述のジョブ情報等が通信される際に、通信セッションが確立される。
When the success information is received from the
(PC80から格納管理サーバ50への印刷の指示)
PC80のユーザは、プリンタ10に印刷を実行させることを望む場合に、格納管理サーバ50のウェブサーバにアクセスするための操作を、PC80の操作部に加える。この場合、PC80は、ウェブブラウザを用いて、格納管理サーバ50のウェブサーバにアクセスする。プリンタ10のウェブサーバの場合と同様に、格納管理サーバ50からログイン画面を表わす画面データがPC80に供給され、PC80の表示部にログイン画面が表示される。ユーザは、ログイン画面を見ながら、ユーザID「U1」とパスワードとを含むログイン情報を入力するための操作を、PC80の操作部に加える。この場合、PC80は、ログイン情報を格納管理サーバ50に供給する。
(Printing instruction from the
When the user of the
格納管理サーバ50は、PC80からログイン情報が取得される場合に、上記と同様の認証を実行する。次いで、格納管理サーバ50は、認証が成功する場合に、印刷設定画面を表わす画面データを生成する。印刷設定画面は、プリンタ選択画面と、印刷条件選択画面と、を含む。
The
具体的に言うと、格納管理サーバ50は、まず、プリンタ管理テーブル52から、ログイン情報に含まれるユーザID「U1」に対応付けられているプリンタ名「PN1」,「PN2」を特定して、プリンタ名「PN1」,「PN2」を含むプリンタ選択画面を表わす画面データを生成する。そして、格納管理サーバ50は、当該画面データをPC80に供給する。この結果、PC80の表示部にプリンタ選択画面が表示される。ユーザは、プリンタ選択画面を見ながら、プリンタ名「PN1」,「PN2」の中から、印刷を実行すべきプリンタ10のプリンタ名「PN1」を選択する。この場合、PC80は、プリンタ名「PN1」を含む選択結果情報を、格納管理サーバ50に供給する。
Specifically, the
格納管理サーバ50は、プリンタ名「PN1」を含む選択結果情報が取得される場合に、プリンタ管理テーブル52から、ユーザID「U1」とプリンタ名「PN1」とに対応付けられているCapability情報を特定して、当該Capability情報を含む印刷条件選択画面を表わす画面データを生成する。そして、格納管理サーバ50は、当該画面データをPC80に供給する。
When the selection result information including the printer name “PN1” is acquired, the
この結果、PC80の表示部に印刷条件選択画面が表示される。ユーザは、印刷条件選択画面を見ながら、複数個の印刷条件の中から、所望の印刷条件を選択する。例えば、ユーザは、色数に対応する複数個の印刷条件(「カラー」、「グレー」、及び、「モノクロ」)の中から、色数に対応する1個の印刷条件(例えば「モノクロ」)を選択し、用紙サイズに対応する複数個の印刷条件(「A4」、及び、「B4」)の中から、用紙サイズに対応する1個の印刷条件(例えば「A4」)を選択する。このように、本実施例では、プリンタ10がCapability情報を格納管理サーバ50に供給するために、PC80のユーザは、プリンタ10が実行可能な複数個の印刷条件の中から、所望の印刷条件を選択することができる。PC80は、ユーザによって選択された印刷条件(例えば「モノクロ」、「A4」)を示す条件データを、格納管理サーバ50に供給する。なお、条件データは、「印刷チケット(print ticket)と呼ばれることもある。
As a result, a print condition selection screen is displayed on the display unit of the
さらに、PC80のユーザは、例えば、PC80内に格納されているファイルを印刷対象として選択することもできるし、PC80の外部に存在するファイル(例えばインターネット上のサーバに格納されているファイル等)を印刷対象として選択することもできる。前者の場合には、PC80は、印刷データPD1を格納管理サーバ50に供給する。後者の場合には、PC80は、例えば、PC80の外部から印刷データPD1を取得して、印刷データPD1を格納管理サーバ50に供給してもよいし、印刷データPD1を格納しているサーバに対して、印刷データPD1を格納管理サーバ50に供給することを指示してもよい。なお、変形例では、PC80のユーザは、格納管理サーバ50内に格納されているファイルを印刷対象として選択してもよい。
Furthermore, the user of the
本実施例によると、PC80のユーザは、プリンタ選択画面内の複数個のプリンタ名を参照して、プリンタ10のプリンタ名「PN1」を選択することにより、印刷データをプリンタ10で印刷させるための指示(即ち、印刷データをデータ格納部56に格納するための指示)を、格納管理サーバ50に与えることができる。さらに、PC80のユーザは、印刷条件選択画面内のCapability情報を参照して、印刷条件を選択することにより、印刷データをプリンタ10で印刷させるための指示(即ち、印刷データをデータ格納部56に格納するための指示)を、格納管理サーバ50に与えることができる。
According to this embodiment, the user of the
上述したように、格納管理サーバ50は、プリンタ名「PN1」と、条件データと、印刷データPD1と、を取得する。この場合、格納管理サーバ50は、格納処理を実行する(S10)。即ち、格納管理サーバ50は、PC80からの指示に従って、格納処理を実行する。なお、この後の処理では、条件データと印刷データPD1とが組として利用されるために、以下では、印刷データPD1に条件データが含まれるものとして、説明を続ける(図2でも条件データを図示省略している)。
As described above, the
(格納処理の内容;S10)
格納処理では、格納管理サーバ50は、印刷データPD1をデータ格納部56(図1参照)に格納する。格納処理では、格納管理サーバ50は、さらに、PC80から取得されたログイン情報に含まれるユーザID「U1」と、データ格納部56に新たに格納された印刷データPD1に対応するジョブ情報J1と、を対応付けて、ジョブ管理テーブル54に登録する。なお、ジョブ管理テーブル54では、1個のユーザIDに対応付けて、複数個のジョブ情報が登録されることがあり得る。例えば、図1に示されるように、ジョブ管理テーブル54には、ユーザID「U1」と、複数個のジョブ情報J1,J2と、が対応付けて登録されている。例えば、ジョブ情報J2は、ジョブ情報J1がジョブ管理テーブル54に登録される前に、PC80又は他のPCからの指示に従って、ジョブ管理テーブル54に登録された情報である。
(Contents of storage processing; S10)
In the storage process, the
図3に示されるように、ジョブ情報J1は、ジョブID「12345」と、プリンタID「6789」と、印刷データPD1のファイルフォーマット「PDF」と、印刷データPD1のURL(データ格納部56内のURL)と、を含む。 As shown in FIG. 3, the job information J1 includes a job ID “12345”, a printer ID “6789”, a file format “PDF” of the print data PD1, and a URL of the print data PD1 (in the data storage unit 56). URL).
ジョブIDは、個々の印刷ジョブを識別するためのIDである(即ち、データ格納部56に格納される個々の印刷データを識別するためのIDである)。プリンタIDは、プリンタを識別するためのIDである。図示省略しているが、格納管理サーバ50は、プリンタ名とプリンタIDとを対応付けて記憶している。従って、格納管理サーバ50は、PC80からプリンタ10のプリンタ名「PN1」が取得されると、プリンタ10のプリンタID「6789」を特定することができる。また、格納管理サーバ50は、印刷データPD1のファイル名の拡張子に基づいて、印刷データPD1のファイルフォーマットを特定することができる。ジョブ情報J2は、ジョブ情報J1と同様の構成を有する。
The job ID is an ID for identifying an individual print job (that is, an ID for identifying individual print data stored in the data storage unit 56). The printer ID is an ID for identifying the printer. Although not shown, the
図2に示されるように、格納管理サーバ50は、格納処理(S10)を終えると、ユーザID「U1」を含む格納通知を通知管理サーバ60に供給する。通知管理サーバ60は、格納通知を取得することにより、ユーザID「U1」を有するユーザからの指示に従って、格納処理が実行されたことを知ることができる。この場合、通知管理サーバ60は、ユーザID「U1」を含むログイン情報の認証が成功したプリンタ10に所定の通知を送信する。上述したように、通知管理サーバ60とプリンタ10との間では、通信セッションが確立されている。通知管理サーバ60は、通信セッションを用いて、プリンタ10に所定の通知を送信する。なお、所定の通知は「XMPP通知」と呼ばれることもある。
As illustrated in FIG. 2, when the
(格納通知の後の各処理)
プリンタ10のデータ取得部32(図1参照)は、通知管理サーバ60から上記の所定の通知を受信する。この場合、データ取得部32は、AuthToken「AT1」を含む要求情報を、格納管理サーバ50に供給する。なお、AuthToken「AT1」は、格納管理サーバ50に対するログイン時に取得された情報である。
(Each process after storage notification)
The data acquisition unit 32 (see FIG. 1) of the
格納管理サーバ50は、プリンタ管理テーブル52から、要求情報に含まれるAuthToken「AT1」に対応付けられているユーザID「U1」を特定し、次いで、ジョブ管理テーブル54から、ユーザID「U1」に対応付けられているジョブ情報J1,J2を特定して、ジョブ情報J1,J2をプリンタ10に送信する。この結果、データ取得部32は、ジョブ情報J1,J2を取得する。なお、ジョブ情報J1,J2は、「Fetch情報」と呼ばれることもある。
The
次いで、データ取得部32は、ジョブ情報J1から、印刷データPD1のURLを特定し、当該URLを用いて、データ格納部56から、印刷データPD1を取得する。具体的に言うと、データ取得部32は、印刷データPD1のURLを送信先として、データ取得要求を送信する。この結果、データ格納部56は、データ取得要求に応じて、印刷データPD1をプリンタ10に送信する。これにより、データ取得部32は、印刷データPD1を取得することができる。なお、図3の例では、格納管理サーバ50の内部にデータ格納部56が設けられており、データ取得部32は、格納管理サーバ50から、印刷データPD1を取得する。ただし、上述したように、格納管理サーバ50の外部にデータ格納部56が設けられてもよく、その場合、データ取得部32は、格納管理サーバ50の外部のデータ格納部56から、印刷データPD1を取得する。なお、データ取得部32は、印刷データPD1と共に、条件データも取得する。
Next, the
次いで、S20において、プリンタ10の制御部20は、条件データによって示される印刷条件(以下では「選択印刷条件」と呼ぶ)に従って、印刷データPD1によって表わされる画像の印刷を、印刷実行部16に実行させる。具体的に言うと、制御部20は、まず、印刷データPD1を用いて、選択印刷条件に適合するデータを生成する。例えば、印刷データPD1がカラーデータであり、選択印刷条件がモノクロを示す場合には、制御部20は、カラーデータである印刷データPD1を、モノクロデータに変換する。さらに、この際に、制御部20は、選択印刷条件が示す用紙サイズ(例えば「A4」)に適合するモノクロデータを生成する。
Next, in step S20, the
そして、制御部20は、生成済みのモノクロデータに従った印刷を、印刷実行部16に実行させる。即ち、制御部20は、印刷データPD1に従った駆動信号(例えば、インクを吐出するための圧電素子に供給される駆動信号や、感光体に静電潜像を形成するためのレーザ源に供給される駆動信号等)を印刷実行部16に供給する。これにより、印刷実行部16は、印刷データPD1によって表わされる画像を印刷媒体に印刷し、ユーザは、当該印刷媒体を得ることができる。上記の例では、ユーザは、モノクロ画像が印刷されたA4サイズの印刷媒体を得ることができる。
Then, the
なお、データ取得部32は、印刷ジョブJ1の場合と同様に、印刷ジョブJ2に含まれる印刷データのURLを用いて、当該印刷データを取得する。そして、制御部20は、当該印刷データによって表わされる画像の印刷を、印刷実行部16に実行させる。
Note that the
(プリンタ10が実行する処理)
続いて、図4を参照して、プリンタ10が実行する処理の内容を詳しく説明する。プリンタ10が図4のプリンタ処理を実行することにより、図2のシーケンス図の各処理が実現される。図4のプリンタ処理は、プリンタ10の電源がONされる際に、開始される。
(Processing executed by the printer 10)
Next, the contents of the process executed by the
まず、S100において、認証情報取得部30は、パスワードがNVRAM24に記憶されているのか否かを判断する。プリンタ10の電源がOFFされる前に、後述のS102〜S106の処理が実行された場合には、プリンタ10の電源がONされた際に、NVRAM24にパスワード及びユーザIDの両方が記憶されている可能性がある。NVRAM24にパスワード及びユーザIDの両方が記憶されている場合には、認証情報取得部30は、S100でYESと判断して、S108に進む。
First, in S <b> 100, the authentication
なお、プリンタ10の電源がOFFされる前に、後述のS102〜S106の処理が実行されても、その後に、PC80からログアウトされた場合(後述のS116でYESの場合)には、プリンタ10の電源がONされた際に、NVRAM24に、パスワードが記憶されていないが、ユーザIDが記憶されている。この場合、認証情報取得部30は、S100でNOと判断して、S102に進む。
Even if the processing of S102 to S106 described later is executed before the power of the
また、プリンタ10の電源がOFFされる前に、後述のS102〜S106の処理が一回も実行されていない場合には、プリンタ10の電源がONされた際に、NVRAM24にパスワードもユーザIDも記憶されていない。この場合、認証情報取得部30は、S100でNOと判断して、S102に進む。
In addition, if the processes of S102 to S106 described later have not been executed before the
S102では、認証情報取得部30は、PC80からログインされることを監視する。具体的に言うと、認証情報取得部30は、PC80からログイン情報(即ちユーザID及びパスワード)を受信することを監視する。
In S <b> 102, the authentication
例えば、NVRAM24に、パスワードもユーザIDも記憶されていない状況では、プリンタ10からPC80に供給されるログイン画面は、ユーザID入力欄と、パスワード入力欄と、を含む。従って、ユーザは、PC80において、ユーザIDとパスワードとの両方を指定(即ち入力)する。一方において、例えば、NVRAM24に、パスワードが記憶されていないが、ユーザIDが記憶されている状況では、ログイン画面に含まれるユーザID入力欄には、当該ユーザIDが既に入力されている。従って、ユーザは、PC80において、パスワードのみを指定(即ち入力)する。なお、どちらの状況でも、認証情報取得部30は、PC80から、ログイン情報として、ユーザID及びパスワードの両方を取得する。
For example, in a situation where neither the password nor the user ID is stored in the
PC80からログイン情報が取得される場合(S102でYESの場合)には、S104において、認証情報取得部30は、PC80から取得されたログイン情報を格納管理サーバ50に供給する。これにより、認証情報取得部30は、格納管理サーバ50からAuthToken(例えば図1,2の「AT1」)を取得する。
When login information is acquired from the PC 80 (YES in S102), the authentication
次いで、S106において、記憶制御部34は、S102で取得されたパスワードを、NVRAM24に記憶させる。なお、NVRAM24にパスワードもユーザIDも記憶されていない状況で実行されるS106では、記憶制御部34は、S102で取得されたパスワード及びユーザIDの両方を、NVRAM24に記憶させる。一方において、NVRAM24にユーザIDのみが記憶されている状況で実行されるS106では、記憶制御部34は、S102で取得されたパスワードを、新たに、NVRAM24に記憶させる。S106を終えると、S110に進む。
Next, in S106, the
S108では、認証情報取得部30は、NVRAM24内のログイン情報(ユーザID及びパスワードの両方)を格納管理サーバ50に供給する。これにより、認証情報取得部30は、格納管理サーバ50からAuthToken(例えば図1,2の「AT1」)を取得する。S108を終えると、S110に進む。
In S <b> 108, the authentication
S110では、記憶制御部34は、S104又はS108で取得されたAuthTokenを、NVRAM24に記憶させずに、VRAM26に記憶させる。これにより、NVRAM24内の情報量が増加するのを抑制することができ、NVRAM24を有効に活用し得る。
In S <b> 110, the
次いで、S112において、判断部38(図1参照)は、プリンタ10のプリンタ名「PN1」及びCapability情報(以下では、これらの情報を「プリンタ10のデバイス情報」と呼ぶ)が、格納管理サーバ50に登録済みであるのか否かを判断する。具体的に言うと、判断部38は、ユーザID「U1」を含む問い合わせ信号を、格納管理サーバ50に送信する。これにより、格納管理サーバ50は、ユーザID「U1」に対応付けられている各情報(AuthToken、プリンタ名、Capability情報)を、プリンタ10に送信する。判断部38は、格納管理サーバ50から受信される各情報の内容を確認することによって、プリンタ10のデバイス情報が格納管理サーバ50に登録済みであるのか否かを判断する。
In step S112, the determination unit 38 (see FIG. 1) determines that the printer name “PN1” and capability information of the printer 10 (hereinafter referred to as “device information of the
プリンタ10のデバイス情報が格納管理サーバ50に登録済みでない場合(S112でNOの場合)には、S114において、登録部36は、プリンタ10のデバイス情報が格納管理サーバ50に登録されるように、プリンタ10のデバイス情報を格納管理サーバ50に供給する。S114を終えると、S116に進む。一方において、プリンタ10のデバイス情報が格納管理サーバ50に登録済みである場合(S112でYESの場合)には、登録部36は、プリンタ10のデバイス情報を格納管理サーバ50に供給せずに(即ちS114をスキップして)、S116に進む。
If the device information of the
この構成によると、プリンタ10のデバイス情報が格納管理サーバ50に現在登録されている場合(S112でYESの場合)には、プリンタ10のデバイス情報が格納管理サーバ50に供給されないために、プリンタ10の処理負荷を低減させることができる。一方において、プリンタ10のデバイス情報が格納管理サーバ50に現在登録されていない場合(S112でNOの場合)には、プリンタ10のデバイス情報が格納管理サーバ50に供給されるために、プリンタ10のデバイス情報を格納管理サーバ50に適切に登録することができる。
According to this configuration, when the device information of the
S116では、制御部20は、PC80からログアウトされることを監視する。PC80のユーザは、ログアウトのための操作を、PC80の操作部に加えることができる。この場合、PC80は、ウェブブラウザを用いて、プリンタ10のウェブサーバにアクセスして、ユーザID「U1」を含むログアウト情報をプリンタ10に供給する。この場合、制御部20は、S116でYESと判断して、S120に進む。
In S116, the
S120では、制御部20は、プリンタ10のデバイス情報が格納管理サーバ50から削除されるように、ユーザID「U1」を含む削除指示を格納管理サーバ50に供給する。これにより、格納管理サーバ50は、ユーザID「U1」に対応付けられているプリンタ10のデバイス情報、即ち、プリンタ名「PN1」、及び、プリンタ10のCapability情報を、プリンタ管理テーブル52から削除する。
In S <b> 120, the
次いで、S122において、記憶制御部34は、NVRAM24から、ユーザIDを消去せずに、パスワードを消去する。このように、NVRAM24からユーザIDが消去されないために、ユーザは、ログインの指示をプリンタ10に再び与える際に、ユーザIDを指定せずに済む。また、NVRAM24からパスワードが消去されるために、NVRAM24内の情報量を低減させることができる。S122を終えると、S102に戻る。
Next, in S122, the
上述したように、プリンタ10は、ログアウト情報が取得される場合には、ログイン情報が再び取得されるまで、格納管理サーバ50と通信しない。また、プリンタ10によってログアウト情報が取得される場合には、プリンタ10と通知管理サーバ60との間の通信セッションが切断される。なお、通信セッションの切断は、プリンタ10と通知管理サーバ60とのどちらが主体的に実行してもよい。即ち、プリンタ10が、通知管理サーバ60に通信セッションを切断するためのFIN信号を通知管理サーバ60に送信してもよいし、逆に、通知管理サーバ60が、FIN信号をプリンタ10に送信してもよい。これらの説明から明らかなように、ログアウト情報は、格納管理サーバ50及び通知管理サーバ60との通信の終了に関する指示である。
As described above, when the logout information is acquired, the
また、S124において、データ取得部32は、通知管理サーバ60から所定の通知(即ちXMPP通知;図2参照)を受信することを監視する。通知管理サーバ60から所定の通知が受信される場合(S124でYESの場合)には、S126において、データ取得部32は、AuthToken「AT1」を含む要求情報を、格納管理サーバ50に供給する。これにより、データ取得部32は、格納管理サーバ50から、ジョブ情報(例えば図2,図3のジョブ情報J1)を取得する。S126では、さらに、データ取得部32は、ジョブ情報に含まれる印刷データ(例えば図2の印刷データPD1)のURLを用いて、データ格納部56から印刷データを取得する。
In S <b> 124, the
次いで、S128において、制御部20は、印刷データによって表わされる画像の印刷を、印刷実行部16に実行させる。なお、S128では、制御部20は、印刷データと共に取得される条件データによって示される印刷条件に従った印刷を、印刷実行部16に実行させる。
Next, in S128, the
(本実施例の効果)
本実施例の通信システム2を利用すれば、PC80は、プリンタ10に印刷を実行させるためのプリンタドライバを備えていなくても、ウェブブラウザを用いて、プリンタ10に印刷を実行させるための指示(プリンタ名PN1、印刷データPD1)を、格納管理サーバ50に与えることができる。そして、プリンタ10は、通知管理サーバ60から所定の通知を受信する場合に、印刷データPD1に従った印刷を実行することができる。即ち、本実施例では、PC80は、プリンタドライバを備えていなくても、印刷仲介サーバ(格納管理サーバ50及び通知管理サーバ60)を用いて、プリンタ10に印刷を実行させることができる。即ち、PC80は、クラウド印刷サービスを利用することができる。
(Effect of this embodiment)
If the communication system 2 of the present embodiment is used, even if the
また、本実施例によると、プリンタ10は、AuthTokenを、NVRAM24に記憶させずに、VRAM26に記憶させる。従って、AuthTokenがNVRAM24に記憶される構成と比べて、NVRAM24内の情報量が増加するのを抑制することができる。プリンタ10は、AuthTokenを取得するために必要なユーザ名及びパスワードを、NVRAM24に記憶させる(図4のS106)。従って、図5に示されるように、PC80からログアウト情報が取得されずに(図4のS116でNOの場合)、プリンタ10の電源がOFFされると、NVRAM24にユーザ名及びパスワードが維持される。その後、プリンタ10の電源がONされると、プリンタ10は、図4の処理を再び開始し、PC80のユーザからログイン情報が取得されなくても、NVRAM24内のユーザ名及びパスワードを格納管理サーバ50に供給して、格納管理サーバ50からAuthToken「AT1」を再び取得する(図4のS108)。プリンタ10は、AuthToken「AT1」を用いて、データ格納部56から印刷データを適切に取得することができ、当該印刷データによって表わされる画像の印刷を適切に実行することができる。
According to the present embodiment, the
なお、図5の例において、プリンタ10は、AuthToken「AT1」が取得されても、プリンタ10のデバイス情報(即ち、プリンタ名「PN1」、Capability情報)を格納管理サーバ50に供給しない。プリンタ10のデバイス情報は、格納管理サーバ50に既に登録されており、図4のS112でYESと判断されるからである。プリンタ10のデバイス情報が格納管理サーバ50に供給されないために、プリンタ10の処理負荷を低減させることができる。即ち、プリンタ10がユーザの指示に応じて格納管理サーバ50にログインする場合(即ちログイン情報を供給する場合)には、プリンタ10のデバイス情報が格納管理サーバ50にまだ登録されていない。従って、プリンタ10は、プリンタ10のデバイス情報を格納管理サーバ50に供給する。一方において、プリンタ10が電源ON時にユーザの指示なしで格納管理サーバ50に自動的にログインする場合には、プリンタ10が過去にログインする際にプリンタ10から供給されたデバイス情報が格納管理サーバ50に登録されている。従って、このような場合には、プリンタ10は、デバイス情報を供給しない。これにより、プリンタ10の処理負荷を低減させることができる。ただし、例えば、格納管理サーバ50に登録されたプリンタ10のデバイス情報の削除が、PC80等から指示されることがあり得る。即ち、プリンタ10が格納管理サーバ50に自動的にログインする場合に、格納管理サーバ50にプリンタ10のデバイス情報が登録されていない可能性がある。このために、本実施例では、プリンタ10は、格納管理サーバ50に自動的にログインする場合でも、プリンタ10のデバイス情報が格納管理サーバ50に登録されているかを判断し(図4のS112)、登録されていなければデバイス情報を再び供給する。
In the example of FIG. 5, even if AuthToken “AT1” is acquired, the
また、図5のS30に示されるように、PC80からログアウト情報が取得されると(図4のS116でYESの場合)、NVRAM24からパスワードが消去される。従って、その後、プリンタ10の電源のOFF及びONが実行されても、プリンタ10は、ユーザID及びパスワードを格納管理サーバ50に供給しない。ユーザが意図しない通信が実行されるのを抑制することができる。また、より機密性の高いパスワードをNVRAM24から消去するために、セキュリティの向上を図れる。
Also, as shown in S30 of FIG. 5, when logout information is acquired from the PC 80 (YES in S116 of FIG. 4), the password is deleted from the
(対応関係)
プリンタ10が「通信装置」の一例であり、格納管理サーバ50及び通知管理サーバ60が「サーバ」の一例である。AuthToken、ログイン情報(即ちユーザID及びパスワード)が、それぞれ、「第1種の認証情報」、「第2種の認証情報」の一例である。また、図4のS102でログイン情報をPC80から取得すること、図4のS116でログアウト情報をPC80から取得することが、それぞれ、「取得指示」、「終了指示」の一例である。「印刷データ」が「特定のデータ」の一例である。また、PC80が、「第1の端末装置」及び「第2の端末装置」の一例である。
(Correspondence)
The
以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。 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)サーバ50,60は、上記の実施例のように別体に構成されていなくてもよく、一体に構成されていてもよい。一般的に言うと、「印刷仲介サーバ」は、1個のデバイスのみによって実現されてもよいし、複数個のデバイスによって実現されてもよい。
(Modification 1) The
(変形例2)上記の実施例では、認証情報取得部30は、プリンタ10のためのAuthToken「AT1」を取得した後に、プリンタ10の電源のOFF及びONが実行される場合に、同じAuthToken「AT1」を再び取得する。ただし、格納管理サーバ50は、例えば、所定期間毎に、プリンタ10のためのAuthTokenを変更してもよい。この場合、認証情報取得部30は、プリンタ10のためのAuthToken「AT1」を取得した後に、プリンタ10の電源のOFF及びONが実行される場合に、「AT1とは異なる文字列によって構成されるAuthToken(即ち、変更後のAuthToken)を取得してもよい。ただし、変更後のAuthTokenは、「AT1」の文字列とは異なる文字列を有するが、プリンタ10のためのAuthTokenであるという点では、「AT1」と同種のものである。即ち、一般的に言うと、ユーザから取得指示が与えられる場合に、認証情報取得部によって取得される第1種の認証情報と、通信装置の電源のOFF及びONが実行される場合に、認証情報取得部によって取得される第1種の認証情報と、は同じ文字列を有していてもよいし、異なる文字列を有していてもよい。即ち、前者の第1種の認証情報と後者の第1種の認証情報とは、同種のもの(本実施例ではプリンタ10のためのAuthToken)であればよい。
(Modification 2) In the above-described embodiment, the authentication
(変形例3)上記の実施例では、記憶制御部34は、図4のS110において、AuthTokenを、NVRAM24に記憶させずに、VRAM26に記憶させる。これに代えて、記憶制御部34は、図4のS110において、AuthTokenをNVRAM24に記憶させてもよい。即ち、一般的にいうと、記憶制御部は、第1種の認証情報を、不揮発性メモリに記憶させてもよい。なお、この場合、記憶制御部は、通信装置の電源がOFFされる際に、第1種の認証情報を不揮発性メモリから消去してもよい(ただし、第2種の認証情報を不揮発性メモリから消去しない)。そして、認証情報取得部は、通信装置の電源がONされる場合に、不揮発性メモリ内の第2種の認証情報をサーバに供給して、サーバから第1種の認証情報を再び取得してもよい。
(Modification 3) In the above embodiment, the
(変形例4)上記の実施例では、記憶制御部34は、図4のS122において、NVRAM24から、ユーザIDを消去せずに、パスワードを消去する。これに代えて、記憶制御部34は、図4のS122において、NVRAM24から、ユーザID及びパスワードを消去してもよい。一般的に言うと、記憶制御部は、ユーザから終了指示が与えられる場合に、不揮発性メモリ内の第2種の認証情報のうちの少なくとも一部を消去すればよい。
(Modification 4) In the above embodiment, the
(変形例5)図2に示されるように、上記の実施例では、ユーザは、PC80を用いて、ログイン情報(即ち、AuthTokenを取得するための指示)をプリンタ10に与えるし、同じPC80を用いて、ログイン情報を格納管理サーバ50に与える。これに代えて、ユーザは、PC80を用いて、ログイン情報(即ち、AuthTokenを取得するための指示)をプリンタ10に与えるが、PC80とは異なるPCを用いて、ログイン情報を格納管理サーバ50に与えてもよい。一般的に言うと、第1の端末装置と第2の端末装置とは、同じデバイスであってもよいし、異なるデバイスであってもよい。
(Modification 5) As shown in FIG. 2, in the above embodiment, the user gives login information (that is, an instruction for obtaining AuthToken) to the
(変形例6)上記の実施例では、PC80は、ウェブブラウザを用いて格納管理サーバ50にアクセスして、印刷データPD1等を格納管理サーバ50に送信する(図2参照)。これに代えて、PC80は、格納管理サーバ50にアクセスするための専用プログラム(ウェブブラウザではなく、例えば、格納管理サーバ50を提供する提供者によって用意されるプログラムや、プリンタ10のベンダによって用意されるプログラム等)を用いて、印刷データPD1等を格納管理サーバ50に送信してもよい。
(Modification 6) In the above embodiment, the
(変形例7)上記の実施例は、印刷に関するシステムである。これに代えて、上記の実施例の技術は、ウェブブラウザのセッション管理にも適用可能である。例えば、通信装置の認証情報取得部は、SessionIDの取得に関する取得指示が与えられる場合に、所定のアカウント情報をウェブサーバに供給して、SessionIDをウェブサーバから取得してもよい。そして、通信装置のデータ取得部は、SessionIDを用いて、ウェブサーバ内のデータ格納部から、ウェブページを表わすウェブデータを取得してもよい。本変形例では、SessionID、所定のアカウント情報が、それぞれ、「第1種の認証情報」、「第2種の認証情報」の一例である。一般的に言うと、本明細書によって開示される技術は、第2種の認証情報をサーバに供給して、サーバから第1種の認証情報を取得するためのあらゆるシステムに適用可能である。 (Modification 7) The above embodiment is a system related to printing. Instead, the technique of the above-described embodiment can be applied to session management of a web browser. For example, the authentication information acquisition unit of the communication device may supply predetermined account information to the web server and acquire the Session ID from the web server when an acquisition instruction regarding the acquisition of the Session ID is given. And the data acquisition part of a communication apparatus may acquire the web data showing a web page from the data storage part in a web server using SessionID. In this modification, the Session ID and the predetermined account information are examples of “first type authentication information” and “second type authentication information”, respectively. Generally speaking, the technology disclosed in this specification can be applied to any system that supplies the second type of authentication information to the server and acquires the first type of authentication information from the server.
(変形例8)「通信装置」という用語は、プリンタに限られず、PC、サーバ、携帯電話、PDA、スキャナ、多機能機であってもよい。また、「端末装置」という用語は、PCに限られず、携帯電話、PDA、スキャナ、多機能機等を含む。 (Modification 8) The term “communication device” is not limited to a printer, but may be a PC, a server, a mobile phone, a PDA, a scanner, or a multi-function device. The term “terminal device” is not limited to a PC, but includes a mobile phone, a PDA, a scanner, a multi-function device, and the like.
また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。 The technical elements described in this specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technology illustrated in the present specification or the drawings achieves a plurality of objects at the same time, and has technical utility by achieving one of the objects.
2:通信システム、10:プリンタ、24:NVRAM、26:VRAM、50:格納管理サーバ、56:格納部、60:通知管理サーバ、80:PC、PD1:印刷データ 2: communication system, 10: printer, 24: NVRAM, 26: VRAM, 50: storage management server, 56: storage unit, 60: notification management server, 80: PC, PD1: print data
Claims (10)
ユーザから、第1種の認証情報の取得に関する取得指示が与えられる場合に、前記ユーザによって指定される第2種の認証情報を前記サーバに供給して、前記サーバから前記第1種の認証情報を取得する認証情報取得部と、
前記第1種の認証情報を用いて、データ格納部から特定のデータを取得するデータ取得部と、
前記第2種の認証情報を不揮発性メモリに記憶させる記憶制御部と、を備え、
前記認証情報取得部は、前記サーバから前記第1種の認証情報が取得され、その後、前記通信装置の電源のOFF及びONが実行される場合に、前記ユーザから前記取得指示が与えられなくても、前記不揮発性メモリ内の前記第2種の認証情報を前記サーバに供給して、前記サーバから前記第1種の認証情報を再び取得する、通信装置。 A communication device connected to a server via a network,
When an acquisition instruction relating to acquisition of the first type of authentication information is given from the user, the second type of authentication information designated by the user is supplied to the server, and the first type of authentication information is supplied from the server. An authentication information acquisition unit for acquiring
A data acquisition unit for acquiring specific data from the data storage unit using the first type of authentication information;
A storage control unit for storing the second type of authentication information in a non-volatile memory,
The authentication information acquisition unit is configured to acquire the first type of authentication information from the server, and then when the communication apparatus is turned off and on, the acquisition instruction is not given from the user. A communication device that supplies the second type of authentication information in the non-volatile memory to the server and obtains the first type of authentication information from the server again.
前記データ取得部は、前記揮発性メモリ内の前記第1種の認証情報を用いて、前記データ格納部から前記特定のデータを取得する、請求項1に記載の通信装置。 The storage control unit further stores the first type authentication information in a volatile memory without storing the first type of authentication information in the nonvolatile memory,
The communication apparatus according to claim 1, wherein the data acquisition unit acquires the specific data from the data storage unit using the first type of authentication information in the volatile memory.
前記ユーザから前記取得指示が与えられる場合に、前記通信装置のデバイス情報を前記サーバに供給して、前記通信装置の前記デバイス情報を前記サーバに登録する登録部を備え、
前記サーバは、前記サーバに登録済みである前記通信装置の前記デバイス情報を第1の端末装置に供給して、前記第1の端末装置からの要求に応じて、前記特定のデータを前記データ格納部に格納する、請求項1又は2に記載の通信装置。 The communication device further includes:
A registration unit for supplying device information of the communication device to the server and registering the device information of the communication device in the server when the acquisition instruction is given from the user;
The server supplies the device information of the communication device registered in the server to a first terminal device, and stores the specific data in response to a request from the first terminal device The communication device according to claim 1, which is stored in a unit.
前記サーバから前記第1種の認証情報が取得され、その後、前記通信装置の電源のOFF及びONが実行される場合に、前記通信装置の前記デバイス情報が前記サーバに現在登録されているのか否かを判断する判断部を備え、
前記登録部は、
前記通信装置の前記デバイス情報が前記サーバに現在登録されていると判断される場合に、前記通信装置の前記デバイス情報を前記サーバに供給せず、
前記通信装置の前記デバイス情報が前記サーバに現在登録されていないと判断される場合に、前記通信装置の前記デバイス情報を前記サーバに供給して、前記通信装置の前記デバイス情報を前記サーバに登録する、請求項4に記載の通信装置。 The registration unit
Whether the device information of the communication device is currently registered in the server when the first type of authentication information is acquired from the server and then the power of the communication device is turned off and on A determination unit for determining whether
The registration unit
When it is determined that the device information of the communication device is currently registered in the server, the device information of the communication device is not supplied to the server,
When it is determined that the device information of the communication device is not currently registered in the server, the device information of the communication device is supplied to the server and the device information of the communication device is registered in the server The communication device according to claim 4.
前記サーバから前記第1種の認証情報が取得され、その後、前記ユーザから、前記サーバとの通信の終了に関する終了指示が与えられずに、前記通信装置の電源のOFF及びONが実行される場合に、前記ユーザから前記取得指示が与えられなくても、前記第2種の認証情報を前記サーバに供給して、前記サーバから前記第1種の認証情報を再び取得し、
前記サーバから前記第1種の認証情報が取得され、その後、前記ユーザから前記終了指示が与えられ、その後、前記通信装置の電源のOFF及びONが実行される場合に、前記第2種の認証情報を前記サーバに供給しない、請求項1から5のいずれか一項に記載の通信装置。 The authentication information acquisition unit
When the first type of authentication information is acquired from the server, and thereafter, the user turns off and on the power of the communication device without giving an end instruction regarding the end of communication with the server. Even if the acquisition instruction is not given from the user, the second type of authentication information is supplied to the server, and the first type of authentication information is acquired again from the server,
The second type of authentication information is obtained when the first type of authentication information is acquired from the server, and then the end instruction is given from the user, and then the power of the communication device is turned off and on. The communication device according to claim 1, wherein no information is supplied to the server.
前記記憶制御部は、前記ユーザから前記終了指示が与えられる場合に、前記不揮発性メモリ内の前記ユーザIDを消去せずに、前記不揮発性メモリ内の前記パスワードを消去する、請求項7に記載の通信装置。 The second type of authentication information includes a user ID and a password,
8. The storage control unit according to claim 7, wherein the storage control unit erases the password in the nonvolatile memory without erasing the user ID in the nonvolatile memory when the termination instruction is given from the user. Communication equipment.
前記通信装置に搭載されるコンピュータに、以下の各処理、即ち、
ユーザから、第1種の認証情報の取得に関する取得指示が与えられる場合に、前記ユーザによって指定される第2種の認証情報を前記サーバに供給して、前記サーバから前記第1種の認証情報を取得する認証情報取得処理と、
前記第1種の認証情報を用いて、データ格納部から特定のデータを取得するデータ取得処理と、
前記第2種の認証情報を不揮発性メモリに記憶させる記憶制御処理と、を実行させ、
前記認証情報取得処理では、前記サーバから前記第1種の認証情報が取得され、その後、前記通信装置の電源のOFF及びONが実行される場合に、前記ユーザから前記取得指示が与えられなくても、前記不揮発性メモリ内の前記第2種の認証情報を前記サーバに供給して、前記サーバから前記第1種の認証情報を再び取得する、コンピュータプログラム。 A computer program for a communication device connected to a server via a network,
In the computer mounted on the communication device, the following processes, that is,
When an acquisition instruction relating to acquisition of the first type of authentication information is given from the user, the second type of authentication information designated by the user is supplied to the server, and the first type of authentication information is supplied from the server. Authentication information acquisition processing to acquire
A data acquisition process for acquiring specific data from the data storage unit using the first type of authentication information;
A storage control process for storing the second type of authentication information in a non-volatile memory;
In the authentication information acquisition process, when the first type of authentication information is acquired from the server and then the communication device is turned off and on, the acquisition instruction is not given from the user. A computer program for supplying the second type of authentication information in the nonvolatile memory to the server and acquiring the first type of authentication information from the server again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011054434A JP5505341B2 (en) | 2011-03-11 | 2011-03-11 | Communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011054434A JP5505341B2 (en) | 2011-03-11 | 2011-03-11 | Communication device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012190337A JP2012190337A (en) | 2012-10-04 |
JP5505341B2 true JP5505341B2 (en) | 2014-05-28 |
Family
ID=47083396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011054434A Active JP5505341B2 (en) | 2011-03-11 | 2011-03-11 | Communication device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5505341B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104580134A (en) * | 2013-10-09 | 2015-04-29 | 富士施乐株式会社 | Relay apparatus, relay system, and relay method |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0620674B2 (en) * | 1985-09-11 | 1994-03-23 | 津田工業株式会社 | Method for manufacturing universal joint spider |
JP6330338B2 (en) * | 2014-01-22 | 2018-05-30 | ブラザー工業株式会社 | Communication device |
JP6714337B2 (en) | 2015-10-16 | 2020-06-24 | キヤノン株式会社 | Information processing device, information processing method, and program |
JP6245331B2 (en) * | 2016-09-29 | 2017-12-13 | ブラザー工業株式会社 | Terminal device and printer |
JP6828637B2 (en) | 2017-08-10 | 2021-02-10 | ブラザー工業株式会社 | Image processing device |
JP7147267B2 (en) | 2018-05-23 | 2022-10-05 | ブラザー工業株式会社 | IMAGE PROCESSING DEVICE AND COMPUTER PROGRAM FOR IMAGE PROCESSING DEVICE |
JP7035803B2 (en) | 2018-05-23 | 2022-03-15 | ブラザー工業株式会社 | Image processing equipment and computer programs for image processing equipment |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002073462A (en) * | 2000-08-31 | 2002-03-12 | Ricoh Co Ltd | Information input/output system and terminal used therefor |
JP4109874B2 (en) * | 2002-02-05 | 2008-07-02 | キヤノン株式会社 | Information processing apparatus, control method therefor, program, and recording medium |
JP4433684B2 (en) * | 2003-03-24 | 2010-03-17 | 富士ゼロックス株式会社 | Job processing apparatus and data management method in the apparatus |
JP2006140898A (en) * | 2004-11-15 | 2006-06-01 | Konica Minolta Business Technologies Inc | Image formation system |
US9251323B2 (en) * | 2005-11-24 | 2016-02-02 | International Business Machines Corporation | Secure access to a plurality of systems of a distributed computer system by entering passwords |
JP2007152705A (en) * | 2005-12-02 | 2007-06-21 | Fuji Xerox Co Ltd | Image processor and image processing method |
JP4983596B2 (en) * | 2007-12-28 | 2012-07-25 | ブラザー工業株式会社 | Data providing system and data providing apparatus |
JP5152064B2 (en) * | 2009-03-25 | 2013-02-27 | ブラザー工業株式会社 | Node device, node processing program, and data file acquisition method |
JP5317795B2 (en) * | 2009-03-30 | 2013-10-16 | 株式会社野村総合研究所 | Authentication system and authentication method |
-
2011
- 2011-03-11 JP JP2011054434A patent/JP5505341B2/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104580134A (en) * | 2013-10-09 | 2015-04-29 | 富士施乐株式会社 | Relay apparatus, relay system, and relay method |
CN104580134B (en) * | 2013-10-09 | 2019-03-08 | 富士施乐株式会社 | Trunking, relay system and trunking method |
Also Published As
Publication number | Publication date |
---|---|
JP2012190337A (en) | 2012-10-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5505341B2 (en) | Communication device | |
JP5565346B2 (en) | Printer | |
JP5522095B2 (en) | Printer | |
JP5870527B2 (en) | Output distribution system, output distribution device, output destination information providing device, and recording medium | |
JP5677047B2 (en) | Printing system, information processing apparatus, printing method, and program | |
US9086826B2 (en) | Information processing apparatus, method for controlling the same, and storage medium | |
JP2006099714A (en) | Information processor, print management server, printer, document reader, print system, print data transmission method, print management method, printing method, printer driver program, program and recording medium | |
US20110255110A1 (en) | Follow-me printer driver | |
US20230333791A1 (en) | Image forming apparatus, control method of the image forming apparatus, and computer-readable storage medium | |
JP6041687B2 (en) | Print server system, control method, and program | |
US9450922B2 (en) | Peripheral apparatus, information processing apparatus, communication control method, and storage medium | |
US9128645B2 (en) | System including image forming apparatus and information processing apparatus, method performed under the system, image forming apparatus and information processing apparatus directed to the system, and non-transitory storage medium encoded with program directed to the apparatuses | |
JP4822084B2 (en) | Secure print setting program and secure print setting method | |
JP2011201024A (en) | Printer and terminal device | |
US9977632B2 (en) | Apparatus and method for processing information on file or job | |
JP6828637B2 (en) | Image processing device | |
TWI530153B (en) | Output management device, output management system, and output management method | |
JP5858092B2 (en) | Printer | |
JP6135215B2 (en) | Image forming apparatus, network system, method and program | |
JP2008290271A (en) | Network composite machine | |
JP2009009600A (en) | Print system, print management server, printing method, print management method, and program | |
JP4480037B2 (en) | Print management server, printing apparatus, print management method, printing method, program, and recording medium | |
JP7179589B2 (en) | Image forming apparatus and log information acquisition system | |
JP2013196259A (en) | Data processor, data processing system and program | |
JP2014085728A (en) | Print management device, method for controlling print management device, print management system and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130325 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140127 |
|
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: 20140218 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140303 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5505341 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |