JP7646744B2 - COMMUNICATION DEVICE, CONTROL METHOD, AND PROGRAM - Google Patents
COMMUNICATION DEVICE, CONTROL METHOD, AND PROGRAM Download PDFInfo
- Publication number
- JP7646744B2 JP7646744B2 JP2023099827A JP2023099827A JP7646744B2 JP 7646744 B2 JP7646744 B2 JP 7646744B2 JP 2023099827 A JP2023099827 A JP 2023099827A JP 2023099827 A JP2023099827 A JP 2023099827A JP 7646744 B2 JP7646744 B2 JP 7646744B2
- Authority
- JP
- Japan
- Prior art keywords
- communication
- wireless communication
- target device
- peer
- predetermined
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Computer And Data Communications (AREA)
Description
本発明は、通信装置に関し、特に、近距離無線通信が可能な通信技術に関するものである。 The present invention relates to a communication device, and in particular to a communication technology that enables short-range wireless communication.
近年、デジタルカメラや携帯電話等の外部装置から、NFCをはじめとする近距離無線通信によって通信相手を特定する。そして、近距離無線通信とは別の無線通信によってデジタルカメラや携帯電話に保持される画像ファイルを画像出力装置で出力するシステムが知られている。 In recent years, external devices such as digital cameras and mobile phones have come to identify communication partners using short-range wireless communication such as NFC. A system is also known in which an image output device outputs image files stored in the digital camera or mobile phone using wireless communication other than short-range wireless communication.
また、ネットワーク機能の一環として、アクセスポイント経由でインターネットに接続することにより、インターネット経由でのリモート印刷機能やファームウエアのアップデート機能を有するものがある。さらに、アクセスポイントがない状態でも、ホスト端末は、画像出力装置が備えるアクセスポイント機能を使って、両者間でピアツーピア(P2P)接続を行い印刷およびスキャンを実行することも可能である。なお、ホスト端末が、画像出力装置が備えるアクセスポイントを使ってP2Pで無線通信を行うモードをAPモードと呼ぶ。 As part of the network functions, some devices have a remote printing function and a firmware update function via the Internet by connecting to the Internet via an access point. Furthermore, even if there is no access point, the host terminal can use the access point function of the image output device to establish a peer-to-peer (P2P) connection between the two devices and perform printing and scanning. The mode in which the host terminal uses the access point of the image output device to perform P2P wireless communication is called AP mode.
しかし、画像出力装置がAPモードになってしまうとホスト端末とP2P接続となり、アクセスポイントへの接続が切断され、インターネット接続ができなくなる。その結果、画像出力装置は、前述したインターネット接続を必要とする様々な機能が使えなくなってしまうことがある。 However, when the image output device switches to AP mode, it establishes a P2P connection with the host terminal, the connection to the access point is cut off, and it becomes unable to connect to the Internet. As a result, the image output device may be unable to use the various functions that require an Internet connection as mentioned above.
さらに、APモードで動作中のホスト端末も、P2P接続の接続先がインターネット接続できない場合は、ホスト端末自体もインターネット接続ができなくなるおそれがある。
このような状況では、ホスト端末内のアプリケーションからもインターネットへのアクセセスができなくなり、例えば、ブラウザではインターネット上のサイトを閲覧することができなくなってしまう。
Furthermore, if the destination of the P2P connection cannot connect to the Internet, the host terminal operating in AP mode may also be unable to connect to the Internet.
In such a situation, applications within the host terminal will be unable to access the Internet, and for example, it will be impossible to browse sites on the Internet using a browser.
特許文献1においては、第1無線通信装置に第2無線通信装置が近づけられた場合に、アクセスポイント経由で第1無線通信装置がデータ通信中であれば、第1無線通信装置は第2無線通信装置とのP2P接続への移行を行わないようにすることが開示されている。 Patent Document 1 discloses that when a second wireless communication device is brought close to a first wireless communication device, if the first wireless communication device is in data communication via an access point, the first wireless communication device does not transition to a P2P connection with the second wireless communication device.
しかしながら、特許文献1の技術では、第1無線通信装置がアクセスポイント経由でインターネットとデータ通信を行っていない場合、第1無線通信装置の通信設定がP2P接続に変更されてしまう。例えば、第1無線通信装置がアクセスポイント経由でインターネットとデータ通信を行っていない状況で第2無線通信装置から接続要求を受けた場合、第1無線通信装置は、P2P接続へ移行する。その後、ユーザーが第1および第2無線通信装置間でP2P接続中に第1無線通信装置を使ってインターネットに接続したいと考えても、ユーザーの意図した操作を行うためにはP2P接続が終了するまで待機する必要がある。よって、ユーザーの利便性が低下するおそれがあった。 However, in the technology of Patent Document 1, when the first wireless communication device is not performing data communication with the Internet via an access point, the communication settings of the first wireless communication device are changed to a P2P connection. For example, when the first wireless communication device receives a connection request from the second wireless communication device while not performing data communication with the Internet via an access point, the first wireless communication device transitions to a P2P connection. After that, even if the user wants to connect to the Internet using the first wireless communication device during the P2P connection between the first and second wireless communication devices, it is necessary to wait until the P2P connection ends in order to perform the user's intended operation. This could result in a decrease in user convenience.
本発明は、上記の課題を解決するためになされたものであり、通信装置のコンピュータを、対象装置との第1無線通信によって通信情報を取得する取得手段と、前記通信装置が、前記通信装置の外部且つ前記対象装置の外部の装置である外部装置に無線LANによって接続することにより前記通信装置が参加している所定のネットワークに、所定の命令をブロードキャストするブロードキャスト手段と、前記所定のネットワークに前記対象装置が属していない状態において実行された前記所定の命令のブロードキャストの結果に基づいて、前記対象装置との第1無線通信によって取得された前記通信情報に基づいて確立される、前記外部装置を介さない前記通信装置と前記対象装置との間のピアツーピアの無線接続を用いて、所定の情報を前記対象装置に対して送信する第2無線通信を実行する実行手段として動作させ、前記第1無線通信は、前記第2無線通信に用いられる通信方式と異なる近距離無線通信方式であるNear Field Communication(NFC)によって実行されることを特徴とする。
The present invention has been made to solve the above-mentioned problems, and is characterized in that a computer of a communication device is operated as an acquisition means for acquiring communication information through a first wireless communication with a target device, a broadcast means for broadcasting a predetermined command to a predetermined network in which the communication device participates by connecting the communication device to an external device that is an external device of the communication device and an external device of the target device via a wireless LAN , and an execution means for executing a second wireless communication for transmitting predetermined information to the target device using a peer-to-peer wireless connection between the communication device and the target device not via the external device, which is established based on the communication information acquired through the first wireless communication with the target device, based on a result of the broadcast of the predetermined command executed in a state in which the target device does not belong to the predetermined network, and the first wireless communication is executed by Near Field Communication (NFC), which is a short-range wireless communication method different from the communication method used for the second wireless communication.
本発明によれば、通信相手装置の接続形態を考慮して無線通信を行うことでユーザーの利便性の向上を図ることが可能となる。 According to the present invention, it is possible to improve user convenience by performing wireless communication taking into account the connection form of the communication partner device.
以下に、図面を参照しながら、この発明の好適な実施の形態を例示的に詳しく説明する。但し、本実施形態に記載されている構成要素の相対配置、表示画面等は、特に特定的な記載がない限りは、この発明の範囲をそれらのみに限定する趣旨のものではない。 Below, a preferred embodiment of the present invention will be described in detail with reference to the drawings. However, the relative arrangement of the components, the display screen, and the like described in this embodiment are not intended to limit the scope of the present invention to those alone, unless otherwise specified.
[実施形態1]
図1は印刷処理システムの構成を示す図である。このシステムは、アクセスポイント100を中心に、そのアクセスポイント100に接続可能な携帯型の端末装置200及び印刷装置300で構成される。通信装置としても機能する端末装置200は、通信速度が異なる少なくとも2種類以上の無線通信部を有する。端末装置200は、PDA(Personal Digital Assistant)等の個人情報端末、携帯電話、デジタルカメラ等、印刷対象となるファイルを扱える装置であればその種類は問わない。
[Embodiment 1]
1 is a diagram showing the configuration of a print processing system. This system is composed of an
通信装置としても機能する印刷装置300は、原稿台に原稿を載せて原稿を読み取る読取機能と、インクジェット等の印刷エンジンを用いて印刷を行う印刷機能を有しており、その他、FAX機能や電話機能を有していても良い。
The
印刷装置300は、インフラストラクチャーモードで無線LAN接続が可能である。つまり、インフラストラクチャーモードで動作する印刷装置300は、外部のアクセスポイント100を介して、端末装置200と無線通信が可能である。また、印刷装置300は、APモードを有しており、APモードにおいて、端末装置200と印刷装置300は共に無線LANによってP2Pの通信も可能である。なお、APモードとは上述した通り、印刷装置が備えるアクセスポイントを有効化し、端末装置200は印刷装置のアクセスポイントを使って印刷装置とピアツーピアで無線通信する。
The
図2は端末装置200の外観を示す図である。本実施形態では、スマートフォンを例にしている。スマートフォンとは、携帯電話の機能の他に、カメラや、ネットブラウザ、メール機能等を搭載した多機能型の携帯電話のことである。NFC(Near FieldCommunication)ユニット201は、近距離無線通信を行うユニットである。ユーザーが、NFCユニット201を相手先のNFCユニット(実施形態では、印刷装置300のNFCユニット)に所定距離(10cm程度)以内に近づけることで通信を行うことができる。つまり、端末装置200は、近距離無線通信を実行可能である。
Figure 2 is a diagram showing the external appearance of the
無線LANユニット202は、無線LANで通信を行うためのユニットであり、端末装置200内に配置されている。表示部203は、例えば、LCD方式の表示機構を備えるディスプレイである。操作部204は、タッチパネル方式の操作機構を備えており、ユーザーの押下情報を検知する。代表的な操作方法には、表示部203がボタンアイコンやソフトウェアキーボードの表示を行い、ユーザーが操作部204を押下することによってボタンが押下されたイベントを発行することである。電源キー205は、電源のオン及びオフをする際に用いる。
The
図3は印刷装置の外観を示す図である。本実施形態では、読取機能(スキャナ)を有するMulti Function Printer(MFP)を例にしている。図3(a)において、原稿台301はガラス状の透明な台であり、原稿を載せてスキャナで読み取る時に使用する。原稿蓋302は、スキャナで読取を行う際に読取光が外部に漏れないようにするための蓋である。印刷用紙挿入口303は、様々なサイズの用紙をセットする挿入口である。印刷用紙挿入口303にセットされた用紙は一枚ずつ印刷部に搬送され、印刷を行って印刷用紙排出口304から排出される。 Figure 3 is a diagram showing the external appearance of a printing device. In this embodiment, a Multi Function Printer (MFP) with a reading function (scanner) is used as an example. In Figure 3 (a), the document table 301 is a transparent glass table on which a document is placed and read by the scanner. The document cover 302 is a cover for preventing reading light from leaking to the outside when reading with the scanner. The print paper insertion port 303 is an insertion port for setting paper of various sizes. Paper set in the print paper insertion port 303 is transported one sheet at a time to the printing section, where it is printed and discharged from the print paper discharge port 304.
図3(b)において、原稿蓋302の上部には操作表示部305及びNFCユニット306が配置されている。NFCユニット306は、近距離無線通信を行うためのユニットであり、ユーザーが端末装置200を印刷装置300に近接させる場所である。NFCユニット306から所定距離(約10cm)が接触の有効距離である。無線LANアンテナ307は、無線LANで通信するためのアンテナが埋め込まれている。
In FIG. 3(b), an
尚、近距離無線通信とは、NFCに代表される、通信範囲が、比較的小さい所定範囲(例えば、1メートル~数センチ)となる無線通信を意味する。 Note that short-distance wireless communication refers to wireless communication such as NFC, which has a relatively small communication range (e.g., 1 meter to a few centimeters).
図4は端末装置の構成を示すブロック図である。端末装置200は、装置全体の制御を行うメインボード210、無線LANユニット202、NFCユニット201、回線接続ユニット206、操作部204及び表示部203からなる。ここで、無線LANユニット202、NFCユニット201、及び回線接続ユニット206はいずれも、端末装置200の通信部として機能する。
Figure 4 is a block diagram showing the configuration of the terminal device. The
メインボード210に配置されるマイクロプロセッサ形態のCPU211は、内部バス212を介して接続されているROM形態のプログラムメモリー213に格納されている制御プログラムと、RAM形態のデータメモリー214の内容とに従って動作する。
The microprocessor-
CPU211は、無線LAN制御回路215を介して無線LANユニット202を制御することで、他の通信端末装置と無線LAN102による通信を行う。CPU211は、NFC制御回路216を介してNFCユニット201を制御することによって、他のNFC端末とのNFC101による接続を検知したり、他のNFC端末との間でデータの送受信を行うことができる。CPU211は、回線制御回路217を介して回線接続ユニット206を制御することで、携帯電話回線網105に接続し、通話やデータ送受信を行うことができる。
The
CPU211は、操作部制御回路218を制御することによって操作部204に表示を行ったり、ユーザーからの操作を受け付けることが可能である。CPU211は、カメラ部219を制御して画像を撮影することができ、撮影した画像をデータメモリー214中の画像メモリー220に格納する。また、撮影した画像以外にも、携帯電話回線網105、無線LAN102を通じて外部から取得した画像を画像メモリー220に格納したり、逆に外部に送信することも可能である。
The
不揮発性メモリー221は、フラッシュメモリー等のメモリーで構成され、電源をオフされた後でも保存しておきたいデータを格納する。例えば、電話帳データや、各種通信接続情報や過去に接続したデバイス情報等の他、保存しておきたい画像データ、あるいは端末装置200に各種機能を実現するアプリケーションソフトウェア等のプログラムが格納される。
The
図5は印刷装置の構成を示すブロック図である。印刷装置300は、装置全体の制御を行うメインボード310、回線接続ユニット322、無線LANユニット308、NFCユニット306、及び操作表示部305からなる。ここで、回線接続ユニット322、無線LANユニット308及びNFCユニット306は、印刷装置300の通信部として機能する。
Figure 5 is a block diagram showing the configuration of the printing device. The
メインボード310に配置されるマイクロプロセッサ形態のCPU311は、内部バス312を介して接続されているROM形態のプログラムメモリー313に格納されている制御プログラムと、RAM形態のデータメモリー314の内容とに従って動作する。
The microprocessor-
CPU311は、スキャナ部315を制御して原稿を読み取り、データメモリー314中の画像メモリー316に格納する。また、CPU311は、印刷部317を制御してデータメモリー314中の画像メモリー316の画像を記録媒体に印刷することができる。
The
CPU311は、無線LAN制御回路318を通じて無線LANユニット308を制御することで、他の通信端末装置と無線LAN102による通信を行う。また、CPU311は、NFC制御回路319を介してNFCユニット306を制御することによって、他のNFC端末とのNFC101による接続を検知したり、他のNFC端末との間でデータの送受信を行うことができる。CPU311は、回線制御回路321を介して回線接続ユニット322を制御することで、電話回線網323に接続し、FAX送受信やデータ送受信を行うことができる。
The
CPU311は、操作表示部制御回路320を制御することによって操作表示部305に印刷装置300の状態の表示や機能選択メニューの表示を行ったり、ユーザーからの操作を受け付けることが可能である。
The
図6はNFCユニット201あるいはNFCユニット306で使用されているNFCユニット600の詳細を示すブロック図である。
Figure 6 is a block diagram showing the details of the
NFC通信では、NFCユニット600による近距離無線通信を行う場合、初めに、RF(Radio Frequency)フィールドを出力して通信を開始する装置をイニシエータと呼ぶ。また、イニシエータの発する命令に応答し、イニシエータとの通信を行う装置をターゲットと呼ぶ。
In NFC communication, when short-distance wireless communication is performed using the
NFCユニット600は、NFCコントローラ部601、アンテナ部602、RF部603、送受信制御部604、NFCメモリー605、電源606、及びデバイス接続部607を有する。アンテナ部602は、他のNFCデバイスから電波を受信したり、他のNFCデバイスに電波を送信したりする。RF部603は、アナログ信号をデジタル信号に変復調する機能を備えている。RF部603は、シンセサイザを備えていて、バンド、チャネルの周波数を識別し、周波数割り当てデータによるバンド、チャネルの制御をしている。
The
尚、NFCメモリー605は、例えば、不揮発性メモリーで構成され、電源からの電力が供給されていない状態でも、そのNFCメモリー605に記憶されているデータを読み書きすることができる。このNFCメモリー605へのデータの読み書きを含むデータの記憶制御は、NFCコントローラ部601によって実現される。
The
送受信制御部604は、送受信フレームの組み立て及び分解、プリアンブル付加及び検出、フレーム識別等、送受信に関する制御を行う。送受信制御部604は、NFCメモリー605の制御も行い、各種データやプログラムを読み書きする。デバイスと双方向通信を可能にするアクティブモードとして動作する場合、電源606を介して電力の供給を受ける。さらに、デバイス接続部607を通じて他のNFCデバイスと通信を行ったり、アンテナ部602を介して送受信される電波により、通信可能な範囲にある他のNFCデバイスと通信する。
The transmission/
本実施形態では、端末装置200と印刷装置がNFCを介して双方向通信を行う必要があるため、NFCは常にアクティブモードとして動作する。
In this embodiment, the
以下では、端末装置200のNFCユニット201と印刷装置300のNFCユニット306を近づける操作のことを、「NFCタッチ操作」と記す。
In the following, the operation of bringing the
本実施形態では、ユーザーが端末装置200を操作して印刷対象の画像を選択した後、印刷を行う印刷装置300に対してNFCタッチ操作を行うことで、選択した画像を印刷装置300で印刷するというユースケースについて説明する。
In this embodiment, a use case will be described in which a user operates the
そして、印刷装置300が端末と同一ネットワーク上に存在する場合は、その接続状態を維持して印刷を行い、そうでない場合は、印刷装置300とP2P接続を行って印刷を行うものである。
If the
図7のフローチャートを用いて、本実施形態の説明を行う。図7は、端末装置200で指定した画像を印刷装置300で印刷を行う際の処理である。なお、本願における端末装置200に関係するフローチャートの各ステップは、CPU211がフローチャートに関連するプログラムを読み出して実行することで実現される。
This embodiment will be described with reference to the flowchart in FIG. 7. FIG. 7 shows the process when an image specified on the
ユーザーは、端末装置200を操作し、画像データを選択し、印刷装置300に対してNFCタッチ操作を行う。図9は、端末装置のUI例である。例えば、ユーザーは、端末装置にインストールされている印刷アプリケーションを起動することで図9の選択画面(選択UI)が表示される。図9のUIには、端末装置200内の画像データのサムネイル画像が表示され、ユーザーがタッチ操作により、印刷したい画像のサムネイルをタップすると、選択を示すチェックマークがサムネイル上に表示される。画像を選択した状態で、印刷装置300に対してNFCタッチ操作を行うと、印刷処理が開始される。
The user operates the
まず、ステップS1101で、端末装置200は、印刷装置300のNFCタグからタグ情報を取得する。タグ情報には、印刷装置300のネットワーク設定に関する少なくとも3種類の情報が含まれている。具体的には、(1)印刷装置300のMACアドレス、(2)印刷装置300のAPモード時のSSIDとパスワード、(3)印刷装置300の現在の無線モード、の3種類の情報である。なお、(3)は、APモードまたはインフラストラクチャーモードのどちらかのモードとなる。なお、本願におけるタグ情報は、通信に関する情報であるため単に通信情報と呼ばれることもある。
First, in step S1101, the
S1102において端末装置200は、WiFi設定が有効か否かを確認する。WiFi設定が有効である場合、端末装置200においてWiFi通信が可能な状態であることを意味する。WiFi設定が有効の場合は、S1103へ進み、無効の場合は、S1110へ進む。
In S1102, the
S1103にて端末装置は、S1101で取得した(3)印刷装置300の現在の無線モードを確認し、APモードであればS1112へ進み、インフラストラクチャーモードであればS1104へ進む。つまり、端末装置200は、印刷装置300がピアツーピア通信方式にて動作中であると判定した場合、S1112へと処理を進める。
In S1103, the terminal device checks the current wireless mode of the (3)
S1104にて端末装置200は、S1101で取得した(1)印刷装置300のMACアドレスと一致する印刷装置300を検出する。具体的には、端末装置が、自分が参加しているネットワークにブロードキャストにてデバイス探索命令を送信し、上記ネットワークに参加している各装置からの応答を受信する。そして端末装置は、S1101で取得したMACアドレスと一致するMACアドレスを含む応答を検出することでS1104の処理を実行する。
In S1104, the
S1104で印刷装置300が検出できた場合、端末装置200は、S1106においてS1104で検出した印刷装置300と無線LANユニット202を用いて無線LANにて接続する。具体的には、端末装置200が接続しているアクセスポイント100を接続先として決定する(維持する)。そして、端末装置200は、S1109でアクセスポイント100を介した無線LANにて印刷ジョブを印刷装置300へ送信する。具体的には、端末装置200は、印刷装置300に対して特定のコマンドを発行することで印刷装置300とセッションを張る。そして、端末装置200は、図9の選択画面で選択された画像データに基づいて印刷ジョブを生成し、その印刷ジョブをS1109にて送信する。
なお、印刷ジョブを生成するタイミングは、図7のフローチャートが実行される前でも良いし、S1106で接続が確立してからでも良い。
If the
The print job may be generated before the process in the flowchart of FIG. 7 is executed, or after the connection is established in S1106.
印刷ジョブを受けた印刷装置300は、印刷ジョブに基づいて紙に画像を印刷し、終了する。
The
一方、S1104で印刷装置300が検出でなかった場合、携帯端末200の処理は、S1105からS1107に進む。
On the other hand, if the
S1107において端末装置200は、印刷装置300のNFCタグにAPモードへの移行指示を書き込む。なお、移行指示として書き込まれる情報は、APモードへの移行命令でも良いし、MACアドレスに対応する印刷装置が見つからなかった旨を示す情報でも良い。そして、印刷装置300は、NFCのタグにAPモードへの移行指示が書き込まれたことを検知すると、APモードへの移行処理を実施する。
In S1107, the
S1108において端末装置200は、S1101で取得した、(2)印刷装置300のアクセスポイントのSSIDとパスワードを利用して、S1107においてAPモードに移行された印刷装置300との無線LANでの接続を確立する。具体的には、端末装置200は、アクセスポイントの接続先をアクセスポイント100から印刷装置300のアクセスポイントへ変更する。つまり、S1108において、印刷装置300のアクセスポイントが接続先のアクセスポイントとして決定される。この処理により端末装置200と印刷装置300の間でP2P接続が確立され、端末装置200は、S1109で印刷ジョブを印刷装置300へ送信する。印刷ジョブを受けた印刷装置の処理は上記処理と同じである。NFCタッチ操作時に、すでに印刷装置300がAPモードとなっている場合は、S1102を経由して、S1109へ進む。なお、印刷装置の通信モードは、S1101の処理により取得される。
In S1108, the
また、S1102でS1110へ進んだ場合、端末装置200は、S1110で端末装置200のWiFi設定を有効に変更する。そして、S1111で、端末装置200は、印刷装置300のNFCタグにAPモードへの移行指示を書き込む。そして、印刷装置300は、NFCのタグにAPモードへの移行指示が書き込まれたことを検知すると、APモードへの移行処理を実施する。
Also, if the process proceeds to S1110 from S1102, the
なお、S1112の処理はS1106と同じであるため省略する。 Note that the processing of S1112 is the same as S1106, so it will be omitted.
また、S1103でS1112へ進んだ場合は、既に、印刷装置300が、APモードの状態になっている。そのため、端末装置200は、S1101で取得した、(2)印刷装置300のAPモード時のSSIDとパスワードを利用して、印刷装置300との接続を確立し、S1109で印刷ジョブを印刷装置300へ送信する。印刷ジョブを受けた印刷装置300は、印刷処理を実行し、終了する。
Also, if the process proceeds to S1112 from S1103, the
なお、図7のフローチャートの各ステップは、図9の画面を提供している印刷アプリケーションにより実行されても良い。 Note that each step in the flowchart in FIG. 7 may be executed by a print application that provides the screen in FIG. 9.
以上のフローチャートで示した一連の処理により、印刷装置300と端末装置との接続がインフラストラクチャーモードで確立されている場合は、その接続状態を維持して印刷を行う。一方、印刷装置300と端末装置との接続がインフラストラクチャーモードでない場合、携帯端末200は、印刷装置300に対してAPモードへの移行を指示し、印刷を行う。
If the connection between the
その結果、インフラストラクチャーモードでの接続を極力維持するため、印刷装置300および端末装置200のインターネットへの接続も極力維持することができる。
As a result, the connection in infrastructure mode is maintained as much as possible, so the connection of the
また、端末装置200のWiFi設定は、端末装置200内のシステム設定メニュー内のWiFi設定の項目で、簡単にユーザーが任意に有効、無効の設定が可能である。ここで、アクセスポイント100を所有していないユーザーにおいては、アクセスポイント100と端末装置200とをWiFi接続する必要が無い。そのため、不要な機能による端末のバッテリーの消費を抑えるために、端末装置200のWiFi設定を無効にしている可能性が高い。このような場合でも、S1102において、端末装置200は、WiFi設定を確認し、WiFi設定が無効の場合は、WiFi設定を有効化すると共に印刷装置300とAPモードによる無線接続を確立することで、APモードでの印刷を実施できる。
The WiFi settings of the
さらに、S1103において、携帯端末200が印刷装置300の無線モードを確認することで、既に印刷装置300がAPモードで動作していると判定された場合、携帯端末200は印刷装置300の検出が見込まれない検出処理を実施しない。以上の処理により、効率的に印刷装置300と端末装置200との接続を確立することが可能である。
Furthermore, in S1103, if the
なお、前述したとおり、S1102での端末装置200のWiFi設定の有効確認処理および、S1103の印刷装置300の無線モードの確認処理は、本発明の必須の処理ではなく、処理の高速化など、ユーザーの利便性を高めるための処理である。したがって、S1102、S1103の両方または片方のステップが存在しなくても、本発明の目的である、インフラストラクチャーモードでの接続を極力維持することについては達成することが可能である。
As mentioned above, the process of checking the validity of the WiFi settings of the
ここで、携帯端末200において表示される画面を使って本実施例の処理の流れを説明する。
Here, we will explain the processing flow of this embodiment using the screen displayed on the
端末装置200において印刷アプリケーションが起動されることで図9(a)の画面が表示される。ここで、ユーザーが写真印刷を選択した場合、印刷アプリケーションは、端末装置200に保持される画像の一覧を図9(b)のように表示する。一方、文書印刷を選択した場合、端末装置200に保持される文書の一覧が表示される。
When the print application is started on the
図9(b)においてユーザーが印刷対象の画像を選択した状態で端末装置200を印刷装置300に対してNFCタッチ操作を行うと、印刷アプリケーションは図9(c)の画面を表示する。なお、NFCタッチ操作を行うことで上述した本願の図7の処理が実行される。
When the user selects an image to be printed in FIG. 9(b) and performs an NFC touch operation with the
また、図9(b)においてユーザーが印刷対象の画像を選択した状態でプリントボタンを押下した場合、図9(d)が表示される。図9(d)が表示された状態で、ユーザーが端末装置200を印刷装置300に対してNFCタッチ操作を行うと、図9(d)に表示された印刷設定情報にて印刷が実行される。
In addition, when the user presses the print button after selecting the image to be printed in FIG. 9(b), FIG. 9(d) is displayed. When the user performs an NFC touch operation with the
なお、ユーザーは、印刷アプリケーションに対して印刷装置を登録することができる。
そして、ユーザーが、図9(d)の画面が表示された状態で登録された印刷装置と異なる印刷装置300に対してNFCタッチ操作を行った場合、図9(e)が表示される。この際、図7の処理により端末装置200と印刷装置300が無線接続にて接続される。そして、端末装置200は、無線接続を介して印刷装置300の機能情報(例えば、印刷装置300が取扱い可能な用紙のサイズや用紙タイプなど)を取得し、取得結果を図9(e)の画面に反映する。つまり、ユーザーが用紙サイズ、用紙の種類を押下することで表示される選択肢は、無線接続を介して取得された印刷装置300の機能情報に基づいて決定される。図9(e)の画面においてユーザーが印刷設定情報を設定した後、プリントボタンを押下することで、ユーザーがNFCタッチ操作をした印刷装置300に対して無線接続を介して印刷ジョブが送信される。
Furthermore, the user can register a printing device to the printing application.
Then, when the user performs an NFC touch operation on a
[実施形態2]
実施形態1では、同一ネットワーク上に端末装置200と印刷装置300とが存在しない場合、携帯端末200は、印刷装置300に対してAPモードへの移行を指示した。しかしながら、印刷装置300が、端末装置200と同じアクセスポイントに接続し直すことが可能である場合は、接続し直してもよい。
[Embodiment 2]
In the first embodiment, when the
尚、本実施形態における各装置の構成について、特に説明のない限り、実施形態1と同等であるものとして説明を省略する。以下、図8を用いて説明する。 Unless otherwise specified, the configuration of each device in this embodiment is the same as in embodiment 1 and will not be described here. The following description will be given with reference to FIG. 8.
ステップS1201で、端末装置200は、印刷装置300のNFCタグからタグ情報を取得する。タグ情報には、印刷装置300のネットワーク設定に関する4種類の情報が含まれている。具体的には、上述した(1)から(3)に加えて(4)印刷装置300のアクセスポイントに対応したSSIDの接続履歴が含まれる。また、(4)の接続履歴については、そのSSIDに対応したパスワードも、別途、タグ内ではなく、印刷装置300の中に保持されている。
In step S1201, the
S1202はS1104と同じであり、S1203はS1105と同じであるため詳細な説明は省略する。S1203で印刷装置300が検出でなかった場合は、S1203からS1206に進む。
S1202 is the same as S1104, and S1203 is the same as S1105, so detailed explanations will be omitted. If the
S1206で、端末装置200が現在接続しているアクセスポイントのSSIDとS1201で取得した(4)アクセスポイントのSSIDの接続履歴とを比較し、一致しているものがないか確認する。ここで、一致するものが無ければ、S1207へ進み、一致したものがあれば、S1209へ進む。
In S1206, the SSID of the access point to which the
なお、S1207からS1208、S1205の処理はS1107からS1108、S1109の処理と同じであるため詳細な説明は省略する。S1206においてYesと判定された場合、S1209において端末装置200は、印刷装置300のNFCタグにS1206で一致したSSIDとアクセスポイントへの接続指示を書き込む。そして、印刷装置300は、NFCタグにアクセスポイントへの接続指示が書き込まれたことを検知すると、端末装置200から指定されたSSIDと、アクセスポイント履歴と一緒に保存されている該当パスワードを利用して、アクセスポイントへ接続し直す。これにより、端末装置200と印刷装置300が同一のアクセスポイントに接続され、同一ネットワーク上に接続されたことになる。
Note that the processing from S1207 to S1208 and S1205 is the same as the processing from S1107 to S1108 and S1109, so detailed explanation will be omitted. If the determination in S1206 is Yes, in S1209, the
S1210において端末装置200は、ネットワーク内にブロードキャストし、S1201で取得した(1)印刷装置300のMACアドレスと一致する印刷装置300を検出し、検出した印刷装置300と無線接続を確立する。なお、S1210の具体的な処理は、S1106と同じである。そして、端末装置200は、S1205で印刷ジョブを確立された無線接続を介して印刷装置300へ送信する。印刷ジョブを受けた印刷装置300は、印刷処理を実行し、終了する。
In S1210, the
以上説明したように、実施形態2によれば、端末装置200は、印刷装置300が保持するアクセスポイントの接続履歴を利用して、アクセスポイント経由で印刷装置300と接続することが可能になる。結果として、端末装置200と印刷装置300ともにインターネットに接続可能な状態をより高い確率で維持することが可能となる。
As described above, according to the second embodiment, the
なお、本実施例の説明では、印刷装置300のアクセスポイントの接続履歴を保持した例を示したが、反対に、端末装置200が、自身のアクセスポイントへの接続履歴(SSID)を保持してもよい。この場合は、S1201において端末装置200は、(4)印刷装置300のアクセスポイントに対応したSSIDの接続履歴ではなく、現在、印刷装置300が接続しているアクセスポイントのSSIDを取得する。そして、S1206において端末装置200は、端末装置200の接続履歴のSSIDとS1201で取得した印刷装置300が接続中のアクセスポイントのSSIDとを比較する。そして、一致したSSIDが接続履歴に含まれる場合、端末装置200は、そのSSIDのアクセスポイントへ、接続先を設定し直してもよい。
In the description of this embodiment, an example was shown in which the connection history of the access point of the
また、本発明の実施例では、印刷装置300への適用例を示したが、本発明は印刷装置と同様に、WiFi接続およびP2P接続機能を有するデジタルカメラへの適用も可能である。具体的には、端末装置を、デジタルカメラのリモコンとして機能させたい場合に、端末装置およびデジタルカメラのインターネット接続を極力維持したまま、端末装置から接続したデジタルカメラのシャッターを切るなどの操作も可能となる。
In addition, while the embodiment of the present invention shows an example of application to a
また、ネットワークオーディオプレヤーやビデオレコーダーなどの機器に対して端末装置をリモコンとして機能させる場合も、それぞれの機器のインターネット接続を極力維持しつつリモコン機能を実現することが可能となる。 In addition, when using a terminal device as a remote control for devices such as a network audio player or video recorder, it is possible to realize the remote control function while maintaining the Internet connection of each device as much as possible.
したがって、本発明の適用範囲は、印刷装置に限定されるものではない。 Therefore, the scope of application of this invention is not limited to printing devices.
さらに、実施例では端末装置と装置間のP2P接続の例としてAPモードの例を提示した。しかし、Bluetooth(登録商標)接続やWi-FiDirect接続など、他のP2P接続方法においても、その接続方法が、端末または装置の両方もしくは片方のインターネットへの接続を阻害する状況にある場合は、本発明を適用しても良い。その結果、各装置のインターネット接続を極力維持する効果を得ることが可能である。 Furthermore, in the embodiment, an example of AP mode is presented as an example of a P2P connection between a terminal device and a device. However, the present invention may also be applied to other P2P connection methods, such as Bluetooth (registered trademark) connection or Wi-Fi Direct connection, if the connection method is in a situation where it prevents the connection of the terminal and/or device to the Internet. As a result, it is possible to obtain the effect of maintaining the Internet connection of each device as much as possible.
また、端末装置と装置間のP2P接続の例としてAPモードの例を提示したが、P2P接続時には、印刷装置300がAPとして機能する必要はない。具体的は、Wi-FiDirectでのP2P接続では、一方がホストで他方がAPとして動作するが規格上、どちらがAPになるかは状況によって変化する。本発明では、P2P接続が可能ならば、端末、印刷装置のどちらがAPとなっても本発明の目的は達成できるため、印刷装置をAPとして機能することに限定する必要はない。なお、本願の処理を経てWi-FiDirectにてP2P接続を実行する場合には、端末装置と印刷装置との間でネゴシエーションが実行され、どちらがAPとして動作するかが決定される。
Although an example of AP mode has been presented as an example of a P2P connection between a terminal device and a device, the
また、近距離無線通信の一例としてNFCを用いて説明したが、NFCの代わりにブルートゥース(登録商標)を用いても構わない。 Furthermore, although NFC has been used as an example of short-range wireless communication, Bluetooth (registered trademark) may be used instead of NFC.
なお、本願では、端末装置200が印刷装置300から取得したMACアドレスを使って印刷装置300を探索する処理について記載した。しかし、別の方法として端末装置200が、NFCを用いてIPアドレスとMACアドレスを取得して、IPアドレスを使って印刷装置300を探索する。そして、端末装置200が、IPアドレスを使って印刷装置300を探索できない場合にMACアドレスを用いて再度探索しても良い。この処理により、効率的に探索処理を行うことが可能となる。
In the present application, the process in which the
また、印刷装置300のモデル名やタイプなどのデバイス情報がNFCにて端末装置200に通知されても良い。端末装置200の印刷アプリケーションが使用可能な印刷装置のデバイス情報とNFCタッチ操作によって取得したデバイス情報が一致しない場合(例えば、モデル名が一致しない場合)、印刷アプリケーションがエラー画面を表示する。そして、印刷処理を続行できないことを示すメッセージがエラー画面に表示される。なお、エラー画面には、印刷アプリケーションが使用可能な印刷装置を示すメッセージ、他の印刷アプリケーションの使用を薦めるメッセージ等が表示されても良い。
Device information such as the model name and type of the
その他、印刷装置300の機能情報がNFCにて端末装置200に通知されても良い。
端末装置200の印刷アプリケーションにより提供される図9(a)の画面において選択された機能が、NFCタッチ操作によって取得した機能情報に含まれない場合、印刷アプリケーションがエラー画面を表示する。そして、エラー画面には、処理を続行できないことを示すメッセージが表示されても良い。具体的には、図9(a)においてFAXが選択され、かつ、NFCタッチ操作にて印刷装置300から取得した機能情報にスキャン機能が含まれない場合、印刷アプリケーションは、FAX処理を停止してエラー画面を表示する。
Alternatively, the function information of the
If the function selected on the screen of Fig. 9A provided by the printing application of the
[実施形態3]
実施形態1においては、端末装置200のWiFi設定が有効で、かつ、印刷装置300がWiFi接続されていない場合、S1101からS1105を経由してS1107へと処理が進む。このとき、S1107において、端末装置200が印刷装置300のNFCタグにAPモードへの移行指示を書き込むことで印刷装置300をAPモードへ移行させる。そのため、S1101からS1107の処理が終了するまでの間は、ユーザーは、端末を印刷装置から遠ざけてはいけない。具体的には、端末装置と印刷装置の間の距離が、NFC通信ができなくなる距離となってはいけない。
[Embodiment 3]
In the first embodiment, if the WiFi setting of the
しかし、端末装置200の処理がS1107の処理を完了する前に、ユーザーがタッチしている端末装置をずらしてしまったり、印刷装置から離してしまう可能性がある。その結果、S1107でNFC通信が行えずAPモードへの移行指示が失敗し、端末装置と印刷装置の通信が接続エラーとなってしまう可能性がある。S1107で接続エラーが発生すると、ユーザーは、再度タッチ操作を行い、S1101からS1107のフローが再び実行される。このとき、単純に同一処理を繰り返すだけでは、再び、ユーザーが端末装置をプリンタから離したり、ずらしたりしてしまい、再び接続エラーが発生してしまう懸念がある。
However, before the processing of S1107 is completed by the
そこで、S1107での接続エラー発生時に、接続エラーが発生する可能性を低減するための処理が実行されても良い。 Therefore, when a connection error occurs in S1107, processing may be performed to reduce the possibility of a connection error occurring.
尚、本実施形態における各装置の構成について、特に説明のない限り、実施形態1と同等であるものとして説明を省略する。以下、図10を用いて説明する。 Unless otherwise specified, the configuration of each device in this embodiment is the same as in embodiment 1 and will not be described. The following description will be given with reference to FIG. 10.
まず図10の処理を説明する前に、ユーザーが端末装置200を印刷装置300に対してNFCタッチ操作を実行し接続を試みた結果、S1107の処理が完了する前に端末装置200を印刷装置300から離してしまった場面を想定する。この場面において、印刷装置300はAPモードへの移行指示を適切に受けていないため、印刷装置300はAPモードへ移行していない状況となる。その結果、端末装置200は、印刷装置300と接続することができない。この際、端末装置200は、端末装置200内の不揮発性メモリー221に、接続エラー情報を保持する。この接続エラー情報は、後述するS1307の処理の最後に更新され、S1307の処理で印刷装置300に対する接続エラーが発生した場合は、接続エラーが発生したことを示す設定値とともに、接続しようとした印刷装置300のMACアドレスが保存される。一方、S1307で接続エラーが発生しなかった場合は、接続エラーが無かったことを示す設定値が保存される。また、一度もS1307の処理が行われていない場合、初期値として接続エラーが発生しなかった場合の設定値が保存されている。
Before describing the process of FIG. 10, let us assume that the user performs an NFC touch operation on the
次に、このエラー情報を利用した処理の流れを説明する。 Next, we will explain the process that uses this error information.
ステップS1301で、端末装置200は、印刷装置300のNFCタグからタグ情報を取得する。タグ情報には、実施形態1と同様の、印刷装置300のネットワーク設定に関する3種類の情報が含まれている。
In step S1301, the
S1302、S1309は、S1103、S1112と同じであるため詳細な説明は省略する。 S1302 and S1309 are the same as S1103 and S1112, so detailed explanations will be omitted.
S1302で、印刷装置300が、APモードでないと判断された場合は、S1303へ進む。
If it is determined in S1302 that the
S1303で、端末装置200は、端末装置200内に保存されている接続エラー情報を獲得する。そして、接続エラー情報が、エラーが発生したことを示す設定値であり、かつ、S1301で獲得した印刷装置300のMACアドレスとエラー情報に含まれる印刷装置300のMACアドレスとが一致するかを判定する。S1303においてYesと判定された場合、端末装置200は、S1304-S1305をスキップしてS1307へと処理を進める。
In S1303, the
一方、S1303においてNoと判定された場合は、S1304へ進む。S1304-S1306は、S1104-S1106と同じ処理のため詳細な説明は省略する。 On the other hand, if the answer is No in S1303, the process proceeds to S1304. S1304-S1306 are the same as S1104-S1106, so detailed explanations are omitted.
S1307では、S1107と同等の処理を行うと共に、最後に接続エラー情報の更新を行う。 In S1307, the same process as S1107 is performed, and finally the connection error information is updated.
S1310は、S1109と同じ処理のため詳細な説明は省略する。 S1310 is the same process as S1109, so a detailed explanation will be omitted.
以上により、本実施形態では、NFCタッチに起因した接続エラーが前回発生した場合、比較的処理時間のかかる印刷装置の特定処理(S1305の処理。判定処理ともいう)をスキップすることが可能となる。その結果、再度タッチした場合のAPモードへの移行指示の時間を短縮することが可能となる。これにより、ユーザーがタッチ動作をした後にすぐに印刷装置300から端末装置200を離してしまう場合であっても、再度の接続エラー発生の可能性を低減することが可能となる。
As described above, in this embodiment, if a connection error caused by an NFC touch occurred last time, it is possible to skip the relatively time-consuming printing device identification process (the process of S1305, also called the determination process). As a result, it is possible to shorten the time required to issue an instruction to transition to AP mode when touching again. This makes it possible to reduce the possibility of a connection error occurring again, even if the user removes the
また、接続エラー発生時には、ユーザーは、すぐに再タッチ動作をする可能性が高いため、接続エラー情報としてエラー発生時の発生時刻を含めてもよい。具体的には、S1303の判断において、現在時刻と接続エラー情報に含まれるエラー発生時刻の差異とが比較される。そして、前回のエラー発生時刻から現在時刻の差異が所定時間内(例えば、10秒以内など)でかつMACアドレスが一致した場合には、S1307へ進むようにしてもよい。 In addition, since there is a high possibility that the user will immediately perform a retouch operation when a connection error occurs, the connection error information may include the time when the error occurred. Specifically, in the determination of S1303, the difference between the current time and the time when the error occurred included in the connection error information is compared. Then, if the difference between the previous error occurrence time and the current time is within a predetermined time (e.g., within 10 seconds) and the MAC addresses match, the process may proceed to S1307.
また、印刷装置300の現在の接続状態を判断条件に使用してもよい。具体的には、S1301で獲得するタグ情報に印刷装置300がインフラストラクチャーモードで接続しているか否かの情報を含め、この情報を、接続エラー情報としてエラー発生時に保存しておく。そして、S1303の判断において、前回S1307で接続エラーが発生し、かつ、S1301で獲得した印刷装置300のインフラ接続モードの状態が、接続エラー情報に含まれるインフラ接続モードの状態と一致した場合は、S1307へ進むようにしてもよい。
The current connection state of the
また、S1303において、印刷装置を特定する処理をスキップしてS1307へ進むか否かの判断条件は、MACアドレス、経過時間、印刷装置の接続状態の変化など、単体もしくは、それら複数の組み合わせでもかまわない。また、判断条件自体についても、印刷装置300のIPアドレスやAPモードにおけるSSIDの変化など、印刷装置300の状態が変化している可能性があると判断できるものであれば、かまわない。
In S1303, the criteria for determining whether to skip the process of identifying the printing device and proceed to S1307 may be a single criterion, such as the MAC address, elapsed time, or a change in the connection status of the printing device, or a combination of multiple criterions. In addition, the criteria themselves may be anything that indicates that the status of the
[その他の実施形態]
本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステムまたは装置に供給し、そのシステムまたは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。また、プログラムを実行するコンピュータは、1つであってもよいし、複数のコンピュータが協働してプログラムを実行するものであってもよい。さらに、プログラムの一部を実行する回路等のハードウェアを設け、そのハードウェアと、ソフトウェアを実行するコンピュータが協働して、本実施形態で説明した処理を実行する場合であってもよい。
[Other embodiments]
The present invention can also be realized by executing the following process. That is, software (programs) that realize the functions of the above-mentioned embodiments are supplied to a system or device via a network or various storage media, and a computer (or a CPU, MPU, etc.) of the system or device reads and executes the program. The computer that executes the program may be one, or multiple computers may work together to execute the program. Furthermore, hardware such as a circuit that executes part of the program may be provided, and the hardware and a computer that executes the software may work together to execute the process described in this embodiment.
100 ネットワーク
200 端末装置
201 NFCユニット
202 無線LANユニット
Claims (19)
対象装置との第1無線通信によって通信情報を取得する取得手段と、
前記通信装置が、前記通信装置の外部且つ前記対象装置の外部の装置である外部装置に無線LANによって接続することにより前記通信装置が参加している所定のネットワークに、所定の命令をブロードキャストするブロードキャスト手段と、
前記所定のネットワークに前記対象装置が属していない状態において実行された前記所定の命令のブロードキャストの結果に基づいて、前記対象装置との第1無線通信によって取得された前記通信情報に基づいて確立される、前記外部装置を介さない前記通信装置と前記対象装置との間のピアツーピアの無線接続を用いて、所定の情報を前記対象装置に対して送信する第2無線通信を実行する実行手段として動作させ、
前記第1無線通信は、前記第2無線通信に用いられる通信方式と異なる近距離無線通信方式であるNear Field Communication(NFC)によって実行されることを特徴とするプログラム。 A computer of the communication device,
An acquisition means for acquiring communication information through a first wireless communication with a target device;
a broadcasting means for broadcasting a predetermined command to a predetermined network in which the communication device participates by connecting the communication device to an external device that is an external device of the communication device and an external device of the target device via a wireless LAN;
operate the communication device as an execution means for executing a second wireless communication to transmit predetermined information to the target device using a peer-to-peer wireless connection between the communication device and the target device not via the external device, the second wireless communication being established based on the communication information acquired by the first wireless communication with the target device, based on a result of broadcasting the predetermined command executed in a state in which the target device does not belong to the predetermined network;
The program, wherein the first wireless communication is executed by Near Field Communication (NFC), which is a short-range wireless communication method different from a communication method used for the second wireless communication.
前記第1無線通信は、前記第2無線通信に用いられる通信方式及び、前記第3無線通信に用いられる通信方式と異なる近距離無線通信方式によって実行されることを特徴とする請求項1に記載のプログラム。 the execution means executes a third wireless communication to transmit the predetermined information to the target device using a wireless connection between the communication device and the target device via the external device based on a result of broadcasting the predetermined command executed in a state in which the target device belongs to the predetermined network;
2 . The program according to claim 1 , wherein the first wireless communication is performed by a short-range wireless communication method different from a communication method used for the second wireless communication and a communication method used for the third wireless communication.
前記対象装置が、前記ピアツーピアで無線通信するためのモードで動作していないこと、前記所定のネットワークに前記対象装置が属していない場合の前記所定の命令のブロードキャストの実行の結果に基づいて、前記第2無線通信を実行し、
前記対象装置が、前記ピアツーピアで無線通信するためのモードで動作していないこと、前記所定のネットワークに前記対象装置が属している場合の前記所定の命令のブロードキャストの実行の結果に基づいて、前記第3無線通信を実行することを特徴とする請求項2に記載のプログラム。 performing the second wireless communication based on the target device already operating in a mode for wirelessly communicating peer-to-peer;
performing the second wireless communication based on a result of execution of the broadcast of the predetermined command when the target device is not operating in a mode for wirelessly communicating peer-to-peer and the target device does not belong to the predetermined network;
The program according to claim 2, characterized in that the third wireless communication is performed based on the result of the execution of the broadcast of the specified command when the target device is not operating in a mode for peer-to-peer wireless communication and the target device belongs to the specified network .
前記第1判定手段は、前記近距離無線通信方式によって取得される情報に基づいて、判定を実行することを特徴とする請求項1乃至3のいずれか1項に記載のプログラム。 a first determining means for determining whether the target device is already operating in a mode for peer-to-peer wireless communication;
4. The program according to claim 1, wherein the first determination means executes the determination based on information acquired by the short-distance wireless communication method.
前記第2判定手段は、前記所定の命令がブロードキャストされた後、前記所定のネットワークに参加している装置から前記所定の命令のブロードキャストの実行に基づいて受信された応答であり、且つ対象装置の識別情報に対応する応答である所定の応答が前記通信装置によって検出されたか否かに基づいて、判定を実行することを特徴とする請求項1乃至4のいずれか1項に記載のプログラム。 a second determination unit that determines whether the target device belongs to the predetermined network;
The program described in any one of claims 1 to 4, characterized in that the second determination means performs a determination based on whether or not a specified response is detected by the communication device after the specified command is broadcast, the specified response being a response received from a device participating in the specified network based on execution of the broadcast of the specified command and corresponding to identification information of the target device.
前記第2判定手段は、前記所定の命令がブロードキャストされた後、前記所定のネットワークに参加している装置から前記所定の命令のブロードキャストの実行に基づいて受信された応答であり、且つ対象装置の識別情報に対応する応答である所定の応答が前記通信装置によって検出されたか否かに基づいて、判定を実行し、
前記第1判定手段によって、前記対象装置が、前記ピアツーピアで無線通信するためのモードで動作していないと判定された後に、前記第2判定手段によって、前記所定のネットワークに前記対象装置が属しているか否かが判定されることを特徴とする請求項4に記載のプログラム。 a second determination unit that determines whether the target device belongs to the predetermined network;
the second determination means, after the predetermined command is broadcast, performs a determination based on whether or not a predetermined response is detected by the communication device, the predetermined response being a response received based on the execution of the broadcast of the predetermined command from a device participating in the predetermined network and corresponding to identification information of a target device;
5. The program according to claim 4, characterized in that after the first determination means determines that the target device is not operating in a mode for peer-to-peer wireless communication, the second determination means determines whether or not the target device belongs to the specified network.
前記通信装置が前記ピアツーピアで無線通信するためのモードで動作していないことと、前記指示を前記通信装置が受信したことに基づいて、前記通信装置は、前記ピアツーピアで無線通信するためのモードへ移行し、
前記所定の情報の送信に用いられる前記ピアツーピアの無線接続が、前記通信装置が前記ピアツーピアで無線通信するためのモードへ移行した後に確立されることを特徴とする請求項1乃至12のいずれか1項に記載のプログラム。 the target device further operates as a transmission means for transmitting, via the short-range wireless communication system, an instruction for operating the communication device in a mode for wireless communication in the peer-to-peer manner, based on a result of broadcasting the predetermined command executed in a state in which the target device does not belong to the predetermined network;
based on the communication device not operating in a mode for peer-to-peer wireless communication and the communication device receiving the instruction, the communication device transitions to the mode for peer-to-peer wireless communication;
13. The program according to claim 1, wherein the peer-to-peer wireless connection used to transmit the specified information is established after the communication device transitions to a mode for peer-to-peer wireless communication.
前記所定の情報は、前記対象装置に印刷を実行させるための印刷ジョブであることを特徴とする請求項1乃至14のいずれか1項に記載のプログラム。 the target device is a printing device that executes printing;
15. The program according to claim 1, wherein the predetermined information is a print job for causing the target device to execute printing.
前記所定の情報は、前記選択画面においてユーザに選択された画像データに基づく情報であることを特徴とする請求項1乃至15のいずれか1項に記載のプログラム。 further operating as a display means for displaying a selection screen for selecting image data;
16. The program according to claim 1, wherein the predetermined information is information based on image data selected by a user on the selection screen.
前記所定のネットワークに前記対象装置が属している場合の前記所定の命令のブロードキャストの実行の結果は、前記所定の応答が前記通信装置によって検出されるという結果である、
ことを特徴とする請求項1乃至16のいずれか1項に記載のプログラム。 a result of the execution of the broadcast of the predetermined command when the target device does not belong to the predetermined network is that the communication device does not detect a predetermined response that is a response received based on the execution of the broadcast of the predetermined command from a device participating in the predetermined network and that corresponds to the identification information of the target device;
a result of the broadcast of the predetermined command when the target device belongs to the predetermined network is that the predetermined response is detected by the communication device.
17. The program according to claim 1 ,
対象装置との第1無線通信によって通信情報を取得する取得手段と、
前記通信装置が、前記通信装置の外部且つ前記対象装置の外部の装置である外部装置に無線LANによって接続することにより前記通信装置が参加している所定のネットワークに、所定の命令をブロードキャストするブロードキャスト手段と、
前記所定のネットワークに前記対象装置が属していない状態において実行された前記所定の命令のブロードキャストの結果に基づいて、前記対象装置との第1無線通信によって取得された前記通信情報に基づいて確立される、前記外部装置を介さない前記通信装置と前記対象装置との間のピアツーピアの無線接続を用いて、所定の情報を前記対象装置に対して送信する第2無線通信を実行する実行手段を有し、
前記第1無線通信は、前記第2無線通信に用いられる通信方式と異なる近距離無線通信方式であるNear Field Communication(NFC)によって実行されることを特徴とする通信装置。 1. A communication device, comprising:
An acquisition means for acquiring communication information through a first wireless communication with a target device;
a broadcasting means for broadcasting a predetermined command to a predetermined network in which the communication device participates by connecting the communication device to an external device that is an external device of the communication device and an external device of the target device via a wireless LAN;
an execution means for executing a second wireless communication to transmit predetermined information to the target device using a peer-to-peer wireless connection between the communication device and the target device not via the external device, the second wireless communication being established based on the communication information acquired by the first wireless communication with the target device, based on a result of broadcasting the predetermined command executed in a state in which the target device does not belong to the predetermined network;
The communication device, wherein the first wireless communication is performed by Near Field Communication (NFC), which is a short-range wireless communication method different from a communication method used for the second wireless communication.
対象装置との第1無線通信によって通信情報を取得する取得ステップと、
前記通信装置が、前記通信装置の外部且つ前記対象装置の外部の装置である外部装置に無線LANによって接続することにより前記通信装置が参加している所定のネットワークに、所定の命令をブロードキャストするブロードキャストステップと、
前記所定のネットワークに前記対象装置が属していない状態において実行された前記所定の命令のブロードキャストの結果に基づいて、前記対象装置との第1無線通信によって取得された前記通信情報に基づいて確立される、前記外部装置を介さない前記通信装置と前記対象装置との間のピアツーピアの無線接続を用いて、所定の情報を前記対象装置に対して送信する第2無線通信を実行する実行ステップを有し、
前記第1無線通信は、前記第2無線通信に用いられる通信方式と異なる近距離無線通信方式であるNear Field Communication(NFC)によって実行されることを特徴とする制御方法。
A method for controlling a communication device, comprising:
an acquisition step of acquiring communication information through a first wireless communication with a target device;
a broadcast step in which the communication device broadcasts a predetermined command to a predetermined network in which the communication device participates by connecting to an external device that is an external device of the communication device and an external device of the target device via a wireless LAN;
and executing, based on a result of broadcasting the predetermined command executed in a state in which the target device does not belong to the predetermined network, a second wireless communication for transmitting predetermined information to the target device using a peer-to-peer wireless connection between the communication device and the target device not via the external device, the second wireless communication being established based on the communication information acquired by the first wireless communication with the target device;
The control method, wherein the first wireless communication is performed by Near Field Communication (NFC), which is a short-range wireless communication method different from a communication method used for the second wireless communication.
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014117848 | 2014-06-06 | ||
JP2014117848 | 2014-06-06 | ||
JP2020068601A JP7027477B2 (en) | 2014-06-06 | 2020-04-06 | Communication equipment and control methods and programs |
JP2022021413A JP7302050B2 (en) | 2014-06-06 | 2022-02-15 | Communication device, control method and program |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022021413A Division JP7302050B2 (en) | 2014-06-06 | 2022-02-15 | Communication device, control method and program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2023112032A JP2023112032A (en) | 2023-08-10 |
JP2023112032A5 JP2023112032A5 (en) | 2023-09-25 |
JP7646744B2 true JP7646744B2 (en) | 2025-03-17 |
Family
ID=68390881
Family Applications (4)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019108082A Active JP6701415B2 (en) | 2014-06-06 | 2019-06-10 | Communication device, control method, and program |
JP2020068601A Active JP7027477B2 (en) | 2014-06-06 | 2020-04-06 | Communication equipment and control methods and programs |
JP2022021413A Active JP7302050B2 (en) | 2014-06-06 | 2022-02-15 | Communication device, control method and program |
JP2023099827A Active JP7646744B2 (en) | 2014-06-06 | 2023-06-19 | COMMUNICATION DEVICE, CONTROL METHOD, AND PROGRAM |
Family Applications Before (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019108082A Active JP6701415B2 (en) | 2014-06-06 | 2019-06-10 | Communication device, control method, and program |
JP2020068601A Active JP7027477B2 (en) | 2014-06-06 | 2020-04-06 | Communication equipment and control methods and programs |
JP2022021413A Active JP7302050B2 (en) | 2014-06-06 | 2022-02-15 | Communication device, control method and program |
Country Status (1)
Country | Link |
---|---|
JP (4) | JP6701415B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6701415B2 (en) * | 2014-06-06 | 2020-05-27 | キヤノン株式会社 | Communication device, control method, and program |
JP2016012910A (en) | 2014-06-06 | 2016-01-21 | キヤノン株式会社 | Communication equipment, control method, and program |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013214804A (en) | 2012-03-30 | 2013-10-17 | Brother Ind Ltd | Communication device |
JP2014027384A (en) | 2012-07-25 | 2014-02-06 | Brother Ind Ltd | Communication device and mobile terminal |
JP2014078866A (en) | 2012-10-11 | 2014-05-01 | Brother Ind Ltd | Image forming apparatus, information processing apparatus, and image forming system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130054321A (en) * | 2010-06-23 | 2013-05-24 | 퀄컴 인코포레이티드 | Event-triggered peer discovery |
JP5941300B2 (en) * | 2012-03-05 | 2016-06-29 | キヤノン株式会社 | Information processing apparatus, information processing apparatus control method, and program |
JP5884633B2 (en) * | 2012-05-15 | 2016-03-15 | ブラザー工業株式会社 | Communication device |
JP5954024B2 (en) * | 2012-07-27 | 2016-07-20 | ブラザー工業株式会社 | Communication device |
JP6035969B2 (en) | 2012-08-03 | 2016-11-30 | ブラザー工業株式会社 | Communication device |
JP6701415B2 (en) * | 2014-06-06 | 2020-05-27 | キヤノン株式会社 | Communication device, control method, and program |
-
2019
- 2019-06-10 JP JP2019108082A patent/JP6701415B2/en active Active
-
2020
- 2020-04-06 JP JP2020068601A patent/JP7027477B2/en active Active
-
2022
- 2022-02-15 JP JP2022021413A patent/JP7302050B2/en active Active
-
2023
- 2023-06-19 JP JP2023099827A patent/JP7646744B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013214804A (en) | 2012-03-30 | 2013-10-17 | Brother Ind Ltd | Communication device |
JP2014027384A (en) | 2012-07-25 | 2014-02-06 | Brother Ind Ltd | Communication device and mobile terminal |
JP2014078866A (en) | 2012-10-11 | 2014-05-01 | Brother Ind Ltd | Image forming apparatus, information processing apparatus, and image forming system |
Also Published As
Publication number | Publication date |
---|---|
JP6701415B2 (en) | 2020-05-27 |
JP7027477B2 (en) | 2022-03-01 |
JP2019193282A (en) | 2019-10-31 |
JP2022059004A (en) | 2022-04-12 |
JP7302050B2 (en) | 2023-07-03 |
JP2020115670A (en) | 2020-07-30 |
JP2023112032A (en) | 2023-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11966654B2 (en) | Communication apparatus capable of carrying out near field communication with a target apparatus, control method, and program | |
JP5941300B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
US9836260B2 (en) | Communication apparatus, terminal apparatus, control methods thereof, and non-transitory computer-readable storage medium | |
US10735603B2 (en) | Image forming apparatus with near-field and direct wireless communication | |
JP7646744B2 (en) | COMMUNICATION DEVICE, CONTROL METHOD, AND PROGRAM | |
JP6482406B2 (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM | |
JP6700969B2 (en) | Communication device, control method thereof, and program | |
US9596006B2 (en) | Information processing apparatus and power supply control method | |
CN106878579B (en) | Information processing apparatus, control method for information processing apparatus, and storage medium | |
US9503591B2 (en) | Image processing apparatus, mobile terminal, system, methods of controlling these, and storage medium | |
JP7546633B2 (en) | Printing device, program, and control method | |
JP2020047288A (en) | Information processor and control method thereof, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230713 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230913 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20231213 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240604 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240802 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20241022 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20241213 |
|
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: 20250204 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250305 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7646744 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |