JP2013055426A - Communication device, control method of communication device, and program - Google Patents

Communication device, control method of communication device, and program Download PDF

Info

Publication number
JP2013055426A
JP2013055426A JP2011191071A JP2011191071A JP2013055426A JP 2013055426 A JP2013055426 A JP 2013055426A JP 2011191071 A JP2011191071 A JP 2011191071A JP 2011191071 A JP2011191071 A JP 2011191071A JP 2013055426 A JP2013055426 A JP 2013055426A
Authority
JP
Japan
Prior art keywords
communication
base station
printer
communication partner
disappearance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2011191071A
Other languages
Japanese (ja)
Inventor
Kazuo Moritomo
和夫 森友
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 JP2011191071A priority Critical patent/JP2013055426A/en
Publication of JP2013055426A publication Critical patent/JP2013055426A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve such a problem that it is impossible to continue data transmission reception processing when an access point disappears while terminals performs the data transmission reception processing via the access point.SOLUTION: A communication device which connects and communicates with a base station, comprises: an acquisition unit for acquiring an apparatus identifier of a communication partner device; a detection unit for detecting disappearance of a base station; a detection unit for detecting the communication partner device with which the communication device had communicated before the disappearance of the base station, by using the apparatus identifier acquired by the acquisition unit, when the disappearance of the base station is detected; and a resumption unit for performing processing to resume communication between the communication device and the communication partner device by making one of the communication device and the communication partner device as a new base station, when the detection unit detects the communication partner device.

Description

本発明は、通信装置、通信装置の制御方法、およびプログラムに関する。   The present invention relates to a communication device, a communication device control method, and a program.

近年、IEEE802.11規格シリーズに準拠した無線LANに代表される無線通信が注目されており、様々な対応機器が開発、販売されている。無線LANを用いた通信の場合はアクセスポイント(以下、「AP」とも称する)と呼ばれる機器が基地局となって無線ネットワークを構成し、無線ネットワークの制御を行う。無線ネットワークに参加する端末は基地局のネットワーク構成要素である無線パラメータを共有しなければならない。端末はこの無線パラメータを基地局と共有することにより無線ネットワークに参加できる。基地局はビーコンと呼ばれる同期信号をネットワーク内に報知し、端末はこのビーコンを受信することにより基地局と同期して無線通信を実現している。すなわち基地局は無線ネットワークにとって不可欠な存在である。従って無線ネットワークから基地局が消滅すると、自動的に無線ネットワークも消滅してしまう。   In recent years, wireless communication typified by wireless LAN compliant with the IEEE 802.11 standard series has attracted attention, and various compatible devices have been developed and sold. In the case of communication using a wireless LAN, a device called an access point (hereinafter also referred to as “AP”) serves as a base station to form a wireless network and control the wireless network. Terminals participating in the wireless network must share wireless parameters that are network components of the base station. The terminal can participate in the wireless network by sharing this wireless parameter with the base station. The base station broadcasts a synchronization signal called a beacon in the network, and the terminal receives the beacon, thereby realizing wireless communication in synchronization with the base station. That is, the base station is indispensable for the wireless network. Therefore, when the base station disappears from the wireless network, the wireless network automatically disappears.

そこで様々なメーカーから、基地局が無線ネットワークから離脱、または消滅してしまった場合の対処方法が提案されている。特許文献1では、無線ネットワーク内の端末の中からバックアップのための基地局を予め選出しておき、基地局が消滅する際に、バックアップ基地局に切り替える技術が開示されている。また特許文献2では、バックアップ基地局としての優先順位を設定する方法が開示されている。さらに特許文献3では、基地局が基地局として動作不可能になった際に、そのことを検知した端末が代わりにビーコンを送出することによって無線ネットワークを継続する方法が開示されている。このように、ネットワークを制御する基地局が存在しなくなった場合の対処についてさまざまな方式が提案されている。   Therefore, various manufacturers have proposed countermeasures when a base station leaves or disappears from a wireless network. Patent Document 1 discloses a technology in which a base station for backup is selected in advance from terminals in a wireless network and switched to a backup base station when the base station disappears. Patent Document 2 discloses a method for setting the priority order as a backup base station. Further, Patent Document 3 discloses a method in which when a base station becomes inoperable as a base station, a terminal that detects the fact transmits a beacon instead to continue the wireless network. As described above, various methods have been proposed for coping with the case where there is no longer a base station that controls the network.

特開2004−129042号公報JP 2004-129042 A 特開2002−223217号公報JP 2002-223217 A 特開2007−281625号公報JP 2007-281625 A

しかしながら、無線ネットワークから基地局が消滅した際に、バックアップのための基地局を設けるだけでは以下のような問題が発生する。   However, when the base station disappears from the wireless network, the following problem occurs only by providing a base station for backup.

例えば、無線通信機能を搭載したプリンタ、同じく無線通信機能を搭載したデジタルカメラ(以下、「DSC(デジタルスチルカメラ)」とも称する)が無線ネットワークに参加しているとする。さらには、DSC内の画像データが、無線で基地局を介してプリンタで印刷中であるとする。   For example, it is assumed that a printer equipped with a wireless communication function and a digital camera equipped with the same wireless communication function (hereinafter also referred to as “DSC (digital still camera)”) participate in the wireless network. Furthermore, it is assumed that image data in the DSC is being printed by a printer via a base station wirelessly.

このとき基地局が消滅し、バックアップ基地局が基地局となってネットワークを維持するとする。ところがバックアップ基地局が構成する無線ネットワークにDSC、またはプリンタ等の機器が継続して参加し続けるという保証はない。各機器が、基地局が異なる機器になった事象を検知して、ネットワーク参加をやめる場合も想定できる。また消滅してしまった基地局が主な通信相手であった端末が存在する場合、主な通信相手である基地局がいなくなったのなら、バックアップ基地局が構成するネットワークに参加していても意味がない。さらには基地局が消滅したことを検知した端末が、
単に端末が代わりにビーコンを送出するだけでは、データの送受を継続できない。このように、無線ネットワークにおいて、DSC内の画像データを無線により基地局を介してプリンタに印刷している際に基地局が消滅してしまうと、印刷処理を継続できなくなってしまう。
At this time, the base station disappears and the backup base station becomes a base station to maintain the network. However, there is no guarantee that devices such as DSCs or printers will continue to participate in the wireless network formed by the backup base station. It can be assumed that each device detects an event that the base station has become a different device and stops network participation. Also, if there is a terminal whose main communication partner is the base station that has disappeared, if the base station that is the main communication partner disappears, it means that it is participating in the network that the backup base station is configured to There is no. Furthermore, the terminal that detects the disappearance of the base station
If the terminal simply sends a beacon instead, data transmission / reception cannot be continued. As described above, if the base station disappears while image data in the DSC is wirelessly printed on the printer via the base station in the wireless network, the printing process cannot be continued.

以上説明したように、無線ネットワークから基地局が消滅した際にバックアップのための基地局を設けるという処理、または基地局の消滅を検知した端末が代わりにビーコンを送出するという処理だけでは、継続したデータ送受信が必ず維持できる保証がないという課題がある。   As explained above, the process of providing a base station for backup when the base station disappears from the wireless network, or the process of sending a beacon instead by the terminal that detected the disappearance of the base station continued. There is a problem that there is no guarantee that data transmission and reception can be maintained without fail.

上記の課題に鑑み、本発明は、無線ネットワークから基地局が離脱した場合でも、継続したデータ送受信を維持する技術を提供することを目的とする。   In view of the above problems, an object of the present invention is to provide a technique for maintaining continuous data transmission / reception even when a base station leaves a wireless network.

上記の目的を達成する本発明に係る通信装置は、
基地局に接続して通信する通信装置であって、
通信相手装置の機器識別子を取得する取得手段と、
前記基地局の消滅を検知する検知手段と、
前記基地局の消滅が検知された場合に、前記取得手段により取得した機器識別子を用いて前記基地局の消滅前に通信していた通信相手装置を検出する検出手段と、
前記検出手段により前記通信相手装置を検出すると、前記通信装置と前記通信相手装置のいずれか一方が新たに基地局となり、前記通信装置と前記通信相手装置間の通信を再開するための処理を行う再開手段と、
を有することを特徴とする。
A communication device according to the present invention that achieves the above object is as follows.
A communication device that communicates by connecting to a base station,
An acquisition means for acquiring a device identifier of a communication partner device;
Detecting means for detecting the disappearance of the base station;
When the disappearance of the base station is detected, a detecting means for detecting a communication partner apparatus that communicated before the disappearance of the base station using the device identifier obtained by the obtaining means,
When the communication partner device is detected by the detection means, either the communication device or the communication partner device newly becomes a base station, and performs processing for resuming communication between the communication device and the communication partner device. Resumption means,
It is characterized by having.

本発明によれば、無線ネットワークから基地局が消滅した場合でも、データ送受信を継続することが可能となる。   According to the present invention, data transmission / reception can be continued even when a base station disappears from a wireless network.

本発明に係る通信システムの構成例を示す図。The figure which shows the structural example of the communication system which concerns on this invention. 本発明に係るプリンタの機能ブロック図。1 is a functional block diagram of a printer according to the present invention. 本発明に係るDSCの機能ブロック図。The functional block diagram of DSC which concerns on this invention. 本発明に係るPCの機能ブロック図。The functional block diagram of PC concerning this invention. 本発明に係るプリンタおよびDSCのシーケンス図。FIG. 2 is a sequence diagram of a printer and a DSC according to the present invention. 本発明に係るプリンタの処理手順を示すフローチャート。3 is a flowchart showing a processing procedure of the printer according to the present invention.

以下では、IEEE802.11規格に準拠して無線LANシステムを用いた例について説明するが、通信形態は必ずしもこれに限らない。各実施形態で共通している点は、無線ネットワークがAPによって制御されていることである。無線ネットワーク下の端末はAPを介することで通信処理を行いデータ送受信を実現することができる。本発明は、データ送受を行っている端末のみを抽出し、またデータ送受を行っている端末のみで無線ネットワークを再構築させる。以下、本発明について具体的に説明する。   In the following, an example using a wireless LAN system in conformity with the IEEE 802.11 standard will be described, but the communication form is not necessarily limited to this. A common point between the embodiments is that the wireless network is controlled by the AP. Terminals under the wireless network can perform data transmission and reception by performing communication processing via the AP. The present invention extracts only the terminals that are transmitting and receiving data, and reconstructs the wireless network only by the terminals that are transmitting and receiving data. Hereinafter, the present invention will be specifically described.

(第1実施形態)
図1は、本実施形態における無線LAN通信システムの構成例である。ノートPC103は、IEEE802.11規格に対応したアクセスポイント機能に則って動作するAPとして起動している。このノートPC103が構成する無線ネットワークに、無線端末として、無線LAN機能を実現する無線通信機能を搭載したプリンタ101と、DSC102(デジタルスチルカメラ)と、DSC104と、DSC105とが参加している。ノートPC103は、無線で画像データを直接プリンタ101により印刷することができる。DSC102、104、および105は、それぞれ無線でノートPC103を介して画像データをプリンタ101により印刷することができる。
(First embodiment)
FIG. 1 is a configuration example of a wireless LAN communication system according to the present embodiment. The notebook PC 103 is activated as an AP that operates in accordance with an access point function corresponding to the IEEE 802.11 standard. A printer 101 equipped with a wireless communication function for realizing a wireless LAN function, a DSC 102 (digital still camera), a DSC 104, and a DSC 105 participate as wireless terminals in a wireless network formed by the notebook PC 103. The notebook PC 103 can print image data directly by the printer 101 wirelessly. The DSCs 102, 104, and 105 can print image data by the printer 101 via the notebook PC 103 wirelessly.

図2乃至図4を参照して、プリンタ101、ノートPC103、DSC102、104、および105における無線端末の機能構成を説明する。まず図2を参照して、プリンタ101の機能構成を説明する。プリンタ101は、プリンタ機能部201と、電源部202と、印刷画像転送処理部203と、無線通信機能部204と、表示処理部205と、操作部206と、CPU207と、記憶部208と、無線再接続判断部209と、アクセスポイント機能部210とを備える。   The functional configuration of the wireless terminal in the printer 101, notebook PC 103, DSCs 102, 104, and 105 will be described with reference to FIGS. First, the functional configuration of the printer 101 will be described with reference to FIG. The printer 101 includes a printer function unit 201, a power supply unit 202, a print image transfer processing unit 203, a wireless communication function unit 204, a display processing unit 205, an operation unit 206, a CPU 207, a storage unit 208, a wireless A reconnection determination unit 209 and an access point function unit 210 are provided.

プリンタ機能部201は、印刷処理等のプリンタとしての機能を実行する。当該機能に関する詳細な説明はここでは省略する。電源部202は、プリンタ機能部201、無線通信機能部204等、プリンタ101が動作するのに必要な機能に電力を供給する。印刷画像転送処理部203は、DSCと接続され、DSC内の画像データの、プリンタ101における印刷処理を実現するための、印刷画像転送プロトコルを制御する。無線通信機能部204は、IEEE802.11規格に則って無線通信を行い、他の無線通信機器との間で無線信号の送受信を行う。表示処理部205は、LCD表示、LED表示等により、印刷機能や無線機能に関して、ユーザに対して表示すべき内容を制御して情報として表示する。操作部206は、印刷機能、無線機能に関する設定などを行うための操作機能を有する。つまり、表示処理部205および操作部206は、プリンタ101におけるユーザI/Fとなる。CPU207は、各処理部を制御する。CPU207によって制御されるプログラムは、RAM、もしくはフラッシュROMなどによって構成される記憶部208に格納される。無線通信の通信パラメータ、または後述する通信相手機器の機器識別子なども記憶部208に格納される。またCPU207によって処理されるデータも記憶部208へ書き込まれ、または記憶部208から読み込まれる。アクセスポイント機能部210は、アクセスポイントとして動作するための機能を有しており、無線ネットワークを構築する機能を有する。さらには、自身が構築する無線ネットワークに参加する無線端末の情報を管理する。無線再接続判断部209は、接続先となるAPの検出ができなくなった場合の無線接続に関する処理を実施する。詳細は後述する。   The printer function unit 201 executes functions as a printer such as print processing. A detailed description of the function is omitted here. The power supply unit 202 supplies power to functions necessary for the printer 101 to operate, such as the printer function unit 201 and the wireless communication function unit 204. A print image transfer processing unit 203 is connected to the DSC, and controls a print image transfer protocol for realizing print processing of image data in the DSC in the printer 101. The wireless communication function unit 204 performs wireless communication in accordance with the IEEE 802.11 standard, and transmits and receives wireless signals to and from other wireless communication devices. The display processing unit 205 controls and displays information to be displayed to the user regarding the print function and the wireless function by LCD display, LED display, or the like. The operation unit 206 has an operation function for performing settings related to a print function and a wireless function. That is, the display processing unit 205 and the operation unit 206 are user I / Fs in the printer 101. The CPU 207 controls each processing unit. A program controlled by the CPU 207 is stored in a storage unit 208 configured by a RAM or a flash ROM. Communication parameters for wireless communication, device identifiers of communication partner devices described later, and the like are also stored in the storage unit 208. Data processed by the CPU 207 is also written into the storage unit 208 or read from the storage unit 208. The access point function unit 210 has a function for operating as an access point, and has a function of constructing a wireless network. Furthermore, it manages information on wireless terminals participating in the wireless network built by itself. The wireless reconnection determination unit 209 performs processing related to wireless connection when it becomes impossible to detect the AP as the connection destination. Details will be described later.

次に、図3を参照して、DSC102、104、および105の機能構成を説明する。DSC102の機能構成と、DSC104、DSC105の機能構成とは同じであるため、DSC102を代表として説明する。DSC102は、DSC機能部301と、電源部302と、印刷画像転送処理部303と、無線通信機能部304と、表示処理部305と、操作部306と、CPU307と、記憶部308と、無線再接続判断部309と、アクセスポイント機能部310とを備える。   Next, the functional configuration of the DSCs 102, 104, and 105 will be described with reference to FIG. Since the functional configuration of the DSC 102 and the functional configuration of the DSC 104 and DSC 105 are the same, the DSC 102 will be described as a representative. The DSC 102 includes a DSC function unit 301, a power supply unit 302, a print image transfer processing unit 303, a wireless communication function unit 304, a display processing unit 305, an operation unit 306, a CPU 307, a storage unit 308, and a wireless retransmission unit. A connection determination unit 309 and an access point function unit 310 are provided.

DSC102は、プリンタ101とほぼ同様の構成である。DSC102は、撮像処理等のDSC特有の機能を処理するDSC機能部301を有する。電源部302、印刷画像転送処理部303、無線通信機能部304、CPU307、記憶部308、無線再接続判断部309、およびアクセスポイント機能部310の各処理部の機能は、図2を参照して説明したプリンタ101の各処理部の機能と同様である。表示処理部305および操作部306も、図2を参照して説明したプリンタ101の各処理部の機能と同様であるが、DSC102に特有の表示、設定が可能である。   The DSC 102 has almost the same configuration as the printer 101. The DSC 102 includes a DSC function unit 301 that processes DSC-specific functions such as imaging processing. The functions of the processing units of the power supply unit 302, the print image transfer processing unit 303, the wireless communication function unit 304, the CPU 307, the storage unit 308, the wireless reconnection determination unit 309, and the access point function unit 310 are described with reference to FIG. This is the same as the function of each processing unit of the printer 101 described. The display processing unit 305 and the operation unit 306 are also similar in function to each processing unit of the printer 101 described with reference to FIG. 2, but can display and set specific to the DSC 102.

次に、図4を参照して、ノートPC103の機能構成を説明する。ノートPC103は、ノートPC機能部401と、電源部402と、印刷画像転送処理部403と、無線通信機能部404と、表示処理部405と、操作部406と、CPU407と、記憶部408と、無線再接続判断部409と、アクセスポイント機能部410とを備える。   Next, the functional configuration of the notebook PC 103 will be described with reference to FIG. The notebook PC 103 includes a notebook PC function unit 401, a power supply unit 402, a print image transfer processing unit 403, a wireless communication function unit 404, a display processing unit 405, an operation unit 406, a CPU 407, a storage unit 408, A wireless reconnection determination unit 409 and an access point function unit 410 are provided.

ノートPC103は、プリンタ101とほぼ同様の構成である。ノートPC103は、ノートPC特有の機能を処理するノートPC機能部401を有する。電源部402、印刷画像転送処理部403、無線通信機能部404、CPU407、記憶部408、無線再接続判断部409、およびアクセスポイント機能部410の各処理部の機能は、図2を参照して説明したプリンタ101の各処理部の機能と同様である。表示処理部405および操作部406も、図2を参照して説明したプリンタ101の各処理部の機能と同様であるが、ノートPC103に特有の表示、設定が可能である。 以上、図1における通信システムの構成機器について説明した。図1の通信システムにおいて、DSC102、104、および105は、無線でノートPC103を介してプリンタ101で印刷することが可能である。ところが、この印刷処理中にノートPC103のバッテリーがなくなる、またはノートPC103の所有者によって当該ノートPC103が無線電波の到達範囲外に移動させられたとする。このような状況下では無線ネットワークの維持は不可能となり、印刷処理も中断されてしまう。本実施形態では、このような状況下であっても、DSC、プリンタのユーザが何ら介在することなく、印刷処理が継続され、完了する方法を実現する。   The notebook PC 103 has almost the same configuration as the printer 101. The notebook PC 103 has a notebook PC function unit 401 that processes functions specific to the notebook PC. The functions of the processing units of the power supply unit 402, the print image transfer processing unit 403, the wireless communication function unit 404, the CPU 407, the storage unit 408, the wireless reconnection determination unit 409, and the access point function unit 410 are described with reference to FIG. This is the same as the function of each processing unit of the printer 101 described. The display processing unit 405 and the operation unit 406 are also similar in function to each processing unit of the printer 101 described with reference to FIG. 2, but can display and set specific to the notebook PC 103. Heretofore, the constituent devices of the communication system in FIG. 1 have been described. In the communication system of FIG. 1, the DSCs 102, 104, and 105 can print with a printer 101 via a notebook PC 103 wirelessly. However, it is assumed that the battery of the notebook PC 103 runs out during the printing process, or the notebook PC 103 is moved out of the radio wave reach by the owner of the notebook PC 103. Under such circumstances, it is impossible to maintain the wireless network, and the printing process is interrupted. In this embodiment, even under such a situation, a printing method is continued and completed without any intervention by a DSC or printer user.

具体的な方法を図5のシーケンス図を参照して説明する。DSC102の処理手順はプリンタ101の処理手順とほぼ同様なので説明は省略する。   A specific method will be described with reference to the sequence diagram of FIG. Since the processing procedure of the DSC 102 is almost the same as the processing procedure of the printer 101, description thereof is omitted.

まず、ノートPC103はIEEE802.11規格に則ったAPとして起動し、さらには無線ネットワークを構築し、ビーコンの送出を開始する(S501)。プリンタ101、DSC102、104、および105は、それぞれ通信パラメータ自動設定方式を実行するなどしてノートPC103から通信パラメータを取得する。通信パラメータ自動設定方式によりノートPC103からノートPC103に提供される通信パラメータは、ネットワーク識別子であるSSID、無線ネットワークで使用される周波数チャネルの情報、暗号方式、暗号鍵、認証方式、認証鍵を含むものとする。さらにはプリンタ101、DSC102、104、および105は、取得した通信パラメータを用いて無線接続を実施する(S502)。プリンタ101、DSC102、104、および105は、ノートPC103が送出するビーコンと同期を取ることにより、ノートPC103を介して無線通信を実現する。   First, the notebook PC 103 is activated as an AP conforming to the IEEE 802.11 standard, further constructs a wireless network, and starts sending a beacon (S501). The printer 101, the DSCs 102, 104, and 105 respectively acquire communication parameters from the notebook PC 103 by executing a communication parameter automatic setting method. Communication parameters provided from the notebook PC 103 to the notebook PC 103 by the communication parameter automatic setting method include a network identifier SSID, frequency channel information used in the wireless network, an encryption method, an encryption key, an authentication method, and an authentication key. . Furthermore, the printer 101 and the DSCs 102, 104, and 105 perform wireless connection using the acquired communication parameters (S502). The printer 101 and the DSCs 102, 104, and 105 realize wireless communication via the notebook PC 103 by synchronizing with the beacon transmitted from the notebook PC 103.

これらの工程により例えばDSC102、104または105にある画像データを、ノートPC103を介して無線でプリンタ101に転送し、印刷することが可能となる。ここではDSC102内にある画像データをプリンタ101において印刷する場合について説明する。なおDSC104、DSC105は、無線ネットワークには存在するが、画像印刷などの処理は実行されていない状況である。   Through these steps, for example, image data in the DSC 102, 104, or 105 can be wirelessly transferred to the printer 101 via the notebook PC 103 and printed. Here, a case where image data in the DSC 102 is printed by the printer 101 will be described. DSC 104 and DSC 105 exist in the wireless network, but processing such as image printing is not executed.

DSC102のユーザは表示処理部305、操作部306を介してDSC102内の画像データから印刷したい画像データの選択を行う。次に印刷処理を実行する。この操作により印刷画像転送プロトコルの処理が開始される(S503)。この処理の過程においてプリンタ101はDSC102の機器識別子を、DSC102はプリンタ101の機器識別子をそれぞれ記憶する(S504、S505)。さらには印刷画像転送プロトコルを介して印刷処理が実行される(S506)。   A user of the DSC 102 selects image data to be printed from image data in the DSC 102 via the display processing unit 305 and the operation unit 306. Next, print processing is executed. By this operation, processing of the print image transfer protocol is started (S503). In this process, the printer 101 stores the device identifier of the DSC 102, and the DSC 102 stores the device identifier of the printer 101 (S504, S505). Further, the printing process is executed via the print image transfer protocol (S506).

ここで、印刷処理実行中にノートPC103のバッテリーがなくなる、またはノートPC103の所有者によって当該ノートPC103が無線電波の到達範囲外へ移動させられた、などの理由によりノートPC103が無線ネットワーク内から離脱したとする(S507)。プリンタ101、DSC102、104、および105は、基地局であるノートPC103からのビーコンを検知することができなくなり、これによりネットワークが消滅したことを検知する(S508)。このとき、プリンタ101およびDSC102は、印刷処理を継続中であることから、代替の無線ネットワークの構築を試みる。以下にその詳細を記載する。   Here, the notebook PC 103 is removed from the wireless network because the battery of the notebook PC 103 runs out during execution of the printing process or the notebook PC 103 is moved out of the wireless radio wave reach by the owner of the notebook PC 103. Suppose that (S507). The printer 101, the DSCs 102, 104, and 105 cannot detect the beacon from the notebook PC 103 that is the base station, thereby detecting that the network has disappeared (S508). At this time, since the printer 101 and the DSC 102 are continuing the printing process, an attempt is made to construct an alternative wireless network. Details are described below.

プリンタ101は、無線ネットワークの消滅を検知すると、無線再接続判断部209が印刷画像転送処理部203に印刷処理を一時停止するように指示する(S509)。さらに無線再接続判断部209は無線通信機能部204に探索要求の送信準備、または探索要求の受信準備を指示する。具体的には無線再接続判断部209にて探索要求に自身の機器識別子を付加させてブロードキャストで送信を行うよう無線通信機能部204に指示をする(S510)。   When the printer 101 detects the disappearance of the wireless network, the wireless reconnection determination unit 209 instructs the print image transfer processing unit 203 to temporarily stop the printing process (S509). Further, the wireless reconnection determination unit 209 instructs the wireless communication function unit 204 to prepare for transmission of a search request or to prepare for reception of a search request. Specifically, the wireless reconnection determination unit 209 instructs the wireless communication function unit 204 to add its own device identifier to the search request and perform broadcast transmission (S510).

一方、無線再接続判断部209は探索要求を受信した際には探索要求に付随している機器識別子と、S505で記憶した通信相手の機器識別子とを比較する。機器識別子の比較結果が等しい場合、無線再接続判断部209は探索要求に対する探索応答の送信を無線通信機能部204に指示する。   On the other hand, when receiving the search request, the wireless reconnection determination unit 209 compares the device identifier attached to the search request with the device identifier of the communication partner stored in S505. If the device identifier comparison results are equal, the wireless reconnection determination unit 209 instructs the wireless communication function unit 204 to transmit a search response to the search request.

同じくDSC102も無線ネットワークの消滅を検知すると、無線再接続判断部309が無線通信機能部304に探索要求の送信準備、または探索要求の受信準備を指示する。具体的な処理内容はプリンタ101と同様である。従ってDSC102は探索要求を受信すると、探索要求に付随している機器識別子と、S504で記憶した通信相手の機器識別子とを比較する。ここでは探索要求に付随している機器識別子、S504で記憶した通信相手の機器識別子は共にプリンタ101であるので合致する。従ってDSC102は探索応答をプリンタ101へ応答する(S511)。   Similarly, when the DSC 102 detects the disappearance of the wireless network, the wireless reconnection determination unit 309 instructs the wireless communication function unit 304 to prepare for transmission of a search request or to prepare for reception of a search request. The specific processing content is the same as that of the printer 101. Therefore, when the DSC 102 receives the search request, the DSC 102 compares the device identifier associated with the search request with the device identifier of the communication partner stored in S504. Here, both the device identifier associated with the search request and the device identifier of the communication partner stored in S504 coincide with each other because they are the printer 101. Accordingly, the DSC 102 returns a search response to the printer 101 (S511).

なお、ここではプリンタ101から探索要求を送信したが、DSC102から送信してもよい。特にどちらの機器から送信するという規定を設ける必要も無く、先に無線ネットワークの消滅を検知した機器が探索要求を送信すればよい。そして探索要求を受信した機器が機器識別子の確認を行い、探索応答を送信する。また、さらには探索要求には機器識別子を付随させず、探索応答に機器識別子を付随させ、探索応答の受信側で機器識別子の確認を行ってもよい。   Although the search request is transmitted from the printer 101 here, it may be transmitted from the DSC 102. In particular, it is not necessary to provide a regulation for transmission from either device, and the device that has detected the disappearance of the wireless network may transmit the search request. Then, the device that has received the search request confirms the device identifier and transmits a search response. Further, the device identifier may not be attached to the search request, but the device identifier may be attached to the search response, and the device identifier may be confirmed on the search response receiving side.

さらには探索要求に関してはIEEE802.11規格で定義されるProbe Requestなどで実現可能である。また探索要求、探索応答を、送信または受信する際のチャネルに関しては、これらの要求、応答のすれ違いが発生しないような工夫が必要である。例えば予め決められた周波数チャネルで、かつ予め決められた規定時間内に要求、応答の送受を行う構成がよい。また、ノートPC103がビーコンを送信していた周波数チャネル、つまり、消滅した無線ネットワークにより使われていた周波数チャネルで、消滅を検知してから所定時間内に要求、応答を送受する構成でもよい。   Furthermore, the search request can be realized by Probe Request defined in the IEEE 802.11 standard. Further, with respect to a channel when transmitting or receiving a search request and a search response, it is necessary to devise such that these requests and responses do not pass each other. For example, it is preferable to send and receive requests and responses on a predetermined frequency channel and within a predetermined time. Further, the configuration may be such that the request and response are transmitted and received within a predetermined time after the disappearance is detected on the frequency channel on which the notebook PC 103 has transmitted the beacon, that is, the frequency channel used by the disappeared wireless network.

その後お互いの機器の存在を確認したプリンタ101、DSC102は、どちらかの機器が代理でAPとなる必要がある。そこでどちらの機器がAPになるかの決定処理を行う。AP機器の選定基準は、アクセスポイント機能搭載の有無、バッテリー残量、機器としての処理能力等に基づいて決定してもよい。これらの場合、アクセスポイント機能を搭載している機器をアクセスポイントとする。また、バッテリー残量が多い機器をアクセスポイントとする。または予め比較の基準となる数値などを定義しておき、これの大小を比較することで決定してもよい。また、探索要求を行った側の機器をAPとして決定してもよく、探索応答を行った側の機器をAPとして決定してもよい。ここでは何れかの決定条件を所定の条件として、プリンタ101が代替アクセスポイント(代替AP、代替基地局)として決定されたことにする(S512)。   After that, the printer 101 and the DSC 102 that have confirmed the existence of each other's devices need to be either APs acting as APs. Therefore, the process of determining which device is the AP is performed. The selection criteria for the AP device may be determined based on whether the access point function is installed, the remaining battery level, the processing capability of the device, and the like. In these cases, a device having an access point function is used as an access point. In addition, a device with a large amount of remaining battery is used as an access point. Alternatively, it may be determined by defining a numerical value as a reference for comparison in advance and comparing the magnitude. Further, the device that has made the search request may be determined as an AP, and the device that has made the search response may be determined as an AP. Here, it is assumed that the printer 101 is determined as an alternative access point (alternate AP, alternative base station) using any one of the determination conditions as a predetermined condition (S512).

プリンタ101は自身が構成する無線ネットワークの通信パラメータを生成する(S513)。さらにはアクセスポイント機能部210を介して、IEEE802.11規格に則ったAPとして起動する。DSC102は通信パラメータ自動設定方式を実行するなどしてプリンタ101より通信パラメータを取得する。さらにDSC102は取得した通信パラメータを用いて無線接続を実施する(S514)。無線接続が完了したら、無線再接続判断部209は印刷画像転送処理部203に印刷の再開を指示する(S515)。以上の処理によって画像印刷処理を継続するための代替無線ネットワークが構築される。以後、ノートPC103の離脱によって中断された印刷処理が引き続き継続される。   The printer 101 generates communication parameters for the wireless network that it constitutes (S513). Furthermore, it is activated as an AP conforming to the IEEE 802.11 standard via the access point function unit 210. The DSC 102 acquires communication parameters from the printer 101 by executing a communication parameter automatic setting method. Further, the DSC 102 performs wireless connection using the acquired communication parameter (S514). When the wireless connection is completed, the wireless reconnection determination unit 209 instructs the print image transfer processing unit 203 to resume printing (S515). The alternative wireless network for continuing the image printing process is constructed by the above process. Thereafter, the printing process interrupted by the removal of the notebook PC 103 is continued.

なお印刷処理の終了後、無線接続は切断され(S516)、プリンタ101が生成した代替の無線ネットワークは解消されてもよい。なぜならプリンタ101の代替APとしての挙動はあくまで一時的なものであり、継続的に使用されることで弊害が発生する可能性があるからである。例えばプリンタ101がバッテリー給電で動作していた場合は、定期的にビーコンを送出するために、著しくバッテリーを消耗してしまう可能性がある。また先に離脱したノートPC103が再度復旧した場合に、APとして起動しているためノートPC103が構成する無線ネットワークに再度参加する際に弊害が発生するかもしれない。   Note that after the printing process is completed, the wireless connection may be disconnected (S516), and the alternative wireless network generated by the printer 101 may be canceled. This is because the behavior of the printer 101 as an alternative AP is only temporary, and there is a possibility that an adverse effect may occur if it is continuously used. For example, when the printer 101 is operated by battery power supply, the beacon is periodically transmitted, so that the battery may be consumed significantly. In addition, when the notebook PC 103 that has left earlier is restored again, it may start to act as an AP, and thus a negative effect may occur when rejoining the wireless network that the notebook PC 103 configures.

またDSC104、105においても代替APとしてプリンタ101が構成する無線ネットワークに強制的に参加させられる必要性はない。例えばDSC104、105の主な通信相手先がノートPC103であった場合などは、ノートPC103の存在しないプリンタ101が構成する無線ネットワークに参加しても意味をなさないからである。また、上記説明ではプリンタ101が新たに構成する無線ネットワークの通信パラメータを新たに生成した。このようにすれば、ノートPC103が構成していた無線ネットワークと異なる無線ネットワークを構成するので、プリンタ101がDSC102以外の機器に通信パラメータを提供しないようにすれば、通信対象以外の機器を排除したネットワークを構成できる。また、プリンタ101は新たに通信パラメータを生成せずにノートPC101が構成していた無線ネットワークと同じ通信パラメータを用いることもできる。この場合、DSC102はプリンタ101から通信パラメータを取得しなくてもプリンタ101が構成する無線ネットワークに接続できる。   In DSCs 104 and 105, there is no need to forcibly participate in the wireless network configured by the printer 101 as an alternative AP. For example, when the main communication partner of the DSCs 104 and 105 is the notebook PC 103, it does not make sense to participate in the wireless network configured by the printer 101 without the notebook PC 103. In the above description, communication parameters of a wireless network newly configured by the printer 101 are newly generated. In this way, a wireless network different from the wireless network configured by the notebook PC 103 is configured. Therefore, if the printer 101 does not provide communication parameters to devices other than the DSC 102, devices other than the communication target are excluded. You can configure the network. Further, the printer 101 can also use the same communication parameters as those of the wireless network configured by the notebook PC 101 without newly generating communication parameters. In this case, the DSC 102 can connect to the wireless network that the printer 101 configures without acquiring communication parameters from the printer 101.

次に、図6のフローチャートを参照して、図5のシーケンス図におけるプリンタ101の処理手順について説明する。なお、DSC102、104、および105の処理手順はプリンタ101の処理手順と同様である。   Next, the processing procedure of the printer 101 in the sequence diagram of FIG. 5 will be described with reference to the flowchart of FIG. The processing procedures of the DSCs 102, 104, and 105 are the same as the processing procedure of the printer 101.

S601において、プリンタ101は、APとして機能するノートPC103が送出するビーコンと同期を取ることで、ノートPC103を介して無線通信を実現する。S602において、プリンタ101は、印刷処理を開始する。   In step S <b> 601, the printer 101 realizes wireless communication via the notebook PC 103 by synchronizing with a beacon transmitted from the notebook PC 103 functioning as an AP. In step S602, the printer 101 starts a printing process.

S603において、プリンタ101は、印刷画像転送プロトコルの処理を開始する。S604において、プリンタ101は、通信相手であるDSC102の機器識別子を記憶する。   In step S603, the printer 101 starts processing of a print image transfer protocol. In step S604, the printer 101 stores the device identifier of the DSC 102 that is the communication partner.

S605において、プリンタ101は、印刷画像転送プロトコルを用いた印刷画像転送処理が終了したか否かを判定する。印刷画像転送処理が終了したと判定された場合(S605;YES)、S616へ進む。一方、印刷画像転送処理が終了していないと判定された場合(S605;NO)、S606へ進む。   In step S <b> 605, the printer 101 determines whether the print image transfer process using the print image transfer protocol has been completed. If it is determined that the print image transfer process has been completed (S605; YES), the process proceeds to S616. On the other hand, if it is determined that the print image transfer process has not been completed (S605; NO), the process proceeds to S606.

S606において、プリンタ101は、APとして機能するノートPC103が無線ネットワーク内から離脱したか否かをビーコンの検知の有無により判定する。ノートPC103が無線ネットワーク内から離脱したと判定された場合(S606;YES)、S607へ進む。一方、ノートPC103が無線ネットワーク内から離脱していないと判定された場合(S606;NO)、S605へ戻る。   In step S <b> 606, the printer 101 determines whether the notebook PC 103 functioning as an AP has left the wireless network based on whether or not a beacon is detected. When it is determined that the notebook PC 103 has left the wireless network (S606; YES), the process proceeds to S607. On the other hand, when it is determined that the notebook PC 103 has not left the wireless network (S606; NO), the process returns to S605.

S607において、プリンタ101の無線再接続判断部209は、印刷画像転送処理部203に印刷処理を一時停止するように指示する。S608において、さらにプリンタ101の無線再接続判断部209は、無線通信機能部204に探索要求の送信準備を指示する。具体的には探索要求にプリンタ101の機器識別子を付加させてブロードキャストで送信を行うように無線通信機能部204に指示することにより探索要求を送信する。   In step S <b> 607, the wireless reconnection determination unit 209 of the printer 101 instructs the print image transfer processing unit 203 to temporarily stop print processing. In step S <b> 608, the wireless reconnection determination unit 209 of the printer 101 further instructs the wireless communication function unit 204 to prepare for transmitting a search request. Specifically, the search request is transmitted by instructing the wireless communication function unit 204 to add the device identifier of the printer 101 to the search request and perform transmission by broadcast.

S609において、プリンタ101の無線再接続判断部209は、例えばDSC102から探索要求を受信した際には探索要求に付随している機器識別子と、S604で記憶した通信相手の機器識別子とを比較し、両者が合致するか否かを判定する。両者が合致すると判定された場合(S609;YES)、S610へ進む。一方、両者が合致しないと判定された場合、または、探索要求を受信しない場合(S609;NO)、S611へ進む。   In step S609, the wireless reconnection determination unit 209 of the printer 101 compares the device identifier attached to the search request with the device identifier of the communication partner stored in step S604 when receiving the search request from the DSC 102, for example. It is determined whether or not both match. If it is determined that both match (S609; YES), the process proceeds to S610. On the other hand, when it is determined that the two do not match or when the search request is not received (S609; NO), the process proceeds to S611.

S610において、プリンタ101の無線再接続判断部209は、S609で受信した探索要求に対する探索応答の送信を無線通信機能部204に指示し、無線通信機能部204により探索応答を送信する。その後、S612へ進む。   In step S610, the wireless reconnection determination unit 209 of the printer 101 instructs the wireless communication function unit 204 to transmit a search response to the search request received in step S609, and the wireless communication function unit 204 transmits the search response. Thereafter, the process proceeds to S612.

S611において、プリンタ101は、S608で送信した探索要求に対する探索応答を受信したか否かを判定する。探索応答を受信したと判定された場合(S611;YES)、S612へ進む。一方、所定時間の間に探索応答を受信していないと判定された場合(S611;NO)、S616へ進む。   In step S611, the printer 101 determines whether a search response to the search request transmitted in step S608 has been received. When it is determined that the search response has been received (S611; YES), the process proceeds to S612. On the other hand, when it is determined that the search response has not been received within the predetermined time (S611; NO), the process proceeds to S616.

S612において、プリンタ101は、通信相手との間で何れをAPとして動作させるかを決定する。この際の決定基準は、図5のシーケンス図を参照して説明した通りである。   In step S612, the printer 101 determines which one of the communication partners is to operate as an AP. The determination criteria at this time are as described with reference to the sequence diagram of FIG.

S613において、プリンタ101は、DSC102との間で用いる無線ネットワークパラメータ決定処理を行う。S614において、プリンタ101は、S613で決定されたパラメータを用いて無線ネットワークへ構築する。また、DSC102はプリンタ101から通信パラメータを取得し、プリンタ101の無線ネットワークに接続する。S615において、プリンタ101は、DSC102と無線接続した後に、通信を再開し、一時停止されていた印刷処理を再開する。その後、S605へ戻る。   In step S <b> 613, the printer 101 performs wireless network parameter determination processing used with the DSC 102. In step S614, the printer 101 establishes a wireless network using the parameters determined in step S613. In addition, the DSC 102 acquires communication parameters from the printer 101 and connects to the wireless network of the printer 101. In step S615, the printer 101 resumes communication after wirelessly connecting to the DSC 102, and resumes the temporarily stopped printing process. Thereafter, the process returns to S605.

S616において、プリンタ101は、S604で記憶した通信相手であるDSC102の機器識別子を消去する。S617において、印刷画像の転送を切断する処理を行う。以上で図6のフローチャートの各処理が終了する。   In step S616, the printer 101 deletes the device identifier of the DSC 102 that is the communication partner stored in step S604. In step S617, a process for cutting the transfer of the print image is performed. Thus, each process of the flowchart of FIG. 6 ends.

以上説明したようにDSC102が無線でノートPC103を介してプリンタ101に印刷処理中に、ノートPC103、及びノートPC103によって構成される無線ネットワークが消滅してもユーザによる処理を何ら必要としなくてもデジタルカメラの画像の印刷処理を継続できる。   As described above, when the DSC 102 wirelessly prints to the printer 101 via the notebook PC 103, even if the wireless network constituted by the notebook PC 103 and the notebook PC 103 disappears, there is no need for any user processing. The camera image printing process can be continued.

また消滅した無線ネットワークに存在した端末を全て代替無線ネットワークに再加入させないことにより、無線ネットワークによるデータ通信が急務でない端末にとっては省電力効果を得ることができるという利点もある。   In addition, by not re-joining all the terminals existing in the extinguished wireless network to the alternative wireless network, there is an advantage that a power saving effect can be obtained for a terminal in which data communication by the wireless network is not urgent.

上記説明ではプリンタ101の通信相手がDSC102である場合について説明した。次にプリンタ101の通信相手がノートPC103である場合について説明する。すなわち、プリンタ101の通信相手であるノートPC103とアクセスポイントとが同一の機器である場合である。また、プリンタ101の通信相手が例えばノートPC103と有線で接続される外部ネットワークの端末である場合について説明する。   In the above description, the case where the communication partner of the printer 101 is the DSC 102 has been described. Next, a case where the communication partner of the printer 101 is the notebook PC 103 will be described. That is, the notebook PC 103, which is the communication partner of the printer 101, and the access point are the same device. A case where the communication partner of the printer 101 is an external network terminal connected to the notebook PC 103 by wire, for example, will be described.

以下、図6のフローチャートを再び参照して、プリンタ101の処理の手順について説明する。   The processing procedure of the printer 101 will be described below with reference to the flowchart of FIG.

S601において、ノートPC103およびプリンタ101は、ノートPC103がAPであることから、ノートPC103に存在する画像データを直接無線でプリンタ101に転送して印刷することが可能な状態である。ノートPC103のユーザは表示処理部305、操作部306を介してノートPC103内の画像データ等印刷したいデータの選択を行う。S602において、プリンタ101は、印刷処理を実行する。S603において、プリンタ101で、この操作により印刷画像転送プロトコルの処理が開始される。   In step S601, since the notebook PC 103 and the printer 101 are APs, the notebook PC 103 is in a state in which image data existing in the notebook PC 103 can be directly transferred to the printer 101 and printed. A user of the notebook PC 103 selects data to be printed such as image data in the notebook PC 103 via the display processing unit 305 and the operation unit 306. In step S602, the printer 101 executes print processing. In step S603, the printer 101 starts processing of a print image transfer protocol by this operation.

S604において、S603の処理の過程においてプリンタ101は、ノートPC103の機器識別子を、一方ノートPC103はプリンタ101の機器識別子をそれぞれ記憶する。その後、印刷画像転送プロトコルを介して印刷処理が実行される。ここまでの手順は上述の手順とほぼ同様である。すなわち、プリンタ101の通信相手機器がDSC102の代わりにノートPC103になっていること、プリンタ101とノートPC103とは直接無線で印刷処理を実施していること以外は同様である。   In step S604, in the process of step S603, the printer 101 stores the device identifier of the notebook PC 103, while the notebook PC 103 stores the device identifier of the printer 101. Thereafter, a printing process is executed via the print image transfer protocol. The procedure so far is almost the same as the above-described procedure. In other words, the communication partner device of the printer 101 is the notebook PC 103 instead of the DSC 102, and the printer 101 and the notebook PC 103 are the same except that the printing process is directly performed wirelessly.

S605において、プリンタ101は、印刷画像転送プロトコルを用いた印刷画像転送処理が終了したか否かを判定する。印刷画像転送処理が終了したと判定された場合(S605;YES)、S616へ進む。一方、印刷画像転送処理が終了していないと判定された場合(S605;NO)、S606へ進む。   In step S <b> 605, the printer 101 determines whether the print image transfer process using the print image transfer protocol has been completed. If it is determined that the print image transfer process has been completed (S605; YES), the process proceeds to S616. On the other hand, if it is determined that the print image transfer process has not been completed (S605; NO), the process proceeds to S606.

S606において、プリンタ101は、印刷処理実行中にノートPC103のバッテリーがなくなった、またはノートPC103の所有者によって当該ノートPC103が無線電波の到達範囲外へ移動させられた、などの理由により、ノートPC103が無線ネットワーク内から離脱したか否かを判定する。プリンタ101は、ビーコンの検知の有無により、無線ネットワークが消滅したことを検知する。このとき、プリンタ101は、印刷処理を継続中であることから、代替の無線ネットワークの構築を試みる。以下にその詳細を記載する。   In step S <b> 606, the printer 101 determines that the notebook PC 103 has run out of wireless radio wave due to the battery running out of the notebook PC 103 or the notebook PC 103 has been moved out of the wireless radio wave reach by the owner of the notebook PC 103. Determines whether or not the wireless network has left the wireless network. The printer 101 detects that the wireless network has disappeared based on whether or not a beacon is detected. At this time, since the printer 101 is continuing the printing process, it tries to construct an alternative wireless network. Details are described below.

S607において、プリンタ101は、無線ネットワークの消滅を検知すると、無線再接続判断部209が印刷画像転送処理部203に処理を一時停止するように指示する。S608において、さらにプリンタ101の無線再接続判断部209は、無線通信機能部204に探索要求の送信準備を指示する。具体的には無線再接続判断部209により、探索要求にプリンタ101の機器識別子を付加させてブロードキャストで送信を行うように無線通信機能部204に指示する。   In step S <b> 607, when the printer 101 detects the disappearance of the wireless network, the wireless reconnection determination unit 209 instructs the print image transfer processing unit 203 to temporarily stop the process. In step S <b> 608, the wireless reconnection determination unit 209 of the printer 101 further instructs the wireless communication function unit 204 to prepare for transmitting a search request. Specifically, the wireless reconnection determination unit 209 instructs the wireless communication function unit 204 to add the device identifier of the printer 101 to the search request and perform broadcast transmission.

プリンタ101の通信相手であるノートPC103が消滅したため、プリンタ101は、S609において、探索要求を受信せずに、S611に進む。さらに、プリンタ101が送信した探索要求に対するノートPC103からの探索応答も受信されないため、S616に進む。   Since the notebook PC 103 which is the communication partner of the printer 101 has disappeared, the printer 101 proceeds to S611 without receiving a search request in S609. Furthermore, since the search response from the notebook PC 103 to the search request transmitted by the printer 101 is not received, the process proceeds to S616.

S616において、従ってプリンタ101は、無線ネットワークの再構築をあきらめ、記憶している機器識別子を消去する。S617において、プリンタ101の無線再接続判断部209は、印刷画像転送処理部203に印刷転送処理を中断するように指示する。   In step S616, therefore, the printer 101 gives up reconfiguration of the wireless network and deletes the stored device identifier. In step S617, the wireless reconnection determination unit 209 of the printer 101 instructs the print image transfer processing unit 203 to interrupt the print transfer process.

プリンタ101の通信相手が例えばノートPC103と有線で接続される外部ネットワークの端末の場合も、プリンタ101が送信する探索要求に外部ネットワーク端末は応答できないし、プリンタ101に探索応答を送信することもできない。従って通信相手がノートPC103である場合と同様の結果になる。   Even when the communication partner of the printer 101 is, for example, an external network terminal connected to the notebook PC 103 by wire, the external network terminal cannot respond to the search request transmitted by the printer 101 and cannot transmit a search response to the printer 101. . Therefore, the result is the same as when the communication partner is the notebook PC 103.

以上説明したようにプリンタ101での印刷処理中に、APが存在しなくなることで無線ネットワークが消滅した場合であっても、印刷処理の相手がAPである場合は代替の無線ネットワークの構築は行わない。この処理により無駄な無線ネットワークの構築、及び代替APとして起動する機器の無駄な消費電力の抑止の効果がある。   As described above, even when the wireless network disappears due to the absence of the AP during the printing process in the printer 101, if the partner of the printing process is the AP, an alternative wireless network is constructed. Absent. By this process, there is an effect of constructing a useless wireless network and suppressing useless power consumption of a device activated as an alternative AP.

以上のように、無線ネットワークから基地局が消滅した場合でも、基地局消滅前のデータ送受信を継続することが可能となる。例えば通信装置が基地局に無線接続してプリンタに印刷処理中に、基地局が消滅した場合の問題を解決することができる。具体的には、このような事象発生時にデータ通信が発生している通信装置とその通信相手装置間で無線ネットワークを構成することで、確実なデータ通信の継続を実現し、ユーザの使い勝手を向上させることができる。また基地局の消滅に伴い、消滅した無線ネットワークに存在した通信装置全てを代替の無線ネットワークに再加入させないようにすることで、無線ネットワークによるデータ通信が急務でない端末に対して省電力効果を得ることができるという効果も得られる。また、プリンタの通信相手や、プリンタ自体が基地局であった場合は、その基地局が消滅した場合は、無駄な無線ネットワークの構築、及び代替基地局として起動する機器の無駄な消費電力の抑止の効果がある。   As described above, even when the base station disappears from the wireless network, data transmission / reception before the base station disappears can be continued. For example, it is possible to solve the problem in the case where the base station disappears while the communication apparatus is wirelessly connected to the base station and printing processing is performed on the printer. Specifically, by configuring a wireless network between a communication device that is communicating data at the time of such an event and its counterpart device, reliable data communication is continued and user convenience is improved. Can be made. Also, with the disappearance of base stations, all communication devices existing in the disappeared wireless network are not re-joined to the alternative wireless network, thereby obtaining a power saving effect for terminals that are not urgently required for data communication via the wireless network. The effect that it can be also obtained. In addition, if the communication partner of the printer or the printer itself is a base station, if that base station disappears, construction of a useless wireless network and suppression of useless power consumption of devices activated as alternative base stations There is an effect.

(その他の実施形態)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(または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, or the like) of the system or apparatus reads the program. It is a process to be executed.

Claims (7)

基地局に接続して通信する通信装置であって、
通信相手装置の機器識別子を取得する取得手段と、
前記基地局の消滅を検知する検知手段と、
前記基地局の消滅が検知された場合に、前記取得手段により取得した機器識別子を用いて前記基地局の消滅前に通信していた通信相手装置を検出する検出手段と、
前記検出手段により前記通信相手装置を検出すると、前記通信装置と前記通信相手装置とのいずれか一方が新たに基地局となり、前記通信装置と前記通信相手装置との間の通信を再開するための処理を行う再開手段と、
を有することを特徴とする通信装置。
A communication device that communicates by connecting to a base station,
An acquisition means for acquiring a device identifier of a communication partner device;
Detecting means for detecting the disappearance of the base station;
When the disappearance of the base station is detected, a detecting means for detecting a communication partner apparatus that communicated before the disappearance of the base station using the device identifier obtained by the obtaining means,
When the communication partner device is detected by the detection means, one of the communication device and the communication partner device becomes a new base station, and communication between the communication device and the communication partner device is resumed. Resuming means for processing,
A communication apparatus comprising:
前記基地局の消滅が検知された場合に、探索要求を送信する送信手段と、
前記探索要求に対する探索応答を受信する受信手段と、をさらに備え、
前記検出手段は、前記探索要求または前記探索応答に含まれる機器識別子に基づいて、前記通信相手装置を検出することを特徴とする請求項1に記載の通信装置。
A transmission means for transmitting a search request when the disappearance of the base station is detected;
Receiving means for receiving a search response to the search request;
The communication device according to claim 1, wherein the detection unit detects the communication partner device based on a device identifier included in the search request or the search response.
前記検出手段により前記通信相手装置を検出した場合に、前記通信装置または前記通信相手装置の何れかを所定の条件に従って代替基地局として決定する決定手段をさらに備え、
前記再開手段は、前記決定手段により決定された代替基地局により構成される無線ネットワークを介して前記通信装置と前記通信相手装置との間の通信を再開することを特徴とする請求項1又は請求項2に記載の通信装置。
When the communication partner device is detected by the detection unit, the communication partner device further includes a determination unit that determines either the communication device or the communication partner device as an alternative base station according to a predetermined condition,
The said restarting means restarts the communication between the said communication apparatus and the said communicating party apparatus via the wireless network comprised by the alternative base station determined by the said determination means. Item 3. The communication device according to Item 2.
前記検出手段により前記通信相手装置が検出されない場合、前記取得手段により取得して記憶されている前記通信相手装置の機器識別子を消去する消去手段をさらに備えることを特徴とする請求項1に記載の通信装置。   The apparatus according to claim 1, further comprising: an erasing unit that erases the device identifier of the communication counterpart device acquired and stored by the acquisition unit when the communication counterpart device is not detected by the detection unit. Communication device. 前記通信装置はデジタルカメラまたはプリンタであることを特徴とする請求項1乃至4の何れか1項に記載の通信装置。   The communication apparatus according to claim 1, wherein the communication apparatus is a digital camera or a printer. 制御手段と、検知手段と、検出手段と、再開手段とを備え、基地局に接続して通信する通信装置の制御方法であって、
前記制御手段が、通信相手装置の機器識別子を取得する取得工程と、
前記検知手段が、前記基地局の消滅を検知する検知工程と、
前記検出手段が、前記基地局の消滅が検知された場合に、前記取得工程において取得した機器識別子を用いて前記基地局の消滅前に通信していた通信相手装置を検出する検出工程と、
前記再開手段が、前記検出工程において前記通信相手装置を検出すると、前記通信装置と前記通信相手装置とのいずれか一方が新たに基地局となり、前記通信装置と前記通信相手装置間との間の通信を再開するための処理を行う再開工程と、
を有することを特徴とする通信装置の制御方法。
A control method of a communication apparatus comprising a control means, a detection means, a detection means, and a restart means, and communicates by connecting to a base station,
The control unit acquires an apparatus identifier of a communication partner device;
A detection step in which the detection means detects the disappearance of the base station;
When the detection means detects the disappearance of the base station, a detection step of detecting a communication partner apparatus communicating before the disappearance of the base station using the device identifier acquired in the acquisition step;
When the restarting unit detects the communication partner device in the detection step, either the communication device or the communication partner device newly becomes a base station, and between the communication device and the communication partner device. A resuming step for performing processing for resuming communication;
A method for controlling a communication apparatus, comprising:
請求項6に記載の通信装置の制御方法の各工程をコンピュータに実行させるためのプログラム。   The program for making a computer perform each process of the control method of the communication apparatus of Claim 6.
JP2011191071A 2011-09-01 2011-09-01 Communication device, control method of communication device, and program Pending JP2013055426A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011191071A JP2013055426A (en) 2011-09-01 2011-09-01 Communication device, control method of communication device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011191071A JP2013055426A (en) 2011-09-01 2011-09-01 Communication device, control method of communication device, and program

Publications (1)

Publication Number Publication Date
JP2013055426A true JP2013055426A (en) 2013-03-21

Family

ID=48132070

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011191071A Pending JP2013055426A (en) 2011-09-01 2011-09-01 Communication device, control method of communication device, and program

Country Status (1)

Country Link
JP (1) JP2013055426A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020108035A (en) * 2018-12-27 2020-07-09 キヤノン株式会社 Communication device, control method therefor and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000232455A (en) * 1999-02-09 2000-08-22 Kokusai Electric Co Ltd Radio lan system
JP2004129042A (en) * 2002-10-04 2004-04-22 Sony Corp Equipment, system, and method for processing communication and computer program
JP2006352282A (en) * 2005-06-13 2006-12-28 Canon Inc Communication apparatus and control method thereof
JP2009010965A (en) * 2008-07-28 2009-01-15 Canon Inc Wireless communication device, its control method, and computer program
JP2009171409A (en) * 2008-01-18 2009-07-30 Panasonic Corp Radio communication terminal and radio communication method
JP2010016690A (en) * 2008-07-04 2010-01-21 Sanyo Electric Co Ltd Communication system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000232455A (en) * 1999-02-09 2000-08-22 Kokusai Electric Co Ltd Radio lan system
JP2004129042A (en) * 2002-10-04 2004-04-22 Sony Corp Equipment, system, and method for processing communication and computer program
JP2006352282A (en) * 2005-06-13 2006-12-28 Canon Inc Communication apparatus and control method thereof
JP2009171409A (en) * 2008-01-18 2009-07-30 Panasonic Corp Radio communication terminal and radio communication method
JP2010016690A (en) * 2008-07-04 2010-01-21 Sanyo Electric Co Ltd Communication system
JP2009010965A (en) * 2008-07-28 2009-01-15 Canon Inc Wireless communication device, its control method, and computer program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020108035A (en) * 2018-12-27 2020-07-09 キヤノン株式会社 Communication device, control method therefor and program
JP7155000B2 (en) 2018-12-27 2022-10-18 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM

Similar Documents

Publication Publication Date Title
EP3209065B1 (en) Transmission of wlan configuration via blutooth
US9172548B2 (en) Communication apparatus, control method and storage medium
US9288827B2 (en) Wireless communication devices, communication systems, methods, and non-transitory computer-readable media for selectively establishing different types of connections
JP6914697B2 (en) Programs, information processing equipment, and communication systems
JP5196716B2 (en) Wireless communication apparatus and program
JP2006352282A (en) Communication apparatus and control method thereof
JP6242051B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6579804B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2017016373A (en) Information processing apparatus, control method, and program
JP2002330142A (en) Wireless communication equipment
JP5693181B2 (en) Wireless communication apparatus, control method and program for wireless communication apparatus
KR20140044236A (en) Apparatus for forming image and method for forming image
JP2023025219A (en) Communication system, control method, and program
JP7016710B2 (en) Communication equipment, control methods and programs
JP2006261853A (en) Communication apparatus and control method thereof
JP2013055426A (en) Communication device, control method of communication device, and program
JP6888037B2 (en) Information processing equipment, control methods and programs
JP7277109B2 (en) Communication device, control method, and program
JP5584582B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2021153265A (en) Information processing device, control method, and program
JP6730845B2 (en) Communication device, control method thereof, and program
JP6541815B2 (en) Communication system, communication apparatus, control method therefor, and program
JP7292825B2 (en) Communication device, control method and program
JP2015231158A (en) Information processing device and control method thereof, and program
JP5693684B2 (en) Wireless communication apparatus, control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140901

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150415

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150807

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151006

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20151113

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160107

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20160119

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20160212

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170421