[go: up one dir, main page]

JP2018169871A - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP2018169871A
JP2018169871A JP2017067550A JP2017067550A JP2018169871A JP 2018169871 A JP2018169871 A JP 2018169871A JP 2017067550 A JP2017067550 A JP 2017067550A JP 2017067550 A JP2017067550 A JP 2017067550A JP 2018169871 A JP2018169871 A JP 2018169871A
Authority
JP
Japan
Prior art keywords
information
registered
management server
communication
printer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017067550A
Other languages
Japanese (ja)
Other versions
JP6888368B2 (en
Inventor
河合 淳
Atsushi Kawai
淳 河合
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 JP2017067550A priority Critical patent/JP6888368B2/en
Publication of JP2018169871A publication Critical patent/JP2018169871A/en
Application granted granted Critical
Publication of JP6888368B2 publication Critical patent/JP6888368B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

【課題】 通信装置を識別するための対象識別情報を管理サーバに登録する際のユーザの作業負担を軽減することができる技術を提供する。【解決手段】 通信装置は、通信インターフェースを介した通信を実行して、通信装置が所属するローカルエリアネットワークに接続されている登録済み装置を特定する特定部と、通信インターフェースを介して、情報要求を特定済みの登録済み装置に送信する送信部と、情報要求を登録済み装置に送信することに応じて、通信インターフェースを介して、登録済み装置から管理サーバにおいて登録済み識別情報に対応付けられる認証情報を受信する受信部と、登録済み装置から認証情報を受信することに応じて、通信インターフェースを介して、認証情報と、通信装置を識別するための対象識別情報と、を管理サーバに送信して、対象識別情報を管理サーバに登録する登録処理を実行する登録部と、を備える。【選択図】 図3PROBLEM TO BE SOLVED: To provide a technique capable of reducing a user's workload when registering target identification information for identifying a communication device in a management server. A communication device executes communication via a communication interface, and requests information via a communication interface with a specific unit that identifies a registered device connected to a local area network to which the communication device belongs. Authentication associated with the registered identification information on the management server from the registered device via the communication interface in response to the transmitter that sends the information request to the registered device and the information request sent to the registered device. In response to receiving the authentication information from the receiving unit that receives the information and the registered device, the authentication information and the target identification information for identifying the communication device are transmitted to the management server via the communication interface. A registration unit that executes a registration process for registering the target identification information in the management server is provided. [Selection diagram] Fig. 3

Description

本明細書では、通信装置を識別するための対象識別情報を管理サーバに登録するための技術を開示する。   The present specification discloses a technique for registering target identification information for identifying a communication device in a management server.

特許文献1には、情報機器と、情報機器に関係するサービスを提供するサーバと、を備えるシステムが開示されている。サーバは、情報機器のIDの登録に必要なPIN(Personal Identification Numberの略)コードをユーザに提供する。PINコードは、例えば、18桁の数字である。情報機器は、ユーザによってPINコードが入力されると、PINコードと情報機器のIDとをサーバに送信する。サーバは、PINコードの認証が成功すると、情報機器のIDを登録する。   Patent Document 1 discloses a system including an information device and a server that provides a service related to the information device. The server provides the user with a PIN (abbreviation of personal identification number) code necessary for registering the ID of the information device. The PIN code is, for example, an 18-digit number. When the PIN code is input by the user, the information device transmits the PIN code and the ID of the information device to the server. When the authentication of the PIN code is successful, the server registers the ID of the information device.

特開2014−178984号公報JP 2014-178984 A

上記の技術では、ユーザが比較的に大きな桁数を有するPINコードを情報機器に入力しなければならないので、ユーザの作業負担が大きい。   In the above technique, since the user has to input a PIN code having a relatively large number of digits into the information device, the work burden on the user is large.

本明細書では、通信装置を識別するための対象識別情報を管理サーバに登録する際のユーザの作業負担を軽減することができる技術を提供する。   The present specification provides a technique capable of reducing a user's workload when registering target identification information for identifying a communication device in a management server.

本明細書によって開示される通信装置は、通信インターフェースと、前記通信インターフェースを介した通信を実行して、前記通信装置が所属するローカルエリアネットワークに接続されている登録済み装置を特定する特定部であって、前記登録済み装置は、前記登録済み装置を識別するための登録済み識別情報がインターネット上の管理サーバに登録されている装置である、前記特定部と、前記通信インターフェースを介して、情報要求を特定済みの前記登録済み装置に送信する送信部であって、前記情報要求は、前記管理サーバにおいて前記登録済み識別情報に対応付けられる認証情報の送信を要求するためのコマンドである、前記送信部と、前記情報要求を前記登録済み装置に送信することに応じて、前記通信インターフェースを介して、前記登録済み装置から前記認証情報を受信する受信部と、前記登録済み装置から前記認証情報を受信することに応じて、前記通信インターフェースを介して、前記認証情報と、前記通信装置を識別するための対象識別情報と、を前記管理サーバに送信して、前記対象識別情報を前記管理サーバに登録する登録処理を実行する登録部と、を備える。   The communication device disclosed in this specification is a specifying unit that performs communication via the communication interface and specifies a registered device connected to a local area network to which the communication device belongs. The registered device is a device in which registered identification information for identifying the registered device is registered in a management server on the Internet. A transmission unit that transmits a request to the specified registered device, wherein the information request is a command for requesting transmission of authentication information associated with the registered identification information in the management server; In response to transmitting the information request to the registered device via the communication interface; A receiving unit that receives the authentication information from the registered device, and identifying the authentication information and the communication device via the communication interface in response to receiving the authentication information from the registered device. And a registration unit that executes registration processing for transmitting the target identification information to the management server and registering the target identification information in the management server.

上記の構成によれば、通信装置は、登録済み装置を特定して、当該登録済み装置に情報要求を送信することによって、管理サーバにおいて登録済み識別情報に対応付けられている認証情報を受信する。そして、通信装置は、認証情報と通信装置を識別するための対象識別情報を管理サーバに送信することによって、対象識別情報を管理サーバに登録することができる。即ち、ユーザがPINコードを通信装置に入力しなくても、対象識別情報を管理サーバに登録することができる。従って、対象識別情報を管理サーバに登録する際のユーザの作業負担を軽減することができる。   According to the above configuration, the communication device receives the authentication information associated with the registered identification information in the management server by specifying the registered device and transmitting an information request to the registered device. . Then, the communication device can register the target identification information in the management server by transmitting the authentication information and the target identification information for identifying the communication device to the management server. That is, the target identification information can be registered in the management server without the user inputting the PIN code into the communication device. Therefore, it is possible to reduce the work burden on the user when registering the target identification information in the management server.

上記の通信装置を実現するための制御方法、コンピュータプログラム、及び、当該コンピュータプログラムを格納するコンピュータ読取可能記録媒体も、新規で有用である。   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 shows a configuration of a communication system. PINコードの入力によってデバイス情報を登録する処理のシーケンス図を示す。FIG. 5 shows a sequence diagram of processing for registering device information by inputting a PIN code. プリンタの処理のフローチャートを示す。2 shows a flowchart of processing of a printer. 登録処理のフローチャートを示す。The flowchart of a registration process is shown. 図3及び4の処理によって実現される具体的なケースを示す。The specific case implement | achieved by the process of FIG. 3 and 4 is shown.

(通信システム2の構成;図1)
図1に示されるように、通信システム2は、端末装置10と、複数個のプリンタ100、200、300と、管理サーバ500と、を備える。端末装置10は、デスクトップPC(Personal Computerの略)、ノートPC、携帯端末等のユーザ端末である。各装置10、200、300は、同じLAN(Local Area Networkの略)4に接続されており、プリンタ100は、LAN4にまだ接続されていない。LAN4は、有線LAN及び無線LANのどちらでもよい。また、LAN4は、インターネット6に接続されている。LAN4に所属する装置(例えば10)は、LAN4及びインターネット6を介して、インターネット6上に設置されている管理サーバ500と通信可能である。
(Configuration of communication system 2; FIG. 1)
As shown in FIG. 1, the communication system 2 includes a terminal device 10, a plurality of printers 100, 200, 300, and a management server 500. The terminal device 10 is a user terminal such as a desktop PC (abbreviation of Personal Computer), a notebook PC, or a mobile terminal. The devices 10, 200, and 300 are connected to the same LAN (abbreviation of Local Area Network) 4, and the printer 100 is not yet connected to the LAN 4. The LAN 4 may be either a wired LAN or a wireless LAN. The LAN 4 is connected to the Internet 6. A device (for example, 10) belonging to the LAN 4 can communicate with the management server 500 installed on the Internet 6 via the LAN 4 and the Internet 6.

(管理サーバ500の構成)
管理サーバ500は、プリンタ(例えば100)に関する情報を収集して管理するサーバであり、当該情報に応じたサービスをプリンタのユーザに提供する。管理サーバ500は、プリンタ100等のベンダによってインターネット6上に設置される。なお、変形例では、管理サーバ500は、当該ベンダとは異なる事業者によってインターネット6上に設置されてもよい。
(Configuration of management server 500)
The management server 500 is a server that collects and manages information related to a printer (for example, 100), and provides a service corresponding to the information to a printer user. The management server 500 is installed on the Internet 6 by a vendor such as the printer 100. In the modification, the management server 500 may be installed on the Internet 6 by an operator different from the vendor.

管理サーバ500は、ユーザテーブル502とデバイステーブル504とを記憶する。ユーザテーブル502には、1個以上のユーザ情報が登録される。各ユーザ情報は、ユーザを識別するためのユーザ名(例えばUN1)と、ユーザを認証するためのパスワード(例えばP1)と、を含む。各ユーザ情報には、当該ユーザ情報を識別するためのユニークなユーザ番号が対応付けられる。   The management server 500 stores a user table 502 and a device table 504. In the user table 502, one or more pieces of user information are registered. Each user information includes a user name (for example, UN1) for identifying the user and a password (for example, P1) for authenticating the user. Each user information is associated with a unique user number for identifying the user information.

デバイステーブル504には、1個以上のデバイス情報が登録される。各デバイス情報は、モデル名(例えば、MN2)と、シリアル番号(例えば、SN2)と、を含む。モデル名は、プリンタのモデルを示す。シリアル番号は、プリンタに割り当てられるユニークな文字列である。モデル名は、同じモデルの複数個のプリンタに対して共通して割り当てられるが、シリアル番号は、プリンタ毎に異なる。各デバイス情報には、ユーザ番号、アクセストークン、及び、履歴情報が対応付けられる。なお、変形例では、デバイス情報は、モデル名を含まなくてもよい。   One or more pieces of device information are registered in the device table 504. Each device information includes a model name (for example, MN2) and a serial number (for example, SN2). The model name indicates the printer model. The serial number is a unique character string assigned to the printer. The model name is commonly assigned to a plurality of printers of the same model, but the serial number is different for each printer. Each device information is associated with a user number, an access token, and history information. In the modified example, the device information may not include the model name.

アクセストークンは、管理サーバ500とプリンタとの間で通信を実行するための情報である。特に、本実施例では、インターネット6上の管理サーバ500が、プリンタから要求を受信しなくても、当該プリンタが所属するLAN4のファイヤウォールを越えて、当該プリンタに要求を送信することを実現するために、管理サーバ500と当該プリンタとの間にXMPP(Extensible Messaging and Presence Protocolの略)接続が確立される。変形例では、XMPP接続に代えて、HTTPS(Hypertext Transfer Protocol Secureの略)接続が確立されてもよい。履歴情報は、プリンタのステータス情報の履歴を示す情報である。特に、本実施例では、ステータス情報は、プリンタの複数色(例えばCMYK)のインクのそれぞれの残量を示す残量情報を含む。   The access token is information for executing communication between the management server 500 and the printer. In particular, this embodiment realizes that the management server 500 on the Internet 6 can transmit a request to the printer over the firewall of the LAN 4 to which the printer belongs without receiving a request from the printer. Therefore, an XMPP (Extensible Messaging and Presence Protocol) connection is established between the management server 500 and the printer. In the modification, instead of the XMPP connection, an HTTPS (abbreviation for Hypertext Transfer Protocol Secure) connection may be established. The history information is information indicating a history of printer status information. In particular, in the present embodiment, the status information includes remaining amount information indicating the remaining amounts of ink of a plurality of colors (for example, CMYK) of the printer.

(プリンタ100の構成)
プリンタ100は、印刷機能を実行可能な周辺装置(即ち、端末装置10等の周辺装置)である。プリンタ100は、操作部112と、表示部114と、通信インターフェース116と、制御部120と、を備える。以下では、インターフェースのことを「I/F」と記載する。
(Configuration of Printer 100)
The printer 100 is a peripheral device that can execute a printing function (that is, a peripheral device such as the terminal device 10). The printer 100 includes an operation unit 112, a display unit 114, a communication interface 116, and a control unit 120. Hereinafter, the interface is described as “I / F”.

操作部112は、複数のキーを備える。ユーザは、操作部112を操作することによって、様々な指示をプリンタ100に入力することができる。表示部114は、様々な情報を表示するためのディスプレイである。表示部114は、いわゆるタッチパネルとしても機能する。即ち、表示部114は、操作部としても機能する。   The operation unit 112 includes a plurality of keys. The user can input various instructions to the printer 100 by operating the operation unit 112. The display unit 114 is a display for displaying various information. The display unit 114 also functions as a so-called touch panel. That is, the display unit 114 also functions as an operation unit.

通信I/F116は、有線通信又は無線通信を実行するためのI/Fである。LAN4が有線LANである場合には、通信I/F116にはLANケーブルが接続される。これにより、プリンタ100はLAN4に所属することができる。   The communication I / F 116 is an I / F for executing wired communication or wireless communication. When the LAN 4 is a wired LAN, a LAN cable is connected to the communication I / F 116. As a result, the printer 100 can belong to the LAN 4.

制御部120は、CPU122と、メモリ124と、を備える。CPU122は、メモリ124に記憶されているプログラム126に従って、様々な処理を実行する。メモリ124は、揮発性メモリ、不揮発性メモリ等によって構成される。メモリ124は、サービス設定128と、デバイス情報DI1と、接続状態情報130と、を記憶する。デバイス情報DI1は、プリンタ100のモデル名MN1とシリアル番号SN1を含む。   The control unit 120 includes a CPU 122 and a memory 124. The CPU 122 executes various processes according to the program 126 stored in the memory 124. The memory 124 is configured by a volatile memory, a nonvolatile memory, or the like. The memory 124 stores service settings 128, device information DI1, and connection status information 130. The device information DI1 includes the model name MN1 and serial number SN1 of the printer 100.

サービス設定128は、問合画面SC(図3参照)を表示すべきか否かを示す設定である。問合画面SCは、管理サーバ500からサービスの提供を受けるのか否かをユーザに問い合わせるための画面である。サービス設定128が「許可」を示す場合には、問合画面SCが表示される。一方、サービス設定128が「禁止」を示す場合には、問合画面SCが表示されない。プリンタ100の出荷段階では、サービス設定128は「許可」を示す。   The service setting 128 is a setting indicating whether or not to display the inquiry screen SC (see FIG. 3). The inquiry screen SC is a screen for inquiring the user as to whether or not the service is received from the management server 500. When the service setting 128 indicates “permitted”, the inquiry screen SC is displayed. On the other hand, when the service setting 128 indicates “prohibited”, the inquiry screen SC is not displayed. At the shipping stage of the printer 100, the service setting 128 indicates “permitted”.

接続状態情報130は、プリンタ100と管理サーバ500との間の接続状態を示す情報である。接続状態は、「OK」、「None」、及び、「Disconnect」のいずれかである。接続状態「OK」は、デバイス情報DI1が管理サーバ500に登録され、かつ、管理サーバ500とのXMPP接続が確立されている状態を意味する。接続状態「None」は、デバイス情報DI1を管理サーバ500に登録するための処理が一度も実行されておらず、管理サーバ500とのXMPP接続が確立されていない状態を意味する。接続状態「Disconnect」は、デバイス情報DI1を管理サーバ500に登録するための処理が実行されたが、管理サーバ500とのXMPP接続が確立されていない状態を意味する。ここで、本実施例の初期状態では、プリンタ100はLAN4にまだ所属していないので、デバイス情報DI1を管理サーバ500に登録するための処理が一度も実行されていない。このため、接続状態情報130は、接続状態「None」を示す。   The connection status information 130 is information indicating a connection status between the printer 100 and the management server 500. The connection state is “OK”, “None”, or “Disconnect”. The connection state “OK” means a state in which the device information DI1 is registered in the management server 500 and an XMPP connection with the management server 500 is established. The connection state “None” means a state in which the process for registering the device information DI1 in the management server 500 has never been executed, and the XMPP connection with the management server 500 has not been established. The connection state “Disconnect” means a state in which the process for registering the device information DI1 in the management server 500 has been executed, but the XMPP connection with the management server 500 has not been established. Here, in the initial state of the present embodiment, since the printer 100 does not yet belong to the LAN 4, the process for registering the device information DI1 in the management server 500 has never been executed. For this reason, the connection state information 130 indicates the connection state “None”.

(プリンタ200の構成)
プリンタ200は、LAN4に接続されている。プリンタ200のデバイス情報DI2(即ち、モデル名MN2、シリアル番号SN2)は後述の図2の処理によって管理サーバ500に登録されており、かつ、プリンタ200と管理サーバ500との間にXMPP接続が確立されている。このため、プリンタ200は、接続状態「OK」を示す接続状態情報230と、アクセストークンAT2と、通信関係情報CI2と、を記憶する。
(Configuration of Printer 200)
The printer 200 is connected to the LAN 4. Device information DI2 (that is, model name MN2 and serial number SN2) of the printer 200 is registered in the management server 500 by the processing of FIG. 2 described later, and an XMPP connection is established between the printer 200 and the management server 500. Has been. Therefore, the printer 200 stores connection state information 230 indicating a connection state “OK”, an access token AT2, and communication relation information CI2.

通信関係情報CI2は、プロキシサーバ情報と、DNS(Domain Name Systemの略)情報と、時計情報と、サーバ証明書と、トークン登録URL(Uniform Resource Locatorの略)と、を含む。プロキシサーバ情報は、LAN4に設置されるプロキシサーバ(図示省略)のIPアドレスを含む。変形例では、プロキシサーバ情報は、プロキシサーバのIPアドレスに代えて、プロキシサーバのドメイン名を含んでいてもよい。DNS情報は、LAN4に設置されるDNSサーバ(図示省略)のIPアドレスを含む。時計情報は、現在の日時を示す。プロキシサーバ情報とDNS情報と時計情報とは、ユーザによってプリンタ200に入力される。   The communication relation information CI2 includes proxy server information, DNS (abbreviation of Domain Name System) information, clock information, server certificate, and token registration URL (abbreviation of Uniform Resource Locator). The proxy server information includes the IP address of a proxy server (not shown) installed on the LAN 4. In the modification, the proxy server information may include the domain name of the proxy server instead of the IP address of the proxy server. The DNS information includes an IP address of a DNS server (not shown) installed in the LAN 4. The clock information indicates the current date and time. Proxy server information, DNS information, and clock information are input to the printer 200 by the user.

サーバ証明書は、管理サーバ500の管理者の身元を確認するための電子証明書である。例えば、サーバ証明書は、SSL(Secure Sockets Layerの略)に従った通信で利用される。トークン登録URLは、後述のトークン登録要求(図4のS104参照)を管理サーバ500に送信する際の宛先を示す。トークン登録要求は、アクセストークンを利用してデバイス情報を管理サーバ500に登録するための要求である。サーバ証明書とトークン登録URLとは、管理サーバ500から取得される。   The server certificate is an electronic certificate for confirming the identity of the administrator of the management server 500. For example, the server certificate is used in communication according to SSL (abbreviation for Secure Sockets Layer). The token registration URL indicates a destination when a token registration request (see S104 in FIG. 4) described later is transmitted to the management server 500. The token registration request is a request for registering device information in the management server 500 using an access token. The server certificate and token registration URL are acquired from the management server 500.

プリンタ200は、さらに、PIN(Personal Identification Numberの略)登録URLを記憶する。PIN登録URLは、後述のPIN登録要求(図2のT34参照)を管理サーバ500に送信する際の宛先を示す。PIN登録要求は、PINコードを利用してデバイス情報を管理サーバ500に登録するための要求である。PIN登録URLは、プリンタ200が出荷される段階から、プリンタ200に予め記憶されている。なお、PIN登録URLは、プリンタ100及び300にも予め記憶されている。ただし、本実施例では、プリンタ100及び300によってPIN登録URLが利用されることを想定していないので、その図示は省略されている。   The printer 200 further stores a PIN (abbreviation for personal identification number) registration URL. The PIN registration URL indicates a destination when a PIN registration request (see T34 in FIG. 2) described later is transmitted to the management server 500. The PIN registration request is a request for registering device information in the management server 500 using a PIN code. The PIN registration URL is stored in advance in the printer 200 from the stage when the printer 200 is shipped. Note that the PIN registration URL is also stored in the printers 100 and 300 in advance. However, in this embodiment, since it is not assumed that the PIN registration URL is used by the printers 100 and 300, the illustration thereof is omitted.

(プリンタ300の構成)
プリンタ300は、LAN4に接続されている。プリンタ300のデバイス情報DI3(即ち、モデル名MN3、シリアル番号SN3)は、管理サーバ500に登録されていない。プリンタ300では、デバイス情報DI3を管理サーバ500に登録するための処理が実行されたが、プリンタ300と管理サーバ500との間にXMPP接続が確立されていない。このため、プリンタ300は、接続状態「Disconnect」を示す接続状態情報330を記憶する。
(Configuration of Printer 300)
The printer 300 is connected to the LAN 4. The device information DI3 (that is, model name MN3, serial number SN3) of the printer 300 is not registered in the management server 500. In the printer 300, the process for registering the device information DI3 in the management server 500 is executed, but the XMPP connection is not established between the printer 300 and the management server 500. Therefore, the printer 300 stores connection state information 330 indicating the connection state “Disconnect”.

(PINコードの入力によってデバイス情報を登録する処理:図2)
続いて、図2を参照して、プリンタ200のデバイス情報DI2を管理サーバ500に登録するための処理について説明する。当該処理を説明する前に、ユーザの事前準備を説明する。まず、ユーザは、例えば端末装置10を利用して管理サーバ500にアクセスし、ユーザ名UN1及びパスワードP1を含むユーザ情報(アカウント情報と言い換えることもできる)を管理サーバ500に予め登録しておく。これにより、ユーザ番号U1とユーザ名UN1とパスワードP1とが対応付けられた状態でユーザテーブル502に登録される。そして、ユーザは、プリンタ200をLANケーブルに接続する。
(Process for registering device information by inputting PIN code: Fig. 2)
Next, a process for registering the device information DI2 of the printer 200 in the management server 500 will be described with reference to FIG. Before explaining the process, the user's advance preparation will be explained. First, for example, the user accesses the management server 500 using the terminal device 10 and registers in advance in the management server 500 user information including the user name UN1 and the password P1 (which may be referred to as account information). As a result, the user number U1, the user name UN1, and the password P1 are registered in the user table 502 in a state where they are associated with each other. Then, the user connects the printer 200 to the LAN cable.

端末装置10は、ユーザから、管理サーバ500のURLを指定する操作と、ユーザ名UN1及びパスワードP1の入力操作と、を受け付けると、T10において、ユーザ名UN1及びパスワードP1を含むログイン要求を管理サーバ500に送信する。   When the terminal device 10 receives an operation for specifying the URL of the management server 500 and an input operation for the user name UN1 and the password P1 from the user, the terminal device 10 issues a login request including the user name UN1 and the password P1 at T10. Sent to 500.

管理サーバ500は、T12において、端末装置10からログイン要求を受信すると、当該ログイン要求に含まれるユーザ名UN1及びパスワードP1の組合せがユーザテーブル502に記憶されているので、T12において、認証が成功したと判断する。この結果、端末装置10が管理サーバ500にログインした状態になる。この場合、T14では、管理サーバ500は、PINコードC1を生成し、ユーザ名UN1に対応付けてPINコードC1を記憶する。そして、T16では、管理サーバ500は、PINコードC1を端末装置10に送信する。   When the management server 500 receives the login request from the terminal device 10 at T12, the combination of the user name UN1 and the password P1 included in the login request is stored in the user table 502, so that the authentication is successful at T12. Judge. As a result, the terminal device 10 is logged into the management server 500. In this case, at T14, the management server 500 generates the PIN code C1, and stores the PIN code C1 in association with the user name UN1. In T16, the management server 500 transmits the PIN code C1 to the terminal device 10.

端末装置10は、T16において、管理サーバ500からPINコードC1を受信すると、T18において、PINコードC1を表示する。これにより、ユーザは、PINコードC1を知ることができる。   When the terminal device 10 receives the PIN code C1 from the management server 500 at T16, the terminal device 10 displays the PIN code C1 at T18. Thereby, the user can know the PIN code C1.

T30では、ユーザは、インターネット通信をプリンタ200に実行させるための通信設定として、プロキシサーバ情報とDNS情報と時計情報とをプリンタ200に入力する。この場合、図示省略しているが、プリンタ200は、DNS情報によって示されるIPアドレスを宛先として、プリンタ200のノード名(即ちプリンタ200のデバイス名)を登録するためのノード名登録要求をDNSサーバに送信する。これにより、プリンタ200のノード名及びIPアドレスがDNSサーバに登録される。その後、T32では、ユーザは、PINコードC1をプリンタ200に入力する。   In T30, the user inputs proxy server information, DNS information, and clock information to the printer 200 as communication settings for causing the printer 200 to perform Internet communication. In this case, although not shown, the printer 200 sends a node name registration request for registering the node name of the printer 200 (that is, the device name of the printer 200) with the IP address indicated by the DNS information as the destination. Send to. As a result, the node name and IP address of the printer 200 are registered in the DNS server. Thereafter, at T32, the user inputs the PIN code C1 to the printer 200.

T34では、プリンタ200は、予め記憶しているPIN登録URLを宛先のURLとして、PIN登録要求を管理サーバ500に送信する。PIN登録要求は、T32で入力されたPINコードC1と、予め記憶しているデバイス情報DI2と、を含む。ここで、プリンタ200は、T30で入力されたプロキシサーバ情報によって示されるIPアドレス(即ちプロキシサーバ)を経由して、PIN登録要求を管理サーバ500に送信する。この際に、プロキシサーバは、プリンタ200のノード名及びIPアドレスがDNSサーバに登録されているのか否かを確認し、登録されていることを条件として、PIN登録要求を管理サーバ500に送信する。   In T34, the printer 200 transmits a PIN registration request to the management server 500 with the PIN registration URL stored in advance as the destination URL. The PIN registration request includes the PIN code C1 input at T32 and device information DI2 stored in advance. Here, the printer 200 transmits a PIN registration request to the management server 500 via the IP address (that is, the proxy server) indicated by the proxy server information input in T30. At this time, the proxy server checks whether or not the node name and IP address of the printer 200 are registered in the DNS server, and transmits a PIN registration request to the management server 500 on the condition that it is registered. .

管理サーバ500は、T34において、プリンタ200からPIN登録要求を受信すると、PIN登録要求に含まれるPINコードC1が管理サーバ500に記憶されているので(T14参照)、T40において、認証が成功したと判断する。この場合、管理サーバ500は、ユーザテーブル502から、PINコードC1に対応付けられているユーザ番号U1を特定する。   When the management server 500 receives the PIN registration request from the printer 200 at T34, the PIN code C1 included in the PIN registration request is stored in the management server 500 (see T14), so that the authentication is successful at T40. to decide. In this case, the management server 500 specifies the user number U1 associated with the PIN code C1 from the user table 502.

T42では、管理サーバ500は、アクセストークンAT2を生成する。そして、管理サーバ500は、PIN登録要求に含まれるデバイス情報DI2と、特定済みのユーザ番号U1と、生成済みのアクセストークンAT2と、を対応付けてデバイステーブル504に登録する。これにより、プリンタ200が管理サーバ500に登録された状態になる。   At T42, the management server 500 generates an access token AT2. Then, the management server 500 registers the device information DI2, included in the PIN registration request, the specified user number U1, and the generated access token AT2 in the device table 504 in association with each other. As a result, the printer 200 is registered in the management server 500.

T44では、管理サーバ500は、アクセストークンAT2をプリンタ200に送信する。また、管理サーバ500は、サーバ証明書を発行するための発行サーバ(図示省略)にアクセスしてサーバ証明書を取得し、当該サーバ証明書をプリンタ200に送信する。また、管理サーバ500は、アクセストークンAT2を含むトークン登録要求を受信するためのトークン登録URLを生成し、当該トークン登録URLをプリンタ200に送信する。なお、トークン登録URLは、管理サーバ500に予め記憶されていてもよい。   In T44, the management server 500 transmits the access token AT2 to the printer 200. In addition, the management server 500 accesses an issuing server (not shown) for issuing a server certificate, acquires the server certificate, and transmits the server certificate to the printer 200. Further, the management server 500 generates a token registration URL for receiving a token registration request including the access token AT2, and transmits the token registration URL to the printer 200. Note that the token registration URL may be stored in the management server 500 in advance.

プリンタ200は、T44において、管理サーバ500から情報を受信すると、当該情報(即ち、アクセストークンAT2、サーバ証明書、及び、トークン登録URL)を記憶する。そして、T46では、プリンタ200は、アクセストークンAT2を利用して、XMPP接続を管理サーバ500と確立する。T48では、プリンタ200は、接続状態情報230によって示される接続状態を「None」から「OK」に変更する。   When the printer 200 receives information from the management server 500 at T44, the printer 200 stores the information (that is, the access token AT2, the server certificate, and the token registration URL). In T46, the printer 200 establishes an XMPP connection with the management server 500 using the access token AT2. In T48, the printer 200 changes the connection state indicated by the connection state information 230 from “None” to “OK”.

T62では、管理サーバ500は、XMPP接続を利用して、残量情報要求をプリンタ200に送信する。残量情報要求は、残量情報の送信をプリンタに要求するためのコマンドである。当該要求は、例えば、所定時間毎に管理サーバ500から送信される。   In T62, the management server 500 transmits a remaining amount information request to the printer 200 using the XMPP connection. The remaining amount information request is a command for requesting the printer to transmit remaining amount information. The request is transmitted from the management server 500 every predetermined time, for example.

プリンタ200は、T62において、管理サーバ500から残量情報要求を受信すると、T64において、現在の残量情報とアクセストークンAT2とを管理サーバ500に送信する。   When the printer 200 receives the remaining amount information request from the management server 500 at T62, the printer 200 transmits the current remaining amount information and the access token AT2 to the management server 500 at T64.

管理サーバ500は、T64において、プリンタ200から残量情報とアクセストークンAT2とを受信すると、アクセストークンAT2がデバイステーブル504に登録されているので(T42参照)、認証が成功したと判断する。この場合、T66では、管理サーバ500は、アクセストークンAT2に対応付けられる履歴情報HI2として、受信済みの残量情報をデバイステーブル504に記憶させる。   When receiving the remaining amount information and the access token AT2 from the printer 200 at T64, the management server 500 determines that the authentication is successful because the access token AT2 is registered in the device table 504 (see T42). In this case, at T66, the management server 500 stores the received remaining amount information in the device table 504 as the history information HI2 associated with the access token AT2.

管理サーバ500は、プリンタ200からの残量情報の受信を定期的に実行することによって、複数の日時に対応する複数個の残量情報を含む履歴情報HI2を取得することができる。これにより、管理サーバ500は、プリンタ200におけるインク残量を管理することができる。この結果、管理サーバ500は、例えば、モデル名MN2及びシリアル番号SN2を有するプリンタ200のインク残量が少なくなったことを電子メールでユーザに知らせるサービスを実行することができる、また、管理サーバ500は、例えば、インク残量が少なくなった際に、モデル名MN2及びシリアル番号SN2を有するプリンタ200に装着可能なインクカートリッジをユーザに発送するサービスを実行することができる。   The management server 500 can acquire history information HI2 including a plurality of remaining amount information corresponding to a plurality of dates by periodically receiving the remaining amount information from the printer 200. Thereby, the management server 500 can manage the remaining amount of ink in the printer 200. As a result, for example, the management server 500 can execute a service for notifying the user by e-mail that the remaining amount of ink in the printer 200 having the model name MN2 and the serial number SN2 has decreased. For example, when the remaining amount of ink is low, a service for sending an ink cartridge that can be attached to the printer 200 having the model name MN2 and the serial number SN2 to the user can be executed.

(プリンタ100の処理:図3)
続いて、図3を参照して、プリンタ100によって実行される処理を説明する。当該処理は、プリンタ100がPINコードの入力なしでデバイス情報DI1を管理サーバ500に登録するための処理である。図3の処理は、プリンタ100がLANケーブルに接続された後に、プリンタ100の電源が投入されることをトリガとして開始される。
(Processing of the printer 100: FIG. 3)
Next, processing executed by the printer 100 will be described with reference to FIG. This process is for the printer 100 to register the device information DI1 in the management server 500 without inputting the PIN code. The process of FIG. 3 is triggered by turning on the printer 100 after the printer 100 is connected to the LAN cable.

S10では、プリンタ100のCPU122は、メモリ124内の接続状態情報130が「None」を示すのか否かを判断する。CPU122は、接続状態情報130が「None」を示す場合(S10でYES)に、S12に進み、接続状態情報130が「OK」又は「Disconnect」を示す場合(S12でNO)に、S12以降をスキップして、図3の処理を終了する。   In S <b> 10, the CPU 122 of the printer 100 determines whether or not the connection state information 130 in the memory 124 indicates “None”. If the connection status information 130 indicates “None” (YES in S10), the CPU 122 proceeds to S12. If the connection status information 130 indicates “OK” or “Disconnect” (NO in S12), the CPU 122 and subsequent steps. The process of FIG. 3 is complete | finished by skipping.

S12では、CPU122は、メモリ124内のサービス設定128が「許可」を示すのか否かを判断する。CPU122は、サービス設定128が「許可」を示す場合(S12でYES)に、S14に進み、サービス設定128が「禁止」を示す場合(S12でNO)に、S14以降をスキップして、図3の処理を終了する。   In S12, the CPU 122 determines whether or not the service setting 128 in the memory 124 indicates “permitted”. When the service setting 128 indicates “permitted” (YES in S12), the CPU 122 proceeds to S14, and when the service setting 128 indicates “prohibited” (NO in S12), the CPU 122 skips S14 and the subsequent steps, and FIG. Terminate the process.

S14では、CPU122は、通信I/F116を介して、SNMP(Simple Network Management Protocolの略)に従ったサーチ信号をブロードキャストによってLAN4に送信する。サーチ信号は、接続状態情報が「OK」を示すプリンタをサーチするための信号である。即ち、接続状態情報が「OK」を示すプリンタは、応答をプリンタ100に送信するが、接続状態情報が「None」又は「Disconnect」を示すプリンタは、応答をプリンタ100に送信しない。   In S <b> 14, the CPU 122 transmits a search signal according to SNMP (abbreviation of Simple Network Management Protocol) to the LAN 4 by broadcasting via the communication I / F 116. The search signal is a signal for searching for a printer whose connection state information indicates “OK”. That is, a printer whose connection status information indicates “OK” transmits a response to the printer 100, but a printer whose connection status information indicates “None” or “Disconnect” does not transmit a response to the printer 100.

S16では、CPU122は、S14のサーチ信号に対する応答を受信することを監視する。CPU122は、通信I/F116を介して、サーチ信号に対する応答を受信する場合(S16でYES)に、当該応答の送信元のプリンタを登録済みの装置として特定して、S30に進む。ここで、登録済み装置は、デバイス情報が管理サーバ500に登録されており、かつ、XMPP接続を管理サーバ500と確立している装置である。例えば、図2の処理が実行された後では、CPU122は、プリンタ200から応答を受信し、プリンタ200を登録済み装置として特定する。なお、LAN4内に複数個の登録済み装置が存在する場合には、CPU122は、複数個の登録済み装置のそれぞれから応答を受信する。この場合、CPU122は、最初に受信された応答の送信元のプリンタを登録済みの装置として特定する。本実施例によると、CPU122は、登録済み装置のみから応答を受信する構成を採用しているので、LAN4に接続されている全てのプリンタから応答を受信し、それらの中から登録済み装置を特定する構成と比べて、プリンタ100の通信負荷及び処理負荷を軽減させることができる。一方、CPU122は、S14でサーチ信号を送信してから所定時間が経過しても応答を受信しない場合(S16でNO)に、登録済みの装置が存在しないと判断して、S30以降をスキップして、図3の処理を終了する。   In S16, the CPU 122 monitors whether a response to the search signal in S14 is received. When the CPU 122 receives a response to the search signal via the communication I / F 116 (YES in S16), the CPU 122 identifies the printer that has transmitted the response as a registered device, and proceeds to S30. Here, the registered apparatus is an apparatus in which device information is registered in the management server 500 and an XMPP connection is established with the management server 500. For example, after the processing of FIG. 2 is executed, the CPU 122 receives a response from the printer 200 and identifies the printer 200 as a registered device. When a plurality of registered devices exist in the LAN 4, the CPU 122 receives a response from each of the plurality of registered devices. In this case, the CPU 122 identifies the printer from which the response received first is registered as a registered device. According to the present embodiment, since the CPU 122 adopts a configuration that receives responses only from registered devices, it receives responses from all printers connected to the LAN 4 and identifies registered devices from among them. The communication load and processing load of the printer 100 can be reduced as compared with the configuration to be performed. On the other hand, if the CPU 122 does not receive a response even after a predetermined time has elapsed after transmitting the search signal in S14 (NO in S16), the CPU 122 determines that there is no registered device and skips S30 and subsequent steps. Then, the process of FIG.

S30では、CPU122は、通信I/F116を介して、S16で受信された応答に含まれる登録済み装置のIPアドレスを宛先として(即ちユニキャストによって)、SNMPに従った情報要求を登録済み装置に送信する。情報要求は、管理サーバ500のデバイステーブル504において登録済み装置のデバイス情報に対応付けられているアクセストークンと、登録済み装置に記憶されている通信関係情報の送信を登録済み装置に要求するためのコマンドである。   In S30, the CPU 122 sends an information request according to SNMP to the registered device via the communication I / F 116, with the IP address of the registered device included in the response received in S16 as the destination (that is, by unicast). Send. The information request is for requesting the registered apparatus to transmit the access token associated with the device information of the registered apparatus in the device table 504 of the management server 500 and the communication related information stored in the registered apparatus. It is a command.

S32では、CPU122は、通信I/F116を介して、情報要求に対する応答として、登録済み装置からアクセストークンと通信関係情報とを受信する。例えば、図2の処理が実行された後では、CPU122は、プリンタ200からアクセストークンAT2と通信関係情報CI2とを受信する。   In S32, the CPU 122 receives the access token and the communication related information from the registered device as a response to the information request via the communication I / F 116. For example, after the processing of FIG. 2 is executed, the CPU 122 receives the access token AT2 and the communication related information CI2 from the printer 200.

S40では、CPU122は、問合画面SCを表示部114に表示させる。問合画面SCは、管理サーバ500からサービスの提供を受けるのか否かをユーザに問い合わせるための画面、即ち、後述のS44の登録処理を実行すべきか否かをユーザに問い合わせるための画面である。問合画面SCは、YESボタンB1と、NOボタンB2と、PASSボタンB3と、を含む。YESボタンB1は、登録処理を実行すべきことを示すボタンである。NOボタンB2は、今回及び次回以降の電源投入後に登録処理を実行すべきでないことを示すボタンである。PASSボタンB3は、今回の電源投入後に登録処理を実行すべきでないことを示すボタンである。CPU122は、ボタンB1〜B3のうちのいずれかのボタンが選択されると、選択済みのボタンに応じて異なる処理を実行する。これにより、CPU122は、ユーザの要望に応じた適切な処理を実行することができる。   In S <b> 40, the CPU 122 displays the inquiry screen SC on the display unit 114. The inquiry screen SC is a screen for inquiring the user as to whether or not to receive service from the management server 500, that is, a screen for inquiring the user as to whether or not a registration process of S44 described later should be executed. The inquiry screen SC includes a YES button B1, a NO button B2, and a PASS button B3. The YES button B1 is a button indicating that registration processing should be executed. The NO button B2 is a button indicating that registration processing should not be executed after power-on this time and after the next time. The PASS button B3 is a button indicating that registration processing should not be executed after the current power-on. When any one of the buttons B1 to B3 is selected, the CPU 122 executes different processes depending on the selected button. Thereby, CPU122 can perform the suitable process according to a user's request.

S42では、CPU122は、YESボタンB1が選択されたのか否かを判断する。CPU122は、YESボタンB1が選択される場合(S42でYES)に、S44の登録処理(図4参照)を実行する。S44が終了すると、図3の処理を終了する。一方、CPU122は、NOボタンB2又はPASSボタンB3が選択される場合(S42でNO)に、S44の登録処理を実行せずに、S46に進む。   In S42, the CPU 122 determines whether or not the YES button B1 has been selected. When the YES button B1 is selected (YES in S42), the CPU 122 executes the registration process (see FIG. 4) in S44. When S44 ends, the process of FIG. 3 ends. On the other hand, when the NO button B2 or the PASS button B3 is selected (NO in S42), the CPU 122 proceeds to S46 without executing the registration process of S44.

S46では、CPU122は、NOボタンB2が選択されたのか否かを判断する。CPU122は、NOボタンB2が選択される場合(S42でYES)に、S48に進み、PASSボタンB3が選択される場合(S42でNO)に、S48をスキップして、図3の処理を終了する。   In S46, the CPU 122 determines whether or not the NO button B2 has been selected. When the NO button B2 is selected (YES at S42), the CPU 122 proceeds to S48, and when the PASS button B3 is selected (NO at S42), the CPU 122 skips S48 and ends the process of FIG. .

S48では、CPU122は、メモリ124内のサービス設定128を「許可」から「禁止」に変更する。これにより、CPU122は、次回以降の電源投入の際に、S12でNOと判断し、S14以降の処理を実行しない。S48が終了すると、図3の処理を終了する。   In S <b> 48, the CPU 122 changes the service setting 128 in the memory 124 from “permitted” to “prohibited”. Thus, the CPU 122 determines NO in S12 when the power is turned on next time and does not execute the processes after S14. When S48 ends, the process of FIG. 3 ends.

上述したように、本実施例では、CPU122は、サーチ信号に対する応答を受信した後(S16でYES)、即ち、登録済み装置を特定した後に、S40において、問合画面SCを表示する。例えば、問合画面SCを表示してYESボタンB1が選択された後に、サーチ信号をLAN4に送信する比較例の構成が想定される。この場合、ユーザが問合画面SC内のYESボタンB1を選択したにも関わらず、登録済み装置が特定されない状況が生じ得る。これに対して、本実施例では、このような状況が生じないので、ユーザの要望に応じて登録処理を適切に実行することができる。ただし、変形例では、上記の比較例の構成を採用してもよい。   As described above, in this embodiment, the CPU 122 displays the inquiry screen SC in S40 after receiving the response to the search signal (YES in S16), that is, after specifying the registered device. For example, a configuration of a comparative example in which a search signal is transmitted to the LAN 4 after the inquiry screen SC is displayed and the YES button B1 is selected is assumed. In this case, a situation may occur in which the registered device is not specified even though the user selects the YES button B1 in the inquiry screen SC. On the other hand, in the present embodiment, such a situation does not occur, so that the registration process can be appropriately executed according to the user's request. However, in the modification, the configuration of the above comparative example may be adopted.

また、本実施例では、CPU122は、登録済み装置から通信関係情報を受信する(S32)。当該通信関係情報は、登録済み装置が管理サーバ500とのインターネット通信を実行するために利用された情報であるので、CPU122は、それを利用すれば、管理サーバ500とのインターネット通信を実行することができる。即ち、CPU122は、ユーザによって通信関係情報がプリンタ100に入力されなくても、管理サーバ500とのインターネット通信を実行することができる。このために、ユーザの利便性が向上する。   In this embodiment, the CPU 122 receives communication related information from the registered device (S32). Since the communication related information is information used by the registered device to execute Internet communication with the management server 500, the CPU 122 executes Internet communication with the management server 500 by using the information. Can do. That is, the CPU 122 can execute Internet communication with the management server 500 even if communication related information is not input to the printer 100 by the user. This improves user convenience.

(登録処理:図4)
図4を参照して、図3のS44で実行される登録処理を説明する。S102では、CPU122は、プリンタ100の通信設定を変更する。例えば、プロキシサーバ情報等の通信関係情報がメモリ124に記憶されていない場合には、CPU122は、図3のS32で受信された通信関係情報をメモリ124に記憶させる。また、例えば、通信関係情報がメモリ124に記憶されている場合には、CPU122は、当該通信関係情報に代えて、図3のS32で受信された通信関係情報をメモリ124に記憶させる。以下では、本処理でメモリ124に記憶される通信関係情報(即ち図3のS32で受信された通信関係情報)のことを「対象通信関係情報」と呼ぶ。
(Registration process: Fig. 4)
With reference to FIG. 4, the registration process executed in S44 of FIG. 3 will be described. In S <b> 102, the CPU 122 changes the communication setting of the printer 100. For example, when communication related information such as proxy server information is not stored in the memory 124, the CPU 122 stores the communication related information received in S32 of FIG. Further, for example, when communication related information is stored in the memory 124, the CPU 122 stores the communication related information received in S <b> 32 of FIG. 3 in the memory 124 instead of the communication related information. Hereinafter, the communication related information (that is, the communication related information received in S32 of FIG. 3) stored in the memory 124 in this process is referred to as “target communication related information”.

S104では、CPU122は、通信I/F116を介して、対象通信関係情報を利用して、トークン登録要求を管理サーバ500に送信する。トークン登録要求は、図3のS32で受信されたアクセストークンを利用してデバイス情報を管理サーバ500に登録するための要求である。S104の処理を実現するために、CPU122は、以下の様々な処理を実行する。   In S <b> 104, the CPU 122 transmits a token registration request to the management server 500 using the target communication relationship information via the communication I / F 116. The token registration request is a request for registering device information in the management server 500 using the access token received in S32 of FIG. In order to implement the process of S104, the CPU 122 executes the following various processes.

まず、CPU122は、対象通信関係情報に含まれるDNS情報によって示されるIPアドレスを宛先として、プリンタ100のノード名(即ちプリンタ100のデバイス名)を登録するためのノード名登録要求をDNSサーバに送信する。これにより、プリンタ100のノード名及びIPアドレスがDNSサーバに登録される。これにより、DNSサーバにプリンタ100の情報が登録されていないことに起因してプロキシサーバを介したインターネット通信が禁止されてしまう事象が発生するのを抑制することができる。   First, the CPU 122 sends a node name registration request for registering the node name of the printer 100 (that is, the device name of the printer 100) to the DNS server with the IP address indicated by the DNS information included in the target communication related information as the destination. To do. As a result, the node name and IP address of the printer 100 are registered in the DNS server. As a result, it is possible to suppress the occurrence of an event in which Internet communication via the proxy server is prohibited due to the fact that the printer 100 information is not registered in the DNS server.

次いで、CPU122は、対象通信関係情報に含まれる時計情報によって示される現在日時が、対象通信関係情報に含まれるサーバ証明書に記述されている有効期限内であるのか否かを判断する。CPU122は、現在日時が有効期限内であると判断する場合に、トークン登録要求を管理サーバ500に送信し、現在日時が有効期限内でないと判断する場合に、トークン登録要求を管理サーバ500に送信しない。   Next, the CPU 122 determines whether or not the current date and time indicated by the clock information included in the target communication relationship information is within the expiration date described in the server certificate included in the target communication relationship information. The CPU 122 transmits a token registration request to the management server 500 when determining that the current date / time is within the expiration date, and transmits a token registration request to the management server 500 when determining that the current date / time is not within the expiration date. do not do.

上記の各処理を実行した後に、CPU122は、対象通信関係情報に含まれるトークン登録URLを宛先として、メモリ124内のプロキシサーバ情報によって示されるIPアドレス(即ちプロキシサーバ)を経由して、トークン登録要求を管理サーバ500に送信する。PIN登録URLではなくトークン登録URLが宛先として送信されるので、管理サーバ500は、PINコードの認証に応じてデバイス情報を登録するのではなく、アクセストークンの認証に応じてデバイス情報を登録すればよいことを知ることができる。トークン登録要求は、図3のS32で受信されたアクセストークンと、プリンタ100のデバイス情報DI1(即ちモデル名MN1とシリアル番号SN1)と、を含む。   After executing each of the above processes, the CPU 122 uses the token registration URL included in the target communication relation information as a destination, and registers the token via the IP address (that is, the proxy server) indicated by the proxy server information in the memory 124. The request is transmitted to the management server 500. Since the token registration URL is transmitted as the destination instead of the PIN registration URL, the management server 500 does not register the device information according to the authentication of the PIN code, but registers the device information according to the authentication of the access token. I can know good things. The token registration request includes the access token received in S32 of FIG. 3 and device information DI1 (that is, model name MN1 and serial number SN1) of the printer 100.

S106では、CPU122は、通信I/F116を介して、管理サーバ500からアクセストークンを受信することを監視する。当該アクセストークンは、プリンタ100のために管理サーバ500によって生成されるトークンであって、S104で送信されるトークン登録要求に含まれるアクセストークンとは異なるトークンである。CPU122は、管理サーバ500からアクセストークンを受信する場合(S106でYES)に、S120に進み、S104でトークン登録要求を送信してから所定時間が経過しても管理サーバ500からアクセストークンを受信しない場合(S106でNO)に、S130に進む。例えば、管理サーバ500の電源がOFFされている等の不具合が生じている場合には、S106でNOと判断される。   In S <b> 106, the CPU 122 monitors whether an access token is received from the management server 500 via the communication I / F 116. The access token is a token generated by the management server 500 for the printer 100 and is different from the access token included in the token registration request transmitted in S104. When the CPU 122 receives an access token from the management server 500 (YES in S106), the CPU 122 proceeds to S120 and does not receive an access token from the management server 500 even if a predetermined time elapses after the token registration request is transmitted in S104. In the case (NO in S106), the process proceeds to S130. For example, if there is a problem such as the power of the management server 500 being turned off, NO is determined in S106.

S120では、CPU122は、S106で受信されたアクセストークンをメモリ124に記憶させ、当該アクセストークンを利用して、管理サーバ500とのXMPP接続を確立する。   In S120, the CPU 122 stores the access token received in S106 in the memory 124, and establishes an XMPP connection with the management server 500 using the access token.

S122では、CPU122は、メモリ124内の接続状態情報130を「None」から「OK」に変更する。S122が終了すると、図4の登録処理が終了する。   In S122, the CPU 122 changes the connection state information 130 in the memory 124 from “None” to “OK”. When S122 ends, the registration process of FIG. 4 ends.

一方、S130では、CPU122は、メモリ124内の接続状態情報130を「None」から「Disconnect」に変更する。S130が終了すると、図4の登録処理が終了する。   On the other hand, in S130, the CPU 122 changes the connection state information 130 in the memory 124 from “None” to “Disconnect”. When S130 ends, the registration process of FIG. 4 ends.

(具体的なケース;図5)
図5を参照して、図3及び図4の処理によって実現される具体的なケースを説明する。図2の処理によってプリンタ200のデバイス情報DI2が管理サーバ500に登録された後に、プリンタ100にLANケーブルが接続される。プリンタ100は、出荷されてから一度も電源が投入されていない状態である。
(Specific case: Fig. 5)
A specific case realized by the processing of FIGS. 3 and 4 will be described with reference to FIG. After the device information DI <b> 2 of the printer 200 is registered in the management server 500 by the process of FIG. 2, a LAN cable is connected to the printer 100. The printer 100 is in a state where the power has not been turned on even after shipment.

T100では、ユーザは、プリンタ100の電源を投入するための操作を実行する。この場合、T102A、T102Bでは、プリンタ100は、接続状態情報130が「None」を示し、かつ、サービス設定128が「許可」を示すので(図3のS10でYESかつS12でYES)、サーチ信号をブロードキャストによってLAN4に送信する。   In T100, the user performs an operation for turning on the printer 100. In this case, in T102A and T102B, the printer 100 indicates that the connection status information 130 indicates “None” and the service setting 128 indicates “permitted” (YES in S10 and YES in S12 in FIG. 3). Is transmitted to the LAN 4 by broadcasting.

プリンタ200の接続状態情報230が「OK」を示すので、T104において、プリンタ100は、プリンタ200から応答を受信することによって、プリンタ200を登録済み装置として特定する(S16でYES)。一方、プリンタ300の接続状態情報330が「Disconnect」を示すので、プリンタ100は、プリンタ300から応答を受信しない。   Since the connection status information 230 of the printer 200 indicates “OK”, in T104, the printer 100 specifies the printer 200 as a registered device by receiving a response from the printer 200 (YES in S16). On the other hand, since the connection status information 330 of the printer 300 indicates “Disconnect”, the printer 100 does not receive a response from the printer 300.

プリンタ100は、T120において、情報要求をプリンタ200に送信し(S30)、T122において、プリンタ200からアクセストークンAT2と通信関係情報CI2とを受信する(S32)。そして、T124では、プリンタ100は、問合画面SCを表示する(S40)。   The printer 100 transmits an information request to the printer 200 at T120 (S30), and receives the access token AT2 and the communication related information CI2 from the printer 200 at T122 (S32). In T124, the printer 100 displays the inquiry screen SC (S40).

(YESボタンB1が選択されるケースA1)
本ケースでは、ユーザによって問合画面SC内のYESボタンB1が選択される(S42でYES)。この場合、T130では、プリンタ100は、通信関係情報CI2を記憶する(図4のS102)。
(Case A1 in which the YES button B1 is selected)
In this case, the user selects the YES button B1 in the inquiry screen SC (YES in S42). In this case, at T130, the printer 100 stores the communication related information CI2 (S102 in FIG. 4).

T132では、プリンタ100は、通信関係情報CI2に含まれるトークン登録URLを宛先として、アクセストークンAT2とデバイス情報DI1とを含むトークン登録要求を管理サーバ500に送信する(S104)。   In T132, the printer 100 transmits a token registration request including the access token AT2 and the device information DI1 to the management server 500 with the token registration URL included in the communication related information CI2 as a destination (S104).

管理サーバ500は、T132において、プリンタ100からトークン登録要求を受信すると、トークン登録要求に含まれるアクセストークンAT2がデバイステーブル504に登録されているので、T140において、アクセストークンAT2の認証が成功したと判断する。この場合、管理サーバ500は、デバイステーブル504から、アクセストークンAT2に対応付けられているユーザ番号U1を特定する。そして、T142において、管理サーバ500は、プリンタ100のためのアクセストークンAT1を新たに生成し、トークン登録要求に含まれるデバイス情報DI1と、特定済みのユーザ番号U1と、生成済みのアクセストークンAT1と、を対応付けて、デバイステーブル504に登録する。T144では、管理サーバ500は、アクセストークンAT1をプリンタ100に送信する。   When the management server 500 receives the token registration request from the printer 100 at T132, the access token AT2 included in the token registration request is registered in the device table 504. Therefore, the authentication of the access token AT2 is successful at T140. to decide. In this case, the management server 500 specifies the user number U1 associated with the access token AT2 from the device table 504. In T142, the management server 500 newly generates an access token AT1 for the printer 100, and includes device information DI1 included in the token registration request, a specified user number U1, and a generated access token AT1. Are registered in the device table 504 in association with each other. In T144, the management server 500 transmits the access token AT1 to the printer 100.

プリンタ100は、T144において、管理サーバ500からアクセストークンAT1を受信すると(S106でYES)、T146において、アクセストークンAT1を利用して、管理サーバ500とのXMPP接続を確立し(S120)、T148において、接続状態情報130を「None」から「OK」に変更する(S122)。その後、プリンタ100と管理サーバ500の間で図2のT62〜T66と同様の処理が実行される。   When the printer 100 receives the access token AT1 from the management server 500 at T144 (YES at S106), the printer 100 establishes an XMPP connection with the management server 500 using the access token AT1 at T146 (S120), and at T148. The connection status information 130 is changed from “None” to “OK” (S122). Thereafter, processing similar to T62 to T66 in FIG. 2 is executed between the printer 100 and the management server 500.

本ケースによれば、プリンタ100は、LAN4に接続されている2個のプリンタ200,300の中から登録済み装置であるプリンタ200を特定して(T104)、プリンタ200に情報要求を送信する(T120)。これにより、プリンタ100は、管理サーバ500においてデバイス情報DI2に対応付けられているアクセストークンAT2を受信する(T122)。そして、プリンタ100は、アクセストークンAT2とプリンタ100のデバイス情報DI1とを含むトークン登録要求を管理サーバ500に送信することによって(T132)、デバイス情報DI1を管理サーバ500に登録することができる。即ち、ユーザは、PINコードをプリンタ100に入力しなくても、プリンタ100の電源を投入して問合画面SC内のYESボタンB1を選択すれば、プリンタ100のデバイス情報DI1を管理サーバ500に登録することができる。従って、プリンタ100のデバイス情報DI1を管理サーバ500に登録する際のユーザの作業負担を軽減することができる。   According to this case, the printer 100 specifies the registered printer 200 from the two printers 200 and 300 connected to the LAN 4 (T104), and transmits an information request to the printer 200 (T104). T120). Accordingly, the printer 100 receives the access token AT2 associated with the device information DI2 in the management server 500 (T122). The printer 100 can register the device information DI1 in the management server 500 by transmitting a token registration request including the access token AT2 and the device information DI1 of the printer 100 to the management server 500 (T132). That is, even if the user does not input the PIN code to the printer 100, if the printer 100 is turned on and the YES button B1 in the inquiry screen SC is selected, the device information DI1 of the printer 100 is sent to the management server 500. You can register. Therefore, it is possible to reduce the work burden on the user when registering the device information DI1 of the printer 100 in the management server 500.

(NOボタンB2が選択されるケースA2)
本ケースでは、ユーザによって問合画面SC内のNOボタンB2が選択される(図3のS46でYES)。この場合、プリンタ100は、サービス設定128を「許可」から「禁止」に変更する(S48)。従って、ユーザが、T162において、プリンタ100の電源を切断するための操作を実行し、T164において、プリンタ100の電源を再び投入するための操作を実行しても、プリンタ100は、問合画面SCを表示しない(S12でNO)。本ケースによると、今回及び次回以降の電源投入の際にデバイス情報を管理サーバ500に登録しないというユーザの要望に応じることができる。
(Case A2 in which the NO button B2 is selected)
In this case, the user selects the NO button B2 in the inquiry screen SC (YES in S46 of FIG. 3). In this case, the printer 100 changes the service setting 128 from “permitted” to “prohibited” (S48). Therefore, even if the user performs an operation for turning off the printer 100 at T162 and performs an operation for turning on the printer 100 again at T164, the printer 100 displays the inquiry screen SC. Is not displayed (NO in S12). According to this case, it is possible to respond to the user's request not to register the device information in the management server 500 at the time of power-on this time and after the next time.

(PASSボタンB3が選択されるケースA3)
本ケースでは、ユーザによって問合画面SC内のPASSボタンB3が選択される(図3のS46でNO)。この場合、プリンタ100は、サービス設定128を「許可」に維持する。従って、ユーザが、T172において、プリンタ100の電源を切断するための操作を実行し、T174において、プリンタ100の電源を再び投入するための操作を実行する場合に、プリンタ100は、T100〜T124と同様の処理を実行して、問合画面SCを表示する(S12〜S40)。本ケースによると、今回の電源投入の際にデバイス情報を管理サーバ500に登録しない、即ち、次回以降の電源投入の際にデバイス情報を管理サーバ500に登録し得るというユーザの要望に応じることができる。
(Case A3 in which the PASS button B3 is selected)
In this case, the user selects the PASS button B3 in the inquiry screen SC (NO in S46 of FIG. 3). In this case, the printer 100 maintains the service setting 128 at “permitted”. Accordingly, when the user executes an operation for turning off the power of the printer 100 at T172, and executes an operation for turning on the power of the printer 100 again at T174, the printer 100 is displayed as T100 to T124. Similar processing is executed to display the inquiry screen SC (S12 to S40). According to this case, the device information is not registered in the management server 500 when the power is turned on this time, that is, the device information can be registered in the management server 500 when the power is turned on next time. it can.

(対応関係)
プリンタ100、プリンタ200、プリンタ300が、それぞれ、「通信装置」、「登録済み装置」、「未登録装置」の一例である。アクセストークンAT2が「認証情報」の一例である。デバイス情報DI1、デバイス情報DI2、デバイス情報DI3が、それぞれ、「対象識別情報」、「登録済み識別情報」、「未登録識別情報」の一例である。YESボタンB1が選択される場合、NOボタンB2又はPASSボタンB3が選択される場合が、それぞれ、「第1の場合」、「第2の場合」の一例である。YESボタンB1、NOボタンB2、PASSボタンB3が、それぞれ、「第1のボタン」、「第2のボタン」、「第3のボタン」の一例である。サーチ信号が、「信号」の一例である。トークン登録URLが、「管理サーバのURL」の一例である。PIN登録URL、トークン登録URLが、それぞれ、「第1の宛先情報」、「第2の宛先情報」の一例である。
(Correspondence)
The printer 100, the printer 200, and the printer 300 are examples of “communication device”, “registered device”, and “unregistered device”, respectively. The access token AT2 is an example of “authentication information”. Device information DI1, device information DI2, and device information DI3 are examples of “target identification information”, “registered identification information”, and “unregistered identification information”, respectively. When the YES button B1 is selected, the case where the NO button B2 or the PASS button B3 is selected are examples of the “first case” and the “second case”, respectively. The YES button B1, the NO button B2, and the PASS button B3 are examples of the “first button”, the “second button”, and the “third button”, respectively. A search signal is an example of a “signal”. The token registration URL is an example of the “management server URL”. The PIN registration URL and the token registration URL are examples of “first destination information” and “second destination information”, respectively.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。   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)上記の実施例では、プリンタ100は、図3のS16において、デバイス情報が管理サーバ500に登録されていない未登録装置であるプリンタ300から応答を受信せず、登録済み装置であるプリンタ200から応答を受信することによって、登録済み装置を特定する。これに代えて、プリンタ100は、未登録装置と登録済み装置の双方から応答を受信してもよい。この場合、応答は、送信元のプリンタの接続状態情報を含んでもよい。そして、プリンタ100は、「OK」を示す接続状態情報を含む応答を送信したプリンタを登録済み装置として特定してもよい。本変形例も、「特定部」によって実行される処理の一例である。 (Modification 1) In the above embodiment, the printer 100 does not receive a response from the printer 300, which is an unregistered device whose device information is not registered in the management server 500, in S16 of FIG. By receiving a response from a certain printer 200, the registered device is specified. Alternatively, the printer 100 may receive responses from both unregistered devices and registered devices. In this case, the response may include connection state information of the transmission source printer. Then, the printer 100 may identify the printer that has transmitted the response including the connection state information indicating “OK” as the registered device. This modification is also an example of processing executed by the “specifying unit”.

(変形例2)プリンタ100は、図3のS14に代えて、PING(Packet Internet Groperの略)信号をブロードキャストによってLAN4に送信してもよい。そして、プリンタ100は、PING信号に対する応答を受信すると、当該応答の送信元のプリンタにSNMPに従った問合信号を送信してもよい。問合信号は、プリンタの接続状態情報を問い合わせるための信号である。プリンタ100は、「OK」を示す接続状態情報を含む応答を送信したプリンタを登録済み装置として特定してもよい。本変形例も、「特定部」によって実行される処理の一例である。 (Modification 2) The printer 100 may transmit a PING (abbreviation of Packet Internet Groper) signal to the LAN 4 by broadcasting instead of S14 in FIG. When the printer 100 receives a response to the PING signal, the printer 100 may transmit an inquiry signal according to SNMP to the printer that has transmitted the response. The inquiry signal is a signal for inquiring about connection status information of the printer. The printer 100 may identify a printer that has transmitted a response including connection state information indicating “OK” as a registered device. This modification is also an example of processing executed by the “specifying unit”.

(変形例3)プリンタ200は、図2のT44において、管理サーバ500から、アクセストークンAT2に代えて、ユーザ名UN1及びパスワードP1を受信してもよい。そして、プリンタ200は、図5のT122において、アクセストークンAT2に代えて、ユーザ名UN1及びパスワードP1をプリンタ100に送信してもよい。この場合、プリンタ100は、T132において、ユーザ名UN1及びパスワードP1を含む登録要求を管理サーバ500に送信してもよい。これにより、ユーザ名UN1及びパスワードP1を利用した認証が管理サーバ500で実行され、デバイス情報DI1が管理サーバ500に登録される。本変形例では、ユーザ名UN1及びパスワードP1が、「認証情報」の一例である。また、別の変形例では、プリンタ200は、図5のT122において、アクセストークンAT2に代えて、PINコードC1をプリンタ100に送信してもよい。この場合、プリンタ100は、T132において、PINコードC1を含む登録要求を管理サーバ500に送信してもよい。この場合、PINコードC1の認証が管理サーバ500で実行され、デバイス情報DI1が管理サーバ500に登録される。本変形例では、PINコードC1が、「認証情報」の一例である。 (Modification 3) The printer 200 may receive the user name UN1 and the password P1 from the management server 500 instead of the access token AT2 at T44 in FIG. Then, the printer 200 may transmit the user name UN1 and the password P1 to the printer 100 instead of the access token AT2 in T122 of FIG. In this case, the printer 100 may transmit a registration request including the user name UN1 and the password P1 to the management server 500 at T132. As a result, authentication using the user name UN1 and the password P1 is executed by the management server 500, and the device information DI1 is registered in the management server 500. In this modification, the user name UN1 and the password P1 are examples of “authentication information”. In another modification, the printer 200 may transmit the PIN code C1 to the printer 100 instead of the access token AT2 in T122 of FIG. In this case, the printer 100 may transmit a registration request including the PIN code C1 to the management server 500 at T132. In this case, authentication of the PIN code C1 is executed by the management server 500, and the device information DI1 is registered in the management server 500. In this modification, the PIN code C1 is an example of “authentication information”.

(変形例4)プリンタ100は、図3のS40及びS42の処理を実行せずに、S44の処理を実行してもよい。本変形例では、「表示制御部」を省略可能である。 (Modification 4) The printer 100 may execute the process of S44 without executing the processes of S40 and S42 of FIG. In the present modification, the “display control unit” can be omitted.

(変形例5)問合画面SCは、PASSボタンB3を含まなくてもよい。この場合、図3のS46が実行されず、S42でNOの場合にS48が実行される。一般的に言うと、「問合画面」は、「第3のボタン」を含まなくてもよい。また、問合画面SCは、NOボタンB2を含まなくてもよい。この場合、図3のS46及びS48が実行されず、S42でNOの場合に図3の処理が終了する。一般的に言うと、「問合画面」は、「第2のボタン」を含まなくてもよい。 (Modification 5) The inquiry screen SC may not include the PASS button B3. In this case, S46 of FIG. 3 is not executed, and S48 is executed when S42 is NO. Generally speaking, the “inquiry screen” may not include the “third button”. Further, the inquiry screen SC may not include the NO button B2. In this case, S46 and S48 of FIG. 3 are not executed, and the process of FIG. 3 ends when NO in S42. Generally speaking, the “inquiry screen” may not include the “second button”.

(変形例6)プリンタ100は、図3のS32において、登録済み装置から通信関係情報を受信しなくてもよい。この場合、プリンタ100は、ユーザによって入力される通信関係情報を利用して、管理サーバ500とのインターネット通信を実行してもよい。一般的に言うと、「受信部」は、登録済み装置から通信関係情報を受信しなくてもよい。 (Modification 6) The printer 100 may not receive communication-related information from the registered device in S32 of FIG. In this case, the printer 100 may execute Internet communication with the management server 500 using communication-related information input by the user. Generally speaking, the “receiving unit” does not have to receive communication-related information from a registered device.

(変形例7)プリンタ100は、図3のS32において、登録済み装置から、プロキシサーバ情報と、DNS情報と、時計情報と、サーバ証明書と、トークン登録URLと、のうちのいずれかを受信しなくてもよい。例えば、プリンタ100が登録済み装置からプロキシサーバ情報を受信しない場合には、プリンタ100は、図4のS104において、プリンタ100にユーザによって入力されたプロキシサーバ情報によって示されるプロキシサーバを経由して、トークン登録要求を管理サーバ500に送信してもよい。また、例えば、DNSサーバが利用されない環境下では、プリンタ100は、登録済み装置からDNS情報を受信しなくてもよい。また、例えば、サーバ証明書が利用されない環境下では、プリンタ100は、登録済み装置から時計情報とサーバ証明書とを受信しなくてもよい。また、例えば、プリンタ100のメモリ124にトークン登録URLが予め記憶されている場合には、プリンタ100は、登録済み装置からトークン登録URLを受信しなくてもよい。一般的に言うと、「通信関係情報」は、管理サーバのURLと、プロキシサーバ情報と、DNS情報と、サーバ証明書と、時計情報のうちの少なくとも1つを含んでいればよい。 (Modification 7) The printer 100 receives one of proxy server information, DNS information, clock information, a server certificate, and a token registration URL from a registered device in S32 of FIG. You don't have to. For example, when the printer 100 does not receive the proxy server information from the registered device, the printer 100 passes through the proxy server indicated by the proxy server information input to the printer 100 by the user in S104 of FIG. The token registration request may be transmitted to the management server 500. In addition, for example, in an environment where a DNS server is not used, the printer 100 may not receive DNS information from a registered device. For example, in an environment where a server certificate is not used, the printer 100 may not receive clock information and a server certificate from a registered device. Further, for example, when the token registration URL is stored in advance in the memory 124 of the printer 100, the printer 100 may not receive the token registration URL from the registered device. Generally speaking, the “communication related information” may include at least one of the URL of the management server, proxy server information, DNS information, server certificate, and clock information.

(変形例8)「通信装置」は、プリンタでなくてもよく、例えば、スキャナ、複合機、PC、サーバ等であってもよい。 (Modification 8) The “communication device” may not be a printer, but may be a scanner, a multifunction device, a PC, a server, or the like.

(変形例9)上記の実施例では、プリンタ100のCPU122がプログラム126(即ちソフトウェア)を実行することによって、図3、図4の各処理が実現される。これに代えて、いずれかの処理は、論理回路等のハードウェアによって実現されてもよい。 (Modification 9) In the above embodiment, the CPU 122 of the printer 100 executes the program 126 (that is, software), thereby realizing the processes shown in FIGS. Instead, any of the processes may be realized by hardware such as a logic circuit.

また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。   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:通信システム、4:LAN、6:インターネット、10:端末装置、100、200、300:プリンタ、112:操作部、114:表示部、116:通信I/F、120:制御部、122:CPU、124:メモリ、126:プログラム、128:サービス設定、130、230、330:接続状態情報、500:管理サーバ、502:ユーザテーブル、504:デバイステーブル   2: communication system, 4: LAN, 6: Internet, 10: terminal device, 100, 200, 300: printer, 112: operation unit, 114: display unit, 116: communication I / F, 120: control unit, 122: CPU, 124: memory, 126: program, 128: service setting, 130, 230, 330: connection status information, 500: management server, 502: user table, 504: device table

Claims (10)

通信装置であって、
通信インターフェースと、
前記通信インターフェースを介した通信を実行して、前記通信装置が所属するローカルエリアネットワークに接続されている登録済み装置を特定する特定部であって、前記登録済み装置は、前記登録済み装置を識別するための登録済み識別情報がインターネット上の管理サーバに登録されている装置である、前記特定部と、
前記通信インターフェースを介して、情報要求を特定済みの前記登録済み装置に送信する送信部であって、前記情報要求は、前記管理サーバにおいて前記登録済み識別情報に対応付けられる認証情報の送信を要求するためのコマンドである、前記送信部と、
前記情報要求を前記登録済み装置に送信することに応じて、前記通信インターフェースを介して、前記登録済み装置から前記認証情報を受信する受信部と、
前記登録済み装置から前記認証情報を受信することに応じて、前記通信インターフェースを介して、前記認証情報と、前記通信装置を識別するための対象識別情報と、を前記管理サーバに送信して、前記対象識別情報を前記管理サーバに登録する登録処理を実行する登録部と、
を備える通信装置。
A communication device,
A communication interface;
A specifying unit that executes communication via the communication interface and specifies a registered device connected to a local area network to which the communication device belongs, wherein the registered device identifies the registered device The identification unit is a device in which registered identification information for registration is registered in a management server on the Internet, and
A transmission unit configured to transmit an information request to the specified registered device via the communication interface, wherein the information request requests transmission of authentication information associated with the registered identification information in the management server; A command for performing the transmission, and
A receiving unit that receives the authentication information from the registered device via the communication interface in response to transmitting the information request to the registered device;
In response to receiving the authentication information from the registered device, the authentication information and target identification information for identifying the communication device are transmitted to the management server via the communication interface. A registration unit that executes a registration process for registering the target identification information in the management server;
A communication device comprising:
前記通信装置は、さらに、
表示部と、
前記登録処理を実行すべきか否かをユーザに問い合わせるための問合画面を前記表示部に表示させる表示制御部と、を備え、
前記登録部は、
前記問合画面において、前記登録処理を実行すべきことが選択される第1の場合に、前記登録処理を実行し、
前記問合画面において、前記登録処理を実行すべきでないことが選択される第2の場合に、前記登録処理を実行しない、請求項1に記載の通信装置。
The communication device further includes:
A display unit;
A display control unit that causes the display unit to display an inquiry screen for inquiring the user whether or not to execute the registration process,
The registration unit
In the inquiry screen, in the first case where it is selected that the registration process should be executed, the registration process is executed,
The communication apparatus according to claim 1, wherein the registration process is not executed in a second case in which it is selected that the registration process should not be executed on the inquiry screen.
前記表示制御部は、前記登録済み装置が特定された後に、前記問合画面を前記表示部に表示させる、請求項2に記載の通信装置。   The communication device according to claim 2, wherein the display control unit displays the inquiry screen on the display unit after the registered device is specified. 前記表示制御部は、前記通信装置の電源が投入される際に、前記問合画面を前記表示部に表示させ、
前記問合画面は、前記登録処理を実行すべきことを示す第1のボタンと、今回及び次回以降の電源投入後に前記登録処理を実行すべきでないことを示す第2のボタンと、を含み、
前記登録部は、
前記問合画面内の前記第1のボタンが選択される前記第1の場合に、前記登録処理を実行し、
前記問合画面内の前記第2のボタンが選択される前記第2の場合に、前記登録処理を実行せず、
前記表示制御部は、前記問合画面内の前記第2のボタンが選択される前記第2の場合に、前記通信装置の電源が切断された後に再び投入される際に、前記問合画面を前記表示部に表示させない、請求項2又は3に記載の通信装置。
The display control unit causes the display unit to display the inquiry screen when the communication device is powered on,
The inquiry screen includes a first button indicating that the registration process should be executed, and a second button indicating that the registration process should not be executed after power-on this time and after the next time,
The registration unit
In the first case where the first button in the inquiry screen is selected, the registration process is executed,
In the second case where the second button in the inquiry screen is selected, the registration process is not executed,
In the second case where the second button in the inquiry screen is selected, the display control unit displays the inquiry screen when the communication device is turned on again after being turned off. The communication device according to claim 2, wherein the communication device is not displayed on the display unit.
前記表示制御部は、前記通信装置の電源が投入される際に、前記問合画面を前記表示部に表示させ、
前記問合画面は、前記登録処理を実行すべきことを示す第1のボタンと、今回の電源投入後に前記登録処理を実行すべきでないことを示す第3のボタンと、を含み、
前記登録部は、
前記問合画面内の前記第1のボタンが選択される前記第1の場合に、前記登録処理を実行し、
前記問合画面内の前記第3のボタンが選択される前記第2の場合に、前記登録処理を実行せず、
前記表示制御部は、前記問合画面内の前記第3のボタンが選択される前記第2の場合に、前記通信装置の電源が切断された後に再び投入される際に、前記問合画面を前記表示部に表示させる、請求項2から4のいずれか一項に記載の通信装置。
The display control unit causes the display unit to display the inquiry screen when the communication device is powered on,
The inquiry screen includes a first button indicating that the registration process should be executed, and a third button indicating that the registration process should not be executed after power-on this time,
The registration unit
In the first case where the first button in the inquiry screen is selected, the registration process is executed,
In the second case where the third button in the inquiry screen is selected, the registration process is not executed,
In the second case where the third button in the inquiry screen is selected, the display control unit displays the inquiry screen when the communication device is turned on again after being turned off. The communication device according to any one of claims 2 to 4, wherein the communication device is displayed on the display unit.
前記登録部は、第1の宛先情報とは異なる第2の宛先情報を宛先として、前記認証情報と前記対象識別情報とを前記管理サーバに送信し、
前記第1の宛先情報は、前記登録済み識別情報が前記管理サーバに登録されるように、前記登録済み装置が前記登録済み識別情報を前記管理サーバに送信するための宛先として利用される情報である、請求項1から5のいずれか一項に記載の通信装置。
The registration unit transmits the authentication information and the target identification information to the management server with second destination information different from the first destination information as a destination,
The first destination information is information used as a destination for the registered device to transmit the registered identification information to the management server so that the registered identification information is registered in the management server. The communication device according to any one of claims 1 to 5, wherein:
前記第2の宛先情報は、前記登録済み識別情報が前記管理サーバに登録される際に、前記管理サーバから前記登録済み装置に送信される情報であり、
前記受信部は、前記情報要求を前記登録済み装置に送信することに応じて、前記通信インターフェースを介して、前記登録済み装置から、前記認証情報と、前記第2の宛先情報と、を受信する、請求項6に記載の通信装置。
The second destination information is information transmitted from the management server to the registered device when the registered identification information is registered in the management server,
The receiving unit receives the authentication information and the second destination information from the registered device via the communication interface in response to transmitting the information request to the registered device. The communication apparatus according to claim 6.
前記特定部は、前記通信インターフェースを介して、SNMP(Simple Network Management Protocolの略)に従った信号をブロードキャストによって前記ローカルエリアネットワークに送信して、前記通信インターフェースを介して、未登録装置から前記信号に対する応答を受信せずに、前記登録済み装置から前記信号に対する応答を受信することによって、前記登録済み装置を特定し、
前記未登録装置は、前記未登録装置を識別するための未登録識別情報が前記管理サーバに登録されていない装置である、請求項1から7のいずれか一項に記載の通信装置。
The specifying unit transmits a signal according to SNMP (abbreviation of Simple Network Management Protocol) via the communication interface to the local area network by broadcast, and transmits the signal from an unregistered device via the communication interface. Identifying the registered device by receiving a response to the signal from the registered device without receiving a response to
The communication device according to any one of claims 1 to 7, wherein the unregistered device is a device in which unregistered identification information for identifying the unregistered device is not registered in the management server.
前記受信部は、前記情報要求を前記登録済み装置に送信することに応じて、前記通信インターフェースを介して、前記登録済み装置から、前記認証情報と、前記登録済み装置に設定されている通信関係情報と、を受信し、
前記通信関係情報は、
前記管理サーバのURL(Uniform Resource Locatorの略)と、
プロキシサーバに関係するプロキシサーバ情報と、
DNS(Domain Name Systemの略)サーバに関係するDNS情報と、
前記管理サーバのサーバ証明書と、
時計情報と、
のうちの少なくとも1つを含み、
前記登録部は、受信済みの前記通信関係情報を利用して、前記登録処理を実行する、請求項1から8のいずれか一項に記載の通信装置。
The receiving unit transmits the information request to the registered device, and from the registered device via the communication interface, the authentication information and a communication relationship set in the registered device. Receive information and
The communication related information is:
URL of the management server (abbreviation of Uniform Resource Locator),
Proxy server information related to the proxy server,
DNS information related to a DNS (abbreviation of Domain Name System) server;
A server certificate of the management server;
Clock information,
Including at least one of
The communication apparatus according to claim 1, wherein the registration unit executes the registration process by using the received communication related information.
通信装置のためのコンピュータプログラムであって、
前記コンピュータプログラムは、前記通信装置のコンピュータを、
通信インターフェースを介した通信を実行して、前記通信装置が所属するローカルエリアネットワークに接続されている登録済み装置を特定する特定部であって、前記登録済み装置は、前記登録済み装置を識別するための登録済み識別情報がインターネット上の管理サーバに登録されている装置である、前記特定部と、
前記通信インターフェースを介して、情報要求を特定済みの前記登録済み装置に送信する送信部であって、前記情報要求は、前記管理サーバにおいて前記登録済み識別情報に対応付けられる認証情報の送信を要求するためのコマンドである、前記送信部と、
前記情報要求を前記登録済み装置に送信することに応じて、前記通信インターフェースを介して、前記登録済み装置から前記認証情報を受信する受信部と、
前記登録済み装置から前記認証情報を受信することに応じて、前記通信インターフェースを介して、前記認証情報と、前記通信装置を識別するための対象識別情報と、を前記管理サーバに送信して、前記対象識別情報を前記管理サーバに登録する登録処理を実行する登録部と、
として機能させる、コンピュータプログラム。
A computer program for a communication device,
The computer program stores a computer of the communication device,
A specifying unit that performs communication via a communication interface and specifies a registered device connected to a local area network to which the communication device belongs, wherein the registered device identifies the registered device The identification unit for which the registered identification information is registered in a management server on the Internet,
A transmission unit configured to transmit an information request to the specified registered device via the communication interface, wherein the information request requests transmission of authentication information associated with the registered identification information in the management server; A command for performing the transmission, and
A receiving unit that receives the authentication information from the registered device via the communication interface in response to transmitting the information request to the registered device;
In response to receiving the authentication information from the registered device, the authentication information and target identification information for identifying the communication device are transmitted to the management server via the communication interface. A registration unit that executes a registration process for registering the target identification information in the management server;
As a computer program.
JP2017067550A 2017-03-30 2017-03-30 Communication device Active JP6888368B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017067550A JP6888368B2 (en) 2017-03-30 2017-03-30 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017067550A JP6888368B2 (en) 2017-03-30 2017-03-30 Communication device

Publications (2)

Publication Number Publication Date
JP2018169871A true JP2018169871A (en) 2018-11-01
JP6888368B2 JP6888368B2 (en) 2021-06-16

Family

ID=64020241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017067550A Active JP6888368B2 (en) 2017-03-30 2017-03-30 Communication device

Country Status (1)

Country Link
JP (1) JP6888368B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015050752A (en) * 2013-09-04 2015-03-16 シャープ株式会社 Registration support system for remote control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015050752A (en) * 2013-09-04 2015-03-16 シャープ株式会社 Registration support system for remote control system

Also Published As

Publication number Publication date
JP6888368B2 (en) 2021-06-16

Similar Documents

Publication Publication Date Title
US10050940B2 (en) Connection control system, management server, connection support method, and non-transitory computer-readable recording medium encoded with connection support program
JP5522095B2 (en) Printer
JP6891718B2 (en) Communication device
JP6631325B2 (en) Computer program for server and server
CN113747435A (en) Computer readable medium and communication apparatus
JP5714467B2 (en) Portable terminal receiving remote support, remote support method, remote support program, operator system, operator server, and operator terminal
JP2019160097A (en) Information processing system, information processing device, information processing method, and program
JP7608730B2 (en) First communication device, second communication device, and computer program for the first communication device
EP3211522B1 (en) Computer program for server
JP7070095B2 (en) Computer programs for communication devices and computer programs for communication devices and servers
JP6380138B2 (en) Communication device
JP6825459B2 (en) Communication device
US20100332681A1 (en) Communication apparatus capable of selecting a proper source address from a plurality of source addresses assigned thereto, method of controlling the same, and storage medium
JP6828637B2 (en) Image processing device
CN113746796A (en) Computer readable medium and communication apparatus
JP6888368B2 (en) Communication device
JP2015079451A (en) Image forming apparatus and control method of the same, and program
JP7226013B2 (en) server and computer program for server
JP5702341B2 (en) Portable terminal receiving remote support, remote support method, remote support program, operator system, operator server, and operator terminal
JP7259213B2 (en) Computer programs for servers and servers
CN103685439B (en) Operator system and method implemented by operator system
US11151242B2 (en) Server and non-transitory computer-readable medium having instructions
JP7070094B2 (en) Computer programs and communication equipment for communication equipment
JP2017191412A (en) System and control method thereof
JP5687258B2 (en) Remote support server, user terminal, remote support system, remote support method, and program for remote support system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200303

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210119

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210322

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210503

R150 Certificate of patent or registration of utility model

Ref document number: 6888368

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150