JP4458884B2 - Device configuration information acquisition method and information processing apparatus - Google Patents

Device configuration information acquisition method and information processing apparatus Download PDF

Info

Publication number
JP4458884B2
JP4458884B2 JP2004068155A JP2004068155A JP4458884B2 JP 4458884 B2 JP4458884 B2 JP 4458884B2 JP 2004068155 A JP2004068155 A JP 2004068155A JP 2004068155 A JP2004068155 A JP 2004068155A JP 4458884 B2 JP4458884 B2 JP 4458884B2
Authority
JP
Japan
Prior art keywords
information
configuration
printer
driver
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.)
Expired - Fee Related
Application number
JP2004068155A
Other languages
Japanese (ja)
Other versions
JP2005258721A5 (en
JP2005258721A (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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2004068155A priority Critical patent/JP4458884B2/en
Publication of JP2005258721A publication Critical patent/JP2005258721A/en
Publication of JP2005258721A5 publication Critical patent/JP2005258721A5/ja
Application granted granted Critical
Publication of JP4458884B2 publication Critical patent/JP4458884B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]

Description

本発明は、コンピュータによって管理対象のデバイスから情報を取得するための技術に関し、特に、デバイス管理ユーティリティソフトウェアやプリンタドライバ等のデバイスドライバソフトウエアに好適なものである。   The present invention relates to a technique for acquiring information from a device to be managed by a computer, and is particularly suitable for device management software such as device management utility software and printer driver.

現在では、パーソナルコンピュータ(PC)から利用可能なデバイスとして、プリンタ、ファクシミリ(FAX)、スキャナ、マルチファンクションペリフェラル装置(MFP)等が普及している。そして、PCには、これらデバイスを利用する為のドライバやポートモニタ、デバイスを管理する為のデバイス管理ユーティリティソフトなどのソフトウェアがインストールされる。これらのソフトウェアは、管理対象のデバイスと通信を行い、デバイスの構成情報、オプション情報、ジョブ情報、ユーザ情報、状態情報などを取得する機能を備えていることが多い。   Currently, printers, facsimiles (FAX), scanners, multifunction peripheral devices (MFPs), and the like are widely used as devices that can be used from a personal computer (PC). The PC is installed with software such as a driver for using these devices, a port monitor, and device management utility software for managing the devices. Such software often has a function of communicating with a device to be managed and acquiring device configuration information, option information, job information, user information, status information, and the like.

例えばプリンタドライバにおいては、プリンタデバイスのオプション構成をシステムのネットワークデバイス管理システムを介して取得し、ドライバユーザインターフェース(ドライバUI)に反映させるようなプリンタドライバが存在する(例えば、特許文献1)。   For example, in a printer driver, there is a printer driver that acquires an optional configuration of a printer device via a network device management system of the system and reflects it in a driver user interface (driver UI) (for example, Patent Document 1).

しかし、このようなプリンタドライバは、プリンタメーカーが提供する専用のプリンタドライバ、いわゆるモノリシックドライバ(monolithic driver)で実現している。よって従来、米国マイクロソフト社のWindows(登録商標)OSに搭載されるユニバーサルドライバでは、プリンタデバイスのオプション構成を取得し、ドライバUIに反映させる機能が存在しなかった。
特開2004−21400号公報
However, such a printer driver is realized by a dedicated printer driver provided by a printer manufacturer, that is, a so-called monolithic driver. Therefore, conventionally, in the universal driver installed in the Windows (registered trademark) OS of Microsoft Corporation in the United States, there is no function for acquiring the optional configuration of the printer device and reflecting it in the driver UI.
JP 2004-21400 A

そして、MS社は、Longhornと呼ばれるコードネームの次期Windowsのバージョンにおいて、ドライバUIとデバイス間の通信により、OSに搭載されるユニバーサルドライバ(共通デバイスドライバとも呼ばれる)がプリンタデバイスを自動構成する機能を実現することを、『2004 Japan Print Driver セミナー』で公表している。この自動構成機能は、従来のGPD(Generic Printer Description:汎用プリンタ記述の構文定義のこと)と呼ばれるデバイス依存情報ファイルに拡張性を持たせた新たなデバイス依存情報ファイルでクエリ(問合せ)/応答用スキーマ(概要)を定義することにより実現するようである。   And in the next Windows version of the code name called Longhorn, MS has a function that automatically configures a printer device by a universal driver (also called a common device driver) installed in the OS through communication between the driver UI and the device. This will be announced at the 2004 Japan Print Driver Seminar. This automatic configuration function uses a new device-dependent information file that expands the device-dependent information file called GPD (Generic Printer Description: Generic printer description syntax definition). It seems to be realized by defining a schema (summary).

また、Microsoft社(以下、MS社)のWindows(登録商標)のXP以降のバージョンから、Bidiインタフェース(Bi-directional interfaceの略称)をサポートしている。Bidiインタフェースは、Windowsスプーラにおけるインタフェースで、ポートモニタから取得される情報を上位のモジュールであるOS(オペレーションシステム)や共通デバイスドライバに対して情報を双方向に受け渡すためのインタフェースである。
これらの仕様を用いることで、ユニバーサルドライバ(共通デバイスドライバ)は、ネットワークデバイス管理システムから公開されているインタフェース(Bidiインタフェース)を用いて、プリンタデバイス本体からデバイスオプションの装着状態を取得し、取得した結果に応じて、ユニバーサルドライバのデバイス構成情報を更新することが可能であると予想される。
Further, a Bidi interface (abbreviation of Bi-directional interface) is supported from a version of Microsoft (hereinafter referred to as MS) Windows (registered trademark) XP or later. The Bidi interface is an interface in the Windows spooler, and is an interface for bidirectionally passing information acquired from the port monitor to an OS (operation system) or a common device driver that is a higher-level module.
By using these specifications, the universal driver (common device driver) uses the interface (Bidi interface) published by the network device management system to acquire the device option installation status from the printer device itself, and acquire it. It is expected that the device configuration information of the universal driver can be updated according to the result.

ここで、PCがデバイスから情報を取得する為のプロトコルとしてはSNMP(Simple Network Management Protocol)が一般的であるが、デバイスのベンダが独自に定義したプロトコルを用いる場合もある。SNMPで情報を取得する場合には、プリンタに実装しているMIB(Management Information Base)の情報を取得することができる。   Here, SNMP (Simple Network Management Protocol) is generally used as a protocol for the PC to acquire information from the device, but a protocol uniquely defined by the device vendor may be used. When information is acquired by SNMP, MIB (Management Information Base) information mounted on the printer can be acquired.

上記の自動構成機能においては、ドライバUIとデバイスとの間の通信によりデバイスの機能情報を取得してデバイスの構成情報を生成し、ドライバUI上に表現される機能へデバイスから取得された機能情報をマッピングすることによりドライバUIを構築する。PCとデバイスの通信にSNMPを用いて上記の機能を実現する場合、一つのMIB情報とプリンタドライバのUIの一つの機能とが関連付けられていれば、プリンタドライバがデバイス依存情報内のクエリ/応答用スキーマを参照することで、容易にプリンタの構成情報をUIに反映することができる。つまり、各デバイスで自動構成機能に対応する場合には、このデバイス依存情報内に、クエリ/応答用スキーマを記述しておけば良いということになる。   In the above automatic configuration function, the function information acquired from the device to the function expressed on the driver UI by generating the device configuration information by acquiring the function information of the device by communication between the driver UI and the device A driver UI is constructed by mapping. When the above function is realized using SNMP for communication between the PC and the device, if one MIB information and one function of the UI of the printer driver are associated with each other, the printer driver can query / response in the device dependent information. The printer configuration information can be easily reflected in the UI by referring to the business schema. That is, when each device supports the automatic configuration function, a query / response schema should be described in the device-dependent information.

一般に、プリンタメーカは幅広い顧客層に対応するため、多種類のプリンタを揃える。機種が異なれば異なるプリンタドライバが必要となり、それだけ管理工数が増加することになる。そこで、プリンタドライバにおいては、機種に依存しないドライバ共通部を設け、機種依存の機能については機種依存情報を参照するようにして管理工数を低減することが行われている。特にドライバUIにおいては、非機種依存によるインターフェースをベースとして、機種依存のインターフェースを機種依存情報を参照して構築するようにすれば、開発コストを低減できる。この場合、機種依存情報とMIBによりプリンタの構成状態を取得し、取得された内容に基づいてドライバUIを構築することになる。   In general, printer manufacturers have a wide variety of printers to meet a wide range of customers. Different models require different printer drivers, which increases management man-hours. Therefore, in the printer driver, a driver common unit that does not depend on the model is provided, and the model-dependent function is referred to the model-dependent information to reduce the management man-hours. In particular, in the driver UI, if a model-dependent interface is constructed with reference to model-dependent information based on a non-model-dependent interface, the development cost can be reduced. In this case, the configuration state of the printer is acquired from the model-dependent information and the MIB, and the driver UI is constructed based on the acquired content.

しかしながら、MIBのデータの定義によっては、例えば図7に示すように、1回の問い合わせで複数の値をリストとして取得する構成を持つものがある。プリンタドライバの機種依存情報とMIBで取得されるリストの情報をドライバUIの機能にマッピングするには、リストの情報の一部(必要な項目)を抽出する必要がある。また、このリストに含まれる値の数は、同じ定義のMIBのデータでもオプションの装着状態によって変化する場合がある。例えば、図7のリストにおいて、FaxBoardが装着されていない場合、FinisherA2以降のindex番号は一つずつ繰り上がることになる。このため、リストの配列のどの位置にマッピングしたい値が含まれているのかは判断できない。さらに、抽出したデータを複数の選択肢を持つドライバの機能の一つの選択肢にマッピングする場合は、問い合わせを行ったプリンタドライバにデバイスからどの選択肢に対応した値が取得できたかを伝えなければならない。   However, depending on the definition of the MIB data, for example, as shown in FIG. 7, there is a configuration in which a plurality of values are acquired as a list by one inquiry. In order to map the model-dependent information of the printer driver and the list information acquired by the MIB to the function of the driver UI, it is necessary to extract a part of the list information (necessary items). In addition, the number of values included in this list may vary depending on the option mounting state even with MIB data having the same definition. For example, in the list of FIG. 7, when FaxBoard is not installed, the index numbers after Finisher A2 are incremented one by one. Therefore, it cannot be determined at which position in the list array the value to be mapped is included. Further, when mapping the extracted data to one option of a driver function having a plurality of options, it is necessary to inform the inquired printer driver which value corresponds to which option from the device.

これらのケースを解決するため、上述の機種依存情報とは別に、SNMP等の通信プロトコルを用いた各ベンダー独自の処理によってデバイスの構成情報を取得することで対応することが可能ではあるが、機種依存の実装が増えるため、管理工数が増加してしまうという問題がある。   In order to solve these cases, in addition to the above-mentioned model-dependent information, it is possible to cope by acquiring device configuration information by processing unique to each vendor using a communication protocol such as SNMP. There is a problem that management man-hours increase because the number of dependent implementations increases.

本発明は、上記のような課題を鑑みてなされたもので、リストとして値が定義されている情報から、機種に依存した情報に記述された情報に基づいて自動的に構成情報を取得可能とすることを目的とする。   The present invention has been made in view of the above problems, and can automatically acquire configuration information based on information described in model-dependent information from information whose values are defined as a list. The purpose is to do.

また、本発明は、リストとして値を定義された情報を複数の選択肢を持つ機能を有するプリンタドライバの機能にマッピングする場合においても、機種に依存した情報に記述された情報を元に自動的に構成情報を取得可能とすることを目的とする。   In addition, the present invention automatically maps information whose value is defined as a list to the function of a printer driver having a function having a plurality of options, based on information described in the model-dependent information. The object is to enable acquisition of configuration information.

上記の目的を達成するための本発明によるデバイス構成情報の取得方法は、
通信可能に接続されたデバイスを制御するデバイスドライバが組み込まれた情報処理装置によるデバイス構成情報の取得方法であって、
特定手段が、前記デバイスに装着可能な構成に関する記述が格納された記述ファイルを参照して、前記装着可能な構成の装着状態を示す状態情報を取得するためのキーワードを特定する特定工程と、
取得手段が、前記特定工程によって特定されたキーワードに基づいて前記デバイスへのアクセス情報を取得し、該アクセス情報を用いて該デバイスにアクセスして、前記デバイスに装着されている構成を示す状態情報を取得する取得工程と、
抽出手段が、前記取得工程で取得した状態情報が複数の構成に関する情報を含み、さらに前記記述が前記キーワードに関連して複数の選択肢を含む場合に、前記取得工程で取得した状態情報が含む複数の構成の中から、前記複数の選択肢のそれぞれに対応する構成を抽出する抽出工程と、
更新手段が、前記抽出工程で抽出した構成に基づいて、前記デバイスのデバイス構成情報を更新する更新工程とを備える。
In order to achieve the above object, a method for acquiring device configuration information according to the present invention includes:
A method for acquiring device configuration information by an information processing apparatus incorporating a device driver that controls devices that are communicably connected,
A specifying step of specifying a keyword for acquiring state information indicating a mounting state of the mountable configuration with reference to a description file storing a description related to the configuration that can be mounted on the device;
Status information indicating a configuration in which the acquisition unit acquires access information to the device based on the keyword specified in the specifying step, accesses the device using the access information, and is attached to the device An acquisition process for acquiring
When the state information acquired in the acquisition step includes information on a plurality of configurations, and the description includes a plurality of options related to the keyword, the plurality of state information acquired in the acquisition step includes An extraction step of extracting a configuration corresponding to each of the plurality of options from the configuration of
And an update unit that updates device configuration information of the device based on the configuration extracted in the extraction step.

また、本発明の他の態様による情報処理装置は以下の構成を備える。即ち、
通信可能に接続されたデバイスを制御するデバイスドライバが組み込まれた情報処理装置であって、
前記デバイスに装着可能な構成に関する記述が格納された記述ファイルを参照して、前記装着可能な構成の装着状態を示す状態情報を取得するためのキーワードを特定する特定手段と、
前記特定手段によって特定されたキーワードに基づいて前記デバイスへのアクセス情報を取得し、該アクセス情報を用いて該デバイスにアクセスして、前記デバイスに装着されている構成を示す状態情報を取得する取得手段と、
前記取得手段で取得した状態情報が複数の構成に関する情報を含み、さらに前記記述が前記キーワードに関連して複数の選択肢を含む場合、前記取得手段で取得した状態情報が含む複数の構成の中から、前記複数の選択肢のそれぞれに対応する構成の情報を抽出する抽出手段と、
前記抽出手段で抽出した構成の情報に基づいて、前記デバイスのデバイス構成情報を更新する更新手段とを備える。
An information processing apparatus according to another aspect of the present invention has the following configuration. That is,
An information processing apparatus incorporating a device driver that controls devices connected to be communicable,
A specifying means for specifying a keyword for acquiring state information indicating a mounting state of the mountable configuration with reference to a description file storing a description of the configuration mountable on the device;
Obtaining access information to the device based on the keyword specified by the specifying means, accessing the device using the access information, and acquiring status information indicating a configuration attached to the device Means,
When the status information acquired by the acquisition unit includes information on a plurality of configurations, and the description includes a plurality of options related to the keyword, from among a plurality of configurations included in the status information acquired by the acquisition unit an extraction means for extracting information of a configuration corresponding to each of the plurality of options,
Updating means for updating device configuration information of the device based on the configuration information extracted by the extraction means.

本発明によれば、リストとして値が定義されている情報(例えばMIB情報)から、機種に依存した情報(装着可能な構成に関する記述)に記述された情報に基づいて自動的に構成情報を取得することが可能となる。   According to the present invention, configuration information is automatically acquired from information (for example, MIB information) whose values are defined as a list, based on information described in model-dependent information (description about a mountable configuration). It becomes possible to do.

また、本発明によれば、リストとして値を定義された情報を複数の選択肢を持つ機能を有するプリンタドライバの機能にマッピングする場合においても、機種に依存した情報に記述された情報を元に自動的に構成情報を取得することが可能となる。   In addition, according to the present invention, even when information whose value is defined as a list is mapped to a function of a printer driver having a function having a plurality of choices, it is automatically performed based on information described in model-dependent information. Therefore, it is possible to acquire configuration information.

以下、添付の図面を参照して本発明の好適な実施形態について説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

図1は、本実施形態におけるネットワークの構成図である。図1において、クライアントPC101,102,103およびプリンタ104は、ネットワーク105を介して相互に通信可能に接続されている。なお、本実施形態では、ネットワーク105としてLAN(Local Area Network)を想定している。   FIG. 1 is a configuration diagram of a network in the present embodiment. In FIG. 1, client PCs 101, 102, 103 and a printer 104 are connected via a network 105 so that they can communicate with each other. In the present embodiment, a LAN (Local Area Network) is assumed as the network 105.

図2は、クライアントPC101の概略構成を表すブロック図である。なお、クライアントPC102、103の構成も同様である。クライアントPC101は、CPU201、ROM202、外部メモリ203、キーボード204、通信部205、RAM206、ハードディスク(HD)207、ディスプレイ208、システムバス209を備えている。   FIG. 2 is a block diagram illustrating a schematic configuration of the client PC 101. The configuration of the client PCs 102 and 103 is the same. The client PC 101 includes a CPU 201, ROM 202, external memory 203, keyboard 204, communication unit 205, RAM 206, hard disk (HD) 207, display 208, and system bus 209.

CPU201はシステムバス209に接続された各デバイスを統括的に制御する中央処理装置である。CPU201は、HD207に格納されているアプリケーションプログラム、プリンタ管理ユーティリティソフト、プリンタドライバ、ポートモニタ、OS、ネットワークプリンタ制御プログラム、通信プログラムなどを実行し、RAM206にプログラムの実行に必要な情報、ファイル等を一時的に格納する制御を行う。ROM202には、基本I/Oプログラム等のプログラムを記憶する。外部メモリ203には、フレキシブルディスク(FD)、CD−ROM、CD−R、CD−RW、DVD、HD、フラッシュメモリ、不揮発性のメモリカード、磁気テープなどがあり、各種記憶媒体からプログラムやデータを本コンピュータシステムにロードすることができる。   The CPU 201 is a central processing unit that comprehensively controls each device connected to the system bus 209. The CPU 201 executes application programs, printer management utility software, printer drivers, port monitors, OSs, network printer control programs, communication programs, and the like stored in the HD 207, and stores information and files necessary for executing the programs in the RAM 206. Control to store temporarily. The ROM 202 stores programs such as basic I / O programs. The external memory 203 includes a flexible disk (FD), a CD-ROM, a CD-R, a CD-RW, a DVD, an HD, a flash memory, a nonvolatile memory card, a magnetic tape, and the like. Can be loaded into the computer system.

キーボード204は、ユーザからクライアントPCに対する入力を指示し、ディスプレイ208は、キーボード204からの入力やアプリケーションプログラムのグラフィックユーザインターフェース(GUI)の表示などを行う。プリンタドライバは印刷条件等の設定のためのGUIを有している。これにより、例えば、ユーザはプリンタ104を使用して印刷する際、印刷設定に関するウインドウを開き、プリンタの設定や印刷モードの選択を含むプリンタドライバに対する印刷処理方法の設定を行うことができるようになっている。通信部205はNICなどを備え、ネットワーク105を介して他のクライアントPC102,103やプリンタ104と通信を行う。   The keyboard 204 instructs the user to input to the client PC, and the display 208 performs input from the keyboard 204 and display of a graphic user interface (GUI) of the application program. The printer driver has a GUI for setting printing conditions and the like. As a result, for example, when printing using the printer 104, the user can open a window related to print settings and set the print processing method for the printer driver, including printer settings and print mode selection. ing. The communication unit 205 includes a NIC and communicates with other client PCs 102 and 103 and the printer 104 via the network 105.

プリンタ104は、ネットワーク管理プロトコルSNMPとデータベースMIBを実装している。クライアントPC101は、プリンタ104とSNMPにて通信することにより、プリンタ104のMIBへアクセスして各種情報を取得できる。図3に示すように、クライアントPC101には、プリンタ104から情報を取得するためのプリンタ情報取得サービス(常駐プログラム)304と、プリンタ104を制御するためのプリンタドライバ300がインストールされている。プリンタドライバ300は、プリンタ情報取得サービス304を用いてプリンタ104のMIB306をアクセスし、プリンタ104の構成に関する情報を取得する。   The printer 104 has a network management protocol SNMP and a database MIB. The client PC 101 can acquire various information by accessing the MIB of the printer 104 by communicating with the printer 104 via SNMP. As shown in FIG. 3, a printer information acquisition service (resident program) 304 for acquiring information from the printer 104 and a printer driver 300 for controlling the printer 104 are installed in the client PC 101. The printer driver 300 accesses the MIB 306 of the printer 104 using the printer information acquisition service 304 and acquires information related to the configuration of the printer 104.

図3はプリンタドライバによるプリンタの構成情報取得のための機能構成を説明するブロック図である。プリンタドライバ300は、プリンタの機種に依存しないドライバ共通部301、プリンタの機種依存の情報を格納している機種依存情報ファイル303、ドライバ共通部301によって制御され、プリンタの機種依存の処理を実現するための機種依存モジュール302を含む。
FIG. 3 is a block diagram illustrating a functional configuration for acquiring printer configuration information by the printer driver. The printer driver 300 is controlled by the driver common unit 301 that does not depend on the printer model, the model-dependent information file 303 that stores the model-dependent information of the printer, and the driver common unit 301, and realizes printer model-dependent processing. A model-dependent module 302 is included.

ドライバ共通部301は、例えば、図4Aに示されるようなユーザインターフェース(UI)400をディスプレイ208上に表示する。UI400を表示する際に、ドライバ共通部301は機種依存情報ファイル303の内容を解析し、データをRAM206に読み込む。UI400において、「デバイス設定1」タブを選択すると、デバイス設定用画面401が表示される。ここで、デバイス名402やプリンタの外観図403は機種依存情報ファイル303の解析により取得されたものである。
For example, the driver common unit 301 displays a user interface (UI) 400 as illustrated in FIG. 4A on the display 208. When displaying the UI 400, the driver common unit 301 analyzes the contents of the model-dependent information file 303 and reads the data into the RAM 206. When the “device setting 1” tab is selected on the UI 400, a device setting screen 401 is displayed. Here, the device name 402 and the external view 403 of the printer are obtained by analyzing the model-dependent information file 303 .

さて、図4Aに示したようなUI400において、構成情報取得ボタン405をクリックすると、図4Bに示すUI420が表示される。即ち、ドライバ共通部301は、RAM206に読み込まれた機種依存情報を参照して、図4Bに示すようなUIをクライアントPC101上のディスプレイモニタ208に表示する。なお、図4Bに示されるUI420は、図6(a)に示すような構成情報を含む機種依存情報ファイルをドライバ共通部301が読み込んだ場合の表示例である。
When the configuration information acquisition button 405 is clicked on the UI 400 as shown in FIG. 4A, the UI 420 shown in FIG. 4B is displayed. That is, the driver common unit 301 refers to the model-dependent information read into the RAM 206 and displays a UI as shown in FIG. 4B on the display monitor 208 on the client PC 101. A UI 420 shown in FIG. 4B is a display example when the driver common unit 301 reads a model-dependent information file including configuration information as shown in FIG.

ここで、図6(a)に示す構成情報について説明する。図6(a)の*Featureは当該機能のUIコントロールを示しており、図6(a)の601の例では“OutputOptions”コントロールであり、図4BのUI420におけるコントロール421に対応している。また、603は“PaperDeck”コントロールであり、図4BのUI420におけるコントロール422に対応している。*Feature内に記述された各*Optionは当該*Featureの選択肢を定義したものであり、*Featureに関連付けられたUIコントロールの要素を構成している。この*Optionは互いに排他であり、*Featureは常に何れかの一つの*Optionを設定として持っている。また、*NameはUIに表示される文字列を示している。機種依存情報ファイル303には、図6(b)に示すようなプリンタの構成情報を記述することが可能であり、構成情報を記述するとUI上にはプリンタの構成情報に対応したコントロールが表示されることになる。図6に示される他の記述については後述する。   Here, the configuration information shown in FIG. * Feature in FIG. 6A indicates the UI control of the function. In the example 601 in FIG. 6A, the “OutputOptions” control corresponds to the control 421 in the UI 420 in FIG. 4B. Reference numeral 603 denotes a “PaperDeck” control, which corresponds to the control 422 in the UI 420 in FIG. 4B. Each * Option described in * Feature defines the option of the * Feature, and constitutes a UI control element associated with * Feature. This * Option is mutually exclusive, and * Feature always has any one * Option as a setting. * Name indicates a character string displayed on the UI. In the model-dependent information file 303, printer configuration information as shown in FIG. 6B can be described. When the configuration information is described, controls corresponding to the printer configuration information are displayed on the UI. Will be. Other descriptions shown in FIG. 6 will be described later.

ドライバ共通部301は、図3に示すプリンタ情報取得サービス304から公開されているプリンタ情報取得インタフェース304aを取得することで、プリンタドライバ300に関連付けられているプリンタから構成情報を取得することができる。なお、プリンタ情報取得サービス304はオペレーティングシステム(OS)に持たせておくものとする。プリンタ情報取得インタフェース304aを用いてプリンタの構成情報を取得する際は、OSの特定のフォルダに格納されたXML形式の変換情報ファイル305に記述されている、プリンタMIBに関連付けられたキーワードを指定する。なお、この変換情報ファイルは、ベンダーによらず共通の変換情報と、ベンダーに依存する非共通の変換情報を含み、共通の変換情報はOSから提供され、非共通部分はベンダーから提供されるようにする。   The driver common unit 301 can acquire configuration information from a printer associated with the printer driver 300 by acquiring the printer information acquisition interface 304a disclosed from the printer information acquisition service 304 shown in FIG. Assume that the printer information acquisition service 304 is provided in the operating system (OS). When acquiring printer configuration information using the printer information acquisition interface 304a, a keyword associated with the printer MIB described in the conversion information file 305 in XML format stored in a specific folder of the OS is designated. . The conversion information file includes common conversion information regardless of the vendor and non-common conversion information depending on the vendor. The common conversion information is provided from the OS, and the non-common part is provided from the vendor. To.

ドライバ共通部301は上述の機種依存情報ファイル303の構成情報(図6(a))に記載されたQueryKeywordを用いて、プリンタ情報取得サービス304にプリンタの構成情報の問い合わせを行う。プリンタ情報取得サービス304は、インタフェース304aを介してプリンタドライバ300(ドライバ共通部301)から構成情報取得の問い合わせがくると、QueryKeywordによって指定された変換情報ファイル305を参照し、関連付けられたプリンタMIBの状態をプリンタ306に対して問い合わせ、取得した結果をプリンタドライバ300に返す。結果を取得したプリンタドライバ300は、結果に応じて構成情報を変更しUIに反映させる。
The driver common unit 301 makes an inquiry about the printer configuration information to the printer information acquisition service 304 by using the QueryKeyword described in the configuration information (FIG. 6A) of the model-dependent information file 303 described above. When a printer driver 300 (driver common unit 301) receives a configuration information acquisition query from the printer driver 300 (driver common unit 301) via the interface 304a, the printer information acquisition service 304 refers to the conversion information file 305 specified by QueryKeyword, and the associated printer MIB. The printer 306 inquires about the status and returns the acquired result to the printer driver 300. The printer driver 300 that has acquired the result changes the configuration information according to the result and reflects it in the UI.

次に、プリンタドライバ300の自動構成情報取得処理について図5のフローチャートを用いて説明する。ここでは、図6(a)に示す構成情報を含む機種依存ファイル303を持つプリンタドライバ300がプリンタ104の構成情報を取得する場合を例にとって説明する。図4Bに示した通り、このフローチャートの最初の状態では、Output Optionsには、“Not Installed”が設定されているものする。
Next, automatic configuration information acquisition processing of the printer driver 300 will be described with reference to the flowchart of FIG. Here, a case where the printer driver 300 having the model-dependent file 303 including the configuration information illustrated in FIG. 6A acquires the configuration information of the printer 104 will be described as an example. As shown in FIG. 4B, in the initial state of the flow chart, the Output Options, it is assumed that "Not Installed" is set.

プリンタ104におけるオプションの着脱等によりプリンタ104の構成に変化が起こった場合に、プリンタ情報取得サービス304からプリンタドライバ300に対してイベントが通知される。プリンタ104における構成の変化の検出方法としては、プリンタ104からプリンタ情報取得サービス304に対して構成の変化の発生を通知するようにしてもよいし、プリンタ情報取得サービス304が所定の時間間隔でプリンタ104に対して構成を問い合わせ、構成の変化を検出するようにしてもよい。なお、図5では上記イベント通知をトリガとして構成情報取得処理を起動するが、構成情報取得処理の起動タイミングはイベント通知に限られるものではなく、プリンタドライバ300のインストール時、起動時、構成情報取得ボタン405がクリックされたときに構成情報取得処理を実行するようにする。   When a change occurs in the configuration of the printer 104 due to attachment / detachment of an option in the printer 104, an event is notified from the printer information acquisition service 304 to the printer driver 300. As a configuration change detection method in the printer 104, the printer 104 may notify the printer information acquisition service 304 of the occurrence of the configuration change, or the printer information acquisition service 304 may notify the printer at a predetermined time interval. The configuration may be inquired of 104, and a change in the configuration may be detected. In FIG. 5, the configuration information acquisition process is started by using the event notification as a trigger. However, the start timing of the configuration information acquisition process is not limited to the event notification, and the configuration information acquisition is performed when the printer driver 300 is installed or started. The configuration information acquisition process is executed when the button 405 is clicked.

ステップS501において、ドライバ共通部301は、プリンタ情報取得サービス304からのイベント通知を受信すると、ステップS502へ進み、プリンタ情報取得サービス304からプリンタ情報取得インタフェース304aを取得する。次に、ステップS503において、ドライバ共通部301は機種依存情報ファイル303を参照して機種依存情報を取得する。ここで取得する機種依存情報には、図6(a)に示すような各機能の構成情報取得のための情報が記述されている。   In step S501, when the driver common unit 301 receives an event notification from the printer information acquisition service 304, the driver common unit 301 proceeds to step S502, and acquires the printer information acquisition interface 304a from the printer information acquisition service 304. In step S <b> 503, the driver common unit 301 refers to the model-dependent information file 303 and acquires model-dependent information. In the model-dependent information acquired here, information for acquiring configuration information of each function as shown in FIG. 6A is described.

図6(a)において、機能毎に定義された*Featureエントリ内の*ConfigQueryエントリには、ドライバ共通部301がプリンタ情報取得インタフェース304a(プリンタ構成情報取得サービス304)を用いてプリンタ104の構成情報を取得するための情報が記述されている。*ConfigQueryエントリ内の*QueryKeywordは、取得したい構成情報に対応したキーワードを指定するエントリである。例えば、プリンタドライバ300からプリンタ情報取得インタフェース304aを用いてOutputOptionsに関する構成の問い合わせをする際には、このキーワード(Finishing.OutputOptions)を指定する。プリンタ情報取得サービス304が保持しているXML形式の変換情報ファイル305には上記キーワードとプリンタMIBの対応が記述されている。従って、プリンタドライバから上記キーワードによる問い合わせが来ると、プリンタ情報取得サービス304は指定されたキーワードにマッピングされたプリンタMIBの状態を取得することができる。なお、*PickupOptionは、装着の有無を問い合わせたいOption名をLIST内に記述しておくためのエントリである。また、*Optionエントリ内の*Valueエントリは、各Optionの装着を問い合わせる際にプリンタ情報取得サービス304から返ってくる値を評価するために用いる。   In FIG. 6A, in the * ConfigQuery entry in the * Feature entry defined for each function, the driver common unit 301 uses the printer information acquisition interface 304a (printer configuration information acquisition service 304) to configure the configuration information of the printer 104. The information for acquiring is described. * QueryKeyword in the * ConfigQuery entry is an entry that specifies a keyword corresponding to the configuration information to be acquired. For example, when inquiring about a configuration related to OutputOptions using the printer information acquisition interface 304a from the printer driver 300, this keyword (Finishing.OutputOptions) is specified. The conversion information file 305 in the XML format held by the printer information acquisition service 304 describes the correspondence between the keyword and the printer MIB. Therefore, when an inquiry by the keyword is received from the printer driver, the printer information acquisition service 304 can acquire the status of the printer MIB mapped to the designated keyword. Note that * PickupOption is an entry for describing in the LIST the Option name to be inquired about whether or not it is attached. The * Value entry in the * Option entry is used to evaluate the value returned from the printer information acquisition service 304 when inquiring about the installation of each Option.

図5のフローチャートに戻ると、ドライバ共通部301は上記で説明したような機種依存情報を取得した後、ステップS504に進み、ステップS502で取得したプリンタ構成情報取得インタフェース304aに対して*QueryKeywordに記述されたキーワードを指定して構成情報の問い合わせを実行する。   Returning to the flowchart of FIG. 5, the driver common unit 301 acquires the model-dependent information as described above, and then proceeds to step S504 to describe * QueryKeyword for the printer configuration information acquisition interface 304a acquired in step S502. Specify the specified keyword and execute the configuration information query.

以下、図8の変換情報ファイルの例と、図10のフローチャートを参照して、ドライバ共通部301から構成情報の問い合わせを受けたプリンタ情報取得サービス304が実行する構成情報取得処理について説明する。   The configuration information acquisition process executed by the printer information acquisition service 304 that has received an inquiry about the configuration information from the driver common unit 301 will be described below with reference to the example of the conversion information file in FIG. 8 and the flowchart in FIG.

ステップS504による問い合わせを受けたプリンタ情報取得サービス304は、指定されたキーワードにマッピングされたプリンタMIBのオブジェクトID(oid)を取得し、取得したoidを用いてSNMPプロトコルを用いてプリンタ104より構成情報を取得する。即ち、変換情報ファイル305から、QueryKeywordに記述されたキーワードに対応した記述個所を検索する(ステップS601)。そして検索された記述個所に指定されているoidでもってプリンタ104からMIB情報を取得する(ステップS602)。   Upon receiving the inquiry in step S504, the printer information acquisition service 304 acquires the object ID (oid) of the printer MIB mapped to the specified keyword, and uses the acquired oid to configure the configuration information from the printer 104 using the SNMP protocol. To get. That is, a description location corresponding to the keyword described in QueryKeyword is searched from the conversion information file 305 (step S601). Then, MIB information is acquired from the printer 104 with the oid specified in the retrieved description part (step S602).

図8は、プリンタ情報取得サービス304が参照するXML形式の変換情報ファイル305の例を示したものである。ステップS504で指定されたキーワード“Finishing.OutputOptions”により、図8に示す変換情報の個所が特定され、“Finishing.OutputOptions”に対してプリンタMIBのoid(=1.3.6.1…)が関連付けられている。ここで、“Finishing.OutputOptions”に対応したMIBデータとして、プリンタ104には図7のようなオプションユニット管理テーブルが実装されているとする。オプションユニット管理テーブルには、“Finishing.OutputOptions”に関連する項目のほかに、FaxBoardやPaperFoldingUnitといったような複数の項目を含むリストとなっている。このオプションユニット管理テーブルの複数の項目の中から、特定の名前を抜き出して、フィニッシャ名を取得する場合は、図8に記述してあるとおり、pickup属性に“true”を指定し、〈OutputOptions〉タグ内に、ピックアップする文字列をPickupValueとして記述しておく。
FIG. 8 shows an example of the conversion information file 305 in the XML format that is referred to by the printer information acquisition service 304. The location of the conversion information shown in FIG. 8 is specified by the keyword “Finishing.OutputOptions” specified in step S504, and the oid (= 1.3.6.1...) Of the printer MIB is associated with “Finishing.OutputOptions”. . Here, it is assumed that an option unit management table as shown in FIG. 7 is mounted on the printer 104 as MIB data corresponding to “Finishing.OutputOptions”. The option unit management table is a list including a plurality of items such as FaxBoard and PaperFoldingUnit in addition to items related to “Finishing.OutputOptions”. When a specific name is extracted from a plurality of items in this option unit management table and a finisher name is acquired, “true” is specified in the pickup attribute as described in FIG. 8 and <OutputOptions> The character string to be picked up is described as PickupValue in the tag.

プリンタ情報取得サービス304は、このような指定が変換情報ファイルに存在すると、oidで特定されるMIB情報(本例では図7に示すテーブル)をプリンタから取得し、取得したテーブルの各項目とPickupValueとして記述された文字列とを比較する(ステップS603、S604)。比較した結果、図7のオプションユニット管理テーブル内に合致したものがあれば、その文字列を問い合わせ元のドライバ共通部301に返す(ステップS605、S608)。この例では、図8に示したPickupValueの“Finisher-A2”と、図7のオプションユニット管理テーブル内のIndex2における“Finisher-A2”とが合致する。よって、この合致した文字列“Finisher-A2”をドライバ共通部301に返すことになる。また、合致する文字列がない場合には、“FALSE”をドライバ共通部301に返す(ステップS605、S606)。   If such a designation exists in the conversion information file, the printer information acquisition service 304 acquires MIB information (table shown in FIG. 7 in this example) specified by oid from the printer, and each item of the acquired table and PickupValue Are compared (steps S603 and S604). If there is a match in the option unit management table of FIG. 7 as a result of the comparison, the character string is returned to the driver common unit 301 as the inquiry source (steps S605 and S608). In this example, “Finisher-A2” of PickupValue shown in FIG. 8 matches “Finisher-A2” in Index2 in the option unit management table of FIG. Therefore, the matched character string “Finisher-A2” is returned to the driver common unit 301. If there is no matching character string, “FALSE” is returned to the driver common unit 301 (steps S605 and S606).

なお、pickup属性に“true”が指定されていない場合は、ステップS603からステップS607へ進み、ステップS602で取得されたMIB情報は、要求された機能のみに関する情報であるとして、そのままドライバ共通部301へ返す。また、図7に示すリストの他の項目の情報は、それぞれに対応した機能の情報に従って検索がなされた場合に取得される。例えば、図6(a)の602を参照して情報取得が実行された場合は、図7のStapleUnitが抽出され、ドライバ共通部301へ通知されることになる。   If “true” is not specified in the pickup attribute, the process advances from step S603 to step S607, and the MIB information acquired in step S602 is assumed to be information related to only the requested function, and the driver common unit 301 is used as it is. Return to. Further, information on other items in the list shown in FIG. 7 is acquired when a search is performed in accordance with information on the function corresponding to each item. For example, when information acquisition is executed with reference to 602 in FIG. 6A, the StapleUnit in FIG. 7 is extracted and notified to the driver common unit 301.

図5に戻り、以上のようにして、ステップS505にてドライバ共通部301はプリンタ情報取得サービス304から結果を取得すると、ステップS506において、取得した値を機種依存情報内の*PickupOptionに列挙されているOptionに関連付けられた*Valueの中身と対比、評価する。そして、合致したオプションがあれば、ドライバ管理部は、構成情報を更新する(ステップS507)。ここでは、プリンタ情報取得サービス304から“Finisher-A2”が返るので、図6の(b)に示すように、構成情報における*Feature:OutputOptionの状態を、Finisher-A2に設定する。一方、プリンタ情報取得サービス304から、“FALSE”が返ってきた場合や、機種依存情報内に合致した文字列がない場合には、*Valueに、FALSEが指定されているものを設定する。図6(a)の例では、NotInstalledオプションが設定されることになる。さらに、*ValueにFALSEが指定されているオプションが存在しない場合には、*DefaultOptionに記述されているデフォルトのオプションが設定される。   Returning to FIG. 5, as described above, when the driver common unit 301 acquires the result from the printer information acquisition service 304 in step S505, the acquired value is listed in * PickupOption in the model-dependent information in step S506. Compares and evaluates the contents of * Value associated with the Option. If there is a matched option, the driver management unit updates the configuration information (step S507). Here, since “Finisher-A2” is returned from the printer information acquisition service 304, as shown in FIG. 6B, the state of * Feature: OutputOption in the configuration information is set to Finisher-A2. On the other hand, if “FALSE” is returned from the printer information acquisition service 304 or if there is no matching character string in the model-dependent information, the value for which FALSE is specified is set in * Value. In the example of FIG. 6A, the NotInstalled option is set. In addition, if there is no option for which FALSE is specified for * Value, the default option described in * DefaultOption is set.

次に、ステップS508において、機種依存情報内のすべての構成情報について上記処理を終えたか否かを判断し、すべての構成情報について処理を終えたならば本処理を終了する。一方、ステップS508で未処理の構成情報が存在すると判定された場合は、ステップS503に戻り、上記処理を繰り返す。   Next, in step S508, it is determined whether or not the above processing has been completed for all the configuration information in the model-dependent information. If the processing has been completed for all the configuration information, this processing is terminated. On the other hand, if it is determined in step S508 that there is unprocessed configuration information, the process returns to step S503 and the above process is repeated.

この一連の自動構成情報取得処理の結果、プリンタドライバのUIは図4Bの状態から図9に示すような状態に変化し、現在のプリンタの構成情報がプリンタドライバUIに反映されることになる(図4Bの421が図9ではFinisher-A2になっている)。   As a result of this series of automatic configuration information acquisition processing, the UI of the printer driver changes from the state of FIG. 4B to the state shown in FIG. 9, and the current printer configuration information is reflected in the printer driver UI ( In FIG. 9, 421 in FIG. 4B is Finisher-A2.

以上のように、本実施形態によれば、リストからピックアップすべきオプションの情報を機種依存情報ファイル303内に記述しておくだけで、ドライバ共通部301はリストとして取得されたデバイスの構成情報から任意の情報を特定し、取得することができる。即ち、構成情報がリストで取得されるような場合でも、ドライバの共通性を維持しながら、プリンタドライバの構成情報の自動更新を実現することができる。なお、図8に示す変換情報においてPickupValueの数は構成の選択肢の数に対応する。例えば、選択肢が一つしかない場合はPickupValue1つだけ記述されることになる。また、MIBへアクセスした結果、取得対象の構成に関する情報のみが得られる項目については、図8に示す変換情報におけるpickupの値は“false”に設定されたものとなる。   As described above, according to the present embodiment, the driver common unit 301 can obtain from the device configuration information acquired as a list only by describing information on options to be picked up from the list in the model-dependent information file 303. Arbitrary information can be identified and acquired. That is, even when the configuration information is acquired as a list, automatic update of the configuration information of the printer driver can be realized while maintaining the commonality of the drivers. In the conversion information shown in FIG. 8, the number of PickupValues corresponds to the number of configuration options. For example, if there is only one option, only one PickupValue is described. For items for which only information related to the configuration to be acquired is obtained as a result of accessing the MIB, the pickup value in the conversion information shown in FIG. 8 is set to “false”.

<その他の実施形態>
なお、上記実施形態では、デバイスとしてプリンタを想定しているが、他のデバイスとしてFAX、複写機、複合機、ルータなどあらゆる機器において同様であり、これに限るものではない。
<Other embodiments>
In the above embodiment, a printer is assumed as a device. However, the other devices are the same in all devices such as a FAX, a copier, a multifunction peripheral, and a router, and are not limited thereto.

また、上記実施形態のデバイス管理システムは、1つのサービス(常駐プロセス)と複数のクライアント(プリンタドライバ、プリンタ管理アプリケーション)を想定しているが、デバイス管理システムは、複数のプロセスで実現されていても、単一のプロセスで実現されていても良い。同様にデバイス管理システムは、複数の端末(PC)からなる構成であっても、単一の端末からなる構成であっても良い。本実施形態では、プリンタから情報を取得するためのプロトコルとしてSNMPを想定しているが、あらゆる接続形態、通信プロトコルにおいて同様であり、これに限るものではない。   The device management system of the above embodiment assumes one service (resident process) and a plurality of clients (printer driver, printer management application), but the device management system is realized by a plurality of processes. Alternatively, it may be realized by a single process. Similarly, the device management system may be composed of a plurality of terminals (PC) or may be composed of a single terminal. In this embodiment, SNMP is assumed as a protocol for acquiring information from a printer, but the same applies to all connection forms and communication protocols, and the present invention is not limited to this.

さらに、上記実施形態では、情報取得サービス304がプリンタのMIB情報を取得し、取得したMIB情報が複数の構成情報を含むリストの場合にはQueryKeywordに対応した構成情報をリストから抽出し、抽出した構成情報をドライバ共通部301へ通知している。しかしながら、ドライバ共通部301が情報取得サービス304よりリストの形態のまま構成情報を受け取り、図6の(a)に示した*Valueとリスト内の情報(文字列)を比較することで必要な構成情報を抽出するようにしてもよい。   Furthermore, in the above-described embodiment, the information acquisition service 304 acquires the MIB information of the printer, and when the acquired MIB information is a list including a plurality of configuration information, the configuration information corresponding to QueryKeyword is extracted from the list and extracted. The configuration information is notified to the driver common unit 301. However, the driver common unit 301 receives the configuration information from the information acquisition service 304 in the form of a list, and the required configuration is obtained by comparing * Value shown in FIG. 6A and information (character string) in the list. Information may be extracted.

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

この場合、記憶媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.

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

また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

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

本実施形態におけるネットワーク構成の概略図である。It is the schematic of the network structure in this embodiment. 本実施形態におけるクライアントPCの構成を表すブロック図である。It is a block diagram showing the structure of the client PC in this embodiment. 本実施形態におけるプリンタドライバ、プリンタ構成情報取得サービス、プリンタ間の関係を表すブロック図である。FIG. 3 is a block diagram illustrating a relationship between a printer driver, a printer configuration information acquisition service, and a printer in the present embodiment. 本実施形態におけるプリンタドライバによるUI例を示す図である。3 is a diagram illustrating an example of a UI by a printer driver according to the present embodiment. 本実施形態におけるプリンタドライバの構成情報の取得前のドライバUIの例を示す図である。3 is a diagram illustrating an example of a driver UI before acquisition of configuration information of a printer driver in the present embodiment. FIG. 本実施形態における自動構成情報取得の動作を表すフローチャートである。It is a flowchart showing the operation | movement of automatic configuration information acquisition in this embodiment. 本実施形態における機種依存情報ファイルの記述例を示す図である。It is a figure which shows the example of a description of the model dependence information file in this embodiment. 本実施形態におけるプリンタから取得できるフィニッシャーオプションテーブルを示す図である。It is a figure which shows the finisher option table which can be acquired from the printer in this embodiment. 本実施形態におけるフィニッシャーオプション情報を取得する為のXMLファイルの記述例を示す図である。It is a figure which shows the example of a description of the XML file for acquiring the finisher option information in this embodiment. 本実施形態におけるプリンタドライバの構成情報の取得後のドライバUIの例を示す図である。6 is a diagram illustrating an example of a driver UI after acquisition of configuration information of a printer driver in the present embodiment. FIG. プリンタ情報取得サービスによる構成情報の取得処理を示すフローチャートである。5 is a flowchart illustrating configuration information acquisition processing by a printer information acquisition service.

Claims (10)

通信可能に接続されたデバイスを制御するデバイスドライバが組み込まれた情報処理装置によるデバイス構成情報の取得方法であって、
特定手段が、前記デバイスに装着可能な構成に関する記述が格納された記述ファイルを参照して、前記装着可能な構成の装着状態を示す状態情報を取得するためのキーワードを特定する特定工程と、
取得手段が、前記特定工程によって特定されたキーワードに基づいて前記デバイスへのアクセス情報を取得し、該アクセス情報を用いて該デバイスにアクセスして、前記デバイスに装着されている構成を示す状態情報を取得する取得工程と、
抽出手段が、前記取得工程で取得した状態情報が複数の構成に関する情報を含み、さらに前記記述が前記キーワードに関連して複数の選択肢を含む場合に、前記取得工程で取得した状態情報が含む複数の構成の中から、前記複数の選択肢のそれぞれに対応する構成を抽出する抽出工程と、
更新手段が、前記抽出工程で抽出した構成に基づいて、前記デバイスのデバイス構成情報を更新する更新工程とを備えることを特徴とするデバイス構成情報の取得方法。
A method for acquiring device configuration information by an information processing apparatus incorporating a device driver that controls devices that are communicably connected,
A specifying step of specifying a keyword for acquiring state information indicating a mounting state of the mountable configuration with reference to a description file storing a description related to the configuration that can be mounted on the device;
Status information indicating a configuration in which the acquisition unit acquires access information to the device based on the keyword specified in the specifying step, accesses the device using the access information, and is attached to the device An acquisition process for acquiring
When the state information acquired in the acquisition step includes information on a plurality of configurations, and the description includes a plurality of options related to the keyword, the plurality of state information acquired in the acquisition step includes An extraction step of extracting a configuration corresponding to each of the plurality of options from the configuration of
An update means comprising: an update step of updating device configuration information of the device based on the configuration extracted in the extraction step.
前記デバイスドライバは、複数種類のデバイスに共通の共通処理部と、該共通処理部が機種に応じた処理を実現するための機種依存の情報を提供する機種依存情報とを備え、該機種依存情報は前記デバイスに装着可能な構成を前記デバイスドライバの機能に対応付ける記述を含み、
前記特定工程では、前記共通処理部が前記機種依存情報を参照することにより実行されることを特徴とする請求項1に記載のデバイス構成情報の取得方法。
The device driver includes a common processing unit common to a plurality of types of devices, and model-dependent information that provides model-dependent information for the common processing unit to implement processing according to the model. Includes a description associating a configuration that can be mounted on the device with a function of the device driver,
2. The device configuration information acquisition method according to claim 1, wherein in the specifying step, the common processing unit is executed by referring to the model-dependent information.
前記デバイスと前記共通処理部との間に介在し、前記デバイスへの情報取得のためのアクセスを実行するアクセス処理部が設けられ、前記取得工程と前記抽出工程は前記アクセス処理部によって実行されることを特徴とする請求項2に記載のデバイス構成情報の取得方法。   An access processing unit is provided between the device and the common processing unit to execute access for information acquisition to the device, and the acquisition step and the extraction step are executed by the access processing unit. The method for acquiring device configuration information according to claim 2. 構成に対応する記述をアクセス情報へ変換する変換情報をさらに備え、前記アクセス処理部は前記変換情報を参照して前記アクセス情報を取得することを特徴とする請求項3に記載のデバイス構成情報の取得方法。   The device configuration information according to claim 3, further comprising conversion information for converting a description corresponding to a configuration into access information, wherein the access processing unit acquires the access information with reference to the conversion information. Acquisition method. 前記変換情報には、構成に対応する記述に関して抽出すべき値が登録されており、前記抽出工程では、前記アクセス処理部が前記抽出すべき値を用いて、前記取得工程で取得した状態情報から前記特定された構成の状態情報を抽出し、これを前記共通処理部へ通知することを特徴とする請求項4に記載のデバイス構成情報の取得方法。   In the conversion information, a value to be extracted with respect to the description corresponding to the configuration is registered. In the extraction step, the access processing unit uses the value to be extracted from the state information acquired in the acquisition step. 5. The device configuration information acquisition method according to claim 4, wherein status information of the specified configuration is extracted and notified to the common processing unit. 前記アクセス処理部は、前記情報処理装置に組み込まれるオペレーティングシステムによって提供されることを特徴とする請求項3乃至5のいずれか1項に記載のデバイス構成情報の取得方法。   6. The device configuration information acquisition method according to claim 3, wherein the access processing unit is provided by an operating system incorporated in the information processing apparatus. 前記デバイスにおける構成の変化の発生を検出する検出工程をさらに備え、
前記特定工程は、前記検出工程による構成の変化の発生の検出に応じて起動されることを特徴とする請求項1に記載のデバイス構成情報の取得方法。
A detection step of detecting the occurrence of a configuration change in the device;
2. The device configuration information acquisition method according to claim 1, wherein the specifying step is started in response to detection of occurrence of a change in configuration in the detection step.
通信可能に接続されたデバイスを制御するデバイスドライバが組み込まれた情報処理装置であって、
前記デバイスに装着可能な構成に関する記述が格納された記述ファイルを参照して、前記装着可能な構成の装着状態を示す状態情報を取得するためのキーワードを特定する特定手段と、
前記特定手段によって特定されたキーワードに基づいて前記デバイスへのアクセス情報を取得し、該アクセス情報を用いて該デバイスにアクセスして、前記デバイスに装着されている構成を示す状態情報を取得する取得手段と、
前記取得手段で取得した状態情報が複数の構成に関する情報を含み、さらに前記記述が前記キーワードに関連して複数の選択肢を含む場合、前記取得手段で取得した状態情報が含む複数の構成の中から、前記複数の選択肢のそれぞれに対応する構成の情報を抽出する抽出手段と、
前記抽出手段で抽出した構成の情報に基づいて、前記デバイスのデバイス構成情報を更新する更新手段とを備えることを特徴とする情報処理装置。
An information processing apparatus incorporating a device driver that controls devices connected to be communicable,
A specifying means for specifying a keyword for acquiring state information indicating a mounting state of the mountable configuration with reference to a description file storing a description of the configuration mountable on the device;
Obtaining access information to the device based on the keyword specified by the specifying means, accessing the device using the access information, and acquiring status information indicating a configuration attached to the device Means,
When the status information acquired by the acquisition unit includes information on a plurality of configurations, and the description includes a plurality of options related to the keyword, from among a plurality of configurations included in the status information acquired by the acquisition unit an extraction means for extracting information of a configuration corresponding to each of the plurality of options,
An information processing apparatus comprising: update means for updating device configuration information of the device based on configuration information extracted by the extraction means.
請求項1乃至7のいずれか1項に記載のデバイス構成情報の取得方法をコンピュータによって実行するための制御プログラム。   A control program for executing the device configuration information acquisition method according to any one of claims 1 to 7 by a computer. 請求項1乃至7のいずれか1項に記載のデバイス構成情報の取得方法をコンピュータによって実行するための制御プログラムを格納した記憶媒体。   A storage medium storing a control program for executing the device configuration information acquisition method according to any one of claims 1 to 7 by a computer.
JP2004068155A 2004-03-10 2004-03-10 Device configuration information acquisition method and information processing apparatus Expired - Fee Related JP4458884B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004068155A JP4458884B2 (en) 2004-03-10 2004-03-10 Device configuration information acquisition method and information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004068155A JP4458884B2 (en) 2004-03-10 2004-03-10 Device configuration information acquisition method and information processing apparatus

Publications (3)

Publication Number Publication Date
JP2005258721A JP2005258721A (en) 2005-09-22
JP2005258721A5 JP2005258721A5 (en) 2007-01-25
JP4458884B2 true JP4458884B2 (en) 2010-04-28

Family

ID=35084383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004068155A Expired - Fee Related JP4458884B2 (en) 2004-03-10 2004-03-10 Device configuration information acquisition method and information processing apparatus

Country Status (1)

Country Link
JP (1) JP4458884B2 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007241877A (en) * 2006-03-10 2007-09-20 Ricoh Co Ltd Print controller, print control method, print control program, and storage medium
JP4783225B2 (en) * 2006-07-04 2011-09-28 株式会社リコー Print control program and information processing apparatus
JP4870621B2 (en) 2006-09-15 2012-02-08 株式会社リコー Information processing apparatus, method, system, program, and recording medium thereof
JP5353993B2 (en) * 2006-09-15 2013-11-27 株式会社リコー Information processing apparatus, method, system, program, and recording medium thereof
JP5173354B2 (en) * 2007-10-22 2013-04-03 京セラドキュメントソリューションズ株式会社 Printing system and printing program
JP2009169646A (en) * 2008-01-16 2009-07-30 Kyocera Mita Corp Device setting system and device setting program
JP2010072804A (en) 2008-09-17 2010-04-02 Ricoh Co Ltd Drive control device and program
JP5617386B2 (en) 2010-07-05 2014-11-05 ブラザー工業株式会社 Control device, image processing system, and program
JP6085982B2 (en) * 2013-02-05 2017-03-01 株式会社リコー Program, information processing apparatus and system
US10547495B2 (en) * 2017-12-22 2020-01-28 Kyocera Document Solutions Inc. Information processing apparatus, recording medium, and information processing method
JP7278772B2 (en) * 2018-12-28 2023-05-22 キヤノン株式会社 Information processing device, control method and application program
JP7255209B2 (en) * 2019-01-31 2023-04-11 ブラザー工業株式会社 Support program, information processing device, and printing method
CN113709196B (en) * 2020-05-20 2023-11-14 奇安信科技集团股份有限公司 Data extraction method, apparatus, computer device, medium, and program product

Also Published As

Publication number Publication date
JP2005258721A (en) 2005-09-22

Similar Documents

Publication Publication Date Title
US20220374182A1 (en) Information processing apparatus, method, system, and medium, with setup page that shows information indicating functions
US7316022B2 (en) Information processing apparatus, information processing method, alternate response apparatus, response method, control program, and network system
US9602678B2 (en) Peripheral device control system and method
US7908609B2 (en) Information processing apparatus with device driver installation control
US8405852B2 (en) Image forming system using a management apparatus to manage software components
JP4459754B2 (en) System and method for driving a policy to query a device
US8640148B2 (en) Information processing apparatus, information processing method and storage medium
US8578062B2 (en) Method and apparatus for enabling enhanced USB interaction
US8773691B2 (en) Printing control apparatus, printing control method, and storage medium
EP1496428A2 (en) System and method for automatic configuration
JP4458884B2 (en) Device configuration information acquisition method and information processing apparatus
US20110261396A1 (en) Control device for managing drivers
US20120059916A1 (en) Network device management system, network device management apparatus, client apparatus, and network device management method
JP6816781B2 (en) Print control program, information processing device and information processing system
US20070299989A1 (en) Information processing apparatus, information processing system, and recording medium
US8422040B2 (en) Image forming system and method, management apparatus, and recording medium
JP5166300B2 (en) Image forming apparatus and image forming system
EP1898306A1 (en) Method and apparatus for variably enabling USB interaction

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061204

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061204

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091116

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100115

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100209

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4458884

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130219

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140219

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees