JP2017076214A - Electronic apparatus, backup destination determination program, and backup program - Google Patents

Electronic apparatus, backup destination determination program, and backup program Download PDF

Info

Publication number
JP2017076214A
JP2017076214A JP2015202728A JP2015202728A JP2017076214A JP 2017076214 A JP2017076214 A JP 2017076214A JP 2015202728 A JP2015202728 A JP 2015202728A JP 2015202728 A JP2015202728 A JP 2015202728A JP 2017076214 A JP2017076214 A JP 2017076214A
Authority
JP
Japan
Prior art keywords
backup
data
destination
speed
backup destination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2015202728A
Other languages
Japanese (ja)
Inventor
智義 直田
Tomoyoshi Naota
智義 直田
大二郎 北本
Daijiro Kitamoto
大二郎 北本
村上 隆
Takashi Murakami
隆 村上
龍介 中谷
Ryusuke Nakatani
龍介 中谷
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions 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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2015202728A priority Critical patent/JP2017076214A/en
Publication of JP2017076214A publication Critical patent/JP2017076214A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an electronic apparatus, backup destination determination program, and backup program that are capable of appropriately executing data backup.SOLUTION: An MFP capable of executing an application that executes data backup simultaneously with storing data determines a backup destination where data is backed up from among a plurality of storage destinations which include high-speed storage destinations for which an access speed is equal to or higher than a specific speed and low-speed storage destinations for which an access speed is lower than the specific speed; and when the determined backup destination is a low-speed storage destination (YES in S136) and when the data size of data to be backed up in response to a backup request from the application is equal to or larger than a specific size (YES in S137), compresses the data (S138) and backs it up to the low-speed storage destination (S139).SELECTED DRAWING: Figure 7

Description

本発明は、データを記憶させる場合にデータのバックアップも実行する電子機器、バックアップ先決定プログラムおよびバックアッププログラムに関する。   The present invention relates to an electronic device that also performs data backup when storing data, a backup destination determination program, and a backup program.

従来、データを記憶させる場合にデータのバックアップも実行する電子機器として、バックアップデータをバックアップメモリーに記憶させるものが知られている(例えば、特許文献1参照。)。   2. Description of the Related Art Conventionally, electronic devices that store backup data in a backup memory are known as electronic devices that also perform data backup when storing data (see, for example, Patent Document 1).

特開2011−079138号公報JP 2011-079138 A

しかしながら、従来の電子機器おいては、バックアップメモリーの容量が小さい場合に、例えば、データのバックアップが必要なアプリケーションが新たに追加されたとき、バックアップメモリーの容量の不足によってデータのバックアップが適切に実行されないという問題がある。   However, in conventional electronic devices, when the backup memory capacity is small, for example, when an application that requires data backup is newly added, the data backup is executed properly due to the lack of backup memory capacity. There is a problem that it is not.

そこで、本発明は、データのバックアップを適切に実行することができる電子機器、バックアップ先決定プログラムおよびバックアッププログラムを提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides an electronic device, a backup destination determination program, and a backup program that can appropriately perform data backup.

本発明の電子機器は、データを記憶させる場合に前記データのバックアップも実行するアプリケーションを実行可能な電子機器であって、前記データがバックアップされるバックアップ先を複数の記憶先の中から決定するバックアップ先決定手段と、前記バックアップ先決定手段によって決定された前記バックアップ先に、前記アプリケーションからの前記バックアップの要求に応じて前記データをバックアップするバックアップデータ管理手段とを備え、前記複数の記憶先は、アクセスの速度が特定の速度以上である高速記憶先と、アクセスの速度が前記特定の速度未満である低速記憶先とを含み、前記バックアップデータ管理手段は、前記バックアップ先決定手段によって決定された前記バックアップ先が前記低速記憶先である場合、前記アプリケーションからの前記バックアップの要求に応じてバックアップする前記データのデータサイズが特定のサイズ以上であるとき、前記データを圧縮して前記低速記憶先にバックアップすることを特徴とする。   The electronic device of the present invention is an electronic device capable of executing an application that also executes backup of the data when storing the data, and determines a backup destination from which the data is backed up from a plurality of storage destinations A backup data management unit that backs up the data in response to the backup request from the application to the backup destination determined by the backup destination determination unit, and the plurality of storage destinations include: A high-speed storage destination whose access speed is equal to or higher than a specific speed, and a low-speed storage destination whose access speed is less than the specific speed, wherein the backup data management means is determined by the backup destination determination means If the backup destination is the low-speed storage destination, When the data size of the data to be backed up in response to a request of the backup from the application is not less than a certain size, characterized in that it backed up to the low-speed storage destination by compressing the data.

この構成により、本発明の電子機器は、複数の記憶先の中からバックアップ先を決定するので、バックアップ先が1つのみである構成と比較して、データのバックアップのための十分な容量を確保することができる。したがって、本発明の電子機器は、データのバックアップを適切に実行することができる。また、本発明の電子機器は、アクセスの速度が特定の速度未満である低速記憶先にデータをバックアップする場合に、バックアップするデータのデータサイズが特定のサイズ以上であるとき、データを圧縮してバックアップするので、低速記憶先を効率良く利用することができる。   With this configuration, the electronic device according to the present invention determines a backup destination from a plurality of storage destinations, so that a sufficient capacity for data backup is ensured compared to a configuration with only one backup destination. can do. Therefore, the electronic device of the present invention can appropriately perform data backup. In addition, when backing up data to a low-speed storage destination whose access speed is less than a specific speed, the electronic device of the present invention compresses the data when the data size of the data to be backed up is greater than a specific size. Since the backup is performed, the low-speed storage destination can be used efficiently.

本発明の電子機器において、前記バックアップ先決定手段は、利用頻度が特定の利用頻度以上である前記データの前記バックアップ先として前記高速記憶先を決定し、利用頻度が前記特定の利用頻度未満である前記データの前記バックアップ先として前記低速記憶先を決定しても良い。   In the electronic device of the present invention, the backup destination determination unit determines the high-speed storage destination as the backup destination of the data whose usage frequency is equal to or higher than a specific usage frequency, and the usage frequency is less than the specific usage frequency. The low speed storage destination may be determined as the backup destination of the data.

この構成により、本発明の電子機器は、データの利用頻度と、記憶先のアクセスの速度とに応じてバックアップ先を決定するので、データのバックアップの効率を向上することができる。   With this configuration, the electronic device of the present invention determines the backup destination according to the data use frequency and the access speed of the storage destination, so that the efficiency of data backup can be improved.

本発明の電子機器において、前記バックアップ先決定手段は、前記バックアップ先を決定する前に利用者の認証を実行し、前記バックアップ先の決定の指示を受けた場合のうち、特定の利用者によって前記バックアップ先の決定の指示を受けた場合のみ前記バックアップ先を決定しても良い。   In the electronic device of the present invention, the backup destination determination unit executes user authentication before determining the backup destination, and receives a command to determine the backup destination. The backup destination may be determined only when an instruction to determine the backup destination is received.

この構成により、本発明の電子機器は、バックアップ先の決定の指示を受けた場合のうち、特定の利用者によってバックアップ先の決定の指示を受けた場合のみにバックアップ先を決定するので、不正な利用者によってバックアップ先が変更される可能性を低減することができる。   With this configuration, the electronic device of the present invention determines the backup destination only when receiving a backup destination determination instruction from a specific user among the backup destination determination instructions. The possibility that the backup destination is changed by the user can be reduced.

また、本発明の電子機器は、前記電子機器を前記バックアップ先決定手段として機能させるバックアップ先決定プログラムのインストールおよびアンインストールが可能であっても良い。   Moreover, the electronic device of the present invention may be capable of installing and uninstalling a backup destination determination program that causes the electronic device to function as the backup destination determination means.

この構成により、本発明の電子機器は、特定の利用者のみによってバックアップ先決定プログラムが管理されている場合に、特定の利用者がバックアップ先の変更を希望しないときに、バックアップ先決定プログラムがアンインストールされることによって、バックアップ先の変更を不可能にするので、不正な利用者によってバックアップ先が変更される可能性を低減することができる。   With this configuration, when the backup destination determination program is managed only by a specific user, the electronic device according to the present invention can uncheck the backup destination determination program when the specific user does not want to change the backup destination. Since the backup destination cannot be changed by being installed, the possibility that the backup destination is changed by an unauthorized user can be reduced.

本発明のバックアップ先決定プログラムは、データを記憶させる場合に前記データのバックアップも実行するアプリケーションを実行可能な電子機器によって実行されるバックアップ先決定プログラムであって、前記データがバックアップされるバックアップ先を複数の記憶先の中から決定するバックアップ先決定手段として前記電子機器を機能させ、前記電子機器は、前記バックアップ先決定手段によって決定された前記バックアップ先に、前記アプリケーションからの前記バックアップの要求に応じて前記データをバックアップするバックアップデータ管理手段を備え、前記複数の記憶先は、アクセスの速度が特定の速度以上である高速記憶先と、アクセスの速度が前記特定の速度未満である低速記憶先とを含み、前記バックアップデータ管理手段は、前記バックアップ先決定手段によって決定された前記バックアップ先が前記低速記憶先である場合、前記アプリケーションからの前記バックアップの要求に応じてバックアップする前記データのデータサイズが特定のサイズ以上であるとき、前記データを圧縮して前記低速記憶先にバックアップすることを特徴とする。   The backup destination determination program of the present invention is a backup destination determination program executed by an electronic device capable of executing an application that also executes backup of the data when storing the data. The electronic device functions as a backup destination determination unit that determines a plurality of storage destinations, and the electronic device responds to the backup request from the application to the backup destination determined by the backup destination determination unit. Backup data management means for backing up the data, and the plurality of storage destinations include a high-speed storage destination whose access speed is equal to or higher than a specific speed, and a low-speed storage destination whose access speed is lower than the specific speed; Including the backup data The management means, when the backup destination determined by the backup destination determination means is the low-speed storage destination, the data size of the data to be backed up in response to the backup request from the application is greater than a specific size The data is compressed and backed up to the low-speed storage destination.

この構成により、本発明のバックアップ先決定プログラムを実行する電子機器は、複数の記憶先の中からバックアップ先を決定するので、バックアップ先が1つのみである構成と比較して、データのバックアップのための十分な容量を確保することができる。したがって、本発明のバックアップ先決定プログラムを実行する電子機器は、データのバックアップを適切に実行することができる。また、本発明のバックアップ先決定プログラムを実行する電子機器は、アクセスの速度が特定の速度未満である低速記憶先にデータをバックアップする場合に、バックアップするデータのデータサイズが特定のサイズ以上であるとき、データを圧縮してバックアップするので、低速記憶先を効率良く利用することができる。また、本発明のバックアップ先決定プログラムは、特定の利用者のみによって管理されている場合に、特定の利用者がバックアップ先の変更を希望しないときに、電子機器からアンインストールされることによって、バックアップ先の変更を不可能にするので、不正な利用者によってバックアップ先が変更される可能性を低減することができる。   With this configuration, the electronic device that executes the backup destination determination program of the present invention determines a backup destination from among a plurality of storage destinations. Therefore, compared with a configuration in which there is only one backup destination, data backup is possible. Sufficient capacity can be secured. Therefore, the electronic device that executes the backup destination determination program of the present invention can appropriately execute data backup. In addition, when the electronic device executing the backup destination determination program of the present invention backs up data to a low-speed storage destination whose access speed is lower than a specific speed, the data size of the data to be backed up is a specific size or more. Since data is compressed and backed up, a low-speed storage destination can be used efficiently. In addition, the backup destination determination program of the present invention is managed by only a specific user, and when the specific user does not want to change the backup destination, the backup destination determination program is uninstalled from the electronic device. Since it is impossible to change the destination, the possibility that the backup destination is changed by an unauthorized user can be reduced.

本発明のバックアッププログラムは、データを記憶させる場合に前記データのバックアップも実行するアプリケーションを実行可能な電子機器によって実行されるバックアッププログラムであって、前記データがバックアップされるバックアップ先を複数の記憶先の中から決定するバックアップ先決定手段、および、前記バックアップ先決定手段によって決定された前記バックアップ先に、前記アプリケーションからの前記バックアップの要求に応じて前記データをバックアップするバックアップデータ管理手段として前記電子機器を機能させ、前記複数の記憶先は、アクセスの速度が特定の速度以上である高速記憶先と、アクセスの速度が前記特定の速度未満である低速記憶先とを含み、前記バックアップデータ管理手段は、前記バックアップ先決定手段によって決定された前記バックアップ先が前記低速記憶先である場合、前記アプリケーションからの前記バックアップの要求に応じてバックアップする前記データのデータサイズが特定のサイズ以上であるとき、前記データを圧縮して前記低速記憶先にバックアップすることを特徴とする。   The backup program of the present invention is a backup program executed by an electronic device capable of executing an application that also executes backup of the data when storing the data, and the backup destination to which the data is backed up is a plurality of storage destinations And the electronic device as backup data management means for backing up the data in response to the backup request from the application to the backup destination determined by the backup destination determination means The plurality of storage destinations include a high-speed storage destination whose access speed is equal to or higher than a specific speed and a low-speed storage destination whose access speed is less than the specific speed, and the backup data management means The backer When the backup destination determined by the backup destination determination means is the low-speed storage destination, when the data size of the data to be backed up in response to the backup request from the application is equal to or larger than a specific size, the data is The compressed data is backed up to the low-speed storage destination.

この構成により、本発明のバックアッププログラムを実行する電子機器は、複数の記憶先の中からバックアップ先を決定するので、バックアップ先が1つのみである構成と比較して、データのバックアップのための十分な容量を確保することができる。したがって、本発明のバックアッププログラムを実行する電子機器は、データのバックアップを適切に実行することができる。また、本発明のバックアッププログラムを実行する電子機器は、アクセスの速度が特定の速度未満である低速記憶先にデータをバックアップする場合に、バックアップするデータのデータサイズが特定のサイズ以上であるとき、データを圧縮してバックアップするので、低速記憶先を効率良く利用することができる。   With this configuration, the electronic device that executes the backup program of the present invention determines a backup destination from among a plurality of storage destinations. Therefore, compared with a configuration in which there is only one backup destination, data can be backed up. Sufficient capacity can be secured. Therefore, the electronic device that executes the backup program of the present invention can appropriately execute data backup. In addition, when the electronic device that executes the backup program of the present invention backs up data to a low-speed storage destination whose access speed is less than a specific speed, when the data size of the data to be backed up is a specific size or more, Since data is compressed and backed up, a low-speed storage destination can be used efficiently.

本発明の電子機器、バックアップ先決定プログラムおよびバックアッププログラムは、データのバックアップを適切に実行することができる。   The electronic device, the backup destination determination program, and the backup program of the present invention can appropriately perform data backup.

本発明の一実施の形態に係るMFPのブロック図である。1 is a block diagram of an MFP according to an embodiment of the present invention. 図1に示すバックアップ先設定の一例を示す図である。It is a figure which shows an example of the backup destination setting shown in FIG. 図1に示すバックアップ先決定用テーブルの一例を示す図である。It is a figure which shows an example of the backup destination determination table shown in FIG. 図1に示すMFPの機能のブロック図である。FIG. 2 is a block diagram of functions of the MFP shown in FIG. 1. バックアップ先を手動で設定する場合の図1に示すMFPの動作のシーケンス図である。FIG. 2 is a sequence diagram of the operation of the MFP shown in FIG. 1 when manually setting a backup destination. バックアップ先を自動で設定する場合の図1に示すMFPの動作のシーケンス図である。FIG. 2 is a sequence diagram of the operation of the MFP shown in FIG. 1 when a backup destination is automatically set. バックアップ時の図1に示すMFPの動作のフローチャートである。2 is a flowchart of the operation of the MFP shown in FIG. 1 during backup.

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

まず、本実施の形態に係る電子機器としてのMFP(Multifunction Peripheral)の構成について説明する。   First, the configuration of an MFP (Multifunction Peripheral) as an electronic apparatus according to the present embodiment will be described.

図1は、本実施の形態に係るMFP10のブロック図である。   FIG. 1 is a block diagram of MFP 10 according to the present embodiment.

図1に示すように、MFP10は、利用者による種々の操作が入力されるボタンなどの入力デバイスである操作部11と、種々の情報を表示するLCD(Liquid Crystal Display)などの表示デバイスである表示部12と、原稿から画像データを読み取る読取デバイスであるスキャナー13と、用紙などの記録媒体に印刷を実行する印刷デバイスであるプリンター14と、図示していない外部のファクシミリ装置と公衆電話回線などの通信回線経由でファックス通信を行うファックスデバイスであるファックス通信部15と、LAN(Local Area Network)、インターネットなどのネットワーク経由で外部の装置と通信を行うネットワーク通信デバイスであるネットワーク通信部16と、SDカードリーダー17と、各種のデータを記憶している半導体メモリーなどの不揮発性の記憶デバイスであるメイン記憶部20と、半導体メモリーなどの不揮発性の記憶デバイスであるサブ記憶部30と、MFP10全体を制御する制御部40とを備えている。   As shown in FIG. 1, the MFP 10 is a display device such as an operation unit 11 that is an input device such as buttons for inputting various operations by a user and an LCD (Liquid Crystal Display) that displays various information. A display unit 12, a scanner 13 that is a reading device that reads image data from a document, a printer 14 that is a printing device that performs printing on a recording medium such as paper, an external facsimile apparatus and a public telephone line (not shown), and the like A fax communication unit 15 that is a fax device that performs fax communication via a communication line, a network communication unit 16 that is a network communication device that communicates with an external device via a network such as a LAN (Local Area Network) and the Internet, SD card The main memory unit 20 that is a non-volatile storage device such as a semiconductor memory that stores various data, the sub storage unit 30 that is a non-volatile storage device such as a semiconductor memory, and the MFP 10 as a whole. And a control unit 40.

メイン記憶部20は、例えば、制御部40が搭載されている基板(以下「メイン基板」と言う。)に搭載されている。サブ記憶部30は、例えば、プリンター14を制御する専用の基板(以下「サブ基板」と言う。)に搭載されている。メイン基板およびサブ基板は、MFP10の重要な基板であるので、丈夫に製造されており、故障し難くい。したがって、メイン記憶部20およびサブ記憶部30は、故障し難い。   The main storage unit 20 is mounted on, for example, a substrate on which the control unit 40 is mounted (hereinafter referred to as “main substrate”). The sub storage unit 30 is mounted on, for example, a dedicated board (hereinafter referred to as “sub board”) that controls the printer 14. Since the main board and the sub board are important boards of the MFP 10, the main board and the sub board are robustly manufactured and hardly break down. Therefore, the main storage unit 20 and the sub storage unit 30 are unlikely to fail.

メイン記憶部20は、データのバックアップのためのバックアッププログラム21を記憶している。バックアッププログラム21は、MFP10の製造段階でMFP10にインストールされていても良いし、SDカード、USB(Universal Serial Bus)メモリーなどの記憶媒体からMFP10に追加でインストールされても良いし、ネットワーク上からMFP10に追加でインストールされても良い。   The main storage unit 20 stores a backup program 21 for data backup. The backup program 21 may be installed in the MFP 10 at the manufacturing stage of the MFP 10, may be additionally installed in the MFP 10 from a storage medium such as an SD card or a USB (Universal Serial Bus) memory, or the MFP 10 from the network. It may be additionally installed.

バックアッププログラム21は、データがバックアップされるバックアップ先を決定するためのバックアップ先決定プログラム21aを含んでいる。バックアップ先決定プログラム21aは、バックアッププログラム21のうちバックアップ先決定プログラム21a以外の部分とは独立して、インストールされたり、アンインストールされたりすることが可能である。   The backup program 21 includes a backup destination determination program 21a for determining a backup destination where data is backed up. The backup destination determination program 21a can be installed or uninstalled independently of the backup program 21 other than the backup destination determination program 21a.

メイン記憶部20は、制御部40によって実行可能な様々な種類のアプリケーション22を記憶することができる。アプリケーション22のそれぞれは、MFP10の製造段階でMFP10にインストールされていても良いし、SDカード、USBメモリーなどの記憶媒体からMFP10に追加でインストールされても良いし、ネットワーク上からMFP10に追加でインストールされても良い。   The main storage unit 20 can store various types of applications 22 that can be executed by the control unit 40. Each of the applications 22 may be installed in the MFP 10 at the manufacturing stage of the MFP 10, may be additionally installed in the MFP 10 from a storage medium such as an SD card or a USB memory, or additionally installed in the MFP 10 from the network. May be.

アプリケーション22としては、例えば、スキャナー13によるスキャンの枚数を示すカウンターや、プリンター14による印刷の枚数を示すカウンターなどの各種のカウンターを管理するためのカウンターアプリケーション、ネットワーク通信部16による通信機能を管理するネットワークアプリケーション、MFP10に新たな言語を追加するための言語アプリケーションなどが存在する。アプリケーション22には、データをメイン記憶部20に記憶させる場合に、データのバックアップも実行するものが存在する。例えば、カウンターアプリケーションは、データとしてのカウンターをメイン記憶部20に記憶させる場合に、カウンターのバックアップも実行する。また、ネットワークアプリケーションは、例えば、データとしてのMAC(Media Access Control)アドレスをメイン記憶部20に記憶させる場合に、MACアドレスのバックアップも実行する。また、言語アプリケーションは、例えば、表示部12への表示用の言語のデータをメイン記憶部20に記憶させる場合に、表示部12への表示用の言語のデータのバックアップも実行する。以下、「データをメイン記憶部20に記憶させる場合に、データのバックアップも実行するアプリケーション22」をバックアップ対応アプリケーションと言う。   As the application 22, for example, a counter application for managing various counters such as a counter indicating the number of sheets scanned by the scanner 13, a counter indicating the number of sheets printed by the printer 14, and a communication function by the network communication unit 16 are managed. There are a network application, a language application for adding a new language to the MFP 10, and the like. Some applications 22 also perform data backup when data is stored in the main storage unit 20. For example, when the counter application stores data as a counter in the main storage unit 20, the counter application also executes a counter backup. Further, for example, when the network application stores a MAC (Media Access Control) address as data in the main storage unit 20, the network application also performs backup of the MAC address. The language application also performs backup of the language data for display on the display unit 12 when the language data for display on the display unit 12 is stored in the main storage unit 20, for example. Hereinafter, “the application 22 that also performs data backup when data is stored in the main storage unit 20” is referred to as a backup-compatible application.

メイン記憶部20は、バックアップ先を示すバックアップ先設定23を記憶することができる。   The main storage unit 20 can store a backup destination setting 23 indicating a backup destination.

図2は、バックアップ先設定23の一例を示す図である。   FIG. 2 is a diagram illustrating an example of the backup destination setting 23.

図2に示すバックアップ先設定23は、バックアップ先をバックアップ対応アプリケーション毎に示している。例えば、図2において、カウンターアプリケーションは、サブ記憶部30がバックアップ先として設定されている。ネットワークアプリケーションは、ネットワーク通信部16を介してMFP10に接続されるサーバーがバックアップ先として設定されている。言語アプリケーションは、SDカードリーダー17を介してMFP10に接続されるSDカードがバックアップ先として設定されている。   The backup destination setting 23 shown in FIG. 2 indicates the backup destination for each backup-compatible application. For example, in FIG. 2, in the counter application, the sub storage unit 30 is set as a backup destination. In the network application, a server connected to the MFP 10 via the network communication unit 16 is set as a backup destination. In the language application, an SD card connected to the MFP 10 via the SD card reader 17 is set as a backup destination.

図1に示すように、メイン記憶部20は、バックアップ先の設定を手動および自動の何れで実行するのかを示すバックアップ先設定方法24と、データの利用頻度をデータ毎に示す利用頻度情報25とを記憶することができる。   As shown in FIG. 1, the main storage unit 20 includes a backup destination setting method 24 indicating whether the backup destination is set manually or automatically, and usage frequency information 25 indicating the data usage frequency for each data. Can be stored.

メイン記憶部20は、データの利用頻度と、データのバックアップ先との対応関係を示すバックアップ先決定用テーブル26を記憶することができる。バックアップ先決定用テーブル26は、アプリケーション22毎に記憶されても良い。バックアップ先決定用テーブル26は、MFP10の製造段階でMFP10に記憶させられていても良いし、SDカード、USBメモリーなどの記憶媒体からMFP10に追加で記憶させられても良いし、ネットワーク上からMFP10に追加で記憶させられても良い。バックアップ先決定用テーブル26は、MFP10を管理する機器管理者およびサービスパーソンの少なくとも一方によって設定されても良い。ここで、機器管理者は、MFP10の一般利用者側の者である。また、サービスパーソンは、MFP10の提供業者側の者である。   The main storage unit 20 can store a backup destination determination table 26 that indicates the correspondence between the data usage frequency and the data backup destination. The backup destination determination table 26 may be stored for each application 22. The backup destination determination table 26 may be stored in the MFP 10 at the manufacturing stage of the MFP 10, may be additionally stored in the MFP 10 from a storage medium such as an SD card or a USB memory, or the MFP 10 from the network. May be additionally stored. The backup destination determination table 26 may be set by at least one of a device administrator who manages the MFP 10 and a service person. Here, the device administrator is a person on the general user side of the MFP 10. The service person is a person on the provider side of the MFP 10.

図3は、バックアップ先決定用テーブル26の一例を示す図である。   FIG. 3 is a diagram illustrating an example of the backup destination determination table 26.

図3に示すバックアップ先決定用テーブル26は、データの利用頻度と、データのバックアップ先との対応関係を、バックアップ先毎に示している。例えば、図3において、サブ記憶部30は、利用頻度がa以上であるデータのバックアップ先として決定される。SDカードリーダー17を介してMFP10に接続されるSDカードは、利用頻度がb以上a未満であるデータのバックアップ先として決定される。ネットワーク通信部16を介してMFP10に接続されるサーバーは、利用頻度がc以上b未満であるデータのバックアップ先として決定される。ここで、サブ記憶部30は、SDカードリーダー17を介してMFP10に接続されるSDカードと比較して、後述のバックアップデータ管理手段45からのアクセスの速度が速い。また、SDカードリーダー17を介してMFP10に接続されるSDカードは、ネットワーク通信部16を介してMFP10に接続されるサーバーと比較して、バックアップデータ管理手段45からのアクセスの速度が速い。   The backup destination determination table 26 shown in FIG. 3 shows the correspondence between the data usage frequency and the data backup destination for each backup destination. For example, in FIG. 3, the sub storage unit 30 is determined as a backup destination of data whose usage frequency is a or more. The SD card connected to the MFP 10 via the SD card reader 17 is determined as a backup destination of data whose usage frequency is b or more and less than a. A server connected to the MFP 10 via the network communication unit 16 is determined as a backup destination of data whose usage frequency is c or more and less than b. Here, the sub storage unit 30 has a higher access speed from a backup data management unit 45 (to be described later) than an SD card connected to the MFP 10 via the SD card reader 17. Further, the SD card connected to the MFP 10 via the SD card reader 17 has a higher access speed from the backup data management unit 45 than the server connected to the MFP 10 via the network communication unit 16.

なお、利用頻度が高いデータは、通常、データサイズが小さいことが多い。例えば、上述したカウンターなどのデータは、頻繁に更新されることが多いが、データサイズは小さい。   Note that frequently used data is usually small in data size. For example, data such as the counter described above is often updated frequently, but the data size is small.

一方、利用頻度が低いデータは、通常、データサイズが大きいことが多い。例えば、ネットワークに関するセキュリティーに使用される証明書や、利用者の印刷のテンプレートファイルなどのデータは、一旦設定された後、頻繁に変更されることが少ないが、データサイズが大きいことが多い。   On the other hand, data with low usage frequency usually has a large data size. For example, data such as a certificate used for security related to a network and a template file for printing by a user are not frequently changed after being set once, but the data size is often large.

図1に示す制御部40は、例えば、CPU(Central Processing Unit)と、プログラムおよび各種のデータを記憶しているROM(Read Only Memory)と、CPUの作業領域として用いられるメモリーとしてのRAM(Random Access Memory)とを備えている。CPUは、ROMまたはメイン記憶部20に記憶されているプログラムを実行する。   The control unit 40 shown in FIG. 1 includes, for example, a CPU (Central Processing Unit), a ROM (Read Only Memory) storing programs and various data, and a RAM (Random) as a memory used as a work area of the CPU. Access Memory). The CPU executes a program stored in the ROM or the main storage unit 20.

制御部40は、ROMまたはメイン記憶部20に記憶されているプログラムを実行することによって、MFP10の利用者を管理する利用者管理手段41、MFP10に追加されたアプリケーション22を管理するアプリケーション管理手段42、および、MFP10のシステムを管理するシステム管理手段43として機能する。利用者管理手段41によって管理される利用者の種類としては、例えば、MFP10の一般利用者と、MFP10を管理する機器管理者およびサービスパーソンとが存在する。   The control unit 40 executes a program stored in the ROM or the main storage unit 20 to execute a user management unit 41 that manages users of the MFP 10 and an application management unit 42 that manages the applications 22 added to the MFP 10. , And functions as system management means 43 for managing the system of the MFP 10. Examples of the types of users managed by the user management unit 41 include general users of the MFP 10, device managers and service persons who manage the MFP 10.

制御部40は、メイン記憶部20に記憶されているバックアッププログラム21を実行することによって、複数の記憶先の中からバックアップ先を決定するバックアップ先決定手段44、および、バックアップ先決定手段44によって決定されたバックアップ先に、バックアップ対応アプリケーションからのバックアップの要求に応じてデータをバックアップするバックアップデータ管理手段45として機能する。特に、制御部40は、バックアッププログラム21のうちバックアップ先決定プログラム21aを実行することによって、バックアップ先決定手段44として機能する。   The control unit 40 executes the backup program 21 stored in the main storage unit 20 to determine a backup destination from a plurality of storage destinations, and a backup destination determination unit 44 determines the backup destination. It functions as backup data management means 45 that backs up data in response to a backup request from a backup-compatible application at the backup destination. In particular, the control unit 40 functions as the backup destination determination unit 44 by executing the backup destination determination program 21 a of the backup program 21.

次に、MFP10の動作について説明する。   Next, the operation of the MFP 10 will be described.

まず、バックアップ先設定方法24を設定する場合のMFP10の動作について説明する。   First, the operation of the MFP 10 when setting the backup destination setting method 24 will be described.

システム管理手段43は、バックアップ先設定方法24が操作部11を介して指定されると、指定されたバックアップ先設定方法24をメイン記憶部20に記憶させる。   When the backup destination setting method 24 is designated via the operation unit 11, the system management unit 43 stores the designated backup destination setting method 24 in the main storage unit 20.

次に、バックアップ先を手動で設定する場合のMFP10の動作について説明する。   Next, the operation of the MFP 10 when manually setting the backup destination will be described.

図4は、MFP10の機能のブロック図である。図5は、バックアップ先を手動で設定する場合のMFP10の動作のシーケンス図である。   FIG. 4 is a block diagram of functions of the MFP 10. FIG. 5 is a sequence diagram of the operation of the MFP 10 when manually setting the backup destination.

図4および図5に示すように、利用者が操作部11を介してバックアップ先決定手段44にログインすると、バックアップ先決定手段44は、利用者管理手段41に利用者の認証を依頼する(S101)。例えば、バックアップ先決定手段44は、利用者が操作部11を介して入力した利用者名およびパスワードなどの認証情報を利用者管理手段41に伝えることによって、利用者管理手段41に利用者の認証を依頼する。利用者管理手段41は、バックアップ先決定手段44から伝えられた認証情報に対応付けられている利用者を管理している場合、利用者のログインを許可する。利用者管理手段41は、利用者のログインを許可すると、結果をバックアップ先決定手段44に通知する(S102)。   As shown in FIGS. 4 and 5, when the user logs in to the backup destination determination unit 44 via the operation unit 11, the backup destination determination unit 44 requests the user management unit 41 to authenticate the user (S101). ). For example, the backup destination determination unit 44 informs the user management unit 41 of user authentication information such as a user name and a password input by the user via the operation unit 11, thereby authenticating the user to the user management unit 41. Request. If the user management unit 41 manages the user associated with the authentication information transmitted from the backup destination determination unit 44, the user management unit 41 permits the user to log in. When permitting the user to log in, the user management unit 41 notifies the backup destination determination unit 44 of the result (S102).

バックアップ先決定手段44は、利用者が特定の利用者、すなわち、機器管理者またはサービスパーソンとしてログインが許可されると、アプリケーション管理手段42が管理しているアプリケーション22の情報をアプリケーション管理手段42に要求する(S103)。アプリケーション管理手段42は、S103においてアプリケーション22の情報が要求されると、自身が管理しているアプリケーション22のうちバックアップ対応アプリケーションのみをバックアップ先決定手段44に通知する(S104)。バックアップ先決定手段44は、通知されたバックアップ対応アプリケーションを表示部12に表示することによって、表示部12に表示したバックアップ対応アプリケーションのうち、利用者がバックアップ先の指定を希望するバックアップ対応アプリケーションを利用者に操作部11を介して指定させる。   When the user is permitted to log in as a specific user, that is, a device administrator or a service person, the backup destination determination unit 44 sends the application 22 information managed by the application management unit 42 to the application management unit 42. A request is made (S103). When the information on the application 22 is requested in S103, the application management means 42 notifies the backup destination determination means 44 of only the backup compatible application among the applications 22 managed by the application management means 42 (S104). The backup destination determination unit 44 displays the notified backup compatible application on the display unit 12, and uses the backup compatible application that the user desires to specify the backup destination among the backup compatible applications displayed on the display unit 12. The user is designated via the operation unit 11.

バックアップ先決定手段44は、操作部11を介してバックアップ対応アプリケーションが指定されると、バックアップ先の候補の情報をバックアップデータ管理手段45に要求する(S105)。したがって、バックアップデータ管理手段45は、バックアップ先の候補をMFP10において確認し、サブ記憶部30と、SDカードリーダー17を介して接続されているSDカード51と、ネットワーク通信部16を介して接続されているサーバー52とをバックアップ先の候補としてバックアップ先決定手段44に通知する(S106)。   When a backup-compatible application is specified via the operation unit 11, the backup destination determination unit 44 requests backup destination candidate information from the backup data management unit 45 (S105). Therefore, the backup data management unit 45 confirms the backup destination candidate in the MFP 10 and is connected via the network communication unit 16 to the sub storage unit 30, the SD card 51 connected via the SD card reader 17. The server 52 is notified to the backup destination determination means 44 as a backup destination candidate (S106).

バックアップ先決定手段44は、S106の処理の後、バックアップ先設定方法24をシステム管理手段43に確認する(S107)。したがって、システム管理手段43は、バックアップ先の設定を手動で実行することをバックアップ先設定方法24が示している場合、バックアップ先の設定を手動で実行することをバックアップ先決定手段44に送信する(S108)。バックアップ先決定手段44は、バックアップ先の設定を手動で実行することをS108において受信すると、S106において通知された候補を表示部12に表示することによって、表示部12に表示した候補のうち、利用者が希望するバックアップ先を利用者に操作部11を介して指定させる。   The backup destination determination unit 44 confirms the backup destination setting method 24 with the system management unit 43 after the processing of S106 (S107). Accordingly, when the backup destination setting method 24 indicates that the backup destination setting is manually executed, the system management means 43 transmits to the backup destination determination means 44 that the backup destination setting is executed manually ( S108). When receiving in S108 that the backup destination setting is manually executed in S108, the backup destination determination unit 44 displays the candidates notified in S106 on the display unit 12, thereby using the candidates displayed on the display unit 12. The user designates a backup destination desired by the user via the operation unit 11.

バックアップ先決定手段44は、操作部11を介してバックアップ先が指定されると、S105の直前に操作部11を介して指定されたバックアップ対応アプリケーションと、今回、操作部11を介して指定されたバックアップ先との登録をバックアップデータ管理手段45に要求する(S109)。したがって、バックアップデータ管理手段45は、S109において登録が要求されたバックアップ対応アプリケーションおよびバックアップ先の組み合わせをバックアップ先設定23に登録する。ここで、バックアップデータ管理手段45は、S109において登録が要求された組み合わせにおけるバックアップ対応アプリケーションがバックアップ先設定23に既に含まれている場合、このバックアップ対応アプリケーションに対応付けてバックアップ先設定23に登録されているバックアップ先を、S109において登録が要求された組み合わせにおけるバックアップ先によって上書きする。バックアップデータ管理手段45は、バックアップ先設定23への登録が終了すると、バックアップ先設定23への登録が終了したことをバックアップ先決定手段44に通知する(S110)。   When the backup destination is specified via the operation unit 11, the backup destination determination unit 44 specifies the backup compatible application specified via the operation unit 11 immediately before S 105 and the current specification via the operation unit 11. The backup data management means 45 is requested to register with the backup destination (S109). Therefore, the backup data management unit 45 registers the combination of the backup compatible application and the backup destination requested to be registered in S109 in the backup destination setting 23. Here, when the backup compatible application in the combination requested to be registered in S109 is already included in the backup destination setting 23, the backup data managing means 45 is registered in the backup destination setting 23 in association with this backup compatible application. The existing backup destination is overwritten by the backup destination in the combination requested to be registered in S109. When the registration to the backup destination setting 23 is completed, the backup data management unit 45 notifies the backup destination determination unit 44 that the registration to the backup destination setting 23 is completed (S110).

例えば、機器管理者またはサービスパーソンは、バックアップ対応アプリケーションをMFP10にインストールした後、インストールしたバックアップ対応アプリケーションをアクティベートする前に、バックアップ対応アプリケーションに対するバックアップ先を、図5に示す処理によって登録することができる。   For example, the device administrator or service person can register the backup destination for the backup compatible application by the process shown in FIG. 5 after activating the installed backup compatible application after installing the backup compatible application in the MFP 10. .

次に、バックアップ先を自動で設定する場合のMFP10の動作について説明する。   Next, the operation of the MFP 10 when the backup destination is automatically set will be described.

図6は、バックアップ先を自動で設定する場合のMFP10の動作のシーケンス図である。   FIG. 6 is a sequence diagram of the operation of the MFP 10 when the backup destination is automatically set.

図6に示すように、S101〜S107の処理は、図5に示す動作と同一であるので、説明を省略する。   As shown in FIG. 6, the processing of S101 to S107 is the same as the operation shown in FIG.

図4および図6に示すように、システム管理手段43は、S107の処理の後、バックアップ先の設定を自動で実行することをバックアップ先設定方法24が示している場合、バックアップ先の設定を自動で実行することをバックアップ先決定手段44に送信する(S111)。   As shown in FIGS. 4 and 6, the system management unit 43 automatically sets the backup destination when the backup destination setting method 24 indicates that the backup destination setting is automatically executed after the process of S107. Is executed to the backup destination determination means 44 (S111).

バックアップ先決定手段44は、バックアップ先の設定を自動で実行することをS111において受信すると、S105の直前に操作部11を介して指定されたバックアップ対応アプリケーションがメイン記憶部20に記憶させたデータの利用状況をシステム管理手段43に確認する(S112)。したがって、システム管理手段43は、S112において利用状況の確認が依頼されたデータの利用頻度を利用頻度情報25から取得し、取得した利用頻度をバックアップ先決定手段44に送信する(S113)。   When the backup destination determination unit 44 receives in S111 that automatic setting of the backup destination is received in S111, the backup compatible application designated via the operation unit 11 immediately before S105 stores the data stored in the main storage unit 20. The usage status is confirmed with the system management means 43 (S112). Therefore, the system management unit 43 acquires the usage frequency of the data for which the usage status confirmation is requested in S112 from the usage frequency information 25, and transmits the acquired usage frequency to the backup destination determination unit 44 (S113).

バックアップ先決定手段44は、S113において送信されてきた利用頻度と、バックアップ先決定用テーブル26とに基づいて、バックアップ先を決定し、S105の直前に操作部11を介して指定されたバックアップ対応アプリケーションと、今回決定したバックアップ先との登録をバックアップデータ管理手段45に要求する(S114)。したがって、バックアップデータ管理手段45は、S114において登録が要求されたバックアップ対応アプリケーションおよびバックアップ先の組み合わせをバックアップ先設定23に登録する。ここで、バックアップデータ管理手段45は、S114において登録が要求された組み合わせにおけるバックアップ対応アプリケーションがバックアップ先設定23に既に含まれている場合、このバックアップ対応アプリケーションに対応付けてバックアップ先設定23に登録されているバックアップ先を、S114において登録が要求された組み合わせにおけるバックアップ先によって上書きする。バックアップデータ管理手段45は、バックアップ先設定23への登録が終了すると、バックアップ先設定23への登録が終了したことをバックアップ先決定手段44に通知する(S115)。   The backup destination determination unit 44 determines a backup destination based on the use frequency transmitted in S113 and the backup destination determination table 26, and the backup compatible application designated via the operation unit 11 immediately before S105. Then, the backup data management unit 45 is requested to register with the backup destination determined this time (S114). Therefore, the backup data management unit 45 registers the combination of the backup compatible application and the backup destination requested to be registered in S114 in the backup destination setting 23. Here, when the backup compatible application in the combination requested to be registered in S114 is already included in the backup destination setting 23, the backup data management means 45 is registered in the backup destination setting 23 in association with this backup compatible application. The existing backup destination is overwritten by the backup destination in the combination requested for registration in S114. When the registration to the backup destination setting 23 is completed, the backup data management unit 45 notifies the backup destination determination unit 44 that the registration to the backup destination setting 23 is completed (S115).

次に、バックアップ時のMFP10の動作について説明する。   Next, the operation of the MFP 10 during backup will be described.

図4に示すように、バックアップ対応アプリケーションは、データをメイン記憶部20に記憶させる場合に、データのバックアップも実行する。ここで、バックアップ対応アプリケーションは、データのバックアップについてはバックアップデータ管理手段45に依頼する。   As shown in FIG. 4, the backup-compatible application also executes data backup when storing data in the main storage unit 20. Here, the backup compatible application requests the backup data management means 45 for data backup.

図7は、バックアップ時のMFP10の動作のフローチャートである。   FIG. 7 is a flowchart of the operation of the MFP 10 during backup.

図4および図7に示すように、バックアップデータ管理手段45は、バックアップ対応アプリケーションからデータのバックアップの依頼を受けると、依頼を受けたバックアップ対応アプリケーション(以下「対象バックアップ対応アプリケーション」と言う。)に関連付けられたバックアップ先がバックアップ先設定23に設定されているか否かを判断する(S131)。   As shown in FIG. 4 and FIG. 7, when the backup data management means 45 receives a request for data backup from a backup compatible application, the backup data management means 45 sends the requested backup compatible application (hereinafter referred to as “target backup compatible application”). It is determined whether the associated backup destination is set in the backup destination setting 23 (S131).

バックアップデータ管理手段45は、バックアップ先がバックアップ先設定23に設定されているとS131において判断すると、バックアップ先設定23に設定されているバックアップ先を対象の記憶先とする(S132)。   When the backup data management unit 45 determines in S131 that the backup destination is set in the backup destination setting 23, the backup destination set in the backup destination setting 23 is set as the target storage destination (S132).

バックアップデータ管理手段45は、バックアップ先がバックアップ先設定23に設定されていないとS131において判断すると、対象バックアップ対応アプリケーションからバックアップ先の指示があったか否かを判断する(S133)。   When the backup data management unit 45 determines in S131 that the backup destination is not set in the backup destination setting 23, the backup data management unit 45 determines whether or not there is an instruction for the backup destination from the target backup compatible application (S133).

バックアップデータ管理手段45は、対象バックアップ対応アプリケーションからバックアップ先の指示があったとS133において判断すると、対象バックアップ対応アプリケーションから指示があったバックアップ先を対象の記憶先とする(S134)。   When the backup data management unit 45 determines in S133 that there is an instruction for the backup destination from the target backup compatible application, the backup destination specified by the target backup compatible application is set as the target storage destination (S134).

バックアップデータ管理手段45は、対象バックアップ対応アプリケーションからバックアップ先の指示がなかったとS133において判断すると、標準のバックアップ先、すなわち、サブ記憶部30を対象の記憶先とする(S135)。   When the backup data management unit 45 determines in S133 that there is no backup destination instruction from the target backup compatible application, the backup data management unit 45 sets the standard backup destination, that is, the sub storage unit 30, as the target storage destination (S135).

バックアップデータ管理手段45は、S132、S134またはS135の処理が終了すると、対象の記憶先がサーバー52であるか否かを判断する(S136)。   When the process of S132, S134, or S135 ends, the backup data management unit 45 determines whether the target storage destination is the server 52 (S136).

バックアップデータ管理手段45は、対象の記憶先がサーバー52であるとS136において判断すると、対象バックアップ対応アプリケーションからバックアップの依頼を受けたデータのデータサイズが特定のサイズ以上であるか否かを判断する(S137)。   When the backup data management unit 45 determines in S136 that the target storage destination is the server 52, the backup data management unit 45 determines whether or not the data size of the data requested for backup from the target backup compatible application is equal to or larger than a specific size. (S137).

バックアップデータ管理手段45は、対象バックアップ対応アプリケーションからバックアップの依頼を受けたデータのデータサイズが特定のサイズ以上であるとS137において判断すると、対象バックアップ対応アプリケーションからバックアップの依頼を受けたデータを圧縮する(S138)。   If the backup data management unit 45 determines in S137 that the data size of the data requested for backup from the target backup compatible application is equal to or larger than the specific size, the backup data management unit 45 compresses the data requested for backup from the target backup compatible application. (S138).

バックアップデータ管理手段45は、対象の記憶先がサーバー52ではないとS136において判断するか、対象バックアップ対応アプリケーションからバックアップの依頼を受けたデータのデータサイズが特定のサイズ以上ではないとS137において判断するか、S138の処理を実行すると、対象バックアップ対応アプリケーションからバックアップの依頼を受けたデータを、MFP10と、対象バックアップ対応アプリケーションとに対応付けて、対象の記憶先に記憶、すなわち、バックアップする(S139)。したがって、MFP10以外のMFPは、MFP10に対応付けて対象の記憶先に記憶されたデータを使用することができない。   The backup data management unit 45 determines in S136 that the target storage destination is not the server 52, or determines in S137 that the data size of the data requested for backup from the target backup-compatible application is not equal to or greater than a specific size. Alternatively, when the processing of S138 is executed, the data requested for backup from the target backup compatible application is stored in the target storage destination in association with the MFP 10 and the target backup compatible application, that is, backed up (S139). . Therefore, MFPs other than the MFP 10 cannot use data stored in the target storage destination in association with the MFP 10.

なお、バックアップデータ管理手段45は、S138においてデータを圧縮した場合、S138において圧縮する前のデータではなく、S138において圧縮したデータをS139においてバックアップする。   When the data is compressed in S138, the backup data management unit 45 backs up the data compressed in S138, not the data before compression in S138, in S139.

バックアップデータ管理手段45は、S139の処理が終了すると、図7に示す動作を終了する。   When the process of S139 is completed, the backup data management unit 45 ends the operation shown in FIG.

なお、バックアップデータ管理手段45は、バックアップの対象となる対象データについて、MFP10が起動させられたタイミングや、バックアップ対応アプリケーションがデータをメイン記憶部20に記憶させるタイミングなど、特定のタイミングで、メイン基板のメイン記憶部20と、対象データのバックアップ先とにデータの相違が存在するか否かを判断する。そして、バックアップデータ管理手段45は、対象データについて、メイン基板のメイン記憶部20と、対象データのバックアップ先とにデータの相違が存在する場合、メイン基板のメイン記憶部20と、対象データのバックアップ先との一方のみに存在する対象データを、一方から他方に複製することによって、対象データについて、メイン基板のメイン記憶部20と、対象データのバックアップ先とにデータの相違が存在しないようにする。   Note that the backup data management unit 45 sets the target board to be backed up at a specific timing, such as when the MFP 10 is activated or when a backup-compatible application stores data in the main storage unit 20. It is determined whether or not there is a data difference between the main storage unit 20 and the backup destination of the target data. The backup data management unit 45 then backs up the target data when the target data has a difference between the main storage unit 20 of the main board and the backup destination of the target data. By copying the target data that exists only in one of the destinations from one to the other, there is no data difference between the main storage unit 20 of the main board and the backup destination of the target data for the target data. .

したがって、バックアップデータ管理手段45は、例えば、メイン基板が故障した場合、故障したメイン基板が新たなメイン基板に交換された後で、バックアップ先に記憶されている対象データをメイン基板のメイン記憶部20に反映させることが可能である。同様に、バックアップデータ管理手段45は、バックアップ先の記憶デバイスが故障した場合、故障した記憶デバイスが新たな記憶デバイスに交換された後で、メイン基板のメイン記憶部20に記憶されている対象データをバックアップ先の新たな記憶デバイスに反映させることが可能である。   Therefore, the backup data management means 45, for example, if the main board fails, after the failed main board is replaced with a new main board, the target data stored in the backup destination is stored in the main storage unit of the main board. 20 can be reflected. Similarly, when the backup destination storage device fails, the backup data management unit 45 replaces the failed storage device with a new storage device, and then stores the target data stored in the main storage unit 20 of the main board. Can be reflected in a new storage device as a backup destination.

以上に説明したように、MFP10のバックアップ先決定手段44は、利用頻度がa以上であるデータのバックアップ先として、バックアップデータ管理手段45からのアクセスの速度がSDカード51より速くサブ記憶部30以下の速度(以下「速度A」と言う。)以上である記憶先、例えば、サブ記憶部30を決定する。また、バックアップ先決定手段44は、利用頻度がb以上a未満であるデータのバックアップ先として、バックアップデータ管理手段45からのアクセスの速度がサーバー52より速くSDカード51以下の速度(以下「速度B」と言う。)以上であって速度A未満である記憶先、例えば、SDカード51を決定する。また、バックアップ先決定手段44は、利用頻度がc以上b未満であるデータのバックアップ先として、バックアップデータ管理手段45からのアクセスの速度がサーバー52以下の速度以上であって速度B未満である記憶先、例えば、サーバー52を決定する。   As described above, the backup destination determination unit 44 of the MFP 10 serves as a backup destination for data whose usage frequency is a or higher, and the access speed from the backup data management unit 45 is faster than that of the SD card 51 and below the sub storage unit 30. Storage destination, for example, the sub storage unit 30 is determined. Further, the backup destination determination unit 44 uses the backup data management unit 45 as a backup destination of data whose usage frequency is not less than b and less than a, and the access speed from the backup data management unit 45 is faster than the server 52 and below the SD card 51 (hereinafter “speed B” The storage destination, for example, the SD card 51 that is less than the speed A is determined. Further, the backup destination determination unit 44 stores, as a backup destination of data whose usage frequency is c or more and less than b, the access speed from the backup data management unit 45 is the speed of the server 52 or less and less than the speed B. First, for example, the server 52 is determined.

したがって、MFP10は、複数の記憶先の中からバックアップ先を決定する(S114)ので、バックアップ先が1つのみである構成と比較して、データのバックアップのための十分な容量を確保することができる。したがって、MFP10は、例えば、バックアップ対応アプリケーションが新たに追加された場合であっても、データのバックアップを適切に実行することができる。   Therefore, since the MFP 10 determines a backup destination from a plurality of storage destinations (S114), it is possible to secure a sufficient capacity for data backup as compared with a configuration having only one backup destination. it can. Therefore, for example, even when a backup-compatible application is newly added, the MFP 10 can appropriately perform data backup.

MFP10は、アクセスの速度が特定の速度未満である低速記憶先にデータをバックアップする場合に(S136でYES)、バックアップするデータのデータサイズが特定のサイズ以上であるとき(S137でYES)、データを圧縮して(S138)バックアップする(S139)ので、低速記憶先を効率良く利用することができる。特に、上述したように、利用頻度が低いデータは、通常、データサイズが大きいことが多いので、データを圧縮してバックアップすることによって、低速記憶先を効率良く利用することができる。   When the data is backed up to a low-speed storage destination whose access speed is lower than a specific speed (YES in S136), the MFP 10 determines that the data size of the data to be backed up is a specific size or more (YES in S137). Is compressed (S138) and backed up (S139), so the low-speed storage destination can be used efficiently. In particular, as described above, data with low frequency of use usually has a large data size. Therefore, a low-speed storage destination can be efficiently used by compressing and backing up data.

MFP10は、アクセスの速度が特定の速度未満である低速記憶先にデータをバックアップする場合に(S136でYES)、バックアップするデータのデータサイズが特定のサイズ以上であるとき(S137でYES)、データを圧縮して(S138)バックアップする(S139)ので、バックアップするデータのデータサイズが縮小されることによって、低速記憶先へのバックアップ時間が長くなることを抑えることができる。   When the data is backed up to a low-speed storage destination whose access speed is lower than a specific speed (YES in S136), the MFP 10 determines that the data size of the data to be backed up is a specific size or more (YES in S137). Is compressed (S138) and backed up (S139), so that the backup time to the low-speed storage destination can be prevented from being lengthened by reducing the data size of the data to be backed up.

MFP10は、アクセスの速度が特定の速度未満である低速記憶先にデータをバックアップする場合(S136でYES)であっても、バックアップするデータのデータサイズが特定のサイズ未満であるとき(S137でNO)、データの圧縮(S138)を行わない。データのデータサイズが小さい場合には、データの圧縮の効果は小さい。したがって、MFP10は、データの圧縮によってデータのデータサイズを縮小するメリットより、データの圧縮の時間やデータを復元する場合のデータの伸張の時間を費やすデメリットの方が大きい場合に、無駄なデータの圧縮を行うことを抑えることができる。   Even if the MFP 10 backs up data to a low-speed storage destination where the access speed is less than a specific speed (YES in S136), the MFP 10 still has a data size that is less than a specific size (NO in S137). ), Data compression (S138) is not performed. When the data size of data is small, the effect of data compression is small. Therefore, when the disadvantage of spending data compression time and data decompression time when restoring the data is greater than the advantage of reducing the data size of the data by compressing the data, the MFP 10 It is possible to suppress the compression.

MFP10は、本実施の形態において、対象の記憶先がサーバー52である場合に(S136でYES)、バックアップするデータのデータサイズが特定のサイズ以上であるとき(S137でYES)、データを圧縮している(S138)。しかしながら、MFP10は、サーバー52に限らず、アクセスの速度が特定の速度未満である低速記憶先にデータをバックアップする場合に(S136でYES)、バックアップするデータのデータサイズが特定のサイズ以上であるとき(S137でYES)、データを圧縮しても良い(S138)。例えば、MFP10は、対象の記憶先がサーバー52またはSDカード51である場合に、バックアップするデータのデータサイズが特定のサイズ以上であるとき、データを圧縮しても良い。   In this embodiment, when the target storage destination is the server 52 (YES in S136), the MFP 10 compresses the data when the data size of the data to be backed up is equal to or larger than a specific size (YES in S137). (S138). However, the MFP 10 is not limited to the server 52, and when backing up data to a low-speed storage destination whose access speed is less than a specific speed (YES in S136), the data size of the data to be backed up is a specific size or more. When (YES in S137), the data may be compressed (S138). For example, when the target storage destination is the server 52 or the SD card 51, the MFP 10 may compress the data when the data size of the data to be backed up is a specific size or more.

MFP10は、データを圧縮するための「対象の記憶先」が複数存在する場合、「対象の記憶先」毎に「特定のサイズ」が設定されても良い。   When there are a plurality of “target storage destinations” for compressing data, the MFP 10 may set “specific size” for each “target storage destination”.

MFP10は、データの利用頻度と、記憶先のアクセスの速度とに応じてバックアップ先を決定するので、データのバックアップの効率を向上することができる。   Since the MFP 10 determines the backup destination according to the data use frequency and the access speed of the storage destination, the efficiency of data backup can be improved.

MFP10は、バックアップ先の決定の指示を受けた場合のうち、認証によって特定された特定の利用者、例えば、機器管理者またはサービスパーソンによってバックアップ先の決定の指示を受けた場合のみにバックアップ先を決定するので、例えば一般利用者など、不正な利用者によってバックアップ先が変更される可能性を低減することができる。   The MFP 10 receives a backup destination determination instruction only when a backup destination determination instruction is received by a specific user identified by authentication, for example, a device administrator or a service person. Therefore, the possibility that the backup destination is changed by an unauthorized user such as a general user can be reduced.

MFP10は、特定の利用者のみによってバックアップ先決定プログラム21aが管理されている場合に、特定の利用者がバックアップ先の変更を希望しないときに、バックアップ先決定プログラム21aがアンインストールされることによって、バックアップ先の変更を不可能にするので、不正な利用者によってバックアップ先が変更される可能性を低減することができる。   When the backup destination determination program 21a is managed only by a specific user, the MFP 10 uninstalls the backup destination determination program 21a when the specific user does not want to change the backup destination. Since the backup destination cannot be changed, the possibility that the backup destination is changed by an unauthorized user can be reduced.

MFP10は、対象バックアップ対応アプリケーションのそれぞれに対して複数のバックアップ先を登録することも可能である。MFP10は、対象バックアップ対応アプリケーションのそれぞれに対して複数のバックアップ先を登録した場合、登録した複数のバックアップ先に対してミラーリングを行うことによって、データの保守性を向上することも可能である。   The MFP 10 can also register a plurality of backup destinations for each of the target backup compatible applications. When a plurality of backup destinations are registered for each of the target backup compatible applications, the MFP 10 can improve data maintainability by performing mirroring on the registered backup destinations.

MFP10は、内部のバックアップ先として、サブ記憶部30を備えている。しかしながら、MFP10は、内部のバックアップ先として、サブ記憶部30以外の記憶デバイスを備えても良い。例えば、MFP10は、内蔵のHDD(Hard Disk Drive)やSSD(Solid State Drive)を内部のバックアップ先として備えても良い。   The MFP 10 includes a sub storage unit 30 as an internal backup destination. However, the MFP 10 may include a storage device other than the sub storage unit 30 as an internal backup destination. For example, the MFP 10 may include a built-in HDD (Hard Disk Drive) or SSD (Solid State Drive) as an internal backup destination.

MFP10は、外部のバックアップ先として、MFP10にネットワークを介さずに直接接続するSDカード51を備えている。しかしながら、MFP10は、MFP10にネットワークを介さずに直接接続する外部のバックアップ先として、SDカード以外の記憶デバイスを備えても良い。例えば、MFP10は、MFP10のUSBコネクターに接続するUSBメモリーや、USBケーブルを介してMFP10に接続する外付けのHDD、SSDを、MFP10にネットワークを介さずに直接接続する外部のバックアップ先として備えても良い。   The MFP 10 includes an SD card 51 that is directly connected to the MFP 10 without going through a network as an external backup destination. However, the MFP 10 may include a storage device other than the SD card as an external backup destination that is directly connected to the MFP 10 without using a network. For example, the MFP 10 includes a USB memory connected to the USB connector of the MFP 10, an external HDD connected to the MFP 10 via a USB cable, and an SSD as an external backup destination that is directly connected to the MFP 10 without using a network. Also good.

MFP10は、外部のバックアップ先として、MFP10にネットワークを介して接続するサーバー52を備えている。しかしながら、MFP10は、MFP10にネットワークを介して接続する外部のバックアップ先として、サーバー以外の記憶デバイスを備えても良い。例えば、MFP10は、MFP10にネットワークを介して接続する外部のバックアップ先としてNAS(Network Attached Storage)を備えても良い。   The MFP 10 includes a server 52 connected to the MFP 10 via a network as an external backup destination. However, the MFP 10 may include a storage device other than the server as an external backup destination connected to the MFP 10 via a network. For example, the MFP 10 may include a NAS (Network Attached Storage) as an external backup destination connected to the MFP 10 via a network.

バックアップ先決定プログラム21aは、バックアッププログラム21のうちバックアップ先決定プログラム21a以外の部分とは独立して、インストールされたり、アンインストールされたりすることが可能である。しかしながら、バックアップ先決定プログラム21aは、バックアッププログラム21のうちバックアップ先決定プログラム21a以外の部分とは独立して、インストールされたり、アンインストールされたりすることが不可能でも良い。   The backup destination determination program 21a can be installed or uninstalled independently of the backup program 21 other than the backup destination determination program 21a. However, the backup destination determination program 21a may not be installed or uninstalled independently of the backup program 21 other than the backup destination determination program 21a.

本発明の電子機器は、本実施の形態においてMFPであるが、プリンター専用機、コピー専用機、FAX専用機など、MFP以外の画像形成装置でも良いし、PC(Personal Computer)など、画像形成装置以外の電子機器でも良い。   The electronic apparatus of the present invention is an MFP in the present embodiment, but may be an image forming apparatus other than an MFP such as a printer dedicated machine, a copy dedicated machine, or a FAX dedicated machine, or an image forming apparatus such as a PC (Personal Computer). Other electronic devices may be used.

10 MFP(電子機器)
21 バックアッププログラム
21a バックアップ先決定プログラム
22 アプリケーション
30 サブ記憶部(バックアップ先、高速記憶先)
44 バックアップ先決定手段
45 バックアップデータ管理手段
51 SDカード(バックアップ先、高速記憶先、低速記憶先)
52 サーバー(バックアップ先、低速記憶先)
10 MFP (electronic equipment)
21 Backup program 21a Backup destination determination program 22 Application 30 Sub storage unit (backup destination, high-speed storage destination)
44 Backup destination determination means 45 Backup data management means 51 SD card (backup destination, high-speed storage destination, low-speed storage destination)
52 servers (backup destination, low-speed storage destination)

Claims (6)

データを記憶させる場合に前記データのバックアップも実行するアプリケーションを実行可能な電子機器であって、
前記データがバックアップされるバックアップ先を複数の記憶先の中から決定するバックアップ先決定手段と、
前記バックアップ先決定手段によって決定された前記バックアップ先に、前記アプリケーションからの前記バックアップの要求に応じて前記データをバックアップするバックアップデータ管理手段とを備え、
前記複数の記憶先は、アクセスの速度が特定の速度以上である高速記憶先と、アクセスの速度が前記特定の速度未満である低速記憶先とを含み、
前記バックアップデータ管理手段は、前記バックアップ先決定手段によって決定された前記バックアップ先が前記低速記憶先である場合、前記アプリケーションからの前記バックアップの要求に応じてバックアップする前記データのデータサイズが特定のサイズ以上であるとき、前記データを圧縮して前記低速記憶先にバックアップすることを特徴とする電子機器。
An electronic device capable of executing an application that also performs backup of the data when storing data,
Backup destination determination means for determining a backup destination from which the data is backed up from a plurality of storage destinations;
Backup data management means for backing up the data in response to the backup request from the application to the backup destination determined by the backup destination determination means;
The plurality of storage destinations include a high-speed storage destination whose access speed is equal to or higher than a specific speed, and a low-speed storage destination whose access speed is lower than the specific speed,
The backup data management means, when the backup destination determined by the backup destination determination means is the low-speed storage destination, the data size of the data to be backed up in response to the backup request from the application is a specific size When the above is true, the electronic apparatus is characterized in that the data is compressed and backed up to the low-speed storage destination.
前記バックアップ先決定手段は、利用頻度が特定の利用頻度以上である前記データの前記バックアップ先として前記高速記憶先を決定し、利用頻度が前記特定の利用頻度未満である前記データの前記バックアップ先として前記低速記憶先を決定することを特徴とする請求項1に記載の電子機器。   The backup destination determining means determines the high-speed storage destination as the backup destination of the data whose usage frequency is equal to or higher than a specific usage frequency, and as the backup destination of the data whose usage frequency is less than the specific usage frequency The electronic device according to claim 1, wherein the low-speed storage destination is determined. 前記バックアップ先決定手段は、前記バックアップ先を決定する前に利用者の認証を実行し、前記バックアップ先の決定の指示を受けた場合のうち、特定の利用者によって前記バックアップ先の決定の指示を受けた場合のみ前記バックアップ先を決定することを特徴とする請求項1または請求項2に記載の電子機器。   The backup destination determination means executes user authentication before determining the backup destination, and receives an instruction to determine the backup destination by a specific user when receiving an instruction to determine the backup destination. The electronic apparatus according to claim 1, wherein the backup destination is determined only when it is received. 前記電子機器を前記バックアップ先決定手段として機能させるバックアップ先決定プログラムのインストールおよびアンインストールが可能であることを特徴とする請求項1から請求項3までの何れかに記載の電子機器。   4. The electronic device according to claim 1, wherein a backup destination determination program that allows the electronic device to function as the backup destination determination unit can be installed and uninstalled. データを記憶させる場合に前記データのバックアップも実行するアプリケーションを実行可能な電子機器によって実行されるバックアップ先決定プログラムであって、
前記データがバックアップされるバックアップ先を複数の記憶先の中から決定するバックアップ先決定手段として前記電子機器を機能させ、
前記電子機器は、前記バックアップ先決定手段によって決定された前記バックアップ先に、前記アプリケーションからの前記バックアップの要求に応じて前記データをバックアップするバックアップデータ管理手段を備え、
前記複数の記憶先は、アクセスの速度が特定の速度以上である高速記憶先と、アクセスの速度が前記特定の速度未満である低速記憶先とを含み、
前記バックアップデータ管理手段は、前記バックアップ先決定手段によって決定された前記バックアップ先が前記低速記憶先である場合、前記アプリケーションからの前記バックアップの要求に応じてバックアップする前記データのデータサイズが特定のサイズ以上であるとき、前記データを圧縮して前記低速記憶先にバックアップすることを特徴とするバックアップ先決定プログラム。
A backup destination determination program executed by an electronic device capable of executing an application that also executes backup of the data when storing data,
Causing the electronic device to function as a backup destination determination unit that determines a backup destination from which the data is backed up from a plurality of storage destinations;
The electronic device includes backup data management means for backing up the data in response to the backup request from the application to the backup destination determined by the backup destination determination means,
The plurality of storage destinations include a high-speed storage destination whose access speed is equal to or higher than a specific speed, and a low-speed storage destination whose access speed is lower than the specific speed,
The backup data management means, when the backup destination determined by the backup destination determination means is the low-speed storage destination, the data size of the data to be backed up in response to the backup request from the application is a specific size When it is above, the backup destination determination program which compresses the data and backs up to the low-speed storage destination.
データを記憶させる場合に前記データのバックアップも実行するアプリケーションを実行可能な電子機器によって実行されるバックアッププログラムであって、
前記データがバックアップされるバックアップ先を複数の記憶先の中から決定するバックアップ先決定手段、および、
前記バックアップ先決定手段によって決定された前記バックアップ先に、前記アプリケーションからの前記バックアップの要求に応じて前記データをバックアップするバックアップデータ管理手段として前記電子機器を機能させ、
前記複数の記憶先は、アクセスの速度が特定の速度以上である高速記憶先と、アクセスの速度が前記特定の速度未満である低速記憶先とを含み、
前記バックアップデータ管理手段は、前記バックアップ先決定手段によって決定された前記バックアップ先が前記低速記憶先である場合、前記アプリケーションからの前記バックアップの要求に応じてバックアップする前記データのデータサイズが特定のサイズ以上であるとき、前記データを圧縮して前記低速記憶先にバックアップすることを特徴とするバックアッププログラム。
A backup program executed by an electronic device capable of executing an application that also executes backup of the data when storing data,
Backup destination determining means for determining a backup destination from which the data is backed up from a plurality of storage destinations; and
Causing the electronic device to function as backup data management means for backing up the data in response to the backup request from the application to the backup destination determined by the backup destination determination means;
The plurality of storage destinations include a high-speed storage destination whose access speed is equal to or higher than a specific speed, and a low-speed storage destination whose access speed is lower than the specific speed,
The backup data management means, when the backup destination determined by the backup destination determination means is the low-speed storage destination, the data size of the data to be backed up in response to the backup request from the application is a specific size When it is above, the data is compressed and backed up to the low-speed storage destination.
JP2015202728A 2015-10-14 2015-10-14 Electronic apparatus, backup destination determination program, and backup program Pending JP2017076214A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015202728A JP2017076214A (en) 2015-10-14 2015-10-14 Electronic apparatus, backup destination determination program, and backup program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015202728A JP2017076214A (en) 2015-10-14 2015-10-14 Electronic apparatus, backup destination determination program, and backup program

Publications (1)

Publication Number Publication Date
JP2017076214A true JP2017076214A (en) 2017-04-20

Family

ID=58551324

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015202728A Pending JP2017076214A (en) 2015-10-14 2015-10-14 Electronic apparatus, backup destination determination program, and backup program

Country Status (1)

Country Link
JP (1) JP2017076214A (en)

Similar Documents

Publication Publication Date Title
US9864939B2 (en) Information processing apparatus, information processing system, method of sharing data, and recording medium storing data sharing control program
JP6179083B2 (en) Information processing apparatus, output system, and program
US20120096465A1 (en) Image forming apparatus, log management method, and storage medium
JP2010117905A (en) Information processing apparatus and program
JP6117165B2 (en) Image forming apparatus, image forming system, and job management program
USRE49886E1 (en) Image processing apparatus having report printing function, method of controlling image processing apparatus, and storage medium
US10126992B2 (en) Image processing apparatus, control method thereof, and storage medium
US10073792B2 (en) Device, system, and method for detecting, identifying, and communicating with a storage medium
US10671334B2 (en) Print system, print server, management server, and job list providing method
JP6264572B2 (en) Electronic equipment, backup destination decision program and backup program
JP2015085597A (en) Image formation device, print request deleting method and program
JP2014059697A (en) Output control device, program and output system
US10205852B2 (en) System, apparatus, and method for allowing a program to cache user information
JP2017219965A (en) Information processing device, method for controlling information processing device, and program
KR20170015171A (en) Information processing apparatus, method of controlling the same, and storage medium
US9319550B2 (en) Apparatus, use limiting method, and storage medium
JP6999534B2 (en) Information processing equipment, programs and information management methods
JP2017076214A (en) Electronic apparatus, backup destination determination program, and backup program
JP2013196050A (en) Information processing device, output control program, and output system
US9826123B2 (en) Information processing system, information processing method, and recording medium for facilitating association among information items that are related to the same data
JP2020052777A (en) Network device, method, and program
JP2016143125A (en) Electronic device, backup storage receiving program, and backup program
JP6188664B2 (en) Image forming system
JP2015050595A (en) Image forming system, image forming apparatus, and image forming program
JP2011257876A (en) Image forming apparatus, software update method and software update program