JP6544468B2 - Wireless communication device - Google Patents
Wireless communication device Download PDFInfo
- Publication number
- JP6544468B2 JP6544468B2 JP2018139677A JP2018139677A JP6544468B2 JP 6544468 B2 JP6544468 B2 JP 6544468B2 JP 2018139677 A JP2018139677 A JP 2018139677A JP 2018139677 A JP2018139677 A JP 2018139677A JP 6544468 B2 JP6544468 B2 JP 6544468B2
- Authority
- JP
- Japan
- Prior art keywords
- connection
- value
- wireless communication
- state
- wfd
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Description
本明細書によって開示される技術は、無線通信装置に関する。 The technology disclosed by the present specification relates to a wireless communication device.
非特許文献1には、Wi−Fi Allianceによって策定されたWi−Fi Direct(以下では「WFD」と呼ぶ)について記載されている。WFDの無線ネットワークは、Group Ownerとして動作する1個の機器(以下では「G/O機器」と呼ぶ)と、G/O機器によって管理されるクライアントとして動作する1個以上の機器(以下では「クライント機器」と呼ぶ)と、によって構成される。一対の機器の間でWFDに従った接続が確立されるべき場合に、一対の機器のそれぞれは、G/Oネゴシエーションを実行して、G/O及びクライアントのどちらで動作すべきかを決定する。 Non-Patent Document 1 describes Wi-Fi Direct (hereinafter referred to as “WFD”) formulated by the Wi-Fi Alliance. The WFD's wireless network consists of one device operating as a Group Owner (hereinafter referred to as “G / O device”) and one or more devices operating as clients managed by the G / O device (hereinafter Client devices) and When a WFD connection is to be established between a pair of devices, each of the pair of devices performs G / O negotiation to determine whether to operate with the G / O or the client.
本明細書では、無線通信装置が複数個のデバイスとの接続を確立すべき状況において、無線通信装置が適切な接続状態を形成し得る技術を提供する。 In this specification, in a situation in which a wireless communication apparatus should establish connection with a plurality of devices, a technique is provided in which the wireless communication apparatus can form an appropriate connection state.
本明細書では、無線ネットワークの親局として機能する親局状態と、無線ネットワークの子局として機能する子局状態と、を含む複数の状態のうちのいずれかの状態で選択的に動作可能な無線通信装置を開示する。無線通信装置は、第1の接続部と第2の接続部と決定部とを備える。第1の接続部は、他のデバイス及び無線通信装置のうちの一方が親局状態で動作すべきことを決定すると共に、上記の他のデバイス及び無線通信装置のうちの他方が子局状態で動作すべきことを決定する状態決定処理を実行して、無線通信装置が状態決定処理で決定された状態で動作するように、上記の他のデバイスとの第1種の接続を確立する。第1の接続部は、第1のデバイスとの第1種の接続が確立されるべき場合に、第1の無線チャネルを利用して、第1のデバイスとの第1種の接続を確立する。第2の接続部は、他のデバイスとの第2種の接続を確立する。第2の接続部は、第1のデバイスとは異なる第2のデバイスとの第2種の接続が確立されるべき場合に、第2の無線チャネルを利用して、第2のデバイスとの第2種の接続を確立する。決定部は、第1のデバイスとの第1種の接続及び第2のデバイスとの第2種の接続のうちの一方の接続が確立されている状態で、第1のデバイスとの第1種の接続及び第2のデバイスとの第2種の接続のうちの他方の接続が確立されるべき特定の場合に、第1の無線チャネルの値と第2の無線チャネルの値とが一致するように、第1の無線チャネルの値と第2の無線チャネルの値とのうちの少なくとも一方を決定する。 In this specification, the mobile station can selectively operate in any one of a plurality of states including a master station state functioning as a master station of a wireless network and a slave station state functioning as a slave station of the wireless network. A wireless communication device is disclosed. The wireless communication device includes a first connection, a second connection, and a determination unit. The first connection unit determines that one of the other device and the wireless communication device should operate in the master state, and the other of the other device and the wireless communication device is in the slave state. A state determination process that determines what to operate is performed to establish a first type of connection with the other device described above such that the wireless communication device operates in the state determined by the state determination process. The first connection establishes a first type of connection with the first device using a first wireless channel when a first type of connection with the first device is to be established. . The second connection establishes a second type of connection with another device. The second connection unit uses the second wireless channel to establish a second connection with the second device when a second type of connection with the second device different from the first device is to be established. Establish two types of connection. The determination unit is configured to set the first type of connection with the first device while one of the first type of connection with the first device and the second type of connection with the second device is established. The value of the first radio channel and the value of the second radio channel match in the particular case where the other connection of the second connection with the second connection with the second connection is to be established Then, at least one of the value of the first radio channel and the value of the second radio channel is determined.
上記の技術では、無線通信装置は、特定の場合に、第1の無線チャネルの値と第2の無線チャネルの値とが一致するように、第1の無線チャネルの値と第2の無線チャネルの値とのうちの少なくとも一方を決定する。このために、無線通信装置は、第1のデバイスとの第1種の接続と、第2のデバイスとの第2種の接続と、の両方が確立されている状態を形成し得る。従って、無線通信装置は、特定の場合に、適切な接続状態を形成し得る。 In the above technology, the wireless communication device may, in certain cases, match the value of the first wireless channel with the value of the second wireless channel such that the value of the first wireless channel matches the value of the second wireless channel. Determine at least one of the value of. To this end, the wireless communication device may form a state in which both the first type of connection with the first device and the second type of connection with the second device are established. Thus, the wireless communication device may, in certain cases, form appropriate connection states.
特定の場合は、第2のデバイスとの第2種の接続が確立されている状態で、第1のデバイスとの第1種の接続が確立されるべき場合であってもよい。決定部は、特定の場合に、第2のデバイスとの第2種の接続で利用されている第2の無線チャネルの値を参照して、第2の無線チャネルの値に一致する第1の無線チャネルの値を決定してもよい。この構成によると、無線通信装置は、特定の場合に、第2の無線チャネルの値に一致する第1の無線チャネルの値を適切に決定し得る。 In certain cases, it may be the case that a first type of connection with the first device is to be established while a second type of connection with the second device is established. The determination unit refers to the value of the second radio channel used in the second type of connection with the second device in a specific case, and matches the value of the second radio channel with the value of the first radio channel. The value of the wireless channel may be determined. According to this configuration, the wireless communication device may appropriately determine the value of the first wireless channel that matches the value of the second wireless channel in a specific case.
第1の接続部は、特定の場合に、無線通信装置を親局状態で動作させるための特定の処理を実行してもよい。決定部は、特定の処理の後に、第2の無線チャネルの値を参照して、第2の無線チャネルの値に一致する第1の無線チャネルの値を決定してもよい。この構成によると、無線通信装置は、特定の場合に、第2の無線チャネルの値に一致する第1の無線チャネルの値を適切に決定し得る。 The first connection unit may execute, in a specific case, a specific process for operating the wireless communication device in the master station state. The determination unit may determine the value of the first wireless channel that matches the value of the second wireless channel by referring to the value of the second wireless channel after the specific processing. According to this configuration, the wireless communication device may appropriately determine the value of the first wireless channel that matches the value of the second wireless channel in a specific case.
第1の接続部は、さらに、第2のデバイスとの第2種の接続が確立されていない状態で、第1のデバイスとの第1種の接続が確立されるべき場合に、無線通信装置が保存する第1の設定値と、第1のデバイスが保存する設定値と、を比較することによって、状態決定処理を実行してもよい。第1の接続部は、特定の場合に、無線通信装置が保存する第2の設定値と、第1のデバイスが保存する設定値と、を比較することによって、状態決定処理を実行してもよい。第1の接続部は、特定の場合に、第1の設定値と比べて状態決定処理において無線通信装置が親局状態で動作すべきことが決定され易い第2の設定値を利用する特定の処理を実行してもよい。この構成によると、無線通信装置は、特定の場合に、無線通信装置を親局状態で動作させるための特定の処理を適切に実行し得る。 The first connection unit further includes a wireless communication device when the first type connection with the first device is to be established in a state in which the second type connection with the second device is not established. The state determination process may be performed by comparing the first setting value stored by the first setting value with the setting value stored by the first device. In the specific case, the first connection unit may execute the state determination process by comparing the second setting value stored by the wireless communication apparatus with the setting value stored by the first device. Good. The first connection unit is a specific one that uses a second set value that is easy to determine that the wireless communication apparatus should operate in the master station state in the state determination process in comparison with the first set value in a specific case. Processing may be performed. According to this configuration, in a specific case, the wireless communication device may appropriately execute a specific process for operating the wireless communication device in the master station state.
第1の接続部は、特定の場合に、無線通信装置が親局状態で動作することを維持するための特定のモードに無線通信装置を設定するための特定の処理を実行してもよい。この構成によると、無線通信装置は、特定の場合に、無線通信装置を親局状態で動作させるための特定の処理を適切に実行し得る。 The first connection unit may execute, in a specific case, a specific process for setting the wireless communication device in a specific mode for maintaining the wireless communication device operating in the master station state. According to this configuration, in a specific case, the wireless communication device may appropriately execute a specific process for operating the wireless communication device in the master station state.
決定部は、さらに、第2のデバイスとの第2種の接続が確立されていない状態で、第1のデバイスとの第1種の接続が確立されるべき場合に、第2の無線チャネルの値を参照せずに、第1の無線チャネルの値を決定してもよい。この構成によると、無線通信装置は、状況に応じて、第1の無線チャネルの値を適切に決定し得る。 The determination unit further determines if the first type of connection with the first device is to be established in a state in which the second type of connection with the second device is not established. The value of the first wireless channel may be determined without reference to the value. According to this configuration, the wireless communication device may appropriately determine the value of the first wireless channel according to the situation.
無線通信装置は、さらに、特定の場合に、無線通信装置が利用可能な無線チャネルの値として、第2の無線チャネルの値のみを、第1のデバイスに通知する通知部を備えていてもよい。この構成によると、無線通信装置は、第1のデバイスとの第1種の接続を適切に確立し得る。 The wireless communication device may further include, in a specific case, a notification unit that notifies the first device of only the value of the second wireless channel as the value of the wireless channel available to the wireless communication device. . According to this configuration, the wireless communication device may appropriately establish the first type connection with the first device.
通知部は、さらに、第2の無線チャネルの値のみを第1のデバイスに通知しても、第1のデバイスとの第1種の接続を確立することができない場合に、無線通信装置が利用可能な無線チャネルの値として、第2の無線チャネルの値とは異なる値を、第1のデバイスに通知してもよい。この構成によると、無線通信装置は、第1のデバイスとの第1種の接続を適切に確立し得る。 The notification unit further uses the wireless communication apparatus when the first type connection with the first device can not be established even if the first device is notified of only the value of the second wireless channel. A value different from the value of the second wireless channel may be notified to the first device as the value of the possible wireless channel. According to this configuration, the wireless communication device may appropriately establish the first type connection with the first device.
決定部は、特定の場合であり、かつ、無線通信装置が親局状態で動作すべきことが決定される場合に、第2の無線チャネルの値を参照して、第2の無線チャネルの値に一致する第1の無線チャネルの値を決定してもよい。無線通信装置は、さらに、特定の場合であり、かつ、無線通信装置が子局状態で動作すべきことが決定される場合に、第1の無線チャネルの値と第2の無線チャネルの値とが一致するのか否かを判断するチャネル判断部を備えていてもよい。第1の接続部は、第1の無線チャネルの値と第2の無線チャネルの値とが一致すると判断される場合に、第1の無線チャネルを利用して、第1のデバイスとの第1種の接続を確立してもよい。この構成によると、無線通信装置は、無線通信装置が動作すべき状態に応じた適切な処理を実行し得る。このために、無線通信装置は、第1のデバイスとの第1種の接続を適切に確立し得る。 The determination unit is a specific case, and when it is determined that the wireless communication apparatus should operate in a master state, the value of the second wireless channel is referred to with reference to the value of the second wireless channel. The value of the first radio channel may be determined to match. The wireless communication device is also in a particular case and when it is determined that the wireless communication device is to operate in the slave state, the value of the first wireless channel and the value of the second wireless channel A channel determination unit may be provided to determine whether or not there is a match. The first connection unit uses the first radio channel to determine the first connection with the first device when it is determined that the value of the first radio channel matches the value of the second radio channel. A connection of the species may be established. According to this configuration, the wireless communication device can perform appropriate processing according to the state in which the wireless communication device should operate. To this end, the wireless communication device may appropriately establish a first type of connection with the first device.
第2のデバイスは、アクセスポイントであってもよい。この構成によると、無線通信装置は、アクセスポイント(即ち第2のデバイス)との第2種の接続を適切に確立し得る。 The second device may be an access point. According to this configuration, the wireless communication device can appropriately establish the second type of connection with the access point (ie, the second device).
第2の無線チャネルの値は、アクセスポイントによって決定される値であってもよい。この構成によると、無線通信装置は、アクセスポイントによって決定される第2の無線チャネルを利用して、アクセスポイント(即ち第2のデバイス)との第2種の接続を適切に確立し得る。 The value of the second wireless channel may be a value determined by the access point. According to this configuration, the wireless communication device may appropriately establish the second type connection with the access point (ie, the second device) using the second wireless channel determined by the access point.
なお、上記の無線通信装置を実現するための制御方法、コンピュータプログラム、及び、当該コンピュータプログラムを格納するコンピュータ読取可能記録媒体も、新規で有用である。 A control method for realizing the above-described wireless communication device, a computer program, and a computer readable recording medium storing the computer program are also novel and useful.
(第1実施例)
(システムの構成)
図1に示されるように、通信システム2は、アクセスポイント(以下では「AP」と呼ぶ)4と、PC6と、携帯端末8と、プリンタ10(PC6、携帯端末8等の周辺機器)と、を備える。携帯端末8とプリンタ10とは、それぞれ、後述のWi−Fi Directに従った無線通信機能を実行可能である。なお、以下では、Wi−Fi Directのことを「WFD」と呼び、WFDに従った接続のことを「WFD接続」と呼ぶ。プリンタ10は、携帯端末8とのWFD接続を確立可能であり、これにより、WFDネットワークが構築される。この結果、携帯端末8とプリンタ10とは、印刷データ等の通信対象の対象データの無線通信を実行可能になる。
(First embodiment)
(System configuration)
As shown in FIG. 1, the communication system 2 includes an access point (hereinafter referred to as “AP”) 4, a PC 6, a
プリンタ10は、WFDに従った無線通信機能に加えて、通常の無線通信機能(例えば、IEEE802.11に従った無線通信)を実行可能である。即ち、プリンタ10は、AP4との接続(以下では「非WFD接続」と呼ぶ)を確立可能であり、これにより、非WFDネットワークが構築される。なお、PC6も、AP4との非WFD接続を確立可能である。この結果、プリンタ10とPC6とは、AP4を介して、印刷データ等の通信対象の対象データの無線通信を実行可能になる。
The
本実施例では、AP4とPC6とプリンタ10とが、例えば、特定の会社内に据え置きされる状況を想定している。即ち、特定の会社内では、AP4とPC6とプリンタ10とを含む非WFDネットワークが構築される。このために、PC6のユーザ(例えば特定の会社の社員)は、AP4を介して、プリンタ10に印刷を実行させることができる。そして、例えば、携帯端末8のユーザ(例えば特定の会社を訪問した者)は、携帯端末8とプリンタ10との間にWFD接続を一時的に確立することができる。即ち、携帯端末8のユーザは、携帯端末8とプリンタ10とを含むWFDネットワークを一時的に構築させることができる。これにより、携帯端末8のユーザは、AP4を介さずに、プリンタ10に印刷を実行させることができる。このように、本実施例では、非WFDネットワークが定常的に構築されるべきネットワークであり、WFDネットワークが一時的に構築されるべきネットワークである状況を想定している。
In the present embodiment, it is assumed that, for example, the
(プリンタ10の構成)
プリンタ10は、操作部12と、表示部14と、印刷実行部16と、無線インターフェイス18と、制御部20と、を備える。上記の各部12〜20は、バス線(符号省略)に接続されている。操作部12は、複数のキーによって構成される。ユーザは、操作部12を操作して、様々な指示をプリンタ10に与えることができる。表示部14は、様々な情報を表示するためのディスプレイである。印刷実行部16は、インクジェット方式、レーザ方式等の印刷機構を備え、制御部20からの指示に従って印刷を実行する。
(Configuration of printer 10)
The
無線インターフェイス18は、制御部20が無線通信を実行する際に利用されるインターフェイスである。無線インターフェイス18は、物理的には1個のインターフェイスである。ただし、無線インターフェイス18には、WFD接続で利用されるべきMACアドレスと、非WFD接続で利用されるべきMACアドレスと、の両方が割り当てられている。従って、制御部20は、無線インターフェイス18を利用して、WFDに従った無線通信機能と通常の無線通信機能との両方を同時的に実行し得る。この結果、後で詳しく説明するが、制御部20は、WFD接続と非WFD接続との両方が確立されている状態を形成し得る。
The
制御部20は、CPU22とメモリ24とを備える。CPU22は、メモリ24に格納されているプログラムに従って、様々な処理を実行する。メモリ24は、ROM、RAM、ハードディスク等によって構成される。メモリ24は、CPU22によって実行される上記のプログラムを格納したり、CPU22が処理を実行する過程で取得又は生成されるデータを格納したりする。CPU22が上記のプログラムに従って処理を実行することによって、第1の接続部30、第2の接続部32、決定部34、通知部36、及び、チャネル判断部38の各機能が実現される。
The
詳しくは後述するが、第1の接続部30は、WFDに従った無線通信機能を実行するためのユニットである。例えば、第1の接続部30は、携帯端末8とのWFD接続を確立する。また、第2の接続部32は、WFDに従った無線通信機能ではなく、通常の無線通信機能を実行するためのユニットである。例えば、第2の接続部32は、AP4との非WFD接続を確立する。
Although the details will be described later, the
(PC6の構成)
PC6は、WFDに従った無線通信機能を実行不可能である。ただし、変形例では、PC6は、WFDに従った無線通信機能を実行可能であってもよい。PC6は、AP4との非WFD接続を確立することができる。PC6は、図示省略のCPU、メモリ、ディスプレイ等を備える。PC6のメモリは、プリンタ10のためのプリンタドライバプログラムを格納している。PC6のCPUは、プリンタドライバプログラムを利用して、印刷対象の印刷データを生成することができる。プリンタ10とAP4との間に非WFD接続が確立されていると共に、PC6とAP4との間に非WFD接続が確立されている状態では、PC6は、AP4を介して、印刷データをプリンタ10に無線で送信可能である。
(Configuration of PC 6)
The PC 6 can not execute the wireless communication function according to the WFD. However, in a modification, the PC 6 may be able to execute the wireless communication function according to the WFD. The PC 6 can establish a non-WFD connection with the
(携帯端末8の構成)
携帯端末8は、可搬型の端末であり、例えば、スマートフォン、PDA端末、ノートPC、タブレットPC等を含む。携帯端末8は、WFDに従った無線通信機能を実行可能である。携帯端末8は、プリンタ10とのWFD接続を確立可能である。携帯端末8は、図示省略のCPU、メモリ、ディスプレイ等を備える。携帯端末8のメモリは、プリンタ10のためのプリンタドライバプログラムを格納している。携帯端末8のCPUは、プリンタドライバプログラムを利用して、印刷対象の印刷データを生成することができる。プリンタ10と携帯端末8との間にWFD接続が確立されている状態では、携帯端末8は、AP4を介さずに、印刷データをプリンタ10に無線で送信可能である。
(Configuration of portable terminal 8)
The
(WFD)
WFDは、Wi−Fi Allianceによって策定された規格である。WFDは、Wi−Fi Allianceによって作成された「Wi−Fi Peer−to−Peer(P2P) Technical Specification Version1.1」に記述されている。
(WFD)
WFD is a standard formulated by the Wi-Fi Alliance. WFD is described in "Wi-Fi Peer-to-Peer (P2P) Technical Specification Version 1.1" created by the Wi-Fi Alliance.
上述したように、プリンタ10と携帯端末8とは、それぞれ、WFDに従った無線通信機能を実行可能である。以下では、WFDに従った無線通信機能を実行可能な機器のことを「WFD対応機器」と呼ぶ。WFDの規格では、WFD対応機器の状態として、Group Owner状態(以下では「G/O状態」と呼ぶ)、クライアント状態、及び、デバイス状態の3つの状態が定義されている。WFD対応機器は、上記の3つの状態のうちの1つの状態で選択的に動作可能である。
As described above, the
G/O状態の機器とクライアント状態の機器とによって、1個のWFDネットワークが構成される。1個のWFDネットワークでは、G/O状態の機器が1個しか存在し得ないが、クライアント状態の機器が1個以上存在し得る。G/O状態の機器は、1個以上のクライアント状態の機器を管理する。具体的に言うと、G/O状態の機器は、1個以上のクライアント状態の機器のそれぞれの識別情報(即ちMACアドレス)が記述された管理リストを生成する。G/O状態の機器は、クライアント状態の機器がWFDネットワークに新たに参加すると、当該機器の識別情報を管理リストに追加し、クライアント状態の機器がWFDネットワークから離脱すると、当該機器の識別情報を管理リストから削除する。 A single WFD network is configured by the devices in the G / O state and the devices in the client state. In one WFD network, there may be only one device in the G / O state, but there may be one or more devices in the client state. Devices in the G / O state manage devices in one or more client states. Specifically, the device in the G / O state generates a management list in which identification information (ie, MAC address) of each of the devices in one or more client states is described. A device in the G / O state adds identification information of the device to the management list when the device in the client state newly joins the WFD network, and when the device in the client state leaves the WFD network, identification information of the device is displayed. Remove from management list.
G/O状態の機器は、管理リストに登録されている機器、即ち、クライアント状態の機器との間で、通信対象の対象データ(例えば、OSI参照モデルのネットワーク層の情報を含むデータ(印刷データ等))の無線通信を実行可能である。しかしながら、G/O状態の機器は、管理リストに登録されていない機器との間で、WFDネットワークに参加するためのデータ(例えば、ネットワーク層の情報を含まないデータ(Probe Request信号、Probe Response信号等の物理層のデータ)の無線通信を実行可能であるが、上記の対象データの無線通信を実行不可能である。例えば、G/O状態のプリンタ10は、管理リストに登録されている携帯端末8(即ち、クライアント状態の携帯端末8)から印刷データを無線で受信可能であるが、管理リストに登録されていない機器から印刷データを無線で受信不可能である。
Devices in the G / O state communicate with target devices registered in the management list, that is, devices in the client state (for example, data (print data including information of the network layer of the OSI reference model) Etc.) can be performed. However, devices in the G / O state can not participate in the WFD network with devices not registered in the management list (for example, data that does not include network layer information (Probe Request signal, Probe Response signal) Wireless communication of physical layer data (eg, physical layer data, etc.), but not wireless communication of the above-mentioned target data For example, the
また、G/O状態の機器は、複数個のクライアント状態の機器の間の対象データ(印刷データ等)の無線通信を中継可能である。例えば、クライアント状態の携帯端末8がクライアント状態の他のプリンタに印刷データを無線で送信すべき場合には、携帯端末8は、まず、印刷データをG/O状態のプリンタ10に無線で送信する。この場合、プリンタ10は、携帯端末8から印刷データを無線で受信して、上記の他のプリンタに印刷データを無線で送信する。即ち、G/O状態の機器は、無線ネットワークのAP(アクセスポイント)の機能を実行可能である。
Also, a device in the G / O state can relay wireless communication of target data (such as print data) between a plurality of devices in the client state. For example, when the
なお、WFDネットワークに参加していないWFD対応機器(即ち、管理リストに登録されていない機器)が、デバイス状態の機器である。デバイス状態の機器は、WFDネットワークに参加するためのデータ(Probe Request信号、Probe Response信号等の物理層のデータ等)の無線通信を実行可能であるが、WFDネットワークを介して対象データ(印刷データ等)の無線通信を実行不可能である。 Note that WFD compatible devices not participating in the WFD network (that is, devices not registered in the management list) are devices in the device state. A device in the device state can execute wireless communication of data for joining a WFD network (data of a physical layer such as a probe request signal, probe response signal, etc.), but target data (print data) via the WFD network Etc.) can not be performed.
(非WFD接続処理;図2)
続いて、プリンタ10によって実行される処理の内容について説明する。まず、図2を参照して、プリンタ10によって実行される非WFD接続処理の内容を説明する。ユーザが予め決められている非WFD接続指示を操作部12に入力する場合に、制御部20は、図2の非WFD接続処理を開始する。
(Non-WFD connection process; Fig. 2)
Next, the contents of processing executed by the
S10において、第2の接続部32は、プリンタ10の周囲に存在する各APを検索するためのScan処理を実行する。次いで、S12において、第2の接続部32は、Scan処理で見つかった各APに関する情報(例えば、SSID等)を含むAPリストを、表示部14に表示させる。プリンタ10のユーザは、APリストの中から、プリンタ10との接続が確立されるべきAPを指定する。第2の接続部32は、ユーザの指示に従って、APを選択する。以下では、AP4が選択された場合を例として、説明を続ける。
In S <b> 10, the
詳しくは後述するが、第1の接続部30は、G/Oネゴシエーション(図3のS42等参照)を実行して、WFD接続を確立する。これに対し、第2の接続部32は、G/Oネゴシエーションを実行しない。AP4は、1〜14chの中から、非WFD接続で利用されるべき無線チャネルの値(以下では「非WFDチャネル値Vap」と呼ぶ)を決定する。AP4は、非WFDチャネル値Vapをプリンタ10に送信する。この結果、S13において、第2の接続部32は、AP4から非WFDチャネル値Vapを受信する。第2の接続部32は、非WFDチャネル値Vapを、メモリ24に記憶させる。
Although described later in detail, the
次いで、S14において、第2の接続部32は、プリンタ10と携帯端末8との間にWFD接続が確立されているのか否かを判断する。WFD接続が確立されている場合(S14でYESの場合)には、S16に進み、WFD接続が確立されていない場合(S14でNOの場合)には、S20に進む。
Next, in S14, the
S20では、第2の接続部32は、S13で受信された非WFDチャネル値Vapを利用して、認証のための通信をAP4と実行する。ここで実行される通信では、第2の接続部32は、認証方式、暗号化方式、パスワード等のデータを、AP4に送信する。これにより、AP4は、認証方式、暗号化方式、パスワード等の認証を実行して、認証が成功すれば、認証成功を示すデータを、プリンタ10に送信する。これにより、プリンタ10とAP4との間に非WFD接続が確立される。この結果、プリンタ10(即ち第2の接続部32)は、非WFDチャネル値Vapを利用して、AP4を介して、通信対象の対象データ(印刷データ等)の通信をPC6と実行することができる。S20が終了すると、図2の非WFD接続処理が終了する。
In S20, the
一方において、S16では、第2の接続部32は、携帯端末8とのWFD接続が切断されることを示す情報を、表示部14に表示させる。次いで、S18において、第1の接続部30は、プリンタ10の状態をG/O状態又はクライアントからデバイス状態に変更する。例えば、プリンタ10の現在の状態がG/O状態である場合には、第1の接続部30は、G/O状態のプリンタ10が保存している管理リストと、WFD接続で現在利用されている無線チャネルの値(以下では「WFDチャネル値Vwfd」と呼ぶ)と、をメモリ24から消去する。これにより、プリンタ10は、G/O状態からデバイス状態に移行し、この結果、プリンタ10と携帯端末8との間のWFD接続が切断される。また、例えば、プリンタ10の現在の状態がクライアント状態である場合には、第1の接続部30は、WFDチャネル値Vwfdをメモリ24から消去する。これにより、プリンタ10は、クライアント状態からデバイス状態に移行し、この結果、プリンタ10と携帯端末8との間のWFD接続が切断される。
On the other hand, in S16, the
S18を終えると、S20において、第2の接続部32は、上記と同様に、S13で受信された非WFDチャネル値Vapを利用して、AP4との非WFD接続を確立する。S18で携帯端末8とのWFD接続が切断されるために、AP4との非WFD接続のみが確立されている状態が形成される。
After S18, in S20, the
例えば、携帯端末8とのWFD接続が確立中である場合(S14でYESの場合)に、携帯端末8とのWFD接続を切断せずに、携帯端末8とのWFD接続と、AP4との非WFD接続と、の両方が確立されている状態を形成する構成を採用することが考えられる。しかしながら、無線インターフェイス18は、物理的には1個のインターフェイスである。従って、仮に、WFDチャネル値Vwfdと非WFDチャネル値Vapとが異なる場合には、プリンタ10は、WFD接続を利用した無線通信と、非WFD接続を利用した無線通信と、を同時的に適切に実行することができない。このような状況が発生することを避けるために、本実施例では、S14でYESの場合に、携帯端末8とのWFD接続を切断して(S18)、AP4との非WFD接続のみが確立されている状態を形成する構成を採用している。
For example, when the WFD connection with the
なお、WFD接続が確立中である場合(S14でYESの場合)に、AP4との非WFD接続を確立せずに、携帯端末8とのWFD接続を維持する構成(即ち、携帯端末8とのWFD接続のみが確立されている状態を形成する構成)を採用することが考えられる。しかしながら、上述したように、非WFDネットワークは、定常的に構築されるべきネットワークであり、このようなネットワークが切断されると、PC6のユーザは、プリンタ10に印刷を実行させることができなくなる。このような事象が発生するのを抑制するために、本実施例では、S14でYESの場合に、一時的に確立されるべき携帯端末8とのWFD接続を切断して、定常的に確立されるべきAP4との非WFD接続のみが確立されている状態を形成する構成を採用している。即ち、本実施例では、定常的に確立されるべきAP4との非WFD接続を優先する構成を採用している。
When WFD connection is being established (YES in S14), the WFD connection with the
(WFD接続処理;図3)
続いて、図3を参照して、デバイス状態のプリンタ10によって実行されるWFD接続処理の内容を説明する。ユーザが予め決められているWFD接続指示を操作部12に入力する場合に、制御部20は、図3のWFD接続処理を開始する。
(WFD connection process; Fig. 3)
Subsequently, the contents of the WFD connection process executed by the
S40では、第1の接続部30は、プリンタ10とAP4との間に非WFD接続が確立されているのか否かを判断する。非WFD接続が確立されている場合(S40でYESの場合)には、S46に進み、非WFD接続が確立されていない場合(S40でNOの場合)には、S42に進む。
In S40, the
なお、図3のフローチャートでは図示省略しているが、第1の接続部30は、S40でYES及びNOのどちらの場合であっても、プリンタ10の周囲に存在するデバイス状態の各機器(例えば携帯端末8)を検索するためのSearch処理を実行する。さらに、第1の接続部30は、Search処理で見つかった各機器に関する情報(例えば、デバイス名、機種名、MACアドレス等)を含む機器リストを、表示部14に表示させる。プリンタ10のユーザは、機器リストの中から、プリンタ10との接続が確立されるべき機器を指定する。第1の接続部30は、ユーザの指示に従って、機器を選択する。以下では、携帯端末8が選択された場合を例として、説明を続ける。
Although not illustrated in the flowchart of FIG. 3, each device of the device state existing in the periphery of the printer 10 (for example, the
また、デバイス状態の携帯端末8は、WFD接続指示が携帯端末8に入力される場合に、プリンタ10と同様に、Search処理を実行する。これにより、携帯端末8の表示部に、プリンタ10に関する情報を含む機器リストが表示される。携帯端末8のユーザは、機器リストの中から、携帯端末8との接続が確立されるべき機器を選択する。以下では、プリンタ10が選択された場合を例として、説明を続ける。
Further, when the WFD connection instruction is input to the
S42では、第1の接続部30は、G/Oネゴシエーションを実行して、プリンタ10及び携帯端末8のうちの一方の機器をG/Oとして決定し、プリンタ10及び携帯端末8のうちの他方の機器をクライアントとして決定する。具体的に言うと、第1の接続部30は、まず、メモリ24に保存されているプリンタ10のIntent値を、携帯端末8に送信する。また、第1の接続部30は、携帯端末8に保存されている携帯端末8のIntent値を、携帯端末8から受信する。Intent値は、G/Oになるべき程度を示す設定値である。Intent値は、0〜15の数値範囲の中のいずれかの値である。Intent値が大きい程、G/Oになり易い。換言すると、Intent値が小さい程、クライアントになり易い。
In S42, the
例えば、CPU及びメモリの能力が比較的に高い機器(例えばPC)は、G/Oとして動作しながら、他の処理を高速で実行することができる。従って、このような機器には、通常、G/Oになり易いように、比較的に大きなIntent値が設定される。一方において、例えば、CPU及びメモリの能力が比較的に低い機器は、G/Oとして動作しながら、他の処理を高速で実行することができない可能性がある。従って、このような機器には、通常、G/Oになり難いように(即ち、クライアントになり易いように)、比較的に小さなIntent値が設定される。 For example, a device with relatively high CPU and memory capabilities (eg, a PC) can perform other processing at high speed while operating as a G / O. Therefore, a relatively large Intent value is usually set in such a device so as to easily become G / O. On the other hand, for example, a device having a relatively low CPU and memory capacity may not be able to execute other processes at high speed while operating as a G / O. Therefore, relatively small Intent values are usually set for such devices so as to be less likely to be G / O (i.e., more likely to be a client).
本実施例では、S42のG/Oネゴシエーションでは、プリンタ10のIntent値(即ちデフォルトのIntent値)として、「2」が利用される。プリンタ10は、通常、PC等と比べて、CPU及びメモリの能力が比較的に低い。このために、プリンタ10には、比較的に小さいデフォルトのIntent値が設定される。従って、S42では、第1の接続部30は、プリンタ10のIntent値「2」を携帯端末8に送信する。
In the present embodiment, “2” is used as the Intent value (that is, the default Intent value) of the
S42では、第1の接続部30は、さらに、プリンタ10のIntent値と、携帯端末8のIntent値と、を比較して、G/O及びクライアントを決定する。例えば、プリンタ10のIntent値が、携帯端末8のIntent値よりも大きい場合には、第1の接続部30は、プリンタ10がG/Oになるべきことを決定すると共に、携帯端末8がクライアントになるべきことを決定する。また、例えば、プリンタ10のIntent値が、携帯端末8のIntent値よりも小さい場合には、第1の接続部30は、プリンタ10がクライアントになるべきことを決定すると共に、携帯端末8がG/Oになるべきことを決定する。なお、第1の接続部30は、プリンタ10のIntent値と、携帯端末8のIntent値と、が一致する場合には、プリンタ10のIntent値を変更し、変更後のIntent値を利用して、G/Oネゴシエーションを再び実行してもよいし、WFD接続を確立することができないことを示す情報を、表示部14に表示させてもよい。
In S42, the
携帯端末8は、プリンタ10と同じ手法を利用して、プリンタ10のIntent値と携帯端末8のIntent値とに基づいて、G/O及びクライアントを決定する。
The
なお、S42のG/Oネゴシエーションの過程において、通知部36は、プリンタ10がWFD接続で利用可能な無線チャネルの値として、1〜14chの全ての値を含むチャネルリスト(以下では「通常リスト」と呼ぶ)を、携帯端末8に通知(即ち送信)する。同様に、携帯端末8は、携帯端末8がWFD接続で利用可能な無線チャネルの値を含むチャネルリストを、プリンタ10に通知(即ち送信)する。これにより、第1の接続部30は、携帯端末8のチャネルリストを取得することができる。S42のG/Oネゴシエーションが終了すると、S44に進む。
Note that, in the process of G / O negotiation in S42, the
S44では、S42のG/Oネゴシエーションの結果に応じた処理が実行される。例えば、プリンタ10がG/Oになるべきことが決定された場合には、S44では、決定部34は、WFD接続で利用されるべきWFDチャネル値Vwfdを決定する。具体的に言うと、決定部34は、S42で携帯端末8に通知された通常リストに含まれる無線チャネルの値(1〜14ch)のうち、S42で携帯端末8から通知されたチャネルリストに含まれる1個の無線チャネルの値を、WFDチャネル値Vwfdとして決定する。本実施例では、携帯端末8から通知されたチャネルリストに「11ch」が含まれていれば、決定部34は、WFDチャネル値Vwfdとして、「11ch」を決定する。ただし、携帯端末8から通知されたチャネルリストに「11ch」が含まれていなければ、決定部34は、WFDチャネル値Vwfdとして、他の値(例えば「10ch」)を決定する。
In S44, processing is performed according to the result of the G / O negotiation in S42. For example, when it is determined that the
次いで、第1の接続部30は、決定済みのWFDチャネル値Vwfdを、携帯端末8に送信(即ち通知)する。これにより、携帯端末8は、WFDチャネル値Vwfdを知ることができ、以降の通信において、WFDチャネル値Vwfdを利用することができる。なお、第1の接続部30は、決定済みのWFDチャネル値Vwfdを、プリンタ10のメモリ24に記憶させる。
Next, the
一方において、プリンタ10がクライアントになるべきことが決定された場合には、S44では、決定部34は、WFDチャネル値Vwfdを決定しない。この場合、第1の接続部30は、G/O状態の携帯端末8から、携帯端末8によって決定されたWFDチャネル値Vwfdを受信する。この場合、第1の接続部30は、受信済みのWFDチャネル値Vwfdを、プリンタ10のメモリ24に記憶させる。
On the other hand, when it is determined that the
S44では、さらに、第1の接続部30は、WPS(Wi-Fi Protected Setup)ネゴシエーションを実行して、携帯端末8とのWFD接続を確立する。なお、プリンタ10がG/Oになるべきことが決定された場合には、第1の接続部30は、G/O状態用のWPSネゴシエーションを実行する。一方において、プリンタ10がクライアントになるべきことが決定された場合には、第1の接続部30は、クライアント状態用のWPSネゴシエーションを実行する。
In S44, the
(G/O状態用のWPSネゴシエーション)
G/O状態用のWPSネゴシエーションでは、第1の接続部30は、WFD接続を確立するために必要な無線プロファイル(SSID、認証方式、暗号化方式、パスワード等)を示すデータを生成する。なお、認証方式及び暗号化方式は、予め決められている。また、第1の接続部30は、S44の処理の際にパスワードを生成する。なお、SSIDは、S44の処理の際に、第1の接続部30によって生成されてもよいし、予め決められていてもよい。続いて、第1の接続部30は、WFDチャネル値Vwfdを利用して、無線プロファイルを示すデータを、携帯端末8に送信する。
(WPS negotiation for G / O state)
In the WPS negotiation for the G / O state, the
無線プロファイルがプリンタ10から携帯端末8に送信されることにより、プリンタ10及び携帯端末8が同じ無線プロファイルを利用することができる。第1の接続部30は、無線プロファイルを利用して、Authentication Request、Authentication Response、Association Request、Association Response、及び、4way handshakeの無線通信(以下では「特定の無線通信」と呼ぶ)を、携帯端末8と実行する。なお、上記の特定の無線通信でも、WFDチャネル値Vwfdが利用される。上記の特定の無線通信の過程で、SSIDの認証、認証方式及び暗号化方式の認証、パスワードの認証等の様々な認証処理が実行される。全ての認証が成功した場合に、プリンタ10及び携帯端末8の間にWFD接続が確立される。
By transmitting the wireless profile from the
次いで、第1の接続部30は、携帯端末8の識別情報(即ち、携帯端末8のMACアドレス)を管理リストに追加する。これにより、G/O状態のプリンタ10(即ち第1の接続部30)は、クライアント状態の携帯端末8との間で、WFDチャネル値Vwfdを利用して、通信対象の対象データ(印刷データ等)の通信を実行することが。なお、対象データは、OSI参照モデルの物理層よりも上位層であるネットワーク層のデータを含む。従って、G/O状態のプリンタ10(即ち第1の接続部30)は、クライアント状態の携帯端末8との間で、ネットワーク層の無線通信を実行することができる。さらに、G/O状態のプリンタ10(即ち第1の接続部30)は、クライアント状態の携帯端末8と、管理リストに登録されているクライアント状態の他の機器と、の間の無線通信を中継することができる。
Next, the
上述したように、第1の接続部30は、G/Oネゴシエーションでプリンタ10がG/Oになるべきことが決定される場合に、プリンタ10がG/O状態で動作するように、WFDチャネル値Vwfdを利用して、携帯端末8とのWFD接続を確立する。
As described above, the
(クライアント状態用のWPSネゴシエーション)
一方において、クライアント状態用のWPSネゴシエーションでは、第1の接続部30は、WFDチャネル値Vwfdを利用して、無線プロファイルを示すデータを、携帯端末8から受信する。次いで、第1の接続部30は、無線プロファイルを利用して、上記の特定の無線通信を、携帯端末8と実行する。これにより、プリンタ10及び携帯端末8の間にWFD接続が確立される。
(WPS negotiation for client state)
On the other hand, in the WPS negotiation for the client state, the
なお、携帯端末8は、プリンタ10の識別情報(即ち、プリンタ10のMACアドレス)を管理リストに追加する。これにより、クライアント状態のプリンタ10(即ち第1の接続部30)は、G/O状態の携帯端末8との間で、WFDチャネル値Vwfdを利用して、通信対象の対象データ(印刷データ等)の通信を実行することができる。
The
上述したように、第1の接続部30は、G/Oネゴシエーションでプリンタ10がクライアントになるべきことが決定される場合に、プリンタ10がクライアント状態で動作するように、WFDチャネル値Vwfdを利用して、携帯端末8とのWFD接続を確立する。S44が終了すると、図3のWFD接続処理が終了する。
As described above, the
続いて、S40でYESの場合(非WFD接続が現在確立されている場合)に実行されるS46以降の処理の内容を説明する。S46では、第1の接続部30は、図3のWFD接続処理が開始されてから、1回目のG/Oネゴシエーションが実行されるべき状況であるのか否かを判断する。1回目のG/Oネゴシエーションが実行されるべき状況である場合(S46でYESの場合)には、S48に進み、2回目以降のG/Oネゴシエーションが実行されるべき状況である場合(S46でNOの場合)には、S50に進む。
Next, the contents of the processing of S46 and subsequent steps executed in the case of YES at S40 (when a non-WFD connection is currently established) will be described. At S46, the
S48では、第1の接続部30は、S42と同様に、G/Oネゴシエーションを実行する。ただし、S48のG/Oネゴシエーションは、以下の点において、S42とは異なる。S48のG/Oネゴシエーションでは、プリンタ10のIntent値として、「14」が採用される。従って、S48では、第1の接続部30は、プリンタ10のIntent値「14」を携帯端末8に送信する。また、S48では、通知部36は、プリンタ10がWFD接続で利用可能な無線チャネルの値として、現在確立されている非WFD接続で利用されている非WFDチャネル値Vap(即ちメモリ24内の非WFDチャネル値Vap)のみを含むチャネルリスト(以下では「制限リスト」と呼ぶ)を、携帯端末8に通知(即ち送信)する。S48のG/Oネゴシエーションが終了すると、S52に進む。
In S48, the
S52では、第1の接続部30は、G/Oネゴシエーションが成功したのか否かを判断する。例えば、プリンタ10と携帯端末8との間の通信環境が悪い場合には、プリンタ10と携帯端末8との間でG/Oネゴシエーションのための通信を実行することができない。この場合、第1の接続部30は、S52でNOと判断する。また、例えば、S48のG/Oネゴシエーションにおいて、制限リスト(即ち非WFDチャネル値Vap)が携帯端末8に通知される場合には、以下の事象が起こる可能性がある。即ち、携帯端末8から通知されるチャネルリストの中に、非WFDチャネル値Vapが含まれない場合には、プリンタ10及び携帯端末8が共通の無線チャネルを利用することができない。従って、この場合も、第1の接続部30は、S52でNOと判断する。S52でNOの場合には、S54に進む。
In S52, the
S54では、第1の接続部30は、G/Oネゴシエーションが実行された回数が閾値(閾値は2以上の整数)以上であるのか否かを判断する。G/Oネゴシエーションの実行回数が閾値以上である場合(S54でYESの場合)には、S56において、第1の接続部30は、WFD接続を確立することができないことを示す情報を、表示部14に表示させる。この場合、第1の接続部30は、携帯端末8とのWFD接続を確立しない。従って、AP4との非WFD接続のみが確立されている状態が維持される。S56が終了すると、図3のWFD接続処理が終了する。
In S54, the
一方において、G/Oネゴシエーションの実行回数が閾値未満である場合(S54でNOの場合)には、S46に戻る。この場合、第1の接続部30は、S46でNOと判断して、S50に進む。
On the other hand, if the number of executions of the G / O negotiation is less than the threshold (if NO at S54), the process returns to S46. In this case, the
S50では、第1の接続部30は、S42と同様に、G/Oネゴシエーションを実行する。ただし、S50のG/Oネゴシエーションでは、プリンタ10のIntent値として、「14」が採用される。従って、S50では、第1の接続部30は、プリンタ10のIntent値「14」を携帯端末8に送信する。なお、S50では、通知部36は、通常リスト(1〜14ch)を携帯端末8に通知する。即ち、通知部36は、S48のG/Oネゴシエーションが成功しない場合に、非WFDチャネル値Vapとは異なる値を携帯端末8に通知する。
In S50, the
なお、変形例では、S48及びS50において、第1の接続部30は、プリンタ10のIntent値として、「14」とは異なる値(例えば「13」、「15」等)を利用してもよい。即ち、S48及びS50では、第1の接続部30は、S42で利用されるプリンタ10のIntent値(即ちデフォルトのIntent値)よりも大きいIntent値を利用すればよい。
In the modification, in S48 and S50, the
上述したように、S48のG/Oネゴシエーションでは、制限リストが携帯端末8に通知されるために、S52でNOと判断され得る。この場合、S50のG/Oネゴシエーションが再び実行されると、制限リストに代えて通常リストが携帯端末8に通知されるために、S52でYESと判断され得る。S52でYESの場合には、S58に進む。
As described above, in the G / O negotiation in S48, the restriction list may be notified to the
S58では、第1の接続部30は、S48又はS50のG/Oネゴシエーションにおいて、プリンタ10がG/Oになるべきことが決定されたのか否かを判断する。S48又はS50のG/Oネゴシエーションでは、プリンタ10のIntent値「14」が利用されるために、通常、プリンタ10がG/Oになるべきことが決定される。この場合、第1の接続部30は、S58でYESと判断して、S64に進む。
In S58, the
S64では、決定部34は、現在確立されている非WFD接続で利用されている非WFDチャネル値Vap(即ちメモリ24内の非WFDチャネル値Vap)を参照して、非WFDチャネル値Vapに一致するWFDチャネル値Vwfdを決定する。そして、決定部34は、決定済みのWFDチャネル値Vwfdを、携帯端末8に送信(即ち通知)する。なお、第1の接続部30は、決定済みのWFDチャネル値Vwfdを、プリンタ10のメモリ24に記憶させる。上述したように、S64では、WFDチャネル値Vwfdと非WFDチャネル値Vapとが一致するように、WFDチャネル値Vwfdが決定される。これにより、WFD接続を利用した通信と、非WFD接続を利用した通信と、を同時的に適切に実行することが実現される。
In S64, the
S64を経て実行されるS66では、第1の接続部30は、G/O状態用のWPSネゴシエーションを実行する。これにより、第1の接続部30は、S64で決定されたWFDチャネル値Vwfdを利用して、携帯端末8とのWFD接続を確立する。AP4との非WFD接続が既に確立されているために、AP4との非WFD接続と、携帯端末8とのWFD接続と、の両方が確立されている状態が形成される。これにより、図3のWFD接続処理が終了する。
In S66, which is performed via S64, the
一方において、携帯端末8のIntent値が「15」である場合には、S48又はS50のG/Oネゴシエーションにおいて、プリンタ10がクライントになるべきことが決定される。この場合、第1の接続部30は、S58でNOと判断して、S60に進む。
On the other hand, when the Intent value of the
S60では、第1の接続部30は、G/O状態の携帯端末8から、携帯端末8によって決定されたWFDチャネル値Vwfdを受信する。そして、チャネル判断部38は、受信済みのWFDチャネル値Vwfdと、現在確立されている非WFD接続で利用されている非WFDチャネル値Vapと、が一致するのか否かを判断する。
In S60, the
例えば、S48のG/Oネゴシエーションでは制限リストが携帯端末8に通知されるために、S48のG/Oネゴシエーションが成功した場合には、携帯端末8は、WFDチャネル値Vwfdを、制限リストに含まれる非WFDチャネル値Vapに一致する値に決定する。この場合、S60では、第1の接続部30は、携帯端末8から、非WFDチャネル値Vapに一致するWFDチャネル値Vwfdを受信し、この結果、チャネル判断部38は、S60でYESと判断する。
For example, when the G / O negotiation in S48 is successful because the restriction list is notified to the
S60でYESの場合には、S66において、第1の接続部30は、クライアント状態用のWPSネゴシエーションを実行する。これにより、第1の接続部30は、携帯端末8から受信されたWFDチャネル値Vwfd(即ち、非WFDチャネル値Vapに一致する値)を利用して、携帯端末8とのWFD接続を確立する。AP4との非WFD接続が既に確立されているために、AP4との非WFD接続と、携帯端末8とのWFD接続と、の両方が確立されている状態が形成される。これにより、図3のWFD接続処理が終了する。
In the case of YES in S60, the
一方において、S50のG/Oネゴシエーションでは通常リストが携帯端末8に通知されるために、S50のG/Oネゴシエーションが成功した場合には、携帯端末8は、WFDチャネル値Vwfdを、非WFDチャネル値Vapに一致しない値に決定し得る。この場合、S60では、第1の接続部30は、携帯端末8から、非WFDチャネル値Vapに一致しないWFDチャネル値Vwfdを受信し得るために、この結果、チャネル判断部38は、S60でNOと判断し得る。
On the other hand, since the normal list is notified to the
S60でNOの場合には、S62において、第1の接続部30は、WFD接続を確立することができないことを示す情報を、表示部14に表示させる。この場合、第1の接続部30は、携帯端末8とのWFD接続を確立しない。従って、AP4との非WFD接続のみが確立されている状態が維持される。ここでも、定常的に構築されるべき非WFDネットワークを優先する構成を採用している。S62が終了すると、図3のWFD接続処理が終了する。
In the case where S60 is NO, the
(具体例;図4及び図5)
続いて、図4及び図5を参照して、各機器4,8,10が実行する処理の様々なケースについて説明する。なお、図4及び図5のシーケンスは、プリンタ10が図2及び図3のフローチャートに従って処理を実行することによって実現される。
(Specific example; FIG. 4 and FIG. 5)
Subsequently, various cases of processing executed by each of the
図4のケースは、プリンタ10とAP4との間に非WFD接続を確立させ、その後、プリンタ10と携帯端末8との間にWFD接続を確立させるケースを示す。
The case of FIG. 4 shows the case of establishing a non-WFD connection between the
プリンタ10に非WFD接続指示が入力されると、プリンタ10は、AP4から非WFDチャネル値Vapを受信し(図2のS13)、受信済みの非WFDチャネル値Vapを利用して、認証のための通信を実行する(S20)。これにより、プリンタ10とAP4との間に非WFD接続が確立される。
When the non-WFD connection instruction is input to the
続いて、プリンタ10にWFD接続指示が入力されると、プリンタ10は、図3のS40でYESと判断して、S48のG/Oネゴシエーションを実行する。ここでは、プリンタ10のIntent値として「14」が利用されると共に、非WFDチャネル値Vapのみを含む制限リストが携帯端末8に通知される。
Subsequently, when a WFD connection instruction is input to the
S48のG/Oネゴシエーションが成功すると(S52でYES)、プリンタ10は、通常、プリンタ10がG/Oになるべきことを決定する。S48のG/Oネゴシエーションでは、プリンタ10のIntent値として「14」が利用されるからである。この場合、プリンタ10は、S58でYESと判断し、非WFDチャネル値Vapを参照して、非WFDチャネル値Vapに一致するWFDチャネル値Vwfdを決定する(S64)。
When the G / O negotiation in S48 is successful (YES in S52), the
次いで、プリンタ10は、決定済みのWFDチャネル値Vwfdを利用して、G/O状態用のWPSネゴシエーションを実行する(S66)。これにより、プリンタ10と携帯端末8との間にWFD接続が確立される。この結果、AP4との非WFD接続と、携帯端末8とのWFD接続と、の両方が確立されている状態(以下では「両方接続状態」と呼ぶ)が形成される。
Next, the
一方において、S48のG/Oネゴシエーションが成功しても(S52でYES)、携帯端末8のIntent値が「15」である場合には、プリンタ10は、プリンタ10がクライアントになるべきことを決定する。この場合、プリンタ10は、S58でNOと判断するが、S60において、通常、携帯端末8から、非WFDチャネル値Vapに一致するWFDチャネル値Vwfdを受信する。S48のG/Oネゴシエーションでは、非WFDチャネル値Vapのみを含む制限リストが携帯端末8に通知されるために、携帯端末8が、通常、非WFDチャネル値Vapに一致するWFDチャネル値Vwfdを決定するからである。従って、プリンタ10は、S60でYESと判断する。
On the other hand, even if the G / O negotiation in S48 is successful (YES in S52), if the Intent value of the
次いで、プリンタ10は、受信済みのWFDチャネル値Vwfd(即ち非WFDチャネル値Vapに一致する値)を利用して、クライアント状態用のWPSネゴシエーションを実行する(S66)。これにより、プリンタ10と携帯端末8との間にWFD接続が確立される。この結果、両方接続状態が形成される。
Next, the
例えば、S48のG/Oネゴシエーションにおいて、携帯端末8のチャネルリストに、非WFDチャネル値Vapが含まれない場合には、S48のG/Oネゴシエーションが失敗する(S52でNO)。この場合、図5に示されるように、プリンタ10は、S50のG/Oネゴシエーションを実行する。ここでは、プリンタ10のIntent値として「14」が利用されると共に、1〜14chの全ての値を含む通常リストが携帯端末8に通知される。これにより、通常、S50のG/Oネゴシエーションが成功する。
For example, when the non-WFD channel value Vap is not included in the channel list of the
S50のG/Oネゴシエーションが成功すると(S52でYES)、プリンタ10は、通常、プリンタ10がG/Oになるべきことを決定する。S50のG/Oネゴシエーションでは、プリンタ10のIntent値として「14」が利用されるからである。この場合、プリンタ10は、S58でYESと判断し、非WFDチャネル値Vapを参照して、非WFDチャネル値Vapに一致するWFDチャネル値Vwfdを決定する(S64)。
When the G / O negotiation in S50 is successful (YES in S52), the
次いで、プリンタ10は、決定済みのWFDチャネル値Vwfdを利用して、G/O状態用のWPSネゴシエーションを実行する(S66)。これにより、プリンタ10と携帯端末8との間にWFD接続が確立される。この結果、両方接続状態が形成される。
Next, the
一方において、S50のG/Oネゴシエーションが成功しても(S52でYES)、携帯端末8のIntent値が「15」である場合には、プリンタ10は、プリンタ10がクライアントになるべきことを決定する。この場合、プリンタ10は、S58でNOと判断し、通常、携帯端末8から、非WFDチャネル値Vapに一致しないWFDチャネル値Vwfdを受信する。S50のG/Oネゴシエーションでは、通常リストが携帯端末8に通知されるために、携帯端末8が、通常、非WFDチャネル値Vapに一致しないWFDチャネル値Vwfdを決定するからである。従って、プリンタ10は、S60でNOと判断する。
On the other hand, even if the G / O negotiation in S50 is successful (YES in S52), if the Intent value of the
次いで、プリンタ10は、WFD接続を確立することができないことを示す情報を、表示部14に表示させる(S62)。この場合、プリンタ10は、携帯端末8とのWFD接続を確立しない。ただし、プリンタ10は、AP4との非WFD接続を維持する。従って、AP4との非WFD接続のみが確立されている状態(以下では「単一接続状態」と呼ぶ)が形成される。
Next, the
(第1実施例の効果)
図4及び図5のケースに示されるように、プリンタ10は、非WFD接続が確立されている状態で、WFD接続が確立されるべき場合に、非WFDチャネル値Vapを参照して、非WFDチャネル値Vapに一致するWFDチャネル値Vwfdを決定する。これにより、プリンタ10は、両方接続状態を適切に形成することができる。従って、プリンタ10は、WFD接続を利用して、携帯端末8から印刷データを受信することができると共に、非WFD接続を利用して、PC6からAP4を介して印刷データを受信することができる。
(Effect of the first embodiment)
As shown in the cases of FIGS. 4 and 5, the
なお、プリンタ10は、無線インターフェイス18の構成上、異なる2個のチャネル値を利用して、適切な無線通信を実行することができない。従って、図5のケースに示されるように、プリンタ10は、非WFD接続が確立されている状態で、WFD接続が確立されるべき場合に、WFDチャネル値Vwfdと非WFDチャネル値Vapとが一致しないと、非WFD接続のみが確立されている単一接続状態を形成する。また、図2のフローチャートに示されるように、プリンタ10は、WFD接続が確立されている状態で、非WFD接続が確立されるべき場合(S14でYESの場合)に、WFD接続を切断して、非WFD接続のみが確立されている単一接続状態を形成する。これにより、プリンタ10は、非WFD接続を利用して、PC6からAP4を介して印刷データを適切に受信することができる。特に、プリンタ10は、定常的に確立されるべき非WFD接続を優先して、単一接続状態を形成する。このために、プリンタ10及びPC6が設置されている環境(例えば上記の特定の会社内)において、PC6のユーザが、プリンタ10で印刷を実行させることができないという事象が発生するのを抑制することができる。本実施例によると、プリンタ10は、適切な接続状態を形成することができる。
Note that, due to the configuration of the
なお、プリンタ10は、非WFD接続が確立されていない状態で、WFD接続が確立されるべき場合に、比較的に小さいプリンタ10のIntent値「2」を利用する(図3のS42)。このために、プリンタ10がクライアントになるべきことが決定され易い。従って、プリンタ10の処理負荷の増加を抑制しつつ、プリンタ10と携帯端末8との間にWFD接続を適切に確立させることができる。
The
一方において、図4及び図5のケースに示されるように、プリンタ10は、非WFD接続が確立されている状態で、WFD接続が確立されるべき場合に、比較的に大きいプリンタ10のIntent値「14」を利用する(図3のS48又はS50)。このために、プリンタ10がG/Oになるべきことが決定され易い。従って、プリンタ10は、非WFDチャネル値Vapを参照して、非WFDチャネル値Vapに一致するWFDチャネル値Vwfdを適切に決定することができる。この結果、プリンタ10は、両方接続状態を適切に形成することができる。
On the one hand, as shown in the cases of FIGS. 4 and 5, the
なお、仮に、プリンタ10がクライアントになるべきことが決定されても、プリンタ10は、制限リストを携帯端末8に通知し得る(図3のS48)。このために、プリンタ10は、携帯端末8から、非WFDチャネル値Vapに一致するWFDチャネル値Vwfdを受信することができる(S60でYES)。この結果、プリンタ10は、両方接続状態を適切に形成することができる。また、プリンタ10が制限リストを携帯端末8に通知しても、G/Oネゴシエーションが失敗する場合(S52でNO)には、プリンタ10は、非WFDチャネル値Vapとは異なるチャネル値を含む通常リストを、携帯端末8に通知する(S50)。この結果、G/Oネゴシエーションが成功し得るために(S52でYES)に、プリンタ10は、携帯端末8とのWFD接続を適切に確立し得る。
Even if it is determined that the
(対応関係)
プリンタ10、携帯端末8、AP4が、それぞれ、「無線通信装置」、「第1のデバイス」、「第2のデバイス」の一例である。G/O状態、クライアント状態が、それぞれ、「親局状態」、「子局状態」の一例である。G/Oネゴシエーションが、「状態決定処理」の一例である。Intent値「2」、Intent値「14」が、それぞれ、「第1の設定値」、「第2の設定値」の一例である。図3のS48及びS50でプリンタ10のIntent値として「14」を利用することが、「特定の処理」の一例である。WFD接続、非WFD接続が、それぞれ、「第1種の接続」、「第2種の接続」の一例である。WFDチャネル値Vwfd、非WFDチャネル値Vapが、それぞれ、「第1の無線チャネルの値」、「第2の無線チャネルの値」の一例である。
(Correspondence relationship)
The
(第2実施例)
第1実施例と異なる点を説明する。本実施例では、図3のWFD接続処理の代わりに、図6のWFD接続処理が実行される。図6のS40〜S44は、図3のS40〜S44と同様である。S40でYESの場合、S61において、第1の接続部30は、プリンタ10を自律G/Oモードに設定する。自律G/Oモードは、G/O状態で動作することをプリンタ10に維持させるモードである。従って、S60の段階ではWFD接続が確立されていないが、プリンタ10は、G/O状態に設定されている。この段階では、プリンタ10が管理している管理リストには、クライアント状態の機器の識別情報が記述されていない。
Second Embodiment
Points different from the first embodiment will be described. In the present embodiment, the WFD connection process of FIG. 6 is executed instead of the WFD connection process of FIG. S40 to S44 in FIG. 6 are the same as S40 to S44 in FIG. 3. In the case of YES in S40, the
S60でプリンタ10が自律G/Oモードに設定されると、プリンタ10は、G/Oネゴシエーションを実行しない。上述したように、携帯端末8は、WFD接続指示が携帯端末8に入力される場合に、携帯端末8の周囲に存在するクライアント状態の機器を検索するSearch処理を実行するが、それに加えて、携帯端末8の周囲に存在するG/O状態の機器(即ちプリンタ10)を検索するScan処理を実行する。これにより、携帯端末8の表示部に、プリンタ10に関する情報を含む機器リストが表示される。携帯端末8のユーザが機器リストの中からG/O状態のプリンタ10を選択すると、携帯端末8は、G/Oネゴシエーションを実行せずに、携帯端末8がクライアントになるべきことを決定する。
When the
なお、図6のS64及びS66は、図3のS64及びS66と同様である。即ち、S64では、決定部34は、非WFDチャネル値Vapを参照して、非WFDチャネル値Vapに一致するWFDチャネル値Vwfdを決定する。次いで、S66では、第1の接続部30は、WFDチャネル値Vwfdを利用して、G/O状態用のWPSネゴシエーションを実行する。これにより、プリンタ10と携帯端末8との間にWFD接続が確立される。
Note that S64 and S66 in FIG. 6 are the same as S64 and S66 in FIG. That is, in S64, the
(具体例;図7)
本実施例では、図4及び図5のケースの代わりに、図7のケースが実現される。非WFD接続が確立されるまでの各処理は、図4のケースと同様である。ただし、上述したように、図6のS61において、プリンタ10は、プリンタ10を自律G/Oモードに設定する。従って、プリンタ10は、非WFDチャネル値Vapを参照して、非WFDチャネル値Vapに一致するWFDチャネル値Vwfdを決定することができる(S64)。次いで、プリンタ10は、WFDチャネル値Vwfdを利用して、G/O状態用のWPSネゴシエーションを実行し、携帯端末8とのWFD接続が確立する(S66)。この結果、両方接続状態が形成される。
(Specific example; Fig. 7)
In the present embodiment, the case of FIG. 7 is realized instead of the cases of FIGS. 4 and 5. Each process until a non-WFD connection is established is similar to the case of FIG. However, as described above, the
(第2実施例の効果)
図7のケースに示されるように、プリンタ10は、非WFD接続が確立されている状態で、WFD接続が確立されるべき場合に、プリンタ10を自律G/Oモードに設定する。この結果、プリンタ10は、非WFDチャネル値Vapを参照して、非WFDチャネル値Vapに一致するWFDチャネル値Vwfdを適切に決定することができる。これにより、プリンタ10は、両方接続状態を適切に形成することができる。本実施例では、自律G/Oモードが「特定のモード」の一例である。そして、図6のS61でプリンタ10を自律G/Oモードに設定することが「特定の処理」の一例である。
(Effect of the second embodiment)
As shown in the case of FIG. 7, the
以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。 As mentioned above, although the specific example of this invention was described in detail, these are only an illustration and do not limit a claim. The art set forth in the claims includes various variations and modifications of the specific examples illustrated above. Modifications of the above embodiment are listed below.
(変形例1)「無線通信装置」は、プリンタ10に限られず、無線通信可能な他の機器(例えば、携帯端末、PC、サーバ、FAX装置、コピー機、スキャナ、多機能機等)であってもよい。また、「第1のデバイス」及び「第2のデバイス」は、携帯端末8及びAP4に限られず、無線通信可能な他の機器(例えば、PC、サーバ、プリンタ、FAX装置、コピー機、スキャナ、多機能機等)であってもよい。
(Modification 1) The “wireless communication device” is not limited to the
(変形例2)「親局状態」は、WFDのG/O状態に限られず、無線ネットワークを構成する他のデバイスを管理(例えば、他のデバイスに関する情報のリストを管理すること、他のデバイス間の無線通信を中継すること等)する状態であればよい。また、「子局状態」は、WFDのクライアント状態に限られず、親局状態の機器によって管理される状態であればよい。従って、「第1種の接続」は、WFD接続に限られず、無線通信装置が親局状態と子局状態とのうちの一方の状態で選択的に動作するための他の種類の接続であってもよい。 (Modification 2) The “master station state” is not limited to the WFD G / O state, and manages other devices that configure the wireless network (for example, managing a list of information on other devices, other devices Relaying wireless communication between them) and the like. Further, the “child station state” is not limited to the WFD client state, and may be a state managed by the parent station state device. Therefore, the “first type of connection” is not limited to the WFD connection, and is another type of connection for the wireless communication apparatus to selectively operate in one of the master station state and the slave station state. May be
(変形例3)「第2種の接続」は、AP4との非WFD接続に限られず、例えば、PC等とのWFD接続であってもよい。即ち、「第1種の接続」と「第2種の接続」とは、同じ種類の接続であってもよい。また、「第2種の接続」は、例えば、PC等とのアドホックの接続であってもよい。
(Modification 3) The “second type connection” is not limited to the non-WFD connection with the
(変形例4)例えば、「第2種の接続」がPC6とのアドホックの接続である場合には、以下の変形例4−1〜4−3のいずれかの構成を採用してもよい。 (Modification 4) For example, when the “second type connection” is an ad hoc connection with the PC 6, the configuration of any of the following modifications 4-1 to 4-3 may be adopted.
(変形例4−1)PC6とのアドホックの接続が確立されている状態(アドホックの無線チャネルの値として「Vad」が利用されている)で、携帯端末8とのWFD接続が確立されるべき状況を想定する。例えば、G/Oネゴシエーションでプリンタ10がG/Oになるべきことが決定される場合に、決定部34は、まず、WFDチャネル値Vwfdを決定し、その後、さらに、WFDチャネル値Vwfdに一致するアドホックの無線チャネルの値Vad’(Vad’はVadとは異なる)を決定する。この場合、第1の接続部30は、WFDチャネル値Vwfdを利用して、携帯端末8とのWFD接続を確立する。さらに、第2の接続部32は、アドホックの無線チャネルの値Vad’を利用して、PC6とのアドホックの接続を再確立する。即ち、一般的に言うと、決定部は、第2のデバイスとの第2種の接続が確立されている状態で、第1のデバイスとの第1種の接続が確立されるべき場合に、第1の無線チャネルの値(本変形例ではVwfd)と、第2の無線チャネルの値(本変形例ではVad’)と、の両方を決定してもよい。
(Modification 4-1) In a state where an ad hoc connection with the PC 6 is established (“Vad” is used as the value of the ad hoc wireless channel), a WFD connection with the
(変形例4−2)PC6とのアドホックの接続が確立されている状態(アドホックの無線チャネルの値として「Vad」が利用されている)で、携帯端末8とのWFD接続が確立されるべき状況を想定する。例えば、G/Oネゴシエーションでプリンタ10がクライアントになるべきことが決定される場合に、第1の接続部30は、携帯端末8から、携帯端末8によって決定されたWFDチャネル値Vwfdを受信する。その後、決定部34は、WFDチャネル値Vwfdに一致するアドホックの無線チャネルの値Vad’(Vad’はVadとは異なる)を決定してもよい。この場合、第1の接続部30は、WFDチャネル値Vwfdを利用して、携帯端末8とのWFD接続を確立する。さらに、第2の接続部32は、アドホックの無線チャネルの値Vad’を利用して、PC6とのアドホックの接続を再確立する。即ち、一般的に言うと、決定部は、第2のデバイスとの第2種の接続が確立されている状態で、第1のデバイスとの第1種の接続が確立されるべき場合に、第2の無線チャネルの値(本変形例ではVad’)を決定してもよい。
(Modification 4-2) In the state where the ad hoc connection with the PC 6 is established (“Vad” is used as the value of the ad hoc wireless channel), the WFD connection with the
(変形例4−3)携帯端末8とのWFD接続が確立されている状態で、PC6とのアドホックの接続が確立されるべき状況を想定する。この場合、決定部34は、WFDチャネル値Vwfdに一致するアドホックの無線チャネルの値Vadを決定してもよい。この場合、第2の接続部32は、アドホックの無線チャネルの値Vadを利用して、PC6とのアドホックの接続を確立する。即ち、一般的に言うと、決定部は、第1のデバイスとの第1種の接続が確立されている状態で、第2のデバイスとの第2種の接続が確立されるべき場合に、第2の無線チャネルの値(本変形例ではVad)を決定してもよい。
(Modification 4-3) In a state where a WFD connection with the
上記の第1及び第2実施例と、上記の各変形例4−1〜4−3と、から明らかなように、一般的に言うと、決定部は、特定の場合に、第1の無線チャネルの値と第2の無線チャネルの値とが一致するように、第1の無線チャネルの値と第2の無線チャネルの値とのうちの少なくとも一方を決定すればよい。 As is clear from the first and second embodiments described above and the respective variations 4-1 to 4-3 described above, in general, in a specific case, the determination unit determines the first wireless At least one of the value of the first radio channel and the value of the second radio channel may be determined such that the value of the channel matches the value of the second radio channel.
(変形例5)上記の各実施例では、G/Oネゴシエーション(図3のS44等参照)において、第1の接続部30は、プリンタ10のIntent値が、携帯端末8のIntent値よりも大きい場合に、プリンタ10がG/Oになるべきことを決定する。これに代えて、第1の接続部30は、プリンタ10のIntent値が、携帯端末8のIntent値よりも小さい場合に、プリンタ10がG/Oになるべきことを決定してもよい。上記の第1実施例では、「第2の設定値」が「第1の設定値」よりも大きい値であるが、本変形例では、「第2の設定値」が「第1の設定値」よりも小さい値であってもよい。
(Modification 5) In each of the above-described embodiments, in the G / O negotiation (see S44 of FIG. 3 and the like), the
(変形例6)上記の第1実施例では、図3のS48,S50において、第1の接続部30は、プリンタ10がG/Oになるべきことが決定され易いように、プリンタ10のIntent値として「14」を利用する。これに代えて、第1の接続部30は、プリンタ10のIntent値を携帯端末8に送信する前に、携帯端末8から、携帯端末8のIntent値を受信してもよい。そして、第1の接続部30は、携帯端末8のIntent値よりも大きいプリンタ10のIntent値を決定し、決定済みのプリンタ10のIntent値を携帯端末8に送信してもよい。この場合も、プリンタ10がG/Oになるべきことが決定され易くなる。本変形例では、携帯端末8のIntent値よりも大きいプリンタ10のIntent値を利用することが、「特定の処理」の一例である。
(Modification 6) In the above-described first embodiment, the
(変形例7)上記の各実施例では、無線チャネルの値の範囲として1ch〜14chが利用される。これは、日本で利用される仕様である。これに代えて、無線チャネルの値の範囲として、1ch〜11chが利用されてもよいし(米国の仕様)、1ch〜13chが利用されてもよいし(欧州の仕様)、他の範囲が利用されてもよい。 (Modification 7) In each of the above embodiments, 1ch to 14ch are used as the range of the value of the wireless channel. This is a specification used in Japan. Instead of this, 1ch to 11ch may be used as the range of values of the wireless channel (US specification), 1ch to 13ch may be used (European specification), and other ranges are used. It may be done.
(変形例8)上記の各実施例では、WFD接続が確立されている状態で、非WFD接続が確立されるべき状況(図2のS14でYESの場合)において、第1の接続部30がWFD接続を必ず切断する構成を採用している。これに代えて、第1の接続部30は、上記の状況において、プリンタ10がクライアント状態で動作している場合には、WFD接続を切断してもよい。また、第1の接続部30は、上記の状況において、プリンタ10がG/O状態で動作しており、かつ、WFD接続で現在利用されているWFDチャネル値と、図2のS13で受信された非WFDチャネル値と、が一致する場合には、WFD接続を切断せずに維持してもよい。また、第1の接続部30は、上記の状況において、プリンタ10がG/O状態で動作しており、かつ、WFDチャネル値と非WFDチャネル値とが一致しない場合には、WFD接続を切断してもよい。
(Modification 8) In each of the above-described embodiments, in the state where the WFD connection is established, the
(変形例9)上記の各実施例では、プリンタ10のCPU22がソフトウェアに従って処理を実行することによって、各部30〜38が実現される。これに代えて、各部30〜38のうちの少なくとも一部は、論理回路等のハードウェアによって実現されてもよい。
(Modification 9) In each of the above-described embodiments, each
また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。 The technical elements described in the present specification or the drawings exhibit technical usefulness singly or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the techniques illustrated in the present specification or the drawings simultaneously achieve a plurality of purposes, and achieving one of the purposes itself has technical utility.
2:通信システム、4:AP、6:PC、8:携帯端末、10:プリンタ、Vwfd:WFDチャネル値、Vap:非WFDチャネル値 2: Communication system, 4: AP, 6: PC, 8: Mobile terminal, 10: Printer, Vwfd: WFD channel value, Vap: non-WFD channel value
Claims (16)
複数個の無線チャネルのうちの第1の無線チャネルを利用して、特定デバイスとの第1種の接続を確立する第1の接続部と、
前記複数個の無線チャネルのうちの第2の無線チャネルを利用して、前記特定デバイスとは異なるアクセスポイントとの第2種の接続を確立する第2の接続部と、を備え、
前記第1の接続部は、
前記第2の無線チャネルが利用されて前記アクセスポイントとの前記第2種の接続が確立されている状態で、前記特定デバイスとの前記第1種の接続が確立されるべき場合に、
前記無線通信装置が利用可能な無線チャネルの値として、現在利用中の前記第2の無線チャネルの値のみを前記特定デバイスに送信し、
前記無線通信装置及び前記特定デバイスのうちの一方の装置が前記親局状態で動作すべきこと、及び、前記無線通信装置及び前記特定デバイスのうちの他方の装置が無線ネットワークの子局として機能する子局状態で動作すべきこと、を決定し、
前記無線通信装置が前記子局状態で動作すべきことが決定され、かつ、前記第1の無線チャネルとして前記第2の無線チャネルの値と同じ値を利用すべきことが前記特定デバイスによって決定される場合に、前記第2の無線チャネルと同じ値である前記第1の無線チャネルを利用して、前記特定デバイスとの前記第1種の接続を確立する、無線通信装置。 A operable wireless communication device in the parent station state that acts as the master station of the wireless network,
A first connection unit establishing a first type connection with a specific device using a first wireless channel of the plurality of wireless channels ;
A second connection unit establishing a second type connection with an access point different from the specific device using a second wireless channel of the plurality of wireless channels ;
The first connection portion is
In a state where the second radio channel is utilized the second type of connection with the access point is established, the base can park if the first type of connection is established between the specific device ,
Only the value of the second wireless channel currently in use is transmitted to the specific device as the value of the wireless channel available to the wireless communication device,
One of the wireless communication device and the specific device should operate in the master station state, and the other of the wireless communication device and the specific device functions as a slave station of the wireless network Decide what to operate in slave state,
It is determined by the specific device that the wireless communication apparatus should operate in the slave station state and that the same value as the value of the second wireless channel should be used as the first wireless channel. A wireless communication apparatus that establishes the first type connection with the specific device using the first wireless channel having the same value as the second wireless channel .
前記第2の接続部は、前記特定デバイスとの前記第1種の接続が切断された後に、前記アクセスポイントとの前記第2種の接続を確立する、請求項1から5のいずれか一項に記載の無線通信装置。 If the second type of connection with the access point is to be established while the first type of connection with the specific device is established, the first type of connection with the specific device is It further comprises a cutting unit to cut,
The second connecting portion, after the said first type of connection to a particular device is disconnected, establishing said second type of connection with the access point, any one of claims 1 to 5 The wireless communication device according to.
前記無線通信装置が前記親局状態で動作しながら前記特定デバイスとの前記第1種の接続が確立されている状態で、前記アクセスポイントとの前記第2種の接続が確立されるべき場合であって、前記アクセスポイントから、前記第1の無線チャネルの値に一致する前記第2の無線チャネルの値が受信される場合に、
前記切断部は、前記特定デバイスとの前記第1種の接続を切断せず、
前記第2の接続部は、前記特定デバイスとの前記第1種の接続が維持された状態で、前記アクセスポイントとの前記第2種の接続を確立する、請求項6に記載の無線通信装置。 And a receiver configured to receive the value of the second wireless channel from the access point when the second type connection with the access point is to be established,
In a case where the second type connection with the access point should be established in a state where the first type connection with the specific device is established while the wireless communication apparatus is operating in the master station state. And if a value of the second radio channel matching the value of the first radio channel is received from the access point,
The disconnection unit does not disconnect the first type connection with the specific device.
The wireless communication apparatus according to claim 6 , wherein the second connection unit establishes the second type connection with the access point in a state where the first type connection with the specific device is maintained. .
前記アクセスポイントとの前記第2種の接続が確立されていない状態で、前記特定デバイスとの前記第1種の接続が確立されるべき場合に、
前記無線通信装置が利用可能な無線チャネルの値として、前記複数個の無線チャネルの全ての値を前記特定デバイスに送信し、
前記無線通信装置及び前記特定デバイスのうちの一方の装置が前記親局状態で動作すべきこと、及び、前記無線通信装置及び前記特定デバイスのうちの他方の装置が無線ネットワークの子局として機能する子局状態で動作すべきこと、を決定し、
前記無線通信装置が前記親局状態で動作すべきことが決定される場合に、前記第1の無線チャネルの値を決定し、決定済みの前記値である前記第1の無線チャネルを利用して、前記特定デバイスとの前記第1種の接続を確立し、
前記無線通信装置が前記子局状態で動作すべきことが決定される場合に、前記特定デバイスから前記第1の無線チャネルの値を受信し、受信済みの前記値である前記第1の無線チャネルを利用して、前記特定デバイスとの前記第1種の接続を確立する、請求項1から7のいずれか一項に記載の無線通信装置。 The first connection portion is
When the first type connection with the specific device is to be established in a state where the second type connection with the access point has not been established,
Transmitting, to the specific device, all values of the plurality of wireless channels as values of available wireless channels of the wireless communication device;
One of the wireless communication device and the specific device should operate in the master station state, and the other of the wireless communication device and the specific device functions as a slave station of the wireless network Decide what to operate in slave state,
When it is determined that the wireless communication apparatus should operate in the master station state, a value of the first wireless channel is determined, and using the first wireless channel that is the determined value. Establishing the first type of connection with the specific device,
When it is determined that the wireless communication apparatus should operate in the slave station state, the value of the first wireless channel is received from the specific device, and the first wireless channel is the received value. The wireless communication apparatus according to any one of claims 1 to 7 , wherein the first type connection with the specific device is established using
前記無線通信装置に搭載されるコンピュータに、以下の各処理、即ち、
複数個の無線チャネルのうちの第1の無線チャネルを利用して、特定デバイスとの第1種の接続を確立する第1の接続処理と、
前記複数個の無線チャネルのうちの第2の無線チャネルを利用して、前記特定デバイスとは異なるアクセスポイントとの第2種の接続を確立する第2の接続処理と、を実行させ、
前記第1の確立処理は、
前記第2の無線チャネルが利用されて前記アクセスポイントとの前記第2種の接続が確立されている状態で、前記特定デバイスとの前記第1種の接続が確立されるべき特定の場合に、
前記無線通信装置が利用可能な無線チャネルの値として、現在利用中の前記第2の無線チャネルの値のみを前記特定デバイスに送信し、
前記無線通信装置及び前記特定デバイスのうちの一方の装置が前記親局状態で動作すべきこと、及び、前記無線通信装置及び前記特定デバイスのうちの他方の装置が無線ネットワークの子局として機能する子局状態で動作すべきこと、を決定し、
前記無線通信装置が前記子局状態で動作すべきことが決定され、かつ、前記第1の無線チャネルとして前記第2の無線チャネルの値と同じ値を利用すべきことが前記特定デバイスによって決定される場合に、前記第2の無線チャネルと同じ値である前記第1の無線チャネルを利用して、前記特定デバイスとの前記第1種の接続を確立する、コンピュータプログラム。 A computer program for operable wireless communication device in the parent station state that acts as the master station of the wireless network,
The following processes are performed on a computer mounted on the wireless communication device:
Using the first radio channel of the plurality of radio channels, a first connection processing for establishing a first type of connection to a particular device,
Wherein using the second radio channel of the plurality of radio channels, is performed and a second connection processing for establishing a second type of connection between different access points with said particular device,
The first establishment process is
In a state where the second type of connection is established between the access point and the second wireless channel is utilized, in a particular case to the first type of connection is established between the specific device ,
Only the value of the second wireless channel currently in use is transmitted to the specific device as the value of the wireless channel available to the wireless communication device,
One of the wireless communication device and the specific device should operate in the master station state, and the other of the wireless communication device and the specific device functions as a slave station of the wireless network Decide what to operate in slave state,
It is determined by the specific device that the wireless communication apparatus should operate in the slave station state and that the same value as the value of the second wireless channel should be used as the first wireless channel. A computer program for establishing the first type connection with the specific device using the first wireless channel having the same value as the second wireless channel .
前記第2の接続処理は、前記特定デバイスとの前記第1種の接続が切断された後に、前記アクセスポイントとの前記第2種の接続を確立する、請求項9から13のいずれか一項に記載のコンピュータプログラム。The second connection process establishes the second type connection with the access point after the first type connection with the specific device is disconnected. The computer program described in.
前記無線通信装置が前記親局状態で動作しながら前記特定デバイスとの前記第1種の接続が確立されている状態で、前記アクセスポイントとの前記第2種の接続が確立されるべき場合であって、前記アクセスポイントから、前記第1の無線チャネルの値に一致する前記第2の無線チャネルの値が受信される場合に、In a case where the second type connection with the access point should be established in a state where the first type connection with the specific device is established while the wireless communication apparatus is operating in the master station state. And if a value of the second radio channel matching the value of the first radio channel is received from the access point,
前記切断処理は、前記特定デバイスとの前記第1種の接続を切断せず、The disconnection process does not disconnect the first type connection with the specific device.
前記第2の接続処理は、前記特定デバイスとの前記第1種の接続が維持された状態で、前記アクセスポイントとの前記第2種の接続を確立する、請求項14に記載のコンピュータプログラム。15. The computer program according to claim 14, wherein the second connection process establishes the second type connection with the access point in a state where the first type connection with the specific device is maintained.
前記アクセスポイントとの前記第2種の接続が確立されていない状態で、前記特定デバイスとの前記第1種の接続が確立されるべき場合に、When the first type connection with the specific device is to be established in a state where the second type connection with the access point has not been established,
前記無線通信装置が利用可能な無線チャネルの値として、前記複数個の無線チャネルの全ての値を前記特定デバイスに送信し、Transmitting, to the specific device, all values of the plurality of wireless channels as values of available wireless channels of the wireless communication device;
前記無線通信装置及び前記特定デバイスのうちの一方の装置が前記親局状態で動作すべきこと、及び、前記無線通信装置及び前記特定デバイスのうちの他方の装置が無線ネットワークの子局として機能する子局状態で動作すべきこと、を決定し、One of the wireless communication device and the specific device should operate in the master station state, and the other of the wireless communication device and the specific device functions as a slave station of the wireless network Decide what to operate in slave state,
前記無線通信装置が前記親局状態で動作すべきことが決定される場合に、前記第1の無線チャネルの値を決定し、決定済みの前記値である前記第1の無線チャネルを利用して、前記特定デバイスとの前記第1種の接続を確立し、When it is determined that the wireless communication apparatus should operate in the master station state, a value of the first wireless channel is determined, and using the first wireless channel that is the determined value. Establishing the first type of connection with the specific device,
前記無線通信装置が前記子局状態で動作すべきことが決定される場合に、前記特定デバイスから前記第1の無線チャネルの値を受信し、受信済みの前記値である前記第1の無線チャネルを利用して、前記特定デバイスとの前記第1種の接続を確立する、請求項9から15のいずれか一項に記載のコンピュータプログラム。When it is determined that the wireless communication apparatus should operate in the slave station state, the value of the first wireless channel is received from the specific device, and the first wireless channel is the received value. The computer program according to any one of claims 9 to 15, wherein the first type of connection with the specific device is established using
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018139677A JP6544468B2 (en) | 2018-07-25 | 2018-07-25 | Wireless communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018139677A JP6544468B2 (en) | 2018-07-25 | 2018-07-25 | Wireless communication device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017120241A Division JP6376250B2 (en) | 2017-06-20 | 2017-06-20 | Wireless communication device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019113684A Division JP6852755B2 (en) | 2019-06-19 | 2019-06-19 | Wireless communication device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018186563A JP2018186563A (en) | 2018-11-22 |
JP6544468B2 true JP6544468B2 (en) | 2019-07-17 |
Family
ID=64355309
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018139677A Active JP6544468B2 (en) | 2018-07-25 | 2018-07-25 | Wireless communication device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6544468B2 (en) |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005064552A (en) * | 2003-08-08 | 2005-03-10 | Fuji Xerox Co Ltd | Printer and scanner |
US8340044B2 (en) * | 2007-07-10 | 2012-12-25 | Qualcomm Incorporated | Apparatus and method of generating and maintaining orthogonal connection identifications (CIDs) for wireless networks |
US9420631B2 (en) * | 2009-10-02 | 2016-08-16 | Qualcomm Incorporated | WLAN peer-to-peer group owner negotiation |
EP2532196B1 (en) * | 2010-02-02 | 2020-06-10 | Microsoft Technology Licensing, LLC | Method and apparatus of transmit power control in wireless local area network |
US8493992B2 (en) * | 2010-02-04 | 2013-07-23 | Texas Instruments Incorporated | Interrelated WiFi and USB protocols and other application framework processes, circuits and systems |
JP2011166417A (en) * | 2010-02-09 | 2011-08-25 | Sony Corp | Radio communication apparatus, radio communication system, program, and radio communication method |
US20110225305A1 (en) * | 2010-03-10 | 2011-09-15 | Texas Instruments Incorporated | System and method for determining group owner intent |
JP5598081B2 (en) * | 2010-05-17 | 2014-10-01 | ソニー株式会社 | Wireless communication apparatus, wireless communication method, program, and wireless communication system |
JP2012019487A (en) * | 2010-07-09 | 2012-01-26 | Canon Inc | Communication device and control method |
-
2018
- 2018-07-25 JP JP2018139677A patent/JP6544468B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2018186563A (en) | 2018-11-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5945910B2 (en) | Wireless communication device | |
US10581516B2 (en) | Communication device and terminal device | |
JP5899971B2 (en) | Wireless communication device | |
JP5857850B2 (en) | Communication device | |
JP5736986B2 (en) | Wireless communication device | |
US9210732B2 (en) | Wireless communication device registration in a wireless network | |
JP5754254B2 (en) | Wireless communication device | |
JP5736987B2 (en) | Wireless communication device | |
JP6019881B2 (en) | Communication device and portable terminal | |
JP6015315B2 (en) | Communication device | |
JP6365594B2 (en) | Wireless communication device | |
JP7347588B2 (en) | Communication equipment and mobile terminals | |
JP6544468B2 (en) | Wireless communication device | |
JP6376250B2 (en) | Wireless communication device | |
JP6852755B2 (en) | Wireless communication device | |
JP7327600B2 (en) | wireless communication device | |
JP7115580B2 (en) | wireless communication device | |
JP6164322B2 (en) | Wireless communication device | |
JP2016036190A (en) | Communication device | |
JP6662478B2 (en) | Communication device and mobile terminal | |
JP6601463B2 (en) | Communication device | |
JP2017028738A (en) | Communication device and mobile terminal | |
JP2018029401A (en) | Communication device and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180821 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180823 |
|
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: 20190521 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190603 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6544468 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |