Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7589587B2 - Communication device, control program, and service provision system - Google Patents
[go: Go Back, main page]

JP7589587B2 - Communication device, control program, and service provision system - Google Patents

Communication device, control program, and service provision system Download PDF

Info

Publication number
JP7589587B2
JP7589587B2 JP2021029420A JP2021029420A JP7589587B2 JP 7589587 B2 JP7589587 B2 JP 7589587B2 JP 2021029420 A JP2021029420 A JP 2021029420A JP 2021029420 A JP2021029420 A JP 2021029420A JP 7589587 B2 JP7589587 B2 JP 7589587B2
Authority
JP
Japan
Prior art keywords
server
identification information
memory
communication device
reset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021029420A
Other languages
Japanese (ja)
Other versions
JP2022130808A (en
Inventor
哲也 奥野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2021029420A priority Critical patent/JP7589587B2/en
Publication of JP2022130808A publication Critical patent/JP2022130808A/en
Application granted granted Critical
Publication of JP7589587B2 publication Critical patent/JP7589587B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Information Transfer Between Computers (AREA)

Description

本発明は、サーバとの間で通信を行う技術に関する。 The present invention relates to technology for communicating with a server.

特許文献1には、所定のサービスを提供するサーバと、このサーバとの通信可能な通信装置が記載されている。特許文献1では、サービスの提供に先立ち、通信装置は、サーバとの間で、サービスの提供を受けるために必要な通信装置の識別情報をメモリに記憶する。そして、通信装置は、メモリに記憶された識別情報を用いてサーバからのサービスの提供を受ける。 Patent Document 1 describes a server that provides a specified service and a communication device that can communicate with this server. In Patent Document 1, prior to the provision of the service, the communication device stores in memory identification information of the communication device that is necessary for receiving the service from the server. Then, the communication device receives the service from the server using the identification information stored in the memory.

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

例えば、通信装置において、メモリに記憶された情報を削除した後に、サーバとの間でサービスの提供を受けるための再登録を行う場合がある。このような場合において、通信装置又はサーバに対して悪影響が生じる懸念がある。しかし、特許文献1では、メモリに記憶された情報をリセットした場合の通信装置の処理について何ら記載されていない。 For example, in a communication device, after deleting information stored in memory, re-registering with a server to receive services may be performed. In such a case, there is a concern that adverse effects may be caused on the communication device or server. However, Patent Document 1 does not state anything about the processing of the communication device when the information stored in memory is reset.

本発明は、上記課題に鑑みたものであり、メモリに記憶されている情報をリセットした後に、サーバとの間でサービスの提供を受けるための再登録を行う場合において、通信装置又はサーバに対する悪影響を極力抑制することを目的とする。 The present invention has been made in consideration of the above problems, and aims to minimize adverse effects on a communication device or server when re-registering with a server to receive services after resetting information stored in memory.

上記課題を解決するために本発明では、通信インタフェースと、メモリと、コントローラとを備え、所定のサービスを提供するサーバと、通信インタフェースを介して通信可能な通信装置に関する。通信装置のメモリには、サーバが所定のサービスの提供において通信装置を識別するための識別情報が記憶されており、コントローラは、メモリのリセット指示を受付ける指示受付処理と、リセット指示を受付けた場合に、メモリから識別情報以外の情報を削除するリセット処理と、リセット処理が実行された後であって、サーバとの間で所定のサービスの提供を受けるための再登録を行う場合に、サーバに対して識別情報の更新を要求する更新要求処理と、更新要求処理に基づき、更新された識別情報をメモリに記憶する記憶処理と、を実行する。 In order to solve the above problems, the present invention relates to a communication device that includes a communication interface, a memory, and a controller, and that is capable of communicating with a server that provides a specified service via the communication interface. Identification information that allows the server to identify the communication device when providing the specified service is stored in the memory of the communication device, and the controller executes an instruction reception process for receiving an instruction to reset the memory, a reset process for deleting information other than the identification information from the memory when the reset instruction is received, an update request process for requesting the server to update the identification information when re-registering with the server to receive the specified service after the reset process has been executed, and a storage process for storing the updated identification information in the memory based on the update request process.

上記構成では、通信装置のコントローラは、メモリのリセット指示を受付けた場合に、メモリから識別情報以外の情報を削除するリセット処理を実行する。コントローラは、リセット処理が実行された後であって、サーバとの間で所定のサービスの提供を受けるための再登録を行う場合に、サーバに対して当該識別情報の更新を要求する。これにより、メモリのリセットを行った後において、サーバとの間でサービスの提供を受けるために通信装置の再登録が行われるまでは、識別情報が保持される。一方で、サーバとの間でサービスの提供を受けるために再登録が行われた場合は、通信装置の識別情報が更新されるため、通信装置に対して同じ識別情報が継続して使用される場合と比べて、セキュリティーの低下を抑制することができる。これにより、メモリのリセットが行われた場合において、メモリに記憶された全ての情報を削除する場合と比べて、通信装置又はサーバに対する悪影響を極力抑制することができる。 In the above configuration, when the controller of the communication device receives an instruction to reset the memory, it executes a reset process that deletes information other than the identification information from the memory. After the reset process is executed, when re-registration is performed to receive a specified service from the server, the controller requests the server to update the identification information. As a result, the identification information is maintained until the communication device is re-registered to receive a service from the server after the memory is reset. On the other hand, when re-registration is performed to receive a service from the server, the identification information of the communication device is updated, so that a decrease in security can be suppressed compared to when the same identification information is continuously used for the communication device. As a result, when the memory is reset, adverse effects on the communication device or server can be minimized compared to when all information stored in the memory is deleted.

本発明は、種々の形態により実現することが可能であり、通信装置の発明以外にも、通信装置のコントローラが実行する制御プログラムや、通信装置を含むサービス提供システムとしても実現することができる。 The present invention can be realized in various forms, and in addition to being an invention of a communication device, it can also be realized as a control program executed by a controller of the communication device, or a service provision system including a communication device.

本発明によれば、メモリに記憶されている情報をリセットした後に、サーバとの間でサービスの提供を受けるための再登録を行う場合において、通信装置又はサーバに対する悪影響を極力抑制することができる。 According to the present invention, when re-registering with a server to receive services after resetting information stored in memory, adverse effects on the communication device or server can be minimized.

印刷システムの構成図。FIG. 1 is a diagram showing the configuration of a printing system. 管理テーブルを説明する図。FIG. 4 is a diagram for explaining a management table. サービスの登録の手順を示すタイミングチャート。4 is a timing chart showing a procedure for registering a service. サービスの実行手順を説明するタイミングチャート。4 is a timing chart illustrating a procedure for executing a service. ファクトリリセット後の各装置の処理を説明するタイミングチャート。6 is a timing chart illustrating the processing of each device after a factory reset. 図5のS32で実行される処理を説明するフローチャート。6 is a flowchart illustrating the process executed in S32 of FIG. 5 . 第2実施形態に係る、ファクトリリセット後の各装置の処理を説明するタイミングチャート。10 is a timing chart illustrating the processing of each device after a factory reset according to the second embodiment.

(第1実施形態)
本実施形態係に係る印刷システムを、図面を参照しつつ説明する。
First Embodiment
A printing system according to the present embodiment will be described with reference to the drawings.

図1に示す印刷システム100は、端末10と、プリンタ30と、サーバ50とを備えている。端末10と、プリンタ30と、サーバ50とはネットワーク200に接続されている。本実施形態では、ネットワーク200は、インターネットであってもよいし、ローカルエリアネットワーク(LAN)であってもよいし、LANとインターネットとの組み合わせであってもよい。また、ネットワーク200は、有線の他、無線でもよいし有線と無線の組み合わせにより構成されていてもよい。本実施形態では、プリンタ30が通信装置の一例である。 The printing system 100 shown in FIG. 1 includes a terminal 10, a printer 30, and a server 50. The terminal 10, the printer 30, and the server 50 are connected to a network 200. In this embodiment, the network 200 may be the Internet, a local area network (LAN), or a combination of a LAN and the Internet. The network 200 may be wired, wireless, or a combination of wired and wireless. In this embodiment, the printer 30 is an example of a communication device.

端末10の構成について説明する。端末10は、スマートフォンやタブレット端末である。端末10は、バス11と、端末側CPU12と、メモリ13と、ユーザIF17と、通信IF20とを備えている。これらの構成要素は、バス11を介して互いに通信可能に接続されている。IFは、Interfaceの略称である。 The configuration of the terminal 10 will be described. The terminal 10 is a smartphone or a tablet terminal. The terminal 10 comprises a bus 11, a terminal side CPU 12, a memory 13, a user IF 17, and a communication IF 20. These components are connected to each other via the bus 11 so that they can communicate with each other. IF is an abbreviation for Interface.

ユーザIF17は、操作キー18や、タッチパネル19を備えている。タッチパネル19は、タッチセンサを有しており、タッチセンサによる検出結果に応じた信号を出力する。なお、本実施形態における「タッチ」とは、入力媒体をタッチパネル19の表示画面に接触させる操作全般を含む。また、入力媒体をタッチパネル19との間の距離がごく僅かな位置まで入力媒体を近接させることを、前述の「タッチ」の概念に含めてもよい。さらに入力媒体とは、ユーザの指であってもよいし、タッチペン等であってもよい。 The user IF 17 includes operation keys 18 and a touch panel 19. The touch panel 19 has a touch sensor and outputs a signal according to the detection result by the touch sensor. Note that "touch" in this embodiment includes the general operation of bringing an input medium into contact with the display screen of the touch panel 19. In addition, the concept of "touch" described above may also include bringing the input medium close to a position where the distance between the input medium and the touch panel 19 is very small. Furthermore, the input medium may be the user's finger, a touch pen, etc.

通信IF20は、所定の通信プロトコルに準拠して、端末10をネットワーク200に接続する。通信IF20は、例えば、IEEEの802.11の規格およびそれに準ずる規格に基づいて、Wi-Fi(R)(登録商標)方式の無線通信を行うことが可能とされている。また、通信IF20は、プリンタ30との間でBluetooth(登録商標)などの近距離無線通信を行うものであってもよい。なお、通信IF20は、基地局を介した移動通信システムを利用した無線通信を行うものであってもよい。 The communication IF 20 connects the terminal 10 to the network 200 in accordance with a specific communication protocol. The communication IF 20 is capable of performing wireless communication of the Wi-Fi(R) (registered trademark) system based on the IEEE 802.11 standard and standards equivalent thereto. The communication IF 20 may also perform short-range wireless communication with the printer 30 using Bluetooth (registered trademark) or the like. The communication IF 20 may also perform wireless communication using a mobile communication system via a base station.

端末側CPU12は、メモリ13に記憶されたプログラムを実行することで、端末10の各部を制御する。メモリ13には、不図示のOS(Operating Systemの略称)、印刷アプリケーションプログラム14、メールプログラム15、課金アプリケーションプログラム16が記憶されている。以下、アプリケーションプログラムを、単に、「アプリケーション」と称す。端末側CPU12は、OSの実行下において、各プログラム14,15,16を実行することにより、プリンタ30及びサーバ50との間でネットワーク200を介した通信を行うことができる。例えば、端末側CPU12は、印刷アプリケーション14を実行することにより、プリンタ30に対して、プリント処理の指示を行う。端末側CPU12は、メールプログラム15を実行することにより、サーバ50との間で、メールデータの送受信を行うことができる。端末側CPU12は、課金アプリケーションを実行することにより、サーバ50から課金の伴うサービスの提供を受けることができる。以下では、プログラムを実行するCPUのことを、単にプログラム名でも記載する場合がある。例えば、「印刷アプリケーション14が」という記載は、「印刷アプリケーション14を実行する端末側CPU12が」ということを意味する場合がある。 The terminal side CPU 12 controls each part of the terminal 10 by executing the programs stored in the memory 13. The memory 13 stores an OS (abbreviation of Operating System), a print application program 14, a mail program 15, and a billing application program 16 (not shown). Hereinafter, the application program is simply referred to as an "application". The terminal side CPU 12 executes each program 14, 15, and 16 under the execution of the OS, thereby enabling communication between the printer 30 and the server 50 via the network 200. For example, the terminal side CPU 12 executes the print application 14 to instruct the printer 30 to perform a print process. The terminal side CPU 12 executes the mail program 15 to send and receive mail data to and from the server 50. The terminal side CPU 12 executes a billing application to receive services that involve billing from the server 50. Hereinafter, the CPU that executes a program may be referred to simply as the program name. For example, the phrase "the print application 14" may mean "the terminal side CPU 12 that executes the print application 14."

なお、本実施形態では、主に、プログラムに記述された命令に従ったCPUの処理を示す。すなわち、以下の説明における「判断」、「抽出」、「選択」、「算出」、「決定」、「特定」、「取得」、「受付」、「制御」等の処理は、CPUやコントローラの処理を表している。CPUによる処理は、OSを介したハードウェア制御も含む。なお「取得」は要求を必須とはしない概念で用いる。すなわち、各プログラムが要求することなくデータを受信するという処理も、「CPUがデータを取得する」という概念に含まれる。また、本明細書中の「データ」とは、コンピュータに読取可能な形式で表される。そして、実質的な意味内容が同じでフォーマットが異なるデータは、同一のデータとして扱われるものとする。本明細書中の「情報」についても同様である。 In this embodiment, the processing is mainly performed by the CPU according to the instructions written in the program. In other words, the processes such as "judging", "extracting", "selecting", "calculating", "deciding", "identifying", "obtaining", "receiving", and "controlling" in the following description represent the processing of the CPU or the controller. Processing by the CPU also includes hardware control via the OS. Note that "obtaining" is used as a concept that does not require a request. In other words, the process of receiving data without a request from each program is also included in the concept of "the CPU obtaining data". In addition, "data" in this specification is expressed in a computer-readable format. Data with the same substantial meaning but different formats are treated as the same data. The same applies to "information" in this specification.

次に、サーバ50の構成について説明する。サーバ50は、通信IF52と、サーバ側CPU53と、メモリ54とを備え、バス51を介して互いに通信可能に接続されている。サーバ50は、端末10に対して、各種のサービスの提供を行うことが可能なサーバである。本実施形態では、サーバ50により、提供可能なサービスとして、メールサービス、メールプリント、及び課金サービスがある。メールサービスは、端末10との間で、アドレスを指定したメールデータの送受信を行うサービスである。メールプリントは、印刷ファイルを、メールデータに添付して送信することにより、プリンタ30に印刷ファイルを印刷させることができるサービスである。なお、本実施形態では、一台のサーバ50により各種のサービスが提供されるが、これに限定されず複数のサーバそれぞれが各サービスを提供するものであってもよい。 Next, the configuration of the server 50 will be described. The server 50 includes a communication IF 52, a server-side CPU 53, and a memory 54, which are connected to each other via a bus 51 so that they can communicate with each other. The server 50 is capable of providing various services to the terminal 10. In this embodiment, the services that can be provided by the server 50 include an email service, an email print, and a billing service. The email service is a service for sending and receiving email data with a specified address between the terminal 10 and the server 50. The email print is a service for sending an email data with a print file attached thereto, thereby causing the printer 30 to print the print file. Note that, in this embodiment, various services are provided by one server 50, but this is not limiting, and multiple servers may each provide their own service.

サーバ50のメモリ54には、管理テーブルKTが記憶されている。図2に示すように、管理テーブルKTは、サーバ50が提供可能なサービスにおける各種の情報を関連付けて記憶する情報である。管理テーブルKTには、「デバイスID」、「サービスID」、「アカウント」、「クライアント番号」、「メールアドレス」、「課金情報」の各項目を含んでいる。「デバイスID」は、サーバ50がサービスの提供に用いる装置を識別するための情報であり、装置を一意に特定することができる情報である。図2では、「dv1」がプリンタ30のデバイスIDである。「サービスID」は、サーバ50が提供可能なサービスを特定するための情報である。このうち、「sv1」がメールプリントのサービスIDであり、「sv2」が課金サービスのサービスIDである。「アカウント」は、ユーザが、各サービスの提供を受けるために入力される情報である。また、管理テーブルKTにおいて、メールプリントのサービスID(sv1)には、「メールアドレス」(〇〇〇@print)が関連づけて記憶されている。「クライアント番号」は、サーバ50が装置のアドレスを特定するために用いる情報である。本実施形態では、XMPPプロトコルに対応する情報である。管理テーブルKTにおいて、課金サービスのサービスID(sv2)には、「課金情報」が関連づけて記憶されている。なお、課金情報は、課金サービスの提供を受けるユーザが、サーバに課金を行う際に必要となる情報であり、例えば、クレジットカードの番号である。 A management table KT is stored in the memory 54 of the server 50. As shown in FIG. 2, the management table KT is information that associates and stores various information on services that the server 50 can provide. The management table KT includes the items of "device ID", "service ID", "account", "client number", "email address", and "billing information". The "device ID" is information for identifying a device used by the server 50 to provide a service, and is information that can uniquely identify the device. In FIG. 2, "dv1" is the device ID of the printer 30. The "service ID" is information for identifying a service that the server 50 can provide. Of these, "sv1" is the service ID of the mail print, and "sv2" is the service ID of the billing service. The "account" is information that the user inputs to receive each service. In addition, in the management table KT, the service ID (sv1) of the mail print is associated with an "email address" (xxx@print) and stored. The "client number" is information that the server 50 uses to identify the address of the device. In this embodiment, this information corresponds to the XMPP protocol. In the management table KT, the service ID (sv2) of the billing service is associated with "billing information" and stored. The billing information is information required when a user who receives the billing service makes a payment to the server, such as a credit card number.

図2で示す管理テーブルKTでは、プリンタ30のデバイスID(dv1)に対して、2つのサービスID(sv1,sv2)が関連付けて記憶されている。これは、プリンタ30に対して、メールプリントと、課金サービスとが登録されていることを示している。 In the management table KT shown in FIG. 2, two service IDs (sv1, sv2) are stored in association with the device ID (dv1) of the printer 30. This indicates that mail print and billing services are registered for the printer 30.

次に、プリンタ30のハードウェア構成について説明する。プリンタ30は、バス31、通信IF32、印刷ユニット33、ユーザIF34、コントローラ35、メモリ36、インクタンク38を備えている。プリンタ30を構成する各部は、バス31を介して通信可能に接続されている。 Next, the hardware configuration of the printer 30 will be described. The printer 30 includes a bus 31, a communication IF 32, a printing unit 33, a user IF 34, a controller 35, a memory 36, and an ink tank 38. Each component of the printer 30 is connected to be able to communicate with each other via the bus 31.

通信IF32は、端末10における通信IF20と同様である。ユーザIF34は、端末10におけるユーザIF17と同様であり、タッチパネルや、物理キーとしての操作キーを備えている。 The communication IF 32 is similar to the communication IF 20 in the terminal 10. The user IF 34 is similar to the user IF 17 in the terminal 10, and is equipped with a touch panel and operation keys as physical keys.

印刷ユニット33は、シートやディスクなどの被記録媒体に画像を印刷するプリント動作を実行する。印刷ユニット33は、記録媒体としてのインクを被記録媒体に吐出するインクジェット方式のユニットである。印刷ユニット33には、インクを貯留するインクタンク38が接続されている。なお、印刷ユニット33は、感光体にトナー像を形成し、形成されたトナー像を被記録媒体に転写する電子写真方式のユニットであってもよい。この場合、印刷ユニットには、インクタンク38に代えて、トナーが貯留されたトナーカートリッジが接続されている。 The printing unit 33 executes a printing operation to print an image on a recording medium such as a sheet or a disk. The printing unit 33 is an inkjet type unit that ejects ink as a recording medium onto the recording medium. An ink tank 38 that stores ink is connected to the printing unit 33. The printing unit 33 may also be an electrophotographic type unit that forms a toner image on a photoreceptor and transfers the formed toner image to the recording medium. In this case, a toner cartridge that stores toner is connected to the printing unit instead of the ink tank 38.

コントローラ35は、CPUや、ASIC(Application Specific Integrated Circuitの略称)等により構成されており、印刷ユニット33、ユーザIF34の各動作を制御する。メモリ36は、各種のプログラムや、データが記憶されている。本実施形態では、メモリ36には、NVRAM(Non-Volatile RAMの略称)37が含まれている。これ以外にも、メモリ36は、例えば、RAM、ROM、フラッシュメモリーが組み合わされて構成されていてもよい。また、メモリ36は、コンピュータであるコントローラ35が読み取り可能なストレージ媒体を含んでいてもよい。ストレージ媒体とは、CD-ROM、DVD-ROM等の記録媒体も含まれる。 The controller 35 is composed of a CPU, an ASIC (abbreviation for Application Specific Integrated Circuit), etc., and controls the operations of the print unit 33 and the user IF 34. The memory 36 stores various programs and data. In this embodiment, the memory 36 includes an NVRAM (abbreviation for Non-Volatile RAM) 37. In addition, the memory 36 may be composed of, for example, a combination of RAM, ROM, and flash memory. The memory 36 may also include a storage medium that can be read by the controller 35, which is a computer. Storage media also include recording media such as CD-ROM and DVD-ROM.

メモリ36には、ファームウェア40が記憶されている。コントローラ35は、制御プログラムであるファームウェア40を実行することにより、プリント処理を実行することができる。メモリ36には、各種サービスで用いられる情報が記憶されている。具体的には、「サービスID」、「デバイスID」、「メールアドレス」、「保護フラグ」が記憶される。メモリ36に記憶された各情報には、管理テーブルKT上でデバイスID(dv1)に関連づけて記憶された情報と同じ情報が含まれている。図1では、NVRAM37には、デバイスID(dv1)が記憶されている。なお、メモリ36に記憶される各情報は、後述する図3に示す処理においてメモリ36に記憶される。 Firmware 40 is stored in memory 36. Controller 35 can execute print processing by executing firmware 40, which is a control program. Information used in various services is stored in memory 36. Specifically, a "service ID," a "device ID," an "email address," and a "protection flag" are stored. Each piece of information stored in memory 36 includes the same information as the information stored in association with device ID (dv1) in management table KT. In FIG. 1, device ID (dv1) is stored in NVRAM 37. Each piece of information stored in memory 36 is stored in memory 36 in the process shown in FIG. 3, which will be described later.

次に、図3を用いて、サーバ50が提供可能なサービスである「メールプリント」で使用するプリンタとして、プリンタ30を登録する場合の処理を説明する。図3に示す各処理のうち、プリンタ30が実行する処理は、ファームウェア40により実行される。なお、プリンタ30とサーバ50との間のネットワーク接続は既に確立されているものとする。 Next, using FIG. 3, the process of registering the printer 30 as a printer to be used for "mail print," a service that the server 50 can provide, will be described. Of the processes shown in FIG. 3, the processes executed by the printer 30 are executed by the firmware 40. It is assumed that a network connection between the printer 30 and the server 50 has already been established.

ユーザが、プリンタ30のユーザIF34に対して、プリンタ30をメールプリントで使用するプリンタに登録する操作を行う。具体的には、ユーザIF34に表示された待受画面をメールプリントの設定画面に切換え、この設定画面上で、メールプリントの実行を選択操作する。ファームウェア40は、メールプリントの選択操作を受付けると。ステップ10(以下、S10と記載する。)では、サーバ50に対して、プリンタ30をメールプリントで使用するプリンタに登録するための登録要求を送信する。 The user operates the user IF 34 of the printer 30 to register the printer 30 as a printer to be used for email printing. Specifically, the user switches the standby screen displayed on the user IF 34 to an email printing setting screen, and selects to execute email printing on this setting screen. When the firmware 40 accepts the selection of email printing, in step 10 (hereinafter referred to as S10), it transmits a registration request to the server 50 to register the printer 30 as a printer to be used for email printing.

サーバ50のサーバ側CPU53は、通信IF52を介して登録要求を受信すると、S11で、プリンタ30に対してデバイスIDを発行する。S12では、サーバ側CPU53は、発行されたデバイスIDを、管理テーブルKTに記憶することで、プリンタ30を、メールプリントで使用するプリンタに登録する。具体的には、管理テーブルKT上に、発行されたデバイスID(dv1)に関連付けて、「メールプリント」を示すサービスID(sv1)を記憶する。 When the server-side CPU 53 of the server 50 receives the registration request via the communication IF 52, in S11 it issues a device ID to the printer 30. In S12, the server-side CPU 53 stores the issued device ID in the management table KT, thereby registering the printer 30 as a printer to be used for email printing. Specifically, it stores a service ID (sv1) indicating "email printing" in association with the issued device ID (dv1) in the management table KT.

サーバ側CPU53は、S13では、S11で発行された「デバイスID」及び認証トークンを、プリンタ30に送信する。これ以降、プリンタ30とサーバ50とはXMPPプロトコルに従った常時接続状態となる。プリンタ30のファームウェア40は、デバイスIDを受信すると、S14では、受信したデバイスIDと認証トークンとをNVRAM37に記憶する。これにより、サーバ50は、プリンタ30を、メールプリントで使用するプリンタとして識別することが可能となる。なお、例えば、定額制の印刷サービスや消耗品の発注サービス等の課金情報を必要とするサービスID「sv2」をサーバ50に登録した場合、プリンタ30のファームウェア40はメモリ36に記憶された保護フラグを1に設定する。 In S13, the server-side CPU 53 sends the "device ID" and authentication token issued in S11 to the printer 30. After this, the printer 30 and the server 50 are in a constant connection state according to the XMPP protocol. When the firmware 40 of the printer 30 receives the device ID, in S14, it stores the received device ID and authentication token in the NVRAM 37. This enables the server 50 to identify the printer 30 as a printer to be used for email printing. For example, if a service ID "sv2" that requires billing information such as a flat-rate printing service or a consumables ordering service is registered with the server 50, the firmware 40 of the printer 30 sets the protection flag stored in the memory 36 to 1.

ファームウェア40は、S15で、サーバ50に対して、自装置のデバイスID(dv1)と共に、アドレス取得要求を送信する。ファームウェア40が送信するアドレス取得要求は、「メールプリント」において、プリンタ30に関連付けられるメールアドレスを、サーバ50に発行させるための要求である。なお、S15において、デバイスIDに代えて、プリンタ30を識別可能な認証トークンを送信するものであってもよい。 In S15, the firmware 40 sends an address acquisition request to the server 50 along with the device ID (dv1) of the own device. The address acquisition request sent by the firmware 40 is a request to have the server 50 issue an email address associated with the printer 30 in "email print." Note that in S15, an authentication token capable of identifying the printer 30 may be sent instead of the device ID.

サーバ側CPU53は、プリンタ30からのアドレス取得要求を受信すると、S16で、プリンタ30に対してメールアドレスを発行する。具体的には、サーバ側CPU53は、Eメールアドレス「〇〇〇@print」を発行する。S17では、サーバ側CPU53は、S16で発行したメールアドレスを、プリンタ30のデバイスID(dv1)に関連付けて管理テーブルKTに記憶する。 When the server-side CPU 53 receives the address acquisition request from the printer 30, in S16 it issues an email address to the printer 30. Specifically, the server-side CPU 53 issues the email address "xxx@print". In S17, the server-side CPU 53 associates the email address issued in S16 with the device ID (dv1) of the printer 30 and stores it in the management table KT.

サーバ側CPU53は、S18において、発行されたメールアドレスを、プリンタ30に送信する。ファームウェア40は、S19で、サーバ50から受信したメールアドレスを、メモリ36に記憶する。ファームウェア40は、S19の処理の後、ユーザIF34を介して受付けた操作に応じて、メモリ36に記憶されたメールアドレスを、ユーザIF34に表示させることができる。 In S18, the server-side CPU 53 sends the issued email address to the printer 30. In S19, the firmware 40 stores the email address received from the server 50 in the memory 36. After processing S19, the firmware 40 can display the email address stored in the memory 36 on the user IF 34 in response to an operation received via the user IF 34.

次に、図4を用いて、ユーザが、端末10が記憶する印刷ファイルを、「メールプリント」を利用して印刷する手順を説明する。印刷ファイルは、例えば、印刷アプリケーション14により作成されたファイルである。しかしながら、文書作成アプリケーションや表作成アプリケーションなど他のアプリケーションで作成したファイルであってもよい。端末10が実行する処理は、メールプログラム15により実行される処理である。 Next, the procedure for a user to print a print file stored in the terminal 10 using "Mail Print" will be described with reference to FIG. 4. The print file is, for example, a file created by the print application 14. However, it may also be a file created by another application, such as a word processing application or a table creation application. The process executed by the terminal 10 is a process executed by the mail program 15.

メールプログラム15は、ユーザによるユーザIF17を介した操作に応じて、新規作成画面をユーザIF17に表示させる。ユーザは、新規作成画面上で、印刷ファイルをメールデータに添付する操作を行うとともに、プリンタ30に記憶されたメールアドレスを宛先として入力する。これにより、S20では、メールプログラム15は、プリンタ30に記憶されたメールアドレスを宛先として、メールデータ及びメールデータに添付された印刷ファイルをサーバ50に送信する。 In response to a user's operation via user IF 17, mail program 15 causes user IF 17 to display a new creation screen. The user performs an operation on the new creation screen to attach a print file to the mail data, and inputs an email address stored in printer 30 as the destination. As a result, in S20, mail program 15 sends the mail data and the print file attached to the mail data to server 50, with the email address stored in printer 30 as the destination.

サーバ50のサーバ側CPU53は、メールデータを受信すると、メールデータに添付されているファイルを適宜プリンタ30が解釈可能なファイルに変換する。そして、S21で、管理テーブルKT上でメールアドレスに関連付けられたデバイスIDを参照する。サーバ側CPU53は、S22では、管理テーブルKT上で、S20で参照されたデバイスIDに関連づけられたプリンタ30に対して、メールデータに添付された印刷ファイルを送信する。例えば、サーバ側CPU53は、XMPPプロトコルに従い、デバイスIDに関連付けられたクライアント番号を特定し、そのクライアント番号により特定されるプリンタ30に対して印刷ファイルを送信する。 When the server-side CPU 53 of the server 50 receives the email data, it converts the file attached to the email data into a file that can be interpreted by the printer 30 as appropriate. Then, in S21, it references the device ID associated with the email address in the management table KT. In S22, the server-side CPU 53 transmits the print file attached to the email data to the printer 30 associated with the device ID referenced in S20 in the management table KT. For example, the server-side CPU 53 identifies the client number associated with the device ID according to the XMPP protocol, and transmits the print file to the printer 30 identified by that client number.

ファームウェア40は、サーバ50から印刷ファイルを受信すると、S23で、印刷ファイルをメモリ36に記憶する保存処理を行う。例えば、宛先として指定されたメールアドレスと、メールアドレスを受信した時刻とを関連付けて、印刷ファイルをメモリ36に記憶してもよい。S24では、ファームウェア40は、印刷ファイルの保存が完了したことを、サーバ50に送信する。 When the firmware 40 receives the print file from the server 50, in S23 it performs a save process to store the print file in the memory 36. For example, the print file may be stored in the memory 36 in association with the email address specified as the destination and the time the email address was received. In S24, the firmware 40 notifies the server 50 that the save of the print file has been completed.

S25では、ファームウェア40は、ユーザIF34を介して、ユーザによる印刷ファイルの印刷操作を受付ける。本実施形態では、ファームウェア40は、サーバ50から受信した印刷ファイルを、メールアドレスに関連付けてユーザIF34に表示させることができる。そのため、ユーザは、ユーザIF34に表示された印刷ファイルのうち、所望とするメールアドレスに関連付けられた印刷ファイルを指定して、ファームウェア40に印刷操作を行うことができる。これ以外にも、ファームウェア40は、サーバ50から印刷ファイルを受信すると、ユーザによるユーザIF34に対する操作を受付けることなく印刷ファイルを即座に印刷するものであってもよい。この場合、図4のS25の処理を省略すればよい。 In S25, the firmware 40 accepts a print operation of the print file by the user via the user IF 34. In this embodiment, the firmware 40 can display the print file received from the server 50 on the user IF 34 in association with the email address. Therefore, the user can specify the print file associated with the desired email address from among the print files displayed on the user IF 34 and perform a print operation on the firmware 40. In addition, when the firmware 40 receives a print file from the server 50, it may immediately print the print file without accepting an operation on the user IF 34 by the user. In this case, the process of S25 in FIG. 4 may be omitted.

S26では、ファームウェア40は、S25で受付けた印刷操作に応じて、印刷ファイルに対する印刷処理を行う。 In S26, the firmware 40 performs printing processing on the print file in response to the printing operation received in S25.

次に、図5を用いて、プリンタ30に対してファクトリリセットが実行される場合に、各装置が実行する処理の手順を説明する。ファクトリリセットは、メモリ36に記憶された各種のデータを削除することにより、プリンタ30を工場出荷時の状態に戻すための処理である。ファクトリリセットの実行に先立ち、端末側CPU12は、ユーザからプリンタ30の各種設定を行うための設定画面の表示操作を、ユーザIF17を介して受付けると、端末側CPU12は、設定画面の表示要求をプリンタ30に送信する。プリンタ30のファームウェア40は、Webサーバ機能により、設定画面を表示させるためのWebページデータを、端末10に送信する。 Next, the procedure of the process executed by each device when a factory reset is performed on the printer 30 will be described with reference to FIG. 5. The factory reset is a process for returning the printer 30 to the state it was in when it was shipped from the factory by deleting various data stored in the memory 36. Prior to executing the factory reset, when the terminal CPU 12 receives an operation from the user via the user IF 17 to display a setting screen for configuring various settings for the printer 30, the terminal CPU 12 sends a request to display the setting screen to the printer 30. The firmware 40 of the printer 30 uses its web server function to send web page data for displaying the setting screen to the terminal 10.

端末側CPU12は、Webページデータを受信すると、S30でユーザIF17に、設定画面を表示して、ファクトリリセットの実行操作を受付ける。端末側CPU12は、ユーザによるファクトリリセットの実行操作を受付けると、S31で、プリンタ30に対してファクトリリセットの実行指示を送信する。本実施形態では、S30で端末側CPU12が実行する処理が指示受付処理の一例である。 When the terminal CPU 12 receives the web page data, in S30 it displays a settings screen on the user IF 17 and accepts an operation to execute a factory reset. When the terminal CPU 12 accepts an operation to execute a factory reset by the user, in S31 it sends an instruction to execute a factory reset to the printer 30. In this embodiment, the process executed by the terminal CPU 12 in S30 is an example of an instruction acceptance process.

ファームウェア40は、ファクトリリセットの実行指示を受信すると、S32で、リセット処理を実行する。図6は、S32で実行されるリセット処理の詳細を示すフローチャートであり、主体は、ファームウェア40である。 When the firmware 40 receives an instruction to execute a factory reset, it executes the reset process in S32. Figure 6 is a flowchart showing the details of the reset process executed in S32, and is mainly executed by the firmware 40.

S50では、プリンタ30に対して課金サービスを登録済みであるか否かを判断する。例えば、メモリ36に記憶された「保護フラグ」が「1」に設定されている場合、プリンタ30に対して課金サービスが登録されていると判断する。「保護フラグ」は、課金サービスの提供を受けるためにプリンタ30とサーバ50との間で常時接続が確立されている場合に、「1」に設定される情報である。これ以外にも、サーバ50に対して、現在、課金サービスに登録済みであるか否かの問合せを行い、サーバ50からの返信結果により判断を行ってもよい。 In S50, it is determined whether or not a billing service has been registered for the printer 30. For example, if the "protection flag" stored in memory 36 is set to "1", it is determined that a billing service has been registered for the printer 30. The "protection flag" is information that is set to "1" when a constant connection is established between the printer 30 and the server 50 in order to receive the billing service. Alternatively, the server 50 may be queried as to whether or not the printer 30 is currently registered for the billing service, and the determination may be made based on the reply from the server 50.

課金サービスが登録されておらず、S50を否定判定する場合、S51に進みファクトリリセットを実行する。ファクトリリセットでは、プリンタ30とサーバ50との間で使用される認証トークンや、保護フラグ等の接続情報が削除される。一方、S51でのファクトリリセットにおいて、NVRAM37に記憶されたデバイスIDは削除されない。 If a billing service is not registered and a negative judgment is made in S50, the process proceeds to S51 and a factory reset is executed. In the factory reset, connection information such as the authentication token and protection flag used between the printer 30 and the server 50 are deleted. On the other hand, the device ID stored in the NVRAM 37 is not deleted in the factory reset in S51.

S52では、リセットフラグを「0」に設定する。リセットフラグは、ファクトリリセットが実行されたか否かを示す情報であり、「0」の場合にファクトリリセットが実行されたことを示し、「1」の場合に、ファクトリリセットが実行されていないことを示す。これにより、リセットフラグの値を参照することで、ファクトリリセットが実行されたことを判断することが可能となる。そして、図5のS33に進む。 In S52, the reset flag is set to "0." The reset flag is information indicating whether or not a factory reset has been performed; "0" indicates that a factory reset has been performed, and "1" indicates that a factory reset has not been performed. This makes it possible to determine that a factory reset has been performed by referencing the value of the reset flag. Then, the process proceeds to S33 in FIG. 5.

一方、課金サービスを登録済みである場合、S50を肯定判定して、S53に進む。この場合、ファクトリリセットは実行されない。これは、サーバ50から課金サービスの提供を受けている場合、プリンタ30とサーバ50との間の常時接続を維持するために、メモリ36には認証トークンが記憶されている。しかし、ファクトリリセットが実行され、メモリ36に記憶された認証トークンが削除されてしまうと、サーバ50とプリンタ30との間の常時接続が解除され、既に支払い済みの課金サービスを維持することができなくなる。これを回避するために、課金サービスが登録されている場合、常時接続を維持するため、ファクトリリセットを実行しない。 On the other hand, if a billing service has already been registered, S50 is judged as positive and the process proceeds to S53. In this case, a factory reset is not executed. This is because, when a billing service is provided by the server 50, an authentication token is stored in the memory 36 in order to maintain a constant connection between the printer 30 and the server 50. However, if a factory reset is executed and the authentication token stored in the memory 36 is deleted, the constant connection between the server 50 and the printer 30 is released, and it becomes impossible to maintain the billing service for which payment has already been made. To avoid this, if a billing service has been registered, a factory reset is not executed in order to maintain a constant connection.

S53では、リセットフラグを「1」に設定する。なお、リセットフラグが既に「1」に設定されている場合は、「1」を維持する。S53の処理を終了すると、図5のS33に進む。 In S53, the reset flag is set to "1." If the reset flag is already set to "1," it remains set to "1." When the process of S53 ends, the process proceeds to S33 in FIG. 5.

S33では、ファームウェア40は、端末10に対して通知処理を実行する。この通知処理では、ファームウェア40は、リセット処理の結果を端末10に送信する。具体的には、ファームウェア40は、リセットフラグが「0」である場合、ファクトリリセットの完了通知を端末10に送信する。一方、ファームウェア40は、リセットフラグが「1」である場合、プリンタ30に課金サービスが登録されており、ファクトリリセットを実行できないことを通知する。これにより、ユーザは、課金サービスが登録されているため、ファクトリリセットが実行できないことを認識することができる。 In S33, the firmware 40 executes a notification process for the terminal 10. In this notification process, the firmware 40 sends the result of the reset process to the terminal 10. Specifically, if the reset flag is "0", the firmware 40 sends a factory reset completion notification to the terminal 10. On the other hand, if the reset flag is "1", the firmware 40 notifies the terminal 10 that a billing service is registered on the printer 30 and that a factory reset cannot be performed. This allows the user to recognize that a billing service is registered and therefore a factory reset cannot be performed.

以下、ファクトリリセットが実行された後に、ユーザが、プリンタ30を、「メールプリント」に再登録する場合を例に説明を行う。 The following describes an example in which a user re-registers the printer 30 in "Mail Print" after a factory reset has been performed.

プリンタ30のファームウェア40は、プリンタ30を「メールプリント」に使用するプリンタに登録するための登録操作を、ユーザIF34を介して受付けると、S34で、ファームウェア40は、ファクトリリセットは実行済みであるか否かを判断する。具体的には、ファームウェア40は、リセットフラグを参照し、リセットフラグが「0」であれば、ファクトリリセットを実行済みであると判断する。一方、リセットフラグが「1」であれば、ファクトリリセットが未実行であると判断する。 When the firmware 40 of the printer 30 receives a registration operation via the user IF 34 to register the printer 30 as a printer to be used for "email printing," the firmware 40 determines in S34 whether a factory reset has been performed. Specifically, the firmware 40 refers to the reset flag, and if the reset flag is "0," it determines that a factory reset has been performed. On the other hand, if the reset flag is "1," it determines that a factory reset has not been performed.

ファームウェア40は、リセットフラグが「1」でありS34を否定判定する場合、図5の処理を終了する。この場合、現在、NVRAM37に記憶されているデバイスIDを用いて、プリンタ30を対象とするメールプリントを継続することとなる。 If the reset flag is "1" and S34 is judged as negative, the firmware 40 ends the process shown in FIG. 5. In this case, the firmware 40 will continue printing emails to the printer 30 using the device ID currently stored in the NVRAM 37.

ファームウェア40は、S34を肯定判定する場合、S35に進み、NVRAM37に記憶されているデバイスIDとともに、デバイスIDの更新要求をサーバ50に送信する。更新要求は、サーバ50に対して、NVRAM37に記憶されているデバイスIDを、新たなデバイスIDに更新させるための要求である。本実施形態では、ファームウェア40が、S35で実行する処理が更新要求処理の一例である。 When the firmware 40 judges S34 as positive, the firmware 40 proceeds to S35 and transmits a device ID update request to the server 50 together with the device ID stored in the NVRAM 37. The update request is a request to the server 50 to update the device ID stored in the NVRAM 37 to a new device ID. In this embodiment, the process executed by the firmware 40 in S35 is an example of an update request process.

サーバ50に対して、プリンタ30からデバイスIDが送信されることで、サーバ50は、更新前のデバイスIDと、後述するS36で新たに発行されるデバイスIDとが同じプリンタ30を識別する情報であることを認識することが可能となる。これにより、サーバ側CPU53は、例えば、管理テーブルKT上で、更新前のデバイスIDに関連づけられた情報を引き継ぐことで、新たに発行されたデバイスIDに関連づけて記憶させることが可能となる。 By sending the device ID from the printer 30 to the server 50, the server 50 can recognize that the device ID before the update and the device ID newly issued in S36 described below are information that identifies the same printer 30. This allows the server-side CPU 53 to, for example, inherit the information associated with the device ID before the update in the management table KT and store it in association with the newly issued device ID.

サーバ50のサーバ側CPU53は、更新要求を受信すると、S36で、プリンタ30に対して新たなデバイスIDを発行する。S37では、S36で発行されたデバイスIDを、メールプリントのサービスID(sv1)等、管理テーブルKTの各情報に関連づけて登録する。 When the server-side CPU 53 of the server 50 receives the update request, in S36 it issues a new device ID to the printer 30. In S37, it registers the device ID issued in S36 in association with each piece of information in the management table KT, such as the mail print service ID (sv1).

S38では、新たに発行されたデバイスIDを、プリンタ30に送信する。プリンタ30のファームウェア40は、デバイスIDを受信すると、S39で、既にNVRAM37に記憶されているデバイスIDを、受信されたデバイスIDに上書きすることで、デバイスIDを更新する。これにより、プリンタ30は、更新後のデバイスIDにより、サーバ50により認識されることとなる。本実施形態では、ファームウェア40がS39で実行する処理が記憶処理の一例である。なお、その後、図3で示した、S15~S19の処理が実行されることで、プリンタ30をメールプリントで使用するプリンタとして設定することができる。 In S38, the newly issued device ID is sent to the printer 30. When the firmware 40 of the printer 30 receives the device ID, in S39, the firmware 40 updates the device ID by overwriting the device ID already stored in the NVRAM 37 with the received device ID. This allows the printer 30 to be recognized by the server 50 by the updated device ID. In this embodiment, the process executed by the firmware 40 in S39 is an example of a storage process. Thereafter, the processes of S15 to S19 shown in FIG. 3 are executed, whereby the printer 30 can be set as a printer to be used for email printing.

以上説明した本実施形態では、以下の効果を奏することができる。
コントローラ35は、ファクトリリセットの実行指示を受付けた場合に、メモリ36からデバイスID以外の情報を削除する。コントローラ35は、サーバ50に対して、プリンタ30をメールプリントで使用するプリンタに再登録する場合に、サーバ50に対してデバイスIDの更新を要求し、サーバ50により更新されたデバイスIDをNVRAM37に記憶する。これにより、ファクトリリセットを行った後において、プリンタ30の再登録が行われるまでは、デバイスIDが保持される。一方、プリンタ30の再登録が行われた後は、デバイスIDが更新されるため、プリンタ30に対して同じデバイスIDが継続して使用される場合と比べて、セキュリティーの低下を抑制することができる。
The present embodiment described above can provide the following advantages.
When the controller 35 receives an instruction to execute a factory reset, it deletes information other than the device ID from the memory 36. When the controller 35 re-registers the printer 30 to the server 50 as a printer to be used for mail printing, the controller 35 requests the server 50 to update the device ID, and stores the device ID updated by the server 50 in the NVRAM 37. As a result, the device ID is held until the printer 30 is re-registered after the factory reset is performed. On the other hand, since the device ID is updated after the printer 30 is re-registered, it is possible to prevent a decrease in security compared to when the same device ID is continuously used for the printer 30.

プリンタ30のファームウェア40は、サーバ50に対してデバイスIDの更新を要求すると共に、NVRAM37に記憶されているデバイスIDをサーバ50に送信する。これにより、例えば、サーバ50は、プリンタ30から送信された更新前のデバイスIDに関連付けられたデータを引き継ぐことで、更新後のデバイスIDに関連づける情報を管理テーブルKTに容易に記憶させることができる。 The firmware 40 of the printer 30 requests the server 50 to update the device ID, and transmits the device ID stored in the NVRAM 37 to the server 50. This allows the server 50 to easily store information associated with the updated device ID in the management table KT, for example, by inheriting the data associated with the device ID before the update transmitted from the printer 30.

ファームウェア40は、デバイスIDの更新指示により、サーバ50に、プリンタ30の新たなデバイスIDを作成させ、サーバ50により作成された新たなデバイスIDを、更新後のデバイスIDとしてNVRAM37に記憶する。これにより、サーバ50により作成されたデバイスIDを用いて、プリンタ30に対して、新たなデバイスIDを再設定することができる。 In response to a device ID update instruction, the firmware 40 causes the server 50 to create a new device ID for the printer 30, and stores the new device ID created by the server 50 in the NVRAM 37 as the updated device ID. This makes it possible to reset a new device ID for the printer 30 using the device ID created by the server 50.

ファームウェア40は、ファクトリリセットの実行操作を受付けた場合に、プリンタ30に対して課金サービスの提供が登録されていれば、メモリ36に記憶された情報を削除しない。一方、ファクトリリセットの実行操作を受付けた場合に、プリンタ30に対して課金サービスの提供が登録されていなければ、メモリ36に記憶されたデバイスID以外の情報を削除する。これにより、不用意にメモリ36に記憶された情報が削除されたことに伴う、他のサービスへの悪影響を防止することができる。 When the firmware 40 receives an operation to execute a factory reset, if the provision of billing services is registered for the printer 30, the firmware 40 does not delete the information stored in the memory 36. On the other hand, when the firmware 40 receives an operation to execute a factory reset, if the provision of billing services is not registered for the printer 30, the firmware 40 deletes information other than the device ID stored in the memory 36. This makes it possible to prevent adverse effects on other services that may result from the inadvertent deletion of information stored in the memory 36.

ファームウェア40は、ファクトリリセットの実行操作を受付けた場合に、プリンタ30に対して課金サービスの提供が登録されていれば、課金サービスが登録されていることを通知する。これにより、課金サービスの提供が登録されている場合に、その旨が通知されるため、ユーザは、ファクトリリセットが実行されない理由を認識することができる。 When the firmware 40 receives a request to execute a factory reset, if the provision of a billing service is registered for the printer 30, it notifies the user that a billing service is registered. This notifies the user that a billing service is registered, so that the user can recognize the reason why a factory reset is not being executed.

(第2実施形態)
第2実施形態では、第1実施形態と異なる構成を主に説明を行う。第2実施形態において第1実施形態と同一の箇所については同じ符号を付し、その説明を繰り返さない。
Second Embodiment
In the second embodiment, the configuration different from the first embodiment will be mainly described. In the second embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and the description thereof will not be repeated.

本実施形態では、プリンタ30に対するファクトリリセットが実行された後において、ファームウェア40が新たなデバイスIDを作成する。図7を用いて、本実施形態に係るプリンタ30に対してファクトリリセットが実行された場合に、各装置が実行する処理の手順を説明する。本実施形態においても、S31で、端末10からプリンタ30にファクトリリセットの実行指示が送信された場合に、S32でリセット処理が実行される。そして、S32でのリセット処理の後、ユーザが、端末10を操作してプリンタ30をメールプリントで使用するプリンタに登録する操作を行ったものとする。 In this embodiment, after a factory reset is performed on the printer 30, the firmware 40 creates a new device ID. Using FIG. 7, the procedure of the processes executed by each device when a factory reset is performed on the printer 30 according to this embodiment will be described. In this embodiment as well, when an instruction to execute a factory reset is sent from the terminal 10 to the printer 30 in S31, the reset process is executed in S32. Then, after the reset process in S32, it is assumed that the user operates the terminal 10 to register the printer 30 as a printer to be used for email printing.

S34で、プリンタ30のファームウェア40は、ファクトリリセットが実行済みであるか否かを判断する。S34を肯定判定すると、ファームウェア40は、S60において、自装置における新たなデバイスIDを作成する。S60で作成されるデバイスIDは、NVRAM37に記憶されているデバイスIDと異なる値である。S61では、デバイスIDの更新要求と共に、NVRAM37に記憶されている旧デバイスIDと、S60で作成された新たなデバイスIDとをサーバ50に送信する。 In S34, the firmware 40 of the printer 30 determines whether a factory reset has been performed. If a positive determination is made in S34, the firmware 40 creates a new device ID for the printer itself in S60. The device ID created in S60 has a different value from the device ID stored in NVRAM 37. In S61, the firmware 40 sends to the server 50 a request to update the device ID, along with the old device ID stored in NVRAM 37 and the new device ID created in S60.

サーバ50のサーバ側CPU53は、プリンタ30からの更新要求を受信すると、S62で、プリンタ30から受信した新たなデバイスIDを登録する。S62の処理は、図5のS37の処理と同様である。S63では、サーバ側CPU53は、デバイスIDを更新したことを、プリンタ30に通知する。S39では、ファームウェア40は、NVRAM37に記憶されている旧デバイスIDを、S60で作成されたデバイスIDに上書きすることで、デバイスIDを更新する。 When the server-side CPU 53 of the server 50 receives an update request from the printer 30, in S62 it registers the new device ID received from the printer 30. The process of S62 is the same as the process of S37 in FIG. 5. In S63, the server-side CPU 53 notifies the printer 30 that the device ID has been updated. In S39, the firmware 40 updates the device ID by overwriting the old device ID stored in the NVRAM 37 with the device ID created in S60.

以上説明した本実施形態では、プリンタ30でデバイスIDを作成する場合においても、第1実施形態と同様の作用効果を奏することができる。 In the embodiment described above, the same effects as in the first embodiment can be achieved even when the device ID is created by the printer 30.

(その他の実施形態)
本明細書で開示される技術は、上述の実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の形態に変形することができ、例えば次のような変形も可能である。
上述した各実施形態では、識別情報として、デバイスIDを用いた。これ以外にも、デバイスIDに代えて、ユーザを固有に識別するユーザID等を用いてもよい。
Other Embodiments
The technology disclosed in this specification is not limited to the above-described embodiments, and can be modified in various forms without departing from the spirit of the invention. For example, the following modifications are also possible.
In the above-described embodiments, a device ID is used as the identification information. Alternatively, a user ID that uniquely identifies a user may be used instead of the device ID.

ファームウェア40は、図5のS35において、デバイスIDの更新要求を行う場合に、デバイスIDを送信しなくともよい。この場合において、S35において、デバイスIDの送信に代えて、プリンタ30を特定可能な認証トークンをサーバ50に送信するものであってもよい。そして、サーバ50のサーバ側CPU53は、認証トークンを用いて、プリンタ30によりデバイスIDの更新要求が行われたことを判断すればよい。 When making a request to update the device ID in S35 of FIG. 5, the firmware 40 does not need to send the device ID. In this case, instead of sending the device ID in S35, the firmware 40 may send an authentication token capable of identifying the printer 30 to the server 50. The server-side CPU 53 of the server 50 may then use the authentication token to determine that a request to update the device ID has been made by the printer 30.

サーバが提供可能なサービスは、メールプリントに限定されず、プリンタを使用するサービスであれば、どのようなサービスであってもよい。 The services that the server can provide are not limited to email printing, but can be any service that uses a printer.

通信装置を、プリンタ30として説明したことは一例であり、通信装置は、プリント処理の他、スキャン処理を実行可能な複合機であってもよい。この場合、サーバが提供可能なサービスは、スキャン処理を使用するサービスであってもよい。 The communication device described as a printer 30 is merely an example, and the communication device may be a multifunction device capable of performing scanning processes in addition to printing processes. In this case, the service that the server can provide may be a service that uses scanning processes.

10…端末、30…プリンタ、32…通信IF、34…ユーザIF、35…コントローラ、36…メモリ、50…サーバ 10... terminal, 30... printer, 32... communication IF, 34... user IF, 35... controller, 36... memory, 50... server

Claims (8)

通信インタフェースと、メモリと、コントローラとを備え、所定のサービスを提供するサーバと前記通信インタフェースを介して通信可能な通信装置であって、
前記メモリには、前記サーバが前記所定のサービスの提供において前記通信装置を識別するための識別情報が記憶されており、
前記コントローラは、
前記メモリのリセット指示を受付ける指示受付処理と、
前記リセット指示を受付けた場合に、前記メモリから前記識別情報以外の情報を削除するリセット処理と、
前記リセット処理が実行された後であって、前記サーバとの間で前記所定のサービスの提供を受けるための再登録を行う場合に、前記サーバに対して前記識別情報の更新を要求する更新要求処理と、
前記更新要求処理に基づき、更新された前記識別情報を前記メモリに記憶する記憶処理と、
を実行する通信装置。
A communication device comprising a communication interface, a memory, and a controller, and capable of communicating with a server that provides a predetermined service via the communication interface,
the memory stores identification information for the server to identify the communication device when providing the predetermined service;
The controller:
An instruction receiving process for receiving an instruction to reset the memory;
a reset process for deleting information other than the identification information from the memory when the reset instruction is received;
an update request process for requesting the server to update the identification information when re-registering with the server to receive the predetermined service after the reset process has been executed;
a storage process of storing the updated identification information in the memory based on the update request process;
A communications device that performs the above.
前記更新要求処理では、前記サーバに対して前記識別情報の更新を要求すると共に、前記メモリに記憶されている前記識別情報を前記サーバに送信する請求項1に記載の通信装置。 The communication device according to claim 1, wherein the update request process requests the server to update the identification information and transmits the identification information stored in the memory to the server. 前記更新要求処理では、前記識別情報の更新の要求により、前記サーバに、前記通信装置に対して新たな前記識別情報を作成させ、
前記記憶処理では、前記サーバにより作成された前記識別情報を、更新後の前記識別情報として前記メモリに記憶する請求項1又は2に記載の通信装置。
the update request process causes the server to create new identification information for the communication device in response to a request to update the identification information;
3. The communication device according to claim 1, wherein the storage process stores the identification information created by the server in the memory as the updated identification information.
前記コントローラは、前記リセット処理の実行後に新たな前記識別情報を作成し、
前記更新要求処理では、前記新たに作成された識別情報を前記通信装置における前記識別情報として前記サーバに送信し、
前記記憶処理では、前記新たに作成された識別情報を前記メモリに記憶する請求項1又は2に記載の通信装置。
The controller creates new identification information after executing the reset process,
the update request process transmits the newly created identification information to the server as the identification information of the communication device;
3. The communication device according to claim 1, wherein the newly created identification information is stored in the memory in the storage process.
前記サーバは、前記所定のサービスに加え、他のサービスを提供可能であり、
前記メモリには、前記識別情報に加えて、前記サーバから前記他のサービスの提供を受けるための情報である接続情報が記憶されており、
前記リセット処理では、
前記リセット指示を受付けた場合に、前記通信装置に対して前記他のサービスの提供が登録されていれば、前記メモリに記憶された前記接続情報を削除せず、
前記リセット指示を受付けた場合に、前記通信装置に対して前記他のサービスの提供が登録されていなければ、前記メモリに記憶された前記接続情報を削除する請求項1~4のいずれか一項に記載の通信装置。
The server is capable of providing other services in addition to the predetermined service,
In addition to the identification information, the memory stores connection information for receiving the other service from the server,
In the reset process,
when the reset instruction is received, if the provision of the other service is registered for the communication device, the connection information stored in the memory is not deleted,
A communication device according to any one of claims 1 to 4, wherein when the reset instruction is received, if the provision of the other service is not registered for the communication device, the connection information stored in the memory is deleted.
前記リセット指示を受付けた場合に、前記通信装置に対して前記他のサービスの提供が登録されていれば、前記他のサービスが登録されていることを通知する通知処理を実行する請求項5に記載の通信装置。 The communication device according to claim 5, which executes a notification process to notify the communication device that the other service is registered when the reset instruction is received and the provision of the other service is registered for the communication device. 通信インタフェースと、メモリと、を備え、所定のサービスを提供するサーバと前記通信インタフェースを介して通信可能な通信装置のコントローラで実行可能な制御プログラムであって、
前記メモリには、
前記サーバが前記所定のサービスの提供において前記通信装置を識別するための識別情報が記憶されており、
前記コントローラに、
前記メモリのリセット指示を受付ける指示受付処理と、
前記リセット指示を受付けた場合に、前記識別情報以外の情報を前記メモリから削除するリセット処理と、
前記リセット処理が実行された後であって、前記サーバとの間で前記所定のサービスの提供を受けるための再登録を行う場合に、前記サーバに対して前記識別情報の更新を要求する更新要求処理と、
前記更新要求処理に基づき、更新された前記識別情報を前記メモリに記憶する記憶処理と、
を実行させる制御プログラム。
A control program executable by a controller of a communication device that includes a communication interface and a memory and is capable of communicating with a server that provides a predetermined service via the communication interface, the control program comprising:
The memory includes:
Identification information for the server to identify the communication device in providing the predetermined service is stored,
The controller,
An instruction receiving process for receiving an instruction to reset the memory;
a reset process of deleting information other than the identification information from the memory when the reset instruction is received;
an update request process for requesting the server to update the identification information when re-registering with the server to receive the predetermined service after the reset process has been executed;
a storage process of storing the updated identification information in the memory based on the update request process;
A control program that executes the above.
通信インタフェースと、メモリとを備える通信装置と、所定のサービスを提供するサーバとで構成され、前記通信装置は前記通信インタフェースを介して前記サーバと通信可能なサービス提供システムであって、
前記メモリには、前記サーバが前記所定のサービスの提供において前記通信装置を識別するための識別情報が記憶されており、
前記通信装置は、
前記メモリのリセット指示を受付ける指示受付処理と、
前記リセット指示を受付けた場合に、前記識別情報以外の情報を前記メモリから削除するリセット処理と、
前記リセット処理が実行された後であって、前記サーバとの間で前記所定のサービスの提供を受けるための再登録を行う場合に、前記サーバに対して前記識別情報の更新を要求する更新要求処理と、
を実行し、
前記サーバは、前記識別情報の更新の要求を受けると、前記識別情報を更新し、
前記通信装置は、前記更新要求処理に基づき、更新された前記識別情報を前記メモリに記憶する記憶処理を実行するサービス提供システム。
A service providing system including a communication device having a communication interface and a memory, and a server providing a predetermined service, the communication device being capable of communicating with the server via the communication interface,
the memory stores identification information for the server to identify the communication device when providing the predetermined service;
The communication device includes:
An instruction receiving process for receiving an instruction to reset the memory;
a reset process of deleting information other than the identification information from the memory when the reset instruction is received;
an update request process for requesting the server to update the identification information when re-registering with the server to receive the predetermined service after the reset process has been executed;
Run
When the server receives a request to update the identification information, the server updates the identification information;
The communication device is a service providing system that executes a storage process to store the updated identification information in the memory based on the update request process.
JP2021029420A 2021-02-26 2021-02-26 Communication device, control program, and service provision system Active JP7589587B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021029420A JP7589587B2 (en) 2021-02-26 2021-02-26 Communication device, control program, and service provision system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021029420A JP7589587B2 (en) 2021-02-26 2021-02-26 Communication device, control program, and service provision system

Publications (2)

Publication Number Publication Date
JP2022130808A JP2022130808A (en) 2022-09-07
JP7589587B2 true JP7589587B2 (en) 2024-11-26

Family

ID=83153281

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021029420A Active JP7589587B2 (en) 2021-02-26 2021-02-26 Communication device, control program, and service provision system

Country Status (1)

Country Link
JP (1) JP7589587B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115766456B (en) * 2022-12-16 2024-12-17 北京奕斯伟计算技术股份有限公司 Factory setting restoration method, device, system and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014178984A (en) 2013-03-15 2014-09-25 Brother Ind Ltd Server and network system
JP2020160955A (en) 2019-03-27 2020-10-01 ブラザー工業株式会社 Servers and computer programs for servers

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014178984A (en) 2013-03-15 2014-09-25 Brother Ind Ltd Server and network system
JP2020160955A (en) 2019-03-27 2020-10-01 ブラザー工業株式会社 Servers and computer programs for servers

Also Published As

Publication number Publication date
JP2022130808A (en) 2022-09-07

Similar Documents

Publication Publication Date Title
JP6300511B2 (en) System and execution instruction method
US10769268B2 (en) Information processing device, information processing system, and information processing method
US10594686B2 (en) Communication system and registration server
US20160070509A1 (en) Information processing apparatus, image processing apparatus, information processing system and information processing method
US11606474B2 (en) Printer, server and non-transitory computer-readable recording media storing computer readable instructions for printer and server
US11647126B2 (en) Server for receiving remaining amount information, printer for sending remaining amount information, and non-transitory computer-readable recording media storing computer readable instructions for server and printer
US11171954B2 (en) Server and non-transitory computer-readable recording medium storing computer-readable instructions for server
US11226779B2 (en) Printing system and control method
US12309338B2 (en) Control device, non-transitory computer-readable recording medium storing computer-readable instructions for control device, and method executed by control device displaying service notification
JP7589587B2 (en) Communication device, control program, and service provision system
US9612788B2 (en) Terminal apparatus, information processing system, and output method
US20250068363A1 (en) Server, printer, and non-transitory computer-readable storage medium for terminal device
US10891096B2 (en) Communication device, non-transitory computer-readable recording medium storing computer-readable instructions for communication device, and method performed by communication device
JP2019066998A (en) Control program, information processing apparatus, and control method
JP2019036801A (en) Image processing device
JP2019160065A (en) Job system, job execution method, information processing device, and program
US20260019511A1 (en) Management system, server, and multi-function peripheral
JP7619049B2 (en) Image processing device and computer program for the image processing device
US12436784B2 (en) Information processing apparatus using program cooperation, control method therefor, and storage medium storing control program therefor
JP7563110B2 (en) Control program, terminal
EP4607333A1 (en) Computer program for terminal device, terminal device, and method executed by terminal device
JP4939265B2 (en) Information processing apparatus and information processing method
EP3889758A1 (en) Image processing device and computer program
JP2024142966A (en) Management server and management server system
JP2024150278A (en) Printing expansion program, information processing device and control method thereof, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240924

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241028

R150 Certificate of patent or registration of utility model

Ref document number: 7589587

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150