JPH11296457A - Network device control method/device using sump protocol and conatining network management software, and record medium - Google Patents

Network device control method/device using sump protocol and conatining network management software, and record medium

Info

Publication number
JPH11296457A
JPH11296457A JP10093542A JP9354298A JPH11296457A JP H11296457 A JPH11296457 A JP H11296457A JP 10093542 A JP10093542 A JP 10093542A JP 9354298 A JP9354298 A JP 9354298A JP H11296457 A JPH11296457 A JP H11296457A
Authority
JP
Japan
Prior art keywords
message
snmp
snmp message
objects
transmitting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10093542A
Other languages
Japanese (ja)
Inventor
Tadashi Hagyuda
忠 萩生田
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 JP10093542A priority Critical patent/JPH11296457A/en
Publication of JPH11296457A publication Critical patent/JPH11296457A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To normally obtain and set data for an object which can be processed even if a part of the object cannot normally be processed by dividing the object contained in an SNMP message becoming an error and transmitting them as SNMP messages for every single object. SOLUTION: The response of an SNMP message transmitted in a step S101 is received in a step S102. When it is judged that an error occurs in a step S103, it is judged whether a request is for a plurality of objects in a step S104. When the request is for a plurality of objects, a plurality of objects are divided in a step S106 and they are transmitted as the SNMP messages for a single object in a step S107. Thus, the object which can at least normally be processed can normally be processed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、SNMPプロトコ
ルを用いたネットワーク管理ソフトウェアによるネット
ワークデバイス制御方法及び装置、記録媒体に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a network device control method and apparatus by network management software using an SNMP protocol, and a recording medium.

【0002】[0002]

【従来の技術】ネットワーク上のデバイスを管理するた
めの方法として、これまでにいくつかの試みが数多く標
準機関でなされている。国際標準化機構(ISO)は開
放型システム間相互接続(Open System Interconnectio
n, OSI)モデルと呼ばれる汎用基準フレームワーク
を提供した。ネットワーク管理プロトコルのOSIモデ
ルは、共通管理情報プロトコル(Common Management In
formation Protocol, CMIP)と呼ばれる。CMIP
はヨーロッパの共通ネットワーク管理プロトコルであ
る。
2. Description of the Related Art There have been many attempts by standard organizations to manage devices on a network. The International Organization for Standardization (ISO) has established Open System Interconnectio
n, OSI) model was provided. The OSI model of the network management protocol is based on the Common Management Information Protocol.
Formation Protocol (CMIP). CMIP
Is a common European network management protocol.

【0003】米国においては、より共通性の高いネット
ワーク管理プロトコルとして、簡易ネットワーク管理プ
ロトコル(Simple Network management Protocol, SN
MP)と呼ばれるCMIPに関連する一変種のプロトコ
ルがある。(「TCP/IPネットワーク管理入門 実
用的な管理をめざして」M.T.ローズ=著/西田竹志
=訳(株)トッパン発行 1992年8月20日初版を
参考のこと)。
In the United States, a simple network management protocol (SN) is used as a more common network management protocol.
There is a variant of the protocol related to CMIP called MP). ("Introduction to TCP / IP Network Management Aiming for Practical Management", MT Rose, author / Nishida Takeshi, translated by Toppan Co., Ltd., see the first edition on August 20, 1992).

【0004】SNMPネットワーク管理技術によれば、
ネットワーク管理システムには、少なくとも1つのネッ
トワーク管理ステーション(NMS)、各々がエージェ
ントを含むいくつかの管理対象ノード、及び管理ステー
ションやエージェントが管理情報を交換するために使用
するネットワーク管理プロトコルが含まれる。ユーザ
は、NMS上でネットワーク管理ソフトウェアを用いて
管理対象ノード上のエージェントソフトウェアと通信す
ることにより、ネットワーク上のデータを取得および変
更することができる。
According to the SNMP network management technology,
A network management system includes at least one network management station (NMS), a number of managed nodes, each including an agent, and a network management protocol used by the management stations and agents to exchange management information. The user can acquire and change data on the network by communicating with the agent software on the managed node using the network management software on the NMS.

【0005】エージェントとは、各々のターゲット装置
についてのバックラウンドプロセスとして走るソフトウ
ェアである。これに対しNMS及びNMS上で動作する
ネットワーク管理ソフトウェアを一般的にマネージャと
呼ぶ。
[0005] An agent is software that runs as a background process for each target device. On the other hand, the NMS and the network management software operating on the NMS are generally called a manager.

【0006】ユーザからの操作によりマネージャがネッ
トワーク上の装置に対して管理データを要求した場合、
マネージャはオブジェクト識別情報を管理パケットまた
はフレームに入れてターゲットエージェントへ送り出
す。エージェントは、そのオブジェクト識別情報を解釈
して、そのオブジェクト識別情報に対応するデータを取
り出し、そのデータをパケットに入れてマネージャに送
り返す。時には、データを取り出すために対応するプロ
セスが呼び出される場合もある。
When a manager requests management data from a device on a network by a user operation,
The manager sends the object identification information to the target agent in a management packet or frame. The agent interprets the object identification information, retrieves data corresponding to the object identification information, puts the data in a packet, and sends it back to the manager. Occasionally, a corresponding process is called to retrieve the data.

【0007】エージェントは、自分の状態に関するデー
タをデータベースの形式で保持している。このデータベ
ースのことを、MIB(Management Information Bas
e)と呼ぶ。図6は、MIBの構造を示す概念図であ
る。図6に示すように、MIBは木構造のデータ構造を
しており、全てのノードが一意に番号付けされている。
図6において、カッコ内に書かれている番号が、そのノ
ードの識別子である。
[0007] An agent holds data on its own state in the form of a database. This database is referred to as MIB (Management Information Bass).
Call it e). FIG. 6 is a conceptual diagram showing the structure of the MIB. As shown in FIG. 6, the MIB has a tree-structured data structure, and all nodes are uniquely numbered.
In FIG. 6, the number written in parentheses is the identifier of the node.

【0008】例えば、図6においてノード601の識別
子は1である。ノード602の識別子は、ノード601
の下の3なので、1・3と表記される。同様にして、ノ
ード603の識別子は、1・3・6・1・2と表記され
る。
For example, in FIG. 6, the identifier of the node 601 is 1. The identifier of the node 602 is the node 601
Since it is 3 below, it is written as 1.3. Similarly, the identifier of the node 603 is described as 1.33.6.1.2.

【0009】このノードの識別子のことを、オブジェク
ト識別子(OBJECT IDENTIFIER)と呼ぶ。
[0009] This node identifier is called an object identifier (OBJECT IDENTIFIER).

【0010】このMIBの構造は、管理情報構造(SM
I:Structure of Management Information)と呼ばれ、
RFC1155 Structure and Identification of Management
Information for TCP/IP-based Internetsで規定され
ている。図6には、標準として規定されているMIBの
うち、一部のもののみを抜き出して記載してある。
This MIB has a management information structure (SM
I: Structure of Management Information)
RFC1155 Structure and Identification of Management
Information for TCP / IP-based Internets. FIG. 6 shows only a part of the MIB defined as a standard.

【0011】604は、SNMPで管理される機器が標
準的に備えている標準MIBと呼ばれるオブジェクト群
の頂点になるノードであり、このノードの下のオブジェ
クトの詳細な構造については、RFC1213 Management Inf
ormation Base for NetworkManagemtn of TCP/IP-based
internets:MIB−IIに規定されている。
Reference numeral 604 denotes a node which is a vertex of an object group called a standard MIB provided as a standard in a device managed by SNMP, and the detailed structure of an object under this node is described in RFC1213 Management Inf.
ormation Base for NetworkManagemtn of TCP / IP-based
internets: defined in MIB-II.

【0012】605は、SNMPで管理されるプリンタ
が標準的に備えているプリンターMIBと呼ばれるオブ
ジェクト群の頂点になるノードであり、このノードの下
のオブジェクトの詳細な構造については、RFC 1759 Pri
nter MIBで規定されている。
Reference numeral 605 denotes a node which is the top of an object group called a printer MIB provided as a standard feature of a printer managed by SNMP, and the detailed structure of an object under this node is described in RFC 1759 Pri.
nter MIB.

【0013】さらに、606はプライベートMIBと呼
ばれ、企業や団体などが独自のMIB定義を行うための
頂点となるノードである。607は企業拡張MIBと呼
ばれ、プライベートMIBの中で企業が独自の拡張を行
うための頂点となるノードである。キャノン株式会社に
は、独自の定義を行うために企業番号として1602が
割り当てられており、キャノン独自のMIBであるキャ
ノンMIB(Canon MIB)を定義するための頂点ノー
ド608が、企業を意味するノードであるノード607
の下に位置している。キャノンMIBの頂点ノードのオ
ブジェクト識別子は、1・3・6・1・4・1・160
2である。
Reference numeral 606 denotes a node which is called a private MIB and is a vertex for companies and organizations to define their own MIB. A node 607 is called a company extension MIB, and is a node serving as a vertex for a company to perform its own extension in the private MIB. Canon Inc. is assigned 1602 as a company number for its own definition, and a top node 608 for defining Canon MIB (Canon MIB), which is a unique MIB for Canon, is a node representing a company. Node 607
Is located below. The object identifier of the top node of the Canon MIB is 1, 3, 6, 1, 4, 1, 160
2.

【0014】また、SNMPではエージェントのMIB
の変数を調べたり、設定したりするために、以下のメッ
セージを使用する。
[0014] In SNMP, the MIB of the agent is used.
Use the following messages to examine and set variables in

【0015】・GET REQUESTメッセージ(マネージャか
らエージェントへ) 指定されたMIB変数を読む ・GET NEXT REQUESTメッセージ(マネージャからエージ
ェントへ) MIBの順序に従い、指定されたMIB変数の次の値を
読む ・GET RESUPONSEメッセージ(エージェントからマネー
ジャへ) 要求(GET/GET NEXT/SET REQUEST)に対するエージェン
トからの応答 ・SET REQUESTメッセージ(マネージャからエージェン
トへ) MIB変数に指定された値を設定する ・TRAPメッセージ(エージェントからマネージャへ) 異常や事象の発生をエージェントからマネージャに知ら
せる SNMPメッセージは、バージョン番号・SNMPコミ
ュニティ名・PDU(Protocol Data Unit)より構成さ
れ、そのコーディング方法は、ASN.1(Abstract S
yntax Notation 1)のBER(Basic Encoding Rule)
に従っている。各メッセージに対応して以下の5つのP
DUを必須でサポートしなければならない。
GET REQUEST message (from the manager to the agent) Reads the specified MIB variable. GET NEXT REQUEST message (from the manager to the agent) Reads the next value of the specified MIB variable according to the order of the MIB. GET RESUPONSE Message (from agent to manager) Response from agent to request (GET / GET NEXT / SET REQUEST) ・ SET REQUEST message (from manager to agent) Set value specified in MIB variable ・ TRAP message (from agent to manager) The SNMP message that informs the manager of the occurrence of an abnormality or event from the agent to the manager is composed of a version number, an SNMP community name, and a PDU (Protocol Data Unit). 1 (Abstract S
BER (Basic Encoding Rule) of yntax Notation 1)
Follow. The following 5 Ps corresponding to each message
DUs must be supported.

【0016】・GetRequest-PDU GET REQUESTメッセージのためのPDU ・GetNextRequest-PDU GET NEXT REQUESTメッセージのためのPDU ・GetResponse-PDU GET RESPONSEメッセージのためのPDU ・SetRequest-PDU SET REQUESTメッセージのためのPDU ・Trap-PDU TRAPメッセージのためのPDU なお、これらのPDUのデータフォーマット(Trap-PDU
以外)を図2に示す。
PDU for GetRequest-PDU GET REQUEST message PDU for GetNextRequest-PDU GET NEXT REQUEST message PDU for GetResponse-PDU GET RESPONSE message PDU for SetRequest-PDU SET REQUEST message Trap -PDU for PDU TRAP message The data format of these PDUs (Trap-PDU
2) are shown in FIG.

【0017】本図において201がSNMPメッセージ
であり、202がSNMPのバージョン情報が格納され
る領域であり、203がSNMPの管理対象となる1つ
のエージェントとそれを管理する1つ以上のマネージャ
をグループ化したコミュニティの名前(コミュニティ
名)を設定する領域である。エージェントは、自分の属
するコミュニティ名と比較し、一致する場合のみその要
求を受け付ける。204は各SNMPのPDUが格納さ
れる領域であり、205がPDUを示す。SNMPメッ
セージはPDUのヘッダにそのメッセージの種別(GET
REQUEST, GET NEXT REQUEST, SET REQUEST)に関する情
報を格納している。
In FIG. 1, reference numeral 201 denotes an SNMP message; 202, an area for storing SNMP version information; 203, a group of one agent to be managed by SNMP and one or more managers for managing the agent; This is an area for setting the name of a converted community (community name). The agent compares with the community name to which the agent belongs, and accepts the request only when it matches. Reference numeral 204 denotes an area where each SNMP PDU is stored, and 205 denotes a PDU. The SNMP message contains the type of the message (GET
REQUEST, GET NEXT REQUEST, SET REQUEST).

【0018】206はGET REQUEST, GET NEXT REQUEST,
SET REQUESTの要求時にマネージャが設定するリクエス
トIDが設定される。エージェントは、その応答のGET
RESPONSEに同じ値を設定し、どの要求に対する応答かを
マネージャ側で判断できるようにする。207はエラー
ステータスが格納される領域である。エラーステータス
とはマネージャが要求したSNMPメッセージの中にエ
ラーがあったとき、エージェントからマネージャへの通
知(GET RESPONSE)に使用するものであり、要求時のP
DUではnoErrorを設定する。なお、エージェントとし
て通知可能なエラーとして以下のものがある。
Reference numeral 206 denotes GET REQUEST, GET NEXT REQUEST,
A request ID set by the manager at the time of SET REQUEST request is set. Agent GETs the response
Set the same value in RESPONSE so that the manager can determine which request it responds to. An area 207 stores an error status. The error status is used for notification (GET RESPONSE) from the agent to the manager when there is an error in the SNMP message requested by the manager.
DU sets noError. The following errors can be notified as agents.

【0019】・noError:正常(エラーなし)。NoError: normal (no error).

【0020】・tooBig :結果として応答をSNMPメ
ッセージにする際、そのエージェントでの長さの制限を
越えてしまった。
TooBig: As a result, when converting the response into an SNMP message, the length limit of the agent has been exceeded.

【0021】・noSuchName:指定されたオブジェクト名
が見つからない。GET NEXT REQUESTの場合は、検索の最
後になったとき、このエラーを返す。
NoSuchName: The specified object name cannot be found. In the case of GET NEXT REQUEST, this error is returned at the end of the search.

【0022】・badValue:SET REQUESTで指定されたオ
ブジェクトの長さ,タイプ,値が正しくない。
BadValue: The length, type, and value of the object specified by SET REQUEST are incorrect.

【0023】・readOnly:読み出ししかできないオブジ
ェクトに対してSET REQUESTが要求された。
ReadOnly: SET REQUEST has been requested for an object that can only be read.

【0024】・genErr:上記以外のエラーがエージェン
ト側で発生した。
GenErr: An error other than the above occurred on the agent side.

【0025】208は、要求されたSNMPメッセージ
上で何番目のオブジェクトにエラーのあったのかを示す
エラーインデックスが格納される領域である。
An area 208 stores an error index indicating the number of an object in the requested SNMP message that has an error.

【0026】209はオブジェクト名(210,21
2)とその値(211,213)の対の配列(variable
-bindings)が格納される領域である。したがって、S
NMPメッセージは複数のオブジェクトに対する要求を
1つのメッセージに格納することができる。
Reference numeral 209 denotes an object name (210, 21)
2) and an array (variable) of pairs of values (211 and 213)
-bindings). Therefore, S
The NMP message can store requests for a plurality of objects in one message.

【0027】図4はエージェントに対して1つのSNM
Pメッセージで複数のオブジェクト(ObjectA, Object
B, ObjectC)に任意の値を設定する場合のシーケンス図
である。
FIG. 4 shows one SNM for an agent.
Multiple objects (ObjectA, Object
FIG. 9 is a sequence diagram when an arbitrary value is set to (B, ObjectC).

【0028】図4において、401では、マネージャか
ら複数のオブジェクト、ObjectA, ObjectB, ObjectCに
値、X,Y,Zを設定するためのSET REQUESTメッセー
ジが送出される。
In FIG. 4, at 401, the manager sends a SET REQUEST message for setting values, X, Y, and Z to a plurality of objects, ObjectA, ObjectB, and ObjectC.

【0029】これを受けて402ではエージェント側で
はそれぞれのオブジェクトに適切に値が設定されたこと
をGET RESPONSEメッセージによりマネージャに通知す
る。
In response to this, at 402, the agent notifies the manager that a value has been appropriately set to each object by a GET RESPONSE message.

【0030】図5は、マネージャが1つのSNMPメッ
セージによって複数のオブジェクト(ObjectA, Object
B, ObjectC)に対するデータの設定を要求した場合のシ
ーケンス図である。なお、同図においてエージェントは
要求されたオブジェクトの一部(ObjectA)に対する情
報の設定が不可能な状態にあり、マネージャのネットワ
ーク管理ソフトウェアはエラーとなったSNMPメッセ
ージを再送するよう動作するものとする。
FIG. 5 shows that a manager sends a plurality of objects (ObjectA, Object
FIG. 9 is a sequence diagram in a case where a request for setting data for (B, ObjectC) is made. In the figure, the agent is in a state where it is impossible to set information for a part of the requested object (ObjectA), and the network management software of the manager operates to retransmit the SNMP message in which the error has occurred. .

【0031】501ではマネージャから複数のオブジェ
クト、ObjectA, ObjectB, ObjectCに値、X,Y,Zを
設定するためのSET REQUESTメッセージが送出される。
502ではエージェントがObjectAの設定に失敗したた
め、エラーステータスをGenErrに設定してGET RESPONSE
メッセージを返す。503ではエラーとなった要求を再
び再送するが、エージェント側では依然としてObjectA
に値が設定できないためGET RESPONSEメッセージをエラ
ーで返す。なお、このような、エラーとなった要求に対
する再送をおこなうネットワーク管理ソフトウェアは従
来一般的なものである。
At 501, the manager sends a SET REQUEST message for setting values, X, Y, and Z to a plurality of objects, ObjectA, ObjectB, and ObjectC.
In 502, since the agent failed to set ObjectA, the error status was set to GenErr and GET RESPONSE
Returns the message. At 503, the request in error is resent again, but the agent still has ObjectA
GET RESPONSE message is returned as an error because the value cannot be set to Note that network management software that retransmits such an errored request is generally conventional.

【0032】また、エージェントの動作として、マネー
ジャから複数のオブジェクトに対する処理を1つのSN
MPメッセージで要求された場合、エージェントが指定
されたオブジェクトの一部が正常に処理できない状態に
あれば、他のオブジェクトに対する処理も保証されない
といったものが一般的である。
As an operation of the agent, processing of a plurality of objects from the manager is performed by one SN.
When requested by the MP message, it is common that if a part of the specified object cannot be processed normally by the agent, the processing for other objects is not guaranteed.

【0033】[0033]

【発明が解決しようとする課題】したがって、上記従来
のSNMPプロトコルを用いたネットワークデバイス制
御装置及び方法では、複数のオブジェクトに対する処理
を1つのSNMPメッセージで要求した場合、エージェ
ント側で要求されたオブジェクトの一部が処理できない
状態にある場合、他のオブジェクトに対する処理もおこ
なわれないため、マネージャからのデータの取得および
設定に著しい障害となっていた。
Therefore, in the above-described conventional network device control apparatus and method using the SNMP protocol, when processing of a plurality of objects is requested by one SNMP message, the agent requests the processing of the object. If some of the objects cannot be processed, no processing is performed on other objects, which has been a significant obstacle in obtaining and setting data from the manager.

【0034】また、上記従来のSNMPプロトコルを用
いたネットワークデバイス制御装置及び方法でおこなっ
ているような、エラーとなったメッセージの再送をおこ
なった場合でも、エージェント側の状態が依然として要
求された複数のオブジェクトの一部が処理できない場合
は無意味である。
Further, even when the error message is retransmitted as in the above-described conventional network device control apparatus and method using the SNMP protocol, the state of the agent is still required for a plurality of requests. It is meaningless if some of the objects cannot be processed.

【0035】従って、本出願に係る発明の目的は、1つ
のSNMPメッセージによって複数のオブジェクトに対
するデータ野取得および設定を要求し、エージェント側
で要求された全オブジェクトの一部が正常に処理されな
かった場合、エラーとなったSNMPメッセージに含ま
れる複数のオブジェクトを分割し、それぞれを単一のオ
ブジェクト毎のSNMPメッセージとして送信すること
で、エージェントが要求された全オブジェクトの一部が
正常に処理できない状態にある場合でも、処理可能なオ
ブジェクトに対しては正常にデータの取得および設定で
きるネットワークデバイス制御装置及び方法を実現する
ことを目的とする。
Therefore, an object of the invention according to the present application is to request acquisition and setting of data fields for a plurality of objects by one SNMP message, and a part of all objects requested by the agent is not processed normally. In such a case, a plurality of objects included in the SNMP message in which an error occurred is divided, and each of the objects is transmitted as an SNMP message for each single object, so that the agent cannot process a part of all the requested objects normally. It is an object of the present invention to realize a network device control apparatus and method capable of normally acquiring and setting data for a processable object.

【0036】[0036]

【課題を解決するための手段】前記目的を達成するため
に本発明は、以下の構成からなる。
Means for Solving the Problems To achieve the above object, the present invention comprises the following constitution.

【0037】すなわち、ネットワークデバイス制御方法
は、ユーザからの操作により適当なSNMPメッセージ
を送信するSNMPメッセージ送信ステップと、前記S
NMPメッセージ送信ステップにおいて送信されたSN
MPメッセージに対するエージェントからのレスポンス
としてのSNMPメッセージを受信するSNMPメッセ
ージ受信ステップと、前記SNMPメッセージ受信ステ
ップにおいて受信したSNMPメッセージが、エラーか
否かを判断する受信メッセージ解析ステップと、前記受
信メッセージ解析ステップにおいて受信したSNMPメ
ッセージがエラーである場合に、前記SNMPメッセー
ジ送信ステップにおいて送信したSNMPメッセージに
複数のオブジェクトが含まれているかどうかを判断する
オブジェクト数解析ステップと、前記オブジェクト数解
析ステップにおいて、送信したSNMPメッセージに複
数のオブジェクトが含まれていると判断された場合、単
一のオブジェクトに分割する単一オブジェクト分割ステ
ップと、前記分割された単一のオブジェクト毎に、SN
MPメッセージを生成し、送信するSNMPメッセージ
分割送信ステップとを備える。
That is, the network device control method includes an SNMP message transmitting step of transmitting an appropriate SNMP message by a user's operation;
SN transmitted in the NMP message transmission step
An SNMP message receiving step of receiving an SNMP message as a response from the agent to the MP message; a received message analyzing step of determining whether the SNMP message received in the SNMP message receiving step is an error; and the received message analyzing step In the case where the received SNMP message is an error, the number of objects analysis step of determining whether the SNMP message transmitted in the SNMP message transmission step includes a plurality of objects; and A single object dividing step of dividing into a single object when it is determined that a plurality of objects are included in the SNMP message; Every single object, SN
Generating and transmitting an MP message.

【0038】また、ネットワークデバイス制御装置は、
ユーザからの操作により適当なSNMPメッセージを送
信するSNMPメッセージ送信手段と、前記SNMPメ
ッセージ送信ステップにおいて送信されたSNMPメッ
セージに対するエージェントからのレスポンスとしての
SNMPメッセージを受信するSNMPメッセージ受信
手段と、前記SNMPメッセージ受信手段において受信
したSNMPメッセージがエラーかどうかを判断する受
信メッセージ解析手段と、前記受信メッセージ解析手段
において受信したSNMPメッセージがエラーである場
合に、前記SNMPメッセージ送信手段において送信し
たSNMPメッセージに複数のオブジェクトが含まれて
いるかどうかを判断するオブジェクト数解析手段と、前
記オブジェクト数解析手段において、送信したSNMP
メッセージに複数のオブジェクトが含まれていると判断
された場合、単一のオブジェクトに分割する単一オブジ
ェクト分割ステップと、前記分割された単一のオブジェ
クト毎に、SNMPメッセージを生成し、送信するSN
MPメッセージ分割送信手段とを備える。
Further, the network device control device comprises:
SNMP message transmitting means for transmitting an appropriate SNMP message by a user operation; SNMP message receiving means for receiving an SNMP message as a response from an agent to the SNMP message transmitted in the SNMP message transmitting step; Receiving message analyzing means for determining whether the SNMP message received by the receiving means is an error; and, if the SNMP message received by the receiving message analyzing means is an error, a plurality of SNMP messages transmitted by the SNMP message transmitting means. Object number analyzing means for determining whether or not an object is included;
When it is determined that the message includes a plurality of objects, a single object dividing step of dividing the message into a single object, and an SN for generating and transmitting an SNMP message for each of the divided single objects
MP message division transmitting means.

【0039】あるいは、ネットワークデバイス制御方法
は、ユーザからの操作により適当なSNMPメッセージ
を送信するSNMPメッセージ送信ステップと、前記S
NMPメッセージ送信ステップにおいて送信されたSN
MPメッセージに対するエージェントからのレスポンス
としてのSNMPメッセージを受信するSNMPメッセ
ージ受信ステップと、前記SNMPメッセージ受信ステ
ップにおいて受信したSNMPメッセージが、エラーか
否かを判断する受信メッセージ解析ステップと、前記受
信メッセージ解析ステップにおいて受信したSNMPメ
ッセージがエラーである場合に、前記SNMPメッセー
ジ受信ステップにおいて受信したSNMPメッセージに
複数のオブジェクトが含まれているかどうかを判断する
オブジェクト数解析ステップと、前記オブジェクト数解
析ステップにおいて、受信したSNMPメッセージに複
数のオブジェクトが含まれていると判断された場合、単
一のオブジェクトに分割する単一オブジェクト分割ステ
ップと、前記分割された単一のオブジェクト毎に、SN
MPメッセージを生成し、送信するSNMPメッセージ
分割送信ステップとを備える。
Alternatively, the network device control method includes an SNMP message transmitting step of transmitting an appropriate SNMP message by a user's operation;
SN transmitted in the NMP message transmission step
An SNMP message receiving step of receiving an SNMP message as a response from the agent to the MP message; a received message analyzing step of determining whether the SNMP message received in the SNMP message receiving step is an error; and the received message analyzing step In the case where the received SNMP message is an error, the object number analyzing step of determining whether or not the SNMP message received in the SNMP message receiving step includes a plurality of objects; and A single object dividing step of dividing into a single object when it is determined that a plurality of objects are included in the SNMP message; Every single object, SN
Generating and transmitting an MP message.

【0040】あるいは、ネットワークデバイス制御装置
は、ユーザからの操作により適当なSNMPメッセージ
を送信するSNMPメッセージ送信手段と、前記SNM
Pメッセージ送信ステップにおいて送信されたSNMP
メッセージに対するエージェントからのレスポンスとし
てのSNMPメッセージを受信するSNMPメッセージ
受信手段と、前記SNMPメッセージ受信手段において
受信したSNMPメッセージがエラーかどうかを判断す
る受信メッセージ解析手段と、前記受信メッセージ解析
手段において受信したSNMPメッセージがエラーであ
る場合に、前記SNMPメッセージ受信手段において受
信したSNMPメッセージに複数のオブジェクトが含ま
れているかどうかを判断するオブジェクト数解析手段
と、前記オブジェクト数解析手段において、送信したS
NMPメッセージに複数のオブジェクトが含まれている
と判断された場合、単一のオブジェクトに分割する単一
オブジェクト分割ステップと、前記分割された単一のオ
ブジェクト毎に、SNMPメッセージを生成し、送信す
るSNMPメッセージ分割送信手段とを備える。
[0040] Alternatively, the network device control device includes an SNMP message transmitting means for transmitting an appropriate SNMP message in response to an operation from a user;
SNMP sent in P message sending step
SNMP message receiving means for receiving an SNMP message as a response from the agent to the message, received message analyzing means for determining whether the SNMP message received by the SNMP message receiving means is an error, and receiving by the received message analyzing means When the SNMP message is an error, the number-of-objects analyzing means for determining whether or not the SNMP message received by the SNMP message receiving means includes a plurality of objects;
When it is determined that a plurality of objects are included in the NMP message, a single object dividing step of dividing into a single object, and an SNMP message is generated and transmitted for each of the divided single objects. SNMP message division transmission means.

【0041】また、ネットワークデバイス制御方法にお
いて、前記ユーザからの操作による適当なSNMPメッ
セージはGetRequest, SetRequest, GetNextRequestであ
ることを特徴とする。
Further, in the network device control method, the suitable SNMP message by the operation by the user is GetRequest, SetRequest, GetNextRequest.

【0042】また、ネットワークデバイス制御装置にお
いて、前記ユーザからの操作による適当なSNMPメッ
セージはGetRequest, SetRequest, GetNextRequestであ
ることを特徴とする。
Further, in the network device control apparatus, the suitable SNMP message by the operation by the user is GetRequest, SetRequest, GetNextRequest.

【0043】また、記録媒体は、ユーザからの操作によ
り適当なSNMPメッセージを送信するSNMPメッセ
ージ送信ステップと、前記SNMPメッセージ送信ステ
ップにおいて送信されたSNMPメッセージに対するエ
ージェントからのレスポンスとしてのSNMPメッセー
ジを受信するSNMPメッセージ受信ステップと、前記
SNMPメッセージ受信ステップにおいて受信したSN
MPメッセージが、エラーか否かを判断する受信メッセ
ージ解析ステップと、前記受信メッセージ解析ステップ
において受信したSNMPメッセージがエラーである場
合に、前記SNMPメッセージ送信ステップにおいて送
信したSNMPメッセージに複数のオブジェクトが含ま
れているかどうかを判断するオブジェクト数解析ステッ
プと、前記オブジェクト数解析ステップにおいて、送信
したSNMPメッセージに複数のオブジェクトが含まれ
ていると判断された場合、単一のオブジェクトに分割す
る単一オブジェクト分割ステップと、前記分割された単
一のオブジェクト毎に、SNMPメッセージを生成し、
送信するSNMPメッセージ分割送信ステップとを記録
したことを特徴とする。
Further, the recording medium receives an SNMP message as a response from the agent to the SNMP message transmitted in the SNMP message transmitting step for transmitting an appropriate SNMP message by an operation of the user. An SNMP message receiving step, and an SN received in the SNMP message receiving step.
A received message analyzing step of determining whether or not the MP message is an error; and if the SNMP message received in the received message analyzing step is an error, the SNMP message transmitted in the SNMP message transmitting step includes a plurality of objects. Analyzing the number of objects to determine whether or not the plurality of objects are included in the transmitted SNMP message in the analyzing the number of objects, dividing a single object into single objects Generating an SNMP message for each of the divided single objects;
And transmitting an SNMP message division transmission step.

【0044】あるいは、記録媒体は、ユーザからの操作
により適当なSNMPメッセージを送信するSNMPメ
ッセージ送信ステップと、前記SNMPメッセージ送信
ステップにおいて送信されたSNMPメッセージに対す
るエージェントからのレスポンスとしてのSNMPメッ
セージを受信するSNMPメッセージ受信ステップと、
前記SNMPメッセージ受信ステップにおいて受信した
SNMPメッセージが、エラーか否かを判断する受信メ
ッセージ解析ステップと、前記受信メッセージ解析ステ
ップにおいて受信したSNMPメッセージがエラーであ
る場合に、前記SNMPメッセージ受信ステップにおい
て受信したSNMPメッセージに複数のオブジェクトが
含まれているかどうかを判断するオブジェクト数解析ス
テップと、前記オブジェクト数解析ステップにおいて、
受信したSNMPメッセージに複数のオブジェクトが含
まれていると判断された場合、単一のオブジェクトに分
割する単一オブジェクト分割ステップと、前記分割され
た単一のオブジェクト毎に、SNMPメッセージを生成
し、送信するSNMPメッセージ分割送信ステップとを
記録したことを特徴とする。
Alternatively, the recording medium receives an SNMP message as a response from the agent to the SNMP message transmitted in the SNMP message transmitting step in which the SNMP message is transmitted in the SNMP message transmitting step in accordance with an operation of the user. Receiving an SNMP message;
The SNMP message received in the SNMP message receiving step is a received message analyzing step of determining whether there is an error, and if the SNMP message received in the received message analyzing step is an error, the received SNMP message is received in the SNMP message receiving step. In the object number analysis step of determining whether a plurality of objects are included in the SNMP message, and in the object number analysis step,
When it is determined that a plurality of objects are included in the received SNMP message, a single object dividing step of dividing into a single object, and an SNMP message is generated for each of the divided single objects, And transmitting an SNMP message division transmission step.

【0045】[0045]

【発明の実施の形態】以下図面を用いて本発明によるS
NMPプロトコルを用いたネットワーク管理ソフトウェ
アを含むネットワークデバイス制御装置及び方法につい
て説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG.
A network device control apparatus and method including network management software using the NMP protocol will be described.

【0046】図7は、本発明によるネットワーク管理ソ
フトウェアが稼動可能なPCの構成を示すブロック図で
ある。図7において、701は、ネットワーク管理ソフ
トウェアが稼動するPCである。PC701は、ROM
703もしくはハードディスク(HD)712に記憶さ
れた、あるいはフロッピーディスクドライブ(FD)7
13より供給されるネットワーク管理プログラムを実行
するCPU702を備え、システムバス705に接続さ
れる各デバイスを総括的に制御する。
FIG. 7 is a block diagram showing the configuration of a PC on which the network management software according to the present invention can operate. In FIG. 7, reference numeral 701 denotes a PC on which network management software operates. PC 701 is a ROM
703 or a hard disk (HD) 712 or a floppy disk drive (FD) 7
The system includes a CPU 702 for executing a network management program supplied from the CPU 13, and comprehensively controls each device connected to the system bus 705.

【0047】704はRAMで、CPU702の主メモ
リ、ワークエリア等として機能する。706はキーボー
ドコントローラ(KBC)で、キーボード(KB)71
0や不図示のポインティングデバイス等からの指示入力
を制御する。707はCRTコントローラ(CRTC)
で、CRTディスプレイ(CRT)711の表示を制御
する。708はディスクコントローラ(DKC)で、ブ
ートプログラム、種々のアプリケーション、編集ファイ
ル、ユーザファイルそしてネットワーク管理プログラム
等を記憶するハードディスク(HD)712およびフロ
ッピーディスクコントローラ(FD)713とのアクセ
スを制御する。709はネットワークインタフェースカ
ード(NIC)で、LAN700を介して、エージェン
トあるいはネットワーク機器と双方向にデータをやりと
りする。
A RAM 704 functions as a main memory, a work area, and the like for the CPU 702. Reference numeral 706 denotes a keyboard controller (KBC), and a keyboard (KB) 71
It controls input of instructions from 0 or a pointing device (not shown). 707 is a CRT controller (CRTC)
Controls the display on the CRT display (CRT) 711. A disk controller (DKC) 708 controls access to a hard disk (HD) 712 and a floppy disk controller (FD) 713 that store a boot program, various applications, editing files, user files, a network management program, and the like. Reference numeral 709 denotes a network interface card (NIC) for exchanging data bidirectionally with an agent or a network device via the LAN 700.

【0048】次に、本発明のネットワーク管理ソフトウ
ェアの構成について説明する。
Next, the configuration of the network management software of the present invention will be described.

【0049】本発明のネットワーク管理装置は、図7に
示したような従来のネットワーク管理装置を実現可能な
PCと同様の構成のPC上に実現される。ハードディス
ク(HD)712には、後述のすべての説明で動作主体
となる本願に係るネットワーク管理ソフトウェアのプロ
グラムが格納される。後述のすべての説明において、特
に断りのない限り、実行の主体はハード上はCPU70
2である。一方、ソフトウェア上の制御の主体は、ハー
ドディスク(HD)712に格納されたネットワーク管
理ソフトウェアである。本実施形態においては、OSは
例えば、ウィンドウズ95(マイクロソフト社製)を想
定しているが、これに限るものではない。
The network management device of the present invention is realized on a PC having the same configuration as a PC capable of realizing the conventional network management device as shown in FIG. The hard disk (HD) 712 stores a program of network management software according to the present application, which is an operation main body in all the descriptions below. In all of the following description, unless otherwise specified, the subject of execution is a CPU 70 on hardware.
2. On the other hand, the subject of control on software is network management software stored in a hard disk (HD) 712. In the present embodiment, the OS is assumed to be, for example, Windows 95 (manufactured by Microsoft), but is not limited thereto.

【0050】なお本願に係るネットワーク管理プログラ
ムは、フロッピーディスクやCD−ROMなどの記憶媒
体に格納された形で供給されても良く、その場合には図
7に示すフロッピーディスクコントローラ(FD)71
3または不図示のCD−ROMドライブなどによって記
憶媒体からプログラムが読み取られ、ハードディスク
(HD)712にインストールされる。
The network management program according to the present invention may be supplied in a form stored in a storage medium such as a floppy disk or a CD-ROM. In this case, a floppy disk controller (FD) 71 shown in FIG.
3 or a CD-ROM drive (not shown) reads a program from a storage medium and installs the program on a hard disk (HD) 712.

【0051】図8は、本発明に係るネットワーク管理ソ
フトウェアのモジュール構成の一例を示すモジュール図
である。
FIG. 8 is a module diagram showing an example of the module configuration of the network management software according to the present invention.

【0052】本発明に係るネットワーク管理ソフトウェ
アは、図7におけるハードディスク712に格納されて
おり、CPU702によって実行される。その際、CP
U702はワークエリアとしてRAM704を使用す
る。
The network management software according to the present invention is stored in the hard disk 712 in FIG. At that time, CP
U702 uses the RAM 704 as a work area.

【0053】図8において、801はデバイスリストモ
ジュールと呼ばれ、ネットワークに接続されたデバイス
を一覧にして表示するモジュールである。802は全体
制御モジュールと呼ばれ、デバイスリストからの指示を
もとに、他のモジュールを統括するモジュールである。
803はコンフィグレータと呼ばれ、エージェントのネ
ットワーク設定に関する特別な処理を行うモジュールで
ある。804は、探索モジュールと呼ばれ、ネットワー
クに接続されているデバイスを探索するモジュールであ
る。探索モジュール804によって探索されたデバイス
が、デバイスリスト801によって一覧表示される。8
05は、プリントジョブの状況をNewWare API816を
用いてネットワークサーバから取得するNetWareジョブ
モジュールである。(なお、NetWare APIについては、
例えばNovell社から発行されている"NetWare Programme
r's Guide for C"等を参照のこと。この書籍はノベル株
式会社から購入可能である。)806および807はデ
バイスの種別に応じてそれぞれのより詳細な情報を表示
するデバイス詳細ウィンドウを表示するためのUIモジ
ュールであり、詳細情報を表示する対象機種毎にUIモ
ジュールが存在する。808および809は制御モジュ
ールと呼ばれ、詳細情報を取得する対象機種に特有の制
御を受け持つモジュールである。UIモジュールと同様
に、制御モジュールも詳細情報を表示する対象機種毎に
存在する。制御Aモジュール808および制御Bモジュ
ール809は、MIBハンドリングモジュール810を
用いて管理対象デバイスからMIBデータを取得し、必
要に応じてデータの変換を行い、各々対応するUI A
モジュール806またはUI Bモジュール807にデ
ータを渡す。
In FIG. 8, reference numeral 801 denotes a device list module, which is a module for displaying a list of devices connected to the network. Reference numeral 802 denotes a general control module that controls other modules based on an instruction from a device list.
Reference numeral 803 denotes a module that is called a configurator and performs special processing related to the network setting of the agent. A search module 804 is a module that searches for a device connected to the network. Devices searched by the search module 804 are displayed as a list in a device list 801. 8
Reference numeral 05 denotes a NetWare job module for acquiring the status of a print job from a network server using the NewWare API 816. (For NetWare API,
For example, the "NetWare Programme" issued by Novell
r's Guide for C ", etc. This book can be purchased from Novell, Inc.) 806 and 807 are for displaying a device detail window that displays more detailed information of each according to the type of device. There is a UI module for each target model for which detailed information is to be displayed, and 808 and 809 are called control modules and are responsible for control specific to the target model for which detailed information is to be obtained. The control module 808 and the control B module 809 use the MIB handling module 810 to acquire MIB data from the device to be managed, and To convert the data to the corresponding UI A
The data is passed to the module 806 or the UIB module 807.

【0054】MIBハンドリングモジュール810は、
全体制御モジュール802、制御Aモジュール、制御B
モジュールからの要求に応じてSNMPメッセージを生
成するために必要な情報(コミュニティ名、オブジェク
ト識別子など)をSNMPプロトコルモジュール811
に通知する。
The MIB handling module 810 includes:
Overall control module 802, control A module, control B
Information (community name, object identifier, etc.) required to generate an SNMP message in response to a request from the module is sent to the SNMP protocol module 811.
Notify.

【0055】811はSNMPプロトコルモジュールと
呼ばれ、SNMPパケットの送信と受信を行う。
Reference numeral 811 denotes an SNMP protocol module for transmitting and receiving SNMP packets.

【0056】812は共通トランスポートモジュールと
呼ばれ、SNMPデータを運搬するための下位プロトコ
ルの差を吸収するモジュールである。実際には、動作時
にユーザが選択したプロトコルの差を吸収するモジュー
ルである。実際には、動作時にユーザが選択したプロト
コルによって、IPXハンドラ813かUDPハンドラ
814のいずれかがデータを転送する役割を担う。な
お、UDPハンドラは、実装としてWinSock817を用
いている。(WinSockについては、例えばWindowsSocket
API v1.1の仕様書を参照のこと。このドキュメント
は、複数箇所から入手可能であるが、例えばマイクロソ
フト社製のコンパイラであるVisual C++に同梱されてい
る。)コンフィグレータ803が用いる現在のプロトコ
ル815というのは、動作時にユーザが選択しているI
PXプロトコルかUDPプロトコルのいずれかのことを
示す。
Reference numeral 812 is a common transport module that absorbs a difference between lower protocols for carrying SNMP data. Actually, it is a module that absorbs the difference between the protocols selected by the user during operation. In practice, depending on the protocol selected by the user during operation, either the IPX handler 813 or the UDP handler 814 plays a role in transferring data. The UDP handler uses WinSock 817 as an implementation. (For WinSock, for example, WindowsSocket
See the API v1.1 specification. This document is available from multiple sources, but is included with, for example, Visual C ++, a Microsoft compiler. ) The current protocol 815 used by the configurator 803 is based on the I selected by the user during operation.
Indicates either the PX protocol or the UDP protocol.

【0057】図1は、本発明によるネットワーク管理ソ
フトウェアが1つのSNMPメッセージによって複数の
オブジェクト(ObjectA, ObjectB, ObjectC)に対する
データの設定を要求し、エージェント側が要求されたオ
ブジェクトの一部(ObjectA)に対する情報の設定が不
可能な状態にある場合、SNMPメッセージを各オブジ
ェクト毎に分割し、送信する際の動作を示すフローチャ
ートである。
FIG. 1 shows that the network management software according to the present invention requests data setting for a plurality of objects (ObjectA, ObjectB, ObjectC) by one SNMP message, and the agent side requests a part of the requested object (ObjectA). 11 is a flowchart illustrating an operation when an SNMP message is divided for each object and transmitted when information cannot be set.

【0058】同図においてステップS100ではユーザ
がPC701でキーボード(KB)710、もしくは、
マウス等を使用してハードディスク(HD)712に記
憶された本発明によるネットワーク管理ソフトウェアを
起動し、管理対象のネットワークデバイスに関する情報
を取得するよう操作する、この操作によりデバイスリス
トモジュール801、UI Aモジュール806、UI
Bモジュール807のいずれかのモジュールから要求
が発生し、それに応じて全体制御モジュール802、制
御Aモジュール808、制御Bモジュール809のいず
れかの制御モジュールからMIBハンドリングモジュー
ル810のAPIがコールされる。
Referring to FIG. 10, in step S100, the user operates the keyboard (KB) 710 or
Using a mouse or the like, the network management software according to the present invention stored in the hard disk (HD) 712 is started to operate to acquire information on the network device to be managed. By this operation, the device list module 801 and the UIA module 806, UI
A request is generated from any one of the B modules 807, and the API of the MIB handling module 810 is called from any one of the general control module 802, the control A module 808, and the control B module 809 in response to the request.

【0059】ステップS101では、ステップS100
においてコールされたAPIのパラメータを解析し、適
当なオブジェクトに対するSNMPメッセージをSNM
Pプロトコルモジュール811に対して要求する。これ
を受けてSNMPプロトコルモジュール811では、要
求に応じたSNMPメッセージを生成し、共通トランス
ポートモジュール812に通知する。共通トランスポー
トモジュール812では、動作時にユーザが選択したプ
ロトコルによって、IPXハンドラ813かUDPハン
ドラ814のいずれかにデータを転送する。以上の様な
動作の後、SNMPメッセージがネットワークインタフ
ェースカード(NIC)709を経由してLAN700
送出される。
In step S101, step S100
Analyze the parameters of the API called at
Request to the P protocol module 811. In response to this, the SNMP protocol module 811 generates an SNMP message according to the request and notifies the common transport module 812 of the message. The common transport module 812 transfers data to either the IPX handler 813 or the UDP handler 814 according to a protocol selected by the user during operation. After the above operation, the SNMP message is sent to the LAN 700 via the network interface card (NIC) 709.
Sent out.

【0060】ステップS102では、ステップS101
において送信したSNMPメッセージ(GET REQUEST, G
ET NEXT REQUEST, SET REQUEST)に対するレスポンスと
してのSNMPメッセージ(GetResponse)をネットワ
ークインタフェースカード(NIC)709を経由して
受信する。受信したSNMPメッセージは選択されてい
るプロトコルに応じてIPXハンドラ813、UDPハ
ンドラ814のいずれかを経由して、共通トランスポー
トモジュール812からSNMPプロトコルモジュール
811に通知され、SNMPプロトコルモジュール81
1では受信したSNMPメッセージの解析がおこなわれ
る。
In step S102, step S101
SNMP message (GET REQUEST, G
An SNMP message (GetResponse) as a response to ET NEXT REQUEST, SET REQUEST is received via the network interface card (NIC) 709. The received SNMP message is notified from the common transport module 812 to the SNMP protocol module 811 via one of the IPX handler 813 and the UDP handler 814 according to the selected protocol, and the SNMP protocol module 81
In step 1, the received SNMP message is analyzed.

【0061】ステップS103ではステップS102に
おいて受信したSNMPメッセージ(GetResponse)の
PDU205の解析がSNMPプロトコルモジュールに
おいておこなわれ、その結果がMIBハンドリングモジ
ュールに通知される。ここで、PDU205のエラース
テータス207を参照し、エラーが発生している場合に
はステップS104に移行する。
In step S103, the PDU 205 of the SNMP message (GetResponse) received in step S102 is analyzed in the SNMP protocol module, and the result is notified to the MIB handling module. Here, referring to the error status 207 of the PDU 205, if an error has occurred, the process proceeds to step S104.

【0062】ステップS104では、ステップS101
において送信したSNMPメッセージのvariable-bindi
ns209に複数のオブジェクトが含まれているかどうか
の判断がMIBハンドリングモジュールにおいてなさ
れ、1つのオブジェクトによって構成されている場合に
はステップS105に移行し、複数のオブジェクトによ
って構成されている場合にはステップS106に移行す
る。
In step S104, step S101
Variable-bindi of the SNMP message sent in
The MIB handling module determines whether or not the ns 209 includes a plurality of objects. If the ns 209 includes one object, the process proceeds to step S105. If the ns 209 includes a plurality of objects, the process proceeds to step S106. Move to

【0063】ステップS105では、ステップS101
において送信したSNMPメッセージのvariable-bindi
ngs209が1つのオブジェクトによって構成されてい
ると判断された場合、MIBハンドリングモジュール8
10からステップS101において送信したSNMPメ
ッセージを再送するようSNMPプロトコルモジュール
811以下のモジュールに対して要求される。
In step S105, step S101
Variable-bindi of the SNMP message sent in
If it is determined that the ngs 209 is composed of one object, the MIB handling module 8
From 10, a request is made to the SNMP protocol module 811 and subsequent modules to retransmit the SNMP message transmitted in step S <b> 101.

【0064】ステップS106では、MIBハンドリン
グモジュール810において、ステップS101におい
て送信したSNMPメッセージのvariable-bindings2
09が複数のオブジェクトによって構成されていると判
断された場合、それら複数のオブジェクトを単一のオブ
ジェクトに分割し、単一のオブジェクトからなるvariab
le-bindings209を持つSNMPメッセージを生成す
るようSNMPプロトコルモジュールに要求する。
In step S106, the MIB handling module 810 sets variable-bindings2 of the SNMP message transmitted in step S101.
09 is determined to be composed of a plurality of objects, the plurality of objects are divided into a single object, and a variab
Request the SNMP protocol module to generate an SNMP message with le-bindings 209.

【0065】S107ではステップS107において、
MIBハンドリングモジュール810及びSNMPプロ
トコルモジュール811において生成されたSNMPメ
ッセージが共通トランスポートモジュール812に通知
され、共通トランスポートモジュール812では、動作
時にユーザが選択したプロトコルによって、IPXハン
ドラ813かUDPハンドラ814のいずれかにデータ
を転送する。以上の様な動作の後、新たに生成された複
数のSNMPメッセージがネットワークインタフェース
カード(NIC)709を経由してLAN700送出さ
れる。
In step S107, in step S107,
The SNMP message generated in the MIB handling module 810 and the SNMP protocol module 811 is notified to the common transport module 812. In the common transport module 812, depending on the protocol selected by the user at the time of operation, either the IPX handler 813 or the UDP handler 814 Transfer the crab data. After the above operation, a plurality of newly generated SNMP messages are transmitted to the LAN 700 via the network interface card (NIC) 709.

【0066】以上説明したように、ステップS101に
おいて送信したSNMPメッセージのレスポンスをステ
ップS102で受信し、ステップS103においてエラ
ーが発生したと判断された場合、ステップS104で複
数のオブジェクトに対する要求であるかどうかの判断が
なされ、複数のオブジェクトに対する要求であると判断
された場合、ステップS106において複数のオブジェ
クトが分割され、ステップS107において単一のオブ
ジェクトに対するSNMPメッセージとして送信される
ことにより、エージェント側が要求された複数オブジェ
クト中の1つあるいは幾つかのオブジェクトに対して正
常に処理できない場合でも、少なくとも正常に処理が出
来るオブジェクトに対しては正常に処理がおこなわれる
ようになる。
As described above, the response of the SNMP message transmitted in step S101 is received in step S102, and if it is determined in step S103 that an error has occurred, it is determined in step S104 whether the request is for a plurality of objects. When it is determined that the request is for a plurality of objects, the plurality of objects are divided in step S106 and are transmitted as an SNMP message for a single object in step S107, so that the agent is requested. Even when one or several objects in a plurality of objects cannot be processed normally, at least the objects that can be processed normally can be processed normally.

【0067】図3は、本発明によるネットワーク管理ソ
フトウェアが1つのSNMPメッセージによって複数の
オブジェクト(ObjectA, ObjectB, ObjectC)に対する
データの設定を要求した場合のシーケンス図である。な
お、同図においてエージェントは要求されたオブジェク
トの一部(ObjectA)に対する情報の設定が不可能な状
態あるものとする。
FIG. 3 is a sequence diagram when the network management software according to the present invention requests data setting for a plurality of objects (ObjectA, ObjectB, ObjectC) by one SNMP message. It is assumed that the agent cannot set information for a part of the requested object (ObjectA) in FIG.

【0068】同図において、301ではマネージャから
エージェントに対して複数のオブジェクト、ObjectA, O
bjectB, ObjectCに値、X,Y,Zを設定するためのSET
REQUESTメッセージが送出される。
In the figure, at 301, a plurality of objects, ObjectA, O
SET to set the values, X, Y, Z for bjectB, ObjectC
A REQUEST message is sent.

【0069】302では、エージェントがObjectAの設
定に失敗したため、エラーステータスをgenErrに設定し
てGET RESPONSEメッセージを返す。
At 302, since the agent failed to set ObjectA, the error status is set to genErr and a GET RESPONSE message is returned.

【0070】これを受けてマネージャ側は301で送信
したSNMPメッセージを、ObjectAに値Xを設定する
メッセージ、ObjectBに値Yを設定するメッセージ、Obj
ectCに値Zを設定するメッセージに分割し、それぞれ、
303,305,307で送信する。これを受けてエー
ジェント側は、303で送信されたObjectAに対するメ
ッセージのみエラーとして、それ以外の要求は正常に処
理できたとしてそれぞれ304,306,308でレス
ポンスを返す。
In response to this, the manager sends the SNMP message transmitted in 301 as a message for setting the value X to ObjectA, a message for setting the value Y to ObjectB, Obj
Split into messages that set the value Z in ectC,
Transmission is made at 303, 305, and 307. In response to this, the agent returns errors in 304, 306, and 308, respectively, assuming that only the message for ObjectA transmitted in 303 is an error, and that other requests can be normally processed.

【0071】以上説明したように、301において送信
した複数のオブジェクトに対するSNMPメッセージが
エージェント側で正常に処理されず、302においてレ
スポンスをエラーで受信した場合、303,305,3
07で送信したメッセージに分割するよう制御すること
により、エージェント側で正常に処理出来るオブジェク
トに対しては正常に処理がなされるようになるため、ネ
ットワーク管理とソフトウェアのデータの取得および設
定の効率を飛躍的に向上させることが可能となるのであ
る。
As described above, when the SNMP message for a plurality of objects transmitted in 301 is not normally processed on the agent side, and the response is received in error in 302, 303, 305, 3
By controlling to divide the message into the messages transmitted in step 07, objects that can be processed normally on the agent side are processed normally, so that the efficiency of network management and acquisition and setting of software data can be improved. It is possible to dramatically improve.

【0072】また、上記で説明した本発明に係るネット
ワーク管理ソフトウェアは、外部からインストールされ
るプログラムによって、ネットワーク管理ソフトウェア
が稼動可能なPCの構成を示すブロック図である図7に
おけるPC701によって遂行されても良い。その場
合、そのプログラムはCD−ROMやフラッシュメモリ
やフロッピーディスクなどの記憶媒体により、あるいは
電子メールやパソコン通信などのネットワークを介し
て、外部の記憶媒体からプログラムを含む情報群をPC
701上にロードすることにより、PC701に供給さ
れる場合でも本発明は適用されるものである。
The network management software according to the present invention described above is executed by a PC 701 in FIG. 7 which is a block diagram showing a configuration of a PC on which the network management software can operate, by a program installed from the outside. Is also good. In this case, the program is stored in a storage medium such as a CD-ROM, a flash memory or a floppy disk, or an information group including the program from an external storage medium via a network such as e-mail or personal computer communication.
The present invention is applied even when the data is loaded on the PC 701 and supplied to the PC 701.

【0073】図9は、記憶媒体の一例であるCD−RO
Mのメモリマップを示す図である。903はディレクト
リ情報を記憶してある領域で、以降のインストールプロ
グラムを記憶してある領域902およびネットワーク管
理ソフトウェアを記憶してある領域901の位置を示し
ている。902は、インストールプログラムを記憶して
ある領域である。901は、ネットワーク管理ソフトウ
ェアを記憶してある領域である。本発明のネットワーク
管理ソフトウェアがPC701にインストールされる際
には、まずインストールプログラムを記憶してある領域
902に記憶されているインストールプログラムがシス
テムにロードされ、CPU702によって実行される。
次に、CPU702によって実行されるインストールプ
ログラムが、ネットワーク管理ソフトウェアを記憶して
ある領域901からネットワーク管理ソフトウェアを読
み出して、ハードディスク712に格納する。
FIG. 9 shows a CD-RO as an example of a storage medium.
FIG. 6 is a diagram showing a memory map of M. An area 903 stores directory information, and indicates the positions of an area 902 storing the subsequent installation program and an area 901 storing the network management software. An area 902 stores an installation program. An area 901 stores network management software. When the network management software of the present invention is installed in the PC 701, first, the installation program stored in the area 902 storing the installation program is loaded into the system and executed by the CPU 702.
Next, the installation program executed by the CPU 702 reads the network management software from the area 901 storing the network management software, and stores the network management software on the hard disk 712.

【0074】なお、本発明は、複数の機器(例えばホス
トコンピュータ、インタフェース機器、リーダなど)か
ら構成されるシステムあるいは統合装置に適用しても、
ひとつの機器からなる装置に適用してもよい。
The present invention can be applied to a system or an integrated device including a plurality of devices (for example, a host computer, an interface device, a reader, etc.).
You may apply to the apparatus which consists of one apparatus.

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

【0076】この場合、記憶媒体から読み出されたプロ
グラムコード自体が本発明の新規な機能を実現すること
になり、そのプログラムコードを記憶した記憶媒体は本
発明を構成することになる。
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 constitutes the present invention.

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

【0078】また、コンピュータが読み出したプログラ
ムコードを実行することによって、前述した実施形態の
機能が実現される他、そのプログラムコードの指示に基
づき、コンピュータ上で稼動しているOSなどが実際の
処理の一部または全部を行い、その処理によっても前述
した実施形態の機能が実現され得る。
The functions of the above-described embodiments are implemented when the computer executes the readout program codes, and the OS or the like running on the computer performs actual processing based on the instructions of the program codes. The functions of the above-described embodiment can be realized by performing a part or all of the above.

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

【0080】なお、本発明は、前述した実施形態の機能
を実現するソフトウェアのプログラムコードを記録した
記憶媒体から、そのプログラムをパソコン通信など通信
ラインを介して要求者にそのプログラムを配信する場合
にも適用できることは言うまでもない。
The present invention is applicable to a case where the program is distributed from a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a requester via a communication line such as a personal computer communication. Needless to say, this can also be applied.

【0081】本発明が適用される印刷装置としてレーザ
ビームプリンタを用いても良い。図10はこの場合のレ
ーザビームプリンタ(以下、LBPと略す)の内部構造
を示す断面図で、このLBPは、文字パターンデータ等
を入力して記録紙に印刷することができる。
A printing apparatus to which the present invention is applied may be a laser beam printer. FIG. 10 is a cross-sectional view showing the internal structure of a laser beam printer (hereinafter abbreviated as LBP) in this case. The LBP can input character pattern data or the like and print it on recording paper.

【0082】図10において、1040はLBP本体で
あり、供給される文字パターン等を基に、記録媒体であ
る記録紙上に像を形成する。1000は操作のためのス
イツチ及びLED表示器などが配されている操作パネ
ル、1001はLBP1040全体の制御及び文字パタ
ーン情報等を解析するプリンタ制御ユニツトである。こ
のプリンタ制御ユニツト1001は主に文字パターン情
報をビデオ信号に変換してレーザドライバ1002に出
力する。
In FIG. 10, reference numeral 1040 denotes an LBP main body, which forms an image on a recording paper as a recording medium based on a supplied character pattern or the like. Reference numeral 1000 denotes an operation panel on which switches for operation and an LED display are arranged, and 1001 denotes a printer control unit for controlling the entire LBP 1040 and analyzing character pattern information and the like. The printer control unit 1001 mainly converts character pattern information into a video signal and outputs the video signal to the laser driver 1002.

【0083】レーザドライバ1002は半導体レーザ1
003を駆動するための回路であり、入力されたビデオ
信号に応じて半導体レーザ1003から発射されるレー
ザ光1004をオン・オフ切替えする。レーザ光100
4は回転多面鏡1005で左右方向に振られて静電ドラ
ム1006上を走査する。これにより、静電ドラム10
06上には文字パターンの静電潜像が形成される。
The laser driver 1002 is the semiconductor laser 1
003 is a circuit for driving the laser beam 1003, which switches on / off a laser beam 1004 emitted from the semiconductor laser 1003 in accordance with an input video signal. Laser light 100
Reference numeral 4 denotes a rotating polygon mirror 1005 which scans on the electrostatic drum 1006 while being swung right and left. Thereby, the electrostatic drum 10
On 06, an electrostatic latent image of a character pattern is formed.

【0084】この潜像は静電ドラム1006周囲の現像
ユニツト1007により現像された後、記録紙に転写さ
れる。この記録紙にはカットシートを用い、カットシー
ト記録紙はLBP1040に装着した複数種の用紙に対
応した用紙カセツト1008に収納され、給紙ローラ1
009及び搬送ローラ1010と1011とにより装置
内に取込まれて、静電ドラム1006に供給される。
This latent image is developed by a developing unit 1007 around the electrostatic drum 1006 and then transferred to a recording sheet. A cut sheet is used as the recording paper, and the cut sheet recording paper is stored in a paper cassette 1008 corresponding to a plurality of types of papers mounted on the LBP 1040.
009 and the transfer rollers 1010 and 1011 are taken into the apparatus and supplied to the electrostatic drum 1006.

【0085】尚、本実施形態の印刷装置として、レーザ
ビームプリンタを例にして説明したが、これに限定され
るものでなく、以下で説明するインクジェットプリンタ
等にも適応可能である。図11は、インクジェット記録
装置IJRAの概観図である。同図において、駆動モー
タ5013の正逆回転に連動して駆動力伝達ギア501
1,5009を介して回転するリードスクリュー500
5の螺旋溝5004に対して係合するキャリッジHCは
ピン(不図示)を有し、矢印a,b方向に往復移動され
る。このキャリッジHCには、インクジェットカートリ
ッジIJCが搭載されている。5002は紙押え板であ
り、キャリッジの移動方向に亙って紙をプラテン500
0に対して押圧する。5007,5008はフォトカプ
ラで、キャリッジのレバー5006のこの域での存在を
確認して、モータ5013の回転方向切り換え等を行う
ためのホームポジション検知手段である。5016は記
録ヘッドの前面をキャップするキャップ部材5022を
支持する部材で、5015はこのキャップ内を吸引する
吸引手段で、キャップ内開口5023を介して記録ヘッ
ドの吸引回復を行う。5017はクリーニングブレード
で、5019はこのブレードを前後方向に移動可能にす
る部材であり、本体支持板5018にこれらが支持され
ている。ブレードは、この形態でなく周知のクリーニン
グブレードが本例に適用できることは言うまでもない。
又、5021は、吸引回復の吸引を開始するためのレバ
ーで、キャリッジと係合するカム5020の移動に伴っ
て移動し、駆動モータからの駆動力がクラッチ切り換え
等の公知の伝達手段で移動制御される。これらのキャッ
ピング、クリーニング、吸引回復は、キャリッジがホー
ムポジション側の領域に来た時にリードスクリュー50
05の作用によってそれらの対応位置で所望の処理が行
えるように構成されているが、周知のタイミングで所望
の作動を行うようにすれば、本例にはいずれも適用でき
る。
The printing apparatus according to the present embodiment has been described by taking a laser beam printer as an example. However, the present invention is not limited to this, and may be applied to an ink jet printer described below. FIG. 11 is a schematic view of the inkjet recording apparatus IJRA. In the figure, a driving force transmission gear 501 is linked with a forward / reverse rotation of a driving motor 5013.
Lead screw 500 rotating via 1,5009
The carriage HC engaged with the fifth spiral groove 5004 has a pin (not shown), and is reciprocated in the directions of arrows a and b. An ink jet cartridge IJC is mounted on the carriage HC. Reference numeral 5002 denotes a paper holding plate, which platens the paper 500 in the moving direction of the carriage.
Press against 0. Reference numerals 5007 and 5008 denote home position detecting means for confirming the presence of the carriage lever 5006 in this area and switching the rotation direction of the motor 5013. Reference numeral 5016 denotes a member that supports a cap member 5022 that caps the front surface of the recording head. Reference numeral 5015 denotes suction means that suctions the inside of the cap, and performs suction recovery of the recording head through an opening 5023 in the cap. Reference numeral 5017 denotes a cleaning blade. Reference numeral 5019 denotes a member which allows the blade to move in the front-rear direction. These members are supported by a main body support plate 5018. It goes without saying that the blade is not limited to this form and a known cleaning blade can be applied to this example.
Reference numeral 5021 denotes a lever for starting suction for recovery of suction, which moves with the movement of the cam 5020 which engages with the carriage, and controls the movement of the driving force from the drive motor by a known transmission means such as clutch switching. Is done. These capping, cleaning, and suction recovery are performed when the carriage comes to the area on the home position side.
It is configured such that desired operations can be performed at those corresponding positions by the operation of 05. However, if desired operations are performed at well-known timing, any of the embodiments can be applied.

【0086】次に、上述した装置の記録制御を実行する
ための制御構成について、図12に示すブロック図を参
照して説明する。制御回路を示す同図において、170
0は記録信号を入力するインターフェース、1701は
MPU、1702はMPU1701が実行する制御プロ
グラムを格納するプログラムROM、1703は各種デ
ータ(上記記録信号やヘッドに供給される記録データ
等)を保存しておくダイナミック型のROMである。1
704は記録ヘッド1708に対する記録データの供給
制御を行うゲートアレイであり、インターフェース17
00、MPU1701、RAM1703間のデータ転送
制御も行う。1710は記録ヘッド1708を搬送する
ためのキャリアモータ、1709は記録紙搬送のための
搬送モータである。1705はヘッドを駆動するヘッド
ドライバ、1706、1707はそれぞれ搬送モータ1
709、キャリアモータ1710を駆動するためのモー
タドライバである。
Next, a control configuration for executing the recording control of the above-described apparatus will be described with reference to a block diagram shown in FIG. In the figure showing the control circuit, 170
Reference numeral 0 denotes an interface for inputting a print signal, 1701 denotes an MPU, 1702 denotes a program ROM for storing a control program executed by the MPU 1701, and 1703 stores various data (such as the print signal and print data supplied to the head). It is a dynamic ROM. 1
A gate array 704 controls supply of print data to the print head 1708.
00, data transfer control between the MPU 1701 and the RAM 1703 is also performed. Reference numeral 1710 denotes a carrier motor for transporting the recording head 1708, and reference numeral 1709 denotes a transport motor for transporting the recording paper. Reference numeral 1705 denotes a head driver for driving the head, and 1706 and 1707 denote transport motors 1 respectively.
709, a motor driver for driving the carrier motor 1710;

【0087】上記制御構成の動作を説明すると、インタ
ーフェース1700に記録信号が入るとゲートアレイ1
704とMPU1701との間で記録信号がプリント用
の記録データに変換される。そして、モータドライバ1
706、1707が駆動されると共に、ヘッドドライバ
1705に送られた記録データに従って記録ヘッドが駆
動され、印刷が行われる。
The operation of the above control configuration will be described. When a recording signal is input to the interface 1700, the gate array 1
The recording signal is converted into recording data for printing between the 704 and the MPU 1701. And the motor driver 1
The printheads 706 and 1707 are driven, and the printhead is driven according to the print data sent to the head driver 1705 to perform printing.

【0088】以上のようなインクジェットプリンタの制
御構成に、本発明の構成要素を組み込むことも可能であ
り、本発明はレーザビームプリンタに限らず、上記イン
クジェットプリンタ等にも適用できることは明らかであ
る。
The components of the present invention can be incorporated into the above-described control structure of the ink jet printer, and it is apparent that the present invention can be applied not only to the laser beam printer but also to the above ink jet printer and the like.

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

【0090】[0090]

【発明の効果】以上説明したように、本発明によるネッ
トワーク管理ソフトウェアを含むネットワークデバイス
制御装置及び方法は、ユーザからの操作により適当なS
NMPメッセージ(GetRequest, SetRequest, GetNextR
equest)を送信するSNMPメッセージ送信し、送信し
たSNMPメッセージに対するエージェントからのレス
ポンスとしてのSNMPメッセージ(GetResponse)を
受信し、受信したレスポンスがエラーかどうかを判断
し、受信したレスポンスがエラーである場合に、送信し
たSNMPメッセージに複数のオブジェクトが含まれて
いるかどうかを判断し、送信したメッセージに複数のオ
ブジェクトが含まれていると判断した場合、単一のオブ
ジェクトに分割し、分割された単一のオブジェクト毎
に、SNMPメッセージを生成し送信することにより、
エージェント側が要求された複数オブジェクト中の1つ
あるいは幾つかのオブジェクトに対して正常に処理でき
ない場合でも、少なくとも正常に処理が出来るオブジェ
クトに対しては正常に処理がおこなわれる。
As described above, the network device control apparatus and method including the network management software according to the present invention provide an appropriate S by user operation.
NMP message (GetRequest, SetRequest, GetNextR
equest), sends an SNMP message (GetResponse) as a response from the agent to the sent SNMP message, determines whether the received response is an error, and determines whether the received response is an error. It is determined whether the transmitted SNMP message includes a plurality of objects, and if it is determined that the transmitted message includes a plurality of objects, the message is divided into a single object, and the divided single By generating and sending an SNMP message for each object,
Even when the agent side cannot normally process one or several objects among the plurality of requested objects, the processing is normally performed at least on the objects that can be normally processed.

【0091】また、本発明によるネットワーク管理ソフ
トウェアを含むネットワークデバイス制御装置及び方法
は、ユーザからの操作により適当なSNMPメッセージ
(GetRequest, SetRequest, GetNextRequest)を送信す
るSNMPメッセージ送信し、送信したSNMPメッセ
ージに対するエージェントからのレスポンスとしてのS
NMPメッセージ(GetResponse)を受信し、受信した
レスポンスがエラーかどうかを判断し、受信したレスポ
ンスがエラーである場合に、受信したSNMPメッセー
ジに複数のオブジェクトが含まれているかどうかを判断
し、受信したメッセージに複数のオブジェクトが含まれ
ていると判断した場合、単一のオブジェクトに分割し、
分割された単一のオブジェクト毎に、SNMPメッセー
ジを生成し送信することにより、エージェント側が要求
された複数オブジェクト中の1つあるいは幾つかのオブ
ジェクトに対して正常に処理できない場合でも、少なく
とも正常に処理が出来るオブジェクトに対しては正常に
処理がおこなわれるようになる。
Further, the network device control apparatus and method including the network management software according to the present invention transmits an SNMP message for transmitting an appropriate SNMP message (GetRequest, SetRequest, GetNextRequest) according to a user operation, and responds to the transmitted SNMP message. S as response from agent
Receives an NMP message (GetResponse), determines whether the received response is an error, and if the received response is an error, determines whether the received SNMP message includes a plurality of objects and receives the received response. If we determine that a message contains multiple objects, we split it into a single object,
By generating and transmitting an SNMP message for each of the divided single objects, even if the agent side cannot normally process one or several objects among the plurality of requested objects, at least normally process the objects. The processing is normally performed for the object that can be used.

【0092】これにより、エージェント側で要求された
全オブジェクトの一部に対する処理が不可能な場合で
も、最低限処理可能なオブジェクトに対しては正常にデ
ータの取得および設定が可能となり、ネットワーク管理
ソフトウェアのデータ取得及び設定の効率が飛躍的に向
上する。
Thus, even when it is impossible to process a part of all the objects requested by the agent, data can be normally obtained and set for the objects which can be processed at least, and the network management software And the efficiency of data acquisition and setting is greatly improved.

【0093】[0093]

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

【図1】本発明によるネットワーク管理ソフトウェアが
1つのSNMPメッセージにより複数のオブジェクトに
対するデータの取得及び設定を要求した場合のフローチ
ャートである。
FIG. 1 is a flowchart when the network management software according to the present invention requests acquisition and setting of data for a plurality of objects by one SNMP message.

【図2】SNMPメッセージのPDUデータフォーマッ
ト(Trap-PDU以外)を示す図である。
FIG. 2 is a diagram showing a PDU data format (other than Trap-PDU) of an SNMP message.

【図3】本発明によるネットワーク管理ソフトウェアが
1つのSNMPメッセージにより複数のオブジェクトに
対するデータの設定を要求した場合のシーケンス図であ
る。
FIG. 3 is a sequence diagram in a case where the network management software according to the present invention requests data setting for a plurality of objects by one SNMP message.

【図4】マネージャが1つのSNMPメッセージによっ
て複数のオブジェクトに対するデータの設定を要求した
場合のシーケンス図である。
FIG. 4 is a sequence diagram when a manager requests data setting for a plurality of objects by one SNMP message.

【図5】マネージャが1つのSNMPメッセージによっ
て複数のオブジェクトに対するデータの設定を要求した
場合のシーケンス図(エージェントが一部のオブジェク
トへの情報の設定を受け付けない場合)である。
FIG. 5 is a sequence diagram when the manager requests data setting for a plurality of objects by one SNMP message (when the agent does not accept setting of information for some objects).

【図6】MIBの構造を示す概念図である。FIG. 6 is a conceptual diagram showing the structure of an MIB.

【図7】本発明によるネットワーク管理ソフトウェアが
稼動可能なPCの構成を示すブロック図である。
FIG. 7 is a block diagram showing a configuration of a PC on which network management software according to the present invention can operate.

【図8】本発明によるネットワーク管理ソフトウェアの
モジュール構成図である。
FIG. 8 is a module configuration diagram of network management software according to the present invention.

【図9】記憶媒体の一例であるCD−ROMのメモリマ
ップを示す図である。
FIG. 9 is a diagram showing a memory map of a CD-ROM as an example of a storage medium.

【図10】レーザービームプリンタを説明する図であ
る。
FIG. 10 is a diagram illustrating a laser beam printer.

【図11】インクジェットプリンタを説明する図であ
る。
FIG. 11 is a diagram illustrating an ink jet printer.

【図12】プリンタの制御を説明するブロック図であ
る。
FIG. 12 is a block diagram illustrating control of the printer.

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

700 ローカルエリアネットワーク(LAN) 701 ネットワーク管理ソフトウェアが稼動するPC 702 CPU 703 ROM 704 RAM 705 システムバス 706 キーボードコントローラ(KBC) 707 CRTコントローラ(CRTC) 708 ディスクコントローラ(DKC) 709 ネットワークインタフェースカード(NIC) 710 キーボード(KB) 711 CRTディスプレイ(CRT) 712 ハードディスク(HD) 713 フロッピーディスクドライブ(FD) 801 デバイスリストモジュール 802 全体制御モジュール 803 コンフィグレータ 804 探索モジュール 805 NetWareジョブモジュール 806 UIモジュールA 807 UIモジュールB 808 制御モジュールA 809 制御モジュールB 810 MIBハンドリングモジュール 811 SNMPプロトコルモジュール 812 共通トランスポートモジュール 813 IPXハンドラ 814 UDPハンドラ 815 コンフィグレータ603が用いる現在のプロト
コル 816 NetWare API 817 WinSock
700 Local area network (LAN) 701 PC on which network management software runs 702 CPU 703 ROM 704 RAM 705 System bus 706 Keyboard controller (KBC) 707 CRT controller (CRTC) 708 Disk controller (DKC) 709 Network interface card (NIC) 710 Keyboard (KB) 711 CRT display (CRT) 712 Hard disk (HD) 713 Floppy disk drive (FD) 801 Device list module 802 Overall control module 803 Configurator 804 Search module 805 NetWare job module 806 UI module A 807 UI module B 808 Control module A 809 control module B 810 MIB handling module 811 SNMP protocol module 812 Common transport module 813 IPX handler 814 UDP handler 815 Current protocol used by configurator 603 816 NetWare API 817 WinSock

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04L 29/06 H04L 13/00 305Z ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FI H04L 29/06 H04L 13/00 305Z

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 ユーザからの操作により適当なSNMP
メッセージを送信するSNMPメッセージ送信ステップ
と、 前記SNMPメッセージ送信ステップにおいて送信され
たSNMPメッセージに対するエージェントからのレス
ポンスとしてのSNMPメッセージを受信するSNMP
メッセージ受信ステップと、 前記SNMPメッセージ受信ステップにおいて受信した
SNMPメッセージが、エラーか否かを判断する受信メ
ッセージ解析ステップと、 前記受信メッセージ解析ステップにおいて受信したSN
MPメッセージがエラーである場合に、前記SNMPメ
ッセージ送信ステップにおいて送信したSNMPメッセ
ージに複数のオブジェクトが含まれているかどうかを判
断するオブジェクト数解析ステップと、 前記オブジェクト数解析ステップにおいて、送信したS
NMPメッセージに複数のオブジェクトが含まれている
と判断された場合、単一のオブジェクトに分割する単一
オブジェクト分割ステップと、 前記分割された単一のオブジェクト毎に、SNMPメッ
セージを生成し、送信するSNMPメッセージ分割送信
ステップと、 を備えることを特徴とするネットワークデバイス制御方
法。
1. Appropriate SNMP according to user's operation
An SNMP message transmitting step of transmitting a message; and an SNMP receiving an SNMP message as a response from an agent to the SNMP message transmitted in the SNMP message transmitting step.
A message receiving step, a received message analyzing step of determining whether or not the SNMP message received in the SNMP message receiving step is an error; and an SN receiving in the received message analyzing step.
When the MP message is an error, an object number analyzing step of determining whether or not the SNMP message transmitted in the SNMP message transmitting step includes a plurality of objects;
When it is determined that the NMP message includes a plurality of objects, a single object dividing step of dividing the object into a single object; and generating and transmitting an SNMP message for each of the divided single objects A method for controlling a network device, comprising: an SNMP message division transmission step.
【請求項2】 ユーザからの操作により適当なSNMP
メッセージを送信するSNMPメッセージ送信手段と、 前記SNMPメッセージ送信ステップにおいて送信され
たSNMPメッセージに対するエージェントからのレス
ポンスとしてのSNMPメッセージを受信するSNMP
メッセージ受信手段と、 前記SNMPメッセージ受信手段において受信したSN
MPメッセージがエラーかどうかを判断する受信メッセ
ージ解析手段と、 前記受信メッセージ解析手段において受信したSNMP
メッセージがエラーである場合に、前記SNMPメッセ
ージ送信手段において送信したSNMPメッセージに複
数のオブジェクトが含まれているかどうかを判断するオ
ブジェクト数解析手段と、 前記オブジェクト数解析手段において、送信したSNM
Pメッセージに複数のオブジェクトが含まれていると判
断された場合、単一のオブジェクトに分割する単一オブ
ジェクト分割ステップと、 前記分割された単一のオブジェクト毎に、SNMPメッ
セージを生成し、送信するSNMPメッセージ分割送信
手段と、 を備えることを特徴とするネットワークデバイス制御装
置。
2. An appropriate SNMP according to a user operation
SNMP message transmitting means for transmitting a message, and SNMP for receiving an SNMP message as a response from an agent to the SNMP message transmitted in the SNMP message transmitting step
Message receiving means; and the SN received by the SNMP message receiving means.
Received message analyzing means for determining whether the MP message is an error, and SNMP received by the received message analyzing means
When the message is an error, the object number analyzing means for determining whether or not the SNMP message transmitted by the SNMP message transmitting means includes a plurality of objects;
When it is determined that a plurality of objects are included in the P message, a single object dividing step of dividing the object into a single object; and generating and transmitting an SNMP message for each of the divided single objects A network device control apparatus, comprising: an SNMP message division transmitting unit.
【請求項3】 ユーザからの操作により適当なSNMP
メッセージを送信するSNMPメッセージ送信ステップ
と、 前記SNMPメッセージ送信ステップにおいて送信され
たSNMPメッセージに対するエージェントからのレス
ポンスとしてのSNMPメッセージを受信するSNMP
メッセージ受信ステップと、 前記SNMPメッセージ受信ステップにおいて受信した
SNMPメッセージが、エラーか否かを判断する受信メ
ッセージ解析ステップと、 前記受信メッセージ解析ステップにおいて受信したSN
MPメッセージがエラーである場合に、前記SNMPメ
ッセージ受信ステップにおいて受信したSNMPメッセ
ージに複数のオブジェクトが含まれているかどうかを判
断するオブジェクト数解析ステップと、 前記オブジェクト数解析ステップにおいて、受信したS
NMPメッセージに複数のオブジェクトが含まれている
と判断された場合、単一のオブジェクトに分割する単一
オブジェクト分割ステップと、 前記分割された単一のオブジェクト毎に、SNMPメッ
セージを生成し、送信するSNMPメッセージ分割送信
ステップと、 を備えることを特徴とするネットワークデバイス制御方
法。
3. An appropriate SNMP according to a user operation
An SNMP message transmitting step of transmitting a message; and an SNMP receiving an SNMP message as a response from an agent to the SNMP message transmitted in the SNMP message transmitting step.
A message receiving step, a received message analyzing step of determining whether or not the SNMP message received in the SNMP message receiving step is an error; and an SN receiving in the received message analyzing step.
When the MP message is an error, an object number analyzing step of determining whether or not the SNMP message received in the SNMP message receiving step includes a plurality of objects;
When it is determined that the NMP message includes a plurality of objects, a single object dividing step of dividing the object into a single object; and generating and transmitting an SNMP message for each of the divided single objects A method for controlling a network device, comprising: an SNMP message division transmission step.
【請求項4】 ユーザからの操作により適当なSNMP
メッセージを送信するSNMPメッセージ送信手段と、 前記SNMPメッセージ送信ステップにおいて送信され
たSNMPメッセージに対するエージェントからのレス
ポンスとしてのSNMPメッセージを受信するSNMP
メッセージ受信手段と、 前記SNMPメッセージ受信手段において受信したSN
MPメッセージがエラーかどうかを判断する受信メッセ
ージ解析手段と、 前記受信メッセージ解析手段において受信したSNMP
メッセージがエラーである場合に、前記SNMPメッセ
ージ受信手段において受信したSNMPメッセージに複
数のオブジェクトが含まれているかどうかを判断するオ
ブジェクト数解析手段と、 前記オブジェクト数解析手段において、送信したSNM
Pメッセージに複数のオブジェクトが含まれていると判
断された場合、単一のオブジェクトに分割する単一オブ
ジェクト分割ステップと、 前記分割された単一のオブジェクト毎に、SNMPメッ
セージを生成し、送信するSNMPメッセージ分割送信
手段と、 を備えることを特徴とするネットワークデバイス制御装
置。
4. An appropriate SNMP according to a user operation
SNMP message transmitting means for transmitting a message, and SNMP for receiving an SNMP message as a response from an agent to the SNMP message transmitted in the SNMP message transmitting step
Message receiving means; and the SN received by the SNMP message receiving means.
Received message analyzing means for determining whether the MP message is an error, and SNMP received by the received message analyzing means
When the message is an error, the object number analyzing means for determining whether or not a plurality of objects are included in the SNMP message received by the SNMP message receiving means;
When it is determined that a plurality of objects are included in the P message, a single object dividing step of dividing the object into a single object; and generating and transmitting an SNMP message for each of the divided single objects A network device control apparatus, comprising: an SNMP message division transmitting unit.
【請求項5】 前記ユーザからの操作による適当なSN
MPメッセージはGetRequest, SetRequest, GetNextReq
uestであることを特徴とする請求項1又は3記載のネッ
トワークデバイス制御方法。
5. An appropriate SN by an operation from the user
MP message is GetRequest, SetRequest, GetNextReq
4. The network device control method according to claim 1, wherein the network device is a uest.
【請求項6】 前記ユーザからの操作による適当なSN
MPメッセージはGetRequest, SetRequest, GetNextReq
uestであることを特徴とする請求項2又は4記載のネッ
トワークデバイス制御装置。
6. An appropriate SN by an operation from the user
MP message is GetRequest, SetRequest, GetNextReq
5. The network device control device according to claim 2, wherein the device is a uest.
【請求項7】 ユーザからの操作により適当なSNMP
メッセージを送信するSNMPメッセージ送信ステップ
と、 前記SNMPメッセージ送信ステップにおいて送信され
たSNMPメッセージに対するエージェントからのレス
ポンスとしてのSNMPメッセージを受信するSNMP
メッセージ受信ステップと、 前記SNMPメッセージ受信ステップにおいて受信した
SNMPメッセージが、エラーか否かを判断する受信メ
ッセージ解析ステップと、 前記受信メッセージ解析ステップにおいて受信したSN
MPメッセージがエラーである場合に、前記SNMPメ
ッセージ送信ステップにおいて送信したSNMPメッセ
ージに複数のオブジェクトが含まれているかどうかを判
断するオブジェクト数解析ステップと、 前記オブジェクト数解析ステップにおいて、送信したS
NMPメッセージに複数のオブジェクトが含まれている
と判断された場合、単一のオブジェクトに分割する単一
オブジェクト分割ステップと、 前記分割された単一のオブジェクト毎に、SNMPメッ
セージを生成し、送信するSNMPメッセージ分割送信
ステップと、 をコンピュータに実行させるためのプログラムを記録し
たことを特徴とする記録媒体。
7. An appropriate SNMP according to a user operation
An SNMP message transmitting step of transmitting a message; and an SNMP receiving an SNMP message as a response from an agent to the SNMP message transmitted in the SNMP message transmitting step.
A message receiving step, a received message analyzing step of determining whether or not the SNMP message received in the SNMP message receiving step is an error; and an SN receiving in the received message analyzing step.
When the MP message is an error, an object number analyzing step of determining whether or not the SNMP message transmitted in the SNMP message transmitting step includes a plurality of objects;
When it is determined that the NMP message includes a plurality of objects, a single object dividing step of dividing the object into a single object; and generating and transmitting an SNMP message for each of the divided single objects A recording medium on which is recorded a program for causing a computer to execute an SNMP message division transmission step.
【請求項8】 ユーザからの操作により適当なSNMP
メッセージを送信するSNMPメッセージ送信ステップ
と、 前記SNMPメッセージ送信ステップにおいて送信され
たSNMPメッセージに対するエージェントからのレス
ポンスとしてのSNMPメッセージを受信するSNMP
メッセージ受信ステップと、 前記SNMPメッセージ受信ステップにおいて受信した
SNMPメッセージが、エラーか否かを判断する受信メ
ッセージ解析ステップと、 前記受信メッセージ解析ステップにおいて受信したSN
MPメッセージがエラーである場合に、前記SNMPメ
ッセージ受信ステップにおいて受信したSNMPメッセ
ージに複数のオブジェクトが含まれているかどうかを判
断するオブジェクト数解析ステップと、 前記オブジェクト数解析ステップにおいて、受信したS
NMPメッセージに複数のオブジェクトが含まれている
と判断された場合、単一のオブジェクトに分割する単一
オブジェクト分割ステップと、 前記分割された単一のオブジェクト毎に、SNMPメッ
セージを生成し、送信するSNMPメッセージ分割送信
ステップと、 をコンピュータに実行させるためのプログラムを記録し
たことを特徴とする記録媒体。
8. An appropriate SNMP according to a user operation
An SNMP message transmitting step of transmitting a message; and an SNMP receiving an SNMP message as a response from an agent to the SNMP message transmitted in the SNMP message transmitting step.
A message receiving step, a received message analyzing step of determining whether or not the SNMP message received in the SNMP message receiving step is an error; and an SN receiving in the received message analyzing step.
When the MP message is an error, an object number analyzing step of determining whether or not the SNMP message received in the SNMP message receiving step includes a plurality of objects;
When it is determined that the NMP message includes a plurality of objects, a single object dividing step of dividing the object into a single object; and generating and transmitting an SNMP message for each of the divided single objects A recording medium on which is recorded a program for causing a computer to execute an SNMP message division transmission step.
JP10093542A 1998-04-06 1998-04-06 Network device control method/device using sump protocol and conatining network management software, and record medium Pending JPH11296457A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10093542A JPH11296457A (en) 1998-04-06 1998-04-06 Network device control method/device using sump protocol and conatining network management software, and record medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10093542A JPH11296457A (en) 1998-04-06 1998-04-06 Network device control method/device using sump protocol and conatining network management software, and record medium

Publications (1)

Publication Number Publication Date
JPH11296457A true JPH11296457A (en) 1999-10-29

Family

ID=14085170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10093542A Pending JPH11296457A (en) 1998-04-06 1998-04-06 Network device control method/device using sump protocol and conatining network management software, and record medium

Country Status (1)

Country Link
JP (1) JPH11296457A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7395325B2 (en) 2002-03-22 2008-07-01 Brother Kogyo Kabushiki Kaisha Network management system, apparatus to be managed, management apparatus and program
JP2013182305A (en) * 2012-02-29 2013-09-12 Brother Ind Ltd Management device
US11706354B2 (en) 2021-01-29 2023-07-18 Brother Kogyo Kabushiki Kaisha Information processing device, management program and management method for managing storage devices

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7395325B2 (en) 2002-03-22 2008-07-01 Brother Kogyo Kabushiki Kaisha Network management system, apparatus to be managed, management apparatus and program
JP2013182305A (en) * 2012-02-29 2013-09-12 Brother Ind Ltd Management device
US11706354B2 (en) 2021-01-29 2023-07-18 Brother Kogyo Kabushiki Kaisha Information processing device, management program and management method for managing storage devices

Similar Documents

Publication Publication Date Title
US6574662B2 (en) System for network-device management including collecting and storing of device attributes that change with time and device attributes that hardly change with time
US6430612B1 (en) Network device management apparatus and method, and storage medium
US7444394B2 (en) Network data base control device and method thereof
EP1059766B1 (en) Network device managing apparatus and method
US6286040B1 (en) User-friendly interface for setting expressions on an SNMP agent
JP4509916B2 (en) SNMP-based network management apparatus and method
EP0762281B1 (en) Network management with acquisition of formatted dump data from remote process
US8533920B2 (en) Method and apparatus for managing a network, network management program, and storage medium including a network management program stored thereon
JP2003108448A (en) Device, method, and program for controlling network device
JP2000347975A (en) Equipment management system, management server and computer readable recording medium
JP2008146410A (en) Network management system, information processor and method for controlling information processor
US20030090716A1 (en) Management information transmission apparatus, apparatus management apparatus, and apparatus management system
JP2000347976A (en) Equipment management system, management server and computer readable recording medium
JPH1074132A (en) Image forming method and its device
JP4942435B2 (en) Device information acquisition method and information processing device for acquiring information from device by SNMP message
JPH11296457A (en) Network device control method/device using sump protocol and conatining network management software, and record medium
JP2003006068A (en) Network device managing device, managing method and management program
JP2003015973A (en) Network device management device, management method and management program
JP2001331393A (en) Device and method for controlling network device
JP3977135B2 (en) Network device management system and control method thereof
JP2000357145A (en) Device and method for network device management
JP3619039B2 (en) Network device setting method and network management apparatus
US20010023444A1 (en) Information processing apparatus, information processing method and information processing program for transmitting data to external apparatus for communication of information on device
JP2002140242A (en) Device and method for network management, and storing medium
JP2007188298A (en) Snmp agent apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050811

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050826

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051025

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060110