Execution method of electronic and paper file integrity checking system based on transparent paper
The present application relates to divisional application of patent application No. 2015100079215 filed on 1/4 of 2015.
Technical Field
The invention relates to the technical field of hash algorithms, in particular to an execution method of a transparent paper-based electronic and paper file integrity check system.
Background
In the bank individual loan process, after talking with a client, a building staff introduces the client to a bank to handle house loan business, after filling client information in an electronic edition file, the bank staff prints out the client signature on a paper file, and the client needs to go and go for several times.
Therefore, a simple and convenient method and system for checking consistency and integrity of electronic documents and paper documents is urgently needed.
MD5 is a hash function widely used in the field of computer security to provide integrity protection for messages. The algorithm is used for ensuring the information transmission is complete and consistent. Is one of the hash algorithms (also known as digest algorithm and hash algorithm) widely used by computers, and the mainstream programming language is generally realized by MD 5. The operation of data (such as Chinese characters) into another fixed length value is the basic principle of the hash algorithm, and the precursors of MD5 include MD2, MD3 and MD 4.
MD5 functions to allow large volumes of information to be "compressed" into a secure format (i.e., a string of bytes of arbitrary length is converted into a fixed-length hexadecimal digital string) before the private key is signed by digital signature software. Besides MD5, sha-1, RI PEMD, Hava l, etc. are also known among others.
Disclosure of Invention
The embodiment of the invention provides a method and a system for integrity check of electronic and paper files based on transparent paper, which aim to solve the problem that the files are replaced.
One of the objects of the present invention is to effectively prevent a document from being replaced.
The invention achieves the above object through the following technical scheme.
A method and system for transparency-based electronic and paper document integrity checking, comprising: the system comprises a banking server, an OCR device, a master file processing device, a slave file processing device, a superposition printing device and transparent paper.
The banking server is used for handling banking business and calculating a hash value by using a hash algorithm.
The OCR device is used for character recognition.
The main file processing device is used for doing banking business in a banking office according to the flow; and the method is used for checking whether the electronic document is consistent with the paper document.
The slave file processing device is used for performing banking business in a building office according to the flow; it is used to download the format electronic file, and print it with the client data into paper file.
The superposition printing device is used for receiving the client information, superposing the client information on the format electronic file and printing the client information by using a printer.
The transparent paper is used for printing the hash value and the hash value on the paper file according to the same format, then the hash value is placed on the paper file, if the hash value and the hash value are mutually overlapped, the hash value and the hash value are consistent, and if the hash value and the hash value are not overlapped, the hash value and the hash value show that the paper file and the electronic file are inconsistent.
The hash algorithm may be MD5, sha-1, RI PEMD, Hava l, and other hash algorithms recognized by the nation.
The method and the system for the integrity check of the electronic and paper documents based on the transparent paper are characterized by comprising the following working steps.
Step 1: the customer decides a loan purchasing room on the building and fills in the data from the document processing device with the assistance of the staff.
Step 2: the banking server carries out hash algorithm operation on the house loan contract in the format of each page and other files, records the hash value A on each page of file, and simultaneously sends the hash value A to the main file processing device.
And step 3: the formatted house loan contract and other documents are downloaded from the banking server from the document processing apparatus, and the locked electronic document cannot be changed.
And 4, step 4: the client material is synchronously printed on the underline part of the format house loan contract and other documents from the document processing device by the overlay printing device.
And 5: after the bank receives the format house loan contract and other files, the main file processing device scans and identifies the characters of the non-underlined part through an OCR device, and the banking service server calculates a hash value B by using a hash algorithm and prints the hash value B below the hash value A.
Step 6: the host document processing apparatus prints the hash value a on a transparent paper.
And 7: the user puts the hash value A on the transparent paper on the hash value A and the hash value B of the paper file, if the hash values A and B are consistent, the hash values A and B are mutually overlapped, and if the hash values A and B are not overlapped, the paper file and the electronic file are not consistent.
The method has the beneficial effects that: effectively preventing the file from being replaced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
FIG. l is a flowchart of a method and system for transparency-based electronic and paper document integrity checking in accordance with embodiments of the present invention.
Fig. 2 is a diagram of the working steps of the method and system for integrity check of electronic and paper documents based on transparent paper according to the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Embodiments a method and system flow for transparency-based electronic and paper document integrity checking.
As shown in fig. 1, the method and system for integrity check of electronic and paper documents based on transparent paper in the embodiments of the present invention includes: the system comprises a banking server, an OCR device, a master file processing device, a slave file processing device, a superposition printing device and transparent paper.
The banking server is used for handling banking business and calculating a hash value by using a hash algorithm.
The OCR device is used for character recognition.
The main file processing device is used for doing banking business in a banking office according to the flow; and the method is used for checking whether the electronic document is consistent with the paper document.
The slave file processing device is used for performing banking business in a building office according to the flow; it is used to download the format electronic file, and print it with the client data into paper file.
The superposition printing device is used for receiving the client information, superposing the client information on the format electronic file and printing the client information by using a printer.
The transparent paper is used for printing the hash value and the hash value on the paper file according to the same format, then the hash value is placed on the paper file, if the hash value and the hash value are mutually overlapped, the hash value and the hash value are consistent, and if the hash value and the hash value are not overlapped, the hash value and the hash value show that the paper file and the electronic file are inconsistent.
The hash algorithm may be MD5, sha-1, RI PEMD, Hava l, and other hash algorithms recognized by the nation.
The method and the system for the integrity check of the electronic and paper documents based on the transparent paper have the following working steps.
Step 1: the customer decides a loan purchasing room on the building and fills in the data from the document processing device with the assistance of the staff.
Step 2: the banking server carries out hash algorithm operation on the house loan contract in the format of each page and other files, records the hash value A on each page of file, and simultaneously sends the hash value A to the main file processing device.
And step 3: the formatted house loan contract and other documents are downloaded from the banking server from the document processing apparatus, and the locked electronic document cannot be changed.
And 4, step 4: the client material is synchronously printed on the underline part of the format house loan contract and other documents from the document processing device by the overlay printing device.
And 5: after the bank receives the format house loan contract and other files, the main file processing device scans and identifies the characters of the non-underlined part through an OCR device, and the banking service server calculates a hash value B by using a hash algorithm and prints the hash value B below the hash value A.
Step 6: the host document processing apparatus prints the hash value a on a transparent paper.
And 7: the user puts the hash value A on the transparent paper on the hash value A and the hash value B of the paper file, if the hash values A and B are consistent, the hash values A and B are mutually overlapped, and if the hash values A and B are not overlapped, the paper file and the electronic file are not consistent.
Example 2 working steps of a method and system for transparency-based electronic and paper document integrity checking.
Referring to fig. 2, the method and system for integrity check of electronic and paper documents based on transparent paper according to the embodiment of the present invention work as follows.
Step 1: the customer decides a loan purchasing room on the building and fills in the data from the document processing device with the assistance of the staff.
Step 2: the banking server carries out hash algorithm operation on the house loan contract in the format of each page and other files, records the hash value A on each page of file, and simultaneously sends the hash value A to the main file processing device.
And step 3: the formatted house loan contract and other documents are downloaded from the banking server from the document processing apparatus, and the locked electronic document cannot be changed.
And 4, step 4: the client material is synchronously printed on the underline part of the format house loan contract and other documents from the document processing device by the overlay printing device.
And 5: after the bank receives the format house loan contract and other files, the main file processing device scans and identifies the characters of the non-underlined part through an OCR device, and the banking service server calculates a hash value B by using a hash algorithm and prints the hash value B below the hash value A.
Step 6: the host document processing apparatus prints the hash value a on a transparent paper.
And 7: the user puts the hash value on the transparent paper on the hash value A and the hash value B of the paper file, if the hash values are consistent, the hash values are mutually overlapped, and if the hash values are not overlapped, the paper file is not consistent with the electronic file.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.