JP6314699B2 - Information processing device - Google Patents

Information processing device Download PDF

Info

Publication number
JP6314699B2
JP6314699B2 JP2014135513A JP2014135513A JP6314699B2 JP 6314699 B2 JP6314699 B2 JP 6314699B2 JP 2014135513 A JP2014135513 A JP 2014135513A JP 2014135513 A JP2014135513 A JP 2014135513A JP 6314699 B2 JP6314699 B2 JP 6314699B2
Authority
JP
Japan
Prior art keywords
unit
data
writing
storage device
removable storage
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
JP2014135513A
Other languages
Japanese (ja)
Other versions
JP2016015557A (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.)
Konica Minolta Inc
Original Assignee
Konica Minolta 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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP2014135513A priority Critical patent/JP6314699B2/en
Publication of JP2016015557A publication Critical patent/JP2016015557A/en
Application granted granted Critical
Publication of JP6314699B2 publication Critical patent/JP6314699B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Storing Facsimile Image Data (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、装着されたリムーバブル記憶装置にデータを書き込む情報処理装置に関する。   The present invention relates to an information processing apparatus that writes data to a mounted removable storage device.

近年、コピー、印刷、スキャンなどの機能を備えた複合機(MFP(Multifunction Peripheral))などの情報処理装置には、SD(Secure Digital)カードなどのリムーバブル記憶装置の接続部を備え、印刷対象のファイルをリムーバブル記憶装置から取得したり、原稿を読み取って得た画像データをリムーバブル記憶装置に保存したりする機能を備えたものがある。   In recent years, information processing apparatuses such as MFPs (Multifunction Peripherals) equipped with functions such as copying, printing, and scanning have a removable storage device connection unit such as an SD (Secure Digital) card, and are subject to printing. Some have a function of acquiring a file from a removable storage device and saving image data obtained by reading a document in the removable storage device.

ところで、2012年1月に、SDカードの規格化団体(SD Association)は、無線LAN(Local Area Network)接続機能を内蔵したWireless LAN SD 規格の策定を発表した。これにより、この規格に準拠したSDカード(以下、無線SDカード)を用いた場合、特許文献1に開示されたMFPのように、装置側で無線通信機能を具備しなくても、無線SDカード自体が無線通信機能を内蔵しているため、携帯端末等から無線通信で、無線SDカードの中身を読み書き出来るようになった。   By the way, in January 2012, an SD card standardization organization (SD Association) announced the formulation of a Wireless LAN SD standard with a built-in wireless LAN (Local Area Network) connection function. Thus, when an SD card conforming to this standard (hereinafter referred to as a wireless SD card) is used, the wireless SD card can be used even if the apparatus does not have a wireless communication function like the MFP disclosed in Patent Document 1. Since it itself has a built-in wireless communication function, the contents of the wireless SD card can be read and written by wireless communication from a portable terminal or the like.

通常、無線SDカードは、デジタルカメラ等で撮影した画像を携帯端末で取得するために使われる。すなわち、デジタルカメラで撮影して得た画像を該デジタルカメラに装着中の無線SDカードに保存し、携帯端末が該無線SDカードに保存された画像を無線通信によって読み取るといった使い方がなされる。   Usually, a wireless SD card is used to acquire an image taken with a digital camera or the like with a portable terminal. That is, an image obtained by photographing with a digital camera is stored in a wireless SD card mounted on the digital camera, and a portable terminal reads the image stored in the wireless SD card by wireless communication.

MFPで無線SDカードを利用する技術には、たとえば、外部端末の中の文書を、仮想的に無線SDカードの中にあるかのように見せかけて、MFPで印刷可能にする技術がある(下記特許文献1参照。)。   As a technique for using a wireless SD card in an MFP, for example, there is a technique that allows a document in an external terminal to virtually appear in a wireless SD card and be printed by the MFP (described below). (See Patent Document 1).

特開2006−202331号公報JP 2006-202331 A 特開2011−034551号公報JP 2011-034551A

MFP等の情報処理装置が、リムーバブル記憶装置にデータを転送して保存するジョブを実行している途中で、リムーバブル記憶装置の空き領域がなくなることがある。このような場合に、前述した無線SDカードであれば、外部からファイルを削除することができる。   An information processing apparatus such as an MFP may run out of free space in the removable storage device while executing a job for transferring and saving data to the removable storage device. In such a case, with the above-described wireless SD card, the file can be deleted from the outside.

しかし、従来の装置は、無線通信機能のないリムーバブル記憶装置を前提にしていたので、リムーバブル記憶装置に画像データ等を転送して保存するジョブの実行途中でリムーバブル記憶装置の空き領域がなくなった場合、ジョブの実行を破棄していた。そのため、ユーザは、リムーバブル記憶装置内の不要なファイルを削除して十分な空き領域を確保した後、改めて各種の設定を行ってジョブを再投入しなければならず、操作が煩雑で多大な工数を要するという問題があった。   However, since the conventional device is based on a removable storage device that does not have a wireless communication function, there is no free space in the removable storage device during the execution of a job that transfers image data to the removable storage device. The job execution was discarded. For this reason, the user must delete unnecessary files in the removable storage device to secure sufficient free space, and then make various settings again to re-submit the job. There was a problem of requiring.

本発明は、上記の問題を解決しようとするものであり、リムーバブル記憶装置に画像データ等を転送して保存するジョブの実行途中でリムーバブル記憶装置の空き領域がなくなった場合でも、そのジョブを完結させることのできる情報処理装置を提供することを目的としている。   The present invention is intended to solve the above-described problem, and completes the job even when there is no free space in the removable storage device during the execution of the job for transferring and saving image data or the like to the removable storage device. An object of the present invention is to provide an information processing apparatus that can be made to operate.

かかる目的を達成するための本発明の要旨とするところは、次の各項の発明に存する。   The gist of the present invention for achieving the object lies in the inventions of the following items.

[1]ータを外部から無線通信で書き込み及び削除可能なリムーバブル記憶装置が着脱可能に接続される接続部と、
前記接続部に接続されているリムーバブル記憶装置の空き容量を検出する検出部と、
前記接続部に接続されているリムーバブル記憶装置にデータを書き込む第1データ書き込み部と、
を備え、
前記第1データ書き込み部は、前記書き込みの途中で前記リムーバブル記憶装置の空き領域が不足した場合に、前記書き込みを中断し、
前記検出部は、前記空き容量の検出を繰り返し行い、
前記第1データ書き込み部は、前記中断後に前記検出部が検出した空き容量が所定量以上になった場合に、その空き領域への無線通信による書き込みを防止するとともに、前記第1データ書き込み部による書き込みを再開する
ことを特徴とする情報処理装置。
[1] and the connecting portion data wireless communication writing and erasable removable storage device from the outside is detachably connected,
A detection unit for detecting a free capacity of a removable storage device connected to the connection unit;
A first data writing unit for writing data to a removable storage device connected to the connection unit;
With
The first data writing unit interrupts the writing when an empty area of the removable storage device is insufficient during the writing,
The detection unit repeatedly detects the free space,
The first data writing unit prevents writing to the empty area by wireless communication when the free space detected by the detection unit after the interruption exceeds a predetermined amount , and the first data writing unit An information processing apparatus that resumes writing.

上記発明では、データの書き込み途中でリムーバブル記憶装置の空き領域が不足した場合は、書き込みを中断し、リムーバブル記憶装置の空き容量の検出を繰り返し行い、検出した空き容量が所定量以上になった場合に、その空き領域への無線通信による書き込みを防止するとともに第1データ書き込み部による書き込みを再開する。 In the above invention, when the free space of the removable storage device is insufficient during the data writing, the writing is interrupted, the detection of the free space of the removable storage device is repeated, and the detected free space exceeds the predetermined amount. In addition, writing to the empty area by wireless communication is prevented and writing by the first data writing unit is resumed.

[2]前記検出部は、前記第1データ書き込み部が前記書き込みを中断したことを契機に、前記空き容量の検出を繰り返し行う
ことを特徴とする[1]に記載の情報処理装置。
[2] The information processing apparatus according to [1], wherein the detection unit repeatedly detects the free capacity when the first data writing unit interrupts the writing.

上記発明では、該中断を契機に、リムーバブル記憶装置の空き容量の検出を繰り返し行う。   In the above invention, the detection of the free capacity of the removable storage device is repeatedly performed with the interruption.

[3]原稿を光学的に読み取って画像データを出力する原稿読み取り部を備え、
前記データは前記画像データである
ことを特徴とする[1]または[2]に記載の情報処理装置。
[3] A document reading unit that optically reads a document and outputs image data is provided.
The information processing apparatus according to [1] or [2], wherein the data is the image data.

[4]前記第1データ書き込み部は、前記書き込みを、前記原稿読み取り部による原稿の読み取り動作と並行して行い、
前記原稿読み取り部は、前記第1データ書き込み部による前記書き込みの途中で前記リムーバブル記憶装置の空き領域が不足した場合に、前記読み取り動作を一時停止し、前記中断後に前記検出部が検出した空き容量が前記所定量以上になった場合に、前記読み取り動作を再開する
ことを特徴とする[3]に記載の情報処理装置。
[4] The first data writing unit performs the writing in parallel with the document reading operation by the document reading unit,
The original reading unit temporarily stops the reading operation when an empty area of the removable storage device is insufficient during the writing by the first data writing unit, and the free space detected by the detection unit after the interruption. The information processing apparatus according to [3], wherein the reading operation is resumed when the value exceeds the predetermined amount.

上記発明では、リムーバブル記憶装置の空き領域が不足した場合に、原稿の読み取り動作を一時停止し、中断後に空き容量が所定量以上になった場合に、読み取り動作を再開する。   In the above invention, when the free space of the removable storage device is insufficient, the document reading operation is temporarily stopped, and when the free space becomes a predetermined amount or more after the interruption, the reading operation is resumed.

[5]記憶部と、
前記記憶部にデータを書き込む第2データ書き込み部を備え、
前記第1データ書き込み部は、前記書き込みを、前記原稿読み取り部による原稿の読み取り動作と並行して行い、
前記原稿読み取り部は、前記第1データ書き込み部が前記画像データの書き込みを中断した場合でも前記原稿の読み取り動作を継続して完了させ、
前記第2データ書き込み部は、前記原稿読み取り部から出力される前記画像データのうち、少なくとも前記中断の前に前記第1データ書き込み部によって前記リムーバブル記憶装置に書き込まれた部分以外の残り部分を前記記憶部に書き込み、
前記第1データ書き込み部は、前記再開した後の書き込みでは、前記記憶部に記憶されている前記画像データを前記リムーバブル記憶装置に転送して書き込む
ことを特徴とする[3]に記載の情報処理装置。
[5] A storage unit;
A second data writing unit for writing data to the storage unit;
The first data writing unit performs the writing in parallel with a document reading operation by the document reading unit,
The document reading unit continues and completes the document reading operation even when the first data writing unit interrupts the writing of the image data,
The second data writing unit outputs at least the remaining portion of the image data output from the document reading unit other than the portion written in the removable storage device by the first data writing unit before the interruption. Write to memory,
The information processing according to [3], wherein in the writing after the restart, the first data writing unit transfers the image data stored in the storage unit to the removable storage device and writes the image data. apparatus.

上記発明では、リムーバブル記憶装置の空き領域が不足して画像データの書き込みを中断した場合でも原稿の読み取り動作を継続して完了させ、読み取ったデータは、一時的に、記憶部に保存する。そして、リムーバブル記憶装置に空き領域ができたら、記憶部に保存されているデータをリムーバブル記憶装置に転送する。   In the above invention, even when writing of image data is interrupted due to a lack of free space in the removable storage device, the document reading operation is continuously completed, and the read data is temporarily stored in the storage unit. When a free space is created in the removable storage device, the data stored in the storage unit is transferred to the removable storage device.

[6]前記第2データ書き込み部は、前記中断が発生したとき、前記中断の前に前記第1データ書き込み部が前記リムーバブル記憶装置に書き込んだ画像データを前記記憶部に転送して前記リムーバブル記憶装置から削除し、該転送した画像データと前記残り部分の画像データとを結合して1つのファイルを前記記憶部に生成し、
前記所定量は前記ファイルを保存可能な空き容量であり、
前記第1データ書き込み部は、前記再開の後は、前記ファイルを前記リムーバブル記憶装置に書き込む
ことを特徴とする[5]に記載の情報処理装置。
[6] When the interruption occurs, the second data writing unit transfers the image data written in the removable storage device by the first data writing unit before the interruption to the storage unit, so that the removable storage is performed. Delete from the device, combine the transferred image data and the remaining image data to generate one file in the storage unit,
The predetermined amount is a free space capable of storing the file,
The information processing apparatus according to [5], wherein the first data writing unit writes the file into the removable storage device after the restart.

上記発明では、中断・再開を行った場合でも、画像データは1つのファイルとしてリムーバブル記憶装置に記憶される。   In the above invention, even when interruption / resumption is performed, the image data is stored as one file in the removable storage device.

[7]記憶部を備え、
前記第1データ書き込み部が前記リムーバブル記憶装置に書き込むデータは、前記記憶部に記憶されているデータである
ことを特徴とする[1]または[2]に記載の情報処理装置。
[7] A storage unit is provided,
The information processing apparatus according to [1] or [2], wherein the data written by the first data writing unit to the removable storage device is data stored in the storage unit.

[8]前記第1データ書き込み部が前記中断の前に前記リムーバブル記憶装置に書き込んだデータと、前記再開の後に前記リムーバブル記憶装置に書き込むデータを、個別のファイルとして前記リムーバブル記憶装置に保存する
ことを特徴とする[1]乃至[5]、[7]のいずれか1つに記載の情報処理装置。
[8] Saving the data written in the removable storage device by the first data writing unit before the interruption and the data written in the removable storage device after the restart as separate files in the removable storage device. The information processing apparatus according to any one of [1] to [5] and [7], characterized by:

上記発明では、中断の前のデータと、再開の後のデータを、個別のファイルとしてリムーバブル記憶装置に保存することで、中断前のデータを中断時点でファイルとして完成させることができ、書き込み済みの部分を外部から早期に読み出すことが可能になる。   In the above invention, the data before the interruption and the data after the restart are saved as separate files in the removable storage device, so that the data before the interruption can be completed as a file at the time of interruption, The part can be read out from the outside at an early stage.

[9]前記第1データ書き込み部が前記中断の前に前記リムーバブル記憶装置に書き込んだデータと、前記再開の後に前記リムーバブル記憶装置に書き込むデータを、1つのファイルとして前記リムーバブル記憶装置に保存する
ことを特徴とする[1]乃至[7]のいずれか1つに記載の情報処理装置。
[9] The data written to the removable storage device by the first data writing unit before the interruption and the data written to the removable storage device after the restart are saved as one file in the removable storage device. The information processing apparatus according to any one of [1] to [7].

上記発明では、中断した場合でも、中断の無い場合と同じ結果物をリムーバブル記憶装置に作成することができる。   In the above invention, even when interrupted, the same result as that without interruption can be created in the removable storage device.

[10]前記中断後に、前記検出部によって検出された空き容量が増加した場合に、前記リムーバブル記憶装置にダミーデータを書き込む領域確保部を備え、
前記第1データ書き込み部は、前記検出部が検出した空き容量に代えて、前記ダミーデータのデータ量が前記所定量以上になった場合に、前記ダミーデータの記憶領域を使用して前記書き込みを再開する
ことを特徴とする[1]乃至[9]のいずれか1つに記載の情報処理装置。
[10] An area securing unit for writing dummy data to the removable storage device when the free space detected by the detection unit increases after the interruption,
The first data writing unit uses the dummy data storage area to write the data when the data amount of the dummy data exceeds the predetermined amount, instead of the free space detected by the detection unit. The information processing apparatus according to any one of [1] to [9], wherein the information processing apparatus is restarted.

[11]前記書き込む領域確保部は、前記リムーバブル記憶装置の空き容量がなくなるようにダミーデータを書き込む
ことを特徴とする[10]に記載の情報処理装置。
[11] The information processing apparatus according to [10], wherein the writing area securing unit writes the dummy data so that the free space of the removable storage device is exhausted.

上記[10]および[11]に記載の発明では、空き領域にダミーファイルを作成することで、空き領域が外部からの無線通信によるアクセスで使用されることを防止することができる。   In the inventions described in [10] and [11] above, by creating a dummy file in the free space, it is possible to prevent the free space from being used for access by wireless communication from the outside.

[12]前記中断後に、前記検出部によって検出された空き容量が増加した場合に、前記リムーバブル記憶装置の記憶領域の管理情報を更新して疑似的に記憶領域を確保する管理情報更新部を有し、
前記第1データ書き込み部は、前記疑似的に確保された記憶領域を使用して、前記再開後の書き込みを行う
ことを特徴とする[1]乃至[9]のいずれか1つに記載の情報処理装置。
[13]前記管理情報更新部は、前記リムーバブル記憶装置の空き容量がなくなるように前記リムーバブル記憶装置の記憶領域の管理情報を更新する
ことを特徴とする[12]に記載の情報処理装置。
[12] A management information update unit is provided that artificially secures a storage area by updating the management information of the storage area of the removable storage device when the free space detected by the detection unit increases after the interruption. And
The information according to any one of [1] to [9], wherein the first data writing unit performs writing after the restart using the pseudo-reserved storage area. Processing equipment.
[13] The information processing apparatus according to [12], wherein the management information update unit updates management information of a storage area of the removable storage device so that a free capacity of the removable storage device is exhausted.

上記[12]および[13]に記載の発明では、管理情報を書き換えることで、空き領域が外部からの無線通信によるアクセスで使用されることを防止することができる。   In the inventions described in the above [12] and [13], it is possible to prevent the free area from being used for access by wireless communication from the outside by rewriting the management information.

本発明に係る情報処理装置によれば、リムーバブル記憶装置に画像データ等を転送して保存するジョブの実行途中でリムーバブル記憶装置の空き領域がなくなった場合でも、そのジョブを完結させることができる。   The information processing apparatus according to the present invention can complete a job even when there is no free space in the removable storage device during the execution of a job for transferring and saving image data or the like to the removable storage device.

本発明に係る情報処理装置としての機能を果たす画像形成装置と、無線SDカードと、携帯端末の関係を示す図である。It is a figure which shows the relationship between the image forming apparatus which fulfill | performs the function as an information processing apparatus which concerns on this invention, a wireless SD card, and a portable terminal. 本発明の実施の形態に係る画像形成装置の概略構成を示すブロック図である。1 is a block diagram illustrating a schematic configuration of an image forming apparatus according to an embodiment of the present invention. 本発明の実施の形態に係る画像形成装置が、外部メモリ接続部に接続された無線SDカードを保存先にしてスキャンジョブを実行する場合の処理を示す流れ図である。5 is a flowchart showing processing when the image forming apparatus according to the embodiment of the present invention executes a scan job with a wireless SD card connected to an external memory connection unit as a storage destination. 図3の続きを示す流れ図である。FIG. 4 is a flowchart showing a continuation of FIG. 3. 第1方法で空き領域を疑似的に確保する処理を示す流れ図である。It is a flowchart which shows the process which pseudo-allocates an empty area by the 1st method. 無線SDカードの記憶領域の内部構成を示す説明図である。It is explanatory drawing which shows the internal structure of the storage area of a wireless SD card. 第2方法で空き領域を疑似的に確保する処理を示す流れ図である。It is a flowchart which shows the process which pseudo-allocates an empty area by a 2nd method. 第2の実施の形態に係る画像形成装置が無線SDカードを保存先にしてスキャンジョブを実行する場合の処理であって、図3に示すものとの相違部分を示す流れ図である。FIG. 4 is a flowchart illustrating a process when the image forming apparatus according to the second embodiment executes a scan job with a wireless SD card as a storage destination, and shows a different part from that shown in FIG. 3.

以下、図面に基づき本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<第1の実施の形態>
図1は、リムーバブル記憶装置としての機能を果たす無線SDカード5と、本発明に係る情報処理装置としての機能を果たす画像形成装置10、および無線SDカード5と無線通信を行う携帯端末40を示す。
<First Embodiment>
FIG. 1 shows a wireless SD card 5 that functions as a removable storage device, an image forming apparatus 10 that functions as an information processing apparatus according to the present invention, and a portable terminal 40 that performs wireless communication with the wireless SD card 5. .

画像形成装置10は、原稿を光学的に読み取ってその複製画像を記録紙に印刷するコピージョブ、読み取った原稿の画像データをファイルにして保存したり外部装置へ送信したりするスキャンジョブ、PC(パーソナルコンピュータ)から受信した印刷データに係る画像を記録紙に印刷して出力するプリントジョブ(印刷ジョブ)などのジョブを実行する機能を備えた、所謂、複合機である。   The image forming apparatus 10 is a copy job that optically reads a document and prints a duplicate image on a recording sheet, a scan job that saves image data of the read document as a file, or transmits the image data to an external device, and a PC ( This is a so-called multi-function machine having a function of executing a job such as a print job (print job) for printing an image related to print data received from a personal computer) on a recording sheet and outputting it.

携帯端末40は、持ち歩きが可能な情報処理端末である。   The portable terminal 40 is an information processing terminal that can be carried around.

無線SDカード5は、可搬型の記憶媒体である。無線SDカード5は、外部とのI/F(Interface)として、コネクタを介して接続する有線接続と、無線LAN(Local Area Network)等の無線通信で接続する無線接続を備えている。   The wireless SD card 5 is a portable storage medium. The wireless SD card 5 includes a wired connection connected via a connector and a wireless connection connected by wireless communication such as a wireless local area network (LAN) as an I / F (Interface) with the outside.

画像形成装置10は、無線SDカード5を有線接続するための外部メモリ接続部21(図2参照)を備えており、有線接続で無線SDカード5に対してデータを読み書きすることができる。たとえば、画像データの保存先を、外部メモリ接続部21に接続された無線SDカード5に設定したスキャンジョブを実行することができる。   The image forming apparatus 10 includes an external memory connection unit 21 (see FIG. 2) for connecting the wireless SD card 5 by wire, and can read / write data from / to the wireless SD card 5 by wire connection. For example, it is possible to execute a scan job in which the image data storage destination is set in the wireless SD card 5 connected to the external memory connection unit 21.

携帯端末40は、持ち歩きが可能な情報処理端末である。携帯端末40は、ユーザから受けた指示に従って、無線通信によって無線接続された無線SDカード5に対してデータを読み書きすることができる。たとえば、無線SDカード5に保存されているファイルを外部から削除することができる。   The portable terminal 40 is an information processing terminal that can be carried around. The portable terminal 40 can read / write data from / to the wireless SD card 5 wirelessly connected by wireless communication in accordance with an instruction received from the user. For example, a file stored in the wireless SD card 5 can be deleted from the outside.

図2は、本発明の実施の形態に係る画像形成装置10の概略構成を示すブロック図である。画像形成装置10は、当該画像形成装置10の動作を統括的に制御するCPU(Central Processing Unit)11を有している。CPU11にはバスを通じてROM(Read Only Memory)12と、RAM(Random Access Memory)13と、不揮発メモリ14と、ハードディスク装置15と、画像処理部16と、画像読取部17と、プリンタ部18と、ファクシミリ通信部19と、ネットワーク通信部20と、外部メモリ接続部21と、、操作パネル30とを備えている。   FIG. 2 is a block diagram showing a schematic configuration of the image forming apparatus 10 according to the embodiment of the present invention. The image forming apparatus 10 includes a CPU (Central Processing Unit) 11 that comprehensively controls the operation of the image forming apparatus 10. The CPU 11 has a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, a nonvolatile memory 14, a hard disk device 15, an image processing unit 16, an image reading unit 17, a printer unit 18, A facsimile communication unit 19, a network communication unit 20, an external memory connection unit 21, and an operation panel 30 are provided.

CPU11は、OS(Operating System)プログラムをベースとし、その上で、ミドルウェアやアプリケーションプログラムなどを実行する。   The CPU 11 is based on an OS (Operating System) program, and executes middleware, application programs, and the like.

ROM12には、各種のプログラムが格納されており、これらのプログラムに従ってCPU11が各種処理を実行することで画像形成装置10の各機能が実現される。CPU11は、検出部、第1データ書き込み部、第2データ書き込み部、領域確保部、管理情報更新部などの機能を果たす。   Various programs are stored in the ROM 12, and each function of the image forming apparatus 10 is realized by the CPU 11 executing various processes according to these programs. The CPU 11 functions as a detection unit, a first data writing unit, a second data writing unit, an area securing unit, a management information updating unit, and the like.

RAM13は、CPU11がプログラムに基づいて処理を実行する際に各種のデータを一時的に格納するワークメモリや画像データを格納する画像メモリなどとして使用される。   The RAM 13 is used as a work memory for temporarily storing various data when the CPU 11 executes processing based on a program, an image memory for storing image data, and the like.

不揮発メモリ14は、電源をオフにしても記憶内容が破壊されないメモリ(フラッシュメモリ)であり、各種設定情報の保存などに使用される。   The nonvolatile memory 14 is a memory (flash memory) whose stored contents are not destroyed even when the power is turned off, and is used for storing various setting information.

ハードディスク装置15は、大容量の不揮発の記憶装置であり、OSプログラムや各種アプリケーションプログラム、ユーザ情報、印刷データや画像データ、ジョブ履歴などが保存される。なお、画像形成装置10は機種によってはハードディスク装置15を備えない場合もある。   The hard disk device 15 is a large-capacity nonvolatile storage device, and stores an OS program, various application programs, user information, print data, image data, job history, and the like. The image forming apparatus 10 may not include the hard disk device 15 depending on the model.

画像処理部16は、画像の拡大縮小、回転などの処理のほか、印刷データをイメージデータに変換するラスタライズ処理、画像データの圧縮、伸張処理などを行う。   The image processing unit 16 performs processing such as image enlargement / reduction, rotation, rasterization processing for converting print data into image data, image data compression / decompression processing, and the like.

画像読取部17は、原稿を光学的に読み取って画像データを取得する機能を果たす。画像読取部17は、例えば、原稿に光を照射する光源と、その反射光を受けて原稿を幅方向に1ライン分読み取るラインイメージセンサと、ライン単位の読取位置を原稿の長さ方向に順次移動させる移動ユニットと、原稿からの反射光をラインイメージセンサに導いて結像させるレンズやミラーなどからなる光学経路と、ラインイメージセンサの出力するアナログ画像信号をデジタルの画像データに変換する変換部などを備えて構成される。   The image reading unit 17 performs a function of optically reading a document and acquiring image data. The image reading unit 17 sequentially, for example, a light source that irradiates light on the document, a line image sensor that receives the reflected light for one line in the width direction, and a line-by-line reading position in the length direction of the document. An optical path composed of a moving unit for moving, a lens, a mirror, and the like for guiding reflected light from the document to the line image sensor to form an image, and a conversion unit for converting an analog image signal output from the line image sensor into digital image data And so on.

画像読取部17は、原稿台にセットされた複数枚の原稿束から原稿を1枚ずつ順に繰り出して、これらの原稿を、順次、連続的に読み取る機能を備えている。   The image reading unit 17 has a function of sequentially feeding the originals one by one from a plurality of original bundles set on the original table, and sequentially reading these originals.

プリンタ部18は、画像データに応じた画像を記録紙上に画像形成する機能を果たす。ここでは、記録紙の搬送装置と、感光体ドラムと、帯電装置と、レーザーユニットと、現像装置と、転写分離装置と、クリーニング装置と、定着装置とを有し、電子写真プロセスによって画像形成を行う、所謂、レーザープリンタとして構成されている。画像形成は他の方式でもかまわない。   The printer unit 18 has a function of forming an image corresponding to image data on a recording sheet. Here, it has a recording paper transport device, a photosensitive drum, a charging device, a laser unit, a developing device, a transfer separation device, a cleaning device, and a fixing device, and forms an image by an electrophotographic process. It is configured as a so-called laser printer. Other methods may be used for image formation.

ファクシミリ通信部19は、ファクシミリ機能を備えた外部装置と公衆回線を通じて画像データを送受信する機能を果たす。   The facsimile communication unit 19 performs a function of transmitting / receiving image data to / from an external device having a facsimile function through a public line.

ネットワーク通信部20は、LANなどのネットワークを通じて接続された外部装置との間でデータを通信する機能を果たす。   The network communication unit 20 performs a function of communicating data with an external device connected through a network such as a LAN.

外部メモリ接続部21は、SDカードを有線接続する為のコネクタを備えている。該コネクタは無線SDカード5を機械的・電気的に着脱可能に接続する。   The external memory connection unit 21 includes a connector for connecting the SD card by wire. The connector connects the wireless SD card 5 detachably mechanically and electrically.

操作パネル30は、各種の操作画面等が表示される表示部31と、ユーザから各種の操作を受け付ける操作部32を備えている。表示部31は、液晶ディスプレイ(LCD…Liquid Crystal Display)などで構成される。操作部32は、スタートボタンなどのハードスイッチ、表示部31の表示面に設けられたタッチスクリーンなどで構成される。   The operation panel 30 includes a display unit 31 on which various operation screens and the like are displayed, and an operation unit 32 that receives various operations from the user. The display unit 31 includes a liquid crystal display (LCD ... Liquid Crystal Display). The operation unit 32 includes a hard switch such as a start button and a touch screen provided on the display surface of the display unit 31.

次に、画像形成装置10が、外部メモリ接続部21に接続された無線SDカード5にデータを転送して書き込むジョブの実行について説明する。   Next, execution of a job in which the image forming apparatus 10 transfers and writes data to the wireless SD card 5 connected to the external memory connection unit 21 will be described.

画像形成装置10は、前述したように、外部メモリ接続部21に接続された無線SDカード5を画像データの保存先にしてスキャンジョブを実行することができる。また、ハードディスク装置15に保存されている画像データを、外部メモリ接続部21に接続されている無線SDカード5に転送して書き込むジョブを実行することができる。   As described above, the image forming apparatus 10 can execute a scan job using the wireless SD card 5 connected to the external memory connection unit 21 as the image data storage destination. In addition, a job for transferring and writing image data stored in the hard disk device 15 to the wireless SD card 5 connected to the external memory connection unit 21 can be executed.

画像形成装置10は、このようなジョブ(書き込みジョブとする)の実行途中で、無線SDカード5の空き領域が不足した場合でも、ジョブを途中で破棄せずに、完結させる機能を備えている。   The image forming apparatus 10 has a function of completing a job without discarding the job halfway even if the free space of the wireless SD card 5 is insufficient during the execution of such a job (referred to as a write job). .

無線SDカード5は、外部メモリ接続部21に接続されている状態のまま外部の携帯端末40などと無線通信できる。したがって、書き込みジョブの実行途中で無線SDカード5の空き領域が不足しても、携帯端末40などが外部から無線SDカード5内のファイルを削除すれば、空き領域が増える。   The wireless SD card 5 can wirelessly communicate with the external mobile terminal 40 and the like while being connected to the external memory connection unit 21. Therefore, even if the free area of the wireless SD card 5 runs short during the execution of the write job, the free area increases if the mobile terminal 40 or the like deletes the file in the wireless SD card 5 from the outside.

そこで、画像形成装置10は、書き込みジョブの途中で無線SDカード5の空き領域が不足した場合は、該書き込みジョブを中断する。そして、この中断を契機に、無線SDカード5の空き容量の検出を繰り返す動作を開始して、空き容量の変化を監視する。無線SDカード5の空き容量が所定量以上に増加したら、書き込みジョブを再開する。なお、無線SDカード5の空き容量の検出を繰り返す動作は、中断を契機とする必要はなく、たとえば、中断の以前であれば、書き込みジョブの実行開始から開始してもよいし、無線SDカード5が挿着されている間は常時行ってもよい。   Therefore, the image forming apparatus 10 interrupts the writing job when the free space of the wireless SD card 5 runs short during the writing job. Then, triggered by this interruption, an operation of repeating detection of the free capacity of the wireless SD card 5 is started, and the change in the free capacity is monitored. When the free capacity of the wireless SD card 5 increases to a predetermined amount or more, the writing job is resumed. Note that the operation of repeating the detection of the free space of the wireless SD card 5 does not need to be interrupted. For example, if it is before the interruption, it may start from the start of execution of the write job, or the wireless SD card. It may always be performed while 5 is inserted.

図3、図4は、画像形成装置10が、外部メモリ接続部21に接続された無線SDカード5を保存先にしてスキャンジョブを実行する場合の処理の流れを示している。   3 and 4 show the flow of processing when the image forming apparatus 10 executes a scan job with the wireless SD card 5 connected to the external memory connection unit 21 as a storage destination.

画像形成装置10は、画像読取部17の原稿台に原稿がセットされ(ステップS101;Yes)、かつ、ジョブの投入操作を受けると、該ジョブが、外部メモリ接続部21に接続された無線SDカード5を保存先に指定したスキャンジョブか否かを判別する(ステップS102)。該スキャンジョブでなければ(ステップS102;No)、その指定されたジョブを実行する(ステップS103)。   When a document is set on the document table of the image reading unit 17 (step S101; Yes) and a job input operation is received, the image forming apparatus 10 receives the job from the wireless SD connected to the external memory connection unit 21. It is determined whether or not the scan job designates the card 5 as a storage destination (step S102). If it is not the scan job (step S102; No), the designated job is executed (step S103).

投入されたジョブが、外部メモリ接続部21に接続された無線SDカード5を保存先に指定したスキャンジョブの場合(ステップS102;Yes)、スタートキーの押下によりジョブの実行開始指示を受けると(ステップS104;Yes)、該スキャンジョブを以下のように実行する。   When the input job is a scan job in which the wireless SD card 5 connected to the external memory connection unit 21 is designated as a storage destination (step S102; Yes), when a job execution start instruction is received by pressing the start key ( Step S104; Yes), the scan job is executed as follows.

すなわち、原稿台にセットされている原稿束から1枚の原稿を繰り出し、該1枚の原稿を画像読取部17にて光学的に読み取る(ステップS105)。そして、無線SDカード5に、この原稿を読み取って得た画像データを保存可能な空き領域があるか否かを調べる(ステップS106)。空き領域が足りる場合は(ステップS106;No)、第1データ書き込み部としてのCPU11は、ステップS105で取得した画像データを無線SDカード5に転送して書き込み、保存する(ステップS107)。この原稿が最終ページでない場合は(ステップS113;No)、ステップS105に戻って次の1枚の原稿を読み取る。   In other words, one document is fed out from the document bundle set on the document table, and the one document is optically read by the image reading unit 17 (step S105). Then, it is checked whether or not the wireless SD card 5 has a free area capable of storing image data obtained by reading the original (step S106). When the free area is sufficient (step S106; No), the CPU 11 as the first data writing unit transfers the image data acquired in step S105 to the wireless SD card 5 for writing and saving (step S107). If this document is not the last page (step S113; No), the process returns to step S105 to read the next one document.

ステップS104で読み取って得た画像データを保存するだけの必要空き領域が無線SDカード5にない場合は(ステップS106;Yes)、無線SDカード5への書き込みを中断し、当該画像形成装置10がハードディスク装置15を備えているか否かを調べる(ステップS108)。ハードディスク装置15を備えている場合は(ステップS108;Yes)、第2データ書き込み部としてのCPU11は、ステップS105で取得した画像データをハードディスク装置15に保存する(ステップS109)。この原稿が最終ページでない場合は(ステップS113;No)、ステップS105に戻って次の1枚の原稿を読み取る。   If the wireless SD card 5 does not have a necessary free space for storing the image data obtained by reading in step S104 (step S106; Yes), the writing to the wireless SD card 5 is interrupted, and the image forming apparatus 10 It is checked whether or not the hard disk device 15 is provided (step S108). When the hard disk device 15 is provided (step S108; Yes), the CPU 11 as the second data writing unit stores the image data acquired in step S105 in the hard disk device 15 (step S109). If this document is not the last page (step S113; No), the process returns to step S105 to read the next one document.

なお、ステップS106で「Yes」となるまでに無線SDカード5に書き込めた分の画像データで1つのファイルとして完成させる。これにより、中断まで書き込めた分の画像データを外部から無線通信にて直ちに読み取ることが可能になる。   Note that the image data that has been written to the wireless SD card 5 until “Yes” in step S106 is completed as one file. As a result, it is possible to immediately read the image data that has been written until the interruption from the outside by wireless communication.

当該画像形成装置10がハードディスク装置15を備えない場合は(ステップS108;No)、画像読取部17による原稿の読み取りを一時停止する(ステップS110)。   When the image forming apparatus 10 does not include the hard disk device 15 (step S108; No), reading of the document by the image reading unit 17 is temporarily stopped (step S110).

その後、画像形成装置10の検出部として機能するCPU11は、外部メモリ接続部21に接続されている無線SDカード5の空き領域の検出を繰り返す動作を開始し、無線SDカード5の空き領域の増加を監視する(ステップS111)。   Thereafter, the CPU 11 functioning as the detection unit of the image forming apparatus 10 starts an operation of repeatedly detecting the free area of the wireless SD card 5 connected to the external memory connection unit 21 and increases the free area of the wireless SD card 5. Is monitored (step S111).

CPU11は、無線SDカード5の空き領域が増加したら(ステップS111;Yes)、無線SDカード5の空き領域を疑似的に確保して(ステップS112)、ステップS106に戻る。空き領域を疑似的に確保することで、無線通信を介して外部からその空き領域が使用されることを防止する。空き領域を疑似的に確保する処理の詳細は後述する。なお、以後のステップS106では、疑似的に確保した領域(もしくは疑似的に確保した領域とまだ疑似的に確保していない空き領域の合計)を、無線SDカード5の空き領域として、空き領域の不足を判別する。   When the free space of the wireless SD card 5 increases (step S111; Yes), the CPU 11 virtually secures a free space of the wireless SD card 5 (step S112) and returns to step S106. By allocating a free area in a pseudo manner, the free area is prevented from being used from outside via wireless communication. Details of the process of allocating an empty area in a pseudo manner will be described later. In the subsequent step S106, the pseudo area (or the total of the pseudo area and the free area that has not yet been pseudo-allocated) is used as the free area of the wireless SD card 5 and the free area is stored. Determine the shortage.

画像読取部17の読み取りを一時停止している間に空き領域が増えて、最新のステップS105で取得した画像データを無線SDカード5に保存可能になったら(ステップS106;No)、第1データ書き込み部としてCPU11は、この画像データを無線SDカード5に保存して(ステップS107)、ステップS113へ移行する。この画像データは、画像読取部17の読み取りを一時停止する前に無線SDカード5に保存したものとは別のファイルとして無線SDカード5に保存される。   If the empty area increases while the reading of the image reading unit 17 is temporarily stopped and the latest image data acquired in step S105 can be stored in the wireless SD card 5 (step S106; No), the first data As a writing unit, the CPU 11 stores the image data in the wireless SD card 5 (step S107), and proceeds to step S113. This image data is stored in the wireless SD card 5 as a file different from that stored in the wireless SD card 5 before the reading of the image reading unit 17 is temporarily stopped.

この原稿が最終ページならば(ステップS113;Yes)、ハードディスク装置15に、ステップS109で保存した画像データ(移動対象の画像)が存在するか否かを調べる(ステップS114)。存在しなければ(ステップS114;No)、本処理を終了する。   If this document is the last page (step S113; Yes), it is checked whether or not the image data (image to be moved) stored in step S109 exists in the hard disk device 15 (step S114). If it does not exist (step S114; No), this process is terminated.

ハードディスク装置15に、ステップS109で保存した画像データが存在する場合は(ステップS114;Yes)、無線SDカード5に、移動対象のすべての画像データを保存可能な空き領域があるか否かを調べる(ステップS115)。空き領域が足りる場合は(ステップS115;Yes)、第1データ書き込み部としてのCPU11は、該移動対象の画像データをハードディスク装置15から無線SDカード5に移動して保存し(ステップS118)、本処理を終了する。   If the image data saved in step S109 exists in the hard disk device 15 (step S114; Yes), it is checked whether or not there is a free space in the wireless SD card 5 where all the image data to be moved can be saved. (Step S115). When the free space is sufficient (step S115; Yes), the CPU 11 as the first data writing unit moves the image data to be moved from the hard disk device 15 to the wireless SD card 5 and stores it (step S118). End the process.

無線SDカード5の空き領域が不足する場合は(ステップS115;No)、外部メモリ接続部21に接続されている無線SDカード5の空き領域の検出を繰り返す動作を開始し、無線SDカード5の空き領域の増加を監視する(ステップS116)。   When the free space of the wireless SD card 5 is insufficient (step S115; No), the operation of repeating the detection of the free space of the wireless SD card 5 connected to the external memory connection unit 21 is started. The increase in free space is monitored (step S116).

無線SDカード5の空き領域が増加したら(ステップS116;Yes)、無線SDカード5の空き領域を疑似的に確保して(ステップS117)、ステップS115に戻る。なお、以後のステップS115では、疑似的に確保した領域(もしくは疑似的に確保した領域とまだ疑似的に確保していない空き領域の合計)を、無線SDカード5の空き領域として、空き領域の不足を判別する。   If the free space of the wireless SD card 5 increases (step S116; Yes), the free space of the wireless SD card 5 is virtually secured (step S117), and the process returns to step S115. In the subsequent step S115, a pseudo area (or a total of a pseudo area and a free area that has not been pseudo-allocated) is set as a free area of the wireless SD card 5 and an empty area is stored. Determine the shortage.

無線SDカード5に、移動対象のすべての画像データを保存可能な量の空き領域ができたら(ステップS115;Yes)、第1データ書き込み部としてのCPU11は、移動対象の画像データをハードディスク装置15から無線SDカード5に移動して保存し(ステップS118)、本処理を終了する。   When the wireless SD card 5 has enough free space to store all image data to be moved (step S115; Yes), the CPU 11 as the first data writing unit stores the image data to be moved on the hard disk device 15. To the wireless SD card 5 for storage (step S118), and this process ends.

このように、画像形成装置10は、無線SDカード5を保存先としたスキャンジョブの実行途中で無線SDカード5の空き領域が不足した場合には、ジョブを一時中断し、無線SDカード5の空き領域ができたらジョブを再開する。無線SDカード5に空き領域が不足した場合にジョブを破棄すると、ユーザは、無線SDカード5を差し替えたり、不要なファイルを削除したりする作業を行った後、改めて、すべての原稿を再セットしてジョブを設定しなければならない。これに対し、本実施の形態の画像形成装置10では、無線SDカード5の空き領域が不足したら、ジョブを一時停止し、無線SDカード5の空き領域の増加を監視し、必要な空き領域が確保されたら、ジョブを自動的に再開するので、ユーザの負担が軽減され、高い利便性が確保される。   As described above, the image forming apparatus 10 suspends the job when the free space of the wireless SD card 5 is insufficient during the execution of the scan job with the wireless SD card 5 as a storage destination, and the wireless SD card 5 Resume the job when free space is available. If the job is discarded when there is not enough free space in the wireless SD card 5, the user replaces the wireless SD card 5 or deletes unnecessary files, and then resets all originals again. And set the job. On the other hand, in the image forming apparatus 10 according to the present embodiment, when the free space of the wireless SD card 5 is insufficient, the job is temporarily stopped, the increase in the free space of the wireless SD card 5 is monitored, and the necessary free space is found. Once secured, the job is automatically resumed, reducing the burden on the user and ensuring high convenience.

次に、疑似的に空き領域を確保する処理(図3のステップS112、および図4のステップS117)の詳細を説明する。   Next, details of the process of allocating pseudo space (step S112 in FIG. 3 and step S117 in FIG. 4) will be described.

空き領域を疑似的に確保する方法には、ダミーファイルを実際に書き込む第1方法と、無線SDカード5の記憶領域の使用状況を管理するための管理情報を書き換える第2方法がある。   As a method for pseudo-allocating a free area, there are a first method for actually writing a dummy file and a second method for rewriting management information for managing the use status of the storage area of the wireless SD card 5.

図5は、第1方法で空き領域を疑似的に確保する際の処理の流れを示している。この処理は領域確保部の機能を果たすCPU11が行う。まず、無線SDカード5の空き領域のサイズを算出する(ステップS201)。次に、その空き領域が一杯になるサイズ(または数)のダミーファイルを無線SDカード5に保存する(ステップS202)。なお、空き領域が一杯になるサイズ(または数)に限らず、たとえば、書き込みが必要なファイルの保存に必要なサイズ(または数)分のダミーファイルを無線SDカード5に保存するようにしてもよい。   FIG. 5 shows the flow of processing when pseudo space is reserved in the first method. This processing is performed by the CPU 11 that functions as an area securing unit. First, the size of the empty area of the wireless SD card 5 is calculated (step S201). Next, a dummy file having a size (or number) that fills the empty area is stored in the wireless SD card 5 (step S202). Note that not only the size (or number) of the free space is full, but also, for example, a dummy file corresponding to the size (or number) necessary for storing a file that needs to be written may be stored in the wireless SD card 5. Good.

なお、この処理を2回目以降に行う場合は、新たなダミーファイルを作成する方法と、あるいは、既に無線SDカード5に作成されているダミーファイルに追加書き込みを行って、そのダミーファイルのファイルサイズを、ステップS201で算出した空き領域のサイズ分だけ大きくする方法があり、いずれを採用してもよい。   When this process is performed for the second time or later, a method for creating a new dummy file or a dummy file already created in the wireless SD card 5 is additionally written and the file size of the dummy file is set. Is increased by the size of the free area calculated in step S201, and any of them may be adopted.

図3のステップS112や図4のステップS117で疑似的に確保した領域にデータを書き込む際には、まず、ダミーファイルを削除して、一旦、空き領域に戻し、その空き領域にデータを保存する。あるいは、ダミーファイルの内容を保存すべきデータで書き換える。   When writing data to the area that is virtually secured in step S112 of FIG. 3 or step S117 of FIG. 4, first, the dummy file is deleted, temporarily returned to the free area, and the data is stored in the free area. . Alternatively, the contents of the dummy file are rewritten with data to be saved.

図6は、無線SDカード5の記憶領域の内部構成を示している。無線SDカード5の記憶領域は、管理情報エリア41と、データエリア42に分かれている。データエリア42には、記憶すべきデータの実体が保存される。管理情報エリア41には、ファイル名、実体がデータエリア42内のどの位置に記憶されているかを示す位置情報、ディレクトリ構造、属性情報などの管理情報が記憶される。   FIG. 6 shows the internal configuration of the storage area of the wireless SD card 5. The storage area of the wireless SD card 5 is divided into a management information area 41 and a data area 42. In the data area 42, the substance of data to be stored is stored. The management information area 41 stores management information such as file name and location information indicating where the entity is stored in the data area 42, directory structure, and attribute information.

図6(a)では、データエリア42にファイルA、ファイルB、ファイルC、ファイルDの実体が記憶されており、管理情報エリア41にファイルAの管理情報、ファイルBの管理情報、ファイルCの管理情報、ファイルDの管理情報が記憶されている。データエリア42には空き領域が存在している。図6(b)は、この空き領域を管理情報の変更によって疑似的に確保した状態を示している。管理情報エリア41に、データエリア42の空き領域にファイルEを保存した場合に相当する管理情報(ファイルEの管理情報)を作成する。これにより、見かけ上、データエリア42の空き領域にファイルEが存在することとなり、外部からこの空き領域を使用することはできなくなる。   In FIG. 6A, the substance of file A, file B, file C, and file D is stored in the data area 42, the management information of file A, the management information of file B, and the information of file C are stored in the management information area 41. Management information and management information of file D are stored. There is an empty area in the data area 42. FIG. 6B shows a state in which this vacant area is virtually secured by changing the management information. In the management information area 41, management information (management information of the file E) corresponding to the case where the file E is stored in the empty area of the data area 42 is created. As a result, the file E apparently exists in the empty area of the data area 42, and this empty area cannot be used from the outside.

図7は、第2方法で空き領域を疑似的に確保する際の処理の流れを示している。この処理は管理情報更新部の機能を果たすCPU11が行う。まず、管理情報エリア41を参照して、無線SDカード5の空き領域を検索する(ステップS301)。次に、そのすべての空き領域に疑似的なファイルが存在するように管理情報エリア41の管理情報を書き換える(ステップS302)。すべての空き領域とせず、書き込みが必要なファイルの保存に必要なサイズ分だけ疑似的なファイルが存在するように管理情報エリア41の管理情報を書き換えるようにしてもよい。   FIG. 7 shows the flow of processing when pseudo space is reserved in the second method. This processing is performed by the CPU 11 serving as a management information update unit. First, referring to the management information area 41, a free area of the wireless SD card 5 is searched (step S301). Next, the management information in the management information area 41 is rewritten so that a pseudo file exists in all the free areas (step S302). The management information in the management information area 41 may be rewritten so that not all the free areas are present, but the pseudo file exists for the size necessary for saving the file that needs to be written.

なお、疑似的に確保した空き領域の位置やサイズを別途記憶しておく。そして、この別途記憶した情報に基づいて、図3のステップS106や図4のステップS115の判定を行ったり、図3のステップS107や図4のステップS118にて、疑似的に確保されている領域に画像を保存したりする。画像の保存においては、管理情報を書き換えて、疑似的に確保されている領域を空き領域に戻してからその空き領域に画像を保存する。あるいは、疑似的に確保されている領域に画像の実体を保存し、これに対応するように管理情報を書き換える。たとえば、図6(b)の場合、疑似的に確保したファイルEの内容を、保存すべき画像に書き換えればよい。   It should be noted that the position and size of the vacant area secured in a pseudo manner are separately stored. Then, based on this separately stored information, the determination in step S106 in FIG. 3 or step S115 in FIG. 4 is performed, or a pseudo-reserved area in step S107 in FIG. 3 or step S118 in FIG. To save images. In storing the image, the management information is rewritten to return the pseudo-allocated area to the empty area, and then the image is stored in the empty area. Alternatively, the entity of the image is stored in a pseudo-reserved area, and the management information is rewritten so as to correspond to this. For example, in the case of FIG. 6B, the content of the file E that is virtually secured may be rewritten to an image to be saved.

<第2の実施の形態>
第2の実施の形態では、書き込みジョブを中断、再開した場合でも、中断前のデータと再開後のデータを1つのファイルにまとめて無線SDカード5に保存するようになっている。
<Second Embodiment>
In the second embodiment, even when a write job is interrupted or restarted, the data before the interruption and the data after the restart are combined into one file and stored in the wireless SD card 5.

図8は、第2の実施の形態に係る画像形成装置10が無線SDカード5を保存先にしてスキャンジョブを実行する場合の処理であって、図3に示すものとの相違部分を示している。   FIG. 8 shows processing when the image forming apparatus 10 according to the second embodiment executes a scan job with the wireless SD card 5 as a storage destination, and shows a difference from that shown in FIG. Yes.

図3のステップS108でYesとなった場合に、図8のステップS151以降を実行する。まず、無線SDカード5に既に保存した画像データを無線SDカード5からハードディスク装置15に転送する(ステップS151)。そして、直前のステップS105(図3参照)で読み取った原稿の画像データをハードディスク装置15に保存する(ステップS152)。このとき、該画像データとステップS151で無線SDカード5から転送してハードディスク装置15に保存した画像データとをハードディスク装置15上で1つのファイルに結合する。   When the result of step S108 in FIG. 3 is Yes, step S151 and subsequent steps in FIG. 8 are executed. First, the image data already stored in the wireless SD card 5 is transferred from the wireless SD card 5 to the hard disk device 15 (step S151). Then, the image data of the document read in the immediately preceding step S105 (see FIG. 3) is stored in the hard disk device 15 (step S152). At this time, the image data and the image data transferred from the wireless SD card 5 and stored in the hard disk device 15 in step S151 are combined into one file on the hard disk device 15.

この原稿が最終ページでなければ(ステップS153;No)、原稿1枚の読み取りを行い(ステップS154)、ステップS152に移行する。ステップS152では、既にハードディスク装置15に保存してある画像データとステップS154で新たに得た画像データを1つのファイルに結合する。   If this document is not the last page (step S153; No), one document is read (step S154), and the process proceeds to step S152. In step S152, the image data already stored in the hard disk device 15 and the image data newly obtained in step S154 are combined into one file.

この原稿が最終ページならば(ステップS153;Yes)、図4のステップS114へ移行する。ステップS114以後の処理は第1の実施の形態と同様である。すなわち、無線SDカード5の空き領域の増加を監視し、必要量の空き領域が生じたら、ハードディスク装置15に保存してあるファイルを無線SDカード5に転送して保存する。   If this document is the last page (step S153; Yes), the process proceeds to step S114 in FIG. The processing after step S114 is the same as that in the first embodiment. That is, the increase in the free space of the wireless SD card 5 is monitored, and when a necessary amount of free space is generated, the file stored in the hard disk device 15 is transferred to the wireless SD card 5 and stored.

なお、ステップS151では、無線SDカード5からハードディスク装置15へ画像データを転送して生じた空き領域を、ステップS112と同様の方法で疑似的に確保する。   In step S151, an empty area generated by transferring image data from the wireless SD card 5 to the hard disk device 15 is virtually secured by the same method as in step S112.

以上、本発明の実施の形態を図面によって説明してきたが、具体的な構成は実施の形態に示したものに限られるものではなく、本発明の要旨を逸脱しない範囲における変更や追加があっても本発明に含まれる。   The embodiment of the present invention has been described with reference to the drawings. However, the specific configuration is not limited to that shown in the embodiment, and there are changes and additions within the scope of the present invention. Are also included in the present invention.

実施の形態では、保存先を無線SDカード5としたスキャンジョブを例に説明したが、既にハードディスク装置15に保存されている画像データを無線SDカード5に転送して保存するジョブにも本発明は同様に適用される。すなわち、ジョブの実行途中で無線SDカード5に空き領域がなくなった場合、ジョブを一時中断し、無線SDカード5の空き領域の検出を繰り返す動作を開始し、無線SDカード5の空き領域の増加を監視する。そして、空き領域が生じたら、これを疑似的に確保し要量の空き領域を確保できたら、ジョブを再開する。   In the embodiment, the scan job in which the storage destination is the wireless SD card 5 has been described as an example. However, the present invention also applies to a job in which image data already stored in the hard disk device 15 is transferred to the wireless SD card 5 and stored. Applies as well. That is, when there is no free space in the wireless SD card 5 during the execution of the job, the job is temporarily interrupted, and the operation of repeating the detection of the free space in the wireless SD card 5 is started, and the free space in the wireless SD card 5 is increased. To monitor. Then, if a free area is generated, this is secured in a pseudo manner, and when a necessary amount of free area is secured, the job is resumed.

本発明の実施の形態では、リムーバブル記憶装置としてSDカードを例に説明したが、リムーバブル記憶装置はSDカード以外であってもよい。たとえば、USB(Universal Serial Bus)メモリなどであってもよい。   In the embodiment of the present invention, the SD card is described as an example of the removable storage device, but the removable storage device may be other than the SD card. For example, a USB (Universal Serial Bus) memory may be used.

本発明の実施の形態では、画像形成装置10を例に説明したが、接続されたリムーバブル記憶装置にデータを書き込む処理を行う情報処理装置であってもよい。   Although the image forming apparatus 10 has been described as an example in the embodiment of the present invention, an information processing apparatus that performs a process of writing data to a connected removable storage device may be used.

外部メモリ接続部21に接続された記憶媒体が、無線機能を有する無線SDカード5等であるか否かを判別し、無線機能を有する場合にのみ中断、再開を行うように構成されてもよい。   It may be configured to determine whether the storage medium connected to the external memory connection unit 21 is a wireless SD card 5 or the like having a wireless function, and to suspend and resume only when the storage medium has a wireless function. .

また、画像形成装置10は、ジョブの途中で無線SDカード5の空き領域が不足してジョブを中断したとき、その旨や無線SDカード5内の不要なファイルを削除するように促すメッセージ等を操作パネル30等でユーザに通知する。   In addition, when the image forming apparatus 10 interrupts the job due to insufficient space in the wireless SD card 5 in the middle of the job, a message to that effect or a message prompting the user to delete unnecessary files in the wireless SD card 5 is displayed. The user is notified through the operation panel 30 or the like.

5…無線SDカード
10…画像形成装置
11…CPU
12…ROM
13…RAM
14…不揮発メモリ
15…ハードディスク装置
16…画像処理部
17…画像読取部
18…プリンタ部
19…ファクシミリ通信部
20…ネットワーク通信部
21…外部メモリ接続部
30…操作パネル
31…表示部
32…操作部
40…携帯端末
41…管理情報エリア
42…データエリア
5 ... Wireless SD card 10 ... Image forming apparatus 11 ... CPU
12 ... ROM
13 ... RAM
DESCRIPTION OF SYMBOLS 14 ... Non-volatile memory 15 ... Hard disk device 16 ... Image processing part 17 ... Image reading part 18 ... Printer part 19 ... Facsimile communication part 20 ... Network communication part 21 ... External memory connection part 30 ... Operation panel 31 ... Display part 32 ... Operation part 40 ... mobile terminal 41 ... management information area 42 ... data area

Claims (13)

ータを外部から無線通信で書き込み及び削除可能なリムーバブル記憶装置が着脱可能に接続される接続部と、
前記接続部に接続されているリムーバブル記憶装置の空き容量を検出する検出部と、
前記接続部に接続されているリムーバブル記憶装置にデータを書き込む第1データ書き込み部と、
を備え、
前記第1データ書き込み部は、前記書き込みの途中で前記リムーバブル記憶装置の空き領域が不足した場合に、前記書き込みを中断し、
前記検出部は、前記空き容量の検出を繰り返し行い、
前記第1データ書き込み部は、前記中断後に前記検出部が検出した空き容量が所定量以上になった場合に、その空き領域への無線通信による書き込みを防止するとともに、前記第1データ書き込み部による書き込みを再開する
ことを特徴とする情報処理装置。
A connecting portion for data radio communication writing and erasable removable storage device from the outside is detachably connected,
A detection unit for detecting a free capacity of a removable storage device connected to the connection unit;
A first data writing unit for writing data to a removable storage device connected to the connection unit;
With
The first data writing unit interrupts the writing when an empty area of the removable storage device is insufficient during the writing,
The detection unit repeatedly detects the free space,
The first data writing unit prevents writing to the empty area by wireless communication when the free space detected by the detection unit after the interruption exceeds a predetermined amount , and the first data writing unit An information processing apparatus that resumes writing.
前記検出部は、前記第1データ書き込み部が前記書き込みを中断したことを契機に、前記空き容量の検出を繰り返し行う
ことを特徴とする請求項1に記載の情報処理装置。
The information processing apparatus according to claim 1, wherein the detection unit repeatedly detects the free space when the first data writing unit interrupts the writing.
原稿を光学的に読み取って画像データを出力する原稿読み取り部を備え、
前記データは前記画像データである
ことを特徴とする請求項1または2に記載の情報処理装置。
An original reading unit that optically reads an original and outputs image data;
The information processing apparatus according to claim 1, wherein the data is the image data.
前記第1データ書き込み部は、前記書き込みを、前記原稿読み取り部による原稿の読み取り動作と並行して行い、
前記原稿読み取り部は、前記第1データ書き込み部による前記書き込みの途中で前記リムーバブル記憶装置の空き領域が不足した場合に、前記読み取り動作を一時停止し、前記中断後に前記検出部が検出した空き容量が前記所定量以上になった場合に、前記読み取り動作を再開する
ことを特徴とする請求項3に記載の情報処理装置。
The first data writing unit performs the writing in parallel with a document reading operation by the document reading unit,
The original reading unit temporarily stops the reading operation when an empty area of the removable storage device is insufficient during the writing by the first data writing unit, and the free space detected by the detection unit after the interruption. The information processing apparatus according to claim 3, wherein the reading operation is resumed when the value exceeds the predetermined amount.
記憶部と、
前記記憶部にデータを書き込む第2データ書き込み部を備え、
前記第1データ書き込み部は、前記書き込みを、前記原稿読み取り部による原稿の読み取り動作と並行して行い、
前記原稿読み取り部は、前記第1データ書き込み部が前記画像データの書き込みを中断した場合でも前記原稿の読み取り動作を継続して完了させ、
前記第2データ書き込み部は、前記原稿読み取り部から出力される前記画像データのうち、少なくとも前記中断の前に前記第1データ書き込み部によって前記リムーバブル記憶装置に書き込まれた部分以外の残り部分を前記記憶部に書き込み、
前記第1データ書き込み部は、前記再開した後の書き込みでは、前記記憶部に記憶されている前記画像データを前記リムーバブル記憶装置に転送して書き込む
ことを特徴とする請求項3に記載の情報処理装置。
A storage unit;
A second data writing unit for writing data to the storage unit;
The first data writing unit performs the writing in parallel with a document reading operation by the document reading unit,
The document reading unit continues and completes the document reading operation even when the first data writing unit interrupts the writing of the image data,
The second data writing unit outputs at least the remaining portion of the image data output from the document reading unit other than the portion written in the removable storage device by the first data writing unit before the interruption. Write to memory,
The information processing according to claim 3, wherein the first data writing unit transfers and writes the image data stored in the storage unit to the removable storage device in the writing after the resumption. apparatus.
前記第2データ書き込み部は、前記中断が発生したとき、前記中断の前に前記第1データ書き込み部が前記リムーバブル記憶装置に書き込んだ画像データを前記記憶部に転送して前記リムーバブル記憶装置から削除し、該転送した画像データと前記残り部分の画像データとを結合して1つのファイルを前記記憶部に生成し、
前記所定量は前記ファイルを保存可能な空き容量であり、
前記第1データ書き込み部は、前記再開の後は、前記ファイルを前記リムーバブル記憶装置に書き込む
ことを特徴とする請求項5に記載の情報処理装置。
When the interruption occurs, the second data writing unit transfers image data written in the removable storage device by the first data writing unit before the interruption to the storage unit and deletes the image data from the removable storage device. And combining the transferred image data and the remaining image data to generate one file in the storage unit,
The predetermined amount is a free space capable of storing the file,
The information processing apparatus according to claim 5, wherein the first data writing unit writes the file into the removable storage device after the restart.
記憶部を備え、
前記第1データ書き込み部が前記リムーバブル記憶装置に書き込むデータは、前記記憶部に記憶されているデータである
ことを特徴とする請求項1または2に記載の情報処理装置。
A storage unit,
The information processing apparatus according to claim 1, wherein the data written to the removable storage device by the first data writing unit is data stored in the storage unit.
前記第1データ書き込み部が前記中断の前に前記リムーバブル記憶装置に書き込んだデータと、前記再開の後に前記リムーバブル記憶装置に書き込むデータを、個別のファイルとして前記リムーバブル記憶装置に保存する
ことを特徴とする請求項1乃至5、7のいずれか1つに記載の情報処理装置。
The data written to the removable storage device by the first data writing unit before the interruption and the data written to the removable storage device after the restart are saved as separate files in the removable storage device. The information processing apparatus according to any one of claims 1 to 5 and 7.
前記第1データ書き込み部が前記中断の前に前記リムーバブル記憶装置に書き込んだデータと、前記再開の後に前記リムーバブル記憶装置に書き込むデータを、1つのファイルとして前記リムーバブル記憶装置に保存する
ことを特徴とする請求項1乃至7のいずれか1つに記載の情報処理装置。
The first data writing unit stores the data written in the removable storage device before the interruption and the data written in the removable storage device after the restart as one file in the removable storage device. The information processing apparatus according to any one of claims 1 to 7.
前記中断後に、前記検出部によって検出された空き容量が増加した場合に、前記リムーバブル記憶装置にダミーデータを書き込む領域確保部を備え、
前記第1データ書き込み部は、前記検出部が検出した空き容量に代えて、前記ダミーデータのデータ量が前記所定量以上になった場合に、前記ダミーデータの記憶領域を使用して前記書き込みを再開する
ことを特徴とする請求項1乃至9のいずれか1つに記載の情報処理装置。
An area securing unit for writing dummy data to the removable storage device when the free space detected by the detection unit increases after the interruption;
The first data writing unit uses the dummy data storage area to write the data when the data amount of the dummy data exceeds the predetermined amount, instead of the free space detected by the detection unit. The information processing apparatus according to claim 1, wherein the information processing apparatus is restarted.
前記書き込む領域確保部は、前記リムーバブル記憶装置の空き容量がなくなるようにダミーデータを書き込む
ことを特徴とする請求項10に記載の情報処理装置。
The information processing apparatus according to claim 10, wherein the writing area securing unit writes dummy data so that a free capacity of the removable storage device is exhausted.
前記中断後に、前記検出部によって検出された空き容量が増加した場合に、前記リムーバブル記憶装置の記憶領域の管理情報を更新して疑似的に記憶領域を確保する管理情報更新部を有し、
前記第1データ書き込み部は、前記疑似的に確保された記憶領域を使用して、前記再開後の書き込みを行う
ことを特徴とする請求項1乃至9のいずれか1つに記載の情報処理装置。
A management information update unit that artificially secures a storage area by updating the management information of the storage area of the removable storage device when the free space detected by the detection unit increases after the interruption;
The information processing apparatus according to any one of claims 1 to 9, wherein the first data writing unit performs the writing after the restart using the pseudo-secured storage area. .
前記管理情報更新部は、前記リムーバブル記憶装置の空き容量がなくなるように前記リムーバブル記憶装置の記憶領域の管理情報を更新する
ことを特徴とする請求項12に記載の情報処理装置。
The information processing apparatus according to claim 12, wherein the management information update unit updates management information of a storage area of the removable storage device so that a free capacity of the removable storage device is exhausted.
JP2014135513A 2014-07-01 2014-07-01 Information processing device Active JP6314699B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014135513A JP6314699B2 (en) 2014-07-01 2014-07-01 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014135513A JP6314699B2 (en) 2014-07-01 2014-07-01 Information processing device

Publications (2)

Publication Number Publication Date
JP2016015557A JP2016015557A (en) 2016-01-28
JP6314699B2 true JP6314699B2 (en) 2018-04-25

Family

ID=55231464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014135513A Active JP6314699B2 (en) 2014-07-01 2014-07-01 Information processing device

Country Status (1)

Country Link
JP (1) JP6314699B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6535628B2 (en) * 2016-03-28 2019-06-26 理想科学工業株式会社 Printing system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3695582B2 (en) * 2001-12-17 2005-09-14 キヤノン電子株式会社 Image reading apparatus, image reading method, and control program
JP2005341154A (en) * 2004-05-26 2005-12-08 Nikon Corp Waterproof housing for electronic apparatus
JP2007221262A (en) * 2006-02-14 2007-08-30 Fujifilm Corp Photographic apparatus and image classification program
JP2008118333A (en) * 2006-11-02 2008-05-22 Murata Mach Ltd Scanner and transfer method for scan data
JP2008271135A (en) * 2007-04-19 2008-11-06 Murata Mach Ltd Image reader

Also Published As

Publication number Publication date
JP2016015557A (en) 2016-01-28

Similar Documents

Publication Publication Date Title
JP4462186B2 (en) Data backup device, data backup system, and data backup processing program
JP6641952B2 (en) Printing system
CN105391893A (en) Print apparatus and print system
JP2004139389A (en) Image data management device, image data management program, and image forming apparatus
JP6314699B2 (en) Information processing device
JP6264575B2 (en) Job processing device management server program
JP6536186B2 (en) Image forming apparatus, image forming remote control system and image forming remote control method
US20050231756A1 (en) Image forming apparatus
JP2005231158A (en) Job processing apparatus and job processing system
US7404191B2 (en) Information processing apparatus, its control method and control program
JP5752665B2 (en) Image forming apparatus and image forming method
JP2012006176A (en) Information processing apparatus and image forming apparatus
JP6597971B2 (en) Image forming apparatus and program
JP6083416B2 (en) Job execution device, program, and data deletion method
JP2004086664A (en) Print system
JP6013801B2 (en) Image output system and image output apparatus
JP5076442B2 (en) Image processing device
EP3644191A1 (en) Memory system and electronic device
JP6447824B2 (en) Job processing device program
JP6556428B2 (en) Information processing apparatus, program, and file import method
JP6834549B2 (en) Job processing device
JP4885774B2 (en) Image forming apparatus, image processing apparatus, image forming apparatus control method, image forming apparatus control program, and recording medium
JP6733592B2 (en) Image forming apparatus and image forming program
JP2015098160A (en) Information processing unit
JP2004140638A (en) Apparatus and program for managing image data, and image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170419

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171220

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180215

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180312

R150 Certificate of patent or registration of utility model

Ref document number: 6314699

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150