JP6635978B2 - Program, communication method, and communication system - Google Patents

Program, communication method, and communication system Download PDF

Info

Publication number
JP6635978B2
JP6635978B2 JP2017094858A JP2017094858A JP6635978B2 JP 6635978 B2 JP6635978 B2 JP 6635978B2 JP 2017094858 A JP2017094858 A JP 2017094858A JP 2017094858 A JP2017094858 A JP 2017094858A JP 6635978 B2 JP6635978 B2 JP 6635978B2
Authority
JP
Japan
Prior art keywords
access point
information
connection
communication
communication device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017094858A
Other languages
Japanese (ja)
Other versions
JP2018191252A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2017094858A priority Critical patent/JP6635978B2/en
Priority to EP18169606.3A priority patent/EP3402248B1/en
Priority to EP22210317.8A priority patent/EP4181575A1/en
Priority to EP20201056.7A priority patent/EP3793262B1/en
Priority to US15/971,764 priority patent/US10708959B2/en
Priority to CN201810442229.9A priority patent/CN108882343B/en
Priority to CN202210049504.7A priority patent/CN114205890A/en
Priority to KR1020180053535A priority patent/KR102326224B1/en
Publication of JP2018191252A publication Critical patent/JP2018191252A/en
Application granted granted Critical
Publication of JP6635978B2 publication Critical patent/JP6635978B2/en
Priority to US16/878,489 priority patent/US11432145B2/en
Priority to US17/865,795 priority patent/US20220353681A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1218Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources
    • G06F3/122Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources with regard to computing resources, e.g. memory, CPU
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1222Increasing security of the print job
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1229Printer resources management or printer maintenance, e.g. device status, power levels
    • G06F3/1231Device related settings, e.g. IP address, Name, Identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1238Secure printing, e.g. user identification, user rights for device usage, unallowed content, blanking portions or fields of a page, releasing held jobs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Description

本発明は、通信機器と無線通信を行う情報処理装置により実行されるプログラムに関する。   The present invention relates to a program executed by an information processing device that performs wireless communication with a communication device.

インターネットに接続されたLAN(ローカルエリアネットワーク)を介して複数の情報処理装置(以降PCと称す)で通信機器としてのプリンタ等の機器を共有する技術がある。また、LANが無線ネットワークで構築される場合があり、この場合、有線ネットワークと比べて、機器の設置場所を選ばないという利便性がある。しかし、プリンタ等の機器を無線ネットワークに参加させるための設定がユーザとって困難となる場合がある。   There is a technique in which a plurality of information processing apparatuses (hereinafter, referred to as PCs) share a device such as a printer as a communication device via a LAN (local area network) connected to the Internet. In some cases, a LAN is constructed by a wireless network. In this case, there is a convenience that a device can be installed in any place compared to a wired network. However, setting for making a device such as a printer participate in a wireless network may be difficult for a user.

特許文献1には、既に構築されたLANにプリンタを容易に参加させるための技術として、以下の記載がある。PCとプリンタが、USB(Universal Serial Bus)ケーブル接続によってPeer to Peer接続される。そして、特定のアクセスポイントにプリンタを接続させるための情報を、PCがUSBケーブルを介してプリンタに送信することが記載されている。   Patent Literature 1 discloses the following technology as a technique for making a printer easily participate in an already constructed LAN. The PC and the printer are connected in a Peer-to-Peer connection by a USB (Universal Serial Bus) cable connection. It describes that the PC transmits information for connecting the printer to a specific access point to the printer via a USB cable.

特許第4378323号公報Japanese Patent No. 4378323

プリンタ等の機器が接続のための情報を用いて特定のアクセスポイントに接続しようとした場合、その情報が有効でないことがある。この場合、特許文献1における上記の記載のように、PC等の情報処理装置がその情報をプリンタ等の機器に送信して、その機器を該アクセスポイントへ接続させようとしたとしても、その機器が接続に失敗してしまうことがある。この場合、プリンタ等の機器が特定のアクセスポイントとの接続を試みた処理が無駄になってしまうことが起こりうる。   When a device such as a printer attempts to connect to a specific access point using information for connection, the information may not be valid. In this case, as described above in Patent Document 1, even if an information processing device such as a PC transmits the information to a device such as a printer and attempts to connect the device to the access point, the device is May fail to connect. In this case, a process in which a device such as a printer attempts to connect to a specific access point may be wasted.

上記の課題を鑑みて本発明は、情報処理装置が通信機器をアクセスポイントに接続させる場合に、その通信機器がアクセスポイントとの接続に失敗するケースを低減させることを目的とする。   In view of the above problems, an object of the present invention is to reduce a case where a communication device fails to connect to an access point when the information processing device connects the communication device to the access point.

通信機器と無線通信を行う情報処理装置により実行されるプログラムであって、所定のアクセスポイントの特定情報を、前記所定のアクセスポイントを介さない所定の通信により前記通信機器から受信する受信工程と、前記所定のアクセスポイントに関する認証処理で用いられる所定の認証情報として、ユーザによる操作により認証情報を入力する入力工程と、前記受信工程において受信された特定情報と前記入力工程において入力された認証情報に基づき、前記所定のアクセスポイントとの接続のための接続処理を実行する実行工程と、前記実行工程における接続処理により前記入力された認証情報を用いた前記認証処理が実行され、且つ前記所定のアクセスポイントとの接続が成功したことに基づいて、前記入力された認証情報を、前記所定の通信により前記通信機器に送信する送信工程と、を前記情報処理装置に実行させ、前記送信工程では、前記所定のアクセスポイントとの接続が成功しなかった場合、前記入力された認証情報を、前記所定の通信により前記通信機器に送信せず、前記通信機器は、前記送信工程において前記認証情報が送信されたことに基づいて、前記認証情報を用いて前記所定のアクセスポイントと接続することを特徴とする。 A program executed by an information processing device performing wireless communication with a communication device, a receiving step of receiving specific information of a predetermined access point from the communication device by predetermined communication that does not pass through the predetermined access point, As the predetermined authentication information used in the authentication process for the predetermined access point, an input step of inputting authentication information by a user operation, and the specific information received in the receiving step and the authentication information input in the input step. An execution step of executing a connection process for connection with the predetermined access point, and the authentication process using the input authentication information is performed by the connection process in the execution step, and the predetermined access is performed. based on the connection with the point is successful, the authentication information said input, said A transmission step for transmitting to the constant said communications device by communicating, to the execution to the information processing apparatus, wherein the transmitting step, if the connection to the predetermined access point is not successful, the authentication information the input Not transmitting to the communication device by the predetermined communication, the communication device being connected to the predetermined access point using the authentication information based on the transmission of the authentication information in the transmitting step. It is characterized by.

本発明によれば、情報処理装置が通信機器をアクセスポイントに接続させる場合に、その通信機器がアクセスポイントとの接続に失敗するケースを低減させることができる。   ADVANTAGE OF THE INVENTION According to this invention, when an information processing apparatus connects a communication apparatus to an access point, the case where the communication apparatus fails to connect with an access point can be reduced.

本実施形態におけるシステム構成を説明するための図である。FIG. 2 is a diagram illustrating a system configuration according to the embodiment. 本実施形態におけるPCとプリンタの構成図である。FIG. 2 is a configuration diagram of a PC and a printer according to the embodiment. PCが指示した無線設定をプリンタが実行する処理の一例を示すフローチャートである。9 is a flowchart illustrating an example of a process in which a printer executes a wireless setting instructed by a PC. PCから事前に接続確認を行う処理の一例を示すフローチャートである。9 is a flowchart illustrating an example of a process of performing a connection check in advance from a PC. アクセスポイントの選択を行うための画面の一例を示す図である。It is a figure showing an example of a screen for performing selection of an access point. PCで表示される各種メッセージ画面を示す図である。It is a figure showing various message screens displayed on PC. PCでSSIDの存在確認を行う処理の一例を示すフローチャートである。11 is a flowchart illustrating an example of a process of performing SSID presence confirmation on a PC. PCでSSID設定情報確認を行う処理の一例を示すフローチャートである。9 is a flowchart illustrating an example of a process for confirming SSID setting information on a PC. PCでプリンタのスペックの確認を行う処理の一例を示すフローチャートである。9 is a flowchart illustrating an example of a process for checking the specifications of a printer on a PC.

以下、添付図面を参照して本発明の実施形態を説明する。尚、以下の実施形態は特許請求の範囲に係る本発明を限定するものでなく、また本実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。以降、本実施形態における通信機器として、画像を印刷するプリンタを例に説明する。しかしこれに限らず、PC、スマートフォン、デジタルカメラ等の種々の機器について本実施形態における処理が適用されてもよい。また本実施形態における情報処理装置として、PCを例に説明する。しかしこれに限らず、スマートフォン、デジタルカメラ等の種々の機器について本実施形態における処理が適用されてもよい。   Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. The following embodiments do not limit the present invention according to the claims, and all combinations of features described in the present embodiments are not necessarily essential to the solution of the present invention. . Hereinafter, a printer that prints an image will be described as an example of the communication device in the present embodiment. However, the present invention is not limited to this, and the processing in the present embodiment may be applied to various devices such as a PC, a smartphone, and a digital camera. Further, a PC will be described as an example of the information processing apparatus in the present embodiment. However, the present invention is not limited to this, and the processing in the present embodiment may be applied to various devices such as a smartphone and a digital camera.

本実施形態では、PCがプリンタに対して、プリンタに接続させるアクセスポイントに関する情報をプリンタに送信し、プリンタを該アクセスポイントに接続させる。例えば、プリンタが接続可能なアクセスポイントのうち、PCが接続されていたアクセスポイントをPCが自動的に特定し、そのアクセスポイントに関する情報をプリンタに送信する。そして、プリンタがその情報を用いて該アクセスポイントに接続する。アクセスポイントに関する情報としては、アクセスポイントの特定情報(SSID等)や、アクセスポイントの認証処理で使用される認証情報(パスワード等)がある。   In the present embodiment, the PC transmits information about an access point to be connected to the printer to the printer, and connects the printer to the access point. For example, of the access points to which the printer can be connected, the PC automatically specifies the access point to which the PC was connected, and transmits information on the access point to the printer. Then, the printer connects to the access point using the information. The information regarding the access point includes identification information of the access point (such as SSID) and authentication information (such as a password) used in the authentication processing of the access point.

ただし、例えばPCが5GHzの周波数帯を用いるアクセスポイントと接続していた一方で、プリンタが2.4GHzの周波数帯での無線LAN通信のみサポートしている場合があるとする。このときプリンタに接続させるアクセスポイントの無線プロファイルはPCに保存されていない。そのため、この場合には、ユーザ所望のアクセスポイントについて、SSID、パスワードなどのアクセスポイントの情報をPC上でユーザに指定させる必要がある。   However, it is assumed that, for example, a PC is connected to an access point using a frequency band of 5 GHz, while a printer supports only wireless LAN communication in a frequency band of 2.4 GHz. At this time, the wireless profile of the access point to be connected to the printer is not stored in the PC. Therefore, in this case, it is necessary for the user to specify the access point information such as the SSID and the password on the PC for the access point desired by the user.

しかしながら、ユーザがパスワードなどの入力を間違えてしまった場合、パスワードを受け取ったプリンタはアクセスポイントとの接続が失敗し、接続エラーとなってしまう。そのため、ユーザはプリンタが接続エラーとなるのを待ってから、パスワードの入力間違いを認識することになる。またプリンタが接続エラーとなると、ユーザはプリンタに移動して、エラーを解除するための操作や、再度接続するためのプリンタの準備を行う必要がある。パスワードはセキュリティを確保するために複雑であることがあり、上記のように、ユーザが入力を間違えてしまうことは容易に起こり得る。   However, if the user makes a mistake in inputting a password or the like, the printer receiving the password fails to connect to the access point, resulting in a connection error. Therefore, the user waits for the connection error of the printer, and then recognizes the password input error. When a connection error occurs in the printer, the user needs to move to the printer and perform an operation for clearing the error and prepare the printer for connection again. The password may be complicated to ensure security, and it is easy for the user to make a mistake as described above.

そこで本実施形態では、ユーザにより入力されたSSID、パスワードをPCがプリンタに対して送信する前に、PCがそのSSID、パスワードを用いてアクセスポイントへの接続を試みる。そしてPCは、接続に成功したことに基づいて、そのSSID、パスワードをプリンタに通知する。また接続が失敗した場合、PCにおいてユーザに対してエラーが通知される。これにより、PCにおけるパスワードの入力間違い等が要因でプリンタがアクセスポイントとの接続が失敗し、接続エラーとなってしまうことができる。そのため、ユーザにプリンタでのエラー解除等の操作を行わせることを低減できるとともに、ユーザにより早くパスワードの入力間違い等のエラーを通知することができる。以下、本実施形態を詳細に説明する。   Therefore, in the present embodiment, before the PC transmits the SSID and password input by the user to the printer, the PC attempts to connect to the access point using the SSID and password. Then, the PC notifies the printer of the SSID and the password based on the successful connection. If the connection fails, the PC notifies the user of the error. As a result, the printer may fail to connect to the access point due to a password input error in the PC or the like, resulting in a connection error. Therefore, it is possible to reduce the need for the user to perform an operation such as error cancellation on the printer, and it is possible to notify the user of an error such as an incorrect password input earlier. Hereinafter, the present embodiment will be described in detail.

図1は、本実施形態におけるシステム構成を説明するための図である。本実施形態のシステムは、PCとプリンタ等の機器、また1または複数のアクセスポイントを含む。   FIG. 1 is a diagram for explaining a system configuration according to the present embodiment. The system of the present embodiment includes devices such as a PC and a printer, and one or more access points.

図1(a)では、PC100がアクセスポイント102のSSID1に無線LANで接続されている。また、プリンタ101もアクセスポイント102のSSID1と接続されている。つまり、PC100は、プリンタ101と、アクセスポイント102を介して通信可能な状態となっている。このようにアクセスポイントを介して接続する方法は、インフラストラクチャー接続(以降インフラ接続と称す)と呼ばれる。インフラ接続では、PCが二台以上の複数のデバイスと相互に通信可能なネットワーク環境を構築することができる。   In FIG. 1A, the PC 100 is connected to the SSID 1 of the access point 102 via a wireless LAN. The printer 101 is also connected to SSID1 of the access point 102. That is, the PC 100 is in a state where it can communicate with the printer 101 via the access point 102. Such a method of connecting via an access point is called an infrastructure connection (hereinafter, referred to as an infrastructure connection). In the infrastructure connection, it is possible to construct a network environment in which a PC can communicate with two or more devices.

一方、二台のデバイス間でのみ通信可能な無線Ad−hoc接続という接続方式が存在する。PC100とプリンタ101は無線Ad−hoc接続によりPeer to Peer接続(以降、P2P接続と称す)することも可能である。ただし、無線Ad−hoc接続をしている間、PC100もプリンタ101も、無線LANドングルを無線Ad−hoc接続で利用しているため、互いのデバイス以外のデバイスと通信ができなくなる。そのために無線Ad−hoc接続は一時的な接続として用いることが多い。   On the other hand, there is a connection method called a wireless Ad-hoc connection in which communication can be performed only between two devices. The PC 100 and the printer 101 can be connected in a Peer to Peer connection (hereinafter, referred to as a P2P connection) through a wireless Ad-hoc connection. However, during the wireless Ad-hoc connection, since both the PC 100 and the printer 101 use the wireless LAN dongle by the wireless Ad-hoc connection, it is impossible to communicate with devices other than the mutual devices. Therefore, the wireless Ad-hoc connection is often used as a temporary connection.

PC100は、プリンタ101を無線LAN接続でアクセスポイント102に接続させるための処理を行う。そのために、PC100は、無線Ad−hoc接続を用いてプリンタ101にネットワーク設定情報を送信することで、プリンタ101をアクセスポイント102に接続させる。   The PC 100 performs a process for connecting the printer 101 to the access point 102 through a wireless LAN connection. For this purpose, the PC 100 connects the printer 101 to the access point 102 by transmitting network setting information to the printer 101 using a wireless Ad-hoc connection.

図2は、PC100とプリンタ101を含む通信システムの構成図である。PC100は、CPU201とROM202、RAM206、表示装置207、入力インターフェース(I/F)208を有する。また、PC100は、USB I/F205、有線LAN I/F209、無線LAN I/F210を有する。ただし、PC100は、USB I/F205、有線LAN I/F209、無線LAN I/F210、のうち少なくとも一つを有していればよい。ROM202は、無線ネットワークの設定をプリンタに指示するための無線ネットワーク設定処理のプログラムを含む各種の処理に対応するプログラム203や後述する無線プロファイル204などを記憶している。上記の無線ネットワーク設定処理についての詳細は後述する。CPU201は、ROM202からのプログラム203をRAM206に読み出し、実行することで、上記の指示処理を含む各種の処理を実行することができる。また、ネットワーク設定処理のプログラム(アプリケーション等)がPC100にインストールされたときに、固有のSSIDもROM202に記憶される。この固有のSSIDは、例えばプリンタの製造者やプリンタ機種に対して一意に決められている。   FIG. 2 is a configuration diagram of a communication system including the PC 100 and the printer 101. The PC 100 has a CPU 201, a ROM 202, a RAM 206, a display device 207, and an input interface (I / F) 208. The PC 100 includes a USB I / F 205, a wired LAN I / F 209, and a wireless LAN I / F 210. However, the PC 100 only needs to have at least one of the USB I / F 205, the wired LAN I / F 209, and the wireless LAN I / F 210. The ROM 202 stores a program 203 corresponding to various processes including a program of a wireless network setting process for instructing the printer to set a wireless network, a wireless profile 204 described later, and the like. Details of the wireless network setting process will be described later. The CPU 201 reads out the program 203 from the ROM 202 to the RAM 206 and executes it, thereby executing various processes including the above-described instruction process. Further, when a network setting processing program (application or the like) is installed in the PC 100, a unique SSID is also stored in the ROM 202. This unique SSID is uniquely determined, for example, for a printer manufacturer or a printer model.

PC100は、USBケーブル220を介して、もしくは、無線Ad−hoc接続223を介して、プリンタ101とP2P通信可能である。また、PC100はEthernetケーブル224を介してLAN221に接続することも可能であり、プリンタ101もLAN221に接続できれば、同一のLAN221環境上でPC100とプリンタ101は相互に通信可能となる。さらに、PC100は無線LAN(インフラ接続)によってアクセスポイント222と接続し、アクセスポイント222がEthernetケーブル225を介してLAN221に接続することで、PC100はLAN221に接続可能となる。   The PC 100 can perform P2P communication with the printer 101 via the USB cable 220 or the wireless Ad-hoc connection 223. The PC 100 can be connected to the LAN 221 via the Ethernet cable 224. If the printer 101 can be connected to the LAN 221, the PC 100 and the printer 101 can communicate with each other on the same LAN 221 environment. Further, the PC 100 is connected to the access point 222 by a wireless LAN (infrastructure connection), and the access point 222 is connected to the LAN 221 via the Ethernet cable 225, so that the PC 100 can be connected to the LAN 221.

ここで、無線プロファイル204は、無線LAN I/F210で接続したアクセスポイント222の特定情報(SSID等)や、認証処理で用いられる認証情報(パスワード等)などを含む情報である。無線プロファイル204は、CPU201が、ROM202に含まれる不図示のOS(Operating System)を実行することで、記憶され又管理される。   Here, the wireless profile 204 is information including identification information (SSID and the like) of the access point 222 connected by the wireless LAN I / F 210 and authentication information (password and the like) used in the authentication processing. The wireless profile 204 is stored and managed by the CPU 201 executing an OS (Operating System) (not shown) included in the ROM 202.

プリンタ101は、CPU242、ROM243、RAM247、表示装置248、入力I/F249、印刷部250、USB I/F241、無線LAN I/F246を有する。ROM243は、プログラム244や無線プロファイル245などを記憶している。CPU242は、プログラム244をROM243からRAM247に読み出し、実行することで、プリンタ101による各種の制御を実行する。なお、プリンタ101は、USB I/F241を有していなくてもよい。   The printer 101 includes a CPU 242, a ROM 243, a RAM 247, a display device 248, an input I / F 249, a printing unit 250, a USB I / F 241, and a wireless LAN I / F 246. The ROM 243 stores a program 244, a wireless profile 245, and the like. The CPU 242 reads out the program 244 from the ROM 243 to the RAM 247 and executes it to execute various controls by the printer 101. Note that the printer 101 need not have the USB I / F 241.

プリンタ101は、USBケーブル220を介して、もしくは、無線Ad−hoc接続223を介して、PC100とP2P通信可能である。また、プリンタ101は無線LAN(インフラ接続)によってアクセスポイント222と接続し、アクセスポイント222がEthernetケーブル225を介してLAN221に接続することで、プリンタ101はLAN221に接続可能となる。ここで、無線プロファイル245は、無線LAN I/F246で接続したアクセスポイント222のSSIDや認証情報(パスワード等)などの設定を含む情報である。無線プロファイル245は、CPU242がROM243に含まれるプログラム244を実行することで、記憶され又管理される。   The printer 101 can perform P2P communication with the PC 100 via the USB cable 220 or the wireless Ad-hoc connection 223. The printer 101 is connected to the access point 222 via a wireless LAN (infrastructure connection), and the access point 222 is connected to the LAN 221 via the Ethernet cable 225, so that the printer 101 can be connected to the LAN 221. Here, the wireless profile 245 is information including settings such as an SSID and authentication information (such as a password) of the access point 222 connected by the wireless LAN I / F 246. The wireless profile 245 is stored and managed by the CPU 242 executing the program 244 included in the ROM 243.

また、ROM243には、PC100のROM202に記憶される上記の固有のSSIDも記憶される。そして、プリンタ101の無線LAN I/F246は、この固有のSSIDに対応するアクセスポイントとして動作することが可能である。   The unique SSID stored in the ROM 202 of the PC 100 is also stored in the ROM 243. The wireless LAN I / F 246 of the printer 101 can operate as an access point corresponding to the unique SSID.

本実施形態における無線Ad−hoc接続223によるP2P通信は、アクセスポイントが用いられない通信方法でもよいし、PC100またはプリンタ101がアクセスポイントとして動作する方法でもよい。例えば、無線LAN I/F246が、上記の固有のSSIDに対応するアクセスポイントとして動作する。この場合、無線LAN I/F210が、固有のSSIDに対応するアクセスポイントとしての無線LAN I/F246と接続される。この方法によれば、PC100は、外部のアクセスポイント222と同様の接続処理によりプリンタ101とのダイレクト接続が可能である。そのため、アクセスポイントを介さないAd−hoc接続のための処理をPC100が実行できない場合でも、プリンタ101とのP2P通信が可能となる。   The P2P communication by the wireless Ad-hoc connection 223 in this embodiment may be a communication method in which an access point is not used, or a method in which the PC 100 or the printer 101 operates as an access point. For example, the wireless LAN I / F 246 operates as an access point corresponding to the unique SSID. In this case, the wireless LAN I / F 210 is connected to the wireless LAN I / F 246 as an access point corresponding to the unique SSID. According to this method, the PC 100 can be directly connected to the printer 101 by the same connection processing as that of the external access point 222. Therefore, even when the PC 100 cannot execute the process for the Ad-hoc connection without going through the access point, the P2P communication with the printer 101 becomes possible.

図2では例としてPC100とプリンタ101の処理分担を上記のように示したが、特にこの分担形態限らず他の形態であっても構わない。   In FIG. 2, the processing sharing between the PC 100 and the printer 101 is shown as an example as described above. However, the present invention is not limited to this sharing mode, and another mode may be used.

なお、本実施形態のプリンタ101では、表示装置248による表示にしたがって、ユーザが、プリンタ101を所望のアクセスポイントに接続させるための操作を行うことができる。例えばユーザは、所望のアクセスポイントに対応するSSIDやパスワードの入力をプリンタ101の表示装置248で行うことで、プリンタ101を該アクセスポイントに接続させることができる。   In the printer 101 according to the present embodiment, the user can perform an operation for connecting the printer 101 to a desired access point according to the display on the display device 248. For example, the user can connect the printer 101 to the desired access point by inputting the SSID and password corresponding to the desired access point on the display device 248 of the printer 101.

ただし、プリンタ101の表示装置248は、小型のLCDディスプレイまたはセグメント表示液晶、LEDで点滅表示など、プリンタ101の種類によって様々な形態が存在する。例えばプリンタ101の表示装置248がLEDで点滅表示を行うのみである場合、十分な表現が可能であるLCDディスプレイである場合に比べて、プリンタ101を所望のアクセスポイントに接続させるための操作が困難となることがある。   However, the display device 248 of the printer 101 has various forms depending on the type of the printer 101, such as a small LCD display, a segment display liquid crystal, and blinking display using an LED. For example, when the display device 248 of the printer 101 only performs blinking display using the LED, it is more difficult to operate the printer 101 to connect to a desired access point than when the LCD device is capable of sufficiently expressing. It may be.

そこで本実施形態では、PC100がプリンタ101に対して、プリンタ101を所定のアクセスポイントに接続させるための無線ネットワーク設定処理を行う。これにより、例えばプリンタ101での操作に不慣れなユーザにとっては、プリンタ101を容易に所望のアクセスポイントに接続させることができる。特に、上記のように表示装置248において、プリンタ101を所望のアクセスポイントに接続させるための操作を行うことが困難な場合、ユーザは、PC100のディスプレイによる表示にしたがって、容易に操作を行うことができる。   Therefore, in the present embodiment, the PC 100 performs a wireless network setting process for the printer 101 to connect the printer 101 to a predetermined access point. Thus, for example, a user who is not accustomed to operating the printer 101 can easily connect the printer 101 to a desired access point. In particular, when it is difficult to perform an operation for connecting the printer 101 to a desired access point on the display device 248 as described above, the user can easily perform the operation according to the display on the display of the PC 100. it can.

しかしながら、PC100が無線ネットワーク設定処理を行った結果、プリンタ101が該アクセスポイントに接続できない場合がある。例えばその所定のアクセスポイントのSSIDが5GHzの周波数帯を用いているが、プリンタ101が2.4GHzの周波数帯しかサポートしていない場合、その所定のアクセスポイントにプリンタ101が接続できないことがある。この場合、PC100がプリンタ101に対して行った無線ネットワーク設定処理や、プリンタ101がアクセスポイントに接続を試みた処理が無駄となってしまう。   However, as a result of the PC 100 performing the wireless network setting processing, the printer 101 may not be able to connect to the access point. For example, when the SSID of the predetermined access point uses the frequency band of 5 GHz, but the printer 101 supports only the frequency band of 2.4 GHz, the printer 101 may not be able to connect to the predetermined access point. In this case, the wireless network setting process performed by the PC 100 on the printer 101 and the process of the printer 101 attempting to connect to the access point become useless.

そこで本実施形態では、PC100がプリンタ101を所定のアクセスポイントに接続させる際に、PC100は、プリンタ101が該所定のアクセスポイントに接続可能であるかを事前に判定する。そして、PC100は、プリンタ101が接続可能であると判定してから、プリンタ101を所定のアクセスポイントに接続させるための無線ネットワーク設定処理を行う。以下、詳細に説明する。   Therefore, in the present embodiment, when the PC 100 connects the printer 101 to a predetermined access point, the PC 100 determines in advance whether the printer 101 can connect to the predetermined access point. Then, after determining that the printer 101 can be connected, the PC 100 performs a wireless network setting process for connecting the printer 101 to a predetermined access point. The details will be described below.

図3は、PCが指示した無線設定をプリンタが実行する処理の一例を示すフローチャートである。PC100による処理は、CPU201がプログラム203を実行することで実現され、同様にプリンタ101による処理は、CPU242がプログラム244を実行することで実現される。プリンタ101の無線設定をPC100から指示する手法が存在し、図3はその手法の処理の流れを説明するものである。なお、ここではPC100が外部のアクセスポイント102と既に接続されており、アクセスポイント102のSSIDパスワードが無線プロファイル204に記憶されているものとする。   FIG. 3 is a flowchart illustrating an example of a process in which the printer executes the wireless setting instructed by the PC. The processing by the PC 100 is realized by the CPU 201 executing the program 203, and the processing by the printer 101 is similarly realized by the CPU 242 executing the program 244. There is a method for instructing the wireless setting of the printer 101 from the PC 100, and FIG. 3 illustrates the flow of the processing of the method. Here, it is assumed that the PC 100 is already connected to the external access point 102 and the SSID password of the access point 102 is stored in the wireless profile 204.

PC100においてプログラム203に含まれているネットワーク設定処理のプログラム(アプリケーション等)により、表示装置207に所定の画面が表示される。その画面においてユーザがPC100をプリンタに接続させるための所定の指示を行うことで、PC100は、無線設定指示のための処理を開始する(S300)。まずPC100は、アクセスポイント102との無線接続を切断する(S301)。次にPC100は、後述する無線設定モードになっているプリンタ101を検索(S302)し、検出結果を判断する(S303)。具体的には、上記の固有のSSIDに対応するアクセスポイントを探索し、その探索に成功したかが判断される。S303において、無線設定モードになっているプリンタを検出した(固有のSSIDのアクセスポイントが検出した)と判断された場合、PC100はプリンタ101と無線Ad−hoc接続を行う(S304)。具体的には、PC100は、無線LAN I/F210を固有のSSIDのアクセスポイントに接続する。   In the PC 100, a predetermined screen is displayed on the display device 207 by a network setting processing program (application or the like) included in the program 203. When the user gives a predetermined instruction on the screen to connect PC 100 to the printer, PC 100 starts a process for wireless setting instruction (S300). First, the PC 100 disconnects the wireless connection with the access point 102 (S301). Next, the PC 100 searches for the printer 101 in the wireless setting mode described later (S302), and determines the detection result (S303). Specifically, an access point corresponding to the unique SSID is searched, and it is determined whether the search is successful. If it is determined in S303 that the printer in the wireless setting mode has been detected (the access point of the unique SSID has been detected), the PC 100 establishes a wireless Ad-hoc connection with the printer 101 (S304). Specifically, the PC 100 connects the wireless LAN I / F 210 to an access point with a unique SSID.

次にPC100は、プリンタ101に対して情報取得要求を行い、プリンタ101からその応答を得ることで、SSIDリストを受信する(S305)。このSSIDリストは、プリンタ101がサーチしたアクセスポイントを示す。詳細は後述する。またS305でPC100は、プリンタ101の識別情報(MACアドレス等)もプリンタ101から受信する。   Next, the PC 100 issues an information acquisition request to the printer 101 and receives a response from the printer 101, thereby receiving the SSID list (S305). This SSID list indicates the access points searched by the printer 101. Details will be described later. In step S <b> 305, the PC 100 also receives the identification information (such as the MAC address) of the printer 101 from the printer 101.

次にPC100は無線プロファイル204を参照し(S306)、図3に示す処理開始時に接続しており且つS301で無線接続が切断されたアクセスポイント102のSSIDを含む無線プロファイルを取得する。PC100は、S306で取得されたアクセスポイント102のSSIDが、S305で得られたSSIDリストに含まれるかを確認する(S307)。本実施形態では、S307における処理を、事前確認処理1と呼ぶ。   Next, the PC 100 refers to the wireless profile 204 (S306), and acquires a wireless profile including the SSID of the access point 102 connected at the start of the process illustrated in FIG. 3 and disconnected in S301. The PC 100 checks whether the SSID of the access point 102 obtained in S306 is included in the SSID list obtained in S305 (S307). In the present embodiment, the process in S307 is referred to as a prior confirmation process 1.

PC100は、S307における事前確認処理1の結果、プリンタ101を所定のアクセスポイントに接続させるか判断する(S308)。S308では、S307においてアクセスポイント102のSSIDがSSIDリストに存在することが確認された場合、プリンタ101を所定のアクセスポイントに接続させると判断される。S308において、プリンタ101を所定のアクセスポイントに接続させると判断された場合、PC100は、プリンタ101に無線設定を指示する情報を送信する(S309)。具体的には、S309においてPC100は、アクセスポイント102の無線プロファイル(SSIDとパスワードを含む)をプリンタ101に送信する。次にPC100は、プリンタ101との無線Ad−hoc接続を切断し、アクセスポイント102と再び接続する(S310)。PC100内のROM202にアクセスポイント102の無線プロファイル204が保存されているため、S310でPC100は、ユーザによるパスワード等の再入力を必要とせずにアクセスポインと102に再接続を行うことができる。   The PC 100 determines whether or not to connect the printer 101 to a predetermined access point as a result of the preliminary confirmation processing 1 in S307 (S308). In S308, if it is confirmed in S307 that the SSID of the access point 102 exists in the SSID list, it is determined that the printer 101 is to be connected to a predetermined access point. If it is determined in S308 that the printer 101 is to be connected to a predetermined access point, the PC 100 transmits information for instructing wireless setting to the printer 101 (S309). Specifically, in step S309, the PC 100 transmits the wireless profile (including the SSID and the password) of the access point 102 to the printer 101. Next, the PC 100 disconnects the wireless Ad-hoc connection with the printer 101 and reconnects with the access point 102 (S310). Since the wireless profile 204 of the access point 102 is stored in the ROM 202 in the PC 100, the PC 100 can reconnect to the access point and 102 without requiring the user to re-enter a password or the like in S310.

次に、PC100は、無線Ad−hoc接続で一時的に残った無線プロファイルが存在する場合はそれを削除する(S311)。S311における処理は、ユーザの意図しない接続の無線プロファイルが残ることを避けるため行われる。その後PC100は、アクセスポイント102経由のインフラ接続で、プリンタ101を探索し(S312)、プリンタ101が検出できたかを判断する(S313)。具体的には、S312においてPC100は、アクセスポイント102に接続されているデバイスから識別情報(MACアドレス等)を受信する。そして、受信された識別情報において、S305においてプリンタ101から取得された識別情報と一致する識別情報が含まれるかが判断される。   Next, the PC 100 deletes the wireless profile temporarily left by the wireless Ad-hoc connection, if any (S311). The process in S311 is performed in order to prevent a wireless profile of a connection unintended by the user from remaining. Thereafter, the PC 100 searches for the printer 101 through the infrastructure connection via the access point 102 (S312), and determines whether the printer 101 has been detected (S313). Specifically, in S312, the PC 100 receives identification information (such as a MAC address) from a device connected to the access point 102. Then, it is determined whether or not the received identification information includes identification information that matches the identification information acquired from the printer 101 in S305.

S313においてプリンタ101が検出できたと判断された場合、PC100は表示装置207に図6(a)で示すような設定成功画面600を表示する(S314)。設定成功画面600で「次へ」ボタン601をユーザが押下すると、PC100は無線設定指示処理を終了する(S315)。なお、PC100は、S313においてプリンタ101が検出できたと判断されたタイミングで、プリンタ101と接続してもよいし、「次へ」ボタン601が押下されたタイミングでプリンタ101と接続してもよい。   If it is determined in S313 that the printer 101 has been detected, the PC 100 displays a setting success screen 600 as shown in FIG. 6A on the display device 207 (S314). When the user presses the “next” button 601 on the setting success screen 600, the PC 100 ends the wireless setting instruction processing (S315). Note that the PC 100 may be connected to the printer 101 at the timing when it is determined in S313 that the printer 101 has been detected, or may be connected to the printer 101 when the “next” button 601 is pressed.

一方、S303、S308、S313のいずれかにおける処理により、プリンタ101における無線設定に失敗したと判断された場合、PC100は、エラー表示として、図6(b)で示すような設定失敗画面610を表示する(S316)。設定失敗画面610上の「次へ」ボタン611をユーザが押下することで、PC100は無線設定指示処理を終了する(S315)。   On the other hand, when it is determined that the wireless setting in the printer 101 has failed in any of the processes in S303, S308, and S313, the PC 100 displays a setting failure screen 610 as shown in FIG. (S316). When the user presses a “next” button 611 on the setting failure screen 610, the PC 100 ends the wireless setting instruction processing (S315).

続いて、プリンタ101の無線設定処理を説明する。プリンタ101の表示装置248においてユーザが所定の指示を行うことで、無線設定処理を開始する(S350)。無線設定処理が開始されるとプリンタ101は、無線設定モードとなる。この無線設定モードでPC100は、無線LAN I/F246を、上記の固有のSSIDのアクセスポイントとして動作させる。なお、無線設定モードは、上記の所定の指示として無線設定モードへの移行指示がユーザにより行われたことを条件に開始されてもよいし、他の条件により開始されてもよい。例えばプリンタ101の電源投入時に無線非接続である場合や購入後初回の電源投入である場合などの条件により一時的に無線設定モードに移行する構成であってもよい。   Next, the wireless setting process of the printer 101 will be described. When the user issues a predetermined instruction on the display device 248 of the printer 101, the wireless setting process starts (S350). When the wireless setting process is started, the printer 101 enters a wireless setting mode. In this wireless setting mode, the PC 100 operates the wireless LAN I / F 246 as an access point of the unique SSID. Note that the wireless setting mode may be started on the condition that an instruction to shift to the wireless setting mode has been given by the user as the predetermined instruction, or may be started on other conditions. For example, the configuration may be such that the mode is temporarily shifted to the wireless setting mode depending on conditions such as a wireless non-connection when the printer 101 is powered on or an initial power-on after purchase.

無線設定モードに移行する前にプリンタ101は、最初に周囲のSSIDをサーチ(パッシブスキャン)して、検出されたSSIDを含むSSIDリストを作成する(S351)。その後、プリンタ101は、無線設定モードに移行し、無線Ad−hoc接続の準備を完了させる(S352)。具体的には、無線LAN I/F246を、上記の固有のSSIDのアクセスポイントとして動作させる。この状態でPC100によりS302〜S304の処理が実行されると、プリンタ101はPC100からの接続要求によりP2P通信を開始する。プリンタ101は、PC100からの情報取得要求があったか確認を行い(S353)、要求があったと判断(S354)した場合、情報送信処理(S355)を行い、処理がS353に戻る。S355においてプリンタ101は、SSIDリストと、プリンタ101の識別情報(MACアドレス等)をPC100に送信する。   Before shifting to the wireless setting mode, the printer 101 first searches for a surrounding SSID (passive scan), and creates an SSID list including the detected SSID (S351). Thereafter, the printer 101 shifts to the wireless setting mode, and completes the preparation for the wireless Ad-hoc connection (S352). Specifically, the wireless LAN I / F 246 is operated as an access point of the unique SSID. When the processing of S302 to S304 is executed by the PC 100 in this state, the printer 101 starts P2P communication in response to a connection request from the PC 100. The printer 101 checks whether or not there has been an information acquisition request from the PC 100 (S353). If it is determined that there has been a request (S354), the printer 101 performs an information transmission process (S355), and the process returns to S353. In step S355, the printer 101 transmits the SSID list and the identification information (such as the MAC address) of the printer 101 to the PC 100.

一方、S354で情報取得要求がないと判断された場合、プリンタ101はPC100から無線設定指示があったかを確認し(S356)、無線設定指示がなかったと判断(S357でNo)した場合、処理がS353に戻る。プリンタ101は、S357で無線設定指示があったと判断した場合、PC100から指定されたアクセスポイント102に対して接続処理を実行する(S358)。具体的には、プリンタ101はS358において、PC100から受信した無線プロファイルに含まれているSSIDおよびパスワードを用いて、アクセスポイント102に対して接続処理を実行する。そして、プリンタ101は接続処理が成功したかどうかを判断(S359)し、失敗したと判断された場合は設定失敗エラー(不図示)をプリンタ101の表示装置248に表示する(S360)。ユーザがプリンタ101の表示装置248に表示された設定エラー(不図示)の解除操作を行うことで、プリンタ101は無線設定処理を終了する(S361)。S359で接続処理が成功したと判断された場合、プリンタ101は、無線設定処理を終了する(S361)。   On the other hand, if it is determined in S354 that there is no information acquisition request, the printer 101 checks whether there has been a wireless setting instruction from the PC 100 (S356). If it is determined that there has not been a wireless setting instruction (No in S357), the process proceeds to S353. Return to If the printer 101 determines in step S357 that a wireless setting instruction has been issued, the printer 101 executes a connection process to the access point 102 specified by the PC 100 (S358). Specifically, in S358, the printer 101 executes a connection process to the access point 102 using the SSID and the password included in the wireless profile received from the PC 100. Then, the printer 101 determines whether or not the connection processing has been successful (S359). If it is determined that the connection processing has failed, a setting failure error (not shown) is displayed on the display device 248 of the printer 101 (S360). When the user performs an operation for canceling the setting error (not shown) displayed on the display device 248 of the printer 101, the printer 101 ends the wireless setting process (S361). If it is determined in S359 that the connection process has been successful, the printer 101 ends the wireless setting process (S361).

このように、PC100が既に接続しているアクセスポイント102の無線プロファイルをプリンタ101に送信することで、プリンタ101でパスワードなどの入力操作を必要とせずにプリンタ101とアクセスポイント102とを接続させることができる。   As described above, by transmitting the wireless profile of the access point 102 to which the PC 100 is already connected to the printer 101, the printer 101 can connect the printer 101 and the access point 102 without requiring an input operation such as a password. Can be.

しかし、事前確認処理1(S307)の判断(S308)の結果、図3に示した無線設定処理は失敗(S316)することがある。例えば、プリンタ101に接続させるアクセスポイントの無線プロファイルをPC100が保持していない場合がある。この場合、事前確認処理1では、SSIDリストに、アクセスポイント112のSSIDが含まれると判定されないため(S308でNo)、図3に示した設定処理は失敗となる。図1(b)〜図1(d)は、このような原因で図3に示した設定処理が失敗となるケースを示す。   However, as a result of the determination (S308) of the preliminary confirmation processing 1 (S307), the wireless setting processing shown in FIG. 3 may fail (S316). For example, there is a case where the PC 100 does not hold a wireless profile of an access point to be connected to the printer 101. In this case, in the prior confirmation process 1, since it is not determined that the SSID of the access point 112 is included in the SSID list (No in S308), the setting process illustrated in FIG. 3 fails. FIGS. 1B to 1D show a case where the setting process shown in FIG. 3 fails due to such a cause.

図1(b)のケースは、アクセスポイント112とPC100が有線LANを介して接続されているケースで、アクセスポイント112とプリンタ101を無線LANで接続する例である。図1(b)のシステム構成図で示すように、PC100とアクセスポイント112とがインフラNWに有線LANで接続しており互いに通信可能な状態である場合、PC100上にアクセスポイント112の無線プロファイルが存在しない。この場合、事前確認処理1では、SSIDリストに、アクセスポイント112のSSIDが含まれると判定されないため(S308でNo)、図3に示した設定処理は失敗となる。このようなケースであってもプリンタ101をアクセスポイント112と接続させ、PC100はアクセスポイント112を介してプリンタ101と相互通信可能な状態を構築することが望まれる。なお、PC100は無線LAN I/F210も保有しており、プリンタ101と無線Ad−hoc接続によるP2P通信が可能である。   FIG. 1B illustrates a case where the access point 112 and the PC 100 are connected via a wired LAN, and is an example in which the access point 112 and the printer 101 are connected via a wireless LAN. As shown in the system configuration diagram of FIG. 1B, when the PC 100 and the access point 112 are connected to the infrastructure NW by a wired LAN and can communicate with each other, the wireless profile of the access point 112 is displayed on the PC 100. not exist. In this case, in the prior confirmation process 1, since it is not determined that the SSID of the access point 112 is included in the SSID list (No in S308), the setting process illustrated in FIG. 3 fails. Even in such a case, it is desirable to connect the printer 101 to the access point 112 and establish a state in which the PC 100 can communicate with the printer 101 via the access point 112. Note that the PC 100 also has a wireless LAN I / F 210, and can perform P2P communication with the printer 101 by wireless Ad-hoc connection.

図4を用いて、アクセスポイント112とPC100が有線LANであるLAN221、224、225で接続されているケースで、アクセスポイント112とプリンタ101を無線LANで接続させる処理を説明する。図4のフローチャートで示すPC100の事前確認処理2は、図3の事前確認処理1(S307)の代わりに行われる。   The process of connecting the access point 112 and the printer 101 by wireless LAN in a case where the access point 112 and the PC 100 are connected by LANs 221, 224, and 225 that are wired LANs will be described with reference to FIG. The preliminary confirmation process 2 of the PC 100 shown in the flowchart of FIG. 4 is performed instead of the preliminary confirmation process 1 (S307) of FIG.

PC100は事前確認処理2を開始する(S400)と、プリンタ101を接続させるアクセスポイント112の無線プロファイルがPC100に保存されているかを判断する(S401)。ここで、S401でYesと判断された場合は、アクセスポイント112のSSIDがプリンタ101から得たSSIDリストに存在するかを判断する(S402)。アクセスポイント112のSSIDがSSIDリストにある場合は、PC100は、プリンタ101を所定のアクセスポイントに接続させると判定する(S409)。この場合、PC100は事前確認処理2を終了し(S410)、プリンタ101に無線設定を指示する(S309)。なお、S402における処理は、S307の事前確認処理1と同様である。   When the pre-confirmation process 2 is started (S400), the PC 100 determines whether the wireless profile of the access point 112 to which the printer 101 is connected is stored in the PC 100 (S401). Here, if it is determined Yes in S401, it is determined whether the SSID of the access point 112 exists in the SSID list obtained from the printer 101 (S402). If the SSID of the access point 112 is in the SSID list, the PC 100 determines that the printer 101 is connected to a predetermined access point (S409). In this case, the PC 100 ends the pre-confirmation processing 2 (S410), and instructs the printer 101 to perform wireless setting (S309). Note that the processing in S402 is the same as the prior confirmation processing 1 in S307.

一方、S401においてアクセスポイント112の無線プロファイルがPC100に保存されていないと判断された場合は、アクセスポイント選択画面を表示(S403)する。また後述するように、S403における処理は、パスワードを入力する入力画面の表示である入力画面表示処理でもある。アクセスポイント112の無線プロファイルをPC100が保有していないケースとしては、図1(b)で示したようなPC100がインフラNWに有線LANで接続しているケースがある。図5(a)は、S403で表示されるアクセスポイント選択画面500であり、SSID一覧501とパスワード設定部503、WEPキー選択部504、手動追加ボタン505(後述する)、「次へ」ボタン506を有する。また、図5(a)はSSID一覧501のSSID−Aが選択状態でありフォーカス502が表示されている様子を示している。SSID一覧501には、プリンタ101がS351で作成されPC100がS305で取得したSSIDリストが一覧表示される。ユーザはSSID一覧501の中から所望のアクセスポイント112のSSIDを選択し、アクセスポイント112のパスワード(文字または数字)をパスワード設定部503で入力する。すなわち図5(a)に示す画面は、アクセスポイント(SSID)の選択画面であり、またパスワードの入力画面である。なお、PC100はSSIDリストを取得するとき(S305)、各SSIDの暗号化方式とチャネル(周波数帯)情報をプリンタ101から入手している。より具体的には、プリンタ101はパッシブスキャン実行時に、各アクセスポイントから発信されるビーコンの情報からSSIDと暗号方式とチャネル情報とを記憶しておく。そして、S305においてPC100は、それらの情報をSSIDリストとともにプリンタ101から取得する。SSID一覧501で選択したSSIDがWEPで暗号化されている場合、PC100はWEPキー選択部504を有効化し、WEPキーを選択させる。   On the other hand, if it is determined in S401 that the wireless profile of the access point 112 is not stored in the PC 100, an access point selection screen is displayed (S403). Further, as described later, the processing in S403 is also an input screen display processing for displaying an input screen for inputting a password. As a case where the PC 100 does not hold the wireless profile of the access point 112, there is a case where the PC 100 as shown in FIG. 1B is connected to the infrastructure NW by a wired LAN. FIG. 5A shows the access point selection screen 500 displayed in S403, which includes an SSID list 501, a password setting unit 503, a WEP key selection unit 504, a manual addition button 505 (described later), and a “next” button 506. Having. FIG. 5A shows a state in which SSID-A in the SSID list 501 is selected and the focus 502 is displayed. The SSID list 501 displays a list of SSID lists created by the printer 101 in step S351 and acquired by the PC 100 in step S305. The user selects the desired SSID of the access point 112 from the SSID list 501, and inputs the password (character or number) of the access point 112 in the password setting unit 503. That is, the screen shown in FIG. 5A is an access point (SSID) selection screen and a password input screen. When the PC 100 acquires the SSID list (S305), the PC 100 acquires the encryption method and channel (frequency band) information of each SSID from the printer 101. More specifically, at the time of executing the passive scan, the printer 101 stores the SSID, the encryption method, and the channel information from the information of the beacon transmitted from each access point. Then, in step S305, the PC 100 acquires the information from the printer 101 together with the SSID list. If the SSID selected in the SSID list 501 has been encrypted by WEP, the PC 100 activates the WEP key selection unit 504 and causes the WEP key to be selected.

ユーザが図5(a)に示す「次へ」ボタン506を押下すると、PC100はアクセスポイント選択画面500を閉じる。このときPC100は、SSID一覧501において選択されていたSSIDを、S309における無線設定指示によりプリンタ101が接続するアクセスポイントのSSIDとして決定する。そしてPC100は、S404、S405、S406において、ユーザにより入力された情報に基づき、プリンタ101によるアクセスポイントへの接続が可能か判断する。それら判断により、プリンタ101によるアクセスポイントへの接続が不可能とは判断されなかった場合、処理はS407に移る。S404〜S407における処理により、プリンタ101に無線設定を指示すると判定されない場合、図6(c)〜(h)に示す各種のエラー画面表示が行われる。また、S404、S405、S406における処理については後述する。   When the user presses a “next” button 506 shown in FIG. 5A, the PC 100 closes the access point selection screen 500. At this time, the PC 100 determines the SSID selected in the SSID list 501 as the SSID of the access point to which the printer 101 connects according to the wireless setting instruction in S309. In steps S404, S405, and S406, the PC 100 determines whether the printer 101 can connect to the access point based on the information input by the user. If it is not determined that the connection by the printer 101 to the access point is not possible, the process proceeds to S407. When it is not determined that the wireless setting is instructed to the printer 101 by the processing in S404 to S407, various error screens shown in FIGS. 6C to 6H are displayed. The processing in S404, S405, and S406 will be described later.

S407でPC100は、アクセスポイント選択画面500で選択したSSIDについて、プリンタ101に送信する前に、事前に接続確認を行う。つまり、アクセスポイント選択画面500では、プリンタ101が接続するアクセスポイントが選択されるが、S407でPC100は、該アクセスポイントに対して接続試験を実施(S407)する。S407における接続試験では、PCは、ユーザにより入力されたパスワードを用いて、アクセスポイントに接続するための処理を実行する。この処理により、アクセスポイントにおいて、このパスワードを用いた認証処理が実行される。そしてPC100は、S407による接続の成否を判断する(S408)。ユーザにより入力されたパスワードが、アクセスポイントのパスワードと一致する場合に、上記の認証処理が成功してPC100と該アクセスポイントは接続される。S408では、PC100とアクセスポイントが接続された場合に、接続が成功と判断される。S408で接続が成功と判断された場合、PC100はプリンタ101を所定のアクセスポイントに接続させると判断し(S409)、事前確認処理2を終了する(S410)。   In step S <b> 407, the PC 100 confirms the connection of the SSID selected on the access point selection screen 500 before transmitting the SSID to the printer 101. That is, the access point to which the printer 101 is connected is selected on the access point selection screen 500, but the PC 100 performs a connection test on the access point in S407 (S407). In the connection test in S407, the PC executes a process for connecting to the access point using the password input by the user. With this process, the access point performs the authentication process using the password. Then, the PC 100 determines whether or not the connection in S407 is successful (S408). When the password input by the user matches the password of the access point, the above-described authentication processing is successful and the PC 100 is connected to the access point. In S408, when the PC 100 is connected to the access point, the connection is determined to be successful. If the connection is determined to be successful in S408, the PC 100 determines that the printer 101 is to be connected to a predetermined access point (S409), and ends the pre-check processing 2 (S410).

なお、S407で実施された接続によって作成された無線プロファイルは、S311における処理によって削除される。そのため、ユーザが意図せずPC100が作成したプロファイルがROM202に残されることを防ぐことができる。   Note that the wireless profile created by the connection performed in S407 is deleted by the process in S311. Therefore, it is possible to prevent the profile created by the PC 100 from being left in the ROM 202 without the user's intention.

またS407における接続試験においてPC100がアクセスポイントへの接続に成功した場合、PC100は、そのまま接続状態を維持して、S310におけるアクセスポイントとの接続は行わず、S312におけるプリンタサーチを行ってもよい。或いは、事前確認処理2を終了するときにアクセスポイントとの接続を切断し、S310において再び該アクセスポイントとの接続を確立してもよい。後者の場合、仮にS309におけるプリンタ101への無線設定の指示が行えなかったときにも、PC100がユーザが指定したアクセスポイントと継続して接続されることを防ぐことができる。   Further, when the PC 100 succeeds in connecting to the access point in the connection test in S407, the PC 100 may maintain the connection state as it is, do not perform the connection with the access point in S310, and perform the printer search in S312. Alternatively, the connection with the access point may be disconnected at the end of the pre-check processing 2, and the connection with the access point may be established again in S310. In the latter case, it is possible to prevent the PC 100 from being continuously connected to the access point designated by the user even when the wireless setting instruction to the printer 101 in S309 cannot be performed.

S408において接続失敗と判断された場合、PC100は、エラー表示として、パスワード不一致を示すエラー画面を表示する(S411)。図6(c)は、S411で表示されるパスワード不一致を示すエラー画面620である。エラー画面620の表示により、PC100は、アクセスポイント112との接続に失敗した旨と、ユーザにより入力されたパスワードが正しくない旨をユーザに通知する。エラー画面620の「戻る」ボタン621が押下されることにより、PC100はエラー画面620を閉じて、S403において再びアクセスポイント選択画面500を表示し、パスワードの再入力をユーザに促す。   If it is determined in S408 that the connection has failed, the PC 100 displays an error screen indicating a password mismatch as an error display (S411). FIG. 6C shows an error screen 620 displayed in step S <b> 411 indicating a password mismatch. By displaying the error screen 620, the PC 100 notifies the user that the connection with the access point 112 has failed and that the password input by the user is incorrect. When the “return” button 621 on the error screen 620 is pressed, the PC 100 closes the error screen 620, displays the access point selection screen 500 again in S403, and prompts the user to re-enter the password.

S407、S408に示す処理により、PC100が無線プロファイルを保有していないSSIDに対しても、プリンタ101に接続指示を行うことができる。そして、プリンタ101にSSIDやパスワードを含むアクセスポイントの無線プロファイルを送信する前に、PC100でアクセスポイントへの接続確認を行うことができる。   By the processes shown in S407 and S408, the PC 100 can instruct the printer 101 to connect to an SSID for which the PC 100 does not have a wireless profile. Then, before transmitting the wireless profile of the access point including the SSID and the password to the printer 101, the PC 100 can confirm the connection to the access point.

これによって、仮にユーザがパスワードの入力を間違えた場合に、そのパスワードがプリンタ101に通知されることを防ぐことができる。仮に図4に示す事前確認処理2が実施されず、事前確認処理1(S307)のみ実施された場合、PC100はプリンタ101に、誤っているパスワードで接続設定指示を行う(S309)こととなる。その結果、プリンタ101はアクセスポイントへの接続が失敗となり、プリンタ101は接続失敗エラーを表示する(S360)。また、PC100で設定失敗表示(S316)が行われる。この場合、これらの表示の前に、プリンタ101による接続処理やPC100によるプリンタサーチ等の処理が行われため、ユーザが接続失敗を認識するまでに、時間を要することになる。また、プリンタ101の無線設定を再試行するために、ユーザはプリンタ101のエラーを解除し再度無線設定モードに移行させる操作が必要となることがある。そこで、図3のS307に、図4に示した事前確認処理2を適用することにより、ユーザはプリンタ101が接続失敗エラーとなる前に、パスワードの入力ミスを知ることができる。   Thus, if the user makes a mistake in inputting the password, the password can be prevented from being notified to the printer 101. If the preliminary confirmation process 2 shown in FIG. 4 is not performed and only the preliminary confirmation process 1 (S307) is performed, the PC 100 issues a connection setting instruction to the printer 101 with an incorrect password (S309). As a result, the connection of the printer 101 to the access point fails, and the printer 101 displays a connection failure error (S360). Further, the PC 100 displays a setting failure display (S316). In this case, a process such as a connection process by the printer 101 or a printer search by the PC 100 is performed before these displays, so that it takes time for the user to recognize the connection failure. Further, in order to retry the wireless setting of the printer 101, the user may need to perform an operation to release the error of the printer 101 and shift to the wireless setting mode again. Therefore, by applying the advance confirmation processing 2 shown in FIG. 4 to S307 in FIG. 3, the user can know the password input error before the printer 101 has a connection failure error.

また、プリンタ101に接続させるアクセスポイントの無線プロファイルをPC100が保持していない他のケースを、図1(c)を例に説明する。図1(c)に示すケースは、アクセスポイント122、アクセスポイント123がブリッジ接続されている。具体的にはアクセスポイント122に、ブリッジモードに設定されたアクセスポイント123がリレーされ、アクセスポイント122、アクセスポイント123が同一サブネットで接続されている。ブリッジ接続は、例えば複数の部屋をまたいで同一サブネットの無線NW環境を構築したい場合などに用いられる。図1(c)に示すシステム構成では、PC100が無線LAN I/F210でアクセスポイント122(SSID1)と接続し、プリンタ101が無線LAN I/F246でアクセスポイント123(SSID2)と接続している。アクセスポイント122とアクセスポイント123を介して、PC100はプリンタ101と相互に通知可能となっている。このようなインフラNW環境を構築すべく、プリンタ101をアクセスポイント123に接続させるよう、PC100は無線Ad−hoc通信を用いてプリンタ101に無線設定を送信する。例えば、PC100とプリンタ101との距離が無線Ad−hoc通信できるほど近くでない場合、ユーザが一時的にPC100をプリンタ101に近づけてプリンタ101の無線設定を行うことが想定される。   Another case in which the PC 100 does not hold a wireless profile of an access point to be connected to the printer 101 will be described with reference to FIG. In the case shown in FIG. 1C, the access point 122 and the access point 123 are bridge-connected. Specifically, the access point 123 set to the bridge mode is relayed to the access point 122, and the access point 122 and the access point 123 are connected on the same subnet. The bridge connection is used, for example, when it is desired to construct a wireless NW environment of the same subnet across a plurality of rooms. In the system configuration shown in FIG. 1C, the PC 100 is connected to the access point 122 (SSID1) via the wireless LAN I / F 210, and the printer 101 is connected to the access point 123 (SSID2) via the wireless LAN I / F 246. The PC 100 can communicate with the printer 101 via the access point 122 and the access point 123. In order to establish such an infrastructure NW environment, the PC 100 transmits wireless settings to the printer 101 using wireless Ad-hoc communication so as to connect the printer 101 to the access point 123. For example, when the distance between the PC 100 and the printer 101 is not short enough to allow wireless Ad-hoc communication, it is assumed that the user temporarily brings the PC 100 close to the printer 101 and performs wireless setting of the printer 101.

しかし図1(c)に示すケースでは、PC100はアクセスポイント123に接続しておらず、アクセスポイント123のSSID2やその他設定情報を無線プロファイルとして保存していない。この場合であっても、図4に示した処理によれば、ユーザはアクセスポイント選択画面500において、SSID2を選択することで、プリンタ101をアクセスポイント123に接続させることができる。また、S407において、事前の接続確認がPC100により実施されることによって、ブリッジ接続環境でも、誤ったパスワードをプリンタ101に送信することを防ぐことができる。   However, in the case shown in FIG. 1C, the PC 100 is not connected to the access point 123, and does not store the SSID2 and other setting information of the access point 123 as a wireless profile. Even in this case, according to the processing illustrated in FIG. 4, the user can connect the printer 101 to the access point 123 by selecting SSID2 on the access point selection screen 500. Also, in S407, by performing the connection confirmation in advance by the PC 100, it is possible to prevent an incorrect password from being transmitted to the printer 101 even in a bridge connection environment.

プリンタ101に接続させるアクセスポイント(SSID)の無線プロファイルをPC100が保持していない他のケースを、図1(d)を例に説明する。アクセスポイント132は、異なる周波数帯のSSIDを2種類以上サポートする。家庭環境で利用されるアクセスポイントでも、802.11ac規格など5GHzの周波数帯をサポートしたアクセスポイントが市販されている。5GHzの周波数帯で接続することで、従来広く用いられてきた2.4GHz帯の混線状況を回避することが可能となる。   Another case in which the PC 100 does not hold a wireless profile of an access point (SSID) to be connected to the printer 101 will be described with reference to FIG. The access point 132 supports two or more types of SSIDs in different frequency bands. As an access point used in a home environment, an access point that supports a frequency band of 5 GHz such as the 802.11ac standard is commercially available. By connecting in the 5 GHz frequency band, it becomes possible to avoid the 2.4 GHz band crosstalk situation that has been widely used in the past.

図1(d)に示すシステム構成図では、PC100が無線LAN I/F210でアクセスポイント132の5GHzの周波数帯をサポートする規格のSSID1に接続している。ここで、プリンタ101の無線LAN I/F246は、5GHzの周波数帯をサポートしていない場合、PC100が接続しているSSID1への接続指示を実施しても、プリンタ101はSSID1に接続することができない。また、PC100では、5GHzの周波数帯を用いて、SSID1と接続されているため、SSID1の無線プロファイルは保存しているが、SSID2については無線プロファイルを保存していないことがある。そのため、S403においてアクセスポイント選択画面500が表示され、ユーザが、プリンタ101が接続可能な2.4GHzの周波数帯をサポートしたSSID2を選択することがある。この場合に、PC100からプリンタ101に接続指示(S309)を行うことで、プリンタ101はアクセスポイント132に接続できることとなる。また接続指示(S309)の実施の前に、S408の処理が実施されるため、誤ったパスワードをプリンタ101に送信することを防ぐことができる。   In the system configuration diagram shown in FIG. 1D, the PC 100 is connected to the access point 132 by the wireless LAN I / F 210 to the SSID1 of the standard that supports the 5 GHz frequency band. Here, if the wireless LAN I / F 246 of the printer 101 does not support the frequency band of 5 GHz, the printer 101 may connect to the SSID 1 even if the connection instruction to the SSID 1 to which the PC 100 is connected is issued. Can not. In addition, since the PC 100 is connected to the SSID 1 using the 5 GHz frequency band, the wireless profile of the SSID 1 is stored, but the wireless profile of the SSID 2 may not be stored. Therefore, the access point selection screen 500 is displayed in S403, and the user may select SSID2 that supports the 2.4 GHz frequency band to which the printer 101 can be connected. In this case, by issuing a connection instruction (S309) from the PC 100 to the printer 101, the printer 101 can be connected to the access point 132. In addition, since the processing of S408 is performed before the execution of the connection instruction (S309), it is possible to prevent an incorrect password from being transmitted to the printer 101.

なお、以上の説明では図1(d)を用いて、プリンタ101に接続させるアクセスポイントの無線プロファイルをPC100が保持していない場合について説明した。一方で、アクセスポイント選択画面500に所望のアクセスポイント132のSSID2が表示されない場合がある。つまり、プリンタ101のSSIDサーチ処理(S351)でSSID2が検出されない場合もある。具体的には、アクセスポイント132にステルスモードが設定されている場合である。ステルスモードはよりセキュアな設定を考慮して設定される場合があり、アクセスポイントが周囲に発信するビーコン上にSSID名が表示されない設定、または、周囲にビーコンを発信しない設定が可能である。そのため、ステルスモードが設定されている場合、アクセスポイント132のSSID2は、プリンタ101のSSIDサーチ処理で検知されず、SSID一覧501にも表示されない。   In the above description, the case where the PC 100 does not hold the wireless profile of the access point to be connected to the printer 101 has been described with reference to FIG. On the other hand, the SSID 2 of the desired access point 132 may not be displayed on the access point selection screen 500 in some cases. That is, the SSID 2 may not be detected in the SSID search process (S351) of the printer 101. Specifically, this is a case where the stealth mode is set in the access point 132. The stealth mode may be set in consideration of a more secure setting, and a setting in which the access point does not display the SSID name on a beacon transmitted to the surroundings or a setting in which the beacon is not transmitted to the surroundings is possible. Therefore, when the stealth mode is set, the SSID 2 of the access point 132 is not detected by the SSID search process of the printer 101 and is not displayed on the SSID list 501.

このようなケースでは、ユーザはアクセスポイント選択画面500に含まれる手動追加ボタン505を押下することで、SSIDを手動で追加することができる。手動追加ボタン505が押下されることにより表示された図5(b)で示すアクセスポイント手動追加画面520によって、ユーザはアクセスポイント132のSSID2を手動追加する。ステルスモードが設定されていたとしても、SSID名を指定して検索策する方法(アクティブスキャン)であれば、アクセスポイント132は応答する。アクセスポイント手動追加画面520では、SSID入力部521と暗号化方式選択部522、暗号化方式の設定部523、OKボタン524、Cancelボタン525を有する。暗号化方式の設定部523は、暗号化方式選択部522で選択した暗号化方式によって、選択できる設定項目を切り替える。例えば、暗号化方式選択部522でWEPを選択している場合と、WPA/WPA2を選択している場合と、では暗号化方式の設定部523で表示する項目を切り替える。OKボタン524またはCancelボタン525が押下されると、PC100の事前確認処理2はアクセスポイント選択画面500に戻る。なお、OKボタン524を押下した場合、PC100の事前確認処理2はアクセスポイント手動追加画面のSSID入力部521で入力したSSID名をSSID一覧501に追加表示する。SSIDサーチ処理(パッシブスキャン)S351により発見したSSIDであれば暗号化方式や周波数帯を判断するためのチャネル情報などの無線設定情報を、PC100は予め入手できる。しかし、アクセスポイント手動追加画面520によりSSID入力した場合はこれら無線設定情報を保持していないため、ユーザに各種無線設定情報の入力を促す必要がある。しかし、暗号化方式やプリンタ101に適合した周波数帯をサポートするSSIDを正しく選択し入力されないことが起こりうる。これを鑑みて、図4では、S404において、SSIDの存在確認が行われる。   In such a case, the user can manually add the SSID by pressing the manual addition button 505 included in the access point selection screen 500. The user manually adds the SSID 2 of the access point 132 on the access point manual addition screen 520 shown in FIG. 5B displayed when the manual addition button 505 is pressed. Even if the stealth mode is set, the access point 132 responds if the search method is specified by specifying the SSID name (active scan). The access point manual addition screen 520 includes an SSID input unit 521, an encryption method selection unit 522, an encryption method setting unit 523, an OK button 524, and a Cancel button 525. The encryption scheme setting unit 523 switches selectable setting items according to the encryption scheme selected by the encryption scheme selection unit 522. For example, the items displayed by the encryption method setting unit 523 are switched between when WEP is selected by the encryption method selection unit 522 and when WPA / WPA2 is selected. When the OK button 524 or the Cancel button 525 is pressed, the preliminary confirmation processing 2 of the PC 100 returns to the access point selection screen 500. When the OK button 524 is pressed, the preliminary confirmation processing 2 of the PC 100 additionally displays the SSID name input in the SSID input unit 521 of the access point manual addition screen in the SSID list 501. If the SSID is found in the SSID search process (passive scan) S351, the PC 100 can obtain wireless setting information such as channel information for determining the encryption method and the frequency band in advance. However, when the SSID is input on the access point manual addition screen 520, since these wireless setting information are not held, it is necessary to prompt the user to input various wireless setting information. However, it is possible that an SSID that supports an encryption method or a frequency band suitable for the printer 101 is not correctly selected and input. In view of this, in FIG. 4, in S404, the existence of the SSID is confirmed.

図7は、S404において実行されるSSIDの存在確認を行う処理を示すフローチャートである。   FIG. 7 is a flowchart illustrating a process of confirming the existence of the SSID executed in S404.

図5(a)に示した「次へ」ボタン506が押下されると、PC100はSSID存在確認処理(S700)を開始する。ここでは、アクセスポイント手動追加画面520で入力されたアクセスポイント132のSSID2(SSID−D)がアクセスポイント選択画面500で選択され、そのうえで「次へ」ボタン506が押下されたとする。   When the “next” button 506 shown in FIG. 5A is pressed, the PC 100 starts the SSID existence confirmation processing (S700). Here, it is assumed that SSID2 (SSID-D) of access point 132 input on access point manual addition screen 520 is selected on access point selection screen 500, and then “Next” button 506 is pressed.

PC100は、指定されたSSID2が存在するかサーチ処理(アクティブスキャン)(S701)を行い、検出したかどうかを判断(S702)する。S702において、SSID2が検出されたと判断した場合、PC100はSSID存在確認処理を終了(S703)し、次のSSID情報確認処理(S405)に処理を移す。なお、S702においてSSID2が検出された場合、S701におけるサーチで得られたSSID2のアクセスポイントの無線設定情報がROM202に記憶される。この無線設定情報が、後述するS405における処理(図8に示す処理)、S406における処理(図9に示す処理)に用いられる。   The PC 100 performs a search process (active scan) (S701) to determine whether the specified SSID2 exists, and determines whether or not the SSID2 is detected (S702). If it is determined in S702 that SSID2 has been detected, the PC 100 ends the SSID existence confirmation processing (S703), and moves the processing to the next SSID information confirmation processing (S405). When SSID2 is detected in S702, the wireless setting information of the access point of SSID2 obtained in the search in S701 is stored in the ROM 202. This wireless setting information is used in the processing in S405 (the processing shown in FIG. 8) and the processing in S406 (the processing shown in FIG. 9) described later.

一方、S702において、アクセスポイント132のSSID2が検出されなかったと判断した場合、PC100はエラー表示として、図6(h)のSSID不検出警告画面670を表示する(S704)。これにより、PC100からはSSID2が見つからなかった旨が通知される。SSID不検出警告画面670でPC100は、「次へ」ボタン672と「戻る」ボタン671を表示し、ユーザにアクセスポイント選択画面500による再選択を行うか否かを問う。そして、PC100は、ユーザがSSID不検出警告画面670でどのボタンを押したか判断する(S705)。ユーザが「戻る」ボタン671を押した場合、すなわちSSIDを再選択することを希望した場合、PC100はSSID不検出警告画面670を閉じる。そして、PC100はSSID存在確認処理を終了し(S706)、処理はS403に戻る。ユーザが「次へ」ボタン672を押した場合、PC100はSSID不検出警告画面670を閉じる。そして、PC100は、SSID存在確認処理を終了し(S707)、プリンタ101を所定のアクセスポイントに接続させると判定(S409)する。よって、アクセスポイント選択画面500やアクセスポイント手動追加画面520で入力した無線設定で、プリンタ101に無線設定指示が行われる。   On the other hand, if it is determined in S702 that SSID2 of the access point 132 has not been detected, the PC 100 displays an SSID non-detection warning screen 670 of FIG. 6H as an error display (S704). As a result, the PC 100 notifies that the SSID 2 was not found. On the SSID non-detection warning screen 670, the PC 100 displays a “next” button 672 and a “return” button 671, and asks the user whether to perform reselection on the access point selection screen 500. Then, the PC 100 determines which button the user has pressed on the SSID non-detection warning screen 670 (S705). When the user presses the “return” button 671, that is, when the user desires to reselect the SSID, the PC 100 closes the SSID non-detection warning screen 670. Then, the PC 100 ends the SSID existence confirmation processing (S706), and the processing returns to S403. When the user presses the “next” button 672, the PC 100 closes the SSID non-detection warning screen 670. Then, the PC 100 ends the SSID existence confirmation processing (S707), and determines that the printer 101 is connected to a predetermined access point (S409). Therefore, the wireless setting is instructed to the printer 101 by the wireless setting input on the access point selection screen 500 or the access point manual addition screen 520.

ユーザが図6(h)において、「戻る」ボタン671を選択するケースとして、SSID名の入力を間違えているケースが想定される。「次へ」ボタン672を選択するケースとして、PC100からは検出できない位置にアクセスポイント132が配置されているケースが想定される。後者のケースにおいては、アクセスポイント132がPC100からは検出されずとも、プリンタ101からは検出可能な場合が想定される。この場合、例えばプリンタ101がアクセスポイント132に接続した後に、PC100をアクセスポイント132に近づける場合が想定される。そのため、図6(h)に示す画面が表示されることで、PC100をアクセスポイント132に近づけることを促すことができる。或いは、PC100とアクセスポイント132が有線で接続されており、且つ、アクセスポイント132がPC100から検出されない位置に配置されていることも想定される。この場合、PC100とアクセスポイント132とが無線接続される必要はないため、アクセスポイント132のSSIDがPC100により検出されなくても問題がないとユーザが判断することも考えられる。この場合に、ユーザが「次へ」ボタン672を選択することが考えられる。   As a case where the user selects the “return” button 671 in FIG. 6 (h), a case where the input of the SSID name is mistaken is assumed. As a case where the “next” button 672 is selected, a case where the access point 132 is arranged at a position that cannot be detected from the PC 100 is assumed. In the latter case, it is assumed that even if the access point 132 is not detected from the PC 100, it can be detected from the printer 101. In this case, for example, it is assumed that the PC 100 is brought closer to the access point 132 after the printer 101 is connected to the access point 132. Therefore, by displaying the screen illustrated in FIG. 6H, it is possible to prompt the PC 100 to approach the access point 132. Alternatively, it is assumed that the PC 100 and the access point 132 are connected by wire, and the access point 132 is located at a position where the PC 100 is not detected. In this case, since the PC 100 and the access point 132 do not need to be wirelessly connected, the user may determine that there is no problem even if the PC 100 does not detect the SSID of the access point 132. In this case, the user may select the “Next” button 672.

このようにユーザは「次へ」ボタン672を選択することで、PC100からはアクセスポイント132が検出されない場合に、ユーザが意図せずに設定失敗エラー(S316)に陥ることを防ぎ、プリンタ101に無線設定を行うことが可能となる。   By selecting the “Next” button 672 in this manner, when the access point 132 is not detected from the PC 100, the user is prevented from unintentionally falling into a setting failure error (S316). Wireless settings can be made.

なお、上述の説明では、アクセスポイント選択画面500に所望のアクセスポイント132のSSID2が表示されない事例として、アクセスポイント132にステルスモードが設定されている場合を挙げた。他の事例として、プリンタ101が保持できるSSIDリストのサイズに制限がある場合がある。プリンタ101のROM243のサイズが小さい場合、SSIDリスト作成時(S351)にユーザ所望のSSID2がリストに記憶されないことが起こりうる。例えば、集合住宅など周辺にアクセスポイントの数が多く、SSIDリストに含めるべきSSIDの数が多い場合に、ユーザ所望のSSIDがSSIDに含まれないことが起こりうる。他にも、例えば大きいチャネル番号が割り当たっているケースにおいて、ユーザ所望のSSIDがSSIDに含まれないことが起こりうる。SSIDリストには、S351において順次検出されるSSIDが順次記憶される。そのため、これらのケースでは、ユーザ所望のSSID2を検出する前に、SSIDリストに記憶できる数を超えてしまい、SSID2がSSIDリストから漏れてしまう。   In the above description, as an example in which the SSID 2 of the desired access point 132 is not displayed on the access point selection screen 500, the case where the stealth mode is set for the access point 132 has been described. As another example, there is a case where the size of the SSID list that the printer 101 can hold is limited. When the size of the ROM 243 of the printer 101 is small, the SSID 2 desired by the user may not be stored in the list when the SSID list is created (S351). For example, when the number of access points is large in the vicinity such as an apartment house and the number of SSIDs to be included in the SSID list is large, the SSID desired by the user may not be included in the SSID. In addition, for example, in a case where a large channel number is assigned, it is possible that an SSID desired by the user is not included in the SSID. The SSID list sequentially stores the SSIDs sequentially detected in S351. Therefore, in these cases, before detecting the SSID2 desired by the user, the number exceeds the number that can be stored in the SSID list, and SSID2 is omitted from the SSID list.

次に、図8を用いて、図4のS405のSSID情報確認について説明する。図8の処理は、図7に示したS404の処理において、ユーザがリストから選択したSSIDもしくは手動で入力したSSIDが、PC100により検出された場合(図7のS702でYes)に実行される。   Next, the SSID information confirmation in S405 in FIG. 4 will be described with reference to FIG. The process in FIG. 8 is executed when the PC 100 detects the SSID selected by the user from the list or the SSID manually input in the process in S404 illustrated in FIG. 7 (Yes in S702 in FIG. 7).

PC100は、SSID確認処理を開始すると(S800)、SSID2を指定検索(S701)したときにROM202に記憶されていた、SSID2のアクセスポイントの無線設定情報を取得する(S801)。無線設定情報には、例えば、アクセスポイントで使用される認証方式、暗号化方式、周波数帯(チャネル)、無線規格が含まれる。アクセスポイントで使用される周波数帯の取得方法として、例えば以下の方法が用いられる。S701でPC100は、複数の周波数帯でサーチを行い、SSID2が検出されたときに用いられた周波数帯が、SSID2のアクセスポイントがサポートする周波数帯としてROM202に無線設定情報として記憶される。無線設定情報のその他の情報は、S701におけるサーチにおいて、例えばSSID2のアクセスポイントから取得される。   When the PC 100 starts the SSID confirmation processing (S800), the PC 100 acquires the wireless setting information of the access point of the SSID 2 stored in the ROM 202 when the SSID 2 is specified and searched (S701) (S801). The wireless setting information includes, for example, an authentication method, an encryption method, a frequency band (channel), and a wireless standard used in the access point. For example, the following method is used as a method of acquiring the frequency band used by the access point. In step S701, the PC 100 performs a search in a plurality of frequency bands, and the frequency band used when SSID2 is detected is stored as wireless setting information in the ROM 202 as a frequency band supported by the access point of SSID2. Other information of the wireless setting information is acquired from, for example, the access point of SSID2 in the search in S701.

続いて、PC100は、アクセスポイント手動追加画面520で設定した認証方式と暗号化方式を、S801で取得された無線設定情報に含まれている認証方式と暗号化方式と比較する(S802)。そしてPC100は、認証方式、暗号化方式の両方について、両者が一致しているかを判定する(S803)。   Next, the PC 100 compares the authentication method and the encryption method set on the access point manual addition screen 520 with the authentication method and the encryption method included in the wireless setting information acquired in S801 (S802). Then, the PC 100 determines whether both the authentication method and the encryption method match (S803).

S803において一致と判定された場合、SSID確認処理を終了する(S804)。一方、S803において、一致と判定されなかった場合、PC100は、エラー表示として、図6(d)に示す認証方式・暗号化方式不一致エラーを表示(S805)する。図6(d)に示す表示により、アクセスポイント132のSSID2に設定されている認証方式・暗号化方式の少なくとも一方が、アクセスポイント手動追加画面520で入力したものと一致していない旨がユーザに通知される。「戻る」ボタン631を押下すると、PC100は認証方式・暗号化方式不一致エラー画面630を閉じ、SSID確認処理を終了する(S806、S412)。そして、PC100はアクセスポイント選択画面500を再び表示し、ユーザに再設定を促すことが可能となる。これにより、ユーザは、認証方式・暗号化方式の入力が正しくなかった旨を、プリンタ101に無線設定指示(S309)が行われる前に知ることができる。即ち、プリンタ101が接続失敗エラー(S360)に陥ることを未然に防ぐことが可能となる。そして、ユーザは「戻る」ボタン631を押下することで、認証方式と暗号化方式について再び入力することできる。   If it is determined in S803 that they match, the SSID confirmation process ends (S804). On the other hand, if it is not determined in S803 that they match, the PC 100 displays an authentication method / encryption method mismatch error shown in FIG. 6D as an error display (S805). According to the display shown in FIG. 6D, the user is informed that at least one of the authentication method and the encryption method set in SSID2 of the access point 132 does not match the one entered on the access point manual addition screen 520. Notified. When the “return” button 631 is pressed, the PC 100 closes the authentication method / encryption method mismatch error screen 630 and ends the SSID confirmation processing (S806, S412). Then, the PC 100 displays the access point selection screen 500 again, and can prompt the user to reset. Thus, the user can know that the input of the authentication method / encryption method is not correct before the wireless setting instruction (S309) is issued to the printer 101. That is, it is possible to prevent the printer 101 from falling into a connection failure error (S360). Then, by pressing the “return” button 631, the user can input the authentication method and the encryption method again.

一方、SSID確認処理がS804において終了した場合、PC100は次の確認処理として、プリンタスペック確認処理を実行する(S406)。S406における処理について、図9を用いて説明する。   On the other hand, when the SSID confirmation processing ends in S804, the PC 100 executes printer specification confirmation processing as the next confirmation processing (S406). The processing in S406 will be described with reference to FIG.

なお、図9における処理において、プリンタの能力情報が用いられる。PC100はプリンタから情報を取得する処理(S305)のとき、プリンタ101の情報送信処理(S355)によって、プリンタ101の能力情報を得ておく。プリンタの能力情報は、周波数帯を判断するためのサポートチャネル情報、サポート認証方式・暗号化方式情報、サポート無線規格情報、などのプリンタ101がサポートする各種無線情報を含む。   In the process shown in FIG. 9, the capability information of the printer is used. In the process of acquiring information from the printer (S305), the PC 100 obtains the capability information of the printer 101 by the information transmission process of the printer 101 (S355). The printer capability information includes various types of wireless information supported by the printer 101, such as support channel information for determining a frequency band, support authentication method / encryption method information, support wireless standard information, and the like.

PC100は、プリンタスペック確認処理を開始(S900)すると、プリンタ101のスペックを確認(S901)する。S902において、アクセスポイント132のSSID2がサポートする周波数帯を、プリンタ101がサポートしているか(プリンタ101で使用可能か)判定する。S902における判定では、S701においてROM202に記憶されS801で取得された無線設定情報に含まれている、アクセスポイントがサポートする周波数帯と、プリンタ101の能力情報に含まれている周波数帯が比較される。   When the printer specification checking process is started (S900), the PC 100 checks the specifications of the printer 101 (S901). In step S902, it is determined whether the frequency band supported by the SSID2 of the access point 132 is supported by the printer 101 (whether the frequency band can be used by the printer 101). In the determination in S902, the frequency band supported by the access point, which is stored in the ROM 202 in S701 and included in the wireless setting information acquired in S801, is compared with the frequency band included in the capability information of the printer 101. .

S902でYesと判断された場合、PC100は次の判断(S903)を行う。S903でPC100は、アクセスポイント132のSSID2に設定されている認証方式・暗号化方式を、プリンタ101がサポートしているか(プリンタ101で使用可能か)判定する(S903)。S903における判定では、上記の無線設定情報に含まれている、アクセスポイントがサポートする認証方式・暗号化方式と、プリンタ101の能力情報に含まれている認証方式・暗号化方式が比較される。   If the determination is Yes in S902, the PC 100 performs the following determination (S903). In step S903, the PC 100 determines whether the authentication method / encryption method set in the SSID 2 of the access point 132 is supported by the printer 101 (whether the authentication method / encryption method can be used by the printer 101) (S903). In the determination in S903, the authentication method / encryption method supported by the access point included in the wireless setting information is compared with the authentication method / encryption method included in the capability information of the printer 101.

S903でYesと判断された場合、PC100は次の判定(S904)を行う。S904でPC100は、アクセスポイント132のSSID2が動作している無線規格(802.11b/g/nなど)を、プリンタ101がサポートしているか(プリンタ101で使用可能か)判定する(S904)。S904における判定では、上記の無線設定情報に含まれている、アクセスポイントがサポートする無線規格と、プリンタ101の能力情報に含まれている無線規格が比較される。S904でYesと判断された場合、PC100はスペック確認処理を終了する(S905)。   If Yes is determined in S903, the PC 100 performs the following determination (S904). In step S904, the PC 100 determines whether the printer 101 supports the wireless standard (such as 802.11b / g / n) in which the SSID 2 of the access point 132 operates (whether the printer 101 can use the wireless standard) (S904). In the determination in S904, the wireless standard supported by the access point included in the wireless setting information and the wireless standard included in the capability information of the printer 101 are compared. If it is determined to be Yes in S904, the PC 100 ends the specification confirmation processing (S905).

一方、S902、S903、S904のいずれかにおいて、プリンタ101がサポートしていないと判断した場合、各種エラー画面を表示する。S902で非サポートと判断された場合、PC100は、エラー表示として、図6(e)で示す周波数帯非サポートエラー画面(640)を表示(S906)する。これにより、ほかのSSIDの選択をユーザに促す通知が行われる。S903において非サポートと判断された場合、PC100は、図6(f)で示す認証方式・暗号化方式非サポートエラー画面(650)を表示(S907)する。S907による表示により、PC100は、ほかのSSIDの選択、またはアクセスポイント132のSSID2の設定の変更をユーザに促す通知を行う。S904で非サポートと判断された場合、PC100は、エラー表示として、図6(g)で示す無線規格非サポートエラー画面(660)を表示する(S908)。これにより、他のSSIDの選択をユーザに促す通知が行われる。なお、各エラー画面の「戻る」ボタン(641、651、661)を押下することで、PC100はエラー画面を閉じ、処理を終了する(S909、S412)。即ち、プリンタ101が接続失敗エラー(S360)に陥ることを未然に防ぐことが可能となる。   On the other hand, if it is determined in any of S902, S903, and S904 that the printer 101 does not support, various error screens are displayed. If it is determined in S902 that the frequency band is not supported, the PC 100 displays a frequency band non-support error screen (640) shown in FIG. 6E as an error display (S906). As a result, a notification prompting the user to select another SSID is issued. If it is determined in step S903 that the file is not supported, the PC 100 displays an authentication method / encryption method non-support error screen (650) shown in FIG. 6F (S907). By the display in S907, the PC 100 notifies the user to select another SSID or change the setting of the SSID2 of the access point 132. If it is determined in S904 that the wireless standard is not supported, the PC 100 displays a wireless standard non-support error screen (660) shown in FIG. 6G as an error display (S908). As a result, a notification prompting the user to select another SSID is issued. When the "return" button (641, 651, 661) of each error screen is pressed, the PC 100 closes the error screen and ends the processing (S909, S412). That is, it is possible to prevent the printer 101 from falling into a connection failure error (S360).

以上の実施形態によれば、S407、S408に示す処理により、プリンタ101にSSIDやパスワードを含むアクセスポイントの無線プロファイルを送信する前に、PC100でアクセスポイントへの接続確認を行うことができる。そして、例えばユーザがパスワードを誤って入力した場合、無線プロファイルのプリンタ101への送信の前に、図6(c)に示したようにユーザに通知を行うことができる。またS404〜S407に示す処理により、ユーザが入力したSSID、認証方式、暗号化方式が誤っている場合や、所望のアクセスポイントとプリンタ101の無線通信に関する能力情報とが整合しない場合に、ユーザへの通知を行うことができる。   According to the above-described embodiment, the connection to the access point can be confirmed by the PC 100 before transmitting the wireless profile of the access point including the SSID and the password to the printer 101 by the processes shown in S407 and S408. Then, for example, if the user inputs a password by mistake, the user can be notified as shown in FIG. 6C before the wireless profile is transmitted to the printer 101. By the processing shown in S404 to S407, if the SSID, the authentication method, and the encryption method input by the user are incorrect, or if the desired access point and the capability information regarding the wireless communication of the printer 101 do not match, the user is notified. Can be notified.

またプリンタ101への無線設定指示(S309)の前の確認処理により、ユーザへの通知が行われる場合、図6(c)〜図6(h)に示したように、その通知の要因(確認ステップ)により表示内容が異なる。そのため、ユーザは各種情報の再入力やアクセスポイントの再選択を行う場合に、適切な項目について情報の再入力を行い、また適切なアクセスポイントを再選択することができる。なお、S411の後にS403において画面の再表示が行われる場合、図6(c)に示すエラー画面の表示前にユーザにより入力されていた文字や数字、および選択されていた内容が表示される。   When a notification to the user is made by the confirmation processing before the wireless setting instruction (S309) to the printer 101, as shown in FIGS. The displayed contents differ depending on the step). Therefore, when re-inputting various information or re-selecting an access point, the user can re-input information on an appropriate item and can re-select an appropriate access point. When the screen is redisplayed in S403 after S411, the characters and numbers input by the user before the error screen shown in FIG. 6C is displayed, and the selected content are displayed.

さらに、図4に示した処理では、S404におけるSSID存在確認処理の後に、S407におけるAPへの接続試験が行われる。そして、S404においてSSIDが存在しないと判断された場合、S407における処理が行われていない状態で、図6(h)に示すエラー表示が行われる。すなわち、S404においてエラーと判断された場合、S407の処理によって実行されるアクセスポイントにおける認証処理を待たずに、エラー表示が行われる。そのため、ユーザに対してより早くエラーを通知することができる。   Further, in the processing shown in FIG. 4, after the SSID existence confirmation processing in S404, a connection test to the AP in S407 is performed. If it is determined in step S404 that the SSID does not exist, an error display illustrated in FIG. 6H is performed in a state where the processing in step S407 is not performed. That is, if an error is determined in S404, an error display is performed without waiting for the authentication processing at the access point executed by the processing of S407. Therefore, the user can be notified of the error earlier.

また、以上の実施形態において、プリンタ101とPC100とをP2P接続する技術として、無線LANによる無線Ad−hoc接続を例に説明した。その他、USB接続やEthernetケーブル接続、NFC(Near Field radio Communication)などの近距離無線通信が上記の無線Ad−hoc接続として適用されてもよい。また接続、BLE(Bluetooth(登録商標) Low Energy)接続などのP2P接続が本実施形態の無線Ad−hoc接続として適用されてもよい。   In the above-described embodiment, a wireless Ad-hoc connection using a wireless LAN has been described as an example of a technique for performing a P2P connection between the printer 101 and the PC 100. In addition, a short-range wireless communication such as a USB connection, an Ethernet cable connection, and NFC (Near Field radio Communication) may be applied as the wireless Ad-hoc connection. A P2P connection such as a connection or a BLE (Bluetooth (registered trademark) Low Energy) connection may be applied as the wireless Ad-hoc connection of the present embodiment.

[その他の実施例]
なお、本実施形態の機能は以下の構成によっても実現することができる。つまり、本実施形態の処理を行うためのプログラムコードをシステムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)がプログラムコードを実行することによっても達成される。この場合、記憶媒体から読み出されたプログラムコード自体が上述した実施形態の機能を実現することとなり、またそのプログラムコードを記憶した記憶媒体も本実施形態の機能を実現することになる。
[Other Examples]
Note that the function of the present embodiment can also be realized by the following configuration. That is, the present invention is also achieved by supplying a program or a program for performing the processing of the present embodiment to a system or an apparatus and executing the program code by a computer (or CPU or MPU) of the system or the apparatus. In this case, the program code itself read from the storage medium implements the function of the above-described embodiment, and the storage medium storing the program code also implements the function of the present embodiment.

また、本実施形態の機能を実現するためのプログラムコードを、1つのコンピュータ(CPU、MPU)で実行する場合であってもよいし、複数のコンピュータが協働することによって実行する場合であってもよい。さらに、プログラムコードをコンピュータが実行する場合であってもよいし、プログラムコードの機能を実現するための回路等のハードウェアを設けてもよい。またはプログラムコードの一部をハードウェアで実現し、残りの部分をコンピュータが実行する場合であってもよい。   Further, the program code for realizing the functions of the present embodiment may be executed by one computer (CPU, MPU), or may be executed by a plurality of computers working together. Is also good. Furthermore, the program code may be executed by a computer, or hardware such as a circuit for realizing the function of the program code may be provided. Alternatively, a part of the program code may be realized by hardware, and the remaining part may be executed by a computer.

201 CPU
202 ROM
206 RAM
201 CPU
202 ROM
206 RAM

Claims (28)

通信機器と無線通信を行う情報処理装置により実行されるプログラムであって、
所定のアクセスポイントの特定情報を、前記所定のアクセスポイントを介さない所定の通信により前記通信機器から受信する受信工程と、
前記所定のアクセスポイントに関する認証処理で用いられる所定の認証情報として、ユーザによる操作により認証情報を入力する入力工程と、
前記受信工程において受信された特定情報と前記入力工程において入力された認証情報に基づき、前記所定のアクセスポイントとの接続のための接続処理を実行する実行工程と、
前記実行工程における接続処理により前記入力された認証情報を用いた前記認証処理が実行され、且つ前記所定のアクセスポイントとの接続が成功したことに基づいて、前記入力された認証情報を、前記所定の通信により前記通信機器に送信する送信工程と、
を前記情報処理装置に実行させ、
前記送信工程では、前記所定のアクセスポイントとの接続が成功しなかった場合、前記入力された認証情報を、前記所定の通信により前記通信機器に送信せず、
前記通信機器は、前記送信工程において前記認証情報が送信されたことに基づいて、前記認証情報を用いて前記所定のアクセスポイントと接続することを特徴とするプログラム。
A program executed by an information processing device that performs wireless communication with a communication device,
A receiving step of receiving specific information of a predetermined access point from the communication device by predetermined communication not via the predetermined access point,
An input step of inputting authentication information by a user operation, as predetermined authentication information used in authentication processing regarding the predetermined access point,
Based on the specific information received in the receiving step and the authentication information input in the input step, an execution step of executing a connection process for connection with the predetermined access point,
The authentication processing using the input authentication information is executed by the connection processing in the execution step, and based on the success of the connection with the predetermined access point, the input authentication information is replaced with the predetermined authentication information. A transmitting step of transmitting to the communication device by communication of,
Causes the information processing apparatus to execute,
In the transmitting step, if the connection with the predetermined access point is not successful, the input authentication information is not transmitted to the communication device by the predetermined communication,
The program, wherein the communication device connects to the predetermined access point using the authentication information based on the transmission of the authentication information in the transmitting step.
通信機器と無線通信を行う情報処理装置により実行されるプログラムであって、
無線通信に関する無線設定情報として、接続処理が行われるアクセスポイントとして選択された所定のアクセスポイントに関する第1の無線設定情報を取得する取得工程と、
前記取得工程において取得された第1の無線設定情報と、前記無線設定情報としてユーザにより入力された第2の無線設定情報とが対応しないことに基づいて、所定の画面を表示する表示工程と、
前記所定のアクセスポイントに関する認証処理で用いられる認証情報に基づき、前記所定のアクセスポイントとの接続のための接続処理を実行する実行工程と、
前記実行工程における接続処理により前記認証情報を用いた前記認証処理が実行され、且つ前記アクセスポイントとの接続が成功したことに基づいて、前記認証情報を前記通信機器に送信する送信工程と、
を前記情報処理装置に実行させ、
前記通信機器は、前記送信工程において前記認証情報が送信されたことに基づいて、前記認証情報を用いて前記所定のアクセスポイントと接続することを特徴とするプログラム。
A program executed by an information processing device that performs wireless communication with a communication device,
An obtaining step of obtaining, as wireless setting information relating to wireless communication, first wireless setting information relating to a predetermined access point selected as an access point where connection processing is performed ;
A display step of displaying a predetermined screen based on the fact that the first wireless setting information obtained in the obtaining step does not correspond to the second wireless setting information input by the user as the wireless setting information,
An execution step of executing a connection process for connecting to the predetermined access point, based on authentication information used in the authentication process for the predetermined access point;
A transmission step of transmitting the authentication information to the communication device based on the fact that the authentication processing using the authentication information is executed by the connection processing in the execution step, and that the connection with the access point is successful;
Causes the information processing apparatus to execute,
The program, wherein the communication device connects to the predetermined access point using the authentication information based on the transmission of the authentication information in the transmitting step.
前記所定のアクセスポイントの特定情報を、前記所定のアクセスポイントを介さない所定の通信により前記通信機器から受信する受信工程と、
前記所定のアクセスポイントに関する認証処理で用いられる所定の認証情報として、ユーザによる操作により認証情報を入力する入力工程と、
を前記情報処理装置にさらに実行させ、
前記実行工程では、前記受信工程において受信された特定情報と前記入力工程において入力された認証情報に基づき、前記所定のアクセスポイントとの接続のための接続処理を実行することを特徴とする請求項2に記載のプログラム。
A receiving step of receiving the specific information of the predetermined access point from the communication device by predetermined communication that does not pass through the predetermined access point,
An input step of inputting authentication information by a user operation, as predetermined authentication information used in authentication processing regarding the predetermined access point,
Is further executed by the information processing apparatus,
In the execution step, based on the specific information received in the receiving step and the authentication information input in the input step, a connection process for connecting to the predetermined access point is executed. 2. The program according to 2.
前記受信工程では、複数のアクセスポイントの特定情報が受信され、
前記所定のアクセスポイントは、前記複数のアクセスポイントのうちの、ユーザにより選択されたアクセスポイントであることを特徴とする請求項1または3に記載のプログラム。
In the receiving step, identification information of a plurality of access points is received,
The program according to claim 1, wherein the predetermined access point is an access point selected by a user from the plurality of access points.
前記実行工程における接続処理により前記所定のアクセスポイントとの接続が行われなかった場合、第1のエラー画面を表示する第1のエラー表示工程を前記情報処理装置にさらに実行させることを特徴とする請求項1乃至4のいずれか1項に記載のプログラム。   When the connection with the predetermined access point is not performed by the connection processing in the execution step, the information processing apparatus is further caused to execute a first error display step of displaying a first error screen. The program according to claim 1. ユーザが前記認証情報として文字または数字を入力するための入力画面を表示する入力画面表示工程を前記情報処理装置にさらに実行させ、
前記入力工程では、前記入力画面表示工程において表示された前記入力画面において認証情報が入力され、
前記入力された認証情報を用いた前記実行工程における前記接続処理により、前記所定のアクセスポイントとの接続が行われなかった場合、前記入力画面表示工程において前記入力画面が再び表示されることを特徴とする請求項1または3または4に記載のプログラム。
Causing the information processing apparatus to further execute an input screen display step of displaying an input screen for a user to input a character or a number as the authentication information,
In the input step, authentication information is input on the input screen displayed in the input screen display step,
When the connection with the predetermined access point is not performed by the connection processing in the execution step using the input authentication information, the input screen is displayed again in the input screen display step. The program according to claim 1 or 3, wherein
ユーザによる指示に基づいて、前記実行工程において前記接続処理を実行させるアクセスポイントの特定情報を決定する決定工程を前記情報処理装置にさらに実行させ、
前記所定のアクセスポイントは、前記決定工程において決定された特定情報に対応するアクセスポイントであることを特徴とする請求項1乃至6のいずれか1項に記載のプログラム。
Based on an instruction from a user, the information processing apparatus further executes a determination step of determining identification information of an access point to execute the connection processing in the execution step,
The program according to claim 1, wherein the predetermined access point is an access point corresponding to the specific information determined in the determining step.
前記決定工程では、ユーザにより入力された文字に対応する特定情報を前記所定のアクセスポイントの特定情報として決定することを特徴とする請求項7に記載のプログラム。   8. The program according to claim 7, wherein in the determining step, specific information corresponding to a character input by a user is determined as specific information of the predetermined access point. 前記情報処理装置が接続されていたアクセスポイントの第1の特定情報と認証情報を前記情報処理装置に記憶する記憶工程を前記情報処理装置にさらに実行させ、
前記受信工程において受信された第2の特定情報が、前記記憶工程において記憶された前記第1の特定情報に対応する場合、前記実行工程における前記接続処理は行われずに、前記送信工程では、前記記憶工程において記憶された前記認証情報を送信することを特徴とする請求項1または3または4に記載のプログラム。
Causing the information processing apparatus to further execute a storage step of storing the first specific information and the authentication information of the access point to which the information processing apparatus was connected in the information processing apparatus;
In a case where the second specific information received in the receiving step corresponds to the first specific information stored in the storing step, the connection processing in the executing step is not performed, and in the transmitting step, The program according to claim 1, wherein the authentication information stored in the storage step is transmitted.
前記受信工程では、前記情報処理装置が接続されていたアクセスポイントとの無線接続を切断し、前記通信機器との無線接続を行うことにより、前記特定情報を前記通信機器から受信することを特徴とする請求項9に記載のプログラム。   In the receiving step, by disconnecting a wireless connection with an access point to which the information processing apparatus was connected, and performing a wireless connection with the communication device, receiving the specific information from the communication device, The program according to claim 9, which performs the program. 前記送信工程における前記認証情報の前記通信機器への送信の後に、前記通信機器を探索する探索工程を前記情報処理装置にさらに実行させることを特徴とする請求項1または3または4に記載のプログラム。   The program according to claim 1, further comprising causing the information processing apparatus to further execute a search step of searching for the communication device after transmitting the authentication information to the communication device in the transmission step. . 前記受信工程では、前記通信機器の識別情報を前記通信機器からさらに受信し、
前記探索工程では、前記識別情報を用いて、前記送信工程において送信された前記認証情報に対応する前記所定のアクセスポイントを介して、前記通信機器を探索することを特徴とする請求項11に記載のプログラム。
In the receiving step, further receives the identification information of the communication device from the communication device,
The method according to claim 11, wherein in the search step, the communication device is searched for, using the identification information, via the predetermined access point corresponding to the authentication information transmitted in the transmission step. Program.
前記探索工程において、前記通信機器が検出されなかった場合、第2のエラー画面を表示する第2のエラー画面表示工程を前記情報処理装置にさらに実行させることを特徴とする請求項11または12に記載のプログラム。   13. The information processing apparatus according to claim 11, further comprising, when the communication device is not detected in the search step, causing the information processing apparatus to further execute a second error screen display step of displaying a second error screen. The described program. 前記第2のエラー画面表示工程において、前記第2のエラー画面は、前記実行工程における接続処理が行われていない状態で表示されることを特徴とする請求項13に記載のプログラム。   14. The program according to claim 13, wherein in the second error screen display step, the second error screen is displayed in a state where the connection process in the execution step is not performed. 前記無線設定情報は、無線LANの暗号化方式と認証方式の少なくとも一方を含むことを特徴とする請求項2に記載のプログラム。   The program according to claim 2, wherein the wireless setting information includes at least one of an encryption method and an authentication method of a wireless LAN. 無線通信に関する前記通信機器の能力情報を確認する確認工程と、
前記確認工程において確認された能力情報と、前記取得工程において取得された前記第1の無線設定情報とが対応しないことに基づいて、第3のエラー画面を表示する第3のエラー画面表示工程と、
をさらに前記情報処理装置に実行させることを特徴とする請求項2または15に記載のプログラム。
A confirmation step of confirming capability information of the communication device regarding wireless communication,
A third error screen display step of displaying a third error screen based on the fact that the capability information confirmed in the confirmation step and the first wireless setting information acquired in the acquisition step do not correspond to each other; ,
16. The program according to claim 2, further causing the information processing apparatus to execute the following.
前記確認工程では、前記通信機器とのPeer to Peer接続によって前記能力情報を前記通信機器から取得することで、前記能力情報を確認することを特徴とする請求項16に記載のプログラム。   17. The program according to claim 16, wherein in the checking step, the capability information is confirmed by acquiring the capability information from the communication device through a peer-to-peer connection with the communication device. 前記第3のエラー画面表示工程では、前記能力情報が含む、無線通信で使用される周波数帯と、前記第1の無線設定情報が含む、無線通信で使用される周波数帯とが対応しないことに基づいて、前記第3のエラー画面を表示することを特徴とする請求項16または17に記載のプログラム。   In the third error screen display step, a frequency band used in wireless communication included in the capability information does not correspond to a frequency band used in wireless communication included in the first wireless setting information. The program according to claim 16, wherein the third error screen is displayed based on the third error screen. 前記送信工程では、前記通信機器と前記情報処理装置による無線LANによる通信により前記認証情報が送信され、前記通信機器は、前記認証情報を用いて前記アクセスポイントと無線LANにより接続することを特徴とする請求項1乃至18のいずれか1項に記載のプログラム。   In the transmitting step, the authentication information is transmitted by wireless LAN communication between the communication device and the information processing device, and the communication device is connected to the access point by wireless LAN using the authentication information. The program according to any one of claims 1 to 18, which executes the program. 前記送信工程では、前記通信機器と前記情報処理装置によるBLEによる通信により前記認証情報が送信され、前記通信機器は、前記認証情報を用いて前記アクセスポイントと無線LANにより接続することを特徴とする請求項1乃至18のいずれか1項に記載のプログラム。   In the transmitting step, the authentication information is transmitted by BLE communication between the communication device and the information processing device, and the communication device connects to the access point by wireless LAN using the authentication information. The program according to any one of claims 1 to 18. 前記通信機器は、画像を印刷するプリンタであることを特徴とする請求項1乃至20のいずれか1項に記載のプログラム。   21. The program according to claim 1, wherein the communication device is a printer that prints an image. 前記受信工程では、前記特定情報を、前記通信機器と前記情報処理装置のPeer to Peer接続を介して受信することを特徴とする請求項1または3または請求項1に従属する請求項4乃至21のいずれか1項に記載のプログラム。 22. The method according to claim 19 , wherein in the receiving step, the specific information is received via a peer-to-peer connection between the communication device and the information processing apparatus. The program according to any one of the above. 前記所定の通信は無線LANによる通信であることを特徴とする請求項1または3または請求項1に従属する請求項4乃至22のいずれか1項に記載のプログラム。 The program according to any one of claims 4 to 22, wherein the predetermined communication is communication by a wireless LAN. 前記所定の通信はBLEによる通信であることを特徴とする請求項1または3または請求項1に従属する請求項4乃至22のいずれか1項に記載のプログラム。 The program according to any one of claims 4 to 22, wherein the predetermined communication is communication by BLE. 通信機器と、前記通信機器と無線通信を行う情報処理装置を含む通信システムにおける通信方法であって、
前記情報処理装置が、所定のアクセスポイントの特定情報を、前記所定のアクセスポイントを介さない所定の通信により前記通信機器から受信する受信工程と、
前記情報処理装置が、前記所定のアクセスポイントに関する認証処理で用いられる所定の認証情報として、ユーザによる操作により認証情報を入力する入力工程と、
前記情報処理装置が、前記受信工程において受信された特定情報と前記入力工程において入力された認証情報に基づき、前記所定のアクセスポイントとの接続のための接続処理を実行する第1の実行工程と、
前記第1の実行工程における接続処理により前記入力された認証情報を用いた前記認証処理が実行され、且つ前記所定のアクセスポイントとの接続が成功したことに基づいて、前記情報処理装置が前記認証情報を、前記所定の通信により前記通信機器に送信する送信工程と、
前記通信機器が、前記送信工程において前記認証情報が送信されたことに基づいて、前記認証情報を用いて前記所定のアクセスポイントと接続するための接続処理を実行する第2の実行工程と、
を有し、
前記送信工程では、前記所定のアクセスポイントとの接続が成功しなかった場合、前記入力された認証情報を、前記所定の通信により前記通信機器に送信しないことを特徴とする通信方法。
A communication method in a communication system including a communication device and an information processing device performing wireless communication with the communication device,
A receiving step in which the information processing apparatus receives specific information of a predetermined access point from the communication device by predetermined communication not via the predetermined access point;
An input step in which the information processing apparatus inputs authentication information by a user operation as predetermined authentication information used in authentication processing regarding the predetermined access point,
A first execution step in which the information processing apparatus executes a connection process for connecting to the predetermined access point based on the specific information received in the reception step and the authentication information input in the input step; ,
The authentication processing using the input authentication information is executed by the connection processing in the first execution step, and the information processing apparatus performs the authentication based on the success of the connection with the predetermined access point. Transmitting information to the communication device by the predetermined communication,
A second execution step of performing a connection process for connecting to the predetermined access point using the authentication information, based on the authentication information being transmitted in the transmission step,
Has,
The communication method, wherein in the transmitting step, when the connection with the predetermined access point is not successful, the input authentication information is not transmitted to the communication device by the predetermined communication.
通信機器と、前記通信機器と無線通信を行う情報処理装置を含む通信システムにおける通信方法であって、
前記情報処理装置が、無線通信に関する無線設定情報として、接続処理が行われるアクセスポイントとして選択された所定のアクセスポイントに関する第1の無線設定情報を取得する取得工程と、
前記情報処理装置が、前記取得工程において取得された第1の無線設定情報と、前記無線設定情報としてユーザにより入力された第2の無線設定情報とが対応しないことに基づいて、所定の画面を表示する表示工程と、
前記情報処理装置が、前記所定のアクセスポイントに関する認証処理で用いられる認証情報に基づき、前記所定のアクセスポイントとの接続のための接続処理を実行する第1の実行工程と、
前記情報処理装置が、前記第1の実行工程における接続処理により前記認証情報を用いた前記認証処理が実行され、且つ前記アクセスポイントとの接続が成功したことに基づいて、前記認証情報を前記通信機器に送信する送信工程と、
前記通信機器が、前記送信工程において前記認証情報が送信されたことに基づいて、前記認証情報を用いて前記所定のアクセスポイントと接続するための接続処理を実行する第2の実行工程と、
を有することを特徴とする通信方法。
A communication method in a communication system including a communication device and an information processing device performing wireless communication with the communication device,
An acquisition step in which the information processing apparatus acquires first wireless setting information related to a predetermined access point selected as an access point to which connection processing is performed , as wireless setting information related to wireless communication;
The information processing apparatus displays a predetermined screen based on the fact that the first wireless setting information acquired in the acquiring step does not correspond to the second wireless setting information input by the user as the wireless setting information. A display step to display;
A first execution step of performing a connection process for connecting to the predetermined access point, based on authentication information used in an authentication process for the predetermined access point,
The information processing apparatus communicates the authentication information based on the fact that the authentication processing using the authentication information is executed by the connection processing in the first execution step and the connection with the access point is successful. A transmitting step of transmitting to the device;
A second execution step of performing a connection process for connecting to the predetermined access point using the authentication information, based on the authentication information being transmitted in the transmission step,
A communication method comprising:
通信機器と、前記通信機器と無線通信を行う情報処理装置を含む通信システムであって、
前記情報処理装置は、
所定のアクセスポイントの特定情報を、前記所定のアクセスポイントを介さない所定の通信により前記通信機器から受信する受信手段と、
前記アクセスポイントに関する認証処理で用いられる所定の認証情報として、ユーザによる操作により認証情報を入力する入力手段と、
前記受信手段により受信された特定情報と前記入力手段により入力された認証情報に基づき、前記所定のアクセスポイントとの接続のための接続処理を実行する第1の実行手段と、
前記第1の実行手段による接続処理により前記入力された認証情報を用いた前記認証処理が実行され、且つ前記所定のアクセスポイントとの接続が成功したことに基づいて、前記入力された認証情報を、前記所定の通信により前記通信機器に送信する送信手段と、
を有し、
前記通信機器は、
前記送信手段により前記認証情報が送信されたことに基づいて、前記認証情報を用いて前記所定のアクセスポイントと接続するための接続処理を実行する第2の実行手段を有し、
前記送信手段は、前記所定のアクセスポイントとの接続が成功しなかった場合、前記入力された認証情報を、前記所定の通信により前記通信機器に送信しないことを特徴とする通信システム。
A communication device, a communication system including an information processing device that performs wireless communication with the communication device,
The information processing device,
Receiving means for receiving specific information of a predetermined access point from the communication device by predetermined communication not via the predetermined access point,
As predetermined authentication information used in the authentication process for the access point, input means for inputting authentication information by a user operation,
First execution means for executing connection processing for connection with the predetermined access point based on the identification information received by the reception means and the authentication information input by the input means;
The authentication processing using the input authentication information is executed by the connection processing by the first execution means, and based on the success of the connection with the predetermined access point, the input authentication information is Transmitting means for transmitting to the communication device by the predetermined communication,
Has,
The communication device,
Based on the fact that the authentication information has been transmitted by the transmission means, has a second execution means for executing a connection process for connecting to the predetermined access point using the authentication information,
The communication system, wherein the transmission unit does not transmit the input authentication information to the communication device by the predetermined communication when the connection with the predetermined access point is not successful.
通信機器と、前記通信機器と無線通信を行う情報処理装置を含む通信システムであって、
前記情報処理装置は、
無線通信に関する無線設定情報として、接続処理が行われるアクセスポイントとして選択された所定のアクセスポイントに関する第1の無線設定情報を取得する取得手段と、
前記取得手段により取得された第1の無線設定情報と、前記無線設定情報としてユーザにより入力された第2の無線設定情報とが対応しないことに基づいて、所定の画面を表示する表示手段と、
前記所定のアクセスポイントに関する認証処理で用いられる認証情報に基づき、前記所定のアクセスポイントとの接続のための接続処理を実行する第1の実行手段と、
前記第1の実行手段による接続処理により前記認証情報を用いた前記認証処理が実行され、且つ前記アクセスポイントとの接続が成功したことに基づいて、前記認証情報を前記通信機器に送信する送信手段と、
を有し、
前記通信機器は、
前記送信手段により前記認証情報が送信されたことに基づいて、前記認証情報を用いて前記所定のアクセスポイントと接続するための接続処理を実行する第2の実行手段を有することを特徴とする通信システム。
A communication device, a communication system including an information processing device that performs wireless communication with the communication device,
The information processing device,
Obtaining means for obtaining, as wireless setting information regarding wireless communication, first wireless setting information regarding a predetermined access point selected as an access point to which connection processing is performed ;
Display means for displaying a predetermined screen based on the fact that the first wireless setting information obtained by the obtaining means does not correspond to the second wireless setting information input by the user as the wireless setting information,
First execution means for executing connection processing for connection with the predetermined access point based on authentication information used in authentication processing regarding the predetermined access point;
Transmitting means for transmitting the authentication information to the communication device based on the fact that the authentication processing using the authentication information is executed by the connection processing by the first execution means and the connection with the access point is successful; When,
Has,
The communication device,
A communication unit that performs a connection process for connecting to the predetermined access point using the authentication information based on the transmission of the authentication information by the transmission unit. system.
JP2017094858A 2017-05-11 2017-05-11 Program, communication method, and communication system Active JP6635978B2 (en)

Priority Applications (10)

Application Number Priority Date Filing Date Title
JP2017094858A JP6635978B2 (en) 2017-05-11 2017-05-11 Program, communication method, and communication system
EP18169606.3A EP3402248B1 (en) 2017-05-11 2018-04-26 Program for causing information processing apparatus performing wireless communication with communication apparatus to execute communication method, communication method, and communication system including communication apparatus and information processing apparatus
EP22210317.8A EP4181575A1 (en) 2017-05-11 2018-04-26 Program for causing information processing apparatus performing wireless communication with communication apparatus to execute communication method, communication method, and communication system including communication apparatus and information processing apparatus
EP20201056.7A EP3793262B1 (en) 2017-05-11 2018-04-26 Program for causing information processing apparatus performing wireless communication with communication apparatus to execute communication method, communication method, and communication system including communication apparatus and information processing apparatus
US15/971,764 US10708959B2 (en) 2017-05-11 2018-05-04 Apparatus and method for controlling the use of authentication information in wireless communication for access point
CN202210049504.7A CN114205890A (en) 2017-05-11 2018-05-10 Recording medium, communication method, and information processing apparatus
CN201810442229.9A CN108882343B (en) 2017-05-11 2018-05-10 Recording medium, communication method, and information processing apparatus
KR1020180053535A KR102326224B1 (en) 2017-05-11 2018-05-10 Recording medium storing program for causing information processing apparatus performing wireless communication with communication apparatus to execute communication method, communication method, and information processing apparatus
US16/878,489 US11432145B2 (en) 2017-05-11 2020-05-19 Recording medium storing program for causing information processing apparatus performing wireless communication with communication apparatus to execute communication method, communication method, and information processing apparatus
US17/865,795 US20220353681A1 (en) 2017-05-11 2022-07-15 Recording medium storing program for causing information processing apparatus performing wireless communication with communication apparatus to execute communication method, communication method, and information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017094858A JP6635978B2 (en) 2017-05-11 2017-05-11 Program, communication method, and communication system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2019228206A Division JP7214617B2 (en) 2019-12-18 2019-12-18 Programs, communication methods and communication systems

Publications (2)

Publication Number Publication Date
JP2018191252A JP2018191252A (en) 2018-11-29
JP6635978B2 true JP6635978B2 (en) 2020-01-29

Family

ID=62165334

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017094858A Active JP6635978B2 (en) 2017-05-11 2017-05-11 Program, communication method, and communication system

Country Status (5)

Country Link
US (3) US10708959B2 (en)
EP (3) EP3793262B1 (en)
JP (1) JP6635978B2 (en)
KR (1) KR102326224B1 (en)
CN (2) CN108882343B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6635978B2 (en) 2017-05-11 2020-01-29 キヤノン株式会社 Program, communication method, and communication system
CN110312293B (en) * 2018-03-27 2022-04-08 精工爱普生株式会社 Terminal device, wireless communication apparatus, system including the same, and storage medium
JP7159803B2 (en) * 2018-11-16 2022-10-25 セイコーエプソン株式会社 Terminal device, wireless connection control method and wireless connection control program
US11435968B2 (en) 2019-09-30 2022-09-06 Canon Kabushiki Kaisha Method for information processing apparatus, information processing apparatus, and method for communication system
CN110662236A (en) * 2019-09-30 2020-01-07 上海趣威文化发展有限公司 Network configuration method, system and device
JP7387390B2 (en) * 2019-10-30 2023-11-28 キヤノン株式会社 Information processing device, communication device, control method and program
JP7418114B2 (en) 2019-11-27 2024-01-19 キヤノン株式会社 Communication device, its control method, and its program
JP2021164065A (en) 2020-03-31 2021-10-11 キヤノン株式会社 Control method, program, and information processing device
JP7459618B2 (en) 2020-03-31 2024-04-02 ブラザー工業株式会社 Program and information processing terminal
JP2022014360A (en) * 2020-07-06 2022-01-19 キヤノン株式会社 Information processing apparatus, control method thereof, and program
CN113031884A (en) * 2021-03-22 2021-06-25 珠海奔图电子有限公司 Method, device and system for configuring image forming device network
JP2023051084A (en) * 2021-09-30 2023-04-11 キヤノン株式会社 Communication device, control method thereof, and program

Family Cites Families (59)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1489502A3 (en) * 2003-06-20 2006-03-08 Canon Kabushiki Kaisha Device and method for enabling the use of a device through a wireless interface.
US7292870B2 (en) * 2003-12-24 2007-11-06 Zipit Wireless, Inc. Instant messaging terminal adapted for Wi-Fi access points
JP4378323B2 (en) 2004-06-30 2009-12-02 キヤノン株式会社 Information processing apparatus, printing apparatus, printing system, setting method, storage medium storing computer-readable program, and program
JP4794910B2 (en) * 2005-05-30 2011-10-19 キヤノン株式会社 System having an electronic device having a plurality of interfaces and a host device, information processing device, electronic device, setup method for the system, control method for the electronic device, setup program, and control program
WO2008023747A1 (en) * 2006-08-23 2008-02-28 Nikon Corporation Electronic camera and server device
JP2008182439A (en) * 2007-01-24 2008-08-07 Fuji Xerox Co Ltd Information processing apparatus, wireless communication equipment, wireless communication system, and wireless setting program
JP4506856B2 (en) * 2008-03-10 2010-07-21 ソニー株式会社 Communication apparatus and communication method
KR20090113033A (en) * 2008-04-25 2009-10-29 삼성전자주식회사 Method and apparatus for setting wireless LAN of device
US20100246416A1 (en) * 2009-03-25 2010-09-30 Amit Sinha Systems and methods for remote testing of wireless lan access points
JP5761993B2 (en) * 2010-12-28 2015-08-12 キヤノン株式会社 Access point search apparatus, access point search method, and program
JP5360104B2 (en) * 2011-03-25 2013-12-04 ブラザー工業株式会社 Information processing program, information processing apparatus, and information processing method
JP5644639B2 (en) * 2011-03-31 2014-12-24 富士通株式会社 Program, system and linkage method
US8631471B2 (en) * 2011-06-13 2014-01-14 Cisco Technology, Inc. Automated seamless reconnection of client devices to a wireless network
JP5101742B1 (en) * 2011-08-23 2012-12-19 シャープ株式会社 COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, CONTROL PROGRAM, RECORDING MEDIUM, AND TELEVISION RECEIVER SYSTEM
KR20130138534A (en) * 2012-06-11 2013-12-19 삼성전자주식회사 Method for testing connection state of wireless network and apparatus thereof
JP5954024B2 (en) * 2012-07-27 2016-07-20 ブラザー工業株式会社 Communication device
JP6368989B2 (en) * 2013-06-11 2018-08-08 ブラザー工業株式会社 Communication device
JP6344893B2 (en) * 2013-07-19 2018-06-20 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
KR102064500B1 (en) * 2013-08-01 2020-01-09 휴렛-팩커드 디벨롭먼트 컴퍼니, 엘.피. Method and Apparatus for managing NFC related services of an image forming apparatus
JP5660241B1 (en) * 2013-09-10 2015-01-28 株式会社リコー Communication system, communication control system, communication apparatus, communication method, and connection program
CN103826323A (en) * 2014-02-26 2014-05-28 深圳市金立通信设备有限公司 Wireless network connection method, terminal and mobile terminal
CN104378758B (en) * 2014-05-12 2016-08-17 腾讯科技(深圳)有限公司 Access point method of attachment, terminal and server
JP6335629B2 (en) * 2014-05-16 2018-05-30 キヤノン株式会社 Communication apparatus, control method, and program
JP2016012910A (en) * 2014-06-06 2016-01-21 キヤノン株式会社 Communication equipment, control method, and program
CN104080194A (en) * 2014-06-25 2014-10-01 扬州芯云智能系统有限公司 Method for wirelessly configuring WIFI access parameters of zero-input terminal equipment through mobile phone
JP2016039592A (en) * 2014-08-11 2016-03-22 富士通株式会社 Information processing apparatus, information processing program and information processing method
KR20160027861A (en) * 2014-09-02 2016-03-10 삼성전자주식회사 Operation Method of communication channel and Electronic device supporting the same
JP6398539B2 (en) * 2014-09-29 2018-10-03 ブラザー工業株式会社 Control device
US9591175B2 (en) * 2014-11-02 2017-03-07 Clover Network, Inc. Connecting a printer and a mobile device using identification information printed by the printer
JP6516491B2 (en) * 2015-01-30 2019-05-22 キヤノン株式会社 Communication apparatus, control method and program
JP6482311B2 (en) * 2015-02-09 2019-03-13 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
CN104683461B (en) * 2015-02-15 2019-08-16 青岛海尔智能家电科技有限公司 A kind of method, device and equipment that device configuration networks
JP6562660B2 (en) * 2015-03-04 2019-08-21 キヤノン株式会社 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
CN104684048B (en) * 2015-03-04 2019-06-04 小米科技有限责任公司 WIFI list shows method and apparatus
JP2016177097A (en) * 2015-03-19 2016-10-06 キヤノン株式会社 Communication device, communication device control method, and display system
CN104812092B (en) * 2015-03-23 2018-09-04 小米科技有限责任公司 A kind of networking methods and device of smart machine
JP6406092B2 (en) * 2015-03-27 2018-10-17 ブラザー工業株式会社 Communication equipment
CN104735814A (en) * 2015-04-10 2015-06-24 三星电子(中国)研发中心 Access method, system and related device for automatically getting access to WiFi network
US9749844B1 (en) * 2015-05-06 2017-08-29 Marvell International Ltd. Systems and methods for provisioning devices for connection to a wireless network
JP6525771B2 (en) * 2015-06-30 2019-06-05 キヤノン株式会社 INFORMATION PROCESSING APPARATUS, CONTROL METHOD, AND PROGRAM
JP6584186B2 (en) * 2015-07-21 2019-10-02 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP2017034560A (en) * 2015-08-04 2017-02-09 セイコーエプソン株式会社 Radio communication apparatus, radio communication method, and program
JP6589449B2 (en) * 2015-08-07 2019-10-16 セイコーエプソン株式会社 Wireless communication apparatus, wireless communication system, wireless communication method, and program
JP6584210B2 (en) * 2015-08-10 2019-10-02 キヤノン株式会社 COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP6582760B2 (en) * 2015-09-03 2019-10-02 ブラザー工業株式会社 Communication device
CN105163372A (en) * 2015-09-18 2015-12-16 普联技术有限公司 Network access method and network access device of intelligent household appliance
KR20170034066A (en) * 2015-09-18 2017-03-28 삼성전자주식회사 Electronic device and control method thereof
JP6314951B2 (en) * 2015-10-08 2018-04-25 コニカミノルタ株式会社 Image forming system and program
JP6624888B2 (en) * 2015-10-30 2019-12-25 キヤノン株式会社 Terminal device and program connectable to wireless network
JP6736283B2 (en) * 2015-11-18 2020-08-05 キヤノン株式会社 Printing device, printing device control method, and program
EP3397018B1 (en) * 2015-12-24 2021-11-10 Sony Group Corporation Information processing method, program, and information processing system
JP6682862B2 (en) * 2016-01-13 2020-04-15 セイコーエプソン株式会社 Wireless communication terminal, wireless communication system, and wireless communication program
JP6184580B1 (en) * 2016-01-29 2017-08-23 キヤノン株式会社 Information processing apparatus, control method, and program
EP3941106B1 (en) * 2016-03-18 2023-05-03 Plume Design, Inc. Cloud-based control of a wi-fi network
JP6666765B2 (en) * 2016-03-24 2020-03-18 キヤノン株式会社 Communication device, control method therefor, and program
JP6407190B2 (en) * 2016-03-24 2018-10-17 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP6562867B2 (en) * 2016-03-31 2019-08-21 キヤノン株式会社 Information processing apparatus, control method, and program
JP6745628B2 (en) * 2016-03-31 2020-08-26 キヤノン株式会社 Information processing apparatus, control method, and program
JP6635978B2 (en) 2017-05-11 2020-01-29 キヤノン株式会社 Program, communication method, and communication system

Also Published As

Publication number Publication date
US20200281032A1 (en) 2020-09-03
KR102326224B1 (en) 2021-11-15
US11432145B2 (en) 2022-08-30
US20180332634A1 (en) 2018-11-15
US10708959B2 (en) 2020-07-07
US20220353681A1 (en) 2022-11-03
KR20180124764A (en) 2018-11-21
CN108882343B (en) 2022-01-18
CN108882343A (en) 2018-11-23
EP3793262A1 (en) 2021-03-17
EP4181575A1 (en) 2023-05-17
EP3793262B1 (en) 2022-12-07
CN114205890A (en) 2022-03-18
JP2018191252A (en) 2018-11-29
EP3402248A1 (en) 2018-11-14
EP3402248B1 (en) 2020-12-09

Similar Documents

Publication Publication Date Title
JP6635978B2 (en) Program, communication method, and communication system
JP6368989B2 (en) Communication device
US9106308B2 (en) Wireless communication device
JP5302144B2 (en) Wireless network selection device
GB2542688B (en) Communication apparatus and control method thereof
JP6069939B2 (en) Wireless communication device, communication setting method, and communication setting program
JP6746426B2 (en) Information processing apparatus, control method of information processing apparatus, and program
US11435968B2 (en) Method for information processing apparatus, information processing apparatus, and method for communication system
JP5693350B2 (en) Communication device, control method, and program
WO2020085019A1 (en) Communication device, control method of communication device, and program
JP7214617B2 (en) Programs, communication methods and communication systems
JP7016705B2 (en) Communication equipment, communication systems, information processing methods and programs
JP5637279B2 (en) Wireless communication device
JP7450440B2 (en) Communication system, program, information processing device, and method
JP2023088109A (en) Program, communication device, and information processing apparatus
JP2021182668A (en) Information processing apparatus, control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180425

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190301

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190312

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190510

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190625

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190823

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: 20191119

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191217

R151 Written notification of patent or utility model registration

Ref document number: 6635978

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151