JP2020017312A - Information processing device, information processing method, and program - Google Patents
Information processing device, information processing method, and program Download PDFInfo
- Publication number
- JP2020017312A JP2020017312A JP2019191153A JP2019191153A JP2020017312A JP 2020017312 A JP2020017312 A JP 2020017312A JP 2019191153 A JP2019191153 A JP 2019191153A JP 2019191153 A JP2019191153 A JP 2019191153A JP 2020017312 A JP2020017312 A JP 2020017312A
- Authority
- JP
- Japan
- Prior art keywords
- information
- information processing
- processing apparatus
- acquisition unit
- acquisition
- 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.)
- Granted
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 26
- 238000003672 processing method Methods 0.000 title claims abstract description 4
- 238000004891 communication Methods 0.000 claims abstract description 22
- 230000006870 function Effects 0.000 claims description 34
- 238000000034 method Methods 0.000 claims description 26
- 230000004044 response Effects 0.000 claims description 7
- 230000001419 dependent effect Effects 0.000 description 15
- 230000002457 bidirectional effect Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000007639 printing Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
Images
Landscapes
- Computer And Data Communications (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
本発明は、例えばSNMPプロトコル等を用いたネットワーク管理ソフトウェアによりネットワークデバイスを制御する情報処理装置、情報処理方法、及びプログラムに関する。 The present invention relates to an information processing apparatus, an information processing method, and a program for controlling a network device using network management software using, for example, an SNMP protocol.
従来、ネットワーク上の機器等を管理するため、SNMP(Simple Network Management Protocol)が考案され、機器等を管理する際の通信プロトコルとして利用されている。SNMPプロトコルを用いたネットワーク管理システムでは、管理対象ノードと呼ばれる管理対象となるネットワーク機器に対して、管理情報の取得、設定の変更を行うことができる。また、SNMPプロトコルを用いた通信では、1つのSNMPメッセージ内に、複数の属性を指定することで、複数属性情報を一括で取得することが可能である。複数属性情報を一括で取得する際に、取得を試みている情報のうち一つでも取得エラーがあった場合、SNMPリクエスト自体がエラーとなってしまう。そこで、取得エラーが発生している属性部分を排除したSNMPリクエストメッセージを作成し、再度リクエストを行うことで、情報の取得エラーを防ぐ方法が提案されている(特許文献1参照)。 Conventionally, SNMP (Simple Network Management Protocol) has been devised for managing devices and the like on a network, and is used as a communication protocol when managing the devices and the like. In a network management system using the SNMP protocol, management information can be obtained and settings can be changed for network devices to be managed, which are called managed nodes. In communication using the SNMP protocol, a plurality of attributes can be collectively acquired by specifying a plurality of attributes in one SNMP message. When acquiring multiple attribute information in a lump, if there is an acquisition error in any of the information that is being acquired, the SNMP request itself will result in an error. Therefore, a method has been proposed in which an SNMP request message in which an attribute part in which an acquisition error has occurred is eliminated and a request is made again to prevent an information acquisition error (see Patent Document 1).
しかしながら、SNMPプロトコルを用いて、複数の管理対象ノードを対象としたデバイスの探索等の通信を行い、情報取得時にエラーが発生したデバイスに対して再送処理を行う場合、通信トラフィックが増大してしまう可能性がある。また、取得しようとする複数の属性の中に取得エラーとなる複数の属性が含まれている場合は、エラー項目数に比例して通信トラフィックが大きくなってしまうという課題がある。 However, when communication such as device search is performed on a plurality of managed nodes using the SNMP protocol and retransmission processing is performed on a device in which an error has occurred during information acquisition, communication traffic increases. there is a possibility. In addition, when a plurality of attributes that result in an acquisition error are included in the plurality of attributes to be acquired, there is a problem that communication traffic increases in proportion to the number of error items.
本発明は上記従来の技術の有する課題に鑑みなされたものである。本発明では、通信トラフィックへ与える影響を軽減した上で、デバイスに関する複数の情報の取得を可能とすることを目的とする。 The present invention has been made in view of the above-mentioned problems of the conventional technology. An object of the present invention is to enable acquisition of a plurality of pieces of information about a device while reducing the influence on communication traffic.
上記目的を達成するために本発明に係る情報処理装置は、デバイスの設定或いはデバイスの有する機能に関わらない情報である第1のデバイス情報を一括でデバイスから取得する第1取得手段と、デバイスの設定或いはデバイスの有する機能に応じた情報である第2のデバイス情報をデバイスから取得する第2取得手段と、前記第1取得手段により取得した第1のデバイス情報及び前記第2取得手段により取得した第2のデバイス情報を格納する格納手段と、前記第1取得手段により取得した第1デバイス情報に基づいて、通信で接続されたデバイスを特定する特定手段と、を有する。 In order to achieve the above object, an information processing apparatus according to the present invention comprises: first acquisition means for collectively acquiring first device information from a device, which is information irrespective of device settings or functions of the device; Second acquisition means for acquiring from the device second device information that is information corresponding to settings or functions of the device, and first device information acquired by the first acquisition means and acquired by the second acquisition means A storage unit for storing second device information; and a specification unit for specifying a device connected by communication based on the first device information acquired by the first acquisition unit.
本発明によれば、通信トラフィックを抑えつつ、デバイスに関する複数の情報の取得を行うことができる。 According to the present invention, it is possible to acquire a plurality of pieces of information on a device while suppressing communication traffic.
本実施形態に係る発明では、SNMPとくにSNMP ver.1プロトコルでデバイスの探索を行う際に、取得する情報を一律に扱うのではなく、デバイスの設定やデバイスの有する機能に依存せず取得可能と想定される情報(デバイス非依存情報)と、デバイスの設定やデバイスの有する機能に依存して取得可否が変わる可能性がある情報(デバイス依存情報)とに分けて情報取得を行う。情報の種類に応じて情報取得を分けることで、取得情報に対して一律にエラー処理等を行う必要がなく、通信トラフィックへ与える影響を軽減した上で、デバイス探索および、複数のデバイス情報の取得(あるいは収集)を可能とする。 In the invention according to the present embodiment, when searching for a device using SNMP, particularly the SNMP ver. 1 protocol, information to be obtained is not handled uniformly, but can be obtained without depending on device settings or functions of the device. Information acquisition is performed separately for assumed information (device-independent information) and information (device-dependent information) whose availability may change depending on device settings and functions of the device. By dividing information acquisition according to the type of information, it is not necessary to uniformly perform error processing on the acquired information, reduce the influence on communication traffic, search for devices, and acquire multiple pieces of device information. (Or collection).
<実施形態1>
[システム構成]
図1は、本発明に係る情報処理装置の一例であるホストコンピュータ1(以下、ホスト)と、複数台のプリンタを含むデバイス管理システムの概略を示したブロック図である。本実施形態では、管理対象の装置をプリンタとし、そのプリンタをホストから探索する処理を例として示す。なお、プリンタは、単機能プリンタとは限らず、例えばプリンタ機能をスキャナ機能などと併せ持つ複合機能プリンタであってもよい。また、管理対象の装置は、プリンタに限定されるものではなく、他の情報処理装置であってもよい。
<First embodiment>
[System configuration]
FIG. 1 is a block diagram schematically showing a host computer 1 (hereinafter, host) as an example of an information processing apparatus according to the present invention, and a device management system including a plurality of printers. In the present embodiment, a device to be managed is a printer, and a process of searching for the printer from a host is described as an example. The printer is not limited to a single-function printer, but may be a multi-function printer having a printer function together with a scanner function. The device to be managed is not limited to a printer, but may be another information processing device.
図1に示されているようにホスト1とプリンタ2とは所定の双方向インタフェース3を介して互いに接続される。なお、ホスト1としては、例えば、パーソナルコンピュータ(PC)が挙げられる。ホスト1は、接続されたデバイスであるプリンタ2からデバイス情報を取得する情報収集装置として機能する。ホスト1は、CPU101などを含むメインボード109とキーボード110とLCDなどのディスプレイ111とハードディスク(HDD)などの記憶装置112とを有する。メインボード109はさらに、RAM102、ROM103、キーボードコントローラ(KBC)106、キーボード110やポインティングデバイス(不図示)からの入力を制御する。キーボードコントローラ110を操作部または入力部とも呼ぶ。ディスプレイコントローラ(DISPC)107は、ディスプレイ111の表示を制御する。RAM102は、CPU101のメインメモリあるいはワークエリアとして機能する。ROM103は、ブートプログラム等を記憶する。
As shown in FIG. 1, the
ディスクコントローラ(DKC)108は、ハードディスク等の記憶装置112とのアクセスを制御する。記憶装置112は、本実施形態に従う各機能を実行するアップデートプログラム、オペレーティングシステム、各種のアプリケーション等を記憶する。またSNMPやそのベースとなるTCP/IPなどを含むプロトコルスタックも記憶装置112にプログラムファイルとして記憶されている。
A disk controller (DKC) 108 controls access to a
インタフェースコントローラ(I/F C)104は、LAN等の通信で実現される双方向インタフェース3を介してプリンタ2に接続され、プリンタ2とのデータ及びコマンドの通信処理を制御する。
An interface controller (I / FC) 104 is connected to the
プリンタ2は、コントローラ121とプリンタエンジン125と操作パネル124と不揮発性記憶装置138とを有し、双方向インタフェース3を介して、ホスト1と接続されている。不揮発性記憶装置138は、ハードディスク(HDD)122またはEEPROM123を含む。不揮発性記憶装置を不揮発性メモリと呼ぶこともある。
The
コントローラ121は、CPU114、ROM115、RAM116、インタフェースコントローラ(I/F C)113、ディスクコントローラ(DKC)118、パネルインタフェース(I/F P)119、エンジンインタフェース(I/F E)120を含む。
The
CPU114はシステムバス117に接続される上記各構成要素を総括的に制御し、各種プログラムを実行する。ROM115は、ホスト1から印刷用画像データとコマンドを受信し、プリンタエンジン125を制御して最適な印刷を実現させるプログラムや各種データを記憶する。RAM116は、各種データや各種プログラムを一時的に記憶するワークエリアとして用いられる。SNMPやそのベースとなるTCP/IPなどを含むプロトコルもROM115に記憶されている。また、プリンタ2のデバイス情報等を含むMIB(管理情報ベース)は、ROM115やHDD122などの記憶ユニットのいずれかに格納されている。
The
インタフェースコントローラ(I/F C)113は、双方向インタフェース3を介してホスト1に接続され、ホスト1とのデータとコマンドの通信処理を制御する。ハードディスク(HDD)122は、ホスト1からのデータ及びそのデータに関する付属情報など大容量のデータを記憶する。EEPROM123は、記録動作時に使用する記録装置独自の情報などを記憶する。ディスクコントローラ(DKC)118は、不揮発性記憶装置であるハードディスク122やEEPROM123とのアクセスを制御する。パネルインタフェース(I/F P)119は、操作パネル124への表示や操作パネル124からの入力を制御する。エンジンインタフェース(I/F E)120は、ハードウェアを直接制御して最適な記録を実現させるプリンタエンジン125を制御する。
The interface controller (I / FC) 113 is connected to the
プリンタエンジン125はインクジェット記録方法を用いたプリンタエンジンや、電子写真方式に従うプリンタエンジンなどを用いることができる。
As the
[デバイス管理システム]
図2は、本実施形態のデバイス管理システムの検索機能の構成を示したブロック図である。ホストコンピュータの機能について説明する。アプリケーション201は、ホスト1で実行されるプログラムであり、双方向インターフェース3で接続されたデバイスの探索処理を実行する。
[Device Management System]
FIG. 2 is a block diagram illustrating a configuration of a search function of the device management system according to the present embodiment. The function of the host computer will be described. The
検索処理部202は、デバイスの検索処理を担う処理部であり、一括情報取得部203と個別情報取得部204と検索結果保存部205とを含む。一括情報取得部203は、複数のデバイスに対して、SNMPの探索用パケットを送信する送信処理と、各デバイスからの返信パケットを受信する処理を行う。複数デバイスに対する送信処理を、本実施形態ではブロードキャスト通信として記載するが、マルチキャストでもよい。
The
個別情報取得部204は、各デバイスに対してユニキャストで個別情報取得用パケットを送信する送信処理と、デバイスからの返信パケットを受信する処理を行う。
The individual
検索結果保存部は、一括情報取得部(あるいは一括取得部)203および個別情報取得部(あるいは個別取得部)204の取得エラー状態と、取得結果情報とを元に、検索結果リスト206に情報を保存する処理を行う。検索結果リスト206は、検索処理部202で検索した検索結果情報を検索結果リストとして保持するデータベースである。本実施形態の検索結果リスト206に保存する検索結果リストの詳細は、図4において説明する。
The search result storage unit stores information in the
[取得処理手順]
図3は、本実施形態に従う各機能を実行する検索プログラム(ホスト1の記憶装置112に格納)の処理フローを示したフロー図である。図3の手順は、RAM102にロードされた検索プログラムをCPU101により実行することで実現される。
[Acquisition processing procedure]
FIG. 3 is a flowchart illustrating a processing flow of a search program (stored in the
アプリケーション201の検索処理部202が実行されると、初めに、ホスト1から双方向インタフェース3に対してブロードキャストで探索用SNMPパケットを送信する(301)。探索用パケットはデバイスの設定やデバイスの有する機能に依存せず受信可能な情報(これを共通情報或いはデバイス非依存情報と呼ぶ)を要求するため、例えばGetRequestを用いる。本実施形態では、図4のMacアドレス401、SerialNumber402、機種名403等のデバイスを識別するための情報が探索用パケットのブロードキャストで取得するデバイス非依存情報とする。このように、複数の種類のデバイス非依存情報を一括して要求する。このとき、複数の種類のデバイス非依存情報を要求すべく複数オブジェクト指定パケットを用いる。探索用パケットを受信したデバイスは、それに応じてResponseパケットを応答する。
When the
探索用パケット送信後、あらかじめ定められた制限時間に達するまでの間、以降の処理を継続する(302)。すなわち、宛先デバイスからの返信パケット(Response)を待機し、返信パケットを受信するとステップ304〜ステップ311の処理を実行し、終了したなら、ステップ303で次の返信パケットの受信を待機する。この時点で受信済みの返信パケットがあれば、そのパケットを対象として直ちにステップ304以降の処理を行えばよい。制限時間内に応答を返したデバイスが、探索により発見(特定)されたデバイスとなる。
After transmitting the search packet, the subsequent processing is continued until a predetermined time limit is reached (302). In other words, it waits for a reply packet (Response) from the destination device, and upon receiving the reply packet, executes the processing of
ステップ301で探索用SNMPパケットを送信した後、各デバイスからの返信パケットを受信する受信処理を行う(303)。デバイスからのパケットを受信した場合、受信パケットのエラーコードがnoError(エラーなし)かを判別する(304)。noErrorでない場合は、取得結果リスト206には追加せず、そのデバイスからの返信パケットに関する処理を終了して次のデバイス(本実施形態ではプリンタ)からの受信処理を継続する。
After transmitting the search SNMP packet in
探索パケットに対するプリンタからの返信がnoErrorの場合には、取得した情報を取得結果リストに追加し、変数iを0で初期化してステップ306から311の処理を継続する。受信した応答には、要求に応じて複数の種類のデバイス情報を含む場合がある。取得した情報は例えば、返信パケットの送信元デバイスのデバイスIDと関連付けて、情報の種類別に検索結果リスト206に登録される。
If the reply from the printer to the search packet is noError, the acquired information is added to the acquisition result list, the variable i is initialized to 0, and the processing of
ステップ306から311の処理では、デバイスの設定やデバイスの有する機能に依存して受信可否が変わる情報を、属性毎に取得パケットをユニキャストで送信し、情報取得を行う。デバイスの設定やデバイスの有する機能に依存して受信可否が変わる情報とは、たとえばデバイスがその構成や設定に応じて有する情報などであり、個別情報或いはデバイス依存情報とも呼ぶ。本実施形態では図4のBonjour名404、DeviceID405が個別情報取得時に取得するデバイス依存情報となる。Bonjour名404は、Bonjour機能(IPアドレスとホスト名の割り当てやサービスの自動探索等の機能)が、プリンタ側で機能OFF状態になっている場合には、個別情報の取得要求に対する応答ができず、エラーとなる可能性がある。DeviceIDは、デバイスの有する機能によっては、取得不可となる可能性がある。例えば、Scan機能に関するDeviceID情報はScan機能を有するデバイスでは取得可能であるが、それ以外のデバイスでは取得できず、取得要求は失敗する。このように、デバイス依存情報は、取得できないことがある。
In the processing of
情報取得を行う対象の属性分、ステップ307から310の処理を繰り返し、全ての属性についてステップ307〜310が終了したなら当該デバイスについての処理を終了する(306)。個別情報取得では、単一の情報取得のための要求パケットを、属性毎にユニキャストで送信する(307)。このステップにおける要求パケットの宛先(送信先)は、ステップ303で受信した返信パケットの送信元のデバイスである。このとき、単一の種類のデバイス情報を要求すべく単一オブジェクト指定パケットを用いる。本実施形態では、Bonjour名と、DeviceIDとをそれぞれ独立した要求パケット(すなわち個別情報取得パケット)で要求する。その後、個別情報取得パケットそれぞれに対するデバイスからの返信パケットを受信する(308)。返信パケットの受信後、受信した返信パケットの解析を行い、noError(エラーなし)かどうかを判定する(309)。受信パケットがnoErrorでない場合は、次の属性の取得に進む(311)。受信パケットがnoErrorの場合には、取得した情報を取得結果リスト206に追加し(310)、次の属性の取得に進む(311)。このとき、ステップ308で取得(受信)した情報は、ステップ303で取得(受信)した情報に対応するものであるため、ステップ303で取得(受信)した情報と対応付けて保存する。
The processes of
図4は、取得結果リスト206に格納した検索結果情報の一例を示す図である。デバイス毎のMacアドレス401、SerialNumber402、機種名403は、本実施形態ではステップ303の処理にて取得し、ステップ305で登録する情報であり、デバイスの設定に依存せず取得可能な情報である。Bonjour名404、DeviceID405は、本実施形態のステップ308の処理にて取得し、ステップ310で登録する情報であり、デバイスの設定あるいはデバイスの有する機能によっては取得可否が変わる情報である。図4において、Macアドレス"000085AABBCC"を持つプリンタは、すべての情報が取得できているデバイスの一例である。Macアドレス"000085DDEEFF"を持つプリンタは、個別情報取得パケットに関しては、Bonjour名404及びDeviceID405の両方とも取得エラーとなったデバイスの一例である。なお、個別情報は情報の種類ごとに独立して要求しているので、このいずれか一方のみ取得に成功している場合もあり得る。このように、本実施形態では、個別情報が取得できない場合も、デバイス非依存情報を取得して、デバイス探索の結果を得ることができる。
FIG. 4 is a diagram illustrating an example of the search result information stored in the
また、本実施形態では、デバイス非依存情報とデバイス依存情報を予め決めておくものとしたが、これに限定されるものではない。たとえば、デバイス依存情報またはデバイス非依存情報の一方のみを予め決めておき、その他の情報を他方の情報として扱うように決めてもよい。また、MIBは木構造を有することから、所定のノード以下の情報をデバイス非依存情報あるいはデバイス依存情報と定めてもよい。いずれにしても、デバイス非依存情報およびデバイス依存情報は、図3の手順の実行に先立って決定されており(すなわち所定されており)、たとえば記憶装置112などにその区別を示す情報が格納されている。そしてデバイスに対して情報を要求する場合には、そのデバイス依存情報とデバイス非依存情報との区別を示す情報が参照され、ステップ301及びステップ307それぞれの工程に応じた情報を要求するためのパケットが送信される。
In the present embodiment, the device-independent information and the device-dependent information are determined in advance, but the present invention is not limited to this. For example, only one of the device-dependent information and the device-independent information may be determined in advance, and the other information may be determined as the other information. Further, since the MIB has a tree structure, information below a predetermined node may be defined as device-independent information or device-dependent information. In any case, the device-independent information and the device-dependent information are determined (that is, predetermined) before the execution of the procedure in FIG. 3, and information indicating the distinction is stored in, for example, the
以上の手順では受信に失敗したデバイス情報は、次回の収集まで更新されることはないが、これに限定されず、受信に失敗したデバイス情報に関して所定回数の要求の再送信を試みてもよい。タイムアウトの場合にはデバイスの電源が切られていたり、通信が切断されている可能性があるので、再送信を試みる場合には所定時間経過後に行うのが望ましい。 In the above procedure, the device information that has failed to be received is not updated until the next collection. However, the present invention is not limited to this. For example, the device information that has failed to be received may be retransmitted a predetermined number of times. In the case of a timeout, there is a possibility that the power of the device has been turned off or the communication has been cut off. Therefore, it is desirable to perform retransmission after a predetermined time has elapsed.
また、上述した実施形態では、デバイス依存情報を個別に取得するものとしたが、これに限定されず、デバイス依存情報を一括で取得するようにしてもよい。すなわち、デバイス依存情報についても複数種類の情報を一括で取得するようにしてもよい。 本実施形態では、デバイスの設定やデバイスの有する機能に依存せず返信可能と想定される情報の取得処理と、デバイスの設定またはデバイスが有する機能またはその両方に依存して返信可否が変わると想定される情報の取得処理とを分離して行う。そして、少なくともデバイスの設定やデバイスの有する機能に依存しない非依存情報に基づいて、管理対象のデバイスの検索(特定)をすることができる。このように、本実施形態では、デバイス依存情報の取得結果に関わらず、デバイス非依存情報を取得することができ、デバイスの検索が失敗するのを抑制することができる。また、デバイス非依存情報とデバイス依存情報の返信結果を組み合わせて検索結果とすることで、通信トラフィックを抑えかつ、探索時に複数情報の取得を行うことが可能である。 Further, in the above-described embodiment, the device-dependent information is obtained individually. However, the present invention is not limited to this, and the device-dependent information may be obtained collectively. That is, a plurality of types of information may also be acquired collectively for the device-dependent information. In the present embodiment, it is assumed that the process of acquiring information which is assumed to be able to return without depending on the device setting or the function of the device, and whether or not the reply is possible depends on the device setting or the function of the device or both. The information acquisition process to be performed is performed separately. Then, a device to be managed can be searched (specified) based on at least device-independent information that does not depend on device settings or device functions. As described above, in the present embodiment, device-independent information can be acquired irrespective of the acquisition result of device-dependent information, and a failure in device search can be suppressed. In addition, by combining the device-independent information and the return result of the device-dependent information as a search result, it is possible to suppress communication traffic and to acquire a plurality of pieces of information during a search.
なお、SNMPプロトコルでデバイスの探索を行う際に、複数の情報を1つ1つ取得する場合、デバイスと複数回の通信を行う必要があるため、処理時間が長くなり、また、通信トラフィックが大きくなってしまう。これに対し、本実施形態では、SNMPプロトコルでデバイスの探索を行う際に、デバイス依存情報は一括で取得する。これにより、通信トラフィックへ与える影響を軽減した上で、デバイス探索をし、複数の属性情報の取得をすることができる。 Note that when searching for a device using the SNMP protocol, when acquiring a plurality of pieces of information one by one, it is necessary to perform communication with the device a plurality of times, which increases the processing time and increases communication traffic. turn into. On the other hand, in the present embodiment, when searching for a device by the SNMP protocol, the device-dependent information is acquired collectively. This makes it possible to perform device search and acquire a plurality of pieces of attribute information while reducing the influence on communication traffic.
[その他の実施形態]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other Embodiments]
The present invention supplies a program for realizing one or more functions of the above-described embodiments to a system or an apparatus via a network or a storage medium, and one or more processors in a computer of the system or the apparatus read and execute the program. This processing can be realized. Further, it can also be realized by a circuit (for example, an ASIC) that realizes one or more functions.
1 ホストコンピュータ、2 プリンタ、202 検索処理部、203 一括情報取得部、204 個別情報取得部、205 検索結果保存部、206 検索結果リスト 1 host computer, 2 printer, 202 search processing section, 203 batch information acquisition section, 204 individual information acquisition section, 205 search result storage section, 206 search result list
上記目的を達成するために本発明に係る情報処理装置は、SNMP(Simple Network Management Protocol)を用いて、第1情報と前記第1情報とは種類が異なる第2情報とを含む複数の種類の情報を要求するための探索パケットを送信し、前記探索パケットを受信したデバイスから送信される返信パケットに含まれる前記複数の種類の情報を取得する第1取得手段と、
前記SNMPを用いて、前記第1取得手段により取得される前記複数の種類の情報のいずれとも異なる種類の第3情報を要求するための要求パケットを、前記探索パケットに基づく返信パケットを送信した前記デバイスに対して送信し、前記要求パケットを受信した前記デバイスから送信される返信パケットに含まれる前記第3情報を取得する第2取得手段と、
前記第1取得手段及び前記第2取得手段により取得された情報を格納手段に格納する制御手段と、
を備え、
前記第3情報は、前記デバイスの特定機能に関連する情報であり、前記デバイスにおいて前記特定機能の設定がオフ状態の場合、前記第2取得手段が前記要求パケットを送信しても前記第3情報は前記デバイスから送信されないことを特徴とする。
In order to achieve the above object, an information processing apparatus according to the present invention uses SNMP (Simple Network Management Protocol) to provide a plurality of types of information including first information and second information different in type from the first information. A first acquisition unit that transmits a search packet for requesting information and obtains the plurality of types of information included in a reply packet transmitted from a device that has received the search packet;
Using the SNMP, a request packet for requesting a third type of information different from any of the plurality of types of information obtained by the first obtaining unit, a reply packet based on the search packet is transmitted. A second acquisition unit that transmits to a device and acquires the third information included in a reply packet transmitted from the device that has received the request packet;
Control means for storing information acquired by the first acquisition means and the second acquisition means in a storage means;
With
The third information is information related to a specific function of the device, and when the setting of the specific function is off in the device, the third information is transmitted even if the second acquisition unit transmits the request packet. Is not transmitted from the device .
Claims (13)
デバイスの設定或いはデバイスの有する機能に応じた情報である第2のデバイス情報をデバイスから取得する第2取得手段と、
前記第1取得手段により取得した第1のデバイス情報及び前記第2取得手段により取得した第2のデバイス情報を格納する格納手段と、
前記第1取得手段により取得した第1デバイス情報に基づいて、通信で接続されたデバイスを特定する特定手段と、
を有することを特徴とする情報処理装置。 First acquisition means for collectively acquiring, from the device, first device information, which is information irrespective of device settings or device functions,
Second acquisition means for acquiring, from the device, second device information that is information corresponding to device settings or functions of the device;
Storage means for storing the first device information obtained by the first obtaining means and the second device information obtained by the second obtaining means;
Specifying means for specifying a device connected by communication based on the first device information obtained by the first obtaining means;
An information processing apparatus comprising:
前記格納手段には、前記第1取得手段により一括して取得した前記複数の種類のデバイス情報を格納することを特徴とする請求項1乃至7のいずれか一項に記載の情報処理装置。 The first obtaining unit collectively obtains a plurality of types of device information as the first device information,
The information processing apparatus according to claim 1, wherein the storage unit stores the plurality of types of device information acquired collectively by the first acquisition unit.
デバイスの設定或いはデバイスの有する機能に応じた情報である第2のデバイス情報を取得する第2取得工程と、
前記1取得工程と前記2取得工程とにより取得した前記第1および第2のデバイス情報を格納手段に格納する工程と、
前記第1取得工程において取得した第1デバイス情報に基づいて、通信で接続されたデバイスを特定する特定工程と、
を有することを特徴とする情報処理方法。 A first acquisition step of collectively acquiring, from the device, first device information that is information irrelevant to device settings or functions of the device;
A second acquisition step of acquiring second device information that is information according to device settings or functions of the device;
Storing the first and second device information obtained in the first obtaining step and the second obtaining step in a storage unit;
A specifying step of specifying a device connected by communication based on the first device information obtained in the first obtaining step;
An information processing method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019191153A JP6818108B2 (en) | 2019-10-18 | 2019-10-18 | Information processing equipment, information processing methods, and programs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019191153A JP6818108B2 (en) | 2019-10-18 | 2019-10-18 | Information processing equipment, information processing methods, and programs |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015110806A Division JP6606355B2 (en) | 2015-05-29 | 2015-05-29 | Information processing apparatus, information processing method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020017312A true JP2020017312A (en) | 2020-01-30 |
JP6818108B2 JP6818108B2 (en) | 2021-01-20 |
Family
ID=69581541
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019191153A Active JP6818108B2 (en) | 2019-10-18 | 2019-10-18 | Information processing equipment, information processing methods, and programs |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6818108B2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009230666A (en) * | 2008-03-25 | 2009-10-08 | Brother Ind Ltd | Apparatus and program for managing device in network |
JP2011142577A (en) * | 2010-01-08 | 2011-07-21 | Ricoh Co Ltd | Power saving control method, and image forming apparatus |
-
2019
- 2019-10-18 JP JP2019191153A patent/JP6818108B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009230666A (en) * | 2008-03-25 | 2009-10-08 | Brother Ind Ltd | Apparatus and program for managing device in network |
JP2011142577A (en) * | 2010-01-08 | 2011-07-21 | Ricoh Co Ltd | Power saving control method, and image forming apparatus |
Also Published As
Publication number | Publication date |
---|---|
JP6818108B2 (en) | 2021-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7747779B2 (en) | Information processing apparatus, information processing method, and medium storing therein program for executing the method | |
US9083671B2 (en) | Image forming apparatus, method for controlling the same, and storage medium | |
US10802779B2 (en) | Print processing system and method having print server converts document data into print data and to store the print data into plural storage servers for printing at image processing apparatus | |
US10896011B2 (en) | Mobile device for automatically delivering print jobs to printers | |
US7899054B2 (en) | Management device and program | |
US8676967B2 (en) | Event proxy notification apparatus and method of controlling the same and program | |
US8738728B2 (en) | Information processing apparatus that identifies transmission source, and control method and storage medium therefor | |
US20220391156A1 (en) | Server, control method, storage medium, and printing system | |
US20100332681A1 (en) | Communication apparatus capable of selecting a proper source address from a plurality of source addresses assigned thereto, method of controlling the same, and storage medium | |
US11240094B2 (en) | Information processing apparatus, information processing method, and computer-readable medium | |
US8760703B2 (en) | Job control system and job control method | |
US9294637B2 (en) | Registering and using a plurality of functions of a plurality of image forming apparatuses | |
JP6818108B2 (en) | Information processing equipment, information processing methods, and programs | |
US11556294B1 (en) | Methods and printing system for peer-to-peer output management | |
US8326952B2 (en) | Parameter setting system, device and parameter setting program | |
US11360727B2 (en) | Non-transitory computer-readable medium, terminal management apparatus and terminal management system configured to transmit a received instruction to a relay apparatus without being divided | |
JP2009015716A (en) | Image forming apparatus by multiple ip addresses | |
JP2007174201A (en) | Information processor, and communication method and program | |
US7680896B2 (en) | Obtaining or sending information to a device on a network by a client apparatus | |
US20040223179A1 (en) | Network printing mode automation | |
US20240118847A1 (en) | Information processing apparatus, control method thereof, and medium and printing system thereof | |
US11416190B2 (en) | Information processing apparatus, control method, and non-transitory computer-readable storage medium storing program | |
US10652424B2 (en) | Communication apparatus, communication method, and nontransitory computer readable storage medium that resends data when no response is received and records the result | |
US20230221910A1 (en) | Methods and printing system for peer-to-peer output management | |
US20230221909A1 (en) | Methods and printing system for peer-to-peer output management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20191115 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20191115 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200824 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200904 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20201104 |
|
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: 20201127 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20201225 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6818108 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |