The present application is based on Japanese Patent Application No. 2007-186505 filed with Japanese Patent Office on Jul. 18, 2007, the entire content of which is hereby incorporated by reference.
1. Field of the Invention
The present invention relates to an encrypted data processing method, an encrypted data processing program and an encrypted data processing apparatus to process encrypted print data.
2. Description of Related Art
In recent years, there have been proliferated in the market various kinds of copiers or multi-functional peripherals (hereinafter, generally referred to as an image forming apparatus), each provided with a combination of plural functions, such as a copy function, a facsimile function, a printer function, a scanner function, etc. When such an image forming apparatus is employed to perform a printing operation, at first, document data is created by using the application program installed in a computer apparatus connected to a communication network, after that, the created document data is converted to print data in the Page Description Language (PDL) format, and is transmitted to the image forming apparatus. After receiving the print data, the image forming apparatus converts the print data to bitmap data, and conducts printing.
In the course of transmitting the print data from the computer apparatus to the image forming apparatus, there exists the risk that the print data is illegally used in another computer apparatus connected to the communication network, therefore, the methods of transmitting the print data as an encrypted data to the image forming apparatus have been employed. For example, Unexamined Japanese Patent Application Publication No. 2004-185,566 discloses a print server apparatus including: a print data receiving means which receives the print data encrypted and attached with a user ID from a print client apparatus; a print data decrypting means to decrypt the print data; and a printer control means which allows a printing apparatus to print the print data attached with the same user ID as the user ID corresponding to user identification information stored in the card inserted in the connected card reader.
In cases where an image forming apparatus executes encrypted print data processing, conventionally employed is a method of adding a pre-data processing for discriminating if the print data is encrypted data, in addition to a normal data analysis processing such as analyzing and converting the print data of PDL format into bitmap data. For this purpose, two functions are needed for executing two separate data analysis processing. This method causes a complicated structure and raises cost of the apparatus, and further decreases processing performance of the image forming apparatus due to the complicated data analysis processing.
The present invention has been accomplished in view of the above problem, and the main object is to provide an encrypted data processing method, an encrypted data processing program and an encrypted data processing apparatus, those enabling simplified encrypted data processing.
To achieve at least one of the abovementioned objects, a method reflecting one aspect of the present invention is the method for processing encrypted data to be employed in a printing system including a host which transmits print data, or encrypted data formed by encrypting the print data, and an image forming apparatus connected with the host via a communication network to execute printing based on the print data, the method includes:
a first step of determining, in the image forming apparatus, whether transmitted data from the host is the encrypted data;
a second step of executing printing process in cases where the transmitted data is not the encrypted data, and decrypting the encrypted data in cases where the transmitted data is the encrypted data; and
a third step of executing printing process in cases where the decryption has been successfully executed, and storing the encrypted data into a storage section in cases where the decryption has failed.
In the above encrypted data processing method, it is preferable to further include:
a fourth step of reading the encrypted data from the storage section in cases where a password has been inputted;
a fifth step of decrypting the encrypted data based on the password; and
a sixth step of executing printing process in cases where the decryption in the fifth step has been successfully executed, and executing error processing incases where the decryption in the fifth step failed.
In the above encrypted data processing method, it is preferable to have a configuration where, in the first step, whether the transmitted data is the encrypted data is determined based on whether a specific keyword is included in the transmitted data.
These and other objects, advantages and features of the invention will become apparent from the following description thereof taken in conjunction with the accompanying drawings in which:
As explained in the description of the related art, in order to prevent illegal use of print data, a method is conventionally employed where a computer apparatus transmits encrypted data, formed by encrypting the print data, and in an image forming apparatus, the transmitted data is determined if it is encrypted data, and in the case of encrypted data, a password for decryption is inputted, and in cases where correct password is inputted, the printing process is executed.
In the abovementioned conventional method, generally employed are: pre-data analysis processing to determine, before the usual data analysis processing in a data analysis section, if the transmitted data is encrypted data; storing processing to store the data, in the case of encrypted data, into a storage section such as an HDD; and decrypting processing to decrypt the encrypted data based on the password inputted through an operation section such as an operation panel. Namely, for the data analysis processing, prerequisite is that the encrypted data and the correct password are inputted as a combination, and if the correct password is not inputted, it is determined to be an analysis error and terminated as an error termination. Therefore, the pre-data analysis processing is necessary, which is required of the same level of data analysis processing as that of normal data analysis processing. This method causes problems of a complicated structure and cost-up of the apparatus, and decreases processing performance of the image forming apparatus due to the complicated data analysis processing.
To be more specific, as shown in
In the conventional process, when the transmitted data from the host is inputted, as shown by solid bold arrows in
Further, in the case of printing the encrypted data in the conventional process, as shown by bold dashed allows in
According to such configuration that the pre-decoding (processing for determining whether the data is encrypted) in the pre-data analysis section, and the data analysis in the data analysis section are separately executed, the apparatus structure and the data analysis processing become complicated. In the present invention, however, executed steps are: determining in the data analysis section whether the transmitted data is encrypted based on whether a specific keyword is incorporated in the transmitted data; in the case of encrypted data, decrypting the encrypted data in a data decrypting processor; in the case of successful decryption, executing the printing processing; in a case of failed decryption, determining that the data requires a password input and allowing the encrypted data controller to store the encrypted data into the storage section. Further, in the case that the password is inputted, the data analysis section, allows the data decrypting processor to decrypt the encrypted data stored in the storage section, executes printing processing when successfully decrypted, and executes error processing when the decryption failed. According to this method, since the pre-data analysis processing in the pre-data analysis section can be omitted, the apparatus structure as well as the encrypted data processing can be simplified compared to the conventional method.
In order to explain the above described embodiment of the present invention in more detail, the encrypted data processing method, the encrypted data processing program and the encrypted data processing apparatus relating to the present invention will be described referring to
As shown in
Although, in
As shown in
Data analysis section 13a, in addition to execute normal data analysis processing for analyzing print data of PDL format and converting into bitmap data, determines whether the transmitted data is encrypted data based on whether a specific keyword (for example, an Encryption Dictionary object in case of PDF) is included in the transmitted data from host 20. In a case of not encrypted, data analysis section 13a issues a print request to print controller 13e, and in a case of encrypted data, calls data decryption processor 13b and allows the encrypted data to be decrypted, and in cases where data decryption processor 13b failed in decryption processing, allows encrypted data controller 13c to store the encrypted data into HDD 15.
Data decryption processor 13b executes processing of decrypting the encrypted data based on a predetermined table by the instruction of data analysis section 13a.
Encrypted data controller 13c stores the encrypted data into the storage section such as HDD according to the instruction of data analysis section 13a, and receiving an input of password from operation panel controller, transmits the stored encrypted data together with the password onto data analysis section 13a.
Operation panel controller 13d allows the operation panel to display a screen for requesting a password input, and transmits the inputted password onto encrypted data controller 13c.
Print controller 13e processes a generated event of print processing based on the print request from data analysis section 13a. Print controller 13e executes control of print operation, for example, allowing engine 17 to start printing and performing error processing.
Printing section 13f converts the bitmap data into video signals and outputs to engine 17, and allows engine 17 (printer section) to conduct printing.
In
Although, concrete structure of image forming apparatus 10 is not specifically restricted, a structure shown in
Next, processing procedure of the encrypted data in the above image forming apparatus 10 will be described by referring to a block diagram of
The processing procedure at the time of storing encrypted data is shown by bold solid allows in
Next, in Step S101, image forming apparatus 10 receives the transmitted data through communication I/F section 16 from host 20, and sends the transmitted data to data analysis section 13a.
In the conventional image forming apparatus, the transmitted data is sent to pre-data analysis section, and the pre-data analysis section executes the same level of analysis processing as the normal data analysis processing to determine whether the transmitted data is encrypted, however, in image forming apparatus 10 of the present embodiment, data analysis section 13a determines whether the transmitted data is encrypted based on whether a specific keyword is included in the transmitted data in Step S102. For example, in cases where the transmitted data is PDF data as shown in
Then, in cases where the transmitted data is not an encrypted data (namely, the specific keyword is not included), since there is no need to decrypt the transmitted data, in Step S110, data analysis section 13a analyzes the print data and converts into bitmap data, and issues print request to print controller 13e, and print controller 13e executes an event processing, printing section 13f converts the bitmap data to video signals and outputs onto engine 17 to allow engine 17 to execute printing.
Meanwhile, in cases where the transmitted data is encrypted (namely, the specific keyword is included), in Step S104, data analysis section 13a calls data decryption processor 13b and allows data decryption processor 13b to execute decryption processing.
Then, in cases where the decryption processing has been correctly executed until the last of the transmitted data (Yes, step S105), in Step S106, data analysis section 13a converts the decrypted print data into bitmap data, and issues print request to print controller 13e. The print controller 13e executes event processing, and printing section 13f converts the bitmap data into video signals to output to engine 17, and allows engine 17 to execute printing.
In contrast, in cases where the decryption processing has not been correctly executed (No, in step S105), data analysis section 13a determines, in Step S107, whether the password is specified with the transmitted data, and if the decryption processing is failed even when the password is specified, processes as an analysis error (incorrect password) in Step S108.
Further, when the password is not specified, since it can be determined that the decryption processing has failed because the password is not specified, data analysis section 13a does not invoke error termination, but determines the transmitted data to be the encrypted data requiring a password, and in Step S109 allows encrypted data controller 13c to store the encrypted data into HDD15.
The processing procedure at the time of printing the encrypted data is shown by bold dashed allows in
And, in cases where the specified data is not encrypted data (in the case of No, in Step S203), since there is no need to decrypt the transmitted data, in Step S208, data analysis section 13a converts the specified data (print data) into bitmap data and issues print request to print controller 13e, print controller 13e executes an event processing, and printing section 13f converts the bitmap data to video signals and outputs onto engine 17 to allow engine 17 to execute printing.
Meanwhile, in cases where the specified data is encrypted data (in the case of Yes in step S203), in Step S204, data analysis section 13a calls data decryption processor 13b and allows data decryption processor 13b to execute decryption processing.
Then, in cases where the decryption processing has been correctly executed until the last of the transmitted data (Yes, in Step S205), in Step S206 data analysis section 13a converts the decrypted print data into bitmap data, and issues print request to print controller 13e. The print controller 13e executes event processing, and printing section 13f converts the bitmap data into video signals to output to engine 17 and allows engine 17 to execute printing.
In contrast, in cases where the decryption processing has not been correctly executed (No, in Step S205), data analysis section 13a determines, in step S207, since the decryption processing failed even when the password is specified, processes as an analysis error (incorrect password) in Step S207.
As described above, in the present embodiment, the data analysis section 13a, which conducts normal data analysis processing to analyze and convert the print data into bitmap data, determines whether the transmitted data is encrypted based on whether a specific keyword is incorporated in the transmitted data from host 20; and in cases where the transmitted data is encrypted data, allows data decrypting processor 13b to decrypt the encrypted data; in cases of failed decryption, determines that the data requires a password input and allows the encrypted data controller 13c to store the encrypted data into the storage section. Therefore, compared to the conventional image forming apparatus provided with a pre-data analysis section, the apparatus structure as well as the encrypted data processing can be simplified due to omission of the pre-data analysis processing.
Although, in the above-described embodiment, the case is shown where the transmitted data is analyzed in image forming apparatus 10, the present invention should not be restricted to this embodiment. The present invention is applicable to cases where the other apparatus such as RIP server conducts the transmitted data analysis.
The present invention is applicable to an encrypted data processing method, an encrypted data processing program, and an encrypted data processing apparatus.
Number | Date | Country | Kind |
---|---|---|---|
2007-186505 | Jul 2007 | JP | national |