[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP2019128857A - Device driver - Google Patents

Device driver Download PDF

Info

Publication number
JP2019128857A
JP2019128857A JP2018011034A JP2018011034A JP2019128857A JP 2019128857 A JP2019128857 A JP 2019128857A JP 2018011034 A JP2018011034 A JP 2018011034A JP 2018011034 A JP2018011034 A JP 2018011034A JP 2019128857 A JP2019128857 A JP 2019128857A
Authority
JP
Japan
Prior art keywords
driver
setting screen
information
main body
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2018011034A
Other languages
Japanese (ja)
Inventor
佳佑 森田
Keisuke Morita
佳佑 森田
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 JP2018011034A priority Critical patent/JP2019128857A/en
Publication of JP2019128857A publication Critical patent/JP2019128857A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

To solve the problem of a driver consisting of a separate driver body and driver UI, that installing just the driver body does not allow a driver setting UI to be launched, in which case, a setting screen available is just a simple OS-standard UI.SOLUTION: An appropriate combination of a driver body and a driver UI is retrieved and associated to allow for launching a driver UI prepared by a vendor as a setting screen.SELECTED DRAWING: Figure 6

Description

本発明は、デバイスドライバーを扱うための情報処理装置、プログラム及びシステムに関する。   The present invention relates to an information processing apparatus, program, and system for handling a device driver.

まず、本願はドライバーの本体とドライバーの設定用ユーザーインターフェース(以下、ドライバーUI)が分離した構成をとるドライバー形態におけるものである。ドライバーの本体とドライバーUIが分離した構成とは、ドライバーパッケージがドライバー本体とドライバーUIに分離しており、それぞれ別に情報処理装置に導入することが可能である形態のことを指す。また、ここでのドライバー本体とはドライバーが担う中心的な機能を持つ部分であり、具体的にはプリンターであるなら印刷処理、ファクシミリ(FAX)であればFAXの送信処理が該当する。   First, the present application is directed to a driver in which a driver main body and a driver setting user interface (hereinafter referred to as a driver UI) are separated. The configuration in which the driver main body and the driver UI are separated refers to a form in which the driver package is separated into the driver main body and the driver UI and can be separately introduced into the information processing apparatus. The driver main body here is a portion having a central function that the driver assumes. Specifically, the driver main body corresponds to a printing process for a printer, and a FAX transmission process for a facsimile (FAX).

次に、ドライバーUIとはドライバー本体に対して行う詳細な設定画面を表示するプログラムのことを指し、ドライバーUIが未導入の場合はオペレーティングシステム(OS)が標準的に持っているOS標準UIが起動する。この際、ドライバー本体はOSのシステム部分に格納され、原則としてOSが管理を行う事に対し、ドライバーUIは別途、OSの関与しない通常のプログラムとしてインストールが行われる。このため、ドライバー本体からドライバーUIにある設定画面を開くためには、ドライバー本体に対してドライバーUIのインストール情報をシステムに登録する必要がある。   Next, the driver UI refers to a program that displays a detailed setting screen for the driver body. When the driver UI is not installed, the OS standard UI that the operating system (OS) has as a standard is to start. At this time, the driver main body is stored in the system portion of the OS and is managed by the OS as a general rule, whereas the driver UI is separately installed as a normal program not involving the OS. For this reason, in order to open the setting screen in the driver UI from the driver main body, it is necessary to register installation information of the driver UI in the system for the driver main body.

しかし、本登録処理を行わない場合は、ドライバーUIが未導入の場合と同様に設定画面がOS標準UIとなり、必要最低限の設定しか提供されず、詳細な設定を行うことができないという問題が発生する。   However, if this registration processing is not performed, the setting screen becomes the OS standard UI as in the case where the driver UI has not been installed, and only the minimum necessary settings are provided, and detailed settings cannot be performed. Occur.

また、特許文献1では、別のドライバーのユーザーインターフェースを関連付けるという手段を取っているが、2つのドライバー間での差異が大きかった場合、設定が保存できないなどの問題が起こる可能性がある。また、特許文献1の方法は、ドライバーに組み込まれたUIの置き換えを想定しているため、署名が崩れるといった問題もある。   Japanese Patent Application Laid-Open No. 2004-228620 takes measures to associate the user interface of another driver, but if the difference between the two drivers is large, there is a possibility that a problem such as the inability to save the setting may occur. Moreover, since the method of Patent Document 1 assumes replacement of the UI incorporated in the driver, there is also a problem that the signature is broken.

特開2014−178823号公報JP 2014-178823 A

本発明の目的は、ドライバーUIのバージョンよりも新しい構成のドライバー本体が導入されていた場合でも、適切な組み合わせでドライバー本体とドライバーUIの関連付けを行い、設定画面を開くことができる情報処理システムを提供することにある。また、ドライバー本体と関連付いているドライバーUIよりも適切なドライバーUIがあった場合、関連付けをより適切なドライバーUIに修正することもできる情報処理システムを提供することにある。   An object of the present invention is to provide an information processing system capable of opening a setting screen by associating a driver body and a driver UI with an appropriate combination even when a driver body having a newer configuration than the driver UI version has been introduced. It is to provide. It is another object of the present invention to provide an information processing system capable of correcting an association to a more appropriate driver UI when there is a more appropriate driver UI than a driver UI associated with the driver main body.

上記の目的を達成するために、本発明に係る情報処理システムは、
情報処理装置、印刷装置から構成され、ドライバーとドライバーの設定画面が分離した構成の情報処理システムであって、
ドライバーの情報を取得する手段(S602)と、
ドライバーの設定画面の情報を取得する手段(S601)と、
前記ドライバーと前記ドライバーの設定画面が適切な組み合わせかを判定する手段(S604)と、
ドライバーとドライバーの設定画面の関連付け情報を登録する手段(S606)と、
を有することを特徴とする。
In order to achieve the above object, an information processing system according to the present invention is
An information processing system comprising an information processing apparatus and a printing apparatus, and a driver and a setting screen of the driver being separated,
A means for acquiring driver information (S602);
Means for acquiring information on a driver setting screen (S601);
Means for determining whether the driver and the setting screen of the driver are an appropriate combination (S604);
Means for registering association information of a driver and a driver setting screen (S606);
It is characterized by having.

本発明に係る情報処理システムによれば、ドライバーUIのバージョンよりも新しい構成のドライバー本体が導入されていた場合でも、適切な組み合わせでドライバー本体とドライバーUIの関連付けを行い、設定画面を開くことができる。また、ドライバー本体と関連付いているドライバーUIよりも適切なドライバーUIがあった場合、関連付けをより適切なドライバーUIに修正することもできる。   According to the information processing system of the present invention, even when a driver body having a newer configuration than the driver UI version is introduced, the driver body and the driver UI can be associated with each other in an appropriate combination, and the setting screen can be opened. it can. Further, when there is a driver UI more appropriate than the driver UI associated with the driver main body, the association can be corrected to a more appropriate driver UI.

システム構成を示す図Diagram showing system configuration クライアントコンピュータのハードウェア構成を示す図The figure which shows the hardware constitutions of the client computer ドライバーセットの構成を示す図Diagram showing the configuration of the driver set ドライバー拡張関連付け定義のデータの一例Example of driver extension association definition data 機種依存版のドライバーUIの一例Example of model-dependent driver UI OS標準ドライバーUIの一例An example of OS standard driver UI 本発明の基本処理のフローFlow of basic processing of the present invention 適切なドライバー本体とドライバーUIの組み合わせが適切かを判定するフローFlow to determine whether the proper combination of driver body and driver UI is appropriate 類似ドライバーUIの探索と関連付け処理を示すフローFlow showing search and association processing of similar driver UI 機種非依存版のドライバーUIの一例Example of model-independent driver UI 機種非依存版のドライバーの関連付け処理を示すフローFlow showing association processing of driver of model independent version 関連付け修復処理を示すフローFlow showing association repair process

以下、本発明を実施するための形態について図面を用いて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1に、本発明に係るシステム構成の概略を表す模式図を示す。   FIG. 1 is a schematic view showing an outline of a system configuration according to the present invention.

このシステムは、情報処理装置の一例であるクライアントコンピュータ101とページ記述言語(PDL)形式の印刷データを受信し印刷を行うことが可能なプリンター102を備える。これらは、Wide Area Network(WAN)を含むネットワーク103を通じて相互に通信可能である。   This system includes a client computer 101, which is an example of an information processing apparatus, and a printer 102 capable of receiving print data in the page description language (PDL) format and printing. These can communicate with each other through a network 103 including a wide area network (WAN).

なお、プリンター102は、印刷機能のみを備えるシングルファンクションプリンタでも、印刷機能、スキャン機能、複写機能を備えるマルチファンクションプリンタでも構わない。また、クライアントコンピュータ101は、ネットワーク103に対し一台に限らず、複数台接続されていても構わない。   The printer 102 may be a single function printer having only a print function, or a multi-function printer having a print function, a scan function, and a copy function. Further, the number of client computers 101 is not limited to one, and a plurality of client computers 101 may be connected to the network 103.

図2は、図1のクライアントコンピュータ101のハードウェア構成を示すブロック図である。   FIG. 2 is a block diagram showing the hardware configuration of the client computer 101 of FIG.

クライアントコンピュータ101において、中央演算処理装置(CPU201)は、ランダムアクセスメモリ(RAM202)に記憶されているプログラムに従って、システムバスに接続される各デバイスを制御する。なお、クライアントコンピュータ101は、少なくとも1つのCPU201を備える。加えて、CPU201が外部メモリ209に記憶されているプログラムに基づき処理を実行することによって、クライアントコンピュータ101のソフトウェア構成及び後述するフローチャートの各ステップの処理が実現される。このRAM202は、CPU201の主メモリ、ワークエリア等として機能する。   In the client computer 101, a central processing unit (CPU 201) controls each device connected to the system bus according to a program stored in a random access memory (RAM 202). The client computer 101 includes at least one CPU 201. In addition, the CPU 201 executes processing based on a program stored in the external memory 209, thereby realizing the software configuration of the client computer 101 and the processing of each step in the flowchart described below. The RAM 202 functions as a main memory, a work area, and the like of the CPU 201.

203は、リードオンリーメモリ(ROM)である。ROM203は、ブートプログラムや基本入出力システム(BIOS)等の各種プログラムが書き込まれてある。操作入力装置インターフェース(I/F)204は、キーボードやポインティングデバイス(マウス)タッチUI(User Interface)などの操作入力装置205を制御するインターフェースである。ディスプレイI/F206はディスプレイ207への画面表示を制御する。外部メモリI/F208は、例えばハードディスク(HD)、ソリッドステートディスク(SSD)等の外部メモリ209とのアクセスを制御する。外部メモリ209は、オペレーティングシステムプログラム(OS)210をはじめ、タッチパネル、デスクトップそれぞれに対応したアプリケーション212、プリンタードライバーを含むドライバー3006を含む。そして、各種ファイル等を記憶し、クライアントコンピュータ101が読み取り可能な記憶媒体として機能する。ネットワークI/F213は、ネットワーク103を介してプリンター102に接続され通信制御処理を行なう。   Reference numeral 203 denotes a read only memory (ROM). The ROM 203 stores various programs such as a boot program and a basic input / output system (BIOS). The operation input device interface (I / F) 204 is an interface for controlling the operation input device 205 such as a keyboard or a pointing device (mouse) touch UI (User Interface). The display I / F 206 controls screen display on the display 207. An external memory I / F 208 controls access to an external memory 209 such as a hard disk (HD) or solid state disk (SSD). The external memory 209 includes an operating system program (OS) 210, an application 212 corresponding to each of the touch panel and the desktop, and a driver 3006 including a printer driver. And various files etc. are memorize | stored and it functions as a storage medium which the client computer 101 can read. A network I / F 213 is connected to the printer 102 via the network 103 and performs communication control processing.

図3を用いて、ドライバーセット3000の構成と配置先について説明する。ここでのドライバーセットとは、ドライバーが設定を行い、デバイスに対して処理を実行するために必要なモジュールや記憶ストレージ領域のことを指す。   The configuration and arrangement destination of the driver set 3000 will be described with reference to FIG. Here, the driver set refers to a module and storage storage area required for the driver to set and execute processing on the device.

まずドライバーセット3000は、OS210、ドライバー3001、アプリケーション212、それぞれの領域に分離して配置される。機種依存ファイル3002は、機種ごとの禁則のルールや機能の一覧、工場出荷値の印刷設定やロケールごとのデフォルトの印刷設定などのファイルで構成される。グラフィックスモジュール3003は、ドライバー3001が印刷をする際に印刷対象のファイルをPDL(Page Description Language)に変換を行う機能を担当する。   First, the driver set 3000 is separately arranged in the OS 210, the driver 3001, and the application 212. The model-dependent file 3002 is composed of files such as a list of prohibited rules and functions for each model, factory default print settings, and default print settings for each locale. The graphics module 3003 takes charge of a function of converting a file to be printed into PDL (Page Description Language) when the driver 3001 performs printing.

また、ドライバーUIモジュール21201はドライバーセット3000が導入された後に、印刷時に呼び出され、詳細な印刷設定を行うことを可能とするモジュールである。   A driver UI module 21201 is a module that is called at the time of printing after the driver set 3000 is installed, and enables detailed print settings.

また、ドライバー拡張関連付け定義20101はドライバー3001がどの設定画面を開くかの定義であり、例としてOSが持つ設定データベース領域(図4)に情報を登録する。ここでは、特にドライバUIの配置場所を定義したドライバーUIのファイルパス401とドライバー本体を一意に特定するための情報であるドライバー本体ID402に関して取り上げる。ドライバー3001が設定画面を開く場合、まずドライバー3001が、ドライバー本体ID402を使って設定データベースにあるドライバー拡張関連付け定義20101を検索する。その上で、ドライバー本体ID402が一致したドライバーに関し、ドライバーUIのファイルパス401を元に登録されているドライバーUIを呼び出す。   The driver extension association definition 20101 is a definition of which setting screen the driver 3001 opens. For example, information is registered in a setting database area (FIG. 4) of the OS. Here, the driver UI file path 401 that defines the location of the driver UI and the driver main body ID 402 that is information for uniquely identifying the driver main body will be described here. When the driver 3001 opens the setting screen, the driver 3001 first uses the driver main body ID 402 to search for the driver extension association definition 20101 in the setting database. Then, the driver UI registered on the basis of the file path 401 of the driver UI is called for the driver whose driver body ID 402 matches.

また、以後ドライバーUIと区別を明確にするためドライバー3001をドライバー本体と呼ぶ。   Hereinafter, the driver 3001 is referred to as a driver main body in order to make the distinction from the driver UI clear.

まず、本実施例の概要について説明する。   First, an outline of the present embodiment will be described.

ドライバー本体内部にドライバーUIモジュール21201を含める形でパッケージを作成する場合は、OS210がドライバーUIモジュール21201の関連付け情報の登録も含めて管理を行うため、各ベンダーは特殊な処理をすることなく図5(A)のような詳細な設定画面を呼び出すことができる。ただし、ドライバーUIモジュール21201をアプリケーション212として導入する場合、ドライバーUIは通常のアプリケーションと同じ扱いとなるため、OS210がドライバーUIモジュール21201をドライバー関連のモジュールとして認識できない。この場合は、ドライバー本体から開かれる設定画面は図5(B)のようなOS標準ドライバーUIとなる。例えアプリケーションとしてドライバーUIモジュール21201がOSに導入済みだったとしても、ドライバー拡張関連付け定義20101に関連付け情報が登録されない限り、同様にOS標準ドライバーUIが開かれる。   When creating a package including the driver UI module 21201 in the driver main body, the OS 210 performs management including registration of association information of the driver UI module 21201. Therefore, each vendor does not perform special processing. A detailed setting screen like (A) can be called. However, when the driver UI module 21201 is introduced as the application 212, the driver UI is handled in the same way as a normal application, and thus the OS 210 cannot recognize the driver UI module 21201 as a driver-related module. In this case, the setting screen opened from the driver body is an OS standard driver UI as shown in FIG. Even if the driver UI module 21201 is already installed in the OS as an application, the OS standard driver UI is similarly opened unless the association information is registered in the driver extension association definition 20101.

このため、ドライバーUIモジュール21201をOS210に導入する場合はドライバー拡張関連付け定義20101に、ドライバー本体との関連付け情報を登録する必要があり、これにより図5(A)のような詳細な設定画面を開くことができるようになる。   For this reason, when the driver UI module 21201 is installed in the OS 210, it is necessary to register association information with the driver main body in the driver extension association definition 20101, thereby opening a detailed setting screen as shown in FIG. Will be able to

図6は、前述のドライバーUIとドライバー本体の関連付け情報を登録する処理を示すフローである。   FIG. 6 is a flowchart showing a process of registering association information between the driver UI and the driver main body.

なお、本例においてはドライバーUIをインストールする際にインストーラが行うことを前提とするため、本実施例におけるフローの主語は基本的にインストーラとして説明する。しかし、Point & Printのインストールを始め、ドライバーUIのインストーラを介さない形でインストールされる系も考えられる。例えば、「プログラムの削除」等のインストールプログラムを管理する画面の「変更」や「修復」ボタンの処理が実行されるタイミングで処理を行う系が例として挙げられる。あるいはOSのサービスやタスクスケジューラを用いる事で、「ユーザーのログイン時」「PC起動時」「一定時間ごと」「指定時刻」等の所定のタイミングで実行させても良い。また、OSがドライバーのインストールを通知するイベントを発行する場合は、その仕組みを利用しても良い。その場合、主語はOS210もしくは、OS210によって起動されたサービス等でも良いものとする。   In this example, since it is assumed that the installer performs the installation when installing the driver UI, the subject of the flow in this example is basically described as an installer. However, there is also conceivable a system in which installation of Point & Print is started and installation is performed without using the driver UI installer. For example, a system that performs processing at the timing when the processing of the “change” or “repair” button on the screen for managing the installation program such as “deletion of program” is executed can be cited. Alternatively, it may be executed at a predetermined timing such as “when the user logs in”, “when the PC starts up”, “every predetermined time”, or “specified time” by using an OS service or a task scheduler. Further, when the OS issues an event for notifying the driver installation, the mechanism may be used. In that case, the subject may be the OS 210 or a service started by the OS 210.

ここから、本フローにおけるドライバーUIとドライバー本体の関連付け処理について説明する。   From here, the association process of the driver UI and the driver main body in this flow will be described.

まず、処理対象となるドライバーUIの取得を行う(S601)。本処理では、ドライバーUIのインストーラが管理しているものの取得を指す。ここで取得する対象はドライバーUIの名称や配置されている場所、関連しているドライバーUIに関する情報も併せて取得するものとする。   First, the driver UI to be processed is acquired (S601). This processing refers to acquisition of what is managed by the driver UI installer. It is assumed that the target to be acquired here is information on the name and location of the driver UI, and information on the related driver UI as well.

次にインストール済みのドライバー本体の取得を行う(S602)。ここで取得するのは未処理のインストール済みドライバーの中から1機種分の取得を行う。この際に、取得した機種の関連情報、例えばドライバーの名称や能力情報を始めとする情報の取得も併せて行う。   Next, the installed driver main body is acquired (S602). Here, one model is acquired from unprocessed installed drivers. At this time, information related to the acquired model type, for example, information including the name of the driver and ability information, is also acquired.

ここで、取得を行った機種のドライバー本体にドライバー拡張関連付け定義が登録済みであるかどうかの判定を行う(S603)。既に登録済みであった場合は処理をスキップし、S607に移動し、未登録の場合はS604に移動し登録処理を行う。   Here, it is determined whether or not the driver extension association definition has been registered in the driver proper of the acquired model (S603). If it has already been registered, the processing is skipped, and the processing proceeds to S 607. If it is not registered, the processing proceeds to S 604 and the registration processing is performed.

未登録であった場合はドライバー本体とドライバーUIが適切な組み合わせであるかの判定を行う(S604)。本処理の詳細は後述する。   If it is not registered, it is determined whether the driver main body and the driver UI are an appropriate combination (S604). Details of this process will be described later.

S604の処理の結果、ドライバー本体とドライバーUIが適切な組み合わせであるとされた場合は、ドライバー拡張関連付け定義20101に関連付けの登録を行う。具体的には処理対象となっているドライバー本体のドライバーUIのファイルパス401情報に、適切とされた組み合わせのドライバーUIのパスを登録する。   As a result of the processing in S604, when it is determined that the driver body and the driver UI are an appropriate combination, the association is registered in the driver extension association definition 20101. Specifically, the path of the driver UI of the appropriate combination is registered in the file path 401 information of the driver UI of the driver main body to be processed.

最後に、未処理のドライバー本体が残っているか判定をし、全て処理済みであった場合は処理を終了し、未処理のドライバー本体が残っていた場合はS602に遷移し、残りのドライバーの処理を行う(S607)。   Finally, it is determined whether or not an unprocessed driver body remains. If all the drivers have been processed, the process ends. If there is an unprocessed driver body, the process proceeds to S602 to process the remaining drivers. (S607).

以上の処理により、ドライバー本体とドライバーUIの関連付け情報の登録を行うことで、詳細な設定画面を開くことが可能となる。   By the above processing, by registering the association information of the driver main body and the driver UI, it becomes possible to open the detailed setting screen.

図7では、図6のフロー中の処理である、ドライバー本体とドライバーUIの組み合わせが適切なのかどうかの判定処理の詳細を示すフローである。なお、これらの判定のいずれかで条件で対象とするデバイスで無いという判定となったら、フローの処理を終了し、適切な組み合わせはで無いという結果を返す(S707)。   FIG. 7 is a flow showing the details of the process in the flow of FIG. 6 for determining whether the combination of the driver main body and the driver UI is appropriate. If any of these determinations indicates that the device is not a target device, the flow processing is terminated and a result indicating that an appropriate combination is not obtained is returned (S707).

まず、最初にドライバー本体が対象とする種別のものであるのかの判定を行う(S701)。ここでは、まずドライバーが対象とするデバイスがプリンターであるのか、FAXであるのかの分類や、対象とするドライバーのClassVerの情報等から判定される大まかな分類から対象とするデバイスであるのかの判定を行う。   First, it is determined whether the driver body is the target type (S701). Here, it is first determined whether the device targeted by the driver is a printer or FAX, and whether the device is a target device based on a rough classification determined based on the ClassVer information of the target driver. I do.

次に製造元情報等を用いた対象機種の判定を行う(S702)。これはドライバーに登録されている製造元情報から自社のものかどうかの判定を行う。この際、製品名に特定の表現を用いている場合、この表現を元として分類を行っても良い。例えば、例えばカラー・モノクロ機で「〜Color〜」が入っているかどうかを判定条件に用いる等である。   Next, the target model is determined using manufacturer information or the like (S702). This is determined from the manufacturer information registered in the driver whether or not it belongs to the company. At this time, when a specific expression is used for the product name, the classification may be performed based on this expression. For example, it is used as a determination condition whether or not "-Color--" is included in a color / monochrome machine, for example.

次にドライバー本体がサポートする機種であるかどうかの条件を元に判定を行う(S703)。本状件はドライバーUIがサポートする機種名やドライバーID等の情報を元に対象とするデバイスかどうかを判定する。   Next, a determination is made based on a condition as to whether or not the driver body is a supported model (S703). In this case, based on information such as the model name and driver ID supported by the driver UI, it is determined whether or not the device is a target device.

上記対象とする機種であるかの判定を終えた後、対象とするデバイスのドライバー本体がドライバーUIに関連付けられるかの判定に移る。本判定のひとつとして、まずバージョン情報が合致するかの判定を行う(S704)。本判定では、バージョンの番号の一致だけでなく、マイナーバージョン以下が食い違っていたとしても一致として判断するといった判定や、前後1バージョンなら問題なしと判断するなど、少しの違いなら許容するといった条件の持たせ方を行っても良い。   After the determination as to whether the model is the target, the process proceeds to determination whether the driver main body of the target device is associated with the driver UI. As one of the determinations, first, it is determined whether the version information matches (S704). In this judgment, not only the version number matches but also the judgment that it is judged that there is no problem if there is a minor version or less, and that there is no problem if it is one version before and after, etc. You may do it.

最後にドライバー本体が関連付け可能な状態かの判定を行う(S705)。例えばドライバー本体がインストールされた状態であっても、OSの「デバイスとプリンター」等にキューが生成されていない等、実際にポートが割り当てられていない場合は、OS上に存在していても使用可能で無い場合がある。また、不正ポートが割り当たっている場合も同様である。また、リモートデスクトップ接続時に生成されるリダイレクトプリンター等に対しては、ドライバーUIを割り当てなくとも詳細設定画面が起動するため、ドライバーUIの関連付けは行わない方が良いため、この場合も関連付けが不可能であるという判定とする。   Finally, it is determined whether the driver main body can be associated (S705). For example, even if the driver itself is installed, if a port is not actually assigned, such as when a queue is not created in the OS “device and printer”, etc., it is used even if it exists on the OS It may not be possible. The same applies to the case where an illegal port is assigned. In addition, since it is better not to associate the driver UI with the redirect printer, etc. that is generated when the remote desktop is connected, it is better not to associate the driver UI because the driver UI is not assigned. It is determined that

これら全ての条件に合致した場合は、関連付けを行うのに適切な組み合わせであるという結果を返す(S706)。   If all these conditions are met, the result that the combination is appropriate for association is returned (S706).

以上の判定処理を行うことで、適切なドライバーの組み合わせかの判定を行う。   By performing the above determination processing, it is determined whether the driver combination is appropriate.

本実施例においては、これらの処理を行うことで、適切な組み合わせのドライバー本体とドライバーUIの関連付け定義の登録を行うことができる。   In this embodiment, by performing these processes, it is possible to register an association definition of an appropriate combination of a driver body and a driver UI.

実施例1においては、ドライバーUIが対応しているドライバー本体に関しては関連付けを行うことができた。ただ、デバイスのシリーズごとにパッケージを分けているような場合に関しては、シリーズごとのドライバーUIが別々に存在していることとなり、それらに対して逐一の関連付け処理を呼び出す作業が必要であった。例えば、PCL版とPS版のドライバーUIがあった場合、PCL版のドライバーUIの関連付け処理を呼び出した後に、PS版のドライバーUIの関連付け処理も別途呼び出す必要があった。   In the first embodiment, it is possible to associate the driver main body corresponding to the driver UI. However, in the case where the package is divided for each device series, the driver UI for each series exists separately, and it is necessary to call the association process for each of them. For example, when there are PCL version and PS version driver UIs, it is necessary to separately call the PS version driver UI association process after calling the PCL version driver UI association process.

本実施例においては、対象となっているドライバーUIと類似のドライバーUIを探索し、類似ドライバーがあった場合は、そのドライバーUIの関連付け処理も呼び出すことで、一括で全シリーズのドライバーUIの関連付け処理を行う。   In this embodiment, a search is made for a driver UI similar to the target driver UI, and if there is a similar driver, the association process of the driver UI is also called, thereby associating all the series of driver UIs together. Do the processing.

図8のフローは本実施例の処理を示すフローである。基本的には実施例1の図6のS601〜S607の処理フローに処理対象のドライバーUIと類似のドライバーUIがあるかの探索処理S801、S802の追加を行うことで処理を実現する。   The flow of FIG. 8 is a flow showing the processing of this embodiment. Basically, the processing is realized by adding search processing S801 and S802 for whether there is a driver UI similar to the processing target driver UI in the processing flow of S601 to S607 in FIG.

まず、実施例1のS607の処理が終了した際に、処理対象となっているドライバーUIと類似のドライバーUIが無いか探索を行う(S801)。ここでの探索方法は、例えば「プログラムの削除」において『「Office Laser Printer 〜」で始まる』といった先頭文字の一致で、類似のドライバーUIの検索を行う、あるいは正規表現に合致するものやレーベンシュタイン距離を用いた文字列の一致度を用いる等でも良い。あるいは、ドライバーUIが配置されているディレクトリと同階層か1階層上、または会社やプロジェクトで定めた特定の領域以下に配置されているか、等を元に探索する方法である。本処理に関して、構成が大幅に異なることが想定されている場合、予め管理テーブル等に探索方法や呼び出し方法を登録しておくといった方法を用いても構わない。   First, when the processing of S607 of the first embodiment is completed, a search is performed for a driver UI similar to the driver UI that is the processing target (S801). The search method here is, for example, matching of the first character such as "start with" Office Laser Printer ~ "in" deleting a program ", to search for a similar driver UI, or to match a regular expression, or Levenstein It is also possible to use the matching degree of the character string using the distance. Alternatively, the search is based on whether the driver UI is arranged in the same hierarchy or one hierarchy as the directory in which the driver UI is arranged, or in a specific area or less determined by the company or project. In the case where it is assumed that the configuration is significantly different in this processing, a method of registering a search method and a calling method in advance in a management table or the like may be used.

類似のドライバーUIが見つかった場合は、そのドライバーUIを処理の対象とし、S602〜S607の関連付け処理の呼び出しを行う(S802)。   If a similar driver UI is found, that driver UI is targeted for processing, and the association processing from S602 to S607 is called (S802).

以上の処理を行うことで、処理対象となっているドライバーUIと類似のドライバーUIに関しても一括で関連付け処理を行うことが可能となる。   By performing the above-described processing, it is possible to collectively perform association processing also for driver UIs similar to the driver UI being processed.

実施例1においては、ドライバーUIが対応しているドライバー本体に対してのみ関連付け処理を行っていた。しかし、ドライバー本体とドライバーUIを別々に配布した場合や、OSに内蔵されているドライバー本体を用いる場合、ドライバー本体とドライバーUIのバージョンが食い違うことで、ドライバーUIが対応していない機種や機能をドライバー本体側が持つ場合がある。このようなケースでは、無理にドライバーUIの関連付けを行っても起動しなかったり、設定が反映されないなどの課題を引き起こす可能性がある。   In the first embodiment, the association process is performed only for the driver main body supported by the driver UI. However, if the driver main unit and the driver UI are distributed separately, or if the driver main unit built in the OS is used, the driver main unit and driver UI versions are different, so models and functions that are not supported by the driver UI. The driver body may have it. In such a case, there is a possibility of causing problems such as not starting or setting not being reflected even if the driver UI is forcibly associated.

そのため、本実施例では図9のように、機種やバージョンに依存しないドライバーUIを予め持たせておき、対応していない機種や機能をドライバー本体が持っていた場合は、図9のような機種非依存のドライバーUIの関連付けを行う。この機種非依存のドライバーUIであるが、図9では違いが分かりやすいように設定項目を絞ったものを例としているが、デバイスやバージョンの違いによる問題が発生しないのであれば、特に種類は問わない。例えば、機種やバージョンに依存しない設定や共通機能を持たせたものや、予め全機能を持たせておき、UIを動的に切り替えるような構造のものでも構わない。   For this reason, in this embodiment, as shown in FIG. 9, when a driver UI that does not depend on the model or version is provided in advance, and the driver main body has a model or function that is not supported, the model as shown in FIG. Associate the independent driver UI. Although this model-independent driver UI is shown in FIG. 9 as an example in which setting items are narrowed down so that the difference is easy to understand, the type is not particularly limited as long as there is no problem due to a difference in device or version. Absent. For example, a configuration that does not depend on the model or version, a configuration that has a common function, or a configuration that has all functions in advance and dynamically switches the UI may be used.

このように機種非依存のドライバーUIを用いることで、機種ごとに造りこまれた図5(A)のようなドライバーUIには劣るものの、ある程度の使用感を保ったドライバーUIを提供することが可能となる。   As described above, by using a model-independent driver UI, although the driver UI as shown in FIG. 5A built for each model is inferior to the driver UI, it is possible to provide the driver UI with a certain sense of use. It becomes possible.

図10を用いて説明すると、実施例1の図6のフローのS605で、適切な組み合わせのドライバー本体とドライバーUIが見つからなかった場合に、図9の機種非依存のドライバーUIとドライバー本体との関連付けを行う(S1001)。   To explain using FIG. 10, when the driver main body and the driver UI of the appropriate combination are not found in S605 of the flow of FIG. 6 of the first embodiment, the model independent driver UI and the driver main body of FIG. Association is performed (S1001).

これまでの実施例では、ドライバーの関連付けが適切で無いケースが存在する。例えば、実施例1の手段で適切な組み合わせのドライバー本体とドライバーUIの関連付けを行ったとしても、OSの更新機能などによりドライバー本体のみがアップグレードされることで、結果としてバージョンが食い違ってしまう場合がある。   In the embodiments so far, there is a case where the association of the driver is not appropriate. For example, even if the appropriate combination of the driver body and the driver UI is associated by the means of the first embodiment, only the driver body is upgraded by the OS update function or the like, and as a result, the versions may be different. is there.

このような場合、例えばユーザーが最新版のドライバーUIをダウンロードしてきた場合、関連付けを既存のものから最新のドライバーUIに付け替えてしまった方が適切と言える。また、実施例3で機種非依存のドライバーUIを関連付けたケースでも、ユーザーが最新版のドライバーUIを入手したことで、その機種に対応した正式なドライバーUIがあるのであれば、そちらに関連付けを付け替えた方が適切である。   In such a case, for example, when the user downloads the latest driver UI, it can be said that it is appropriate to change the association from the existing one to the latest driver UI. Even in the case where the model-independent driver UI is associated in the third embodiment, if the user obtains the latest driver UI and there is an official driver UI corresponding to the model, the association is made there. It is more appropriate to replace it.

そのため、ドライバーUIとドライバー本体の関連付けが正しいかどうかの判定を行い、関連付けの更新を行う処理に関して図11のフローを用いて説明する。   Therefore, a process for determining whether the association between the driver UI and the driver main body is correct and updating the association will be described with reference to the flowchart of FIG.

まず、最初にインストール済みのドライバー本体の取得を行う(S1101)。本処理は基本的にS602の処理と同様である。   First, the driver main body already installed is acquired (S1101). This process is basically the same as the process of S602.

次に取得したドライバー本体が設定可能なドライバーUIと関連付いているかの判定を行う(S1102)。具体的には、ドライバーUIとドライバー本体のバージョンを比較し、一致しない場合、あるいは一定以上のバージョンの開きがある場合に適切でないという判断とする。この他に、プログラム的にドライバー本体とドライバーUIの能力を動的に取得し、比較することで、適切かを判定する方法や、プログラムの起動処理を走らせてみて、実際にドライバーUIが起動するかどうかを判定の条件としても良い。   Next, it is determined whether the acquired driver main body is associated with a configurable driver UI (S1102). Specifically, the driver UI and the driver main body version are compared, and it is determined that they are not appropriate if they do not match or if there is a certain amount or more of an open version. In addition to this, the driver UI is actually started by dynamically acquiring and comparing the capabilities of the driver main body and the driver UI programmatically and comparing the method to determine whether it is appropriate or by running the program startup process. It is good also as a condition of determination whether or not.

S1102の条件で起動には差し支えないと判定された場合でも、機種非依存のドライバーUIが関連付いていた場合も、機種依存版の正式なドライバーUIがあるのなら、関連付けを更新したほうが良いため、適切でないという判定とし、S1104のステップに遷移する(S1103)。   Even if it is determined that the activation is safe under the conditions of S1102, even if a model-independent driver UI is associated, if there is a model-dependent version of the official driver UI, it is better to update the association. Therefore, it is determined that it is not appropriate, and the process proceeds to step S1104 (S1103).

そこから、S601やS802の処理と同様、処理対象となるドライバーUIを取得する(S1104)。   From there, the driver UI to be processed is acquired as in the processing of S601 and S802 (S1104).

次に、処理対象のドライバー本体がドライバーUIと適切な組み合わせであるかの判定であるが、S604の処理と同様であるため、割愛する(S1105)。   Next, it is determined whether or not the driver body to be processed is an appropriate combination with the driver UI. Since this is the same as the processing in S604, it is omitted (S1105).

S1105の処理の結果、ドライバー本体とドライバーUIが適切な組み合わせであるとされた場合は、S1107の処理に遷移する(S1106)。   If it is determined that the driver main body and the driver UI are an appropriate combination as a result of the process of S1105, the process proceeds to S1107 (S1106).

判定の結果、より適切なドライバー本体とドライバーUIの組み合わせであるとなった場合は、対象となっている組み合わせでドライバー拡張関連付け定義20101の関連付け内容を更新する(S1107)。   If it is determined that the combination of the driver body and the driver UI is more appropriate, the association contents of the driver extension association definition 20101 are updated with the target combination (S1107).

適切な組み合わせで無かった場合は、S1104に移動し、次の未処理のドライバーUIを取得する(S1108)。   If the combination is not appropriate, the process advances to step S1104 to acquire the next unprocessed driver UI (S1108).

最後に、未処理のドライバー本体が残っている場合は、S1101のステップに移動し、 次のドライバー本体の更新判定に移る(S1109)。   Finally, if an unprocessed driver main body remains, the process moves to step S1101 and shifts to the next driver main body update determination (S1109).

以上の処理を行うことで、ドライバーUIとドライバー本体の関連付けが正しいかどうかの判定と、関連付けの更新処理を実施することができる。   By performing the above-described processing, it is possible to determine whether the association between the driver UI and the driver main body is correct and to perform the association update processing.

101 クライアントコンピュータ、201 CPU、202 RAM 101 client computer, 201 CPU, 202 RAM

Claims (5)

情報処理装置、印刷装置から構成され、ドライバーとドライバーの設定画面が分離した構成の情報処理システムであって、
ドライバーの情報を取得する手段(S602)と、
ドライバーの設定画面の情報を取得する手段(S601)と、
前記ドライバーと前記ドライバーの設定画面が適切な組み合わせかを判定する手段(S604)と、
ドライバーとドライバーの設定画面の関連付け情報を登録する手段(S606)と、
を有することを特徴とする情報処理システム。
An information processing system comprising an information processing apparatus and a printing apparatus, and a driver and a setting screen of the driver being separated,
A means for acquiring driver information (S602);
Means for acquiring information on a driver setting screen (S601);
Means for determining whether the driver and the setting screen of the driver are an appropriate combination (S604);
Means for registering association information of a driver and a driver setting screen (S606);
An information processing system characterized by having.
前記情報処理システムの前記ドライバーとドライバーの設定画面が適切な組み合わせかを判定する手段(S604)が、
前記ドライバーが前記ドライバーの設定画面の対象とする種別であるのか判定する手段(S701)と、
前記ドライバーの製造元や部署情報から前記ドライバーの設定画面の対象とするドライバーであるのか判定する手段(S702)と、
前記ドライバーが前記ドライバーの設定画面のサポートする機種であるのかを判定する手段(S703)と、
前記ドライバーが前記ドライバーのバージョンを比較する手段(S704)と、
前記ドライバーが使用可能かを判定する手段(S705)と、
を有することを特徴とする請求項1に記載の情報処理システム。
Means (S604) for determining whether the driver and the driver setting screen of the information processing system are an appropriate combination;
A unit (S701) for determining whether the driver is a target type of the setting screen of the driver;
A means (S702) for judging whether the driver is the target of the setting screen of the driver from the manufacturer and department information of the driver;
A means (S703) for determining whether the driver is a model supported by the setting screen of the driver;
Means for the driver to compare the versions of the driver (S704);
A means (S705) for determining whether the driver can be used;
The information processing system according to claim 1, comprising:
前記ドライバーの設定画面と類似のドライバーの設定画面を処理対象とする手段(S802)を有することを特徴とする請求項1に記載の情報処理システム。 The information processing system according to claim 1, further comprising means (S802) for processing a setting screen of the driver similar to the setting screen of the driver. 前記ドライバーと機種非依存のドライバーの設定画面との関連付け情報を登録する手段(S1001)を有することを特徴とする請求項1に記載の情報処理システム。 The information processing system according to claim 1, further comprising means (S1001) for registering association information between the driver and a model-independent driver setting screen. 前記請求項1記載の情報処理システムが、
前記ドライバーが前記ドライバーの設定画面を使用可能かどうか判定する手段(S1102)と、
前記ドライバーが前記機種非依存のドライバーの設定画面と関連付いているかを判定する手段(S1103)と、を有することを特徴とする印刷システム。
The information processing system according to claim 1,
Means for determining whether the driver can use the setting screen of the driver (S1102);
And a means (S1103) for determining whether the driver is associated with the setting screen of the model-independent driver.
JP2018011034A 2018-01-26 2018-01-26 Device driver Pending JP2019128857A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018011034A JP2019128857A (en) 2018-01-26 2018-01-26 Device driver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018011034A JP2019128857A (en) 2018-01-26 2018-01-26 Device driver

Publications (1)

Publication Number Publication Date
JP2019128857A true JP2019128857A (en) 2019-08-01

Family

ID=67472301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018011034A Pending JP2019128857A (en) 2018-01-26 2018-01-26 Device driver

Country Status (1)

Country Link
JP (1) JP2019128857A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021013485A (en) * 2019-07-11 2021-02-12 株式会社三共 Game machine
JP2021013486A (en) * 2019-07-11 2021-02-12 株式会社三共 Game machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021013485A (en) * 2019-07-11 2021-02-12 株式会社三共 Game machine
JP2021013486A (en) * 2019-07-11 2021-02-12 株式会社三共 Game machine

Similar Documents

Publication Publication Date Title
JP4974909B2 (en) Information processing apparatus, print setting method, storage medium, program
US10089102B2 (en) Information processing apparatus, method, and program
EP3471388B1 (en) Image processing apparatus, method for controlling the same, and program
US11140291B2 (en) Information processing apparatus, control method thereof, and storage medium
JP5487962B2 (en) Operation suppression system, image forming apparatus, operation suppression information providing apparatus, and operation suppression method
US10356267B2 (en) Information processing apparatus, control method, and storage medium
JP5553670B2 (en) Management device, control method thereof, and program
US9086938B2 (en) Information processing apparatus, control method thereof, and storage medium
JP2011233092A (en) Information processor, program and storage medium
US20190245854A1 (en) Server and non-transitory computer-readable recording medium storing computer-readable instructions for server
JP2018081384A (en) Information processing device and authority management method and program
CN113168296B (en) Information processing device, server device, control method, and control program
JP2019128857A (en) Device driver
JP6545332B2 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD, AND PROGRAM
JP2011242891A (en) Distribution device, image processing device, distribution method and installation method
CN101841620B (en) Information processing apparatus, information processing method
EP2998865B1 (en) Method of submitting captured data to an analytics service
JP2019071038A (en) Image processing device, method for controlling the same, and program
US10310780B2 (en) System and control method for installing printer driver
US20200150947A1 (en) Information processing apparatus, updating method by information processing apparatus, and recording medium
JP6377026B2 (en) Information processing apparatus, control method, and program
JP6652297B2 (en) Information processing apparatus, control method therefor, and program
JP7071189B2 (en) Information processing equipment, control methods and programs for information processing equipment
JP2015056137A (en) System and information processing method
EP3699749B1 (en) Image forming device

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20191125