1. Field of the Invention
The present invention relates to technologies involved in electronic signatures to images.
2. Description of the Related Art
A variety of information, including character data, video data, and audio data, has been digitized along with rapid development and proliferation of computers and computer networks in recent years. Digital data is not deteriorated due to, for example, aging and can be stored in perfect condition while it can be easily reproduced, edited, or processed. Although the easy reproduction, editing, and processing of such digital data are very useful for users, protection of the digital data becomes a major issue.
A technology called electronic signature is proposed, which is used by a user to determine whether data that is transmitted is altered (e.g., falsified). The electronic signature is additional data for prevention of the alteration (e.g., falsification) of original data. The electronic signature technology has an effect on not only the determination of the alteration of original data but also prevention of spoofing or denial on the Internet.
Providing an apparatus that processes an electronic document (e.g., video data) with a function of verifying the electronic signature allows the apparatus to verify the electronic signature to determine whether the electronic document is reliable before processing the electronic document. In addition, it is possible to realize an apparatus capable of changing the action for the electronic document in accordance with the result of the determination.
US Patent Publication No. 2002-0080959 discloses a technology of adding a certification mark to an electronic document and printing the electronic document with the certification mark added if the verification of the electronic signature succeeds or printing the electronic document without the certification mark if the verification of the electronic signature fails.
However, in the technology disclosed in US Patent Publication No. 2002-0080959, determination of how to process the data after verifying the electronic signature affixed to data, such as the electronic document, depends on a verifier (a person who verifies the electronic signature) of the electronic signature or the verification apparatus. In other words, the data may not be processed as intended by a signer (a person who generates the electronic signature) after the electronic signature is verified. Accordingly, the verifier may be able to print the falsified electronic document despite the fact that the signer wanted to prevent the altered (e.g., falsified) electronic document from being printed. Furthermore, it is not easy to change the manner in which the electronic document or partial images in the electronic document is processed or controlled after the verification.
An embodiment of the present invention provides a method capable of enabling an execution of a process (e.g., an action) as intended by a signer after an electronic signature affixed to an electronic document is verified.
An embodiment of the present invention also provides a method of generating image data with an electronic signature, to which a process (e.g., action) as intended by the signer can be performed.
According to an embodiment of the present invention, an image processing method includes generating an electronic signature to be affixed to image data, and generating control information used for controlling an action for the image data based on a result of verification of the electronic signature. The method further includes integrating the image data, the electronic signature, and the control information to generate integrated data and transmitting the integrated data.
According to another embodiment of the present invention, an image processing method includes receiving image data, an electronic signature affixed to the image data, and control information, and verifying the electronic signature based on the image data and the electronic signature. The method further includes controlling an action for the image data based on the control information and a result of verification of the electronic signature.
According to yet another embodiment of the present invention, an image processing apparatus includes an electronic signature generating unit, a control information generating unit and a transmitting unit. The electronic signal generating unit is configured to generate an electronic signature to be affixed to image data. The control information generating unit is configured to generate control information used for controlling an action for the image data based on a result of verification of the electronic signature. The transmitting unit is configured to integrate the image data, the electronic signature, and the control information to generate integrated data and to transmit the integrated data.
According to further another embodiment of the present invention, an image processing apparatus includes a receiving unit, an electronic signature verifying unit and a controlling unit. The receiving unit is configured to receive image data, an electronic signature affixed to the image data, and control information. The electronic signature verifying unit is configured to verify the electronic signature based on the image data and the electronic signature. The controlling unit is configured to control the action for the image data based on the control information and a result of the verification of the electronic signature in the electronic signature verifying unit.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings. It is noted that the references to “an” or “one” embodiment of this disclosure are not necessarily directed to the same embodiment, and such references mean at least one.
First Exemplary Embodiment
A host computer 201 according to an embodiment of the present invention will be described with reference to a block diagram shown in
The host computer 201 also includes a central processing unit (CPU) 203, a read only memory (ROM) 204, and a random access memory (RAM) 205. The CPU 203 controls the components in the host computer 201 and executes programs loaded in the RAM 205. The ROM 204 stores a basic input/output system (BIOS) and a boot program. The RAM 205 temporarily stores programs and image data to be processed in the CPU 203. The programs used by an operating system (OS) or the CPU 203 to perform various processes described below are loaded in the RAM 205.
The host computer 201 further includes a hard disk (HD) 206, a compact disk-read only memory (CD-ROM) drive 207, and a floppy disk (FD) drive 208. The HD 206 stores the OS and the programs to be transferred to the RAM 205 and the like. The image data is stored in and read out from the HD 206 while the apparatus is running. The CD-ROM drive 207 reads out data stored in a CD-ROM (or a compact disk recordable (CD-R)), which is an external storage medium, and writes the data in the CD-ROM (or CD-R). The FD drive 208 reads out data stored in a FD and writes the data in the FD, like the CD-ROM drive 207.
The host computer 201 further includes a digital versatile disk-read only memory (DVD-ROM) (digital versatile disk-random access memory (DVD-RAM) drive 209. The DVD-ROM (DVD-RAM) drive 209 reads out data stored in a DVD-ROM and writes the data in a DVD-RAM, like the CD-ROM drive 207. When programs for image processing are stored in the CD-ROM, the FD, the DVD-ROM, or the like, the programs are installed in the HD 206 and are transferred to the RAM 205, if necessary.
The host computer 201 further includes an interface (I/F) 211 and an interface (I/F) 215. The I/F 211 interfaces between the host computer 201 and a network interface card (NIC) 210 connected to a network, such as the Internet. The host computer 201 transmits and receives data to and from the Internet through the I/F 211. The I/F 215 interfaces between a mouse 213 or a keyboard 214 and the host computer 201. Various instructions input with the mouse 213 or the keyboard 214 are supplied to the CPU 203 through the I/F 215.
The host computer 201 is capable of storing the image data in the HD 206, the CD-ROM, the FD, and the DVD and displaying the stored image data in the monitor 202.
The host computer 201 is also capable of using the NIC 210 to deliver the image data over the Internet. The various instructions etc. issued from a user are input with the mouse 213 and the keyboard 214. Blocks, described below, in the host computer 201 are connected to each other via a bus 216 to transfer a variety of data.
The electronic document generating apparatus 301 includes a paper document receiver 304, a structured data generator 305, an electronic signature generator 307, a control information generator 318, an information adder 308, an electronic document integrator 309, and an electronic document transmitter 310. The paper document receiver 304 receives a paper document 303. The structured data generator 305 analyzes the paper document 303 to generate structured data. The electronic signature generator 307 generates an electronic signature by the use of the structured data and a secret key 306 (e.g., private key). The control information generator 318 generates control information used for controlling an action associated with an electronic document. The control information generator 318 may include a display unit in which the control information is displayed. The information adder 308 associates the control information acquired from the control information generator 318 and the electronic signature acquired from the electronic signature generator 307 with the structured data. The electronic document integrator 309 integrates the structured data, the electronic signature, and the control information with each other to generate an electronic document 311. The electronic document transmitter 310 transmits the electronic document 311 to the electronic document processing apparatus 302.
The electronic document processing apparatus 302 includes an electronic document receiver 312, an electronic document decomposer 313, an electronic signature verifier 315, a control information interpreter 316, and an action performer 317. The electronic document receiver 312 receives the electronic document 311. The electronic document decomposer 313 decomposes the integrated electronic document 311 to acquire the structured data, the electronic signature, and the control information. The electronic signature verifier 315 verifies the electronic signature on the basis of the structured data, the electronic signature, and a public key 314. The control information interpreter 316 interprets the control information. The action performer 317 processes, edits, or prints the decomposed electronic document in accordance with the verification result of the electronic signature and the control information.
The above blocks will be described in more detail below.
First, the blocks in the electronic document generating apparatus 301 will be described.
The paper document receiver 304 receives the paper document 303 to digitize the paper document into image data with the scanner 101 having a photoelectric conversion function.
The structured data generator 305 will be described in detail with reference to
As the result of the area division in Step S401, the process generates structural information. The structural information indicates the attribute of each partial area given by the area division and layout information, for example, the positional coordinate in the image corresponding to the above screen.
In Step S402, the process generates transmitted information for every partial area yielded in Step S401. The transmitted information is image information required for rendering of the partial area. In an embodiment, if the partial area includes a picture or a natural image, the image information corresponding to the partial area is color raster data or monochrome raster data. If the partial area includes a line drawing or characters, the image information is vector data resulting from vector representation of the outline of an object in the area. If the partial area includes characters, the image information is text information including the position of each character code as a result of character recognition and font information. However, the transmitted information is not limited to the above examples and another information yielded from the original image information may be used as the transmitted information. For example, if the partial area includes characters, audio information resulting from electronic pronunciation of the characters included in the partial area may be used as the transmitted information.
According to the first embodiment of the present invention, if the electronic document generating apparatus 301 receives the image data representing the image shown in
In Step S403, the process associates the structural information generated in Step S401 with the transmitted information generated in Step S402. The associated information is described in a tree structure, as the one shown in
In Step S404, the process stores the generated data groups as the structured data. The data groups are stored in a format that can be represented in the tree structure shown in
The electronic signature generator 307 in
In the process of generating the electronic signature in
The electronic signature may be generated from all the transmitted information in the structured data or may be generated from any part of the transmitted information in the structured data. In addition, the electronic signature may be generated for the structural information. Although the signature data described in the XML format is used as the electronic signature data in the first embodiment of the present invention, the electronic signature may be described in another format.
The secret key 306 supplied to the electronic signature generator 307 may be selected from multiple secret keys that are stored in advance by the signer of the electronic document in a storage unit (for example, the HD 206), which is hardware, in the electronic document generating apparatus 301. Alternatively, the secret key 306 may be read from a storage medium, such as an IC card, connected to the electronic document generating apparatus 301.
The control information generator 318 in
The control information is grouped into the following three types. The information of the first type indicates an operation type which the electronic document processing apparatus 302, which has received the electronic document, possibly performs to a partial area to which the electronic signature is affixed (signed area) in the electronic document. For example, this operation type corresponds to printing or displaying of the image represented by the input data. Specifically, the operation type corresponds to elements 802 or 807 in
The control information is not limited to the above three types. For example, only the control information if the verification of the electronic signature fails may be provided or only the control information if the verification of the electronic signature succeeds may be provided. Alternatively, the user may select a type of the control information.
Although the “transmitted information a” is targeted at in the above description, it is possible to perform the control for every transmitted information by describing the control information for “transmitted information b”.
As for the control information shown in
The information adder 308 in
An example in which the electronic signature is affixed to the transmitted information for the color picture area 503 and the transmitted information for the character area 506, in the image data in
Referring to
The information adder 308 adds control information 1609 and control information 2610 generated in the control information generator 318 to the transmitted information a 601 and the transmitted information b 602 in
The control information may be individually added to the transmitted information, as in the example shown in
The electronic document integrator 309 in
The transmitted information a 601, the transmitted information b 602, the structural information 603, the electronic signature 604, the electronic signature 605, the control information 1609, and the control information 2610 in the structured data shown in
The electronic document transmitter 310 transmits the data integrated by the electronic document integrator 309 to the electronic document processing apparatus 302 as the electronic document 311.
Next, the functional blocks in the electronic document processing apparatus 302 will be described.
The electronic document receiver 312 receives the electronic document 311 transmitted from the electronic document transmitter 310.
The electronic document decomposer 313 decomposes the elements 701 to 707 in the electronic document 311, which are integrated into the electronic document 708 in
The electronic signature verifier 315 in
The electronic signature verifier 315 can use any suitable method of verifying an electronic signature to verify the electronic signature affixed to the signed area in the electronic document 311.
In the process of verifying the electronic signature in
The electronic signature verifier 315 determines whether the digest value 1809 coincides with the signature data 1810 decrypted with the public key 1811. The information concerning the public key 1811 is stored in advance in the electronic document processing apparatus 302.
The control information interpreter 316 and the action performer 317 in
The control information interpreter 316 refers to the control information in the electronic document to determine whether or not an action can be actually performed to the target signed area. The action performer 317 performs the action determined to be allowable by the control information interpreter 316.
An example in which the control information shown in
Referring to
In Step S1102, the process acquires structural information from the electronic document 311. The partial areas described in the structural information are sequentially targeted at in the steps subsequent to Step S1102.
In Step S1103, the process determines whether the process of generating the electronic signature is performed to the transmitted information associated with the target partial area. If the electronic signature is generated (“Yes” in Step S1103), the process proceeds to Step S1104. If the electronic signature is not generated (“No” in Step S1103), the process proceeds to Step S1105.
In Step S1104, the process determines whether the transmitted information associated with the target partial area is to be controlled. This determination can be made on the basis of the element 801 in
In Step S1105, the process performs a process for a non-target area to the transmitted information associated with the target partial area.
According to the first embodiment of the present invention, the content of the transmitted information is rendered on the image information of a page to be transmitted to the printer. For example, if the transmitted information is color raster data, the raster pixels in the color raster data are copied into the corresponding area in the image of one page. If the transmitted information is vector data, vectors are drawn on the image of one page in accordance with the vector data.
In Step S1106, the process verifies the electronic signature affixed to the target partial area.
In Step S1107, the process determines whether the verification of the electronic signature in Step S1106 succeeds. If the process determines that the verification of the electronic signature in Step S1106 succeeds (“Yes” in Step S1107), the process proceeds to Step S1108. If the process determines that the verification of the electronic signature in Step S1106 fails (“No” in Step S1107), the process proceeds to Step S1109.
In Step S1108, the process performs a process when the verification of the electronic signature affixed to the transmitted information described in the control information succeeds.
In Step S1108, when the verification of the electronic signature succeeds, rendering is performed, as in Step S1105, so that the partial area is normally printed as the action following the instruction 804 to print the target image, in
In Step S1109, the process performs a process when the verification of the electronic signature affixed to the transmitted information described in the control information fails.
In Step S1109, when the verification of the electronic signature fails, rendering is performed so that the partial area is blacked out, as the action following the instruction 806 to black out and print the target image, in
In Step S1110, the process determines whether all the partial areas are processed. If the process determines that all the partial areas are processed (“Yes” in Step S1110), the process is terminated. If the process determines that the partial areas that are not processed exist (“No” in Step S1110), the process goes back to Step S1103 and repeats the above steps.
If the electronic document is not altered (e.g., not falsified), a print having the same appearance as the image in
An example in which the control information shown in
If the electronic document is not altered, a selection window is displayed, allowing the user to select the instruction 904 to print the image with the certification mark or the instruction 905 to normally print the image. This selection window can be realized with the monitor 202 when the host computer 201 is applied to the electronic document processing apparatus 302.
The image is printed in a manner selected by the user.
If the data in the color picture area 503 is altered (e.g., falsified), the control information in
Consequently, the process reflecting the intention of the signer can be performed as postprocessing of the verification of the electronic signature both in the case where the verification of the electronic signature succeeds and in the case where the verification of the electronic signature fails.
According to the first embodiment of the present invention, when the signer affixes the electronic signature to the electronic document (for example, an image including multiple partial images), the selected action (control information) for the electronic document in accordance with the result of the verification of the electronic signature, desired by the signer, is added to the electronic document (the partial image and the electronic signature). The apparatus performing the action for the electronic document can control the process as intended by the signer on the basis of the action (control information), after the verification of the electronic signature is terminated.
Second Exemplary Embodiment
An imaging unit 1603 in the image capturing apparatus 1601 captures a subject to generate image data. An electronic signature generator 1604 uses a secret key 1605 to generate an electronic signature for the image data. The secret key 1605 may be stored in the image capturing apparatus 1601 or may be loaded from an external storage medium into the image capturing apparatus 1601.
A control information generator 1606 generates control information corresponding to an action in accordance with the image data and the verification result of the electronic signature affixed to the image data. An information adder 1607 adds the electronic signature and the control information to the image data. A data integrator 1608 integrates the image data, the electronic signature, and the control information, as in the first embodiment.
A data storage unit 1609 stores the data integrated in the data integrator 1608. A data transmitter 1610 transmits integrated data 1611 to the printing apparatus 1602. A integrated data receiver 1612 communicates with the data transmitter 1610 to receive the integrated data 1611.
A integrated data decomposer 1613 decomposes the integrated data 1611 received by the integrated data receiver 1612 to acquire the image data, the electronic signature, and the control information. An electronic signature verifier 1615 uses a public key 1614 to verify the electronic signature.
A control information interpreter 1616 interprets the control information to instruct an action in accordance with the verification result of the electronic signature affixed to the image data. A printing unit 1617 prints the image data in accordance with the instruction issued from the control information interpreter 1616. A display unit 1618 displays the image data in accordance with the instruction issued from the control information interpreter 1616.
For example, the electronic signature of a photographer (signer) is affixed to the image captured by the image capturing apparatus 1601 according to the second embodiment of the present invention, and the control information shown in
Next, the image capturing apparatus 1601 is connected to the printing apparatus 1602 in order for a user to print the data in the image capturing apparatus 1601 with the printing apparatus 1602. Specifying printing in a display unit in the image capturing apparatus 1601 or the printing apparatus 1602 causes the data to be loaded into the printing apparatus 1602 to verify the electronic signature affixed to the image data and to interpret the control information.
If the image data is not falsified, normal printing is performed in accordance with a description when the verification of the electronic signature succeeds, shown in
Consequently, the process as intended by the signer can be performed as postprocessing of the verification of the electronic signature both in the case where the verification of the electronic signature succeeds and in the case where the verification of the electronic signature fails.
According to the second embodiment of the present invention, when the photographer (signer) affixes the electronic signature to the image data captured by the image capturing apparatus, the selected action (control information) for the image data in accordance with the result of the verification of the electronic signature, desired by the photographer, is added to the image data. The apparatus performing the action for the image data can control the process as intended by the photographer on the basis of the action (control information), after the verification of the electronic signature is terminated.
Third Exemplary Embodiment
According to a third embodiment of the present invention, an electronic signature may be affixed also to the control information, and the action for the electronic document may be controlled in accordance with the result of the verification of the electronic signature affixed to the control information.
For example, when a critical action is performed to the electronic document to which the electronic signature is affixed on the basis of the control information, the reliability of the control information becomes important. Accordingly, the affixture of the electronic signature to the control information can ensure the reliability of the control information.
If the verification of the electronic signature affixed to the control information succeeds, the critical action is performed. If the verification of the electronic signature affixed to the control information fails, a description of a relatively less critical action is included in the control information.
Consequently, the process as intended by the signer can be performed as postprocessing of the verification of the electronic signature in the apparatus processing the electronic document.
According to the first to third embodiments of the present invention, it is possible to control the process as intended by the signer on the basis of the result of the verification of the electronic signature affixed to the electronic document.
Other Exemplary Embodiments
The image data according to the present invention is not limited to the electronic document including characters and picture images. The image data may include only an image compressed in, for example, Joint Photographic Experts Group (JPEG) format or may include only characters described in ASCII codes.
The actions for the image data according to the present invention are not limited to the display and printing. The image data may be read out or edited.
According to the present invention, it is enough to associate the control information, the electronic signature, the structural information, and so on with each other with respect to the positional information. The control information, the electronic signature, the structural information, and so on may not be integrated into one or more files, unlike the example shown in
The present invention is not limited to the apparatus and method that realize the above embodiments. The present invention can be embodied by supplying the program code of software realizing the functions according to the above embodiments to the computer (or the CPU or the micro processing unit (MPU)) in the system or the apparatus, the computer in the system or apparatus operating the various devices in accordance with the program code.
In this case, the program code itself realizes the functions of the embodiments described above. The present invention is applicable to the program code and means for supplying the program code to the computer, specifically, to the storage medium having the program code stored therein.
The storage medium supplying the program code may be any storage medium, such as a floppy disc (registered trademark), a hard disk, an optical disk, a magneto-optical disc, a CD-ROM, a magnetic tape, a nonvolatile memory card, or a ROM.
The computer that controls the various devices only in accordance with the supplied program code realizes the functions of the embodiments described above. In addition, the present invention is applicable to the program code also when the above embodiments are realized by the program code that is executed together with the operating system (OS) or another application software running on the computer.
Alternatively, the CPU or the like which is provided in an expansion board included in the computer or in an expansion unit connected to the computer may execute all or part of the processing based on instructions in the program code to realize the embodiments described above.
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 modifications, equivalent structures and functions.
This application claims the benefit of Japanese Application No. 2005-262655 filed Sep. 9, 2005, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2005-262655 | Sep 2005 | JP | national |