CN116842583B - Electronic signature system and method with PDF signature as core - Google Patents

Electronic signature system and method with PDF signature as core Download PDF

Info

Publication number
CN116842583B
CN116842583B CN202310847317.8A CN202310847317A CN116842583B CN 116842583 B CN116842583 B CN 116842583B CN 202310847317 A CN202310847317 A CN 202310847317A CN 116842583 B CN116842583 B CN 116842583B
Authority
CN
China
Prior art keywords
module
contract
information
signature
pdf
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310847317.8A
Other languages
Chinese (zh)
Other versions
CN116842583A (en
Inventor
马相伯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Wanweisheng New Technology Co ltd
Original Assignee
Beijing Wanweisheng New Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Wanweisheng New Technology Co ltd filed Critical Beijing Wanweisheng New Technology Co ltd
Priority to CN202310847317.8A priority Critical patent/CN116842583B/en
Publication of CN116842583A publication Critical patent/CN116842583A/en
Application granted granted Critical
Publication of CN116842583B publication Critical patent/CN116842583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/18Legal services; Handling legal documents

Abstract

The invention relates to the technical field of electronic signature systems, in particular to an electronic signature system and method taking PDF signature as a core. In the invention, the paper contracts are converted into the electronic contracts, the problem of paper contract accumulation and management is solved, the authenticity and legality of the contracts are ensured by using digital signatures generated by ECDSA and third party timestamp service, PDF files are generated by hash value verification and blockchain storage technology of the contracts and PDFtron processing library, the operation flow of decentralization is provided, the flexibility of signing flows is improved, and the security of contract data is protected by using private key encryption and information system isolation.

Description

Electronic signature system and method with PDF signature as core
Technical Field
The invention relates to the technical field of electronic signature systems, in particular to an electronic signature system and method taking PDF signature as a core.
Background
An electronic signature system is a digital tool for identity verification and integrity verification on electronic documents and data, which can ensure authenticity and reliability of electronic documents, and is widely used in various fields including business, law, government, etc., the basic principle of the electronic signature system is to create and verify a digital signature using an asymmetric encryption technique, in which a user encrypts a file using his own private key to generate a unique digital signature, and then a receiver can decrypt the signature using a public key of a signer and verify the validity of the signature,
with the accelerated development of urban construction, the district of heat supply company is continuously enlarged, heat supply area and audience resident number are also increased year by year, in order to comply with government requirements, each resident needs to sign new heat supply contract again each year, and keep history files for 3-5 years, however, the processing mode does not adopt an electronic signature system, the traditional paper contract signing mode leads to accumulation of a large number of paper contracts, occupies storage space and needs a large amount of manpower and material resources to manage, and is contrary to the concept of green office, in the existing electronic signature system, the operation flow is stronger, the user needs to input or confirm related information step by step, the complexity of flow operation is increased, the adaptability and convenience of the system are poor, the security and stability of data storage are affected, and perfect guarantee can not be provided for the security of contract content.
Disclosure of Invention
The invention aims to solve the defects in the prior art, and provides an electronic signature system and method with PDF signature as a core.
In order to achieve the above purpose, the present invention adopts the following technical scheme: an electronic signature system taking PDF signature as a core is composed of a user information acquisition module, a contract preview and signature module, a contract information filling and generating module, an electronic signature and contract authenticity verification module, a blockchain storage and security module, a contract printing and confirmation module, a contract approval and process recording module and an electronic signature validity verification module;
the user information acquisition module is used for carrying out certificate information identification by combining an OCR (optical character recognition) algorithm and a deep learning technology, and verifying a user photo by the deep learning face recognition technology;
the contract previewing and signing module adopts a template engine technology, dynamically generates a contract template according to conditions selected by a user, and combines a pressure sensor, a touch screen technology and digital processing to execute electronic signature acquisition;
the contract information filling and generating module automatically and accurately fills the collected user information into a contract template through an AI technology, and introduces a PDFtron processing library to generate a PDF file;
The electronic signature and contract authenticity verification module adopts Elliptic Curve Digital Signature Algorithm (ECDSA), generates a digital signature by utilizing a public and private key, verifies whether the contract content has a modification trace, adds a third-party timestamp service, and ensures the legitimacy and the validity of the electronic contract in a future time axis;
the block chain storage and security module adopts auditable block chain technology to store and verify the hash value of the electronic document, and performs information system isolation to isolate private information from other information systems, and adopts a private key to encrypt;
the contract printing and confirming module automatically adjusts the printing layout according to PDF content and prints the unique ID of each contract in a two-dimensional code mode in a non-electronic environment;
the contract approval and process recording module optimizes approval flows based on a business process management technology, improves approval efficiency, and records each operation by jointly using an intelligent contract technology;
and the electronic signature validity verification module decrypts the digital signature through the public key to execute digital signature authentication, matches the digital signature authentication with the hash value of the contract, and verifies the authenticity of the contract.
As a further scheme of the invention, the user information acquisition module comprises an image preprocessing module, an OCR (optical character recognition) module, a face detection module, a face feature extraction module and a face matching and verifying module;
The image preprocessing module performs preprocessing operations including size adjustment, denoising, enhancement and normalization of the image;
the OCR module carries out character recognition on the preprocessed certificate photo based on an OCR algorithm, the OCR algorithm adopts image segmentation, character recognition and text correction technology, the characters in the certificate are extracted into editable text format, and key information comprising names, identification card numbers and birth dates is extracted;
the face detection module uses a deep learning technology to detect the faces of the evidence photo and the face photo submitted by the user, and accurately locates the face area in the photo based on a face detection algorithm;
the face feature extraction module extracts feature vectors from face photos submitted by users by using a deep learning face feature extraction algorithm, wherein the feature vectors specifically comprise unique features of face contours, eyes, nose and mouth;
the face matching and verifying module adopts a face matching algorithm to judge whether the face in the photo is matched with the photo on the certificate by comparing the face feature vector submitted by the user with the face feature vector in the photo on the certificate, and the face matching algorithm combines neural network classification based on similarity calculation of the feature vector and joint verification information.
As a further scheme of the invention, the contract previewing and signing module comprises a template management module, a condition selection module, a template engine module, a contract previewing module and an electronic signature acquisition module;
the template management module comprises a template function item for creating, editing and maintaining, and is used for performing management operation on the template, wherein the template comprises fixed text content, fillable variables and conditional sentences;
the condition selection module cooperates with the template management module to dynamically select a proper contract template according to conditions selected by a user, wherein the conditions dynamically comprise, but are not limited to, contract type, transaction amount and service period;
the template engine module adopts a template engine technology to analyze variables, conditional sentences and circulation sentences in the contract template, replace the variables, the conditional sentences and the circulation sentences with specific numerical values or text contents and dynamically generate the contract template according to conditions selected by a user;
the contract preview module and the contract template generated by display provide interactive function items including zooming in, zooming out and scrolling;
the electronic signature acquisition module combines the pressure sensor, the touch screen technology and the digital processing to realize the electronic signature acquisition of the user.
As a further scheme of the invention, the contract information filling and generating module comprises a user information uploading module, a data processing and analyzing module, an automatic information filling module and a PDF generating module;
the user information uploading module acquires and uploads user related information comprising personal information, contact information and transaction details by inputting a form, uploading a file or scanning an identity card;
the data processing and analyzing module adopts Natural Language Processing (NLP) technology to process and analyze information provided by a user, automatically extracts key content in the user information based on AI technology, and matches corresponding contract template fields;
the automatic information filling module automatically fills the collected user information to the corresponding position of the contract template based on the field matching content;
the PDF generation module is used for executing combination, segmentation, watermarking and encryption function items based on a PDFtron processing library, and converting the filled complete contract template into a readable and printable PDF file.
As a further scheme of the invention, the electronic signature and contract authenticity verification module comprises a digital signature generation module, a contract authenticity verification module, a modification trace detection module and a third party timestamp service integration module;
The digital signature generation module generates a set of private keys and corresponding public keys by using Elliptic Curve Digital Signature Algorithm (ECDSA), hashes the identity by using the private keys, and generates a digital signature;
the contract authenticity verification module extracts a digital signature and a public key of the contract, hashes the contract content to generate a hash value, verifies the digital signature by using the public key, and ensures that the digital signature is matched with the hash value of the contract content to verify whether the contract is tampered;
the modification trace detection module compares the contract content, the digital signature and the hash value information of the original version contract and the current version contract and judges whether modification conditions including adding, deleting or modifying contract clauses exist or not;
the third party timestamp service integration module integrates the third party timestamp service, generates a digital fingerprint with a timestamp for the contract, and establishes the exact time and sequence of signing the contract as the evidence of the contract at a specific time point.
As a further scheme of the invention, the blockchain storage and security module comprises a blockchain storage module, an information system isolation module, a private key encryption module, a security audit and monitoring module and a data backup and recovery module;
The block chain storage module utilizes a block chain technology to store and verify hash values of electronic documents, wherein the hash value of each electronic document is recorded in a block on a block chain to form a tamper-proof account book;
the information system isolation module limits access and propagation range of private information by establishing different information systems in the system, and adopts an access control and authority management mechanism to ensure that only authorized users or roles can access the private information, thereby realizing isolation of the private information from other information systems;
the private key encryption module encrypts private information by adopting a private key symmetric encryption algorithm;
the security audit and monitoring module monitors the system in real time by recording logs of key operations such as access, modification or transmission, tracks and traces security events in the system and generates audit logs;
the data backup and recovery module periodically backs up stored electronic documents and related data and provides a data recovery mechanism.
As a further scheme of the invention, the contract printing and confirming module comprises a PDF content processing module, a printing layout adjusting module, a unique ID generating and two-dimensional code generating module and a printing control and confirming module;
The PDF content processing module is used for identifying the text, the graph and the layout of the page by analyzing the PDF content, adjusting according to the setting of the printer and processing the PDF content of the contract;
the printing layout adjustment module automatically adjusts the printing layout of the contract according to PDF content characteristics including the text length, the font size and the picture size of the page and printer configuration, and dynamically adjusts the layout and the scaling of the page;
the unique ID generation and two-dimensional code generation module generates a unique ID of each contract based on a random sequence automatically generated by the system or a specific identifier related to the contract, and converts the unique ID into a two-dimensional code;
the printing control and confirmation module is used for placing the contract which is subjected to the layout adjustment and contains the unique ID two-dimensional code into a printer for printing based on a non-electronic environment, monitoring the state of a printing task, confirming whether the printing is successful or not, and recording related information including printing time and printing number.
As a further scheme of the invention, the contract approval and process recording module comprises a business flow management module, an approval efficiency improving module, an intelligent contract recording module and a process monitoring and logging module;
The business process management module provides a configurable approval process, which comprises defining process steps and participants, and formulating approval rules and conditions;
the approval efficiency improving module comprises automatic task allocation, real-time notification and reminding, parallel approval and countersign;
the intelligent contract recording module adopts a decentralizing recording mechanism, records each operation by utilizing an intelligent contract technology, and when a user performs contract approval operation in the system, relevant information including time, operators and operation types is recorded in the intelligent contract;
the process monitoring and logging module tracks the history record of each contract approval, including the operation of the approver and the change of the approval state, monitors the process of the contract approval, and records the log information of the approval process.
As a further scheme of the invention, the electronic signature validity verification module comprises a digital signature decryption module, a digital signature authentication module and a validity verification result display module;
the digital signature decryption module receives the digital signature in the electronic contract and the corresponding public key, decrypts the digital signature by using the public key, and the decrypted result is used in the subsequent signature authentication process;
The digital signature authentication module carries out hash processing on the original content of the contract to generate a hash value, compares the hash value with the decrypted digital signature, judges whether the digital signature is matched with the content of the contract, and if the digital signature is successfully matched, the digital signature is valid, and the contract is not tampered;
the validity verification result display module displays a validity verification result, wherein the verification result comprises information that the validity verification passes or fails.
An electronic signature method using PDF signature as a core comprises the following steps:
identifying the user certificate information by using an OCR (optical character recognition) algorithm and a deep learning technology, and verifying the authenticity of the user photo;
dynamically generating a contract template according to conditions selected by a user by using a template engine technology, and acquiring an electronic signature by combining a pressure sensor, a touch screen technology and digital processing;
automatically filling the collected user information into a contract template by using an AI technology, and generating a PDF file by using a PDFtron processing library;
generating a digital signature by using Elliptic Curve Digital Signature Algorithm (ECDSA), verifying whether the contract content has a modification trace, adding a third-party timestamp service, and ensuring the validity and validity of the contract on a future time axis;
Storing and verifying the hash value of the electronic document by using auditable blockchain technology, performing information system isolation, isolating private information from other information systems, and encrypting by using a private key;
automatically adjusting the printing layout according to the PDF content, and printing the unique ID of each contract in a two-dimensional code mode in a non-electronic environment;
optimizing an approval process by using a business process management technology, improving approval efficiency, recording each operation by using an intelligent contract technology, and ensuring traceability of the approval process;
and decrypting the digital signature by using the public key to carry out digital signature authentication, matching the digital signature with the hash value of the contract, and verifying the authenticity of the contract.
Compared with the prior art, the invention has the advantages and positive effects that:
according to the invention, the paper contracts are converted into the electronic contracts, the problem of paper contract accumulation and management is solved, the authenticity and legality of the contracts are ensured by using digital signatures generated by ECDSA and third party timestamp service, PDF files are generated by hash value verification and blockchain storage technology of the contracts and PDFtron processing library, the contract contents are ensured not to be tampered, a decentralised operation flow is provided, the flexibility of signing flow is improved, private key encryption and information system isolation are used, and the security of contract data is protected.
Drawings
FIG. 1 is a flow chart of a main system of an electronic signature system and method using PDF signature as a core;
FIG. 2 is a flowchart of a user information acquisition module of an electronic signature system and method using PDF signature as a core;
FIG. 3 is a flow chart of a contract preview and signature module of an electronic signature system and method with PDF signature as a core;
fig. 4 is a flowchart of a contract information filling and generating module of an electronic signature system and method using PDF signature as a core according to the present invention;
FIG. 5 is a flow chart of an electronic signature and contract authenticity verification module of an electronic signature system and method with PDF signature as a core;
FIG. 6 is a block chain storage and security module flowchart of an electronic signature system and method with PDF signature as a core;
FIG. 7 is a flowchart of a contract printing and validation module of an electronic signature system and method with PDF signature as a core;
FIG. 8 is a flowchart of a contract approval and process record module of an electronic signature system and method with PDF signature as a core;
FIG. 9 is a flowchart of an electronic signature validity verification module of an electronic signature system and method using PDF signature as a core;
Fig. 10 is a schematic diagram of method steps of an electronic signature system and method using PDF signature as a core.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the description of the present invention, it should be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate orientations or positional relationships based on the orientation or positional relationships shown in the drawings, merely to facilitate describing the present invention and simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the present invention. Furthermore, in the description of the present invention, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
Example 1
Referring to fig. 1, the present invention provides a technical solution: an electronic signature system taking PDF signature as a core is composed of a user information acquisition module, a contract preview and signature module, a contract information filling and generating module, an electronic signature and contract authenticity verification module, a blockchain storage and security module, a contract printing and confirmation module, a contract approval and process recording module and an electronic signature validity verification module;
the user information acquisition module is used for carrying out certificate information identification by combining an OCR (optical character recognition) algorithm and a deep learning technology, and verifying a user photo by a deep learning face recognition technology;
the contract previewing and signing module adopts a template engine technology, dynamically generates a contract template according to conditions selected by a user, and combines a pressure sensor, a touch screen technology and digital processing to execute electronic signature acquisition;
the contract information filling and generating module automatically and accurately fills the collected user information into a contract template through an AI technology, and introduces a PDFtron processing library to generate a PDF file;
the electronic signature and contract authenticity verification module adopts Elliptic Curve Digital Signature Algorithm (ECDSA), generates a digital signature by utilizing a public and private key, verifies whether the contract content has a modification trace, adds a third-party timestamp service, and ensures the validity and effectiveness of the electronic contract in a future time axis;
The block chain storage and security module adopts auditable block chain technology to store and verify the hash value of the electronic document, and performs information system isolation to isolate private information from other information systems, and adopts a private key to encrypt;
the contract printing and confirming module automatically adjusts the printing layout according to the PDF content, and prints the unique ID of each contract in a two-dimensional code mode in a non-electronic environment;
the contract approval and process recording module optimizes approval flows based on a business process management technology, improves approval efficiency, and records each operation by jointly using an intelligent contract technology;
and the electronic signature validity verification module decrypts the digital signature through the public key to execute digital signature authentication, matches the digital signature authentication with the hash value of the contract, and verifies the authenticity of the contract.
Specifically, the system is provided with a plurality of modules, each module bears a specific function, the system covers each link of an electronic signature process from user information acquisition to contract generation, signature and verification, and then to storage and printing confirmation, so as to ensure the authenticity, integrity and safety of the contract, the user information acquisition module utilizes an OCR recognition algorithm and an advanced learning technology, the accuracy of user identity is ensured by identifying and verifying certificate information provided by a user, meanwhile, the photo of the user is verified through the advanced learning face recognition technology, the reliability of identity authentication is enhanced, the contract preview and signature module adopts a template engine technology, a contract template is dynamically generated according to conditions selected by the user, the acquisition of an electronic signature is realized through a pressure sensor, a touch screen technology and digital processing, the authenticity and the credibility of the signature are ensured, the contract information filling and generation module utilizes an AI technology to automatically fill the acquired user information into the contract template, and introduce a PDFtron processing library, PDF file is generated, thus, the information of the contract can be automatically integrated into the template, the efficiency and the accuracy are improved, the electronic hash module and the contract can be used for storing the contract value and the contract time stamp 62 in the future by a digital signature module, the digital signature is not shown by a digital signature module, and the digital signature is stored in the time stamp is valid, and the contract is falsified by a digital signature is prevented from being falsified by a digital signature module, and the digital signature is valid, and a time stamp is stored in the time of a contract is valid, meanwhile, private information and other information systems are isolated through information system isolation, data security is protected by encrypting a private key, flexible printing of the contract is achieved by automatically adjusting printing layout according to PDF content, unique IDs of each contract are printed out in a two-dimensional code mode in a non-electronic environment and used for confirming authenticity and uniqueness of the contract, a contract approval and process recording module is combined with a business flow management technology to optimize an approval process, approval efficiency is improved, meanwhile, each operation is recorded by utilizing an intelligent contract technology, an integral record of the approval process is reserved, traceability and credibility of contract transactions are improved, finally, an electronic signature validity verification module decrypts digital signatures through a public key and performs matching with hash values of the contract, authenticity and integrity of the contract are verified, the fact that the contract is not tampered after being signed is guaranteed, identity of a main body of the contract is verified, and the electronic signature system taking PDF signature as a core guarantees authenticity, integrity and safety of the contract and reliability of the contract is improved from multiple links and technology layers, and the contract management cost is reduced.
Referring to fig. 2, the user information acquisition module includes an image preprocessing module, an OCR recognition module, a face detection module, a face feature extraction module, and a face matching and verification module;
the image preprocessing module performs preprocessing operations including size adjustment, denoising, enhancement and normalization of the image;
the OCR module carries out character recognition on the preprocessed certificate photo based on an OCR algorithm, the OCR algorithm adopts image segmentation, character recognition and text correction technology, the characters in the certificate are extracted into editable text format, and key information comprising names, identification card numbers and birth dates is extracted;
the face detection module uses a deep learning technology to carry out face detection on the evidence photo and the face photo submitted by the user, and accurately locates the face area in the photo based on a face detection algorithm;
the face feature extraction module extracts feature vectors from face photos submitted by users by using a deep learning face feature extraction algorithm, wherein the feature vectors specifically comprise unique features of face contours, eyes, nose and mouth;
the face matching and verifying module adopts a face matching algorithm, judges whether the face in the photo is matched with the photo on the certificate by comparing the face feature vector submitted by the user with the face feature vector in the photo on the certificate, and the face matching algorithm combines neural network classification based on similarity calculation of the feature vector and joint verification information.
Specifically, the user information acquisition module ensures the accuracy and the authenticity of the user information through the steps of image preprocessing, OCR (optical character recognition), face detection, face feature extraction, face matching and verification and the like, and provides reliable basic data for the subsequent electronic signature process.
Referring to fig. 3, the contract previewing and signing module includes a template management module, a condition selection module, a template engine module, a contract previewing module and an electronic signature collecting module;
the template management module comprises a template function item for creating, editing and maintaining, and is used for performing management operation on the template, wherein the template comprises fixed text content, fillable variables and conditional sentences;
the condition selection module cooperates with the template management module to dynamically select a proper contract template according to conditions selected by a user, wherein the conditions dynamically comprise, but are not limited to, contract type, transaction amount and service period;
the template engine module adopts a template engine technology to analyze variables, conditional sentences and circulation sentences in the contract template, replaces the variables, the conditional sentences and the circulation sentences with specific numerical values or text contents, and dynamically generates the contract template according to conditions selected by a user;
the contract preview module and the generated contract template are displayed to provide interactive function items including zooming in, zooming out and scrolling;
The electronic signature acquisition module combines the pressure sensor, the touch screen technology and the digital processing to realize the acquisition of the electronic signature of the user.
Specifically, the contract preview and signature module provides convenient and quick contract management and signature experience for users through functions of template management, condition selection, template engine, contract preview, electronic signature acquisition and the like, and achieves efficiency and safety of electronic signature.
Referring to fig. 4, the contract information filling and generating module includes a user information uploading module, a data processing and analyzing module, an automatic information filling module, and a PDF generating module;
the user information uploading module collects and uploads user related information including personal information, contact information and transaction details by inputting forms, uploading files or scanning identity cards;
the data processing and analyzing module adopts Natural Language Processing (NLP) technology to process and analyze information provided by a user, automatically extracts key content in the user information based on AI technology, and matches corresponding contract template fields;
the automatic information filling module automatically fills the collected user information to the corresponding position of the contract template based on the field matching content;
The PDF generation module is used for executing combination, segmentation, watermarking and encryption function items based on the PDFtron processing library, and converting the full-filling contract template into a readable and printable PDF file.
Specifically, the contract information filling and generating module can efficiently combine information provided by a user with the contract template to automatically generate a contract file meeting the requirements. This greatly simplifies the creation process of the contract and improves the work efficiency and accuracy.
Referring to fig. 5, the electronic signature and contract authenticity verification module includes a digital signature generation module, a contract authenticity verification module, a modification trace detection module, and a third party timestamp service integration module;
the digital signature generation module generates a set of private keys and corresponding public keys by using Elliptic Curve Digital Signature Algorithm (ECDSA), hashes the combination by using the private keys, and generates a digital signature;
the contract authenticity verification module extracts the digital signature and the public key of the contract, hashes the contract content to generate a hash value, verifies the digital signature by using the public key, and ensures that the digital signature is matched with the hash value of the contract content to verify whether the contract is tampered or not;
The modification trace detection module compares the contract content, the digital signature and the hash value information of the original version contract and the current version contract, and judges whether modification conditions including adding, deleting or modifying contract clauses exist or not;
the third party timestamp service integration module integrates the third party timestamp service, generates a digital fingerprint with a timestamp for the contract, and establishes the exact time and sequence of signing the contract as proof of the contract at a specific time point.
In particular, the electronic signature and contract authenticity verification module may ensure the integrity, non-tamper ability, and provide reliable time proof of the contract, such that the electronically signed contract is highly authentic and legal effective.
Referring to fig. 6, the blockchain storage and security module includes a blockchain storage module, an information system isolation module, a private key encryption module, a security audit and monitoring module, and a data backup and recovery module;
the block chain storage module is used for storing and verifying hash values of electronic documents by using a block chain technology, and the hash value of each electronic document is recorded in a block on a block chain to form a tamper-proof account book;
the information system isolation module limits access and propagation range of private information by establishing different information systems in the system, and adopts an access control and authority management mechanism to ensure that only authorized users or roles can access the private information, thereby realizing isolation of the private information from other information systems;
The private key encryption module encrypts private information by adopting a private key symmetric encryption algorithm;
the security audit and monitoring module monitors the system in real time by recording logs of key operations such as access, modification or transmission, tracks and traces security events in the system, and generates an audit log;
the data backup and restore module periodically backs up stored electronic documents and related data and provides a data restore mechanism.
Specifically, the blockchain storage and security module provides a powerful security mechanism by combining the measures of blockchain technology, information isolation, encryption, audit monitoring, data backup recovery and the like, protects confidentiality, integrity and usability of electronic documents, and ensures security and compliance of the system.
Referring to fig. 7, the contract printing and confirming module includes a PDF content processing module, a print layout adjustment module, a unique ID generation and two-dimensional code generation module, and a print control and confirming module;
the PDF content processing module is used for identifying the text, the graph and the layout of the page by analyzing the PDF content, adjusting according to the setting of the printer and processing the PDF content of the contract;
the printing layout adjustment module automatically adjusts the printing layout of the contract according to PDF content characteristics including the text length, the font size and the picture size of the page and printer configuration, and dynamically adjusts the layout and the scaling of the page;
The unique ID generation and two-dimensional code generation module generates a unique ID of each contract based on a random sequence automatically generated by the system or a specific identifier related to the contract, and converts the unique ID into a two-dimensional code;
the printing control and confirmation module is used for placing the two-dimensional code contract with the adjusted layout and the unique ID into a printer for printing based on a non-electronic environment, monitoring the state of a printing task, confirming whether printing is successful or not, and recording related information including printing time and printing number.
Specifically, the contract printing and confirming module realizes the process of converting the electronic contract into the paper contract by processing PDF content, adjusting printing layout, generating unique ID and two-dimensional code, controlling printing and confirming printing results, and provides a reliable printing confirming function.
Referring to fig. 8, the contract approval and process recording module includes a business process management module, an approval efficiency improvement module, an intelligent contract recording module, and a process monitoring and logging module;
the business process management module provides a configurable approval process, which comprises defining process steps and participants, and formulating approval rules and conditions;
the approval efficiency improving module comprises automatic task allocation, real-time notification and reminding, parallel approval and countersign;
The intelligent contract recording module adopts a decentralizing recording mechanism, records each operation by utilizing an intelligent contract technology, and when a user performs contract approval operation in the system, relevant information including time, operators and operation types is recorded in the intelligent contract;
the process monitoring and logging module tracks the history record of each contract approval, including the operation of the approver and the change of the approval state, monitors the process of the contract approval, and records the log information of the approval process.
Specifically, the contract approval and process recording module realizes standardization, high efficiency and traceability of the contract approval process through a plurality of functions such as business process management, approval efficiency improvement, intelligent contract recording, process monitoring and logging and the like. The method provides the capability of comprehensively managing the contract approval process, and helps organizations to improve the efficiency and accuracy of contract management.
Referring to fig. 9, the electronic signature validity verification module includes a digital signature decryption module, a digital signature authentication module, and a validity verification result display module;
the digital signature decryption module receives the digital signature in the electronic contract and the corresponding public key, decrypts the digital signature by using the public key, and the decrypted result is used in the subsequent signature authentication process;
The digital signature authentication module carries out hash processing on the original content of the contract to generate a hash value, compares the hash value with the decrypted digital signature, judges whether the digital signature is matched with the content of the contract, and if the digital signature is successfully matched, the digital signature is valid, which means that the contract is not tampered;
the validity verification result display module displays a validity verification result, wherein the verification result comprises information that the validity verification passes or fails.
Specifically, the electronic signature validity verification module ensures the validity and the integrity of the electronic signature through functions of digital signature decryption, digital signature authentication, validity verification result display and the like. It provides a verification mechanism that makes it possible to determine that the signature was generated by a legitimate signer and to ensure that the signed contract content has not been tampered with. The display of the verification result can provide visual information for the user and help the user to judge the validity of the signature.
Referring to fig. 10, an electronic signature method using PDF signature as a core includes the following steps:
identifying the user certificate information by using an OCR (optical character recognition) algorithm and a deep learning technology, and verifying the authenticity of the user photo;
dynamically generating a contract template according to conditions selected by a user by using a template engine technology, and acquiring an electronic signature by combining a pressure sensor, a touch screen technology and digital processing;
Automatically filling the collected user information into a contract template by using an AI technology, and generating a PDF file by using a PDFtron processing library;
generating a digital signature by using Elliptic Curve Digital Signature Algorithm (ECDSA), verifying whether the contract content has a modification trace, adding a third-party timestamp service, and ensuring the validity and validity of the contract on a future time axis;
storing and verifying the hash value of the electronic document by using auditable blockchain technology, performing information system isolation, isolating private information from other information systems, and encrypting by using a private key;
automatically adjusting the printing layout according to the PDF content, and printing the unique ID of each contract in a two-dimensional code mode in a non-electronic environment;
optimizing an approval process by using a business process management technology, improving approval efficiency, recording each operation by using an intelligent contract technology, and ensuring traceability of the approval process;
and decrypting the digital signature by using the public key to carry out digital signature authentication, matching the digital signature with the hash value of the contract, and verifying the authenticity of the contract.
Working principle: firstly, in the contract flow, the certificate information submitted by the user is identified by adopting an OCR (optical character recognition) algorithm and a deep learning technology, key information in the certificate is extracted by adopting the OCR algorithm, the authenticity of the user photo is verified by adopting the deep learning technology, next, a contract template is dynamically generated by adopting a template engine technology according to conditions selected by the user, the acquisition process of an electronic signature is realized by combining a pressure sensor, a touch screen technology and digital processing, when the user signs on the touch screen, the pressure sensor captures the characteristics of the pressure, the speed and the like of the signature, the characteristics are converted into digital data, then, the collected user information is automatically filled into the contract template by adopting an AI technology, a final PDF contract file containing the user information is generated by adopting a PDFtron processing library, the accuracy and the consistency of the information can be ensured in the generation process of the contract file, in the process of signing the contract, elliptic Curve Digital Signature Algorithm (ECDSA) is adopted to generate a digital signature, meanwhile, whether the content of the contract has a modification trace or not is verified, a third party timestamp service is added to ensure the legitimacy and the validity of the contract on a future time axis, in order to ensure the security of the contract, auditable blockchain technology is used to store and verify the hash value of an electronic document, blockchain realizes the isolation of an information system, the private information is isolated from other information systems, the private key is used to encrypt the private information, the integrity and confidentiality of data are ensured, the printing layout is automatically adjusted according to PDF content in a non-electronic environment aiming at the printing requirement of the contract, a unique ID in the form of a two-dimensional code is added in each contract to ensure that the printed contract can be tracked and identified, the approval process of the contract is optimized through a business process management technology, and finally, in the contract verification stage, decrypting the digital signature by using the public key and matching the digital signature with the hash value of the contract to verify the authenticity and the integrity of the contract.
The present invention is not limited to the above embodiments, and any equivalent embodiments which can be changed or modified by the technical disclosure described above can be applied to other fields, but any simple modification, equivalent changes and modification made to the above embodiments according to the technical matter of the present invention will still fall within the scope of the technical disclosure.

Claims (9)

1. An electronic signature system using PDF signature as a core is characterized in that: the electronic signature system taking PDF signature as a core consists of a user information acquisition module, a contract previewing and signing module, a contract information filling and generating module, an electronic signature and contract authenticity verification module, a blockchain storage and security module, a contract printing and confirmation module, a contract approval and process recording module and an electronic signature validity verification module;
the user information acquisition module is used for carrying out certificate information identification by combining an OCR (optical character recognition) algorithm and a deep learning technology, and verifying a user photo by the deep learning face recognition technology;
The contract previewing and signing module adopts a template engine technology, dynamically generates a contract template according to conditions selected by a user, and combines a pressure sensor, a touch screen technology and digital processing to execute electronic signature acquisition;
the contract information filling and generating module automatically and accurately fills the collected user information into a contract template through an AI technology, and introduces a PDFtron processing library to generate a PDF file;
the electronic signature and contract authenticity verification module adopts Elliptic Curve Digital Signature Algorithm (ECDSA), generates a digital signature by utilizing a public and private key, verifies whether the contract content has a modification trace, adds a third-party timestamp service, and ensures the legitimacy and the validity of the electronic contract in a future time axis;
the block chain storage and security module adopts auditable block chain technology to store and verify the hash value of the electronic document, and performs information system isolation to isolate private information from other information systems, and adopts a private key to encrypt;
the contract printing and confirming module automatically adjusts the printing layout according to PDF content and prints the unique ID of each contract in a two-dimensional code mode in a non-electronic environment;
The contract approval and process recording module optimizes approval flows based on a business process management technology, improves approval efficiency, and records each operation by jointly using an intelligent contract technology;
the electronic signature validity verification module decrypts the digital signature through the public key to execute digital signature authentication, matches with the hash value of the contract, and verifies the authenticity of the contract;
the contract approval and process recording module comprises a business flow management module, an approval efficiency improving module, an intelligent contract recording module and a process monitoring and logging module;
the business process management module provides a configurable approval process, which comprises defining process steps and participants, and formulating approval rules and conditions;
the approval efficiency improving module comprises automatic task allocation, real-time notification and reminding, parallel approval and countersign;
the intelligent contract recording module adopts a decentralizing recording mechanism, records each operation by utilizing an intelligent contract technology, and when a user performs contract approval operation in the system, relevant information including time, operators and operation types is recorded in the intelligent contract;
the process monitoring and logging module tracks the history record of each contract approval, including the operation of the approver and the change of the approval state, monitors the process of the contract approval, and records the log information of the approval process.
2. The PDF-signature-based electronic signature system of claim 1 wherein: the user information acquisition module comprises an image preprocessing module, an OCR (optical character recognition) module, a face detection module, a face feature extraction module and a face matching and verifying module;
the image preprocessing module performs preprocessing operations including size adjustment, denoising, enhancement and normalization of the image;
the OCR module carries out character recognition on the preprocessed certificate photo based on an OCR algorithm, the OCR algorithm adopts image segmentation, character recognition and text correction technology, the characters in the certificate are extracted into editable text format, and key information comprising names, identification card numbers and birth dates is extracted;
the face detection module uses a deep learning technology to detect the faces of the evidence photo and the face photo submitted by the user, and accurately locates the face area in the photo based on a face detection algorithm;
the face feature extraction module extracts feature vectors from face photos submitted by users by using a deep learning face feature extraction algorithm, wherein the feature vectors specifically comprise unique features of face contours, eyes, nose and mouth;
The face matching and verifying module adopts a face matching algorithm to judge whether the face in the photo is matched with the photo on the certificate by comparing the face feature vector submitted by the user with the face feature vector in the photo on the certificate, and the face matching algorithm combines neural network classification based on similarity calculation of the feature vector and joint verification information.
3. The PDF-signature-based electronic signature system of claim 1 wherein: the contract previewing and signing module comprises a template management module, a condition selection module, a template engine module, a contract previewing module and an electronic signature acquisition module;
the template management module comprises a template function item for creating, editing and maintaining, and is used for performing management operation on the template, wherein the template comprises fixed text content, fillable variables and conditional sentences;
the condition selection module cooperates with the template management module to dynamically select a proper contract template according to conditions selected by a user, wherein the conditions dynamically comprise, but are not limited to, contract type, transaction amount and service period;
the template engine module adopts a template engine technology to analyze variables, conditional sentences and circulation sentences in the contract template, replace the variables, the conditional sentences and the circulation sentences with specific numerical values or text contents and dynamically generate the contract template according to conditions selected by a user;
The contract preview module and the contract template generated by display provide interactive function items including zooming in, zooming out and scrolling;
the electronic signature acquisition module combines the pressure sensor, the touch screen technology and the digital processing to realize the electronic signature acquisition of the user.
4. The PDF-signature-based electronic signature system of claim 1 wherein: the contract information filling and generating module comprises a user information uploading module, a data processing and analyzing module, an automatic information filling module and a PDF generating module;
the user information uploading module acquires and uploads user related information comprising personal information, contact information and transaction details by inputting a form, uploading a file or scanning an identity card;
the data processing and analyzing module adopts Natural Language Processing (NLP) technology to process and analyze information provided by a user, automatically extracts key content in the user information based on AI technology, and matches corresponding contract template fields;
the automatic information filling module automatically fills the collected user information to the corresponding position of the contract template based on the field matching content;
the PDF generation module is used for executing combination, segmentation, watermarking and encryption function items based on a PDFtron processing library, and converting the filled complete contract template into a readable and printable PDF file.
5. The PDF-signature-based electronic signature system of claim 1 wherein: the electronic signature and contract authenticity verification module comprises a digital signature generation module, a contract authenticity verification module, a modification trace detection module and a third party timestamp service integration module;
the digital signature generation module generates a set of private keys and corresponding public keys by using Elliptic Curve Digital Signature Algorithm (ECDSA), hashes the identity by using the private keys, and generates a digital signature;
the contract authenticity verification module extracts a digital signature and a public key of the contract, hashes the contract content to generate a hash value, verifies the digital signature by using the public key, and ensures that the digital signature is matched with the hash value of the contract content to verify whether the contract is tampered;
the modification trace detection module compares the contract content, the digital signature and the hash value information of the original version contract and the current version contract and judges whether modification conditions including adding, deleting or modifying contract clauses exist or not;
the third party timestamp service integration module integrates the third party timestamp service, generates a digital fingerprint with a timestamp for the contract, and establishes the exact time and sequence of signing the contract as the evidence of the contract at a specific time point.
6. The PDF-signature-based electronic signature system of claim 1 wherein: the block chain storage and security module comprises a block chain storage module, an information system isolation module, a private key encryption module, a security audit and monitoring module and a data backup and recovery module;
the block chain storage module utilizes a block chain technology to store and verify hash values of electronic documents, wherein the hash value of each electronic document is recorded in a block on a block chain to form a tamper-proof account book;
the information system isolation module limits access and propagation range of private information by establishing different information systems in the system, and adopts an access control and authority management mechanism to ensure that only authorized users or roles can access the private information, thereby realizing isolation of the private information from other information systems;
the private key encryption module encrypts private information by adopting a private key symmetric encryption algorithm;
the security audit and monitoring module monitors the system in real time by recording logs of key operations such as access, modification or transmission, tracks and traces security events in the system and generates audit logs;
The data backup and recovery module periodically backs up stored electronic documents and related data and provides a data recovery mechanism.
7. The PDF-signature-based electronic signature system of claim 1 wherein: the contract printing and confirming module comprises a PDF content processing module, a printing layout adjusting module, a unique ID generating and two-dimensional code generating module and a printing control and confirming module;
the PDF content processing module is used for identifying the text, the graph and the layout of the page by analyzing the PDF content, adjusting according to the setting of the printer and processing the PDF content of the contract;
the printing layout adjustment module automatically adjusts the printing layout of the contract according to PDF content characteristics including the text length, the font size and the picture size of the page and printer configuration, and dynamically adjusts the layout and the scaling of the page;
the unique ID generation and two-dimensional code generation module generates a unique ID of each contract based on a random sequence automatically generated by the system or a specific identifier related to the contract, and converts the unique ID into a two-dimensional code;
the printing control and confirmation module is used for placing the contract which is subjected to the layout adjustment and contains the unique ID two-dimensional code into a printer for printing based on a non-electronic environment, monitoring the state of a printing task, confirming whether the printing is successful or not, and recording related information including printing time and printing number.
8. The PDF-signature-based electronic signature system of claim 1 wherein: the electronic signature validity verification module comprises a digital signature decryption module, a digital signature authentication module and a validity verification result display module;
the digital signature decryption module receives the digital signature in the electronic contract and the corresponding public key, decrypts the digital signature by using the public key, and the decrypted result is used in the subsequent signature authentication process;
the digital signature authentication module carries out hash processing on the original content of the contract to generate a hash value, compares the hash value with the decrypted digital signature, judges whether the digital signature is matched with the content of the contract, and if the digital signature is successfully matched, the digital signature is valid, and the contract is not tampered;
the validity verification result display module displays a validity verification result, wherein the verification result comprises information that the validity verification passes or fails.
9. An electronic signature method using PDF signature as a core, using the electronic signature system using PDF signature as a core according to any one of claims 1 to 8, comprising the steps of:
identifying the user certificate information by using an OCR (optical character recognition) algorithm and a deep learning technology, and verifying the authenticity of the user photo;
Dynamically generating a contract template according to conditions selected by a user by using a template engine technology, and acquiring an electronic signature by combining a pressure sensor, a touch screen technology and digital processing;
automatically filling the collected user information into a contract template by using an AI technology, and generating a PDF file by using a PDFtron processing library;
generating a digital signature by using Elliptic Curve Digital Signature Algorithm (ECDSA), verifying whether the contract content has a modification trace, adding a third-party timestamp service, and ensuring the validity and validity of the contract on a future time axis;
storing and verifying the hash value of the electronic document by using auditable blockchain technology, performing information system isolation, isolating private information from other information systems, and encrypting by using a private key;
automatically adjusting the printing layout according to the PDF content, and printing the unique ID of each contract in a two-dimensional code mode in a non-electronic environment;
optimizing an approval process by using a business process management technology, improving approval efficiency, recording each operation by using an intelligent contract technology, and ensuring traceability of the approval process;
and decrypting the digital signature by using the public key to carry out digital signature authentication, matching the digital signature with the hash value of the contract, and verifying the authenticity of the contract.
CN202310847317.8A 2023-07-11 2023-07-11 Electronic signature system and method with PDF signature as core Active CN116842583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310847317.8A CN116842583B (en) 2023-07-11 2023-07-11 Electronic signature system and method with PDF signature as core

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310847317.8A CN116842583B (en) 2023-07-11 2023-07-11 Electronic signature system and method with PDF signature as core

Publications (2)

Publication Number Publication Date
CN116842583A CN116842583A (en) 2023-10-03
CN116842583B true CN116842583B (en) 2024-02-13

Family

ID=88174102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310847317.8A Active CN116842583B (en) 2023-07-11 2023-07-11 Electronic signature system and method with PDF signature as core

Country Status (1)

Country Link
CN (1) CN116842583B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117150532B (en) * 2023-10-30 2024-01-26 北京敏行通达信息技术有限公司 Data security guarantee method, device, equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107017995A (en) * 2017-04-21 2017-08-04 广东信鉴信息科技有限公司 Mixing signature and sign test method, apparatus and system
CN110351089A (en) * 2019-05-23 2019-10-18 西安电子科技大学 A kind of data signature authentication method and device
CN114614990A (en) * 2022-02-28 2022-06-10 重庆市先进区块链研究院 Block chain-based electronic contract signing method
CN115396117A (en) * 2022-08-24 2022-11-25 济南超级计算技术研究院 Block chain based tamper-proof electronic document signing and verifying method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160283920A1 (en) * 2015-03-28 2016-09-29 Justin Fisher Authentication and verification of digital data utilizing blockchain technology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107017995A (en) * 2017-04-21 2017-08-04 广东信鉴信息科技有限公司 Mixing signature and sign test method, apparatus and system
CN110351089A (en) * 2019-05-23 2019-10-18 西安电子科技大学 A kind of data signature authentication method and device
CN114614990A (en) * 2022-02-28 2022-06-10 重庆市先进区块链研究院 Block chain-based electronic contract signing method
CN115396117A (en) * 2022-08-24 2022-11-25 济南超级计算技术研究院 Block chain based tamper-proof electronic document signing and verifying method and system

Also Published As

Publication number Publication date
CN116842583A (en) 2023-10-03

Similar Documents

Publication Publication Date Title
US8370632B2 (en) Apparatus and method for incorporating signature into electronic documents
CA2925325C (en) Document authentication based on expected wear
US7028902B2 (en) Barcode having enhanced visual quality and systems and methods thereof
US20010034835A1 (en) Applied digital and physical signatures over telecommunications media
US8477379B2 (en) Secure document workflow
CN101686294B (en) Embedded type file information security management system
CN105474230A (en) Method, system and computer program for comparing images
CN1361960A (en) Legitimacy protection of electronic document and a printed copy thereof
KR100991855B1 (en) System for Issuing and Verifying Electronic Document, Method for Issuing Electronic Document and Method for Verifying Electronic Document
CN107066844A (en) A kind of method and apparatus of paper document security management and control and tracing
CN116842583B (en) Electronic signature system and method with PDF signature as core
CN106919848A (en) A kind of contract method for anti-counterfeit based on mobile terminal fingerprint recognition
US20070133792A1 (en) Image processing apparatus, control method therefor, computer program, and computer-readable storage medium
KR20060015248A (en) Printed document falsification detection device and falsification detection method
CN113190814A (en) Anti-counterfeiting classified destruction management system based on face recognition and two-dimensional code recognition
US9277097B2 (en) Method for authenticating a document
CN114065148A (en) Block chain-based security management and disclosure tracing method for confidential documents
CN111984957A (en) Confidential document identification and tracking system based on fingerprint anti-counterfeiting
CN1220932C (en) Electronic autograph on document
KR20200063609A (en) System and method for preventing forgery and alteration of documents
CN113626776A (en) Information carrier concept attribute transfer and electronic signature printable method
CN110942407A (en) Electronic evidence collection device and management system
CN211015623U (en) Electronic evidence collection device and management system
Ivanov et al. A hybrid document formation technology
CN1255750C (en) Design method for digital electronic signet

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
GR01 Patent grant
GR01 Patent grant