[go: up one dir, main page]

JP2008172588A - Information processing apparatus, wireless communication apparatus, wireless communication system, and wireless setting program - Google Patents

Information processing apparatus, wireless communication apparatus, wireless communication system, and wireless setting program Download PDF

Info

Publication number
JP2008172588A
JP2008172588A JP2007004560A JP2007004560A JP2008172588A JP 2008172588 A JP2008172588 A JP 2008172588A JP 2007004560 A JP2007004560 A JP 2007004560A JP 2007004560 A JP2007004560 A JP 2007004560A JP 2008172588 A JP2008172588 A JP 2008172588A
Authority
JP
Japan
Prior art keywords
wireless
wireless communication
parameter
specific information
wireless parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007004560A
Other languages
Japanese (ja)
Inventor
Yutaka Shiraku
裕 志楽
Makoto Oshiumi
真 鴛海
Yoshito Ono
義人 大野
Hiroshi Doi
広志 土居
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2007004560A priority Critical patent/JP2008172588A/en
Publication of JP2008172588A publication Critical patent/JP2008172588A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information processing apparatus capable of easily setting a wireless parameter in a plurality of kinds of wireless communication, and to provide a wireless communication apparatus, a wireless communication system, and a wireless setting program. <P>SOLUTION: The wireless setting program, a printer A and a printer B generate the wireless parameter for the same ad hoc mode, from the same specifying information, based on a prescribed algorithm. The wireless setting program and the printer A, or the wireless setting program and the printer B perform wireless communication by the ad hoc mode using the wireless parameter. The printer A and the printer B acquire the wireless parameter for an infrastructure mode from the wireless setting program. When the radio setting program is under communication with another apparatus, the acquisition of the wireless parameter is waited till the communication is terminated. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、情報処理装置、無線通信装置、無線通信システム、無線設定プログラムに関する。   The present invention relates to an information processing device, a wireless communication device, a wireless communication system, and a wireless setting program.

近年、電波等を利用した無線通信が利用される機会が増加している。例えば、基地局として動作する無線アクセスポイント(以後、無線APと称する)との間で通信が可能な機器として、プリンタ、スキャナ等の機器(以後、無線通信装置と称する)が提供されている。   In recent years, opportunities for using wireless communication using radio waves and the like are increasing. For example, devices (hereinafter referred to as wireless communication devices) such as printers and scanners are provided as devices capable of communicating with a wireless access point (hereinafter referred to as wireless AP) operating as a base station.

無線APと各種機器の間での無線通信には、SSID[Service Set Identifier]や暗号鍵等を無線パラメータとして設定する必要があり、この設定を容易に行うための技術も提案されている。   For wireless communication between a wireless AP and various devices, it is necessary to set an SSID [Service Set Identifier], an encryption key, and the like as wireless parameters, and a technique for easily performing this setting has also been proposed.

例えば、1対1の無線通信を行うアドホックモード用の無線パラメータをプリンタ固有の番号から生成し、当該無線パラメータを用いた無線通信により、1対多の無線通信を行うインフラストラクチャモード用の無線パラメータを取得する無線通信のための設定方法、無線通信を行なう周辺装置および情報処理装置がある(例えば、特許文献1参照。)
特開2005−192202号公報
For example, a wireless parameter for infrastructure mode in which a wireless parameter for ad hoc mode for performing one-to-one wireless communication is generated from a printer-specific number and one-to-many wireless communication is performed by wireless communication using the wireless parameter. There are a setting method for wireless communication for acquiring the information, a peripheral device for performing wireless communication, and an information processing device (see, for example, Patent Document 1).
JP-A-2005-192202

本発明は、複数の無線通信における無線パラメータの設定を容易に行うことのできる情報処理装置、無線通信装置、無線通信システム、無線設定プログラムを提供することを目的とする。   An object of the present invention is to provide an information processing apparatus, a wireless communication apparatus, a wireless communication system, and a wireless setting program that can easily set wireless parameters in a plurality of wireless communications.

上記目的を達成するため、請求項1の発明は、無線基地局との間で通信を行う第1の無線通信方式と、該基地局を介さない装置間で通信を行う第2の無線通信方式とによって無線通信を行う無線通信手段と、前記第1の無線通信方式による無線通信で利用する第1の無線パラメータを記憶する無線パラメータ記憶手段と、無線通信装置に入力する特定情報を受け付ける特定情報受付手段と、前記特定情報受付手段で受け付けた特定情報から前記第2の無線通信方式による無線通信で利用する第2の無線パラメータを所定の処理手順に基づいて生成する無線パラメータ生成手段と、前記無線通信手段で行う無線通信を前記無線パラメータ生成手段で生成した第2の無線パラメータを利用した第2の無線通信方式による無線通信に切り替える切替手段と、前記第2の無線パラメータを利用した第2の無線通信方式による無線通信を介して前記無線通信装置からの前記第1の無線パラメータの要求を受け付ける要求受付手段と、前記要求受付手段で受け付けた要求に応答して前記第1の無線パラメータを前記無線通信装置に送信する無線パラメータ送信手段とを具備することを特徴とする。   In order to achieve the above object, the first aspect of the present invention provides a first wireless communication system that performs communication with a wireless base station and a second wireless communication system that performs communication between devices that do not pass through the base station. Wireless communication means for performing wireless communication, wireless parameter storage means for storing first wireless parameters used in wireless communication by the first wireless communication method, and specific information for receiving specific information input to the wireless communication apparatus Receiving means; wireless parameter generating means for generating a second wireless parameter used in wireless communication by the second wireless communication method from the specific information received by the specific information receiving means, based on a predetermined processing procedure; Switching to switch the wireless communication performed by the wireless communication means to the wireless communication by the second wireless communication method using the second wireless parameter generated by the wireless parameter generating means A request accepting unit for accepting a request for the first radio parameter from the radio communication device via radio communication by a second radio communication method using the second radio parameter; and the request accepting unit Wireless parameter transmission means for transmitting the first wireless parameter to the wireless communication apparatus in response to the accepted request.

また、請求項2の発明は、請求項1の発明において、前記要求受付手段は、前記無線通信装置からの前記要求に応答して前記第1の無線パラメータを該無線通信装置に送信する処理を行っている場合は、他の無線通信装置からの該要求の受け付けを拒否することを特徴とする。   The invention according to claim 2 is the invention according to claim 1, wherein the request receiving means performs processing for transmitting the first wireless parameter to the wireless communication apparatus in response to the request from the wireless communication apparatus. If so, the acceptance of the request from another wireless communication device is rejected.

また、請求項3の発明は、無線基地局との間で通信を行う第1の無線通信方式と、該基地局を介さない装置間で通信を行う第2の無線通信方式とによって無線通信を行う無線通信手段と、情報処理装置に入力する特定情報を受け付ける特定情報受付手段と、前記特定情報受付手段で受け付けた特定情報から前記第2の無線通信方式による無線通信で利用する第2の無線パラメータを所定の処理手順に基づいて生成する無線パラメータ生成手段と、前記無線通信手段で行う無線通信を前記無線パラメータ生成手段で生成した第2の無線パラメータを利用した第2の無線通信方式による無線通信に切り替える切替手段と、前記第2の無線パラメータを利用した第2の無線通信方式による無線通信を介して前記情報処理装置から前記第1の無線通信方式による無線通信で利用する第1の無線パラメータ取得する無線パラメータ取得手段とを具備することを特徴とする。   According to a third aspect of the present invention, wireless communication is performed by a first wireless communication system that performs communication with a wireless base station and a second wireless communication system that performs communication between devices not via the base station. Wireless communication means to perform, specific information reception means for receiving specific information input to the information processing device, and second wireless used in wireless communication by the second wireless communication method from the specific information received by the specific information reception means Wireless parameter generation means for generating parameters based on a predetermined processing procedure, and wireless communication by the second wireless communication system using the second wireless parameter generated by the wireless parameter generation means for wireless communication performed by the wireless communication means Switching means for switching to communication, and the first wireless communication from the information processing apparatus via wireless communication by the second wireless communication method using the second wireless parameter Characterized by a radio parameter acquisition means for acquiring a first radio parameter to be used in wireless communication by the formula.

また、請求項4の発明は、請求項3の発明において、前記無線パラメータ取得手段による前記第1の無線パラメータの取得が開始される際に該取得の開始を示す信号を同報送信し、該取得が終了した際に該取得の終了を示す信号を同報送信する信号送信手段と他の無線通信装置から同報送信された開始信号または終了信号を受信する信号受信手段とを更に具備し、前記無線パラメータ取得手段は、前記信号受信手段で前記開始信号を受信した場合は、前記終了信号を受信するまで前記第1の無線パラメータの取得を行わないことを特徴とする。   According to a fourth aspect of the present invention, in the third aspect of the invention, when acquisition of the first wireless parameter is started by the wireless parameter acquisition means, a signal indicating the start of the acquisition is broadcast, A signal transmitting means for broadcasting a signal indicating the end of the acquisition when the acquisition is completed, and a signal receiving means for receiving a start signal or an end signal broadcast from another wireless communication device; The wireless parameter acquisition unit does not acquire the first wireless parameter until the end signal is received when the start signal is received by the signal reception unit.

また、請求項5の発明は、無線基地局との間で通信を行う第1の無線通信方式と、該基地局を介さない装置間で通信を行う第2の無線通信方式とによって無線通信を行う無線通信手段と、前記第1の無線通信方式による無線通信で利用する第1の無線パラメータを記憶する無線パラメータ記憶手段と、無線通信装置に入力する特定情報を受け付ける特定情報受付手段と、前記特定情報受付手段で受け付けた特定情報から前記第2の無線通信方式による無線通信で利用する第2の無線パラメータを所定の処理手順に基づいて生成する無線パラメータ生成手段と、前記無線通信手段で行う無線通信を前記第1の無線パラメータ生成手段で生成した第2の無線パラメータを利用した第2の無線通信方式による無線通信に切り替える切替手段と、前記第2の無線パラメータを利用した第2の無線通信方式による無線通信を介して前記無線通信装置からの前記第1の無線パラメータの要求を受け付ける要求受付手段と、前記要求受付手段で受け付けた要求に応答して前記第1の無線パラメータを前記無線通信装置に送信する無線パラメータ送信手段とを具備する情報処理装置と、前記第1の無線通信方式と、前記第2の無線通信方式とによって無線通信を行う無線通信手段と、前記情報処理装置に入力する特定情報を受け付ける特定情報受付手段と、前記特定情報受付手段で受け付けた特定情報から前記第2の無線パラメータを前記所定の処理手順に基づいて生成する無線パラメータ生成手段と、前記無線通信手段で行う無線通信を前記無線パラメータ生成手段で生成した第2の無線パラメータを利用した第2の無線通信方式による無線通信に切り替える切替手段と、前記第2の無線パラメータを利用した第2の無線通信方式による無線通信を介して前記情報処理装置から前記第1の無線通信方式による無線通信で利用する第1の無線パラメータ取得する無線パラメータ取得手段とを具備する少なくとも1つの無線通信装置とを具備することを特徴とする。   According to a fifth aspect of the present invention, wireless communication is performed by a first wireless communication system that performs communication with a wireless base station and a second wireless communication system that performs communication between devices not via the base station. Wireless communication means for performing, wireless parameter storage means for storing first wireless parameters used in wireless communication by the first wireless communication method, specific information receiving means for receiving specific information input to a wireless communication device, and A radio parameter generating unit that generates, based on a predetermined processing procedure, a second radio parameter to be used in radio communication by the second radio communication method from the specific information received by the specific information receiving unit, and the radio communication unit Switching means for switching wireless communication to wireless communication by the second wireless communication method using the second wireless parameter generated by the first wireless parameter generating means; Request accepting means for accepting a request for the first wireless parameter from the wireless communication device via wireless communication by a second wireless communication method using two wireless parameters, and responding to the request accepted by the request accepting means Then, wireless communication is performed by an information processing apparatus including a wireless parameter transmission unit that transmits the first wireless parameter to the wireless communication apparatus, the first wireless communication system, and the second wireless communication system. Wireless communication means for performing, specific information receiving means for receiving specific information input to the information processing apparatus, and generating the second wireless parameter from the specific information received by the specific information receiving means based on the predetermined processing procedure And a second wireless parameter generated by the wireless parameter generating means for wireless communication performed by the wireless communication means. Switching means for switching to wireless communication by the second wireless communication method using the first wireless communication from the information processing apparatus via wireless communication by the second wireless communication method using the second wireless parameter And at least one wireless communication device including wireless parameter acquisition means for acquiring a first wireless parameter used in wireless communication according to the system.

また、請求項6の発明は、請求項5の発明において、前記要求受付手段は、前記無線通信装置からの前記要求に応答して前記第1の無線パラメータを該無線通信装置に送信する処理を行っている場合は、他の無線通信装置からの該要求の受け付けを拒否することを特徴とする。   The invention according to claim 6 is the invention according to claim 5, wherein the request accepting unit performs processing for transmitting the first wireless parameter to the wireless communication device in response to the request from the wireless communication device. If so, the acceptance of the request from another wireless communication device is rejected.

また、請求項7の発明は、請求項5の発明において、前記無線通信装置は、前記無線パラメータ取得手段による前記第1の無線パラメータの取得が開始される際に該取得の開始を示す信号を同報送信し、該取得が終了した際に該取得の終了を示す信号を同報送信する信号送信手段と、他の無線通信装置から同報送信された開始信号または終了信号を受信する信号受信手段とを更に具備し、前記無線パラメータ取得手段は、前記信号受信手段で前記開始信号を受信した場合は、前記終了信号を受信するまで前記第1の無線パラメータの取得を行わないことを特徴とする。   The invention according to claim 7 is the invention according to claim 5, wherein the wireless communication device receives a signal indicating the start of acquisition when the acquisition of the first wireless parameter by the wireless parameter acquisition means is started. Signal transmission means for broadcasting and transmitting a signal indicating the end of acquisition when the acquisition is completed, and signal reception for receiving a start signal or an end signal broadcast from another wireless communication device The wireless parameter acquisition means does not acquire the first wireless parameter until the end signal is received when the start signal is received by the signal reception means. To do.

また、請求項8の発明は、無線基地局との間で通信を行う第1の無線通信方式と、該基地局を介さない装置間で通信を行う第2の無線通信方式とによって無線通信を行う無線通信部と、該第1の無線通信方式による無線通信で利用する第1の無線パラメータを記憶する無線パラメータ記憶部とを備えたコンピュータに、無線通信装置に入力する特定情報を受け付ける特定情報受付機能と、前記特定情報受付機能で受け付けた特定情報から前記第2の無線通信方式による無線通信で利用する第2の無線パラメータを所定の処理手順に基づいて生成する無線パラメータ生成機能と、前記無線通信部で行う無線通信を前記無線パラメータ生成機能で生成した第2の無線パラメータを利用した第2の無線通信方式による無線通信に切り替える切替機能と、前記第2の無線パラメータを利用した第2の無線通信方式による無線通信を介して前記無線通信装置からの前記第1の無線パラメータの要求を受け付ける要求受付機能と、前記要求受付機能で受け付けた要求に応答して前記第1の無線パラメータを前記無線通信装置に送信する無線パラメータ送信機能とを実現させることを特徴とする。   The invention of claim 8 provides wireless communication by a first wireless communication system that performs communication with a wireless base station and a second wireless communication system that performs communication between devices not via the base station. Specific information for receiving specific information input to the wireless communication device in a computer including a wireless communication unit to perform and a wireless parameter storage unit that stores a first wireless parameter used in wireless communication by the first wireless communication method A reception function; a wireless parameter generation function for generating, based on a predetermined processing procedure, a second wireless parameter used in wireless communication by the second wireless communication method from the specific information received by the specific information reception function; Switching function for switching wireless communication performed by the wireless communication unit to wireless communication by the second wireless communication method using the second wireless parameter generated by the wireless parameter generating function A request receiving function for receiving a request for the first wireless parameter from the wireless communication device via wireless communication based on a second wireless communication method using the second wireless parameter, and the request receiving function A wireless parameter transmission function for transmitting the first wireless parameter to the wireless communication apparatus in response to the request is realized.

また、請求項9の発明は、請求項8の発明において、前記要求受付機能は、前記無線通信装置からの前記要求に応答して前記第1の無線パラメータを該無線通信装置に送信する処理を行っている場合は、他の無線通信装置からの該要求の受け付けを拒否することを特徴とする。   The invention according to claim 9 is the invention according to claim 8, wherein the request reception function performs processing for transmitting the first wireless parameter to the wireless communication apparatus in response to the request from the wireless communication apparatus. If so, the acceptance of the request from another wireless communication device is rejected.

請求項1、5および8に記載の発明は、本構成を有しない場合に比較して、複数の無線通信装置に対してインフラストラクチャモード用の無線パラメータを容易に設定することが可能となる。   According to the first, fifth and eighth aspects of the present invention, it is possible to easily set the wireless parameters for the infrastructure mode for a plurality of wireless communication apparatuses as compared with the case where this configuration is not provided.

また、請求項2、6および9に記載の発明は、本構成を有しない場合に比較して、無線通信装置は情報処理装置が別の無線通信装置からの要求に対して応答中であることを認識することが可能となる。   Further, in the inventions according to claims 2, 6 and 9, the wireless communication device is responding to a request from another wireless communication device compared to the case where this configuration is not provided. Can be recognized.

また、請求項3および5に記載の発明は、本構成を有しない場合に比較して、複数の無線通信装置は短時間に情報処理装置にアクセスするようになり、情報処理装置側での煩雑な操作を軽減することが可能となる。   Further, in the inventions according to claims 3 and 5, the plurality of wireless communication devices can access the information processing device in a short time as compared with the case where this configuration is not provided, and the information processing device side is complicated. Can be reduced.

また、請求項4および7に記載の発明は、本構成を有しない場合に比較して、別の無線通信装置に対して要求の送信を抑制させることが可能となる。   In addition, according to the fourth and seventh aspects of the present invention, it is possible to suppress the transmission of a request to another wireless communication device as compared with the case where this configuration is not provided.

以下、本発明に係る情報処理装置、無線通信装置、無線通信システム、無線設定プログラムの実施の形態について添付図面を参照して詳細に説明する。なお、本実施例では、パーソナルコンピュータ等の情報処理装置(以後、PCと称する)に本発明に係る無線設定プログラムがインストールされている構成を一例にして説明する。また、本実施例では、無線通信を行う無線通信装置としてとしてプリンタを一例にして説明を行うが、無線通信装置としては、スキャナ、ディスクドライブ等の他の装置も同様に適用することが可能である。   Embodiments of an information processing apparatus, a wireless communication apparatus, a wireless communication system, and a wireless setting program according to the present invention will be described below in detail with reference to the accompanying drawings. In this embodiment, a configuration in which a wireless setting program according to the present invention is installed in an information processing apparatus such as a personal computer (hereinafter referred to as a PC) will be described as an example. In this embodiment, a printer is described as an example of a wireless communication device that performs wireless communication. However, other devices such as a scanner and a disk drive can be similarly applied as a wireless communication device. is there.

図1は、本発明に係る無線通信システム1の全体構成の一例を示すシステム構成図である。   FIG. 1 is a system configuration diagram showing an example of the overall configuration of a wireless communication system 1 according to the present invention.

図1は、PC2と、無線通信の基地局として動作する無線アクセスポイント(以後、無線APと称する)3、ネットワーク4で構成される無線通信システム1に対し、新たにプリンタA51、プリンタB52を設置する場合を示している。なお、図1に示す通信システム1は、その一部を示したものであり、実際には、他の装置が種々の接続形態(有線、無線)で通信システムに接続されている。   FIG. 1 shows that a printer A51 and a printer B52 are newly installed in a wireless communication system 1 including a PC 2, a wireless access point (hereinafter referred to as wireless AP) 3 that operates as a wireless communication base station, and a network 4. Shows when to do. Note that the communication system 1 shown in FIG. 1 is a part of the communication system, and actually, other devices are connected to the communication system in various connection forms (wired or wireless).

PC2と無線AP3の間での無線通信は、インフラストラクチャモードと呼ばれる1対多での通信が可能な通信方式であって、無線AP3を介して装置間での通信を行う際に利用されることの多い通信方式で行われる。このため、PC2には、インフラストラクチャモードで無線AP3との無線通信を行うのに必要なSSID、暗号鍵等の識別情報を含む無線パラメータ(以後、インフラストラクチャモード用の無線パラメータと称する)が設定されている。また、PC2はアドホックモードと呼ばれる1対1での通信が可能な通信方式であって、無線AP3を介さずに装置間での通信を行う際に利用されることの多い通信方式による無線通信も行う。このため、PC2には、アドホックモードで装置との無線通信を行うのに必要なSSID、暗号鍵等の識別情報を含む無線パラメータ(以後、アドホックモード用の無線パラメータと称する)が設定されている。   Wireless communication between the PC 2 and the wireless AP 3 is a communication method capable of one-to-many communication called an infrastructure mode, and is used when communication is performed between devices via the wireless AP 3. This is done with many communication methods. Therefore, a wireless parameter including identification information such as an SSID and an encryption key necessary for performing wireless communication with the wireless AP 3 in the infrastructure mode (hereinafter referred to as an infrastructure mode wireless parameter) is set in the PC 2. Has been. The PC 2 is a communication method capable of one-to-one communication called an ad hoc mode, and wireless communication using a communication method often used for communication between devices without using the wireless AP 3 is also possible. Do. For this reason, the PC 2 is set with wireless parameters including identification information such as an SSID and encryption key necessary for wireless communication with the apparatus in the ad hoc mode (hereinafter referred to as an ad hoc mode wireless parameter). .

なお、PC2は、不図示であるが、基本ソフトウェアであるオペレーティングシステム(以後、OSと称する)に基づいてPC2本体のシーケンス制御を行うCPU[Central Processing Unit]、PC2の起動時に実行されるプログラム等を記録するROM[Read Only Memory]、プログラムの実行に必要なワークエリアのバッファエリアとして利用されるRAM[Random Access Memory]、OS、アプリケーションプログラム、本発明に係る無線設定プログラム、各種ファイル等のデータを格納するHD[Hard Disk]、ネットワークケーブル等の有線を経由する有線通信による装置間のコマンド、データ等の送受信を行う有線通信部、無線通信による装置間のコマンド、データ等の送受信を行う無線通信部等から構成されている。   Although not shown, the PC 2 is a CPU (Central Processing Unit) that performs sequence control of the PC 2 main body based on an operating system (hereinafter referred to as OS) that is basic software, a program that is executed when the PC 2 is started, and the like. ROM [Read Only Memory] for recording data, RAM [Random Access Memory] used as a buffer area of a work area necessary for program execution, OS, application program, wireless setting program according to the present invention, data such as various files HD [Hard Disk] that stores data, commands between devices via wire communication via a wired network such as a network cable, a wired communication unit that transmits / receives data, etc., wireless between commands, data between devices via wireless communication, etc. It consists of a communication unit.

無線AP3は、インフラストラクチャモードにより複数の装置との間で無線通信を行うとともに、ネットワーク4に接続されている。   The wireless AP 3 performs wireless communication with a plurality of devices in the infrastructure mode and is connected to the network 4.

本実施例では、PC2にインストールされている本発明に係る無線設定プログラムと、プリンタA51およびプリンタB52とが連動して、プリンタA51およびプリンタB52のインフラストラクチャモード用の無線パラメータの設定を行う例を説明する。   In this embodiment, an example in which the wireless setting program according to the present invention installed in the PC 2 and the printer A51 and the printer B52 work together to set wireless parameters for the infrastructure mode of the printer A51 and the printer B52. explain.

図2は、PC2の機能的な構成の一例を示すブロック図である。   FIG. 2 is a block diagram illustrating an example of a functional configuration of the PC 2.

図2に示すように、PC2は、無線通信部61、無線通信部61による無線通信の制御(具体的には、インフラストラクチャモードで無線通信を行う際にはインフラストラクチャモード用の無線パラメータを設定し、アドホックモードで無線通信を行う際にはアドホックモード用の無線パラメータを設定する)を行う無線通信制御部71、各無線モード用の無線パラメータを保持する(無線AP3とインフラストラクチャモードで無線通信を行うための無線パラメータも保持)記憶領域である無線パラメータ保持部81を具備して構成される。また、PC2にはキーボード、マウス等の入力装置9、ディスプレイ等の表示装置(不図示)が接続されている。なお、上記で説明したPC2に関する構成部以外の構成部については図示しないため、説明は省略する。   As shown in FIG. 2, the PC 2 controls the wireless communication unit 61 and wireless communication control by the wireless communication unit 61 (specifically, when performing wireless communication in the infrastructure mode, the wireless parameter for the infrastructure mode is set. When wireless communication is performed in the ad hoc mode, the wireless communication control unit 71 performs setting of wireless parameters for the ad hoc mode, and stores wireless parameters for each wireless mode (wireless communication in the wireless AP 3 and the infrastructure mode) The wireless parameter storage unit 81 that is a storage area is also provided. The PC 2 is connected to an input device 9 such as a keyboard and a mouse, and a display device (not shown) such as a display. In addition, since it does not show in figure about components other than the component regarding PC2 demonstrated above, description is abbreviate | omitted.

また、PC2には無線設定プログラム10およびアプリケーションプログラムを実現させる各種アプリケーション(不図示)がインストールされ、これらは、OS(不図示)の制御下で、OSの機能を利用して各種処理を実行する。   The wireless setting program 10 and various applications (not shown) for realizing the application program are installed in the PC 2, and these execute various processes using the functions of the OS under the control of the OS (not shown). .

次に、無線設定プログラム10の機能的な構成について説明する。   Next, a functional configuration of the wireless setting program 10 will be described.

図2に示すように、無線設定プログラム10は、その機能として、特定情報受付部111、無線パラメータ生成部121、無線モード切替部131、無線パラメータ要求受付部14、無線パラメータ送信部15から構成される。   As shown in FIG. 2, the wireless setting program 10 includes a specific information reception unit 111, a wireless parameter generation unit 121, a wireless mode switching unit 131, a wireless parameter request reception unit 14, and a wireless parameter transmission unit 15 as its functions. The

特定情報受付部111は、入力装置9からユーザによって入力された特定情報(例えば、設置領域を意味する情報等の任意の情報)を受け付ける処理を行う。   The specific information receiving unit 111 performs processing for receiving specific information (for example, arbitrary information such as information indicating an installation area) input by the user from the input device 9.

無線パラメータ生成部121は、所定のアルゴリズムに基づいて特定情報受付部111で受け付けた特定情報からアドホックモード用の無線パラメータを生成する処理を行う。なお、生成したアドホックモード用の無線パラメータは無線パラメータ保持部81に保持される。   The wireless parameter generation unit 121 performs processing for generating wireless parameters for the ad hoc mode from the specific information received by the specific information reception unit 111 based on a predetermined algorithm. The generated wireless parameter for the ad hoc mode is held in the wireless parameter holding unit 81.

無線モード切替部131は、無線通信部61で行われる無線通信の無線モードを切り替える処理を行う。   The wireless mode switching unit 131 performs processing for switching the wireless mode of wireless communication performed by the wireless communication unit 61.

無線パラメータ要求受付部14は、プリンタA51またはプリンタB52からの無線AP3とインフラストラクチャモードで無線通信を行うための無線パラメータの要求を受け付ける処理を行う。   The wireless parameter request receiving unit 14 performs a process of receiving a request for a wireless parameter for performing wireless communication with the wireless AP 3 from the printer A51 or the printer B52 in the infrastructure mode.

無線パラメータ送信部15は、無線パラメータ要求受付部14でインフラストラクチャモード用の無線パラメータの要求を受け付けた際に、無線パラメータ保持部81に保持されているインフラストラクチャモード用の無線パラメータを要求元であるプリンタに送信する処理を行う。なお、インフラストラクチャモード用の無線パラメータのプリンタへの送信にはアドホックモードでの無線通信が用いられる。   When the wireless parameter request receiving unit 14 receives the request for the wireless parameter for the infrastructure mode, the wireless parameter transmitting unit 15 receives the wireless parameter for the infrastructure mode held in the wireless parameter holding unit 81 at the request source. Process to send to a certain printer. Note that wireless communication in the ad hoc mode is used to transmit the wireless parameters for the infrastructure mode to the printer.

なお、無線設定プログラム10は、各種メモリや光ディスク等の記憶媒体に記憶して提供することが可能であり、通信回線を介して配信することも可能である。   The wireless setting program 10 can be provided by being stored in a storage medium such as various memories or optical disks, and can also be distributed via a communication line.

図3は、プリンタA51の機能的な構成の第1実施例を示すブロック図である。なお、プリンタA51の機能的な構成とプリンタB52の機能的な構成とは基本的には同様であるため、ここでは、プリンタA51の機能的な構成についてのみ説明する。   FIG. 3 is a block diagram showing a first embodiment of the functional configuration of the printer A51. Since the functional configuration of the printer A51 and the functional configuration of the printer B52 are basically the same, only the functional configuration of the printer A51 will be described here.

図3に示すように、プリンタA51は、無線通信部62、無線通信制御部72、無線パラメータ保持部82、入力部16、特定情報受付部112、無線パラメータ生成部122、指示受付部17、無線モード切替部132、無線パラメータ取得部18を具備して構成される。   As shown in FIG. 3, the printer A51 includes a wireless communication unit 62, a wireless communication control unit 72, a wireless parameter holding unit 82, an input unit 16, a specific information receiving unit 112, a wireless parameter generating unit 122, an instruction receiving unit 17, A mode switching unit 132 and a wireless parameter acquisition unit 18 are provided.

無線通信部62は、無線通信による装置間のコマンド、データ等の送受信を行う。   The wireless communication unit 62 transmits and receives commands, data, and the like between devices by wireless communication.

無線通信制御部72は、無線通信部62による無線通信の制御を行う。具体的には、インフラストラクチャモードで無線通信を行う際にはインフラストラクチャモード用の無線パラメータを設定し、アドホックモードで無線通信を行う際にはアドホックモード用の無線パラメータを設定する。   The wireless communication control unit 72 controls wireless communication by the wireless communication unit 62. Specifically, when performing wireless communication in the infrastructure mode, the wireless parameter for infrastructure mode is set, and when performing wireless communication in the ad hoc mode, the wireless parameter for ad hoc mode is set.

無線パラメータ保持部82は、各無線モード用の無線パラメータを保持する記憶領域である。   The radio parameter holding unit 82 is a storage area that holds radio parameters for each radio mode.

入力部16は、ユーザがプリンタA52に対して情報、各処理の指示等を入力するための入力デバイスであり、例えば、スタートボタン、テンキー等のハードキーから構成され、またはタッチパネル方式のディスプレイから構成される。   The input unit 16 is an input device for a user to input information, instructions for each process, and the like to the printer A52. For example, the input unit 16 includes a hard key such as a start button and a numeric keypad, or a touch panel display. Is done.

特定情報受付部112は、入力部16からユーザによって入力された特定情報を受け付ける処理を行う。なお、PC2の無線設定プログラム10と連動してインフラストラクチャモード用の無線パラメータの設定を行うためには、PC2に入力した特定情報と同一の特定情報を入力する必要がある。   The specific information receiving unit 112 performs a process of receiving specific information input from the input unit 16 by the user. Note that in order to set the wireless parameter for the infrastructure mode in conjunction with the wireless setting program 10 of the PC 2, it is necessary to input the same specific information as the specific information input to the PC 2.

無線パラメータ生成部122は、PC2の無線設定プログラム10の無線パラメータ生成部121で用いる所定のアルゴリズムと同一のアルゴリズムに基づいて特定情報受付部112で受け付けた特定情報からアドホックモード用の無線パラメータを生成する処理を行う。即ち、生成された無線パラメータは無線設定プログラム10の無線パラメータ生成部121で同一の特定情報から生成される無線パラメータと同一のものとなる。なお、生成したアドホックモード用の無線パラメータは無線パラメータ保持部82に保持される。   The wireless parameter generation unit 122 generates a wireless parameter for ad hoc mode from the specific information received by the specific information reception unit 112 based on the same algorithm as the predetermined algorithm used by the wireless parameter generation unit 121 of the wireless setting program 10 of the PC 2 Perform the process. That is, the generated wireless parameter is the same as the wireless parameter generated from the same specific information in the wireless parameter generating unit 121 of the wireless setting program 10. The generated wireless parameter for ad hoc mode is stored in the wireless parameter storage unit 82.

指示受付部17は、入力部16からユーザによって入力されたインフラストラクチャモード用の無線パラメータの設定の指示を受け付ける処理を行う。   The instruction receiving unit 17 performs a process of receiving an instruction for setting the wireless parameter for the infrastructure mode input from the input unit 16 by the user.

無線モード切替部132は、無線通信部62で行われる無線通信の無線モードを切り替える処理を行う。   The wireless mode switching unit 132 performs processing for switching the wireless mode of wireless communication performed by the wireless communication unit 62.

無線パラメータ取得部18は、無線AP3とインフラストラクチャモード用の無線パラメータをPC2から取得する処理を行う。   The wireless parameter acquisition unit 18 performs processing for acquiring wireless parameters for the wireless AP 3 and the infrastructure mode from the PC 2.

なお、上述した無線通信制御部72、特定情報受付部112、無線パラメータ生成部122、指示受付部17、無線モード切替部132、無線パラメータ取得部18を機能として具備するプログラムを汎用のプリンタ等の無線通信装置に組み込んだ構成を適用することも可能であり、その際には、無線通信装置の記憶部(例えば、ハードディスク等)に当該プログラムが記憶され、無線通信装置の演算部(例えば、CPU等)が記憶部に記憶されている当該プログラムを実行することになる。   Note that a program including the above-described wireless communication control unit 72, specific information reception unit 112, wireless parameter generation unit 122, instruction reception unit 17, wireless mode switching unit 132, and wireless parameter acquisition unit 18 as a function of a general-purpose printer or the like. It is also possible to apply a configuration incorporated in a wireless communication device. In this case, the program is stored in a storage unit (for example, a hard disk) of the wireless communication device, and a calculation unit (for example, a CPU) of the wireless communication device. Etc.) will execute the program stored in the storage unit.

次に、無線設定プログラム10、プリンタA51およびプリンタB52の動作について説明する。   Next, operations of the wireless setting program 10, the printer A51, and the printer B52 will be described.

図4は、プリンタAおよびプリンタBにインフラストラクチャモード用の無線パラメータを設定する場合における無線設定プログラム、プリンタAおよびプリンタBの動作の流れの一例を示すシーケンス図である。   FIG. 4 is a sequence diagram illustrating an example of the operation flow of the wireless setting program and the printer A and printer B when setting the wireless parameters for the infrastructure mode in the printer A and the printer B.

無線APとPCとがインフラストラクチャモードでの無線通信で接続している(S401)。   The wireless AP and the PC are connected by wireless communication in the infrastructure mode (S401).

ユーザがPCの入力装置から特定情報を入力すると、無線設定プログラムの特定情報受付部が当該特定情報を受け付け(S402)、無線パラメータ生成部が所定のアルゴリズムに基づいて当該特定情報からアドホックモード用の無線パラメータ(SSIDおよび暗号鍵)を生成し(S403)、無線モード切替部が無線パラメータ生成部で生成したアドホックモード用の無線パラメータを設定したアドホックモードの無線通信に切り替える(S404)。   When the user inputs specific information from the input device of the PC, the specific information reception unit of the wireless setting program receives the specific information (S402), and the wireless parameter generation unit uses the specific information for the ad hoc mode based on a predetermined algorithm. Wireless parameters (SSID and encryption key) are generated (S403), and the wireless mode switching unit switches to ad hoc mode wireless communication in which the wireless parameters for the ad hoc mode generated by the wireless parameter generation unit are set (S404).

そして、当該ユーザはプリンタAの入力部から当該特定情報を入力すると、特定情報受付部が当該特定情報を受け付け(S405)、無線パラメータ生成部が所定のアルゴリズムに基づいて当該特定情報からアドホックモード用の無線パラメータ(SSIDおよび暗号鍵)を生成し(S406)、当該ユーザは入力部からインフラストラクチャモード用の無線パラメータの設定の指示を入力すると、指示受付部が無線パラメータの設定の指示を受け付け(S407)、無線モード切替部が無線パラメータ生成部で生成したアドホックモード用の無線パラメータを設定したアドホックモードの無線通信に切り替え(S408)、無線パラメータ取得部がインフラストラクチャモード用の無線パラメータをPCに対して要求する(S409)。   Then, when the user inputs the specific information from the input unit of the printer A, the specific information receiving unit receives the specific information (S405), and the wireless parameter generation unit uses the specific information for the ad hoc mode based on a predetermined algorithm. Wireless parameters (SSID and encryption key) are generated (S406), and when the user inputs an instruction for setting wireless parameters for infrastructure mode from the input unit, the instruction receiving unit receives an instruction for setting wireless parameters ( S407), the wireless mode switching unit switches to the ad hoc mode wireless communication in which the wireless parameter for the ad hoc mode generated by the wireless parameter generation unit is set (S408), and the wireless parameter acquisition unit sets the wireless parameter for the infrastructure mode to the PC. Request is made (S409).

一方、当該ユーザはプリンタBの入力部から当該特定情報を入力すると、特定情報受付部が当該特定情報を受け付け(S410)、無線パラメータ生成部が所定のアルゴリズムに基づいて当該特定情報からアドホックモード用の無線パラメータ(SSIDおよび暗号鍵)を生成し(S411)、当該ユーザは入力部からインフラストラクチャモード用の無線パラメータの設定の指示を入力すると、指示受付部が無線パラメータの設定の指示を受け付ける(S412)、無線モード切替部が無線パラメータ生成部で生成したアドホックモード用の無線パラメータを設定したアドホックモードの無線通信に切り替え(S413)、無線パラメータ取得部がインフラストラクチャモード用の無線パラメータをPCに対して要求する(S414)。   On the other hand, when the user inputs the specific information from the input unit of the printer B, the specific information receiving unit receives the specific information (S410), and the wireless parameter generation unit uses the specific information for the ad hoc mode based on a predetermined algorithm. Wireless parameters (SSID and encryption key) are generated (S411), and when the user inputs an instruction for setting wireless parameters for infrastructure mode from the input unit, the instruction receiving unit receives an instruction for setting wireless parameters ( S412), the wireless mode switching unit switches to ad hoc mode wireless communication in which the wireless parameters for the ad hoc mode generated by the wireless parameter generation unit are set (S413), and the wireless parameter acquisition unit sets the wireless parameters for the infrastructure mode to the PC. Request is made (S414).

PCの無線設定プログラムの無線パラメータ要求受付部が、S409におけるプリンタAからのインフラストラクチャモード用の無線パラメータの要求を受け付けると、無線パラメータ送信部が無線パラメータ保持部に保持しているインフラストラクチャモード用の無線パラメータをプリンタAに対して送信する(S415)。なお、PCの無線設定プログラムの無線パラメータ要求受付部は、S414におけるプリンタBからのインフラストラクチャモード用の無線パラメータの要求を受け付けないため、無線設定プログラムはプリンタBに対してインフラストラクチャモード用の無線パラメータを送信しない。また、無線設定プログラムは、プリンタA以外の他のプリンタからのインフラストラクチャモード用の無線パラメータの要求に備えてアドホックモードの無線通信を維持し、他のプリンタからの要求を所定時間受け付けなかった際にインフラストラクチャモードの無線通信に切り替える。   When the wireless parameter request receiving unit of the wireless setting program of the PC receives the request for the wireless parameter for the infrastructure mode from the printer A in S409, the wireless parameter transmitting unit uses the infrastructure mode for the infrastructure mode held in the wireless parameter holding unit. Are transmitted to the printer A (S415). Note that the wireless parameter request accepting unit of the wireless setting program of the PC does not accept the request for the wireless parameter for the infrastructure mode from the printer B in S414. Do not send parameters. The wireless setting program maintains the ad hoc mode wireless communication in preparation for the infrastructure mode wireless parameter request from the printer other than the printer A, and does not accept the request from the other printer for a predetermined time. Switch to infrastructure mode wireless communication.

プリンタBの無線パラメータ取得部は、S414でPCに送信したインフラストラクチャモード用の無線パラメータの要求に対する応答がPCからなかった場合、当該要求の送信から所定時間経過後、再度インフラストラクチャモード用の無線パラメータをPCに対して要求する(S416)。なお、PCが永遠に応答しないことも想定できるため、所定のタイムアウト時間の経過後では再要求を行わないようにする。タイムアウト時間の経過後にインフラストラクチャモード用の無線パラメータの設定を行う場合は、無線パラメータの設定の指示を再度入力すれば良い。   If the wireless parameter acquisition unit of the printer B does not respond to the infrastructure mode wireless parameter request transmitted to the PC in step S414 from the PC, the wireless parameter acquisition unit again performs the infrastructure mode wireless communication after a predetermined time has elapsed since the transmission of the request. A parameter is requested from the PC (S416). Since it can be assumed that the PC does not respond forever, the re-request is not performed after a predetermined time-out period has elapsed. When setting the wireless parameter for the infrastructure mode after the timeout time elapses, the wireless parameter setting instruction may be input again.

プリンタAの無線パラメータ取得部はPCからのインフラストラクチャモード用の無線パラメータを受け付けると、受け付けたインフラストラクチャモード用の無線パラメータを無線パラメータ保持部に保持し(S417)、無線モード切替部が無線パラメータ保持部に保持したインフラストラクチャモード用の無線パラメータを設定したインフラストラクチャモードの無線通信に切り替え(この時、PCとのアドホックモードでの無線通信の接続を終了する)(S418)、無線APとインフラストラクチャモードでの無線通信の接続を開始する(S419)。   When the wireless parameter acquisition unit of the printer A receives the wireless parameter for the infrastructure mode from the PC, the wireless parameter for the infrastructure mode is held in the wireless parameter holding unit (S417), and the wireless mode switching unit receives the wireless parameter. Switch to infrastructure mode wireless communication in which the infrastructure mode wireless parameters held in the holding unit are set (at this time, the wireless communication connection with the PC in the ad hoc mode is terminated) (S418), the wireless AP and the infrastructure The wireless communication connection in the structure mode is started (S419).

一方、PCの無線通信部は、S416におけるプリンタBからのインフラストラクチャモード用の無線パラメータの再要求を受信しないので、無線設定プログラムはプリンタBに対してインフラストラクチャモード用の無線パラメータを送信しない。   On the other hand, since the wireless communication unit of the PC does not receive the re-request for the wireless parameter for the infrastructure mode from the printer B in S416, the wireless setting program does not transmit the wireless parameter for the infrastructure mode to the printer B.

プリンタBの無線パラメータ取得部は、S416でPCに送信したインフラストラクチャモード用の無線パラメータの要求に対する応答がPCからなかった場合、当該要求の送信から所定時間経過後、再度インフラストラクチャモード用の無線パラメータをPCに対して要求する(S420)。   When the wireless parameter acquisition unit of the printer B does not respond to the infrastructure mode wireless parameter request transmitted to the PC in S416, the wireless parameter for the infrastructure mode is again transmitted after a predetermined time has elapsed since the transmission of the request. A parameter is requested from the PC (S420).

S418において、プリンタAとのアドホックモードでの無線通信の接続を終了したPCの無線設定プログラムの無線パラメータ要求受付部が、S420におけるプリンタBからのインフラストラクチャモード用の無線パラメータの要求を受け付けると、無線パラメータ送信部が無線パラメータ保持部に保持しているインフラストラクチャモード用の無線パラメータをプリンタBに対して送信する(S421)。   In S418, when the wireless parameter request receiving unit of the wireless setting program of the PC that has completed the wireless communication connection in the ad hoc mode with the printer A receives the request for the wireless parameter for the infrastructure mode from the printer B in S420, The wireless parameter transmitting unit transmits the wireless parameter for the infrastructure mode held in the wireless parameter holding unit to the printer B (S421).

プリンタBの無線パラメータ取得部はPCからのインフラストラクチャモード用の無線パラメータを受け付けると、受け付けたインフラストラクチャモード用の無線パラメータを無線パラメータ保持部に保持し(S422)、無線モード切替部が無線パラメータ保持部に保持したインフラストラクチャモード用の無線パラメータを設定したインフラストラクチャモードの無線通信に切り替え(この時、PCとのアドホックモードでの無線通信の接続を終了する)(S423)、無線APとインフラストラクチャモードでの無線通信の接続を開始する(S424)。   When the wireless parameter acquisition unit of the printer B receives the wireless parameter for the infrastructure mode from the PC, the wireless parameter for the infrastructure mode is held in the wireless parameter holding unit (S422), and the wireless mode switching unit receives the wireless parameter. Switch to infrastructure mode wireless communication in which the infrastructure mode wireless parameters held in the holding unit are set (at this time, the wireless communication connection in the ad hoc mode with the PC is terminated) (S423), the wireless AP and the infrastructure The wireless communication connection in the structure mode is started (S424).

図5は、プリンタA51の機能的な構成の第2実施例を示すブロック図である。なお、プリンタA51の機能的な構成とプリンタB52の機能的な構成とは基本的には同様であるため、ここでは、プリンタA51の機能的な構成についてのみ説明する。   FIG. 5 is a block diagram showing a second embodiment of the functional configuration of the printer A51. Since the functional configuration of the printer A51 and the functional configuration of the printer B52 are basically the same, only the functional configuration of the printer A51 will be described here.

図5に示すように、プリンタA51は、無線通信部62、無線通信制御部72、無線パラメータ保持部82、入力部16、特定情報受付部112、無線パラメータ生成部122、指示受付部17、無線モード切替部132、無線パラメータ取得部18、信号送信部19、信号受信部20を具備して構成される。   As illustrated in FIG. 5, the printer A 51 includes a wireless communication unit 62, a wireless communication control unit 72, a wireless parameter holding unit 82, an input unit 16, a specific information reception unit 112, a wireless parameter generation unit 122, an instruction reception unit 17, and a wireless communication unit 62. The mode switching unit 132, the wireless parameter acquisition unit 18, the signal transmission unit 19, and the signal reception unit 20 are provided.

無線通信部62は、無線通信による装置間のコマンド、データ等の送受信を行う。   The wireless communication unit 62 transmits and receives commands, data, and the like between devices by wireless communication.

無線通信制御部72は、無線通信部62による無線通信の制御を行う。具体的には、インフラストラクチャモードで無線通信を行う際にはインフラストラクチャモード用の無線パラメータを設定し、アドホックモードで無線通信を行う際にはアドホックモード用の無線パラメータを設定する。   The wireless communication control unit 72 controls wireless communication by the wireless communication unit 62. Specifically, when performing wireless communication in the infrastructure mode, the wireless parameter for infrastructure mode is set, and when performing wireless communication in the ad hoc mode, the wireless parameter for ad hoc mode is set.

無線パラメータ保持部82は、各無線モード用の無線パラメータを保持する記憶領域である。   The radio parameter holding unit 82 is a storage area that holds radio parameters for each radio mode.

入力部16は、ユーザがプリンタA51に対して情報、各処理の指示等を入力するための入力デバイスであり、例えば、スタートボタン、テンキー等のハードキーから構成され、またはタッチパネル方式のディスプレイから構成される。   The input unit 16 is an input device for a user to input information, instructions for each process, and the like to the printer A51. For example, the input unit 16 includes a hard key such as a start button and a numeric keypad, or a touch panel display. Is done.

特定情報受付部112は、入力部16からユーザによって入力された特定情報を受け付ける処理を行う。なお、PC2の無線設定プログラム10と連動してインフラストラクチャモード用の無線パラメータの設定を行うためには、PC2に入力した特定情報と同一の特定情報を入力する必要がある。   The specific information receiving unit 112 performs a process of receiving specific information input from the input unit 16 by the user. Note that in order to set the wireless parameter for the infrastructure mode in conjunction with the wireless setting program 10 of the PC 2, it is necessary to input the same specific information as the specific information input to the PC 2.

無線パラメータ生成部122は、PC2の無線設定プログラム10の無線パラメータ生成部121で用いる所定のアルゴリズムと同一のアルゴリズムに基づいて特定情報受付部112で受け付けた特定情報からアドホックモード用のSSIDおよび暗号鍵を生成する処理を行う。なお、生成したSSIDおよび暗号鍵は無線パラメータ保持部82に保持される。   The wireless parameter generation unit 122 uses the specific information received by the specific information reception unit 112 based on the same algorithm as the predetermined algorithm used by the wireless parameter generation unit 121 of the wireless setting program 10 of the PC 2, and the SSID and encryption key for the ad hoc mode. Process to generate. The generated SSID and encryption key are held in the wireless parameter holding unit 82.

指示受付部17は、入力部16からユーザによって入力されたインフラストラクチャモード用の無線パラメータの設定の指示を受け付ける処理を行う。   The instruction receiving unit 17 performs a process of receiving an instruction for setting the wireless parameter for the infrastructure mode input from the input unit 16 by the user.

無線モード切替部132は、無線通信部62で行われる無線通信の無線モードを切り替える処理を行う。   The wireless mode switching unit 132 performs processing for switching the wireless mode of wireless communication performed by the wireless communication unit 62.

無線パラメータ取得部18は、無線AP3とインフラストラクチャモード用の無線パラメータをPC2から取得する処理を行う。   The wireless parameter acquisition unit 18 performs processing for acquiring wireless parameters for the wireless AP 3 and the infrastructure mode from the PC 2.

信号送信部19は、指示受付部17でインフラストラクチャモード用の無線パラメータの設定の指示を受け付けた際に当該設定の開始を告げる無線設定開始信号をブロードキャスト(不特定多数の装置に送信)する処理、無線パラメータ取得部18でPC2からインフラストラクチャモード用の無線パラメータを取得した際に当該設定の終了を告げる無線設定終了信号をブロードキャストする処理を行う。   The signal transmitting unit 19 broadcasts (transmits to a large number of unspecified devices) a wireless setting start signal that notifies the start of the setting when the instruction receiving unit 17 receives an instruction to set the wireless parameter for the infrastructure mode. When the wireless parameter acquisition unit 18 acquires the wireless parameter for the infrastructure mode from the PC 2, the wireless parameter acquisition unit 18 performs a process of broadcasting a wireless setting end signal that notifies the end of the setting.

信号受信部20は、他のプリンタ(例えば、プリンタB52)からブロードキャストされた無線設定開始信号または無線設定終了信号を受信する処理を行う。   The signal receiving unit 20 performs processing for receiving a wireless setting start signal or a wireless setting end signal broadcast from another printer (for example, the printer B52).

なお、上述した無線通信制御部72、特定情報受付部112、無線パラメータ生成部122、指示受付部17、無線モード切替部132、無線パラメータ取得部18、信号送信部19、信号受信部20を機能として具備するプログラム(本発明に係る無線設定プログラムに相当)を汎用のプリンタ等の無線通信装置に組み込んだ構成を適用することも可能であり、その際には、無線通信装置の記憶部(例えば、ハードディスク等)にプログラムが記憶され、無線通信装置の演算部(例えば、CPU等)が記憶部に記憶されているプログラムを実行することになる。   The wireless communication control unit 72, the specific information reception unit 112, the wireless parameter generation unit 122, the instruction reception unit 17, the wireless mode switching unit 132, the wireless parameter acquisition unit 18, the signal transmission unit 19, and the signal reception unit 20 described above function. It is also possible to apply a configuration in which a program (corresponding to a wireless setting program according to the present invention) included in a wireless communication device such as a general-purpose printer is incorporated. , A hard disk or the like), and a calculation unit (for example, a CPU or the like) of the wireless communication apparatus executes the program stored in the storage unit.

次に、無線設定プログラム10、プリンタA51およびプリンタB52の動作について説明する。   Next, operations of the wireless setting program 10, the printer A51, and the printer B52 will be described.

図6および図7は、プリンタAおよびプリンタBにインフラストラクチャモード用の無線パラメータを設定する場合における無線設定プログラム、プリンタAおよびプリンタBの動作の流れの一例を示すシーケンス図である。   6 and 7 are sequence diagrams showing an example of the operation flow of the wireless setting program and the printer A and printer B when setting the wireless parameters for the infrastructure mode in the printer A and the printer B. FIG.

無線APとPCとがインフラストラクチャモードでの無線通信で接続している(S601)。   The wireless AP and the PC are connected by wireless communication in the infrastructure mode (S601).

ユーザがPCの入力装置から特定情報を入力すると、無線設定プログラムの特定情報受付部が当該特定情報を受け付け(S602)、無線パラメータ生成部が所定のアルゴリズムに基づいて当該特定情報からアドホックモード用の無線パラメータ(SSIDおよび暗号鍵)を生成し(S603)、無線モード切替部が無線パラメータ生成部で生成したアドホックモード用の無線パラメータを設定したアドホックモードの無線通信に切り替える(S604)。   When the user inputs specific information from the input device of the PC, the specific information reception unit of the wireless setting program receives the specific information (S602), and the wireless parameter generation unit uses the specific information based on a predetermined algorithm for the ad hoc mode. Wireless parameters (SSID and encryption key) are generated (S603), and the wireless mode switching unit switches to ad-hoc mode wireless communication in which the wireless parameters for the ad hoc mode generated by the wireless parameter generation unit are set (S604).

そして、当該ユーザはプリンタAの入力部から当該特定情報を入力すると、特定情報受付部が当該特定情報を受け付け(S605)、無線パラメータ生成部が所定のアルゴリズムに基づいて当該特定情報からアドホックモード用の無線パラメータ(SSIDおよび暗号鍵)を生成し(S606)、当該ユーザは入力部からインフラストラクチャモード用の無線パラメータの設定の指示を入力すると、指示受付部が無線パラメータの設定の指示を受け付け(S607)、無線モード切替部が無線パラメータ生成部で生成したアドホックモード用の無線パラメータを設定したアドホックモードの無線通信に切り替え(S608)、信号送信部が無線設定開始信号をブロードキャストし(S609)、無線パラメータ取得部がインフラストラクチャモード用の無線パラメータをPCに対して要求する(S610)。なお、S609において、ブロードキャストされた無線設定開始信号はプリンタBで受信されるが、この時、プリンタBは無線パラメータの設定の指示を受け付けていないものとする。   When the user inputs the specific information from the input unit of the printer A, the specific information receiving unit receives the specific information (S605), and the wireless parameter generation unit uses the specific information for the ad hoc mode based on a predetermined algorithm. Wireless parameters (SSID and encryption key) are generated (S606), and when the user inputs an instruction for setting wireless parameters for infrastructure mode from the input unit, the instruction receiving unit receives an instruction for setting wireless parameters ( S607), the radio mode switching unit switches to ad hoc mode radio communication in which the radio parameters for the ad hoc mode generated by the radio parameter generation unit are set (S608), and the signal transmission unit broadcasts a radio setting start signal (S609), Wireless parameter acquisition unit is infrastructure Requesting wireless parameters for over de against PC (S610). In step S609, the broadcast wireless setting start signal is received by the printer B. At this time, it is assumed that the printer B has not received a wireless parameter setting instruction.

一方、当該ユーザはプリンタBの入力部から当該特定情報を入力すると、特定情報受付部が当該特定情報を受け付け(S611)、無線パラメータ生成部が所定のアルゴリズムに基づいて当該特定情報からアドホックモード用の無線パラメータ(SSIDおよび暗号鍵)を生成し(S612)、当該ユーザは入力部からインフラストラクチャモード用の無線パラメータの設定の指示を入力すると、指示受付部が無線パラメータの設定の指示を受け付け(S613)、無線モード切替部が無線パラメータ生成部で生成したアドホックモード用の無線パラメータを設定したアドホックモードの無線通信に切り替える(S614)。なお、S612からS613の間で信号受信部がプリンタAからブロードキャストされた無線設定開始信号を受信しているため、信号送信部は無線パラメータの設定を待機(即ち、無線設定開始信号のブロードキャストも待機)する(S615)。   On the other hand, when the user inputs the specific information from the input unit of the printer B, the specific information receiving unit receives the specific information (S611), and the wireless parameter generation unit uses the specific information for the ad hoc mode based on a predetermined algorithm. Wireless parameters (SSID and encryption key) are generated (S612), and when the user inputs an instruction for setting wireless parameters for infrastructure mode from the input unit, the instruction receiving unit receives an instruction for setting wireless parameters ( In step S613, the radio mode switching unit switches to ad hoc mode radio communication in which the radio parameters for the ad hoc mode generated by the radio parameter generation unit are set. Since the signal reception unit receives the wireless setting start signal broadcast from the printer A between S612 and S613, the signal transmission unit waits for the wireless parameter setting (that is, the wireless setting start signal broadcast also waits). (S615).

PCの無線設定プログラムの無線パラメータ要求受付部が、S610におけるプリンタAからのインフラストラクチャモード用の無線パラメータの要求を受け付けると、無線パラメータ送信部が無線パラメータ保持部に保持しているインフラストラクチャモード用の無線パラメータをプリンタAに対して送信する(S616)。また、無線設定プログラムは、プリンタA以外の他のプリンタからのインフラストラクチャモード用の無線パラメータの要求に備えてアドホックモードの無線通信を維持し、他のプリンタからの要求を所定時間受け付けなかった際にインフラストラクチャモードの無線通信に切り替える。   When the wireless parameter request reception unit of the wireless setting program of the PC receives the request for the wireless parameter for the infrastructure mode from the printer A in S610, the wireless parameter transmission unit uses the infrastructure mode for the infrastructure mode held in the wireless parameter holding unit. Are transmitted to the printer A (S616). The wireless setting program maintains the ad hoc mode wireless communication in preparation for the infrastructure mode wireless parameter request from the printer other than the printer A, and does not accept the request from the other printer for a predetermined time. Switch to infrastructure mode wireless communication.

プリンタAの無線パラメータ取得部はPCからのインフラストラクチャモード用の無線パラメータを受け付けると、受け付けたインフラストラクチャモード用の無線パラメータを無線パラメータ保持部に保持し(S617)、信号送信部が無線設定終了信号をブロードキャストし(S618)、無線モード切替部が無線パラメータ保持部に保持したインフラストラクチャモード用の無線パラメータを設定したインフラストラクチャモードの無線通信に切り替え(この時、PCとのアドホックモードでの無線通信の接続を終了する)(S619)、無線APとインフラストラクチャモードでの無線通信の接続を開始する(S620)。   When the wireless parameter acquisition unit of the printer A receives the wireless parameter for the infrastructure mode from the PC, the wireless parameter holding unit receives the received wireless parameter for the infrastructure mode (S617), and the signal transmission unit completes the wireless setting. A signal is broadcast (S618), and the wireless mode switching unit switches to the wireless communication in the infrastructure mode in which the wireless parameter for the infrastructure mode held in the wireless parameter holding unit is set (at this time, the wireless communication in the ad hoc mode with the PC is performed). The communication connection is terminated) (S619), and the wireless communication connection with the wireless AP in the infrastructure mode is started (S620).

続いて、図7に示すシーケンス図の流れについて説明する。   Next, the flow of the sequence diagram shown in FIG. 7 will be described.

プリンタBの信号受信部はプリンタAからブロードキャストされた無線設定終了信号を受信すると、信号送信部は無線設定開始信号のブロードキャストの待機を解除し、無線設定開始信号をブロードキャストし(S621)、無線パラメータ取得部がインフラストラクチャモード用の無線パラメータをPCに対して要求する(S622)。なお、無線設定開始信号のブロードキャストの待機を解除して無線設定開始信号をブロードキャストする前に他のプリンタからブロードキャストされた無線設定開始信号を受信した場合、再び無線設定開始信号のブロードキャストを待機する。   When the signal receiving unit of the printer B receives the wireless setting end signal broadcast from the printer A, the signal transmitting unit cancels the wireless setting start signal broadcast standby, broadcasts the wireless setting start signal (S621), and wireless parameters. The acquisition unit requests the wireless parameters for the infrastructure mode from the PC (S622). If a wireless setting start signal broadcast from another printer is received before the wireless setting start signal broadcast standby is canceled and the wireless setting start signal is broadcast, the wireless setting start signal is again broadcast.

PCの無線設定プログラムの無線パラメータ要求受付部がプリンタBからのインフラストラクチャモード用の無線パラメータの要求を受け付けると、無線パラメータ送信部が無線パラメータ保持部に保持しているインフラストラクチャモード用の無線パラメータをプリンタBに対して送信する(S623)。   When the wireless parameter request receiving unit of the wireless setting program of the PC receives a request for the wireless parameter for the infrastructure mode from the printer B, the wireless parameter for the infrastructure mode held in the wireless parameter holding unit by the wireless parameter transmitting unit Is transmitted to the printer B (S623).

プリンタBの無線パラメータ取得部はPCからのインフラストラクチャモード用の無線パラメータを受け付けると、受け付けたインフラストラクチャモード用の無線パラメータを無線パラメータ保持部に保持し(S624)、信号送信部が無線設定終了信号をブロードキャストし(S625)、無線モード切替部が無線パラメータ保持部に保持したインフラストラクチャモード用の無線パラメータを設定したインフラストラクチャモードの無線通信に切り替え(この時、PCとのアドホックモードでの無線通信の接続を終了する)(S626)、無線APとインフラストラクチャモードでの無線通信の接続を開始する(S627)。   When the wireless parameter acquisition unit of the printer B receives the wireless parameter for the infrastructure mode from the PC, the wireless parameter for the infrastructure mode is stored in the wireless parameter storage unit (S624), and the signal transmission unit completes the wireless setting. A signal is broadcast (S625), and the wireless mode switching unit switches to the wireless communication in the infrastructure mode in which the wireless parameter for the infrastructure mode held in the wireless parameter holding unit is set (at this time, wireless in the ad hoc mode with the PC) The communication connection is terminated) (S626), and the wireless communication connection with the wireless AP in the infrastructure mode is started (S627).

なお、無線設定指示を受け付けてからインフラストラクチャモード用の無線パラメータを取得する処理を開始する上述の一例に限定することなく、特定情報を受け付けるだけでアドホックモード用の無線パラメータを生成し、生成したアドホックモード用の無線パラメータを設定したアドホックモードの無線通信に切り替え、インフラストラクチャモード用の無線パラメータを取得する処理を開始する構成でも適用可能である。   In addition, the wireless parameter for the ad hoc mode is generated only by receiving the specific information without being limited to the above-described example of starting the process of acquiring the wireless parameter for the infrastructure mode after receiving the wireless setting instruction. The present invention can also be applied to a configuration in which processing is switched to ad-hoc mode wireless communication in which an ad-hoc mode wireless parameter is set and processing for acquiring the infrastructure-mode wireless parameter is started.

本発明に係る無線通信システムの全体構成の一例を示すシステム構成図である。1 is a system configuration diagram showing an example of the overall configuration of a wireless communication system according to the present invention. PCの機能的な構成の一例を示すブロック図である。It is a block diagram which shows an example of a functional structure of PC. プリンタAの機能的な構成の第1実施例を示すブロック図である。1 is a block diagram illustrating a first embodiment of a functional configuration of a printer A. FIG. プリンタAおよびプリンタBにインフラストラクチャモード用の無線パラメータを設定する場合における無線設定プログラム、プリンタAおよびプリンタBの動作の流れの一例を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating an example of a flow of operations of the wireless setting program and the printer A and printer B when setting wireless parameters for infrastructure mode in the printer A and the printer B. プリンタAの機能的な構成の第2実施例を示すブロック図である。FIG. 10 is a block diagram illustrating a second embodiment of the functional configuration of the printer A. プリンタAおよびプリンタBにインフラストラクチャモード用の無線パラメータを設定する場合における無線設定プログラム、プリンタAおよびプリンタBの動作の流れの一例を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating an example of a flow of operations of the wireless setting program and the printer A and printer B when setting wireless parameters for infrastructure mode in the printer A and the printer B. プリンタAおよびプリンタBにインフラストラクチャモード用の無線パラメータを設定する場合における無線設定プログラム、プリンタAおよびプリンタBの動作の流れの一例を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating an example of a flow of operations of the wireless setting program and the printer A and printer B when setting wireless parameters for infrastructure mode in the printer A and the printer B.

符号の説明Explanation of symbols

1 無線通信システム
2 PC
3 無線AP
4 ネットワーク
51 プリンタA
52 プリンタB
61、62 無線通信部
71、72 無線通信制御部
81、82 無線パラメータ保持部
9 入力装置
10 無線設定プログラム
111、112 特定情報受付部
121、122 無線パラメータ生成部
131、132 無線モード切替部
14 無線パラメータ要求受付部
15 無線パラメータ送信部
16 入力部
17 指示受付部
18 無線パラメータ取得部
19 信号送信部
20 信号受信部
1 wireless communication system 2 PC
3 Wireless AP
4 Network 51 Printer A
52 Printer B
61, 62 Wireless communication unit 71, 72 Wireless communication control unit 81, 82 Wireless parameter holding unit 9 Input device 10 Wireless setting program 111, 112 Specific information receiving unit 121, 122 Wireless parameter generation unit 131, 132 Wireless mode switching unit 14 Wireless Parameter request reception unit 15 Wireless parameter transmission unit 16 Input unit 17 Instruction reception unit 18 Wireless parameter acquisition unit 19 Signal transmission unit 20 Signal reception unit

Claims (9)

無線基地局との間で通信を行う第1の無線通信方式と、該基地局を介さない装置間で通信を行う第2の無線通信方式とによって無線通信を行う無線通信手段と、
前記第1の無線通信方式による無線通信で利用する第1の無線パラメータを記憶する無線パラメータ記憶手段と、
無線通信装置に入力する特定情報を受け付ける特定情報受付手段と、
前記特定情報受付手段で受け付けた特定情報から前記第2の無線通信方式による無線通信で利用する第2の無線パラメータを所定の処理手順に基づいて生成する無線パラメータ生成手段と、
前記無線通信手段で行う無線通信を前記無線パラメータ生成手段で生成した第2の無線パラメータを利用した第2の無線通信方式による無線通信に切り替える切替手段と、
前記第2の無線パラメータを利用した第2の無線通信方式による無線通信を介して前記無線通信装置からの前記第1の無線パラメータの要求を受け付ける要求受付手段と、
前記要求受付手段で受け付けた要求に応答して前記第1の無線パラメータを前記無線通信装置に送信する無線パラメータ送信手段と
を具備することを特徴とする情報処理装置。
Wireless communication means for performing wireless communication by a first wireless communication method for communicating with a wireless base station and a second wireless communication method for performing communication between devices not via the base station;
Wireless parameter storage means for storing a first wireless parameter used in wireless communication by the first wireless communication method;
Specific information receiving means for receiving specific information input to the wireless communication device;
Wireless parameter generation means for generating a second wireless parameter to be used in wireless communication by the second wireless communication system from the specific information received by the specific information receiving means, based on a predetermined processing procedure;
Switching means for switching the wireless communication performed by the wireless communication means to wireless communication by the second wireless communication method using the second wireless parameter generated by the wireless parameter generating means;
Request accepting means for accepting a request for the first wireless parameter from the wireless communication device via wireless communication by a second wireless communication method using the second wireless parameter;
An information processing apparatus comprising: a wireless parameter transmission unit configured to transmit the first wireless parameter to the wireless communication device in response to a request received by the request reception unit.
前記要求受付手段は、
前記無線通信装置からの前記要求に応答して前記第1の無線パラメータを該無線通信装置に送信する処理を行っている場合は、他の無線通信装置からの該要求の受け付けを拒否する
ことを特徴とする請求項1記載の情報処理装置。
The request receiving means includes
If processing for transmitting the first wireless parameter to the wireless communication device in response to the request from the wireless communication device is performed, acceptance of the request from another wireless communication device is rejected. The information processing apparatus according to claim 1.
無線基地局との間で通信を行う第1の無線通信方式と、該基地局を介さない装置間で通信を行う第2の無線通信方式とによって無線通信を行う無線通信手段と、
情報処理装置に入力する特定情報を受け付ける特定情報受付手段と、
前記特定情報受付手段で受け付けた特定情報から前記第2の無線通信方式による無線通信で利用する第2の無線パラメータを所定の処理手順に基づいて生成する無線パラメータ生成手段と、
前記無線通信手段で行う無線通信を前記無線パラメータ生成手段で生成した第2の無線パラメータを利用した第2の無線通信方式による無線通信に切り替える切替手段と、
前記第2の無線パラメータを利用した第2の無線通信方式による無線通信を介して前記情報処理装置から前記第1の無線通信方式による無線通信で利用する第1の無線パラメータ取得する無線パラメータ取得手段と
を具備することを特徴とする無線通信装置。
Wireless communication means for performing wireless communication by a first wireless communication method for communicating with a wireless base station and a second wireless communication method for performing communication between devices not via the base station;
Specific information receiving means for receiving specific information input to the information processing apparatus;
Wireless parameter generation means for generating a second wireless parameter to be used in wireless communication by the second wireless communication system from the specific information received by the specific information receiving means, based on a predetermined processing procedure;
Switching means for switching the wireless communication performed by the wireless communication means to wireless communication by the second wireless communication method using the second wireless parameter generated by the wireless parameter generating means;
Wireless parameter acquisition means for acquiring a first wireless parameter used in wireless communication by the first wireless communication method from the information processing apparatus via wireless communication by a second wireless communication method using the second wireless parameter A wireless communication apparatus comprising:
前記無線パラメータ取得手段による前記第1の無線パラメータの取得が開始される際に該取得の開始を示す信号を同報送信し、該取得が終了した際に該取得の終了を示す信号を同報送信する信号送信手段と
他の無線通信装置から同報送信された開始信号または終了信号を受信する信号受信手段と
を更に具備し、
前記無線パラメータ取得手段は、
前記信号受信手段で前記開始信号を受信した場合は、前記終了信号を受信するまで前記第1の無線パラメータの取得を行わない
ことを特徴とする請求項3記載の無線通信装置。
When acquisition of the first wireless parameter by the wireless parameter acquisition unit is started, a signal indicating the start of the acquisition is broadcast and when the acquisition ends, a signal indicating the end of the acquisition is broadcast. Signal transmitting means for transmitting, and signal receiving means for receiving a start signal or an end signal broadcast from another wireless communication device,
The wireless parameter acquisition means includes
The wireless communication apparatus according to claim 3, wherein when the start signal is received by the signal receiving unit, the first wireless parameter is not acquired until the end signal is received.
無線基地局との間で通信を行う第1の無線通信方式と、該基地局を介さない装置間で通信を行う第2の無線通信方式とによって無線通信を行う無線通信手段と、
前記第1の無線通信方式による無線通信で利用する第1の無線パラメータを記憶する無線パラメータ記憶手段と、
無線通信装置に入力する特定情報を受け付ける特定情報受付手段と、
前記特定情報受付手段で受け付けた特定情報から前記第2の無線通信方式による無線通信で利用する第2の無線パラメータを所定の処理手順に基づいて生成する無線パラメータ生成手段と、
前記無線通信手段で行う無線通信を前記第1の無線パラメータ生成手段で生成した第2の無線パラメータを利用した第2の無線通信方式による無線通信に切り替える切替手段と、
前記第2の無線パラメータを利用した第2の無線通信方式による無線通信を介して前記無線通信装置からの前記第1の無線パラメータの要求を受け付ける要求受付手段と、
前記要求受付手段で受け付けた要求に応答して前記第1の無線パラメータを前記無線通信装置に送信する無線パラメータ送信手段と
を具備する情報処理装置と、
前記第1の無線通信方式と、前記第2の無線通信方式とによって無線通信を行う無線通信手段と、
前記情報処理装置に入力する特定情報を受け付ける特定情報受付手段と、
前記特定情報受付手段で受け付けた特定情報から前記第2の無線パラメータを前記所定の処理手順に基づいて生成する無線パラメータ生成手段と、
前記無線通信手段で行う無線通信を前記無線パラメータ生成手段で生成した第2の無線パラメータを利用した第2の無線通信方式による無線通信に切り替える切替手段と、
前記第2の無線パラメータを利用した第2の無線通信方式による無線通信を介して前記情報処理装置から前記第1の無線通信方式による無線通信で利用する第1の無線パラメータ取得する無線パラメータ取得手段と
を具備する少なくとも1つの無線通信装置と
を具備することを特徴とする無線通信システム。
Wireless communication means for performing wireless communication by a first wireless communication method for communicating with a wireless base station and a second wireless communication method for performing communication between devices not via the base station;
Wireless parameter storage means for storing a first wireless parameter used in wireless communication by the first wireless communication method;
Specific information receiving means for receiving specific information input to the wireless communication device;
Wireless parameter generation means for generating a second wireless parameter to be used in wireless communication by the second wireless communication system from the specific information received by the specific information receiving means, based on a predetermined processing procedure;
Switching means for switching the wireless communication performed by the wireless communication means to wireless communication by a second wireless communication method using the second wireless parameter generated by the first wireless parameter generating means;
Request accepting means for accepting a request for the first wireless parameter from the wireless communication device via wireless communication by a second wireless communication method using the second wireless parameter;
An information processing apparatus comprising: wireless parameter transmission means for transmitting the first wireless parameter to the wireless communication apparatus in response to a request received by the request reception means;
Wireless communication means for performing wireless communication according to the first wireless communication method and the second wireless communication method;
Specific information receiving means for receiving specific information input to the information processing apparatus;
Wireless parameter generation means for generating the second wireless parameter from the specific information received by the specific information reception means based on the predetermined processing procedure;
Switching means for switching the wireless communication performed by the wireless communication means to wireless communication by the second wireless communication method using the second wireless parameter generated by the wireless parameter generating means;
Wireless parameter acquisition means for acquiring a first wireless parameter used in wireless communication by the first wireless communication method from the information processing apparatus via wireless communication by a second wireless communication method using the second wireless parameter A wireless communication system, comprising: at least one wireless communication device including:
前記要求受付手段は、
前記無線通信装置からの前記要求に応答して前記第1の無線パラメータを該無線通信装置に送信する処理を行っている場合は、他の無線通信装置からの該要求の受け付けを拒否する
ことを特徴とする請求項5記載の無線通信システム。
The request receiving means includes
If processing for transmitting the first wireless parameter to the wireless communication device in response to the request from the wireless communication device is performed, acceptance of the request from another wireless communication device is rejected. The wireless communication system according to claim 5, wherein:
前記無線通信装置は、
前記無線パラメータ取得手段による前記第1の無線パラメータの取得が開始される際に該取得の開始を示す信号を同報送信し、該取得が終了した際に該取得の終了を示す信号を同報送信する信号送信手段と、
他の無線通信装置から同報送信された開始信号または終了信号を受信する信号受信手段と
を更に具備し、
前記無線パラメータ取得手段は、
前記信号受信手段で前記開始信号を受信した場合は、前記終了信号を受信するまで前記第1の無線パラメータの取得を行わない
ことを特徴とする請求項5記載の無線通信システム。
The wireless communication device
When acquisition of the first wireless parameter by the wireless parameter acquisition unit is started, a signal indicating the start of the acquisition is broadcast and when the acquisition ends, a signal indicating the end of the acquisition is broadcast. A signal transmission means for transmitting;
Signal receiving means for receiving a start signal or an end signal broadcast from another wireless communication device; and
The wireless parameter acquisition means includes
The wireless communication system according to claim 5, wherein when the start signal is received by the signal receiving unit, the first wireless parameter is not acquired until the end signal is received.
無線基地局との間で通信を行う第1の無線通信方式と、該基地局を介さない装置間で通信を行う第2の無線通信方式とによって無線通信を行う無線通信部と、該第1の無線通信方式による無線通信で利用する第1の無線パラメータを記憶する無線パラメータ記憶部とを備えたコンピュータに、
無線通信装置に入力する特定情報を受け付ける特定情報受付機能と、
前記特定情報受付機能で受け付けた特定情報から前記第2の無線通信方式による無線通信で利用する第2の無線パラメータを所定の処理手順に基づいて生成する無線パラメータ生成機能と、
前記無線通信部で行う無線通信を前記無線パラメータ生成機能で生成した第2の無線パラメータを利用した第2の無線通信方式による無線通信に切り替える切替機能と、
前記第2の無線パラメータを利用した第2の無線通信方式による無線通信を介して前記無線通信装置からの前記第1の無線パラメータの要求を受け付ける要求受付機能と、
前記要求受付機能で受け付けた要求に応答して前記第1の無線パラメータを前記無線通信装置に送信する無線パラメータ送信機能と
を実現させることを特徴とする無線設定プログラム。
A wireless communication unit that performs wireless communication using a first wireless communication method that performs communication with a wireless base station and a second wireless communication method that performs communication between devices not via the base station; A computer including a wireless parameter storage unit that stores a first wireless parameter used in wireless communication of the wireless communication method;
A specific information receiving function for receiving specific information input to the wireless communication device;
A wireless parameter generation function for generating, based on a predetermined processing procedure, a second wireless parameter used in wireless communication by the second wireless communication method from the specific information received by the specific information reception function;
A switching function for switching the wireless communication performed by the wireless communication unit to wireless communication by the second wireless communication method using the second wireless parameter generated by the wireless parameter generating function;
A request receiving function for receiving a request for the first wireless parameter from the wireless communication device via wireless communication by a second wireless communication method using the second wireless parameter;
A wireless parameter transmission function that realizes a wireless parameter transmission function for transmitting the first wireless parameter to the wireless communication device in response to a request received by the request reception function.
前記要求受付機能は、
前記無線通信装置からの前記要求に応答して前記第1の無線パラメータを該無線通信装置に送信する処理を行っている場合は、他の無線通信装置からの該要求の受け付けを拒否する
ことを特徴とする請求項8記載の無線設定プログラム。
The request reception function is:
If processing for transmitting the first wireless parameter to the wireless communication device in response to the request from the wireless communication device is performed, acceptance of the request from another wireless communication device is rejected. The wireless setting program according to claim 8, characterized in that:
JP2007004560A 2007-01-12 2007-01-12 Information processing apparatus, wireless communication apparatus, wireless communication system, and wireless setting program Pending JP2008172588A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007004560A JP2008172588A (en) 2007-01-12 2007-01-12 Information processing apparatus, wireless communication apparatus, wireless communication system, and wireless setting program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007004560A JP2008172588A (en) 2007-01-12 2007-01-12 Information processing apparatus, wireless communication apparatus, wireless communication system, and wireless setting program

Publications (1)

Publication Number Publication Date
JP2008172588A true JP2008172588A (en) 2008-07-24

Family

ID=39700252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007004560A Pending JP2008172588A (en) 2007-01-12 2007-01-12 Information processing apparatus, wireless communication apparatus, wireless communication system, and wireless setting program

Country Status (1)

Country Link
JP (1) JP2008172588A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010086250A (en) * 2008-09-30 2010-04-15 Brother Ind Ltd Electronic apparatus
JP2010093743A (en) * 2008-10-10 2010-04-22 Sony Corp Wireless communication method
JP2012227970A (en) * 2012-08-10 2012-11-15 Yamaha Corp Wireless network system
JP2013135326A (en) * 2011-12-26 2013-07-08 Nikon Corp Imaging device, system, electronic apparatus and program
JP2016036190A (en) * 2015-12-17 2016-03-17 ブラザー工業株式会社 Communication device
US9369945B2 (en) 2009-01-07 2016-06-14 Yamaha Corporation Wireless network system and wireless communication method for switching a wireless network mode
JP2017060117A (en) * 2015-09-18 2017-03-23 ブラザー工業株式会社 Communication equipment

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010086250A (en) * 2008-09-30 2010-04-15 Brother Ind Ltd Electronic apparatus
JP2010093743A (en) * 2008-10-10 2010-04-22 Sony Corp Wireless communication method
US8279819B2 (en) 2008-10-10 2012-10-02 Sony Corporation Wireless communication method
US8923231B2 (en) 2008-10-10 2014-12-30 Sony Corporation Wireless communication method
US9369945B2 (en) 2009-01-07 2016-06-14 Yamaha Corporation Wireless network system and wireless communication method for switching a wireless network mode
US11115853B2 (en) 2009-01-07 2021-09-07 Yamaha Corporation Wireless network system and wireless communication method
JP2013135326A (en) * 2011-12-26 2013-07-08 Nikon Corp Imaging device, system, electronic apparatus and program
JP2012227970A (en) * 2012-08-10 2012-11-15 Yamaha Corp Wireless network system
JP2017060117A (en) * 2015-09-18 2017-03-23 ブラザー工業株式会社 Communication equipment
JP2016036190A (en) * 2015-12-17 2016-03-17 ブラザー工業株式会社 Communication device

Similar Documents

Publication Publication Date Title
US9924355B2 (en) System, communication apparatus, communication method, and storage medium storing program
JP2008172588A (en) Information processing apparatus, wireless communication apparatus, wireless communication system, and wireless setting program
JP6541715B2 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD, AND PROGRAM
JP2023071730A (en) Program, information processing device, and communication system
JP6444067B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP2016197379A (en) Portable terminal, program, and communication system
JP7690544B2 (en) Information processing device, communication device, control method, and program
JP2015115925A (en) Printer and printing system
JP7559141B2 (en) Information processing device, control method, and program
JP6512875B2 (en) Communication device, control method of communication device, and program
JP6341786B2 (en) Printing apparatus, printing apparatus control method, program, and printing system
CN101069385B (en) Wireless communication device and control method thereof
JP2020088581A (en) Information processing device, control method, and program
JP4978604B2 (en) Wireless communication apparatus, connection method and program
JP7661413B2 (en) Information processing device, control method, and program
JP7696951B2 (en) Information processing device, control method, and program
JP2024175277A (en) Information processing device, control method, and program
JP6282434B2 (en) Device control apparatus, control method therefor, and device control system
JP7059227B2 (en) Information processing equipment, control methods and programs
JP6743918B2 (en) Image forming system, mobile terminal and program
JP2023164084A (en) Programs, systems and methods
JP6493605B2 (en) Image forming system, portable terminal and program
JP2023034115A (en) Information processing device, control method thereof, and program
JP4479494B2 (en) Document processing system
JP2022054900A (en) Communication device, control method, and program