JP6406097B2 - IDENTIFICATION INFORMATION SEARCH METHOD AND RADIO COMMUNICATION DEVICE - Google Patents

IDENTIFICATION INFORMATION SEARCH METHOD AND RADIO COMMUNICATION DEVICE Download PDF

Info

Publication number
JP6406097B2
JP6406097B2 JP2015072711A JP2015072711A JP6406097B2 JP 6406097 B2 JP6406097 B2 JP 6406097B2 JP 2015072711 A JP2015072711 A JP 2015072711A JP 2015072711 A JP2015072711 A JP 2015072711A JP 6406097 B2 JP6406097 B2 JP 6406097B2
Authority
JP
Japan
Prior art keywords
identification information
search
unit
information group
wireless communication
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
JP2015072711A
Other languages
Japanese (ja)
Other versions
JP2016192730A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2015072711A priority Critical patent/JP6406097B2/en
Publication of JP2016192730A publication Critical patent/JP2016192730A/en
Application granted granted Critical
Publication of JP6406097B2 publication Critical patent/JP6406097B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本明細書に開示される技術は、識別情報の検索方法に関する。   The technology disclosed in this specification relates to a method for retrieving identification information.

近年、無線LAN(Local Area Network)が普及し、無線LANルーター等のアクセスポイントや、無線通信機能を有する無線通信装置が数多く存在している。プリンタ等の無線通信機能を有する無線通信装置が、複数のアクセスポイントの中から選択された1つのアクセスポイントを経由して、PCや外部サーバー等の外部の無線通信装置とデータのやり取りを実行するモード(インフラストラクチャモード)や、アクセスポイントを経由せず、複数の外部の無線通信装置の中から選択された1つの外部の無線通信装置とデータのやり取りを実行するモード(アドホックモード)がある。   In recent years, a wireless LAN (Local Area Network) has become widespread, and there are many access points such as a wireless LAN router and wireless communication devices having a wireless communication function. A wireless communication device having a wireless communication function such as a printer exchanges data with an external wireless communication device such as a PC or an external server via one access point selected from a plurality of access points. There are modes (infrastructure mode) and modes (ad hoc mode) for exchanging data with one external wireless communication device selected from a plurality of external wireless communication devices without going through an access point.

このような無線通信装置では、例えば、ユーザに、複数のアクセスポイントや複数の外部の無線通信装置(以下、まとめて「外部通信機器」という)の中から1つを選択させるために、接続可能な外部通信機器を検索し、その検索された複数の外部通信機器の識別情報(例えば、SSID(Service Set Identifier))を、その無線通信装置に備えられた表示部に表示させる(特許文献1参照)。   In such a wireless communication device, for example, the user can connect to select one of a plurality of access points and a plurality of external wireless communication devices (hereinafter collectively referred to as “external communication devices”). The external communication device is searched, and identification information (for example, SSID (Service Set Identifier)) of the searched external communication devices is displayed on the display unit provided in the wireless communication device (see Patent Document 1). ).

ここで、外部通信機器は、機器毎に、無線通信で使用する通信チャネルが予め定められている。そこで、無線通信装置は、通信チャネル毎に、例えば、所定の間隔毎に複数回、その通信チャネルにおける要求信号を送信する。各外部通信機器は、その要求信号を受信すると、自己の識別情報を含む応答信号を無線通信装置に送信する。無線通信装置は、所定の受信時間内に応答信号を受信すると、その応答信号に含まれる識別情報から、その識別情報に対応する外部通信機器に、その通信チャネルを使用して接続可能であることを認識することができる。   Here, in the external communication device, a communication channel used for wireless communication is predetermined for each device. Therefore, the wireless communication apparatus transmits a request signal in the communication channel for each communication channel, for example, a plurality of times at predetermined intervals. Each external communication device, when receiving the request signal, transmits a response signal including its own identification information to the wireless communication device. When the wireless communication device receives a response signal within a predetermined reception time, the wireless communication device can connect to the external communication device corresponding to the identification information from the identification information included in the response signal using the communication channel. Can be recognized.

特開2010−74334号公報JP 2010-74334 A

しかし、従来、無線通信装置は、全通信チャネルに対して、通信チャネル毎に、同一条件の元で、所定の間隔毎に複数回、要求信号を送信し、所定の受信時間内に受信した識別情報を記憶する検索処理を繰り返し実行していたため、全ての接続可能な複数の外部通信機器の識別情報を検索するのに時間がかかるという問題があった。例えば、通信環境が安定しているなどの理由により、一の通信チャネルに対して、1回の検索処理の実行により、接続可能な外部通信機器の識別情報を十分な数だけ受信できた場合でも、他の通信チャネルと同様、2回目以降の検索処理が続行される。このため、無駄な検索処理が続行されることにより、全ての接続可能な複数の外部通信機器の識別情報を検索するのに時間がかかる。   However, conventionally, a wireless communication apparatus transmits a request signal multiple times at a predetermined interval for each communication channel under the same conditions for all communication channels, and the identification received within a predetermined reception time. Since the search processing for storing information is repeatedly executed, it takes time to search for identification information of all connectable external communication devices. For example, even when a sufficient number of identification information of connectable external communication devices can be received by executing a single search process for one communication channel because the communication environment is stable. As with other communication channels, the second and subsequent search processes are continued. For this reason, it takes time to search the identification information of all the connectable external communication devices by continuing the useless search process.

また、例えば、通信環境が不安定であったりしたために、検索処理の検索精度が低かったり、さらに検索処理を実行しても、接続可能な外部通信機器の識別情報を十分な数だけ受信できない場合がある。しかし、このような場合でも、従来の無線通信装置では、同じ検索条件の検索処理がさらに繰り返し実行されるため、接続可能な外部通信機器の識別情報の検索漏れが生じる可能性が高い。   Also, for example, when the communication environment is unstable, the search accuracy of the search process is low, or even when the search process is executed, a sufficient number of identification information of connectable external communication devices cannot be received There is. However, even in such a case, in the conventional wireless communication device, the search process of the same search condition is repeatedly executed, and thus there is a high possibility that the search for the identification information of the connectable external communication device will be missed.

本発明の目的は、全通信チャネルに対して接続可能な外部通信機器の識別情報を検索する際、例えば通信環境が安定している通信チャネルで受信した識別情報の検索を早期に中止し、通信環境が不安定である通信チャネルで受信した識別情報を異なる条件の検索によって漏れなく検索することによって、通信チャネル毎に一律同じ検索条件で検索する場合と比べて、速く検索することができ、識別情報の検索漏れを抑制することができる識別情報の検索方法、および、無線通信装置を提供することである。   An object of the present invention is to search for identification information of external communication devices connectable to all communication channels at an early stage, for example, by quickly stopping the search for identification information received on a communication channel in which the communication environment is stable. By searching the identification information received on the communication channel where the environment is unstable by searching different conditions, it is possible to search faster than when searching with the same search condition for each communication channel. An object of the present invention is to provide an identification information search method and a wireless communication apparatus capable of suppressing information search omissions.

本明細書に開示される技術は、以下の形態として実現することが可能である。   The technology disclosed in this specification can be implemented as the following forms.

本明細書に開示される識別情報の検索方法は、複数の通信チャネルの中から任意の通信チャネルを指定してデータの送受信を行う無線通信部を用いて、外部通信機器の識別情報を検索する識別情報の検索方法であって、外部通信機器の識別情報を要求する要求信号を、前記無線通信部に1回送信させ、前記要求信号の送信時から所定の受信時間内に前記無線通信部が受信した前記外部通信機器の識別情報を識別情報群として取得する単位検索を、前記通信チャネルごとに、2回ずつ行う第1検索工程と、1回目の前記単位検索により取得された1回目の識別情報群と2回目の前記単位検索により取得された2回目の識別情報群とが一致するか否かを、前記通信チャネルごとに判断する第1判断工程と、複数の前記通信チャネルの内、前記第1判断工程で前記1回目の識別情報群と前記2回目の識別情報群とが一致しないと判断された不一致チャネルごとに、前記第1検索工程と異なる条件の下で前記単位検索を行う第2検索工程と、を含む。   The identification information search method disclosed in this specification searches for identification information of an external communication device using a wireless communication unit that transmits and receives data by designating an arbitrary communication channel from among a plurality of communication channels. A method for retrieving identification information, wherein a request signal for requesting identification information of an external communication device is transmitted to the wireless communication unit once, and the wireless communication unit is within a predetermined reception time from the time of transmission of the request signal. A first search step in which the unit search for acquiring the received identification information of the external communication device as an identification information group is performed twice for each communication channel, and the first identification acquired by the first unit search. A first determination step for determining, for each communication channel, whether or not the information group matches the second identification information group acquired by the second unit search, and among the plurality of communication channels, First A second search in which the unit search is performed under a condition different from that of the first search step for each unmatched channel determined that the first identification information group and the second identification information group do not match in the disconnection step And a process.

また、無線通信装置は、複数の通信チャネルの中から任意の通信チャネルを指定してデータの送受信を行う無線通信部と、制御部と、記憶部と、表示部と、を備え、前記制御部は、外部通信機器の識別情報を要求する要求信号を、前記無線通信部に1回送信させ、前記要求信号の送信時から所定の受信時間内に前記無線通信部が受信した前記外部通信機器の識別情報を識別情報群として前記記憶部に記憶させる単位検索を、前記通信チャネルごとに、2回ずつ行う第1検索処理と、1回目の前記単位検索により前記記憶部に記憶された1回目の識別情報群と2回目の前記単位検索により前記記憶部に記憶された2回目の識別情報群とが一致するか否かを、前記通信チャネルごとに判断する第1判断処理と、複数の前記通信チャネルの内、前記第1判断処理で前記1回目の識別情報群と前記2回目の識別情報群とが一致すると判断された一致チャネルに対して、当該一致チャネルで前記記憶部に記憶された前記識別情報群に含まれる識別情報の識別名を前記表示部に表示させる第1表示処理と、複数の前記通信チャネルの内、前記第1判断処理で前記1回目の識別情報群と前記2回目の識別情報群とが一致しないと判断された不一致チャネルごとに、前記第1検索処理と異なる条件の下で前記単位検索を行う第2検索処理と、前記第1表示処理後、前記第2検索処理における前記単位検索により前記記憶部に記憶された前記不一致チャネルごとの識別情報群に含まれる識別情報の識別名を前記表示部に表示させる第2表示処理と、を実行する。   The wireless communication apparatus includes a wireless communication unit that transmits and receives data by designating an arbitrary communication channel from among a plurality of communication channels, a control unit, a storage unit, and a display unit, and the control unit Transmits a request signal for requesting identification information of an external communication device to the wireless communication unit once, and the external communication device received by the wireless communication unit within a predetermined reception time from the time of transmission of the request signal. A unit search for storing identification information as an identification information group in the storage unit twice for each communication channel and a first search stored in the storage unit by the first unit search. A first determination process for determining, for each communication channel, whether or not the identification information group matches the second identification information group stored in the storage unit by the second unit search; Of the channels Included in the identification information group stored in the storage unit in the coincidence channel with respect to the coincidence channel determined to match the first identification information group and the second identification information group in one determination process The first display process for displaying the identification name of the identification information on the display unit, and among the plurality of communication channels, the first identification information group and the second identification information group match in the first determination process A second search process for performing the unit search under a condition different from that of the first search process for each unmatched channel determined not to be performed, and the unit search in the second search process after the first display process. And a second display process for displaying the identification name of the identification information included in the identification information group for each unmatched channel stored in the storage unit on the display unit.

本明細書によって開示される技術は、種々の形態で実現することが可能である。例えば、識別情報の検索方法および無線通信装置、それらの方法または装置の機能を実現するためのコンピュータプログラム、そのコンピュータプログラムを記録した一時的でない記録媒体等の形態で実現することが可能である。   The technology disclosed by this specification can be implemented in various forms. For example, the present invention can be realized in the form of an identification information searching method and a wireless communication device, a computer program for realizing the function of the method or device, a non-temporary recording medium on which the computer program is recorded, and the like.

一実施形態のプリンタ10の電気的構成を示すブロック図1 is a block diagram illustrating an electrical configuration of a printer 10 according to an embodiment. プリンタ10とアクセスポイントAPと外部無線装置Wとを示す図The figure which shows the printer 10, access point AP, and the external wireless apparatus W 制御処理を示すフローチャートFlow chart showing control processing SSID検索処理を示すフローチャートFlow chart showing SSID search processing 第1検索処理を示すフローチャートFlow chart showing first search process 条件処理を示すフローチャートFlow chart showing condition processing 第2検索処理を示すフローチャートFlow chart showing second search process 時間アップ検索処理を示すフローチャートFlow chart showing time-up search processing 回数アップ検索処理を示すフローチャートFlow chart showing number-up search processing 送信強度アップ検索処理を示すフローチャートFlow chart showing transmission strength increase search processing チャネル1の第1SSID群と第2SSID群との関係を示す説明図Explanatory drawing which shows the relationship between the 1st SSID group of channel 1, and the 2nd SSID group チャネル5の第1SSID群〜第3SSID群の関係を示す説明図Explanatory drawing which shows the relationship between the 1st SSID group of channel 5-the 3rd SSID group チャネル8の第1SSID群〜第3SSID群の関係を示す説明図Explanatory drawing which shows the relationship between the 1st SSID group of channel 8-the 3rd SSID group 別の実施形態のSSID検索処理を示すフローチャートThe flowchart which shows the SSID search process of another embodiment

一の実施形態について図1〜図11を参照しつつ説明する。   One embodiment will be described with reference to FIGS.

図1には、プリンタ10の電気的構成を示すブロック図が示されている。図2には、プリンタ10と、複数のアクセスポイントAP(図2にはAP1〜AP3のみ図示)と、複数の外部無線装置W(図2にはW1〜W3のみ図示)とが例示されている。プリンタ10は、無線通信装置の一例であり、アクセスポイントAPと外部無線装置Wとは、無線通信機能を有する外部通信機器の一例である。プリンタ10は、制御部100と、無線通信インターフェース200と、ROM300と、RAM400と、操作部500と、表示部600と、印刷部700とを備える。無線通信インターフェース200は、無線通信部の一例であり、RAM400は、記憶部の一例である。   FIG. 1 is a block diagram showing an electrical configuration of the printer 10. 2 illustrates a printer 10, a plurality of access points AP (only AP1 to AP3 are shown in FIG. 2), and a plurality of external wireless devices W (only W1 to W3 are shown in FIG. 2). . The printer 10 is an example of a wireless communication device, and the access point AP and the external wireless device W are examples of an external communication device having a wireless communication function. The printer 10 includes a control unit 100, a wireless communication interface 200, a ROM 300, a RAM 400, an operation unit 500, a display unit 600, and a printing unit 700. The wireless communication interface 200 is an example of a wireless communication unit, and the RAM 400 is an example of a storage unit.

制御部100は、CPU110を有するASIC(Application Specific Integrated Circuit)で構成されている。ROM300には、プリンタ10を制御するための制御プログラムや、各種設定、初期値等が記憶されている。RAM400は、CPU110が各種のプログラムを実行する際の作業領域や、データの一時的な記憶領域としても利用される。CPU110は、ROM300から読み出した制御プログラムや図示および詳細な説明を省略する各種センサから送られる信号に従って、プリンタ10の各構成要素を制御する。   The control unit 100 is configured by an ASIC (Application Specific Integrated Circuit) having a CPU 110. The ROM 300 stores a control program for controlling the printer 10, various settings, initial values, and the like. The RAM 400 is also used as a work area when the CPU 110 executes various programs and a temporary storage area for data. The CPU 110 controls each component of the printer 10 in accordance with a control program read from the ROM 300 and signals sent from various sensors whose illustration and detailed description are omitted.

無線通信インターフェース200は、例えば図示しない無線LAN用のアンテナを有し、制御部100からの命令により複数の通信チャネルの中から任意の通信チャネルを指定して特定の外部通信機器との間でデータのやり取り(送受信)を行うための装置である。なお、以下の説明では、無線通信インターフェース200には、所定の周波数帯域(例えば2.4GHz帯)に割り当てられた13つの通信チャネルが設けられており、無線通信インターフェース200は、13つの通信チャネルの中から任意の1つの通信チャネルを指定して外部通信機器とデータのやり取り(無線通信)を行うことが可能であるものとする。なお、無線通信インターフェース200で採用されている無線通信の通信規格は、例えば、IEEE802.11b,IEEE802.11a,IEEE802.11gなどである。   The wireless communication interface 200 has a wireless LAN antenna (not shown), for example, and designates an arbitrary communication channel from among a plurality of communication channels according to a command from the control unit 100 to exchange data with a specific external communication device. Is a device for performing exchange (transmission / reception). In the following description, the wireless communication interface 200 is provided with 13 communication channels assigned to a predetermined frequency band (for example, 2.4 GHz band), and the wireless communication interface 200 includes 13 communication channels. It is assumed that it is possible to exchange data (wireless communication) with an external communication device by designating any one communication channel from among them. Note that the communication standard of wireless communication adopted in the wireless communication interface 200 is, for example, IEEE802.11b, IEEE802.11a, IEEE802.11g, or the like.

また、無線通信インターフェース200は、インフラストラクチャモードとアドホックモードとを切り替えて実行する構成である。図2(A)に示すように、無線通信インターフェース200は、インフラストラクチャモードを実行することにより、複数のアクセスポイントAP(同図ではAP1〜AP3のみ図示)の中から選択された1つのアクセスポイントAP1を経由して、パーソナルコンピュータPとデータのやり取りを行うことができる。また、図2(B)に示すように、無線通信インターフェース200は、アドホックモードを実行することにより、アクセスポイントAPを経由せず、複数の外部無線装置W(同図ではW1〜W3のみ図示)の中から選択された1つの外部の外部無線装置W1とデータのやり取りを行うことができる。さらに、無線通信インターフェース200は、無線通信を行う際の電波の強度を変更することができる。   The wireless communication interface 200 is configured to execute switching between the infrastructure mode and the ad hoc mode. As shown in FIG. 2A, the wireless communication interface 200 executes one of the access points selected from a plurality of access points AP (only AP1 to AP3 are shown in the figure) by executing the infrastructure mode. Data can be exchanged with the personal computer P via the AP1. Also, as shown in FIG. 2B, the wireless communication interface 200 performs a plurality of external wireless devices W (only W1 to W3 are shown in the figure) without executing the access point AP by executing the ad hoc mode. It is possible to exchange data with one external external wireless device W1 selected from the above. Further, the wireless communication interface 200 can change the intensity of radio waves when performing wireless communication.

操作部500は、ユーザによる操作を受け付ける各種のボタンを有する。表示部600は、例えば液晶ディスプレイにより構成されており、各種情報を表示する。印刷部700は、CPU110の制御によって、無線通信インターフェース200により受信した画像データを用いて図示しないシートに画像を形成する。   The operation unit 500 includes various buttons that accept user operations. The display unit 600 is configured by a liquid crystal display, for example, and displays various types of information. The printing unit 700 forms an image on a sheet (not shown) using the image data received by the wireless communication interface 200 under the control of the CPU 110.

プリンタ10の電源がオンされると、CPU110は、図3に示す制御処理を実行する。CPU110は、例えば操作部500が所定時間内に検索指示を受け付けたか否かを判断し(S1)、検索指示を受け付けたと判断した場合(S1:YES)、図4に示すSSID検索処理を実行する(S2)。なお、以下、インフラストラクチャモードに限定して説明するが、アドホックモードについて同様の処理により、接続可能な外部無線装置Wの識別情報を受信することができる。   When the printer 10 is turned on, the CPU 110 executes a control process shown in FIG. For example, the CPU 110 determines whether or not the operation unit 500 has received a search instruction within a predetermined time (S1). If the CPU 110 determines that the search instruction has been received (S1: YES), the CPU 110 executes the SSID search process shown in FIG. (S2). In the following description, the description is limited to the infrastructure mode, but the identification information of the connectable external wireless device W can be received by the same processing in the ad hoc mode.

SSID検索処理は、不特定多数のアクセスポイントAPの中から、プリンタ10と接続可能なアクセスポイントAPを検索し、その検索された複数のアクセスポイントAPのSSIDを、ユーザが選択する接続先の候補として、操作部500に表示させる処理である。SSIDは、外部通信機器の識別情報の一例である。SSID検索処理では、CPU110は、まず、図5に示す第1検索処理を実行する(S11)。   In the SSID search process, an access point AP that can be connected to the printer 10 is searched from an unspecified number of access points AP, and a connection destination candidate from which the user selects SSIDs of the searched access points AP. As shown in FIG. The SSID is an example of identification information of an external communication device. In the SSID search process, the CPU 110 first executes a first search process shown in FIG. 5 (S11).

第1検索処理は、通信チャネルごとに、次述する単位検索を2回ずつ行う処理である。CPU110は、チャネル番号Nをゼロに初期化する(S101)。チャネル番号Nは、上述した13つの通信チャネルのそれぞれに割り振られた「1〜13」の連続する数字であるものとする。次に、CPU110は、チャネル番号Nに1を加算し(S102)、不一致フラグM(N)をゼロ(オフ)にする(S103)。なお、不一致フラグM(N)がゼロであることは、後述する第1SSID群(N)と第2SSID群(N)とが一致していることを意味し、不一致フラグM(N)が1以上であることは、第1SSID群(N)と第2SSID群(N)とが一致していないことを意味する。   The first search process is a process of performing the unit search described below twice for each communication channel. The CPU 110 initializes the channel number N to zero (S101). The channel number N is assumed to be a consecutive number “1-13” assigned to each of the 13 communication channels described above. Next, the CPU 110 adds 1 to the channel number N (S102), and sets the mismatch flag M (N) to zero (off) (S103). Note that the fact that the mismatch flag M (N) is zero means that a first SSID group (N) and a second SSID group (N) described later match, and the mismatch flag M (N) is 1 or more. This means that the first SSID group (N) and the second SSID group (N) do not match.

次に、CPU110は、N番目の通信チャネルを指定して、1回目の単位検索(S104〜S106)を行う。詳細には、CPU110は、不特定多数の外部通信機器のSSIDを要求する要求信号(プローブ要求)を、無線通信インターフェース200に第1電波強度で1回送信させる(S104)。各アクセスポイントAPは、プリンタ10との接続が可能であれば、要求信号に対する応答信号(プローブ応答)をプリンタ10に送信する。CPU110は、応答信号を受信した場合には、その応答信号に含まれるSSIDを、N番目の通信チャネルに対する第1SSID群(N)としてRAM400に記憶させる(S105)。第1SSID群(N)は、識別情報群の一例である。   Next, the CPU 110 designates the Nth communication channel and performs a first unit search (S104 to S106). Specifically, the CPU 110 causes the wireless communication interface 200 to transmit a request signal (probe request) for requesting SSIDs of an unspecified number of external communication devices once with the first radio wave intensity (S104). Each access point AP transmits a response signal (probe response) to the request signal to the printer 10 if the connection with the printer 10 is possible. When the CPU 110 receives the response signal, the CPU 110 stores the SSID included in the response signal in the RAM 400 as the first SSID group (N) for the Nth communication channel (S105). The first SSID group (N) is an example of an identification information group.

CPU110は、要求信号の送信時から第1受信時間(例えば50μs)経過したか否かを判断し(S106)、第1受信時間を経過していないと判断した場合(S106:NO)、S105の処理を継続し、第1受信時間を経過したと判断した場合(S106:YES)、S105の処理を終了する。ここで、S105の処理で第1SSID群(N)として記憶されるSSIDの数は、プリンタ10の周囲の通信環境や接続可能な外部通信機器の数などによって増減するため、1つの場合もあれば複数の場合もあり、さらにはゼロの場合もある。   The CPU 110 determines whether or not a first reception time (for example, 50 μs) has elapsed since the transmission of the request signal (S106). When determining that the first reception time has not elapsed (S106: NO), the CPU 110 If it is determined that the first reception time has elapsed (S106: YES), the process of S105 is terminated. Here, the number of SSIDs stored as the first SSID group (N) in the process of S105 increases or decreases depending on the communication environment around the printer 10, the number of connectable external communication devices, and the like. There may be multiple, and even zero.

次に、CPU110は、N番目の通信チャネルを指定して、上記の1回目の単位検索と同じ検索条件で、2回目の単位検索(S107〜S109)を行う。詳細には、CPU110は、上記要求信号を、無線通信インターフェース200に第1電波強度で1回送信させる(S107)。CPU110は、要求信号に対応する応答信号を受信した場合には、その応答信号に含まれるSSIDを、N番目の通信チャネルに対する第2SSID群(N)としてRAM400に記憶させる(S108)。第2SSID群(N)は、識別情報群の一例である。   Next, the CPU 110 designates the Nth communication channel and performs a second unit search (S107 to S109) under the same search conditions as the first unit search. Specifically, the CPU 110 causes the wireless communication interface 200 to transmit the request signal once with the first radio wave intensity (S107). When the CPU 110 receives a response signal corresponding to the request signal, the CPU 110 stores the SSID included in the response signal in the RAM 400 as the second SSID group (N) for the Nth communication channel (S108). The second SSID group (N) is an example of an identification information group.

CPU110は、要求信号の送信時から第1受信時間経過したか否かを判断し(S109)、第1受信時間を経過していないと判断した場合(S109:NO)、S108の処理を継続し、第1受信時間を経過したと判断した場合(S109:YES)、S108の処理を終了する。ここで、S108の処理で第2SSID群(N)として記憶されるSSIDの数も、プリンタ10の周囲の通信環境や接続可能な外部通信機器の数などによって増減するため、1つの場合もあれば複数の場合もあり、さらにはゼロの場合もある。   The CPU 110 determines whether or not the first reception time has elapsed since the transmission of the request signal (S109). If the CPU 110 determines that the first reception time has not elapsed (S109: NO), the processing of S108 is continued. If it is determined that the first reception time has elapsed (S109: YES), the process of S108 is terminated. Here, the number of SSIDs stored as the second SSID group (N) in the process of S108 also increases or decreases depending on the communication environment around the printer 10, the number of connectable external communication devices, and the like. There may be multiple, and even zero.

CPU110は、2回目の単位検索を行った後、N番目の通信チャネルについて、第1SSID群(N)に含まれる全てのSSIDと、第2SSID群(N)に含まれる全てのSSIDとが一致するか否かを判断する(S110)。このS110の処理は、第1判断処理の一例である。なお、第1SSID群(N)と第2SSID群(N)とが一致することには、第1SSID群(N)に含まれるSSIDの数と、第2SSID群(N)に含まれるSSIDの数とがいずれもゼロである場合は含まれない。   After performing the second unit search, the CPU 110 matches all SSIDs included in the first SSID group (N) and all SSIDs included in the second SSID group (N) for the Nth communication channel. It is determined whether or not (S110). The process of S110 is an example of a first determination process. Note that the first SSID group (N) and the second SSID group (N) coincide with each other in that the number of SSIDs included in the first SSID group (N) and the number of SSIDs included in the second SSID group (N) Not included if both are zero.

CPU110は、第1SSID群(N)と第2SSID群(N)とが一致すると判断した場合(S110:YES)、第1SSID群(N)に含まれるSSIDを、表示用のSSID群(N)としてRAM400に記憶させる(S111)。なお、このとき、第1SSID群(N)と第2SSID群(N)とは一致しているため、S111の処理では、CPU110は、第2SSID群(N)に含まれるSSIDを、SSID群(N)としてRAM400に記憶させてもよい。また、第1SSID群(N)と第2SSID群(N)とが一致する場合(S110:YES)、N番目の通信チャネルの不一致フラグM(N)はゼロのままであり、N番目の通信チャネルは一致チャネルの一例である。   When the CPU 110 determines that the first SSID group (N) and the second SSID group (N) match (S110: YES), the SSID included in the first SSID group (N) is used as the SSID group (N) for display. It is stored in the RAM 400 (S111). At this time, since the first SSID group (N) and the second SSID group (N) match, in the process of S111, the CPU 110 converts the SSID included in the second SSID group (N) into the SSID group (N ) May be stored in the RAM 400. When the first SSID group (N) and the second SSID group (N) match (S110: YES), the Nth communication channel mismatch flag M (N) remains zero, and the Nth communication channel. Is an example of a matching channel.

一方、CPU110は、第1SSID群(N)と第2SSID群(N)とが一致しないと判断した場合(S110:NO)、N番目の通信チャネルについて、図6に示す条件処理を実行する(S113)。なお、このとき、N番目の通信チャネルは不一致チャネルの一例である。図6にその詳細を説明する条件処理では、CPU110は、第1SSID群(N)に含まれるSSIDの数、および、第2SSID群(N)に含まれるSSIDの数の少なくとも一方のSSIDの数(以下、単に、SSIDの受信数ということがある)が、上限数に達したか否かを判断する(S210)。このS201の処理は、第2判断処理の一例である。上限数は、無線通信インターフェース200が、単位検索の処理時間内に受信可能なSSIDの最大数であり、以下の説明では5つとする。   On the other hand, if the CPU 110 determines that the first SSID group (N) and the second SSID group (N) do not match (S110: NO), the CPU 110 executes the condition process shown in FIG. 6 for the Nth communication channel (S113). ). At this time, the Nth communication channel is an example of a mismatch channel. In the condition processing whose details are illustrated in FIG. 6, the CPU 110 determines the number of SSIDs at least one of the number of SSIDs included in the first SSID group (N) and the number of SSIDs included in the second SSID group (N) ( Hereinafter, it is determined whether or not the number of received SSIDs has reached the upper limit (S210). The process of S201 is an example of a second determination process. The upper limit number is the maximum number of SSIDs that the wireless communication interface 200 can receive within the unit search processing time, and is assumed to be five in the following description.

ここで、SSIDの受信数が上限数に達している場合、N番目の通信チャネルについて、第1検索処理の上記第1受信時間内では受信しきれない数(つまり6つ以上)のアクセスポイントAPが存在すると判断される。そこで、CPU110は、SSIDの受信数が上限数に達していると判断した場合(S201:YES)、後述する時間アップ検索処理(図7のS305)を実行するために、不一致フラグM(N)を1にセットし(S202)、本条件処理を終了し、図5のS114に進む。   Here, when the number of received SSIDs reaches the upper limit, the number of access points AP that cannot be received within the first reception time of the first search process (that is, six or more) for the Nth communication channel. Is determined to exist. Therefore, when the CPU 110 determines that the number of SSIDs received has reached the upper limit (S201: YES), the CPU 110 does not match the flag M (N) in order to execute a time-up search process (S305 in FIG. 7) described later. Is set to 1 (S202), this condition processing is terminated, and the process proceeds to S114 in FIG.

CPU110は、第1SSID群(N)に含まれるSSIDの数、および、第2SSID群(N)に含まれるSSIDの数のいずれも上限数に達していないと判断した場合(S201:NO)、第1SSID群(N)に含まれるSSIDの数、および、第2SSID群(N)に含まれるSSIDの数のいずれか一方のSSIDの数(以下、単に、SSIDの受信数ということがある)がゼロであるか否かを判断する(S203)。このS203の処理は、第3判断処理の一例である。ここで、SSIDの受信数がゼロである場合、プリンタ10の周囲の通信環境の一時的な悪化により第1検索処理における単位検索が正常に実行されなかった可能性が高い。そこで、CPU110は、SSIDの検索数がゼロであると判断した場合(S203:YES)、後述する回数アップ検索処理(図7のS307)を実行するために、不一致フラグM(N)を2にセットし(S204)、本条件処理を終了し、図5のS114に進む。   When CPU 110 determines that neither the number of SSIDs included in the first SSID group (N) nor the number of SSIDs included in the second SSID group (N) has reached the upper limit number (S201: NO), The number of SSIDs included in one SSID group (N) and the number of SSIDs included in the second SSID group (N) (hereinafter, simply referred to as the number of SSIDs received) is zero. It is determined whether or not (S203). The process of S203 is an example of a third determination process. Here, when the number of received SSIDs is zero, there is a high possibility that the unit search in the first search process has not been executed normally due to temporary deterioration of the communication environment around the printer 10. Therefore, if the CPU 110 determines that the number of SSID searches is zero (S203: YES), the CPU 110 sets the mismatch flag M (N) to 2 in order to execute a number-up search process (S307 in FIG. 7) described later. Set (S204), this condition processing ends, and the process proceeds to S114 of FIG.

CPU110は、第1SSID群(N)に含まれるSSIDの数、および、第2SSID群(N)に含まれるSSIDの数のいずれもゼロでない、または、いずれもゼロであると判断した場合(S203:NO)、後述する送信強度アップ検索処理(図7のS308)を実行するために、不一致フラグM(N)を3にセットし(S205)、本条件処理を終了し、図5のS114に進む。S114では、CPU110は、第1SSID群(N)に含まれるSSID、および、第2SSID群(N)に含まれるSSIDとの和集合を、SSID群(N)としてRAM400に記憶させる。これにより、後述するS12において、第1SSID群(N)および第2SSID群(N)に含まれる全てのSSIDが表示部600に表示される。   When CPU 110 determines that neither the number of SSIDs included in the first SSID group (N) and the number of SSIDs included in the second SSID group (N) are non-zero, or both are zero (S203: NO), in order to execute a transmission strength increase search process (S308 in FIG. 7) to be described later, the mismatch flag M (N) is set to 3 (S205), this condition process is terminated, and the process proceeds to S114 in FIG. . In S114, the CPU 110 causes the RAM 400 to store the union of the SSID included in the first SSID group (N) and the SSID included in the second SSID group (N) as the SSID group (N). Thereby, in S12 described later, all SSIDs included in the first SSID group (N) and the second SSID group (N) are displayed on the display unit 600.

CPU110は、S111またはS114の処理の実行後、現在のチャネル番号Nが全チャネル数に達したか否かを判断する(S112)。CPU110は、現在のチャネル番号Nが全チャネル数に達していないと判断した場合(S112:NO)、上記2回の単位検索を行っていない通信チャネルがあることを意味するため、S102に戻り、次のチャネル番号N+1の通信チャネルについて第1検索処理を行う。一方、CPU110は、現在のチャネル番号Nが全チャネル数に達していると判断した場合(S112:YES)、全ての通信チャネルに対して上記2回の単位検索を行ったことを意味するため、本第1検索処理を終了し、図4のS12に進む。   After executing the process of S111 or S114, the CPU 110 determines whether or not the current channel number N has reached the total number of channels (S112). When the CPU 110 determines that the current channel number N has not reached the total number of channels (S112: NO), it means that there is a communication channel that has not been subjected to the unit search twice, so the process returns to S102, The first search process is performed for the communication channel of the next channel number N + 1. On the other hand, if the CPU 110 determines that the current channel number N has reached the total number of channels (S112: YES), it means that the unit search has been performed twice for all communication channels. The first search process is terminated, and the process proceeds to S12 in FIG.

図4のS12では、CPU110は、通信チャネルごとに、SSID群(N)に含まれるSSIDを表示部600に表示させる。S12の処理は第1表示処理の一例である。これにより、プリンタ10と通信可能なアクセスポイントAPのSSIDが表示部600に一覧表示されるため、ユーザはその一覧表示されたSSID群の中から任意のSSIDを選択することが可能な状態になる。CPU110は、SSIDを表示部600に表示させた状態で、ユーザによるSSIDの選択指示を操作部500が受け付けたか否かを判断する(S13)。   In S12 of FIG. 4, CPU 110 causes display unit 600 to display the SSID included in the SSID group (N) for each communication channel. The process of S12 is an example of a first display process. As a result, the SSIDs of the access points AP that can communicate with the printer 10 are displayed in a list on the display unit 600, so that the user can select an arbitrary SSID from the displayed SSID group. . The CPU 110 determines whether or not the operation unit 500 has received an SSID selection instruction from the user in a state where the SSID is displayed on the display unit 600 (S13).

CPU110は、SSIDの選択指示を受け付けたと判断した場合(S13:YES)、次述する第2検索処理を実行せずに、その選択指示で選択されたSSIDのアクセスポイントAPと通信接続を確立するための接続処理を行う(S14)。これにより、プリンタ10は、無線通信インターフェース200により、ユーザが選択したアクセスポイントAPとの間でデータのやり取りが可能になる。CPU110は、接続処理の実行後に、本SSID検索処理を終了し、図3の(S3)に進む。   If the CPU 110 determines that an SSID selection instruction has been received (S13: YES), the CPU 110 establishes a communication connection with the access point AP of the SSID selected by the selection instruction without executing the second search process described below. Connection processing is performed (S14). Accordingly, the printer 10 can exchange data with the access point AP selected by the user through the wireless communication interface 200. CPU110 complete | finishes this SSID search process after execution of a connection process, and progresses to (S3) of FIG.

CPU110は、SSIDの選択指示を受け付けないと判断した場合(S13:NO)、ユーザによるSSIDの再検索指示を操作部500が受け付けたか否かを判断する(S15)。CPU110は、SSIDの再検索指示を受け付けていないと判断した場合(S15:NO)、S13に戻り、SSIDの再検索指示を受け付けたと判断した場合(S15:YES)、図7に示す第2検索処理を実行する(S16)。   When CPU 110 determines not to accept an SSID selection instruction (S13: NO), CPU 110 determines whether operation unit 500 has received an SSID re-search instruction from the user (S15). When the CPU 110 determines that the SSID re-search instruction has not been received (S15: NO), the CPU 110 returns to S13, and when it is determined that the SSID re-search instruction has been received (S15: YES), the second search illustrated in FIG. Processing is executed (S16).

第2検索処理は、第1検索処理で得られた不一致チャネルごとに、第1検索処理と異なる条件(本実施形態では第1検索処理より精度の高い条件)で単位検索を行う処理である。CPU110は、チャネル番号Nをゼロに初期化する(S301)。次に、CPU110は、チャネル番号Nに1を加算し(S302)、N番目の通信チャネルの不一致フラグM(N)がゼロであるか否か、即ち、N番目の通信チャネルが上記一致チャネルであるか否かを判断する(S303)。CPU110は、N番目の通信チャネルが一致チャネルであると判断した場合(S303:YES)、次述する各検索処理(S305,S307,S308)を実行せずに、S309に進む。   The second search process is a process of performing a unit search for each unmatched channel obtained in the first search process under conditions different from those in the first search process (in this embodiment, a condition with higher accuracy than the first search process). The CPU 110 initializes the channel number N to zero (S301). Next, the CPU 110 adds 1 to the channel number N (S302), and whether or not the mismatch flag M (N) of the Nth communication channel is zero, that is, the Nth communication channel is the above match channel. It is determined whether or not there is (S303). If the CPU 110 determines that the Nth communication channel is a coincidence channel (S303: YES), the CPU 110 proceeds to S309 without executing the following search processes (S305, S307, S308).

CPU110は、N番目の通信チャネルが一致チャネルでない、即ち、上記不一致チャネルであると判断した場合(S303:NO)、N番目の通信チャネルの不一致フラグM(N)が1であるか否か、即ち、N番目の通信チャネルにおいて、第1SSID群(N)および第2SSID群(N)の少なくも一方のSSIDの受信数が上限数に達したか否かを判断する(S304)。   If the CPU 110 determines that the Nth communication channel is not a coincidence channel, that is, the disagreement channel (S303: NO), whether or not the Nth communication channel mismatch flag M (N) is 1, That is, it is determined whether the number of received SSIDs of at least one of the first SSID group (N) and the second SSID group (N) has reached the upper limit number in the Nth communication channel (S304).

CPU110は、第1SSID群(N)および第2SSID群(N)の少なくも一方のSSIDの受信数が上限数に達したと判断した場合(S304:YES)、図8に示す時間アップ検索処理を実行する(S305)。この時間アップ検索処理は、SSIDの受信数が上限数に達した不一致チャネルに対して、第1検索処理のS106、S109よりも受信時間を長くして単位検索(S401〜S403)を行う処理である。詳細には、CPU110は、要求信号を、無線通信インターフェース200に第1電波強度で1回送信させ(S401)、応答信号を受信した場合には、その応答信号に含まれるSSIDを、N番目の通信チャネルに対する第3SSID群(N)としてRAM400に記憶させる(S402)。第3SSID群(N)は、識別情報群の一例である。   When the CPU 110 determines that the number of received SSIDs of at least one of the first SSID group (N) and the second SSID group (N) has reached the upper limit number (S304: YES), the time-up search process shown in FIG. 8 is performed. Execute (S305). This time-up search process is a process for performing a unit search (S401 to S403) with a reception time longer than that of S106 and S109 of the first search process for mismatched channels whose SSID reception count has reached the upper limit. is there. Specifically, the CPU 110 causes the wireless communication interface 200 to transmit the request signal once with the first radio wave intensity (S401), and when the response signal is received, the SSID included in the response signal is changed to the Nth. The third SSID group (N) for the communication channel is stored in the RAM 400 (S402). The third SSID group (N) is an example of an identification information group.

CPU110は、要求信号の送信時から、第2受信時間経過したか否かを判断する(S403)。ここで、第2受信時間は、第1検索処理の第1受信時間より長い時間(例えば100μs)である。このため、この第2受信時間内に受信可能なSSIDの上限数も、第1検索処理よりも多くなる。つまり、第2検索処理では、第1検索処理より精度の高い条件の下で単位検索が行われる。このため、第1検索処理では受信しきれなかった数のSSIDを受信することが可能になる。以下、第2受信時間におけるSSIDの上限数は10つであるものとする。CPU110は、第2受信時間を経過していないと判断した場合(S403:NO)、S402の処理を継続し、第2受信時間を経過したと判断した場合(S403:YES)、本時間アップ検索処理を終了し、図7のS309に進む。   CPU 110 determines whether or not the second reception time has elapsed since the transmission of the request signal (S403). Here, the second reception time is a time (for example, 100 μs) longer than the first reception time of the first search process. For this reason, the upper limit number of SSIDs that can be received within the second reception time is also larger than that in the first search process. That is, in the second search process, a unit search is performed under conditions that are more accurate than the first search process. For this reason, it becomes possible to receive the number of SSIDs that could not be received in the first search process. Hereinafter, it is assumed that the upper limit number of SSIDs in the second reception time is ten. When CPU 110 determines that the second reception time has not elapsed (S403: NO), it continues the process of S402, and when it is determined that the second reception time has elapsed (S403: YES), this time up search The process ends, and the process proceeds to S309 in FIG.

CPU110は、第1SSID群(N)および第2SSID群(N)のいずれのSSIDの受信数も上限数に達していないと判断した場合(S304:NO)、N番目の通信チャネルの不一致フラグM(N)が2であるか否か、即ち、N番目の通信チャネルにおいて、第1SSID群(N)または第2SSID群(N)のSSIDの受信数がゼロであるか否かを判断する(S306)。CPU110は、第1SSID群(N)または第2SSID群(N)のSSIDの受信数がゼロであると判断した場合(S306:YES)、図9に示す回数アップ検索処理を実行する(S307)。この回数アップ検索処理は、SSIDの受信数がゼロであった不一致チャネルに対して、第1検索処理よりも多い回数、即ち、3回以上、単位検索を繰り返し行う処理である。   If the CPU 110 determines that the number of received SSIDs of the first SSID group (N) and the second SSID group (N) has not reached the upper limit number (S304: NO), the Nth communication channel mismatch flag M ( It is determined whether or not N) is 2, that is, whether or not the number of SSIDs received in the first SSID group (N) or the second SSID group (N) is zero in the Nth communication channel (S306). . When the CPU 110 determines that the number of SSIDs received in the first SSID group (N) or the second SSID group (N) is zero (S306: YES), the CPU 110 executes the number-up search process shown in FIG. 9 (S307). This number-up search process is a process in which the unit search is repeatedly performed on the non-matching channel in which the number of SSIDs received is zero, more times than the first search process, that is, three times or more.

詳細には、CPU110は、単位検索の繰り返し回数Lをゼロに初期化し(S501)、繰り返し回数Lに1加算し(S502)、要求信号を、無線通信インターフェース200に第1電波強度で1回送信させ(S503)、応答信号を受信した場合には、その応答信号に含まれるSSIDを、N番目の通信チャネルに対する第3SSID群(N)としてRAM400に記憶させる(S504)。そして、CPU110は、要求信号の送信時から、第1受信時間経過したか否かを判断し(S505)、第1受信時間を経過していないと判断した場合(S505:NO)、S504の処理を継続する。一方、CPU110は、第1受信時間を経過したと判断した場合(S505:YES)、繰り返し回数Lが規定回数に達したか否かを判断する(S506)。規定回数は、3回以上であり、例えば5回である。   Specifically, the CPU 110 initializes the unit search repetition count L to zero (S501), adds 1 to the repetition count L (S502), and transmits the request signal to the wireless communication interface 200 once with the first radio wave intensity. When the response signal is received, the SSID included in the response signal is stored in the RAM 400 as the third SSID group (N) for the Nth communication channel (S504). Then, the CPU 110 determines whether or not the first reception time has elapsed since the transmission of the request signal (S505). If it is determined that the first reception time has not elapsed (S505: NO), the processing of S504 is performed. Continue. On the other hand, when CPU 110 determines that the first reception time has elapsed (S505: YES), CPU 110 determines whether or not the number of repetitions L has reached the specified number (S506). The specified number of times is 3 times or more, for example, 5 times.

CPU110は、繰り返し回数Lが規定回数に達していないと判断した場合(S506:NO)、S502に戻り、SSIDの受信数がゼロであった不一致チャネルに対して、S503〜S505までの単位検索を繰り返し行う。一方、CPU110は、繰り返し回数Lが規定回数に達したと判断した場合(S506:YES)、本回数アップ検索処理を終了し、図7のS309に進む。これにより、SSIDの受信数がゼロであった不一致チャネルに対して、単位検索を、第1検索処理より多い回数だけ繰り返し行われる。つまり、第2検索処理では、第1検索処理より精度の高い条件の下で単位検索が行われる。このため、回数アップ検索処理の実行により、第1検索処理において通信環境の一時的な悪化により受信されなかったSSIDを受信できる可能性が高くなる。   If the CPU 110 determines that the number of repetitions L has not reached the specified number (S506: NO), the CPU 110 returns to S502, and performs a unit search from S503 to S505 for the mismatched channel where the number of SSIDs received is zero. Repeat. On the other hand, if the CPU 110 determines that the number of repetitions L has reached the specified number (S506: YES), the CPU 110 ends the number-up search process and proceeds to S309 in FIG. As a result, the unit search is repeatedly performed more times than the first search process for the non-matching channel in which the number of SSIDs received is zero. That is, in the second search process, a unit search is performed under conditions that are more accurate than the first search process. For this reason, the execution of the number-of-times search process increases the possibility of receiving an SSID that has not been received due to a temporary deterioration of the communication environment in the first search process.

CPU110は、第1SSID群(N)および第2SSID群(N)のいずれもゼロでない、あるいは、いずれもゼロであると判断した場合(S306:NO)、図10に示す送信強度アップ検索処理を実行する(S308)。この送信強度アップ検索処理は、SSIDの受信数が上限数に達しておらず、且つ、ゼロでない等の不一致チャネルに対して、第1検索処理のS104、S107よりも送信する電波の強度を強くして単位検索(S601〜S603)を行う処理である。詳細には、CPU110は、要求信号を、無線通信インターフェース200に第2電波強度で1回送信させ(S601)、応答信号を受信した場合には、その応答信号に含まれるSSIDを、N番目の通信チャネルに対する第3SSID群(N)としてRAM400に記憶させる(S602)。   If the CPU 110 determines that both the first SSID group (N) and the second SSID group (N) are not zero or both are zero (S306: NO), the CPU 110 executes the transmission strength increase search process shown in FIG. (S308). In this transmission strength increase search process, the strength of radio waves transmitted is stronger than S104 and S107 of the first search process for non-matching channels such as the number of received SSIDs not reaching the upper limit and non-zero. The unit search (S601 to S603) is performed. Specifically, the CPU 110 causes the wireless communication interface 200 to transmit the request signal once with the second radio wave intensity (S601), and when the response signal is received, the SSID included in the response signal is changed to the Nth. The third SSID group (N) for the communication channel is stored in the RAM 400 (S602).

ここで、第2電波強度は、第1検索処理の第1電波強度よりも強い強度であり、より広い距離間での無線通信が可能な強度である。つまり、第2検索処理では、第1検索処理より精度の高い条件の下で単位検索が行われる。このため、第1検索処理では受信できなかった遠方のアクセスポイントAP等のSSIDを受信することが可能になる。CPU110は、要求信号の送信時から、第1受信時間経過したか否かを判断し(S603)、第1受信時間を経過していないと判断した場合(S603:NO)、S602の処理を継続し、第1受信時間を経過したと判断した場合(S603:YES)、本送信強度アップ検索処理を終了し、図7のS309に進む。   Here, the second radio wave intensity is higher than the first radio wave intensity of the first search process, and is an intensity capable of wireless communication over a wider distance. That is, in the second search process, a unit search is performed under conditions that are more accurate than the first search process. For this reason, it becomes possible to receive SSIDs of remote access points AP that could not be received in the first search process. The CPU 110 determines whether or not the first reception time has elapsed since the transmission of the request signal (S603). If it is determined that the first reception time has not elapsed (S603: NO), the processing of S602 is continued. If it is determined that the first reception time has elapsed (S603: YES), the transmission strength increase search process is terminated, and the process proceeds to S309 in FIG.

図7のS309では、CPU110は、現在のチャネル番号Nが全チャネル数に達したか否かを判断し、現在のチャネル番号Nが全チャネル数に達していないと判断した場合(S309:NO)、まだ未処理の通信チャネルがあることを意味するため、S302に戻り、次のチャネル番号N+1の通信チャネルについてS303等の判断処理を行う。一方、CPU110は、現在のチャネル番号Nが全チャネル数に達していると判断した場合(S309:YES)、まだ未処理の通信チャネルはないことを意味するため、本第2検索処理を終了し、図4のS17に進む。   In S309 of FIG. 7, the CPU 110 determines whether or not the current channel number N has reached the total number of channels, and determines that the current channel number N has not reached the total number of channels (S309: NO). Since this means that there is still an unprocessed communication channel, the process returns to S302, and determination processing such as S303 is performed for the communication channel of the next channel number N + 1. On the other hand, if the CPU 110 determines that the current channel number N has reached the total number of channels (S309: YES), it means that there is no unprocessed communication channel yet, so the second search process is terminated. The process proceeds to S17 in FIG.

図4のS17では、CPU110は、全チャネルのSSID群に含まれるSSIDと、全チャネルの第3SSID群に含まれるSSIDとに違いがあるか否か、即ち、第2検索処理において、第1検索処理で受信できなかった新たなSSIDを受信したか否かを判断する。CPU110は、新たなSSIDを受信したと判断した場合(S17:YES)、通信チャネルごとに、SSID群(N)に含まれるSSID、および、第3SSID群(N)に含まれるSSIDとの和集合を、最新のSSID群(N)としてRAM400に記憶させ、S12に進む。これにより、第1検索処理で受信されたSSIDに加えて、第2検索処理で新たに受信されたSSIDが表示部600に表示される。このときのS12の処理は、第2表示処理の一例である。   In S17 of FIG. 4, the CPU 110 determines whether or not there is a difference between the SSID included in the SSID group of all channels and the SSID included in the third SSID group of all channels, that is, in the second search process, the first search It is determined whether a new SSID that could not be received in the process has been received. When the CPU 110 determines that a new SSID has been received (S17: YES), the union of the SSID included in the SSID group (N) and the SSID included in the third SSID group (N) for each communication channel Is stored in the RAM 400 as the latest SSID group (N), and the process proceeds to S12. Thereby, in addition to the SSID received in the first search process, the SSID newly received in the second search process is displayed on the display unit 600. The process of S12 at this time is an example of a second display process.

一方、CPU110は、新たなSSIDを受信していないと判断した場合(S17:NO)、S18の処理を実行せずに、S12に進む。このため、表示部600に表示されるSSIDは、第1検索処理の終了時と同じである。   On the other hand, if the CPU 110 determines that a new SSID has not been received (S17: NO), it proceeds to S12 without executing the process of S18. For this reason, the SSID displayed on the display unit 600 is the same as at the end of the first search process.

CPU110は、SSID検索処理を終了すると、ユーザによる印刷命令を操作部500が受け付けたか否かを判断し(図3のS3)、印刷命令を受け付けたと判断した場合(S3:YES)、SSID検索処理で選択されたアクセスポイントAPを介して、印刷データを受信し(S4)、その印刷データを用いて印刷処理を実行し(S5)、本制御処理を終了し、所定時間後に、再度、図3の制御処理を開始する。なお、CPU110は、S1で検索指示を受け付けないと判断した場合(S1:NO)、SSID検索処理を実行せずに、例えば、現在接続されている外部通信機器との接続状態を維持したままS3に進む。   When the CPU 110 finishes the SSID search process, it determines whether or not the operation unit 500 has received a print command from the user (S3 in FIG. 3). If it is determined that the print command has been received (S3: YES), the SSID search process Print data is received via the access point AP selected in (S4), print processing is executed using the print data (S5), this control process is terminated, and after a predetermined time, again in FIG. The control process is started. Note that if the CPU 110 determines that the search instruction is not accepted in S1 (S1: NO), the CPU 110 does not execute the SSID search process, for example, while maintaining the connection state with the currently connected external communication device. Proceed to

図11A〜図11Cには、第1,5,8番目のチャネルについて第1SSID群〜第3SSID群の関係が示されている。図11Aに示すように、第1検索処理を実行した結果、1番目の通信チャネルについて、第1SSID群(1)に、I01〜I03の3つのアクセスポイントのSSIDが含まれており、第2SSID群(1)に、I01〜I03の3つのアクセスポイントのSSIDが含まれていたとする。このように、第1SSID群(1)と第2SSID群(1)とが一致する場合、第1検索処理において、接続可能なアクセスポイントAPのSSIDを正常に受信できたことが予想される。   11A to 11C show the relationship between the first SSID group to the third SSID group for the first, fifth, and eighth channels. As shown in FIG. 11A, as a result of executing the first search process, the SSIDs of three access points I01 to I03 are included in the first SSID group (1) for the first communication channel, and the second SSID group Assume that (1) includes SSIDs of three access points I01 to I03. Thus, when the first SSID group (1) and the second SSID group (1) match, it is expected that the SSID of the connectable access point AP could be normally received in the first search process.

このため、1番目の通信チャネルについて、図5のS110では、第1SSID群(1)と第2SSID群(1)とが一致すると判断され(S110:YES)、I01〜I03が表示部600に表示される(S111,図4のS12)。また、図7のS303において、1番目の通信チャネルは一致チャネルであると判断されるため(S303:YES)、第2検索処理において1番目の通信チャネルに対する単位検索が行われない。これにより、第2検索処理において、一致チャネルが対象外とされる分だけ、単位検索が無駄に続行されることを抑制することができる。   Therefore, for the first communication channel, in S110 of FIG. 5, it is determined that the first SSID group (1) and the second SSID group (1) match (S110: YES), and I01 to I03 are displayed on the display unit 600. (S111, S12 in FIG. 4). Further, in S303 of FIG. 7, since it is determined that the first communication channel is a coincidence channel (S303: YES), the unit search for the first communication channel is not performed in the second search process. As a result, in the second search process, it is possible to prevent the unit search from being continued in vain as much as the matching channel is excluded.

また、図11Bに示すように、第1検索処理を実行した結果、5番目の通信チャネルについて、第1SSID群(5)に、I21〜I24の4つのアクセスポイントのSSIDが含まれており、第2SSID群(5)に、I21〜I24,I27の5つのアクセスポイントのSSIDが含まれていたとする。このように、第1SSID群(5)と第2SSID群(5)とが不一致であり、かつ、第1SSID群(5)が上限数に達している場合、第1検索処理の第1受信時間内では受信しきれなかった数のアクセスポイントAPが存在する可能性が高い。   As shown in FIG. 11B, as a result of executing the first search process, the SSIDs of four access points I21 to I24 are included in the first SSID group (5) for the fifth communication channel. It is assumed that SSIDs of five access points I21 to I24 and I27 are included in the 2SSID group (5). Thus, when the first SSID group (5) and the second SSID group (5) are inconsistent and the first SSID group (5) has reached the upper limit number, the first search processing within the first reception time. Then, there is a high possibility that there are a number of access points AP that could not be received.

このため、5番目の通信チャネルについて、図5のS110では、第1SSID群(5)と第2SSID群(5)とが不一致であると判断され(S110:NO)、図6の条件処理では、SSIDの受信数が上限数に達したと判断され(S201:YES)、図7の第2検索処理では、時間アップ検索処理(S305)が実行される。その結果、図11Bに示すように、新たにI25,I26、I28が受信され、第3SSID群(5)に含まれている。これにより、SSIDの受信時間の長短に起因して第1検索処理では検索されないアクセスポイントAPが存在する可能性が高い不一致チャネルに対して、SSIDの検索漏れを抑制することができる。   Therefore, for the fifth communication channel, in S110 of FIG. 5, it is determined that the first SSID group (5) and the second SSID group (5) do not match (S110: NO), and in the condition processing of FIG. It is determined that the number of SSIDs received has reached the upper limit (S201: YES), and in the second search process of FIG. 7, a time-up search process (S305) is executed. As a result, as shown in FIG. 11B, I25, I26, and I28 are newly received and included in the third SSID group (5). As a result, it is possible to suppress the SSID search omission for mismatched channels in which there is a high possibility that there is an access point AP that is not searched in the first search process due to the length of the SSID reception time.

また、図11Cに示すように、第1検索処理を実行した結果、8番目の通信チャネルについて、第1SSID群(8)にはSSIDが含まれておらず、第2SSID群(8)に、I31〜I33の3つのアクセスポイントのSSIDが含まれていたとする。このように、一方の第1SSID群(5)がゼロであり、他方の第2SSID群(5)が上限数に達していない場合、通信環境の一時的な悪化により第1検索処理における単位検索の繰り返し回数では、アクセスポイントAPのSSIDを十分に受信しきれない可能性が高い。   As shown in FIG. 11C, as a result of executing the first search process, the SSID is not included in the first SSID group (8) for the eighth communication channel, and I31 is included in the second SSID group (8). It is assumed that SSIDs of three access points of ~ I33 are included. As described above, when one first SSID group (5) is zero and the other second SSID group (5) has not reached the upper limit, the unit search in the first search process is caused by the temporary deterioration of the communication environment. There is a high possibility that the SSID of the access point AP cannot be received sufficiently with the number of repetitions.

このため、8番目の通信チャネルについて、図5のS110では、第1SSID群(8)と第2SSID群(8)とが不一致であると判断され(S110:NO)、図6の条件処理では、SSIDの受信数がゼロであると判断され(S203:YES)、図7の第2検索処理では、回数アップ検索処理(S307)が実行される。その結果、図11Cに示すように、新たにI34,I35が受信され、第3SSID群(8)に含まれている。これにより、通信環境の一時的な悪化に起因して第1検索処理では検索されないアクセスポイントAPが存在する可能性が高い不一致チャネルに対して、SSIDの検索漏れを抑制することができる。   Therefore, for the eighth communication channel, in S110 of FIG. 5, it is determined that the first SSID group (8) and the second SSID group (8) do not match (S110: NO), and in the condition processing of FIG. It is determined that the number of SSIDs received is zero (S203: YES), and in the second search process of FIG. 7, the number-of-times search process (S307) is executed. As a result, as shown in FIG. 11C, I34 and I35 are newly received and included in the third SSID group (8). Thereby, it is possible to suppress an SSID search omission for a mismatched channel in which there is a high possibility that there is an access point AP that is not searched in the first search process due to a temporary deterioration of the communication environment.

本実施形態によれば、単位検索を2回実行し、1回目の単位検索により取得された1回目の識別情報群と2回目の単位検索に取得された2回目の識別情報群とが一致する場合、接続可能な外部通信機器の識別情報を正常に受信できたことが予想される。このため、このような一致チャネルは、第2検索工程の単位検索の対象とされない。一方、1回目の識別情報群と2回目の識別情報群とが一致しなかった場合、通信環境が不安定であるなどの理由により、さらに同じ検索条件で単位検索を繰り返しても、接続可能な外部通信機器の識別情報を正常に受信できないことが予想される。このため、このような不一致チャネルに対して、第1検索工程よりも精度の高い検索条件で単位検索が実行される。これにより、第2検索工程の単位検索において、一致チャネルが対象外とされる分だけ、単位検索が無駄に続行されることを抑制することができ、また、不一致チャネルに対して、第1検索工程よりも精度の高い検索条件で単位検索が行われるため、接続可能な外部通信機器の識別情報の検索漏れを抑制することができる。   According to the present embodiment, the unit search is executed twice, and the first identification information group acquired by the first unit search matches the second identification information group acquired by the second unit search. In this case, it is expected that the identification information of the connectable external communication device can be normally received. For this reason, such a matching channel is not subject to unit search in the second search step. On the other hand, if the first identification information group and the second identification information group do not match, connection is possible even if the unit search is repeated under the same search conditions because the communication environment is unstable. It is expected that the identification information of the external communication device cannot be received normally. For this reason, a unit search is executed with respect to such a mismatch channel under a search condition with higher accuracy than in the first search step. As a result, in the unit search of the second search step, it is possible to suppress the unit search from being continued in vain as much as the matching channel is excluded, and the first search is performed for the mismatched channel. Since the unit search is performed under a search condition with higher accuracy than the process, it is possible to suppress omission of search for identification information of connectable external communication devices.

また、表示部600に表示されたSSIDを選択する選択指示が受け付けられなかったことを条件に(図4のS15:YES)、第2検索処理が行われる。このため、既に、無線通信に利用するアクセスポイントAPが選択されたにもかかわらず、単位検索が無駄に実行されることを抑制することができる。   Further, the second search process is performed on the condition that the selection instruction for selecting the SSID displayed on the display unit 600 has not been received (S15: YES in FIG. 4). For this reason, it is possible to prevent the unit search from being performed wastefully even though the access point AP to be used for wireless communication has already been selected.

図12は別の実施形態の制御処理を示す。第2実施形態の内、上述した第1実施形態と同一の構成および処理については、同一符号を付すことによって、その説明を省略する。   FIG. 12 shows a control process according to another embodiment. In the second embodiment, the same configurations and processes as those of the first embodiment described above are denoted by the same reference numerals, and the description thereof is omitted.

CPU110は、第1検索処理(S11)の終了後、検索終了フラグをゼロに初期化する(S701)。検索終了フラグがゼロであることは、第2検索処理を実行することを意味し、検索終了フラグが1であることは、第2検索処理を中止することを意味するものとする。CPU110は、SSIDの選択指示を受け付けないと判断した場合(S13:NO)、検索終了フラグがゼロであるか否かを判断する(S702)。   After completing the first search process (S11), the CPU 110 initializes a search end flag to zero (S701). If the search end flag is zero, it means that the second search process is executed, and if the search end flag is 1, it means that the second search process is stopped. When CPU 110 determines not to accept an SSID selection instruction (S13: NO), CPU 110 determines whether or not the search end flag is zero (S702).

CPU110は、検索終了フラグがゼロであると判断した場合(S702:YES)、第2検索処理を実行する(S16)。そして、CPU110は、第2検索処理を実行した結果、新たなSSIDを受信したと判断した場合(S17:YES)、再度、第2検索処理を実行することにより、新たなSSIDをさらに受信できる可能性が高い。そこで、CPU110は、検索終了フラグはゼロのままで、S18、S12の処理に進む。このため、再度、第2検索処理が実行され得る。   CPU110 performs a 2nd search process, when it is judged that a search end flag is zero (S702: YES) (S16). If the CPU 110 determines that a new SSID has been received as a result of executing the second search process (S17: YES), the CPU 110 can further receive a new SSID by executing the second search process again. High nature. Therefore, the CPU 110 proceeds to the processes of S18 and S12 while the search end flag remains zero. For this reason, the second search process can be executed again.

一方、CPU110は、第2検索処理を実行した結果、新たなSSIDを受信しなかったと判断した場合(S17:NO)、再度、第2検索処理を実行しても、新たなSSIDを受信できない可能性が高い。そこで、CPU110は、検索終了フラグを1にして(S703)、S12の処理に進む。これにより、これ以降、第2検索処理が中止される。このため、新たなSSIDが受信できない状況が継続しているにもかかわらず、単位検索が無駄に実行されることを抑制することができる。   On the other hand, if the CPU 110 determines that a new SSID has not been received as a result of executing the second search process (S17: NO), the CPU 110 may not be able to receive a new SSID even if the second search process is executed again. High nature. Therefore, the CPU 110 sets the search end flag to 1 (S703), and proceeds to the process of S12. Thereby, the second search process is stopped thereafter. For this reason, it is possible to prevent the unit search from being performed wastefully even though the situation in which a new SSID cannot be received continues.

本明細書に開示される識別情報の検索方法は、複数の通信チャネルの中から任意の通信チャネルを指定してデータの送受信を行う無線通信部を用いて、外部通信機器の識別情報を検索する識別情報の検索方法であって、不特定多数の外部通信機器の識別情報を要求する要求信号を、前記無線通信部に1回送信させ、前記要求信号の送信時から所定の受信時間内に前記無線通信部が受信した前記外部通信機器の識別情報を識別情報群として取得する単位検索を、前記通信チャネルごとに、2回ずつ行う第1検索工程と、1回目の前記単位検索により取得された1回目の識別情報群と2回目の前記単位検索により取得された2回目の識別情報群とが一致するか否かを、前記通信チャネルごとに判断する第1判断工程と、複数の前記通信チャネルの内、前記第1判断工程で前記1回目の識別情報群と前記2回目の識別情報群とが一致しないと判断された不一致チャネルごとに、前記第1検索工程と異なる条件の下で前記単位検索を行う第2検索工程と、を含む。本識別情報の検索方法によれば、単位検索を2回実行し、1回目の単位検索により取得された1回目の識別情報群と2回目の単位検索に取得された2回目の識別情報群とが一致する場合、接続可能な外部通信機器の識別情報を正常に受信できたことが予想される。このため、このような一致チャネルは、第2検索工程の単位検索の対象とされない。一方、1回目の識別情報群と2回目の識別情報群とが一致しなかった場合、通信環境が不安定であるなどの理由により、さらに同じ検索条件で単位検索を繰り返しても、接続可能な外部通信機器の識別情報を正常に受信できないことが予想される。このため、このような不一致チャネルに対して、第1検索工程とは異なる検索条件で単位検索が実行される。これにより、第2検索工程の単位検索において、一致チャネルが対象外とされる分だけ、単位検索が無駄に続行されることを抑制することができ、また、不一致チャネルに対して、第1検索工程と異なる検索条件で単位検索が行われるため、接続可能な外部通信機器の識別情報の検索漏れを抑制することができる。   The identification information search method disclosed in this specification searches for identification information of an external communication device using a wireless communication unit that transmits and receives data by designating an arbitrary communication channel from among a plurality of communication channels. A method for retrieving identification information, wherein a request signal for requesting identification information of an unspecified number of external communication devices is transmitted once to the wireless communication unit, and the request signal is transmitted within a predetermined reception time from the time of transmission of the request signal. The unit search for acquiring the identification information of the external communication device received by the wireless communication unit as the identification information group is acquired by the first search step that is performed twice for each communication channel and the unit search for the first time. A first determination step for determining, for each communication channel, whether or not the first identification information group matches the second identification information group acquired by the second unit search; and the plurality of communication channels of The unit search is performed under a condition different from that of the first search step for each mismatch channel determined that the first identification information group and the second identification information group do not match in the first determination step. A second search step to be performed. According to this identification information search method, the unit search is executed twice, the first identification information group acquired by the first unit search, and the second identification information group acquired by the second unit search, If they match, it is expected that the identification information of the connectable external communication device has been successfully received. For this reason, such a matching channel is not subject to unit search in the second search step. On the other hand, if the first identification information group and the second identification information group do not match, connection is possible even if the unit search is repeated under the same search conditions because the communication environment is unstable. It is expected that the identification information of the external communication device cannot be received normally. For this reason, a unit search is executed for such a mismatched channel under a search condition different from that in the first search step. As a result, in the unit search of the second search step, it is possible to suppress the unit search from being continued in vain as much as the matching channel is excluded, and the first search is performed for the mismatched channel. Since the unit search is performed under a search condition different from the process, it is possible to suppress a search omission of identification information of connectable external communication devices.

本明細書に開示される無線通信装置は、複数の通信チャネルの中から任意の通信チャネルを指定してデータの送受信を行う無線通信部と、制御部と、記憶部と、表示部と、を備え、前記制御部は、不特定多数の外部通信機器の識別情報を要求する要求信号を、前記無線通信部に1回送信させ、前記要求信号の送信時から所定の受信時間内に前記無線通信部が受信した前記外部通信機器の識別情報を識別情報群として前記記憶部に記憶させる単位検索を、前記通信チャネルごとに、2回ずつ行う第1検索処理と、1回目の前記単位検索により前記記憶部に記憶された1回目の識別情報群と2回目の前記単位検索により前記記憶部に記憶された2回目の識別情報群とが一致するか否かを、前記通信チャネルごとに判断する第1判断処理と、複数の前記通信チャネルの内、前記第1判断処理で前記1回目の識別情報群と前記2回目の識別情報群とが一致すると判断された一致チャネルに対して、当該一致チャネルで前記記憶部に記憶された前記識別情報群に含まれる識別情報の識別名を前記表示部に表示させる第1表示処理と、複数の前記通信チャネルの内、前記第1判断処理で前記1回目の識別情報群と前記2回目の識別情報群とが一致しないと判断された不一致チャネルごとに、前記第1検索処理と異なる条件の下で前記単位検索を行う第2検索処理と、前記第1表示処理後、前記第2検索処理における前記単位検索により前記記憶部に記憶された前記不一致チャネルごとの識別情報群に含まれる識別情報の識別名を前記表示部に表示させる第2表示処理と、を実行する。本無線通信装置によれば、第2検索処理の単位検索において、一致チャネルが対象外とされる分だけ、単位検索が無駄に続行されることを抑制することができ、また、不一致チャネルに対して、第1検索処理と異なる検索条件で単位検索が行われるため、接続可能な外部通信機器の識別情報の検索漏れを抑制することができる。   A wireless communication device disclosed in the present specification includes a wireless communication unit that transmits and receives data by designating an arbitrary communication channel from among a plurality of communication channels, a control unit, a storage unit, and a display unit. The control unit causes the wireless communication unit to transmit a request signal for requesting identification information of an unspecified number of external communication devices once, and transmits the request signal within a predetermined reception time from when the request signal is transmitted. The unit search for storing the identification information of the external communication device received by the unit in the storage unit as an identification information group is performed twice for each communication channel by the first search process and the first unit search. The first identification information group stored in the storage unit and the second identification information group stored in the storage unit by the second unit search are determined for each communication channel. 1 decision process and multiple Among the communication channels, for the matching channel determined to match the first identification information group and the second identification information group in the first determination process, the matching channel is stored in the storage unit as the matching channel. A first display process for displaying the identification name of the identification information included in the identification information group on the display unit, and the first identification information group and the 2 in the first determination process among the plurality of communication channels. A second search process for performing the unit search under a condition different from the first search process for each unmatched channel that is determined not to match the identification information group for the first time, and the second display process after the first display process. A second display process for displaying the identification name of the identification information included in the identification information group for each of the mismatched channels stored in the storage unit by the unit search in the search process on the display unit. According to the wireless communication device, in the unit search of the second search process, it is possible to suppress the unit search from being unnecessarily continued as much as the matching channel is excluded. Since unit search is performed under a search condition different from that of the first search process, it is possible to suppress omission of search for identification information of connectable external communication devices.

上記無線通信装置において、前記制御部は、前記第2検索処理において、前記不一致チャネルごとに、前記第1検索処理より前記受信時間を長くして前記単位検索を行う構成としてもよい。本無線通信装置によれば、第2検索処理において、不一致チャネルごとに、第1検索処理の単位検索より受信時間を長くして単位検索が行われるため、識別情報の受信時間の長短に起因する識別情報の検索漏れを抑制することができる。   In the wireless communication apparatus, the control unit may perform the unit search in the second search process by making the reception time longer than the first search process for each of the mismatch channels. According to the present wireless communication device, in the second search process, the unit search is performed for each inconsistent channel with a longer reception time than the unit search of the first search process, resulting in the length of the reception time of the identification information. The omission of retrieval of identification information can be suppressed.

上記無線通信装置において、前記制御部は、前記第2検索処理において、前記不一致チャネルごとに、前記単位検索を3回以上行う構成としてもよい。本無線通信装置によれば、第2検索処理において、不一致チャネルごとに、第1検索処理より単位検索が多く繰り返されるため、検索の回数に起因する識別情報の検索漏れを抑制することができる。   In the wireless communication apparatus, the control unit may perform the unit search three or more times for each mismatched channel in the second search process. According to this wireless communication apparatus, in the second search process, the unit search is repeated more frequently than the first search process for each unmatched channel. Therefore, it is possible to suppress omissions in the identification information due to the number of searches.

上記無線通信装置において、前記制御部は、前記第2検索処理において、前記不一致チャネルごとに、前記第1検索処理より送信する電波の強度を強くして前記単位検索を行う構成としてもよい。本無線通信装置によれば、第2検索処理において、不一致チャネルごとに、第1検索処理より送信する電波の強度を強くして単位検索が行われるため、電波強度の強弱に起因する識別情報の検索漏れを抑制することができる。   In the wireless communication apparatus, the control unit may perform the unit search in the second search process by increasing the strength of the radio wave transmitted from the first search process for each of the mismatch channels. According to the wireless communication device, in the second search process, the unit search is performed by increasing the strength of the radio wave transmitted from the first search process for each unmatched channel. Search omission can be suppressed.

上記無線通信装置において、前記制御部は、前記不一致チャネルごとに、前記1回目の識別情報群に含まれる識別情報の数、および、前記2回目の識別情報群に含まれる識別情報の数の少なくとも一方の識別情報の数が、前記受信時間内に受信可能な識別情報の上限数に達したか否かを判断する第2判断処理を実行し、前記第2検索処理において、前記第2判断処理で前記少なくとも一方の識別情報の数が前記上限数に達したと判断された前記不一致チャネルに対して、前記第1検索処理より前記受信時間を長くして前記単位検索を行う構成としてもよい。本無線通信装置によれば、第1検索処理における1回分の単位検索について、識別情報群に含まれる識別情報の数が、第1検索処理の1回分の単位検索の受信時間内に受信可能な識別情報の上限数に達している場合、その受信時間内では検索されない外部通信機器が存在する可能性が高い。そこで、この無線通信装置によれば、1回目の識別情報群に含まれる識別情報の数、および、2回目の識別情報群に含まれる識別情報の数の少なくとも一方が、上限数に達している不一致チャネルに対して、第1検索処理受信時間を長くして単位検索が行われる。これにより、識別情報の受信時間の長短に起因して第1検索処理では検索されない外部通信機器が存在する可能性が高い不一致チャネルに対して、識別情報の検索漏れを抑制することができる。   In the wireless communication device, the control unit may include at least a number of identification information included in the first identification information group and a number of identification information included in the second identification information group for each of the mismatched channels. A second determination process is performed to determine whether the number of one identification information has reached the upper limit number of identification information that can be received within the reception time, and the second determination process is performed in the second search process. Then, the unit search may be performed by making the reception time longer than that of the first search process for the inconsistent channel for which it is determined that the number of the at least one identification information has reached the upper limit number. According to this wireless communication apparatus, the number of pieces of identification information included in the identification information group can be received within the reception time of one unit search of the first search process for one unit search in the first search process. When the upper limit number of identification information is reached, there is a high possibility that there is an external communication device that is not searched within the reception time. Therefore, according to this wireless communication device, at least one of the number of identification information included in the first identification information group and the number of identification information included in the second identification information group has reached the upper limit number. A unit search is performed for the unmatched channel by extending the first search processing reception time. Thereby, it is possible to suppress an omission of retrieval of identification information for a mismatch channel in which there is a high possibility that there is an external communication device that is not retrieved in the first retrieval process due to the length of reception time of identification information.

上記無線通信装置において、前記制御部は、前記不一致チャネルごとに、前記1回目の識別情報群に含まれる識別情報の数、および、前記2回目の識別情報群に含まれる識別情報の数のいずれか一方の識別情報の数がゼロであるか否かを判断する第3判断処理を実行し、前記第2検索処理において、前記第3判断処理で前記いずれか一方の識別情報の数がゼロであると判断された前記不一致チャネルに対して、前記単位検索を3回以上行う構成としてもよい。本無線通信装置によれば、第1検索処理における1回分の単位検索について、識別情報群に含まれる識別情報の数がゼロである場合、通信環境の一時的な悪化により第1検索処理における単位検索が正常に実行されなかった可能性が高い。そこで、この無線通信装置によれば、1回目の識別情報群に含まれる識別情報の数、および、2回目の識別情報群に含まれる識別情報の数のいずれか一方がゼロであると判断された不一致チャネルに対して、第1検索処理より繰り返し回数を多くして単位検索が行われる。これにより、通信環境の一時的な悪化に起因して検索されない外部通信機器が存在する可能性が高い不一致チャネルに対して、識別情報の検索漏れを抑制することができる。   In the wireless communication apparatus, for each of the mismatched channels, the control unit may select either the number of identification information included in the first identification information group or the number of identification information included in the second identification information group. A third determination process is performed to determine whether the number of identification information of one of them is zero. In the second search process, the number of identification information of any one of the third determination processes is zero. The unit search may be performed three or more times for the mismatched channel determined to be present. According to the wireless communication apparatus, when the number of pieces of identification information included in the identification information group is zero for one unit search in the first search process, the unit in the first search process is temporarily deteriorated due to temporary deterioration of the communication environment. It is likely that the search was not successful. Therefore, according to this wireless communication apparatus, it is determined that one of the number of identification information included in the first identification information group and the number of identification information included in the second identification information group is zero. The unit search is performed on the unmatched channel by increasing the number of repetitions compared to the first search process. Thereby, it is possible to suppress omission of retrieval of identification information for a mismatched channel in which there is a high possibility that there is an external communication device that is not searched due to temporary deterioration of the communication environment.

上記無線通信装置において、前記制御部は、前記第2判断処理で前記1回目の識別情報群に含まれる識別情報の数、および、前記2回目の識別情報群に含まれる識別情報の数のいずれも前記上限数に達していないと判断された前記不一致チャネルごとに、前記1回目の識別情報群に含まれる識別情報の数、および、前記2回目の識別情報群に含まれる識別情報の数のいずれか一方の識別情報の数がゼロであるか否かを判断する第3判断処理を実行し、前記第2検索処理において、前記第3判断処理で前記いずれか一方の識別情報の数がゼロであると判断された前記不一致チャネルごとに、前記単位検索を3回以上行い、前記第3判断処理で前記1回目の識別情報群に含まれる識別情報の数、および、前記2回目の識別情報群に含まれる識別情報の数のいずれもゼロでないと判断された前記不一致チャネルに対して、前記第1検索処理より電波強度を強くして前記単位検索を行う構成としてもよい。本無線通信装置によれば、各一致チャネルについて、不一致だった要因に応じて検索条件で第2検索処理を行うことができる。   In the wireless communication apparatus, the control unit may determine which of the number of identification information included in the first identification information group and the number of identification information included in the second identification information group in the second determination process. The number of identification information included in the first identification information group and the number of identification information included in the second identification information group are determined for each of the mismatched channels determined to have not reached the upper limit. A third determination process is performed to determine whether the number of any one piece of identification information is zero, and in the second search process, the number of any one piece of identification information is zero in the third determination process. The unit search is performed three or more times for each of the inconsistent channels determined to be the number of identification information included in the first identification information group in the third determination process, and the second identification information Identification information contained in the group To the Mismatch Channel both it is determined that the non-zero number of may be configured to perform the unit search strongly wave strength than the first search process. According to this wireless communication apparatus, the second search process can be performed with the search condition for each matching channel according to the cause of the mismatch.

上記無線通信装置において、さらに、操作部を備え、前記制御部は、前記第1表示処理により前記表示部に表示された前記識別情報を選択する選択指示を、前記操作部が受け付けなかった場合、前記第2検索処理を実行し、前記選択指示を前記操作部が受け付けた場合、前記第2検索処理を実行しない構成としてもよい。本無線通信装置によれば、表示部に表示された識別情報を選択する選択指示が受け付けられなかったことを条件に、第2検索処理が行われる。このため、既に、無線通信に利用するアクセスポイントが選択されたにもかかわらず、単位検索が無駄に実行されることを抑制することができる。   In the wireless communication device, further comprising an operation unit, the control unit, when the operation unit has not received a selection instruction to select the identification information displayed on the display unit by the first display processing, It is good also as a structure which does not perform a said 2nd search process, when the said 2nd search process is performed and the said operation part receives the said selection instruction | indication. According to the wireless communication device, the second search process is performed on the condition that the selection instruction for selecting the identification information displayed on the display unit has not been accepted. For this reason, it is possible to prevent the unit search from being performed wastefully even though the access point used for wireless communication has already been selected.

上記無線通信装置において、前記制御部は、前記不一致チャネルごとに、前記第2検索処理の実行により前記記憶部に記憶された識別情報群と、前記第2検索処理の実行の前に既に前記前記記憶部に記憶された識別情報群とが一致しない場合、前記第2検索処理を再度実行し、一致する場合、前記第2検索処理を中止する構成としてもよい。本無線通信装置によれば、第2検索処理の実行により新たな識別情報が記憶部に記憶されたことを条件に、第2検索処理が再び行われる。このため、新たな識別情報が取得できない状況が継続しているにもかかわらず、単位検索が無駄に実行されることを抑制することができる。   In the wireless communication apparatus, the control unit, for each mismatched channel, the identification information group stored in the storage unit by execution of the second search process, and the above-described already before the execution of the second search process, If the identification information group stored in the storage unit does not match, the second search process may be executed again, and if they match, the second search process may be stopped. According to the wireless communication device, the second search process is performed again on condition that new identification information is stored in the storage unit by executing the second search process. For this reason, it is possible to prevent the unit search from being performed wastefully even though the situation where new identification information cannot be acquired continues.

本明細書で開示される技術は、上述の実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の形態に変形することができ、例えば次のような変形も可能である。   The technology disclosed in the present specification is not limited to the above-described embodiment, and can be modified into various forms without departing from the gist thereof. For example, the following modifications are possible.

上記実施形態では、無線通信装置として、プリンタ10を例示したが、無線通信装置は、これに限定されず、画像を形成する画像形成装置、原稿を読み取る読取装置、印刷機能や読取機能などの複数の機能を有するコピー機や複合機でもよい。また、無線通信装置は、画像形成機能を有するものに限定されず、サーバー、パーソナルコンピュータや、スマートフォンやタブレット等の通信端末などでもよい。   In the above embodiment, the printer 10 is exemplified as the wireless communication device. However, the wireless communication device is not limited to this, and an image forming device that forms an image, a reading device that reads a document, a printing function, a reading function, and the like. It may be a copier or multifunction machine having the above functions. The wireless communication device is not limited to one having an image forming function, and may be a server, a personal computer, a communication terminal such as a smartphone or a tablet, or the like.

上記実施形態では、制御部として、1つのCPUを有するASICで構成された制御部100を例示したが、制御部は、これに限定されず、1または複数のCPUを含むものや、CPUとAISC等のハード回路とを含むものや、ハード回路のみで構成されたものでもよい。   In the above embodiment, the control unit 100 configured by an ASIC having one CPU is illustrated as the control unit. However, the control unit is not limited to this, and includes one or a plurality of CPUs, a CPU and an AISC. It may be configured with only a hardware circuit such as a hardware circuit such as the above.

上記実施形態では、記憶部として、RAM400を例示したが、記憶部は、これに限定されず、NVRAM、フラッシュメモリ、HDD、EEPROMなどの書き換え可能な不揮発性メモリなどもでもよい。   In the above embodiment, the RAM 400 is exemplified as the storage unit. However, the storage unit is not limited to this, and a rewritable nonvolatile memory such as NVRAM, flash memory, HDD, or EEPROM may be used.

上記実施形態では、無線通信部として、インフラストラクチャモードとアドホックモードとの両方を実行可能な無線通信インターフェース200を例示したが、無線通信部は、これに限定されず、インフラストラクチャモードとアドホックモードとのいずれか一方だけを実行可能なものでもよい。   In the above embodiment, the wireless communication interface 200 capable of executing both the infrastructure mode and the ad hoc mode is illustrated as the wireless communication unit. However, the wireless communication unit is not limited to this, and the infrastructure mode and the ad hoc mode Either one of the above may be executable.

上記実施形態では、識別情報として、SSIDを例示したが、識別情報は、これに限定されず、外部通信機器を識別可能な情報であればよい。   In the above embodiment, the SSID is exemplified as the identification information. However, the identification information is not limited to this, and may be information that can identify the external communication device.

図4のSSID検索処理において、CPU110は、SSIDの選択指示を受け付けないと判断した場合(S13:NO)、選択指示が受け付けられなかったか否かに関係なく、常に、第2検索処理を実行してもよい。また、CPU110は、S12の処理の実行後、SSIDの選択指示を受け付けたか否かに関係なく、常に、第2検索処理を実行してもよい。   In the SSID search process of FIG. 4, if the CPU 110 determines not to accept an SSID selection instruction (S13: NO), the CPU 110 always executes the second search process regardless of whether or not the selection instruction is accepted. May be. Further, the CPU 110 may always execute the second search process after executing the process of S12 regardless of whether or not an SSID selection instruction is accepted.

図7の第2検索処理において、CPU110は、不一致チャネルに対して、時間アップ検索処理(S305)、回数アップ検索処理(S307)、送信強度アップ検索処理(S308)のいずれか1つまたは2つだけを実行してもよい。   In the second search process of FIG. 7, the CPU 110 selects one or two of the time-up search process (S305), the number-of-times search process (S307), and the transmission strength increase search process (S308) for the mismatched channels. You may only do it.

10:プリンタ 100:制御部 200:無線通信インターフェース 400:RAM 500:操作部 600:表示部 AP:アクセスポイント W:外部無線装置   10: printer 100: control unit 200: wireless communication interface 400: RAM 500: operation unit 600: display unit AP: access point W: external wireless device

Claims (9)

複数の通信チャネルの中から任意の通信チャネルを指定してデータの送受信を行う無線通信部を用いて、外部通信機器の識別情報を検索する識別情報の検索方法であって、
外部通信機器の識別情報を要求する要求信号を、前記無線通信部に1回送信させ、前記要求信号の送信時から所定の受信時間内に前記無線通信部が受信した前記外部通信機器の識別情報を識別情報群として取得する単位検索を、前記通信チャネルごとに、2回ずつ行う第1検索工程と、
1回目の前記単位検索により取得された1回目の識別情報群と2回目の前記単位検索により取得された2回目の識別情報群とが一致するか否かを、前記通信チャネルごとに判断する第1判断工程と、
複数の前記通信チャネルの内、前記第1判断工程で前記1回目の識別情報群と前記2回目の識別情報群とが一致しないと判断された不一致チャネルごとに、前記第1検索工程と異なる条件の下で前記単位検索を行う第2検索工程と、を含み、
前記不一致チャネルごとに、前記第2検索工程の実行により取得された識別情報群と、前記第2検索工程の実行の前に既に取得された識別情報群とが一致しない場合、前記第2検索工程を再度実行し、一致する場合、前記第2検索工程を中止する、識別情報の検索方法。
An identification information search method for searching for identification information of an external communication device using a wireless communication unit that transmits and receives data by designating an arbitrary communication channel from a plurality of communication channels,
Identification information of the external communication device that causes the wireless communication unit to transmit a request signal for requesting identification information of the external communication device once and received by the wireless communication unit within a predetermined reception time from the time of transmission of the request signal. A first search step of performing a unit search for acquiring the ID as an identification information group twice for each communication channel;
A first determination is made for each communication channel whether or not the first identification information group acquired by the first unit search matches the second identification information group acquired by the second unit search. 1 judgment process;
Among the plurality of communication channels, a condition different from that in the first search step is determined for each non-matching channel in which the first identification information group and the second identification information group are determined not to match in the first determination step. look including a second search step of performing the unit search under,
When the identification information group acquired by executing the second search step does not match the identification information group already acquired before the execution of the second search step for each mismatched channel, the second search step The method for searching for identification information is executed again, and if the two match, the second search step is stopped .
複数の通信チャネルの中から任意の通信チャネルを指定してデータの送受信を行う無線通信部と、
制御部と、
記憶部と、
表示部と、
操作部と、
を備え、
前記制御部は、
外部通信機器の識別情報を要求する要求信号を、前記無線通信部に1回送信させ、前記要求信号の送信時から所定の受信時間内に前記無線通信部が受信した前記外部通信機器の識別情報を識別情報群として前記記憶部に記憶させる単位検索を、前記通信チャネルごとに、2回ずつ行う第1検索処理と、
1回目の前記単位検索により前記記憶部に記憶された1回目の識別情報群と2回目の前記単位検索により前記記憶部に記憶された2回目の識別情報群とが一致するか否かを、前記通信チャネルごとに判断する第1判断処理と、
複数の前記通信チャネルの内、前記第1判断処理で前記1回目の識別情報群と前記2回目の識別情報群とが一致すると判断された一致チャネルに対して、当該一致チャネルで前記記憶部に記憶された前記識別情報群に含まれる識別情報の識別名を前記表示部に表示させる第1表示処理と、
複数の前記通信チャネルの内、前記第1判断処理で前記1回目の識別情報群と前記2回目の識別情報群とが一致しないと判断された不一致チャネルごとに、前記第1検索処理と異なる条件の下で前記単位検索を行う第2検索処理と、
前記第1表示処理後、前記第2検索処理における前記単位検索により前記記憶部に記憶された前記不一致チャネルごとの識別情報群に含まれる識別情報の識別名を前記表示部に表示させる第2表示処理と、を実行し、
前記第1表示処理により前記表示部に表示された前記識別情報を選択する選択指示を、前記操作部が受け付けなかった場合、前記第2検索処理を実行し、前記選択指示を前記操作部が受け付けた場合、前記第2検索処理を実行しない、無線通信装置。
A wireless communication unit that transmits and receives data by designating an arbitrary communication channel from among a plurality of communication channels;
A control unit;
A storage unit;
A display unit;
An operation unit;
With
The controller is
Identification information of the external communication device that causes the wireless communication unit to transmit a request signal for requesting identification information of the external communication device once and received by the wireless communication unit within a predetermined reception time from the time of transmission of the request signal. A first search process in which the unit search is stored twice in the storage unit as an identification information group for each communication channel;
Whether or not the first identification information group stored in the storage unit by the first unit search matches the second identification information group stored in the storage unit by the second unit search. A first determination process for determining each communication channel;
Among the plurality of communication channels, for the matching channel that is determined to match the first identification information group and the second identification information group in the first determination process, the matching channel is stored in the storage unit. A first display process for displaying an identification name of identification information included in the stored identification information group on the display unit;
Conditions different from those in the first search process for each non-matching channel in which the first identification information group and the second identification information group are determined not to match in the first determination process among the plurality of communication channels. A second search process for performing the unit search under
After the first display process, a second display for causing the display unit to display the identification name of the identification information included in the identification information group for each of the mismatched channels stored in the storage unit by the unit search in the second search process processing and, to run,
When the operation unit does not receive a selection instruction for selecting the identification information displayed on the display unit by the first display process, the second search process is executed, and the operation unit receives the selection instruction. A wireless communication device that does not execute the second search process .
複数の通信チャネルの中から任意の通信チャネルを指定してデータの送受信を行う無線通信部と、  A wireless communication unit that transmits and receives data by designating an arbitrary communication channel from among a plurality of communication channels;
制御部と、  A control unit;
記憶部と、  A storage unit;
表示部と、  A display unit;
を備え、  With
前記制御部は、  The controller is
外部通信機器の識別情報を要求する要求信号を、前記無線通信部に1回送信させ、前記要求信号の送信時から所定の受信時間内に前記無線通信部が受信した前記外部通信機器の識別情報を識別情報群として前記記憶部に記憶させる単位検索を、前記通信チャネルごとに、2回ずつ行う第1検索処理と、    Identification information of the external communication device that causes the wireless communication unit to transmit a request signal for requesting identification information of the external communication device once and received by the wireless communication unit within a predetermined reception time from the time of transmission of the request signal. A first search process in which the unit search is stored twice in the storage unit as an identification information group for each communication channel;
1回目の前記単位検索により前記記憶部に記憶された1回目の識別情報群と2回目の前記単位検索により前記記憶部に記憶された2回目の識別情報群とが一致するか否かを、前記通信チャネルごとに判断する第1判断処理と、    Whether or not the first identification information group stored in the storage unit by the first unit search matches the second identification information group stored in the storage unit by the second unit search. A first determination process for determining each communication channel;
複数の前記通信チャネルの内、前記第1判断処理で前記1回目の識別情報群と前記2回目の識別情報群とが一致すると判断された一致チャネルに対して、当該一致チャネルで前記記憶部に記憶された前記識別情報群に含まれる識別情報の識別名を前記表示部に表示させる第1表示処理と、    Among the plurality of communication channels, for the matching channel that is determined to match the first identification information group and the second identification information group in the first determination process, the matching channel is stored in the storage unit. A first display process for displaying an identification name of identification information included in the stored identification information group on the display unit;
複数の前記通信チャネルの内、前記第1判断処理で前記1回目の識別情報群と前記2回目の識別情報群とが一致しないと判断された不一致チャネルごとに、前記第1検索処理と異なる条件の下で前記単位検索を行う第2検索処理と、    Conditions different from those in the first search process for each non-matching channel in which the first identification information group and the second identification information group are determined not to match in the first determination process among the plurality of communication channels. A second search process for performing the unit search under
前記第1表示処理後、前記第2検索処理における前記単位検索により前記記憶部に記憶された前記不一致チャネルごとの識別情報群に含まれる識別情報の識別名を前記表示部に表示させる第2表示処理と、を実行し、    After the first display process, a second display for causing the display unit to display the identification name of the identification information included in the identification information group for each of the mismatched channels stored in the storage unit by the unit search in the second search process Process, and
前記制御部は、  The controller is
前記不一致チャネルごとに、前記第2検索処理の実行により前記記憶部に記憶された識別情報群と、前記第2検索処理の実行の前に既に前記記憶部に記憶された識別情報群とが一致しない場合、前記第2検索処理を再度実行し、一致する場合、前記第2検索処理を中止する、無線通信装置。    For each non-matching channel, the identification information group stored in the storage unit by the execution of the second search process matches the identification information group already stored in the storage unit before the execution of the second search process. If not, the wireless communication device executes the second search process again, and stops the second search process if they match.
請求項2または請求項3に記載の無線通信装置において、
前記制御部は、
前記第2検索処理において、前記不一致チャネルごとに、前記第1検索処理より前記受信時間を長くして前記単位検索を行う、無線通信装置。
The wireless communication apparatus according to claim 2 or 3 ,
The controller is
In the second search process, a wireless communication apparatus that performs the unit search for each of the mismatched channels with a longer reception time than the first search process.
請求項2または請求項3に記載の無線通信装置において、
前記制御部は、
前記第2検索処理において、前記不一致チャネルごとに、前記単位検索を3回以上行う、無線通信装置。
The wireless communication apparatus according to claim 2 or 3 ,
The controller is
In the second search process, a wireless communication apparatus that performs the unit search three or more times for each mismatched channel.
請求項2または請求項3に記載の無線通信装置において、
前記制御部は、
前記第2検索処理において、前記不一致チャネルごとに、前記第1検索処理より、送信する電波の強度を強くして前記単位検索を行う、無線通信装置。
The wireless communication apparatus according to claim 2 or 3 ,
The controller is
In the second search process, the wireless communication apparatus performs the unit search for each mismatched channel by increasing the intensity of a radio wave to be transmitted compared to the first search process.
請求項に記載の無線通信装置において、
前記制御部は、
前記不一致チャネルごとに、前記1回目の識別情報群に含まれる識別情報の数、および、前記2回目の識別情報群に含まれる識別情報の数の少なくとも一方の識別情報の数が、前記受信時間内に受信可能な識別情報の上限数に達したか否かを判断する第2判断処理を実行し、
前記第2検索処理において、前記第2判断処理で前記少なくとも一方の識別情報の数が前記上限数に達したと判断された前記不一致チャネルに対して、前記第1検索処理より前記受信時間を長くして前記単位検索を行う、無線通信装置。
The wireless communication apparatus according to claim 4 , wherein
The controller is
For each non-matching channel, the number of pieces of identification information included in the first identification information group and the number of pieces of identification information included in the second identification information group is the reception time. A second determination process is performed to determine whether or not the upper limit number of identification information that can be received is reached,
In the second search process, the reception time is made longer than the first search process for the unmatched channel for which the number of the at least one identification information is determined to have reached the upper limit number in the second determination process. And performing the unit search.
請求項に記載の無線通信装置において、
前記制御部は、
前記不一致チャネルごとに、前記1回目の識別情報群に含まれる識別情報の数、および、前記2回目の識別情報群に含まれる識別情報の数のいずれか一方の識別情報の数がゼロであるか否かを判断する第3判断処理を実行し、
前記第2検索処理において、前記第3判断処理で前記いずれか一方の識別情報の数がゼロであると判断された前記不一致チャネルに対して、前記単位検索を3回以上行う、無線通信装置。
The wireless communication device according to claim 5 , wherein
The controller is
For each non-matching channel, the number of identification information included in the first identification information group and the number of identification information included in the second identification information group is zero. Execute a third determination process for determining whether or not
In the second search process, a wireless communication apparatus that performs the unit search three or more times for the non-matching channel for which the number of identification information of any one of the third determination processes is determined to be zero.
請求項に記載の無線通信装置において、
前記制御部は、
前記第2判断処理で前記1回目の識別情報群に含まれる識別情報の数、および、前記2回目の識別情報群に含まれる識別情報の数のいずれも前記上限数に達していないと判断された前記不一致チャネルごとに、前記1回目の識別情報群に含まれる識別情報の数、および、前記2回目の識別情報群に含まれる識別情報の数のいずれか一方の識別情報の数がゼロであるか否かを判断する第3判断処理を実行し、
前記第2検索処理において、
前記第3判断処理で前記いずれか一方の識別情報の数がゼロであると判断された前記不一致チャネルごとに、前記単位検索を3回以上行い、
前記第3判断処理で前記1回目の識別情報群に含まれる識別情報の数、および、前記2回目の識別情報群に含まれる識別情報の数のいずれもゼロでないと判断された前記不一致チャネルに対して、前記第1検索処理より、送信する電波の強度を強くして前記単位検索を行う、無線通信装置。
The wireless communication device according to claim 7 , wherein
The controller is
In the second determination process, it is determined that neither the number of identification information included in the first identification information group nor the number of identification information included in the second identification information group has reached the upper limit. For each of the mismatched channels, the number of identification information included in the first identification information group and the number of identification information included in the second identification information group is zero. Execute a third determination process for determining whether or not there is,
In the second search process,
The unit search is performed three or more times for each of the mismatched channels determined that the number of the identification information of any one of the third determination process is zero,
It is determined that the number of identification information included in the first identification information group and the number of identification information included in the second identification information group are not zero in the third determination process. On the other hand, the wireless communication apparatus performs the unit search by increasing the intensity of the radio wave to be transmitted from the first search process.
JP2015072711A 2015-03-31 2015-03-31 IDENTIFICATION INFORMATION SEARCH METHOD AND RADIO COMMUNICATION DEVICE Active JP6406097B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015072711A JP6406097B2 (en) 2015-03-31 2015-03-31 IDENTIFICATION INFORMATION SEARCH METHOD AND RADIO COMMUNICATION DEVICE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015072711A JP6406097B2 (en) 2015-03-31 2015-03-31 IDENTIFICATION INFORMATION SEARCH METHOD AND RADIO COMMUNICATION DEVICE

Publications (2)

Publication Number Publication Date
JP2016192730A JP2016192730A (en) 2016-11-10
JP6406097B2 true JP6406097B2 (en) 2018-10-17

Family

ID=57246958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015072711A Active JP6406097B2 (en) 2015-03-31 2015-03-31 IDENTIFICATION INFORMATION SEARCH METHOD AND RADIO COMMUNICATION DEVICE

Country Status (1)

Country Link
JP (1) JP6406097B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1678922A4 (en) * 2003-10-03 2010-12-08 Thomson Licensing Multi-network overlaid cell detection
SE531657C2 (en) * 2007-01-31 2009-06-23 Nanoradio Ab Background scan method for WLAN client devices
ES2637012T3 (en) * 2009-02-13 2017-10-10 Telefonaktiebolaget Lm Ericsson (Publ) Control of the power consumption of a wireless network node
JP5761993B2 (en) * 2010-12-28 2015-08-12 キヤノン株式会社 Access point search apparatus, access point search method, and program
JP5706187B2 (en) * 2011-02-24 2015-04-22 京セラ株式会社 Mobile communication terminal and control program
JP5805408B2 (en) * 2011-03-10 2015-11-04 株式会社レゾナント・システムズ Bus digital wireless microphone system
JP5874825B2 (en) * 2012-05-31 2016-03-02 富士通株式会社 COMMUNICATION DEVICE, COMMUNICATION CONTROL PROGRAM, AND COMMUNICATION CONTROL METHOD
US9326239B2 (en) * 2012-09-28 2016-04-26 Broadcom Corporation Managing connectivity between wireless devices

Also Published As

Publication number Publication date
JP2016192730A (en) 2016-11-10

Similar Documents

Publication Publication Date Title
JP5102319B2 (en) Radio base station search method, radio base station search apparatus, and radio base station search program
US7995468B2 (en) Communication apparatus and control method thereof
US8131859B2 (en) Wireless communication system, and wireless communication device and control method
JP4232043B2 (en) Base device, wireless communication channel switching method, and wireless communication channel switching program
US10425889B2 (en) Communication device
EP2645812A2 (en) Communication device
EP2723108B1 (en) Wi-Fi P2P communication terminal device and communication method thereof
JP6584210B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
US8150310B2 (en) Setting method of communication parameters, communicating apparatus, control method of communicating apparatus, and program
JP4958634B2 (en) Communication apparatus and communication method
JP5880205B2 (en) Wireless communication device
JP6184105B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP7035619B2 (en) Terminal devices, communication systems, programs and display control methods
US9781765B2 (en) Communication apparatus
JP2021192559A (en) Communication apparatus
JP2016054391A (en) Information processing device, control method of information processing device, and program
CN107172686B (en) Wireless communication device and wireless communication method
JP2021103901A (en) Image processing system
JP2019149663A (en) Terminal device, communication system, program, and display control method
EP3220710A2 (en) Wireless communication apparatus and wireless communication method
JP6406097B2 (en) IDENTIFICATION INFORMATION SEARCH METHOD AND RADIO COMMUNICATION DEVICE
JP2015216483A (en) Terminal device, control method therefor and program
US9274727B2 (en) Communication apparatus, control method therefor, and computer-readable storage medium for performing connection to a processing target apparatus
JP6525651B2 (en) Communication device, communication method, and program
JP2018042189A (en) Radio communication device, radio communication system, and radio communication setting program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170914

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180613

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180619

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180808

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180903

R150 Certificate of patent or registration of utility model

Ref document number: 6406097

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150