JP2010272017A - Display device, data conversion method, and data conversion program - Google Patents
Display device, data conversion method, and data conversion program Download PDFInfo
- Publication number
- JP2010272017A JP2010272017A JP2009124567A JP2009124567A JP2010272017A JP 2010272017 A JP2010272017 A JP 2010272017A JP 2009124567 A JP2009124567 A JP 2009124567A JP 2009124567 A JP2009124567 A JP 2009124567A JP 2010272017 A JP2010272017 A JP 2010272017A
- Authority
- JP
- Japan
- Prior art keywords
- data
- converted
- conversion
- unsupported
- storage device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、特定のデータ形式の電子ファイルを表示する表示装置、ならびに、その表示装置に用いられるデータ変換方法およびデータ変換プログラムに関する。 The present invention relates to a display device that displays an electronic file in a specific data format, and a data conversion method and a data conversion program used for the display device.
従来、特定のデータ形式の電子ファイルを表示する表示装置が知られている。このような表示装置に対して、特定のデータ形式とは異なる他のデータ形式で表された電子ファイルも表示させたいというユーザの要望がある。そこで、パーソナルコンピュータ等の機器で、電子ファイルを特定のデータ形式に変換し、変換済みの電子ファイルを表示装置に処理させることが行われている(例えば、特許文献1及び2参照)。
Conventionally, a display device that displays an electronic file having a specific data format is known. There is a user's desire to display such an electronic file in another data format different from a specific data format. Therefore, a device such as a personal computer converts an electronic file into a specific data format and causes the display device to process the converted electronic file (see, for example,
しかしながら、このような従来の方法によると、表示装置にて他のデータ形式の電子ファイルを表示させたい場合には、その電子ファイルを特定のデータ形式に変換可能な機器を使用しなければならず、面倒であった。また、電子ファイルを特定のデータ形式に変換した場合に、メモリカードや内蔵メモリなどの記憶装置に変換済みの電子ファイルを書込み可能な空き容量がなければ、その電子ファイルを削除することとなり変換処理が無駄となるおそれがあった。 However, according to such a conventional method, in order to display an electronic file in another data format on the display device, a device capable of converting the electronic file into a specific data format must be used. It was troublesome. Also, when an electronic file is converted to a specific data format, if there is no free space in the storage device such as a memory card or built-in memory to write the converted electronic file, the electronic file is deleted and conversion processing is performed. Could be wasted.
本発明は上記課題を解決するためになされたものであり、記憶装置の空き容量に応じて、電子ファイルを適切に特定のデータ形式に変換することができる表示装置、データ変換方法およびデータ変換プログラムを提供することを目的とする。 The present invention has been made to solve the above problems, and a display device, a data conversion method, and a data conversion program capable of appropriately converting an electronic file into a specific data format in accordance with the free space of the storage device The purpose is to provide.
上記課題を解決するために、請求項1に係る発明の表示装置は、特定のデータ形式の電子ファイルを表示する表示装置であって、前記特定のデータ形式とは異なるデータ形式の未対応データを記憶する第一記憶装置から、前記未対応データを取得する未対応データ取得手段と、前記未対応データ取得手段によって取得された前記未対応データを前記特定のデータ形式の電子ファイルに変換したときのデータサイズである変換後サイズを算出する変換後サイズ算出手段と、前記変換後サイズ算出手段によって算出された前記変換後サイズが、第二記憶装置の空き容量以下であるか否かを判断する第一容量判断手段と、前記第一容量判断手段によって前記変換後サイズが前記第二記憶装置の空き容量以下であると判断された場合、前記未対応データ取得手段によって取得された前記未対応データを前記特定のデータ形式の電子ファイルに変換する変換手段と、前記変換手段によって変換された前記特定のデータ形式の電子ファイルを、前記第二記憶装置に記憶させる変換データ記憶制御手段とを備えている。 In order to solve the above-described problem, a display device according to a first aspect of the present invention is a display device that displays an electronic file having a specific data format, wherein unsupported data having a data format different from the specific data format is displayed. An unsupported data acquisition means for acquiring the unsupported data from the first storage device to store, and the unsupported data acquired by the unsupported data acquisition means is converted into an electronic file of the specific data format A post-conversion size calculation unit that calculates a post-conversion size that is a data size, and a first unit that determines whether the post-conversion size calculated by the post-conversion size calculation unit is equal to or less than a free capacity of the second storage device. If it is determined by the one capacity determination means and the first capacity determination means that the converted size is less than or equal to the free capacity of the second storage device, the unsupported data Conversion means for converting the unsupported data acquired by the acquisition means into an electronic file of the specific data format, and storing the electronic file of the specific data format converted by the conversion means in the second storage device Conversion data storage control means.
請求項2に係る発明の表示装置は、請求項1に記載の発明の構成に加えて、前記第一記憶装置および前記第二記憶装置は、一の共通記憶装置であって、前記未対応データ取得手段は、前記共通記憶装置に記憶されている前記未対応データを所定数取得し、前記変換後サイズ算出手段は、前記未対応データ取得手段によって前記所定数の未対応データが取得されるごとに、その前記所定数の未対応データを前記特定のデータ形式の電子ファイルに変換したときの前記変換後サイズを算出し、前記表示装置は、前記未対応データ取得手段によって取得された前記所定数の未対応データについて、前記変換手段による変換が完了したか否かを判断する完了判断手段と、前記完了判断手段によって前記変換手段による変換が完了したと判断された場合に、その変換が完了した前記所定数の未対応データを前記共通記憶装置から削除する第一削除手段とを備え、さらに、前記未対応データ取得手段は、前記第一削除手段によって前記所定数の未対応データが削除された場合に、前記共通記憶装置からの次の前記未対応データの取得を行うことを特徴とする。 According to a second aspect of the present invention, in addition to the configuration of the first aspect of the invention, the first storage device and the second storage device are a common storage device, and the unsupported data The obtaining unit obtains a predetermined number of the unsupported data stored in the common storage device, and the converted size calculating unit obtains the predetermined number of unsupported data by the unsupported data obtaining unit. In addition, the converted size when the predetermined number of unsupported data is converted into the electronic file of the specific data format is calculated, and the display device acquires the predetermined number acquired by the unsupported data acquisition unit. When it is determined that the conversion by the conversion means is completed, and the completion determination means determines whether the conversion by the conversion means has been completed. A first deletion unit that deletes the predetermined number of unsupported data for which conversion has been completed from the common storage device, and the uncorresponding data acquisition unit is configured to delete the predetermined number of unsupported data by the first deletion unit. When the corresponding data is deleted, the next unsupported data is acquired from the common storage device.
請求項3に係る発明の表示装置は、請求項2に記載の発明の構成に加えて、前記共通記憶装置は、複数の機器に着脱自在な外部記憶装置であり、前記表示装置は、さらに前記外部記憶装置を着脱可能な装着手段を備えている。 According to a third aspect of the present invention, in addition to the configuration of the second aspect of the invention, the common storage device is an external storage device detachably attached to a plurality of devices, and the display device further includes the display device. A mounting means for detaching the external storage device is provided.
請求項4に係る発明の表示装置は、請求項2または3に記載の発明の構成に加えて、前記未対応データ取得手段は、前記第一記憶装置に記憶されている前記未対応データのうち、データサイズが最も大きい前記未対応データを優先して取得することを特徴とする。 According to a fourth aspect of the present invention, in addition to the configuration of the second or third aspect of the invention, the uncorresponding data acquisition means includes the uncorresponding data stored in the first storage device. The unsupported data having the largest data size is preferentially acquired.
請求項5に係る発明の表示装置は、請求項4に記載の発明の構成に加えて、前記未対応データ取得手段は、前記第一容量判断手段によって前記変換後サイズが前記第二記憶装置の空き容量よりも大きいと判断された場合、現在取得されている前記未対応データに次いでデータサイズが大きい前記未対応データを優先して取得することを特徴とする。 According to a fifth aspect of the present invention, in addition to the configuration of the fourth aspect of the invention, the unsupported data acquisition unit is configured such that the size after conversion is the second storage device by the first capacity determination unit. When it is determined that the capacity is larger than the free capacity, the unsupported data having a data size that is next to the currently unsupported data is preferentially acquired.
請求項6に係る発明の表示装置は、請求項1乃至5のいずれかに記載の発明の構成に加えて、前記未対応データは、所定単位で構成された複数の部分データを含み、前記変換手段は、前記未対応データに含まれる前記複数の部分データを一つずつ前記特定のデータ形式に変換して、その変換によって作成された変換済部分データを前記第二記憶装置に記憶させることによって前記特定のデータ形式の電子ファイルを作成するものであって、前記変換手段によって前記変換済部分データが作成されるごとに、前記第二記憶装置にその前記変換済部分データを記憶可能な空き容量があるか否かを判断する第二容量判断手段と、前記第二容量判断手段によって前記変換済部分データを記憶可能な空き容量がないと判断された場合、前記第二記憶装置に記憶されている前記変換済部分データを削除する第二削除手段とを備えている。 According to a sixth aspect of the present invention, in addition to the structure of the first aspect of the present invention, the unsupported data includes a plurality of partial data composed of predetermined units, and the conversion The means converts the plurality of partial data included in the unsupported data one by one into the specific data format and stores the converted partial data created by the conversion in the second storage device An electronic file of the specific data format is created, and each time the converted partial data is created by the conversion means, a free capacity capable of storing the converted partial data in the second storage device A second capacity judging means for judging whether or not there is a free capacity capable of storing the converted partial data by the second capacity judging means; And a second deleting means for deleting the converted partial data stored.
請求項7に係る発明の表示装置は、請求項1乃至6のいずれかに記載の発明の構成に加えて、前記未対応データは、ページ単位で構成された複数のデータをそれぞれ示すファイルデータを含み、前記変換後サイズ算出手段は、前記未対応データに含まれる前記ファイルデータの数量に対応するページ数に基づいて、前記未対応データを前記特定のデータ形式の電子ファイルに変換したときの前記変換後サイズを算出することを特徴とする。 According to a seventh aspect of the present invention, in addition to the configuration of the first aspect of the present invention, the unsupported data includes file data indicating a plurality of data configured in units of pages. And the converted size calculating means converts the unsupported data into the electronic file of the specific data format based on the number of pages corresponding to the quantity of the file data included in the unsupported data. The size after conversion is calculated.
請求項8に係る発明の表示装置は、請求項2乃至5のいずれかに記載の発明の構成に加えて、前記完了判断手段によって前記変換手段による変換が完了したと判断された場合、前記第二記憶装置に記憶された前記電子ファイルを選択可能に表示する変換済ファイル表示制御手段を備えている。
In addition to the configuration of the invention according to any one of
請求項9に係る発明のデータ変換方法は、特定のデータ形式の電子ファイルを表示する表示装置において、前記特定のデータ形式とは異なるデータ形式の未対応データを、前記特定のデータ形式の電子ファイルに変換するデータ変換方法であって、前記未対応データを記憶する第一記憶装置から、前記未対応データを取得する未対応データ取得ステップと、前記未対応データ取得ステップによって取得された前記未対応データを前記特定のデータ形式の電子ファイルに変換したときのデータサイズである変換後サイズを算出する変換後サイズ算出ステップと、前記変換後サイズ算出ステップによって算出された前記変換後サイズが、第二記憶装置の空き容量以下であるか否かを判断する第一容量判断ステップと、前記第一容量判断ステップによって前記変換後サイズが前記第二記憶装置の空き容量以下であると判断された場合、前記未対応データ取得ステップによって取得された前記未対応データを前記特定のデータ形式の電子ファイルに変換する変換ステップと、前記変換ステップによって変換された前記特定のデータ形式の電子ファイルを、前記第二記憶装置に記憶させる変換データ記憶制御ステップとを備えている。 According to a ninth aspect of the present invention, in the display device for displaying an electronic file having a specific data format, unsupported data having a data format different from the specific data format is converted into the electronic file having the specific data format. A non-corresponding data acquisition step of acquiring the uncorresponding data from the first storage device storing the uncorresponding data, and the uncorresponding data acquired by the uncorresponding data acquisition step A post-conversion size calculation step for calculating a post-conversion size that is a data size when the data is converted into the electronic file of the specific data format, and the post-conversion size calculated by the post-conversion size calculation step is a second A first capacity determining step for determining whether or not the free capacity of the storage device is less than or equal to the first capacity determining step; Thus, when it is determined that the converted size is equal to or less than the free capacity of the second storage device, the unsupported data acquired by the unsupported data acquisition step is converted into an electronic file of the specific data format. A conversion step; and a conversion data storage control step of storing the electronic file of the specific data format converted by the conversion step in the second storage device.
請求項10に係る発明のデータ変換プログラムは、特定のデータ形式の電子ファイルを表示する表示装置に用いられ、前記特定のデータ形式とは異なるデータ形式の未対応データを、前記特定のデータ形式の電子ファイルに変換するデータ変換プログラムであって、コンピュータに、前記未対応データを記憶する第一記憶装置から、前記未対応データを取得する未対応データ取得ステップと、前記未対応データ取得ステップによって取得された前記未対応データを前記特定のデータ形式の電子ファイルに変換したときのデータサイズである変換後サイズを算出する変換後サイズ算出ステップと、前記変換後サイズ算出ステップによって算出された前記変換後サイズが、第二記憶装置の空き容量以下であるか否かを判断する第一容量判断ステップと、前記第一容量判断ステップによって前記変換後サイズが前記第二記憶装置の空き容量以下であると判断された場合、前記未対応データ取得ステップによって取得された前記未対応データを前記特定のデータ形式の電子ファイルに変換する変換ステップと、前記変換ステップによって変換された前記特定のデータ形式の電子ファイルを、前記第二記憶装置に記憶させる変換データ記憶制御ステップとを実行させることを特徴とする。 A data conversion program according to a tenth aspect of the present invention is used in a display device that displays an electronic file of a specific data format, and converts unsupported data having a data format different from the specific data format to the specific data format. A data conversion program for converting into an electronic file, which is obtained by an unsupported data acquisition step for acquiring the unsupported data from the first storage device storing the unsupported data in the computer, and the unsupported data acquisition step A post-conversion size calculation step that calculates a post-conversion size, which is a data size when the converted unsupported data is converted into an electronic file of the specific data format, and the post-conversion size calculated by the post-conversion size calculation step A first capacity determination step for determining whether the size is less than or equal to the free capacity of the second storage device. And when the first capacity determining step determines that the converted size is less than or equal to the free capacity of the second storage device, the unsupported data acquired by the unsupported data acquiring step is used as the specific data. A conversion step of converting into an electronic file of a format; and a conversion data storage control step of storing the electronic file of the specific data format converted by the conversion step in the second storage device. .
請求項1に係る発明の表示装置では、第一記憶装置から取得された未対応データを特定のデータ形式の電子ファイルに変換したときのデータサイズである変換後サイズが算出される。その変換後サイズが第二記憶装置の空き容量以下である場合、未対応データが特定のデータ形式の電子ファイルに変換されて、その電子ファイルが第二記憶装置に記憶される。これによれば、未対応データを特定のデータ形式の電子ファイルに変換したにも拘らず、その電子ファイルを第二記憶装置に記憶させることができなくなる不具合の発生を抑制することができる。 In the display device according to the first aspect, a post-conversion size that is a data size when the unsupported data acquired from the first storage device is converted into an electronic file of a specific data format is calculated. If the converted size is less than or equal to the free capacity of the second storage device, the unsupported data is converted into an electronic file of a specific data format, and the electronic file is stored in the second storage device. According to this, although the unsupported data is converted into an electronic file of a specific data format, it is possible to suppress the occurrence of a problem that the electronic file cannot be stored in the second storage device.
請求項2に係る発明の表示装置では、第一記憶装置および第二記憶装置は一の共通記憶装置であって、共通記憶装置に記憶されている未対応データのうち、未取得の未対応データが所定数取得されるごとに、その未対応データの変換後サイズが算出される。取得された未対応データが、特定のデータ形式に変換される。その変換が完了すると、変換が完了した未対応データは共通記憶装置から削除され、共通記憶装置からの次の未対応データの取得が行われる。これによれば、請求項1に係る発明の効果に加えて、共通記憶装置に記憶されている未対応データが所定数ずつ取得されるごとに、その未対応データを変換した電子ファイルを第二記憶装置に記憶可能か否かが判断されるので、第二記憶装置の空き容量を最大限に活用してより多数の未対応データを変換することができる。また、変換済みの未対応データを共通記憶装置から削除して次の未対応データの変換を行うため、共通記憶装置において特定のデータ形式の電子ファイルが記憶される空き容量を確保することができる。
In the display device of the invention according to
請求項3に係る発明の表示装置では、共通記憶装置は複数の機器に着脱自在な外部記憶装置であり、表示装置はその外部記憶装置を着脱可能である。これによれば、請求項2に係る発明の効果に加えて、外部記憶装置に変換前の未対応データおよび変換後の電子ファイルが記憶されるので、表示装置自体にこれらを記憶するための記憶装置を備える必要がなく、表示装置の構成を簡易にして薄型・軽量化を実現することができる。
In the display device according to the third aspect, the common storage device is an external storage device that is detachably attached to a plurality of devices, and the display device is detachable from the external storage device. According to this, in addition to the effect of the invention according to
請求項4に係る発明の表示装置では、第一記憶装置に記憶されている未対応データのうちでデータサイズが最も大きいものから取得される。これによれば、請求項2または3に係る発明の効果に加えて、変換後サイズが最も大きくなる可能性が高い未対応データが優先的に変換されるので、その変換後の電子ファイルを第二記憶装置に記憶させることができなくなる不具合の発生を抑制することができる。
In the display device according to the fourth aspect of the present invention, the data is obtained from the largest data size among the unsupported data stored in the first storage device. According to this, in addition to the effect of the invention according to
請求項5に係る発明の表示装置では、変換後サイズが第二記憶装置の空き容量よりも大きいと判断された場合、現在取得されている未対応データに次いでデータサイズが大きい未対応データが取得される。これによれば、請求項4に係る発明の効果に加えて、現在取得されている未対応データの変換後サイズが第二記憶装置の空き容量よりも大きい場合でも、次に取得される未対応データの変換後サイズが第二記憶装置の空き容量よりも小さくなる可能性を高めることができる。 In the display device according to the fifth aspect, when it is determined that the converted size is larger than the free capacity of the second storage device, unsupported data having the next largest data size is acquired after the currently unsupported data Is done. According to this, in addition to the effect of the invention according to claim 4, even if the converted size of the currently acquired unsupported data is larger than the free capacity of the second storage device, the unsupported acquired next The possibility that the post-conversion size of data becomes smaller than the free capacity of the second storage device can be increased.
請求項6に係る発明の表示装置では、未対応データは所定単位で構成された複数の部分データを含む。未対応データに含まれる複数の部分データが一つずつ特定のデータ形式に変換されて、その変換済部分データによって特定のデータ形式の電子ファイルが作成される。そして、変換済部分データが作成されるごとに、第二記憶装置にその変換済部分データを記憶可能な空き容量があるか否かを判断され、空き容量がない場合には第二記憶装置から変換済部分データが削除される。これによれば、請求項1乃至5のいずれかに係る発明の効果に加えて、第二記憶装置に不完全な変換済ファイルが記憶されるのを防止できるとともに、第二記憶装置の空き容量を確保することができる。
In the display device according to the sixth aspect, the unsupported data includes a plurality of partial data configured in a predetermined unit. A plurality of partial data included in the unsupported data are converted one by one into a specific data format, and an electronic file having a specific data format is created from the converted partial data. Each time the converted partial data is created, it is determined whether or not there is a free capacity in the second storage device that can store the converted partial data. If there is no free capacity, the second storage device The converted partial data is deleted. According to this, in addition to the effect of the invention according to any one of
請求項7に係る発明の表示装置では、未対応データは、ページ単位で構成された複数のデータをそれぞれ示すファイルデータを含む。未対応データに含まれるファイルデータの数量に対応するページ数に基づいて変換後サイズが算出される。これによれば、請求項1乃至6のいずれかに係る発明の効果に加えて、未対応データの変換後サイズを簡易な処理で算出することができる。
In the display device according to the seventh aspect of the present invention, the unsupported data includes file data each indicating a plurality of data configured in units of pages. The post-conversion size is calculated based on the number of pages corresponding to the quantity of file data included in the unsupported data. According to this, in addition to the effect of the invention according to any one of
請求項8に係る発明の表示装置では、特定のデータ形式の電子ファイルへの変換が完了した場合、第二記憶装置に記憶された電子ファイルを選択可能に表示される。これによれば、請求項2乃至5のいずれかに係る発明の効果に加えて、ユーザは変換が完了した電子ファイルを把握できるとともに、任意の電子ファイルを選択して表示や編集等を行うことができる。
In the display device according to the eighth aspect, when the conversion to the electronic file of the specific data format is completed, the electronic file stored in the second storage device is displayed in a selectable manner. According to this, in addition to the effect of the invention according to any one of
請求項9に係る発明のデータ変換方法では、第一記憶装置から取得された未対応データを特定のデータ形式の電子ファイルに変換したときのデータサイズである変換後サイズが算出される。その変換後サイズが第二記憶装置の空き容量以下である場合、未対応データが特定のデータ形式の電子ファイルに変換されて、その電子ファイルが第二記憶装置に記憶される。これによれば、未対応データを特定のデータ形式の電子ファイルに変換したにも拘らず、その電子ファイルを第二記憶装置に記憶させることができなくなる不具合の発生を抑制することができる。 In the data conversion method according to the ninth aspect of the present invention, a post-conversion size that is a data size when the unsupported data acquired from the first storage device is converted into an electronic file having a specific data format is calculated. If the converted size is less than or equal to the free capacity of the second storage device, the unsupported data is converted into an electronic file of a specific data format, and the electronic file is stored in the second storage device. According to this, although the unsupported data is converted into an electronic file of a specific data format, it is possible to suppress the occurrence of a problem that the electronic file cannot be stored in the second storage device.
請求項10に係る発明のデータ変換プログラムでは、第一記憶装置から取得された未対応データを特定のデータ形式の電子ファイルに変換したときのデータサイズである変換後サイズが算出される。その変換後サイズが第二記憶装置の空き容量以下である場合、未対応データが特定のデータ形式の電子ファイルに変換されて、その電子ファイルが第二記憶装置に記憶される。これによれば、未対応データを特定のデータ形式の電子ファイルに変換したにも拘らず、その電子ファイルを第二記憶装置に記憶させることができなくなる不具合の発生を抑制することができる。 In the data conversion program of the invention according to claim 10, a post-conversion size that is a data size when the unsupported data acquired from the first storage device is converted into an electronic file of a specific data format is calculated. If the converted size is less than or equal to the free capacity of the second storage device, the unsupported data is converted into an electronic file of a specific data format, and the electronic file is stored in the second storage device. According to this, although the unsupported data is converted into an electronic file of a specific data format, it is possible to suppress the occurrence of a problem that the electronic file cannot be stored in the second storage device.
以下、本発明を具体化した実施の形態について、図面を参照して説明する。なお、参照する図面は、本発明が採用しうる技術的特徴を説明するために用いられるものであり、記載されている装置の構成、各種処理のフローチャートなどは、それのみに限定する趣旨ではなく、単なる説明例である。 DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments embodying the present invention will be described below with reference to the drawings. The drawings to be referred to are used for explaining the technical features that can be adopted by the present invention, and the configuration of the apparatus and the flowcharts of various processes described are not intended to be limited thereto. This is just an illustrative example.
本発明の一実施形態に係る携帯端末1について、図1〜図8を参照して説明する。本実施形態の携帯端末1は、USB(Universal Serial Bus)ケーブル9を介して、印刷装置、通信装置、電話機、ファクシミリ、スキャナおよびコピー機としての機能を有する複合機2に接続される。そして、複合機2から出力される電子ファイルに基づいて、携帯端末1にて画像表示が行われる場合を例示する。なお、本実施形態の電子ファイルは、複数ページで構成されるドキュメントを示すファイルデータであり、そのドキュメントを構成するページ数分の画像データ(つまり、ページ単位の画像を示す画像データ)によって構成されるものとする。
A
まず、図1を参照して、携帯端末1の物理的構成について説明する。携帯端末1は、電気泳動方式の表示パネル3を備えた軽量・薄型の携帯表示端末である。表示パネル3としては、電気泳動方式の表示パネルの他、軽量・薄型の反射型液晶などを適用可能である。電気泳動方式の表示パネルの基本原理は、プラスに帯電した白の電気泳動粒子とマイナスに帯電した黒の電気泳動粒子を、電気泳動によって表示液中を移動させて画像を白黒で形成する。
First, the physical configuration of the
携帯端末1は、所定厚を有する平面視長方形状の板状に形成され、その上面に平面視長方形状の表示パネル3が形成されている。表示パネル3には、テキストや図表等から構成される種々のコンテンツが表示される。これらのコンテンツは、表示パネル3の表示面からユーザが視認可能となる。また図示しないが、携帯端末1の側面には、メモリカード30(図2参照)を挿入するためのカードスロットや、USBケーブル9が有するUSBコネクタが着脱されるUSBポートなどが設けられている。
The
表示パネル3の右側には、携帯端末1を操作するための操作部6が設けられている。操作部6は、電源キー61、メニューキー62、ドキュメント閉キー63、拡大キー64、ページ戻しキー65、ページ送りキー66、キャラクタキー67を有している(図4および図8参照)。電源キー61は、携帯端末1の電源をオン・オフするためのキーである。メニューキー62は、携帯端末1の電子ファイル選択や機能設定などを行うためのメニュー画面を表示させるためのキーである。ドキュメント閉キー63は、表示中の電子ファイルを閉じるためのキーである。拡大キー64は、表示中の電子ファイルを拡大するためのキーである。ページ戻しキー65およびページ送りキー66は、それぞれ表示中の電子ファイルをページ戻しおよびページ送りするためのキーである。キャラクタキー67は、各種情報の選択や入力を行うためのキーである。なお、電源キー61の上側には、携帯端末1の作動状態をLEDの発光パターン(発光色、点灯、点滅など)で示すLED表示部7(図4および図8参照)が設けられている。
An operation unit 6 for operating the
次に、図2を参照して、携帯端末1の電気的構成について説明する。携帯端末1の制御基板10は、CPU11、ROM12、RAM13、EEPROM14、表示コントローラ15、キーコントローラ16、メモリカードI/F17、USBインタフェース(I/F)18、電源コントローラ19を有しており、これらの構成がバス8を介して接続されている。CPU11は、携帯端末1の制御を司る。ROM12は、携帯端末1を動作させる制御プログラムや、携帯端末1の動作に関わる設定情報を記憶する。RAM13は、各種データを一時的に記憶するメモリである。EEPROM14は、各種データを記憶する不揮発性メモリである。
Next, the electrical configuration of the
表示コントローラ15は、表示パネル3での画像表示を制御する。キーコントローラ16は、操作部6でのキー操作を受け付ける。メモリカードI/F17は、カードスロットに挿入されたメモリカード30が接続されるとともに、そのメモリカード30に対するデータの読出・書込を行う。USBI/F18は、先述のUSBポートを有するとともに、USBケーブル9を介して外部機器(ここでは、複合機2)との間でデータ送受を行う。電源コントローラ19は、携帯端末1に内蔵されて電源を供給するバッテリ80の充放電を制御したり、バッテリ80の電池残量や電圧低下を検知したり、携帯端末1に供給する電圧を制御したりする。
The
本実施形態の携帯端末1では、携帯端末1自体に電子ファイルを保存することなく、メモリカード30に記憶されている電子ファイル(詳細には、電子ファイルに含まれるページ単位の画像データ)に基づいて、表示パネル3に画像表示が行われる。そして、メモリカード30には、以下に例示するような態様で複合機2から出力された電子ファイルが記憶されればよい。
In the
例えば、複合機2のカードスロット(図示外)にメモリカード30を挿入させておき、複合機2で紙媒体の画像読取等によって電子ファイルが取得された場合に、その電子ファイルをメモリカード30に書き込ませる。そして、電子ファイルが記憶されたメモリカード30を、複合機2から取り外して携帯端末1のカードスロットに挿入すればよい。これにより携帯端末1では、メモリカード30に書き込まれた電子ファイルを読み出して画像表示を行うことができる。
For example, when the
また、複合機2で紙媒体の画像読取等によって電子ファイルが取得された場合に、その電子ファイルをUSBケーブル9経由で複合機2から携帯端末1に転送させ、携帯端末1に挿入されているメモリカード30に書き込ませてもよい。このような電子ファイルの転送・書込みは、複合機2が備える公知のスキャントゥメモリとよばれる機能(例えば、特開2008−187495号公報を参照)などによって実現されればよい。この場合も、携帯端末1では、メモリカード30に書き込まれた電子ファイルを読み出して画像表示を行うことができる。
Further, when an electronic file is acquired by image reading of a paper medium or the like with the
なお、メモリカード30は、携帯端末1での画像表示に用いられる電子ファイルのみならず、各種データを携行可能な汎用的な記憶媒体である。そのため、複合機2からメモリカード30に電子ファイルが出力される場合、その電子ファイルはメモリカード30の特定フォルダ内に記憶されるものとする。これにより、メモリカード30に記憶されているデータのうちで、携帯端末1での画像表示に用いられる電子ファイルを、他のデータと明確に区別することが可能となる。
The
ただし、複合機2で取得される電子ファイルは、通常は多くの電子機器で閲覧表示できるような汎用的なデータ形式(例えば、PDFやJPEGなど)で作成される。一方、本実施形態の携帯端末1では、電気泳動方式での表示制御等が行われる携帯端末1に好適なデータ形式(以下、特定のデータ形式)の電子ファイルに基づいて画像表示が行われる。そのため、携帯端末1では、メモリカード30に記憶されている電子ファイルが特定のデータ形式と異なる他のデータ形式の未対応データである場合は、その電子ファイルが画像表示する前に特定のデータ形式に変換されるが、詳細は後述する。
However, the electronic file acquired by the
なお、本実施形態では、メモリカード30に複数の電子ファイルが記憶されている場合、それらの電子ファイルが一つずつ選択されて特定のデータ形式に順次変換される。そのため、EEPROM14には、複数の電子ファイルのうちで変換対象を選択する優先順序を示す情報(以下、変換対象ファイル設定)が記憶されている。本実施形態では、変換対象ファイル設定として「メモリ優先」、「バッテリ優先」、「日時優先」、「進捗優先」が予め用意されているが、これらの詳細は別途後述する。そして、ユーザは任意のタイミングでメニューキー62を押圧してメニュー画面を表示させて、このメニュー画面から変換対象ファイル設定として任意のものを指定可能である。なお、ユーザによって選択された変換対象ファイル設定はEEPROM14に記憶される。以下では、EEPROM14に変換対象ファイル設定「メモリ優先」が設定されているものとして説明する。
In the present embodiment, when a plurality of electronic files are stored in the
以下では、図3〜図8を参照して、携帯端末1にて実行される各種処理について説明する。まず、図3を参照して、携帯端末1にて実行されるメイン処理について説明する。なお、図3に示すメイン処理は、電源キー61がオンされると、ROM12に記憶されている制御プログラムに基づいて、CPU11によって実行される。
Below, with reference to FIGS. 3-8, the various processes performed with the
図3に示すように、メイン処理では、まず携帯端末1からUSBケーブル9が抜かれたか否かが判断される(S1)。S1では、USBI/F18にUSBケーブル9が接続されている場合に、そのUSBケーブル9が接続されていない状態に変化したことが検出されると、携帯端末1からUSBケーブル9が抜かれたと判断される(S1:YES)。一方、USBI/F18にUSBケーブル9が接続されていない場合、または、USBケーブル9が接続されている状態に変化がない場合は、携帯端末1からUSBケーブル9が抜かれなかったと判断される(S1:NO)。
As shown in FIG. 3, in the main process, first, it is determined whether or not the
携帯端末1からUSBケーブル9が抜かれなかった場合(S1:NO)、携帯端末1にメモリカード30が新たに挿入されたか否かが判断される(S3)。S3では、メモリカードI/F17にメモリカード30が接続されていない場合に、メモリカード30が接続された状態に変化したことが検出されると、携帯端末1にメモリカード30が挿入されたと判断される(S3:YES)。一方、メモリカードI/F17にメモリカード30が接続されている場合、または、メモリカード30が接続されていない状態に変化がない場合は、携帯端末1にメモリカード30が挿入されなかったと判断される(S3:NO)。
When the
携帯端末1からUSBケーブル9が抜かれた場合は(S1:YES)、USBケーブル9を介した電子ファイルの転送・書込みが行われた可能性がある。また、携帯端末1にメモリカード30が挿入された場合は(S3:YES)、そのメモリカードにあらかじめ電子ファイルが書込まれている可能性がある。先述したように、携帯端末1での画像表示に用いられる電子ファイルは、メモリカード30の特定フォルダ内に格納される。そこで、メモリカードI/F17に接続されているメモリカード30に特定フォルダがあるか否かが判断される(S5)。メモリカード30に特定フォルダがある場合は(S5:YES)、特定フォルダ内に電子ファイルが格納されているか否かが判断される(S7)。
When the
そして、特定フォルダ内に電子ファイルが格納されている場合は(S7:YES)、図4に例示するような変換中画面31が表示パネル3に表示される(S9)。図4に示すように、変換中画面31では、電子ファイルのデータ形式が変換中(以下、データ変換中)である旨が明示される。また、LED表示部7がデータ変換中に対応する特定パターンに発光制御され、操作部6でのキー操作が無効化される。
If an electronic file is stored in the specific folder (S7: YES), the in-
本実施形態では、所定の実行タイミング(ここでは、USBケーブル9の抜脱あり、または、メモリカード30の挿入あり)が検出されると、ユーザによる入力指示を要することなく、後述のように電子ファイルのデータ変換が内部的に実行される。そのため、データ変換の実行中にユーザが各種操作を行うと、電子ファイルの破損や携帯端末1の不具合等を生じるおそれがある。その点、データ変換の実行に際して変換中画面31を表示したり、LED表示部7を特定パターンで発光させたりすることで、データ変換中である旨をユーザに認識させることができる。また、操作部6でのキー操作を無効化することで、データ変換中におけるユーザの誤操作を防止できる。
In this embodiment, when a predetermined execution timing (here, the
なお、携帯端末1にメモリカード30が挿入されなかった場合は(S3:NO)、S1に戻って、USBケーブル9の抜脱またはメモリカード30の挿入が待ち受けられる(S1〜S3)。また、メモリカード30に特定フォルダがない場合や(S5:NO)、特定フォルダに電子ファイルが格納されていない場合も(S7:NO)、同様にS1に戻る。
If the
S9にて変換中画面が表示されたのち、特定フォルダ内に変換可能な電子ファイル(以下、変換可能ファイル)があるか否かが判断される(S11)。S11では、特定フォルダ内に記憶されている電子ファイルのうちで、特定のデータ形式に変換可能な汎用的なデータ形式(ここでは、PDFまたはJPEG)の電子ファイルがあれば、変換可能ファイルありと判断される(S11:YES)。特定フォルダ内に変換可能ファイルがある場合(S11:YES)、その変換可能ファイルを特定のデータ形式に変換するデータ変換処理が実行される(S13)。 After the in-conversion screen is displayed in S9, it is determined whether there is a convertible electronic file (hereinafter, convertible file) in the specific folder (S11). In S11, if there is a general-purpose data format (in this case, PDF or JPEG) that can be converted into a specific data format among the electronic files stored in the specific folder, there is a convertible file. Judgment is made (S11: YES). If there is a convertible file in the specific folder (S11: YES), a data conversion process for converting the convertible file into a specific data format is executed (S13).
図5に示すように、データ変換処理(S13)では、まず特定フォルダ内に記憶されている変換可能ファイルのうちで、データ変換の対象となるファイル(以下、変換対象ファイル)を選択する変換対象選択処理が実行される(S51)。 As shown in FIG. 5, in the data conversion process (S13), first, a conversion target for selecting a file to be converted (hereinafter referred to as a conversion target file) from among convertible files stored in a specific folder. A selection process is executed (S51).
図6に示すように、変換対象選択処理(S51)では、まずEEPROM14に記憶されている変換対象ファイル設定が「メモリ優先」であるか否かが判断される(S101)。本実施形態では、変換対象ファイル設定があらかじめ「メモリ優先」に設定されているため(S101:YES)、変換対象ファイル設定「メモリ優先」に対応する優先順序で変換対象ファイルが選択される。すなわち、未選択の変換可能ファイルのうちでファイルサイズが大きいものが変換対象ファイルに選択される(S103)。「未選択の変換可能ファイル」は、特定フォルダ内に変換可能ファイルが複数格納されている場合に、変換対象選択処理(S51)にて未だ変換対象ファイルとして選択されていない変換可能ファイルをいう。 As shown in FIG. 6, in the conversion target selection process (S51), it is first determined whether or not the conversion target file setting stored in the EEPROM 14 is “memory priority” (S101). In this embodiment, since the conversion target file setting is set to “memory priority” in advance (S101: YES), the conversion target file is selected in the priority order corresponding to the conversion target file setting “memory priority”. That is, among the unselected convertible files, a file with a large file size is selected as a conversion target file (S103). “Unselected convertible file” refers to a convertible file that is not yet selected as a conversion target file in the conversion target selection process (S51) when a plurality of convertible files are stored in a specific folder.
一方、変換対象ファイル設定が「バッテリ優先」、「日時優先」、「進捗優先」である場合は、変換対象ファイル設定は「メモリ優先」でないため(S101:NO)、その変換対象ファイル設定に応じた優先順序で変換対象ファイルが選択される(S105)。具体的には、変換対象ファイル設定が「バッテリ優先」である場合は、未選択の変換可能ファイルのうちでファイルサイズが小さいものが変換対象ファイルに選択される。変換対象ファイル設定が「日時優先」では、未選択の変換可能ファイルのうちで登録日時が新しいものが変換対象ファイルに選択される。変換対象ファイル設定が「進捗優先」では、未選択の変換可能ファイルのうちで登録日時が古いものが変換対象ファイルに選択される。 On the other hand, when the conversion target file setting is “battery priority”, “date and time priority”, or “progress priority”, the conversion target file setting is not “memory priority” (S101: NO), and therefore, according to the conversion target file setting. The conversion target file is selected in the priority order (S105). Specifically, when the conversion target file setting is “battery priority”, an unselected convertible file having a smaller file size is selected as the conversion target file. When the conversion target file setting is “date and time priority”, among the unselected convertible files, the file with the new registration date and time is selected as the conversion target file. When the conversion target file setting is “progress priority”, among the unselected convertible files, the file with the oldest registration date is selected as the conversion target file.
なお、S103またはS105にて選択された変換対象ファイルは、その変換対象ファイルがメモリカード30からRAM13に読み込まれる。そして、データ変換処理(図5)に戻る。
Note that the conversion target file selected in S103 or S105 is read from the
図5に戻り、変換対象選択処理(S51)にて変換対象ファイルに選択されると、その変換対象ファイルを特定のデータ形式に変換した場合の予測ファイルサイズが計算される(S53)。S53では、例えば変換対象ファイルに含まれる画像データの数量に、その変換対象ファイルのデータ形式を特定のデータ形式に変換したときのデータサイズの変換率を乗じて算出されればよい。本実施形態では、変換対象ファイルにページ単位の画像データ(ファイルデータ)が含まれているため、この画像データの数量(つまり、ドキュメントのページ数)にデータサイズの変換率を乗じて算出される。「データサイズの変換率」は、他のデータ形式ごとに特定のデータ形式に変換した場合の平均的なファイルサイズの増加率または減少率をあらかじめ実験や計算等で求めておけばよい。具体的には、JPEG形式の電子ファイルを特定のデータ形式に変換する場合のデータサイズの変換率は「70%」、PDF形式の電子ファイルを特定のデータ形式に変換する場合のデータサイズの変換率は「85%」とするなどである。 Returning to FIG. 5, when a conversion target file is selected in the conversion target selection process (S51), a predicted file size when the conversion target file is converted into a specific data format is calculated (S53). In S53, for example, it may be calculated by multiplying the quantity of image data included in the conversion target file by the conversion rate of the data size when the data format of the conversion target file is converted into a specific data format. In the present embodiment, since the conversion target file includes image data (file data) in units of pages, the amount of image data (that is, the number of pages of the document) is calculated by multiplying the conversion rate of the data size. . As the “data size conversion rate”, an average file size increase rate or decrease rate when the data is converted into a specific data format for each other data format may be obtained in advance through experiments or calculations. Specifically, the conversion rate of the data size when converting an electronic file in JPEG format into a specific data format is “70%”, and the conversion of data size when converting an electronic file in PDF format into a specific data format The rate is “85%”.
次いで、S53で算出された予測ファイルサイズが、メモリカード30の空き容量以下であるか否かが判断される(S55)。予測ファイルサイズがメモリカード30の空き容量以下であれば(S55:YES)、変換対象ファイルを他のデータ形式に変換した場合に、その変換済ファイルをメモリカード30に書き込んでも空き容量不足が発生しないと予測される。そのため、RAM13に記憶されている変換対象ファイルに含まれる1ページ分の画像データが、RAM13上で特定のデータ形式に変換される(S57)。そして、S57にて変換された画像データが、メモリカード30の空き領域に書き込まれて保存用フォルダに格納されるとともに、その変換済みの画像データをメモリカード30に書き込めたか否が判断される(S59)。
Next, it is determined whether or not the predicted file size calculated in S53 is less than or equal to the free capacity of the memory card 30 (S55). If the predicted file size is less than or equal to the free space of the memory card 30 (S55: YES), when the converted file is converted to another data format, the converted file is written to the
変換済みの画像データをメモリカード30に書き込めた場合(S59:YES)、変換対象ファイルに含まれる全ページの画像データを変換したか否かが判断される(S61)。変換対象ファイルに含まれる画像データのうちで未変換のものがある場合は(S61:NO)、S57に戻って次ページに相当する画像データが、上記と同様に他のデータ形式に変換される。これにより、後述のメモリカード30に書き込みできない状態(S59:NO)にならない限り、S57〜S61が繰り返し実行されて、変換対象ファイルに含まれる画像データが順次変換される。
When the converted image data can be written in the memory card 30 (S59: YES), it is determined whether or not the image data of all pages included in the conversion target file has been converted (S61). If there is unconverted image data included in the conversion target file (S61: NO), the process returns to S57 and the image data corresponding to the next page is converted into another data format in the same manner as described above. . As a result, S57 to S61 are repeatedly executed so that the image data included in the conversion target file is sequentially converted unless a state in which data cannot be written to the
変換対象ファイルに含まれる全ページの画像データが変換された場合は(S61:YES)、これら変換済みの画像データによって構成される変換済ファイルが、メモリカード30の保存用フォルダに格納された状態となる。そして、メモリカード30の特定フォルダに格納されている変換元の電子ファイル(つまり、変換対象ファイル)が削除されて(S63)、メイン処理(図3)に戻る。これにより、メモリカード30内にデータ形式が異なる同一の電子ファイルが重複記憶されないようにして、メモリカード30の空き容量を確保することができるとともに、特定フォルダ内の電子ファイルが何度も変換される不具合を防止できる。
When the image data of all pages included in the conversion target file has been converted (S61: YES), the converted file composed of the converted image data is stored in the storage folder of the
一方、予測ファイルサイズがメモリカード30の空き容量よりも大きい場合(S55:NO)、変換済ファイルを書き込んだ場合にメモリカード30の空き容量不足が発生すると予想される。また、予測ファイルサイズがメモリカード30の空き容量以下であっても(S55:NO)、S57にて画像データ単位でデータ変換を実行していく過程で、変換済みの画像データの総データサイズが予測ファイルサイズよりも大きくなり、メモリカード30の空き容量が不足して変換済みの画像データを書き込めない場合がある(S59:NO)。これらの場合は、以下のメモリフル処理が実行される(S65)。
On the other hand, when the predicted file size is larger than the free capacity of the memory card 30 (S55: NO), it is predicted that the free capacity of the
図7に示すように、メモリフル処理(S65)では、まず変換途中の電子ファイルがあるか否かが判断される(S201)。具体的には、予測ファイルサイズがメモリカード30の空き容量以下である場合(S55:NO)はS57のデータ変換が行われないため、変換途中の電子ファイルは存在しない(S65:NO)。一方、変換済みの画像データを書き込めない場合(S59:NO)には、S57にて変換対象ファイルに含まれる画像データの一部が変換済みであるため、変換途中の電子ファイルが存在する(S65:YES)。この場合は、変換途中の電子ファイル(つまり、変換済みの画像データ)がメモリカード30の保存用フォルダから削除される(S203)。これにより、メモリカード30に不完全な変換済ファイルが保存されることを防止して、メモリカード30の空き容量を確保することができる。なお、メモリカード30の特定フォルダに格納されている変換元の電子ファイル(つまり、変換対象ファイル)は削除されないので、メモリカード30の空き容量を確保したのちに再度同一の電子ファイルをデータ変換することができる。
As shown in FIG. 7, in the memory full process (S65), it is first determined whether or not there is an electronic file being converted (S201). Specifically, when the predicted file size is equal to or less than the free space of the memory card 30 (S55: NO), the data conversion in S57 is not performed, and thus there is no electronic file being converted (S65: NO). On the other hand, if the converted image data cannot be written (S59: NO), since a part of the image data included in the conversion target file has been converted in S57, there is an electronic file being converted (S65). : YES). In this case, the electronic file being converted (that is, the converted image data) is deleted from the storage folder of the memory card 30 (S203). Thereby, it is possible to prevent an incompletely converted file from being stored in the
変換途中の電子ファイルがない場合(S201:NO)、または、変換途中の電子ファイルを削除された場合(S203)、EEPROM14を参照して変換対象ファイル設定が「メモリ優先」であるか否かが判断される(S205)。本実施形態では変換対象ファイル設定が「メモリ優先」であるため(S205:YES)、次いで未選択の変換可能ファイルが特定フォルダ内に存在しないか否かが判断される(S207)。未選択の変換可能ファイルが存在する場合(S207:NO)、RAM13の所定記憶エリアに「空き容量あり」が設定される(S209)。 If there is no electronic file being converted (S201: NO), or if the electronic file being converted is deleted (S203), it is referred to the EEPROM 14 whether the conversion target file setting is “memory priority” or not. Determination is made (S205). In this embodiment, since the conversion target file setting is “memory priority” (S205: YES), it is then determined whether or not an unselected convertible file exists in the specific folder (S207). If there is an unselected convertible file (S207: NO), “There is free space” is set in the predetermined storage area of the RAM 13 (S209).
先述したように「メモリ優先」である場合はファイルサイズが大きい順に変換可能ファイルが選択されるので、次に選択される変換可能ファイルは現在の変換対象ファイルよりもファイルサイズが小さくなる。そのため、メモリカード30の空き容量が、現在の変換対象ファイルに基づく変換済ファイルを書き込むのに不足している場合でも、次の変換対象ファイルに基づく変換済ファイルの書込みには足りる可能性がある。そこで、変換対象ファイル設定が「メモリ優先」であり、且つ、未選択の変換可能ファイルが存在する場合には、S209にて「空き容量あり」を設定することで、後述するように次の変換対象ファイルのデータ変換が実行されるようにしている。
As described above, in the case of “memory priority”, convertible files are selected in descending order of file size, so that the next selectable convertible file has a smaller file size than the current conversion target file. Therefore, even when the free space of the
一方、変換対象ファイル設定が「バッテリ優先」、「日時優先」、「進捗優先」のいずれかであれば、変換対象ファイル設定が「メモリ優先」でないため(S205:NO)、RAM13の所定記憶エリアに「空き容量なし」が設定される(S211)。すなわち、変換対象ファイル設定が「メモリ優先」でない場合は、次の変換対象ファイルは現在の変換対象ファイルよりもファイルサイズが小さくなるとは限らないため、S211にて「空き容量なし」を設定することで、後述するようにデータ変換が中止されるようにしている。また、未選択の変換可能ファイルが存在しない場合は(S207:YES)、変換対象ファイル設定が「メモリ優先」であっても次の変換対象ファイルが存在しないため、上記と同様にRAM13の所定記憶エリアに「空き容量なし」が設定される(S211)。 On the other hand, if the conversion target file setting is any one of “battery priority”, “date and time priority”, and “progress priority”, the conversion target file setting is not “memory priority” (S205: NO). Is set to “no free space” (S211). That is, if the conversion target file setting is not “memory priority”, the file size of the next conversion target file is not necessarily smaller than the current conversion target file, and therefore “no free space” is set in S211. Thus, the data conversion is stopped as will be described later. If there is no unselected convertible file (S207: YES), there is no next conversion target file even if the conversion target file setting is “memory priority”. “No free space” is set in the area (S211).
S209またはS211が実行されたのちはデータ変換処理(図5)に戻り、さらにメイン処理(図3)に戻る。そして、データ変換処理(S13)に次いで、RAM13の所定記憶エリアを参照して、メモリカード30に空き容量があるか否かが判断される(S15)。S15の判断は、RAM13の所定記憶エリアに設定された「空き容量なし」または「空き容量あり」に基づいて行われる。
After S209 or S211 is executed, the process returns to the data conversion process (FIG. 5) and then returns to the main process (FIG. 3). Then, after the data conversion process (S13), it is determined whether or not the
RAM13の所定記憶エリアに「空き容量あり」が設定されている場合(S15:YES)、メモリカード30の特定フォルダ内に電子ファイルが格納されていないか否かが判断される(S17)。特定フォルダ内に電子ファイルが格納されていない場合(S17:YES)、特定フォルダ内に格納されていた電子ファイルが全て特定のデータ形式に変換された(つまり、全ての電子ファイルのそれぞれについて変換済ファイルが作成された)と判断される。そこで、メモリカード30の保存用フォルダに格納されている変換済ファイルを選択可能に一覧表示するフォルダ表示画面が、表示パネル3に表示される(S19)。ユーザは、このフォルダ表示画面において、例えばキャラクタキー67を操作して任意の変換済ファイルを選択することで、その変換済ファイルに基づくドキュメントを閲覧することができる。
When “with free space” is set in the predetermined storage area of the RAM 13 (S15: YES), it is determined whether or not an electronic file is stored in the specific folder of the memory card 30 (S17). When the electronic file is not stored in the specific folder (S17: YES), all the electronic files stored in the specific folder are converted into a specific data format (that is, all the electronic files have been converted). File is created). Therefore, a folder display screen for displaying a list of converted files stored in the storage folder of the
一方、特定フォルダ内に電子ファイルが格納されている場合(S17:NO)、S11に戻って、特定フォルダ内に変換可能ファイルがあるか否かが判断される。そして、先述と同様に、変換可能ファイルがあればデータ変換処理が実行される(S11:YES、S13)。このデータ変換処理(図5)では、未選択の変換可能ファイルのうちでファイルサイズが最も大きいファイル、言い換えると、前回の変換対象ファイルに次いでファイルサイズが大きいファイルが、変換対象ファイルに選択される(S51)。そして、この変換対象ファイルについて、先述と同様のデータ変換(S53〜S63)またはメモリフル処理(S65)が実行される。 On the other hand, if an electronic file is stored in the specific folder (S17: NO), the process returns to S11 to determine whether there is a convertible file in the specific folder. Similarly to the above description, if there is a convertible file, the data conversion process is executed (S11: YES, S13). In this data conversion process (FIG. 5), the file having the largest file size among the unselected convertible files, in other words, the file having the next largest file size after the previous conversion target file is selected as the conversion target file. (S51). Then, the data conversion (S53 to S63) or the memory full process (S65) similar to the above is executed for the conversion target file.
このように、本実施形態では、メモリカード30の特定フォルダ内に格納されている電子ファイルがなくなるまで、その電子ファイルが特定のデータ形式に順次変換される。そして、メモリカード30の変換済フォルダ内に変換済ファイルが保存されるとともに、特定フォルダから変換元の電子ファイルが削除される。また、メモリカード30の空き容量が不足した場合でも、他の電子ファイルに基づく変換済ファイルをその空き容量に書込み可能であれば、その電子ファイルが特定のデータ形式に順次変換される。これにより、メモリカード30の空き容量を最大限に使用して、より多数の電子ファイルを特定のデータ形式に変換することができる。
Thus, in this embodiment, the electronic files are sequentially converted into a specific data format until there are no more electronic files stored in the specific folder of the
なお、特定フォルダ内に変換可能ファイルがない場合は(S11:NO)、データ変換を実行できない旨を示す変換不可画面が表示パネル3に表示されたのち(S21)、先述のフォルダ表示画面が表示される(S19)。これにより、特定フォルダ内に格納された電子ファイルのうちで変換可能ファイルのみが特定のデータ形式に変換されて、S19のフォルダ表示画面には、その変換可能ファイルがなくなるまでに作成された変換済ファイルが一覧表示される。 If there is no convertible file in the specific folder (S11: NO), a conversion impossible screen indicating that data conversion cannot be executed is displayed on the display panel 3 (S21), and then the above-described folder display screen is displayed. (S19). As a result, only convertible files among the electronic files stored in the specific folder are converted into a specific data format, and the converted display created before the convertible file disappears in the folder display screen of S19. A list of files appears.
また、RAM13の所定記憶エリアに「空き容量なし」が設定されている場合は(S15:NO)、図8に例示するようなメモリフル画面32が表示パネル3に表示されたのち(S23)、先述のフォルダ表示画面が表示される(S19)。図8に示すように、メモリフル画面32では、メモリカード30に変換済ファイルを格納するための空き容量がない旨が明示される。これにより、メモリカード30の空き容量が完全に不足するまで、より多数の電子ファイルが特定のデータ形式に変換されて、S19のフォルダ表示画面には、メモリカード30の空き容量がなくなるまでに作成された変換済ファイルが一覧表示される。
When “no free space” is set in the predetermined storage area of the RAM 13 (S15: NO), a memory
S19にてフォルダ表示画面が表示されると、LED表示部7が通常パターン(ここでは、非点灯状態)に表示制御されるとともに、操作部6でのキー操作が有効化されて、S1に戻る。そして、携帯端末1の電源がオフとされるまで、所定の実行タイミング(つまり、USBケーブル9の抜脱あり、または、メモリカード30の挿入あり)が検出されるごとに(S1、S3)、上記と同様にデータ変換が実行される(S5〜S19)。
When the folder display screen is displayed in S19, the
以上説明したように、本実施形態の携帯端末1では、メモリカード30から取得された他のデータ形式の電子ファイルを特定のデータ形式に変換したときの予測ファイルサイズが算出される。その予測ファイルサイズがメモリカード30の空き容量以下である場合、取得された電子ファイルが特定のデータ形式に変換されて、その変換済ファイルがメモリカード30に記憶される。よって、他のデータ形式の電子ファイルを特定のデータ形式に変換したにも拘らず、その変換済ファイルを電子ファイルに記憶させることができなくなる不具合の発生を抑制することができる。
As described above, in the
ところで、上記実施形態において、携帯端末1が本発明の「表示装置」に相当する。メモリカード30が、本発明の「第一記憶装置」、「第二記憶装置」、「共通記憶装置」にそれぞれ相当する。S51の変換対象選択処理(図6)を実行するCPU11が、本発明の「未対応データ取得手段」に相当する。S53を実行するCPU11が、本発明の「変換後サイズ算出手段」に相当する。S55を実行するCPU11が、本発明の「第一容量判断手段」に相当する。S57を実行するCPU11が、本発明の「変換手段」および「変換データ記憶制御手段」にそれぞれ相当する。S61を実行するCPU11が、本発明の「完了判断手段」に相当する。S63を実行するCPU11が、本発明の「第一削除手段」に相当する。メモリカードI/F17が、本発明の「装着手段」に相当する。S59を実行するCPU11が、本発明の「第二容量判断手段」に相当する。S203を実行するCPU11が、本発明の「第二削除手段」に相当する。S19を実行するCPU11が、本発明の「変換済ファイル表示制御手段」に相当する。
By the way, in the said embodiment, the
また、S51の変換対象選択処理(図6)が、本発明の「未対応データ取得ステップ」に相当する。S53が、本発明の「変換後サイズ算出ステップ」に相当する。S55が、本発明の「第一容量判断ステップ」に相当する。S57が、本発明の「変換ステップ」および「変換データ記憶制御ステップ」にそれぞれ相当する。CPU11にメイン処理(図3)を実行させる制御プログラムが、本発明の「データ変換プログラム」に相当する。 Further, the conversion target selection process (FIG. 6) in S51 corresponds to the “unsupported data acquisition step” of the present invention. S53 corresponds to the “converted size calculation step” of the present invention. S55 corresponds to the “first capacity determination step” of the present invention. S57 corresponds to the “conversion step” and “conversion data storage control step” of the present invention, respectively. The control program that causes the CPU 11 to execute the main process (FIG. 3) corresponds to the “data conversion program” of the present invention.
なお、本発明は上記実施形態に限定されるものではなく、発明の要旨を変更しない範囲での変更が可能である。例えば、上記実施形態では、電気泳動方式の表示パネル3で画像表示が行われる携帯端末1を例示したが、公知の液晶ディスプレイ等で画像表示が行われる表示装置であってもよいし、デジタルフォトフレーム等の据え置き型の表示装置であってもよい。
In addition, this invention is not limited to the said embodiment, The change in the range which does not change the summary of invention is possible. For example, in the above-described embodiment, the
また、上記実施形態では、メモリカード30に変換前の電子ファイルおよび変換済ファイルをともに記憶させることで、携帯端末1自体に各種ファイルを保存するための記憶装置を設ける必要がなく、携帯端末1の薄型・軽量化や製造コストの抑制等が図られているが、これに限定されない。例えば、携帯端末1に各種ファイルを保存するための内蔵メモリを設けておき、この内蔵メモリに変換前の電子ファイルおよび変換済ファイルがともに記憶されるようにしてもよい。さらに、変換前の電子ファイルが記憶される記憶装置と、変換済ファイルが記憶される記憶装置とが異なっていてもよい。例えば、変換前の電子ファイルがメモリカード30に記憶されており、その電子ファイルが変換された変換済ファイルが内蔵メモリに保存されるようにしてもよい。
Moreover, in the said embodiment, it is not necessary to provide the memory | storage device for preserve | saving various files in the
また、上記実施形態では、メモリカード30の保存用フォルダに変換済ファイルが格納されているが、変換済ファイルの格納位置は任意とすることができる。また、S19のフォルダ表示画面では、変換済ファイルを選択可能に保存用フォルダが表示されるが、変換済ファイルが選択可能に表示されればよい。例えば、変換済ファイルがメモリカード30のルートディレクトリに直接格納され、S19のフォルダ表示画面では変換済ファイルを選択可能にルートディレクトリが表示されてもよい。
Moreover, in the said embodiment, although the converted file is stored in the preservation | save folder of the
また、上記実施形態では、変換対象ファイル設定「メモリ優先」でない場合は「空き容量なし」が設定されてデータ変換が中止されるが(S205:NO、S111)、これに限定されない。例えば、メモリフル処理(図7)において、S205の判断を設けなくてもよい。これによれば、変換対象ファイル設定が「バッテリ優先」、「日時優先」、「進捗優先」のいずれかである場合にも、未選択ファイルが存在すれば「空き容量あり」が設定されるため(S207:YES、S209)、次の変換対象ファイルについてデータ変換が行われるようにすることができる。また、上記実施形態では、未選択の変換可能ファイルを変換対象ファイルとして1つずつ選択し(図6参照)、選択した1つの変換対象ファイルの変換が終了してから次の変換対象ファイルがまた1つ選択される。しかし、図6に示す変換対象選択処理では、変換対象ファイルが所定数取得されればよく、その所定数は1つに限られない。例えば、所定数の変換対象ファイルとして1度に複数の変換対象ファイルを選択してもよいし、選択される変換対象ファイルの所定数を変更できるようにしてもよい。 In the above embodiment, if the conversion target file setting is not “memory priority”, “no free space” is set and data conversion is stopped (S205: NO, S111), but the present invention is not limited to this. For example, in the memory full process (FIG. 7), the determination in S205 may not be provided. According to this, even if the conversion target file setting is “battery priority”, “date / time priority”, or “progress priority”, if there is an unselected file, “with free space” is set. (S207: YES, S209) Data conversion can be performed for the next conversion target file. In the above-described embodiment, unconverted convertible files are selected one by one as a conversion target file (see FIG. 6), and after the conversion of the selected one conversion target file is completed, the next conversion target file is changed again. One is selected. However, in the conversion target selection process shown in FIG. 6, it is only necessary to acquire a predetermined number of conversion target files, and the predetermined number is not limited to one. For example, a plurality of conversion target files may be selected at a time as a predetermined number of conversion target files, or the predetermined number of conversion target files to be selected may be changed.
1 携帯端末
2 複合機
3 表示パネル
6 操作部
9 USBケーブル
10 制御基板
11 CPU
12 ROM
13 RAM
14 EEPROM
15 表示コントローラ
16 キーコントローラ
17 メモリカードI/F
18 USBI/F
19 電源コントローラ
30 メモリカード
31 変換中画面
32 メモリフル画面
80 バッテリ
DESCRIPTION OF
12 ROM
13 RAM
14 EEPROM
15
18 USB I / F
19
Claims (10)
前記特定のデータ形式とは異なるデータ形式の未対応データを記憶する第一記憶装置から、前記未対応データを取得する未対応データ取得手段と、
前記未対応データ取得手段によって取得された前記未対応データを前記特定のデータ形式の電子ファイルに変換したときのデータサイズである変換後サイズを算出する変換後サイズ算出手段と、
前記変換後サイズ算出手段によって算出された前記変換後サイズが、第二記憶装置の空き容量以下であるか否かを判断する第一容量判断手段と、
前記第一容量判断手段によって前記変換後サイズが前記第二記憶装置の空き容量以下であると判断された場合、前記未対応データ取得手段によって取得された前記未対応データを前記特定のデータ形式の電子ファイルに変換する変換手段と、
前記変換手段によって変換された前記特定のデータ形式の電子ファイルを、前記第二記憶装置に記憶させる変換データ記憶制御手段と
を備えたことを特徴とする表示装置。 A display device that displays an electronic file in a specific data format,
Uncorresponding data acquisition means for acquiring the uncorresponding data from the first storage device storing uncorresponding data in a data format different from the specific data format;
A post-conversion size calculation unit that calculates a post-conversion size that is a data size when the non-corresponding data acquired by the non-corresponding data acquisition unit is converted into an electronic file of the specific data format;
First capacity determining means for determining whether or not the converted size calculated by the converted size calculating means is less than or equal to the free capacity of the second storage device;
When the first capacity determining unit determines that the converted size is equal to or less than the free capacity of the second storage device, the unsupported data acquired by the unsupported data acquiring unit is stored in the specific data format. Conversion means for converting to an electronic file;
A display device comprising: conversion data storage control means for storing the electronic file of the specific data format converted by the conversion means in the second storage device.
前記未対応データ取得手段は、前記共通記憶装置に記憶されている前記未対応データを所定数取得し、
前記変換後サイズ算出手段は、前記未対応データ取得手段によって前記所定数の未対応データが取得されるごとに、その前記所定数の未対応データを前記特定のデータ形式の電子ファイルに変換したときの前記変換後サイズを算出し、
前記表示装置は、
前記未対応データ取得手段によって取得された前記所定数の未対応データについて、前記変換手段による変換が完了したか否かを判断する完了判断手段と、
前記完了判断手段によって前記変換手段による変換が完了したと判断された場合に、その変換が完了した前記所定数の未対応データを前記共通記憶装置から削除する第一削除手段とを備え、
さらに、前記未対応データ取得手段は、前記第一削除手段によって前記所定数の未対応データが削除された場合に、前記共通記憶装置からの次の前記未対応データの取得を行うことを特徴とする請求項1に記載の表示装置。 The first storage device and the second storage device are one common storage device,
The unsupported data acquisition means acquires a predetermined number of the unsupported data stored in the common storage device,
The converted size calculating unit converts the predetermined number of unsupported data into an electronic file of the specific data format each time the predetermined number of unsupported data is acquired by the unsupported data acquisition unit. Calculating the converted size of
The display device
Completion determination means for determining whether or not the conversion by the conversion means has been completed for the predetermined number of unsupported data acquired by the unsupported data acquisition means;
A first deleting unit that deletes the predetermined number of unsupported data that has been converted from the common storage device when the completion determining unit determines that the conversion by the converting unit has been completed;
Further, the unsupported data acquisition unit acquires the next unsupported data from the common storage device when the predetermined number of unsupported data is deleted by the first deletion unit. The display device according to claim 1.
前記表示装置は、さらに前記外部記憶装置を着脱可能な装着手段を備えたことを特徴とする請求項2に記載の表示装置。 The common storage device is an external storage device that can be attached to and detached from a plurality of devices.
The display device according to claim 2, wherein the display device further includes mounting means for attaching and detaching the external storage device.
前記変換手段は、前記未対応データに含まれる前記複数の部分データを一つずつ前記特定のデータ形式に変換して、その変換によって作成された変換済部分データを前記第二記憶装置に記憶させることによって前記特定のデータ形式の電子ファイルを作成するものであって、
前記変換手段によって前記変換済部分データが作成されるごとに、前記第二記憶装置にその前記変換済部分データを記憶可能な空き容量があるか否かを判断する第二容量判断手段と、
前記第二容量判断手段によって前記変換済部分データを記憶可能な空き容量がないと判断された場合、前記第二記憶装置に記憶されている前記変換済部分データを削除する第二削除手段と
を備えたことを特徴とする請求項1乃至5のいずれかに記載の表示装置。 The unsupported data includes a plurality of partial data configured in a predetermined unit,
The converting means converts the plurality of partial data included in the unsupported data one by one into the specific data format, and stores the converted partial data created by the conversion in the second storage device To create an electronic file of the specific data format,
Each time the converted partial data is created by the converting means, second capacity determining means for determining whether or not there is a free capacity capable of storing the converted partial data in the second storage device;
A second deleting means for deleting the converted partial data stored in the second storage device when the second capacity determining means determines that there is no free capacity capable of storing the converted partial data; The display device according to claim 1, further comprising a display device.
前記変換後サイズ算出手段は、前記未対応データに含まれる前記ファイルデータの数量に対応するページ数に基づいて、前記未対応データを前記特定のデータ形式の電子ファイルに変換したときの前記変換後サイズを算出することを特徴とする請求項1乃至6のいずれかに記載の表示装置。 The unsupported data includes file data each indicating a plurality of data configured in units of pages,
The post-conversion size calculation means is configured to convert the non-corresponding data into the electronic file having the specific data format based on the number of pages corresponding to the quantity of the file data included in the non-corresponding data. The display device according to claim 1, wherein a size is calculated.
前記未対応データを記憶する第一記憶装置から、前記未対応データを取得する未対応データ取得ステップと、
前記未対応データ取得ステップによって取得された前記未対応データを前記特定のデータ形式の電子ファイルに変換したときのデータサイズである変換後サイズを算出する変換後サイズ算出ステップと、
前記変換後サイズ算出ステップによって算出された前記変換後サイズが、第二記憶装置の空き容量以下であるか否かを判断する第一容量判断ステップと、
前記第一容量判断ステップによって前記変換後サイズが前記第二記憶装置の空き容量以下であると判断された場合、前記未対応データ取得ステップによって取得された前記未対応データを前記特定のデータ形式の電子ファイルに変換する変換ステップと、
前記変換ステップによって変換された前記特定のデータ形式の電子ファイルを、前記第二記憶装置に記憶させる変換データ記憶制御ステップと
を備えたことを特徴とするデータ変換方法。 In a display device for displaying an electronic file of a specific data format, a data conversion method for converting unsupported data of a data format different from the specific data format into an electronic file of the specific data format,
From the first storage device that stores the unsupported data, an unsupported data acquisition step of acquiring the unsupported data;
A post-conversion size calculation step of calculating a post-conversion size that is a data size when the non-corresponding data acquired in the non-corresponding data acquisition step is converted into an electronic file of the specific data format;
A first capacity determination step of determining whether or not the converted size calculated by the converted size calculation step is equal to or less than a free capacity of the second storage device;
If it is determined in the first capacity determination step that the converted size is equal to or less than the free capacity of the second storage device, the unsupported data acquired in the unsupported data acquisition step is stored in the specific data format. A conversion step for converting to an electronic file;
A data conversion method comprising: a conversion data storage control step for storing the electronic file of the specific data format converted by the conversion step in the second storage device.
コンピュータに、
前記未対応データを記憶する第一記憶装置から、前記未対応データを取得する未対応データ取得ステップと、
前記未対応データ取得ステップによって取得された前記未対応データを前記特定のデータ形式の電子ファイルに変換したときのデータサイズである変換後サイズを算出する変換後サイズ算出ステップと、
前記変換後サイズ算出ステップによって算出された前記変換後サイズが、第二記憶装置の空き容量以下であるか否かを判断する第一容量判断ステップと、
前記第一容量判断ステップによって前記変換後サイズが前記第二記憶装置の空き容量以下であると判断された場合、前記未対応データ取得ステップによって取得された前記未対応データを前記特定のデータ形式の電子ファイルに変換する変換ステップと、
前記変換ステップによって変換された前記特定のデータ形式の電子ファイルを、前記第二記憶装置に記憶させる変換データ記憶制御ステップと
を実行させることを特徴とするデータ変換プログラム。 A data conversion program that is used in a display device that displays an electronic file in a specific data format, and that converts unsupported data in a data format different from the specific data format into an electronic file in the specific data format,
On the computer,
From the first storage device that stores the unsupported data, an unsupported data acquisition step of acquiring the unsupported data;
A post-conversion size calculation step of calculating a post-conversion size that is a data size when the non-corresponding data acquired in the non-corresponding data acquisition step is converted into an electronic file of the specific data format;
A first capacity determination step of determining whether or not the converted size calculated by the converted size calculation step is equal to or less than a free capacity of the second storage device;
If it is determined in the first capacity determination step that the converted size is equal to or less than the free capacity of the second storage device, the unsupported data acquired in the unsupported data acquisition step is stored in the specific data format. A conversion step for converting to an electronic file;
A conversion data storage control step of causing the second storage device to store the electronic file of the specific data format converted by the conversion step.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009124567A JP2010272017A (en) | 2009-05-22 | 2009-05-22 | Display device, data conversion method, and data conversion program |
EP10005145A EP2259199A1 (en) | 2009-05-22 | 2010-05-17 | Display device, data conversion method, and computer-readable medium storing data conversion programm |
CN2010101901952A CN101894535A (en) | 2009-05-22 | 2010-05-21 | Display device and data transfer device |
US12/784,903 US20100299307A1 (en) | 2009-05-22 | 2010-05-21 | Display device, data conversion method, and computer-readable medium storing data conversion program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009124567A JP2010272017A (en) | 2009-05-22 | 2009-05-22 | Display device, data conversion method, and data conversion program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010272017A true JP2010272017A (en) | 2010-12-02 |
Family
ID=43419975
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009124567A Pending JP2010272017A (en) | 2009-05-22 | 2009-05-22 | Display device, data conversion method, and data conversion program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010272017A (en) |
-
2009
- 2009-05-22 JP JP2009124567A patent/JP2010272017A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4742497B2 (en) | Information display device | |
US10198149B2 (en) | Information processing apparatus, and method of controlling information processing apparatus | |
JP2007230068A (en) | Printing device | |
JP2009171044A (en) | Image processing apparatus | |
JP5862610B2 (en) | Image display device, display control program, and display control method | |
JP2008006628A (en) | Image forming device | |
JP2007296796A (en) | Image forming apparatus, image forming method, and image forming program | |
US20100299307A1 (en) | Display device, data conversion method, and computer-readable medium storing data conversion program | |
US9594445B2 (en) | Operation reception device and method for receiving operation on page image, storage medium, and image forming apparatus for use with operation reception device | |
JP2008242875A (en) | Display terminal and printing control program | |
JP6714337B2 (en) | Information processing device, information processing method, and program | |
JP2010272019A (en) | Display device, data converting method and data conversion program | |
JP2010272017A (en) | Display device, data conversion method, and data conversion program | |
TWI518584B (en) | Electronic system and controling method thereof | |
KR20140005773A (en) | Information processing apparatus equipped with overwrite deletion function, method of controlling the same, and storage medium | |
JP2009083382A (en) | Image forming device and image processing program | |
JP5266863B2 (en) | Image forming apparatus and screen drawing control method | |
JP2010272018A (en) | Display device, data converting method and data conversion program | |
EP3644191A1 (en) | Memory system and electronic device | |
JP5257114B2 (en) | Information display device and information display program | |
JP4208611B2 (en) | Mobile device with camera | |
JP5854678B2 (en) | MULTIFUNCTION DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
JP2012173579A (en) | Display device and control method of display device | |
CN211123626U (en) | Selenium drum, powder cylinder and powder cylinder chip for powder cylinder | |
JP2010170499A (en) | Display device, display method and display processing program |