JP2014017770A - Radio communication device, its control method, and program - Google Patents
Radio communication device, its control method, and program Download PDFInfo
- Publication number
- JP2014017770A JP2014017770A JP2012155511A JP2012155511A JP2014017770A JP 2014017770 A JP2014017770 A JP 2014017770A JP 2012155511 A JP2012155511 A JP 2012155511A JP 2012155511 A JP2012155511 A JP 2012155511A JP 2014017770 A JP2014017770 A JP 2014017770A
- Authority
- JP
- Japan
- Prior art keywords
- connection
- wireless
- mac address
- control event
- notification
- 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
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
Description
本発明は、無線通信装置における機器接続処理に関するものである。 The present invention relates to device connection processing in a wireless communication apparatus.
近年の無線通信用デバイスの集積化により、携帯用パーソナルコンピュータ(いわゆるノートPC)のみならず、プリンタ、携帯情報端末、デジタルカメラ、携帯電話、スマートフォン等に無線LANが搭載されるようになってきた。これにより従来、USB接続などの特定の機器との間で有線接続による通信手段しか持たなかった機器が、無線通信手段を有することにより様々な機器との間でデータ通信を行うことが可能となっている。 With the recent integration of wireless communication devices, wireless LANs have been installed not only in portable personal computers (so-called notebook PCs) but also in printers, personal digital assistants, digital cameras, mobile phones, smartphones, etc. . As a result, a device that has conventionally had only a wired communication means with a specific device such as a USB connection can perform data communication with various devices by having a wireless communication means. ing.
有線通信の場合、ケーブル等によって機器と機器を接続すれば、所望の機器との間に接続を明示的に確立することができるが、無線通信の場合、機器間の接続状態を目で見て確認することができない。そのため、ユーザは無線通信を開始する際に、機器を操作して接続を確立する必要がある。無線通信を利用して機器を相手機器と接続する場合、まず接続する無線ネットワークを選択して無線接続処理を行い、その後接続相手機器を選択して機器接続処理を行う場合が多い。例えば、デジタルカメラとスマートフォンとの接続を行う場合、相手機器との機器接続処理が完了すると、画像などのデータの送受信などを行うことができる。 In the case of wired communication, you can explicitly establish a connection with the desired device by connecting the device with a cable or the like, but in the case of wireless communication, you can visually check the connection status between the devices. I can't confirm. Therefore, when the user starts wireless communication, the user needs to operate the device to establish a connection. When a device is connected to a partner device using wireless communication, a wireless network to be connected is first selected to perform a wireless connection process, and then a connection partner device is selected to perform a device connection process. For example, when a digital camera and a smartphone are connected, data such as an image can be transmitted and received when the device connection process with the counterpart device is completed.
相手機器との接続方法として、無線アクセスポイントを介して無線通信を行うインフラストラクチャーモード、機器が無線ネットワークを生成し相手機器がそのネットワークに参加することで直接接続して無線通信を行うアドホックモードがよく知られている。さらに、機器自体にアクセスポイントが搭載されており、アクセスポイントを起動して他の機器がそのネットワークに参加することで直接接続して無線通信を行う簡易アクセスポイントモードがある。 As a connection method with a partner device, there is an infrastructure mode in which wireless communication is performed via a wireless access point, and an ad hoc mode in which a device generates a wireless network and directly connects to the partner device by joining the network to perform wireless communication. well known. Furthermore, there is a simple access point mode in which an access point is mounted on the device itself, and the access point is activated and another device joins the network to directly connect to perform wireless communication.
従来、インフラストラクチャーモード、もしくはアドホックモードで機器接続処理が完了した後、接続相手機器からの切断通知が無線LANドライバから通知されると無線の切断など終了処理を行っていた。しかしながら、簡易アクセスポイントモードで起動し接続相手機器との機器接続が完了した後は、接続相手機器からの切断通知が通知された後すぐに接続通知が通知される場合がある。この場合、切断通知、接続通知が連続で通知されるため、接続相手機器は接続を維持したいものと考えられるが、切断通知が通知された時点で終了処理を行ってしまうため、例えば、画像送信中の場合は画像が送れずに終了してしまうという問題がある。 Conventionally, after the device connection process is completed in the infrastructure mode or the ad hoc mode, when a disconnection notification from the connection partner device is notified from the wireless LAN driver, a termination process such as a wireless disconnection is performed. However, after starting in the simple access point mode and completing the device connection with the connection partner device, the connection notification may be notified immediately after the disconnection notification from the connection partner device is notified. In this case, since the disconnection notification and the connection notification are continuously notified, it is considered that the connection partner device wants to maintain the connection. However, since the termination processing is performed when the disconnection notification is notified, for example, image transmission is performed. In the case of inside, there is a problem that the image ends without being sent.
ここで一般的に通信が切断された場合の処理としては、通信相手との間の無線通信接続を切断して通信中断状態に移行した後、送信処理要求を受け付けた場合、無線通信接続を再確立する技術が知られている(特許文献1)。 Here, in general, as a process when communication is disconnected, the wireless communication connection is re-established when a transmission processing request is accepted after the wireless communication connection with the communication partner is disconnected and the communication is suspended. The technique to establish is known (patent document 1).
しかしながら、上述の特許文献に開示された従来技術では、一度切断をして再度接続をするという手順であるため、再接続までに時間がかかる。 However, in the prior art disclosed in the above-mentioned patent document, since it is a procedure of disconnecting once and reconnecting, it takes time to reconnect.
上記課題を解決するために、本発明に係る無線通信機器は、無線ネットワークとの接続を確立する無線ネットワーク接続手段と、前記無線ネットワーク内の相手機器との機器接続を確立する機器接続手段と、無線LANドライバの機能により出力される無線制御イベントを受信する無線制御イベント受信手段と、無線接続を終了する終了手段と、前記無線ネットワーク接続手段により無線ネットワークとの接続が完了し、かつ前記機器接続手段により機器接続処理が完了した後に前記無線制御イベント受信手段により前記接続相手機器からの切断通知を受信した場合、さらに所定時間内に前記受信手段により接続通知を受信しなかった場合には前記終了手段により終了処理を行い、所定時間内に前記受信手段により接続通知を受信した場合には終了処理は行わず接続を維持するよう制御する制御手段とを有することを特徴とする。 In order to solve the above-described problem, a wireless communication device according to the present invention includes a wireless network connection unit that establishes a connection with a wireless network, a device connection unit that establishes a device connection with a counterpart device in the wireless network, Wireless control event receiving means for receiving a wireless control event output by the function of the wireless LAN driver, termination means for terminating the wireless connection, connection with the wireless network is completed by the wireless network connection means, and the device connection If the wireless control event receiving unit receives a disconnection notification from the connection partner device after the device connection processing is completed by the unit, and if the connection unit does not receive a connection notification within a predetermined time, the end When the termination processing is performed by the means and the connection notification is received by the receiving means within a predetermined time And having a control means for controlling so ends the process to maintain the connection without.
本発明によれば、接続相手機器からの切断通知、接続通知が連続で通知された場合でも、終了処理を行わずに接続を維持することができる。 According to the present invention, even when a disconnection notification and a connection notification from a connection partner device are continuously notified, the connection can be maintained without performing the termination process.
以下、添付図面によって本発明の各実施形態を説明する。以下、デジタルカメラとスマートフォンを機器接続する場合を例にあげて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. Hereinafter, a case where a digital camera and a smartphone are connected to each other will be described as an example.
<第1の実施形態>
図1は、本発明の実施形態における無線通信機器の一例であるデジタルカメラ100の構成を示す図である。
<First Embodiment>
FIG. 1 is a diagram illustrating a configuration of a
10はレンズバリア、11は撮影レンズ、12は絞り機能を備えるシャッターであり、撮像制御手段13によって制御される。
14は光学像を電気信号100に変換する撮像素子、15は画像処理回路であり、 撮像素子14からのデータ或いはメモリ制御回路16からのデータに対して所定の画素補間処理や色変換処理を行う。
16はメモリ制御回路であり、撮像素子14のデータが画像処理回路15においてA/D変換され、メモリ18に書き込まれる。
17はTFT LCD等から成る画像表示部であり、メモリ18に書き込まれた表示用の画像データはD/A変換されて画像表示部17により表示される。
18は撮影した静止画像や動画像を格納するためのメモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶量を備えている。
これにより、複数枚の静止画像を連続して撮影する連射撮影やパノラマ撮影の場合にも、高速かつ大量の画像書き込みをメモリ18に対して行うことが可能となる。
Thereby, even in the case of continuous shooting or panoramic shooting in which a plurality of still images are continuously shot, it is possible to write a large amount of images to the
また、メモリ18はシステム制御回路50の作業領域としても使用することが可能である。
The
50は撮影画像の被写体認識処理や、被写体認識結果と管理データの照合処理や、ステータスデータの生成処理など、本実施形態で必要な各種処理を実行すると共に、デジタルカメラ100全体を制御するシステム制御回路である。51はシステム制御回路50の動作用の定数、変数、プログラム等を記憶するメモリである。
52は画像処理部であり、静止画のリサイズを行うなど、各種画像処理を行う。
An
60は通信制御手段であり、外部機器との通信機能を制御し、アンテナ61と接続されている。
70はシステム制御回路50の各種の動作指示を入力するための操作手段であり、スイッチやダイアル、タッチパネル、視線検知によるポインティング、音声認識装置等の単数或いは複数の組み合わせで構成される。
71は、データ記録速度や、取得するデータのデータレートを測定するなどに使われるタイマである。 Reference numeral 71 denotes a timer used for measuring a data recording speed and a data rate of data to be acquired.
90はメモリカード等の外部記憶媒体とデータの送受信を行うカードコントローラ、91はメモリカード等の外部記憶媒体とのインタフェース、92はメモリカード等の外部記憶媒体と接続を行うコネクタである。93はメモリカード等の外部記憶媒体、94はコネクタ92に外部記憶媒体93が装着されているか否かを検知する記憶媒体着脱検知手段である。
以上がデジタルカメラ100の全体のシステム構成である。
The overall system configuration of the
図2は、本発明の実施形態における無線通信機器の一例であるスマートフォン200の構成を示す図である。
FIG. 2 is a diagram illustrating a configuration of a
201は3G回線等の公衆網と通信を行うための公衆網通信手段であり、公衆網アンテナ202と接続されている。
A public network communication unit 201 communicates with a public network such as a 3G line and is connected to the
203はLCD表示、LED表示などでユーザに対する情報を表示する表示部であり、表示処理部204によって処理される。
205は操作部であり、システムコントローラ206を介してスイッチやダイアル、タッチパネル、音声認識装置等の単数或いは複数の組み合わせで構成される各種の動作指示を入力するための操作手段である。
207は電気的に消去・記録可能な不揮発性メモリである。208はスマートフォンの動作用の定数、変数、プログラム等を記憶するメモリである。
209はメモリカード等の外部記憶媒体とデータの送受信を行うカードコントローラ、210はメモリカード等の外部記憶媒体とのインタフェースである。
211は無線LAN通信手段であり、212はBluetooth(登録商標)通信手段であり、ともにアンテナ213に接続されている。
211 is a wireless LAN communication means, and 212 is a Bluetooth (registered trademark) communication means, both of which are connected to the
214は位置情報を取得するためのGPS通信手段であり、GPSアンテナ215に接続されている。
216はPCなどの外部機器とUSBを用いて接続する為のUSBデバイスインタフェースである。
217は音声処理部であり、マイク218から取得した音声データの処理や、処理した音声データをスピーカー219を介して出力処理を行う。
以上がスマートフォン200の全体のシステム構成である。
The above is the overall system configuration of the
図3〜図9を参照して、本発明の実施形態の動作を説明する。本実施形態では、デジタルカメラ100の簡易アクセスポイントにスマートフォン200を1台のみ参加させた場合の処理について説明する。デジタルカメラの簡易アクセスポイントには、複数台の機器が無線接続できるものとする。
The operation of the embodiment of the present invention will be described with reference to FIGS. In the present embodiment, processing when only one
図3は本実施形態におけるネットワークトポロジ図である。図3に示すように、デジタルカメラAの簡易アクセスポイントに対して、スマートフォンAが1台のみ参加するものとする。また、図3に示すように、MACアドレスに関してはデジタルカメラAが12:34:56:78:90:ab、スマートフォンAが12:34:56:78:90:abである。IPアドレスに関してはデジタルカメラAには192.168.0.1、スマートフォンAには192.168.0.2が割り当てられるものとする。 FIG. 3 is a network topology diagram in this embodiment. As shown in FIG. 3, it is assumed that only one smartphone A participates in the simple access point of the digital camera A. As shown in FIG. 3, regarding the MAC address, the digital camera A is 12: 34: 56: 78: 90: ab, and the smartphone A is 12: 34: 56: 78: 90: ab. As for IP addresses, 192.168.0.1 is assigned to the digital camera A, and 192.168.0.2 is assigned to the smartphone A.
図4〜図7を参照して、デジタルカメラAとスマートフォンAとを機器接続する流れについて説明する。まず、デジタルカメラ側の接続処理について説明する。図4は、本実施形態におけるデジタルカメラとスマートフォンとを機器接続する際のデジタルカメラの処理の流れを示したフローチャート図である。このフローチャートにおける各処理は、システム制御回路50が、不揮発性メモリ51に格納されたプログラムをメモリ18に展開して実行することにより実現される。
A flow of connecting the digital camera A and the smartphone A to each other will be described with reference to FIGS. First, connection processing on the digital camera side will be described. FIG. 4 is a flowchart showing a processing flow of the digital camera when the digital camera and the smartphone according to the present embodiment are connected to each other. Each process in this flowchart is realized by the
まず、無線ネットワーク接続処理を開始する。S401において、ユーザは通信モードの中から所望の通信モードを操作部70を用いて選択する。システム制御回路50は、ユーザにより選択された通信モードをメモリ18に記憶し、S402に進む。通信モードとしては、アクセスポイントを経由して接続を行うインフラストラクチャーモードと自身がアクセスポイントとなりピアツーピアで接続を行う簡易アクセスポイントモードがある。本実施形態では、ユーザにより通信モードとして簡易アクセスポイントモードが選択されたものとする。
First, the wireless network connection process is started. In step S <b> 401, the user selects a desired communication mode from the communication modes using the
S402において、システム制御回路50は、ユーザにより選択された通信モードが簡易アクセスポイントモードか否かを判断する。S402において簡易アクセスポイントモードであると判断した場合はS403に進む。S402において簡易アクセスポイントモードでないと判断した場合はS407に進む。本実施形態では、ユーザにより通信モードとして簡易アクセスポイントモードが選択されたものとするため、S403に進む。
In S402, the
S403において、システム制御回路50は、簡易アクセスポイントを起動する際に用いるESSIDとパスフレーズを生成し、S404に進む。
In S403, the
S404において、システム制御回路50は、S403で生成したESSIDとパスフレーズを画像表示部17に表示し、S405に進む。ユーザが画像表示部17に表示されたESSIDとパスフレーズをスマートフォン側で設定することによりデジタルカメラAが起動する簡易アクセスポイントに接続することができる。スマートフォン側の接続処理については後述する。
In step S404, the
S405において、システム制御回路50は、通信制御手段60を用いて、S403で生成したESSIDとパスフレーズを用いて簡易アクセスポイントを起動し、S406に進む。
In S405, the
S406において、システム制御回路50は、通信制御手段60を用いて、DHCPサーバを起動し、S408に進む。DHCPサーバは、起動した簡易アクセスポイントに参加してきた機器に対して、IPアドレスを割り当てる機能を有している。図3に示すように、デジタルカメラは自身のIPアドレスを192.168.0.1に設定するものとする。
In S406, the
S402において簡易アクセスポイントモードでないと判断した場合、つまり、ユーザによりインフラストラクチャーモードが選択された場合、S407において、システム制御回路50は、アクセスポイントへの接続処理を行い、S408に進む。本実施形態では、簡易アクセスポイントモード時における処理について説明するため、インフラストラクチャモードの接続処理の詳細は省略する。
If it is determined in S402 that the mode is not the simple access point mode, that is, if the infrastructure mode is selected by the user, in S407, the
S408において、機器接続処理が開始される。システム制御回路50は、通信制御手段60を用いて、S409に進む。機器検索処理は、UPnP(Universal Plug and Play)やmDNS(multicast DNS)等のプロトコルを用いて実現する。
In S408, device connection processing is started. The
S409において、システム制御回路50は、相手機器を発見したか否かを判断する。S409において相手機器を発見したと判断した場合は、S410に進む。S409において相手機器を発見していないと判断した場合は、S409に戻る。
In step S409, the
S410において、システム制御回路50は、S409において発見した相手機器一覧を画像表示部17に表示し、S411に進む。
In S410, the
S411において、ユーザは発見した相手機器一覧の中から所望の接続相手機器を操作部70を用いて選択し、S412に進む。
In step S411, the user selects a desired connection partner device from the discovered partner device list using the
S412において、システム制御回路50は、S401においてユーザにより選択された通信モードが簡易アクセスポイントモードであるか否かを判断する。S412において簡易アクセスポイントモードであると判断した場合はS413に進み、簡易アクセスポイントモードではないと判断した場合はS414に進む。本実施形態では、簡易アクセスポイントモードが選択された場合について説明するため、S413に進む。
In S412, the
S413において、システム制御回路50は、S411においてユーザにより選択された接続相手機器のIPアドレスをメモリ18に記憶し、S414に進む。接続相手機器のIPアドレスは、S409において機器を発見した際に、発見した機器の情報の一つとして取得できる。システム制御回路50は、機器情報の中からユーザにより選択された接続相手機器のIPアドレスをメモリ18に記憶する。図3に示すように、本実施形態では接続相手機器のIPアドレスは192.168.0.2である。
In S413, the
S414において、システム制御回路50は、通信制御手段60を用いて、S411においてユーザにより選択された相手接続機器に対して機器接続処理を行い、S415に進む。機器接続処理とは、無線ネットワーク内の無線機器と、画像の送受信などを行うプロトコルレベルでの接続を確立することである。
In S414, the
S415において、システム制御回路50は、通信制御手段60を用いて、接続相手機器との機器接続処理が完了したか否かを判断する。機器接続処理が完了したと判断した場合はS416に進み、機器接続処理が完了していないと判断した場合にはS415に戻る。
In S415, the
S416において、システム制御回路50は、S401においてユーザにより選択された通信モードが簡易アクセスポイントモードであるか否かを判断する。S416において簡易アクセスポイントモードであると判断した場合はS417に進み、簡易アクセスポイントモードではないと判断した場合は接続処理を終了する。本実施形態では、簡易アクセスポイントモードが選択された場合について説明するため、S417に進む。
In S416, the
S417において、システム制御回路50は、接続相手機器のMACアドレスをメモリ18に記憶し、接続処理を終了する。図5、図6を用いて、接続相手機器のMACアドレスの記憶方法について説明する。
In S417, the
図5は、本実施形態におけるデジタルカメラにおける接続相手機器のMACアドレス取得処理の流れを示したフローチャート図である。このフローチャートにおける各処理は、システム制御回路50が、不揮発性メモリ51に格納されたプログラムをメモリ18に展開して実行することにより実現される。
FIG. 5 is a flowchart showing the flow of the MAC address acquisition process of the connected device in the digital camera according to this embodiment. Each process in this flowchart is realized by the
まず、S501において、システム制御回路50は、S413においてメモリ18に記憶した接続相手機器のIPアドレスを取得し、S502に進む。本実施形態では接続相手機器のIPアドレスとして192.168.0.2が取得される。
First, in S501, the
S502において、システム制御回路50は、メモリ18に記憶されているARPテーブルを参照し、S503に進む。ARPテーブルとは、接続相手機器のIPアドレスとMACアドレスの対応表である。ARPテーブルは、ARP要求のパケットを受信した場合と、ARP応答のパケットを受信した際に登録、もしくは更新される。図6は本実施形態におけるARPテーブルの例である。本実施形態では、デジタルカメラAはスマートフォンAとのみ通信を行ったため、図6に示すようなARPテーブルが構築される。
In S502, the
S503において、システム制御回路50は、ARPテーブルを参照してS501で取得した接続相手機器のIPアドレスに対応したMACアドレスを取得し、S504に進む。本実施形態では、S501で取得したIPアドレスは192.168.0.2であるため、図6に示すARPテーブルを参照すると、IPアドレス192.168.0.2に対応するMACアドレスab:cd:ef:12:34:56が取得できる。
In S503, the
S504において、システム制御回路50は、S503において取得した接続相手機器のMACアドレスをメモリ18に記憶し、MACアドレス記憶処理を終了する。
In step S504, the
次にスマートフォンA側の接続処理について説明する。図7は、本実施形態におけるデジタルカメラとスマートフォンを接続する際のスマートフォンの処理の流れを示したフローチャート図である。このフローチャートにおける各処理は、システム制御回路50が、不揮発性メモリ51に格納されたプログラムをメモリ18に展開して実行することにより実現される。
Next, connection processing on the smartphone A side will be described. FIG. 7 is a flowchart illustrating a process flow of the smartphone when connecting the digital camera and the smartphone according to the present embodiment. Each process in this flowchart is realized by the
まず、S701において、ユーザはスマートフォンのネットワーク選択において、表示部203に表示されたネットワークの中から操作部205を用いて接続するネットワークを選択し、S411に進む。本実施形態では、スマートフォンAはデジタルカメラAの簡易アクセスポイントに参加するため、図4のS404においてデジタルカメラの画像表示部17に表示されたESSIDのネットワークをスマートフォンのネットワーク選択画面で選択する。
First, in S701, the user selects a network to be connected using the
S702において、ユーザはS701で選択したネットワークのパスフレーズを操作部205を用いて入力し、S703に進む。簡易アクセスポイントのパスフレーズは、図4のS404においてデジタルカメラの画像表示部17にESSIDとともに表示される。
In S702, the user inputs the network passphrase selected in S701 using the
S703において、システムコントローラ206は、無線LAN通信手段211を用いて、S701、S702において選択、入力されたネットワーク、パスフレーズに基づいてネットワーク参加処理を行い、S704に進む。
In step S703, the
ネットワーク参加処理が完了すると、S704において、システムコントローラ206は、無線LAN通信手段211を用いて、DHCPアドレッシングを行い、S705に進む。DHCPアドレッシングとは、無線ネットワーク上のDHCPサーバにIPアドレスを要求し、IPアドレスを取得する方法である。本実施形態では、デジタルカメラにDHCPサーバが搭載されている。また、デジタルカメラのDHCPサーバにより割り当てられるIPアドレスは192.168.0.2とする。
When the network participation process is completed, in step S704, the
S705において、ユーザは操作部205を用いて専用のアプリケーションを起動し、S706に進む。本実施形態では、デジタルカメラとスマートフォンを機器接続するために専用のアプリケーションが必要であるものとする。
In S705, the user activates a dedicated application using the
S706において、システムコントローラ206は、無線LAN通信手段211を用いて、デジタルカメラとの機器接続処理を行い、スマートフォン側の接続処理を終了する。デジタルカメラとスマートフォンとの機器接続処理が完了することで画像の送受信や、スマートフォンからデジタルカメラ内部の画像の閲覧などを行うことができるようになる。
In step S706, the
次に、デジタルカメラAとスマートフォンAとの機器接続処理が完了した後、デジタルカメラの簡易アクセスポイントにおいて無線制御イベントが通知された場合の制御について説明する。ここで、無線制御イベントとは無線LANドライバから上位へ通知されるイベントのことで、例えば、ネットワークに相手機器が接続した場合には接続通知、ネットワークから離脱した場合には切断通知が通知される。通常、無線LANドライバから切断通知が通知された場合、上位では接続が切断されたものと判断して終了処理を行う。しかし、簡易アクセスポイントを起動している場合、同じ接続相手機器からの切断通知、接続通知が連続して無線LANドライバから通知される場合がある。原因としては、一つ目に電波状況が悪く一瞬切断されてすぐ再接続した場合があげられる。二つ目にスマートフォンが簡易アクセスポイントと切断されたと思い込んで接続パケットを投げてきた場合である。この場合、無線LANドライバでは連続で接続パケットが来たと判断して一度切断してから再度接続するという動作を行うために上位に切断通知、接続通知が連続で通知される場合がある。切断通知、接続通知が連続で通知された場合、従来だと切断通知が通知された時点で終了処理を行ってしまうが、連続で通知される場合はそのまま接続を維持することが望ましい。そこで、図8を用いて無線制御イベントが通知された場合の処理について説明する。以下、デジタルカメラAとスマートフォンAとの機器接続処理が完了した後の処理について説明する。具体的には、スマートフォンAからの切断通知、接続通知が無線LANドライバから連続で通知された場合と、スマートフォンAからの切断通知のみが無線LANドライバから通知された場合の2つに分けて説明する。 Next, control when a wireless control event is notified at the simple access point of the digital camera after the device connection process between the digital camera A and the smartphone A is completed will be described. Here, the wireless control event is an event notified to the host from the wireless LAN driver. For example, a connection notification is notified when a partner device is connected to the network, and a disconnection notification is notified when the device is disconnected from the network. . Normally, when a disconnection notification is notified from the wireless LAN driver, it is determined that the connection is disconnected at the upper level and the termination process is performed. However, when the simple access point is activated, a disconnection notification and a connection notification from the same connection partner device may be continuously notified from the wireless LAN driver. One reason is that the radio wave condition was bad and the connection was cut off for a moment and then reconnected. The second case is when the smartphone throws a connection packet on the assumption that it has been disconnected from the simple access point. In this case, the wireless LAN driver may continuously receive disconnection notifications and connection notifications in order to perform an operation of determining that connection packets have been received continuously and disconnecting and then connecting again. When the disconnection notification and the connection notification are continuously notified, the termination processing is performed at the time when the disconnection notification is notified conventionally. However, when the disconnection notification is continuously notified, it is desirable to maintain the connection as it is. Therefore, a process when a wireless control event is notified will be described with reference to FIG. Hereinafter, a process after the device connection process between the digital camera A and the smartphone A is completed will be described. Specifically, the description is divided into two cases: a case where a disconnection notification and connection notification from the smartphone A are continuously notified from the wireless LAN driver, and a case where only the disconnection notification from the smartphone A is notified from the wireless LAN driver. To do.
図8はデジタルカメラの簡易アクセスポイントモードにおける無線制御イベント受信時の処理の流れを示したフローチャート図である。このフローチャートにおける各処理は、システム制御回路50が、不揮発性メモリ51に格納されたプログラムをメモリ18に展開して実行することにより実現される。
FIG. 8 is a flowchart showing the flow of processing when a wireless control event is received in the simple access point mode of the digital camera. Each process in this flowchart is realized by the
まず、デジタルカメラAとスマートフォンAとの機器接続処理が完了した後、スマートフォンAからの切断通知、接続通知が無線LANドライバから連続で通知された場合について説明する。 First, a case will be described in which after the device connection process between the digital camera A and the smartphone A is completed, a disconnection notification and a connection notification from the smartphone A are continuously notified from the wireless LAN driver.
S801において、システム制御回路50は、無線LANドライバから無線制御イベントが通知されたか否かを判断する。無線LANドライバから無線制御イベントが通知されたと判断した場合はS802に進み、無線LANドライバから無線制御イベントが通知されていないと判断した場合は、S801に戻る。
In step S801, the
S802において、システム制御回路50は、通信制御手段60を用いて、デジタルカメラとスマートフォンが機器接続完了状態であるか否かを判断する。機器接続完了状態とは、ネットワークに参加しているだけでなく、画像の送受信を行うプロトコルレベルでの接続が完了した状態を示す。機器接続完了状態であると判断した場合は、S803に進み、機器接続完了状態ではないと判断した場合は、通知された無線制御イベントを無視し、S801に戻る。
In step S <b> 802, the
S803において、システム制御回路50は、S801において無線LANドライバから通知された無線制御イベントが切断通知であるか否かを判断する。無線LANドライバから通知された無線制御イベントが切断通知である場合は、S804に進み、無線LANドライバから通知された無線制御イベントが切断通知ではない場合、つまり接続通知である場合は、通知された無線制御イベントを無視し、S801に戻る。
In step S803, the
S804において、システム制御回路50は、MACアドレス比較処理を行い、S805に進む。詳細は図9を用いて説明する。
In step S804, the
図9は、デジタルカメラにおけるMACアドレス比較処理の流れを示したフローチャート図である。このフローチャートにおける各処理は、システム制御回路50が、不揮発性メモリ51に格納されたプログラムをメモリ18に展開して実行することにより実現される。
FIG. 9 is a flowchart showing the flow of MAC address comparison processing in the digital camera. Each process in this flowchart is realized by the
まず、S901において、システム制御回路50は、無線LANドライバから通知された無線制御イベントのMACアドレスを取得して、メモリ18に記憶し、S902に進む。本実施形態では、無線LANドライバから通知された無線制御イベントの送り元はスマートフォンAであるため、MACアドレスとしてab:cd:ef:12:34:56をメモリ18に記憶する。
First, in S901, the
S902において、システム制御回路50は、S901において取得した無線制御イベントの送り元MACアドレスと、図4の接続処理のS417において記憶した接続相手機器のMACアドレスとを比較して、MACアドレス比較処理を終了する。ここでは、接続相手機器(スマートフォンA)のMACアドレスab:cd:ef:12:34:56と制御イベントの送り元MACアドレスab:cd:ef:12:34:56を比較する。
In S902, the
次に図8のS805において、システム制御回路50は、S804において比較したMACアドレスが同じであるか否かを判断する。MACアドレスが同じである場合はS806に進み、MACアドレスが同じでない場合は、無線制御イベントは無視してS801に戻る。ここでは、接続相手機器のMACアドレスと切断通知の送り元MACアドレスが同じであるためS806に進む。
Next, in S805 of FIG. 8, the
S806において、システム制御回路50は、タイマ71をスタートさせて、S807に進む。
In step S806, the
S807において、システム制御回路50は、無線LANドライバから無線制御イベントが通知されたか否かを判断する。無線LANドライバから無線制御イベントが通知されたと判断した場合はS808に進み、無線LANドライバから無線制御イベントが通知されていないと判断した場合は、S812に進む。ここでは、無線LANドライバから切断通知、接続通知が連続で通知された場合のためS808に進む。
In step S807, the
S808において、システム制御回路50は、S807において無線LANドライバから通知された無線制御イベントが接続通知であるか否かを判断する。無線LANドライバから通知された無線制御イベントが接続通知である場合は、S809に進み、無線LANドライバから通知された無線制御イベントが接続通知ではない場合、つまり切断通知である場合は、S812に進む。ここでは、無線LANドライバから切断通知、接続通知が連続で通知された場合であるため、S809に進む。
In step S808, the
S809において、システム制御回路50は、無線制御イベントの送信元MACアドレスと接続相手機器のMACアドレスを比較行い、S810に進む。詳細はS804において説明したため省略する。
In step S809, the
S810において、システム制御回路50は、S809において比較したMACアドレスが同じであるか否かを判断する。MACアドレスが同じである場合はS811に進み、MACアドレスが同じでない場合は、S812に進む。ここでは、接続相手機器のMACアドレスと接続通知の送り元MACアドレスが同じであるためS811に進む。
In S810, the
S811において、システム制御回路50は、タイマ71を停止させて、S801に戻る。
In S811, the
以上のように、無線LANドライバから切断通知が通知されてから、所定時間内に同じ送信元からの接続通知が通知された場合は、なにも処理は行わない。切断通知から接続通知までの間は、接続相手機器がネットワークから離脱しているが、上位のプロトコルレベルでの接続は維持している状態である。 As described above, when a connection notification from the same transmission source is notified within a predetermined time after the disconnection notification is notified from the wireless LAN driver, no processing is performed. Between the disconnection notification and the connection notification, the connection partner device is disconnected from the network, but the connection at the higher protocol level is maintained.
次に、デジタルカメラAとスマートフォンAとの機器接続処理が完了した後、スマートフォンAからの切断通知のみを無線LANドライバから通知された場合について説明する。 Next, a case where only the disconnection notification from the smartphone A is notified from the wireless LAN driver after the device connection process between the digital camera A and the smartphone A is completed will be described.
S801〜S806に関しては、無線LANドライバから切断通知、接続通知が連続で通知された場合と同様に切断通知を受信しており処理は同じであるため詳細は省略し、S807から説明する。 Regarding S801 to S806, the disconnection notification is received in the same manner as when the disconnection notification and the connection notification are continuously received from the wireless LAN driver, and the processing is the same, so the details will be omitted and will be described from S807.
S807において、システム制御回路50は、無線LANドライバから無線制御イベントが通知されたか否かを判断する。無線LANドライバから無線制御イベントが通知されたと判断した場合はS808に進み、無線LANドライバから無線制御イベントが通知されていないと判断した場合は、S812に進む。ここでは、無線LANドライバから切断通知のみ通知される場合のためS812に進む。
In step S807, the
S812において、システム制御回路50は、タイマ71を参照して、タイマがタイムアウトしているか否かを判断する。タイマがタイムアウトしていると判断した場合はS813に進み、タイマがタイムアウトしていないと判断した場合はS807に戻る。ここでは、タイマがタイムアウトしたとしてS813に進む。
In step S812, the
S813において、システム制御回路50は、通信制御手段60を用いて、終了処理を行い、無線制御イベント受信時の処理を終了する。終了処理とは、上位のプロトコルレベルでの接続も切断し、下位の無線ドライバレベルでの接続も切断し、無線モジュールもOFFにする処理である。
In step S813, the
以上のように、無線LANドライバから接続通知が通知されてから、所定時間内に同じ送信元からの接続通知が通知されない場合は、無線の終了処理を行う。 As described above, when the connection notification from the same transmission source is not notified within a predetermined time after the connection notification is notified from the wireless LAN driver, the wireless end processing is performed.
以上のように、本実施形態によれば、デジタルカメラの簡易アクセスポイントにスマートフォン1台のみを接続したとき、無線LANドライバから切断通知が通知されてから、所定時間内に同じ送信元からの接続通知が通知された場合には、接続を維持する。このことにより、画像送受信中などに切断通知、接続通知が連続で通知された場合にも途中で切断されずに画像送受信を継続することができる。 As described above, according to the present embodiment, when only one smartphone is connected to the simple access point of the digital camera, the connection from the same transmission source is received within a predetermined time after the disconnection notification is notified from the wireless LAN driver. If the notification is notified, the connection is maintained. As a result, even when the disconnection notification and the connection notification are continuously notified during image transmission / reception, the image transmission / reception can be continued without being disconnected.
また、無線制御イベント通知時の処理を簡易アクセスポイントモードのときのみ行うことにより、インフラストラクチャーモードのときには、接続通知が通知されてから即座に終了処理を行うことができる。 Further, by performing the process at the time of the wireless control event notification only in the simple access point mode, the termination process can be performed immediately after the connection notification is notified in the infrastructure mode.
なお、デジタルカメラに搭載される簡易アクセスポイントには複数台の機器が参加できるものと仮定して、図4のS417において接続相手機器のMACアドレスを記憶する処理、図8のS804、S809のMACアドレス比較処理を行っている。しかし、簡易アクセスポイントに参加できる機器が1台のみである場合には、MACアドレス記憶、比較関係の処理を行う必要がない。1台しか参加できない場合には、参加している機器からの切断通知、接続通知しか通知されないため、MACアドレスで同じ機器であるかの判定をする必要がない。ただし、切断してすぐに別の機器が接続する場合には無線制御イベントの処理に入ってしまうが、そもそも別の機器であるためプロトコルレベルでも接続の維持ができないため、終了処理を行わなくても上位で切断されてしまう。このようにすることで、簡易アクセスポイントに参加できる機器が1台のみである場合には、MACアドレスに関する処理の処理時間分だけ短縮することが可能である。 Assuming that a plurality of devices can participate in the simple access point mounted on the digital camera, the process of storing the MAC address of the connection partner device in S417 in FIG. 4, the MAC in S804 and S809 in FIG. Address comparison processing is performed. However, when only one device can participate in the simple access point, there is no need to perform MAC address storage and comparison processing. When only one device can participate, only the disconnection notification and connection notification from the participating device are notified, and it is not necessary to determine whether the same device is based on the MAC address. However, if another device connects immediately after disconnection, it enters the processing of the wireless control event, but since it is another device in the first place, the connection cannot be maintained even at the protocol level, so the termination process is not performed. Will be cut off at the top. By doing in this way, when only one device can participate in the simple access point, it is possible to reduce the processing time for the processing related to the MAC address.
<第2の実施形態>
第2の実施形態では、デジタルカメラ100の簡易アクセスポイントにスマートフォン200を3台参加させた場合の処理について説明する。
<Second Embodiment>
In the second embodiment, a process when three
図10は本実施形態におけるネットワークトポロジ図である。図10に示すように、簡易アクセスポイントを起動しているデジタルカメラAに対して、スマートフォンA、スマートフォンB、スマートフォンCの3台が参加するものとする。また、図10に示すように、MACアドレスに関してはデジタルカメラAが12:34:56:78:90:abである。スマートフォンAがab:cd:ef:12:34:56、スマートフォンBが12:23:34:56:78:90、スマートフォンCが13:57:90:ab:cd:efである。IPアドレスに関してはデジタルカメラAには192.168.0.1である。スマートフォンAには192.168.0.2、スマートフォンBには192.168.0.3、スマートフォンCには192.168.0.4が割り当てられるものとする。また、デジタルカメラAと画像の送受信を行うプロトコルレベルの接続まで行うスマートフォンはスマートフォンAとする。他のスマートフォンB、スマートフォンCはデジタルカメラAの簡易アクセスポイントに参加するのみとする。 FIG. 10 is a network topology diagram in this embodiment. As shown in FIG. 10, it is assumed that three smartphones A, B, and C participate in the digital camera A that activates the simple access point. Further, as shown in FIG. 10, the digital camera A is 12: 34: 56: 78: 90: ab with respect to the MAC address. The smartphone A is ab: cd: ef: 12: 34: 56, the smartphone B is 12: 23: 34: 56: 78: 90, and the smartphone C is 13: 57: 90: ab: cd: ef. The IP address is 192.168.0.1 for the digital camera A. The smartphone A is assigned 192.168.0.2, the smartphone B is assigned 192.168.0.3, and the smartphone C is assigned 192.168.0.4. A smartphone that performs a protocol level connection for transmitting and receiving images to and from the digital camera A is a smartphone A. The other smartphones B and C only participate in the simple access point of the digital camera A.
デジタルカメラAとスマートフォンAが接続する流れについては第1の実施形態で説明した流れと同様であるため省略する。ただし、図4のフローチャートのS417の接続相手機器のMACアドレスを記憶する際に参照するARPテーブルは図11に示すようになる。図11はデジタルカメラAの簡易アクセスポイントにスマートフォンA〜Cが参加した場合のARPテーブルである。S417において、システム制御回路50は、ARPテーブルを参照して、スマートフォンAのIPアドレス192.168.0.2に対応するMACアドレスab:cd:ef:12:34:56をメモリ18に記憶する。
Since the flow for connecting the digital camera A and the smartphone A is the same as the flow described in the first embodiment, a description thereof will be omitted. However, the ARP table referred to when storing the MAC address of the connection partner device in S417 in the flowchart of FIG. 4 is as shown in FIG. FIG. 11 is an ARP table when the smartphones A to C participate in the simple access point of the digital camera A. In S417, the
スマートフォンB、スマートフォンCに関しては図7のS704まで処理を行う。つまり、デジタルカメラAの簡易アクセスポイントに参加するだけで、機器接続処理までは行わない。 For smartphone B and smartphone C, processing is performed up to S704 in FIG. That is, only the simple access point of the digital camera A is joined, and the device connection process is not performed.
まず、デジタルカメラAとスマートフォンAとの機器接続処理が完了した後、スマートフォンAからの切断通知、スマートフォンBからの接続通知、スマートフォンAからの接続通知が無線LANドライバから連続で通知された場合について説明する。 First, after the device connection process between the digital camera A and the smartphone A is completed, a disconnection notification from the smartphone A, a connection notification from the smartphone B, and a connection notification from the smartphone A are continuously notified from the wireless LAN driver. explain.
スマートフォンAからの切断通知が無線LANドライバから通知された場合の処理に関しては第1の実施形態で説明した図8のS801〜S806と同様であるため詳細は省略し、S807から説明する。 Since the process when the disconnection notification from the smartphone A is notified from the wireless LAN driver is the same as S801 to S806 of FIG. 8 described in the first embodiment, the details will be omitted and will be described from S807.
S807において、システム制御回路50は、無線LANドライバから無線制御イベントが通知されたか否かを判断する。無線LANドライバから無線制御イベントが通知されたと判断した場合はS808に進み、無線LANドライバから無線制御イベントが通知されていないと判断した場合は、S812に進む。ここでは、スマートフォンBからの接続通知が無線LANドライバから通知されるためS808に進む。
In step S807, the
S808において、システム制御回路50は、S807において無線LANドライバから通知された無線制御イベントが接続通知であるか否かを判断する。無線LANドライバから通知された無線制御イベントが接続通知である場合は、S809に進み、無線LANドライバから通知された無線制御イベントが接続通知ではない場合、つまり切断通知である場合は、S812に進む。ここでは、スマートフォンBからの接続通知が無線LANドライバから通知されるためS809に進む。
In step S808, the
S809において、システム制御回路50は、無線制御イベントの送信元MACアドレスと接続相手機器のMACアドレスを比較行い、S810に進む。詳細は第1の実施形態において説明したため省略する。
In step S809, the
S810において、システム制御回路50は、S809において比較したMACアドレスが同じであるか否かを判断する。MACアドレスが同じである場合はS811に進み、MACアドレスが同じでない場合は、S812に進む。ここでは、無線制御イベントの送り元MACアドレスが12:23:34:56:78:90で接続相手機器のMACアドレスがab:cd:ef:12:34:56であり、MACアドレスが同じではないためS812に進む。
In S810, the
S812において、システム制御回路50は、タイマ71を参照して、タイマがタイムアウトしているか否かを判断する。タイマがタイムアウトしていると判断した場合はS813に進み、タイマがタイムアウトしていないと判断した場合はS807に戻る。ここでは、タイマがタイムアウトしていないため、S807に戻る。
In step S812, the
次に、無線LANドライバからスマートフォンAからの接続通知が通知されるためS807⇒S808⇒S809⇒S810の順で処理を行う。詳細に関しては省略する。 Next, since a connection notification from the smartphone A is notified from the wireless LAN driver, processing is performed in the order of S807⇒S808⇒S809⇒S810. Details are omitted.
S810において、システム制御回路50は、S809において比較したMACアドレスが同じであるか否かを判断する。MACアドレスが同じである場合はS811に進み、MACアドレスが同じでない場合は、S812に進む。ここでは、無線制御イベントの送り元MACアドレスがab:cd:ef:12:34:56で接続相手機器のMACアドレスがab:cd:ef:12:34:56であり、MACアドレスが同じであるためS811に進む。
In S810, the
S811において、システム制御回路50は、タイマ71を停止させて、S801に戻る。
In S811, the
以上のように、機器接続処理が完了した機器からの切断通知、接続通知が無線LANドライバから連続で通知される間に、他の機器からの接続通知が通知されたとしても無視するため、他の機器がネットワークに参加している場合でも影響はない。また、他の機器からの接続通知が通知された場合について説明したが、切断通知が通知された場合についても同様である。 As described above, the disconnection notification from the device that has completed the device connection processing and the connection notification are continuously notified from the wireless LAN driver. There is no effect even if the device is joined to the network. Moreover, although the case where the notification of connection from another apparatus was notified was demonstrated, it is the same also when the notification of disconnection is notified.
次に、デジタルカメラAとスマートフォンAとの機器接続処理が完了した後、スマートフォンBからの切断通知が無線LANドライバから通知された場合について説明する。 Next, a case where a disconnection notification from the smartphone B is notified from the wireless LAN driver after the device connection process between the digital camera A and the smartphone A is completed will be described.
スマートフォンBからの切断通知が無線LANドライバから通知されるため、図8のS801⇒S802⇒S803⇒S804⇒S805の順で処理を行う。詳細に関しては省略する。 Since the disconnection notification from the smartphone B is notified from the wireless LAN driver, the processing is performed in the order of S801⇒S802⇒S803⇒S804⇒S805 in FIG. Details are omitted.
S805において、システム制御回路50は、S804において比較したMACアドレスが同じであるか否かを判断する。MACアドレスが同じである場合はS806に進み、MACアドレスが同じでない場合は、S801に戻る。ここでは、無線制御イベントの送り元MACアドレスが12:23:34:56:78:90で接続相手機器のMACアドレスがab:cd:ef:12:34:56であり、MACアドレスが同じではないためS801に戻り、何も処理は行わない。
In step S805, the
以上のように、機器接続処理が完了した機器ではない他の機器からの切断通知が無線LANドライバから通知されたとしても無視するため、他の機器がネットワークに参加している場合でも影響はない。また、他の機器からの切断通知が通知された場合について説明したが、接続通知が通知された場合についても同様である。 As described above, even when a disconnection notification from another device that is not a device that has completed the device connection process is notified from the wireless LAN driver, it is ignored, so there is no effect even when another device participates in the network. . Moreover, although the case where the notification of disconnection from another apparatus was notified was demonstrated, it is the same also when the notification of connection is notified.
以上のように、本実施形態によれば、デジタルカメラが起動する簡易アクセスポイントに複数台のスマートフォンが参加している場合でも、機器接続処理が完了している機器ではない他の機器からの切断通知、接続通知が通知された場合は無視する。したがって、簡易アクセスポイントのネットワークに複数台参加している場合でも影響はない。 As described above, according to the present embodiment, even when multiple smartphones participate in the simple access point that the digital camera starts, disconnection from other devices that are not devices that have completed the device connection process Ignored if a notification or connection notification is sent. Therefore, there is no effect even when a plurality of simple access point networks participate.
以上説明したように、本発明によれば、機器接続処理が完了した後、相手機器からの切断通知が無線LANドライバから通知されて所定時間内に同じ送信元からの接続通知が通知された場合には、終了処理を行わず接続を維持する。このことにより、画像送受信中などに切断通知、接続通知が連続で無線LANドライバから通知された場合にも途中で切断されずに画像送受信を継続することができる。また、デジタルカメラが起動する簡易アクセスポイントに複数台のスマートフォンが参加している場合でも、機器接続処理が完了している機器以外からの切断通知、接続通知は無視するため、ネットワークに複数台参加している場合でも影響はない。 As described above, according to the present invention, after the device connection process is completed, a disconnection notification from the counterpart device is notified from the wireless LAN driver, and a connection notification from the same transmission source is notified within a predetermined time. In this case, the connection is maintained without performing the termination process. Thus, even when a disconnection notification and connection notification are continuously notified from the wireless LAN driver during image transmission / reception, image transmission / reception can be continued without disconnection. In addition, even when multiple smartphones are participating in the simple access point that the digital camera starts up, disconnection notifications and connection notifications from devices other than devices that have completed device connection processing are ignored, so multiple devices participate in the network. Even if it is, there is no effect.
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。 The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.
Claims (8)
前記無線ネットワーク内の相手機器との機器接続を確立する機器接続手段と、
無線LANドライバの機能により出力される無線制御イベントを受信する無線制御イベント受信手段と、
無線接続を終了する終了手段と、
前記無線ネットワーク接続手段により無線ネットワークとの接続が完了し、かつ前記機器接続手段により機器接続処理が完了した後に前記無線制御イベント受信手段により前記相手機器からの切断通知を受信した場合、さらに所定時間内に前記受信手段により接続通知を受信しなかった場合には前記終了手段により終了処理を行い、所定時間内に前記受信手段により接続通知を受信した場合には終了処理は行わず接続を維持するよう制御する制御手段とを有することを特徴とする無線通信機器。 Wireless network connection means for establishing a connection with a wireless network;
Device connection means for establishing device connection with a counterpart device in the wireless network;
A wireless control event receiving means for receiving a wireless control event output by the function of the wireless LAN driver;
Termination means for terminating the wireless connection;
When a connection with a wireless network is completed by the wireless network connection means, and a disconnection notification is received from the counterpart device by the wireless control event receiving means after the device connection processing is completed by the device connection means, a further predetermined time If no connection notification is received by the receiving means, the termination means performs termination processing. If the connection notification is received by the receiving means within a predetermined time, the termination processing is not performed and the connection is maintained. And a control means for controlling the wireless communication device.
前記MACアドレス取得手段により取得した相手機器のMACアドレスと無線制御イベントの送信元MACアドレスを比較するMACアドレス比較手段とを備え、
前記制御手段は、前記MACアドレス比較手段により相手機器のMACアドレスと無線制御イベントの送信元MACアドレスが異なると判断された場合には、無線制御イベントを無視することを特徴とする請求項1または2に記載の無線通信機器。 MAC address acquisition means for acquiring the MAC address of the counterpart device for which device connection processing has been completed by the device connection means;
MAC address comparison means for comparing the MAC address of the counterpart device acquired by the MAC address acquisition means and the transmission source MAC address of the radio control event,
The control unit ignores the radio control event when the MAC address comparison unit determines that the MAC address of the counterpart device is different from the transmission source MAC address of the radio control event. 2. A wireless communication device according to 2.
機器検索により機器を発見した際の相手機器のIPアドレスをもとにARPテーブルを参照し、対応するMACアドレスを取得することを特徴とする請求項3に記載の無線通信機器。 The MAC address acquisition means includes
4. The wireless communication device according to claim 3, wherein the corresponding MAC address is obtained by referring to the ARP table based on the IP address of the counterpart device when the device is found by device search.
無線ネットワークとの接続を確立する無線ネットワーク接続工程と
前記無線ネットワーク内の相手機器との機器接続を確立する機器接続工程と
無線LANドライバの機能により出力される無線制御イベントを受信する無線制御イベント受信工程と、
無線接続を終了する終了工程と、
前記無線ネットワーク接続工程で無線ネットワークとの接続が完了し、かつ前記機器接続工程で機器接続処理が完了した後に前記無線制御イベント受信工程で前記相手機器からの切断通知を受信した場合、さらに所定時間内に前記受信工程で接続通知を受信しなかった場合には前記終了工程で終了処理を行い、所定時間内に前記受信工程で接続通知を受信した場合には終了処理は行わず接続を維持することを特徴とする無線通信機器。 A method for controlling a wireless communication device,
A wireless network connection step for establishing a connection with a wireless network, a device connection step for establishing a device connection with a counterpart device in the wireless network, and a wireless control event reception for receiving a wireless control event output by the function of the wireless LAN driver Process,
A termination step for terminating the wireless connection;
When a connection with a wireless network is completed in the wireless network connection step and a disconnection notification is received from the counterpart device in the wireless control event reception step after the device connection processing is completed in the device connection step, a further predetermined time If the connection notification is not received in the reception step, the termination processing is performed in the termination step. If the connection notification is received in the reception step within a predetermined time, the termination processing is not performed and the connection is maintained. A wireless communication device characterized by that.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012155511A JP2014017770A (en) | 2012-07-11 | 2012-07-11 | Radio communication device, its control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012155511A JP2014017770A (en) | 2012-07-11 | 2012-07-11 | Radio communication device, its control method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014017770A true JP2014017770A (en) | 2014-01-30 |
Family
ID=50112063
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012155511A Pending JP2014017770A (en) | 2012-07-11 | 2012-07-11 | Radio communication device, its control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014017770A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015220677A (en) * | 2014-05-20 | 2015-12-07 | キヤノン株式会社 | Imaging apparatus, control method therefor, program and storage medium |
WO2016051724A1 (en) * | 2014-10-02 | 2016-04-07 | Canon Kabushiki Kaisha | Communication apparatus, control method, and storage medium |
JP2020010362A (en) * | 2015-07-30 | 2020-01-16 | キヤノン株式会社 | Communication device, control method therefor and program |
US10979964B2 (en) | 2015-07-30 | 2021-04-13 | Canon Kabushiki Kaisha | Communication apparatus, control method of communication apparatus, and storage medium |
-
2012
- 2012-07-11 JP JP2012155511A patent/JP2014017770A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015220677A (en) * | 2014-05-20 | 2015-12-07 | キヤノン株式会社 | Imaging apparatus, control method therefor, program and storage medium |
US9999078B2 (en) | 2014-05-20 | 2018-06-12 | Canon Kabushiki Kaisha | Communication apparatus and control method thereof |
WO2016051724A1 (en) * | 2014-10-02 | 2016-04-07 | Canon Kabushiki Kaisha | Communication apparatus, control method, and storage medium |
JP2016076745A (en) * | 2014-10-02 | 2016-05-12 | キヤノン株式会社 | Communication device, control method, and program |
JP2020010362A (en) * | 2015-07-30 | 2020-01-16 | キヤノン株式会社 | Communication device, control method therefor and program |
US10979964B2 (en) | 2015-07-30 | 2021-04-13 | Canon Kabushiki Kaisha | Communication apparatus, control method of communication apparatus, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11792886B2 (en) | Method for accessing network by network node, and electronic equipment | |
CN110769485A (en) | Method for making target terminal access target wireless network provided by wireless access point | |
JP2017531974A (en) | Network connection method, device, system, program, and recording medium | |
JP6755081B2 (en) | Communication equipment and its control method and program | |
JP2014143540A (en) | Communication device, control method of communication device, and program | |
EP3515047B1 (en) | Communication apparatus, image capturing apparatus, control method, and program | |
US20190394638A1 (en) | Communication apparatus communicating with external apparatus, control method for communication apparatus, and recording medium | |
WO2019019050A1 (en) | Wireless communication pairing method, wireless receiving device, and wireless transmitting device and system | |
JP2014017770A (en) | Radio communication device, its control method, and program | |
JP6716356B2 (en) | Communication device, control method thereof, and program | |
JP6163788B2 (en) | Communication terminal, communication method, and program | |
JP6821360B2 (en) | Electronic devices and their control methods | |
JP6869746B2 (en) | Communication device, its control method, program | |
JP2015154206A (en) | Communication device, method of controlling the same, and program | |
US10057756B2 (en) | Terminal detection method and communication device | |
JP6802716B2 (en) | Communication equipment and its control method and program | |
JP7143071B2 (en) | Communication device, communication system, communication method, and program | |
JP6415232B2 (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM | |
JP6157190B2 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM | |
JP6039415B2 (en) | Wireless communication apparatus, control method thereof, and program | |
JP2015154205A (en) | Communication device, method of controlling the same, and program | |
JP2014143660A (en) | Mobile terminal, display device, television receiver, and radio communication system | |
JP6882012B2 (en) | Communication device, control method of communication device, and program | |
JP6877999B2 (en) | Communication device, control method of communication device, program | |
JP2021158561A (en) | Communication apparatus, control method therefor, and program |