JP2007156809A - Network device unit, network control method, computer-readable recording medium with control program recorded thereon, and network device control program - Google Patents

Network device unit, network control method, computer-readable recording medium with control program recorded thereon, and network device control program Download PDF

Info

Publication number
JP2007156809A
JP2007156809A JP2005350841A JP2005350841A JP2007156809A JP 2007156809 A JP2007156809 A JP 2007156809A JP 2005350841 A JP2005350841 A JP 2005350841A JP 2005350841 A JP2005350841 A JP 2005350841A JP 2007156809 A JP2007156809 A JP 2007156809A
Authority
JP
Japan
Prior art keywords
network
network device
request
changing
setting
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
JP2005350841A
Other languages
Japanese (ja)
Inventor
Masahiko Sakai
昌彦 酒井
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2005350841A priority Critical patent/JP2007156809A/en
Publication of JP2007156809A publication Critical patent/JP2007156809A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent a unauthorized user from changing or resetting network setting for a network device unit, when a device password is set for the network device unit. <P>SOLUTION: The network device unit is connected to an information processor, and has a reception means for receiving a request for changing the network setting of the network device unit transmitted from the information processor, a changing means for changing the network setting of the network device unit based on a request for changing the network setting of the network device unit received by the reception means, an identification means for identifying a mode for restricting access to the network device unit, and a control means for controlling whether or not to execute the request for changing the network setting of the network device unit. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明はネットワークに接続されているネットワークデバイス装置、またそのネットワークデバイス装置におけるネットワークデバイス制御方法及びネットワークデバイス制御プログラムに関するものである。   The present invention relates to a network device apparatus connected to a network, a network device control method and a network device control program in the network device apparatus.

近年、コンピュータを相互に接続したローカルエリアネットワーク(LAN)が普及しており、このようなローカルエリアネットワークは、ビルのフロア又はビル全体、ビル群(構内)、地域、あるいは更に大きなエリアに亘って構築することができる。このようなネットワークは更に相互に接続され、世界的規模のネットワークにも接続することができる。   In recent years, a local area network (LAN) in which computers are connected to each other has become widespread, and such a local area network extends over a building floor or an entire building, a group of buildings (premises), a region, or a larger area. Can be built. Such networks are further connected to each other and can be connected to a global network.

このような相互接続された各LANは、多様なハードウェア相互接続技術と幾つものネットワークプロトコルを持つ場合がある。   Each such interconnected LAN may have a variety of hardware interconnection technologies and a number of network protocols.

他と切り離された簡単なLANは個々のユーザが管理することができる。即ち、ユーザがデバイスを取り替えたり、ソフトウェアをインストールしたり、問題点を診断したりすることができる。   A simple LAN separated from others can be managed by individual users. That is, the user can replace a device, install software, or diagnose a problem.

一方、規模の大きな複雑なLANや相互接続された大きなLANグループは「管理」を必要とする。ここで、「管理」とは、人間のネットワーク管理者とその管理者が使用するソフトウェアの両方による管理を意味する。以下においては、「管理」とはシステム全体を管理するためのソフトウェアによる管理を意味し、「ユーザ」とはネットワーク管理ソフトウェアを使用する人を意味するものとする。このユーザは、通常、システム管理責任者である。ユーザは、ネットワーク管理ソフトウェアを使うことによってネットワーク上で管理データを得てこのデータを変更することができる。   On the other hand, large-scale complex LANs and large interconnected LAN groups require “management”. Here, “management” means management by both a human network administrator and software used by the administrator. In the following, “management” means management by software for managing the entire system, and “user” means a person who uses network management software. This user is usually the system administrator. The user can obtain management data on the network and change this data by using network management software.

大規模ネットワークシステムは、通常、ネットワークデバイス装置の増設と除去ソフトウェアの更新及び問題の検出等を絶えず行うことが要求される動的システムである。一般に、様々な人が所有する、あるいは様々な業者から供給される様々なシステムが存在する。   A large-scale network system is usually a dynamic system that is required to constantly add and remove network device devices, update software, and detect problems. In general, there are various systems owned by various people or supplied by various vendors.

このようなLANにおいて、個々のネットワークデバイス装置は、各ネットワークプロトコル特有のネットワークアドレス(以下、アドレスと称する)によって識別されて運営・管理される。   In such a LAN, each network device device is identified and operated and managed by a network address (hereinafter referred to as an address) unique to each network protocol.

しかし、或るネットワークデバイス装置をネットワークに初めて接続する場合(工場出荷状態等)やネットワークデバイス装置の再設定を行う場合は、アドレスが未設定であったり、有効なアドレスではないことが多い。そのため、ネットワーク管理ソフトウェア等から、ネットワークデバイス装置に対してユーザが任意のアドレスを設定する必要がある。   However, when a certain network device device is connected to the network for the first time (factory shipment state, etc.) or when resetting the network device device, the address is often not set or is not a valid address in many cases. Therefore, it is necessary for the user to set an arbitrary address for the network device device from the network management software or the like.

ネットワーク管理ソフトウェアを使用してネットワークデバイス装置(例えば、プリンタ)のアドレス設定を行う場合、ネットワーク管理ソフトウェアからネットワークデバイス装置に対して通信を行うための何らかのネットワークプロトコルが必要となる。   When the network management software is used to set the address of a network device device (for example, a printer), some network protocol is required for communication from the network management software to the network device device.

しかし、前述のような工場出荷状態のネットワークデバイス装置は、IPアドレス等の標準的なアドレスが使用不可能であるため、SNMP(Simple Network Management Protocol)等の標準的なネットワーク管理プロトコルが使用できない。そのため、上記アドレス設定等を行うための方法として、デバイスの識別にMACアドレスを識別子として使用するような独自プロトコルを実装することが考えられる。ここで言うMACアドレスとは、ネットワークデバイス装置に固有の物理アドレスである。Ethernet(登録商標)ならば6bytes長で、先頭の3bytesはベンダコードとしてIEEE(Institute of Electrical and Electronic Engineers、米国電気電子学会)が管理/割り当てを行っている。残り3bytesは各ベンダで独自に(重複しないように)管理しているコードであるため、結果として世界中で同じ物理アドレスを持つネットワークデバイス装置は存在せず、全て異なるアドレスが割り当てられていることになる。イーサネット(登録商標)ではこのアドレスを元にしてフレームの送受信を行っている。   However, a standard network management protocol such as SNMP (Simple Network Management Protocol) cannot be used in a network device device in a factory-shipped state as described above because a standard address such as an IP address cannot be used. Therefore, as a method for performing the above address setting or the like, it is conceivable to implement a unique protocol that uses a MAC address as an identifier for device identification. The MAC address here is a physical address unique to the network device. In the case of Ethernet (registered trademark), the length is 6 bytes, and the first 3 bytes are managed / assigned as a vendor code by IEEE (Institute of Electrical and Electronic Engineers, American Institute of Electrical and Electronics Engineers). The remaining 3 bytes are codes managed independently by each vendor (so as not to overlap). As a result, there are no network device devices with the same physical address in the world, and all different addresses are assigned. become. In Ethernet (registered trademark), frames are transmitted and received based on this address.

つまり、このようなMACアドレスを使用した独自プロトコルの場合、ネットワーク上にあるデバイスのMACアドレスを獲得して、MACアドレスの得られたネットワークデバイス装置のリストを表示し、そのリスト中からネットワークデバイス装置を選択させることができる。   That is, in the case of a unique protocol using such a MAC address, the MAC address of a device on the network is acquired, a list of network device devices from which the MAC address is obtained is displayed, and the network device device is displayed from the list. Can be selected.

そして、ネットワーク管理ソフトウェアにより表示されるリストより目的のネットワークデバイス装置を選択しネットワークデバイス装置に接続されたネットワークボードのアドレス、有効とするプロトコル等の選択を行う。   Then, a target network device device is selected from a list displayed by the network management software, and an address of a network board connected to the network device device, a valid protocol, and the like are selected.

また、ネットワーク管理ソフトウェアは、これらの設定情報を設定パケットとして、目的のネットワークデバイス装置のネットワークボードに送信することにより、ネットワークデバイス装置のネットワークボードの設定を行う。   Further, the network management software sets the network board of the network device device by transmitting the setting information as a setting packet to the network board of the target network device device.

一旦、有効なIPアドレス等が設定できれば、以降は、SNMP等の標準的なネットワーク管理プロトコルを使用してネットワーク管理ソフトウェアからネットワークデバイス装置の管理を行うことができる。   Once a valid IP address or the like can be set, network device devices can be managed from network management software using a standard network management protocol such as SNMP.

ネットワークデバイス装置の管理を行うために、ネットワーク管理ソフトウェアは、ネットワークデバイス機器毎にデバイスパスワードの認証を行う機能をサポートしている。   In order to manage network device devices, the network management software supports a function for authenticating a device password for each network device device.

デバイスパスワードの認証により、必要に応じて管理者がネットワークボードに設定したデバイスパスワードをネットワークデバイス機器から取得し、ユーザにより入力されたデバイスパスワードと一致する場合にのみ、そのネットワークデバイス機器及びネットワークボードを詳細な情報の取得及び設定が可能な状態にすることができる。ネットワーク管理ソフトウェアでは、この状態を管理者モードという。
特許第3486549号公報
When the device password is authenticated, the device password set by the administrator on the network board is acquired from the network device device as necessary.If the device password matches the device password entered by the user, the network device device and the network board are Detailed information can be acquired and set. In the network management software, this state is called an administrator mode.
Japanese Patent No. 3486549

しかしながら上記従来例では、MACアドレスを使用した独自プロトコルによるネットワーク設定の変更は認証などのアクセス制限がないため、ネットワークデバイス機器に有効なIPアドレス等が設定された後も、権限のないユーザが、MACアドレスを使用した独自プロトコルにより、ネットワークデバイス装置のネットワーク設定を変更したり、リセットしてしまう可能性があるという問題があった。   However, in the above conventional example, since the change of the network setting by the unique protocol using the MAC address has no access restriction such as authentication, even after an effective IP address or the like is set in the network device device, an unauthorized user can There is a problem that the network setting of the network device device may be changed or reset by a unique protocol using a MAC address.

本発明の目的は、ネットワークデバイス装置のデバイスパスワードが設定されている場合に、MACアドレスを使用した独自プロトコルによるネットワークデバイス装置のネットワーク設定を変更するための要求を実行しないことにより、権限のないユーザが、ネットワークデバイス装置のネットワーク設定を変更したり、リセットしてしまうことを防止するネットワークデバイスを提供することにある。   It is an object of the present invention to provide an unauthorized user by not executing a request for changing the network setting of a network device device by a unique protocol using a MAC address when a device password of the network device device is set. However, an object of the present invention is to provide a network device that prevents the network settings of the network device device from being changed or reset.

上記目的を達成するために本発明は次のような構成からなる。すなわち、情報処理装置とネットワークを介して接続されているネットワークデバイス装置であって、前記情報処理装置から送信されてきた前記ネットワークデバイス装置のネットワーク設定を変更するための要求を受信する受信手段と、前記受信手段により受信された前記ネットワークデバイス装置のネットワーク設定を変更するための要求に基づいて、前記ネットワークデバイス装置のネットワーク設定を変更するための変更手段と、ネットワークデバイス装置へのアクセスを制限するためのモードを識別するための識別手段と、前記識別手段により識別されるモードに従って、前記ネットワークデバイス装置のネットワーク設定を変更するための要求を実行するか否かを制御する制御手段とを有することを特徴とする。   In order to achieve the above object, the present invention comprises the following arrangement. That is, a network device connected to the information processing apparatus via a network, and receiving means for receiving a request for changing the network setting of the network device apparatus transmitted from the information processing apparatus; Based on the request for changing the network setting of the network device apparatus received by the receiving means, the changing means for changing the network setting of the network device apparatus, and for restricting access to the network device apparatus Identification means for identifying a mode of the network device, and control means for controlling whether or not to execute a request for changing the network settings of the network device device according to the mode identified by the identification means. Features.

以上説明したように、本発明によって、ネットワークデバイス装置のデバイスパスワードが設定されている場合に、MACアドレスを使用した独自プロトコルによるネットワークデバイス装置のネットワーク設定を変更するための要求を実行しないことにより、権限のないユーザが、ネットワークデバイス装置のネットワーク設定を変更したり、リセットしてしまうことを防止することができる。   As described above, according to the present invention, when the device password of the network device device is set, by not executing the request for changing the network setting of the network device device by the unique protocol using the MAC address, It is possible to prevent an unauthorized user from changing or resetting the network settings of the network device device.

(実施例1)
以下、添付の図面を参照して本発明の実施例を説明する。
Example 1
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.

図2は、本実施の形態におけるネットワークボードをプリンタに接続した場合のネットワークの構成を示す概略図である。ネットワークボード201は、LAN200に接続されるネットワークデバイス装置の一例である。ネットワークボード201は、RJ−45を持つ10Base−Tなどのインタフェイスを介してLAN200に接続されている。   FIG. 2 is a schematic diagram showing a network configuration when the network board according to the present embodiment is connected to a printer. The network board 201 is an example of a network device device connected to the LAN 200. The network board 201 is connected to the LAN 200 via an interface such as 10Base-T having RJ-45.

パーソナルコンピュータ(PC)203もまた、LAN200に接続されており、PC203はLAN200を介してネットワークボード201と通信をすることが可能である。このPC203では、ネットワークを管理するためのネットワーク制御プログラムが稼働し、それによってネットワークが制御される。なお、図2における要求パケット、あるいは応答パケットについては後述する。   A personal computer (PC) 203 is also connected to the LAN 200, and the PC 203 can communicate with the network board 201 via the LAN 200. In the PC 203, a network control program for managing the network is operated, and the network is controlled thereby. The request packet or response packet in FIG. 2 will be described later.

通常、LAN200は、幾分ローカルなユーザグループ、例えば、1つの建物内の1つの階、あるいは1つの建物の連続した階のユーザグループに対してサービスを提供する。ユーザ同士が異なる建物にいる場合には、ユーザ間の距離に応じてワイドエリアネットワーク(WAN)を構築してもよい。WANは、基本的には、いくつかのLANが高速度サービス総合デジタルネットワーク(ISDN)などの高速度デジタルラインで接続されて形成された、LANの集合体である。   Typically, the LAN 200 provides services to a somewhat local user group, for example, a user group on one floor in a building, or on consecutive floors of a building. When users are in different buildings, a wide area network (WAN) may be constructed according to the distance between the users. A WAN is basically a collection of LANs formed by connecting several LANs with high-speed digital lines such as an high-speed integrated services digital network (ISDN).

図3は、図2におけるネットワークボード201とプリンタ202の内部構成の概略を示すブロック図である。プリンタ202は、CPU301、ROM302、RAM303、バス304、エンジン制御部305、I/O制御部306、データI/O制御部307、拡張I/F制御部308、パラレルI/F制御部309、拡張ボードバス310、プリンタエンジン311、LCD312、キーパッド313を備えている。   FIG. 3 is a block diagram showing an outline of the internal configuration of the network board 201 and the printer 202 in FIG. The printer 202 includes a CPU 301, ROM 302, RAM 303, bus 304, engine control unit 305, I / O control unit 306, data I / O control unit 307, expansion I / F control unit 308, parallel I / F control unit 309, expansion A board bus 310, a printer engine 311, an LCD 312, and a keypad 313 are provided.

CPU301はプリンタの全体を制御する。ROM302にはプリンタを制御するプログラム等が格納されており、RAM303はCPU301のワークエリアなどに使われる。バス304には各制御部が接続されている。エンジン制御部305はLBPエンジンを制御し、I/O制御部306はLCD312やキー入力を受け付けるキーパッド313などを制御する。また、データI/O制御部307は外部とのデータの入出力制御を行い、拡張I/F制御部318やパラレルI/F制御部309を制御する。拡張I/F制御部308は拡張ボードバス310を介してネットワークボード201と接続している。   A CPU 301 controls the entire printer. The ROM 302 stores a program for controlling the printer, and the RAM 303 is used as a work area for the CPU 301. Each control unit is connected to the bus 304. The engine control unit 305 controls the LBP engine, and the I / O control unit 306 controls the LCD 312 and the keypad 313 that receives key inputs. The data I / O control unit 307 performs input / output control of data with the outside, and controls the extended I / F control unit 318 and the parallel I / F control unit 309. The expansion I / F control unit 308 is connected to the network board 201 via the expansion board bus 310.

ネットワークボード201は、CPU314、ROM315、RAM316、バス317、拡張I/F制御部318、タイマ320、ネットワークI/F制御部319を備えている。   The network board 201 includes a CPU 314, ROM 315, RAM 316, bus 317, extended I / F control unit 318, timer 320, and network I / F control unit 319.

CPU314はネットワークボードの全体を制御する。ROM315にはネットワークボードを制御するプログラム等が格納されており、RAM316はCPU314のワークエリアなどとして使われる。ネットワークI/F制御部319はネットワークとの通信を制御する。   The CPU 314 controls the entire network board. The ROM 315 stores a program for controlling the network board, and the RAM 316 is used as a work area for the CPU 314. The network I / F control unit 319 controls communication with the network.

ネットワークボード201は、拡張I/F制御部318が制御可能な拡張ボードバス310を備えていれば、プリンタのみならず、ファクシミリ、コピア、複合機などにも接続が可能である。そして、ネットワークボードを用いることにより、様々な装置がネットワーク接続することが可能になる。   The network board 201 can be connected not only to a printer but also to a facsimile machine, a copier, a multifunction machine, etc. as long as the network board 201 includes an extension board bus 310 that can be controlled by the extension I / F control unit 318. By using the network board, various devices can be connected to the network.

次に、ネットワークボード201の制御プログラムの構成を説明する。図4は、ネットワークボード201の制御プログラムの構成を示す概略図である。まず、プリンタI/Fドライバモジュール401は、拡張I/F制御部310を制御して、プリンタとのデータ送受信を行う。印刷プロトコルモジュール402はネットワーク上の汎用印刷プロトコルをサポートする。ネットワークプロトコル通信モジュール403はネットワークにおける通信制御を行う。ネットワークドライバモジュール404はネットワークI/F制御部319を制御し、実際にネットワークとの間でパケットの送受信を行う。デバイス管理モジュール405は、ネットワーク上のPC203と通信を行い、ネットワークボード201に関する情報の設定や参照、プリンタ情報の設定や参照などを行う。   Next, the configuration of the control program for the network board 201 will be described. FIG. 4 is a schematic diagram showing the configuration of the control program for the network board 201. First, the printer I / F driver module 401 controls the extended I / F control unit 310 to perform data transmission / reception with the printer. The print protocol module 402 supports a general purpose print protocol on the network. The network protocol communication module 403 performs communication control in the network. The network driver module 404 controls the network I / F control unit 319 and actually transmits / receives a packet to / from the network. The device management module 405 communicates with the PC 203 on the network, and performs setting and reference of information regarding the network board 201, setting and reference of printer information, and the like.

印刷プロトコルモジュール402は、プロトコルの印刷通信手順に従って、ネットワークプロトコル通信モジュール403を用いてネットワークから印刷データを受信する。受信された印刷データは、プリンタI/Fドライバモジュール401を介してプリンタに送出される。ネットワークドライバモジュール404とネットワークプロトコル通信モジュール403によって、ブロードキャストパケットやマルチキャストパケットの受信処理が行われる。受信されたデータは、プロトコルの種類に応じてデバイス管理モジュール405へ送られる。   The print protocol module 402 receives print data from the network using the network protocol communication module 403 according to the protocol print communication procedure. The received print data is sent to the printer via the printer I / F driver module 401. The network driver module 404 and the network protocol communication module 403 perform broadcast packet and multicast packet reception processing. The received data is sent to the device management module 405 according to the type of protocol.

本実施の形態では、ネットワークプロトコル通信モジュール403ではTCP/IPが実装されている。TCP/IPパケットヘッダの個々の項目についての詳細及びIPアドレスの体系については、「詳解 TCP/IP」(W.RichardStevens=著/井上尚司=監修・橘康雄=訳 ソフトバンク(株)発行 1997年3月31日初版発行)を参照してほしい。   In this embodiment, the network protocol communication module 403 implements TCP / IP. For details on the individual items of the TCP / IP packet header and the IP address system, see “Detailed TCP / IP” (W. Richard Stevens = work / Naoji Inoue = supervision, Yasuo Tachibana = translation issued by Softbank Corp., 1997 3 Please refer to the first edition issued on March 31).

図4における各モジュールは図3のROM315に制御プログラムとして格納されており、図3のCPU314がこれらのモジュールを実行することにより、本実施の形態に記載されているネットワークボードの様々な機能が実現される。   Each module in FIG. 4 is stored as a control program in the ROM 315 in FIG. 3, and various functions of the network board described in this embodiment are realized by the CPU 314 in FIG. 3 executing these modules. Is done.

図5は、ネットワーク管理ソフトウェアが稼働可能なPC203の構成を示すブロック図である。   FIG. 5 is a block diagram showing a configuration of the PC 203 capable of operating the network management software.

図5において、PC203はネットワーク管理ソフトウェアが稼働するPCであり、図2における203と同等である。PC203は、ROM502もしくはハードディスク(HD)511に記憶された、あるいはフレキシブルディスクドライブ(FD)512より供給されるネットワーク管理ソフトウェアを実行するCPU501を備え、システムバス504に接続される各デバイスを総括的に制御する。   In FIG. 5, a PC 203 is a PC on which network management software operates, and is equivalent to 203 in FIG. The PC 203 includes a CPU 501 that executes network management software that is stored in the ROM 502 or the hard disk (HD) 511 or that is supplied from the flexible disk drive (FD) 512. The PC 203 generally includes devices connected to the system bus 504. Control.

503はRAMで、CPU501の主メモリ、ワークエリア等として機能する。505はキーボードコントローラ(KBC)で、キーボード(KB)509や不図示のポインティングデバイス等からの指示入力を制御する。506はCRTコントローラ(CRTC)で、CRTディスプレイ(CRT)510の表示を制御する。507はディスクコントローラ(DKC)で、ブートプログラム、種々のアプリケーション、編集ファイル、ユーザファイルそしてネットワーク管理ソフトウェア等を記憶するハードディスク(HD)511およびフレキシブルディスクコントローラ(FD)512とのアクセスを制御する。508はネットワークインターフェースカード(NIC)で、LAN200を介して、エージェントあるいはネットワーク機器と双方向にデータをやり取りする。   Reference numeral 503 denotes a RAM which functions as a main memory, work area, and the like for the CPU 501. A keyboard controller (KBC) 505 controls an instruction input from a keyboard (KB) 509 or a pointing device (not shown). Reference numeral 506 denotes a CRT controller (CRTC) which controls display on a CRT display (CRT) 510. A disk controller (DKC) 507 controls access to a hard disk (HD) 511 and a flexible disk controller (FD) 512 that store a boot program, various applications, editing files, user files, network management software, and the like. Reference numeral 508 denotes a network interface card (NIC) that exchanges data bidirectionally with an agent or a network device via the LAN 200.

次に、ネットワーク管理装置及びソフトウェアの構成について説明する。   Next, the configuration of the network management apparatus and software will be described.

ネットワーク管理装置は、図5に示したようなPC上に実現される。ハードディスク(HD)511には、後述のすべての説明で動作主体となるネットワーク管理ソフトウェアのプログラムが格納される。後述のすべての説明において、特に断りのない限り、実行の主体はハードウェア上のCPU501である。一方、ソフトウェア上の制御の主体は、ハードディスク(HD)511に格納されたネットワーク管理ソフトウェアである。OSは例えば、マイクロソフト(マイクロソフトは登録商標です)社製ウィンドウズ(登録商標)を想定しているが、これに限るものではない。   The network management apparatus is realized on a PC as shown in FIG. The hard disk (HD) 511 stores a program of network management software that is an operation subject in all the descriptions below. In all the descriptions below, unless otherwise specified, the execution subject is the CPU 501 on hardware. On the other hand, the subject of software control is network management software stored in the hard disk (HD) 511. For example, the OS is assumed to be Windows (registered trademark) manufactured by Microsoft (Microsoft is a registered trademark), but is not limited thereto.

なおネットワーク管理ソフトウェアは、フレキシブルディスクやCD−ROMなどの記憶媒体に格納された形で供給されても良く、その場合には図5に示すフレキシブルディスクコントローラ(FD)512または不図示のCD−ROMドライブなどによって記憶媒体からプログラムが読み取られ、ハードディスク(HD)511にインストールされる。   The network management software may be supplied in a form stored in a storage medium such as a flexible disk or a CD-ROM. In this case, the flexible disk controller (FD) 512 shown in FIG. 5 or a CD-ROM (not shown) is used. A program is read from a storage medium by a drive or the like and installed in a hard disk (HD) 511.

図6は、ネットワーク管理ソフトウェアのモジュール構成図である。   FIG. 6 is a module configuration diagram of the network management software.

ネットワーク管理ソフトウェアは、図5におけるハードディスク511に格納されており、CPU501によって実行される。その際、CPU501はワークエリアとしてRAM503を使用する。   The network management software is stored in the hard disk 511 in FIG. 5 and is executed by the CPU 501. At that time, the CPU 501 uses the RAM 503 as a work area.

図6において、601はデバイスリストモジュールと呼ばれ、ネットワークに接続されたデバイスを一覧にして表示するモジュールである。602は全体制御モジュールと呼ばれ、デバイスリストからの指示をもとに、他のモジュールを統括する。603はコンフィグレータと呼ばれ、デバイスのネットワーク設定に関する特別な処理を行うモジュールである。特に、工場出荷状態のネットワーク機器を初めてLANに接続する場合などに、後述する特殊なプロトコルによってネットワーク機器の設定を行う。604は探索モジュールと呼ばれ、ネットワークに接続されているデバイスを探索するモジュールである。探索モジュール604によって探索されたデバイスが、デバイスリスト601によって一覧表示される。605は、ICMPプロトコルの制御を行うICMPモジュールである。ICMPは、IETFのRFC792で規定されているTCP/IP制御用のプロトコルであり、TCP/IPを実装している端末/デバイスで標準的に実装されている。   In FIG. 6, reference numeral 601 denotes a device list module that displays a list of devices connected to the network. Reference numeral 602 denotes an overall control module that controls other modules based on instructions from the device list. Reference numeral 603 denotes a configurator, which is a module that performs special processing related to device network settings. In particular, when a factory-shipped network device is connected to a LAN for the first time, the network device is set using a special protocol described later. Reference numeral 604 denotes a search module that searches for a device connected to the network. The devices searched by the search module 604 are displayed in a list by the device list 601. An ICMP module 605 controls the ICMP protocol. ICMP is a protocol for TCP / IP control defined by RFC 792 of IETF, and is standardly implemented in terminals / devices that implement TCP / IP.

606および607は後述するデバイス詳細ウィンドウを表示するためのUIモジュールであり、詳細情報を表示する対象機種毎にUIモジュールが存在する。608および609は制御モジュールと呼ばれ、詳細情報を取得する対象機種に特有の制御を受け持つモジュールである。UIモジュールと同様に、制御モジュールも詳細情報を表示する対象機種毎に存在する。制御Aモジュール608および制御Bモジュール609は、MIBモジュール610を用いて管理対象デバイスからMIBデータを取得し、必要に応じてデータの変換を行い、各々対応するUI Aモジュール606またはUI Bモジュール607にデータを渡す。   Reference numerals 606 and 607 denote UI modules for displaying a device detail window, which will be described later, and there is a UI module for each target model for displaying detailed information. Reference numerals 608 and 609 are referred to as control modules, and are modules responsible for control specific to the target model for which detailed information is acquired. Similar to the UI module, a control module also exists for each target model that displays detailed information. The control A module 608 and the control B module 609 obtain MIB data from the management target device using the MIB module 610, convert the data as necessary, and transfer the data to the corresponding UI A module 606 or UI B module 607, respectively. Pass data.

さて、MIBモジュール610は、オブジェクト識別子とオブジェクトキーとの変換を行うモジュールである。ここでオブジェクトキーとは、オブジェクト識別子と一対一に対応する32ビットの整数のことである。オブジェクト識別子は可変長の識別子であり、ネットワーク管理ソフトウェアを実装する上で扱いが面倒なので、本願に係るネットワーク管理ソフトウェアにおいてはオブジェクト識別子と一対一に対応する固定長の識別子を内部的に用いている。MIBモジュール610より上位のモジュールはこのオブジェクトキーを用いてMIBの情報を扱う。611はSNMPモジュールと呼ばれ、SNMPパケットの送信と受信を行う。   The MIB module 610 is a module that performs conversion between an object identifier and an object key. Here, the object key is a 32-bit integer corresponding one-to-one with the object identifier. The object identifier is a variable-length identifier and is difficult to handle when implementing the network management software. Therefore, in the network management software according to the present application, a fixed-length identifier corresponding to the object identifier is used internally. . Modules above the MIB module 610 handle MIB information using this object key. Reference numeral 611 denotes an SNMP module, which transmits and receives SNMP packets.

612は共通トランスポートモジュールと呼ばれ、SNMPデータを運搬するための下位プロトコルの差を吸収するモジュールである。実際には、動作時にユーザが選択したプロトコルによって、IPXハンドラ613かUDPハンドラ614のいずれかがデータを転送する役割を担う。なお、UDPハンドラ614は、実装としてWinSock615を用いている。WinSockについては、例えば、Windows(登録商標) Socket API v1.1の仕様書に記載されている。このドキュメントは複数箇所から入手可能であるが、例えばマイクロソフト(マイクロソフトは登録商標です)社製のコンパイラであるVisual C++に同梱されている。   612 is called a common transport module, and is a module that absorbs differences in lower-layer protocols for carrying SNMP data. Actually, either the IPX handler 613 or the UDP handler 614 is responsible for transferring data depending on the protocol selected by the user during operation. The UDP handler 614 uses WinSock 615 as an implementation. WinSock is described, for example, in the specification of Windows (registered trademark) Socket API v1.1. This document can be obtained from a plurality of locations. For example, it is bundled with Visual C ++ which is a compiler manufactured by Microsoft (Microsoft is a registered trademark).

次に、本実施の形態における独自設定参照プロトコルをTCP/IPプロトコルにより実装した場合について説明する。なお、本実施の形態における独自設定参照プロトコルをコンフィグレータプロトコルという。本実施例では、このコンフィグレータプロトコルをUDP(User Datagram Protocol)上に実装する。   Next, a case where the unique setting reference protocol in the present embodiment is implemented by the TCP / IP protocol will be described. The unique setting reference protocol in the present embodiment is referred to as a configurator protocol. In the present embodiment, this configurator protocol is implemented on UDP (User Datagram Protocol).

図7は、コンフィグレータプロトコルのパケットヘッダの一例を示す説明図である。コンフィグレータプロトコルはUDPのポート番号0x83b6を使用しており、要求パケットにおける送信先のIPアドレス(Dest IP)を“255.255.255.255”、MACアドレス(Dest MAC)を0xffffffffffffとする。   FIG. 7 is an explanatory diagram showing an example of a packet header of the configurator protocol. The configurator protocol uses UDP port number 0x83b6, and the destination IP address (Dest IP) in the request packet is “255.255.255.255” and the MAC address (Dest MAC) is 0xffffffffffff.

ここでいうMACアドレスとは、機器固有の物理アドレスである。Ethernet(登録商標)であれば、MACアドレスは6バイト長で、先頭の3バイトはベンダコードとして、IEEE(Institute of Electrical and Electronic Enginerrs、米国電気電子学会)が管理・割り当てを行っている。残りの3バイトは、各ベンダが独自に(重複しないように)管理しているコードである。その結果、世界中で同じ物理アドレスを持つネットワーク機器は存在せず、ネットワーク機器間で全て異なるアドレスが割り当てられる。   The MAC address here is a physical address unique to the device. In the case of Ethernet (registered trademark), the MAC address is 6 bytes long, and the first 3 bytes are managed and assigned by the Institute of Electrical and Electronic Engineers (IEEE) as the vendor code. The remaining 3 bytes are codes managed by each vendor independently (to avoid duplication). As a result, there are no network devices having the same physical address in the world, and different addresses are allotted among the network devices.

MACアドレスが0xffffffffffffの場合は、そのパケットはブロードキャストパケットとして扱われ、ネットワーク上に接続されている全てのネットワークデバイス装置がこのパケットを受信することになる。   When the MAC address is 0xffffffffffff, the packet is treated as a broadcast packet, and all network device devices connected on the network receive this packet.

このコンフィグレータプロトコルによって、図2のPC203からネットワークボード201に関する情報の設定・参照、リセットを行うことが可能であり、更にネットワークボードなどのネットワークデバイス装置の探索が可能である。   With this configurator protocol, it is possible to set, refer to, and reset information related to the network board 201 from the PC 203 of FIG. 2, and to search for network device devices such as network boards.

次に、コンフィグレータプロトコルにおけるパケットのデータ部ついて説明する。図8は、コンフィグレータプロトコルにおけるパケットのデータ部の構造の概略図である。   Next, the data portion of the packet in the configurator protocol will be described. FIG. 8 is a schematic diagram of the structure of the data portion of a packet in the configurator protocol.

図8において、AAA Validは、AppleTalk Valid(AppleTalkは登録商標です)のことであり、AAA 情報は、AppleTalk(AppleTalkは登録商標です)情報のことである。   In FIG. 8, AAA Valid is AppleTalk Valid (AppleTalk is a registered trademark), and AAA information is AppleTalk (AppleTalk is a registered trademark) information.

各パラメータの詳細は以下の通りである。   Details of each parameter are as follows.

(1)Version(2byte)
バージョンを示す。本バージョンは0x0300とする。
(1) Version (2 bytes)
Indicates the version. This version is 0x0300.

(2)Request Code
本パケットで要求する機能を示すコード
0:Set(設定)
1:Get(参照)
2:NVRAM−Reset(NVRAM値でリセット)
3:Factory−Reset(工場初期値でリセット)
4:Discovery(探索)
(3)Result Code(2byte)
要求された結果を示すコード
0×0000:成功
0×0001:メディアタイプ異常
0×0002:指定プロトコルスタックなし
0×0003:バージョン異常
0×FFFF:詳細不明エラー
(4)Media type(2byte)
通信メディアを示す。
(2) Request Code
Code indicating the function requested in this packet 0: Set (setting)
1: Get (reference)
2: NVRAM-Reset (reset with NVRAM value)
3: Factory-Reset (factory reset)
4: Discovery
(3) Result Code (2 bytes)
Code indicating the requested result 0 × 0000: Success 0 × 0001: Media type error 0 × 0002: No specified protocol stack 0 × 0003: Version error 0 × FFFF: Detail unknown error (4) Media type (2 bytes)
Indicates communication media.

0:Ethernet(登録商標)
(5)Protocol Info
それぞれのプロトコル情報に対応するフラグ。Request Codeが0(設定)の場合、対応するバイトが1のプロトコルに関する情報のみが設定される。
0: Ethernet (registered trademark)
(5) Protocol Info
Flag corresponding to each protocol information. When the Request Code is 0 (set), only information related to the protocol whose corresponding byte is 1 is set.

(6)NetWare Info
NetWareに関連する情報の設定および参照を行うフィールドである。
(6) NetWare Info
This is a field for setting and referring to information related to NetWare.

FrameType(2byte)
NetWareで使用するフレームタイプ
<Ethernet(登録商標)>
0:Disable(NetWare 使用不可)
1:802.3
2:802.2
4:Ethernet(登録商標) II
8:802.2SNAP
(7)TcpIp Info
TcpIpに関連する情報の設定および参照を行うフィールドである。
FrameType (2 bytes)
Frame type used in NetWare <Ethernet (registered trademark)>
0: Disable (NetWare cannot be used)
1: 802.3
2: 802.2
4: Ethernet (registered trademark) II
8: 802.2 SNAP
(7) TcpIp Info
This is a field for setting and referring to information related to TcpIp.

FrameType(2byte)
Tcpipで使用するフレームタイプ
0:Disable(TcpIp 使用不可)
4:Ethernet(登録商標) II
IP Mode(2byte)
動作モード
参照時には以下の値がORされている。
FrameType (2 bytes)
Frame type used in Tcpip 0: Disable (TcpIp cannot be used)
4: Ethernet (registered trademark) II
IP Mode (2 bytes)
The following values are ORed when referring to the operation mode.

0:IP固定(NVRAM値より立ち上がる)
1:BOOTP valid
2:RARP valid
4:DHCP valid
IPアドレス(4byte)
ネットワークアドレスのIPアドレス
ゲートウエイアドレス(4byte)
ネットワークボードのゲートウエイ
サブネットマスク(4byte)
ネットワークボードのサブネットマスク
ブロードキャストアドレス(4byte)
ネットワークボードのブロードキャストアドレス
(8)AppleTalk(AppleTalkは登録商標です) Info
AppleTalk(AppleTalkは登録商標です)に関する情報の設定および参照を行うフィールドである。
0: IP fixed (rises from NVRAM value)
1: BOOTP valid
2: RARP valid
4: DHCP valid
IP address (4 bytes)
IP address of network address Gateway address (4 bytes)
Network board gateway Subnet mask (4 bytes)
Network board subnet mask Broadcast address (4 bytes)
Network board broadcast address (8) AppleTalk (AppleTalk is a registered trademark) Info
This field is used to set and refer to information related to AppleTalk (AppleTalk is a registered trademark).

FrameType(2byte)
AppleTalk(AppleTalkは登録商標です)で使用するフレームタイプ
0:Disable(AppleTalk(AppleTalkは登録商標です) 使用不可)
2:Phase2
(9)MACアドレス
ボードのMACアドレス。
FrameType (2 bytes)
Frame type used in AppleTalk (AppleTalk is a registered trademark) 0: Disable (AppleTalk (AppleTalk is a registered trademark) Not available)
2: Phase 2
(9) MAC address MAC address of the board.

ReauestCodeが4(Discovery)以外の場合で、ここに格納されているMACアドレスの値とネットワークボードのMACアドレスが一致しない場合、このパケットは無視される。   This packet is ignored if the ReawardCode is other than 4 (Discovery) and the MAC address value stored here does not match the MAC address of the network board.

個々の項目は工場初期値と呼ばれる工場出荷時に予め決められた値に設定されている。   Each item is set to a value determined at the time of factory shipment, which is called a factory initial value.

図9は、ネットワーク管理ソフトウェアとネットワークボード間でのコンフィグレータパケットの送受信の状態を示すシーケンス図である。なお、時間軸は縦方向上から下にとっている。   FIG. 9 is a sequence diagram showing a state of transmission / reception of the configurator packet between the network management software and the network board. The time axis is from the top to the bottom in the vertical direction.

ネットワークボード201のネットワーク設定を行うために、UIモジュール606から起動されたコンフィグレータ603がDiscovery要求パケット900を送信する。Discovery要求パケット900は、先に述べたように送信先IPアドレス=255.255.255.255のブロードキャストパケットであるので、同一のサブネットに接続されている全ネットワークデバイスに到達する。   In order to perform network setting of the network board 201, the configurator 603 activated from the UI module 606 transmits a Discovery request packet 900. As described above, the Discovery request packet 900 is a broadcast packet having a transmission destination IP address = 255.255.255.255, and therefore reaches all network devices connected to the same subnet.

Discovery要求パケット900を受信した各ネットワークデバイス機器(コンフィグレータプロトコルを実装している)から送信されたDiscovery応答パケット901を、コンフィグレータ603が受信する。その際、受信した各Discovery応答パケット901のデータ部はRAM503上に記録しておく。   The configurator 603 receives the Discovery response packet 901 transmitted from each network device device (which implements the configurator protocol) that has received the Discovery request packet 900. At this time, the data part of each received Discovery response packet 901 is recorded on the RAM 503.

あらかじめ定められた待ち時間が満了するまでコンフィグレータ603は受信を実行する。その間UIモジュール606は図10に示すダイアログボックスを表示する。待ち時間が満了したら、UIモジュール606はダイアログボックス(図10)を閉じ、受信した各Discovery応答パケット901のデータ部をRAM503から取得し、ネットワークボードのMACアドレスおよび現在のネットワーク設定のリストを作成し、UIモジュール606はそのリストを表示する(図11)。   The configurator 603 performs reception until a predetermined waiting time expires. Meanwhile, the UI module 606 displays the dialog box shown in FIG. When the waiting time expires, the UI module 606 closes the dialog box (FIG. 10), obtains the data portion of each received Discovery response packet 901 from the RAM 503, and creates a list of the MAC address of the network board and the current network settings. The UI module 606 displays the list (FIG. 11).

ユーザが図11のダイアログボックスのリストから、任意のネットワークボードか、あるいは「再検出」「キャンセル」といったボタンを選択するのを待つ。   Waiting for the user to select an arbitrary network board or a button such as “redetect” or “cancel” from the list in the dialog box of FIG.

ユーザにより、リスト表示されたネットワークボードのうちからいずれかが選択されて「次へ」ボタンが押されたなら、UIモジュール606は図12に示すダイアログボックスを表示する。ここで、ユーザが選択されたネットワークボード(ここではネットワークボード201)に対するネットワーク設定を入力し、その入力値を元にコンフィグレータ603はSet要求パケット902を作成、送信する。ユーザにより入力された値は、Set要求パケット902のデータ部の「Protocol Info」フィールドに、前述したように設定される。また、Set要求パケット902は、Discovery応答パケット901により得られているMACアドレスを宛先とするフレームに載せられるため、そのMACアドレスに該当するネットワークボード以外には無視される。そのため、ネットワークボード201にのみSet要求パケット902が受信される。Set要求パケット902を受信したネットワークデバイス(ここではプリンタ202)は、それが有するコンフィグレータにより、Set要求パケット902のデータ部に載せられた各種設定値を、コンフィグレータプロトコルに従って設定する。これによりプリンタ202のネットワーク設定が完了する。一方、キャンセルボタンが押された場合にはそのままリスト表示を消去して処理を終了し、再検出ボタンが押されたなら、探索用のパケット(Discovery要求パケット900)のブロードキャストから繰り返す。   If one of the network boards displayed in the list is selected by the user and the “Next” button is pressed, the UI module 606 displays a dialog box shown in FIG. Here, the network setting for the network board selected by the user (here, the network board 201) is input, and the configurator 603 creates and transmits a Set request packet 902 based on the input value. The value input by the user is set in the “Protocol Info” field of the data part of the Set request packet 902 as described above. Further, the Set request packet 902 is placed in a frame whose destination is the MAC address obtained by the Discovery response packet 901, and is therefore ignored except for the network board corresponding to the MAC address. Therefore, the Set request packet 902 is received only by the network board 201. The network device (in this case, the printer 202) that has received the Set request packet 902 sets various setting values placed in the data part of the Set request packet 902 according to the configurator protocol by the configurator included therein. Thereby, the network setting of the printer 202 is completed. On the other hand, if the cancel button is pressed, the list display is erased as it is, and the process is terminated. If the re-detect button is pressed, the process repeats from the search packet (Discovery request packet 900) broadcast.

プリンタ202のネットワーク設定が完了すると、UIモジュール606は図13に示すダイアログボックスを表示する。ここで完了ボタンを押下することにより、図9におけるReset要求904・応答905が、設定を初期化するために交換され、自動的にネットワークボードをリセットし、新しい設定を有効にすることができる。   When the network setting of the printer 202 is completed, the UI module 606 displays a dialog box shown in FIG. When the completion button is pressed here, the Reset request 904 and the response 905 in FIG. 9 are exchanged to initialize the setting, and the network board can be automatically reset to make the new setting effective.

以降、ネットワークデバイス装置の動作について説明する。   Hereinafter, the operation of the network device apparatus will be described.

図1は、ネットワークボード201に実装されているデバイス管理モジュール406の処理の流れを示すフローチャートである。   FIG. 1 is a flowchart showing a processing flow of the device management module 406 mounted on the network board 201.

PC203からのブロードキャストパケットやマルチキャストパケットは、ネットワークドライバモジュール404及びネットワークプロトコル通信モジュール403によって受信される。その受信されたパケットがコンフィグレータプロトコルに基づいたものであれば、デバイス管理モジュール405へ渡される。   Broadcast packets and multicast packets from the PC 203 are received by the network driver module 404 and the network protocol communication module 403. If the received packet is based on the configurator protocol, it is passed to the device management module 405.

本実施の形態では、TCP/IPでコンフィグレータプロトコルが実装されていることから、コンフィグレータプロトコルによるブロードキャストパケットは図5に示したようなパケット形式である。ネットワーク通信モジュール403は、パケットのプロトコルタイプがUDP(図5のprotocolが0x11の場合)で、ポート番号が(図5のDest Port)が0x83b6である場合には、そのパケットがコンフィグレータプロトコルによるものだと判断して、デバイス管理モジュール405へ渡す。   In this embodiment, since the configurator protocol is implemented by TCP / IP, the broadcast packet by the configurator protocol has a packet format as shown in FIG. In the network communication module 403, when the packet protocol type is UDP (when the protocol in FIG. 5 is 0x11) and the port number (Dest Port in FIG. 5) is 0x83b6, the packet is based on the configurator protocol. And pass to the device management module 405.

デバイス管理モジュール405は、図1のステップS101において、ネットワークデバイス機器からデバイスパスワードを読み出す。ステップS102において、ネットワークデバイス機器にデバイスパスワードが設定されているか否かを判定する。   The device management module 405 reads the device password from the network device device in step S101 of FIG. In step S102, it is determined whether a device password is set for the network device device.

デバイスパスワードが設定されているか否かの判定は、読み出したデバイスパスワードがNULL(長さ0の文字列)である否かで判定することができる。   Whether or not a device password is set can be determined based on whether or not the read device password is NULL (a character string having a length of 0).

ステップS102の判定がYESならば、ステップS103へ進み、NOならば、ステップS116へ進む。   If the determination in step S102 is YES, the process proceeds to step S103, and if NO, the process proceeds to step S116.

ステップS103では、パケットのデータ部のRequest Code(図8参照)の値が2(設定要求)であるかを判定する。値が2であれば、ステップS109へ進む、2でなければステップS104へ進む。ステップS103で設定要求があったと判定された場合には、ネットワーク管理ソフトウェアから送られてきた設定情報に基づいてボードの各種情報を変更・設定し(ステップS109)、それに対する応答パケットを送信する(ステップS110)。   In step S103, it is determined whether the value of Request Code (see FIG. 8) in the data portion of the packet is 2 (setting request). If the value is 2, the process proceeds to step S109, and if not 2, the process proceeds to step S104. If it is determined in step S103 that a setting request has been made, various information on the board is changed and set based on the setting information sent from the network management software (step S109), and a response packet is transmitted (step S109). Step S110).

ステップS104では、パケットのデータ部のRequest Code(図8参照)の値が2あるいは3(リセット要求)であるかを判定する。値が2あるいは3であれば、ステップS111へ進み、2あるいは3でなければステップS105へ進む。ステップS104でリセット要求があったと判定された場合には、まず、それに対する応答パケットを送信し(ステップS111)、次に、リセットを行う(ステップS112)。このときに、図8のRequest Codeの値が2の場合は初期値をNVRAM値にしてリセットを行い、3の場合は初期値を工場初期値にしてリセットを行う。   In step S104, it is determined whether the value of Request Code (see FIG. 8) in the data portion of the packet is 2 or 3 (reset request). If the value is 2 or 3, the process proceeds to step S111, and if it is not 2 or 3, the process proceeds to step S105. If it is determined in step S104 that there is a reset request, first, a response packet is transmitted (step S111), and then reset is performed (step S112). At this time, when the value of Request Code in FIG. 8 is 2, the reset is performed with the initial value as the NVRAM value, and when the value is 3, the reset is performed with the initial value as the factory initial value.

ステップS105では、パケットのデータ部のRequest Code(図8参照)の値が4(探索要求)であるかを判定する。値が4であれば、ステップS113へ進み、4でなければステップS106へ進む。ステップS105で探索要求があったと判定された場合には、それに対する応答パケットを送信する(ステップS113)。   In step S105, it is determined whether the value of Request Code (see FIG. 8) in the data portion of the packet is 4 (search request). If the value is 4, the process proceeds to step S113, and if not 4, the process proceeds to step S106. If it is determined in step S105 that there is a search request, a response packet is transmitted (step S113).

ステップS106では、パケットのデータ部のRequest Code(図8参照)の値が1(参照要求)であるかを判定する。値が1であれば、ステップS114へ進み、1でなければステップS107へ進む。ステップS106で参照要求があったと判定された場合には、参照情報を作成し(ステップS114)、その参照情報を応答パケットに格納して送信する(ステップS115)。   In step S106, it is determined whether the value of Request Code (see FIG. 8) in the data portion of the packet is 1 (reference request). If the value is 1, the process proceeds to step S114, and if not, the process proceeds to step S107. If it is determined in step S106 that there is a reference request, reference information is created (step S114), and the reference information is stored in a response packet and transmitted (step S115).

ステップS107では、処理できない要求であったとしてそのパケットを破棄する。   In step S107, the packet is discarded as a request that cannot be processed.

ステップS108では、エラー応答パケットを送信する。   In step S108, an error response packet is transmitted.

ステップS116では、パケットのデータ部のRequest Code(図8参照)の値が2(設定要求)であるかを判定する。値が2であれば、ステップS107へ進み、2でなければステップS117へ進む。   In step S116, it is determined whether the value of Request Code (see FIG. 8) in the data portion of the packet is 2 (setting request). If the value is 2, the process proceeds to step S107, and if not 2, the process proceeds to step S117.

ステップS117では、パケットのデータ部のRequest Code(図8参照)の値が2あるいは3(リセット要求)であるかを判定する。値が2あるいは3であれば、ステップS107へ進み、2あるいは3でなければステップS105へ進む。   In step S117, it is determined whether the value of Request Code (see FIG. 8) in the data portion of the packet is 2 or 3 (reset request). If the value is 2 or 3, the process proceeds to step S107, and if not 2 or 3, the process proceeds to step S105.

図3のCPU314が、本実施の形態のデバイス管理モジュールやSNMPエージェントとして動作するための制御プログラムはROM316に格納されている。CPU314は、図1のフローチャートで示されるような制御プログラムを実行することにより、本発明は実現される。   A control program for the CPU 314 of FIG. 3 to operate as the device management module and the SNMP agent of this embodiment is stored in the ROM 316. The present invention is realized by the CPU 314 executing a control program as shown in the flowchart of FIG.

再び、コンフィグレータプロトコルによるネットワーク設定の変更を有効にするためには、ネットワークデバイス機器のデバイスパスワードを無効化することで可能となる。   Again, in order to validate the change of the network setting by the configurator protocol, it becomes possible by invalidating the device password of the network device device.

一例として、デバイス管理ソフトウェアからデバイスパスワードをNULL(長さ0の文字列)で上書きすることが考えられる。あるいは、ネットワークデバイス機器を初期化して現在の設定値をすべてクリアすることが考えられる。   As an example, it is conceivable to overwrite the device password with NULL (character string of length 0) from the device management software. Alternatively, it is conceivable to initialize the network device device and clear all current setting values.

(実施例2)
本発明は、デバイスパスワードが設定されていた場合に、コンフィグレータパケットによるネットワークデバイス装置への設定要求、リセット要求を処理しないものとして説明したが、これに限るものではない。例えば、探索要求、参照要求に対しても処理しないようにしてもよい。あるいは、選択手段を設け、何れかの要求に対して処理しないようにしてもよい。
(Example 2)
Although the present invention has been described as not processing a setting request and a reset request to the network device device by the configurator packet when a device password is set, the present invention is not limited to this. For example, the search request and the reference request may not be processed. Alternatively, a selection unit may be provided so that any request is not processed.

(実施例3)
本発明は、複数の機器(例えばホストコンピュータ,インタフェイス機器,リーダ,プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機,ファクシミリ装置など)に適用してもよい。
(Example 3)
Even if the present invention is applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), it is also applied to an apparatus composed of a single device (for example, a copier, a facsimile machine, etc.). May be.

(実施例4)
本発明は、前述した実施形態の機能を実現する制御プログラムのプログラムコードを記憶した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出して実行することによっても、本発明の目的が達成されることは言うまでもない。
Example 4
In the present invention, a storage medium storing a program code of a control program for realizing the functions of the above-described embodiments is supplied to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus is stored in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the program code.

この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体及びそのプログラムコードは本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code and the program code constitute the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。   As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読み出したプログラムコードを実行することによって、前述した実施の形態の機能が実現される他、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOSなどが実際の処理の一部又は全部を行い、その処理によっても前述した実施形態の機能が実現され得る。   In addition, the functions of the above-described embodiments are realized by executing the program code read by the computer, and the OS running on the computer is one of the actual processes based on the instruction of the program code. The functions of the above-described embodiment can be realized by performing some or all of the processes.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によっても前述した実施の形態の機能が実現され得る。   Further, after the program code read from the storage medium is written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. The CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments can be realized by the processing.

本実施例における処理の流れを示すフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart which shows the flow of the process in a present Example. ネットワークボードをプリンタに接続した場合のネットワークの構成を示す概略図である。It is the schematic which shows the structure of the network at the time of connecting a network board to a printer. ネットワークボードとプリンタの内部構成の概略を示すブロック図である。It is a block diagram which shows the outline of an internal structure of a network board and a printer. ネットワークボードの制御プログラムの構成を示す概略図である。It is the schematic which shows the structure of the control program of a network board. ネットワーク管理ソフトウェアが稼動可能なPCの構成を示す図である。It is a figure which shows the structure of PC which can operate network management software. ネットワーク管理ソフトウェアのモジュール構成図である。It is a module block diagram of network management software. コンフィグレータパケットのパケットフォーマットの一例を示す図である。It is a figure which shows an example of the packet format of a configurator packet. コンフィグレータパケットのデータ部の詳細の一例を示す図である。It is a figure which shows an example of the detail of the data part of a configurator packet. コンフィグレータパケットの送受信のシーケンスの一例を示す図である。It is a figure which shows an example of the transmission / reception sequence of a configurator packet. ダイアログボックスの一例を示す図である。It is a figure which shows an example of a dialog box. ダイアログボックスの一例を示す図である。It is a figure which shows an example of a dialog box. ダイアログボックスの一例を示す図である。It is a figure which shows an example of a dialog box. ダイアログボックスの一例を示す図である。It is a figure which shows an example of a dialog box.

符号の説明Explanation of symbols

200 LAN
201 ネットワークボード
202 プリンタ
203 パーソナルコンピュータ
301 CPU
302 ROM
303 RAM
304 バス
305 エンジン制御部
306 I/O制御部
307 データI/O制御部
308 拡張I/F制御部
309 パラレルI/F制御部
310 拡張ボードバス
311 プリンタエンジン
312 LCD
313 キーパッド
314 CPU
315 ROM
316 RAM
317 バス
318 拡張I/F制御部
319 タイマ
320 ネットワークI/F制御部
200 LAN
201 Network Board 202 Printer 203 Personal Computer 301 CPU
302 ROM
303 RAM
304 Bus 305 Engine Control Unit 306 I / O Control Unit 307 Data I / O Control Unit 308 Expansion I / F Control Unit 309 Parallel I / F Control Unit 310 Expansion Board Bus 311 Printer Engine 312 LCD
313 Keypad 314 CPU
315 ROM
316 RAM
317 Bus 318 Extended I / F control unit 319 Timer 320 Network I / F control unit

Claims (8)

情報処理装置とネットワークを介して接続されているネットワークデバイス装置であって、
前記情報処理装置から送信されてきた前記ネットワークデバイス装置のネットワーク設定を変更するための要求を受信する受信手段と、
前記受信手段により受信された前記ネットワークデバイス装置のネットワーク設定を変更するための要求に基づいて、前記ネットワークデバイス装置のネットワーク設定を変更するための変更手段と、
ネットワークデバイス装置へのアクセスを制限するためのモードを識別するための識別手段と、
前記識別手段により識別されるモードに従って、前記ネットワークデバイス装置のネットワーク設定を変更するための要求を実行するか否かを制御する制御手段とを有することを特徴とするネットワークデバイス装置。
A network device device connected to an information processing device via a network,
Receiving means for receiving a request for changing network settings of the network device device transmitted from the information processing device;
Changing means for changing the network setting of the network device device based on the request for changing the network setting of the network device device received by the receiving means;
An identification means for identifying a mode for restricting access to the network device device;
A network device apparatus comprising: control means for controlling whether or not to execute a request for changing a network setting of the network device apparatus according to a mode identified by the identification means.
前記ネットワークデバイス装置のネットワーク設定を変更するための要求は、MACアドレスを使用した独自プロトコルであることを特徴とする請求項1記載のネットワークデバイス装置。   The network device apparatus according to claim 1, wherein the request for changing the network setting of the network device apparatus is a unique protocol using a MAC address. 情報処理装置とネットワークを介して接続されているネットワークデバイス装置であって、
前記情報処理装置から送信されてきた前記ネットワークデバイス装置のリセットをするための要求を受信する受信手段と、
前記受信手段により受信された前記ネットワークデバイス装置のリセットをするための要求に基づいて、前記ネットワークデバイス装置のリセットするためのリセット手段と、
ネットワークデバイス装置へのアクセスを制限するためのモードを識別するための識別手段と、
前記識別手段により識別されるモードに従って、前記ネットワークデバイス装置のリセットをするための要求を実行するか否かを制御する制御手段とを有することを特徴とするネットワークデバイス装置。
A network device device connected to an information processing device via a network,
Receiving means for receiving a request for resetting the network device device transmitted from the information processing device;
A reset means for resetting the network device device based on a request for resetting the network device device received by the receiving means;
An identification means for identifying a mode for restricting access to the network device device;
A network device apparatus comprising: control means for controlling whether or not to execute a request for resetting the network device apparatus according to a mode identified by the identification means.
前記ネットワークデバイス装置のリセットをするための要求は、MACアドレスを使用した独自プロトコルであることを特徴とする請求項3記載のネットワークデバイス装置。   4. The network device apparatus according to claim 3, wherein the request for resetting the network device apparatus is a unique protocol using a MAC address. 情報処理装置とネットワークを介して接続されているネットワークデバイス装置におけるネットワークデバイス制御方法であって、
前記情報処理装置から送信されてきた前記ネットワークデバイス装置のネットワーク設定を変更するための要求を受信する受信ステップと、
前記受信ステップにより受信された前記ネットワークデバイス装置のネットワーク設定を変更するための要求に基づいて、前記ネットワークデバイス装置のネットワーク設定を変更するための変更ステップと、
ネットワークデバイス装置へのアクセスを制限するためのモードを識別するための識別ステップと、
前記識別ステップにより識別されるモードに従って、前記ネットワークデバイス装置のネットワーク設定を変更するための要求を実行するか否かを制御する制御ステップとを有することを特徴とするネットワークデバイス制御方法。
A network device control method in a network device device connected to an information processing device via a network,
A receiving step of receiving a request for changing a network setting of the network device device transmitted from the information processing device;
A changing step for changing the network setting of the network device device based on the request for changing the network setting of the network device device received by the receiving step;
An identifying step for identifying a mode for restricting access to the network device device;
And a control step of controlling whether or not to execute a request for changing a network setting of the network device device according to the mode identified by the identifying step.
前記ネットワークデバイス装置のネットワーク設定を変更するための要求は、MACアドレスを使用した独自プロトコルであることを特徴とする請求項5記載のネットワークデバイス制御方法。   6. The network device control method according to claim 5, wherein the request for changing the network setting of the network device device is a unique protocol using a MAC address. 情報処理装置とネットワークを介して接続されているネットワークデバイス制御方法であって、
前記情報処理装置から送信されてきた前記ネットワークデバイス装置のリセットをするための要求を受信する受信ステップと、
前記受信ステップにより受信された前記ネットワークデバイス装置のリセットをするための要求に基づいて、前記ネットワークデバイス装置のリセットするためのリセットステップと、
ネットワークデバイス装置へのアクセスを制限するためのモードを識別するための識別ステップと、
前記識別ステップにより識別されるモードに従って、前記ネットワークデバイス装置のリセットをするための要求を実行するか否かを制御する制御ステップとを有することを特徴とするネットワークデバイス制御方法。
A network device control method connected to an information processing apparatus via a network,
A receiving step of receiving a request for resetting the network device device transmitted from the information processing device;
A reset step for resetting the network device device based on the request for resetting the network device device received by the receiving step;
An identifying step for identifying a mode for restricting access to the network device device;
And a control step of controlling whether or not to execute a request for resetting the network device device according to the mode identified by the identifying step.
前記ネットワークデバイス装置のリセットをするための要求は、MACアドレスを使用した独自プロトコルであることを特徴とする請求項7記載のネットワークデバイス制御方法。   8. The network device control method according to claim 7, wherein the request for resetting the network device device is a unique protocol using a MAC address.
JP2005350841A 2005-12-05 2005-12-05 Network device unit, network control method, computer-readable recording medium with control program recorded thereon, and network device control program Withdrawn JP2007156809A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005350841A JP2007156809A (en) 2005-12-05 2005-12-05 Network device unit, network control method, computer-readable recording medium with control program recorded thereon, and network device control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005350841A JP2007156809A (en) 2005-12-05 2005-12-05 Network device unit, network control method, computer-readable recording medium with control program recorded thereon, and network device control program

Publications (1)

Publication Number Publication Date
JP2007156809A true JP2007156809A (en) 2007-06-21

Family

ID=38241100

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005350841A Withdrawn JP2007156809A (en) 2005-12-05 2005-12-05 Network device unit, network control method, computer-readable recording medium with control program recorded thereon, and network device control program

Country Status (1)

Country Link
JP (1) JP2007156809A (en)

Similar Documents

Publication Publication Date Title
US7411915B1 (en) Automatically configuring switch ports with appropriate features
JP4681054B2 (en) Method and apparatus for waking up a sleeping system
JP4500806B2 (en) Method and apparatus for configuring a router port
JP4235460B2 (en) Network device management method, network device management program, and network control apparatus
US20070237148A1 (en) Method for IP routing when using dynamic VLANs with web based authentication
JP2003348116A (en) Address automatic setting system for in-home network
US9270535B2 (en) Inferred discovery of a data communications device
JP3944030B2 (en) Network device control apparatus, network device control method, and program for implementing the control method
US7945649B2 (en) Information processing device, information processing method, and computer-readable medium for setting a value used in network communications
JP3658206B2 (en) Network device control apparatus and method
JP3624089B2 (en) Peripheral device control device, control method, and recording medium
JP2004030062A (en) Equipment, method, and program for managing network
JP4717240B2 (en) Information processing apparatus, information processing apparatus control method, and storage medium
JP4976672B2 (en) Network device apparatus, data processing method, and computer program
JP2003316465A (en) Network device control device, network device control method and program for realizing the same
JP2007156809A (en) Network device unit, network control method, computer-readable recording medium with control program recorded thereon, and network device control program
Cisco alias through copy
JP2001255974A (en) Device and method for processing information
JP3869924B2 (en) Network control device, communication protocol setting method, and storage medium storing computer-readable program
JP2001154967A (en) Network device, network control method, computer readable recording medium for string control program and network device control program
JP2004054657A (en) Network device management device
JP2004206223A (en) Initial setting system of consoleless apparatus, initial setting method, and program
JP2004070726A (en) Method and apparatus for managing network device, and recording medium
JP2001256153A (en) Device and method for controlling network device
JP2001268095A (en) Network device, parameter setting method for the network device and storage medium

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