JP2005150794A - Computer apparatus and computer program - Google Patents
Computer apparatus and computer program Download PDFInfo
- Publication number
- JP2005150794A JP2005150794A JP2003380910A JP2003380910A JP2005150794A JP 2005150794 A JP2005150794 A JP 2005150794A JP 2003380910 A JP2003380910 A JP 2003380910A JP 2003380910 A JP2003380910 A JP 2003380910A JP 2005150794 A JP2005150794 A JP 2005150794A
- Authority
- JP
- Japan
- Prior art keywords
- wireless
- unit
- setting information
- setting
- computer
- 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 computer apparatus and a computer program used in a network such as a LAN.
近年、LANを用いたネットワークシステムの構築が一般的になってきている。 In recent years, construction of network systems using LANs has become common.
通常、LANに端末装置を接続するためには、IPアドレス等の設定が必要であるが、その設定には専門的な知識を必要とするため、利用者が容易に設定することは困難な場合が多い。そのため、IPプロトコルには、端末装置をネットワークに接続するだけでIPアドレスを設定し一括管理を行う方法を取ることができるDHCP(Dynamic Host Configuration Protocol)という機能がある。このDHCPには、BOOTPと同様に端末装置に永続的に自動割り当てるモード、限定された期間だけ又は端末装置が開放するまでIPアドレスを割り当てるモード等がある。例えば、複数の端末装置とルータ装置によりプライベートネットワークを構成する場合、ルータ装置をDHCPサーバとして、複数の端末装置をそれぞれDHCPクライアントとして構成することにより、ルータ装置に端末装置を接続する際に端末装置からDHCP発見パケットを送信することによりIPアドレス、サブネットマスク及びDNSサーバのアドレスなどをルータ装置から設定することができる。(例えば、特許文献1参照)。
しかしながら、端末装置が無線アクセスポイントを通じてネットワークに接続する場合(たとえば、IEEE802.11bの規格方式)、まず無線アクセスポイントと無線通信できるように設定を行う必要がある。もしこの無線に関する設定をしなければ、無線アクセスポイントに接続できず、ネットワークにアクセスできない。 However, when a terminal device is connected to a network through a wireless access point (for example, an IEEE 802.11b standard method), it is necessary to first make settings so that wireless communication can be performed with the wireless access point. If this wireless setting is not made, the wireless access point cannot be connected and the network cannot be accessed.
従って、まず無線端末装置の利用者が、無線ルータ装置などの無線アクセスポイントに設定されたSSIDや暗号化の設定内容を調べ、無線端末装置にその設定内容と同一のSSIDや暗号化を設定する必要があるが、ネットワークに関しての専門的な知識を必要とするため、利用者が容易に設定することは困難な場合が多い。 Therefore, first, the user of the wireless terminal device checks the SSID and encryption setting content set in the wireless access point such as the wireless router device, and sets the same SSID and encryption as the setting content in the wireless terminal device. Although it is necessary, it requires specialized knowledge about the network, so it is often difficult for the user to set it easily.
本発明は、上記従来の課題に鑑み、SSID、暗号化等の無線部の設定やこれらを含めたネットワーク設定を容易に行うことができるコンピュータ装置及びコンピュータプログラムを提供することを目的とする。 An object of the present invention is to provide a computer apparatus and a computer program that can easily perform setting of a wireless unit such as SSID and encryption and network setting including these, in view of the above-described conventional problems.
本発明は、無線アクセスポイントとの通信を行うためのパラメータ設定を行うためのコンピュータプログラムであって、コンピュータを、無線アクセスポイントに対し、パラメータ設定を行うための設定情報を送信するように要求する設定情報要求手段と、無線アクセスポイントから送信される設定情報を受信する設定情報受信手段と、コンピュータに無線部が存在するかどうかを判別する無線部判別手段と、無線部判別手段により無線部が存在すると判別されると、設定情報受信手段で受信した設定情報を無線部に設定する設定手段として機能させることを主要な特徴とする。 The present invention is a computer program for setting parameters for performing communication with a wireless access point, and requests the computer to transmit setting information for setting parameters to the wireless access point. Setting information requesting means; setting information receiving means for receiving setting information transmitted from a wireless access point; wireless part determining means for determining whether or not a wireless part exists in a computer; If it is determined that it exists, the main feature is that it functions as setting means for setting the setting information received by the setting information receiving means in the radio unit.
本発明のコンピュータプログラムは、無線部が存在する場合に、受信した設定情報を無線部に設定することができるから、無線通信のためのパラメータを容易に設定することができるという利点がある。 The computer program of the present invention has an advantage that the parameters for wireless communication can be easily set since the received setting information can be set in the wireless portion when the wireless portion is present.
上記課題を解決するためになされた第1の発明は無線アクセスポイントとの通信を行うためのパラメータ設定を行うためのコンピュータプログラムであって、コンピュータを、無線アクセスポイントに対し、パラメータ設定を行うための設定情報を送信するように要求する設定情報要求手段と、無線アクセスポイントから送信される設定情報を受信する設定情報受信手段と、コンピュータに無線部が存在するかどうかを判別する無線部判別手段と、無線部判別手段により無線部が存在すると判別されると、設定情報受信手段で受信した設定情報を無線部に設定する設定手段として機能させることとしたものであり、無線部が存在する場合に、受信した設定情報を無線部に設定することができるから、無線通信のためのパラメータを容易に設定することができるという作用を有するものである。 A first invention made to solve the above-described problem is a computer program for setting parameters for communication with a wireless access point, in order to set the parameters for the wireless access point. Setting information requesting means for requesting to transmit the setting information, setting information receiving means for receiving setting information transmitted from the wireless access point, and wireless unit determining means for determining whether or not a wireless unit exists in the computer When the wireless unit determining unit determines that the wireless unit is present, the setting information received by the setting information receiving unit is caused to function as a setting unit that sets the wireless unit. In addition, since the received setting information can be set in the wireless unit, parameters for wireless communication can be set easily. It is expected to have an effect that it is Rukoto.
上記課題を解決するためになされた第2の発明は、第1の発明のコンピュータプログラムにおいて、設定手段は、無線部判別手段により無線部が存在しないと判別すると、設定情報受信手段で受信した設定情報を第1の記憶手段に記憶することとしたものであり、無線部が存在しない場合であっても、受信した設定情報を記憶手段に記憶しておくことができるから、無線部がコンピュータに接続された場合に、改めて設定情報の要求を行う必要がないという作用を有するものである。 According to a second invention for solving the above problem, in the computer program according to the first invention, the setting means receives the setting received by the setting information receiving means when the wireless section determining means determines that the wireless section does not exist. The information is stored in the first storage means, and the received setting information can be stored in the storage means even when the wireless section does not exist. When connected, there is an effect that it is not necessary to request the setting information again.
上記課題を解決するためになされた第3の発明は、第2の発明のコンピュータプログラムにおいて、設定手段は、設定情報を第1の記憶手段に記憶した後、無線部判別手段で無線部が追加されたと判別すると、設定情報を第1の記憶手段から取出し、無線部に設定することとしたものであり、無線部が存在しない場合であっても、受信した設定情報を記憶手段に記憶しておくことができるから、無線部がコンピュータに接続された場合に、あらためて設定情報の要求及び受信の処理を行う必要がないという作用を有するものである。 According to a third invention for solving the above-described problem, in the computer program according to the second invention, the setting means stores the setting information in the first storage means, and then the wireless section is added by the wireless section determination means. If it is determined that the setting information has been deleted, the setting information is taken out from the first storage unit and set in the wireless unit. Even when the wireless unit does not exist, the received setting information is stored in the storage unit. Therefore, when the wireless unit is connected to the computer, there is an effect that it is not necessary to perform a request for setting information and a process for receiving the setting information again.
上記課題を解決するためになされた第4の発明は、第1から第3のいずれかの発明のコンピュータプログラムにおいて、無線部判別手段は、無線部が存在する場合であっても、設定情報受信手段で受信した設定情報に含まれる無線方式に無線部が対応していないと判定すると、無線部が存在しないと判別することとしたものであり、無線部が存在する場合であっても、その無線部の無線方式が無線アクセスポイントと異なれば、無線部への設定を行わないため、無線部の誤動作を防止することができるという作用を有するものである。 According to a fourth aspect of the present invention for solving the above problems, in the computer program according to any one of the first to third aspects, the wireless unit determination means receives the setting information even when the wireless unit is present. If it is determined that the wireless unit does not correspond to the wireless method included in the setting information received by the means, it is determined that the wireless unit does not exist. Even if the wireless unit is present, If the wireless method of the wireless unit is different from the wireless access point, setting to the wireless unit is not performed, so that malfunction of the wireless unit can be prevented.
上記課題を解決するためになされた第5の発明は、第1から第4のいずれかの発明のコンピュータプログラムにおいて、設定情報要求手段及び設定情報受信手段は、有線LANインターフェイスを介して無線アクセスポイントと要求又は情報の送受信を行うこととしたものであり、設定情報の送受信を無線ではなく、有線で行うため、盗聴などの問題を防止することができるという作用を有するものである。 A fifth invention for solving the above-mentioned problems is the computer program according to any one of the first to fourth inventions, wherein the setting information requesting means and the setting information receiving means are wireless access points via a wired LAN interface. Request or information is transmitted / received, and since setting information is transmitted / received not by radio but by wire, it has an effect of preventing problems such as eavesdropping.
上記課題を解決するためになされた第6の発明は、第1から第5のいずれかの発明のコンピュータプログラムにおいて、設定情報は、ネットワーク設定情報を含むこととしたものであり、これにより無線設定のみならずネットワーク設定までも容易に行うことが可能となる。 A sixth invention made to solve the above problem is that, in the computer program according to any one of the first to fifth inventions, the setting information includes network setting information, whereby wireless setting is performed. Not only can network settings be made easily.
上記課題を解決するためになされた第7の発明は、第1から第5のいずれかの発明のコンピュータプログラムにおいて、設定情報要求手段は、入力手段の情報に基き、無線設定
情報又はさらにネットワーク設定情報を含む設定情報のいずれか一つの設定情報を無線アクセスポイントに要求することとしたものであり、必要な設定情報のみを要求することができ、処理が容易になるという作用を有する。
A seventh invention made to solve the above-described problems is the computer program according to any one of the first to fifth inventions, wherein the setting information requesting means is wireless setting information or further network setting based on information of the input means. The wireless access point is requested to request any one of the setting information including the information, and only the necessary setting information can be requested, and the processing is facilitated.
上記課題を解決するためになされた第8の発明は、請求項1から7のいずれかに記載のコンピュータプログラムを有するコンピュータ装置であり、無線部が存在する場合に、受信した設定情報を無線部に設定することができるから、無線通信のためのパラメータを容易に設定することができるという作用を有するものである。
An eighth invention made to solve the above-mentioned problem is a computer apparatus having the computer program according to any one of
(実施の形態1)
以下、本発明の実施の形態について、各図に基づいて説明する。
(Embodiment 1)
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の実施の形態1におけるネットワークシステムの構成図を示したものである。
FIG. 1 is a configuration diagram of a network system according to
図1において、10はインターネットNなどの広域ネットワークに接続されるルータ装置(本発明の無線アクセスポイント)である。このルータ装置10は、ローカルネットワークに接続された端末から送られてくる通信パケットをルーティングする機能や無線アクセスポイントとしての機能を有する。また、無線LAN規格(IEEE802.11bなど)に対応したインターフェイス及び有線LAN規格(IEEE802.3)に対応したインターフェイスを有している。
In FIG. 1,
20は、有線LAN規格に対応し、TCP/IPプロトコルなどにより中継装置10との間で通信可能なコンピュータ装置であり、無線LAN規格に対応した無線LANカードユニット30を接続可能である。また、ルータ装置10を介してインターネットN側の装置やLAN端末40通信を行うことができる。
40は、有線LAN規格に対応し、有線ケーブルを介してルータ装置10を介して他の装置と通信可能なLAN端末である。
50は、コンピュータ装置20やLAN端末40からの要求に従いウェブページなどを返送するウェブサーバである。
図2は本発明の実施の形態1におけるルータ装置10の内部構成図を示すものである。
FIG. 2 shows an internal configuration diagram of the
図2において、11a〜11dはプライベートネットワークを構成する端末装置(LAN端末40やコンピュータ装置20など)との通信を行うためのLAN I/Fであり、IEEE802.3(CSMA/CD)等のLAN規格に適合し、100BASE−Tなどの有線ケーブルを接続可能なインターフェイス、12はインターネットなどの外部ネットワークとの通信を行うためのWAN I/Fであり、LAN規格に適合し、100BASE−Tなどのケーブルを接続可能なインターフェイスである。なお、WAN I/F12は、LAN規格に適合するもの以外のADSLやISDNに通信可能なインターフェイスであってもよい。また、ルータ装置10は、WAN I/F12で受信されたパケットを、ポートフォワード機能等により有線LANインターフェイス11に接続された端末装置に転送したり、逆に端末装置から送信されるパケットを、NAT機能によりIPアドレスを変換して外部ネットワークに転送したりすることができる。また、有線LANインターフェイス11に接続された端末装置はプライベートネットワークを構成し、ローカルIPアドレスを用いて各端末装置間で通信が可能である。
In FIG. 2,
13はプライベートネットワークを構成する端末装置との通信を行うための無線回路を
有し、IEEE802.11b等の無線LAN規格に適合し、端末装置(コンピュータ装置20など)と無線で通信を行う無線手段である。なお、この無線手段13は、コンピュータ装置20などの無線クライアントとの間で、無線アクセスポイントとしての機能を有する。
13 includes a wireless circuit for performing communication with a terminal device constituting a private network, conforming to a wireless LAN standard such as IEEE802.11b, and wireless means for wirelessly communicating with a terminal device (
14は制御プログラムや各種設定情報を記憶する記憶手段であり、ポートフォワードのためのポートフォワーディングテーブルや、各端末装置のネットワーク設定情報や無線設定パラメータ情報(以下、ネットワーク設定情報及び無線設定パラメータ情報をあわせて「設定情報」と総称する)などを記憶する。
15はLCDやLEDなどの表示手段、16は無線装置全体を制御する制御手段である。
図3は本発明の実施の形態1におけるコンピュータ装置20の構成図を示す。
FIG. 3 shows a configuration diagram of the
図3において、21はルータ装置10やLAN端末40と有線通信を行うための有線LANインターフェイスであり、IEEE802.3(CSMA/CD)等のLAN規格に適合し、100BASE−Tなどのケーブルを接続可能なインターフェイス、22はPCMCIAバスやUSBバスに接続可能なI/F部である。23は文字や画像などを表示する表示部であり、24はプライベートネットワークを構成するルータ装置10と無線LAN規格(IEEE802.11bなど)に従って無線通信を行うための無線LANカードであり、I/F部22を介してコンピュータ装置20に接続される。
In FIG. 3,
24aは、I/F部22を介してコンピュータに接続される無線LANカードインターフェイス部であり、PCMCIAバスやUSBバスなどから構成される。24bは無線LAN規格(IEEE802.11bなど)に従って無線信号の送受信を行う無線回路、24cは無線回路24bに接続され、無線信号の送受信を行うためのアンテナ(空中線)、24dは、無線LANカード24を制御するためのプログラムのほか、無線通信のために必要な各種パラメータの設定情報(無線設定パラメータ情報)を記憶可能な記憶手段、24eは無線LANカード24全体を制御するための制御手段である。
25は、無線設定パラメータ情報、無線設定プログラム、無線カードドライバプログラムなどを記憶する記憶部である。
A
25aは無線設定パラメータ情報を記憶することができる第1設定記憶部であり、コンピュータ装置20に接続されている無線LANカードやコンピュータ装置内蔵の無線部(以下、「無線部」と称す)が予め決められたメーカー名及び製品名(以下、「所定の無線部」と称す)でない場合に、ルータ装置10から送信される無線設定パラメータ情報を一時的に記憶するために使用される。なお、本発明の実施の形態1では、説明の都合上、無線LANカード24を所定の無線部であるとし、それ以外の無線LANカードや図4のようにコンピュータ装置20に内蔵された無線部は、予め決められたメーカー名及び製品名のものでないとする。
また、25bは無線設定パラメータ情報を記憶することができる第2設定記憶部であり、無線LANカード24が存在しない場合に、ルータ装置10から送信される無線設定パラメータ情報を一時的に記憶するために使用される。
25cは、無線設定プログラムであり、後述の制御手段27により記憶部25から読み出され、コンピュータ装置20を、後述の設定情報要求手段27a、設定情報受信手段27b、無線部判別手段27c及び情報設定手段27dとして機能させるコンピュータプロ
グラムである。
25dは、無線LANカードドライバプログラムであり、後述の制御手段27により記憶部25から読み出され、制御手段27(情報設定手段27dを含む)と無線LANカード24の制御手段24eとの情報のやり取りを行う送受信手段として機能する。
26は、キーボードやマウスなどの入力部である。
27は、コンピュータ装置20全体を制御する制御手段である。
27aは、設定情報要求手段であり、無線アクセスポイントとしてのルータ装置10と無線通信を行うための無線設定パラメータ情報やネットワーク設定情報を、送信するように要求するデータを含む通信パケットを有線LANインターフェイス部21を介して、UDPプロトコルによりブロードキャストする機能を有する。
27bは、設定情報受信手段であり、ルータ装置10からUDPプロトコルによりブロードキャストされる無線設定パラメータ情報やネットワーク設定情報を有線LANインターフェイス部21を介して、受信する機能を有する。なお、無線機能を持つルータとコンピュータの間で共通のマルチキャストアドレスを定義し、両者が送受信できるようにすればブロードキャストの代わりにマルチキャスト送信しても良い。また無線機能を持つルータは無線部と有線部をブリッジする無線アクセスポイントでも同様である。
A setting
27cは、無線部判別手段であり、コンピュータに無線部が存在するかどうかを判別する機能を有する。例えば、無線LANカード24がI/F部22に接続されているかどうかの判別を、I/F部22から存在確認の信号を送信し、その応答があるかどうかにより行う。なお、制御手段27により無線LANカード24がI/F部22に接続されているかどうか検出し、制御手段27により記憶部25に記憶している接続カード情報を参照して、無線LANカード24がI/F部22に接続されているかどうか判別するようにしてもよい。
27dは、情報設定手段であり、無線部判別手段27cにより無線部が存在すると判別されると、設定情報受信手段27bで受信した無線パラメータ情報の設定を行う機能を有する。この設定は、無線部が所定の無線部であれば、無線部の記憶部に設定し、所定の無線部でなければ、無線部の無線方式を判別後、受信した無線設定パラメータ情報のうち、無線方式に対応した無線パラメータ情報のみを第1設定記憶部25aに記憶する。なお、無線部の記憶部への設定は、例えば、無線部が無線LANカード24の場合、送受信手段として機能する無線カードドライバプログラムを通じて、記憶部24dに記憶することにより行う。
An
図4は、本発明の実施の形態1における無線LAN部を内蔵したコンピュータ装置20の構成図を示す。図3のコンピュータ装置との相違点は、無線LAN部が内蔵されているのかいなかの違いのみである。
FIG. 4 shows a configuration diagram of the
すなわち、図3の無線LANカード24及びI/F部22の構成が、無線部28及びアンテナ29に置き換わっただけであるため、説明を省略する。
That is, since the configuration of the
図5は、本発明の実施の形態1におけるルータ装置から送信される設定情報のUDPパケット構成図である。 FIG. 5 is a UDP packet configuration diagram of the setting information transmitted from the router device in the first embodiment of the present invention.
UDPパケットは、UDPヘッダ部とデータ部から構成される。データ部には、無線設
定パラメータ情報(a)とネットワーク設定情報(b)が含まれているが、コンピュータ装置20からの要求が無線設定パラメータ情報のみである場合には、ネットワーク設定情報(b)がデータ部に含まれない場合がある。以下データ部の詳細について説明する。
The UDP packet is composed of a UDP header part and a data part. The data portion includes wireless setting parameter information (a) and network setting information (b). When the request from the
メーカー識別コードとは製品のメーカーを示す情報であり、製品識別コードとは製品ごとに固有割当てられる情報であり、製品品番の他シリアル番号も含む。通信方式とは、無線方式の情報であり、無線設定パラメータ情報がIEEE802.11a、b、gのいずれの情報であるかを示す。なお、この情報は、IEEE802.11aだけの場合やIEEE802.11a、b、gのすべての場合である等の情報である。 The manufacturer identification code is information indicating the manufacturer of the product, and the product identification code is information uniquely assigned to each product, and includes the serial number in addition to the product part number. The communication method is information on a wireless method, and indicates whether the wireless setting parameter information is IEEE 802.11a, b, or g. This information is information such as the case of only IEEE 802.11a or the case of all of IEEE 802.11a, b, and g.
SSIDとは、IEEE802.11無線LAN規格に定められた仕様の一つで、コンピュータ装置20などの無線LAN端末装置(子機)にルータ装置10などの無線アクセスポイント(親機)の存在を認識させるものである。なお、無線LAN端末装置と無線アクセスポイントのSSIDが一致しないと通信できない。
SSID is one of the specifications stipulated in the IEEE 802.11 wireless LAN standard, and recognizes the existence of a wireless access point (parent device) such as the
認証方式とは、アクセスポイントとの接続プロトコルにおいて最初の接続開始時にパスワードを使用するかどうかの別を示すものである。暗号化の方式とは、アクセスポイントの接続が確立した後に実際の通信データを無線系で送信する際に行うデータ暗号化の方式を示し、WEP(RC4)方式やTKIP、AESなどが利用できる。WEP方式を利用する場合、最大4つの鍵(暗号鍵=複合鍵)を登録することができ、暗号化する側および複合する側の双方で、4つの鍵の値と鍵番号が一致する必要があり、この鍵番号のことをここではWEPキー番号と呼ぶ。WPA(Wi−Fi Protected Access)とはWi−Fiアライアンスで規定されたWi−Fi規格のセキュリティをより強度にしたものである。WPA認証方式とはWPAで使用されるユーザ認証方式を定義したものであり、例として、認証無/PSK(Pre Shared Key:共通鍵)/EAP−TLSなどをあげている。 The authentication method indicates whether or not a password is used at the start of the first connection in the connection protocol with the access point. The encryption method refers to a data encryption method performed when actual communication data is transmitted by wireless after connection of an access point is established, and WEP (RC4) method, TKIP, AES, or the like can be used. When the WEP method is used, a maximum of four keys (encryption key = composite key) can be registered, and the value of the four keys and the key number must match on both the encryption side and the composite side. Yes, this key number is referred to herein as the WEP key number. WPA (Wi-Fi Protected Access) is the security of the Wi-Fi standard defined by the Wi-Fi Alliance. The WPA authentication method defines a user authentication method used in WPA. As an example, there is no authentication / PSK (Pre Shared Key) / EAP-TLS.
また、(b)のネットワーク設定部は、いわゆるDHCP(dynamic host
configuration control)サーバがDHCPクライアント(本発明の実施の形態では、コンピュータ装置20に相当)に割当てるパラメータと同様のものであり、ネットワークのサブネットマスク、クライアントのIPアドレス等の各種パラメータがある。例えばIPアドレスは、コンピュータ装置20からネットワーク設定情報の要求があるとルータ装置10が割当て可能なIPアドレス等を判定して、これをネットワーク設定部のデータとする。
The network setting unit (b) is a so-called DHCP (dynamic host).
The configuration control server is similar to the parameters assigned to the DHCP client (corresponding to the
図6は、本発明の実施の形態1におけるルータ装置のネットワーク設定情報テーブルを示す図であり、ルータ装置10がネットワーク設定情報の割り当てを行った端末装置のMACアドレス、IPアドレス、サブネットマスクが記憶されている。なお、このネットワーク設定情報テーブルは記憶手段14に記憶されている。
FIG. 6 is a diagram showing a network setting information table of the router device according to the first embodiment of the present invention, in which the MAC address, IP address, and subnet mask of the terminal device to which the
図7は、本発明の実施の形態1におけるコンピュータ装置の動作シーケンスを示す図である。図7を用いて、コンピュータ装置20の動作を簡単に説明する。
FIG. 7 is a diagram showing an operation sequence of the computer apparatus according to
コンピュータ装置20は、有線LANインターフェイス部21を介して、有線ケーブルによりルータ装置10の有線LANインターフェイス部11と接続されている。この状態において、コンピュータ装置20は、有線LANインターフェイス部21を介して、無線パラメータ情報要求をUDPパケットとしてブロードキャストする(S1)。ルータ装置10は、ブロードキャストされる無線パラメータ情報要求を受信すると、記憶部に記憶している無線設定パラメータ情報を有線LANインターフェイス部11を介して、UDPパケット(図6参照)としてブロードキャストする(S2)。コンピュータ装置20は、ブ
ロードキャストされる無線設定パラメータ情報を受信すると、受信した無線パラメータ情報に基き、コンピュータ装置20の無線部(無線LANカード24や無線部28)の無線パラメータを設定する。そして、その応答として無線部に設定した無線設定パラメータ情報をルータ装置10に送信する(S3)。
The
このようにしてコンピュータ装置20の無線部の無線パラメータが設定された後、コンピュータ装置20の有線LANインターフェイス部21の有線ケーブルが取り除かれると、コンピュータ装置20は、ルータ装置10と無線部により無線通信での接続を行う。例えば、コンピュータ装置20からウェブサーバ50へアクセスすると、そのアクセス要求がコンピュータ装置20の無線部を介して、ルータ装置10の無線手段13に送られ、さらにルータ装置10のWAN I/F12を介して、ウェブサーバ50へ送られる(S4)。ウェブサーバは、アクセス要求を受信すると、ポータルサイトのウェブページをコンピュータ装置20へ送信し、そのウェブページがルータ装置10の無線手段13を介して、コンピュータ装置20の無線部に送られ、そしてコンピュータ装置20の制御手段27の動作により表示部23にウェブページが表示される(S5)。
After the wireless parameters of the wireless unit of the
以下、本発明の実施の形態1におけるルータ装置及びコンピュータ装置の動作につき、図9及び図10のフローチャートを用いて説明する。なお、ルータ装置及びコンピュータ装置は、図8ようにルータ装置10の有線LANインターフェイス部11とコンピュータ装置の有線LANインターフェイス部21とが有線LANケーブルで接続されている状態にあるとする。
Hereinafter, operations of the router device and the computer device according to the first embodiment of the present invention will be described with reference to the flowcharts of FIGS. 9 and 10. It is assumed that the router device and the computer device are in a state where the wired
図9は、本発明の実施の形態1におけるルータ装置の動作フローチャートを示す図であり、図10は本発明の実施の形態1におけるコンピュータ装置の動作フローチャートを示す図である。 FIG. 9 is a diagram showing an operation flowchart of the router device according to the first embodiment of the present invention, and FIG. 10 is a diagram showing an operation flowchart of the computer device according to the first embodiment of the present invention.
まず、ルータ装置のパラメータ設定動作について、図9のフローチャートに基いて説明する。 First, the parameter setting operation of the router device will be described with reference to the flowchart of FIG.
ルータ装置10の制御手段16は、動作を開始すると、設定情報送信の要求が有線LANインターフェイス部11を介して、ブロードキャスト送信されているかどうかを判定する(S11)。設定情報送信の要求がブロードキャストされたと判定すると、制御手段16は、その設定情報送信の要求が、無線設定パラメータ情報のみの要求であるか、無線設定パラメータ情報に加えてネットワーク設定情報の要求であるかを判定する。判定の結果、無線設定パラメータ情報のみの要求であると判定した場合には、図5のデータ部のうち(a)の部分に関する情報を記憶手段14から取出して送信用の設定情報とする。一方、無線設定パラメータ情報に加えてネットワーク設定情報の要求であると判定した場合には、図6のネットワーク設定情報テーブルから判定して、ルータ装置10が割当て可能なIPアドレスを選択し、その他の情報は記憶手段14から取出して送信用の設定情報(図5(a)(b)の部分)とする。なお、IPアドレスの生成は、他の端末機器が使用していない割当て可能なIPアドレスを制御手段16が図6のネットワーク設定情報テーブルを参照することにより行う。また、IPアドレスを割当てた後は、そのIPアドレスと割当てた端末装置のMACアドレスを関連付けて図6のネットワーク設定情報テーブルに記憶する。
When starting the operation, the control means 16 of the
その後、制御手段16は、送信用の設定情報を有線LANインターフェイス部11からUDPプロトコルにより、ユニキャスト送信若しくはネットワークへブロードキャスト送信する(S12)。その後、制御手段16は、S12の送信に対する応答がルータ装置10へユニキャスト送信若しくはブロードキャスト送信されてきたと判定する(S13)と、S12で送信した設定情報とS13で送信されてきた設定情報が同一のものであるかを
判定し(S14)、一致しないと判定した場合にはエラー処理を行って表示手段にエラーである旨を通知する(S15)。一方、一致すると判定して場合には、表示手段15に自動設定が成功した旨を表示(S16)し、自動設定を終了する。
Thereafter, the control means 16 transmits the setting information for transmission from the wired
なお、ルータ装置10の動作としては、S11及びS12のみの動作だけで、S13〜S16の動作をしないようにしてもよく、このようにすれば、ルータ装置10の処理負担を軽減することが可能となる。
As the operation of the
次に、コンピュータ装置の無線パラメータの設定動作について、図10のフローチャートに基づいて、説明する。 Next, the wireless parameter setting operation of the computer apparatus will be described based on the flowchart of FIG.
コンピュータ装置20の入力部26を操作して、記憶部25に記憶した無線設定プログラム25cの起動を指定する。制御手段27はこの指定があると無線設定プログラム25cに従って動作を開始し、表示部23に無線パラメータ設定のための画面を表示させる。無線パラメータ設定のための画面には、すくなくともGUIによる自動設定開始ボタンが2つ(無線パラメータの自動設定ボタンと、無線及びネットワークパラメータの自動設定開始ボタン)表示されている。制御手段27は、自動設定開始ボタンが押下されるか否かを判断する(S20)。制御手段27は、自動設定開始ボタンの押下がないと判定すると、次に第2設定記憶部25bに設定情報が記憶されているかどうかを判定する(S21)。第2の記憶部に設定情報が記憶されていると判定すると、第2設定記憶部25bに記憶した無線設定パラメータ情報をすでに無線部に書き込んでいるか否かを判定する(S22)。ここで無線部に第2設定記憶部25bに記憶した無線設定パラメータ情報をすでに書き込んでいると、情報設定手段27dが判定すると、S20の動作へ移行する。一方、第2設定記憶部25bに設定情報が記憶されていないと判定すると、情報設定手段27dは、S20の動作へ移行する。
The
S20において、制御手段27は、自動設定開始ボタンが押下されたと判定すると、有線LANインターフェイス部21にローカルネットワークが接続されているか否かを検出する(S23)。なおこの検出は物理層レベルで行われるが、物理層レベル以上での検出としてもよい。
If it is determined in S20 that the automatic setting start button has been pressed, the
次に、制御手段27により有線LANインターフェイス部21にローカルネットワークが接続されていると判断すると、設定情報要求手段27aはルータ装置10との通信を行うためのパラメータ設定情報を送信する要求をデータ部に含むUDP/IPパケットを、有線LANインターフェイス部21を介してブロードキャストする(S24)。ここで、制御手段27は、押下された自動設定開始ボタンの種類に応じて、送信を要求するパラメータ情報をかえる。すなわち、無線パラメータの自動設定ボタンが押下された場合には、無線パラメータに関するものだけの送信を要求し、一方、無線及び有線パラメータの自動設定開始ボタンが押下された場合には、無線設定パラメータ情報の他、IPアドレス、サブネットマスク、DNSアドレスやデフォルトゲートウェイなどのネットワーク設定情報の送信を要求する。
Next, when the
その後、設定情報受信手段27bは、ルータ装置10から有線LANインターフェイス部21にローカルネットワークを介して設定情報がブロードキャストされるのを一定期間待つ(S25〜27)。一定期間の間に、ルータ装置10から送られる設定情報を有線LANインターフェイス部21で受信すると、無線部判別手段27cは、無線部(無線LANハードウェア部)が存在するかどうかを判定する(S28)。例えば、I/F部22に無線LANカード24が接続されている場合には、無線部が存在すると判定する。無線部が存在すると判定した場合若しくはS22で無線部に設定情報の書き込みがされていないと判定した場合には、無線部判別手段27cは、その無線部が所定のものであるかどうか
を判定する(S29)。ここで、所定の無線部かどうかは、無線LANカード24の記憶部24dに記憶されているメーカー及び製品識別コードなどに基いて判定される。
Thereafter, the setting
無線部が所定のものであると判定した場合には、情報設定手段27dは、記憶部25に記憶した無線LANカードドライバプログラム25cを動作させ、ドライバプログラムを介して、S24で受信した設定情報を設定するように無線LANカード24に要求し、無線LANカードインターフェイス部24aを介して、その要求を受けた制御手段24eは通知された設定情報を記憶部24dに記憶する(S30)。一方、無線部が所定の無線部でないと判定した場合には、情報設定手段27dは、無線部の無線通信方式を判別し、S24で受信した設定情報の中から、無線部の無線通信方式に適合する設定情報のみを選択して、第1設定記憶部25aにその設定情報を記憶する。そして、第1設定記憶部25aに設定情報が記憶されると、情報設定手段27dは、OSプログラムに基いて、無線部用のドライバプログラムに設定情報を引き渡し、このドライバプログラムに基いて情報設定手段27dが無線部に設定情報を設定する(S31)。
If it is determined that the wireless unit is a predetermined one, the
一方、S25で無線部判別手段27cが無線部が存在しないと判定した場合、情報設定手段27dは第2設定記憶部25bに設定情報が記憶されているかどうかを判定する(S32)。そして、第2設定記憶部25bに設定情報が記憶されていないと判定した場合には、S24で受信した設定情報を第2設定記憶部に記憶する(S33)。
On the other hand, when the wireless
なお、S22で無線部に設定情報の書き込みがされていないと判定した場合に、表示部23に無線部への書き込みを行うか否かの設定ボタンを表示させ、入力部26から設定ボタンの押下があった場合にのみ、S28からの動作をはじめるようにしてもよい。
If it is determined in S22 that the setting information has not been written to the wireless unit, a setting button indicating whether to write to the wireless unit is displayed on the
以上説明したように本発明の実施例1のコンピュータプログラム及びコンピュータ装置は、ルータ装置などの無線アクセスポイントに対し、無線やネットワークに関するパラメータ設定を行うための設定情報を送信し、無線アクセスポイントから送信される設定情報を受信後、コンピュータに無線部が存在するかどうかを判別し、無線部が存在すると判別されると、設定情報受信手段で受信した設定情報を無線部に設定するから、無線部が存在する場合に、無線通信のためのパラメータを容易に設定することができる。 As described above, the computer program and the computer apparatus according to the first embodiment of the present invention transmit setting information for setting parameters related to radio and network to a wireless access point such as a router apparatus, and transmit the setting information from the wireless access point. After the setting information is received, it is determined whether or not the wireless unit is present in the computer. If it is determined that the wireless unit is present, the setting information received by the setting information receiving unit is set in the wireless unit. Can be easily set parameters for wireless communication.
また、無線部が存在しない場合には、受信した設定情報を第1の記憶手段に記憶するから、無線部が存在しない場合であっても、受信した設定情報を記憶手段に記憶しておくことができ、無線部がコンピュータに接続された場合に、改めて設定情報の要求を行う必要がない。 Further, when the wireless unit is not present, the received setting information is stored in the first storage unit. Therefore, even if the wireless unit is not present, the received setting information is stored in the storage unit. When the wireless unit is connected to the computer, it is not necessary to request the setting information again.
また、設定情報を第1の記憶手段に記憶した後、無線部が追加されると設定情報を第1の記憶手段から取出し、無線部に設定することができるから、無線部がコンピュータに接続された場合に、あらためて設定情報の要求及び受信の処理を行う必要がないという作用を有するものである。 In addition, after the setting information is stored in the first storage unit, if the wireless unit is added, the setting information can be retrieved from the first storage unit and set in the wireless unit, so that the wireless unit is connected to the computer. In this case, there is an effect that it is not necessary to perform a request for setting information and a process for receiving it again.
また、無線部が存在する場合であっても、受信した設定情報に含まれる無線方式に無線部が対応していない場合には、無線パラメータの設定を行わないから、無線部の誤動作を防止することができるという作用を有するものである。 Even if a wireless unit is present, if the wireless unit does not support the wireless method included in the received setting information, the wireless parameter is not set, and thus malfunction of the wireless unit is prevented. It has the effect that it can be.
また、設定情報の要求及び受信は、有線LANインターフェイスを介して行うから、無線パラメータを盗聴されるなどの問題を防止することができるという作用を有するものである。 In addition, since the setting information is requested and received via the wired LAN interface, problems such as wiretapping of wireless parameters can be prevented.
また、設定情報は、ネットワーク設定情報を含めることができるから、ネットワーク設
定までも容易に行うことが可能となる。
In addition, since the setting information can include network setting information, network setting can be easily performed.
また、入力手段の情報に基き、無線設定情報又はさらにネットワーク設定情報を含む設定情報のいずれか必要な設定情報のみを無線アクセスポイントに要求することができ、処理が容易になるという作用を有する。 Further, based on the information of the input means, only the necessary setting information of the wireless setting information or the setting information including the network setting information can be requested from the wireless access point, and the processing is facilitated.
また、設定情報の対象は無線通信のみでなく、同様の設定パラメータを必要とする電灯線通信にも適用することが可能である。無線通信機器の代わりに電灯線通信機器をPCカードスロットやUSBポート、PCIスロット等に接続したコンピュータにおいても同様の作用をもたらす。 The target of the setting information can be applied not only to wireless communication but also to power line communication that requires similar setting parameters. The same effect can be obtained in a computer in which a power line communication device is connected to a PC card slot, USB port, PCI slot or the like instead of a wireless communication device.
LANなどのネットワークにおいて使用されるコンピュータ装置及びそのプログラムに関するものであり、無線部の設定が必要なコンピュータ装置などに適用できる。 The present invention relates to a computer device used in a network such as a LAN and a program thereof, and can be applied to a computer device that requires setting of a wireless unit.
10 ルータ装置
11a〜11d LAN I/F
12 WAN I/F
13 無線手段
14 記憶手段
15 表示手段
16 制御手段
20 コンピュータ装置
21 有線LANインターフェイス
22 I/F部
23 表示部
24 無線LANカード
24a 無線LANカードインターフェイス部
24b 無線回路
24c アンテナ
24d 記憶部
24e 制御手段
25 記憶部
25a 第1設定記憶部
25b 第2設定記憶部
25c 無線設定プログラム
25d 無線LANカードドライバプログラム
26 入力部
27 制御手段
27a 設定情報要求手段
27b 設定情報受信手段
27c 無線部判別手段
27d 情報設定手段
10
12 WAN I / F
DESCRIPTION OF
Claims (8)
コンピュータを、
前記無線アクセスポイントに対し、前記パラメータ設定を行うための設定情報を送信するように要求する設定情報要求手段と、
前記無線アクセスポイントから送信される前記設定情報を受信する設定情報受信手段と、前記コンピュータに無線部が存在するかどうかを判別する無線部判別手段と、
前記無線部判別手段により無線部が存在すると判別されると、前記設定情報受信手段で受信した設定情報を前記無線部に設定する設定手段として機能させることを特徴とするコンピュータプログラム。 A computer program for setting parameters for communicating with a wireless access point,
Computer
Setting information requesting means for requesting the wireless access point to transmit setting information for performing the parameter setting;
Setting information receiving means for receiving the setting information transmitted from the wireless access point; and wireless unit determination means for determining whether a wireless unit exists in the computer;
A computer program that causes the setting information received by the setting information receiving unit to function as a setting unit that sets the wireless unit when the wireless unit determining unit determines that a wireless unit is present.
前記無線部判別手段により無線部が存在しないと判別すると、前記設定情報受信手段で受信した設定情報を第1の記憶手段に記憶することを特徴とする請求項1に記載のコンピュータプログラム。 The setting means includes
2. The computer program according to claim 1, wherein when the wireless unit determining unit determines that no wireless unit exists, the setting information received by the setting information receiving unit is stored in a first storage unit.
前記設定情報を前記第1の記憶手段に記憶した後、前記無線部判別手段で無線部が追加されたと判別すると、前記設定情報を前記第1の記憶手段から取出し、前記無線部に設定することを特徴とする請求項2に記載のコンピュータプログラム。 The setting means includes
After storing the setting information in the first storage unit, if the wireless unit determination unit determines that a wireless unit has been added, the setting information is retrieved from the first storage unit and set in the wireless unit The computer program according to claim 2.
無線部が存在する場合であっても、前記設定情報受信手段で受信した設定情報に含まれる無線方式に前記無線部が対応していないと判定すると、無線部が存在しないと判別することを特徴とする請求項1から3のいずれかに記載のコンピュータプログラム。 The wireless unit discrimination means includes
Even if a wireless unit is present, if it is determined that the wireless unit does not correspond to the wireless method included in the setting information received by the setting information receiving unit, it is determined that the wireless unit does not exist. A computer program according to any one of claims 1 to 3.
入力手段の情報に基き、無線設定情報又はさらにネットワーク設定情報を含む設定情報のいずれか一つの設定情報を前記無線アクセスポイントに要求することを特徴とする請求項1から6のいずれかに記載のコンピュータプログラム。 The setting information request means includes
7. The wireless access point according to claim 1, wherein the wireless access point is requested to receive one of setting information including wireless setting information and further setting information including network setting information based on information of the input means. Computer program.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003380910A JP2005150794A (en) | 2003-11-11 | 2003-11-11 | Computer apparatus and computer program |
US10/824,610 US20040229606A1 (en) | 2003-04-16 | 2004-04-15 | Wireless apparatus, wireless terminal apparatus, wireless system, method of setting wireless system, computer apparatus, and computer program |
PCT/JP2004/005448 WO2004098150A1 (en) | 2003-04-16 | 2004-04-16 | Method for setting up a wireless system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003380910A JP2005150794A (en) | 2003-11-11 | 2003-11-11 | Computer apparatus and computer program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005150794A true JP2005150794A (en) | 2005-06-09 |
Family
ID=34690449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003380910A Pending JP2005150794A (en) | 2003-04-16 | 2003-11-11 | Computer apparatus and computer program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005150794A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007060234A (en) * | 2005-08-24 | 2007-03-08 | Pentax Corp | Wireless communication setting method |
JP2007295574A (en) * | 2006-04-21 | 2007-11-08 | Kofukin Seimitsu Kogyo (Shenzhen) Yugenkoshi | Automatic setting system and method of network parameter |
JP2008035416A (en) * | 2006-07-31 | 2008-02-14 | Canon Inc | Communication apparatus and communication parameter setting method thereof |
JP2009105895A (en) * | 2007-10-22 | 2009-05-14 | Sony Corp | Automatic configuration of wireless device for router |
JP2013198163A (en) * | 2012-03-21 | 2013-09-30 | ▲ホア▼▲ウェイ▼技術有限公司 | Method, device and system for acquiring encrypted information under radio access |
US8560680B2 (en) | 2010-08-31 | 2013-10-15 | Brother Kogyo Kabushiki Kaisha | Assistance device |
WO2016003119A1 (en) * | 2014-06-30 | 2016-01-07 | Samsung Electronics Co., Ltd. | Method of controlling electronic device, electronic device, method of controlling access point and access point |
JP2016167702A (en) * | 2015-03-09 | 2016-09-15 | 東日本電信電話株式会社 | Radio communication device and connection setting method |
US11637745B2 (en) | 2019-09-11 | 2023-04-25 | Hand Held Products, Inc. | Configuring a remote electronic device by a peer electronic device in a networked environment |
-
2003
- 2003-11-11 JP JP2003380910A patent/JP2005150794A/en active Pending
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007060234A (en) * | 2005-08-24 | 2007-03-08 | Pentax Corp | Wireless communication setting method |
JP2007295574A (en) * | 2006-04-21 | 2007-11-08 | Kofukin Seimitsu Kogyo (Shenzhen) Yugenkoshi | Automatic setting system and method of network parameter |
JP2008035416A (en) * | 2006-07-31 | 2008-02-14 | Canon Inc | Communication apparatus and communication parameter setting method thereof |
JP2009105895A (en) * | 2007-10-22 | 2009-05-14 | Sony Corp | Automatic configuration of wireless device for router |
US8560680B2 (en) | 2010-08-31 | 2013-10-15 | Brother Kogyo Kabushiki Kaisha | Assistance device |
US9094850B2 (en) | 2010-08-31 | 2015-07-28 | Brother Kogyo Kabushiki Kaisha | Assistance device |
JP2013198163A (en) * | 2012-03-21 | 2013-09-30 | ▲ホア▼▲ウェイ▼技術有限公司 | Method, device and system for acquiring encrypted information under radio access |
WO2016003119A1 (en) * | 2014-06-30 | 2016-01-07 | Samsung Electronics Co., Ltd. | Method of controlling electronic device, electronic device, method of controlling access point and access point |
US9888381B2 (en) | 2014-06-30 | 2018-02-06 | Samsung Electronics Co., Ltd. | Method of controlling electronic device, electronic device, method of controlling access point and access point |
JP2016167702A (en) * | 2015-03-09 | 2016-09-15 | 東日本電信電話株式会社 | Radio communication device and connection setting method |
US11637745B2 (en) | 2019-09-11 | 2023-04-25 | Hand Held Products, Inc. | Configuring a remote electronic device by a peer electronic device in a networked environment |
US11943102B2 (en) | 2019-09-11 | 2024-03-26 | Hand Held Products, Inc. | Configuring a remote electronic device by a peer electronic device in a networked environment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10505908B2 (en) | System and method for automatic wireless connection between a portable terminal and a digital device | |
JP4260116B2 (en) | Secure virtual private network | |
US8848915B2 (en) | Method for automatic WLAN connection between digital devices and digital device therefor | |
US20040229606A1 (en) | Wireless apparatus, wireless terminal apparatus, wireless system, method of setting wireless system, computer apparatus, and computer program | |
JP2005286883A (en) | Packet relay device and address assignment method thereof | |
EP2165464B1 (en) | Network configuration device | |
US9401901B2 (en) | Self-configuring wireless network | |
JP5348094B2 (en) | Support device and computer program | |
US9143939B2 (en) | Controlling device | |
US9370031B2 (en) | Wireless network setup and configuration distribution system | |
US20070258415A1 (en) | Handshake method for wireless client | |
WO2007045134A1 (en) | A communication system and a communication method | |
JP2005150794A (en) | Computer apparatus and computer program | |
JP2008263445A (en) | Connection setting system, authentication apparatus, wireless terminal and connection setting method | |
JP2008078957A (en) | Wireless communication system, and wireless network connection method | |
JP4495049B2 (en) | Packet communication service system, packet communication service method, edge side gateway device, and center side gateway device | |
US20130107697A1 (en) | Network Connection System of Network Electronic Device and Method to Solve Terminal Device Unable to Reach Electronic Device Caused by Router Not Supporting NAT Loopback | |
JP4376094B2 (en) | Wireless communication device | |
JP2005094053A (en) | Network communication apparatus | |
JP2004320410A (en) | Wireless apparatus, wireless terminal apparatus, and wireless system | |
JP5040949B2 (en) | Communication device, access point and address providing system. | |
JP2008244945A (en) | Wireless connection environment setting system, wireless connection environment setting server, information terminal, and program | |
JP2006020089A (en) | Terminal device, vpn connection control method, and program | |
JP2005311658A (en) | Radio access point and radio system | |
JP2005167609A (en) | Network apparatus, network system, mutual communication method between different kinds of networks, computer program, and recording medium |