JP2003046519A - Address automatic setting method - Google Patents

Address automatic setting method

Info

Publication number
JP2003046519A
JP2003046519A JP2001236112A JP2001236112A JP2003046519A JP 2003046519 A JP2003046519 A JP 2003046519A JP 2001236112 A JP2001236112 A JP 2001236112A JP 2001236112 A JP2001236112 A JP 2001236112A JP 2003046519 A JP2003046519 A JP 2003046519A
Authority
JP
Japan
Prior art keywords
network
address
setting
network address
machine
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.)
Withdrawn
Application number
JP2001236112A
Other languages
Japanese (ja)
Inventor
Kimitaka Murashita
君孝 村下
Yoshiharu Suzuki
祥治 鈴木
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2001236112A priority Critical patent/JP2003046519A/en
Publication of JP2003046519A publication Critical patent/JP2003046519A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an address automatic setting method for connecting a network device to a network that attains automatic setting of an address, without the need for an exclusive server device, such as a server device adopting the DHCP(dynamic host configuration protocol) or expert intelligence. SOLUTION: In the case of connecting a device 20 to be set to a network 30, a setting device 10, having already been connected to the same network 30, calculates a network address to be set and confirms whether or not the network address is available. When the network address is available, the setting device 10 informs the device to be set 20 regarding the address by means of broadcasting. The device 20 to be set uses the received network address to conduct network setting.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は,ネットワークに接
続される機器に,専門的な知識を必要とせず自動的に簡
易にネットワーク情報を設定できるようにしたアドレス
自動設定方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic address setting method capable of automatically and easily setting network information in a device connected to a network without requiring specialized knowledge.

【0002】[0002]

【従来の技術】近年では,パソコンやワークステーショ
ンなどの計算機だけでなく,プリンタやファクシミリ装
置(FAX)などの情報機器を,ネットワーク(LA
N)に接続して利用する例が増えてきている。また,現
在,次世代のインターネットプロトコルであるIPv6
が提案されており,IPv6の実現によりエアコンや冷
蔵庫などの家電製品までもが,ネットワークに接続され
ることが期待されている。
2. Description of the Related Art In recent years, not only computers such as personal computers and workstations, but also information devices such as printers and facsimiles (FAX) have been installed in networks (LAs).
The number of cases of connecting to and using N) is increasing. In addition, IPv6, which is the next-generation Internet protocol, is currently being used.
Has been proposed, and it is expected that even home electric appliances such as air conditioners and refrigerators will be connected to the network by implementing IPv6.

【0003】ネットワークとしては,インターネットの
プロトコルであるTCP/IPが一般的に用いられてい
る。TCP/IPでは,ネットワークを利用するための
情報として,IPアドレス,ブロードキャストアドレ
ス,ネットマスク(サブネットマスク),ネットワーク
番号などが必要である。
As a network, TCP / IP which is an Internet protocol is generally used. TCP / IP requires an IP address, a broadcast address, a net mask (subnet mask), a network number, etc. as information for using the network.

【0004】IPアドレスは,ネットワーク上の機器を
識別するための情報であり,各機器に固有の値である必
要がある。一方,ブロードキャストアドレスやネットマ
スクなどの情報は,同一ネットワーク上の機器同士を通
信できるようにするための情報である。ネットワークを
利用する機器(例えばネットワークプリンタ)は,自己
が接続しているネットワークに合ったネットワーク設定
を行わないと,ネットワークには接続できない。
The IP address is information for identifying a device on the network and needs to be a unique value for each device. On the other hand, the information such as the broadcast address and the net mask is information for allowing devices on the same network to communicate with each other. A device that uses a network (for example, a network printer) cannot connect to the network unless the network settings that match the network to which it is connected are made.

【0005】従来は,ネットワークを管理するユーザ
(以下,ネットワーク管理者という)が,ネットワーク
情報を保持し,ネットワーク接続機器のIPアドレス一
覧表を管理していた。ネットワーク管理者は,新しいネ
ットワーク機器を接続する際に,自身が管理しているI
Pアドレス一覧表から,空きのIPアドレスを割り当て
てることを行う(第1の従来技術:手動割り当て)。
Conventionally, a user who manages a network (hereinafter referred to as a network administrator) holds network information and manages a list of IP addresses of network-connected devices. The network administrator manages the I managed by himself when connecting a new network device.
Free IP addresses are assigned from the P address list (first conventional technique: manual assignment).

【0006】計算機を利用して,自動でIPアドレスを
割り当てる方法もある。例えば,DHCP(Dynamic Ho
st Configuration Protocol )は,IPアドレスを動的
に割り当てる方式である。図20は,従来のDHCPに
よるネットワーク接続の例を示す。DHCPサーバ10
0は,パソコン(以下,PCと略記する)101,PC
102,PC103,プリンタ104等の機器と,ネッ
トワーク105で接続されている。
There is also a method of automatically assigning an IP address using a computer. For example, DHCP (Dynamic Ho
st Configuration Protocol) is a method of dynamically assigning an IP address. FIG. 20 shows an example of network connection by the conventional DHCP. DHCP server 10
0 is a personal computer (hereinafter abbreviated as PC) 101, PC
Devices such as 102, PC 103, and printer 104 are connected via a network 105.

【0007】DHCPは,あらかじめネットワーク管理
者が,DHCPサーバ100に,ネットワーク105の
情報と,割り当て可能なIPアドレス一覧(図20に示
すIPテーブル)を保持させておく。DHCPサーバ1
00は,割り当て可能なIPアドレス一覧の中から,P
C101,PC102,PC103,プリンタ104等
の各機器に,IPアドレスを割り当てる。
[0007] In DHCP, the network administrator causes the DHCP server 100 to hold in advance information on the network 105 and a list of assignable IP addresses (IP table shown in FIG. 20). DHCP server 1
00 is P from the list of assignable IP addresses.
An IP address is assigned to each device such as C101, PC102, PC103, and printer 104.

【0008】図21に,DHCPによるIPアドレス割
り当ての手順を示す。DHCPサーバ100は,DHC
Pクライアント(図21ではPC101)からのIPア
ドレス割り当て要求(リクエスト)に従って,IPテー
ブルに保持されているIPアドレスから未使用のIPア
ドレスを選択し,一定時間(以下,リースタイムと称す
る)の間,DHCPクライアントに割り当てる。DHC
Pクライアントは,DHCPサーバ100が割り当てた
リースタイムの間,IPアドレスを使用できる。DHC
Pクライアントは,継続してIPアドレスを使用したい
場合には,リースタイムが経過する前に,DHCPサー
バ100に対して継続使用する要求(割り当て時間延長
のリクエスト)を出す。DHCPサーバ100は,DH
CPクライアントからの継続使用要求に従って,リース
タイムを延長する。DHCPクライアントから継続使用
要求がなかった場合,一定時間(リースタイム)経過
後,該IPアドレスの割り当てを解放し,他の機器から
のIPアドレス要求に従って,他の機器に該IPアドレ
スを割り当てる。
FIG. 21 shows a procedure of IP address allocation by DHCP. The DHCP server 100 uses the DHC
According to an IP address allocation request (request) from the P client (PC 101 in FIG. 21), an unused IP address is selected from the IP addresses held in the IP table, and during a fixed time (hereinafter, referred to as lease time). , DHCP client. DHC
The P client can use the IP address during the lease time allocated by the DHCP server 100. DHC
When the P client wants to continue using the IP address, the P client issues a request for continuous use (request for extension of allocation time) to the DHCP server 100 before the lease time elapses. The DHCP server 100 is DH
The lease time is extended according to the continuous use request from the CP client. When there is no continuous use request from the DHCP client, the assignment of the IP address is released after a lapse of a fixed time (lease time), and the IP address is assigned to the other device according to the IP address request from the other device.

【0009】DHCPを使用するためには,ネットワー
ク105上にDHCPサーバ100となるサーバ機が必
要であり,DHCPを使用するDHCPクライアント
(PC101〜103,プリンタ104等)となるクラ
イアント機には,DHCPクライアントソフトウェアが
必要となる(第2の従来技術:DHCP)。
In order to use DHCP, a server machine which becomes the DHCP server 100 is required on the network 105, and a client machine which becomes a DHCP client (PC 101 to 103, printer 104, etc.) which uses DHCP needs DHCP. Client software is required (second prior art: DHCP).

【0010】また,これ以外にも,ネットワーク情報を
自動的に割り当てる方法として,情報処理システム(特
開平5−28065号公報),ネットワーク自動設定装
置(特開平5−101020号公報),ネットワーク構
成情報管理方式(特開平8−305650号公報),ア
ドレス設定方法及び装置(特開平11−234342号
公報)等がある。
Other than this, as a method for automatically allocating network information, an information processing system (Japanese Patent Laid-Open No. 5-28065), a network automatic setting device (Japanese Patent Laid-Open No. 5-101020), network configuration information There are a management system (JP-A-8-305650), an address setting method and an apparatus (JP-A-11-234342), and the like.

【0011】情報処理システム(特開平5−28065
号公報)は,アドレス要求手段が立ち上がり時にアドレ
スを要求し,アドレス管理サーバがアドレスを割り当て
る方式である。機能および効果は,前述のDHCP(第
2の従来技術)と同等である(第3の従来技術:情報処
理システム)。
Information processing system (Japanese Patent Laid-Open No. 5-28065)
Japanese Patent Publication) is a system in which the address requesting means requests an address at the time of rising and the address management server allocates the address. The function and effect are equivalent to those of the above-mentioned DHCP (second conventional technology) (third conventional technology: information processing system).

【0012】ネットワーク自動設定装置(特開平5−1
01020号公報)は,自己のネットワーク情報を自分
自身で保持し,他のコンピュータの情報をネットワーク
経由で受信する方式に関するものである。ネットワーク
上につながっている他機器のマシン名やサービスなど
を,ネットワーク経由で収集する。この方式は,DNS
(Domain Name System)やNIS(Network Informatio
n Service )などのサーバが行っていた機能を,各ネッ
トワーク機器が個別に行う方法である。IPアドレスな
ど,ネットワークに接続するための情報が設定されてい
ないとこれらは使用できないため,IPアドレスを自動
的に設定することはできない(第4の従来技術:ネット
ワーク自動設定装置)。
Network automatic setting device (Japanese Patent Laid-Open No. 5-1
Japanese Laid-Open Patent Publication No. 01020) relates to a method of holding own network information by itself and receiving information of other computers via the network. Collect the machine names and services of other devices connected to the network via the network. This method is based on DNS
(Domain Name System) and NIS (Network Informatio)
This is a method in which each network device individually performs the functions performed by the server (such as n Service). If the information for connecting to the network such as the IP address is not set, these cannot be used, and therefore the IP address cannot be automatically set (fourth conventional technique: network automatic setting device).

【0013】ネットワーク構成情報管理方式(特開平8
−305650号公報)は,クライアント−サーバ機に
おいて,各クライアントおよびサーバのすべてがクライ
アント−サーバの構成情報を保持し,クライアントの構
成が変更されたときに,構成情報を自動的に更新する方
法である。これも,前記ネットワーク自動設定装置(第
3の従来技術)と同様,IPアドレスなど,ネットワー
クに接続するための情報が設定されていないとこれらは
使用できないため,IPアドレスを自動的に設定するこ
とはできない(第5の従来技術:ネットワーク構成情報
管理方式)。
Network configuration information management system
No. 305650), in a client-server machine, all of the clients and servers hold client-server configuration information, and when the client configuration is changed, the configuration information is automatically updated. is there. Similarly to the network automatic setting device (third prior art), this can not be used unless the information for connecting to the network such as the IP address is set. Therefore, the IP address is automatically set. Cannot be done (fifth prior art: network configuration information management method).

【0014】アドレス設定方法及び装置(特開平11−
234342号公報)は,特定のユーザ網に属するユー
ザに,特定のアドレスを割り当てる方式である。DHC
Pは,ユーザからのIPアドレス要求に対して,空いて
いるIPアドレスを提供する。しかし,どの機器にどの
IPアドレスを割り当てるかは,ユーザからは指定でき
ない。この方法は,ユーザからの要求を受け取ったリン
クに従って,あらかじめリンクと対応付けたアドレスを
割り当てることで,上記課題を解決している方法である
(第6の従来技術:アドレス設定方法及び装置)。
Address setting method and device (JP-A-11-
Japanese Patent No. 234342) is a method of assigning a specific address to a user belonging to a specific user network. DHC
P provides a vacant IP address in response to an IP address request from the user. However, the user cannot specify which IP address is assigned to which device. This method is a method that solves the above problem by allocating an address associated with a link in advance according to a link that receives a request from a user (sixth prior art: address setting method and device).

【0015】[0015]

【発明が解決しようとする課題】機器をネットワークに
接続するためには,IPアドレス,ネットワーク番号,
ブロードキャストアドレス,サブネットマスク,デフォ
ルトゲートウェイ等の各種ネットワーク情報(以下,こ
れらを総称してネットワークアドレスまたはネットワー
ク情報と称する)の設定を行う必要がある。
In order to connect a device to a network, an IP address, network number,
It is necessary to set various network information such as broadcast address, subnet mask, default gateway (hereinafter collectively referred to as network address or network information).

【0016】第1の従来技術では,ネットワーク管理者
がこれらの設定を管理し,割り当てをしていた。ネット
ワークアドレスの設定には専門の知識が必要である。し
かし,ネットワークが一般の家庭環境に浸透してきた現
在では,このような専門の知識を有する家族がいる家庭
は非常に少ない。そのため,ネットワーク接続のたび
に,専門業者にネットワークアドレスの設定をしてもら
う必要があるが,これにはコストがかかる。
In the first prior art, the network administrator manages and assigns these settings. Specialized knowledge is required to set the network address. However, now that the network has penetrated into the general home environment, very few families have such specialized knowledge. Therefore, it is necessary to have a specialized company set the network address each time the network is connected, but this is costly.

【0017】第2の従来技術では,各機器のユーザは,
ネットワークに関する知識を必要とせずに,機器をネッ
トワークに接続することができる。しかし,DHCPサ
ーバを設定,管理するためには,やはり専門の知識を持
っているDHCPサーバ管理者が必要である。前記同
様,ほとんどの一般の家庭においては,DHCPサーバ
管理者としての知識を有するものはいない。そのため,
現在では,あらかじめ適当な設定を行ったDHCPサー
バをISDNモデムなどの製品に搭載し,ユーザはそれ
を設定することなく,ただ使用するだけでよいようにな
ってはいるが,設定を変更する場合,やはり専門の業者
を呼ぶ必要がある。
In the second prior art, the user of each device is
Devices can be connected to the network without requiring knowledge of the network. However, in order to set up and manage the DHCP server, a DHCP server administrator who also has specialized knowledge is necessary. As mentioned above, in most ordinary households, no one has knowledge as a DHCP server administrator. for that reason,
Nowadays, a DHCP server with appropriate settings is installed in a product such as an ISDN modem so that the user can simply use it without setting it, but when changing the settings , It is still necessary to call a specialized contractor.

【0018】さらに,DHCPには,DHCPクライア
ントのIPアドレスが変わってしまうという問題があ
る。前述したとおり,DHCPサーバは一定時間IPア
ドレスを割り当てた後,継続要求がなかった場合には割
り当てを解放し,別の機器にそのIPアドレスを割り当
てる。その結果,機器のIPアドレスが予告なく変動し
てしまうことがある。プリンタやファイルサーバなど,
複数のクライアントに対してサービスを提供しているサ
ーバ機の場合,IPアドレスが変わってしまうと,その
サーバを利用しているすべてのクライアントの設定を変
更しなければならない。リースタイムを大きくすること
で,IPアドレスの割り当て時間を無期限に設定するこ
とは可能であるが,DHCPサーバにこのような設定を
行う場合,DHCPに関する専門の知識が必要となる。
さらに,DHCPの有しているIPアドレスの有効活用
という利点をなくしてしまう。
Further, the DHCP has a problem that the IP address of the DHCP client changes. As described above, the DHCP server allocates an IP address for a certain period of time, then releases the allocation when there is no continuation request, and allocates the IP address to another device. As a result, the IP address of the device may change without notice. Printers, file servers, etc.
In the case of a server machine that provides services to multiple clients, if the IP address changes, the settings of all clients using that server must be changed. Although it is possible to set the IP address allocation time indefinitely by increasing the lease time, when such a setting is made in the DHCP server, specialized knowledge about DHCP is required.
Furthermore, the advantage of effectively utilizing the IP address of DHCP is lost.

【0019】第3の従来技術は,DHCP(第2の従来
技術)と同様の処理であり,課題は第2の従来技術と同
様である。また,第4および第5の従来技術は,ネット
ワークに接続された機器が,ネットワークの情報を収集
する。しかし,機器をネットワークに接続するためには
ネットワーク設定を行う必要があり,第4および第5の
従来技術では,ネットワーク設定を自動的に行うことは
できない。
The third prior art is the same processing as DHCP (second prior art), and the problem is the same as the second prior art. Further, in the fourth and fifth conventional techniques, devices connected to the network collect network information. However, it is necessary to perform network setting in order to connect the device to the network, and the fourth and fifth conventional techniques cannot automatically perform network setting.

【0020】第6の従来技術は,特定のユーザ網のユー
ザに対して特定のIPアドレスを割り当てる方式であ
る。DHCPサーバと同様のサーバが,リンク情報から
割り当てるIPアドレスを決定する。しかし,第2およ
び第3の従来技術と同様に,ネットワークを割り当てる
サーバの管理が必要となる。
The sixth prior art is a method of assigning a specific IP address to a user of a specific user network. A server similar to the DHCP server determines the IP address to allocate from the link information. However, similarly to the second and third conventional techniques, it is necessary to manage the server to which the network is assigned.

【0021】以上のように,従来の技術では,機器をネ
ットワークに接続するためには,ネットワーク情報ある
いはDHCPなどのIP割り当てサーバの管理を行う管
理者が必須であり,一般家庭にネットワークが浸透して
きた今日,すべての一般家庭にこのような管理者がいる
ことを期待することはできない。
As described above, in the conventional technique, an administrator who manages network information or an IP allocation server such as DHCP is indispensable in order to connect a device to a network, and the network has spread to general households. Today, we cannot expect to have such a manager in every household.

【0022】本発明は上記問題点の解決を図り,DHC
Pのような専用のサーバ機の設置や設定を必要とするこ
となく,またネットワークに関する専門的知識を必要と
することなく,自動でネットワークの設定をできるよう
にすることを目的とする。
The present invention aims to solve the above problems, and
An object of the present invention is to enable automatic network setting without requiring installation and setting of a dedicated server machine such as P, and without requiring specialized knowledge about the network.

【0023】[0023]

【課題を解決するための手段】上記課題を解決するた
め,本発明は,ネットワーク上に接続された機器のネッ
トワークアドレスを自動設定する方法であって,同一ネ
ットワーク内のネットワークアドレスを算出する過程
と,前記ネットワークアドレスが使用されているかどう
かを検出する過程と,前記検出した使用されていないネ
ットワークアドレス(以下,単に空きアドレスと称す
る)を送信する過程と,前記ネットワークアドレスを受
信した機器は,該ネットワークアドレスを用いてネット
ワーク設定を行う過程とを有し,ネットワーク上に接続
されたネットワーク設定対象機器(以下,被設定機と称
する)のネットワークアドレスを,同一のネットワーク
上にすでに接続されている機器(以下,設定機と称す
る)が検出した空きアドレスを用いて設定する。
In order to solve the above problems, the present invention is a method for automatically setting a network address of a device connected to a network, which comprises a process of calculating a network address in the same network. , A step of detecting whether the network address is used, a step of transmitting the detected unused network address (hereinafter, simply referred to as an empty address), and a device receiving the network address A device which has a process of performing network setting using a network address, and which has a network address of a device for network setting (hereinafter, referred to as a set target device) connected on the network, which is already connected on the same network. An empty address detected by (hereinafter referred to as a setting machine) Set using the.

【0024】一般にネットワーク機器には,工場出荷時
に適当な値が設定されている。ユーザがネットワークに
接続する場合には,この設定値を自身のネットワークに
適した値に設定しなおす必要がある。本発明では,上記
方法によって,ネットワーク上にすでに接続されている
機器(設定機)を用いて,新しい機器(被設定機)のネ
ットワーク設定を行う。この設定機は,DHCPサーバ
機のような専用の装置である必要はなく,通常のパソコ
ン(PC)のようなものでよい。
In general, network devices are set to appropriate values at the time of factory shipment. When users connect to the network, it is necessary to reset this setting to a value suitable for their network. According to the present invention, by the above method, the network setting of a new device (setting target device) is performed using the device (setting device) already connected to the network. This setting machine does not need to be a dedicated device such as a DHCP server machine, but may be an ordinary personal computer (PC).

【0025】[0025]

【発明の実施の形態】以下,図面を用いて本発明の実施
の形態を詳細に説明する。図1は,本発明の実施の形態
におけるネットワークアドレス設定処理フローチャート
(1)である。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a network address setting processing flowchart (1) according to the embodiment of the present invention.

【0026】まず,設定機は,被設定機のネットワーク
アドレスを算出する(ステップS1)。ネットワークア
ドレスは適当な値を順番に使用しても良いが,適切な設
定値が見つかるまで時間がかかることになる。そこで,
設定機のネットワークアドレスを参考にすることで,正
しいネットワークアドレスを簡単に入手することを図
る。
First, the setting machine calculates the network address of the set machine (step S1). You may use appropriate values for the network addresses in order, but it will take some time to find the appropriate settings. Therefore,
By referring to the network address of the setting machine, we will easily obtain the correct network address.

【0027】具体的には,設定機のOSが例えばWin
dows95,98等であった場合,winipcfg
コマンドを実行することで,設定機自身のネットワーク
アドレスを知ることができる。また,設定機のOSがL
inuxであった場合には,ifconfigコマンド
を実行することで,設定機自身のネットワークアドレス
を知ることができる。このように,パソコンには,自分
自身のネットワークアドレスを知る手段が用意されてい
るので,これによって得た設定機の情報から,被設定機
の情報を次のように算出する。
Specifically, the OS of the setting machine is, for example, Win.
In case of dows95, 98 etc., winipcfg
By executing the command, you can know the network address of the setting machine itself. Also, the OS of the setting machine is L
If it is Linux, the network address of the setting machine itself can be known by executing the ifconfig command. As described above, since the personal computer is provided with a means for knowing its own network address, the information of the set machine is calculated as follows from the information of the set machine obtained by this.

【0028】・IPアドレス:設定機およびデフォルト
ゲートウェイとは異なるアドレス ・サブネットマスク:設定機と同じ情報 ・ネットワーク番号:設定機と同じ情報 ・ブロードキャストアドレス:設定機と同じ情報 ・デフォルトゲートウェイ:設定機と同じ情報 こうすることで,被設定機のネットワークアドレスを算
出することができる。
IP address: an address different from the setting machine and the default gateway Subnet mask: the same information as the setting machine Network number: the same information as the setting machine Broadcast address: the same information as the setting machine Default gateway: the setting machine By using the same information, the network address of the target machine can be calculated.

【0029】例えば,自分自身のネットワークアドレス
が ・IPアドレス:192.168.32.2 ・サブネットマスク:255.255.255.0 ・ネットワーク番号:192.168.32.0 ・ブロードキャストアドレス:192.168.32.255 ・デフォルトゲートウェイ:192.168.32.1 であった場合,被設定機のネットワークアドレスは, ・IPアドレス:192.168.32.3 ・サブネットマスク:255.255.255.0 ・ネットワーク番号:192.168.32.0 ・ブロードキャストアドレス:192.168.32.255 ・デフォルトゲートウェイ:192.168.32.1 とする。
For example, when the own network address is: IP address: 192.168.32.2 Subnet mask: 255.255.255.0 Network number: 192.168.32.0 Broadcast address: 192.168.32.255 Default gateway: 192.168.32.1 , The network address of the set machine is: -IP address: 192.168.32.3-Subnet mask: 255.255.255.0-Network number: 192.168.32.0-Broadcast address: 192.168.32.255-Default gateway: 192.168.32.1

【0030】しかし,ここで決定したIPアドレスは,
すでに他の機器で使用されている場合がある。そこで,
設定機は,該IPアドレスが使用されていないかどうか
の確認を行う(S2)。具体的には,該IPアドレスに
対してpingコマンドを実行する。pingコマンド
に対してレスポンスがあれば,該IPアドレスはすでに
使用中であるので,ステップS1に戻り,設定機はさら
に別のIPアドレスを用いて,再度pingコマンドを
実行する。pingコマンドに対してレスポンスがない
場合,該IPアドレスは未使用であるため,被設定機に
適用可能なアドレスである。
However, the IP address determined here is
It may already be used by other equipment. Therefore,
The setting machine confirms whether the IP address is not used (S2). Specifically, the ping command is executed for the IP address. If there is a response to the ping command, the IP address is already in use, so the process returns to step S1 and the setting machine executes the ping command again using another IP address. If there is no response to the ping command, the IP address is an unused address and is an address applicable to the set machine.

【0031】上記の例では,設定機は設定時にping
コマンドによる確認を行っているが,あらかじめ定期的
にpingコマンドによる確認を行い,反応がないIP
アドレスの一覧を作成しておくような方法を用いてもよ
い。この場合,このIPアドレスの一覧の中から適当な
IPアドレスを用いてもよいし,IPアドレス一覧に対
して上記pingコマンドによる確認を行ってもよい。
あらかじめ未使用と思われるIPアドレスを検出してお
くことで,設定時の未使用IPアドレス検出時間を短縮
できる。
In the above example, the setting machine pings at the time of setting.
Although the command is used for confirmation, the ping command is used to confirm beforehand and no response is received.
A method of preparing a list of addresses may be used. In this case, an appropriate IP address may be used from the list of IP addresses, or the IP address list may be confirmed by the ping command.
By detecting an IP address that seems to be unused in advance, the unused IP address detection time at the time of setting can be shortened.

【0032】最後に,設定機は,該ネットワークアドレ
スを特定のポート宛のブロードキャストにて発信する
(S3)。被設定機は,特定ポート宛にきたネットワー
クアドレスをもとに,自身のネットワーク設定を行う
(S4)。
Finally, the setter transmits the network address by broadcasting to a specific port (S3). The set machine performs its own network setting based on the network address addressed to the specific port (S4).

【0033】ところが,ユーザのネットワークが,サブ
ネットマスクやルーティング設定等によって細かく分割
されている場合,設定機が決定したIPアドレスでは,
被設定機との通信が行えない場合がある。この問題は,
最後に確認のための通信を行うことで解決することがで
きる。
However, when the user's network is finely divided by the subnet mask, routing settings, etc., the IP address determined by the setting machine
Communication with the target machine may not be possible. This problem,
The problem can be solved by finally performing communication for confirmation.

【0034】図2は,本発明の実施の形態におけるネッ
トワークアドレス設定処理フローチャート(2)であ
る。まず,設定機は,被設定機に設定するためのネット
ワークアドレスを算出する(S10)。次に設定機は,
算出したネットワークアドレスのIPアドレスが使用さ
れていないかどうかの確認を行い(S11),使用され
ていれば,ステップS10に戻って,設定機はさらに別
のIPアドレスを選択し,ステップS11で再度IPア
ドレスの使用確認を行う。
FIG. 2 is a flowchart (2) of the network address setting process in the embodiment of the present invention. First, the setting machine calculates a network address for setting the set machine (S10). Next, the setting machine
It is confirmed whether the IP address of the calculated network address is not used (S11), and if it is used, the process returns to step S10, the setting machine selects another IP address, and again in step S11. Confirm the use of the IP address.

【0035】ステップS11において,IPアドレス未
使用の確認がとれたら,設定機は,そのIPアドレスを
含むネットワークアドレスを特定ポート宛のブロードキ
ャストにて発信し(S12),被設定機は,特定ポート
宛にきたネットワークアドレスをもとに,自身のネット
ワーク設定を行う(S13)。最後に,設定機との通信
が可能かどうかを確認し(S14),確認がとれなけれ
ば,ステップS10に戻って同様に処理を繰り返し,通
信が可能であることの確認がとれれば,処理を終了す
る。
In step S11, if it is confirmed that the IP address is not used, the setting machine sends a network address including the IP address by broadcasting to a specific port (S12), and the set machine transmits to the specific port. Based on the network address that came to the network, the network setting is made (S13). Finally, it is confirmed whether communication with the setting device is possible (S14). If the confirmation is not obtained, the process returns to step S10 and the same process is repeated. If it is confirmed that the communication is possible, the process is performed. finish.

【0036】図3は,本実施の形態によるネットワーク
設定の通信手順の例(1)を示す。まず,設定機1は,
空きIPアドレスを検出し(手順(1) ),その空きIP
アドレスを含むネットワークアドレスをブロードキャス
トにて送信する(手順(2) )。図4は,設定機1からの
ブロードキャストによる情報の送信例を示す。ブロード
キャストは,ネットワーク上のすべての機器に対して,
情報を送信する。図4の例では,設定機1から全機器
(被設定機2,プリンタ3,パソコン4)に情報が送信
されることになる。
FIG. 3 shows an example (1) of a communication procedure for network setting according to this embodiment. First, the setting machine 1
A free IP address is detected (procedure (1)), and the free IP
Broadcast the network address including the address (procedure (2)). FIG. 4 shows an example of transmitting information by broadcasting from the setting device 1. Broadcast is for all devices on the network.
Send information. In the example of FIG. 4, information is transmitted from the setting device 1 to all devices (set target device 2, printer 3, personal computer 4).

【0037】次に,被設定機2は,ブロードキャストパ
ケット内のネットワーク情報をデコードして,IPアド
レス等のネットワークアドレスを設定する(手順(3)
)。ネットワークアドレス設定後,被設定機2から設
定機1に対して,確認用パケットをユニキャストにて送
信する(手順(4) )。図5は,被設定機2から設定機1
へのユニキャストによる確認用パケットの送信例を示
す。ユニキャストは,指定した1つの相手に対してのみ
情報を送信する。図5の例では,被設定機2から設定機
1に対してのみ,情報が送信される。ユニキャストは,
正しいネットワーク設定が行われていないと通信ができ
ないため,設定機1は被設定機2からの確認用パケット
を受信することで,正しいネットワーク設定が行われた
ことを確認する(手順(5) )。
Next, the setter 2 decodes the network information in the broadcast packet and sets a network address such as an IP address (procedure (3)).
). After setting the network address, the setter 2 sends a confirmation packet to the setter 1 by unicast (procedure (4)). FIG. 5 shows the setting machine 2 to the setting machine 1.
Shows an example of sending a confirmation packet by unicast to the. Unicast sends information to only one designated party. In the example of FIG. 5, the information is transmitted only from the setter 2 to the setter 1. Unicast is
Since communication is not possible unless the correct network settings are made, the setting machine 1 confirms that the correct network settings have been made by receiving the confirmation packet from the settable machine 2 (procedure (5)). .

【0038】設定機1は,さらに被設定機2に対して返
信パケットをユニキャストで送信する(手順(6) )。図
6は,設定機1から被設定機2へのユニキャストによる
返信パケットの送信例を示す。図6の例では,設定機1
から被設定機2に対してのみ,情報が送信される。これ
を受信することで,被設定機2もネットワーク設定が正
しく行われたことを確認することができ(手順(7) ),
この確認により設定完了となる。
The setting machine 1 further sends a reply packet to the set machine 2 by unicast (procedure (6)). FIG. 6 shows an example of unicast reply packet transmission from the setting machine 1 to the setting machine 2. In the example of FIG. 6, the setting machine 1
Information is transmitted only from the setting target device 2 to the setting target device 2. By receiving this, the device to be set 2 can also confirm that the network settings have been made correctly (procedure (7)).
This confirmation completes the setting.

【0039】以上のネットワーク設定手順において,ネ
ットワーク設定が正しくない場合,前述したとおり,設
定機1は手順(5) で確認用パケットを受信できない。
In the above network setting procedure, if the network setting is incorrect, the setting machine 1 cannot receive the confirmation packet in step (5) as described above.

【0040】図7は,ネットワーク設定が正しくなかっ
た場合のネットワーク設定の通信手順(2)の例を示し
ている。設定機1が空きIPアドレスを検索し(手順
(1) ),設定機1から該空きIPアドレスを含むネット
ワークアドレスの情報をブロードキャストで送信する
(手順(2) )。被設定機2は,受信した情報からネット
ワークアドレスを設定し(手順(3) ),被設定機2から
設定機1へユニキャストで確認用パケットを送信する
(手順(4) )。ここまでは,図3の手順と同じである。
FIG. 7 shows an example of the communication procedure (2) for network setting when the network setting is incorrect. The setting machine 1 searches for a free IP address (procedure)
(1)), The information of the network address including the empty IP address is transmitted from the setting device 1 by broadcast (procedure (2)). The setter 2 sets a network address from the received information (procedure (3)) and transmits a confirmation packet from the setter 2 to the setter 1 by unicast (procedure (4)). Up to this point, the procedure is the same as in FIG.

【0041】被設定機2は,確認用パケット送信後,一
定時間経過した後も設定機1からの返信がなかった場
合,設定値が不正だったものとみなして,IPアドレス
などのネットワークアドレスの情報を元の値に戻す(手
順(5) )。被設定機2は,ブロードキャストにて,通信
エラーが生じたことを設定機1に通知する(手順(6)
)。図8は,被設定機2からのブロードキャストによ
る情報の送信例を示している。図8のように,被設定機
2から全機器(設定機1,プリンタ3,パソコン4)に
情報が送信される。
If there is no reply from the setting machine 1 even after a certain period of time has passed after the confirmation packet was transmitted, the setting machine 2 considers that the setting value is invalid and regards the network address such as the IP address. Return the information to its original value (step (5)). The setter 2 notifies the setter 1 that a communication error has occurred by broadcasting (procedure (6)
). FIG. 8 shows an example of transmitting information by broadcasting from the set target device 2. As shown in FIG. 8, information is transmitted from the setting target device 2 to all devices (setting device 1, printer 3, personal computer 4).

【0042】設定機1は,通信エラーの通知を受けた場
合,手順(1) ,手順(2) と同様に再度,空きIPアドレ
スを検出して(手順(7) ),空きIPアドレスを含むネ
ットワークアドレスをブロードキャストにて被設定機2
に送信する(手順(8) )。以下,手順(3) ,手順(4) と
同様に,手順(9) ,(10)を繰り返す。被設定機2からの
確認用パケットを設定機1が受信し,被設定機2が設定
機1の返信パケットを受信するまで,この処理を繰り返
し,確認用パケットと返信パケットの送受信が正常に行
われたならば,設定完了とする。
When the setting machine 1 receives the communication error notification, it detects the free IP address again (procedure (7)) as in steps (1) and (2), and includes the free IP address. Broadcast the network address of the target device 2
Send to (Procedure (8)). Thereafter, steps (9) and (10) are repeated in the same manner as steps (3) and (4). This process is repeated until the setting machine 1 receives the confirmation packet from the setting machine 2 and the setting machine 2 receives the reply packet from the setting machine 2, and the confirmation packet and the reply packet are transmitted and received normally. If you are told, the setting is completed.

【0043】ここまで説明した方法では,設定時に設定
機が空きIPアドレスを検出している。しかし,設定時
に起動していない機器があれば,被設定機の設定後にI
Pアドレスが衝突する可能性がある。そのため,設定時
にはすべてのネットワーク機器の電源を投入し,設定機
とその他の機器とが通信可能の状態にしておく必要があ
る。
In the method described so far, the setting machine detects a free IP address at the time of setting. However, if there is a device that has not started at the time of setting, I
There is a possibility of P address collision. Therefore, at the time of setting, it is necessary to turn on the power of all network devices so that the setting machine and other devices can communicate with each other.

【0044】図9は,本発明の実施の形態におけるネッ
トワークアドレス設定処理フローチャート(3)であ
る。まず,ネットワークに接続されているすべての機器
を起動する(S20)。そして,設定機は,被設定機の
ネットワークアドレスを算出し(S21),前記ネット
ワークアドレス(IPアドレス)が使用されていないか
の確認を行い(S22),使用されていれば,ステップ
S21に戻って,設定機はさらに別のネットワークアド
レスを算出し,ステップS22で,再度ネットワークア
ドレスの使用を確認する。
FIG. 9 is a network address setting process flowchart (3) in the embodiment of the present invention. First, all the devices connected to the network are activated (S20). Then, the setting machine calculates the network address of the set machine (S21), confirms whether the network address (IP address) is not used (S22), and if it is used, returns to step S21. Then, the setting machine calculates another network address and confirms the use of the network address again in step S22.

【0045】ステップS22において,ネットワークア
ドレス未使用の確認がとれたら,設定機は,前記ネット
ワークアドレスを特定ポート宛のブロードキャストにて
発信し(S23),被設定機は,特定ポート宛にきたネ
ットワークアドレスをもとに,自身のネットワークアド
レスの設定を行い(S24),処理を終了する。
When it is confirmed in step S22 that the network address is not used, the setting machine sends the network address by broadcasting to the specific port (S23), and the set machine sends the network address to the specific port. Based on, the network address of itself is set (S24), and the process is terminated.

【0046】ステップS20で全機器を起動させるため
の方法として,例えば,あらかじめユーザに電源を投入
しておいてもらう,あるいは,設定機がブザー等を鳴ら
してユーザに電源を投入してもらうよう促す,または各
ネットワーク上の機器にパワーマネジメント機能を組み
込み,未使用IPアドレス検出前に電源が投入されるよ
う制御するなどの方法がある。これにより,IPアドレ
スの衝突を未然に防ぐことができる。
As a method for starting all the devices in step S20, for example, the user turns on the power in advance, or the setting machine sounds a buzzer or the like to urge the user to turn on the power. Alternatively, there is a method of incorporating a power management function into the device on each network and controlling so that the power is turned on before the unused IP address is detected. This makes it possible to prevent IP address collisions.

【0047】しかしながら,機器によっては投入できな
い場合もあるし,機器の電源を投入し忘れる場合もあ
る。このような場合,設定直後は問題なくても,後日,
アドレスの衝突が発生する場合がある。本発明では,ア
ドレスの衝突が起きた場合に自動で回避する方法につい
ても提案する。
However, depending on the device, there are cases where the device cannot be turned on, and there are cases where the device is forgotten to be turned on. In such a case, even if there is no problem immediately after setting,
Address conflicts may occur. The present invention also proposes a method for automatically avoiding an address collision.

【0048】図10は,本発明の実施の形態におけるネ
ットワークアドレス設定処理フローチャート(4)であ
る。この方法では,接続するネットワークとは関係ない
第1のネットワークアドレス(例えば,工場出荷時の設
定値)と,設定機によって割り当てられたネットワーク
に接続可能な第2のネットワークアドレスとを用いる。
FIG. 10 is a network address setting processing flowchart (4) in the embodiment of the present invention. In this method, a first network address (for example, a factory-set value) unrelated to the network to be connected and a second network address connectable to the network assigned by the setting machine are used.

【0049】まず,被設定機は,第1のネットワークア
ドレスで起動する(S30)。第1のネットワークアド
レスは,現在接続されているネットワークでは使用でき
ないアドレスであるため,現在接続されているネットワ
ーク内の他機器と,IPアドレスの衝突が起きることは
ない。
First, the set machine starts up with the first network address (S30). Since the first network address is an address that cannot be used in the currently connected network, the IP address does not collide with other devices in the currently connected network.

【0050】次に被設定機は,第2のネットワークアド
レスが使用されているかどうか確認する(S31)。具
体的には,第2のネットワークアドレスを用いて現在接
続されているネットワーク内で通信可能なパケットを生
成して,第2のネットワークアドレスのIPアドレスに
対してパケット(例えばpingのような送信先から反
応が得られるようなパケット)を発信する。
Next, the set machine confirms whether or not the second network address is used (S31). Specifically, the second network address is used to generate a packet that can be communicated in the currently connected network, and a packet (for example, a destination such as ping) is sent to the IP address of the second network address. Packet) that will give a response from.

【0051】ステップS31において,送信先から反応
があった場合には,該IPアドレスは使用中であるた
め,起動処理を終了する。この場合,設定機から再度,
IPアドレスを割り当ててもらう必要がある。第2のネ
ットワークアドレスのIPアドレスに対するパケットの
発信に対して反応がなかった場合,第2のネットワーク
アドレスは未使用であるため,この第2のネットワーク
アドレスを設定し(S32),起動を完了する。
In step S31, if there is a response from the destination, the IP address is in use, and the activation process is terminated. In this case, from the setting machine,
You need to be assigned an IP address. If there is no response to the transmission of the packet to the IP address of the second network address, the second network address is unused, so this second network address is set (S32) and the startup is completed. .

【0052】被設定機に対して,設定機からあらかじめ
複数の空きアドレスが第2のネットワークアドレスとし
て割り当てられるようにし,第2のネットワークアドレ
ス内の1つが使用中であった場合,別の使用可能な第2
のネットワークアドレスを使用するようにしてもよい。
この場合,設定機が再度,被設定機の設定を行う必要は
ない。
A plurality of vacant addresses are assigned in advance to the set machine from the set machine as the second network address, and when one of the second network addresses is in use, another use is possible. Na second
You may make it use the network address of.
In this case, the setting machine does not need to set the target machine again.

【0053】図11は,本発明の実施の形態におけるネ
ットワークアドレス設定処理フローチャート(5)であ
る。
FIG. 11 is a network address setting processing flowchart (5) in the embodiment of the present invention.

【0054】まず,被設定機は,第1のネットワークア
ドレスで起動する(S40)。次に,被設定機は,第2
のネットワークアドレス内の最初のIPアドレスが使用
されていないかを確認する(S41)。具体的には,第
2のネットワークアドレスを用いて現在接続されている
ネットワーク内で通信可能なパケットを生成し,第2の
ネットワークアドレスの最初のIPアドレスに対してパ
ケットを発信する。パケットの発信に対して反応がなか
った場合,第2のネットワークアドレスのIPアドレス
は未使用であるため,この第2のネットワークアドレス
を設定し(S42),起動処理を完了する。
First, the set machine starts up with the first network address (S40). Next, the set machine is the second
It is confirmed whether the first IP address in the network address of is not used (S41). Specifically, a packet communicable in the currently connected network is generated using the second network address, and the packet is transmitted to the first IP address of the second network address. If there is no response to the transmission of the packet, the IP address of the second network address is unused, so this second network address is set (S42), and the activation process is completed.

【0055】パケットの発信に対して反応があった場
合,この第2のネットワークアドレスのIPアドレスは
使用中である。そこで,該IPアドレスを第2のネット
ワークアドレスから削除し,第2のネットワークアドレ
スとして次のIPアドレスを設定する(S43)。第2
のネットワークアドレスがまだあるなら(S44),S
41へ戻り,同様に使用確認を行う。そして,第2のネ
ットワークアドレス内のすべてのIPアドレスが使用中
であり,第2のネットワークアドレスがなくなった場合
(S44),起動処理を終了する。この場合,再度,設
定機から新しいIPアドレスを持つネットワークアドレ
スを割り当ててもらう必要がある。
If there is a response to the packet transmission, the IP address of this second network address is in use. Therefore, the IP address is deleted from the second network address and the next IP address is set as the second network address (S43). Second
If there is still another network address (S44), S
Returning to step 41, use confirmation is performed in the same manner. Then, when all the IP addresses in the second network address are in use and the second network address is exhausted (S44), the start processing is ended. In this case, it is necessary to have the setting machine again assign a network address having a new IP address.

【0056】図12は,本発明の実施の形態におけるネ
ットワークアドレス設定処理フローチャート(6)であ
る。第2のネットワークアドレスが1つであっても,被
設定機が,該第2のネットワークアドレスから,別のI
Pアドレスを算出する方法を用いてもよい。本方法で
は,あらかじめ割り当てられた複数の空きIPアドレス
を用いるのではなく,別のIPアドレスを,被設定機が
算出している。
FIG. 12 is a network address setting processing flowchart (6) in the embodiment of the present invention. Even if the number of the second network address is one, the device to be set has a different I from the second network address.
A method of calculating the P address may be used. In this method, the set target device calculates another IP address instead of using a plurality of pre-allocated free IP addresses.

【0057】例えば,第2のネットワークアドレスのI
Pアドレスが192.168.32.2,ブロードキャストアドレス
が192.168.32.255であった場合,192.168.32.3, 192.16
8.32.4, …と,同一ネットワーク内のIPアドレスを計
算で求め,それぞれ使用されていないかどうか確認する
ようにする。
For example, I of the second network address
If the P address is 192.168.32.2 and the broadcast address is 192.168.32.255, 192.168.32.3, 192.16
8.32.4,… and calculate the IP address in the same network, and check whether they are not used.

【0058】まず,被設定機は,第1のネットワークア
ドレスで起動する(S50)。次に,被設定機は,第2
のネットワークアドレスのIPアドレスを算出し,それ
が使用されていないかを確認する(S51)。具体的に
は,第2のネットワークアドレスを用いて,現在接続さ
れているネットワーク内で通信可能なパケットを生成
し,第2のネットワークアドレスの最初のIPアドレス
に対してパケットを発信する。そのパケットに対して反
応がなかった場合,その第2のネットワークアドレスは
未使用であるため,この第2のネットワークアドレスを
設定し(S52),起動処理を完了する。
First, the set machine starts up with the first network address (S50). Next, the set machine is the second
The IP address of the network address is calculated and it is confirmed whether it is not used (S51). Specifically, the second network address is used to generate a packet that can be communicated within the currently connected network, and the packet is transmitted to the first IP address of the second network address. If there is no response to the packet, the second network address is unused, so this second network address is set (S52), and the startup process is completed.

【0059】発信したパケットに対して反応があった場
合,この第2のネットワークアドレスのIPアドレスは
使用中である。そこで,被設定機は,前記使用中のネッ
トワークアドレスと同一ネットワーク内の前記IPアド
レスとは別のIPアドレスを算出する(S53)。別の
IPアドレスがまだあるなら,ステップS51へ戻り,
そのIPアドレスが使用中でないかを確認する。同一ネ
ットワーク内のすべてのIPアドレスが使用中であれば
(S54),ネットワークアドレスの設定はできないの
で,起動処理を終了する。
If there is a response to the transmitted packet, the IP address of this second network address is in use. Therefore, the set machine calculates an IP address different from the IP address in the same network as the network address in use (S53). If another IP address still exists, return to step S51,
Check if the IP address is in use. If all the IP addresses in the same network are in use (S54), the network address cannot be set, and the activation process ends.

【0060】図10,図11および図12のフローチャ
ートに示す方法は,いずれも,被設定機が起動時にIP
アドレスの衝突の有無を検出する方法である。被設定機
と同じIPアドレスを持つ機器が,被設定機の起動前に
動作していれば,これらの方法によりその衝突を回避で
きる。しかし,これらの方法では,被設定機の起動後
に,被設定機と同じIPアドレスを持つ機器が起動した
場合のIPアドレス衝突は防げない。そこで,以下で
は,被設定機の起動後に被設定機と同じIPアドレスを
持つ機器が起動した場合のIPアドレス衝突を防ぐ方法
について述べる。
All of the methods shown in the flow charts of FIGS. 10, 11 and 12 are used when the set machine starts IP
This is a method of detecting the presence or absence of address collision. If a device having the same IP address as the set machine operates before the set machine starts up, the collision can be avoided by these methods. However, these methods cannot prevent the IP address collision when a device having the same IP address as the set target device is started after the set target device is started. Therefore, a method for preventing an IP address collision when a device having the same IP address as the set target device is started after the set target device is started will be described below.

【0061】図13は,本発明の実施の形態におけるネ
ットワークアドレス設定処理フローチャート(7)であ
る。この方法では,定期的に被設定機のIPアドレスを
変更する。被設定機は複数のIPアドレスを保持し,一
定時間を経た後,現在のIPアドレスから次のIPアド
レスに設定変更する。ここでは,これらのIPアドレス
に対して,便宜上,1から順に番号をふって,ネットワ
ークアドレスn(n=1,2,3,…)として説明す
る。
FIG. 13 is a network address setting process flowchart (7) in the embodiment of the present invention. In this method, the IP address of the set device is changed periodically. The set machine holds a plurality of IP addresses, and after a certain period of time, changes the setting from the current IP address to the next IP address. Here, these IP addresses will be described as network addresses n (n = 1, 2, 3, ...) By numbering them sequentially from 1 for convenience.

【0062】まず,ネットワークアドレスの番号nの初
期値を1とし(S60),被設定機をネットワークアド
レスn番(1番)で起動する(S61)。一定時間経過
後,次に変更するネットワークアドレス(n+1番)が
使用されていないかどうか確認し(S62),使用され
ていなければ,現在のネットワークアドレス(n番)を
次のネットワークアドレス(n+1番)に設定変更し
(S63),ネットワークアドレスの番号nに1を加え
る(S65)。その後,一定時間経過したらステップS
62へ戻り(S65),処理を繰り返す。
First, the initial value of the network address number n is set to 1 (S60), and the set machine is started up with the network address n (1) (S61). After a certain period of time, it is confirmed whether or not the network address (n + 1) to be changed next is not used (S62). If not, the current network address (n) is changed to the next network address (n + 1). ) Is changed (S63), and 1 is added to the network address number n (S65). After that, when a certain time has passed, step S
Returning to 62 (S65), the process is repeated.

【0063】ステップS62において,n+1番のIP
アドレスが使用されていれば,保持している複数のIP
アドレスの中からネットワークアドレス(n+1番)の
IPアドレスを削除し(S66),ネットワークアドレ
スの番号nに1を加える(S67)。その後,ステップ
S62へ戻り,その次のネットワークアドレスの使用の
有無についてチェックする。使用されていないネットワ
ークアドレスが見つかるまでこの処理を繰り返す。
In step S62, the n + 1th IP
Multiple IPs held if the address is used
The IP address of the network address (n + 1) is deleted from the addresses (S66), and 1 is added to the network address number n (S67). After that, the process returns to step S62, and it is checked whether or not the next network address is used. This process is repeated until an unused network address is found.

【0064】ここで,被設定機が使用可能な複数のIP
アドレスは,被設定機が動作時にネットワーク上から収
集するようにしてもよい。
Here, a plurality of IPs that can be used by the set machine
The address may be collected from the network when the device to be set operates.

【0065】図14は,本発明の実施の形態における使
用可能アドレス表の作成処理フローチャート(1)であ
る。例えば,被設定機のIPアドレスが192.168.32.1,
サブネットマスクが255.255.255.240 であった場合,こ
のネットワークに設定可能なIPアドレスは,192.168.
32.1から192.168.32.15 までの15個である。この場合
の 192.168.32.m のIPアドレスに対して,使用中かど
うか確認する。具体的には,m=1からm=15(=
k:最終の番号)までの各IPアドレスに対してpin
gを実行し,レスポンスの有無により使用中かどうかを
確認する。
FIG. 14 is a flowchart (1) of processing for creating a usable address table in the embodiment of the present invention. For example, if the IP address of the target machine is 192.168.32.1,
If the subnet mask is 255.255.255.240, the IP address that can be set for this network is 192.168.
There are 15 from 32.1 to 192.168.32.15. In this case, check whether the IP address of 192.168.32.m is being used. Specifically, m = 1 to m = 15 (=
k: pin for each IP address up to the final number)
Execute g and check if it is in use by the presence or absence of a response.

【0066】まず,mに初期値の0を代入する(S7
0)。次に,mに1を加算し(S71),IPアドレス
192.168.32.mが使用中であるかどうかを確認する(S7
2)。使用中でなければ,そのIPアドレス192.168.3
2.mを未使用チェック表に格納して(S73),ステッ
プS74へ進み,使用中であればそのままステップS7
4へ進む。mが最終(この場合m=k=15)であるか
どうかを確認し(S74),最終でなければステップS
71へ戻って同様に処理を繰り返す。最終であれば,未
使用チェック表の結果を使用可能アドレス表として格納
し(S75),処理を終了する。
First, the initial value 0 is substituted for m (S7).
0). Next, add 1 to m (S71), and IP address
Check if 192.168.32.m is in use (S7
2). If not in use, its IP address 192.168.3
2.m is stored in the unused check table (S73), the process proceeds to step S74, and if it is in use, step S7 is immediately performed.
Go to 4. It is confirmed whether or not m is final (in this case, m = k = 15) (S74), and if not final, step S
Returning to 71, the same process is repeated. If it is final, the result of the unused check table is stored as a usable address table (S75), and the process is terminated.

【0067】ネットワークに接続されている機器が被設
定機のサービスを使用する場合,サービスを使用する機
器(以下,クライアントと称する)は,被設定機のIP
アドレスを知らなければならない。被設定機は,あらか
じめ定めたタイミングで,自分のIPアドレスをブロー
ドキャストで全機器に通知する(図8参照)。クライア
ントは,被設定機からのブロードキャストパケットの内
容から,被設定機とのネットワーク接続を確立する。
When the device connected to the network uses the service of the set device, the device using the service (hereinafter, referred to as a client) is the IP of the set device.
I have to know the address. The set device broadcasts its own IP address to all devices at a predetermined timing (see FIG. 8). The client establishes a network connection with the set device based on the contents of the broadcast packet from the set device.

【0068】例えば,被設定機がプリンタであった場
合,クライアントはブロードキャストパケットの内容か
らプリンタのIDアドレスを取得し,プリンタドライバ
の設定ファイル内に接続先IPアドレスとして設定す
る。
For example, when the set machine is a printer, the client acquires the printer ID address from the contents of the broadcast packet and sets it as the connection destination IP address in the printer driver setting file.

【0069】ここでは,被設定機が,あらかじめ定めた
タイミングでブロードキャストを発信するとしている
が,クライアントが,被設定機に対してブロードキャス
トによるネットワークアドレスの発信を要求してもよ
い。クライアントの起動時,あるいは被設定機のサービ
スを使用するときに,クライアントは,ブロードキャス
トで被設定機の情報取得を要求する。被設定機は,クラ
イアントからの情報要求に応じて,IPアドレス等のネ
ットワークアドレスを,クライアントへのユニキャス
ト,あるいはネットワーク全体へのブロードキャストと
して発信する。クライアントは,被設定機からのブロー
ドキャストパケットの内容から,被設定機とのネットワ
ーク接続を確立する。
Here, the set machine transmits the broadcast at a predetermined timing, but the client may request the set machine to broadcast the network address. When the client starts up or uses the service of the set machine, the client broadcasts to request the information of the set machine. The set machine transmits a network address such as an IP address as a unicast to the client or as a broadcast to the entire network in response to an information request from the client. The client establishes a network connection with the set device based on the contents of the broadcast packet from the set device.

【0070】しかし,ブロードキャストパケットの発信
は,ネットワークに負荷をかけてしまう。そこで,ブロ
ードキャストを多用することなく,被設定機のIPアド
レス変更に対応する以下の方法を提案する。この方法で
被設定機は,あらかじめ定めたIPアドレス表,あるい
はルールに従って,IPアドレスを変更する。そして,
被設定機での変更処理と同じ処理を,クライアント側で
同一のタイミングで実行すれば,被設定機とクライアン
ト間で通信を行うことなく,被設定機のIPアドレスの
変更に同期できる。
However, the transmission of the broadcast packet puts a load on the network. Therefore, we propose the following method that corresponds to the change of the IP address of the device to be set without heavy use of broadcasting. In this way, the setter changes the IP address according to a predetermined IP address table or rules. And
If the same process as the change process on the set machine is executed at the same timing on the client side, it is possible to synchronize with the change of the IP address of the set machine without communication between the set machine and the client.

【0071】また,被設定機のIPアドレスを被設定機
が検出する方法もある。この方法も,被設定機とクライ
アントが同一のタイミングで同じ処理を実行してもよい
が,機器の検出をするためのパケット(ping)が大
幅に増加するため,ネットワークの負荷が増大してしま
う。そのため,被設定機がアドレス表を更新した後,ブ
ロードキャストパケット,または特定クライアント向け
のマルチキャストにて,クライアントに使用可能アドレ
ス表を送信するようにしてもよい。
There is also a method in which the set machine detects the IP address of the set machine. In this method as well, the device to be set and the client may execute the same processing at the same timing, but the packet (ping) for detecting the device increases significantly, which increases the load on the network. . Therefore, the settable device may update the address table and then transmit the usable address table to the client by a broadcast packet or a multicast for a specific client.

【0072】図15は,本発明の実施の形態における使
用可能アドレス表の作成処理フローチャート(2)であ
る。例えば,図14のときと同様に,被設定機のIPア
ドレスが192.168.32.1,サブネットマスクが255.255.25
5.240 であった場合,このネットワークに設定可能なI
Pアドレスは192.168.32.1から192.168.32.15 までの1
5個である。この場合の 192.168.32.m のIPアドレス
に対して,使用中かどうかを確認する。具体的には,m
=1からm=15(=k:最終の番号)までの各IPア
ドレスに対してpingを実行し,レスポンスの有無に
より使用中かどうかを確認する。
FIG. 15 is a flowchart (2) of the processing for creating the usable address table in the embodiment of the present invention. For example, as in the case of FIG. 14, the IP address of the device to be set is 192.168.32.1 and the subnet mask is 255.255.25.
If it is 5.240, I can be set for this network.
P address is 1 from 192.168.32.1 to 192.168.32.15
There are five. Check if the IP address of 192.168.32.m in this case is being used. Specifically, m
Ping is executed for each IP address from = 1 to m = 15 (= k: final number), and it is confirmed whether or not it is in use by the presence or absence of a response.

【0073】まず,mに初期値の0を代入する(S8
0)。次に,mに1を加算し(S81),IPアドレス
192.168.32.mが使用中であるかどうかを確認する(S8
2)。使用中でなければ未使用チェック表に格納して
(S83),ステップS84へ進み,使用中であればそ
のままステップS84へ進む。mが最終(この場合m=
k=15)であるかどうかを確認し(S84),最終で
なければステップS81へ戻って処理を繰り返す。
First, the initial value 0 is substituted for m (S8).
0). Next, add 1 to m (S81) to obtain the IP address
Check if 192.168.32.m is in use (S8)
2). If it is not in use, it is stored in the unused check table (S83), and the process proceeds to step S84. If it is in use, the process directly proceeds to step S84. m is final (in this case m =
It is confirmed whether or not k = 15) (S84), and if not final, the process returns to step S81 to repeat the process.

【0074】mが最終であれば未使用チェック表の結果
を使用可能アドレス表として格納し(S85),ブロー
ドキャストパケット,または特定クライアント向けのマ
ルチキャストにて,クライアントに使用可能アドレス表
を送信し(S86),処理を終了する。
If m is the final value, the result of the unused check table is stored as a usable address table (S85), and the usable address table is transmitted to the client by a broadcast packet or a multicast for a specific client (S86). ), The processing ends.

【0075】[0075]

【実施例】図16は,本発明の第1の実施例のシステム
構成を示す。このシステムは,複数の機器を接続可能で
あるネットワーク30と,ネットワーク30上にすでに
接続されている機器である設定機10と,ネットワーク
30上に新たに接続するネットワークアドレス設定の対
象機器である被設定機20とからなる。設定機10は,
通常のパソコン(PC)でよい。
FIG. 16 shows the system configuration of the first embodiment of the present invention. This system includes a network 30 to which a plurality of devices can be connected, a setting device 10 that is a device already connected to the network 30, and a device that is a target device for network address setting that is newly connected to the network 30. It comprises a setting machine 20. The setting machine 10
A normal personal computer (PC) will do.

【0076】設定機10は,ネットワークアドレス算出
部11と,ネットワーク設定保持部12と,ネットワー
クアドレス確認部13と,ネットワーク接続部14とを
有する。設定機10がPCである場合に,ネットワーク
アドレス算出部11,ネットワークアドレス確認部13
等は,アドレス自動設定用のソフトウェアプログラムに
よって実現される。また,被設定機20は,ネットワー
ク接続部21と,ネットワークアドレス判定部22と,
ネットワークアドレス設定部23と,ネットワーク設定
保持部24とを有する。
The setting machine 10 has a network address calculation unit 11, a network setting holding unit 12, a network address confirmation unit 13, and a network connection unit 14. When the setting machine 10 is a PC, the network address calculation unit 11 and the network address confirmation unit 13
Etc. are realized by a software program for automatic address setting. Further, the setting target device 20 includes a network connection unit 21, a network address determination unit 22,
It has a network address setting unit 23 and a network setting holding unit 24.

【0077】設定機10において,ネットワークアドレ
ス算出部11は,ネットワーク設定保持部12に保持さ
れている設定機10のネットワークアドレスを確認し,
設定機10が接続されているネットワーク30の情報を
取得する。そして,ネットワークアドレス算出部11
は,その取得したネットワーク30の情報から,被設定
機20に設定可能なネットワークアドレスを算出する。
In the setting machine 10, the network address calculating section 11 confirms the network address of the setting machine 10 held in the network setting holding section 12,
Information on the network 30 to which the setting device 10 is connected is acquired. Then, the network address calculation unit 11
Calculates the network address that can be set in the setter 20 from the acquired information on the network 30.

【0078】例えば,ネットワーク設定保持部12に保
持されているネットワークアドレスが,以下のとおりで
あったとする。
For example, suppose that the network address held in the network setting holding unit 12 is as follows.

【0079】・IPアドレス:192.168.32.2 ・サブネットマスク:255.255.255.240 ・ネットワーク番号:192.168.32.0 ・ブロードキャストアドレス:192.168.32.255 ・デフォルトゲートウェイ:192.168.32.1 このとき,被設定機20に設定可能なネットワークアド
レスは,次のとおりとなる。
・ IP address: 192.168.32.2 ・ Subnet mask: 255.255.255.240 ・ Network number: 192.168.32.0 ・ Broadcast address: 192.168.32.255 ・ Default gateway: 192.168.32.1 At this time, the network that can be set in the target machine 20 The address is as follows.

【0080】・IPアドレス:192.168.32.3〜192.168.
32.15 ・サブネットマスク:255.255.255.240 (設定機10と
同じ) ・ネットワーク番号:192.168.32.0(設定機10と同
じ) ・ブロードキャストアドレス:192.168.32.255(設定機
10と同じ) ・デフォルトゲートウェイ:192.168.32.1(設定機10
と同じ) ネットワークアドレス算出部11は,これらの情報を,
ネットワークアドレス確認部13に送信する。ネットワ
ークアドレス確認部13は,ネットワークアドレス算出
部11が算出したIPアドレスが,使用中かどうかを確
認する。具体的には,192.168.32.3から192.168.32.15
までのIPアドレスに対して,ネットワーク接続部14
(例えばLANカード)を経由してネットワーク30に
向け,pingを発信し,反応があるかどうかを確認す
る。反応があった場合,そのIPアドレスは他の機器が
使用中であるため,被設定機へは通知しない。反応がな
かった場合,そのIPアドレスは未使用であると判断す
ることができる。
IP address: 192.168.32.3 to 192.168.
32.15 ・ Subnet mask: 255.255.255.240 (same as setting machine 10) ・ Network number: 192.168.32.0 (same as setting machine 10) ・ Broadcast address: 192.168.32.255 (same as setting machine 10) ・ Default gateway: 192.168.32.1 (Setting machine 10
The same as the network address calculation unit 11
It is transmitted to the network address confirmation unit 13. The network address confirmation unit 13 confirms whether the IP address calculated by the network address calculation unit 11 is in use. Specifically, 192.168.32.3 to 192.168.32.15
Network connection section 14 for the IP addresses up to
A ping is sent to the network 30 via (for example, a LAN card) and it is confirmed whether there is a response. If there is a response, the IP address is not used by the other device because it is being used by another device. When there is no response, it can be determined that the IP address is unused.

【0081】設定機10は,未使用のIPアドレスが見
つかったとき,ネットワーク接続部14を経由して,そ
のIPアドレスを他のネットワークアドレスの情報とと
もに,あるいはすべてのネットワークアドレスをチェッ
クして得られた複数の未使用IPアドレスを,他のネッ
トワークアドレスの情報とともにブロードキャストパケ
ットで発信する。ブロードキャストパケットは,ネット
ワーク30に接続されているすべての機器に対して発信
するため,ネットワーク設定が行われていない被設定機
20でも受信することができる。
When an unused IP address is found, the setting machine 10 obtains the IP address via the network connection unit 14 together with information on other network addresses or by checking all network addresses. A plurality of unused IP addresses are transmitted as broadcast packets together with information on other network addresses. Since the broadcast packet is transmitted to all the devices connected to the network 30, it can be received even by the setter 20 to which the network setting is not made.

【0082】被設定機20において,ネットワーク接続
部21は,設定機10からのブロードキャストパケット
を受信し,ネットワークアドレス判定部22に送信す
る。ネットワーク30上では,設定機10が発信したブ
ロードキャストパケット以外にも,多くのブロードキャ
ストパケットが流れている。
In the set machine 20, the network connection section 21 receives the broadcast packet from the set machine 10 and sends it to the network address determination section 22. On the network 30, many broadcast packets are flowing in addition to the broadcast packets transmitted by the setting device 10.

【0083】ネットワークアドレス判定部22は,受信
したブロードキャストパケットの情報を解析して,設定
機10から被設定機20へ送られたネットワークアドレ
スの情報かどうかを確認する。受信したブロードキャス
トパケットが,設定機10からのネットワークアドレス
でなかった場合には,該ブロードキャストパケットは破
棄する。該ブロードキャストパケットが,設定機10か
らのネットワークアドレスの情報であった場合,ネット
ワークアドレス判定部22は,ネットワークアドレスを
ネットワークアドレス設定部23に送る。
The network address determination unit 22 analyzes the information of the received broadcast packet and confirms whether the information is the network address information sent from the setting machine 10 to the setting machine 20. If the received broadcast packet is not the network address from the setting device 10, the broadcast packet is discarded. When the broadcast packet is information on the network address from the setting device 10, the network address determination unit 22 sends the network address to the network address setting unit 23.

【0084】ネットワークアドレス設定部23は,受信
したネットワークアドレスをネットワーク設定保持部2
4に送り,ネットワークを再起動する。これ以後,被設
定機20は,設定機10が算出したネットワークアドレ
スで起動する。設定機10が算出したネットワークアド
レスで,正しいネットワーク接続が行われているかどう
か確認するためには,ネットワークの再起動後,被設定
機20から設定機10に対してユニキャスト(例えばp
ing)を発信し,設定機10はユニキャストを受けた
ら返信を行う。設定機10は被設定機20からのユニキ
ャストによって,また被設定機20は設定機10からの
返信によって,ネットワーク設定が正しく行われたこと
を確認できる。
The network address setting unit 23 uses the received network address as the network setting holding unit 2
4 and restart the network. After that, the setter 20 starts up with the network address calculated by the setter 10. In order to confirm whether or not the correct network connection is made with the network address calculated by the setting machine 10, after restarting the network, the settable machine 20 sends a unicast (for example, p
ing), and the setting machine 10 sends a reply when receiving the unicast. The setting machine 10 can confirm that the network settings have been made correctly by unicast from the setting machine 20 and by the reply from the setting machine 20.

【0085】図17は,本発明の第2の実施例のシステ
ム構成を示す。このシステムは,複数の機器を接続可能
であるネットワーク30と,ネットワーク30上にすで
に接続されている機器である設定機10と,ネットワー
ク30上に新たに接続されたネットワーク設定の対象機
器である被設定機40とを有する。
FIG. 17 shows the system configuration of the second embodiment of the present invention. This system includes a network 30 to which a plurality of devices can be connected, a setting device 10 which is a device already connected to the network 30, and a device which is a target device for network setting newly connected to the network 30. And a setting machine 40.

【0086】設定機10は,ネットワークアドレス算出
部11と,ネットワーク設定保持部12と,ネットワー
クアドレス確認部13と,ネットワーク接続部14とを
有する。また,被設定機40は,ネットワーク接続部4
1と,ネットワークアドレス判定部42と,ネットワー
クアドレス保持部43と,ネットワークアドレス選択部
44と,ネットワーク設定保持部45とを有する。
The setting machine 10 has a network address calculation unit 11, a network setting holding unit 12, a network address confirmation unit 13, and a network connection unit 14. In addition, the settable device 40 has the network connection unit 4
1, a network address determination unit 42, a network address holding unit 43, a network address selection unit 44, and a network setting holding unit 45.

【0087】設定機10において,ネットワークアドレ
ス算出部11は,ネットワーク設定保持部12に保持さ
れている設定機10のネットワークアドレスを確認し,
設定機10が接続されているネットワーク30の情報を
取得する。そして,その取得したネットワーク30の情
報から,被設定機40に設定可能なネットワークアドレ
スを算出し,ネットワークアドレス確認部13に送信す
る。ネットワークアドレス確認部13は,ネットワーク
アドレス算出部11が算出したネットワークアドレスの
IPアドレスが,それぞれ使用中かどうかを確認する。
すべてのネットワークアドレスを確認して,そこで得ら
れた複数の未使用IPアドレスは,ネットワーク接続部
14から,ブロードキャストパケットで発信される。
In the setting machine 10, the network address calculating section 11 confirms the network address of the setting machine 10 held in the network setting holding section 12,
Information on the network 30 to which the setting device 10 is connected is acquired. Then, a network address that can be set in the set target device 40 is calculated from the acquired information about the network 30, and is transmitted to the network address confirmation unit 13. The network address confirmation unit 13 confirms whether the IP addresses of the network addresses calculated by the network address calculation unit 11 are in use.
After confirming all the network addresses, the plurality of unused IP addresses obtained there is transmitted from the network connection unit 14 in a broadcast packet.

【0088】設定機10が複数のIPアドレスを検出
し,それを被設定機40に送信した場合,被設定機40
において,ネットワーク接続部41は,設定機10から
のブロードキャストパケットを受信し,ネットワークア
ドレス判定部42に送信する。ネットワークアドレス判
定部42は,受信したブロードキャストパケットの情報
を解析して,設定機10から被設定機40へ送られた複
数のIPアドレスかどうかを確認する。
When the setting machine 10 detects a plurality of IP addresses and sends them to the setting machine 40, the setting machine 40
At, the network connection unit 41 receives the broadcast packet from the setting machine 10 and sends it to the network address determination unit 42. The network address determination unit 42 analyzes the information of the received broadcast packet and confirms whether the IP address is a plurality of IP addresses transmitted from the setting machine 10 to the set machine 40.

【0089】設定機10からの複数のIPアドレスであ
った場合,ネットワークアドレス判定部42は,複数の
IPアドレスをネットワークアドレス保持部43に送
り,ネットワークアドレス保持部43は,その複数のI
PアドレスをIPアドレス一覧として保持する。ネット
ワークアドレス選択部44は,ネットワークアドレス保
持部43に保持されているIPアドレス一覧の中から,
現在使用されていないIPアドレスを選択し,ネットワ
ーク設定保持部45に保持し,ネットワークを再起動す
る。
When there are a plurality of IP addresses from the setting machine 10, the network address judging section 42 sends the plurality of IP addresses to the network address holding section 43, and the network address holding section 43 makes the plurality of I addresses.
The P address is held as a list of IP addresses. The network address selection unit 44 selects from the IP address list held in the network address holding unit 43,
An IP address that is not currently used is selected, held in the network setting holding unit 45, and the network is restarted.

【0090】設定機が複数の未使用IPアドレスを検出
するのではなく,被設定機側で未使用IPアドレスを検
出するようにする実施も可能である。図18は,本発明
の第3の実施例のシステム構成を示す。このシステム
は,複数の機器を接続可能であるネットワーク30と,
ネットワーク30上にすでに接続されている機器である
設定機50と,ネットワーク30上に新たに接続するネ
ットワーク設定の対象機器である被設定機60とを有す
る。
Instead of the setting machine detecting a plurality of unused IP addresses, the setting machine may detect an unused IP address. FIG. 18 shows the system configuration of the third embodiment of the present invention. This system includes a network 30 to which a plurality of devices can be connected,
A setting machine 50, which is a device already connected to the network 30, and a set machine 60, which is a device to be newly connected to the network 30 for network setting, are provided.

【0091】設定機50は,ネットワークアドレス算出
部51と,ネットワーク設定保持部52と,ネットワー
ク接続部53とを有する。また,被設定機60は,ネッ
トワーク接続部61と,ネットワークアドレス判定部6
2と,ネットワークアドレス保持部63と,空きネット
ワークアドレス検出部64と,ネットワークアドレス選
択部65と,ネットワーク設定保持部66とを有する。
The setting machine 50 has a network address calculation unit 51, a network setting holding unit 52, and a network connection unit 53. Further, the set machine 60 includes a network connection unit 61 and a network address determination unit 6
2, a network address holding unit 63, a free network address detecting unit 64, a network address selecting unit 65, and a network setting holding unit 66.

【0092】設定機50において,ネットワークアドレ
ス算出部51は,ネットワーク設定保持部52に保持さ
れている設定機50のネットワークアドレスを確認し,
設定機50が接続されているネットワーク30の情報を
取得する。そして,その取得したネットワーク30の情
報から1または複数のIPアドレスを算出し,ネットワ
ーク接続部53から,ブロードキャストパケットで発信
する。
In the setting machine 50, the network address calculating section 51 confirms the network address of the setting machine 50 held in the network setting holding section 52,
Information on the network 30 to which the setting device 50 is connected is acquired. Then, one or a plurality of IP addresses are calculated from the acquired information on the network 30, and the network connection unit 53 transmits the IP address in a broadcast packet.

【0093】被設定機60において,ネットワーク接続
部61は,設定機50からのブロードキャストパケット
を受信し,ネットワークアドレス判定部62に送信す
る。ネットワークアドレス判定部62は,受信したブロ
ードキャストパケットの情報を解析して,設定機50か
ら被設定機60へ送られた1または複数のIPアドレス
かどうかを確認する。
In the set machine 60, the network connection section 61 receives the broadcast packet from the set machine 50 and sends it to the network address determination section 62. The network address determination unit 62 analyzes the information of the received broadcast packet and confirms whether the IP address is one or a plurality of IP addresses sent from the setting device 50 to the setting device 60.

【0094】設定機50からの1または複数のIPアド
レスであった場合,ネットワークアドレス判定部62
は,1または複数のIPアドレスをネットワークアドレ
ス保持部63へ送り,ネットワークアドレス保持部63
は,その1または複数のIPアドレスをIPアドレスの
一覧情報として保持する。
If there is one or a plurality of IP addresses from the setting device 50, the network address judging unit 62
Sends one or a plurality of IP addresses to the network address holding unit 63, and the network address holding unit 63
Holds one or more IP addresses as IP address list information.

【0095】空きネットワークアドレス検出部64は,
ネットワークアドレス保持部63に保持されているIP
アドレスの一覧情報をもとに,該ネットワーク30で使
用できるIPアドレスを算出する。算出した各IPアド
レスに対して,ネットワーク30で使用されているかど
うかを検出し,検出されたすべての未使用IPアドレス
をネットワークアドレス保持部63に保持して保持情報
を変更する。これにより,被設定機60側で,定期的に
使用可能な未使用IPアドレスを算出することができ
る。
The free network address detection unit 64 is
IP held in the network address holding unit 63
An IP address that can be used in the network 30 is calculated based on the address list information. For each calculated IP address, it is detected whether or not it is used in the network 30, and all the unused IP addresses detected are held in the network address holding unit 63 and the holding information is changed. As a result, the settable device 60 side can regularly calculate an unused IP address that can be used.

【0096】ネットワークアドレス選択部65は,ネッ
トワークアドレス保持部63に保持されている未使用I
Pアドレスの一覧の中から,現在使用されていないIP
アドレスを選択し,ネットワーク設定保持部66に保持
し,ネットワークを再起動する。
The network address selecting unit 65 uses the unused I held in the network address holding unit 63.
IP that is not currently used from the list of P addresses
The address is selected, held in the network setting holding unit 66, and the network is restarted.

【0097】ここまで説明してきたように,本発明で
は,設定機が被設定機のネットワーク設定をする際,I
Pアドレスの使用の有無をチェックしている。そのた
め,被設定機のIPアドレスを決定する際には,ネット
ワーク上のすべての機器がネットワークに接続されてい
る必要がある。ネットワークに接続されていない場合,
後日,被設定機と同一のIPアドレスを持っていた機器
があった場合に,IPアドレスの衝突が発生する。その
ため,設定時には,ネットワークに接続されているすべ
ての機器の電源を投入し,設定機とその他の機器とが,
通信可能の状態である必要がある。
As described above, according to the present invention, when the setting machine performs the network setting of the set machine, the I
Whether or not the P address is used is checked. Therefore, when determining the IP address of the set target device, all devices on the network need to be connected to the network. If you are not connected to the network,
At a later date, if there is a device that has the same IP address as the set machine, an IP address collision will occur. Therefore, at the time of setting, turn on the power of all the devices connected to the network, and the setting machine and other devices
It is necessary to be able to communicate.

【0098】具体的には,あらかじめユーザが電源を投
入する,あるいは,設定機がブザー等を鳴らしてユーザ
に電源の投入を促す,または各ネットワーク上の機器に
パワーマネジメント機能を組み込み,未使用ネットワー
クアドレス検出前に電源が投入されるよう制御する等の
方法がある。
Specifically, the user turns on the power in advance, or the setting machine sounds a buzzer or the like to urge the user to turn on the power, or a power management function is incorporated in the device on each network to use an unused network. There is a method of controlling so that the power is turned on before the address detection.

【0099】ここで,各ネットワーク上の機器にパワー
マネジメント機能を組み込み,未使用IPアドレス検出
前に電源が投入されるよう制御するシステムの例を,図
19に従って説明する。図19は,本発明の第4の実施
例のシステム構成を示す。このシステムは,複数の機器
を接続可能であるネットワーク30と,ネットワーク3
0上にすでに接続されている機器である,設定機70,
PC80,PC81,プリンタ82と,各機器(PC8
0,PC81,プリンタ82等)に電源を供給する電源
供給部90とを有する。
Here, an example of a system in which the power management function is incorporated in the devices on each network and the power is turned on before the unused IP address is detected will be described with reference to FIG. FIG. 19 shows the system configuration of the fourth embodiment of the present invention. This system includes a network 30 to which a plurality of devices can be connected and a network 3
0, which is a device already connected to the setting machine 70,
PC80, PC81, printer 82 and each device (PC8
0, a PC 81, a printer 82, etc.).

【0100】また,設定機70は,ネットワークアドレ
ス算出部71と,ネットワーク設定保持部72と,ネッ
トワークアドレス確認部73と,パワーマネジメント制
御部74と,ネットワーク接続部75とを有する。
Further, the setting machine 70 has a network address calculation unit 71, a network setting holding unit 72, a network address confirmation unit 73, a power management control unit 74, and a network connection unit 75.

【0101】設定機70において,ネットワークアドレ
ス算出部71は,ネットワーク設定保持部72に保持さ
れている設定機70のネットワークアドレスを確認し,
設定機70が接続されているネットワーク30の情報を
取得する。そして,その取得したネットワーク30の情
報から,被設定機に設定可能なIPアドレスを算出し,
ネットワークアドレス確認部73に送信する。
In the setting machine 70, the network address calculating section 71 confirms the network address of the setting machine 70 held in the network setting holding section 72,
The information of the network 30 to which the setting device 70 is connected is acquired. Then, from the acquired information of the network 30, an IP address that can be set in the setting target device is calculated,
It is transmitted to the network address confirmation unit 73.

【0102】ネットワークアドレス確認部73は,IP
アドレスの使用の有無の確認に先立って,パワーマネジ
メント制御部74に電源投入信号を送る。パワーマネジ
メント制御部74は,電源投入信号を受けて,電源供給
部90に信号を送る。電源供給部90には,ネットワー
ク30上のすべての機器(図19ではPC80,PC8
1およびプリンタ82)が接続されている。それらの機
器に対して,ユーザは,前面のボタン等で電源を投入で
きる。電源供給部90は,パワーマネジメント制御部7
4からの信号を受けて,電源が投入されていない機器に
電源を供給して起動させる。
The network address confirming unit 73 uses the IP
A power-on signal is sent to the power management control unit 74 prior to checking whether or not the address is used. The power management control unit 74 receives the power-on signal and sends a signal to the power supply unit 90. The power supply unit 90 includes all the devices on the network 30 (PC80, PC8 in FIG. 19).
1 and the printer 82) are connected. The user can turn on the power to these devices with the buttons on the front. The power supply unit 90 includes the power management control unit 7
In response to the signal from 4, the power is supplied to the device which is not powered and the device is activated.

【0103】ネットワークアドレス確認部73は,電源
投入信号発信後,一定時間経過した後,ネットワークア
ドレス算出部71が算出したすべてのネットワークアド
レスが,それぞれ使用中かどうかを確認する。その確認
後,ネットワークアドレス確認部73は,電源切断信号
をパワーマネジメント制御部74に送信する。パワーマ
ネジメント制御部74は,ユーザが起動を指定していな
い機器の電源を遮断するよう,電源供給部90に信号を
送信する。電源供給部90は該信号を受けて,ユーザが
起動を指定していない機器の電源を切断する。その後,
未使用IPアドレスは,ネットワーク接続部75から,
ブロードキャストパケットで発信される。
The network address confirming unit 73 confirms whether or not all the network addresses calculated by the network address calculating unit 71 are in use after a lapse of a certain time after the power-on signal is transmitted. After the confirmation, the network address confirmation unit 73 sends a power-off signal to the power management control unit 74. The power management control unit 74 sends a signal to the power supply unit 90 so as to cut off the power supply of the device for which the user has not designated activation. Upon receiving the signal, the power supply unit 90 turns off the power of the device for which the user has not designated activation. afterwards,
The unused IP address is
It is sent in broadcast packets.

【0104】これにより,設定機70が未使用IPアド
レスの検出を行っているときは,常に,ネットワーク3
0上の機器が,一旦立ち上がることになる。すべての機
器が立ち上がっている場合には,被設定機の設定後にI
Pアドレスの衝突が発生することはない。
As a result, when the setting machine 70 is detecting an unused IP address, the network 3 is always
The equipment above 0 will start up once. If all devices are up, I
There will be no P address collision.

【0105】以下に,本発明の実施例の特徴を列挙す
る。
The features of the embodiments of the present invention will be listed below.

【0106】(付記1) ネットワーク上に接続された
機器のネットワーク情報を設定する方法であって,同一
ネットワーク内のネットワークアドレスを算出する過程
と,前記ネットワークアドレスが使用されているかどう
かを検出する過程と,前記検出した使用されていないネ
ットワークアドレスを送信する過程と,前記ネットワー
クアドレスを受信した機器は該アドレスを用いてネット
ワーク設定を行う過程とを有することを特徴とするアド
レス自動設定方法。 (付記2) ネットワーク上に接続された機器のネット
ワーク情報を設定する方法であって,同一ネットワーク
上に接続可能な設定がされている機器のネットワーク接
続を行う過程と同一ネットワーク内のネットワークアド
レスを算出する過程と,前記ネットワークアドレスが使
用されているかどうかを検出する過程と,前記検出した
使用されていないネットワークアドレスを送信する過程
と,前記ネットワークアドレスを受信した機器は該アド
レスを用いてネットワーク設定を行う過程とを有するこ
とを特徴とするアドレス自動設定方法。 (付記3) 付記1または付記2記載のアドレス自動設
定方法において,前記ネットワークアドレスを算出する
過程は,自己のネットワークアドレス設定値からネット
ワークの情報を算出することを特徴とするアドレス自動
設定方法。 (付記4) 付記1,付記2または付記3記載のアドレ
ス自動設定方法において,前記ネットワークアドレスを
受信し設定した被設定機は,ネットワーク設定後,前記
ネットワークアドレスを送信した設定機とユニキャスト
通信を行ってネットワーク設定が正しいことを確認し,
ネットワーク設定が不正であった場合,前記設定機に対
してブロードキャスト通信でその旨を通知し,前記設定
機は,該ブロードキャスト受信時に別の使用されていな
いネットワークアドレスを前記被設定機に送信すること
を特徴とするアドレス自動設定方法。 (付記5) ネットワーク接続された機器のネットワー
ク情報を通知する方法であって,ブロードキャストによ
って自己のネットワーク情報を通知する過程と,該ブロ
ードキャストを受信してブロードキャストを発信した機
器とのネットワーク設定を行う過程とを有することを特
徴とするアドレス自動設定方法。 (付記6) ネットワーク上に接続された機器のネット
ワーク情報を設定する方法であって,接続したネットワ
ークによらずに決定した第1のネットワークアドレスを
保持する過程と,接続したネットワークで使用可能な第
2のネットワークアドレスを保持する過程と,機器の起
動時に前記第1のネットワークアドレスを設定する過程
と,前記第2のネットワークアドレスが該ネットワーク
上ですでに使用されていないかどうかを確認する過程
と,前記第2のネットワークアドレスが使用されていな
い場合に,その第2のネットワークアドレスを設定する
過程とを有することを特徴とするアドレス自動設定方
法。
(Supplementary Note 1) A method of setting network information of a device connected to a network, a step of calculating a network address in the same network, and a step of detecting whether the network address is used An automatic address setting method comprising: a step of transmitting the detected unused network address; and a step of performing network setting by the device that has received the network address using the address. (Supplementary note 2) A method of setting network information of a device connected to the network, in which the network address in the same network is calculated in the process of connecting the devices that are set to be connectable to the same network. And a step of detecting whether the network address is used, a step of transmitting the detected unused network address, and a device receiving the network address uses the address to perform network setting. An automatic address setting method comprising the steps of: (Supplementary note 3) In the address automatic setting method according to supplementary note 1 or 2, the step of calculating the network address is characterized by calculating network information from the network address setting value of the self. (Supplementary note 4) In the address automatic setting method according to Supplementary note 1, Supplementary note 2 or Supplementary note 3, the setter that receives and sets the network address performs unicast communication with the setter that transmitted the network address after network setting. And make sure the network settings are correct,
When the network settings are incorrect, the setting machine is notified by broadcast communication, and the setting machine transmits another unused network address to the set machine when receiving the broadcast. Automatic address setting method characterized by. (Supplementary Note 5) A method of notifying network information of a device connected to a network, a process of notifying its own network information by broadcast, and a process of performing network setting with a device that has received the broadcast and transmitted the broadcast An automatic address setting method comprising: (Supplementary note 6) A method of setting network information of a device connected to a network, the process of holding the first network address determined regardless of the connected network, and the method usable in the connected network. Holding the second network address, setting the first network address when the device is started up, and checking whether the second network address is already used on the network. And a step of setting the second network address when the second network address is not used, the automatic address setting method.

【0107】(付記7) 付記6記載のアドレス自動設
定方法において,前記第2のネットワークアドレスを保
持する過程では,接続したネットワークで使用可能な複
数のアドレスを保持し,前記ネットワーク上ですでに使
用されていないかどうかを確認する過程において使用中
と判別された場合,保持しているネットワークアドレス
から別のネットワークアドレスを選択して再度確認する
ことを特徴とするアドレス自動設定方法。
(Supplementary Note 7) In the address automatic setting method according to Supplementary Note 6, in the process of retaining the second network address, a plurality of addresses usable in the connected network are retained and already used on the network. If it is determined that the network address is not being used in the process of checking whether it is not used, another network address is selected from the held network addresses and the address is checked again.

【0108】(付記8) 付記6記載のアドレス自動設
定方法において,前記ネットワーク上ですでに使用され
ていないかどうかを確認する過程において使用中と判別
された場合,前記第2のネットワークアドレスから別の
ネットワークアドレスを算出する過程を有し,ネットワ
ークアドレスを選択して再度確認することを特徴とする
アドレス自動設定方法。
(Supplementary Note 8) In the automatic address setting method according to Supplementary Note 6, when it is determined that the address is being used in the process of confirming whether the address is not already used on the network, it is determined from the second network address. A method for automatically setting an address, which comprises a step of calculating a network address of, and selects and confirms the network address again.

【0109】(付記9) ネットワーク上に接続された
機器のネットワーク情報を設定する方法であって,接続
したネットワークで使用可能な複数のネットワークアド
レスを保持する過程と,前記ネットワークアドレスが該
ネットワーク上ですでに使用されていないかどうかを確
認する過程と,使用されていた場合,前記保持されてい
るネットワークアドレスから該使用中ネットワークアド
レスを削除する過程と,未使用であった場合,ネットワ
ークの設定を該ネットワークアドレスに変更する過程と
を有し,定期的にネットワークアドレスを変更すること
を特徴とするアドレス自動設定方法。
(Supplementary note 9) A method of setting network information of a device connected to a network, a process of holding a plurality of network addresses usable in the connected network, and the network address is on the network In the case of being used, the process of confirming whether it is not used, in the process of deleting the used network address from the held network address, and in the case of being unused, the network setting is performed. A method of automatically setting an address, comprising the step of changing to the network address, and periodically changing the network address.

【0110】(付記10)付記7または付記9記載のア
ドレス自動設定方法において,前記ネットワークで使用
されていないネットワークアドレスを検出する過程と,
該検出結果をもとに,前記保持している使用可能なネッ
トワークアドレスを更新し,検出結果を反映する過程と
を有することを特徴とするアドレス自動設定方法。
(Supplementary note 10) A process of detecting a network address which is not used in the network in the address automatic setting method according to supplementary note 7 or supplementary note 9,
A method of automatically setting an address, comprising the steps of updating the available network address held therein based on the detection result and reflecting the detection result.

【0111】(付記11)付記9または付記10記載の
アドレス自動設定方法において,前記保持している使用
可能な複数のネットワークアドレスと同一のネットワー
クアドレスを保持する過程と,前記ネットワークアドレ
スが該ネットワーク上ですでに使用されていないかどう
かを確認する過程と,使用されていた場合,前記保持さ
れているネットワークアドレスから該使用中ネットワー
クアドレスを削除する過程と,未使用であった場合,接
続先ネットワークの設定を該ネットワークアドレスに変
更する過程とを有し,サーバのネットワークアドレス設
定変更のタイミングと同期して接続先ネットワークアド
レスを変更することを特徴とするアドレス自動設定方
法。
(Supplementary Note 11) In the address automatic setting method according to Supplementary Note 9 or Supplementary Note 10, a process of retaining the same network address as the retained plurality of usable network addresses, and the network address on the network. , A step of confirming whether the network address is already used, a step of deleting the in-use network address from the held network address if it is used, and a connection destination network if it is not used. And a step of changing the setting of the network address to the network address, and changing the connection destination network address in synchronization with the timing of changing the network address setting of the server.

【0112】[0112]

【発明の効果】以上説明したように,本発明は,DHC
Pのような専用のアドレス管理装置を用いることなく,
ネットワークに接続した機器のネットワーク設定を自動
的に行うことができる。その結果,専門の知識がなくて
もネットワーク機器の接続が可能であり,DHCPのよ
うな専用の機器を管理する必要がなく,サービスを提供
するサーバのIPアドレスが変動してもクライアント側
で追随することができるという効果を有する。
As described above, according to the present invention, the DHC
Without using a dedicated address management device such as P,
You can automatically configure the network settings of devices connected to the network. As a result, network equipment can be connected without specialized knowledge, there is no need to manage a dedicated equipment such as DHCP, and even if the IP address of the server that provides the service changes, the client side follows. It has the effect of being able to.

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

【図1】ネットワークアドレス設定処理フローチャート
(1)である。
FIG. 1 is a network address setting process flowchart (1).

【図2】ネットワークアドレス設定処理フローチャート
(2)である。
FIG. 2 is a network address setting processing flowchart (2).

【図3】ネットワーク設定の通信手順の例(1)を示す
図である。
FIG. 3 is a diagram illustrating an example (1) of a communication procedure for network setting.

【図4】ブロードキャストによる情報の送信例(1)を
示す図である。
FIG. 4 is a diagram showing an example (1) of transmitting information by broadcasting.

【図5】ユニキャストによる情報の送信例(1)を示す
図である。
FIG. 5 is a diagram showing an example (1) of transmitting information by unicast.

【図6】ユニキャストによる情報の送信例(2)を示す
図である。
FIG. 6 is a diagram showing an example (2) of transmitting information by unicast.

【図7】ネットワーク設定の通信手順の例(2)を示す
図である。
FIG. 7 is a diagram illustrating an example (2) of a communication procedure for network setting.

【図8】ブロードキャストによる情報の送信例(2)を
示す図である。
FIG. 8 is a diagram showing an example (2) of transmitting information by broadcasting.

【図9】ネットワークアドレス設定処理フローチャート
(3)である。
FIG. 9 is a network address setting process flowchart (3).

【図10】ネットワークアドレス設定処理フローチャー
ト(4)である。
FIG. 10 is a network address setting process flowchart (4).

【図11】ネットワークアドレス設定処理フローチャー
ト(5)である。
FIG. 11 is a network address setting process flowchart (5).

【図12】ネットワークアドレス設定処理フローチャー
ト(6)である。
FIG. 12 is a network address setting process flowchart (6).

【図13】ネットワークアドレス設定処理フローチャー
ト(7)である。
FIG. 13 is a network address setting process flowchart (7).

【図14】使用可能アドレス表の作成処理フローチャー
ト(1)である。
FIG. 14 is a flowchart (1) of a process of creating a usable address table.

【図15】使用可能アドレス表の作成処理フローチャー
ト(2)である。
FIG. 15 is a flowchart (2) of processing for creating a usable address table.

【図16】第1の実施例のシステム構成を示す図であ
る。
FIG. 16 is a diagram showing a system configuration of a first embodiment.

【図17】第2の実施例のシステム構成を示す図であ
る。
FIG. 17 is a diagram showing a system configuration of a second embodiment.

【図18】第3の実施例のシステム構成を示す図であ
る。
FIG. 18 is a diagram showing a system configuration of a third embodiment.

【図19】第4の実施例のシステム構成を示す図であ
る。
FIG. 19 is a diagram showing a system configuration of a fourth embodiment.

【図20】従来のDHCPによるネットワーク設定シス
テムの構成例を示す図である。
FIG. 20 is a diagram showing a configuration example of a conventional network setting system using DHCP.

【図21】DHCPによるアドレス割り当ての手順を示
す図である。
FIG. 21 is a diagram showing a procedure of address assignment by DHCP.

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

10,50,70 設定機 11,51,71 ネットワークアドレス算出部 12,52,72 ネットワーク設定保持部 13,73 ネットワークアドレス確認部 14,53,75 ネットワーク接続部 20,40,60 被設定機 21,41,61 ネットワーク接続部 22,42,62 ネットワークアドレス判定部 23 ネットワークアドレス設定部 24,45,66 ネットワーク設定保持部 30 ネットワーク 43,63 ネットワークアドレス保持部 44,65 ネットワークアドレス選択部 64 空きネットワークアドレス検出部 74 パワーマネジメント制御部 80,81 PC 82 プリンタ 90 電源供給部 10,50,70 setting machine 11,51,71 Network address calculator 12, 52, 72 Network setting holding unit 13,73 Network address confirmation section 14,53,75 Network connection 20,40,60 Target machine 21,41,61 Network connection 22, 42, 62 Network address determination unit 23 Network address setting section 24, 45, 66 Network setting holding unit 30 network 43, 63 Network address holding unit 44,65 Network address selector 64 Free network address detector 74 Power Management Control Unit 80, 81 PC 82 Printer 90 Power supply unit

フロントページの続き Fターム(参考) 5B089 KA01 KB03 5K032 AA03 DA02 DB24 EA03 EC03Continued front page    F-term (reference) 5B089 KA01 KB03                 5K032 AA03 DA02 DB24 EA03 EC03

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 ネットワーク上に接続された機器のネッ
トワーク情報を設定する方法であって,同一ネットワー
ク内のネットワークアドレスを算出する過程と,前記ネ
ットワークアドレスが使用されているかどうかを検出す
る過程と,前記検出した使用されていないネットワーク
アドレスを送信する過程と,前記ネットワークアドレス
を受信した機器は該アドレスを用いてネットワーク設定
を行う過程とを有することを特徴とするアドレス自動設
定方法。
1. A method for setting network information of devices connected to a network, the steps of calculating a network address in the same network, and detecting whether the network address is being used. 2. An automatic address setting method, comprising: a step of transmitting the detected unused network address; and a step of performing network setting by the device receiving the network address using the address.
【請求項2】 ネットワーク上に接続された機器のネッ
トワーク情報を設定する方法であって,同一ネットワー
ク上に接続可能な設定がされている機器のネットワーク
接続を行う過程と同一ネットワーク内のネットワークア
ドレスを算出する過程と,前記ネットワークアドレスが
使用されているかどうかを検出する過程と,前記検出し
た使用されていないネットワークアドレスを送信する過
程と,前記ネットワークアドレスを受信した機器は該ア
ドレスを用いてネットワーク設定を行う過程とを有する
ことを特徴とするアドレス自動設定方法。
2. A method for setting network information of a device connected to a network, comprising the step of connecting a device which is set to be connectable on the same network with a network address in the same network. A step of calculating, a step of detecting whether or not the network address is used, a step of transmitting the detected unused network address, and a device receiving the network address, performs network setting using the address. And an address automatic setting method.
【請求項3】 請求項1または請求項2記載のアドレス
自動設定方法において,前記ネットワークアドレスを算
出する過程は,自己のネットワークアドレス設定値から
ネットワークの情報を算出することを特徴とするアドレ
ス自動設定方法。
3. The automatic address setting method according to claim 1 or 2, wherein in the process of calculating the network address, network information is calculated from its own network address setting value. Method.
【請求項4】 請求項1,請求項2または請求項3記載
のアドレス自動設定方法において,前記ネットワークア
ドレスを受信し設定した被設定機は,ネットワーク設定
後,前記ネットワークアドレスを送信した設定機とユニ
キャスト通信を行ってネットワーク設定が正しいことを
確認し,ネットワーク設定が不正であった場合,前記設
定機に対してブロードキャスト通信でその旨を通知し,
前記設定機は,該ブロードキャスト受信時に別の使用さ
れていないネットワークアドレスを前記被設定機に送信
することを特徴とするアドレス自動設定方法。
4. The automatic address setting method according to claim 1, claim 2, or claim 3, wherein the set machine that has received and set the network address is a set machine that has transmitted the network address after network setting. Perform unicast communication to confirm that the network settings are correct, and if the network settings are incorrect, notify the setting machine by broadcast communication,
The automatic address setting method, wherein the setting device transmits another unused network address to the set device when the broadcast is received.
【請求項5】 ネットワーク接続された機器のネットワ
ーク情報を通知する方法であって,ブロードキャストに
よって自己のネットワーク情報を通知する過程と,該ブ
ロードキャストを受信してブロードキャストを発信した
機器とのネットワーク設定を行う過程とを有することを
特徴とするアドレス自動設定方法。
5. A method of notifying network information of a device connected to a network, the process of notifying itself of network information by broadcasting, and the network setting of the device that received the broadcast and originated the broadcast. An address automatic setting method comprising:
JP2001236112A 2001-08-03 2001-08-03 Address automatic setting method Withdrawn JP2003046519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001236112A JP2003046519A (en) 2001-08-03 2001-08-03 Address automatic setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001236112A JP2003046519A (en) 2001-08-03 2001-08-03 Address automatic setting method

Publications (1)

Publication Number Publication Date
JP2003046519A true JP2003046519A (en) 2003-02-14

Family

ID=19067447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001236112A Withdrawn JP2003046519A (en) 2001-08-03 2001-08-03 Address automatic setting method

Country Status (1)

Country Link
JP (1) JP2003046519A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009514334A (en) * 2005-10-26 2009-04-02 トムソン ライセンシング System and method for selecting a multicast IP address
JP2010152670A (en) * 2008-12-25 2010-07-08 Brother Ind Ltd Computer program for installing software
JP2012156910A (en) * 2011-01-28 2012-08-16 Brother Ind Ltd Communication apparatus
JP2017163291A (en) * 2016-03-08 2017-09-14 富士通株式会社 Address setting method, address setting program, and information processing device
JP2020204857A (en) * 2019-06-17 2020-12-24 セイコーエプソン株式会社 Control method of information processing device and program
US10931627B2 (en) 2016-02-01 2021-02-23 JVC Kenwood Corporation Communication device, address configuration method, and recording medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009514334A (en) * 2005-10-26 2009-04-02 トムソン ライセンシング System and method for selecting a multicast IP address
JP2010152670A (en) * 2008-12-25 2010-07-08 Brother Ind Ltd Computer program for installing software
US8650560B2 (en) 2008-12-25 2014-02-11 Brother Kogyo Kabushiki Kaisha Computer readable medium for installing software
JP2012156910A (en) * 2011-01-28 2012-08-16 Brother Ind Ltd Communication apparatus
US10931627B2 (en) 2016-02-01 2021-02-23 JVC Kenwood Corporation Communication device, address configuration method, and recording medium
JP2017163291A (en) * 2016-03-08 2017-09-14 富士通株式会社 Address setting method, address setting program, and information processing device
JP2020204857A (en) * 2019-06-17 2020-12-24 セイコーエプソン株式会社 Control method of information processing device and program
JP7251341B2 (en) 2019-06-17 2023-04-04 セイコーエプソン株式会社 Information processing device control method and program

Similar Documents

Publication Publication Date Title
EP1125423B1 (en) Digital network modem with an integrated dhcp server
Droms Dynamic host configuration protocol
US8495224B2 (en) Network management
JP4142960B2 (en) System and method for searching for devices on a local area network
US7568048B2 (en) Method, apparatus, and system for assigning an IP address on a network
US6732165B1 (en) Simultaneous network configuration of multiple headless machines
US6678732B1 (en) Dynamic host configuration protocol server for allocating IP addresses to a plurality of clients
JP2002368763A (en) Network system, server unit and client unit, and method and program for providing network ip address
JP4470006B2 (en) Power saving support device
US7912958B2 (en) Method and apparatus for automatic IP allocation bootstrapping of embedded network management cards used in networked uninterruptible power supplies and other supported devices
JP5153475B2 (en) Information processing apparatus, image processing apparatus, control method, and program
JP2003348136A (en) Router setting method
JP2003046519A (en) Address automatic setting method
JP2006148813A (en) Analysis apparatus management system, and program and analysis apparatus for analysis apparatus management server
JP3892235B2 (en) Automatic address assignment method
JP2001189761A (en) Remote access server device
JPH1013443A (en) Network system and network management method
JP4893041B2 (en) IP address assignment method
EP1355476A1 (en) Processing device for address allocation
JP2003179603A (en) Communication control method in communication system, program, transmitter and receiver
JP2000316002A (en) Dynamic host configuration server and dynamic host configuration method
JP2004193643A (en) Ip address automatic assignment method / program, and terminal
JP6181591B2 (en) Address payout method, address payout system, address payout server device, and address payout program
KR100377627B1 (en) Method of avoiding BOOTP IP address overlap allocation with BOOTP relay agent
JP2004206223A (en) Initial setting system of consoleless apparatus, initial setting method, and program

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081007