JP2021072599A - Communication system, information processing device, communication device, and program - Google Patents
Communication system, information processing device, communication device, and program Download PDFInfo
- Publication number
- JP2021072599A JP2021072599A JP2019200223A JP2019200223A JP2021072599A JP 2021072599 A JP2021072599 A JP 2021072599A JP 2019200223 A JP2019200223 A JP 2019200223A JP 2019200223 A JP2019200223 A JP 2019200223A JP 2021072599 A JP2021072599 A JP 2021072599A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- information
- display
- communication device
- information processing
- 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.)
- Pending
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
本発明は、通信システム、情報処理装置、通信装置及びプログラムに関する。 The present invention relates to communication systems, information processing devices, communication devices and programs.
情報処理装置と通信可能なプリンタ等の通信装置において、インクの不足や紙ジャム等のエラーが発生した場合、エラー情報を情報処理装置の表示画面等に通知することがある。特許文献1では、通信装置のエラーに関する情報を情報処理装置に通知する方法が提案されている。 When an error such as ink shortage or paper jam occurs in a communication device such as a printer capable of communicating with the information processing device, the error information may be notified to the display screen or the like of the information processing device. Patent Document 1 proposes a method of notifying an information processing device of information regarding an error of a communication device.
上記従来技術では、プリンタ等の通信装置が、情報処理装置に対し、用紙無しやインクロー等のエラー等の情報を無線通信により通知するとともに、そのエラー等を解除するための情報を無線通信の通信状態に応じて表示させる方法が提案されている。これにより、通信装置の表示画面だけでなく、情報処理装置にも通信装置のエラー等の状態を通知し、さらにそのエラーの解除方法を表示することによりユーザの利便性は向上する。しかしながら、上記従来技術では、各色のインク残量や本体の通信強度などといったより詳細な通信装置固有の情報を情報処理装置に表示するときにはさらなる工夫が必要となる。 In the above-mentioned prior art, a communication device such as a printer notifies an information processing device of information such as an error such as no paper or ink low by wireless communication, and information for canceling the error or the like is transmitted by wireless communication. A method of displaying according to the state has been proposed. As a result, not only the display screen of the communication device but also the information processing device is notified of the status such as an error of the communication device, and the method of canceling the error is displayed to improve the convenience of the user. However, in the above-mentioned conventional technique, further ingenuity is required when displaying more detailed information specific to the communication device such as the ink remaining amount of each color and the communication strength of the main body on the information processing device.
本発明の目的は、情報処理装置と通信装置との間の通信状態に基づき、より詳細な通信装置固有の情報を情報処理装置に表示させることにある。 An object of the present invention is to cause the information processing device to display more detailed information specific to the communication device based on the communication state between the information processing device and the communication device.
本発明の一側面によれば、通信規格の異なる第1の無線通信及び第2の無線通信により互いに通信可能な通信装置及び情報処理装置を含む通信システムであって、前記情報処理装置は、前記第1の無線通信により前記通信装置から受信した第1の情報に基づいて、前記通信装置で発生したイベントに関する表示を表示部に行わせる第1の表示制御手段と、前記第1の表示制御手段による前記表示部の表示後、前記情報処理装置への入力に応じて、前記イベントの詳細に関する表示を前記表示部に行わせる第2の表示制御手段と、を備え、前記第2の表示制御手段は、前記情報処理装置と前記通信装置との間で前記第2の無線通信による通信経路が確立されている場合と、前記情報処理装置と前記通信装置との間で前記第2の無線通信による通信経路が確立されていない場合とで、前記表示部に異なる表示を行わせることを特徴とする通信システム、が提供される。 According to one aspect of the present invention, the communication system includes a communication device and an information processing device capable of communicating with each other by a first wireless communication and a second wireless communication having different communication standards. A first display control means for causing the display unit to display an event generated by the communication device based on the first information received from the communication device by the first wireless communication, and the first display control means. A second display control means for causing the display unit to display details of the event in response to an input to the information processing apparatus after the display of the display unit is provided. Is based on the case where the communication path by the second wireless communication is established between the information processing device and the communication device, and the case where the second wireless communication is performed between the information processing device and the communication device. Provided is a communication system characterized in that the display unit displays differently depending on whether a communication path has not been established.
本発明によれば、情報処理装置と通信装置との間の通信状態に基づき、より詳細な通信装置固有の情報を情報処理装置に表示させることができる。 According to the present invention, more detailed information specific to the communication device can be displayed on the information processing device based on the communication state between the information processing device and the communication device.
以下、添付図面を参照して実施形態を詳しく説明する。尚、以下の実施形態は特許請求の範囲に係る発明を限定するものではない。実施形態には複数の特徴が記載されているが、これらの複数の特徴の全てが発明に必須のものとは限らず、また、複数の特徴は任意に組み合わせられてもよい。さらに、添付図面においては、同一若しくは同様の構成に同一の参照番号を付し、重複した説明は省略する。 Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. The following embodiments do not limit the invention according to the claims. Although a plurality of features are described in the embodiment, not all of the plurality of features are essential to the invention, and the plurality of features may be arbitrarily combined. Further, in the attached drawings, the same or similar configurations are designated by the same reference numbers, and duplicate explanations are omitted.
<第1実施形態>
本実施形態の通信システムに含まれる情報処理装置及び通信装置について説明する。本実施形態では、情報処理装置としてスマートホン、通信装置としてプリンタを例に挙げて説明する。なお、情報処理装置として、本実施形態ではスマートホンを例示するが、これに限定されず、携帯端末、ノートPC、タブレット端末、PDA(Personal Digital Assistant)、デジタルカメラ等、種々のものを適用可能である。また、通信装置として、本実施形態ではプリンタを例示するが、これに限定されず、情報処理装置と無線通信可能な装置であれば、種々のものを適用可能である。例えば、プリンタであれば、インクジェットプリンタ、フルカラーレーザービームプリンタ、モノクロプリンタ等に適用することができる。また、プリンタのみならず複写機やファクシミリ装置、携帯端末、スマートホン、ノートPC、タブレット端末、PDA、デジタルカメラ、音楽再生デバイス、テレビ等にも適用可能である。その他、複写機能、FAX機能、印刷機能等の複数の機能を備える複合機にも適用可能である。
<First Embodiment>
The information processing device and the communication device included in the communication system of the present embodiment will be described. In this embodiment, a smart phone as an information processing device and a printer as a communication device will be described as an example. In the present embodiment, a smart phone is exemplified as the information processing device, but the present invention is not limited to this, and various devices such as a mobile terminal, a notebook PC, a tablet terminal, a PDA (Personal Digital Assistant), and a digital camera can be applied. Is. Further, as the communication device, a printer is exemplified in this embodiment, but the present invention is not limited to this, and various devices can be applied as long as they can wirelessly communicate with the information processing device. For example, if it is a printer, it can be applied to an inkjet printer, a full-color laser beam printer, a monochrome printer, and the like. Further, it can be applied not only to printers but also to copiers, facsimile machines, mobile terminals, smartphones, notebook PCs, tablet terminals, PDAs, digital cameras, music playback devices, televisions and the like. In addition, it can be applied to a multifunction device having a plurality of functions such as a copying function, a fax function, and a printing function.
(情報処理装置の構成)
図1を参照して、本実施形態の通信システム1の構成について説明する。図1は、通信システムの構成例を示すブロック図である。通信システム1は、情報処理装置101及び情報処理装置101と無線通信可能な通信装置151を含む。なお、図1に示す構成は例示であって、各装置はこの図のとおりに機能を限定されるものではない。
(Configuration of information processing device)
The configuration of the communication system 1 of the present embodiment will be described with reference to FIG. FIG. 1 is a block diagram showing a configuration example of a communication system. The communication system 1 includes an
情報処理装置101は、装置本体101aと、表示部108とを有する。装置本体101aは、入力インタフェース102、CPU103、ROM104、RAM105、外部記憶装置106、出力インタフェース107、通信部109、近距離無線通信部110等を有する。なお、これらはシステムバスを介して互いに接続されている。
The
入力インタフェース102は、ユーザからのデータ入力や動作指示を受け付けるためのインタフェースであり、物理キーボードやボタン、タッチパネル等の操作部(不図示)等を含む。なお、後述の表示部108と操作部とは、少なくとも一部が一体であってもよく、例えばタッチパネルのように、画面の出力とユーザからの操作の受け付けを同一の画面において行うような形態としてもよい。
The
CPU103は、システム制御部であり、プログラムの実行やハードウェアの起動等、情報処理装置101の全体を制御する。
The
ROM104は、CPU103が実行する制御プログラムやデータテーブル、組み込みオペレーティングシステム(以下、OSという。)プログラム等の固定データを格納する。本実施形態では、CPU103は、ROM104に格納されている組み込みOSの管理下でROM104に格納されている各制御プログラムを実行することで、例えばスケジューリングやタスクスイッチ、割り込み処理等のソフトウェア実行制御を行う。
The
RAM105は、CPU103の主メモリとワークメモリとして用いられる。また、RAM105には、情報処理装置101の設定情報や情報処理装置101の管理データ等を格納するメモリエリアも設けられる。RAM105は、バックアップ電源を必要とするSRAM(Static Random Access Memory)やDRAM等で構成される。なお、RAM105は、図示しないデータバックアップ用の1次電池によってデータが保持されていてもよい。その場合、RAM105は、プログラム制御変数等の重要なデータを揮発させずに格納することができる。
The
外部記憶装置106は、印刷実行機能を提供するアプリケーション、通信装置151が解釈可能な印刷情報を生成する印刷情報生成プログラム等を保存している。また、外部記憶装置106は、通信部109を介して接続している通信装置151との間で送受信する情報送受信制御プログラム等の各種プログラムや、これらのプログラムが使用する各種情報を保存している。
The
出力インタフェース107は、表示部108がデータの表示や情報処理装置101の状態の通知を行うための制御を行うインタフェースである。
The
表示部108は、データの表示や情報処理装置101の状態の通知を行うための構成であり、LED(発光ダイオード)やLCD(液晶ディスプレイ)等から構成される。なお、表示部108上に、数値入力キー、モード設定キー、決定キー、取り消しキー、電源キー等のキーを備えるソフトキーボードを設置することで、表示部108を介してユーザからの入力を受け付けてもよい。
The
通信部109は、通信装置151等の外部装置と接続して、データ通信を実行するための構成である。図1の構成例では、通信部109は、情報処理装置101及び通信装置151の外部に存在する外部アクセスポイント(アクセスポイント131)を介して通信装置151の通信部156と通信を行う。しかしながら、通信部109は、例えば、通信装置151内のアクセスポイント(不図示)に接続可能であってもよい。通信部109と通信装置151内のアクセスポイントが接続することで、情報処理装置101と通信装置151は外部アクセスポイントを介さずに相互に無線通信可能となる。すなわち、通信部109は、無線通信で通信装置151とダイレクトに通信してもよいし、外部アクセスポイントを介して通信装置151と通信してもよい。
The
無線通信方式としては、例えば、IEEE802.11シリーズ(IEEE802.11a、IEEE802.11n(Wi−Fi 4)、IEEE802.11ac(Wi−Fi 5)、IEEE802.11ax(Wi−Fi 6)等)に準拠した通信方式であるWi−Fi(WirelessFidelity)(登録商標)やBluetooth(登録商標)等が挙げられる。また、アクセスポイント131としては、例えば、無線LANルーター等の機器などが挙げられる。なお、図1で示すように、情報処理装置101と通信装置151とが外部アクセスポイントを介して接続する方式をインフラストラクチャー接続方式という。また、情報処理装置101と通信装置151とが外部アクセスポイントを介さずにダイレクトに接続する方式をダイレクト接続方式という。
As a wireless communication method, for example, it conforms to the IEEE802.11 series (IEEE802.11a, IEEE802.11n (Wi-Fi 4), IEEE802.11ac (Wi-Fi 5), IEEE802.11ax (Wi-Fi 6), etc.). Examples thereof include Wi-Fi (Wireless Fidelity) (registered trademark) and Bluetooth (registered trademark), which are communication methods. Further, examples of the
近距離無線通信部110は、通信装置151等の装置と近距離で無線通信して、データ通信を実行するための構成であり、通信部109とは異なる通信方式(通信規格)によって通信を行う。近距離無線通信部110は、通信装置151内の近距離無線通信部157と接続可能である。なお、本実施形態では、近距離無線通信部110の通信方式として、Bluetooth Low Energy(BLE)が用いられる。すなわち、近距離無線通信部110は、BLEユニット(BLE通信モジュール)を有する。BLEユニットは、無線通信の処理を行うマイクロプロセッサであるマイコンと、無線通信によるデータの送受信を行う無線通信回路を含む。なお、マイコンは、RAMとフラッシュメモリが搭載されている。なお、近距離無線通信部110の通信方式として、例えば、NFC(Near Filed Communication)やWi−Fi Awareが用いられてもよい。このように、本実施形態では、通信装置151は、通信部109及び近距離無線通信部110を用いることで、通信規格の異なる無線通信による通信経路を情報処理装置101との間で確立することができる。
The short-range
本実施形態では、情報処理装置101は、ROM104や外部記憶装置106等に所定のアプリケーションを格納している。所定のアプリケーションは、例えば、情報処理装置101内の画像データや文書データ等を印刷させるための印刷ジョブを、通信装置151に送信するためのアプリケーションプログラムである。このような機能を有するアプリケーションを、以後印刷アプリという。なお、印刷アプリが、印刷機能以外に他の機能を備えていてもよい。例えば、印刷アプリは、通信装置151がスキャン機能を備えている場合に、通信装置151にセットされた原稿をスキャンさせる機能や、通信装置151の他の設定を行う機能、通信装置151の状態を確認する機能等を備えていてもよい。すなわち、印刷アプリは、印刷ジョブ以外にも、スキャンジョブや設定ジョブを通信装置151に送信する機能を有していてもよい。なお、この原稿のスキャン機能は、画像読み取り機能であり、後述のBLE通信におけるアドバタイズ情報のスキャン機能とは異なる。また、所定のアプリケーションは、印刷アプリに限定されず、印刷以外の機能を備えているアプリケーションプログラムであってもよい。
In the present embodiment, the
(通信装置の構成)
通信装置151は、ROM152、RAM153、CPU154、プリントエンジン155、通信部156、近距離無線通信部157等を有する。なお、これらはシステムバスを介して互いに接続されている。
(Communication device configuration)
The
通信部156は、情報処理装置101等の外部装置と接続して、データ通信を実行するための構成である。通信部156は、装置内部のアクセスポイントとして、情報処理装置101等の外部装置と接続するためのアクセスポイント機能を有していてもよい。なお、この内部のアクセスポイントにより、通信装置151は親局として動作し、情報処理装置101の通信部109が接続可能である。つまり、この内部のアクセスポイントにより、通信ユニット151と情報処理端末101とはダイレクト接続することができる。通信部156は、無線通信で情報処理装置101とダイレクトに通信してもよいし、アクセスポイント131を介して通信してもよい。
The
通信方式としては、例えば、IEEE802.11シリーズ(IEEE802.11a、IEEE802.11n(Wi−Fi 4)、IEEE802.11ac(Wi−Fi 5)、IEEE802.11ax(Wi−Fi 6)等)に準拠した通信方式であるWi−Fi(登録商標)やBluetooth(登録商標)等が挙げられる。また、ダイレクト接続の場合、通信部156は、アクセスポイントとして機能するハードウェアを備えていてもよいし、アクセスポイントとして機能させるためのソフトウェアにより、アクセスポイントとして動作してもよい。また、通信部156は、Wi−Fi Direct(登録商標)の親局であるGroup Ownerとして機能してもよい。なお、通信方式として、Bluetooth(登録商標)等を用いてもよい。
The communication method conforms to, for example, the IEEE802.11 series (IEEE802.11a, IEEE802.11n (Wi-Fi 4), IEEE802.11ac (Wi-Fi 5), IEEE802.11ax (Wi-Fi 6), etc.). Examples include Wi-Fi (registered trademark) and Bluetooth (registered trademark), which are communication methods. Further, in the case of direct connection, the
近距離無線通信部157は、情報処理装置101等の装置と近距離で無線接続するための構成である。本実施形態では、近距離無線通信部157の通信方式として、Bluetooth(登録商標) Low Energy(BLE)が用いられる。すなわち、近距離無線通信部157は、BLEユニット(BLE通信モジュール)を有する。BLEユニットは、無線通信の処理を行うマイクロプロセッサであるマイコンと、無線通信によるデータの送受信を行う無線通信回路を含む。なお、マイコンは、RAMとフラッシュメモリが搭載されている。なお、近距離無線通信部110の通信方式として、例えば、NFC(Near Filed Communication)やWi−Fi Awareが用いられてもよい。
The short-range
RAM153は、バックアップ電源を必要とするSRAMやDRAM等で構成される。なお、RAM153は、図示しないデータバックアップ用の1次電池によってデータが保持されているため、プログラム制御変数等の重要なデータを揮発させずに格納することができる。また、通信装置151の設定情報や通信装置151の管理データ等を格納するメモリエリアもRAM153に設けられている。また、RAM153は、CPU154の主メモリとワークメモリとしても用いられ、情報処理装置101等から受信した印刷情報を一旦保存するための受信バッファや各種の情報を保存する。
The
ROM152は、CPU154が実行する制御プログラムやデータテーブル、OSプログラム等の固定データを格納する。本実施形態では、ROM152に格納されている各制御プログラムは、ROM152に格納されている組み込みOSの管理下で、スケジューリングやタスクスイッチ、割り込み処理等のソフトウェア実行制御を行う。
The
CPU154は、システム制御部であり、プログラムの実行やハードウェアの起動により、通信装置151の全体を制御する。
The
プリントエンジン155は、RAM153に保存された情報や情報処理装置101等から受信した印刷ジョブに基づき、インク等の記録剤を用いて紙等の被記録媒体上に画像形成し、印刷結果を出力する。この時、情報処理装置101等から送信される印刷ジョブは、送信データ量が大きく、高速な通信が求められるため、本実施形態では、近距離無線通信部157よりも高速に通信可能な通信部156を介して受信する。具体的には、情報処理装置101と通信装置151とは、通信部109及び通信部156を用いて、BLEよりも高速な通信が可能な無線LAN(Wi−Fi)による通信を行い、無線LANを用いて情報処理装置101は印刷ジョブを送信するとよい。
The
より詳細には、後述するBLEの通信により、互いに利用可能な通信プロトコルを装置間でやり取りし、無線LANを利用可能であることを情報処理装置101が認識する。そして、情報処理装置101は通信相手を特定するアドレスやSSIDの情報等の無線LAN通信を行うための情報を交換する。これにより、BLE通信から無線LAN通信へと切り替えることができる。
More specifically, the
なお、通信装置151には、外付けHDDやSDカード等のメモリがオプション機器として装着されてもよく、通信装置151に保存される情報は、当該メモリに保存されてもよい。
A memory such as an external HDD or an SD card may be attached to the
(BLEを用いた通信)
本実施形態では、近距離無線通信部112及び近距離無線通信部157はBLEによって通信を行うものとして説明する。なお、本実施形態では、通信装置151の近距離無線通信部157が、後述のアドバタイズ情報をブロードキャストするアドバタイザ(又はスレーブ)として機能する。また、情報処理装置101の近距離無線通信部112が、アドバタイズ情報を受信するスキャナ(又はマスタ)として機能する。
(Communication using BLE)
In the present embodiment, the short-range wireless communication unit 112 and the short-range
ここで、BLE規格におけるアドバタイズ情報の送信及びBLE接続要求の受信の処理について説明する。本実施形態では、情報処理装置101がマスタ装置として動作し、通信装置151がスレーブ装置として動作する。ここでは、例として情報処理装置101と通信装置151との処理分担を上記のように示したが、特にこの分担形態に限らず他の形態であってもよい。
Here, the processing of transmitting advertisement information and receiving a BLE connection request in the BLE standard will be described. In the present embodiment, the
近距離無線通信部157は、BLE通信において、2.4GHzの周波数帯を40チャネル(0〜39ch)に分割して通信を行う。近距離無線通信部157は、そのうち、37〜39番目のチャネルをアドバタイズ情報の送信やBLE接続要求の受信に利用し、0〜36番目のチャネルをBLE接続後のデータ通信に利用する。
In BLE communication, the short-range
図2は、アドバタイズ情報のブロードキャスト及び接続要求情報の受信の処理を説明するための図である。図2では、縦軸が近距離無線通信部157の消費電力を、横軸が時間を示しており、1つのチャネルを利用してアドバタイズ情報を送信する際の消費電力を各処理別に示している。TX205は、アドバタイズ情報をブロードキャストする処理(以下、「送信処理」ともいう)における総消費電力を示す。RX206は、BLE接続要求を受信するための受信器を有効にしておく処理(以下、「受信処理」ともいう)における総消費電力を示している。送信電力202は、送信処理による瞬間消費電力を示す。また、受信電力203は、受信処理による瞬間消費電力を示す。また、マイコン動作電力207は、近距離無線通信部157内のマイコンが動作している場合の瞬間消費電力を示す。なお、TX205とRX206の前後や間にもマイコンが動作しているのは、送信・受信処理の実行や停止のためには事前にマイコンが起動している必要があるためである。また、アドバタイズ情報の送信を複数チャネルで行う場合は、アドバタイズ情報の送信を行うチャネルの数だけ消費電力が増えることになる。また、マイコンが動作を行っておらず、近距離無線通信部157が省電力状態となっている間は、スリープ電力204が近距離無線通信部157の瞬間消費電力となる。このように、近距離無線通信部157は、所定のチャネルを用いて送信処理を行った後、同一のチャネルを用いて一定時間受信処理を行うことで、情報処理装置101からBLE接続要求が送信されるのを待つ。
FIG. 2 is a diagram for explaining a process of broadcasting advertisement information and receiving connection request information. In FIG. 2, the vertical axis shows the power consumption of the short-range
図3は、BLEにおけるアドバタイズを説明するための図である。図3に示すように、近距離無線通信部157は、アドバタイズ情報の送信処理と受信処理を、チャネル別に3回繰り返した後、マイコンの動作を停止させ一定時間省電力状態になる。以下、所定のチャネルによるアドバタイズ情報の送信処理と受信処理の組み合わせをアドバタイズ(アドバタイジング)と言う。また、所定のチャネルによってアドバタイズ情報を送信する時間間隔、すなわち、あるチャネルによってアドバタイズ情報を送信し、同じチャネルによって次にアドバタイズ情報を送信するまでの時間間隔をアドバタイズ間隔という。なお、1回目のアドバタイズを行ってから省電力状態になるまでに繰り返すアドバタイズの回数は、3回以下であれば任意に変更可能である。
FIG. 3 is a diagram for explaining advertisement in BLE. As shown in FIG. 3, the short-range
図4は、近距離無線通信部157が通信装置151の周辺にブロードキャストするアドバタイズ情報の構造の一例である。近距離無線通信部157は、電力の供給が開始されると初期化処理を行い、アドバタイジング状態となる。近距離無線通信部157は、アドバタイジング状態となると、アドバタイズ間隔に基づいて定期的にアドバタイズ情報を周辺にブロードキャストする。
FIG. 4 is an example of the structure of advertisement information broadcast by the short-range
本実施形態では、アドバタイズ情報(アドバタイズ信号)は、ヘッダ1001とペイロード1002とから構成される。ヘッダ1001は、アドバタイズ情報のPDUタイプやペイロード1002の大きさの情報などを格納する領域である。PDUタイプがADV_IND、もしくはADV_SCAN_INDである場合には、近距離無線通信部110は、近距離無線通信部157に対してスキャンリクエスト(SCAN_REQ)を発行できる(図13参照)。ペイロード1002は、識別情報としてのデバイス名1003や搭載された搭載プロファイル情報、通信装置151とBLE接続するための接続情報1004を格納する。また、ペイロード1002は、アドバタイズ情報の送信電力(Tx Power)1005等の情報を格納する。さらに、識別情報1006として、通信装置のMACアドレスや、通信装置内のアクセスポイントのSSID(IPアドレス)が含まれてもよい。また、識別情報1006として、印刷に使用するポート情報、特定の印刷サービスを示す情報、通信装置151が備えている機能やハードウェアに関する情報、パスワード等が含まれてもよい。
In the present embodiment, the advertisement information (advertisement signal) is composed of a
本実施形態では、近距離無線通信部157は、通信装置151の電源がONになった場合にアドバタイジング状態となり、アドバタイズ情報の送信を開始する。しかし、近距離無線通信部157がアドバタイズ情報の送信を開始するタイミングは、上述の形態に限定されず、例えば、BLE機能を有効にするための所定の操作が行われたタイミング等であってもよい。
In the present embodiment, the short-range
情報処理装置101は、このアドバタイズ情報を受信することで、通信装置151の存在を認識することができる。そして情報処理装置101は、通信装置151に接続要求を送信して、情報処理装置101と通信装置151との間で接続が確立することによりGATT(Generic Attribute Profile)通信を行うことができる。GATTとは、BLE規格において情報の読み書き(送受信)を司るプロファイルである。
The
なお、本実施形態では、情報処理装置101と通信装置151との間で認証を行い、GATT通信により、よりセキュリティが確保された状態で通信装置151内のデータの読み書きを実行するためのペアリング処理(認証処理)を実行する。本実施形態では、情報処理装置101と通信装置151との間でのペアリングが実行されていない状態では、通信装置151は、GATT通信による特定の情報(秘匿性が高い情報)の読み書きを許可しない。つまり、未ペアリング状態では、通信装置151のペアリング不要領域に対しての読み書きは可能だが、ペアリング必要領域に対しての読み書きをすることはできない。なお、ペアリング状態では、通信装置151のペアリング必要領域とペアリング不要領域のいずれに対しても読み書き可能である。これにより、ペアリングを行っていない情報処理装置101と通信装置151が通信を行い、例えば、通信装置151が保持する秘匿性の高い情報がペアリングを行っていない情報処理装置101に不用意に取得されてしまうことを抑制することができる。
In this embodiment, pairing is performed to authenticate between the
また、本実施形態では、「ペアリング済み」の状態は、ペアリングの設定処理(一時的な共通セキュリティ暗号鍵が生成される手順)の後のコネクション時においても、再びペアリングの設定手順を行わずに暗号化されたコネクションを確立できる状態を示す。つまり、本実施形態における「ペアリング」とは、永続的なセキュリティ暗号鍵の生成と交換が行われる「ボンディング」を含む処理を示すものとする。そして、「ペアリング済み」の状態とは、ボンディングの完了後に、暗号鍵を両装置で保存することで暗号鍵を用いてセキュアなコネクションを再確立する暗号化再確立が可能な状態を示す概念である。 Further, in the present embodiment, in the "paired" state, the pairing setting procedure is performed again even at the time of connection after the pairing setting process (procedure for generating a temporary common security encryption key). Indicates a state in which an encrypted connection can be established without doing so. That is, the “pairing” in the present embodiment means a process including “bonding” in which a persistent security encryption key is generated and exchanged. The "paired" state is a concept indicating a state in which encryption can be reestablished by storing the encryption key in both devices after the bonding is completed and reestablishing a secure connection using the encryption key. Is.
なお、本実施形態では、ペアリングを行っていない状態で許可されるGATT通信と、ペアリングを行っていない状態では許可されないGATT通信とがある場合について説明する。秘匿性の低い情報は、ペアリングを行っていない状態で許可されるGATT通信で通信可能とすることで、通信の利便性を向上させることができる。一方、秘匿性の高い情報は、ペアリングを行っていない状態では許可されないGATT通信でのみ通信可能とすることで、通信のセキュリティを向上させることができる。 In the present embodiment, there will be a case where there is a GATT communication that is permitted in a state where pairing is not performed and a GATT communication that is not permitted in a state where pairing is not performed. Information with low confidentiality can be communicated by GATT communication permitted in a state where pairing is not performed, so that the convenience of communication can be improved. On the other hand, highly confidential information can be communicated only by GATT communication, which is not permitted in the state where pairing is not performed, so that the security of communication can be improved.
(ペアリング処理の処理例)
図14を用いてペアリング処理の詳細について説明する。図14は、アドバタイズ情報の送信からペアリングまでの処理を示すシーケンス図である。以下の情報処理装置101の各処理は、例えば、図1に示したハードウェア構成に基づき、CPU103がROM104等に格納されたプログラムをRAM105に読み出して実行することにより実現される。また、以下の通信装置151の各処理は、例えば、図1に示したハードウェア構成に基づき、CPU154がROM152等に格納されたプログラムをRAM153に読みだして実行することにより実現される。さらには、各装置の近距離無線通信部110,157を介してこれらの装置間の通信が行われる。
(Processing example of pairing processing)
The details of the pairing process will be described with reference to FIG. FIG. 14 is a sequence diagram showing a process from transmission of advertisement information to pairing. Each of the following processes of the
S1001において、通信装置151は、電源がONとなっている状態でアドバタイズ情報(第1アドバタイズ情報)の送信を行う。この第1アドバタイズ情報のペイロードには、プリンタのIPアドレス、印刷に使用するポート、特定の印刷サービスを示す情報、アドバタイズ情報の送信電力に関する情報が含まれる。
In S1001, the
S1002において、情報処理装置101は、第1アドバタイズ情報を受信し、通信装置151にスキャンリクエストを送信する。具体的には、情報処理装置101内で、印刷アプリが起動され、印刷アプリによって提供される初期画面(ホーム画面)が表示部108に表示された場合に、第1アドバタイズ情報のサーチが開始され、スキャンリクエストが送信される。スキャンリクエストは、第1アドバタイズ情報の中のヘッダに含まれる情報に基づき送信される。具体的にはPDUタイプがADV_IND、もしくはADV_SCAN_INDである場合には、近距離無線通信部110は、近距離無線通信部157に対してスキャンリクエスト(SCAN_REQ)を発行できる。
In S1002, the
S1003において、通信装置151は、スキャンレスポンスを送信する。このスキャンレスポンス情報は、基本的にアドバタイズ情報と同様にヘッダとペイロードを含む構造を備えるため、以下では第2アドバタイズ情報ともいう。第2アドバタイズ情報のペイロードには、通信装置151の識別情報(UUID)や、通信装置151が備えている機能やハードウェアに関する情報が含まれる。また、第2アドバタイズ情報のヘッダに含まれるPDUタイプはSCAN_RSPである。
In S1003, the
なお、このような実施形態の場合、例えば印刷アプリは、第2アドバタイズ情報をハンドリングするものとして設計される。そのため、以下では、印刷アプリがハンドリングするアドバタイズ情報は、第2アドバタイズ情報である例を説明する。 In the case of such an embodiment, for example, the print application is designed to handle the second advertisement information. Therefore, in the following, an example in which the advertisement information handled by the print application is the second advertisement information will be described.
S1004では、情報処理装置101は、第2アドバタイズ情報を受信すると、当該第2アドバタイズ情報を送信した装置(ここでは、通信装置151)に、BLE接続要求(CONNECT_REQ)を送信する。この接続要求により、情報処理装置101と通信装置151との間でGATTの接続確立がなされる(S1005)。
In S1004, when the
ここで、BLE接続要求は、S1003の第2アドバタイズ情報を受信した場合に限らず、Wi−Fi通信等により通信装置から取得した通信装置の識別情報(UUID等)をもとにBLE接続要求を送信する構成としてもよい。この場合、S1001からS1003のステップは省略することができる。 Here, the BLE connection request is not limited to the case where the second advertisement information of S1003 is received, and the BLE connection request is made based on the identification information (UUID etc.) of the communication device acquired from the communication device by Wi-Fi communication or the like. It may be configured to transmit. In this case, the steps S1001 to S1003 can be omitted.
またその他にも、あらかじめ情報処理装置101に記憶された通信装置151の識別情報を読み出し、BLE接続要求を送信する構成としてもよい。具体的には、情報処理装置101は、アドバタイズ情報やWi−Fi通信等により取得した通信装置151の識別情報をROM104等の記憶領域に記憶しておき、BLE接続要求を送信する際にあらかじめ記憶した通信対象となる通信装置の識別情報を読み出す。これにより、GATT通信の際に毎回S1001からS1003を実施せずとも通信装置と情報処理装置の間でBLE接続を確立することができる。
In addition, the identification information of the
情報処理装置101は、BLE接続の確立後、通信装置151とのペアリングが完了していない場合は、ユーザにペアリングを促すための画面を表示部108に表示する。そして、情報処理装置101は、ペアリングの実行がユーザにより指示された場合、セキュリティーマネージャプロトコルによる通信により、通信装置151に、ペアリング要求を送信する。なお、ペアリングが終了するまで、装置間の通信は、セキュリティーマネージャプロトコルによって行われるものとする。
After the BLE connection is established, the
通信装置151は、ペアリング要求を受信すると、表示部に、図6(a)に示すようなPINコード表示画面200を表示する。PINコード表示画面200には、PINコード201と、ペアリング処理をキャンセルするためのCancelボタン209が表示される。なお、ペアリング開始処理方法については、この方法に限られない。具体的には、印刷アプリのプログラムに従ってペアリング必須な領域「ペアリング開始トリガー用ダミーデータ」をReadする指示が実行される。ただし、この段階では未ペアリング状態であるため、通信装置151からReadエラーが返ってきたことを検知すると、ペアリングリクエストを送信する。通信装置151はこのペアリングリクエストを受けてペアリングレスポンスを送信する。そして情報処理装置101は、このペアリングレスポンスを受けて、PINコード入力画面を表示する。
Upon receiving the pairing request, the
一方、情報処理装置101は、ペアリング要求を送信すると、表示部108に、図6(b)に示すようなPINコード入力画面210を表示する。PINコード入力画面210には、ユーザによるPINコード201の入力を受け付けるためのPINコード入力領域211が表示される。また、PINコード入力画面210には、入力されたPINコード201を通信装置151に送信するためのOKボタン213と、ペアリング処理をキャンセルするためのCancelボタン212が表示される。
On the other hand, when the
S1006において、PINコード入力領域211にPINコード201が入力された状態で、OKボタン213がユーザにより押下されると、情報処理装置101は、入力されたPINコード201を含む情報を通信装置151に送信する。
In S1006, when the
通信装置151は、受信した情報に含まれるPINコード201が、PINコード表示画面200に表示したPINコード201と一致するかを判定し、一致すると判定した場合は、情報処理装置101にペアリングを許可する。具体的には、通信装置151は、PINコード201をもとに所定の方法で作成されたリンクキーを、BLE規格のSMP(Security Manager Protocol)を利用して情報処理装置101と交換する。交換されたリンクキーは、情報処理装置101の持つ記憶領域(ROM104等)と通信装置151の持つ記憶領域(ROM152等)にそれぞれ保存される。これにより、情報処理装置101と通信装置151とのペアリングが完了する(S1007)。
The
なお、情報処理装置101は、ペアリングが完了すると、ペアリング済みであることを示すフラグを保存する。情報処理装置101は、通信装置151に対してペアリング済みの場合にのみ許可される情報を取得する場合、情報処理装置101とその通信装置151とがペアリング済みであるかを、このフラグを基に判断する。フラグの確認は印刷用アプリからOSに問い合わせて行ってもよい。情報処理装置101は、BLE接続を確立した通信装置151がペアリング済みであると確認できた場合は、GATT通信により、通信装置151に対してよりセキュリティレベルが高い情報の読み書きを開始することができる。これにより、情報処理装置101は、一旦通信装置151とのペアリング処理を完了しておけば、以降はユーザによるPINコードの入力なしに通信装置151との間で、よりセキュリティが確保された状態のGATT通信を実行することができる。
When the pairing is completed, the
なお、上述では、PINコード入力領域211に、PINコード入力画面210に表示されているPINコード201をユーザに入力させる形態を説明したが、この形態に限定されない。例えば、PINコード201を固定の(ユーザが任意に変更できない)情報とし、印刷アプリのインストールと共に情報処理装置101に格納される形態とすることで、ユーザの入力なしにPINコード201が通信装置151に通知される形態としてもよい。また、ペアリング処理が開始されるタイミングも上述の形態に限定されず、例えば、印刷アプリを介してユーザが印刷を指示したタイミングや、GATT通信が行われる前のタイミング等であってもよい。
In the above description, the form in which the user inputs the
(情報処理装置の処理例)
(情報処理装置における通信装置の状態情報に関する表示制御)
通信装置151で発生しているインクローや紙ジャムなどといった状態情報を、情報処理装置101の表示部に表示するための処理について説明する。
(Processing example of information processing device)
(Display control related to the state information of the communication device in the information processing device)
The process for displaying the state information such as the ink row and the paper jam generated in the
情報処理装置101は、ROM104や外部記憶装置106等に格納されている特定のアプリケーションを起動しているときに、通信装置151の装置状態の表示処理を行う。特定のアプリケーションとは、通信装置151の接続先のアクセスポイントの設定を行ったり、通信装置151の状態を確認して装置の状態やエラー情報に関する通知を行ったり、通信装置151に処理の実行指示をしたりするためのアプリケーションである。本実施形態では、特定のアプリケーションとして、前述の印刷用アプリを例に挙げて説明する。
The
図5は、印刷用アプリの起動後に、表示部108に表示される画面の一例である。ユーザは、図5の(a)に示すような、起動画面801を介して、通信装置151の備える機能を利用したり通信装置の状態情報を確認したりすることができる。起動画面801のオブジェクト(表示アイテム)のうちいずれかが選択されると、情報処理装置101は、選択されたことを検知し、各オブジェクトに対応する処理を実行する。本実施形態では、起動画面801は、通信装置151に各種動作を実行させるためのオブジェクトとして、写真印刷ボタン802、原稿のスキャンボタン803と、通信装置151状態の確認ボタン804、を有する。また、起動画面801には、印刷用アプリを終了するための終了ボタン805を有する。
FIG. 5 is an example of a screen displayed on the
また、図5(b)に示すように、通信装置151のステータスを示す状態表示領域806を有する。状態表示領域806に表示する情報としては、インクロー状態、用紙が少なくなっている旨の警告状態、エラー状態、ファームアップデート有りなどといった情報、すなわち、通信装置151で発生したイベントに関する情報が挙げられる。
Further, as shown in FIG. 5B, it has a
また、情報処理装置101は、CPU103が、印刷用アプリが起動されたことを検知すると、アドバタイズ情報を受信可能な状態であるスキャニング状態となる。また、印刷用アプリの起動に伴って起動画面801が表示部108に表示される。なお、スキャニング状態となるタイミングは、上述したものに限定されるものではない。情報処理装置101は、表示部108に表示される起動画面801に対する所定の操作(例えば通信装置151の状態を確認するための確認ボタン804の押下)を検知することで、アドバタイズ情報を受信可能な状態であるスキャニング状態となってもよい。
Further, when the
以下の説明において、通信装置151は、所定の間隔でアドバタイズ情報を送信するアドバタイザとして機能する。また、情報処理装置101は、周辺にあるアドバタイザから送信されるアドバタイズ情報を待ち受けるスキャナとして機能する。具体的には、図13を用いて説明したとおり、まず、通信装置151の近距離無線通信部157が、アドバタイズ情報の送信を行う。情報処理装置101は、このアドバタイズ情報を受信することで、通信装置151の存在を認識することができる。そして、本実施形態では、CPU103は、アドバタイズ情報を近距離無線通信部110が受信したことを検知すると、装置状態の表示処理を開始する。
In the following description, the
本実施形態では、通信装置151の状態通知にBLEを用いることで、通信装置151と情報処理装置101とがWi−Fi通信等で定期的に通信する場合に比べて、消費電力を抑えることができる。
In the present embodiment, by using BLE for the status notification of the
図7は、情報処理装置101が実行する処理の例を示すフローチャートであり、通信装置151にインクロー状態が生じている場合に、情報処理装置101の表示部108にインクロー状態が生じていることを通知するフローチャートである。すなわち、図7は、情報処理装置101が、通信装置151に発生したイベントに関する表示を行う場合の処理例を示すフローチャートである。図7に示すフローチャートは、例えば、CPU103がROM104や外部記憶装置106等に格納されたプログラムをRAM105に読み出して実行することにより実現される。
FIG. 7 is a flowchart showing an example of the processing executed by the
S101では、CPU103は、印刷用アプリの接続対象の通信装置151の近距離無線通信部157から送信されたアドバタイズ情報を受信したか否かを判定する。具体的には、CPU103は、アドバタイズ情報を近距離無線通信部110が受信したかどうかに加え、受信したアドバタイズ情報に含まれる通信装置151の識別情報(例えばBluetoothアドレス)を確認する。つまり、CPU103は、受信したアドバタイズ情報に、印刷用アプリの接続対象となる通信装置151を示す識別情報が含まれるか否かを判定する。以下、通信装置151は印刷用アプリの接続対象となる通信装置であるとして説明する。
In S101, the
CPU103は、通信装置151からのアドバタイズ情報を近距離無線通信部110が受信したと判定した場合、S102の処理を行う。一方、CPU103は、通信装置151からのアドバタイズ情報を近距離無線通信部110が受信していないと判定した場合、S101の処理を繰り返す。
When the
S102では、CPU103は、受信したアドバタイズ情報に基づき、通信装置151とのGATT通信の処理を開始する。具体的には、CPU103は、S101で受信したアドバタイズ情報に含まれる通信装置151を示す識別情報に基づき、GATT通信の開始要求(接続要求)を通信装置151に送信する。GATT通信の開始要求が通信装置151に受け付けられると、通信装置151と情報処理装置101との間でGATT通信が開始される。本実施形態では、通信装置151がGATT通信におけるスレーブ側になり、情報処理装置101がGATT通信におけるマスタ側となる。
In S102, the
S103では、CPU103は、GATT通信でステータス情報の要求を通信装置151に送信する。本実施形態では、ステータス情報は、通信装置151のステータスに関する情報であり、インクロー状態であるかを示す情報、つまり、通信装置151にインク残量が既定値よりも少なくなっている状態が発生しているかどうかを示すインクロー発生フラグを含む。また、ステータス情報は、用紙枚数が既定値未満で状態であること、用紙設定等の設定が変更されたこと、紙ジャムなどのエラーが発生していること、及び通信装置151にメッセージが通知された状態であること等を示す情報を含んでもよい。換言すれば、ステータス情報は、通信装置151で発生したイベントについての情報を含んでいるといえる。通信装置151に通知されるメッセージとしては、例えば、「ファームアップデート有り」等の更新情報の通知が挙げられる。
In S103, the
次に、S104では、CPU103は、GATT通信により通信装置151の近距離無線通信部157から送信されるステータス情報を、近距離無線通信部110が受信したかどうかを判定する。具体的には、CPU103は、近距離無線通信部110が受信した情報が、ステータス情報として正しい値で取得できたかどうかを判定する。CPU103は、ステータス情報を近距離無線通信部110が受信したと判定した場合、S105へ進む。一方、CPU103は、S104でステータス情報を近距離無線通信部110が受信していないと判定した場合、S108へ進む。
Next, in S104, the
S105では、近距離無線通信部110が受信したステータス情報に基づき、通信装置151がインクロー状態かどうかを判定する。具体的には、CPU103は、受信したステータス情報に含まれるインクロー発生フラグが、インクロー状態であることを示す値となっているかを判定する。例えば、インクロー発生フラグが「1」となっている場合、CPU103は、インクロー状態を示す値であると判定する。CPU103は、S105で通信装置151がインクロー状態と判定した場合、S106に進む。一方、CPU103は、S105で通信装置151がインクロー状態ではないと判定した場合、S107に進む。例えば、インクロー発生フラグが「0」となっている場合、CPU103は、インクロー状態を示す値ではない、つまりインクロー状態ではないと判定する。
In S105, it is determined whether or not the
S106では、CPU103は、表示部108の印刷用アプリの表示画面上に、図5の(b)の状態表示領域806に示すようなインクロー状態の表示を行い、S108に進む。インクロー発生フラグは、通信装置151がインクロー状態か否かを示す情報である。よって、この処理により表示される通知は、インクの残量が既定値よりも少なくなっているインク色等の詳細情報の通知ではなく、図5(b)に示すようなインクロー状態が発生していることのみを示す通知である。いわば、通信装置151で発生しているイベントの概略についての通知である。
In S106, the
S107では、CPU103は、表示部108の印刷用アプリの表示画面上の、図5の(b)に示すようなインクロー発生通知は非表示にし、S108のステップに進む。つまり、インクロー発生通知は表示されない。
In S107, the
S108では、CPU103は、通信装置151とのGATT通信を終了する。GATT通信を切断するタイミングはこれに限定されず、例えば、S103のステータス情報の要求の送信後やS104のステータス情報の受信後でもよい。
In S108, the
続いて、S109では、CPU103は、起動画面801が表示部108の印刷用アプリ画面上に表示されているかどうかを判定する。CPU103は、起動画面801が表示部108の印刷用アプリ画面上に表示中と判定した場合、S102の処理を再び行う。すなわち、CPU103は、印刷用アプリ画面上に起動画面801が表示されている間、S102〜S108の処理を繰り返す。一方、起動画面801が表示部108の印刷用アプリ画面上に表示中ではないと判断した場合は、ステータス表示の処理を終了する。
Subsequently, in S109, the
なお、S109では、CPU103は、起動画面801が表示部108の印刷用アプリ画面上に表示中か否かにより、GATT通信を繰り返すか否かを判定した。しかし、判定方法はこれに限定されない。例えば、CPU103は、印刷用アプリが起動中か否かによりGATT通信を繰り返すか否かを判定してもよい。
In S109, the
以上のフローにより、ユーザは、情報処理装置101の表示部108に表示されている情報を基に、通信装置151がインクロー状態であることを認識することができる。
From the above flow, the user can recognize that the
なお、本実施形態では、図7のS101のステップで、近距離無線通信部110がアドバタイズ情報を受信したことを検知した場合に、CPU103がそのアドバタイズ情報に含まれる通信装置の識別情報をもとにして装置状態の表示処理を開始するとした。しかし、CPU103が、アドバタイズ情報や通信装置とのWi−Fi通信等によりあらかじめ取得した通信装置の識別情報をもとにして装置状態の表示処理を開始する構成も採用可能である。例えば、情報処理装置101は、アドバタイズ情報やWi−Fi通信等により取得した通信装置151の識別情報をROM104等の記憶領域に記憶し、BLE接続要求を送信する際にあらかじめ記憶した通信対象となる通信装置151の識別情報を読み出す。これにより、GATT通信の際に毎回S101のステップを実施せずとも通信装置と情報処理装置の間でBLE接続を確立することができる。この場合、CPU103は、起動画面801が表示部108に表示されたときに図7のS101の処理を省略し、S102以降の装置状態の表示処理を開始することができる。
In the present embodiment, when the short-range
(情報処理装置における通信装置の詳細な状態情報の表示制御)
次に、図8を用いて、情報処理装置101が、図7の処理による通信装置151のイベントに関する情報の表示後、通信装置151固有のイベントの詳細な情報を表示するフローについて説明する。本実施形態では、通信装置151の詳細な状態情報を表示するための方法の一例として、情報処理装置101がプリンタのリモートUI(Remote User Interface)という機能を有する場合について説明する。リモートUI機能は、情報処理装置101のWebブラウザ(不図示)を使って通信装置151を管理するための機能(ソフトウェア)であり、情報処理装置101で通信装置151を遠隔管理できるサービスである。リモートUI機能の場合、ネットワークを介して、通信装置151内のサーバにアクセスすることができる。よって、Webブラウザにより、通信装置151の状態を確認することができる。通常は、情報処理装置101のWebブラウザのアドレス入力欄に通信装置151のIPアドレスを入力することにより表示される。リモートUIは、例えば、各色のインク残量やプリンタの電波強度に関する装置固有の情報を表示する機能や、インク購入サイトやWebマニュアルを表示する機能などを有する。
(Display control of detailed status information of communication device in information processing device)
Next, with reference to FIG. 8, a flow in which the
このように、情報処理装置101は、通信装置151固有の詳細な状態情報を表示するためにBLE通信ではなくWi−Fi通信を使用することで、通信装置の持つリモートUI等の機能を利用することができる。また、BLE通信でインク残量のような通信装置固有の秘匿性の高い情報の読み書きを行う場合には、ペアリング操作により秘匿性を確保することが考えられるが、Wi−Fi通信を使用した場合には、BLE通信のペアリング操作を省略することができる。
In this way, the
図8は、図7に示す処理によって通信装置151がインクロー状態と判定された場合に、通信装置151固有の詳細な状態情報を表示するときの情報処理装置101の処理例を示すフローチャートである。通信装置151固有の詳細な状態情報の例としては、通信装置151の各色のインク残量に関する情報や本体の通信強度の情報などが挙げられる。
FIG. 8 is a flowchart showing a processing example of the
上述したとおり、図7に示す処理により、ユーザはインクロー状態の発生の有無をまずは把握することができる。そして、情報処理装置101が図8の処理を行うことにより、ユーザはさらに詳細な通信装置のインク残量に関する情報を知りたい場合に通信装置151固有の詳細な状態を把握することができる。なお、情報処理装置101から通信装置151への詳細な状態情報の要求は、ユーザの操作に応じて実行される。
As described above, the process shown in FIG. 7 allows the user to first grasp whether or not an incrow state has occurred. Then, when the
図8の処理は、例えば、図5(b)に示すような、状態表示領域806に通信装置151がインクロー状態の旨が表示中に、通信装置151の状態の確認ボタン804の押下や、状態表示領域806の押下などの操作を検知した場合に開始される。すわわち、図8の処理は、ユーザからの入力に基づき、通信装置151の詳細な状態に関する情報の取得要求があった場合に開始される。図8に示すフローチャートは、例えば、CPU103がROM104や外部記憶装置106等に格納されたプログラムをRAM105に読み出して実行することにより実現される。
The processing of FIG. 8 is, for example, pressing the
まず、S301にて、情報処理装置101のCPU103は、通信装置151とWi−Fi通信可能か否かの判定を行う。具体的には、CPU103は、現在、情報処理装置101が接続している無線ネットワーク上でブロードキャスト(探索要求の送信)を行い、そのネットワークに接続している装置から応答を取得する。これにより、通信装置151から応答があれば情報処理装置101と通信装置151とはWi−Fi通信可能と判定し、応答がない場合は情報処理装置101と通信装置151とはWi−Fi通信不可と判定する。例えば、情報処理装置101と通信装置151とが同じ外部アクセスポイントに接続している場合は、通信装置151からブロードキャストに対する応答が返却されるため、Wi−Fi通信可と判定される。また、情報処理装置101と通信装置151とがダイレクト接続している場合も応答が返却されるため、Wi−Fi通信可と判定される。CPU103は、情報処理装置101が通信装置151と通信可能であった場合には、S303へ進む。一方、情報処理装置101が通信装置151とWi−Fi通信可能でない場合には、S304へ進む。
First, in S301, the
S303では、CPU103は、表示部108の印刷用アプリの表示画面上に、図10(a)に示すような、通信装置151にインクロー状態が発生している旨、及び、より詳細な通信装置151の状態の確認を促すための表示を行う。例えば、CPU103は、表示エリア402に通信装置151の詳細な状態情報を確認するかどうかの選択肢を表示する。詳細な情報とは、具体的には各色のインクの残量などの情報である。
In S303, the
S305では、CPU103は、通信装置151の詳細な状態情報の表示の要求が有ったか否かを確認する。具体的には、CPU103は、図10(a)の表示エリア401において、ユーザが詳細情報を確認する旨の選択をした場合、要求があったものとしてS306に進む。一方、CPU103は、ユーザが詳細情報を確認する旨の選択をしなかった場合、要求が無かったものとしてフローチャートを終了する。
In S305, the
S306では、CPU103は、リモートUI画面を表示する。図12は、リモートUIの画面構成例である。図12に示すリモートUIでは、通信装置151であるプリンタに関する各種情報を確認するための画面が表示されている。なお、図12のリモートUI画面は、通信装置151内のサーバにアクセスすることにより取得する画面である。図12では、プリンタの状態(インクレベル、電波強度、通信レベル)などが示されている。これによりユーザは通信装置151の各色のインク残量などといった通信装置固有の詳細な状態を知ることができる。
In S306, the
一方、S304では、CPU103は、表示部108の印刷用アプリの表示画面上に、通信装置151にインクロー状態が発生している旨と、通信装置151の本体の確認を促すための表示を行う。図10(b)は、そのような表示の構成例を示している。
On the other hand, in S304, the
このように、情報処理装置101が通信装置151とWi−Fi通信可能な場合にリモートUIを表示することにより、通信装置151固有の情報が情報処理装置101に表示される。よって、ユーザはより詳細な通信装置151固有の状態を把握することができる。
In this way, by displaying the remote UI when the
本実施形態では、通信装置151の詳細な状態情報を表示するための方法の一例として、プリンタのリモートUI(Remote User Interface)という機能を挙げた。しかし、詳細な状態情報の表示方法はこれに限らず、Wi−Fi通信により通信装置と接続して通信装置の状態情報を取得し、情報処理装置に通知する方法でもよい。
In the present embodiment, as an example of a method for displaying detailed status information of the
(情報処理装置における通信装置のエラー情報の表示制御)
図7で示す処理例では、CPU103は、通信装置151のステータス情報を基に通信装置151がインクロー状態か否かを判定し、インクロー状態であることを表示部108に表示させた。しかし、CPU103が、それに加えてステータス情報に含まれる情報をもとにエラーが発生しているか否かの判定を行い、エラーが発生していることを表示部108に表示させる構成も採用可能である。なお、本実施形態では、用紙切れやジャムの発生等、通信装置151であるプリンタがジョブの実行を中断する必要があるイベントが発生した場合、エラーが発生していると判定する。
(Display control of error information of communication device in information processing device)
In the processing example shown in FIG. 7, the
一例として、CPU103は、インクロー状態とエラーが同時に発生した場合、エラーの発生していることを優先的に表示部108に表示させてもよい。つまり、CPU103は、プリンタがジョブを継続可能なイベントと、プリントがジョブを中断する必要があるイベントが同時に発生した場合、ジョブを中断する必要があるイベントについての表示を優先的に表示部108行わせてもよい。
As an example, when the in-row state and the error occur at the same time, the
図17は、図7のフローチャートの変形例であり、通信装置151がエラー状態の表示をインクロー状態の表示よりも優先させて行う場合の処理を示している。図17では、図7からの変更部分を中心に示しており、S104の処理の後に、S111〜S113の処理が追加されている。
FIG. 17 is a modification of the flowchart of FIG. 7, and shows a process in which the
S111で、CPU103は、S104で取得したステータス情報を基に、通信装置151にエラーが発生しているか否かを判定する。具体的には、CPU103は、S104で受信したステータス情報に含まれるエラー発生フラグが、エラー状態であることを示す値となっているかを判定する。例えば、エラー発生フラグが「1」となっている場合、CPU103は、エラー状態を示す値であると判定する。CPU103は、S111で通信装置151がエラー状態と判定した場合、S112に進む。そして、CPU103は、S112で、表示部108の印刷用アプリの表示画面上に、図5の(b)の状態表示領域806に示すようなインクロー状態の表示の代わりにエラー状態である旨の表示を行う。
In S111, the
一方、CPU103が、S111で通信装置151がエラー状態ではないと判定した場合、S112に進む。例えば、エラー発生フラグが「0」となっている場合、CPU103は、エラー状態を示す値ではない、つまりエラー状態ではないと判定する。またこの場合、S112で、CPU103は、エラー状態の表示を非表示にする。その後、S105の処理に進み、図7で説明した通りの処理を実行する。
On the other hand, when the
以上の処理により、CPU103は、エラー状態の表示をインクロー状態の表示よりも優先して行うことができる。換言すれば、CPU103は、プリンタがジョブを継続可能なイベントよりもジョブを中断する必要があるイベントを優先して表示させる。これにより、CPU103は、ユーザにとってより重要度の高い情報を表示部108に表示することができる。
By the above processing, the
ここで、S111において通信装置151がエラー状態であると判定された場合には、発生しているエラーの解除方法を把握するためのマニュアルを表示する構成も採用可能である。
Here, when it is determined in S111 that the
図9は、CPU103による、通信装置151の装置エラー情報表示処理とエラーを解消するためのマニュアルへの誘導処理の流れを示すフローチャートである。この処理は、例えば、図7のS111で通信装置151がインクロー状態か否かの判定に代えて通信装置151がエラー状態か否かの判定を行い、エラー状態であると判定された場合に実行する。さらに言えば、CPU103は、S111でエラー状態であると判定され、S112で状態表示領域806にエラー状態の表示をした際に、ユーザによる確認ボタン804の押下などの操作を受け付けると図9のフローチャートを開始する。
FIG. 9 is a flowchart showing a flow of device error information display processing of the
図9に示すフローチャートは、例えば、CPU103がROM104や外部記憶装置106等に格納されたプログラムをRAM105に読み出して実行することにより実現される。また、図9に示すフローの前もしくは後に図8に示すフローを行う構成としてもよい。
The flowchart shown in FIG. 9 is realized, for example, by the
まず、S201にて、CPU103は、情報処理装置101が通信装置151とペアリング済みかを判定する。CPU103は、通信装置151とペアリング済みであると判定した場合、S202のステップへ進む。一方、CPU103は通信装置151とペアリング済みでないと判定した場合、S206のステップへ進む。
First, in S201, the
ペアリング済みかどうかの判定手法としては、CPU103は、ペアリング設定完了後に保存された、ペアリング済みであることを示すフラグを確認するとよい。フラグの確認方法としては、CPU103が直接、保存されたフラグを確認してもよく、OSを介して確認してもよい。情報処理装置101は、フラグを確認した結果、ペアリング済みであることを示すフラグが立っている場合には、ペアリング済みであると判定する。
As a method for determining whether or not pairing has been completed, the
なお、ここでは、ペアリング済みではないと判定された場合、S206の処理へと続くが、本実施形態はこれに限定されない。例えば、ペアリング済みでないと判定された場合、CPU103は、通信装置151とのペアリングを実施するための処理へ進んでもよい。この場合、CPU103は、表示部108に、ペアリングを実施するための設定画面や、ペアリングを実施するかを確認するための確認画面等、ペアリングに関する画面を表示する形態としてもよい。
Here, if it is determined that the pairing has not been completed, the process continues to S206, but the present embodiment is not limited to this. For example, if it is determined that pairing has not been completed, the
S202では、CPU103は、通信装置151とのGATT通信の処理を開始する。具体的には、図7のS101で取得した通信装置151を示す識別情報に基づき、GATT通信の開始要求を通信装置151に送信する。通信装置151がGATT通信の開始要求を受け付けると、通信装置151と情報処理装置101との間でGATT通信が接続確立する。このGATT通信は、ペアリング済みの状態で行われるGATT通信であるため、暗号化されたコネクションが確立され、よりセキュアな情報の読み書きが可能となる。つまり、本実施形態においては、セキュアな情報として、情報処理装置101は通信装置151からエラーの詳細情報を取得する。
In S202, the
S203では、CPU103は、GATT通信でエラーの詳細情報の要求を通信装置151に送信する。
In S203, the
S204では、CPU103は、GATT通信により通信装置151の近距離無線通信部157から送信されるエラーの詳細情報を、近距離無線通信部110が受信したかどうかを判定する。CPU103は、エラーの詳細情報を近距離無線通信部110が受信したと判定した場合、S205に進む。具体的には、CPU103は、近距離無線通信部110が受信した情報が、エラーの詳細情報として正しい値で取得できたかどうかを判定する。一方、CPU103が、エラーの詳細情報を近距離無線通信部110が受信していないと判定した場合、S206に進む。なお、ここで取得されるエラー詳細情報は、通信装置151で生じているエラーの種類に関する情報である。具体的には、エラーの種類を示すエラー識別情報や、エラーの種類ごとの解除方法が掲載されたWEBマニュアルのURL等のリンク情報等を含む。なお、エラー状態でない場合は、正常状態を示す識別情報が取得される。
In S204, the
S205では、取得されたエラーの詳細情報に基づき、CPU103が、表示部108の印刷用アプリの表示画面上に、図11(a)に示すようなエラーの詳細情報の表示を行う。図11(a)エラー詳細情報の表示では、表示エリア301に通信装置151でエラーが発生している旨と、そのエラーの解除方法を確認するかどうかを尋ねる旨の文章が表示される。表示エリア302には、GATT通信で取得したエラー詳細情報に基づき、特定のエラーの詳細情報(この場合は、エラーの種類)の表示を行う。なお、ここでは、エラーの詳細情報として、具体的なエラーの種類を文字で表示しているが、本実施形態におけるエラーの詳細情報としては、特定のエラーに対応するエラーコード番号や、サポート番号等の番号情報を表示してもよい。表示エリア303には、特定のエラーを解除するための方法を確認するかどうかの選択肢が表示される。特定のエラーとは、具体的には、表示エリア302に表示しているエラーである。
In S205, the
S207では、CPU103は、特定のエラーを解除するための方法が記載されたマニュアルの表示要求があるか否かの確認を行う。具体的には、図11(a)の表示エリア303において、ユーザが解除方法を確認する旨の選択をした場合に、マニュアル表示の要求があったと判定し、S209へ進む。CPU103は、ユーザによる選択が無く、ユーザが解除方法を確認しない旨の選択をしたと判定した際には、S211へ進む。
In S207, the
S209では、CPU103は、表示部108の画面上に特定のエラーを解除するための方法が記載されたマニュアルの表示を行い、S211へ進む。ここでは、マニュアルの表示は、情報処理装置101にインストールされているWEBブラウザを用いて行う。具体的な表示画面の例を図15(a)に示す。図15(a)では、エラーのより詳細な情報としてエラーが生じた原因とそのエラー内容が記載され、エラーを解除するための情報として具体的な対処方法が記載されたWEBマニュアルの画面が表示されている。なお、このWEBマニュアルの画面は、リモートUI画面とは異なり、インターネットを介して外部のサーバから取得している画面である。よって、情報処理装置101がインターネット接続していれば取得可能である。
In S209, the
なお、具体的な表示方法としては、情報処理装置101が、エラーの詳細情報としてエラーの種類ごとのエラー識別情報を取得した場合は、アクセスポイント等を介してインターネットに接続し、WEBブラウザによりWEBマニュアルのリソースを取得する。そして、CPU103が表示部108の画面上にそのWEBマニュアルを表示することにより実現される。すなわち、CPU103は、エラー識別情報を用いて、そのエラーの解除方法が掲載されたWEBマニュアルのURLを生成し、そのURL先のWEBマニュアルを表示部108に表示する。なお、WEBマニュアルの画面の表示は、URLを生成する方法以外の方法でも実現できる。具体的には、情報処理装置101の記憶領域にエラー識別情報とWEBマニュアルのURLとが対応付けられて保存されたテーブルを用意しておくことにより、CPU103は該当するWEBマニュアルのURLを取得できる。さらには、エラーの詳細情報として、WEBブラウザのURL自体を取得する方法でもよい。
As a specific display method, when the
また、WEBブラウザを使う方法に限らず、Web Viewのようなアプリケーション内で、WEBマニュアルを表示可能なコントロールを使用してもよい。また、WEBマニュアルに限らず、例えば、情報処理装置101の持つ記憶領域(ROM104等)や通信装置151の持つ記憶領域(ROM152等)に格納されたマニュアルを読み出して表示してもよい。
Further, the method is not limited to the method using a WEB browser, and a control capable of displaying a WEB manual may be used in an application such as WebView. Further, the manual is not limited to the WEB manual, and for example, a manual stored in a storage area (
S206では、CPU103は、エラーの概要を表示部108に表示する。図11(b)はエラーの概要の表示例である。S206の処理が実行されるのは、S201において情報処理装置101が通信装置151とペアリング済みではないと判定された場合と、S204においてエラーの詳細情報をGATT通信により取得できなかった場合である。図11(b)の表示では、CPU103は、表示エリア304に、通信装置151でエラーが発生している旨と、エラーの解除方法を確認するかどうかを尋ねる文章を表示する。また、表示エリア305には、エラーの解除方法を確認するかどうかの選択肢が表示される。
In S206, the
S208では、CPU103は、エラーの一覧表示の要求があったかを判定する。具体的には、ユーザによりエラーの解除方法を確認する旨の選択がされたかを判定する。CPU103は、S206に進んでいる場合はエラーの詳細情報を取得できていないため、通信装置151で生じているエラーの詳細(種類)が分からない。よって、図5(b)又は図11(b)の画面で、ユーザからエラーの詳細情報や解除方法を確認する旨の要求が入力されたとしても、CPU103はエラーが特定できない。そこで、CPU103は、エラーの詳細情報や解除方法の表示要求された場合、エラーの一覧表示の要求があったものとして処理する。CPU103は、S208においてエラー一覧表示の要求があったと判定された場合、S210へ進む。
In S208, the
S210では、CPU103は、エラーの一覧情報が表示されたWebマニュアルの画面を表示する。なお、このWEBマニュアル画面も、インターネットを介して外部のサーバから取得している画面である。CPU103は、マニュアルの表示を、S209と同様に、例えば情報処理装置101にインストールされているWEBブラウザを用いて表示部108上に表示することにより実現する。しかし、表示方法はこれに限定されず、CPU103は、例えば情報処理装置101の持つ記憶領域(ROM104等)や通信装置151の持つ記憶領域(ROM152等)に格納されたマニュアル上のエラー一覧を表示してもよい。
In S210, the
具体的な表示画面の例を図15(b)に示す。図15(b)では、エラーのサポート番号としてエラーの識別情報の一覧が表示されている。この識別情報には、それぞれ対応するエラーの解除マニュアルへのリンクが張られている。ユーザがいずれかの識別情報を選択することにより、選択された識別情報に対応するエラーを解除するためのマニュアルが表示される。つまり、図15(a)のように、特定のエラーを解除するための情報として対処方法が記載された画面が表示される。 A specific example of the display screen is shown in FIG. 15 (b). In FIG. 15B, a list of error identification information is displayed as an error support number. Each of these identification information has a link to the corresponding error clearing manual. When the user selects one of the identification information, a manual for clearing the error corresponding to the selected identification information is displayed. That is, as shown in FIG. 15A, a screen is displayed in which a coping method is described as information for canceling a specific error.
S211では、CPU103は、通信装置151とのGATT通信を終了する。GATT通信を切断するタイミングはこれに限定されず、例えば、S204のステータス情報の取得後でもよい。
In S211 the
以上、説明したとおり、本実施形態では、ユーザからインクローやエラーに関する通信装置固有の情報を取得するための指示がなされた場合、情報処理装置101は、通信装置151との通信状況に基づいて表示部108に表示する画面を変える。さらに言えば、情報処理装置101は、情報処理装置101と通信装置151がWi−Fi通信可能か否か、ペアリング済みか否か等に基づいて、表示部108に表示する画面を変える。
As described above, in the present embodiment, when the user gives an instruction to acquire information specific to the communication device regarding the ink row or the error, the
具体的には、情報処理装置101と通信装置151とがWi−Fi通信可能な場合は、情報処理装置101は通信装置151固有の状態情報をリモートUIで表示するため、インクローの詳細情報としてインクの各色の残量などが表示される。
Specifically, when the
また、情報処理装置101と通信装置151がペアリング済みの場合は、セキュアな情報であるエラーの詳細情報をGATT通信により通信装置151から取得できるため、エラーの詳細情報として、エラー種類及び発生原因が表示される。さらに、エラーを解除するための情報も表示される。よって、ユーザは、情報処理装置101の表示部108にて、インクローやエラーが発生しているかの簡易的な情報だけではなく、その各色のインク残量の情報やエラーの内容や解除方法を把握することができる。
When the
一方で、ペアリング済みでない場合は、エラーの詳細情報をGATT通信により通信装置151から取得できていないため、エラーに関連する情報として、複数種類のエラーの一覧情報が表示される。このように、通信装置151のエラー詳細情報が取得できなかった場合でも、ユーザは、情報処理装置101を用いて、エラーの一覧情報の画面から、各エラーの解除方法をまとめたマニュアル画面に簡単にアクセスできる。よって、通信装置151で発生しているエラーの詳細な情報を知ることができる。
On the other hand, if the pairing has not been completed, detailed error information cannot be obtained from the
また、図7のS105において、通信装置151がエラー状態であることを情報処理装置101が受信した際に、そのエラーの内容によって、マニュアルを表示せずにリモートUIを表示する構成としてもよい。具体的には、図7のS104において通信装置151がリモートUIに表示される内容に関連するインクに関するエラーや電波強度に関するエラー状態であることを受信した際には、図8に示す、通信装置151の詳細な状態情報を表示するフローを実行する。これにより、ユーザはインクロー状態などの警告状態に限らず、エラー状態であっても、通信装置151固有の詳細な状態情報を把握することができる。
Further, in S105 of FIG. 7, when the
<第2実施形態>
以下、第2実施形態について説明する。第2実施形態は、情報処理装置101が、リモートUI機能により通信装置151のアクセス制限のある機能にアクセスする点で第1実施形態と異なる。
<Second Embodiment>
Hereinafter, the second embodiment will be described. The second embodiment is different from the first embodiment in that the
第1実施形態では、情報処理装置101は、GATT通信で通信装置151の状態情報を取得した際、通信装置151とWi−Fi通信可能な場合にはリモートUI機能により通信装置151の詳細な状態情報を表示していた。ここで、通信装置151の状態情報は、例えばインクロー状態や紙ジャム等についての情報である。
In the first embodiment, when the
一方、リモートUIには、通信装置151であるプリンタの無線通信情報を変更する機能がある場合がある。このとき、情報処理装置101がリモートUIを使ってプリンタの無線通信情報を変更すると、プリンタは通信できている他の装置に対して通信できなくなる可能性がある。そのため、任意の装置からこのような設定の変更ができないようにアクセス制限をかける必要がある。アクセス制限の一例として、ユーザは、通信装置151からリモートUIの表示用のパスワードを取得し、情報処理装置101に表示されるリモートUIのパスワード入力画面に適切なパスワードを入力する必要がある場合がある。
On the other hand, the remote UI may have a function of changing the wireless communication information of the printer which is the
本実施形態では、ペアリングが完了している通信装置151のアクセス制限がなされた機能にアクセスする際に、通信装置151がパスワード取得機能を提供しているか否かを確認する。そして、通信装置151がパスワード取得機能を提供している場合には、通信装置151からパスワードを取得することでユーザがアクセス制限のある機能のパスワードを入力しなくても、スムーズにアクセス制限のある機能を使用できる。
In the present embodiment, when accessing the access-restricted function of the
図13は、本実施形態に係る通信装置151及び情報処理装置101の処理の例を示すシーケンス図である。図13に示す処理は、例えばアクセス制限がある機能にアクセスする場合に、第1の実施形における図8のS306の前に実施する。なお、以下の処理シーケンスに関わる各処理は、図1に示したハードウェア構成に基づき、情報処理装置101及び通信装置151それぞれが備えるCPUがROM等に格納されたプログラムを読み出して実行することにより実現される。更には、各装置の近距離無線通信部を介して装置間の通信が行われる。
FIG. 13 is a sequence diagram showing an example of processing of the
図8のS306でユーザが印刷アプリケーションの画面を介してアクセス制限がなされたリモートUIを表示するための指示を入力した場合、情報処理装置101は、S401で通信装置151からのBLEのアドバタイズ情報を受信するための準備を行う。なお、BLEのアドバタイズ情報を受信するための準備は、アドバタイズ情報のサーチと言い換えることもできる。通信装置151は、定期的にBLEでアドバタイズ情報を発信しているものとする。
When the user inputs an instruction for displaying the remote UI whose access is restricted via the screen of the print application in S306 of FIG. 8, the
S402にて、情報処理装置101は、通信装置151から発信されたアドバタイズ情報を受信する。なお、BLEのアドバタイズ情報が受信可能な距離は、所定の範囲に限定されるため、情報処理装置101を携帯するユーザは、BLEのアドバタイズ情報を受信する際には、その範囲内となるように通信装置151に近づく必要がある。
In S402, the
アドバタイズ情報を受信すると、S403にて、情報処理装置101は、図14に示すペアリング処理を実行する。S403で情報処理装置101と通信装置151がペアリングされることにより、通信の安全性が確保されることとなる。なお、アドバタイズ情報を解析した結果、アドバタイズ情報を送信している通信装置が既にペアリング処理済みの通信装置である場合、S403が省略されてもよい。また、逆に、リモートUIを表示するための指示が入力された場合は、毎回、ペアリング処理を実行してもよい。
Upon receiving the advertisement information, the
双方向の通信を行うために、S404にて、情報処理装置101は、BLE規格におけるGATT通信を要求し、以降はGATT通信が開始される。
In order to perform bidirectional communication, the
S405にて、情報処理装置101は、GATT通信により、通信装置151がサポートしているサービス一覧を取得する。なお、サービス一覧の情報は、S405における処理の他、Wi−Fi通信でも取得できるが、それを実現するためには、情報処理装置101のWi−Fiの設定を変更する必要がある。アクセス制限がかかっているWi−Fiに接続するためには、更にWi−Fiのパスワードが必要となる。これに対し、BLEでは接続先を変更する必要がなく通信を行えるというメリットがあるため、ここではBLEを用いてサービス一覧の情報の送受信を行うものとする。
In S405, the
S406にて、情報処理装置101は、取得したサービス一覧の情報に基づき、通信装置151にリモートUIのパスワード取得サービスがあるか否かを判定する。換言すれば、情報処理装置101は、通信装置151からパスワードを取得可能か否かを判定する。ここでのパスワード取得サービスとは、ペアリングが行われた情報処理装置に対し、通信装置が提供する機能(ここでは、リモートUI)を利用する際のパスワード(認証情報)を提供するサービスである。なお、情報処理装置と通信装置との間で正常にペアリングが行われていない場合には、GATT通信自体が拒否されるため、パスワードの提供は行われない。パスワード取得サービスがない場合は(S406にてNO)、S408の処理へ進み、パスワード取得サービスがある場合は(S406にてYES)S407の処理へ進む。
In S406, the
情報処理装置101は、GATT通信により、パスワード取得要求を行った場合、S407にて、リモートUIのパスワードを通信装置151から取得する。その後、S409の処理へ進む。
When the
通信装置151がサービス取得サービスを提供していない場合は、ユーザからリモートUIのパスワードを入力してもらう必要がある。そこで、S408にて、情報処理装置101は、パスワード入力画面(不図示)を表示して入力が行われるまで待機する。ユーザによりパスワードの入力が行われた場合には、S409の処理へ進む。一方、ユーザによりパスワードの入力が行われなかった場合、リモートUIの表示処理がキャンセルされる。
If the
S409にて、情報処理装置101は、通信装置151にリモートUIを表示するリクエストを送信する。ここでのリクエストは、S407で通信装置151から取得したパスワード、または、S408でユーザから入力されたパスワードを含めて送信される。
In S409, the
S410にて、通信装置151は、情報処理装置101から受信したリクエストに含まれるパスワードが正しいか否かを判定する。
In S410, the
S411にて、通信装置151は、S410の判定結果を、リモートUIの表示のリクエストに対する応答として情報処理装置101へ送信する。ここでの応答としては、パスワードが正しい場合には認証成功としてリモートUIのアクセスを許可する旨の応答を行い、パスワードが不正である場合にはエラー(認証失敗)の値を返す。なお、アクセスを許可する場合には、通信装置151は、併せてリモートUIに関する情報を送信するようにしてもよい。
In S411, the
S412にて、情報処理装置101は、通信装置151から送信された応答の内容を確認し、アクセスを許可する旨の応答を得られたか否かを判定する。アクセスが許可されていた場合は(S412にてYES)S414の処理へ進み、エラーが返されていた場合には(S412にてNO)S413の処理へ進む。
In S412, the
S413にて、情報処理装置101は、パスワードが不正である旨(認証失敗)のエラーを、Webブラウザ等を介してユーザに提示し、次の処理が来るまで待機する。
In S413, the
S414にて、情報処理装置101は、リモートUIを表示する。なお、リモートUIの画面構成に関しては、図12に一例を示している。
In S414, the
以上のように、本実施形態では、ペアリングが完了している通信装置151のアクセス制限がなされた機能にアクセスする際に、通信装置151がパスワード取得機能を提供しているか否かを確認する。そして、通信装置151がパスワード取得機能を提供している場合には、通信装置151からパスワードを取得することでユーザがアクセス制限のある機能のパスワードを入力しなくても、スムーズにアクセス制限のある機能を使用できる。また、情報処理装置101がアクセス制限のある機能(例えば、リモートUI)のパスワードをペアリング処理が実行される前に保持しているケースもある。このケースでは、ユーザが印刷アプリケーションを介してリモートUIの実行を指示した場合、情報処理装置101は、図14に示すペアリング処理を実行する。そして、情報処理装置101は、保持されていたパスワードをペアリングの成功に応じて通信装置151に送信する。これにより、自動的にリモートUIが情報処理装置101において表示される。つまり、本実施形態により、ユーザの操作性を向上することが可能となる。
As described above, in the present embodiment, it is confirmed whether or not the
また、ペアリングが完了している通信装置151がパスワード取得機能を提供していることが明らかである場合には、通信装置151のサービス一覧を取得する必要がないため、S405、S406の処理を省略してもよい。本実施形態では、パスワード取得機能によりパスワードが取得でき、パスワードを情報処理装置101のユーザに入力してもらう必要がないため、S408の工程が不要となる。
Further, when it is clear that the
以上の処理により、認証処理を要する装置の機能を利用する場合において、不要な確認画面や認証画面を表示させること無く、機能の利用に係る利便性を向上させることができる。 By the above processing, when the function of the device requiring the authentication processing is used, the convenience related to the use of the function can be improved without displaying an unnecessary confirmation screen or authentication screen.
<第3実施形態>
以下、第3実施形態について説明する。第1実施形態では、図8の処理において、情報処理装置101の側で通信装置151とWiFi通信が可能であるか否かを判定し(S301)、通信状況に応じて異なる表示を行っていた(S303,S304,S306)。第3実施形態では、通信装置151が、情報処理装置101との通信状況を確認し、その確認結果に基づいて通信装置151から情報処理装置101へ表示部108に表示を行うための通信データを送信する送信制御を行う。
<Third Embodiment>
Hereinafter, the third embodiment will be described. In the first embodiment, in the process of FIG. 8, it is determined whether or not WiFi communication is possible with the
図16は、通信装置151が実行する処理の例を示すフローチャートである。本フローチャートは、例えば、CPU154がROM152等に格納されたプログラムをRAM153に読み出して実行することにより実現される。また、本フローチャートは、情報処理装置101が、図5(b)の画面を表示中に確認ボタン804の押下や、状態表示領域806の押下などの操作を検知し、GATT通信により通信装置151に対して詳細情報についての要求を行った場合に開始する。
FIG. 16 is a flowchart showing an example of processing executed by the
S501で、CPU154は、情報処理装置101とWi−Fi通信可能か否かの判定を行う。具体的には、CPU154は、近距離無線通信部157により現在接続している無線ネットワーク上の装置に対してブロードキャストを行い、情報処理装置101と通信装置151とのWi−Fi通信可否の判定を行う。そして、CPU154は、情報処理装置101が通信装置151とWiFi通信可能であった場合には、S504へ進む(S502:Yes)。一方、CPU154は、情報処理装置101が通信装置151とWiFi通信可能でない場合には、S504(S502:No)へ進む。
In S501, the
S503で、CPU154は、通信装置151の詳細情報に関する表示を行うための通信データを、Wi−Fi通信により情報処理装置101に送信する。情報処理装置101は、受信した通信データに基づく画面をその表示部108に表示する。一例として、通信装置151のCPU154は、各色のインクレベル等に関する通信データを情報処理装置101に送信する。情報処理装置101は、受信した通信データに基づいて、推定インクレベルの情報を含むリモートUI画面(図12)を表示部108に表示する。このように、情報処理装置101は、通信装置151から受信した通信データに基づいて、通信装置151で発生したイベントの詳細に関する表示を行うことができる。
In S503, the
S504で、CPU154は、GATT通信により通信装置の確認を促す表示を行うための通信データを送信する。情報処理装置101は、受信した通信データに基づく画面をその表示部108に表示する。一例として、通信装置151のCPU154は、装置自体の確認を促す表示に関する通信データを情報処理装置101に送信する。情報処理装置101は、受信した通信データに基づいて、装置の確認を促す画面(図10b)を表示部108に表示する。
In S504, the
以上説明したように、本実施形態では、通信装置151が情報処理装置101との通信状況を確認する。そして、通信装置151は、自装置で発生したイベントについての詳細情報を情報処理装置101に送信できる状況にある場合には、詳細情報に関する通信データを送ることができる。また、通信装置151は、自装置で発生したイベントについての詳細情報を情報処理装置101に送信できない状況にある場合には、自装置を直接確認するよう促す表示をさせるための通信データを情報処理装置101に送ることができる。
As described above, in the present embodiment, the
<その他の実施例>
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other Examples>
The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
1 通信装置、101 情報処理装置、103 CPU、151 通信装置、154 CPU 1 communication device, 101 information processing device, 103 CPU, 151 communication device, 154 CPU
Claims (16)
前記情報処理装置は、
前記第1の無線通信により前記通信装置から受信した第1の情報に基づいて、前記通信装置で発生したイベントに関する表示を表示部に行わせる第1の表示制御手段と、
前記第1の表示制御手段による前記表示部の表示後、前記情報処理装置への入力に応じて、前記イベントの詳細に関する表示を前記表示部に行わせる第2の表示制御手段と、を備え、
前記第2の表示制御手段は、前記情報処理装置と前記通信装置との間で前記第2の無線通信による通信経路が確立されている場合と、前記情報処理装置と前記通信装置との間で前記第2の無線通信による通信経路が確立されていない場合とで、前記表示部に異なる表示を行わせる、
ことを特徴とする通信システム。 A communication system including a communication device and an information processing device capable of communicating with each other by a first wireless communication and a second wireless communication having different communication standards.
The information processing device
A first display control means for causing the display unit to display an event generated by the communication device based on the first information received from the communication device by the first wireless communication.
After the display of the display unit by the first display control means, a second display control means for causing the display unit to display the details of the event in response to an input to the information processing device is provided.
The second display control means includes a case where a communication path by the second wireless communication is established between the information processing device and the communication device, and between the information processing device and the communication device. The display unit is made to display differently depending on whether the communication path by the second wireless communication is not established.
A communication system characterized by that.
前記通信装置で発生した前記イベントは、前記プリンタがジョブを継続可能な第1のイベントを含み、
前記第1の表示制御手段は、前記イベントに関する表示として、前記第1のイベントのより詳細な情報を表示するか否かの確認を促す表示を前記表示部に行わせる、
ことを特徴とする請求項1ないし6のいずれか1項に記載の通信システム。 The communication device is a printer.
The event that occurs in the communication device includes a first event that allows the printer to continue the job.
The first display control means causes the display unit to display as a display related to the event, prompting the display unit to confirm whether or not to display more detailed information of the first event.
The communication system according to any one of claims 1 to 6, wherein the communication system is characterized by the above.
前記第1の表示制御手段は、前記イベントに関する表示として、前記第2のイベントが発生していることを表す表示を前記表示部に行わせる、
ことを特徴とする請求項7に記載の通信システム。 The event generated by the communication device includes a second event in which the printer interrupts the job.
The first display control means causes the display unit to display that the second event has occurred as a display related to the event.
The communication system according to claim 7.
ことを特徴とする請求項8に記載の通信システム。 The second display control means causes the display unit to display information related to canceling the second event as a display related to the details of the event.
The communication system according to claim 8.
ことを特徴とする請求項8又は9に記載の通信システム。 When the first event and the second event are simultaneously included as the event, the first display control means gives priority to the display related to the second event as the display related to the event. Let the club do it
The communication system according to claim 8 or 9.
前記第2の表示制御手段は、前記処理手段により前記ペアリング処理が実行された場合おいて、前記情報処理装置が前記通信装置から前記パスワードを取得可能なときは、前記イベントの詳細に関する表示が前記アクセス制限のある内容を含む場合であっても前記入力画面を前記表示部に表示させることなく、前記イベントの詳細に関する表示を前記表示部に行わせる、
ことを特徴とする請求項11に記載の通信システム。 Before the input screen is displayed, the information processing device requests authentication processing, so that authentication information is output from the communication device and the authentication information is input to the information processing device. Further provided with a processing means for performing the pairing process by the first wireless communication.
In the second display control means, when the pairing process is executed by the processing means and the information processing device can acquire the password from the communication device, the display regarding the details of the event is displayed. Even when the content with the access restriction is included, the display unit is made to display the details of the event without displaying the input screen on the display unit.
11. The communication system according to claim 11.
前記第1の無線通信により前記通信装置から受信した情報に基づいて、前記通信装置で発生したイベントに関する表示を表示部に行わせる第1の表示制御手段と、
前記第1の表示制御手段による前記表示部の表示後、前記情報処理装置への入力に応じて、前記イベントの詳細に関する表示を前記表示部に行わせる第2の表示制御手段と、を備え、
前記第2の表示制御手段は、前記情報処理装置と前記通信装置との間で前記第2の無線通信による通信経路が確立されている場合と、前記情報処理装置と前記通信装置との間で前記第2の無線通信による通信経路が確立されていない場合とで、前記表示部に異なる表示を行わせる、
を備えることを特徴とする情報処理装置。 An information processing device capable of first wireless communication and second wireless communication having different communication standards with a communication device.
A first display control means for causing the display unit to display an event generated by the communication device based on the information received from the communication device by the first wireless communication.
After the display of the display unit by the first display control means, a second display control means for causing the display unit to display the details of the event in response to an input to the information processing device is provided.
The second display control means includes a case where a communication path by the second wireless communication is established between the information processing device and the communication device, and between the information processing device and the communication device. The display unit is made to display differently depending on whether the communication path by the second wireless communication is not established.
An information processing device characterized by being equipped with.
前記通信装置で発生したイベントに関する情報を前記情報処理装置に送信する第1の送信手段と、
前記第1の送信手段による前記イベントに関する情報の送信後、前記情報処理装置への入力に応じて、前記イベントの詳細に関する情報を前記情報処理装置に送信する第2の送信手段と、
前記第2の送信手段が前記イベントの詳細に関する情報を前記情報処理装置に送信する際、前記情報処理装置と前記通信装置との間で前記第2の無線通信による通信経路が確立されている場合と、前記情報処理装置と前記通信装置との間で前記第2の無線通信による通信経路が確立されていない場合とで、前記イベントの詳細に関する情報として送信する通信データを異ならせるように前記第2の送信手段を制御する送信制御手段と、
を備えることを特徴とする通信装置。 A communication device capable of first wireless communication and second wireless communication having different communication standards with an information processing device.
A first transmission means for transmitting information about an event generated in the communication device to the information processing device, and
After transmitting the information about the event by the first transmission means, the second transmission means for transmitting the information about the details of the event to the information processing device in response to the input to the information processing device.
When the second transmitting means transmits information regarding the details of the event to the information processing device, a communication path by the second wireless communication is established between the information processing device and the communication device. And the case where the communication path by the second wireless communication is not established between the information processing device and the communication device, the communication data to be transmitted as information regarding the details of the event is different. A transmission control means that controls the transmission means of 2 and
A communication device characterized by comprising.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019200223A JP2021072599A (en) | 2019-11-01 | 2019-11-01 | Communication system, information processing device, communication device, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019200223A JP2021072599A (en) | 2019-11-01 | 2019-11-01 | Communication system, information processing device, communication device, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2021072599A true JP2021072599A (en) | 2021-05-06 |
Family
ID=75713516
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019200223A Pending JP2021072599A (en) | 2019-11-01 | 2019-11-01 | Communication system, information processing device, communication device, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2021072599A (en) |
-
2019
- 2019-11-01 JP JP2019200223A patent/JP2021072599A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10397963B2 (en) | Information processing apparatus, control method, and non-transitory computer-readable storage medium | |
US11659128B2 (en) | Wireless communication processing in an information processing device | |
JP6891024B2 (en) | Information processing device control methods, programs and communication systems | |
KR102202283B1 (en) | Information processing method, storage medium and information processing device | |
JP7230124B2 (en) | Program, communication device, control method | |
JP6866209B2 (en) | Information processing device, control method, program | |
JP6667476B2 (en) | Communication device, control method, and program | |
US10278072B2 (en) | Communication device and terminal device | |
JP6282364B2 (en) | COMMUNICATION DEVICE, PROGRAM, AND COMMUNICATION SYSTEM | |
JP2019215820A (en) | Information processing device, control method, and program | |
JP6929412B2 (en) | Information processing equipment, control methods and programs | |
JP6888037B2 (en) | Information processing equipment, control methods and programs | |
JP2021072599A (en) | Communication system, information processing device, communication device, and program | |
JP2020205497A (en) | Communications system | |
JP6852124B2 (en) | Information processing device, control method, program | |
EP4161158A1 (en) | Information processing apparatus, method for controlling the same, and storage medium | |
JP2019009732A (en) | Communication device, control method and program | |
JP2023068539A (en) | Program and method | |
JP2023166256A (en) | Communication system, communication device and method for controlling the same, and program | |
JP2023176541A (en) | Program, system, and method | |
JP2018050347A (en) | Program, information processing method, and information processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20210103 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210113 |