JP2005085047A - Network-setting device and computer program - Google Patents

Network-setting device and computer program Download PDF

Info

Publication number
JP2005085047A
JP2005085047A JP2003317485A JP2003317485A JP2005085047A JP 2005085047 A JP2005085047 A JP 2005085047A JP 2003317485 A JP2003317485 A JP 2003317485A JP 2003317485 A JP2003317485 A JP 2003317485A JP 2005085047 A JP2005085047 A JP 2005085047A
Authority
JP
Japan
Prior art keywords
network
address
interface unit
information
specific device
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
JP2003317485A
Other languages
Japanese (ja)
Inventor
Ryoichi Kikuchi
亮一 菊地
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2003317485A priority Critical patent/JP2005085047A/en
Publication of JP2005085047A publication Critical patent/JP2005085047A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a device allowing completion of network setting at low cost in a short time, without introducing dedicated managing equipment, and to provide a program thereof. <P>SOLUTION: This network-setting device 1 installed to equipment connected to a network is provided with: a data storage part 6 previously storing specific information about the equipment 4, such that the network setting device can execute the network setting; a first interface part 8 performing data transfer to a portable storage medium 9; a second interface part 2 performing data transfer to the network; and a control part 5 controlling them. An address necessary for the network setting is previously stored in the portable storage medium, and the address is assigned to each piece of the equipment and is stored in both the portable storage medium and the second interface part, together with the specific information of the equipment. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、LANなどの家庭用のネットワークに接続する形式の機器をネットワークに登録するネットワーク設定装置に関し、特にネットワーク設定手法の改良されたネットワーク設定装置及びそのコンピュータプログラムに関する。   The present invention relates to a network setting apparatus for registering a device of a type connected to a home network such as a LAN, and more particularly to a network setting apparatus with an improved network setting method and a computer program thereof.

家庭などで用いられるテレビ、ビデオ、電話機などの機器をLANなどのネットワークに接続して、相互に情報の交換が可能で、連携して動作することを可能としたものが近年出てきている。ネットワーク上でデータを相互に交換するためには、所定のプロトコルが必要であり、かかるプロトコルとしてはTCP/IPが主として利用されている。このプロトコルでは、個別の機器を認識するために、あらかじめ個々の機器にIPアドレスを割り当てておく必要があり、また、このIPアドレスの割当てに際しては、重複して同一のIPアドレスが複数の機器に割り当てられることがないようにする必要がある。IPアドレスの割当て作業は、ユーザが手作業で行うことも可能であるが、技術的に難しいため、コンピュータを専門に扱う企業でさえ、各ユーザが割当てや管理を実行することは避ける傾向にある。   In recent years, devices such as televisions, videos, telephones and the like used in homes are connected to a network such as a LAN so that information can be exchanged with each other and can operate in cooperation with each other. In order to exchange data with each other on a network, a predetermined protocol is required, and TCP / IP is mainly used as such a protocol. In this protocol, in order to recognize individual devices, it is necessary to assign an IP address to each device in advance, and when assigning this IP address, the same IP address is duplicated to a plurality of devices. It needs to be unallocated. IP address assignment work can be done manually by the user, but it is technically difficult, so even companies that specialize in computers tend to avoid assigning and managing each user. .

この問題を解決するために、ネットワーク上に管理役となる専用機器を配置し、この専用機器がネットワークの各機器に対して、IPアドレスを割り当てるという技術がある。下記の特許文献1、特許文献2は、かかる従来の例を示している。
特開2000−49817号公報 特開平8−237285号公報
In order to solve this problem, there is a technique in which a dedicated device serving as a manager is arranged on a network, and the dedicated device assigns an IP address to each device on the network. The following Patent Document 1 and Patent Document 2 show such conventional examples.
JP 2000-49817 A JP-A-8-237285

しかしながら上記公知の構成では、ネットワーク上に専用の管理用機器を特別に設ける必要があることから、家庭などへの適用はコスト高を理由に普及が困難な状況である。   However, in the above-mentioned known configuration, it is necessary to specially provide a dedicated management device on the network, so that it is difficult to spread it for home use because of its high cost.

本発明は上記従来の問題を解決するためになされたものであり、専用の管理用機器を導入しなくても、低コストで、かつ短時間でネットワーク設定を完了することが可能な装置及びコンピュータプログラムを提供することを目的とする。   The present invention has been made to solve the above-described conventional problems, and an apparatus and a computer capable of completing network setting at a low cost and in a short time without introducing a dedicated management device. The purpose is to provide a program.

上記目的を達成するために本発明は、ネットワークに接続される機器にネットワーク設定装置を装着しておき、ネットワーク設定装置によりネットワーク設定を実行できるように、当該機器の固有情報をあらかじめ記憶してあるデータ記憶部と、可搬型記憶媒体に対してデータ授受を行う第1インターフェース部と、ネットワークに対してデータ授受を行う第2インターフェース部と、これらを制御する制御部とをネットワーク設定装置に設けたものであり、ネットワーク設定に必要なアドレスを可搬型記憶媒体にあらかじめ記憶しておいて、機器ごとにアドレスを割り当て、機器の固有情報と共に、可搬型記憶媒体と第2インターフェース部との双方に記憶するようにしたものである。   In order to achieve the above object, according to the present invention, a network setting device is attached to a device connected to a network, and specific information of the device is stored in advance so that the network setting can be performed by the network setting device. The network setting device includes a data storage unit, a first interface unit that exchanges data with a portable storage medium, a second interface unit that exchanges data with a network, and a control unit that controls these units. The address necessary for network setting is stored in advance in a portable storage medium, and an address is assigned to each device, and is stored in both the portable storage medium and the second interface unit together with device specific information. It is what you do.

すなわち、本発明によれば、ネットワークに接続される複数の機器の固有の情報が記録される部分と、前記固有の情報を読み出すためのアドレスリストが記録されている部分とを有する可搬型記憶媒体が接続されたとき、前記可搬型記憶媒体との間でデータ授受を行う第1インターフェース部と、
前記複数の機器中の特定の機器の固有の情報があらかじめ記憶されたデータ記憶部と、
前記ネットワークとの間でデータを授受するための第2インターフェース部と、
前記第1インターフェース部、前記データ記憶部並びに前記第2インターフェース部を制御して、前記第1インターフェース部に前記可搬型記憶媒体が接続され、前記特定の機器が新たに前記ネットワークに接続される際に前記アドレスリストに記録されている複数のアドレスから1つを選択して割り当て、前記特定の機器の前記固有の情報を前記データ記憶部から読み出して、その読み出した前記固有の情報と前記選択したアドレスとを共に前記可搬型記憶媒体の前記固有の情報が記録される部分と、前記第2インターフェース部との双方に記録するよう制御する制御部とを、
有するネットワーク設定装置が提供される。
That is, according to the present invention, a portable storage medium having a portion in which unique information of a plurality of devices connected to a network is recorded and a portion in which an address list for reading out the unique information is recorded. A first interface unit for exchanging data with the portable storage medium,
A data storage unit in which specific information of a specific device among the plurality of devices is stored in advance;
A second interface unit for exchanging data with the network;
When the portable storage medium is connected to the first interface unit and the specific device is newly connected to the network by controlling the first interface unit, the data storage unit, and the second interface unit. One of a plurality of addresses recorded in the address list is selected and assigned, the unique information of the specific device is read from the data storage unit, and the read unique information and the selected A control unit that controls to record both the address and the unique information of the portable storage medium and the second interface unit;
A network setting device is provided.

また、本発明によれば、ネットワークに接続される複数の機器の固有の情報が記録される部分と、前記固有の情報を読み出すためのアドレスリストが記録されている部分とを有する可搬型記憶媒体が接続されたとき、前記可搬型記憶媒体との間でデータ授受を行う第1インターフェース部と、
前記複数の機器中の特定の機器の固有の情報があらかじめ記憶されたデータ記憶部と、
前記ネットワークとの間でデータを授受するための第2インターフェース部と、
前記第1インターフェース部、前記データ記憶部並びに前記第2インターフェース部を制御して、前記第1インターフェース部に前記可搬型記憶媒体が接続され、前記特定の機器が新たに前記ネットワークに接続される際に前記アドレスリストに記録されている複数のアドレスから1つを選択して割り当て、前記特定の機器の前記固有の情報を前記データ記憶部から読み出して、その読み出した前記固有の情報と前記選択したアドレスとを共に前記可搬型記憶媒体の前記固有の情報が記録される部分と、前記第2インターフェース部との双方に記録するよう制御する制御部とを、
有するネットワーク設定装置における前記制御部としてコンピュータを機能させるためのコンピュータプログラムであって、
前記可搬型記憶媒体が前記ネットワーク設定装置に接続されたとき、その記憶内容を読み込むステップと、
前記記憶内容中の、1番目の機器の情報を読み込むステップと、
前記情報中に、前記特定の機器の情報が存在して登録されているか否かを判断するステップと、
前記判断ステップで、登録されていないと判断されたときは、前記特定の機器が未登録か否かを判断するステップと、
未登録であると判断されたときは、前記アドレスリストから空いているアドレスを取得するステップと、
取得した前記アドレスを複数の機器の固有の情報が記録される部分中の前記特定の機器の部分に追加登録するステップと、
あらかじめ記憶されている前記特定の機器の固有の情報を読み出し、前記取得した前記アドレスと共に前記可搬型記憶媒体の前記固有の情報が記録される部分と前記第2インターフェース部の双方に記録するステップと、
前記読み込むステップで読み込んだ前記記憶内容中に、前記複数の機器の情報が存在して登録されているか否かを判断するステップで、登録されていると判断されたときは、登録されている機器が前記特定の機器か否かを判断するステップと、
前記特定の機器であると判断されたときは、登録済であることを前記第2インターフェース部に記憶するステップと、
次の機器の情報を読み込むステップと、機器の情報が存在して登録されているか否かを判断する前記ステップと、前記特定の機器か否かを判断する前記ステップと、登録済であることを前記第2インターフェース部に記憶する前記ステップとを、該当する場合に、順次、前記記憶内容中の2番目以降の機器に対して実行するステップと、
登録されている機器が前記特定の機器か否かを判断する前記ステップで、特定機器ではないと判断されたときは、前記第2インターフェース部に記憶されている貸与期限を過ぎているか否かを判断するステップと、
貸与期限を過ぎていれば、前記特定の機器が存在するか否かを判断するステップと、
前記特定の機器が存在するか否かを判断するステップで前記特定の機器が存在すると判断されたときは、前記特定の機器の貸与期限を更新するステップと、
前記特定の機器が存在するか否かを判断するステップで前記特定の機器が存在しないと判断されたときは、前記特定の機器に関する情報を前記固有の情報が記録される部分から削除するステップと、
前記ネットワーク設定装置が前記ネットワークに接続された際に、前記ネットワーク設定装置の前記第2インターフェース部にアドレスが割り当て済みか否かを判断するステップと、
割り当て済みであると判断されたときは、前記アドレスが貸与期限内のものか否かを判断するステップと、
割り当て済みでないと判断されたとき並びに、前記アドレスが貸与期限内のものか否かを判断するステップで貸与期限を過ぎていると判断されたときは、前記可搬型記憶媒体を前記第1インターフェース部に接続するようユーザに促すステップと、
前記促すステップを実行した後、前記可搬型記憶媒体が前記第1インターフェース部に接続されたか否かを判断するステップとを、
前記制御部を構成するコンピュータに実行させるためのコンピュータプログラムが提供される。
In addition, according to the present invention, a portable storage medium having a portion in which unique information of a plurality of devices connected to a network is recorded and a portion in which an address list for reading out the unique information is recorded. A first interface unit for exchanging data with the portable storage medium,
A data storage unit in which specific information of a specific device among the plurality of devices is stored in advance;
A second interface unit for exchanging data with the network;
When the portable storage medium is connected to the first interface unit and the specific device is newly connected to the network by controlling the first interface unit, the data storage unit, and the second interface unit. One of a plurality of addresses recorded in the address list is selected and assigned, the unique information of the specific device is read from the data storage unit, and the read unique information and the selected A control unit that controls to record both the address and the unique information of the portable storage medium and the second interface unit;
A computer program for causing a computer to function as the control unit in a network setting device having:
When the portable storage medium is connected to the network setting device, reading the stored content;
Reading information of a first device in the stored content;
Determining whether the information of the specific device exists and is registered in the information; and
When it is determined in the determining step that the device is not registered, the step of determining whether or not the specific device is unregistered;
When it is determined that it is unregistered, obtaining a free address from the address list;
Additionally registering the acquired address in the part of the specific device in the part where the unique information of a plurality of devices is recorded;
Reading out the specific information of the specific device stored in advance and recording it in both the portion where the unique information of the portable storage medium is recorded together with the acquired address and the second interface unit; ,
If it is determined in the step of determining whether or not information of the plurality of devices exists and is registered in the stored content read in the reading step, the registered device Determining whether or not is the specific device;
When it is determined that the device is the specific device, the step of storing in the second interface unit that it is already registered;
A step of reading information of the next device, the step of determining whether the device information exists and is registered, the step of determining whether the device is the specific device, and being registered The step of storing in the second interface unit, if applicable, sequentially executing the second and subsequent devices in the stored content;
In the step of determining whether or not the registered device is the specific device, if it is determined that the registered device is not the specific device, it is determined whether or not the loan expiration date stored in the second interface unit has passed. A step of judging;
If the loan deadline has passed, determining whether the specific device exists; and
When it is determined that the specific device exists in the step of determining whether or not the specific device exists, a step of updating a loan term of the specific device;
If it is determined that the specific device does not exist in the step of determining whether or not the specific device exists, deleting the information related to the specific device from the portion where the specific information is recorded; ,
Determining whether an address has been assigned to the second interface unit of the network setting device when the network setting device is connected to the network; and
When it is determined that the address has been allocated, the step of determining whether the address is within the lending period; and
When it is determined that the address has not been allocated, and when it is determined in the step of determining whether or not the address is within the lending period, the portable storage medium is connected to the first interface unit. Prompting the user to connect to,
After executing the prompting step, determining whether the portable storage medium is connected to the first interface unit;
A computer program to be executed by a computer constituting the control unit is provided.

本発明によれば、専用の管理用機器を導入しなくても、低コストで、かつ短時間でネットワーク設定を完了することが可能な装置及びそのコンピュータプログラムが提供され、専門的な知識のないユーザであっても、ネットワークの設定作業を容易に実行することができ、ユーザの技術的負担を大きく軽減させることができるという効果が得られる。   According to the present invention, it is possible to provide a device capable of completing network settings at a low cost and in a short time without introducing a dedicated management device, and a computer program thereof, and has no specialized knowledge. Even the user can easily perform the network setting work, and the technical burden on the user can be greatly reduced.

以下、本発明の実施の形態について、図1から図5を用いて説明する。図1は本発明のネットワーク設定装置の好ましい実施の形態を示すブロック図である。図1においてネットワーク設定装置1は、複数の電子機器(単に機器とも言う)4を所定のネットワーク30に接続するために必要な情報を記憶するメモリ手段としての設定カード9が接続されるインターフェース部(カードインターフェース部)8と、各機器固有の情報を保持するデータ記憶部6と、設定カード9から情報を読み出したり、後述する様々な制御などを行うデータ処理部5と、データ処理部5をLANなどのネットワーク30に接続するためのネットワークインターフェース部2を有する。なお、データ処理部5はCPU(中央演算処理装置)で構成することができ、その場合、データ記憶部6又は図示省略の他のメモリ装置にCPUの動作プログラムをあらかじめ格納しておく。ここで、LANなどのネットワーク30は、家庭や職場など比較的限られたエリア内に設けられたものである。なお、CPUのプログラムは、あらかじめ格納しておかなくても、適当な図示省略のサーバから図示省略のインターネットなどを介してダウンロードしたり、CD−ROMなどのメディアに記録したものから読み込むようにしてもよい。   Hereinafter, embodiments of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram showing a preferred embodiment of the network setting apparatus of the present invention. In FIG. 1, a network setting device 1 includes an interface unit (to which a setting card 9 serving as memory means for storing information necessary for connecting a plurality of electronic devices (also simply referred to as devices) 4 to a predetermined network 30 is connected ( A card interface unit) 8, a data storage unit 6 that holds information unique to each device, a data processing unit 5 that reads information from the setting card 9 and performs various controls to be described later, and the data processing unit 5 as a LAN. The network interface unit 2 for connecting to the network 30 is provided. The data processing unit 5 can be composed of a CPU (Central Processing Unit). In this case, the CPU operation program is stored in advance in the data storage unit 6 or other memory device not shown. Here, the network 30 such as a LAN is provided in a relatively limited area such as a home or a workplace. Even if the CPU program is not stored in advance, it can be downloaded from a suitable server (not shown) via the Internet (not shown) or read from a medium recorded on a CD-ROM or the like. Also good.

ネットワークインターフェース部2は、ネットワーク接続ケーブル3を介してネットワーク30に接続される。またネットワーク設定装置1は、特定の機器4に装着されているものとする。機器としては、テレビ、電話、ビデオ、エアコンなど、家電製品やオーディオ・ビデオ製品あるいはコンピュータなどが含まれる。ネットワークインターフェース部2は、一般にLANインターフェース部として知られているもので、インターフェース部コントローラや、通信バッファ、パケットデータ送受信機などを有していて、Ethernet(R)による通信を実現する機能を持つモジュールと、それを用いてTCP/IPプロトコルにより通信を制御するソフトウェアをも有している。ネットワークインターフェース部2はネットワーク設定装置1が装着される機器4の機器制御/状態データ線7を介して機器4側の図示省略のインターフェース部に接続される。   The network interface unit 2 is connected to the network 30 via the network connection cable 3. The network setting device 1 is assumed to be attached to a specific device 4. Examples of equipment include home appliances, audio / video products, computers, and the like such as televisions, telephones, videos, and air conditioners. The network interface unit 2 is generally known as a LAN interface unit, and has an interface unit controller, a communication buffer, a packet data transmitter / receiver, etc., and has a function for realizing communication by Ethernet (R). And software for controlling communication by using the TCP / IP protocol. The network interface unit 2 is connected to an interface unit (not shown) on the device 4 side via a device control / status data line 7 of the device 4 to which the network setting device 1 is attached.

設定カード9としては、スマートメディア(R)、SDカード、コンパクトフラッシュ(R)カードなど様々なメディアを使用することが可能である。また、カードインターフェース部8を工夫して、複数種類のカードを挿入可能とすることもできる。図2は、設定カード9に記憶されるデータの例と、そのデータ構造を模式的に示す図である。具体的には、1つの設定カード9は、機器リスト17とアドレスリストテーブル18を有していて、機器リスト17は、複数の機器(図中、機器A、機器B、機器C・・・機器nとして示す)のそれぞれの固有情報を有する。各機器の固有情報10としては、図2の左側に例示するように、ホスト名11、当該機器自体を示すIPアドレス12、アドレスリストテーブル18内の当該機器を示すアドレスの格納アドレスを示すテーブルへのポインタ13、物理ネットワークアドレスであるMACアドレス14、当該アドレスの貸与有効期限15が含まれる。   As the setting card 9, various media such as smart media (R), SD card, and compact flash (R) card can be used. Further, the card interface unit 8 can be devised so that a plurality of types of cards can be inserted. FIG. 2 is a diagram schematically showing an example of data stored in the setting card 9 and its data structure. Specifically, one setting card 9 has a device list 17 and an address list table 18. The device list 17 includes a plurality of devices (device A, device B, device C,... (shown as n). As the specific information 10 of each device, as illustrated on the left side of FIG. 2, the host name 11, the IP address 12 indicating the device itself, and the table indicating the storage address of the address indicating the device in the address list table 18. Pointer 13, MAC address 14 which is a physical network address, and lending expiration date 15 of the address.

アドレスリストテーブル18には、ネットワークに接続される各機器に割り当てるべきアドレスのリストをあらかじめ記憶しておく。アドレスリストテーブル18に記憶しておくアドレスリストの項目数は特に定めていないが、単一のネットワークに接続される可能性のある最大機器数として十分数が確保されていればよい。このアドレス群は、ネットワーク上に既に接続されているいずれかの機器に割り当て済みか、あるいはいずれの機器にも割り当てられていないのかがわかるような形式で記録されている。具体的には、例えばフラグデータなどを組にして記録されていて、割り当てられた各機器からも、そのアドレスを参照できる形式となっている。   The address list table 18 stores in advance a list of addresses to be assigned to each device connected to the network. The number of items in the address list stored in the address list table 18 is not particularly defined, but it is sufficient that a sufficient number is secured as the maximum number of devices that can be connected to a single network. This address group is recorded in a format so that it can be determined whether it has been assigned to any device already connected on the network or not assigned to any device. Specifically, for example, flag data or the like is recorded as a set, and the address can be referred from each assigned device.

次に、図1のネットワーク設定装置1を用いて実際に機器をネットワークに接続する方法について、図5のフローチャートに沿って説明する。図5のフローチャートは、図1のネットワーク設定装置1中の、データ処理部5が前述のようにCPUで構成される場合のCPUの動作を示すものである。ネットワーク設定装置1が装着された機器4の内部にDHCP(Dynamic Host Configuration Protocol)クライエント機能を備えているものとする。しかし、本発明にかかるネットワーク設定装置1の運用上、機器4の内部にDHCPクライエント機能を備えていることは必須ではない。   Next, a method of actually connecting a device to the network using the network setting device 1 of FIG. 1 will be described with reference to the flowchart of FIG. The flowchart of FIG. 5 shows the operation of the CPU when the data processing unit 5 is configured by the CPU as described above in the network setting device 1 of FIG. It is assumed that a DHCP (Dynamic Host Configuration Protocol) client function is provided in the device 4 to which the network setting device 1 is attached. However, for the operation of the network setting device 1 according to the present invention, it is not essential that the device 4 has a DHCP client function.

図1のネットワーク設定装置1がネットワーク接続ケーブル3を介してネットワーク30に接続された後、データ処理部5を構成するCPUのプログラムが起動されるものとする(ステップS1)。このプログラムの起動は、ユーザが手動で行ってもよいし、設定カード9の装着を検出して、あるいは、電源投入などを検出して自動的に行うようにしてもよい。次にステップS2で、ネットワーク30上にDHCPサーバが存在するか否かを調べる。存在するときは、DHCPサーバからネットワークアドレスを取得する(ステップS3)。その後、ステップS17で、取得したネットワークアドレス、ホスト名などの機器の固有の情報をネットワークインターフェース部2及び設定カード9にそれぞれ設定し、処理を終了する(ステップS18)。   After the network setting device 1 shown in FIG. 1 is connected to the network 30 via the network connection cable 3, the CPU program constituting the data processing unit 5 is started (step S1). The program may be activated manually by the user, or may be automatically performed by detecting installation of the setting card 9 or detecting power-on. In step S2, it is checked whether a DHCP server exists on the network 30. If it exists, the network address is acquired from the DHCP server (step S3). Thereafter, in step S17, device-specific information such as the acquired network address and host name is set in the network interface unit 2 and the setting card 9, respectively, and the process ends (step S18).

一方、ステップS2でDHCPサーバが存在しないと判断されたときは、ステップS4へ行き、設定カード9から機器情報を読み込み、次いで、ステップS5で1番目の機器情報を読み込む。その後ステップS6で、読み込まれた機器情報が、図2に示す形式の機器リストとして登録されているものか否かを判断する。図2に示す形式の機器リストとして登録されている場合には、ステップS7で、その機器情報により指定される機器が既に登録された機器4自身であるか否かを判断する。機器4自身であれば、ステップS8で自分の機器は登録済みであることを記憶しておき、次のステップS13で次の機器情報を読み込み、ステップS6へ戻る。ステップS7で、着目している機器が登録しようとする機器4ではなかった場合、ステップS9でその機器のアドレス貸与期限を読み出し、その値(日付)と現在の日付を比較して、アドレス貸与期限を過ぎているか否かを判断する。アドレス貸与期限を過ぎていないときは、ステップS13へ行き、前述した一連の動作を行う。一方、アドレス貸与期限を過ぎているときは、設定カード9に登録されているその機器が実際にネットワーク30上に存在するか否かをステップS10で調べる。存在するときは、ステップS11で、その機器のアドレス貸与期限を更新してからステップS13へ行く。一方、存在しないときは、ステップS12でその機器を機器リストから削除してからステップS13へ行く。   On the other hand, if it is determined in step S2 that there is no DHCP server, the process goes to step S4 to read the device information from the setting card 9, and then the first device information is read in step S5. Thereafter, in step S6, it is determined whether or not the read device information is registered as a device list in the format shown in FIG. If it is registered as a device list in the format shown in FIG. 2, it is determined in step S7 whether or not the device specified by the device information is the registered device 4 itself. If it is the device 4 itself, it is stored in step S8 that the device has been registered, the next device information is read in the next step S13, and the process returns to step S6. If it is determined in step S7 that the device of interest is not the device 4 to be registered, the address lending time limit of the device is read in step S9, and the value (date) is compared with the current date to determine the address lending time limit. It is determined whether or not it has passed. When the address lending time limit has not passed, the process goes to step S13 to perform the above-described series of operations. On the other hand, if the address lending period has passed, it is checked in step S10 whether or not the device registered in the setting card 9 actually exists on the network 30. If it exists, the address lending time limit of the device is updated in step S11, and the process goes to step S13. On the other hand, if it does not exist, the device is deleted from the device list in step S12, and the process goes to step S13.

こうしてステップS6が繰り返し実行されることにより、機器リスト上の最後の機器についてステップS7〜S13が実行され、すべての機器について完了すると、次のステップS6での判断はNOとなって、ステップS14へ行く。ステップS14では、既にステップS8で自分の機器が登録済とされていたか否かが判断され、登録済であれば、ステップS14からステップS17へ行き、取得したネットワークアドレスや、データ記憶部6にあらかじめ記憶してあるホスト名など、機器4に関する情報をネットワークインターフェース部2及び設定カード9に設定する。ステップS17を実行すると、ステップS18へ行き、すべての動作を終了する。   By repeatedly executing step S6 in this manner, steps S7 to S13 are executed for the last device on the device list. When all the devices are completed, the determination in the next step S6 is NO and the process proceeds to step S14. go. In step S14, it is determined whether or not the device has already been registered in step S8. If it has been registered, the process goes from step S14 to step S17, and the acquired network address or data storage unit 6 is stored in advance. Information regarding the device 4 such as the stored host name is set in the network interface unit 2 and the setting card 9. If step S17 is performed, it will go to step S18 and will complete | finish all operation | movement.

一方、ステップS14で未登録であると判断されると、ステップS15で設定カード9に記録されているアドレスリストテーブル18から空いているアドレスを取得し、そのアドレスをネットワークインターフェース部2に設定し、次いでステップS16で設定カード9内の機器リスト17に新たに機器情報を追加する。機器情報の追加は、その機器に関する情報、すなわちホスト名とMACアドレスなどをデータ記憶部6から読み出し、機器リスト17に追加した機器情報に設定することにより行う。その後、ステップS17へ行き前述同様の設定を行い、ステップS18で一連の動作を終了する。   On the other hand, if it is determined in step S14 that it is unregistered, a free address is acquired from the address list table 18 recorded in the setting card 9 in step S15, and the address is set in the network interface unit 2. In step S16, device information is newly added to the device list 17 in the setting card 9. The device information is added by reading information related to the device, that is, the host name and the MAC address from the data storage unit 6 and setting the device information added to the device list 17. Thereafter, the process goes to step S17, the same setting as described above is performed, and the series of operations is terminated in step S18.

次に本発明のネットワーク設定装置の使用される場面をいくつか想定して本発明の動作について説明する。ここでは、ネットワークのプロトコルは、TCP/IPを使用するものとする。したがって、アドレスリストテーブル18には、IPアドレスのリストが格納されているものとする。図3は、第1の場面、すなわち機器A(図1の機器4に相当する)に対して他の機器が何も接続されていない状態で、機器Aを新規にネットワーク30に接続する場合を示している。図3の状態は、機器Aのネットワーク接続端子20に何も接続されたことがない状態である。図1に示した本発明のネットワーク設定装置1をここでは、便宜上符号21で、また設定カード9を便宜上符号22で表す。いまネットワーク設定装置21に設定カード22が装着された状態であるとする。機器Aには、ネットワークに接続するに際し、当該機器Aを特定するIPアドレスを割り当てる必要がある。図5の設定プログラムが起動されると、ステップS2でネットワーク上にDHCPサーバが存在するか否かを判断するが、機器Aはネットワーク自体に接続されていないので、ステップS2の判断は当然NOとなる。次いで、図5のステップS4以下で設定カード22内の機器リスト17(図2参照)を検査し、ネットワーク上の機器として既に登録されているものがあるか否かを判断する。   Next, the operation of the present invention will be described assuming several scenes where the network setting device of the present invention is used. Here, it is assumed that the network protocol uses TCP / IP. Therefore, it is assumed that the address list table 18 stores a list of IP addresses. FIG. 3 shows a case where a device A is newly connected to the network 30 in a state where no other device is connected to the first scene, that is, the device A (corresponding to the device 4 in FIG. 1). Show. The state in FIG. 3 is a state in which nothing has been connected to the network connection terminal 20 of the device A. Here, the network setting device 1 of the present invention shown in FIG. 1 is denoted by reference numeral 21 for convenience and the setting card 9 is denoted by reference numeral 22 for convenience. It is assumed that the setting card 22 is attached to the network setting device 21 now. The device A needs to be assigned an IP address that identifies the device A when connecting to the network. When the setting program of FIG. 5 is activated, it is determined in step S2 whether or not a DHCP server exists on the network. Since the device A is not connected to the network itself, the determination in step S2 is naturally NO. Become. Next, in step S4 and subsequent steps in FIG. 5, the device list 17 (see FIG. 2) in the setting card 22 is inspected to determine whether there are devices already registered as devices on the network.

この接続は、新たな接続であるため、設定カード22には何も登録されていない。したがって、ネットワーク上の機器として既に登録されているものはないとの判断結果を得る。そこで、機器リスト17の第1番目として機器Aを新規に登録する。同時にアドレスリストテーブル18からいまだ割り当てられていないIPアドレスを、その機器Aに割り当てる。すなわち、設定カード22の機器リスト17の機器Aの固有の情報10の格納欄に、図2に示すようなフォーマットでホスト名11、IPアドレス12などを書き込み、さらにこれらをネットワークインターフェース部2(図1参照)に設定する。上記動作により、機器Aは、ネットワーク30から見て認識可能となり、他の機器と接続されたとき通信可能となる。   Since this connection is a new connection, nothing is registered in the setting card 22. Therefore, a determination result is obtained that there is no device already registered as a device on the network. Therefore, the device A is newly registered as the first device list 17. At the same time, an IP address not yet assigned from the address list table 18 is assigned to the device A. That is, the host name 11, the IP address 12, etc. are written in the storage field of the device 10 specific information 10 of the device list 17 of the setting card 22 in the format shown in FIG. 1). By the above operation, the device A can be recognized from the network 30 and can communicate when connected to other devices.

次に第2の場面として、図4のようにネットワーク接続ケーブル26Aとネットワークハブ27を介して機器Aが既にネットワーク30に接続されて稼働している場合に、新たな機器Bをネットワーク接続ケーブル26Bにより接続する場合について説明する。既に接続済の機器Aをネットワーク30に接続する際に使用した設定カード25(第1の場合で説明した図3中の設定カード22に必要データが記録されたものに相当する)を機器Aから取り外し、新たに接続する機器Bに装着する。   Next, as a second situation, when the device A is already connected to the network 30 via the network connection cable 26A and the network hub 27 as shown in FIG. 4, the new device B is connected to the network connection cable 26B. A case of connection will be described. The setting card 25 used when connecting the already connected device A to the network 30 (corresponding to the data recorded in the setting card 22 in FIG. 3 described in the first case) is sent from the device A. Remove and attach to the newly connected device B.

図4の例は、2つの機器A、Bが接続される場合を示しているが、機器の数は3以上であってもよい。なお、機器数が2つのみのときは、ネットワークハブ27を用いずに専用ケーブルで直接相互に接続してもよい。   The example of FIG. 4 shows a case where two devices A and B are connected, but the number of devices may be three or more. When the number of devices is only two, they may be directly connected to each other with a dedicated cable without using the network hub 27.

今、設定カード25が機器Bに装着された状態で図5のプログラムを起動させる。設定カード25からデータを読み込み、機器リスト17中に機器Bの情報が存在するか否かを判断する。機器Bは、初めて接続されるので、機器リスト17中には、機器Bの情報は存在しない。よって、前述の機器Aの場合と同様に、アドレスリストテーブル18から未使用のIPアドレスを選出して機器リスト17に追加することにより機器Bの情報が新規に登録される。このように図示省略の第3番目以降の機器を追加接続する場合は、設定カード25を順次新たな機器に装着して同様の設定を行うことができる。   Now, the program shown in FIG. 5 is started in a state where the setting card 25 is mounted on the device B. Data is read from the setting card 25 and it is determined whether or not the information of the device B exists in the device list 17. Since the device B is connected for the first time, there is no information on the device B in the device list 17. Accordingly, as in the case of the device A described above, information on the device B is newly registered by selecting an unused IP address from the address list table 18 and adding it to the device list 17. As described above, when the third and subsequent devices (not shown) are additionally connected, the setting card 25 can be sequentially attached to a new device to perform the same setting.

次に、いったん接続した機器をネットワーク30から取り外す場合に備えて、ネットワーク30上に所定の機器が存在するか否かを判断する必要がある。この場合、対象となる機器のIPアドレスに対してデータを送信してみて、返答があるか否かを調べる手法が一般的である。具体的には、送信相手に対してエコー応答するようにメッセージを送信し、エコーが帰ってくれば、その機器の存在が確認される。この確認のための「ping」と呼ばれるネットワークのコマンドを使用することができる。すなわち、図5のステップS10では、機器の存在を確認しているが、ここでこのコマンドを使用することができる。   Next, it is necessary to determine whether or not a predetermined device exists on the network 30 in preparation for removing the once connected device from the network 30. In this case, a general technique is to check whether there is a response by transmitting data to the IP address of the target device. Specifically, a message is transmitted so as to make an echo response to the transmission partner, and if the echo returns, the existence of the device is confirmed. A network command called “ping” for this confirmation can be used. That is, in step S10 of FIG. 5, the presence of the device is confirmed, but this command can be used here.

図5のステップS11での貸与期限の更新は、次のように行う。まず、ネットワーク設定装置1あるいは、機器4の図示省略の内部時計から現在の日付・時刻情報を読み出し、現在時刻より先の時刻あるいは日付を設定する。どの程度の時間、又は日数だけ先に更新するかは、その機器の性質(使われ方など)により異なり、1日先や、1週間先などとすることができる。一例として、現在の情報が、2003年4月1日であれば、1週間先の2003年4月8日12:00を設定することができる。なお、有効期限が過ぎたため、ステップS12でリストから削除された機器の場合であって、そのいったん削除された(すなわち接続が解除された)機器を再度ネットワーク30に接続するためには、改めて登録動作を行うこととなる。   The loan deadline is updated in step S11 of FIG. 5 as follows. First, the current date / time information is read from the network setting device 1 or an internal clock (not shown) of the device 4, and a time or date ahead of the current time is set. How much time or number of days is updated earlier depends on the nature of the device (how it is used, etc.) and can be one day ahead or one week ahead. As an example, if the current information is April 1, 2003, 18:00, April 8, 2003, one week ahead can be set. In addition, in the case of the device deleted from the list in step S12 because the expiration date has passed, in order to connect the once deleted (that is, disconnected) device to the network 30 again, registration is performed again. The operation will be performed.

しかし、ユーザは一々各機器の貸与有効期限を認識しているわけではないので、貸与期限が切れた機器を再度ネットワーク30に接続する場合、ユーザは過去に設定した当該機器のIPアドレスが無効となっていることを認識しないことがある。したがって、かかる認識のないまま、当該機器を使用すると、誤って同一のIPアドレスを複数の機器に設定することもあり、その場合はネットワーク30上でIPアドレスが競合し、不具合が発生してしまう。図6のフローチャートは、かかる事態を避けるための処理手順を示すものである。   However, since the user does not recognize the lending expiration date of each device one by one, when the device whose lending date has expired is connected to the network 30 again, the user has determined that the IP address of the device set in the past is invalid. You may not recognize that Therefore, if the device is used without such recognition, the same IP address may be set to a plurality of devices by mistake. In this case, the IP address conflicts on the network 30 and a problem occurs. . The flowchart of FIG. 6 shows a processing procedure for avoiding such a situation.

図6のフローチャートでは、まずステップS20で機器がネットワーク30に接続されると、ステップS21で当該機器に既にIPアドレスが割り当てられているか否かが判断される。IPアドレスが既にあるときは、ステップS22でそのIPアドレスの割り当てられた機器の貸与有効期限15(図2参照)が期限内のものか否かを判断する。期限内であれば、処理を終了する。期限を過ぎているとき及びステップS21でNOのときは、ステップS23へ行き、設定カード9を装着するようユーザに促す。ユーザに促す手法としては、例えばカードインターフェース部8のカード装着スロットの近傍に配した図示省略のLEDなどを点滅させる方法や、機器4のディスプレイを介してアイコンや文字メッセージで表示する方法、あるいは、音声で通知する方法などがある。ステップS24で設定カード9が装着されたか否かを判断し、装着されたと判断されると、図5のステップS4へ行き、前述と同様の処理が実行されて貸与有効期限が更新される。したがって、設定カード9内のアドレスリストテーブル18の割り当て履歴を正しく維持することができる。   In the flowchart of FIG. 6, when a device is connected to the network 30 in step S20, it is determined in step S21 whether an IP address has already been assigned to the device. If the IP address already exists, it is determined in step S22 whether or not the loan expiration date 15 (see FIG. 2) of the device to which the IP address is assigned is within the time limit. If it is within the time limit, the process is terminated. If the time limit has passed and if NO in step S21, the process goes to step S23 to prompt the user to install the setting card 9. As a method for prompting the user, for example, a method of blinking an unillustrated LED arranged in the vicinity of the card mounting slot of the card interface unit 8, a method of displaying with an icon or a character message via the display of the device 4, or There is a method to notify by voice. In step S24, it is determined whether or not the setting card 9 has been mounted. If it is determined that the setting card 9 has been mounted, the process proceeds to step S4 in FIG. 5, and the same processing as described above is executed to update the loan expiration date. Therefore, the allocation history of the address list table 18 in the setting card 9 can be correctly maintained.

上記説明では、ネットワーク30上にネットワーク設定装置1以外にはIPアドレスを設定する機器が存在しないものとしたが、実際にはIPアドレスを設定する機器が存在する場合もあり得る。したがって、アドレスリストテーブル18によってIPアドレスを割り当てる際に、そのIPアドレスに対して応答を返すよう要求するデータを送信するテストを行うことができる。このテストの結果、応答がない場合(重複がないとき)は、アドレスリストテーブル18から抽出したIPアドレスを割り当てる。一方、応答があった場合(重複があるとき)は、アドレスリストテーブル18から、前回割り当てたIPアドレスとは異なる別のIPアドレスを抽出して、同様のテストを行う。こうして、応答がない状態でのIPアドレスを最終的に割り当てることとなる。   In the above description, it is assumed that there is no device for setting an IP address other than the network setting device 1 on the network 30, but there may actually be a device for setting an IP address. Therefore, when an IP address is assigned by the address list table 18, it is possible to perform a test for transmitting data for requesting a response to the IP address. When there is no response as a result of this test (when there is no duplication), an IP address extracted from the address list table 18 is assigned. On the other hand, when there is a response (when there is an overlap), another IP address different from the previously assigned IP address is extracted from the address list table 18 and the same test is performed. In this way, an IP address in a state where there is no response is finally assigned.

以上のように本発明では、専用の管理用機器を導入しなくても、低コストで、かつ短時間でネットワーク設定を完了することが可能な装置及びそのプログラムを提供することできるので、本発明は、家庭や職場でのLANなどのネットワークに複数の電子機器を接続する際のネットワーク設定などに有用である。   As described above, according to the present invention, it is possible to provide an apparatus and a program thereof that can complete network setting at a low cost and in a short time without introducing a dedicated management device. Is useful for setting a network when a plurality of electronic devices are connected to a network such as a LAN at home or work.

本発明のネットワーク設定装置の好ましい実施の形態のブロック図である。It is a block diagram of preferable embodiment of the network setting apparatus of this invention. 図1中の可搬型記憶媒体である設定カードの記録領域のデータフォーマットを示す模式図である。It is a schematic diagram which shows the data format of the recording area of the setting card | curd which is a portable storage medium in FIG. 本発明のネットワーク設定装置の好ましい実施の形態の1つの使用形態を説明するための模式図である。It is a schematic diagram for demonstrating one usage pattern of preferable embodiment of the network setting apparatus of this invention. 本発明のネットワーク設定装置の好ましい実施の形態の他の使用形態を説明するための模式図である。It is a schematic diagram for demonstrating the other usage pattern of preferable embodiment of the network setting apparatus of this invention. 図1の実施の形態における制御部をCPUで構成した場合の主要な動作のためのプログラムを示すフローチャートである。It is a flowchart which shows the program for main operations at the time of comprising the control part in embodiment of FIG. 1 with CPU. 図5のプログラムに付加できる補助的な動作を示すフローチャートである。It is a flowchart which shows the auxiliary | assistant operation | movement which can be added to the program of FIG.

符号の説明Explanation of symbols

1、21、24、29 ネットワーク設定装置
2 ネットワークインターフェース部(第2インターフェース部)
3、26A、26B ネットワーク接続ケーブル
4 機器(電子機器)
5 データ処理部(制御部)
6 データ記憶部
7 機器制御/状態データ線
8 カードインターフェース部(第1インターフェース部)
9、22、25 設定カード(可搬型記憶媒体)
10 機器の固有情報
11 ホスト名
12 IPアドレス
13 テーブルへのポインタ
14 MACアドレス(物理ネットワークアドレス)
15 貸与有効期限(貸与期限)
17 機器リスト
18 アドレスリストテーブル
20 ネットワーク接続端子
27 ネットワークハブ
30 ネットワーク
1, 2, 24, 29 Network setting device 2 Network interface part (second interface part)
3, 26A, 26B Network connection cable 4 Equipment (electronic equipment)
5 Data processing unit (control unit)
6 Data storage unit 7 Device control / status data line 8 Card interface unit (first interface unit)
9, 22, 25 Setting card (portable storage medium)
10 Device specific information 11 Host name 12 IP address 13 Pointer to table 14 MAC address (physical network address)
15 Loan Expiration Date (Lending Expiration Date)
17 Device List 18 Address List Table 20 Network Connection Terminal 27 Network Hub 30 Network

Claims (2)

ネットワークに接続される複数の機器の固有の情報が記録される部分と、前記固有の情報を読み出すためのアドレスリストが記録されている部分とを有する可搬型記憶媒体が接続されたとき、前記可搬型記憶媒体との間でデータ授受を行う第1インターフェース部と、
前記複数の機器中の特定の機器の固有の情報があらかじめ記憶されたデータ記憶部と、
前記ネットワークとの間でデータを授受するための第2インターフェース部と、
前記第1インターフェース部、前記データ記憶部並びに前記第2インターフェース部を制御して、前記第1インターフェース部に前記可搬型記憶媒体が接続され、前記特定の機器が新たに前記ネットワークに接続される際に前記アドレスリストに記録されている複数のアドレスから1つを選択して割り当て、前記特定の機器の前記固有の情報を前記データ記憶部から読み出して、その読み出した前記固有の情報と前記選択したアドレスとを共に前記可搬型記憶媒体の前記固有の情報が記録される部分と、前記第2インターフェース部との双方に記録するよう制御する制御部とを、
有するネットワーク設定装置。
When a portable storage medium having a portion in which unique information of a plurality of devices connected to the network is recorded and a portion in which an address list for reading out the unique information is recorded is connected, A first interface unit for exchanging data with a portable storage medium;
A data storage unit in which specific information of a specific device among the plurality of devices is stored in advance;
A second interface unit for exchanging data with the network;
When the portable storage medium is connected to the first interface unit and the specific device is newly connected to the network by controlling the first interface unit, the data storage unit, and the second interface unit. One of a plurality of addresses recorded in the address list is selected and assigned, the unique information of the specific device is read from the data storage unit, and the read unique information and the selected A control unit that controls to record both the address and the unique information of the portable storage medium and the second interface unit;
Network setting device.
ネットワークに接続される複数の機器の固有の情報が記録される部分と、前記固有の情報を読み出すためのアドレスリストが記録されている部分とを有する可搬型記憶媒体が接続されたとき、前記可搬型記憶媒体との間でデータ授受を行う第1インターフェース部と、
前記複数の機器中の特定の機器の固有の情報があらかじめ記憶されたデータ記憶部と、
前記ネットワークとの間でデータを授受するための第2インターフェース部と、
前記第1インターフェース部、前記データ記憶部並びに前記第2インターフェース部を制御して、前記第1インターフェース部に前記可搬型記憶媒体が接続され、前記特定の機器が新たに前記ネットワークに接続される際に前記アドレスリストに記録されている複数のアドレスから1つを選択して割り当て、前記特定の機器の前記固有の情報を前記データ記憶部から読み出して、その読み出した前記固有の情報と前記選択したアドレスとを共に前記可搬型記憶媒体の前記固有の情報が記録される部分と、前記第2インターフェース部との双方に記録するよう制御する制御部とを、
有するネットワーク設定装置における前記制御部としてコンピュータを機能させるためのコンピュータプログラムであって、
前記可搬型記憶媒体が前記ネットワーク設定装置に接続されたとき、その記憶内容を読み込むステップと、
前記記憶内容中の、1番目の機器の情報を読み込むステップと、
前記情報中に、前記特定の機器の情報が存在して登録されているか否かを判断するステップと、
前記判断ステップで、登録されていないと判断されたときは、前記特定の機器が未登録か否かを判断するステップと、
未登録であると判断されたときは、前記アドレスリストから空いているアドレスを取得するステップと、
取得した前記アドレスを複数の機器の固有の情報が記録される部分中の前記特定の機器の部分に追加登録するステップと、
あらかじめ記憶されている前記特定の機器の固有の情報を読み出し、前記取得した前記アドレスと共に前記可搬型記憶媒体の前記固有の情報が記録される部分と前記第2インターフェース部の双方に記録するステップと、
前記読み込むステップで読み込んだ前記記憶内容中に、前記複数の機器の情報が存在して登録されているか否かを判断するステップで、登録されていると判断されたときは、登録されている機器が前記特定の機器か否かを判断するステップと、
前記特定の機器であると判断されたときは、登録済であることを前記第2インターフェース部に記憶するステップと、
次の機器の情報を読み込むステップと、機器の情報が存在して登録されているか否かを判断する前記ステップと、前記特定の機器か否かを判断する前記ステップと、登録済であることを前記第2インターフェース部に記憶する前記ステップとを、該当する場合に、順次、前記記憶内容中の2番目以降の機器に対して実行するステップと、
登録されている機器が前記特定の機器か否かを判断する前記ステップで、特定機器ではないと判断されたときは、前記第2インターフェース部に記憶されている貸与期限を過ぎているか否かを判断するステップと、
貸与期限を過ぎていれば、前記特定の機器が存在するか否かを判断するステップと、
前記特定の機器が存在するか否かを判断するステップで前記特定の機器が存在すると判断されたときは、前記特定の機器の貸与期限を更新するステップと、
前記特定の機器が存在するか否かを判断するステップで前記特定の機器が存在しないと判断されたときは、前記特定の機器に関する情報を前記固有の情報が記録される部分から削除するステップと、
前記ネットワーク設定装置が前記ネットワークに接続された際に、前記ネットワーク設定装置の前記第2インターフェース部にアドレスが割り当て済みか否かを判断するステップと、
割り当て済みであると判断されたときは、前記アドレスが貸与期限内のものか否かを判断するステップと、
割り当て済みでないと判断されたとき並びに、前記アドレスが貸与期限内のものか否かを判断するステップで貸与期限を過ぎていると判断されたときは、前記可搬型記憶媒体を前記第1インターフェース部に接続するようユーザに促すステップと、
前記促すステップを実行した後、前記可搬型記憶媒体が前記第1インターフェース部に接続されたか否かを判断するステップとを、
前記制御部を構成するコンピュータに実行させるためのコンピュータプログラム。
When a portable storage medium having a portion in which unique information of a plurality of devices connected to the network is recorded and a portion in which an address list for reading out the unique information is recorded is connected, A first interface unit for exchanging data with a portable storage medium;
A data storage unit in which specific information of a specific device among the plurality of devices is stored in advance;
A second interface unit for exchanging data with the network;
When the portable storage medium is connected to the first interface unit and the specific device is newly connected to the network by controlling the first interface unit, the data storage unit, and the second interface unit. One of a plurality of addresses recorded in the address list is selected and assigned, the unique information of the specific device is read from the data storage unit, and the read unique information and the selected A control unit that controls to record both the address and the unique information of the portable storage medium and the second interface unit;
A computer program for causing a computer to function as the control unit in a network setting device having:
When the portable storage medium is connected to the network setting device, reading the stored content;
Reading information of a first device in the stored content;
Determining whether the information of the specific device exists and is registered in the information; and
When it is determined in the determining step that the device is not registered, the step of determining whether or not the specific device is unregistered;
When it is determined that it is unregistered, obtaining a free address from the address list;
Additionally registering the acquired address in the part of the specific device in the part where the unique information of a plurality of devices is recorded;
Reading out the specific information of the specific device stored in advance and recording it in both the portion where the unique information of the portable storage medium is recorded together with the acquired address and the second interface unit; ,
If it is determined in the step of determining whether or not information of the plurality of devices exists and is registered in the stored content read in the reading step, the registered device Determining whether or not is the specific device;
When it is determined that the device is the specific device, the step of storing in the second interface unit that it is already registered;
A step of reading information of the next device, the step of determining whether the device information exists and is registered, the step of determining whether the device is the specific device, and being registered The step of storing in the second interface unit, if applicable, sequentially executing the second and subsequent devices in the stored content;
In the step of determining whether or not the registered device is the specific device, if it is determined that the registered device is not the specific device, it is determined whether or not the loan expiration date stored in the second interface unit has passed. A step of judging;
If the loan deadline has passed, determining whether the specific device exists; and
When it is determined that the specific device exists in the step of determining whether or not the specific device exists, a step of updating a loan term of the specific device;
If it is determined that the specific device does not exist in the step of determining whether or not the specific device exists, deleting the information related to the specific device from the portion where the specific information is recorded; ,
Determining whether an address has been assigned to the second interface unit of the network setting device when the network setting device is connected to the network; and
When it is determined that the address has been allocated, the step of determining whether the address is within the lending period; and
When it is determined that the address has not been allocated, and when it is determined in the step of determining whether or not the address is within the lending period, the portable storage medium is connected to the first interface unit. Prompting the user to connect to,
After executing the prompting step, determining whether the portable storage medium is connected to the first interface unit;
A computer program for causing a computer constituting the control unit to execute.
JP2003317485A 2003-09-09 2003-09-09 Network-setting device and computer program Withdrawn JP2005085047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003317485A JP2005085047A (en) 2003-09-09 2003-09-09 Network-setting device and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003317485A JP2005085047A (en) 2003-09-09 2003-09-09 Network-setting device and computer program

Publications (1)

Publication Number Publication Date
JP2005085047A true JP2005085047A (en) 2005-03-31

Family

ID=34417050

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003317485A Withdrawn JP2005085047A (en) 2003-09-09 2003-09-09 Network-setting device and computer program

Country Status (1)

Country Link
JP (1) JP2005085047A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005210713A (en) * 2004-01-07 2005-08-04 Microsoft Corp Configuration of ad-hoc radio network using portable media device
JP2006229662A (en) * 2005-02-18 2006-08-31 Mitsubishi Electric Corp Device and method for setting parameter, and program
US7546357B2 (en) * 2004-01-07 2009-06-09 Microsoft Corporation Configuring network settings using portable storage media

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005210713A (en) * 2004-01-07 2005-08-04 Microsoft Corp Configuration of ad-hoc radio network using portable media device
US7546357B2 (en) * 2004-01-07 2009-06-09 Microsoft Corporation Configuring network settings using portable storage media
US7930374B2 (en) * 2004-01-07 2011-04-19 Microsoft Corporation Configuring network settings using portable storage media
US8145735B2 (en) 2004-01-07 2012-03-27 Microsoft Corporation Configuring network settings using portable storage media
JP2006229662A (en) * 2005-02-18 2006-08-31 Mitsubishi Electric Corp Device and method for setting parameter, and program
JP4498945B2 (en) * 2005-02-18 2010-07-07 三菱電機株式会社 Parameter setting apparatus, parameter setting method and program

Similar Documents

Publication Publication Date Title
EP2330512B1 (en) Data processing device, method, and server to determine types of electric appliances
US7554931B2 (en) System and method for remote dynamic network configuration
JP4235460B2 (en) Network device management method, network device management program, and network control apparatus
WO2021135299A1 (en) Binding method and system for device network configuration, and mobile terminal and storage medium
JP2000033755A (en) Method for constituting network of peripheral apparatus
JP2006094526A (en) Ip address management method for ipc
CN112804732B (en) Method and device for identifying electronic equipment and electronic equipment
JPWO2008120363A1 (en) RELAY DEVICE, RELAY PROGRAM, RELAY METHOD, AND MANAGEMENT SYSTEM FOR DEVICE CONNECTED TO NETWORK
JP4753194B2 (en) IP telephone apparatus, IP telephone system, and setting confirmation method
US10256988B2 (en) Communication system, communication device, communication adapter, communication method, and program
JP2005085047A (en) Network-setting device and computer program
CN101656722B (en) Method for generating dynamic host configuration protocol (DHCP) snooping binding information, and device thereof
JP4143277B2 (en) Communication system, connection setting method and connection setting program for exchange and terminal
JP2005117651A (en) Method and device for managing ip address and name mapping for wireless clients
TW201136429A (en) Network storage system for application and method thereof
KR100397468B1 (en) Network management device and method using mib name server
JP2002135254A (en) Communication processor and its program-recording medium
JP6662114B2 (en) Address setting method, address setting program, and information processing apparatus
JP4721782B2 (en) Communication management apparatus and communication system
JP6562723B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
JP2004206223A (en) Initial setting system of consoleless apparatus, initial setting method, and program
CN110177076B (en) Multi-protocol multi-type device access method, electronic device and storage medium
JP4438572B2 (en) IP telephone terminal setting device, IP telephone terminal, and program
JP4064875B2 (en) Communication device and electric appliance
JP2006295513A (en) Method for automatically accessing web server-mounting equipment

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: 20061205