Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5596376B2 - Peripheral device - Google Patents
[go: Go Back, main page]

JP5596376B2 - Peripheral device - Google Patents

Peripheral device Download PDF

Info

Publication number
JP5596376B2
JP5596376B2 JP2010056531A JP2010056531A JP5596376B2 JP 5596376 B2 JP5596376 B2 JP 5596376B2 JP 2010056531 A JP2010056531 A JP 2010056531A JP 2010056531 A JP2010056531 A JP 2010056531A JP 5596376 B2 JP5596376 B2 JP 5596376B2
Authority
JP
Japan
Prior art keywords
unit
information processing
storage area
processing apparatus
peripheral device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2010056531A
Other languages
Japanese (ja)
Other versions
JP2011191939A (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 Electronics Inc
Original Assignee
Canon Electronics 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 Electronics Inc filed Critical Canon Electronics Inc
Priority to JP2010056531A priority Critical patent/JP5596376B2/en
Priority to US12/942,956 priority patent/US8312184B2/en
Publication of JP2011191939A publication Critical patent/JP2011191939A/en
Priority to US13/659,811 priority patent/US8914558B2/en
Application granted granted Critical
Publication of JP5596376B2 publication Critical patent/JP5596376B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)

Description

本発明は、イメージスキャナ、プリンタまたは複合機などの周辺装置に関する。   The present invention relates to a peripheral device such as an image scanner, a printer, or a multifunction peripheral.

イメージスキャナ、プリンタまたは複合機などの周辺装置は広く普及している。これらの周辺装置に接続するインターフェースとして、シリアルインタフェース、パラレルインタフェース、USB、IEEE1394、LANなどが知られている。ところで、周辺装置をコンピュータ上で使用できるようにするためには、その周辺装置用のデバイスドライバやアプリケーションソフトウエアをインストールしなければならない(特許文献1)。   Peripheral devices such as image scanners, printers, and multifunction peripherals are widely used. As an interface for connecting to these peripheral devices, a serial interface, a parallel interface, USB, IEEE 1394, LAN, and the like are known. Incidentally, in order to be able to use a peripheral device on a computer, it is necessary to install a device driver and application software for the peripheral device (Patent Document 1).

特開2004−334449号公報JP 2004-334449 A

しかし、デバイスドライバやアプリケーションソフトウエアをインストールすることが制限されているコンピュータが存在する。この制限はセキュリティ対策で課されることが多い。例えば、マイクロソフトウインドウズ(登録商標)等のオペレーティングシステム(OS)では、管理者権限を有しているユーザのみがデバイスドライバをインストールできる。したがって、一般ユーザはデバイスドライバやアプリケーションソフトウエアをインストールできないため、周辺装置を利用できなくなってしまう。このような状況は、外出先のコンピュータを使用する場合に度々発生することが予想される。また、従来は、管理者権限を持つユーザであっても、画像読み取り装置を接続する前に、予め、デバイスドライバをインストールしておかなければならなかった。すなわち、従来は、デバイスドライバをパーソナルコンピュータ(PC)にインストールしていない状態で、周辺装置を利用することができなかった。さらに、デバイスドライバは、一般に、CD−ROMにより頒布されている。よって、このCD−ROMを用意しなければ、デバイスドライバをインストールすることができなかった。例えば、CD−ROMを紛失してしまうと、デバイスドライバをインストールすることができなかった。インターネットを介してデバイスドライバを入手できるケースもあるが、そのためにインターネットに接続できる環境が必要である。また、デバイスドライバを提供しているWEBサイトのURLや、周辺装置の種類や名称を正確に把握して入力しなければならず、面倒であった。   However, there are computers that are restricted from installing device drivers and application software. This restriction is often imposed by security measures. For example, in an operating system (OS) such as Microsoft Windows (registered trademark), only a user having administrator authority can install a device driver. Therefore, since a general user cannot install a device driver or application software, the peripheral device cannot be used. Such a situation is expected to occur frequently when using a computer outside the office. Conventionally, even a user having administrator authority has to install a device driver in advance before connecting the image reading apparatus. That is, conventionally, a peripheral device cannot be used without a device driver installed in a personal computer (PC). Furthermore, the device driver is generally distributed by a CD-ROM. Therefore, the device driver cannot be installed unless this CD-ROM is prepared. For example, if the CD-ROM is lost, the device driver cannot be installed. In some cases, the device driver can be obtained via the Internet. For this reason, an environment capable of connecting to the Internet is required. In addition, it is troublesome because it is necessary to accurately grasp and input the URL of the WEB site providing the device driver and the type and name of the peripheral device.

よって、デバイスドライバを情報処理装置にインストールすることなく周辺装置を情報処理装置から利用可能とする周辺装置を提供することについて社会的なニーズがある。具体的に、本発明では、周辺装置を外部記憶装置としてPCに認識させ、周辺装置の記憶領域のうち外部記憶装置として認識されている記憶領域に記憶されているアプリケーションソフトウエアをPC上で起動させる。さらに、PCはアプリケーションソフトウエアにしたがって周辺装置を制御するための制御コマンドを外部記憶装置として認識している記憶領域に書き込む。周辺装置は、外部記憶装置として認識されている記憶領域に制御コマンドに対応したレスポンスを書き込む。これにより、PCは、周辺装置を外部記憶装置として認識したまま周辺装置によって画像を読み取ったりすることが可能となる。   Therefore, there is a social need to provide a peripheral device that allows the peripheral device to be used from the information processing device without installing a device driver in the information processing device. Specifically, in the present invention, the peripheral device is recognized by the PC as an external storage device, and application software stored in the storage area of the peripheral device that is recognized as the external storage device is started on the PC. Let Further, the PC writes a control command for controlling the peripheral device according to the application software in the storage area recognized as the external storage device. The peripheral device writes a response corresponding to the control command in the storage area recognized as the external storage device. Accordingly, the PC can read an image with the peripheral device while recognizing the peripheral device as an external storage device.

ところで、コンピュータが使用するオペレーティングは種々のタイプが存在している。例えば、マイクロソフトウインドウズ(登録商標)、MacOS(登録商標)、Linux(登録商標)などの如くである。また、各オペレーティングシステムが対応しているファイルシステムも多種多様である。また、オペレーティングシステムごとに実行ファイルは異なっている。よって、前記周辺装置をオペレーティングシステムごとに特化して製造することも考えられる。しかし、これでは製造工程が複雑となり、製造コストが嵩む。ユーザの視点では、オペレーティングシステムごとに周辺装置を購入せねばならず、購入負担が重い。よって、同一の周辺装置を複数のオペレーティングシステムで使用できればこれらの課題を解決できる。   There are various types of operating systems used by computers. For example, Microsoft Windows (registered trademark), MacOS (registered trademark), Linux (registered trademark), and the like. There are also a wide variety of file systems supported by each operating system. In addition, the executable file is different for each operating system. Therefore, it is conceivable to manufacture the peripheral device specialized for each operating system. However, this complicates the manufacturing process and increases the manufacturing cost. From the user's point of view, peripheral devices must be purchased for each operating system, and the purchase burden is heavy. Therefore, these problems can be solved if the same peripheral device can be used in a plurality of operating systems.

そこで、本発明は、このような課題および他の課題のうち、少なくとも1つを解決することを目的とする。例えば、本発明は、デバイスドライバやソフトウエアをコンピュータにインストールすることなく、かつ、複数のオペレーティングシステムで周辺装置を利用可能とすることを目的とする。なお、他の課題については明細書の全体を通して理解できよう。   Therefore, an object of the present invention is to solve at least one of such problems and other problems. For example, an object of the present invention is to make it possible to use a peripheral device with a plurality of operating systems without installing a device driver or software in a computer. Other issues can be understood throughout the specification.

本発明は、情報処理装置に対して接続される接続部と、前記情報処理装置からの制御信号に基づいて所定の処理を実行する処理部と、前記情報処理装置との間で前記接続部を介して通信する通信部と、複数の記憶領域を有する記憶部とを備え、前記記憶部は、情報処理装置ごとで種類の異なる複数のオペレーティングシステムにそれぞれ対応した複数の制御プログラムを記憶する第1記憶領域と、前記第1記憶領域から少なくとも1つの制御プログラムが複製される記憶領域であるとともに前記情報処理装置に外部記憶装置として認識される第2記憶領域とを備え、前記情報処理装置に前記外部記憶装置として認識された前記第2記憶領域から前記情報処理装置によって前記制御プログラムが読み出されて実行されることで、前記情報処理装置に制御されることを特徴とする周辺装置が提供される。   The present invention provides a connection unit connected to an information processing device, a processing unit that executes predetermined processing based on a control signal from the information processing device, and the connection unit between the information processing device. And a storage unit having a plurality of storage areas, wherein the storage unit stores a plurality of control programs respectively corresponding to a plurality of different operating systems for each information processing apparatus. A storage area and a second storage area that is a storage area in which at least one control program is replicated from the first storage area and is recognized as an external storage device by the information processing apparatus; The control program is read and executed by the information processing device from the second storage area recognized as an external storage device, so that the information processing device Peripheral device is provided which is characterized in that controlled.

本発明によれば、デバイスドライバやソフトウエアをコンピュータにインストールすることなく、かつ、複数のオペレーティングシステムで周辺装置を利用可能になる。   According to the present invention, a peripheral device can be used with a plurality of operating systems without installing a device driver or software in a computer.

本発明の第1の実施形態に係るパーソナルコンピュータとして例示したコンピュータと画像読み取り装置としてのスキャナのソフトウエアブロック図である。1 is a software block diagram of a computer exemplified as a personal computer and a scanner as an image reading apparatus according to a first embodiment of the present invention. パーソナルコンピュータとして例示するコンピュータとスキャナのハードウエアブロック図である。FIG. 2 is a hardware block diagram of a computer and a scanner exemplified as a personal computer. 本発明の第1の実施形態に係るコンピュータにスキャナ装置を接続した際の処理フローチャートである。4 is a processing flowchart when the scanner device is connected to the computer according to the first embodiment of the present invention. USBディスクドライブとして認識されているメモリ領域に対応したフォルダの一例を示した図である。FIG. 3 is a diagram illustrating an example of a folder corresponding to a memory area recognized as a USB disk drive. FATディスクドライブとして認識されているメモリ領域に対応したフォルダの一例を示した図である。It is the figure which showed an example of the folder corresponding to the memory area recognized as a FAT disk drive. ext2ディスクドライブとして認識されているメモリ領域に対応したフォルダの一例を示した図である。It is a figure showing an example of a folder corresponding to a memory area recognized as an ext2 disk drive. ユーザにより、キャプチャアプリケーションを利用してスキャナ装置で画像読み取りを行うフローを示したフローチャートである。6 is a flowchart illustrating a flow in which a user reads an image with a scanner device using a capture application. キャプチャアプリケーションが起動したときに表示されるユーザインターフェースの一例を示した図である。It is the figure which showed an example of the user interface displayed when a capture application starts. 本発明の第2の実施形態に係るパーソナルコンピュータとして例示したコンピュータと画像読み取り装置としてのスキャナのソフトウエアブロック図である。FIG. 6 is a software block diagram of a computer exemplified as a personal computer and a scanner as an image reading apparatus according to a second embodiment of the present invention. 本発明の第2ならびに第3の実施形態に係るコンピュータにスキャナ装置を接続した際の処理フローチャートである。It is a process flowchart at the time of connecting a scanner apparatus to the computer which concerns on the 2nd and 3rd embodiment of this invention. 本発明の第3の実施形態に係るパーソナルコンピュータとして例示したコンピュータと画像読み取り装置としてのスキャナのソフトウエアブロック図である。FIG. 10 is a software block diagram of a computer exemplified as a personal computer according to a third embodiment of the present invention and a scanner as an image reading apparatus. 本発明の第3の実施形態に係るFATディスクドライブとして認識されているメモリ領域に対応したフォルダの一例を示した図である。It is the figure which showed an example of the folder corresponding to the memory area recognized as a FAT disk drive based on the 3rd Embodiment of this invention. 本発明の第4の実施形態に係るパーソナルコンピュータとして例示したコンピュータと画像読み取り装置としてのスキャナのソフトウエアブロック図である。FIG. 10 is a software block diagram of a computer exemplified as a personal computer according to a fourth embodiment of the present invention and a scanner as an image reading apparatus. 本発明の第4の実施形態に係るパーソナルコンピュータとして例示するコンピュータとスキャナのハードウエアブロック図である。It is a hardware block diagram of a computer and a scanner exemplified as a personal computer according to a fourth embodiment of the present invention. 本発明の第4の実施形態に係るキャプチャアプリケーション210、215のユーザインターフェースの一例を示した図である。It is a figure showing an example of a user interface of capture applications 210 and 215 concerning a 4th embodiment of the present invention.

以下に本発明の一実施形態を示す。以下で説明される個別の実施形態は、本発明の上位概念、中位概念および下位概念など種々の概念を理解するために役立つであろう。また、本発明の技術的範囲は、特許請求の範囲によって確定されるのであって、以下の個別の実施形態によって限定されるわけではない。   An embodiment of the present invention is shown below. The individual embodiments described below will help to understand various concepts, such as the superordinate concept, intermediate concept and subordinate concept of the present invention. Further, the technical scope of the present invention is determined by the scope of the claims, and is not limited by the following individual embodiments.

<第1の実施形態>
第1の実施形態では、種類の異なる複数のオペレーティングシステムにそれぞれ対応した複数の制御プログラムを記憶する第1記憶領域と、第1記憶領域から少なくとも1つの制御プログラムが複製される記憶領域であるとともに情報処理装置に外部記憶装置として認識される第2記憶領域とを備えることに特徴がある。すなわち、情報処理装置に応じて異なる各オペレーティングシステムに対応した制御プログラムが周辺装置に格納されている。いずれかのオペレーティングシステムを実行している情報処理装置は、周辺装置の第2記憶領域を外部記憶装置として認識することで、対応する制御プログラムを読み出して実行する。これにより、情報処理装置は制御プログラムにしたがって周辺装置を制御できるようになる。
<First Embodiment>
In the first embodiment, a first storage area for storing a plurality of control programs respectively corresponding to a plurality of different types of operating systems, and a storage area in which at least one control program is duplicated from the first storage area The information processing apparatus includes a second storage area that is recognized as an external storage device. That is, a control program corresponding to each operating system that differs depending on the information processing apparatus is stored in the peripheral device. The information processing apparatus executing any one of the operating systems reads and executes the corresponding control program by recognizing the second storage area of the peripheral device as the external storage device. As a result, the information processing apparatus can control the peripheral device according to the control program.

図1は、本発明の第1の実施形態に係るパーソナルコンピュータとして例示したコンピュータと画像読み取り装置としてのスキャナのソフトウエアブロック図である。本発明では、パーソナルコンピュータなどの情報処理装置と、イメージスキャナなどの周辺装置によって情報処理システムが形成されている。   FIG. 1 is a software block diagram of a computer exemplified as a personal computer and a scanner as an image reading apparatus according to the first embodiment of the present invention. In the present invention, an information processing system is formed by an information processing device such as a personal computer and a peripheral device such as an image scanner.

情報処理装置の一例であるコンピュータ100には、オペレーティングシステム101、ファイルシステム201、USBマスストレージドライバ202およびUSBインターフェースドライバ103がインストールされている。オペレーティングシステム101は、いわゆるOSのことであり、コンピュータ100の基本ソフトウエアである。例えば、マイクロソフトウインドウズ(登録商標)、MacOS(登録商標)、UNIX(登録商標)などが有名である。ファイルシステム201は、ハードディスクドライブなどの記憶装置にファイルを格納するためのソフトウエアである。ファイルシステムとしては、FAT、NTFS、HFS、ext2、ext3、ext4、ISO 9660、HPFS、XFS、ZFSなど様々な種類が存在する。USBマスストレージドライバ202は、ハードディスクドライブ、CD−ROM、DVD−ROM、CD−R、DVD−R、USBメモリなどのマスストレージを制御するためのソフトウエアである。USBインターフェースドライバ103は、USBインターフェースに接続されたUSBデバイスを制御するためのソフトウエアである。なお、これらのソフトウエアはOSの一部であってもよい。   An operating system 101, a file system 201, a USB mass storage driver 202, and a USB interface driver 103 are installed in a computer 100 that is an example of an information processing apparatus. The operating system 101 is a so-called OS and is basic software of the computer 100. For example, Microsoft Windows (registered trademark), MacOS (registered trademark), UNIX (registered trademark), and the like are well known. The file system 201 is software for storing files in a storage device such as a hard disk drive. There are various types of file systems such as FAT, NTFS, HFS, ext2, ext3, ext4, ISO 9660, HPFS, XFS, and ZFS. The USB mass storage driver 202 is software for controlling mass storage such as a hard disk drive, a CD-ROM, a DVD-ROM, a CD-R, a DVD-R, and a USB memory. The USB interface driver 103 is software for controlling a USB device connected to the USB interface. Note that these software may be a part of the OS.

一方、周辺装置の一例であるスキャナ装置106には、USBディスクドライブインターフェース205およびUSBマスストレージクラスインターフェース206およびUSBディスクドライブインターフェース208がスキャナ装置106に備えられている。USBディスクドライブインターフェース205は、スキャナ装置106に備えられているメモリ(フラッシュメモリ、EEPROMなど)をディスクドライブとして使用するためのソフトウエアである。USBマスストレージクラスインターフェース206は、USBディスクドライブインターフェース205を介してメモリをUSBマスストレージとして使用するためのソフトウエアである。また、USBディスクドライブインターフェース208は、USBディスクドライブインターフェース205を介してメモリをUSBディスクドライブとして使用するためのソフトウエアである。   On the other hand, the scanner device 106, which is an example of a peripheral device, includes a USB disk drive interface 205, a USB mass storage class interface 206, and a USB disk drive interface 208 in the scanner device 106. The USB disk drive interface 205 is software for using a memory (flash memory, EEPROM, etc.) provided in the scanner device 106 as a disk drive. The USB mass storage class interface 206 is software for using a memory as a USB mass storage via the USB disk drive interface 205. The USB disk drive interface 208 is software for using a memory as a USB disk drive via the USB disk drive interface 205.

なお、本実施例では、各種オペレーティングシステムに依存せず、書き込み可能なドライブとしてUSBドライブを例示して説明した。しかし、例えば、書き込み可能なCDメディアドライブとして、CD−RWを選択してもよいし、この他、CD−R、DVD−R、DVD−RWなどであってもよい。   In this embodiment, the USB drive is exemplified as a writable drive without depending on various operating systems. However, for example, a CD-RW may be selected as a writable CD media drive, or a CD-R, a DVD-R, a DVD-RW, or the like may be used.

FAT向けのキャプチャアプリケーション210とext2向けのキャプチャアプリケーション215(ファイル名:CaptureApplication.exe)は、コンピュータ100で実行されて画像を読み取るための制御を行うソフトウエアである。いずれも異なるオペレーティング向けのプログラムであるため、バイナリレベルで異なるプログラムであるが、機能的には同一のものである。FAT向けの制御ファイル204と、ext2向けの制御ファイル216(ファイル名:Control.dat)は、キャプチャアプリケーション210、215にしたがってコンピュータ100が制御コマンドなどを書き込むためのファイルである。本発明では、スキャナ装置106は基本的に外部記憶装置として認識されたままの状態で画像の読み取りを実行する。そのためには、スキャナ装置106とコンピュータ100との両方から認識してアクセス可能な記憶領域に制御コマンドや画像データを書き込む必要がある。つまり、制御ファイル204、216は、情報の媒介ないしは仲介役として機能する。本実施形態では、ディスクドライブとして認識されているメモリ領域に対応したフォルダ内にあらかじめ保持している制御ファイル204、216を用いて実現した。しかし、これらの他に、キャプチャアプリケーション210又は215を起動後、キャプチャアプリケーション210又は215により動的に生成するファイルや固定セクタアドレスを情報の媒介役ないしは仲介役としても実現してもよい。さらに、これらをキャプチャアプリケーション210又は215とともに含む制御ファイルとしてもよい。あるいは、キャプチャアプリケーション210又は215だけを制御ファイルとしてもよい。   A capture application 210 for FAT and a capture application 215 for ext2 (file name: CaptureApplication.exe) are software that is executed by the computer 100 and performs control for reading an image. Since these are programs for different operating systems, they are different programs at the binary level, but are functionally the same. A control file 204 for FAT and a control file 216 for ext2 (file name: Control.dat) are files for the computer 100 to write control commands and the like in accordance with the capture applications 210 and 215. In the present invention, the scanner device 106 basically reads an image while being recognized as an external storage device. For this purpose, it is necessary to write control commands and image data in a storage area that can be recognized and accessed from both the scanner device 106 and the computer 100. That is, the control files 204 and 216 function as information mediators or mediators. In the present embodiment, the control files 204 and 216 are stored in advance in a folder corresponding to a memory area recognized as a disk drive. However, in addition to these, after starting the capture application 210 or 215, a file or a fixed sector address dynamically generated by the capture application 210 or 215 may be realized as an information mediator or mediator. Furthermore, it is good also as a control file containing these with the capture application 210 or 215. Alternatively, only the capture application 210 or 215 may be used as the control file.

なお、スキャナ装置106の記憶領域には、各種オペレーティングシステムに依存せず、読み書き可能なディスクエリア251と、FATに対応したFATエリア252と、ext2に対応したext2エリア253とが存在する。なお、ディスクエリア251としては、例えば、ISO9660に対応したCD−RWディスクエリアとすることができるが、これに限定されない。また、本実施形態では、コンピュータ100によって外部記憶装置として認識されてアクセスされる記憶領域を選択的に切り替えることに特徴がある。図1においてこの切り替えは、2つのスイッチによって実現されている。1つ目のスイッチ214は、USBマスストレージクラスインターフェース206の接続先をUSBディスクドライブインターフェース208とUSBディスクドライブインターフェース205との間で切り替えるスイッチである。2つ目のスイッチ209は、USBディスクドライブインターフェース205に接続すべき記憶領域をFATエリア252とext2エリア253との間で切り替えるスイッチである。第1の実施形態では、スイッチ209が、接続部に接続された情報処理装置のオペレーティングシステムに応じて第2記憶領域のファイルシステムを切り替えるシステム切替部として機能している。なお、図1において、ディスクエリア251には、オートランファイル207、OS判別スクリプト211、FAT切替アプリケーション212、および、ext2切替アプリケーション213、さらに、制御ファイル230が記憶されている。FATエリア252には、FAT向けのキャプチャアプリケーション210とFAT向けの制御ファイル204が記憶されている。ext2エリア253には、ext2向けのキャプチャアプリケーション215とext2向けの制御ファイル216が記憶されている。なお、制御ファイル230は、接続されているコンピュータ100からは、ディスク上の読み書き可能なファイルとして認識される。よって、制御ファイル230は、FAT切替アプリケーション212やext2切替アプリケーション213から、後述するスキャナ装置106のCPU110への指示の受け渡しの機能を果たす。   The storage area of the scanner device 106 includes a readable / writable disk area 251, a FAT area 252 corresponding to FAT, and an ext2 area 253 corresponding to ext 2, regardless of various operating systems. The disc area 251 can be, for example, a CD-RW disc area corresponding to ISO9660, but is not limited to this. Further, the present embodiment is characterized in that a storage area that is recognized as an external storage device and accessed by the computer 100 is selectively switched. In FIG. 1, this switching is realized by two switches. The first switch 214 is a switch for switching the connection destination of the USB mass storage class interface 206 between the USB disk drive interface 208 and the USB disk drive interface 205. The second switch 209 is a switch for switching a storage area to be connected to the USB disk drive interface 205 between the FAT area 252 and the ext2 area 253. In the first embodiment, the switch 209 functions as a system switching unit that switches the file system in the second storage area in accordance with the operating system of the information processing apparatus connected to the connection unit. In FIG. 1, the disk area 251 stores an autorun file 207, an OS determination script 211, a FAT switching application 212, an ext2 switching application 213, and a control file 230. The FAT area 252 stores a capture application 210 for FAT and a control file 204 for FAT. The ext2 area 253 stores a capture application 215 for ext2 and a control file 216 for ext2. The control file 230 is recognized as a readable / writable file on the disk by the connected computer 100. Therefore, the control file 230 functions to transfer instructions from the FAT switching application 212 and the ext2 switching application 213 to the CPU 110 of the scanner device 106 described later.

ところで、スキャナ装置は、これらのソフトウエアの代わりに、USBスキャナクラスインターフェースを備えている。また、パーソナルコンピュータは、キャプチャアプリケーションソフトウエアや専用のスキャナドライバを備えている。本発明であれば、スキャナ装置106は外部記憶装置として認識されれば十分なので、USBスキャナクラスインターフェースは必ずしも必要ではない。また、パーソナルコンピュータ側では、キャプチャアプリケーションソフトウエアや専用のスキャナドライバが必ずしも必要ではない。   Incidentally, the scanner device includes a USB scanner class interface instead of these software. The personal computer also includes capture application software and a dedicated scanner driver. According to the present invention, it is sufficient that the scanner device 106 is recognized as an external storage device, so the USB scanner class interface is not necessarily required. On the personal computer side, capture application software and a dedicated scanner driver are not necessarily required.

図2は、パーソナルコンピュータとして例示するコンピュータとスキャナのハードウエアブロック図である。図2において、コンピュータ100は、CPU121、ROM123、RAM124、ハードディスクドライブ122、USBインターフェース104を備えている。USBインターフェース104は、USBコネクタを備え、USBケーブル105を介してスキャナ装置106と接続される。また、CPU121は、キーボード/マウス125とディスプレイ126とが接続されている。   FIG. 2 is a hardware block diagram of a computer and a scanner exemplified as a personal computer. 2, the computer 100 includes a CPU 121, a ROM 123, a RAM 124, a hard disk drive 122, and a USB interface 104. The USB interface 104 includes a USB connector, and is connected to the scanner device 106 via the USB cable 105. The CPU 121 is connected to a keyboard / mouse 125 and a display 126.

コンピュータ100に電力が投入されると、CPU121は、ROM123からファームウエアを起動し、ハードディスクドライブ122からマイクロソフトウインドウズ(登録商標)といったオペレーティングシステム101を起動する。OSなどの必要なソフトウエアは、RAM124にロードされる。ここでは、オペレーティングシステム101としてマイクロソフトウインドウズ(登録商標)について説明したが、オペレーティングシステム101がLinux(登録商標)やその他のOSであっても基本的に同様の構成となる。   When power is supplied to the computer 100, the CPU 121 activates firmware from the ROM 123 and activates an operating system 101 such as Microsoft Windows (registered trademark) from the hard disk drive 122. Necessary software such as an OS is loaded into the RAM 124. Here, although Microsoft Windows (registered trademark) has been described as the operating system 101, the configuration is basically the same even if the operating system 101 is Linux (registered trademark) or another OS.

一方、スキャナ装置106は、CPU110、ROM127、RAM203、画像読み取り部112、USBコントローラ128、USBインターフェース107を備えている。スキャナ装置106に電力が投入されると、CPU110は、ファームウエアをROM127から起動する。USBインターフェース107は、USBコネクタを備え、USBケーブル105を介してコンピュータ100と接続される。USBインターフェース107は、情報処理装置に対して接続される接続部として機能する。CPU110や画像読み取り部112は、情報処理装置からの制御信号に基づいて所定の処理を実行する処理部として機能する。USBコントローラ128は、情報処理装置との間で接続部を介して通信する通信部として機能する。ROM127およびRAM203は、複数の記憶領域を有する記憶部として機能する。とりわけ、ROM127は、種類の異なる複数のオペレーティングシステムにそれぞれ対応した複数の制御プログラムを記憶する第1記憶領域として機能する。例えば、ROM127には、複数のオペレーティングシステムの1つ1つに対応した複数のファイルシステムのディスクイメージが記憶されている。図1では、ディスクエリア251を形成するためのディスクイメージと、FATエリア252を形成するためのディスクイメージと、ext2エリア253を形成するためのディスクイメージとがROM127に記憶されている。対応するディスクイメージをRAM203に複製ないしは展開することで、これらのエリアが形成される。形成されるエリアは、コンピュータ100によって外部記憶装置として認識される。RAM203は、第1記憶領域から少なくとも1つの制御プログラムが複製される記憶領域であるとともに情報処理装置に外部記憶装置として認識される第2記憶領域として機能する。   On the other hand, the scanner device 106 includes a CPU 110, a ROM 127, a RAM 203, an image reading unit 112, a USB controller 128, and a USB interface 107. When power is supplied to the scanner device 106, the CPU 110 activates firmware from the ROM 127. The USB interface 107 includes a USB connector and is connected to the computer 100 via the USB cable 105. The USB interface 107 functions as a connection unit connected to the information processing apparatus. The CPU 110 and the image reading unit 112 function as a processing unit that executes predetermined processing based on a control signal from the information processing apparatus. The USB controller 128 functions as a communication unit that communicates with the information processing apparatus via a connection unit. The ROM 127 and the RAM 203 function as a storage unit having a plurality of storage areas. In particular, the ROM 127 functions as a first storage area that stores a plurality of control programs respectively corresponding to a plurality of different types of operating systems. For example, the ROM 127 stores disk images of a plurality of file systems corresponding to each of a plurality of operating systems. In FIG. 1, a disk image for forming the disk area 251, a disk image for forming the FAT area 252, and a disk image for forming the ext2 area 253 are stored in the ROM 127. These areas are formed by copying or developing the corresponding disk image in the RAM 203. The formed area is recognized as an external storage device by the computer 100. The RAM 203 is a storage area in which at least one control program is duplicated from the first storage area and functions as a second storage area that is recognized by the information processing apparatus as an external storage device.

コンピュータ100にスキャナ装置106が接続されると、オペレーティングシステム101(CPU121)は、USBインターフェース104にて何らかの周辺デバイスの接続を検知する。そして、CPU121は、USBケーブル105を介して、スキャナ装置106のUSBインターフェース107にアクセスする。   When the scanner device 106 is connected to the computer 100, the operating system 101 (CPU 121) detects the connection of some peripheral device with the USB interface 104. Then, the CPU 121 accesses the USB interface 107 of the scanner device 106 via the USB cable 105.

スキャナ装置106のCPU110は、USBインターフェース107にコンピュータ100からアクセスがあると、USBマスストレージクラスインターフェース206とUSBディスクドライブインターフェース208とが接続するようスイッチ214を切り替える。これにより、オペレーティングシステム101は、スキャナ装置106のUSBディスクドライブインターフェース208へアクセスする。   When the computer 110 accesses the USB interface 107 from the computer 100, the CPU 110 of the scanner device 106 switches the switch 214 so that the USB mass storage class interface 206 and the USB disk drive interface 208 are connected. As a result, the operating system 101 accesses the USB disk drive interface 208 of the scanner device 106.

オペレーティングシステム101がマイクロソフトウインドウズ(登録商標)やLinux(登録商標)であれば、USBディスクドライブ内にディスクが挿入されるとオートランファイル207(ファイル名:autorun.inf)を実行する。このオートランファイル207は、USBディスクドライブインターフェース208を介してアクセスされるため、自動的に起動されることになる。自動実行を機能させるためには、スキャナ装置106のCPU110が、コンピュータ100に接続した時点で、USBディスクドライブ内にディスクが挿入されていない状態であるとオペレーティングシステム101に仮想的に認識させる。次に、CPU110は、ディスクが挿入されたことをオペレーティングシステム101に仮想的に認識させることで、オートランファイル207が自動実行されるように制御する。この際、コンピュータ100は、スキャナ装置106を、オートランファイル207、OS判別スクリプト211と、ファイルシステムをFATへ切り替えるFAT切替アプリケーション212、およびファイルシステムをext2へ切り替えるext2切替アプリケーション213、制御ファイル230に対応するテーブルを、ファイルシステム201に関連付けられたフォルダ内に形成する。   If the operating system 101 is Microsoft Windows (registered trademark) or Linux (registered trademark), an autorun file 207 (file name: autorun.inf) is executed when a disk is inserted into the USB disk drive. Since the autorun file 207 is accessed via the USB disk drive interface 208, it is automatically activated. In order for automatic execution to function, the CPU 110 of the scanner device 106 virtually causes the operating system 101 to recognize that no disk is inserted in the USB disk drive when it is connected to the computer 100. Next, the CPU 110 controls the autorun file 207 to be automatically executed by causing the operating system 101 to virtually recognize that the disk has been inserted. At this time, the computer 100 corresponds to the autorun file 207, the OS determination script 211, the FAT switching application 212 for switching the file system to FAT, the ext2 switching application 213 for switching the file system to ext2, and the control file 230. A table to be created is formed in a folder associated with the file system 201.

なお、形成されるテーブルは、コンピュータ100のオペレーティングシステム101にて読み書きできるファイルシステムのみ対応し、読み書きできないファイルシステムであった場合、フォーマットを行う旨の警告を表示されるか、読み取りが行えない旨の表示がされてしまう。そのため、スキャナ装置106は、オペレーティングシステム101にて対応したファイルシステムのみを表示する必要がある。   Note that the formed table corresponds only to a file system that can be read and written by the operating system 101 of the computer 100. If the file system is a file system that cannot be read or written, a warning that formatting is performed is displayed or reading cannot be performed. Will be displayed. Therefore, the scanner device 106 needs to display only the file system supported by the operating system 101.

本事例では、説明を簡略化するため、オペレーティングシステム101がマイクロソフトウインドウズ(登録商標)の場合の対応可能なファイルシステムをFATとし、オペレーティングシステム101がLinux(登録商標)の場合の対応可能なファイルシステムをext2として、以下の説明を行う。   In this example, in order to simplify the description, a file system that can be handled when the operating system 101 is Microsoft Windows (registered trademark) is FAT, and a file system that can be handled when the operating system 101 is Linux (registered trademark). The following description will be given with the term “ext2”.

図3は、コンピュータ100にスキャナ装置106を接続した際の処理フローチャートである。コンピュータ100のCPU121は、スキャナ装置106が接続されたか否かを判断する(ステップ1001)。スキャナ装置106が接続された場合(ステップ1001でYES)、CPU121は、周辺デバイスのクラスインターフェースとしてスキャナ装置106を接続する(ステップ1002)。CPU121は、周辺デバイスのクラスインターフェースの情報をスキャナ装置106から取得する(ステップ1003)。CPU110やUSBコントローラ128は、接続部が情報処理装置に接続されたことを検知する接続検知部として機能する。すなわち、CPU110やUSBコントローラ128は、コンピュータ100がUSBケーブル105を介してスキャナ装置106に接続されたことを検知すると、周辺デバイスのクラスインターフェースの情報をコンピュータ100のCPU121に送信する。この情報に基づいて、CPU121は周辺媒体の種類を認識する。上述したようにスキャナ装置106がUSBマスストレージクラスインターフェース206を有している。そのため、コンピュータ100にスキャナ装置106が接続されたとき、CPU121は、USBマスストレージデバイスが接続されたと認識する(ステップ1004)。また、スキャナ装置106は、USBマスストレージクラスインターフェース206のサブクラスとして、USBディスクドライブインターフェース208とUSBディスクドライブインターフェース205を有している。ここでは、USBディスクドライブインターフェース208を有効とするようスイッチ214を切り替える。これにより、CPU121は、接続されたスキャナ装置106を外部記憶装置の一種であるUSBディスクドライブとして認識する(ステップ1004)。このように、スキャナ装置106のCPU110などは、第2記憶領域を外部記憶装置として情報処理装置が認識するように情報処理装置を制御する制御部として機能する。また、USBコントローラ128は、第2記憶領域を読出専用ディスクデバイスとして情報処理装置に認識させるための情報を情報処理装置へ送信する通信部として機能している。   FIG. 3 is a processing flowchart when the scanner device 106 is connected to the computer 100. The CPU 121 of the computer 100 determines whether or not the scanner device 106 is connected (step 1001). When the scanner device 106 is connected (YES in step 1001), the CPU 121 connects the scanner device 106 as a class interface of the peripheral device (step 1002). The CPU 121 acquires information on the class interface of the peripheral device from the scanner device 106 (step 1003). The CPU 110 and the USB controller 128 function as a connection detection unit that detects that the connection unit is connected to the information processing apparatus. That is, when the CPU 110 or the USB controller 128 detects that the computer 100 is connected to the scanner device 106 via the USB cable 105, the CPU 110 or the USB controller 128 transmits information on the class interface of the peripheral device to the CPU 121 of the computer 100. Based on this information, the CPU 121 recognizes the type of the peripheral medium. As described above, the scanner device 106 has the USB mass storage class interface 206. Therefore, when the scanner device 106 is connected to the computer 100, the CPU 121 recognizes that a USB mass storage device is connected (step 1004). The scanner device 106 also has a USB disk drive interface 208 and a USB disk drive interface 205 as subclasses of the USB mass storage class interface 206. Here, the switch 214 is switched to enable the USB disk drive interface 208. As a result, the CPU 121 recognizes the connected scanner device 106 as a USB disk drive which is a type of external storage device (step 1004). Thus, the CPU 110 of the scanner device 106 functions as a control unit that controls the information processing apparatus so that the information processing apparatus recognizes the second storage area as an external storage device. The USB controller 128 functions as a communication unit that transmits information for causing the information processing apparatus to recognize the second storage area as a read-only disk device.

図4は、USBディスクドライブとして認識されているメモリ領域に対応したフォルダの一例を示した図である。スキャナ装置106のROM127のうち、USBディスクドライブとして認識させるメモリ領域のディスクイメージをRAM203の一部に展開することにより、RAM203の一部がフォルダ302としてコンピュータ100には認識される。よって、フォルダ302に、オートランファイル207(ファイル名:autorun.inf)、OS判別スクリプト211(ファイル名:judge.js)、FAT切替アプリケーション212(ファイル名:RunFAT.exe)、ext2切替アプリケーション213(ファイル名:Runext2.exe)、制御ファイル230(ファイル名:Control.dat)が格納されているようにコンピュータ100には見える。   FIG. 4 is a diagram showing an example of a folder corresponding to a memory area recognized as a USB disk drive. By expanding a disk image of a memory area to be recognized as a USB disk drive in the ROM 127 of the scanner device 106 to a part of the RAM 203, a part of the RAM 203 is recognized by the computer 100 as a folder 302. Therefore, the autorun file 207 (file name: autorun.inf), the OS determination script 211 (file name: judge.js), the FAT switching application 212 (file name: RunFAT.exe), the ext2 switching application 213 (file) Name: Runext2.exe) and the control file 230 (file name: Control.dat) are stored in the computer 100.

前述したように、マイクロソフトウインドウズ(登録商標)やLinux(登録商標)などのオペレーティングシステムにおいて、USBディスクドライブ内にディスクが挿入されると、CPU121は、「autorun.inf」と呼ばれるディスク上のファイルを検出し、「autorun.inf」内の記述によって自動実行することを指定されたコマンドファイルを実行する(S1005)。オートランファイル207は、自動実行形式の制御ファイルである。オートランファイル207は、予め、Java(登録商標)Script にて記載されているOS判別スクリプト211を起動するように記述されている。そのため、CPU121は、オートランファイル207の記述を解釈してOS判別スクリプト211を実行する(ステップ1006)。OS判別スクリプト211は、様々なオペレーティングシステム上で起動できることが望ましい。そのため、オペレーションに依存しない処理モジュールとしてJava(登録商標)Scriptを一例として採用したが、その他のスクリプト言語等を使用して、OS判別スクリプト211を記述してもよい。なお、OS判別スクリプト211は、情報処理装置において動作しているオペレーティングシステムの種類を判別する判別部として機能する。OS判別スクリプト211は、第1記憶領域から第2記憶領域に複製されたJava(登録商標)Scriptである。なお、OS判別スクリプト211は、OSを特定可能な情報をコンピュータ100から取得して、ディスク上で書き込み可能な制御ファイル230を介して、スキャナ装置106のCPU110に渡される。この場合、CPU110が、この情報に基づいて、情報処理装置において実行されているオペレーティングシステムの種類を判別する。この場合は、CPU110が判別部として機能する。   As described above, when a disk is inserted into a USB disk drive in an operating system such as Microsoft Windows (registered trademark) or Linux (registered trademark), the CPU 121 deletes a file on the disk called “autorun.inf”. The command file which is detected and designated to be automatically executed by the description in “autorun.inf” is executed (S1005). The auto-run file 207 is an automatically executed control file. The auto-run file 207 is described in advance so as to start the OS determination script 211 described in Java (registered trademark) Script. Therefore, the CPU 121 interprets the description of the autorun file 207 and executes the OS determination script 211 (step 1006). It is desirable that the OS determination script 211 can be started on various operating systems. For this reason, Java (registered trademark) Script is used as an example of a processing module that does not depend on operations. However, the OS determination script 211 may be described using another script language or the like. The OS determination script 211 functions as a determination unit that determines the type of operating system operating in the information processing apparatus. The OS determination script 211 is Java (registered trademark) Script copied from the first storage area to the second storage area. The OS determination script 211 acquires information that can identify the OS from the computer 100 and passes the information to the CPU 110 of the scanner device 106 via the control file 230 that can be written on the disk. In this case, CPU 110 determines the type of operating system being executed in the information processing apparatus based on this information. In this case, the CPU 110 functions as a determination unit.

一方、スキャナ装置106のCPU110は、USBドライブに挿入されているディスクとして機能しているRAM203の書き込み可能な制御ファイル230への書き込みを監視している。   On the other hand, the CPU 110 of the scanner device 106 monitors writing to the writable control file 230 of the RAM 203 functioning as a disk inserted in the USB drive.

スキャナ装置106のCPU110は、OS判別スクリプト211の判別結果に基づいて、情報処理装置において動作しているオペレーティングシステムに対応したディスクイメージを第1記憶領域から第2記憶領域に展開する。例えば、オペレーティングシステム101がマイクロソフトウインドウズ(登録商標)である場合、OS判別スクリプト211にしたがってCPU121は、FAT切替アプリケーション212を実行する。このとき、スキャナ装置106内のROM127に保持されている制御ファイル230等がRAM203に複製ないし展開されるのが好ましい。また、このような制御ファイル230等の複製ないし展開については、例えば、OS判別スクリプト211での判定結果を受けてFAT切替アプリケーション212の実行後であっても実行前でも行うことはできる。しかし、本実施形態では、説明の便宜上、FAT切替アプリケーション212を実行する前に複製ないし展開を行うようにした。そして、FAT切替アプリケーション212にしたがって、CPU121は、スキャナ装置106内のROM127に保持されているファイルシステムのうち、RAM203に展開するファイルシステムのイメージをFATのイメージにするよう、制御ファイル230に選択したファイルシステムがFATである旨を書き込むことで、スキャナ装置106のCPU110に指示する。また、オペレーティングシステム101がLinux(登録商標)である場合、OS判別スクリプト211にしたがってCPU121は、ext2切替アプリケーション213を実行する(ステップ1007)。ext2切替アプリケーション213にしたがってCPU121は、スキャナ装置106内のROM127に保持されているファイルシステムのうち、RAM203に展開するファイルシステムをext2へ切り替えるよう、制御ファイル230に選択したファイルシステムがext2である旨を書き込むことで、スキャナ装置106に指示する。なお、スキャナ装置106内のROM127からRAM203に制御ファイル230等を複製ないし展開するタイミングについては上述したマイクロソフトウインドウズ(登録商標)の場合と同様であるが、これと異なるタイミングとしてもよい。   Based on the determination result of the OS determination script 211, the CPU 110 of the scanner device 106 expands the disk image corresponding to the operating system operating in the information processing apparatus from the first storage area to the second storage area. For example, when the operating system 101 is Microsoft Windows (registered trademark), the CPU 121 executes the FAT switching application 212 according to the OS determination script 211. At this time, it is preferable that the control file 230 or the like held in the ROM 127 in the scanner device 106 is copied or expanded in the RAM 203. Further, such duplication or expansion of the control file 230 or the like can be performed, for example, after the execution of the FAT switching application 212 based on the determination result of the OS determination script 211 or before the execution. However, in this embodiment, for convenience of explanation, duplication or deployment is performed before the FAT switching application 212 is executed. Then, in accordance with the FAT switching application 212, the CPU 121 selects the control file 230 so that the file system image developed in the RAM 203 among the file systems held in the ROM 127 in the scanner device 106 becomes the FAT image. By writing that the file system is FAT, the CPU 110 of the scanner device 106 is instructed. When the operating system 101 is Linux (registered trademark), the CPU 121 executes the ext2 switching application 213 according to the OS determination script 211 (step 1007). According to the ext2 switching application 213, the CPU 121 indicates that the file system selected for the control file 230 is ext2 so that the file system developed in the RAM 203 is switched to ext2 among the file systems held in the ROM 127 in the scanner device 106. Is instructed to the scanner device 106. Note that the timing for copying or expanding the control file 230 or the like from the ROM 127 in the scanner device 106 to the RAM 203 is the same as that in the case of the above-mentioned Microsoft Windows (registered trademark), but may be different timing.

この際、スキャナ装置106は、一旦、コンピュータ100から通信の切断をUSBコントローラ128に命令する。これは、スイッチ214によってUSBディスクドライブインターフェース208からUSBディスクドライブインターフェース205に切り替えるためである。CPU110は、第1記憶領域であるROM127に保持しているファイルシステムイメージのうち、制御ファイル230を介して、ファイルシステム切り替えアプリケーションであるFAT切替アプリケーション212またはext2切替アプリケーション213により指示されたファイルシステムのイメージを第2記憶領域であるRAM203に展開する。さらに、CPU110は、USBディスクドライブインターフェース205を有効とするようスイッチ214を操作する。最後に、CPU110は、コンピュータ100に対してUSBコントローラ128およびUSBインターフェース107を介して再度接続を行う。このように、CPU110は、接続検知部によって接続部が情報処理装置に接続されことを検知した場合において第1記憶領域から第2記憶領域に制御プログラムの少なくとも1つを複製するよう制御する制御部として機能する。   At this time, the scanner device 106 instructs the USB controller 128 to disconnect communication from the computer 100 once. This is because the switch 214 switches the USB disk drive interface 208 to the USB disk drive interface 205. Among the file system images held in the ROM 127 that is the first storage area, the CPU 110 stores the file system specified by the FAT switching application 212 or the ext2 switching application 213 that is the file system switching application via the control file 230. The image is expanded in the RAM 203 which is the second storage area. Further, the CPU 110 operates the switch 214 so as to enable the USB disk drive interface 205. Finally, the CPU 110 connects to the computer 100 again via the USB controller 128 and the USB interface 107. As described above, when the connection detection unit detects that the connection unit is connected to the information processing apparatus, the CPU 110 controls to copy at least one of the control programs from the first storage area to the second storage area. Function as.

コンピュータ100のCPU121は、スキャナ装置106が接続されたか否かを判断する(ステップ1008)。スキャナ装置106が接続された場合(ステップ1008でYES)、CPU121は、周辺デバイスのクラスインターフェースとしてスキャナ装置106を接続する(ステップ1009)。さらに、CPU121は、周辺デバイスのクラスインターフェースの情報をスキャナ装置106から取得する(ステップ1010)。ここでは、USBディスクドライブインターフェース205を有効とするようスイッチ214が切り替えられている。よって、CPU110およびUSBコントローラ128は、USBディスクデバイスを表す周辺デバイスのクラスインターフェースの情報をコンピュータ100に送信する。これによって、CPU121は、接続されたスキャナ装置106をUSBディスクドライブとして認識する(ステップ1011)。このように、USBコントローラ128は、第2記憶領域を読み書き可能なUSBディスクデバイスとして情報処理装置に認識させるための情報を情報処理装置へ送信する通信部として機能する。なお、USBディスクデバイスやUSBディスクドライブを表す周辺デバイスのクラスインターフェースの情報がROM127には記憶されている。すなわち、ROM127には、第2記憶領域をUSBメモリデバイスとして認識させるための第1の情報と、USBディスクデバイスとして認識させるための第2の情報とが記憶されている。USBコントローラ128は、情報処理装置において起動されているUSBマスストレージドライバからのコマンドを受信したことに応答して、第1の情報および第2の情報を情報処理装置へ送信する。   The CPU 121 of the computer 100 determines whether or not the scanner device 106 is connected (step 1008). When the scanner device 106 is connected (YES in step 1008), the CPU 121 connects the scanner device 106 as a class interface of the peripheral device (step 1009). Furthermore, the CPU 121 acquires information on the class interface of the peripheral device from the scanner device 106 (step 1010). Here, the switch 214 is switched to enable the USB disk drive interface 205. Therefore, the CPU 110 and the USB controller 128 transmit information on the class interface of the peripheral device representing the USB disk device to the computer 100. As a result, the CPU 121 recognizes the connected scanner device 106 as a USB disk drive (step 1011). As described above, the USB controller 128 functions as a communication unit that transmits information for causing the information processing apparatus to recognize the second storage area as a readable / writable USB disk device. The ROM 127 stores information on the class interface of peripheral devices representing USB disk devices and USB disk drives. That is, the ROM 127 stores first information for recognizing the second storage area as a USB memory device, and second information for recognizing the second storage area as a USB disk device. The USB controller 128 transmits the first information and the second information to the information processing apparatus in response to receiving a command from the USB mass storage driver activated in the information processing apparatus.

USBメモリドライブとして認識された際、USBメモリドライブとして認識されているスキャナ装置106のRAM203の一部展開するファイルシステムがFATの場合、CPU121は、FAT向けのキャプチャアプリケーション210、FAT向けの制御ファイル204に対応するテーブルを、ファイルシステム201に関連付けられたフォルダ内に形成する。これは、図5に示すよう、フォルダ303としてコンピュータ100には認識される。よって、CPU121には、フォルダ303に制御ファイル204などが格納されているように見える。一方、展開するファイルシステムがext2の場合、CPU121は、ext2向けのキャプチャアプリケーション215、ext2向けの制御ファイル216に対応するテーブルをファイルシステム201に関連付けられたフォルダ内に形成する。これは、図6に示すよう、フォルダ304としてコンピュータ100には認識される。CPU121には、フォルダ304に制御ファイル216などが格納されているように見える。 When the file system developed on a part of the RAM 203 of the scanner device 106 recognized as a USB memory drive is FAT when it is recognized as a USB memory drive, the CPU 121 executes a capture application 210 for FAT and a control file for FAT. A table corresponding to 204 is formed in a folder associated with the file system 201. This is recognized by the computer 100 as a folder 303 as shown in FIG. Therefore, it appears to the CPU 121 that the control file 204 and the like are stored in the folder 303. On the other hand, when the file system to be expanded is ext2, the CPU 121 forms tables corresponding to the capture application 215 for ext2 and the control file 216 for ext2 in a folder associated with the file system 201. This is recognized by the computer 100 as a folder 304 as shown in FIG. It appears to the CPU 121 that the control file 216 and the like are stored in the folder 304.

本発明によれば、コンピュータ100において動作しているオペレーティングシステム101で取り扱い可能なファイルシステムのみをCPU121に認識させることができる。一般に、読み書きできないファイルシステムが認識されてしまうと、フォーマットを行う旨の警告の表示や、読み取りが行えない旨の表示がされる。本発明であれは、このような表示を回避できるため、オペレータの煩わしさを緩和できよう。   According to the present invention, only the file system that can be handled by the operating system 101 running on the computer 100 can be recognized by the CPU 121. In general, when a file system that cannot be read and written is recognized, a warning that formatting is performed and a message that reading cannot be performed are displayed. In the present invention, such a display can be avoided, so that the troublesomeness of the operator can be reduced.

続いて、画像読み取りのフローについて説明する。図7は、キャプチャアプリケーション210、215を使用して、画像読み取りを行った際のフローを示した図である。なお、キャプチャアプリケーション210、215の機能は同一であるため、ここでは、キャプチャアプリケーション210について説明する。なお、キャプチャアプリケーション215が実行されるときは、制御ファイル204に代えて制御ファイル216が使用される。   Next, an image reading flow will be described. FIG. 7 is a diagram illustrating a flow when image reading is performed using the capture applications 210 and 215. Since the functions of the capture applications 210 and 215 are the same, the capture application 210 will be described here. When the capture application 215 is executed, the control file 216 is used instead of the control file 204.

オペレータにより、これらフォルダに含まれるキャプチャアプリケーション210の実行がされると、CPU121は、キャプチャアプリケーション210を起動する(ステップ1013)。これにより、図8に示すようなユーザインターフェースを有する画面をディスプレイ126に表示される。図8に示すようなキャプチャアプリケーション210のユーザインターフェースが表示されると、オペレータは、キーボード/マウス125を操作して、スキャン設定を実行する。例えば、読み取りモード(本実施形態では、白黒)、用紙サイズ(本実施形態では、A4)、解像度(本実施形態では、300dpi)、読み取り面(本実施形態では、両面)がキーボード/マウス125を使用して選択される。さらに、読み取った画像を保存するための画像ファイルのファイル名(本実施形態では、test1)もキーボード/マウス125を操作して入力される。最後に、スキャンボタン301がキーボード/マウス125を使用してクリックされる。   When the capture application 210 included in these folders is executed by the operator, the CPU 121 activates the capture application 210 (step 1013). As a result, a screen having a user interface as shown in FIG. When the user interface of the capture application 210 as shown in FIG. 8 is displayed, the operator operates the keyboard / mouse 125 to execute scan settings. For example, the reading mode (monochrome in this embodiment), paper size (A4 in this embodiment), resolution (300 dpi in this embodiment), reading surface (both sides in this embodiment) is the keyboard / mouse 125. Selected using. Further, the file name (test 1 in this embodiment) of the image file for storing the read image is also input by operating the keyboard / mouse 125. Finally, the scan button 301 is clicked using the keyboard / mouse 125.

スキャンボタン301がキーボード/マウス125によりクリックされると、キャプチャアプリケーション210(CPU121)は、スキャン設定を受け付け、スキャナ装置106内の制御ファイル204にスキャン設定を書き込む。制御ファイル204は、処理部を制御するための制御コマンドを情報処理装置によって書き込み可能な制御ファイルとして機能している。さらに、CPU121は、スキャン開始コマンドデータも制御ファイル204に書き込む(ステップ1014)。   When the scan button 301 is clicked with the keyboard / mouse 125, the capture application 210 (CPU 121) receives the scan setting and writes the scan setting in the control file 204 in the scanner device 106. The control file 204 functions as a control file in which a control command for controlling the processing unit can be written by the information processing apparatus. Further, the CPU 121 writes scan start command data in the control file 204 (step 1014).

スキャナ装置106のCPU110は、外部記憶装置として機能しているRAM203の制御ファイル204を監視している。CPU110は、第2記憶領域に展開された制御ファイルに制御コマンドが情報処理装置によって書き込まれたか否かを監視する監視部として機能している。そうして、CPU110は、スキャン設定およびスキャン開始コマンドデータが制御ファイル204に書かれたことを検出すると、制御ファイル204を読み込んで、そこに書かれているスキャン設定にしたがって画像読み取り部112を制御し、スキャンを開始する。CPU110および画像読み取り部112は、制御コマンドが制御ファイルに書き込まれると、制御コマンドを読み出して実行する実行部として機能する。スキャナ装置106のCPU110はスキャンを開始すると、画像読み取り部112で読み取った画像を制御ファイルに書き込む。この制御ファイルは、スキャン設定を可能としている制御ファイルと同一であってもよいし、異なってもよい。   The CPU 110 of the scanner device 106 monitors the control file 204 of the RAM 203 that functions as an external storage device. The CPU 110 functions as a monitoring unit that monitors whether a control command has been written by the information processing apparatus in the control file expanded in the second storage area. When the CPU 110 detects that the scan setting and the scan start command data are written in the control file 204, the CPU 110 reads the control file 204 and controls the image reading unit 112 according to the scan setting written therein. And start scanning. When the control command is written in the control file, the CPU 110 and the image reading unit 112 function as an execution unit that reads and executes the control command. When the CPU 110 of the scanner device 106 starts scanning, the image read by the image reading unit 112 is written in the control file. This control file may be the same as or different from the control file that enables the scan setting.

コンピュータ100のCPU121は、画像データが制御ファイル204に書き込まれたか否かを監視する(ステップ1015)。画像データが制御ファイル204に書き込まれたことを検出すると、制御ファイル204から画像データを読み出す(ステップ1016)。CPU121は、ユーザインターフェースを通じて指定された画像ファイル(本実施形態では、ファイル名「test1」)を作成し、ハードディスクドライブ122に記憶する(ステップ1017)。   The CPU 121 of the computer 100 monitors whether image data has been written in the control file 204 (step 1015). When it is detected that the image data has been written in the control file 204, the image data is read from the control file 204 (step 1016). The CPU 121 creates an image file (file name “test1” in this embodiment) designated through the user interface and stores it in the hard disk drive 122 (step 1017).

以上で説明したように、本発明では、コンピュータ100にデバイスドライバやアプリケーションなどのソフトウエアをインストールすることなく、様々なコンピュータにて単一のスキャナ装置106で画像読み取りを行うことができるようになる。例えば、管理者権限でオペレーティングシステム101にログインできないユーザや、外出先のパーソナルコンピュータを使用するユーザであっても、容易に、画像読み取りを行うことができる。   As described above, according to the present invention, it is possible to read an image with a single scanner device 106 in various computers without installing software such as a device driver or an application in the computer 100. . For example, even a user who cannot log in to the operating system 101 with administrator authority or a user who uses a personal computer on the go can easily read an image.

なお、上記の各実施形態においては、キャプチャアプリケーション210、215からスキャンを開始する例を説明した。しかし、スキャナ装置106上にスタートボタン等を配置し、スタートボタンを押下されたことをCPU110が検知すると、スキャンを開始してもよい。その際、キャプチャアプリケーション210、215(CPU121)は、スキャナ装置106のスタートボタンを、制御ファイル204を介して監視してもよい。この場合は、CPU110がスタートボタンを押下されたことを制御ファイル204に書き込むことになる。   In each of the above embodiments, an example in which scanning is started from the capture applications 210 and 215 has been described. However, a start button or the like may be arranged on the scanner device 106 and scanning may be started when the CPU 110 detects that the start button has been pressed. At that time, the capture applications 210 and 215 (CPU 121) may monitor the start button of the scanner device 106 via the control file 204. In this case, the fact that the CPU 110 has pressed the start button is written in the control file 204.

キャプチャアプリケーション210、215(CPU121)は、スキャナ装置106に制御ファイル204を介してスキャン開始を指示してもよいし、キャプチャアプリケーション210、215(CPU121)が、制御ファイル204に画像データが生成されたことを検知して、スキャンが開始されたと判断し、画像ファイルをハードディスクドライブに保存してもよい。   The capture applications 210 and 215 (CPU 121) may instruct the scanner device 106 to start scanning via the control file 204, or the capture applications 210 and 215 (CPU 121) generate image data in the control file 204. Detecting this, it may be determined that scanning has started, and the image file may be stored in the hard disk drive.

また、上記実施形態においては、オペレータの指示に基づいてキャプチャアプリケーション210、215を起動し、ユーザインターフェースを表示している。しかし、スキャナ装置106の接続時に、マイクロソフトウインドウズ(登録商標)等のオペレーティングシステム101にキャプチャアプリケーション210、215が常駐してもよい。   In the above embodiment, the capture applications 210 and 215 are activated based on an instruction from the operator, and a user interface is displayed. However, the capture applications 210 and 215 may reside in the operating system 101 such as Microsoft Windows (registered trademark) when the scanner device 106 is connected.

上記実施形態においては、キャプチャアプリケーション210、215には画像表示機能が無いが、キャプチャアプリケーション210、215が画像表示機能を備えていてもよい。   In the above embodiment, the capture applications 210 and 215 do not have an image display function, but the capture applications 210 and 215 may have an image display function.

また、上記実施形態においては、制御ファイル204、216はRAM203に展開されているファイルであるため、設定が揮発してしまう。しかし、スキャナ装置106内で、設定されたスキャン設定を不図示の不揮発メモリ等に記憶しておいてもよい。また、その設定は、オペレーティングシステム101のユーザごとに、記憶しておいてもよい。   In the above embodiment, since the control files 204 and 216 are files developed in the RAM 203, the settings are volatilized. However, the set scan setting may be stored in a non-illustrated nonvolatile memory or the like in the scanner device 106. Further, the setting may be stored for each user of the operating system 101.

また、上記実施形態においては、画像読取装置を例にとって説明したが、プリンタでもよく、画像読み取り機能と画像形成機能を併せ持つ複合機等でもよい。   In the above-described embodiment, the image reading apparatus has been described as an example. However, a printer may be used, and a multifunction machine having both an image reading function and an image forming function may be used.

<第2の実施形態>
第2の実施形態では、種類の異なる複数のオペレーティングシステムのそれぞれについて対応するパーティションを用意することで、単一のスキャナ装置106を複数のオペレーティングシステムで使用することに特徴がある。
<Second Embodiment>
The second embodiment is characterized in that a single scanner device 106 is used in a plurality of operating systems by preparing corresponding partitions for a plurality of different types of operating systems.

図9は、本発明の第2の実施形態に係るパーソナルコンピュータとして例示したコンピュータと画像読み取り装置としてのスキャナのソフトウエアブロック図である。すでに説明した箇所に同一の参照符号を付与することで説明を簡潔にする。周辺装置の一例であるスキャナ装置106には、USBディスクドライブインターフェース205およびUSBマスストレージクラスインターフェース206がスキャナ装置106に備えられている。FAT向けのキャプチャアプリケーション210およびアップル社のオペレーティングシステムであるMacOS(登録商標)で使われているHFS向けのキャプチャアプリケーション402はコンピュータ100で実行されて画像を読み取るための制御を行うソフトウエアである。キャプチャアプリケーション210、402は、それぞれバイナリレベルで異なるソフトウエアであるが、機能的には同一のソフトウエアである。FAT向けの制御ファイル204は、上述したように、キャプチャアプリケーション210によって使用される制御ファイルである。一方、HFS向けの制御ファイル401は、キャプチャアプリケーション402を実行しているコンピュータ100から制御コマンドなどが書き込まれるファイルである。   FIG. 9 is a software block diagram of a computer exemplified as a personal computer and a scanner as an image reading device according to the second embodiment of the present invention. The description will be simplified by giving the same reference numerals to the parts already described. A scanner device 106, which is an example of a peripheral device, includes a USB disk drive interface 205 and a USB mass storage class interface 206 in the scanner device 106. A capture application 210 for FAT and a capture application 402 for HFS used in MacOS (registered trademark), an operating system of Apple Inc., are software that is executed by the computer 100 and performs control for reading an image. The capture applications 210 and 402 are different software at the binary level, but are functionally the same software. The control file 204 for FAT is a control file used by the capture application 210 as described above. On the other hand, the control file 401 for HFS is a file in which a control command or the like is written from the computer 100 executing the capture application 402.

ディスクイメージ900は第1記憶領域であるROM127に保持されている。CPU110は、第2記憶領域であるRAM203にディスクイメージ900を展開し、コンピュータ100から認識してアクセス可能な部記憶領域であるUSBメモリドライブを提供する。ディスクイメージ900には複数のパーティションが含まれている。第1パーティション901は、FATのファイルシステムによりフォーマットされたパーティションである。このように第1パーティション901は、FAT形式のファイルシステムである。第2パーティション902は、HFSのファイルシステムによりフォーマットされたパーティションである。このように第2パーティション902は、HFS形式のファイルシステムである。   The disk image 900 is held in the ROM 127 which is the first storage area. The CPU 110 expands the disk image 900 in the RAM 203 that is the second storage area, and provides a USB memory drive that is a partial storage area that can be recognized and accessed from the computer 100. The disk image 900 includes a plurality of partitions. The first partition 901 is a partition formatted by the FAT file system. Thus, the first partition 901 is a FAT format file system. The second partition 902 is a partition formatted by the HFS file system. Thus, the second partition 902 is an HFS format file system.

図10は、コンピュータ100にスキャナ装置106を接続した際の処理フローチャートである。なお、このフローチャートは図3のS1008ないしS1011のフローチャートと同一であるため、簡潔に説明する。ただし、スキャナ装置106の構成が第1の実施形態とは異なっているため、処理結果は異なっている。   FIG. 10 is a processing flowchart when the scanner device 106 is connected to the computer 100. Since this flowchart is the same as the flowchart from S1008 to S1011 in FIG. 3, it will be briefly described. However, since the configuration of the scanner device 106 is different from that of the first embodiment, the processing results are different.

コンピュータ100のCPU121は、スキャナ装置106が接続されたか否かを判断する(ステップ1008)。スキャナ装置106が接続された場合(ステップ1008でYES)、CPU121は、周辺デバイスのクラスインターフェースとしてスキャナ装置106を接続する(ステップ1009)。さらに、CPU121は、周辺デバイスのクラスインターフェースの情報をスキャナ装置106から取得する(ステップ1010)。前述した第1の実施形態とは異なり、ここでは、USBディスクドライブインターフェース205は常時有効であるため、CPU121は、接続されたスキャナ装置106をUSBメモリドライブとして認識する(ステップ1011)。   The CPU 121 of the computer 100 determines whether or not the scanner device 106 is connected (step 1008). When the scanner device 106 is connected (YES in step 1008), the CPU 121 connects the scanner device 106 as a class interface of the peripheral device (step 1009). Furthermore, the CPU 121 acquires information on the class interface of the peripheral device from the scanner device 106 (step 1010). Unlike the first embodiment described above, the USB disk drive interface 205 is always valid here, so the CPU 121 recognizes the connected scanner device 106 as a USB memory drive (step 1011).

このように、スキャナ装置106のRAM203は、FATとHFSの2つのパーティションを有するディスクドライブとして認識されることになる。とりわけ、第1パーティション901としてFATを、第2パーティション902としてHFSを配置することは好ましい。マイクロソフトウインドウズ(登録商標)が動作するコンピュータでは、オペレーティングシステム側の仕様により、第1パーティションのFATのみを認識する。MacOS(登録商標)が動作するコンピュータでは、FAT、HFSのパーティションいずれも認識する。よって、それぞれのオペレーティングシステムで対応可能なファイルシステムのみを認識させることが可能となる。一般に、コンピュータ100は、一般に、読み書きできないファイルシステムを検出すると、フォーマットを行う旨の警告を表示したり、読み取りが行えない旨を表示したりする。本実施形態であれば、このような表示を回避できるため、オペレータの煩わしさを緩和できよう。第2の実施形態におけるその他の利点については第1の実施形態において説明したとおりである。また、OS判別スクリプトを含むUSBディスクイメージは不要となる。OSの判別工程(図3のS1001ないしS1007)が不要となるため、スキャナ装置106を接続してから読み取り可能となるまでの時間を短縮できよう。また、USBディスクイメージは不要となるため、ROM127の記憶スペースの浪費を削減できよう。   Thus, the RAM 203 of the scanner device 106 is recognized as a disk drive having two partitions, FAT and HFS. In particular, it is preferable to dispose FAT as the first partition 901 and HFS as the second partition 902. A computer running Microsoft Windows (registered trademark) recognizes only the FAT of the first partition according to the specifications of the operating system. A computer on which MacOS (registered trademark) operates recognizes both FAT and HFS partitions. Therefore, it is possible to recognize only the file system that can be supported by each operating system. In general, when the computer 100 detects a file system that cannot be read or written, the computer 100 displays a warning that formatting is performed or a message that reading cannot be performed. In the present embodiment, such a display can be avoided, so that the operator's troublesomeness can be reduced. Other advantages of the second embodiment are as described in the first embodiment. Further, the USB disk image including the OS determination script is not necessary. Since the OS discriminating step (S1001 to S1007 in FIG. 3) is not necessary, the time from when the scanner device 106 is connected to when the scanner can be read can be shortened. In addition, since the USB disk image is not necessary, waste of the storage space of the ROM 127 can be reduced.

<第3の実施形態>
第3の実施形態では、複数のオペレーティングシステムのうち2つ以上のオペレーティングシステムがアクセス可能な共通かつ単一のファイルシステムのディスクイメージを記憶しておくことことに特徴がある。例えば、FATであれば、マイクロソフトウインドウズ(登録商標)とMacOS(登録商標)のいずれのオペレーティングシステムでも読み書きが行える。よって、FATのような汎用性の高いファイルシステムを採用すれば、スキャナ装置106に用意すべきディスクイメージを簡素化できよう。
<Third Embodiment>
The third embodiment is characterized in that a disk image of a common and single file system that can be accessed by two or more operating systems among a plurality of operating systems is stored. For example, in the case of FAT, reading and writing can be performed by any operating system of Microsoft Windows (registered trademark) and MacOS (registered trademark). Therefore, if a highly versatile file system such as FAT is adopted, a disk image to be prepared in the scanner device 106 can be simplified.

図11は、本発明の第3の実施形態に係るパーソナルコンピュータとして例示したコンピュータと画像読み取り装置としてのスキャナのソフトウエアブロック図である。すでに説明した箇所に同一の参照符号を付与することで説明を簡潔にする。RAM203に展開されたFATファイルシステムには、マイクロソフトウインドウズ(登録商標)用の制御プログラムと、MacOS用の制御プログラムがともに記憶されている。   FIG. 11 is a software block diagram of a computer exemplified as a personal computer and a scanner as an image reading apparatus according to the third embodiment of the present invention. The description will be simplified by giving the same reference numerals to the parts already described. The FAT file system developed in the RAM 203 stores both a control program for Microsoft Windows (registered trademark) and a control program for MacOS.

マイクロソフトウインドウズ(登録商標)で実行可能なFAT向けのWINDOWS(登録商標)用のキャプチャアプリケーション221と、MacOS(登録商標)で実行可能なFAT向けのMac用キャプチャアプリケーション222はコンピュータ100で実行されて画像を読み取るための制御を行うソフトウエアである。これらの機能は上述したキャプチャアプリケーション210と同一である。FAT向けの制御ファイル220は、キャプチャアプリケーション221、222を実行しているコンピュータ100からの制御コマンドなどが書き込まれるファイルである。制御ファイル220も上述した制御ファイル204と同一の内容である。第1記憶領域であるROM127には、FATファイルシステムのディスクイメージ1101が保持されている。これを第2記憶領域であるRAM203の一部に展開する。コンピュータ100のCPU121は、FATファイルシステムのUSBメモリドライブとして認識してアクセスする。   A WINDOWS (registered trademark) capture application 221 for FAT that can be executed by Microsoft Windows (registered trademark) and a Mac capture application 222 for FAT that can be executed by MacOS (registered trademark) are executed by the computer 100 to display images. Is software for performing control for reading. These functions are the same as those of the capture application 210 described above. The control file 220 for FAT is a file in which a control command and the like from the computer 100 executing the capture applications 221 and 222 are written. The control file 220 has the same contents as the control file 204 described above. The ROM 127, which is the first storage area, holds a disk image 1101 of the FAT file system. This is expanded into a part of the RAM 203 which is the second storage area. The CPU 121 of the computer 100 recognizes and accesses as a USB memory drive of the FAT file system.

図12は、コンピュータ100において外部記憶装置として認識されているスキャナ装置106をフォルダとして開いた様子を示した図である。フォルダ305には、WINDOWS(登録商標)用のキャプチャアプリケーション221と、Mac用キャプチャアプリケーション222および制御ファイル220が格納されているようにCPU121に認識される。フォルダ305は、FATファイルシステムにおけるフォルダであるため、マイクロソフトウインドウズ(登録商標)およびMacOS(登録商標)のいずれのオペレーティングシステムでもファイルの読み書きが行える。なお、画像の読み取りに関するフローチャートは、図7に示したフローチャートと共通であるため、ここでの説明は省略する。   FIG. 12 is a diagram showing a state where the scanner device 106 recognized as an external storage device in the computer 100 is opened as a folder. The folder 305 is recognized by the CPU 121 so that a capture application 221 for WINDOWS (registered trademark), a capture application 222 for Mac, and a control file 220 are stored. Since the folder 305 is a folder in the FAT file system, the file can be read and written by any operating system of Microsoft Windows (registered trademark) and MacOS (registered trademark). Note that the flowchart relating to image reading is the same as the flowchart shown in FIG.

このように、本実施形態でも第1の実施形態や第2の実施形態と同様の利点がある。さらに、本実施形態では、それぞれのオペレーティングシステムから認識してアクセス可能な単一のファイルシステムとして展開される単一のディスクイメージを用意すればよい。よって、ディスクイメージを簡素化できる。単一のディスクイメージを記憶すれば十分なため、ROM127の記憶スペースを浪費せずに済む。また、制御ファイル220をROM127に書き戻すようにすれば、複数のオペレーティングシステムで共通の読み取り設定を使用できるようになろう。   As described above, this embodiment also has the same advantages as those of the first embodiment and the second embodiment. Furthermore, in this embodiment, a single disk image that is developed as a single file system that can be recognized and accessed from each operating system may be prepared. Therefore, the disk image can be simplified. Since it is sufficient to store a single disk image, the storage space of the ROM 127 is not wasted. If the control file 220 is written back to the ROM 127, a common reading setting can be used in a plurality of operating systems.

<第4の実施形態>
第4の実施形態は、コンピュータ100のオペレーティングシステムに応じて外部記憶装置として認識される第2記憶領域のファイルシステムを切り替えるシステム切替部として、オペレータによって手動で切り替え可能なスイッチをスキャナ装置106に設けたことに特徴がある。
<Fourth Embodiment>
In the fourth embodiment, a switch that can be manually switched by an operator is provided in the scanner device 106 as a system switching unit that switches the file system of the second storage area that is recognized as an external storage device according to the operating system of the computer 100. There is a feature.

図13は、本発明の第4の実施形態に係るパーソナルコンピュータとして例示したコンピュータと画像読取装置としてのスキャナのソフトウエアブロック図である。図14は、パーソナルコンピュータとして例示するコンピュータとスキャナのハードウエアブロック図である。すでに説明した箇所に同一の参照符号を付与することで説明を簡潔にする。 FIG. 13 is a software block diagram of a computer exemplified as a personal computer and a scanner as an image reading apparatus according to the fourth embodiment of the present invention. FIG. 14 is a hardware block diagram of a computer and a scanner exemplified as a personal computer. The description will be simplified by giving the same reference numerals to the parts already described.

図1の構成と比較して図13の構成では、FAT向けのキャプチャアプリケーション210とFAT向けの制御ファイル204が、FATファイルシステムによりフォーマットされた第1パーティション1301に格納されている。ext2向けのキャプチャアプリケーション215と、ext2向けの制御ファイル216は、ext2のファイルシステムによってフォーマットされた第2パーティション1302に格納されている。ROM127には、第1パーティション1301に対応したディスクイメージと、第2パーティション1302に対応したディスクイメージとがそれぞれ記憶されている。CPU110は、ファイルシステムを切り替えるためのスイッチ109がどちらに切り替えられているかを検知する。スイッチ109がFAT側に切り替えられていれば、CPU110は、第1パーティション1301に対応したディスクイメージをRAM203に展開する。これにより、コンピュータ100にはFATの第1パーティション1301がUSBメモリドライブとして認識される。スイッチ109がext2側に切り替えられていれば、CPU110は、第2パーティション1302に対応したディスクイメージをRAM203に展開する。これにより、コンピュータ100にはext2の第2パーティション1302がUSBメモリドライブとして認識される。   Compared to the configuration of FIG. 1, in the configuration of FIG. 13, the capture application 210 for FAT and the control file 204 for FAT are stored in the first partition 1301 formatted by the FAT file system. The capture application 215 for ext2 and the control file 216 for ext2 are stored in the second partition 1302 formatted by the ext2 file system. The ROM 127 stores a disk image corresponding to the first partition 1301 and a disk image corresponding to the second partition 1302. The CPU 110 detects which switch 109 for switching the file system is switched to. If the switch 109 is switched to the FAT side, the CPU 110 expands a disk image corresponding to the first partition 1301 in the RAM 203. Thereby, the computer 100 recognizes the first partition 1301 of the FAT as a USB memory drive. If the switch 109 is switched to the ext2 side, the CPU 110 expands the disk image corresponding to the second partition 1302 in the RAM 203. As a result, the second partition 1302 of ext2 is recognized by the computer 100 as a USB memory drive.

第4の実施形態では、オペレータにより手動で操作可能なスイッチ109を設けることで、第1の実施形態と同様の効果が奏される。また、第1の実施形態では、オートランファイル207、OS判別スクリプト211などが必要であったが、第4の実施形態ではこれらが不要となる。よって、OS判別工程やUSBディスクイメージが不要となるため、第3の実施形態と同様の利点がある。   In the fourth embodiment, by providing the switch 109 that can be manually operated by an operator, the same effect as in the first embodiment can be obtained. In the first embodiment, the auto-run file 207, the OS determination script 211, and the like are necessary. However, in the fourth embodiment, these are unnecessary. Therefore, there is no need for an OS discrimination process and a USB disk image, and there are advantages similar to those of the third embodiment.

本実施形態では、電気的に切り替え可能なスイッチ109にてスキャナ装置106のRAM203に展開するファイルシステムを切り替えられる例を説明した。しかし、制御ファイル204、216に、次回起動時に展開すべきファイルシステムを指定するFS指定コマンドを書き込み、ROM127や不図示のEEPROM等の不揮発性メモリに次回起動時に展開すべきファイルシステム指示を書き込んでおき、オペレータによる手動電源OFF/ON、もしくは制御プログラムによる電源リセットないしソフトウェアリセット処理による再起動にて、CPU110が前記ファイルシステム指示にしたがってRAM203に展開すべきディスクイメージを選択できるよう、図15に示すキャプチャアプリケーション210、215のユーザインターフェースにファイルシステムを切り替えるためのメニューを配置してもよい。このように、スイッチ109をFS指定コマンドと不揮発性メモリとによるソフトウェアスイッチとして実現してもよい。   In the present embodiment, an example in which the file system developed in the RAM 203 of the scanner device 106 can be switched by the electrically switchable switch 109 has been described. However, an FS designation command for designating a file system to be expanded at the next activation is written in the control files 204 and 216, and a file system instruction to be expanded at the next activation is written in a non-volatile memory such as the ROM 127 or an EEPROM (not shown). FIG. 15 shows that the CPU 110 can select a disk image to be developed in the RAM 203 in accordance with the file system instruction by manual power OFF / ON by the operator or power reset by a control program or restart by software reset processing. A menu for switching the file system may be arranged in the user interface of the capture application 210 or 215. As described above, the switch 109 may be realized as a software switch including an FS designation command and a nonvolatile memory.

<その他の実施形態>
上述した各実施形態においては、画像読み取り装置を周辺装置の一例として説明した。すなわち、画像読み取り部112が処理部に相当し、CPU110が画像読み取り部112を制御する読取制御部に相当する。CPU110は、画像読み取り部112が読み取った画像データを、順次、第2記憶領域であるRAM203の制御ファイルに書き込むよう画像読み取り部112を制御する。しかし、本発明の周辺装置は、画像形成装置(プリンタ)であってもよいし、画像読み取り機能と画像形成機能を併せ持つ複合機等であってもよい。この場合、処理部は画像形成部に相当し、キャプチャアプリケーションは印刷アプリケーションに相当しよう。また、CPU110は、画像形成部を制御する画像形成制御部として機能し、情報処理装置によって記憶部に書き込まれる画像形成用ジョブのデータを読み出し、画像形成部に転送することで、画像形成部が画像形成処理を実行する。
<Other embodiments>
In each of the above-described embodiments, the image reading device has been described as an example of a peripheral device. That is, the image reading unit 112 corresponds to a processing unit, and the CPU 110 corresponds to a reading control unit that controls the image reading unit 112. The CPU 110 controls the image reading unit 112 so that the image data read by the image reading unit 112 is sequentially written into the control file of the RAM 203 serving as the second storage area. However, the peripheral device of the present invention may be an image forming apparatus (printer) or a multi-function machine having both an image reading function and an image forming function. In this case, the processing unit corresponds to an image forming unit, and the capture application corresponds to a printing application. In addition, the CPU 110 functions as an image formation control unit that controls the image forming unit. The image forming unit reads the data of the image forming job written in the storage unit by the information processing apparatus and transfers the data to the image forming unit. An image forming process is executed.

具体的に、CPU121は、印刷アプリケーションにしたがって、周辺装置のメモリ(読み書き可能でドライブレターが割り当てられたディスクドライブ)の制御ファイル204に印刷ジョブのデータを書き込む。周辺装置のCPU110は、制御ファイル204を監視しており、印刷ジョブのデータが書き込まれるとこれを読み出し、画像形成部(プリンタエンジン)に転送する。CPU110は、必要に応じて印刷ジョブのデータを変換(ラスタライズなど)してもよい。これによって、画像形成部が印刷処理を実行する。このように、周辺装置は、画像形成装置であってもよい。   Specifically, the CPU 121 writes the print job data in the control file 204 of the memory of the peripheral device (a disk drive that is readable and writable and assigned a drive letter) according to the print application. The CPU 110 of the peripheral device monitors the control file 204. When print job data is written, it is read and transferred to the image forming unit (printer engine). The CPU 110 may convert (rasterize, etc.) print job data as necessary. Thereby, the image forming unit executes the printing process. As described above, the peripheral device may be an image forming apparatus.

なお、本発明では、周辺装置のデバイスドライバがコンピュータにインストールされていないため、単純には、周辺装置で印刷を行うことができない。そこで、コンピュータのアプリケーションソフトウエア(ワードプロセッサや画像編集ソフトウエアなど)が印刷対象を汎用形式のファイルとして書き出す。周辺装置の記憶手段から起動された印刷アプリケーションにしたがって、CPU121は、汎用形式のファイルを印刷ジョブのデータに変換し、制御ファイル204ないし216へ書き込む。なお、汎用形式のファイルがそのまま周辺装置の記憶手段に書き込まれてもよい。これにより、周辺装置のデバイスドライバをインストールしなくても、周辺装置で印刷を実行できるようになる。   In the present invention, since the device driver for the peripheral device is not installed in the computer, printing cannot be performed simply by the peripheral device. Therefore, computer application software (such as a word processor or image editing software) writes the print target as a general-purpose file. In accordance with the print application activated from the storage means of the peripheral device, the CPU 121 converts the file in the general format into print job data and writes it in the control files 204 to 216. Note that a general-purpose file may be directly written in the storage means of the peripheral device. As a result, printing can be executed by the peripheral device without installing a device driver for the peripheral device.

上述した各実施形態においては、対応するオペレーティングシステムをマイクロソフトウインドウズ(登録商標)、MacOS(登録商標)、Linux(登録商標)OS、また、それぞれ対応するファイルシステムとしてFAT、HFS、ext2として記載したが、対応するオペレーティングシステムは、上記したオペレーティングシステム以外であってもよいし、また、対応するファイルシステムも、それぞれのオペレーティングシステムにて読み書きが行えるのであれば、上記したファイルシステム以外であってもよい。さらに、スキャナ装置106にて保持しているファイルシステムの組み合わせは、上記実施形態で記載された組み合わせ以外であっても良く、保持しているファイルシステム数は2つ以上としてもよい。   In the above-described embodiments, the corresponding operating systems are described as Microsoft Windows (registered trademark), MacOS (registered trademark), Linux (registered trademark) OS, and the corresponding file systems as FAT, HFS, and ext2, respectively. The corresponding operating system may be other than the above-described operating system, and the corresponding file system may be other than the above-described file system as long as the corresponding operating system can perform reading and writing. . Further, the combinations of file systems held by the scanner device 106 may be other than the combinations described in the above embodiment, and the number of file systems held may be two or more.

以上、本発明を各実施形態に基づいて説明した。しかし、本発明は、例えば、システム、装置、方法、プログラム(プログラム製品)もしくは記憶媒体等としての実施態様をとることが可能である。具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用してもよい。   The present invention has been described based on each embodiment. However, the present invention can take the form of, for example, a system, apparatus, method, program (program product), or storage medium. Specifically, the present invention may be applied to a system composed of a plurality of devices, or may be applied to an apparatus composed of a single device.

なお、本発明は、種類の異なる複数のオペレーティングシステムにそれぞれ対応した複数の制御プログラムを記憶する第1記憶領域とこの第1記憶領域から少なくとも1つの制御プログラムが複製される記憶領域であるとともに情報処理装置に外部記憶装置として認識される第2記憶領域とを有する記憶部を備え、情報処理装置に外部記憶装置として認識された第2記憶領域から情報処理装置によって制御プログラムが読み出されて実行されることで、周辺装置を情報処理装置によって制御できるようにしたものである。   The present invention is a first storage area for storing a plurality of control programs respectively corresponding to a plurality of different types of operating systems, and a storage area in which at least one control program is copied from the first storage area and information. The processing device includes a storage unit having a second storage area recognized as an external storage device, and the information processing device reads and executes the control program from the second storage area recognized as the external storage device by the information processing device As a result, the peripheral device can be controlled by the information processing device.

ここで、「制御プログラム」は、情報処理装置から周辺装置を制御するためのプログラムであって、情報処理装置が周辺装置(第2記憶領域)を外部記憶装置として認識した状態で、情報処理装置によって実行可能なプログラムである。   Here, the “control program” is a program for controlling the peripheral device from the information processing device, and the information processing device recognizes the peripheral device (second storage area) as an external storage device. It can be executed by the program.

また、「周辺装置を情報処理装置によって制御できる」とは、例えば、制御プログラムの実行により、情報処理装置から周辺装置の記憶領域に書き込まれる指示情報(制御信号の一例)に基づいて周辺装置の動作を制御するような場合が挙げられる。ここでいう指示情報とは、例えば、周辺装置がスキャナである場合においては、スキャン設定の情報に相当する。このようなスキャン設定の情報としては、例えば、読み取りモード(白、黒、カラー等)、用紙サイズ、解像度、読み取り面等の各種設定情報が挙げられる。なお、指示情報には、情報処理装置のオペレーティングシステムの種類に関する情報や、オペレーティングシステムに対応する制御プログラムを実行するための指示情報等が挙げられる。これらの情報を活用することにより、周辺装置を情報処理装置から素早く制御可能に接続することができる。また、指示情報には、例えば、ユーザによる制御プログラムの終了や起動に関する情報を含めてもよい。この場合には、情報処理装置での制御プログラムの使用状況がわかり、制御プログラムの使用状況が終了した場合には周辺装置の電源をONからOFFに切り替えたりすることができ、消費電力の削減に貢献することができる。   Also, “peripheral device can be controlled by the information processing device” means, for example, that the peripheral device is based on instruction information (an example of a control signal) written from the information processing device to the storage area of the peripheral device by executing a control program. There are cases where the operation is controlled. The instruction information here corresponds to, for example, scan setting information when the peripheral device is a scanner. Examples of such scan setting information include various setting information such as reading mode (white, black, color, etc.), paper size, resolution, reading surface, and the like. The instruction information includes information on the type of operating system of the information processing apparatus, instruction information for executing a control program corresponding to the operating system, and the like. By utilizing such information, it is possible to connect the peripheral device from the information processing device so as to be quickly controllable. In addition, the instruction information may include, for example, information related to the end or activation of the control program by the user. In this case, the usage status of the control program in the information processing apparatus can be known, and when the usage status of the control program ends, the power supply of the peripheral device can be switched from ON to OFF, thereby reducing power consumption. Can contribute.

ここで、指示情報は、周辺装置の記憶領域(具体的には制御ファイル)に書き込むようにすることができる。この場合には、周辺装置の記憶領域に書き込まれる指示情報をリアルタイム又は所定のタイミングで監視し、書き込まれた指示情報に基づいて周辺装置を制御する。この際、制御ファイルに書き込まれたか否かを監視するのは、上述した管理プログラムであってもよいし、周辺装置のCPUであってもよいし、あるいは別の監視部であってもよい。また、このような制御ファイルを含めて制御プログラムとしてもよい。   Here, the instruction information can be written in a storage area (specifically, a control file) of the peripheral device. In this case, the instruction information written in the storage area of the peripheral device is monitored in real time or at a predetermined timing, and the peripheral device is controlled based on the written instruction information. At this time, it may be the above-described management program, the CPU of the peripheral device, or another monitoring unit that monitors whether it has been written in the control file. Moreover, it is good also as a control program including such a control file.

なお、本発明では、上述した制御プログラムに、ソフトウエアの使用状態又は周辺装置の電源状態に応じて、ソフトウエアの起動又は終了、あるいは周辺装置の電源オン・オフの管理を行う管理プログラムを組み込むようにしてもよい。   In the present invention, the control program described above incorporates a management program for starting or ending software or managing power on / off of the peripheral device according to the use state of the software or the power state of the peripheral device. You may do it.

さらに、本発明では、上記の制御プログラムを周辺装置の記憶領域内で情報処理装置によって実行されるようにしているが、制御プログラムを周辺装置から情報処理装置の記憶領域に送り、その後、情報処理装置によりその制御プログラムを実行させるようにしてもよい。   Furthermore, in the present invention, the control program is executed by the information processing device in the storage area of the peripheral device. However, the control program is sent from the peripheral device to the storage area of the information processing device, and then the information processing is performed. The control program may be executed by an apparatus.

また、本発明は、情報処理装置と周辺装置とを接続した際に、そのことを検知し、情報処理装置のオペレーティングシステムに応じた制御プログラムを周辺装置内の第1記憶領域から第2記憶領域に移し、第2記憶領域を情報処理装置から外部記憶装置(領域)として認識させ、情報処理装置から制御プログラムを実行可能にするものであり、ユーザの利便性をさらに向上することができる。これにより、周辺装置を制御するためのプログラムを情報処理装置にインストールすることなく、周辺装置を情報処理装置から利用可能となる。このため、例えば、デバイスドライバやアプリケーションソフトウエアをインストールすることが制限されている周辺装置であっても、あるいは、プログラムを入手していないユーザであっても、周辺装置を利用できるようになる。また、必要なソフトウエアが周辺装置に記憶されているため、CD−ROMの紛失による使用不可といった問題からも開放される。   The present invention also detects when an information processing device and a peripheral device are connected, and sends a control program corresponding to the operating system of the information processing device from the first storage area to the second storage area in the peripheral device. The second storage area is recognized as an external storage device (area) from the information processing apparatus, and the control program can be executed from the information processing apparatus, so that the convenience of the user can be further improved. Accordingly, the peripheral device can be used from the information processing device without installing a program for controlling the peripheral device in the information processing device. For this reason, for example, even a peripheral device in which installation of a device driver or application software is restricted or a user who has not obtained a program can use the peripheral device. Further, since necessary software is stored in the peripheral device, it is freed from the problem that the CD-ROM cannot be used due to loss.

なお、周辺装置と情報処理装置とをUSB接続し、USBバスパワーにより周辺装置への電源供給を行うようにする場合においては、例えば、情報処理装置がノート型PC等のバッテリー駆動の場合において優れた効果を得ることができる。例えば、情報処理装置がバッテリー駆動の場合、ユーザは、限られたバッテリー容量で長時間の使用を要求する。このような場合、周辺装置を省電力化することはバッテリー駆動のような使用環境において特に有利である。   In the case where the peripheral device and the information processing device are connected by USB and power is supplied to the peripheral device by USB bus power, for example, the information processing device is excellent in the case of battery drive such as a notebook PC Effects can be obtained. For example, when the information processing apparatus is battery-driven, the user requests long-term use with a limited battery capacity. In such a case, power saving of the peripheral device is particularly advantageous in a use environment such as battery driving.

また、上述した実施形態では、情報処理装置と周辺装置とを接続した際に、そのことを検知すると共に情報処理装置のオペレーティングシステムの種類を判定するようにしたが、本発明はこれに限定されない。例えば、周辺装置の本体にオペレーティングシステム毎に区別された情報処理装置との接続部を複数設け、情報処理装置がどこの接続部に接続されたのかによってオペレーティングシステムの種類を特定するようにしてもよい。   In the above-described embodiment, when the information processing device and the peripheral device are connected, this is detected and the type of the operating system of the information processing device is determined. However, the present invention is not limited to this. . For example, a plurality of connection units with information processing devices distinguished for each operating system may be provided in the peripheral device main body, and the type of the operating system may be specified depending on which connection unit the information processing device is connected to. Good.

この場合には、周辺装置の記憶部を各接続部に対応してオペレーティングシステム毎に領域分けしてもよいが、各オペレーティングシステムの種類に対応した各制御プログラムの中から特定されたオペレーティングシステムに対応する制御プログラムを第1記憶領域から第2記憶領域へ移すような移動手段又はプログラムを用意することでも実現できる。   In this case, the storage unit of the peripheral device may be divided into regions for each operating system corresponding to each connection unit, but the operating system specified from each control program corresponding to the type of each operating system is used. It can also be realized by preparing a moving means or program for transferring the corresponding control program from the first storage area to the second storage area.

また、情報処理装置側において制御プログラムの使用を完全に終了してしまった後、再度、周辺装置を直ぐに使用したい状況がある。このような場合には、情報処理装置と周辺装置とを接続するケーブルを抜き差し、あるいは、ファイルシステムを利用して情報処理装置のメモリ内の制御プログラムを検索して再実行することが考えられる。しかしながら、これではユーザの操作が煩雑であり少々利便性が悪くなる。そこで、このような特殊な操作を行わなくても、本発明では、周辺装置に制御プログラムを記憶させているので、これを利用して、情報処理装置から再度、制御プログラムを実行するようにしてもよい。例えば、情報処理装置に周辺装置が接続されている状態で且つ制御プログラムの使用が完全に終了した状態において、周辺装置の本体に設けた操作部(ボタン等)を操作することにより、情報処理装置に制御プログラムを実行させるようにしてもよい。周辺装置がスキャナである場合は、給紙トレイ等の開閉動作を検知に基づいて情報処理装置に制御プログラムを実行させるようにしてもよい。情報処理装置と周辺装置とがUSB接続されている場合においては、周辺装置へのUSBバスパワーのON/OFFによって、物理的なケーブルの抜き差しと同じ状況を実現し、情報処理装置に周辺装置を再認識させて、情報処理装置に制御プログラムを実行させることで実現してもよい。なお、上述した例示においては、情報処理装置から周辺装置内の制御プログラムを実行する場合としては、周辺装置から情報処理装置に制御プログラムを一旦移してからその制御プログラムを情報処理装置で実行するようにしてもよい。いずれにしても、上述した方法により、周辺装置におけるユーザの利便性をさらに向上することができる。   In addition, there is a situation where it is desired to immediately use the peripheral device again after the use of the control program is completely ended on the information processing device side. In such a case, it is conceivable that a cable connecting the information processing apparatus and the peripheral device is connected or disconnected, or a control program in the memory of the information processing apparatus is searched and re-executed using a file system. However, this makes the user's operation cumbersome and a little inconvenient. Therefore, in the present invention, since the control program is stored in the peripheral device without performing such special operation, the control program is executed again from the information processing device using this. Also good. For example, when the peripheral device is connected to the information processing device and the use of the control program is completely terminated, the information processing device is operated by operating an operation unit (button or the like) provided on the main body of the peripheral device. You may make it run a control program. When the peripheral device is a scanner, the information processing device may be caused to execute a control program based on detection of an opening / closing operation of a paper feed tray or the like. When the information processing device and the peripheral device are connected via USB, the same situation as when a physical cable is connected or disconnected is realized by turning on / off the USB bus power to the peripheral device. It may be realized by re-recognizing and causing the information processing apparatus to execute the control program. In the above example, when the control program in the peripheral device is executed from the information processing device, the control program is temporarily transferred from the peripheral device to the information processing device, and then the control program is executed by the information processing device. It may be. In any case, the convenience of the user in the peripheral device can be further improved by the method described above.

Claims (19)

情報処理装置に対して接続される接続部と、
前記情報処理装置からの制御信号に基づいて所定の処理を実行する処理部と、
前記情報処理装置との間で前記接続部を介して通信する通信部と、
複数の記憶領域を有する記憶部とを備え、
前記記憶部は、
情報処理装置ごとで種類の異なる複数のオペレーティングシステムにそれぞれ対応した複数の制御プログラムを記憶する第1記憶領域と、
前記第1記憶領域から少なくとも1つの制御プログラムが複製される記憶領域であるとともに前記情報処理装置に外部記憶装置として認識される第2記憶領域とを備え、
前記情報処理装置に前記外部記憶装置として認識された前記第2記憶領域から前記情報処理装置によって前記制御プログラムが読み出されて実行されることで、前記情報処理装置に制御されることを特徴とする周辺装置。
A connection unit connected to the information processing apparatus;
A processing unit that executes predetermined processing based on a control signal from the information processing apparatus;
A communication unit that communicates with the information processing apparatus via the connection unit;
A storage unit having a plurality of storage areas,
The storage unit
A first storage area for storing a plurality of control programs respectively corresponding to a plurality of operating systems of different types for each information processing device;
A storage area in which at least one control program is duplicated from the first storage area, and a second storage area recognized as an external storage device by the information processing apparatus,
The information processing apparatus is controlled by the information processing apparatus by reading and executing the control program from the second storage area recognized as the external storage apparatus by the information processing apparatus. Peripherals to do.
さらに、前記情報処理装置に前記第2記憶領域を前記外部記憶装置として認識させるよう制御する制御部を備えていることを特徴とする請求項1に記載の周辺装置。   The peripheral device according to claim 1, further comprising a control unit that controls the information processing device to recognize the second storage area as the external storage device. 前記接続部が前記情報処理装置に接続されたことを検知する接続検知部をさらに備え、
前記制御部は、前記接続検知部によって前記接続部が前記情報処理装置に接続されことを検知した場合において前記第1記憶領域から前記第2記憶領域に前記制御プログラムの少なくとも1つを複製するよう制御することを特徴とする請求項2に記載の周辺装置。
A connection detection unit for detecting that the connection unit is connected to the information processing apparatus;
The control unit replicates at least one of the control programs from the first storage area to the second storage area when the connection detection unit detects that the connection unit is connected to the information processing apparatus. The peripheral device according to claim 2, wherein the peripheral device is controlled.
前記第1記憶領域には、前記複数のオペレーティングシステムのうち2つ以上のオペレーティングシステムがアクセス可能な共通かつ単一のファイルシステムのディスクイメージが記憶されており、
前記制御部は、前記ディスクイメージを前記第2記憶領域に展開することを特徴とする請求項2または3に記載の周辺装置。
The first storage area stores a disk image of a common and single file system that can be accessed by two or more of the plurality of operating systems.
The peripheral device according to claim 2, wherein the control unit develops the disk image in the second storage area.
前記第1記憶領域には、前記複数のオペレーティングシステムの1つ1つに対応した複数のファイルシステムのディスクイメージが記憶されており、
前記制御部は、前記情報処理装置において実行されているオペレーティングシステムに対応した前記ディスクイメージを前記第2記憶領域に展開することを特徴とする請求項2または3に記載の周辺装置。
In the first storage area, disk images of a plurality of file systems corresponding to each of the plurality of operating systems are stored,
The peripheral device according to claim 2, wherein the control unit develops the disk image corresponding to an operating system executed in the information processing apparatus in the second storage area.
前記接続部に接続された前記情報処理装置のオペレーティングシステムに応じて前記第2記憶領域のファイルシステムを切り替えるシステム切替部をさらに備え、
前記制御部は、前記システム切替部によって切り替えられたファイルシステムを前記外部記憶装置として前記情報処理装置に認識させることを特徴とする請求項5に記載の周辺装置。
A system switching unit that switches the file system of the second storage area according to an operating system of the information processing apparatus connected to the connection unit;
The peripheral device according to claim 5, wherein the control unit causes the information processing apparatus to recognize the file system switched by the system switching unit as the external storage device.
前記システム切替部は、オペレータによって切り替え可能であることを特徴とする請求項6に記載の周辺装置。   The peripheral device according to claim 6, wherein the system switching unit can be switched by an operator. 前記制御部は、前記情報処理装置において動作しているオペレーティングシステムの種類を判別する判別部を備え、前記判別部の判別結果に基づいて、前記情報処理装置において動作しているオペレーティングシステムに対応したディスクイメージを前記第1記憶領域から前記第2記憶領域に展開することを特徴とする請求項5に記載の周辺装置。   The control unit includes a determination unit that determines a type of an operating system operating in the information processing apparatus, and corresponds to an operating system operating in the information processing apparatus based on a determination result of the determination unit. 6. The peripheral device according to claim 5, wherein a disk image is expanded from the first storage area to the second storage area. 前記ディスクイメージには、前記処理部を制御するための制御コマンドを前記情報処理装置によって書き込み可能な制御ファイルが含まれていることを特徴とする請求項4ないしのいずれか1項に記載の周辺装置。 Wherein the disk image, according to any one of claims 4 to 8, characterized in that it contains the writable control files by the control commands for controlling the processing unit the information processing apparatus Peripheral device. 前記第2記憶領域に展開された前記制御ファイルに前記制御コマンドが前記情報処理装置によって書き込まれたか否かを監視する監視部と、
前記制御コマンドが前記制御ファイルに書き込まれると、該制御コマンドを読み出して実行する実行部と
を備えていることを特徴とする請求項に記載の周辺装置。
A monitoring unit for monitoring whether or not the information processing device has written the control command to the control file expanded in the second storage area;
The peripheral device according to claim 9 , further comprising: an execution unit that reads and executes the control command when the control command is written to the control file.
前記通信部は、前記第2記憶領域を読出専用ディスクデバイスとして前記情報処理装置に認識させるための情報を前記情報処理装置へ送信することを特徴とする請求項1ないし10のいずれか1項に記載の周辺装置。 The communication unit in any one of claims 1 to 10, wherein the transmitting the information to recognize the information processing apparatus the second storage region as a read-only disk devices to the information processing apparatus The peripheral device described. 前記通信部は、前記第2記憶領域を読み書き可能なUSBディスクデバイスとして前記情報処理装置に認識させるための情報を前記情報処理装置へ送信することを特徴とする請求項1ないし8のいずれか1項に記載の周辺装置。   9. The information processing apparatus according to claim 1, wherein the communication unit transmits information for causing the information processing apparatus to recognize the second storage area as a readable / writable USB disk device. The peripheral device according to item. 前記記憶部には、前記第2記憶領域をUSBディスクデバイスとして認識させるための第1の情報と、USBディスクデバイスとして認識させるための第2の情報とが記憶されており、
前記通信部は、前記情報処理装置において起動されているUSBマスストレージドライバからのコマンドを受信したことに応答して、前記第1の情報および前記第2の情報を前記情報処理装置へ送信することを特徴とする請求項12に記載の周辺装置。
The storage unit stores first information for recognizing the second storage area as a USB disk device, and second information for recognizing the USB disk device as a USB disk device,
The communication unit transmits the first information and the second information to the information processing apparatus in response to receiving a command from a USB mass storage driver activated in the information processing apparatus. The peripheral device according to claim 12 .
前記記憶部は、前記制御プログラムのうち少なくとも1つの制御プログラムを自動実行形式のファイルとして記憶していることを特徴とする請求項1ないし13のいずれか1項に記載の周辺装置。 Wherein the storage unit, a peripheral device according to any one of claims 1, characterized in that it is stored as a file in an automatic executable 13 at least one control program among the control programs. 前記記憶部は、
前記複数の制御プログラムと、
前記制御プログラムの少なくとも1つのプログラを自動的に起動することを前記情報処理装置に指示するための autorun.inf ファイルと
を記憶していることを特徴とする請求項1ないし13のいずれか1項に記載の周辺装置。
The storage unit
The plurality of control programs;
Autorun for instructing automatically invoking the at least one program of the control program to the information processing apparatus. peripheral device according to any one of claims 1, characterized in that it stores the inf file 13.
前記処理部として機能する画像読み取り部と、
前記画像読み取り部を制御する読取制御部とを備え、
前記読取制御部は、前記画像読み取り部が読み取った画像データを、順次、前記第2記憶領域に書き込むよう制御することを特徴とする請求項1ないし15のいずれか1項に記載の周辺装置。
An image reading unit functioning as the processing unit;
A reading control unit for controlling the image reading unit,
The peripheral device according to any one of claims 1 to 15 , wherein the reading control unit controls to sequentially write the image data read by the image reading unit to the second storage area.
前記処理部として機能する画像形成部と、
前記画像形成部を制御する画像形成制御部とを備え、
前記画像形成制御部は、前記情報処理装置によって前記記憶部に書き込まれる画像形成用ジョブのデータを読み出し、前記画像形成部に転送することで、前記画像形成部が画像形成処理を実行することを特徴とする請求項1ないし16のいずれか1項に記載の周辺装置。
An image forming unit functioning as the processing unit;
An image formation control unit for controlling the image formation unit,
The image forming control unit reads out data of an image forming job written in the storage unit by the information processing apparatus and transfers the data to the image forming unit, whereby the image forming unit executes an image forming process. The peripheral device according to any one of claims 1 to 16 , characterized in that:
前記第2記憶領域には、
第1パーティションと、
第2パーティションとが展開され、
前記第1パーティションにはFAT形式のファイルシステムが記憶されており、
前記第2パーティションにはHFS形式のファイルシステムが記憶されていることを特徴とする請求項5に記載の周辺装置。
In the second storage area,
A first partition;
The second partition is expanded,
The first partition stores a FAT file system,
6. The peripheral device according to claim 5, wherein a file system in HFS format is stored in the second partition.
情報処理装置と前記情報処理装置に接続される周辺装置とを備え、
前記周辺装置は、前記情報処理装置に対して接続される接続部と、前記情報処理装置からの制御信号に基づいて所定の処理を実行する処理部と、前記情報処理装置との間で前記接続部を介して通信する通信部と、複数の記憶領域を有する記憶部とを備え、
前記記憶部は、情報処理装置ごとで種類の異なる複数のオペレーティングシステムにそれぞれ対応した複数の制御プログラムを記憶する第1記憶領域と、前記第1記憶領域から少なくとも1つの前記制御プログラムが複製される記憶領域であるとともに前記情報処理装置に外部記憶装置として認識される第2記憶領域とを備え、
前記情報処理装置は、前記外部記憶装置として認識した前記第2記憶領域から前記制御プログラムを読み出して実行することによって前記周辺装置を制御可能とすることを特徴とする情報処理システム。
An information processing device and a peripheral device connected to the information processing device;
The peripheral device includes a connection unit connected to the information processing device, a processing unit that executes a predetermined process based on a control signal from the information processing device, and the connection between the information processing device and the connection unit. A communication unit that communicates via the unit, and a storage unit having a plurality of storage areas,
The storage unit includes a first storage area for storing a plurality of control programs respectively corresponding to a plurality of different operating systems for each information processing apparatus, and at least one control program is copied from the first storage area. A second storage area that is a storage area and is recognized as an external storage device in the information processing apparatus,
The information processing system makes it possible to control the peripheral device by reading and executing the control program from the second storage area recognized as the external storage device.
JP2010056531A 2009-11-25 2010-03-12 Peripheral device Active JP5596376B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2010056531A JP5596376B2 (en) 2010-03-12 2010-03-12 Peripheral device
US12/942,956 US8312184B2 (en) 2009-11-25 2010-11-09 Peripheral device usable without installing driver in computer beforehand
US13/659,811 US8914558B2 (en) 2009-11-25 2012-10-24 Peripheral device usable without installing driver in computer beforehand

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010056531A JP5596376B2 (en) 2010-03-12 2010-03-12 Peripheral device

Publications (2)

Publication Number Publication Date
JP2011191939A JP2011191939A (en) 2011-09-29
JP5596376B2 true JP5596376B2 (en) 2014-09-24

Family

ID=44796794

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010056531A Active JP5596376B2 (en) 2009-11-25 2010-03-12 Peripheral device

Country Status (1)

Country Link
JP (1) JP5596376B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5869228B2 (en) * 2011-03-31 2016-02-24 キヤノン電子株式会社 Peripheral device, image reading device, and information processing system
EP2503466B1 (en) 2011-03-23 2017-08-23 Canon Denshi Kabushiki Kaisha Peripheral device used while being connected to information processing apparatus
JP6281366B2 (en) * 2014-03-27 2018-02-21 ブラザー工業株式会社 Scanning apparatus and scanning program
KR102322033B1 (en) 2015-07-21 2021-11-04 삼성전자주식회사 Method and device for sharing a disk image between operating systems

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001256170A (en) * 2000-03-13 2001-09-21 Hitachi Ltd Peripheral devices and printers
JP2003150530A (en) * 2001-11-16 2003-05-23 Naltec Inc Peripheral device and its control method
JP4141409B2 (en) * 2004-06-08 2008-08-27 株式会社アイ・オー・データ機器 External peripherals
JP2006146466A (en) * 2004-11-18 2006-06-08 Matsushita Electric Ind Co Ltd Recording medium and file system management method
JP2006178534A (en) * 2004-12-20 2006-07-06 Ntt Docomo Inc Information processing apparatus and driver software installation control method
JP2006293777A (en) * 2005-04-12 2006-10-26 Canon Inc Installation system, installation method, installation program, storage medium, and information processing apparatus
JP2007280171A (en) * 2006-04-10 2007-10-25 Matsushita Electric Ind Co Ltd Driver automatic installation device

Also Published As

Publication number Publication date
JP2011191939A (en) 2011-09-29

Similar Documents

Publication Publication Date Title
US8717599B2 (en) Peripheral device and image reading device
JP2024147624A (en) Application program, storage medium, and method for receiving application program
JP5665288B2 (en) Information processing apparatus, information processing method, and control program
CN102473099B (en) Information processing apparatus and control method
US20060230261A1 (en) Device driver customizing method, program, recording medium and information processing device
US20100277761A1 (en) Information processing apparatus, installation method of printer driver, and program
US20140300914A1 (en) Information processing apparatus, method for controlling the same, and recording medium
KR101406749B1 (en) Information processing apparatus and control method thereof
JP2007249480A (en) Data processing apparatus, load processing method, storage medium, and program
JP2010039684A (en) Image forming apparatus, information processing apparatus, data processing method, and program
JP5596376B2 (en) Peripheral device
JP5479166B2 (en) Information processing apparatus, printer driver uninstallation method, program, and recording medium
JP5314976B2 (en) Printing apparatus and control method thereof
JP2004303216A (en) Information processing apparatus, image forming apparatus, error processing method at program startup, and recording medium
JP5815256B2 (en) Peripheral device and image reading device
JP6214369B2 (en) Information processing apparatus, program, and control method
JP2005115427A (en) Peripherals connected locally to the computer
US10740171B2 (en) Information processing apparatus, memory control method for information processing apparatus, and program
JP6972281B2 (en) Image forming apparatus, control method of image forming apparatus, and program
JP5869228B2 (en) Peripheral device, image reading device, and information processing system
JP2012080519A (en) Image processing device
JP2006293638A (en) Information processing device and peripheral device
JP5243194B2 (en) Image reading apparatus and control method thereof
US12112078B2 (en) Information processing apparatus capable of extending print functions and storage medium
US8675223B2 (en) Image forming device, image forming system and computer readable medium for installing related software to another device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130306

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140214

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140404

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140606

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140624

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140807

R150 Certificate of patent or registration of utility model

Ref document number: 5596376

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250