JP6484357B2 - Communication apparatus and program - Google Patents

Communication apparatus and program Download PDF

Info

Publication number
JP6484357B2
JP6484357B2 JP2018011810A JP2018011810A JP6484357B2 JP 6484357 B2 JP6484357 B2 JP 6484357B2 JP 2018011810 A JP2018011810 A JP 2018011810A JP 2018011810 A JP2018011810 A JP 2018011810A JP 6484357 B2 JP6484357 B2 JP 6484357B2
Authority
JP
Japan
Prior art keywords
communication
access point
wireless
external access
wireless connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018011810A
Other languages
Japanese (ja)
Other versions
JP2018064304A (en
Inventor
敦 島崎
敦 島崎
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 JP2018011810A priority Critical patent/JP6484357B2/en
Publication of JP2018064304A publication Critical patent/JP2018064304A/en
Application granted granted Critical
Publication of JP6484357B2 publication Critical patent/JP6484357B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本発明は、無線チャネルを介して無線通信を行う通信装置およびプログラムに関する。   The present invention relates to a communication device and a program for performing wireless communication via a wireless channel.

無線通信システムでは、アクセスポイントを介して相手側の装置と無線接続を確立する方式(例えば、インフラストラクチャモード)の他に、自装置又は相手側の装置がアクセスポイントとして動作することで、第3の装置を介さずに相手側の装置と直接に無線接続を確立するピアツーピア(P2P)無線接続方式が知られている。   In a wireless communication system, in addition to a method (for example, infrastructure mode) for establishing a wireless connection with a counterpart device via an access point, the own device or the counterpart device operates as an access point, There is known a peer-to-peer (P2P) wireless connection method in which a wireless connection is directly established with a device on the other side without going through any other device.

そのようなP2P無線接続方式を実現する規格として、例えば、Wi−Fi Direct(登録商標)が知られている。Wi−Fi Directに対応した機器は、自身がアクセスポイント(GroupOwner)として動作することができ、それにより、相手側装置と直接に無線接続が可能となる。その際に、相手側装置と自装置とのいずれがアクセスポイントとして動作するかは、GroupOwnerNegotiationというシーケンスにより決定される(特許文献1)。   As a standard for realizing such a P2P wireless connection method, for example, Wi-Fi Direct (registered trademark) is known. A device that supports Wi-Fi Direct can operate as an access point (GroupOwner), thereby enabling direct wireless connection with a counterpart device. At this time, which of the counterpart device and the own device operates as an access point is determined by a sequence called GroupOwner Negotiation (Patent Document 1).

特開2011−249960号公報JP 2011-249960 A

上記のような2つの異なる無線接続方式は、1つの装置において同時に実行可能である。例えば、自装置がクライアントとしてアクセスポイントと無線接続を確立する一方、他の装置との間で、自装置がGroupOwnerとしてクライアントとP2P無線接続を確立する場合である。その場合には、無線インタフェースとして2つのチャネルが必要となる。しかしながら、1つの無線ICチップに複数のチャネルを割り当てることは構成が極めて複雑となってしまう。従って、2つの無線接続方式を同時に実行する際、それぞれで共通のチャネルを使用することが望ましい。   Two different wireless connection schemes as described above can be executed simultaneously in one device. For example, the self apparatus establishes a wireless connection with an access point as a client, while the self apparatus establishes a P2P wireless connection with the client as a Group Owner with another apparatus. In that case, two channels are required as a radio interface. However, assigning a plurality of channels to one wireless IC chip makes the configuration extremely complicated. Therefore, it is desirable to use a common channel for each of the two wireless connection methods at the same time.

一般的に、自装置がクライアントとして動作する場合には、アクセスポイントが使用チャネルの決定を主導する。また、自装置がGroupOwnerとして動作する場合には、GroupOwnerNegotiationで得られたクライアントのチャネル情報と、自身の使用できるチャネルとを照らし合わせて使用するチャネルを決定する。   In general, when the own apparatus operates as a client, the access point takes the lead in determining the use channel. When the own apparatus operates as a Group Owner, a channel to be used is determined by comparing the channel information of the client obtained by Group Owner Negotiation with the channels that can be used by itself.

ここで、上記の自装置、アクセスポイント、クライアントが共通のチャネルで無線接続されている場合に自装置とアクセスポイント間が切断されると、自装置にはチャネルの決定権がないので、切断前のチャネルでの再接続ができないことがある。   Here, if the own device, access point, and client are connected wirelessly via a common channel and the own device and the access point are disconnected, the own device has no right to determine the channel. Reconnection with other channels may not be possible.

本発明の目的は、このような従来の問題点を解決することにある。上記の点に鑑み、本発明は、複数の無線通信方法で並行して無線通信を行う際、一部の無線接続が切断された場合でも、適切に無線接続を再開可能な通信装置およびプログラムを提供することを目的とする。   An object of the present invention is to solve such conventional problems. In view of the above points, the present invention provides a communication device and program capable of appropriately restarting a wireless connection even when a part of the wireless connection is disconnected when performing wireless communication in parallel by a plurality of wireless communication methods. The purpose is to provide.

上記課題を解決するため、本発明に係る通信装置は、外部装置と通信可能な通信装置であって、前記通信装置および前記外部装置の外部のアクセスポイントとの所定の通信規格に準拠した第1の無線通信方法による無線接続と、前記外部のアクセスポイントを介さない前記外部装置との前記所定の通信規格に準拠した第2の無線通信方法による無線接続とを実行可能な通信手段と、前記通信手段によって実行される前記外部のアクセスポイントと複数の通信チャネルから選択された所定の通信チャネルを用いた前記第1の無線通信方法による無線接続と、前記通信手段によって実行される前記外部装置と前記所定の通信チャネルを用いた前記第2の無線通信方法による無線接続とが並行して維持されている状況で前記外部のアクセスポイントとの接続が切断され、かつ、前記外部装置と前記所定の通信チャネルを用いた前記第2の無線通信方法による無線接続が維持されている場合、前記外部装置との前記第2の無線通信方法による無線接続に使用されている前記所定の通信チャネルを複数の通信チャネルの中で優先的に使用して前記外部のアクセスポイントを探索し、前記所定の通信チャネルを複数の通信チャネルの中で優先的に使用して前記外部のアクセスポイントを探索できない場合、前記外部装置と前記所定の通信チャネルを用いた前記第2の無線通信方法による無線接続を切断する処理および前記複数の通信チャネルを順番に使って前記外部のアクセスポイントを探索する処理を実行する探索手段とを備えることを特徴とする。   In order to solve the above problems, a communication apparatus according to the present invention is a communication apparatus capable of communicating with an external apparatus, and is a first that conforms to a predetermined communication standard between the communication apparatus and an external access point of the external apparatus. Communication means capable of performing wireless connection by the wireless communication method according to the second wireless communication method compliant with the predetermined communication standard with the external device not via the external access point, and the communication Wireless connection by the first wireless communication method using a predetermined communication channel selected from a plurality of communication channels and the external access point executed by means, the external device executed by the communication means, and the The external access point in a situation where a wireless connection by the second wireless communication method using a predetermined communication channel is maintained in parallel And the second wireless communication method with the external device is maintained when wireless connection is maintained by the second wireless communication method using the predetermined communication channel with the external device. The predetermined communication channel used for wireless connection is preferentially used in a plurality of communication channels to search for the external access point, and the predetermined communication channel is preferentially used in the plurality of communication channels. And when the external access point cannot be searched for using the second wireless communication method using the predetermined communication channel with the external device, and sequentially using the plurality of communication channels Search means for executing processing for searching for the external access point.

本発明によると、複数の無線通信方法で並行して無線通信を行う際、一部の無線接続が切断された場合でも、適切に無線接続を再開することができる。   According to the present invention, when performing wireless communication in parallel using a plurality of wireless communication methods, it is possible to appropriately restart the wireless connection even when some of the wireless connections are disconnected.

システムの構成を示す図である。It is a figure which shows the structure of a system. 携帯型通信端末装置の外観を示す図である。It is a figure which shows the external appearance of a portable communication terminal device. MFPの外観を示す図である。2 is a diagram illustrating an appearance of an MFP. FIG. 操作表示部の平面図である。It is a top view of an operation display part. 携帯型通信端末装置の構成を示すブロック図である。It is a block diagram which shows the structure of a portable communication terminal device. MFPの構成を示すブロック図である。2 is a block diagram illustrating a configuration of an MFP. FIG. MFPとアクセスポイントの間のチャネル決定シーケンスを示す図である。It is a figure which shows the channel determination sequence between MFP and an access point. システム共通のチャネルで無線接続されることを説明するための図である。It is a figure for demonstrating being wirelessly connected by the channel common to a system. MFPとアクセスポイントとの間の通信が切断された場合を示す図である。6 is a diagram illustrating a case where communication between an MFP and an access point is disconnected. FIG. 第1の実施形態でのチャネル決定シーケンスを説明するための図である。It is a figure for demonstrating the channel determination sequence in 1st Embodiment. チャネル決定方法の手順を示すフローチャートである。It is a flowchart which shows the procedure of the channel determination method. 第2の実施形態でのチャネル決定シーケンスを説明するための図である。It is a figure for demonstrating the channel determination sequence in 2nd Embodiment. チャネル決定方法の手順を示すフローチャートである。It is a flowchart which shows the procedure of the channel determination method.

以下、添付図面を参照して本発明の実施形態を例示的に詳しく説明する。尚、以下の実施例は特許請求の範囲に係る本発明を限定するものでなく、また本実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。なお、同一の構成要素には同一の参照番号を付して、説明を省略する。   Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. The following examples do not limit the present invention according to the scope of claims, and all the combinations of features described in the present embodiment are not necessarily essential to the solution means of the present invention. . The same constituent elements are denoted by the same reference numerals, and the description thereof is omitted.

[第1の実施形態]
図1は、携帯型通信端末装置と印刷装置(MFP)を含む無線通信システムの構成を示す図である。携帯型通信端末装置200は、無線LAN(WLAN)通信部や近接無線通信部を有する装置である。尚、近接無線通信とは、NFCに代表される、通信範囲が、比較的小さい所定範囲(例えば、1メートル〜数センチ以下)となる無線通信を意味する。携帯型通信端末装置200は、PDA(Personal Digital Assistant)等の個人情報端末、携帯電話、デジタルカメラ等でも良く、印刷装置200と無線通信(WLAN)が可能である。印刷装置(MFP)300は、携帯型通信端末装置200と無線通信可能であれば良く、その他、読取機能(スキャナ)やFAX機能、電話機能を有していても良い。本実施形態では、読取機能と印刷機能を有するMulti Function Printer(MFP)を例にしている。携帯型通信端末装置200とMFP300は共にNFCによる近接無線通信部を有し、携帯型通信端末装置200に電力供給が無い状態でも、携帯型通信端末装置200をMFP300にNFC通信可能な所定距離に近づけることで、近接無線通信も可能である。また、MFP300は、WLAN通信部によって、ネットワーク(TCP/IPに従った通信が可能なネットワーク)上の端末と無線通信可能である。携帯型通信端末装置200とMFP300のいずれか、あるいは両方は、近接無線通信部を有さずWLAN通信部のみによって無線通信を行うものとしても良い。なお、携帯型通信端末装置200及びMFP300は、後述するようにWLAN経由で複数の印刷サービスに対応した処理を実行可能である。
[First Embodiment]
FIG. 1 is a diagram illustrating a configuration of a wireless communication system including a portable communication terminal device and a printing device (MFP). The portable communication terminal device 200 is a device having a wireless LAN (WLAN) communication unit and a proximity wireless communication unit. Note that the proximity wireless communication means wireless communication represented by NFC in which a communication range is a relatively small predetermined range (for example, 1 meter to several centimeters or less). The portable communication terminal device 200 may be a personal information terminal such as a PDA (Personal Digital Assistant), a mobile phone, a digital camera, or the like, and can perform wireless communication (WLAN) with the printing device 200. The printing apparatus (MFP) 300 only needs to be able to perform wireless communication with the portable communication terminal apparatus 200, and may have a reading function (scanner), a FAX function, and a telephone function. In this embodiment, a Multi Function Printer (MFP) having a reading function and a printing function is taken as an example. Both the portable communication terminal apparatus 200 and the MFP 300 have a near field wireless communication unit using NFC, and the portable communication terminal apparatus 200 can be connected to the MFP 300 at a predetermined distance that allows NFC communication even when no power is supplied to the portable communication terminal apparatus 200. Proximity wireless communication is also possible by approaching. Further, the MFP 300 can wirelessly communicate with a terminal on a network (a network capable of communication according to TCP / IP) by a WLAN communication unit. Either or both of the portable communication terminal device 200 and the MFP 300 may perform wireless communication only by the WLAN communication unit without the proximity wireless communication unit. Note that the portable communication terminal device 200 and the MFP 300 can execute processing corresponding to a plurality of print services via a WLAN, as will be described later.

図2は、携帯型通信端末装置200の外観を示す図である。本実施形態では、スマートフォンを例にしている。スマートフォンとは、携帯電話の機能の他に、カメラや、ウェブブラウザ、電子メール機能等を搭載した多機能型の携帯電話のことである。近接無線通信部であるNFCユニット201は、NFCを用いて通信を行うユニットであり、NFCユニット201を相手先のNFCユニットに所定距離(例えば、10cm程度)以内に近づけることでNFCによる通信を行うことができる。   FIG. 2 is a diagram illustrating an appearance of the portable communication terminal device 200. In this embodiment, a smartphone is taken as an example. A smartphone is a multi-function mobile phone equipped with a camera, a web browser, an e-mail function, etc. in addition to the functions of a mobile phone. The NFC unit 201, which is a close proximity wireless communication unit, is a unit that performs communication using NFC, and performs communication by NFC by bringing the NFC unit 201 close to a partner NFC unit within a predetermined distance (for example, about 10 cm). be able to.

WLANユニット202はWLANで通信を行うためのユニットである。WLANユニット202は、例えばIEEE802.11シリーズに準拠したWLANシステムにおけるデータ(パケット)通信が可能であるものとする。また、WLANユニット202を用いた無線通信では、Wi−Fi Direct(WFD)をベースにした通信、ソフトウェアAPモード、アドホックモード、Infrastractureモードによる通信などが可能である。表示部203は、例えば、LCD方式の表示機構を備えたディスプレイである。操作部204は、タッチパネル方式の操作機構を備えており、ユーザによる操作を検知する。代表的な操作方法には、表示部203がボタンアイコンやソフトウェアキーボードの表示を行い、ユーザがそれらの箇所に触れることによって操作イベントを検知するものがある。電源キー205は電源のオン及びオフをする際に用いるハードキーである。   The WLAN unit 202 is a unit for performing communication by WLAN. It is assumed that the WLAN unit 202 is capable of data (packet) communication in a WLAN system compliant with, for example, the IEEE 802.11 series. In addition, in wireless communication using the WLAN unit 202, communication based on Wi-Fi Direct (WFD), communication in software AP mode, ad hoc mode, infrastructure mode, and the like are possible. The display unit 203 is, for example, a display provided with an LCD type display mechanism. The operation unit 204 includes a touch panel type operation mechanism, and detects an operation by the user. As a typical operation method, there is a method in which the display unit 203 displays a button icon or a software keyboard, and an operation event is detected by the user touching those portions. A power key 205 is a hard key used when the power is turned on and off.

図3は、MFP300の外観を示す図である。図3(a)において、原稿台301は、スキャナ(読取部)で読み取らせる原稿を載せるガラス状の透明な台である。原稿蓋302は、スキャナで読取を行う際に原稿を押さえたり、読取の際に原稿を照射する光源からの光が外部に漏れないようにしたりするための蓋である。印刷用紙挿入口303は様々なサイズの用紙をセット可能な挿入口である。印刷用紙挿入口303にセットされた用紙は一枚ずつ印刷部に搬送され、印刷部で印刷を行って印刷用紙排出口304から排出される。   FIG. 3 is a diagram illustrating an appearance of the MFP 300. In FIG. 3A, a document table 301 is a glassy transparent table on which a document to be read by a scanner (reading unit) is placed. The document cover 302 is a cover for holding down the document when reading with the scanner or preventing light from the light source that irradiates the document from being leaked to the outside during reading. The printing paper insertion port 303 is an insertion port through which various sizes of paper can be set. The sheets set in the printing sheet insertion port 303 are conveyed one by one to the printing unit, printed by the printing unit, and discharged from the printing sheet discharge port 304.

図3(b)において、原稿蓋302の上部には操作表示部305及びNFCユニット306が配置されている。操作表示部305については、図4を用いて詳細に説明する。NFCユニット306は近接無線通信を行うためのユニットであり、携帯型通信端末装置200をMFP300に近接させる場所である。NFCユニット306から所定距離(約10cm)以内がNFC通信の有効距離である。WLANアンテナ307は、WLANで通信するためのアンテナが埋め込まれている。   In FIG. 3B, the operation display unit 305 and the NFC unit 306 are arranged on the upper part of the document cover 302. The operation display unit 305 will be described in detail with reference to FIG. The NFC unit 306 is a unit for performing close proximity wireless communication, and is a place where the portable communication terminal apparatus 200 is brought close to the MFP 300. An NFC communication effective distance is within a predetermined distance (about 10 cm) from the NFC unit 306. The WLAN antenna 307 is embedded with an antenna for communicating by WLAN.

図4は、操作表示部305の平面図である。表示部406は、画像や操作メニュー等のユーザインタフェースを表示する表示画面であり、例えば、ドットマトリクスLCDが例に挙げられる。十字キー401は表示部406上のカーソル移動等の操作に用いる。セットキー402は設定入力のためのキーである。機能キー403は機能設定等の操作に用いる。スタートキー404は印刷の開始等の機能の実行指示を行う。   FIG. 4 is a plan view of the operation display unit 305. The display unit 406 is a display screen that displays a user interface such as an image or an operation menu. For example, a dot matrix LCD is given as an example. A cross key 401 is used for operations such as cursor movement on the display unit 406. A set key 402 is a key for setting input. The function key 403 is used for operations such as function setting. A start key 404 instructs execution of functions such as printing start.

図5は、携帯型通信端末装置200の構成を示すブロック図である。携帯型通信端末装置200は、装置自身のメインの制御を行うメインボード701と、WLAN通信を行うWLANユニット717と、NFC通信を行うNFCユニット718と、Bluetooth(登録商標)通信を行うBT(BlueTooth(登録商標))ユニット721とを有する。   FIG. 5 is a block diagram illustrating a configuration of the portable communication terminal device 200. The portable communication terminal device 200 includes a main board 701 that performs main control of the device itself, a WLAN unit 717 that performs WLAN communication, an NFC unit 718 that performs NFC communication, and a BT (BlueTooth) that performs Bluetooth (registered trademark) communication. (Registered trademark)) unit 721.

メインボード701において、CPU702は、システム制御部であり、携帯型通信端末装置200の全体を制御する。以降に示す携帯型通信端末装置200の処理はCPU702の制御によって実行される。ROM703は、CPU702が実行する制御プログラムや組込オペレーティングシステム(OS)プログラム等を記憶する。本実施形態では、ROM703に記憶されている各制御プログラムは、ROM703に記憶されている組込OSの管理下で、スケジューリングやタスクスイッチ等のソフトウェア制御を行う。   In the main board 701, the CPU 702 is a system control unit and controls the entire portable communication terminal device 200. The processing of the portable communication terminal device 200 shown below is executed under the control of the CPU 702. The ROM 703 stores a control program executed by the CPU 702, an embedded operating system (OS) program, and the like. In the present embodiment, each control program stored in the ROM 703 performs software control such as scheduling and task switching under the management of the embedded OS stored in the ROM 703.

RAM704は、SRAM(Static RAM)等で構成され、プログラム制御変数等のデータを記憶し、また、ユーザが登録した設定値や携帯型通信端末装置200の管理データ等のデータを記憶し、各種ワーク用バッファ領域が設けられている。   The RAM 704 is configured by SRAM (Static RAM) or the like, stores data such as program control variables, and stores data such as setting values registered by the user and management data of the portable communication terminal device 200. A buffer area is provided.

画像メモリ705は、DRAM(Dynamic RAM)等のメモリで構成され、通信部を介して受信した画像データや、データ蓄積部712から読み出した画像データをCPU702で処理するために一時的に記憶する。ここで、通信部とは、WLANユニット717と、NFCユニット718及びBTユニット721を含む通信機能の総称である。   The image memory 705 is configured by a memory such as a DRAM (Dynamic RAM), and temporarily stores image data received via the communication unit and image data read from the data storage unit 712 for processing by the CPU 702. Here, the communication unit is a general term for communication functions including the WLAN unit 717, the NFC unit 718, and the BT unit 721.

不揮発性メモリ722は、フラッシュメモリ(flash memory)等のメモリで構成され、電源がオフされてもデータを記憶し続ける。尚、これらのようなメモリ構成はこれに限定されるものではない。例えば、画像メモリ705とRAM704を共有させてもよいし、データ蓄積部712にデータのバックアップ等を行ってもよい。また、本実施形態では、画像メモリ705にDRAMを用いているが、ハードディスクや不揮発性メモリ等の他の記憶媒体を使用する場合もあるのでこの限りではない。   The nonvolatile memory 722 is configured by a memory such as a flash memory and continues to store data even when the power is turned off. Note that the memory configuration is not limited to this. For example, the image memory 705 and the RAM 704 may be shared, or data backup or the like may be performed in the data storage unit 712. In the present embodiment, a DRAM is used for the image memory 705, but this is not a limitation because other storage media such as a hard disk or a nonvolatile memory may be used.

データ変換部706は、種々の形式のデータの解析や、色変換、画像変換等のデータ変換を行う。電話部707は、電話回線の制御を行い、スピーカ部713を介して入出力される音声データを処理することで電話による通信を実現している。操作部708は、操作部204(図2)の信号を制御する。GPS(Global Positioning System)709は、携帯型通信端末装置200の現在の緯度や経度等の位置情報を取得する。表示部710は、表示部203(図2)の表示内容を電子的に制御しており、各種入力操作や、MFP300の動作状況、ステータス状況の表示等を行うことができる。   The data conversion unit 706 performs analysis of various types of data, and data conversion such as color conversion and image conversion. The telephone unit 707 performs telephone communication by controlling the telephone line and processing voice data input / output via the speaker unit 713. The operation unit 708 controls the signal of the operation unit 204 (FIG. 2). A GPS (Global Positioning System) 709 acquires position information such as the current latitude and longitude of the portable communication terminal device 200. A display unit 710 electronically controls the display content of the display unit 203 (FIG. 2), and can perform various input operations, display the operation status and status status of the MFP 300, and the like.

カメラ部711は、レンズを介して入力された画像を電子的に記録して符号化する機能を有している。カメラ部711で撮影された画像はデータ蓄積部712に保存される。スピーカ部713は電話機能のための音声を入力または出力する機能や、その他、アラーム通知等の機能を実現する。電源部714は、携帯可能な電池であり、装置内への電力供給制御を行う。電源状態には、電池に残量が無い電池切れ状態、電源キー205を押下していない電源オフ状態、通常起動している起動状態、起動しているが省電力になっている省電力状態がある。   The camera unit 711 has a function of electronically recording and encoding an image input via a lens. An image captured by the camera unit 711 is stored in the data storage unit 712. The speaker unit 713 implements a function for inputting or outputting voice for a telephone function, and other functions such as alarm notification. The power supply unit 714 is a portable battery and controls power supply to the apparatus. The power state includes a battery exhausted state with no remaining battery power, a power off state in which the power key 205 is not pressed, a normal starting state, and a power saving state in which the power is activated but is in a power saving state. is there.

携帯型通信端末装置200には無線通信するための通信部が3つ搭載されており、WLAN、NFC、BlueTooth(登録商標)で無線通信することができる。これにより、携帯型通信端末装置200は、MFP等の他デバイスとのデータ通信を行う。この通信部では、データをパケットに変換し、他デバイスにパケット送信を行う。逆に、外部の他デバイスからのパケットを、元のデータに復元してCPU702に対して送信する。WLANユニット717、NFCユニット718及びBTユニット721はそれぞれバスケーブル715、716及び720を介してメインボード701に接続されている。WLANユニット717、NFCユニット718及びBTユニット721はそれぞれの規格に準拠した通信を実現するためのユニットである。   The portable communication terminal apparatus 200 is equipped with three communication units for wireless communication, and can perform wireless communication using WLAN, NFC, and BlueTooth (registered trademark). As a result, the portable communication terminal apparatus 200 performs data communication with other devices such as an MFP. This communication unit converts data into a packet and transmits the packet to another device. Conversely, a packet from another external device is restored to the original data and transmitted to the CPU 702. The WLAN unit 717, NFC unit 718 and BT unit 721 are connected to the main board 701 via bus cables 715, 716 and 720, respectively. The WLAN unit 717, the NFC unit 718, and the BT unit 721 are units for realizing communication complying with the respective standards.

メインボード701内の各種構成要素(ROM703〜電源部714、WLANユニット717、NFCユニット718、BTユニット721及び不揮発性メモリ722)は、CPU702が管理するシステムバス719を介して、相互に接続されている。   Various components in the main board 701 (ROM 703-power supply unit 714, WLAN unit 717, NFC unit 718, BT unit 721 and nonvolatile memory 722) are connected to each other via a system bus 719 managed by the CPU 702. Yes.

図6は、MFP300の構成を示すブロック図である。MFP300は、装置自身のメインの制御を行うメインボード801と、WLAN通信を行うWLANユニット817と、NFC通信を行うNFCユニット818と、Bluetooth(登録商標)通信を行うBTユニット819とを有する。   FIG. 6 is a block diagram showing a configuration of MFP 300. The MFP 300 includes a main board 801 that performs main control of the apparatus itself, a WLAN unit 817 that performs WLAN communication, an NFC unit 818 that performs NFC communication, and a BT unit 819 that performs Bluetooth (registered trademark) communication.

メインボード801において、CPU802は、システム制御部であり、MFP300の全体を制御する。以降に示すMFP300の処理はCPU801の制御によって実行される。ROM803は、CPU802が実行する制御プログラムや組込オペレーティングシステム(OS)プログラム等を記憶する。本実施形態では、ROM803に記憶されている各制御プログラムは、ROM803に記憶されている組込OSの管理下で、スケジューリングやタスクスイッチ等のソフトウェア制御を行う。RAM804は、SRAM(Static RAM)等で構成され、プログラム制御変数等のデータを記憶し、また、ユーザが登録した設定値やMFP300の管理データ等のデータを記憶し、各種ワーク用バッファ領域が設けられている。   In the main board 801, the CPU 802 is a system control unit and controls the entire MFP 300. The following processing of the MFP 300 is executed under the control of the CPU 801. The ROM 803 stores a control program executed by the CPU 802, an embedded operating system (OS) program, and the like. In the present embodiment, each control program stored in the ROM 803 performs software control such as scheduling and task switching under the management of the embedded OS stored in the ROM 803. The RAM 804 is composed of SRAM (Static RAM) or the like, stores data such as program control variables, stores data such as setting values registered by the user and management data of the MFP 300, and provides various work buffer areas. It has been.

不揮発性メモリ805は、フラッシュメモリ(flash memory)等のメモリで構成され、電源がオフされてもデータを記憶し続ける。画像メモリ806は、DRAM(Dynamic RAM)等のメモリで構成され、通信部を介して受信した画像データや、符号復号化処理部812で処理した画像データや、メモリカードコントローラ516を介して取得した画像データを蓄積する。また、携帯型通信端末装置200のメモリ構成と同様に、このようなメモリ構成はこれに限定されるものではない。データ変換部807は、種々の形式のデータの解析や、画像データからプリントデータへの変換等を行う。尚、ここでの通信部とは、WLANユニット817と、NFCユニット818及びBTユニット819を含む通信機能の総称である。   The nonvolatile memory 805 is configured by a memory such as a flash memory, and continues to store data even when the power is turned off. The image memory 806 is configured by a memory such as a DRAM (Dynamic RAM), and is acquired through the image data received via the communication unit, the image data processed by the encoding / decoding processing unit 812, or the memory card controller 516. Accumulate image data. Further, like the memory configuration of the portable communication terminal apparatus 200, such a memory configuration is not limited to this. A data conversion unit 807 performs analysis of various types of data, conversion from image data to print data, and the like. Here, the communication unit is a general term for communication functions including the WLAN unit 817, the NFC unit 818, and the BT unit 819.

読取制御部808は、読取部810(例えば、CISイメージセンサ(密着型イメージセンサ))を制御して、原稿上の画像を光学的に読み取る。次に、これを電気的な画像データに変換した画像信号を出力する。このとき2値化処理や中間調処理等の各種画像処理を施してから出力しても良い。   A reading control unit 808 controls a reading unit 810 (for example, a CIS image sensor (contact image sensor)) to optically read an image on a document. Next, an image signal obtained by converting this into electrical image data is output. At this time, various image processing such as binarization processing and halftone processing may be performed before outputting.

操作部809及び表示部811は、図4での操作表示部305に対応する。符号復号化処理部812は、MFP300で扱う画像データ(JPEG、PNG等)に対して符号復号化処理や、拡大縮小処理を行う。給紙部814は印刷のための用紙を保持する。記録制御部816からの制御で給紙部814から用紙の給紙を行うことができる。特に、給紙部814は、複数種類の用紙を一つの装置に保持するために、複数の給紙部を用意することができる。そして、記録制御部816により、どの給紙部から給紙を行うかの制御を行うことができる。   An operation unit 809 and a display unit 811 correspond to the operation display unit 305 in FIG. The code decoding processing unit 812 performs code decoding processing and enlargement / reduction processing on image data (JPEG, PNG, etc.) handled by the MFP 300. A paper feed unit 814 holds paper for printing. Paper can be fed from the paper feed unit 814 under the control of the recording control unit 816. In particular, the paper feeding unit 814 can prepare a plurality of paper feeding units in order to hold a plurality of types of paper in one apparatus. The recording control unit 816 can control from which paper feeding unit the paper is fed.

記録制御部816は、印刷される画像データに対し、スムージング処理や記録濃度補正処理、色補正等の各種画像処理を施してから記録部815に出力する。記録部815は、例えば、インクタンクから供給されるインクを記録ヘッドから吐出させて画像をプリントするインクジェットプリンタを採用可能である。また、記録制御部816は記録部815の情報を定期的に読み出してRAM804の情報を更新する役割も果たす。具体的には、インクタンクの残量や記録ヘッドの状態等のステータス情報を更新することである。   The recording control unit 816 performs various image processing such as smoothing processing, recording density correction processing, and color correction on the image data to be printed, and then outputs the image data to the recording unit 815. The recording unit 815 can employ, for example, an inkjet printer that prints an image by ejecting ink supplied from an ink tank from a recording head. In addition, the recording control unit 816 also plays a role of periodically reading information in the recording unit 815 and updating information in the RAM 804. Specifically, the status information such as the remaining amount of the ink tank and the state of the recording head is updated.

MFP300にも、携帯型通信端末装置200と同様に無線通信するための通信部が3つ搭載されており、機能は同等のため、説明は省略する。ただし、MFP300のWLANユニット817は、複数の無線通信モードで並行して無線通信可能であるが、このとき使用する無線チャネルは同一のものを使用する。ここで、WLANユニット817、NFCユニット818及びBTユニット819はそれぞれバスケーブル820、821及び822を介してメインボード801に接続されている。メインボード801内の各種構成要素(CPU802〜BTユニット819)は、CPU802が管理するシステムバス823を介して、相互に接続されている。   Similarly to the portable communication terminal apparatus 200, the MFP 300 is also equipped with three communication units for performing wireless communication, and the functions are the same, and thus description thereof is omitted. However, the WLAN unit 817 of the MFP 300 can perform wireless communication in parallel in a plurality of wireless communication modes, but the same wireless channel is used at this time. Here, the WLAN unit 817, the NFC unit 818, and the BT unit 819 are connected to the main board 801 via bus cables 820, 821 and 822, respectively. Various components (CPU 802 to BT unit 819) in the main board 801 are connected to each other via a system bus 823 managed by the CPU 802.

[ピアツーピア無線接続方式]
携帯型通信端末装置200とMFP300は、WFDに従ったピアツーピア(P2P)無線接続を確立することができる。WFDは、WiFiAllianceによって策定された規格であり、「WiFi Peer−to−Peer(P2P)Technical Specification Version1.1」に記述されている。WFD対応機器である携帯型通信端末装置200及びMFP300は、アクセスポイントとして動作するためのソフトウェアアクセスポイント(ソフトAP)機能を有している。そのため、携帯型通信端末装置200及びMFP300は、WFDにより、他のアクセスポイントを介さずに相互に直接、無線接続が可能となる。複数のWFD対応機器のうちいずれがソフトAPとして動作するかは、GroupOwnerNegotiationというシーケンスに従って決定される。以下、WFD対応機器であり且つアクセスポイントの役割を果たす装置を特に、GroupOwnerという。
[Peer-to-peer wireless connection method]
The portable communication terminal apparatus 200 and the MFP 300 can establish a peer-to-peer (P2P) wireless connection in accordance with WFD. WFD is a standard established by WiFi Alliance and is described in “WiFi Peer-to-Peer (P2P) Technical Specification Version 1.1”. The portable communication terminal device 200 and the MFP 300, which are WFD compatible devices, have a software access point (soft AP) function for operating as an access point. Therefore, the portable communication terminal device 200 and the MFP 300 can be wirelessly connected to each other directly by WFD without using other access points. Which of the plurality of WFD compatible devices operates as a soft AP is determined according to a sequence called GroupOwner Negotiation. Hereinafter, a device that is a WFD compatible device and plays the role of an access point is particularly referred to as GroupOwner.

P2P無線接続に限らずアクセスポイントとクライアントから構成される無線通信システムにおいて、アクセスポイントとなる装置は、まず、ビーコン(Beacon)信号を発信する。そして、クライアントは、ビーコン信号を受信すると、アクセスポイントにプローブ要求コマンド(Probe Requestフレーム)を送信する。特にP2P無線接続の場合には、プローブ要求コマンドに、P2P無線接続に関する情報(P2Pエレメント)が含まれている。アクセスポイントが、受信したプローブ要求コマンドを参照してプローブ応答コマンド(Probe Responseフレーム)を送信すると、相互に相手側の装置を発見することができる(機器探索(Discovery))。以降、装置の種類を示す機器情報やIPアドレスの確認等のシーケンスが実行され、その後に、印刷等の各種アプリケーションの実行が可能となる。   In a wireless communication system including an access point and a client, not limited to P2P wireless connection, a device serving as an access point first transmits a beacon signal. Then, when the client receives the beacon signal, the client transmits a probe request command (Probe Request frame) to the access point. Particularly in the case of P2P wireless connection, the probe request command includes information (P2P element) related to P2P wireless connection. When the access point transmits a probe response command (Probe Response frame) with reference to the received probe request command, it can discover each other's devices (device discovery (Discovery)). Thereafter, a sequence such as confirmation of device information indicating the type of apparatus and IP address is executed, and thereafter, various applications such as printing can be executed.

ここで、本実施形態における装置のWLANにおける無線通信モードを2種類定義する。1つは、P2P無線接続と異なり他のアクセスポイントとなる装置を介して、相手側の装置と無線接続するモード(インフラストラクチャーモードという)である。インフラストラクチャーモードにおいては、自装置は、クライアントとして動作する。1つは、WFD対応機器として且つGroupOwnerとして動作するモードである。
[各モードにおけるチャネル決定シーケンス]
無線接続は、特定の周波数帯域(無線チャネル)を使用して行われる。使用するチャネルの決定にあたっては、クライアントからアクセスポイントに対して、クライアントが使用可能なチャネルによる無線接続の可否を順に確認していき、アクセスポイントから応答があったチャネルを特定し、以降の使用チャネルとして決定する。つまり、アクセスポイントは、自身が使用可能なチャネルでクライアントからの要求コマンドが送信された場合にのみ、クライアントに対して応答コマンドを送信する。
Here, two types of wireless communication modes in the WLAN of the apparatus in this embodiment are defined. One is a mode (referred to as an infrastructure mode) in which a wireless connection is established with a counterpart device via a device serving as another access point, unlike the P2P wireless connection. In the infrastructure mode, the device operates as a client. One is a mode that operates as a WFD-compatible device and as a Group Owner.
[Channel determination sequence in each mode]
The wireless connection is performed using a specific frequency band (wireless channel). When deciding which channel to use, the client checks with the access point whether or not wireless connection is possible using the channels that the client can use in order, identifies the channel that has responded from the access point, and uses subsequent channels. Determine as. That is, the access point transmits a response command to the client only when a request command from the client is transmitted on a channel that can be used by the access point.

図7は、インフラストラクチャーモードで動作しているMFP300とアクセスポイント700との間のチャネル決定シーケンスを説明するための図である。フェーズ701において、MFP300とアクセスポイント700とが第n(nは任意の正の整数)チャネルで既に無線接続されている。そして、フェーズ702において、アプリケーションの終了や電波状況等、何らかの原因により無線接続が切断されたとする。フェーズ703において、クライアントとして動作するMFP300は、機器探索リクエストコマンドの送信に際して、自身が使用可能なチャネルによる無線接続を順に試みていく。ここで、機器探索リクエストコマンドとは、上述のプローブ要求コマンドに対応する。   FIG. 7 is a diagram for describing a channel determination sequence between MFP 300 operating in infrastructure mode and access point 700. In phase 701, the MFP 300 and the access point 700 are already wirelessly connected via the nth channel (n is an arbitrary positive integer) channel. In phase 702, it is assumed that the wireless connection is disconnected for some reason, such as application termination or radio wave conditions. In phase 703, the MFP 300 operating as a client sequentially tries wireless connection using a channel that can be used by itself when transmitting a device search request command. Here, the device search request command corresponds to the probe request command described above.

アクセスポイント700は、自身が使用可能なチャネル以外のチャネルで送信された機器探索リクエストコマンドに対しては応答コマンドを送信しない。例えば、アクセスポイント700が使用可能なチャネルが第nチャネルとすると、第1チャネルを使用して送信された機器探索リクエストコマンドに対しては応答コマンドを送信しない。MFP300は、第1チャネルを使用して機器探索リクエストコマンドの送信後、タイムアウト等によりアクセスポイント700からの応答がないと判定した場合には、第2チャネルを使用して機器探索リクエストコマンドを送信する。MFP300は、以上のような試行をチャネル番号を繰り上げながら繰り返し、第nチャネルを使用して機器探索リクエストコマンドを送信すると、アクセスポイント700は、当該チャネルが未使用状態であるので機器探索応答コマンドを送信する。ここで、機器探索応答コマンドとは、上述のプローブ応答コマンドに対応する。以降のフェーズ704においては、第nチャネルが使用される。フェーズ704では、例えば、SSID等の識別IDやパスワード等の設定や、IPアドレスの確認が行われ、その後に、印刷やファックス等のアプリケーションレベルでの接続が行われる。なお、以上の例では第1チャネルから1ずつ繰り上げながら使用可能なチャネルを探索しているが、試行順序はこれに限らない。   The access point 700 does not transmit a response command to a device search request command transmitted through a channel other than the channel that can be used by the access point 700. For example, if the channel that can be used by the access point 700 is the n-th channel, a response command is not transmitted for the device search request command transmitted using the first channel. When the MFP 300 determines that there is no response from the access point 700 due to a timeout or the like after transmitting the device search request command using the first channel, the MFP 300 transmits the device search request command using the second channel. . When the MFP 300 repeats the above trial while incrementing the channel number and transmits a device search request command using the nth channel, the access point 700 issues a device search response command because the channel is unused. Send. Here, the device search response command corresponds to the probe response command described above. In the subsequent phase 704, the nth channel is used. In the phase 704, for example, an identification ID such as an SSID, a password, and the like are set, and an IP address is confirmed, and then connection at an application level such as printing or fax is performed. In the above example, usable channels are searched while being incremented one by one from the first channel, but the trial order is not limited to this.

図8は、WFD対応機器のクライアントとして動作する携帯型通信端末装置200と、インフラストラクチャーモード及びGroupOwnerとして動作するMFP300と、アクセスポイント700との間のチャネル決定シーケンスを説明するための図である。図8においては、MFP300は、アクセスポイント700に対しては、インフラストラクチャーモードとして動作し、同時に、携帯型通信端末装置200に対しては、GroupOwnerとして動作している。MFP300は、携帯型通信端末装置200との間で、GroupOwnerNegosiationというシーケンスにより、自身をGroupOwnnerとして決定することができる。   FIG. 8 is a diagram for describing a channel determination sequence among portable communication terminal device 200 that operates as a client of a WFD-compatible device, MFP 300 that operates as an infrastructure mode and Group Owner, and access point 700. In FIG. 8, the MFP 300 operates as an infrastructure mode for the access point 700, and at the same time operates as a Group Owner for the portable communication terminal device 200. The MFP 300 can determine itself as a GroupOwner by a sequence called GroupOwner Negotiation with the portable communication terminal device 200.

図8のように、MFP300で2つのモードが同時に動作している場合には、まず、フェーズ801において、MFP300がアクセスポイント700に対して、図7で説明したようなシーケンスに従ってチャネルを決定して無線接続を確立する。ここでは、アクセスポイント700が使用可能な第nチャネルで無線接続が行われたとする。   As shown in FIG. 8, when two modes are operating simultaneously in the MFP 300, first, in the phase 801, the MFP 300 determines a channel for the access point 700 according to the sequence as described in FIG. Establish a wireless connection. Here, it is assumed that the wireless connection is made through the nth channel that the access point 700 can use.

そして、フェーズ802において、MFP300は携帯型通信端末装置200とのGroupOwnerNegotiationを行い、アクセスポイント700との通信に使用している第nチャネルで接続を行う。上記のように、フェーズ801の後にフェーズ802が行われるのは、MFP300はアクセスポイント700に対してクライアントとして動作するので、チャネルの決定権がないからである。従って、アクセスポイント700が主導で、MFP300とアクセスポイント700との間のチャネルを決定し、その後、MFP300が主導で、携帯型通信端末装置200とMFP300との間のチャネルを決定する。フェーズ802において、GroupOwnerNegotiationが行われた後は、プッシュボタンやPINコード等の情報やIPアドレスの確認が実行され、その後、印刷やファックス等のアプリケーションレベルでの接続が行われる。   In phase 802, the MFP 300 performs Group Owner Negotiation with the portable communication terminal apparatus 200, and connects with the n-th channel used for communication with the access point 700. As described above, the phase 802 is performed after the phase 801 because the MFP 300 operates as a client with respect to the access point 700 and thus does not have the right to determine a channel. Accordingly, the access point 700 takes the lead in determining the channel between the MFP 300 and the access point 700, and then the MFP 300 takes the lead in determining the channel between the portable communication terminal device 200 and the MFP 300. In the phase 802, after GroupOwner Negotiation is performed, information such as a push button and a PIN code and confirmation of an IP address are executed, and then connection at an application level such as printing and fax is performed.

図9は、フェーズ802の後、MFP300とアクセスポイント700との間の通信が切断された場合を示す図である。図9に示すように、フェーズ802の後、フェーズ901において、アプリケーションの終了や電波状況等、何らかの原因によりMFP300とアクセスポイント700との間の通信が切断されている。その場合に、MFP300は、アクセスポイント700に対して、図7のような機器探索リクエストコマンドの送信の試行(フェーズ904)を行うことができない。なぜなら、MFP300は携帯型通信端末装置200との間で第nチャネルで既に無線接続されており、GroupOwnnerとしてその無線接続を維持する必要があるため、別のチャネルに探索リクエストのコマンドを送信することができないからである。   FIG. 9 is a diagram illustrating a case where communication between MFP 300 and access point 700 is disconnected after phase 802. As shown in FIG. 9, after phase 802, in phase 901, communication between MFP 300 and access point 700 is disconnected for some reason such as application termination or radio wave conditions. In this case, the MFP 300 cannot make an attempt to transmit a device search request command (phase 904) as shown in FIG. This is because the MFP 300 is already wirelessly connected to the portable communication terminal device 200 via the n-th channel, and it is necessary to maintain the wireless connection as a Group Owner, so that a search request command is transmitted to another channel. It is because it is not possible.

図10は、本実施形態におけるチャネル決定シーケンスを説明するための図である。本実施形態では、フェーズ901でMFP300とアクセスポイント700との間の通信が切断後、MFP300は、フェーズ802で使用していた第nチャネルを使用して、機器探索リクエストコマンドをアクセスポイント700に送信する。フェーズ1001において、MFP300が第nチャネルで機器探索リクエストコマンドを送信した後、アクセスポイント700が機器探索応答コマンドを送信すると、以降のフェーズ1002においては、第nチャネルでの無線接続が行われる。その結果、MFP300は切断前に、アクセスポイント700に対してクライアントとして、携帯型通信端末装置200に対してGroupOwnerとして共通で第nチャネルが使用されていた状態を回復することができる。   FIG. 10 is a diagram for explaining a channel determination sequence in the present embodiment. In the present embodiment, after communication between the MFP 300 and the access point 700 is disconnected in the phase 901, the MFP 300 transmits a device search request command to the access point 700 using the nth channel used in the phase 802. To do. In phase 1001, when the MFP 300 transmits a device search request command on the nth channel and then the access point 700 transmits a device search response command, in the subsequent phase 1002, wireless connection on the nth channel is performed. As a result, before disconnecting, the MFP 300 can recover the state in which the nth channel is used in common as a client for the access point 700 and a Group Owner for the portable communication terminal device 200.

図11は、本実施形態におけるチャネル決定方法の手順を示すフローチャートである。図11に示す各処理は、例えば、MFP300のCPU802がROM803に記憶された制御プログラムをRAM804に展開して実行することにより実現される。図11のフローチャートは、図10に示す無線通信システムにおいてなされる処理を示す。   FIG. 11 is a flowchart showing the procedure of the channel determination method in the present embodiment. Each process shown in FIG. 11 is realized by, for example, the CPU 802 of the MFP 300 developing and executing a control program stored in the ROM 803 on the RAM 804. The flowchart of FIG. 11 shows processing performed in the wireless communication system shown in FIG.

まず、S1101において、MFP300は、アクセスポイント700に対しては、インフラストラクチャーモードのクライアントとして動作し、これと並行して、携帯型通信端末装置200に対しては、GroupOwnerとして動作している。   First, in S1101, the MFP 300 operates as an infrastructure mode client with respect to the access point 700, and in parallel with this, operates as a Group Owner with respect to the portable communication terminal device 200.

S1102において、MFP300は、アプリケーションの終了や電波状況等、何らかの原因によりMFP300とアクセスポイント700との間の通信が切断されたか否かを判定する。ここで、通信が切断されていないと判定された場合には、S1101に戻る。一方、通信が切断されたと判定された場合には、S1103に進む。   In step S1102, the MFP 300 determines whether communication between the MFP 300 and the access point 700 has been disconnected due to some reason, such as application termination or radio wave conditions. If it is determined that the communication is not disconnected, the process returns to S1101. On the other hand, if it is determined that the communication has been disconnected, the processing proceeds to S1103.

S1103において、MFP300は、S1102で判定された切断の前にGropOwnerとしてP2P無線接続で使用していたチャネルによって、アクセスポイント700に対して機器探索リクエストコマンドを送信する。ここで、GroupOwnerとしてP2P無線接続で使用していたチャネルとは、図10に示す携帯型通信端末装置200との間のフェーズ802で使用していた第nチャネルである。S1104において、MFP300は、アクセスポイント700からの機器探索応答コマンドを受信したか否かを判定する。ここで、受信したと判定された場合には、S1105に進み、タイムアウト等により受信しなかったと判定された場合には、S1106に進む。S1105において、MFP300は、S1103で使用したチャネルで以降のフェーズ1002を実行し、S1101に戻る。   In step S <b> 1103, the MFP 300 transmits a device search request command to the access point 700 through the channel used in the P2P wireless connection as the Group Owner before the disconnection determined in step S <b> 1102. Here, the channel used in the P2P wireless connection as the Group Owner is the n-th channel used in the phase 802 with the portable communication terminal apparatus 200 shown in FIG. In step S <b> 1104, the MFP 300 determines whether a device search response command from the access point 700 has been received. Here, if it is determined that it has been received, the process proceeds to S1105. If it is determined that it has not been received due to a timeout or the like, the process proceeds to S1106. In step S1105, the MFP 300 executes the subsequent phase 1002 on the channel used in step S1103, and returns to step S1101.

一方、S1104で受信しなかったと判定された場合とは、例えば、アクセスポイント700が使用するチャネルが以前に使用していたチャネル(第nチャネル)から変更された場合が相当する。S1106において、MFP300は、携帯型通信端末装置200との無線接続の切断を実行する。次に、S1107において、MFP300は、アクセスポイント700に対して、機器探索リクエストコマンドの送信に際して、MFP300が使用可能なチャネルを順に試みていく。   On the other hand, the case where it is determined in S1104 that reception has not been performed corresponds to, for example, the case where the channel used by the access point 700 is changed from the channel used previously (the nth channel). In step S <b> 1106, the MFP 300 disconnects the wireless connection with the portable communication terminal device 200. In step S <b> 1107, the MFP 300 sequentially tries channels that can be used by the MFP 300 when transmitting a device search request command to the access point 700.

S1108において、MFP300は、アクセスポイント700から機器探索応答コマンドを受信したか否かを判定する。ここで、受信したと判定された場合には、S1109に進み、タイムアウト等により受信しなかったと判定された場合には、S1110に進む。S1109において、MFP300は、S1108で受信したと判定された機器探索応答コマンドで使用されているチャネルで、以降のシーケンスを実行する。S1109で使用されるチャネルは、第nチャネルとは限らない。そして、S1110において、MFP300は、携帯型通信端末装置200とのP2P接続を待機する。   In step S <b> 1108, the MFP 300 determines whether a device search response command is received from the access point 700. Here, if it is determined that it has been received, the process proceeds to S1109, and if it is determined that it has not been received due to a timeout or the like, the process proceeds to S1110. In step S1109, the MFP 300 executes the subsequent sequence on the channel used in the device search response command determined to have been received in step S1108. The channel used in S1109 is not necessarily the nth channel. In step S1110, the MFP 300 waits for a P2P connection with the portable communication terminal apparatus 200.

[第2の実施形態]
以下、第2の実施形態について、第1の実施形態と異なる点について説明する。第1の実施形態と同符号を付したものは第1の実施形態と同様の処理を行う。
[Second Embodiment]
Hereinafter, the second embodiment will be described with respect to differences from the first embodiment. Those denoted by the same reference numerals as in the first embodiment perform the same processing as in the first embodiment.

図12は、本実施形態におけるチャネル決定シーケンスを説明するための図である。図12においては、フェーズ802において携帯型通信端末装置200とMFP300との間で第nチャネルで無線接続された後、印刷アプリケーションによる印刷が実行されている(フェーズ1201)。   FIG. 12 is a diagram for explaining a channel determination sequence in the present embodiment. In FIG. 12, after the wireless communication is established between the portable communication terminal device 200 and the MFP 300 via the nth channel in the phase 802, printing by the printing application is executed (phase 1201).

本実施形態においては、フェーズ901でMFP300とアクセスポイント700との間の無線接続が切断された場合には、携帯型通信端末装置200とMFP300との間で印刷等のアプリケーションによる処理が実行中であるならば、その実行の終了を待機する。つまり、図12において、MFP300は、フェーズ1201の印刷アプリケーションによる印刷が終了し、携帯型通信端末装置200との無線接続の切断を実行した後に、アクセスポイント700に対して機器探索リクエストコマンドを送信する(フェーズ1203)。その送信の際には、MFP300が使用可能なチャネルを順に確認していく。例えば、その時点でアクセスポイント700が使用可能なチャネルが第x(xは任意の正の整数)チャネルであるとすると、MFP300が第xチャネルで機器探索リクエストコマンドを送信した場合に、アクセスポイント700は第xチャネルで機器探索応答コマンドを送信する。その後、フェーズ1204において、MFP300とアクセスポイント700の間で第xチャネルにより無線接続が行われる。その後、フェーズ1205において、携帯型通信端末装置200から機器探索リクエストコマンドを受信した場合には、第xチャネルを使用して機器探索応答コマンドを送信することで無線接続を確立する。   In this embodiment, when the wireless connection between the MFP 300 and the access point 700 is disconnected in the phase 901, a process such as printing is being executed between the portable communication terminal device 200 and the MFP 300. If so, wait for the end of the execution. That is, in FIG. 12, the MFP 300 transmits a device search request command to the access point 700 after printing by the printing application in the phase 1201 is completed and the wireless connection with the portable communication terminal device 200 is disconnected. (Phase 1203). When the transmission is performed, the channels that can be used by the MFP 300 are sequentially confirmed. For example, assuming that the channel that can be used by the access point 700 at that time is the x-th channel (x is an arbitrary positive integer), the access point 700 is transmitted when the MFP 300 transmits a device search request command on the x-th channel. Transmits a device search response command on the x-th channel. Thereafter, in phase 1204, wireless connection is performed between the MFP 300 and the access point 700 through the x-th channel. Thereafter, in phase 1205, when a device search request command is received from portable communication terminal apparatus 200, a wireless connection is established by transmitting a device search response command using the xth channel.

その結果、アクセスポイント700との間で無線接続が切断されたときに携帯型通信端末装置200との間でアプリケーションによる処理が実行されている場合でも、アプリケーションの処理の実行を損なわずに、アプリケーションの完了後、システム共通のチャネルによる無線接続を回復することができる。   As a result, even when processing by the application is executed with the portable communication terminal device 200 when the wireless connection with the access point 700 is disconnected, the application processing is not impaired. After the completion of the wireless connection, the wireless connection by the channel common to the system can be recovered.

図13は、本実施形態におけるチャネル決定方法の手順を示すフローチャートである。図13に示す各処理は、例えば、MFP300のCPU802がROM803に記憶された制御プログラムをRAM804に展開して実行することにより実現される。図13のフローチャートは、図12に示す無線通信システムにおいてなされる処理である。   FIG. 13 is a flowchart showing the procedure of the channel determination method in the present embodiment. Each process illustrated in FIG. 13 is realized, for example, by the CPU 802 of the MFP 300 developing and executing a control program stored in the ROM 803 on the RAM 804. The flowchart of FIG. 13 is processing performed in the wireless communication system shown in FIG.

まず、S1301において、MFP300は、アクセスポイント700に対しては、インフラストラクチャーモードとして動作し、これと並行して、携帯型通信端末装置200に対しては、GroupOwnerとして動作している。   First, in S1301, the MFP 300 operates in the infrastructure mode for the access point 700, and in parallel, operates as a Group Owner for the portable communication terminal device 200.

S1302において、MFP300は、アプリケーションの終了や電波状況等、何らかの原因によりMFP300とアクセスポイント700との間の通信が切断されたか否かを判定する。ここで、通信が切断されていないと判定された場合には、S1301に戻る。一方、通信が切断されたと判定された場合には、S1303に進む。   In step S <b> 1302, the MFP 300 determines whether communication between the MFP 300 and the access point 700 has been disconnected for some reason, such as application termination or radio wave conditions. If it is determined that the communication is not disconnected, the process returns to S1301. On the other hand, if it is determined that the communication has been disconnected, the processing proceeds to S1303.

S1303において、MFP300は、MFP300がGropOwnerとしてP2P無線接続の確立を実行中であるか否かを判定する。つまり、図12に示すように、携帯型通信端末装置200との間で印刷アプリケーションによる印刷が実行中である場合には、S1303においてP2P無線接続の確立を実行中であると判定され、S1303の処理を繰り返す。一方、P2P無線接続の確立を実行中でないと判定された場合には、S1304に進む。   In step S <b> 1303, the MFP 300 determines whether the MFP 300 is executing establishment of a P2P wireless connection as a Group Owner. That is, as shown in FIG. 12, when printing by a printing application is being executed with the portable communication terminal device 200, it is determined in S1303 that establishment of a P2P wireless connection is being executed, and in S1303 Repeat the process. On the other hand, if it is determined that the establishment of the P2P wireless connection is not being executed, the process proceeds to S1304.

S1304において、MFP300は、携帯型通信端末装置200との無線接続の切断を実行する。次に、S1305において、MFP300は、アクセスポイント700に対して、MFP300が使用可能なチャネルを順に使用して機器探索リクエストコマンドを送信する。S1306において、MFP300は、アクセスポイント700から機器探索応答コマンドを受信したか否かを判定する。ここで、受信したと判定された場合には、S1307に進み、タイムアウト等により受信しなかったと判定された場合には、S1308に進む。   In step S <b> 1304, the MFP 300 disconnects the wireless connection with the portable communication terminal apparatus 200. In step S <b> 1305, the MFP 300 transmits a device search request command to the access point 700 using the channels that can be used by the MFP 300 in order. In step S <b> 1306, the MFP 300 determines whether a device search response command is received from the access point 700. Here, if it is determined that it has been received, the process proceeds to S1307, and if it is determined that it has not been received due to a timeout or the like, the process proceeds to S1308.

S1307において、MFP300は、S1306で受信したと判定された機器探索応答コマンドで使用されているチャネルで、以降の無線接続シーケンスを実行する。そして、S1308において、MFP300は、携帯型通信端末装置200とのP2P接続を待機する。第1及び第2実施形態によれば、MFP300がインフラストラクチャーモードと同時にGroupOwnerとしても動作する場合に、アクセスポイントとの無線接続が切断された場合でも、システム共通のチャネルでの無線接続を回復することができる。即ち、複数の無線通信モードで並行して無線通信を行う際、1つのモードにおいてMFP300がクライアントとなり、他の1つのモードにおいてアクセスポイントとなる場合に、一方の無線接続の切断があっても適切に共通のチャネルでの無線通信を再開できる。また、複数の無線通信モードで並行して無線通信を行う際、それぞれのモードで異なるチャネルを設定する必要がなく、処理負荷を軽減できる。   In step S1307, the MFP 300 executes the subsequent wireless connection sequence on the channel used in the device search response command determined to have been received in step S1306. In step S <b> 1308, the MFP 300 waits for a P2P connection with the portable communication terminal device 200. According to the first and second embodiments, when the MFP 300 operates as a group owner at the same time as the infrastructure mode, even when the wireless connection with the access point is disconnected, the wireless connection on the channel common to the system is recovered. be able to. That is, when performing wireless communication in parallel in a plurality of wireless communication modes, if MFP 300 is a client in one mode and an access point in the other mode, it is appropriate even if one of the wireless connections is disconnected Wireless communication on a common channel can be resumed. Further, when performing wireless communication in parallel in a plurality of wireless communication modes, it is not necessary to set different channels in each mode, and the processing load can be reduced.

本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又はコンピュータ読取可能な各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。また、プログラムを実行するコンピュータは、1つであってもよいし、複数のコンピュータが協働してプログラムを実行するものであってもよい。さらに、プログラムの一部を実行する回路等のハードウェアを設け、そのハードウェアと、ソフトウェアを実行するコンピュータが協働して、本実施形態で説明した処理を実行する場合であってもよい。   The present invention is also realized by executing the following processing. In other words, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various computer-readable storage media, and the computer of the system or apparatus (or CPU, MPU, or the like). This is a process of reading and executing a program. Further, the number of computers that execute the program may be one, or a plurality of computers may cooperate to execute the program. Furthermore, hardware such as a circuit that executes a part of the program may be provided, and the hardware and the computer that executes the software may cooperate to execute the processing described in the present embodiment.

200 携帯型通信端末装置: 300 MFP: 700 アクセスポイント: 702、802 CPU: 703、803 ROM: 704、804 RAM   200 Portable communication terminal device: 300 MFP: 700 Access point: 702, 802 CPU: 703, 803 ROM: 704, 804 RAM

Claims (26)

外部装置と通信可能な通信装置であって、
前記通信装置および前記外部装置の外部のアクセスポイントとの所定の通信規格に準拠した第1の無線通信方法による無線接続と、前記外部のアクセスポイントを介さない前記外部装置との前記所定の通信規格に準拠した第2の無線通信方法による無線接続とを実行可能な通信手段と、
前記通信手段によって実行される前記外部のアクセスポイントと複数の通信チャネルから選択された所定の通信チャネルを用いた前記第1の無線通信方法による無線接続と、前記通信手段によって実行される前記外部装置と前記所定の通信チャネルを用いた前記第2の無線通信方法による無線接続とが並行して維持されている状況で前記外部のアクセスポイントとの接続が切断され、かつ、前記外部装置と前記所定の通信チャネルを用いた前記第2の無線通信方法による無線接続が維持されている場合、前記外部装置との前記第2の無線通信方法による無線接続に使用されている前記所定の通信チャネルを複数の通信チャネルの中で優先的に使用して前記外部のアクセスポイントを探索し、前記所定の通信チャネルを複数の通信チャネルの中で優先的に使用して前記外部のアクセスポイントを探索できない場合、前記外部装置と前記所定の通信チャネルを用いた前記第2の無線通信方法による無線接続を切断する処理および前記複数の通信チャネルを順番に使って前記外部のアクセスポイントを探索する処理を実行する探索手段と、
を備えることを特徴とする通信装置。
A communication device capable of communicating with an external device,
Wireless connection by a first wireless communication method compliant with a predetermined communication standard with the communication device and an external access point of the external device, and the predetermined communication standard with the external device not via the external access point Communication means capable of executing wireless connection by a second wireless communication method compliant with
Wireless connection by the first wireless communication method using a predetermined communication channel selected from the external access point and a plurality of communication channels executed by the communication means, and the external device executed by the communication means And the wireless connection by the second wireless communication method using the predetermined communication channel is maintained in parallel, the connection with the external access point is disconnected, and the external device and the predetermined communication A plurality of the predetermined communication channels used for the wireless connection by the second wireless communication method with the external device when the wireless connection by the second wireless communication method using the communication channel is maintained. The communication channel is preferentially used to search for the external access point, and the predetermined communication channel is selected from a plurality of communication channels. If the external access point cannot be searched preferentially, the process of disconnecting the wireless connection by the second wireless communication method using the predetermined communication channel with the external device and the plurality of communication channels are sequentially Search means for executing the process of searching for the external access point using
A communication apparatus comprising:
前記探索手段は、前記通信手段によって実行される前記外部のアクセスポイントと複数の通信チャネルから選択された所定の通信チャネルを用いた前記第1の無線通信方法による無線接続と、前記通信手段によって実行される前記外部装置と前記所定の通信チャネルを用いた前記第2の無線通信方法による無線接続とが並行して維持されている状況で前記外部のアクセスポイントとの接続が切断された場合、前記所定の通信チャネルを複数の通信チャネルの中で最初に使用して前記外部のアクセスポイントを探索することを特徴とする請求項1に記載の通信装置。   The search means performs wireless connection by the first wireless communication method using the external access point executed by the communication means and a predetermined communication channel selected from a plurality of communication channels, and executed by the communication means. When the connection with the external access point is disconnected in a situation where the external connection and the wireless connection by the second wireless communication method using the predetermined communication channel are maintained in parallel, The communication apparatus according to claim 1, wherein the external access point is searched using a predetermined communication channel first among a plurality of communication channels. 前記通信手段によって実行される前記外部のアクセスポイントと複数の通信チャネルから選択された所定の通信チャネルを用いた前記第1の無線通信方法による無線接続が維持され、かつ、前記外部装置と前記所定の通信チャネルを用いた前記第2の無線通信方法による無線接続がなされていない状況で前記第1の無線通信方法による前記外部のアクセスポイントとの無線接続が切断された場合、前記探索手段は、前記外部のアクセスポイントを探索するために前記所定の通信チャネルを優先的に使用することなく、複数の通信チャネルを順番に使って前記外部のアクセスポイントを探索することを特徴とする請求項1又は2に記載の通信装置。   Wireless connection is maintained by the first wireless communication method using a predetermined communication channel selected from a plurality of communication channels and the external access point executed by the communication means, and the external device and the predetermined When the wireless connection with the external access point by the first wireless communication method is disconnected in the situation where the wireless connection by the second wireless communication method using the communication channel is not made, the search means The search for the external access point is performed using a plurality of communication channels in order without preferentially using the predetermined communication channel to search for the external access point. 2. The communication device according to 2. 前記所定の通信規格とは、IEEE802.11シリーズであることを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。   The communication apparatus according to any one of claims 1 to 3, wherein the predetermined communication standard is an IEEE802.11 series. 前記第2の無線通信方法は、前記通信チャネルを割り当てる役割として動作する装置を決定するためのネゴシエーション処理を含むことを特徴とする請求項1乃至4のいずれか1項に記載の通信装置。   5. The communication device according to claim 1, wherein the second wireless communication method includes a negotiation process for determining a device that operates as a role to allocate the communication channel. 6. 前記所定の通信チャネルを優先的に使って前記外部のアクセスポイントが探索されている間、前記外部装置との無線接続は維持されることを特徴とする請求項1乃至5のいずれか1項に記載の通信装置。   6. The wireless connection with the external device is maintained while the external access point is searched using the predetermined communication channel preferentially. The communication device described. 前記第1の無線通信方法は、インフラストラクチャーモードであり、
前記第2の無線通信方法は、ピアツーピア方式の通信モードであることを特徴とする請求項1乃至6のいずれか1項に記載の通信装置。
The first wireless communication method is an infrastructure mode;
The communication apparatus according to claim 1, wherein the second wireless communication method is a peer-to-peer communication mode.
前記所定の通信チャネルを使って前記外部のアクセスポイントと無線接続された後、前記外部のアクセスポイントとの無線接続と並行して前記外部装置と無線接続する場合、前記外部装置との無線接続に使用される通信チャネルとして前記所定の通信チャネルを決定する決定手段、を更に備えることを特徴とする請求項1乃至7のいずれか1項に記載の通信装置。   After wirelessly connecting to the external access point using the predetermined communication channel, when wirelessly connecting to the external device in parallel with the wireless connection to the external access point, the wireless connection to the external device 8. The communication apparatus according to claim 1, further comprising a determining unit that determines the predetermined communication channel as a communication channel to be used. 印刷手段を更に備えることを特徴とする請求項1乃至8のいずれか1項に記載の通信装置。   The communication apparatus according to claim 1, further comprising a printing unit. NFC接続手段を更に備えることを特徴とする請求項1乃至9のいずれか1項に記載の通信装置。   The communication apparatus according to claim 1, further comprising an NFC connection unit. Bluetooth接続手段を更に備えることを特徴とする請求項1乃至10のいずれか1項に記載の通信装置。   The communication apparatus according to claim 1, further comprising a Bluetooth connection unit. 複数の給紙手段を更に備えることを特徴とする請求項1乃至11のいずれか1項に記載の通信装置。   The communication apparatus according to claim 1, further comprising a plurality of paper feeding units. 前記探索手段は、探索リクエストを前記外部のアクセスポイントに送信することを特徴とする請求項1乃至12のいずれか1項に記載の通信装置。   The communication device according to claim 1, wherein the search unit transmits a search request to the external access point. 前記第2の無線通信方法は、WiFiダイレクトモードであることを特徴とする請求項1乃至13のいずれか1項に記載の通信装置。   The communication apparatus according to claim 1, wherein the second wireless communication method is a WiFi direct mode. 外部装置と通信可能な通信装置であって、前記通信装置および前記外部装置の外部のアクセスポイントとの所定の通信規格に準拠した第1の無線通信方法による無線接続と、前記外部のアクセスポイントを介さない前記外部装置との前記所定の通信規格に準拠した第2の無線通信方法による無線接続とを実行可能な通信手段を備える前記通信装置としてコンピュータを、
前記通信手段によって実行される前記外部のアクセスポイントと複数の通信チャネルから選択された所定の通信チャネルを用いた前記第1の無線通信方法による無線接続と、前記通信手段によって実行される前記外部装置と前記所定の通信チャネルを用いた前記第2の無線通信方法による無線接続とが並行して維持されている状況で前記外部のアクセスポイントとの接続が切断され、かつ、前記外部装置と前記所定の通信チャネルを用いた前記第2の無線通信方法による無線接続が維持されている場合、前記外部装置との前記第2の無線通信方法による無線接続に使用されている前記所定の通信チャネルを複数の通信チャネルの中で優先的に使用して前記外部のアクセスポイントを探索し、前記所定の通信チャネルを複数の通信チャネルの中で優先的に使用して前記外部のアクセスポイントを探索できない場合、前記外部装置と前記所定の通信チャネルを用いた前記第2の無線通信方法による無線接続を切断する処理および前記複数の通信チャネルを順番に使って前記外部のアクセスポイントを探索する処理を実行する探索手段と、して機能させるためのプログラム。
A communication device capable of communicating with an external device, wherein the communication device and a wireless connection by a first wireless communication method compliant with a predetermined communication standard with an external access point of the external device, and the external access point A computer as the communication device comprising communication means capable of performing wireless connection by the second wireless communication method in conformity with the predetermined communication standard with the external device without intervention;
Wireless connection by the first wireless communication method using a predetermined communication channel selected from the external access point and a plurality of communication channels executed by the communication means, and the external device executed by the communication means And the wireless connection by the second wireless communication method using the predetermined communication channel is maintained in parallel, the connection with the external access point is disconnected, and the external device and the predetermined communication A plurality of the predetermined communication channels used for the wireless connection by the second wireless communication method with the external device when the wireless connection by the second wireless communication method using the communication channel is maintained. The communication channel is preferentially used to search for the external access point, and the predetermined communication channel is selected from a plurality of communication channels. If the external access point cannot be searched preferentially, the process of disconnecting the wireless connection by the second wireless communication method using the predetermined communication channel with the external device and the plurality of communication channels are sequentially A program for functioning as search means for executing processing for searching for an external access point used in the above.
前記探索手段は、前記通信手段によって実行される前記外部のアクセスポイントと複数の通信チャネルから選択された所定の通信チャネルを用いた前記第1の無線通信方法による無線接続と、前記通信手段によって実行される前記外部装置と前記所定の通信チャネルを用いた前記第2の無線通信方法による無線接続とが並行して維持されている状況で前記外部のアクセスポイントとの接続が切断された場合、前記所定の通信チャネルを複数の通信チャネルの中で最初に使用して前記外部のアクセスポイントを探索することを特徴とする請求項15に記載のプログラム。   The search means performs wireless connection by the first wireless communication method using the external access point executed by the communication means and a predetermined communication channel selected from a plurality of communication channels, and executed by the communication means. When the connection with the external access point is disconnected in a situation where the external connection and the wireless connection by the second wireless communication method using the predetermined communication channel are maintained in parallel, The program according to claim 15, wherein a predetermined communication channel is used first among a plurality of communication channels to search for the external access point. 前記通信手段によって実行される前記外部のアクセスポイントと複数の通信チャネルから選択された所定の通信チャネルを用いた前記第1の無線通信方法による無線接続が維持され、かつ、前記外部装置と前記所定の通信チャネルを用いた前記第2の無線通信方法による無線接続がなされていない状況で前記第1の無線通信方法による前記外部のアクセスポイントとの無線接続が切断された場合、前記探索手段は、前記外部のアクセスポイントを探索するために前記所定の通信チャネルを優先的に使用することなく、複数の通信チャネルを順番に使って前記外部のアクセスポイントを探索することを特徴とする請求項15又は16に記載のプログラム。   Wireless connection is maintained by the first wireless communication method using a predetermined communication channel selected from a plurality of communication channels and the external access point executed by the communication means, and the external device and the predetermined When the wireless connection with the external access point by the first wireless communication method is disconnected in the situation where the wireless connection by the second wireless communication method using the communication channel is not made, the search means 16. The search for the external access point using a plurality of communication channels in order without preferentially using the predetermined communication channel to search for the external access point. 16. The program according to 16. 前記所定の通信規格とは、IEEE802.11シリーズであることを特徴とする請求項15乃至17のいずれか1項に記載のプログラム。   The program according to any one of claims 15 to 17, wherein the predetermined communication standard is an IEEE802.11 series. 前記第2の無線通信方法は、前記通信チャネルを割り当てる役割として動作する装置を決定するためのネゴシエーション処理を含むことを特徴とする請求項15乃至18のいずれか1項に記載のプログラム。   The program according to any one of claims 15 to 18, wherein the second wireless communication method includes a negotiation process for determining a device operating as a role to allocate the communication channel. 前記所定の通信チャネルを優先的に使って前記外部のアクセスポイントが探索されている間、前記外部装置との無線接続は維持されることを特徴とする請求項15乃至19のいずれか1項に記載のプログラム。   The wireless connection with the external device is maintained while the external access point is searched using the predetermined communication channel preferentially. The listed program. 前記第1の無線通信方法は、インフラストラクチャーモードであり、
前記第2の無線通信方法は、ピアツーピア方式の通信モードであることを特徴とする請求項15乃至20のいずれか1項に記載のプログラム。
The first wireless communication method is an infrastructure mode;
The program according to any one of claims 15 to 20, wherein the second wireless communication method is a peer-to-peer communication mode.
前記所定の通信チャネルを使って前記外部のアクセスポイントと無線接続された後、前記外部のアクセスポイントとの無線接続と並行して前記外部装置と無線接続する場合、前記外部装置との無線接続に使用される通信チャネルとして前記所定の通信チャネルを決定する決定手段、を更に有することを特徴とする請求項15乃至21のいずれか1項に記載のプログラム。   After wirelessly connecting to the external access point using the predetermined communication channel, when wirelessly connecting to the external device in parallel with the wireless connection to the external access point, the wireless connection to the external device The program according to any one of claims 15 to 21, further comprising determining means for determining the predetermined communication channel as a communication channel to be used. NFC接続手段を更に有することを特徴とする請求項15乃至22のいずれか1項に記載のプログラム。   The program according to any one of claims 15 to 22, further comprising NFC connection means. Bluetooth接続手段を更に有することを特徴とする請求項15乃至23のいずれか1項に記載のプログラム。   The program according to any one of claims 15 to 23, further comprising Bluetooth connection means. 前記探索手段は、探索リクエストを前記外部のアクセスポイントに送信することを特徴とする請求項15乃至24のいずれか1項に記載のプログラム。   The program according to any one of claims 15 to 24, wherein the search means transmits a search request to the external access point. 前記第2の無線通信方法は、WiFiダイレクトモードであることを特徴とする請求項15乃至25のいずれか1項に記載のプログラム。   The program according to any one of claims 15 to 25, wherein the second wireless communication method is a WiFi direct mode.
JP2018011810A 2018-01-26 2018-01-26 Communication apparatus and program Active JP6484357B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018011810A JP6484357B2 (en) 2018-01-26 2018-01-26 Communication apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018011810A JP6484357B2 (en) 2018-01-26 2018-01-26 Communication apparatus and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013094644A Division JP6335437B2 (en) 2013-04-26 2013-04-26 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2018064304A JP2018064304A (en) 2018-04-19
JP6484357B2 true JP6484357B2 (en) 2019-03-13

Family

ID=61968092

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018011810A Active JP6484357B2 (en) 2018-01-26 2018-01-26 Communication apparatus and program

Country Status (1)

Country Link
JP (1) JP6484357B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8750178B2 (en) * 2009-06-01 2014-06-10 Qualcomm Incorporated Connection manager for a wireless communication device
JP5498212B2 (en) * 2010-03-17 2014-05-21 任天堂株式会社 COMMUNICATION DEVICE, COMMUNICATION CONTROL PROGRAM, COMMUNICATION CONTROL METHOD, AND COMMUNICATION SYSTEM
JP2011250158A (en) * 2010-05-27 2011-12-08 Nippon Telegr & Teleph Corp <Ntt> Wireless base station search method and wireless base station search apparatus
JP2012019487A (en) * 2010-07-09 2012-01-26 Canon Inc Communication device and control method
JP5821390B2 (en) * 2011-08-10 2015-11-24 株式会社リコー Wireless communication apparatus, wireless communication program, and wireless communication method

Also Published As

Publication number Publication date
JP2018064304A (en) 2018-04-19

Similar Documents

Publication Publication Date Title
JP6335437B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
US9692934B2 (en) Communicating apparatus, communication method, and storage medium storing program
JP6242241B2 (en) Printing apparatus, communication apparatus, and program
JP6454075B2 (en) COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND PROGRAM
EP3247168B1 (en) Communication apparatus, control method for the same, and program
JP2017208775A (en) Communication device, control method therefor and program
CN107404770B (en) Communication apparatus, control method, and computer-readable storage medium
JP2017208783A (en) Communication device, control method, and program
JP6212280B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
CN107454678B (en) Communication apparatus, control method, and computer-readable storage medium
JP6643185B2 (en) Communication device, communication method, and program
JP6700971B2 (en) Communication device, control method, and program
CN116647839A (en) Communication apparatus and control method thereof
JP6484357B2 (en) Communication apparatus and program
JP6302169B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP6868533B2 (en) Image forming system and image forming device
JP6730845B2 (en) Communication device, control method thereof, and program
JP2017211729A (en) Communication device, communication method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180126

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190215

R151 Written notification of patent or utility model registration

Ref document number: 6484357

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151