JP2005094053A - Network communication apparatus - Google Patents
Network communication apparatus Download PDFInfo
- Publication number
- JP2005094053A JP2005094053A JP2003320333A JP2003320333A JP2005094053A JP 2005094053 A JP2005094053 A JP 2005094053A JP 2003320333 A JP2003320333 A JP 2003320333A JP 2003320333 A JP2003320333 A JP 2003320333A JP 2005094053 A JP2005094053 A JP 2005094053A
- Authority
- JP
- Japan
- Prior art keywords
- wireless
- network
- communication
- wireless terminal
- connection destination
- 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
Abstract
Description
本発明は、ネットワーク通信装置に関し、特に無線LAN通信の設定を簡略化する技術に関する。 The present invention relates to a network communication device, and more particularly to a technique for simplifying setting of wireless LAN communication.
ネットワーク端末同士がIEEE802.11などのいわゆる無線LAN規格で通信するためには、少なくとも通信モードとSSIDを設定する必要がある。通信モードとしては、インフラストラクチャモードとアドホックモードがあり、SSIDはいわば無線LANネットワークの名前に相当する。無線通信で送受信するデータの安全性を高める場合には、WEP暗号化の有無やWEPキーをさらに設定する必要がある。さらに、無線通信経由でTCP/IP通信を利用する場合には、その端末自身のIPアドレスや接続先のIPアドレス、サブネットマスク、必要に応じてDNSやゲートウェイをさらに設定する必要もある。これら必要な設定のうち、無線LANの通信モードを自動で最適化する技術が知られている(例えば、特許文献1参照)。
従来、ネットワーク端末を特定のサービスが提供されるノードに無線LAN経由で接続したい場合、原則として上述の様々な情報をユーザ自身が手動で設定する必要があった。また、一部の情報を自動設定するとしても、最終的には検索結果のリストからいずれかのノードをユーザ自身が選択する必要があったり、あるいは全く意図しないノードに勝手に接続されてしまうといった不都合が生じていた。特に、周囲にそれぞれ別個のネットワークに属する複数の無線端末が存在する場合には、どのネットワークに所望のノードが接続されているかも分からず、どの無線端末と接続すべきかさえ不明なため、ユーザにとって設定作業が煩雑であった。 Conventionally, when it is desired to connect a network terminal to a node provided with a specific service via a wireless LAN, in principle, the user has to manually set the various information described above. Also, even if some information is automatically set, the user eventually has to select one of the nodes from the search result list, or the user may be arbitrarily connected to an unintended node. There was an inconvenience. In particular, when there are a plurality of wireless terminals belonging to different networks around each other, it is unknown to which network a desired node is connected, and it is unclear which wireless terminal should be connected to the user. Setting work was complicated.
本発明はこうした状況に鑑みなされたものであり、その目的はネットワーク端末同士の通信確立に関する利便性を高める点にある。 The present invention has been made in view of such circumstances, and an object of the present invention is to enhance convenience related to establishment of communication between network terminals.
本発明のある態様は、ネットワーク通信装置である。このネットワーク通信装置は、無線通信ネットワークに接続可能な装置であって、接続可能な周囲の無線端末を検出する無線検索部と、当該装置が接続すべき所望のネットワークノードのIPアドレスを示した設定情報をあらかじめ記憶する設定記憶部と、検出された無線端末およびその無線端末が属するネットワーク内に含まれるネットワークノードのいずれかに対して設定情報に示されるIPアドレスが割り当てられているか否かを基準として、無線端末が目的とする無線通信の接続先であるか否かを判定する接続先決定部と、無線端末が目的とする無線通信の接続先であると判定された場合に、その無線端末との無線通信を通じて所望のネットワークノードと通信する通信部と、を備える。 One embodiment of the present invention is a network communication device. This network communication device is a device that can be connected to a wireless communication network, and includes a wireless search unit that detects connectable peripheral wireless terminals and a setting that indicates an IP address of a desired network node to which the device is to be connected A setting storage unit that stores information in advance, and whether or not the IP address indicated in the setting information is assigned to any of the detected wireless terminal and the network node included in the network to which the wireless terminal belongs A connection destination determination unit that determines whether or not a wireless terminal is a connection destination of a target wireless communication, and if it is determined that the wireless terminal is a connection destination of a target wireless communication, the wireless terminal A communication unit that communicates with a desired network node through wireless communication.
本態様においては、所望の接続先であるネットワークノードのIPアドレスさえあらかじめ把握できれば、そのIPアドレスが割り当てられた無線端末またはそのIPアドレスが割り当てられたノードと同じネットワークに属する無線端末に自動で接続される。これにより、無線通信の設定やTCP/IP通信等のネットワーク設定といった繁雑な作業が軽減されるので、ユーザは特定のネットワーク端末を所望のノードへ容易に接続させることができる。 In this aspect, as long as the IP address of a network node that is a desired connection destination can be known in advance, it automatically connects to a wireless terminal to which the IP address is assigned or to a wireless terminal that belongs to the same network as the node to which the IP address is assigned. Is done. Accordingly, since complicated operations such as wireless communication settings and network settings such as TCP / IP communication are reduced, the user can easily connect a specific network terminal to a desired node.
本発明の別の態様もまた、ネットワーク通信装置である。この装置は、無線通信ネットワークに接続可能な装置であって、接続可能な周囲の無線端末を検出する無線検索部と、当該装置が提供を受けるべき所望のサービスを示した設定情報をあらかじめ記憶する設定記憶部と、検出された無線端末およびその無線端末が属するネットワーク内に含まれるネットワークノードのいずれかが設定情報に示されるサービスを提供するか否かを基準として、無線端末が目的とする無線通信の接続先であるか否かを判定する接続先決定部と、無線端末が目的とする無線通信の接続先であると判定された場合に、その無線端末との無線通信を通じて所望のサービスを提供するネットワークノードと通信する通信部と、を備える。 Another embodiment of the present invention is also a network communication device. This device is a device that can be connected to a wireless communication network, and stores in advance a wireless search unit that detects connectable peripheral wireless terminals, and setting information indicating a desired service that the device should receive. Based on whether the setting storage unit and any of the detected wireless terminal and the network node included in the network to which the wireless terminal belongs provide the service indicated in the setting information, the wireless terminal A connection destination determination unit that determines whether or not a communication destination is a connection destination, and when it is determined that a wireless terminal is a connection destination of a target wireless communication, a desired service is obtained through wireless communication with the wireless terminal. A communication unit that communicates with a network node to be provided.
本態様においては、所望のサービスさえあらかじめ把握できれば、そのサービスを提供する無線端末またはそのサービスを提供するネットワークノードと同じネットワークに属する無線端末に自動で接続される。これにより、無線通信の設定やTCP/IP通信等のネットワーク設定といった繁雑な作業が軽減されるので、ユーザは特定のネットワーク端末を所望のサービスを提供するノードへ容易に接続させることができる。 In this aspect, if even a desired service can be grasped in advance, it is automatically connected to a wireless terminal that provides the service or a wireless terminal that belongs to the same network as the network node that provides the service. Accordingly, since complicated operations such as wireless communication settings and network settings such as TCP / IP communication are reduced, the user can easily connect a specific network terminal to a node that provides a desired service.
なお、以上の構成要素の任意の組合せや、本発明の構成要素や表現を方法、装置、システム、コンピュータプログラム、プログラムを格納した記録媒体、データ構造などの間で相互に置換したものもまた、本発明の態様として有効である。 It should be noted that any combination of the above-described components, and the components and expressions of the present invention are mutually replaced between a method, apparatus, system, computer program, recording medium storing the program, data structure, etc. This is effective as an embodiment of the present invention.
本発明によれば、無線通信の設定を容易にすることができる。 According to the present invention, setting of wireless communication can be facilitated.
本実施形態においては、無線LAN通信に接続可能なネットワーク端末においてその無線通信に必要な情報を自動的に設定する。このとき、そのネットワーク端末の接続先としてユーザが希望するネットワークノードのIPアドレスまたはそのノードが提供するサービスの情報をもとに無線通信を自動設定する。以下、ネットワーク端末として無線通信が可能なデジタルカメラを例に挙げ、そのデジタルカメラから特定のネットワーク内にある特定のファイルサーバへ撮影画像を送信する場合を説明する。 In the present embodiment, information necessary for wireless communication is automatically set in a network terminal connectable to wireless LAN communication. At this time, the wireless communication is automatically set based on the IP address of the network node desired by the user as the connection destination of the network terminal or information on the service provided by the node. Hereinafter, a digital camera capable of wireless communication as a network terminal will be described as an example, and a case where a captured image is transmitted from the digital camera to a specific file server in a specific network will be described.
図1は、データ送受信システムの基本的なネットワーク構成を示す。データ送受信システム10において、デジタルカメラ12は無線モジュールを有し、他の無線端末との間で無線通信が可能である。第1IPネットワーク22には第1アクセスポイント14、第2アクセスポイント16、第3アクセスポイント18、ファイルサーバ20が有線接続されている。第2IPネットワーク32には、第4アクセスポイント26、第2液晶プロジェクタ28、パーソナルコンピュータ30が有線接続されている。第1アクセスポイント14、第2アクセスポイント16、第3アクセスポイント18、第4アクセスポイント26はそれぞれ無線モジュールを有し、インフラストラクチャモードでの無線通信が可能である。第1液晶プロジェクタ24もまた無線モジュールを有し、アドホックモードでの無線通信が可能である。無線通信は、例えばIEEE802.11等の無線LAN方式であってもよい。
FIG. 1 shows a basic network configuration of a data transmission / reception system. In the data transmission /
デジタルカメラ12は、周囲の無線端末を検索することにより、第1アクセスポイント14、第2アクセスポイント16、第3アクセスポイント18、第1液晶プロジェクタ24、第4アクセスポイント26を検出し、認識することができる。デジタルカメラ12は、第1液晶プロジェクタ24と接続するときはアドホックモードによるピア・ツー・ピア接続となり、他の無線端末と接続するときは、それぞれが属する第1IPネットワーク22または第2IPネットワーク32に含まれるファイルサーバ20やパーソナルコンピュータ30とも通信可能となる。
The
デジタルカメラ12、第1アクセスポイント14、第2アクセスポイント16、第3アクセスポイント18、第1液晶プロジェクタ24、第4アクセスポイント26の各構成は、ハードウェア的には、無線モジュールその他のLSIで実現でき、ソフトウェア的にはメモリにロードされたデータ送受信機能をもつプログラムなどによって実現される。図2に記載した機能ブロックがハードウェアのみ、ソフトウェアのみ、またはそれらの組合せと連携によっていろいろな形で実現できることは、当業者には理解されるところである。
Each configuration of the
本実施形態においては、無線端末の一つであるデジタルカメラ12が撮影画像をファイルサーバ20へ送信したい場合に、最適なアクセスポイントを選択し、その無線通信およびIPネットワーク通信に必要な情報を自動で設定する。
In this embodiment, when the
図2は、ネットワーク通信装置の構成を示す機能ブロック図である。このネットワーク通信装置40は、図1における各無線端末に相当する。以下、ネットワーク通信装置40がデジタルカメラ12であるという前提で適宜説明する。ネットワーク通信装置40は、送受信部42、無線検索部44、接続先決定部46、通信部48、設定記憶部50、設定入力部52を有する。無線検索部44、接続先決定部46、通信部48の各部は、送受信部42を介して外部の無線端末との間で無線通信によりデータを送受信する。
FIG. 2 is a functional block diagram showing the configuration of the network communication apparatus. The
無線検索部44は、接続可能な周囲の無線端末を検出する。例えば無線検索部44は、各無線端末から発せられるプローブ応答を受信し、そのプローブ応答からその無線端末との無線通信に必要な情報を取得して接続先決定部46へ送る。無線通信に必要な情報としては、例えばSSID、通信モード、通信チャネルがある。無線検索部44は、無線端末の検索時において、SSIDとして何も指定されていない状態の設定または「ANY」の値が指定された設定を使用してもよいし、通信モードとして検索モードを設定してもよい。無線検索部44は、複数の無線端末を検出した場合に、それら複数の無線モジュールとそれぞれの無線通信に必要な情報を対応させたリストを生成して接続先決定部46へ送る。
The
設定記憶部50は、ネットワーク通信装置40が接続すべき所望のネットワークノードを特定するために必要な情報が示された設定情報をあらかじめ記憶する。設定情報には、所望の無線接続設定、所望のノードのIPアドレス、所望のノードが提供するサービスのうち少なくともいずれかが示されている。設定記憶部50は、不揮発性のメモリで構成されてもよく、ネットワーク通信装置40の電源をオフにした後も設定情報が引き続き保持される。接続先決定部46は、設定情報に示された所望の無線設定、サービス、IPアドレス等の情報をもとに、接続すべき無線端末および接続すべきネットワークノードを特定する。なお、サービスは、TCPまたはUDPのポート番号と固有のコマンドにて識別される。
The
設定記憶部50に記憶される設定情報には、目的とする無線通信の接続先を接続先決定部46が決定する上でどのパラメータを優先的な基準とすべきかが定められている。具体的には、(1)所望の無線接続設定を優先的に利用すべき、(2)所望のサービスを優先的に探索すべき、(3)所望のIPアドレスを優先的に探索すべき、のうち少なくともいずれかの判定基準が設定情報に書き込まれる。設定情報には、上記(1)〜(3)のうち二つ以上の基準が順次適用されるようその適用優先順位が設定されていてもよいし、(1)〜(3)のうちいずれか一つのみが絶対的な基準として設定されていてもよい。このような判定基準の内容は、ユーザからの指示を受け付ける設定入力部52によって更新される。
The setting information stored in the
設定情報に(1)所望の無線接続設定を優先的に利用すべき、と設定されている場合、接続先決定部46は所望の無線接続設定にて無線端末との接続を試行する。無線接続が成功したときは、所望のサービスを提供するノードまたは所望のIPアドレスが割り当てられたノードをその無線端末が属するネットワークから検出する。無線接続した無線端末がアドホックモードの場合、その無線端末自体が所望のサービスを提供しているか、所望のIPアドレスが割り当てられているかを検出する。所望のノードが検出されれば、その無線端末およびそのノードとの接続が確立される。
If the setting information indicates that (1) the desired wireless connection setting should be used preferentially, the connection
設定情報に(2)所望のサービスを優先的に探索すべき、と設定されている場合、接続先決定部46は複数の無線端末との接続を順次試行し、その無線端末が属するネットワークから所望のサービスを提供するノードを検出する。無線接続した無線端末がアドホックモードの場合、その無線端末自体が所望のサービスを提供しているかを検出する。所望のサービスを提供するノードが見つかれば、その無線端末およびそのノードとの接続が確立される。
When the setting information indicates that (2) the desired service should be preferentially searched, the connection
設定情報に(3)所望のIPアドレスを優先的に探索すべき、と設定されている場合、接続先決定部46は複数の無線端末との接続を順次試行し、その無線端末が属するネットワークから所望のIPアドレスが割り当てられたノードを検出する。無線接続した無線端末がアドホックモードの場合、その無線端末自体に所望のIPアドレスが割り当てられているかを検出する。所望のIPアドレスが割り当てられたノードが見つかれば、その無線端末およびそのノードとの接続が確立される。
When it is set in the setting information that (3) a desired IP address should be preferentially searched, the connection
IPネットワークへの接続の試行方法は以下の通りである。まずIPネットワーク内で稼働するDHCP機能によりネットワーク通信装置40のIPアドレスが割り当てられる。その後、接続先決定部46はノード探索パケットをIPネットワーク内にUDPでブロードキャストし、その返信パケットによりIPネットワークに属する各ノードのIPアドレス等を取得する。接続先決定部46は、各ノードのIPアドレスのリストを生成し、所望のIPアドレスのノードと接続することができる。
The method for trying to connect to the IP network is as follows. First, the IP address of the
通信部48は、検出された無線端末が目的とする無線通信の接続先であると判定された場合に、その無線端末との無線通信を通じて所望のIPアドレスが割り当てられたネットワークノードまたは所望のサービスを提供するネットワークノードと通信する。本実施形態の場合、接続先決定部46は複数の無線端末のうち、第1アクセスポイント14、第2アクセスポイント16、第3アクセスポイント18のいずれかを目的の接続先として選択し、同じ第1IPネットワーク22に接続されたファイルサーバ20を検出する。通信部48は、第1アクセスポイント14、第2アクセスポイント16、第3アクセスポイント18のいずれかにそれぞれの無線設定にて無線接続された上で、ファイルサーバ20へTCP/IP等のプロトコルで接続される。通信部48は、デジタルカメラ12の撮影画像をファイルサーバ20へ送信する。
When it is determined that the detected wireless terminal is a connection destination of the target wireless communication, the
図3は、デジタルカメラ12と無線端末の無線通信およびデジタルカメラ12と所望のノードとの有線通信の関係を概略的に示す。まず、デジタルカメラ12の電源が投入されると(S300)、デジタルカメラ12は周囲の無線端末から発せられるプローブ応答をもとにその無線端末と接続するために必要な情報を取得する(S302)、取得した情報に基づいてその無線端末と無線通信の接続を試行し、接続に成功すると無線通信の仮想的な通信路が確立される(S304)。
FIG. 3 schematically shows the relationship between the wireless communication between the
次に、無線通信の通信路を経由し、その無線端末が属するIPネットワーク内のいずれかのノードと接続を試行する(S306)。例えばTCP/IPの場合、接続先ノードのIPアドレスを取得し、そのIPアドレスをもとにTCPコネクションが確立されると、そのノードとの間でTCPによる仮想的な通信路が確立される(S308)。 Next, connection is attempted with any node in the IP network to which the wireless terminal belongs via the wireless communication channel (S306). For example, in the case of TCP / IP, when an IP address of a connection destination node is acquired and a TCP connection is established based on the IP address, a virtual communication path using TCP is established with the node ( S308).
図4は、周囲の無線端末とその端末との無線接続に必要な設定が対応づけられたテーブルを示す。図2の無線検索部44は、図1のデータ送受信ネットワーク10において周囲の無線端末を検索し、その結果として第1アクセスポイント14、第2アクセスポイント16、第3アクセスポイント18、第1液晶プロジェクタ24、第4アクセスポイント26を検出する。これらの各無線端末から受信するプローブ応答から得られる情報をもとに無線検索部44が図4のテーブルを生成する。このテーブルにおいては、無線端末名とそれぞれの通信モード、SSID、通信チャネルが対応づけられ、接続先決定部46または通信部48は、このテーブルを参照していずれかの無線端末と無線接続することができる。また、本図のテーブルでは、無線の電波強度の順に無線端末がソートされているが、無線の電波強度が所定の閾値以上である無線端末のみをテーブルに格納する構成としてもよい。
FIG. 4 shows a table in which surrounding wireless terminals and settings necessary for wireless connection with the terminals are associated with each other. The
図5は、本実施形態の全体的な処理過程を示すフローチャートである。まず電源が投入されると(S10)、無線検索部44が周囲の無線端末を検索してテーブルを生成する(S12)。設定記憶部50に記憶された設定情報に前回の無線通信の設定や接続先IPアドレスの情報が残っている場合、接続先決定部46はそれらの設定をもとに接続試行を開始する(S14)。ここで接続に成功すれば(S16のY)、ネットワーク通信装置40は通信可能である旨を画面に表示し(S18)、接続に失敗すれば(S16のN)、S20の処理へ移行する。
FIG. 5 is a flowchart showing an overall processing process of the present embodiment. First, when the power is turned on (S10), the
次に、設定記憶部50に記憶された設定情報に、所望の無線通信設定を優先すべき旨の判定基準が書き込まれていた場合は(S20のY)、図6で後述する第1接続処理ルーチンを実行し(S22)、設定情報に所望のサービスまたは所望のIPアドレスの設定を優先すべき旨の判定基準が書き込まれていた場合は(S20のN)、図7で後述する第2接続処理ルーチンを実行する(S24)。S22またはS24における戻り値Xが「OK」を示す場合(S26のOK)、ネットワーク通信装置40は通信可能である旨を画面表示し(S18)、戻り値Xが「NG」を示す場合(S26のNG)、ネットワーク通信装置40はエラーを画面に表示する(S28)。なお、S14ないしS16において、あらかじめ記憶された無線通信設定による無線接続自体は成功したが所望のIPアドレスが割り当てられた端末や所望のサービスを提供する端末が発見されなかったことが原因で接続に失敗した場合、S20からS22へ移行する。一方、あらかじめ記憶された無線通信設定による無線通信自体が失敗した場合に、無線通信設定を優先すべき判定基準が絶対的な基準と定められていればS20からS22へ移行させずにS28へ移行させ、絶対的な基準と定められていなければS20からS22へ移行させずにS24へ移行させてもよい。
Next, if the determination information indicating that the desired wireless communication setting should be prioritized is written in the setting information stored in the setting storage unit 50 (Y in S20), the first connection process described later with reference to FIG. When the routine is executed (S22) and a determination criterion that priority should be given to the setting of the desired service or the desired IP address is written in the setting information (N in S20), the second connection described later in FIG. A processing routine is executed (S24). When the return value X in S22 or S24 indicates “OK” (OK in S26), the
図6は、図5のS22における第1接続処理ルーチンを詳細に示すフローチャートである。設定記憶部50に記憶された所望の無線通信設定にしたがって無線接続の試行を開始し(S30)、接続に失敗した場合は(S32のN)、戻り値Xに「NG」を示す値を格納し(S44)、接続に成功した場合は(S32のY)、その無線端末と同じIPネットワーク内で利用可能なサービスを提供しているノードを検索する(S34)。検索で検出されたノードに所望のサービスを提供するノードが含まれていなければ(S36のN)、戻り値Xに「NG」を示す値を格納する(S44)。所望のサービスを提供するノードが含まれていれば(S36のY)、そのノードとの接続を開始する(S38)。接続に失敗すれば(S40のN)、戻り値Xに「NG」を示す値を格納し(S44)、接続に成功すれば(S40のY)、戻り値Xに「OK」を示す値を格納する(S42)。 FIG. 6 is a flowchart showing in detail the first connection processing routine in S22 of FIG. A trial of wireless connection is started according to the desired wireless communication setting stored in the setting storage unit 50 (S30), and when the connection fails (N in S32), a value indicating “NG” is stored in the return value X. If the connection is successful (Y in S32), a node that provides a service that can be used in the same IP network as the wireless terminal is searched (S34). If a node that provides a desired service is not included in the nodes detected by the search (N in S36), a value indicating “NG” is stored in the return value X (S44). If a node providing a desired service is included (Y in S36), connection with the node is started (S38). If the connection fails (N in S40), a value indicating "NG" is stored in the return value X (S44). If the connection is successful (Y in S40), a value indicating "OK" is stored in the return value X. Store (S42).
図7は、図5のS24における第2接続処理ルーチンを詳細に示すフローチャートである。まず、接続試行数iに値「1」を格納し、試行回数上限値jに無線検索部44で検出した無線端末数nを格納する(S50)。接続試行数iが試行回数上限値j以内である場合(S52のN)、無線検索部44が生成したテーブルのi番目の無線設定を使用し(S54)、無線接続の試行を開始する(S56)。接続に成功すれば(S58のY)、図8で後述する接続ルーチンに移行し(S62)、接続に失敗すると(S58のN)、接続試行数iをインクリメントし(S60)、S52に戻ってそれ以降の処理を繰り返す。S62の接続ルーチンにおける戻り値Yが「NG」を示す場合もまた(S64のNG)、接続試行数iをインクリメントし(S60)、S52に戻ってそれ以降の処理を繰り返す。戻り値Yが「OK」を示す場合は(S64のOK)、戻り値Xに「OK」を示す値を格納し(S66)、戻り値Yが「FIN」を示す場合は(S64のFIN)、戻り値Xに「NG」を示す値を格納する(S68)。S52以降の処理を繰り返す間に無線接続が成功せずに接続試行数iが試行回数上限値jを上回った場合もまた(S52のY)、戻り値Xに「NG」を示す値を格納する(S68)。
FIG. 7 is a flowchart showing in detail the second connection processing routine in S24 of FIG. First, the value “1” is stored in the number of connection trials i, and the number of wireless terminals n detected by the
図8は、図7のS62における接続ルーチンを詳細に示すフローチャートである。設定記憶部50に記憶される設定情報に、所望のサービスを優先すべき旨が設定されている場合(S70のY)、図9で後述するサービス検索ルーチンを実行し(S72)、設定情報に所望のIPアドレスを優先すべき旨が設定されている場合(S70のN)、図10で後述するノード検索ルーチンを実行する(S74)。
FIG. 8 is a flowchart showing in detail the connection routine in S62 of FIG. When it is set in the setting information stored in the setting
図9は、図8のS72におけるサービス検索ルーチンを詳細に示すフローチャートである。所望のサービスを提供するノードを検索し(S90)、そのようなノードが見つかった場合(S92のY)、そのノードと接続を開始する(S94)。接続が成功すれば(S96のY)、戻り値Yに「OK」を示す値を格納する(S98)。S92でノードが見つからなかった場合や(S92のN)、ノードとの接続に失敗した場合は(S96のN)、戻り値Yに「NG」を示す値を格納する(S100)。 FIG. 9 is a flowchart showing in detail the service search routine in S72 of FIG. A node that provides a desired service is searched (S90). When such a node is found (Y in S92), connection with the node is started (S94). If the connection is successful (Y in S96), a value indicating “OK” is stored in the return value Y (S98). If no node is found in S92 (N in S92) or if connection to the node fails (N in S96), a value indicating “NG” is stored in the return value Y (S100).
図10は、図8のS74におけるノード検索ルーチンを詳細に示すフローチャートである。所望のIPアドレスが割り当てられたノードを検索し(S110)、そのようなノードが見つからなかった場合は(S112のN)、戻り値Yに「NG」を示す値を格納し(S126)、そのようなノードが見つかった場合(S112のY)、そのノードが提供するサービスのリストを生成する(S114)。所望のサービスがリストに含まれていた場合(S116のY)、そのノードと接続を開始し(S118)、接続に成功すれば(S120のY)、戻り値Yに「OK」を示す値を格納し(S122)、接続に失敗すれば(S120のN)、戻り値Yに「FIN」を示す値を格納する(S124)。所望のサービスを提供するノードが見つからなかった場合もまた(S116のN)、戻り値Yに「FIN」を示す値を格納する(S124)。 FIG. 10 is a flowchart showing in detail the node search routine in S74 of FIG. A node to which a desired IP address is assigned is searched (S110). When such a node is not found (N in S112), a value indicating “NG” is stored in the return value Y (S126). When such a node is found (Y in S112), a list of services provided by the node is generated (S114). If the desired service is included in the list (Y in S116), connection with the node is started (S118). If the connection is successful (Y in S120), the return value Y is set to a value indicating “OK”. If the connection fails (N in S120), a value indicating "FIN" is stored in the return value Y (S124). When a node providing the desired service is not found (N in S116), a value indicating “FIN” is stored in the return value Y (S124).
以上、本発明を実施の形態をもとに説明した。この実施の形態は例示であり、その各構成要素や各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。 The present invention has been described based on the embodiments. This embodiment is an exemplification, and it is understood by those skilled in the art that various modifications can be made to the combination of each component and each processing process, and such modifications are also within the scope of the present invention. .
本実施形態においては、無線LANのWEPキーについては特に説明していないが、変形例においては、設定記憶部50に記憶された設定情報にあらかじめWEPキーが書き込まれており、さらにそのWEPキーがSSIDよりも優先される設定がなされていた場合に、接続先決定部46がそのWEPキーにて接続できる無線端末を優先的に選択する構成としてもよい。
In the present embodiment, the WEP key for the wireless LAN is not particularly described. However, in the modification, the WEP key is written in advance in the setting information stored in the setting
40 ネットワーク通信装置、 44 無線検索部、 46 接続先決定部、 48 通信部、 50 設定記憶部、 52 設定入力部。 40 network communication device, 44 wireless search unit, 46 connection destination determination unit, 48 communication unit, 50 setting storage unit, 52 setting input unit.
Claims (4)
接続可能な周囲の無線端末を検出する無線検索部と、
当該装置が接続すべき所望のネットワークノードのIPアドレスを示した設定情報をあらかじめ記憶する設定記憶部と、
前記検出された無線端末およびその無線端末が属するネットワーク内に含まれるネットワークノードのいずれかに対して前記設定情報に示されるIPアドレスが割り当てられているか否かを基準として、前記無線端末が目的とする無線通信の接続先であるか否かを判定する接続先決定部と、
前記無線端末が前記目的とする無線通信の接続先であると判定された場合に、その無線端末との無線通信を通じて前記所望のネットワークノードと通信する通信部と、
を備えることを特徴とするネットワーク通信装置。 A device connectable to a wireless communication network,
A wireless search unit for detecting surrounding wireless terminals that can be connected;
A setting storage unit that stores in advance setting information indicating an IP address of a desired network node to which the device is to be connected;
Based on whether or not the IP address indicated in the setting information is assigned to either the detected wireless terminal or a network node included in the network to which the wireless terminal belongs, the wireless terminal A connection destination determination unit that determines whether or not a connection destination of wireless communication to be performed;
A communication unit that communicates with the desired network node through wireless communication with the wireless terminal when it is determined that the wireless terminal is a connection destination of the target wireless communication;
A network communication device comprising:
接続可能な周囲の無線端末を検出する無線検索部と、
当該装置が提供を受けるべき所望のサービスを示した設定情報をあらかじめ記憶する設定記憶部と、
前記検出された無線端末およびその無線端末が属するネットワーク内に含まれるネットワークノードのいずれかが前記設定情報に示されるサービスを提供するか否かを基準として、前記無線端末が目的とする無線通信の接続先であるか否かを判定する接続先決定部と、
前記無線端末が前記目的とする無線通信の接続先であると判定された場合に、その無線端末との無線通信を通じて前記所望のサービスを提供するネットワークノードと通信する通信部と、
を備えることを特徴とするネットワーク通信装置。 A device connectable to a wireless communication network,
A wireless search unit for detecting surrounding wireless terminals that can be connected;
A setting storage unit that stores in advance setting information indicating a desired service to be provided by the device;
Based on whether any of the detected wireless terminal and the network node included in the network to which the wireless terminal belongs provides the service indicated in the setting information, A connection destination determination unit for determining whether or not the connection destination;
A communication unit that communicates with a network node that provides the desired service through wireless communication with the wireless terminal when the wireless terminal is determined to be a connection destination of the target wireless communication;
A network communication device comprising:
前記設定入力部は、前記ユーザからの指示に基づいて前記設定記憶部に記憶する設定情報を更新することを特徴とする請求項1から3のいずれかに記載のネットワーク通信装置。
A setting input unit that receives an instruction from a user as to which of the wireless connection setting, service, and IP address should be given priority as a criterion for determining whether the wireless terminal is a connection destination of the target wireless communication In addition,
The network communication device according to claim 1, wherein the setting input unit updates setting information stored in the setting storage unit based on an instruction from the user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003320333A JP2005094053A (en) | 2003-09-11 | 2003-09-11 | Network communication apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003320333A JP2005094053A (en) | 2003-09-11 | 2003-09-11 | Network communication apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005094053A true JP2005094053A (en) | 2005-04-07 |
Family
ID=34452361
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003320333A Pending JP2005094053A (en) | 2003-09-11 | 2003-09-11 | Network communication apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005094053A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006311137A (en) * | 2005-04-27 | 2006-11-09 | Canon Inc | Radio communication apparatus and method for setting communication parameter therefor |
JP2007019977A (en) * | 2005-07-08 | 2007-01-25 | Sony Corp | Audiovisual apparatus |
JP2007288487A (en) * | 2006-04-17 | 2007-11-01 | Necディスプレイソリューションズ株式会社 | Network projector and its control method |
JP2008131367A (en) * | 2006-11-21 | 2008-06-05 | Canon Inc | Communication apparatus, communication method, and computer program for making computer execute the communication method |
JP2009267578A (en) * | 2008-04-23 | 2009-11-12 | Panasonic Corp | Network projector system |
JP2011147147A (en) * | 2005-10-05 | 2011-07-28 | Qualcomm Inc | Peer-to-peer communication in ad hoc wireless communication network |
JP2014140219A (en) * | 2014-03-07 | 2014-07-31 | Nintendo Co Ltd | Communication apparatus, communication control program, communication control method, and communication system |
JP2015126450A (en) * | 2013-12-26 | 2015-07-06 | アルパイン株式会社 | Electronic device and radio apparatus confirmation method |
US9124604B2 (en) | 2010-03-17 | 2015-09-01 | Nintendo Co., Ltd. | Communication apparatus, computer-readable storage medium having stored therein communication control program, communication control method, and communication system |
JP2015170922A (en) * | 2014-03-05 | 2015-09-28 | キヤノン株式会社 | Communication apparatus, control method of the same, and program |
-
2003
- 2003-09-11 JP JP2003320333A patent/JP2005094053A/en active Pending
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006311137A (en) * | 2005-04-27 | 2006-11-09 | Canon Inc | Radio communication apparatus and method for setting communication parameter therefor |
JP4689339B2 (en) * | 2005-04-27 | 2011-05-25 | キヤノン株式会社 | COMMUNICATION DEVICE AND COMMUNICATION PARAMETER SETTING METHOD |
JP2007019977A (en) * | 2005-07-08 | 2007-01-25 | Sony Corp | Audiovisual apparatus |
JP4529825B2 (en) * | 2005-07-08 | 2010-08-25 | ソニー株式会社 | AV equipment |
US8942133B2 (en) | 2005-10-05 | 2015-01-27 | Qualcomm Incorporated | Peer-to-peer communication in ad hoc wireless network |
JP2011147147A (en) * | 2005-10-05 | 2011-07-28 | Qualcomm Inc | Peer-to-peer communication in ad hoc wireless communication network |
US8576846B2 (en) | 2005-10-05 | 2013-11-05 | Qualcomm Incorporated | Peer-to-peer communication in ad hoc wireless network |
US8942130B2 (en) | 2005-10-05 | 2015-01-27 | Qualcomm Incorporated | Peer-to-peer communication in ad hoc wireless network |
JP2007288487A (en) * | 2006-04-17 | 2007-11-01 | Necディスプレイソリューションズ株式会社 | Network projector and its control method |
JP2008131367A (en) * | 2006-11-21 | 2008-06-05 | Canon Inc | Communication apparatus, communication method, and computer program for making computer execute the communication method |
JP2009267578A (en) * | 2008-04-23 | 2009-11-12 | Panasonic Corp | Network projector system |
US9124604B2 (en) | 2010-03-17 | 2015-09-01 | Nintendo Co., Ltd. | Communication apparatus, computer-readable storage medium having stored therein communication control program, communication control method, and communication system |
JP2015126450A (en) * | 2013-12-26 | 2015-07-06 | アルパイン株式会社 | Electronic device and radio apparatus confirmation method |
US9693215B2 (en) | 2013-12-26 | 2017-06-27 | Alpine Electronics, Inc. | Electronic apparatus and wireless device checking method |
JP2015170922A (en) * | 2014-03-05 | 2015-09-28 | キヤノン株式会社 | Communication apparatus, control method of the same, and program |
JP2014140219A (en) * | 2014-03-07 | 2014-07-31 | Nintendo Co Ltd | Communication apparatus, communication control program, communication control method, and communication system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180324139A1 (en) | Communication apparatus and communication method therefor | |
US11102702B2 (en) | Method for establishing network clusters between networked devices | |
JP2005354249A (en) | Network communication terminal | |
JP2008518555A (en) | Apparatus and method for service search in ad hoc network using beacon signal | |
JP2004336716A (en) | Path mtu discovery system and method for ad-hoc network | |
JP6118122B2 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM | |
JP6271843B2 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM | |
JP6128844B2 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM | |
JP2006238341A (en) | Network switch apparatus and method, wireless access apparatus, and wireless network | |
JP5820106B2 (en) | Communication apparatus and control method thereof | |
JP2017038235A (en) | Communication device and control method of the same, program, and recording medium | |
US20180241826A1 (en) | Communication apparatus, control method therefor, and storage medium | |
JP2004104774A (en) | Radio communication system | |
JP2005094053A (en) | Network communication apparatus | |
US7995571B2 (en) | System for providing tunnel service capable of data communication between different types of networks | |
JP5445542B2 (en) | Access points and programs | |
JP4882774B2 (en) | Access points and programs | |
JP7143071B2 (en) | Communication device, communication system, communication method, and program | |
JP6271840B2 (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM | |
JP2005136591A (en) | Method and program of setting communication environment | |
JP2005150794A (en) | Computer apparatus and computer program | |
EP3340687B1 (en) | Method for connecting communication device, and communication device | |
JP2007505588A (en) | UPNP terminal for ad hoc wireless network | |
JP3793193B2 (en) | Mobile terminal and mobile terminal control method | |
JP6393359B2 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM |