This application claims priority from Japanese Patent Application No. 2006-346351 filed Dec. 22, 2006 and Application No. 2007-232313 filed Sep. 7, 2007. The entire content of these priority applications is incorporated herein by reference.
This disclosure relates to a data processor.
Conventionally, an image reading device having a function of storing image data obtained by reading an original by a scanner portion into a removable memory connected to the device has been known.
In such an image reading device, when there is no free space in a removable memory, there arises a disadvantage that a read image data cannot be stored and so on. As a measure for this, it can be assumed that, for example, the read image data is transferred to a hard disk or the like of a server computer connected through a network while the attempt to store the image data in the removable memory is given up. However, in this case, a problem may occur that, even though a user later references contents of the removable memory, the user cannot find where the image data is stored since the image data has not been stored there.
In view of the above described circumstances, there is a need for a technology which allows the amount of usage of a removable memory to be suppressed or allows stored data to be easily obtained in a data processor.
A data processor can includes a memory connection portion communicably connected to a removable memory, a connection portion communicably connected to a memorizing portion, an acquiring portion capable of acquiring data, a storing portion capable of storing the data acquired by the acquiring portion in the memorizing portion, and a writing portion capable of writing storage location information of the data stored by the storing portion in the memory.
Illustrative aspects in accordance with the invention will be described in detail with reference to the following figures wherein:
An aspect of the present invention will be described with reference to
1. External Configuration of a Multifunction Apparatus
As the present aspect, there is shown an example in which the present invention is applied to a multifunction apparatus 1 (an example of a data processor) having various functions such as a scanner function, a printer function, a copy function, a facsimile function, and the like.
As shown in
On the front of the upper part of the multifunction apparatus 1, there are provided an operation part 5 (an example of selecting portion and/or specifying portion) having a plurality of buttons 5A, a display portion 6 composed of a liquid crystal display, and a USB interface 16 (an example of memory connection portion).
2. Electric Structure of the Multifunction Apparatus
In the ROM 11, various programs for controlling operation of the multifunction apparatus 1 are stored. The CPU 10 controls various parts according to the programs read out from the ROM 11 while storing processing result thereof in the RAM 12 or the NVRAM 13.
The network interface 14 is connected to an FTP server 21 (an example of an information processor) which includes a hard disk drive 21A (an example of the memorizing portion) having a storage capacity sufficiently larger than that of a USB memory 25 to be described later, a client computer 23, and the like, through a communication line 20. The facsimile interface 15 is connected to a telephone line 24. The USB memory 25 (an example of a memory) or the like is removably connected to the USB interface 16. The image forming portion 17 forms an image based on image data onto a medium for recording such as a paper sheet, plastic sheet, or the like.
3. Scanning Process
A scanning process executed under control of the CPU 10 will next be described.
Upon starting the scanning process, the CPU 10 displays a screen for the user to select whether or not to move a file (data) stored in the USB memory 25 on the display portion 6 (S101). Then, if a selection to move a file of the USB memory 25 is inputted from the operation part 5 (S101: Yes), the CPU 10 performs a file migration process as described below (S102).
(File Migration Process)
Subsequently, the CPU 10 displays a screen for the user to specify a type of a target file to be moved on the display portion 6 (S202). Then, the user can specify, by input from the operation part 5, whether or not a file having a certain file format such as image data or audio data is a target to be moved and whether or not a file having any other file format is a target to be moved. Accordingly, from among files stored in the location specified in S201, all of files corresponding to the file format specified here become targets to be moved. Alternatively, in processing of S201 and S202, individual files may be specified one by one as a target to be moved.
Then, the CPU 10 displays on the display portion 6 a screen for selecting whether or not to generate an icon (an optional small-sized image which is registered in association with a file so that it can be used for identifying the file) of the file to be moved or a thumbnail (reduced image) of an image and write it in the USB memory 25 (S203). If it is selected that a thumbnail is not generated through the operation part 5 (S203: No), the user is made to select whether or not to generate an information file which contains information about the file to be moved in text format (S204). Then, if it is selected that an information file is not generated (S204: No), movement of the target file to be moved is performed (S205). Specifically, the CPU 10 takes the target file to be moved into the RAM 12 once, and then stores the file in a preset folder such as in the hard disk drive 21A of the FTP server 21, and deletes the file from the USB memory 25. Additionally, the user may specify a storage destination arbitrarily for moving the file. After completing the movement of the file including the deletion of the file from the USB memory 25, the CPU 10 completes the file migration process.
In S204, if it is selected that an information file is generated in text format through the operation part 5 (S204: Yes), movement of the target file to be moved is firstly performed as in S205 (S206). Then, an information file in text format is generated, and this information file is written in a specified location (for example, a top directory) of the USB memory 25 (S207), and then the file migration process is completed. As shown in
In S203, if it is selected that a thumbnail is generated through the operation part 5 (S203: Yes), the CPU 10 displays on the display portion 6 a screen for selecting whether or not to generate an information file in any of XML/HTML, EXIF, and text formats (S208). If it is selected that an information file is not generated through the operation part 5 (S208: No), the CPU 10 performs movement of the target file to be moved (S209), and then generates thumbnail data (JPEG format) of the moved file and writes the thumbnail data in the USB memory 25 (S210). At this time, in the case where the moved file is image data, thumbnail data based on the image data is generated, and in the case where the moved file is in a format other than that, thumbnail data based on an icon image of the file is generated.
In S208, if it is selected that an information file is generated in any of XML/HTML, EXIF, and text formats through the operation part 5 (S208: Yes), the CPU 10 performs movement of the target file to be moved (S211). Then, thumbnail data of the moved file and an information file in a selected format are generated and written in the USB memory 25 (S212).
In the case where a format of this generated information file is text format here, the information file contains information about thumbnail data (a file name, a storage location, a file size, and the like) corresponding to each moved file aside from various information about each moved file as previously described using
In the case where a format of the generated information file is XML/HTML format, the information file contains a tag for displaying a thumbnail image, a link tag to an original file of the thumbnail (storage location information), and various information about the original file. When the USB memory 25 is connected to another client computer 23 and the information file is opened by an application such as a Web browser, a browser screen 30, for example, shown in
In the case where a format of the generated information file is EXIF format, information about the original file is incorporated in the thumbnail file in JPEG format along an EXIF (Exchangeable Image File Format) standard (thus, the thumbnail file and the information file are the same file). When the USB memory 25 is connected to another client computer 23, the information file (EXIF information) incorporated in the thumbnail file can be referenced using a predetermined application.
After the thumbnail data and the information file are generated and written in the USB memory 25 as described above, the CPU 10 completes the file migration process. A free space of the USB memory 25 can be ensured by performing the file migration process in this way.
Now, in the scanning process shown in
If only the FTP server 21 is selected as a storage destination of the image data (S104: Yes), then a screen for performing reading setting is displayed on the display portion 6 (S105). Then, various setting values (an example of a reading condition) such as an image quality (resolution) and a color number (monochrome/color and gradation) for reading, and a file format of image data are inputted by the user using the operation part 5 (an example of reading setting portion).
Then, the CPU 10 reads an original by the reading portion 3 based on the inputted setting values, and applies a predetermined image processing to the image data acquired from the reading portion 3 into the RAM 12 so as to generate an image data file (S106). Then, the CPU 10 stores the image data in the hard disk drive 21A of the FTP server 21 (S107), and completes the scanning process.
If only the USB memory 25 is selected as a storage destination of the image data in S103, the process proceeds to No in S104 and then proceeds to Yes in S108, and reading setting similar as previously described (in S105) is performed (S109), and then a process of reselecting a storage method is performed as described below (S110).
(Storage Method Reselecting Process)
First, The CPU 10 compares a free space of the USB memory 25 with a predetermined threshold value. If the free space is greater than or equal to the threshold value (specified amount) (S301: Yes), the CPU 10 terminates the storage method reselecting process and reads an original by the reading portion 3 (S111 in
On the other hand, if the free space of the USB memory 25 is less than the threshold value (specified amount) (S301: No), then the CPU 10 displays a screen for reselecting a storage method of image data on the display portion 6 (S302). One option can be selected here from the following four options: “Move a file of the USB memory”, “Store image data in the server”, “Store image data in the server and write an information file in the USB memory”, and “Not change a storage method”.
Then, if “Move a file of the USB memory” is selected (S303: Yes), the control returns from the storage method reselecting process to S102 of
If “Store image data in the server” is selected (S305: Yes), the control bypasses the storage method reselecting process to S106 of
In S103, if both the FTP server 21 and the USB memory 25 are selected as storage destinations of image data (S108: No), then the CPU 10 displays (on the display portion 6) a screen for selecting whether or not to store identical image data in both the FTP server 21 and the USB memory 25 (S113). Then, if it is selected that identical image data is stored in both the FTP server 21 and the USB memory 25 (S113: Yes), reading setting is performed (S114), and the user is made to input various setting values.
Then, the CPU 10 performs the storage method reselecting process (see
Then, in S113, if it is selected that identical image data is stored in not both of the FTP server 21 and the USB memory 25 (S113: No), the CPU 10 performs reading setting (S118), and then performs reading of the original based on the inputted setting value (S119). Then, the CPU 110 performs an information file generation process (S120), and then completes the scanning process.
4. USB Print Process
Next, a USB print process which performs printing based on various files (data) stored in the USB memory 25 will be described.
The CPU 10 starts this USB print process when it is detected that the USB memory 25 is attached to the USB interface 16 or when a predetermined instruction is inputted from the operation part 5 in a state where the USB memory 25 has already been attached to the USB interface 16. Upon starting the USB print process, the CPU 10 loads files stored in the USB memory 25 into the RAM 12 (S501).
Then, the CPU 10 generates thumbnail data of each loaded file, and displays one or more thumbnail images for every loaded file in a list view on the display portion 6 (S502). For instance, when the file is image data, a thumbnail image of the image is displayed. When the file is in XML/HTML format, its tag structure is analyzed, and then, if only an image of desired image data is to be displayed (characters and so on are not displayed) according to the structure, only a thumbnail image of the desired image data is displayed. If the tag structure of the file includes a page structure for displaying characters and so on aside from an image, a thumbnail image of a relevant image to be displayed in a browser (an image displayed when the file is opened by an application such as a Web browser or the like) is displayed. Further, when the loaded file is text data or other data, an icon image of the file is displayed as a thumbnail on the display portion 6.
Then, the CPU 10 has a user specify a target file to be printed (S503). At this time, the user can specify a target file to be printed by the operation part 5 (an example of thumbnail selecting portion) with reference to a list view of files as thumbnails on the display portion 6. Alternatively, for example, it may be configured that only a list of file names are displayed and then a content of a file specified by the user is displayed as a thumbnail or the like.
Then, if the file specified as the print target is in XML/HTML format (S504: Yes), the CPU 10 displays a content of the file in the browser on the display portion 6 (S505), and then displays a screen for the user to select whether or not to print a whole page on the display portion 6 (S506). If there is an input from the operation part 5 indicating that a whole page is printed (S506: Yes), data of a display image in the browser of the file is sent to the image forming portion 17 and printed (S507).
If there is an input indicating that a whole page is not printed (S506: No), the user is made to specify target images to be printed individually on the display image of the browser on the display portion 6 (S508). Then, if there is link information (storage location information) to original image data with respect to a file of the specified image (to be stored in the USB memory 25) (S509: Yes), image data of a link destination (in the FTP server 21 or the like) is acquired based on the link information, and the acquired image data is sent to the image forming portion 17 and printed (S510). Alternatively, link information may be acquired from a tag contained in an XML/HTML format file, link information contained in an image file as EXIF information may be acquired, or link information contained in another file such as text format information file may be acquired.
If there is no link information (S509: No), data of the image specified as a print target is sent to the image forming portion 17 and printed (S511). After the image data is printed in S510 or S511, a screen for selecting whether or not to finish printing of images contained in the page is displayed on the display portion 6 (S512). Then, if there is an input indicating that printing is not terminated (S512: No), the process returns to S508 and continues printing of the images contained in the page.
If there is an input indicating that printing of images contained in the page is terminated (S512: Yes), or if printing of the whole page is completed in S507, a screen for confirming completion of printing is displayed on the display portion 6 (S513). If there is an input indicating that printing is not terminated here (S513: No), the process returns to S503 and have a user select a further target file to be printed again. If there is an input indicating that printing is terminated (S513: Yes), the USB print process is completed.
If the file specified as a print target in S503 is not in XML/HTML format (S504: No) but is image data (S514: Yes), the CPU 10 checks whether link information to an original image of the image data exists or not (S515). As previously described, such link information may be acquired as information contained as EXIF information in the image data itself, or may be acquired from a different information file such as in XML/HTML format or text format.
If there is no link information to the original image (S515: No), the file specified as a print target is printed by the image forming portion 17 (S516) and the process proceeds to S513. If there is link information to the original image (S515: Yes), a screen for the user to select whether or not to perform printing based on the original image on the display portion 6 (S517). Then, if there is an input indicating that printing based on the original image is not performed from the user (S517: No), the process proceeds to S516 in which the file specified as the print target is printed. In addition, if there is an input indicating that printing based on the original image data is performed (S517: Yes), image data is acquired from a link destination based on the link information and printed by the image forming portion 17 (S518). After that, the process proceeds to S513.
If the file specified as a print target in S503 is not image data but is text file (S514: No), the CPU 10 determines whether or not link information to an original image exists in the text file (S519). Then, if there is link information to the original image (S519: Yes), the process proceeds to S518 in which image data is acquired from a link destination based on the link information and printed by the image forming portion 17. If there is no link information to an original image in the text file (S519: No), the text data is sent to the image forming portion 17 and printed (S520), and the process proceeds to S513.
As described above, according to the present aspect, acquired data is stored in the FTP server 21, and storage location information indicating a storage destination of the data is written in the USB memory 25. Thereby, a used space of the USB memory 25 can be reduced. In addition, data can be easily obtained by referring to storage location information written in the USB memory 25.
Further, storage location information of image data and thumbnail data are associated and written in the USB memory 25. Thus, image data can be easily identified by referring to a thumbnail displayed on the display portion according to thumbnail data.
Further, image data corresponding to storage location information is acquired from the hard disk drive 21A of the FTP server 21 and printed by referring to storage location information of the USB memory 25. Thereby, printing of image data can be easily performed.
Further, image data acquired by reading an original by the reading portion 3 is stored in the hard disk drive 21A of the FTP server 21, and storage location information of the image data is written in the USB memory 25. Thus, image data can be easily obtained by referring to storage location information of the USB memory 25.
Further, usage can be switched depending on situations, for example, between that image data is stored in either one of the USB memory and the FTP server 21 and that identical image data is stored in both of them.
Further, if a free space of the USB memory 25 is greater than or equal to a specified amount, image data is stored in the USB memory 25. If it is less than the specified amount, the image data is stored in the FTP server 21. Thereby, image data is stored in the USB memory 25 when a free space of the USB memory 25 is sufficient, so that acquisition of image data is facilitated thus improving usability.
Further, a file size of data is compared with a free space of the USB memory 25 so that whether or not the data can be stored in the USB memory 25 can be properly determined.
Further, a user is allowed to select a storage destination of data, thus improving usability.
Further, a free space of the USB memory 25 can be increased by moving data stored in the USB memory 25 into the FTP server 21.
Further, data to be moved from the USB memory 25 can be specified, thus improving usability.
Further, by writing storage location information after movement of data from the USB memory 25 is completed, a problem that storage location of data cannot be found is prevented such as in a case where a storage destination of the data is changed due to an error during movement of the data.
Data is stored in the hard disk drive 21A of the external FTP server 21 so that a great amount of data can be stored.
Further, a desired thumbnail data is selected from thumbnail data displayed on the display portion. Then, according to location information associated with the relevant thumbnail data, the data is read out and image-formation of the data is performed. Thereby, selection of data and image formation can be easily performed.
Further, a file size of data acquired by the acquiring portion is predicted from a set reading condition, and the predicted file sized is compared with a free space of the memory. According to this comparison result, switching of storage destinations is performed. Thereby, since switching of storage destinations is performed according to a comparison result between a file size and a free space of the memory, a storage destination can be properly determined thus improving usability.
Further, data is stored in the memorizing portion and location information of the data is written in the memory. Thereby, a used space of the memory can be reduced. Further, data can be easily obtained by referring to location information written in the memory.
Further, image data corresponding to location information of the memory is acquired from the memorizing portion to perform image formation. Thereby, image formation based on acquired data can be easily performed.
Further, since the memorizing portion is mounted in a data processor, an error caused by a communication failure or the like can be handled in a preferable manner.
Further, a storage destination is selected depending on a right given to a user, thus improving usability.
Further, when acquired data is image data, thumbnail data is generated from the image data, and, when acquired data is not image data, thumbnail data is generated from an icon image. Therefore, usability is improved.
In the above described aspect, an example in which the present invention is applied to the multifunction apparatus is illustrated. However, the present invention may be applied to a data processor which does not have a printer function, a copy function, and a facsimile function. Further, the present invention can be applied to even a data processor having no scanner function if the data processor is configured to acquire data from a memory.
When a storage destination of image data acquired by reading an original is determined, a limitation may be imposed such that a storage destination of the image data is determined to be only a server, only an internal memory of the data processor, or both of the server and the memory depending on a predetermined selection condition such as a time zone of execution, a right of a user, or a status of communication with the server. Thereby, security can be improved. Additionally, selecting portion may be provided which automatically determines a storage destination of image to be only the internal memory when it is detected that communication with the server cannot be performed due to a server failure, a communication failure, or the like. Thereby, an accident that read image data cannot be obtained is prevented.
In the above described aspect, an example in which a USB memory is used as a removable memory is illustrated. However, the removable memory is not limited to this, and a different type of flash memory or a recording medium may be used.
Although a storage destination of data is a server in the above described aspect, the storage destination is not limited to this, and data may be stored in a different type of information processor or the like. In addition, memorizing portion for storing data may be provided in the main body of the data processor. Furthermore, memorizing portion may be provided in both of the server and the data processor in a way that there is provided a storage destination selecting portion (operation part or the like) for manually selecting a storage destination of data from both of the storing portion or the storage destination selecting portion (CPU) for automatically selecting a storage destination of data from both of the storing portion.
Although information file is in XML/HTML format, EXIF format, or text format in the above described aspect, the information file is not limited to them and may be generated in a different format.
Number | Date | Country | Kind |
---|---|---|---|
2006-346351 | Dec 2006 | JP | national |
2007-232313 | Sep 2007 | JP | national |