JP7589587B2 - Communication device, control program, and service provision system - Google Patents
Communication device, control program, and service provision system Download PDFInfo
- 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
Links
- 238000004891 communication Methods 0.000 title claims description 69
- 238000000034 method Methods 0.000 claims description 79
- 230000008569 process Effects 0.000 claims description 74
- 230000004044 response Effects 0.000 claims description 5
- 238000007639 printing Methods 0.000 description 28
- 238000012545 processing Methods 0.000 description 10
- 230000000694 effects Effects 0.000 description 6
- 230000002411 adverse Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 108091008695 photoreceptors Proteins 0.000 description 1
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では、サービスの提供に先立ち、通信装置は、サーバとの間で、サービスの提供を受けるために必要な通信装置の識別情報をメモリに記憶する。そして、通信装置は、メモリに記憶された識別情報を用いてサーバからのサービスの提供を受ける。
例えば、通信装置において、メモリに記憶された情報を削除した後に、サーバとの間でサービスの提供を受けるための再登録を行う場合がある。このような場合において、通信装置又はサーバに対して悪影響が生じる懸念がある。しかし、特許文献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,
本発明は、上記課題に鑑みたものであり、メモリに記憶されている情報をリセットした後に、サーバとの間でサービスの提供を受けるための再登録を行う場合において、通信装置又はサーバに対する悪影響を極力抑制することを目的とする。 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.
(第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
端末10の構成について説明する。端末10は、スマートフォンやタブレット端末である。端末10は、バス11と、端末側CPU12と、メモリ13と、ユーザIF17と、通信IF20とを備えている。これらの構成要素は、バス11を介して互いに通信可能に接続されている。IFは、Interfaceの略称である。
The configuration of the
ユーザIF17は、操作キー18や、タッチパネル19を備えている。タッチパネル19は、タッチセンサを有しており、タッチセンサによる検出結果に応じた信号を出力する。なお、本実施形態における「タッチ」とは、入力媒体をタッチパネル19の表示画面に接触させる操作全般を含む。また、入力媒体をタッチパネル19との間の距離がごく僅かな位置まで入力媒体を近接させることを、前述の「タッチ」の概念に含めてもよい。さらに入力媒体とは、ユーザの指であってもよいし、タッチペン等であってもよい。
The user IF 17 includes
通信IF20は、所定の通信プロトコルに準拠して、端末10をネットワーク200に接続する。通信IF20は、例えば、IEEEの802.11の規格およびそれに準ずる規格に基づいて、Wi-Fi(R)(登録商標)方式の無線通信を行うことが可能とされている。また、通信IF20は、プリンタ30との間でBluetooth(登録商標)などの近距離無線通信を行うものであってもよい。なお、通信IF20は、基地局を介した移動通信システムを利用した無線通信を行うものであってもよい。
The communication IF 20 connects the
端末側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
なお、本実施形態では、主に、プログラムに記述された命令に従った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
サーバ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
図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
次に、プリンタ30のハードウェア構成について説明する。プリンタ30は、バス31、通信IF32、印刷ユニット33、ユーザIF34、コントローラ35、メモリ36、インクタンク38を備えている。プリンタ30を構成する各部は、バス31を介して通信可能に接続されている。
Next, the hardware configuration of the
通信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
コントローラ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
メモリ36には、ファームウェア40が記憶されている。コントローラ35は、制御プログラムであるファームウェア40を実行することにより、プリント処理を実行することができる。メモリ36には、各種サービスで用いられる情報が記憶されている。具体的には、「サービスID」、「デバイスID」、「メールアドレス」、「保護フラグ」が記憶される。メモリ36に記憶された各情報には、管理テーブルKT上でデバイスID(dv1)に関連づけて記憶された情報と同じ情報が含まれている。図1では、NVRAM37には、デバイスID(dv1)が記憶されている。なお、メモリ36に記憶される各情報は、後述する図3に示す処理においてメモリ36に記憶される。
次に、図3を用いて、サーバ50が提供可能なサービスである「メールプリント」で使用するプリンタとして、プリンタ30を登録する場合の処理を説明する。図3に示す各処理のうち、プリンタ30が実行する処理は、ファームウェア40により実行される。なお、プリンタ30とサーバ50との間のネットワーク接続は既に確立されているものとする。
Next, using FIG. 3, the process of registering the
ユーザが、プリンタ30のユーザIF34に対して、プリンタ30をメールプリントで使用するプリンタに登録する操作を行う。具体的には、ユーザIF34に表示された待受画面をメールプリントの設定画面に切換え、この設定画面上で、メールプリントの実行を選択操作する。ファームウェア40は、メールプリントの選択操作を受付けると。ステップ10(以下、S10と記載する。)では、サーバ50に対して、プリンタ30をメールプリントで使用するプリンタに登録するための登録要求を送信する。
The user operates the user IF 34 of the
サーバ50のサーバ側CPU53は、通信IF52を介して登録要求を受信すると、S11で、プリンタ30に対してデバイスIDを発行する。S12では、サーバ側CPU53は、発行されたデバイスIDを、管理テーブルKTに記憶することで、プリンタ30を、メールプリントで使用するプリンタに登録する。具体的には、管理テーブルKT上に、発行されたデバイスID(dv1)に関連付けて、「メールプリント」を示すサービスID(sv1)を記憶する。
When the server-
サーバ側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-
ファームウェア40は、S15で、サーバ50に対して、自装置のデバイスID(dv1)と共に、アドレス取得要求を送信する。ファームウェア40が送信するアドレス取得要求は、「メールプリント」において、プリンタ30に関連付けられるメールアドレスを、サーバ50に発行させるための要求である。なお、S15において、デバイスIDに代えて、プリンタ30を識別可能な認証トークンを送信するものであってもよい。
In S15, the
サーバ側CPU53は、プリンタ30からのアドレス取得要求を受信すると、S16で、プリンタ30に対してメールアドレスを発行する。具体的には、サーバ側CPU53は、Eメールアドレス「〇〇〇@print」を発行する。S17では、サーバ側CPU53は、S16で発行したメールアドレスを、プリンタ30のデバイスID(dv1)に関連付けて管理テーブルKTに記憶する。
When the server-
サーバ側CPU53は、S18において、発行されたメールアドレスを、プリンタ30に送信する。ファームウェア40は、S19で、サーバ50から受信したメールアドレスを、メモリ36に記憶する。ファームウェア40は、S19の処理の後、ユーザIF34を介して受付けた操作に応じて、メモリ36に記憶されたメールアドレスを、ユーザIF34に表示させることができる。
In S18, the server-
次に、図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
メールプログラム15は、ユーザによるユーザIF17を介した操作に応じて、新規作成画面をユーザIF17に表示させる。ユーザは、新規作成画面上で、印刷ファイルをメールデータに添付する操作を行うとともに、プリンタ30に記憶されたメールアドレスを宛先として入力する。これにより、S20では、メールプログラム15は、プリンタ30に記憶されたメールアドレスを宛先として、メールデータ及びメールデータに添付された印刷ファイルをサーバ50に送信する。
In response to a user's operation via user IF 17,
サーバ50のサーバ側CPU53は、メールデータを受信すると、メールデータに添付されているファイルを適宜プリンタ30が解釈可能なファイルに変換する。そして、S21で、管理テーブルKT上でメールアドレスに関連付けられたデバイスIDを参照する。サーバ側CPU53は、S22では、管理テーブルKT上で、S20で参照されたデバイスIDに関連づけられたプリンタ30に対して、メールデータに添付された印刷ファイルを送信する。例えば、サーバ側CPU53は、XMPPプロトコルに従い、デバイスIDに関連付けられたクライアント番号を特定し、そのクライアント番号により特定されるプリンタ30に対して印刷ファイルを送信する。
When the server-
ファームウェア40は、サーバ50から印刷ファイルを受信すると、S23で、印刷ファイルをメモリ36に記憶する保存処理を行う。例えば、宛先として指定されたメールアドレスと、メールアドレスを受信した時刻とを関連付けて、印刷ファイルをメモリ36に記憶してもよい。S24では、ファームウェア40は、印刷ファイルの保存が完了したことを、サーバ50に送信する。
When the
S25では、ファームウェア40は、ユーザIF34を介して、ユーザによる印刷ファイルの印刷操作を受付ける。本実施形態では、ファームウェア40は、サーバ50から受信した印刷ファイルを、メールアドレスに関連付けてユーザIF34に表示させることができる。そのため、ユーザは、ユーザIF34に表示された印刷ファイルのうち、所望とするメールアドレスに関連付けられた印刷ファイルを指定して、ファームウェア40に印刷操作を行うことができる。これ以外にも、ファームウェア40は、サーバ50から印刷ファイルを受信すると、ユーザによるユーザIF34に対する操作を受付けることなく印刷ファイルを即座に印刷するものであってもよい。この場合、図4のS25の処理を省略すればよい。
In S25, the
S26では、ファームウェア40は、S25で受付けた印刷操作に応じて、印刷ファイルに対する印刷処理を行う。
In S26, the
次に、図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
端末側CPU12は、Webページデータを受信すると、S30でユーザIF17に、設定画面を表示して、ファクトリリセットの実行操作を受付ける。端末側CPU12は、ユーザによるファクトリリセットの実行操作を受付けると、S31で、プリンタ30に対してファクトリリセットの実行指示を送信する。本実施形態では、S30で端末側CPU12が実行する処理が指示受付処理の一例である。
When the
ファームウェア40は、ファクトリリセットの実行指示を受信すると、S32で、リセット処理を実行する。図6は、S32で実行されるリセット処理の詳細を示すフローチャートであり、主体は、ファームウェア40である。
When the
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
課金サービスが登録されておらず、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
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
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
以下、ファクトリリセットが実行された後に、ユーザが、プリンタ30を、「メールプリント」に再登録する場合を例に説明を行う。
The following describes an example in which a user re-registers the
プリンタ30のファームウェア40は、プリンタ30を「メールプリント」に使用するプリンタに登録するための登録操作を、ユーザIF34を介して受付けると、S34で、ファームウェア40は、ファクトリリセットは実行済みであるか否かを判断する。具体的には、ファームウェア40は、リセットフラグを参照し、リセットフラグが「0」であれば、ファクトリリセットを実行済みであると判断する。一方、リセットフラグが「1」であれば、ファクトリリセットが未実行であると判断する。
When the
ファームウェア40は、リセットフラグが「1」でありS34を否定判定する場合、図5の処理を終了する。この場合、現在、NVRAM37に記憶されているデバイスIDを用いて、プリンタ30を対象とするメールプリントを継続することとなる。
If the reset flag is "1" and S34 is judged as negative, the
ファームウェア40は、S34を肯定判定する場合、S35に進み、NVRAM37に記憶されているデバイスIDとともに、デバイスIDの更新要求をサーバ50に送信する。更新要求は、サーバ50に対して、NVRAM37に記憶されているデバイスIDを、新たなデバイスIDに更新させるための要求である。本実施形態では、ファームウェア40が、S35で実行する処理が更新要求処理の一例である。
When the
サーバ50に対して、プリンタ30からデバイスIDが送信されることで、サーバ50は、更新前のデバイスIDと、後述するS36で新たに発行されるデバイスIDとが同じプリンタ30を識別する情報であることを認識することが可能となる。これにより、サーバ側CPU53は、例えば、管理テーブルKT上で、更新前のデバイスIDに関連づけられた情報を引き継ぐことで、新たに発行されたデバイスIDに関連づけて記憶させることが可能となる。
By sending the device ID from the
サーバ50のサーバ側CPU53は、更新要求を受信すると、S36で、プリンタ30に対して新たなデバイスIDを発行する。S37では、S36で発行されたデバイスIDを、メールプリントのサービスID(sv1)等、管理テーブルKTの各情報に関連づけて登録する。
When the server-
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
以上説明した本実施形態では、以下の効果を奏することができる。
コントローラ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
プリンタ30のファームウェア40は、サーバ50に対してデバイスIDの更新を要求すると共に、NVRAM37に記憶されているデバイスIDをサーバ50に送信する。これにより、例えば、サーバ50は、プリンタ30から送信された更新前のデバイスIDに関連付けられたデータを引き継ぐことで、更新後のデバイスIDに関連づける情報を管理テーブルKTに容易に記憶させることができる。
The
ファームウェア40は、デバイスIDの更新指示により、サーバ50に、プリンタ30の新たなデバイスIDを作成させ、サーバ50により作成された新たなデバイスIDを、更新後のデバイスIDとしてNVRAM37に記憶する。これにより、サーバ50により作成されたデバイスIDを用いて、プリンタ30に対して、新たなデバイスIDを再設定することができる。
In response to a device ID update instruction, the
ファームウェア40は、ファクトリリセットの実行操作を受付けた場合に、プリンタ30に対して課金サービスの提供が登録されていれば、メモリ36に記憶された情報を削除しない。一方、ファクトリリセットの実行操作を受付けた場合に、プリンタ30に対して課金サービスの提供が登録されていなければ、メモリ36に記憶されたデバイスID以外の情報を削除する。これにより、不用意にメモリ36に記憶された情報が削除されたことに伴う、他のサービスへの悪影響を防止することができる。
When the
ファームウェア40は、ファクトリリセットの実行操作を受付けた場合に、プリンタ30に対して課金サービスの提供が登録されていれば、課金サービスが登録されていることを通知する。これにより、課金サービスの提供が登録されている場合に、その旨が通知されるため、ユーザは、ファクトリリセットが実行されない理由を認識することができる。
When the
(第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
S34で、プリンタ30のファームウェア40は、ファクトリリセットが実行済みであるか否かを判断する。S34を肯定判定すると、ファームウェア40は、S60において、自装置における新たなデバイスIDを作成する。S60で作成されるデバイスIDは、NVRAM37に記憶されているデバイスIDと異なる値である。S61では、デバイスIDの更新要求と共に、NVRAM37に記憶されている旧デバイスIDと、S60で作成された新たなデバイスIDとをサーバ50に送信する。
In S34, the
サーバ50のサーバ側CPU53は、プリンタ30からの更新要求を受信すると、S62で、プリンタ30から受信した新たなデバイスIDを登録する。S62の処理は、図5のS37の処理と同様である。S63では、サーバ側CPU53は、デバイスIDを更新したことを、プリンタ30に通知する。S39では、ファームウェア40は、NVRAM37に記憶されている旧デバイスIDを、S60で作成されたデバイスIDに上書きすることで、デバイスIDを更新する。
When the server-
以上説明した本実施形態では、プリンタ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
(その他の実施形態)
本明細書で開示される技術は、上述の実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の形態に変形することができ、例えば次のような変形も可能である。
上述した各実施形態では、識別情報として、デバイス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
サーバが提供可能なサービスは、メールプリントに限定されず、プリンタを使用するサービスであれば、どのようなサービスであってもよい。 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
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又は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.
前記メモリには、
前記サーバが前記所定のサービスの提供において前記通信装置を識別するための識別情報が記憶されており、
前記コントローラに、
前記メモリのリセット指示を受付ける指示受付処理と、
前記リセット指示を受付けた場合に、前記識別情報以外の情報を前記メモリから削除するリセット処理と、
前記リセット処理が実行された後であって、前記サーバとの間で前記所定のサービスの提供を受けるための再登録を行う場合に、前記サーバに対して前記識別情報の更新を要求する更新要求処理と、
前記更新要求処理に基づき、更新された前記識別情報を前記メモリに記憶する記憶処理と、
を実行させる制御プログラム。 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.
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)
| 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)
| 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 |
-
2021
- 2021-02-26 JP JP2021029420A patent/JP7589587B2/en active Active
Patent Citations (2)
| 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 |