JP2002247056A - Ip address acquiring device - Google Patents

Ip address acquiring device

Info

Publication number
JP2002247056A
JP2002247056A JP2001043036A JP2001043036A JP2002247056A JP 2002247056 A JP2002247056 A JP 2002247056A JP 2001043036 A JP2001043036 A JP 2001043036A JP 2001043036 A JP2001043036 A JP 2001043036A JP 2002247056 A JP2002247056 A JP 2002247056A
Authority
JP
Japan
Prior art keywords
address
unit
information
acquisition
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001043036A
Other languages
Japanese (ja)
Inventor
Takashi Uchida
敬 内田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2001043036A priority Critical patent/JP2002247056A/en
Publication of JP2002247056A publication Critical patent/JP2002247056A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To acquire an IP address of a desired device without broadcasting to the unspecified number of devices on a network. SOLUTION: This IP address acquiring device 100 acquires the IP address of a device 170 connected via the network, and is provided with a device driver communication part 2 to perform communication with a device driver 102 by a request from an application requesting part 1 to make an acquisition request of the IP address, a port information acquiring part 3 to acquire port information from received data, an IP address acquiring part 4 to acquire the IP address from the port information, a communication part 5 to perform communication with the device driver communication part 2, a command analyzing part 6 to analyze received command data, a port information data base 8 to hold the port information and a port information acquiring part 7 to acquire the port information from the port information data base 8.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワークに接
続されたデバイスのIPアドレス取得装置に関し、特に
デバイスドライバからのIPアドレスの取得に適用して
有効な技術に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for acquiring an IP address of a device connected to a network, and more particularly to a technique which is effective when applied to the acquisition of an IP address from a device driver.

【0002】[0002]

【従来の技術】コンピュータ装置であるPC(Pers
onal Computer)上からネットワークに接
続されているプリンタ等のデバイスにアクセスする際、
そのデバイスを識別するためには当該デバイス固有の情
報であるIPアドレスが必要不可欠である。
2. Description of the Related Art A computer (PC)
When accessing a device such as a printer connected to the network from the online computer,
In order to identify the device, an IP address, which is information unique to the device, is indispensable.

【0003】従来においては、PC上からブロードキャ
ストしたブロードキャストパケットをデバイスが受信
し、そのデバイスがIPアドレスをブロードキャスト発
信元に返信することによってPCがデバイスのIPアド
レスを取得していた。
Conventionally, a device receives a broadcast packet broadcast from a PC, and the device returns an IP address to a broadcast source, whereby the PC obtains the IP address of the device.

【0004】[0004]

【発明が解決しようとする課題】このような従来の技術
では、PC上からネットワークにブロードキャストを行
ってIPアドレスを取得するために不要なパケットをネ
ットワーク上の不特定多数のデバイスに送信しなければ
ならない。
In such a conventional technique, an unnecessary packet must be transmitted to an unspecified number of devices on a network in order to obtain an IP address by broadcasting from a PC to a network. No.

【0005】また、PC上からネットワークにブロード
キャストを行うと、ブロードキャストパケットを所定時
間にわたって監視しなければならないので、処理速度が
遅くなってしまう。
[0005] Further, when broadcasting is performed from the PC to the network, the broadcast packet must be monitored for a predetermined time, so that the processing speed is reduced.

【0006】そこで、本発明は、ネットワーク上の不特
定多数のデバイスにブロードキャストすることなく所望
のデバイスのIPアドレスを取得することのできるIP
アドレス取得装置を提供することを目的とする。
[0006] Therefore, the present invention provides an IP which can obtain an IP address of a desired device without broadcasting to an unspecified number of devices on a network.
An object of the present invention is to provide an address acquisition device.

【0007】[0007]

【課題を解決するための手段】この課題を解決するため
に、本発明のIPアドレス取得装置は、アプリケーショ
ンおよびデバイスドライバを備えてネットワーク上に接
続され、同じくネットワーク上に接続されたデバイスの
IPアドレスを取得するIPアドレス取得装置であっ
て、アプリケーションは、IPアドレスの取得要求を行
うアプリケーション要求部と、アプリケーション要求部
から要求を受けてデバイスドライバとの通信を行うデバ
イスドライバ通信部と、デバイスドライバ通信部の受信
データからデバイス情報を取得するデバイス情報取得部
と、デバイス情報よりIPアドレスを取得するIPアド
レス取得部とを有し、デバイスドライバは、デバイスド
ライバ通信部との間において通信を行う通信部と、受信
したコマンドデータの解析を行うコマンド解析部と、デ
バイスドライバのインストール時に設定されたデバイス
情報を保有するデバイス情報データベースと、デバイス
情報データベースのデータベースよりデバイス情報を取
得するデバイス情報取得部とを有する構成としたもので
ある。
In order to solve this problem, an IP address obtaining apparatus according to the present invention is connected to a network with an application and a device driver, and is connected to a network. An application requesting unit for requesting acquisition of an IP address, a device driver communication unit for receiving a request from the application requesting unit and communicating with a device driver, and a device driver communication. A communication unit having a device information acquisition unit for acquiring device information from received data of the unit, and an IP address acquisition unit for acquiring an IP address from the device information, wherein the device driver communicates with the device driver communication unit And the received command data The configuration includes a command analysis unit that performs analysis, a device information database that holds device information set when a device driver is installed, and a device information acquisition unit that acquires device information from the database of the device information database. .

【0008】これにより、ネットワーク上の不特定多数
の機器にブロードキャストすることなく所望のデバイス
のIPアドレスを取得することが可能になる。
[0008] This makes it possible to obtain the IP address of a desired device without broadcasting to an unspecified number of devices on the network.

【0009】[0009]

【発明の実施の形態】本発明の請求項1に記載の発明
は、アプリケーションおよびデバイスドライバを備えて
ネットワーク上に接続され、同じくネットワーク上に接
続されたデバイスのIPアドレスを取得するIPアドレ
ス取得装置であって、アプリケーションは、IPアドレ
スの取得要求を行うアプリケーション要求部と、アプリ
ケーション要求部から要求を受けてデバイスドライバと
の通信を行うデバイスドライバ通信部と、デバイスドラ
イバ通信部の受信データからデバイス情報を取得するデ
バイス情報取得部と、デバイス情報よりIPアドレスを
取得するIPアドレス取得部とを有し、デバイスドライ
バは、デバイスドライバ通信部との間において通信を行
う通信部と、受信したコマンドデータの解析を行うコマ
ンド解析部と、デバイスドライバのインストール時に設
定されたデバイス情報を保有するデバイス情報データベ
ースと、デバイス情報データベースのデータベースより
デバイス情報を取得するデバイス情報取得部とを有する
IPアドレス取得装置であり、ネットワーク上の不特定
多数の機器にブロードキャストすることなく所望のデバ
イスのIPアドレスを取得することが可能になるという
作用を有する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An invention according to claim 1 of the present invention is an IP address acquisition apparatus which is connected to a network with an application and a device driver and acquires an IP address of a device also connected to the network. The application includes: an application requesting unit that issues an IP address acquisition request; a device driver communication unit that receives a request from the application requesting unit and communicates with a device driver; and device information that is received from the device driver communication unit. A device information obtaining unit that obtains an IP address from the device information, and a communication unit that performs communication with a device driver communication unit. A command analysis unit that performs analysis, and a device IP address acquisition device having a device information database holding device information set at the time of installation of a driver, and a device information acquisition unit for acquiring device information from the database of the device information database. This has the effect that the IP address of the desired device can be obtained without broadcasting to the device.

【0010】本発明の請求項2に記載の発明は、請求項
1記載の発明において、デバイス情報に含まれる文字列
情報からIPアドレスを取得するIPアドレス取得装置
であり、ネットワーク上の不特定多数の機器にブロード
キャストすることなく所望のデバイスのIPアドレスを
取得することが可能になるという作用を有する。
According to a second aspect of the present invention, in the first aspect of the present invention, there is provided an IP address acquiring apparatus for acquiring an IP address from character string information included in device information, and an unspecified number of devices on a network. It is possible to obtain the IP address of a desired device without broadcasting to another device.

【0011】本発明の請求項3に記載の発明は、アプリ
ケーションおよびデバイスドライバを備えてネットワー
ク上に接続され、ネットワーク上に接続されたサーバコ
ンピュータとローカル接続されたデバイスのIPアドレ
スを取得するIPアドレス取得装置であって、アプリケ
ーションは、IPアドレスの取得要求を行うアプリケー
ション要求部と、アプリケーション要求部から要求を受
けてデバイスドライバとの通信を行うデバイスドライバ
通信部と、デバイスドライバ通信部の受信データからデ
バイス情報を取得するデバイス情報取得部と、デバイス
情報よりIPアドレスを取得するIPアドレス取得部
と、サーバコンピュータの名前を取得するサーバ名取得
部と、サーバ名取得部にて取得されたサーバ名を介して
デバイスのIPアドレスを取得するIPアドレス変換部
とを有し、デバイスドライバは、デバイスドライバ通信
部との間において通信を行う通信部と、受信したコマン
ドデータの解析を行うコマンド解析部と、デバイスドラ
イバのインストール時に設定されたデバイス情報を保有
するデバイス情報データベースと、デバイス情報データ
ベースのデータベースよりデバイス情報を取得するデバ
イス情報取得部とを有するIPアドレス取得装置であ
り、ネットワーク上の不特定多数の機器にブロードキャ
ストすることなく所望のデバイスのIPアドレスを取得
することが可能になるという作用を有する。
According to a third aspect of the present invention, there is provided an IP address which is connected to a network with an application and a device driver, and acquires an IP address of a device locally connected to a server computer connected to the network. An acquisition device, wherein the application is configured to transmit an application request unit that requests acquisition of an IP address, a device driver communication unit that receives a request from the application request unit to communicate with a device driver, and data received from the device driver communication unit. A device information acquisition unit for acquiring device information, an IP address acquisition unit for acquiring an IP address from the device information, a server name acquisition unit for acquiring a name of a server computer, and a server name acquired by the server name acquisition unit. Device IP address via A device driver that communicates with a device driver communication unit, a command analysis unit that analyzes received command data, and a device driver An IP address acquisition device having a device information database that holds set device information and a device information acquisition unit that acquires device information from the database of the device information database, and broadcasts to an unspecified number of devices on a network. It is possible to obtain the IP address of a desired device without any need.

【0012】以下、本発明の実施の形態について図1か
ら図4を用いて説明する。なお、これらの図面において
同一の部材には同一の符号を付しており、また、重複し
た説明は省略されている。
An embodiment of the present invention will be described below with reference to FIGS. In these drawings, the same members are denoted by the same reference numerals, and redundant description is omitted.

【0013】図1は本発明の一実施の形態であるIPア
ドレス取得装置の接続の一形態を示すブロック図、図2
は本発明の一実施の形態であるIPアドレス取得装置の
接続の他の一形態を示すブロック図、図3はネットワー
ク接続されたデバイスのIPアドレス取得処理を示すフ
ローチャート、図4はサーバPCとローカル接続された
デバイスのIPアドレス取得処理を示すフローチャート
である。
FIG. 1 is a block diagram showing one form of connection of an IP address acquisition device according to one embodiment of the present invention.
FIG. 3 is a block diagram showing another embodiment of the connection of the IP address acquisition device according to one embodiment of the present invention. FIG. 3 is a flowchart showing an IP address acquisition process of a device connected to a network. It is a flowchart which shows the IP address acquisition processing of the connected device.

【0014】図1において、IPアドレス取得装置は、
プリンタなどのデバイス170とネットワーク接続され
たホストコンピュータ100からなる。なお、本発明に
おいてデバイス170はプリンタに限定されるものでは
なく、スキャナ、電話、FAX等のようにIPアドレス
を必要とする種々の電子機器が該当する。
In FIG. 1, the IP address acquisition device is:
It comprises a host computer 100 connected to a device 170 such as a printer via a network. In the present invention, the device 170 is not limited to a printer, but includes various electronic devices that require an IP address, such as a scanner, a telephone, and a facsimile.

【0015】ホストコンピュータ100は、相互に接続
されたアプリケーション101およびデバイスドライバ
102から構成されている。
The host computer 100 includes an application 101 and a device driver 102 connected to each other.

【0016】ここで、アプリケーション101は、IP
アドレスの取得要求を行うアプリケーション要求部1
と、アプリケーション要求部1から要求を受けてデバイ
スドライバ102との通信を行うデバイスドライバ通信
部2と、デバイスドライバ通信部2の受信データからポ
ート(デバイス)情報を取得するポート情報取得部(デ
バイス情報取得部)3と、ポート情報よりIPアドレス
を取得するIPアドレス取得部4と、後述するポート情
報取得部7よりサーバPC160(図2)の名前を取得
するサーバ名取得部46と、サーバ名取得部46にて取
得されたサーバ名よりサーバPC160のIPアドレス
を取得し、このIPアドレスからデバイス170のIP
アドレスを取得するIPアドレス変換部47とを有して
いる。
Here, the application 101 has an IP
Application requesting unit 1 for making an address acquisition request
A device driver communication unit 2 that receives a request from the application request unit 1 to communicate with the device driver 102; and a port information acquisition unit (device information) that acquires port (device) information from data received by the device driver communication unit 2. (Acquisition unit) 3, an IP address acquisition unit 4 for acquiring an IP address from port information, a server name acquisition unit 46 for acquiring the name of the server PC 160 (FIG. 2) from a port information acquisition unit 7, which will be described later, and a server name acquisition. The IP address of the server PC 160 is obtained from the server name obtained by the unit 46, and the IP address of the device 170 is obtained from this IP address.
And an IP address converter 47 for acquiring an address.

【0017】また、デバイスドライバ102は、デバイ
スドライバ通信部2との間でコマンドやデータの送受信
を行う通信部5と、受信したコマンドデータの解析を行
うコマンド解析部6と、デバイスドライバ102のイン
ストール時に設定されたIPアドレスやサーバ名等のポ
ート情報を保有するポート情報データベース(デバイス
情報データベース)8と、ポート情報データベース8の
データベースよりポート情報を取得するポート情報取得
部(デバイス情報取得部)7とを有している。
The device driver 102 includes a communication unit 5 for transmitting and receiving commands and data to and from the device driver communication unit 2, a command analysis unit 6 for analyzing received command data, and an installation of the device driver 102. A port information database (device information database) 8 that holds port information such as an IP address and a server name set at the time, and a port information acquisition unit (device information acquisition unit) 7 that acquires port information from the database of the port information database 8. And

【0018】次に、図2においては図1で示すIPアド
レス取得装置であるホストコンピュータ100をクライ
アントPC18としてネットワーク上に配置している。
そして、このネットワーク上には、サーバPC(サーバ
コンピュータ)160およびデバイス170が接続され
ている。
Next, in FIG. 2, the host computer 100, which is the IP address acquisition device shown in FIG. 1, is arranged on the network as the client PC 18.
A server PC (server computer) 160 and a device 170 are connected to this network.

【0019】ここで、サーバPC160は、ネットワー
クとの橋渡しを行うネットワークインターフェース部9
と、クライアントPC18からのコマンドを受信するコ
マンド受信部10と、受信したコマンドをネットワーク
パケットからローカルパケットへと変換するコマンド変
換部11と、コマンド変換部11で変換されたコマンド
に基づいてデバイス170との通信を行うデバイス通信
部12とを有するゲートウェイ装置19を備えている。
Here, the server PC 160 is a network interface unit 9 for bridging with a network.
A command receiving unit 10 for receiving a command from the client PC 18, a command conversion unit 11 for converting the received command from a network packet to a local packet, and a device 170 based on the command converted by the command conversion unit 11. And a gateway device 19 having a device communication unit 12 for performing the communication of.

【0020】また、デバイス170は、サーバPC16
0のデバイス通信部12と通信を行う通信部13と、サ
ーバPC160より受信したコマンドを解析するコマン
ド解釈部14と、設定されたIPアドレスを保有するデ
ータベース16と、データベース16からIPアドレス
を取得するIPアドレス取得部15と、ネットワークデ
バイスとのデータの送受信の橋渡しを行うネットワーク
インターフェース部17とを有している。
The device 170 is connected to the server PC 16
0, a communication unit 13 that communicates with the device communication unit 12, a command interpretation unit 14 that analyzes a command received from the server PC 160, a database 16 that holds a set IP address, and obtains an IP address from the database 16. It has an IP address acquisition unit 15 and a network interface unit 17 that bridges the transmission and reception of data with network devices.

【0021】なお、サーバPC160とデバイス170
とはケーブル20で接続されている。ここで、接続形態
は、たとえばIEEE1284,IEEE1394,U
SB等のようなケーブル20による有線接続や、IrD
A等による無線接続の何れでもよい。
The server PC 160 and the device 170
Are connected by a cable 20. Here, the connection form is, for example, IEEE1284, IEEE1394, U
Wired connection by cable 20 such as SB, IrD
Any of wireless connection by A or the like may be used.

【0022】次に、図1においてデバイス170がプリ
ンタの場合でのIPアドレスの取得処理について図3を
用いて説明する。
Next, the process of acquiring an IP address when the device 170 is a printer in FIG. 1 will be described with reference to FIG.

【0023】図3に示すように、ネットワーク上に接続
されたプリンタ170のデバイスドライバ102をホス
トコンピュータ100にインストールする(ステップ2
1)。これにより、ネットワークのIPアドレス、共有
プリンタの情報、使用するポートの設定を行ってインス
トールが行われ、これらがポート情報として格納される
(ステップ22)。
As shown in FIG. 3, the device driver 102 of the printer 170 connected on the network is installed in the host computer 100 (step 2).
1). Thus, the installation is performed by setting the network IP address, the information of the shared printer, and the port to be used, and these are stored as port information (step 22).

【0024】次に、アプリケーション101よりデバイ
スドライバ102に対してポート情報の取得要求コマン
ドを発行する(ステップ23)。
Next, the application 101 issues a port information acquisition request command to the device driver 102 (step 23).

【0025】デバイスドライバ102において要求コマ
ンドが解釈され、ポート情報要求コマンドかどうかが判
定される(ステップ24)。そして、ステップ24にお
いてポート情報要求コマンドでなかった場合には、他の
コマンドの処理を行う(ステップ25)。
The request command is interpreted by the device driver 102, and it is determined whether the request command is a port information request command (step 24). If the received command is not a port information request command in step 24, another command is processed (step 25).

【0026】一方、ステップ24においてポート情報要
求コマンドである場合には、ポート情報データベース8
よりポート情報の取得を行う(ステップ26)。次に、
このポート情報の使用ポートにIPアドレスの文字列が
含まれているかを判定する(ステップ27)。IPアド
レスの判定の一例としては、最初に数字を発見した場
合、以下3個以内に数字が続き、その次にピリオドが続
き、その後2回以上続けた場合にIPアドレスとの判定
を行う。そして、ステップ27にてIPアドレスと判定
された場合、IPアドレスの文字列を取得する(ステッ
プ28)。
On the other hand, if the command is a port information request command in step 24, the port information database 8
More port information is obtained (step 26). next,
It is determined whether the port used in the port information includes a character string of the IP address (step 27). As an example of the determination of the IP address, when a number is found first, a number follows within three or less, followed by a period, and thereafter, when the number is continued two or more times, the IP address is determined. When it is determined in step 27 that the IP address is the IP address, a character string of the IP address is obtained (step 28).

【0027】これにより、ネットワーク上にブロードキ
ャストして不特定多数に不要なパケットを送信すること
なく、IPアドレスを取得することが可能になる。
This makes it possible to acquire an IP address without transmitting unnecessary packets to an unspecified large number by broadcasting on a network.

【0028】次に、サーバPC160とローカル接続さ
れたデバイス170のIPアドレス取得処理について図
3および図4を用いて説明する。
Next, the process of obtaining the IP address of the device 170 locally connected to the server PC 160 will be described with reference to FIGS.

【0029】図3におけるステップ27の判定でIPア
ドレスと判定されなかった場合には、ポート情報にサー
バ名があるかどうかを判定する(ステップ29)。
If the IP address is not determined in step 27 in FIG. 3, it is determined whether or not the port information includes a server name (step 29).

【0030】ポート情報にサーバ名があった場合には
(ステップ29)、サーバ名の取得を行う(ステップ3
0)。そして、ステップ30にて取得したサーバPC名
からIPアドレスへの変換を行い、サーバPC名のIP
アドレスの取得を行う(ステップ32)。なお、ステッ
プ29でサーバ名がなかった場合には、ポート情報を破
棄する(ステップ31)。
If there is a server name in the port information (step 29), the server name is obtained (step 3).
0). Then, the server PC name obtained in step 30 is converted into an IP address, and the IP address of the server PC name is converted.
An address is obtained (step 32). If there is no server name in step 29, the port information is discarded (step 31).

【0031】このようにしてIPアドレスが取得された
ならば、図4において、取得されたIPアドレスに基づ
いてサーバPC160へデバイス170のIPアドレス
取得要求コマンドを送信する(ステップ33)。
When the IP address is obtained in this way, in FIG. 4, an IP address acquisition request command for device 170 is transmitted to server PC 160 based on the acquired IP address (step 33).

【0032】これにより、サーバPC160側ではIP
アドレス取得要求コマンドをネットワーク経由で受信す
る(ステップ34)。そして、受信後、ネットワークパ
ケットからローカル通信を行うためのコマンド変換を行
う(ステップ35)。次に、デバイス170に対し、I
Pアドレス取得要求コマンドを送信する(ステップ3
6)。なお、この要求コマンドは双方向通信可能なコマ
ンドであるものとする。
As a result, the server PC 160 side receives the IP
An address acquisition request command is received via the network (step 34). Then, after the reception, command conversion for performing local communication is performed from the network packet (step 35). Next, I
Send a P address acquisition request command (step 3
6). Note that this request command is a command capable of bidirectional communication.

【0033】次に、デバイス170においては、受信し
たコマンドがIPアドレス取得要求コマンドかどうかを
判定する(ステップ37)。そして、IPアドレス取得
コマンドでなかった場合には、他のコマンド処理を行う
(ステップ38)。
Next, the device 170 determines whether the received command is an IP address acquisition request command (step 37). If it is not an IP address acquisition command, another command processing is performed (step 38).

【0034】一方、IPアドレスあると判定した場合に
は、データベース16よりIPアドレスを取得する(ス
テップ39)。
On the other hand, if it is determined that there is an IP address, an IP address is obtained from the database 16 (step 39).

【0035】次に、サーバPC160はコマンドを送信
した後受信待ち状態となっているので、ステップ39で
取得したIPアドレスをサーバPC160へ送信する
(ステップ40)。
Next, since the server PC 160 is in the reception waiting state after transmitting the command, the server PC 160 transmits the IP address acquired in step 39 to the server PC 160 (step 40).

【0036】サーバPC160では、受信したデータを
ローカルパケットからネットワークパケットへ変換する
(ステップ41)。そして、変換されたデータをクライ
アントPC18にネットワーク手順に従い送信する(ス
テップ42)。
The server PC 160 converts the received data from a local packet to a network packet (step 41). Then, the converted data is transmitted to the client PC 18 according to the network procedure (step 42).

【0037】クライアントPC18では、ネットワーク
インターフェースを通じパケットを受信し、IPアドレ
ス要求元へ送信する(ステップ43)。
The client PC 18 receives the packet through the network interface and sends it to the IP address request source (step 43).

【0038】これにより、ネットワーク上の不特定多数
にブロードキャストすることなくIPアドレスを取得す
ることが可能になる。
Thus, it is possible to obtain an IP address without broadcasting to an unspecified large number on a network.

【0039】[0039]

【発明の効果】以上のように、本発明によれば、ネット
ワーク上の不特定多数の機器にブロードキャストするこ
となく所望のデバイスのIPアドレスを取得することが
可能になるという有効な効果が得られる。
As described above, according to the present invention, it is possible to obtain an effective effect that an IP address of a desired device can be obtained without broadcasting to an unspecified number of devices on a network. .

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施の形態であるIPアドレス取得
装置の接続の一形態を示すブロック図
FIG. 1 is a block diagram showing one form of connection of an IP address acquisition device according to one embodiment of the present invention;

【図2】本発明の一実施の形態であるIPアドレス取得
装置の接続の他の一形態を示すブロック図
FIG. 2 is a block diagram showing another form of connection of the IP address acquisition device according to the embodiment of the present invention;

【図3】ネットワーク接続されたデバイスのIPアドレ
ス取得処理を示すフローチャート
FIG. 3 is a flowchart showing an IP address acquisition process of a device connected to a network.

【図4】サーバPCとローカル接続されたデバイスのI
Pアドレス取得処理を示すフローチャート
FIG. 4 shows a device I locally connected to the server PC.
Flow chart showing P address acquisition processing

【符号の説明】[Explanation of symbols]

1 アプリケーション要求部 2 デバイスドライバ通信部 3 ポート情報取得部(デバイス情報取得部) 4 IPアドレス取得部 5 通信部 6 コマンド解析部 7 ポート情報取得部(デバイス情報取得部) 8 ポート情報データベース(デバイス情報データベー
ス) 18 クライアントPC(IPアドレス取得装置) 46 サーバ名取得部 47 IPアドレス変換部 100 ホストコンピュータ(IPアドレス取得装置) 101 アプリケーション 102 デバイスドライバ 160 サーバPC(サーバコンピュータ) 170 デバイス
DESCRIPTION OF SYMBOLS 1 Application request part 2 Device driver communication part 3 Port information acquisition part (device information acquisition part) 4 IP address acquisition part 5 Communication part 6 Command analysis part 7 Port information acquisition part (device information acquisition part) 8 Port information database (device information) Database) 18 client PC (IP address acquisition device) 46 server name acquisition unit 47 IP address conversion unit 100 host computer (IP address acquisition device) 101 application 102 device driver 160 server PC (server computer) 170 device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】アプリケーションおよびデバイスドライバ
を備えてネットワーク上に接続され、同じく前記ネット
ワーク上に接続されたデバイスのIPアドレスを取得す
るIPアドレス取得装置であって、 前記アプリケーションは、 IPアドレスの取得要求を行うアプリケーション要求部
と、 アプリケーション要求部から要求を受けて前記デバイス
ドライバとの通信を行うデバイスドライバ通信部と、 前記デバイスドライバ通信部の受信データからデバイス
情報を取得するデバイス情報取得部と、 デバイス情報よりIPアドレスを取得するIPアドレス
取得部とを有し、 前記デバイスドライバは、 前記デバイスドライバ通信部との間において通信を行う
通信部と、 受信したコマンドデータの解析を行うコマンド解析部
と、 前記デバイスドライバのインストール時に設定されたデ
バイス情報を保有するデバイス情報データベースと、 デバイス情報データベースのデータベースよりデバイス
情報を取得するデバイス情報取得部とを有することを特
徴とするIPアドレス取得装置。
1. An IP address acquisition device connected to a network, comprising an application and a device driver, for acquiring an IP address of a device also connected to the network, wherein the application is a request to acquire an IP address. An application request unit for performing communication with the device driver in response to a request from the application request unit; a device information acquisition unit for acquiring device information from data received by the device driver communication unit; An IP address acquisition unit that acquires an IP address from information, wherein the device driver communicates with the device driver communication unit; a command analysis unit that analyzes received command data; The device A device information database carrying device information set during installation of the driver, IP address, acquiring apparatus; and a device information acquisition unit that acquires device information from the database of the device information database.
【請求項2】前記デバイス情報に含まれる文字列情報か
らIPアドレスを取得することを特徴とする請求項1記
載のIPアドレス取得装置。
2. The IP address acquisition device according to claim 1, wherein an IP address is acquired from character string information included in the device information.
【請求項3】アプリケーションおよびデバイスドライバ
を備えてネットワーク上に接続され、前記ネットワーク
上に接続されたサーバコンピュータとローカル接続され
たデバイスのIPアドレスを取得するIPアドレス取得
装置であって、 前記アプリケーションは、 IPアドレスの取得要求を行うアプリケーション要求部
と、 アプリケーション要求部から要求を受けて前記デバイス
ドライバとの通信を行うデバイスドライバ通信部と、 前記デバイスドライバ通信部の受信データからデバイス
情報を取得するデバイス情報取得部と、 デバイス情報よりIPアドレスを取得するIPアドレス
取得部と、 前記サーバコンピュータの名前を取得するサーバ名取得
部と、 前記サーバ名取得部にて取得されたサーバ名を介して前
記デバイスのIPアドレスを取得するIPアドレス変換
部とを有し、 前記デバイスドライバは、 前記デバイスドライバ通信部との間において通信を行う
通信部と、 受信したコマンドデータの解析を行うコマンド解析部
と、 前記デバイスドライバのインストール時に設定されたデ
バイス情報を保有するデバイス情報データベースと、 デバイス情報データベースのデータベースよりデバイス
情報を取得するデバイス情報取得部とを有することを特
徴とするIPアドレス取得装置。
3. An IP address acquisition device that is connected to a network with an application and a device driver and acquires an IP address of a device locally connected to a server computer connected to the network, wherein the application is An application request unit for requesting acquisition of an IP address; a device driver communication unit for receiving a request from the application request unit and communicating with the device driver; and a device for acquiring device information from data received by the device driver communication unit. An information acquisition unit, an IP address acquisition unit that acquires an IP address from device information, a server name acquisition unit that acquires a name of the server computer, and the device via the server name acquired by the server name acquisition unit. IP ad The device driver, a communication unit that communicates with the device driver communication unit, a command analysis unit that analyzes received command data, and the device driver. An IP address acquisition device, comprising: a device information database that holds device information set at the time of installation of the device; and a device information acquisition unit that acquires device information from the database of the device information database.
JP2001043036A 2001-02-20 2001-02-20 Ip address acquiring device Pending JP2002247056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001043036A JP2002247056A (en) 2001-02-20 2001-02-20 Ip address acquiring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001043036A JP2002247056A (en) 2001-02-20 2001-02-20 Ip address acquiring device

Publications (1)

Publication Number Publication Date
JP2002247056A true JP2002247056A (en) 2002-08-30

Family

ID=18905267

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001043036A Pending JP2002247056A (en) 2001-02-20 2001-02-20 Ip address acquiring device

Country Status (1)

Country Link
JP (1) JP2002247056A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005039482A (en) * 2003-07-18 2005-02-10 Canon Inc Method for setting environment of wireless communication network, information processor, printer, and program for controlling the printer
US7536015B2 (en) 2003-12-03 2009-05-19 Canon Kabushiki Kaisha Setting method for wireless communication device, computer peripheral equipment, and information processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005039482A (en) * 2003-07-18 2005-02-10 Canon Inc Method for setting environment of wireless communication network, information processor, printer, and program for controlling the printer
US7536015B2 (en) 2003-12-03 2009-05-19 Canon Kabushiki Kaisha Setting method for wireless communication device, computer peripheral equipment, and information processor

Similar Documents

Publication Publication Date Title
JP3805725B2 (en) Gateway, home network system, and message passing method enabling message passing between devices on home network using different middleware
US6092078A (en) Method and apparatus for interfacing network peripheral devices with a browser
US20080235358A1 (en) Proxy Device, Network System, and Communication Method
RU2007148416A (en) UNITED ARCHITECTURE FOR REMOTE NETWORK ACCESS
WO2004025428A3 (en) Apparatus and method for processing data in a network
JP2008187425A (en) Repeating installation, program and repeating method
US9571954B2 (en) Information processing system, information processing method, mobile phone, server, and control methods and control programs thereof
HUP0103875A2 (en) Communication method in a home network
JP2002542637A (en) Apparatus and method for communication over a network
US20100332631A1 (en) Communication apparatus, address setting method, and address setting program
US20040151132A1 (en) Method of and apparatus for communication, communication control system, and computer product
US6791956B1 (en) Periphery device in a wireless network
US7042866B2 (en) Method and apparatus utilizing bluetooth protocols for the remote setting of IP network parameters
JP3970857B2 (en) Communication system, gateway device
TW200304741A (en) Apparatus and method for managing cable modem based on Web
JP2002247056A (en) Ip address acquiring device
US20060026317A1 (en) Method of controlling information processing apparatus, information processing apparatus, and control program therefor
TWI458316B (en) Device proxy method and related apparatus for a universal plug and play network system
KR101544001B1 (en) System and method for suppling bi-directional broadcasting service and network relay apparatus applied to the same
WO2021065557A1 (en) Communication device and method, and communication terminal and method
JP4379011B2 (en) Communication method and communication system
JP4510632B2 (en) Data acquisition source management method and system
KR100312865B1 (en) Multi-port network matching apparatus for network print server function and method for transmitting/receiving packet data
JP3886103B2 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD, COMMUNICATION DEVICE AND COMMUNICATION PROGRAM USED FOR THE SAME
JP3623460B2 (en) Data transmission method using Ethernet between compact control stations