JP5203991B2 - Communication device, communication parameter setting method, program - Google Patents

Communication device, communication parameter setting method, program Download PDF

Info

Publication number
JP5203991B2
JP5203991B2 JP2009017125A JP2009017125A JP5203991B2 JP 5203991 B2 JP5203991 B2 JP 5203991B2 JP 2009017125 A JP2009017125 A JP 2009017125A JP 2009017125 A JP2009017125 A JP 2009017125A JP 5203991 B2 JP5203991 B2 JP 5203991B2
Authority
JP
Japan
Prior art keywords
parameter setting
setting
setting function
parameter
function
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
JP2009017125A
Other languages
Japanese (ja)
Other versions
JP2010177927A5 (en
JP2010177927A (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 JP2009017125A priority Critical patent/JP5203991B2/en
Publication of JP2010177927A publication Critical patent/JP2010177927A/en
Publication of JP2010177927A5 publication Critical patent/JP2010177927A5/ja
Application granted granted Critical
Publication of JP5203991B2 publication Critical patent/JP5203991B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本発明は、通信技術に関し、特に、通信パラメータを設定する際に、使用するパラメータ設定方式を自動選択する通信装置、通信パラメータの設定方法およびプログラムに関する。   The present invention relates to a communication technique, and more particularly to a communication apparatus, a communication parameter setting method, and a program for automatically selecting a parameter setting method to be used when setting communication parameters.

無線LAN通信のパラメータの設定方式には、In-band方式とOOB方式とが存在する。ここで、In-band方式は無線LANを使いパラメータ設定を行う方式である。OOB方式は無線LANではなく、近距離通信又はパラメータ設定に必要な設定ファイルを有するデバイスを挿入することによってパラメータ設定を行う方式である。   The wireless LAN communication parameter setting method includes an in-band method and an OOB method. Here, the In-band method is a method for setting parameters using a wireless LAN. The OOB method is not a wireless LAN, but is a method for setting parameters by inserting a device having a setting file necessary for short-range communication or parameter setting.

例えば、特許文献1では、着脱できるメディア内にOOB方式のパラメータ設定を行うための設定ファイルが存在すれば、OOB方式の設定を実行する方法が開示されている。
特開2004−13718号公報
For example, Patent Document 1 discloses a method for executing OOB method setting when a setting file for performing OOB method parameter setting exists in a removable medium.
Japanese Patent Laid-Open No. 2004-13718

しかしながら、OOB方式、In-band方式などの複数の設定方式によるパラメータ設定が可能な従来の通信装置では、どのパラメータ設定機能を使用するか自動選択するための基準が定められていなかった。例えば、複数の設定方式によるパラメータ設定が可能な通信装置において、ユーザはいずれかの設定方式のパラメータ設定を実行するかを選択しなければならない。その為、パラメータ設定方式に詳しくないユーザは、セキュリティが高いOOB方式が選択可能な場合であっても、In-band方式を選択してしまう場合がある。また、手動選択のためユーザの負担も大きい。   However, in a conventional communication apparatus capable of parameter setting by a plurality of setting methods such as the OOB method and the In-band method, a criterion for automatically selecting which parameter setting function is used is not defined. For example, in a communication device capable of parameter setting by a plurality of setting methods, the user must select whether to perform parameter setting of any setting method. Therefore, a user who is not familiar with the parameter setting method may select the In-band method even when the OOB method with high security can be selected. In addition, the burden on the user is heavy because of manual selection.

更に、パラメータ設定の自動選択を実現する為に、ユーザインターフェースにおいて、複数のパラメータ設定方式を指定すると、次のような問題が生じる可能性がある。例えば、In-band方式のパラメータ設定を実行中に、ユーザがパラメータ設定に関係ないデータを読み込むために、OOB方式に対応可能なデバイスを挿入したとする。その時、OOB方式に対応可能なデバイス内に、以前にOOB方式のパラメータ設定を行った際に使用された設定ファイルが残っていると、古い設定ファイルを用いたOOB方式の設定処理が起動する。そして、In-band方式で設定されたパラメータがOOB方式の古い設定ファイルの内容で上書きされてしまうという問題が生じる。   Furthermore, if a plurality of parameter setting methods are specified in the user interface in order to realize automatic selection of parameter settings, the following problems may occur. For example, it is assumed that the user inserts a device compatible with the OOB method in order to read data not related to the parameter setting while executing the parameter setting of the In-band method. At that time, if the setting file used when the parameter setting of the OOB method has been previously performed remains in the device that is compatible with the OOB method, the setting process of the OOB method using the old setting file is started. Then, there arises a problem that the parameters set in the In-band method are overwritten with the contents of the old setting file in the OOB method.

また、設定ファイルを用いてパラメータを設定しても、周辺にその設定ファイルを用いてパラメータを共有するように構築されたネットワークが存在しなければ、自デバイスが孤立してしまうという問題も生じる。   In addition, even if parameters are set using a setting file, there is a problem that if the network constructed so as to share parameters using the setting file does not exist in the vicinity, the device itself is isolated.

本発明は前記課題を解決するものであり、本発明は、OOB方式とIn-band方式との自動選択を行うことが可能な無線通信技術の提供を第一の目的とする。   The present invention solves the above-mentioned problems, and a first object of the present invention is to provide a wireless communication technique capable of automatically selecting an OOB method or an in-band method.

古い設定ファイルが残っているデバイスにアクセスして、意図しないタイミングでOOB方式の設定処理が起動することを防ぎ、設定ファイルの上書きを防止することが可能な技術の提供を第二の目的とする。   The second purpose is to provide a technology capable of preventing an OOB method setting process from being started at an unintended timing by accessing a device in which an old setting file remains, and preventing the setting file from being overwritten. .

また、設定ファイルを用いてOOB方式の設定を行い、ネットワーク接続を行った場合に、自デバイスが孤立することを防ぐことが可能な無線通信技術の提供を第三の目的とする。   A third object of the present invention is to provide a wireless communication technique capable of preventing the device itself from being isolated when the OOB method is set using a setting file and a network connection is made.

上記の目的の少なくともいずれか一つを達成する本発明に係る通信装置は、第1の方式により通信パラメータを設定する第1のパラメータ設定機能と、前記第1の方式とは異なる第2の方式により通信パラメータを設定する第2のパラメータ設定機能と、を有する通信装置であって、前記第2のパラメータ設定機能を用いたパラメータ設定の要求を受信する要求受信手段と、前記要求受信手段により前記パラメータ設定の要求を受信した際に、前記第2のパラメータ設定機能に必要な設定ファイルを取得する取得手段と、前記取得手段で取得された前記設定ファイルが作成されたときを示す情報と、格納手段に格納されている設定ファイルの使用履歴情報とを比較する比較手段と、前記比較手段による比較結果に応じて、前記第1のパラメータ設定機能または前記第2のパラメータ設定機能のいずれか一方を選択する選択手段と、前記選択手段により選択されたパラメータ設定機能を用いて、パラメータ設定を実行する設定手段と、を有することを特徴とする。 A communication apparatus according to the present invention that achieves at least one of the above objects includes a first parameter setting function for setting communication parameters according to the first method, and a second method different from the first method. A communication device having a second parameter setting function for setting a communication parameter by a request receiving means for receiving a parameter setting request using the second parameter setting function, and the request receiving means An acquisition unit that acquires a setting file necessary for the second parameter setting function when a parameter setting request is received, information indicating when the setting file acquired by the acquisition unit is created, and storage comparing means for comparing the use history information of the setting file stored in the unit, according to the comparison result by the comparison means, said first parameter A selection unit that selects one of the setting function and the second parameter setting function; and a setting unit that executes parameter setting using the parameter setting function selected by the selection unit. To do.

本発明によれば、OOB方式とIn-band方式との自動選択を行うことが可能になる。   According to the present invention, it is possible to perform automatic selection between the OOB method and the In-band method.

古い設定ファイルが残っているデバイスにアクセスして、意図しないタイミングでOOB方式の設定処理が起動することを防ぎ、設定ファイルの上書きを防止することが可能になる。   It is possible to prevent an OOB method setting process from starting at an unintended timing by accessing a device in which an old setting file remains, and to prevent the setting file from being overwritten.

また、設定ファイルを用いてOOB方式の設定を行い、ネットワーク接続を行った場合に、自デバイスが孤立することを防ぐことが可能になる。   In addition, when the OOB method is set using a setting file and a network connection is made, it is possible to prevent the own device from being isolated.

以下、図面を参照して、本発明の好適な実施形態を例示的に詳しく説明する。ただし、この実施の形態に記載されている構成要素はあくまで例示であり、本発明の技術的範囲は、特許請求の範囲によって確定されるのであって、以下の個別の実施形態によって限定されるわけではない。   Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the drawings. However, the constituent elements described in this embodiment are merely examples, and the technical scope of the present invention is determined by the scope of claims, and is limited by the following individual embodiments. is not.

<実施形態1>
図1は、ネットワークの概略的な構成を示す図である。ネットワークを構成する機器には、プリンタ201、情報処理装置(以下、単に「PC」ともいう)202、カメラ203、UFD204が含まれる。プリンタ201は、複数の通信パラメータ設定方式の中からいずれか1つの通信パラメータ設定方式を選択し、選択した方式を用いて通信パラメータの設定を行う機能を有する通信装置として機能する自動選択機器である。以下、「通信パラメータ」を単にパラメータともいう。PC202はUFD204を用いたパラメータ設定機能であるWCN(Windows(登録商標) Connect Now)をサポートしている。205は、WCNにより設定されたパラメータを用いて構築されたネットワーク(以下、「WCNネットワーク」ともいう)を示す。カメラ203は、無線LANを用いたパラメータ設定機能であるWPS(Wi-Fi Protected Set Up)をサポートしている。UFD204は、WCNのパラメータ設定機能を使用するための設定ファイルを格納する記憶媒体として機能する。プリンタ201は、無線LANを用いたパラメータ設定方式(第1の方式)であるWPS(第1のパラメータ設定機能)と、無線LAN以外を用いたパラメータ設定方式(第2の方式)であるWCN(第2のパラメータ設定機能)とを有する。
<Embodiment 1>
FIG. 1 is a diagram illustrating a schematic configuration of a network. The devices constituting the network include a printer 201, an information processing apparatus (hereinafter also simply referred to as “PC”) 202, a camera 203, and a UFD 204. The printer 201 is an automatic selection device that functions as a communication device having a function of selecting any one communication parameter setting method from among a plurality of communication parameter setting methods and setting the communication parameter using the selected method. . Hereinafter, “communication parameters” are also simply referred to as parameters. The PC 202 supports WCN (Windows (registered trademark) Connect Now), which is a parameter setting function using the UFD 204. Reference numeral 205 denotes a network constructed using parameters set by the WCN (hereinafter also referred to as “WCN network”). The camera 203 supports WPS (Wi-Fi Protected Set Up) which is a parameter setting function using a wireless LAN. The UFD 204 functions as a storage medium that stores a setting file for using the WCN parameter setting function. The printer 201 has a WPS (first parameter setting function) that is a parameter setting method (first method) using a wireless LAN and a WCN (second method) that is a parameter setting method (second method) using a wireless LAN. Second parameter setting function).

尚、本実施形態では、WPSは例示的なパラメータ設定方式であり、In−Band方式、すなわち無線LANを用いたパラメータ設定機能ならば、第1のパラメータ設定機能は、どの方式でも構わない。また、第2のパラメータ設定機能の対象として、WCNを例示しているが、OOB方式、すなわち無線LANを用いないパラメータ設定機能ならば、WCNに限定されずにどの方式でも構わない。また、本実施形態ではUFD204を介して設定ファイルの読み書きなどのやりとりを行うが、この方法に限定されるものではない。例えば、近距離通信(Bluetooth、NFC(Near Field Communication))によって、設定ファイルの読み書きなどのやりとりを行ってもよい。   In this embodiment, WPS is an exemplary parameter setting method, and the first parameter setting function may be any method as long as it is an In-Band method, that is, a parameter setting function using a wireless LAN. Moreover, although WCN is illustrated as an object of the second parameter setting function, any method may be used without being limited to WCN as long as it is an OOB method, that is, a parameter setting function that does not use a wireless LAN. In this embodiment, the setting file is read and written via the UFD 204, but the present invention is not limited to this method. For example, the setting file may be exchanged by short-range communication (Bluetooth, NFC (Near Field Communication)).

次に、自動選択機器のプリンタ201の概略的な構成を図2の参照により説明する。無線通信部101は、ネットワークの検知及びネットワークへの接続等を行うことにより、無線LAN通信を行うことが可能な機能を有する。要求検知部102は、パラメータ設定の要求を検知(受信)する機能(要求受信機能)を持つ。要求検知部102は、設定ファイルが格納されたデバイスが装着を検知すると、パラメータ設定が要求されたと判断する。また、設定ファイルが格納されたデバイスが装着された際に、該デバイスからパラメータ設定要求を送信するようにしてもよい。その場合、要求検知部102は、デバイスからのパラメータ設定要求を受信した際に、パラメータ設定が要求されたと判断する。   Next, a schematic configuration of the printer 201 of the automatic selection device will be described with reference to FIG. The wireless communication unit 101 has a function capable of performing wireless LAN communication by detecting a network and connecting to the network. The request detection unit 102 has a function (request reception function) for detecting (receiving) a parameter setting request. The request detection unit 102 determines that parameter setting has been requested when the device in which the setting file is stored detects attachment. Further, when a device storing the setting file is attached, a parameter setting request may be transmitted from the device. In this case, the request detection unit 102 determines that the parameter setting is requested when receiving the parameter setting request from the device.

パラメータ設定部103は、パラメータ設定を行う機能を有する。履歴記憶部104は、各方式のパラメータ設定を行った際に、使用した設定ファイルの情報を記憶(格納)する機能を有する。履歴記憶部104は、使用された設定ファイルの情報を、パラメータ設定機能ごとに分けて、且つ、使用した最新の設定ファイルの情報を記憶(格納)する。設定ファイル取得部105は、要求検知部102がパラメータ設定の要求があることを検知した時に、そのパラメータ設定機能に必要な設定ファイルを取得する。判断部106は、設定ファイル取得部105により取得された設定ファイルと、履歴記憶部104に記憶(格納)されている情報と、を比較して、比較の結果に基づいて第1、第2のパラメータ設定機能のどちらを用いるかを判断(自動選択)する。決定部107は、判断部106の判断結果を受けて、パラメータ設定機能を切替え、切替えられた方式のパラメータ設定機能に基づきパラメータ設定処理を実行する。パラメータの設定処理が終了すると、設定ファイル取得部105は、決定部107によりパラメータ設定の実行が決定された後に、設定ファイルが作成された作成日時を示す情報を履歴記憶部104に格納して、使用履歴情報を更新する。   The parameter setting unit 103 has a function for setting parameters. The history storage unit 104 has a function of storing (storing) information of a used setting file when parameter setting of each method is performed. The history storage unit 104 divides the used setting file information for each parameter setting function, and stores (stores) the latest used setting file information. When the request detection unit 102 detects that there is a parameter setting request, the setting file acquisition unit 105 acquires a setting file necessary for the parameter setting function. The determination unit 106 compares the setting file acquired by the setting file acquisition unit 105 with the information stored (stored) in the history storage unit 104, and based on the comparison result, the first and second Determine which parameter setting function to use (automatic selection). The determination unit 107 receives the determination result of the determination unit 106, switches the parameter setting function, and executes the parameter setting process based on the parameter setting function of the switched method. When the parameter setting process ends, the setting file acquisition unit 105 stores information indicating the creation date and time when the setting file was created in the history storage unit 104 after the decision unit 107 decides to execute the parameter setting. Update usage history information.

本実施形態では、パラメータ設定機能の自動選択の開始時に、既に、プリンタ201に、デバイス(UFD204)が挿入されている場合を考える。その時に、プリンタ201の判断部106は、第1、第2のパラメータ設定機能の自動選択を行なう。そして、プリンタ201は、選択された方式のパラメータ設定を行って、ネットワークを構成する他のデバイス(PC202又はカメラ203)と接続する。この際、PC202は設定ファイルを用いたWCNネットワーク205を構築しているものとする。   In this embodiment, a case is considered in which a device (UFD 204) is already inserted in the printer 201 at the start of automatic selection of the parameter setting function. At that time, the determination unit 106 of the printer 201 performs automatic selection of the first and second parameter setting functions. Then, the printer 201 performs parameter setting of the selected method and connects to another device (PC 202 or camera 203) configuring the network. At this time, it is assumed that the PC 202 has constructed the WCN network 205 using the setting file.

自動選択機器のプリンタ201におけるパラメータの設定処理の流れを図3のフローチャートを参照して説明する。図3のフローチャートは以下に説明する実施形態2、3の処理と共通の処理を一部に含む。まず、最初にパラメータ設定機能の自動選択処理が開始されると、ステップS301において、プリンタ201はデバイス(UFD204)の検知を行う。ステップS301において、デバイス(UFD204)が検知されたら処理はステップS302に進められる。   The flow of parameter setting processing in the printer 201 of the automatic selection device will be described with reference to the flowchart of FIG. The flowchart in FIG. 3 partially includes processing common to the processing in the second and third embodiments described below. First, when parameter selection function automatic selection processing is started first, in step S301, the printer 201 detects a device (UFD 204). If a device (UFD 204) is detected in step S301, the process proceeds to step S302.

ステップS302において、プリンタ201は第1のパラメータ設定機能のネットワーク検知処理を実行しているか否かを判断する。第1のパラメータ設定機能のネットワーク検知処理が実行されている場合(S302−NO)、プリンタ201はネットワーク検知処理を中断し(S303)、処理はステップS304に進められる。一方、ステップS302の判定において、プリンタ201が第1のパラメータ設定機能を実行して、且ネットワーク検知処理が終了していたら(S302−Yes)、処理はステップS304に進められる。   In step S302, the printer 201 determines whether or not the network detection process of the first parameter setting function is being executed. When the network detection process of the first parameter setting function is being executed (S302-NO), the printer 201 interrupts the network detection process (S303), and the process proceeds to step S304. On the other hand, if it is determined in step S302 that the printer 201 has executed the first parameter setting function and the network detection process has ended (S302-Yes), the process proceeds to step S304.

ステップS304において、第1のパラメータ設定機能の処理が終了しているか否かが判断される。第1のパラメータ設定機能の処理が終了していないと判断される場合(S304―No)、処理はステップS305に進められる。   In step S304, it is determined whether or not the processing of the first parameter setting function has ended. When it is determined that the process of the first parameter setting function has not ended (S304—No), the process proceeds to step S305.

ステップS305において、プリンタ201は、デバイス(UFD204)内に第2のパラメータ設定機能に必要な設定ファイルが存在するか否かを判断する。第2のパラメータ設定機能に必要な設定ファイルがデバイス(UFD204)に存在していたら(S305−Yes)、処理はステップS306に進められる。   In step S305, the printer 201 determines whether a setting file necessary for the second parameter setting function exists in the device (UFD 204). If the setting file necessary for the second parameter setting function exists in the device (UFD 204) (S305-Yes), the process proceeds to step S306.

ステップS306において、設定ファイル取得部105は設定ファイルを読み込む。そして、判断部106は、読み込まれた設定ファイルの作成日時の情報と、履歴記憶部104に記憶(格納)されている使用履歴情報と、の比較を行う。   In step S306, the setting file acquisition unit 105 reads the setting file. Then, the determination unit 106 compares the read setting file creation date / time information with the use history information stored (stored) in the history storage unit 104.

ステップS307において、判断部106は作成日時の情報の比較結果に基づいて、設定ファイルの作成日時の情報が、最も新しいものであるか否か(新規性の有無)を判断する。取得された設定ファイルの作成日時の情報と使用履歴情報とが一致する場合、設定ファイルは従前のパラメータ設定に使用されたものであり、判断部106はその設定ファイルの新規性がないと判断する(S307−No)。一方、ステップS307の判定で、取得された設定ファイルの作成日時の情報と使用履歴情報とが一致しない場合、その設定ファイルには新規性があると判断部106は判断する(S307−Yes)。ステップS307の判断において、設定ファイルに新規性があると判断された場合に(S307−Yes)、処理はステップS308に進められる。   In step S307, the determination unit 106 determines whether or not the setting file creation date / time information is the newest (presence / absence of novelty) based on the comparison result of the creation date / time information. When the acquired creation date and time information of the setting file matches the usage history information, the setting file has been used for the previous parameter setting, and the determination unit 106 determines that the setting file is not new. (S307-No). On the other hand, if it is determined in step S307 that the acquired setting file creation date and time information does not match the usage history information, the determination unit 106 determines that the setting file is novel (S307-Yes). If it is determined in step S307 that the setting file is novel (S307-Yes), the process proceeds to step S308.

ステップS308において、判断部106は、第2のパラメータ設定機能を選択して、決定部107は、選択された第2のパラメータ設定機能に基づいてパラメータ設定を実行する。第1のパラメータ設定機能の処理が中断されていれば、その処理を中断から中止(処理を途中終了)にして、判断部106はUFD204内の設定ファイルを用いた第2のパラメータ設定機能を選択する。判断部106の選択に基づいて決定部107はパラメータ設定を実行する。一方、ステップS307の判断において、設定ファイルの新規性が認められなければ(S307−No)、処理はステップS309に進められる。ステップS309において、先のステップS306で取得された設定ファイルは破棄される。   In step S308, the determination unit 106 selects the second parameter setting function, and the determination unit 107 performs parameter setting based on the selected second parameter setting function. If the processing of the first parameter setting function is interrupted, the processing is stopped from the interruption (processing is terminated halfway), and the determination unit 106 selects the second parameter setting function using the setting file in the UFD 204 To do. Based on the selection by the determination unit 106, the determination unit 107 performs parameter setting. On the other hand, in the determination in step S307, if the novelty of the setting file is not recognized (S307-No), the process proceeds to step S309. In step S309, the setting file acquired in the previous step S306 is discarded.

そして、ステップS310において、判断部106は、UFD204内の設定ファイルを用いた第2のパラメータ設定機能の選択を中止(終了)する。ステップS311において、決定部107は、判断部106による第2のパラメータ設定機能の選択を中止する旨の判断結果を受けて、第1のパラメータ設定機能に切替えてパラメータ設定を実行する。決定部107は、第1のパラメータ設定機能によるパラメータの設定処理が中断されている場合は、中断されているパラメータ設定処理を再開する。   In step S <b> 310, the determination unit 106 stops (ends) selection of the second parameter setting function using the setting file in the UFD 204. In step S311, the determination unit 107 receives the determination result indicating that the selection of the second parameter setting function by the determination unit 106 is cancelled, and switches to the first parameter setting function to execute parameter setting. When the parameter setting process by the first parameter setting function is interrupted, the determination unit 107 resumes the interrupted parameter setting process.

一方、ステップS305において、デバイス(UFD204)内に設定ファイルが存在しなかった場合も(S305−No)、処理はステップS311に進められ、決定部107は、第1のパラメータ設定機能に切替えてパラメータ設定を実行する。決定部107は、第1のパラメータ設定機能によるパラメータの設定処理が中断されている場合、中断されているパラメータ設定処理を再開する。   On the other hand, even if the setting file does not exist in the device (UFD 204) in step S305 (S305-No), the process proceeds to step S311 and the determination unit 107 switches to the first parameter setting function to change the parameter. Perform configuration. When the parameter setting process by the first parameter setting function is interrupted, the determination unit 107 resumes the interrupted parameter setting process.

一方、ステップS304において、第1のパラメータ設定機能の処理が終了していると判断される場合(S304−No)、処理は、ステップS312に進められる。   On the other hand, if it is determined in step S304 that the processing of the first parameter setting function has ended (S304—No), the processing proceeds to step S312.

ステップS312において、デバイス(UFD204)内に第2のパラメータ設定機能に必要な設定ファイルが存在するか否かが判断される。   In step S312, it is determined whether a setting file necessary for the second parameter setting function exists in the device (UFD 204).

ステップS312の判断で、設定ファイルが存在しないと判断される場合(S312−No)、処理はステップS311に進められる。この処理の内容は、先に説明したとおりである。一方、ステップS312の判断において、第2のパラメータ設定機能に必要な設定ファイルがデバイス(UFD204)内に存在すると判断される場合(S312−Yes)、処理はステップS313に進められる。   If it is determined in step S312 that the setting file does not exist (S312—No), the process proceeds to step S311. The contents of this process are as described above. On the other hand, if it is determined in step S312 that the setting file necessary for the second parameter setting function is present in the device (UFD 204) (S312—Yes), the process proceeds to step S313.

ステップS313において、設定ファイル取得部105は設定ファイルを読み込む。そして、判断部106は、読み込まれた設定ファイルの作成日時の情報と、履歴記憶部104に記憶(格納)されている使用履歴情報と、の比較を行う。   In step S313, the setting file acquisition unit 105 reads the setting file. Then, the determination unit 106 compares the read setting file creation date / time information with the use history information stored (stored) in the history storage unit 104.

ステップS314において、判断部106は作成日時の情報の比較結果に基づいて、設定ファイルの作成日時の情報が、最も新しいものであるか否か(新規性の有無)を判断する。取得された設定ファイルの作成日時の情報と使用履歴情報とが一致する場合、設定ファイルは従前のパラメータ設定に使用されたものであり、判断部106はその設定ファイルの新規性がないと判断する(S314−No)。一方、ステップS314の判定で、取得された設定ファイルの作成日時の情報と使用履歴情報とが一致しない場合、その設定ファイルには新規性があると判断部106は判断する(S314−Yes)。ステップS314の判断において、設定ファイルに新規性があると判断された場合に(S314−Yes)、処理はステップS315に進められる。   In step S314, the determination unit 106 determines whether or not the setting file creation date / time information is the newest (presence / absence of novelty) based on the comparison result of the creation date / time information. When the acquired creation date and time information of the setting file matches the usage history information, the setting file has been used for the previous parameter setting, and the determination unit 106 determines that the setting file is not new. (S314-No). On the other hand, if it is determined in step S314 that the created setting file creation date and time information does not match the usage history information, the determination unit 106 determines that the setting file is novel (S314-Yes). If it is determined in step S314 that the setting file is novel (S314-Yes), the process proceeds to step S315.

ステップS315において、判断部106は、デバイス(UFD204)内の設定ファイルを用いた第2のパラメータ設定機能を選択し、決定部107は、選択された第2のパラメータ設定機能に基づいてパラメータ設定を実行する。   In step S315, the determination unit 106 selects the second parameter setting function using the setting file in the device (UFD 204), and the determination unit 107 performs parameter setting based on the selected second parameter setting function. Run.

ステップS314の判断で、新規性がないと判断される場合(S314−No)、処理はステップS316に進められる。ステップS316において、判断部106は、第1のパラメータ設定機能を選択し、決定部107は、ステップS304で第1のパラメータ設定機能で受信したパラメータを設定する。   If it is determined in step S314 that there is no novelty (S314-No), the process proceeds to step S316. In step S316, the determination unit 106 selects the first parameter setting function, and the determination unit 107 sets the parameter received by the first parameter setting function in step S304.

次に、プリンタ201が第1または第2のパラメータ設定機能の自動選択を行い、PC202と第2のパラメータ設定機能(WCN)によりパラメータ設定を行うまでの動作シーケンスを図4の参照により説明する。   Next, an operation sequence until the printer 201 automatically selects the first or second parameter setting function and performs parameter setting by the PC 202 and the second parameter setting function (WCN) will be described with reference to FIG.

プリンタ201のパラメータ設定機能の自動選択の実行開始により、プリンタ201はデバイス(UFD204)を検知する(S401)。   When the automatic selection of the parameter setting function of the printer 201 is started, the printer 201 detects the device (UFD 204) (S401).

プリンタ201は、検知されたデバイス(UFD204)内に、第2のパラメータ設定機能(WCN)に必要な設定ファイルが存在するか否かを確認する(S402)。デバイス(UFD204)の応答により、プリンタ201は、設定ファイルがデバイス(UFD204)内に存在することを確認する(S403)。プリンタ201は、デバイス(UFD204)から設定ファイルの読み込みを行い(S404)、デバイス(UFD204)から設定ファイルの情報を取得する(S405)。プリンタ201は、取得された設定ファイルの作成日時の情報と、プリンタ201の履歴記憶部104に記憶(格納)されている、設定ファイル群のファイル作成日時を示す使用履歴情報とを比較する。そして、デバイス(UFD204)から取得された設定ファイルの作成日時が最も新しいものであるか、そして、設定ファイルの作成日時の情報と使用履歴情報とが一致するかを判定し、設定ファイルの新規性の有無を判定する(S406)。このとき、設定ファイルの新規性が認められると、デバイス(UFD204)から取得された設定ファイルを用いて、プリンタ201の判断部106は、第2のパラメータ設定機能を選択し、決定部107は、WCNのパラメータ設定を実行する(S407)。第2のパラメータ設定機能により、設定されたパラメータを用いてPC202との接続を行う(S408)。   The printer 201 confirms whether a setting file required for the second parameter setting function (WCN) exists in the detected device (UFD 204) (S402). Based on the response of the device (UFD 204), the printer 201 confirms that the setting file exists in the device (UFD 204) (S403). The printer 201 reads the setting file from the device (UFD 204) (S404), and acquires the setting file information from the device (UFD 204) (S405). The printer 201 compares the acquired setting file creation date and time information with the use history information indicating the file creation date and time of the setting file group stored (stored) in the history storage unit 104 of the printer 201. Then, it is determined whether the setting file creation date and time acquired from the device (UFD 204) is the newest, and whether the setting file creation date and time information matches the usage history information. Whether or not there is is determined (S406). At this time, when the novelty of the setting file is recognized, the determination unit 106 of the printer 201 selects the second parameter setting function using the setting file acquired from the device (UFD 204), and the determination unit 107 WCN parameter setting is executed (S407). The second parameter setting function is used to connect to the PC 202 using the set parameters (S408).

次に、デバイス(UFD204)に設定ファイルが存在しない時に、プリンタ201が第1のパラメータ設定機能を選択し、パラメータ設定を実行するまでの動作シーケンスを図5の参照により説明する。ステップS401、ステップS402までの処理は図4の処理と同じ処理である。   Next, an operation sequence until the printer 201 selects the first parameter setting function and executes parameter setting when there is no setting file in the device (UFD 204) will be described with reference to FIG. The processes up to step S401 and step S402 are the same as the processes in FIG.

プリンタ201は、設定ファイルがデバイス(UFD204)内に存在しないことを確認し、第2のパラメータ設定機能(WCN)の選択を中止し、第1のパラメータ設定機能(WPS)を選択する(S501)。次に、第1のパラメータ設定機能(WPS)をPC202、カメラ203がサポートしているか確認する(S502、S504)。ステップS502の問合せに対して、PC202は、第1のパラメータ設定機能が未サポートであることを応答する(S503)。ステップS504の問合せに対して、カメラ203は、第1のパラメータ設定機能をサポートしていることを応答する(S505)。   The printer 201 confirms that the setting file does not exist in the device (UFD 204), stops the selection of the second parameter setting function (WCN), and selects the first parameter setting function (WPS) (S501). . Next, it is confirmed whether the PC 202 and the camera 203 support the first parameter setting function (WPS) (S502, S504). In response to the inquiry in step S502, the PC 202 responds that the first parameter setting function is not supported (S503). In response to the inquiry in step S504, the camera 203 responds that the first parameter setting function is supported (S505).

プリンタ201は、PC202、カメラ203からの応答に基づいて、第1のパラメータ設定機能をサポートしているのがカメラ203であることを確認する。そして、プリンタ201は、第1のパラメータ設定機能を選択し、カメラ203との間でパラメータ設定を行う(S506)。そして、第1のパラメータ設定機能によるパラメータ受信を終了する。これにより、パラメータ設定(パラメータの共有)が終了する(S507)。ステップS507の処理により第1のパラメータ設定機能で受信したパラメータをプリンタ201に設定する(S508)。そして、プリンタ201は、カメラ203と接続を行う(S509)。   Based on the responses from the PC 202 and the camera 203, the printer 201 confirms that the camera 203 supports the first parameter setting function. Then, the printer 201 selects the first parameter setting function and performs parameter setting with the camera 203 (S506). Then, the parameter reception by the first parameter setting function is terminated. Thereby, parameter setting (parameter sharing) is completed (S507). In step S507, the parameter received by the first parameter setting function is set in the printer 201 (S508). Then, the printer 201 connects to the camera 203 (S509).

次に、プリンタ201が第1、第2のパラメータ設定機能の自動選択を行い、その際、デバイス(UFD204)内の設定ファイルに新規性が認められない時に、第1のパラメータ設定機能を選択する動作シーケンスを図6の参照により説明する。ステップS401乃至ステップS405までは図4と同じ処理である。プリンタ201は、設定ファイルに新規性がないことを確認したら、第2のパラメータ設定機能(WCN)の選択を中止して、第1のパラメータ設定機能(WPS)を選択する(S601)。第1のパラメータ設定機能をサポートしている機器があるかを検索するためにネットワーク検知処理を行う(S602、S604)。   Next, the printer 201 automatically selects the first parameter setting function and the second parameter setting function, and when the novelty is not recognized in the setting file in the device (UFD 204), the first parameter setting function is selected. The operation sequence will be described with reference to FIG. Steps S401 to S405 are the same as those in FIG. If the printer 201 confirms that the setting file is not new, the printer 201 stops selecting the second parameter setting function (WCN) and selects the first parameter setting function (WPS) (S601). A network detection process is performed to search for a device that supports the first parameter setting function (S602, S604).

ステップS602のネットワーク検知処理(問合せ)に対して、PC202は、第1のパラメータ設定機能が未サポートであることを応答する(S603)。ステップS604のネットワーク検知処理(問合せ)に対して、カメラ203は、第1のパラメータ設定機能をサポートしていることを応答する(S605)。   In response to the network detection process (inquiry) in step S602, the PC 202 responds that the first parameter setting function is not supported (S603). In response to the network detection process (inquiry) in step S604, the camera 203 responds that the first parameter setting function is supported (S605).

プリンタ201は、PC202、カメラ203からの応答に基づいて、第1のパラメータ設定機能をサポートしているのがカメラ203であることを確認する。そして、プリンタ201は、第1のパラメータ設定機能を選択し、カメラ203との間でパラメータ設定を行う(S606)。そして、第1のパラメータ設定機能によるパラメータ受信を終了する。これにより、パラメータ設定(パラメータの共有)が終了する(S607)。ステップS607の処理により第1のパラメータ設定機能で受信したパラメータをプリンタ201に設定する(S608)。そして、プリンタ201は、カメラ203と接続を行う(S609)。   Based on the responses from the PC 202 and the camera 203, the printer 201 confirms that the camera 203 supports the first parameter setting function. Then, the printer 201 selects the first parameter setting function, and performs parameter setting with the camera 203 (S606). Then, the parameter reception by the first parameter setting function is terminated. Thereby, parameter setting (parameter sharing) ends (S607). In step S607, the parameter received by the first parameter setting function is set in the printer 201 (S608). Then, the printer 201 connects to the camera 203 (S609).

本実施形態によれば、OOB方式とIn-band方式との自動選択を行うことが可能になる。古い設定ファイルが残っているデバイスにアクセスして、意図しないタイミングでOOB方式の設定処理が起動することを防ぎ、設定ファイルの上書きを防止することが可能になる。   According to the present embodiment, it is possible to perform automatic selection between the OOB method and the In-band method. It is possible to prevent an OOB method setting process from starting at an unintended timing by accessing a device in which an old setting file remains, and to prevent the setting file from being overwritten.

また、設定ファイルを用いてOOB方式の設定を行い、ネットワーク接続を行った場合に、自デバイスが孤立することを防ぐことが可能になる。   In addition, when the OOB method is set using a setting file and a network connection is made, it is possible to prevent the own device from being isolated.

<実施形態2>
実施形態2では、パラメータ設定機能の自動選択開始時にデバイス(UFD204)が検知されずに、最初に第1のパラメータ設定機能が選択された状態を想定する。その後、第1のパラメータ設定機能のネットワークの検知処理を実行中に、プリンタ201にデバイス(UFD204)が装着された場合を考える。
<Embodiment 2>
In the second embodiment, it is assumed that the first parameter setting function is first selected without detecting the device (UFD 204) at the start of automatic selection of the parameter setting function. Then, consider a case where a device (UFD 204) is attached to the printer 201 while the network detection process of the first parameter setting function is being executed.

その時に、プリンタ201において、パラメータ設定機能の自動選択を再び行い、PC202またはカメラ203と接続するまでの処理の流れを説明する。ここで、PC202は設定ファイルを用いたWCNネットワーク205を構築しているものとする。   At that time, the flow of processing until the printer 201 automatically selects the parameter setting function again and connects to the PC 202 or the camera 203 will be described. Here, it is assumed that the PC 202 has constructed the WCN network 205 using the setting file.

プリンタ201が第1、第2のパラメータ設定機能の自動選択を行い、その際、第2のパラメータ設定機能(WCN)を選択し、PC202とパラメータ設定を行う時の動作シーケンスを図7の参照により説明する。   The printer 201 automatically selects the first and second parameter setting functions. At this time, the second parameter setting function (WCN) is selected, and the operation sequence when the parameter setting is performed with the PC 202 is described with reference to FIG. explain.

第1のパラメータ設定機能(WPS)の処理を開始する(S701)。第1のパラメータ設定機能をサポートしている機器があるか、ネットワーク検知処理を行う(S701、S703)。   The first parameter setting function (WPS) process is started (S701). Network detection processing is performed to determine whether there is a device that supports the first parameter setting function (S701, S703).

ステップS701のネットワーク検知処理(問合せ)に対して、PC202は、第1のパラメータ設定機能が未サポートであることを応答する(S702)。ステップS703のネットワーク検知処理(問合せ)に対して、カメラ203は、第1のパラメータ設定機能をサポートしていることを応答する(S704)。   In response to the network detection process (inquiry) in step S701, the PC 202 responds that the first parameter setting function is not supported (S702). In response to the network detection process (inquiry) in step S703, the camera 203 responds that it supports the first parameter setting function (S704).

プリンタ201は、ネットワーク検知処理終了後にデバイス(UFD204)を検知したら、第1のパラメータ設定機能を中断する(S705)。そして、デバイス(UFD204)内に、第2のパラメータ設定機能に必要な設定ファイルが存在するか否かを確認する(S706)。デバイス(UFD204)の応答により、プリンタ201は、設定ファイルがデバイス(UFD204)内に存在することを確認する(S707)。   When the printer 201 detects the device (UFD 204) after completion of the network detection process, the printer 201 interrupts the first parameter setting function (S705). Then, it is confirmed whether or not a setting file necessary for the second parameter setting function exists in the device (UFD 204) (S706). Based on the response of the device (UFD 204), the printer 201 confirms that the setting file exists in the device (UFD 204) (S707).

プリンタ201は、デバイス(UFD204)から設定ファイルの読み込みを行い(S708)、デバイス(UFD204)から設定ファイルの情報を取得する(S709)。プリンタ201は、取得された設定ファイルの作成日時の情報と、プリンタ201の履歴記憶部104に記憶(格納)されている、設定ファイル群のファイル作成日時を示す使用履歴情報とを比較する。そして、デバイス(UFD204)から取得された設定ファイルの作成日時が最も新しいものであるか、そして、設定ファイルの作成日時の情報と使用履歴情報とが一致するかを判定し、設定ファイルの新規性の有無を判定する(S710)。   The printer 201 reads the setting file from the device (UFD 204) (S708), and acquires the setting file information from the device (UFD 204) (S709). The printer 201 compares the acquired setting file creation date and time information with the use history information indicating the file creation date and time of the setting file group stored (stored) in the history storage unit 104 of the printer 201. Then, it is determined whether the setting file creation date and time acquired from the device (UFD 204) is the newest, and whether the setting file creation date and time information matches the usage history information. Whether or not there is is determined (S710).

このとき、設定ファイルの新規性が認められると、デバイス(UFD204)から取得された設定ファイルを用いて、プリンタ201の判断部106は、第2のパラメータ設定機能を選択し、決定部107は、WCNのパラメータ設定を実行する(S711)。そして、第1のパラメータ設定機能の処理は中止される(中断していた処理は途中終了となる)。そして、第2のパラメータ設定機能により、設定されたパラメータを用いてPC202との接続を行う(S712)。   At this time, when the novelty of the setting file is recognized, the determination unit 106 of the printer 201 selects the second parameter setting function using the setting file acquired from the device (UFD 204), and the determination unit 107 WCN parameter setting is executed (S711). Then, the process of the first parameter setting function is stopped (the interrupted process is terminated halfway). Then, the second parameter setting function is used to connect to the PC 202 using the set parameters (S712).

次に、プリンタ201が第1、第2のパラメータ設定機能の自動選択を行う際、デバイス(UFD204)に設定ファイルが存在しなかった場合を想定する。このとき、第1のパラメータ設定機能を選択するまでの動作シーケンスを図8の参照により説明する。   Next, it is assumed that when the printer 201 automatically selects the first and second parameter setting functions, there is no setting file in the device (UFD 204). At this time, an operation sequence until the first parameter setting function is selected will be described with reference to FIG.

本処理において、ステップS701乃至S706までは図7と同じ処理である。プリンタ201は、デバイス(UFD204)に設定ファイルが存在しないことを確認すると、第2のパラメータ設定機能(WCN)の選択を中止し、第1のパラメータ設定機能(WPS)の処理を再開する(S801)。第1のパラメータ設定機能をサポートしている機器があるか検索するためにネットワーク検知処理を行う(S802、S804)。ステップS802のネットワーク検知処理(問合せ)に対して、PC202は、第1のパラメータ設定機能が未サポートであることを応答する(S803)。ステップS804のネットワーク検知処理(問合せ)に対して、カメラ203は、第1のパラメータ設定機能をサポートしていることを応答する(S805)。   In this process, steps S701 to S706 are the same as those in FIG. When the printer 201 confirms that the setting file does not exist in the device (UFD 204), the printer 201 stops the selection of the second parameter setting function (WCN), and resumes the processing of the first parameter setting function (WPS) (S801). ). Network detection processing is performed to search for devices that support the first parameter setting function (S802, S804). In response to the network detection process (inquiry) in step S802, the PC 202 responds that the first parameter setting function is not supported (S803). In response to the network detection process (inquiry) in step S804, the camera 203 responds that it supports the first parameter setting function (S805).

プリンタ201は、PC202、カメラ203からの応答に基づいて、第1のパラメータ設定機能をサポートしているのがカメラ203であることを確認する。そして、プリンタ201は、第1のパラメータ設定機能を選択し、カメラ203との間でパラメータ設定を行う(S806)。そして、第1のパラメータ設定機能によるパラメータ受信を終了する。これにより、パラメータ設定(パラメータの共有)が終了する(S807)。ステップS807の処理により第1のパラメータ設定機能で受信したパラメータをプリンタ201に設定する(S808)。そして、プリンタ201は、カメラ203と接続を行う(S809)。   Based on the responses from the PC 202 and the camera 203, the printer 201 confirms that the camera 203 supports the first parameter setting function. Then, the printer 201 selects the first parameter setting function and sets parameters with the camera 203 (S806). Then, the parameter reception by the first parameter setting function is terminated. Thereby, parameter setting (parameter sharing) is completed (S807). In step S807, the parameter received by the first parameter setting function is set in the printer 201 (S808). Then, the printer 201 connects to the camera 203 (S809).

次に、プリンタ201が第1、第2のパラメータ設定機能の自動選択を行う際、UFD204内の設定ファイルに新規性が認められなかった場合を想定する。このとき、プリンタ201が第1のパラメータ設定機能を選択する動作シーケンスを図9の参照により説明する。   Next, it is assumed that when the printer 201 automatically selects the first and second parameter setting functions, the setting file in the UFD 204 is not recognized as novel. At this time, an operation sequence in which the printer 201 selects the first parameter setting function will be described with reference to FIG.

ステップS701乃至S706までは図7と同じ処理である。プリンタ201は、デバイス(UFD204)内に設定ファイルが存在することを確認して、設定ファイルの読み込みを行う(S901)。プリンタ201は、設定ファイルの作成日時の情報と、履歴記憶部104に格納されている使用履歴情報と比較する。そして、プリンタ201は、設定ファイルに新規性がないことを確認したら、第2のパラメータ設定機能(WCN)の選択を中止し、第1のパラメータ設定機能(WPS)の処理を再開する(S902)。   Steps S701 to S706 are the same as those in FIG. The printer 201 confirms that the setting file exists in the device (UFD 204), and reads the setting file (S901). The printer 201 compares the creation date and time information of the setting file with the usage history information stored in the history storage unit 104. When the printer 201 confirms that the setting file is not new, the printer 201 stops selecting the second parameter setting function (WCN) and restarts the processing of the first parameter setting function (WPS) (S902). .

第1のパラメータ設定機能をサポートしている機器があるか検索するためにネットワーク検知処理を行う(S903、S905)。ステップS903のネットワーク検知処理(問合せ)に対して、PC202は、第1のパラメータ設定機能が未サポートであることを応答する(S904)。ステップS905のネットワーク検知処理(問合せ)に対して、カメラ203は、第1のパラメータ設定機能をサポートしていることを応答する(S906)。   A network detection process is performed to search for a device that supports the first parameter setting function (S903, S905). In response to the network detection process (inquiry) in step S903, the PC 202 responds that the first parameter setting function is not supported (S904). In response to the network detection process (inquiry) in step S905, the camera 203 responds that the first parameter setting function is supported (S906).

プリンタ201は、PC202、カメラ203からの応答に基づいて、第1のパラメータ設定機能をサポートしているのがカメラ203であることを確認する。そして、プリンタ201は、第1のパラメータ設定機能を選択し、カメラ203との間でパラメータ設定を行う(S907)。そして、第1のパラメータ設定機能によるパラメータ受信を終了する。これにより、パラメータ設定(パラメータの共有)が終了する(S908)。   Based on the responses from the PC 202 and the camera 203, the printer 201 confirms that the camera 203 supports the first parameter setting function. Then, the printer 201 selects the first parameter setting function, and performs parameter setting with the camera 203 (S907). Then, the parameter reception by the first parameter setting function is terminated. This completes parameter setting (parameter sharing) (S908).

ステップS908の処理により第1のパラメータ設定機能で受信したパラメータをプリンタ201に設定する(S909)。そして、プリンタ201は、カメラ203と接続を行う(S910)。   In step S908, the parameter received by the first parameter setting function is set in the printer 201 (S909). Then, the printer 201 connects to the camera 203 (S910).

本実施形態によれば、OOB方式とIn-band方式との自動選択を行うことが可能になる。古い設定ファイルが残っているデバイスにアクセスして、意図しないタイミングでOOB方式の設定処理が起動することを防ぎ、設定ファイルの上書きを防止することが可能になる。   According to the present embodiment, it is possible to perform automatic selection between the OOB method and the In-band method. It is possible to prevent an OOB method setting process from starting at an unintended timing by accessing a device in which an old setting file remains, and to prevent the setting file from being overwritten.

また、設定ファイルを用いてOOB方式の設定を行い、ネットワーク接続を行った場合に、自デバイスが孤立することを防ぐことが可能になる。   In addition, when the OOB method is set using a setting file and a network connection is made, it is possible to prevent the own device from being isolated.

<実施形態3>
実施形態3では、まず、最初にパラメータ設定機能の自動選択を開始した際にデバイス(UFD204)が検知されず、第1のパラメータ設定機能が選択されたものとする。そして第1のパラメータ設定機能によるパラメータ設定終了時に、プリンタ201にデバイス(UFD204)が装着された場合を想定する。ここで、パラメータ設定終了時では、パラメータの共有は完了しているが、プリンタ201自身にパラメータ設定が行われていない状態である。その時に、プリンタ201において、第1、第2のパラメータ設定機能の自動選択を再び行い、PC202又はカメラ203と接続するまでを図10の参照により説明する。また、PC202は設定ファイルを用いたWCNネットワーク205を構築しているものとする。
<Embodiment 3>
In the third embodiment, it is assumed that when the automatic selection of the parameter setting function is first started, the device (UFD 204) is not detected and the first parameter setting function is selected. Assume that a device (UFD 204) is attached to the printer 201 at the end of parameter setting by the first parameter setting function. Here, at the end of the parameter setting, the parameter sharing is completed, but the parameter setting is not performed on the printer 201 itself. At that time, the process until the printer 201 automatically selects the first and second parameter setting functions again and connects to the PC 202 or the camera 203 will be described with reference to FIG. Further, it is assumed that the PC 202 constructs a WCN network 205 using the setting file.

図10は、プリンタ201が第1、第2のパラメータ設定機能の自動選択を行い、その際、第2のパラメータ設定機能(WCN)を選択し、PC202とパラメータ設定を行う時の動作シーケンスを示す図である。第1のパラメータ設定機能(WPS)の処理を開始する(S1001)。第1のパラメータ設定機能をサポートしている機器があるかを検索するためにネットワーク検知処理を行う(S1001、S1003)。   FIG. 10 shows an operation sequence when the printer 201 automatically selects the first and second parameter setting functions, selects the second parameter setting function (WCN), and sets parameters with the PC 202 at that time. FIG. The first parameter setting function (WPS) process is started (S1001). Network detection processing is performed in order to search for devices that support the first parameter setting function (S1001, S1003).

ステップS1001のネットワーク検知処理(問合せ)に対して、PC202は、第1のパラメータ設定機能が未サポートであることを応答する(S1002)。ステップS1003のネットワーク検知処理(問合せ)に対して、カメラ203は、第1のパラメータ設定機能をサポートしていることを応答する(S1004)。そして、プリンタ201は、第1のパラメータ設定機能を選択し、カメラ203との間でパラメータ設定を行う(S1005)。そして、第1のパラメータ設定機能によるパラメータ受信を終了する。これにより、パラメータ設定(パラメータの共有)が終了する(S1006)。   In response to the network detection process (inquiry) in step S1001, the PC 202 responds that the first parameter setting function is not supported (S1002). In response to the network detection process (inquiry) in step S1003, the camera 203 responds that the first parameter setting function is supported (S1004). Then, the printer 201 selects the first parameter setting function and performs parameter setting with the camera 203 (S1005). Then, the parameter reception by the first parameter setting function is terminated. Thereby, parameter setting (parameter sharing) ends (S1006).

その後、プリンタ201は、装着されたデバイス(UFD204)を検知すると(S1007)、第1のパラメータ設定機能の処理を中断する。そして、プリンタ201は、UFD204内に、第2のパラメータ設定機能に必要な設定ファイルが存在するか否かを確認する(S1008)。デバイス(UFD204)の応答により、プリンタ201は、設定ファイルがデバイス(UFD204)内に存在することを確認する(S1009)。プリンタ201は、デバイス(UFD204)から設定ファイルの読み込みを行い、デバイス(UFD204)から設定ファイルの情報を取得する(S1009)。   Thereafter, when the printer 201 detects the mounted device (UFD 204) (S1007), the process of the first parameter setting function is interrupted. Then, the printer 201 checks whether or not a setting file necessary for the second parameter setting function exists in the UFD 204 (S1008). Based on the response from the device (UFD 204), the printer 201 confirms that the setting file exists in the device (UFD 204) (S1009). The printer 201 reads the setting file from the device (UFD 204), and acquires the setting file information from the device (UFD 204) (S1009).

プリンタ201は、取得された設定ファイルの作成日時の情報と、プリンタ201の履歴記憶部104に記憶(格納)されている、設定ファイル群のファイル作成日時を示す使用履歴情報とを比較する。そして、デバイス(UFD204)から取得された設定ファイルの作成日時が最も新しいものであるか、そして、設定ファイルの作成日時の情報と使用履歴情報とが一致するかを判定し、設定ファイルの新規性の有無を判定する(S1010)。このとき、設定ファイルの作成日時の情報と使用履歴情報とが一致しない場合に、設定ファイルの新規性が認められる。   The printer 201 compares the acquired setting file creation date and time information with the use history information indicating the file creation date and time of the setting file group stored (stored) in the history storage unit 104 of the printer 201. Then, it is determined whether the setting file creation date and time acquired from the device (UFD 204) is the newest, and whether the setting file creation date and time information matches the usage history information. Whether or not there is is determined (S1010). At this time, when the setting file creation date and time information does not match the usage history information, the novelty of the setting file is recognized.

プリンタ201は、第1のパラメータ設定機能の処理を中止して(中断していた処理を途中終了し)、第1のパラメータ設定機能で受信したパラメータを破棄する。そして、プリンタ201の判断部106は、デバイス(UFD204)から取得された設定ファイルを用いて、第2のパラメータ設定機能を選択する(S1011)。そして、プリンタ201の決定部107は、WCNのパラメータ設定を実行する(S1012)。そして、第2のパラメータ設定機能により、設定されたパラメータを用いてPC202との接続を行う(S1013)。   The printer 201 cancels the processing of the first parameter setting function (interrupts the interrupted processing halfway) and discards the parameter received by the first parameter setting function. Then, the determination unit 106 of the printer 201 selects the second parameter setting function using the setting file acquired from the device (UFD 204) (S1011). Then, the determination unit 107 of the printer 201 executes WCN parameter setting (S1012). Then, the second parameter setting function connects to the PC 202 using the set parameters (S1013).

次に、図10の動作シーケンスにおいて、デバイス(UFD204)に設定ファイルが存在しなかった場合に第1のパラメータ設定機能を選択する動作シーケンスを図11の参照により説明する。ステップS1001乃至S1008までは図10と同じ処理である。   Next, the operation sequence for selecting the first parameter setting function when the setting file does not exist in the device (UFD 204) in the operation sequence of FIG. 10 will be described with reference to FIG. Steps S1001 to S1008 are the same as those in FIG.

デバイス(UFD204)の応答により、プリンタ201は、設定ファイルがデバイス(UFD204)内に存在しないことを確認する(S1101)。そして、プリンタ201は、第2のパラメータ設定機能(WCN)の選択を中止する(S1102)。そして、プリンタ201の判断部106は、第1のパラメータ設定機能(WPS)を選択し、決定部107は第1のパラメータ設定機能(WPS)で受信したパラメータを設定する(S1103)。そして、第1のパラメータ設定機能により、設定されたパラメータを用いてカメラ203との接続を行う(S1104)。   Based on the response of the device (UFD 204), the printer 201 confirms that the setting file does not exist in the device (UFD 204) (S1101). Then, the printer 201 stops selecting the second parameter setting function (WCN) (S1102). Then, the determination unit 106 of the printer 201 selects the first parameter setting function (WPS), and the determination unit 107 sets the parameter received by the first parameter setting function (WPS) (S1103). Then, the first parameter setting function connects to the camera 203 using the set parameters (S1104).

次に、図10の動作シーケンスにおいて、デバイス(UFD204)内の設定ファイルに新規性が認められなかった時の動作シーケンスを図12の参照により説明する。ステップS1001乃至S1009までは図10と同じ処理である。   Next, in the operation sequence of FIG. 10, an operation sequence when novelty is not recognized in the setting file in the device (UFD 204) will be described with reference to FIG. Steps S1001 to S1009 are the same as those in FIG.

設定ファイルの新規性有無の判断で、設定ファイルの作成日時の情報と使用履歴情報とが一致する場合に、設定ファイルは新規性がないものと判断される。プリンタ201は、第2のパラメータ設定機能(WCN)の選択を中止し(S1202)、第1のパラメータ設定機能で受信したパラメータを設定する(S1203)。 そして、第1のパラメータ設定機能により、設定されたパラメータを用いてカメラ203との接続を行う(S1204)。   If the setting file creation date / time information matches the usage history information in determining whether the setting file is new, the setting file is determined not to be new. The printer 201 cancels the selection of the second parameter setting function (WCN) (S1202), and sets the parameter received by the first parameter setting function (S1203). Then, the first parameter setting function connects to the camera 203 using the set parameters (S1204).

本実施形態によれば、OOB方式とIn-band方式との自動選択を行うことが可能になる。古い設定ファイルが残っているデバイスにアクセスして、意図しないタイミングでOOB方式の設定処理が起動することを防ぎ、設定ファイルの上書きを防止することが可能になる。   According to the present embodiment, it is possible to perform automatic selection between the OOB method and the In-band method. It is possible to prevent an OOB method setting process from starting at an unintended timing by accessing a device in which an old setting file remains, and to prevent the setting file from being overwritten.

また、設定ファイルを用いてOOB方式の設定を行い、ネットワーク接続を行った場合に、自デバイスが孤立することを防ぐことが可能になる。   In addition, when the OOB method is set using a setting file and a network connection is made, it is possible to prevent the own device from being isolated.

<実施形態4>
図13は、実施形態4にかかるネットワークの概略的な構成を示す図である。ネットワークを構成する機器として、自動選択機器のプリンタ1301、カメラ1302、デバイス(UFD)1303で構成される。プリンタ1301は、複数のパラメータ設定方式の中からいずれか1つの方式を選択し、選択されたパラメータ設定方式を用いてパラメータの設定を行う機能を有する通信装置として機能する自動選択機器である。カメラ1302は、無線LANを用いたパラメータ設定機能であるWPS(Wi-Fi Protected Set Up)をサポートしている。UFD1303は、WCNのパラメータ設定機能を使用するための設定ファイルを格納する記憶媒体として機能する。
<Embodiment 4>
FIG. 13 is a diagram illustrating a schematic configuration of a network according to the fourth embodiment. As devices constituting the network, a printer 1301, a camera 1302, and a device (UFD) 1303 are automatically selected. The printer 1301 is an automatic selection device that functions as a communication device having a function of selecting any one of a plurality of parameter setting methods and setting parameters using the selected parameter setting method. The camera 1302 supports WPS (Wi-Fi Protected Set Up), which is a parameter setting function using a wireless LAN. The UFD 1303 functions as a storage medium that stores a setting file for using the WCN parameter setting function.

実施形態4において、プリンタ1301は、無線LANを用いたパラメータ設定方式であるWPS(第1のパラメータ設定機能)と、無線LAN以外を用いたパラメータ設定方式であるWCN(第2のパラメータ設定機能)とを有する。   In the fourth embodiment, the printer 1301 includes a WPS (first parameter setting function) that is a parameter setting method using a wireless LAN and a WCN (second parameter setting function) that is a parameter setting method using a method other than the wireless LAN. And have.

尚、実施形態4では、WPSは例示的なパラメータ設定方式であり、In−Band方式、すなわち無線LANを用いたパラメータ設定機能ならば、第1のパラメータ設定機能は、どの方式でも構わない。また、第2のパラメータ設定機能の対象として、WCNを例示しているが、OOB方式、すなわち無線LANを用いないパラメータ設定機能ならば、WCNに限定されずにどの方式でも構わない。   In the fourth embodiment, WPS is an exemplary parameter setting method, and the first parameter setting function may be any method as long as it is an In-Band method, that is, a parameter setting function using a wireless LAN. Moreover, although WCN is illustrated as an object of the second parameter setting function, any method may be used without being limited to WCN as long as it is an OOB method, that is, a parameter setting function that does not use a wireless LAN.

また、本実施形態ではUFD1303を介して設定ファイルの読み書きなどのやりとりを行うが、この方法に限定されるものではない。例えば、近距離通信(Bluetooth、NFC(Near Field Communication))によって、設定ファイルの読み書きなどのやりとりを行ってもよい。また、自動選択機器のプリンタ1301の構成は図2と同じである。   In this embodiment, the setting file is read and written via the UFD 1303. However, the present invention is not limited to this method. For example, the setting file may be exchanged by short-range communication (Bluetooth, NFC (Near Field Communication)). The configuration of the printer 1301 of the automatic selection device is the same as that in FIG.

実施形態4では、デバイス(UFD1303)に先に説明した実施形態1、2及び3で述べたような新規性のあるWCNの設定ファイルが入っているものとする。しかしながら、その設定ファイルを用いて構築された図1に示すようなWCNネットワーク205が存在しない場合を考える。   In the fourth embodiment, it is assumed that the device (UFD 1303) contains a novel WCN setting file as described in the first, second, and third embodiments. However, consider the case where there is no WCN network 205 as shown in FIG.

判断部106は、読み込まれた設定ファイルの作成日時の情報と、履歴記憶部104に記憶(格納)されている使用履歴情報と、の比較を行う。取得された設定ファイルの作成日時の情報と使用履歴情報とが一致する場合、設定ファイルは従前のパラメータ設定に使用されたものであり、判断部106はその設定ファイルの新規性がないと判断する。一方、取得された設定ファイルの作成日時の情報と使用履歴情報とが一致しない場合、その設定ファイルには新規性があると判断される。   The determination unit 106 compares the read setting file creation date and time information with the use history information stored (stored) in the history storage unit 104. When the acquired creation date and time information of the setting file matches the usage history information, the setting file has been used for the previous parameter setting, and the determination unit 106 determines that the setting file is not new. . On the other hand, if the acquired creation date and time information of the setting file does not match the usage history information, it is determined that the setting file is novel.

図14は、本実施形態における自動選択機器のプリンタ1301の動作の流れを説明する図である。基本的な流れは図3のステップS306まで同じ流れで処理が実行され、ステップS307で設定ファイルの新規性の有無が判断される。   FIG. 14 is a diagram for explaining the operation flow of the printer 1301 of the automatic selection device according to this embodiment. The basic flow is the same as the processing up to step S306 in FIG. 3, and it is determined whether or not the setting file is novel in step S307.

ステップS307の判定で、設定ファイルに新規性が認められる場合(S307−Yes)、処理はステップS1401に進められる。ステップS1401において、設定ファイル取得部105は、設定ファイルから無線LANを識別するための識別情報(SSID、ネットワーク識別子)を取得する(S1401)。また、設定ファイル取得部105は、設定ファイルからネットワークにおける通信を制御するための特性や回線の種類等、ネットワークの特性を示すチャネル情報を取得する(S1401)。ステップS1402において、ステップS1401で取得された識別情報(SSID)とチャネル情報とのうち少なくともいずれか一方を用いてネットワークを検索するためのネットワークスキャン処理を行う。   If the determination in step S307 shows that the setting file is novel (S307-Yes), the process proceeds to step S1401. In step S1401, the setting file acquisition unit 105 acquires identification information (SSID, network identifier) for identifying the wireless LAN from the setting file (S1401). Also, the setting file acquisition unit 105 acquires channel information indicating network characteristics such as characteristics for controlling communication in the network and line types from the setting file (S1401). In step S1402, a network scan process for searching for a network is performed using at least one of the identification information (SSID) and channel information acquired in step S1401.

ステップS1403において、設定ファイルを用いて構築されたネットワークが存在するか否かが確認される。この確認結果に基づいて、設定ファイルを用いて構築されたネットワークが存在すれば(S1403−Yes)、処理はステップS1404に進められ、ステップS1404において、図3のステップS308の処理が実行される。   In step S1403, it is confirmed whether there is a network constructed using the setting file. If there is a network constructed using the setting file based on the confirmation result (S1403-Yes), the process proceeds to step S1404, and the process of step S308 of FIG. 3 is executed in step S1404.

ステップS308において、判断部106は、第2のパラメータ設定機能を選択して、決定部107は、選択された第2のパラメータ設定機能に基づいてパラメータ設定を実行する。第1のパラメータ設定機能の処理が中断されていれば、その処理を中断から中止(処理を途中終了)にして、判断部106はUFD204内の設定ファイルを用いた第2のパラメータ設定機能を選択する。判断部106の選択に基づいて決定部107はパラメータ設定を実行する。   In step S308, the determination unit 106 selects the second parameter setting function, and the determination unit 107 performs parameter setting based on the selected second parameter setting function. If the processing of the first parameter setting function is interrupted, the processing is stopped from the interruption (processing is terminated halfway), and the determination unit 106 selects the second parameter setting function using the setting file in the UFD 204 To do. Based on the selection by the determination unit 106, the determination unit 107 performs parameter setting.

一方、設定ファイルを用いて構築されたネットワークが存在しなければ(S1403−No)、処理はステップS1405に進められる。そして、ステップS1405において、図3のステップS309、S310、S311の処理が順次実行される。   On the other hand, if there is no network constructed using the setting file (S1403-No), the process proceeds to step S1405. In step S1405, the processes in steps S309, S310, and S311 in FIG. 3 are sequentially performed.

すなわち、ステップS309において、先のステップS306で取得された設定ファイルは破棄される。そして、ステップS310において、判断部106は、UFD204内の設定ファイルを用いた第2のパラメータ設定機能の選択を中止(終了)する。ステップS311において、決定部107は、判断部106による第2のパラメータ設定機能の選択を中止する旨の判断結果を受けて、第1のパラメータ設定機能に切替えてパラメータ設定を実行する。決定部107は、第1のパラメータ設定機能によるパラメータの設定処理が中断されている場合は、中断されているパラメータ設定処理を再開する。以上の処理の実行後に処理は終了する。   That is, in step S309, the setting file acquired in the previous step S306 is discarded. In step S <b> 310, the determination unit 106 stops (ends) selection of the second parameter setting function using the setting file in the UFD 204. In step S311, the determination unit 107 receives the determination result indicating that the selection of the second parameter setting function by the determination unit 106 is cancelled, and switches to the first parameter setting function to execute parameter setting. When the parameter setting process by the first parameter setting function is interrupted, the determination unit 107 resumes the interrupted parameter setting process. The process ends after the above process is executed.

尚、デバイス(UFD)の装着によって生じる処理のシーケンスの流れとしては、設定ファイルの新規性の判断までは実施形態1乃至3で説明したのと同じ流れである。その後はデバイスの装着されるタイミングに関係なく以下の処理の流れになる。   Note that the sequence of processing that occurs when the device (UFD) is attached is the same as that described in the first to third embodiments until the determination of the novelty of the setting file. Thereafter, the following processing flow is performed regardless of the timing of mounting the device.

設定ファイルから無線LANにおけるネットワークを識別するための識別情報(SSID)とチャネル情報とを取得して、設定ファイルを用いて構築されたネットワークが存在することを確認できたら、第2のパラメータ設定機能を用いてパラメータ設定を行う。この時、第1のパラメータ設定機能を実行していたら、第1のパラメータ設定機能を中止する。   If the identification information (SSID) for identifying the network in the wireless LAN and the channel information are acquired from the setting file and it is confirmed that the network constructed using the setting file exists, the second parameter setting function Set parameters using. At this time, if the first parameter setting function is being executed, the first parameter setting function is stopped.

設定ファイルを用いて構築されたネットワークが存在することを確認できなければ、第2のパラメータ設定機能の選択を中止(終了)し、第1のパラメータ設定機能を実行する。パラメータ設定が完了したら、その設定方式に対応している機器に対し接続を行う。   If it cannot be confirmed that the network constructed using the setting file exists, the selection of the second parameter setting function is stopped (finished), and the first parameter setting function is executed. When parameter setting is completed, connection is made to a device that supports the setting method.

本実施形態によれば、OOB方式とIn-band方式との自動選択を行うことが可能になる。古い設定ファイルが残っているデバイスにアクセスして、意図しないタイミングでOOB方式の設定処理が起動することを防ぎ、設定ファイルの上書きを防止することが可能になる。   According to the present embodiment, it is possible to perform automatic selection between the OOB method and the In-band method. It is possible to prevent an OOB method setting process from starting at an unintended timing by accessing a device in which an old setting file remains, and to prevent the setting file from being overwritten.

また、設定ファイルを用いてOOB方式の設定を行い、ネットワーク接続を行った場合に、自デバイスが孤立することを防ぐことが可能になる。   In addition, when the OOB method is set using a setting file and a network connection is made, it is possible to prevent the own device from being isolated.

(他の実施形態)
なお、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムを記録したコンピュータ可読の記憶媒体を、システムあるいは装置に供給することによっても、達成されることは言うまでもない。また、システムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムを読出し実行することによっても、達成されることは言うまでもない。
(Other embodiments)
Note that it is needless to say that the object of the present invention can also be achieved by supplying a computer-readable storage medium that records a software program for realizing the functions of the above-described embodiments to a system or apparatus. Needless to say, this can also be achieved by the computer (or CPU or MPU) of the system or apparatus reading and executing the program stored in the storage medium.

この場合、記憶媒体から読出されたプログラム自体が前述した実施形態の機能を実現することになり、そのプログラムを記憶した記憶媒体は本発明を構成することになる。   In this case, the program itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program constitutes the present invention.

プログラムを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、不揮発性のメモリカード、ROMなどを用いることができる。   As a storage medium for supplying the program, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読出したプログラムを実行することにより、前述した実施形態の機能が実現される。また、プログラムの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態が実現される場合も含まれることは言うまでもない。   Further, the functions of the above-described embodiments are realized by executing the program read by the computer. In addition, it is also included that an OS (operating system) or the like running on a computer performs part or all of actual processing based on a program instruction, and the above-described embodiment is realized by the processing. Needless to say.

本発明の実施形態1、2、3にかかるネットワークの概略的な構成を示す図である。It is a figure which shows schematic structure of the network concerning Embodiment 1, 2, 3 of this invention. 自動選択機器のプリンタ201の概略的な構成を示す図である。FIG. 2 is a diagram illustrating a schematic configuration of a printer 201 of an automatic selection device. 実施形態1、2,3の自動選択機器の処理の流れを説明するフローチャートである。6 is a flowchart for explaining a processing flow of the automatic selection device according to the first, second, and third embodiments. 実施形態1において、第2のパラメータ設定機能選択時の動作シーケンスを示す図である。In Embodiment 1, it is a figure which shows the operation | movement sequence at the time of the 2nd parameter setting function selection. 実施形態1において、設定ファイルが存在しない場合の、第1のパラメータ設定機能選択時の動作シーケンスを示す図である。FIG. 10 is a diagram illustrating an operation sequence when a first parameter setting function is selected when a setting file does not exist in the first embodiment. 実施形態1において、設定ファイルに新規性がない場合の、第1のパラメータ設定機能選択時の動作シーケンスを示す図である。In Embodiment 1, it is a figure which shows the operation | movement sequence at the time of the 1st parameter setting function selection when there is no novelty in a setting file. 実施形態2において、第2のパラメータ設定機能選択時の動作シーケンスを示す図である。In Embodiment 2, it is a figure which shows the operation | movement sequence at the time of the 2nd parameter setting function selection. 実施形態2において、設定ファイルが存在しない場合の第1のパラメータ設定機能選択時の動作シーケンスを示す図である。In Embodiment 2, it is a figure which shows the operation | movement sequence at the time of the 1st parameter setting function selection when a setting file does not exist. 実施形態2において、設定ファイルに新規性がない場合の第1のパラメータ設定機能選択時の動作シーケンスを示す図である。In Embodiment 2, it is a figure which shows the operation | movement sequence at the time of the 1st parameter setting function selection when there is no novelty in a setting file. 実施形態3において、第2のパラメータ設定機能選択時の動作シーケンスを示す図である。In Embodiment 3, it is a figure which shows the operation | movement sequence at the time of the 2nd parameter setting function selection. 実施形態3において、設定ファイルが存在しない場合の第1のパラメータ設定機能選択時の動作シーケンスを示す図である。In Embodiment 3, it is a figure which shows the operation | movement sequence at the time of the 1st parameter setting function selection when a setting file does not exist. 実施形態3において、設定ファイルに新規性がない場合の第1のパラメータ設定機能選択の動作シーケンスを示す図である。In Embodiment 3, it is a figure which shows the operation | movement sequence of the 1st parameter setting function selection in case there is no novelty in a setting file. 本発明の実施形態4にかかるネットワークの概略的な構成を示す図である。It is a figure which shows schematic structure of the network concerning Embodiment 4 of this invention. 実施形態4の自動選択機器の処理の流れを説明するフローチャートである。10 is a flowchart for explaining a processing flow of the automatic selection device according to the fourth embodiment.

101 無線通信部
102 要求検知部
103 パラメータ設定部
104 履歴記憶部
105 設定ファイル取得部
106 判断部
107 決定部
Reference Signs List 101 wireless communication unit 102 request detection unit 103 parameter setting unit 104 history storage unit 105 setting file acquisition unit 106 determination unit 107 determination unit

Claims (14)

第1の方式により通信パラメータを設定する第1のパラメータ設定機能と、前記第1の方式とは異なる第2の方式により通信パラメータを設定する第2のパラメータ設定機能と、を有する通信装置であって、
前記第2のパラメータ設定機能を用いたパラメータ設定の要求を受信する要求受信手段と、
前記要求受信手段により前記パラメータ設定の要求を受信した際に、前記第2のパラメータ設定機能に必要な設定ファイルを取得する取得手段と、
前記取得手段で取得された前記設定ファイルが作成されたときを示す情報と、格納手段に格納されている設定ファイルの使用履歴情報とを比較する比較手段と、
前記比較手段による比較結果に応じて、前記第1のパラメータ設定機能または前記第2のパラメータ設定機能のいずれか一方を選択する選択手段と、
前記選択手段により選択されたパラメータ設定機能を用いて、パラメータ設定を実行する設定手段と、
を有することを特徴とする通信装置。
A communication apparatus having a first parameter setting function for setting communication parameters according to a first method and a second parameter setting function for setting communication parameters according to a second method different from the first method. And
Request receiving means for receiving a parameter setting request using the second parameter setting function;
An acquisition unit for acquiring a setting file necessary for the second parameter setting function when the request for parameter setting is received by the request receiving unit;
Comparison means for comparing information indicating when the setting file acquired by the acquisition means is created with use history information of the setting file stored in the storage means;
Selection means for selecting one of the first parameter setting function and the second parameter setting function according to a comparison result by the comparison means;
Setting means for performing parameter setting using the parameter setting function selected by the selection means;
A communication apparatus comprising:
前記要求受信手段は、前記設定ファイルを有するデバイスとの近距離通信又は前記デバイスが装着されることによって前記パラメータ設定の要求を受信することを特徴とする請求項1に記載の通信装置。   The communication apparatus according to claim 1, wherein the request reception unit receives the parameter setting request by short-range communication with a device having the setting file or by mounting the device. 前記取得手段は、前記設定手段により前記パラメータ設定が実行された後に、前記設定ファイルが作成された作成日時を示す情報を前記格納手段に格納して、前記使用履歴情報を更新することを特徴とする請求項1に記載の通信装置。   The acquisition unit stores information indicating a creation date and time when the setting file is created in the storage unit after the parameter setting is performed by the setting unit, and updates the usage history information. The communication device according to claim 1. 前記比較手段による比較により、前記設定ファイルが作成されたときを示す情報と、前記格納手段に格納されている設定ファイルの使用履歴情報とが一致しない場合に、
前記選択手段は、前記第2のパラメータ設定機能を選択することを特徴とする請求項1に記載の通信装置。
When the comparison by the comparison means does not match the information indicating when the setting file is created and the usage history information of the setting file stored in the storage means,
The communication apparatus according to claim 1, wherein the selection unit selects the second parameter setting function.
前記比較手段による比較により、前記設定ファイルが作成されたときを示す情報と、前記格納手段に格納されている設定ファイルの使用履歴情報とが一致する場合に、
前記選択手段は、前記第1のパラメータ設定機能を選択することを特徴とする請求項1に記載の通信装置。
When the information indicating when the setting file is created by the comparison by the comparison unit and the usage history information of the setting file stored in the storage unit match,
The communication apparatus according to claim 1, wherein the selection unit selects the first parameter setting function.
前記設定ファイルを用いて構築されたネットワークの存在を確認する確認手段を更に有し、
前記選択手段は、前記比較手段の比較結果と、前記確認手段の確認結果と、に基づいて、前記第1のパラメータ設定機能または前記第2のパラメータ設定機能のいずれか一方を選択することを特徴とする請求項1に記載の通信装置。
Further comprising confirmation means for confirming the existence of a network constructed using the configuration file;
The selection means selects either the first parameter setting function or the second parameter setting function based on the comparison result of the comparison means and the confirmation result of the confirmation means. The communication device according to claim 1.
前記確認手段は、前記設定ファイルに格納されているネットワークの識別情報と、前記ネットワークの特性を示すチャネル情報と、のうち少なくともいずれか一方を取得し、前記識別情報と前記チャネル情報とのうち少なくともいずれか一方を用いて前記ネットワークを検索するためのネットワークスキャン処理を行うことで、前記ネットワークの存在を確認することを特徴とする請求項6に記載の通信装置。   The confirmation unit obtains at least one of network identification information stored in the configuration file and channel information indicating the characteristics of the network, and at least one of the identification information and the channel information. The communication apparatus according to claim 6, wherein the presence of the network is confirmed by performing a network scan process for searching the network using any one of them. 前記比較手段による比較により、前記設定ファイルが作成されたときを示す情報と、前記使用履歴情報とが一致しない場合であり、かつ、前記確認手段により前記ネットワークの存在が認められた場合に、
前記選択手段は、前記第2のパラメータ設定機能を選択することを特徴とする請求項7に記載の通信装置。
When the comparison by the comparison means is a case where the information indicating when the setting file is created and the usage history information do not match, and when the existence of the network is recognized by the confirmation means,
The communication apparatus according to claim 7, wherein the selection unit selects the second parameter setting function.
前記比較手段による比較により、前記設定ファイルが作成されたときを示す情報と、前記使用履歴情報とが一致する場合、または、前記確認手段により前記ネットワークの存在が認められない場合に、
前記選択手段は、前記第1のパラメータ設定機能を選択することを特徴とする請求項7に記載の通信装置。
When the information indicating when the setting file is created by the comparison by the comparison unit and the usage history information match, or when the existence of the network is not recognized by the confirmation unit,
The communication device according to claim 7, wherein the selection unit selects the first parameter setting function.
前記取得手段が前記設定ファイルを取得できなかった場合に、前記選択手段は、前記第1のパラメータ設定機能を選択することを特徴とする請求項1に記載の通信装置。   The communication apparatus according to claim 1, wherein the selection unit selects the first parameter setting function when the acquisition unit cannot acquire the setting file. 前記第1のパラメータ設定機能による処理の実行中において、
前記要求受信手段が前記第2のパラメータ設定機能を用いたパラメータ設定の要求を受信し、
前記比較手段による比較により、前記取得手段により取得された前記設定ファイルが作成されたときを示す情報が前記使用履歴情報と一致しないと判断される場合に、
前記選択手段は、前記第1のパラメータ設定機能の処理を中止して、前記第2のパラメータ設定機能を選択することを特徴とする請求項1に記載の通信装置。
During execution of processing by the first parameter setting function,
The request receiving means receives a parameter setting request using the second parameter setting function;
When it is determined by the comparison by the comparison unit that the information indicating when the setting file acquired by the acquisition unit is created does not match the usage history information,
The communication apparatus according to claim 1, wherein the selection unit stops processing of the first parameter setting function and selects the second parameter setting function.
前記第1の方式の通信パラメータを設定する第1のパラメータ設定機能には、WPS(Wi-Fi Protected Set Up)が含まれ、
前記第2の方式の通信パラメータを設定する第2のパラメータ設定機能には、WCN(Windows(登録商標) Connect Now)が含まれることを特徴とする請求項1に記載の通信装置。
The first parameter setting function for setting the communication parameter of the first method includes WPS (Wi-Fi Protected Set Up),
The communication apparatus according to claim 1, wherein the second parameter setting function for setting the communication parameter of the second method includes WCN (Windows (registered trademark) Connect Now).
第1の方式による通信パラメータを設定する第1のパラメータ設定機能と、前記第1の方式とは異なる第2の方式により通信パラメータを設定する第2のパラメータ設定機能と、を有する通信装置における通信パラメータの設定方法であって、
要求受信手段が、前記第2のパラメータ設定機能を用いたパラメータ設定の要求を受信する要求受信工程と、
取得手段が、前記要求受信工程で前記パラメータ設定の要求が受信された際に、前記第2のパラメータ設定機能に必要な設定ファイルを取得する取得工程と、
比較手段が、前記取得工程で取得された前記設定ファイルが作成されたときを示す情報と、格納手段に格納されている設定ファイルの使用履歴情報とを比較する比較工程と、
選択手段が、前記比較工程での比較結果に応じて、前記第1のパラメータ設定機能または前記第2のパラメータ設定機能のいずれか一方を選択する選択工程と、
設定手段が、前記選択工程で選択されたパラメータ設定機能を用いて、パラメータ設定を実行する設定工程と、
を有することを特徴とする通信パラメータの設定方法。
Communication in a communication apparatus having a first parameter setting function for setting communication parameters according to the first method and a second parameter setting function for setting communication parameters according to a second method different from the first method Parameter setting method,
Request receiving means, a request receiving step of receiving a request for a parameter setting using the second parameter setting function,
Acquisition means, when the request for the parameter setting is received by the request receiving step, an acquisition step of acquiring the configuration file necessary for the second parameter setting function,
A comparison step for comparing information indicating when the setting file acquired in the acquisition step is created with use history information of the setting file stored in the storage unit;
A selection step in which the selection means selects either the first parameter setting function or the second parameter setting function according to the comparison result in the comparison step;
Setting means, using the selected parameter setting function in the selection step, a setting step of performing a parameter setting,
A communication parameter setting method characterized by comprising:
コンピュータを、請求項1乃至12のいずれか1項に記載の通信装置の各手段として機能させるためのプログラム。 The program for functioning a computer as each means of the communication apparatus of any one of Claims 1 thru | or 12.
JP2009017125A 2009-01-28 2009-01-28 Communication device, communication parameter setting method, program Active JP5203991B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009017125A JP5203991B2 (en) 2009-01-28 2009-01-28 Communication device, communication parameter setting method, program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009017125A JP5203991B2 (en) 2009-01-28 2009-01-28 Communication device, communication parameter setting method, program

Publications (3)

Publication Number Publication Date
JP2010177927A JP2010177927A (en) 2010-08-12
JP2010177927A5 JP2010177927A5 (en) 2012-03-15
JP5203991B2 true JP5203991B2 (en) 2013-06-05

Family

ID=42708455

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009017125A Active JP5203991B2 (en) 2009-01-28 2009-01-28 Communication device, communication parameter setting method, program

Country Status (1)

Country Link
JP (1) JP5203991B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5533924B2 (en) * 2012-04-09 2014-06-25 横河電機株式会社 Wireless communication system
JP6860460B2 (en) * 2017-09-21 2021-04-14 日立建機株式会社 Construction machinery

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006293787A (en) * 2005-04-12 2006-10-26 Seiko Epson Corp Method of setting radio communication device
JP4865454B2 (en) * 2005-10-17 2012-02-01 キヤノン株式会社 Setting method and communication apparatus

Also Published As

Publication number Publication date
JP2010177927A (en) 2010-08-12

Similar Documents

Publication Publication Date Title
EP1718012B1 (en) Communication apparatus, communication system, and method for setting communication parameters of the communication apparatus
US9832722B2 (en) Information processing apparatus, control method, and program
EP2963987B1 (en) Information processing device, control method for information processing device, and program
KR101702293B1 (en) Communication apparatus, method for controlling the same, and recording medium
US9207885B2 (en) Image forming system having remotely accessed shared image forming apparatus
JP6111693B2 (en) Terminal device and computer program
US9465603B2 (en) Application management apparatus, application management system, application management method, and non-transitory computer readable medium
JP4612912B1 (en) Information processing apparatus, information processing system control method, and program
JP5810192B1 (en) IMAGING DEVICE, COMMUNICATION SYSTEM, IMAGING DEVICE COMMUNICATION METHOD, AND PROGRAM
EP3271811A1 (en) Information processing device, computer-readable recording medium, and information processing system
JP2013162323A (en) Radio communication device and its control method, and program
TW201234185A (en) Memory system capable of controlling wireless communication function
JP5203991B2 (en) Communication device, communication parameter setting method, program
EP2892032A1 (en) System and method of interlocking vehicle terminal with portable terminal
JP6111694B2 (en) Terminal device and computer program
JP6374666B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
EP2611104B1 (en) Communication apparatus, control method therefor, and program
JP7472253B2 (en) Information processing device, method, and program
JP6526102B2 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD FOR INFORMATION PROCESSING APPARATUS, AND PROGRAM
KR20160003564A (en) Information processing system, information processing apparatus, image processing apparatus, processing method of information processing system, and recording medium
JP2007174127A (en) Radio control device, radio terminal device, communication system, and control method
CN109511102B (en) Information processing apparatus having a plurality of lines, control method thereof, and storage medium
JP4788128B2 (en) Execution environment maintenance system, execution environment maintenance device, and execution environment maintenance method
JP2013074366A (en) Image reading apparatus, program, and image reading system using the image reading apparatus and computer in which the program is installed
JP2009253466A (en) Wireless communication system, information processor

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120130

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120130

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121225

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130214

R151 Written notification of patent or utility model registration

Ref document number: 5203991

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160222

Year of fee payment: 3