Digital certification of scanned documents

The system authenticates and stores digital copies by recomputing digital signatures and maintaining chronological order in a trusted database, addressing fraud concerns and ensuring the integrity of digital copies.

JP2024536921APending Publication Date: 2024-10-08AMADEUS SAS
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2024522366
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-10-15
Filing Date
2022-10-10
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

Digital copies of original documents are vulnerable to fraud due to ease of modification, necessitating a solution to ensure authenticity and maintain the original document for verification.

Method used

A system and method for digitally authenticating and storing digital copies by using a certification server that recomputes digital signatures, compares them with original signatures, and stores them in a trusted database with chronological order, ensuring any changes are detected and preventing unauthorized modifications.

Benefits of technology

Ensures the authenticity of digital copies by detecting post-modification changes, maintaining the integrity of the digital copies, and providing a trusted database for secure storage and retrieval.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024536921000001_ABST
    Figure 2024536921000001_ABST
Patent Text Reader

Abstract

The present invention is directed to a system and method for certifying digital copies of original documents, such as paper-based expense receipts. An attestation server is provided for attesting the authenticity of a digitally signed electronic document and a corresponding digitally signed data payload submitted from a client application executing on a user device. The attestation server is configured, in response to authenticating the submitted electronic document and corresponding data payload, to generate a corresponding data record in a portion of a trusted database associated with a user and / or user organization linked to the client application, the corresponding data record including associated data items obtained from the authenticated electronic document and the authenticated data payload, and to responsively return a unique identification number and a timestamp associated with the generation of the data record.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a system and method for digitally authenticating and storing digital copies of scanned documents. [Background technology]

[0002] Digital copies of original documents are used in a variety of applications, including digital processing and transmission of information contained within the original document, e.g., digital archiving, digital expense reporting, etc. In many cases, it is necessary to maintain the original document in order to prove the authenticity of the corresponding digital copy. For example, when a digital expense report that includes digital images of scanned receipts collected over a period of time is submitted for reimbursement, e.g., in the case of a tax audit, it is necessary to maintain the original receipts in order to prove the authenticity of the information contained within the expense report.

[0003] The reason for maintaining the original document is that the digital copy of the scanned document can be easily modified using an appropriate software application. For example, a user submitting an expense report may use the camera of an electronic device to scan the original document to obtain corresponding digital images, which can be processed using desired software before being sent to an expense reporting service for reimbursement. However, before submitting the digital images, the user is given the opportunity to modify the information represented in the digital images. For example, the user may post-process the digital images to alter the amounts listed in the digital copies of receipts, or change information such as dates and times. As a result, digital copies of original documents are considered vulnerable to fraud, making it necessary to maintain the corresponding originals. Summary of the Invention [Problem to be solved by the invention]

[0004] Therefore, there is a need to provide an improved solution for ensuring the authenticity of digital copies of scanned document solutions. [Means for solving the problem]

[0005] One object of the present invention is to ensure the authenticity of the information presented in a digital copy of an original document and further to ensure that the certified digital copies are stored in an accessible, trusted database that maintains the chronological order in which the certified digital copies were created and / or submitted for processing.

[0006] This object of the present invention is achieved according to a system, a method and a computer program product which are characterised in the independent claims. Preferred embodiments are set out in the dependent claims.

[0007] According to one aspect of the present invention, there is provided a method for verifying the authenticity of a digital copy of an original document in a data verification server, comprising the steps of: receiving, from a client application executing on a user's electronic device, a digitally signed data payload associated with an original document and a corresponding digitally signed electronic document; A digitally signed electronic document comprises a digital copy of an original document, including one or more pages, and a generated digital signature; The digitally signed data payload includes the digitally signed electronic document, the data items associated with the original document, and the generated digital signature. receiving the signal; The received digitally signed data payload and corresponding electronic document are recalculating digital signatures corresponding to the digitally signed data payload and the digitally signed electronic document and comparing the recalculated signatures with the digital signature applied at the client application; responsive to determining that the electronic document and the data payload match, authenticating the electronic document and the corresponding data payload by applying an authenticity authentication certificate retrieved from an authentication database of the authentication server; generating data records (247_1-n) in a portion of the trusted database associated with the user and / or user organization linked to the client application, the data records including the authenticated electronic document and associated data items obtained from the authenticated data payload; A step that returns a unique identification number and a timestamp associated with the generation of the data record. and storing the verification result by performing the verification.

[0008] The solution presented herein allows for the certification of a digital copy of an original document by comparing the digital signatures of the electronic document and the data payload, generated in the client application, with the corresponding recalculated digital signatures generated in the attestation server. At least the digital signature of the data payload is calculated based on the data contained in the data payload, including the digital signature of the electronic document. As a result, any changes made to the data payload and / or the electronic document after the digital signature has been applied will be reflected in the corresponding recalculated signature in the attestation server. Thus, any post-modification changes of the electronic document and / or the data payload will lead to an error in the authenticity verification procedure in the attestation server, which may trigger an alert to a registered user, for example in the client application. In this way, it is possible to detect post-modification changes made to the electronic document and to ensure the authenticity of the transmitted information, which at least includes the data payload and the electronic document. The data items contained in the data payload may be directly extracted from the digital copy of the original document and / or provided by the user. The data items may include various information associated with the original document and / or the user. For example, data items associated with a scanned receipt may include information extracted from an image of the original receipt, such as date, time, items purchased, and corresponding amounts. At the same time, a user may further add additional information, such as personal information, tax codes, payment details, etc. According to the present disclosure, a user of the client application may be provided with a menu for adding the required information and / or verifying the information extracted from the digital copies of the scanned original document. The digital copies may take the form of images captured using a camera of an electronic device running the client application. Each image may represent a digital copy of a page of a single original document. The digital copies captured from the corresponding original documents are compiled into a single electronic file having a first data format, for example, Portable Document Format (PDF).Each page in an electronic document may represent a digital copy of a page of the original document, and more pages may be added as needed. Thus, for each original document, e.g., a paper-based expense receipt such as a restaurant bill, a separate electronic document will be generated. Each electronic document will be certified and stored as a standalone entry in a trusted database.

[0009] According to an embodiment of the present disclosure, generating the data record includes generating new data blocks in a digital ledger in a trusted database associated with the user and / or user organization to which the client application is linked, where each data block in the digital ledger is arranged in chronological order according to timestamp information of the corresponding data record.

[0010] Both the authenticated electronic document and at least a portion of the data items contained in the authenticated data payload are stored as data records in a portion of a trusted database associated with the user and / or user organization linked to the application. Each data record may take the form of a new data block in a database ledger that is part of the trusted database. The database ledger may be based on existing ledger technologies such as blockchain or similar, where each data block is given a unique digital signature and a timestamp indicating when the data block was created in the database ledger. The timestamp may be a sequence of characters or encoded information that identifies when an event occurred in the database ledger and provides information such as time, date, etc. Each data block in the digital ledger is arranged in chronological order according to the timestamp information of the corresponding data record. The digital ledger keeps track of the data blocks that have been created and their chronological order, thereby preventing and / or recording changes to the information contained in the data blocks.

[0011] According to an embodiment of the present disclosure, the data payload is wrapped in an authenticity authentication token, which is digitally signed using a digital signature calculated from the data contained in the data payload and a shared cryptographic key between the client application and the attestation server. The authenticity authentication token may be a JSON Web Token or similar that contains a digital signature and / or encryption of the data contained in the data payload. As a result, any attempt to modify the data contained in the authenticity authentication token will be reflected in a recalculation of the corresponding digital signature performed at the attestation server. In this way, the solution described herein provides an additional safeguard to prevent unauthorized post-mortem modification of the data payload and / or data in the electronic document.

[0012] According to embodiments of the present disclosure, a digital signature of a data payload and / or an electronic document may be calculated using a hash function, such as the SHA-265 hash function algorithm or the like, in conjunction with a shared key.

[0013] According to an embodiment of the present disclosure, each data block in the digital ledger is assigned a unique digital signature calculated based on at least the digital signature of the electronic document stored in the data record and the digital signature of the data payload. Furthermore, the digital signature of each data block in the digital ledger may be further based on the digital signature of the preceding data block in the digital ledger. For example, the digital signature of the data block may be calculated based on the digital signature and / or cryptographic value of one or more data items in the dedicated table, such as the first data item, and / or the digital signatures assigned to the data payload and the electronic document. Thus, any subsequent modifications made to the data extracted from the source document will be reflected in the digital signature of the data block, thereby providing an additional safeguard to prevent and detect subsequent modifications made to the information stored in the trusted database. In general, the present disclosure provides a mechanism to ensure that the integrity of the database ledger is destroyed whenever a data block containing attested data is removed, altered, or reordered, thereby triggering an alert indicating fraudulent activity.

[0014] According to an embodiment of the present disclosure, the attestation server verifies information contained in data blocks created over a specified time frame in a digital ledger associated with a user, deriving a unique digital signature for the first and last data blocks in the digital ledger associated with a specified time frame based on a chronological order of the data blocks; calculating a closure signature for a specified time period based on the retrieved digital signature; applying an authenticity certificate retrieved from a certificate database to the computed closing signature; The method is configured to authenticate the authenticity by performing the following steps.

[0015] The attestation server is configured to authenticate information contained in data blocks created in a digital ledger associated with a user over a specified time frame, e.g., an accounting period or the like. The disclosed solution provides the possibility to aggregate information from various data blocks associated with a specified time frame. For example, in the case of expense reports, it is customary to collect and aggregate information from expense reports submitted for settlement over an accounting period. The present solution allows for closing a current accounting period and creating a new accounting period in the database ledger for each client based on the client's configuration, e.g., based on the accounting information applicable for each client. Each accounting period is closed by a closing digital signature generated based on digital signatures obtained from the first and last data blocks associated with the specified time frame, e.g., an accounting period, in the distributed ledger. At the end of each specified time period, a period end data block is created in the digital ledger that includes the generated closing signature and an authenticity authentication certificate to indicate the authenticity of the data contained in the data blocks of the specified time frame. The period end data block indicates the closing point of the specified time frame and the start point of another, e.g., a tax accounting period. The information contained in the closing digital signature of the end of period data block can be used to verify the individual transactions recorded in each preceding data block associated with the specified time frame without having to individually check each block in the chain.

[0016] According to an embodiment of the present disclosure, the step of applying the authenticity authentication certificate to the authenticated electronic document includes: converting the authenticated electronic document from a first digital format to a second predefined digital format; adding metadata to the converted electronic document; Includes.

[0017] The attestation server converts the electronic document from a first digital format to a second digital format, e.g., from PDF to PDF / A or equivalent, before applying the authenticity authentication certificate to the authenticated payload and the authenticity authenticated electronic document. Additionally, during the conversion of the electronic document, a set of metadata information, such as client application version, capture date / time, software name, software version, etc., is added to the electronic document.

[0018] According to an embodiment of the present disclosure, the step of retrieving the authenticity authentication certificate from the attestation database includes: checking the validity of the selected authenticity certificates by issuing a request to the certification service, via a link embedded in each authenticity certificate, to check the validity and / or revocation status of the selected authenticity certificates. Including, If the response received from the certification service indicates that the selected certificate is invalid and / or has been revoked, the certification server shall: removing the invalid certificate from the certificate database; selecting a new authenticity authentication certificate from a certificate database; checking the validity of the new authenticity certificate; The method is configured to:

[0019] According to an embodiment of the present disclosure, the attestation server may be configured to request the attestation service to issue a new authenticity authentication certificate to be stored in the certificate database.

[0020] According to an embodiment of the present disclosure, the step of determining the authenticity of the electronic document and the data payload comprises: recalculating the digital signature applied to the data payload based on the data contained within the data payload and the shared encryption key, and comparing the recalculated digital signature with the digital signature of the data payload; extracting an electronic document hash value from the validated data payload in response to determining that the recomputed signature equals the digital signature of the data payload; comparing the hash value extracted from the validated data payload with a recomputed hash value of the signed electronic document received at the attestation server; Includes.

[0021] According to an embodiment of the present disclosure, returning the unique identification number and the timestamp associated with the generation of the data record includes communicating a copy of the data record to one or more connected client applications.

[0022] The authenticity authentication certificate applied to the authenticated data payload and the authenticated electronic document may also be applied to the digital closing signature of the closing data block generated in the distributed ledger for each specified time frame. The authenticity authentication certificate is selected from an attestation database including a plurality of authenticity authentication certificates obtained from an attestation service, which may be part of the attestation server and / or a third-party service. Before applying the authenticity authentication certificate, the attestation server checks the validity of the certificate by contacting the attestation service via an embedded link provided in each authenticity authentication certificate. If the response from the attestation service is negative, indicating that the selected authenticity authentication certificate is invalid or has expired, the attestation server selects a new certificate from the database.

[0023] According to a second aspect of the present disclosure, there is provided a system for verifying authenticity of a digital copy of an original document, comprising: a client application executing on the user's electronic device, in response to receiving a certification request from the user to certify a digital copy of the original document, Obtaining digital copies of each page of the original document to be certified and the corresponding data items; generating a first digitally formatted electronic document including the captured digital copies associated with the pages of the original document and generating a data payload including the generated electronic document and the data items associated with the original document; digitally signing the data payload and the electronic document by calculating digital signatures corresponding to the data payload and the electronic document, where the digital signature of the electronic document is added to the data contained within the data payload; and Communicating the signed data payload and the signed electronic document to a data certification server. A client application configured to: an attestation server communicatively coupled to the client application, the attestation server configured to perform steps of a method according to an embodiment of the first aspect in response to receiving the signed data payload and the signed electronic document; A system is provided that includes:

[0024] According to an embodiment of the second embodiment, the client application is configured to digitally sign the data payload by wrapping the data payload in an authenticity authentication token, the authenticity authentication token including a signature calculated based on the data contained in the data payload and a cryptographic key shared between the client application and the attestation server.

[0025] According to an embodiment of the second embodiment, the client application is configured to digitally sign the data payload by further computing a hash of the electronic document using a hash function.

[0026] According to an embodiment of the second embodiment, the original document and corresponding digital copy are in the form of a paper-based expense receipt that includes expense information. It is noted that other types of documents may be certified using the methods and systems of the present disclosure.

[0027] According to an embodiment of the second embodiment, the trusted database of the attestation server is divided into several parts, each associated with a user and / or a user organization linked with a client application. Dividing the trusted database into independent parts has the advantage that it is easier to manage, since only one database has to be maintained, while ensuring the isolation of information between different users.

[0028] According to an embodiment of the second embodiment, the attestation server is configured to identify the identity of the user and / or user organization based on information sent from the client application and to direct the data to a corresponding part of the trusted database accordingly.

[0029] According to a further aspect of the present disclosure, there is provided a computer program product including program code instructions stored on a computer readable medium, which when executed by a processor module of the attestation server in response to receiving a request from a client application to attest a signed data payload and a signed electronic document, causes the attestation server to perform steps of attesting and storing the received data payload and electronic document according to an embodiment of the first aspect.

[0030] The accompanying drawings are provided by way of example to further describe and explain various aspects of the present invention. [Brief description of the drawings]

[0031] [Figure 1] FIG. 1 illustrates an exemplary implementation of a system for verifying the authenticity of a digital copy of an original document, according to an embodiment of the present disclosure. [Diagram 2] 2 illustrates an example system architecture of an attestation server of the system of FIG. 1 according to an embodiment of the present disclosure. [Diagram 3]FIG. 1 illustrates an exemplary implementation of an expense certification system, according to an embodiment of the present disclosure. [Figure 4] FIG. 1 illustrates an exemplary implementation of a database ledger of a trusted database, according to an embodiment of the present disclosure. [Diagram 5] FIG. 2 illustrates an exemplary method for verifying the authenticity of a digital copy of an original document, according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0032] The present invention is illustrated using exemplary embodiments shown in the figures, which will be described in more detail below. It should be noted that any references made to dimensions are merely exemplary and do not limit the invention in any way. Although the present invention has been shown and described with reference to certain illustrative embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the invention.

[0033] FIG. 1 illustrates an exemplary implementation of a system for attesting the authenticity of a digital copy of an original document according to an embodiment of the present disclosure. The system of the present disclosure includes a client application 100 running on an electronic device, such as a laptop, a mobile phone, a tablet, etc. A user operates the client application 100 via a graphic user interface (GUI) to submit a document for attestation. In response to receiving a user request through the GUI to attest one or more original documents, e.g., paper-based expense receipts, the client application 100 scans the original documents to obtain corresponding digital copies. For example, the client application 100 may operate a camera of the electronic device to obtain images of the original documents, which may then be stored in the memory of the electronic device in a desired format, e.g., JPG, PNG, etc. The client application 100 processes the obtained images to extract data items associated with the scanned document. For example, in the case of an expense receipt, the client application 100 may extract data items associated with the expense item, the corresponding amount, currency, date and time, the total amount paid, etc. The client application 100 may further provide the user with a set of options for adding further information associated with the original document that can be used for certification. After the client application 100 has collected the necessary information required for certification, including the digital copy of the original document and the data items associated with the original document, it prepares the collected information for certification. During the preparation stage, the digital copies of the pages of the original document are assembled into a single electronic document in a desired digital format, such as Portable Document Format (PDF), which is then digitally signed using a cryptographic hash algorithm, e.g., SHA-256 or similar. The corresponding data items collected during the certification request are grouped into a data payload. The data items may be extracted from the electronic document and / or provided by the user.The data payload includes various information such as data items associated with the original document, metadata collected from the client application 100, and a generated digital signature of the electronic document. The client application 100 applies a digital signature to the data payload, which is calculated based on the information contained in the data payload and a key shared with the attestation server 200. As a result, any change to the information contained in the data payload will cause a change in the digital signature. As an additional protection, the data payload can be wrapped in an authenticity authentication token, which is digitally signed using a digital signature calculated based on the information contained in the data payload and a cryptographic key. The authenticity authentication token can be generated by a third-party service. Thus, authenticity authentication of the token will require knowledge of the corresponding cryptographic key. The cryptographic token can be a JSON Web token or equivalent. The client application 100 transmits the digitally signed electronic document and the digitally signed data payload, which can be in the form of an authenticity authentication token, to the attestation server 200, which is configured to attest to a digital copy of the original document and the corresponding data. The attestation server 200 is communicatively coupled to various external application services 300, such as external client systems. The attestation server 200 is configured to attest to the authenticity of information sent by client applications and to securely store the authenticated information.

[0034] FIG. 2 illustrates an exemplary architecture for an attestation server 200 according to an embodiment of the present disclosure. The attestation server 200 is provided with a communication module 210 configured to facilitate data exchange between client applications 100 and / or third-party applications 300 running on corresponding user electronic devices. The communication module is thus configured to receive information sent from the client applications, which includes a data payload that may take the form of a digitally signed electronic document and an authenticity authentication token, as previously described. The information received at the communication module is processed by a data processing module 220, whereby the information contained in the digitally signed payload is extracted and the digital signature applied to the digital payload and / or the authenticity authentication token containing the digital payload is recalculated by a digital signature module 230, which is provided with the cryptographic algorithms and cryptographic keys necessary to duplicate the digital signature process applied at the client application 100. As a result, if the data contained in the data payload remains unchanged, the digital signature calculated by the digital signature module 230 should match the digital signature applied by the client application. Otherwise, if there is a difference between the recomputed digital signature and the digital signature applied by the client application, the data processing module 220 will assume that the data in the data payload has been post-modified and therefore does not correspond to the data obtained from the original document. Once the data payload has been authenticated, the hash, also called a digital signature, applied by the client application to the electronic document and included in the data payload will be considered authentic.Thus, during the authenticity authentication procedure in the attestation server 200, the digital signature of the electronic document obtained from the authenticated data payload is compared by the data processing module 220 with the recomputed digital signature of the digitally signed electronic document sent by the client application 100. Similar to the comparison process applied to the data payload, if the digital signature of the electronic document obtained from the data payload matches the recomputed digital signature, the sent electronic document is considered to be authentic. If a mismatch is otherwise identified, the electronic document has been tampered with and is rejected from the attestation process. As a result, by providing a two-stage authenticity authentication process, where first the data payload is authenticated and then the electronic document is authenticated, it is possible to identify subsequent modifications made both in the electronic document and in the data payload. After the digital signature of the electronic document and the digital signature of the data payload are authenticated, the electronic document 111 is converted to a desired format, for example from PDF to PDF / A, and the digital signature is applied to the converted electronic document. The converted electronic document 232 and the data payload or portions of the information contained within the data payload are then stored in a portion of a trusted database 240 associated with the user and / or user organization linked to the client application 100. The trusted database 240 returns a reference identification number and a timestamp for the generated record, which may be forwarded to the client application and / or a third party service.

[0035] FIG. 3 illustrates an exemplary implementation of the system of FIG. 1 for verifying the authenticity of a digital copy and corresponding data associated with a paper-based expense receipt, according to an embodiment of the present disclosure. A client application 100 running on a user's electronic device is used by the user to digitize the original expense receipt and associated data. The client application 100 creates a blank PDF document 111 upon the user's request, which will contain an image of the scanned expense receipt. After the PDF document 111 is opened, the client application 100 uses the electronic device's camera, e.g., an integrated phone camera, to capture an image of the expense receipt. The client application 100 processes each captured image by running a frame detection algorithm on the captured photo to generate document pages to be added to the PDF document 111. The client application 100 crops and deskews the document pages based on the results of the frame detection algorithm, and presents the processed document pages to the user for approval to ensure the accuracy, clarity, and readability of the document. Upon user approval, the client application 100 adds the generated document pages to the PDF document 111. For each page of the original receipt, a new document page is generated and added to the PDF document following the same procedure outlined above. The client application 100 further presents the user with a form or menu to add additional data for tax homologation, such as personal information, tax code, etc. Additionally, the client application 100 may extract data from the image associated with the expense receipt, such as the amount, time and date, country, receipt number, etc., of each item purchased. The user is requested to agree to the information associated with the expense receipt and tax homologation to ensure the accuracy of the information collected.After the user confirms the accuracy of the information, the client application digitally signs the PDF document by calculating a unique hash value using a known hash function algorithm such as SHA-256 or similar. In addition to the PDF document 111, the client application 100 also prepares a data payload to be uploaded, which includes, among other things, data collected from the user and the image, as well as the hash value of the PDF document 111. As shown in FIG. 3, the data extraction and tax homologation may be performed on the attestation server 200 side using a corresponding system 221 and an image reader module 221, which may be part of the processing module 220 of the attestation server 200. The client application 100 creates a corresponding JSON Web Token 112, which includes the data payload and a digital signature calculated based on the data payload and a cryptographic key shared between the client application 100 and the attestation server 200. The client application 100 uploads the digitally signed PDF document and the JSON Web token to a communication gateway 211 that is part of the communication module 210 of the attestation server 200 .

[0036] The communications gateway 211 receives an upload request from a client application, including the PDF document 111 and a JSON Web Token (JWT) 112. The communications gateway 211 validates the JWT by recalculating a digital signature based on the received payload and a shared encryption key. If the recalculated signature matches the digital signature of the uploaded JWT, the JWT 112 is considered intact and the information contained within the JWT 112 is considered authentic. The validated JWT 112, along with the PDF document 111, is forwarded to a signature service 231, which is part of a digital signature module 230, for validation. The signature service 231 receives an upload request from the communication gateway 211, which includes the PDF document 111 and the JWT 112. Since the validity of the JWT 112 has already been checked by the communication gateway 211, the signature service 231 assumes that the information contained within the JWT 112 is also authentic. Therefore, the digital signature service 231 extracts the hash of the PDF document file 111 from the JWT 112 and compares it with the recomputed hash of the uploaded PDF document 111. If the signatures match, the uploaded PDF document 111 is considered authentic, i.e., no post-processing modifications are detected. If the signatures do not match, the PDF document is rejected and an alert is issued indicating that the PDF document is not valid. The same process is followed by the communication gateway 211 when an invalid JWT 112 is detected. The validated PDF document 111 is converted from PDF format to PDF / A-3U format or similar. In the signature service 231, further information may be added to the converted PDF / A document, including metadata information such as import date, software name, software version, tax homologation code, etc. The PDF / A document is digitally signed by applying a digital authenticity authentication certificate from the certification database. The digital signature service 231 may validate the status of the selected digital authenticity authentication certificate by contacting an external certification service 310. If the certificate is valid, the signed PDF / A is checked for compliance against the PDF / A 3U standard. If the certificate is not valid, a new certificate is selected from the certification database. In general, the certification database may comprise one or more authenticity authentication certificates, which may be preloaded and / or refreshed periodically. The validated PDF / A document 232 and the annotated expense data are uploaded to the trusted database 240 for storage. In response, the trusted database 240 generates the data record_ID (e.g., invoice_ID), receipt_id, and insertion timestamp of the PDF document.In response to receiving this information from the trusted database, the digital signature service 231 extracts an image of the first page of the PDF / A file and uploads it to the expense module 233 using the client account information contained within the JWT 112, along with values ​​taken from the annotated expense data.

[0037] In response to receiving a request to upload the PDF / A document 232 and the annotated expense data, the trusted database 240 retrieves the last entry in the table, e.g., in the section of the table associated with the user. The trusted database 240 inserts a new entry including the incremented receipt_id, a hash of the signed PDF file, and a hash of the expense data. The trusted database checks the unique identification (ID) number added to the PDF file, e.g., invoice_id, and if it is already present in the table, it returns the existing data record identification (ID) number (invoice_id), receipt_id, and timestamp of the signature service 231 rather than creating a new entry in the table. If the unique ID does not exist, the trusted database inserts the PDF / A document linked to the invoice using the digital signature of the PDF / A document 232 as a new file, and inserts the annotated expense data linked to the invoice_id and the hash of this first expense_data entry into the expense table. A random salt value is also stored along with the expense item. The trusted database returns to the signature service 231 a unique global invoice_id along with a receipt_id (unique only to this system) and an insertion timestamp.

[0038] The trusted database 240 stores the signed PDF / A document 232 along with the annotated expense data. In addition, the trusted DB service 240 writes a hash chain containing all recorded signed PDF / A representations of invoices and expense data to prove the validity and integrity of the stored receipts. In addition, the trusted DB service 240 is also responsible for closing the current accounting period and creating a new accounting period for each customer based on the customer's settings. Each accounting period must be closed with a signature that contains the hash of the start and end of the accounting period. The same certificate used to sign the PDF / A file is also used in this case to create a closing signature using the signature service (SIG) 231 to sign the period closure.

[0039] FIG. 4 illustrates an exemplary hash chain 242 created in the trusted database 240 for recording transactions in unique hash data blocks 243_1-243_n. During an initialization phase, a first data record 247_1 is generated, including an electronic document digital signature 244 and a JSON digital signature 245. The digital signatures 244 and 245 may take the form of hash codes. The digital record 247_1 is assigned a reference identification number 247 "Received_1", which is incremented for subsequent data records 247_1-n. Based on the digital signatures 244 and 245 contained in the data record 247_1, a data block 243_1 is generated in the hash chain 242, and the data block 243_1 is assigned a unique hash code 246_1. The hash code 246_1 of the first data block 243_1 is generated based on at least the electronic document hash code 244 and the JSON hash code 245. In the subsequent data block 243_n corresponding to the new data record 247_n, the unique hash code 246_1-246_n of each hash block 243_1-243_n may be further based on the hash code 246_n-1 of the preceding data block 243_n-1, thereby ensuring that the new data block is linked to the preceding data block. The data blocks 243_1-n generated over a particular time series period, e.g., accounting period, may represent individual data receipts submitted over a period of time by the corresponding one or more users. The trusted database service 240 may be used to close the current time series period, e.g., accounting period, and create a new time series period, e.g., accounting period, based on customer settings for each customer and their corresponding users. Each accounting period may be closed by a signature 249a generated based on the first digital signature 246_1 and the last digital signature 246_n applied to the first and last data blocks 243_1-n of the specified accounting period.The closing signature 249a is used to verify transactions that occurred over a specified period of time without having to separately process the information stored in each data record 247_1-n. The closing signature 249a may be signed using a certificate used by the signing service 231.

[0040] In general, the expense reader module 212 is provided with a frame detection algorithm using a self-trained convolutional neural network (CNN) to detect and process the original document submitted for scanning. The result of the frame detection is used to crop and deskew the portion of the captured image that represents the paper-based original document. To prevent frame editing, the client application 100 prevents human interaction during the scanning process. The client application 100 further prevents the user from taking an image that includes multiple invoices or multiple pages of a single invoice at the same time, for example, an image showing multiple expense receipts. To this end, the expense reader module 211 may use a trained small-scale neural network to detect if multiple receipts are shown within the camera's field of view and prevent the user from taking the photo. It should be noted that while the expense reader module 212 is shown as being part of the certification server 200, it can also be part of the client application 110 running on the electronic device.

[0041] The expense reader module 212 may use a raster image, e.g., JPEG, as the input image format for the PDF. Adding a raster image into a PDF does not mean embedding the input image (e.g., PNG, GIF, JPEG, JPEG2K, etc.), but converting the input image into an internal encoding supported by an internal filter defined by the PDF standard. For example, DCT Decode happens to be a fairly close implementation of the JPEG standard, but does not necessarily conform to the JPEG standard. Converting the image into an internal encoding format ensures that the PDF document will be able to display the content of the image even when the internal implementation and the official standard differ in the future.

[0042] In general, the Online Certificate Status Protocol (OCSP) 310 is a service for checking the validity of authenticity authentication certificates provided by a third-party provider. The digital signature service 231, or the trusted database 240, or any other service tasked with applying authenticity authentication certificates, may issue a request to check the validity of the certificate to the third-party provider using a URL link embedded in the certificate. The OCSP service 310 may be preconfigured to provide alerts on invalidation and / or revocation of the certificate, which may be stored in a cache memory. The result of the request issued by the certification server to the OCSP 310 may be considered valid for a certain period of time, for example, two days. To reduce the network load and to ensure that connectivity failures do not interfere with the signing process, the OCSP response may be cached for a predefined time frame, which may be shorter than the validity of the certificate, for example, six hours. After this time, the cached OCSP response may be refreshed. If the refresh fails due to connectivity problems, there is still time to solve the connectivity problem or replace the certificate, for example to obtain a new certificate.

[0043] The signing service 231 contains a pool of signing certificates stored in a certificate database, from which the active certificate is selected. Before applying the digital signature, the expiration date and cached revocation status of the active certificate are checked. If the OCSP 310 response indicates that the certificate has been revoked or has expired, the certificate is removed from the certificate pool and the next certificate is selected. A new certificate may be issued to refresh the certificate pool.

[0044] An exemplary method 500 for certifying a digital copy of an original document is presented in FIG. 5. The process begins with receiving a request for digital certification of an original document, e.g., an expense receipt, at a client application 100. The client application 100 obtains the digital copy of the original document to be certified and corresponding data items associated with the original document at step 510. For example, as previously described, an image of the original document may be captured using a camera of the user's electronic device. At step 520, the client application 100 generates an electronic document 111 in a first digital format, e.g., PDF, including the captured image, and a data payload 112 including data items associated with each original document. At step 530, the PDF document 111 and the data payload are digitally signed by computing respective digital signatures. The digital signature of the electronic document 111 is added to the data contained within the data payload. At step 530, the client application 100 communicates the signed PDF document 111 and the signed data payload 112, which may be in the form of a JSON Web Token. In step 540, the uploaded data payload 112 and PDF document 111 are received at the certification server 200 where the data payload 112 and PDF document 111 are processed to determine their authenticity as previously described. After the authenticity of the data payload 112 and PDF document 111 are verified, in step 550, an authenticity authentication certificate is applied by the signature service 231 as described above. In step 560, the authenticity authenticated PDF document 111 and the authenticity authenticated data payload 112 are stored in the trusted database 240 by generating a data record that includes associated data items obtained from the authenticity authenticated electronic document and the authenticity authenticated data payload. In response to generating the data record, the trusted database returns a unique identification number and a timestamp associated with the generation of the data record.

[0045] In some embodiments, the method includes method steps corresponding to any one of the systems for managing allocation of computing resource capabilities described above. [Explanation of symbols]

[0046] 100 Client Applications 110 Client Applications 111 Electronic documents, PDF documents, PDF document files 112 JSON Web Tokens, JWTs, and Data Payloads 113 Digital Copy 200 Data Certification Server 210 Data Communication Module 211 Communication Gateway, Expense Reader Module 212 Expense Leader Module 220 Data Processing Module 221 System, Image Reader Module 230 Digital Signature Module 231 Digital Signature Service 232 Converted electronic documents, PDF / A documents 233 Expense Module 240 Trusted Database, Trusted DB Service, Trusted Database Service 242 Hash Chain 243_1 hash data block, first data block, hash block 243_n-1 Data block 243_n Hash data block, hash block 244 Digital signature, hash code 245 Digital signature, hash code 246_1 hash code, first digital signature 246_n-1 hash code 246_n hash code, final digital signature 247 Reference Identification Number 247_1 First data record, digital record 247_n Data record 249a Closing Signature 300 External Application Services, Third Party Applications 310 External Certification Services, Online Certificate Status Protocol (OCSP), OCSP Services 500 ways

Claims

1. A method for verifying the authenticity of a digital copy of an original document in a data verification server (200), comprising: receiving, from a client application (100) running on a user's electronic device, a digitally signed data payload (112) associated with an original document and a corresponding digitally signed electronic document (111); The digitally signed electronic document (111) includes a digital copy (113) of an original document including one or more pages, and a generated digital signature; the digitally signed data payload (112) includes the digitally signed electronic document (111), data items associated with the original document, and a generated digital signature; Steps and said received digitally signed data payload (112) and said corresponding electronic document (111); recalculating the digital signature corresponding to the digitally signed data payload (112) and the digitally signed electronic document (111) and comparing the recalculated signature with the digital signature applied at the client application (100); in response to determining that the electronic document and the data payload match, authenticating the electronic document (111) and the corresponding data payload (112) by applying an authenticity authentication certificate retrieved from an authentication database of the authentication server; generating data records (247_1-n) in a portion of a trusted database (240) associated with the user and / or user organization linked to the client application (100) that contain the authenticated electronic document and associated data items obtained from the authenticated data payload; returning a unique identification number (247) and a timestamp associated with said generation of said data records (247_1-n); and storing the verification result by performing the steps of: A method comprising:

2. 2. The method of claim 1, wherein the step of generating a data record comprises generating a new data block in a digital ledger of the trusted database associated with the user and / or user organization to which the client application is linked, wherein each data block in the digital ledger is arranged in chronological order according to the timestamp information of the corresponding data record.

3. 4. The method of claim 3, wherein each data block in the digital ledger is assigned a unique digital signature calculated based on at least the digital signature of the electronic document and the digital signature of the data payload.

4. The attestation server verifies the information contained in the data blocks created over a specified time frame in the digital ledger associated with the user, retrieving the unique digital signatures of the first and last data blocks in the digital ledger associated with the specified time period based on the chronological order of the data blocks; calculating a closing signature for the specified time period based on the retrieved digital signature; applying a certificate of authenticity retrieved from the certificate database to the computed closed signature; The method according to claim 3 or 4, configured to authenticate the authenticity by performing the following:

5. The step of applying the certificate of authenticity to the authenticated electronic document comprises: converting the authenticated electronic document from a first digital format to a second predefined digital format; adding metadata to the converted electronic document; applying the retrieved certificate of authenticity to the converted electronic document; 5. The method according to claim 1 , comprising:

6. The step of retrieving an authenticity certificate from the authentication database includes: checking the validity of the selected authenticity certificates by issuing a request to a certification service, via a link embedded in each authenticity certificate, to check the validity and / or revocation status of the selected authenticity certificates. Including, If a response received from the certification service indicates that the selected certificate is invalid and / or has been revoked, the certification server: removing the revoked certificate from the certificate database; selecting a new authenticity authentication certificate from said certificate database; checking the validity of the new certificate of authenticity; The method according to any one of claims 1 to 5, configured to carry out the following:

7. The step of determining authenticity of the electronic document and the data payload further comprises: recalculating the digital signature applied to the data payload based on the data contained within the data payload and a shared encryption key, and comparing the recalculated digital signature with the digital signature of the data payload; extracting a hash value of the electronic document from the validated data payload in response to determining that the recomputed signature is equal to the digital signature of the data payload; comparing the hash value extracted from the validated data payload with the recomputed hash value of the signed electronic document received at the attestation server; 7. The method of any one of claims 1 to 6, comprising:

8. 8. The method of claim 1, wherein the step of returning a unique identification number and a timestamp associated with the generation of the data record comprises communicating a copy of the data record to one or more connected client applications.

9. 1. A system for verifying the authenticity of a digital copy of an original document, comprising: A client application (100) executing on a user's electronic device, in response to receiving a certification request from the user to certify a digital copy of an original document, obtaining digital copies of each page of said original document to be certified and corresponding data items; generating a first digital format electronic document including the acquired digital copies associated with the pages of the original document, and generating a data payload including the generated electronic document and the data items associated with the original document; digitally signing the data payload and the electronic document by calculating digital signatures corresponding to the data payload and the electronic document, the digital signature of the electronic document being added to the data contained within the data payload; and communicating the signed data payload and the signed electronic document to the data certification server; A client application (100) configured to: an attestation server (200) communicatively coupled to the client application, the attestation server (200) configured to perform the steps of the method of claims 1 to 10 in response to receiving the signed data payload and the signed electronic document; Including, the system.

10. 10. The system of claim 9, wherein the client application (100) is configured to digitally sign the data payload by wrapping the data payload in an authenticity authentication token, the authenticity authentication token including a signature calculated based on the data contained in the data payload and a cryptographic key shared between the client application and the attestation server.

11. The system of claim 10 , wherein the client application is configured to digitally sign the data payload by further computing a hash of the electronic document using a hash function.

12. 12. The system of claim 9, wherein the original document and the corresponding digital copy are in the form of a paper-based expense receipt that includes expense information.

13. The system according to any one of claims 9 to 12, wherein the trusted database of the attestation server is divided into a number of parts, each part associated with a user and / or a user organization linked with the client application.

14. The system of claim 13, wherein the attestation server is configured to identify an identity of the user and / or the user organization based on information sent from the client application and to direct data to a corresponding portion of the trusted database accordingly.

15. 9. A computer program product comprising program code instructions stored on a computer readable medium, the program code instructions, when executed by a processor module of the attestation server in response to receiving a request from a client application to attest a signed data payload and a signed electronic document, causing the attestation server to perform the steps of the method of any one of claims 1 to 8.

Citation Information

Patent Citations

  • File maintenance system and nas server

    JP2003280972A

  • Method of proving ground survey data, survey position, and survey time

    JP2008283235A

  • Method, transmitter and receiver for message content authentication and integrity protection - Patents.com

    JP2019535209A

  • Block chain system and server

    JP2020080498A

  • Terminal apparatus

    WO2012153530A1