JP5754255B2 - Wireless communication device - Google Patents
Wireless communication device Download PDFInfo
- Publication number
- JP5754255B2 JP5754255B2 JP2011132285A JP2011132285A JP5754255B2 JP 5754255 B2 JP5754255 B2 JP 5754255B2 JP 2011132285 A JP2011132285 A JP 2011132285A JP 2011132285 A JP2011132285 A JP 2011132285A JP 5754255 B2 JP5754255 B2 JP 5754255B2
- Authority
- JP
- Japan
- Prior art keywords
- wireless
- wireless network
- printer
- state
- communication device
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/50—Secure pairing of devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S40/00—Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
- Y04S40/20—Information technology specific aspects, e.g. CAD, simulation, modelling, system security
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Computer And Data Communications (AREA)
Description
本明細書によって開示される技術は、無線ネットワークの親局として機能する親局状態と、無線ネットワークの子局として機能する子局状態と、を含む複数の状態のうちのいずれかの状態で選択的に動作可能な無線通信装置に関する。 The technology disclosed in this specification is selected in any one of a plurality of states including a parent station state that functions as a parent station of a wireless network and a child station state that functions as a child station of a wireless network. TECHNICAL FIELD The present invention relates to a wireless communication device that can be operated in an automated manner.
特許文献1には、クライアントデバイスとアクセスポイントとを含む無線ネットワークを構築するための技術が開示されている。この技術では、クライアントデバイスは、ユーザによって所定の操作が実行されると、上記の無線ネットワークを構築するために利用されるべき無線プロファイル(SSID、パスワード等)を生成する。クライアントデバイスとアクセスポイントとは、当該無線プロファイルを用いて、無線接続を確立する。これにより、上記の無線ネットワークが構築される。 Patent Document 1 discloses a technique for constructing a wireless network including a client device and an access point. In this technique, when a predetermined operation is executed by a user, the client device generates a wireless profile (SSID, password, etc.) to be used for constructing the wireless network. The client device and the access point establish a wireless connection using the wireless profile. Thereby, the above wireless network is constructed.
特許文献1では、無線ネットワークが消滅した後に、新たな無線ネットワークが構築される状況について、何ら開示されていない。本明細書では、無線ネットワークが消滅した後に、新たな無線ネットワークが構築される状況において、当該新たな無線ネットワークを適切に構築するための技術を提供する。 Patent Document 1 does not disclose anything about a situation in which a new wireless network is constructed after the wireless network disappears. The present specification provides a technique for appropriately constructing a new wireless network in a situation where a new wireless network is constructed after the wireless network is extinguished.
本明細書によって開示される無線通信装置は、無線ネットワークの親局として機能する親局状態と、無線ネットワークの子局として機能する子局状態と、を含む複数の状態のうちのいずれかの状態で選択的に動作可能な無線通信装置である。無線制御装置は、決定部と、生成部と、通信実行部とを備える。決定部は、無線通信装置が複数の状態のうちのいずれの状態で動作するのかを決定する。生成部は、無線通信装置と第1の外部装置とを含む第1の無線ネットワークが構築されるべき場合において、無線通信装置が親局状態で動作することが決定される場合に、第1の無線ネットワークを構築するための第1の無線プロファイルに含まれる第1の認証情報を生成する。通信実行部は、第1の認証情報を含む第1の無線プロファイルを用いて、第1の外部装置と無線接続を確立するための通信を実行することによって、第1の無線ネットワークを構築する。第1の無線ネットワークが消滅した後に、無線通信装置と第2の外部装置とを含む第2の無線ネットワークが構築されるべき場合において、無線通信装置が親局状態で動作することが決定される場合に、生成部は、さらに、第2の無線ネットワークを構築するための第2の無線プロファイルに含まれる第2の認証情報であって、第1の認証情報とは異なる第2の認証情報を生成する。通信実行部は、さらに、第2の認証情報を含む第2の無線プロファイルを用いて、第2の外部装置と無線接続を確立するための通信を実行することによって、第2の無線ネットワークを構築する。 The wireless communication device disclosed in this specification is a state of any one of a plurality of states including a parent station state that functions as a parent station of a wireless network and a child station state that functions as a child station of the wireless network. This is a wireless communication device that can be selectively operated. The wireless control device includes a determination unit, a generation unit, and a communication execution unit. The determining unit determines in which state the wireless communication apparatus operates. When the first wireless network including the wireless communication device and the first external device is to be constructed, the generation unit determines that the wireless communication device is to operate in the master station state. First authentication information included in a first wireless profile for constructing a wireless network is generated. The communication execution unit constructs the first wireless network by executing communication for establishing a wireless connection with the first external device using the first wireless profile including the first authentication information. When the second wireless network including the wireless communication device and the second external device is to be constructed after the first wireless network disappears, it is determined that the wireless communication device operates in the master station state. In this case, the generation unit further includes second authentication information included in the second wireless profile for constructing the second wireless network, the second authentication information being different from the first authentication information. Generate. The communication execution unit further constructs a second wireless network by executing communication for establishing a wireless connection with the second external device using the second wireless profile including the second authentication information. To do.
例えば、第1の無線ネットワークが構築される際に、第三者によって第1の認証情報が不正に取得される可能性がある。上記の技術では、無線通信装置は、第1の無線ネットワークが消滅した後に、第2の無線ネットワークが構築されるべき場合において、無線通信装置が親局状態で動作することが決定される場合に、第1の無線ネットワークを構築するための第1の認証情報とは異なる第2の認証情報を生成する。即ち、無線通信装置は、第2の無線ネットワークが構築されるべき場合に、第三者が知り得ない第2の認証情報を生成する。従って、第三者によって所有される機器が、第2の無線ネットワークに不正に参加することを抑制することができる。即ち、第2の無線ネットワークのセキュリティを向上させ得る。従って、新たな無線ネットワークを適切に構築することができる。 For example, when the first wireless network is constructed, there is a possibility that the first authentication information is illegally acquired by a third party. In the above technique, the wireless communication device is used when it is determined that the wireless communication device operates in the master station state when the second wireless network is to be constructed after the first wireless network is extinguished. Second authentication information different from the first authentication information for constructing the first wireless network is generated. That is, the wireless communication device generates second authentication information that cannot be known by a third party when the second wireless network is to be constructed. Therefore, it is possible to suppress a device owned by a third party from participating in the second wireless network illegally. That is, the security of the second wireless network can be improved. Therefore, a new wireless network can be appropriately constructed.
なお、上記の無線通信装置を実現するための制御方法、コンピュータプログラム、及び、当該コンピュータプログラムを格納するコンピュータ読取可能記録媒体も、新規で有用である。 Note that a control method, a computer program, and a computer-readable recording medium storing the computer program for realizing the wireless communication device are also novel and useful.
(実施例)
(システムの構成:図1)
図1に示されるように、通信システム2は、プリンタ10(PC60、70の周辺機器)と、PC60、70と、を備える。プリンタ10及びPC60は、それぞれ、後述のWi−Fi Directに従った無線通信機能を実行可能である。なお、以下では、Wi−Fi Directのことを「WFD」と呼び、WFDに従った無線通信機能のことを「WFD機能」と呼ぶ。プリンタ10とPC60とは、WFDに従って無線接続を確立可能である。プリンタ10とPC60との間で無線接続が確立されることにより、無線ネットワークが構築される。この結果、プリンタ10とPC60とは、印刷データ等の通信対象の対象データの無線通信を実行可能になる。以下では、プリンタ10、PC60のように、WFD機能を実行可能な機器を「WFD対応機器」と呼ぶ。
(Example)
(System configuration: Fig. 1)
As shown in FIG. 1, the communication system 2 includes a printer 10 (peripherals of
PC70は、WFD機能を実行不可能であるが、通常の無線通信の機能を実行可能である。即ち、PC70は、公知のAP(アクセスポイント)との間で無線接続を確立可能である。詳しくは後述するが、APとして機能するG/O状態のプリンタ10とPC70との間で無線接続が確立されることにより、無線ネットワークが構築される。この結果、プリンタ10とPC70とは、印刷データ等の通信対象の対象データの無線通信を実行可能になる。以下では、PC70のように、WFD機能を実行不可能な機器を「WFD非対応機器」と呼ぶ。 The PC 70 cannot execute the WFD function, but can execute a normal wireless communication function. That is, the PC 70 can establish a wireless connection with a known AP (access point). As will be described in detail later, a wireless network is established by establishing a wireless connection between the printer 10 in the G / O state functioning as an AP and the PC 70. As a result, the printer 10 and the PC 70 can execute wireless communication of target data to be communicated such as print data. Hereinafter, a device that cannot execute the WFD function, such as the PC 70, is referred to as a “WFD-incompatible device”.
(プリンタ10の構成)
プリンタ10は、表示部12と、操作部14と、無線インターフェイス16と、印刷実行部20と、制御部22と、を備える。上記の各部12〜22は、バス線(符号省略)に接続されている。表示部12は、様々な情報を表示するためのディスプレイである。操作部14は、複数のキーによって構成される。ユーザは、操作部14を操作することによって、様々な指示をプリンタ10に与えることができる。無線インターフェイス16は、無線通信を実行するためのインターフェイスである。無線インターフェイス16は、無線チップセット17を含む。無線チップセット17の機能については後で説明する。印刷実行部20は、インクジェット方式、レーザ方式等の印刷機構を備え、制御部22からの指示に従って印刷を実行する。
(Configuration of Printer 10)
The printer 10 includes a
制御部22は、CPU30とメモリ32とを備える。CPU30は、メモリ32に格納されているプログラム34に従って、様々な処理を実行する。メモリ32は、ROM、RAM、ハードディスク等によって構成される。メモリ32は、上記のプログラム34の他に、後述の管理リスト36を格納する。CPU30が上記のプログラム34に従って処理を実行することによって、決定部40、生成部42、通信実行部44、停止部46、及び、表示制御部48の各機能が実現される。
The
(PC60、70の構成)
PC60は、図示省略のCPU、メモリ、ディスプレイ等を備える。PC60のメモリは、プリンタ10のためのプリンタドライバプログラムを格納している。PC60のCPUは、プリンタドライバプログラムを利用して、印刷対象の印刷データを生成することができる。プリンタ10とPC60との間に無線接続が確立されている状態では、PC60は、印刷データをプリンタ10に無線で送信可能である。なお、PC70は、WFD機能を実行不可能であることを除けば、PC60と同様の構成を備える。
(Configuration of
The
(WFD)
上述したように、プリンタ10とPC60とは、それぞれ、WFD機能を実行可能である。WFDは、Wi−Fi Allianceによって策定された規格である。WFDは、Wi−Fi Allianceによって作成された「Wi−Fi Peer−to−Peer(P2P) Technical Specification Version1.1」に記述されている。
(WFD)
As described above, the printer 10 and the
WFDでは、機器の状態として、Group Owner状態(以下では「G/O状態」と呼ぶ)、クライアント状態、及び、デバイス状態の3つの状態が定義されている。WFD対応機器(即ち、プリンタ10、PC60等)は、上記の3つの状態のうちの1つの状態で選択的に動作可能である。なお、WFD非対応機器は、上記の3つの状態のうちの1つの状態で選択的に動作不可能であり、常にクライアント状態で動作する。
In WFD, three states are defined as device states: a Group Owner state (hereinafter referred to as “G / O state”), a client state, and a device state. A WFD compatible device (that is, the printer 10, the
G/O状態の機器とクライアント状態の機器とによって、1個の無線ネットワークが構成される。1個の無線ネットワークでは、G/O状態の機器が1個しか存在し得ないが、クライアント状態の機器が1個以上存在し得る。G/O状態の機器は、1個以上のクライアント状態の機器を管理する。具体的に言うと、G/O状態の機器は、1個以上のクライアント状態の機器のそれぞれの識別情報(即ちMACアドレス)が記述された管理リスト(図1の36参照)を記憶する。G/O状態の機器は、クライアント状態の機器(WFD対応機器とWFD非対応機器のいずれも含む)が無線ネットワークに新たに参加すると、当該機器の識別情報を管理リストに追加し、クライアント状態の機器が無線ネットワークから離脱すると、当該機器の識別情報を管理リストから削除する。 One wireless network is configured by the G / O state device and the client state device. In one wireless network, there can be only one device in the G / O state, but there can be one or more devices in the client state. A device in the G / O state manages one or more devices in the client state. Specifically, the G / O state device stores a management list (see 36 in FIG. 1) in which identification information (that is, MAC address) of each of one or more client state devices is described. When a device in client state (including both WFD compatible devices and non-WFD compatible devices) newly joins the wireless network, the G / O state device adds the identification information of the device to the management list, When the device leaves the wireless network, the device identification information is deleted from the management list.
G/O状態の機器は、管理リストに登録されている機器、即ち、クライアント状態の機器との間で、通信対象の対象データ(例えば、OSI参照モデルのネットワーク層の情報を含むデータ(印刷データ等))の無線通信を実行可能である。しかしながら、G/O状態の機器は、管理リストに登録されていない機器との間で、無線ネットワークに参加するためのデータ(例えば、ネットワーク層の情報を含まないデータ(Probe Request信号、Probe Response信号等の物理層のデータ))の無線通信を実行可能であるが、上記の対象データの無線通信を実行不可能である。例えば、G/O状態のプリンタ10は、管理リスト36に登録されているPC60(即ちクライアント状態のPC60)から印刷データを無線で受信可能であるが、管理リスト36に登録されていないPCから印刷データを無線で受信不可能である。
A device in the G / O state communicates with a device registered in the management list, that is, a device in a client state (for example, data including information on the network layer of the OSI reference model (print data). Etc.)) is possible. However, a device in the G / O state has data for participating in a wireless network with a device that is not registered in the management list (for example, data not including network layer information (Probe Request signal, Probe Response signal). However, it is impossible to perform wireless communication of the target data. For example, the printer 10 in the G / O state can wirelessly receive print data from the
また、G/O状態の機器は、複数個のクライアント状態の機器の間の対象データ(印刷データ等)の無線通信を中継可能である。例えば、クライアント状態のPC60がクライアント状態の他のプリンタに印刷データを無線で送信すべき場合には、PC60は、まず、印刷データをG/O状態のプリンタ10に無線で送信し、プリンタ10は、印刷データを上記の他のプリンタに無線で送信する。即ち、G/O状態の機器は、無線ネットワークのAP(アクセスポイント)の機能を実行可能である。
In addition, a G / O state device can relay wireless communication of target data (print data, etc.) between a plurality of client state devices. For example, when the
なお、無線ネットワークに参加していないWFD対応機器(即ち、管理リストに登録されていないWFD対応機器)が、デバイス状態の機器である。デバイス状態の機器は、無線ネットワークに参加するためのデータの無線通信を実行可能であるが、当該無線ネットワークを介して対象データ(印刷データ等)の無線通信を実行不可能である。 A WFD compatible device that does not participate in the wireless network (that is, a WFD compatible device that is not registered in the management list) is a device in a device state. The device in the device state can execute wireless communication of data for participating in the wireless network, but cannot execute wireless communication of target data (print data or the like) via the wireless network.
(無線接続を実行するための方式)
本実施例では、一対の機器の間で無線接続を実行するための方式として、WPS(Wi-Fi Protected Setup)の無線接続方式と、マニュアルの無線接続方式(以下では「マニュアル方式」と呼ぶ)と、が利用される。なお、WFDでは、WPSの無線接続方式が利用される。WPSの無線接続方式は、PIN(Personal Identification Number)コード方式と、PBC(Push Button Configuration)方式と、を含む。一方、マニュアル方式は、WFD非対応機器(例えばPC70)とAP(例えばG/O状態のプリンタ10)との間で、WPSの無線接続方式を利用せず、ユーザが無線接続を確立するために必要な無線プロファイル(SSID、認証方式、暗号化方式、パスワード等)を入力することで、無線接続を実行するための方式である。
(Method for performing wireless connection)
In the present embodiment, WPS (Wi-Fi Protected Setup) wireless connection method and manual wireless connection method (hereinafter referred to as “manual method”) as a method for performing wireless connection between a pair of devices. And are used. In WFD, a WPS wireless connection method is used. The WPS wireless connection system includes a PIN (Personal Identification Number) code system and a PBC (Push Button Configuration) system. On the other hand, the manual method does not use the WPS wireless connection method between the WFD non-compliant device (for example, PC 70) and the AP (for example, the printer 10 in the G / O state), so that the user establishes a wireless connection. This is a method for executing wireless connection by inputting necessary wireless profiles (SSID, authentication method, encryption method, password, etc.).
(自律G/Oモード)
本実施例のWFD対応機器(プリンタ10、PC60等)は、通常の動作モードと、通常の動作モードとは異なる自律G/Oモードと、のどちらかの動作モードに従って動作する。ユーザは、WFD対応機器の操作部において、自律G/OモードのON又はOFFを切り替えるための所定の操作を実行することができる(後述の図2のS10参照)。
(Autonomous G / O mode)
The WFD compatible device (printer 10,
(プリンタ処理:図2)
続いて、図2を参照して、デバイス状態のプリンタ10によって実行されるプリンタ処理の内容について説明する。
(Printer processing: Fig. 2)
Next, the contents of the printer process executed by the printer 10 in the device state will be described with reference to FIG.
プリンタ10の電源がON状態の間、S10において、プリンタ10の制御部22は、自律G/OモードのON操作が行われることを監視する。S10でYESの場合(ユーザが自律G/OモードのON操作を実行した場合)、S20に進む。S20では、決定部40(図1参照)は、プリンタ10の状態としてG/O状態を決定して、プリンタ10の状態を、現在の状態(例えばデバイス状態)からG/O状態に移行させる。なお、S10でNOの場合(ユーザが自律G/OモードのON操作を実行しない場合)、S12に進む。
While the power supply of the printer 10 is in the ON state, in S10, the
次いで、S22では、生成部42(図1参照)は、パスワードを生成する。S22で生成されるパスワードは、無線ネットワークを構築するために用いられる無線プロファイルに含まれるべきパスワードである。具体的には、生成部42は、英数字を用いて文字列をランダムに生成し、生成された文字列を、現在時刻に関係する所定の関数で変換することによって、パスワードを生成する。上記の手法でパスワードが生成されることにより、パスワードに規則性が表れ難くなる。即ち、生成部42がパスワードを生成する毎に、前回生成されたパスワードとは異なるパスワードが生成される。S22を終えると、S12に進む。
Next, in S22, the generation unit 42 (see FIG. 1) generates a password. The password generated in S22 is a password that should be included in the wireless profile used to construct the wireless network. Specifically, the
S12では、制御部22は、プリンタ10の現在の状態がG/O状態であるのか否かを判断する。S12でYESの場合(プリンタ10の現在の状態=G/O状態の場合)、S24に進む。S24では、制御部22は、G/O処理(図5参照)を実行する。S24のG/O処理を終えると、S10に戻る。
In S12, the
S12でNOの場合(プリンタ10の現在の状態=デバイス状態又はクライアント状態の場合)、S14に進む。S14では、制御部22は、方式選択操作が実行されることを監視する。ユーザは、プリンタ10の操作部14を操作して、PINコード方式、PBC方式、及び、マニュアル方式のうちのいずれか1つの方式を選択するための方式選択操作を実行することができる。ユーザが方式選択操作を実行すると、制御部22は、S14でYESと判断し、S16に進む。なお、S14でNOの場合(ユーザが方式選択操作を実行しない場合)、S10に戻る。
If NO in S12 (if the current state of the printer 10 = device state or client state), the process proceeds to S14. In S14, the
S16では、制御部22は、S14で選択された方式がPINコード方式又はPBC方式であるのか否かを判断する。S16でYESの場合(S14で選択された方式=PINコード方式又はPBC方式)、S18に進む。S18では、制御部22は、PIN/PBC接続処理(図3参照)を実行する。一方、S16でNOの場合(S14で選択された方式=マニュアル方式)、S26に進む。S26では、決定部40は、プリンタ10の状態としてG/O状態を決定して、プリンタ10の状態を、現在の状態(例えばデバイス状態)からG/O状態に移行させる。次いで、S28では、制御部22は、マニュアル接続処理(図4参照)を実行する。S18又はS28を終えると、S10に戻る。
In S16, the
なお、プリンタ10の現在の状態がデバイス状態である間に、S16でYESと判断される場合(S14で選択された方式=PINコード方式又はPBC方式)には、決定部40は、プリンタ10の状態としてデバイス状態を維持し、S18に進む。一方において、プリンタ10の現在の状態がクライアント状態である間に、S16でYESと判断される場合(S14で選択された方式=PINコード方式又はPBC方式)には、決定部40は、プリンタ10の状態としてデバイス状態を決定して、プリンタ10の状態をクライアント状態からデバイス状態に移行させた後に、S18に進む。
If the determination is YES in S16 while the current state of the printer 10 is the device state (the method selected in S14 = PIN code method or PBC method), the
(PIN/PBC接続処理:図3)
続いて、図3を参照して、デバイス状態のプリンタ10によって実行されるPIN/PBC接続処理の内容について説明する。PIN/PBC接続処理は、上記のPINコード方式とPBC方式のいずれかの方式によって、プリンタ10と他のWFD対応機器(例えばPC60)との間で無線接続を確立するための処理である。
(PIN / PBC connection processing: Fig. 3)
Next, the contents of the PIN / PBC connection process executed by the printer 10 in the device state will be described with reference to FIG. The PIN / PBC connection process is a process for establishing a wireless connection between the printer 10 and another WFD compatible device (for example, the PC 60) by any one of the PIN code method and the PBC method.
図3のS30では、プリンタ10の制御部22は、Scan処理を実行する。Scan処理は、プリンタ10の周囲に存在するG/O状態の機器(WFD対応機器)を検索するための処理である。具体的に言うと、制御部22は、Scan処理において、1ch〜13chの13個のチャネルを順次利用して、Probe Request信号を無線で順次送信する。
In S30 of FIG. 3, the
例えば、プリンタ10の周囲にG/O状態のWFD対応機器(以下では「特定のG/O機器」と呼ぶ)が存在する場合には、特定のG/O機器は、1ch〜13chのうちの1個のチャネルを利用することを予め決定している。従って、特定のG/O機器は、プリンタ10からProbe Request信号を無線で受信する。この場合、特定のG/O機器は、Probe Response信号をプリンタ10に無線で送信する。このProbe Response信号は、特定のG/O機器がG/O状態であることを示す情報を含む。この結果、制御部22は、特定のG/O機器を見つけることができる。なお、上記のProbe Response信号は、さらに、特定のG/O機器のデバイス名と、特定のG/O機器のカテゴリ(例えば、プリンタ、PC等)を示す情報と、特定のG/O機器のMACアドレスと、を含む。この結果、制御部22は、特定のG/O機器に関する情報を取得することができる。
For example, when there is a WFD compatible device (hereinafter referred to as “specific G / O device”) in the G / O state around the printer 10, the specific G / O device is one of channels 1 to 13. The use of one channel is determined in advance. Therefore, the specific G / O device receives the Probe Request signal from the printer 10 wirelessly. In this case, the specific G / O device transmits a Probe Response signal to the printer 10 wirelessly. The Probe Response signal includes information indicating that the specific G / O device is in the G / O state. As a result, the
なお、例えば、プリンタ10の周囲にデバイス状態のWFD対応機器(以下では「特定のデバイス機器」と呼ぶ)が存在する場合には、特定のデバイス機器は、1ch、6ch、11chのうちの1個のチャネルを利用することを予め決定している。従って、特定のデバイス機器も、プリンタ10からProbe Request信号を無線で受信する。この場合、特定のデバイス機器は、Probe Response信号をプリンタ10に無線で送信する。ただし、このProbe Response信号は、デバイス状態であることを示す情報を含み、G/O状態であることを示す情報を含まない。また、クライアント状態の機器(WFD非対応機器を含む)は、プリンタ10からProbe Request信号を無線で受信しても、Probe Response信号をプリンタ10に無線で送信しない。従って、制御部22は、Scan処理において、特定のG/O機器を適切に見つけることができる。
For example, when there is a WFD compatible device in a device state (hereinafter referred to as “specific device device”) around the printer 10, the specific device device is one of 1ch, 6ch, and 11ch. It is determined in advance that the channels will be used. Therefore, the specific device device also receives the Probe Request signal from the printer 10 wirelessly. In this case, the specific device device transmits a Probe Response signal to the printer 10 wirelessly. However, this Probe Response signal includes information indicating that the device is in the device state, and does not include information indicating that the device is in the G / O state. In addition, even if a device in a client state (including a device that does not support WFD) receives a Probe Request signal from the printer 10 wirelessly, it does not transmit a Probe Response signal to the printer 10 wirelessly. Therefore, the
次いで、S32では、制御部22は、Listen処理を実行する。Listen処理は、後述のSearch処理(S34参照)を実行している特定のデバイス機器から無線で受信されるProbe Request信号に応答するための処理である。即ち、制御部22は、特定のデバイス機器からProbe Request信号を無線で受信すると、Probe Response信号を無線で送信する。このProbe Response信号は、プリンタ10がデバイス状態であることを示す情報と、プリンタ10のデバイス名と、プリンタ10のカテゴリを示す情報と、プリンタ10のMACアドレスと、を含む。制御部22がProbe Response信号を送信することによって、特定のデバイス機器は、プリンタ10を見つけることができる。
Next, in S32, the
次いで、S34では、制御部22は、1ch、6ch、11chの3個のチャネルを順次利用して、Probe Request信号を無線で順次送信する。これにより、制御部22は、特定のデバイス機器からProbe Response信号を無線で受信する。このProbe Response信号は、特定のデバイス機器がデバイス状態であることを示す情報と、特定のデバイス機器のデバイス名と、特定のデバイス機器のカテゴリを示す情報と、特定のデバイス機器のMACアドレスと、を含む。この結果、制御部22は、特定のデバイス機器を見つけることができ、特定のデバイス機器に関する情報を取得することができる。なお、特定のG/O機器も、プリンタ10のSearch処理で送信されるProbe Request信号に応じて、Probe Response信号をプリンタ10に無線で送信し得る。ただし、このProbe Response信号は、G/O状態であることを示す情報を含み、デバイス状態であることを示す情報を含まない。また、上述したように、クライアント状態の機器(WFD非対応機器を含む)は、プリンタ10からProbe Request信号を無線で受信しても、Probe Response信号をプリンタ10に無線で送信しない。このために、制御部22は、Search処理において、特定のデバイス機器を適切に見つけることができる。
Next, in S34, the
次いで、S36では、制御部22は、機器リストを表示部12に表示させる。制御部22は、S30及びS34で見つかった各機器に関する情報(即ちS30及びS34で得られた情報)を表示部12に表示させる。図3の例では、S36において、デバイス名「XXX」に対応する機器に関する情報(G/O状態、プリンタ、MACアドレス)と、デバイス名「YYY」に対応する機器に関する情報(デバイス状態、PC、MACアドレス)と、が表示部12に表示される。
Next, in S36, the
ユーザは、S36で表示される機器リストを見ることによって、プリンタ10の周囲に存在する機器を知ることができる。ユーザは、プリンタ10とどの機器との間で無線接続を確立させるのかを選択するための機器選択操作を操作部14に実行することができる。
なお、以下では、機器選択操作によって選択された機器(例えばPC60)のことを「対象機器」と呼ぶ。対象機器が選択されると、S38に進む。
The user can know the devices existing around the printer 10 by looking at the device list displayed in S36. The user can perform a device selection operation on the
Hereinafter, a device (for example, the PC 60) selected by the device selection operation is referred to as a “target device”. When the target device is selected, the process proceeds to S38.
S38では、制御部22は、対象機器がデバイス状態であるか否かを判断する。対象機器がデバイス状態である場合(例えば図3のデバイス名「YYY」に対応する機器がユーザによって選択された場合)、制御部22は、S38でYESと判断し、S40に進む。
In S38, the
S40では、決定部40(図1参照)は、対象機器との間でG/Oネゴシエーションを実行する。上述したように、1個の無線ネットワークでは、1個のG/O状態の機器しか存在し得ない。従って、決定部40は、G/Oネゴシエーションを実行して、プリンタ10及び対象機器のどちらか一方の機器をG/Oとして決定し、他方の機器をクライアントとして決定する。
In S40, the determination unit 40 (see FIG. 1) executes G / O negotiation with the target device. As described above, only one device in the G / O state can exist in one wireless network. Therefore, the
例えば、図2のS14で選択された方式がPINコード方式である場合には、S40では、決定部40は、PINコードを生成して表示部12に表示させる。この場合、ユーザは、表示部12に表示されたPINコードを、対象機器に入力する。なお、ここでは、プリンタ10でPINコードが表示され、対象機器にPINコードが入力される例を説明したが、対象機器でPINコードが表示され、プリンタ10にPINコードが入力されてもよい。PINコードの表示及び入力が実行されると、決定部40は、対象機器に接続要求信号を無線で送信し、対象機器からOK信号を無線で受信する。
For example, when the method selected in S14 of FIG. 2 is the PIN code method, in S40, the
一方において、例えば、図2のS14で選択された方式がPBC方式である場合には、PINコードの表示及び入力が実行されない。この場合、決定部40は、対象機器に接続要求信号を無線で送信し、対象機器からOK信号を無線で受信する。
On the other hand, for example, when the method selected in S14 of FIG. 2 is the PBC method, the PIN code is not displayed and input. In this case, the
決定部40は、接続要求信号の送信及びOK信号の受信が終了すると、プリンタ10のG/O優先度を示す情報を対象機器に無線で送信すると共に、対象機器のG/O優先度を示す情報を対象機器から無線で受信する。なお、プリンタ10のG/O優先度は、プリンタ10がG/Oになるべき程度を示す指標であり、プリンタ10において予め決められている。同様に、対象機器のG/O優先度は、対象機器がG/Oになるべき程度を示す指標である。例えば、CPU及びメモリの能力が比較的に高い機器(例えばPC)は、G/Oとして動作しながら、他の処理を高速で実行することができる。従って、このような機器は、通常、G/Oになるべき程度が高くなるように、G/O優先度が設定される。一方において、例えば、CPU及びメモリの能力が比較的に低い機器は、G/Oとして動作しながら、他の処理を高速で実行することができない可能性がある。従って、このような機器は、通常、G/Oになるべき程度が低くなるように、G/O優先度が設定される。
When the transmission of the connection request signal and the reception of the OK signal are completed, the
決定部40は、プリンタ10のG/O優先度と対象機器のG/O優先度とを比較して、優先度が高い方の機器(プリンタ10又は対象機器)をG/Oとして決定し、優先度が低い方の機器(対象機器又はプリンタ10)をクライアントとして決定する。また、対象機器は、プリンタ10と同じ手法を利用して、プリンタ10のG/O優先度と対象機器のG/O優先度とに基づいて、G/O及びクライアントを決定する。
The
S40のG/Oネゴシエーションが終了すると、決定部40は、プリンタ10の状態を、デバイス状態から決定済みの状態(即ちクライアント状態又はG/O状態)に移行させる。また、対象機器も、デバイス状態から決定済みの状態(即ちクライアント状態又はG/O状態)に移行する。
When the G / O negotiation in S40 ends, the
一方、S38で、対象機器がG/O状態である場合(例えば図3のデバイス名「XXX」に対応する機器がユーザによって選択された場合)、制御部22は、S38でNOと判断し、S40をスキップしてS42に進む。この場合、S40のG/Oネゴシエーションが実行されずに、決定部40は、プリンタ10の状態としてクライアント状態を決定して、プリンタ10の状態を、デバイス状態からクライアント状態に移行させる。対象機器がG/O状態であるために、プリンタ10は、対象機器によって管理されるクライアント状態になることが好ましいからである。
On the other hand, when the target device is in the G / O state in S38 (for example, when a device corresponding to the device name “XXX” in FIG. 3 is selected by the user), the
例えば、図2のS14で選択された方式がPINコード方式である場合には、S38でNOと判断されると、上記のS40と同様に、PINコードの表示及び入力が実行される。次いで、決定部40は、対象機器から接続要求信号を無線で受信し、OK信号を対象機器に無線で送信する。一方において、例えば、図2のS14で選択された方式がPBC方式である場合には、S38でNOと判断されると、PINコードの表示及び入力が実行されず、決定部40は、対象機器から接続要求信号を無線で受信し、OK信号を対象機器に無線で送信する。接続要求信号の受信及びOK信号の送信が実行されると、S42に進む。
For example, if the method selected in S14 of FIG. 2 is the PIN code method, if NO is determined in S38, the PIN code is displayed and input as in S40. Next, the
S42では、制御部22は、プリンタ10の現在の状態がG/O状態であるのか否かを判断する。S42でYESの場合(プリンタ10の現在の状態=G/O状態、かつ、対象機器の現在の状態=クライアント状態)には、S44に進む。一方、S42でNOの場合(プリンタ10の現在の状態=クライアント状態、かつ、対象機器の現在の状態=G/O状態)には、S52に進む。
In S42, the
S44では、生成部42(図1参照)は、パスワードを生成する。S44の処理は、図2のS22の処理と同様である。S44を終えると、S46に進む。 In S44, the generation unit 42 (see FIG. 1) generates a password. The process of S44 is the same as the process of S22 of FIG. When S44 ends, the process proceeds to S46.
S46では、通信実行部44(図1参照)は、G/O状態用のWPSネゴシエーションを実行する。例えば、図2のS14で選択された方式がPINコード方式である場合には、通信実行部44は、プリンタ10で表示されたPINコード又はプリンタ10に入力されたPINコードを用いて、特定のデータ(例えば、最後にプリンタ10と対象機器との間で通信したパケットデータ)をハッシュコードに変換する。一方、対象機器も、対象機器で表示されたPINコード又は対象機器に入力されたPINコードを用いて、上記の特定データをハッシュコードに変換する。プリンタ10(通信実行部44)及び対象機器のどちらかの機器は、プリンタ10で生成されたハッシュコードと、対象機器で生成されたハッシュコードと、が一致するのか否かを判断する。また、例えば、図2のS14で選択された方式がPBC方式である場合には、プリンタ10(通信実行部44)及び対象機器は、予め決められているPINコードを用いて、上記の特定データをハッシュコードに変換する。また、プリンタ10及び対象機器のどちらかの機器は、2つのハッシュコードが一致するのか否かを判断する。本実施例では、SSID、認証方式、及び、暗号化方式は、予め決められている。ただし、SSIDは、S46で生成されてもよい。また、パスワードは、S44で生成されたものである。
In S46, the communication execution unit 44 (see FIG. 1) executes WPS negotiation for the G / O state. For example, when the method selected in S14 of FIG. 2 is the PIN code method, the
2つのハッシュコードが一致した場合、即ち、PINコードの認証に成功した場合には、通信実行部44は、上記の無線プロファイルを、対象機器に無線で送信する。この結果、プリンタ10及び対象機器は、同じ無線プロファイルを利用することができる。
When the two hash codes match, that is, when the PIN code is successfully authenticated, the
次いで、S48では、通信実行部44は、対象機器との間で、無線プロファイルを用いて接続処理を実行する。即ち、通信実行部44は、対象機器との間で、無線プロファイルを用いて、Authentication Request、Authentication Response、Association Request、Association Response、及び、4way handshakeの無線通信を実行する。この過程で、プリンタ10及び対象機器は、SSIDの認証、パスワードの認証、認証方式及び暗号化方式の認証等の様々な認証処理を実行する。全ての認証が成功した場合に、プリンタ10及び対象機器の間に無線接続が確立される。これにより、プリンタ10と対象機器とを含む無線ネットワークが構築される。
Next, in S48, the
次いで、S50では、制御部22は、メモリ32内の管理リスト36にクライアント状態である対象機器のMACアドレスを登録する。なお、対象機器のMACアドレスは、S34のSearch処理で取得されたProbe Response信号に含まれている。S50を終えると、PIN/PBC接続処理が終了する。
Next, in S50, the
一方、S52では、通信実行部44は、クライアント状態用のWPSネゴシエーションを実行する。具体的に言うと、S52では、通信実行部44は、無線接続を確立するために必要な無線プロファイル(SSID、認証方式、暗号化方式、パスワード等)を、対象機器から無線で受信する。例えば、図2のS14で選択された方式がPINコード方式である場合には、プリンタ10(通信実行部44)及び対象機器は、プリンタ10で表示されたPINコード又はプリンタ10に入力されたPINコードを用いて、特定データをハッシュコードに変換し、2つのハッシュコードが一致するのか否かを判断する。2つのハッシュコードが一致した場合、通信実行部44は、無線プロファイルを対象機器から無線で受信する。また、例えば、図2のS14で選択された方式がPBC方式である場合には、プリンタ10及び対象機器は、予め決められたPINコードを用いて、特定データをハッシュコードに変換し、2つのハッシュコードが一致するのか否かを判断する。2つのハッシュコードが一致した場合、通信実行部44は、無線プロファイルを対象機器から無線で受信する。この結果、プリンタ10及び対象機器は、同じ無線プロファイルを利用することができる。
On the other hand, in S52, the
次いで、S54では、通信実行部44は、上記のS48と同様に、対象機器との間で無線プロファイルを用いて接続処理を実行する。その結果、プリンタ10と対象機器との間に無線接続が確立される。これにより、プリンタ10と対象機器とを含む無線ネットワークが構築される。S54を終えると、PIN/PBC接続処理が終了する。
Next, in S54, the
例えば、プリンタ10がG/O状態である場合には、プリンタ10は、クライアント状態の対象機器との間で、通信対象の対象データ(印刷データ等)の通信を実行することができるようになる。なお、対象データは、OSI参照モデルの物理層よりも上位層であるネットワーク層のデータを含む。従って、G/O状態のプリンタ10は、クライアント状態の対象機器との間で、ネットワーク層の無線通信を実行することができる。さらに、G/O状態のプリンタ10は、クライアント状態の対象機器と、管理リストに登録されているクライアント状態の他の機器と、の間の無線通信を中継することができるようになる。 For example, when the printer 10 is in the G / O state, the printer 10 can execute communication of target data (print data, etc.) to be communicated with the target device in the client state. . Note that the target data includes data in the network layer that is higher than the physical layer of the OSI reference model. Therefore, the printer 10 in the G / O state can execute network layer wireless communication with the target device in the client state. Further, the printer 10 in the G / O state can relay wireless communication between the target device in the client state and other devices in the client state registered in the management list.
(マニュアル接続処理:図4)
続いて、図4を参照して、G/O状態のプリンタ10によって実行されるマニュアル接続処理(図2のS28)の内容について説明する。ユーザは、プリンタ10と他の機器(以下では「対象機器」と呼ぶ)との間で、WPSの無線接続方式を利用せずに、無線接続を確立させることを望む場合には、図2のS14でマニュアル方式を選択する。この結果、マニュアル接続処理が実行される。なお、上述したように、マニュアル接続処理が開始される場合には、プリンタ10の状態はG/O状態である(図2のS26)。通常、マニュアル接続処理では、G/O状態になることが不可能なWFD非対応機器と接続することを想定しているからである。
(Manual connection processing: Fig. 4)
Next, the contents of the manual connection process (S28 in FIG. 2) executed by the printer 10 in the G / O state will be described with reference to FIG. When the user desires to establish a wireless connection between the printer 10 and another device (hereinafter referred to as “target device”) without using the WPS wireless connection method, FIG. In S14, the manual method is selected. As a result, manual connection processing is executed. As described above, when the manual connection process is started, the printer 10 is in the G / O state (S26 in FIG. 2). This is because the manual connection process normally assumes that the device is connected to a non-WFD compatible device that cannot enter the G / O state.
S60では、まず、生成部42は、パスワードを生成する。S60の処理は、図2のS22の処理と同様である。S60を終えると、S62に進む。
In S60, first, the
S62では、表示制御部48(図1参照)は、SSID及びパスワードを表示部12に表示させる。具体的には、S62では、表示制御部48は、予め決められているSSIDと、S60で生成されたパスワードと、を表示部12に表示させる。SSID及びパスワードは、無線接続を確立するために必要な無線プロファイルに含まれるべき情報である。ユーザは、表示部12を見ることにより、SSID及びパスワードを知ることができる。マニュアル方式では、SSID及びパスワードは、対象機器に無線で送信されない。
In S62, the display control unit 48 (see FIG. 1) causes the
ユーザは、対象機器の操作部を操作して、プリンタ10の表示部12に表示されたSSID及びパスワードを対象機器に入力する。この場合、対象機器は、入力されたSSID及びパスワードをプリンタ10に無線で送信する。この際、対象機器は、入力されたSSID及びパスワードとともに、対象機器のMACアドレスをプリンタ10に無線で送信する。
The user operates the operation unit of the target device to input the SSID and password displayed on the
S64では、通信実行部44は、対象機器から受信したSSID及びパスワードの認証が成功したか否か判断する。具体的には、S64では、通信実行部44は、対象機器から受信したSSID及びパスワードと、表示部12に表示されたSSID及びパスワードと、が一致するのか否かを判断(認証)する。S64でYESの場合(対象機器から受信したSSID及びパスワードと、表示部12に表示されたSSID及びパスワードと、が一致する場合)、S66に進む。なお、S64でNOの場合には、S66及びS68が実行されずに、マニュアル接続処理が終了する。
In S64, the
S66では、通信実行部44は、対象機器との間で無線プロファイルを用いて接続処理を実行する。具体的には、まず、S66では、通信実行部44は、予め決められている認証方式及び暗号化方式等を対象機器に無線で送信する。この結果、プリンタ10と対象機器とは、共通の無線プロファイル(SSID、認証方式、暗号化方式、パスワード等)を利用することができる。さらに、通信実行部44は、対象機器との間で、無線プロファイルを用いた通信(Authentication Request、Authentication Response、Association Request、Association Response、及び、4way handshake)を実行して、認証方式及び暗号化方式の認証等、SSID及びパスワードの認証以外の様々な認証処理を実行する。全ての認証が成功した場合に、プリンタ10及び対象機器の間に無線接続が確立される。これにより、プリンタ10及び対象機器を含む無線ネットワークが構築される。
In S66, the
次いで、S68では、制御部22は、メモリ32内の管理リスト36にクライアントである対象機器のMACアドレスを登録する。S68を終えると、マニュアル接続処理が終了する。
Next, in S <b> 68, the
上述したように、マニュアル方式(図4参照)では、ユーザは、SSIDとパスワードとを対象機器に入力する必要がある。従って、マニュアル方式のことを「手動無線設定モード」と呼ぶことができる。これに対し、PINコード方式及びPBC方式(図3参照)では、ユーザは、SSIDとパスワードとを対象機器に入力せずに済む。従って、PINコード方式とPBC方式とを合わせて「自動無線設定モード(もしくは簡単無線設定モード)」と呼ぶことができる。 As described above, in the manual method (see FIG. 4), the user needs to input the SSID and password to the target device. Therefore, the manual method can be called “manual wireless setting mode”. On the other hand, in the PIN code method and the PBC method (see FIG. 3), the user does not have to input the SSID and password to the target device. Accordingly, the PIN code method and the PBC method can be collectively referred to as “automatic wireless setting mode (or simple wireless setting mode)”.
(G/O処理:図5)
続いて、図5を参照して、プリンタ10が、無線ネットワークのG/Oとして動作する場合に実行される処理の内容を説明する。S70では、制御部22は、ユーザによって操作部14において方式選択操作が実行されることを監視する。方式選択操作が実行されると(S70でYES)、S72に進む。なお、ユーザは、G/O状態のプリンタ10との間で無線接続が確立されるべき機器(以下では「対象機器」と呼ぶ)においても、方式選択操作を実行する。
(G / O processing: FIG. 5)
Next, contents of processing executed when the printer 10 operates as G / O of the wireless network will be described with reference to FIG. In S <b> 70, the
S72では、制御部22は、S70で選択された方式がPINコード方式又はPBC方式であるのか否かを判断する。S72でYESの場合(S70で選択された方式=PINコード方式又はPBC方式の場合)、制御部22は、S74に進む。この際、対象機器は、Scan処理においてプリンタ10を見つけることができ、プリンタ10を含む機器リストを対象機器の表示部に表示させる。
In S72, the
例えば、S70で選択された方式がPINコード方式である場合、ユーザによって機器リストからプリンタ10が選択されると、対象機器とプリンタ10との間では、図3のS40と同様にPINコードの表示及び入力が実行され、その後、接続要求信号の受信及びOK信号の送信が実行される。一方において、例えば、S70で選択された方式がPBC方式である場合、PINコードの表示及び入力が実行されず、対象機器とプリンタ10との間では、接続要求信号の受信及びOK信号の送信が実行される。なお、対象機器から受信される接続要求信号は、対象機器のMACアドレス、カテゴリ等の各種情報を含む。これにより、制御部22は、対象機器の各種情報を取得する。なお、対象機器は、接続要求信号をプリンタ10に送信すると、クライアント状態に移行する。プリンタ10がG/O状態であるために、対象機器がG/O状態になることが不可能だからである。対象機器がクライアント状態に移行すると、S74に進む。
For example, when the method selected in S70 is the PIN code method, when the user selects the printer 10 from the device list, the PIN code is displayed between the target device and the printer 10 as in S40 of FIG. After that, the connection request signal is received and the OK signal is transmitted. On the other hand, for example, if the method selected in S70 is the PBC method, the PIN code is not displayed and input, and the connection request signal and the OK signal are transmitted between the target device and the printer 10. Executed. Note that the connection request signal received from the target device includes various information such as the MAC address and category of the target device. Thereby, the
S74では、制御部22は、図3のS46と同様に、G/O状態用のWPSネゴシエーションを実行する。即ち、S74〜S78の各処理は、図3のS46〜50と同様である。S78を終えると、S70に戻る。
In S74, the
一方、S72でNOの場合(S70で選択された方式=マニュアル方式の場合)、S80に進む。S80では、表示制御部48は、SSID及びパスワードを表示部12に表示させる。S80で表示部12に表示されるパスワードは、プリンタ10がG/O状態に移行された際に生成されたパスワードである(図2のS22、図3のS44、図4のS60)。S82は、図4のS64と同様である。S82でYESの場合(対象機器から受信したSSID及びパスワードと、表示部12に表示されたSSID及びパスワードと、が一致する場合)、S76に進み、S82でNOの場合、S70に戻る。
On the other hand, if NO in S72 (if the method selected in S70 = manual method), the process proceeds to S80. In S80, the
一方、S70でNOの場合(方式選択操作が実行されない場合)、S84では、制御部22は、無線チップセット17(図1参照)から、検出不能信号を取得することを監視する。管理リスト36に登録されているクライアント状態の機器(以下では「クライアント機器」と呼ぶ)は、G/O状態のプリンタ10に定期的に信号(以下「定期信号」と呼ぶ)を送信する。無線チップセット17は、クライアント機器が送信する定期信号を受信する。例えば、クライアント機器が携帯端末である場合には、クライアント機器は、プリンタ10との無線通信が可能な範囲の外に移動する可能性がある。また、例えば、通信障害等によってプリンタ10とクライアント機器との間で無線通信を実行不可能な状態になる可能性もある。また、例えば、クライアント機器の電源がOFFされる可能性もある。そのような場合には、無線チップセット17は、クライアント機器から送信される定期信号を受信することができない。無線チップセット17は、クライアント機器から定期信号を受信不可能な状態が所定時間に亘って継続する場合に、制御部22に検出不能信号を供給する。検出不能信号は、検出不能状態のクライアント機器のMACアドレスを含む。制御部22は、検出不能信号を取得すると(S84でYES)、S88に進む。
On the other hand, in the case of NO in S70 (when the method selection operation is not executed), in S84, the
一方、S84でNOの場合(無線チップセット17から、検出不能信号を取得しなかった場合)、S86では、制御部22は、クライアント機器から、非接続信号を取得することを監視する。例えば、ユーザは、クライアント機器を無線ネットワークから離脱させることを望む場合に、クライアント機器において所定の操作を実行することができる。この場合、クライアント機器は、無線ネットワークから離脱することを示す非接続信号を、G/O状態のプリンタ10に無線で送信する。非接続信号は、非接続信号の送信元のクライアント機器のMACアドレスを含む。制御部22は、非接続信号を取得すると(S86でYES)、S88に進む。なお、S86でNOの場合、S70に戻る。
On the other hand, in the case of NO in S84 (when the detection failure signal is not acquired from the wireless chipset 17), in S86, the
S88では、制御部22は、S84で取得した検出不能信号に含まれるMACアドレス、又は、S86で取得した非接続信号に含まれるMACアドレスを、管理リスト36から削除する。S88の処理の結果、クライアント機器が無線ネットワークから離脱し、当該クライアント機器が制御部22の管理対象から外れる。S88を終えると、S90に進む。
In S88, the
S90では、制御部22は、クライアント機器の数がゼロであるのか否かを判断する。具体的には、制御部22は、管理リスト36に記憶されているMACアドレスの数がゼロであるのか否かを判断する。S90でNOの場合(管理リスト36に記憶されているMACアドレスの数が1以上である場合)、G/O処理はS70に戻る。一方、S90でYESの場合(管理リストに記憶されているMACアドレスの数がゼロである場合)、S92に進む。
In S90, the
S92では、停止部46(図1参照)は、プリンタ10の状態をG/O状態からデバイス状態に移行させて、G/Oとしての動作を停止させる。G/Oとしての動作が停止することにより、プリンタ10は、他の機器との間で対象データ(印刷データ等)を無線で通信することができなくなる。また、プリンタ10は、複数個のクライアント機器の間の対象データの無線通信を中継することもできなくなる。また、S92では、停止部46は、無線ネットワークで利用されていた無線プロファイルを破棄する。即ち、停止部46は、プリンタ10がG/O状態に移行された際に生成されたパスワード(図2のS22、図3のS44、図4のS60)を破棄する。即ち、S92では、無線ネットワークが消滅する。S92を終えると、G/O処理が終了する。
In S92, the stop unit 46 (see FIG. 1) shifts the state of the printer 10 from the G / O state to the device state, and stops the operation as G / O. When the operation as G / O is stopped, the printer 10 cannot wirelessly communicate target data (print data or the like) with other devices. In addition, the printer 10 cannot relay wireless communication of target data among a plurality of client devices. In S92, the stopping
(ケースA:図6、図7)
続いて、図6、図7を参照して、上記の各処理(図2〜図5参照)が実行されるケースの一例(ケースA)を説明する。
(Case A: FIGS. 6 and 7)
Next, an example (case A) in which each of the above processes (see FIGS. 2 to 5) is executed will be described with reference to FIGS.
(処理A1)
ケースAでは、まず、ユーザが、デバイス状態のプリンタ10の操作部14を操作して、マニュアル方式を選択するための方式選択操作を実行する(図2のS16でNO)。さらに、ユーザは、デバイス状態のPC70でも、マニュアル方式を選択するための方式選択操作を実行する。この場合、まず、プリンタ10は、プリンタ10の状態を、デバイス状態からG/O状態に移行させる(図2のS26)。次いで、プリンタ10は、パスワード「xxxxxx」を生成する(図4のS60)。次いで、プリンタ10は、予め決められているSSID「aaaaaa」と、生成されたパスワード「xxxxxx」とを、表示部12に表示させる(図4のS62)。ユーザは、プリンタ10の表示部12に表示されたSSID及びパスワードを、PC70に入力する。PC70は、入力されたSSID及びパスワードをプリンタ10に無線で送信する。PC70から受信したSSID及びパスワードの認証が成功すると(図4のS64でYES)、プリンタ10は、認証方式及び暗号化方式の認証等、その他の認証を実行する。全ての認証が成功すると、プリンタ10とPC70との間に無線接続が確立される(図4のS66)。これにより、プリンタ10とPC70を含む無線ネットワークが構築される。
(Processing A1)
In Case A, first, the user operates the
(処理A2)
次いで、ユーザは、G/O状態のプリンタ10とデバイス状態のPC60のそれぞれに、PINコード方式を選択するための方式選択処理を実行する(図5のS70でYES、S72でYES)。この場合、PC60は、Scan処理においてプリンタ10を見つけることができ、プリンタ10を含む機器リストをPC60の表示部に表示させる。ユーザによって機器リストからプリンタ10が選択されると、PC60とプリンタ10とにおいて、PINコードの表示及び入力が実行される。その後、PC60は、クライアント状態に移行する。次いで、プリンタ10とPC60との間でWPSネゴシエーションが実行され(図5のS74)、プリンタ10からPC60に無線プロファイルが送信される。この無線プロファイルは、SSID「aaaaaa」と、生成済みのパスワード「xxxxxx」と、を含む。次いで、プリンタ10は、PC60との間で、無線プロファイルを用いて接続処理を実行する(図5のS76)。その結果、プリンタ10とPC60との間に無線接続が確立される(図5のS76、S78)。これにより、PC60は、プリンタ10とPC70を含む既存の無線ネットワークに新たに参加することができる。
(Process A2)
Next, the user executes a method selection process for selecting the PIN code method for each of the printer 10 in the G / O state and the
(処理A3)
その後、PC60及びPC70が、無線ネットワークから離脱する。なお、PC60は、状態をクライアント状態からデバイス状態に移行させる。この結果、プリンタ10の管理対象のクライアント機器の数(即ちクライアント数)がゼロとなる(図5のS90でYES)。この場合、プリンタ10は、プリンタ10の状態をG/O状態からデバイス状態に移行(復帰)させて、G/Oとしての動作を停止させる(図5のS92)。この際、プリンタ10は、無線ネットワークで利用されていた無線プロファイルを破棄する。これにより、無線ネットワークは消滅する。この構成によると、プリンタ10は、無線ネットワークを適切に消滅させることができる。
(Process A3)
Thereafter, the
(処理A4)
図7に示すように、その後、ユーザは、デバイス状態のプリンタ10とデバイス状態のPC70のそれぞれに、マニュアル方式を選択するための方式選択操作を再度実行する(図2のS16でNO)。この場合、処理A1と同様に、まず、プリンタ10は、プリンタ10の状態をデバイス状態からG/O状態に移行させる(図2のS26)次いで、プリンタ10は、前回生成されたパスワード「xxxxxx」とは異なるパスワード「yyyyyy」をランダムに生成する(図4のS60)。従って、仮に、第三者によって「xxxxxx」が不正に取得されたとしても、当該第三者は、「xxxxxx」に基づいて、「yyyyyy」を推測し難い。このために、無線ネットワークのセキュリティを向上させ得る。次いで、プリンタ10は、予め決められているSSID「aaaaaa」と、生成されたパスワード「yyyyyy」と、を表示部12に表示させる(図4のS62)。これ以降、プリンタ10とPC70との間で、上述の処理A1と同様の処理が実行される。その結果、プリンタ10とPC70との間に再度無線接続が確立される(図4のS66)。これにより、プリンタ10とPC70を含む新たな無線ネットワークが構築される。
(Process A4)
As shown in FIG. 7, after that, the user again executes a method selection operation for selecting the manual method for each of the device-state printer 10 and the device-state PC 70 (NO in S16 of FIG. 2). In this case, as in the process A1, first, the printer 10 shifts the state of the printer 10 from the device state to the G / O state (S26 in FIG. 2). Next, the printer 10 generates the password “xxxxxxxx” generated last time. A password “yyyyyy” different from the password is randomly generated (S60 in FIG. 4). Therefore, even if “xxxxxxxx” is illegally acquired by a third party, it is difficult for the third party to guess “yyyyy” based on “xxxxxxxx”. For this reason, the security of the wireless network can be improved. Next, the printer 10 displays a predetermined SSID “aaaaaa” and the generated password “yyyyyy” on the display unit 12 (S62 in FIG. 4). Thereafter, a process similar to the above-described process A1 is executed between the printer 10 and the
(処理A5)
次いで、ユーザは、G/O状態のプリンタ10とデバイス状態のPC60のそれぞれに、PINコード方式を選択するための方式選択処理を実行する(図5のS70でYES、S72でYES)。この場合も、プリンタ10とPC60との間で、上述の処理A2と同様の処理が実行される。ただし、図7に示すように、処理A5では、WPSネゴシエーションにおいてプリンタ10からPC60に送信される無線プロファイルが、パスワード「xxxxxx」ではなく、パスワード「yyyyyy」を含む。この点が上述の処理A2とは異なる。処理A5の結果、プリンタ10とPC60との間に無線接続が確立される(図5のS76、S78)。これにより、PC60は、プリンタ10とPC70を含む既存の無線ネットワークに新たに参加することができる。
(Process A5)
Next, the user executes a method selection process for selecting the PIN code method for each of the printer 10 in the G / O state and the
例えば、ケースAにおいて、図6の処理A1で無線ネットワークが構築される際に、第三者によって、表示部12に表示されたパスワード「xxxxxx」が盗み見られる可能性がある。本実施例では、プリンタ10は、図6の処理A1で構築された無線ネットワークが消滅した後に、図7の処理A4で無線ネットワークが構築されるべき場合に、プリンタ10は、異なるパスワード「yyyyyy」を生成する。即ち、プリンタ10は、新たな無線ネットワークが構築されるべき場合に、第三者が知り得ない新たなパスワードを生成する。従って、第三者によって所有される機器が、新たな無線ネットワークに不正に参加することを抑制することができる。即ち、新たな無線ネットワークのセキュリティを向上させることができ、この結果、新たな無線ネットワークを適切に構築することができる。
For example, in case A, when a wireless network is constructed in process A1 of FIG. 6, the password “xxxxxxxx” displayed on the
(ケースB:図8)
続いて、図8を参照して、上記の各処理(図2〜図5参照)が実行されるケースの他の一例(ケースB)を説明する。図8では、プリンタ10とPC60との間で、PINコード方式によって無線接続が確立される状況を想定している。
(Case B: Fig. 8)
Subsequently, another example (case B) in which each of the above processes (see FIGS. 2 to 5) is executed will be described with reference to FIG. In FIG. 8, it is assumed that a wireless connection is established between the printer 10 and the
ケースBでは、まず、ユーザが、デバイス状態のプリンタ10及びデバイス状態のPC60のそれぞれに、PINコード方式を選択するための方式選択操作を実行する(図2のS16でYES)。この場合、まず、プリンタ10は、Scan、Listen、Searchの各処理を実行する(図3のS30〜S34)。この際、プリンタ10は、Search処理において、デバイス状態のPC60を見つけることができる。次いで、プリンタ10は、PC60を含む機器リストを表示部12に表示させる(図3のS36)。ユーザは、プリンタ10の操作部14を操作して、PC60を選択する機器選択操作を実行することができる。機器選択操作が実行されると、プリンタ10とPC60との間で、PINコードの表示及び入力が実行される。
In Case B, first, the user performs a method selection operation for selecting the PIN code method for each of the printer 10 in the device state and the
次いで、プリンタ10は、PC60との間でG/Oネゴシエーションを実行する(図3のS40)。例えば、上記のG/Oネゴシエーションの結果、プリンタ10がG/Oとして決定され、PC60がクライアントとして決定される場合(図3のS42でYES)には、プリンタ10は、プリンタ10の状態をG/O状態に移行させる。一方、PC60は、PC60の状態をクライアント状態に移行させる。次いで、プリンタ10は、パスワード「pppppp」を生成する(図3のS44)。次いで、プリンタ10とPC60との間でWPSネゴシエーションが実行され(図3のS46)、プリンタ10からPC60に無線プロファイルが送信される。この無線プロファイルは、予め決められているSSID「aaaaaa」と、パスワード「pppppp」と、を含む。次いで、プリンタ10は、PC60との間で、無線プロファイルを用いて接続処理を実行する(図3のS48)。その結果、プリンタ10とPC60との間に無線接続が確立される(図3のS48、S50)。これにより、プリンタ10とPC60とを含む無線ネットワークが構築される。
Next, the printer 10 performs G / O negotiation with the PC 60 (S40 in FIG. 3). For example, if the printer 10 is determined as G / O and the
また、上記のG/Oネゴシエーションの結果、プリンタ10がクライアントとして決定され、PC60がG/Oとして決定する場合(図3のS42でNO)には、プリンタ10は、プリンタ10の状態をクライアント状態に移行させる。一方、PC60は、PC60の状態をG/O状態に移行させる。この場合、プリンタ10(即ち生成部40)は、パスワードを生成しない。PC60は、パスワード「qqqqqq」を生成する。次いで、プリンタ10とPC60との間でWPSネゴシエーションが実行され(図3のS52)、PC60からプリンタ10に無線プロファイルが送信される。この無線プロファイルは、予め決められているSSID「bbbbbb」と、パスワード「qqqqqq」と、を含む。次いで、プリンタ10は、PC60との間で、無線プロファイルを用いて接続処理を実行する(図3のS54)。その結果、プリンタ10とPC60との間に無線接続が確立される(図3のS54)。これにより、プリンタ10とPC60を含む無線ネットワークが構築される。なお、ここでは、PC60がパスワード「qqqqqq」を新たに生成する例について説明しているが、PC60は、パスワードを生成せずに、予め決められたパスワードを用いてもよい。
If the printer 10 is determined as a client and the
ケースBでは、プリンタ10は、G/O状態及びクライアント状態のうちのどちらで動作すると決定されたのかに応じて、適切に動作を実行することができ、その結果、無線ネットワークを適切に構築することができる。 In Case B, the printer 10 can appropriately perform an operation depending on whether it is determined to operate in the G / O state or the client state, and as a result, the wireless network is appropriately constructed. be able to.
(対応関係)
プリンタ10が「無線通信装置」の一例である。G/O状態、クライアント状態が、それぞれ、「親局状態」、「子局状態」の一例である。ケースA(図6、図7)のPC60が「第1の外部装置」及び「第2の外部装置」の一例である。ケースAのPC70が「第3の外部装置」の一例である。ケースAの処理A1で構築される無線ネットワークと、処理A4で構築される無線ネットワークが、それぞれ、「第1の無線ネットワーク」、「第2の無線ネットワーク」の一例である。ケースAの処理A1で生成されるパスワード(xxxxxx)、処理A4で生成されるパスワード(yyyyyy)が、それぞれ、「第1の認証情報」、「第2の認証情報」の一例である。パスワード「xxxxx」を含む無線プロファイル、パスワード「yyyyyy」を含む無線プロファイルが、それぞれ、「第1の無線プロファイル」、「第2の無線プロファイル」の一例である。PIN/PBC方式、マニュアル方式が、それぞれ、「自動無線設定モード」、「手動無線設定モード」の一例である。ケースB(図8)のパスワード「qqqqqq」と、そのパスワード「qqqqqq」を含む無線プロファイルが、それぞれ、「特定の認証情報」、「特定の無線プロファイル」の一例である。
(Correspondence)
The printer 10 is an example of a “wireless communication device”. The G / O state and the client state are examples of the “master station state” and the “slave station state”, respectively. The
以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。 Specific examples of the present invention have been described in detail above, but these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and changes of the specific examples illustrated above. The modifications of the above embodiment are listed below.
(変形例1)上記の実施例では、生成部42は、パスワードのみを生成し、SSIDを生成しない(図2のS22、図3のS44、図5のS60)。これに代えて、生成部42は、パスワードとともに、SSIDを生成してもよい。また、生成部42は、パスワードを生成せず、SSIDのみを生成してもよい。一般的に言うと、生成部は、第1及び第2の認証情報のみならず、他の情報(例えばSSID)を生成してもよい。
(Modification 1) In the above embodiment, the
(変形例2)上記の実施例では、生成部42は、ランダムに生成された文字列を、現在時刻に関係する所定の関数で変換することにより、パスワードを生成する。これに代えて、生成部42は、ランダムに生成された文字列をパスワードとしてもよい。また、生成部42は、ランダムではなく、所定の規則に従って、パスワードを生成してもよい。一般的に言うと、生成部は、第1の認証情報とは異なる第2の認証情報を生成すればよい。
(Modification 2) In the above embodiment, the
(変形例3)「無線通信装置」は、プリンタ10に限られず、無線通信可能な他の機器(例えば、携帯電話、PDA、PC、サーバ、FAX装置、コピー機、スキャナ、多機能機等)であってもよい。 (Modification 3) The “wireless communication device” is not limited to the printer 10, and other devices capable of wireless communication (for example, mobile phones, PDAs, PCs, servers, FAX devices, copiers, scanners, multi-function devices, etc.) It may be.
(変形例4)上記の実施例では、WFD非対応機器(PC70)は、WPSネゴシエーションを実行可能であるか不可能であるかを特定していない。WFD非対応機器は、WPSネゴシエーションを実行可能であってもよい(以下では「WPS対応機器」と呼ぶ)し、WPSネゴシエーションを実行不可能であってもよい(以下では「WPS非対応機器」と呼ぶ)。即ち、第1〜第3の外部装置は、WFD対応機器であってもよいし、WFD非対応機器のうちのWPS対応機器であってもよいし、WFD非対応機器のうちのWPS非対応機器であってもよい。 (Modification 4) In the above embodiment, the WFD non-compliant device (PC 70) does not specify whether or not WPS negotiation can be performed. The WFD non-compliant device may be capable of executing WPS negotiation (hereinafter referred to as “WPS compliant device”), or may not be able to execute WPS negotiation (hereinafter referred to as “WPS non-compliant device”). Call). That is, the first to third external devices may be WFD-compatible devices, may be WPS-compatible devices among WFD-incompatible devices, or are not WPS-compatible devices among WFD-incompatible devices. It may be.
(変形例5)図4のS62及び図5のS80において、表示制御部48は、SSID及びパスワードを、プリンタ10の表示部12ではなく、他の機器の表示部に表示させてもよい。即ち、一般的に言うと、「表示部」は、無線通信装置の内部の表示部であってもよいし、無線通信装置の外部の表示部であってもよい。
(Modification 5) In S62 of FIG. 4 and S80 of FIG. 5, the
(変形例6)「親局状態」は、WFDのG/O状態に限られず、無線ネットワークを構成する他のデバイスを管理(例えば、他のデバイスに関する情報のリストを管理すること、他のデバイス間の無線通信を中継すること等)する状態であればよい。また、「子局状態」は、WFDのクライアント状態に限られず、親局状態の機器によって管理される状態であればよい。 (Modification 6) The “master station state” is not limited to the G / O state of the WFD, but manages other devices configuring the wireless network (for example, managing a list of information on other devices, other devices) It may be in a state of relaying wireless communication between them). The “slave station state” is not limited to the WFD client state, but may be a state managed by a device in the parent station state.
(変形例7)上記の各実施例では、プリンタ10のCPU30がソフトウェアに従って処理を実行することによって、各部40〜48が実現される。これに代えて、各部40〜48のうちの少なくとも一部は、論理回路等のハードウェアによって実現されてもよい。
(Modification 7) In each of the embodiments described above, the
また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。 The technical elements described in this specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technology illustrated in the present specification or the drawings achieves a plurality of objects at the same time, and has technical utility by achieving one of the objects.
2:通信システム、10:プリンタ、60:PC、70:PC 2: Communication system, 10: Printer, 60: PC, 70: PC
Claims (9)
前記無線通信装置が前記親局状態と前記非親局状態とのうちのいずれの状態で動作するのかを決定する決定部と、
前記無線通信装置と第1の外部装置とを含む第1の無線ネットワークが構築されるべき場合において、前記無線通信装置が前記親局状態で動作することが決定される場合に、前記第1の無線ネットワークを構築するための第1の無線プロファイルに含まれる第1の認証情報を生成する生成部と、
前記第1の認証情報を含む前記第1の無線プロファイルを用いて、前記第1の外部装置と無線接続を確立するための通信を実行することによって、前記第1の無線ネットワークを構築する通信実行部と、
を備え、
前記無線通信装置が前記親局状態から前記非親局状態に移行することによって前記第1の無線ネットワークが消滅した後に、前記無線通信装置と第2の外部装置とを含む第2の無線ネットワークが構築されるべき場合において、前記無線通信装置が前記親局状態で動作することが決定される場合に、
前記生成部は、さらに、前記第2の無線ネットワークを構築するための第2の無線プロファイルに含まれる第2の認証情報であって、前記第1の認証情報とは異なる前記第2の認証情報を生成し、
前記通信実行部は、さらに、前記第2の認証情報を含む前記第2の無線プロファイルを用いて、前記第2の外部装置と無線接続を確立するための通信を実行することによって、前記第2の無線ネットワークを構築する、無線通信装置。 A wireless communication device capable of selectively operating in any one of a parent station state that functions as a parent station of a wireless network and a non-parent station state that does not function as the parent station of the wireless network,
A determining unit that determines whether the wireless communication device operates in the master station state or the non-master station state ;
In a case where a first wireless network including the wireless communication device and a first external device is to be constructed, when it is determined that the wireless communication device operates in the master station state, the first wireless network A generating unit that generates first authentication information included in a first wireless profile for constructing a wireless network;
Communication execution for establishing the first wireless network by executing communication for establishing a wireless connection with the first external device using the first wireless profile including the first authentication information. And
With
A second wireless network including the wireless communication device and a second external device after the first wireless network disappears due to the wireless communication device transitioning from the parent station state to the non-parent station state; In the case where it is to be constructed, when it is determined that the wireless communication device operates in the master station state,
The generating unit further includes second authentication information included in a second wireless profile for constructing the second wireless network, wherein the second authentication information is different from the first authentication information. Produces
The communication execution unit further executes communication for establishing a wireless connection with the second external device by using the second wireless profile including the second authentication information, thereby performing the second operation. A wireless communication device that constructs a wireless network.
前記生成部は、前記第2の認証情報を生成せず、
前記通信実行部は、前記第2の外部装置が有する特定の認証情報を含む特定の無線プロファイルを用いて、前記第2の外部装置と無線接続を確立するための通信を実行することによって、前記第2の無線ネットワークを構築する、請求項1に記載の無線通信装置。 In the case where the second wireless network is to be constructed, when it is determined that the wireless communication device operates in the non-master station state ,
The generation unit does not generate the second authentication information,
The communication execution unit executes communication for establishing a wireless connection with the second external device by using a specific wireless profile including specific authentication information included in the second external device. The wireless communication device according to claim 1, wherein the second wireless network is constructed.
自動無線設定モードに従って前記第2の無線ネットワークが構築されるべき場合に、前記無線通信装置が前記親局状態及び前記非親局状態のうちのどちらで動作するのかを決定し、
手動無線設定モードに従って前記第2の無線ネットワークが構築されるべき場合に、前記無線通信装置が前記親局状態で動作することを決定する、請求項1又は2に記載の無線通信装置。 The determination unit
Determining whether the wireless communication device operates in the parent station state or the non-parent station state when the second wireless network is to be constructed according to an automatic wireless setting mode;
The wireless communication device according to claim 1 or 2, wherein when the second wireless network is to be constructed according to a manual wireless setting mode, the wireless communication device determines to operate in the master station state.
前記無線通信装置は、
前記第1の無線ネットワークに含まれる前記子局状態で動作する外部装置の数がゼロになる場合に、前記無線通信装置が前記親局状態で動作するのを停止して前記無線通信装置を前記親局状態から前記非親局状態に移行させ、前記第1の無線ネットワークを消滅させる停止部をさらに備える、請求項1から3のいずれか一項に記載の無線通信装置。 The non-master station state includes a slave station state that functions as a slave station of the wireless network,
The wireless communication device
When the number of external devices operating in the slave station state included in the first wireless network becomes zero, the wireless communication device stops operating in the master station state, and the wireless communication device is 4. The wireless communication apparatus according to claim 1, further comprising a stop unit that shifts from a parent station state to the non-parent station state and extinguishes the first wireless network. 5.
前記無線通信装置と第1の外部装置とを含む第1の無線ネットワークが構築されるべき場合において、前記無線通信装置が前記親局状態で動作する場合に、第1の認証情報を含む第1の無線プロファイルを用いて、前記第1の外部装置と無線接続を確立するための通信を実行することによって、前記第1の無線ネットワークを構築する通信実行部を備え、
前記通信実行部は、さらに、前記無線通信装置が前記親局状態から前記非親局状態に移行することによって前記第1の無線ネットワークが消滅した後に、前記無線通信装置と第2の外部装置とを含む第2の無線ネットワークが構築されるべき場合において、前記無線通信装置が前記親局状態で動作する場合に、前記第1の認証情報とは異なる第2の認証情報を含む第2の無線プロファイルを用いて、前記第2の外部装置と無線接続を確立するための通信を実行することによって、前記第2の無線ネットワークを構築する、無線通信装置。 A wireless communication device capable of selectively operating in any one of a parent station state that functions as a parent station of a wireless network and a non-parent station state that does not function as the parent station of the wireless network,
In the above case should first wireless network including a radio communication apparatus and the first external device is built, the in case that the wireless communication device is to operate in the master station status, including the first authentication information Using the first wireless profile, the communication execution unit for constructing the first wireless network by executing communication for establishing a wireless connection with the first external device,
The communication execution unit further includes the wireless communication device and the second external device after the first wireless network disappears due to the wireless communication device shifting from the parent station state to the non-parent station state. in the case to the second wireless network is constructed including the in case that the wireless communication device is to operate in the master station status, including the different second authentication information from the first authentication information A wireless communication device that constructs the second wireless network by executing communication for establishing a wireless connection with the second external device using the wireless profile of 2.
前記無線通信装置に搭載されるコンピュータに、以下の各処理、即ち、
前記無線通信装置が前記親局状態と前記非親局状態とのうちのいずれの状態で動作するのかを決定する決定処理と、
前記無線通信装置と第1の外部装置とを含む第1の無線ネットワークが構築されるべき場合において、前記無線通信装置が前記親局状態で動作することが決定される場合に、前記第1の無線ネットワークを構築するための第1の無線プロファイルに含まれる第1の認証情報を生成する生成処理と、
前記第1の認証情報を含む前記第1の無線プロファイルを用いて、前記第1の外部装置と無線接続を確立するための通信を実行することによって、前記第1の無線ネットワークを構築する通信実行処理と、
を実行させ、
前記無線通信装置が前記親局状態から前記非親局状態に移行することによって前記第1の無線ネットワークが消滅した後に、前記無線通信装置と第2の外部装置とを含む第2の無線ネットワークが構築されるべき場合において、前記無線通信装置が前記親局状態で動作することが決定される場合に、
前記生成処理では、さらに、前記第2の無線ネットワークを構築するための第2の無線プロファイルに含まれる第2の認証情報であって、前記第1の認証情報とは異なる前記第2の認証情報を生成し、
前記通信実行処理では、さらに、前記第2の認証情報を含む前記第2の無線プロファイルを用いて、前記第2の外部装置と無線接続を確立するための通信を実行することによって、前記第2の無線ネットワークを構築する、コンピュータプログラム。 A computer for a wireless communication apparatus that can selectively operate in any one of a parent station state that functions as a parent station of a wireless network and a non-parent station state that does not function as the parent station of the wireless network A program,
In the computer mounted on the wireless communication device, the following processes, that is,
A determination process for determining whether the wireless communication device operates in the master station state or the non-master station state ;
In a case where a first wireless network including the wireless communication device and a first external device is to be constructed, when it is determined that the wireless communication device operates in the master station state, the first wireless network Generation processing for generating first authentication information included in a first wireless profile for constructing a wireless network;
Communication execution for establishing the first wireless network by executing communication for establishing a wireless connection with the first external device using the first wireless profile including the first authentication information. Processing,
And execute
A second wireless network including the wireless communication device and a second external device after the first wireless network disappears due to the wireless communication device transitioning from the parent station state to the non-parent station state; In the case where it is to be constructed, when it is determined that the wireless communication device operates in the master station state,
In the generation process, the second authentication information, which is second authentication information included in a second wireless profile for constructing the second wireless network and is different from the first authentication information. Produces
In the communication execution process, further, the second wireless profile including the second authentication information is used to execute communication for establishing a wireless connection with the second external device. A computer program that builds a wireless network.
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011132285A JP5754255B2 (en) | 2011-06-14 | 2011-06-14 | Wireless communication device |
EP18199688.5A EP3451724B1 (en) | 2011-06-14 | 2012-03-21 | Wireless communication device |
EP12160618.0A EP2536245B1 (en) | 2011-06-14 | 2012-03-21 | Wireless communication device |
CN201210082577.2A CN102833751B (en) | 2011-06-14 | 2012-03-26 | Wireless communication device |
US13/429,613 US8693038B2 (en) | 2011-06-14 | 2012-03-26 | Wireless communication device capable of operating selectively in any state among a plurality of states including a parent state and a child state in a wireless network |
US14/184,467 US20140169219A1 (en) | 2011-06-14 | 2014-02-19 | Wireless communication device capable of operating selectively in any state among a plurality of states including a parent state and a child state in a wireless network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011132285A JP5754255B2 (en) | 2011-06-14 | 2011-06-14 | Wireless communication device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013005095A JP2013005095A (en) | 2013-01-07 |
JP5754255B2 true JP5754255B2 (en) | 2015-07-29 |
Family
ID=45855570
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011132285A Active JP5754255B2 (en) | 2011-06-14 | 2011-06-14 | Wireless communication device |
Country Status (4)
Country | Link |
---|---|
US (2) | US8693038B2 (en) |
EP (2) | EP2536245B1 (en) |
JP (1) | JP5754255B2 (en) |
CN (1) | CN102833751B (en) |
Families Citing this family (33)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9036169B2 (en) * | 2011-12-12 | 2015-05-19 | Samsung Electronics Co., Ltd. | Image forming apparatus supporting Wi-Fi direct and method of activating Wi-Fi direct |
JP5950691B2 (en) | 2012-02-09 | 2016-07-13 | シャープ株式会社 | Information processing system, information processing apparatus, and communication connection method |
EP2688307B1 (en) * | 2012-07-19 | 2018-05-23 | Samsung Electronics Co., Ltd | Wireless communication system for offline participation in a display session |
JP6172954B2 (en) * | 2013-01-25 | 2017-08-02 | キヤノン株式会社 | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM |
JP6418723B2 (en) | 2013-02-15 | 2018-11-07 | キヤノン株式会社 | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM |
JP6238528B2 (en) * | 2013-02-22 | 2017-11-29 | キヤノン株式会社 | Printing device |
CN104010384A (en) * | 2013-02-27 | 2014-08-27 | 腾讯科技(深圳)有限公司 | Device searching method and apparatus |
JP6118187B2 (en) * | 2013-06-12 | 2017-04-19 | キヤノン株式会社 | Printing apparatus, printing apparatus control method, and program |
EP3029885B1 (en) | 2013-07-31 | 2020-08-05 | Sony Corporation | Information processing apparatus, information processing method, program, and information processing system |
EP3050271A1 (en) * | 2013-09-27 | 2016-08-03 | Arçelik Anonim Sirketi | Connecting a household appliance to wlan using a temporary network |
US10019703B2 (en) | 2014-05-13 | 2018-07-10 | Google Llc | Verifying a secure connection between a network beacon and a user computing device |
US9485243B2 (en) * | 2014-05-23 | 2016-11-01 | Google Inc. | Securing a wireless mesh network via a chain of trust |
JP6370144B2 (en) * | 2014-07-25 | 2018-08-08 | キヤノン株式会社 | Printing apparatus, method and program for executing NFC touch printing |
CN104580401A (en) * | 2014-12-23 | 2015-04-29 | 小米科技有限责任公司 | Connecting method and device |
US10205776B2 (en) * | 2014-12-23 | 2019-02-12 | Xiaomi Inc. | Method and device for wireless connection |
JP6166746B2 (en) | 2015-04-10 | 2017-07-19 | キヤノン株式会社 | COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM |
CN106162933A (en) * | 2015-04-15 | 2016-11-23 | 小米科技有限责任公司 | Terminal room method of mobile communication and device |
CN104936258A (en) * | 2015-06-17 | 2015-09-23 | 青岛海信移动通信技术股份有限公司 | Network access method, terminal and system |
US10009944B2 (en) | 2015-08-26 | 2018-06-26 | International Business Machines Corporation | Controlling wireless connection of a device to a wireless access point |
JP6655924B2 (en) * | 2015-09-17 | 2020-03-04 | キヤノン株式会社 | Communication device, communication device control method, and program |
EP3144798B1 (en) * | 2015-09-18 | 2020-12-16 | Canon Kabushiki Kaisha | Image processing apparatus, method of controlling the same, and storage medium |
FR3042675B1 (en) * | 2015-10-15 | 2017-12-08 | Oberthur Technologies | ELECTRONIC DEVICE COMPRISING A SECURE MODULE SUPPORTING A LOCAL MANAGEMENT MODE FOR CONFIGURING A SUBSCRIBING PROFILE |
JP6724338B2 (en) * | 2015-10-30 | 2020-07-15 | ブラザー工業株式会社 | Communication equipment |
JP6700969B2 (en) * | 2016-05-20 | 2020-05-27 | キヤノン株式会社 | Communication device, control method thereof, and program |
US11003762B2 (en) * | 2016-09-15 | 2021-05-11 | William John McIntosh | Password hidden characters |
JP6784155B2 (en) * | 2016-11-28 | 2020-11-11 | セイコーエプソン株式会社 | Wireless communication devices, wireless communication terminals, wireless communication systems, and wireless communication methods |
JP6784194B2 (en) * | 2017-02-28 | 2020-11-11 | ブラザー工業株式会社 | Communication device |
JP2019036923A (en) * | 2017-08-21 | 2019-03-07 | キヤノン株式会社 | Information processing apparatus, program, and control method |
CN107682911A (en) * | 2017-10-13 | 2018-02-09 | 歌尔科技有限公司 | Wireless network connecting method, device, equipment and system |
JP7155581B2 (en) | 2018-03-30 | 2022-10-19 | ブラザー工業株式会社 | Communication device and computer program for the communication device |
JP7024559B2 (en) * | 2018-03-30 | 2022-02-24 | ブラザー工業株式会社 | Computer programs for terminal devices, terminal devices, communication devices, and computer programs for communication devices |
JP7259334B2 (en) * | 2019-01-09 | 2023-04-18 | ブラザー工業株式会社 | Terminal and computer program for terminal |
JP7305815B2 (en) | 2021-01-06 | 2023-07-10 | キヤノン株式会社 | IMAGE PROCESSING DEVICE, CONTROL METHOD AND PROGRAM OF IMAGE PROCESSING DEVICE |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001175602A (en) | 1999-12-20 | 2001-06-29 | Casio Comput Co Ltd | Method for establishing communication terminal connection and communication system |
JP2004234286A (en) | 2003-01-30 | 2004-08-19 | Toshiba Corp | Information processor and communication data setting control method |
JP4489601B2 (en) | 2005-01-07 | 2010-06-23 | 株式会社日立製作所 | Security information exchange method, recorder apparatus, and television receiver |
JP4502393B2 (en) * | 2005-06-13 | 2010-07-14 | キヤノン株式会社 | Communication parameter sharing method and communication apparatus |
JP4829600B2 (en) * | 2005-11-28 | 2011-12-07 | キヤノン株式会社 | COMMUNICATION DEVICE AND COMMUNICATION DEVICE CONTROL METHOD |
KR101085905B1 (en) * | 2007-03-13 | 2011-11-23 | 삼성전자주식회사 | Wireless network printing system |
CN101771586B (en) * | 2008-11-14 | 2013-10-09 | 华为终端有限公司 | Method, system and equipment for realizing equipment adding in wireless fidelity (Wi-Fi) point-to-point network |
JP5319375B2 (en) * | 2009-04-14 | 2013-10-16 | オリンパス株式会社 | Wireless communication terminal and wireless network connection setting method |
JP4700122B2 (en) * | 2009-05-29 | 2011-06-15 | 株式会社バッファロー | Wireless LAN device |
US8873523B2 (en) * | 2009-09-30 | 2014-10-28 | Apple Inc. | Methods and apparatus for solicited activation for protected wireless networking |
US8335937B2 (en) * | 2009-12-24 | 2012-12-18 | Intel Corporation | Method and system for discoverability of power saving P2P devices |
US8493992B2 (en) * | 2010-02-04 | 2013-07-23 | Texas Instruments Incorporated | Interrelated WiFi and USB protocols and other application framework processes, circuits and systems |
JP5772105B2 (en) * | 2011-03-17 | 2015-09-02 | 株式会社リコー | Wireless communication apparatus, wireless communication method, and program |
US9167612B2 (en) * | 2011-04-07 | 2015-10-20 | Hewlett-Packard Development Company, L.P. | Minimal synchronized network operations |
-
2011
- 2011-06-14 JP JP2011132285A patent/JP5754255B2/en active Active
-
2012
- 2012-03-21 EP EP12160618.0A patent/EP2536245B1/en active Active
- 2012-03-21 EP EP18199688.5A patent/EP3451724B1/en active Active
- 2012-03-26 CN CN201210082577.2A patent/CN102833751B/en active Active
- 2012-03-26 US US13/429,613 patent/US8693038B2/en active Active
-
2014
- 2014-02-19 US US14/184,467 patent/US20140169219A1/en not_active Abandoned
Also Published As
Publication number | Publication date |
---|---|
EP3451724B1 (en) | 2020-02-26 |
US20120322391A1 (en) | 2012-12-20 |
JP2013005095A (en) | 2013-01-07 |
CN102833751B (en) | 2015-07-08 |
EP2536245B1 (en) | 2018-12-05 |
US20140169219A1 (en) | 2014-06-19 |
US8693038B2 (en) | 2014-04-08 |
EP2536245A3 (en) | 2014-05-21 |
EP3451724A1 (en) | 2019-03-06 |
CN102833751A (en) | 2012-12-19 |
EP2536245A2 (en) | 2012-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5754255B2 (en) | Wireless communication device | |
US10581516B2 (en) | Communication device and terminal device | |
JP5736986B2 (en) | Wireless communication device | |
JP5754254B2 (en) | Wireless communication device | |
JP5673436B2 (en) | Wireless communication device | |
JP5736987B2 (en) | Wireless communication device | |
JP5899971B2 (en) | Wireless communication device | |
JP2013214802A (en) | Communication device | |
JP2013214803A (en) | Communication device | |
JP2013214801A (en) | Communication device | |
JP6015315B2 (en) | Communication device | |
JP6709015B2 (en) | Communication device | |
JP6183506B2 (en) | Communication device | |
JP2016036190A (en) | Communication device | |
JP2016140001A (en) | Communication equipment | |
JP6544468B2 (en) | Wireless communication device | |
JP2016154367A (en) | Communication apparatus | |
JP6164322B2 (en) | Wireless communication device | |
JP2019075833A (en) | Communication device and mobile terminal | |
JP2017192153A (en) | Communication device | |
JP2017201784A (en) | Communication apparatus | |
JP2017208850A (en) | Communication device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140313 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20141114 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150210 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150410 |
|
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: 20150428 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150511 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5754255 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |