JP6758995B2 - Image processing device, its control method, and program - Google Patents
Image processing device, its control method, and program Download PDFInfo
- Publication number
- JP6758995B2 JP6758995B2 JP2016159136A JP2016159136A JP6758995B2 JP 6758995 B2 JP6758995 B2 JP 6758995B2 JP 2016159136 A JP2016159136 A JP 2016159136A JP 2016159136 A JP2016159136 A JP 2016159136A JP 6758995 B2 JP6758995 B2 JP 6758995B2
- Authority
- JP
- Japan
- Prior art keywords
- image processing
- usb
- operating system
- control
- setting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1224—Client or server resources management
- G06F3/1225—Software update, e.g. print driver, modules, plug-ins, fonts
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/385—Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
- G06F13/4295—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using an embedded synchronisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1284—Local printer device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
- G06F9/4413—Plug-and-play [PnP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00002—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
- H04N1/00071—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for characterised by the action taken
- H04N1/00074—Indicating or reporting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00002—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
- H04N1/00071—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for characterised by the action taken
- H04N1/00082—Adjusting or controlling
- H04N1/00087—Setting or calibrating
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00912—Arrangements for controlling a still picture apparatus or components thereof not otherwise provided for
- H04N1/00938—Software related arrangements, e.g. loading applications
- H04N1/00941—Interaction of different applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Facsimiles In General (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Description
本発明は、画像処理装置及びその制御方法、並びにプログラムに関する。 The present invention relates to an image processing device, a control method thereof, and a program.
コピー、スキャン、及びFAX通信等の標準機能を実現する画像処理装置としてのMFPが知られている。MFPは、タッチパネルや操作キー等の操作部を備え、ユーザの操作部の操作によって各標準機能に対応するジョブの実行指示等を受け付ける。MFPには、OS(Operating System)モジュールが予め組み込まれており、USBメモリやUSBキーボード等のUSBデバイスが接続されると、MFPは接続されたUSBデバイスをOSモジュールによって制御して該USBデバイスをMFPの一部として使用する。また、MFPは、拡張アプリケーションモジュール(以下、単に「拡張アプリ」という。)をインストールしてMFPの標準機能では実現できない機能を拡張可能であり、拡張アプリもMFPに接続されたUSBデバイスを制御する。拡張アプリは汎用性を確保するように設計され、複数のMFPの機種や複数のUSBデバイスの機種に対応している。 MFPs are known as image processing devices that realize standard functions such as copying, scanning, and fax communication. The MFP is provided with operation units such as a touch panel and operation keys, and receives job execution instructions and the like corresponding to each standard function by operating the operation unit of the user. An OS (Operating System) module is pre-installed in the MFP, and when a USB device such as a USB memory or a USB keyboard is connected, the MFP controls the connected USB device by the OS module to control the USB device. Used as part of the MFP. In addition, the MFP can expand the functions that cannot be realized by the standard functions of the MFP by installing the extension application module (hereinafter, simply referred to as "extension application"), and the extension application also controls the USB device connected to the MFP. .. The extension app is designed to ensure versatility and is compatible with multiple MFP models and multiple USB device models.
MFPでは、一つのUSBデバイスに対してOSモジュール及び拡張アプリの両方が制御を行うと、該USBデバイスが誤動作を引き起こしてしまう。これに対して、MFPが拡張アプリのインストール時に該拡張アプリから拡張アプリが制御可能なUSBデバイスを識別する識別情報を取得し、接続されたUSBデバイスをOSモジュール及び拡張アプリの何れで制御するかを識別情報に基づいて決定する技術が提案されている(例えば、特許文献1参照)。識別情報は、USBデバイスの機種に対する拡張アプリの汎用性を確保するために、例えば、USBデバイスの単体を識別する情報ではなく、USBデバイスの種別を識別する情報が設定される。 In the MFP, if both the OS module and the extension application control one USB device, the USB device causes a malfunction. On the other hand, when the MFP installs the extension application, it acquires the identification information that identifies the USB device that the extension application can control from the extension application, and controls the connected USB device by the OS module or the extension application. A technique has been proposed in which the above is determined based on the identification information (see, for example, Patent Document 1). For the identification information, for example, information for identifying the type of the USB device is set instead of the information for identifying a single USB device in order to ensure the versatility of the extended application for the model of the USB device.
ところで、MFPでは、コスト削減の観点で操作部のうち操作キー部をUSBデバイスとして外付けするといった新たな構成が検討されている。新たな構成のMFPでは、従来と異なり、操作キー部も拡張アプリの制御対象に含まれ、この拡張アプリをそのまま新たな構成のMFPにインストールすると、操作キー部が誤動作を引き起こす可能性がある。操作キー部の誤動作を防止するために、例えば、操作キー部を含むUSBデバイスの種別(以下、「操作デバイス種別」という。)の設定を識別情報から削除することが考えられる。 By the way, in the MFP, a new configuration is being studied in which the operation key portion of the operation portion is externally attached as a USB device from the viewpoint of cost reduction. Unlike the conventional MFP, the operation key part is also included in the control target of the extended application in the new configuration MFP, and if this extended application is installed as it is in the new configuration MFP, the operation key part may cause a malfunction. In order to prevent malfunction of the operation key unit, for example, it is conceivable to delete the setting of the type of USB device including the operation key unit (hereinafter, referred to as "operation device type") from the identification information.
しかしながら、操作デバイス種別の設定を識別情報から削除すると、拡張アプリにおいて、操作キー部以外の操作デバイス種別に対応する他のUSBデバイスの使用も制限され、USBデバイスに対する拡張アプリの汎用性を確保することができない。また、USBデバイスに対する拡張アプリの汎用性を考慮して、新たな構成のMFP専用のアプリとして、操作デバイス種別の設定を削除した識別情報を含む拡張アプリを開発すると、当該拡張アプリは他のMFPで使用することができない。そのため、MFPの機種に対する拡張アプリの汎用性を確保することができない。すなわち、従来では、MFPにおいて拡張アプリの識別情報に対応する仕様が従来のMFPの仕様と異なる場合、拡張アプリの汎用性を確保することができない。 However, if the operation device type setting is deleted from the identification information, the use of other USB devices corresponding to the operation device type other than the operation key part is restricted in the extended application, and the versatility of the extended application for the USB device is ensured. Can't. In addition, considering the versatility of the extended app for USB devices, if an extended app that includes identification information with the operation device type setting deleted is developed as an app dedicated to MFPs with a new configuration, the extended app will become another MFP. Cannot be used with. Therefore, the versatility of the extended application for the MFP model cannot be ensured. That is, conventionally, when the specifications corresponding to the identification information of the extended application in the MFP are different from the specifications of the conventional MFP, the versatility of the extended application cannot be ensured.
本発明の目的は、拡張アプリの汎用性を確保することができる画像処理装置及びその制御方法、並びにプログラムを提供することにある。 An object of the present invention is to provide an image processing device, a control method thereof, and a program capable of ensuring the versatility of an extended application.
上記目的を達成するために、本発明の画像処理装置は、オペレーティングシステム及び機能を拡張するための拡張アプリケーションを備える画像処理装置であって、前記画像処理装置に接続可能な接続デバイスを、前記オペレーティングシステムによって制御するか前記拡張アプリケーションによって制御するかをユーザに設定させる設定手段と、前記画像処理装置に接続された接続デバイスと通信する通信手段と、前記接続デバイスが前記画像処理装置を操作する所定の操作デバイスであるか否かを判別する判別手段と、前記接続デバイスを前記オペレーティングシステム及び前記拡張アプリケーションのいずれかによって制御する制御手段とを備え、前記接続デバイスが前記所定の操作デバイスである場合、前記設定手段の設定に関わらず、前記制御手段は、前記接続デバイスを前記オペレーティングシステムによって制御することを特徴とする。 In order to achieve the above object, the image processing apparatus of the present invention is an image processing apparatus including an operating system and an extended application for expanding functions, and a connecting device connectable to the image processing apparatus is operated. operations and setting means for setting whether to control by the extended application or controlled by the system user, and a communication means for communicating with the image processing apparatus connected to the connection device, the connection device is the image processing apparatus A determination means for determining whether or not the connection device is a predetermined operation device, and a control means for controlling the connection device by either the operating system or the extended application are provided, and the connection device is the predetermined operation device. In some cases, regardless of the setting of the setting means, the control means is characterized in that the connected device is controlled by the operating system.
本発明によれば、拡張アプリの汎用性を確保することができる。 According to the present invention, the versatility of the extended application can be ensured.
以下、本発明の実施の形態を図面を参照しながら詳述する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
本実施の形態では、画像処理装置としてのMFPに本発明を適用した場合について説明するが、本発明の適用先はMFPに限られず、例えば、接続されたUSBデバイスと通信可能なPC等の情報処理装置であれば本発明を適用することができる。 In the present embodiment, the case where the present invention is applied to an MFP as an image processing device will be described, but the application destination of the present invention is not limited to the MFP, for example, information such as a PC capable of communicating with a connected USB device. The present invention can be applied to any processing device.
図1は、本発明の実施の形態に係る画像処理装置としてのMFP101の構成を概略的に示すブロック図である。
FIG. 1 is a block diagram schematically showing a configuration of an
図1において、MFP101は、制御部102、スキャナ部103、プリンタ部104、HDD105、及び操作部108を備え、制御部102は、スキャナ部103、プリンタ部104、HDD105、及び操作部108のそれぞれと接続されている。操作部108はLCDパネル109及び操作キーデバイス110(接続デバイス)を備え、操作キーデバイス110は後述する図2のUSBI/F211(通信手段)を介してMFP101と接続されている。
In FIG. 1, the MFP 101 includes a
MFP101は、コピー、スキャン、及びFAX通信等の各ジョブを実行し、また、MFP101は後述する図2のUSBI/F211を介して接続されたUSBデバイスをMFP101の一部として使用可能である。さらに、MFP101は複数の拡張アプリケーションをインストール可能である。
The MFP 101 executes each job such as copy, scan, and fax communication, and the MFP 101 can use a USB device connected via the USB I / F 211 of FIG. 2 described later as a part of the
制御部102は接続されたスキャナ部103、プリンタ部104、HDD105、及び操作部108を統括的に制御する。スキャナ部103は、図示しない原稿台に配置された原稿を読み取って画像データを生成し、該画像データをHDD105に出力する。プリンタ部104は、スキャナ部103で生成された画像データをHDD105から取得し、該画像データに基づいて用紙に印刷を行う。また、プリンタ部104は印刷された用紙を図示しない出力トレイ等に出力する。HDD105は不揮発性メモリであり、アプリ格納領域106及び画像格納領域107を備える。アプリ格納領域106には、インストールされた拡張アプリの実行プログラム等が格納され、画像格納領域107にはスキャナ部103で生成された画像データ等が格納される。操作部108はMFP101のユーザインターフェースである。LCDパネル109はユーザのタッチ操作によって入力可能なタッチパネル機能を備える。操作キーデバイス110はテンキーや複数の操作キーを備え、USB規格に準拠し、且つ比較的安価な部品で構成される後述する図2のUSBI/F211を介して通信可能なUSBデバイスである。USBデバイスには該USBデバイスの種別を示すクラスIDが予め設定されており、操作キーデバイス110には各情報を入力するUSBデバイスの種別を示すUSB HID(Human Interface Device)クラスのクラスIDが設定されている。また、後述する図2のUSBメモリ215等のデータを記憶するようなUSBデバイスにはUSBマスストレージクラスのクラスIDが設定されている。
The
図2は、図1の制御部102の構成を概略的に示すブロック図である。
FIG. 2 is a block diagram schematically showing the configuration of the
図2において、制御部102は、CPU201、RAM202、スキャナI/F203、プリンタI/F204、ディスクコントローラ205、フラッシュメモリ206、パネルI/F210、及びUSBI/F211を備える。CPU201、RAM202、スキャナI/F203、プリンタI/F204、ディスクコントローラ205、パネルI/F210、及びUSBI/F211はシステムバス212を介して互いに接続されている。
In FIG. 2, the
CPU201は、フラッシュメモリ206やHDD105に格納されたプログラムを実行して後述する図3のソフトウェアモジュール300の各処理を行う。RAM202はCPU201の作業領域として用いられ、また、RAM202は各データの一時格納領域として用いられる。スキャナI/F203はスキャナ部103とデータ通信を行い、プリンタI/F204はプリンタ部104とデータ通信を行う。ディスクコントローラ205はHDD105及びフラッシュメモリ206へ各データを書き込む処理や、HDD105及びフラッシュメモリ206に格納された各データを読み出す処理を行う。
The
フラッシュメモリ206は不揮発性メモリであり、ファーム格納領域207、設定値格納領域208、及び識別情報格納領域209を備える。ファーム格納領域207にはCPU201が実行する各プログラムが格納され、設定値格納領域208にはMFP101の各設定情報が格納される。識別情報格納領域209には拡張アプリのインストール時に当該拡張アプリから取得された識別情報が格納される。識別情報は拡張アプリが制御可能なUSBデバイスの種別を示すクラスID、或いはベンダID及びプロダクトIDの少なくともいずれかを含む。
The
パネルI/F210はLCDパネル109とデータ通信を行う。USBI/F211は接続されたICカードリーダ213、USBキーボード214、及びUSBメモリ215等のUSBデバイスとデータ通信を行う。本実施の形態では、USBI/F211を介して操作部108の操作キーデバイス110がMFP101に接続され、USBI/F211はユーザの操作キーデバイス110の操作によって入力された入力情報をCPU201に送信する。
The panel I /
図3は、図1のMFP101のソフトウェアモジュール300の構成を概略的に示すブロック図である。
FIG. 3 is a block diagram schematically showing the configuration of the
図3において、ソフトウェアモジュール300は、ファームウェアモジュール301、オペレーティングシステムモジュール(以下、「OSモジュール」という。)、拡張アプリ303、及びUSBマスストレージドライバモジュール304を備える。また、ソフトウェアモジュール300は、USB HIDドライバモジュール305、汎用ドライバモジュール306、ドライバ選択モジュール307、及びUSBI/F制御モジュール308を備える。拡張アプリ303はHDD105に格納され、上述したソフトウェアモジュール300のうち、拡張アプリ303以外のモジュールはフラッシュメモリ206に格納されている。ソフトウェアモジュール300の各処理は、CPU201がフラッシュメモリ206やHDD105に格納されたプログラムを実行することによって行われる。
In FIG. 3, the
ファームウェアモジュール301はOSモジュール302の実行環境を提供するためのモジュールである。OSモジュール302は制御部102の各処理を制御するモジュールであり、MFP101の各モジュールを制御する。例えば、OSモジュール302はUSBI/F211を介して接続されたUSBデバイスのうちOSモジュール302の制御対象デバイスをUSBマスストレージドライバモジュール304及びUSB HIDドライバモジュール305によって制御する。拡張アプリ303はMFP101の標準機能では実現できない拡張機能を実現するためのモジュールであり、MFP101の各モジュールを制御する。例えば、拡張アプリ303はUSBI/F211を介して接続されたUSBデバイスのうち拡張アプリ303の制御対象デバイスを汎用ドライバモジュール306によって制御する。本実施の形態では、ユーザの図4の設定画面400の操作により、拡張アプリ303による制御を行うか、若しくはOSモジュール302による制御を行うかのいずれかを示す制御設定情報をUSBデバイスのクラスID毎に設定可能である。設定画面400は設定ボタン401,402を備える。
The
設定ボタン401はUSB HIDクラスのUSBデバイスに対して拡張アプリ303による制御を行うか、若しくはOSモジュール302による制御を行うかのいずれかを設定するボタンである。設定ボタン401が「ON」に設定されると、USB HIDクラスのUSBデバイスに対して拡張アプリ303による制御を行う旨が設定される。一方、設定ボタン401が「OFF」に設定されると、USB HIDクラスのUSBデバイスに対してOSモジュール302による制御を行う旨が設定される。
The
設定ボタン402はUSBマスストレージクラスのUSBデバイスに対して拡張アプリ303による制御を行うか、若しくはOSモジュール302による制御を行うかのいずれかを設定するボタンである。設定ボタン402が「ON」に設定されると、USBマスストレージクラスのUSBデバイスに対して拡張アプリ303による制御を行う旨が設定される。一方、設定ボタン402が「OFF」に設定されると、USBマスストレージクラスのUSBデバイスに対してOSモジュール302による制御を行う旨が設定される。なお、本実施の形態では、設定画面400における制御設定情報の設定をUSB HIDクラス及びUSBマスストレージクラスである場合について説明したが、これに限られない。例えば、USB HIDクラス及びUSBマスストレージクラス以外の他のクラスの制御設定情報の設定を設定画面400で行ってもよい。設定画面400の操作によって設定された制御設定情報はフラッシュメモリ206の設定値格納領域に格納される。
The
USBマスストレージドライバモジュール304はOSモジュール302の制御対象デバイスのうちUSBマスストレージクラスのUSBデバイスを制御するモジュールである。USB HIDドライバモジュール305はOSモジュール302の制御対象デバイスのうちUSB HIDクラスのUSBデバイスを制御するモジュールである。汎用ドライバモジュール306は拡張アプリ303の制御対象デバイスや、USB HIDクラス及びUSBマスストレージクラス以外の他のクラスIDのUSBデバイスを制御するモジュールである。
The USB mass
ドライバ選択モジュール307は、MFP101にUSBデバイスが接続されたことを検知すると、当該USBデバイスを制御するドライバモジュールを選択する。具体的に、ドライバ選択モジュール307は、MFP101に接続されたUSBデバイスの種別に応じてUSBマスストレージドライバモジュール304、USB HIDドライバモジュール305、及び汎用ドライバモジュール306の中から1つのドライバモジュールを選択する。USBI/F制御モジュール308はUSBI/F211を制御する。本実施の形態では、USBマスストレージドライバモジュール304、USB HIDドライバモジュール305、及び汎用ドライバモジュール306は、USBI/F制御モジュール308を介してMFP101に接続されたUSBデバイスを制御する。
When the
図5は、図1のMFP101で実行されるドライバ選択処理の手順を示すフローチャートである。
FIG. 5 is a flowchart showing a procedure of the driver selection process executed by the
図5の処理は、CPU201がフラッシュメモリ206に格納されたプログラムを実行することによって行われる。図5の処理は、MFP101の起動中にUSBデバイスが接続された場合や、停止中のMFP101にUSBデバイスが接続された状態でMFP101が起動した場合等に行われる。また、図5の処理は、MFP101に複数のUSBデバイスが接続された場合、各USBデバイスに対して実行される。
The process of FIG. 5 is performed by the
ここで、MFP101は、拡張アプリ303が対応する従来のMFPの仕様と異なり、コスト削減の観点で操作部108のうち操作キー部を操作キーデバイス110として外付けする構成である。MFP101では、従来と異なり、MFP101の操作キー部である操作キーデバイス110も拡張アプリ303の制御対象に含まれ、拡張アプリ303をそのままMFP101にインストールすると操作キーデバイス110が誤動作を引き起こす可能性がある。操作キーデバイス110の誤動作を防止するために、例えば、識別情報からUSB HIDクラスの設定を削除することが考えられる。USB HIDクラスの設定を識別情報から削除すると、拡張アプリ303において、操作キーデバイス110以外のUSB HIDクラスの他のUSBデバイス、例えば、USBキーボード214の使用も制限され、USBデバイスに対する拡張アプリ303の汎用性を確保することができない。また、USBデバイスに対する拡張アプリの汎用性を考慮して、MFP101専用の拡張アプリとして、USB HIDクラスの設定を削除した識別情報を含む拡張アプリ303を開発すると、拡張アプリ303が他のMFPに使用することができない。そのため、MFPの機種に対する拡張アプリ303の汎用性を確保することができない。すなわち、従来では、MFP101において、拡張アプリ303の識別情報に対応する仕様が、該拡張アプリ303が対応する従来のMFPの仕様と異なると、拡張アプリの汎用性を確保することができない。
Here, unlike the specifications of the conventional MFP supported by the
これに対応して、本実施の形態では、接続されたUSBデバイスが拡張アプリ303に対応しない所定の操作デバイスである場合、接続されたUSBデバイスがOSモジュール302によって制御される。
Correspondingly, in the present embodiment, when the connected USB device is a predetermined operation device that does not correspond to the
図5において、まず、CPU201は、接続されたUSBデバイスから、USB規格で定められたディスクリプタ情報を取得する(ステップS501)。ディスクリプタ情報はUSBデバイスのクラスIDや、USBデバイス単体を識別する情報、具体的に、ベンダID及びプロダクトIDを含む。次いで、CPU201は、取得されたディスクリプタ情報が拡張アプリ303に対応しない所定の操作デバイスである操作キーデバイス110に対応するか否かを判別する(ステップS502)。所定の操作デバイスは予め設定されている。ステップS502では、取得されたディスクリプタ情報のベンダID及びプロダクトIDが操作キーデバイス110のベンダID及びプロダクトIDと一致する場合、CPU201はディスクリプタ情報が操作キーデバイス110に対応すると判別する。一方、取得されたディスクリプタ情報のベンダID及びプロダクトIDが操作キーデバイス110のベンダID及びプロダクトIDと一致しない場合、CPU201はディスクリプタ情報が操作キーデバイス110に対応しないと判別する。
In FIG. 5, first, the
ステップS502の判別の結果、ディスクリプタ情報が操作キーデバイス110に対応
するとき、CPU201は、接続されたUSBデバイスをOSモジュール302によって制御することを決定し、後述するステップ507以降の処理を行う。すなわち、本実施の形態では、接続されたUSBデバイスが操作キーデバイス110である場合、設定画面400の設定に関わらず、接続されたUSBデバイスがOSモジュール302によって制御される。
As a result of the determination in step S502, when the descriptor information corresponds to the operation
ステップS502の判別の結果、ディスクリプタ情報が操作キーデバイス110に対応しないとき、CPU201はディスクリプタ情報がフラッシュメモリ206に格納された識別情報に対応するか否かを判別する(ステップS503)。ステップS503では、ディスクリプタ情報のクラスIDが識別情報に含まれるクラスID、或いはベンダID及びプロダクトIDと一致する場合、CPU201はディスクリプタ情報が識別情報に対応すると判別する。一方、ディスクリプタ情報のクラスIDが識別情報に含まれるクラスID、或いはベンダID及びプロダクトIDと一致しない場合、CPU201はディスクリプタ情報が識別情報に対応しないと判別する。
As a result of the determination in step S502, when the descriptor information does not correspond to the operation
ステップS503の判別の結果、ディスクリプタ情報が識別情報に対応するとき、CPU201は接続されたUSBデバイスを制御するドライバモジュールとして汎用ドライバモジュール306を選択し(ステップS504)、本処理を終了する。
As a result of the determination in step S503, when the descriptor information corresponds to the identification information, the
ステップS503の判別の結果、ディスクリプタ情報が識別情報に対応しないとき、CPU201は接続されたUSBデバイスのクラスIDをディスクリプタ情報に基づいて特定する。その後、CPU201は接続されたUSBデバイスがUSB HIDクラス又はUSBマスストレージクラスであるか否かを判別する(ステップS505)。
As a result of the determination in step S503, when the descriptor information does not correspond to the identification information, the
ステップS505の判別の結果、接続されたUSBデバイスがUSB HIDクラス及びUSBマスストレージクラスのいずれでもないとき、CPU201はステップS504以降の処理を行う。一方、ステップS505の判別の結果、接続されたUSBデバイスがUSB HIDクラス又はUSBマスストレージクラスであるとき、CPU201はフラッシュメモリ206に格納された制御設定情報を確認する。CPU201は、制御設定情報において、接続されたUSBデバイスの種別に対して拡張アプリ303による制御を行う旨が設定されているか否かを判別する(ステップS506)。
As a result of the determination in step S505, when the connected USB device is neither a USB HID class nor a USB mass storage class, the
ステップS506の判別の結果、拡張アプリ303による制御を行う旨が設定されているとき、CPU201はステップS504以降の処理を行う。一方、ステップS506の判別の結果、拡張アプリ303による制御を行う旨が設定されていないとき、つまり、OSモジュール302による制御を行う旨が設定されているとき、CPU201は接続されたUSBデバイスのクラスIDがUSB HIDクラスであるか否かを判別する(ステップS507)。
As a result of the determination in step S506, when it is set to perform control by the
ステップS507の判別の結果、USB HIDクラスであるとき、CPU201は接続されたUSBデバイスを制御するドライバモジュールとしてUSB HIDドライバモジュール305を選択し(ステップS508)、本処理を終了する。一方、ステップS507の判別の結果、USB HIDクラスでないとき、CPU201は接続されたUSBデバイスを制御するドライバモジュールとしてUSBマスストレージドライバモジュール304を選択し(ステップS509)、本処理を終了する。
As a result of the determination in step S507, when it is in the USB HID class, the
上述した図5の処理によれば、接続されたUSBデバイスが拡張アプリ303に対応しない操作キーデバイス110である場合、接続されたUSBデバイスがOSモジュール302によって制御される。これにより、拡張アプリ303に対応しないことに起因する操作キーデバイス110の誤動作を防止するために拡張アプリ303の識別情報を変更する必要をなくすことができ、もって、拡張アプリ303の汎用性を確保することができる。
According to the process of FIG. 5 described above, when the connected USB device is the operation
また、上述した図5の処理では、接続されたUSBデバイスが操作キーデバイス110である場合、設定画面400の設定に関わらず、接続されたUSBデバイスがOSモジュール302によって制御される。これにより、拡張アプリ303に対応しないことに起因する操作キーデバイス110の誤動作を確実に防止することができる。
Further, in the process of FIG. 5 described above, when the connected USB device is the operation
さらに、上述した図5の処理では、接続されたUSBデバイスから取得した当該USBデバイスを識別するベンダID及びプロダクトIDに基づいて、接続されたUSBデバイスが操作キーデバイス110であるか否かが判別される。これにより、接続されたUSBデバイスが操作キーデバイス110であるか否かを確実に特定することができる。
Further, in the process of FIG. 5 described above, it is determined whether or not the connected USB device is the operation
上述した図5の処理では、USBデバイスは、比較的安価な部品で構成されたUSBI/F211を介して通信可能なUSB HIDクラスのデバイスである。これにより、従来のMFPより生産コストを削減することができる。 In the process of FIG. 5 described above, the USB device is a USB HID class device capable of communicating via USB I / F211 composed of relatively inexpensive parts. As a result, the production cost can be reduced as compared with the conventional MFP.
上述した本実施の形態では、所定の操作デバイスとして操作キーデバイス110が予め設定された場合について説明したが、所定の操作デバイスは操作キーデバイス110に限られず、他の機能を実現するUSBデバイスであっても良い。また、所定の操作デバイスは、1つに限られず、図6に示すように複数のUSBデバイスを所定の操作デバイスとして設定しても良い。
In the above-described embodiment, the case where the operation
また、上述した本実施の形態では、接続されたUSBデバイスが拡張アプリ303による制御を行う旨が設定された種別であっても操作キーデバイス110であるので、当該接続されたUSBデバイスをOSモジュール302によって制御する場合、設定画面400の設定と異なる制御を行う旨をLCDパネル109等に表示(通知)しても良い。これにより、設定画面400の設定と異なる制御が行われることをユーザが容易に把握することができる。
Further, in the above-described embodiment, even if the connected USB device is of the type set to be controlled by the
本発明は、上述の実施の形態の1以上の機能を実現するプログラムをネットワーク又は記憶媒体を介してシステム又は装置に供給し、該システム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読み出して実行する処理でも実現可能である。また、本発明は、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。 The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device read the program. It can also be realized by the processing to be executed. The present invention can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
101 MFP
109 LCDパネル
110 操作キーデバイス
201 CPU
211 USB I/F
302 OSモジュール
303 拡張アプリ
400 設定画面
101 MFP
109
211 USB I / F
302
Claims (9)
前記画像処理装置に接続可能な接続デバイスを、前記オペレーティングシステムによって制御するか前記拡張アプリケーションによって制御するかをユーザに設定させる設定手段と、
前記画像処理装置に接続された接続デバイスと通信する通信手段と、
前記接続デバイスが前記画像処理装置を操作する所定の操作デバイスであるか否かを判別する判別手段と、
前記接続デバイスを前記オペレーティングシステム及び前記拡張アプリケーションのいずれかによって制御する制御手段とを備え、
前記接続デバイスが前記所定の操作デバイスである場合、前記設定手段の設定に関わらず、前記制御手段は、前記接続デバイスを前記オペレーティングシステムによって制御することを特徴とする画像処理装置。 An image processing device that includes an operating system and extended applications for extending functions.
A setting means for causing a user to set whether to control a connected device connectable to the image processing device by the operating system or the extended application.
Communicating means for communicating with connected has been connected device to the image processing apparatus,
A discriminating means for determining whether or not the connected device is a predetermined operating device for operating the image processing device, and
A control means for controlling the connected device by either the operating system or the extended application.
When the connected device is the predetermined operating device, the image processing device is characterized in that the control means controls the connected device by the operating system regardless of the setting of the setting means .
前記画像処理装置に接続可能な接続デバイスを、前記オペレーティングシステムによって制御するか前記拡張アプリケーションによって制御するかをユーザに設定させる設定ステップと、
前記画像処理装置に接続された接続デバイスと通信する通信ステップと、
前記接続デバイスが前記画像処理装置を操作する所定の操作デバイスであるか否かを判別する判別ステップと、
前記接続デバイスを前記オペレーティングシステム及び前記拡張アプリケーションのいずれかによって制御する制御ステップとを有し、
前記接続デバイスが前記所定の操作デバイスである場合、前記設定ステップにおける設定に関わらず、前記制御ステップは、前記接続デバイスを前記オペレーティングシステムによって制御することを特徴とする画像処理装置の制御方法。 A method of controlling an image processing device that includes an operating system and an extended application for extending its functions.
A setting step that allows the user to set whether the connected device that can be connected to the image processing device is controlled by the operating system or the extended application.
A communication step of communicating with the connection have been connected devices in the image processing apparatus,
A determination step for determining whether or not the connected device is a predetermined operating device for operating the image processing device, and
It has control steps that control the connected device by either the operating system or the extended application.
When the connected device is the predetermined operating device, the control step is a control method for an image processing device, characterized in that the connected device is controlled by the operating system regardless of the setting in the setting step .
前記画像処理装置の制御方法は、
前記画像処理装置に接続可能な接続デバイスを、前記オペレーティングシステムによって制御するか前記拡張アプリケーションによって制御するかをユーザに設定させる設定ステップと、
前記画像処理装置に接続された接続デバイスと通信する通信ステップと、
前記接続デバイスが前記画像処理装置を操作する所定の操作デバイスであるか否かを判別する判別ステップと、
前記接続デバイスを前記オペレーティングシステム及び前記拡張アプリケーションのいずれかによって制御する制御ステップとを有し、
前記接続デバイスが前記所定の操作デバイスである場合、前記設定ステップにおける設定に関わらず、前記制御ステップは、前記接続デバイスを前記オペレーティングシステムによって制御することを特徴とするプログラム。 A program that causes a computer to execute a control method of an image processing device having an operating system and an extension application for extending a function.
The control method of the image processing device is
A setting step that allows the user to set whether the connected device that can be connected to the image processing device is controlled by the operating system or the extended application.
A communication step of communicating with the connection have been connected devices in the image processing apparatus,
A determination step for determining whether or not the connected device is a predetermined operating device for operating the image processing device, and
It has control steps that control the connected device by either the operating system or the extended application.
When the connected device is the predetermined operating device, the control step is a program characterized in that the connected device is controlled by the operating system regardless of the setting in the setting step .
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016159136A JP6758995B2 (en) | 2016-08-15 | 2016-08-15 | Image processing device, its control method, and program |
US15/665,773 US10963197B2 (en) | 2016-08-15 | 2017-08-01 | Image processing apparatus that installs application modules, control method therefor, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016159136A JP6758995B2 (en) | 2016-08-15 | 2016-08-15 | Image processing device, its control method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018029223A JP2018029223A (en) | 2018-02-22 |
JP6758995B2 true JP6758995B2 (en) | 2020-09-23 |
Family
ID=61158963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016159136A Active JP6758995B2 (en) | 2016-08-15 | 2016-08-15 | Image processing device, its control method, and program |
Country Status (2)
Country | Link |
---|---|
US (1) | US10963197B2 (en) |
JP (1) | JP6758995B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7439570B2 (en) * | 2020-03-03 | 2024-02-28 | 株式会社リコー | Information processing device, control method, and program |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6957437B1 (en) * | 1999-12-23 | 2005-10-18 | Intel Corporation | Selecting a device driver for a peripheral device adapted to operate on a network and simplifying secondary printer installation |
US7331051B2 (en) * | 2003-04-08 | 2008-02-12 | Synology, Inc. | System and method for installing portable device drivers |
US20050216603A1 (en) * | 2004-03-26 | 2005-09-29 | Michaud Ted R | Method and apparatus for providing USB device support to an interactive system |
GB0504567D0 (en) * | 2005-03-04 | 2005-04-13 | Cambridge Silicon Radio Ltd | Installing drivers |
US7865640B1 (en) * | 2008-01-02 | 2011-01-04 | Buztronics, Inc. | USB web launcher using keyboard scancodes |
CN101515260B (en) * | 2008-02-21 | 2010-12-08 | 扬智科技股份有限公司 | Method for switching device function under condition of not plugging device |
JP5294892B2 (en) * | 2009-01-14 | 2013-09-18 | キヤノン株式会社 | Image forming apparatus, apparatus, control method, and program |
JP2010186239A (en) | 2009-02-10 | 2010-08-26 | Ricoh Co Ltd | Information processing apparatus, program control method, program control program, and storage medium |
US8825909B1 (en) * | 2011-02-28 | 2014-09-02 | Vmware, Inc. | Application directed dynamic driver substitution |
JP5703845B2 (en) * | 2011-03-01 | 2015-04-22 | 株式会社リコー | Information processing apparatus and program |
US20130036431A1 (en) * | 2011-08-02 | 2013-02-07 | Microsoft Corporation | Constraining Execution of Specified Device Drivers |
WO2015165774A1 (en) * | 2014-04-28 | 2015-11-05 | Sfnt Germany Gmbh | Automatic device driver switching |
-
2016
- 2016-08-15 JP JP2016159136A patent/JP6758995B2/en active Active
-
2017
- 2017-08-01 US US15/665,773 patent/US10963197B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
US20180046417A1 (en) | 2018-02-15 |
US10963197B2 (en) | 2021-03-30 |
JP2018029223A (en) | 2018-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5541666B2 (en) | Image forming apparatus, image forming apparatus control method and program | |
JP6265631B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
US9563444B2 (en) | Image forming apparatus having hibernation function according to device connection states, control method therefor, and storage medium | |
JP2014127126A (en) | Program and output system | |
JP2007050649A (en) | Directly printable imaging device and control program | |
JP6627477B2 (en) | External device, device, information processing system, information processing program, device cooperation method, external device cooperation method, and information processing method | |
JP6758995B2 (en) | Image processing device, its control method, and program | |
JP5052417B2 (en) | Image forming apparatus, external device management method, and program | |
JP6303667B2 (en) | Program, information processing apparatus and information processing system | |
JP6085982B2 (en) | Program, information processing apparatus and system | |
JP5573411B2 (en) | Image forming apparatus, program, and installation method | |
JP5900146B2 (en) | Control device, printer driver program, and setting method | |
JP6651895B2 (en) | Equipment, control method and program | |
JP6915565B2 (en) | Image processing device | |
US20180220019A1 (en) | External storage medium processing device and program | |
JP2016100828A (en) | Information processing apparatus, information processing system, control method, and control program | |
US11972159B2 (en) | Image forming device and method of controlling to transmit print data to an image forming device | |
JP2020030697A (en) | Information processing apparatus, terminal device, setting screen display system, and setting screen display method | |
JP6217374B2 (en) | Image processing device, application creation device, management method, creation method, management program, and creation program | |
JP6060686B2 (en) | Control device, printer driver program, and setting method | |
US20240241662A1 (en) | Information processing apparatus and control method therefor | |
JP2016139206A (en) | Electronic equipment | |
JP6365518B2 (en) | Information processing apparatus and image forming apparatus | |
JP6524890B2 (en) | Image forming apparatus and control program | |
JP6494426B2 (en) | Information processing apparatus, information processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190731 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200427 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200526 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200721 |
|
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: 20200804 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200902 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6758995 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |