JP5958607B2 - Wireless LAN system, access point, station, communication terminal and communication program - Google Patents

Wireless LAN system, access point, station, communication terminal and communication program Download PDF

Info

Publication number
JP5958607B2
JP5958607B2 JP2015113695A JP2015113695A JP5958607B2 JP 5958607 B2 JP5958607 B2 JP 5958607B2 JP 2015113695 A JP2015113695 A JP 2015113695A JP 2015113695 A JP2015113695 A JP 2015113695A JP 5958607 B2 JP5958607 B2 JP 5958607B2
Authority
JP
Japan
Prior art keywords
station
data
access point
ssid
wireless lan
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.)
Expired - Fee Related
Application number
JP2015113695A
Other languages
Japanese (ja)
Other versions
JP2015188250A (en
Inventor
松田 誠
誠 松田
大原 清孝
清孝 大原
田川 典生
典生 田川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2015113695A priority Critical patent/JP5958607B2/en
Publication of JP2015188250A publication Critical patent/JP2015188250A/en
Application granted granted Critical
Publication of JP5958607B2 publication Critical patent/JP5958607B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

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 for both other wireless stations is switched to “ad-hoc mode”, and data related to settings is exchanged between the two wireless stations to 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).

この技術であれば、操作性の高いユーザインタフェースを有していない無線ステーションにおいて、各種設定を行うための作業に要する手間を軽減することができる。   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.

特開2003−143156号公報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 aspect 1, 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 in advance to any one of the plurality of connection methods. A wireless LAN system that enables data communication between a wireless station and a wireless access point by setting to the same connection method as the wireless access point.

具体的な構成として、まず、無線ステーションは、方法切替手段,広告送信手段および方法設定手段を備えている。これらのうち、方法切替手段は、無線アクセスポイントへの接続方法を複数の接続方法それぞれへ所定期間間隔で順番に切り替える。また、広告送信手段は、方法切替手段により接続方法が切り替えられる毎に、こうして切り替えられた接続方法を周囲へ広告するための広告データを、この接続方法に基づいて送信する。そして、方法設定手段は、広告送信手段により広告データが送信されてから、方法切替手段により次の接続方法に切り替えられるまでの間に、送信された広告データと同一の接続方法による無線接続が可能である旨を通知するための通知データを受信したとき、方法切替手段による接続方法の切り替えを停止させることにより、こうして停止させた時点における接続方法を前記無線アクセスポイントと無線接続するための接続方法として設定する。一方、無線アクセスポイントは、あらかじめ設定されている接続方法に基づいて送信されてきた広告データを無線ステーションから受信した際に、この無線ステーションへ通知データを返信する通知返信手段を備えている。   As a specific configuration, first, the wireless station includes a method switching unit, an advertisement transmission unit, and a method setting unit. Among these, the method switching means sequentially switches the connection method to the wireless access point to each of the plurality of connection methods at predetermined time intervals. Further, each time the connection method is switched by the method switching unit, the advertisement transmission unit transmits advertisement data for advertising the connection method thus switched to the surroundings based on the connection method. The method setting means can establish a wireless connection by the same connection method as the transmitted advertisement data after the advertisement data is transmitted by the advertisement transmitting means and before the method switching means switches to the next connection method. A connection method for wirelessly connecting to the wireless access point the connection method at the time of stopping by stopping the switching of the connection method by the method switching means when the notification data for notifying that is received Set as. On the other hand, the wireless access point includes notification return means for returning notification data to the wireless station when advertisement data transmitted based on a preset connection method is received from the wireless station.

このように構成された無線LANシステムおいて、無線ステーションは、接続方法を順番に切り替えながら各々の接続方法に基づいて広告データを送信する。この広告データは、同一の接続方法(広告データを送信した時点における無線ステーションの接続方法)が設定されている無線アクセスポイントに受信され、この無線アクセスポイントが、受信した広告データと同一の接続方法による無線接続が可能である旨を、通知データの返信により無線ステーションへ通知する。そして、この通知データの返信を受けた無線ステーションは、通知データで通知された接続方法、つまり無線アクセスポイントにおいて設定されている接続方法と同一の接続方法を設定する。こうして、無線ステーションが無線アクセスポイントと同一の接続方法に設定されることにより、両者間で無線接続できる状態となる。   In the wireless LAN system configured as described above, the wireless station transmits advertisement data based on each connection method while sequentially switching the connection methods. This advertisement data is received by a wireless access point in which the same connection method (wireless station connection method at the time of transmitting the advertisement data) is set, and this wireless access point is the same connection method as the received advertisement data. The wireless station is notified by replying notification data that wireless connection is possible. Then, the wireless station that has received the reply of the notification data sets the connection method notified by the notification data, that is, the same connection method as the connection method set in the wireless access point. 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, the connection method to the wireless access point is automatically set by the method setting unit through the switching of the connection method by the method switching unit and the transmission of the advertisement data by the advertisement transmission unit. . Therefore, the load on the user with respect to the setting of the wireless LAN can be greatly reduced.

また、方法設定手段によって、通知データを受信したときに接続方法の切り替えを停止させるだけで、こうして停止させた時点における接続方法、つまり無線アクセスポイントにおいて設定されている接続方法と同一の接続方法を設定することができる。   In addition, when the notification data is received by the method setting means, only the connection method switching is stopped, and the connection method at the time of the stop, that is, the same connection method set in the wireless access point Can be set.

なお、上述の「接続方法」とは、例えば、無線接続する際に採用される無線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.

また、無線ステーションにおいて、広告送信手段により送信される「広告データ」とは、方法切替手段により切り替えられた接続方法を周囲へ広告するためのデータであって、接続方法そのものを示すパラメータがデータの中身として含まれていればよい。ただ、無線アクセスポイントが、あらかじめ設定されている接続方法でのみデータを受信する構成であれば、広告データを受信した時点で、この広告データにより広告された接続方法が、自身に設定された接続方法と同一であることを特定できるため、この場合は、接続方法を示すパラメータが含まれていなくてもよい。   In the wireless station, the “advertisement data” transmitted by the advertisement transmitting means is data for advertising the connection method switched by the method switching means to the surroundings, and the parameter indicating the connection method itself is data. It only has to be included as content. However, if the wireless access point is configured to receive data only using a preset connection method, the connection method advertised by this advertisement data when the advertisement data is received is the connection set to itself. In this case, the parameter indicating the connection method may not be included because it can be specified that the method is the same.

また、上述の無線ステーションにおける方法切替手段が接続方法の切り替えを開始するタイミングについては、特に限定されないが、例えば、態様の無線LANシステムは、外部からの指令を受けた際に接続方法を切り替え始める、ように構成すればよい。 The timing at which the method switching means in the wireless station starts switching the connection method is not particularly limited. For example, the wireless LAN system according to aspect 2 switches the connection method when receiving an external command. It can be configured to start.

このように構成すれば、無線ステーションに対する接続方法の設定を、外部から明示的に指令することができる。
なお、この構成における「外部からの指令」とは、例えば、無線ステーションの備える操作部に対して行われたユーザによる特定の操作や、無線ステーションとデータ通信可能に接続された通信端末からのデータなどのことである。
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 is, for example, a specific operation performed by the user on the operation unit provided in the wireless station, or data from a communication terminal connected to the wireless station so that data communication is possible. And so on.

また、上述した無線アクセスポイントにおいて、通知返信手段は、広告データを無線ステーションから受信した際に、この無線ステーションへ通知データを返信する手段であり、この通知データは、あらかじめ設定された接続方法に基づいて返信される。   In the wireless access point described above, the notification return means is means for returning the notification data to the wireless station when the advertisement data is received from the wireless station. The notification data is transmitted to a predetermined connection method. Reply based on.

また、この通知返信手段は、態様の無線LANシステムは、あらかじめ設定されている接続方法に基づいて送信されてきた広告データを受信した際に、無線アクセスポイント自身に対して無線接続の許可を要求させるための要求催促データを通知データとして無線ステーションへ返信し、その後、この無線ステーションから無線接続の許可を要求するためのデータであるアソシエーション要求が送信されてきたら、無線アクセスポイント自身への無線接続を許可する旨のアソシエーション応答を返信する、ように構成するとよい。 In addition, when the wireless LAN system according to aspect 3 receives the advertisement data transmitted based on the connection method set in advance, the notification reply unit permits wireless connection to the wireless access point itself. The request prompting data for requesting is sent back to the wireless station as notification data. After that, when an association request, which is data for requesting permission for wireless connection, is transmitted from this wireless station, wireless communication to the wireless access point itself is performed. It is good to comprise so that the association response which permits a connection may be returned.

このように構成すれば、無線ステーション側で接続方法の設定がなされた後、アソシエーション要求,応答のやりとりを経て、無線アクセスポイントと無線ステーションとの無線接続を実現することができる。   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 association requests and responses.

また、上述した通知返信手段は、広告データを受信した際、どのような広告データであるかに拘わらず通知データを返信するように構成すればよいが、態様の無線LANシステムは、あらかじめ設定されている接続方法に基づき所定の条件を満たす広告データを送信してきた無線ステーションへ通知データを返信する、ように構成してもよい。 The notification reply unit described above, when receiving the advertisement data, what may be configured to return a notification data regardless of whether the advertisement data, the wireless LAN system of embodiment 4, preset The notification data may be returned to the wireless station that has transmitted the advertisement data satisfying the predetermined condition based on the connected connection method.

このように構成すれば、無線アクセスポイントは、所定の条件を満たす広告データを送信してきた無線ステーションのみに、通知データを送信して接続方法を設定させることができる。   With this configuration, the wireless access point can transmit the notification data and set the connection method only to the wireless station that has transmitted the advertisement data that satisfies the predetermined condition.

なお、この構成における「所定の条件」は、その具体的な内容は特に限定されないが、無線ステーション側では、通知データを受信するまで接続方法が繰り返し切り替えられることになるため、例えば、このような繰り返しを経て「2回以上送信されてきた広告データ」を条件とすることが考えられる。   Note that the specific content of the “predetermined condition” in this configuration is not particularly limited, but the connection method is repeatedly switched until the notification data is received on the wireless station side. It is conceivable that the condition is “advertisement data that has been transmitted more than once” after repeated.

このためには、態様の無線LANシステムは、無線アクセスポイントおいて、あらかじめ設定されている接続方法に基づいて送信されてくる広告データを所定期間にわたり収集する広告収集手段が備えられ、通知返信手段は、広告収集手段による広告データの収集が行われた後、こうして収集された広告データのうち、いずれかの広告データと同一の接続方法に基づいて広告データを送信してきた無線ステーションへ通知データを返信する、ように構成すればよい。 For this purpose, the wireless LAN system according to aspect 5 is provided with advertisement collecting means for collecting advertisement data transmitted based on a connection method set in advance at a wireless access point over a predetermined period of time. After the advertisement data is collected by the advertisement collection means, the notification data is transmitted to the wireless station that has transmitted the advertisement data based on the same connection method as any one of the advertisement data thus collected. May be configured to reply.

このように構成すれば、無線アクセスポイントは、2回以上繰り返し広告データを送信してきた無線ステーションに対し、通知データを返信して接続方法を設定させることができる。   With this configuration, the wireless access point can return the notification data and set the connection method to the wireless station that has repeatedly transmitted the advertisement data twice or more.

なお、この構成における広告収集手段は、上述したのと同様、広告データを収集する手段であり、通知返信手段に先立って、無線ステーション側から受信される広告データを所定期間にわたり収集する。   Note that the advertisement collecting means in this configuration is a means for collecting advertisement data as described above, and collects advertisement data received from the wireless station side for a predetermined period prior to the notification reply means.

また、上述した「所定の条件」としては、受信レベルが最も大きい広告データを条件とすることも考えられる。
このためには、態様の無線LANシステムは、無線アクセスポイントにおいて、あらかじめ設定されている接続方法に基づいて送信されてくる広告データを所定期間にわたり収集する広告収集手段が備えられ、通知返信手段は、広告収集手段により収集された広告データのうち、受信レベルが最も大きかった広告データと同一の接続方法に基づいて広告データを送信してきた無線ステーションへ通知データを返信する、ように構成すればよい。
In addition, as the “predetermined condition” described above, it is conceivable to use advertisement data having the highest reception level as a condition.
For this purpose, the wireless LAN system according to aspect 6 is provided with advertisement collecting means for collecting advertisement data transmitted based on a preset connection method at a wireless access point over a predetermined period, and a notification reply means. Is configured to return notification data to the wireless station that has transmitted the advertisement data based on the same connection method as the advertisement data having the highest reception level among the advertisement data collected by the advertisement collecting means. Good.

このように構成すれば、無線アクセスポイントは、受信レベルが最も大きい広告データを送信してきた無線ステーションに、通知データを返信して接続方法を設定させることができる。   With this configuration, the wireless access point can return the notification data and set the connection method to the wireless station that has transmitted the advertisement data having the highest reception level.

また、このように、受信レベルが最も大きい広告データを送信してきた無線ステーションに通知データを返信することは、無線ステーションの接続方法が、本来設定すべき無線アクセスポイントの接続方法以外の接続方法に誤って設定されてしまうことを防止するのに好適である。   In addition, in this way, returning the notification data to the wireless station that has transmitted the advertisement data with the highest reception level means that the connection method of the wireless station is different from the connection method of the wireless access point to be originally set. This is suitable for preventing erroneous setting.

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

ところが、上述のように、受信レベルの最も大きかった通知データと同一の接続方法を無線アクセスポイントへの接続方法として設定できるため、無線アクセスポイントと無線ステーションとを、無線通信時の受信レベルが高くなるように近づけておくだけで、他の無線アクセスポイントからの通知データに基づいて誤った接続方法が設定されることを防止できる。 However, as described above, since the same connection method as the notification data having the highest reception level can be set as the connection method to the wireless access point, the reception level at the time of 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 notification data from other wireless access points simply by making them close to each other.

なお、この構成における広告収集手段は、上述したのと同様、無線ステーション側から受信される広告データを所定期間にわたり収集する。
また、上述した無線アクセスポイントにおける通知返信手段は、態様の無線LANシステムは、あらかじめ設定されている接続方法に基づいて送信されてくる広告データのうち、外部からの指令に基づいて決定される広告データを送信してきた無線ステーションへ通知データを返信する、ように構成してもよい。
Note that the advertisement collecting means in this configuration collects advertisement data received from the wireless station side over a predetermined period, as described above.
In addition, the above-described notification return means in the wireless access point is determined based on an external command among the advertisement data transmitted based on the connection method set in advance in the wireless LAN system of aspect 7. The notification data may be returned to the wireless station that has transmitted the advertisement data.

このように構成すれば、無線アクセスポイントは、外部からの指令に基づいて決定される広告データを送信できる無線ステーションのみに、通知データを返信して接続方法を設定させることができる。   If comprised in this way, the wireless access point can return notification data and set a connection method only to the wireless station which can transmit the advertisement data determined based on the command from the outside.

また、この無線アクセスポイントにおいては、態様の無線LANシステムは、あらかじめ設定されている接続方法に基づいて送信されてくる広告データを所定期間にわたり収集する広告収集手段を備え、通知返信手段が、広告収集手段による広告データの収集後、こうして収集された広告データのうち、外部からの指令に基づいて決定される広告データと同一の接続方法に基づいて広告データを送信してきた無線ステーションへ通知データを返信する、ように構成するとよい。 Further, in this wireless access point, the wireless LAN system of aspect 8 includes an advertisement collecting unit that collects advertisement data transmitted based on a preset connection method over a predetermined period, and a notification reply unit includes: After the advertisement data is collected by the advertisement collecting means, notification data to the wireless station that has transmitted the advertisement data based on the same connection method as the advertisement data determined based on the command from the outside among the advertisement data thus collected It may be configured to reply.

このように構成すれば、無線アクセスポイントは、広告収集手段により収集された広告データのうち、外部からの指令に基づいて決定される広告データを送信できる無線ステーションのみに、通知データを返信して接続方法を設定させることができる。   If comprised in this way, a wireless access point will return notification data only to the wireless station which can transmit the advertisement data determined based on the instruction | command from the outside among the advertisement data collected by the advertisement collection means. Connection method can be set.

なお、この構成における広告収集手段は、上述したのと同様、無線ステーション側から受信される広告データを所定期間にわたり収集する。ここで収集する広告データは、例えば、接続方法を特定できる状態でメモリ等に記憶させておけばよい。この場合、通知返信手段は、収集した広告データのうち、外部からの指令に基づいて決定される広告データを送信してきた無線ステーションへ通知データを送信するように構成すればよい。   Note that the advertisement collecting means in this configuration collects advertisement data received from the wireless station side over a predetermined period, as described above. The advertisement data collected here may be stored in a memory or the like in a state where the connection method can be specified, for example. In this case, the notification reply unit may be configured to transmit the notification data to the wireless station that has transmitted the advertisement data determined based on the command from the outside among the collected advertisement data.

また、この構成における「外部からの指令」、例えば、無線ステーションの備える操作部に対して行われたユーザによる所定の操作のこととした、態様11の無線LANシステムを構成することが考えられる。 In addition, it is conceivable to configure the wireless LAN system of aspect 11 in which the “command from the outside” in this configuration is , for example, a predetermined operation by the user performed on the operation unit provided in the wireless station. .

態様9の無線LANシステムは、無線アクセスポイントにおいて、広告収集手段による広告データの収集が行われた後、こうして収集された広告データそれぞれの送信元である無線ステーションの中から、1以上の無線ステーションをユーザに選択させる第1ユーザ選択手段が備えられ、通知返信手段は、第1ユーザ選択手段によりユーザに選択させた無線ステーションへ通知データを返信する。 In the wireless LAN system according to aspect 9, after the advertisement data is collected by the advertisement collection unit in the wireless access point, one or more wireless stations are selected from the wireless stations that are the transmission sources of the advertisement data thus collected. The first user selection means for causing the user to select is provided, and the notification reply means returns the notification data to the radio station selected by the user by the first user selection means.

このように構成すれば、無線アクセスポイントは、ユーザにより任意に選択された無線ステーションのみに、通知データを返信して接続方法を設定させることができる。
また、ユーザによる所定の操作を「外部の指令」とした態様10の無線LANシステムを構成することも考えられる。
According to this configuration, the wireless access point can return the notification data and set the connection method only to the wireless station arbitrarily selected by the user.
It is also conceivable to configure the wireless LAN system of aspect 10 in which a predetermined operation by the user is “external command”.

態様10の無線LANシステムは、無線ステーションにおいて、広告送信手段は、無線ステーション自身を識別するための識別データを対応づけた状態で広告データを送信して、アクセスポイントにおいて、広告収集手段は、広告データをこの広告データに対応する識別データと共に収集するように構成され、さらに、広告収集手段による広告データの収集が行われた後、こうして収集された広告データそれぞれに対応する識別データの中から、1以上の識別データをユーザに選択させる第2ユーザ選択手段が備えられ、通知返信手段は、第2ユーザ選択手段によりユーザに選択させた識別データで識別される無線ステーションへ通知データを返信する。 In the wireless LAN system according to aspect 10, in the wireless station, the advertisement transmission unit transmits the advertisement data in a state in which the identification data for identifying the wireless station itself is associated. The data is configured to be collected together with the identification data corresponding to the advertisement data, and after the advertisement data is collected by the advertisement collecting means, the identification data corresponding to each of the collected advertisement data is Second user selection means for allowing the user to select one or more pieces of identification data is provided, and the notification reply means returns the notification data to the wireless station identified by the identification data selected by the user by the second user selection means.

このように構成すれば、無線アクセスポイントは、ユーザにより任意に選択された識別データで識別される無線ステーションのみに、通知データを返信して接続方法を設定させることができる。   With this configuration, the wireless access point can return the notification data only to the wireless station identified by the identification data arbitrarily selected by the user and set the connection method.

また、上述した態様8における「外部からの指令」、無線ステーションとデータ通信可能に接続された通信端末からのデータとし態様11の無線LANシステムを構成することが考えられる。 Further, the "instruction from outside" in aspects 8 described above, and the data from the radio station and data communicably connected communication terminal, it is conceivable to configure a wireless LAN system embodiment 11.

態様11の無線LANシステムは、無線アクセスポイントにおいて、通知返信手段は、無線アクセスポイント自身とデータ通信可能に接続された通信端末からの指令を受けて、通知データを返信すべき無線ステーションを決定する。 In the wireless LAN system according to aspect 11, in the wireless access point, the notification return means receives a command from a communication terminal connected to the wireless access point itself so as to perform data communication, and determines a wireless station to which the notification data should be returned. .

このように構成すれば、無線アクセスポイントは、広告収集手段により収集された広告データのうち、通信端末からの指令に基づいて決定される広告データを送信してきた無線ステーションのみに、通知データを送信して接続方法を設定させることができる。   If comprised in this way, a wireless access point will transmit notification data only to the wireless station which has transmitted the advertisement data determined based on the instruction | command from a communication terminal among the advertisement data collected by the advertisement collection means. To set the connection method.

なお、この構成において、通信端末との間で指令をやりとりするには、例えば、態様12の無線LANシステムが考えられる。
態様12の無線LANシステムにおいて、無線アクセスポイントは、広告収集手段と一覧送信手段とが備えられている。これらのうち、広告収集手段は、あらかじめ設定されている接続方法に基づいて送信されてくる広告データを所定期間にわたり収集し、こうして収集した広告データ、および、この広告データの送信元である無線ステーションの対応関係を記憶部へ記憶させる。また、一覧送信手段は、広告収集手段により対応関係が記憶された無線ステーションの一覧を要求する旨の要求データを、通信端末から受信した際に、一覧を示す一覧データを通信端末側へ送信する。さらに、通知返信手段は、一覧送信手段により一覧データが通信端末へ送信され、その後、この通信端末側において一覧データで示される一覧の中から選択された1以上の無線ステーションを示す選択データを通信端末から受信した以降、この選択データで示される無線ステーションに対応する広告データと同一の接続方法で送信された広告データを無線ステーションから受信した際に、この無線ステーションへ通知データを返信する、ように構成されている。一方、通信端末においては、要求送信手段,第3ユーザ選択手段および選択送信手段が備えられている。これらのうち、要求送信手段は、無線アクセスポイントに対して、要求データを送信する。また、第3ユーザ選択手段は、要求送信手段により要求データが前記無線アクセスポイントへ送信された後、この無線アクセスポイントから一覧データを受信した際に、この一覧データで示される一覧の中から1以上の無線ステーションをユーザに選択させる。そして、選択送信手段は、第3ユーザ選択手段によりユーザに選択させた1以上の無線ステーションを示す選択データを無線アクセスポイントへ送信する。
In this configuration, for example, the wireless LAN system of aspect 12 can be considered to exchange commands with the communication terminal.
In the wireless LAN system according to aspect 12, the wireless access point includes an advertisement collection unit and a list transmission unit. Among these, the advertisement collection means collects advertisement data transmitted based on a preset connection method over a predetermined period, and thus collects the advertisement data and the wireless station that is the transmission source of this advertisement data Are stored in the storage unit. The list transmitting means transmits the list data indicating the list to the communication terminal side when receiving request data from the communication terminal for requesting a list of wireless stations whose correspondence is stored by the advertisement collecting means. . Further, the notification reply means transmits the list data transmitted from the list transmission means to the communication terminal, 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 wireless station the advertisement data transmitted by the same connection method as the advertisement data corresponding to the wireless station indicated by this selection data after receiving from the terminal, the notification data is returned to this wireless station. It is configured. On the other hand, the communication terminal is provided with request transmission means, third user selection means, and selective transmission means. Of these, the request transmission means transmits request data to the wireless access point. Further, the third user selecting means receives the list data from the wireless access point after the request data is transmitted to the wireless access point by the request transmitting means, and the first user selecting means selects one from the list indicated by the list data. The user selects the above radio station. The selective 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.

このように構成すれば、無線アクセスポイントは、広告収集手段により収集された対応関係に基づき通信端末側でユーザが任意に選択した無線ステーションのみに、通知データを送信して接続方法を設定させることができる。   If comprised in this way, a wireless access point will transmit notification data only to the wireless station which the user arbitrarily selected on the communication terminal side based on the correspondence collected by the advertisement collection means, and will make it set a connection method Can do.

なお、この構成における広告収集手段は、上述したのと同様、無線ステーション側から受信される広告データを所定期間にわたり収集する。ここで収集する広告データは、例えば、送信元である無線ステーションおよび接続方法の対応関係を特定できる状態でメモリ等に記憶させておけばよい。この場合、一覧送信手段は、記憶させた対応関係で特定される無線ステーションの一覧を示す一覧データを通信端末側へ送信するように構成すればよい。   Note that the advertisement collecting means in this configuration collects advertisement data received from the wireless station side over a predetermined period, as described above. The advertisement data collected here may be stored in a memory or the like in a state where the correspondence between the wireless station that is the transmission source and the connection method can be specified. In this case, the list transmitting means may be configured to transmit list data indicating a list of wireless stations specified by the stored correspondence relationship to the communication terminal side.

また、上述した態様11の無線LANシステムにおいて、通信端末との間で指令をやりとりするには、態様13の無線LANシステムのような構成を考えることもできる。
態様13の無線LANシステムにおいて、無線ステーションは、広告送信手段が、無線ステーション自身を識別するための識別データを対応づけた状態で広告データを送信する。また、無線アクセスポイントは、広告収集手段および一覧送信手段が備えられている。これらのうち、広告収集手段は、あらかじめ設定されている接続方法に基づいて送信されてくる広告データをこの広告データに対応する識別データと共に所定期間にわたり収集し、こうして収集した広告データおよび識別データの対応関係を記憶部へ記憶させる。また、一覧送信手段は、広告収集手段により対応関係が記憶された識別データの一覧を要求する旨の要求データを、通信端末から受信した際に、一覧を示す一覧データを通信端末側へ送信する。さらに、通知返信手段が、一覧送信手段により一覧データが通信端末へ送信され、その後、この通信端末側において一覧データで示される一覧の中から選択された1以上の識別データを示す選択データを通信端末から受信した以降、この選択データで示される識別データに対応する広告データと同一の接続方法で送信された広告データを無線ステーションから受信した際に、この無線ステーションへ通知データを返信する、ように構成されている。そして、通信端末においては、要求送信手段,第4ユーザ選択手段および選択送信手段が備えられている。これらのうち、要求送信手段は、無線アクセスポイントに対して要求データを送信する。また、第4ユーザ選択手段は、要求送信手段により要求データが無線アクセスポイントへ送信された後、この無線アクセスポイントから一覧データを受信した際に、この一覧データで示される一覧の中から1以上の識別データをユーザに選択させる。また、選択送信手段は、第4ユーザ選択手段によりユーザに選択させた1以上の無線ステーションを示す選択データを無線アクセスポイントへ送信する。
In addition, in the wireless LAN system of aspect 11 described above, a configuration like the wireless LAN system of aspect 13 can be considered in order to exchange commands with communication terminals.
In the wireless LAN system according to aspect 13, the wireless station transmits the advertisement data in a state in which the advertisement transmission means is associated with identification data for identifying the wireless station itself. The wireless access point is provided with advertisement collection means and list transmission means. Among these, the advertisement collecting means collects advertisement data transmitted based on a preset connection method together with identification data corresponding to this advertisement data over a predetermined period, and thus the collected advertisement data and identification data are collected. The correspondence relationship is stored in the storage unit. The list transmission means transmits the list data indicating the list to the communication terminal side when receiving request data from the communication terminal requesting the list of identification data for which the correspondence is stored by the advertisement collecting means. . Further, the notification reply 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 wireless station the advertisement data transmitted by the same connection method as the advertisement data corresponding to the identification data indicated by the selection data after being received from the terminal, the notification data is returned to the wireless station. It is configured. The communication terminal includes request transmission means, fourth user selection means, and selection transmission means. Among these, the request transmission means transmits request data to the wireless access point. Further, the fourth user selecting means receives one or more of the lists indicated by the list data when receiving the list data from the wireless access point after the request data is transmitted to the wireless access point by the request transmitting means. Let the user select the identification data. The selection 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.

このように構成すれば、無線アクセスポイントは、広告収集手段により収集された対応関係に基づき通信端末側でユーザが任意に選択した識別データに対応する広告データと同一の接続方法で広告データを送信できる無線ステーションのみに、通知データを送信して接続方法を設定させることができる。   If comprised in this way, a wireless access point will transmit advertisement data with the same connection method as the advertisement data corresponding to the identification data arbitrarily selected by the user on the communication terminal side based on the correspondence relationship collected by the advertisement collecting means. Only the wireless station that can be used can transmit the notification data and set the connection method.

なお、この構成における広告収集手段は、上述したのと同様、無線ステーション側から受信される広告データを所定期間にわたり収集する。ここで収集する広告データは、例えば、この広告データに対応する識別データおよび接続方法(または、広告データそのもの)の対応関係を特定できる状態でメモリ等に記憶させておけばよい。この場合、一覧送信手段は、記憶させた対応関係で特定される識別データの一覧を示す一覧データを通信端末側へ送信するように構成すればよい。   Note that the advertisement collecting means in this configuration collects advertisement data received from the wireless station side over a predetermined period, as described above. The advertisement 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 advertisement data and the connection method (or the advertisement 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.

また、態様14の無線LANシステムは、上述した無線アクセスポイントのうち、広告収集手段を備えているものを備えている
態様14の無線LANシステムは、無線ステーションにおいて、広告送信手段が、無線ステーション自身を識別するための識別データを対応づけた状態で広告データを送信する。一方、無線アクセスポイントにおいて、広告収集手段が、広告データをこの広告データに対応する識別データと共に収集して、通知返信手段が、広告収集手段により収集された広告データと、この広告データに対応する識別データが同一の広告データを送信してきた無線ステーションにのみ通知データを返信する。
Further, the wireless LAN system of embodiment 14, of the wireless access point described above, and includes what has advertising collection means.
In the wireless LAN system according to aspect 14, in the wireless station, the advertisement transmission means transmits the advertisement data in a state in which identification data for identifying the wireless station itself is associated. On the other hand, in the wireless access point, the advertisement collecting means collects the advertisement data together with the identification data corresponding to the advertisement data, and the notification reply means corresponds to the advertisement data collected by the advertisement collecting means and the advertisement data. The notification data is returned only to the wireless station that has transmitted the advertisement data having the same identification data.

このように構成すれば、無線アクセスポイントは、広告収集手段により収集された広告データと同一の接続方法で広告データを受信しても、この広告データと共に送信される識別データが、先に広告データと共に収集された識別データと一致しなければ、通知データが送信されずに接続方法を設定させることがない。これにより、無線アクセスポイント側で収集された広告データを偽装して送信することにより不正に無線アクセスポイントへの無線接続を試みる無線ステーションを、無線アクセスポイントへ無線接続させてしまうことを防止できる。   If comprised in this way, even if a wireless access point receives advertisement data by the same connection method as the advertisement data collected by the advertisement collection means, the identification data transmitted together with this advertisement data will be the advertisement data first. If it does not match the identification data collected together, the notification method is not transmitted and the connection method is not set. Accordingly, it is possible to prevent a wireless station that attempts to wirelessly connect to the wireless access point by impersonating and transmitting the advertisement data collected on the wireless access point side from being wirelessly connected to the wireless access point.

なお、上述した広告収集手段を備えている構成においては、通知返信手段が、広告収集手段による広告データの収集が行われた後、こうして収集された広告データと同一の接続方法に基づいて送信されてきた広告データを無線ステーションから受信した際に、この無線ステーションへ通知データを返信する、態様15の無線LANシステムを構成することが望ましい。 In the configuration including the advertisement collecting means described above, the notification reply means is transmitted based on the same connection method as the advertisement data collected after the advertisement data is collected by the advertisement collecting means. When the received advertisement data is received from the wireless station, it is desirable to configure the wireless LAN system according to aspect 15 in which notification data is returned to the wireless station.

このように構成すれば、無線アクセスポイントは、通知データを、無線ステーションが広告データを送信してきたタイミング、つまり無線ステーション側においてデータの送受信が可能な状態となっているタイミングで送信することができる。これにより、無線アクセスポイントから送信された通知データを、確実に無線ステーション側にて受信させることができる。   With this configuration, the wireless access point can transmit the notification data at a timing at which the wireless station has transmitted the advertisement data, that is, a timing at which data transmission / reception is possible on the wireless station side. . Thereby, the notification data transmitted from the wireless access point can be reliably received on the wireless station side.

ところで、以上説明した無線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.

そのため、ユーザにより操作を行わせることなく正常にデータ通信を行うことができるようにするためには、無線アクセスポイントが、通知返信手段により通知データを返信した以降、無線アクセスポイント自身におけるデータ通信が第1暗号キーにより暗号化された状態で行われるように設定されている場合に、通知データが返信された無線ステーションとの間におけるデータ通信についてのみ、暗号化方法を切り替えて暗号化せずに行うようにする暗号切替手段を備える態様16の無線LANシステムとするとよい。 Therefore, in order to enable normal data communication without any operation by the user, after the wireless access point returns the notification data by the notification return means, the data communication in the wireless access point itself is not performed. When it is set to be performed in the state encrypted with the first encryption key, only the data communication with the wireless station to which the notification data is returned is switched without changing the encryption method. The wireless LAN system according to aspect 16 may be provided with encryption switching means to perform.

このように構成すれば、無線アクセスポイントがデータ通信を暗号化して行うように設定されていたとしても、無線ステーションに対し暗号化してデータ通信を行うように設定することなく正常にデータ通信を行うことができるようになる。これにより、無線アクセスポイントが他の無線ステーションまたは外部ネットワークとの間で行うデータ通信についてのセキュリティレベルを維持したまま、無線アクセスポイントと無線ステーションとのデータ通信を実現することができる。   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の無線LANシステムを考えることもできる。
態様17に記載の無線LANシステムは、アクセスポイントにおいて、通知返信手段は、通知データを、無線アクセスポイント自身におけるデータ通信を暗号化するために使用される第1暗号キーとは異なる第2暗号キーを付加した状態で返信する、ように構成されている。さらに、通知返信手段により通知データが返信された以降、通知データが返信された無線ステーションとの間におけるデータ通信について、第2暗号キーにより暗号化した状態で行うように暗号化方法を切り替える暗号切替手段が備えられている。一方、無線ステーションにおいては、無線アクセスポイントから通知データを受信した以降、この無線アクセスポイントとのデータ通信を通知データに付加された第2暗号キーにより暗号化して行うように設定する暗号設定手段が備えられている。
Further, as another configuration for enabling normal data communication without user operation, the wireless LAN system according to aspect 17 can be considered.
In the wireless LAN system according to aspect 17, in the access point, the notification return means includes a second encryption key different from the first encryption key used for encrypting the notification data in the data communication at the wireless access point itself. It is configured to reply in a state where is added. Further, after the notification data is returned by the notification return means, the cipher switching for switching the encryption method so that the data communication with the wireless station to which the notification data is returned is performed in the state encrypted with the second encryption key. Means are provided. On the other hand, in the wireless station, after receiving the notification data from the wireless access point, there is encryption setting means for setting to perform data communication with the wireless access point by encrypting with the second encryption key added to the notification data. Is provided.

このように構成すれば、無線アクセスポイントは、通知データを返信した無線ステーションに対して第2暗号キーにより暗号化したデータ通信を行うよう暗号化方法を切り替えるようになり、一方、通知データを受信した無線ステーションは、無線アクセスポイントとのデータ通信を第2暗号キーにより暗号化して行うように設定する。こうして、無線アクセスポイントと無線ステーションとの間では、第2暗号キーにより暗号化した状態で正常にデータ通信を行うことができるようになる。これにより、無線アクセスポイントが他の無線ステーションまたは外部ネットワークとの間で行うデータ通信についてのセキュリティレベルを維持したまま、無線アクセスポイントと無線ステーションとのデータ通信についても、一定のセキュリティレベルを確保した状態で実現できる。   With this configuration, the wireless access point switches the encryption method to perform data communication encrypted with the second encryption key to the wireless station that has returned the notification data, while receiving the notification data. The wireless station configured 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 addition, with respect to the configurations of the above-described aspects 16 and 17, 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. The security level for data communication between the two is not high enough. This is because encryption is not performed in the configuration of aspect 16, and in the configuration of aspect 17, the second encryption key may be leaked in the process of being transmitted from the wireless access point to the wireless station. is there.

そこで、両者間のデータ通信に対するセキュリティを高くするために、例えば、態様18の無線LANシステムとするとよい。
態様18の無線LANシステムにおいて、無線ステーションは、公開鍵暗号方式により、無線アクセスポイントにデータ通信可能に接続された通信端末から無線アクセスポイントを介して第1暗号キーを取得する暗号取得手段と、暗号取得手段により第1暗号キーが通信端末から取得された際、無線アクセスポイントとの無線接続を解除し、第1暗号キーにより暗号化した状態で無線接続し直すことにより、無線アクセスポイントとのデータ通信を第1暗号キーにより暗号化した状態で行うように設定変更する暗号変更手段と、が備えられている。また、通信端末は、公開鍵暗号方式により無線ステーションへの第1暗号キーの受け渡しを、無線アクセスポイントを介して行う暗号受渡手段が備えられている。そして、無線アクセスポイントにおいて、暗号切替手段は、無線ステーションとの無線接続が解除された以降、暗号化方法の切り替えを行わない。
Therefore, in order to increase the security for data communication between the two, for example, the wireless LAN system according to aspect 18 may be used.
In the wireless LAN system of aspect 18, the wireless station uses a public key cryptosystem to obtain a first encryption key from a communication terminal connected to the wireless access point so that data communication is possible via the wireless access point; When the first encryption key is acquired from the communication terminal by the encryption acquisition means, the wireless connection with the wireless access point is canceled, and the wireless connection with the wireless access point is performed again after being encrypted with the first encryption key. Encryption changing means for changing the setting so that data communication 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の無線LANシステムを構成することが考えられる。 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. To that end, for example, it is conceivable to configure the wireless LAN system of aspect 19.

態様19の無線LANシステムにおける通信端末は、暗号受渡手段が、第1暗号キーの受け渡しを行う前に、公開鍵暗号方式により無線ステーションへの認証用メッセージの受け渡しを行うように構成され、さらに、暗号受渡手段により認証用メッセージの受け渡しが行われた以降、無線ステーション側で出力される認証用メッセージを確認したユーザによる確認操作を行わせるための確認操作手段が備えられ、暗号受渡手段が、確認操作手段により確認操作が行われた際に、第1暗号キーの受け渡しを行うように構成されている。また、無線ステーションは、暗号取得手段が、第1暗号キーに先立って公開鍵暗号方式により通信端末から受け渡しが行われる認証用メッセージを取得する、ように構成され、さらに、暗号取得手段により取得された認証用メッセージを出力するメッセージ出力手段が備えられ、暗号取得手段は、メッセージ出力手段により認証用メッセージが出力され、メッセージ出力手段により出力される認証用メッセージを確認したユーザによる通信端末への確認操作が行われた後に、通信端末から受け渡しが行われる第1暗号キーを取得する。   The communication terminal in the wireless LAN system of aspect 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. After the authentication message is delivered by the encryption delivery means, a confirmation operation means is provided for the user to confirm the authentication message output on the wireless station side, and the encryption delivery means confirms the confirmation message. When the confirmation operation is performed by the operation means, the first encryption key is transferred. 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 return of the notification data by the notification return means. It may be configured to be performed only in the state.

具体的には、例えば、態様20の無線LANシステムは、無線アクセスポイント自身の動作モードを、通知返信手段による通知データの返信を実現して無線ステーションにおける接続方法の設定をサポートするサポートモード、および、通知返信手段による通知データの返信を実現せずに接続方法の設定をサポートしないノーマルモードのいずれか一方へ切り替え可能なモード切替手段が備えられていればよい。 Specifically, for example, in the wireless LAN system of aspect 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 return of the notification data by the notification return means, and It is only necessary to provide mode switching means capable of switching to any one of the normal modes that do not support connection method setting without realizing notification data reply by the notice reply 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 the transmission 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の無線LANシステムは、外部からの指令を受けた際に動作モードを切り替える、ように構成すればよい。 In addition, the trigger when the mode switching unit in this configuration switches the operation mode is not particularly limited. For example, the wireless LAN system of aspect 21 switches the operation mode when receiving an instruction from the outside. 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.
The “command from the outside” in this configuration is, for example, a specific operation performed by the user on the operation unit provided in the wireless station, or data from a communication terminal connected to the wireless station so that data communication is possible. And so on.

また、この構成であれば、外部から明示的に指令する毎に、動作モードがサポートモードおよびノーマルモードに切り替わることになるが、ユーザが、サポートモードに切り替えた状態からノーマルモードへ切り替え直すことを忘れてしまうと、上述したように、無線アクセスポイントが不用意に無線ステーションにおける接続方法を設定させてしまう恐れがある。   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の無線LANシステムは、モード切替手段を、動作モードをサポートモードへ切り替えた以降、所定の期間が経過した際に、動作モードをノーマルモードへ切り替え直す、ように構成するとよい。 Therefore, in the wireless LAN system according to aspect 22, the mode switching unit 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の無線LANシステムは、モード切替手段を、動作モードをサポートモードへ切り替えた以降、返信通知手段により通知データが所定回数だけ返信された際に、動作モードをノーマルモードへ切り替え直す、ように構成するとよい。 Therefore, in the wireless LAN system of aspect 23, after the mode switching unit switches the operation mode to the support mode, when the notification data is returned a predetermined number of times by the reply notification unit, the operation mode is switched back to the normal mode. It may be configured as follows.

このように構成すれば、動作モードをサポートモードへ切り替えてから所定の期間内であっても、返信通知手段により通知データが所定回数だけ返信された際に、ノーマルモードへ切り替え直すことができる。つまり、所定回数と同じ数の無線ステーションに対してのみ、接続方法の設定をサポートすることができる。   With this configuration, even when the operation mode is switched to the support mode and within a predetermined period, when the notification data is returned a predetermined number of times by the reply notification unit, it is possible to switch back to the normal mode. In other words, connection method setting can be supported only for the same number of wireless stations as the predetermined number of times.

これにより、接続方法を設定すべき無線ステーションの数に応じて上述の「所定回数」を設定しておけば、無線アクセスポイントが不用意かつ必要以上に無線ステーションにおける接続方法を設定させてしまうことを防止できる。   As a result, if the “predetermined number of times” described above is set according to the number of wireless stations for which a connection method is to be set, the wireless access point may inadvertently set the connection method at the wireless station more than necessary. Can be prevented.

また、態様24の無線LANシステムは、無線ステーションにおいて、内容判定手段と非設定手段とが備えられている。これらのうち、内容判定手段は、無線アクセスポイントへの接続方法に関する設定内容が、方法切替手段による切り替え,広告送信手段による広告データの送信および方法設定手段による設定を経て無線アクセスポイントへの接続方法を設定する必要がある設定内容であるか否かを判定する。また、非設定手段は、内容判定手段により接続方法を設定する必要がある設定内容でないと判定された場合に、方法切替手段による切り替え,広告送信手段による広告データの送信および方法設定手段による設定が行われないようにする。 In the wireless LAN system according to aspect 24, the wireless station includes content determination means and non-setting means. Among these, the content determination means is a method for connecting to a wireless access point after the setting content related to the connection method to the wireless access point is switched by the method switching means, the advertisement data is transmitted by the advertisement transmitting means, and the setting by the method setting means. It is determined whether or not the setting content needs to be set. Further, the non-setting means performs switching by the method switching means, transmission of advertisement data by the advertisement transmission means, and setting by the method setting means when it is determined by the content determination means that the connection method needs to be set. Avoid it.

このように構成された無線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 non-setting means in this configuration is a means for preventing switching by the method switching means, transmission of advertisement data by the advertisement transmitting means, and setting by the method setting means, and setting is not performed in this way. The configuration for doing so is not particularly limited. For example, a configuration may be adopted in which the operation of any one of the means is stopped or data received from the wireless access point is discarded.

また、態様25の無線LANシステムは、無線ステーションにおいて、無線アクセスポイントへの接続方法に関する設定内容が、方法切替手段による切り替え,広告送信手段による広告データの送信および方法設定手段による設定を経て無線アクセスポイントへの接続方法を設定する必要がある設定内容であるか否かを判定する内容判定手段が備えられている。さらに、広告送信手段は、広告データを内容判定手段による接続方法を設定する必要があるか否かの判定結果を特定可能な状態で送信するように構成されている。また、無線アクセスポイントにおいて、通知返信手段は、無線ステーションから受信した広告データが、接続方法を設定する必要がある旨を特定可能なデータである場合のみ、通知データを返信するように構成されている。 In addition, in the wireless LAN system according to aspect 25, in the wireless station, the setting contents related to the connection method to the wireless access point are wirelessly accessed through switching by the method switching unit, transmission of advertisement data by the advertisement transmitting unit, and setting by the method setting unit. Content determination means for determining whether or not the setting content needs to set the connection method to the point is provided. Further, the advertisement transmitting means is configured to transmit the determination result as to whether or not it is necessary to set the connection method by the content determining means in the advertisement data. In the wireless access point, the notification reply means is configured to return the notification data only when the advertisement data received from the wireless station is data that can specify that the connection method needs to be set. Yes.

このように構成された無線LANシステムにおいて、無線アクセスポイントは、無線ステーションが接続方法を設定する必要がある設定内容である場合のみ、通知データを送信して接続方法を設定させることができる。   In the wireless LAN system configured as described above, the wireless access point can transmit the notification data and set the connection method only when the wireless station has a setting content that requires the connection method to be set.

なお、これら構成における内容判定手段により判定される「接続方法を設定する必要がある設定内容」とは、例えば、接続方法に関する設定内容が初期状態(工場出荷状態)である場合や、無線接続に必要な設定内容の一部が含まれていない(登録されていない)状態である場合のことである。   Note that the “setting contents that need to set the connection method” determined by the contents determination means in these configurations are, for example, when the setting contents related to the connection method are in the initial state (factory shipment state), or in the wireless connection This is a case where a part of necessary setting contents is not included (not registered).

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

また、態様27の通信端末は、態様1から25のいずれかの無線LANシステム内の無線アクセスポイントとして機能する通信端末である。
このように構成された通信端末によれば、態様1から25のいずれかの無線LANシステムの一部を構成することができる。
A communication terminal according to aspect 27 is a communication terminal that functions as a wireless access point in the wireless LAN system according to any one of aspects 1 to 25.
According to the communication terminal configured as described above, a part of the wireless LAN system according to any one of aspects 1 to 25 can be configured.

また、態様28の通信端末は、態様11から13,態様18,態様19およびこれら態様の構成を少なくとも備える無線LANシステム内の通信端末として機能する通信端末である。 The communication terminal of aspect 28 is a communication terminal that functions as a communication terminal in a wireless LAN system including at least the aspects 11 to 13, aspect 18, aspect 19 and the configuration of these aspects .

このように構成された通信端末によれば、態様11から13,態様18,態様19およびこれら態様の構成を少なくとも備える無線LANシステムの一部を構成することができる。 According to the communication terminal configured as described above, it is possible to configure part of the wireless LAN system including at least the aspects 11 to 13, aspect 18, aspect 19 and the structure of these aspects .

また、態様29の通信プログラムは、態様1から25のいずれかの無線LANシステム内の無線ステーションの備える全ての手段として機能させるための各種処理手順を、コンピュータシステムに実行させるためのプログラムである。 The communication program according to aspect 29 is a program for causing a computer system to execute various processing procedures for causing the wireless station in any of the wireless LAN systems according to aspects 1 to 25 to function as all means.

このプログラムにより制御されるコンピュータシステムは、態様1から25のいずれかの無線LANシステムの一部を構成することができる。
また、態様30の通信プログラムは、態様1から25のいずれかの無線LANシステム内の無線アクセスポイントの備える全ての手段として機能させるための各種処理手順を、コンピュータシステムに実行させるためのプログラムである。
The computer system controlled by this program can constitute a part of any one of the wireless LAN systems according to aspects 1 to 25.
The communication program according to aspect 30 is a program for causing a computer system to execute various processing procedures for causing the wireless access point in any of the wireless LAN systems according to aspects 1 to 25 to function as all means. .

このプログラムにより制御されるコンピュータシステムは、態様1から25のいずれかの無線LANシステムの一部を構成することができる。
また、態様31の通信プログラムは、態様11から13,態様18,態様19およびこれら態様の構成を少なくとも備える無線LANシステム内の通信端末として機能させるための各種処理手順を、コンピュータシステムに実行させるための通信プログラムである。
The computer system controlled by this program can constitute a part of any one of the wireless LAN systems according to aspects 1 to 25.
In addition, the communication program of the aspect 31 causes the computer system to execute various processing procedures for causing the communication program to function as a communication terminal in the wireless LAN system including at least the aspects 11 to 13, aspect 18, and aspect 19 and the configuration of these aspects. Communication program.

このプログラムにより制御されるコンピュータシステムは、態様11から13,態様18,態様19およびこれら態様の構成を少なくとも備える無線LANシステムの一部を構成することができる。 The computer system controlled by this program can constitute part of a wireless LAN system including at least the aspects 11 to 13, aspect 18, aspect 19 and the structure of these aspects .

なお、上述した各通信プログラムは、それぞれコンピュータシステムによる処理に適した命令の順番付けられた列からなるものであって、それぞれとしての機能をコンピュータシステムに実行させるためのプログラムである。このプログラムは、例えば、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.

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

以下に、本発明を実施するための最良の形態として、複数のネットワークデバイス(以降、単に「デバイス」とする)が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 according to the connection method described above using the same SSID as the SSID. Wireless communication is allowed.

なお、このアクセスポイント10では、他のデバイスとの間で設定に関するデータを無線または有線にてやりとりして他のデバイス側から間接的な設定(リモートセットアップ)が行われたときに、「SSID」および「接続方法を示すパラメータ」が生成されROM12に記憶される。本実施形態においては、「接続方法を示すパラメータ」として、第1の無線LAN規格における第2チャネルで規定される接続方法を示すものがリモートセットアップを経てROM12に記憶(設定)されているものとする。   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, the “parameter indicating the connection method” is stored (set) in the ROM 12 through remote setup that indicates the connection method defined by the second channel in the first wireless LAN standard. To do.

次に、プリンタ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では、後述する接続方法確定処理(図2)において、「SSID」および「接続方法を示すパラメータ」が生成されROM22に記憶(設定)される。○プリンタ20による接続方法確定処理
以下に、プリンタ20の備えるCPU21により実行される接続方法確定処理の処理手順について図2に基づいて説明する。この接続方法確定処理は、操作パネル16によって、電源の投入,再起動(リセット),初期化(プリンタ20の設定状態を工場出荷状態に戻して再起動する)などを行うための操作を受けた際に開始される。
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 determination processing (FIG. 2) described later. 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 confirmation processing is received by the operation panel 16 for operations such as power-on, restart (reset), and initialization (returning the setting state of the printer 20 to the factory default and restarting). Be started when.

まず、プリンタ20が工場出荷状態であるか否かをチェックする(s100)。この処理では、ROM22内に「接続方法を示すパラメータ」が記憶されていなければ、工場出荷状態であると判定する。   First, it is checked whether or not the printer 20 is in a factory shipment state (s100). 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.

このs100の処理で、プリンタ20が工場出荷状態でなければ(s100:NO)、本接続方法確定処理を終了する一方、工場出荷状態であれば(s100:YES)、変数Mを初期化する(s110)。この処理では、変数Mに「1」をセット(1→M)する。なお、以降に記載の「m」は、変数Mにセットされた値を示すものとする。   In the process of s100, if the printer 20 is not in the factory-shipped state (s100: NO), the present connection method determination process is terminated. If the printer 20 is in the factory-shipped state (s100: YES), 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.

次に、変数Nを初期化する(s120)。この処理では、変数Nに「1」をセット(1→N)する。なお、以降に記載の「n」は、変数Nにセットされた値を示すものとする。
次に、無線アクセスポイントへの無線接続の方法(以降、「接続方法」とする)を、第mの無線LAN規格における第nチャネルによる接続方法に切り替える(s130)。この処理では、第mの無線LAN規格における第nチャネルにより規定される接続方法により通信機能を実現する旨のパラメータを、RAM23における「接続方法を示すパラメータ」用の記憶領域へ記憶させ、接続方法をRAM23の記憶内容に従って制御する(ようにする)ことにより、無線LANコントローラ24によるアクセスポイント10への接続方法を切り替える。こうして、以降の処理(s301の処理)においてROM22の記憶内容に従って制御するように切り替えるまでは、RAM23の記憶内容に従って制御されるようになる。なお、「接続方法を示すパラメータ」用の記憶領域にパラメータが既に記憶されている場合には、新たなパラメータに書き替える。
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.
Next, the method of wireless connection to the wireless access point (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 for realizing the communication function 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 23, and the connection method is stored. Is controlled according to the stored contents of the RAM 23 to switch the connection method to the access point 10 by the wireless LAN controller 24. 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 subsequent processing (processing of s301). If a parameter is already stored in the storage area for “parameter indicating connection method”, it is rewritten to a new parameter.

次に、s130の処理で切り替えられた接続方法を周囲に広告(アドバタイズ)するための広告データを生成して送信する(s140)。この処理では、まず、「広告データ」として、ヘッダ情報において広告データである旨を示すサブタイプがセットされ、デバイス名やデバイスを識別するためのデバイスID(本実施形態においてはMACアドレス)などがデータ本体(ボディ)に格納されたフレームデータ(マネージメントフレーム)を生成する。そして、このフレームデータを第mの無線LAN規格における第nチャネルによる接続方法でブロードキャスト(宛先をブロードキャストアドレスとして送信)する(図3における「広告11〜広告3j」参照)。この広告データを受信したアクセスポイント10からは、後述する接続方法指示処理(図4)において、広告データ(で示される内容)が登録済みのものであれば、要求催促データが返信されてくる一方(図3における「要求催促」参照)、登録済みのものでなければ、広告データの登録が行われるだけで要求催促データは返信されてこない(図3における「広告12」参照)。なお、この「要求催促データ」とは、アクセスポイント10が、アクセスポイント10に対して無線接続の許可を要求(アソシエーション要求)する旨を催促するためのフレームデータであって、アクセスポイント10が無線ステーションとのデータ通信に利用するSSIDが格納されている。   Next, advertisement data for advertising (advertisement) the connection method switched in the process of s130 to the surroundings is generated and transmitted (s140). In this process, first, as the “advertisement data”, a subtype indicating that it is advertisement data is set in the header information, and a device name and a device ID (MAC address in this embodiment) for identifying the device are set. Frame data (management frame) stored in the data body (body) is generated. Then, the frame data is broadcast (transmitted with the destination as a broadcast address) by the connection method using the n-th channel in the m-th wireless LAN standard (see “advertisement 11 to advertisement 3j” in FIG. 3). From the access point 10 that has received the advertisement data, if the advertisement data (content indicated by) is already registered in the connection method instruction process (FIG. 4) described later, the request prompting data is returned. (Refer to “request prompt” in FIG. 3) If it is not already registered, the advertisement data is only registered and the request prompt data is not returned (see “advertisement 12” in FIG. 3). The “request prompt data” is frame data for prompting the access point 10 to request permission (association request) for wireless connection to the access point 10, and the access point 10 is wireless. The SSID used for data communication with the station is stored.

次に、タイマーによるカウントをスタートさせる(s150)。この処理でスタートするタイマーは、上述した要求催促データが期限内に返信されるか否かをチェックするためのものである。   Next, the timer count is started (s150). The timer that is started in this process is for checking whether the above-mentioned request prompting data is returned within the time limit.

次に、広告データの送信に対してタイムアウト(つまり、時間切れ)となったか否かをチェックする(s160)。この処理では、s150の処理でカウントをスタートしたタイマーのカウント値が所定の値(本実施形態においては、250ms)に到達していれば、タイムアウトであると判定する。   Next, it is checked whether or not a time-out (that is, time-out) has occurred for the transmission of the advertisement data (s160). In this process, if the count value of the timer that started counting in the process of s150 has reached a predetermined value (250 ms in the present embodiment), it is determined that a timeout has occurred.

このs160の処理でタイムアウトとなっていなければ(s160:NO)、アクセスポイント10側から要求催促データを受信したか否かをチェックし(s170)、受信していなければ(s170:NO)、s160の処理へ戻る。   If no timeout has occurred in the process of s160 (s160: NO), it is checked whether or not the request prompt data has been received from the access point 10 side (s170). If not received (s170: NO), s160 Return to the process.

この後、s160,s170の処理を繰り返し、s160の処理で広告データの送信に対してタイムアウトとなったら(s160:YES)、s150の処理でカウントをスタートしたタイマーをストップおよびリセットした後(s180)、変数Nに「1」を加算(n+1→N)する(s190)。   Thereafter, the processing of s160 and s170 is repeated, and if the time-out for the advertisement data transmission is reached in the processing of s160 (s160: YES), the timer that started counting in the processing of s150 is stopped and reset (s180). Then, “1” is added to the variable N (n + 1 → N) (s190).

次に、第mの無線LAN規格における全てのチャネルによる広告データの送信を終えたか否かをチェックする(s200)。各無線LAN規格では、それぞれに使用可能なチャネル数が定められているため、このs200の処理では、変数Nの値nが第mの無線LAN規格において使用可能なチャネル数jより大きな値(n<j)となっていれば、全てのチャネルによる広告データの送信を終えたと判定する。   Next, it is checked whether or not the transmission of advertisement data by all channels in the mth wireless LAN standard has been completed (s200). Since each wireless LAN standard defines the number of channels that can be used, the value n of the variable N is larger 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 advertisement data by all channels has been completed.

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

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

次に、全ての無線LAN規格による広告データの送信を終えたか否かをチェックする(s220)。この処理では、変数Mの値mが無線LANコントローラ24により通信を実現可能な無線LAN規格の数iより大きくなっていれば(i<m)、全ての無線LAN規格による広告データの送信を終えたと判定する。   Next, it is checked whether or not the transmission of advertisement data according to all wireless LAN standards has been completed (s220). 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 24 (i <m), the transmission of advertisement data according to all wireless LAN standards is completed. It is determined that

このs220の処理で、全ての無線LAN規格による広告データの送信を終えていなければ(s220:NO)、s120の処理へ戻る。
この後、s120以降の処理で、次の無線LAN規格による広告データの送信が行われ(図3における「広告21〜広告2j」参照)、s120からs220の処理を繰り返すことにより、全ての無線LAN規格による広告データの送信が行われる(図3における「広告11〜広告ij」参照)。
If the transmission of advertisement data based on all wireless LAN standards has not been completed in the process of s220 (s220: NO), the process returns to s120.
Thereafter, in the processing after s120, advertisement data is transmitted according to the next wireless LAN standard (see “advertisement 21 to advertisement 2j” in FIG. 3), and by repeating the processing from s120 to s220, all wireless LANs are transmitted. Transmission of advertisement data according to the standard is performed (see “advertisement 11 to advertisement ij” in FIG. 3).

こうして、s120からs220の処理を繰り返した後、s220の処理で、全ての無線LAN規格による広告データの送信を終えていれば(s220:YES)、s110の処理へ戻る。   In this way, after the processing from s120 to s220 is repeated, if the transmission of the advertisement data according to all wireless LAN standards has been completed in the processing of s220 (s220: YES), the processing returns to s110.

そして、s120〜s220の処理を繰り返し行う間に、s170の処理で要求催促データを受信したら(s170:YES)、s150の処理でカウントをスタートしたタイマーをストップおよびリセットした後(s230)、この要求催促データで特定されるSSIDを、無線アクセスポイントとのデータ通信に利用するSSIDとしてRAM23に記憶させる(s240)。この処理でSSIDが記憶された以降、プリンタ20は、このSSIDと同一のSSIDによる通信を確立可能な無線アクセスポイント(アクセスポイント10)との間でデータ通信を実現できる状態となる。   When the request prompt data is received in the process of s170 while the processes of s120 to s220 are repeatedly performed (s170: YES), the timer that started the count in the process of s150 is stopped and reset (s230), and then the request is made. The SSID specified by the reminder data is stored in the RAM 23 as the SSID used for data communication with the wireless access point (s240). After the SSID is stored in this process, the printer 20 is in a state in which data communication can be realized with a wireless access point (access point 10) that can establish communication using the same SSID as this SSID.

次に、アクセスポイント10に対し、無線接続の許可を要求するためのアソシエーション要求を送信する(s250)。この「アソシエーション要求」とは、アクセスポイント10に対して無線接続の許可を要求するためのフレームデータ(マネージメントフレーム)であり、このs250の処理では、s240の処理でRAM23に記録されたSSIDを格納して送信する(図3における「アソシエーション要求」参照)。なお、このアソシエーション要求は、ヘッダ情報においてプリンタ20のデバイスID(MACアドレス)がセットされている。このアソシエーション要求を受信したアクセスポイント10からは、アクセスポイント10への無線接続を許可する旨のフレームデータ(マネージメントフレーム)であるアソシエーション応答が送信されてくる(図3における「アソシエーション応答」参照)。   Next, an association request for requesting permission for wireless connection is transmitted to the access point 10 (s250). The “association request” is frame data (management frame) for requesting permission of wireless connection to the access point 10, and in the process of s250, the SSID recorded in the RAM 23 in the process of s240 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).

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

次に、アソシエーション要求の送信に対してタイムアウトとなったか否かをチェックする(s270)。この処理では、s260の処理でカウントをスタートしたタイマーのカウント値が所定の値(本実施形態においては、250ms)に到達していれば、タイムアウトであると判定する。   Next, it is checked whether or not a timeout has occurred for transmission of the association request (s270). 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.

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

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

一方、s280の処理でアソシエーション応答を受信したら(s280:YES)、s260の処理でカウントをスタートしたタイマーをストップおよびリセットした後(s300)、s130の処理でRAM23における「接続方法を示すパラメータ」用の記憶領域に記憶されたパラメータおよびSSIDをROM22に記憶(コピー)させ、接続方法をROM22の記憶内容に従って制御した(するようにした)後(s301)、本接続方法確定処理を終了する。   On the other hand, if an association response is received in the process of s280 (s280: YES), the timer that started the count in the process of s260 is stopped and reset (s300), and then the “parameter indicating connection method” in the RAM 23 is processed in the process of s130. The parameters and the SSID stored in the storage area are stored (copied) in the ROM 22 and the connection method is controlled according to the stored contents of the ROM 22 (s301), and then the connection method determination process is terminated.

こうして、本接続方法確定処理を終了した時点において、s130の処理による接続方法の切り替えが停止されることになり、これにより、停止された時点の接続方法(第mの無線LAN規格,第nのチャネル)が無線アクセスポイントへの接続方法として確定する(決定される)。○アクセスポイント10による接続方法指示処理
以下に、アクセスポイント10の備えるCPU11により実行される接続方法指示処理の処理手順を図4に基づいて説明する。この接続方法指示処理は、操作パネル26により、アクセスポイント10の動作モードを、無線ステーションにおける接続方法の設定をサポートするサポートモードに切り替えるための指示操作(例えば、特定ボタンの押下)が行われた際に開始される。なお、このサポートモードは、本接続方法指示処理が実行されている最中のみの動作モードであり、本接続方法指示処理の終了と共に、アクセスポイント10の動作モードがサポートモードからノーマルモードへ切り替え直されることになる。
Thus, when the connection method confirmation process is completed, the switching of the connection method by the process of s130 is stopped. Thus, the connection method (m-th wireless LAN standard, n-th standard) at the time of the stop is stopped. Channel) is determined (determined) as a connection method to the wireless access point. 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 the support mode that supports setting of the connection method in the wireless station is performed by the operation panel 26. 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.

まず、タイマーによるカウントをスタートさせる(s310)。この処理でスタートするタイマーは、上述した指示操作が行われた後、プリンタ20から広告データが期限内に送信(図2におけるs140の処理)されてくるか否かをチェックするためのものである。つまり、ユーザは、アクセスポイント10により本接続方法指示処理を開始させてから、プリンタ20により上述した接続方法確定処理(図2)を開始させることで、プリンタ20に対してアクセスポイント10への接続方法を設定することになる(図3におけるアクセスポイント10に対する「指示操作」およびプリンタ20に対する「起動」参照)。   First, counting by a timer is started (s310). The timer that starts in this process is for checking whether or not the advertisement data is transmitted from the printer 20 within the time limit (the process of s140 in FIG. 2) after the above-described instruction operation is performed. . That is, the user starts the connection method instruction processing by the access point 10 and then starts the connection method determination processing (FIG. 2) described above by the printer 20, thereby connecting the printer 20 to the access point 10. The method is set (see “Instruction Operation” for the access point 10 and “Startup” for the printer 20 in FIG. 3).

次に、本接続方法指示処理の開始に対してタイムアウトとなったか否かをチェックする(s320)。この処理では、s310の処理でカウントをスタートしたタイマーのカウント値が所定の値(本実施形態においては、15s)に到達していれば、タイムアウトであると判定する。   Next, it is checked whether or not a timeout has occurred with respect to the start of this connection method instruction process (s320). In this process, if the count value of the timer that started counting in the process of s310 has reached a predetermined value (15 s in the present embodiment), it is determined that a timeout has occurred.

このs320の処理でタイムアウトとなっていなければ(s320:NO)、プリンタ20側からデータを受信したか否かをチェックし(s330)、受信していなければ(s330:NO)、s320の処理へ戻る。なお、アクセスポイント10は、上述した「接続方法」がアクセスポイント10自身に対して設定されている(ROM12に記憶されたパラメータで示される)接続方法に従って送信されたものでなければ、正常なデータとして受信,認識できないため、このs330の処理では、アクセスポイント10自身に対して設定されている接続方法に従って送信されてきたデータ(本実施形態においては、図3における「広告12」)を受信したか否かをチェックしていることになる。   If no timeout has occurred in the process of s320 (s320: NO), it is checked whether data has been received from the printer 20 (s330). If not received (s330: NO), the process proceeds to s320. Return. If the access point 10 is not transmitted in accordance with the connection method in which the “connection method” described above is set for the access point 10 itself (indicated by the parameter stored in the ROM 12), normal data is obtained. In this processing of s330, data transmitted according to the connection method set for the access point 10 itself ("Ad 12" in FIG. 3 in this embodiment) is received. It is checking whether or not.

一方、s330の処理で、プリンタ20側からデータを受信したら(s330:YES)、受信したデータが広告データであるか否かをチェックする(s340)。この「広告データ」は、図2におけるs140の処理でプリンタ20が送信してくるデータである。   On the other hand, if data is received from the printer 20 in the process of s330 (s330: YES), it is checked whether the received data is advertisement data (s340). This “advertisement data” is data transmitted by the printer 20 in the process of s140 in FIG.

このs340の処理で、受信したデータが広告データであれば(s340:YES)、この広告データが登録済みのものであるか否かをチェックする(s350)。本接続方法指示処理では、以降の処理において、広告データで示されるデバイス名の登録が行われるため(図3における「登録」参照)、このs350の処理では、受信した広告データで示されるデバイス名が登録されていれば、登録済みのものであると判定する。なお、このs350の処理において登録済みのものであると判定される広告データは、本接続方法指示処理が開始した以降、2回目に受信される広告データとなる(図3における「広告12」参照)。   In the process of s340, if the received data is advertisement data (s340: YES), it is checked whether or not the advertisement data is already registered (s350). In this connection method instruction process, the device name indicated by the advertisement data is registered in the subsequent processes (see “registration” in FIG. 3). Therefore, in the process of s350, the device name indicated by the received advertisement data Is registered, it is determined that it is already registered. The advertisement data determined to be registered in the process of s350 is the advertisement data received for the second time after the start of this connection method instruction process (see “Advertisement 12” in FIG. 3). ).

このs350の処理で、広告データが登録済みのものでなければ(s350:NO)、この広告データで示されるデバイス名およびデバイスIDを、RAM13における特定の記憶領域へ記憶することにより登録(例えば、データテーブルへ登録)する(s360)。   If the advertisement data is not already registered in the process of s350 (s350: NO), the device name and device ID indicated by the advertisement data are registered in the specific storage area in the RAM 13 (for example, Registered in the data table) (s360).

一方、s350の処理で、広告データが登録済みのものであれば(s350:YES)、この広告データの送信元であるプリンタ20に対し、アソシエーション要求の送信を要求するための要求催促データを返信する(s370)。この処理では、アソシエーション要求の送信を要求するためのフレームデータであって、ROM12に記憶されている「SSID」が格納された「要求催促データ」を生成してプリンタ20へ送信する(図3における「要求催促」参照)。この要求催促データは、プリンタ20が図2におけるs170の処理で受信するデータであり、プリンタ20は、この要求催促データを受信した以降、広告データではなくアソシエーション要求を送信してくる(図3における「アソシエーション要求」参照)。   On the other hand, if the advertisement data is already registered in the process of s350 (s350: YES), request prompting data for requesting transmission of the association request is returned to the printer 20 that is the transmission source of the advertisement data. (S370). In this processing, frame request data for requesting transmission of an association request, which is “request prompt data” in which “SSID” stored in the ROM 12 is stored, is transmitted to the printer 20 (in FIG. 3). (See “Request reminder”). The request prompt data is data that the printer 20 receives in the process of s170 in FIG. 2, and after receiving the request prompt data, the printer 20 transmits an association request instead of advertisement data (in FIG. 3). (See Association Request).

こうして、s360またはs370の処理を終えた後、s320の処理へ戻る。
また、上述したs340の処理で、受信したデータが広告データでなければ(s340:NO)、アソシエーション要求であるか否かをチェックする(s380)。この「アソシエーション要求」は、図2におけるs250の処理でプリンタ20が送信してくるデータである。
In this way, after finishing the process of s360 or s370, it returns to the process of s320.
If the received data is not advertisement data (s340: NO) in the process of s340 described above, it is checked whether the request is an association request (s380). This “association request” is data transmitted by the printer 20 in the process of s250 in FIG.

このs380の処理で、受信したデータがアソシエーション要求であれば(s380:YES)、アクセスポイント10自身への無線接続を許可する旨のアソシエーション応答を、アソシエーション要求の送信元であるプリンタ20へ返信した後(s400)、s320の処理へ戻る。このアソシエーション応答は、プリンタ20が図2におけるs280の処理で受信するデータであり(図3における「アソシエーション応答」参照)、プリンタ20側では、このアソシエーション応答を受信した時点における接続方法が、アクセスポイント10に対する接続方法として設定される。   In the process of s380, if the received data is an association request (s380: YES), an association response for permitting wireless connection to the access point 10 itself is returned to the printer 20 that is the transmission source of the association request. After (s400), the process returns to s320. The association response is data that the printer 20 receives in the process of s280 in FIG. 2 (see “association response” in FIG. 3). On the printer 20 side, the connection method at the time of receiving the association response is the access point. 10 is set as a connection method.

なお、詳細な説明は省略するが、本実施形態において、アソシエーション要求,応答がやりとりされる前には、通常の無線接続を行う手順と同様、アクセスポイント10からの要求催促データがプリンタ20に受信されたら、オーセンティケーション要求,応答をやりとりするように構成されている(図3における「オーセンティケーション要求〜オーセンティケーション応答」参照)。ただ、第1実施形態においては、データ通信を暗号化していない構成となっているため、オープン認証(つまり暗号化しない)によるオーセンティケーション要求,応答のやりとりとなる。   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).

一方、s380の処理で、受信したデータがアソシエーション要求でなければ(s380:NO)、受信したデータに基づく処理(その他の処理)を行った後(s410)、s320の処理へ戻る。   On the other hand, if the received data is not an association request in the process of s380 (s380: NO), the process based on the received data (other process) is performed (s410), and the process returns to the process of s320.

こうして、s320からs410の処理を繰り返した後、s320の処理でタイムアウトとなっていれば(s320:YES)、s310の処理でカウントをスタートしたタイマーをストップおよびリセットして(s420)、本接続方法指示処理を終了する。こうして、接続方法指示処理の終了と共に、アクセスポイント10の動作モードがサポートモードからノーマルモードへ切り替え直される。   Thus, after the processing from s320 to s410 is repeated, if the time-out occurs in the processing of s320 (s320: YES), the timer that started counting in the processing of s310 is stopped and reset (s420), and this connection method The instruction process is terminated. Thus, along with the end of the connection method instruction process, the operation mode of the access point 10 is switched again from the support mode to the normal mode.

[第1実施形態の効果]
このように構成された無線LANシステムおいて、プリンタ20は、接続方法を順番に切り替えながら各々の接続方法に基づいて広告データを送信する(図3における「広告11」〜「広告3j」参照)。これら広告データは、広告データを送信した時点の接続方法に設定されているアクセスポイント10に受信され(図3における「広告12」参照)、このアクセスポイント10が、受信した広告データと同一の接続方法による無線接続が可能である旨を要求催促データの返信によりプリンタ20へ通知する(図3における「要求催促」参照)。そして、この返信を受けたプリンタ20は、要求催促で通知された接続方法、つまりアクセスポイント10において設定されている接続方法と同一の接続方法を設定する。こうして、プリンタ20がアクセスポイント10と同一の接続方法に設定されることにより、両者間で無線接続できる状態となる。
[Effect of the first embodiment]
In the wireless LAN system configured as described above, the printer 20 transmits advertisement data based on each connection method while sequentially switching the connection methods (see “advertisement 11” to “advertisement 3j” in FIG. 3). . These advertisement data are received by the access point 10 set in the connection method at the time of transmission of the advertisement data (see “advertisement 12” in FIG. 3), and the access point 10 has the same connection as the received advertisement data. The printer 20 is notified by replying the request prompting data that the wireless connection by the method is possible (see “request prompting” in FIG. 3). Upon receiving this reply, the printer 20 sets the connection method notified by the request prompt, that is, the same connection method as the connection method set in the access point 10. 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への接続方法が自動的に設定される。よって、無線LANの設定に対するユーザへの負荷を大幅に軽減することができる。   In this way, in the printer 20, the connection method to the access point 10 is automatically set through the switching of the connection method and the transmission of the advertisement data. Therefore, the load on the user with respect to the setting of the wireless LAN can be greatly reduced.

また、プリンタ20は、接続方法をタイマーによりカウントされる所定の時間毎に接続方法を順番に切り替えていき(図3におけるs110〜s220の処理)、要求催促データの返信を受けた以降に接続方法の切り替えを停止する。このように、順番に切り替えられている接続方法の切り替えを停止するだけで、こうして停止させた時点における接続方法、つまりアクセスポイント10において設定されている接続方法と同一の接続方法を設定することができる。   Further, the printer 20 sequentially switches the connection method every predetermined time counted by the timer (processing of s110 to s220 in FIG. 3), and after receiving the request prompting data reply, the connection method. Stop switching. In this way, it is possible to set the same connection method as the connection method set in the access point 10 at the time of stopping by simply stopping the switching of the connection methods switched in order. it can.

また、プリンタ20の起動により外部から明示的に指令することにより、プリンタ20に対する接続方法の設定(接続方法確定処理(図2)の実行)を行うことができる。
また、プリンタ20において接続方法が設定された際、プリンタ20およびアクセスポイント10間でアソシエーション要求,応答をやりとりすることにより、すぐに両者間の無線接続を実現することができる。
Further, by explicitly instructing from the outside by starting up the printer 20, setting of the connection method for the printer 20 (execution of connection method determination processing (FIG. 2)) can be performed.
In addition, when a connection method is set in the printer 20, an association request and response are exchanged between the printer 20 and the access point 10, so that a wireless connection between the two can be realized immediately.

また、アクセスポイント10は、接続方法指示処理(図4)において、同じ接続方法で繰り返し2回広告データを送信してきた無線ステーション(プリンタ20)に対し、要求催促データを返信して接続方法を設定させることができる(図3における「要求催促」参照)。   In the connection method instruction process (FIG. 4), the access point 10 returns the request prompt data to the wireless station (printer 20) that has repeatedly transmitted the advertisement data by the same connection method, and sets the connection method. (Refer to “Requesting Request” in FIG. 3).

また、アクセスポイント10の動作モードは、サポートモードへ切り替えられた以降、所定の期間が経過して接続方法指示処理(図4)が終了したときにノーマルモードへ切り替え直される。そのため、サポートモードに切り替えた状態からノーマルモードへ切り替え直す操作を行うことなく、自動的に動作モードをノーマルモードへ切り替え直すことができる。よって、アクセスポイント10が、サポートモードのままとなってしまうことにより、不用意に無線ステーションにおける接続方法を設定させることを防止できる。   In addition, after the operation mode of the access point 10 is switched to the support mode, the mode is switched back to the normal mode when the connection method instruction process (FIG. 4) ends after a predetermined period has elapsed. Therefore, the operation mode can be automatically switched back to the normal mode without performing an operation to switch back to the normal mode from the state switched to the support mode. Therefore, it is possible to prevent the access point 10 from remaining in the support mode from inadvertently setting the connection method in the wireless station.

また、プリンタ20は、工場出荷状態である場合のみ、アクセスポイント10への接続方法を設定することができる(図2におけるs100の処理)。
また、アクセスポイント10は、図4におけるs340〜s360の処理で広告データの収集(登録)を行った後、こうして収集した広告データと同一の接続方法に基づいて送信されてきた広告データを無線ステーションから受信した際に、この無線ステーションへ催促要求データを返信する(s370の処理)。そのため、アクセスポイント10は、要求催促データを、無線ステーションが広告データを送信してきたタイミング、つまり無線ステーション側においてデータの送受信が可能な状態となっているタイミングで送信することができる。これにより、アクセスポイント10から送信された要求催促データを、確実に無線ステーション側にて受信させることができる。
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 s100 in FIG. 2).
Further, the access point 10 collects (registers) the advertisement data in the process of s340 to s360 in FIG. 4, and then transmits the advertisement data transmitted based on the same connection method as the advertisement data thus collected to the wireless station. Is received, the prompt request data is returned to the wireless station (processing of s370). Therefore, the access point 10 can transmit the request prompting data at a timing when the wireless station transmits the advertisement data, that is, at a timing when data transmission / reception is enabled on the wireless station side. Thereby, the request prompt data transmitted from the access point 10 can be reliably received on the wireless station side.

[第1実施形態に対して変形可能な構成]
この第1実施形態においては、以下に示すように、一部構成を別の構成に変形した状態で実施することもできる。なお、以下に示す構成は、他の実施形態における同様の構成に対しても適用できる。
[Configuration that can be modified with respect to the first embodiment]
In the first embodiment, as shown below, a part of the configuration can be changed to another configuration. In addition, the structure shown below is applicable also to the same structure in other embodiment.

例えば、図3におけるs100の処理では、プリンタ20が工場出荷状態である場合に、s110以降の処理が行われるように構成されたものを例示した。しかし、工場出荷状態以外であっても、接続方法を設定する必要がある場合であれば、s110以降の処理が行われるように構成してもよい。具体的には、ROM12内に記憶されている「接続方法を示すパラメータ」のうち一部が不足している場合などである。   For example, in the process of s100 in FIG. 3, when the printer 20 is in the factory shipment state, the process configured to perform the process after s110 is illustrated. However, even in a state other than the factory-shipped state, if it is necessary to set a connection method, the processing after s110 may be performed. Specifically, this is the case where some of the “parameters indicating connection methods” stored in the ROM 12 are insufficient.

また、本実施形態においては、オーセンティケーション要求,応答をやりとりした後で、アソシエーション要求,応答をやりとりするように構成されたものを例示した。しかし、オーセンティケーション要求,応答のやりとりを行うことなく、アソシエーション要求,応答をやりとりのみを行うように構成することも可能である。   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 to exchange only the association request and response without exchanging the authentication request and response.

また、本実施形態において、アクセスポイント10は、あらかじめ設定されている接続方法でのみデータを受信でき、広告データを受信した時点で、この広告データにより広告された接続方法が、アクセスポイント10自身に設定された接続方法と同一であることを特定している。そのため、プリンタ20により送信される「広告データ」には、接続方法を示すパラメータ自体は含まれていない。しかし、このようなパラメータそのものが広告データに格納されていてもよい。   In this embodiment, the access point 10 can receive data only by a connection method set in advance, and when the advertisement data is received, the connection method advertised by the advertisement data is transmitted to the access point 10 itself. The specified connection method is specified. Therefore, the “advertisement data” transmitted by the printer 20 does not include the parameter itself indicating the connection method. However, such parameters themselves may be stored in the advertisement data.

また、本実施形態においては、プリンタ20に対する接続方法の設定を、プリンタ20の起動により指令するように構成されたものを例示した。しかし、プリンタ20に対する接続方法の設定は、例えば、操作パネル26による特定の操作により指令できるように構成してもよい(図3における「指令」参照)。また、プリンタ20とデータ通信可能に接続された他の通信端末からのデータにより指令できるように構成してもよい。   Further, in the present embodiment, an example in which the setting of the connection method for the printer 20 is instructed by the activation of the printer 20 is illustrated. 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). Further, the printer 20 may be configured to be instructed by data from another communication terminal connected so as to be able to perform data communication.

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

また、本実施形態において、アクセスポイント10は、接続方法指示処理で、タイムアウトとなるまで要求催促データを繰り返し返信するように構成されている(s370からs320の処理へ戻るため)。しかし、要求催促データを返信した後には、接続方法指示処理を終了する(具体的には、s420の処理へ移行する)ように構成してもよい。この場合、動作モードをサポートモードへ切り替えてから所定の期間内であっても、要求催促データが1回返信された際に、ノーマルモードへ切り替え直すことができる。つまり、要求催促データの送信回数「1」と同じ数の無線ステーションに対してのみ、接続方法の設定をサポートすることができるようになる。なお、この構成においては、要求催促データを返信した際に、その返信回数をカウントしておき、所定の回数になったときのみ、s420の処理へ移行するように構成してもよい。この場合、1つの無線ステーションから広告データを受信したらすぐに要求催促データを返信した後でノーマルモードへ切り替え直すようにし、広告データの登録は行わないようにしてもよい。   In the present embodiment, the access point 10 is configured to repeatedly return the request prompting data until a timeout occurs in the connection method instruction process (to return to the process from s370 to s320). However, after the request prompting data is returned, the connection method instruction process may be terminated (specifically, the process proceeds to the process of s420). In this case, even within the predetermined period after the operation mode is switched to the support mode, when the request prompting data is returned once, it can be switched back to the normal mode. In other words, connection method setting can be supported only for the same number of wireless stations as the number of transmissions of the request prompt data “1”. In this configuration, when the request prompting data is returned, the number of replies may be counted, and the process may proceed to s420 only when the predetermined number of times is reached. In this case, as soon as the advertisement data is received from one wireless station, the request prompting data is returned and then the mode is switched back to the normal mode, and the advertisement data may not be registered.

また、上記実施形態において、プリンタ20は、接続方法確定処理が開始した際、工場出荷状態であるか否かのチェックを経てから(図2におけるs100の処理参照)、s110以降の処理が行われるように構成されているが、この工場出荷状態であるか否かのチェックは、接続方法確定処理を開始した直後でなくてもよい。例えば、s240の処理とs250の処理との間としてもよい。   In the above-described embodiment, when the connection method determination process starts, the printer 20 performs a process after s110 after checking whether it is in a factory-shipped state (see the process of s100 in FIG. 2). Although it is configured as described above, the check as to whether or not it is in the factory-shipped state may not be performed immediately after the connection method determination process is started. For example, it may be between the process of s240 and the process of s250.

また、上記実施形態においては、「広告データ」および「要求催促データ」として専用のフレームデータを採用したものを例示した。しかし、この「広告データ」および「要求催促データ」としては、無線LAN規格において規定された周知のデータを採用してもよい。ここで、採用するデータとしては、例えば、プローブ要求,応答が考えられる。ただ、このようにプローブ要求,応答を採用する場合、プリンタ20は、アクセスポイント10を除く他の無線アクセスポイントからのプローブ応答に反応して無差別に無線接続してしまい、アクセスポイント10との無線接続を実現することが困難になる恐れがある。また、このことは、ネットワークのセキュリティを確保する観点から望ましいことではない。そこで、アクセスポイント10を、「広告データ」として送信されてきたプローブ要求を受信した際に、プリンタ20の設定を行う旨を明示的に示したパラメータを含むプローブ応答を「要求催促データ」として送信するように構成すると共に、プリンタ20を、設定を行う旨を明示的に示したパラメータを含むプローブ応答を「要求催促データ」として受信した場合にのみ設定を行うように構成することが望ましい。   Further, in the above-described embodiment, an example in which dedicated frame data is adopted as “advertisement data” and “request prompting data” is illustrated. However, as the “advertisement data” and “request prompting data”, well-known data defined in the wireless LAN standard may be adopted. Here, as data to be adopted, for example, a probe request and a response can be considered. However, when the probe request and response are employed in this way, the printer 20 wirelessly connects indiscriminately in response to probe responses from other wireless access points except the access point 10, and It may be difficult to realize a wireless connection. This is not desirable from the viewpoint of ensuring network security. Accordingly, when the access point 10 receives a probe request transmitted as “advertisement data”, a probe response including a parameter explicitly indicating that the printer 20 is to be set is transmitted as “request prompting data”. In addition, the printer 20 is preferably configured to perform the setting only when a probe response including a parameter explicitly indicating that the setting is to be performed is received as “request prompting data”.

[第2実施形態]
本実施形態の無線LANシステムは、第1実施形態における無線LANシステムと同様の構成であり、アクセスポイント10における一部の処理内容が異なっているだけであるため、この相違点についてのみ詳述する。○アクセスポイント10による接続方法指示処理
以下に、アクセスポイント10の備えるCPU11により実行される接続方法指示処理の処理手順について図5に基づいて説明する。この接続方法指示処理は、第1実施形態における接続方法指示処理(図4)のうち、s350以降の処理内容が以下に示すような手順で行われるものである。なお、第1実施形態と同一の処理については同一のステップ番号を付し、詳細な説明を省略するものとする。
[Second 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 performed according to the following procedure from the connection method instruction process (FIG. 4) according to the first embodiment. The same processes as those in the first embodiment are denoted by the same step numbers, and detailed description thereof is omitted.

まず、s350の処理で、広告データが登録済みのものでなければ(s350:NO)、この広告データで示されるパラメータを、RAM13における特定の記憶領域へ記憶することにより登録(例えば、データテーブルへ登録)する(s352)。この処理は、図4におけるs360の処理と同様の処理であるが、デバイス名およびデバイスIDだけでなく、s330の処理で広告データを受信したときの受信レベル(電波強度)が対応づけられた状態で登録される。なお、要求催促データで示されるパラメータを登録したデータテーブルの例を図6に示す。   First, if the advertisement data is not already registered in the process of s350 (s350: NO), the parameter indicated by this advertisement data is registered by storing it in a specific storage area in the RAM 13 (for example, in the data table). Registration) (s352). This process is the same process as the process of s360 in FIG. 4, but is associated with not only the device name and device ID but also the reception level (radio wave intensity) when the advertisement data is received in the process of s330. It is registered with. An example of a data table in which parameters indicated by the request prompting data are registered is shown in FIG.

このs352の処理を終えた後、または、s350の処理で広告データが登録済みのものであれば(s350:YES)、s320の処理へ戻る。
なお、s340の処理が行われる時点では、要求催促データを送信することがなく、アソシエーション要求が送信されてくることはないため、s340の処理で受信したデータが広告データでない場合(s340:NO)は、「その他の処理」を行った後(s410)、s320の処理へ戻る。
After the process of s352 is completed or if the advertisement data has already been registered in the process of s350 (s350: YES), the process returns to the process of s320.
When the process of s340 is performed, the request prompting data is not transmitted and the association request is not transmitted. Therefore, when the data received in the process of s340 is not advertisement data (s340: NO) After performing “other processing” (s410), the process returns to s320.

この後、s320〜s410の処理を繰り返した後、s320の処理でタイムアウトとなっていれば(s320:YES)、s310の処理でカウントをスタートしたタイマーをストップおよびリセットする(s420)。   Thereafter, after the processing of s320 to s410 is repeated, if the time-out occurs in the processing of s320 (s320: YES), the timer that started counting in the processing of s310 is stopped and reset (s420).

次に、s352の処理を経てパラメータの登録が行われたか否かをチェックする(s510)。この処理では、RAM13における特定の記憶領域へs352の処理によるデータが記憶されていれば、s352の処理によるパラメータの登録が行われたと判定する。   Next, it is checked whether or not parameters have been registered through the process of s352 (s510). In this process, if the data by the process of s352 is stored in a specific storage area in the RAM 13, it is determined that the parameter has been registered by the process of s352.

このs510の処理で、パラメータの登録が行われていなければ(s510:NO)、本接続方法指示処理を終了する一方、パラメータの登録が行われていれば(s510:YES)、タイマーをスタートさせる(s520)。この処理でスタートするタイマーは、広告データの登録が行われた後、再度プリンタ20から広告データが期限内に送信されてくるか否かをチェックするためのものである。   If the parameter is not registered in the process of s510 (s510: NO), the present connection method instruction process is terminated. If the parameter is registered (s510: YES), the timer is started. (S520). The timer that is started in this process is for checking whether or not the advertisement data is transmitted again from the printer 20 within the time limit after registration of the advertisement data.

次に、広告データの登録に対してタイムアウトとなったか否かをチェックする(s530)。この処理では、s520の処理でカウントをスタートしたタイマーのカウント値が所定の値(本実施形態においては、15s)に到達していれば、タイムアウトであると判定する。   Next, it is checked whether or not the advertisement data registration has timed out (s530). In this process, if the count value of the timer that started counting in the process of s520 has reached a predetermined value (15 s in the present embodiment), it is determined that a timeout has occurred.

このs530の処理でタイムアウトとなっていなければ(s530:NO)、プリンタ20側からデータを受信したか否かをチェックし(s540)、受信していなければ(s540:NO)、s530の処理へ戻る。   If no timeout has occurred in the process of s530 (s530: NO), it is checked whether data has been received from the printer 20 (s540). If not received (s540: NO), the process proceeds to s530. Return.

一方、s540の処理で、プリンタ20側からデータを受信したら(s540:YES)、受信したデータが広告データであるか否かをチェックする(s550)。この処理は、図4におけるs340の処理と同様の処理である。   On the other hand, if data is received from the printer 20 side in the process of s540 (s540: YES), it is checked whether or not the received data is advertisement data (s550). This process is the same as the process of s340 in FIG.

このs550の処理で、受信したデータが広告データであれば(s550:YES)、この広告データが登録済みのものであるか否かをチェックする(s560)。この処理は、図4におけるs350の処理と同様の処理である。   In the process of s550, if the received data is advertisement data (s550: YES), it is checked whether or not the advertisement data is already registered (s560). This process is the same as the process of s350 in FIG.

このs560の処理で、受信した広告データが登録済みのものでなければ(s560:NO)、s530の処理へ戻る。
一方、s560の処理で、受信した広告データが登録済みのものであれば(s560:YES)、この広告データについて登録されたパラメータにおける受信レベルが、全てのパラメータの中で最大の受信レベルであるか否かをチェックする(s570)。
If the received advertisement data is not already registered in the process of s560 (s560: NO), the process returns to the process of s530.
On the other hand, if the received advertisement data is already registered in the process of s560 (s560: YES), the reception level in the parameter registered for this advertisement data is the maximum reception level among all the parameters. It is checked whether or not (s570).

この処理で、最大の受信レベルでなければ(s570:NO)、s530の処理へ戻る一方、最大の受信レベルであれば(s570:YES)、要求催促データを返信した後(s370)、s530の処理へ戻る。   In this process, if it is not the maximum reception level (s570: NO), the process returns to the process of s530. On the other hand, if it is the maximum reception level (s570: YES), the request prompt data is returned (s370). Return to processing.

また、上述したs550の処理で、受信したデータが広告データでなければ(s550:NO)、アソシエーション要求であるか否かをチェックする(s380)。
このs380の処理で、受信したデータがアソシエーション要求であれば(s380:YES)、アクセスポイント10自身への無線接続を許可する旨のアソシエーション応答を、アソシエーション要求の送信元であるプリンタ20へ返信した後(s400)、s530の処理へ戻る。
If the received data is not advertisement data (s550: NO) in the process of s550 described above, it is checked whether the request is an association request (s380).
In the process of s380, if the received data is an association request (s380: YES), an association response for permitting wireless connection to the access point 10 itself is returned to the printer 20 that is the transmission source of the association request. After (s400), the process returns to s530.

一方、s380の処理で、受信したデータがアソシエーション要求でなければ(s380:NO)、s410の処理と同様に、受信したデータに基づく処理(その他の処理)を行った後(s580)、s530の処理へ戻る。   On the other hand, if the received data is not an association request in the process of s380 (s380: NO), the process based on the received data (other processes) is performed (s580) and the process of s530 is performed as in the process of s410. Return to processing.

こうして、s530以降の処理を繰り返した後、s530の処理でタイムアウトとなっていれば(s530:YES)、s520の処理でカウントをスタートしたタイマーをストップおよびリセットして(s590)、本接続方法指示処理を終了する。   In this way, after the processing after s530 is repeated, if the time-out occurs in the processing of s530 (s530: YES), the timer that started counting in the processing of s520 is stopped and reset (s590), and this connection method instruction The process ends.

[第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.

アクセスポイント10は、受信レベルが最も大きい広告データを送信してきた無線ステーションに、要求催促データを返信して接続方法を設定させることができる(図5におけるs570,s370の処理)。   The access point 10 can return the request prompt data to the wireless station that has transmitted the advertisement data having the highest reception level, and set the connection method (processing of s570 and s370 in FIG. 5).

[第2実施形態に対して変形可能な構成]
この第2実施形態においては、以下に示すように、一部構成を別の構成に変形した状態で実施することもできる。なお、以下に示す構成は、他の実施形態における同様の構成に対しても適用できる。
[Configuration that can be modified with respect to the second embodiment]
In the second embodiment, as shown below, a part of the configuration may be changed to another configuration. In addition, the structure shown below is applicable also to the same structure in other embodiment.

例えば、s570の処理では、受信した広告データについて登録されたパラメータにおける受信レベルが、全てのパラメータの中で最大の受信レベルであるか否かをチェックするように構成されたものを例示した。しかし、このs570の処理では、受信した広告データについて登録されたパラメータにおけるデバイスIDが、s540の処理で広告データを受信した時点におけるデバイスIDと一致するか否かをチェックするように構成してもよい。この場合、アクセスポイント10は、登録済みの広告データと同一の広告データを受信しても、この広告データで特定されるデバイスIDが、先に広告データを登録したときのデバイスIDと一致しなければ、要求催促データを送信せずに接続方法を設定させることがない。これにより、アクセスポイント10側で登録された広告データを偽装して送信することにより不正にアクセスポイント10への無線接続を試みる無線ステーションを、アクセスポイント10へ無線接続させてしまうことを防止できる。   For example, in the process of s570, an example is shown in which it is configured to check whether or not the reception level in the parameter registered for the received advertisement data is the maximum reception level among all the parameters. However, in the process of s570, it may be configured to check whether the device ID in the parameter registered for the received advertisement data matches the device ID at the time of receiving the advertisement data in the process of s540. Good. In this case, even if the access point 10 receives the same advertisement data as the registered advertisement data, the device ID specified by the advertisement data must match the device ID when the advertisement data is registered first. For example, the connection method is not set without transmitting the request prompting data. As a result, it is possible to prevent a wireless station attempting to make a wireless connection to the access point 10 by impersonating and transmitting the advertisement data registered on the access point 10 side from being wirelessly connected to the access point 10.

[第3実施形態]
本実施形態の無線LANシステムは、第2実施形態における無線LANシステムと同様の構成であり、アクセスポイント10における一部の処理内容が異なっているだけであるため、この相違点についてのみ詳述する。○アクセスポイント10による接続方法指示処理
以下に、アクセスポイント10の備えるCPU11により実行される接続方法指示処理の処理手順について図7に基づいて説明する。この接続方法指示処理は、第2実施形態における接続方法指示処理(図5)のうち、s510の処理が行われた後、後述するs512,s514の処理が行われ、また、s570の処理の代わりに後述するs562の処理が行われるように構成されたものであるため、これらの処理についてのみ詳述する。
[Third Embodiment]
The wireless LAN system of the present embodiment has the same configuration as that of the wireless LAN system of the second 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. In this connection method instruction process, in the connection method instruction process (FIG. 5) in the second embodiment, after the process of s510 is performed, the processes of s512 and s514 described later are performed, and instead of the process of s570. Therefore, only s562 will be described in detail.

まず、s510の処理で、パラメータの登録が行われていれば(s510:YES)、広告データ毎に登録されたパラメータで示されるデバイス名それぞれをユーザに通知する(s512)。この処理では、登録済みのパラメータで示されるデバイス名の一覧を表示パネル17に表示させることにより通知を行う。この一覧が表示パネル17に表示された後、ユーザは、一覧から1以上のデバイス名を選択するための選択操作を操作パネル16により行うことができる。   First, if the parameter is registered in the process of s510 (s510: YES), the user is notified of each device name indicated by the parameter registered for each advertisement data (s512). In this process, notification is performed by causing the display panel 17 to display a list of device names indicated by the registered parameters. After the list is displayed on the display panel 17, the user can perform a selection operation for selecting one or more device names from the list using the operation panel 16.

次に、ユーザにより選択操作が行われるまで待機する(s514:NO)。
このs514の処理で選択操作が行われたら(s514:YES)、s520の処理へ移行する。なお、このとき選択操作により選択されたデバイス名が示されるパラメータに対しては、選択操作により選択された旨を示す選択フラグがセットされる(初期値「0」から「1」をセットした状態とする)。
Next, it waits until selection operation is performed by the user (s514: NO).
If a selection operation is performed in the process of s514 (s514: YES), the process proceeds to the process of s520. At this time, for the parameter indicating 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”) And).

そして、s560の処理で、受信した広告データが登録済みのものであれば(s560:YES)、s570の処理の代わりに、この広告データについて登録されたパラメータが、選択フラグのセットされたものであるか否かをチェックする(s562)。   If the received advertisement data is already registered in the process of s560 (s560: YES), the parameter registered for the advertisement data is set with the selection flag instead of the process of s570. It is checked whether or not there is (s562).

このs562の処理で、選択フラグのセットされたものであれば(s562:YES)、s370の処理へ移行する一方、選択フラグのセットされたものでなければ(s562:NO)、s530の処理へ戻る。   If the selection flag is set in this process of s562 (s562: YES), the process proceeds to the process of s370. If the selection flag is not set (s562: NO), the process proceeds to s530. Return.

[第3実施形態の効果]
このように構成された無線LANシステムにおいては、第2実施形態と同様の構成により得られる作用・効果の他に、以下に示すような作用・効果を得ることができる。
[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 second embodiment.

アクセスポイント10は、ユーザにより任意に選択されたデバイス名の無線ステーション(例えば、プリンタ20)のみに、要求催促データを返信して接続方法を設定させることができる(図7におけるs512,s514,s562の処理参照)。   The access point 10 can return the request prompt data only to the wireless station (for example, the printer 20) having the device name arbitrarily selected by the user and set the connection method (s512, s514, s562 in FIG. 7). Refer to the process.)

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

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

[第4実施形態]
本実施形態の無線LANシステムは、第3実施形態における無線LANシステムと同様の構成であり、第3実施形態では、アクセスポイント10により行われるデバイス名の通知および選択操作(図7におけるs512,s514の処理)を、アクセスポイント10とケーブル100を介してデータ通信可能に接続された周知のパーソナルコンピュータ(以降、「PC」とする)30側で行うことができるように構成したものである。○アクセスポイント10による接続方法指示処理
以下に、アクセスポイント10の備えるCPU11により実行される接続方法指示処理の処理手順について図8に基づいて説明する。この接続方法指示処理は、第3実施形態における接続方法指示処理(図7)のうち、s512,s514の処理の代わりに後述するs516,s518の処理が行われるように構成されたものであるため、これらの処理についてのみ詳述する。なお、本接続方法指示処理は、PC30側からの開始指令データを受信した以降に開始される(図9における「開始指令」参照)。
[Fourth Embodiment]
The wireless LAN system of this embodiment has the same configuration as the wireless LAN system of the third embodiment. In the third embodiment, device name notification and selection operations (s512 and s514 in FIG. 7) performed by the access point 10 are performed. This processing is configured to be performed on the side of a well-known personal computer (hereinafter referred to as “PC”) 30 connected to the access point 10 via the cable 100 so that data communication is possible. 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. 7) in the third embodiment, the processes of s516 and s518 described later are performed instead of the processes of s512 and s514. 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. 9).

まず、s510の処理で、パラメータの登録が行われていれば(s510:YES)、登録されたパラメータで示されるデバイス名の一覧を示す一覧データを生成しPC30(上述の開始指令データの送信元であるデバイス)へ送信する(s516)。この一覧データを受信したPC30では(図9における「一覧データ」参照)、一覧データで示される一覧がディスプレイに表示されることにより、各デバイス名の通知が行われ、この後、ユーザが、各デバイス名から1以上のデバイス名を選択するための選択操作を行うと、選択したデバイス名を特定可能な選択データが送信されてくる(図9における「選択データ」参照)。   First, if parameters are registered in the process of s510 (s510: YES), list data indicating a list of device names indicated by the registered parameters is generated and the PC 30 (source of the above start command data) is generated. (S516). In the PC 30 that has received this list data (see “List Data” in FIG. 9), 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 or more device names from the device names is performed, selection data capable of specifying the selected device name is transmitted (see “Selection Data” in FIG. 9).

このs516の処理で一覧データを送信した後、PC30側から選択データを受信するまで待機し(s518:NO)、選択データを受信したら(s518:YES)、s520の処理へ移行する。なお、この後に行われるs370の処理では、s518の処理で受信された選択データに基づき、この選択データで特定されるデバイス名に対応するパラメータ(SSIDおよび接続方法)に基づき、無線ステーションに要求催促データを送信する。○PC30による設定指令処理
以下に、PC30により実行される設定指令処理の処理手順について図10に基づいて説明する。この設定指令処理は、PC30に組み込まれているプログラムに従って実行される処理である。
After the list data is transmitted in the process of s516, the process waits until selection data is received from the PC 30 side (s518: NO). When the selection data is received (s518: YES), the process proceeds to s520. In the process of s370 performed thereafter, based on the selection data received in the process of s518, based on the parameters (SSID and connection method) corresponding to the device name specified by the selection data, a request for prompting is made to the wireless station. Send data. 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.

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

次に、アクセスポイント10から一覧データを受信するまで待機する(s620:NO)。
このs620の処理で一覧データを受信したら(s620:YES)、この一覧データで示される内容をディスプレイに表示させる(s630)。こうして一覧データで示されるデバイス名の一覧が表示された後(図11参照)、ユーザは、キーボードまたはマウスなどにより、1以上のデバイス名を選択する選択操作を行うことができる。
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. 11), the user can perform a selection operation for selecting one or more device names with a keyboard or a mouse.

そして、選択操作が行われるまで待機し(s640:NO)、選択操作が行われたら(s640:YES)、この選択操作により選択されたデバイス名を特定可能な選択データを生成してアクセスポイント10へ送信する(s650)。   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).

[第4実施形態の効果]
このように構成された無線LANシステムにおいては、第3実施形態と同様の構成により得られる作用・効果の他に、以下に示すような作用・効果を得ることができる。
[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 that of the third embodiment.

アクセスポイント10は、登録されたデバイス名のうち、PC30から受信した選択データで示されるデバイス名、つまりPC30においてユーザが任意に選択したデバイス名の無線ステーション(例えば、プリンタ20)のみに、要求催促データを送信して接続方法を設定させることができる(図8におけるs516,s518,s562の処理参照)。   The access point 10 prompts only the device name indicated by the selection data received from the PC 30 among the registered device names, that is, the wireless station (for example, the printer 20) of the device name arbitrarily selected by the user in the PC 30. Data can be transmitted to set the connection method (see the processing of s516, s518, and s562 in FIG. 8).

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

例えば、図8におけるs516,s518の処理では、デバイス名の一覧を示す一覧データを生成するように構成されたものを例示した。しかし、これらの処理においては、s516の処理でデバイスIDの一覧を示す一覧データを生成して送信するようにすることによって、デバイス名の代わりにデバイスIDに基づいて選択操作を行わせるように構成してもよい。この場合、PC30側でユーザにより任意に選択されたデバイスIDの無線ステーションのみに、要求催促データを返信して接続方法を設定させることができる。   For example, in the processing of s516 and s518 in FIG. 8, an example is shown that is configured to generate list data indicating a list of device names. However, in these processes, the list data indicating the list of device IDs is generated and transmitted in the process of s516, so that the selection operation is performed based on the device ID instead of the device name. May be. 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側から送信の要求を受けたタイミングで生成して送信するように構成してもよい(図9における「一覧要求」参照)。このためには、例えば、図10におけるs610の処理とs620の処理との間に、一覧データを要求するための操作を待つステップ(s612)と、この操作を受けて一覧データの送信を要求するステップ(s614)を設けると共に(図12参照)、図8におけるs510の処理とs516の処理との間に、PC30側からの要求を待つステップ(s515)を設ける(図13参照)、といった構成とすればよい。さらに、この構成においても、上述したのと同様に、デバイス名の代わりにデバイス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. 9). For this purpose, for example, a step of waiting for an operation for requesting list data (s612) between the processing of s610 and s620 in FIG. 10, and the transmission of the list data is requested in response to this operation. Step (s614) is provided (see FIG. 12), and a step (s515) for waiting for a request from the PC 30 side is provided between the processes of s510 and s516 in FIG. 8 (see FIG. 13). do it. Further, in this configuration, as described above, the selection operation may be performed based on the device ID instead of the device name.

また、本実施形態において、アクセスポイント10が無線ステーション(プリンタ20)へ要求催促データを送信した以降に、無線ステーション側において接続方法が設定された(または設定される)旨をPC30側に通知するように構成してもよい。このためには、例えば、図8におけるs400の処理の後に、設定された旨を通知するための設定通知データをPC30へ送信するステップ(s402)を設けると共に(図13参照)、図10におけるs650の処理の後に、設定通知データが送信されてくるのを待つステップ(s652)と、設定通知データを受信した際に無線ステーション側において接続方法が設定された旨を通知するステップ(s654)を設ける(図12参照)、といった構成とすればよい。   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 processing of s400 in FIG. 8, a step (s402) of transmitting setting notification data for notifying that the setting has been made to the PC 30 is provided (see FIG. 13), 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. 12).

[第5実施形態]
以上説明した各実施形態においては、プリンタ20がアクセスポイント10と無線接続されたとしても、アクセスポイント10がデータ通信を暗号化して行うように設定されていると、通常は、プリンタ20側も同様に暗号化してデータ通信を行うように設定しなければ、正常にデータ通信を行うことはできない。そこで、本実施形態の無線LANシステムは、第5実施形態の無線LANシステムを、ユーザにより操作を行わせることなく正常にデータ通信を行うことができるように構成したものである。
[Fifth 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により実行される接続方法指示処理の処理手順について図14に基づいて説明する。この接続方法指示処理は、第4実施形態における接続方法指示処理(図8)のうち、s370の処理の後に後述するs372の処理が設けられ、s590の処理の後に、s592,s594,s596の処理が設けられたものであるため、これらの処理についてのみ詳述する。
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 includes a process of s372 described later after the process of s370 in the connection method instruction process (FIG. 8) in the fourth embodiment, and the processes of s592, s594, and s596 after the process of s590. Therefore, only these processes will be described in detail.

まず、本実施形態において、s370の処理では、ROM12に記憶された通常の暗号キーとは異なる暗号キー(以降、「仮暗号キー」とする)をランダムに生成し、この仮暗号キーを付加した状態で送信する。   First, in the present embodiment, in the process of s370, 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 in state.

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

また、s590の処理を終えた後、s372の処理で催促リストに登録された無線ステーションのうちいずれかとの無線接続が解除されるまで待機し(s592:NO)、無線接続が解除されたら(s592:YES)、無線接続が解除された無線ステーションに対する登録内容を催促リストから削除する(s594)。   In addition, after completing the process of s590, the process waits until the wireless connection with any of the wireless stations registered in the prompt list in the process of s372 is released (s592: NO), and when the wireless connection is released (s592). : YES), the registered content for the wireless station whose wireless connection has been canceled is deleted from the prompt list (s594).

このs594の処理を終えた後、催促リストに登録内容が残っているか否かをチェックし(s596)、残っていれば(s596:YES)、s592の処理へ戻る。そして、催促リストの登録内容がなくなるまで繰り返し、s596の処理で登録内容が残っていなければ(s596:NO)、本接続方法指示処理を終了する。○プリンタ20による接続方法確定処理
以下に、プリンタ20の備えるCPU21により実行される接続方法確定処理の処理手順について図15に基づいて説明する。この接続方法確定処理は、他の実施形態における接続方法確定処理(図5)のうち、s301の処理が行われた後に、以下に示すような処理が行われるように構成されたものである。なお、他の実施形態と同一の処理については同一のステップ番号を付し、詳細な説明を省略するものとする。
After the process of s594 is completed, it is checked whether or not the registered content remains in the prompt list (s596). If it remains (s596: YES), the process returns to s592. And it repeats until there is no registered content in the reminder list, and if no registered content remains in the process of s596 (s596: NO), 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 configured such that the following process is performed after the process of s301 in the connection method determination process (FIG. 5) in the other embodiment. Note that the same steps as those of the other embodiments are denoted by the same step numbers, and detailed description thereof is omitted.

まず、s170の処理で要求催促データを受信した後、s174の処理において、要求催促データで特定されるSSIDをROM22に記憶させると共に、仮暗号キーをRAM23における「セキュリティに関するパラメータ」用の記憶領域に記憶させる。その後、s224の処理で接続方法を切り替えることにより、無線アクセスポイント(アクセスポイント10)とのデータ通信を、「セキュリティに関するパラメータ」用の記憶領域に記憶させた仮暗号キーで暗号化した状態で行う。   First, after the request prompt data is received in the process of s170, the SSID specified by the request prompt data is stored in the ROM 22 in the process of s174, and the temporary encryption key is stored in the storage area for “security parameters” in the RAM 23. Remember me. Thereafter, by switching the connection method in the process of s224, data communication with the wireless access point (access point 10) is performed in the state encrypted with the temporary encryption key stored in the storage area for “security parameters”. .

また、s301の処理を終えた後、アクセスポイント10の暗号キーを取得する(s700)。この処理は、PC30から公開鍵暗号方式によりアクセスポイント10の暗号キーを取得する(図16における「暗号キー(乱数で暗号化)」参照)ための処理であって、詳細な処理手順は後述する暗号キー取得処理(図17)において説明する。   In addition, after completing the processing of s301, the encryption key of the access point 10 is acquired (s700). This process is a process for obtaining 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. 16), and the detailed processing procedure will be described later. This will be described in the encryption key acquisition process (FIG. 17).

このs700の処理で暗号キーを取得できていれば(s302:YES)、この暗号キーをROM22に記憶させる(s304)。この処理では、ROM22への暗号キーの記憶と共に、RAM23からの仮暗号キーの削除も行う。   If the encryption key has been acquired in the process of s700 (s302: YES), this encryption key is stored in the ROM 22 (s304). 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との無線接続を解除する(s306)。ここでは、アクセスポイント10へオーセンティケーション解除を送信することにより(図16における「オーセンティケーション解除」参照)、アクセスポイント10との無線接続を解除する。   Next, the wireless connection with the access point 10 is canceled (s306). 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. 16).

そして、アクセスポイント10との無線接続を再度確立する(s308)。この処理では、上述したのと同様に、オーセンティケーション要求,応答をアクセスポイント10との間でやりとりすることにより無線接続を確立する。この処理で無線接続が確立された以降は、s304の処理で記憶された暗号キーにより暗号化した状態でデータ通信を行う。   Then, the wireless connection with the access point 10 is established again (s308). In this process, as described above, the wireless connection is established by exchanging the authentication request and response with the access point 10. After the wireless connection is established by this process, data communication is performed in the state encrypted by the encryption key stored in the process of s304.

こうして、s308の処理を終えた後、または、s302の処理で暗号キーを取得できていなければ(s302:NO)、本接続方法確定処理を終了する。○プリンタ20による暗号キー取得処理
以下に、プリンタ20の備えるCPU21により実行される暗号キー取得処理の処理手順を図17に基づいて説明する。この暗号キー取得処理は、図15におけるs700の処理の詳細な処理手順である。
In this way, after completing the process of s308, or if the encryption key has not been acquired in the process of s302 (s302: 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では、この公開鍵でランダムに生成された乱数を暗号化して返信してきた後、更に、この乱数で暗号化した所定のメッセージ画像を示す印刷データを送信してくる。
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. Upon receiving this public key, the PC 30 returns a random number randomly generated with this public key and returns it, and then transmits print data indicating a predetermined message image encrypted with this random number.

次に、PC30から暗号化された乱数を受信する(s730)。
次に、PC30から暗号化された印刷データを受信する(s740)。
次に、s740の処理で受信した印刷データで示されるメッセージ画像を、s710の処理で生成した秘密鍵で復号した後、プリントエンジン28により印刷させる(s750)。この処理で印刷されるメッセージ画像は、s730の処理で受信した乱数が確かにプリンタ20へ送信されたことをユーザに確認させるためのメッセージを含むものであり、この旨を確認したユーザは、PC30により後述する確認操作を行うことになる(後述の設定指令処理(図18)参照)。そして、この確認操作のあと、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 (refer to a setting command process (FIG. 18) 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により実行される設定指令処理の処理手順について図18に基づいて説明する。この設定指令処理は、PC30に組み込まれているプログラムに従って実行される処理である。この設定指令処理は、他の実施形態における設定指令処理(図10)のうち、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. 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. 10) in the other 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)。この公開鍵は、図17における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)。この暗号化した乱数は、図17における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)。この暗号化した印刷データは、図17における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). This 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)。この暗号化した暗号キーは、図17における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は、起動した以降、無線ステーションとの間におけるデータ通信(データの送受信)を行うタイミングになった際に、暗号切替処理を行うように構成されており、以下に、この暗号切替処理の処理手順を図19に基づいて説明する。
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の処理を終えた後、本暗号切替処理を終了する。
[第5実施形態の効果]
このように構成された無線LANシステムにおいては、上述した各実施形態と同様の構成により得られる作用・効果の他に、以下に示すような作用・効果を得ることができる。
In this way, after finishing the process of s920 or s930, this encryption switch process is complete | finished.
[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 the above-described embodiments.

アクセスポイント10は、要求催促データを返信した無線ステーションに対して仮暗号キーにより暗号化したデータ通信を行うよう暗号化方法を切り替えるようになり(図19におけるs910の処理参照)、一方、要求催促データを受信したプリンタ20は、アクセスポイント10とのデータ通信を仮暗号キーにより暗号化して行うように設定される(図15におけるs224の処理参照)。こうして、アクセスポイント10とプリンタ20との間では、仮暗号キーにより暗号化した状態で正常にデータ通信を行うことができるようになる。これにより、アクセスポイント10が外部ネットワークとの間で行うデータ通信についてのセキュリティレベルを維持したまま、アクセスポイント10とプリンタ20とのデータ通信についても、一定のセキュリティレベルを確保した状態で実現できる。   The access point 10 switches the encryption method to perform data communication encrypted with the temporary encryption key to the wireless station that has returned the request prompt data (see the process of s910 in FIG. 19), while the request prompt is requested. The printer 20 that has received the data is set to perform data communication with the access point 10 by encrypting with the temporary encryption key (see the process of s224 in FIG. 15). 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は、暗号キー取得処理(図17)により暗号キーを取得できた場合、アクセスポイント10への無線接続をやり直すことにより、アクセスポイント10とプリンタ20とのデータ通信を、PC30からプリンタ20へ受け渡された暗号キーにより暗号化して行うようになる(図15におけるs306,s308の処理参照)。このとき、アクセスポイント10では、無線接続が解除された無線ステーションに該当するパラメータついては催促リストから削除されるため(図14におけるs594の処理参照)、以降、プリンタ20とのデータ通信は暗号キーにより暗号化して行うように戻されることになる。よって、アクセスポイント10が他の無線ステーションまたは外部ネットワークとの間で行うデータ通信と同様のセキュリティレベルで、アクセスポイント10とプリンタ20とのデータ通信を実現することができるようになる。   Subsequently, when the printer 20 can acquire the encryption key by the encryption key acquisition process (FIG. 17), 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. Encryption is performed using the encryption key delivered to the printer 20 (see the processing in s306 and s308 in FIG. 15). At this time, the access point 10 deletes the parameter corresponding to the wireless station whose wireless connection has been canceled from the prompt list (see the process of s594 in FIG. 14), and thereafter, data communication with the printer 20 is performed using the encryption key. It will be returned to encrypt. 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から暗号キーの前に受け渡された印刷データで示されるメッセージ画像を印刷する(図17におけるs750の処理参照)。そのため、ユーザは、プリンタ20からメッセージ画像が印刷されたか否かによって、このプリンタ20がPC30から暗号キーを受け渡されるべき正しい無線ステーションであることを確認できる。そして、このメッセージ画像を確認した後、ユーザがPC30で確認操作を行うことにより(図18における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. 17). 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. 18), so that 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側で工場出荷状態と判定された場合には、広告データの送信を含めた全ての処理が行われないように構成されたものを例示した(図2,図15におけるs100の処理参照)。しかし、プリンタ20側では、広告データをプリンタ20自身が工場出荷状態か否か判定可能な状態で送信し、アクセスポイント10側において、広告データに対する登録または要求催促データの返信を行わないようにしてもよい。   Further, in each of the above-described embodiments, an example in which all processing including transmission of advertisement data is not performed when it is determined that the printer 20 is in a factory shipment state (FIG. 2). , See the process of s100 in FIG. 15). However, on the printer 20 side, the advertisement data is transmitted in a state where it can be determined whether or not the printer 20 itself is in a factory-shipped state, and the access point 10 side is prevented from registering the advertisement data or returning the request prompting data. Also good.

このために、プリンタ20側では、例えば、図20に示すように、s100の処理をs130の処理の後に設け、このs100の処理で「YES」と判定された場合は、工場出荷状態である旨を示す「Unconfigure device」フラグをセット(「1」をセット)した広告データを送信する一方(s142)、「NO」と判定された場合には、「Unconfiguredevice」フラグをセットすることなく(「0」をセット)広告データを送信した後(s144)、s150の処理へ移行するように構成するとよい。   For this reason, on the printer 20 side, for example, as shown in FIG. 20, the process of s100 is provided after the process of s130, and if “YES” is determined in the process of s100, the factory shipment state is indicated. While the advertisement data with the “Unconfigure device” flag indicating “1” set is transmitted (s142), if it is determined “NO”, the “Unconfiguredevice” flag is not set (“0 ”Is set) After the advertisement data is transmitted (s144), the process may be shifted to the process of s150.

また、アクセスポイント10側では、図4,図5,図7,図8,図13,図14において、以下に示すような処理を設けるとよい。例えば、図21に示すように、s340の処理の後、受信した広告データの「Unconfigure device」フラグをチェックした結果、無線ステーション(プリンタ20)が工場出荷状態であれば(s342:YES)、s350の処理へ移行する一方、工場出荷状態でなければ(s342:NO)、s320の処理へ戻る。または、図22に示すように、s550の処理の後、受信した広告データの「Unconfigure device」フラグをチェックした結果、無線ステーションが工場出荷状態であれば(s552:YES)、s560の処理へ移行する一方、工場出荷状態でなければ(s552:NO)、s530の処理へ戻る。   Further, on the access point 10 side, the following processing may be provided in FIGS. 4, 5, 7, 8, 13, and 14. For example, as shown in FIG. 21, if the wireless station (printer 20) is in the factory-shipped state as a result of checking the “Unconfigure device” flag of the received advertisement data after the process of s340 (s342: YES), s350 On the other hand, if the process is not in the factory-shipped state (s342: NO), the process returns to s320. Or, as shown in FIG. 22, after the process of s550, if the result of checking the “Unconfigure device” flag of the received advertisement data is that the wireless station is in a factory-shipped state (s552: YES), the process proceeds to s560. On the other hand, if it is not in the factory-shipped state (s552: NO), the process returns to s530.

このように構成すると、アクセスポイント10は、無線ステーションが工場出荷状態の場合のみ、広告データに基づく登録および要求催促データの送信を行い、接続方法を設定させることができる。   With this configuration, the access point 10 can perform registration and request prompt data transmission based on advertisement data and set a connection method only when the wireless station is in a factory-shipped state.

また、本実施形態においては、プリンタ20が接続方法を切り替える順番が、第1の無線LAN規格における第1チャネルから番号順となっているものを例示した。しかし、この順番については特に限定されず、例えば、同一の無線LAN規格における順番について電波の干渉が起こらないような順番としてもよい。   In the present embodiment, the order in which the printer 20 switches the connection method is exemplified from the first channel in the first wireless LAN standard to the number order. However, the 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.

具体的な例としては、複数のチャネルを複数のグループ(例えば、周波数帯域を二分した高周波側と低周波側の2グループ)に分け、あるグループにおける第jチャネル(jは任意の数)の後は他のグループにおける第jチャネルに切り替えるといったことを、各グループにおける全チャネルにて順番に行うように構成するとよい。この場合、周波数帯が近い同じグループにおけるチャネルへ連続して切り替えられることがないため、電波の干渉を抑えることができる。   As a specific example, a plurality of channels are divided into a plurality of groups (for example, two groups of a high frequency side and a low frequency side which are divided into two frequency bands), and after a jth channel (j is an arbitrary number) in a certain group. It is preferable that the switching to the j-th channel in another group is performed in order on all channels in each group. In this case, it is not possible to continuously switch to a channel in the same group having a close frequency band, so that radio wave interference can be suppressed.

同様に、複数のチャネルを、第1チャネルから所定のチャネル数k(例えば、5チャネル)間隔で順番に切り替えた後、第2チャネルから所定のチャネル数間隔で順番に切り替える、といったことを、第1〜第k−1チャネルまで繰り返すように構成してもよい。この場合、所定のチャネル数kを、電波の干渉を充分に抑えることができる間隔とすることにより、電波の干渉を確実に抑えることができる。   Similarly, after switching a plurality of channels in order at a predetermined channel number k (for example, 5 channels) from the first channel in order, switching from the second channel in order at a predetermined channel number interval, You may comprise so that it may repeat from the 1st-k-1th channel. In this case, radio wave interference can be reliably suppressed by setting the predetermined number k of channels to an interval at which radio wave interference can be sufficiently suppressed.

[本発明との対応関係]
本発明において、無線ステーションの備える方法切替手段は、図2,図15におけるs110〜s290の処理である。また、広告送信手段は、図2,図15におけるs140の処理である。また、方法設定手段は、図2,図15におけるs280の処理である(「YES」と判定された場合)。また、通知収集手段は、図15におけるs160〜s174の処理である。また、暗号設定手段は、図15におけるs224の処理である。また、暗号取得手段は、図15におけるs700の処理である。また、暗号変更手段は、図15におけるs304の処理である。また、メッセージ出力手段は、図17におけるs750の処理である。また、内容判定手段は、図2,図15,図20におけるs100の処理である。また、非設定手段は、図2,図15におけるs100の処理である(「YES」と判定された場合)。
[Correspondence with the present invention]
In the present invention, the method switching means provided in the wireless station is the processing of s110 to s290 in FIGS. The advertisement transmission means is the process of s140 in FIGS. The method setting means is the process of s280 in FIGS. 2 and 15 (when it is determined “YES”). Further, the notification collection means is the processing of s160 to s174 in FIG. The encryption setting means is the process of s224 in FIG. The cipher acquisition unit is the process of s700 in FIG. The cipher changing means is the process of s304 in FIG. The message output means is the process of s750 in FIG. The content determination means is the process of s100 in FIGS. The non-setting means is the process of s100 in FIGS. 2 and 15 (when it is determined “YES”).

また、無線アクセスポイントの備える通知返信手段は、図4,図5,図7,図8,図13,図14におけるs370,s400の処理である。また、広告収集手段は、図4におけるs320〜s360の処理であり、図5,図7,図8,図13,図14におけるs320〜s352の処理である。また、第1,第2ユーザ選択手段は、図7におけるs512,s514の処理である。また、一覧送信手段は、図8,図13,図14におけるs516の処理である。また、暗号切替手段は、図19におけるs910〜s930の処理である。また、モード切替手段は、接続方法指示処理を実行するCPU11である。また、内容判定手段は、図21におけるs342,s542の処理である。   Further, the notification return means provided in the wireless access point is the processing of s370 and s400 in FIGS. 4, 5, 7, 8, 13, and 14. Further, the advertisement collecting means is the process from s320 to s360 in FIG. 4 and the process from s320 to s352 in FIGS. 5, 7, 8, 13, and 14. The first and second user selection means are the processes of s512 and s514 in FIG. The list transmission means is the process of s516 in FIGS. The cipher switching means is the processing from s910 to s930 in FIG. The mode switching means is the CPU 11 that executes connection method instruction processing. The content determination means is the processing of s342 and s542 in FIG.

また、通信端末の備える要求送信手段は、図12にけるs614の処理である。また、第3,第4ユーザ選択手段は、図12におけるs630,s640の処理である。また、選択送信手段は、図12におけるs650の処理である。また、暗号受渡手段は、図18におけるs810〜s850の処理である。また、確認操作手段は、図18におけるs840の処理である。   Further, the request transmission means included in the communication terminal is the process of s614 in FIG. The third and fourth user selection means are the processes of s630 and s640 in FIG. The selective transmission means is the process of s650 in FIG. Further, the encryption delivery means is the processing of s810 to s850 in FIG. The confirmation operation means is the process of s840 in FIG.

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, DESCRIPTION OF SYMBOLS 23 ... RAM, 24 ... Wireless LAN controller, 25 ... PC interface part, 26 ... Operation panel, 27 ... Display panel, 28 ... Print engine, 30 ... Personal computer, 100 ... Cable.

Claims (41)

無線LANステーションとして機能可能なステーションと、無線LANアクセスポイントとして機能可能なアクセスポイントと、を備える無線LANシステムであって、
前記ステーションは、
ステーション側記憶手段と、
ステーション側データ送受信手段と、
を備え、
前記ステーションは、
外部からの指令を受付けた場合に、ステーション側制御を実行し、
前記ステーション側制御には、
複数のチャネルのうちから選択されたチャネルを用いた無線通信によって、前記ステーション自身の識別データを含む1回目のステーション側データを、前記ステーション側データ送受信手段に送信させ、さらに、同じチャネルを用いた無線通信によって、前記ステーション自身の識別データを含む2回目のステーション側データを、前記ステーション側データ送受信手段に送信させステーション側送信制御と、
前記複数のチャネルのうちから選択されたチャネルを切り替えるチャネル切替制御と、
前記外部からの指令を受け付けてから、所定の期に、前記1回目のステーション側データと前記2回目のステーション側データとを受信した無線LANアクセスポイントが送信した、SSIDを含むSSIDデータを、前記1回目のステーションデータの送信と、前記2回目のステーションデータの送信と、に用いられたチャネルを用いた無線通信によって前記ステーション側送受信手段が受信した場合には前記SSIDデータに含まれるSSIDを前記ステーション側記憶手段に記憶させるSSID記憶制御と、
前記SSID記憶制御手段が記憶させたSSIDを用いて、無線LANアクセスポイントによって構築される無線LANネットワークへのアソシエーション要求を行うアソシエーション要求制御と、
が含まれており
前記無線アクセスポイントは、
SSIDを記憶可能なアクセスポイント側記憶手段と、
あらかじめ設定されているチャネルを用いた無線通信によってデータを送受信可能なアクセスポイント側データ送受信手段と、
を備え、
前記アクセスポイントは、
外部からの指令を受け付けた場合に、アクセスポイント側制御を実行し、
前記アクセスポイント側制御には、
前記あらかじめ設定されているチャネルを用た無線通信によって送信されてきた1回目のステーション側データを無線LANステーションから、前記アクセスポイント側データ送受信手段が受信した場合に、前記1回目のステーション側データに含まれる、前記1回目のステーション側データの送信元の識別データを記憶する識別データ記憶制御と、
前記外部からの指令を受け付けてから、所定の期間内に、前記あらかじめ設定されているチャネルを用いた無線通信によって送信されてきた、前記1回目のステーション側データの送信元の識別データを含む2回目のステーション側データを、前記アクセスポイント側データ送受信手段が信した場合には、前記1回目のステーション側データと、前記2回目のステーション側データと、の送信元である無線LANステーションへ前記アクセスポイント側記憶手段に記憶されているSSIDを含むSSIDデータを、前記あらかじめ設定されているチャネルを用いた無線通信によって、前記アクセスポイント側データ送受信手段に送信させSSID送信制御と、
無線LANステーションから、前記アクセスポイント側記憶手段に記憶されているSSIDを用いたアソシエーション要求をされた場合には、前記アソシエーション要求元の無線LANステーションを、前記アクセスポイント自身によって構築される無線LANネットワークへ参加させるアソシエーション応答制御と、
が含まれている
ことを特徴とする無線LANシステム。
A station capable functions as a wireless LAN station, and the access point that can function as a wireless LAN access point, a wireless LAN system Ru provided with,
The station
Station-side storage means;
Station side data transmitting and receiving means;
With
The station
When an external command is received, station side control is executed,
For the station side control,
The first station side data including identification data of the station itself is transmitted to the station side data transmitting / receiving means by wireless communication using a channel selected from a plurality of channels , and the same channel is used. by wireless communication, the second station side data including identification data of the station itself, and the station side transmission control Ru is transmitted to the station side data transmitting and receiving means,
Channel switching control for switching a channel selected from the plurality of channels;
After receiving a command from the outside, in between the predetermined period, the wireless LAN access point receiving the said first station side data and the second station side data is transmitted, the SSID data including the SSID When the station side transmitting / receiving means receives by wireless communication using the channel used for the first transmission of station data and the second transmission of station data, it is included in the SSID data SSID storage control for storing the SSID in the station side storage means ;
Association request control for making an association request to a wireless LAN network constructed by a wireless LAN access point using the SSID stored by the SSID storage control means;
Is included ,
The wireless access point is
Access point side storage means capable of storing SSID;
Access point side data transmitting and receiving means capable of transmitting and receiving data by wireless communication using a preset channel;
With
The access point is
When an external command is accepted, the access point side control is executed.
For the access point side control,
The first station side data transmitted by the wireless communication had use a channel the set in advance, from the wireless LAN station, if the access point side data communication means receives, the first Identification data storage control for storing identification data of the transmission source of the first station side data included in the station side data;
2 including identification data of the transmission source of the first station-side data that has been transmitted by wireless communication using the preset channel within a predetermined period after receiving the external command. the times th station side data, when the access point side data communication means is received, the the first station side data, said the second station side data, to the wireless LAN station which is the source of the, the SSID data including the SSID stored in the access point storing means, by wireless communication using a channel that the previously set, and SSID transmission control Ru is transmitted to the access point side data communication means,
When an association request using the SSID stored in the access point side storage means is made from a wireless LAN station, the wireless LAN network that is constructed by the access point itself as the association request source wireless LAN station Association response control to join
Wireless LAN system characterized in that it contains.
前記アクセスポイントには、前記アクセスポイントとデータ通信可能な通信端末が接続されており、
前記ステーション側制御には
公開鍵暗号方式により前記通信端末から、前記ステーションと第1の無線接続をしている前記アクセスポイントを介して前記第1暗号キーを取得する暗号取得制御と、
前記暗号取得制御により前記第1暗号キーが前記通信端末から取得された際、前記アクセスポイントとの前記第1の無線接続を解除し、前記第1暗号キーにより暗号化した状態で第2の無線接続をすることにより、前記アクセスポイントとのデータ通信を前記第1暗号キーにより暗号化した状態で行うように設定変更する暗号変更制御と、が含まれており、
前記通信端末において、
公開鍵暗号方式により前記ステーションへの前記第1暗号キーの受け渡しを、前記アクセスポイントを介して行う暗号受渡手段が備えられている
ことを特徴とする請求項1に記載の無線LANシステム。
Wherein the access point, the access point capable of data communication with a communication terminal is connected,
For the station side control ,
Cipher acquisition control for acquiring the first encryption key from the communication terminal by the public key encryption method via the access point having a first wireless connection with the station ;
Wherein when the first encryption key by the encryption acquisition control is acquired from the communication terminal, wherein the releasing the first wireless connection with the access point, the second radio in a state encrypted by the first encryption key by the connection, and encryption change control for setting change to be performed by the encrypted state by said first encryption key data communication with the access point, includes a,
In the communication terminal,
Wireless LAN system according to claim 1, the transfer of the first encryption key to the station by the public key encryption method, characterized in that is provided with encrypted transfer unit performed via the access point.
無線LANアクセスポイントとして機能可能なアクセスポイントであって、  An access point that can function as a wireless LAN access point,
SSIDを記憶可能なアクセスポイント側記憶手段と、  Access point side storage means capable of storing SSID;
あらかじめ設定されているチャネルを用いた無線通信によってデータを送受信可能なアクセスポイント側データ送受信手段と、  Access point side data transmitting and receiving means capable of transmitting and receiving data by wireless communication using a preset channel;
を備え、With
外部からの指令を受け付けた場合に、アクセスポイント側制御を実行し、  When an external command is accepted, the access point side control is executed.
前記アクセスポイント側制御には、  For the access point side control,
前記あらかじめ設定されているチャネルを用いた無線通信によって送信されてきた1回目のステーション側データを、無線LANステーションから、前記アクセスポイント側データ送受信手段が受信した場合に、前記1回目のステーション側データに含まれる、前記1回目のステーション側データの送信元の識別データを記憶する識別データ記憶制御と、  When the first station side data transmitted by wireless communication using the preset channel is received from the wireless LAN station by the access point side data transmitting / receiving means, the first station side data is transmitted. Identification data storage control for storing identification data of the transmission source of the first station-side data included in
前記外部からの指令を受け付けてから、所定の期間内に、前記あらかじめ設定されているチャネルを用いた無線通信によって送信されてきた、前記1回目のステーション側データの送信元の識別データを含む2回目のステーション側データを、前記アクセスポイント側データ送受信手段が受信した場合には、前記1回目のステーション側データと、前記2回目のステーション側データと、の送信元である無線LANステーションへ、前記アクセスポイント側記憶手段に記憶されているSSIDを含むSSIDデータを、前記あらかじめ設定されているチャネルを用いた無線通信によって、前記アクセスポイント側データ送受信手段に送信させるSSID送信制御制御と、  2 including identification data of the transmission source of the first station-side data that has been transmitted by wireless communication using the preset channel within a predetermined period after receiving the external command. When the access point side data transmitting / receiving means receives the second station side data, to the wireless LAN station that is the transmission source of the first station side data and the second station side data, SSID transmission control control for transmitting SSID data including the SSID stored in the access point side storage means to the access point side data transmission / reception means by wireless communication using the preset channel;
無線LANステーションから、前記アクセスポイント側記憶手段に記憶されているSSIDを用いたアソシエーション要求をされた場合には、前記アソシエーション要求元の無線LANステーションを、前記アクセスポイント自身によって構築される無線LANネットワークへ参加させるアソシエーション応答制御と、  When an association request using the SSID stored in the access point side storage means is made from a wireless LAN station, the wireless LAN network that is constructed by the access point itself as the association request source wireless LAN station Association response control to join
が含まれているIt is included
ことを特徴とするアクセスポイント。  An access point characterized by that.
前記アクセスポイントにおいて、  In the access point,
前記SSID送信制御制御は、前記あらかじめ設定されているチャネルを用いた無線通信によって送信されてきた前記2回目のステーション側データを前記アクセスポイント側データ送受信手段が受信した場合に、前記SSIDデータを、前記2回目のステーション側データの送信元である無線LANステーションへ、前記アクセスポイント側データ送受信手段に送信させ、その後、前記2回目のステーション側データの送信元である無線LANステーションからアソシエーション要求をされた場合には、前記アクセスポイント自身によって構築される無線LANネットワークへ参加させるためのアソシエーション応答を、前記アソシエーション要求元の無線LANステーションへ、前記アクセスポイント側データ送受信手段に送信させる  The SSID transmission control control, when the access point side data transmitting / receiving means receives the second station side data transmitted by wireless communication using the preset channel, the SSID data, The access point side data transmission / reception means is transmitted to the wireless LAN station that is the second station side data transmission source, and then the association request is received from the wireless LAN station that is the second station side data transmission source. The access point side data transmission / reception means transmits an association response for joining the wireless LAN network constructed by the access point itself to the wireless LAN station that is the association request source.
ことを特徴とする請求項3に記載のアクセスポイント。  The access point according to claim 3.
前記アクセスポイントにおいて、  In the access point,
前記アクセスポイント側データ送受信手段による、前記1回目のステーション側データの受信と、前記2回目のステーション側データの受信と、前記SSIDデータの送信、および、前記アソシエーション応答制御による、前記無線LANステーションの前記無線LANネットワークへの参加、にて、通信可能距離を変化させることは行わない  The access point side data transmitting / receiving means receives the first station side data, receives the second station side data, transmits the SSID data, and associates the wireless LAN station by the association response control. It does not change the communicable distance when participating in the wireless LAN network.
ことを特徴とする請求項3または4に記載のアクセスポイント。  The access point according to claim 3 or 4, wherein
前記アクセスポイントにおいて、  In the access point,
前記SSID送信制御は、あらかじめ設定されているチャネルを用いた無線通信によって送信されてくる前記1回目のステーション側データの受信が行われた後、前記受信された1回目のステーション側データのうち、いずれかの1回目のステーション側データと同一のチャネルを用いた無線通信によって2回目のステーション側データを送信してきた無線LANステーションへ、前記SSIDデータを、前記アクセスポイント側データ送受信手段に送信させる  In the SSID transmission control, after the first station side data transmitted by wireless communication using a preset channel is received, among the received first station side data, The access point side data transmission / reception means is made to transmit the SSID data to the wireless LAN station that has transmitted the second station side data by wireless communication using the same channel as any one of the first station side data.
ことを特徴とする請求項3から5のいずれかに記載のアクセスポイント。  The access point according to any one of claims 3 to 5, wherein:
前記アクセスポイントにおいて、  In the access point,
前記SSID送信制御は、あらかじめ設定されているチャネルを用いた無線通信によって送信されてきた前記1回目のステーション側データのうち、外部からの指令に基づいて決定される前記1回目のステーション側データを送信してきた無線LANステーションへ、前記SSIDデータを、前記アクセスポイント側データ送受信手段に送信させる  In the SSID transmission control, the first station side data determined based on a command from the outside among the first station side data transmitted by wireless communication using a preset channel is used. Send the SSID data to the access point side data transmitting / receiving means to the transmitting wireless LAN station
ことを特徴とする請求項3から6のいずれかに記載のアクセスポイント。  The access point according to any one of claims 3 to 6, characterized in that:
前記アクセスポイントにおいて、  In the access point,
前記SSID送信制御は、あらかじめ設定されているチャネルを用いた無線通信によって送信されてくる前記1回目のステーション側データの受信が行われた後、前記受信された1回目のステーション側データのうち、外部からの指令に基づいて決定される前記1回目のステーション側データと同一のチャネルを用いた無線通信によって2回目のステーション側データを送信してきた無線LANステーションへ、前記SSIDデータを、前記アクセスポイント側送受信手段に送信させる  In the SSID transmission control, after the first station side data transmitted by wireless communication using a preset channel is received, among the received first station side data, The SSID data is sent to the access point to the wireless LAN station that has transmitted the second station side data by wireless communication using the same channel as the first station side data determined based on an external command. To the side transmission / reception means
ことを特徴とする請求項7に記載のアクセスポイント。  The access point according to claim 7.
前記アクセスポイントにおいて、  In the access point,
前記SSID送信制御は、前記アクセスポイント自身とデータ通信可能に接続された通信端末からの指令を受けて、前記SSIDデータを返信すべき無線LANステーションを決定するように構成されている  The SSID transmission control is configured to determine a wireless LAN station to which the SSID data should be returned in response to a command from a communication terminal connected to the access point itself so that data communication is possible.
ことを特徴とする請求項7に記載のアクセスポイント。  The access point according to claim 7.
前記アクセスポイントにおいて、  In the access point,
前記SSID送信制御は、前記1回目のステーション側データに含まれる識別データと、同一の識別データを含んでいる2回目のステーション側データを送信してきた無線LANステーションにのみ、前記SSIDデータを、前記アクセスポイント側送受信手段に送信させる  In the SSID transmission control, the SSID data is transmitted only to the wireless LAN station that has transmitted the identification data included in the first station side data and the second station side data including the same identification data. Send to access point side sending / receiving means
ことを特徴とする請求項6または8に記載のアクセスポイント。  The access point according to claim 6 or 8, wherein
前記SSID送信制御は、前記1回目のステーション側データの受信が行われた後、前記1回目のステーション側データと同一のチャネルを用いて送信されてきた2回目のステーション側データを無線LANステーションから受信した場合に、前記2回目のステーション側データの送信元である無線LANステーションへ前記SSIDデータを返信する  In the SSID transmission control, after the first station side data is received, the second station side data transmitted using the same channel as the first station side data is transmitted from the wireless LAN station. When received, the SSID data is returned to the wireless LAN station that is the transmission source of the second station side data.
ことを特徴とする請求項6または8に記載のアクセスポイント。  The access point according to claim 6 or 8, wherein
前記アクセスポイントにおいて、  In the access point,
前記外部からの指令を、特定ボタンの押下によって受け付ける、請求項3から11のいずれかに記載のアクセスポイント。  The access point according to claim 3, wherein the external command is received by pressing a specific button.
前記アクセスポイントにおいて、  In the access point,
プローブ要求を、前記1回目のステーション側データとして、前記アクセスポイント側送受信手段が受信する、請求項26から43のいずれかに記載の無線LANシステム。  44. The wireless LAN system according to claim 26, wherein the access point side transmission / reception means receives a probe request as the first station side data.
前記アクセスポイントにおいて、  In the access point,
プローブ要求を、前記1回目のステーション側データとして、前記アクセスポイント側送受信手段が受信し、無線LANステーションの無線通信に係る設定を行うことを示したパラメータを含むプローブ応答を、前記アクセスポイント側送受信手段が、前記プローブ要求の送信元である無線LANステーションに送信する、請求項3から11のいずれかに記載のアクセスポイント。  The probe request is received as the first station-side data by the access point-side transmission / reception means, and a probe response including a parameter indicating that a setting related to wireless communication of the wireless LAN station is performed is transmitted to the access point-side transmission / reception. The access point according to claim 3, wherein the means transmits to a wireless LAN station that is a transmission source of the probe request.
前記アクセスポイントにおいて、  In the access point,
前記外部からの指令を、ケーブルを介して接続された他のデバイスから受信する、請求項3から14のいずれかに記載のアクセスポイント。  The access point according to claim 3, wherein the external command is received from another device connected via a cable.
前記アクセスポイントにおいて、  In the access point,
前記外部からの指令を、無線接続された他のデバイスから受信する、請求項3から15のいずれかに記載のアクセスポイント。  The access point according to claim 3, wherein the external command is received from another wirelessly connected device.
前記アクセスポイントにおいて、  In the access point,
前記外部からの指令を、接続された外部ネットワークから受信する、請求項3から16のいずれかに記載のアクセスポイント。  The access point according to claim 3, wherein the external command is received from a connected external network.
無線LANステーションとして機能可能なステーションであって、  A station that can function as a wireless LAN station,
前記ステーションは、  The station
ステーション側記憶手段と、  Station-side storage means;
ステーション側データ送受信手段と、  Station side data transmitting and receiving means;
を備え、With
前記ステーションは、  The station
外部からの指令を受付けた場合に、ステーション側制御を実行し、  When an external command is received, station side control is executed,
前記ステーション側制御には、  For the station side control,
複数のチャネルのうちから選択されたチャネルを用いた無線通信によって、前記ステーション自身の識別データを含む1回目のステーション側データを、前記ステーション側データ送受信手段に送信させ、さらに、同じチャネルを用いた無線通信によって、前記ステーション自身の識別データを含む2回目のステーション側データを、前記ステーション側データ送受信手段に送信させるステーション側送信制御と、  The first station side data including identification data of the station itself is transmitted to the station side data transmitting / receiving means by wireless communication using a channel selected from a plurality of channels, and the same channel is used. Station-side transmission control for causing the station-side data transmission / reception means to transmit second station-side data including identification data of the station itself by wireless communication;
前記複数のチャネルのうちから選択されたチャネルを切り替えるチャネル切替制御と、  Channel switching control for switching a channel selected from the plurality of channels;
前記外部からの指令を受け付けてから、所定の期間内に、前記1回目のステーション側データと前記2回目のステーション側データとを受信した無線LANアクセスポイントが送信した、SSIDを含むSSIDデータを、前記1回目のステーションデータの送信と、前記2回目のステーションデータの送信と、に用いられたチャネルを用いた無線通信によって前記ステーション側送受信手段が受信した場合には、前記SSIDデータに含まれるSSIDを前記ステーション側記憶手段に記憶させるSSID記憶制御と、  SSID data including the SSID transmitted by the wireless LAN access point that has received the first station side data and the second station side data within a predetermined period after receiving the external command, When the station side transmission / reception means receives by wireless communication using the channel used for the first transmission of the station data and the second transmission of the station data, the SSID included in the SSID data SSID storage control for storing the above in the station side storage means,
前記SSID記憶制御手段が記憶させたSSIDを用いて、無線LANアクセスポイントによって構築される無線LANネットワークへのアソシエーション要求を行うアソシエーション要求制御と、  Association request control for making an association request to a wireless LAN network constructed by a wireless LAN access point using the SSID stored by the SSID storage control means;
が含まれているIt is included
ことを特徴とするステーション。  A station characterized by that.
前記ステーションにおいて、  In the station,
前記外部からの指令を、接続された他のデバイスから受信する、請求項18に記載の無線ステーション。  The wireless station according to claim 18, wherein the external command is received from another connected device.
前記ステーションにおいて、  In the station,
前記外部からの指令は、電源投入を行う指令であることを特徴とする請求項18または19に記載のステーション。  The station according to claim 18 or 19, wherein the command from the outside is a command to turn on the power.
前記ステーションにおいて、  In the station,
前記外部からの指令は、再起動を行う指令であることを特徴とする請求項18から20のいずれかに記載のステーション。  21. The station according to claim 18, wherein the external command is a command for restarting.
前記ステーションにおいて、  In the station,
前記外部からの指令は、初期化を行う指令であることを特徴とする請求項18から21のいずれかに記載のステーション。  The station according to any one of claims 18 to 21, wherein the command from the outside is a command to perform initialization.
前記ステーションにおいて、  In the station,
操作パネルを備え、  It has an operation panel,
前記外部からの指令を前記操作パネルを介して受け付ける請求項18から22のいずれかに記載のステーション。  The station according to any one of claims 18 to 22, wherein an instruction from the outside is received via the operation panel.
無線LANステーションとして機能可能なステーションであって、  A station that can function as a wireless LAN station,
前記ステーションは、  The station
ステーション側記憶手段と、  Station-side storage means;
ステーション側データ送受信手段と、  Station side data transmitting and receiving means;
を備え、With
前記ステーションは、  The station
起動した場合に、ステーション側制御を実行し、  When activated, the station side control is executed,
前記ステーション側制御には、  For the station side control,
複数のチャネルのうちから選択されたチャネルを用いた無線通信によって、前記ステーション自身の識別データを含む1回目のステーション側データを、前記ステーション側データ送受信手段に送信させ、さらに、同じチャネルを用いた無線通信によって、前記ステーション自身の識別データを含む2回目のステーション側データを、前記ステーション側データ送受信手段に送信させるステーション側送信制御と、  The first station side data including identification data of the station itself is transmitted to the station side data transmitting / receiving means by wireless communication using a channel selected from a plurality of channels, and the same channel is used. Station-side transmission control for causing the station-side data transmission / reception means to transmit second station-side data including identification data of the station itself by wireless communication;
前記複数のチャネルのうちから選択されたチャネルを切り替えるチャネル切替制御と、  Channel switching control for switching a channel selected from the plurality of channels;
前記起動をしてから、所定の期間内に、前記1回目のステーション側データと前記2回目のステーション側データとを受信した無線LANアクセスポイントが送信した、SSIDを含むSSIDデータを、前記1回目のステーションデータの送信と、前記2回目のステーションデータの送信と、に用いられたチャネルを用いた無線通信によって前記ステーション側送受信手段が受信した場合には、前記SSIDデータに含まれるSSIDを前記ステーション側記憶手段に記憶させるSSID記憶制御と、  The SSID data including the SSID transmitted by the wireless LAN access point that has received the first station-side data and the second station-side data within a predetermined period after the activation is performed, When the station side transmission / reception means receives the station data by wireless communication using the channel used for the transmission of the station data and the second transmission of the station data, the SSID included in the SSID data is transmitted to the station. SSID storage control to be stored in the side storage means;
前記SSID記憶制御手段が記憶させたSSIDを用いて、無線LANアクセスポイントによって構築される無線LANネットワークへのアソシエーション要求を行うアソシエーション要求制御と、  Association request control for making an association request to a wireless LAN network constructed by a wireless LAN access point using the SSID stored by the SSID storage control means;
が含まれているIt is included
ことを特徴とするステーション。  A station characterized by that.
前記ステーションにおいて、  In the station,
前記ステーション側送信制御は、前記ステーションが工場出荷状態である場合に、前記1回目のステーション側データを、前記ステーション側データ送受信手段に送信させることを特徴とする請求項18から24のいずれかに記載のステーション。  25. The station side transmission control causes the station side data transmitting / receiving means to transmit the first station side data when the station is in a factory shipment state. Station listed.
前記ステーションにおいて、  In the station,
前記ステーション側送信制御は、前記ステーションの無線通信に係るパラメータが不足している場合に、前記1回目のステーション側データを、前記ステーション側データ送受信手段に送信させることを特徴とする請求項18から25のいずれかに記載のステーション。  The station-side transmission control causes the station-side data transmission / reception means to transmit the first-time station-side data when parameters relating to wireless communication of the station are insufficient. The station according to any one of 25.
無線LANステーションとして機能可能なステーションであって、  A station that can function as a wireless LAN station,
前記ステーションは、  The station
ステーション側記憶手段と、  Station-side storage means;
ステーション側データ送受信手段と、  Station side data transmitting and receiving means;
を備え、With
前記ステーションは、  The station
前記ステーションが工場出荷状態である場合に、ステーション側制御を実行し、  When the station is in a factory default state, the station side control is executed,
前記ステーション側制御には、  For the station side control,
複数のチャネルのうちから選択されたチャネルを用いた無線通信によって、前記ステーション自身の識別データを含む1回目のステーション側データを、前記ステーション側データ送受信手段に送信させ、さらに、同じチャネルを用いた無線通信によって、前記ステーション自身の識別データを含む2回目のステーション側データを、前記ステーション側データ送受信手段に送信させるステーション側送信制御と、  The first station side data including identification data of the station itself is transmitted to the station side data transmitting / receiving means by wireless communication using a channel selected from a plurality of channels, and the same channel is used. Station-side transmission control for causing the station-side data transmission / reception means to transmit second station-side data including identification data of the station itself by wireless communication;
前記複数のチャネルのうちから選択されたチャネルを切り替えるチャネル切替制御と、  Channel switching control for switching a channel selected from the plurality of channels;
前記1回目のステーション側データを送信してから、所定の期間内に、前記1回目のステーション側データと前記2回目のステーション側データとを受信した無線LANアクセスポイントが送信した、SSIDを含むSSIDデータを、前記1回目のステーションデータの送信と、前記2回目のステーションデータの送信と、に用いられたチャネルを用いた無線通信によって前記ステーション側送受信手段が受信した場合には、前記SSIDデータに含まれるSSIDを前記ステーション側記憶手段に記憶させるSSID記憶制御と、  The SSID including the SSID transmitted by the wireless LAN access point that has received the first station side data and the second station side data within a predetermined period after transmitting the first station side data. When the station side transmission / reception means receives data by wireless communication using the channel used for the first transmission of the station data and the second transmission of the station data, the SSID data SSID storage control for storing the included SSID in the station-side storage means;
前記SSID記憶制御手段が記憶させたSSIDを用いて、無線LANアクセスポイントによって構築される無線LANネットワークへのアソシエーション要求を行うアソシエーション要求制御と、  Association request control for making an association request to a wireless LAN network constructed by a wireless LAN access point using the SSID stored by the SSID storage control means;
が含まれているIt is included
ことを特徴とするステーション。  A station characterized by that.
無線LANステーションとして機能可能なステーションであって、  A station that can function as a wireless LAN station,
前記ステーションは、  The station
ステーション側記憶手段と、  Station-side storage means;
ステーション側データ送受信手段と、  Station side data transmitting and receiving means;
を備え、With
前記ステーションは、  The station
前記ステーションの無線通信に係るパラメータが不足している場合に、ステーション側制御を実行し、  When the parameters related to wireless communication of the station are insufficient, the station side control is executed,
前記ステーション側制御には、  For the station side control,
複数のチャネルのうちから選択されたチャネルを用いた無線通信によって、前記ステーション自身の識別データを含む1回目のステーション側データを、前記ステーション側データ送受信手段に送信させ、さらに、同じチャネルを用いた無線通信によって、前記ステーション自身の識別データを含む2回目のステーション側データを、前記ステーション側データ送受信手段に送信させるステーション側送信制御と、  The first station side data including identification data of the station itself is transmitted to the station side data transmitting / receiving means by wireless communication using a channel selected from a plurality of channels, and the same channel is used. Station-side transmission control for causing the station-side data transmission / reception means to transmit second station-side data including identification data of the station itself by wireless communication;
前記複数のチャネルのうちから選択されたチャネルを切り替えるチャネル切替制御と、  Channel switching control for switching a channel selected from the plurality of channels;
前記1回目のステーション側データを送信してから、所定の期間内に、前記1回目のステーション側データと前記2回目のステーション側データとを受信した無線LANアクセスポイントが送信した、SSIDを含むSSIDデータを、前記1回目のステーションデータの送信と、前記2回目のステーションデータの送信と、に用いられたチャネルを用いた無線通信によって前記ステーション側送受信手段が受信した場合には、前記SSIDデータに含まれるSSIDを前記ステーション側記憶手段に記憶させるSSID記憶制御と、  The SSID including the SSID transmitted by the wireless LAN access point that has received the first station side data and the second station side data within a predetermined period after transmitting the first station side data. When the station side transmission / reception means receives data by wireless communication using the channel used for the first transmission of the station data and the second transmission of the station data, the SSID data SSID storage control for storing the included SSID in the station-side storage means;
前記SSID記憶制御手段が記憶させたSSIDを用いて、無線LANアクセスポイントによって構築される無線LANネットワークへのアソシエーション要求を行うアソシエーション要求制御と、  Association request control for making an association request to a wireless LAN network constructed by a wireless LAN access point using the SSID stored by the SSID storage control means;
が含まれているIt is included
ことを特徴とするステーション。  A station characterized by that.
前記ステーションにおいて、  In the station,
前記チャネル切替制御は、前記ステーション側データ送信手段によって前記1回目のステーション側データが送信された後に、前記1回目のステーション側データの送信に用いられたチャネルとは異なるチャネルに、前記選択されたチャネルを切り替え、切り替えたのちに、前記1回目のステーション側データの送信に用いられたチャネルに、前記選択されたチャネルを切り替える  In the channel switching control, after the first station-side data is transmitted by the station-side data transmission means, the channel switching control is selected as a channel different from the channel used for the first station-side data transmission. After switching the channel and switching, the selected channel is switched to the channel used for the first station side data transmission.
ことを特徴とする請求項18から28のいずれかに記載のステーション。  A station according to any of claims 18 to 28, characterized in that
前記ステーションにおいて、  In the station,
前記ステーション側データ送受信手段による、前記1回目のステーション側データの送信と、前記2回目のステーション側データの送信と、前記SSIDデータの受信、および、前記アソシエーション要求制御による、前記無線LANアクセスポイントによって構築される無線LANネットワークへのアソシエーション要求、にて、通信可能距離を変化させることは行わない  By the wireless LAN access point by the first station side data transmission / reception means, the second station side data transmission, the SSID data reception, and the association request control by the station side data transmission / reception means Do not change the communicable distance by the association request to the built-in wireless LAN network.
ことを特徴とする請求項18から29のいずれかに記載のステーション。  30. A station according to any one of claims 18 to 29.
前記ステーションにおいて、  In the station,
プリンタであることを特徴とする請求項18から30のいずれかに記載のステーション。  The station according to any one of claims 18 to 30, wherein the station is a printer.
前記ステーションにおいて、  In the station,
通信端末とデータ通信可能に接続するインターフェースを備えることを特徴とする請求項18から31のいずれかに記載のステーション。  32. The station according to any one of claims 18 to 31, further comprising an interface connected to a communication terminal so as to be able to perform data communication.
前記ステーションにおいて、  In the station,
前記ステーション側送信制御は、前記ステーションの無線通信に係るパラメータを含む前記1回目のステーション側データを、前記ステーション側データ送受信手段に送信させることを特徴とする請求項18から32のいずれかに記載のステーション。  The station-side transmission control causes the station-side data transmission / reception means to transmit the first station-side data including parameters related to wireless communication of the station. Station.
前記ステーションにおいて、  In the station,
前記ステーション側送信制御は、プローブ要求を前記1回目のステーション側データとして、前記ステーション側データ送受信手段に送信させることを特徴とする請求項18から33のいずれかに記載のステーション。  The station according to any one of claims 18 to 33, wherein the station side transmission control causes the station side data transmitting / receiving means to transmit a probe request as the first station side data.
前記ステーションにおいて、  In the station,
前記ステーション側送信制御は、プローブ要求を前記1回目のステーション側データとして、前記ステーション側データ送受信手段に送信させ、  In the station side transmission control, the probe request is transmitted to the station side data transmitting / receiving means as the first station side data,
前記プローブ要求を受信した無線LANアクセスポイントが送信した、無線LANステーションの無線通信に係る設定を行うことを示したパラメータを含むプローブ応答を、前記ステーション側データ送受信手段が受信した場合に、前記SSID記憶制御によるSSIDの記憶を行うことを特徴とする請求項18から34のいずれかに記載のステーション。  When the station-side data transmitting / receiving unit receives a probe response including a parameter transmitted from the wireless LAN access point that has received the probe request and indicating that the wireless LAN station performs settings related to wireless communication, the SSID is received. The station according to any one of claims 18 to 34, wherein the SSID is stored by storage control.
前記ステーションにおいて、  In the station,
無線LANステーションの無線通信に係る設定を行うことを無線LANアクセスポイントに指令した通信端末が送信したデータを受信した場合に、受信されたデータに基づく画像を印刷することを特徴とする請求項18から請求項35のいずれかに記載のステーション。  19. An image based on the received data is printed when data transmitted by a communication terminal that has instructed a wireless LAN access point to perform settings related to wireless communication of the wireless LAN station is received. 36. A station according to any of claims 35 to 35.
前記ステーションにおいて、  In the station,
受信されたデータに基づく画像を印刷した後に、画像の印刷を確認した通信端末が送信した情報を受信することを特徴とする請求項36に記載のステーション。  37. The station according to claim 36, wherein after the image based on the received data is printed, the information transmitted by the communication terminal that has confirmed the printing of the image is received.
請求項1から70のいずれかに記載のステーションとして機能する通信端末。 The communication terminal which functions as a station in any one of Claim 1 to 70 . 請求項1から71のいずれかに記載のアクセスポイントとして機能する通信端末。 Communication terminal that functions as an access point according to any of claims 1 71. 請求項1から73のいずれかに記載のステーションの備える全ての処理手順を、コンピュータシステムに実行させるための通信プログラム。 Communication program for executing all the processing procedures, the computer system comprising a station according to any of claims 1 73. 請求項1から74のいずれかに記載のアクセスポイントの備える全ての処理手順を、コンピュータシステムに実行させるための通信プログラム。 Communication program for executing all the processing procedures, the computer system provided in the access point according to any one of claims 1 74.
JP2015113695A 2015-06-04 2015-06-04 Wireless LAN system, access point, station, communication terminal and communication program Expired - Fee Related JP5958607B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015113695A JP5958607B2 (en) 2015-06-04 2015-06-04 Wireless LAN system, access point, station, communication terminal and communication program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015113695A JP5958607B2 (en) 2015-06-04 2015-06-04 Wireless LAN system, access point, station, communication terminal and communication program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2014122140A Division JP5804140B2 (en) 2014-06-13 2014-06-13 Wireless LAN system, access point, station, communication terminal and communication program

Publications (2)

Publication Number Publication Date
JP2015188250A JP2015188250A (en) 2015-10-29
JP5958607B2 true JP5958607B2 (en) 2016-08-02

Family

ID=54430235

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015113695A Expired - Fee Related JP5958607B2 (en) 2015-06-04 2015-06-04 Wireless LAN system, access point, station, communication terminal and communication program

Country Status (1)

Country Link
JP (1) JP5958607B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000032168A (en) * 1998-07-16 2000-01-28 Sharp Corp Information providing service system
JP3628250B2 (en) * 2000-11-17 2005-03-09 株式会社東芝 Registration / authentication method used in a wireless communication system
JP2003299146A (en) * 2002-02-01 2003-10-17 Canon Inc Radio communication equipment
JP2003289277A (en) * 2002-03-28 2003-10-10 Canon Inc Radio communication apparatus, control method thereof, and program for realizing the control method

Also Published As

Publication number Publication date
JP2015188250A (en) 2015-10-29

Similar Documents

Publication Publication Date Title
JP5541333B2 (en) Wireless LAN access point, wireless LAN system, wireless LAN station, and wireless LAN setting method
US8565132B2 (en) Wireless communication terminal
JP6794191B2 (en) Communication equipment, communication methods, and programs
JP5302144B2 (en) Wireless network selection device
JP6368989B2 (en) Communication device
EP1526444B1 (en) Wireless lan system, communication terminal, and communications program
JP4682052B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, COMMUNICATION DEVICE CONTROL METHOD, AND COMMUNICATION SYSTEM
KR102200766B1 (en) Communication device, communication method, and program to facilitate direct communication
CN101589632A (en) Communication apparatus, communication method therefor, and program
US20090274065A1 (en) Method and apparatus for setting wireless local area network by using button
JP2010081566A (en) Communication apparatus, communication method, and computer program
JP2007151195A (en) Wireless lan system, communication terminal and communication program
CN110321085A (en) Printer
US11259177B2 (en) Communication device, communication method, and storage medium
WO2018040524A1 (en) Method and device for sharing hotspots
JP2005130124A (en) Radio lan system, communication terminal and communication program
JP5804140B2 (en) Wireless LAN system, access point, station, communication terminal and communication program
JP2007151194A (en) Wireless lan system, communication terminal, and communication program
JP7387275B2 (en) Communication devices, communication methods and programs
JP5958607B2 (en) Wireless LAN system, access point, station, communication terminal and communication program
US10346108B2 (en) Non-transitory computer-readable medium storing program for communication apparatus, communication apparatus and method for controlling communication apparatus
JP5590209B2 (en) Wireless LAN access point, wireless LAN system, wireless LAN printer, and wireless LAN setting method
JP5738790B2 (en) Wireless communication terminal, wireless communication system, wireless setup method, and program
JP2013207729A (en) Radio communication device, and radio communication channel registration method
JP5565441B2 (en) Wireless LAN access point, wireless LAN system, wireless LAN printer, and wireless LAN setting method

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160524

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160606

R150 Certificate of patent or registration of utility model

Ref document number: 5958607

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees