JP5203991B2 - Communication device, communication parameter setting method, program - Google Patents
Communication device, communication parameter setting method, program Download PDFInfo
- 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
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方式の設定を実行する方法が開示されている。
しかしながら、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
尚、本実施形態では、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
パラメータ設定部103は、パラメータ設定を行う機能を有する。履歴記憶部104は、各方式のパラメータ設定を行った際に、使用した設定ファイルの情報を記憶(格納)する機能を有する。履歴記憶部104は、使用された設定ファイルの情報を、パラメータ設定機能ごとに分けて、且つ、使用した最新の設定ファイルの情報を記憶(格納)する。設定ファイル取得部105は、要求検知部102がパラメータ設定の要求があることを検知した時に、そのパラメータ設定機能に必要な設定ファイルを取得する。判断部106は、設定ファイル取得部105により取得された設定ファイルと、履歴記憶部104に記憶(格納)されている情報と、を比較して、比較の結果に基づいて第1、第2のパラメータ設定機能のどちらを用いるかを判断(自動選択)する。決定部107は、判断部106の判断結果を受けて、パラメータ設定機能を切替え、切替えられた方式のパラメータ設定機能に基づきパラメータ設定処理を実行する。パラメータの設定処理が終了すると、設定ファイル取得部105は、決定部107によりパラメータ設定の実行が決定された後に、設定ファイルが作成された作成日時を示す情報を履歴記憶部104に格納して、使用履歴情報を更新する。
The
本実施形態では、パラメータ設定機能の自動選択の開始時に、既に、プリンタ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
自動選択機器のプリンタ201におけるパラメータの設定処理の流れを図3のフローチャートを参照して説明する。図3のフローチャートは以下に説明する実施形態2、3の処理と共通の処理を一部に含む。まず、最初にパラメータ設定機能の自動選択処理が開始されると、ステップS301において、プリンタ201はデバイス(UFD204)の検知を行う。ステップS301において、デバイス(UFD204)が検知されたら処理はステップS302に進められる。
The flow of parameter setting processing in the
ステップS302において、プリンタ201は第1のパラメータ設定機能のネットワーク検知処理を実行しているか否かを判断する。第1のパラメータ設定機能のネットワーク検知処理が実行されている場合(S302−NO)、プリンタ201はネットワーク検知処理を中断し(S303)、処理はステップS304に進められる。一方、ステップS302の判定において、プリンタ201が第1のパラメータ設定機能を実行して、且ネットワーク検知処理が終了していたら(S302−Yes)、処理はステップS304に進められる。
In step S302, the
ステップ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
ステップS306において、設定ファイル取得部105は設定ファイルを読み込む。そして、判断部106は、読み込まれた設定ファイルの作成日時の情報と、履歴記憶部104に記憶(格納)されている使用履歴情報と、の比較を行う。
In step S306, the setting
ステップS307において、判断部106は作成日時の情報の比較結果に基づいて、設定ファイルの作成日時の情報が、最も新しいものであるか否か(新規性の有無)を判断する。取得された設定ファイルの作成日時の情報と使用履歴情報とが一致する場合、設定ファイルは従前のパラメータ設定に使用されたものであり、判断部106はその設定ファイルの新規性がないと判断する(S307−No)。一方、ステップS307の判定で、取得された設定ファイルの作成日時の情報と使用履歴情報とが一致しない場合、その設定ファイルには新規性があると判断部106は判断する(S307−Yes)。ステップS307の判断において、設定ファイルに新規性があると判断された場合に(S307−Yes)、処理はステップS308に進められる。
In step S307, the
ステップS308において、判断部106は、第2のパラメータ設定機能を選択して、決定部107は、選択された第2のパラメータ設定機能に基づいてパラメータ設定を実行する。第1のパラメータ設定機能の処理が中断されていれば、その処理を中断から中止(処理を途中終了)にして、判断部106はUFD204内の設定ファイルを用いた第2のパラメータ設定機能を選択する。判断部106の選択に基づいて決定部107はパラメータ設定を実行する。一方、ステップS307の判断において、設定ファイルの新規性が認められなければ(S307−No)、処理はステップS309に進められる。ステップS309において、先のステップS306で取得された設定ファイルは破棄される。
In step S308, the
そして、ステップS310において、判断部106は、UFD204内の設定ファイルを用いた第2のパラメータ設定機能の選択を中止(終了)する。ステップS311において、決定部107は、判断部106による第2のパラメータ設定機能の選択を中止する旨の判断結果を受けて、第1のパラメータ設定機能に切替えてパラメータ設定を実行する。決定部107は、第1のパラメータ設定機能によるパラメータの設定処理が中断されている場合は、中断されているパラメータ設定処理を再開する。
In step S <b> 310, the
一方、ステップ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
一方、ステップ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
ステップS314において、判断部106は作成日時の情報の比較結果に基づいて、設定ファイルの作成日時の情報が、最も新しいものであるか否か(新規性の有無)を判断する。取得された設定ファイルの作成日時の情報と使用履歴情報とが一致する場合、設定ファイルは従前のパラメータ設定に使用されたものであり、判断部106はその設定ファイルの新規性がないと判断する(S314−No)。一方、ステップS314の判定で、取得された設定ファイルの作成日時の情報と使用履歴情報とが一致しない場合、その設定ファイルには新規性があると判断部106は判断する(S314−Yes)。ステップS314の判断において、設定ファイルに新規性があると判断された場合に(S314−Yes)、処理はステップS315に進められる。
In step S314, the
ステップS315において、判断部106は、デバイス(UFD204)内の設定ファイルを用いた第2のパラメータ設定機能を選択し、決定部107は、選択された第2のパラメータ設定機能に基づいてパラメータ設定を実行する。
In step S315, the
ステップ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
次に、プリンタ201が第1または第2のパラメータ設定機能の自動選択を行い、PC202と第2のパラメータ設定機能(WCN)によりパラメータ設定を行うまでの動作シーケンスを図4の参照により説明する。
Next, an operation sequence until the
プリンタ201のパラメータ設定機能の自動選択の実行開始により、プリンタ201はデバイス(UFD204)を検知する(S401)。
When the automatic selection of the parameter setting function of the
プリンタ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
次に、デバイス(UFD204)に設定ファイルが存在しない時に、プリンタ201が第1のパラメータ設定機能を選択し、パラメータ設定を実行するまでの動作シーケンスを図5の参照により説明する。ステップS401、ステップS402までの処理は図4の処理と同じ処理である。
Next, an operation sequence until the
プリンタ201は、設定ファイルがデバイス(UFD204)内に存在しないことを確認し、第2のパラメータ設定機能(WCN)の選択を中止し、第1のパラメータ設定機能(WPS)を選択する(S501)。次に、第1のパラメータ設定機能(WPS)をPC202、カメラ203がサポートしているか確認する(S502、S504)。ステップS502の問合せに対して、PC202は、第1のパラメータ設定機能が未サポートであることを応答する(S503)。ステップS504の問合せに対して、カメラ203は、第1のパラメータ設定機能をサポートしていることを応答する(S505)。
The
プリンタ201は、PC202、カメラ203からの応答に基づいて、第1のパラメータ設定機能をサポートしているのがカメラ203であることを確認する。そして、プリンタ201は、第1のパラメータ設定機能を選択し、カメラ203との間でパラメータ設定を行う(S506)。そして、第1のパラメータ設定機能によるパラメータ受信を終了する。これにより、パラメータ設定(パラメータの共有)が終了する(S507)。ステップS507の処理により第1のパラメータ設定機能で受信したパラメータをプリンタ201に設定する(S508)。そして、プリンタ201は、カメラ203と接続を行う(S509)。
Based on the responses from the
次に、プリンタ201が第1、第2のパラメータ設定機能の自動選択を行い、その際、デバイス(UFD204)内の設定ファイルに新規性が認められない時に、第1のパラメータ設定機能を選択する動作シーケンスを図6の参照により説明する。ステップS401乃至ステップS405までは図4と同じ処理である。プリンタ201は、設定ファイルに新規性がないことを確認したら、第2のパラメータ設定機能(WCN)の選択を中止して、第1のパラメータ設定機能(WPS)を選択する(S601)。第1のパラメータ設定機能をサポートしている機器があるかを検索するためにネットワーク検知処理を行う(S602、S604)。
Next, the
ステップS602のネットワーク検知処理(問合せ)に対して、PC202は、第1のパラメータ設定機能が未サポートであることを応答する(S603)。ステップS604のネットワーク検知処理(問合せ)に対して、カメラ203は、第1のパラメータ設定機能をサポートしていることを応答する(S605)。
In response to the network detection process (inquiry) in step S602, the
プリンタ201は、PC202、カメラ203からの応答に基づいて、第1のパラメータ設定機能をサポートしているのがカメラ203であることを確認する。そして、プリンタ201は、第1のパラメータ設定機能を選択し、カメラ203との間でパラメータ設定を行う(S606)。そして、第1のパラメータ設定機能によるパラメータ受信を終了する。これにより、パラメータ設定(パラメータの共有)が終了する(S607)。ステップS607の処理により第1のパラメータ設定機能で受信したパラメータをプリンタ201に設定する(S608)。そして、プリンタ201は、カメラ203と接続を行う(S609)。
Based on the responses from the
本実施形態によれば、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
その時に、プリンタ201において、パラメータ設定機能の自動選択を再び行い、PC202またはカメラ203と接続するまでの処理の流れを説明する。ここで、PC202は設定ファイルを用いたWCNネットワーク205を構築しているものとする。
At that time, the flow of processing until the
プリンタ201が第1、第2のパラメータ設定機能の自動選択を行い、その際、第2のパラメータ設定機能(WCN)を選択し、PC202とパラメータ設定を行う時の動作シーケンスを図7の参照により説明する。
The
第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
プリンタ201は、ネットワーク検知処理終了後にデバイス(UFD204)を検知したら、第1のパラメータ設定機能を中断する(S705)。そして、デバイス(UFD204)内に、第2のパラメータ設定機能に必要な設定ファイルが存在するか否かを確認する(S706)。デバイス(UFD204)の応答により、プリンタ201は、設定ファイルがデバイス(UFD204)内に存在することを確認する(S707)。
When the
プリンタ201は、デバイス(UFD204)から設定ファイルの読み込みを行い(S708)、デバイス(UFD204)から設定ファイルの情報を取得する(S709)。プリンタ201は、取得された設定ファイルの作成日時の情報と、プリンタ201の履歴記憶部104に記憶(格納)されている、設定ファイル群のファイル作成日時を示す使用履歴情報とを比較する。そして、デバイス(UFD204)から取得された設定ファイルの作成日時が最も新しいものであるか、そして、設定ファイルの作成日時の情報と使用履歴情報とが一致するかを判定し、設定ファイルの新規性の有無を判定する(S710)。
The
このとき、設定ファイルの新規性が認められると、デバイス(UFD204)から取得された設定ファイルを用いて、プリンタ201の判断部106は、第2のパラメータ設定機能を選択し、決定部107は、WCNのパラメータ設定を実行する(S711)。そして、第1のパラメータ設定機能の処理は中止される(中断していた処理は途中終了となる)。そして、第2のパラメータ設定機能により、設定されたパラメータを用いてPC202との接続を行う(S712)。
At this time, when the novelty of the setting file is recognized, the
次に、プリンタ201が第1、第2のパラメータ設定機能の自動選択を行う際、デバイス(UFD204)に設定ファイルが存在しなかった場合を想定する。このとき、第1のパラメータ設定機能を選択するまでの動作シーケンスを図8の参照により説明する。
Next, it is assumed that when the
本処理において、ステップ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
プリンタ201は、PC202、カメラ203からの応答に基づいて、第1のパラメータ設定機能をサポートしているのがカメラ203であることを確認する。そして、プリンタ201は、第1のパラメータ設定機能を選択し、カメラ203との間でパラメータ設定を行う(S806)。そして、第1のパラメータ設定機能によるパラメータ受信を終了する。これにより、パラメータ設定(パラメータの共有)が終了する(S807)。ステップS807の処理により第1のパラメータ設定機能で受信したパラメータをプリンタ201に設定する(S808)。そして、プリンタ201は、カメラ203と接続を行う(S809)。
Based on the responses from the
次に、プリンタ201が第1、第2のパラメータ設定機能の自動選択を行う際、UFD204内の設定ファイルに新規性が認められなかった場合を想定する。このとき、プリンタ201が第1のパラメータ設定機能を選択する動作シーケンスを図9の参照により説明する。
Next, it is assumed that when the
ステップ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
第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
プリンタ201は、PC202、カメラ203からの応答に基づいて、第1のパラメータ設定機能をサポートしているのがカメラ203であることを確認する。そして、プリンタ201は、第1のパラメータ設定機能を選択し、カメラ203との間でパラメータ設定を行う(S907)。そして、第1のパラメータ設定機能によるパラメータ受信を終了する。これにより、パラメータ設定(パラメータの共有)が終了する(S908)。
Based on the responses from the
ステップ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
本実施形態によれば、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
図10は、プリンタ201が第1、第2のパラメータ設定機能の自動選択を行い、その際、第2のパラメータ設定機能(WCN)を選択し、PC202とパラメータ設定を行う時の動作シーケンスを示す図である。第1のパラメータ設定機能(WPS)の処理を開始する(S1001)。第1のパラメータ設定機能をサポートしている機器があるかを検索するためにネットワーク検知処理を行う(S1001、S1003)。
FIG. 10 shows an operation sequence when the
ステップ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
その後、プリンタ201は、装着されたデバイス(UFD204)を検知すると(S1007)、第1のパラメータ設定機能の処理を中断する。そして、プリンタ201は、UFD204内に、第2のパラメータ設定機能に必要な設定ファイルが存在するか否かを確認する(S1008)。デバイス(UFD204)の応答により、プリンタ201は、設定ファイルがデバイス(UFD204)内に存在することを確認する(S1009)。プリンタ201は、デバイス(UFD204)から設定ファイルの読み込みを行い、デバイス(UFD204)から設定ファイルの情報を取得する(S1009)。
Thereafter, when the
プリンタ201は、取得された設定ファイルの作成日時の情報と、プリンタ201の履歴記憶部104に記憶(格納)されている、設定ファイル群のファイル作成日時を示す使用履歴情報とを比較する。そして、デバイス(UFD204)から取得された設定ファイルの作成日時が最も新しいものであるか、そして、設定ファイルの作成日時の情報と使用履歴情報とが一致するかを判定し、設定ファイルの新規性の有無を判定する(S1010)。このとき、設定ファイルの作成日時の情報と使用履歴情報とが一致しない場合に、設定ファイルの新規性が認められる。
The
プリンタ201は、第1のパラメータ設定機能の処理を中止して(中断していた処理を途中終了し)、第1のパラメータ設定機能で受信したパラメータを破棄する。そして、プリンタ201の判断部106は、デバイス(UFD204)から取得された設定ファイルを用いて、第2のパラメータ設定機能を選択する(S1011)。そして、プリンタ201の決定部107は、WCNのパラメータ設定を実行する(S1012)。そして、第2のパラメータ設定機能により、設定されたパラメータを用いてPC202との接続を行う(S1013)。
The
次に、図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
次に、図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
本実施形態によれば、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
実施形態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
実施形態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
判断部106は、読み込まれた設定ファイルの作成日時の情報と、履歴記憶部104に記憶(格納)されている使用履歴情報と、の比較を行う。取得された設定ファイルの作成日時の情報と使用履歴情報とが一致する場合、設定ファイルは従前のパラメータ設定に使用されたものであり、判断部106はその設定ファイルの新規性がないと判断する。一方、取得された設定ファイルの作成日時の情報と使用履歴情報とが一致しない場合、その設定ファイルには新規性があると判断される。
The
図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
ステップ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
一方、設定ファイルを用いて構築されたネットワークが存在しなければ(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
尚、デバイス(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.
101 無線通信部
102 要求検知部
103 パラメータ設定部
104 履歴記憶部
105 設定ファイル取得部
106 判断部
107 決定部
Claims (14)
前記第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:
前記選択手段は、前記第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.
前記選択手段は、前記第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.
前記要求受信手段が前記第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.
前記第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).
要求受信手段が、前記第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:
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)
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)
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 |
-
2009
- 2009-01-28 JP JP2009017125A patent/JP5203991B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2010177927A (en) | 2010-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9832722B2 (en) | Information processing apparatus, control method, and program | |
EP1718012B1 (en) | Communication apparatus, communication system, and method for setting communication parameters of the communication apparatus | |
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 | |
EP2892032A1 (en) | System and method of interlocking vehicle terminal with portable terminal | |
TW201234185A (en) | Memory system capable of controlling wireless communication function | |
JP5203991B2 (en) | Communication device, communication parameter setting method, program | |
JP2013162322A (en) | Radio communication apparatus, control method of the same, and program | |
JP6374666B2 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
JP6111694B2 (en) | Terminal device and computer program | |
JP7472253B2 (en) | Information processing device, method, and program | |
JP2013161250A (en) | Wireless communication device, control method therefor, 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 | |
JP4788128B2 (en) | Execution environment maintenance system, execution environment maintenance device, and execution environment maintenance method | |
JP5818927B2 (en) | Communication device, control method, and program | |
JP2010170271A (en) | Portable terminal, storage system using portable terminal, and method and program therefor |
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 |