1. Field of the Invention
The present invention relates to an image processing apparatus for reading images, a method of data processing in the image processing apparatus, and a storage medium storing a program for implementing the method.
2. Description of the Related Art
As in the manner of a file-attaching function used in a PDF, for example, a function known in the art is capable of attaching to an electronic file another file having a different format, and of extracting the attached file from the electronic file. The attaching operation is executed within the application corresponding to the electronic file and, as a result, it is possible to work with multiple files together as a single file. In addition, such a function allows a function that is effective only in an electronic file to be executed with respect also to an attached file having a different format. For example, a PDF file allows execution of an encryption function in an attached file [see PDF (Portable Document Format) Ver. 1.7 (Adobe Systems Incorporated)].
On the other hand, the optical reading of documents and generation of electronic files in an image processing apparatus is well known. Such an image processing apparatus is capable of reading documents and generating files in various formats.
However, a value-added function such as encryption cannot be applied to a file other than a file in a specific format, such as PDF. In order to apply such a function to a file other than one having a specific format, therefore, it is required that the file be converted, as by a personal computer, to one having the specific format. The need to convert the file results in increased labor as far as the user is concerned.
An aspect of the present invention is to eliminate the above-mentioned problems with the conventional technology.
The present invention provides an image processing apparatus in which user labor is reduced by executing a security function with regard to a file read in the image processing apparatus, a method of data processing in the image processing apparatus, and a storage medium storing a program for implementing the method.
The present invention in its first aspect provides an image processing apparatus having a reading unit for reading an image, comprising: a generation unit configured to generate a first electronic file by reading the image using the reading unit; an attachment unit configured to attach the first electronic file, which has been generated by the generation unit, to a second electronic file having a security function; and an execution unit configured to execute the security function with respect to the first electronic file by executing the security function of the second electronic file to which the first electronic file has been attached by the attachment unit.
The present invention in its second aspect provides a data processing method executed by an image processing apparatus having a reading unit for reading an image, comprising: a generation step of generating a first electronic file by reading the image using the reading unit; an attachment step of attaching the first electronic file, which has been generated at the generation step, to a second electronic file having a security function; and an execution step of executing the security function with respect to the first electronic file by executing the security function of the second electronic file to which the first electronic file has been attached at the attachment step.
The present invention in its third aspect provides a computer-readable storage medium storing a program for causing a computer to execute: a generation step of generating a first electronic file by reading the image using the reading unit; an attachment step of attaching the first electronic file, which has been generated at the generation step, to a second electronic file having a security function; and an execution step of executing the security function with respect to the first electronic file by executing the security function of the second electronic file to which the first electronic file has been attached at the attachment step.
In accordance with the present invention, user labor can be reduced by having an image processing apparatus execute a security function with regard to a file read in the apparatus.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
Preferred embodiments of the present invention will now be described hereinafter in detail, with reference to the accompanying drawings. It is to be understood that the following embodiments are not intended to limit the claims of the present invention, and that not all of the combinations of the aspects that are described according to the following embodiments are necessarily required with respect to the means to solve the problems according to the present invention. It should be noted that identical structural elements are designated by like reference characters and are not described redundantly.
Next, in order to allow the user to select whether the electronic file generated by reading the document is to be attached to another electronic file, the CPU 11 displays a selection screen for this purpose on the user-command input unit 14.
If it is determined at step S206 that a choice to attach the electronic file generated by reading the document to another electronic file has been received, the CPU 11 temporarily stores the selected format of the electronic file that is the destination of the attachment in a memory such as the RAM 12 (step S208). Next, the CPU 11 displays a value-added-function selection screen, which corresponds to the selected format of the electronic file that is the destination of the attachment, on the user-command input unit 14 (step S209). Here the value-added function refers to a security function such as setting of a password or encryption regarding an electronic file.
The items capable of being selected by the user on this value-added-function selection screen differ depending upon the format received by selection using the selection screen shown in
The CPU 11 waits until it has accepted selection of at least one value-added function (step S210) and temporarily stores all accepted value-added functions in a memory such as the RAM 12 (step S211). The CPU 11 displays a screen, which is for designating a file name to be appended to an electronic file following the attachment processing of this flowchart, on the user-command input unit 14 (step S212) and waits for input of the file name (step S213).
Next, the CPU 11 reads the document and generates image data using the reading unit 15 (step S215) and, in accordance with the generation conditions designated at step S205, generates an electronic file (let this be a “first electronic file”) from the image data (step S216). Next, the CPU 11 generates an electronic file (let this be a “second electronic file”) which has the format stored at step S208 and, moreover, a file size that is the minimum size (step S217). In this embodiment, the electronic file is a PDF-format electronic file that does not include any image data to be printed. In this embodiment, the electronic file generated at step S217 plays the roll of a mount for attaching the electronic file read and generated at steps S215 and S216.
The CPU 11 attaches the electronic file generated by reading the document at steps S215 and S216 to the electronic file generated at step S217 (step S218). The CPU 11 then appends the file name stored at step S214 to the electronic file generated at step S218 (step S219). Next, the CPU 11 appends the value-added function stored at step S211 to the electronic file to which the file name has been appended (step S220). The value-added function is appended by a method that is in accordance with each format such as PDF or ZIP and each value-added function.
When power is introduced to the image processing apparatus 1, each unit in the image processing apparatus 1 starts up and the CPU 11 initializes each of these units (step S801). The CPU 11 waits for input of a processing request from the user (step S802). When the processing request is input, the CPU 11 determines whether the processing request is a request for having the reading unit 15 optically read a document and generate an electronic file (step S803). If it is determined that the request is not a request for optically reading a document and generating an electronic file, then the processing conforming to this request is executed and the processing of this flowchart is exited (step S804). On the other hand, if it is determined that the request is a request for optically reading a document and generating an electronic file, then the CPU 11 acquires the generation conditions (such as the file name, file format and resolution) of the electronic file to be generated the reading the document (step S805). It may be arranged so that the generation conditions are acquired from reading settings designated by the user.
Next, the CPU 11 displays a screen on the user-command input unit 14 that makes it possible to select whether a value-added function will be appended to the electronic file generated by reading the document or to select what value-added function will be appended.
The CPU 11 determines whether the format of the file generated (generated by reading the document) based upon the generation conditions designated at step S805 supports the value-added function stored at step S807 (step S808). The CPU 11 makes the determination at step S808 by referring to the table shown in
If it is determined that the format of the file generated by reading the document does not support the value-added function stored at step S807, then the CPU 11 displays formats capable of supporting the value-added function stored at step S807 on the user-command input unit 14 in a selectable manner.
By virtue of this embodiment, a file format corresponding to a value-added function desired by a user can be selected for an electronic file generated by reading a document.
In the first and second embodiments, an electronic file generated by having a reading unit 15 read a document has been described. However, the present invention may be applied to an electronic file generated by some other method. For example, the present invention may be applied to files such as a settings file in which various settings of an image processing apparatus have been written or a destination file such as a list of transmission destinations. Further, in a case where an image processing apparatus is equipped with a file server function, the invention may be applied to a file that has been stored by the file server function. By virtue of this embodiment, various electronic files can be furnished with various value-added functions that originally could not added on to the formats of these electronic files.
Aspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or MPU) that reads out and executes a program recorded on a memory device to perform the functions of the above-described embodiment(s), and by a method, the steps of which are performed by a computer of a system or apparatus by, for example, reading out and executing a program recorded on a memory device to perform the functions of the above-described embodiment(s). For this purpose, the program is provided to the computer for example via a network or from a recording medium of various types serving as the memory device (e.g., computer-readable medium).
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2011-157122, filed Jul. 15, 2011, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2011-157122 | Jul 2011 | JP | national |