JP7489838B2 - Peripheral Devices - Google Patents

Peripheral Devices Download PDF

Info

Publication number
JP7489838B2
JP7489838B2 JP2020111958A JP2020111958A JP7489838B2 JP 7489838 B2 JP7489838 B2 JP 7489838B2 JP 2020111958 A JP2020111958 A JP 2020111958A JP 2020111958 A JP2020111958 A JP 2020111958A JP 7489838 B2 JP7489838 B2 JP 7489838B2
Authority
JP
Japan
Prior art keywords
program
latest
information
information acquisition
scanner 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
JP2020111958A
Other languages
Japanese (ja)
Other versions
JP2022011072A (en
JP2022011072A5 (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 JP2020111958A priority Critical patent/JP7489838B2/en
Publication of JP2022011072A publication Critical patent/JP2022011072A/en
Publication of JP2022011072A5 publication Critical patent/JP2022011072A5/ja
Application granted granted Critical
Publication of JP7489838B2 publication Critical patent/JP7489838B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)
  • Facsimiles In General (AREA)

Description

本発明は、情報処理装置に接続される周辺装置、特に、原稿の画像を読み取る画像読取装置または画像読取システムに関する。 The present invention relates to a peripheral device connected to an information processing device, in particular an image reading device or image reading system that reads images from a document.

ユーザーが、画像読取装置を制御するプログラムを、情報処理装置であるコンピュータにインストールせずに、画像読取装置を使用する方法として、特許文献1が提案されている。この特許では、ユーザーが、画像読取装置をコンピュータにUSBケーブルで接続すると、画像読取装置は、コンピュータによってUSBメモリとして認識される。USBメモリの中には、画像読取装置を制御するプログラムが入っており、この制御プログラムを介して、画像読取装置を使うことができる。 Patent Document 1 proposes a method for a user to use an image reading device without installing a program that controls the image reading device on a computer, which is an information processing device. In this patent, when a user connects the image reading device to a computer with a USB cable, the image reading device is recognized by the computer as a USB memory. The USB memory contains a program that controls the image reading device, and the image reading device can be used via this control program.

また、この構成の場合、画像読取装置内で、制御プログラムの分メモリ容量が必要になる。
特許文献2では、制御プログラムを圧縮して格納しているので、圧縮した分必要なメモリ容量を小さくできる。
Furthermore, in this configuration, the image reading device requires a memory capacity for the control program.
In Patent Document 2, the control program is compressed before being stored, so that the required memory capacity can be reduced by the amount of compression.

特開2011-24057号公報JP 2011-24057 A 特開2018-142170号公報JP 2018-142170 A

最近は、多くのプログラムが、自動でインターネット上から最新バージョンに関する情報を取得する機能、または最新プログラムを自動でダウンロード・更新する機能を備えている。 Nowadays, many programs have the ability to automatically obtain information about the latest versions from the Internet, or to automatically download and update the latest programs.

特許文献2に記載の画像読取装置の制御プログラムにこの機能を載せると、制御プログラムのサイズが大きくなるため、その分解凍に時間がかかる。また、解凍後、制御プログラムは、起動時に画像読取装置の制御に関する準備処理を行うだけでなく、最新プログラムの情報取得も行うことになるので、情報取得にかかる時間分、起動が遅くなってしまう。 If this function is added to the control program for the image reading device described in Patent Document 2, the size of the control program will increase, and therefore it will take time to decompress it. In addition, after decompression, the control program will not only perform preparatory processing for controlling the image reading device at startup, but will also acquire information on the latest program, which will slow down startup by the time it takes to acquire the information.

本発明の周辺装置は、上記の課題を鑑み、
インターネットに接続された情報処理装置に接続されて動作する周辺装置であって、
接続された前記情報処理装置によって外部記憶装置として認識される記憶領域と、
前記記憶領域内に格納され、前記情報処理装置から起動可能な起動プログラムと、
前記記憶領域内に格納され、前記起動プログラムによって実行される制御プログラムおよび最新情報取得プログラムと
を備え、
前記情報処理装置によって前記起動プログラムが起動されると、
前記起動プログラムは、前記制御プログラムと前記最新情報取得プログラムを実行し、
前記最新情報取得プログラムは、前記インターネット上から前記制御プログラムの最新のソフトウェア情報を取得すると同時に、前記制御プログラムの現在のバージョン情報を取得することを特徴とする
In view of the above problems, the peripheral device of the present invention is
A peripheral device that is connected to and operates on an information processing device that is connected to the Internet,
a storage area recognized as an external storage device by the connected information processing device;
a startup program stored in the storage area and startable from the information processing device;
a control program and an latest information acquisition program that are stored in the storage area and executed by the startup program;
Equipped with
When the startup program is started by the information processing device,
The startup program executes the control program and the latest information acquisition program,
The latest information acquisition program is characterized in that it acquires the latest software information of the control program from the Internet and at the same time acquires current version information of the control program .

本発明では、画像処理装置の制御プログラムと、最新プログラムの最新情報取得プログラムを独立して別々に起動するので、制御プログラムの起動は遅くならない。また、それぞれは圧縮されているので、メモリ容量も小さくできる。 In this invention, the control program of the image processing device and the latest information acquisition program for the latest program are started independently and separately, so the start-up of the control program is not delayed. Also, because each is compressed, the memory capacity can be reduced.

画像読取システムの概略構成図。FIG. 1 is a schematic diagram of an image reading system. メモリ内のプログラム配置図。A diagram of program layout in memory. ハードウエアブロック図。Hardware block diagram. プログラムブロック図。Program block diagram. フォルダ500を示す図。FIG. ユーザインターフェース600。User interface 600. キャプチャアプリケーション319aの起動フローチャート。11 is a flowchart showing the start-up of a capture application 319a. 起動プログラム320の起動フロー。2. Start-up flow of the startup program 320. 画像読取処理のフローチャート。4 is a flowchart of an image reading process. 情報通知ダイアログ。Information notification dialog. 最新情報取得プログラム318起動フロー。3. Latest information acquisition program 318 startup flow.

以下、本発明について説明する。なお、以下に説明する実施形態は、一例である。したがって、本発明の技術的範囲は、この実施形態に限定されるものではない。 The present invention will be described below. Note that the embodiment described below is an example. Therefore, the technical scope of the present invention is not limited to this embodiment.

(実施形態1)
図1は、本発明の実施形態1に係る情報処理装置と周辺装置とからなる情報処理システムの概略構成図である。本実施形態のシステムは、情報処理装置であるコンピュータ100と、周辺装置であるスキャナ装置110(画像読取装置)とをUSBケーブル等の通信ケーブル101により接続した構成からなる。
(Embodiment 1)
1 is a schematic diagram of an information processing system including an information processing device and peripheral devices according to embodiment 1 of the present invention. The system of this embodiment includes a computer 100 as the information processing device and a scanner device 110 (image reading device) as the peripheral device, which are connected by a communication cable 101 such as a USB cable.

原稿(シート)を積載する給紙トレイ112が装置本体111に対してヒンジ部を介して開閉可能に支持されている。給紙トレイ112は、閉じた状態で原稿の給紙口113を覆い、開放された状態で積載面114に原稿が積載される。そして、給紙トレイ112に積載された複数枚の原稿は、フィードローラと分離パッドによって最も下の原稿から1枚ずつ搬送路に分離給送される。そして、給送された原稿は、搬送ローラ対により下流側に搬送される。原稿は、読取センサにより表裏の画像が読み取られ、その後、搬送ローラ対により排紙口116から排紙される。スキャナ装置110には、操作ボタン115が設けられており、ユーザーが、ボタンを押すと、前述の一連の動作が実行される。 A paper feed tray 112 for loading documents (sheets) is supported on the device body 111 via a hinge section so as to be openable and closable. When closed, the paper feed tray 112 covers a document feed port 113, and when open, documents are loaded on a loading surface 114. The multiple documents loaded on the paper feed tray 112 are separated and fed one by one, starting from the bottom document, to a transport path by a feed roller and a separation pad. The fed documents are then transported downstream by a pair of transport rollers. Images on the front and back of the documents are read by a reading sensor, and the documents are then discharged from a paper discharge port 116 by the pair of transport rollers. The scanner device 110 is provided with an operation button 115, and when a user presses the button, the series of operations described above is executed.

また、スキャナ装置110への電源供給は、USBバスパワーにより、コンピュータ100からUSBケーブルを介して行われる。 In addition, power is supplied to the scanner device 110 from the computer 100 via a USB cable using USB bus power.

また、スキャナ装置110は読み書き可能なディスクドライブとしてコンピュータに認識され、コンピュータ100から外付けの記憶装置(外部記憶装置)としてアクセスできる。この構成により、コンピュータ100は、読取設定の情報や制御指示情報を、スキャナ装置110とコンピュータ100の両方がアクセスできる領域(アクセス可能領域)に保存されている制御ファイルに書き込むと、スキャナ装置110は、その制御ファイルから、読取設定の情報や制御指示情報を、読み取り、その指示に従う。スキャナ装置110が読み取った画像についても、コンピュータ100は、アクセス可能領域を介して、取得できる。 The scanner device 110 is also recognized by the computer as a read/write disk drive, and can be accessed by the computer 100 as an external storage device (external storage device). With this configuration, the computer 100 writes read setting information and control instruction information to a control file stored in an area accessible by both the scanner device 110 and the computer 100 (accessible area), and the scanner device 110 reads the read setting information and control instruction information from the control file and follows the instructions. The computer 100 can also obtain images read by the scanner device 110 via the accessible area.

また、スキャナ装置110の記憶領域(ROM)213には、スキャナ装置110を制御するための制御プログラム319と、インターネットなどのネットワークを介して最新のプログラム情報を取得する最新情報取得プログラム318とが、圧縮されて記憶されている(図2)。 In addition, the memory area (ROM) 213 of the scanner device 110 stores compressed data including a control program 319 for controlling the scanner device 110 and an latest information acquisition program 318 for acquiring the latest program information via a network such as the Internet (Figure 2).

また、この2つのプログラムを起動する起動プログラム320が圧縮されずに記憶されている。ユーザーが、コンピュータ100にスキャナ装置110を接続すると、スキャナ装置110は外部記憶装置として認識されるので、ファイル管理ソフト(例えば、MAC(登録商標) OSではFINDER、WINDOWS(登録商標) OSではエクスプローラー)で確認すると、起動プログラム320が確認できる。 The startup program 320 that starts these two programs is stored uncompressed. When the user connects the scanner device 110 to the computer 100, the scanner device 110 is recognized as an external storage device, and the startup program 320 can be confirmed by checking with file management software (for example, FINDER in the MAC (registered trademark) OS, or Explorer in the WINDOWS (registered trademark) OS).

ユーザーがこの起動プログラム320を実行すると、起動プログラム320は、制御プログラム319と最新情報取得プログラム318を、コンピュータ100のハードディスク内の作業用領域にコピーし、展開し、実行する。ユーザーは、制御プログラム319を使ってスキャナ装置110を利用できる。制御プログラム319は終了するとき、自身を作業領域から削除する。本実施形態では、ユーザーは、コンピュータ100のハードディスクドライブに制御プログラム等のプログラムをインストールしなくても、スキャナ装置110を利用できる。 When a user executes this startup program 320, the startup program 320 copies the control program 319 and the latest information acquisition program 318 to a working area in the hard disk of the computer 100, unpacks them, and executes them. The user can use the scanner device 110 using the control program 319. When the control program 319 is terminated, it deletes itself from the working area. In this embodiment, the user can use the scanner device 110 without installing a program such as the control program on the hard disk drive of the computer 100.

また、スキャナ装置110のROM213には、スキャナ装置110の動作に必要なファームウェア321が圧縮されずに記憶されている。 In addition, firmware 321 required for the operation of the scanner device 110 is stored uncompressed in the ROM 213 of the scanner device 110.

図3は、本実施形態においてコンピュータ100とスキャナ装置110のハードウエアブロック図である。図3において、コンピュータ100は、CPU201、ROM203、RAM204、ハードディスクドライブ202、USBインターフェース205を備えている。キーボード/マウス230とディスプレイ231は、CPU201に接続されている。 Figure 3 is a hardware block diagram of the computer 100 and the scanner device 110 in this embodiment. In Figure 3, the computer 100 is equipped with a CPU 201, a ROM 203, a RAM 204, a hard disk drive 202, and a USB interface 205. A keyboard/mouse 230 and a display 231 are connected to the CPU 201.

コンピュータ100に電力が投入されると、CPU201は、ROM203からファームウェアを起動し、ハードディスクドライブ202から、例えば、WINDOWS OSが起動する。OSなどの必要なソフトウェアは、RAM204にロードされる。一方、スキャナ装置110は、CPU211、ROM213、RAM214、画像読み取り部216、USBコントローラ212、USBインターフェース215及び操作ボタン115を備えている。スキャナ装置110に電力が投入されると、CPU211は、ファームウェア321をROM213から起動する。 When power is applied to the computer 100, the CPU 201 starts the firmware from the ROM 203, and for example, the Windows OS starts from the hard disk drive 202. Necessary software such as the OS is loaded into the RAM 204. On the other hand, the scanner device 110 includes a CPU 211, a ROM 213, a RAM 214, an image reading unit 216, a USB controller 212, a USB interface 215, and an operation button 115. When power is applied to the scanner device 110, the CPU 211 starts the firmware 321 from the ROM 213.

図4は、コンピュータ100とスキャナ装置110のプログラムブロック図である。コンピュータ100のハードディスクドライブ202には、オペレーティングシステム301、ファイルシステム302、USBマスストレージドライバ303とUSBインターフェースドライバ304がインストールされている。 Figure 4 is a program block diagram of the computer 100 and the scanner device 110. An operating system 301, a file system 302, a USB mass storage driver 303, and a USB interface driver 304 are installed on the hard disk drive 202 of the computer 100.

スキャナ装置110には、スキャナドライバ310、制御プログラム319の一例であるキャプチャアプリケーション319a、最新情報取得プログラム318、起動プログラム320、制御ファイル315、USBディスクドライブインターフェース314とUSBマスストレージクラスインターフェース313が備えられている。 The scanner device 110 includes a scanner driver 310, a capture application 319a which is an example of a control program 319, an latest information acquisition program 318, a startup program 320, a control file 315, a USB disk drive interface 314, and a USB mass storage class interface 313.

スキャナドライバ310は、コンピュータ100とスキャナ装置110との通信を行うためのプログラムである。制御ファイル315を介してスキャナ装置110に制御指示情報を送る役割と、スキャンした画像をキャプチャアプリケーション319aに渡す役割を担っている。 The scanner driver 310 is a program for communicating between the computer 100 and the scanner device 110. It is responsible for sending control instruction information to the scanner device 110 via the control file 315, and for passing scanned images to the capture application 319a.

図5は、スキャナ装置110がUSBドライブとして認識され、ドライブレターを割り当てられたディスクドライブをファイル管理ソフトで開いたフォルダ500を示す図である。フォルダ500は読み書き可能なフォルダであり、制御ファイル315(ファイル名:Control.dat)と、起動プログラム320(ファイル名:CaptureApplication_launcher.exe)とが格納されている。 Figure 5 shows a folder 500 in which the scanner device 110 is recognized as a USB drive and a disk drive to which a drive letter has been assigned is opened in file management software. Folder 500 is a readable/writable folder, and contains a control file 315 (file name: Control.dat) and a launch program 320 (file name: CaptureApplication_launcher.exe).

キャプチャアプリケーション319aは、起動プログラム320によって起動されると、コンピュータ100の画面にスキャナ装置110のユーザインターフェース600を表示する(図6)。ユーザインターフェース600には、スキャン設定を行うためのプルダウンメニュー、ファイル名を入力するためのテキストボックス、スキャンボタン601、画面表示終了ボタン602、終了ボタン603が配置されている。 When the capture application 319a is started by the start-up program 320, it displays a user interface 600 of the scanner device 110 on the screen of the computer 100 (FIG. 6). The user interface 600 includes a pull-down menu for setting scan settings, a text box for inputting a file name, a scan button 601, a screen display end button 602, and an end button 603.

スキャンボタン601は、画像の読み取りを開始させるための指示を発行するためのボタンである。画面表示終了ボタン602は、キャプチャアプリケーション319aを完全終了させず、ユーザインターフェース600を非表示化するボタンである。終了ボタン603は、キャプチャアプリケーション319aをRAMから開放して完全に終了させるボタンである。 The scan button 601 is a button for issuing an instruction to start reading an image. The screen display end button 602 is a button for hiding the user interface 600 without completely terminating the capture application 319a. The end button 603 is a button for releasing the capture application 319a from the RAM and completely terminating it.

スキャン設定は、読み取りモード(図6では、白黒が選択されている。選択肢はカラーと白黒など)、用紙サイズ(図6では、A4が選択されている。選択肢はA4とレターなど)、解像度(図6では、300dpiが選択されている。選択肢は100dpiと300dpiなど)、読み取り面(図6では、両面が選択されている。選択肢は片面と両面)、ファイル名(図6では、test1が指定されている)がある。ユーザーがスキャンボタン601を押すと、キャプチャアプリケーション319a(CPU201)は、制御ファイル315にスキャン設定を書き込み、画像読み取り処理を開始する。 The scan settings include the reading mode (black and white is selected in FIG. 6; options include color and black and white, etc.), paper size (A4 is selected in FIG. 6; options include A4 and letter, etc.), resolution (300 dpi is selected in FIG. 6; options include 100 dpi and 300 dpi, etc.), reading side (double-sided is selected in FIG. 6; options include single-sided and double-sided), and file name (test1 is specified in FIG. 6). When the user presses the scan button 601, the capture application 319a (CPU 201) writes the scan settings to the control file 315 and starts the image reading process.

図7は、コンピュータ100がスキャナ装置110を認識し、キャプチャアプリケーション319aを起動するまでのフローチャートである。コンピュータ100のCPU201は、USBインターフェース205に何からの周辺装置が接続されたか否かを判定する(S401)。 Figure 7 is a flow chart showing the process in which the computer 100 recognizes the scanner device 110 and starts the capture application 319a. The CPU 201 of the computer 100 determines whether any peripheral device is connected to the USB interface 205 (S401).

周辺装置が接続されると、S402に進む。コンピュータ100のCPU201は、USBインターフェースドライバ304を通じて、接続された周辺装置のインターフェース(USBマスストレージクラスインターフェース313)に接続する(S402)。 When the peripheral device is connected, the process proceeds to S402. The CPU 201 of the computer 100 connects to the interface (USB mass storage class interface 313) of the connected peripheral device via the USB interface driver 304 (S402).

コンピュータ100のCPU201は、インターフェースクラスの情報をスキャナ装置110のUSBマスストレージクラスインターフェース313から取得する(S403)。CPU201は、この情報に基づいて、接続された周辺装置の種類を認識できる(S404)。ここでは、周辺装置がディスクドライブ(USBマスストレージデバイス)であることが判明する。 The CPU 201 of the computer 100 acquires interface class information from the USB mass storage class interface 313 of the scanner device 110 (S403). Based on this information, the CPU 201 can recognize the type of the connected peripheral device (S404). In this case, it is determined that the peripheral device is a disk drive (USB mass storage device).

CPU201は、接続されたスキャナ装置110をディスクドライブとしてファイルシステムに追加する(S405)。これにより、CPU201は、スキャナ装置110内に格納してある制御ファイル315を、ドライブレター(例:D)を割り当てたディスクドライブ上のファイルとして認識する。 The CPU 201 adds the connected scanner device 110 to the file system as a disk drive (S405). As a result, the CPU 201 recognizes the control file 315 stored in the scanner device 110 as a file on a disk drive to which a drive letter (e.g. D) has been assigned.

次に、オペレーティングシステム301(CPU201)は、USBディスクドライブ内にデータUSBメモリが挿入されたと判定する。ユーザーのクリック操作で起動プログラム320を起動し、起動プログラム320はキャプチャアプリケーション319aと最新情報取得プログラム318の両方を起動する(S406)。 Next, the operating system 301 (CPU 201) determines that a data USB memory has been inserted into the USB disk drive. The user clicks to start the startup program 320, which then starts both the capture application 319a and the latest information acquisition program 318 (S406).

次に、ユーザーのクリック操作で、キャプチャアプリケーション319aが起動するまでのフローを、図8を用いて説明する。図5のCaptureApplication_Launcher.exe(起動プログラム320)を、ユーザーがクリックすると、起動プログラム320が起動する(S500)。 Next, the flow up to launching the capture application 319a by the user's click operation will be described with reference to FIG. 8. When the user clicks on CaptureApplication_Launcher.exe (launch program 320) in FIG. 5, launch program 320 is launched (S500).

起動プログラム320は、ROM213に格納されているキャプチャアプリケーション319aをコンピュータ100のハードディスクドライブ202の作業用領域にコピーする(S501)。このときコピー処理にエラーが起きたかどうかを確認する(S502)。例えば、作業用領域に十分な空き容量がなく、コピーできない場合、コピー処理は失敗する。失敗した場合は、ユーザーに、空き容量が少なく処理が失敗したことを示す通知を行い(S511)、処理を終了する(S512)。 The startup program 320 copies the capture application 319a stored in the ROM 213 to the working area of the hard disk drive 202 of the computer 100 (S501). At this time, it is checked whether an error has occurred in the copy process (S502). For example, if there is not enough free space in the working area and copying is not possible, the copy process fails. If it fails, the user is notified that there is not enough free space and the process has failed (S511), and the process ends (S512).

キャプチャアプリケーション319aは圧縮して格納されているので、コピー処理が成功すると、起動プログラム320は、解凍処理を行う(S503)。このとき解凍処理にエラーが起きたかどうかを確認する(S504)。例えば、作業用領域に十分な空き容量がなく、解凍後のファイルが保存できない場合、解凍処理は失敗する。失敗した場合は、ユーザーに、空き容量が少なく処理が失敗したことを示す通知を行い(S511)、処理を終了する(S512)。 Since the capture application 319a is stored in a compressed form, if the copy process is successful, the startup program 320 performs the decompression process (S503). At this time, it is checked whether an error occurred during the decompression process (S504). For example, if there is not enough free space in the working area and the decompressed file cannot be saved, the decompression process will fail. If it fails, the user is notified that there is not enough free space and the process has failed (S511), and the process ends (S512).

解凍処理が終わると、起動プログラム320は、キャプチャアプリケーション319aを起動する。次に起動プログラム320は、キャプチャアプリケーション319aの起動までと同様に、最新情報取得プログラム318をコピー、解凍、起動する(S506からS510)。なお、図8においては2つのプログラムについて順に起動する例について説明したが、起動された2つのプログラムはそれぞれ独立して起動するので、それぞれの処理を平行して行うことが好ましい。 When the decompression process is complete, the startup program 320 starts the capture application 319a. Next, the startup program 320 copies, decompresses, and starts the latest information acquisition program 318 in the same manner as in the process of starting the capture application 319a (S506 to S510). Note that although an example in which two programs are started in sequence has been described in FIG. 8, the two started programs start independently, so it is preferable to perform the processing of each in parallel.

図9は、画像読取処理のフローチャートである。スキャンボタン601もしくはスキャナ装置110の操作ボタン115が押されると、キャプチャアプリケーション319aは、スキャン開始コマンドデータを制御ファイル315に書き込み、制御ファイル315経由で、スキャナ装置110に送信する(S408)。 Figure 9 is a flowchart of the image reading process. When the scan button 601 or the operation button 115 of the scanner device 110 is pressed, the capture application 319a writes scan start command data to the control file 315 and transmits it to the scanner device 110 via the control file 315 (S408).

CPU211は、スキャン設定およびスキャン開始コマンドデータ(制御コマンド)が制御ファイル315に書かれたことを検出すると、制御ファイル315を読み込んで、そこに書かれているスキャン設定にしたがって画像読み取り部216を制御し、スキャンを開始する。スキャナ装置110は画像読み取り部216で読み取った画像を制御ファイル315に書き込む。制御コマンドに対応するステータスデータも制御ファイル315に書き込まれる。 When the CPU 211 detects that scan settings and scan start command data (control command) have been written to the control file 315, it reads the control file 315, controls the image reading unit 216 according to the scan settings written therein, and starts scanning. The scanner device 110 writes the image read by the image reading unit 216 to the control file 315. Status data corresponding to the control command is also written to the control file 315.

キャプチャアプリケーション319aは、画像データが制御ファイル315に書き込まれたことを検出する(S409)と、制御ファイル315から画像データを読み出す(S410)。その後、キャプチャアプリケーション319aは、指定されたファイル名(本実施形態では、test1)を付与した画像ファイルを生成してハードディスクドライブ202に保存する(S411)。 When the capture application 319a detects that image data has been written to the control file 315 (S409), it reads the image data from the control file 315 (S410). The capture application 319a then generates an image file with the specified file name (test1 in this embodiment) and saves it in the hard disk drive 202 (S411).

次に、最新情報取得プログラム318について説明する。起動プログラム320が最新情報取得プログラム318を起動すると、最新情報取得プログラム318は、インターネットを介して最新のソフトウェア情報を取得すると同時に、キャプチャアプリケーション319aとファームウェア321の現在のバージョンを取得する。ソフトウェア情報はXML形式のテキストファイルである。 Next, the latest information acquisition program 318 will be described. When the startup program 320 starts the latest information acquisition program 318, the latest information acquisition program 318 acquires the latest software information via the Internet and at the same time acquires the current versions of the capture application 319a and firmware 321. The software information is a text file in XML format.

最新のソフトウェア情報の内容には、ファームウェア321のバージョンとキャプチャアプリケーション319aのバージョンと、最新の各ソフトウェアがダウンロードできるURLが記載されている。最新情報取得プログラム318は、スキャナ装置110から取得した各バージョンとXML記載のバージョンを比較し、XML記載のバージョンが新しい場合、図10のダイアログをコンピュータ100の画面に表示する。 The latest software information includes the version of firmware 321 and capture application 319a, and the URL where the latest software can be downloaded. The latest information acquisition program 318 compares each version acquired from the scanner device 110 with the version described in the XML, and if the version described in the XML is newer, the dialog shown in FIG. 10 is displayed on the screen of the computer 100.

ユーザーがダイアログの「はい」ボタンを押すと、最新情報取得プログラム318は、コンピュータ100上のブラウザアプリケーションにダウンロードサイトを表示させ起動する。「いいえ」ボタンを押すと、最新情報取得プログラム318は、終了する。なお、ダウンロードサイトを直接表示させるのではなく、ダウンロードサイトを表示可能な他のWebページを表示して、ユーザーにダウンロードを促すようにしても良い。 When the user presses the "Yes" button in the dialog, the latest information acquisition program 318 displays the download site in the browser application on the computer 100 and starts it. When the "No" button is pressed, the latest information acquisition program 318 ends. Note that instead of directly displaying the download site, it is also possible to display another web page that can display the download site and prompt the user to download.

図11に最新情報取得プログラム318の起動フローを示す。最新情報取得プログラム318は、起動すると(S520)、インターネット上から最新のソフトウェア情報(XML)を取得する(S521)。 Figure 11 shows the startup flow of the latest information acquisition program 318. When the latest information acquisition program 318 is started (S520), it acquires the latest software information (XML) from the Internet (S521).

次にスキャナ装置110内のソフトウェア(キャプチャアプリケーション319aとファームウェア321)のバージョンを取得する(S522)。そして、取得した最新のソフトウェア情報のバージョンと、スキャナ装置110内のソフトウェアのバージョンを比較し、最新のソフトウェア情報のバージョンと一致するかどうか確認する(S523)。 Then, the version of the software (capture application 319a and firmware 321) in the scanner device 110 is obtained (S522). Then, the version of the obtained latest software information is compared with the version of the software in the scanner device 110 to confirm whether it matches the version of the latest software information (S523).

スキャナ装置110内のソフトウェアのバージョンが最新のソフトウェア情報のバージョンよりも古いバージョンである場合、ユーザーに、最新ソフトウェアをダウンロードするかどうかの通知(図10のダイアログ)を表示する(S524)。 If the version of the software in the scanner device 110 is older than the version in the latest software information, a notification (dialog in FIG. 10) is displayed to the user asking whether or not to download the latest software (S524).

S525において、ユーザーが「はい」ボタンを選択すると、最新情報取得プログラム318はブラウザアプリケーションを起動する(S526)。S525において、ユーザーが「いいえ」ボタンを選択した場合は、何もせず終了する(S527)。 If the user selects the "Yes" button in S525, the latest information acquisition program 318 launches a browser application (S526). If the user selects the "No" button in S525, the program ends without doing anything (S527).

S523で、スキャナ装置110内のソフトウェアのバージョンが最新のソフトウェア情報のバージョンと一致した場合、何もせず終了する(S527)。 If in S523 the version of the software in the scanner device 110 matches the version of the latest software information, the process ends without doing anything (S527).

以上説明したように、本実施形態においては、スキャナ装置110内の記憶領域に格納された起動プログラム320によって制御プログラム319を起動してスキャナ装置110を動作させるものにおいて、起動プログラム320の実行時に、自動的に制御プログラム319のバージョン情報とインターネット上の最新のバージョンとを比較するようにしたものである。この構成によれば、コンピュータ100に接続するだけで使用可能なように構成されたスキャナ装置110において、コンピュータ100がインターネットに接続された環境下においては、自動的にソフトウェアのバージョンを確認し、新しいバージョンのソフトウェアがある場合には、ユーザーに通知することが出来るため、記憶領域内にソフトウェアを格納してスキャナ装置110を出荷したタイミングによらず、ユーザーによる使用時に最新のバージョンのソフトウェアの利用を促すことが出来る。 As described above, in this embodiment, the control program 319 is started by the start-up program 320 stored in the memory area of the scanner device 110 to operate the scanner device 110, and when the start-up program 320 is executed, the version information of the control program 319 is automatically compared with the latest version on the Internet. With this configuration, in the scanner device 110 configured so that it can be used simply by connecting it to the computer 100, in an environment in which the computer 100 is connected to the Internet, the software version can be automatically checked, and if a new version of the software is available, the user can be notified. Therefore, regardless of the timing of shipping the scanner device 110 by storing the software in the memory area, the user can be encouraged to use the latest version of the software when using the scanner device.

(実施形態2)
実施形態2では、実施形態1と次の点のみが異なる。実施形態1では、最新情報取得プログラム318は、スキャナ装置110内のソフトウェアのバージョンよりも新しいソフトウェア情報をインターネット上から取得した場合、ユーザーに通知するのみであった。本実施形態においては、ユーザーが図11に示すフローチャートにおけるS525で「はい」ボタンを選択した場合、自動でダウンロードとプログラムのアップデートを行う。なお、プログラムのアップデートを行うときは、ユーザーにアップデート中を示すダイアログを表示する。
(Embodiment 2)
The second embodiment differs from the first embodiment only in the following respects. In the first embodiment, the latest information acquisition program 318 only notifies the user when software information newer than the version of the software in the scanner device 110 is acquired from the Internet . In this embodiment, if the user selects the "Yes" button in S525 in the flowchart shown in Fig. 11, downloading and updating the program are performed automatically. When updating the program, a dialog box is displayed to the user indicating that an update is in progress.

(実施形態3)
上記各実施形態では、起動プログラム320が起動するプログラムは、キャプチャアプリケーション319aと最新情報取得プログラム318の2つであったが、これに限らない。本実施形態においては、起動プログラム320を起動した時に、スキャナ装置110のトータルスキャン枚数(スキャナ装置110の内部メモリに記録されている)を読み出すプログラムを起動プログラム320が同時に実行し、トータルスキャン枚数が予め設定された閾値を超えているときに、ユーザーに対して、ローラ交換を促すダイアログを表示する。
(Embodiment 3)
In the above embodiments, the programs started by the startup program 320 are the capture application 319a and the latest information acquisition program 318, but this is not limiting. In this embodiment, when the startup program 320 is started, the startup program 320 simultaneously executes a program that reads the total number of scanned pages of the scanner device 110 (recorded in the internal memory of the scanner device 110), and when the total number of scanned pages exceeds a preset threshold, a dialogue is displayed to the user urging them to replace the rollers.

以上、各実施形態で説明したものは一例であり、本発明の主旨を逸脱しない範囲で変更が可能である。例えば、各アプリケーション(ソフトウェア)の実行時において、コンピュータ100のハードディスク内の作業用領域にコピーし、展開し、実行する、などと説明したが、コンピュータ100の他の記憶領域(例えばRAMなど)に展開して実行しても良い。 The above embodiments are merely examples, and modifications are possible without departing from the spirit of the present invention. For example, it has been described that when each application (software) is executed, it is copied to a working area in the hard disk of the computer 100, expanded, and executed, but it may also be expanded to another storage area of the computer 100 (such as RAM) and executed.

100 コンピュータ
101 USB通信ケーブル
110 スキャナ装置
315 制御ファイル
318 最新情報取得プログラム
319 制御プログラム
319a キャプチャアプリケーション
320 起動プログラム
321 ファームウェア

100 Computer 101 USB communication cable 110 Scanner device 315 Control file 318 Latest information acquisition program 319 Control program 319a Capture application 320 Startup program 321 Firmware

Claims (5)

インターネットに接続された情報処理装置に接続されて動作する周辺装置であって、
接続された前記情報処理装置によって外部記憶装置として認識される記憶領域と、
前記記憶領域内に格納され、前記情報処理装置から起動可能な起動プログラムと、
前記記憶領域内に格納され、前記起動プログラムによって実行される制御プログラムおよび最新情報取得プログラムと
を備え、
前記情報処理装置によって前記起動プログラムが起動されると、
前記起動プログラムは、前記制御プログラムと前記最新情報取得プログラムを実行し、
前記最新情報取得プログラムは、前記インターネット上から前記制御プログラムの最新のソフトウェア情報を取得すると同時に、前記制御プログラムの現在のバージョン情報を取得することを特徴とする周辺装置。
A peripheral device that is connected to and operates on an information processing device that is connected to the Internet,
a storage area recognized as an external storage device by the connected information processing device;
a startup program stored in the storage area and startable from the information processing device;
a control program and an latest information acquisition program that are stored in the storage area and executed by the startup program,
When the startup program is started by the information processing device,
The startup program executes the control program and the latest information acquisition program,
The peripheral device, wherein the latest information acquisition program acquires the latest software information of the control program from the Internet and at the same time acquires current version information of the control program.
前記制御プログラムと前記最新情報取得プログラムとは、前記記憶領域に圧縮された状態で格納されていることを特徴とする請求項1に記載の周辺装置。 The peripheral device according to claim 1, characterized in that the control program and the latest information acquisition program are stored in a compressed state in the memory area. 前記起動プログラムは、前記記憶領域に圧縮されていない状態で格納されていることを特徴とする請求項2に記載の周辺装置。3. The peripheral device according to claim 2, wherein the boot program is stored in the storage area in an uncompressed state. 前記周辺装置のファームウェアが前記記憶領域に圧縮されていない状態で格納されており、firmware for the peripheral device is stored in an uncompressed state in the storage area;
前記最新情報取得プログラムは、前記インターネット上から前記ファームウェアの最新のソフトウェア情報を取得すると同時に、前記ファームウェアの現在のバージョン情報を取得することを特徴とする請求項3に記載の周辺装置。4. The peripheral device according to claim 3, wherein said latest information acquisition program acquires the latest software information of said firmware from the Internet and at the same time acquires current version information of said firmware.
前記最新情報取得プログラムは、前記最新のソフトウェア情報におけるバージョン情報と前記現在のバージョン情報とが一致しない場合に、前記情報処理装置が有するブラウザを起動して前記最新のプログラムを取得するためのWebページを表示させることを特徴とする請求項1または2に記載の周辺装置。 The peripheral device according to claim 1 or 2, characterized in that the latest information acquisition program starts a browser of the information processing device and displays a web page for acquiring the latest program when the version information in the latest software information does not match the current version information.
JP2020111958A 2020-06-29 2020-06-29 Peripheral Devices Active JP7489838B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020111958A JP7489838B2 (en) 2020-06-29 2020-06-29 Peripheral Devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020111958A JP7489838B2 (en) 2020-06-29 2020-06-29 Peripheral Devices

Publications (3)

Publication Number Publication Date
JP2022011072A JP2022011072A (en) 2022-01-17
JP2022011072A5 JP2022011072A5 (en) 2023-09-15
JP7489838B2 true JP7489838B2 (en) 2024-05-24

Family

ID=80147880

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020111958A Active JP7489838B2 (en) 2020-06-29 2020-06-29 Peripheral Devices

Country Status (1)

Country Link
JP (1) JP7489838B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006092194A (en) 2004-09-22 2006-04-06 Fuji Xerox Co Ltd Failure recovery support device, and failure recovery support system
US20070245037A1 (en) 2006-03-21 2007-10-18 Alain Cadio Software driver device
JP2011024057A (en) 2009-07-17 2011-02-03 Canon Electronics Inc Peripheral device, method of controlling the same, and information processing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006092194A (en) 2004-09-22 2006-04-06 Fuji Xerox Co Ltd Failure recovery support device, and failure recovery support system
US20070245037A1 (en) 2006-03-21 2007-10-18 Alain Cadio Software driver device
JP2011024057A (en) 2009-07-17 2011-02-03 Canon Electronics Inc Peripheral device, method of controlling the same, and information processing system

Also Published As

Publication number Publication date
JP2022011072A (en) 2022-01-17

Similar Documents

Publication Publication Date Title
US7933029B2 (en) Printing system and printing apparatus
KR100788444B1 (en) Log data recording device and log data recording method
EP2388685B1 (en) Information processing apparatus and control method thereof, and storage medium
JP4663754B2 (en) Printing system
JP4946141B2 (en) Configuration change program and information processing apparatus
US20060232816A1 (en) Image processing apparatus, method for updating control program, and program
US20070041040A1 (en) Image forming apparatus enabling performing direct print and recording medium storing program
JP4501120B2 (en) File editing apparatus, file editing method, and file editing program
JP7489838B2 (en) Peripheral Devices
US9971558B2 (en) Information processing apparatus
JP5815256B2 (en) Peripheral device and image reading device
JP2005267088A (en) Peripheral equipment driver, peripheral equipment controller and method for updating peripheral equipment driver
JP5596376B2 (en) Peripheral device
US20220327338A1 (en) Printer, print system, and storage medium storing program
JP2016173771A (en) Program, information processing apparatus, information processing method, and storage medium
US8134730B2 (en) Output control system
JP4428686B2 (en) Printing system
JP6489827B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP6013801B2 (en) Image output system and image output apparatus
JP2018037018A (en) Information processing device and program
JP5169718B2 (en) Information processing apparatus, display screen activation method, and program
JP5065347B2 (en) Data processing system, program and printing device
JP6758995B2 (en) Image processing device, its control method, and program
JP2007279988A (en) Information processor and driver program
US11765296B2 (en) Information processing system, information processing apparatus, information processing method, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230628

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20230628

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230904

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240424

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240426

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240514

R150 Certificate of patent or registration of utility model

Ref document number: 7489838

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150