JP6993610B2 - Image processing equipment and computer programs - Google Patents

Image processing equipment and computer programs Download PDF

Info

Publication number
JP6993610B2
JP6993610B2 JP2017189717A JP2017189717A JP6993610B2 JP 6993610 B2 JP6993610 B2 JP 6993610B2 JP 2017189717 A JP2017189717 A JP 2017189717A JP 2017189717 A JP2017189717 A JP 2017189717A JP 6993610 B2 JP6993610 B2 JP 6993610B2
Authority
JP
Japan
Prior art keywords
image
target image
specific
certificate
feature data
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.)
Active
Application number
JP2017189717A
Other languages
Japanese (ja)
Other versions
JP2019068168A (en
Inventor
哲 柳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2017189717A priority Critical patent/JP6993610B2/en
Publication of JP2019068168A publication Critical patent/JP2019068168A/en
Application granted granted Critical
Publication of JP6993610B2 publication Critical patent/JP6993610B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本明細書は、イメージセンサを用いて生成される対象画像データを用いる画像処理に関し、特に、対象画像データに基づいて生成すべき画像ファイルに対して電子署名を付与するための画像処理に関する。 The present specification relates to image processing using target image data generated by using an image sensor, and more particularly to image processing for imparting an electronic signature to an image file to be generated based on the target image data.

従来から、画像ファイルに対して電子署名を付与することが行われている。例えば、特許文献1のWEBサーバは、ネットワークを介して受信した画像データを処理してPDFファイルを生成し、該PDFファイルに電子署名を付与した上でネットワークを介して外部機器に送信する。 Conventionally, an electronic signature has been given to an image file. For example, the WEB server of Patent Document 1 processes image data received via a network to generate a PDF file, adds an electronic signature to the PDF file, and then transmits the PDF file to an external device via the network.

特開2006-101218号公報Japanese Unexamined Patent Publication No. 2006-101218 特表2001-523844号公報Japanese Patent Publication No. 2001-523844

しかしながら、例えば、上記技術では、電子署名を付与するか否かの決定について、十分に工夫されているとは言えなかった。このために、例えば、ユーザからの指示を取得する必要が生じ、適切に電子署名を付与するためには、ユーザに負担をかける可能性があった。 However, for example, in the above technique, it cannot be said that the determination of whether or not to give an electronic signature is sufficiently devised. For this reason, for example, it becomes necessary to acquire an instruction from the user, which may impose a burden on the user in order to appropriately assign a digital signature.

本明細書は、電子署名を付与すべき場合に、ユーザに負担をかけることなく、適切に電子署名を付与できる技術を開示する。 This specification discloses a technique that can appropriately give an electronic signature without imposing a burden on the user when the electronic signature should be given.

本明細書に開示された技術は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の適用例として実現することが可能である。 The techniques disclosed herein have been made to solve at least a portion of the above problems and can be realized as the following application examples.

[適用例1]原稿の画像を含む対象画像の対象画像データであって、イメージセンサを用いて生成される前記対象画像データの少なくとも一部を取得する画像取得部と、前記対象画像データの少なくとも一部を解析することによって、前記対象画像内に、前記原稿に記された署名および前記原稿に押印された印影との少なくとも一方を示す特定画像が含まれるか否かを判断する判断部と、前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像データに基づいて生成すべき画像ファイルに対して特定の電子署名を付与することを決定し、前記対象画像内に前記特定画像が含まれないと判断する場合に、前記画像ファイルに対して前記特定の電子署名を付与しないことを決定する、署名決定部と、を備える、画像処理装置。 [Application Example 1] An image acquisition unit that acquires at least a part of the target image data generated by using an image sensor, which is the target image data of the target image including the image of the original, and at least the target image data. A determination unit for determining whether or not the target image includes a specific image showing at least one of the signature written on the manuscript and the imprint imprinted on the manuscript by analyzing a part of the target image. When it is determined that the specific image is included in the target image, it is determined to give a specific electronic signature to the image file to be generated based on the target image data, and the target image is described. An image processing apparatus including a signature determination unit that determines not to give the specific electronic signature to the image file when it is determined that the specific image is not included.

上記構成によれば、対象画像データの少なくとも一部を解析することによって対象画像内に特定画像が含まれるか否かを判断し、該判断に応じて特定の電子署名を付与するか否かを決定する。この結果、電子署名を付与すべき場合に、ユーザに負担をかけることなく、適切に電子署名を付与することを決定できる。
[適用例2]
適用例1に記載の画像処理装置であって、
前記署名決定部は、前記対象画像内に前記特定画像が含まれないと判断する場合に、前記画像ファイルに対して電子署名を付与しないことを決定する、画像処理装置。
[適用例3]
適用例1に記載の画像処理装置であって、
前記署名決定部は、前記対象画像内に前記特定画像が含まれないと判断する場合に、前記画像ファイルに対して前記特定の電子署名とは異なる電子署名を付与することを決定する、画像処理装置。
[適用例4]
適用例1~3のいずれかに記載の画像処理装置であって、さらに、
複数個の前記特定画像の特徴を示す複数個の特徴データと、前記複数個の特徴データと複数個の証明書との対応関係を示す情報と、を含む特徴情報を取得する特徴情報取得部と、
前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像内の前記特定画像を示す部分画像データを解析することによって、前記特徴情報に含まれる前記複数個の特徴データの中から、前記対象画像内の前記特定画像に対応する対応特徴データを決定する特徴決定部と、
を備え、
前記署名決定部は、前記複数個の証明書のうち、前記対応特徴データに対応する対応証明書を用いて前記特定の電子署名を付与することを決定する、画像処理装置。
[適用例5]
適用例4に記載の画像処理装置であって、さらに、
前記対象画像データに基づく画像ファイルの生成を指示する指示ユーザを特定するユーザ特定部と、
前記複数個の証明書のそれぞれの権限者を示す権限者情報を参照して、前記指示ユーザが、前記対応証明書の前記権限者であるか否かを判断する権限判断部と、
前記指示ユーザが、前記対応証明書の前記権限者と異なる場合に、前記権限者から前記対応証明書の使用許可を取得する許可取得部と、
前記使用許可の取得後に、前記対応証明書を用いて前記特定の電子署名を付与済みの前記画像ファイルを出力するファイル出力部と、
を備える、画像処理装置。
[適用例6]
適用例4に記載の画像処理装置であって、さらに、
前記対象画像データに基づく画像ファイルの生成を指示する指示ユーザを特定するユーザ特定部と、
前記複数個の証明書のそれぞれの権限者を示す権限者情報を参照して、前記指示ユーザが、前記対応証明書の前記権限者であるか否かを判断する権限判断部と、
を備え、
前記署名決定部は、
前記指示ユーザが、前記対応証明書の前記権限者である場合に、前記対応特徴データに対応する対応証明書を用いて前記特定の電子署名を付与することを決定し、
前記指示ユーザが、前記対応証明書の前記権限者と異なる場合に、前記対応特徴データに拘わらずに、所定の証明書を用いて前記特定の電子署名を付与することを決定する、画像処理装置。
[適用例7]
適用例4に記載の画像処理装置であって、さらに、
前記対象画像データに基づく画像ファイルの生成を指示する指示ユーザを特定するユーザ特定部を備え、
前記署名決定部は、複数個の前記対応証明書がある場合には、前記複数個の証明書のそれぞれの権限者を示す権限者情報を参照して、前記複数個の対応証明書のうち、前記指示ユーザが前記権限者である証明書を用いて前記特定の電子署名を付与することを決定する、画像処理装置。
[適用例8]
適用例7に記載の画像処理装置であって、
前記署名決定部は、前記複数個の対応証明書の中に、前記指示ユーザが前記権限者である証明書がない場合には、前記複数個の対応証明書の中から、所定の優先順位に従って選択される証明書を用いて前記特定の電子署名を付与することを決定する、画像処理装置。
[適用例9]
適用例5~8のいずれかに記載の画像処理装置であって、
前記対応証明書の前記権限者は、前記対応証明書の所有者と、前記所有者とは異なる者であって前記対応証明書を使用する権限を有する者と、を含む、画像処理装置。
[適用例10]
適用例4~9のいずれかに記載の画像処理装置であって、さらに、
前記複数個の特徴データの中に、前記対象画像内の前記特定画像に対応する対応特徴データがない場合に、利用可能な2以上の証明書の中から使用すべき使用証明書を選択する選択指示をユーザから取得する指示取得部を備え、
前記署名決定部は、前記特徴情報に含まれる前記複数個の特徴データの中に、前記対象画像内の前記特定画像に対応する対応特徴データがない場合に、前記選択指示に基づいて選択される前記使用証明書を用いて前記特定の電子署名を付与することを決定する、画像処理装置。
[適用例11]
適用例10に記載の画像処理装置であって、さらに、
前記特徴情報に含まれる前記複数個の特徴データの中に、前記対象画像内の前記特定画像に対応する対応特徴データがない場合に、前記対象画像内の前記特定画像を示す部分画像データを解析することによって生成される前記対象画像内の前記特定画像の前記特徴データと、前記対象画像内の前記特定画像の前記特徴データと前記使用証明書とが対応することを示す情報と、を前記特徴情報に追加する追加処理部を備える、画像処理装置。
According to the above configuration, it is determined whether or not a specific image is included in the target image by analyzing at least a part of the target image data, and whether or not a specific electronic signature is given according to the determination. decide. As a result, when the electronic signature should be given, it can be determined to appropriately give the electronic signature without imposing a burden on the user.
[Application example 2]
The image processing apparatus according to Application Example 1.
An image processing device that determines not to give an electronic signature to the image file when the signature determination unit determines that the specific image is not included in the target image.
[Application example 3]
The image processing apparatus according to Application Example 1.
When the signature determination unit determines that the specific image is not included in the target image, the image processing determines that the image file is given an electronic signature different from the specific electronic signature. Device.
[Application example 4]
The image processing apparatus according to any one of Application Examples 1 to 3, and further.
A feature information acquisition unit that acquires feature information including a plurality of feature data indicating the features of the plurality of specific images and information indicating a correspondence relationship between the plurality of feature data and the plurality of certificates. ,
When it is determined that the specific image is included in the target image, by analyzing the partial image data indicating the specific image in the target image, among the plurality of feature data included in the feature information. From the feature determination unit that determines the corresponding feature data corresponding to the specific image in the target image,
Equipped with
The signature determination unit is an image processing device that determines to assign the specific electronic signature by using the corresponding certificate corresponding to the corresponding feature data among the plurality of certificates.
[Application example 5]
The image processing apparatus according to the application example 4, further.
A user identification unit that specifies an instruction user instructing generation of an image file based on the target image data, and a user identification unit.
An authority determination unit that determines whether or not the instructing user is the authority of the corresponding certificate by referring to the authority information indicating the authority of each of the plurality of certificates.
When the instructing user is different from the authorized person of the corresponding certificate, the permission acquisition unit for acquiring the permission to use the corresponding certificate from the authorized person, and the permission acquisition unit.
After obtaining the license, a file output unit that outputs the image file to which the specific electronic signature has been given by using the corresponding certificate, and a file output unit.
An image processing device.
[Application example 6]
The image processing apparatus according to the application example 4, further.
A user identification unit that specifies an instruction user instructing generation of an image file based on the target image data, and a user identification unit.
An authority determination unit that determines whether or not the instructing user is the authority of the corresponding certificate by referring to the authority information indicating the authority of each of the plurality of certificates.
Equipped with
The signature determination unit
When the instructing user is the authorized person of the corresponding certificate, it is determined that the specific electronic signature is given by using the corresponding certificate corresponding to the corresponding feature data.
An image processing device that determines that when the instructing user is different from the authorized person of the corresponding certificate, the specific electronic signature is given by using a predetermined certificate regardless of the corresponding feature data. ..
[Application 7]
The image processing apparatus according to the application example 4, further.
A user identification unit for specifying an instruction user instructing generation of an image file based on the target image data is provided.
When there are a plurality of the corresponding certificates, the signature determination unit refers to the authorized person information indicating the authorized person of each of the plurality of certificates, and among the plurality of corresponding certificates, the signature determination unit refers to the authorized person information. An image processing device that determines that the instructing user grants the specific electronic signature using the certificate of the authorized person.
[Application Example 8]
The image processing apparatus according to Application Example 7.
If the instructing user does not have a certificate in which the instructing user is the authorized person among the plurality of correspondence certificates, the signature determination unit will follow a predetermined priority from the plurality of correspondence certificates. An image processing device that determines to grant the particular digital signature using the certificate of choice.
[Application 9]
The image processing apparatus according to any one of Application Examples 5 to 8.
The authority of the correspondence certificate is an image processing apparatus including the owner of the correspondence certificate and a person different from the owner who has the authority to use the correspondence certificate.
[Application 10]
The image processing apparatus according to any one of Application Examples 4 to 9, further comprising:
Selection to select a usage certificate to be used from two or more available certificates when there is no corresponding feature data corresponding to the specific image in the target image among the plurality of feature data. Equipped with an instruction acquisition unit that acquires instructions from the user
The signature determination unit is selected based on the selection instruction when there is no corresponding feature data corresponding to the specific image in the target image among the plurality of feature data included in the feature information. An image processing device that determines to attach the specific electronic signature using the certificate of use.
[Application Example 11]
The image processing apparatus according to the application example 10, further.
When there is no corresponding feature data corresponding to the specific image in the target image among the plurality of feature data included in the feature information, partial image data indicating the specific image in the target image is analyzed. The feature data of the specific image in the target image, and information indicating that the feature data of the specific image in the target image and the usage certificate correspond to each other. An image processing device including an additional processing unit for adding to information.

なお、本明細書に開示される技術は、種々の形態で実現することが可能であり、例えば、複合機、スキャナ、画像処理方法、これら装置の機能または上記方法を実現するためのコンピュータプログラム、そのコンピュータプログラムを記録した記録媒体、等の形態で実現することができる。 The techniques disclosed in the present specification can be realized in various forms, for example, a multifunction device, a scanner, an image processing method, a function of these devices, or a computer program for realizing the above method. It can be realized in the form of a recording medium or the like on which the computer program is recorded.

第1実施例のシステム1000の構成を示すブロック図である。It is a block diagram which shows the structure of the system 1000 of 1st Embodiment. 第1実施例のスキャンデータ生成処理のフローチャートである。It is a flowchart of the scan data generation processing of 1st Example. 原稿OCおよび署名付PDFファイルの説明図である。It is explanatory drawing of the manuscript OC and the signature PDF file. 第2実施例のシステム1000bの構成を示すブロック図である。It is a block diagram which shows the structure of the system 1000b of 2nd Embodiment. 不揮発性記憶装置130bに格納される各種の情報の説明図である。It is explanatory drawing of various information stored in a non-volatile storage device 130b. 第2実施例のスキャンデータ生成処理のフローチャートである。It is a flowchart of the scan data generation processing of 2nd Example. 証明書選択処理のフローチャートである。It is a flowchart of a certificate selection process. 選択画面WPの一例を示す図である。It is a figure which shows an example of a selection screen WP. 第3実施例の原稿OCcの一例が示されている。An example of the manuscript OCc of the third embodiment is shown. 第3実施例の証明書選択処理のフローチャートである。It is a flowchart of the certificate selection process of 3rd Example. 変形例の原稿OCvの一例を示す図である。It is a figure which shows an example of the manuscript OCv of a modification.

A.第1実施例
A-1:システム1000の構成
次に、実施の形態を実施例に基づき説明する。図1は、第1実施例のシステム1000の構成を示すブロック図である。
A. First Example A-1: Configuration of System 1000 Next, an embodiment will be described based on the examples. FIG. 1 is a block diagram showing a configuration of the system 1000 of the first embodiment.

システム1000は、複合機100と、ファイルサーバ300と、を備える。複合機100とファイルサーバ300とは、ローカルエリアネットワークNTに接続されている。複合機100とファイルサーバ300とは、ローカルエリアネットワークNTを介して、互いに通信可能である。 The system 1000 includes a multifunction device 100 and a file server 300. The multifunction device 100 and the file server 300 are connected to the local area network NT. The multifunction device 100 and the file server 300 can communicate with each other via the local area network NT.

複合機100は、複合機100のコントローラとしてのCPU110と、DRAMなどの揮発性記憶装置120と、ハードディスクやフラッシュメモリなどの不揮発性記憶装置130と、画像を表示する液晶ディスプレイなどの表示部140と、ユーザによる操作を取得するためのボタンやタッチパネルなどの操作部150と、印刷実行部160と、読取実行部170と、インタフェース190と、を備えている。 The multifunction device 100 includes a CPU 110 as a controller of the multifunction device 100, a volatile storage device 120 such as a DRAM, a non-volatile storage device 130 such as a hard disk and a flash memory, and a display unit 140 such as a liquid crystal display for displaying an image. It includes an operation unit 150 such as a button and a touch panel for acquiring an operation by the user, a print execution unit 160, a read execution unit 170, and an interface 190.

印刷実行部160は、CPU110の制御に従って、印刷処理を実行する。印刷処理は、所定の方式(例えば、レーザ方式や、インクジェット方式)で、用紙(印刷媒体の一例)上に画像を印刷する処理である。読取実行部170は、CPU110の制御に従って、読取処理を実行する。読取処理は、CCDやCMOSなどの光電変換素子を含むイメージセンサを用いて光学的に文書等の原稿を読み取ることによって、読み取った画像を表すスキャンデータを生成する処理である。 The print execution unit 160 executes the print process according to the control of the CPU 110. The printing process is a process of printing an image on paper (an example of a printing medium) by a predetermined method (for example, a laser method or an inkjet method). The read execution unit 170 executes the read process according to the control of the CPU 110. The scanning process is a process of generating scan data representing a scanned image by optically scanning a document such as a document using an image sensor including a photoelectric conversion element such as a CCD or CMOS.

CPU110は、データ処理を行う演算装置(プロセッサ)である。揮発性記憶装置120は、CPU110が処理を行う際に生成される種々の中間データを一時的に格納するバッファ領域BAを提供する。不揮発性記憶装置130には、コンピュータプログラムPGが格納されている。また、不揮発性記憶装置130の一部の領域は、鍵格納部SKSおよび証明書格納部CTSとして用いられている。鍵格納部SKSには、秘密鍵SKが格納され、証明書格納部CTSには、秘密鍵SKに対応する証明書CTが格納されている。 The CPU 110 is an arithmetic unit (processor) that performs data processing. The volatile storage device 120 provides a buffer area BA that temporarily stores various intermediate data generated when the CPU 110 performs processing. The computer program PG is stored in the non-volatile storage device 130. Further, a part of the non-volatile storage device 130 is used as a key storage unit SKS and a certificate storage unit CTS. The private key SK is stored in the key storage unit SKS, and the certificate CT corresponding to the private key SK is stored in the certificate storage unit CTS.

例えば、ユーザは、自身の端末装置(図示省略)を用いて、秘密鍵SKと、該秘密鍵SKに対応する公開鍵PKと、を生成する。ユーザは、端末装置を用いて、該公開鍵PKを含む証明書署名要求(CSR:Certificate Signing Request)を生成し、当該要求を認証局(CA:Certification Authority)に送信する。これによって、ユーザは、認証局によって署名された証明書CTの暗号化データを認証局から取得する。証明書CTには、図1に示すように公開鍵PKが含まれる。ユーザは、秘密鍵SKを用いて該暗号化データを復号して証明書CTを取得する。このようにして、秘密鍵SKと証明書CTとの組が取得される。そして、ユーザの操作に基づいて、秘密鍵SKと証明書CTは、複合機100の鍵格納部SKSおよび証明書格納部CTSに格納・保存される。 For example, the user uses his / her own terminal device (not shown) to generate a private key SK and a public key PK corresponding to the private key SK. The user uses the terminal device to generate a certificate signing request (CSR) including the public key PK, and sends the request to a certificate authority (CA). As a result, the user obtains the encrypted data of the certificate CT signed by the certificate authority from the certificate authority. The certificate CT includes a public key PK as shown in FIG. The user decrypts the encrypted data using the private key SK and obtains the certificate CT. In this way, the pair of the private key SK and the certificate CT is acquired. Then, based on the user's operation, the private key SK and the certificate CT are stored and stored in the key storage unit SKS and the certificate storage unit CTS of the multifunction device 100.

コンピュータプログラムPGは、例えば、複合機100の製造時に不揮発性記憶装置130に予め格納されて提供され得る。これに代えて、コンピュータプログラムPGは、複合機100のベンダによって運営されるサーバ(図示省略)からダウンロードされる形態で提供されても良く、CD-ROMなどに記録された形態で提供されても良い。 The computer program PG may be provided, for example, stored in advance in the non-volatile storage device 130 at the time of manufacturing the multifunction device 100. Instead of this, the computer program PG may be provided in a form downloaded from a server (not shown) operated by the vendor of the multifunction device 100, or may be provided in a form recorded on a CD-ROM or the like. good.

CPU110は、コンピュータプログラムPGを実行することによって、複合機100を制御する制御処理を実行する。例えば、CPU110は、制御処理の一部として、印刷実行部160や読取実行部170を制御して、印刷処理や読取処理を実行させることができる。また、CPU110は、制御処理の一部として、後述するスキャンデータ生成処理を実行することができる。 The CPU 110 executes a control process for controlling the multifunction device 100 by executing the computer program PG. For example, the CPU 110 can control the print execution unit 160 and the read execution unit 170 to execute the print process and the read process as a part of the control process. Further, the CPU 110 can execute the scan data generation process described later as a part of the control process.

インタフェース190は、外部装置、例えば、ファイルサーバ300とデータ通信を行うためのインタフェースである。本実施例では、インタフェース190は、ローカルエリアネットワークNTに接続するためのインタフェース、具体的には、イーサネット(登録商標)やWi-Fi規格に準拠した有線や無線のインタフェースである。 The interface 190 is an interface for performing data communication with an external device, for example, a file server 300. In this embodiment, the interface 190 is an interface for connecting to the local area network NT, specifically, a wired or wireless interface compliant with Ethernet (registered trademark) or Wi-Fi standard.

ファイルサーバ300は、例えば、図示しないCPUとメモリとを備える公知の計算機であり、例えば、パーソナルコンピュータである。ファイルサーバ300は、ローカルエリアネットワークNTに接続可能な装置(例えば、複合機100や図示しないユーザの端末装置)からアクセスされる。ファイルサーバ300は、これらの装置が利用するファイルを格納するファイルサーバとして機能している。 The file server 300 is a known computer including, for example, a CPU and a memory (not shown), and is, for example, a personal computer. The file server 300 is accessed from a device that can be connected to the local area network NT (for example, a multifunction device 100 or a terminal device of a user (not shown)). The file server 300 functions as a file server for storing the files used by these devices.

A-2:スキャンデータ生成処理
図2は、第1実施例のスキャンデータ生成処理のフローチャートである。スキャンデータ生成処理は、例えば、ユーザの指示に基づいて、読取実行部170を用いて、原稿を読み取ることによって生成されるスキャンデータを取得し、該スキャンデータを含む画像ファイル(例えば、PDFファイル)を生成する処理である。
A-2: Scan data generation process FIG. 2 is a flowchart of the scan data generation process of the first embodiment. In the scan data generation process, for example, based on a user's instruction, a scanning execution unit 170 is used to acquire scan data generated by scanning a document, and an image file (for example, a PDF file) containing the scan data is acquired. It is a process to generate.

S105では、CPU110は、操作部150を介して、ユーザからスキャンデータの生成指示を取得する。例えば、ユーザは、原稿OCを読取実行部170の原稿台に載置した状態で、操作部150に、スキャンデータの生成指示を入力する。図3は、原稿OCおよび署名付PDFファイルの説明図である。図3(A)には、原稿OCの一例が示されている。原稿OCは、例えば、システム1000を利用する組織(例えば、会社)で定められた形式を有する文書である。原稿OCは、文字などのオブジェクトOb1と、捺印欄SAと、を含んでいる。捺印欄SAは、原稿OCの作成者や承認者によって原稿OCに押印された印影SLを含み得る。図3(A)の例では、捺印欄SAは、印影SLを含んでいる。 In S105, the CPU 110 acquires a scan data generation instruction from the user via the operation unit 150. For example, the user inputs a scan data generation instruction to the operation unit 150 with the document OC placed on the document table of the scanning execution unit 170. FIG. 3 is an explanatory diagram of the manuscript OC and the signed PDF file. FIG. 3A shows an example of the original OC. The manuscript OC is, for example, a document having a format defined by an organization (for example, a company) that uses the system 1000. The manuscript OC includes an object Ob1 such as characters and a stamping column SA. The stamp field SA may include an imprint SL stamped on the manuscript OC by the creator or approver of the manuscript OC. In the example of FIG. 3A, the stamping column SA includes the imprint SL.

S110では、CPU110は、スキャンデータSDを取得する。具体的には、CPU110は、読取実行部170に原稿OCを読み取らせることによって、読取実行部170に、スキャンデータSDを生成させ、読取実行部170からスキャンデータSDを取得する。スキャンデータSDは、揮発性記憶装置120のバッファ領域BAに格納される。スキャンデータSDによって示されるスキャン画像SIは、原稿OCを示す画像を含む。図3(A)は、スキャン画像SIを示す図である、とも言うことができる。 In S110, the CPU 110 acquires the scan data SD. Specifically, the CPU 110 causes the reading execution unit 170 to generate the scan data SD by causing the reading execution unit 170 to read the document OC, and acquires the scan data SD from the reading execution unit 170. The scan data SD is stored in the buffer area BA of the volatile storage device 120. The scan image SI represented by the scan data SD includes an image showing the original OC. It can also be said that FIG. 3A is a diagram showing a scanned image SI.

S115では、CPU110は、スキャンデータSDに対する解析処理を実行する。具体的には、CPU110は、スキャン画像SI内の捺印欄SAを示す部分画像SAIを特定する。本実施例では、捺印欄SAは、原稿OCにおいて予め定められた位置に予め定められたサイズで配置されている。このため、本実施例では、CPU110は、スキャン画像SI内の予め定められた位置にある予め定められたサイズの部分画像を、捺印欄SAを示す部分画像SAIとして特定する。CPU110は、部分画像SAIを示す部分画像データを解析して、部分画像SAI内に印影SLを示す印影画像SLIが有るか否かを判断する。例えば、CPU110は、部分画像SAIを示す部分画像データを所定の閾値TH1を用いて二値化することによって、部分画像SAI内の複数個の画素を、背景を示す背景画素と、背景とは異なるオブジェクトを示すオブジェクト画素と、に分類する。CPU110は、オブジェクト画素の割合が閾値TH2以上である場合には、部分画像SAI内に印影画像SLIがあると判断し、オブジェクト画素の割合が閾値TH2未満である場合には、部分画像SAI内に印影画像SLIがないと判断する。 In S115, the CPU 110 executes an analysis process for the scan data SD. Specifically, the CPU 110 identifies a partial image SAI indicating the stamped field SA in the scanned image SI. In this embodiment, the stamping column SA is arranged at a predetermined position in the original OC in a predetermined size. Therefore, in this embodiment, the CPU 110 specifies a partial image of a predetermined size at a predetermined position in the scan image SI as a partial image SAI indicating the stamp column SA. The CPU 110 analyzes the partial image data indicating the partial image SAI, and determines whether or not there is an imprint image SLI indicating the imprint SL in the partial image SAI. For example, the CPU 110 binarizes the partial image data indicating the partial image SAI using a predetermined threshold value TH1 to make a plurality of pixels in the partial image SAI different from the background pixel indicating the background and the background. It is classified into an object pixel indicating an object and an object pixel. The CPU 110 determines that the imprint image SLI is in the partial image SAI when the ratio of the object pixels is the threshold TH2 or more, and when the ratio of the object pixels is less than the threshold TH2, the CPU 110 is in the partial image SAI. It is determined that there is no imprint image SLI.

S120では、CPU110は、スキャンデータSDの解析結果に基づいて、スキャン画像SI内に印影画像SLIが含まれる否かを判断する。S115での解析の結果、部分画像SAI内に印影画像SLIがある場合には、スキャン画像SI内に印影画像SLIが含まれると判断される。 In S120, the CPU 110 determines whether or not the imprint image SLI is included in the scan image SI based on the analysis result of the scan data SD. As a result of the analysis in S115, if there is an imprint image SLI in the partial image SAI, it is determined that the imprint image SLI is included in the scanned image SI.

スキャン画像SI内に印影画像SLIが含まれる場合には(S120:YES)、S125にて、CPU110は、証明書CTを用いて電子署名が付与された画像ファイルを生成する。本実施例では、PDF(Portable Document Format)形式の署名付きの画像ファイル(署名付PDFファイルSPFとも呼ぶ)が生成される。 When the imprint image SLI is included in the scanned image SI (S120: YES), in S125, the CPU 110 generates an image file with an electronic signature using the certificate CT. In this embodiment, a signed image file (also referred to as a signed PDF file SPF) in PDF (Portable Document Format) format is generated.

図3(B)には、署名付PDFファイルSPFの一例が示されている。署名付PDFファイルSPFは、スキャンデータSDと、証明書CTと、署名情報SNと、を含む。具体的には、CPU110は、スキャンデータSDを含むPDFファイルPF(図示省略)を生成する。CPU110は、PDFファイルPFを、ハッシュ関数を用いてハッシュ化して、ハッシュ値HVを取得する。ここで、用いるべきハッシュ関数のアルゴリズムは、証明書CTに含まれる署名アルゴリズム情報によって指定されている。例えば、ハッシュ関数のアルゴリズムには、「SHA(Secure Hash Algorithm)1」、「SHA256」が用いられる。CPU110は、証明書CTに含まれる署名アルゴリズム情報にて示される公開鍵暗号方式に従って、当該ハッシュ値HVを、ユーザの秘密鍵SKを用いて暗号化する。暗号化されたハッシュ値HVが、署名情報SNである。CPU110は、PDFファイルPFに、署名情報SNと、証明書CTと、を格納することによって、署名付PDFファイルSPF(図3(B))を生成する。 FIG. 3B shows an example of a signed PDF file SPF. The signed PDF file SPF includes a scan data SD, a certificate CT, and a signature information SN. Specifically, the CPU 110 generates a PDF file PF (not shown) including the scan data SD. The CPU 110 hashes the PDF file PF using a hash function to acquire the hash value HV. Here, the algorithm of the hash function to be used is specified by the signature algorithm information included in the certificate CT. For example, "SHA (Secure Hash Algorithm) 1" and "SHA256" are used as the algorithm of the hash function. The CPU 110 encrypts the hash value HV using the user's private key SK according to the public key cryptosystem shown in the signature algorithm information included in the certificate CT. The encrypted hash value HV is the signature information SN. The CPU 110 generates a signed PDF file SPF (FIG. 3B) by storing the signature information SN and the certificate CT in the PDF file PF.

スキャン画像SI内に印影画像SLIが含まれない場合には(S120:NO)、S130にて、CPU110は、電子署名が付与されない画像ファイルを生成する。本実施例では、PDF形式の画像ファイルが生成される。具体的には、上述したスキャンデータSDを含むPDFファイルPFが、最終的に出力される画像ファイルとして生成される。 When the imprint image SLI is not included in the scanned image SI (S120: NO), in S130, the CPU 110 generates an image file without a digital signature. In this embodiment, an image file in PDF format is generated. Specifically, the PDF file PF including the above-mentioned scan data SD is generated as an image file to be finally output.

S135では、CPU110は、生成済みの画像ファイルを、ファイルサーバ300に送信する。すなわち、S125が実行される場合には署名付PDFファイルSPFがファイルサーバ300に送信され、S130が実行される場合には、PDFファイルPFがファイルサーバ300に送信される。画像ファイルの送信は、例えば、FTPに従って、実行される。変形例としては、FTPに代えて、他のプロトコル、例えば、SMTPや、CIFSに従って、画像ファイルの送信が実行されても良い。画像ファイルを受信したファイルサーバ300のCPUは、当該画像ファイルを、指定されたフォルダに格納する。ファイルサーバ300に格納された画像ファイルは、ユーザの利用に供される。 In S135, the CPU 110 transmits the generated image file to the file server 300. That is, when S125 is executed, the signed PDF file SPF is transmitted to the file server 300, and when S130 is executed, the PDF file PF is transmitted to the file server 300. The transmission of the image file is performed according to, for example, FTP. As a modification, the transmission of the image file may be executed according to another protocol such as SMTP or CIFS instead of FTP. The CPU of the file server 300 that has received the image file stores the image file in the designated folder. The image file stored in the file server 300 is used by the user.

以上説明した第1実施例によれば、スキャン画像SIの部分画像SAIを示す部分画像データを解析することによって、スキャン画像SI内に、原稿OCに押印された印影SLを示す印影画像SLIが含まれるか否かが判断される(S115、S120)。そして、スキャン画像SI内に印影画像SLIが含まれると判断される場合に(S120:YES)、署名付PDFファイルSPFが生成される(S125)。すなわち、この場合には、スキャンデータSDに基づいて生成すべき画像ファイルに対して電子署名を付与することが決定される。そして、スキャン画像SI内に印影画像SLIが含まれないと判断される場合に(S120:NO)、電子署名が付与されないPDFファイルPFが生成される。すなわち、この場合には、スキャンデータSDに基づいて生成すべき画像ファイルに対して電子署名を付与しないことが決定される。このように、スキャンデータの一部を解析することによってスキャン画像SI内に印影画像SLIが含まれるか否かが判断され、該判断に応じて電子署名を付与するか否かが決定されるので、電子署名を付与すべき場合に、ユーザに負担をかけることなく、適切に電子署名を付与することを決定できる。例えば、生成すべき画像ファイルに電子署名を付与するか否かについて、ユーザが指示を入力する必要がないので、ユーザの指示漏れによって、電子署名を付与すべき画像ファイルに電子署名が付与されない不具合を抑制できる。 According to the first embodiment described above, by analyzing the partial image data showing the partial image SAI of the scanned image SI, the scanned image SI includes the imprint image SLI showing the imprint SL stamped on the original OC. It is determined whether or not it is possible (S115, S120). Then, when it is determined that the imprint image SLI is included in the scanned image SI (S120: YES), the signed PDF file SPF is generated (S125). That is, in this case, it is determined to add an electronic signature to the image file to be generated based on the scan data SD. Then, when it is determined that the imprint image SLI is not included in the scanned image SI (S120: NO), a PDF file PF to which an electronic signature is not added is generated. That is, in this case, it is determined not to add the electronic signature to the image file to be generated based on the scan data SD. In this way, by analyzing a part of the scan data, it is determined whether or not the imprint image SLI is included in the scanned image SI, and whether or not to add the electronic signature is determined according to the determination. , When the electronic signature should be given, it can be decided to appropriately give the electronic signature without imposing a burden on the user. For example, since it is not necessary for the user to input an instruction as to whether or not to give an electronic signature to the image file to be generated, the problem that the electronic signature is not given to the image file to be given the electronic signature due to the omission of the user's instruction. Can be suppressed.

B.第2実施例
B-1.システム1000bの構成
図4は、第2実施例のシステム1000bの構成を示すブロック図である。システム1000bの複合機100bは、不揮発性記憶装置130bの構成が、第1実施例と異なる。複合機100bの不揮発性記憶装置130bには、不揮発性記憶装置130には、コンピュータプログラムPGbと、証明書管理情報CMIbと、が格納されている。また、不揮発性記憶装置130bの一部の領域は、鍵格納部SKSbおよび証明書格納部CTSbとして用いられている。なお、システム1000bは、ローカルエリアネットワークNTに接続された証明書指定サーバ200を備えてもよい。証明書指定サーバ200を備える構成については変形例にて説明する。
B. Second Example B-1. Configuration of System 1000b FIG. 4 is a block diagram showing a configuration of system 1000b of the second embodiment. The configuration of the non-volatile storage device 130b of the multifunction device 100b of the system 1000b is different from that of the first embodiment. In the non-volatile storage device 130b of the multifunction device 100b, the computer program PGb and the certificate management information CMIb are stored in the non-volatile storage device 130. Further, a part of the non-volatile storage device 130b is used as a key storage unit SKSb and a certificate storage unit CTSb. The system 1000b may include a certificate designation server 200 connected to the local area network NT. A configuration including the certificate designation server 200 will be described with reference to a modification.

図5は、不揮発性記憶装置130bに格納される各種の情報の説明図である。図5(A)には、鍵格納部SKSbの概念図が示されている。図5(A)に示すように、複合機100の鍵格納部SKSbには、複数個の秘密鍵SK1~SK3が格納されている。 FIG. 5 is an explanatory diagram of various information stored in the non-volatile storage device 130b. FIG. 5A shows a conceptual diagram of the key storage unit SKSb. As shown in FIG. 5A, a plurality of private keys SK1 to SK3 are stored in the key storage unit SKSb of the multifunction device 100.

図5(B)には、証明書格納部CTSbの概念図が示されている。図5(B)に示すように、証明書格納部CTSbには、複数個の証明書CT1~CT3が格納されている。本実施例では、鍵格納部SKSbに格納された複数個の秘密鍵SK1~SK3(図5(A))と、証明書格納部CTSbに格納された複数個の証明書CT1~CT3(図5(B))と、は、一対一で対応している。 FIG. 5B shows a conceptual diagram of the certificate storage unit CTSb. As shown in FIG. 5B, a plurality of certificates CT1 to CT3 are stored in the certificate storage unit CTSb. In this embodiment, a plurality of private keys SK1 to SK3 (FIG. 5 (A)) stored in the key storage unit SKSb and a plurality of certificates CT1 to CT3 (FIG. 5) stored in the certificate storage unit CTSb. (B)) has a one-to-one correspondence with.

なお、秘密鍵SK1~SK3、証明書CT1~CT3のそれぞれは、1個のファイルである。秘密鍵SK1~SK3、証明書CT1~CT3のファイル名は、符号と同じであるとする。例えば、秘密鍵SK1のファイル名は「SK1」であり、証明書CT1のファイル名は「CT1」であるとする。 Each of the private keys SK1 to SK3 and the certificates CT1 to CT3 is one file. It is assumed that the file names of the private keys SK1 to SK3 and the certificates CT1 to CT3 are the same as the code. For example, it is assumed that the file name of the private key SK1 is "SK1" and the file name of the certificate CT1 is "CT1".

例えば、秘密鍵SK1と証明書CT1との組は、ユーザAによって取得され、複合機100の鍵格納部SKSbおよび証明書格納部CTSbに格納・保存される。同様に、秘密鍵SK2と証明書CT2との組と、秘密鍵SK3と証明書CT3との組とは、それぞれ、ユーザB、ユーザCによって取得され、複合機100の鍵格納部SKSbおよび証明書格納部CTSbに格納・保存される。このように、本実施例では、秘密鍵SK1~SK3、および、対応する証明書CT1~CT3は、複合機100bの複数人のユーザに一対一で対応している。 For example, the pair of the private key SK1 and the certificate CT1 is acquired by the user A, and is stored and stored in the key storage unit SKSb and the certificate storage unit CTSb of the multifunction device 100. Similarly, the pair of the private key SK2 and the certificate CT2 and the pair of the private key SK3 and the certificate CT3 are acquired by the user B and the user C, respectively, and the key storage unit SKSb and the certificate of the multifunction device 100 are obtained. It is stored and saved in the storage unit CTSb. As described above, in this embodiment, the private keys SK1 to SK3 and the corresponding certificates CT1 to CT3 have a one-to-one correspondence with a plurality of users of the multifunction device 100b.

図5(C)には、証明書管理情報CMIbの概念図が示されている。図2(C)に示すように、証明書管理情報CMIbは、管理テーブルKMTと、特徴データ群CDGと、権限者テーブルAUTと、を含む。 FIG. 5C shows a conceptual diagram of the certificate management information CMIb. As shown in FIG. 2C, the certificate management information CMIb includes a management table KMT, a feature data group CDG, and an authorized person table AUT.

特徴データ群CDGは、複数個の特徴データCD1~CD3を含んでいる。各特徴データは、複数個の証明書CT1~CT3のいずれかに対応している。各特徴データは、対応する証明書の所有者の印影を示す二値画像の画像データである。この二値画像データは、後述するスキャンデータ生成処理において、スキャン画像に、印影を示す印影画像が含まれるか否かを判断するために用いられる。なお、特徴データCD1~CD3のそれぞれは、1個のファイルである。特徴データCD1~CD3のファイル名は、符号と同じであるとする。 The feature data group CDG includes a plurality of feature data CD1 to CD3. Each feature data corresponds to any of a plurality of certificates CT1 to CT3. Each feature data is image data of a binary image showing the imprint of the owner of the corresponding certificate. This binary image data is used in a scan data generation process, which will be described later, to determine whether or not the scan image includes an imprint image showing an imprint. Each of the feature data CD1 to CD3 is one file. It is assumed that the file names of the feature data CD1 to CD3 are the same as the reference numerals.

管理テーブルKMTは、証明書格納部CTSbに格納された各証明書に対応するエントリENを含む。各エントリENは、証明書の所有者であるユーザの識別子であるユーザID(例えば、「USERA」)と、証明書に対応する秘密鍵のファイル名(例えば、「SK1」)と、証明書のファイル名(例えば、「CT1」)と、後述する特徴データのファイル名(例えば、「CD1」)と、を含む。例えば、秘密鍵と証明書の組(例えば、秘密鍵SK1と証明書CT1)とが、鍵格納部SKSbと証明書格納部CTSbに格納・保存されたときに、当該証明書に対応するエントリENが、複合機100bの管理者によって管理テーブルKMTに記録される。 The management table KMT includes an entry EN corresponding to each certificate stored in the certificate storage unit CTSb. Each entry EN includes a user ID (for example, "USERA") which is an identifier of the user who is the owner of the certificate, a file name of the private key corresponding to the certificate (for example, "SK1"), and a certificate. It includes a file name (for example, "CT1") and a file name of feature data (for example, "CD1") described later. For example, when a set of a private key and a certificate (for example, a private key SK1 and a certificate CT1) is stored and saved in the key storage unit SKSb and the certificate storage unit CTSb, the entry EN corresponding to the certificate is used. Is recorded in the management table KMT by the administrator of the compound machine 100b.

以上のように、証明書管理情報CMIにおいて、複数個の証明書CT1~CT3は、対応する秘密鍵SK1~SK3のファイル名と、識別情報としてのユーザID(例えば、「USERA」)と、対応する特徴データCD1~CD3のファイル名と、対応付けられている。 As described above, in the certificate management information CMI, the plurality of certificates CT1 to CT3 correspond to the file names of the corresponding private keys SK1 to SK3 and the user ID (for example, "USERA") as the identification information. It is associated with the file names of the feature data CD1 to CD3.

権限者テーブルAUTは、複数個の証明書CT1~CT3のそれぞれについて、所有者とは異なる権限者が記録されたテーブルである。証明書の権限者は、当該証明書を用いた署名処理の実行する権限を有するユーザである。証明書の権限者は、管理テーブルKMTに記録された当該証明書の所有者と、権限者テーブルAUTに記録された権限者と、を含む。このように、証明書の権限者は、管理テーブルKMTと権限者テーブルAUTとを参照すれば特定できる。従って、管理テーブルKMTと権限者テーブルAUTとは、複数個の証明書CT1~CT3のそれぞれの権限者を示す権限者情報を構成している。 The authorized person table AUTO is a table in which an authorized person different from the owner is recorded for each of the plurality of certificates CT1 to CT3. The authorized person of the certificate is a user who has the authority to execute the signature process using the certificate. The authorized person of the certificate includes the owner of the certificate recorded in the management table KMT and the authorized person recorded in the authorized person table AUT. In this way, the authorized person of the certificate can be specified by referring to the management table KMT and the authorized person table AUT. Therefore, the management table KMT and the authorized person table AUT constitute the authorized person information indicating the respective authorized persons of the plurality of certificates CT1 to CT3.

証明書格納部CTSbには、さらに、汎用の証明書CTu(図5(B))が格納され、鍵格納部SKSbには、さらに、汎用の証明書CTuと対応する秘密鍵SKu(図5(A))が格納されている。汎用の証明書CTuは、例えば、全てのユーザの共有の証明書である。 The certificate storage unit CTSb further stores the general-purpose certificate CTu (FIG. 5 (B)), and the key storage unit SKSb further stores the general-purpose certificate CTu and the corresponding private key SKu (FIG. 5 (FIG. 5)). A)) is stored. The general-purpose certificate CTu is, for example, a certificate shared by all users.

システム1000bの他の構成、例えば、複合機100bの不揮発性記憶装置130bを除く構成、および、ファイルサーバ300の構成は、第1実施例のシステム1000の構成と同一である。 Other configurations of the system 1000b, for example, the configuration excluding the non-volatile storage device 130b of the multifunction device 100b, and the configuration of the file server 300 are the same as the configuration of the system 1000 of the first embodiment.

B-2:スキャンデータ生成処理
第2実施例では、複合機100bのCPU110は、コンピュータプログラムPGbを実行することによって、図2のスキャンデータ生成処理とは異なるスキャンデータ生成処理を実行する。図6は、第2実施例のスキャンデータ生成処理のフローチャートである。図6のフローチャートでは、図2のスキャンデータ生成処理と異なるステップの符号の末尾には、「B」が付され、図2のスキャンデータ生成処理と同一のステップには、図2と同一の符号が用いられている。
B-2: Scan data generation process In the second embodiment, the CPU 110 of the multifunction device 100b executes a scan data generation process different from the scan data generation process of FIG. 2 by executing the computer program PGb. FIG. 6 is a flowchart of the scan data generation process of the second embodiment. In the flowchart of FIG. 6, "B" is added to the end of the code of the step different from the scan data generation process of FIG. 2, and the same step as the scan data generation process of FIG. 2 has the same code as that of FIG. Is used.

S100Bでは、CPU110は、ログイン処理を実行する。本実施例では、スキャンデータ生成処理は、ログイン中のユーザの指示に基づいて実行されるため、スキャンデータを含む画像ファイルの生成を望むユーザは、複合機100bへのログインを行う。具体的には、CPU110は、ユーザのログイン要求に応じて、図示しないログイン画面を操作部150に表示して、該ログイン画面を介して、認証情報(例えば、ユーザIDとパスワード)を取得する。CPU110は、認証情報に基づいて、特定のユーザのログインを許容するか否かを判断する。CPU110は、ログインを許容する場合には、特定のユーザのログイン状態に遷移し、ログインを許容しない場合には、エラー処理を実行する。以下では、図5(C)のユーザID「USERA」を有するユーザのログインが許容されたとして説明を続ける。 In S100B, the CPU 110 executes a login process. In this embodiment, the scan data generation process is executed based on the instruction of the logged-in user, so that the user who wants to generate the image file including the scan data logs in to the multifunction device 100b. Specifically, the CPU 110 displays a login screen (not shown) on the operation unit 150 in response to a user's login request, and acquires authentication information (for example, a user ID and password) via the login screen. The CPU 110 determines whether or not to allow a specific user to log in based on the authentication information. When the login is allowed, the CPU 110 transitions to the login state of a specific user, and when the login is not allowed, the CPU 110 executes error processing. In the following, the description will be continued on the assumption that the login of the user having the user ID “USERA” in FIG. 5C is permitted.

S105~S120の処理は、第1実施例の図2のS105~S120の処理と同一である。 The processing of S105 to S120 is the same as the processing of S105 to S120 of FIG. 2 of the first embodiment.

スキャン画像SI内に印影画像SLIが含まれない場合には(S120:NO)、S130Bにて、CPU110は、汎用の証明書CTuを用いて電子署名が付与された画像ファイル(具体的には、署名付PDFファイル)を生成する。署名付PDFファイルが生成されると、S135に処理が進められる。 When the imprint image SLI is not included in the scanned image SI (S120: NO), in S130B, the CPU 110 uses a general-purpose certificate CTu to add an electronic signature to the image file (specifically, the image file). Generate a signed PDF file). When the signed PDF file is generated, processing proceeds to S135.

スキャン画像SI内に印影画像SLIが含まれる場合には(S120:YES)、S122Bにて、CPU110は、証明書選択処理を実行する。証明書選択処理は、印影画像SLIを含む部分画像SAIを示す部分画像データを解析することによって、証明書格納部CTSbに格納されている複数個の証明書CT1~CT3の中から、使用すべき一の証明書を選択する処理である。証明書選択処理については後述する。 When the imprint image SLI is included in the scanned image SI (S120: YES), the CPU 110 executes the certificate selection process in S122B. The certificate selection process should be used from among a plurality of certificates CT1 to CT3 stored in the certificate storage unit CTSb by analyzing the partial image data indicating the partial image SAI including the imprint image SLI. This is the process of selecting one certificate. The certificate selection process will be described later.

S125Bでは、CPU110は、証明書選択処理によって選択済みの証明書を用いて電子署名が付与された画像ファイル(具体的には、署名付PDFファイル)を生成する。 In S125B, the CPU 110 generates an image file (specifically, a signed PDF file) to which an electronic signature is added using the certificate selected by the certificate selection process.

S126Bでは、CPU110は、ログイン中のユーザは、証明書選択処理によって選択済みの証明書の権限者であるか否かを判断する。例えば、CPU110は、管理テーブルKMTを参照して、ログイン中のユーザが、選択済みの証明書の所有者であるか否かを判断する。ログイン中のユーザが選択済みの証明書の所有者でない場合には、CPU110は、権限者テーブルAUTを参照して、ログイン中のユーザが、所有者とは異なる権限者であるか否かを判断する。ログイン中のユーザが、選択済みの証明書の所有者である場合、あるいは、所有者とは異なる権限者である場合には、ログイン中のユーザは、選択済みの証明書の権限者であると判断される。ログイン中のユーザが、選択済みの証明書の所有者ではなく、かつ、所有者とは異なる権限者でもない場合には、ログイン中のユーザは、選択済みの証明書の権限者でないと判断される。このように、本実施例では、証明書の権限者は、証明書の所有者と、所有者とは異なる者であって証明書を使用する権限を有する者と、を含む。この結果、所有者に限らずに、柔軟に権限者を設定できる。 In S126B, the CPU 110 determines whether or not the logged-in user is the authorized person of the selected certificate by the certificate selection process. For example, the CPU 110 refers to the management table KMT to determine whether the logged-in user is the owner of the selected certificate. If the logged-in user is not the owner of the selected certificate, the CPU 110 refers to the authorized person table AUT to determine if the logged-in user is an authorized person different from the owner. do. If the logged-in user is the owner of the selected certificate, or if the user has a different authority than the owner, then the logged-in user is the authorized person of the selected certificate. Judged. If the logged-in user is not the owner of the selected certificate and is not an authorized person other than the owner, then the logged-in user is determined not to be the authorized person of the selected certificate. To. Thus, in this embodiment, the authorized person of the certificate includes the owner of the certificate and a person who is different from the owner and has the authority to use the certificate. As a result, it is possible to flexibly set an authorized person, not limited to the owner.

ログイン中のユーザが、選択済みの証明書の権限者である場合には(S126B:YES)、CPU110は、S135に処理を進める。ログイン中のユーザが、選択済みの証明書の権限者ではない場合には(S126B:NO)、CPU110は、S127Bに処理を進める。 If the logged-in user is the authorized person of the selected certificate (S126B: YES), the CPU 110 proceeds to S135. If the logged-in user is not the authorized person of the selected certificate (S126B: NO), the CPU 110 proceeds to S127B.

S127Bでは、CPU110は、選択済みの証明書の所有者に対して、使用許可の要求を送信する。具体的には、CPU110は、管理テーブルKMTを参照して、選択済みの証明書の所有者のユーザIDを特定する。CPU110は、特定されたユーザIDを有するユーザのメールアドレス宛に、証明書の使用許可を求めるメッセージと、使用許可の入力または使用不許可の入力を行うための回答用のWEBページのURLと、を含むメールを送信する。所有者であるユーザのメールアドレスは、図示しないユーザ情報テーブルに記録されて不揮発性記憶装置130に保存されている。回答用のWEBページは、複合機100がWEBサーバとして、ユーザの端末装置に提供しているページである。CPU110は、当該WEBページを介して、ユーザの使用許可または使用不許可の通知を受信することができる。 In S127B, the CPU 110 sends a license request to the owner of the selected certificate. Specifically, the CPU 110 refers to the management table KMT to identify the user ID of the owner of the selected certificate. The CPU 110 sends a message requesting permission to use the certificate to the e-mail address of the user having the specified user ID, a URL of a WEB page for answering to input the permission to use or the permission to use the certificate, and the URL of the WEB page. Send an email containing. The e-mail address of the user who is the owner is recorded in a user information table (not shown) and stored in the non-volatile storage device 130. The WEB page for answering is a page provided by the multifunction device 100 to the user's terminal device as a WEB server. The CPU 110 can receive a user permission or disapproval notification via the WEB page.

S128Bでは、CPU110は、選択済みの証明書の所有者の使用許可の通知を受信したか否かを判断する。使用許可の通知を受信した場合には(S128B:YES)、CPU110は、S135に処理を進める。使用許可の通知を受信しない場合には(S128B:NO)、CPU110は、使用許可の通知を受信するまで処理を中断する。処理の中断中には、別のスキャンデータ生成処理や、別の印刷処理の実行が可能である。 In S128B, the CPU 110 determines whether or not the notification of permission to use the owner of the selected certificate has been received. When the notification of the license is received (S128B: YES), the CPU 110 proceeds to S135. If the usage permission notification is not received (S128B: NO), the CPU 110 suspends the process until the usage permission notification is received. While the process is interrupted, another scan data generation process or another print process can be executed.

S135では、CPU110は、生成済みの画像ファイル、本実施例では、署名付PDFファイルSPFをファイルサーバ300に送信する。この結果、署名付PDFファイルSPFは、ファイルサーバ300に格納される。 In S135, the CPU 110 transmits the generated image file, and in this embodiment, the signed PDF file SPF to the file server 300. As a result, the signed PDF file SPF is stored in the file server 300.

以上の第2実施例のスキャンデータ生成処理によれば、スキャン画像SI内に印影画像SLIが含まれると判断される場合に(S120:YES)、ユーザの証明書CT1~CT3から選択される証明書を用いて電子署名が付与された署名付PDFファイルSPFが生成される(S125B)。スキャン画像SI内に印影画像SLIが含まれないと判断される場合に(S120:NO)、汎用の証明書CTuを用いて電子署名が付与された署名付PDFファイルSPFが生成される(S130B)。すなわち、この場合には、画像ファイルに対して、スキャン画像SI内に印影画像SLIが含まれると判断される場合の電子署名とは異なる電子署名を付与することが決定される。この結果、ユーザに負担をかけることなく、特定の電子署名も付与するか、特定の電子署名とは異なる電子署名を付与するかを、適切に決定できる。 According to the scan data generation process of the second embodiment described above, when it is determined that the imprint image SLI is included in the scan image SI (S120: YES), the certificate selected from the user certificates CT1 to CT3. A signed PDF file SPF with an electronic signature is generated using the document (S125B). When it is determined that the imprint image SLI is not included in the scanned image SI (S120: NO), a signed PDF file SPF with an electronic signature is generated using a general-purpose certificate CTu (S130B). .. That is, in this case, it is determined that the image file is given an electronic signature different from the electronic signature when it is determined that the imprint image SLI is included in the scanned image SI. As a result, it is possible to appropriately determine whether to assign a specific electronic signature or an electronic signature different from the specific electronic signature without imposing a burden on the user.

さらに、本実施例のスキャンデータ生成処理では、S100Bにてログイン処理を実行した後に、S105にてスキャンデータの生成指示を取得するので、CPU110は、スキャンデータSDに基づく画像ファイル(署名付PDFファイルSPF)の生成を指示する指示ユーザは、ログイン中のユーザであると、特定することができる。CPU110は、権限者情報(管理テーブルKMTおよび権限者テーブルAUT)を参照して、指示ユーザ(ログイン中のユーザ)が、選択済みの証明書の権限者であるか否かを判断する(S126B)。そして、CPU110は、該指示ユーザが、選択済みの証明書の権限者と異なる場合に(S126B:NO)、権限者の一人である所有者から選択済みの証明書の使用許可を取得する(S127B、S128B)。そして、該使用許可の取得後に、選択済の証明書を用いて電子署名を付与済みの署名付PDFファイルSPFをファイルサーバ300に出力する(S135)。この結果、ユーザの証明書を用いた電子署名を付与済みの署名付PDFファイルSPFが不用意に出力されることを抑制できる。例えば、ユーザの証明書を用いた電子署名を付与済みの署名付PDFファイルSPFは、証明書の所有者であるユーザによって作成されたことが保証される。このために、証明書の所有者であるユーザの許可なく、無権限者によって生成・出力されることは好ましくない。本実施例のスキャンデータ生成処理では、このような不都合を抑制できる。 Further, in the scan data generation process of this embodiment, after the login process is executed in S100B, the scan data generation instruction is acquired in S105, so that the CPU 110 uses an image file (signed PDF file) based on the scan data SD. The instruction user instructing the generation of SPF) can be identified as a logged-in user. The CPU 110 refers to the authorized person information (management table KMT and authorized person table AUT) to determine whether or not the instructing user (logged-in user) is the authorized person of the selected certificate (S126B). .. Then, when the instructing user is different from the authorized person of the selected certificate (S126B: NO), the CPU 110 obtains permission to use the selected certificate from the owner who is one of the authorized persons (S127B). , S128B). Then, after obtaining the license, the signed PDF file SPF to which the digital signature has been added by using the selected certificate is output to the file server 300 (S135). As a result, it is possible to prevent the signed PDF file SPF with the digital signature using the user's certificate from being inadvertently output. For example, a signed PDF file SPF with a digital signature using a user's certificate is guaranteed to have been created by the user who is the owner of the certificate. For this reason, it is not preferable that the certificate is generated and output by an unauthorized person without the permission of the user who owns the certificate. In the scan data generation process of this embodiment, such inconvenience can be suppressed.

B-3.証明書選択処理
図6のS122Bの証明書選択処理について説明する。証明書選択処理は、上述のように、印影画像SLIを含む部分画像SAIを示す部分画像データを解析することによって、証明書格納部CTSbに格納されている複数個の証明書CT1~CT3の中から、使用すべき一の証明書を選択する処理である。
B-3. Certificate selection process The certificate selection process of S122B in FIG. 6 will be described. As described above, the certificate selection process is performed in the plurality of certificates CT1 to CT3 stored in the certificate storage unit CTSb by analyzing the partial image data indicating the partial image SAI including the imprint image SLI. It is a process to select one certificate to be used from.

図7は、証明書選択処理のフローチャートである。S205では、CPU110は、印影画像SLIを含む部分画像SAIを示す部分画像データを用いて、印影画像SLIの特徴を示す特徴データCDxを生成する。具体的には、CPU110は、部分画像SAIを示す部分画像データを所定の閾値TH1を用いて二値化することによって、部分画像SAI内の複数個の画素を、背景を示す背景画素と、背景とは異なるオブジェクトを示すオブジェクト画素と、に分類する。この分類結果を示す二値データが、特徴データCDxとして生成される。特徴データCDxによって示される画像は、印影SLの形状を示す二値画像である。 FIG. 7 is a flowchart of the certificate selection process. In S205, the CPU 110 uses the partial image data showing the partial image SAI including the imprint image SLI to generate the feature data CDx showing the features of the imprint image SLI. Specifically, the CPU 110 binarizes the partial image data indicating the partial image SAI using a predetermined threshold value TH1 to convert a plurality of pixels in the partial image SAI into a background pixel indicating the background and a background. It is classified into object pixels that indicate objects different from the above. Binary data showing this classification result is generated as feature data CDx. The image shown by the feature data CDx is a binary image showing the shape of the imprint SL.

S210では、CPU110は、登録済みの特徴データ、すなわち、証明書管理情報CMIbの特徴データ群CDGに含まれる特徴データCD1~CD3の中に、S205にて生成された特徴データCDxに対応する対応特徴データがあるか否かを判断する。具体的には、CPU110は、特徴データCD1~CD3を不揮発性記憶装置130から取得し、特徴データCD1~CD3のそれぞれによって示される印影の画像と、特徴データCDxによって示される印影の画像と、をパターンマッチングによって比較する。この結果、特徴データCDxによって示される印影の画像と同じ印影の画像を示す特徴データが、登録済みの特徴データCD1~CD3の中にある場合には、当該同じ印影の画像を示す特徴データは、特徴データCDxに対応する対応特徴データであると判断される。該対応特徴データは、印影画像SLIの特徴を示す特徴データCDxと対応するから、スキャン画像SI内の印影画像SLIに対応する特徴データである、とも言うことができる。 In S210, the CPU 110 corresponds to the registered feature data, that is, the feature data CDx generated in S205 in the feature data CD1 to CD3 included in the feature data group CDG of the certificate management information CMIb. Determine if there is data. Specifically, the CPU 110 acquires the feature data CD1 to CD3 from the non-volatile storage device 130, and obtains an image of the imprint shown by each of the feature data CD1 to CD3 and an image of the imprint shown by the feature data CDx. Compare by pattern matching. As a result, when the feature data showing the image of the same imprint as the image of the imprint shown by the feature data CDx is in the registered feature data CD1 to CD3, the feature data showing the image of the same imprint is the feature data. Feature data It is determined that the corresponding feature data corresponds to the CDx. Since the corresponding feature data corresponds to the feature data CDx indicating the features of the imprint image SLI, it can be said that the corresponding feature data is the feature data corresponding to the imprint image SLI in the scanned image SI.

登録済みの特徴データの中に対応特徴データがある場合には(S210:YES)、S215にて、CPU110は、当該対応特徴データに対応する証明書を、用いるべき証明書として選択する。具体的には、CPU110は、管理テーブルKMTを不揮発性記憶装置130から取得し、管理テーブルKMTに記述された特徴データCD1~CD3と証明書CT1~CT3との対応関係を参照して、対応特徴データに対応する証明書を特定する。当該特定された証明書が用いるべき証明書として選択される。 If there is corresponding feature data in the registered feature data (S210: YES), in S215, the CPU 110 selects the certificate corresponding to the corresponding feature data as the certificate to be used. Specifically, the CPU 110 acquires the management table KMT from the non-volatile storage device 130, and refers to the correspondence between the feature data CD1 to CD3 described in the management table KMT and the certificates CT1 to CT3, and corresponds to the corresponding feature. Identify the certificate that corresponds to the data. The identified certificate is selected as the certificate to be used.

登録済みの特徴データの中に対応特徴データがない場合には(S210:NO)、S220にて、CPU110は、選択画面WPを表示部140に表示して、選択画面WPを介して用いるべき証明書の選択指示を取得する。図8は、選択画面WPの一例を示す図である。選択画面WPは、証明書の選択を促すメッセージMSと、選択可能な複数個の証明書の中から一の証明書を選択するためのボタンB1~B3と、を含んでいる。 If there is no corresponding feature data in the registered feature data (S210: NO), in S220, the CPU 110 displays the selection screen WP on the display unit 140, and proves that the selection screen WP should be used via the selection screen WP. Get the book selection instructions. FIG. 8 is a diagram showing an example of the selection screen WP. The selection screen WP includes a message MS prompting the selection of a certificate, and buttons B1 to B3 for selecting one certificate from a plurality of selectable certificates.

S225では、CPU110は、選択画面WPを介して取得された選択指示に基づいて、用いるべき証明書を選択する。このように、第2実施例では、特徴データCD1~CD3の中に対応特徴データがない場合には、ユーザからの選択指示に基づいて選択される証明書を用いて画像ファイルに、電子署名を付与することが決定される。この結果、登録済みの複数個の特徴データCD1~CD3の中に対応特徴データがない場合であっても、適切な電子署名を付与することを決定できる。 In S225, the CPU 110 selects a certificate to be used based on the selection instruction acquired via the selection screen WP. As described above, in the second embodiment, when there is no corresponding feature data in the feature data CD1 to CD3, the image file is digitally signed using the certificate selected based on the selection instruction from the user. It is decided to grant. As a result, even when there is no corresponding feature data in the plurality of registered feature data CD1 to CD3, it can be determined to add an appropriate electronic signature.

S230では、CPU110は、S205にて生成された印影画像SLIの特徴データCDxを、選択済みの証明書と対応付けて登録する。具体的には、CPU110は、特徴データCDxを特徴データ群CDGに含まれる特徴データの一つとして、不揮発性記憶装置130に格納する。CPU110は、特徴データCDxのファイル名を、管理テーブルKMT(図5(C))における選択済みの証明書のエントリENに記録する。このように、第2実施例では、特徴データCD1~CD3の中に対応特徴データがない場合には、印影画像SLIの特徴データCDxと、該特徴データCDxとユーザからの選択指示に基づいて選択される証明書とが対応することを示す情報と、が特徴データ群CDGおよび管理テーブルKMTに追加される。この結果、その後に、別のスキャンデータを用いて生成すべき署名付PDFファイルに対して、より適切な電子署名を付与することを決定し得る。例えば、次回の別のスキャンデータに、今回と同じ印影を示す印影画像SLIが含まれる場合には、次回の証明書選択処理において、今回追加された特徴データCDxが、対応特徴データであると判断される。この結果、次回の証明書選択処理において、登録済みの特徴データの中に対応特徴データがあると判断され(S210:YES)、今回ユーザの選択指示に基づいて選択される証明書が、次回は、ユーザの選択指示を取得することなく適切に選択される。なお、1個の証明書の所有者が、複数種類の印影を使用することがあり得るので、1個の証明書に対して、複数個の特徴データが対応付けられることは許容される。 In S230, the CPU 110 registers the feature data CDx of the imprint image SLI generated in S205 in association with the selected certificate. Specifically, the CPU 110 stores the feature data CDx in the non-volatile storage device 130 as one of the feature data included in the feature data group CDG. The CPU 110 records the file name of the feature data CDx in the entry EN of the selected certificate in the management table KMT (FIG. 5 (C)). As described above, in the second embodiment, when there is no corresponding feature data in the feature data CD1 to CD3, selection is made based on the feature data CDx of the imprint image SLI, the feature data CDx, and a selection instruction from the user. Information indicating that the certificate is associated with the certificate is added to the feature data group CDG and the management table KMT. As a result, it may then be determined to add a more appropriate digital signature to the signed PDF file to be generated using different scan data. For example, when another scan data of the next time includes an imprint image SLI showing the same imprint as this time, it is determined that the feature data CDx added this time is the corresponding feature data in the next certificate selection process. Will be done. As a result, in the next certificate selection process, it is determined that there is corresponding feature data in the registered feature data (S210: YES), and the certificate selected based on the user's selection instruction this time will be the next time. , Appropriately selected without getting the user's selection instructions. Since the owner of one certificate may use a plurality of types of imprints, it is permissible that a plurality of feature data are associated with one certificate.

以上説明した第2実施例によれば、スキャン画像SI内に印影画像SLIが含まれると判断される場合(図6のS120:YES)に、証明書選択処理(図6のS122B、図7)において、CPU110は、印影画像SLIを示す部分画像データを解析することによって、複数個の特徴データCD1~CD3の中から、スキャン画像SI内の印影画像SLIに対応する対応特徴データを決定し、該対応特徴データに対応する証明書を、用いるべき証明書として選択する(図7のS205、S210、S215)。この結果、印影画像SLIの特徴に応じて、複数個の証明書CT1~CT3を使い分けて適切な電子署名を付与することを決定できる。例えば、証明書CT1~CT3の所有者であるユーザが押印した印影を示す印影画像SLIがスキャン画像SIに含まれる場合には、該印影を押印したユーザが所有する証明書を用いて電子署名を自動的に付与することができる。この結果、ユーザの負担をより軽減できる。 According to the second embodiment described above, when it is determined that the imprint image SLI is included in the scanned image SI (S120: YES in FIG. 6), the certificate selection process (S122B in FIG. 6, FIG. 7). In the CPU 110, by analyzing the partial image data indicating the imprint image SLI, the corresponding feature data corresponding to the imprint image SLI in the scan image SI is determined from the plurality of feature data CD1 to CD3, and the corresponding feature data is determined. The certificate corresponding to the corresponding feature data is selected as the certificate to be used (S205, S210, S215 in FIG. 7). As a result, it can be determined that a plurality of certificates CT1 to CT3 are used properly to give an appropriate electronic signature according to the characteristics of the imprint image SLI. For example, when the scanned image SI includes an imprint image SLI showing an imprint stamped by a user who is the owner of the certificates CT1 to CT3, an electronic signature is digitally signed using the certificate owned by the user who imprinted the imprint. It can be given automatically. As a result, the burden on the user can be further reduced.

C.第3実施例
第3実施例のシステムの構成は、第2実施例のシステムと同じである。ただし、第3実施例では、証明書管理情報CMIbは、権限者テーブルAUTを含まない。すなわち、本実施例では、各証明書の権限者は、各証明書の所有者のみである。
C. Third Example The configuration of the system of the third embodiment is the same as that of the system of the second embodiment. However, in the third embodiment, the certificate management information CMIb does not include the authorized person table AUT. That is, in this embodiment, the authorized person of each certificate is only the owner of each certificate.

第3実施例のスキャンデータ生成処理では、図6のS122Bの証明書選択処理の内容が、第2実施例とは異なる。第3実施例のスキャンデータ生成処理のうち、証明書選択処理を除いた処理は、第2実施例と同一である。 In the scan data generation process of the third embodiment, the content of the certificate selection process of S122B in FIG. 6 is different from that of the second embodiment. Of the scan data generation processes of the third embodiment, the processes excluding the certificate selection process are the same as those of the second embodiment.

図9は、第3実施例の原稿OCcの一例が示されている。図9は、第3実施例のスキャン画像SIcを示しているとも言うことができる。原稿OCcは、オブジェクトOb1と、捺印欄SAcと、を含んでいる。捺印欄SAcは、図3(A)の捺印欄SAよりも横方向のサイズが大きく、複数個の印影を含み得る。図9の例では、捺印欄SAcは、3個の印影SLa、SLb、SLcを含んでいる。このために、本実施例では、図6のS110にて取得されるスキャンデータによって示されるスキャン画像SIcでは、捺印欄SAcを示す部分画像SAIcは、図3の部分画像SAIよりも横方向のサイズが大きい。そして、スキャン画像SIcは、複数個の印影画像を含み得る。以下では、図9に示すように、部分画像SAIcに、3個の印影画像SLIa、SLIb、SLIcが含まれるとして説明する。 FIG. 9 shows an example of the manuscript OCc of the third embodiment. It can also be said that FIG. 9 shows the scanned image SIc of the third embodiment. The manuscript OCc includes an object Ob1 and a stamping column SAc. The stamping column SAc has a larger size in the horizontal direction than the stamping column SA of FIG. 3A, and may include a plurality of imprints. In the example of FIG. 9, the stamping column SAc includes three imprints SLa, SLb, and SLc. Therefore, in this embodiment, in the scan image SIc shown by the scan data acquired in S110 of FIG. 6, the partial image SAIc showing the stamp column SAc has a size in the lateral direction with respect to the partial image SAI of FIG. Is big. Then, the scanned image SIc may include a plurality of imprint images. In the following, as shown in FIG. 9, the partial image SAIC will be described as including three imprint images SLIa, SLIb, and SLIc.

図10は、第3実施例の証明書選択処理のフローチャートである。S300では、CPU110は、1以上の印影画像の1以上の特徴データを生成する。具体的には、CPU110は、印影画像SLIa、SLIb、SLIcをそれぞれ示す3個の二値データを、特徴データCDxa~CDxcとして生成する。 FIG. 10 is a flowchart of the certificate selection process of the third embodiment. In S300, the CPU 110 generates one or more feature data of one or more imprint images. Specifically, the CPU 110 generates three binary data indicating the imprint images SLIa, SLIb, and SLIc as feature data CDxa to CDxc.

S305では、CPU110は、登録済みの特徴データCD1~CD3(図5(C))の中に、特徴データCDxa~CDxcに対応する1以上の対応特徴データがあるか否かを判断する。第2実施例と同様に、特徴データCDxaによって示される印影の画像と同じ印影の画像を示す特徴データが、登録済みの特徴データCD1~CD3の中にある場合には、当該同じ印影の画像を示す特徴データは、特徴データCDxaに対応する対応特徴データであると判断される。 In S305, the CPU 110 determines whether or not there is one or more corresponding feature data corresponding to the feature data CDxa to CDxc in the registered feature data CD1 to CD3 (FIG. 5C). Similar to the second embodiment, when the feature data showing the image of the same imprint as the image of the imprint shown by the feature data CDxa is in the registered feature data CD1 to CD3, the image of the same imprint is displayed. The feature data shown is determined to be the corresponding feature data corresponding to the feature data CDxa.

特徴データCDxa~CDxcのいずれに対応する対応特徴データもない場合には(S305:NO)、S320にて、CPU110は、汎用の証明書CTuを選択する。したがって、この場合には、図6のS125Bにて、汎用の証明書CTuを用いて電子署名が付与された画像ファイルが生成される。なお、汎用の証明書CTuの権限者は、全てのユーザであるので、汎用の証明書CTuを用いて電子署名が付与された画像ファイルは、直ちに、ファイルサーバ300に送信される(図6のS126BにてYES、S135)。 If there is no corresponding feature data corresponding to any of the feature data CDxa to CDxc (S305: NO), in S320, the CPU 110 selects a general-purpose certificate CTu. Therefore, in this case, in S125B of FIG. 6, an image file with an electronic signature is generated using a general-purpose certificate CTu. Since the authorized person of the general-purpose certificate CTu is all users, the image file to which the electronic signature is given by using the general-purpose certificate CTu is immediately transmitted to the file server 300 (FIG. 6). YES in S126B, S135).

特徴データCDxa~CDxcに対応する1以上の対応特徴データがある場合には(S305:YES)、S310にて、CPU110は、登録済みの特徴データCD1~CD3(図5(C))の中に、特徴データCDxa~CDxcに対応する複数個の対応特徴データがあるか否かを判断する。例えば、印影画像SLIaの特徴データCDxaに対応する対応特徴データが特徴データCD1であり、残りの特徴データCDxb、CDxcに対応する対応特徴データがない場合には、特徴データCDxa~CDxcに対応する複数個の対応特徴データはないと判断される。印影画像SLIaの特徴データCDxaに対応する対応特徴データが特徴データCD1であり、残りの特徴データCDxb、CDxcに対応する対応特徴データがない場合には、特徴データCDxa~CDxcに対応する複数個の対応特徴データがないと判断される。また、印影画像SLIaの特徴データCDxaと印影画像SLIbの特徴データCDxbに対応する対応特徴データが、それぞれ、特徴データCD1、CD2であり、残りの特徴データCDxcに対応する特徴データがない場合には、特徴データCDxa~CDxcに対応する複数個の対応特徴データがあると判断される。 If there is one or more corresponding feature data corresponding to the feature data CDxa to CDxc (S305: YES), in S310, the CPU 110 is included in the registered feature data CD1 to CD3 (FIG. 5 (C)). , Feature data It is determined whether or not there is a plurality of corresponding feature data corresponding to CDxa to CDxc. For example, when the corresponding feature data corresponding to the feature data CDxa of the imprint image SLIa is the feature data CD1 and there is no corresponding feature data corresponding to the remaining feature data CDxb and CDxx, a plurality of corresponding feature data CDxa to CDxx are supported. It is judged that there is no corresponding feature data. When the corresponding feature data corresponding to the feature data CDxa of the imprint image SLIa is the feature data CD1 and there is no corresponding feature data corresponding to the remaining feature data CDxb and CDxc, a plurality of feature data CDxa to CDxx correspond to each other. It is judged that there is no corresponding feature data. Further, when the corresponding feature data corresponding to the feature data CDxa of the imprint image SLIa and the feature data CDxb of the imprint image SLIb are the feature data CD1 and CD2, respectively, and there is no feature data corresponding to the remaining feature data CDxc. , Feature data It is determined that there are a plurality of corresponding feature data corresponding to CDxa to CDxc.

特徴データCDxa~CDxcに対応する複数個の対応特徴データがない場合には(S310:NO)、すなわち、対応特徴データが1個だけある場合には、S335にて、CPU110は、当該1個の対応特徴データに対応する証明書を選択する。したがって、この場合には、図6のS125Bにて、1個の対応特徴データに対応する証明書を用いて電子署名が付与された画像ファイルが生成される。 Feature data When there is no corresponding plurality of corresponding feature data corresponding to CDxa to CDxc (S310: NO), that is, when there is only one corresponding feature data, in S335, the CPU 110 is the one. Correspondence feature Select the certificate corresponding to the data. Therefore, in this case, in S125B of FIG. 6, an image file with an electronic signature is generated using the certificate corresponding to one corresponding feature data.

特徴データCDxa~CDxcに対応する複数個の対応特徴データがある場合には(S310:YES)、S315にて、CPU110は、複数個の対応特徴データに対応する複数個の証明書の中に、ログイン中のユーザが所有者(権限者)である証明書があるか否かを判断する。複数個の対応特徴データに対応する複数個の証明書は、管理テーブルKMTを用いて特定される。対応する複数個の証明書の中に、管理テーブルKMTにおいて、ログイン中のユーザのユーザIDと対応付けられた証明書がある場合には、CPU110は、対応する複数個の証明書の中に、ログイン中のユーザが所有者である証明書があると判断する。 When there are a plurality of corresponding feature data corresponding to the feature data CDxa to CDxc (S310: YES), in S315, the CPU 110 is included in the plurality of certificates corresponding to the plurality of supported feature data. Determine if there is a certificate that the logged-in user is the owner (authorized person). A plurality of certificates corresponding to a plurality of corresponding feature data are specified by using the management table KMT. If there is a certificate associated with the user ID of the logged-in user in the management table KMT among the corresponding plurality of certificates, the CPU 110 will be included in the corresponding plurality of certificates. Determine that the logged-in user has a certificate of ownership.

対応する複数個の証明書の中に、ログイン中のユーザが所有者である証明書がある場合には(S315:YES)、S325にて、CPU110は、当該ログイン中のユーザが所有者である証明書を選択する。したがって、この場合には、図6のS125Bにて、ログイン中のユーザが所有者である証明書を用いて電子署名が付与された画像ファイルが生成される。 If there is a certificate in which the logged-in user is the owner among the corresponding plurality of certificates (S315: YES), in S325, the CPU 110 is the owner of the logged-in user. Select a certificate. Therefore, in this case, in S125B of FIG. 6, an image file with an electronic signature is generated using a certificate in which the logged-in user is the owner.

対応する複数個の証明書の中に、ログイン中のユーザが所有者である証明書がない場合には(S315:NO)、S330にて、CPU110は、所定の優先順位に従って、用いるべき証明書を選択する。すなわち、対応する複数個の証明書のうち、予め定められた優先順位が最も高い一の証明書が選択される。したがって、この場合には、図6のS125Bにて、当該一の証明書を用いて電子署名が付与された画像ファイルが生成される。 If there is no certificate owned by the logged-in user among the corresponding plurality of certificates (S315: NO), in S330, the CPU 110 should use the certificate according to a predetermined priority. Select. That is, one certificate having the highest predetermined priority is selected from the corresponding plurality of certificates. Therefore, in this case, in S125B of FIG. 6, an image file with an electronic signature is generated using the one certificate.

以上説明した第3実施例によれば、複数個の対応特徴データに対応する複数個の証明書がある場合には、管理テーブルKMTを参照して、複数個の証明書のうち、指示ユーザ(本実施例ではログイン中のユーザ)が権限者(本実施例では所有者)である証明書を用いて電子署名を付与することが決定される(S310にてYES、S315にてYES、S325)。この結果、対応する複数個の証明書がある場合に、適切な電子証明書を付与することを決定できる。例えば、指示ユーザが権限者でない証明書を使用すれば、権限者に無断で証明書が使用される可能性があるが、指示ユーザが権限者である証明書を使用すれば、そのような不都合は生じない。 According to the third embodiment described above, when there are a plurality of certificates corresponding to a plurality of corresponding feature data, the instructing user (of the plurality of certificates) is referred to with reference to the management table KMT. In this embodiment, it is determined that the logged-in user) gives an electronic signature using the certificate of the authorized person (owner in this embodiment) (YES in S310, YES in S315, S325). .. As a result, when there are a plurality of corresponding certificates, it can be decided to grant an appropriate digital certificate. For example, if the instructing user uses a certificate that is not an authorized person, the certificate may be used without the permission of the authorized person, but if the instructing user uses a certificate that is an authorized person, such an inconvenience. Does not occur.

さらに、対応する複数個の証明書の中に、指示ユーザが権限者である証明書がない場合には(S315:NO)、対応する複数個の証明書の中から、所定の優先順位に従って証明書を選択する(S330)。この結果、対応する複数個の証明書の中に、指示ユーザが権限者である証明書がない場合であっても、適切な電子証明書を付与することを決定できる。 Further, if there is no certificate in which the instructing user is the authorized person among the corresponding plurality of certificates (S315: NO), the certificates are certified according to a predetermined priority from the corresponding plurality of certificates. Select a book (S330). As a result, even if there is no certificate in which the instructing user is the authorized person among the corresponding plurality of certificates, it can be determined to grant an appropriate digital certificate.

D.変形例
(1)図10にて破線で示すように、対応する複数個の証明書の中に、ログイン中のユーザが所有者である証明書がない場合には(S315:NO)、S320にて、CPU110は、汎用の証明書を選択しても良い。すなわち、指示ユーザ(本変形例ではログイン中のユーザ)が、対応する証明書の権限者と異なる場合には、S300~S310にて特定される対応特徴データに拘わらずに、所定の証明書(本変形例では汎用の証明書)を用いて前記特定の電子署名を付与することが決定されても良い。この場合には、指示ユーザが、対応する証明書の権限者でない場合であっても、適切な証明書を選択できる。したがって、例えば、権限者に無断で証明書が使用されることを抑制できる。
D. Modification example (1) As shown by the broken line in FIG. 10, when there is no certificate in which the logged-in user is the owner among the corresponding plurality of certificates (S315: NO), In S320, the CPU 110 may select a general-purpose certificate. That is, if the instructing user (the logged-in user in this modification) is different from the authorized person of the corresponding certificate, the predetermined certificate (in spite of the corresponding feature data specified in S300 to S310) In this modification, it may be decided to attach the specific electronic signature using a general-purpose certificate). In this case, the instructing user can select the appropriate certificate even if he / she is not the authorized person of the corresponding certificate. Therefore, for example, it is possible to prevent the certificate from being used without the permission of the authorized person.

(2)上記各実施例では、スキャン画像SI、SIcは、原稿OC、OCcに押印された印影SL、SLa~SLcを示す印影画像SLI、SLIa~SLIcを含んでいる(図3、図9)。これに代えて、あるいは、これと共に、スキャン画像は、原稿に記された署名を含んでも良い。図11は、変形例の原稿OCvの一例を示す図である。図11は、変形例のスキャン画像SIvを示しているとも言うことができる。原稿OCvは、オブジェクトOb1と、原稿OCvに記された署名SGと、を含んでいる。このために、本変形例では、例えば、図2のS110にて取得されるスキャンデータによって示されるスキャン画像SIvは、署名SGを示す署名画像SGIを含む。 (2) In each of the above embodiments, the scanned images SI and SIc include imprint images SLI and SLIa to SLIc indicating imprints SL and SLa to SLc stamped on the original OC and OCc (FIGS. 3 and 9). .. Alternatively, or in conjunction with this, the scanned image may include the signature inscribed on the manuscript. FIG. 11 is a diagram showing an example of the original OCv of the modified example. It can also be said that FIG. 11 shows the scanned image SIv of the modified example. The manuscript OCv includes an object Ob1 and a signature SG written on the manuscript OCv. Therefore, in this modification, for example, the scan image SIv shown by the scan data acquired in S110 of FIG. 2 includes a signature image SGI indicating a signature SG.

この場合には、例えば、ユーザごとの署名画像の二値データが特徴データとして、不揮発性記憶装置130に格納される。そして、例えば、図2や図6のS115、S120では、スキャンデータの全体を解析することによって、具体的には、該特徴データを用いたパターンマッチングによって、スキャン画像SIv内に署名画像が含まれるか否かが判断される。また、図7のS205では、スキャン画像SIv内の署名画像SGIの二値データが特徴データとして生成され、S210では、登録済みのユーザの署名画像の特徴データの中に、S205にて生成された署名画像SGIの特徴データに対応する対応特徴データがあるか否かが判断される。図10のS300、S305においても同様である。以上の説明から解るように、上記各実施例の印影画像SLI、SLIa~SLIc、および、本変形例の署名画像SGIは、特定画像の例である。 In this case, for example, the binary data of the signature image for each user is stored in the non-volatile storage device 130 as feature data. Then, for example, in S115 and S120 of FIGS. 2 and 6, the signature image is included in the scan image SIv by analyzing the entire scan data, specifically, by pattern matching using the feature data. Whether or not it is judged. Further, in S205 of FIG. 7, the binary data of the signature image SGI in the scanned image SIv is generated as feature data, and in S210, it is generated in S205 in the feature data of the signature image of the registered user. It is determined whether or not there is corresponding feature data corresponding to the feature data of the signature image SGI. The same applies to S300 and S305 of FIG. As can be seen from the above description, the imprint images SLI, SLIa to SLIc of each of the above embodiments, and the signature image SGI of this modification are examples of specific images.

(3)上記第2実施例では、ユーザによって入力されるユーザIDを用いてログイン処理(図6のS100B)を行うことによって、スキャンデータSDに基づく画像ファイルの生成を指示する指示ユーザが特定される。ログイン処理に代えて、例えば、複合機100は、ユーザIDのリストを含む選択画面(図示省略)を表示部140に表示し、該選択画面を介してユーザIDの指定指示を取得しても良い。この場合には、指定指示によって指定されたユーザIDを有するユーザが、指示ユーザとして特定される。 (3) In the second embodiment, the instruction user instructing the generation of the image file based on the scan data SD is specified by performing the login process (S100B in FIG. 6) using the user ID input by the user. To. Instead of the login process, for example, the multifunction device 100 may display a selection screen (not shown) including a list of user IDs on the display unit 140, and acquire a user ID designation instruction via the selection screen. .. In this case, the user having the user ID specified by the designated instruction is specified as the instructed user.

(4)なお、図4にて、破線で示すように、システム1000bは、証明書指定サーバ200を備えても良い。この場合には、各実施例のスキャンデータ生成処理のうちの一部の処理は、証明書指定サーバ200によって実行されても良い。例えば、複合機100のCPU110は、図6のS110にて、スキャンデータを取得すると、スキャン画像SIのうち、予め定められた位置にある捺印欄SAを示す部分画像SAIの部分画像データを、証明書指定サーバ200に対して送信する。証明書指定サーバ200のCPUは、該部分画像データを用いて、図6のS115、S120、S122Bの処理を実行して、使用すべき証明書を決定する。証明書指定サーバ200は、使用すべき証明書を複合機100に対して通知する。そして、該通知に従って、複合機100のCPU110は、図6のS130B、S135、あるいは、図6のS125B~S128B、S135の処理を実行する。この場合には、証明書指定サーバ200が、画像処理装置の例である。 (4) As shown by the broken line in FIG. 4, the system 1000b may include the certificate designation server 200. In this case, some of the scan data generation processes of each embodiment may be executed by the certificate designation server 200. For example, when the CPU 110 of the multifunction device 100 acquires the scan data in S110 of FIG. 6, it certifies the partial image data of the partial image SAI indicating the stamp column SA at the predetermined position in the scan image SI. It is transmitted to the document designation server 200. The CPU of the certificate designation server 200 executes the processes of S115, S120, and S122B of FIG. 6 using the partial image data to determine the certificate to be used. The certificate designation server 200 notifies the multifunction device 100 of the certificate to be used. Then, according to the notification, the CPU 110 of the multifunction device 100 executes the processes of S130B and S135 of FIG. 6 or S125B to S128B and S135 of FIG. In this case, the certificate designation server 200 is an example of an image processing device.

(5)図6のスキャンデータ生成処理は、適宜に変更可能である。例えば、S126B~S128Bは省略されて、S125Bにて生成された画像ファイルは、S135にて、直ちに、ファイルサーバ300に送信されても良い。 (5) The scan data generation process of FIG. 6 can be appropriately changed. For example, S126B to S128B may be omitted, and the image file generated in S125B may be immediately transmitted to the file server 300 in S135.

また、図6のS125Bの画像ファイルの生成は、S128Bにてユーザからの使用許可の通知が受信された場合に(S128B:YES)、その後に実行されても良い。 Further, the generation of the image file of S125B in FIG. 6 may be executed after the notification of the permission of use from the user is received in S128B (S128B: YES).

また、スキャン画像SI内に、印影画像SLIが含まれない場合には(S120:NO)、S130Bにて、電子署名が付与されない画像ファイルが生成されても良い。 Further, when the imprint image SLI is not included in the scanned image SI (S120: NO), an image file without an electronic signature may be generated in S130B.

(6)同様に、図7や図10の証明書選択処理も適宜に変更可能である。例えば、図7のCPU110は、登録済みの特徴データCD1~CD3の中に、対応特徴データがない場合には(S210:NO)、S220~S230に代えて、汎用の証明書を選択しても良い。あるいは、この場合に、CPU110は、S220の前に、証明書の選択指示を取得する前に、電子署名を付与するか否かの指示をユーザから取得し、電子署名を付与する指示が取得される場合に限り、S220~S230の処理を実行しても良い。そして、電子署名を付与しない指示が取得される場合には、CPU110は、電子署名を付与しない画像ファイルを生成しても良い。 (6) Similarly, the certificate selection process of FIGS. 7 and 10 can be appropriately changed. For example, in the CPU 110 of FIG. 7, if there is no corresponding feature data in the registered feature data CD1 to CD3 (S210: NO), a general-purpose certificate may be selected instead of S220 to S230. good. Alternatively, in this case, before S220, the CPU 110 obtains an instruction as to whether or not to give a digital signature from the user before acquiring the certificate selection instruction, and obtains an instruction to give the electronic signature. Only in this case, the processes of S220 to S230 may be executed. Then, when the instruction not to give the electronic signature is acquired, the CPU 110 may generate the image file without giving the electronic signature.

また、図10のS330にて、CPU110は、所定の優先順位に従って、用いるべき証明書を選択している。これに代えて、CPU110は、例えば、図8に示すような証明書の選択画面を表示部140に表示し、ユーザからの選択指示に従って用いるべき証明書を選択しても良い。 Further, in S330 of FIG. 10, the CPU 110 selects a certificate to be used according to a predetermined priority. Instead of this, the CPU 110 may display, for example, a certificate selection screen as shown in FIG. 8 on the display unit 140, and select a certificate to be used according to a selection instruction from the user.

さらには、S330に代えて、CPU110は、対応する複数個の証明書の中に、ログイン中のユーザが所有者とは異なる権限者となっている証明書があるか否かを判断しても良い。そして、ログイン中のユーザが所有者とは異なる権限者となっている証明書がある場合には、当該証明書が選択され、ログイン中のユーザが所有者とは異なる権限者となっている証明書がない場合には、所定の優先順位に従って、用いるべき証明書が選択されても良い。 Further, instead of S330, the CPU 110 may determine whether or not there is a certificate in which the logged-in user has a different authority from the owner among the corresponding plurality of certificates. good. If there is a certificate in which the logged-in user has a different authority than the owner, the certificate is selected and the logged-in user has a different authority than the owner. If there is no written document, the certificate to be used may be selected according to a predetermined priority.

(7)上記各実施例では、スキャンデータ生成処理を行う画像処理装置は、複合機100、100bであるが、単体のスキャナであっても良い。また、画像処理装置は、パーソナルコンピュータやスマートフォンなどの端末装置であっても良い。この場合には、例えば、端末装置は、自身の不揮発性記憶装置に予め保存されたスキャンデータを取得し、該スキャンデータを用いてスキャンデータ生成処理を行っても良い。また、画像処理装置は、ファイルサーバ300であっても良い。この場合には、ファイルサーバ300は、例えば、所定のフォルダに格納されたスキャンデータを取得し、該スキャンデータを用いてスキャンデータ生成処理を行っても良い。この場合に、ファイルサーバは、ネットワークを介して互いに通信可能な複数個の装置(例えば、コンピュータ)を含む、いわゆるクラウドサーバであっても良い。 (7) In each of the above embodiments, the image processing apparatus that performs the scan data generation processing is the multifunction devices 100 and 100b, but it may be a single scanner. Further, the image processing device may be a terminal device such as a personal computer or a smartphone. In this case, for example, the terminal device may acquire scan data stored in advance in its own non-volatile storage device and perform scan data generation processing using the scan data. Further, the image processing device may be a file server 300. In this case, the file server 300 may, for example, acquire scan data stored in a predetermined folder and perform scan data generation processing using the scan data. In this case, the file server may be a so-called cloud server including a plurality of devices (for example, computers) capable of communicating with each other via a network.

(8)上記各実施例において、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよく、逆に、ソフトウェアによって実現されていた構成の一部あるいは全部をハードウェアに置き換えるようにしてもよい。 (8) In each of the above embodiments, a part of the configuration realized by the hardware may be replaced with software, and conversely, a part or all of the configuration realized by the software may be replaced with hardware. You may do so.

(9)本発明の機能の一部または全部がコンピュータプログラムで実現される場合には、そのプログラムは、コンピュータ読み取り可能な記録媒体(例えば、一時的ではない記録媒体)に格納された形で提供することができる。プログラムは、提供時と同一または異なる記録媒体(コンピュータ読み取り可能な記録媒体)に格納された状態で、使用され得る。「コンピュータ読み取り可能な記録媒体」は、メモリーカードやCD-ROMのような携帯型の記録媒体に限らず、各種ROM等のコンピュータ内の内部記憶装置や、ハードディスクドライブ等のコンピュータに接続されている外部記憶装置も含み得る。 (9) When a part or all of the functions of the present invention are realized by a computer program, the program is provided in a form stored in a computer-readable recording medium (for example, a non-temporary recording medium). can do. The program may be used while being stored in the same or different recording medium (computer-readable recording medium) as it was provided. The "computer-readable recording medium" is not limited to a portable recording medium such as a memory card or a CD-ROM, but is connected to an internal storage device in the computer such as various ROMs or a computer such as a hard disk drive. It may also include an external storage device.

以上、実施例、変形例に基づき本発明について説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれる。 Although the present invention has been described above based on Examples and Modifications, the above-described embodiments of the invention are for facilitating the understanding of the present invention and do not limit the present invention. The present invention may be modified or improved without departing from the spirit and claims, and the present invention includes an equivalent thereof.

100、100b…複合機、110…CPU、120…揮発性記憶装置、130、130b…不揮発性記憶装置、140…表示部、150…操作部、160…印刷実行部、170…読取実行部、190…インタフェース、200…証明書指定サーバ、300…ファイルサーバ、1000、1000b…システム、CMIb…証明書管理情報、SKS、SKSb…鍵格納部、CTS、CTSb…証明書格納部、SAIc…部分画像、SLI、SLIa~SLIc…印影画像、CDx、CDxa~CDxc…特徴データ、SA、SAc…捺印欄、OC、OCc、OCv…原稿、SD…スキャンデータ、SG…署名、PG…コンピュータプログラム、SI、SIc、SIv…スキャン画像、CT、CT1~CT3…証明書、NT…ローカルエリアネットワーク、CD1~CD3…特徴データ、KMT…管理テーブル、AUT…権限者テーブル、PGb…コンピュータプログラム、SL、SLa…印影 100, 100b ... Complex machine, 110 ... CPU, 120 ... Volatile storage device, 130, 130b ... Non-volatile storage device, 140 ... Display unit, 150 ... Operation unit, 160 ... Print execution unit, 170 ... Reading execution unit, 190 ... Interface, 200 ... Certificate designation server, 300 ... File server, 1000, 1000b ... System, CMIb ... Certificate management information, SKS, SKSb ... Key storage unit, CTS, CTSb ... Certificate storage unit, SAIc ... Partial image, SLI, SLIa-SLIc ... Imprint image, CDx, CDxa-CDxc ... Feature data, SA, SAc ... Stamp field, OC, OCc, OCv ... Manuscript, SD ... Scan data, SG ... Signature, PG ... Computer program, SI, SIc , SIv ... scan image, CT, CT1-CT3 ... certificate, NT ... local area network, CD1-CD3 ... feature data, KMT ... management table, AUT ... authorized person table, PGb ... computer program, SL, SLa ... imprint

Claims (13)

原稿の画像を含む対象画像の対象画像データであって、
イメージセンサを用いて生成される前記対象画像データの少なくとも一部を取得する画像取得部と、
前記対象画像データの少なくとも一部を解析することによって、前記対象画像内に、前記原稿に記された署名および前記原稿に押印された印影との少なくとも一方を示す特定画像が含まれるか否かを判断する判断部と、
複数個の前記特定画像の特徴を示す複数個の特徴データと、前記複数個の特徴データと複数個の証明書との対応関係を示す情報と、を含む特徴情報を取得する特徴情報取得部と、
前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像内の前記特定画像を示す部分画像データを解析することによって、前記特徴情報に含まれる前記複数個の特徴データの中から、前記対象画像内の前記特定画像に対応する対応特徴データを決定する特徴決定部と、
前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像データに基づいて生成すべき画像ファイルに対して、前記複数個の証明書のうち、前記対応特徴データに対応する対応証明書を用いて特定の電子署名を付与することを決定し、前記対象画像内に前記特定画像が含まれないと判断する場合に、前記画像ファイルに対して前記特定の電子署名を付与しないことを決定する、署名決定部と、
前記画像ファイルの生成を指示する指示ユーザを特定するユーザ特定部と、
前記複数個の証明書のそれぞれの権限者を示す権限者情報を参照して、前記指示ユーザが、前記対応証明書の前記権限者であるか否かを判断する権限判断部と、
前記指示ユーザが、前記対応証明書の前記権限者と異なる場合に、前記権限者から前記対応証明書の使用許可を取得する許可取得部と、
前記使用許可の取得後に、前記対応証明書を用いて前記特定の電子署名を付与済みの前記画像ファイルを出力するファイル出力部と、
を備える、画像処理装置。
Target image data of the target image including the image of the manuscript,
An image acquisition unit that acquires at least a part of the target image data generated by using an image sensor, and an image acquisition unit.
By analyzing at least a part of the target image data, it is determined whether or not the target image contains a specific image showing at least one of the signature written on the manuscript and the imprint stamped on the manuscript. Judgment department to judge,
A feature information acquisition unit that acquires feature information including a plurality of feature data indicating the features of the plurality of specific images and information indicating a correspondence relationship between the plurality of feature data and the plurality of certificates. ,
When it is determined that the specific image is included in the target image, by analyzing the partial image data indicating the specific image in the target image, among the plurality of feature data included in the feature information. From the feature determination unit that determines the corresponding feature data corresponding to the specific image in the target image,
Correspondence corresponding to the corresponding feature data among the plurality of certificates for the image file to be generated based on the target image data when it is determined that the specific image is included in the target image. When it is decided to give a specific electronic signature using a certificate and it is determined that the specific image is not included in the target image, the specific electronic signature is not given to the image file. The signature decision department and
A user identification unit that identifies an instruction user instructing the generation of the image file, and a user identification unit.
An authority determination unit that determines whether or not the instructing user is the authority of the corresponding certificate by referring to the authority information indicating the authority of each of the plurality of certificates.
When the instructing user is different from the authorized person of the corresponding certificate, the permission acquisition unit for acquiring the permission to use the corresponding certificate from the authorized person, and the permission acquisition unit.
After obtaining the license, a file output unit that outputs the image file to which the specific electronic signature has been given by using the corresponding certificate, and a file output unit.
An image processing device.
原稿の画像を含む対象画像の対象画像データであって、
イメージセンサを用いて生成される前記対象画像データの少なくとも一部を取得する画像取得部と、
前記対象画像データの少なくとも一部を解析することによって、前記対象画像内に、前記原稿に記された署名および前記原稿に押印された印影との少なくとも一方を示す特定画像が含まれるか否かを判断する判断部と、
複数個の前記特定画像の特徴を示す複数個の特徴データと、前記複数個の特徴データと複数個の証明書との対応関係を示す情報と、を含む特徴情報を取得する特徴情報取得部と、
前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像内の前記特定画像を示す部分画像データを解析することによって、前記特徴情報に含まれる前記複数個の特徴データの中から、前記対象画像内の前記特定画像に対応する対応特徴データを決定する特徴決定部と、
前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像データに基づいて生成すべき画像ファイルに対して特定の電子署名を付与することを決定し、前記対象画像内に前記特定画像が含まれないと判断する場合に、前記画像ファイルに対して前記特定の電子署名を付与しないことを決定する、署名決定部と、
前記画像ファイルの生成を指示する指示ユーザを特定するユーザ特定部と、
前記複数個の証明書のそれぞれの権限者を示す権限者情報を参照して、前記指示ユーザが、前記複数個の証明書のうち、前記対応特徴データに対応する対応証明書の前記権限者であるか否かを判断する権限判断部と、
を備え
前記署名決定部は、
前記指示ユーザが、前記対応証明書の前記権限者である場合に、前記対応特徴データに対応する前記対応証明書を用いて前記特定の電子署名を付与することを決定し、
前記指示ユーザが、前記対応証明書の前記権限者とは異なる場合に、前記対応特徴データに拘わらずに、所定の証明書を用いて前記特定の電子署名を付与することを決定する、画像処理装置。
Target image data of the target image including the image of the manuscript,
An image acquisition unit that acquires at least a part of the target image data generated by using an image sensor, and an image acquisition unit.
By analyzing at least a part of the target image data, it is determined whether or not the target image contains a specific image showing at least one of the signature written on the manuscript and the imprint stamped on the manuscript. Judgment department to judge,
A feature information acquisition unit that acquires feature information including a plurality of feature data indicating the features of the plurality of specific images and information indicating a correspondence relationship between the plurality of feature data and the plurality of certificates. ,
When it is determined that the specific image is included in the target image, by analyzing the partial image data indicating the specific image in the target image, among the plurality of feature data included in the feature information. From the feature determination unit that determines the corresponding feature data corresponding to the specific image in the target image,
When it is determined that the specific image is included in the target image, it is determined to give a specific electronic signature to the image file to be generated based on the target image data, and the target image is described. A signature determination unit that determines not to give the specific electronic signature to the image file when it is determined that the specific image is not included.
A user identification unit that identifies an instruction user instructing the generation of the image file, and a user identification unit.
With reference to the authorized person information indicating the authorized person of each of the plurality of certificates, the instructing user is the authorized person of the corresponding certificate corresponding to the corresponding feature data among the plurality of certificates. The authority judgment department that judges whether or not there is,
Equipped with
The signature determination unit
When the instructing user is the authorized person of the corresponding certificate, it is determined that the specific electronic signature is given by using the corresponding certificate corresponding to the corresponding feature data.
An image that determines that the instructing user, when different from the authorized person of the corresponding certificate, grants the particular electronic signature using a predetermined certificate, regardless of the corresponding feature data. Processing device.
原稿の画像を含む対象画像の対象画像データであって、
イメージセンサを用いて生成される前記対象画像データの少なくとも一部を取得する画像取得部と、
前記対象画像データの少なくとも一部を解析することによって、前記対象画像内に、前記原稿に記された署名および前記原稿に押印された印影との少なくとも一方を示す特定画像が含まれるか否かを判断する判断部と、
複数個の前記特定画像の特徴を示す複数個の特徴データと、前記複数個の特徴データと複数個の証明書との対応関係を示す情報と、を含む特徴情報を取得する特徴情報取得部と、
前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像内の前記特定画像を示す部分画像データを解析することによって、前記特徴情報に含まれる前記複数個の特徴データの中から、前記対象画像内の前記特定画像に対応する対応特徴データを決定する特徴決定部と、
前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像データに基づいて生成すべき画像ファイルに対して、前記複数個の証明書のうち、前記対応特徴データに対応する対応証明書を用いて特定の電子署名を付与することを決定し、前記対象画像内に前記特定画像が含まれないと判断する場合に、前記画像ファイルに対して前記特定の電子署名を付与しないことを決定する、署名決定部と、
前記対象画像データに基づく画像ファイルの生成を指示する指示ユーザを特定するユーザ特定部と、
を備え
前記署名決定部は、複数個の前記対応証明書がある場合には、前記複数個の証明書のそれぞれの権限者を示す権限者情報を参照して、複数個の前記対応証明書のうち、前記指示ユーザが前記権限者である証明書を用いて前記特定の電子署名を付与することを決定する、画像処理装置。
Target image data of the target image including the image of the manuscript,
An image acquisition unit that acquires at least a part of the target image data generated by using an image sensor, and an image acquisition unit.
By analyzing at least a part of the target image data, it is determined whether or not the target image contains a specific image showing at least one of the signature written on the manuscript and the imprint stamped on the manuscript. Judgment department to judge,
A feature information acquisition unit that acquires feature information including a plurality of feature data indicating the features of the plurality of specific images and information indicating a correspondence relationship between the plurality of feature data and the plurality of certificates. ,
When it is determined that the specific image is included in the target image, by analyzing the partial image data indicating the specific image in the target image, among the plurality of feature data included in the feature information. From the feature determination unit that determines the corresponding feature data corresponding to the specific image in the target image,
Correspondence corresponding to the corresponding feature data among the plurality of certificates for the image file to be generated based on the target image data when it is determined that the specific image is included in the target image. When it is decided to give a specific electronic signature using a certificate and it is determined that the specific image is not included in the target image, the specific electronic signature is not given to the image file. The signature decision department and
A user identification unit that specifies an instruction user instructing generation of an image file based on the target image data, and a user identification unit.
Equipped with
When there are a plurality of the corresponding certificates, the signature determination unit refers to the authorized person information indicating the authorized person of each of the plurality of certificates, and among the plurality of the corresponding certificates, the signature determination unit refers to the authorized person information. An image processing device that determines that the instructing user grants the specific electronic signature using the certificate of the authorized person .
請求項に記載の画像処理装置であって、
前記署名決定部は、前記複数個の対応証明書の中に、前記指示ユーザが前記権限者である証明書がない場合には、前記複数個の対応証明書の中から、所定の優先順位に従って選択される証明書を用いて前記特定の電子署名を付与することを決定する、画像処理装置。
The image processing apparatus according to claim 3 .
If the instructing user does not have a certificate in which the instructing user is the authorized person among the plurality of correspondence certificates, the signature determination unit will follow a predetermined priority from the plurality of correspondence certificates. An image processing device that determines to grant the particular digital signature using the certificate of choice .
請求項のいずれかに記載の画像処理装置であって、
前記対応証明書の前記権限者は、前記対応証明書の所有者と、前記所有者とは異なる者であって前記対応証明書を使用する権限を有する者と、を含む、画像処理装置。
The image processing apparatus according to any one of claims 1 to 4 .
The authority of the correspondence certificate is an image processing apparatus including the owner of the correspondence certificate and a person different from the owner who has the authority to use the correspondence certificate.
原稿の画像を含む対象画像の対象画像データであって、
イメージセンサを用いて生成される前記対象画像データの少なくとも一部を取得する画像取得部と、
前記対象画像データの少なくとも一部を解析することによって、前記対象画像内に、前記原稿に記された署名および前記原稿に押印された印影との少なくとも一方を示す特定画像が含まれるか否かを判断する判断部と、
複数個の前記特定画像の特徴を示す複数個の特徴データと、前記複数個の特徴データと複数個の証明書との対応関係を示す情報と、を含む特徴情報を取得する特徴情報取得部と、
前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像内の前記特定画像を示す部分画像データを解析することによって、前記特徴情報に含まれる前記複数個の特徴データの中から、前記対象画像内の前記特定画像に対応する対応特徴データを決定する特徴決定部と、
前記複数個の特徴データの中に、前記対応特徴データがない場合に、利用可能な2以上の証明書の中から使用すべき使用証明書を選択する選択指示をユーザから取得する指示取得部と、
前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像データに基づいて生成すべき画像ファイルに対して特定の電子署名を付与することを決定し、前記対象画像内に前記特定画像が含まれないと判断する場合に、前記画像ファイルに対して前記特定の電子署名を付与しないことを決定する、署名決定部と、
を備え
前記署名決定部は、
前記特徴情報に含まれる前記複数個の特徴データの中に、前記対応特徴データがある場合に、前記複数個の証明書のうち、前記対応特徴データに対応する対応証明書を用いて前記特定の電子署名を付与することを決定し、
前記特徴情報に含まれる前記複数個の特徴データの中に、前記対応特徴データがない場合に、前記選択指示に基づいて選択される前記使用証明書を用いて前記特定の電子署名を付与することを決定する、画像処理装置。
Target image data of the target image including the image of the manuscript,
An image acquisition unit that acquires at least a part of the target image data generated by using an image sensor, and an image acquisition unit.
By analyzing at least a part of the target image data, it is determined whether or not the target image contains a specific image showing at least one of the signature written on the manuscript and the imprint stamped on the manuscript. Judgment department to judge,
A feature information acquisition unit that acquires feature information including a plurality of feature data indicating the features of the plurality of specific images and information indicating a correspondence relationship between the plurality of feature data and the plurality of certificates. ,
When it is determined that the specific image is included in the target image, by analyzing the partial image data indicating the specific image in the target image, among the plurality of feature data included in the feature information. From the feature determination unit that determines the corresponding feature data corresponding to the specific image in the target image,
An instruction acquisition unit that acquires a selection instruction from the user to select a usage certificate to be used from two or more available certificates when the corresponding feature data is not included in the plurality of feature data. ,
When it is determined that the specific image is included in the target image, it is determined to give a specific electronic signature to the image file to be generated based on the target image data, and the target image is described. A signature determination unit that determines not to give the specific electronic signature to the image file when it is determined that the specific image is not included.
Equipped with
The signature determination unit
When the corresponding feature data is included in the plurality of feature data included in the feature information, the specific is specified by using the corresponding certificate corresponding to the corresponding feature data among the plurality of certificates. Decided to give an electronic signature,
When the corresponding feature data is not included in the plurality of feature data included in the feature information, the specific electronic signature is given by using the usage certificate selected based on the selection instruction. An image processing device that determines .
請求項に記載の画像処理装置であって、さらに、
前記特徴情報に含まれる前記複数個の特徴データの中に、前記対応特徴データがない場合に、前記対象画像内の前記特定画像を示す部分画像データを解析することによって生成される前記対象画像内の前記特定画像の前記特徴データと、前記対象画像内の前記特定画像の前記特徴データと前記使用証明書とが対応することを示す情報と、を前記特徴情報に追加する追加処理部を備える、画像処理装置。
The image processing apparatus according to claim 6 , further
The target generated by analyzing the partial image data indicating the specific image in the target image when the corresponding feature data is not included in the plurality of feature data included in the feature information. An additional processing unit that adds the feature data of the specific image in the image and the information indicating that the feature data of the specific image in the target image corresponds to the usage certificate to the feature information. An image processing device to be equipped.
請求項1~7のいずれかに記載の画像処理装置であって、
前記署名決定部は、前記対象画像内に前記特定画像が含まれないと判断する場合に、前記画像ファイルに対して電子署名を付与しないことを決定する、画像処理装置。
The image processing apparatus according to any one of claims 1 to 7 .
An image processing device that determines not to give an electronic signature to the image file when the signature determination unit determines that the specific image is not included in the target image.
請求項1~7のいずれかに記載の画像処理装置であって、
前記署名決定部は、前記対象画像内に前記特定画像が含まれないと判断する場合に、前記画像ファイルに対して前記特定の電子署名とは異なる電子署名を付与することを決定する、画像処理装置。
The image processing apparatus according to any one of claims 1 to 7 .
When the signature determination unit determines that the specific image is not included in the target image, the image processing determines that the image file is given an electronic signature different from the specific electronic signature. Device.
コンピュータプログラムであって、
イメージセンサを用いて生成される対象画像データの少なくとも一部を取得する画像取得機能と、
前記対象画像データの少なくとも一部を解析することによって、前記対象画像データによって示される対象画像内に、原稿に記された署名および前記原稿に押印された印影との少なくとも一方を示す特定画像が含まれるか否かを判断する判断機能と、
複数個の前記特定画像の特徴を示す複数個の特徴データと、前記複数個の特徴データと複数個の証明書との対応関係を示す情報と、を含む特徴情報を取得する特徴情報取得機能と、
前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像内の前記特定画像を示す部分画像データを解析することによって、前記特徴情報に含まれる前記複数個の特徴データの中から、前記対象画像内の前記特定画像に対応する対応特徴データを決定する特徴決定機能と、
前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像データに基づいて生成すべき画像ファイルに対して、前記複数個の証明書のうち、前記対応特徴データに対応する対応証明書を用いて特定の電子署名を付与することを決定し、前記対象画像内に前記特定画像が含まれないと判断する場合に、前記画像ファイルに対して前記特定の電子署名を付与しないことを決定する、署名決定機能と、
前記画像ファイルの生成を指示する指示ユーザを特定するユーザ特定機能と、
前記複数個の証明書のそれぞれの権限者を示す権限者情報を参照して、前記指示ユーザが、前記対応証明書の前記権限者であるか否かを判断する権限判断機能と、
前記指示ユーザが、前記対応証明書の前記権限者と異なる場合に、前記権限者から前記対応証明書の使用許可を取得する許可取得機能と、
前記使用許可の取得後に、前記対応証明書を用いて前記特定の電子署名を付与済みの前記画像ファイルを出力するファイル出力機能と、
をコンピュータに実現させる、コンピュータプログラム。
It ’s a computer program,
An image acquisition function that acquires at least a part of the target image data generated using an image sensor,
By analyzing at least a part of the target image data, a specific image showing at least one of the signature written on the manuscript and the imprint imprinted on the manuscript can be found in the target image indicated by the target image data. Judgment function to judge whether it is included and
A feature information acquisition function for acquiring feature information including a plurality of feature data indicating the features of a plurality of the specific images and information indicating a correspondence relationship between the plurality of feature data and the plurality of certificates. ,
When it is determined that the specific image is included in the target image, by analyzing the partial image data indicating the specific image in the target image, among the plurality of feature data included in the feature information. From the feature determination function that determines the corresponding feature data corresponding to the specific image in the target image,
Correspondence corresponding to the corresponding feature data among the plurality of certificates for the image file to be generated based on the target image data when it is determined that the specific image is included in the target image. When it is decided to give a specific electronic signature using a certificate and it is determined that the specific image is not included in the target image, the specific electronic signature is not given to the image file. The signature decision function and
A user identification function that identifies an instruction user instructing the generation of the image file, and
An authority determination function for determining whether or not the instructing user is the authority of the corresponding certificate by referring to the authority information indicating the authority of each of the plurality of certificates.
When the instructing user is different from the authorized person of the corresponding certificate, the permission acquisition function for acquiring the permission to use the corresponding certificate from the authorized person, and
A file output function that outputs the image file to which the specific electronic signature has been given by using the corresponding certificate after obtaining the license.
A computer program that makes a computer realize.
コンピュータプログラムであって、
イメージセンサを用いて生成される対象画像データの少なくとも一部を取得する画像取得機能と、
前記対象画像データの少なくとも一部を解析することによって、前記対象画像データによって示される対象画像内に、原稿に記された署名および前記原稿に押印された印影との少なくとも一方を示す特定画像が含まれるか否かを判断する判断機能と、
複数個の前記特定画像の特徴を示す複数個の特徴データと、前記複数個の特徴データと複数個の証明書との対応関係を示す情報と、を含む特徴情報を取得する特徴情報取得機能と、
前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像内の前記特定画像を示す部分画像データを解析することによって、前記特徴情報に含まれる前記複数個の特徴データの中から、前記対象画像内の前記特定画像に対応する対応特徴データを決定する特徴決定機能と、
前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像データに基づいて生成すべき画像ファイルに対して特定の電子署名を付与することを決定し、前記対象画像内に前記特定画像が含まれないと判断する場合に、前記画像ファイルに対して前記特定の電子署名を付与しないことを決定する、署名決定機能と、
前記画像ファイルの生成を指示する指示ユーザを特定するユーザ特定機能と、
前記複数個の証明書のそれぞれの権限者を示す権限者情報を参照して、前記指示ユーザが、前記複数個の証明書のうち、前記対応特徴データに対応する対応証明書の前記権限者であるか否かを判断する権限判断部と、
をコンピュータに実現させ
前記署名決定機能は、
前記指示ユーザが、前記対応証明書の前記権限者である場合に、前記対応特徴データに対応する前記対応証明書を用いて前記特定の電子署名を付与することを決定し、
前記指示ユーザが、前記対応証明書の前記権限者とは異なる場合に、前記対応特徴データに拘わらずに、所定の証明書を用いて前記特定の電子署名を付与することを決定する、コンピュータプログラム。
It ’s a computer program,
An image acquisition function that acquires at least a part of the target image data generated using an image sensor,
By analyzing at least a part of the target image data, a specific image showing at least one of the signature written on the manuscript and the imprint imprinted on the manuscript can be found in the target image indicated by the target image data. Judgment function to judge whether it is included and
A feature information acquisition function for acquiring feature information including a plurality of feature data indicating the features of a plurality of the specific images and information indicating a correspondence relationship between the plurality of feature data and the plurality of certificates. ,
When it is determined that the specific image is included in the target image, by analyzing the partial image data indicating the specific image in the target image, among the plurality of feature data included in the feature information. From the feature determination function that determines the corresponding feature data corresponding to the specific image in the target image,
When it is determined that the specific image is included in the target image, it is determined to give a specific electronic signature to the image file to be generated based on the target image data, and the target image is described. A signature determination function that determines not to give the specific electronic signature to the image file when it is determined that the specific image is not included.
A user identification function that identifies an instruction user instructing the generation of the image file, and
With reference to the authorized person information indicating the authorized person of each of the plurality of certificates, the instructing user is the authorized person of the corresponding certificate corresponding to the corresponding feature data among the plurality of certificates. The authority judgment department that judges whether or not there is,
To the computer ,
The signature determination function is
When the instructing user is the authorized person of the corresponding certificate, it is determined that the specific electronic signature is given by using the corresponding certificate corresponding to the corresponding feature data.
A computer that determines that the instructing user, when different from the authorized person of the corresponding certificate, grants the particular electronic signature using a predetermined certificate, regardless of the corresponding feature data. program.
コンピュータプログラムであって、
イメージセンサを用いて生成される対象画像データの少なくとも一部を取得する画像取得機能と、
前記対象画像データの少なくとも一部を解析することによって、前記対象画像データによって示される対象画像内に、原稿に記された署名および前記原稿に押印された印影との少なくとも一方を示す特定画像が含まれるか否かを判断する判断機能と、
複数個の前記特定画像の特徴を示す複数個の特徴データと、前記複数個の特徴データと複数個の証明書との対応関係を示す情報と、を含む特徴情報を取得する特徴情報取得機能と、
前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像内の前記特定画像を示す部分画像データを解析することによって、前記特徴情報に含まれる前記複数個の特徴データの中から、前記対象画像内の前記特定画像に対応する対応特徴データを決定する特徴決定機能と、
前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像データに基づいて生成すべき画像ファイルに対して、前記複数個の証明書のうち、前記対応特徴データに対応する対応証明書を用いて特定の電子署名を付与することを決定し、前記対象画像内に前記特定画像が含まれないと判断する場合に、前記画像ファイルに対して前記特定の電子署名を付与しないことを決定する、署名決定機能と、
前記対象画像データに基づく画像ファイルの生成を指示する指示ユーザを特定するユーザ特定機能と、
をコンピュータに実現させ
前記署名決定機能は、複数個の前記対応証明書がある場合には、前記複数個の証明書のそれぞれの権限者を示す権限者情報を参照して、複数個の前記対応証明書のうち、前記指示ユーザが前記権限者である証明書を用いて前記特定の電子署名を付与することを決定する、コンピュータプログラム。
It ’s a computer program,
An image acquisition function that acquires at least a part of the target image data generated using an image sensor,
By analyzing at least a part of the target image data, a specific image showing at least one of the signature written on the manuscript and the imprint imprinted on the manuscript can be found in the target image indicated by the target image data. Judgment function to judge whether it is included and
A feature information acquisition function for acquiring feature information including a plurality of feature data indicating the features of a plurality of the specific images and information indicating a correspondence relationship between the plurality of feature data and the plurality of certificates. ,
When it is determined that the specific image is included in the target image, by analyzing the partial image data indicating the specific image in the target image, among the plurality of feature data included in the feature information. From the feature determination function that determines the corresponding feature data corresponding to the specific image in the target image,
Correspondence corresponding to the corresponding feature data among the plurality of certificates for the image file to be generated based on the target image data when it is determined that the specific image is included in the target image. When it is decided to give a specific electronic signature using a certificate and it is determined that the specific image is not included in the target image, the specific electronic signature is not given to the image file. The signature decision function and
A user identification function for specifying an instruction user instructing generation of an image file based on the target image data, and a user identification function.
To the computer ,
When there are a plurality of the corresponding certificates, the signature determination function refers to the authorized person information indicating the authorized person of each of the plurality of certificates, and is out of the plurality of the corresponding certificates. A computer program that determines that the instructing user grants the particular electronic signature using the certificate of authority .
コンピュータプログラムであって、
イメージセンサを用いて生成される対象画像データの少なくとも一部を取得する画像取得機能と、
前記対象画像データの少なくとも一部を解析することによって、前記対象画像データによって示される対象画像内に、原稿に記された署名および前記原稿に押印された印影との少なくとも一方を示す特定画像が含まれるか否かを判断する判断機能と、
複数個の前記特定画像の特徴を示す複数個の特徴データと、前記複数個の特徴データと複数個の証明書との対応関係を示す情報と、を含む特徴情報を取得する特徴情報取得機能と、
前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像内の前記特定画像を示す部分画像データを解析することによって、前記特徴情報に含まれる前記複数個の特徴データの中から、前記対象画像内の前記特定画像に対応する対応特徴データを決定する特徴決定機能と、
前記複数個の特徴データの中に、前記対象画像内の前記特定画像に対応する対応特徴データがない場合に、利用可能な2以上の証明書の中から使用すべき使用証明書を選択する選択指示をユーザから取得する指示取得機能と、
前記対象画像内に前記特定画像が含まれると判断する場合に、前記対象画像データに基づいて生成すべき画像ファイルに対して特定の電子署名を付与することを決定し、前記対象画像内に前記特定画像が含まれないと判断する場合に、前記画像ファイルに対して前記特定の電子署名を付与しないことを決定する、署名決定機能と、
をコンピュータに実現させ
前記署名決定機能は、
前記特徴情報に含まれる前記複数個の特徴データの中に、前記対応特徴データがある場合に、前記複数個の証明書のうち、前記対応特徴データに対応する対応証明書を用いて前記特定の電子署名を付与することを決定し、
前記特徴情報に含まれる前記複数個の特徴データの中に、前記対応特徴データがない場合に、前記選択指示に基づいて選択される前記使用証明書を用いて前記特定の電子署名を付与することを決定する、コンピュータプログラム。
It ’s a computer program,
An image acquisition function that acquires at least a part of the target image data generated using an image sensor,
By analyzing at least a part of the target image data, a specific image showing at least one of the signature written on the manuscript and the imprint imprinted on the manuscript can be found in the target image indicated by the target image data. Judgment function to judge whether it is included and
A feature information acquisition function for acquiring feature information including a plurality of feature data indicating the features of a plurality of the specific images and information indicating a correspondence relationship between the plurality of feature data and the plurality of certificates. ,
When it is determined that the specific image is included in the target image, by analyzing the partial image data indicating the specific image in the target image, among the plurality of feature data included in the feature information. From the feature determination function that determines the corresponding feature data corresponding to the specific image in the target image,
Selection to select a usage certificate to be used from two or more available certificates when there is no corresponding feature data corresponding to the specific image in the target image among the plurality of feature data. An instruction acquisition function that acquires instructions from the user, and
When it is determined that the specific image is included in the target image, it is determined to give a specific electronic signature to the image file to be generated based on the target image data, and the target image is described. A signature determination function that determines not to give the specific electronic signature to the image file when it is determined that the specific image is not included.
To the computer ,
The signature determination function is
When the corresponding feature data is included in the plurality of feature data included in the feature information, the specific is specified by using the corresponding certificate corresponding to the corresponding feature data among the plurality of certificates. Decided to give an electronic signature,
When the corresponding feature data is not included in the plurality of feature data included in the feature information, the specific electronic signature is given by using the usage certificate selected based on the selection instruction. A computer program that determines .
JP2017189717A 2017-09-29 2017-09-29 Image processing equipment and computer programs Active JP6993610B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017189717A JP6993610B2 (en) 2017-09-29 2017-09-29 Image processing equipment and computer programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017189717A JP6993610B2 (en) 2017-09-29 2017-09-29 Image processing equipment and computer programs

Publications (2)

Publication Number Publication Date
JP2019068168A JP2019068168A (en) 2019-04-25
JP6993610B2 true JP6993610B2 (en) 2022-01-13

Family

ID=66340028

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017189717A Active JP6993610B2 (en) 2017-09-29 2017-09-29 Image processing equipment and computer programs

Country Status (1)

Country Link
JP (1) JP6993610B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002314531A (en) 2001-04-09 2002-10-25 Nippon Telegr & Teleph Corp <Ntt> Electronic data recording and reproducing device and method
JP2005094703A (en) 2003-09-19 2005-04-07 Fujitsu Ltd Device, method, and program for electronic signature grant
US20060212707A1 (en) 2005-03-21 2006-09-21 Microsoft Corporation Digitally signing an electronic document with a user-entered signature image
JP2007124289A (en) 2005-10-28 2007-05-17 Dainippon Printing Co Ltd Server, processor and program
JP2007266966A (en) 2006-03-28 2007-10-11 Sharp Corp Image processing apparatus and system, and information processing apparatus and program
JP2011259462A (en) 2011-07-15 2011-12-22 Konica Minolta Business Technologies Inc Image processing apparatus
JP2013070179A (en) 2011-09-21 2013-04-18 Seiko I Infotech Inc Drawing management server and drawing management program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002314531A (en) 2001-04-09 2002-10-25 Nippon Telegr & Teleph Corp <Ntt> Electronic data recording and reproducing device and method
JP2005094703A (en) 2003-09-19 2005-04-07 Fujitsu Ltd Device, method, and program for electronic signature grant
US20060212707A1 (en) 2005-03-21 2006-09-21 Microsoft Corporation Digitally signing an electronic document with a user-entered signature image
JP2007124289A (en) 2005-10-28 2007-05-17 Dainippon Printing Co Ltd Server, processor and program
JP2007266966A (en) 2006-03-28 2007-10-11 Sharp Corp Image processing apparatus and system, and information processing apparatus and program
JP2011259462A (en) 2011-07-15 2011-12-22 Konica Minolta Business Technologies Inc Image processing apparatus
JP2013070179A (en) 2011-09-21 2013-04-18 Seiko I Infotech Inc Drawing management server and drawing management program

Also Published As

Publication number Publication date
JP2019068168A (en) 2019-04-25

Similar Documents

Publication Publication Date Title
US20080013727A1 (en) Image processing apparatus and image processing method
US9710619B2 (en) System and method for providing an electronic document
US8713648B2 (en) Information processing apparatus capable of authentication processing with improved user convenience, control program for information processing apparatus, and recording medium having control program for information processing apparatus recorded thereon
US9223957B2 (en) Image forming apparatus, image processing apparatus and image delivery system
CN104144271B (en) Carry out the image processing apparatus and its authentication method of user authentication
JP6940812B2 (en) Information processing equipment and computer programs
JP2008277982A (en) Image processing system, and image reader
JP2008234150A (en) Information processor, information processing method, and information processing system
US8555399B2 (en) Information processing apparatus and method and storage medium
JP2015180995A (en) Information processing system, management device, information output method, and program
JP4059114B2 (en) Image forming system and image forming apparatus
JP2009188493A (en) Scanner
JP2006235885A (en) Document digitization method, document digitization apparatus and document digitization program
JP2007274403A (en) Methods of registering user certificate and transmitting document with user&#39;s electronic signature in image processing apparatus
US20080304660A1 (en) Image forming apparatus allowing easy management relating to user&#39;s usage
JP6993610B2 (en) Image processing equipment and computer programs
US20090009814A1 (en) Document management system, method, and program, and image forming apparatus
JP4396643B2 (en) Image processing apparatus, interface information disclosure program, and interface information disclosure method
US20070081184A1 (en) System and method for releasing multiple document processing operations
JP2019061324A (en) Information processing device and information processing program
JP6973113B2 (en) Image processing equipment, programs and image processing methods
JP2007274404A (en) Method of transmitting document with user&#39;s electronic signature in image processing apparatus
JP5266117B2 (en) Image forming apparatus and image forming system
JP2010231284A (en) Authentication system, authentication method, and information processor
JP5935428B2 (en) Reading control apparatus, reading system, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200727

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210825

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211019

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20211110

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211123

R150 Certificate of patent or registration of utility model

Ref document number: 6993610

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150