JP2010041508A - Wireless communication apparatus - Google Patents

Wireless communication apparatus Download PDF

Info

Publication number
JP2010041508A
JP2010041508A JP2008203423A JP2008203423A JP2010041508A JP 2010041508 A JP2010041508 A JP 2010041508A JP 2008203423 A JP2008203423 A JP 2008203423A JP 2008203423 A JP2008203423 A JP 2008203423A JP 2010041508 A JP2010041508 A JP 2010041508A
Authority
JP
Japan
Prior art keywords
pin code
access point
connection setting
communication
wireless communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008203423A
Other languages
Japanese (ja)
Inventor
Yasuyuki Motoki
康之 元木
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.)
Nikon Corp
Original Assignee
Nikon Corp
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 Nikon Corp filed Critical Nikon Corp
Priority to JP2008203423A priority Critical patent/JP2010041508A/en
Publication of JP2010041508A publication Critical patent/JP2010041508A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a wireless communication apparatus in which connection setting work can be continued by reconnection when a communication is disconnected during the connection setting work according to a PIN code system of Wi-Fi protected setup (WPS). <P>SOLUTION: A wireless communication apparatus is configured to perform connection setting, in accordance with a PIN code system of WPS, with an access point 2 connected via a wireless LAN. When a communication is disconnected from the access point 2 during connection setting work, a PIN code registered in the access point 2 authenticated as a device is held in an EEPROM 18 and when reconnecting the communication with the access point 2, authentication is performed using the held PIN code. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、無線LANを経由して接続されたサーバとの間で通信を行う無線通信装置に関するものである。   The present invention relates to a wireless communication apparatus that performs communication with a server connected via a wireless LAN.

従来、無線ネットワークを介して接続されるコンピュータまたはプリンタに画像データを転送する電子カメラにおいて、簡単な操作で無線ネットワークの設定ができるようにしたものが知られている(例えば、特許文献1参照)。
特開2007−20037号公報
2. Description of the Related Art Conventionally, an electronic camera that transfers image data to a computer or printer connected via a wireless network is known in which a wireless network can be set with a simple operation (for example, see Patent Document 1). .
JP 2007-20037 A

近年、無線LANの設定を簡単にする技術として、WPS(Wi−Fi Protected Setup)と呼ばれる方式が普及している。このWPSでは、デバイスを無線LANのアクセスポイント接続できるように設定する際の認証方式として、PINコード方式とプッシュボタン方式の2つが用意されている。このうちPINコード方式は、デバイスに固有の4または8桁の番号を接続先のアクセスポイントに入力する、例えばPC(パーソナルコンピュータ)をアクセスポイントに接続し、このPCのキーボードを使って入力することにより、アクセスポイントとの間でデバイスの認証、接続設定を行うというものである。   In recent years, a method called WPS (Wi-Fi Protected Setup) has become widespread as a technique for simplifying wireless LAN settings. In this WPS, two methods, a PIN code method and a push button method, are prepared as authentication methods for setting a device so that it can be connected to a wireless LAN access point. Of these, the PIN code method is to enter a 4- or 8-digit number unique to the device to the access point to which it is connected, for example, connect a PC (personal computer) to the access point and enter it using the keyboard of this PC. Thus, device authentication and connection setting are performed with the access point.

ところで、アクセスポイントの仕様によっては、認証時にアクセスポイントがデバイスを認識した時点で無線LANによる通信を一度切断してしまうものがある。この場合は、接続設定を最初からやり直すことになる。このとき、セキュリティの観点から所定時間ごとにPINコードを自動生成するようにしている場合は、再び接続設定を実行したときに、同じデバイスに対し前回とは異なるPINコードが生成されることになる。このため、再度アクセスポイントと通信しても、今回生成されたPINコードは、アクセスポイントに登録されている前回のPINコードと一致しないことになる。したがって、アクセスポイント側での認証を得ることができず、接続設定ができないことになる。   By the way, depending on the specifications of the access point, there is a case where communication by the wireless LAN is once disconnected when the access point recognizes the device at the time of authentication. In this case, connection setting is performed again from the beginning. At this time, if the PIN code is automatically generated every predetermined time from the viewpoint of security, when the connection setting is executed again, a different PIN code is generated for the same device. . For this reason, even if it communicates with the access point again, the PIN code generated this time does not match the previous PIN code registered in the access point. Therefore, authentication on the access point side cannot be obtained, and connection setting cannot be performed.

本発明の課題は、WPSのPINコード方式による接続設定の作業中に通信が切断された場合でも、再接続により接続設定の作業を継続することができる無線通信装置を提供することにある。   An object of the present invention is to provide a wireless communication apparatus capable of continuing connection setting work by reconnection even when communication is cut off during connection setting work by the WPS PIN code method.

本発明は、以下のような解決手段により前記課題を解決する。なお、理解を容易にするために、本発明の実施形態に対応する符号を付して説明するが、これに限定されるものではない。
請求項1に記載の発明は、通信路を介して接続される相手側機器(2)との間でWPSのPINコード方式により接続設定を行う無線通信装置であって、所定時間毎に異なるPINコードを生成するPINコード生成手段(24)と、前記PINコードを保持するPINコード保持手段(18)と、接続設定の作業中に前記相手側機器との間で通信の接続が切断された場合は、デバイスとして認証された前記相手側機器に登録されている前記PINコードを前記PINコード保持手段に保持させ、前記相手側機器との間で通信を再接続する際に、前記PINコード保持手段に保持している前記PINコードにより認証を行う接続制御手段(24)とを備えることを特徴とする。
請求項2に記載の発明は、請求項1に記載の無線通信装置であって、前記接続制御手段(24)は、接続設定の作業中に前記相手側機器との間で通信が切断された場合は、所定時間後に前記相手側機器(2)との間で通信を再接続することを特徴とする。
なお、符号を付して説明した構成は、適宜改良してもよく、また、少なくとも一部を他の構成物に代替してもよい。
The present invention solves the above problems by the following means. In addition, in order to make an understanding easy, although the code | symbol corresponding to embodiment of this invention is attached | subjected and demonstrated, it is not limited to this.
The invention according to claim 1 is a wireless communication apparatus that performs connection setting with a partner device (2) connected via a communication path by a WPS PIN code method, and a PIN that is different every predetermined time. When communication is disconnected between the PIN code generating means (24) for generating a code, the PIN code holding means (18) for holding the PIN code, and the counterpart device during connection setting work Causes the PIN code holding means to hold the PIN code registered in the counterpart device authenticated as a device, and the PIN code holding means when reconnecting communication with the counterpart device And connection control means (24) for performing authentication using the PIN code held in the terminal.
A second aspect of the present invention is the wireless communication apparatus according to the first aspect, wherein the connection control means (24) is disconnected from the counterpart device during a connection setting operation. In this case, communication is reconnected with the counterpart device (2) after a predetermined time.
Note that the configuration described with reference numerals may be improved as appropriate, or at least a part thereof may be replaced with another component.

本発明によれば、WPSのPINコード方式による接続設定の作業中に通信が切断された場合でも、再接続により接続設定の作業を継続することができる無線通信装置を提供することができる。   According to the present invention, it is possible to provide a wireless communication device capable of continuing connection setting work by reconnection even when communication is cut off during connection setting work by the WPS PIN code method.

以下、図面を参照して、本発明に係わる無線通信装置の実施形態について説明する。本実施形態では、本発明に係わる無線通信装置を電子カメラに適用した場合について説明する。   Embodiments of a wireless communication apparatus according to the present invention will be described below with reference to the drawings. In this embodiment, a case where a wireless communication apparatus according to the present invention is applied to an electronic camera will be described.

図1は、本実施形態の電子カメラが接続する画像転送システム10の全体図である。この画像転送システム10は、電子カメラ1が無線LANを介して接続するアクセスポイント2と、レジストラとして機能するPC(パーソナルコンピュータ)3と、アクセスポイント2とネットワーク回線4を介して接続されたサーバ5とを備えている。   FIG. 1 is an overall view of an image transfer system 10 to which the electronic camera of this embodiment is connected. The image transfer system 10 includes an access point 2 to which the electronic camera 1 is connected via a wireless LAN, a PC (personal computer) 3 that functions as a registrar, and a server 5 that is connected to the access point 2 via a network line 4. And.

アクセスポイント2は、例えば、ユーザの自宅に設置され、電子カメラ1から自宅の無線LANにより送信された画像データを中継し、図示しないルータやネットワーク回線4を介してサーバ5に転送する。   For example, the access point 2 is installed at the user's home, relays image data transmitted from the electronic camera 1 via the home wireless LAN, and transfers the image data to the server 5 via a router or a network line 4 (not shown).

PC3は、自宅の無線LANもしくは有線LANを介してアクセスポイント2と接続されており、PC3のモニタ上に表示したアクセスポイント2の設定画面を通じてPINコードや設定情報などを入力することにより、電子カメラ1とアクセスポイント2との間の接続設定を行うものである。   The PC 3 is connected to the access point 2 via a home wireless LAN or a wired LAN. By inputting a PIN code or setting information through the setting screen of the access point 2 displayed on the monitor of the PC 3, the electronic camera 1 and a connection setting between the access point 2 is performed.

図2は、本実施形態における電子カメラ1の構成を示すブロック図である。以下、各部について順に説明する。   FIG. 2 is a block diagram showing a configuration of the electronic camera 1 in the present embodiment. Hereinafter, each part is demonstrated in order.

光学部材11は、入射光を屈折させて射出側の撮像部13に被写体像を形成するレンズである。   The optical member 11 is a lens that refracts incident light and forms a subject image on the imaging unit 13 on the exit side.

可変光学部12は、図示しない絞り開口機構、シャッター機構および焦点調節機構を備え、光学部材11を通過する被写体光の光量調節や、撮像部13での露光時間の調整のほか、光学部材11を光軸方向に駆動させて焦点調節を行う。絞り開口値やシャッタースピード、焦点調節量は制御部24により制御されている。   The variable optical unit 12 includes an aperture opening mechanism, a shutter mechanism, and a focus adjustment mechanism (not shown). In addition to adjusting the amount of subject light passing through the optical member 11 and adjusting the exposure time in the imaging unit 13, the variable optical unit 12 The focus is adjusted by driving in the direction of the optical axis. The aperture value, shutter speed, and focus adjustment amount are controlled by the control unit 24.

撮像部13は、平面配置された複数の図示しない固体撮像素子により構成され、光学部材11により結像された被写体像を固体撮像素子の受光面で撮像し、画像信号に変換して画像処理部14へ出力する。   The imaging unit 13 includes a plurality of solid-state imaging elements (not shown) arranged in a plane, captures a subject image formed by the optical member 11 on the light-receiving surface of the solid-state imaging element, converts the image into an image signal, and converts the image signal into an image processing unit. 14 to output.

画像処理部14は、撮像部13から出力された画像信号に対し、ノイズ除去、A/D変換、色補正処理、サイズ変更、符号化などの処理を行い、デジタルの画像データを作成する。この画像データは後述するDRAM20に一時的に記憶される。   The image processing unit 14 performs processing such as noise removal, A / D conversion, color correction processing, size change, and encoding on the image signal output from the imaging unit 13 to create digital image data. This image data is temporarily stored in the DRAM 20 described later.

タイミング制御部15は、制御部24により制御され、撮像部13、画像処理部14などの動作に必要なタイミング信号を出力する。また、タイミング制御部15は、後述するPINコードを生成するためのクロック信号を発生しており、このクロック信号を制御部24へ出力している。   The timing control unit 15 is controlled by the control unit 24 and outputs timing signals necessary for the operations of the imaging unit 13 and the image processing unit 14. The timing control unit 15 generates a clock signal for generating a PIN code, which will be described later, and outputs the clock signal to the control unit 24.

液晶モニタ16は、電子カメラ1の背面に設置された表示装置であり、絞り開口値、シャッタースピード、設定感度などの撮影条件に関する情報ほか、各種設定や登録を行うためのメニュー画面、撮影した画像の静止画、ライブビューの画像を含む動画などが表示される。   The liquid crystal monitor 16 is a display device installed on the back side of the electronic camera 1 and includes information on shooting conditions such as aperture value, shutter speed, and setting sensitivity, a menu screen for performing various settings and registration, and a captured image. Still images, moving images including live view images, etc. are displayed.

液晶モニタ表示回路17は、液晶モニタ16に対しデータ信号やタイミング信号などを供給する回路である。液晶モニタ16の表示内容は制御部24から液晶モニタ表示回路17に送信される制御信号により制御されている。   The liquid crystal monitor display circuit 17 is a circuit that supplies a data signal, a timing signal, and the like to the liquid crystal monitor 16. The display content of the liquid crystal monitor 16 is controlled by a control signal transmitted from the control unit 24 to the liquid crystal monitor display circuit 17.

EEPROM18は、電子カメラ1の電源がオフしても記憶した情報を保持する不揮発性メモリであり、ユーザ設定やカスタム設定などの入力情報が記憶される。また、EEPROM18の所定エリアには、制御部24で生成されたPINコードが記憶される。   The EEPROM 18 is a non-volatile memory that retains stored information even when the power of the electronic camera 1 is turned off, and stores input information such as user settings and custom settings. A PIN code generated by the control unit 24 is stored in a predetermined area of the EEPROM 18.

ROM19は、電子カメラ1の動作や制御に必要なプログラムのほか、このプログラムの実行に必要な初期値や設定値などが記憶される。   The ROM 19 stores not only programs necessary for the operation and control of the electronic camera 1, but also initial values and setting values necessary for executing the programs.

DRAM20は、電子カメラ1の電源がオフしたときに記憶した情報が消去される揮発性メモリであり、上述した画像データのほか、画像処理部14、制御部24などが処理を行う際に必要なデータが一時的に記憶される。   The DRAM 20 is a volatile memory from which stored information is erased when the power of the electronic camera 1 is turned off. In addition to the above-described image data, the DRAM 20 is necessary when the image processing unit 14, the control unit 24, and the like perform processing. Data is temporarily stored.

メモリカードI/F(インターフェース)部21は、DRAM20に記憶されている画像データをメモリカード6に記録し、またメモリカード6に記録されている画像データを読み出す機能を備えた書き込み/読み出し装置である。このメモリカードI/F部21の図示しないメモリカードスロットには、メモリカード6が着脱自在に装着される。   The memory card I / F (interface) unit 21 is a writing / reading device having a function of recording image data stored in the DRAM 20 on the memory card 6 and reading out the image data recorded on the memory card 6. is there. A memory card 6 is detachably attached to a memory card slot (not shown) of the memory card I / F unit 21.

操作部22は、各種の操作ボタンやスイッチ、ダイアルなどで構成されている。例えば、レリーズボタン、カメラモードの切り換え用の選択ダイアル、再生画像を液晶モニタ16に表示するためのボタン、液晶モニタ16に表示される選択画面において、選択位置を移動するためのボタンなどが含まれる。   The operation unit 22 includes various operation buttons, switches, dials, and the like. For example, a release button, a selection dial for switching the camera mode, a button for displaying a reproduction image on the liquid crystal monitor 16, a button for moving a selection position on the selection screen displayed on the liquid crystal monitor 16, and the like are included. .

無線LANモジュール部23は、アクセスポイント2との間で無線LANにより通信を行う回路であり、メモリカード6やDRAM20に記憶されている画像データを無線通信により転送する。この無線LANモジュール部23とアクセスポイント2との間は、後述するWPSのPINコード方式により認証、接続設定が行われる。   The wireless LAN module unit 23 is a circuit that communicates with the access point 2 through a wireless LAN, and transfers image data stored in the memory card 6 and the DRAM 20 through wireless communication. Authentication and connection setting are performed between the wireless LAN module unit 23 and the access point 2 by a WPS PIN code method to be described later.

制御部24は、電子カメラ1全体の動作を制御する回路であり、CPUをメインユニットとするマイクロプロセッサにより構成されている。この制御部24には、操作部22から各種信号やデータなどが入力される。   The control unit 24 is a circuit that controls the operation of the entire electronic camera 1, and is configured by a microprocessor having a CPU as a main unit. Various signals and data are input to the control unit 24 from the operation unit 22.

図1に示す電子カメラ1において、ユーザによりレリーズボタンが半押しされると、制御部24は、図示しない焦点検出部で検出された被写体像のデフォーカス量に基づいてレンズ駆動量を演算する。そして、このレンズ駆動量に基づいて可変光学部12を制御することにより、光学部材11において焦点調節がなされる。   In the electronic camera 1 shown in FIG. 1, when the release button is half-pressed by the user, the control unit 24 calculates the lens driving amount based on the defocus amount of the subject image detected by the focus detection unit (not shown). Then, the optical member 11 is focused by controlling the variable optical unit 12 based on the lens driving amount.

また、制御部24は、撮像部13で検出された被写体像の測光値や、光学部材11のF値、焦点距離などのレンズ情報のほか、ユーザにより設定された撮影モード、図示しない感度設定部から入力された感度情報などに基づいて適正な露出値を演算する。そして、その露出値に応じた絞り値とシャッタースピード値を選択し、可変光学部12へ送信することにより、露出制御が行われる。   In addition to the photometric value of the subject image detected by the imaging unit 13, the lens information such as the F value and the focal length of the optical member 11, the control unit 24, the shooting mode set by the user, and a sensitivity setting unit (not shown) The appropriate exposure value is calculated based on the sensitivity information input from. Then, an aperture value and a shutter speed value corresponding to the exposure value are selected and transmitted to the variable optical unit 12, whereby exposure control is performed.

さらに、ユーザによりレリーズボタンが全押しされたときは、直前のデフォーカス量に基づいて演算されたレンズ駆動量により焦点調節がなされるとともに、直前の露出値に応じた絞り値とシャッタースピード値に基づいて露出制御がなされる。これによって、撮像部13では、適正なピント、露出に調節された画像が撮像されることになる。   Furthermore, when the release button is fully pressed by the user, the focus adjustment is performed by the lens driving amount calculated based on the immediately preceding defocus amount, and the aperture value and shutter speed value corresponding to the immediately preceding exposure value are set. Based on this, exposure control is performed. As a result, the image capturing unit 13 captures an image adjusted to an appropriate focus and exposure.

また、制御部24は、タイミング制御部15からのタイミング信号に基づいて、所定時間毎に異なるPINコードを生成するPINコード生成手段として機能する。さらに、制御部24は、後述する接続設定の作業中にアクセスポイント2との間で通信の接続が切断された場合には、アクセスポイント2に登録されているPINコードをEEPROM18に記憶させ、アクセスポイント2との間で通信を再接続した際に、EEPROM18に記憶しているPINコードを用いて接続設定の作業を継続する接続制御手段として機能する。   The control unit 24 functions as a PIN code generation unit that generates a different PIN code every predetermined time based on the timing signal from the timing control unit 15. Further, when the communication connection with the access point 2 is disconnected during the connection setting operation described later, the control unit 24 stores the PIN code registered in the access point 2 in the EEPROM 18 and accesses it. When communication is reconnected with the point 2, it functions as a connection control means for continuing the connection setting operation using the PIN code stored in the EEPROM 18.

上記構成において、画像処理部14、タイミング制御部15、EEPROM18、ROM19、DRAM20、メモリカードI/F部21、無線LANモジュール部23、制御部24は、バス25を介して相互に接続されている。また、電子カメラ1には、各部に電力を供給する電源回路や、USBなどの規格に対応したケーブルを介して外部装置とインターフェースをとる外部インターフェース回路などが設けられている。   In the above configuration, the image processing unit 14, the timing control unit 15, the EEPROM 18, the ROM 19, the DRAM 20, the memory card I / F unit 21, the wireless LAN module unit 23, and the control unit 24 are connected to each other via a bus 25. . The electronic camera 1 is also provided with a power supply circuit that supplies power to each unit, an external interface circuit that interfaces with an external device via a cable that conforms to a standard such as USB.

次に、上記のように構成された電子カメラ1とアクセスポイント2による無線LANの接続設定について説明する。電子カメラ1とアクセスポイント2とを無線LANを介して接続して、ネットワーク回線4を経由してサーバ5に画像データを転送するためには、予め電子カメラ1とアクセスポイント2との間で無線LANの接続設定がなされている必要がある。この接続設定は電子カメラ1とアクセスポイント2との間で行われるが、アクセスポイント2は文字入力の機能を持たないため、本実施形態ではアクセスポイント2と無線LANで接続しているPC3からPINコードや設定情報を入力している。   Next, wireless LAN connection settings by the electronic camera 1 and the access point 2 configured as described above will be described. In order to connect the electronic camera 1 and the access point 2 via a wireless LAN and transfer image data to the server 5 via the network line 4, wireless communication between the electronic camera 1 and the access point 2 is performed in advance. LAN connection settings must be made. This connection setting is performed between the electronic camera 1 and the access point 2. However, since the access point 2 does not have a character input function, in this embodiment, a PIN is set from the PC 3 connected to the access point 2 via a wireless LAN. A code or setting information is entered.

図3は、無線LANの接続設定の手順を示すフローチャートである。電子カメラ1では、液晶モニタ16のセットアップ画面でネットワーク設定を選択し、その設定画面において「WPS/PINコード方式で設定」の項目を選択することにより接続設定が開始される。また、アクセスポイント2では、PC3のセットアップ画面でネットワーク設定を選択し、その設定画面において「WPS/PINコード方式で設定」の項目を選択することにより接続設定が開始される。以下、電子カメラ1、アクセスポイント2それぞれのルーチンにおける処理を並行して説明する。   FIG. 3 is a flowchart showing a procedure for setting up a wireless LAN connection. In the electronic camera 1, the network setting is selected on the setup screen of the liquid crystal monitor 16, and the connection setting is started by selecting the item “set by WPS / PIN code method” on the setting screen. In the access point 2, connection setting is started by selecting the network setting on the setup screen of the PC 3 and selecting the item “set by WPS / PIN code system” on the setting screen. Hereinafter, processes in the routines of the electronic camera 1 and the access point 2 will be described in parallel.

まず、電子カメラ1の図示しないセットアップ画面において、ネットワーク設定が選択され(ステップS101)、続いて、WPS/PINコードの設定が選択されると(ステップS102)、制御部24はPINコードを生成し(ステップS103)、このPINコードを液晶モニタ16に表示させる(ステップS104)。   First, on the setup screen (not shown) of the electronic camera 1, network setting is selected (step S 101). Subsequently, when WPS / PIN code setting is selected (step S 102), the control unit 24 generates a PIN code. (Step S103), the PIN code is displayed on the liquid crystal monitor 16 (Step S104).

一方、PC3の図示しないセットアップ画面において、ネットワーク設定が選択され(ステップS201)、続いて、WPS/PINコードの設定が選択されると(ステップS202)、PC3ではPINコードの入力画面表示となる(ステップS203)。ユーザは、電子カメラ1の液晶モニタ16に表示されたPINコードを、PC3のPINコードの入力画面に入力する。ここで入力されたPINコードは登録情報としてアクセスポイント2内のメモリに記憶される。PINコードの入力後、例えばユーザが「OK」をクリックすることにより、電子カメラ1との間で通信が開始される(ステップS105、ステップS205)。   On the other hand, when the network setting is selected on the setup screen (not shown) of the PC 3 (step S201) and then the setting of the WPS / PIN code is selected (step S202), the input screen display of the PIN code is displayed on the PC 3 ( Step S203). The user inputs the PIN code displayed on the liquid crystal monitor 16 of the electronic camera 1 to the PIN code input screen of the PC 3. The PIN code input here is stored in the memory in the access point 2 as registration information. After inputting the PIN code, for example, when the user clicks “OK”, communication with the electronic camera 1 is started (steps S105 and S205).

これによりアクセスポイント2では、通信可能な範囲にWPS対応のデバイスが存在するかどうかを検索し(ステップS206)、デバイスである電子カメラ1の認証を行う(ステップS20)。ここで、アクセスポイント2は電子カメラ1のPINコードを通信により取得し、先にPC3から入力されたPINコードと比較して、一致する場合には通信相手としてデバイスを認証することになる。続いて、アクセスポイント2は、電子カメラ1との間の通信を切断する(ステップS208)。   As a result, the access point 2 searches for a WPS-compatible device within the communicable range (step S206), and authenticates the electronic camera 1 that is the device (step S20). Here, the access point 2 acquires the PIN code of the electronic camera 1 by communication, and compares the PIN code previously input from the PC 3, and if it matches, authenticates the device as a communication partner. Subsequently, the access point 2 disconnects communication with the electronic camera 1 (step S208).

通信が切断されると、電子カメラ1の制御部24は、先に生成したPINコードをEEPROM18の所定エリアに記憶する(ステップS106)。そして、液晶モニタ16に接続エラーのメッセージを表示させる(ステップS107)。続いて、制御部24は液晶モニタ16に再接続をするかどうかのメッセージを表示させ、再接続が指示されたかどうかを判断する(ステップS108)。ここで、再接続が指示されない場合は本ルーチンの処理を終了する。この場合は、接続設定の作業が途中で終了することになるため、EEPROM18に記憶していたPINコードも消去される。したがって、次回の接続設定には、その時点で生成されたPINコードを使用することになる。   When the communication is disconnected, the control unit 24 of the electronic camera 1 stores the previously generated PIN code in a predetermined area of the EEPROM 18 (step S106). Then, a connection error message is displayed on the liquid crystal monitor 16 (step S107). Subsequently, the control unit 24 displays a message as to whether or not to reconnect to the liquid crystal monitor 16, and determines whether or not reconnection is instructed (step S108). Here, if reconnection is not instructed, the processing of this routine is terminated. In this case, since the connection setting operation is terminated halfway, the PIN code stored in the EEPROM 18 is also deleted. Therefore, the PIN code generated at that time is used for the next connection setting.

一方、再接続が指示された場合、制御部24は、EEPROM18に記憶しているPINコードを読み出し、アクセスポイント2との間で再接続を開始する(ステップS109、ステップS209)。このとき、電子カメラ1のPINコードが通信によりアクセスポイント2に送信される。アクセスポイント2では、すでに登録されているPINコードをメモリから読み出し、電子カメラ1から送信されてきたPINコードと比較して、一致するかどうかを判断することになる。   On the other hand, when reconnection is instructed, the control unit 24 reads the PIN code stored in the EEPROM 18 and starts reconnection with the access point 2 (steps S109 and S209). At this time, the PIN code of the electronic camera 1 is transmitted to the access point 2 by communication. The access point 2 reads the already registered PIN code from the memory and compares it with the PIN code transmitted from the electronic camera 1 to determine whether or not they match.

先に説明したように、従来は、アクセスポイント2側で通信が切断された後は、接続設定を最初からやり直すようにしていた。このように、接続設定を途中で終了したときには、前回とは異なるPINコードが生成されるため、再度アクセスポイント2と通信したときに、今回生成されたPINコードを送信しても、アクセスポイント2に登録されている前回のPINコードと一致しないことになる。したがって、アクセスポイント2での認証を得ることができず、接続設定ができなくなってしまう。   As described above, conventionally, after communication is disconnected on the access point 2 side, connection setting is performed again from the beginning. In this way, when the connection setting is terminated halfway, a PIN code different from the previous one is generated. Therefore, even if the PIN code generated this time is transmitted when communicating with the access point 2 again, the access point 2 Will not match the previous PIN code registered in. Therefore, authentication at the access point 2 cannot be obtained, and connection setting cannot be performed.

しかしながら、本実施形態では、接続設定の作業を途中で終了しなければ、ネットワーク設定時に生成したPINコードがそのまま保持されるため、再度アクセスポイント2と通信したときに、保持していたPINコードを送信すれば、アクセスポイント2に登録されているPINコードと一致することになる。したがって、アクセスポイント2での認証を得ることができ、接続設定の作業を継続することが可能となる。したがって、再接続の開始とともに、接続設定処理が実施される(ステップS110、ステップS210)。そして、接続設定処理が終了すると、PC3の画面に、例えば「WPS/PINコード方式で接続設定が完了しました」というメッセージを表示して本ルーチンの処理を終了する。   However, in this embodiment, the PIN code generated at the time of network setting is retained as it is if the connection setting work is not completed in the middle. Therefore, when the communication with the access point 2 is performed again, the retained PIN code is used. If transmitted, it matches the PIN code registered in the access point 2. Accordingly, authentication at the access point 2 can be obtained, and the connection setting work can be continued. Therefore, the connection setting process is performed along with the start of reconnection (steps S110 and S210). When the connection setting process is completed, for example, a message “Connection setting is completed by the WPS / PIN code method” is displayed on the screen of the PC 3, and the process of this routine is ended.

なお、ステップS107において、液晶モニタ16に接続エラーのメッセージを表示させた後、液晶モニタ16に再接続をするかどうかのメッセージを表示せず、所定時間経過後に、EEPROM18に記憶しているPINコードを読み出して、自動的に再接続を開始するようにしてもよい。   In step S107, after the connection error message is displayed on the liquid crystal monitor 16, the message indicating whether to reconnect to the liquid crystal monitor 16 is not displayed, and the PIN code stored in the EEPROM 18 after a predetermined time has elapsed. And reconnection may be automatically started.

上記実施形態によると、以下の効果を有する。
(1)接続設定の作業中に通信が切断された場合は、そのときのPINコードを記憶しておき、再接続時には記憶したPINコードにより認証を行うようにしたので、一度通信が切断されても、アクセスポイント2に登録されているPINコードと一致することになり、適正な認証を得ることができる。したがって、接続設定の作業中に通信が切断された場合でも、再接続により接続設定の作業を継続することができる。
(2)接続設定の作業中に通信が切断された場合は、所定時間経過後に、記憶したPINコードを用いて自動的に再接続を開始することにより、ユーザの再接続を行うための操作を省くことができ、利便性を向上させることができる。
[変形形態]
The above embodiment has the following effects.
(1) When communication is disconnected during connection setting work, the PIN code at that time is stored, and authentication is performed using the stored PIN code at the time of reconnection. Therefore, it matches the PIN code registered in the access point 2, and proper authentication can be obtained. Therefore, even when communication is disconnected during the connection setting operation, the connection setting operation can be continued by reconnection.
(2) When communication is disconnected during connection setting work, an operation for reconnecting a user is performed by automatically starting reconnection using a stored PIN code after a predetermined time has elapsed. It can be omitted and convenience can be improved.
[Deformation]

以上説明した実施形態に限定されることなく、本発明は以下に示すような種々の変形や変更が可能であり、それらも本発明の範囲内である。
(1)接続設定後において、電子カメラ1からアクセスポイント2への画像データの転送は自宅の無線LANに限らず、例えば公衆の無線LANであってもよい。
(2)上記実施形態では、本発明に係わる無線通信装置を電子カメラに適用した例について説明したが、本発明に係わる無線通信装置を適用するデバイスは電子カメラに限らず、例えば、画像データが保存されたPCでもよいし、カメラ機能を備えた携帯電話であってもよい。
Without being limited to the embodiment described above, the present invention can be variously modified and changed as described below, and these are also within the scope of the present invention.
(1) After connection setting, the transfer of image data from the electronic camera 1 to the access point 2 is not limited to a home wireless LAN, but may be a public wireless LAN, for example.
(2) In the above embodiment, an example in which the wireless communication apparatus according to the present invention is applied to an electronic camera has been described. However, a device to which the wireless communication apparatus according to the present invention is applied is not limited to an electronic camera. A saved PC or a mobile phone with a camera function may be used.

実施形態の電子カメラが接続する画像転送システムの全体図である。1 is an overall view of an image transfer system to which an electronic camera of an embodiment is connected. 実施形態における電子カメラの構成を示すブロック図である。It is a block diagram which shows the structure of the electronic camera in embodiment. 電子カメラとアクセスポイントにおける無線LANの接続設定の手順を示すフローチャートである。6 is a flowchart illustrating a procedure for setting up a wireless LAN connection between an electronic camera and an access point.

符号の説明Explanation of symbols

1:電子カメラ、2:アクセスポイント、3:PC、4:ネットワーク回線、5:サーバ、15:タイミング制御部、23:無線LANモジュール部、24:制御部   1: electronic camera 2: access point 3: PC 4: network line 5: server 15: timing control unit 23: wireless LAN module unit 24: control unit

Claims (2)

通信路を介して接続される相手側機器との間でWPSのPINコード方式により接続設定を行う無線通信装置であって、
所定時間毎に異なるPINコードを生成するPINコード生成手段と、
前記PINコードを保持するPINコード保持手段と、
接続設定の作業中に前記相手側機器との間で通信の接続が切断された場合は、デバイスとして認証された前記相手側機器に登録されている前記PINコードを前記PINコード保持手段に保持させ、前記相手側機器との間で通信を再接続する際に、前記PINコード保持手段に保持している前記PINコードにより認証を行う接続制御手段と、
を備えることを特徴とする無線通信装置。
A wireless communication device that performs connection setting by a WPS PIN code method with a counterpart device connected via a communication path,
PIN code generation means for generating a different PIN code every predetermined time;
PIN code holding means for holding the PIN code;
If the communication connection with the counterpart device is disconnected during the connection setting operation, the PIN code holding unit holds the PIN code registered in the counterpart device authenticated as a device. A connection control means for performing authentication using the PIN code held in the PIN code holding means when reconnecting communication with the counterpart device;
A wireless communication apparatus comprising:
請求項1に記載の無線通信装置であって、
前記接続制御手段は、
接続設定の作業中に前記相手側機器との間で通信が切断された場合は、所定時間後に前記相手側機器との間で通信を再接続すること、
を特徴とする無線通信装置。
The wireless communication device according to claim 1,
The connection control means includes
If communication with the counterpart device is disconnected during connection setting work, reconnecting communication with the counterpart device after a predetermined time;
A wireless communication device.
JP2008203423A 2008-08-06 2008-08-06 Wireless communication apparatus Pending JP2010041508A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008203423A JP2010041508A (en) 2008-08-06 2008-08-06 Wireless communication apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008203423A JP2010041508A (en) 2008-08-06 2008-08-06 Wireless communication apparatus

Publications (1)

Publication Number Publication Date
JP2010041508A true JP2010041508A (en) 2010-02-18

Family

ID=42013557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008203423A Pending JP2010041508A (en) 2008-08-06 2008-08-06 Wireless communication apparatus

Country Status (1)

Country Link
JP (1) JP2010041508A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011205194A (en) * 2010-03-24 2011-10-13 Nec Corp Radio communication system, radio communication method, program, and recording medium
JP2012109981A (en) * 2011-12-02 2012-06-07 Toshiba Corp Display control device and display control method
JP2012195823A (en) * 2011-03-17 2012-10-11 Ricoh Co Ltd Wireless communication device, wireless communication method, and program
JP2012227563A (en) * 2011-04-14 2012-11-15 Canon Inc Communication device, processing method therefor, program, and communication system
US8495706B2 (en) 2010-10-21 2013-07-23 Kabushiki Kaisha Toshiba Television apparatus, display control device, and display control method
JP2014003614A (en) * 2013-07-02 2014-01-09 Toshiba Corp Display control unit and display control method
JP2014008749A (en) * 2012-07-02 2014-01-20 Canon Inc Image forming apparatus, wireless connection setting method, and program
JP2014504383A (en) * 2010-10-14 2014-02-20 フォースウォール・メディア・インコーポレーテッド System and method for providing companion services to customer premises equipment using IP based infrastructure
CN112825574A (en) * 2019-11-15 2021-05-21 中兴通讯股份有限公司 Network connection establishing method, wireless access device, system and storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011205194A (en) * 2010-03-24 2011-10-13 Nec Corp Radio communication system, radio communication method, program, and recording medium
JP2014504383A (en) * 2010-10-14 2014-02-20 フォースウォール・メディア・インコーポレーテッド System and method for providing companion services to customer premises equipment using IP based infrastructure
US9635410B2 (en) 2010-10-14 2017-04-25 Fourthwall Media, Inc. Systems and methods for providing companion services to customer equipment using an IP-based infrastructure
US8495706B2 (en) 2010-10-21 2013-07-23 Kabushiki Kaisha Toshiba Television apparatus, display control device, and display control method
JP2012195823A (en) * 2011-03-17 2012-10-11 Ricoh Co Ltd Wireless communication device, wireless communication method, and program
JP2012227563A (en) * 2011-04-14 2012-11-15 Canon Inc Communication device, processing method therefor, program, and communication system
JP2012109981A (en) * 2011-12-02 2012-06-07 Toshiba Corp Display control device and display control method
JP2014008749A (en) * 2012-07-02 2014-01-20 Canon Inc Image forming apparatus, wireless connection setting method, and program
JP2014003614A (en) * 2013-07-02 2014-01-09 Toshiba Corp Display control unit and display control method
CN112825574A (en) * 2019-11-15 2021-05-21 中兴通讯股份有限公司 Network connection establishing method, wireless access device, system and storage medium

Similar Documents

Publication Publication Date Title
JP2010041508A (en) Wireless communication apparatus
JP4101225B2 (en) Electronic apparatus, information processing apparatus, control method therefor, computer program, and computer-readable storage medium
JP5030462B2 (en) Digital camera system
CN106470241B (en) Communication apparatus and control method thereof
JP5129669B2 (en) Image forming apparatus and control method thereof, image supply apparatus and control method thereof
US9635235B2 (en) Communication apparatus and control method thereof
US9438797B2 (en) Electronic apparatus and control method thereof
US10659625B2 (en) Imaging device and image transfer method
KR20090060943A (en) Photographing apparatus and photographing method
US10285032B2 (en) Communication apparatus and control method thereof
US20160173645A1 (en) Image processing apparatus and control method thereof, and system
US10411761B2 (en) Communication apparatus capable of communicating with external apparatus, control method, and recording medium
JP2003152713A (en) Method for authenticating communication opposite party, information communication system, and control program
JP2017120950A (en) Imaging device
JP2002077689A (en) Electronic camera
JP6468827B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM
US11197327B2 (en) Communication apparatus, control method for communication apparatus, and recording medium
JP2018113527A (en) Imaging apparatus
US20200244892A1 (en) Communication apparatus and control method thereof
US20220311881A1 (en) Information processing system, image processing apparatus, information processing apparatus, server apparatus, information processing method, and storage medium
JP2010098589A (en) Portable equipment and imaging apparatus
JP2022181335A (en) Communication device, control method of communication device, and program
JP6486127B2 (en) Electronic device, control method and program
JP2021015183A (en) Imaging device, control method therefor, and program
JP2006253880A (en) Image photography device