JP2014120804A - Wireless communication system, wireless communication device, communication method, control method, and program - Google Patents

Wireless communication system, wireless communication device, communication method, control method, and program Download PDF

Info

Publication number
JP2014120804A
JP2014120804A JP2012272472A JP2012272472A JP2014120804A JP 2014120804 A JP2014120804 A JP 2014120804A JP 2012272472 A JP2012272472 A JP 2012272472A JP 2012272472 A JP2012272472 A JP 2012272472A JP 2014120804 A JP2014120804 A JP 2014120804A
Authority
JP
Japan
Prior art keywords
wireless communication
communication device
connection
counterpart
wireless
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012272472A
Other languages
Japanese (ja)
Other versions
JP2014120804A5 (en
JP6224891B2 (en
Inventor
Norihiro Ikeda
宣弘 池田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2012272472A priority Critical patent/JP6224891B2/en
Publication of JP2014120804A publication Critical patent/JP2014120804A/en
Publication of JP2014120804A5 publication Critical patent/JP2014120804A5/ja
Application granted granted Critical
Publication of JP6224891B2 publication Critical patent/JP6224891B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To efficiently perform data transfer processing with a plurality of communication devices.SOLUTION: A wireless communication device for wirelessly connecting with each of a plurality of partner communication devices to perform communication notifies a plurality of respective partner communication devices of wireless communication parameters for connecting the wireless communication device differing from each other, in response to connection requests from the plurality of respective partner communication devices; establishes connection with a first partner communication device by transmitting a message for establishing the connection by using a first wireless communication parameter of which the first partner communication device is notified; and tries to establish connection with a second partner communication device by transmitting a message for establishing the connection by using a second wireless communication parameter of which the second partner communication device is notified, when the connection with the first partner communication device using the first wireless communication parameter is broken.

Description

本発明は複数の接続要求を処理する通信技術に関する。   The present invention relates to a communication technique for processing a plurality of connection requests.

近年、デジタルカメラで撮像した画像データをパーソナルコンピュータに取り込むことなく、デジタルカメラをプリンタに直接接続してプリントアウトするダイレクトプリントサービス(DPS)技術を実装したカメラがある。代表的なダイレクトプリントサービスの通信規格として「PictBridge」があり、このPictBridge対応の機器同士は、特別なソフトウェアをインストールすることなく、USBケーブルで接続して直接印刷を行なうことができる。   In recent years, there is a camera equipped with a direct print service (DPS) technology in which a digital camera is directly connected to a printer and printed out without taking image data captured by the digital camera into a personal computer. As a typical direct print service communication standard, there is “PictBridge”, and devices compatible with PictBridge can be directly connected to each other by a USB cable without installing special software.

また、家庭内にもワイヤレス製品が急速に普及しており、無線LAN経由でデジタルカメラをプリンタに直接接続してプリントアウトする機能を備えたデジタルカメラとプリンタが製品化されている。現在、このような無線LANでもPictBridgeが用いられている。このシステムにより、プリンタは複数のデジタルカメラとの間で同一の無線ネットワークを構成し、複数のデジタルカメラからの個別の印刷要求に応じて印刷データの出力が可能である。なお、複数のデジタルカメラがプリンタに接続される場合、デジタルカメラは、複数の印刷要求が同時に発生する事態に対応するため、印刷を希望するプリンタに対して定期的に印刷許可の確認を実行し、印刷許可を確認した後に印刷処理を開始する。   Also, wireless products are rapidly spreading in the home, and digital cameras and printers having a function of directly connecting a digital camera to a printer via a wireless LAN and printing out have been commercialized. Currently, PictBridge is also used in such a wireless LAN. With this system, the printer forms the same wireless network with a plurality of digital cameras, and print data can be output in response to individual print requests from the plurality of digital cameras. When multiple digital cameras are connected to the printer, the digital camera periodically checks the print permission for the printer that wants to print in order to handle the situation where multiple print requests occur simultaneously. The printing process is started after confirming the printing permission.

また、近接無線通信(NFC:Near Field Communication)等を利用して、2つの機器同士を密着させることで、無線LANの設定パラメータを双方の機器に設定することにより、無線通信における設定操作を簡略化する技術がある。   In addition, by using close field communication (NFC: Near Field Communication) and the like, two devices are brought into close contact with each other, thereby setting the wireless LAN setting parameters in both devices, thereby simplifying the setting operation in wireless communication. There is a technology to make it.

カメラとプリンタとのような1対多の通信に関する制御技術として、例えば、特許文献1、特許文献2及び特許文献3が挙げられる。特許文献1には、複数の撮像装置(カメラ)と画像出力装置(プリンタ)とが無線接続され、2台目の撮像装置からの印刷要請に対する問い合わせに対して画像出力装置の動作状態を撮像装置に通知するシステムが記載されている。特許文献1は、同一のネットワーク内でプリンタに接続している2台目以降のデジタルカメラが、1対1接続で使われていた手順を用いると、無線接続した状態で待たされる、という問題に対する解決策を与えている。   Examples of control technologies related to one-to-many communication such as a camera and a printer include Patent Document 1, Patent Document 2, and Patent Document 3. In Patent Document 1, a plurality of image pickup devices (cameras) and an image output device (printer) are wirelessly connected, and an operation state of the image output device is inquired in response to a print request from the second image pickup device. The system to notify is described. Japanese Patent Laid-Open No. 2004-228688 addresses the problem that the second and subsequent digital cameras connected to the printer in the same network are kept in a wireless connection state when using the procedure used in a one-to-one connection. Giving a solution.

また、特許文献2には、送信バッファに蓄積されたパケット量に基づいて、通信ノードごとに間欠受信間隔を決定し、決定された間欠受信間隔に合わせて各通信ノードがビーコンを間欠的に受信するように各通信ノードに要求する方法が記載されている。特許文献2では、このような構成により、無線通信装置における省電力モードでの間欠受信間隔の適正化を図っている。   Further, in Patent Document 2, an intermittent reception interval is determined for each communication node based on the amount of packets accumulated in a transmission buffer, and each communication node intermittently receives a beacon according to the determined intermittent reception interval. A method for requesting each communication node is described. According to Patent Literature 2, the intermittent reception interval in the power saving mode in the wireless communication device is optimized by such a configuration.

特許文献3は、基地局が、間欠的に干渉信号の検出を行い、干渉信号が検出されない場合はビーコンを送信し、端末は、データ送信前にスリープモードから立ち上がり、受信待受を行い、ビーコンを受信した直後のみデータを送信することが記載されている。また、特許文献3には、端末がビーコンを受信できない場合に再びスリープモードへ移行し、所定時間経過後に上記のシーケンスを繰り返す無線通信システムが記載されている。特許文献3に記載の技術により、干渉を軽減する機能を有しながら、端末主導のランダムアクセスが可能となり消費電力を抑えることが可能となる。   According to Patent Document 3, a base station intermittently detects an interference signal and transmits a beacon when no interference signal is detected. The terminal rises from a sleep mode before data transmission, waits for reception, and receives a beacon. It is described that data is transmitted only immediately after receiving. Further, Patent Document 3 describes a wireless communication system in which when a terminal cannot receive a beacon, it shifts to a sleep mode again and repeats the above sequence after a predetermined time has elapsed. With the technique described in Patent Document 3, it is possible to perform terminal-initiated random access and suppress power consumption while having a function of reducing interference.

特開2004−322420号公報JP 2004-322420 A 特開2007−096898号公報JP 2007-096898 A 特開2008−301006号公報JP 2008-301006 A

複数の印刷要求が同時に発生する印刷システムでは、例えば、プリンタのメモリ容量などに制限がある。したがって、印刷データの蓄積(スプール)機能の問題により、同一ネットワーク内で発生する複数の印刷要求を同時に取り扱う事ができない場合がある。この場合、印刷を希望する複数のユーザが、印刷の順番待ちのために前の印刷処理が終了するのを見届けるまでプリンタの周辺で待機し、これにより無駄な時間を浪費しうるという課題があった。また、デジタルカメラは、プリンタに対して定期的に印刷許可を確認するためのメッセージを送信する。したがって、プリンタ側の都合により印刷待機が長時間に及んだ場合、確認メッセージの送信処理が長時間にわたって繰り返されてしまう。このようなメッセージ送信の繰り返し処理は、無線通信機能を使用するため、特にデジタルカメラのような可搬型のデバイス装置では無線ハードウエアにより著しくバッテリーを消費しうるという課題があった。   In a printing system in which a plurality of print requests are generated at the same time, for example, the memory capacity of the printer is limited. Therefore, a plurality of print requests generated in the same network may not be handled at the same time due to a problem of the print data accumulation (spool) function. In this case, there is a problem that a plurality of users who desire printing can wait in the vicinity of the printer until it sees that the previous printing process is completed due to waiting for the printing order, thereby wasting unnecessary time. It was. In addition, the digital camera periodically transmits a message for confirming print permission to the printer. Therefore, when the printing standby is performed for a long time due to the convenience of the printer, the confirmation message transmission process is repeated for a long time. Such repeated processing of message transmission uses a wireless communication function, so that a portable device such as a digital camera has a problem that the battery can be consumed significantly by wireless hardware.

本発明は上記課題に鑑みなされたものであり、複数のデータ転送処理を効率的に行う技術を提供することを目的とする。   The present invention has been made in view of the above problems, and an object thereof is to provide a technique for efficiently performing a plurality of data transfer processes.

上記目的を達成するため、本発明による無線通信システムは、無線通信装置と、当該無線通信装置とそれぞれ無線で接続して通信を行う複数の相手方通信装置とを含む無線通信システムであって、前記無線通信装置は、前記複数の相手方通信装置のそれぞれからの接続要求に応じて、当該複数の相手方通信装置のそれぞれに対して、互いに異なる、前記無線通信装置と接続するための無線通信パラメータを通知する通知手段と、第1の相手方通信装置に通知した第1の無線通信パラメータを用いて接続を確立するためのメッセージを送信して、前記第1の無線通信パラメータを用いた接続を確立すると共に、前記第1の無線通信パラメータを用いた前記接続が切断されると、第2の相手方通信装置に通知した第2の無線通信パラメータを用いて接続を確立するためのメッセージを送信して、前記第2の無線通信パラメータを用いた接続の確立を試みる確立手段と、を有し、前記複数の相手方通信装置のそれぞれは、前記無線通信装置に前記接続要求をした後に、前記無線通信パラメータを受信する受信手段と、受信した前記無線通信パラメータを用いた前記無線通信装置との接続を確立するための前記メッセージを検出する検出手段と、前記メッセージを検出したことに応じて、前記無線通信装置と無線で接続する接続手段と、を有する。   In order to achieve the above object, a wireless communication system according to the present invention is a wireless communication system including a wireless communication device and a plurality of counterpart communication devices that perform wireless connection with the wireless communication device. In response to a connection request from each of the plurality of counterpart communication devices, the radio communication device notifies each of the plurality of counterpart communication devices of different radio communication parameters for connecting to the radio communication device. And a message for establishing a connection using the first wireless communication parameter notified to the first counterpart communication device, and establishing a connection using the first wireless communication parameter When the connection using the first wireless communication parameter is disconnected, the second wireless communication parameter notified to the second counterpart communication device is used. And establishing means for attempting to establish a connection using the second wireless communication parameter by transmitting a message for establishing a connection, and each of the plurality of counterpart communication devices communicates with the wireless communication device. Receiving means for receiving the wireless communication parameters after making the connection request; detecting means for detecting the message for establishing a connection with the wireless communication apparatus using the received wireless communication parameters; and the message And connecting means for connecting to the wireless communication device wirelessly.

本発明によれば、複数の通信装置とのデータ転送処理を効率的に行うことができる。   According to the present invention, data transfer processing with a plurality of communication devices can be performed efficiently.

無線通信システムのネットワーク構成の例を示す図。The figure which shows the example of the network structure of a radio | wireless communications system. 無線通信装置の機能構成を示すブロック図。1 is a block diagram showing a functional configuration of a wireless communication device. 無線通信装置に実装されるプロトコルレイヤの構成の例を示す図。The figure which shows the example of a structure of the protocol layer mounted in a radio | wireless communication apparatus. 無線通信システムの処理を示すシーケンスチャート。The sequence chart which shows the process of a radio | wireless communications system. プリンタ制御部の処理を説明するフローチャート。6 is a flowchart for explaining processing of a printer control unit. カメラ制御部の処理を説明するフローチャートFlow chart explaining processing of camera control unit 実施形態1に係る処理を実行後のネットワーク構成の例を示す図。The figure which shows the example of the network structure after performing the process which concerns on Embodiment 1. FIG. 無線通信システムのネットワーク構成の別の例を示す図。The figure which shows another example of the network structure of a radio | wireless communications system. 無線通信システムの処理の別の例を示すシーケンスチャート。The sequence chart which shows another example of the process of a radio | wireless communications system. プリンタ制御部の処理の別の例を説明するフローチャート。10 is a flowchart for explaining another example of processing of the printer control unit. 実施形態1に係る処理を実行後のネットワーク構成の例を示す図。The figure which shows the example of the network structure after performing the process which concerns on Embodiment 1. FIG.

以下、添付図面を参照して本発明の実施の形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

<<実施形態1>>
(システム構成)
図1は、本実施形態に係る無線通信システムのネットワーク構成図である。図1の無線通信システムは、プリンタ101、及びカメラ102〜104を含む。プリンタ101及びカメラ102〜104は、所定の通信方式を用いた無線通信回線の構築または参加により通信を行うことができる無線通信装置を備える。本無線通信システムにおいては、プリンタ101に含まれる無線通信装置の相手方通信装置が、カメラ102〜104の無線通信装置である。
<< Embodiment 1 >>
(System configuration)
FIG. 1 is a network configuration diagram of a wireless communication system according to the present embodiment. The wireless communication system in FIG. 1 includes a printer 101 and cameras 102 to 104. The printer 101 and the cameras 102 to 104 include a wireless communication device that can perform communication by constructing or participating in a wireless communication line using a predetermined communication method. In this wireless communication system, the counterpart communication device of the wireless communication device included in the printer 101 is the wireless communication device of the cameras 102 to 104.

なお、以下では、主としてプリンタ101及びカメラ102〜104のそれぞれの無線通信装置の動作について説明するが、簡単のため、以下の説明では、無線通信装置の機能を含めて「プリンタ」及び「カメラ」と呼ぶ。また、以下の説明では、カメラを例にとって説明しているが、これに限られない。例えば、カメラ102〜104は、例えば撮像機能を備えた携帯電話やスマートフォンなどと置き換えられてもよく、他にも、通信によりデータの送受信をする装置であれば装置の主な用途が何であってもよい。   In the following, the operations of the wireless communication apparatuses of the printer 101 and the cameras 102 to 104 will be mainly described. However, for the sake of simplicity, in the following description, “printer” and “camera” including the functions of the wireless communication apparatus are included. Call it. In the following description, a camera is described as an example, but the present invention is not limited to this. For example, the cameras 102 to 104 may be replaced with, for example, a mobile phone or a smartphone having an imaging function. In addition, what is the main use of the device as long as it is a device that transmits and receives data by communication? Also good.

本実施形態においては、プリンタ101とカメラ102との間には第1の通信リンクが構築され、プリンタ101とカメラ103との間には第2の通信リンクが構築され、また101とカメラ104との間には第3の通信リンクが構築される。なお、第1〜第3の通信リンクは、例えば無線LANにより構築されるものとし、図1には、無線LANの機器同士を直接接続するアドホックネットワークを用いた場合のネットワーク構成を示している。なお、プリンタ101とカメラ102〜カメラ104のいずれかとの間で用いる通信方式は、無線LANではないBluetooth(登録商標)等の他の無線通信方式であってもよい。   In the present embodiment, a first communication link is established between the printer 101 and the camera 102, a second communication link is established between the printer 101 and the camera 103, and 101 and the camera 104 are A third communication link is established between Note that the first to third communication links are constructed by, for example, a wireless LAN, and FIG. 1 shows a network configuration in the case of using an ad hoc network that directly connects devices of a wireless LAN. Note that the communication method used between the printer 101 and any of the cameras 102 to 104 may be another wireless communication method such as Bluetooth (registered trademark) that is not a wireless LAN.

本実施形態に係る無線通信システムでは、無線通信装置(プリンタ101)へ接続要求をした複数の相手方通信装置(カメラ102〜104)に対して、それぞれ異なる無線通信パラメータを決定して通知する。また、無線通信装置は、相手方通信装置が接続要求したことを、接続要求の予約として管理する。そして、通信装置は、第1の無線通信パラメータを用いた第1の相手方通信装置との通信を切断すると、接続要求が予約された順で、第2の相手方通信装置との通信を確立するためのメッセージ(例えばビーコン)を第2の無線通信パラメータを用いて送信する。第2の無線通信パラメータを通知された第2の相手方通信装置は、このメッセージを受信することにより、接続が可能であることを認識し、これに応じて無線通信装置と接続することができる。したがって、相手方通信装置は、接続要求後、無線通信装置からのメッセージを待ち受けていればよく、メッセージの受信前に不必要に接続要求信号などの信号を送り続けることがなくなる。以下、この無線通信システムに係る装置構成及び処理の動作について詳述する。   In the wireless communication system according to the present embodiment, different wireless communication parameters are determined and notified to a plurality of counterpart communication devices (cameras 102 to 104) that have requested connection to the wireless communication device (printer 101). Further, the wireless communication device manages that the connection request is received by the counterpart communication device as a reservation for the connection request. When the communication device disconnects communication with the first counterpart communication device using the first wireless communication parameter, the communication device establishes communication with the second counterpart communication device in the order in which the connection request is reserved. Message (for example, beacon) is transmitted using the second wireless communication parameter. The second counterpart communication apparatus notified of the second wireless communication parameter can recognize that the connection is possible by receiving this message, and can connect to the wireless communication apparatus accordingly. Therefore, the counterpart communication device only has to wait for a message from the wireless communication device after the connection request, and it is not necessary to send a signal such as a connection request signal unnecessarily before receiving the message. Hereinafter, the apparatus configuration and processing operation according to the wireless communication system will be described in detail.

(装置構成)
図2は、本実施形態に係るプリンタ101およびカメラ102〜カメラ104の無線通信装置を含む装置構成を概略的に示すブロック図である。図2においては、主として無線通信機能に関する機能ブロックを図示し、各装置に固有の機能部に関しては図示を省略している。図2の無線通信装置は、無線LANアンテナ201、無線LANアンテナ201を介して無線信号の送受信を行う無線LAN通信部202、NFCアンテナ209、及びNFCアンテナ209を介して近接無線信号の送受信を行うNFC通信部208を有する。また、無線通信装置は、不揮発メモリ部(ROM)203、揮発メモリ部(RAM)204、制御部205、表示制御部206、及び機器制御のための情報入力および操作等を行うキー入力部207を有する。
(Device configuration)
FIG. 2 is a block diagram schematically showing a device configuration including the printer 101 and the wireless communication devices of the camera 102 to the camera 104 according to the present embodiment. In FIG. 2, functional blocks mainly relating to the wireless communication function are illustrated, and functional units unique to each device are not shown. The wireless communication apparatus in FIG. 2 transmits / receives a proximity wireless signal via the wireless LAN antenna 201, the wireless LAN communication unit 202 that transmits / receives a wireless signal via the wireless LAN antenna 201, the NFC antenna 209, and the NFC antenna 209. An NFC communication unit 208 is included. The wireless communication device also includes a nonvolatile memory unit (ROM) 203, a volatile memory unit (RAM) 204, a control unit 205, a display control unit 206, and a key input unit 207 for performing information input and operation for device control. Have.

(装置のソフトウェア構成)
本実施形態では、カメラ102〜104は、それぞれプリンタ101との間に直接通信の無線リンクを構築し、アプリケーションレイヤにおいて画像データを印刷するための機能を備える。具体的なソフトウェア構成としては、プリンタ101は印刷アプリのServer機能を備え、カメラ102〜104は印刷アプリのClient機能を備える。そして、プリンタ101と各カメラ102〜104は、アプリケーションレイヤでメッセージを交換して、印刷サービスを提供する。
(Software configuration of the device)
In the present embodiment, each of the cameras 102 to 104 has a function of establishing a wireless link for direct communication with the printer 101 and printing image data in the application layer. As a specific software configuration, the printer 101 has a server function of a printing application, and the cameras 102 to 104 have a client function of the printing application. The printer 101 and each of the cameras 102 to 104 exchange messages at the application layer to provide a print service.

また、プリンタ101とカメラ102〜104のそれぞれとの間において、通信セッションを確立するための通信プロトコルを制御するために、プリンタ101はプリンタ制御部を、カメラ102〜104はデジタルカメラ制御部を、それぞれ備える。   In addition, in order to control a communication protocol for establishing a communication session between the printer 101 and each of the cameras 102 to 104, the printer 101 has a printer control unit, the cameras 102 to 104 have a digital camera control unit, Prepare each.

また、プリンタ101及びカメラ102〜104は、無線ネットワーク上で通信装置の情報を収集するために、通信プロトコルとしてTCP/IPを実行する機能を備える。TCP/IPは、プリンタ101とカメラ102〜104のそれぞれとの間において通信リンクを確立する通信プロトコルである。   In addition, the printer 101 and the cameras 102 to 104 have a function of executing TCP / IP as a communication protocol in order to collect information on communication devices on a wireless network. TCP / IP is a communication protocol for establishing a communication link between the printer 101 and each of the cameras 102 to 104.

なお、プリンタ101は印刷アプリのServer機能とプリンタ制御部とを、カメラ102〜104は印刷アプリのClient機能とカメラ制御部とを備えるが、これらはソフトウェアと、それを実行するCPUなどの回路により実現されてもよい。そして、それぞれのソフトウェアは、ROM203に格納されてもよい。また、これらの機能部は、特定用途向け集積回路や専用のハードウェアを用いて実現されてもよい。   The printer 101 includes a print application server function and a printer control unit, and the cameras 102 to 104 include a print application client function and a camera control unit, which are configured by software and a circuit such as a CPU that executes the software. It may be realized. Each software may be stored in the ROM 203. In addition, these functional units may be realized by using an application specific integrated circuit or dedicated hardware.

以下、印刷アプリで使用されるアプリケーションレイヤの下位層ごとに、画像データの出力側の通信装置であるカメラ102〜104、画像出力側のプリンタ101について、図3を参照して説明する。参照番号301および311は無線LAN通信手順部であり、IEEE802.11準拠(WLANプロトコル)のデータパケット等を取り扱う。参照番号302および312はTCP/IP手順部であり、IPパケットおよび通信セッションプロトコルを含む、カメラ制御部303およびプリンタ制御部313のそれぞれのデータパケットを取扱う。参照番号303はカメラ制御部であり、インターネットプロトコル手順部302で使用する通信リンクと、印刷アプリ304で使用する印刷データとの整合を制御する機能を備え、カメラ102〜104のそれぞれに実装される。313はプリンタ制御部であり、インターネットプロトコル手順部312で使用する通信リンクと印刷アプリ314で使用する印刷データとの整合を制御する機能を備え、プリンタ101に実装される。304はアプリケーション手順部であり、印刷サービスの起動を行うClient機能を備え、カメラ102〜104のそれぞれに実装される。印刷アプリ314は、印刷サービスのServer機能を備え、プリンタ101に実装される。305および315はNFC通信手順部であり、Felica、ISO/IEC 14443(MIFARE)、ISO/IEC18092などに準拠した(NFCプロトコルの)データパケット等を取り扱う。   Hereinafter, for each lower layer of the application layer used in the print application, the cameras 102 to 104 that are communication devices on the image data output side and the printer 101 on the image output side will be described with reference to FIG. Reference numerals 301 and 311 denote wireless LAN communication procedure units, which handle IEEE802.11 compliant (WLAN protocol) data packets and the like. Reference numerals 302 and 312 denote TCP / IP procedure units, which handle the respective data packets of the camera control unit 303 and the printer control unit 313 including the IP packet and the communication session protocol. Reference numeral 303 denotes a camera control unit, which has a function of controlling matching between a communication link used in the Internet protocol procedure unit 302 and print data used in the print application 304, and is mounted on each of the cameras 102 to 104. . A printer control unit 313 has a function of controlling matching between a communication link used in the Internet protocol procedure unit 312 and print data used in the print application 314, and is installed in the printer 101. An application procedure unit 304 includes a client function for starting a print service, and is installed in each of the cameras 102 to 104. The print application 314 has a print service server function and is installed in the printer 101. Reference numerals 305 and 315 denote NFC communication procedure units, which handle data packets (based on the NFC protocol) conforming to Felica, ISO / IEC 14443 (MIFARE), ISO / IEC 18092, and the like.

(無線通信システム及び各装置の動作)
以下、無線通信システムと、それに含まれるプリンタ101及びカメラ102〜104の動作について、図4〜図7を用いて説明する。
(Operation of wireless communication system and each device)
Hereinafter, the wireless communication system and the operations of the printer 101 and the cameras 102 to 104 included in the wireless communication system will be described with reference to FIGS.

図4は、本実施形態に係る無線通信システムにおいてネットワークを構成するプリンタ101及びカメラ102〜104のメッセージの送受信処理を示すシーケンスチャートである。図5はカメラ102〜104のカメラ制御部303の処理に関するフローチャートであり、図6はプリンタ101のプリンタ制御部313の処理に関するフローチャートである。また、図7は、ここで説明する無線通信システムの処理の実行後のネットワークの状態の例を示す図である。   FIG. 4 is a sequence chart showing message transmission / reception processing of the printer 101 and the cameras 102 to 104 configuring the network in the wireless communication system according to the present embodiment. FIG. 5 is a flowchart relating to processing of the camera control unit 303 of the cameras 102 to 104, and FIG. 6 is a flowchart relating to processing of the printer control unit 313 of the printer 101. FIG. 7 is a diagram illustrating an example of the state of the network after execution of processing of the wireless communication system described here.

初めに、カメラ102の動作について、カメラ制御部303の動作を中心として説明する。   First, the operation of the camera 102 will be described focusing on the operation of the camera control unit 303.

まず、例えば、印刷を希望するユーザによるキー入力部207の操作により、カメラ102の印刷アプリ304が起動する。そして、プリンタ101のNFCアンテナ209とカメラ102のNFCアンテナ209とが数センチメートルの距離に近接させられることにより、プリンタ101とカメラ102との間で印刷処理を実行するためのネットワークが構築される。カメラ102のNFC通信部208は、NFCアンテナ209とNFC通信手順部305とを介して、NFC通信の開始をカメラ制御部303に通知する。カメラ102のカメラ制御部303は、NFC通信の開始の通知を受けると(S601でYES)、プリンタ101に対して接続要求メッセージを送信し(M401、S602)、プリンタ101からの応答メッセージ待ちに遷移する(S603)。以上のカメラ102によるNFC通信の起動処理は、カメラ103及びカメラ104においても同様に実行される(M403、M405)が、これについての詳細な説明は省略する。   First, for example, the printing application 304 of the camera 102 is activated by an operation of the key input unit 207 by a user who desires printing. Then, the NFC antenna 209 of the printer 101 and the NFC antenna 209 of the camera 102 are brought close to each other by a distance of several centimeters, so that a network for executing print processing between the printer 101 and the camera 102 is constructed. . The NFC communication unit 208 of the camera 102 notifies the camera control unit 303 of the start of NFC communication via the NFC antenna 209 and the NFC communication procedure unit 305. Upon receiving notification of the start of NFC communication (YES in S601), the camera control unit 303 of the camera 102 transmits a connection request message to the printer 101 (M401, S602), and transitions to waiting for a response message from the printer 101. (S603). The NFC communication activation process by the camera 102 is similarly executed in the camera 103 and the camera 104 (M403, M405), but detailed description thereof will be omitted.

続いて、プリンタ101からNFC通信によって接続応答メッセージを受信する場合(S603でYES)のカメラ102の動作について説明する。   Next, the operation of the camera 102 when a connection response message is received from the printer 101 by NFC communication (YES in S603) will be described.

カメラ102のNFC通信部208は、NFCアンテナ209を介してプリンタから接続応答メッセージを受信すると(M402)、NFC通信手順部305にメッセージデータを送信する。カメラ102のNFC通信手順部305は、M402の接続応答メッセージをカメラ制御部303に送信する。カメラ制御部303は、この接続応答メッセージを受信すると(S603でYES)、プリンタ101とカメラ102との間で構築する無線ネットワークに関するパラメータ情報群A(ネットワーク識別子A/使用チャネルAなど)を確認する。そして、カメラ制御部303は、パラメータ情報群AをRAM204に格納する(S604)。   Upon receiving a connection response message from the printer via the NFC antenna 209 (M402), the NFC communication unit 208 of the camera 102 transmits message data to the NFC communication procedure unit 305. The NFC communication procedure unit 305 of the camera 102 transmits a connection response message of M402 to the camera control unit 303. Upon receiving this connection response message (YES in S603), the camera control unit 303 confirms the parameter information group A (network identifier A / used channel A, etc.) relating to the wireless network established between the printer 101 and the camera 102. . Then, the camera control unit 303 stores the parameter information group A in the RAM 204 (S604).

一方、カメラ103のNFC通信部208は、NFCアンテナ209を介してプリンタから接続応答メッセージを受信すると(M404)、NFC通信手順部305にメッセージデータを送信する。そして、カメラ103のNFC通信手順部305は、M404の接続応答メッセージをカメラ制御部303に送信する。カメラ制御部303は、この接続応答メッセージを受信すると(S603でYES)、プリンタ101とカメラ103との間で構築する無線ネットワークに関するパラメータ情報群B(ネットワーク識別子B/使用チャネルBなど)を確認する。そして、カメラ制御部303は、パラメータ情報群BをRAM204に格納する(S604)。   On the other hand, when the NFC communication unit 208 of the camera 103 receives a connection response message from the printer via the NFC antenna 209 (M404), the NFC communication unit 208 transmits message data to the NFC communication procedure unit 305. Then, the NFC communication procedure unit 305 of the camera 103 transmits a connection response message of M404 to the camera control unit 303. Upon receiving this connection response message (YES in S603), the camera control unit 303 confirms the parameter information group B (network identifier B / used channel B, etc.) related to the wireless network established between the printer 101 and the camera 103. . Then, the camera control unit 303 stores the parameter information group B in the RAM 204 (S604).

同様に、カメラ104のNFC通信部208は、NFCアンテナ209を介してプリンタから接続応答メッセージを受信すると(M406)、NFC通信手順部305にメッセージデータを送信する。カメラ104のNFC通信手順部305は、M406の接続応答メッセージをカメラ制御部303に送信する。カメラ制御部303は、この接続応答メッセージを受信すると(S603でYES)、カメラ104との間で構築する無線ネットワークに関するパラメータ情報群C(ネットワーク識別子C/使用チャネルCなど)を確認する。そして、カメラ制御部303は、パラメータ情報群CをRAM204に格納する(S604)。   Similarly, upon receiving a connection response message from the printer via the NFC antenna 209 (M406), the NFC communication unit 208 of the camera 104 transmits message data to the NFC communication procedure unit 305. The NFC communication procedure unit 305 of the camera 104 transmits a connection response message of M406 to the camera control unit 303. When the camera control unit 303 receives this connection response message (YES in S603), the camera control unit 303 confirms a parameter information group C (network identifier C / used channel C, etc.) related to the wireless network established with the camera 104. Then, the camera control unit 303 stores the parameter information group C in the RAM 204 (S604).

カメラ102のカメラ制御部303は、プリンタ101との間で無線LANのネットワークを構築するため、ビーコン検出タイマーを起動する(S605)。次に、カメラ102のカメラ制御部303は、プリンタ101が送出するビーコンを検出するために、無線LAN通信手順部301に対してパラメータ情報群Aを使用してビーコンを検出するように指示する(M407)。カメラ102の無線LAN通信手順部301は、無線LAN通信部202に対して、パラメータ情報群Aを設定した後、ビーコンを検出するように指示する。   The camera control unit 303 of the camera 102 starts a beacon detection timer to establish a wireless LAN network with the printer 101 (S605). Next, the camera control unit 303 of the camera 102 instructs the wireless LAN communication procedure unit 301 to detect the beacon using the parameter information group A in order to detect the beacon transmitted by the printer 101 ( M407). The wireless LAN communication procedure unit 301 of the camera 102 instructs the wireless LAN communication unit 202 to detect the beacon after setting the parameter information group A.

カメラ102の無線LAN通信部202は、プリンタ101からのビーコンを検出すると、無線LAN通信手順部301を介してカメラ制御部303に通知する。   When detecting the beacon from the printer 101, the wireless LAN communication unit 202 of the camera 102 notifies the camera control unit 303 via the wireless LAN communication procedure unit 301.

カメラ102のカメラ制御部303は、プリンタ101のビーコンを検出すると(S606でYES)、無線LANの接続状態を確認する(S607)。このとき、カメラ制御部303は、無線LANが未接続状態(S607でNO)であるため、プリンタ101との間での無線LANの認証/アソシエーション処理(A)を起動する(M408、S608)。具体的には、例えば、カメラ102のカメラ制御部303は、無線LAN通信手順部301を介して無線LAN通信部202に認証/アソシエーション処理(A)の起動を指示する。   When detecting the beacon of the printer 101 (YES in S606), the camera control unit 303 of the camera 102 confirms the connection state of the wireless LAN (S607). At this time, since the wireless LAN is not connected (NO in S607), the camera control unit 303 activates the wireless LAN authentication / association process (A) with the printer 101 (M408, S608). Specifically, for example, the camera control unit 303 of the camera 102 instructs the wireless LAN communication unit 202 to start the authentication / association process (A) via the wireless LAN communication procedure unit 301.

カメラ102の無線LAN通信部202は、プリンタ101との間での無線LANの認証/アソシエーション処理(A)(M408)が完了すると、無線LAN通信手順部301を介してカメラ制御部303に通知する。カメラ102のカメラ制御部303は、プリンタ101との間で無線LANの認証/アソシエーション処理(A)の完了を確認すると(S609でYES)、通信中状態に遷移する。   When the wireless LAN authentication / association process (A) (M408) with the printer 101 is completed, the wireless LAN communication unit 202 of the camera 102 notifies the camera control unit 303 via the wireless LAN communication procedure unit 301. . When the camera control unit 303 of the camera 102 confirms the completion of the wireless LAN authentication / association process (A) with the printer 101 (YES in S609), the camera control unit 303 transitions to a communicating state.

この状態になると、カメラ102のカメラ制御部303は、印刷アプリ304に対してプリンタ101に対する画像データの転送処理(A)(M409)を要請し、画像データの転送を開始する(S610)。そして、カメラ102のカメラ制御部303は、無線接続を継続するか否かを判定し(S611)、継続しない場合(S611でNO)は、カメラ102の印刷処理に関する動作を停止する。一方、プリンタ101との無線接続を継続する場合(S611でYES)は、カメラ102のカメラ制御部303は、プリンタ101からのビーコンが継続して検出されるかを確認する(S606)。   In this state, the camera control unit 303 of the camera 102 requests the print application 304 to perform image data transfer processing (A) (M409) to the printer 101, and starts transfer of image data (S610). Then, the camera control unit 303 of the camera 102 determines whether or not to continue the wireless connection (S611). When the wireless connection is not continued (NO in S611), the operation of the camera 102 regarding the printing process is stopped. On the other hand, when the wireless connection with the printer 101 is continued (YES in S611), the camera control unit 303 of the camera 102 confirms whether or not the beacon from the printer 101 is continuously detected (S606).

プリンタ101からのビーコンが継続して検出され(S606でYES)、無線接続された状態の場合(S607でYES)、カメラ102のカメラ制御部303は、未送信の画像データの存在を確認する(S612)。未送信データがある場合(S612でYES)、カメラ102のカメラ制御部303は、印刷アプリ304に対してプリンタ101に対する画像データの転送処理を要請し、画像データの転送を開始する(S610)。また、未送信データがない場合(S612でNO)、カメラ102のカメラ制御部303は、ビーコン検出期間を従来よりも長く変更して(S614)、ビーコン検出タイマーを再起動する(S605)。このようにして、カメラ102が画像データを連続転送することが可能となる。   When the beacon from the printer 101 is continuously detected (YES in S606) and the wireless connection is established (YES in S607), the camera control unit 303 of the camera 102 confirms the presence of untransmitted image data ( S612). If there is untransmitted data (YES in S612), the camera control unit 303 of the camera 102 requests the print application 304 to transfer image data to the printer 101, and starts transferring the image data (S610). If there is no untransmitted data (NO in S612), the camera control unit 303 of the camera 102 changes the beacon detection period to be longer than before (S614) and restarts the beacon detection timer (S605). In this way, the camera 102 can continuously transfer the image data.

一方、カメラ102のカメラ制御部303は、プリンタ101からのビーコンが検出できない場合(S606でNO)、ビーコン検出タイマーを確認する(S613)。タイマーが満了していない場合(S613でNO)、カメラ102のカメラ制御部303は、ビーコン検出処理(S606)を繰り返す。また、ビーコン検出タイマーが満了した場合(S613でYES)は、カメラ102のカメラ制御部303は、ビーコン検出期間をより長く変更して(S614)、ビーコン検出タイマーを再起動する(S605)。   On the other hand, when the beacon from the printer 101 cannot be detected (NO in S606), the camera control unit 303 of the camera 102 checks the beacon detection timer (S613). If the timer has not expired (NO in S613), the camera control unit 303 of the camera 102 repeats the beacon detection process (S606). When the beacon detection timer expires (YES in S613), the camera control unit 303 of the camera 102 changes the beacon detection period longer (S614), and restarts the beacon detection timer (S605).

なお、カメラ103及びカメラ104の無線LAN通信部202は、共にパラメータ情報群Aではない無線通信用パラメータを設定しているため、この時点においてビーコンを受信することはない(ビーコン・ロス)。このため、カメラ103及びカメラ104においては、ビーコンが検出されないまま(S606でNO)、タイマーが満了することとなる(S613でYES)。このため、カメラ103及びカメラ104のカメラ制御部303は、ビーコン検出期間をより長く変更して(S614)、ビーコン検出タイマーを再起動して(S605)、プリンタ101とカメラ102との間の無線LAN接続が解放されるのを待つこととなる。   Note that the wireless LAN communication units 202 of the camera 103 and the camera 104 both set parameters for wireless communication that are not the parameter information group A, and therefore do not receive a beacon at this time (beacon loss). Therefore, in camera 103 and camera 104, the beacon is not detected (NO in S606), and the timer expires (YES in S613). For this reason, the camera control unit 303 of the camera 103 and the camera 104 changes the beacon detection period longer (S614), restarts the beacon detection timer (S605), and wirelessly communicates between the printer 101 and the camera 102. It will wait for the LAN connection to be released.

ここで、未送信データがないと判定された場合(S612でNO)、無線LAN接続を切断してもよい。すなわち、例えば、1つの印刷ジョブの転送が完了した場合は、無線LAN接続を切断してもよい。これにより、他のカメラが接続する機会が与えられることとなる。例えば、1つの印刷ジョブの転送が完了し、未送信データがなくなった場合は、カメラ102とプリンタ101との間の無線LAN接続を一度切断する。そして、プリンタ101は、印刷ジョブの予約(接続要求の予約)に応じた無線通信パラメータでビーコンを送信する。これにより、カメラ102は、他のカメラからの印刷ジョブの予約がない場合、または他のカメラからの印刷ジョブの転送が全て完了した場合に、S605からの処理により、再度プリンタ101と接続して印刷ジョブを転送することが可能となる。   If it is determined that there is no untransmitted data (NO in S612), the wireless LAN connection may be disconnected. That is, for example, when transfer of one print job is completed, the wireless LAN connection may be disconnected. This provides an opportunity for other cameras to connect. For example, when transfer of one print job is completed and there is no unsent data, the wireless LAN connection between the camera 102 and the printer 101 is once disconnected. Then, the printer 101 transmits a beacon with wireless communication parameters corresponding to print job reservation (connection request reservation). As a result, the camera 102 connects to the printer 101 again by the processing from S605 when there is no reservation for a print job from another camera or when all the transfer of the print job from the other camera is completed. A print job can be transferred.

次に、カメラ102〜104との間で通信を実行するプリンタ101の動作について、そのプリンタ制御部313の動作を中心に説明する。   Next, the operation of the printer 101 that performs communication with the cameras 102 to 104 will be described focusing on the operation of the printer control unit 313.

プリンタ101のNFC通信部208は、NFCアンテナ209を介してカメラ102から接続要求メッセージを受信すると(M401)、NFC通信手順部315にメッセージデータを送信する。プリンタ101のNFC通信手順部315は、M401の接続要求メッセージをプリンタ制御部313に送信する。   When receiving the connection request message from the camera 102 via the NFC antenna 209 (M401), the NFC communication unit 208 of the printer 101 transmits message data to the NFC communication procedure unit 315. The NFC communication procedure unit 315 of the printer 101 transmits a connection request message of M401 to the printer control unit 313.

プリンタ制御部313は、印刷予約が無い場合(S501でNO)、NFC通信の接続要求を監視する(S502)。このとき、プリンタ制御部313は、M401の接続要求メッセージを受信すると(S502でYES)、カメラ102との間で構築する無線ネットワークに関するパラメータ情報群A(ネットワーク識別子A/使用チャネルA等)を決定する。   If there is no print reservation (NO in S501), the printer control unit 313 monitors a connection request for NFC communication (S502). At this time, when the printer control unit 313 receives the connection request message of M401 (YES in S502), the printer control unit 313 determines a parameter information group A (network identifier A / used channel A, etc.) related to the wireless network established with the camera 102. To do.

次に、プリンタ制御部313は、カメラ102に対してパラメータ情報群Aを含めた接続応答メッセージを送信し(M402、S503)、パラメータ情報群AをRAM204に格納する(S504)。   Next, the printer control unit 313 transmits a connection response message including the parameter information group A to the camera 102 (M402, S503), and stores the parameter information group A in the RAM 204 (S504).

同様に、プリンタ制御部313は、カメラ103からのM403の接続要求メッセージを受信すると(S502でYES)、カメラ103との間で構築する無線ネットワークに関するパラメータ情報群B(ネットワーク識別子B/使用チャネルB等)を決定する。そして、プリンタ制御部313は、カメラ103に対してパラメータ情報群Bを含めた接続応答メッセージを送信し(M404、S503)、パラメータ情報群BをRAM204に格納する(S504)。また、プリンタ制御部313は、カメラ104からのM405の接続要求メッセージを受信すると(S502でYES)、カメラ104との間で構築する無線ネットワークに関するパラメータ情報群C(ネットワーク識別子C/使用チャネルC等)を決定する。そして、プリンタ制御部313は、カメラ104に対してパラメータ情報群Cを含めた接続応答メッセージを送信し(M406、S503)、パラメータ情報群CをRAM204に格納する(S504)。   Similarly, when the printer control unit 313 receives the M403 connection request message from the camera 103 (YES in S502), the parameter information group B (network identifier B / used channel B) related to the wireless network established with the camera 103 is obtained. Etc.). Then, the printer control unit 313 transmits a connection response message including the parameter information group B to the camera 103 (M404, S503), and stores the parameter information group B in the RAM 204 (S504). When the printer control unit 313 receives the M405 connection request message from the camera 104 (YES in S502), the parameter information group C (network identifier C / used channel C, etc.) regarding the wireless network established with the camera 104 is obtained. ). Then, the printer control unit 313 transmits a connection response message including the parameter information group C to the camera 104 (M406, S503), and stores the parameter information group C in the RAM 204 (S504).

このようにして、プリンタ制御部313は、カメラ102〜104のそれぞれとの間の無線ネットワークに関するパラメータ情報群A〜Cを決定して、RAM204に格納する。   In this way, the printer control unit 313 determines parameter information groups A to C related to the wireless network between the cameras 102 to 104 and stores them in the RAM 204.

パラメータ情報群A〜CをRAM204格納した後に、プリンタ制御部313は、印刷処理が実行中であるか否かを確認する(S505)。プリンタ制御部313は、現在プリンタ101が印刷処理中ではない(S505でNO)ため、無線LAN通信手順部311に対して、カメラ102に通知したパラメータ情報群Aを使用してビーコンを送出するように指示する(S506)。   After storing the parameter information groups A to C in the RAM 204, the printer control unit 313 confirms whether the printing process is being executed (S505). The printer control unit 313 sends a beacon to the wireless LAN communication procedure unit 311 using the parameter information group A notified to the camera 102 because the printer 101 is not currently printing (NO in S505). (S506).

プリンタ101において、無線LAN通信手順部311は、無線LAN通信部202に対して、パラメータ情報群Aを設定した後、ビーコンを送信する(M407)ように指示する。プリンタ101の無線LAN通信部202は、無線LAN通信手順部311からの送信指示により、パラメータ情報群Aを設定したビーコンを送信する(S506、M407)。   In the printer 101, the wireless LAN communication procedure unit 311 instructs the wireless LAN communication unit 202 to transmit the beacon after setting the parameter information group A (M407). The wireless LAN communication unit 202 of the printer 101 transmits a beacon in which the parameter information group A is set according to a transmission instruction from the wireless LAN communication procedure unit 311 (S506, M407).

また、プリンタ制御部313は、カメラ102との間で無線LANのネットワークを構築するためのタイマーを起動する(S506)。そして、プリンタ制御部313は、このタイマーが満了すると(S507でYES)、カメラ102とのネットワーク構築処理をキャンセルし、印刷予約の確認処理(S501)から、処理を繰り返す。   In addition, the printer control unit 313 activates a timer for establishing a wireless LAN network with the camera 102 (S506). When this timer expires (YES in S507), the printer control unit 313 cancels the network construction process with the camera 102 and repeats the process from the print reservation confirmation process (S501).

なお、タイマーが満了せず(S507でNO)、M407の時点のように無線LANが未接続の(S508でNO)場合、プリンタ制御部313は、カメラ102との間の無線LANの認証/アソシエーション処理(A)を起動する(M408、S509)。具体的には、例えば、プリンタ制御部313は、無線LAN通信手順部311を介して無線LAN通信部202に認証/アソシエーション処理(A)(M408)の起動を指示する(S509)。   If the timer does not expire (NO in S507) and the wireless LAN is not connected (NO in S508) as in M407, the printer control unit 313 performs wireless LAN authentication / association with the camera 102. The process (A) is started (M408, S509). Specifically, for example, the printer control unit 313 instructs the wireless LAN communication unit 202 to start the authentication / association process (A) (M408) via the wireless LAN communication procedure unit 311 (S509).

プリンタ101の無線LAN通信部202は、カメラ102との間で無線LANの認証/アソシエーション処理(A)(M408)が完了すると、無線LAN通信手順部311を介してプリンタ制御部313に通知する。プリンタ制御部313は、カメラ102との間で無線LANの認証/アソシエーション処理(A)(M408)の完了を確認すると(S510でYES)通信中状態に遷移する。   When the wireless LAN authentication / association process (A) (M408) with the camera 102 is completed, the wireless LAN communication unit 202 of the printer 101 notifies the printer control unit 313 via the wireless LAN communication procedure unit 311. When the printer control unit 313 confirms the completion of the wireless LAN authentication / association process (A) (M408) with the camera 102 (YES in S510), the printer control unit 313 shifts to a communication state.

プリンタ制御部313は、カメラ102からの無線LANデータの受信を確認すると(S511でYES)、印刷アプリ314に対してカメラ102からの画像データの受信処理(A)(M409)を要請する(S512)。また、カメラ102との無線接続を継続状態の場合(S508でYES)も、プリンタ制御部313は、無線LANデータの受信を確認すると(S511でYES)、印刷アプリ314に画像データの受信処理を要請する(S512)。なお、データを受信しない場合は(S511でNO)、プリンタ制御部313は、処理をS507へ移し、タイマーが満了したかの確認を実行する。   Upon confirming reception of wireless LAN data from the camera 102 (YES in S511), the printer control unit 313 requests the print application 314 to receive image data from the camera 102 (A) (M409) (S512). ). Also, when the wireless connection with the camera 102 is in a continuous state (YES in S508), when the printer control unit 313 confirms reception of wireless LAN data (YES in S511), the print application 314 performs image data reception processing. Request (S512). If no data is received (NO in S511), the printer control unit 313 moves the process to S507 and checks whether the timer has expired.

プリンタ制御部313は、以上のS501〜512の処理を繰り返す。   The printer control unit 313 repeats the processes in S501 to 512 described above.

次に、カメラ102からの画像データの転送処理が終了した場合の、プリンタ101及び別のカメラ103の動作について説明する。   Next, operations of the printer 101 and another camera 103 when the transfer processing of image data from the camera 102 is completed will be described.

プリンタ制御部313では、RAM204に格納したパラメータ情報群を確認して、印刷処理が終了したカメラ102以外の他の端末装置からの印刷予約があるか確認する(S501)。具体的には、例えば、NFC通信により、接続要求をした端末装置があったかを判定する。この場合、M403及びM405において、それぞれカメラ103及びカメラ104から接続要求を受けている。したがって、プリンタ制御部313は、印刷予約がある(S501でYES)と判定する。   The printer control unit 313 confirms the parameter information group stored in the RAM 204, and confirms whether there is a print reservation from a terminal device other than the camera 102 for which the print processing has been completed (S501). Specifically, for example, it is determined whether there is a terminal device that has made a connection request through NFC communication. In this case, connection requests are received from the camera 103 and the camera 104 in M403 and M405, respectively. Therefore, the printer control unit 313 determines that there is a print reservation (YES in S501).

プリンタ制御部313は、印刷予約中のカメラ103の存在を確認すると(S501でYES)、カメラ103とのNFC通信で接続応答メッセージと共に送信したパラメータ情報群Bを用いた無線LANネットワークの構築を開始する。   When the printer control unit 313 confirms the presence of the camera 103 that is reserved for printing (YES in S501), the printer control unit 313 starts construction of a wireless LAN network using the parameter information group B transmitted together with the connection response message by NFC communication with the camera 103. To do.

プリンタ制御部313は、無線LAN通信手順部311に対してカメラ103に通知したパラメータ情報群Bを使用してビーコンを送出するように指示する(S506)。プリンタ101の無線LAN通信手順部311は、無線LAN通信部202に対して、パラメータ情報群Bを設定した後、ビーコンを送信する(M410)ように指示する。プリンタ101の無線LAN通信部202は、無線LAN通信手順部311からの送信指示によりパラメータ情報群Aを設定したビーコンを送信する(M410)。このビーコンの送信により、プリンタ101は、パラメータ情報群Bによるネットワークが存在することを、周囲の相手方通信装置(カメラ102〜104)へ報知する。そして、このパラメータ情報群Bに基づくネットワークが存在することの報知により、パラメータ情報群Bを保持しているカメラ103は、そのネットワークに参加できることを認識することができる。   The printer control unit 313 instructs the wireless LAN communication procedure unit 311 to transmit a beacon using the parameter information group B notified to the camera 103 (S506). The wireless LAN communication procedure unit 311 of the printer 101 instructs the wireless LAN communication unit 202 to transmit the beacon after setting the parameter information group B (M410). The wireless LAN communication unit 202 of the printer 101 transmits a beacon in which the parameter information group A is set according to a transmission instruction from the wireless LAN communication procedure unit 311 (M410). By transmitting this beacon, the printer 101 notifies the surrounding counterpart communication devices (cameras 102 to 104) that a network based on the parameter information group B exists. Then, by notifying that the network based on the parameter information group B exists, the camera 103 holding the parameter information group B can recognize that it can participate in the network.

また、プリンタ制御部313は、カメラ103との間で無線LANのネットワークを構築するためのタイマーを起動する(S506)。プリンタ制御部313は、タイマーの満了以前で(S507でNO)、現在無線LANが未接続である(S508でNO)場合、カメラ103との間で無線LANの認証/アソシエーション処理(B)を起動する(M411)。具体的には、例えば、プリンタ制御部313は、無線LAN通信手順部311を介して無線LAN通信部202に認証/アソシエーション処理(B)(M411)の起動を指示する。   Further, the printer control unit 313 activates a timer for establishing a wireless LAN network with the camera 103 (S506). If the wireless LAN is not connected (NO in S508) before the timer expires (NO in S507), the printer control unit 313 starts the wireless LAN authentication / association process (B) with the camera 103. (M411). Specifically, for example, the printer control unit 313 instructs the wireless LAN communication unit 202 to start the authentication / association process (B) (M411) via the wireless LAN communication procedure unit 311.

なお、NFC通信の後に、カメラ103を保持するユーザが移動し、プリンタ101の周囲にカメラ103が存在しなくなると、タイマーの満了(S507でYES)により、カメラ103とのネットワーク構築処理がキャンセルされることとなる。その場合、この例では、カメラ104がNFCにより接続要求しているため(M405)、パラメータ情報群Cが設定されて、カメラ104とのネットワーク構築処理が開始される。   If the user holding the camera 103 moves after NFC communication and the camera 103 does not exist around the printer 101, the network construction process with the camera 103 is canceled due to the expiration of the timer (YES in S507). The Rukoto. In this case, in this example, since the camera 104 is requesting connection by NFC (M405), the parameter information group C is set, and network construction processing with the camera 104 is started.

プリンタ101の無線LAN通信部202は、カメラ103との間で無線LANの認証/アソシエーション処理(B)(M411)が完了すると、無線LAN通信手順部311を介してプリンタ制御部313に通知する。プリンタ制御部313は、カメラ103との間で無線LANの認証/アソシエーション処理(B)(M411)の完了を確認すると(S510でYES)、通信中状態に遷移する。   When the wireless LAN authentication / association process (B) (M411) with the camera 103 is completed, the wireless LAN communication unit 202 of the printer 101 notifies the printer control unit 313 via the wireless LAN communication procedure unit 311. When the printer control unit 313 confirms the completion of the wireless LAN authentication / association process (B) (M411) with the camera 103 (YES in S510), the printer control unit 313 transitions to a communication state.

プリンタ制御部313は、カメラ103から無線LANデータの受信を確認すると(S511でYES)、印刷アプリ314に対してカメラ102からの画像データの受信処理(B)(M412)を要請する(S512)。プリンタ制御部313は、S501〜S512の処理を繰り返す。   When the printer control unit 313 confirms reception of wireless LAN data from the camera 103 (YES in S511), the printer control unit 313 requests the print application 314 to receive image data from the camera 102 (B) (M412) (S512). . The printer control unit 313 repeats the processing from S501 to S512.

一方、カメラ103のカメラ制御部303は、プリンタ101との間で無線LANのネットワークを構築するため、ビーコン検出タイマーを起動している(S605)。このとき、カメラ103では、カメラ制御部303の指示により、無線LAN通信手順部301は、無線LAN通信部202に対して、パラメータ情報群Bを設定した後、ビーコンを検出する(M410)状態となっている。このとき、プリンタ101とカメラ102とが通信中の場合は、ビーコン・ロス状態となり、タイマーの満了(S613)と再設定(S614)とを繰り返して、プリンタ101とカメラ102との通信が完了するのを待ち受ける。   On the other hand, the camera control unit 303 of the camera 103 starts a beacon detection timer in order to establish a wireless LAN network with the printer 101 (S605). At this time, in the camera 103, according to an instruction from the camera control unit 303, the wireless LAN communication procedure unit 301 sets a parameter information group B for the wireless LAN communication unit 202, and then detects a beacon (M410). It has become. At this time, if the printer 101 and the camera 102 are communicating, a beacon loss state is entered, and the expiration of the timer (S613) and the resetting (S614) are repeated to complete the communication between the printer 101 and the camera 102. I wait for you.

カメラ103の無線LAN通信部202は、プリンタ101がカメラ102との通信を終えて、パラメータ情報群Bを用いたビーコンが創出され始めたことを検出すると、その旨を無線LAN通信手順部301を介してカメラ制御部303に通知する。カメラ103のカメラ制御部303は、プリンタ101からのビーコンを検出すると(S606でYES)、無線LANの接続状態を確認する(S607)。カメラ制御部303は、無線LANが未接続状態(S607でNO)であるため、プリンタ101との間で無線LANの認証/アソシエーション処理(B)を起動する(M411)。   When the wireless LAN communication unit 202 of the camera 103 detects that the printer 101 has finished communicating with the camera 102 and a beacon using the parameter information group B has started to be created, the wireless LAN communication procedure unit 301 notifies that fact. Via the camera control unit 303. When the camera control unit 303 of the camera 103 detects a beacon from the printer 101 (YES in S606), the camera control unit 303 confirms the wireless LAN connection state (S607). Since the wireless LAN is not connected (NO in S607), the camera control unit 303 activates the wireless LAN authentication / association process (B) with the printer 101 (M411).

カメラ103の無線LAN通信部202は、プリンタ101との間で無線LANの認証/アソシエーション処理(B)(M411)が完了すると、無線LAN通信手順部301を介してカメラ制御部303に通知する。カメラ103のカメラ制御部303は、プリンタ101との間で無線LANの認証/アソシエーション処理(B)(M411)の完了を確認すると(S609でYES)、通信中状態に遷移する。   When the wireless LAN authentication / association process (B) (M411) with the printer 101 is completed, the wireless LAN communication unit 202 of the camera 103 notifies the camera control unit 303 via the wireless LAN communication procedure unit 301. When the camera control unit 303 of the camera 103 confirms the completion of the wireless LAN authentication / association process (B) (M411) with the printer 101 (YES in step S609), the camera control unit 303 transitions to a communication state.

カメラ103のカメラ制御部303は、印刷アプリ304に対して、プリンタ101に対する画像データの転送処理(B)(M412)を要請し、画像データの転送を開始する(S610)。次に、カメラ102のカメラ制御部303は、無線接続を継続するか否かを判定し(S611)、継続しない場合(S611でNO)、カメラ103の印刷処理に関する動作を停止する。また、プリンタ101との無線接続を継続する場合(S611でYES)、プリンタ101からのビーコンが継続して検出されるか確認する(S606)。   The camera control unit 303 of the camera 103 requests the print application 304 to perform image data transfer processing (B) (M412) to the printer 101, and starts transfer of image data (S610). Next, the camera control unit 303 of the camera 102 determines whether or not to continue the wireless connection (S611). When the wireless connection is not continued (NO in S611), the operation of the camera 103 regarding the printing process is stopped. When the wireless connection with the printer 101 is continued (YES in S611), it is confirmed whether or not the beacon from the printer 101 is continuously detected (S606).

以上のような処理により、その際のネットワークの状態は、カメラ102とカメラ104がビーコン・ロス状態となり、カメラ103とプリンタ101だけがネットワークを構成する図7のようになる。   Through the above processing, the network state at that time is as shown in FIG. 7 in which the camera 102 and the camera 104 are in a beacon / loss state, and only the camera 103 and the printer 101 constitute the network.

この後のカメラ103における、画像データを連続転送する処理及びプリンタ101からのビーコンが検出できなくなった際の処理については、カメラ102の動作(S605〜S614)と同様である。またカメラ103からの画像データの転送処理が終了した場合のカメラ104及びプリンタ101の動作については、上述のカメラ103及びプリンタ101の動作と同様である。このため、図4のシーケンス図中のビーコン(M410)をパラメータ情報群C(ネットワーク識別子C/使用チャネルCなど)を含むビーコン(M413)に読み替えることで、カメラ104の動作に関する説明は省略する。   The subsequent process of continuously transferring image data and the process when the beacon from the printer 101 cannot be detected in the camera 103 are the same as the operation of the camera 102 (S605 to S614). The operations of the camera 104 and the printer 101 when the image data transfer processing from the camera 103 is completed are the same as the operations of the camera 103 and the printer 101 described above. Therefore, by replacing the beacon (M410) in the sequence diagram of FIG. 4 with a beacon (M413) including a parameter information group C (network identifier C / used channel C, etc.), description of the operation of the camera 104 is omitted.

以上のように、本実施形態に係る無線通信装置(プリンタ101)は、複数の相手方通信装置(カメラ102〜104)のそれぞれから複数の印刷要求(接続要求)が起動された場合に、それぞれ異なるパラメータ情報群A〜Cを決定して通知する。そして、相手方通信装置は、それぞれ通知されたパラメータ情報群A〜Cでビーコンを待ち受け、ビーコンを受信した後に印刷のためのメッセージを無線通信装置へ送信する。これにより、第1の相手方通信装置が第1のパラメータ情報群を用いて無線通信装置と接続中に、第2の相手方通信装置はビーコンを受信しなくなり、結果として、ビーコンを検出するまでの間に不要なメッセージの送信処理を回避することができる。また、ネットワークの構築が印刷処理のトリガとなるため、印刷要請を継続するといったユーザの煩雑な操作が不要となる。   As described above, the wireless communication apparatus (printer 101) according to the present embodiment is different when a plurality of print requests (connection requests) are activated from each of a plurality of counterpart communication apparatuses (cameras 102 to 104). The parameter information groups A to C are determined and notified. Then, the counterpart communication device waits for a beacon with the notified parameter information groups A to C, and after receiving the beacon, transmits a message for printing to the wireless communication device. Thus, while the first counterpart communication device is connected to the wireless communication device using the first parameter information group, the second counterpart communication device does not receive the beacon, and as a result, until the beacon is detected. It is possible to avoid unnecessary message transmission processing. Further, since the construction of the network triggers the printing process, a complicated operation by the user such as continuing the print request is not necessary.

なお、上述の説明では、カメラ制御部303は、タイマーが満了した場合(S613でYES)、カメラ制御部303自身が、ビーコン検出期間をより長く変更し(S614)、タイマーを再起動する(S605)ことでビーコン検出期間を調節するとした。しかし、ビーコン検出期間は、ビーコン検出期間を調節するための情報をプリンタ101から受信することにより調節されてもよい。例えば、設定するビーコン検出の検出開始時間と検出間隔の値は、M402におけるNFC通信の接続応答メッセージの情報の一部に含まれてプリンタ101から指示されるように構成されてもよい。例えば、プリンタ101が、先に接続されるカメラとの接続の完了時刻を推定し、その時刻以降までビーコンの検出を行うようにビーコン検出期間を設定することができる。これにより、タイマーの再起動回数を低減することができ、余計な処理を減らすことができる。また、ビーコンの検出開始時間を調節することにより、カメラが、他のカメラとのデータ伝送処理中に無駄にビーコンの検出を待ち受けることを防ぐことができる。なお、カメラ制御部303自身が、S614においてビーコン検出開始時間を調節してもよい。   In the above description, when the timer expires (YES in S613), the camera control unit 303 changes the beacon detection period longer (S614), and restarts the timer (S605). ) To adjust the beacon detection period. However, the beacon detection period may be adjusted by receiving information for adjusting the beacon detection period from the printer 101. For example, the beacon detection start time and the detection interval value to be set may be included in a part of the NFC communication connection response message information in M402 and instructed from the printer 101. For example, the beacon detection period can be set so that the printer 101 estimates the completion time of the connection with the camera connected first, and detects the beacon until that time. Thereby, the number of restarts of the timer can be reduced, and unnecessary processing can be reduced. In addition, by adjusting the beacon detection start time, it is possible to prevent the camera from waiting for a beacon detection in vain during data transmission processing with another camera. Note that the camera control unit 303 itself may adjust the beacon detection start time in S614.

また、カメラ制御部303は、プリンタ101への印刷用の画像データの転送前のビーコン検出期間と、転送後のビーコン検出期間とを異ならせてもよい。例えば、転送前よりも転送後のビーコン検出期間を短くしてもよい。これにより、例えば、転送前に1度以上タイマーが満了して長くなったビーコン検出期間をもとに戻すことができる。また、カメラは、1つの画像データの転送を完了した後に、ビーコンを受信しないままタイマーが満了することにより、他のカメラなどの通信装置がデータを転送していることを早期に把握することができる。また、例えば、転送前よりも転送後のビーコン検出期間を長くしてもよい。これにより、カメラは、1つの画像データの転送を完了した後に、十分に長い時間を確保してビーコンの検出を行うため、他の通信装置がデータを転送していることを正確に把握することができる。なお、この場合で、タイマーが満了した場合は、ビーコン検出期間を初期設定値に戻してもよい。   Further, the camera control unit 303 may change the beacon detection period before transfer of image data for printing to the printer 101 and the beacon detection period after transfer. For example, the beacon detection period after transfer may be shorter than before transfer. Thereby, for example, the beacon detection period in which the timer has expired and lengthened at least once before the transfer can be restored. In addition, after completing the transfer of one image data, the camera expires without receiving a beacon so that it can quickly grasp that a communication device such as another camera is transferring data. it can. Further, for example, the beacon detection period after transfer may be made longer than before transfer. As a result, after completing the transfer of one image data, the camera secures a sufficiently long time to detect a beacon, and therefore accurately grasps that another communication device is transferring data. Can do. In this case, when the timer expires, the beacon detection period may be returned to the initial setting value.

さらに、この場合にも、ビーコン検出期間をプリンタ101が設定してもよい。例えば、1つの画像データの転送完了時に、プリンタ101において印刷予約があることが分かっている場合は、カメラは、その印刷予約の間はビーコンを検出することはできない。このため、プリンタ101は、画像データの転送完了後に、転送完了前よりも長いビーコン検出期間を通知してもよい。また、画像データの転送完了時にプリンタ101において印刷予約がないことが分かっている場合は、プリンタ101は、カメラに対してすぐにビーコンを返すことができる。したがって、データ転送完了後のビーコン検出期間をデータ転送完了前よりも短くしてもよい。   In this case, the printer 101 may set the beacon detection period. For example, if it is known that there is a print reservation in the printer 101 when transfer of one image data is completed, the camera cannot detect a beacon during the print reservation. For this reason, the printer 101 may notify a beacon detection period that is longer after the completion of the transfer of the image data than before the completion of the transfer. If it is known that there is no print reservation in the printer 101 when the transfer of image data is completed, the printer 101 can immediately return a beacon to the camera. Therefore, the beacon detection period after completion of data transfer may be shorter than before completion of data transfer.

また、上述の説明では、カメラ102が印刷データを送信終了した後も、プリンタ101との無線接続を継続するかを判定(S611)し、プリンタ101から送信されるビーコンの検出処理を継続するか否かを決定するとした。この時、無線接続を継続する判断処理(S611)において、プリンタ101からの障害通知メッセージのようなメッセージ受信処理を継続するために、ビーコンの検出処理を継続するようにしてもよい。また、この時、プリンタ101が、カメラ102〜104のそれぞれに対して異なるビーコンを送信し、接続を再確立した後に、障害メッセージ等を送信するようにしてもよい。   In the above description, whether the wireless connection with the printer 101 is to be continued after the camera 102 has finished transmitting the print data is determined (S611), and the process for detecting the beacon transmitted from the printer 101 is continued. I decided to decide whether or not. At this time, in the determination process (S611) for continuing the wireless connection, the beacon detection process may be continued in order to continue the message reception process such as the failure notification message from the printer 101. At this time, the printer 101 may transmit different beacons to each of the cameras 102 to 104 and transmit a failure message or the like after reestablishing the connection.

さらに、上述の説明では、カメラ102が印刷データを送信終了した後も、プリンタ101との無線接続を継続するかを判断(S611)し、プリンタ101から送信されるビーコンの検出処理を継続するか否かを決定するとした。この時、無線継続の判断条件として、M402におけるNFC通信の接続応答メッセージの情報の一部に含まれる形式で、ビーコン検出の終了時間の値がプリンタ101から指示されてもよい。また、この時、無線継続の判断条件として、障害通知メッセージによりプリンタ101の復旧が困難と判断した場合に、無線接続の継続を中止して、カメラ102自身またはそれに含まれる無線通信装置への電源供給を停止し、動作を停止てもよい。   Furthermore, in the above description, it is determined whether the wireless connection with the printer 101 is continued even after the camera 102 finishes transmitting the print data (S611), and the detection process of the beacon transmitted from the printer 101 is continued. I decided to decide whether or not. At this time, the beacon detection end time value may be instructed from the printer 101 in a format included in a part of the information of the connection response message of the NFC communication in M402 as the determination condition for wireless continuation. At this time, if it is determined that it is difficult to recover the printer 101 from the failure notification message as a condition for determining whether to continue wireless communication, the wireless connection is stopped and the power to the camera 102 itself or the wireless communication device included therein is stopped. The supply may be stopped and the operation may be stopped.

また、上述の説明では、カメラ102〜104からのプリンタ101に対する印刷開始操作において、機器同士を近接するNFC通信を用い、メッセージの送受信によりパラメータ情報群を通知するとしたが、これに限られない。印刷開始操作は、例えば、WPS(Wi−Fi Protected Setup)のようなカメラとプリンタとに備えられたボタンの所定時間内に共に押されたことを、カメラとプリンタとが検出したことによって実行されてもよい。すなわち、NFC通信以外のトリガでパラメータ情報群の決定と通知、及び接続要求の予約とが行われてもよい。   In the above description, in the print start operation for the printer 101 from the cameras 102 to 104, the NFC communication in which the devices are close to each other is used and the parameter information group is notified by message transmission / reception, but is not limited thereto. The print start operation is executed when the camera and the printer detect that the buttons of the camera and the printer such as WPS (Wi-Fi Protected Setup) are pressed together within a predetermined time. May be. That is, parameter information group determination and notification, and connection request reservation may be performed by a trigger other than NFC communication.

また、上述の説明では、印刷予約(接続要求の予約)があった順に、接続の順序が定められたが、これに限られない。例えば、カメラは、印刷予約を行うための近接無線信号にデータの優先度の情報を含めて送信し、プリンタは、近接無線信号から優先度の情報を検出して、優先度が高い方から順に接続を確立してデータを受信するようにしてもよい。   In the above description, the order of connection is determined in the order in which there is a print reservation (connection request reservation). However, the present invention is not limited to this. For example, the camera transmits the proximity wireless signal for making a print reservation including the priority information of the data, and the printer detects the priority information from the proximity wireless signal, and in order from the highest priority A connection may be established and data may be received.

また、上述の実施形態では、カメラ103及びカメラ104が無線LAN通信のビーコン検出処理を継続する事により、印刷待機状態とするように説明した。この印刷待機処理として、待機状態では、より低消費電力を特徴とするBluetooth通信のVer4.0(BLE:Bluetooth Low Energy)のような、無線LAN通信以外の無線通信方式に切り替えてもよい。すなわち、カメラは、無線LANではなく、BLEで接続を待ち受け、BLEでプリンタとの間の接続が確認された後に、接続を無線LAN通信に切り替えてもよい。なお、カメラは、最初は無線LANでビーコンを待ち受け、ビーコン検出期間内にビーコンを検出できなかった場合に、BLEのような無線通信方式で接続を待ち受けてもよい。これにより、カメラのバッテリ消費をさらに削減することができる。   Further, in the above-described embodiment, it has been described that the camera 103 and the camera 104 enter the print standby state by continuing the beacon detection process of wireless LAN communication. As the print standby process, in a standby state, the communication mode may be switched to a wireless communication method other than wireless LAN communication, such as Bluetooth 4.0 (BLE: Bluetooth Low Energy) characterized by lower power consumption. That is, the camera may wait for a connection with BLE instead of a wireless LAN, and switch the connection to wireless LAN communication after the connection with the printer is confirmed with BLE. Note that the camera may initially wait for a beacon on the wireless LAN, and may wait for a connection using a wireless communication method such as BLE if the beacon cannot be detected within the beacon detection period. Thereby, the battery consumption of the camera can be further reduced.

<<実施形態2>>
実施形態1では、無線通信装置(プリンタ101)は、複数の相手方通信装置(カメラ102〜104)に対して、それぞれ異なる無線通信パラメータを決定して通知した。本実施形態では、無線通信装置は、複数の相手方通信装置から受信するであろうデータ量を一時に保持することが可能であるかを判断し、保持できる場合には、複数の相手方通信装置に同一の無線通信パラメータを通知する。これにより、不必要に多くの無線通信パラメータを用意する必要がなくなり、また、相手方通信装置がビーコンを待ち受ける時間を低減することができる。
<< Embodiment 2 >>
In the first embodiment, the wireless communication device (printer 101) determines and notifies different wireless communication parameters to a plurality of counterpart communication devices (cameras 102 to 104). In the present embodiment, the wireless communication device determines whether it is possible to temporarily hold the amount of data that will be received from a plurality of counterpart communication devices, and if it can hold, The same wireless communication parameter is notified. As a result, it is not necessary to prepare an unnecessarily large number of wireless communication parameters, and it is possible to reduce the time during which the counterpart communication device waits for a beacon.

図8は、本実施形態に係る無線通信システムのネットワーク構成図である。本実施形態では、図8に示すように、カメラ102及びカメラ103は、プリンタ101と接続するのに同一の無線通信パラメータを使用して1つの無線LANネットワークを利用する。図9は、本実施形態に係る無線通信システムにおいてネットワークを構成するプリンタ101及びカメラ102〜104のメッセージの送受信処理を示すシーケンスチャートである。図10は、本実施形態に係るプリンタ101のプリンタ制御部313の処理に関するフローチャートである。また、図11は、ここで説明する無線通信システムの処理の実行後のネットワークの状態の例を示す図である。   FIG. 8 is a network configuration diagram of the wireless communication system according to the present embodiment. In the present embodiment, as shown in FIG. 8, the camera 102 and the camera 103 use the same wireless LAN network using the same wireless communication parameter to connect to the printer 101. FIG. 9 is a sequence chart showing message transmission / reception processing of the printer 101 and the cameras 102 to 104 configuring the network in the wireless communication system according to the present embodiment. FIG. 10 is a flowchart regarding processing of the printer control unit 313 of the printer 101 according to the present embodiment. FIG. 11 is a diagram illustrating an example of a state of the network after the processing of the wireless communication system described here is executed.

以下、図9及び図10を用いて、本実施形態に係る無線通信システム全体の動作と、プリンタ制御部313の動作とについて説明する。なお、図9に示す動作シーケンスのうち、実施形態1と同様の動作をするものについては、図4と同様の番号を付して説明を省略する。また、図10のプリンタ制御部313の処理についても、実施形態1と同様の動作をするものについては、図5と同様の番号を付して説明を省略する。なお、カメラ102〜104の動作は実施形態1と同様であるため、詳細な説明は省略する。   Hereinafter, the operation of the entire wireless communication system according to the present embodiment and the operation of the printer control unit 313 will be described with reference to FIGS. 9 and 10. Note that, among the operation sequences shown in FIG. 9, those that perform the same operations as those in the first embodiment are denoted by the same reference numerals as those in FIG. 4 and description thereof is omitted. Also, regarding the processing of the printer control unit 313 in FIG. 10, the same numbers as those in FIG. Since the operations of the cameras 102 to 104 are the same as those in the first embodiment, detailed description thereof is omitted.

まず、カメラ102の接続要求(M401)及びそれに対するプリンタ101の接続応答(M402)の後に、カメラ103からNFC通信を利用して接続要求メッセージをプリンタ101が受信する(M901)。プリンタ101内部では、受信した接続要求メッセージがプリンタ制御部313により受信される(S502でYES)。   First, after the connection request (M401) of the camera 102 and the connection response (M402) of the printer 101 corresponding thereto, the printer 101 receives a connection request message from the camera 103 using NFC communication (M901). In the printer 101, the received connection request message is received by the printer control unit 313 (YES in S502).

プリンタ制御部313は、M901の接続要求メッセージに含まれる印刷データに関する情報を解析し、印刷データ量の情報を取得する。そして、プリンタ制御部313は、複数のカメラ102〜104の少なくとも2つについての印刷データ量の合計が、プリンタ101のRAM204の記憶領域に保持可能な量であるか否か判断する(S1001)。そして、プリンタ制御部313は、データを保持可能と判断した場合(S1001でYES)、カメラ102との間で構築予定の無線ネットワークで使用するパラメータ情報群A(ネットワーク識別子A/使用チャネルAなど)を選択する(S1002)。一方、プリンタ制御部313は、データの保持が不可能と判断した場合(S1001でNO)、パラメータ情報群Aとは異なるパラメータ情報群B(ネットワーク識別子B/使用チャネルBなど)を選択する。次に、プリンタ制御部313は、カメラ103に対して、選択したパラメータ情報群を含めた接続応答メッセージを送信する(M902、S503)と共に、そのパラメータ情報群をRAM204に格納する(S504)。   The printer control unit 313 analyzes information related to print data included in the connection request message of M901, and acquires information on the amount of print data. Then, the printer control unit 313 determines whether the total print data amount for at least two of the plurality of cameras 102 to 104 is an amount that can be held in the storage area of the RAM 204 of the printer 101 (S1001). When the printer control unit 313 determines that the data can be held (YES in S1001), the parameter information group A (network identifier A / used channel A, etc.) used in the wireless network to be built with the camera 102 is used. Is selected (S1002). On the other hand, when the printer control unit 313 determines that the data cannot be retained (NO in S1001), the printer control unit 313 selects a parameter information group B (such as network identifier B / used channel B) different from the parameter information group A. Next, the printer control unit 313 transmits a connection response message including the selected parameter information group to the camera 103 (M902, S503) and stores the parameter information group in the RAM 204 (S504).

なお、カメラ103における動作S605〜S614については、実施形態1と同様であるため、説明を省略する。すなわち、図9におけるM903及びM904の接続及びデータ転送処理は、実施形態1におけるM411及びM412の接続及びデータ転送処理と、無線LANで使用するパラメータ情報群が異なるだけであり、動作に関しては同様である。   Since operations S605 to S614 in the camera 103 are the same as those in the first embodiment, the description thereof is omitted. That is, the connection and data transfer processing of M903 and M904 in FIG. 9 is different from the connection and data transfer processing of M411 and M412 in Embodiment 1 only in the parameter information group used in the wireless LAN, and the operation is the same. is there.

なお、図9のM409及びM904の処理を実行している時点のネットワークの状態は、カメラ102及びカメラ103が同一の無線LANネットワークでプリンタ101に接続されるため、図8のようになる。このとき、異なる無線通信パラメータを通知されているカメラ104は、ビーコン・ロス状態となる。   The network state at the time when the processing of M409 and M904 in FIG. 9 is executed is as shown in FIG. 8 because the camera 102 and the camera 103 are connected to the printer 101 via the same wireless LAN network. At this time, the camera 104 notified of different wireless communication parameters is in a beacon-loss state.

その後、カメラ102及びカメラ103からのプリンタ101に対する画像伝送処理が完了すると、カメラ102及びカメラ103とプリンタ101とを接続する無線LANネットワークは切断される。そして、プリンタ101とカメラ104とがパラメータ情報群Cを用いて無線LAN接続し、カメラ102及びカメラ103はビーコン・ロス状態となる。この時のネットワークの状態は、図11のようになる。   Thereafter, when image transmission processing from the camera 102 and the camera 103 to the printer 101 is completed, the wireless LAN network that connects the camera 102 and the camera 103 to the printer 101 is disconnected. Then, the printer 101 and the camera 104 are connected by wireless LAN using the parameter information group C, and the camera 102 and the camera 103 are in a beacon / loss state. The state of the network at this time is as shown in FIG.

なお、上述の説明では、カメラ102とカメラ103とが同一のパラメータ情報群Aを使用すると説明したが、カメラ102とカメラ104とが同一のパラメータ情報群Aを用い、カメラ103が別のパラメータ情報群Bを用いてもよい。例えば、カメラ102のデータ転送量とカメラ103のデータ転送量を合計すると一時に保持することができないが、カメラ102のデータ転送量とカメラ104のデータ転送量を合計すると一時に保持することができる場合に、このようにしてもよい。また、カメラ102〜104の3台が、同一のパラメータ情報群を用いてもよい。また、同時に接続する相手方通信装置が多くなりすぎると、データ同士が衝突するおそれがある。このため、同時に接続する相手方通信装置の台数を、例えば2台などに制限してもよい。   In the above description, it has been described that the camera 102 and the camera 103 use the same parameter information group A. However, the camera 102 and the camera 104 use the same parameter information group A, and the camera 103 has different parameter information. Group B may be used. For example, the sum of the data transfer amount of the camera 102 and the data transfer amount of the camera 103 cannot be held at a time, but the sum of the data transfer amount of the camera 102 and the data transfer amount of the camera 104 can be held temporarily. In some cases, this may be done. Also, the three cameras 102 to 104 may use the same parameter information group. Moreover, if too many counterpart communication devices are connected at the same time, the data may collide. For this reason, you may restrict | limit the number of the other party communication apparatuses connected simultaneously, for example to two.

以上のように、無線通信装置(プリンタ101)は、複数の相手方通信装置(カメラ102〜104)から受信するであろうデータ量を一時に保持しておくことが可能であるかを判断する。そして、無線通信装置は、保持できると判断すると、複数の相手方通信装置に同一の無線通信パラメータを通知し、同一の無線LANネットワークに複数の相手方通信装置を収容する。これにより、不必要に多くの無線通信パラメータを用意する必要がなくなり、また、相手方通信装置がビーコンを待ち受ける時間を低減することができる。   As described above, the wireless communication apparatus (printer 101) determines whether it is possible to temporarily hold the amount of data that will be received from a plurality of counterpart communication apparatuses (cameras 102 to 104). If the wireless communication device determines that the wireless communication device can hold the wireless communication device, the wireless communication device notifies the plurality of counterpart communication devices of the same wireless communication parameter, and accommodates the plurality of counterpart communication devices in the same wireless LAN network. As a result, it is not necessary to prepare an unnecessarily large number of wireless communication parameters, and it is possible to reduce the time during which the counterpart communication device waits for a beacon.

また、上述のカメラ104のように、プリンタ101が別のカメラ102及び103と通信している間、ビーコンを受信しなくなり、結果として、ビーコンを検出するまでの間の不要なメッセージの送信処理を回避することができる。また、ネットワークの構築が印刷処理のトリガとなる事から、カメラ104のユーザが印刷要請の作業を継続すると言った煩雑な操作が無くなる。   Further, like the camera 104 described above, while the printer 101 is communicating with the other cameras 102 and 103, the beacon is not received, and as a result, unnecessary message transmission processing is performed until the beacon is detected. It can be avoided. Further, since the construction of the network serves as a trigger for the printing process, the complicated operation that the user of the camera 104 continues the print request work is eliminated.

<<その他の実施形態>>
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
<< Other Embodiments >>
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.

Claims (23)

無線通信装置と、当該無線通信装置とそれぞれ無線で接続して通信を行う複数の相手方通信装置とを含む無線通信システムであって、
前記無線通信装置は、
前記複数の相手方通信装置のそれぞれからの接続要求に応じて、当該複数の相手方通信装置のそれぞれに対して、互いに異なる、前記無線通信装置と接続するための無線通信パラメータを通知する通知手段と、
第1の相手方通信装置に通知した第1の無線通信パラメータを用いて接続を確立するためのメッセージを送信して、前記第1の無線通信パラメータを用いた接続を確立すると共に、前記第1の無線通信パラメータを用いた前記接続が切断されると、第2の相手方通信装置に通知した第2の無線通信パラメータを用いて接続を確立するためのメッセージを送信して、前記第2の無線通信パラメータを用いた接続の確立を試みる確立手段と、
を有し、
前記複数の相手方通信装置のそれぞれは、
前記無線通信装置に前記接続要求をした後に、前記無線通信パラメータを受信する受信手段と、
受信した前記無線通信パラメータを用いた前記無線通信装置との接続を確立するための前記メッセージを検出する検出手段と、
前記メッセージを検出したことに応じて、前記無線通信装置と無線で接続する接続手段と、
を有することを特徴とする無線通信システム。
A wireless communication system including a wireless communication device and a plurality of counterpart communication devices that perform wireless connection with the wireless communication device, respectively,
The wireless communication device
In response to a connection request from each of the plurality of counterpart communication devices, a notification means for notifying each of the plurality of counterpart communication devices of different radio communication parameters for connecting to the radio communication device;
A message for establishing a connection using the first wireless communication parameter notified to the first counterpart communication device is transmitted to establish a connection using the first wireless communication parameter. When the connection using the wireless communication parameter is disconnected, a message for establishing a connection using the second wireless communication parameter notified to the second counterpart communication device is transmitted, and the second wireless communication An establishment means that attempts to establish a connection using parameters;
Have
Each of the plurality of counterpart communication devices is
Receiving means for receiving the wireless communication parameters after making the connection request to the wireless communication device;
Detecting means for detecting the message for establishing a connection with the wireless communication device using the received wireless communication parameter;
A connection means for wirelessly connecting to the wireless communication device in response to detecting the message;
A wireless communication system comprising:
無線通信装置と、当該無線通信装置とそれぞれ無線で接続して通信を行う複数の相手方通信装置とを含む無線通信システムであって、
前記無線通信装置は、
前記複数の相手方通信装置のそれぞれからの接続要求から、当該複数の相手方通信装置のそれぞれが転送するデータ量を取得する取得手段と、
前記複数の相手方通信装置のうちの少なくとも2つについての前記データ量の合計が前記無線通信装置が保持できる量である場合、前記複数の相手方通信装置のうちの少なくとも2つに対して同一の、前記無線通信装置と接続するための無線通信パラメータを通知すると共に、前記複数の相手方通信装置のうちの少なくとも2つについての前記データ量の合計が前記無線通信装置が保持できる量でない場合、当該複数の相手方通信装置のうちの少なくとも2つに対して、互いに異なる前記無線通信パラメータを通知する通知手段と、
第1の相手方通信装置に通知した第1の無線通信パラメータを用いて接続を確立するためのメッセージを送信して、前記第1の無線通信パラメータによる接続を確立すると共に、前記第1の無線通信パラメータを用いた前記接続が切断されると、第2の相手方通信装置に通知した第2の無線通信パラメータを用いて接続を確立するためのメッセージを送信して、前記第2の無線通信パラメータによる接続の確立を試みる確立手段と、
を有し、
前記複数の相手方通信装置のそれぞれは、
前記無線通信装置に前記接続要求をした後に、前記無線通信パラメータを受信する受信手段と、
受信した前記無線通信パラメータを用いた前記無線通信装置との接続を確立するための前記メッセージを検出する検出手段と、
前記メッセージを検出したことに応じて、前記無線通信装置と無線で接続する接続手段と、
を有することを特徴とする無線通信システム。
A wireless communication system including a wireless communication device and a plurality of counterpart communication devices that perform wireless connection with the wireless communication device, respectively,
The wireless communication device
From the connection request from each of the plurality of counterpart communication devices, an acquisition means for acquiring the amount of data transferred by each of the plurality of counterpart communication devices;
If the total amount of data for at least two of the plurality of counterpart communication devices is an amount that the wireless communication device can hold, the same for at least two of the plurality of counterpart communication devices, When notifying the wireless communication parameters for connecting to the wireless communication device and the total of the data amount for at least two of the plurality of counterpart communication devices is not an amount that the wireless communication device can hold, the plurality Notification means for notifying at least two of the other communication devices of the wireless communication parameters different from each other;
A message for establishing a connection using the first wireless communication parameter notified to the first counterpart communication device is transmitted to establish a connection based on the first wireless communication parameter, and the first wireless communication When the connection using the parameter is disconnected, a message for establishing the connection using the second wireless communication parameter notified to the second counterpart communication device is transmitted, and the second wireless communication parameter is used. An establishment means to attempt to establish a connection;
Have
Each of the plurality of counterpart communication devices is
Receiving means for receiving the wireless communication parameters after making the connection request to the wireless communication device;
Detecting means for detecting the message for establishing a connection with the wireless communication device using the received wireless communication parameter;
A connection means for wirelessly connecting to the wireless communication device in response to detecting the message;
A wireless communication system comprising:
前記無線通信装置は、前記複数の相手方通信装置のそれぞれからの接続要求を、接続要求の予約として管理する管理手段をさらに備え、
前記確立手段は、前記接続要求の予約があるかに応じて、前記メッセージを送信するかを決定する、
ことを特徴とする請求項1又は2に記載の無線通信システム。
The wireless communication device further comprises a management means for managing connection requests from each of the plurality of counterpart communication devices as reservations for connection requests,
The establishing means determines whether to send the message according to whether there is a reservation for the connection request;
The radio communication system according to claim 1 or 2.
前記管理手段は、さらに、前記接続要求が予約された順を管理し、
前記確立手段は、前記接続要求が予約された順に応じて、いずれの前記無線通信パラメータを用いて前記メッセージを送信するかを決定する、
ことを特徴とする請求項3に記載の無線通信システム。
The management means further manages the order in which the connection requests are reserved,
The establishing means determines which wireless communication parameter is used to transmit the message according to the order in which the connection requests are reserved.
The wireless communication system according to claim 3.
前記無線通信装置は、前記接続要求の優先度の情報を検出する検出手段をさらに有し、
前記管理手段は、さらに、前記接続要求の前記優先度を管理し、
前記確立手段は、前記優先度に応じて、いずれの前記無線通信パラメータを用いて前記メッセージを送信するかを決定する、
ことを特徴とする請求項3に記載の無線通信システム。
The wireless communication device further includes detection means for detecting priority information of the connection request,
The management means further manages the priority of the connection request,
The establishment unit determines which wireless communication parameter is used to transmit the message according to the priority.
The wireless communication system according to claim 3.
前記無線通信装置は、前記無線通信装置に障害が生じた場合に、前記複数の相手方通信装置の少なくとも1つへ、障害が生じたことを通知する障害通知手段をさらに有し、
前記確立手段は、前記無線通信装置に障害が生じた場合に、前記接続を切断した前記複数の相手方通信装置に対して接続を再確立し、
前記障害通知手段は、再確立された接続を介して、前記接続を確立した後に切断した前記複数の相手方通信装置に、前記障害が生じたことを通知する、
ことを特徴とする請求項1から5のいずれか1項に記載の無線通信システム。
The wireless communication device further includes failure notification means for notifying that a failure has occurred to at least one of the plurality of counterpart communication devices when a failure occurs in the wireless communication device,
The establishing means reestablishes a connection to the plurality of counterpart communication devices that disconnected the connection when a failure occurs in the wireless communication device,
The failure notification means notifies the plurality of counterpart communication devices disconnected after establishing the connection, through the re-established connection, that the failure has occurred.
The wireless communication system according to claim 1, wherein the wireless communication system is a wireless communication system.
前記複数の相手方通信装置の少なくとも1つは、前記無線通信装置からの障害が生じたことの通知が、前記無線通信装置の復旧が困難である旨を示す通知であった場合、当該複数の相手方通信装置の少なくとも1つの動作を停止する、
ことを特徴とする請求項6に記載の無線通信システム。
If at least one of the plurality of counterpart communication devices is a notification indicating that a failure has occurred from the radio communication device, it is difficult to recover the radio communication device. Stop at least one operation of the communication device;
The wireless communication system according to claim 6.
前記無線通信装置はプリンタであり、
前記複数の相手方通信装置の少なくとも1つは、前記無線通信装置との接続が確立されると、印刷する画像データの転送を開始する転送手段をさらに有する、
ことを特徴とする請求項1から7のいずれか1項に記載の無線通信システム。
The wireless communication device is a printer;
At least one of the plurality of counterpart communication devices further includes transfer means for starting transfer of image data to be printed when connection with the wireless communication device is established.
The wireless communication system according to claim 1, wherein the wireless communication system is a wireless communication system.
前記接続は、1つの印刷ジョブの転送が完了したことに応じて切断される、
ことを特徴とする請求項8に記載の無線通信システム。
The connection is disconnected in response to the completion of one print job transfer.
The wireless communication system according to claim 8.
前記複数の相手方通信装置の少なくとも1つは、前記検出手段が前記メッセージを検出する期間を調節する調節手段をさらに有する、
ことを特徴とする請求項1から9のいずれか1項に記載の無線通信システム。
At least one of the plurality of counterpart communication devices further includes adjusting means for adjusting a period during which the detecting means detects the message,
The wireless communication system according to claim 1, wherein the wireless communication system is a wireless communication system.
前記調節手段は、前記期間を、前記接続におけるデータ転送の前と後とで変更する、
ことを特徴とする請求項10に記載の無線通信システム。
The adjusting means changes the period before and after data transfer in the connection;
The wireless communication system according to claim 10.
前記調節手段は、前記無線通信装置から前記期間を調節するための情報を受信し、当該情報を用いて前記期間を調節する、
ことを特徴とする請求項10に記載の無線通信システム。
The adjusting means receives information for adjusting the period from the wireless communication device, and adjusts the period using the information.
The wireless communication system according to claim 10.
前記複数の相手方通信装置の少なくとも1つからの近接無線信号により、前記接続要求が前記無線通信装置へ送信される、
ことを特徴とする請求項1から12のいずれか1項に記載の無線通信システム。
The connection request is transmitted to the wireless communication device by a proximity wireless signal from at least one of the plurality of counterpart communication devices.
The wireless communication system according to claim 1, wherein the wireless communication system is a wireless communication system.
前記無線通信装置は、前記無線通信装置と前記複数の相手方通信装置の少なくとも1つとが、所定時間内に所定の操作が行われたことを共に検出した場合に、前記接続要求があったと判定する、
ことを特徴とする請求項1から13のいずれか1項に記載の無線通信システム。
The wireless communication device determines that the connection request has been made when the wireless communication device and at least one of the plurality of counterpart communication devices both detect that a predetermined operation has been performed within a predetermined time. ,
The wireless communication system according to claim 1, wherein the wireless communication system is a wireless communication system.
前記メッセージが送信される通信方式は、確立される前記接続の通信方式と異なり、当該確立される前記接続の通信方式より消費電力が小さく、前記メッセージが送信される前記通信方式により接続が確認された後に、前記確立される前記接続の前記通信方式へと通信方式が切り替えられる、
ことを特徴とする請求項1から14のいずれか1項に記載の無線通信システム。
The communication method for transmitting the message is different from the communication method for the established connection, and consumes less power than the established communication method for the connection, and the connection is confirmed by the communication method for transmitting the message. A communication method is switched to the communication method of the connection to be established,
The wireless communication system according to claim 1, wherein the wireless communication system is a wireless communication system.
複数の相手方通信装置のそれぞれと無線で接続して通信を行う無線通信装置であって、
前記複数の相手方通信装置のそれぞれからの接続要求に応じて、当該複数の相手方通信装置のそれぞれに対して、互いに異なる、前記無線通信装置と接続するための無線通信パラメータを通知する通知手段と、
第1の相手方通信装置に通知した第1の無線通信パラメータを用いて接続を確立するためのメッセージを送信して、前記第1の相手方通信装置との間の接続を確立すると共に、前記第1の無線通信パラメータを用いた前記第1の相手方通信装置との接続が切断されると、第2の相手方通信装置に通知した第2の無線通信パラメータを用いて接続を確立するためのメッセージを送信して、前記第2の相手方通信装置との間の接続の確立を試みる確立手段と、
を有することを特徴とする無線通信装置。
A wireless communication device that communicates by wirelessly connecting to each of a plurality of counterpart communication devices,
In response to a connection request from each of the plurality of counterpart communication devices, a notification means for notifying each of the plurality of counterpart communication devices of different radio communication parameters for connecting to the radio communication device;
A message for establishing a connection is transmitted using the first wireless communication parameter notified to the first counterpart communication device to establish a connection with the first counterpart communication device, and the first When the connection with the first counterpart communication device using the radio communication parameter is disconnected, a message for establishing the connection is transmitted using the second radio communication parameter notified to the second counterpart communication device. Establishing means for attempting to establish a connection with the second counterpart communication device;
A wireless communication apparatus comprising:
複数の相手方通信装置のそれぞれと無線で接続して通信を行う無線通信装置であって、
前記複数の相手方通信装置のそれぞれからの接続要求から、当該複数の相手方通信装置のそれぞれが転送するデータ量を取得する取得手段と、
前記複数の相手方通信装置のうちの少なくとも2つについての前記データ量の合計が前記無線通信装置が保持できる量である場合、前記複数の相手方通信装置のうちの少なくとも2つに対して同一の、前記無線通信装置と接続するための無線通信パラメータを通知すると共に、前記複数の相手方通信装置のうちの少なくとも2つについての前記データ量の合計が前記無線通信装置が保持できる量でない場合、当該複数の相手方通信装置のうちの少なくとも2つに対して、互いに異なる前記無線通信パラメータを通知する通知手段と、
第1の相手方通信装置に通知した第1の無線通信パラメータを用いて接続を確立するためのメッセージを送信して、前記第1の無線通信パラメータによる接続を確立すると共に、前記第1の無線通信パラメータを用いた前記接続が切断されると、第2の相手方通信装置に通知した第2の無線通信パラメータを用いて接続を確立するためのメッセージを送信して、前記第2の無線通信パラメータによる接続の確立を試みる確立手段と、
を有することを特徴とする無線通信装置。
A wireless communication device that communicates by wirelessly connecting to each of a plurality of counterpart communication devices,
From the connection request from each of the plurality of counterpart communication devices, an acquisition means for acquiring the amount of data transferred by each of the plurality of counterpart communication devices;
If the total amount of data for at least two of the plurality of counterpart communication devices is an amount that the wireless communication device can hold, the same for at least two of the plurality of counterpart communication devices, When notifying the wireless communication parameters for connecting to the wireless communication device and the total of the data amount for at least two of the plurality of counterpart communication devices is not an amount that the wireless communication device can hold, the plurality Notification means for notifying at least two of the other communication devices of the wireless communication parameters different from each other;
A message for establishing a connection using the first wireless communication parameter notified to the first counterpart communication device is transmitted to establish a connection based on the first wireless communication parameter, and the first wireless communication When the connection using the parameter is disconnected, a message for establishing the connection using the second wireless communication parameter notified to the second counterpart communication device is transmitted, and the second wireless communication parameter is used. An establishment means to attempt to establish a connection;
A wireless communication apparatus comprising:
無線通信装置であって、
第1の相手方通信装置と、第2の相手方通信装置とのそれぞれからのデータ転送を行うための要求に応じて、前記第1の相手方通信装置と、前記第2の相手方通信装置とのそれぞれに対して、互いに異なる無線通信パラメータを通知する通知手段と、
前記第1の相手方通信装置に通知した第1の無線通信パラメータに基づくネットワークにおける前記第1の相手方通信装置とのデータ転送が終了した場合、前記第2の相手方通信装置に通知した第2の無線通信パラメータに基づくネットワークの存在を報知する報知手段と、
前記報知手段による報知に基づいて、前記第2の相手方通信装置が前記第2の無線通信パラメータに基づくネットワークに接続した場合、前記第2の無線通信パラメータに基づくネットワークおいて前記第2の相手方通信装置とデータ転送を行うデータ転送手段と、
を有することを特徴とする無線通信装置。
A wireless communication device,
In response to a request for data transfer from each of the first counterpart communication device and the second counterpart communication device, each of the first counterpart communication device and the second counterpart communication device In contrast, notification means for notifying different wireless communication parameters;
When the data transfer with the first counterpart communication device in the network based on the first radio communication parameter notified to the first counterpart communication device is completed, the second radio notified to the second counterpart communication device Informing means for informing the presence of a network based on communication parameters;
When the second counterpart communication device is connected to the network based on the second radio communication parameter based on the notification by the notification means, the second counterpart communication in the network based on the second radio communication parameter. Data transfer means for data transfer with the device;
A wireless communication apparatus comprising:
無線通信装置と、当該無線通信装置とそれぞれ無線で接続して通信を行う複数の相手方通信装置とを含む無線通信システムにおける通信方法であって、
前記無線通信装置の通知手段が、前記複数の相手方通信装置のそれぞれからの接続要求に応じて、当該複数の相手方通信装置のそれぞれに対して、互いに異なる、前記無線通信装置と接続するための無線通信パラメータを通知する通知工程と、
第1の相手方通信装置の受信手段が、第1の無線通信パラメータを受信する受信工程と、
第2の相手方通信装置の受信手段が、第2の無線通信パラメータを受信する受信工程と、
前記無線通信装置の確立手段が、前記第1の無線通信パラメータを用いて接続を確立するためのメッセージを送信する送信工程と、
前記第1の相手方通信装置の検出手段が、前記メッセージを検出する検出工程と、
前記無線通信装置の確立手段が、前記第1の無線通信パラメータを用いた接続を確立する確立工程と、
前記第1の相手方通信装置の接続手段が、前記無線通信装置と無線で接続する接続工程と、
前記無線通信装置の確立手段が、前記第1の無線通信パラメータを用いた前記接続が切断されると、前記第2の無線通信パラメータを用いて接続を確立するためのメッセージを送信して、前記第2の相手方通信装置との通信を試みる送信工程と、
を有することを特徴とする通信方法。
A communication method in a wireless communication system including a wireless communication device and a plurality of counterpart communication devices that perform wireless connection with the wireless communication device.
The wireless communication device notification means is different from each other for each of the plurality of counterpart communication devices in response to a connection request from each of the plurality of counterpart communication devices. A notification step for notifying communication parameters;
A receiving step in which the receiving means of the first counterpart communication device receives the first wireless communication parameter;
A receiving step in which the receiving means of the second counterpart communication device receives the second wireless communication parameter;
A transmitting step in which the wireless communication device establishing means transmits a message for establishing a connection using the first wireless communication parameter;
A detecting step in which the detecting means of the first counterpart communication device detects the message;
An establishing step of establishing a connection using the first wireless communication parameter by the wireless communication device establishing means;
A connection step in which the connection means of the first counterpart communication device wirelessly connects to the wireless communication device;
When the wireless communication device establishing means disconnects the connection using the first wireless communication parameter, the wireless communication device transmits a message for establishing a connection using the second wireless communication parameter, and A transmission step for attempting communication with the second counterpart communication device;
A communication method characterized by comprising:
無線通信装置と、当該無線通信装置とそれぞれ無線で接続して通信を行う複数の相手方通信装置とを含む無線通信システムにおける通信方法であって、
前記無線通信装置の取得手段が、前記複数の相手方通信装置のそれぞれからの接続要求から、当該複数の相手方通信装置のそれぞれが転送するデータ量を取得する取得工程と、
前記無線通信装置の通知手段が、前記複数の相手方通信装置のうちの少なくとも2つについての前記データ量の合計が前記無線通信装置が保持できる量である場合、前記複数の相手方通信装置のうちの少なくとも2つに対して同一の、前記無線通信装置と接続するための無線通信パラメータを通知すると共に、前記複数の相手方通信装置のうちの少なくとも2つについての前記データ量の合計が前記無線通信装置が保持できる量でない場合、当該複数の相手方通信装置のうちの少なくとも2つに対して、互いに異なる前記無線通信パラメータを通知する通知工程と、
第1の相手方通信装置の受信手段が、第1の無線通信パラメータを受信する受信工程と、
第2の相手方通信装置の受信手段が、第2の無線通信パラメータを受信する受信工程と、
前記無線通信装置の確立手段が、前記第1の無線通信パラメータを用いて接続を確立するためのメッセージを送信する送信工程と、
前記第1の相手方通信装置の検出手段が、前記メッセージを検出する検出工程と、
前記無線通信装置の確立手段が、前記第1の無線通信パラメータを用いた接続を確立する確立工程と、
前記第1の相手方通信装置の接続手段が、前記無線通信装置と無線で接続する接続工程と、
前記無線通信装置の確立手段が、前記第1の無線通信パラメータを用いた前記接続が切断されると、前記第2の無線通信パラメータを用いて接続を確立するためのメッセージを送信して、前記第2の相手方通信装置との通信を試みる送信工程と、
を有することを特徴とする通信方法。
A communication method in a wireless communication system including a wireless communication device and a plurality of counterpart communication devices that perform wireless connection with the wireless communication device.
The acquisition unit of the wireless communication device acquires an amount of data transferred by each of the plurality of counterpart communication devices from a connection request from each of the plurality of counterpart communication devices;
When the notification means of the wireless communication device is such that the total amount of data for at least two of the plurality of counterpart communication devices is an amount that the radio communication device can hold, of the plurality of counterpart communication devices The same wireless communication parameter for connecting to the wireless communication device is notified to at least two, and the total amount of data for at least two of the plurality of counterpart communication devices is the wireless communication device Is not an amount that can be held, a notification step of notifying the wireless communication parameters different from each other to at least two of the plurality of counterpart communication devices,
A receiving step in which the receiving means of the first counterpart communication device receives the first wireless communication parameter;
A receiving step in which the receiving means of the second counterpart communication device receives the second wireless communication parameter;
A transmitting step in which the wireless communication device establishing means transmits a message for establishing a connection using the first wireless communication parameter;
A detecting step in which the detecting means of the first counterpart communication device detects the message;
An establishing step of establishing a connection using the first wireless communication parameter by the wireless communication device establishing means;
A connection step in which the connection means of the first counterpart communication device wirelessly connects to the wireless communication device;
When the wireless communication device establishing means disconnects the connection using the first wireless communication parameter, the wireless communication device transmits a message for establishing a connection using the second wireless communication parameter, and A transmission step for attempting communication with the second counterpart communication device;
A communication method characterized by comprising:
複数の相手方通信装置のそれぞれと無線で接続して通信を行う無線通信装置の制御方法であって、
通知手段が、前記複数の相手方通信装置のそれぞれからの接続要求に応じて、当該複数の相手方通信装置のそれぞれに対して、互いに異なる、前記無線通信装置と接続するための無線通信パラメータを通知する通知工程と、
確立手段が、第1の相手方通信装置に通知した第1の無線通信パラメータを用いて接続を確立するためのメッセージを送信して、前記第1の相手方通信装置との間の接続を確立すると共に、前記第1の無線通信パラメータを用いた前記第1の相手方通信装置との接続が切断されると、第2の相手方通信装置に通知した第2の無線通信パラメータを用いて接続を確立するためのメッセージを送信して、前記第2の相手方通信装置との間の接続の確立を試みる確立工程と、
を有することを特徴とする制御方法。
A method of controlling a wireless communication device that communicates by wirelessly connecting to each of a plurality of counterpart communication devices,
In response to a connection request from each of the plurality of counterpart communication devices, the notification means notifies each of the plurality of counterpart communication devices of different radio communication parameters for connecting to the radio communication device. A notification process;
The establishing means transmits a message for establishing a connection using the first wireless communication parameter notified to the first counterpart communication device, and establishes a connection with the first counterpart communication device. When the connection with the first counterpart communication device using the first radio communication parameter is disconnected, the connection is established using the second radio communication parameter notified to the second counterpart communication device. An establishment step of attempting to establish a connection with the second counterpart communication device,
A control method characterized by comprising:
複数の相手方通信装置のそれぞれと無線で接続して通信を行う無線通信装置の制御方法であって、
取得手段が、前記複数の相手方通信装置のそれぞれからの接続要求から、当該複数の相手方通信装置のそれぞれが転送するデータ量を取得する取得工程と、
通知手段が、前記複数の相手方通信装置のうちの少なくとも2つについての前記データ量の合計が前記無線通信装置が保持できる量である場合、前記複数の相手方通信装置のうちの少なくとも2つに対して同一の、前記無線通信装置と接続するための無線通信パラメータを通知すると共に、前記複数の相手方通信装置のうちの少なくとも2つについての前記データ量の合計が前記無線通信装置が保持できる量でない場合、当該複数の相手方通信装置のうちの少なくとも2つに対して、互いに異なる前記無線通信パラメータを通知する通知工程と、
確立手段が、第1の相手方通信装置に通知した第1の無線通信パラメータを用いて接続を確立するためのメッセージを送信して、前記第1の無線通信パラメータによる接続を確立すると共に、前記第1の無線通信パラメータを用いた前記接続が切断されると、第2の相手方通信装置に通知した第2の無線通信パラメータを用いて接続を確立するためのメッセージを送信して、前記第2の無線通信パラメータによる接続の確立を試みる確立工程と、
を有することを特徴とする制御方法。
A method of controlling a wireless communication device that communicates by wirelessly connecting to each of a plurality of counterpart communication devices,
An acquisition unit acquires an amount of data transferred by each of the plurality of counterpart communication devices from a connection request from each of the plurality of counterpart communication devices; and
In a case where the notifying means is such that the total amount of data for at least two of the plurality of counterpart communication devices is an amount that the wireless communication device can hold, for at least two of the plurality of counterpart communication devices Wireless communication parameters for connecting to the same wireless communication device, and the total amount of data for at least two of the plurality of counterpart communication devices is not an amount that the wireless communication device can hold. A notification step of notifying the wireless communication parameters different from each other to at least two of the plurality of counterpart communication devices;
The establishing means transmits a message for establishing a connection using the first wireless communication parameter notified to the first counterpart communication device to establish a connection based on the first wireless communication parameter, and When the connection using the wireless communication parameter of 1 is disconnected, a message for establishing a connection using the second wireless communication parameter notified to the second counterpart communication device is transmitted, and the second An establishment process that attempts to establish a connection with wireless communication parameters;
A control method characterized by comprising:
コンピュータを請求項16から18のいずれか1項に記載の無線通信装置が備える各手段として機能させるためのプログラム。   The program for functioning a computer as each means with which the radio | wireless communication apparatus of any one of Claims 16-18 is provided.
JP2012272472A 2012-12-13 2012-12-13 Wireless communication system, wireless communication device, communication method, control method, and program Active JP6224891B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012272472A JP6224891B2 (en) 2012-12-13 2012-12-13 Wireless communication system, wireless communication device, communication method, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012272472A JP6224891B2 (en) 2012-12-13 2012-12-13 Wireless communication system, wireless communication device, communication method, control method, and program

Publications (3)

Publication Number Publication Date
JP2014120804A true JP2014120804A (en) 2014-06-30
JP2014120804A5 JP2014120804A5 (en) 2016-01-07
JP6224891B2 JP6224891B2 (en) 2017-11-01

Family

ID=51175328

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012272472A Active JP6224891B2 (en) 2012-12-13 2012-12-13 Wireless communication system, wireless communication device, communication method, control method, and program

Country Status (1)

Country Link
JP (1) JP6224891B2 (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016013119A1 (en) * 2014-07-25 2016-01-28 キヤノン株式会社 Communication device, communication device control method, and program
WO2016056250A1 (en) * 2014-10-10 2016-04-14 Ricoh Company, Limited Communication device, communication method, system, and computer program product
JP2016090407A (en) * 2014-11-05 2016-05-23 株式会社バーズ情報科学研究所 Positional information processing system
JP2016147473A (en) * 2015-02-13 2016-08-18 キヤノン株式会社 Image forming apparatus and method and program for executing pre-printing process
JP2016147406A (en) * 2015-02-10 2016-08-18 キヤノン株式会社 Image forming device, notification method of the same and program
JP2016152538A (en) * 2015-02-18 2016-08-22 キヤノン株式会社 Data communication method, program, and information processing device
JP2017078986A (en) * 2015-10-21 2017-04-27 キヤノン株式会社 Job processing system, job pressing device, control method of job processing device, program thereof and storage medium
JP2017175324A (en) * 2016-03-23 2017-09-28 セイコーエプソン株式会社 Electronic apparatus, terminal, radio communication system, and processing control method
JP2017188875A (en) * 2016-03-31 2017-10-12 キヤノン株式会社 Communication device, control method of information processing apparatus, program, and communication system
US10372388B2 (en) 2016-03-31 2019-08-06 Canon Kabushiki Kaisha Communication system, communication device, and control method
US10491762B2 (en) 2015-02-13 2019-11-26 Canon Kabushiki Kaisha Communication apparatus having specific state determination method of controlling the same, and storage medium
JP2019213213A (en) * 2018-10-18 2019-12-12 ブラザー工業株式会社 Communication apparatus
JP2020022172A (en) * 2019-09-12 2020-02-06 キヤノン株式会社 Program, control method of communication terminal, and communication terminal
JP2021170848A (en) * 2019-08-15 2021-10-28 ブラザー工業株式会社 Communication apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006270665A (en) * 2005-03-25 2006-10-05 Oki Electric Ind Co Ltd Handover method in wireless lan
JP2007079639A (en) * 2005-09-09 2007-03-29 Canon Inc Image forming apparatus, portable terminal, and control method for them
JP2007124353A (en) * 2005-10-28 2007-05-17 Canon Inc Radio communication device and system, and method of controlling same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006270665A (en) * 2005-03-25 2006-10-05 Oki Electric Ind Co Ltd Handover method in wireless lan
JP2007079639A (en) * 2005-09-09 2007-03-29 Canon Inc Image forming apparatus, portable terminal, and control method for them
JP2007124353A (en) * 2005-10-28 2007-05-17 Canon Inc Radio communication device and system, and method of controlling same

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2016013119A1 (en) * 2014-07-25 2017-06-15 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
US9549281B2 (en) 2014-07-25 2017-01-17 Canon Kabushiki Kaisha Communication apparatus, control method for communication apparatus, and program
CN106576240A (en) * 2014-07-25 2017-04-19 佳能株式会社 Communication device, communication device control method, and program
WO2016013119A1 (en) * 2014-07-25 2016-01-28 キヤノン株式会社 Communication device, communication device control method, and program
CN106576240B (en) * 2014-07-25 2020-03-10 佳能株式会社 Communication apparatus and control method of communication apparatus
WO2016056250A1 (en) * 2014-10-10 2016-04-14 Ricoh Company, Limited Communication device, communication method, system, and computer program product
JP2016090407A (en) * 2014-11-05 2016-05-23 株式会社バーズ情報科学研究所 Positional information processing system
JP2016147406A (en) * 2015-02-10 2016-08-18 キヤノン株式会社 Image forming device, notification method of the same and program
JP2016147473A (en) * 2015-02-13 2016-08-18 キヤノン株式会社 Image forming apparatus and method and program for executing pre-printing process
US10834274B2 (en) 2015-02-13 2020-11-10 Canon Kabushiki Kaisha Communication apparatus having first or second state determination, method of controlling the same, and storage medium
US11316988B2 (en) 2015-02-13 2022-04-26 Canon Kabushiki Kaisha Communication apparatus using an advertising signal, method of controlling the same, and storage medium
US10491762B2 (en) 2015-02-13 2019-11-26 Canon Kabushiki Kaisha Communication apparatus having specific state determination method of controlling the same, and storage medium
US11792337B2 (en) 2015-02-13 2023-10-17 Canon Kabushiki Kaisha Communication apparatus having power related predetermined processing, method of controlling the same, and storage medium
US11503168B2 (en) 2015-02-18 2022-11-15 Canon Kabushiki Kaisha Information processing apparatus enabling communication settings to be made with ease, method of controlling information processing apparatus, and storage medium
JP2016152538A (en) * 2015-02-18 2016-08-22 キヤノン株式会社 Data communication method, program, and information processing device
JP2017078986A (en) * 2015-10-21 2017-04-27 キヤノン株式会社 Job processing system, job pressing device, control method of job processing device, program thereof and storage medium
JP2017175324A (en) * 2016-03-23 2017-09-28 セイコーエプソン株式会社 Electronic apparatus, terminal, radio communication system, and processing control method
US10372388B2 (en) 2016-03-31 2019-08-06 Canon Kabushiki Kaisha Communication system, communication device, and control method
JP2017188875A (en) * 2016-03-31 2017-10-12 キヤノン株式会社 Communication device, control method of information processing apparatus, program, and communication system
JP2019213213A (en) * 2018-10-18 2019-12-12 ブラザー工業株式会社 Communication apparatus
JP2021170848A (en) * 2019-08-15 2021-10-28 ブラザー工業株式会社 Communication apparatus
JP7107415B2 (en) 2019-08-15 2022-07-27 ブラザー工業株式会社 communication equipment
JP2020022172A (en) * 2019-09-12 2020-02-06 キヤノン株式会社 Program, control method of communication terminal, and communication terminal

Also Published As

Publication number Publication date
JP6224891B2 (en) 2017-11-01

Similar Documents

Publication Publication Date Title
JP6224891B2 (en) Wireless communication system, wireless communication device, communication method, control method, and program
US11510263B2 (en) Method for using legacy Wi-Fi and Wi-Fi P2P simultaneously
KR101772927B1 (en) Communication apparatus, method of controlling a communication apparatus, and storage medium
JP4475639B2 (en) Wireless terminal apparatus, control method thereof and communication control method
EP2475214B1 (en) Wireless apparatus, system, and communication controlling method thereof
US9172548B2 (en) Communication apparatus, control method and storage medium
JP2006093787A (en) Communication apparatus and method
TWM303565U (en) Wireless communication system
JP6242051B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP2013179582A (en) Communication device, control method therefor and program
JP5338737B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND VOICE CALL DEVICE
JP6579804B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP5546225B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
US20110274098A1 (en) Method and apparatus for performing pairing between coordinator and device in network, method and apparatus for performing pairing between devices, network system including the coordinator and the devices
JP2017220751A (en) Information processing device and program
JP2002135314A (en) Communication control method and communication equipment
WO2014115611A1 (en) Communication device, method for controlling communication device, and program
JP5693181B2 (en) Wireless communication apparatus, control method and program for wireless communication apparatus
US8743216B2 (en) Communication system, image output apparatus, communication processing method thereof, and computer-readable storage medium
JP6337890B2 (en) Control device, communication system, communication device, communication method, and program
JP2004229237A (en) Wireless radio
JP5843634B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP6643185B2 (en) Communication device, communication method, and program
JP2013123211A (en) Communication device and control method of communication device
JP2006093882A (en) Radio communication device, control method thereof, and radio communication system

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151111

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151111

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160630

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160801

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160921

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170331

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170512

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171006

R151 Written notification of patent or utility model registration

Ref document number: 6224891

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151