CN113255296A - Electronic contract classified storage safety management system - Google Patents
Electronic contract classified storage safety management system Download PDFInfo
- Publication number
- CN113255296A CN113255296A CN202110638454.1A CN202110638454A CN113255296A CN 113255296 A CN113255296 A CN 113255296A CN 202110638454 A CN202110638454 A CN 202110638454A CN 113255296 A CN113255296 A CN 113255296A
- Authority
- CN
- China
- Prior art keywords
- preset
- rectangular
- electronic contract
- area
- region
- 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.)
- Withdrawn
Links
- 238000012545 processing Methods 0.000 claims abstract description 130
- 238000012795 verification Methods 0.000 claims abstract description 61
- 239000000284 extract Substances 0.000 claims abstract description 13
- 238000006243 chemical reaction Methods 0.000 claims abstract description 9
- 238000012937 correction Methods 0.000 claims description 88
- 239000011159 matrix material Substances 0.000 claims description 69
- OIGNJSKKLXVSLS-VWUMJDOOSA-N prednisolone Chemical compound O=C1C=C[C@]2(C)[C@H]3[C@@H](O)C[C@](C)([C@@](CC4)(O)C(=O)CO)[C@@H]4[C@@H]3CCC2=C1 OIGNJSKKLXVSLS-VWUMJDOOSA-N 0.000 claims description 14
- 238000012216 screening Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 12
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- SBYHFKPVCBCYGV-UHFFFAOYSA-N quinuclidine Chemical compound C1CC2CCN1CC2 SBYHFKPVCBCYGV-UHFFFAOYSA-N 0.000 description 3
- 238000000605 extraction Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/31—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/335—Filtering based on additional data, e.g. user or group profiles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/35—Clustering; Classification
- G06F16/355—Class or cluster creation or modification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2107—File encryption
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Bioethics (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Document Processing Apparatus (AREA)
Abstract
The invention provides an electronic contract classified storage safety management system, which comprises a user information module, a conversion module, a storage module, a processing module, a comparison module, an authority authentication module and a display module, wherein the user information module is used for acquiring and storing user information and signature information of a user; the conversion module is used for converting the signed electronic contract into a PDF format after a user signs the electronic contract so as to generate the PDF format electronic contract. The invention sets the first-level user authentication key and the second-level verification key after signing the electronic contract, and the first-level user authentication key and the second-level verification key are stored by the user, thereby improving the safety of the first-level user authentication key and the second-level verification key, and when the user extracts the electronic contract, the identity authentication can be carried out through the first-level user authentication key and the second-level verification key, and whether the electronic contract is falsified can be timely found, thereby not only improving the safety, but also greatly ensuring the rights and interests of the user.
Description
Technical Field
The invention relates to the technical field of electronic contracts, in particular to a classified storage safety management system for electronic contracts.
Background
At present, electronic contracts are widely applied to various fields, and due to the particularity of the electronic contracts, after the electronic contracts are signed by two parties and stored, the electronic contracts are easily and artificially tampered, for example, a server storing the electronic contracts is attacked through a network, and the electronic contracts are obtained and then are tampered illegally, so that the illegal purpose is achieved. Because the existing network environment is not good, the problem that the signed electronic contract is illegally tampered is very easy to happen, and the problem needs to be solved urgently.
Disclosure of Invention
In view of this, the invention provides a classified storage security management system for electronic contracts, which aims to solve the problem how to enable a user to timely find that an electronic contract is illegally tampered when the user extracts the electronic contract after the user signs the electronic contract and stores the electronic contract into a management platform.
In one aspect, the present invention provides an electronic contract classified storage security management system, including:
the user information module is used for storing the personal information and the signature information of the user;
the conversion module is used for converting the signed electronic contract into a PDF format after a user signs the electronic contract so as to generate the PDF format electronic contract;
the storage module is used for performing classified storage after the electronic contract is matched with the PDF format electronic contract;
the processing module is used for extracting the PDF format electronic contract from the storage module and comparing the electronic signature in the PDF format electronic contract with the user signature information stored in the user information module:
if the comparison result is inconsistent, prompting the user to update the signature information, and performing signature comparison again until the comparison result is consistent;
if the comparison result is consistent, the processing module is further configured to number the signature information, number the PDF-format electronic contract, and make the number of the signature information consistent with the number of the PDF-format electronic contract, and the processing module is configured to set an authentication key by using a symmetric encryption algorithm, encode the number of the signature information and user information, and add the encoded number of the signature information and user information to the end of the authentication key to generate a first-level user authentication key; wherein,
the processing module is further configured to establish a rectangular coordinate system in each page of the PDF format electronic contract, determine a text region in each page of the PDF format electronic contract in each rectangular coordinate system, intercept a rectangular image of a preset size at a preset position in the text region, determine an end point coordinate of the rectangular image and a gray value of the rectangular image, and determine text information in the rectangular image, and generate a secondary verification key after encoding the end point coordinate of the rectangular image, the gray value of the rectangular image and the text information in the rectangular image;
the authority authentication module is used for authenticating the identity of a user through the primary user authentication key, after the user identity authentication is passed, the authority authentication module extracts the code of the number of the signature information and the code of the user information from the primary user authentication key and sends the codes to the processing module, after the processing module decodes the code of the number of the signature information and the code of the user information, and when the signature information is matched with the user information, the processing module extracts the PDF format electronic contract with the corresponding number from the storage module according to the number of the signature information to be used as the PDF format electronic contract to be verified;
the authority authentication module is further used for acquiring an endpoint coordinate code of the rectangular image, a gray value code of the rectangular image and a character information code in the rectangular image in the secondary verification key after the PDF format electronic contract to be verified is determined, and sending the endpoint coordinate code, the gray value code and the character information code to the processing module;
the processing module is further configured to decode the endpoint coordinate code of the rectangular image, the gray value code of the rectangular image, and the text information code in the rectangular image, obtain the endpoint coordinate of the decoded rectangular image, the gray value of the rectangular image, and the text information in the rectangular image, and verify the to-be-verified PDF format electronic contract according to the endpoint coordinate of the decoded rectangular image, the gray value of the rectangular image, and the text information in the rectangular image, wherein,
the processing module is further configured to establish a rectangular coordinate system in each page of the PDF format electronic contract to be verified, intercept a rectangular image to be verified in the rectangular coordinate system according to an end coordinate of the rectangular image, determine a gray value and text information in the rectangular image to be verified, and compare the gray value and the text information in the rectangular image to be verified with the gray value of the decoded rectangular image and the text information in the rectangular image:
if the comparison result of the gray value and the text information is inconsistent, judging that the PDF format electronic contract to be verified is tampered;
if the gray value is consistent with the comparison result of the text information, taking the electronic contract with the same number as the PDF format electronic contract to be verified as the electronic contract to be displayed;
the comparison module is used for matching the PDF format electronic contract to be verified with the integral text information of the electronic contract to be displayed one by one after the electronic contract to be displayed is determined:
if the matching result of the integral text information is inconsistent, judging that the electronic contract to be displayed is tampered;
if the matching result of the integral text information is consistent, the electronic contract to be displayed is the final selected result;
and the display module is used for displaying the electronic contract to be displayed to a user after the comparison module determines the final selection result.
Furthermore, a preset character region correction matrix E and a preset margin matrix F are set in the processing module, and for the preset character region correction matrix E, E (E1, E2, E3, E4) is set, where E1 is a first preset character region endpoint coordinate correction coefficient, E2 is a second preset character region endpoint coordinate correction coefficient, E3 is a third preset character region endpoint coordinate correction coefficient, E4 is a fourth preset character region endpoint coordinate correction coefficient, and each preset character region endpoint coordinate correction coefficient gradually increases; for the preset margin matrix F, setting F (F1, F2, F3, F4), wherein F1 is a first preset margin, F2 is a second preset margin, F3 is a third preset margin, and F4 is a fourth preset margin;
the processing module is further configured to obtain a margin Δ f of each page of the PDF format electronic contract, and determine the correction coefficient of the endpoint coordinates of the preset text region according to a relationship between the margin Δ f of each page of the PDF format electronic contract and each preset margin, so as to correct the endpoint coordinates of the text region in each page of the PDF format electronic contract:
when the delta F is less than F1, selecting the first preset character area endpoint coordinate correction coefficient E1 to correct the endpoint coordinates of the character area;
when F1 is not less than or equal to Δ F is less than F2, selecting the second preset character area endpoint coordinate correction coefficient E2 to correct the endpoint coordinates of the character area;
when F2 is not less than or equal to Δ F is less than F3, selecting the third preset character area endpoint coordinate correction coefficient E3 to correct the endpoint coordinates of the character area;
when F3 is not less than or equal to Δ F is less than F4, selecting the fourth preset character area endpoint coordinate correction coefficient E4 to correct the endpoint coordinates of the character area;
when the ith preset character area endpoint coordinate correction coefficient Ei is selected to correct the endpoint coordinates of the character area, i =1,2,3,4, and after the X-axis coordinate and the Y-axis coordinate of each character area endpoint coordinate are respectively multiplied by the ith preset character area endpoint coordinate correction coefficient Ei, new X-axis coordinate and new Y-axis coordinate are obtained to be used as new endpoint coordinates of the character area, and the corrected character area is determined.
Further, a preset rectangular region size matrix G and a preset text region inter-row spacing matrix H are set in the processing module, and for the preset rectangular region size matrix G, G (G1, G2, G3, G4) is set, where G1 is a first preset rectangular region size, G2 is a second preset rectangular region size, G3 is a third preset rectangular region size, G4 is a fourth preset rectangular region size, and the sizes of the preset rectangular regions are gradually increased; setting H (H1, H2, H3 and H4) for the line spacing matrix H in the preset character area, wherein H1 is a first preset line spacing, H2 is a second preset line spacing, H3 is a third preset line spacing, H4 is a fourth preset line spacing, and each preset line spacing is gradually increased;
the processing module is further configured to acquire a line spacing Δ H and a text height Δ H in the text area, determine the size of the selected rectangular area according to a relationship between the line spacing Δ H in the text area and each preset line spacing, and adjust the height of the selected rectangular area according to the text height Δ H in the text area:
when the delta H is smaller than H1, selecting the first preset rectangular area G1 as the size of the rectangular area, and setting the height of the selected rectangular area to be 2 delta H +3 delta H-0.5 delta H;
when H1 is not less than or equal to Δ H < H2, selecting the size G2 of the second preset rectangular area as the size of the rectangular area, and setting the height of the selected rectangular area to be 3 Δ H +4 Δ H-0.5 Δ H;
when H2 is not less than or equal to Δ H < H3, selecting the size G3 of the third preset rectangular area as the size of the rectangular area, and setting the height of the selected rectangular area to be 4 Δ H +5 Δ H-0.5 Δ H;
and when H3 is not less than Δ H < H4, selecting the fourth preset rectangular area size G4 as the size of the rectangular area, and setting the height of the selected rectangular area to be 5 Δ H +6 Δ H-0.5 Δ H.
Further, a word space matrix K in a preset word region is set in the processing module, and for the word space matrix K in the preset word region, K (K1, K2, K3, K4) is set, where K1 is a first preset word space, K2 is a second preset word space, K3 is a third preset word space, and K4 is a fourth preset word space, and each preset word space gradually increases;
the processing module is further configured to acquire a word space Δ K and a word width Δ L in the text region, determine the size of the selected rectangular region according to a relationship between the word space Δ K in the text region and each preset word space, and adjust the width of the selected rectangular region according to the word width Δ L in the text region:
when the delta K is smaller than K1, selecting the first preset rectangular area G1 as the size of the rectangular area, and setting the width of the selected rectangular area to be 4 delta L +5 delta K-0.5 delta K;
when K1 is not less than or equal to and delta K is less than K2, selecting the size G2 of the second preset rectangular area as the size of the rectangular area, and setting the width of the selected rectangular area to be 5 delta L +6 delta K-0.5 delta K;
when K2 is not less than or equal to and delta K is less than K3, selecting the size G3 of the third preset rectangular area as the size of the rectangular area, and setting the width of the selected rectangular area to be 6 delta L +7 delta K-0.5 delta K;
when K3 is not less than or equal to Δ K < K4, selecting the fourth preset rectangular area size G4 as the size of the rectangular area, and setting the width of the selected rectangular area to be 7 Δ L +8 Δ K-0.5 Δ K.
Furthermore, a distance matrix P and a width matrix N of a preset rectangular region and a left side edge of the text region are set in the processing module, and P (P1, P2, P3 and P4) is set for the distance matrix P of the preset rectangular region and the left side edge of the text region, wherein P1 is the distance between the first preset rectangular region and the left side edge of the text region, P2 is the distance between the second preset rectangular region and the left side edge of the text region, P3 is the distance between the third preset rectangular region and the left side edge of the text region, P4 is the distance between the fourth preset rectangular region and the left side edge of the text region, and the distance between each preset rectangular region and the left side edge of the text region gradually increases; setting N (N1, N2, N3 and N4) for the preset character region width matrix N, wherein N1 is a first preset character region width, N2 is a second preset character region width, N3 is a third preset character region width, N4 is a fourth preset character region width, and the widths of the preset character regions are gradually increased;
the processing module is further configured to acquire a width Δ n of the text region, and determine a distance between the rectangular region and a left edge of the text region according to a relationship between the width Δ n of the text region and widths of the preset text regions:
when delta N < N1, selecting a distance P1 between the first preset rectangular area and the left edge of the character area as the distance between the rectangular area and the left edge of the character area;
when N1 is not less than delta N < N2, selecting a distance P2 between the second preset rectangular area and the left edge of the character area as a distance between the rectangular area and the left edge of the character area;
when N2 is not less than delta N < N3, selecting a distance P3 between the third preset rectangular area and the left edge of the character area as the distance between the rectangular area and the left edge of the character area;
when N3 is not less than delta N < N4, the distance P4 between the fourth preset rectangular area and the left edge of the character area is selected as the distance between the rectangular area and the left edge of the character area.
Furthermore, a distance correction matrix M between a preset rectangular area and the left edge of the text area is set in the processing module, and M (M1, M2, M3, M4) is set for the distance correction matrix M between the rectangular area and the left edge of the text area, where M1 is a first preset distance correction coefficient, M2 is a second preset distance correction coefficient, M3 is a third preset distance correction coefficient, and M4 is a fourth preset distance correction coefficient, and each preset distance correction coefficient gradually increases;
the processing module is further configured to determine a distance correction coefficient between the rectangular region and the left edge of the text region according to a relationship between the width Δ m of the rectangular region and the width of each preset text region, and correct the distance between each preset rectangular region and the left edge of the text region by using each preset distance correction coefficient:
when N1-3 Δ M is larger than P1, selecting the first preset space correction coefficient M1 to correct the space P1 between the left edges of the first preset rectangular region and the text region, wherein the corrected space is P1 × M1;
when N2-3 Δ M is larger than P2, selecting a second preset space correction coefficient M2 to correct the space P2 between the left edges of the second preset rectangular region and the text region, wherein the corrected space is P2 × M2;
when N3-3 Δ M is larger than P3, selecting a third preset space correction coefficient M3 to correct the space P3 between the left edges of the third preset rectangular region and the text region, wherein the corrected space is P3 × M3;
and when N4-3 Δ M is larger than P4, selecting the fourth preset space correction coefficient M4 to correct the space P4 between the left edges of the fourth preset rectangular region and the text region, wherein the corrected space is P4 × M4.
Further, a preset rectangular area selection quantity matrix Q and a preset character area word number matrix R are set in the processing module, and for the preset rectangular area selection quantity matrix Q, Q (Q1, Q2, Q3, Q4) is set, where Q1 is a first preset rectangular area selection quantity, Q2 is a second preset rectangular area selection quantity, Q3 is a third preset rectangular area selection quantity, and Q4 is a fourth preset rectangular area selection quantity, and the first preset rectangular area selection quantities sequentially increase; setting R (R1, R2, R3 and R4) for the word number matrix R of the preset character areas, wherein R1 is the number of words in a first preset character area, R2 is the number of words in a second preset character area, R3 is the number of words in a third preset character area, R4 is the number of words in a fourth preset character area, and the number of words in each preset character area sequentially increases;
the processing module is further configured to acquire a word number Δ r of the text region in each page of the electronic contract in the PDF format, and determine the set number of the rectangular regions according to the word number Δ r of the text region and the word number in each preset text region:
when the delta R is less than R1, selecting the first preset rectangular region selection number Q1 as the selection number of the rectangular regions in each page of the PDF format electronic contract;
when R1 is not less than delta R and is less than R2, selecting the second preset rectangular region selection number Q2 as the selection number of the rectangular regions in each page of the PDF-format electronic contract;
when R2 is not less than delta R and is less than R3, selecting the third preset rectangular region selection number Q3 as the selection number of the rectangular regions in each page of the PDF-format electronic contract;
and when R3 is not less than delta R and is less than R4, selecting the fourth preset selected number of rectangular areas Q4 as the selected number of rectangular areas in each page of the PDF-format electronic contract.
Further, the processing module is further configured to screen out the same keyword or keyword from each page of the electronic contract in the PDF format, randomly select two pages from all pages containing the keyword or keyword, randomly select one keyword or keyword from the selected pages, calculate a word count difference Z0 between the two selected keywords or keywords in the two selected pages, set a check code U according to the word count difference Z0, and add the set check code U to the end of the secondary verification key as a check code of the secondary verification key.
Further, the processing module is further configured to determine position information of the two selected keywords or keywords, where the position information includes a page number Z1, a number Z2 of the keywords or keywords, and a number Z3 of the line, encode the page number Z1, the number Z2 of the line, and a number Z3 of the line to generate a character string a03, and use the character string a03 as a positioning code of the word number difference Z0, so as to position the two keywords or keywords corresponding to the word number difference Z0.
Further, the processing module is further configured to add a check code at the end of the primary user authentication key when the primary user authentication key is set.
Compared with the prior art, the invention has the advantages that the first-level user authentication key and the second-level verification key are set after the electronic contract is signed and are stored by the user, so that the safety of the first-level user authentication key and the second-level verification key is improved, and when the user extracts the electronic contract, the identity authentication can be carried out through the first-level user authentication key and the second-level verification key, and whether the electronic contract is falsified can be timely found, so that the safety is improved, and the rights and interests of the user are greatly ensured.
Furthermore, the invention stores user information and signature information of the user by setting a user information module, uniformly converts the format of an electronic contract signed by the user into an electronic contract in a PDF format by a conversion module, matches the electronic contract in the original format with the electronic contract in the PDF format by the storage module and then carries out classified storage so as to facilitate subsequent management and contract retrieval, compares the signature information in the electronic contract in the PDF format with the user information and the signature information of the user by setting a processing module, sets a first-level user authentication key according to the number of the electronic contract in the PDF format and the user information when the comparison result is consistent, is used for authority authentication when the user logs in, the electronic contract in the PDF format and the determination of the original electronic contract, and simultaneously intercepts image information in the electronic contract in the PDF format by the processing module, and setting a secondary verification key according to the gray value of the image and the text information so as to extract the PDF format electronic contract from the user and verify the PDF format electronic contract through the secondary verification key, thereby preventing the contract from being tampered.
Furthermore, the invention sets a first-level user authentication key and a second-level verification key in a processing module, then sends the first-level user authentication key and the second-level verification key to a user for storage, when the user extracts an electronic contract, the user is authenticated by the set authority authentication module, firstly, the user is authenticated by the first-level user authentication key, then the PDF format electronic contract to be extracted is determined by the number of signature information in the first-level user authentication key and user information, after the PDF format electronic contract to be extracted is determined, the PDF format electronic contract to be extracted is verified by the endpoint coordinates of a rectangular image, the gray value of the rectangular image and the text information in the rectangular image in the second-level verification key, after the verification is passed, the PDF format electronic contract to be extracted and the electronic contract corresponding to the PDF format electronic contract are matched by a comparison module, and when the matching result is consistent, the electronic contract is displayed to the user by a display module, the electronic contract classified storage safety management system can effectively improve the data safety, and can timely find problems after the electronic contract is maliciously tampered to prompt the problems of the electronic contract of the user, thereby effectively ensuring the legal rights and interests of the user.
Furthermore, the check code is added into the primary user authentication key, so that the PDF format electronic contract can be accurately selected, the accuracy of the selection result is improved, the wrong PDF format electronic contract is prevented from being selected, meanwhile, the accuracy of the PDF format electronic contract during extraction is improved by setting the check code, and when the PDF format electronic contract is tampered, the PDF format electronic contract can be screened and filtered, and the safety is improved.
Furthermore, the invention sets a preset character area correction matrix E and a preset margin matrix F in a processing module, determines the correction coefficient of the endpoint coordinates of the preset character area according to the relation between the margin delta F of each page of the PDF format electronic contract and each preset margin acquired by the processing module, corrects the endpoint coordinates of the character area in each page of the PDF format electronic contract, and can effectively set the character area by correcting the character area according to the margin, so that the selected character area can accurately contain characters in all pages, the selection range of the characters is improved, the character missing selection is avoided, and the accuracy of data processing is further improved.
Furthermore, the invention sets a preset rectangular area size matrix G and a preset text area row spacing matrix H in the processing module, and determines the size and the height of the rectangular area according to the row spacing delta H and the text height delta H in the text area, so that the selected rectangular area can effectively select the text frames in the selected area into the rectangular area, thereby avoiding selecting the text frames in the area to the greatest extent due to the size and the height of the selected rectangular area, improving the content of the selected text, improving the complexity of the secondary verification key, and further improving the safety of the secondary verification key.
Furthermore, the processing module of the invention can select a proper amount of characters from the set rectangular area by adjusting the width of the rectangular area to acquire subsequent character information, thereby effectively improving the character acquisition efficiency and the accuracy of the acquisition result, further improving the complexity of the secondary verification key and further improving the security of the secondary verification key.
Furthermore, the invention can effectively set the selection range of the rectangular area by determining the distance between the rectangular area and the left edge of the character area according to the relationship between the width delta n of the character area and the width of each preset character area.
Furthermore, the processing module of the invention screens out keywords or keywords in the text area, and sets the check code of the secondary verification key according to the difference between the keywords or keywords on the two pages between the two pages, so that the security of the secondary verification key can be effectively improved, and the accuracy of the verification result can be greatly improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a functional block diagram of an electronic contract classified storage security management system provided in an embodiment of the present invention;
fig. 2 is a schematic diagram of establishing a rectangular coordinate system in a PDF format electronic contract according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 is a functional block diagram of an electronic contract classified storage security management system provided in this embodiment. The embodiment provides an electronic contract classified storage safety management system, which comprises a user information module, a conversion module, a storage module, a processing module, a comparison module, an authority authentication module and a display module, wherein,
the user information module is used for collecting and storing user information and signature information of a user;
the conversion module is used for converting the signed electronic contract into a PDF format after a user signs the electronic contract so as to generate the PDF format electronic contract;
the storage module is used for performing classified storage after the electronic contract is matched with the PDF format electronic contract;
the processing module is used for extracting the PDF format electronic contract from the storage module, and comparing the electronic signature in the PDF format electronic contract with the user signature information stored in the user information module:
if the comparison result is inconsistent, prompting the user to update the signature information, and performing signature comparison again until the comparison result is consistent;
if the comparison result is consistent, the processing module is further configured to number the signature information, number the PDF-format electronic contract, and make the number of the signature information consistent with the number of the PDF-format electronic contract, and the processing module is configured to set an authentication key by using a symmetric encryption algorithm, encode the number of the signature information and user information, and add the encoded number of the signature information and user information to the end of the authentication key to generate a first-level user authentication key; wherein,
the processing module is further configured to establish a rectangular coordinate system in each page of the PDF format electronic contract, determine a text region in each page of the PDF format electronic contract in each rectangular coordinate system, intercept a rectangular image of a preset size at a preset position in the text region, determine an end point coordinate of the rectangular image and a gray value of the rectangular image, and determine text information in the rectangular image, and generate a secondary verification key after encoding the end point coordinate of the rectangular image, the gray value of the rectangular image and the text information in the rectangular image;
the authority authentication module is used for authenticating the identity of a user through the primary user authentication key, after the user identity authentication is passed, the authority authentication module extracts the code of the number of the signature information and the code of the user information from the primary user authentication key and sends the codes to the processing module, after the processing module decodes the code of the number of the signature information and the code of the user information, and when the signature information is matched with the user information, the processing module extracts the PDF format electronic contract with the corresponding number from the storage module according to the number of the signature information to be used as the PDF format electronic contract to be verified;
the authority authentication module is further used for acquiring an endpoint coordinate code of the rectangular image, a gray value code of the rectangular image and a character information code in the rectangular image in the secondary verification key after the PDF format electronic contract to be verified is determined, and sending the endpoint coordinate code, the gray value code and the character information code to the processing module;
the processing module is further configured to decode the endpoint coordinate code of the rectangular image, the gray value code of the rectangular image, and the text information code in the rectangular image, obtain the endpoint coordinate of the decoded rectangular image, the gray value of the rectangular image, and the text information in the rectangular image, and verify the to-be-verified PDF format electronic contract according to the endpoint coordinate of the decoded rectangular image, the gray value of the rectangular image, and the text information in the rectangular image, wherein,
the processing module is further configured to establish a rectangular coordinate system in each page of the PDF format electronic contract to be verified, intercept a rectangular image to be verified in the rectangular coordinate system according to an end coordinate of the rectangular image, determine a gray value and text information in the rectangular image to be verified, and compare the gray value and the text information in the rectangular image to be verified with the gray value of the decoded rectangular image and the text information in the rectangular image:
if the comparison result of the gray value and the text information is inconsistent, judging that the PDF format electronic contract to be verified is tampered;
if the gray value is consistent with the comparison result of the text information, taking the electronic contract with the same number as the PDF format electronic contract to be verified as the electronic contract to be displayed;
the comparison module is used for matching the PDF format electronic contract to be verified with the integral text information of the electronic contract to be displayed one by one after the electronic contract to be displayed is determined:
if the matching result of the integral text information is inconsistent, judging that the electronic contract to be displayed is tampered;
if the matching result of the integral text information is consistent, the electronic contract to be displayed is the final selected result;
and the display module is used for displaying the electronic contract to be displayed to a user after the comparison module determines the final selection result.
Specifically, in the embodiment, a user information module is arranged to store user information and signature information of a user, a conversion module is used to uniformly convert the format of an electronic contract signed by the user into an electronic contract in a PDF format, a storage module is used to match the electronic contract in an original format with the electronic contract in the PDF format and then perform classified storage so as to facilitate subsequent management and contract retrieval, a processing module is arranged to compare the signature information in the electronic contract in the PDF format with the user information and the signature information of the user, when the comparison result is consistent, a first-level user authentication key is set according to the number of the electronic contract in the PDF format and the user information and is used for authority authentication when the user logs in and determination of the electronic contract in the PDF format and the original electronic contract, and meanwhile, a processing module is used to intercept image information in the electronic contract in the PDF format, setting a secondary verification key according to the gray value of an image and text information, extracting a PDF format electronic contract from a user through the secondary verification key and simultaneously verifying the PDF format electronic contract to prevent the contract from being falsified, specifically, after a primary user authentication key and a secondary verification key are set by a processing module, sending the primary user authentication key and the secondary verification key to the user for storage, when the user extracts the electronic contract, firstly, after the user is authenticated through the primary user authentication key, determining the PDF format electronic contract to be extracted through the number of signature information in the primary user authentication key and user information through a set authority authentication module, and after the PDF format electronic contract to be extracted is determined, verifying the PDF format electronic contract to be extracted through the end point coordinates of a rectangular image in the secondary verification key, the gray value of the rectangular image and character information in the rectangular image, after the verification is passed, the PDF format electronic contract to be extracted and the electronic contract corresponding to the PDF format electronic contract are matched through the comparison module, and when the matching result is consistent, the electronic contract is displayed to the user through the display module, so that the electronic contract signed by the user can be effectively prevented from being maliciously tampered, meanwhile, the electronic contract can be timely found to be tampered after the contract is tampered, the legal rights and interests of the user are guaranteed, in addition, the electronic contract classified storage safety management system can effectively improve the safety of data, the problems can be timely found after the electronic contract is maliciously tampered, the problems of the electronic contract are prompted, and the legal rights and interests of the user can be effectively guaranteed.
Specifically, in this embodiment, the format of the electronic contract signed by the user is generally a word format or an xml format, and the electronic contract in different formats is uniformly converted into a PDF format through the conversion module, so as to facilitate subsequent processing and operation, and effectively prevent the electronic contract in the PDF format from being tampered randomly.
Specifically, in this embodiment, the user information stored in the user information module includes information such as a name, an address, a telephone number, and an industry affiliation of the user, and the signature information of the user includes signature information of the user and seal information used for the signature information.
Specifically, when the electronic contract is matched with the PDF format electronic contract, the processing module numbers the electronic contract, and then after the PDF format electronic contract is generated according to the electronic contract, numbers the PDF format electronic contract, where the number of the electronic contract is the same as the number of the PDF format electronic contract, and when the electronic contract and the PDF format electronic contract are classified, they may be stored after being classified according to signing time of the electronic contract or an industry to which the user belongs.
Specifically, after the PDF format electronic contract is extracted from the storage module, the processing module first captures an image of signature information from the end of the PDF format electronic contract and compares the image with an image of signature information of a user, and sets the primary user authentication key after the image comparison results are consistent.
Specifically, when the processing module sets the primary user authentication key, it first sets an authentication key through a symmetric encryption algorithm, where the authentication key is formed by combining letters and numbers, and the format of the authentication key is preferably: XXXXXXX-XXXXX-XXXXX-XXXXX-XXXXX, wherein X is the number 0-9, any upper case letter or lower case letter. After the processing module sets the authentication key, the number of the signature information is coded, the signature information is coded into a XXXXX form, the user information is coded, the signature information is also coded into the XXXXX form, X is a combination of numbers and/or letters, when the user information is coded, the name, the address and the industry of the user are numbered, and the coding information is set according to the number after the user information is coded. The processing module respectively adds the end of the authentication key after coding the number of the signature information and the user information, the coding of the user information is positioned behind the number coding of the signature information to form the primary user authentication key, and the primary user authentication key is as follows: XXXXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXXXX, the primary user authentication key is sent to the user for storage, and the primary user authentication key is used for subsequent login authentication of the user.
Specifically, when the authority authentication module receives the primary user authentication key input by the user, the authentication key in the primary user authentication key is separated, after identity authentication is performed through the authentication key, two end codes at the tail end in the primary user authentication key are separated and sent to the processing module, and the processing module extracts signature information and user information of the user from the user information module according to the two end codes in the primary user authentication key.
Specifically, the processing module is further configured to add a check code at the end of the primary user authentication key when the primary user authentication key is set. The processing module is also used for sequentially extracting the first Chinese characters of the even rows of the odd pages of the PDF format electronic contract and sequentially arranging and then coding the first Chinese characters to obtain a first check code when setting the check code; then extracting the last Chinese characters of odd lines of the even page of the PDF format electronic contract according to a sequence, arranging the extracted last Chinese characters according to the sequence, coding the extracted last Chinese characters to obtain a second check code, combining the first check code with the second check code to obtain a character string A01, adding the character string A01 to the tail of the primary user authentication key, namely adding the character string A01 to the back of the code of the user information and the number code of the signature information, namely, adding the check code into the primary user authentication key: XXXXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-A01.
Specifically, after the identity authentication is performed through the primary user authentication key, a PDF format electronic contract is determined through the encoding of the user information in the primary user authentication key and the numbering encoding of the signature information, the PDF format electronic contract is verified through the check code in the primary user authentication key, that is, the text information in the PDF format electronic contract is verified through the character string a01 in the primary user authentication key, and the PDF format electronic contract is taken as the PDF format electronic contract to be verified after the verification.
The check code is added into the primary user authentication key, so that the PDF format electronic contract can be accurately selected, the accuracy of the selection result is improved, the wrong PDF format electronic contract is prevented from being selected, meanwhile, the accuracy of the PDF format electronic contract during extraction is improved by setting the check code, and when the PDF format electronic contract is tampered, the PDF format electronic contract can be screened and filtered, and the safety is improved.
Specifically, when the processing module establishes the rectangular coordinate system in the PDF format electronic contract, the processing module establishes the rectangular coordinate system with one corner end point of each page in the PDF format electronic contract as an origin, and the establishment positions of the rectangular coordinate system of each page are the same, preferably, each page in the PDF format electronic contract is located in a first quadrant of the rectangular coordinate system.
Specifically, after the rectangular coordinate system is established in the PDF format electronic contract, a text region in a page is marked in the rectangular coordinate system of each page of the PDF format electronic contract, a rectangular region with a preset size is selected at a preset position in the text region, the selected rectangular region is converted into image data by the processing module and then extracted, the extracted rectangular image is subjected to gray processing to obtain a gray value of the rectangular image, text information in the rectangular image is identified, and the text information in the rectangular image is extracted and encoded and stored.
Fig. 2 is a schematic diagram illustrating a rectangular coordinate system established in a PDF format electronic contract according to an embodiment of the present invention. Specifically, when the processing module establishes the rectangular coordinate system in the PDF format electronic contract, the processing module establishes the rectangular coordinate system in one page of the PDF format electronic contract as an example. First, an end point O of a lower left corner of one of the pages in the PDF format electronic contract is determined, a rectangular coordinate system is established with the end point O as an origin, an X axis extends rightward along a lower edge of the page, a Y axis extends upward along a left edge of the page, a page ABCO is determined on the rectangular coordinate system, that is, the page ABCO is one of the pages in the PDF format electronic contract, a text region a 'B' C 'O' is determined in the page ABCO, a rectangular region abcd of a preset size is randomly selected in the text region a 'B' C 'O', and end point coordinates of the rectangular region abcd are determined, the end point abc is extracted after the end point coordinates of the rectangular region abcd are determined (X1, Y2), the end point B (X2, Y2), the end point C (X2, Y1), the end point d (X1, Y1), the end point region abc is extracted, the end point information is converted into the above-mentioned rectangular region abc image, and the above-mentioned rectangular region abc is obtained (1 a 1), y 2), the end point b (x 2, y 2), the end point c (x 2, y 1) and the end point d (x 1, y 1) are taken as the end point coordinates of the rectangular image, and the gradation value information of the rectangular image and the character information within the rectangular image are acquired.
Specifically, the processing module is further configured to encode the endpoint coordinates of the rectangular image, that is, after hexadecimal operations are performed on coordinate values of an endpoint a (X1, Y2), an endpoint b (X2, Y2), an endpoint c (X2, Y1) and an endpoint d (X1, Y1), the coordinate values are arranged in a manner of a1-b1-c1-d1 in a notation manner, where a1 is an array in which hexadecimal operations are performed on coordinates X1 and Y2 of the endpoint a, b1 is an array in which hexadecimal operations are performed on coordinates X2 and Y2 of the endpoint b, c1 is an array in which hexadecimal operations are performed on coordinates X2 and Y1 of the endpoint c, and d1 is an array in which hexadecimal operations are performed on coordinates X1 and Y1 of the endpoint d, where X coordinate values and Y axis coordinate values in a1, 1, 1, d1 are separated from Y axis coordinate values by commas. After the processing module acquires the gray value h of the rectangular image, the gray value h is subjected to hexadecimal coding to acquire a coded gray value h1, and the coded gray value h1 is merged into a1-b1-c1-d1 to obtain a1-b1-c1-d1-h 1. The processing module is further configured to encode text information in the rectangular image, sequentially encode the text identified in the rectangular image, generate a character string a02, combine the character string a02 with a1-b1-c1-d1-h1, generate a data set arranged in a manner of a1-b1-c1-d1-h1-a02, use the generated a1-b1-c1-d1-h1-a02 as one piece of page verification information in the PDF format electronic contract, and after obtaining the verification information of a plurality of pages, sequentially arrange the verification information of the plurality of pages according to the order of the pages, and finally combine the verification information into the secondary verification key. Specifically, the characters recognized in the rectangular image and the check code added at the end of the primary user authentication key are encoded according to the standard of GB 2312-80 "chinese character set for information exchange — basic set" to generate the character strings a01 and a02, and the character encoding in this embodiment is performed with reference to the standard.
Specifically, the processing module sends the generated secondary verification key to a user for storage, and the user can verify the signed electronic contract through the secondary verification key.
Specifically, when a user needs to extract an electronic contract, firstly, after the identity of the user is authenticated through the primary user authentication key, the processing module determines a PDF format electronic contract corresponding to the electronic contract to be extracted of the user through the number of the signature information in the primary user authentication key and the user information, then, the user inputs a secondary authentication key, the processing module decodes the secondary authentication key, analyzes the end point coordinates of the rectangular image, the gray value of the rectangular image and the text information in the rectangular image in each page stored in the secondary authentication key, sequentially determines the rectangular image position in each page in the PDF format electronic contract corresponding to the electronic contract to be extracted of the user through the end point coordinates of the rectangular image in the secondary authentication key, and respectively compares the gray value and the text information in the image with the gray value of the rectangular image and the text information in the rectangular image stored in the secondary authentication key And comparing the character information, and determining the electronic contract corresponding to the PDF format electronic contract as the electronic contract to be extracted by the user after the comparison result is continued.
Specifically, after the processing module determines the electronic contract to be extracted by the user, the electronic contract is extracted, the electronic contract and the corresponding PDF format electronic contract are compared in the comparison module word by word and sentence by sentence, when the comparison result is consistent, the electronic contract is determined to be the final electronic contract to be displayed, and then the electronic contract is displayed to the user through the display module or downloaded by the user.
Therefore, the electronic contract classified storage safety management system can effectively ensure the safety of the electronic contract, prevent the electronic contract from being maliciously tampered, and ensure that the user can timely discover the electronic contract is tampered after the electronic contract is maliciously tampered, thereby ensuring the legal rights and interests of the user.
Based on another preferred implementation manner of the foregoing embodiment, in this implementation manner, a preset character region correction matrix E and a preset margin matrix F are further set in the processing module, and for the preset character region correction matrix E, E (E1, E2, E3, E4) is set, where E1 is a first preset character region endpoint coordinate correction coefficient, E2 is a second preset character region endpoint coordinate correction coefficient, E3 is a third preset character region endpoint coordinate correction coefficient, E4 is a fourth preset character region endpoint coordinate correction coefficient, and each preset character region endpoint coordinate correction coefficient gradually increases; for the preset margin matrix F, setting F (F1, F2, F3, F4), wherein F1 is a first preset margin, F2 is a second preset margin, F3 is a third preset margin, and F4 is a fourth preset margin;
the processing module is further configured to obtain a margin Δ f of each page of the PDF format electronic contract, and determine the correction coefficient of the endpoint coordinates of the preset text region according to a relationship between the margin Δ f of each page of the PDF format electronic contract and each preset margin, so as to correct the endpoint coordinates of the text region in each page of the PDF format electronic contract:
when the delta F is less than F1, selecting the first preset character area endpoint coordinate correction coefficient E1 to correct the endpoint coordinates of the character area;
when F1 is not less than or equal to Δ F is less than F2, selecting the second preset character area endpoint coordinate correction coefficient E2 to correct the endpoint coordinates of the character area;
when F2 is not less than or equal to Δ F is less than F3, selecting the third preset character area endpoint coordinate correction coefficient E3 to correct the endpoint coordinates of the character area;
when F3 is not less than or equal to Δ F is less than F4, selecting the fourth preset character area endpoint coordinate correction coefficient E4 to correct the endpoint coordinates of the character area;
when the ith preset character area endpoint coordinate correction coefficient Ei is selected to correct the endpoint coordinates of the character area, i =1,2,3,4, and after the X-axis coordinate and the Y-axis coordinate of each character area endpoint coordinate are respectively multiplied by the ith preset character area endpoint coordinate correction coefficient Ei, new X-axis coordinate and new Y-axis coordinate are obtained to be used as new endpoint coordinates of the character area, and the corrected character area is determined.
In particular, said text regions are preferably rectangular regions, when said processing module determines, in one of the pages of said PDF format electronic contract, the end point coordinates of a 'B' C O ', a's (a 1, B1), B's (a 2, B2), C's (A3, B3), O's (A4, B4), after determining said i-th preset text region coordinate correction coefficient Ei through the relationship between the margin Δ f of each page of said PDF format electronic contract and each of said preset margins, a's (a 1, B1), B's (a 2, B2), C's (A3, B3), the X-axis and Y-axis coordinates of O's (A4, B4) are multiplied by the new end point coordinates a (a 465, a's (eii), B465, e's (eii), e 465, e's (a 1, B2, e 5), o ″ (a 4 ″, B4 ″) Ei), the original text region a ″ ' C ″ ' O ' is updated to a new text region a ″ ' B ″ ' C ' O ', so as to select a preset size rectangular region in the new text region a ″ ' B ″ ' C ' O ' and extract the rectangular image therefrom.
It can be seen that the preset character region correction matrix E and the preset margin matrix F are set in the processing module, the preset character region endpoint coordinate correction coefficient is determined according to the relationship between the margin Δ F of each page of the PDF format electronic contract and each preset margin acquired by the processing module, so as to correct the endpoint coordinates of the character region in each page of the PDF format electronic contract, and the character region can be effectively set by correcting the character region according to the margin, so that the selected character region can accurately contain characters in all pages, the selection range of the characters is increased, the character missing selection is avoided, and the accuracy of data processing is further increased.
Based on another preferred implementation manner of the foregoing embodiment, in this implementation manner, a preset rectangular region size matrix G and a preset text region inter-row spacing matrix H are further set in the processing module, and for the preset rectangular region size matrix G, G (G1, G2, G3, G4) is set, where G1 is a first preset rectangular region size, G2 is a second preset rectangular region size, G3 is a third preset rectangular region size, and G4 is a fourth preset rectangular region size, and the sizes of the preset rectangular regions are gradually increased; setting H (H1, H2, H3 and H4) for the line spacing matrix H in the preset character area, wherein H1 is a first preset line spacing, H2 is a second preset line spacing, H3 is a third preset line spacing, H4 is a fourth preset line spacing, and each preset line spacing is gradually increased;
the processing module is further configured to acquire a line spacing Δ H and a text height Δ H in the text area, determine the size of the selected rectangular area according to a relationship between the line spacing Δ H in the text area and each preset line spacing, and adjust the height of the selected rectangular area according to the text height Δ H in the text area:
when the delta H is smaller than H1, selecting the first preset rectangular area G1 as the size of the rectangular area, and setting the height of the selected rectangular area to be 2 delta H +3 delta H-0.5 delta H;
when H1 is not less than or equal to Δ H < H2, selecting the size G2 of the second preset rectangular area as the size of the rectangular area, and setting the height of the selected rectangular area to be 3 Δ H +4 Δ H-0.5 Δ H;
when H2 is not less than or equal to Δ H < H3, selecting the size G3 of the third preset rectangular area as the size of the rectangular area, and setting the height of the selected rectangular area to be 4 Δ H +5 Δ H-0.5 Δ H;
and when H3 is not less than Δ H < H4, selecting the fourth preset rectangular area size G4 as the size of the rectangular area, and setting the height of the selected rectangular area to be 5 Δ H +6 Δ H-0.5 Δ H.
Specifically, when the processing module selects a rectangular area with a preset size, the position of the rectangular area is preliminarily selected at any position in the text area, the size of the rectangular area is set according to the line spacing Δ H in the text area, and then the height of the rectangular area is determined according to the text height Δ H in the text area.
It can be seen that by setting a preset rectangular area size matrix G and a preset text area row spacing matrix H in the processing module, and determining the size and height of the rectangular area according to the row spacing Δ H and text height Δ H in the text area, the selected rectangular area can effectively select the text frames in the selected area into the rectangular area, so that the situation that the text frames in the area cannot be selected to the greatest extent due to the size and height of the selected rectangular area can be avoided, the selected text content is improved, the complexity of the character string a1 in the secondary verification key is improved, and the security of the secondary verification key is improved.
Based on another preferred implementation manner of the foregoing embodiment, in this implementation manner, a word space matrix K in a preset text area is further set in the processing module, and for the word space matrix K in the preset text area, K (K1, K2, K3, K4) is set, where K1 is a first preset word space, K2 is a second preset word space, K3 is a third preset word space, and K4 is a fourth preset word space, and each preset word space gradually increases;
the processing module is further configured to acquire a word space Δ K and a word width Δ L in the text region, determine the size of the selected rectangular region according to a relationship between the word space Δ K in the text region and each preset word space, and adjust the width of the selected rectangular region according to the word width Δ L in the text region:
when the delta K is smaller than K1, selecting the first preset rectangular area G1 as the size of the rectangular area, and setting the width of the selected rectangular area to be 4 delta L +5 delta K-0.5 delta K;
when K1 is not less than or equal to and delta K is less than K2, selecting the size G2 of the second preset rectangular area as the size of the rectangular area, and setting the width of the selected rectangular area to be 5 delta L +6 delta K-0.5 delta K;
when K2 is not less than or equal to and delta K is less than K3, selecting the size G3 of the third preset rectangular area as the size of the rectangular area, and setting the width of the selected rectangular area to be 6 delta L +7 delta K-0.5 delta K;
when K3 is not less than or equal to Δ K < K4, selecting the fourth preset rectangular area size G4 as the size of the rectangular area, and setting the width of the selected rectangular area to be 7 Δ L +8 Δ K-0.5 Δ K.
Specifically, after the size of the rectangular area of the processing module is adjusted and the height of the rectangular area is adjusted, the width of the rectangular area is adjusted through a preset word space matrix K in the text area, and the word space Δ K and the word width Δ L in the text area, so that the size of the rectangular area is determined to be suitable.
It can be seen that, the processing module can select a proper amount of characters from the set rectangular region by adjusting the width of the rectangular region to acquire subsequent character information, so that the acquisition efficiency of the characters and the accuracy of the acquisition result can be effectively improved, and meanwhile, the complexity of the character string A1 in the secondary verification key is further improved, and the security of the secondary verification key is further improved.
Based on another preferred implementation manner of the above embodiment, in this implementation manner, a preset rectangular region-to-text region left side edge distance matrix P and a preset text region width matrix N are further set in the processing module, and P (P1, P2, P3, P4) is set for the preset rectangular region-to-text region left side edge distance matrix P, where P1 is a distance between a first preset rectangular region and a text region left side edge, P2 is a distance between a second preset rectangular region and a text region left side edge, P3 is a distance between a third preset rectangular region and a text region left side edge, P4 is a distance between a fourth preset rectangular region and a text region left side edge, and a distance between each preset rectangular region and a text region left side edge gradually increases; setting N (N1, N2, N3 and N4) for the preset character region width matrix N, wherein N1 is a first preset character region width, N2 is a second preset character region width, N3 is a third preset character region width, N4 is a fourth preset character region width, and the widths of the preset character regions are gradually increased;
the processing module is further configured to acquire a width Δ n of the text region, and determine a distance between the rectangular region and a left edge of the text region according to a relationship between the width Δ n of the text region and widths of the preset text regions:
when delta N < N1, selecting a distance P1 between the first preset rectangular area and the left edge of the character area as the distance between the rectangular area and the left edge of the character area;
when N1 is not less than delta N < N2, selecting a distance P2 between the second preset rectangular area and the left edge of the character area as a distance between the rectangular area and the left edge of the character area;
when N2 is not less than delta N < N3, selecting a distance P3 between the third preset rectangular area and the left edge of the character area as the distance between the rectangular area and the left edge of the character area;
when N3 is not less than delta N < N4, the distance P4 between the fourth preset rectangular area and the left edge of the character area is selected as the distance between the rectangular area and the left edge of the character area.
It can be seen that the selection range of the rectangular area can be effectively set by determining the distance between the rectangular area and the left edge of the character area according to the relationship between the width Δ n of the character area and the width of each preset character area.
Based on another preferred implementation manner of the foregoing embodiment, in this implementation manner, a preset pitch correction matrix M between the rectangular region and the left edge of the text region is further set in the processing module, and M (M1, M2, M3, M4) is set for the pitch correction matrix M between the rectangular region and the left edge of the text region, where M1 is a first preset pitch correction coefficient, M2 is a second preset pitch correction coefficient, M3 is a third preset pitch correction coefficient, and M4 is a fourth preset pitch correction coefficient, and each preset pitch correction coefficient gradually increases;
the processing module is further configured to determine a distance correction coefficient between the rectangular region and the left edge of the text region according to a relationship between the width Δ m of the rectangular region and the width of each preset text region, and correct the distance between each preset rectangular region and the left edge of the text region by using each preset distance correction coefficient:
when N1-3 Δ M is larger than P1, selecting the first preset space correction coefficient M1 to correct the space P1 between the left edges of the first preset rectangular region and the text region, wherein the corrected space is P1 × M1;
when N2-3 Δ M is larger than P2, selecting a second preset space correction coefficient M2 to correct the space P2 between the left edges of the second preset rectangular region and the text region, wherein the corrected space is P2 × M2;
when N3-3 Δ M is larger than P3, selecting a third preset space correction coefficient M3 to correct the space P3 between the left edges of the third preset rectangular region and the text region, wherein the corrected space is P3 × M3;
and when N4-3 Δ M is larger than P4, selecting the fourth preset space correction coefficient M4 to correct the space P4 between the left edges of the fourth preset rectangular region and the text region, wherein the corrected space is P4 × M4.
It can be seen that, the processing module determines a distance correction coefficient between the rectangular region and the left edge of the text region according to the relationship between the width Δ m of the rectangular region and the width of each preset text region, and corrects the distance between each preset rectangular region and the left edge of the text region according to each preset distance correction coefficient, so that the distance between the rectangular region and the left edge of the text region can be effectively set, and the text selection efficiency in the rectangular region is improved.
Based on another preferred implementation manner of the foregoing embodiment, in this implementation manner, a preset rectangular region selection number matrix Q and a preset character region word number matrix R are further set in the processing module, and for the preset rectangular region selection number matrix Q, Q (Q1, Q2, Q3, Q4) is set, where Q1 is a first preset rectangular region selection number, Q2 is a second preset rectangular region selection number, Q3 is a third preset rectangular region selection number, and Q4 is a fourth preset rectangular region selection number, and the first preset rectangular region selection numbers sequentially increase; setting R (R1, R2, R3 and R4) for the word number matrix R of the preset character areas, wherein R1 is the number of words in a first preset character area, R2 is the number of words in a second preset character area, R3 is the number of words in a third preset character area, R4 is the number of words in a fourth preset character area, and the number of words in each preset character area sequentially increases;
the processing module is further configured to acquire a word number Δ r of the text region in each page of the electronic contract in the PDF format, and determine the set number of the rectangular regions according to the word number Δ r of the text region and the word number in each preset text region:
when the delta R is less than R1, selecting the first preset rectangular region selection number Q1 as the selection number of the rectangular regions in each page of the PDF format electronic contract;
when R1 is not less than delta R and is less than R2, selecting the second preset rectangular region selection number Q2 as the selection number of the rectangular regions in each page of the PDF-format electronic contract;
when R2 is not less than delta R and is less than R3, selecting the third preset rectangular region selection number Q3 as the selection number of the rectangular regions in each page of the PDF-format electronic contract;
and when R3 is not less than delta R and is less than R4, selecting the fourth preset selected number of rectangular areas Q4 as the selected number of rectangular areas in each page of the PDF-format electronic contract.
It can be seen that the processing module determines the set number of the rectangular areas according to the word number Δ r of the text area and the word number in each preset text area, and can select a proper amount of rectangular areas in the text area within a limited range to perform text processing to the maximum extent so as to improve the complexity of the subsequent secondary verification key, and meanwhile, the accuracy of the verification result of the secondary verification key can be greatly improved by improving the sampling rate of the text.
Based on another preferred implementation manner of the foregoing embodiment, in this implementation manner, the processing module further screens out the same keyword or keyword from each page of the electronic contract in the PDF format, randomly selects two pages from all pages containing the keyword or keyword, randomly selects one keyword or keyword from the selected pages, calculates a word count difference Z0 between the two selected keywords or keywords in the two selected pages, sets a check code U according to the word count difference Z0, and adds the set check code U to the end of the secondary verification key as a check code of the secondary verification key.
Specifically, the processing module is further configured to determine position information of the two selected keywords or keywords, where the position information includes a page number Z1, a number Z2 of the keywords or keywords, and a number Z3 of a line of the keywords or keywords, encode the page number Z1, the number Z2 of the line, and a number Z3 of the line to generate a character string a03, and use the character string a03 as a positioning code of the word number difference Z0, so as to position the two keywords or keywords corresponding to the word number difference Z0.
Specifically, the processing module is further configured to, after the character string a03 is generated, merge the character string a03 with the word count difference value Z0 to generate a new character string a04, and add the character string a04 as a check code U to the end of the secondary verification key.
Specifically, the processing module is further configured to, when the character string a04 is set, perform hexadecimal operation on the word count difference value Z0 and then merge the hexadecimal operation with the character string a 03.
Specifically, when the processing module sets the page number Z1, the number of lines Z2, and the number of bits Z3 of the line of the keyword or keyword, the page number Z1, the number of lines Z2, and the number of bits Z3 of the line respectively include the page number, the number of lines, and the number of bits of the keyword or keyword at the front position, and the page number, the number of lines, and the number of bits of the keyword or keyword at the back position, for example, the keyword of the first page is located in the fourth word of the first line, the keyword of the third page is located in the seventh word of the fifth line, then Z1 is recorded as Z1 (001-: 001-.
After the PDF format electronic contract is determined through the secondary verification secret key verification, the key words or the key words are verified again through the verification codes, and therefore the accuracy of the verification result is improved.
It can be seen that the processing module screens out keywords or keywords in the text area, and sets the check code of the secondary verification key according to the difference between the keywords or keywords on the two pages between the two pages, so that the security of the secondary verification key can be effectively improved, and the accuracy of the verification result can be greatly improved.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.
Claims (10)
1. An electronic contract classified storage security management system, comprising:
the user information module is used for storing the personal information and the signature information of the user;
the conversion module is used for converting the signed electronic contract into a PDF format after a user signs the electronic contract so as to generate the PDF format electronic contract;
the storage module is used for performing classified storage after the electronic contract is matched with the PDF format electronic contract;
the processing module is used for comparing the electronic signature in the PDF format electronic contract with the user signature information stored in the user information module:
if the comparison result is inconsistent, prompting the user to update the signature information, and performing signature comparison again until the comparison result is consistent;
if the comparison result is consistent, the processing module is further configured to number the signature information, number the PDF-format electronic contract, and make the number of the signature information consistent with the number of the PDF-format electronic contract, and the processing module is configured to set an authentication key by using a symmetric encryption algorithm, encode the number of the signature information and user information, and add the encoded number of the signature information and user information to the end of the authentication key to generate a first-level user authentication key; wherein,
the processing module is further configured to establish a rectangular coordinate system in each page of the PDF format electronic contract, determine a text region in each page of the PDF format electronic contract in each rectangular coordinate system, intercept a rectangular image of a preset size at a preset position in the text region, determine an end point coordinate of the rectangular image and a gray value of the rectangular image, and determine text information in the rectangular image, and generate a secondary verification key after encoding the end point coordinate of the rectangular image, the gray value of the rectangular image and the text information in the rectangular image;
the authority authentication module is used for authenticating the identity of a user through the primary user authentication key, after the user identity authentication is passed, the authority authentication module extracts the code of the number of the signature information and the code of the user information from the primary user authentication key and sends the codes to the processing module, after the processing module decodes the code of the number of the signature information and the code of the user information, and when the signature information is matched with the user information, the processing module extracts the PDF format electronic contract with the corresponding number from the storage module according to the number of the signature information to be used as the PDF format electronic contract to be verified;
the authority authentication module is further used for acquiring an endpoint coordinate code of the rectangular image, a gray value code of the rectangular image and a character information code in the rectangular image in the secondary verification key after the PDF format electronic contract to be verified is determined, and sending the endpoint coordinate code, the gray value code and the character information code to the processing module;
the processing module is further configured to decode the endpoint coordinate code of the rectangular image, the gray value code of the rectangular image, and the text information code in the rectangular image, obtain the endpoint coordinate of the decoded rectangular image, the gray value of the rectangular image, and the text information in the rectangular image, and verify the to-be-verified PDF format electronic contract according to the endpoint coordinate of the decoded rectangular image, the gray value of the rectangular image, and the text information in the rectangular image, wherein,
the processing module is further configured to establish a rectangular coordinate system in each page of the PDF format electronic contract to be verified, intercept a rectangular image to be verified in the rectangular coordinate system according to an end coordinate of the rectangular image, determine a gray value and text information in the rectangular image to be verified, and compare the gray value and the text information in the rectangular image to be verified with the gray value of the decoded rectangular image and the text information in the rectangular image:
if the comparison result of the gray value and the text information is inconsistent, judging that the PDF format electronic contract to be verified is tampered;
if the gray value is consistent with the comparison result of the text information, taking the electronic contract with the same number as the PDF format electronic contract to be verified as the electronic contract to be displayed;
the comparison module is used for matching the PDF format electronic contract to be verified with the integral text information of the electronic contract to be displayed one by one after the electronic contract to be displayed is determined:
if the matching result of the integral text information is inconsistent, judging that the electronic contract to be displayed is tampered;
if the matching result of the integral text information is consistent, the electronic contract to be displayed is the final selected result;
and the display module is used for displaying the electronic contract to be displayed to a user after the comparison module determines the final selection result.
2. The electronic contract classified storage security management system according to claim 1,
a preset character region correction matrix E and a preset margin matrix F are set in the processing module, and for the preset character region correction matrix E, E (E1, E2, E3 and E4) is set, wherein E1 is a first preset character region endpoint coordinate correction coefficient, E2 is a second preset character region endpoint coordinate correction coefficient, E3 is a third preset character region endpoint coordinate correction coefficient, E4 is a fourth preset character region endpoint coordinate correction coefficient, and each preset character region endpoint coordinate correction coefficient is gradually increased; for the preset margin matrix F, setting F (F1, F2, F3, F4), wherein F1 is a first preset margin, F2 is a second preset margin, F3 is a third preset margin, and F4 is a fourth preset margin;
the processing module is further configured to obtain a margin Δ f of each page of the PDF format electronic contract, and determine the correction coefficient of the endpoint coordinates of the preset text region according to a relationship between the margin Δ f of each page of the PDF format electronic contract and each preset margin, so as to correct the endpoint coordinates of the text region in each page of the PDF format electronic contract:
when the delta F is less than F1, selecting the first preset character area endpoint coordinate correction coefficient E1 to correct the endpoint coordinates of the character area;
when F1 is not less than or equal to Δ F is less than F2, selecting the second preset character area endpoint coordinate correction coefficient E2 to correct the endpoint coordinates of the character area;
when F2 is not less than or equal to Δ F is less than F3, selecting the third preset character area endpoint coordinate correction coefficient E3 to correct the endpoint coordinates of the character area;
when F3 is not less than or equal to Δ F is less than F4, selecting the fourth preset character area endpoint coordinate correction coefficient E4 to correct the endpoint coordinates of the character area;
when the ith preset character area endpoint coordinate correction coefficient Ei is selected to correct the endpoint coordinates of the character area, i =1,2,3,4, and after the X-axis coordinate and the Y-axis coordinate of each character area endpoint coordinate are respectively multiplied by the ith preset character area endpoint coordinate correction coefficient Ei, new X-axis coordinate and new Y-axis coordinate are obtained to be used as new endpoint coordinates of the character area, and the corrected character area is determined.
3. The electronic contract classified storage security management system according to claim 1,
setting a preset rectangular area size matrix G and a preset text area inner row spacing matrix H in the processing module, and setting G (G1, G2, G3 and G4) for the preset rectangular area size matrix G, wherein G1 is the size of a first preset rectangular area, G2 is the size of a second preset rectangular area, G3 is the size of a third preset rectangular area, G4 is the size of a fourth preset rectangular area, and the sizes of the preset rectangular areas are gradually increased; setting H (H1, H2, H3 and H4) for the line spacing matrix H in the preset character area, wherein H1 is a first preset line spacing, H2 is a second preset line spacing, H3 is a third preset line spacing, H4 is a fourth preset line spacing, and each preset line spacing is gradually increased;
the processing module is further configured to acquire a line spacing Δ H and a text height Δ H in the text area, determine the size of the selected rectangular area according to a relationship between the line spacing Δ H in the text area and each preset line spacing, and adjust the height of the selected rectangular area according to the text height Δ H in the text area:
when the delta H is smaller than H1, selecting the first preset rectangular area G1 as the size of the rectangular area, and setting the height of the selected rectangular area to be 2 delta H +3 delta H-0.5 delta H;
when H1 is not less than or equal to Δ H < H2, selecting the size G2 of the second preset rectangular area as the size of the rectangular area, and setting the height of the selected rectangular area to be 3 Δ H +4 Δ H-0.5 Δ H;
when H2 is not less than or equal to Δ H < H3, selecting the size G3 of the third preset rectangular area as the size of the rectangular area, and setting the height of the selected rectangular area to be 4 Δ H +5 Δ H-0.5 Δ H;
and when H3 is not less than Δ H < H4, selecting the fourth preset rectangular area size G4 as the size of the rectangular area, and setting the height of the selected rectangular area to be 5 Δ H +6 Δ H-0.5 Δ H.
4. The electronic contract classified storage security management system according to claim 1,
a word space matrix K in a preset word area is set in the processing module, and K (K1, K2, K3 and K4) is set for the word space matrix K in the preset word area, wherein K1 is a first preset word space, K2 is a second preset word space, K3 is a third preset word space, and K4 is a fourth preset word space, and the preset word spaces are gradually increased;
the processing module is further configured to acquire a word space Δ K and a word width Δ L in the text region, determine the size of the selected rectangular region according to a relationship between the word space Δ K in the text region and each preset word space, and adjust the width of the selected rectangular region according to the word width Δ L in the text region:
when the delta K is smaller than K1, selecting the first preset rectangular area G1 as the size of the rectangular area, and setting the width of the selected rectangular area to be 4 delta L +5 delta K-0.5 delta K;
when K1 is not less than or equal to and delta K is less than K2, selecting the size G2 of the second preset rectangular area as the size of the rectangular area, and setting the width of the selected rectangular area to be 5 delta L +6 delta K-0.5 delta K;
when K2 is not less than or equal to and delta K is less than K3, selecting the size G3 of the third preset rectangular area as the size of the rectangular area, and setting the width of the selected rectangular area to be 6 delta L +7 delta K-0.5 delta K;
when K3 is not less than or equal to Δ K < K4, selecting the fourth preset rectangular area size G4 as the size of the rectangular area, and setting the width of the selected rectangular area to be 7 Δ L +8 Δ K-0.5 Δ K.
5. The electronic contract classified storage security management system according to claim 1,
a distance matrix P and a width matrix N of a preset rectangular region and a left edge of a text region are set in the processing module, and P (P1, P2, P3 and P4) is set for the distance matrix P of the preset rectangular region and the left edge of the text region, wherein P1 is the distance between the first preset rectangular region and the left edge of the text region, P2 is the distance between the second preset rectangular region and the left edge of the text region, P3 is the distance between the third preset rectangular region and the left edge of the text region, P4 is the distance between the fourth preset rectangular region and the left edge of the text region, and the distance between each preset rectangular region and the left edge of the text region is gradually increased; setting N (N1, N2, N3 and N4) for the preset character region width matrix N, wherein N1 is a first preset character region width, N2 is a second preset character region width, N3 is a third preset character region width, N4 is a fourth preset character region width, and the widths of the preset character regions are gradually increased;
the processing module is further configured to acquire a width Δ n of the text region, and determine a distance between the rectangular region and a left edge of the text region according to a relationship between the width Δ n of the text region and widths of the preset text regions:
when delta N < N1, selecting a distance P1 between the first preset rectangular area and the left edge of the character area as the distance between the rectangular area and the left edge of the character area;
when N1 is not less than delta N < N2, selecting a distance P2 between the second preset rectangular area and the left edge of the character area as a distance between the rectangular area and the left edge of the character area;
when N2 is not less than delta N < N3, selecting a distance P3 between the third preset rectangular area and the left edge of the character area as the distance between the rectangular area and the left edge of the character area;
when N3 is not less than delta N < N4, the distance P4 between the fourth preset rectangular area and the left edge of the character area is selected as the distance between the rectangular area and the left edge of the character area.
6. The electronic contract classified storage security management system according to claim 5,
a distance correction matrix M of a preset rectangular area and a left edge of a text area is set in the processing module, and M (M1, M2, M3 and M4) is set for the distance correction matrix M of the rectangular area and the left edge of the text area, wherein M1 is a first preset distance correction coefficient, M2 is a second preset distance correction coefficient, M3 is a third preset distance correction coefficient, M4 is a fourth preset distance correction coefficient, and each preset distance correction coefficient is gradually increased;
the processing module is further configured to determine a distance correction coefficient between the rectangular region and the left edge of the text region according to a relationship between the width Δ m of the rectangular region and the width of each preset text region, and correct the distance between each preset rectangular region and the left edge of the text region by using each preset distance correction coefficient:
when N1-3 Δ M is larger than P1, selecting the first preset space correction coefficient M1 to correct the space P1 between the left edges of the first preset rectangular region and the text region, wherein the corrected space is P1 × M1;
when N2-3 Δ M is larger than P2, selecting a second preset space correction coefficient M2 to correct the space P2 between the left edges of the second preset rectangular region and the text region, wherein the corrected space is P2 × M2;
when N3-3 Δ M is larger than P3, selecting a third preset space correction coefficient M3 to correct the space P3 between the left edges of the third preset rectangular region and the text region, wherein the corrected space is P3 × M3;
and when N4-3 Δ M is larger than P4, selecting the fourth preset space correction coefficient M4 to correct the space P4 between the left edges of the fourth preset rectangular region and the text region, wherein the corrected space is P4 × M4.
7. The electronic contract classified storage security management system according to claim 1,
a preset rectangular area selection quantity matrix Q and a preset character area word number matrix R are further set in the processing module, and Q (Q1, Q2, Q3 and Q4) is set for the preset rectangular area selection quantity matrix Q, wherein Q1 is the first preset rectangular area selection quantity, Q2 is the second preset rectangular area selection quantity, Q3 is the third preset rectangular area selection quantity, Q4 is the fourth preset rectangular area selection quantity, and the first preset rectangular area selection quantities are sequentially increased; setting R (R1, R2, R3 and R4) for the word number matrix R of the preset character areas, wherein R1 is the number of words in a first preset character area, R2 is the number of words in a second preset character area, R3 is the number of words in a third preset character area, R4 is the number of words in a fourth preset character area, and the number of words in each preset character area sequentially increases;
the processing module is further configured to acquire a word number Δ r of the text region in each page of the electronic contract in the PDF format, and determine the set number of the rectangular regions according to the word number Δ r of the text region and the word number in each preset text region:
when the delta R is less than R1, selecting the first preset rectangular region selection number Q1 as the selection number of the rectangular regions in each page of the PDF format electronic contract;
when R1 is not less than delta R and is less than R2, selecting the second preset rectangular region selection number Q2 as the selection number of the rectangular regions in each page of the PDF-format electronic contract;
when R2 is not less than delta R and is less than R3, selecting the third preset rectangular region selection number Q3 as the selection number of the rectangular regions in each page of the PDF-format electronic contract;
and when R3 is not less than delta R and is less than R4, selecting the fourth preset selected number of rectangular areas Q4 as the selected number of rectangular areas in each page of the PDF-format electronic contract.
8. The electronic contract classified storage security management system according to claim 1,
the processing module is further used for screening out the same keywords or keywords from each page of the electronic contract in the PDF format, randomly selecting two pages from all the pages containing the keywords or keywords, randomly selecting one keyword or keyword from the selected pages, calculating a word number difference value Z0 between the two keywords or keywords selected from the two selected pages, setting a check code U according to the word number difference value Z0, and adding the set check code U to the end of the secondary verification key to serve as a check code of the secondary verification key.
9. The electronic contract classified storage security management system according to claim 8,
the processing module is further configured to determine position information of the two selected keywords or keywords, where the position information includes a page number Z1, a line number Z2, and a line digit Z3 of the keyword or keyword, encode the page number Z1, the line number Z2, and the line digit Z3 to generate a character string a03, and use the character string a03 as a positioning code of the word number difference Z0, so as to position the two keywords or keywords corresponding to the word number difference Z0.
10. The electronic contract classified storage security management system according to claim 1,
the processing module is also used for adding a check code at the end of the primary user authentication key when the primary user authentication key is set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110638454.1A CN113255296A (en) | 2021-06-08 | 2021-06-08 | Electronic contract classified storage safety management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110638454.1A CN113255296A (en) | 2021-06-08 | 2021-06-08 | Electronic contract classified storage safety management system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113255296A true CN113255296A (en) | 2021-08-13 |
Family
ID=77187064
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110638454.1A Withdrawn CN113255296A (en) | 2021-06-08 | 2021-06-08 | Electronic contract classified storage safety management system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113255296A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040227205A1 (en) * | 2002-12-02 | 2004-11-18 | Walmsley Simon Robert | Tamper resistant shadow memory |
CN103679436A (en) * | 2013-12-17 | 2014-03-26 | 重庆邮电大学 | Electronic contract security system and method based on biological information identification |
CN107239240A (en) * | 2016-03-28 | 2017-10-10 | 北大方正集团有限公司 | Print control program, print control system and terminal |
CN109064120A (en) * | 2018-07-10 | 2018-12-21 | 马上游科技股份有限公司 | Tourism electric contract number deposit system based on region chain and deposit card method |
CN111639726A (en) * | 2018-09-29 | 2020-09-08 | 天目爱视(北京)科技有限公司 | Identity authentication system and method based on seal |
CN112070636A (en) * | 2020-09-09 | 2020-12-11 | 西南交通大学 | Image electronic contract signing and verifying method with multistage evidence chain |
-
2021
- 2021-06-08 CN CN202110638454.1A patent/CN113255296A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040227205A1 (en) * | 2002-12-02 | 2004-11-18 | Walmsley Simon Robert | Tamper resistant shadow memory |
CN103679436A (en) * | 2013-12-17 | 2014-03-26 | 重庆邮电大学 | Electronic contract security system and method based on biological information identification |
CN107239240A (en) * | 2016-03-28 | 2017-10-10 | 北大方正集团有限公司 | Print control program, print control system and terminal |
CN109064120A (en) * | 2018-07-10 | 2018-12-21 | 马上游科技股份有限公司 | Tourism electric contract number deposit system based on region chain and deposit card method |
CN111639726A (en) * | 2018-09-29 | 2020-09-08 | 天目爱视(北京)科技有限公司 | Identity authentication system and method based on seal |
CN112070636A (en) * | 2020-09-09 | 2020-12-11 | 西南交通大学 | Image electronic contract signing and verifying method with multistage evidence chain |
Non-Patent Citations (1)
Title |
---|
陈玉麟: ""基于奇异值分解的视频水印算法研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105095936B (en) | A kind of two-dimensional image code and its generation method and system based on Information hiding | |
CN103729341B (en) | The method and apparatus of positioning electronic seal and the device for realizing E-seal | |
CN108537049B (en) | Adaptive steganography algorithm based on binary image | |
CN106161006B (en) | Digital encryption algorithm | |
US20030145206A1 (en) | Document authentication and verification | |
US20040153452A1 (en) | Method of authenticating a plurality of files linked to atext document | |
CN106599964A (en) | Two-dimensional code generation and verification method and device | |
US11222554B2 (en) | Method, apparatus, and computer-readable medium for format preserving encryption of a numerical value | |
US20080301815A1 (en) | Detecting Unauthorized Changes to Printed Documents | |
CN105303075B (en) | Adaptive Text Watermarking method based on PDF format | |
CN109086600A (en) | Password generates and Verification System | |
US20220318346A1 (en) | Certified text document | |
Alkhafaji et al. | Payload capacity scheme for quran text watermarking based on vowels with kashida | |
US20200057871A1 (en) | Apparatuses and methods for signing a legal document | |
CN115604401B (en) | Traceable electronic seal encryption method | |
Iftikhar et al. | A survey on reversible watermarking techniques for relational databases | |
KR20130011868A (en) | Method for generating electronic document available at mobile devices and device of producing the same | |
CN113255296A (en) | Electronic contract classified storage safety management system | |
US20080292136A1 (en) | Data Processing System And Method | |
WO2021120781A1 (en) | Picture copyright authentication method and device, and storage medium | |
KR102280505B1 (en) | System and method for providing authenticity and integrity of electronic document | |
US20160189015A1 (en) | Data exchange methods, systems and apparatus using color images | |
CN111898558B (en) | Multi-signature protection and identification method for multi-dimensional encryption and hiding sequence | |
US11522715B2 (en) | Methods for processing and verifying a document | |
CN110943839A (en) | Signature verification method and device, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20210813 |