Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7147264B2 - Device management system, device management apparatus, relay management apparatus, device management method, device management program, and relay management program - Google Patents
[go: Go Back, main page]

JP7147264B2 - Device management system, device management apparatus, relay management apparatus, device management method, device management program, and relay management program - Google Patents

Device management system, device management apparatus, relay management apparatus, device management method, device management program, and relay management program Download PDF

Info

Publication number
JP7147264B2
JP7147264B2 JP2018094794A JP2018094794A JP7147264B2 JP 7147264 B2 JP7147264 B2 JP 7147264B2 JP 2018094794 A JP2018094794 A JP 2018094794A JP 2018094794 A JP2018094794 A JP 2018094794A JP 7147264 B2 JP7147264 B2 JP 7147264B2
Authority
JP
Japan
Prior art keywords
network
management
identification information
processing request
management apparatus
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.)
Active
Application number
JP2018094794A
Other languages
Japanese (ja)
Other versions
JP2019061650A (en
Inventor
良輔 垣尾
雅人 井口
敏恵 今井
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to CN201811118209.2A priority Critical patent/CN109560958B/en
Priority to US16/140,969 priority patent/US10515033B2/en
Priority to EP18197105.2A priority patent/EP3462675B1/en
Publication of JP2019061650A publication Critical patent/JP2019061650A/en
Application granted granted Critical
Publication of JP7147264B2 publication Critical patent/JP7147264B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、デバイス管理システム、デバイス管理装置、中継管理装置、デバイス管理方法、デバイス管理プログラム、および中継管理プログラムに関する。 The present invention relates to a device management system, a device management apparatus, a relay management apparatus, a device management method, a device management program, and a relay management program.

管理PCと被管理PCとがネットワークを介して接続され、被管理PCにプリンターがローカル接続されたシステムにおいて、被管理PCがプリンターからプリンター情報を取得し、管理PCが被管理PCからプリンター情報を取得する構成が開示されている(特許文献1参照)。また、文献1のネットワークに、ネットワークプリンターが被管理PCを介さずに接続されている。 In a system in which a management PC and a managed PC are connected via a network, and a printer is locally connected to the managed PC, the managed PC obtains printer information from the printer, and the management PC obtains printer information from the managed PC. A configuration for acquiring is disclosed (see Patent Document 1). Also, a network printer is connected to the network of Document 1 without going through the managed PC.

特開2005‐128890号公報JP-A-2005-128890

しかしながら、従来は、被管理PCを介さずにネットワークに接続されているネットワークプリンターに関する管理と、被管理PCにローカル接続されているプリンターに関する管理とは、それぞれ別の制御(異なる通信プロトコルやコマンド等を用いた通信制御)の下で実行されていた。そのため、ネットワーク管理プロトコルの下で、ローカル接続されているデバイスから情報を取得したり、このローカル接続のデバイスに対して設定を行うといったデバイスの管理を、ネットワークに接続する管理装置から行うことが出来なかった。本発明は上述の課題に対して有用なデバイス管理システム、デバイス管理装置、中継管理装置、デバイス管理方法、デバイス管理プログラム、および中継管理プログラムを提供する。 However, conventionally, management of network printers connected to the network without going through the managed PC and management of printers locally connected to the managed PC are controlled separately (different communication protocols, commands, etc.). It was executed under communication control using Therefore, under the network management protocol, it is possible to manage devices, such as obtaining information from locally connected devices and configuring settings for locally connected devices, from a management device connected to the network. I didn't. The present invention provides a device management system, a device management apparatus, a relay management apparatus, a device management method, a device management program, and a relay management program useful for solving the above problems.

本発明の態様の1つは、デバイスを管理するデバイス管理装置と、複数の前記デバイスとローカル通信経路を介して接続する中継管理装置と、がネットワークを介して接続するデバイス管理システムであって、前記デバイス管理装置は、前記ネットワークに接続する管理対象を管理するための所定のネットワーク管理プロトコルに従った第1処理要求であって、前記中継管理装置と接続する前記デバイスを識別するデバイス識別情報を含んだ前記第1処理要求を、前記ネットワークを介して前記中継管理装置へ送信する第1ネットワーク通信部を備え、前記中継管理装置は、前記第1処理要求を、前記ネットワークを介して受信する第2ネットワーク通信部と、前記第1処理要求から前記デバイスが有する管理情報のうち処理対象の管理情報を識別する対象識別情報を取得し、当該対象識別情報を含んだ第2処理要求を生成する生成部と、前記第1処理要求に含まれている前記デバイス識別情報が示す前記デバイスへ前記ローカル通信経路を介して前記第2処理要求を送信するローカル通信部と、を備える。 One aspect of the present invention is a device management system in which a device management apparatus that manages devices and a relay management apparatus that connects a plurality of the devices via local communication paths are connected via a network, The device management apparatus is a first processing request according to a predetermined network management protocol for managing a management target connected to the network, and includes device identification information for identifying the device connected to the relay management apparatus. a first network communication unit configured to transmit the first processing request containing the first processing request to the relay management device via the network, wherein the relay management device receives the first processing request via the network; 2. A network communication unit, acquiring object identification information for identifying management information to be processed among the management information held by the device from the first process request, and generating a second process request including the object identification information. and a local communication unit that transmits the second processing request via the local communication path to the device indicated by the device identification information included in the first processing request.

システムの構成を簡易的に示す図。The figure which shows the structure of a system simply. デバイス事前探索処理を示すフローチャート。6 is a flowchart showing device pre-search processing; デバイス管理処理(デバイス管理方法)を示すフローチャート。4 is a flowchart showing device management processing (device management method); 第1実施例のSNMPパケットおよびUSBコマンドの構造を示す図。4A and 4B are diagrams showing structures of SNMP packets and USB commands in the first embodiment; FIG. 第2実施例のSNMPパケットおよびUSBコマンドの構造を示す図。FIG. 10 is a diagram showing structures of SNMP packets and USB commands in the second embodiment; 第3実施例のSNMPパケットおよびUSBコマンドの構造を示す図。FIG. 11 is a diagram showing structures of SNMP packets and USB commands in the third embodiment; ステップS300~S320についての変形例を示すフローチャート。4 is a flow chart showing a modification of steps S300 to S320;

以下、各図を参照しながら本発明の実施形態を説明する。なお各図は、本実施形態を説明するための例示に過ぎない。 Hereinafter, embodiments of the present invention will be described with reference to each drawing. Note that each drawing is merely an example for describing the present embodiment.

1.システムの概略説明:
図1は、本実施形態にかかるシステム1の構成を簡易的に示している。システム1の少なくとも一部は、デバイス管理システムに該当する。システム1は、デバイス管理装置10および中継管理装置20を含んでいる。デバイス管理装置10、中継管理装置20はそれぞれ、例えば、パーソナルコンピューター(PC)や、PCと同程度の処理能力を有する情報処理装置によって実現される。また、本実施形態の制御部11を実現可能なハードウェアをデバイス管理装置と呼び、本実施形態の制御部21を実現可能なハードウェアを中継管理装置と呼んでもよい。
1. Brief description of the system:
FIG. 1 simply shows the configuration of a system 1 according to this embodiment. At least part of the system 1 corresponds to a device management system. System 1 includes device management apparatus 10 and relay management apparatus 20 . The device management apparatus 10 and the relay management apparatus 20 are each realized by, for example, a personal computer (PC) or an information processing apparatus having a processing capability equivalent to that of the PC. Further, hardware capable of realizing the control unit 11 of this embodiment may be called a device management device, and hardware capable of realizing the control unit 21 of this embodiment may be called a relay management device.

デバイス管理装置10、中継管理装置20はそれぞれネットワーク60に接続しており、ネットワーク60を介して外部と通信可能である。ネットワーク60は、例えば、ローカルエリアネットワーク(LAN)やインターネットを含み得る。
デバイス30,40,50は、デバイス管理装置10による管理対象となる複数のデバイスである。デバイス30,40,50は、例えば、プリンター、スキャナー、プリンターやスキャナー等の複数の機能を併せ持った複合機、等である。
The device management apparatus 10 and relay management apparatus 20 are each connected to a network 60 and can communicate with the outside via the network 60 . Network 60 may include, for example, a local area network (LAN) or the Internet.
Devices 30 , 40 and 50 are a plurality of devices to be managed by the device management apparatus 10 . The devices 30, 40, and 50 are, for example, printers, scanners, and multi-function machines having multiple functions such as printers and scanners.

図1の例では、デバイス30は、ネットワーク60に接続している。そのため、デバイス30は、デバイス管理装置10により管理されるネットワークデバイスに該当する。一方、デバイス40,50は、それぞれローカル通信経路70を介して中継管理装置20にローカル接続している。ローカル通信経路70は、例えば、USB(Universal Serial Bus)の通信規格に対応したUSBケーブルである。このようなデバイス40,50を、ローカル接続デバイスとも呼ぶ。ただし、デバイス40,50は、ローカル通信経路70を介して中継管理装置20に接続していることを理由にローカル接続デバイスと呼ばれるのであって、仮にデバイス30のようにネットワーク60に接続していれば、デバイス30と同様に、ネットワークデバイスとして機能する。言うまでもなく、ネットワークデバイス、ローカル接続デバイスの台数は、図1に示した通りである必要はない。また、デバイス管理装置10が認識する中継管理装置20の台数も1台に限られない。ローカル接続デバイスとネットワークデバイスとを区別するために、ローカル接続デバイスを第1のデバイスと表記し、ネットワークデバイスを第2のデバイスと表記してもよい。 In the example of FIG. 1, device 30 is connected to network 60 . Therefore, the device 30 corresponds to a network device managed by the device management apparatus 10. FIG. On the other hand, devices 40 and 50 are locally connected to relay management apparatus 20 via local communication paths 70, respectively. The local communication path 70 is, for example, a USB cable conforming to the USB (Universal Serial Bus) communication standard. Such devices 40 and 50 are also called locally connected devices. However, the devices 40 and 50 are called locally connected devices because they are connected to the relay management apparatus 20 via the local communication path 70, and even if they are connected to the network 60 like the device 30, For example, like the device 30, it functions as a network device. Needless to say, the number of network devices and locally connected devices need not be as shown in FIG. Also, the number of relay management apparatuses 20 recognized by the device management apparatus 10 is not limited to one. To distinguish between locally attached devices and network devices, the locally attached device may be referred to as the first device and the network device may be referred to as the second device.

デバイス管理装置10は、例えば、制御部11、表示部17、操作受付部18、ネットワーク(NW)通信インターフェイス(IF)19等を備える。制御部11は、CPU11a、ROM11b、RAM11c等を有する1つ又は複数のICや、その他のメモリーやハードディスクドライブ(HDD)といった記憶媒体等を適宜含んで構成される。制御部11では、CPU11aが、ROM11b等に保存されたプログラムに従った演算処理を、RAM11c等をワークエリアとして用いて実行することにより、デバイス管理装置10の挙動を制御する。制御部11はプログラムP1を搭載しており、プログラムP1に従って、探索部12、デバイス選択部13、第1処理要求生成部14、NW通信制御部15等といった各機能を実現する。プログラムP1を、ネットワーク60を介してデバイスを管理する処理をコンピューター(例えば、CPU11a)に実行させるデバイス管理プログラムと呼ぶことができる。 The device management apparatus 10 includes, for example, a control unit 11, a display unit 17, an operation reception unit 18, a network (NW) communication interface (IF) 19, and the like. The control unit 11 includes one or a plurality of ICs having a CPU 11a, a ROM 11b, a RAM 11c, etc., and other storage media such as memories and hard disk drives (HDD) as appropriate. In the control unit 11, the CPU 11a controls behavior of the device management apparatus 10 by executing arithmetic processing according to programs stored in the ROM 11b or the like using the RAM 11c or the like as a work area. The control unit 11 is loaded with a program P1, and implements functions such as a search unit 12, a device selection unit 13, a first processing request generation unit 14, a NW communication control unit 15, etc. according to the program P1. The program P1 can be called a device management program that causes a computer (for example, the CPU 11a) to execute processing for managing devices via the network 60. FIG.

NW通信IF19は、所定の通信規格(TCP/IP(Transmission Control Protocol/Internet Protocol)、UDP(User Datagram Protocol)等)に準拠して制御部11がネットワーク60を介して外部と通信を実行するためのIFの総称である。表示部17は、視覚的情報を表示するための手段であり、例えば、液晶ディスプレイ(LCD)や、有機ELディスプレイ等により構成される。表示部17は、ディスプレイと、当該ディスプレイを駆動するための駆動回路とを含む構成であってもよい。操作受付部18は、ユーザーによる操作を受け付けるための手段であり、例えば、物理的なボタンや、タッチパネルや、マウスや、キーボード等によって実現される。むろん、タッチパネルは、表示部17の一機能として実現されるとしてもよい。また、表示部17および操作受付部18を含めて操作パネル等と呼ぶことができる。 The NW communication IF 19 is used by the control unit 11 to communicate with the outside via the network 60 in compliance with predetermined communication standards (TCP/IP (Transmission Control Protocol/Internet Protocol), UDP (User Datagram Protocol), etc.). is a generic term for IF. The display unit 17 is means for displaying visual information, and is configured by, for example, a liquid crystal display (LCD), an organic EL display, or the like. The display unit 17 may be configured to include a display and a drive circuit for driving the display. The operation accepting unit 18 is means for accepting user operations, and is implemented by, for example, physical buttons, a touch panel, a mouse, a keyboard, and the like. Of course, the touch panel may be implemented as one function of the display unit 17 . Also, the display unit 17 and the operation reception unit 18 can be collectively referred to as an operation panel or the like.

中継管理装置20は、例えば、制御部21、NW通信IF24、ローカル通信IF25等を備える。制御部21は、CPU21a、ROM21b、RAM21c等を有する1つ又は複数のICや、その他のメモリーやHDDといった記憶媒体等を適宜含んで構成される。制御部21では、CPU21aが、ROM21b等に保存されたプログラムに従った演算処理を、RAM21c等をワークエリアとして用いて実行することにより、中継管理装置20の挙動を制御する。制御部21はプログラムP2を搭載しており、プログラムP2に従って、第2処理要求生成部22、通信制御部23等といった各機能を実現する。プログラムP2を、複数のデバイスとローカル通信経路70を介して接続するコンピューター(例えば、CPU21a)にデバイスの管理のための通信を中継する処理を実行させる中継管理プログラムと呼ぶことができる。 The relay management device 20 includes, for example, a control unit 21, a NW communication IF 24, a local communication IF 25, and the like. The control unit 21 includes one or a plurality of ICs having a CPU 21a, a ROM 21b, a RAM 21c, etc., and other storage media such as memories and HDDs as appropriate. In the control unit 21, the CPU 21a controls the behavior of the relay management device 20 by executing arithmetic processing according to programs stored in the ROM 21b or the like using the RAM 21c or the like as a work area. The control unit 21 is loaded with the program P2, and realizes each function such as the second processing request generation unit 22, the communication control unit 23, etc. according to the program P2. The program P2 can be called a relay management program that causes a computer (for example, the CPU 21a) connected to a plurality of devices via the local communication path 70 to execute a process of relaying communication for managing the devices.

NW通信IF24は、NW通信IF19と同様に所定の通信規格に準拠して制御部21がネットワーク60を介して外部と通信を実行するためのIFの総称である。ローカル通信IF25は、1台以上のデバイスを中継管理装置20にローカル接続するためのIFであり、上述したようにローカル通信経路70がUSBケーブルであれば、ローカル通信IF25は、このようなケーブルと接続するためのUSBポートを含んでいる。言うまでもなく、中継管理装置20も、デバイス管理装置10と同様に操作パネル等を備え得る。また、通信制御部23は、ローカル接続デバイスをそれぞれ接続する複数のローカル通信経路70を、接続番号Nにより識別して管理するように構成されている。接続番号Nは、ローカル接続デバイスが接続する複数のローカル通信経路70に対して所定の番号(例えば、N=0)から順番に割り当てられた情報であり、接続識別情報の具体例である。 The NW communication IF 24 is a general term for IFs for the control unit 21 to communicate with the outside via the network 60 in compliance with a predetermined communication standard, like the NW communication IF 19 . The local communication IF 25 is an IF for locally connecting one or more devices to the relay management device 20. If the local communication path 70 is a USB cable as described above, the local communication IF 25 can be used with such a cable. Includes a USB port for connectivity. Needless to say, the relay management device 20 can also have an operation panel and the like, like the device management device 10 . Further, the communication control unit 23 is configured to identify and manage a plurality of local communication paths 70 that connect the locally connected devices by the connection number N. As shown in FIG. The connection number N is information assigned in order from a predetermined number (for example, N=0) to the plurality of local communication paths 70 to which the local connection device connects, and is a specific example of connection identification information.

デバイス管理装置10は、ネットワーク60に接続する管理対象を管理するための所定のネットワーク管理プロトコルにより、それら管理対象を管理する。所定のネットワーク管理プロトコルとは、シンプルネットワークマネジメントプロトコル(SNMP:Simple Network Management Protocol)である。従って本実施形態は、デバイス30,40,50は、SNMPに対応する機器であることを前提に説明を行う。SNMPによる管理対象の管理とは、SNMPマネージャーがSNMPエージェントに、管理対象に関する情報(管理情報)を要求して取得する処理や、SNMPマネージャーからSNMPエージェントに、管理情報の設定変更を要求して設定変更を実行させる処理等を指す。管理対象の機器は、自身に関するMIB(Management Information Base)と呼ばれる管理情報のデータベースを有している。ここで、ネットワーク60で繋がったデバイス管理装置10とデバイス30(ネットワークデバイス)との関係においては、デバイス管理装置10(プログラムP1)がSNMPマネージャー、デバイス30(ネットワークデバイス)に常駐するアプリケーションがSNMPエージェントに該当する。そして、デバイス管理装置10からのSNMPに従った処理要求に応じて、SNMPエージェントがデバイス30(ネットワークデバイス)のMIB内の情報を取得してデバイス管理装置10へ返したり、MIBへの情報の書き込みを実行したりする。つまり、デバイス管理装置10の第1ネットワーク通信部は、SNMPに従った処理要求を、ネットワーク60を介してネットワークデバイスへ送信し、処理要求に対するネットワークデバイスからの応答を、ネットワーク60を介して受信する。 The device management apparatus 10 manages managed objects connected to the network 60 according to a predetermined network management protocol for managing those managed objects. The predetermined network management protocol is Simple Network Management Protocol (SNMP). Therefore, this embodiment will be described on the premise that the devices 30, 40, and 50 are devices that support SNMP. The management of managed objects by SNMP includes the process of the SNMP manager requesting and acquiring information (management information) about the managed objects from the SNMP agent, and the SNMP manager requesting the SNMP agent to change the settings of the management information. Refers to the processing, etc., that causes the change to be executed. A device to be managed has a management information database called MIB (Management Information Base) relating to itself. Here, regarding the relationship between the device management apparatus 10 and the device 30 (network device) connected by the network 60, the device management apparatus 10 (program P1) is the SNMP manager, and the application resident in the device 30 (network device) is the SNMP agent. correspond to Then, in response to a processing request according to SNMP from the device management apparatus 10, the SNMP agent acquires information in the MIB of the device 30 (network device) and returns it to the device management apparatus 10, or writes information to the MIB. to run. That is, the first network communication unit of the device management apparatus 10 transmits a processing request according to SNMP to the network device via the network 60, and receives a response from the network device to the processing request via the network 60. .

このような、SNMPマネージャーによるデバイス30のようなネットワークデバイスに関する管理、監視は、SNMPを用いた一般的な処理である。これに加えて、本実施形態では、デバイス管理装置10は、デバイス40,50がローカル接続されている一方でネットワーク60にも接続している中継管理装置20(プログラムP2)を一種のSNMPエージェントに見立て、SNMPに従った中継管理装置20との通信を介してローカル接続デバイス(デバイス40,50)の管理も実行するようにした。 Such management and monitoring of network devices such as the device 30 by the SNMP manager is general processing using SNMP. In addition to this, in this embodiment, the device management apparatus 10 treats the relay management apparatus 20 (program P2), to which the devices 40 and 50 are locally connected and also connected to the network 60, as a kind of SNMP agent. In other words, management of locally connected devices (devices 40 and 50) is also executed through communication with the relay management device 20 according to SNMP.

2.デバイス事前探索処理:
図2は、デバイス管理装置10によりデバイス管理に先立って実行されるデバイスの事前探索処理をフローチャートにより示している。図2では、デバイス管理装置10側の処理と中継管理装置20側の処理とを併記している。
先ず、デバイス管理装置10側では、制御部11(探索部12)が、通信先とする中継管理装置20を指定してPINGを送信する(ステップS100)。つまり、探索部12は、事前に取得した相手先(中継管理装置20のIPアドレス等)に向けて、NW通信IF19から特定のエコーコマンド(PING)を送信させる。
2. Device pre-discovery processing:
FIG. 2 is a flow chart showing device pre-search processing executed by the device management apparatus 10 prior to device management. In FIG. 2, processing on the side of the device management apparatus 10 and processing on the side of the relay management apparatus 20 are shown together.
First, on the side of the device management apparatus 10, the control unit 11 (search unit 12) designates the relay management apparatus 20 as a communication destination and transmits PING (step S100). In other words, the searching unit 12 causes the NW communication IF 19 to transmit a specific echo command (PING) to the destination (the IP address of the relay management device 20 or the like) acquired in advance.

中継管理装置20側では、制御部21が、デバイス管理装置10から送信されたPINGを、NW通信IF24を介して受信すると(ステップS200)、当該受信したPINGへの応答を行う(ステップS210)。つまり、制御部21は、受信したPINGを、NW通信IF24を介して、当該PINGの送信元のデバイス管理装置10へ送信する。 On the relay management apparatus 20 side, when the control unit 21 receives the PING transmitted from the device management apparatus 10 via the NW communication IF 24 (step S200), it responds to the received PING (step S210). That is, the control unit 21 transmits the received PING to the device management apparatus 10 that is the source of the PING via the NW communication IF 24 .

デバイス管理装置10側では、探索部12が、ステップS100で送信したPINGへの中継管理装置20からの応答を受信する(ステップS110)。このようにPINGへの応答を受信できたとき、探索部12は、中継管理装置20とネットワーク60を介して通信可能であることを確認し、ステップS120へ進む。仮に、ステップS100で送信したPINGへの中継管理装置20からの応答を(例えば、タイムアウトにより)受信できなかった場合には、探索部12は、ステップS120以下の処理を実行することなく図2の処理を終了する。以下、図2の説明においては、ステップS100,S110の処理により、ネットワーク60を介して通信可能であることを確認した中継管理装置20を、対象中継管理装置20とも呼ぶ。 On the side of the device management apparatus 10, the search unit 12 receives the response from the relay management apparatus 20 to the PING transmitted in step S100 (step S110). When the response to PING is received in this way, the search unit 12 confirms that communication with the relay management device 20 is possible via the network 60, and proceeds to step S120. If the response to the PING transmitted in step S100 cannot be received from the relay management device 20 (for example, due to timeout), the searching unit 12 performs the processing in FIG. End the process. Hereinafter, in the description of FIG. 2, the relay management device 20 that has been confirmed to be able to communicate via the network 60 by the processing of steps S100 and S110 is also called the target relay management device 20. FIG.

ステップS120では、探索部12は、対象中継管理装置20にローカル接続されているデバイスを探索する際の番号(接続番号N)を初期化する。つまり、接続番号N=0とする。
ステップS130では、探索部12は、接続番号Nのデバイスを探索するための所定の探索パケットをNW通信IF19から対象中継管理装置20へ送信する。探索パケットとは、デバイスの基本的な情報(製造番号(シリアルナンバー)、機種名、対応するSNMPのバージョン、その他MACアドレスやIPアドレス等の識別情報、等のデバイス基本情報)を要求するコマンドである。各図では、デバイスのシリアルナンバーを「SN」と略して記載している。
In step S<b>120 , the search unit 12 initializes the number (connection number N) used when searching for devices locally connected to the target relay management device 20 . That is, the connection number N=0.
In step S<b>130 , search unit 12 transmits a predetermined search packet for searching for a device with connection number N from NW communication IF 19 to target relay management device 20 . A search packet is a command that requests basic device information (manufacturing number (serial number), model name, corresponding SNMP version, other identification information such as MAC address and IP address, etc.). be. In each figure, the serial number of the device is abbreviated as "SN".

中継管理装置20側では、制御部21が、デバイス管理装置10から送信された探索パケットを、NW通信IF24を介して受信すると(ステップS220)、当該受信した探索パケットへの応答(探索応答)を行う(ステップS230)。具体的には、制御部21は、探索パケットを受信すると、ローカル通信IF25を介して認識しているデバイス(例えば、デバイス40,50)のうち、現時点でデバイス基本情報を探索パケットへの応答として未送信である1台のデバイスに関するデバイス基本情報を、ステップS220で受信した探索パケットへの応答として、NW通信IF24を介して、デバイス管理装置10へ送信する。つまり、制御部21は、ステップS230では、ローカル通信IF25に接続されているローカル通信経路70のうち、ステップS220で受信した探索パケットにより指定されている接続番号Nで識別するローカル通信経路70に接続するデバイスのデバイス基本情報を、探索パケットへの応答として送信する。 On the relay management apparatus 20 side, when the control unit 21 receives the search packet transmitted from the device management apparatus 10 via the NW communication IF 24 (step S220), it sends a response (search response) to the received search packet. (step S230). Specifically, when the control unit 21 receives the search packet, among the devices (for example, the devices 40 and 50) recognized via the local communication IF 25, the device basic information at the present time is sent as a response to the search packet. Device basic information about one device that has not yet been transmitted is transmitted to the device management apparatus 10 via the NW communication IF 24 as a response to the search packet received in step S220. That is, in step S230, the control unit 21 connects to the local communication path 70 identified by the connection number N specified by the search packet received in step S220, among the local communication paths 70 connected to the local communication IF 25. device basic information for the device to be sent as a response to the probe packet.

図2から判るように、ステップS130が繰り返される度に、対象中継管理装置20側ではステップS220,S230を実行する。なお、制御部21は、ステップS220で探索パケットを受信したとき、現時点でデバイス基本情報を探索パケットへの応答として未送信であるローカル接続のデバイスが無い場合には、探索応答(ステップS230)を実行しないか、あるいは所定のエラー通知を探索応答として送信する(ステップS230)。 As can be seen from FIG. 2, each time step S130 is repeated, steps S220 and S230 are executed on the target relay management device 20 side. Note that when the control unit 21 receives the search packet in step S220, if there is no locally connected device that has not yet transmitted device basic information as a response to the search packet at this time, the control unit 21 sends a search response (step S230). Either it is not executed, or a predetermined error notification is sent as a search response (step S230).

デバイス管理装置10側では、探索部12は、ステップS130で接続番号Nの探索パケットを対象中継管理装置20へ送信した後、当該接続番号Nの探索パケットへの応答(エラー通知ではない正常な応答)を、NW通信IF19を介して受信できたか否かを継続的に判定する(ステップS140)。そして、例えば、ステップS130の後の所定時間内に(つまり、タイムアウトにならずに)、接続番号Nの探索パケットへの正常な応答を受信できた場合に(ステップS140において“Yes”)、ステップS150へ進む。一方、探索部12は、ステップS130で接続番号Nの探索パケットを対象中継管理装置20へ送信した後、対象中継管理装置20からエラー通知を受信したり、当該接続番号Nの探索パケットへの応答(エラー通知ではない正常な応答)をタイムアウトになるまでに受信できなかった場合に(ステップS140において“No”)、図2の処理を終了する。 On the device management apparatus 10 side, after transmitting the search packet with the connection number N to the target relay management apparatus 20 in step S130, the search unit 12 responds to the search packet with the connection number N (a normal response that is not an error notification). ) has been received via the NW communication IF 19 (step S140). Then, for example, if a normal response to the search packet of the connection number N can be received within a predetermined time after step S130 (that is, without timeout) ("Yes" in step S140), step Proceed to S150. On the other hand, after transmitting the search packet with the connection number N to the target relay management device 20 in step S130, the search unit 12 receives an error notification from the target relay management device 20 or responds to the search packet with the connection number N. If a (normal response that is not an error notification) has not been received by the timeout ("No" in step S140), the process of FIG. 2 ends.

ステップS150では、探索部12は、ステップS140で受信できたと判定した接続番号Nの探索パケットへの応答の内容を記憶する。つまり、対象中継管理装置20にローカル接続されている1台のデバイスのデバイス基本情報を、対象中継管理装置20に対応付けて所定の記憶部(制御部11が有する、例えば、RAM11cや、その他のメモリーや、HDD)に記憶させる。ステップS150の後のステップS160では、探索部12は、現在の接続番号Nに「1」を加算した上で、ステップS130以降の処理を繰り返す。 In step S150, the search unit 12 stores the content of the response to the search packet of the connection number N determined to have been received in step S140. That is, the device basic information of one device locally connected to the target relay management device 20 is associated with the target relay management device 20, and stored in a predetermined storage unit (such as the RAM 11c of the control unit 11, or other storage unit). memory or HDD). In step S160 after step S150, the search unit 12 adds "1" to the current connection number N, and then repeats the processes after step S130.

このような事前探索処理の説明によれば、中継管理装置20は、複数のローカル通信経路70を接続識別情報により識別する。デバイス管理装置10は、接続識別情報の指定を含む要求つまり探索パケットを、ネットワーク60を介して中継管理装置20へ送信し、指定した接続識別情報に対応するローカル通信経路70に接続するデバイスのデバイス基本情報を、ネットワーク60を介して中継管理装置20から受信する。これにより、デバイス管理装置10は、ネットワーク60を介して通信可能な中継管理装置20にローカル接続されているデバイス(例えば、デバイス40,50)1台毎のシリアルナンバー等のデバイス基本情報を取得し、記憶することができる。むろん、ネットワーク60に中継管理装置20が複数接続されていれば、デバイス管理装置10は、このような事前探索処理を中継管理装置20毎に実行し、各中継管理装置20にローカル接続されている各デバイスのデバイス基本情報を得る。また、デバイス管理装置10は、図2に示した事前探索処理とは別に、ネットワーク60上に、SNMPに従った探索パケットをブロードキャストし、当該ブロードキャストした探索パケットを受信したネットワークデバイスからの応答を受信することにより、ネットワーク60に接続している各ネットワークデバイス(例えば、デバイス30)のデバイス基本情報も取得し、記憶することができる。 According to the description of such pre-search processing, the relay management device 20 identifies the plurality of local communication paths 70 by the connection identification information. The device management apparatus 10 transmits a request, that is, a search packet including the designation of the connection identification information to the relay management apparatus 20 via the network 60, and the device of the device connected to the local communication path 70 corresponding to the designated connection identification information. Basic information is received from relay management device 20 via network 60 . As a result, the device management apparatus 10 acquires device basic information such as the serial number of each device (for example, the devices 40 and 50) locally connected to the relay management apparatus 20 that can communicate via the network 60. , can be stored. Of course, if a plurality of relay management apparatuses 20 are connected to the network 60, the device management apparatus 10 executes such pre-search processing for each relay management apparatus 20 and is locally connected to each relay management apparatus 20. Get basic device information for each device. In addition to the preliminary search processing shown in FIG. 2, the device management apparatus 10 broadcasts a search packet according to SNMP on the network 60, and receives a response from the network device that received the broadcast search packet. By doing so, the basic device information of each network device (for example, the device 30) connected to the network 60 can also be acquired and stored.

3.デバイス管理処理:
図3は、デバイス管理処理をフローチャートにより示している。図3では、デバイス管理装置10側、中継管理装置20側および中継管理装置20にローカル接続されたデバイス(ローカル接続デバイス)側、それぞれの処理を併記している。
デバイス管理装置10側では、制御部11(デバイス選択部13)が、管理処理の対象とするデバイスを、デバイス基本情報を記憶済みのデバイスの中から選択する(ステップS300)。デバイスの選択方法は種々考えられるが、例えば、デバイス選択部13は、デバイス基本情報を記憶済みの各デバイスを、所定時間間隔毎に自動的に1台ずつ管理処理の対象として選択してもよい。
3. Device management processing:
FIG. 3 shows the device management processing by means of a flowchart. FIG. 3 also shows the processing on the side of the device management apparatus 10, the side of the relay management apparatus 20, and the side of devices locally connected to the relay management apparatus 20 (locally connected devices).
On the side of the device management apparatus 10, the control unit 11 (device selection unit 13) selects a device to be a target of management processing from among the devices whose basic device information has already been stored (step S300). Various device selection methods are conceivable. For example, the device selection unit 13 may automatically select each device whose basic device information is stored one by one at predetermined time intervals as a target of management processing. .

あるいは、デバイス選択部13は、ユーザーの操作に従って、デバイスを選択してもよい。この場合、デバイス選択部13は、デバイス管理装置10が記憶しているデバイス毎のデバイス基本情報に基づいて、デバイスリストを表示部17に表示させる。デバイスリストは、例えば、デバイス毎の機種名や識別情報(シリアルナンバー、MACアドレス、IPアドレス等)といった情報を列挙することで管理処理の対象とし得るデバイスの一覧をユーザーに提示するものである。ユーザーは、表示部17に表示されたデバイスリストの中から、操作受付部18を操作することにより任意にデバイスを選択することができる。デバイス選択部13は、このようなユーザーによる操作に従って、デバイスを選択する(ユーザーによるデバイスの選択を受け入れる)。 Alternatively, the device selection unit 13 may select a device according to user's operation. In this case, the device selection unit 13 causes the display unit 17 to display the device list based on the device basic information for each device stored in the device management apparatus 10 . The device list presents the user with a list of devices that can be managed, for example, by listing information such as the model name and identification information (serial number, MAC address, IP address, etc.) of each device. The user can arbitrarily select a device from the device list displayed on the display section 17 by operating the operation reception section 18 . The device selection unit 13 selects a device (accepts selection of a device by the user) according to such user's operation.

ステップS310では、制御部11(第1処理要求生成部14)が、ステップS300で選択されたデバイス(以下、選択デバイス)のシリアルナンバーを含んだ通信パケット(SNMPパケット)を生成する。シリアルナンバーは、デバイスを識別するデバイス識別情報の一例である。ステップS310で生成するSNMPパケットは、所定のネットワーク管理プロトコル(SNMP)に従った第1処理要求であって中継管理装置20と接続するデバイスを識別するデバイス識別情報を含んだ第1処理要求、に該当する。 In step S310, the control unit 11 (first processing request generation unit 14) generates a communication packet (SNMP packet) containing the serial number of the device selected in step S300 (hereinafter, selected device). A serial number is an example of device identification information that identifies a device. The SNMP packet generated in step S310 is a first processing request conforming to a predetermined network management protocol (SNMP) and containing device identification information for identifying a device connected to relay management device 20. Applicable.

ステップS320では、制御部11(NW通信制御部15)が、ステップS310で生成されたSNMPパケットを、NW通信IF19から、選択デバイスがローカル接続されている中継管理装置20へ送信させる(第1処理要求送信工程)。NW通信IF19は、第1ネットワーク通信部に対応する。 In step S320, the control unit 11 (NW communication control unit 15) causes the SNMP packet generated in step S310 to be transmitted from the NW communication IF 19 to the relay management device 20 to which the selected device is locally connected (first process request transmission step). The NW communication IF 19 corresponds to the first network communication section.

中継管理装置20側では、制御部21(通信制御部23)が、NW通信IF24を介して、上述のようにデバイス管理装置10から送信されたSNMPパケットを受信する(ステップS400、第1処理要求受信工程)。NW通信IF24は、第2ネットワーク通信部に対応する。 On the relay management device 20 side, the control unit 21 (communication control unit 23) receives the SNMP packet transmitted from the device management device 10 as described above via the NW communication IF 24 (step S400, first processing request receiving process). The NW communication IF 24 corresponds to the second network communication section.

ステップS410では、制御部21は、ステップS400で受信したSNMPパケットに含まれているシリアルナンバーに対応するデバイス(選択デバイス)が、現在、ローカル通信IF25を介して自身(中継管理装置20)と通信可能に接続していることを確認した上で、ステップS420に進む。仮に、ステップS400で受信したSNMPコマンドに含まれているシリアルナンバーに対応するデバイス(選択デバイス)が、現在、ローカル通信IF25を介して通信可能に接続していない場合は、制御部21は、ステップS420以下の処理を実行することなく図3の処理を終了する。この場合は、後述するステップS460(中継管理装置20からデバイス管理装置10へのSNMPパケットの送信)は実行されない。 In step S410, control unit 21 determines that the device (selected device) corresponding to the serial number included in the SNMP packet received in step S400 is currently communicating with itself (relay management device 20) via local communication IF 25. After confirming that the connection is possible, the process proceeds to step S420. If the device (selected device) corresponding to the serial number included in the SNMP command received in step S400 is not currently communicably connected via the local communication IF 25, the control unit 21 performs step The process of FIG. 3 is ended without executing the process after S420. In this case, step S460 (transmitting an SNMP packet from the relay management apparatus 20 to the device management apparatus 10), which will be described later, is not executed.

ステップS420では、制御部21(第2処理要求生成部22)が、ステップS400で受信されたSNMPパケットに基づいて、選択デバイスへの処理要求(第2処理要求)としてのUSBコマンドを生成する(第2処理要求生成工程)。 In step S420, the control unit 21 (second processing request generation unit 22) generates a USB command as a processing request (second processing request) to the selected device based on the SNMP packet received in step S400 ( second process request generating step).

図4は、SNMPパケットおよびUSBコマンドそれぞれの構造例を示している。
図4に示す内容を、本実施形態における第1実施例とも呼ぶ。
SNMPパケット80は、ステップS320でデバイス管理装置10から中継管理装置20へネットワーク60を介して送信されたSNMPパケットであり、ここでは、SNMPのバージョンSNMPv1,SNMPv2に対応するフォーマットのパケットとしている。SNMPパケット80は、SNMPパケット80が対応するSNMPのバージョンが記載されるバージョン領域81、MIBへのアクセス制限に用いられるコミュニティ名が記載されるコミュニティ領域82、およびデータ(SNMP PDU(Protocol Data Unit))領域83を有している。
FIG. 4 shows structural examples of SNMP packets and USB commands, respectively.
The content shown in FIG. 4 is also called a first example in this embodiment.
The SNMP packet 80 is an SNMP packet transmitted from the device management apparatus 10 to the relay management apparatus 20 via the network 60 in step S320, and is a packet in a format corresponding to SNMP versions SNMPv1 and SNMPv2. The SNMP packet 80 includes a version area 81 describing the version of SNMP to which the SNMP packet 80 corresponds, a community area 82 describing a community name used for limiting access to the MIB, and data (SNMP PDU (Protocol Data Unit) ) region 83 .

領域83は、より詳細には、PDUタイプ(SNMPコマンドのタイプ)領域84、リクエストID領域85、エラーステータス領域86、エラーインデックス領域87、変数(Variable)バインディング領域88を含んで構成されている。変数バインディング領域88は、デバイスのMIBに格納されている管理情報(オブジェクト)を識別するためのOID(Object Identifier)と、OIDに対応するオブジェクトの値(Value)との組み合わせを記載するための複数の領域88‐1,88‐2…に分かれている。変数バインディング領域88に格納されているOIDは、デバイスが有する管理情報のうち処理対象の管理情報を識別する対象識別情報に該当する。 More specifically, the area 83 includes a PDU type (SNMP command type) area 84 , a request ID area 85 , an error status area 86 , an error index area 87 and a variable binding area 88 . The variable binding area 88 has a plurality of fields for describing combinations of OIDs (Object Identifiers) for identifying management information (objects) stored in the MIB of the device and values of the objects corresponding to the OIDs. are divided into regions 88-1, 88-2, . . . The OID stored in the variable binding area 88 corresponds to object identification information for identifying management information to be processed among the management information held by the device.

このような構造のSNMPパケット80において、本実施形態では、コミュニティ領域82に、選択デバイスのシリアルナンバーが記載されている。つまり、ステップS310において、第1処理要求生成部14は、ステップS300で選択された選択デバイスのシリアルナンバーをコミュニティ領域82に記載したSNMPパケット80を生成する。 In the SNMP packet 80 having such a structure, the serial number of the selected device is written in the community area 82 in this embodiment. That is, in step S310, the first processing request generator 14 generates the SNMP packet 80 in which the serial number of the selected device selected in step S300 is described in the community area 82. FIG.

ステップS420では、第2処理要求生成部22は、SNMPパケット80のうちのSNMP PDU(領域83)に、所定のUSBヘッダー101を付加したUSBコマンドを生成する。このとき、第2処理要求生成部22は、領域83の変数バインディング領域88におけるOIDと値(Value)との組み合わせ毎に切り分けたUSBコマンドを生成する。図4の例では、変数バインディング領域88については領域88‐1だけを切り出した領域83に、USBヘッダー101を付加したUSBコマンド100と、変数バインディング領域88については領域88‐2だけを切り出した領域83に、USBヘッダー101を付加したUSBコマンド110と、が生成されている。 In step S420, the second processing request generator 22 generates a USB command by adding a predetermined USB header 101 to the SNMP PDU (area 83) of the SNMP packet 80. FIG. At this time, the second processing request generation unit 22 generates USB commands that are separated for each combination of the OID and the value in the variable binding area 88 of the area 83 . In the example of FIG. 4, for the variable binding area 88, only the area 88-1 is cut out, and the USB command 100 added with the USB header 101 is added to the area 83. For the variable binding area 88, only the area 88-2 is cut out. 83, a USB command 110 to which the USB header 101 is added is generated.

USBヘッダー101は、中継管理装置20に対してローカル接続されているデバイス(USBデバイス)が解釈可能なヘッダーであり、USBヘッダー101が付加されることで、USBの通信規格に従ったコマンドの一種としてUSBデバイスにより取り扱われるようになる。このようなステップS420を実行する点で、第2処理要求生成部22は、第1処理要求(SNMPパケット)から選択デバイスが有する管理情報のうち処理対象の管理情報を識別する対象識別情報(OID)を取得し、当該OIDを含んだ第2処理要求(USBコマンド)を生成する生成部、に該当する。 The USB header 101 is a header that can be interpreted by a device (USB device) that is locally connected to the relay management device 20. By adding the USB header 101, a type of command conforming to the USB communication standard can be used. will be handled by the USB device as In executing step S420 as described above, the second processing request generation unit 22 extracts from the first processing request (SNMP packet) object identification information (OID) that identifies the management information to be processed among the management information possessed by the selected device. ) and generates a second processing request (USB command) including the OID.

ステップS430では、制御部21(通信制御部23)が、ステップS400で受信されたSNMPパケットに含まれている(SNMPパケット80のコミュニティ領域82に記載されている)シリアルナンバーが示すデバイス(選択デバイス)へ、ローカル通信IF25を介して、ステップS420で生成されたUSBコマンドを送信する(第2処理要求送信工程)。図4の例によれば、ステップS430では、USBコマンド100,110が、前記シリアルナンバーが示すデバイス(選択デバイス)へローカル通信IF25を介して送信されることになる。ローカル通信IF25は、ローカル通信部に対応する。 In step S430, the controller 21 (communication controller 23) controls the device (selected device) indicated by the serial number (described in the community area 82 of the SNMP packet 80) included in the SNMP packet received in step S400. ) via the local communication IF 25, the USB command generated in step S420 is transmitted (second processing request transmission step). According to the example of FIG. 4, at step S430, USB commands 100 and 110 are transmitted to the device (selected device) indicated by the serial number via the local communication IF 25. FIG. The local communication IF 25 corresponds to the local communication section.

選択デバイスとしての、中継管理装置20にローカル接続されたあるローカル接続デバイス(例えば、デバイス40)は、ローカル通信経路70を介して中継管理装置20からUSBコマンド(USBコマンド100,110)を受信する(ステップS500)。そして、選択デバイスは、ステップS500で受信したUSBコマンドへの応答を実行する(ステップS510)。 A locally connected device (for example, device 40 ) locally connected to relay management device 20 as a selected device receives USB commands (USB commands 100 and 110 ) from relay management device 20 via local communication path 70 . (Step S500). The selected device then responds to the USB command received in step S500 (step S510).

例えば、USBコマンド100,110のPDUタイプ(領域84)がGetリクエストを示していれば、選択デバイスは、USBコマンド100において指定されているOIDに対応する管理情報を自身のMIBから読み出し、読み出した管理情報を当該OIDに対応する値(Value)としてUSBコマンド100の領域88‐1に書き込む。同様に、選択デバイスは、USBコマンド110において指定されているOIDに対応する管理情報を自身のMIBから読み出し、読み出した管理情報を当該OIDに対応する値(Value)としてUSBコマンド110の領域88‐2に書き込む。 For example, if the PDU type (area 84) of the USB commands 100 and 110 indicates a Get request, the selected device reads the management information corresponding to the OID specified in the USB command 100 from its own MIB. Management information is written in the area 88-1 of the USB command 100 as a value corresponding to the OID. Similarly, the selected device reads the management information corresponding to the OID specified in the USB command 110 from its own MIB, and uses the read management information as a value corresponding to the OID in the area 88- of the USB command 110. Write to 2.

また、例えば、USBコマンド100,110のPDUタイプ(領域84)がSetリクエストを示していれば、選択デバイスは、USBコマンド100において指定されているOIDに対応する自身のMIB内の管理情報を、対応する値(Value)により書き換え、その書き換えた旨をUSBコマンド100の領域83に書き込む。同様に、選択デバイスは、USBコマンド110において指定されているOIDに対応する自身のMIB内の管理情報を、対応する値(Value)により書き換え、その書き換えた旨をUSBコマンド110の領域83に書き込む。 Also, for example, if the PDU type (area 84) of the USB commands 100 and 110 indicates a Set request, the selected device stores the management information in its own MIB corresponding to the OID specified in the USB command 100, It is rewritten with the corresponding value (Value), and the effect of rewriting is written in the area 83 of the USB command 100 . Similarly, the selected device rewrites the management information in its own MIB corresponding to the OID specified in the USB command 110 with the corresponding value (Value), and writes the rewritten information in the area 83 of the USB command 110. .

管理情報の例としては、プリンター(デバイス)のインクやトナー等の消耗材の残量、デバイスにおけるエラーや起動状態等のステータス、デバイスに設定されているIPアドレス等のネットワーク設定、等が挙げられる。選択デバイスは、OIDで指定されたこれらの管理情報を返答したり書き換えたりする等の応答を行う。このような選択デバイス側の処理を経たUSBコマンド100,110を、便宜上、USBコマンド100´,110´と表記する(図4参照)。そして、選択デバイスは、このような処理後のUSBコマンド100´,110´を、ステップS510の応答として、ローカル通信経路70を介して中継管理装置20へ送信する(ステップS510)。 Examples of management information include the remaining amount of consumables such as printer (device) ink and toner, status such as device errors and startup status, and network settings such as the IP address set in the device. . The selected device responds by replying or rewriting the management information specified by the OID. For convenience, the USB commands 100 and 110 that have undergone such processing on the selected device side are referred to as USB commands 100' and 110' (see FIG. 4). The selected device then transmits the USB commands 100' and 110' after such processing to the relay management device 20 via the local communication path 70 as a response to step S510 (step S510).

中継管理装置20側では、制御部21は、ステップS430で選択デバイスへUSBコマンドを送信した後、当該USBコマンドへの応答を、ローカル通信IF25を介して受信できたか否かを継続的に判定する(ステップS440)。そして、例えば、ステップS430の後の所定時間内に(つまり、タイムアウトにならずに)、USBコマンドへの応答を受信できた場合に(ステップS440において“Yes”)、ステップS450へ進む。一方、制御部21は、ステップS430で選択デバイスへUSBコマンドを送信した後、当該USBコマンドへの応答をタイムアウトになるまでに受信できなかった場合に(ステップS440において“No”)、図3の処理を終了する。例えば、選択デバイス側が、ファームウェアのアップデート処理中等のビジー状態である場合は、選択デバイスが中継管理装置20からのUSBコマンドへの応答を返せないことも有り得る。 On the relay management device 20 side, after transmitting the USB command to the selected device in step S430, the control unit 21 continuously determines whether or not the response to the USB command has been received via the local communication IF 25. (Step S440). Then, for example, if a response to the USB command can be received within a predetermined time after step S430 (that is, without timeout) ("Yes" in step S440), the process proceeds to step S450. On the other hand, after transmitting the USB command to the selected device in step S430, if the control unit 21 fails to receive a response to the USB command before the timeout expires ("No" in step S440), End the process. For example, if the selected device is busy, such as during firmware update processing, the selected device may not be able to respond to the USB command from the relay management device 20 .

上述のステップS410の接続確認で選択デバイスがローカル通信IF25を介して通信可能に接続していないと判定した場合も、ステップS440で“No”と判定した場合も、ステップS460(中継管理装置20からデバイス管理装置10へのSNMPパケットの送信)が実行されないという点で、デバイス管理装置10から見れば同じ結果となる。 When it is determined that the selected device is not communicably connected via the local communication IF 25 in connection confirmation in step S410 described above, and when it is determined "No" in step S440, step S460 (from the relay management device 20 From the point of view of the device management apparatus 10, the same result is obtained in that the transmission of the SNMP packet to the device management apparatus 10) is not executed.

選択デバイスは、ステップS500で受信したUSBコマンド100,110に応じた各処理に際してエラーが発生した場合には、当該エラーに関する情報を書き込んだUSBコマンド100´,110´を、ステップS510の応答として中継管理装置20へ送信する。具体的には、選択デバイスは、発生したエラーのエラー番号をエラーステータス領域86に書き込み、当該エラーが発生した変数バインディング領域88内の位置をエラーインデックス領域87に書き込んだUSBコマンド100´,110´をステップS510の応答として中継管理装置20へ送信する。 If an error occurs during each process corresponding to the USB commands 100 and 110 received in step S500, the selected device relays the USB commands 100' and 110' in which information about the error is written as a response in step S510. Send to the management device 20 . Specifically, the selected device writes the error number of the error that has occurred in the error status area 86, and writes the position in the variable binding area 88 where the error has occurred in the error index area 87. is sent to relay management device 20 as a response to step S510.

ステップS450では、制御部21(第2処理要求生成部22)が、選択デバイスからの応答(選択デバイスによる処理後のUSBコマンド)に基づいて、SNMPパケットを生成する。例えば、図4を参照すると、第2処理要求生成部22は、選択デバイスによる処理後のUSBコマンド100´,110´からUSBヘッダー101を外した夫々のSNMP PDU(領域83)の部分を合成して、さらにバージョン領域81やコミュニティ領域82を付加することにより、元のSNMPパケットのフォーマットに対応した1つのSNMPパケット80´を生成する。むろん、このようなSNMPパケット80´の変数バインディング領域88における領域88‐1,88‐2…毎の値(Value)や、エラーステータス領域86やエラーインデックス領域87等は、ステップS400でデバイス管理装置10から受信したSNMPパケット80と比較して、選択デバイスによる前記処理に応じて内容が適宜書き換えられている。 In step S450, the control unit 21 (second processing request generation unit 22) generates an SNMP packet based on the response from the selected device (USB command after processing by the selected device). For example, referring to FIG. 4, the second processing request generation unit 22 synthesizes portions of SNMP PDUs (region 83) from which the USB header 101 has been removed from the USB commands 100' and 110' processed by the selected device. Then, by adding a version area 81 and a community area 82, one SNMP packet 80' corresponding to the format of the original SNMP packet is generated. Of course, the values (Value) for each of the areas 88-1, 88-2, . In comparison with the SNMP packet 80 received from 10, the content has been appropriately rewritten according to the processing by the selected device.

ステップS460では、制御部21(通信制御部23)が、ステップS450で生成されたSNMPパケットを、ステップS400で受信したSNMPパケットの送信元であるデバイス管理装置10へNW通信IF24から送信させる。
これにより、デバイス管理装置10側では、制御部11(NW通信制御部15)が、NW通信IF19を介して、中継管理装置20から送信されたSNMPパケットを受信する(ステップS330)。そして、制御部11は、ステップS330で受信したSNMPパケットから情報を読み出すことにより、ステップS300で選択した選択デバイスに関する管理情報(例えば、プリンターとしてのデバイスにおけるインク残量)を取得したり、当該選択デバイスにおいて管理情報の設定変更がされたことを認識したりして、当該選択デバイスを監視することができる。なお、制御部11は、ステップS320によるSNMPパケットの送信に対する応答として、中継管理装置20からのSNMPパケットの送信が所定時間内に無い場合には、ステップS300で選択した選択デバイスが中継管理装置20に対して未接続であると判定する。
In step S460, the control unit 21 (communication control unit 23) causes the NW communication IF 24 to transmit the SNMP packet generated in step S450 to the device management apparatus 10, which is the transmission source of the SNMP packet received in step S400.
As a result, on the device management apparatus 10 side, the control unit 11 (NW communication control unit 15) receives the SNMP packet transmitted from the relay management apparatus 20 via the NW communication IF 19 (step S330). By reading information from the SNMP packet received in step S330, the control unit 11 acquires management information (for example, remaining amount of ink in the device as a printer) related to the selected device selected in step S300, or obtains information about the selected device. The selected device can be monitored by recognizing that the setting of the management information has been changed in the device. As a response to the SNMP packet transmission in step S320, if no SNMP packet is transmitted from the relay management apparatus 20 within a predetermined time, the control unit 11 determines that the selected device selected in step S300 is the relay management apparatus 20. is determined to be unconnected.

このように本実施形態によれば、デバイス30,40,50…を管理するデバイス管理装置10と、複数のデバイス40,50とローカル通信経路70を介して接続する中継管理装置20と、がネットワーク60を介して接続するシステム1を開示する。デバイス管理装置10(制御部11)は、ネットワーク60に接続する管理対象を管理するための所定のネットワーク管理プロトコル(SNMP)に従った第1処理要求であって、中継管理装置20と接続するデバイスを識別するデバイス識別情報(例えば、シリアルナンバー)を含んだ第1処理要求(SNMPパケット80)を、ネットワーク60を介して中継管理装置20へ送信する(ステップS320)。一方、中継管理装置20は、第1処理要求を、ネットワーク60を介して受信し(ステップS400)、第1処理要求からデバイスが有する管理情報のうち処理対象の管理情報を識別する対象識別情報(OID)を取得し、当該対象識別情報を含んだ第2処理要求(SNMP PDU(領域83)を含んだUSBコマンド100,110)を生成し(ステップS420)、第1処理要求に含まれているデバイス識別情報が示すデバイスへ、ローカル通信経路70を介して第2処理要求を送信する(ステップS430)。 Thus, according to the present embodiment, the device management apparatus 10 that manages the devices 30, 40, 50, . A system 1 connecting via 60 is disclosed. The device management apparatus 10 (control unit 11) receives a first processing request according to a predetermined network management protocol (SNMP) for managing a management target connected to the network 60, and a device connected to the relay management apparatus 20. A first processing request (SNMP packet 80) containing device identification information (for example, a serial number) for identifying a is transmitted to the relay management device 20 via the network 60 (step S320). On the other hand, the relay management device 20 receives the first processing request via the network 60 (step S400), and from the first processing request, the target identification information ( OID), generates a second processing request (USB commands 100 and 110 including SNMP PDU (area 83)) including the target identification information (step S420), and A second processing request is transmitted via the local communication path 70 to the device indicated by the device identification information (step S430).

当該構成によれば、デバイス管理装置10は、ネットワークデバイス(例えば、デバイス30)を管理するときと同様に、ローカル接続デバイスを管理するときも、SNMPに従った処理要求(第1処理要求)を、中継管理装置20へ送信する。ただしこのとき、第1処理要求には、中継管理装置20にローカル接続するデバイスのデバイス識別情報を含める。そのため、ネットワーク60を介して第1処理要求を受信した中継管理装置20は、自身にローカル接続するデバイスへ送信するための処理要求(第2処理要求)を第1処理要求に基づいて生成し、この第2処理要求(USBコマンド)を、第1処理要求に含まれているデバイス識別情報が示すデバイスへローカル通信経路70を介して送信することができる。 According to this configuration, the device management apparatus 10 issues a processing request (first processing request) according to SNMP when managing a locally connected device as well as when managing a network device (for example, the device 30). , to the relay management device 20 . However, at this time, the device identification information of the device locally connected to the relay management device 20 is included in the first processing request. Therefore, upon receiving the first processing request via the network 60, the relay management device 20 generates a processing request (second processing request) to be transmitted to the device locally connected to itself based on the first processing request, This second processing request (USB command) can be sent via the local communication path 70 to the device indicated by the device identification information included in the first processing request.

また、中継管理装置20は、自身にローカル接続するデバイスから受信した、第2処理要求への応答を、ネットワーク60を介してデバイス管理装置10へ送信する際にも、SNMPパケットのフォーマットに変換した上で送信する(ステップS450,S460)。例えば、中継管理装置20は、第2処理要求の送信先のデバイスから、第2処理要求への応答の一部として対象識別情報に対応する管理情報を、ローカル通信経路70を介して受信し、受信した管理情報を、SNMPパケットに含めてネットワーク60を介してデバイス管理装置10へ送信する。デバイス管理装置10による中継管理装置20を介したローカル接続デバイスの管理には、上述したように、処理要求を送信してローカル接続デバイスから管理情報を取得する処理の他に、処理要求を送信してローカル接続デバイスに管理情報の設定を変更させる、つまり管理情報の書き換えをさせる処理も含まれる。 Also, the relay management apparatus 20 converts the response to the second processing request received from the device locally connected to itself into the SNMP packet format when transmitting it to the device management apparatus 10 via the network 60. (Steps S450, S460). For example, the relay management device 20 receives, via the local communication path 70, management information corresponding to the target identification information as part of the response to the second processing request from the destination device of the second processing request, The received management information is included in an SNMP packet and transmitted to the device management apparatus 10 via the network 60 . In the management of locally connected devices by the device management apparatus 10 via the relay management apparatus 20, as described above, in addition to the process of transmitting a processing request and acquiring management information from the locally connected device, a processing request is transmitted. It also includes a process of causing the locally connected device to change the setting of the management information, that is, to rewrite the management information.

すなわち、デバイス管理装置10は、ローカル接続デバイスについてSNMPを用いて管理することができる。これにより、ローカル接続デバイス、ネットワークデバイスそれぞれに対する管理を全く異なる通信制御の下で実行していた従来と比較し、デバイス管理装置10の負担を大幅に減らすことができる。また、従来においては、ローカル接続デバイス、ネットワークデバイスそれぞれに対する管理を異なる通信制御の下で実行していたため、ローカル接続デバイス、ネットワークデバイスそれぞれから取得できる管理情報の種類にも違いが生じていたが、本実施形態では、そのような弊害も無くすことができる。また、第1実施例(図4)によれば、デバイス管理装置10は、SNMPパケットにおけるコミュニティ名を利用して、中継管理装置20へ処理要求の送信先のデバイスを容易に指定することができる。 That is, the device management apparatus 10 can manage locally connected devices using SNMP. As a result, the burden on the device management apparatus 10 can be significantly reduced compared to the conventional system in which the management of locally connected devices and network devices is performed under completely different communication controls. In addition, in the past, management of locally connected devices and network devices was performed under different communication controls, so there were differences in the types of management information that could be obtained from locally connected devices and network devices. In this embodiment, such an adverse effect can also be eliminated. Further, according to the first embodiment (FIG. 4), the device management apparatus 10 can easily specify the device to which the processing request is to be sent to the relay management apparatus 20 by using the community name in the SNMP packet. .

以下に、本実施形態に含まれる幾つかの実施例や変形例について説明する。これまで説明した事項と重複する事項については説明を省略する。 Several examples and modifications included in this embodiment will be described below. Descriptions of matters overlapping with the matters described so far will be omitted.

4.第2実施例:
図5は、第2実施例にかかるSNMPパケットおよびUSBコマンドそれぞれの構造を示している。
上述したようにステップS310(図3)では、制御部11(第1処理要求生成部14)は、ステップS300で選択された選択デバイスのシリアルナンバーを含んだSNMPパケットを生成する。このとき第2実施例では、第1処理要求生成部14は、図5に示すようなSNMPパケット80を生成し(ステップS310)、NW通信制御部15は、当該生成されたSNMPパケット80を中継管理装置20へ送信する(ステップS320)。第2実施例にかかるSNMPパケット80は、コミュニティ領域82に選択デバイスのシリアルナンバーを有するのではなく、管理情報の値(Value)の記載領域にシリアルナンバーを付加している。
4. Second embodiment:
FIG. 5 shows the structures of SNMP packets and USB commands according to the second embodiment.
As described above, in step S310 (FIG. 3), the control unit 11 (first processing request generation unit 14) generates an SNMP packet containing the serial number of the selected device selected in step S300. At this time, in the second embodiment, the first processing request generation unit 14 generates an SNMP packet 80 as shown in FIG. 5 (step S310), and the NW communication control unit 15 relays the generated SNMP packet 80. It is transmitted to the management device 20 (step S320). The SNMP packet 80 according to the second embodiment does not have the serial number of the selected device in the community area 82, but adds the serial number to the value description area of the management information.

具体的には、図5に示すように、SNMPパケット80の変数バインディング領域88では、OIDと値(Value)との組み合わせを記載するための複数の領域のそれぞれ(例えば、領域88‐1)において、OIDとして特定OIDが記載され、かつ特定OIDに対応する値(Value)の記載領域に、選択デバイスのシリアルナンバー(領域88‐1a)およびSNMP PDU(領域88‐1b)が記載されている。 Specifically, as shown in FIG. 5, in the variable binding area 88 of the SNMP packet 80, in each of a plurality of areas (for example, area 88-1) for describing the combination of OID and value , a specific OID is described as the OID, and the serial number (area 88-1a) and SNMP PDU (area 88-1b) of the selected device are described in a value description area corresponding to the specific OID.

つまり領域88‐1bには、選択デバイスへ送信すべき処理要求の実体としてのSNMP PDUが入れ子構造で挿入されている。領域88‐1bに挿入されているSNMP PDUこそが、第2処理要求の形で中継管理装置20から選択デバイスへ送信すべき、対象識別情報(OID)と当該対象識別情報に対応する管理情報の値(Value)の記載領域とを変数バインディング領域の形で含んだSNMPに従ったコマンド、である。一方、このような特定OID、シリアルナンバー(領域88‐1a)およびSNMP PDU(領域88‐1b)以外の、SNMPパケット80(図5)の部分は、SNMPに従ったフォーマットで構成されてはいるが、特定OID、シリアルナンバー(領域88‐1a)およびSNMP PDU(領域88‐1b)を入れるための器として機能しているに過ぎない。 That is, in the area 88-1b, SNMP PDUs are inserted in a nested structure as entities of processing requests to be sent to the selected device. The SNMP PDU inserted in the area 88-1b is the object identification information (OID) to be transmitted from the relay management device 20 to the selected device in the form of the second processing request and the management information corresponding to the object identification information. It is an SNMP compliant command that includes a value description area and a value binding area in the form of a variable binding area. On the other hand, other than such specific OID, serial number (field 88-1a) and SNMP PDU (field 88-1b), the portion of the SNMP packet 80 (FIG. 5) is formatted according to SNMP. serves only as a container to contain a specific OID, serial number (field 88-1a) and SNMP PDU (field 88-1b).

特定OIDは、デバイスが有するMIB内の管理情報を識別するためのOIDではなく、変数バインディング領域88における値(Value)の記載領域に選択デバイスのシリアルナンバーおよびSNMP PDUが挿入されたデータ構造であることを示す特定の識別情報である。 The specific OID is not an OID for identifying management information in the MIB owned by the device, but a data structure in which the serial number and SNMP PDU of the selected device are inserted in the value description area in the variable binding area 88. It is specific identification information indicating that

このような第2実施例においては、ステップS410(図3)では、制御部21は、ステップS400で受信したSNMPパケット80の変数バインディング領域88に特定OIDが含まれていることに応じて、特定OIDに対応する値(Value)の記載領域の領域88‐1aからシリアルナンバーを読み出すことができる。これにより、シリアルナンバーに対応するデバイス(選択デバイス)についての前記接続確認を行う。また、ステップS420では、制御部21(第2処理要求生成部22)は、SNMPパケット80の変数バインディング領域88に含まれている特定OIDに対応する値(Value)の記載領域のSNMP PDU(領域88‐1b)を抽出し、この抽出した領域88‐1bに、上述のUSBヘッダー101を付加して、第2処理要求としてのUSBコマンド(図5の例では、USBコマンド100)を生成する。 In the second embodiment as described above, in step S410 (FIG. 3), the control unit 21 responds to the fact that the variable binding area 88 of the SNMP packet 80 received in step S400 contains the specific OID. The serial number can be read from the area 88-1a of the value description area corresponding to the OID. As a result, the connection confirmation for the device (selected device) corresponding to the serial number is performed. Further, in step S420, the control unit 21 (the second processing request generation unit 22) generates an SNMP PDU (area 88-1b) is extracted, and the USB header 101 described above is added to the extracted area 88-1b to generate a USB command (USB command 100 in the example of FIG. 5) as the second processing request.

また、ステップS430では、制御部21(通信制御部23)は、上述のように特定OIDに対応する値(Value)の記載領域の領域88‐1aから読み出したシリアルナンバーが示すデバイス(選択デバイス)へ、ローカル通信IF25を介して、ステップS420で生成されたUSBコマンドを送信する。また、ステップS450では、制御部21(第2処理要求生成部22)は、選択デバイスからの応答(選択デバイスによる処理後のUSBコマンド)に基づいて、SNMPパケットを生成する。つまり図5を参照すると、第2処理要求生成部22は、選択デバイスによる処理後のUSBコマンド100´からUSBヘッダー101を外したSNMP PDU(領域88‐1b)の部分を、変数バインディング領域88における特定OIDに対応する値(Value)の記載領域に埋め戻すことにより、元のSNMPパケットのフォーマットに対応した1つのSNMPパケット80´を生成する。むろん、このような第2実施例にかかるSNMPパケット80´(図5)の変数バインディング領域88におけるSNMP PDU(領域88‐1b)内の、OIDに対応する値(Value)や、エラーステータス領域やエラーインデックス領域等は、ステップS400でデバイス管理装置10から受信したSNMPパケット80と比較して、選択デバイスによる前記処理に応じて内容が適宜書き換えられている。 Further, in step S430, the control unit 21 (communication control unit 23) selects the device (selected device) indicated by the serial number read from the area 88-1a of the value description area corresponding to the specific OID as described above. to, via the local communication IF 25, the USB command generated in step S420. Also, in step S450, the control unit 21 (second processing request generating unit 22) generates an SNMP packet based on the response from the selected device (USB command after processing by the selected device). In other words, referring to FIG. 5, the second processing request generating unit 22 places the portion of the SNMP PDU (area 88-1b) obtained by removing the USB header 101 from the USB command 100′ processed by the selected device into the variable binding area 88. One SNMP packet 80' corresponding to the format of the original SNMP packet is generated by backfilling the description area of the value (Value) corresponding to the specific OID. Of course, the value (Value) corresponding to the OID, the error status area and the The error index area and the like are compared with the SNMP packet 80 received from the device management apparatus 10 in step S400, and the contents are appropriately rewritten according to the above-described processing by the selected device.

このような第2実施例(図5)によれば、デバイス管理装置10は、SNMPパケットにおける管理情報の記載領域にデバイス識別情報を含むSNMPパケットを、第1処理要求として送信する。当該構成によれば、SNMPパケット(第1処理要求)における管理情報の値(Value)の記載領域を利用して、中継管理装置20へ処理要求の送信先のデバイスを容易に指定することができる。
なお、第2実施例においては、SNMPパケット80の変数バインディング領域88に含まれている特定OIDに対応する値(Value)の記載領域の領域88‐1bに、SNMP PDU(第2処理要求の形で中継管理装置20から選択デバイスへ送信すべきコマンド)だけを挿入するのではなく、このSNMP PDUを含んだSNMPパケット全体を入れ子構造で挿入するとしてもよい。
According to the second embodiment (FIG. 5), the device management apparatus 10 transmits, as the first processing request, an SNMP packet including device identification information in the management information description area of the SNMP packet. According to this configuration, it is possible to easily specify the device to which the processing request is to be sent to the relay management device 20 by using the management information value description area in the SNMP packet (first processing request). .
In the second embodiment, the area 88-1b of the value description area corresponding to the specific OID contained in the variable binding area 88 of the SNMP packet 80 contains an SNMP PDU (a form of the second processing request). command to be transmitted from the relay management apparatus 20 to the selected device) may be inserted, but the entire SNMP packet including this SNMP PDU may be inserted in a nested structure.

5.第3実施例:
図6は、第3実施例にかかるSNMPパケットおよびUSBコマンドそれぞれの構造を示している。第3実施例にかかるSNMPパケットは、第2実施例(図5)と比較したとき、変数バインディング領域88に含まれている特定OIDに対応する値(Value)の記載領域の領域88‐1bに挿入するデータが異なる。SNMPパケットにおけるシリアルナンバーの挿入位置は、第2実施例と第3実施例とで共通である。
5. Third embodiment:
FIG. 6 shows the structures of SNMP packets and USB commands according to the third embodiment. The SNMP packet according to the third embodiment, when compared with the second embodiment (FIG. 5), has The data to be inserted is different. The insertion position of the serial number in the SNMP packet is common between the second embodiment and the third embodiment.

第3実施例では、領域88‐1bには、SNMPのバージョンSNMPv3に対応するフォーマットのパケット(SNMPv3パケット)が挿入されている。知られているように、SNMPv3パケットは、SNMPv1,SNMPv2のフォーマットと異なりコミュニティ名を用いない一方で、セキュリティに関する設定(セキュリティモデル、セキュリティパラメーター等)を有している。また、SNMPv3パケットは、これまでに説明したものと同様のSNMP PDU(図6に示す領域88‐1b1)を含んでおり、このSNMPv3パケット内のSNMP PDUは、デバイス管理装置10によるSNMPパケット80の生成時(図3のステップS310)に、所定のパスワードによって暗号化されている。つまり、領域88‐1bに挿入されているSNMPv3パケットのうち暗号化されているSNMP PDUが、第2処理要求の形で中継管理装置20から選択デバイスへ送信すべき、対象識別情報(OID)と当該対象識別情報に対応する管理情報の値(Value)の記載領域とを変数バインディング領域の形で含んだSNMPに従ったコマンドの主たる部分、である。 In the third embodiment, a packet (SNMPv3 packet) having a format corresponding to SNMP version SNMPv3 is inserted in the area 88-1b. As is known, the SNMPv3 packet does not use a community name unlike the SNMPv1 and SNMPv2 formats, but it has security-related settings (security model, security parameters, etc.). Also, the SNMPv3 packet includes the same SNMP PDU (area 88-1b1 shown in FIG. 6) as described above, and the SNMP PDU in this SNMPv3 packet is the SNMP packet 80 sent by the device management apparatus 10. At the time of generation (step S310 in FIG. 3), it is encrypted with a predetermined password. That is, the encrypted SNMP PDU among the SNMPv3 packets inserted in the area 88-1b is the target identification information (OID) to be transmitted from the relay management device 20 to the selected device in the form of the second processing request. The main part of the command according to SNMP, which includes a description area for the value of management information corresponding to the target identification information and a variable binding area in the form of a variable binding area.

このような第3実施例にかかるSNMPパケットは、外見上はバージョンSNMPv1,SNMPv2に対応するフォーマットのパケットであるが、その一部にバージョンSNMPv3に対応するフォーマットのSNMPv3パケットを含んでいると言える。第3実施例にかかるステップS420では、制御部21(第2処理要求生成部22)は、SNMPパケット80の変数バインディング領域88に含まれている特定OIDに対応する値(Value)の記載領域のSNMPv3パケット(領域88‐1b)を抽出し、抽出したSNMPv3パケット(領域88‐1b)に、上述のUSBヘッダー101を付加して、第2処理要求としてのUSBコマンド(図6の例では、USBコマンド100)を生成する。 The SNMP packets according to the third embodiment are apparently packets of formats corresponding to versions SNMPv1 and SNMPv2, but it can be said that some of them contain SNMPv3 packets of a format corresponding to version SNMPv3. In step S420 according to the third embodiment, the control unit 21 (the second processing request generation unit 22) fills the description area of the value (Value) corresponding to the specific OID included in the variable binding area 88 of the SNMP packet 80. The SNMPv3 packet (area 88-1b) is extracted, the USB header 101 described above is added to the extracted SNMPv3 packet (area 88-1b), and the USB command (in the example of FIG. 6, the USB command 100).

また、第3実施例では、ステップS500で第2処理要求としてのUSBコマンドを受信した選択デバイスは、当該USBコマンドに含まれているSNMPv3パケット(領域88‐1b)に設定されたセキュリティモデル、セキュリティパラメーターおよび、予め(ユーザーによる操作等により)保持している前記パスワードに基づいて、当該SNMPv3パケット(領域88‐1b)のうちのSNMP PDU(領域88‐1b1)を復号化する。このように復号化したSNMP PDUが、デバイス管理装置10からの選択デバイスに対する処理要求の実体である。そのため、選択デバイスは、当該復号化したSNMP PDUに基づいて、上述したようなUSBコマンドへの応答を実行する(ステップS510)。この場合、選択デバイスは、当該復号化したSNMP PDUにおいてOIDで指定されている値(Value)の書き込み等を実行した後は、再び前記パスワードを用いて当該SNMP PDUを暗号化し、当該暗号化したSNMP PDUを含んだSNMPv3パケット(データ領域88‐1b)、を含んだUSBコマンド100´(図6)を、USBコマンド100への応答として中継管理装置20へ送信する(ステップS510)。 In addition, in the third embodiment, the selected device that has received the USB command as the second processing request in step S500 uses the security model and security set in the SNMPv3 packet (area 88-1b) included in the USB command. The SNMP PDU (area 88-1b1) in the SNMPv3 packet (area 88-1b) is decrypted based on the parameters and the password held in advance (by user's operation or the like). The SNMP PDU decrypted in this way is the entity of the processing request from the device management apparatus 10 to the selected device. Therefore, the selected device responds to the USB command as described above based on the decrypted SNMP PDU (step S510). In this case, after writing the value specified by the OID in the decrypted SNMP PDU, the selected device encrypts the SNMP PDU again using the password, and then encrypts the encrypted SNMP PDU. A USB command 100' (FIG. 6) containing an SNMPv3 packet (data area 88-1b) containing the SNMP PDU is transmitted to the relay management device 20 as a response to the USB command 100 (step S510).

ステップS450では、制御部21(第2処理要求生成部22)は、選択デバイスからの応答(選択デバイスによる処理後のUSBコマンド)に基づいて、SNMPパケットを生成する。つまり図6を参照すると、第2処理要求生成部22は、選択デバイスによる処理後のUSBコマンド100´からUSBヘッダー101を外したSNMPv3パケット(領域88‐1b)の部分を、変数バインディング領域88における特定OIDに対応する値(Value)の記載領域に埋め戻すことにより、元のSNMPパケットのフォーマットに対応した1つのSNMPパケット80´を生成する。むろん、このような第3実施例にかかるSNMPパケット80´(図6)の変数バインディング領域88におけるSNMPv3パケット(領域88‐1b)内の、SNMP PDU(領域88‐1b1)に含まれるOIDに対応する値(Value)や、エラーステータス領域やエラーインデックス領域等は、ステップS400でデバイス管理装置10から受信したSNMPパケット80と比較して、選択デバイスによる前記処理に応じて内容が適宜書き換えられている。また、第3実施例では、ステップS330で中継管理装置20からSNMPパケット80´を受信したデバイス管理装置10は、当然、前記パスワードによりSNMPパケット80´のうちのSNMP PDU(領域88‐1b1)を復号化して、必要な情報を取得することができる。 In step S450, the control unit 21 (second processing request generating unit 22) generates an SNMP packet based on the response from the selected device (USB command after processing by the selected device). In other words, referring to FIG. 6, the second processing request generating unit 22 places the portion of the SNMPv3 packet (area 88-1b) in which the USB header 101 is removed from the USB command 100′ processed by the selected device in the variable binding area 88. One SNMP packet 80' corresponding to the format of the original SNMP packet is generated by backfilling the description area of the value (Value) corresponding to the specific OID. Of course, it corresponds to the OID included in the SNMP PDU (area 88-1b1) in the SNMPv3 packet (area 88-1b) in the variable binding area 88 of the SNMP packet 80' (FIG. 6) according to the third embodiment. The value (Value), the error status area, the error index area, etc. are compared with the SNMP packet 80 received from the device management apparatus 10 in step S400, and the contents are appropriately rewritten according to the processing by the selected device. . In addition, in the third embodiment, the device management apparatus 10, which received the SNMP packet 80' from the relay management apparatus 20 in step S330, naturally uses the password to transmit the SNMP PDU (area 88-1b1) of the SNMP packet 80'. You can decrypt it to get the information you need.

ところで、上述のようなSNMPv3パケットを含んだ処理要求(図6に示すUSBコマンド100)を受信して処理可能なデバイスは、バージョンSNMPv3に対応する能力を持ったデバイスである。従って、第3実施例を想定したとき、デバイス管理装置10は、ステップS320(図3)では、デバイス識別情報(シリアルナンバー)が示すデバイス(選択デバイス)が対応するバージョンのSNMPに従った第1処理要求(SNMPコマンド)を送信することになる。 By the way, a device capable of receiving and processing a processing request (USB command 100 shown in FIG. 6) including an SNMPv3 packet as described above is a device capable of supporting version SNMPv3. Therefore, assuming the third embodiment, in step S320 (FIG. 3), the device management apparatus 10 performs the first SNMP authentication according to the version of SNMP to which the device (selected device) indicated by the device identification information (serial number) corresponds. A processing request (SNMP command) is transmitted.

図7は、図3に示すデバイス管理装置10側の処理の一部(ステップS300~S320)についての変形例をフローチャートにより示している。
デバイス管理装置10の制御部11は、ステップS300でデバイスを選択した後、ステップS305において、ステップS300で選択した選択デバイスが対応するSNMPのバージョンを判定する。制御部11は、上述の事前探索処理(図2)によりデバイス毎のデバイス基本情報を得ており、デバイス基本情報には、デバイスが対応するSNMPのバージョンが含まれている。そのため、制御部11は、デバイス毎のデバイス基本情報に基づいて、選択デバイスがバージョンSNMPv3に対応しているか対応していない(バージョンSNMPv1,SNMPv2のいずれかに対応している)か、を判定する。
FIG. 7 is a flow chart showing a modification of part of the processing (steps S300 to S320) of the device management apparatus 10 shown in FIG.
After selecting a device in step S300, the control unit 11 of the device management apparatus 10 determines in step S305 the version of SNMP supported by the selected device selected in step S300. The control unit 11 obtains device basic information for each device through the above-described preliminary search process (FIG. 2), and the device basic information includes the version of SNMP that the device supports. Therefore, based on the device basic information for each device, the control unit 11 determines whether the selected device is compatible with version SNMPv3 or not (compatible with either version SNMPv1 or SNMPv2). .

そして、制御部11は、選択デバイスがバージョンSNMPv3に対応しておらずバージョンSNMPv1,SNMPv2のいずれかに対応していれば、ステップS312へ進み、選択デバイスがバージョンSNMPv3に対応していれば、ステップS314へ進む。ステップS312,S314はいずれも、選択デバイスのシリアルナンバーを含んだSNMPパケットを生成するステップS310(図3)に該当する。 If the selected device does not support version SNMPv3 but supports either version SNMPv1 or SNMPv2, the control unit 11 proceeds to step S312. Proceed to S314. Both steps S312 and S314 correspond to step S310 (FIG. 3) of generating an SNMP packet containing the serial number of the selected device.

ただし、ステップS312では、制御部11は、バージョンSNMPv1,SNMPv2に対応するSNMPパケットを生成する。具体的には、ステップS312では、第1実施例(図4)または第2実施例(図5)にかかるSNMPパケットを生成する。一方、ステップS314では、制御部11は、バージョンSNMPv3に対応するSNMPパケットを生成する。具体的には、ステップS314では、第3実施例(図6)にかかるSNMPパケットを生成する。第3実施例にかかるSNMPパケットは、SNMP PDU(領域83)に、バージョンSNMPv3に従った処理要求(SNMPv3パケット)を含んでおり(図6)、バージョンSNMPv3に対応するSNMPパケットの一種に該当すると言える。むろん、ステップS312を経た後のステップS320では、制御部11は、ステップS312で生成したSNMPパケットを中継管理装置20へ送信し、ステップS314を経た後のステップS320では、制御部11は、ステップS314で生成したSNMPパケットを中継管理装置20へ送信する。 However, in step S312, the control unit 11 generates SNMP packets corresponding to versions SNMPv1 and SNMPv2. Specifically, in step S312, an SNMP packet according to the first embodiment (FIG. 4) or the second embodiment (FIG. 5) is generated. On the other hand, in step S314, the control unit 11 generates an SNMP packet corresponding to version SNMPv3. Specifically, in step S314, an SNMP packet according to the third embodiment (FIG. 6) is generated. The SNMP packet according to the third embodiment contains a processing request (SNMPv3 packet) conforming to version SNMPv3 in the SNMP PDU (area 83) (FIG. 6), and is considered to be a kind of SNMP packet corresponding to version SNMPv3. I can say Of course, in step S320 after step S312, control unit 11 transmits the SNMP packet generated in step S312 to relay management device 20, and in step S320 after step S314, control unit 11 performs step S314. to the relay management device 20.

このような第2実施例や第3実施例によれば、デバイス管理装置10は、SNMPに従ったフォーマットの第1処理要求における管理情報の記載領域に、対象識別情報と当該対象識別情報に対応する管理情報の記載領域とを含んだSNMPに従ったコマンドを挿入し、第1処理要求として送信する。つまり、デバイス管理装置10は、SNMPパケット80の一部に、対象識別情報(OID)と対象識別情報に対応する管理情報の値(Value)の記載領域とを含んだSNMPに従ったフォーマットのコマンド(SNMP PDU(図5の領域88‐1bまたは図6の領域88‐1b1))を挿入した、入れ子構造の第1処理要求を送信する。そして、中継管理装置20は、前記コマンドを含んだ第2処理要求を生成する。これにより、当該挿入部分を暗号化する等により、中継管理装置20にローカル接続するデバイスに第2処理要求として送信するUSBコマンドのセキュリティ性を高め易くなる。特に、第3実施例によれば、SNMPパケット80の一部にバージョンSNMPv3に従ったSNMPv3パケットを挿入した第1処理要求を送信する。これにより、選択デバイスに送信すべき処理要求の実体部分についてのセキュリティ性を保ったまま、デバイス管理装置10から選択デバイスへ処理要求を送信することができる。 According to the second embodiment and the third embodiment, the device management apparatus 10 stores the target identification information and the corresponding target identification information in the management information description area in the first processing request in the format according to SNMP. A command conforming to SNMP including a management information description area is inserted and transmitted as a first processing request. In other words, the device management apparatus 10 sends a command in a format conforming to SNMP including, in a part of the SNMP packet 80, the target identification information (OID) and the description area of the management information value (Value) corresponding to the target identification information. (SNMP PDU (area 88-1b in FIG. 5 or area 88-1b1 in FIG. 6)) is inserted into the nested first processing request. Relay management device 20 then generates a second processing request including the command. As a result, by encrypting the insertion portion, the security of the USB command transmitted as the second processing request to the device locally connected to the relay management device 20 can be easily enhanced. In particular, according to the third embodiment, the first processing request is transmitted by inserting an SNMPv3 packet according to version SNMPv3 into part of the SNMP packet 80 . As a result, the processing request can be transmitted from the device management apparatus 10 to the selected device while maintaining the security of the substance of the processing request to be transmitted to the selected device.

また本実施形態によれば、デバイス管理装置10の制御部11は、ネットワーク60を介した探索により中継管理装置20と接続するデバイスが対応するSNMPのバージョンを取得する探索部12を備える。そして、デバイス管理装置10の制御部11は、選択デバイスのデバイス識別情報(シリアルナンバー)を含み、当該デバイス識別情報が示す選択デバイスが対応するバージョンのSNMPに従った第1処理要求(SNMPパケット)を中継管理装置20へ送信する(図7)。これによりデバイス管理装置10は、中継管理装置20にローカル接続する処理要求の送信先となるデバイスの処理能力に応じた、適切な第1処理要求を送信することができる。 Further, according to this embodiment, the control unit 11 of the device management apparatus 10 includes the search unit 12 that obtains the version of SNMP supported by the device connected to the relay management apparatus 20 by searching via the network 60 . Then, the control unit 11 of the device management apparatus 10 sends a first processing request (SNMP packet) that includes the device identification information (serial number) of the selected device and conforms to the SNMP version corresponding to the selected device indicated by the device identification information. to the relay management device 20 (FIG. 7). As a result, the device management apparatus 10 can transmit an appropriate first processing request according to the processing capability of the device that is the transmission destination of the processing request locally connected to the relay management apparatus 20 .

その他の実施例:
本実施形態においてネットワーク60に接続する管理対象を管理するための所定のネットワーク管理プロトコルは、SNMPに限定されず、ネットワーク監視に用いられる種々のプロトコルを採用可能である。また、中継管理装置20とデバイスとをローカル接続する通信規格は、USBに限定されず、デバイスとPC等とをネットワークを介さずに接続可能な種々の通信規格を採用し得る。
Other examples:
In this embodiment, the predetermined network management protocol for managing managed objects connected to the network 60 is not limited to SNMP, and various protocols used for network monitoring can be adopted. Also, the communication standard for locally connecting the relay management apparatus 20 and the device is not limited to USB, and various communication standards that allow the device and a PC or the like to be connected without a network can be adopted.

これまでの説明から明らかなように、本実施形態は、複数のデバイスとローカル通信経路を介して接続する中継管理装置と、ネットワークを介して接続するデバイス管理装置であって、前記ネットワークに接続する管理対象を管理するための所定のネットワーク管理プロトコルに従った第1処理要求であって、前記中継管理装置と接続する前記デバイスを識別するデバイス識別情報を含んだ前記第1処理要求を、前記ネットワークを介して前記中継管理装置へ送信する構成を提供する。 As is clear from the description so far, the present embodiment includes a relay management apparatus connected to a plurality of devices via local communication paths, and a device management apparatus connected via a network. The first processing request, which is a first processing request according to a predetermined network management protocol for managing an object to be managed and which includes device identification information for identifying the device connected to the relay management device, is sent to the network. to the relay management device via.

また、本実施形態は、複数のデバイスとローカル通信経路を介して接続する一方で、前記デバイスを管理するデバイス管理装置とネットワークを介して接続する中継管理装置であって、前記ネットワークに接続する管理対象を管理するための所定のネットワーク管理プロトコルに従った第1処理要求であって、前記デバイスを識別するデバイス識別情報を含んだ前記第1処理要求を、前記ネットワークを介して前記デバイス管理装置から受信し、前記第1処理要求から前記デバイスが有する管理情報のうち処理対象の管理情報を識別する対象識別情報を取得し、当該対象識別情報を含んだ第2処理要求を生成し、前記第1処理要求に含まれている前記デバイス識別情報が示す前記デバイスへ前記ローカル通信経路を介して前記第2処理要求を送信する構成を提供する。 Further, in this embodiment, a relay management apparatus is connected to a plurality of devices via a local communication path and connected via a network to a device management apparatus that manages the devices. sending a first processing request according to a predetermined network management protocol for managing an object, the first processing request including device identification information for identifying the device, from the device management apparatus via the network; receiving, acquiring from the first processing request, target identification information for identifying management information to be processed from among the management information held by the device, generating a second processing request including the target identification information, A configuration is provided for transmitting the second processing request via the local communication path to the device indicated by the device identification information included in the processing request.

また、本実施形態は、デバイス管理装置に上述の処理を実行させるプログラム(ネットワークを介してデバイスを管理する処理をコンピューターに実行させるデバイス管理プログラム)や、中継管理装置に上述の処理を実行させるプログラム(複数のデバイスとローカル通信経路を介して接続するコンピューターにデバイスの管理のための通信を中継する処理を実行させる中継管理プログラム)を提供する。むろん、本実施形態は、これらプログラムを記憶したコンピューター読み取り可能な記憶媒体も提供する。 Further, the present embodiment includes a program that causes a device management apparatus to execute the above-described process (a device management program that causes a computer to execute a process for managing devices via a network) and a program that causes a relay management apparatus to execute the above-described process. (a relay management program that causes a computer connected to a plurality of devices via a local communication path to execute a process of relaying communication for device management). Of course, this embodiment also provides a computer-readable storage medium storing these programs.

また、本実施形態は、デバイス管理装置、中継管理装置それぞれに対応する各方法や、これら各方法含んだ方法(デバイスを管理するデバイス管理装置と、複数の前記デバイスとローカル通信経路を介して接続する中継管理装置とがネットワークを介して接続するシステムのデバイス管理方法)も提供する。 In addition, the present embodiment includes methods corresponding to the device management apparatus and the relay management apparatus, and methods including these methods (a device management apparatus that manages devices and a plurality of devices that are connected via local communication paths). It also provides a device management method for a system in which a relay management device connected via a network.

1…システム、10…デバイス管理装置、11…制御部、12…探索部、13…デバイス選択部、14…第1処理要求生成部、15…NW通信制御部、17…表示部、18…操作受付部、19…NW通信IF、20…中継管理装置、21…制御部、22…第2処理要求生成部、23…通信制御部、24…NW通信IF、25…ローカル通信IF、30,40,50…デバイス、60…ネットワーク、70…ローカル通信経路、P1,P2…プログラム DESCRIPTION OF SYMBOLS 1... System, 10... Device management apparatus, 11... Control part, 12... Search part, 13... Device selection part, 14... First processing request generation part, 15... NW communication control part, 17... Display part, 18... Operation Reception unit 19 NW communication IF 20 relay management device 21 control unit 22 second processing request generation unit 23 communication control unit 24 NW communication IF 25 local communication IF 30, 40 , 50... device, 60... network, 70... local communication path, P1, P2... program

Claims (13)

デバイスを管理するデバイス管理装置と、複数の前記デバイスとローカル通信経路を介して接続する中継管理装置と、がネットワークを介して接続するデバイス管理システムであって、
前記デバイス管理装置は、
前記ネットワークに接続する管理対象を管理するための所定のネットワーク管理プロトコルに従った第1処理要求であって、前記中継管理装置と接続する前記デバイスを識別するデバイス識別情報を含んだ前記第1処理要求を、前記ネットワークを介して前記中継管理装置へ送信する第1ネットワーク通信部を備え、
前記中継管理装置は、
前記第1処理要求を、前記ネットワークを介して受信する第2ネットワーク通信部と、
前記第1処理要求から前記デバイスが有する管理情報のうち処理対象の管理情報を識別する対象識別情報を取得し、当該対象識別情報を含んだ第2処理要求を生成する生成部と、
前記第1処理要求に含まれている前記デバイス識別情報が示す前記デバイスへ前記ローカル通信経路を介して前記第2処理要求を送信するローカル通信部と、を備え
前記中継管理装置は、複数の前記ローカル通信経路を接続識別情報により識別し、
前記デバイス管理装置は、前記接続識別情報の指定を含む要求を、前記ネットワークを介して前記中継管理装置へ送信し、指定した前記接続識別情報に対応する前記ローカル通信経路に接続する前記デバイスの前記デバイス識別情報を、前記ネットワークを介して前記中継管理装置から受信する、ことを特徴とするデバイス管理システム。
A device management system in which a device management apparatus that manages devices and a relay management apparatus that connects the plurality of devices via local communication paths are connected via a network,
The device management device
A first processing request according to a predetermined network management protocol for managing a managed object connected to the network, the first processing including device identification information for identifying the device connected to the relay management device. a first network communication unit that transmits a request to the relay management device via the network;
The relay management device
a second network communication unit that receives the first processing request via the network;
a generating unit that acquires, from the first processing request, target identification information that identifies management information to be processed from among the management information held by the device, and generates a second processing request that includes the target identification information;
a local communication unit that transmits the second processing request via the local communication path to the device indicated by the device identification information included in the first processing request ;
The relay management device identifies the plurality of local communication paths by connection identification information,
The device management apparatus transmits a request including the designation of the connection identification information to the relay management apparatus via the network, and the device connected to the local communication path corresponding to the designated connection identification information. A device management system , wherein device identification information is received from the relay management apparatus via the network .
前記ローカル通信部は、前記第2処理要求の送信先の前記デバイスから、前記対象識別情報に対応する前記管理情報を、前記ローカル通信経路を介して受信し、
前記第2ネットワーク通信部は、前記ローカル通信部が受信した前記管理情報を、前記ネットワークを介して前記デバイス管理装置へ送信する、ことを特徴とする請求項1に記載のデバイス管理システム。
the local communication unit receives, via the local communication path, the management information corresponding to the target identification information from the device to which the second processing request is sent;
2. The device management system according to claim 1, wherein said second network communication unit transmits said management information received by said local communication unit to said device management apparatus via said network.
前記ネットワーク管理プロトコルは、シンプルネットワークマネジメントプロトコルであることを特徴とする請求項1または請求項2に記載のデバイス管理システム。 3. The device management system according to claim 1, wherein said network management protocol is a simple network management protocol. 前記第1ネットワーク通信部は、前記ネットワーク管理プロトコルに従った通信パケットにおけるコミュニティ名の記載領域に前記デバイス識別情報が記載された前記通信パケットを、前記第1処理要求として送信することを特徴とする請求項1~請求項3のいずれかに記載のデバイス管理システム。 The first network communication unit transmits, as the first processing request, the communication packet in which the device identification information is described in a community name description area in the communication packet according to the network management protocol. The device management system according to any one of claims 1 to 3. 前記第1ネットワーク通信部は、前記ネットワーク管理プロトコルに従った通信パケットにおける前記管理情報の記載領域に前記デバイス識別情報を含む前記通信パケットを、前記第1処理要求として送信することを特徴とする請求項1~請求項3のいずれかに記載のデバイス管理システム。 The first network communication unit transmits, as the first processing request, the communication packet including the device identification information in the management information description area in the communication packet according to the network management protocol. The device management system according to any one of claims 1 to 3. 前記第1ネットワーク通信部は、前記管理情報の記載領域に、前記対象識別情報と当該対象識別情報に対応する管理情報の記載領域とを含んだ前記ネットワーク管理プロトコルに従ったコマンドが挿入された前記通信パケットを、前記第1処理要求として送信し、
前記生成部は、前記コマンドを含んだ前記第2処理要求を生成する、ことを特徴とする請求項5に記載のデバイス管理システム。
The first network communication unit inserts a command according to the network management protocol including the target identification information and a management information description area corresponding to the target identification information into the management information description area. transmitting a communication packet as the first processing request;
6. The device management system according to claim 5, wherein said generation unit generates said second processing request including said command.
前記デバイス管理装置は、前記ネットワークを介した探索により前記中継管理装置と接続する前記デバイスが対応する前記ネットワーク管理プロトコルのバージョンを取得する探索部を備え、
前記第1ネットワーク通信部は、前記デバイス識別情報を含み、当該デバイス識別情報が示す前記デバイスが対応する前記バージョンの前記ネットワーク管理プロトコルに従った前記第1処理要求を送信することを特徴とする請求項1~請求項6のいずれかに記載のデバイス管理システム。
The device management device comprises a search unit that acquires the version of the network management protocol supported by the device connected to the relay management device by searching through the network,
The first network communication unit includes the device identification information, and transmits the first processing request according to the version of the network management protocol supported by the device indicated by the device identification information. The device management system according to any one of claims 1 to 6.
前記第1ネットワーク通信部は、前記ネットワーク管理プロトコルに従った処理要求を、前記ネットワークに接続する第2のデバイスへ前記ネットワークを介して送信し、前記処理要求に対する前記第2のデバイスからの応答を、前記ネットワークを介して受信することを特徴とする請求項1~請求項7のいずれかに記載のデバイス管理システム。 The first network communication unit transmits a processing request according to the network management protocol to a second device connected to the network via the network, and receives a response from the second device to the processing request. , through said network. 複数のデバイスとローカル通信経路を介して接続する中継管理装置と、ネットワークを介して接続するデバイス管理装置であって、
複数の前記ローカル通信経路を接続識別情報により識別する前記中継管理装置へ、前記接続識別情報の指定を含む要求を、前記ネットワークを介して送信し、
指定した前記接続識別情報に対応する前記ローカル通信経路に接続する前記デバイスを識別するデバイス識別情報を、前記ネットワークを介して前記中継管理装置から受信し、
前記ネットワークに接続する管理対象を管理するための所定のネットワーク管理プロトコルに従った第1処理要求であって、前記中継管理装置と接続する前記デバイスの前記デバイス識別情報を含んだ前記第1処理要求を、前記ネットワークを介して前記中継管理装置へ送信することを特徴とするデバイス管理装置。
A relay management device connected to a plurality of devices via a local communication path, and a device management device connected via a network,
transmitting, via the network, a request including the designation of the connection identification information to the relay management device that identifies the plurality of local communication paths by the connection identification information;
receiving device identification information for identifying the device connected to the local communication path corresponding to the specified connection identification information from the relay management device via the network;
A first processing request in accordance with a predetermined network management protocol for managing a managed object connected to the network, the first processing request including the device identification information of the device connected to the relay management device. to the relay management apparatus via the network.
複数のデバイスとローカル通信経路を介して接続する一方で、前記デバイスを管理するデバイス管理装置とネットワークを介して接続する中継管理装置であって、
複数の前記ローカル通信経路を接続識別情報により識別し、
前記接続識別情報の指定を含む要求を、前記ネットワークを介して前記デバイス管理装置から受信し、
指定された前記接続識別情報に対応する前記ローカル通信経路に接続する前記デバイスを識別するデバイス識別情報を、前記ネットワークを介して前記デバイス管理装置へ送信し、
前記ネットワークに接続する管理対象を管理するための所定のネットワーク管理プロトコルに従った第1処理要求であって、前記デバイスの前記デバイス識別情報を含んだ前記第1処理要求を、前記ネットワークを介して前記デバイス管理装置から受信し、
前記第1処理要求から前記デバイスが有する管理情報のうち処理対象の管理情報を識別する対象識別情報を取得し、当該対象識別情報を含んだ第2処理要求を生成し、
前記第1処理要求に含まれている前記デバイス識別情報が示す前記デバイスへ前記ローカル通信経路を介して前記第2処理要求を送信する、ことを特徴とする中継管理装置。
A relay management device connected to a plurality of devices via a local communication path and connected via a network to a device management device that manages the devices,
identifying the plurality of local communication paths by connection identification information;
receiving a request including the specification of the connection identification information from the device management apparatus via the network;
transmitting device identification information identifying the device connected to the local communication path corresponding to the designated connection identification information to the device management apparatus via the network;
a first processing request according to a predetermined network management protocol for managing a managed object connected to the network, the first processing request including the device identification information of the device being transmitted via the network; received from the device management apparatus;
obtaining, from the first processing request, target identification information identifying management information to be processed among the management information held by the device, and generating a second processing request including the target identification information;
A relay management apparatus that transmits the second processing request to the device indicated by the device identification information included in the first processing request via the local communication path.
デバイスを管理するデバイス管理装置と、複数の前記デバイスとローカル通信経路を介して接続する中継管理装置と、がネットワークを介して接続するシステムのデバイス管理方法であって、
前記デバイス管理装置から複数の前記ローカル通信経路を接続識別情報により識別する前記中継管理装置へ、前記接続識別情報の指定を含む要求を、前記ネットワークを介して送信する工程と、
前記デバイス管理装置が、指定した前記接続識別情報に対応する前記ローカル通信経路に接続する前記デバイスを識別するデバイス識別情報を、前記ネットワークを介して前記中継管理装置から受信する工程と、
前記ネットワークに接続する管理対象を管理するための所定のネットワーク管理プロトコルに従った第1処理要求であって、前記中継管理装置と接続する前記デバイスの前記デバイス識別情報を含んだ前記第1処理要求を、前記ネットワークを介して前記デバイス管理装置から前記中継管理装置へ送信する第1処理要求送信工程と、
前記中継管理装置が、前記第1処理要求を、前記ネットワークを介して受信する第1処理要求受信工程と、
前記中継管理装置が、前記第1処理要求から前記デバイスが有する管理情報のうち処理対象の管理情報を識別する対象識別情報を取得し、当該対象識別情報を含んだ第2処理要求を生成する第2処理要求生成工程と、
前記中継管理装置が、前記第1処理要求に含まれている前記デバイス識別情報が示す前記デバイスへ前記ローカル通信経路を介して前記第2処理要求を送信する第2処理要求送信工程と、を備えることを特徴とするデバイス管理方法。
A device management method for a system in which a device management apparatus that manages devices and a relay management apparatus that connects the plurality of devices via local communication paths are connected via a network,
a step of transmitting, via the network, a request including the designation of the connection identification information from the device management apparatus to the relay management apparatus that identifies the plurality of local communication paths by connection identification information;
a step in which the device management apparatus receives device identification information identifying the device connected to the local communication path corresponding to the designated connection identification information from the relay management apparatus via the network;
A first processing request in accordance with a predetermined network management protocol for managing a managed object connected to the network, the first processing request including the device identification information of the device connected to the relay management device. from the device management apparatus to the relay management apparatus via the network;
a first processing request receiving step in which the relay management device receives the first processing request via the network;
The relay management device acquires, from the first processing request, target identification information for identifying management information to be processed from among the management information held by the device, and generates a second processing request including the target identification information. 2 a process request generation step;
a second processing request transmission step of transmitting the second processing request by the relay management device to the device indicated by the device identification information included in the first processing request via the local communication path; A device management method characterized by:
ネットワークを介してデバイスを管理する処理をコンピューターに実行させるデバイス管理プログラムであって、
複数の前記デバイスとローカル通信経路を介して接続する一方で、前記コンピューターと前記ネットワークを介して接続する中継管理装置であって、複数の前記ローカル通信経路を接続識別情報により識別する前記中継管理装置へ、前記接続識別情報の指定を含む要求を、前記ネットワークを介して送信する機能と、
指定した前記接続識別情報に対応する前記ローカル通信経路に接続する前記デバイスを識別するデバイス識別情報を、前記ネットワークを介して前記中継管理装置から受信する機能と、
前記ネットワークに接続する管理対象を管理するための所定のネットワーク管理プロトコルに従った第1処理要求であって、前記中継管理装置と接続する前記デバイスの前記デバイス識別情報を含んだ前記第1処理要求を、前記ネットワークを介して前記中継管理装置へ送信する機能と、を実現させることを特徴とするデバイス管理プログラム。
A device management program that causes a computer to execute processing for managing a device via a network,
A relay management apparatus that connects to a plurality of the devices via local communication paths and connects to the computer via the network, wherein the relay management apparatus identifies the plurality of local communication paths by connection identification information. to, a function of transmitting a request including the specification of the connection identification information via the network;
a function of receiving device identification information for identifying the device connected to the local communication path corresponding to the designated connection identification information from the relay management apparatus via the network;
A first processing request according to a predetermined network management protocol for managing a managed object connected to the network, the first processing request including the device identification information of the device connected to the relay management device. and a function of transmitting a processing request to the relay management apparatus via the network.
複数のデバイスとローカル通信経路を介して接続するコンピューターに、前記デバイスの管理のための通信を中継する処理を実行させる中継管理プログラムであって、
複数の前記ローカル通信経路を接続識別情報により識別する機能と、
前記接続識別情報の指定を含む要求を、ネットワークを介してデバイス管理装置から受信する機能と、
指定された前記接続識別情報に対応する前記ローカル通信経路に接続する前記デバイスを識別するデバイス識別情報を、前記ネットワークを介して前記デバイス管理装置へ送信する機能と、
前記ネットワークに接続する管理対象を管理するための所定のネットワーク管理プロトコルに従った第1処理要求であって、前記デバイスの前記デバイス識別情報を含んだ前記第1処理要求を、前記ネットワークを介して前記デバイス管理装置から受信する機能と、
前記第1処理要求から前記デバイスが有する管理情報のうち処理対象の管理情報を識別する対象識別情報を取得し、当該対象識別情報を含んだ第2処理要求を生成する機能と、
前記第1処理要求に含まれている前記デバイス識別情報が示す前記デバイスへ前記ローカル通信経路を介して前記第2処理要求を送信する機能と、を実現させることを特徴とする中継管理プログラム。
A relay management program that causes a computer connected to a plurality of devices via a local communication path to execute a process of relaying communication for managing the devices,
a function of identifying the plurality of local communication paths by connection identification information;
a function of receiving a request including the specification of the connection identification information from a device management apparatus via a network;
a function of transmitting device identification information identifying the device connected to the local communication path corresponding to the specified connection identification information to the device management apparatus via the network;
a first processing request according to a predetermined network management protocol for managing a managed object connected to the network, the first processing request including the device identification information of the device being transmitted via the network; a function of receiving from the device management apparatus;
a function of acquiring, from the first processing request, target identification information identifying management information to be processed from among the management information held by the device, and generating a second processing request including the target identification information;
and a function of transmitting the second processing request to the device indicated by the device identification information included in the first processing request via the local communication path.
JP2018094794A 2017-09-27 2018-05-16 Device management system, device management apparatus, relay management apparatus, device management method, device management program, and relay management program Active JP7147264B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201811118209.2A CN109560958B (en) 2017-09-27 2018-09-25 Device management system, device and method, relay management device, and recording medium
US16/140,969 US10515033B2 (en) 2017-09-27 2018-09-25 Device management system, device manager, relay management device, device management method, and recording medium
EP18197105.2A EP3462675B1 (en) 2017-09-27 2018-09-27 Device management system, device manager, relay management device, device management method, device management program, and relay management program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017185802 2017-09-27
JP2017185802 2017-09-27

Publications (2)

Publication Number Publication Date
JP2019061650A JP2019061650A (en) 2019-04-18
JP7147264B2 true JP7147264B2 (en) 2022-10-05

Family

ID=66176697

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018094794A Active JP7147264B2 (en) 2017-09-27 2018-05-16 Device management system, device management apparatus, relay management apparatus, device management method, device management program, and relay management program

Country Status (1)

Country Link
JP (1) JP7147264B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7414617B2 (en) * 2020-03-31 2024-01-16 キヤノン株式会社 Systems, server devices, and methods
JP7484499B2 (en) * 2020-07-02 2024-05-16 株式会社リコー Equipment management device, equipment management system, equipment management method, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006338417A (en) 2005-06-02 2006-12-14 Matsushita Electric Ind Co Ltd Proxy device
JP2008027128A (en) 2006-07-20 2008-02-07 Brother Ind Ltd Device management system, management device, program.
JP2008503819A (en) 2004-06-23 2008-02-07 ノキア インコーポレイテッド SNMP communication version selection system and method
JP2010181965A (en) 2009-02-03 2010-08-19 Brother Ind Ltd Management device and computer program
JP2013178743A (en) 2012-01-31 2013-09-09 Ricoh Co Ltd Machine management device, machine management system, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008503819A (en) 2004-06-23 2008-02-07 ノキア インコーポレイテッド SNMP communication version selection system and method
JP2006338417A (en) 2005-06-02 2006-12-14 Matsushita Electric Ind Co Ltd Proxy device
JP2008027128A (en) 2006-07-20 2008-02-07 Brother Ind Ltd Device management system, management device, program.
JP2010181965A (en) 2009-02-03 2010-08-19 Brother Ind Ltd Management device and computer program
JP2013178743A (en) 2012-01-31 2013-09-09 Ricoh Co Ltd Machine management device, machine management system, and program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
中本 伸一 Shinichi Nakamoto,タダで!すぐに試せる!サーバ&ネットワーク超入門 クラウドでI/O,Interface 第39巻 第2号 ,日本,CQ出版株式会社 CQ Publishing Co.,Ltd.,第39巻

Also Published As

Publication number Publication date
JP2019061650A (en) 2019-04-18

Similar Documents

Publication Publication Date Title
CN101547200B (en) Device manager and device management method
JP5013838B2 (en) Network management system, information processing apparatus, and information processing apparatus control method
JP5481819B2 (en) Server management apparatus, information processing system, server management apparatus control method, and program
US8984145B2 (en) Network management interface for heterogeneous data network and system using the same
JP4840352B2 (en) Device management apparatus and program
CN101485141B (en) Method and system for a two-phase mechanism for management service discovery of web services
CN109560958B (en) Device management system, device and method, relay management device, and recording medium
CN109600451A (en) A kind of terminal device firmware upgrade method and system based on Websocket long connection
JP7147264B2 (en) Device management system, device management apparatus, relay management apparatus, device management method, device management program, and relay management program
JP2007019614A (en) Terminal device and program
JP5159071B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND ITS CONTROL METHOD
JP5084782B2 (en) Apparatus, method, and program for detecting a repeater
JP2006203871A (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, COMMUNICATION PROGRAM, AND RECORDING MEDIUM
US6763001B1 (en) Discovering non managed devices in a network such as a LAN using telnet
JP5811819B2 (en) Information processing apparatus, information management system, information processing program
JP2010072873A (en) Network management device, network management method, network management program, and recording medium
US8521911B2 (en) Apparatus, system and method for executing discovery in network
JP2007257525A (en) Device management device
JP5207803B2 (en) Information processing apparatus, information processing method, and program
JP4541994B2 (en) Control device, control method and program
JP4293169B2 (en) Network equipment control system
JP4552815B2 (en) Updating network device control software
Reddy et al. Detecting embedded devices using network discovery
JP2022135371A5 (en)
JP2005108115A (en) Network device management apparatus, network device management system, network device management method, recording medium thereof, and program thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210513

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220308

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220405

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220823

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220905

R150 Certificate of patent or registration of utility model

Ref document number: 7147264

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150