JP2005130126A - Wireless lan system, communication terminal, and communications program - Google Patents

Wireless lan system, communication terminal, and communications program Download PDF

Info

Publication number
JP2005130126A
JP2005130126A JP2003362232A JP2003362232A JP2005130126A JP 2005130126 A JP2005130126 A JP 2005130126A JP 2003362232 A JP2003362232 A JP 2003362232A JP 2003362232 A JP2003362232 A JP 2003362232A JP 2005130126 A JP2005130126 A JP 2005130126A
Authority
JP
Japan
Prior art keywords
data
wireless
access point
connection method
wireless access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003362232A
Other languages
Japanese (ja)
Inventor
Norio Tagawa
典生 田川
Kiyotaka Ohara
清孝 大原
Makoto Matsuda
誠 松田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2003362232A priority Critical patent/JP2005130126A/en
Priority to US10/967,217 priority patent/US20050130647A1/en
Priority to US10/969,066 priority patent/US7924768B2/en
Priority to EP04256507.7A priority patent/EP1526444B1/en
Priority to CN201210344964.9A priority patent/CN102938887B/en
Priority to CN2009102115723A priority patent/CN101730203B/en
Priority to CNB2004100882959A priority patent/CN100571174C/en
Publication of JP2005130126A publication Critical patent/JP2005130126A/en
Priority to US12/659,123 priority patent/US9078281B2/en
Priority to US14/741,142 priority patent/US9877221B2/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reduce loads upon a user regarding setup of a wireless LAN. <P>SOLUTION: An access point transmits, to a printer 20, a probe request on the basis of each of a plurality of connection methods (request). The probe request is received by a printer where an identical connection method is set (request 32) and the printer sets up a connection method specified by the probe request, that is, the same connection method as the connection method set up at the access point. Thus, by the printer being set up to the same connection method as the access point, wireless connection is made possible between both sides. In this way, as the connection method to the access point is automatically set up by way of reception of the probe request in the printer, loads upon the user regarding the setup of the wireless LAN can be reduced considerably. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、無線ステーションを無線アクセスポイントと同一の接続方法に設定することにより両者間のデータ通信が可能となる無線LANシステム,および,このシステムにおいて利用可能な通信端末,通信プログラムに関する。   The present invention relates to a wireless LAN system that enables data communication between both by setting a wireless station in the same connection method as a wireless access point, and a communication terminal and a communication program that can be used in this system.

現在、複数の無線ステーション間、または、無線ステーションと外部ネットワークとの間におけるデータ通信を無線により実現する、いわゆる無線LANが広く普及している。
無線LANのネットワークでは、各無線ステーションが中継局を介して無線通信を行う「インフラストラクチャモード」や、直接無線ステーション同士が無線通信を行う「アドホックモード」などの通信方式があり、各無線ステーションは、その用途に応じて通信方式を切り替えることができるように構成されているが、「インフラストラクチャモード」にて使用されることが一般的である。
Currently, so-called wireless LANs that realize wireless data communication between a plurality of wireless stations or between a wireless station and an external network are widely used.
In wireless LAN networks, there are communication methods such as “infrastructure mode” in which each wireless station performs wireless communication via a relay station and “ad hoc mode” in which wireless stations directly communicate with each other. The communication system can be switched according to the application, but it is generally used in the “infrastructure mode”.

このような「インフラストラクチャモード」によるネットワークにおいて、無線ステーションは、無線ステーション側で接続方法など各種設定を行うことにより、無線アクセスポイントへのアクセスが可能になる。なお、上述の「接続方法」とは、例えば、無線接続する際に採用される無線LAN規格(例えば、IEEE802.11b,−a,−gなど)、これら無線LAN規格において使用される周波数帯域(いわゆるチャネル)などにより規定される無線接続の方法である。   In such an “infrastructure mode” network, a wireless station can access a wireless access point by performing various settings such as a connection method on the wireless station side. The above-mentioned “connection method” refers to, for example, a wireless LAN standard (for example, IEEE802.11b, -a, -g, etc.) adopted when performing wireless connection, and a frequency band used in these wireless LAN standards ( This is a wireless connection method defined by a so-called channel).

ここで、無線ステーション側での各種設定は、無線ステーションがパーソナルコンピュータ(以降、「PC」とする)のように操作性の高いユーザインタフェースを有するものであれば、このユーザインタフェースにより設定の操作を行うことは簡単である。   Here, for various settings on the wireless station side, if the wireless station has a user interface with high operability such as a personal computer (hereinafter referred to as “PC”), the setting operation is performed by this user interface. It is easy to do.

しかし、ネットワークを介したサービスを提供するプリンタなどPCと比べて操作性の高いユーザインタフェースを有していない無線ステーションでは、このユーザインタフェースにより設定を行うことは非常に面倒であり、手間のかかる作業である。   However, in a wireless station that does not have a user interface with higher operability than a PC such as a printer that provides services via a network, setting with this user interface is very troublesome and laborious. It is.

そのため、このような無線ステーションの中には、他の無線ステーション共々通信方式を「アドホックモード」に切り替えておき、両無線ステーション間で設定に関するデータをやりとりすることにより他の無線ステーション側から間接的に設定(リモートセットアップ)を行うことや、PCをケーブルで直結しておき、PCとの間で設定に関するデータをやりとりすることによりPC側から間接的に設定を行うことができるように構成されているものもある。   For this reason, in some of these wireless stations, the communication method with other wireless stations is switched to “ad hoc mode”, and data related to settings is exchanged between the two wireless stations, so that the other wireless stations can indirectly Configuration (remote setup), or by connecting the PC directly with a cable and exchanging data related to the configuration with the PC, it can be configured indirectly from the PC side. Some are.

ただ、この場合、通信方式を「アドホックモード」へ切り替えた無線ステーション同士を無線通信が可能な位置関係となるまで移動させたり、PCをケーブルが敷設可能な場所まで移動させたりする必要があるため、結局、リモートセットアップについても手間のかかる作業であることには変りない。   However, in this case, it is necessary to move wireless stations whose communication methods have been switched to “ad hoc mode” to a position where wireless communication is possible, or to move a PC to a place where a cable can be laid. After all, remote setup is still a time-consuming task.

特に、「インフラストラクチャモード」にて使用していた無線ステーションをリモートセットアップに利用する場合、リモートセットアップ終了後に通信方式を「アドホックモード」から再度「インフラストラクチャモード」に切り替え直す必要があるため、より作業の手間がかかってしまう。   In particular, when using a wireless station used in "Infrastructure Mode" for remote setup, it is necessary to switch the communication method from "Ad Hoc Mode" to "Infrastructure Mode" again after the remote setup is completed. It takes time and effort.

このように、ネットワークを介したサービスを提供するプリンタなどPCと比べて操作性の高いユーザインタフェースを有していない無線ステーションでは、各種設定を行うための作業に手間がかかってしまうという問題があった。   As described above, a wireless station that does not have a user interface with higher operability than a PC, such as a printer that provides a service via a network, has a problem in that it takes time to perform various settings. It was.

そこで、近年では、このような作業の手間を軽減するための技術が種々提案されている。例えば、無線ステーションとして機能するプリンタなどのネットワークデバイスに無線アクセスポイント(中継局)としての機能を付加し、この機能(中継機能部)により独自の無線ネットワークを確立し、この無線ネットワークを介して接続された他の無線ステーション側から、無線ステーション機能(端末機能部)により他の無線ネットワークと接続するために必要な設定(リモートセットアップ)を間接的に行った後、無線アクセスポイントとしての機能を停止する、といった技術である(特許文献1参照)。   Therefore, in recent years, various techniques for reducing the labor of such work have been proposed. For example, add a function as a wireless access point (relay station) to a network device such as a printer that functions as a wireless station, establish an original wireless network with this function (relay function unit), and connect via this wireless network The function as a wireless access point is stopped after indirectly performing the necessary settings (remote setup) for connecting to other wireless networks from the other wireless station side using the wireless station function (terminal function unit) (See Patent Document 1).

この技術であれば、操作性の高いユーザインタフェースを有していない無線ステーションにおいて、各種設定を行うための作業に要する手間を軽減することができる。
特開2003−143156号公報
With this technology, it is possible to reduce the labor required for work for performing various settings in a wireless station that does not have a user interface with high operability.
JP 2003-143156 A

しかし、上述した技術においては、通信方式を「アドホックモード」へ切り替えた無線ステーション同士を無線通信が可能な位置関係となるまで移動させたり、PCをケーブルが敷設可能な場所まで移動させたり、といった設定に付随する作業の手間を軽減することはできるが、設定を行うための操作自体は行わなければならない。   However, in the above-described technology, wireless stations whose communication methods are switched to “ad hoc mode” are moved to a position where wireless communication is possible, or a PC is moved to a place where a cable can be laid. Although it is possible to reduce the time and labor associated with the setting, the operation itself for setting must be performed.

無線LANのネットワークを構築するには、一般的なLAN(有線LAN)に関する設定だけでなく、無線LAN特有の設定「接続方法」が必要になる。この設定には種々の専門知識を要するため、有線LANに関する専門知識を有するユーザであっても、無線LAN特有の設定を容易に行えないことが多く、ましてや、LANそのものに馴染みがないユーザにとって無線LANの設定は非常に困難なものといえる。   In order to construct a wireless LAN network, not only a setting related to a general LAN (wired LAN) but also a setting “connection method” unique to the wireless LAN is required. Since this setting requires various specialized knowledge, even users who have expertise in wired LANs often cannot easily make settings specific to wireless LANs, and even for users who are unfamiliar with LANs themselves. It can be said that the setting of the LAN is very difficult.

このように、現在、無線LANの設定に対するユーザへの負荷は重く、このことが無線LANの普及を妨げている要因の一つと考えられており、無線LANの設定に対するユーザへの負荷を軽減するための技術が要望されていた。   As described above, the load on the user with respect to the setting of the wireless LAN is currently heavy, and this is considered to be one of the factors hindering the spread of the wireless LAN, and the load on the user with respect to the setting of the wireless LAN is reduced. There was a demand for technology.

本発明は、このような要望に基づいてなされたものであり、その目的は、無線LANの設定に対するユーザへの負荷を軽減することである。   The present invention has been made on the basis of such a demand, and an object thereof is to reduce a load on a user with respect to setting of a wireless LAN.

上記課題を解決するため請求項1に記載の無線LANシステムは、無線接続の方法である接続方法を複数の接続方法のうちいずれかに設定可能な無線ステーションを、あらかじめ複数の接続方法のうちいずれかに設定された無線アクセスポイントと同一の接続方法に設定することにより、無線アクセスポイントおよび無線ステーション間のデータ通信が可能となる無線LANシステムである。   In order to solve the above problem, in the wireless LAN system according to claim 1, a wireless station capable of setting a connection method, which is a wireless connection method, to any one of a plurality of connection methods is selected in advance from any of the plurality of connection methods A wireless LAN system that enables data communication between a wireless access point and a wireless station by setting the same connection method as that of the wireless access point set in the above.

具体的な構成として、まず、無線アクセスポイントは、広告送信手段を備えている。この広告送信手段は、アクセスポイント自身の接続方法が複数の接続方法のうちいずれか特定の接続方法に設定されている旨を広告するための広告データを、複数の接続方法それぞれに基づいて送信する。一方、無線ステーションは、方法設定手段を備えている。この方法設定手段は、あらかじめ設定されている接続方法に基づいて送信されてきた広告データを無線アクセスポイントから受信した際に、この無線アクセスポイントへの接続方法を広告データで広告された特定の接続方法に設定する。   As a specific configuration, first, the wireless access point includes an advertisement transmission unit. This advertisement transmission means transmits advertisement data for advertising that the connection method of the access point itself is set to any one of a plurality of connection methods based on each of the plurality of connection methods. . On the other hand, the wireless station is provided with method setting means. This method setting means, when receiving the advertisement data transmitted based on the preset connection method from the wireless access point, the specific connection advertised by the advertisement data as the connection method to this wireless access point Set the method.

このように構成された無線LANシステムおいて、無線アクセスポイントは、複数の接続方法それぞれに基づいて広告データを送信する。この広告データは、同一の接続方法が設定されている無線ステーションに受信され、この無線ステーションが、広告データで広告された接続方法、つまり無線アクセスポイントにおいて設定されている接続方法と同一の接続方法を設定する。こうして、無線ステーションが無線アクセスポイントと同一の接続方法に設定されることにより、両者間で無線接続できる状態となる。   In the wireless LAN system configured as described above, the wireless access point transmits advertisement data based on each of a plurality of connection methods. This advertisement data is received by a wireless station to which the same connection method is set, and this wireless station is advertised with the advertisement data, that is, the same connection method as the connection method set in the wireless access point. Set. In this way, the wireless station is set to the same connection method as the wireless access point, so that wireless connection can be established between them.

このようにして、無線ステーションにおいては、広告データの受信を経て、無線アクセスポイントへの接続方法が方法設定手段により自動的に設定される。よって、無線LANの設定に対するユーザへの負荷を大幅に軽減することができる。   In this way, in the wireless station, after receiving the advertisement data, the method for connecting to the wireless access point is automatically set by the method setting means. Therefore, the load on the user with respect to the setting of the wireless LAN can be greatly reduced.

なお、上述の「接続方法」とは、例えば、無線接続する際に採用される無線LAN規格(例えば、IEEE802.11b,−a,−gなど)、これら無線LAN規格において使用される周波数帯域(いわゆるチャネル)などにより規定される無線接続の方法のことである。   The above-mentioned “connection method” refers to, for example, a wireless LAN standard (for example, IEEE802.11b, -a, -g, etc.) adopted when performing wireless connection, and a frequency band used in these wireless LAN standards ( This is a wireless connection method defined by a so-called channel.

また、請求項2に記載の無線LANシステムにおいて、無線アクセスポイントは、広告送信手段が、広告データとして、特定の接続方法による返信を要求するためのデータを送信する。さらに、広告送信手段により広告データの送信が開始された以降、この広告データに基づいて返信されてきた返信データを無線ステーションから受信した際に、無線アクセスポイント自身への無線接続の許可を要求させるための要求催促データを無線ステーションへ送信し、その後、この無線ステーションから無線接続の許可を要求するためのデータである許可要求データが送信されてきたら、無線アクセスポイント自身への無線接続を許可する旨の接続許可データを返信することにより、無線ステーションとの無線接続を確立する接続許可手段を備えている。一方、無線ステーションは、広告データを無線アクセスポイントから受信した際に、この広告データで要求された返信を示す返信データを、広告データで広告された特定の接続方法にて送信する返信手段と、返信手段により返信データを無線アクセスポイントへ送信した後、この無線アクセスポイントから送信された要求催促データを受信した場合に、許可要求データの送信および接続許可データの受信を経て無線アクセスポイントとの無線接続を確立する接続確立手段と、を備えている。   In the wireless LAN system according to claim 2, the wireless access point transmits data for requesting a reply by a specific connection method as advertisement data by the advertisement transmitting means. Further, after the transmission of the advertisement data is started by the advertisement transmission means, when the reply data returned based on the advertisement data is received from the wireless station, the wireless access point itself is requested to permit the wireless connection. Request request data for the wireless access point is transmitted to the wireless station. After that, when permission request data, which is data for requesting permission for wireless connection, is transmitted from the wireless station, the wireless connection to the wireless access point itself is permitted. Connection permission means for establishing a wireless connection with the wireless station by returning connection permission data to the effect is provided. On the other hand, when the wireless station receives the advertisement data from the wireless access point, the wireless station transmits reply data indicating a reply requested by the advertisement data by a specific connection method advertised by the advertisement data; and After sending the reply data to the wireless access point by the reply means, when the request prompting data sent from the wireless access point is received, the wireless communication with the wireless access point is performed through the transmission of the permission request data and the reception of the connection permission data. Connection establishment means for establishing a connection.

このように構成すれば、無線ステーション側で接続方法の設定がなされた後、許可要求データ,接続許可データのやりとりを経て、無線アクセスポイントと無線ステーションとの無線接続を実現することができる。   With this configuration, after the connection method is set on the wireless station side, the wireless connection between the wireless access point and the wireless station can be realized through the exchange of permission request data and connection permission data.

また、上述した無線アクセスポイントにおいて、広告送信手段は、広告データを複数の接続方法それぞれに基づいて送信する手段であって、広告データを送信するための具体的な構成は特に限定されない。   In the wireless access point described above, the advertisement transmission means is means for transmitting advertisement data based on each of a plurality of connection methods, and the specific configuration for transmitting the advertisement data is not particularly limited.

例えば、接続方法を複数の接続方法へそれぞれ一時的に切り替える方法切替手段が備えられている場合であれば、請求項3に記載のように、方法切替手段により接続方法が切り替えられている間に、こうして切り替えられた接続方法に基づいて広告データを送信する、ように構成すればよい。   For example, if a method switching unit that temporarily switches the connection method to a plurality of connection methods is provided, the connection method is switched by the method switching unit as described in claim 3. The advertisement data may be transmitted based on the connection method thus switched.

このように構成すれば、無線アクセスポイントは、接続方法を一時的に切り替えながら各々の接続方法に基づいて広告データを送信することができる。
なお、この構成において、方法切替手段が接続方法を切り替えておく期間は、広告データを送信するのに必要な期間を確保できる範囲内で短くすることが望ましい。通常、無線アクセスポイントは、接続方法があらかじめ設定されている接続方法以外の接続方法に切り替えられている間、あらかじめ設定されている接続方法に基づいて行うべきデータ通信を行うことができなくなってしまう。そのため、上述のように接続方法が切り替えられる期間を短くすることは、あらかじめ設定されている接続方法に基づいて行うべきデータ通信を行うことができなくなってしまうといった不都合を防止するために好適である。
If comprised in this way, the wireless access point can transmit advertisement data based on each connection method, switching a connection method temporarily.
In this configuration, it is desirable to shorten the period during which the method switching unit switches the connection method within a range in which a period necessary for transmitting the advertisement data can be secured. Normally, the wireless access point cannot perform data communication that should be performed based on a preset connection method while the connection method is switched to a connection method other than the preset connection method. . Therefore, shortening the period during which the connection method is switched as described above is suitable for preventing the inconvenience that data communication that should be performed based on the preset connection method cannot be performed. .

また、この構成において、無線アクセスポイントにおける方法切替手段が接続方法の切り替えを開始するタイミングについては、特に限定されないが、例えば、請求項4に記載のように、外部からの指令を受けた際に接続方法を切り替え始める、ように構成すればよい。   In this configuration, the timing at which the method switching means in the wireless access point starts switching the connection method is not particularly limited. For example, when receiving a command from the outside, as described in claim 4 What is necessary is just to comprise so that a connection method may be switched.

このように構成すれば、無線ステーションに対する接続方法の設定を、外部から明示的に指令することができる。
なお、この構成における「外部からの指令」とは、例えば、無線アクセスポイントの備える操作部に対して行われたユーザによる特定の操作や、無線アクセスポイントとデータ通信可能に接続された通信端末からのデータなどのことである。
With this configuration, the setting of the connection method for the wireless station can be explicitly commanded from the outside.
The “command from the outside” in this configuration refers to, for example, a specific operation performed by the user on the operation unit provided in the wireless access point or a communication terminal connected to the wireless access point so as to perform data communication. It is data of.

また、上述した広告送信手段は、請求項5に記載のように、方法切替手段による接続方法の切り替えが開始されるのに先立って、あらかじめ設定された接続方法に基づいて広告データを送信しておくように構成するとよい。   In addition, as described in claim 5, the advertisement transmitting means described above transmits advertisement data based on a preset connection method before the connection method switching by the method switching means is started. It is good to configure so that

このように構成すると、無線ステーションにおいて、無線アクセスポイントに対してあらかじめ設定されている接続方法と同一の接続方法が初期設定されている場合には、すぐに無線アクセスポイントと無線ステーションとの無線接続が確立できる状態とすることができる。   With this configuration, when the same connection method as that previously set for the wireless access point is initially set in the wireless station, the wireless connection between the wireless access point and the wireless station is immediately established. Can be established.

なお、この構成においては、あらかじめ設定された接続方法に基づく広告データの送信が最初に行われるため、方法切替手段は、あらかじめ設定された接続方法への切り替えを行わないように構成しておくとよい。   In this configuration, since advertisement data is transmitted based on a preset connection method first, the method switching means is configured not to switch to a preset connection method. Good.

また、上述した無線ステーションにおける方法設定手段は、無線アクセスポイントへの接続方法を設定する手段であって、設定するための具体的な構成については特に限定されない。例えば、あらかじめ設定されている接続方法に基づいて送信されてくる広告データを所定期間にわたり収集する広告収集手段が備えられている場合であれば、請求項6に記載のように、この広告収集手段により広告データが収集された後、収集された広告データのうち、受信レベルが最も大きかった広告データで広告された接続方法を、無線アクセスポイントへの接続方法として設定する、ように構成するとよい。   The method setting means in the wireless station described above is a means for setting a connection method to the wireless access point, and the specific configuration for setting is not particularly limited. For example, if there is an advertisement collecting means for collecting advertisement data transmitted based on a preset connection method over a predetermined period, the advertisement collecting means as described in claim 6. After the advertisement data is collected, the connection method advertised with the advertisement data having the highest reception level among the collected advertisement data may be set as the connection method to the wireless access point.

このように構成すれば、所定期間内に収集(受信)された広告データのうち、最も受信レベルが大きかった広告データで広告された接続方法を、無線ステーションにおける無線アクセスポイントへの接続方法として設定することができる。   According to this configuration, the connection method advertised with the advertisement data having the highest reception level among the advertisement data collected (received) within a predetermined period is set as the connection method to the wireless access point in the wireless station. can do.

なお、この構成における広告収集手段は、広告データを収集する手段であって、ここで収集する広告データは、例えば、広告データの送信元,接続方法および受信レベルの対応関係が特定できるようにメモリ等に記憶させておけばよい。この場合、方法設定手段は、記憶させておいた対応関係で特定される接続方法のうち最も受信レベルの大きな広告データに対応する接続方法へ切り替えるように構成すればよい。   Note that the advertisement collecting means in this configuration is means for collecting advertisement data, and the advertisement data collected here is, for example, a memory so that the correspondence between the sender, connection method, and reception level of advertisement data can be specified. You can just memorize it. In this case, the method setting means may be configured to switch to the connection method corresponding to the advertisement data having the highest reception level among the connection methods specified by the stored correspondence.

また、このように、受信レベルの最も大きかった広告データと同一の接続方法を無線アクセスポイントへの接続方法として設定できることは、無線ステーションの接続方法が、本来設定すべき無線アクセスポイントの接続方法以外の接続方法に誤って設定されてしまうことを防止するのに好適である。   In addition, in this way, the same connection method as the advertisement data with the highest reception level can be set as the connection method to the wireless access point because the wireless station connection method is other than the wireless access point connection method that should be originally set. It is suitable for preventing the connection method from being set by mistake.

無線ステーションの無線アクセスポイントへの接続方法を設定する際、この無線アクセスポイント以外に広告送信手段を備える他の無線アクセスポイントが周囲(例えば、隣接する住宅など)に存在していると、この無線アクセスポイントからも広告データが無線ステーションに送信されてくる。そのため、広告データを受信したタイミングによっては、他の無線アクセスポイントにおいて設定されているのと同じ接続方法がユーザの意図とは無関係に設定されてしまう恐れがある。   When setting the connection method of the wireless station to the wireless access point, if there is another wireless access point having advertisement transmission means in addition to the wireless access point (for example, an adjacent house), this wireless Advertisement data is also transmitted from the access point to the wireless station. Therefore, depending on the timing at which the advertisement data is received, the same connection method set in other wireless access points may be set regardless of the user's intention.

ところが、上述のように、受信レベルの最も大きかった広告データと同一の接続方法を無線アクセスポイントへの接続方法として設定できるため、無線アクセスポイントと無線ステーションとを、無線通信時の受信レベルが高くなるように近づけておくだけで、他の無線アクセスポイントからの広告データに基づいて誤った接続方法が設定されることを防止できる。  However, as described above, since the same connection method as the advertisement data having the highest reception level can be set as the connection method to the wireless access point, the reception level during wireless communication between the wireless access point and the wireless station is high. It is possible to prevent an incorrect connection method from being set based on advertisement data from another wireless access point simply by making them close to each other.

また、上述した無線アクセスポイントにおいて、接続許可手段は、返信データを受信した際、どのような返信データであるかに拘わらず要求催促データを送信するように構成すればよいが、請求項7に記載のように、所定の条件を満たす返信データを送信してきた無線ステーションへ要求催促データを送信する、ように構成すればよい。   Further, in the above-described wireless access point, the connection permission means may be configured to transmit the request prompting data regardless of the reply data when receiving the reply data. As described, the request prompting data may be transmitted to the wireless station that has transmitted the reply data that satisfies the predetermined condition.

このように構成すれば、無線アクセスポイントは、所定の条件を満たす返信データを送信してきた無線ステーションのみと、要求催促データの送信を経て無線接続を確立することができる。   According to this configuration, the wireless access point can establish a wireless connection only with the wireless station that has transmitted the reply data that satisfies the predetermined condition through the transmission of the request prompt data.

なお、この構成における「所定の条件」は、その具体的な内容は特に限定されないが、例えば、受信レベルが最も大きい返信データを条件とすることも考えられる。
このためには、請求項8に記載のように、広告送信手段による広告データの送信が開始された以降、返信データを所定期間にわたり収集する返信収集手段が備えられ、接続許可手段は、返信収集手段により返信データが収集された後、こうして収集された返信データのうち、受信レベルが最も大きかった返信データの送信元である無線ステーションへ要求催促データを送信する、ように構成すればよい。
The specific content of the “predetermined condition” in this configuration is not particularly limited. For example, it is conceivable that the reply data having the highest reception level is used as a condition.
For this purpose, as described in claim 8, a reply collecting means for collecting reply data over a predetermined period after the advertisement sending means starts transmitting advertisement data is provided. After the reply data is collected by the means, the request prompting data may be transmitted to the wireless station that is the transmission source of the reply data having the highest reception level among the reply data collected in this way.

このように構成すれば、無線アクセスポイントは、受信レベルが最も大きい返信データを送信してきた無線ステーションのみと、要求催促データの送信を経て無線接続を確立することができる。   With this configuration, the wireless access point can establish a wireless connection with only the wireless station that has transmitted the reply data having the highest reception level through the transmission of the request prompt data.

そのため、請求項6と同様に、無線アクセスポイントと無線ステーションとを、無線通信時の受信レベルが高くなるように近づけておくだけで、
無線接続を確立すべき無線ステーションとは異なる無線ステーションへ要求催促データを間違って送信して無線接続を確立してしまうことを防止できる。
Therefore, as in claim 6, the wireless access point and the wireless station are kept close so that the reception level at the time of wireless communication becomes high.
It is possible to prevent the request prompting data from being erroneously transmitted to a wireless station different from the wireless station to which the wireless connection is to be established to establish the wireless connection.

なお、この構成における返信収集手段は、返信データを収集する手段であって、広告データの送信が開始された以降の返信データを収集する。ここで収集する返信データは、例えば、返信データの送信元,接続方法および受信レベルの対応関係が特定できるようにメモリ等に記憶させておけばよい。この場合、接続許可手段は、記憶させておいた対応関係で特定される接続方法のうち最も受信レベルの大きな接続方法に基づいて要求催促データを送信するように構成すればよい。   Note that the reply collection means in this configuration is means for collecting reply data, and collects reply data after the start of transmission of advertisement data. The reply data collected here may be stored in a memory or the like so that the correspondence between the sender, connection method, and reception level of the reply data can be specified, for example. In this case, the connection permission means may be configured to transmit the request prompting data based on the connection method having the highest reception level among the connection methods specified by the stored correspondence.

また、上述した無線アクセスポイントにおける接続許可手段は、請求項9に記載のように、広告送信手段による広告データの送信が開始された以降に返信されてくる返信データのうち、外部からの指令に基づいて決定される返信データの送信元である無線ステーションへ要求催促データを送信する、ように構成してもよい。   Further, as described in claim 9, the connection permission unit in the wireless access point described above responds to an external command out of reply data returned after the advertisement transmission unit starts transmitting advertisement data. You may comprise so that request | requirement prompt data may be transmitted to the radio station which is the transmission source of the reply data determined based on it.

このように構成すれば、無線アクセスポイントは、外部からの指令に基づいて決定される返信データの送信元である無線ステーションのみと、要求催促データの送信を経て無線接続を確立することができる。   According to this configuration, the wireless access point can establish a wireless connection with only the wireless station that is the transmission source of the reply data determined based on the command from the outside, by transmitting the request prompting data.

また、この無線アクセスポイントにおいては、請求項10に記載のように、広告送信手段による広告データの送信が開始された以降、返信データを所定期間にわたり収集する返信収集手段が備えられ、接続許可手段は、返信収集手段による返信データの収集が行われた後、こうして収集された返信データのうち、外部からの指令に基づいて決定される返信データの送信元である無線ステーションへ通知データを送信する、ように構成するとよい。   In addition, the wireless access point includes a reply collection unit that collects reply data over a predetermined period after transmission of advertisement data by the advertisement transmission unit is started, as described in claim 10. After the reply data is collected by the reply collection means, the notification data is transmitted to the wireless station that is the reply data transmission source determined based on the command from the outside among the reply data collected in this way It may be configured as follows.

このように構成すれば、無線アクセスポイントは、所定期間にわたり収集した返信データのうち、外部からの指令に基づいて決定される返信データを送信できる無線ステーションのみと、要求催促データの送信を経て無線接続を確立することができる。   According to this configuration, the wireless access point wirelessly transmits only the wireless station that can transmit the reply data determined based on the command from the outside among the reply data collected over a predetermined period, and transmits the request prompt data. A connection can be established.

なお、この構成における返信収集手段は、上述したのと同様、広告データの送信が開始された以降の返信データを所定期間にわたり収集する。ここで収集する返信データは、例えば、接続方法および返信データの送信元を特定できる状態でメモリ等に記憶させておけばよい。この場合、要求催促手段は、収集した返信データのうち、外部からの指令に基づいて決定される返信データを送信してきた無線ステーションへ要求催促データを送信するように構成すればよい。   Note that the reply collection means in this configuration collects reply data after the start of transmission of advertisement data for a predetermined period, as described above. The reply data collected here may be stored in a memory or the like in a state where the connection method and the transmission source of the reply data can be specified, for example. In this case, the request prompting means may be configured to transmit the request prompting data to the wireless station that has transmitted the reply data determined based on an external command among the collected reply data.

また、この構成における「外部からの指令」としては、例えば、無線ステーションの備える操作部に対して行われたユーザによる所定の操作のこととすればよく、このためには、例えば、請求項11に記載のように構成することが考えられる。   In addition, the “command from the outside” in this configuration may be, for example, a predetermined operation by the user performed on the operation unit provided in the wireless station. It is conceivable to configure as described in the above.

請求項11に記載の無線LANシステムは、無線アクセスポイントにおいて、返信収集手段による返信データの収集が行われた後、こうして収集された返信データそれぞれの送信元である無線ステーションの中から、1以上の無線ステーションをユーザに選択させる第1ユーザ選択手段が備えられ、接続許可手段は、第1ユーザ選択手段によりユーザに選択させた無線ステーションへ要求催促データを送信する。   In the wireless LAN system according to claim 11, after the reply data is collected by the reply collection means at the wireless access point, one or more wireless stations that are the transmission sources of the reply data collected in this way are selected. The first user selecting means for allowing the user to select the wireless station is provided, and the connection permission means transmits the request prompting data to the wireless station selected by the user by the first user selecting means.

このように構成すれば、無線アクセスポイントは、無線アクセスポイントは、ユーザにより任意に選択された無線ステーションのみと、要求催促データの送信を経て無線接続を確立することができる。   If comprised in this way, a wireless access point can establish a wireless connection through the transmission of request | requirement prompting data only with the wireless station arbitrarily selected by the user.

また、ユーザによる所定の操作を「外部の指令」とするためには、請求項12に記載のように構成することも考えられる。
請求項12に記載の無線LANシステムは、無線ステーションにおいて、返信手段が、無線ステーション自身を識別するための識別データを対応づけた状態で返信データを送信する。また、アクセスポイントにおいて、返信収集手段は、返信データをこの返信データに対応する識別データと共に収集するように構成され、さらに、返信収集手段による返信データの収集が行われた後、こうして収集された返信データそれぞれに対応する識別データの中から、1以上の識別データをユーザに選択させる第2ユーザ選択手段が備えられ、接続許可手段は、第2ユーザ選択手段によりユーザに選択させた識別データで識別される無線ステーションへ要求催促データを送信する。
In order to set a predetermined operation by the user as an “external command”, a configuration as described in claim 12 may be considered.
In the wireless LAN system according to the twelfth aspect, in the wireless station, the reply means transmits the reply data in a state in which identification data for identifying the wireless station itself is associated. In the access point, the reply collection means is configured to collect reply data together with identification data corresponding to the reply data. Further, the reply collection means collects the reply data and then collects the reply data. Second user selection means for allowing the user to select one or more identification data from among the identification data corresponding to each of the reply data is provided, and the connection permission means is identification data selected by the user by the second user selection means. Send the requested reminder data to the identified wireless station.

このように構成すれば、無線アクセスポイントは、ユーザにより任意に選択された識別データで識別される(識別データに対応する)無線ステーションのみと、要求催促データの送信を経て無線接続を確立することができる。   If comprised in this way, a wireless access point will establish a wireless connection through transmission of request | requirement prompt data only with the wireless station (corresponding to identification data) identified by the identification data arbitrarily selected by the user Can do.

また、上述した請求項10における「外部からの指令」とは、無線ステーションとデータ通信可能に接続された通信端末からのデータのこととしてもよく、このためには、請求項13に記載のように構成することが考えられる。   In addition, the “command from the outside” in claim 10 described above may refer to data from a communication terminal connected to the wireless station so that data communication is possible. For this purpose, as described in claim 13. It is conceivable to configure.

請求項13に記載の無線LANシステムは、無線アクセスポイントにおいて、接続許可手段が、無線アクセスポイント自身とデータ通信可能に接続された通信端末からの指令を受けて、要求催促データを送信すべき無線ステーションを決定するように構成されている。   In the wireless LAN system according to claim 13, in the wireless access point, the connection permission means receives a command from a communication terminal connected so as to be able to perform data communication with the wireless access point itself, and wirelessly transmits request prompting data. It is configured to determine a station.

このように構成すれば、無線アクセスポイントは、所定期間にわたり収集された返信データのうち、通信端末からの指令に基づいて決定される返信データを送信してきた無線ステーションのみと、要求催促データの送信を経て無線接続を確立することができる。   If comprised in this way, a wireless access point will transmit only the wireless station which transmitted the reply data determined based on the instruction | command from a communication terminal among the reply data collected over the predetermined period, and transmission of request | requirement prompting data A wireless connection can be established via

なお、この構成において、通信端末との間で指令をやりとりするには、例えば、請求項14に記載のような構成が考えられる。
請求項14に記載の無線LANシステムにおいて、無線アクセスポイントは、返信収集手段および一覧送信手段が備えられている。これらのうち、返信収集手段は、広告送信手段による広告データの送信が開始された以降、返信データを所定期間にわたり収集し、こうして収集した返信データ、および、この返信データの送信元である無線ステーションの対応関係を記憶部へ記憶させる。また、一覧送信手段は、返信収集手段により対応関係が記憶された無線ステーションの一覧を要求する旨の一覧要求データを、通信端末から受信した際に、一覧を示す一覧データを通信端末側へ送信する。そして、接続許可手段は、一覧送信手段により一覧データが通信端末へ送信され、その後、この通信端末側において一覧データで示される一覧の中から選択された1以上の無線ステーションを示す選択データを通信端末から受信した以降、この選択データで示される無線ステーションへ通知データを返信する。さらに、通信端末は、一覧要求手段,ユーザ選択手段および選択送信手段が備えられている。これらのうち、一覧要求手段は、無線アクセスポイントに対して、一覧要求データを送信する。また、第3ユーザ選択手段は、一覧要求手段により一覧要求データが無線アクセスポイントへ送信された後、この無線アクセスポイントから一覧データを受信した際に、この一覧データで示される一覧の中から1以上の無線ステーションをユーザに選択させる。また、選択送信手段は、第3ユーザ選択手段によりユーザに選択させた1以上の無線ステーションを示す選択データを無線アクセスポイントへ送信する。
In this configuration, in order to exchange commands with the communication terminal, for example, a configuration as described in claim 14 can be considered.
15. The wireless LAN system according to claim 14, wherein the wireless access point is provided with reply collection means and list transmission means. Among these, the reply collection means collects the reply data for a predetermined period after the advertisement transmission by the advertisement sending means is started, and the collected reply data and the wireless station that is the transmission source of the reply data Are stored in the storage unit. The list transmission means transmits the list data indicating the list to the communication terminal side when the list request data for requesting the list of wireless stations whose correspondence is stored by the reply collection means is received from the communication terminal. To do. The connection permission means transmits the list data to the communication terminal by the list transmission means, and then communicates selection data indicating one or more wireless stations selected from the list indicated by the list data on the communication terminal side. After receiving from the terminal, the notification data is returned to the wireless station indicated by the selection data. Further, the communication terminal includes a list request unit, a user selection unit, and a selection transmission unit. Among these, the list request means transmits list request data to the wireless access point. Further, the third user selecting means receives the list data from the wireless access point after the list request data is transmitted to the wireless access point by the list requesting means, and selects one of the lists indicated by the list data. The user selects the above radio station. The selection transmission means transmits selection data indicating one or more wireless stations selected by the user by the third user selection means to the wireless access point.

このように構成すれば、無線アクセスポイントは、返信収集手段により収集された対応関係に基づき通信端末側でユーザが任意に選択した無線ステーションのみと、要求催促データの送信を経て無線接続を確立することができる。   According to this configuration, the wireless access point establishes a wireless connection with only the wireless station that is arbitrarily selected by the user on the communication terminal side based on the correspondence collected by the reply collection means, through transmission of the request reminder data. be able to.

なお、この構成における返信収集手段は、上述したのと同様、広告データの送信が開始された以降の返信データを所定期間にわたり収集する。ここで収集する返信データは、例えば、接続方法および返信データの送信元を特定できる状態でメモリ等に記憶させておけばよい。この場合、接続許可手段は、収集した返信データのうち、外部からの指令に基づいて決定される返信データを送信してきた無線ステーションへ要求催促データを送信するように構成すればよい。   Note that the reply collection means in this configuration collects reply data after the start of transmission of advertisement data for a predetermined period, as described above. The reply data collected here may be stored in a memory or the like in a state where the connection method and the transmission source of the reply data can be specified, for example. In this case, the connection permission means may be configured to transmit the request prompting data to the wireless station that has transmitted the reply data determined based on an external command among the collected reply data.

また、上述した請求項13において、通信端末との間で指令をやりとりするには、請求項15に記載のような構成を考えることもできる。
請求項15に記載の無線LANシステムにおいて、無線ステーションは、返信手段が、無線ステーション自身を識別するための識別データを対応づけた状態で返信データを送信する。また、無線アクセスポイントは、返信収集手段および一覧送信手段が備えられている。これらのうち、返信収集手段は、広告送信手段による広告データの送信が開始された以降、返信データをこの返信データに対応する識別データと共に所定期間にわたり収集し、こうして収集した返信データの送信元である無線ステーション、および、識別データの対応関係を記憶部へ記憶させる。一覧送信手段は、返信収集手段により対応関係が記憶された識別データの一覧を要求する旨の一覧要求データを、通信端末から受信した際に、一覧を示す一覧データを通信端末側へ送信する。また、接続許可手段は、一覧送信手段により一覧データが通信端末へ送信され、その後、この通信端末側において一覧データで示される一覧の中から選択された1以上の識別データを示す選択データを通信端末から受信した以降、この選択データで示される識別データに対応する無線ステーションへ要求催促データを返信する、ように構成されている。そして、通信端末は、一覧要求手段,第4ユーザ選択手段および選択送信手段を備えている。これらのうち、一覧要求手段は、無線アクセスポイントに対して、一覧要求データを送信する。第4ユーザ選択手段は、一覧要求手段により一覧要求データが前記無線アクセスポイントへ送信された後、この無線アクセスポイントから一覧データを受信した際に、この一覧データで示される一覧の中から1以上の識別データをユーザに選択させる。選択送信手段は、第4ユーザ選択手段によりユーザに選択させた1以上の無線ステーションを示す選択データを無線アクセスポイントへ送信する。
In order to exchange commands with the communication terminal according to the thirteenth aspect, a configuration as described in the fifteenth aspect can be considered.
In the wireless LAN system according to claim 15, the wireless station transmits the reply data in a state in which the reply means is associated with identification data for identifying the wireless station itself. The wireless access point is provided with a reply collection unit and a list transmission unit. Among these, the reply collecting means collects the reply data together with the identification data corresponding to the reply data for a predetermined period after the advertisement sending means starts transmission by the advertisement sending means. A correspondence relationship between a certain wireless station and identification data is stored in the storage unit. The list transmission means transmits the list data indicating the list to the communication terminal side when receiving the list request data for requesting the list of identification data for which the correspondence is stored by the reply collection means. Further, the connection permission means transmits the list data to the communication terminal by the list transmission means, and then communicates selection data indicating one or more identification data selected from the list indicated by the list data on the communication terminal side. After receiving from the terminal, the request prompting data is returned to the wireless station corresponding to the identification data indicated by the selection data. The communication terminal includes a list request unit, a fourth user selection unit, and a selection transmission unit. Among these, the list request means transmits list request data to the wireless access point. When the list request data is transmitted to the wireless access point by the list requesting means and then the list data is received from the wireless access point, the fourth user selection means receives one or more from the list indicated by the list data. Let the user select the identification data. The selective transmission means transmits selection data indicating one or more wireless stations selected by the user by the fourth user selection means to the wireless access point.

このように構成すれば、無線アクセスポイントは、返信収集手段により収集された対応関係に基づき通信端末側でユーザが任意に選択した識別データに対応する無線ステーションのみと、要求催促データの送信を経て無線接続を確立することができる。   With this configuration, the wireless access point transmits the request prompt data only with the wireless station corresponding to the identification data arbitrarily selected by the user on the communication terminal side based on the correspondence collected by the reply collection means. A wireless connection can be established.

なお、この構成における返信収集手段は、上述したのと同様、広告データの送信が開始された以降の返信データを所定期間にわたり収集する。ここで収集する返信データは、例えば、この返信データに対応する識別データおよび接続方法(または、返信データそのもの)の対応関係を特定できる状態でメモリ等に記憶させておけばよい。この場合、一覧送信手段は、記憶させた対応関係で特定される識別データの一覧を示す一覧データを通信端末側へ送信するように構成すればよい。   Note that the reply collection means in this configuration collects reply data after the start of transmission of advertisement data for a predetermined period, as described above. The reply data collected here may be stored in a memory or the like in a state where the correspondence between the identification data corresponding to the reply data and the connection method (or the reply data itself) can be specified, for example. In this case, the list transmitting means may be configured to transmit list data indicating a list of identification data specified by the stored correspondence relationship to the communication terminal side.

また、上述した各ユーザ選択手段は、ユーザに選択を行わせるための手段であって、例えば、表示部,印刷部,スピーカなどにより選択項目(無線ステーション,識別データ)と共に操作部で選択項目を選択すべき旨を通知し、この通知に基づいて操作部により選択させる、といった構成とすればよい。   Each of the user selection means described above is a means for allowing the user to make a selection. For example, the selection item (wireless station, identification data) is selected on the operation unit by a display unit, a printing unit, a speaker, or the like. A configuration may be adopted in which notification to the effect of selection is made and an operation unit is selected based on the notification.

ところで、以上説明した無線LANシステムにおいては、無線ステーションが無線アクセスポイントと無線接続されたとしても、無線アクセスポイントがデータ通信を暗号化して行うように設定されていると、通常は、無線ステーション側も同様に暗号化してデータ通信を行うように設定しなければ、正常にデータ通信を行うことができない。   By the way, in the wireless LAN system described above, even if the wireless station is wirelessly connected to the wireless access point, if the wireless access point is set to encrypt data communication, normally, the wireless station side Similarly, data communication cannot be performed normally unless encryption is set to perform data communication.

そのため、ユーザにより操作を行わせることなく正常にデータ通信を行うことができるようにするためには、請求項16に記載のように、無線アクセスポイントが、接続許可手段により要求催促データを送信した以降、無線アクセスポイント自身におけるデータ通信が第1暗号キーにより暗号化された状態で行われるように設定されている場合に、要求催促データが送信された無線ステーションとの間におけるデータ通信についてのみ、暗号化方法を切り替えて暗号化せずに行うようにする暗号切替手段を備えるとよい。   Therefore, in order to enable normal data communication without any operation by the user, the wireless access point transmits the request prompt data by the connection permission means as described in claim 16. Thereafter, when data communication in the wireless access point itself is set to be performed in an encrypted state with the first encryption key, only for data communication with the wireless station to which the request prompt data is transmitted, It is preferable to provide encryption switching means for switching the encryption method to perform without encryption.

このように構成すれば、無線アクセスポイントがデータ通信を暗号化して行うように設定されていたとしても、無線ステーションに対し暗号化してデータ通信を行うように設定することなく正常にデータ通信を行うことができるようになる。これにより、無線アクセスポイントが他の無線ステーションまたは外部ネットワークとの間で行うデータ通信についてのセキュリティレベルを維持したまま、無線アクセスポイントと無線ステーションとのデータ通信を実現することができる。   With this configuration, even if the wireless access point is set to perform encrypted data communication, data communication is normally performed without setting the wireless station to perform encrypted data communication. Will be able to. Thereby, it is possible to realize data communication between the wireless access point and the wireless station while maintaining a security level for data communication performed by the wireless access point with another wireless station or an external network.

また、ユーザにより操作を行わせることなく正常にデータ通信を行うことができるようにするための別の構成として、請求項17に記載のような構成を考えることもできる。
請求項17に記載の無線LANシステムは、アクセスポイントにおいて、接続許可手段は、要求催促データを、無線アクセスポイント自身におけるデータ通信を暗号化するために使用される第1暗号キーとは異なる第2暗号キーを付加した状態で返信する、ように構成されている。さらに、接続許可手段により要求催促データが送信された以降、この通知データが送信された無線ステーションとの間におけるデータ通信について、第2暗号キーにより暗号化した状態で行うように暗号化方法を切り替える暗号切替手段が備えられている。一方、無線ステーションにおいては、無線アクセスポイントから要求催促データを受信した以降、この無線アクセスポイントとのデータ通信を要求催促データに付加された第2暗号キーにより暗号化して行うように設定する暗号設定手段が備えられている。
Further, as another configuration for enabling normal data communication without any operation by the user, a configuration as described in claim 17 can be considered.
The wireless LAN system according to claim 17, wherein, in the access point, the connection permitting means is a second different key from the first encryption key used for encrypting the request prompting data for data communication in the wireless access point itself. A reply is made with the encryption key added. Further, after the request prompt data is transmitted by the connection permission means, the encryption method is switched so that data communication with the wireless station to which the notification data is transmitted is performed in the state encrypted with the second encryption key. Cipher switching means is provided. On the other hand, in the wireless station, after receiving the request reminder data from the wireless access point, the encryption setting is set so that the data communication with the wireless access point is encrypted by the second encryption key added to the request reminder data. Means are provided.

このように構成すれば、無線アクセスポイントは、要求催促データを送信した無線ステーションに対して第2暗号キーにより暗号化したデータ通信を行うよう暗号化方法を切り替えるようになり、一方、要求催促データを受信した無線ステーションは、無線アクセスポイントとのデータ通信を第2暗号キーにより暗号化して行うように設定する。こうして、無線アクセスポイントと無線ステーションとの間では、第2暗号キーにより暗号化した状態で正常にデータ通信を行うことができるようになる。これにより、無線アクセスポイントが他の無線ステーションまたは外部ネットワークとの間で行うデータ通信についてのセキュリティレベルを維持したまま、無線アクセスポイントと無線ステーションとのデータ通信についても、一定のセキュリティレベルを確保した状態で実現できる。   If comprised in this way, a wireless access point will switch an encryption method so that the data communication encrypted with the 2nd encryption key may be performed with respect to the wireless station which transmitted request | requirement prompt data, On the other hand, request | requirement prompt data The wireless station that has received the data is set to perform data communication with the wireless access point by encrypting with the second encryption key. Thus, data communication can be normally performed between the wireless access point and the wireless station in a state encrypted with the second encryption key. This ensures a certain level of security for data communication between the wireless access point and the wireless station while maintaining the security level for data communication performed by the wireless access point with other wireless stations or external networks. Can be realized in the state.

また、上述した請求項16,17の構成については、無線アクセスポイントが暗号化してデータ通信を行うように設定されている場合でも、無線アクセスポイントと無線ステーションとのデータ通信を実現することができるが、両者間のデータ通信に対するセキュリティレベルについては充分に高いとは言えない。請求項16の構成においては、暗号化自体がおこなわれないからであり、請求項17の構成においては、第2暗号キーが無線アクセスポイントから無線ステーションへ送信される過程において漏洩する可能性があるからである。   In the configurations of claims 16 and 17, the data communication between the wireless access point and the wireless station can be realized even when the wireless access point is set to perform data communication with encryption. However, the security level for data communication between the two is not sufficiently high. In the configuration of claim 16, the encryption itself is not performed. In the configuration of claim 17, the second encryption key may be leaked in the process of being transmitted from the wireless access point to the wireless station. Because.

そこで、両者間のデータ通信に対するセキュリティを高くするために、例えば、請求項18に記載のような構成とするとよい。
請求項18に記載の無線LANシステムにおいて、無線ステーションは、公開鍵暗号方式により、無線アクセスポイントにデータ通信可能に接続された通信端末から無線アクセスポイントを介して第1暗号キーを取得する暗号取得手段と、暗号取得手段により第1暗号キーが通信端末から取得された際、無線アクセスポイントとの無線接続を解除し、第1暗号キーにより暗号化した状態で無線接続し直すことにより、無線アクセスポイントとのデータ通信を第1暗号キーにより暗号化した状態で行うように設定変更する暗号変更手段と、が備えられている。また、通信端末は、公開鍵暗号方式により無線ステーションへの第1暗号キーの受け渡しを、無線アクセスポイントを介して行う暗号受渡手段が備えられている。そして、無線アクセスポイントにおいて、暗号切替手段は、無線ステーションとの無線接続が解除された以降、暗号化方法の切り替えを行わない。
Therefore, in order to increase the security for data communication between the two, for example, a configuration as described in claim 18 may be adopted.
19. The wireless LAN system according to claim 18, wherein the wireless station acquires a first encryption key via a wireless access point from a communication terminal connected to the wireless access point so as to perform data communication by a public key encryption method. When the first encryption key is acquired from the communication terminal by the means and the encryption acquisition means, the wireless connection with the wireless access point is canceled, and the wireless connection is performed in the state encrypted with the first encryption key, so that the wireless access is performed. Encryption changing means for changing the setting so that data communication with the point is performed with the first encryption key encrypted. In addition, the communication terminal is provided with encryption delivery means for delivering the first encryption key to the wireless station via a wireless access point using a public key cryptosystem. In the wireless access point, the encryption switching unit does not switch the encryption method after the wireless connection with the wireless station is released.

このように構成すれば、無線アクセスポイントと無線ステーションとのデータ通信を、通信端末から無線ステーションへ受け渡された第1暗号キーにより暗号化して行うことができるようになる。よって、無線アクセスポイントが他の無線ステーションまたは外部ネットワークとの間で行うデータ通信と同様のセキュリティレベルで、無線アクセスポイントと無線ステーションとのデータ通信を実現することができるようになる。   According to this configuration, data communication between the wireless access point and the wireless station can be performed by encrypting with the first encryption key transferred from the communication terminal to the wireless station. Therefore, data communication between the wireless access point and the wireless station can be realized at the same security level as that of data communication performed by the wireless access point with another wireless station or an external network.

また、無線ステーションへの第1暗号キーの受け渡しは、公開鍵暗号方式により行われるため、この第1暗号キーが無線ステーションへ送信される過程において漏洩する可能性は当然に低くなる。   In addition, since the delivery of the first encryption key to the wireless station is performed by a public key encryption method, the possibility of leakage in the process of transmitting the first encryption key to the wireless station is naturally reduced.

また、この構成においては、通信端末から無線ステーションへの第1暗号キーの受け渡しが行われる際、通信端末が第1暗号キーを受け渡すべき正しい無線ステーションであるか否かを確認できることが望ましい。そのためには、例えば、請求項19に記載のように構成することが考えられる。   In this configuration, it is preferable that when the first encryption key is transferred from the communication terminal to the wireless station, it can be confirmed whether or not the communication terminal is a correct wireless station to which the first encryption key should be transferred. For this purpose, for example, a configuration as described in claim 19 is conceivable.

請求項19に記載の無線LANシステムにおける通信端末は、暗号受渡手段が、第1暗号キーの受け渡しを行う前に、公開鍵暗号方式により無線ステーションへの認証用メッセージの受け渡しを行うように構成され、さらに、暗号受渡手段により認証用メッセージの受け渡しが行われた以降、無線ステーション側で出力される認証用メッセージを確認したユーザによる確認操作を行わせるための確認操作手段が備えられ、暗号受渡手段が、確認操作手段により確認操作が行われた際に、第1暗号キーの受け渡しを行うように構成されている。また、無線ステーションは、暗号取得手段が、第1暗号キーに先立って公開鍵暗号方式により通信端末から受け渡しが行われる認証用メッセージを取得する、ように構成され、さらに、暗号取得手段により取得された認証用メッセージを出力するメッセージ出力手段が備えられ、暗号取得手段は、メッセージ出力手段により認証用メッセージが出力され、メッセージ出力手段により出力される認証用メッセージを確認したユーザによる通信端末への確認操作が行われた後に、通信端末から受け渡しが行われる第1暗号キーを取得する。   The communication terminal in the wireless LAN system according to claim 19 is configured such that the encryption delivery means delivers the authentication message to the wireless station by public key cryptography before delivering the first encryption key. Furthermore, after the authentication message is delivered by the encryption delivery means, a confirmation operation means is provided for causing the user who confirmed the authentication message output on the wireless station side to perform a confirmation operation, and the encryption delivery means However, the first encryption key is transferred when the confirmation operation is performed by the confirmation operation means. In addition, the wireless station is configured such that the cipher acquisition unit acquires an authentication message that is delivered from the communication terminal by a public key encryption method prior to the first encryption key, and is further acquired by the cipher acquisition unit. A message output means for outputting the authentication message, and the cipher acquisition means confirms the authentication message output by the message output means and the user confirming the authentication message output by the message output means to the communication terminal After the operation is performed, a first encryption key that is transferred from the communication terminal is acquired.

このように構成すれば、無線ステーションから認証用メッセージが出力されたか否かによって、この無線ステーションが通信端末から第1暗号キーを受け渡すべき正しい無線ステーションであることを確認できる。そして、無線ステーションから出力される認証用メッセージを確認した後、ユーザが通信端末で確認操作を行うことにより、通信端末から無線ステーションへの第1暗号キーの受け渡しを行うことができる。   If comprised in this way, it can be confirmed that this radio station is the right radio station which should deliver the 1st encryption key from a communication terminal by whether the message for authentication was output from the radio station. Then, after confirming the authentication message output from the wireless station, the user performs a confirmation operation on the communication terminal, whereby the first encryption key can be transferred from the communication terminal to the wireless station.

なお、上述した「認証用メッセージ」とは、通信端末が第1暗号キーを受け渡すべき正しい無線ステーションであることを確認するためのメッセージであって、その内容を無線ステーション側で出力させてユーザに確認させるためのものである。   The above-mentioned “authentication message” is a message for confirming that the communication terminal is the correct wireless station to which the first encryption key should be delivered, and the content is output on the wireless station side to the user. It is for making it confirm.

また、無線ステーションにおけるメッセージ出力手段は、上述の認証用メッセージを、例えば、表示部,印刷部,スピーカなどにより出力させる手段である。
以上説明したように、無線アクセスポイントは、広告送信手段による広告データの送信を実現して無線ステーションにおける接続方法の設定を行わせる、つまりサポートするように構成されているが、このサポートは、特定の状態の時にのみ行われるように構成するとよい。
Further, the message output means in the wireless station is means for outputting the above-described authentication message by, for example, a display unit, a printing unit, a speaker, or the like.
As described above, the wireless access point is configured to support the setting of the connection method in the wireless station by realizing the transmission of advertisement data by the advertisement transmitting means. It may be configured to be performed only in the state of.

具体的には、例えば、請求項20に記載のように、無線アクセスポイント自身の動作モードを、広告送信手段による広告データの送信を実現して無線ステーションにおける接続方法の設定をサポートするサポートモード、および、広告送信手段による広告データの送信を実現せずに接続方法の設定をサポートしないノーマルモードのいずれか一方へ切り替え可能なモード切替手段が備えられている。   Specifically, for example, as described in claim 20, the operation mode of the wireless access point itself, the support mode that supports the setting of the connection method in the wireless station by realizing the transmission of advertisement data by the advertisement transmitting means, In addition, there is provided mode switching means capable of switching to any one of the normal modes that do not support the setting of the connection method without realizing the transmission of the advertisement data by the advertisement transmitting means.

このように構成すれば、無線アクセスポイントの動作モードがサポートモードに切り替えられているときのみ、無線ステーションにおける接続方法の設定をサポートするため、無線アクセスポイントが不用意に無線ステーションにおける接続方法を設定させてしまうことを防止できる。このことは、無線アクセスポイントの動作モードをサポートモードへ切り替えた状態で、無線ステーション側での広告データの受信を開始させれば、任意のタイミングで無線ステーションにおける接続方法を設定できることを示している。   With this configuration, only when the wireless access point's operation mode is switched to the support mode, the wireless access point will inadvertently set the connection method at the wireless station to support the setting of the connection method at the wireless station. Can be prevented. This indicates that the connection method in the wireless station can be set at an arbitrary timing if reception of advertisement data on the wireless station side is started while the operation mode of the wireless access point is switched to the support mode. .

また、この構成におけるモード切替手段が動作モードを切り替える際の契機については、特に限定されないが、例えば、請求項21に記載のように、外部からの指令を受けた際に動作モードを切り替える、ように構成すればよい。   In addition, the trigger when the mode switching unit in this configuration switches the operation mode is not particularly limited. For example, as described in claim 21, the operation mode is switched when an instruction from the outside is received. What is necessary is just to comprise.

このように構成すれば、無線アクセスポイントの動作モードを、外部から明示的に切り替えることができる。
なお、 なお、この構成における「外部からの指令」とは、例えば、無線ステーションの備える操作部に対して行われたユーザによる特定の操作や、無線ステーションとデータ通信可能に接続された通信端末からのデータなどのことである。
With this configuration, the operation mode of the wireless access point can be explicitly switched from the outside.
Note that the “command from the outside” in this configuration refers to, for example, a specific operation performed by the user on the operation unit included in the wireless station or a communication terminal connected to the wireless station so as to be able to perform data communication. It is data of.

また、この構成であれば、外部から明示的に指令する毎に、動作モードがサポートモードおよびノーマルモードに切り替わることになるが、ユーザが、サポートモードに切り替えた状態からノーマルモードへ切り替え直すことを忘れてしまうと、上述したように、無線アクセスポイントが不用意に無線ステーションにおける接続方法を設定させてしまう恐れがある。   In addition, with this configuration, each time an explicit command is given from the outside, the operation mode is switched to the support mode and the normal mode. However, the user must switch back to the normal mode from the state switched to the support mode. If forgotten, as described above, the wireless access point may inadvertently set the connection method in the wireless station.

そこで、請求項22に記載のように、モード切替手段を、動作モードをサポートモードへ切り替えた以降、所定の期間が経過した際に、動作モードをノーマルモードへ切り替え直す、ように構成するとよい。   Therefore, as described in claim 22, the mode switching means may be configured to switch the operation mode back to the normal mode when a predetermined period has elapsed after switching the operation mode to the support mode.

このように構成すれば、サポートモードに切り替えた状態からノーマルモードへ切り替え直すことを忘れてしまった場合であっても、所定期間が経過した際、自動的に動作モードをノーマルモードへ切り替え直すことができる。   With this configuration, even if you forget to switch back to normal mode from the state switched to support mode, the operation mode is automatically switched back to normal mode after a predetermined period of time. Can do.

ただ、このような構成であっても、動作モードをサポートモードへ切り替えてから所定の期間内であれば、無線アクセスポイントが不用意に無線ステーションにおける接続方法を設定させてしまう可能性がないとはいえない。   However, even with such a configuration, there is no possibility that the wireless access point will inadvertently set the connection method in the wireless station within a predetermined period after switching the operation mode to the support mode. I can't say that.

そこで、請求項23に記載のように、モード切替手段を、動作モードをサポートモードへ切り替えた以降、広告送信手段により広告データが所定回数だけ送信された際に、動作モードを前記ノーマルモードへ切り替え直す、ように構成するとよい。   Therefore, as described in claim 23, after the mode switching unit switches the operation mode to the support mode, the operation mode is switched to the normal mode when the advertisement data is transmitted a predetermined number of times by the advertisement transmission unit. It is better to configure so that it is fixed.

このように構成すれば、動作モードをサポートモードへ切り替えてから所定の期間内であっても、広告送信手段により広告データが所定回数だけ送信された際に、ノーマルモードへ切り替え直すことができる。   If comprised in this way, even if it is within a predetermined period after switching an operation mode to a support mode, when advertisement data are transmitted a predetermined number of times by an advertisement transmission means, it can switch back to a normal mode.

また、請求項24に記載の無線LANシステムにおいて、無線ステーションは、内容判定手段および動作停止手段が備えられている。これらのうち、内容判定手段は、無線アクセスポイントへの接続方法に関する設定内容が、方法設定手段による設定を経て無線アクセスポイントへの接続方法を設定する必要がある設定内容であるか否かを判定する。動作停止手段は、内容判定手段により接続方法を設定する必要がある設定内容でないと判定された場合に、方法設定手段による設定が行われないようにする。   In the wireless LAN system according to claim 24, the wireless station is provided with content determination means and operation stop means. Among these, the content determination unit determines whether the setting content related to the connection method to the wireless access point is the setting content that needs to set the connection method to the wireless access point through the setting by the method setting unit. To do. The operation stopping unit prevents the setting by the method setting unit from being performed when it is determined by the content determination unit that the setting content is not required to be set.

このように構成された無線LANシステムにおいて、無線ステーションは、無線アクセスポイントへの接続方法を設定する必要がある設定内容である場合のみ、無線アクセスポイントとへの接続方法を設定することができる。   In the wireless LAN system configured as described above, the wireless station can set the connection method to the wireless access point only when the setting contents need to set the connection method to the wireless access point.

なお、この構成における動作停止手段は、方法設定手段による設定が行われないようにする手段であって、この設定が行われないようにするための構成は特に限定されない。例えば、方法設定手段による設定動作を停止させる、といった構成を採用すればよい。   The operation stop means in this configuration is means for preventing the setting by the method setting means, and the configuration for preventing this setting is not particularly limited. For example, a configuration in which the setting operation by the method setting unit is stopped may be employed.

また、請求項25に記載の通信端末は、請求項1から24のいずれかに記載の無線ステーションとして機能する通信端末である。
このように構成された通信端末によれば、請求項1から24のいずれかに記載の無線LANシステムの一部を構成することができる。
A communication terminal according to claim 25 is a communication terminal that functions as a radio station according to any one of claims 1 to 24.
According to the communication terminal configured as described above, a part of the wireless LAN system according to any one of claims 1 to 24 can be configured.

また、請求項26に記載の通信端末は、請求項1から24のいずれかに記載の無線アクセスポイントとして機能する通信端末である。
このように構成された通信端末によれば、請求項1から24のいずれかに記載の無線LANシステムの一部を構成することができる。
A communication terminal according to claim 26 is a communication terminal functioning as a wireless access point according to any one of claims 1 to 24.
According to the communication terminal configured as described above, a part of the wireless LAN system according to any one of claims 1 to 24 can be configured.

また、請求項27に記載の通信端末は、請求項13から15,請求項18,請求項19およびこれら請求項のみを引用する請求項のいずれかに記載の通信端末として機能する通信端末である。   A communication terminal according to claim 27 is a communication terminal that functions as the communication terminal according to any one of claims 13 to 15, claim 18, claim 19, and claim 1 that cites only these claims. .

このように構成された通信端末によれば、請求項13から15,請求項18,請求項19およびこれら請求項のみを引用する請求項のいずれかに記載の無線LANシステムの一部を構成することができる。   According to the communication terminal configured as described above, a part of the wireless LAN system according to claims 13 to 15, claim 18, claim 19, and any one of claims to which only these claims are cited. be able to.

また、請求項28に記載の通信プログラムは、請求項1から24のいずれかに記載の無線ステーションの備える全ての手段として機能させるための各種処理手順を、コンピュータシステムに実行させるためのプログラムである。   A communication program according to claim 28 is a program for causing a computer system to execute various processing procedures for causing the wireless station according to any one of claims 1 to 24 to function as all means. .

このようなプログラムにより制御されるコンピュータシステムは、請求項1から24のいずれかに記載の無線ステーションの一部を構成できる。
また、請求項29に記載の通信プログラムは、請求項1から24のいずれかに記載の無線アクセスポイントの備える全ての手段として機能させるための各種処理手順を、コンピュータシステムに実行させるためのプログラムである。
A computer system controlled by such a program can constitute a part of a radio station according to any one of claims 1 to 24.
A communication program according to claim 29 is a program for causing a computer system to execute various processing procedures for causing the wireless access point according to any one of claims 1 to 24 to function as all means. is there.

このようなプログラムにより制御されるコンピュータシステムは、請求項1から24のいずれかに記載の無線アクセスポイントの一部を構成できる。
また、請求項30に記載の通信プログラムは、請求項13から15,請求項18,請求項19およびこれら請求項のみを引用する請求項のいずれかに記載の通信端末として機能させるための各種処理手順を、コンピュータシステムに実行させるためのプログラムである。
A computer system controlled by such a program can constitute a part of a wireless access point according to any one of claims 1 to 24.
A communication program according to a thirty-third aspect is a variety of processing for causing a function as a communication terminal according to any one of the thirteenth to fifteenth, the eighteenth, the nineteenth, and the claims that cite only these claims. A program for causing a computer system to execute a procedure.

このようなプログラムにより制御されるコンピュータシステムは、請求項13から15,請求項18,請求項19およびこれら請求項のみを引用する請求項のいずれかに記載の通信端末の一部を構成できる。   A computer system controlled by such a program can constitute a part of a communication terminal according to claims 13 to 15, claim 18, claim 19 and any one of claims which refer only to these claims.

なお、上述した各通信プログラムは、それぞれコンピュータシステムによる処理に適した命令の順番付けられた列からなるものであって、それぞれとしての機能をコンピュータシステムに実行させるためのプログラムである。このプログラムは、例えば、FD、CD−ROM、メモリーカードなどの記録媒体、インターネットなどの通信回線網を介して、無線アクセスポイント,無線ステーションおよび通信端末(以降、「通信端末等」とする)、コンピュータシステム、または、これらを利用するユーザに提供されるものである。また、このプログラムを実行するコンピュータシステムとしては、例えば、通信端末等に内蔵されたコンピュータシステム、通信端末等に無線または有線の通信路を介してデータ通信可能に接続されたコンピュータシステムなどを利用することができる。   Each communication program described above is composed of an ordered sequence of instructions suitable for processing by the computer system, and is a program for causing the computer system to execute the respective functions. This program is, for example, a wireless access point, a wireless station and a communication terminal (hereinafter referred to as “communication terminal etc.”) via a recording medium such as an FD, a CD-ROM, a memory card, or a communication network such as the Internet. It is provided to a computer system or a user who uses these. As a computer system for executing this program, for example, a computer system built in a communication terminal or the like, a computer system connected to the communication terminal or the like through a wireless or wired communication path, etc., can be used. be able to.

以下に、本発明を実施するための最良の形態として、複数のネットワークデバイス(以降、単に「デバイス」とする)がLAN接続されてなる無線LANシステムを例示して説明する。   Hereinafter, as a best mode for carrying out the present invention, a wireless LAN system in which a plurality of network devices (hereinafter simply referred to as “devices”) are LAN-connected will be described as an example.

[第1実施形態]
無線LANシステムは、図1に示すように、アクセスポイント10、ネットワークプリンタ(以降、単に「プリンタ」とする)20などにより構成される。
[First Embodiment]
As shown in FIG. 1, the wireless LAN system includes an access point 10, a network printer (hereinafter simply referred to as “printer”) 20, and the like.

アクセスポイント10は、ケーブル100を介して接続されたデバイス(または外部ネットワーク)、および、無線ステーションの間におけるデータ通信を中継する無線アクセスポイントであって、CPU11,ROM12,RAM13,ネットワークコントローラ14,無線LANコントローラ15,操作パネル16,表示パネル17などを備えている。   The access point 10 is a wireless access point that relays data communication between a device (or external network) connected via the cable 100 and a wireless station. The access point 10 is a CPU 11, ROM 12, RAM 13, network controller 14, wireless A LAN controller 15, an operation panel 16, a display panel 17 and the like are provided.

このアクセスポイント10の備えるCPU11は、ROM12に記録されている処理手順に従って、処理結果をRAM13に記録させながら、各構成要素に指令を送ることによってアクセスポイント10全体の動作を制御する。   The CPU 11 provided in the access point 10 controls the operation of the access point 10 as a whole by sending commands to each component while recording the processing result in the RAM 13 according to the processing procedure recorded in the ROM 12.

また、ROM12は、アクセスポイント10自身が無線ステーションと通信する際に利用されるSSID(service set identifier、または、ESSID:extended SSID)、無線接続の方法(以降、「接続方法」とする)を示すパラメータなどを記憶するための各記憶領域を有する読み書き可能な不揮発性メモリである。なお、「接続方法」とは、第1〜第iの無線LAN規格(例えば、IEEE802.11a,IEEE802.11b,IEEE802.11gの3種類)のうちいずれかの無線LAN規格、および、この無線LAN規格において使用可能な複数のチャネルのうちいずれかのチャネルで規定されるものであり、無線アクセスポイントとして無線ステーションとの無線接続を実現するための方法を示すものである。   The ROM 12 indicates an SSID (service set identifier or ESSID: extended SSID) used when the access point 10 itself communicates with a wireless station, and a wireless connection method (hereinafter referred to as “connection method”). This is a readable / writable nonvolatile memory having storage areas for storing parameters and the like. The “connection method” means any one of the first to i-th wireless LAN standards (for example, three types of IEEE802.11a, IEEE802.11b, and IEEE802.11g), and this wireless LAN. It is defined by any one of a plurality of channels that can be used in the standard, and shows a method for realizing wireless connection with a wireless station as a wireless access point.

また、ネットワークコントローラ14は、ケーブル100を介して接続されたPC30など他のデバイス(または外部ネットワーク)との間におけるデータ通信を実現するためのインターフェースである。   The network controller 14 is an interface for realizing data communication with other devices (or an external network) such as the PC 30 connected via the cable 100.

また、無線LANコントローラ15は、無線LAN規格に従った通信をROM12に記憶された各パラメータに基づいて実現するためのインターフェースであり、「接続方法を示すパラメータ」で示される接続方法に従って無線ステーションとの接続(コネクション)を確立することにより無線アクセスポイントとしての通信機能を実現する。   The wireless LAN controller 15 is an interface for realizing communication in accordance with the wireless LAN standard based on each parameter stored in the ROM 12, and is connected to the wireless station according to the connection method indicated by “parameter indicating connection method”. A communication function as a wireless access point is realized by establishing a connection.

このように構成されたアクセスポイント10では、ROM12に「SSID」および「接続方法を示すパラメータ」が記憶された以降、このSSIDと同一のSSID、同一の接続方法に基づいてアクセスしてきた無線ステーションに無線による通信を許可するようになる。   In the access point 10 configured as described above, after the “SSID” and the “parameter indicating the connection method” are stored in the ROM 12, the wireless station that has accessed based on the same SSID and the same connection method as the SSID is accessed. Wireless communication is allowed.

なお、このアクセスポイント10では、他のデバイスとの間で設定に関するデータを無線または有線にてやりとりして他のデバイス側から間接的な設定(リモートセットアップ)が行われたときに、「SSID」および「接続方法を示すパラメータ」が生成されROM12に記憶される。本実施形態においては、「接続方法を示すパラメータ」として、第1の無線LAN規格における第2チャネルで規定される接続方法を示すものがリモートセットアップを経てROM22に記憶(初期設定)されているものとする。   The access point 10 exchanges data related to settings with other devices wirelessly or by wire, and when an indirect setting (remote setup) is performed from the other device side, the “SSID” The “parameter indicating the connection method” is generated and stored in the ROM 12. In the present embodiment, as the “parameter indicating the connection method”, the one indicating the connection method defined by the second channel in the first wireless LAN standard is stored (initially set) in the ROM 22 through the remote setup. And

次に、プリンタ20は、無線ステーションとしての機能を有するデバイスであって、CPU21,ROM22,RAM23,無線LANコントローラ24,PCインターフェース部(PC I/F)25,操作パネル26,表示パネル27,プリントエンジン28などを備えている。   Next, the printer 20 is a device having a function as a wireless station, and includes a CPU 21, a ROM 22, a RAM 23, a wireless LAN controller 24, a PC interface unit (PC I / F) 25, an operation panel 26, a display panel 27, and a print. An engine 28 and the like are provided.

このプリンタ20の備えるCPU21は、ROM22に記録されている処理手順に従って、処理結果をRAM23に記録させながら、各構成要素に指令を送ることによってプリンタ20全体の動作を制御する。   The CPU 21 of the printer 20 controls the overall operation of the printer 20 by sending commands to each component while recording the processing results in the RAM 23 according to the processing procedure recorded in the ROM 22.

また、ROM22は、プリンタ20が無線ステーションとして無線アクセスポイントと通信する際に利用されるSSID,接続方法を示すパラメータなどを記憶するための各記憶領域を有する読み書き可能な不揮発性メモリである。   The ROM 22 is a readable / writable nonvolatile memory having storage areas for storing an SSID used when the printer 20 communicates with a wireless access point as a wireless station, a parameter indicating a connection method, and the like.

また、無線LANコントローラ24は、無線LAN規格に従った通信をROM22に記憶された各パラメータに基づいて実現するためのインターフェースであり、上述したのと同様に「接続方法を示すパラメータ」で示される接続方法に従って無線アクセスポイントとの確立することにより無線ステーションとしての通信機能を実現する。   The wireless LAN controller 24 is an interface for realizing communication in accordance with the wireless LAN standard based on each parameter stored in the ROM 22 and is indicated by “parameter indicating connection method” as described above. A communication function as a wireless station is realized by establishing a wireless access point according to the connection method.

また、PCインターフェース部25は、プリンタ20を通信ケーブル経由で他のPCと接続するためのインターフェースであって、これにより、プリンタ20−PC間におけるデータ通信を可能な状態とすることができる。   Further, the PC interface unit 25 is an interface for connecting the printer 20 to another PC via a communication cable, thereby enabling data communication between the printer 20 and the PC.

このように構成されたプリンタ20では、ROM22に「SSID」および「接続方法を示すパラメータ」が記憶された以降、この接続方法に従った無線接続を経て、SSIDを利用したデータ通信が行えるようになる。なお、このプリンタ20では、後述する接続方法設定処理(図4)において、「SSID」および「接続方法を示すパラメータ」が生成されROM22に記憶(設定)される。
○アクセスポイント10による接続方法指示処理
以下に、アクセスポイント10の備えるCPU11により実行される接続方法指示処理の処理手順を図2に基づいて説明する。この接続方法指示処理は、操作パネル16により、アクセスポイント10の動作モードを、無線ステーションにおける接続方法の設定をサポートするサポートモードに切り替えるための指示操作(例えば、特定ボタンの押下)が行われた際に開始される。なお、このサポートモードは、本接続方法指示処理が実行されている最中のみの動作モードであり、本接続方法指示処理の終了と共に、アクセスポイント10の動作モードがサポートモードからノーマルモードへ切り替え直されることになる。
In the printer 20 configured as described above, after “SSID” and “parameter indicating connection method” are stored in the ROM 22, data communication using the SSID can be performed through wireless connection according to this connection method. Become. In the printer 20, “SSID” and “parameter indicating connection method” are generated and stored (set) in the ROM 22 in connection method setting processing (FIG. 4) described later.
Connection Method Instruction Processing by Access Point 10 Hereinafter, a processing procedure of connection method instruction processing executed by the CPU 11 provided in the access point 10 will be described with reference to FIG. In this connection method instruction processing, an instruction operation (for example, pressing a specific button) for switching the operation mode of the access point 10 to a support mode that supports setting of the connection method in the wireless station is performed by the operation panel 16. Be started when. Note that this support mode is an operation mode only during the execution of the connection method instruction process, and the operation mode of the access point 10 is switched from the support mode to the normal mode at the end of the connection method instruction process. Will be.

まず、変数Mを初期化する(s110)。この処理では、変数Mに「1」をセット(1→M)する。なお、以降に記載の「m」は、変数Mにセットされた値を示すものとする。
次に、変数Nを初期化する(s120)。この処理では、変数Nに「1」をセット(1→N)する。なお、以降に記載の「n」は、変数Nにセットされた値を示すものとする。
First, the variable M is initialized (s110). In this process, the variable M is set to “1” (1 → M). Note that “m” described below indicates a value set in the variable M.
Next, the variable N is initialized (s120). In this process, the variable N is set to “1” (1 → N). Note that “n” described below indicates the value set in the variable N.

次に、無線ステーションとの無線接続の方法(以降、「接続方法」とする)を、第mの無線LAN規格における第nチャネルによる接続方法に切り替える(s130)。この処理では、第mの無線LAN規格における第nチャネルにより規定される接続方法により通信機能を実現する旨のパラメータを、RAM13における「接続方法を示すパラメータ」用の記憶領域に記憶させ、接続方法をRAM23の記憶内容に従って制御(するように)することにより、無線LANコントローラ14による接続方法を切り替える。こうして、以降の処理(s150の処理)においてROM22の記憶内容に従って制御するように切り替えるまでは、RAM23の記憶内容に従って制御されるようになる。なお、「接続方法を示すパラメータ」用の記憶領域にパラメータが既に記憶されている場合には、新たなパラメータに書き替える。   Next, the wireless connection method with the wireless station (hereinafter referred to as “connection method”) is switched to the connection method using the n-th channel in the m-th wireless LAN standard (s130). In this process, a parameter indicating that the communication function is realized by the connection method defined by the n-th channel in the m-th wireless LAN standard is stored in the storage area for “parameter indicating connection method” in the RAM 13, and the connection method is stored. Is controlled according to the stored contents of the RAM 23 to switch the connection method by the wireless LAN controller 14. In this way, control is performed according to the stored contents of the RAM 23 until switching to control according to the stored contents of the ROM 22 in the subsequent processing (processing of s150). If a parameter is already stored in the storage area for “parameter indicating connection method”, it is rewritten to a new parameter.

次に、プローブ要求をブロードキャスト(宛先をブロードキャストアドレスとして送信)する(s140)。この「プローブ要求」は、無線アクセスポイントが周辺に位置する無線ステーションの存在を問い合わせるために送信する周知のフレームデータである。本実施形態では、無線ステーションにおける接続方法の設定をサポートする目的で送信するものであって(図3における「要求11〜要求3j」参照)、アクセスポイント10が無線ステーションとのデータ通信に利用するSSID,あらかじめアクセスポイント10に対して設定されている接続方法(第1の無線LAN規格における第2チャネル)を示すパラメータが格納される。このプローブ要求を受信したプリンタ20からは、後述する接続方法設定処理(図4)において、アクセスポイント10と同じ接続方法に基づきプローブ応答が返信されてくる(図3における「応答」参照)。   Next, the probe request is broadcast (destination is transmitted as a broadcast address) (s140). This “probe request” is well-known frame data that is transmitted by the wireless access point to inquire about the existence of a wireless station located in the vicinity. In this embodiment, transmission is performed for the purpose of supporting setting of a connection method in a wireless station (see “Request 11 to Request 3j” in FIG. 3), and the access point 10 is used for data communication with the wireless station. A parameter indicating an SSID and a connection method (second channel in the first wireless LAN standard) set in advance for the access point 10 is stored. The printer 20 that has received the probe request returns a probe response based on the same connection method as that of the access point 10 in the connection method setting process (FIG. 4) described later (see “response” in FIG. 3).

次に、接続方法を初期設定に戻す(s150)。この処理では、RAM13に記憶されている「接続方法を示すパラメータ」を削除し、ROM12に記憶されている「接続方法を示すパラメータ」に基づいてデータ通信を行うようにする。このROM12に記憶されているパラメータは、アクセスポイント10に対して初期設定されたものであるため、これにより、接続方法が初期設定に戻される。   Next, the connection method is returned to the initial setting (s150). In this processing, the “parameter indicating connection method” stored in the RAM 13 is deleted, and data communication is performed based on the “parameter indicating connection method” stored in the ROM 12. Since the parameters stored in the ROM 12 are initially set for the access point 10, the connection method is returned to the initial setting.

次に、タイマーをスタートさせる(s160)。この処理でスタートするタイマーは、無線接続の設定をサポートすべき無線ステーション(プリンタ20)から、期限内にプローブ応答が送信されてくるか否かをチェックするためのものである。   Next, a timer is started (s160). The timer that is started in this process is for checking whether or not a probe response is transmitted within the time limit from a wireless station (printer 20) that should support wireless connection setting.

次に、無線ステーションからプローブ応答が返信されてきたか否かをチェックする(s170)。
このs170の処理で、プローブ応答が返信されてこなければ(s170:NO)、プローブ要求の送信に対してタイムアウト(つまり、時間切れ)となったか否かをチェックする(s180)。この処理では、s160の処理でカウントをスタートしたタイマーのカウント値が所定の値(本実施形態においては、250ms)に到達していれば、タイムアウトであると判定する。
Next, it is checked whether a probe response is returned from the wireless station (s170).
If no probe response is returned in the processing of s170 (s170: NO), it is checked whether or not a timeout (that is, time-out) has occurred for the transmission of the probe request (s180). In this process, if the count value of the timer that started counting in the process of s160 has reached a predetermined value (250 ms in the present embodiment), it is determined that a timeout has occurred.

このs180の処理で、タイムアウトになっていなければ(s180:NO)、s170の処理へ戻る一方、タイムアウトになっていれば(s180:YES)、s160の処理でカウントをスタートしたタイマーをストップおよびリセットした後(s190)、変数Nに「1」を加算(n+1→N)する(s200)。   In the process of s180, if the time-out has not occurred (s180: NO), the process returns to the process of s170. On the other hand, if the time-out has occurred (s180: YES), the timer that started counting in the process of s160 is stopped and reset. (S190), “1” is added to the variable N (n + 1 → N) (s200).

次に、第mの無線LAN規格における全てのチャネルによるプローブ要求の送信を終えたか否かをチェックする(s210)。各無線LAN規格では、それぞれに使用可能なチャネル数が定められているため、このs210の処理では、変数Nの値nが第mの無線LAN規格において使用可能なチャネル数jより大きな値(n<j)となっていれば、全てのチャネルによるプローブ要求の送信を終えたと判定する。   Next, it is checked whether or not probe request transmission by all channels in the m-th wireless LAN standard has been completed (s210). Since each wireless LAN standard defines the number of channels that can be used, the value n of the variable N is greater than the number of channels j that can be used in the m-th wireless LAN standard (n If <j), it is determined that the transmission of probe requests by all channels has been completed.

このs210の処理で、第mの無線LAN規格における全てのチャネルによるプローブ要求の送信を終えていなければ(s210:NO)、s130の処理へ戻る。この後、s130からs210の処理を繰り返すことにより、第mの無線LAN規格における各チャネルによるプローブ要求の送信が順番に行われる(図3における「要求11〜要求1j」参照)。   If the probe request transmission by all channels in the m-th wireless LAN standard has not been completed in the process of s210 (s210: NO), the process returns to the process of s130. Thereafter, by repeating the processing from s130 to s210, probe requests are transmitted in order by each channel in the m-th wireless LAN standard (see “request 11 to request 1j” in FIG. 3).

こうして、s130からs210の処理を繰り返した後、s210の処理で、第mの無線LAN規格における全てのチャネルによるプローブ要求の送信を終えていれば(s210:YES)、変数Mに「1」を加算(m+1→M)する(s220)。   Thus, after repeating the processing from s130 to s210, if the probe request transmission by all channels in the m-th wireless LAN standard is completed in the processing of s210 (s210: YES), the variable M is set to “1”. Addition (m + 1 → M) is performed (s220).

次に、全ての無線LAN規格によるプローブ要求の送信を終えたか否かをチェックする(s230)。この処理では、変数Mの値mが無線LANコントローラ15により通信を実現可能な無線LAN規格の数iより大きくなっていれば(i<m)、全ての無線LAN規格によるプローブ要求の送信を終えたと判定する。   Next, it is checked whether or not transmission of probe requests based on all wireless LAN standards has been completed (s230). In this process, if the value m of the variable M is larger than the number i of wireless LAN standards that can be communicated by the wireless LAN controller 15 (i <m), transmission of probe requests based on all wireless LAN standards is completed. It is determined that

このs230の処理で、全ての無線LAN規格によるプローブ要求の送信を終えていなければ(s230:NO)、s120の処理へ戻る。
この後、s120以降の処理で、次の無線LAN規格によるプローブ要求の送信が行われ、s120からs230の処理を繰り返すことにより、全ての無線LAN規格によるプローブ要求の送信が行われる(図3における「要求11〜要求3j」参照)。
If transmission of probe requests based on all wireless LAN standards has not been completed in the process of s230 (s230: NO), the process returns to s120.
Thereafter, in the processing after s120, the probe request is transmitted according to the next wireless LAN standard, and by repeating the processing from s120 to s230, the probe request is transmitted according to all the wireless LAN standards (in FIG. 3). (See "Request 11 to Request 3j").

こうして、s120からs230の処理を繰り返した後、s230の処理で全ての無線LAN規格によるプローブ要求の送信を終えていれば(s230:YES)、s110の処理へ戻る。   In this way, after the processing from s120 to s230 is repeated, if the transmission of all the probe requests based on the wireless LAN standard is completed in the processing of s230 (s230: YES), the processing returns to s110.

そして、s120からs230の処理を繰り返し行う間に、s170の処理でプローブ応答が返信されてきたら(s170:NO)、s160の処理でカウントをスタートしたタイマーをストップおよびリセットした後(s240)、プローブ応答の送信元である無線ステーションに対して要求催促データを送信する(s250)。この「要求催促データ」とは、アクセスポイント10に対して無線接続の許可を要求(アソシエーション要求)する旨を催促するためのフレームデータである。この要求催促データを受信したプリンタ20は、後述する接続方法設定処理(図4)において、アソシエーション要求を送信してくる。   If a probe response is returned in the process of s170 while the processes of s120 to s230 are repeated (s170: NO), the timer that started counting in the process of s160 is stopped and reset (s240), and then the probe is returned. The request prompt data is transmitted to the wireless station that is the response transmission source (s250). This “request prompting data” is frame data for prompting the access point 10 to request permission of wireless connection (association request). The printer 20 that has received the request prompting data transmits an association request in connection method setting processing (FIG. 4) described later.

次に、タイマーをスタートさせる(s260)。この処理でスタートするタイマーは、無線ステーション(プリンタ20)から、期限内にアソシエーション要求が送信されてくるか否かをチェックするためのものである。   Next, a timer is started (s260). The timer started in this process is for checking whether or not an association request is transmitted from the wireless station (printer 20) within the time limit.

次に、無線ステーションからアソシエーション要求を受信したか否かをチェックする(s270)。
このs270の処理で、アソシエーション要求を受信していなければ(s270:NO)、要求催促データの送信に対してタイムアウト(つまり、時間切れ)となったか否かをチェックする(s280)。この処理では、s260の処理でカウントをスタートしたタイマーのカウント値が所定の値(本実施形態においては、250ms)に到達していれば、タイムアウトであると判定する。
Next, it is checked whether an association request has been received from the wireless station (s270).
If the association request is not received in the process of s270 (s270: NO), it is checked whether or not a time-out (that is, time-out) has occurred with respect to the transmission of the request prompt data (s280). In this process, if the count value of the timer that started counting in the process of s260 has reached a predetermined value (250 ms in the present embodiment), it is determined that a time-out has occurred.

このs280の処理で、タイムアウトになっていなければ(s280:NO)、s270の処理へ戻る一方、タイムアウトになっていれば(s280:YES)、s260の処理でカウントをスタートしたタイマーをストップおよびリセットした後(s290)、s110の処理へ戻る。   If it is not timed out in this process of s280 (s280: NO), the process returns to the process of s270, while if timed out (s280: YES), the timer that started counting in the process of s260 is stopped and reset. (S290), the process returns to s110.

また、s270の処理で、アソシエーション要求を受信していれば(s270:YES)、s290の処理と同様にタイマーをストップおよびリセットした後(s300)、アクセスポイント10自身への無線接続を許可する旨のアソシエーション応答を、アソシエーション要求の送信元であるプリンタ20へ返信する(s310)。   If an association request is received in the process of s270 (s270: YES), the timer is stopped and reset in the same manner as in the process of s290 (s300), and then the wireless connection to the access point 10 itself is permitted. Is returned to the printer 20 which is the transmission source of the association request (s310).

このように、アソシエーション要求,応答のやりとりを経て、アクセスポイント10とプリンタ20との無線接続が確立される。
なお、詳細な説明は省略するが、本実施形態において、アソシエーション要求,応答がやりとりされる前には、通常の無線接続を行う手順と同様、アクセスポイント10からの要求催促データがプリンタ20に受信されたら、オーセンティケーション要求,応答をやりとりするように構成されている(図3における「オーセンティケーション要求〜オーセンティケーション応答」参照)。ただ、第1実施形態においては、データ通信を暗号化していない構成となっているため、オープン認証(つまり暗号化しない)によるオーセンティケーション要求,応答のやりとりとなる。
○プリンタ20による接続方法設定処理
以下に、プリンタ20の備えるCPU21により実行される接続方法設定処理の処理手順について図4に基づいて説明する。この接続方法設定処理は、プリンタ20が起動した際に開始される。
Thus, the wireless connection between the access point 10 and the printer 20 is established through the exchange of the association request and response.
Although detailed description is omitted, in the present embodiment, before the association request and response are exchanged, the request prompt data from the access point 10 is received by the printer 20 in the same manner as the normal wireless connection procedure. Then, an authentication request and a response are exchanged (see “Authentication Request to Authentication Response” in FIG. 3). However, since the data communication is not encrypted in the first embodiment, authentication requests and responses are exchanged by open authentication (that is, not encrypted).
A connection method setting process performed by the printer 20 A connection method setting process executed by the CPU 21 of the printer 20 will be described below with reference to FIG. This connection method setting process is started when the printer 20 is activated.

まず、プリンタ20自身が工場出荷状態であるか否かをチェックする(s410)。この処理では、ROM22内に「接続方法を示すパラメータ」が記憶されていなければ、工場出荷状態であると判定する。   First, it is checked whether or not the printer 20 itself is in a factory shipment state (s410). In this process, if the “parameter indicating the connection method” is not stored in the ROM 22, it is determined that the factory shipment state is set.

このs410の処理で、工場出荷状態であれば(s410:YES)、初期設定を行う(s420)。この処理では、「接続方法を示すパラメータ」として、あらかじめ定められたパラメータをROM22に記憶させることにより初期設定を行う。本実施形態においては、「接続方法を示すパラメータ」として、第3の無線LAN規格における第2チャネルで規定される接続方法を示すパラメータがROM12に記憶される。   If the process of s410 is a factory shipment state (s410: YES), initial setting is performed (s420). In this processing, initial setting is performed by storing a predetermined parameter in the ROM 22 as a “parameter indicating the connection method”. In the present embodiment, a parameter indicating the connection method defined by the second channel in the third wireless LAN standard is stored in the ROM 12 as the “parameter indicating the connection method”.

次に、タイマーをスタートさせる(s430)。この処理でスタートするタイマーは、接続方法を設定すべき無線アクセスポイントから、期限内にデータが送信されてくるか否かをチェックするためのものである。本実施形態において、「接続方法を設定すべき無線アクセスポイント」とは、アクセスポイント10のことであり、送信されてくるデータは、上述した接続方法指示処理(図2)においてアクセスポイント10が送信してくるデータのことである。つまり、ユーザは、アクセスポイント10により上述した接続方法指示処理(図2)を開始させてから、プリンタ20を起動して本接続方法設定処理を開始させることで、プリンタ20に対してアクセスポイント10への接続方法を設定することになる(図3におけるアクセスポイント10に対する「指示操作」およびプリンタ20に対する「起動」参照)。   Next, a timer is started (s430). The timer that is started in this process is for checking whether or not data is transmitted within the time limit from the wireless access point that should set the connection method. In the present embodiment, the “wireless access point for which a connection method is to be set” refers to the access point 10, and transmitted data is transmitted by the access point 10 in the connection method instruction process (FIG. 2) described above. It is the data that comes. That is, the user starts the connection method instruction process (FIG. 2) described above by the access point 10 and then activates the printer 20 to start the connection method setting process. (See “Instruction Operation” for the access point 10 and “Startup” for the printer 20 in FIG. 3).

次に、無線アクセスポイントからプローブ要求を受信したか否かをチェックする(s440)。この「プローブ要求」は、無線アクセスポイントが周辺に位置する無線ステーションの存在を問い合わせるために送信する周知のフレームデータ(MACフレーム)であって、図2におけるs140の処理でアクセスポイント10から送信されてくるデータである。なお、このs440の処理においては、プリンタ20自身に対して設定された接続方法(つまり初期設定された接続方法)に基づくプローブ要求が送信されてきたか否かをチェックしていることになる(図3における「要求11」〜「要求3j」参照)。   Next, it is checked whether a probe request is received from the wireless access point (s440). This “probe request” is well-known frame data (MAC frame) that is transmitted by the wireless access point to inquire about the existence of wireless stations located in the vicinity, and is transmitted from the access point 10 in the process of s140 in FIG. It is the data that comes. In the process of s440, it is checked whether or not a probe request based on the connection method set for the printer 20 itself (that is, the initially set connection method) has been transmitted (FIG. 5). 3 (refer to “Request 11” to “Request 3j”).

このs440の処理で、プローブ要求を受信したら(s440:YES)、このプローブ要求に基づいて、無線アクセスポイントへの接続方法を設定する(s450)。この処理では、プローブ要求に格納されている「SSID」と共に「接続方法を示すパラメータ」をそれぞれROM22に記憶させることにより、無線アクセスポイントへの接続方法を設定する。こうして、プリンタ20は、アクセスポイント10との無線接続およびSSIDを利用したデータ通信が可能な状態となる。   If a probe request is received in the process of s440 (s440: YES), a connection method to the wireless access point is set based on the probe request (s450). In this process, the “SSID” stored in the probe request and the “parameter indicating the connection method” are stored in the ROM 22 to set the connection method to the wireless access point. In this way, the printer 20 is in a state where wireless connection with the access point 10 and data communication using the SSID are possible.

次に、s450の処理で設定された接続方法に基づいてプローブ応答を返信する(s460)。このプローブ応答は、図2におけるs170の処理でアクセスポイント10により受信されるデータである(図3における「応答」参照)。   Next, a probe response is returned based on the connection method set in the process of s450 (s460). This probe response is data received by the access point 10 in the process of s170 in FIG. 2 (see “response” in FIG. 3).

このs460の処理を終えた後、または、s440の処理でプローブ要求を受信していなければ(s440:NO)、無線アクセスポイントから要求催促データを受信したか否かをチェックする(s470)。この要求催促データは、s460の処理で返信したプローブ応答を受信したアクセスポイント10が、図2におけるs250の処理で送信するデータである。   After the process of s460 is completed, or if the probe request is not received in the process of s440 (s440: NO), it is checked whether the request prompt data is received from the wireless access point (s470). The request prompting data is data transmitted by the access point 10 that has received the probe response returned in the process of s460 in the process of s250 in FIG.

このs470の処理で、要求催促データを受信していなければ(s470:NO)、無線アクセスポイントからのデータの受信に対してタイムアウトとなったか否かをチェックする(s480)。この処理では、s430の処理でカウントをスタートしたタイマーのカウント値が所定の値(本実施形態においては、30s)に到達してれば、タイムアウトであると判定する。   If the request prompting data is not received in the process of s470 (s470: NO), it is checked whether or not a time-out has occurred for reception of data from the wireless access point (s480). In this process, if the count value of the timer that started counting in the process of s430 has reached a predetermined value (30 s in the present embodiment), it is determined that a timeout has occurred.

このs480の処理で、タイムアウトとなっていなければ(s480:NO)、s440の処理へ戻る。
こうして、s440からs480の処理を繰り返した後、s480の処理でタイムアウトとなっていれば(s480:YES)、s430の処理でスタートさせたタイマーをストップおよびリセットし(s490)、エラー通知を行った後(s500)、本接続方法設定処理を終了する。このs500の処理では、プリンタ20の周囲に正常に機能する無線アクセスポイントが存在してない等のメッセージを表示パネル27に表示させることによりユーザにエラーを通知する。
If no timeout has occurred in the process of s480 (s480: NO), the process returns to the process of s440.
Thus, after the processing from s440 to s480 is repeated, if the time-out occurs in the processing of s480 (s480: YES), the timer started in the processing of s430 is stopped and reset (s490), and an error is notified. After (s500), this connection method setting process is terminated. In the process of s500, an error is notified to the user by causing the display panel 27 to display a message indicating that there is no normally functioning wireless access point around the printer 20.

また、s440からs480の処理を繰り返している最中、s470の処理で要求催促データを受信したら(s470:YES)、s430の処理でスタートさせたタイマーをストップおよびリセットする(s510)。   If the request prompt data is received in the process of s470 while the processes of s440 to s480 are being repeated (s470: YES), the timer started in the process of s430 is stopped and reset (s510).

このs510の処理を終えた後、または、上述したs410の処理で工場出荷状態でない場合(s410:NO)、アクセスポイント10に対し、無線接続の許可を要求するためのアソシエーション要求を送信する(s520)。この「アソシエーション要求」とは、アクセスポイント10に対して無線接続の許可を要求するためのフレームデータ(マネージメントフレーム)であり、このs520の処理では、s450の処理でROM22に記録されたSSIDを格納して送信する(図3における「アソシエーション要求」参照)。なお、このアソシエーション要求は、ヘッダ情報においてプリンタ20のデバイスID(MACアドレス)がセットされている。このアソシエーション要求を受信したアクセスポイント10からは、アクセスポイント10への無線接続を許可する旨のフレームデータ(マネージメントフレーム)であるアソシエーション応答が送信されてくる(図3における「アソシエーション応答」参照)。   After completing the process of s510, or when the process of s410 described above is not in the factory shipment state (s410: NO), an association request for requesting permission for wireless connection is transmitted to the access point 10 (s520). ). This “association request” is frame data (management frame) for requesting permission of wireless connection to the access point 10, and in the process of s520, the SSID recorded in the ROM 22 in the process of s450 is stored. (See “association request” in FIG. 3). In this association request, the device ID (MAC address) of the printer 20 is set in the header information. The access point 10 that has received this association request transmits an association response that is frame data (management frame) for permitting wireless connection to the access point 10 (see “association response” in FIG. 3).

次に、タイマーによるカウントをスタートさせる(s530)。この処理でスタートするタイマーは、上述したアソシエーション応答が期限内に返信されてくるか否かをチェックするためのものである。   Next, the timer count is started (s530). The timer started in this process is for checking whether or not the above-mentioned association response is returned within the time limit.

次に、アソシエーション要求の送信に対してタイムアウトとなったか否かをチェックする(s540)。この処理では、s530の処理でカウントをスタートしたタイマーのカウント値が所定の値(本実施形態においては、250ms)に到達していれば、タイムアウトであると判定する。   Next, it is checked whether or not a timeout has occurred for transmission of the association request (s540). In this process, if the count value of the timer that started counting in the process of s530 has reached a predetermined value (250 ms in the present embodiment), it is determined that a timeout has occurred.

このs540の処理でタイムアウトとなっていなければ(s540:NO)、アクセスポイント10からアソシエーション応答を受信したか否かをチェックし(s550)、受信していなければ(s550:NO)、s540の処理へ戻る。   If no timeout has occurred in the process of s540 (s540: NO), it is checked whether an association response has been received from the access point 10 (s550). If not received (s550: NO), the process of s540 is performed. Return to.

この後、s540,s550の処理を繰り返し、s540の処理でアソシエーション要求の送信に対してタイムアウトとなったら(s540:YES)、s530の処理でカウントをスタートしたタイマーをストップおよびリセットした後(s570)、s420の処理へ戻る。   After this, the processes of s540 and s550 are repeated, and when the time-out occurs for the transmission of the association request in the process of s540 (s540: YES), the timer that started counting in the process of s530 is stopped and reset (s570). , S420 is returned to.

一方、s550の処理でアソシエーション応答を受信したら(s550:YES)、s530の処理でカウントをスタートしたタイマーをストップおよびリセットした後(s580)、本接続方法設定処理を終了する。   On the other hand, if an association response is received in the process of s550 (s550: YES), the timer that started counting in the process of s530 is stopped and reset (s580), and then this connection method setting process is terminated.

[第1実施形態の効果]
このように構成された無線LANシステムおいて、アクセスポイント10は、無線ステーション(プリンタ20)に対して、複数の接続方法それぞれに基づいてプローブ要求を送信する(図3における「要求」参照)。このプローブ要求は、同一の接続方法の設定されているプリンタ20に受信され(同図「要求32」参照)、このプリンタ20が、プローブ要求で特定される接続方法、つまりアクセスポイント10において設定されている接続方法と同一の接続方法を設定する。こうして、プリンタ20がアクセスポイント10と同一の接続方法に設定されることにより、両者間で無線接続できる状態となる。
[Effect of the first embodiment]
In the wireless LAN system configured as described above, the access point 10 transmits a probe request to the wireless station (printer 20) based on each of a plurality of connection methods (see “Request” in FIG. 3). This probe request is received by the printer 20 in which the same connection method is set (see “Request 32” in the figure), and this printer 20 is set in the connection method specified by the probe request, that is, the access point 10. Set the same connection method as the current connection method. Thus, the printer 20 is set to the same connection method as that of the access point 10, so that wireless connection can be established between the two.

このようにして、プリンタ20においては、プローブ要求の受信を経て、アクセスポイント10への接続方法が自動的に設定される(図4におけるs440〜s460の処理)。よって、無線LANの設定に対するユーザへの負荷を大幅に軽減することができる。   In this way, the printer 20 automatically sets the connection method to the access point 10 after receiving the probe request (processing of s440 to s460 in FIG. 4). Therefore, the load on the user with respect to the setting of the wireless LAN can be greatly reduced.

また、プリンタ20側で接続方法の設定がなされた後、アソシエーション要求,応答のやりとりを経て、すぐにアクセスポイント10とプリンタ20との無線接続を確立することができる。   Further, after the connection method is set on the printer 20 side, the wireless connection between the access point 10 and the printer 20 can be established immediately after exchange of association requests and responses.

また、アクセスポイント10は、接続方法を複数の接続方法それぞれへ所定時間間隔で順番に切り替えつつ(図2におけるs110〜s230の処理)プローブ要求を送信し、次の接続方法に切り替えられるまでの間にプローブ応答を受信したとき(同図s170の処理)、この受信した時点において切り替えられている接続方法に基づいて要求催促データを送信する(同図s250の処理)。   In addition, the access point 10 transmits a probe request while sequentially switching the connection method to each of the plurality of connection methods at predetermined time intervals (processing of s110 to s230 in FIG. 2), and before switching to the next connection method. When the probe response is received (process of s170 in the figure), the request prompting data is transmitted based on the connection method switched at the time of reception (process of s250 in the figure).

このように、アクセスポイント10は、接続方法を順番に切り替えながら各々の接続方法に基づいてプローブ要求を送信するだけで、あらかじめアクセスポイント10に対して設定されている接続方法をプリンタ20に対して設定させることができる。  In this way, the access point 10 simply transmits a probe request based on each connection method while switching the connection methods in order, and the connection method set in advance for the access point 10 is transmitted to the printer 20. Can be set.

また、アクセスポイント10は、接続方法を一時的に切り替えながら各々の接続方法に基づいてプローブ要求を送信することができる(図2におけるs110〜s230の処理)。ここで、接続方法が切り替えてられている期間は(同図s130〜s150の処理)、プローブ要求を送信する期間だけであり、応答はアクセスポイント10にあらかじめ設定されている接続方法で行っている。通常、アクセスポイント10は、接続方法があらかじめ設定されている接続方法以外の接続方法に切り替えられている間(同図s130の処理)、あらかじめ設定されている接続方法に基づいて行うべきデータ通信を行うことができなくなってしまう。そのため、上述のように接続方法が切り替えられる期間が短くなっていることは、あらかじめ設定されている接続方法に基づいて行うべきデータ通信を行うことができなくなってしまうといった不都合を防止するために好適である。   Further, the access point 10 can transmit a probe request based on each connection method while temporarily switching the connection method (processing of s110 to s230 in FIG. 2). Here, the period during which the connection method is switched (the processing of s130 to s150 in the figure) is only the period during which the probe request is transmitted, and the response is made by the connection method set in advance in the access point 10. . Normally, the access point 10 performs data communication to be performed based on the connection method set in advance while the connection method is switched to a connection method other than the connection method set in advance (the process of s130 in the figure). It becomes impossible to do. For this reason, the shortening of the period during which the connection method is switched as described above is suitable for preventing the inconvenience that data communication that should be performed based on the connection method set in advance cannot be performed. It is.

また、アクセスポイント10は、指示操作により外部から明示的に、接続方法指示処理(図2)の開始を指示することができる。
また、プリンタ20は、起動により外部から明示的に、接続方法設定処理(図4)の開始を指示することができる。
Further, the access point 10 can explicitly instruct the start of the connection method instruction process (FIG. 2) from the outside by an instruction operation.
Further, the printer 20 can explicitly instruct the start of the connection method setting process (FIG. 4) from the outside by starting.

また、プリンタ20は、工場出荷状態である場合のみ、アクセスポイント10への接続方法を設定することができる(図4におけるs410の処理)。
[第1実施形態において変形可能な構成]
本実施形態においては、以下に示すように、一部構成を別の構成に変形した状態で実施することができる。なお、以下に示す構成は、他の実施形態における同様の構成に対しても適用できる。
Further, the printer 20 can set the connection method to the access point 10 only when the printer 20 is in the factory-shipped state (the process of s410 in FIG. 4).
[Configuration that can be modified in the first embodiment]
In this embodiment, as shown below, it can implement in the state which changed some structures into another structure. In addition, the structure shown below is applicable also to the same structure in other embodiment.

例えば、本実施形態において、図4におけるs410の処理では、プリンタ20が工場出荷状態である場合に、s420以降の処理が行われるように構成されたものを例示した。しかし、工場出荷状態以外であっても、接続方法を設定する必要がある場合に、s420以降の処理が行われるように構成してもよい。具体的には、ROM22内に記憶されている「接続方法を示すパラメータ」のうち一部が不足している場合などである。また、このs410の処理では、ROM22に「接続方法を示すパラメータ」が記憶されていないことを、工場出荷状態であると判定するように構成されているが、例えば、工場出荷時に所定のフラグをセットしておき、このフラグがセットされていることをもって工場出荷状態であると判定するようにし、上記パラメータが記憶されたときにフラグをリセットするように構成すればよい。   For example, in the present embodiment, the processing in s410 in FIG. 4 is illustrated as being configured such that the processing after s420 is performed when the printer 20 is in the factory shipment state. However, even in a state other than the factory-shipped state, when the connection method needs to be set, the processing after s420 may be performed. Specifically, this is the case where some of the “parameters indicating the connection method” stored in the ROM 22 are insufficient. Further, in the processing of s410, it is configured that the fact that the “parameter indicating the connection method” is not stored in the ROM 22 is determined to be the factory shipment state. For example, a predetermined flag is set at the time of factory shipment. The flag may be set, and it may be determined that the factory shipment state is set when this flag is set, and the flag may be reset when the parameters are stored.

また、本実施形態においては、オーセンティケーション要求,応答をやりとりした後で、アソシエーション要求,応答をやりとりするように構成されたものを例示した。しかし、オーセンティケーション要求,応答のやりとりを行うことなく、アソシエーション要求,応答のやりとりのみを行うように構成することも可能である。   Moreover, in this embodiment, after exchanging an authentication request | requirement and a response, what was comprised so that an association request | requirement and a response might be exchanged was illustrated. However, it is also possible to configure such that only the association request and response are exchanged without performing the authentication request and response exchange.

また、本実施形態においては、プリンタ20に対する接続方法の設定が、プリンタ20の起動により指令されるように構成されたものを例示した。しかし、プリンタ20に対する接続方法の設定は、例えば、操作パネル26による特定の操作により指令できるように構成してもよい(図3における「指令」参照)。   In the present embodiment, the configuration in which the setting of the connection method for the printer 20 is instructed by the activation of the printer 20 is exemplified. However, the setting of the connection method for the printer 20 may be configured to be instructed by a specific operation using the operation panel 26 (see “command” in FIG. 3).

また、本実施形態においては、アクセスポイント10の動作モードが指示操作により切り替わるように構成されたものを例示した。しかし、動作モードの切り替えは、例えば、プリンタ20とデータ通信可能に構成された他のデバイスからのデータにより指令できるように構成してもよい。   Moreover, in this embodiment, what was comprised so that the operation mode of the access point 10 might be switched by instruction | indication operation was illustrated. However, the switching of the operation mode may be configured to be instructed by data from another device configured to be capable of data communication with the printer 20, for example.

また、上記実施形態において、プリンタ20は、接続方法設定処理が開始した直後に、工場出荷状態であるか否かのチェックを行ってから(図4におけるs410の処理)、s420以降の処理が行われるように構成されているが、この工場出荷状態であるか否かのチェックは、接続方法設定処理が開始した直後でなくてもよい。例えば、s440の処理の前、s510の処理の前などである。   In the above embodiment, immediately after the connection method setting process is started, the printer 20 checks whether or not it is in the factory-shipped state (the process of s410 in FIG. 4), and then performs the processes after s420. However, it is not always necessary to check whether or not the factory shipment state is present immediately after the connection method setting process is started. For example, before the process of s440, before the process of s510.

また、本実施形態において、アクセスポイント10は、無線ステーションにおける接続方法の設定をサポートするためのデータとしてプローブ要求を送信するように構成されたものを例示した。しかし、同様の目的を達成することができればプローブ要求以外のデータを採用することもできる。また、この場合、プリンタ20側から返信するデータとしてプローブ応答以外のデータを採用してもよい。   Moreover, in this embodiment, the access point 10 illustrated what was comprised so that a probe request might be transmitted as data for supporting the setting of the connection method in a radio station. However, data other than the probe request can be adopted if the same purpose can be achieved. In this case, data other than the probe response may be adopted as data returned from the printer 20 side.

また、本実施形態においては、アクセスポイント10が接続方法を切り替える順番が、第1の無線LAN規格における第1チャネルから番号順となっているものを例示した。しかし、この順番については特に限定されず、例えば、同一の無線LAN規格における順番として電波の干渉が起こらないような順番としてもよい。   Further, in the present embodiment, the order in which the access point 10 switches the connection method is exemplified from the first channel in the first wireless LAN standard in the order of numbers. However, this order is not particularly limited. For example, the order in the same wireless LAN standard may be such that radio wave interference does not occur.

また、本実施形態において、最初にアクセスポイント10に対してあらかじめ設定されている接続方法でs140以降の処理を行った後、第1の無線LAN規格における第1チャネルから番号順で同処理を行うように構成してもよい。このためには、例えば、図2におけるs110の処理の前に、図5に示すように、s140,s160〜s190までの処理と同様の処理(s101〜s105)を設け、あらかじめ設定されている接続方法に基づき送信したプローブ要求に対してプローブ応答を受信したら(s103:YES)、s240の処理へ移行し、また、タイムアウトとなり(s104:YES)、タイマーをストップおよびリセットした後で(s105)、s110の処理へ移行する、ように構成すればよい。さらに、s190の処理とs200の処理との間に、変数Nに「1」を加算した後の接続方法が初期設定と同じでない場合のみs200の処理へ移行し、初期設定と同じ場合にs190の処理へ戻るステップ(s192)を設けるとよい。   Further, in the present embodiment, first, after the processing after s140 is performed by the connection method set in advance for the access point 10, the same processing is performed in the order of the numbers from the first channel in the first wireless LAN standard. You may comprise as follows. For this purpose, for example, before the processing of s110 in FIG. 2, as shown in FIG. 5, the same processing (s101 to s105) as the processing from s140, s160 to s190 is provided, and the connection set in advance is set. When a probe response is received in response to a probe request transmitted based on the method (s103: YES), the process proceeds to s240, and after a time-out (s104: YES), after stopping and resetting the timer (s105), What is necessary is just to comprise so that it may transfer to the process of s110. Further, when the connection method after adding “1” to the variable N between the process of s190 and the process of s200 is not the same as the initial setting, the process proceeds to the process of s200. A step (s192) for returning to the processing may be provided.

このように構成すると、プリンタ20において、アクセスポイント10に対してあらかじめ設定されている接続方法と同一の接続方法が初期設定されている場合には、すぐにアクセスポイント10とプリンタ20との無線接続が確立できる状態とすることができる。  With this configuration, when the same connection method as that previously set for the access point 10 is initially set in the printer 20, the wireless connection between the access point 10 and the printer 20 is immediately performed. Can be established.

また、上記実施形態において、アクセスポイント10は、図2におけるs230の処理で「YES」と判定した場合、s110の処理へ戻るように構成されている。しかし、このs230の処理で「YES」と判定した場合には、図5に示すように、接続方法指示処理(図2)を終了するように構成してもよい。
この場合、接続方法指示処理が開始されてから、プローブ要求が全ての接続方法により一通り送信された後で、接続方法指示処理を終了させることができる。
In the above embodiment, the access point 10 is configured to return to the process of s110 when it determines “YES” in the process of s230 in FIG. However, if “YES” is determined in the process of s230, the connection method instruction process (FIG. 2) may be terminated as shown in FIG.
In this case, after the connection method instruction process is started, the connection method instruction process can be terminated after the probe request is transmitted through all the connection methods.

[第2実施形態]
本実施形態の無線LANシステムにおいては、第1実施形態における無線LANシステムと同様の構成であり、プリンタ20における一部の処理内容が異なっているだけであるため、この相違点についてのみ詳述する。
○プリンタ20による接続方法設定処理
以下に、プリンタ20の備えるCPU21により実行される接続方法設定処理の処理手順について図6に基づいて説明する。この接続方法設定処理は、第1実施形態における接続方法設定処理(図4)のうち、s440〜s500の処理が以下に示すような手順で行われるように構成されたものであるため、これら処理についてのみ詳述する。なお、第1実施形態と同一のステップについては同一のステップ番号を付し、詳細な説明を省略するものとする。
[Second Embodiment]
The wireless LAN system according to the present embodiment has the same configuration as that of the wireless LAN system according to the first embodiment, and only part of the processing content in the printer 20 is different. Therefore, only this difference will be described in detail. .
A connection method setting process by the printer 20 A connection method setting process executed by the CPU 21 of the printer 20 will be described below with reference to FIG. This connection method setting process is configured so that the processes of s440 to s500 are performed in the following procedure in the connection method setting process (FIG. 4) in the first embodiment. Only will be described in detail. In addition, the same step number is attached | subjected about the step same as 1st Embodiment, and detailed description shall be abbreviate | omitted.

まず、s440の処理で、アクセスポイント10からプローブ要求を受信したら(s440:YES)、このプローブ要求が登録済みのものであるか否かをチェックする(s441)。本接続方法設定処理では、以降の処理においてプローブ要求で示されるパラメータの登録が行われるため、このs441の処理では、受信したプローブ要求で示されるのと同じパラメータが登録されていれば、登録済みのものであると判定する。   First, when a probe request is received from the access point 10 in the process of s440 (s440: YES), it is checked whether or not this probe request is already registered (s441). In this connection method setting process, the parameter indicated by the probe request is registered in the subsequent processes. Therefore, in this process of s441, if the same parameter as indicated by the received probe request is registered, it is registered. It is determined that

このs441の処理で、プローブ要求が登録済みのものでなければ(s441:NO)、このプローブ要求で示されるパラメータを、RAM23におけるパラメータ用の記憶領域へ記憶することにより登録する(s442)。本実施形態において、アクセスポイント10は、図2におけるs140の処理で、SSIDおよび接続方法だけでなく、アクセスポイント10のデバイスIDなどのパラメータが格納されたパラメータ要求を送信してくるように構成されている。そして、このs442の処理では、これらパラメータと共に、パラメータ要求を受信したときの受信レベル(電波強度)を対応づけて登録する。なお、プローブ要求で示されるパラメータを登録したデータテーブルの例を図7に示す。   If the probe request is not already registered in the processing of s441 (s441: NO), the parameter indicated by the probe request is registered by storing it in the parameter storage area in the RAM 23 (s442). In the present embodiment, the access point 10 is configured to transmit a parameter request storing parameters such as the device ID of the access point 10 as well as the SSID and connection method in the process of s140 in FIG. ing. In the process of s442, the reception level (the radio wave intensity) when the parameter request is received is registered in association with these parameters. An example of a data table in which the parameters indicated by the probe request are registered is shown in FIG.

このs442の処理を終えた後、または、s441の処理で登録済みのものである場合(s441:YES)には、無線アクセスポイントからのプローブ要求の受信に対してタイムアウトとなったか否かをチェックする(s443)。この処理では、s430の処理でカウントをスタートしたタイマーのカウント値が所定の値(本実施形態においては、30s)に到達してれば、タイムアウトであると判定する。   After completing the process of s442, or if it is already registered in the process of s441 (s441: YES), check whether or not a timeout has occurred for reception of the probe request from the wireless access point (S443). In this process, if the count value of the timer that started counting in the process of s430 has reached a predetermined value (30 s in the present embodiment), it is determined that a timeout has occurred.

このs443の処理でタイムアウトになっていなければ(s443:NO)、s440の処理へ戻る一方、タイムアウトになっていれば(s443:YES)、s430の処理でカウントをスタートしたタイマーをストップおよびリセットする(s444)。   If it is not timed out in the process of s443 (s443: NO), the process returns to the process of s440. If it is timed out (s443: YES), the timer that started counting in the process of s430 is stopped and reset. (S444).

次に、s442の処理を経てパラメータの登録が行われたか否かをチェックする(s445)。この処理では、RAM23におけるパラメータ用の記憶領域にパラメータを示すデータ(データテーブル)が記憶されていれば、s442の処理によるパラメータの登録が行われたと判定する。   Next, it is checked whether or not the parameter has been registered through the process of s442 (s445). In this process, if data indicating a parameter (data table) is stored in the parameter storage area in the RAM 23, it is determined that the parameter has been registered by the process of s442.

このs445の処理でパラメータの登録が行われていなければ(s445:NO)、s500の処理へ移行する一方、パラメータの登録が行われていれば(s445:YES)、s450の処理へ移行する。   If the parameter registration is not performed in the process of s445 (s445: NO), the process proceeds to the process of s500. On the other hand, if the parameter is registered (s445: YES), the process proceeds to the process of s450.

このs450の処理では、s442の処理で登録された「接続方法を示すパラメータ」うち、最も受信レベルが大きいものをROM22に記憶させることにより、接続方法として設定する。   In this process of s450, among the “parameters indicating the connection method” registered in the process of s442, the parameter having the highest reception level is stored in the ROM 22 and set as the connection method.

こうして、s450,s460の処理を行った後、s430の処理と同様にタイマーをスタートさせた後(s462)、s470の処理へ移行する。
そして、s470の処理で、要求催促データを受信していなければ(s470:NO)、s480の処理へ移行するが、このs480の処理では、タイムアウトでない場合(s480:NO)、s440の処理ではなく、s470の処理へ戻る。
After performing the processes of s450 and s460 in this way, the timer is started in the same manner as the process of s430 (s462), and then the process proceeds to the process of s470.
If the request prompting data is not received in the process of s470 (s470: NO), the process proceeds to the process of s480. However, in the process of s480, if it is not a timeout (s480: NO), it is not the process of s440. , Return to the process of s470.

[第2実施形態の効果]
このように構成された無線LANシステムにおいては、第1実施形態と同様の構成により得られる作用・効果の他に、以下に示すような作用・効果を得ることができる。
[Effects of Second Embodiment]
In the wireless LAN system configured as described above, the following operations and effects can be obtained in addition to the operations and effects obtained by the same configuration as the first embodiment.

プリンタ20は、所定時間内に収集(登録)したプローブ要求のうち(図6におけるs442の処理)、最も受信レベルが大きかったプローブ要求と同一の接続方法を、無線アクセスポイントへの接続方法として設定することができる(同図s450の処理)。   The printer 20 sets, as a connection method to the wireless access point, the same connection method as the probe request having the highest reception level among the probe requests collected (registered) within a predetermined time (processing in s442 in FIG. 6). (The process of FIG. S450).

また、このように、受信レベルの最も大きかったプローブ要求と同一の接続方法を無線アクセスポイントへの接続方法として設定できることは、プリンタ20における接続方法が、本来設定すべき無線アクセスポイントとは異なる接続方法に誤って設定されてしまうことを防止するのに好適である。   In addition, in this way, the same connection method as the probe request with the highest reception level can be set as the connection method to the wireless access point. This is suitable for preventing the method from being set erroneously.

プリンタ20の無線アクセスポイントへの接続方法を設定する際、本発明のアクセスポイント10以外に、このアクセスポイント10と同様の機能を有する他の無線アクセスポイントが周囲(例えば、隣接する住宅など)に存在していると、この無線アクセスポイントからもプローブ要求が送信されてくる。そのため、プローブ要求を受信したタイミングによっては、他の無線アクセスポイントにおいて設定されているのと同じ接続方法がユーザの意図とは無関係に設定されてしまう恐れがある。   When setting the connection method of the printer 20 to the wireless access point, in addition to the access point 10 of the present invention, other wireless access points having the same function as the access point 10 are in the vicinity (for example, adjacent houses). If it exists, a probe request is also transmitted from this wireless access point. Therefore, depending on the timing at which the probe request is received, there is a possibility that the same connection method set at other wireless access points is set regardless of the user's intention.

ところが、上述のように、受信レベルの最も大きかったプローブ要求と同一の接続方法を無線アクセスポイントへの接続方法として設定できるため、アクセスポイント10とプリンタ20とを、無線通信時の受信レベルが高くなるように近づけておくだけで、他の無線アクセスポイントからのプローブ要求に基づいて誤った接続方法が設定されることを防止できる。  However, as described above, since the same connection method as the probe request with the highest reception level can be set as the connection method to the wireless access point, the reception level during wireless communication between the access point 10 and the printer 20 is high. It is possible to prevent an erroneous connection method from being set based on a probe request from another wireless access point simply by making them close to each other.

[第3実施形態]
本実施形態の無線LANシステムは、第1実施形態における無線LANシステムと同様の構成であり、アクセスポイント10における一部の処理内容が異なっているだけであるため、この相違点についてのみ詳述する。
○アクセスポイント10による接続方法指示処理
以下に、アクセスポイント10の備えるCPU11により実行される接続法指示処理の処理手順を図8に基づいて説明する。この接続方法指示処理は、第1実施形態における接続方法指示処理(図2)のうち、s240の替わりに後述するs172の処理が設けられ、s230の処理の後に後述するs232の処理が設けられているものであるため、これらの処理についてのみ詳述する。なお、第1実施形態と同一のステップについては同一のステップ番号を付し、詳細な説明を省略するものとする。
[Third Embodiment]
The wireless LAN system according to the present embodiment has the same configuration as the wireless LAN system according to the first embodiment, and only part of the processing contents in the access point 10 is different. Therefore, only this difference will be described in detail. .
O Connection Method Instruction Processing by Access Point 10 Hereinafter, a processing procedure of connection method instruction processing executed by the CPU 11 provided in the access point 10 will be described with reference to FIG. This connection method instruction process includes a process s172 described later in place of s240 in the connection method instruction process (FIG. 2) in the first embodiment, and a process s232 described later after the process s230. Therefore, only these processes will be described in detail. In addition, the same step number is attached | subjected about the step same as 1st Embodiment, and detailed description shall be abbreviate | omitted.

まず、s170の処理でプローブ応答を受信したら(s170:YES)、このプローブ応答で示されるパラメータを、RAM13におけるパラメータ用の記憶領域に記憶させることにより登録する(s172)。本実施形態において、プリンタ20は、図4におけるs450の処理で、SSIDおよびデバイスIDが格納されたプローブ応答を返信してくる。そして、このs172の処理では、これらSSIDおよびデバイスIDの他、s160の処理でプローブ応答を受信したときの接続方法および受信レベルを示すパラメータが対応づけられた状態で登録される。   First, when a probe response is received in the process of s170 (s170: YES), the parameter indicated by this probe response is registered by storing it in the parameter storage area in the RAM 13 (s172). In the present embodiment, the printer 20 returns a probe response storing the SSID and device ID in the process of s450 in FIG. In the process of s172, in addition to these SSID and device ID, the connection method and the parameter indicating the reception level when the probe response is received in the process of s160 are registered in association with each other.

このs172の処理を終えた後、s170の処理で「NO」と判定された場合と同様に、s180の処理へ移行する。
このs180からs230の処理を経て、s230の処理で「YES」と判定された場合、s172の処理にてパラメータの登録が行われたか否かをチェックする(s232)。この処理では、RAM13におけるパラメータ用の記憶領域にパラメータを示すデータが記憶されていれば、s172の処理を経て登録が行われたと判定する。
After the process of s172 is completed, the process proceeds to the process of s180 as in the case where “NO” is determined in the process of s170.
If it is determined as “YES” in the process of s230 through the process of s180 to s230, it is checked whether or not the parameter is registered in the process of s172 (s232). In this process, if data indicating a parameter is stored in the parameter storage area in the RAM 13, it is determined that the registration has been performed through the process of s172.

このs232の処理で登録が行われていれば(s222:YES)、s110の処理へ戻るのではなく、s250の処理へ移行する。このs250の処理では、s172の処理を経て登録されたパラメータのうち、最大の受信レベルに対応するSSIDおよび接続方法に基づき、単一の無線ステーションにのみ要求催促データを送信する。   If registration is performed in the process of s232 (s222: YES), the process proceeds to the process of s250 instead of returning to the process of s110. In the process of s250, the request prompt data is transmitted only to a single wireless station based on the SSID and connection method corresponding to the maximum reception level among the parameters registered through the process of s172.

一方、s232の処理で登録が行われていなければ(s232:NO)、本接続方法指示処理を終了する。
[第3実施形態の効果]
このように構成された無線LANシステムにおいては、第1実施形態と同様の構成により得られる作用・効果の他に、以下に示すような作用・効果を得ることができる。
On the other hand, if registration is not performed in the process of s232 (s232: NO), this connection method instruction process is terminated.
[Effect of the third embodiment]
In the wireless LAN system configured as described above, the following operations and effects can be obtained in addition to the operations and effects obtained by the same configuration as the first embodiment.

アクセスポイント10は、受信レベルが最も大きいプローブ応答を返信してきた無線ステーションに、要求催促データを送信して接続方法を設定させることができる。
これにより、第2実施形態と同様に、アクセスポイント10とプリンタ20とを、無線通信時の受信レベルが高くなるように近づけておくだけで、接続方法を設定させるべき無線ステーション(プリンタ20)以外の無線ステーションへ要求催促データを間違って送信して接続方法を設定させてしまうことを防止できる。
The access point 10 can cause the wireless station that has returned the probe response with the highest reception level to transmit the request prompting data and set the connection method.
Thus, as in the second embodiment, the access point 10 and the printer 20 are moved closer to each other so that the reception level at the time of wireless communication becomes higher, and other than the wireless station (printer 20) where the connection method should be set. It is possible to prevent the request prompting data from being erroneously transmitted to the wireless station and causing the connection method to be set.

[第3実施形態において変形可能な構成]
本実施形態においては、以下に示すように、一部構成を別の構成に変形した状態で実施することができる。なお、以下に示す構成は、他の実施形態における同様の構成に対しても適用できる。
[Configuration that can be modified in the third embodiment]
In this embodiment, as shown below, it can implement in the state which changed some structures into another structure. In addition, the structure shown below is applicable also to the same structure in other embodiment.

アクセスポイント10は、図8におけるs250の処理で、最も受信レベルが大きかったプローブ応答を送信してきた無線ステーションに対して要求催促データを送信するように構成されたものを例示した。しかし、このs250の処理では、例えば、所定のしきい値以上の受信レベルでプローブ応答を送信してきた無線ステーションに対して要求催促データを送信するように構成してもよい。   The access point 10 illustrated the thing comprised so that request | requirement prompt data might be transmitted with respect to the wireless station which transmitted the probe response with the largest reception level by the process of s250 in FIG. However, in the process of s250, for example, the request prompting data may be transmitted to a wireless station that has transmitted a probe response at a reception level equal to or higher than a predetermined threshold.

[第4実施形態]
本実施形態の無線LANシステムは、第1実施形態における無線LANシステムと同様の構成であり、アクセスポイント10における一部の処理内容が異なっているだけであるため、この相違点についてのみ詳述する。
○アクセスポイント10による接続方法指示処理
以下に、アクセスポイント10の備えるCPU11により実行される接続方法指示処理の処理手順について図9に基づいて説明する。この接続方法指示処理は、第3実施形態における接続方法指示処理(図8)のうち、s232の処理が行われた後、後述するs234,s236の処理が行われるように構成されたものであるため、これらの処理についてのみ詳述する。なお、第3実施形態と同一のステップについては同一のステップ番号を付し、詳細な説明を省略するものとする。
[Fourth Embodiment]
The wireless LAN system according to the present embodiment has the same configuration as the wireless LAN system according to the first embodiment, and only part of the processing contents in the access point 10 is different. Therefore, only this difference will be described in detail. .
Connection Method Instruction Processing by Access Point 10 Hereinafter, a processing procedure of connection method instruction processing executed by the CPU 11 provided in the access point 10 will be described with reference to FIG. This connection method instruction process is configured such that, after the process of s232 in the connection method instruction process (FIG. 8) in the third embodiment, the processes of s234 and s236 described later are performed. Therefore, only these processes will be described in detail. In addition, the same step number is attached | subjected about the step same as 3rd Embodiment, and detailed description shall be abbreviate | omitted.

まず、本実施形態において、プリンタ20は、図4におけるs450の処理で、SSID,デバイス名およびデバイスIDが格納されたプローブ応答を返信してくる。そして、本接続方法指示処理におけるs172の処理では、これらSSID,デバイス名およびデバイスIDの他、s170の処理でプローブ応答を受信したときの接続方法および受信レベルを示すパラメータが対応づけられた状態で登録される。   First, in the present embodiment, the printer 20 returns a probe response storing the SSID, device name, and device ID in the process of s450 in FIG. In the process of s172 in this connection method instruction process, in addition to these SSID, device name, and device ID, the connection method and the parameter indicating the reception level when the probe response is received in the process of s170 are associated with each other. be registered.

また、s232の処理で登録が行われていれば(s232:YES)、s172の処理で登録されたパラメータそれぞれで示されるデバイス名の一覧を表示パネル17に表示させることにより通知を行う。この一覧が表示パネル17に表示された後、ユーザは、一覧で示されるデバイス名のうちいずれかのデバイス名を選択するための選択操作を操作パネル16により行うことができる。   If registration is performed in the process of s232 (s232: YES), notification is performed by causing the display panel 17 to display a list of device names indicated by the parameters registered in the process of s172. After the list is displayed on the display panel 17, the user can perform a selection operation for selecting one of the device names shown in the list using the operation panel 16.

次に、選択操作が行われるまで待機する(s236:NO)。
このs236の処理で選択操作が行われたら(s236:YES)、s250の処理へ移行する。なお、このとき選択操作により選択されたデバイス名からなるパラメータに対しては、選択操作により選択された旨を示す選択フラグがセットされる(初期値「0」から「1」をセットした状態とする)。
Next, it waits until selection operation is performed (s236: NO).
If the selection operation is performed in the process of s236 (s236: YES), the process proceeds to the process of s250. At this time, for the parameter consisting of the device name selected by the selection operation, a selection flag indicating that the device name has been selected by the selection operation is set (a state in which “1” is set from the initial value “0”). To do).

そして、s250の処理では、s172の処理を経て登録されたパラメータのうち、選択フラグがセットされているパラメータ(SSIDおよび接続方法)に基づき、無線ステーションに要求催促データを送信する。   In the process of s250, the request prompt data is transmitted to the wireless station based on the parameters (SSID and connection method) for which the selection flag is set among the parameters registered through the process of s172.

[第4実施形態の効果]
このように構成された無線LANシステムにおいては、第1実施形態と同様の構成により得られる作用・効果の他に、以下に示すような作用・効果を得ることができる。
[Effect of Fourth Embodiment]
In the wireless LAN system configured as described above, the following operations and effects can be obtained in addition to the operations and effects obtained by the same configuration as the first embodiment.

アクセスポイント10は、ユーザにより任意に選択されたデバイス名の無線ステーション(例えば、プリンタ20)のみに、要求催促データを送信して無線接続を確立することができる(図9におけるs234,s236,s250の処理)。   The access point 10 can establish the wireless connection by transmitting the request prompt data only to the wireless station (for example, the printer 20) having the device name arbitrarily selected by the user (s234, s236, and s250 in FIG. 9). Processing).

[第4実施形態において変形可能な構成]
本実施形態においては、以下に示すように、一部構成を別の構成に変形した状態で実施することができる。なお、以下に示す構成は、他の実施形態における同様の構成に対しても適用できる。
[Configuration that can be modified in the fourth embodiment]
In this embodiment, as shown below, it can implement in the state which changed some structures into another structure. In addition, the structure shown below is applicable also to the same structure in other embodiment.

例えば、図9におけるs234,s236の処理では、デバイス名に基づきユーザに選択操作を行わせるように構成されたものを例示した。しかし、これらの処理においては、デバイス名の替わりにデバイスIDに基づいて選択操作を行わせるように構成してもよい。この場合、ユーザにより任意に選択されたデバイスIDの無線ステーションのみに、要求催促データを送信して接続方法を設定させることができる。   For example, in the processing of s234 and s236 in FIG. 9, the configuration configured to allow the user to perform a selection operation based on the device name is illustrated. However, in these processes, a selection operation may be performed based on the device ID instead of the device name. In this case, it is possible to set the connection method by transmitting the request prompt data only to the wireless station having the device ID arbitrarily selected by the user.

[第5実施形態]
本実施形態の無線LANシステムは、第4実施形態における無線LANシステムと同様の構成であり、第4実施形態ではアクセスポイント10側で行われるデバイス名の通知および選択操作を、アクセスポイント10とケーブル100を介してデータ通信可能に接続された周知のコンピュータシステム(以降、「PC」とする)30側で行うことができるように構成したものである(図1参照)。
○アクセスポイント10による接続方法指示処理
以下に、アクセスポイント10の備えるCPU11により実行される接続方法指示処理の処理手順について図10に基づいて説明する。この接続方法指示処理は、第4実施形態における接続方法指示処理(図9)のうち、s234,s236の処理の替わりに後述するs238,s239の処理が行われるように構成したものであるため、これらの処理についてのみ詳述する。なお、本接続方法指示処理は、PC30側からの開始指令データを受信した以降に開始される(図11における「開始指令」参照)。
[Fifth Embodiment]
The wireless LAN system of the present embodiment has the same configuration as that of the wireless LAN system of the fourth embodiment. In the fourth embodiment, the device name notification and selection operations performed on the access point 10 side are performed with the access point 10 and the cable. It is configured so that it can be performed on the side of a well-known computer system (hereinafter referred to as “PC”) 30 connected so as to be capable of data communication via 100 (see FIG. 1).
Connection Method Instruction Processing by Access Point 10 Hereinafter, a processing procedure of connection method instruction processing executed by the CPU 11 provided in the access point 10 will be described with reference to FIG. This connection method instruction process is configured such that, in the connection method instruction process (FIG. 9) in the fourth embodiment, the processes of s238 and s239 described later are performed instead of the processes of s234 and s236. Only these processes will be described in detail. This connection method instruction process is started after receiving start command data from the PC 30 (see “start command” in FIG. 11).

まず、s232の処理でパラメータの登録が行われていれば(s232:YES)、登録されたパラメータそれぞれで示されるデバイス名の一覧を示す一覧データを生成してPC30(上述の開始指令データの送信元であるデバイス)へ送信する(s238)。この一覧データを受信したPC30では(図11における「一覧データ」参照)、一覧データで示される一覧がディスプレイに表示されることにより、各デバイス名の通知が行われ、この後、ユーザが各デバイス名のうちいずれかのデバイス名を選択するための選択操作を行うと、選択したデバイス名を特定可能な選択データが生成されて送信されてくる(図11における「選択データ」参照)。   First, if parameters are registered in the process of s232 (s232: YES), list data indicating a list of device names indicated by each registered parameter is generated and the PC 30 (transmission of the above-described start command data) is generated. To the original device) (s238). In the PC 30 that has received this list data (see “List Data” in FIG. 11), the list indicated by the list data is displayed on the display, so that each device name is notified. When a selection operation for selecting one of the device names is performed, selection data that can identify the selected device name is generated and transmitted (see “Selection Data” in FIG. 11).

このs238の処理で一覧データを送信した後、PC30側から選択データを受信するまで待機し(s239:NO)、選択データを受信したら(s239:YES)、s250の処理へ移行する。   After the list data is transmitted in the process of s238, the process waits until selection data is received from the PC 30 (s239: NO). When the selection data is received (s239: YES), the process proceeds to s250.

そして、s250の処理では、s239の処理で受信した選択データに基づいて、この選択データで特定されるデバイス名に対応するパラメータ(SSIDおよび接続方法)に基づき、無線ステーションに要求催促データを送信する。
○PC30による設定指令処理
以下に、PC30により実行される設定指令処理の処理手順について図12に基づいて説明する。この設定指令処理は、PC30に組み込まれているプログラムに従って実行される。
In the process of s250, based on the selection data received in the process of s239, based on the parameters (SSID and connection method) corresponding to the device name specified by the selection data, the request prompting data is transmitted to the wireless station. .
Setting Command Processing by PC 30 Hereinafter, a processing procedure of setting command processing executed by the PC 30 will be described with reference to FIG. This setting command process is executed according to a program incorporated in the PC 30.

まず、開始指令データをアクセスポイント10へ送信する(s610)。この開始指令データを受信したアクセスポイント10は、上述の接続方法指示処理(図10)を開始し(図11における「開始指令」参照)、所定時間が経過した後、上述した一覧データを送信してくる。   First, start command data is transmitted to the access point 10 (s610). The access point 10 that has received the start command data starts the connection method instruction process (FIG. 10) described above (see “start command” in FIG. 11), and transmits the list data described above after a predetermined time has elapsed. Come.

次に、アクセスポイント10から一覧データを受信するまで待機する(s620:NO)。
このs620の処理で一覧データを受信したら(s620:YES)、この一覧データで示される内容をディスプレイに表示させる(s630)。こうして一覧データで示されるデバイス名の一覧が表示された後(図13参照)、ユーザは、キーボードまたはマウスなどにより、いずれかのデバイス名を選択する選択操作を行うことができる。
Next, it waits until list data is received from the access point 10 (s620: NO).
When the list data is received in the process of s620 (s620: YES), the contents indicated by the list data are displayed on the display (s630). After the list of device names indicated by the list data is displayed in this way (see FIG. 13), the user can perform a selection operation to select one of the device names with a keyboard or a mouse.

そして、選択操作が行われるまで待機し(s640:NO)、選択操作が行われたら(s640:YES)、この選択操作により選択されたデバイス名を特定可能な選択データを生成してアクセスポイント10へ送信する(s650)。この選択データを受信したアクセスポイント10は(図11における「選択データ」参照)、この選択データで特定されるデバイス名の無線ステーションに対して要求催促データを送信する(図11における「要求催促」参照)。   And it waits until selection operation is performed (s640: NO), and if selection operation is performed (s640: YES), the selection data which can specify the device name selected by this selection operation will be produced | generated, and the access point 10 will be generated. (S650). The access point 10 that has received the selection data (see “selection data” in FIG. 11) transmits request prompt data to the wireless station having the device name specified by the selection data (“request prompt” in FIG. 11). reference).

[第5実施形態の効果]
このように構成された無線LANシステムにおいては、第4実施形態と同様の構成により得られる作用・効果の他に、以下に示すような作用・効果を得ることができる。
[Effect of Fifth Embodiment]
In the wireless LAN system configured as described above, the following operations and effects can be obtained in addition to the operations and effects obtained by the configuration similar to that of the fourth embodiment.

アクセスポイント10は、プローブ応答に基づいて登録したデバイス名のうち、PC30から受信した選択データで示されるデバイス名、つまりPC30側でユーザが任意に選択したデバイス名の無線ステーション(例えば、プリンタ20)のみに、要求データを送信して接続方法を設定させることができる。   Of the device names registered based on the probe response, the access point 10 has a device name indicated by the selection data received from the PC 30, that is, a wireless station (for example, the printer 20) having a device name arbitrarily selected by the user on the PC 30 side. Only the request data can be transmitted to set the connection method.

[第5実施形態において変形可能な構成]
本実施形態においては、以下に示すように、一部構成を別の構成に変形した状態で実施することができる。なお、以下に示す構成は、他の実施形態における同様の構成に対しても適用できる。
[Configuration that can be modified in the fifth embodiment]
In this embodiment, as shown below, it can implement in the state which changed some structures into another structure. In addition, the structure shown below is applicable also to the same structure in other embodiment.

例えば、図10におけるs238の処理では、デバイス名の一覧を示す一覧データを生成するように構成されたものを例示した。しかし、この処理では、デバイスIDの一覧を示す一覧データを生成して送信するようにすることによって、デバイス名の替わりにデバイスIDに基づいて選択操作を行わせ、s250の処理では、デバイスIDに対応するパラメータ(SSIDおよび接続方法)に基づき、無線ステーションに要求催促データを送信するように構成してもよい。この場合、PC30側でユーザにより任意に選択されたデバイスIDの無線ステーションのみに、要求催促データを返信して接続方法を設定させることができる。   For example, in the process of s238 in FIG. 10, an example is shown in which list data indicating a list of device names is generated. However, in this process, list data indicating a list of device IDs is generated and transmitted so that a selection operation is performed based on the device ID instead of the device name. Based on the corresponding parameters (SSID and connection method), the request prompt data may be transmitted to the wireless station. In this case, only the wireless station having the device ID arbitrarily selected by the user on the PC 30 side can return the request prompting data and set the connection method.

また、本実施形態では、アクセスポイント10が、パラメータを一定時間にわたり登録(収集)した後で、このパラメータに基づいて生成した一覧データを送信するように構成されたものを例示した。しかし、一覧データは、PC30側から送信の要求を受けたタイミングで生成して送信するように構成してもよい(図11における「一覧要求」参照)。このためには、例えば、図12におけるs610の処理とs620の処理との間に、一覧データを要求するための操作を待つステップ(s612)と、この操作を受けて一覧データの送信を要求するステップ(s614)を設けると共に(図14参照)、図10におけるs232の処理とs238の処理との間に、PC30側からの要求を待つステップ(s223)を設ける(図15参照)、といった構成とすればよい。さらに、この構成においても、上述したのと同様に、デバイス名の替わりにデバイスIDに基づいて選択操作を行わせるように構成してもよい。   In the present embodiment, the access point 10 is configured to transmit the list data generated based on the parameter after the parameter is registered (collected) for a predetermined time. However, the list data may be generated and transmitted at a timing when a transmission request is received from the PC 30 side (see “list request” in FIG. 11). For this purpose, for example, a step of waiting for an operation for requesting the list data (s612) between the processing of s610 and the processing of s620 in FIG. 12, and the transmission of the list data is requested in response to this operation. Step (s614) is provided (see FIG. 14), and a step (s223) for waiting for a request from the PC 30 side is provided between the processing of s232 and s238 in FIG. 10 (see FIG. 15). do it. Further, in this configuration, as described above, a selection operation may be performed based on the device ID instead of the device name.

また、本実施形態において、アクセスポイント10が無線ステーション(プリンタ20)へ要求催促データを送信した以降に、無線ステーション側において接続方法が設定された(または設定される)旨をPC30側に通知するように構成してもよい。このためには、例えば、図10におけるs310の処理の後に、設定された旨を通知するための設定通知データをPC30へ送信するステップ(s312)を設けると共に(図15参照)、図12におけるs650の処理の後に、設定通知データが送信されてくるのを待つステップ(s652)と、設定通知データを受信した際に無線ステーション側において接続方法が設定された旨を通知するステップ(s654)を設ける(図14参照)、といった構成とすればよい。   In the present embodiment, after the access point 10 transmits the request prompt data to the wireless station (printer 20), the PC 30 side is notified that the connection method is set (or set) on the wireless station side. You may comprise as follows. For this purpose, for example, after the process of s310 in FIG. 10, a step (s312) of transmitting setting notification data for notifying the setting to the PC 30 is provided (see FIG. 15) and s650 in FIG. Step (s652) of waiting for the transmission of the setting notification data after the process of step (s652) and a step (s654) of notifying that the connection method is set on the wireless station side when the setting notification data is received are provided. (See FIG. 14).

[第6実施形態]
以上説明した各実施形態においては、プリンタ20がアクセスポイント10と無線接続されたとしても、アクセスポイント10がデータ通信を暗号化して行うように設定されていると、通常は、プリンタ20側も同様に暗号化してデータ通信を行うように設定しなければ、正常にデータ通信を行うことはできない。そこで、本実施形態の無線LANシステムは、第5実施形態の無線LANシステムを、ユーザにより操作を行わせることなく正常にデータ通信を行うことができるように構成したものである。
[Sixth Embodiment]
In each of the embodiments described above, even if the printer 20 is wirelessly connected to the access point 10, if the access point 10 is set to perform data communication encryption, the printer 20 side is usually the same. Unless data is encrypted and set to perform data communication, data communication cannot be performed normally. Therefore, the wireless LAN system according to the present embodiment is configured such that the wireless LAN system according to the fifth embodiment can perform data communication normally without being operated by the user.

まず、アクセスポイント10は、ROM12に「セキュリティに関するパラメータ」が記憶されていれば、このパラメータに基づくセキュリティ対策を施した状態で通信を行うようになる。ここで「セキュリティに関するパラメータ」としては、例えば、通信を暗号化した状態で行うための暗号キー(本実施形態においては、WEPキー;Wired Equivalent Privacy)がある。アクセスポイント10(CPU11)は、暗号キーが記憶されていれば、無線ステーションとの間における通信を暗号キーにより暗号化した状態で行う。なお、この暗号キーは、上述したのと同様に、リモートセットアップを経て生成されてROM12に記憶されるものである。   First, if a “security parameter” is stored in the ROM 12, the access point 10 communicates with a security measure based on this parameter. Here, as the “security parameter”, for example, there is an encryption key (in this embodiment, WEP key; Wired Equivalent Privacy) for performing communication in an encrypted state. If the encryption key is stored, the access point 10 (CPU 11) performs communication with the wireless station in a state encrypted with the encryption key. The encryption key is generated through remote setup and stored in the ROM 12 as described above.

また、プリンタ20は、ROM22に「セキュリティに関するパラメータ」が記憶されていれば、このパラメータに基づくセキュリティ対策を施した状態で通信を行うようになる。ここで「セキュリティに関するパラメータ」としては、上述したのと同様に、暗号キーがある。プリンタ20(CPU21)は、暗号キーが記憶されていれば、無線アクセスポイントとの間における通信を暗号キーにより暗号化した状態で行う。
○アクセスポイント10による接続方法指示処理
以下に、アクセスポイント10の備えるCPU11により実行される接続方法指示処理の処理手順について図16に基づいて説明する。この接続方法指示処理は、第5実施形態における接続方法指示処理(図10)のうち、s310の処理の後に後述するs314,s316,s318の処理が設けられたものであるため、これらの処理についてのみ詳述する。
Also, if “parameters related to security” are stored in the ROM 22, the printer 20 communicates with security measures based on these parameters. Here, the “security parameter” includes an encryption key as described above. If the encryption key is stored, the printer 20 (CPU 21) performs communication with the wireless access point in a state encrypted with the encryption key.
Connection Method Instruction Processing by Access Point 10 Hereinafter, a processing procedure of connection method instruction processing executed by the CPU 11 provided in the access point 10 will be described with reference to FIG. This connection method instruction process is a connection method instruction process (FIG. 10) according to the fifth embodiment in which processes s314, s316, and s318 described later are provided after the process of s310. Only detailed.

まず、本実施形態において、s250の処理では、ROM12に記憶された通常の暗号キーとは異なる暗号キー(以降、「仮暗号キー」とする)をランダムに生成し、この仮暗号キーを付加した状態で暗号キーによる暗号化を行うことなく送信する。   First, in the present embodiment, in the process of s250, an encryption key different from the normal encryption key stored in the ROM 12 (hereinafter referred to as “temporary encryption key”) is randomly generated, and this temporary encryption key is added. Send without encryption with encryption key in state.

このs250の処理で要求催促データを送信し、s310までの処理を終えた後、s250の処理で要求催促データを送信した無線ステーションのデバイス名およびデバイスIDを、s250の処理で要求催促データに付加した仮暗号キーに対応づけた状態で催促リストへ登録する(s314)。この「催促リスト」は、RAM13に生成された上でデータの登録が行われるデータテーブルである。   After the request prompt data is transmitted in the process of s250 and the process up to s310 is finished, the device name and device ID of the wireless station that transmitted the request prompt data in the process of s250 are added to the request prompt data in the process of s250. In the state associated with the provisional encryption key, it is registered in the reminder list (s314). This “reminder list” is a data table in which data is registered after being generated in the RAM 13.

そして、s314の処理で催促リストに登録された無線ステーションとの無線接続が解除されるまで待機し(s316:NO)、無線接続が解除されたら(s314:YES)、催促リストを削除した後(s318)、本接続方法指示処理を終了する。
○プリンタ20による接続方法確定処理
以下に、プリンタ20の備えるCPU21により実行される接続方法確定処理の処理手順について図17に基づいて説明する。この接続方法確定処理は、第5実施形態における接続方法設定処理(図6)のうち、s470の処理の後に後述するs472の処理が設けられると共に、s580の処理が行われた後に、以下に示すような処理が行われるように構成されたものである。なお、第5実施形態と同一の処理については同一のステップ番号を付し、詳細な説明を省略するものとする。
Then, it waits until the wireless connection with the wireless station registered in the reminder list in the process of s314 is released (s316: NO), and after the wireless connection is released (s314: YES), after deleting the reminder list ( s318) This connection method instruction process is terminated.
A connection method determination process performed by the printer 20 A connection method determination process executed by the CPU 21 of the printer 20 will be described below with reference to FIG. This connection method determination process is shown below after the process of s472 described later is provided after the process of s470 in the connection method setting process (FIG. 6) in the fifth embodiment, and after the process of s580 is performed. It is comprised so that such a process may be performed. The same processes as those in the fifth embodiment are denoted by the same step numbers, and detailed description thereof is omitted.

まず、s470の処理で受信された要求催促データに付加されている仮暗号キーを設定する(s472)。この処理では、仮暗号キーをRAM23における「セキュリティに関するパラメータ」用の記憶領域に記憶させることにより、無線アクセスポイント(アクセスポイント10)とのデータ通信を、仮暗号キーで暗号化した状態で行うようになる。   First, a temporary encryption key added to the request prompting data received in the process of s470 is set (s472). In this process, the temporary encryption key is stored in the storage area for “security parameters” in the RAM 23 so that data communication with the wireless access point (access point 10) is performed in a state encrypted with the temporary encryption key. become.

また、s580の処理を終えた後、アクセスポイント10の暗号キーを取得する(s700)。この処理は、PC30から公開鍵暗号方式によりアクセスポイント10の暗号キーを取得する(図18における「暗号キー(乱数で暗号化)」参照)ための処理であって、詳細な処理手順は後述する暗号キー取得処理(図19)において説明する。   In addition, after completing the processing of s580, the encryption key of the access point 10 is acquired (s700). This process is a process for acquiring the encryption key of the access point 10 from the PC 30 by the public key encryption method (see “Encryption key (encryption with random number)” in FIG. 18), and the detailed processing procedure will be described later. This will be described in the encryption key acquisition process (FIG. 19).

このs700の処理で暗号キーを取得できていれば(s582:YES)、この暗号キーをROM22に記憶させる(s584)。この処理では、ROM22への暗号キーの記憶と共に、RAM23からの仮暗号キーの削除も行う。   If the encryption key has been acquired in the process of s700 (s582: YES), this encryption key is stored in the ROM 22 (s584). In this processing, the temporary encryption key is deleted from the RAM 23 as well as the encryption key is stored in the ROM 22.

次に、アクセスポイント10との無線接続を解除する(s586)。ここでは、アクセスポイント10へオーセンティケーション解除を送信することにより(図18における「オーセンティケーション解除」参照)、アクセスポイント10との無線接続を解除する。   Next, the wireless connection with the access point 10 is canceled (s586). Here, the wireless connection with the access point 10 is canceled by transmitting the authentication cancellation to the access point 10 (see “authentication cancellation” in FIG. 18).

そして、アクセスポイント10との無線接続を再度確立する(s588)。この処理では、上述したのと同様に、オーセンティケーション要求,応答をアクセスポイント10との間でやりとりすることにより無線接続を確立する。なお、ここでは、プリンタ20に受け渡された暗号キーを用いたシェアードキー認証(暗号化に基づく)によるオーセンティケーション要求,応答のやりとりとなる。この処理で無線接続が確立された以降は、s580の処理で書き替えられた暗号キーにより暗号化した状態でデータ通信が行われるようになる。   Then, the wireless connection with the access point 10 is established again (s588). In this process, as described above, the wireless connection is established by exchanging the authentication request and response with the access point 10. Here, the authentication request and response are exchanged by shared key authentication (based on encryption) using the encryption key delivered to the printer 20. After the wireless connection is established in this process, data communication is performed in the state encrypted with the encryption key rewritten in the process of s580.

こうして、s588の処理を終えた後、または、s582の処理で暗号キーを取得できていなければ(s582:NO)、本接続方法確定処理を終了する。
○プリンタ20による暗号キー取得処理
以下に、プリンタ20の備えるCPU21により実行される暗号キー取得処理の処理手順を図19に基づいて説明する。この暗号キー取得処理は、図17におけるs700の処理の詳細な処理手順である。
In this way, after completing the process of s588, or if the encryption key has not been acquired in the process of s582 (s582: NO), this connection method determination process is terminated.
O Encryption Key Acquisition Processing by Printer 20 Hereinafter, a processing procedure of encryption key acquisition processing executed by the CPU 21 provided in the printer 20 will be described with reference to FIG. This encryption key acquisition process is a detailed processing procedure of the process of s700 in FIG.

まず、公開鍵暗号方式にて用いられる公開鍵および秘密鍵のペアを生成する(s710)。
次に、s710の処理で生成された公開鍵をPC30へ送信する(s720)。この処理では、あらかじめ設定されたデバイスであるPC30へ向けて公開鍵のデータが送信される。この公開鍵を受信したPC30では、この公開鍵でランダムに生成された乱数を暗号化して返信してきた後、更に、この乱数で暗号化した所定のメッセージ画像を示す印刷データを送信してくる(図18における「乱数(公開鍵で暗号化)」,「印刷データ(乱数で暗号化)」参照)。
First, a public key / private key pair used in the public key cryptosystem is generated (s710).
Next, the public key generated in the process of s710 is transmitted to the PC 30 (s720). In this process, public key data is transmitted to the PC 30 which is a preset device. The PC 30 that has received the public key encrypts and returns a random number randomly generated with the public key, and then transmits print data indicating a predetermined message image encrypted with the random number ( FIG. 18 “Random number (encrypted with public key)” and “Print data (encrypted with random number)”).

次に、PC30から暗号化された乱数を受信する(s730)。
次に、PC30から暗号化された印刷データを受信する(s740)。
次に、s740の処理で受信した印刷データで示されるメッセージ画像を、s710の処理で生成した秘密鍵で復号した後、プリントエンジン28により印刷させる(s750)。この処理で印刷されるメッセージ画像は、s730の処理で受信した乱数が確かにプリンタ20へ送信されたことをユーザに確認させるためのメッセージを含むものであり、この旨を確認したユーザは、PC30により後述する確認操作を行うことになる(後述の設定指令処理(図20)参照)。そして、この確認操作のあと、PC30からs730の処理で暗号化された暗号キーが送信されてくる。
Next, the encrypted random number is received from the PC 30 (s730).
Next, the encrypted print data is received from the PC 30 (s740).
Next, the message image indicated by the print data received in the process of s740 is decrypted with the secret key generated in the process of s710, and then printed by the print engine 28 (s750). The message image printed in this process includes a message for allowing the user to confirm that the random number received in the process of s730 has been transmitted to the printer 20, and the user who has confirmed this is the PC 30. Thus, a confirmation operation described later is performed (see a setting command process (FIG. 20) described later). After this confirmation operation, the encryption key encrypted by the process of s730 is transmitted from the PC 30.

次に、タイマーをスタートさせる(s760)。
次に、PC30から暗号キーを受信した否かをチェックする(s770)。
このs770の処理で暗号キーを受信したら(s770:YES)、s760の処理でスタートさせたタイマーをストップおよびリセットした後(s780)、本暗号キー取得処理を終了する。
Next, a timer is started (s760).
Next, it is checked whether an encryption key has been received from the PC 30 (s770).
When the encryption key is received in the process of s770 (s770: YES), the timer started in the process of s760 is stopped and reset (s780), and then the encryption key acquisition process is terminated.

一方、s770の処理で暗号キーを受信していなければ(s770:NO)、タイムアウトとなっているか否かをチェックする(s790)。この処理では、s760の処理でスタートさせたタイマーのカウント値が所定の値(本実施形態においては、30s)に到達していれば、タイムアウトになっていると判定する。   On the other hand, if an encryption key has not been received in the process of s770 (s770: NO), it is checked whether or not a timeout has occurred (s790). In this process, if the count value of the timer started in the process of s760 has reached a predetermined value (30 s in this embodiment), it is determined that a timeout has occurred.

このs790の処理でタイムアウトになっていなければ(s790:NO)、s770の処理へ戻る一方、タイムアウトとなっていれば(s790:YES)、s780の処理へ移行することにより、暗号キーを取得することなく本暗号キー取得処理を終了する。
○PC30による設定指令処理
以下に、PC30により実行される設定指令処理の処理手順について図20に基づいて説明する。この設定指令処理は、PC30に組み込まれているプログラムに従って実行される処理である。この設定指令処理は、第5実施形態における設定指令処理(図12)のうち、s650の処理が行われた後に、以下に示すような処理が行われるように構成されたものである。なお、第5実施形態と同一の処理については同一のステップ番号を付し、詳細な説明を省略するものとする。
If no timeout has occurred in the process of s790 (s790: NO), the process returns to the process of s770. If the timeout has occurred (s790: YES), the process proceeds to the process of s780 to obtain an encryption key. The encryption key acquisition process is terminated without any processing.
O Setting command processing by PC 30 Hereinafter, a processing procedure of setting command processing executed by the PC 30 will be described with reference to FIG. This setting command process is a process executed in accordance with a program incorporated in the PC 30. This setting command process is configured such that the following process is performed after the process of s650 in the setting command process (FIG. 12) in the fifth embodiment. The same processes as those in the fifth embodiment are denoted by the same step numbers, and detailed description thereof is omitted.

まず、s650の処理が行われた後、プリンタ20から公開鍵を受信するまで待機する(s810:NO)。この公開鍵は、図19におけるs720の処理でプリンタ20が送信してくるデータである。   First, after the process of s650 is performed, the process waits until a public key is received from the printer 20 (s810: NO). This public key is data transmitted by the printer 20 in the process of s720 in FIG.

このs810の処理で公開鍵を受信したら(s810:YES)、この公開鍵でランダムに生成した乱数を暗号化して返信する(s820)。この暗号化した乱数は、図19におけるs730の処理でプリンタ20が受信するデータである。   When the public key is received in the process of s810 (s810: YES), a random number randomly generated with this public key is encrypted and returned (s820). This encrypted random number is data received by the printer 20 in the process of s730 in FIG.

次に、s810の処理で受信した公開鍵でメッセージ画像を示す印刷データを暗号化して送信する(s830)。この暗号化した印刷データは、図19におけるs740の処理でプリンタ20が受信するデータである。この印刷データを受信したプリンタ20では、上述したようにメッセージ画像が印刷され、このメッセージ画像が印刷された後、ユーザが、PC30に対して確認操作を行うことになる。なお、この確認操作とは、特定のキー,ボタンを押下することや、複数のボタン,キーを特定の手順で押下する、といった操作のことである。   Next, the print data indicating the message image is encrypted and transmitted using the public key received in the process of s810 (s830). The encrypted print data is data received by the printer 20 in the process of s740 in FIG. In the printer 20 that has received the print data, the message image is printed as described above. After the message image is printed, the user performs a confirmation operation on the PC 30. The confirmation operation is an operation such as pressing a specific key or button or pressing a plurality of buttons or keys in a specific procedure.

次に、確認操作が行われるまで待機する(s840:NO)。
このs840の処理で確認操作が行われたら(s840:YES)、s820の処理で生成した乱数で暗号キーを暗号化して送信する(s850)。この暗号化した暗号キーは、図19におけるs770の処理でプリンタ20が受信するデータである。なお、この暗号キーは、あらかじめメモリ等に記憶されたものである。
Next, it waits until confirmation operation is performed (s840: NO).
If a confirmation operation is performed in the process of s840 (s840: YES), the encryption key is encrypted with the random number generated in the process of s820 and transmitted (s850). This encrypted encryption key is data received by the printer 20 in the process of s770 in FIG. The encryption key is stored in advance in a memory or the like.

こうして、s850の処理を終えた後、本設定指令処理を終了する。
○アクセスポイント10による暗号切替処理
アクセスポイント10は、起動した以降、無線ステーションとの間におけるデータ通信(データの送受信)を行うタイミングになった際に、暗号切替処理を行うように構成されており、以下に、この暗号切替処理の処理手順を図21に基づいて説明する。
In this way, after finishing the process of s850, this setting command process is complete | finished.
○ Cryptographic switching process by the access point 10 The access point 10 is configured to perform a cryptographic switching process when it is time to perform data communication (data transmission / reception) with a wireless station after being activated. Hereinafter, the processing procedure of the encryption switching processing will be described with reference to FIG.

まず、データ通信すべき無線ステーションが、RAM12における催促テーブルに登録されたデバイス名またはデバイスIDの無線ステーションであるか否かをチェックする(s910)。   First, it is checked whether or not the wireless station to which data communication is to be performed is a wireless station having a device name or device ID registered in the prompting table in the RAM 12 (s910).

このs910の処理で、催促テーブルに登録されたデバイス名またはデバイスIDの無線ステーションであれば(s910:YES)、このデバイス名またはデバイスIDに対応する仮暗号キーにより暗号化して状態でデータ通信を行う(s920)。   In the process of s910, if the wireless station has a device name or device ID registered in the reminder table (s910: YES), data communication is performed in a state encrypted with a temporary encryption key corresponding to the device name or device ID. (S920).

一方、s910の処理で、催促テーブルに登録されたデバイス名またはデバイスIDの無線ステーションでなければ(s910:NO)、暗号キーにより暗号化した通常のデータ通信を行う(s930)。   On the other hand, if it is not a wireless station with the device name or device ID registered in the prompting table in the processing of s910 (s910: NO), normal data communication encrypted with the encryption key is performed (s930).

こうして、s920またはs930の処理を終えた後、本暗号切替処理を終了する。
[第6実施形態の効果]
このように構成された無線LANシステムにおいては、上述した各実施形態と同様の構成により得られる作用・効果の他に、以下に示すような作用・効果を得ることができる。
In this way, after finishing the process of s920 or s930, this encryption switch process is complete | finished.
[Effect of the sixth embodiment]
In the wireless LAN system configured as described above, the following operations and effects can be obtained in addition to the operations and effects obtained by the configuration similar to the above-described embodiments.

アクセスポイント10は、要求催促データを返信した無線ステーションに対して仮暗号キーにより暗号化したデータ通信を行うよう暗号化方法を切り替えるようになり(図21におけるs910の処理)、一方、要求催促データを受信したプリンタ20は、アクセスポイント10とのデータ通信を仮暗号キーにより暗号化して行うように設定される(図17におけるs472の処理)。こうして、アクセスポイント10とプリンタ20との間では、仮暗号キーにより暗号化した状態で正常にデータ通信を行うことができるようになる。これにより、アクセスポイント10が外部ネットワークとの間で行うデータ通信についてのセキュリティレベルを維持したまま、アクセスポイント10とプリンタ20とのデータ通信についても、一定のセキュリティレベルを確保した状態で実現できる。   The access point 10 switches the encryption method so as to perform data communication encrypted with the temporary encryption key to the wireless station that has returned the requested reminder data (processing of s910 in FIG. 21), while the requested reminder data Is set to perform data communication with the access point 10 by encrypting with the temporary encryption key (processing of s472 in FIG. 17). In this way, data communication can be normally performed between the access point 10 and the printer 20 while being encrypted with the temporary encryption key. Thereby, the data communication between the access point 10 and the printer 20 can be realized in a state where a certain security level is secured while maintaining the security level for the data communication performed by the access point 10 with the external network.

続いて、プリンタ20は、暗号キー取得処理(図19)により暗号キーを取得できた場合、アクセスポイント10への無線接続をやり直すことにより、アクセスポイント10とプリンタ20とのデータ通信を、PC30からプリンタ20へ受け渡された暗号キーにより暗号化して行うようになる(図17におけるs586,s588の処理参照)。このとき、アクセスポイント10では、催促リストから削除されるため(図16におけるs318の処理参照)、以降、プリンタ20とのデータ通信は暗号キーにより暗号化して行うように戻されることになる。よって、アクセスポイント10が他の無線ステーションまたは外部ネットワークとの間で行うデータ通信と同様のセキュリティレベルで、アクセスポイント10とプリンタ20とのデータ通信を実現することができるようになる。   Subsequently, when the printer 20 can acquire the encryption key by the encryption key acquisition process (FIG. 19), the data communication between the access point 10 and the printer 20 is performed from the PC 30 by performing wireless connection to the access point 10 again. The encryption is performed using the encryption key delivered to the printer 20 (see the processing at s586 and s588 in FIG. 17). At this time, since the access point 10 is deleted from the prompting list (see the process of s318 in FIG. 16), the data communication with the printer 20 is returned after being encrypted with the encryption key. Therefore, data communication between the access point 10 and the printer 20 can be realized at the same security level as the data communication performed by the access point 10 with other wireless stations or external networks.

また、PC30からプリンタ20への暗号キーの受け渡しは、公開鍵暗号方式により行われるため、この暗号キーがプリンタ20へ送信される過程において漏洩する可能性は当然に低くなる。   Further, since the encryption key is transferred from the PC 30 to the printer 20 by the public key cryptosystem, the possibility of leakage in the process of transmitting the encryption key to the printer 20 is naturally reduced.

また、プリンタ20は、PC30から暗号キーの前に受け渡された印刷データで示されるメッセージ画像を印刷する(図19におけるs750の処理参照)。そのため、ユーザは、プリンタ20からメッセージ画像が印刷されたか否かによって、このプリンタ20がPC30から暗号キーを受け渡されるべき正しい無線ステーションであることを確認できる。そして、このメッセージ画像を確認した後、ユーザがPC30で確認操作を行うことにより(図20におけるs840の処理参照)、PC30からプリンタ20への暗号キーの受け渡しを行うことができる。   Further, the printer 20 prints the message image indicated by the print data delivered from the PC 30 before the encryption key (see the process of s750 in FIG. 19). Therefore, the user can confirm that the printer 20 is a correct wireless station to which the encryption key is to be delivered from the PC 30 depending on whether or not a message image is printed from the printer 20. Then, after confirming this message image, the user can perform a confirmation operation on the PC 30 (see the process of s840 in FIG. 20), whereby the encryption key can be transferred from the PC 30 to the printer 20.

[変形例]
以上、本発明の実施形態について説明したが、本発明は上記の具体的な実施形態に限定されず、このほかにも様々な形態で実施することができる。
[Modification]
As mentioned above, although embodiment of this invention was described, this invention is not limited to said specific embodiment, It can implement with a various form besides this.

例えば、上記実施形態においては、本発明の無線ステーションとしてプリンタ20を適用したものを例示した。しかし、本発明の無線ステーションとしては、無線ステーションとして機能するデバイスであれば、プリンタ20以外のデバイスに適用することもできる。   For example, in the above-described embodiment, the printer 20 is applied as the wireless station of the present invention. However, the wireless station of the present invention can be applied to devices other than the printer 20 as long as the device functions as a wireless station.

また、上記実施形態においては、PC30がケーブル100を介してアクセスポイント10と接続されている構成を例示したが、このPC30が無線ステーションとしての機能を有している場合には、無線接続されている構成としてもよい。   In the above embodiment, the configuration in which the PC 30 is connected to the access point 10 via the cable 100 is illustrated. However, when the PC 30 has a function as a wireless station, the PC 30 is wirelessly connected. It is good also as composition which has.

また、上述の各実施形態では、プリンタ20側で工場出荷状態と判定された場合には、プローブ応答の返信を含めた全ての処理が行われないように構成されたものを例示した(図4,図6,図17におけるs410の処理参照)。しかし、プリンタ20側では、プローブ応答をプリンタ20自身が工場出荷状態か否か判定可能な状態で返信し、アクセスポイント10側において、プローブ応答に対する登録または要求催促データの送信を行わないようにしてもよい。   Further, in each of the above-described embodiments, an example in which all processes including the reply of the probe response are not performed when the printer 20 is determined to be in the factory shipment state is illustrated (FIG. 4). , See the process of s410 in FIGS. However, on the printer 20 side, the probe response is returned in a state where it can be determined whether or not the printer 20 itself is in a factory-shipped state, and registration on the probe response or transmission of request prompt data is not performed on the access point 10 side. Also good.

このために、プリンタ20側では、例えば、図22に示すように、s410の処理をs450の処理の後に設け、このs410の処理で「YES」と判定された場合は、工場出荷状態である旨を示す「Unconfigure device」フラグをセット(「1」をセット)したプローブ応答を送信する一方(s412)、「NO」と判定された場合には、「Unconfigure device」フラグをセットすることなく(「0」をセット)通常のプローブ応答を送信した後(s414)、s460の処理へ移行するように構成するとよい。   For this reason, on the printer 20 side, for example, as shown in FIG. 22, the process of s410 is provided after the process of s450, and if “YES” is determined in the process of s410, the factory shipment state is indicated. The probe response with the “Unconfigure device” flag indicating “(1” set) is transmitted (s412). If “NO” is determined, the “Unconfigure device” flag is not set (“ It may be configured to shift to the processing of s460 after transmitting a normal probe response (s414).

また、アクセスポイント10側では、まず、図2,図5,図8,図9,図10,図15,図16におけるs170の処理の後、または、s230(s232)の処理の後に、以下に示すような処理を設けるとよい。例えば、図23に示すように、s170の処理の後、受信したプローブ応答の「Unconfigure device」フラグをチェックした結果、無線ステーション(プリンタ20)が工場出荷状態であれば(s171:YES)、s240(s172)の処理へ移行する一方、工場出荷状態でなければ(s171:NO)、s180の処理へ移行する。また、s230(s232)の処理で「YES」と判定された場合に、受信したプローブ応答の「Unconfigure device」フラグをチェックした結果、無線ステーションが工場出荷状態であれば(s234:YES)、s250の処理へ移行する一方、工場出荷状態でなければ(s234:NO)、接続方法指示処理を終了する。   On the access point 10 side, first, after the processing of s170 in FIGS. 2, 5, 8, 9, 10, 15, and 16, or after the processing of s230 (s232), It is preferable to provide a process as shown. For example, as shown in FIG. 23, if the wireless station (printer 20) is in the factory-shipped state as a result of checking the “Unconfigure device” flag in the received probe response after the processing of s170 (s171: YES), s240 On the other hand, the process proceeds to the process of (s172), but if not in the factory shipment state (s171: NO), the process proceeds to the process of s180. If it is determined “YES” in the process of s230 (s232), if the “Unconfigure device” flag of the received probe response is checked, if the wireless station is in the factory shipment state (s234: YES), s250 On the other hand, if it is not in the factory-shipped state (s234: NO), the connection method instruction process is terminated.

このように構成すると、アクセスポイント10は、無線ステーションが工場出荷状態の場合のみ、プローブ応答に対する登録または要求催促データの送信を行い、接続方法を設定させることができる。   With this configuration, the access point 10 can register the probe response or transmit the request prompt data and set the connection method only when the wireless station is in the factory-shipped state.

また、上述の各実施形態において、プリンタ20は、プローブ要求を受信したら、プローブ応答を返信した以降に、接続方法をプローブ要求にて示される接続方法に設定したままの状態となるように構成されたものを例示した。しかし、プローブ応答を返信した後、一旦、接続方法を初期設定に戻しておき、その後、要求催促データを受信してから接続方法を再度設定し直すように構成してもよい。このように構成すると、プリンタ20が他の無線アクセスポイントから送信されたプローブ要求に基づいて不用意に接続方法を変更してしまうことを防止できるため好適である。このことを実現するための具体的な構成としては、例えば、以下に示すような構成が考えられる。   Further, in each of the above-described embodiments, when receiving the probe request, the printer 20 is configured so that the connection method remains set to the connection method indicated by the probe request after returning the probe response. The example was shown. However, it may be configured such that after returning the probe response, the connection method is temporarily returned to the initial setting, and then the connection method is reset after receiving the request prompting data. This configuration is preferable because the printer 20 can be prevented from inadvertently changing the connection method based on a probe request transmitted from another wireless access point. As a specific configuration for realizing this, for example, the following configuration can be considered.

まず、プリンタ20側では、図24に示すように、接続方法設定処理(図6,図17,図22)におけるs460と次の処理との間に接続方法を初期設定に戻すステップ(s464)を設け、s510と次の処理との後に接続方法を設定するステップ(s512:s450と同様の処理)を設けておき、s460の処理では、プリンタ20自身に対してあらかじめ設定された接続方法を特定可能な状態でプローブ応答を送信するように構成する。この構成において、プリンタ20は、プローブ応答の送信をアクセスポイント10側の接続方法に基づいて行い、要求催促データの受信をプリンタ20自身に対してあらかじめ設定された接続方法に基づいて行うことになる。一方、アクセスポイント10側では、図25に示すように、接続方法指示処理(図5,図8〜図10,図15,図16,図23)におけるs250直前の処理とs250の処理との間にs170の処理で受信したプローブ応答で特定される接続方法への切り替えを行うステップ(s242)を設け、s250と次の処理との間に、接続方法を第m規格の第nチャネルに基づく接続方法に戻すステップ(s252)を設ける。この構成において、アクセスポイント10は、プローブ応答の受信は、アクセスポイント10自身に対してあらかじめ設定されている接続方法に基づいて行い、要求催促データの送信は、プリンタ20側の接続方法に基づいて行うことになる。   First, on the printer 20 side, as shown in FIG. 24, a step (s464) of returning the connection method to the initial setting between s460 in the connection method setting process (FIGS. 6, 17, and 22) and the next process is performed. The step of setting the connection method is provided after s510 and the next processing (s512: the same processing as s450), and in the processing of s460, the connection method set in advance for the printer 20 itself can be specified. In such a way that the probe response is transmitted. In this configuration, the printer 20 transmits the probe response based on the connection method on the access point 10 side, and receives the request prompting data based on the connection method preset for the printer 20 itself. . On the other hand, on the access point 10 side, as shown in FIG. 25, between the process immediately before s250 and the process of s250 in the connection method instruction process (FIGS. 5, 8 to 10, FIG. 15, FIG. 16, FIG. 23). Is provided with a step (s242) of switching to the connection method specified by the probe response received in the process of s170, and the connection method is connected based on the nth channel of the mth standard between s250 and the next process. A step (s252) for returning to the method is provided. In this configuration, the access point 10 receives the probe response based on a connection method set in advance for the access point 10 itself, and the request prompt data is transmitted based on the connection method on the printer 20 side. Will do.

[本発明との対応関係]
本発明において、無線アクセスポイントの備える広告送信手段は、図2,図5,図8,図9,図10,図15,図16,図23,図25におけるs140の処理であり、これら処理において送信されるプローブ要求が本発明における広告データである。また、接続許可手段は、上記の図それぞれにおけるs250〜s310の処理であり、これら処理においてやりとりされるアソシエーション要求,アソシエーション応答が本発明における許可要求データ,接続許可データである。また、方法切替手段は、上記の図それぞれにおけるs120〜s230の処理である。また、返信収集手段は、上記の図(図2,図5を除く)それぞれにおけるs150〜s180の処理である。また、第1,第2ユーザ選択手段は、図9におけるs224,s226の処理である。また、一覧送信手段は、図10,図15,図16におけるs228の処理である。また、暗号切替手段は、図21におけるs910〜s930の処理である。また、モード切替手段は、接続方法指示処理を実行するCPU11である。
[Correspondence with the present invention]
In the present invention, the advertisement transmission means provided in the wireless access point is the process of s140 in FIGS. 2, 5, 8, 9, 10, 10, 15, 16, 23, and 25. The transmitted probe request is the advertisement data in the present invention. The connection permission means is the processing of s250 to s310 in each of the above drawings, and the association request and association response exchanged in these processing are the permission request data and connection permission data in the present invention. The method switching means is the processing of s120 to s230 in each of the above figures. The reply collection means is the process of s150 to s180 in each of the above figures (excluding FIGS. 2 and 5). The first and second user selection means are the processes of s224 and s226 in FIG. The list transmission means is the process of s228 in FIGS. 10, 15, and 16. The cipher switching means is the processing of s910 to s930 in FIG. The mode switching means is the CPU 11 that executes connection method instruction processing.

また、無線ステーションの備える方法設定手段は、図4,図6,図17,図22,図24におけるs450の処理である。また、返信手段は、上記の図それぞれにおけるs460の処理であり、これら処理において送信されるプローブ応答が本発明における返信データである。また、接続確立手段は、上記の図それぞれにおけるs520〜s580の処理である。また、広告収集手段は、図6,図17におけるs430〜s443の処理である。また、内容判定手段は、上記の図それぞれにおけるs410の処理である。また、動作停止手段は、上記の図それぞれにおけるs410の処理である(「YES」と判定された場合)。また、暗号設定手段は、図17におけるs472の処理である。また、暗号取得手段は、図17におけるs700の処理である。また、暗号変更手段は、図17におけるs584の処理である。また、メッセージ出力手段は、図19におけるs750の処理である。   Further, the method setting means provided in the wireless station is the process of s450 in FIGS. 4, 6, 17, 22, and 24. The reply means is the process of s460 in each of the above figures, and the probe response transmitted in these processes is the reply data in the present invention. The connection establishment means is the process of s520 to s580 in each of the above figures. Further, the advertisement collecting means is the process of s430 to s443 in FIGS. The content determination means is the process of s410 in each of the above figures. The operation stopping means is the process of s410 in each of the above figures (when it is determined “YES”). The encryption setting means is the process of s472 in FIG. The cipher acquisition unit is the process of s700 in FIG. The cipher changing means is the process of s584 in FIG. The message output means is the process of s750 in FIG.

また、通信端末の備える一覧要求手段は、図12,図14,図20におけるs610の処理である。また、第3,第4ユーザ選択手段は、上記の図それぞれにおけるs630,s640の処理である。また、選択送信手段は、上記の図それぞれにおけるs650の処理であるまた、暗号受渡手段は、図20におけるs810〜s850の処理である。また、確認操作は、図20におけるs850の処理である。   Further, the list request means included in the communication terminal is the process of s610 in FIGS. The third and fourth user selection means are the processes of s630 and s640 in each of the above figures. Further, the selective transmission means is the process of s650 in each of the above drawings, and the encryption delivery means is the process of s810 to s850 in FIG. The confirmation operation is the process of s850 in FIG.

ネットワーク構成を示す図Diagram showing network configuration 第1実施形態における接続方法指示処理の処理手順を示すフローチャート(その1)The flowchart which shows the process sequence of the connection method instruction | indication process in 1st Embodiment (the 1) 第1実施形態におけるアクセスポイントおよびプリンタ間のデータのやりとりを示すシーケンス図Sequence diagram showing exchange of data between an access point and a printer in the first embodiment 第1実施形態における接続方設定処理の処理手順を示すフローチャートThe flowchart which shows the process sequence of the connection method setting process in 1st Embodiment. 第1実施形態における接続方法指示処理の処理手順を示すフローチャート(その2)The flowchart which shows the process sequence of the connection method instruction | indication process in 1st Embodiment (the 2) 第2実施形態における接続方法設定処理の処理手順を示すフローチャートThe flowchart which shows the process sequence of the connection method setting process in 2nd Embodiment. データテーブルのデータ構造を示す図Diagram showing data structure of data table 第3実施形態における接続方法指示処理の処理手順を示すフローチャートThe flowchart which shows the process sequence of the connection method instruction | indication process in 3rd Embodiment. 第4実施形態における接続方法指示処理の処理手順を示すフローチャートThe flowchart which shows the process sequence of the connection method instruction | indication process in 4th Embodiment. 第5実施形態における接続方法指示処理の処理手順を示すフローチャートThe flowchart which shows the process sequence of the connection method instruction | indication process in 5th Embodiment. 第5実施形態におけるアクセスポイントおよびプリンタ間のデータのやりとりを示すシーケンス図Sequence diagram showing exchange of data between access point and printer in the fifth embodiment 第5実施形態における設定指令処理の処理手順を示すフローチャート(その1)Flowchart showing the procedure of setting command processing in the fifth embodiment (part 1) 一覧データで示される内容が表示された状態を示す図The figure which shows the state where the contents which are indicated with list data are displayed 第5実施形態における設定指令処理の処理手順を示すフローチャート(その2)Flowchart showing the procedure of setting command processing in the fifth embodiment (No. 2) 第5実施形態における接続方法指示処理の処理手順を示すフローチャート(その2)The flowchart which shows the process sequence of the connection method instruction | indication process in 5th Embodiment (the 2) 第6実施形態における接続方法指示処理の処理手順を示すフローチャートThe flowchart which shows the process sequence of the connection method instruction | indication process in 6th Embodiment. 第6実施形態における接続方法設定処理の処理手順を示すフローチャートThe flowchart which shows the process sequence of the connection method setting process in 6th Embodiment. 第6実施形態におけるアクセスポイントおよびプリンタ間のデータのやりとりを示すシーケンス図Sequence diagram showing exchange of data between access point and printer in the sixth embodiment 第6実施形態における暗号キー取得処理の処理手順を示すフローチャートThe flowchart which shows the process sequence of the encryption key acquisition process in 6th Embodiment. 第6実施形態における設定指令処理の処理手順を示すフローチャートThe flowchart which shows the process sequence of the setting command process in 6th Embodiment. 第6実施形態における暗号切替処理の処理手順を示すフローチャートThe flowchart which shows the process sequence of the encryption switching process in 6th Embodiment. 別の実施形態における接続方法設定処理の処理手順を示すフローチャートThe flowchart which shows the process sequence of the connection method setting process in another embodiment. 別の実施形態における接続方法指示処理の処理手順を示すフローチャートThe flowchart which shows the process sequence of the connection method instruction | indication process in another embodiment. 別の実施形態における接続方法設定処理の処理手順を示すフローチャートThe flowchart which shows the process sequence of the connection method setting process in another embodiment. 別の実施形態における接続方法指示処理の処理手順を示すフローチャートThe flowchart which shows the process sequence of the connection method instruction | indication process in another embodiment.

符号の説明Explanation of symbols

10…アクセスポイント、11…CPU、12…ROM、13…RAM、14…ネットワークコントローラ、15…無線LANコントローラ、16…操作パネル、17…表示パネル、20…プリンタ、21…CPU、22…ROM、23…RAM、24…無線LANコントローラ、25…PCインターフェース部、26…操作パネル、27…表示パネル、28…プリントエンジン、30…パーソナルコンピュータ、100…ケーブル。   DESCRIPTION OF SYMBOLS 10 ... Access point, 11 ... CPU, 12 ... ROM, 13 ... RAM, 14 ... Network controller, 15 ... Wireless LAN controller, 16 ... Operation panel, 17 ... Display panel, 20 ... Printer, 21 ... CPU, 22 ... ROM, 23 ... RAM, 24 ... wireless LAN controller, 25 ... PC interface unit, 26 ... operation panel, 27 ... display panel, 28 ... print engine, 30 ... personal computer, 100 ... cable.

Claims (30)

無線接続の方法である接続方法を複数の接続方法のうちいずれかに設定可能な無線ステーションを、あらかじめ前記複数の接続方法のうちいずれかに設定された無線アクセスポイントと同一の接続方法に設定することにより、前記無線アクセスポイントおよび前記無線ステーション間のデータ通信が可能となる無線LANシステムであって、
前記無線アクセスポイントは、
当該アクセスポイントの接続方法が前記複数の接続方法のうちいずれか特定の接続方法に設定されている旨を広告するための広告データを、前記複数の接続方法それぞれに基づいて送信する広告送信手段を備えており、
前記無線ステーションは、
あらかじめ設定されている接続方法に基づいて送信されてきた前記広告データを前記無線アクセスポイントから受信した際に、該無線アクセスポイントへの接続方法を前記広告データで広告された前記特定の接続方法に設定する方法設定手段を備えている
ことを特徴とする無線LANシステム。
A wireless station capable of setting a connection method as a wireless connection method to any one of a plurality of connection methods is set to the same connection method as a wireless access point previously set to any one of the plurality of connection methods. A wireless LAN system that enables data communication between the wireless access point and the wireless station,
The wireless access point is
Advertisement transmitting means for transmitting advertisement data for advertising that the connection method of the access point is set to any one of the plurality of connection methods based on each of the plurality of connection methods; Has
The wireless station is
When the advertisement data transmitted based on the connection method set in advance is received from the wireless access point, the connection method to the wireless access point is changed to the specific connection method advertised by the advertisement data. A wireless LAN system comprising a method setting means for setting.
前記無線アクセスポイントにおいて、
前記広告送信手段は、前記広告データとして、前記特定の接続方法による返信を要求するためのデータを送信するように構成され、
さらに、前記広告送信手段により広告データの送信が開始された以降、該広告データに基づいて返信されてきた返信データを前記無線ステーションから受信した際に、当該無線アクセスポイントへの無線接続の許可を要求させるための要求催促データを前記無線ステーションへ送信し、その後、該無線ステーションから無線接続の許可を要求するためのデータである許可要求データが送信されてきたら、当該無線アクセスポイントへの無線接続を許可する旨の接続許可データを返信することにより、前記無線ステーションとの無線接続を確立する接続許可手段が備えられており、
前記無線ステーションにおいて、
前記広告データを前記無線アクセスポイントから受信した際に、該広告データで要求された返信を示す前記返信データを、前記広告データで広告された前記特定の接続方法にて返信する返信手段と、
該返信手段により返信データを無線アクセスポイントへ送信した後、該無線アクセスポイントから送信された前記要求催促データを受信した場合に、前記許可要求データの送信および前記接続許可データの受信を経て前記無線アクセスポイントとの無線接続を確立する接続確立手段と、が備えられている
ことを特徴とする請求項1に記載の無線LANシステム。
In the wireless access point,
The advertisement transmission means is configured to transmit data for requesting a reply by the specific connection method as the advertisement data,
Furthermore, after the transmission of the advertisement data is started by the advertisement transmitting means, when reply data returned based on the advertisement data is received from the wireless station, permission for wireless connection to the wireless access point is permitted. When request request data for requesting is transmitted to the wireless station, and then permission request data which is data for requesting permission for wireless connection is transmitted from the wireless station, wireless connection to the wireless access point is performed. Connection permission means for establishing a wireless connection with the wireless station by returning connection permission data indicating that permission is provided,
In the wireless station,
When the advertisement data is received from the wireless access point, the reply data indicating the reply requested by the advertisement data is returned by the specific connection method advertised by the advertisement data;
After the reply data is transmitted to the wireless access point by the reply means, when the request prompt data transmitted from the wireless access point is received, the wireless request point data is transmitted and the connection permission data is received. The wireless LAN system according to claim 1, further comprising: a connection establishment unit that establishes a wireless connection with the access point.
前記無線アクセスポイントにおいて、
接続方法を前記複数の接続方法へそれぞれ一時的に切り替える方法切替手段が備えられ、
前記広告送信手段は、前記方法切替手段により接続方法が切り替えられている間に、該切り替えられた接続方法に基づいて前記広告データを送信する
ことを特徴とする請求項1または請求項2に記載の無線LANシステム。
In the wireless access point,
A method switching means for temporarily switching a connection method to each of the plurality of connection methods,
3. The advertisement transmission unit transmits the advertisement data based on the switched connection method while the connection method is switched by the method switching unit. 4. Wireless LAN system.
前記無線アクセスポイントにおいて、
前記方法切替手段は、外部からの指令を受けた際に、接続方法を切り替え始める
ことを特徴とする請求項3に記載の無線LANシステム。
In the wireless access point,
The wireless LAN system according to claim 3, wherein the method switching unit starts switching a connection method when receiving a command from the outside.
前記無線アクセスポイントにおいて、
前記広告送信手段は、前記方法切替手段による接続方法の切り替えが開始されるのに先立って、あらかじめ設定された接続方法に基づいて前記広告データを送信する
ことを特徴とする請求項3または請求項4に記載の無線LANシステム。
In the wireless access point,
The advertisement transmission means transmits the advertisement data based on a connection method set in advance before the switching of the connection method by the method switching means is started. 4. The wireless LAN system according to 4.
前記無線ステーションにおいて、
あらかじめ設定されている接続方法に基づいて送信されてくる前記広告データを所定期間にわたり収集する広告収集手段が備えられており、
前記方法設定手段は、前記広告収集手段により広告データが収集された後、該収集された広告データのうち、受信レベルが最も大きかった広告データで広告された接続方法を、前記無線アクセスポイントへの接続方法として設定する
ことを特徴とする請求項1から5のいずれかに記載の無線LANシステム。
In the wireless station,
An advertisement collecting means for collecting the advertisement data transmitted based on a connection method set in advance for a predetermined period;
After the advertisement data is collected by the advertisement collection means, the method setting means is configured to change a connection method advertised with advertisement data having the highest reception level among the collected advertisement data to the wireless access point. The wireless LAN system according to claim 1, wherein the wireless LAN system is set as a connection method.
前記無線アクセスポイントにおいて、
前記接続許可手段は、所定の条件を満たす前記返信データを送信してきた無線ステーションへ前記要求催促データを送信する
ことを特徴とする請求項1から6のいずれかに記載の無線LANシステム。
In the wireless access point,
The wireless LAN system according to claim 1, wherein the connection permission unit transmits the request prompt data to a wireless station that has transmitted the reply data that satisfies a predetermined condition.
前記無線アクセスポイントにおいて、
前記広告送信手段による広告データの送信が開始された以降、前記返信データを所定期間にわたり収集する返信収集手段が備えられており、
前記接続許可手段は、前記返信収集手段により返信データが収集された後、該収集された返信データのうち、受信レベルが最も大きかった返信データの送信元である無線ステーションへ前記要求催促データを送信する
ことを特徴とする請求項7に記載の無線LANシステム。
In the wireless access point,
A reply collecting means for collecting the reply data over a predetermined period after the advertisement sending means starts sending advertisement data;
The connection permission unit transmits the request prompting data to the wireless station that is the transmission source of the reply data having the highest reception level among the collected reply data after the reply data is collected by the reply collection unit. The wireless LAN system according to claim 7, wherein:
前記無線アクセスポイントにおいて、
前記接続許可手段は、前記広告送信手段による広告データの送信が開始された以降に返信されてくる前記返信データのうち、外部からの指令に基づいて決定される返信データの送信元である無線ステーションへ前記要求催促データを送信する
ことを特徴とする請求項1から6のいずれかに記載の無線LANシステム。
In the wireless access point,
The connection permission unit is a wireless station that is a transmission source of reply data determined based on a command from the outside among the reply data returned after the advertisement transmission unit starts transmission of advertisement data The wireless LAN system according to claim 1, wherein the request prompting data is transmitted to the wireless LAN system.
前記無線アクセスポイントにおいて、
前記広告送信手段による広告データの送信が開始された以降、前記返信データを所定期間にわたり収集する返信収集手段が備えられており、
前記接続許可手段は、前記返信収集手段による返信データの収集が行われた後、該収集された返信データのうち、外部からの指令に基づいて決定される返信データの送信元である無線ステーションへ前記要求催促データを送信する
ことを特徴とする請求項9に記載の無線LANシステム。
In the wireless access point,
A reply collecting means for collecting the reply data over a predetermined period after the advertisement sending means starts sending advertisement data;
The connection permission means, after collecting the reply data by the reply collection means, to the wireless station that is the source of reply data determined based on an external command out of the collected reply data The wireless LAN system according to claim 9, wherein the request prompting data is transmitted.
前記無線アクセスポイントにおいて、
前記返信収集手段による返信データの収集が行われた後、該収集された返信データそれぞれの送信元である無線ステーションの中から、1以上の無線ステーションをユーザに選択させる第1ユーザ選択手段が備えられ、
前記接続許可手段は、前記第1ユーザ選択手段によりユーザに選択させた無線ステーションへ前記要求催促データを送信する
ことを特徴とする請求項10に記載の無線LANシステム。
In the wireless access point,
After the reply data is collected by the reply collection means, a first user selection means for causing the user to select one or more wireless stations from the wireless stations that are the transmission sources of the collected reply data is provided. And
The wireless LAN system according to claim 10, wherein the connection permission unit transmits the request prompting data to a wireless station selected by the user by the first user selection unit.
前記無線ステーションにおいて、
前記返信手段は、当該無線ステーションを識別するための識別データを対応づけた状態で前記返信データを送信して、
前記アクセスポイントにおいて、
前記返信収集手段は、前記返信データを該返信データに対応する前記識別データと共に収集するように構成され、
さらに、前記返信収集手段による返信データの収集が行われた後、該収集された返信データそれぞれに対応する識別データの中から、1以上の識別データをユーザに選択させる第2ユーザ選択手段が備えられ、
前記接続許可手段は、前記第2ユーザ選択手段によりユーザに選択させた識別データで識別される無線ステーションへ前記要求催促データを送信する
ことを特徴とする請求項10に記載の無線LANシステム。
In the wireless station,
The reply means transmits the reply data in a state in which identification data for identifying the wireless station is associated,
In the access point,
The reply collection means is configured to collect the reply data together with the identification data corresponding to the reply data;
Furthermore, after the reply data is collected by the reply collection means, a second user selection means for causing the user to select one or more identification data from among the identification data corresponding to each collected reply data is provided. And
The wireless LAN system according to claim 10, wherein the connection permission unit transmits the request prompting data to a wireless station identified by the identification data selected by the user by the second user selection unit.
前記無線アクセスポイントにおいて、
前記接続許可手段は、当該無線アクセスポイントとデータ通信可能に接続された通信端末からの指令を受けて、前記要求催促データを送信すべき無線ステーションを決定するように構成されている
ことを特徴とする請求項9に記載の無線LANシステム。
In the wireless access point,
The connection permission unit is configured to receive a command from a communication terminal connected to the wireless access point so that data communication is possible, and to determine a wireless station to which the request prompting data is to be transmitted. The wireless LAN system according to claim 9.
前記無線アクセスポイントにおいて、
前記広告送信手段による広告データの送信が開始された以降、前記返信データを所定期間にわたり収集し、該収集した前記返信データ、および、該返信データの送信元である無線ステーションの対応関係を記憶部へ記憶させる返信収集手段と、
該返信収集手段により対応関係が記憶された無線ステーションの一覧を要求する旨の一覧要求データを、前記通信端末から受信した際に、前記一覧を示す一覧データを前記通信端末側へ送信する一覧送信手段と、が備えられ、
前記接続許可手段は、前記一覧送信手段により一覧データが前記通信端末へ送信され、その後、該通信端末側において前記一覧データで示される一覧の中から選択された1以上の無線ステーションを示す選択データを前記通信端末から受信した以降、該選択データで示される無線ステーションへ前記通知データを返信する、ように構成され
前記通信端末において、
前記無線アクセスポイントに対して、前記一覧要求データを送信する一覧要求手段と、
該一覧要求手段により前記一覧要求データが前記無線アクセスポイントへ送信された後、該無線アクセスポイントから前記一覧データを受信した際に、該一覧データで示される一覧の中から1以上の無線ステーションをユーザに選択させる第3ユーザ選択手段と、
該第3ユーザ選択手段によりユーザに選択させた1以上の無線ステーションを示す前記選択データを前記無線アクセスポイントへ送信する選択送信手段と、が備えられている
ことを特徴とする請求項13に記載の無線LANシステム。
In the wireless access point,
After the transmission of the advertisement data by the advertisement transmission means is started, the reply data is collected over a predetermined period, and the correspondence relation of the collected reply data and the wireless station that is the transmission source of the reply data is stored in the storage unit Reply collecting means to memorize,
List transmission for transmitting list data indicating the list to the communication terminal side when receiving the request data from the communication terminal for requesting a list of wireless stations whose correspondence is stored by the reply collection means Means,
The connection permission unit transmits selection data indicating the one or more wireless stations selected from the list indicated by the list data on the communication terminal side after the list data is transmitted to the communication terminal by the list transmission unit. Is received from the communication terminal, and the notification data is returned to the wireless station indicated by the selection data. In the communication terminal,
List request means for transmitting the list request data to the wireless access point;
After the list request data is transmitted to the wireless access point by the list request means, when the list data is received from the wireless access point, one or more wireless stations are selected from the list indicated by the list data. Third user selection means for allowing the user to select;
The selection transmission means for transmitting the selection data indicating one or more radio stations selected by the user by the third user selection means to the wireless access point is provided. Wireless LAN system.
前記無線ステーションにおいて、
前記返信手段は、当該無線ステーションを識別するための識別データを対応づけた状態で前記返信データを送信して、
前記無線アクセスポイントにおいて、
前記広告送信手段による広告データの送信が開始された以降、前記返信データを該返信データに対応する識別データと共に所定期間にわたり収集し、該収集した前記返信データの送信元である無線ステーション、および、前記識別データの対応関係を記憶部へ記憶させる返信収集手段と、
該返信収集手段により対応関係が記憶された識別データの一覧を要求する旨の一覧要求データを、前記通信端末から受信した際に、前記一覧を示す一覧データを前記通信端末側へ送信する一覧送信手段と、が備えられ、
前記接続許可手段は、前記一覧送信手段により一覧データが前記通信端末へ送信され、その後、該通信端末側において前記一覧データで示される一覧の中から選択された1以上の識別データを示す選択データを前記通信端末から受信した以降、該選択データで示される識別データに対応する無線ステーションへ前記要求催促データを返信する、ように構成され
前記通信端末において、
前記無線アクセスポイントに対して、前記一覧要求データを送信する一覧要求手段と、
該一覧要求手段により前記一覧要求データが前記無線アクセスポイントへ送信された後、該無線アクセスポイントから前記一覧データを受信した際に、該一覧データで示される一覧の中から1以上の識別データをユーザに選択させる第4ユーザ選択手段と、
該第4ユーザ選択手段によりユーザに選択させた1以上の無線ステーションを示す前記選択データを前記無線アクセスポイントへ送信する選択送信手段と、が備えられている
ことを特徴とする請求項13に記載の無線LANシステム。
In the wireless station,
The reply means transmits the reply data in a state in which identification data for identifying the wireless station is associated,
In the wireless access point,
After the transmission of the advertisement data by the advertisement transmitting means is started, the reply data is collected over a predetermined period together with the identification data corresponding to the reply data, and the wireless station that is the transmission source of the collected reply data; and Reply collecting means for storing the correspondence of the identification data in the storage unit;
List transmission for transmitting list data indicating the list to the communication terminal side when receiving request data from the communication terminal for requesting a list of identification data for which correspondence is stored by the reply collection means Means,
The connection permission means transmits selection data indicating one or more identification data selected from the list indicated by the list data on the communication terminal side after the list data is transmitted to the communication terminal by the list transmission means. After receiving from the communication terminal, the request prompting data is returned to the wireless station corresponding to the identification data indicated by the selection data. In the communication terminal,
List request means for transmitting the list request data to the wireless access point;
After the list request data is transmitted to the wireless access point by the list requesting means, when the list data is received from the wireless access point, one or more identification data is selected from the list indicated by the list data. Fourth user selection means for allowing the user to select;
The selection transmission means for transmitting the selection data indicating one or more wireless stations selected by the user by the fourth user selection means to the wireless access point is provided. Wireless LAN system.
前記無線アクセスポイントにおいて、
前記接続許可手段により要求催促データが送信された以降、当該無線アクセスポイントにおけるデータ通信が第1暗号キーにより暗号化された状態で行われるように設定されている場合に、前記要求催促データが送信された無線ステーションとの間におけるデータ通信についてのみ、暗号化方法を切り替えて暗号化せずに行うようにする暗号切替手段が備えられている
ことを特徴とする請求項1から15のいずれかに記載の無線LANシステム。
In the wireless access point,
After the request prompt data is transmitted by the connection permission means, the request prompt data is transmitted when the data communication at the wireless access point is set to be performed in the state encrypted by the first encryption key. A cipher switching means is provided for performing data communication only with a wireless station that has been switched without performing ciphering by switching the ciphering method. The wireless LAN system described.
前記アクセスポイントにおいて、
前記接続許可手段は、前記要求催促データを、当該無線アクセスポイントにおけるデータ通信を暗号化するために使用される第1暗号キーとは異なる第2暗号キーを付加した状態で返信する、ように構成され、
さらに、前記接続許可手段により要求催促データが送信された以降、該要求催促データが送信された無線ステーションとの間におけるデータ通信について、前記第2暗号キーにより暗号化した状態で行うように暗号化方法を切り替える暗号切替手段が備えられており、
前記無線ステーションにおいて、
前記無線アクセスポイントから前記要求催促データを受信した以降、該無線アクセスポイントとのデータ通信を前記要求催促データに付加された第2暗号キーにより暗号化して行うように設定する暗号設定手段が備えられている
ことを特徴とする請求項1から15のいずれかに記載の無線LANシステム。
In the access point,
The connection permission unit is configured to return the request prompting data with a second encryption key different from the first encryption key used for encrypting data communication at the wireless access point added. And
Further, after the request prompt data is transmitted by the connection permission means, the data communication with the wireless station to which the request prompt data is transmitted is encrypted so as to be performed in the state encrypted with the second encryption key. A cipher switching means for switching the method is provided,
In the wireless station,
After receiving the request reminder data from the wireless access point, encryption setting means is provided for setting data communication with the wireless access point encrypted with the second encryption key added to the request reminder data. The wireless LAN system according to claim 1, wherein the wireless LAN system is a wireless LAN system.
前記無線アクセスポイントには、該無線アクセスポイントとデータ通信可能な通信端末が接続されており、
前記無線ステーションにおいて、
公開鍵暗号方式により前記通信端末から前記無線アクセスポイントを介して前記第1暗号キーを取得する暗号取得手段と、
前記暗号取得手段により前記第1暗号キーが前記通信端末から取得された際、前記無線アクセスポイントとの無線接続を解除し、前記第1暗号キーにより暗号化した状態で無線接続し直すことにより、前記無線アクセスポイントとのデータ通信を前記第1暗号キーにより暗号化した状態で行うように設定変更する暗号変更手段と、が備えられており、
前記通信端末において、
公開鍵暗号方式により前記無線ステーションへの前記第1暗号キーの受け渡しを、前記無線アクセスポイントを介して行う暗号受渡手段が備えられ、
前記無線アクセスポイントにおいて、
前記暗号切替手段は、前記無線ステーションとの無線接続が解除された以降、暗号化方法の切り替えを行わない
ことを特徴とする請求項16または請求項17に記載の無線LANシステム。
A communication terminal capable of data communication with the wireless access point is connected to the wireless access point,
In the wireless station,
Cryptography acquisition means for acquiring the first encryption key from the communication terminal via the wireless access point by a public key cryptosystem;
When the first encryption key is acquired from the communication terminal by the encryption acquisition unit, the wireless connection with the wireless access point is canceled, and the wireless connection is performed again with the first encryption key encrypted. Encryption changing means for changing the setting to perform data communication with the wireless access point in a state encrypted with the first encryption key, and
In the communication terminal,
An encryption delivery means for delivering the first encryption key to the wireless station via the wireless access point by a public key cryptosystem;
In the wireless access point,
The wireless LAN system according to claim 16 or 17, wherein the encryption switching unit does not switch an encryption method after the wireless connection with the wireless station is released.
前記通信端末において、
前記暗号受渡手段は、前記第1暗号キーの受け渡しを行う前に、公開鍵暗号方式により前記無線ステーションへの認証用メッセージの受け渡しを行うように構成され、
さらに、
前記暗号受渡手段により前記認証用メッセージの受け渡しが行われた以降、前記無線ステーション側で出力される前記認証用メッセージを確認したユーザによる確認操作を行わせるための確認操作手段が備えられ、
前記暗号受渡手段は、前記確認操作手段により確認操作が行われた際に、前記第1暗号キーの受け渡しを行うように構成されており、
前記無線ステーションにおいて、
前記暗号取得手段は、前記第1暗号キーに先立って公開鍵暗号方式により前記通信端末から受け渡しが行われる前記認証用メッセージを取得する、ように構成され、
さらに、前記暗号取得手段により取得された認証用メッセージを出力するメッセージ出力手段が備えられ、
前記暗号取得手段は、メッセージ出力手段により認証用メッセージが出力され、前記メッセージ出力手段により出力される認証用メッセージを確認したユーザによる前記通信端末への確認操作が行われた後に、前記通信端末から受け渡しが行われる前記第1暗号キーを取得する
ことを特徴とする請求項18に記載の無線LANシステム。
In the communication terminal,
The encryption delivery means is configured to deliver an authentication message to the wireless station by public key cryptography before delivering the first encryption key,
further,
After the authentication message is delivered by the encryption delivery means, a confirmation operation means for performing a confirmation operation by a user who confirmed the authentication message output on the wireless station side is provided,
The encryption delivery means is configured to deliver the first encryption key when a confirmation operation is performed by the confirmation operation means.
In the wireless station,
The encryption acquisition means is configured to acquire the authentication message that is transferred from the communication terminal by a public key encryption method prior to the first encryption key,
Further, message output means for outputting the authentication message acquired by the encryption acquisition means is provided,
The cipher acquisition unit outputs an authentication message by the message output unit, and after the confirmation operation to the communication terminal by the user who has confirmed the authentication message output by the message output unit is performed, from the communication terminal The wireless LAN system according to claim 18, wherein the first encryption key to be transferred is acquired.
前記無線アクセスポイントにおいて、
当該無線アクセスポイントの動作モードを、前記広告送信手段による広告データの送信を実現した無線ステーションにおける接続方法の設定をサポートするサポートモード、および、前記広告送信手段による広告データの送信を実現せずに接続方法の設定をサポートしないノーマルモードのいずれか一方へ切り替え可能なモード切替手段が備えられている
ことを特徴とする請求項1から19のいずれかに記載の無線LANシステム。
In the wireless access point,
The operation mode of the wireless access point is a support mode that supports setting of a connection method in a wireless station that realizes transmission of advertisement data by the advertisement transmission means, and transmission of advertisement data by the advertisement transmission means is not realized. The wireless LAN system according to any one of claims 1 to 19, further comprising mode switching means capable of switching to any one of a normal mode that does not support setting of a connection method.
前記無線アクセスポイントにおいて、
前記モード切替手段は、外部からの指令を受けて動作モードを切り替える
ことを特徴とする請求項20に記載の無線LANシステム。
In the wireless access point,
The wireless LAN system according to claim 20, wherein the mode switching unit switches an operation mode in response to an external command.
前記無線アクセスポイントにおいて、
前記モード切替手段は、動作モードを前記サポートモードへ切り替えた以降、所定の期間が経過した際に、動作モードを前記ノーマルモードへ切り替え直す
ことを特徴とする請求項20または請求項21に記載の無線LANシステム。
In the wireless access point,
The mode switching means switches the operation mode back to the normal mode when a predetermined period elapses after the operation mode is switched to the support mode. Wireless LAN system.
前記無線アクセスポイントにおいて、
前記モード切替手段は、動作モードを前記サポートモードへ切り替えた以降、前記広告送信手段により広告データが所定回数だけ送信された際に、動作モードを前記ノーマルモードへ切り替え直す
ことを特徴とする請求項20から22のいずれかに記載の無線LANシステム。
In the wireless access point,
The mode switching means switches the operation mode back to the normal mode when the advertisement data is transmitted a predetermined number of times after the operation mode is switched to the support mode. The wireless LAN system according to any one of 20 to 22.
前記無線ステーションにおいて、
無線アクセスポイントへの接続方法に関する設定内容が、前記方法設定手段による設定を経て無線アクセスポイントへの接続方法を設定する必要がある設定内容であるか否かを判定する内容判定手段と、
該内容判定手段により接続方法を設定する必要がある設定内容でないと判定された場合に、前記方法設定手段による設定が行われないようにする動作停止手段と、が備えられている
ことを特徴とする請求項1から23のいずれかに記載の無線LANシステム。
In the wireless station,
Content determination means for determining whether or not the setting content related to the connection method to the wireless access point is the setting content that needs to set the connection method to the wireless access point through the setting by the method setting means;
Operation stopping means for preventing setting by the method setting means when it is determined by the contents determination means that the connection method is not required to be set. The wireless LAN system according to any one of claims 1 to 23.
請求項1から24のいずれかに記載の無線ステーションとして機能する通信端末。   A communication terminal functioning as a wireless station according to any one of claims 1 to 24. 請求項1から24のいずれかに記載の無線アクセスポイントとして機能する通信端末。   A communication terminal that functions as a wireless access point according to any one of claims 1 to 24. 請求項13から15,請求項18,請求項19およびこれら請求項のみを引用する請求項のいずれかに記載の通信端末として機能する通信端末。   A communication terminal that functions as a communication terminal according to any one of claims 13 to 15, claim 18, claim 19, and claim 1 that cites only these claims. 請求項1から24のいずれかに記載の無線ステーションの備える全ての手段として機能させるための各種処理手順を、コンピュータシステムに実行させるための通信プログラム。   A communication program for causing a computer system to execute various processing procedures for causing the wireless station according to any one of claims 1 to 24 to function as all means. 請求項1から24のいずれかに記載の無線アクセスポイントの備える全ての手段として機能させるための各種処理手順を、コンピュータシステムに実行させるための通信プログラム。   A communication program for causing a computer system to execute various processing procedures for causing the wireless access point according to any one of claims 1 to 24 to function as all means. 請求項13から15,請求項18,請求項19およびこれら請求項のみを引用する請求項のいずれかに記載の通信端末として機能させるための各種処理手順を、コンピュータシステムに実行させるための通信プログラム。   A communication program for causing a computer system to execute various processing procedures for causing a computer to function as the communication terminal according to any one of claims 13 to 15, claim 18, claim 19, and claim claiming only these claims. .
JP2003362232A 2003-10-22 2003-10-22 Wireless lan system, communication terminal, and communications program Pending JP2005130126A (en)

Priority Applications (9)

Application Number Priority Date Filing Date Title
JP2003362232A JP2005130126A (en) 2003-10-22 2003-10-22 Wireless lan system, communication terminal, and communications program
US10/967,217 US20050130647A1 (en) 2003-10-22 2004-10-19 Wireless lan system, communication terminal and communication program
US10/969,066 US7924768B2 (en) 2003-10-22 2004-10-21 Wireless LAN system, communication terminal and communication program
EP04256507.7A EP1526444B1 (en) 2003-10-22 2004-10-22 Wireless lan system, communication terminal, and communications program
CN201210344964.9A CN102938887B (en) 2003-10-22 2004-10-22 Wireless LAN system, communication terminal and signal procedure
CN2009102115723A CN101730203B (en) 2003-10-22 2004-10-22 Wireless LAN system, communication terminal, and communications program
CNB2004100882959A CN100571174C (en) 2003-10-22 2004-10-22 Wireless LAN system, communication terminal and signal procedure
US12/659,123 US9078281B2 (en) 2003-10-22 2010-02-25 Wireless station and wireless LAN system
US14/741,142 US9877221B2 (en) 2003-10-22 2015-06-16 Wireless LAN system, and access point and station for the wireless LAN system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003362232A JP2005130126A (en) 2003-10-22 2003-10-22 Wireless lan system, communication terminal, and communications program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2007061907A Division JP2007151194A (en) 2007-03-12 2007-03-12 Wireless lan system, communication terminal, and communication program

Publications (1)

Publication Number Publication Date
JP2005130126A true JP2005130126A (en) 2005-05-19

Family

ID=34641947

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003362232A Pending JP2005130126A (en) 2003-10-22 2003-10-22 Wireless lan system, communication terminal, and communications program

Country Status (1)

Country Link
JP (1) JP2005130126A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008079306A (en) * 2006-09-07 2008-04-03 Nec (China) Co Ltd Handoff support method for access point facilitated fast handoff, access point, terminal, and system
JP2008205567A (en) * 2007-02-16 2008-09-04 Buffalo Inc Radio lan system, terminal and computer-readable recording medium
JP2008258880A (en) * 2007-04-04 2008-10-23 Matsushita Electric Ind Co Ltd Communication terminal, communication system and communication method
JP2012203623A (en) * 2011-03-25 2012-10-22 Brother Ind Ltd Information processing program, information processor and information processing method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003005641A (en) * 2001-06-25 2003-01-08 Nec Corp Method and apparatus for authentication in wireless lan system
JP2003046518A (en) * 2001-05-08 2003-02-14 Agere Systems Guardian Corp Network system
JP2003143156A (en) * 2001-11-01 2003-05-16 Seiko Epson Corp Station of radio network
JP2003163668A (en) * 2001-11-27 2003-06-06 Seiko Epson Corp Adaptor for radio network
JP2003188886A (en) * 2001-12-19 2003-07-04 Sony Corp Radio communication device, radio communication method, and storage medium
JP2003204335A (en) * 2001-10-29 2003-07-18 Nec Infrontia Corp Parameter setting system
JP2003204338A (en) * 2002-01-09 2003-07-18 Nec Corp Radio lan system, method for controlling accessing and program
JP2003218885A (en) * 2002-01-18 2003-07-31 Ricoh Co Ltd Radio network terminal
WO2003071690A2 (en) * 2002-02-20 2003-08-28 Koninklijke Philips Electronics N.V. Wireless communication arrangements with a discovery procedure
JP2003274454A (en) * 2002-03-13 2003-09-26 Ntt Docomo Inc Wireless communication terminal, wireless communication module, program, recording medium, wireless communication network, and communication control method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003046518A (en) * 2001-05-08 2003-02-14 Agere Systems Guardian Corp Network system
JP2003005641A (en) * 2001-06-25 2003-01-08 Nec Corp Method and apparatus for authentication in wireless lan system
JP2003204335A (en) * 2001-10-29 2003-07-18 Nec Infrontia Corp Parameter setting system
JP2003143156A (en) * 2001-11-01 2003-05-16 Seiko Epson Corp Station of radio network
JP2003163668A (en) * 2001-11-27 2003-06-06 Seiko Epson Corp Adaptor for radio network
JP2003188886A (en) * 2001-12-19 2003-07-04 Sony Corp Radio communication device, radio communication method, and storage medium
JP2003204338A (en) * 2002-01-09 2003-07-18 Nec Corp Radio lan system, method for controlling accessing and program
JP2003218885A (en) * 2002-01-18 2003-07-31 Ricoh Co Ltd Radio network terminal
WO2003071690A2 (en) * 2002-02-20 2003-08-28 Koninklijke Philips Electronics N.V. Wireless communication arrangements with a discovery procedure
JP2003274454A (en) * 2002-03-13 2003-09-26 Ntt Docomo Inc Wireless communication terminal, wireless communication module, program, recording medium, wireless communication network, and communication control method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008079306A (en) * 2006-09-07 2008-04-03 Nec (China) Co Ltd Handoff support method for access point facilitated fast handoff, access point, terminal, and system
JP2008205567A (en) * 2007-02-16 2008-09-04 Buffalo Inc Radio lan system, terminal and computer-readable recording medium
JP2008258880A (en) * 2007-04-04 2008-10-23 Matsushita Electric Ind Co Ltd Communication terminal, communication system and communication method
JP2012203623A (en) * 2011-03-25 2012-10-22 Brother Ind Ltd Information processing program, information processor and information processing method

Similar Documents

Publication Publication Date Title
JP6368989B2 (en) Communication device
JP5541333B2 (en) Wireless LAN access point, wireless LAN system, wireless LAN station, and wireless LAN setting method
US9444874B2 (en) Automatic Ad-Hoc network creation and coalescing using WPS
JP5185081B2 (en) Wireless terminal device, communication method, and communication program
JP4656637B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM AND COMMUNICATION PARAMETER SETTING METHOD
EP1526444B1 (en) Wireless lan system, communication terminal, and communications program
US7903646B2 (en) Wireless communication system allowing group identification information to be publicly available and to be hidden, wireless access point device, and communication method and program for wireless access point device
JP2007151195A (en) Wireless lan system, communication terminal and communication program
JP4844612B2 (en) Wireless communication apparatus, connection method and program
EP2077021B1 (en) Setting method of communication parameters, communicating apparatus, control method of communicating apparatus, and program
US20140189824A1 (en) Communication system, communication apparatus and method for setting communication parameters of the apparatus
US20090274065A1 (en) Method and apparatus for setting wireless local area network by using button
CN101772199A (en) Method and device for establishing D2D network
JP2006352280A (en) Communication parameter setting method and communication apparatus
US20110142241A1 (en) Communication apparatus configured to perform encrypted communication and method and program for controlling the same
JP2006352577A (en) Radio communication system, radio communication setting method, radio communication apparatus, radio communication setting program, and storage medium thereof
JP3951986B2 (en) Wireless station
JP4777229B2 (en) Communication system, management apparatus, control method for management apparatus, and computer program for causing computer to execute the control method
JP2007151194A (en) Wireless lan system, communication terminal, and communication program
JP5279296B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM, AND STORAGE MEDIUM
JP2005130126A (en) Wireless lan system, communication terminal, and communications program
JP2005130124A (en) Radio lan system, communication terminal and communication program
JP4488015B2 (en) Network system
JP2010200371A (en) Wireless lan access point, wireless lan system, wireless lan station and wireless lan setting method
JP3888352B2 (en) Wireless LAN setting program, communication terminal, wireless LAN system, and wireless LAN setting method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060612

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070109

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070312

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071002

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071203

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080110

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080116

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20080314

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100112