CN109829269A - Method, apparatus and system based on E-seal authenticating electronic documents - Google Patents

Method, apparatus and system based on E-seal authenticating electronic documents Download PDF

Info

Publication number
CN109829269A
CN109829269A CN201811600374.1A CN201811600374A CN109829269A CN 109829269 A CN109829269 A CN 109829269A CN 201811600374 A CN201811600374 A CN 201811600374A CN 109829269 A CN109829269 A CN 109829269A
Authority
CN
China
Prior art keywords
seal
watermark information
encryption
digital watermark
electronic document
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.)
Pending
Application number
CN201811600374.1A
Other languages
Chinese (zh)
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811600374.1A priority Critical patent/CN109829269A/en
Publication of CN109829269A publication Critical patent/CN109829269A/en
Pending legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a kind of method, apparatus and system based on E-seal authenticating electronic documents, are related to field of information security technology, can reduce the risk that watermark information is cracked and forges in E-seal.The described method includes: server-side obtains the private key for having user's access right from block catenary system;Digital watermark information is encrypted using the private key, obtains encrypted digital watermark information;The encrypted digital watermark information is covered into electronic document, E-seal is generated;When the specified electronic document that client reception server-side is sent, E-seal region in the specified electronic document is determined by target positioning method;Encryption digital watermark information is extracted from the E-seal region;The encryption digital watermark information is decrypted according to preconfigured decryption public key, obtains decryption digital watermark information;Using the decryption digital watermark information, electronic document is verified, the decryption public key is corresponding with encryption key.

Description

Method, apparatus and system based on E-seal authenticating electronic documents
Technical field
The present invention relates to field of information security technology, in particular to a kind of side based on E-seal authenticating electronic documents Method, apparatus and system.
Background technique
Along with the continuous development of information technology, more and more government bodies are handled official business using automated system, pass through net Signing for, handle, examine and distributing for electronic government documents may be implemented in network, reduces administration cost, improves office work efficiency.But Network office also exposes increasingly severe safety problem, various electronic documents while providing convenient for people It needs largely to swap between online different user, how to guarantee that the validity of electronic document and electronic document exist Safety in transmission process is particularly important.
It can guarantee the validity of electronic document, the E-seal by way of covering E-seal in an electronic document Have the function of traditional seal or handwritten signature, so that electronic document has legal effect.And E-seal towards object It is the networking of electronic document and office, if only by covering after physical seal or signature chapter digitlization onto electronic document Safety of the electronic document in transmission process is not can guarantee.It, can be into one by being embedded in digital watermark technology in E-seal Step improves the safety of electronic document, and digital watermark information can be embedded in E-seal by digital watermark technology, so that generating E-seal the information security of electronic document can be protected while not influencing electronic document use.
Although watermark information can be hidden in electricity by the process that digital watermark technology is introduced into E-seal by the prior art In sub- seal, guarantee the safety of electronic document, still, since the digital watermark information covered in E-seal is usually straight It connects and is embedded into E-seal, and there is very strong aggressiveness between each pixel of digital watermark information, if watermarking algorithm quilt Attacker knows that the watermark information in E-seal there is the risk for being cracked and forging, so that electronic document is being transmitted across It is easy to be tampered in journey.
Summary of the invention
In view of this, the present invention provides a kind of generation of E-seal, verification method, apparatus and system, main purpose It is to solve the problems, such as that the watermark information in current E-seal has the risk for being cracked and forging.
According to the present invention on one side, a kind of method based on E-seal authenticating electronic documents is provided, is applied to clothes Business end, this method comprises:
Using obtaining from block chain there is the encryption key of user's access right to add to original figure watermark information It is close, obtain encryption digital watermark information;
The encryption digital watermark information is embedded in E-seal, the electronics for carrying encryption digital watermark information is generated Seal;
Using the E-seal of the encryption digital watermark information as identity, electronics is covered to specified electronic document Seal;
The electronic document for covering E-seal is sent to client, in order to which client tests electronic document Card.
Further, the encryption key with user's access right is obtained from block chain to original figure in described utilize Watermark information is encrypted, before obtaining encryption digital watermark information, the method also includes:
Authentication is carried out to user by the key management platform in the block catenary system;
If being obtained from the key management platform in block catenary system by authentication and having adding for user's access right Close private key.
Further, the key management platform from block catenary system obtains the encryption private for having user's access right Key includes:
Random number is obtained from block catenary system and is stored, and the random number is encrypted using hash function, is obtained The encryption key of byte number within a preset range;
The encryption key is stored to the key management platform into block catenary system.
According to the present invention on the other hand, a kind of method based on E-seal authenticating electronic documents is provided, is applied to Client, this method comprises:
The specified electronic document that server-side is sent is received, the specified electronic document is determined by target positioning method Middle E-seal region;
Encryption digital watermark information is extracted from the E-seal region;
The encryption digital watermark information is decrypted according to preconfigured decryption public key, obtains decryption digital watermarking Information;, the decryption public key is corresponding with encryption key
Using the decryption digital watermark information, electronic document is verified.
Further, the encryption digital watermark information that extracts from the E-seal region includes:
The edge feature value in the E-seal region is determined using watermark separation algorithm;
Encryption digital watermark information is extracted from the E-seal region according to the edge feature value institute.
Further, described to utilize the decryption digital watermark information, electronic document is verified, the decryption public key It is corresponding with encryption key to include:
The decryption digital watermark information and original figure watermark information are subjected to uniformity comparison;
If compared unanimously, determine that the electronic document passes through verifying;
If comparison is inconsistent, determine that the electronic document is unverified.
According to the present invention on the other hand, a kind of server-side is provided, which includes:
Encryption unit has the encryption key of user's access right to original figure water for utilizing to obtain from block chain Official seal breath is encrypted, and encryption digital watermark information is obtained;
Generation unit generates for the encryption digital watermark information to be embedded in E-seal and carries encryption number The E-seal of watermark information;
Stamped signature unit, for using it is described encryption digital watermark information E-seal as identity, to specified electricity Subdocument covers E-seal;
Transmission unit, for the electronic document for covering E-seal to be sent to client, in order to client pair Electronic document is verified.
Further, the server-side further include:
First authentication unit, for utilizing encryption key pair of the acquisition with user's access right from block chain described Original figure watermark information is encrypted, and before obtaining encryption digital watermark information, passes through the key in the block catenary system It manages platform and authentication is carried out to user;
Acquiring unit, if having use from the key management platform acquisition in block catenary system for by authentication The encryption key of family access right.
Further, the acquiring unit includes:
Encrypting module, for obtaining random number from block catenary system and storing, using hash function to the random number It is encrypted, obtains the encryption key of byte number within a preset range;
Memory module, for the encryption key to be stored to the key management platform into block catenary system.
According to the present invention on the other hand, a kind of client is provided, which includes:
Receiving unit, for receiving the specified electronic document of server-side transmission, by described in the determination of target positioning method E-seal region in specified electronic document;
Extraction unit, for extracting encryption digital watermark information from the E-seal region;
Decryption unit is obtained for the encryption digital watermark information to be decrypted according to preconfigured decryption public key To digital watermark information is decrypted, the decryption public key is corresponding with encryption key;
Second authentication unit verifies electronic document for utilizing the decryption digital watermark information.
Further, the extraction unit includes:
Determining module, for determining the edge feature value in the E-seal region using watermark separation algorithm;
Extraction module, for extracting the digital water of encryption from the E-seal region according to the edge feature value institute Official seal breath.
Further, second authentication unit includes:
Comparison module, for the decryption digital watermark information and original figure watermark information to be carried out uniformity comparison;
If authentication module determines that the electronic document passes through verifying consistent for comparing;
The authentication module determines that the electronic document is unverified if it is inconsistent to be also used to comparison.
According to the present invention on the other hand, a kind of system based on E-seal authenticating electronic documents, the system are provided Including above-mentioned server-side and above-mentioned client, above-mentioned server-side, which executes, is applied to verifying based on E-seal for server The method of electronic document, above-mentioned client executing are applied to the method based on E-seal authenticating electronic documents of client.
Another aspect according to the present invention provides a kind of storage equipment, is stored thereon with computer program, described program The above-mentioned method based on E-seal authenticating electronic documents is realized when being executed by processor.
Another aspect according to the present invention provides a kind of device based on E-seal authenticating electronic documents, including deposits The computer program that stores up equipment, processor and storage on a storage device and can run on a processor, the processor execute The above-mentioned method based on E-seal authenticating electronic documents is realized when described program.
By above-mentioned technical proposal, a kind of method, apparatus based on E-seal authenticating electronic documents provided by the invention And system, using obtaining from block chain there is the encryption key of user's access right to encrypt to digital watermark information, obtains To secret number watermark information, the private key of encryption digital watermark information encryption is stored in the block that safety is trusted and can not be distorted In catenary system, so that having more safety to E-seal by what encryption digital watermark information generated, E-seal is reduced The electronic document for covering E-seal is further sent to client by the risk being forged, in order to which client is to electronics text Shelves are verified.Compared with the mode that digital watermark information is directly embedded in E-seal in the prior art, the present invention passes through After server-side encrypts digital watermark information using the private key obtained in block chain in being embedded in E-seal, due to number Watermark information has higher safety, the risk that E-seal is cracked and forges is reduced, so that electronic document is transmitting In be not easy to be tampered.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Disclosed some embodiments without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 shows a kind of method flow signal based on E-seal authenticating electronic documents provided in an embodiment of the present invention Figure;
Fig. 2 shows another method flows based on E-seal authenticating electronic documents provided in an embodiment of the present invention to show It is intended to;
Fig. 3 shows another method flow based on E-seal authenticating electronic documents provided in an embodiment of the present invention and shows It is intended to;
Fig. 4 shows a kind of structural schematic diagram of server-side provided in an embodiment of the present invention;
Fig. 5 shows the structural schematic diagram of another server-side provided in an embodiment of the present invention;
Fig. 6 shows a kind of structural schematic diagram of client provided in an embodiment of the present invention;
Fig. 7 shows the structural schematic diagram of another client provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
The embodiment of the invention provides a kind of methods for generating electronic contract based on handwritten signature picture, are applied to service End, can reduce the risk that watermark information is cracked and forges in E-seal, as shown in Figure 1, this method comprises:
Step 101, using from block chain obtain have user's access right encryption key to original figure watermark believe Breath is encrypted, and encryption digital watermark information is obtained.
Wherein, block chain is a kind of a kind of chain type for being sequentially in time combined into data block with sequence succession Data structure, the private key in the block chain have the function of unique identification user identity, safety with higher.
Wherein, original figure watermark information may include two parts, and a part is seal holder, stamp mechanism, document The public information that clip Text etc. does not use the method for encryption that can directly display, another part are seal ID number, seal certificate The sensitive information that cannot be directly displayed.
For the embodiment of the present invention, by after obtaining the encryption key with user's access right in block chain, due to Encryption key in block chain has the function of identity user unique identity information, is believed using encryption key original figure watermark Ceasing the encryption digital watermark information encrypted has better safety, is not easy to be cracked.
It should be noted that the reliability in order to guarantee encryption key, it can be in utilization encryption key to original figure Before watermark information is encrypted, authentication, the key are carried out to user by the key management platform in block catenary system Management platform can provide the service of encryption and permission control;If illustrating that the encryption key is weighed with user by authentication Limit further obtains encryption key from the key management platform in block catenary system.
Random number can specifically be added using hash function by obtaining random number from block catenary system and storing It is close, the encryption key of byte number within a preset range is obtained, and encryption key is stored to the key management platform of block chain, into And the encryption key for having user's access right is obtained from key management platform.
Step 102, the encryption digital watermark information is embedded in E-seal, generates and carries encryption digital watermarking letter The E-seal of breath.
Due to encryption digital watermark information image watermarking with higher, public information can be shown, it will be quick Sense Information hiding is got up, and is embedded in E-seal by that will encrypt digital watermark information, which can protect E-seal itself is not usurped illegally, and the E-seal for carrying encryption digital watermark information is generated, so that the electronic seal generated Chapter safety with higher, is not easy to be cracked.
In addition, electronic document is tampered in transmission process in order to prevent, document would generally be extracted in E-seal in advance The contents such as abstract are simultaneously saved with encrypting after digital watermark information seeks cryptographic Hash, to improve the safety of E-seal.
Step 103, using the E-seal of the encryption digital watermark information as identity, to specified electronic document Cover E-seal.
Wherein, specified electronic document can be the office documents such as business form, work drawing, legal document, due to electricity Subdocument is easy duplication, needs to improve electronic document by the E-seal with uniqueness, not reproducible and strong anti-counterfeit capability Safety in transmission process.
For the embodiment of the present invention, electronic document is covered by using the E-seal of encryption digital watermark information Chapter is using electronics since encryption digital watermark information is encrypted by the encryption key in block chain with user right When seal, also there is legitimacy by the electronic document that E-seal covered.
Step 104, the electronic document for covering E-seal is sent to client, in order to which client is to electronics text Shelves are verified.
When in transmission process content changing occurs for document, the encryption digital watermarking on document in E-seal is covered Information can occur to change accordingly, by the way that electronic document with an official seal affixed is sent to client, may be implemented to electronic document Security verification is carried out, identifies whether the data in electronic document change.
A kind of method based on E-seal authenticating electronic documents provided in an embodiment of the present invention is applied to server-side, benefit With obtaining from block chain there is the encryption key of user's access right to encrypt to digital watermark information, obtains secret number Watermark information, the private key of encryption digital watermark information encryption are stored in the safe block catenary system trusted and can not distorted, So that having more safety to E-seal by what encryption digital watermark information generated, the wind that E-seal is forged is reduced Danger, is further sent to client for the electronic document for covering E-seal, in order to which client verifies electronic document. Compared with the mode that digital watermark information is directly embedded in E-seal in the prior art, the present invention in server-side by utilizing The private key obtained in block chain to digital watermark information encrypt after in being embedded in E-seal, since digital watermark information has Higher safety reduces the risk that E-seal is cracked and forges, so that electronic document is not easy to be tampered in the transmission.
The embodiment of the invention provides another kinds based on E-seal authenticating electronic documents, is applied to client, can be with The risk that watermark information is cracked and forges in E-seal is reduced, as shown in Fig. 2, this method comprises:
Fig. 2 is a kind of exemplary process diagram of the authentication method of E-seal of another embodiment of the disclosure.
Step 201, the specified electronic document that server-side is sent is received, is determined by target positioning method described specified E-seal region in electronic document.
Due to having muti-piece the character area perhaps each character area of picture region or picture region pair in electronic document Should there are word content or image content, for example, specified electronic document is treaty documents, contract terms region is corresponding with contract Content, contract parties region are corresponding with the identity information of contract parties, and Digital Contract Signature region is corresponding with E-seal picture etc..
For the embodiment of the present invention, E-seal region in specified electronic document is determined by target positioning method, it should Whether the E-seal in E-seal region whether legal and electronic document content can be tampered with authenticating electronic documents.
Step 202, encryption digital watermark information is extracted from the E-seal region.
For the embodiment of the present invention, the extraction algorithm that specifically can use digital watermarking is extracted from E-seal region Digital watermark information is encrypted, classical digital watermarking extraction algorithm changes domain watermarking algorithm and spatial domain watermark algorithm, right here Digital watermarking extraction algorithm is without limiting.
Step 203, the encryption digital watermark information is decrypted according to preconfigured decryption public key, is decrypted Digital watermark information.
Wherein, decryption public key is corresponding with encryption key, and carries out elliptic curve encryption algorithm life by encryption key At can be generated decryption public key by encryption key, but can not be pushed over by decrypting public key and obtain encryption key.
For the embodiment of the present invention, the effect for decrypting public key is to be made when verifying to E-seal by server-side The original figure watermark information in E-seal is encrypted with encryption key, then uses decryption public key to encryption number in client Word watermark information is decrypted, and obtains decryption digital watermark information.
Step 204, using the decryption digital watermark information, electronic document is verified.
Here two parts can be divided by verifying to electronic document, and one is the legitimacy for verifying E-seal, another A is the integrality of authenticating electronic documents;Since decryption digital watermark information is equivalent to the unique identification of E-seal, pass through solution Close digital watermark information can verify the legitimacy of E-seal;And documentation summary is preserved in E-seal and encrypts digital water The cryptographic Hash of official seal breath, for the integrality of authenticating electronic documents, by extracting document content and finding hash value, by the hashed value Uniformity comparison is carried out with the hashed value extracted in E-seal, it can be with the integrality of authenticating electronic documents.
Method of the another kind based on E-seal authenticating electronic documents provided in an embodiment of the present invention, is applied to client, The specified electronic document that server-side is sent is received, by determining E-seal region from specified electronic document, and from electricity Extract encryption digital watermark information in sub- seal region, according to preconfigured decryption public key to encryption digital watermark information into Row decryption, verifies electronic document using obtained decryption digital watermark information.With in the prior art directly by digital water The mode that official seal breath is embedded in E-seal is compared, and the present invention in server-side by utilizing the private key obtained in block chain to number After watermark information encryption in being embedded in E-seal, since digital watermark information has higher safety, electronics is reduced The risk that seal is cracked and forges, so that electronic document is not easy to be tampered in the transmission.
Method the embodiment of the invention provides another kind based on E-seal authenticating electronic documents is applied to client, The risk that watermark information is cracked and forges in E-seal can be reduced, as shown in figure 3, this method comprises:
Step 301, the specified electronic document that server-side is sent is received, is determined by target positioning method described specified E-seal region in electronic document.
For the embodiment of the present invention, each text in specified electronic document can be specifically identified by target positioning method Perhaps each character area of picture region or picture region are pre-defined in region has and the character area or picture region phase Matched special identifier, and special identifier extraction is carried out to character area or picture region, lookup meets E-seal region The corresponding character area of special identifier or picture region, so that it is determined that the E-seal region in specified electronic document.
For example, E-seal region be usually noted asterisk know perhaps the texts such as company by searching for asterisk know or The character area or picture region that the texts such as company match, the region may be E-seal region.
Step 302, the edge feature value in the E-seal region is determined using watermark separation algorithm.
For the embodiment of the present invention, specifically can by the image in E-seal region carry out discrete cosine transform or from Wavelet transformation is dissipated, multiple nonoverlapping image blocks is obtained, multiple nonoverlapping image blocks is synthesized, so that it is determined that electronic seal The edge feature value in chapter region.
Step 303, encryption digital watermarking letter is extracted from the E-seal region according to the edge feature value institute Breath.
For the embodiment of the present invention, depositing for watermark can be specifically detected by the edge feature value in E-seal region If there is watermark, encryption digital watermark information is being extracted from E-seal by watermark extraction algorithm.
Step 304, the encryption digital watermark information is decrypted according to preconfigured decryption public key, is decrypted Digital watermark information.
Wherein, decryption public key is corresponding with encryption key, and effect is to pass through server-side when verifying to E-seal The original figure watermark information in E-seal is encrypted using encryption key, then uses decryption public key to encryption in client Digital watermark information is decrypted, and obtains decryption digital watermark information.
It should be noted that used when verifying for convenience since decryption public key is too long, it can be to decryption public key Hash operation is carried out, address is generated by Hash operation, hash algorithm here can be SHA256, RIPEMD160, Base58 Algorithm etc..
Step 305, the decryption digital watermark information and original figure watermark information are subjected to uniformity comparison.
Since digital watermark information is the unique identification of E-seal, if decryption digital watermark information E-seal not It should should be consistent with original watermark information in the case where being stolen, the embodiment of the present invention will be by that will decrypt digital watermarking letter Breath carries out consistency checking with original figure watermark information, can verify the safety of E-seal.
Step 306a determines that the electronic document passes through verifying if compared unanimously.
If compared unanimously, illustrates that E-seal has legitimacy, be not stolen, then determine that electronic document passes through verifying.
If corresponding with step 306a have step 306b, compare inconsistent, determine that the electronic document does not pass through Verifying
If comparison is inconsistent, illustrate that E-seal may be stolen, does not have legitimacy, then determine that E-seal does not lead to Cross verifying.
Method provided in an embodiment of the present invention based on E-seal authenticating electronic documents receives the specified of server-side transmission Electronic document, by determining E-seal region from specified electronic document, and extract from E-seal region plus Close digital watermark information is decrypted encryption digital watermark information according to preconfigured decryption public key, utilizes obtained solution Close digital watermark information verifies electronic document.With digital watermark information is directly embedded in E-seal in the prior art Mode compare, the present invention after server-side encrypts digital watermark information using the private key obtained in block chain by being embedded in Into E-seal, since digital watermark information has higher safety, the wind that E-seal is cracked and forges is reduced Danger, so that electronic document is not easy to be tampered in the transmission.
Further, the specific implementation as Fig. 1 the method, the embodiment of the invention provides a kind of server-sides, such as Fig. 4 Shown, the client includes: encryption unit 41, generation unit 42, stamped signature unit 43, transmission unit 44.
Encryption unit 41, can be used for utilizing obtaining from block chain has the encryption key of user's access right to original Digital watermark information is encrypted, and encryption digital watermark information is obtained;
Generation unit 42 can be used for for the encryption digital watermark information being embedded in E-seal, generates carrying and adds The E-seal of close digital watermark information;
Stamped signature unit 43 can be used for the E-seal using the encryption digital watermark information as identity, to finger Fixed electronic document covers E-seal;
Transmission unit 44 can be used for the electronic document for covering E-seal being sent to client, in order to visitor Family end is verified by electronic document.
Server-side provided in an embodiment of the present invention utilizes encryption key of the acquisition with user's access right from block chain Digital watermark information is encrypted, secret number watermark information is obtained, the private key storage of encryption digital watermark information encryption Trust in safety and in the block catenary system that can not distort so that by encryption digital watermark information generate to E-seal more With safety, the risk that E-seal is forged is reduced, the electronic document for covering E-seal is further sent to visitor Family end, in order to which client verifies electronic document.With digital watermark information is directly embedded in electronics in the prior art The mode of seal is compared, the present invention by after server-side encrypts digital watermark information using the private key obtained in block chain It is embedded in E-seal, since digital watermark information has higher safety, reduces E-seal and be cracked and forge Risk so that electronic document is not easy to be tampered in the transmission.
In specific application scenarios, as shown in figure 5, the server-side further include:
First authentication unit 45 can be used for utilizing encryption of the acquisition with user's access right from block chain described Private key encrypts original figure watermark information, before obtaining encryption digital watermark information, by the block catenary system Key management platform to user carry out authentication;
Acquiring unit 46, if can be used for obtaining by authentication from the key management platform in block catenary system The encryption key for having user's access right.
Further, the acquiring unit 46 includes:
Encrypting module 461 can be used for obtaining random number from block catenary system and store, using hash function to described Random number is encrypted, and the encryption key of byte number within a preset range is obtained;
Memory module 462 can be used for the key management platform stored the encryption key into block catenary system.
It should be noted that other corresponding descriptions of each functional unit involved by a kind of server-side provided in this embodiment, Can be with reference to the corresponding description of Fig. 1, details are not described herein.
It is stored thereon with based on above-mentioned method as shown in Figure 1 correspondingly, the present embodiment additionally provides a kind of storage medium Computer program, the program are realized above-mentioned as shown in Figure 1 based on E-seal authenticating electronic documents when being executed by processor Method.
Further, the specific implementation as Fig. 2 and Fig. 3 the method, the embodiment of the invention provides a kind of client, As shown in fig. 6, the client includes: receiving unit 51, determination unit 52, decryption unit 53, the second authentication unit 54.
Receiving unit 51 can be used for receiving the specified electronic document of server-side transmission, true by target positioning method E-seal region in the fixed specified electronic document;
Extraction unit 52 can be used for extracting encryption digital watermark information from the E-seal region;
Decryption unit 53 can be used for solving the encryption digital watermark information according to preconfigured decryption public key It is close, decryption digital watermark information is obtained, the decryption public key is corresponding with encryption key;
Second authentication unit 54 can be used for verifying electronic document using the decryption digital watermark information.
Client provided in an embodiment of the present invention receives the specified electronic document that server-side is sent, by from specified E-seal region is determined in electronic document, and extracts encryption digital watermark information from E-seal region, according to preparatory Encryption digital watermark information is decrypted in the decryption public key of configuration, using obtained decryption digital watermark information to electronic document It is verified.Compared with the mode that digital watermark information is directly embedded in E-seal in the prior art, the present invention by Server-side using the private key obtained in block chain to digital watermark information encryption after in being embedded in E-seal, due to digital water Official seal breath has higher safety, the risk that E-seal is cracked and forges is reduced, so that electronic document is in the transmission It is not easy to be tampered.
In specific application scenarios, as shown in fig. 7, the extraction unit 52 includes:
Determining module 521 can be used for determining the edge feature value in the E-seal region using watermark separation algorithm;
Extraction module 522, can be used for being extracted from the E-seal region according to edge feature value institute plus Close digital watermark information.
Further, second authentication unit 54 includes:
Comparison module 541 can be used for carrying out the decryption digital watermark information and original figure watermark information consistent Property compare;
Authentication module 542 determines that the electronic document passes through verifying if can be used for comparing unanimously;
The authentication module 542 determines that the electronic document does not pass through and tests if it is inconsistent to can be also used for comparison Card.
It should be noted that other corresponding descriptions of each functional unit involved by a kind of client provided in this embodiment, It can be described referring to figs. 2 to the corresponding of Fig. 3, details are not described herein.
It is deposited thereon based on above-mentioned method as shown in Figure 2 to Figure 3 correspondingly, the present embodiment additionally provides a kind of storage medium Computer program is contained, which realizes when being executed by processor above-mentioned as shown in Figure 2 to Figure 3 verifies electricity based on E-seal The method of subdocument.
Based on this understanding, the technical solution of the application can be embodied in the form of software products, which produces Product can store in a non-volatile memory medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions With so that computer equipment (can be personal computer, server or the network equipment an etc.) execution the application is each Method described in implement scene.
Based on above-mentioned method and Fig. 4 as shown in Figure 1 to Figure 3 to virtual bench embodiment shown in Fig. 7, for reality Existing above-mentioned purpose, the embodiment of the present application also provides a kind of computer equipments, are specifically as follows personal computer, server, net Network equipment etc., the entity device include storage medium and processor;Storage medium, for storing computer program;Processor is used In execution computer program to realize the above-mentioned method based on E-seal authenticating electronic documents as shown in Figure 1 to Figure 3.
Optionally, which can also include user interface, network interface, camera, radio frequency (Radio Frequency, RF) circuit, sensor, voicefrequency circuit, WI-FI module etc..User interface may include display screen (Display), input unit such as keyboard (Keyboard) etc., optional user interface can also connect including USB interface, card reader Mouthful etc..Network interface optionally may include standard wireline interface and wireless interface (such as blue tooth interface, WI-FI interface).
It will be understood by those skilled in the art that the method pair provided in this embodiment based on E-seal authenticating electronic documents The entity device structure answered does not constitute the restriction to the entity device, may include more or fewer components, or combination Certain components or different component layouts.
It can also include operating system, network communication module in storage medium.Operating system is that the above-mentioned computer of management is set The program of standby hardware and software resource, supports the operation of message handling program and other softwares and/or program.Network communication mould Block leads to for realizing the communication between each component in storage medium inside, and between other hardware and softwares in the entity device Letter.
Through the above description of the embodiments, those skilled in the art can be understood that the application can borrow It helps software that the mode of necessary general hardware platform is added to realize, hardware realization can also be passed through.Pass through the skill of application the application Art scheme, compared with currently available technology, by being added using the private key obtained in block chain to digital watermark information in server-side After close in being embedded in E-seal, since digital watermark information has higher safety, reduce E-seal and be cracked With the risk of forgery so that electronic document is not easy to be tampered in the transmission.
It will be appreciated by those skilled in the art that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, module in attached drawing or Process is not necessarily implemented necessary to the application.It will be appreciated by those skilled in the art that the mould in device in implement scene Block can according to implement scene describe be distributed in the device of implement scene, can also carry out corresponding change be located at be different from In one or more devices of this implement scene.The module of above-mentioned implement scene can be merged into a module, can also be into one Step splits into multiple submodule.
Above-mentioned the application serial number is for illustration only, does not represent the superiority and inferiority of implement scene.Disclosed above is only the application Several specific implementation scenes, still, the application is not limited to this, and the changes that any person skilled in the art can think of is all The protection scope of the application should be fallen into.

Claims (10)

1. a kind of method based on E-seal authenticating electronic documents, which is characterized in that be applied to server-side, comprising:
Using obtaining from block chain there is the encryption key of user's access right to encrypt to original figure watermark information, obtains To encryption digital watermark information;
The encryption digital watermark information is embedded in E-seal, the electronic seal for carrying encryption digital watermark information is generated Chapter;
Using the E-seal of the encryption digital watermark information as identity, electronic seal is covered to specified electronic document Chapter;
The electronic document for covering E-seal is sent to client, in order to which client verifies electronic document.
2. the method as described in claim 1, which is characterized in that obtained using from block chain with user's right to use described The encryption key of limit encrypts original figure watermark information, and before obtaining encryption digital watermark information, the method is also wrapped It includes:
Authentication is carried out to user by the key management platform in the block catenary system;
If obtaining the encryption private for having user's access right from the key management platform in block catenary system by authentication Key.
3. method according to claim 2, which is characterized in that the key management platform from block catenary system obtains tool The encryption key of standby user access right includes:
Random number is obtained from block catenary system and is stored, and the random number is encrypted using hash function, obtains byte The encryption key of number within a preset range;
The encryption key is stored to the key management platform into block catenary system.
4. a kind of method based on E-seal authenticating electronic documents, which is characterized in that be applied to client, comprising:
The specified electronic document that server-side is sent is received, is determined by target positioning method electric in the specified electronic document Sub- seal region;
Encryption digital watermark information is extracted from the E-seal region;
The encryption digital watermark information is decrypted according to preconfigured decryption public key, obtains decryption digital watermarking letter Breath, the decryption public key are corresponding with encryption key;
Using the decryption digital watermark information, electronic document is verified.
5. method as claimed in claim 4, which is characterized in that described to extract encryption number from the E-seal region Watermark information includes:
The edge feature value in the E-seal region is determined using watermark separation algorithm;
Encryption digital watermark information is extracted from the E-seal region according to the edge feature value institute.
6. a kind of server-side characterized by comprising
Encryption unit for utilizing to obtain from block chain there is the encryption key of user's access right to believe original figure watermark Breath is encrypted, and encryption digital watermark information is obtained;
Generation unit generates for the encryption digital watermark information to be embedded in E-seal and carries encryption digital watermarking The E-seal of information;
Stamped signature unit, it is literary to specified electronics for being used as identity using the E-seal of the encryption digital watermark information Shelves cover E-seal;
Transmission unit, for the electronic document for covering E-seal to be sent to client, in order to which client is to electronics Document is verified.
7. a kind of client characterized by comprising
Receiving unit is determined described specified for receiving the specified electronic document of server-side transmission by target positioning method Electronic document in E-seal region;;
Extraction unit, for extracting encryption digital watermark information from the E-seal region;
Decryption unit is solved for the encryption digital watermark information to be decrypted according to preconfigured decryption public key Close digital watermark information;
Second authentication unit is verified electronic document, the decryption public key for utilizing the decryption digital watermark information It is corresponding with encryption key.
8. a kind of system based on E-seal authenticating electronic documents characterized by comprising server-side and client, it is described Method described in any one of server-side perform claim requirement 1 to 3, any one of described client executing claim 4 to 5 institute The method stated.
9. a kind of computer equipment, including memory and processor, it is stored with computer program in the memory, feature exists In the processor realizes the step of any one of claims 1 to 3,4 to 5 the method when executing the computer program Suddenly.
10. a kind of computer storage medium, is stored thereon with computer program, which is characterized in that the computer program is located Manage the step of method described in any one of claims 1 to 3,4 to 5 is realized when device executes.
CN201811600374.1A 2018-12-26 2018-12-26 Method, apparatus and system based on E-seal authenticating electronic documents Pending CN109829269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811600374.1A CN109829269A (en) 2018-12-26 2018-12-26 Method, apparatus and system based on E-seal authenticating electronic documents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811600374.1A CN109829269A (en) 2018-12-26 2018-12-26 Method, apparatus and system based on E-seal authenticating electronic documents

Publications (1)

Publication Number Publication Date
CN109829269A true CN109829269A (en) 2019-05-31

Family

ID=66861179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811600374.1A Pending CN109829269A (en) 2018-12-26 2018-12-26 Method, apparatus and system based on E-seal authenticating electronic documents

Country Status (1)

Country Link
CN (1) CN109829269A (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111145069A (en) * 2019-12-03 2020-05-12 支付宝(杭州)信息技术有限公司 Image watermarking processing method and device based on block chain
CN111177801A (en) * 2019-12-31 2020-05-19 航天信息股份有限公司 Signature method and device of electronic document, storage medium and electronic equipment
CN111191216A (en) * 2019-12-26 2020-05-22 航天信息股份有限公司 OFD signature client with JAVA interface and method and system for signature and signature verification thereof
CN111738896A (en) * 2020-05-27 2020-10-02 山西东易园智能家居科技有限公司 Picture watermark compression method based on block chain
CN111738748A (en) * 2020-08-14 2020-10-02 支付宝(杭州)信息技术有限公司 Block chain-based stamping processing method and device
CN112149062A (en) * 2019-06-26 2020-12-29 中电万维信息技术有限责任公司 Electronic seal generating method, device and system based on watermark and storage medium
CN112258376A (en) * 2020-10-20 2021-01-22 中国农业银行股份有限公司 Encrypted document processing method and system
CN112380957A (en) * 2020-11-10 2021-02-19 平安普惠企业管理有限公司 Method and device for identifying other item ticket information, computer equipment and storage medium
CN112580108A (en) * 2020-12-10 2021-03-30 深圳证券信息有限公司 Signature and seal integrity verification method and computer equipment
CN112966197A (en) * 2021-02-26 2021-06-15 平安普惠企业管理有限公司 Method, device, equipment and storage medium for displaying page electronic signature
WO2021147507A1 (en) * 2020-07-28 2021-07-29 平安科技(深圳)有限公司 Seal printing method, apparatus, electronic device, and storage medium
CN113268778A (en) * 2021-05-31 2021-08-17 杭州趣链科技有限公司 Electronic file processing method, system, device, medium and intelligent seal
CN113486309A (en) * 2021-07-20 2021-10-08 阳光电源股份有限公司 Technical document processing method, digital watermark server and processing system
CN114492409A (en) * 2022-01-27 2022-05-13 百度在线网络技术(北京)有限公司 Method and device for evaluating file content, electronic equipment and program product
CN115964686A (en) * 2023-03-17 2023-04-14 北京惠朗时代科技有限公司 Electronic seal supervision and processing system based on cloud platform
CN116680726A (en) * 2023-07-31 2023-09-01 易签链(深圳)科技有限公司 Processing method for converting physical seal impression into electronic seal impression identity
CN116828203A (en) * 2023-08-30 2023-09-29 北京点聚信息技术有限公司 Intelligent encryption protection method for electronic seal
CN117112513A (en) * 2023-10-19 2023-11-24 北京点聚信息技术有限公司 Intelligent storage method for dynamic key of electronic seal
CN117150532A (en) * 2023-10-30 2023-12-01 北京敏行通达信息技术有限公司 Data security guarantee method, device, equipment and readable storage medium
CN117150455A (en) * 2023-06-25 2023-12-01 北京国电通网络技术有限公司 Power information digital watermark encryption authentication method, electronic equipment and computer medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1280098A1 (en) * 2001-07-16 2003-01-29 Trustcopy Pte Ltd Electronic signing of documents
US20050010776A1 (en) * 2003-03-31 2005-01-13 Kenen Leo M. Optically variable devices with encrypted embedded data for authentication of identification documents
CN1635533A (en) * 2003-12-30 2005-07-06 刘瑞祯 Digital stamp system
CN1725244A (en) * 2005-07-19 2006-01-25 电子科技大学 Generating and vertification method for electronic seal based on vulnerable water mark
CN101329750A (en) * 2008-07-24 2008-12-24 武汉理工大学 Method for generating and verifying anti-false stamp with file content protection function
CN101894238A (en) * 2010-08-09 2010-11-24 中国人民解放军海军工程大学 Double authentication-based word document electronic seal system and method
CN103974122A (en) * 2013-02-04 2014-08-06 澜起科技(上海)有限公司 Set top box chip and digital signature implementation method applied to same
US9331856B1 (en) * 2014-02-10 2016-05-03 Symantec Corporation Systems and methods for validating digital signatures
CN107579817A (en) * 2017-09-12 2018-01-12 广州广电运通金融电子股份有限公司 User ID authentication method, apparatus and system based on block chain
CN107798650A (en) * 2017-09-18 2018-03-13 众安信息技术服务有限公司 A kind of digital asset infringement decision method and device based on block chain
CN108053359A (en) * 2017-12-07 2018-05-18 北京泛融科技有限公司 A kind of block chain embedding grammar of wavelet field watermark in image
CN108304710A (en) * 2018-02-11 2018-07-20 安云印(天津)大数据科技有限公司 A kind of E-seal signature method of the involvement identity authentication function based on block chain
CN108573140A (en) * 2018-05-02 2018-09-25 大连声鹭科技有限公司 Intelligent seal and it establishes server and the intelligent seal service system based on block chain technology beyond the clouds
CN108985364A (en) * 2018-07-05 2018-12-11 招银云创(深圳)信息技术有限公司 Verification method, device, computer equipment and the storage medium of sealed files

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1280098A1 (en) * 2001-07-16 2003-01-29 Trustcopy Pte Ltd Electronic signing of documents
US20050010776A1 (en) * 2003-03-31 2005-01-13 Kenen Leo M. Optically variable devices with encrypted embedded data for authentication of identification documents
CN1635533A (en) * 2003-12-30 2005-07-06 刘瑞祯 Digital stamp system
CN1725244A (en) * 2005-07-19 2006-01-25 电子科技大学 Generating and vertification method for electronic seal based on vulnerable water mark
CN101329750A (en) * 2008-07-24 2008-12-24 武汉理工大学 Method for generating and verifying anti-false stamp with file content protection function
CN101894238A (en) * 2010-08-09 2010-11-24 中国人民解放军海军工程大学 Double authentication-based word document electronic seal system and method
CN103974122A (en) * 2013-02-04 2014-08-06 澜起科技(上海)有限公司 Set top box chip and digital signature implementation method applied to same
US9331856B1 (en) * 2014-02-10 2016-05-03 Symantec Corporation Systems and methods for validating digital signatures
CN107579817A (en) * 2017-09-12 2018-01-12 广州广电运通金融电子股份有限公司 User ID authentication method, apparatus and system based on block chain
CN107798650A (en) * 2017-09-18 2018-03-13 众安信息技术服务有限公司 A kind of digital asset infringement decision method and device based on block chain
CN108053359A (en) * 2017-12-07 2018-05-18 北京泛融科技有限公司 A kind of block chain embedding grammar of wavelet field watermark in image
CN108304710A (en) * 2018-02-11 2018-07-20 安云印(天津)大数据科技有限公司 A kind of E-seal signature method of the involvement identity authentication function based on block chain
CN108573140A (en) * 2018-05-02 2018-09-25 大连声鹭科技有限公司 Intelligent seal and it establishes server and the intelligent seal service system based on block chain technology beyond the clouds
CN108985364A (en) * 2018-07-05 2018-12-11 招银云创(深圳)信息技术有限公司 Verification method, device, computer equipment and the storage medium of sealed files

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
林治洪 等: "《交易金融》", 15 December 2017, 中国金融出版社, pages: 278 - 286 *

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112149062A (en) * 2019-06-26 2020-12-29 中电万维信息技术有限责任公司 Electronic seal generating method, device and system based on watermark and storage medium
CN111145069A (en) * 2019-12-03 2020-05-12 支付宝(杭州)信息技术有限公司 Image watermarking processing method and device based on block chain
CN111191216A (en) * 2019-12-26 2020-05-22 航天信息股份有限公司 OFD signature client with JAVA interface and method and system for signature and signature verification thereof
CN111191216B (en) * 2019-12-26 2024-02-06 航天信息股份有限公司 OFD signature client with JAVA interface and method and system for signature verification
CN111177801A (en) * 2019-12-31 2020-05-19 航天信息股份有限公司 Signature method and device of electronic document, storage medium and electronic equipment
CN111177801B (en) * 2019-12-31 2023-01-10 航天信息股份有限公司 Signature method and device of electronic document, storage medium and electronic equipment
CN111738896A (en) * 2020-05-27 2020-10-02 山西东易园智能家居科技有限公司 Picture watermark compression method based on block chain
WO2021147507A1 (en) * 2020-07-28 2021-07-29 平安科技(深圳)有限公司 Seal printing method, apparatus, electronic device, and storage medium
CN111738748A (en) * 2020-08-14 2020-10-02 支付宝(杭州)信息技术有限公司 Block chain-based stamping processing method and device
CN112258376A (en) * 2020-10-20 2021-01-22 中国农业银行股份有限公司 Encrypted document processing method and system
CN112258376B (en) * 2020-10-20 2024-04-12 中国农业银行股份有限公司 Method and system for processing encrypted document
CN112380957A (en) * 2020-11-10 2021-02-19 平安普惠企业管理有限公司 Method and device for identifying other item ticket information, computer equipment and storage medium
CN112580108A (en) * 2020-12-10 2021-03-30 深圳证券信息有限公司 Signature and seal integrity verification method and computer equipment
CN112580108B (en) * 2020-12-10 2024-04-19 深圳证券信息有限公司 Signature and seal integrity verification method and computer equipment
CN112966197A (en) * 2021-02-26 2021-06-15 平安普惠企业管理有限公司 Method, device, equipment and storage medium for displaying page electronic signature
CN113268778A (en) * 2021-05-31 2021-08-17 杭州趣链科技有限公司 Electronic file processing method, system, device, medium and intelligent seal
CN113486309A (en) * 2021-07-20 2021-10-08 阳光电源股份有限公司 Technical document processing method, digital watermark server and processing system
CN114492409B (en) * 2022-01-27 2022-12-20 百度在线网络技术(北京)有限公司 Method and device for evaluating file content, electronic equipment and program product
CN114492409A (en) * 2022-01-27 2022-05-13 百度在线网络技术(北京)有限公司 Method and device for evaluating file content, electronic equipment and program product
CN115964686A (en) * 2023-03-17 2023-04-14 北京惠朗时代科技有限公司 Electronic seal supervision and processing system based on cloud platform
CN117150455A (en) * 2023-06-25 2023-12-01 北京国电通网络技术有限公司 Power information digital watermark encryption authentication method, electronic equipment and computer medium
CN116680726B (en) * 2023-07-31 2023-12-12 易签链(深圳)科技有限公司 Processing method for converting physical seal impression into electronic seal impression identity
CN116680726A (en) * 2023-07-31 2023-09-01 易签链(深圳)科技有限公司 Processing method for converting physical seal impression into electronic seal impression identity
CN116828203A (en) * 2023-08-30 2023-09-29 北京点聚信息技术有限公司 Intelligent encryption protection method for electronic seal
CN116828203B (en) * 2023-08-30 2023-10-27 北京点聚信息技术有限公司 Intelligent encryption protection method for electronic seal
CN117112513A (en) * 2023-10-19 2023-11-24 北京点聚信息技术有限公司 Intelligent storage method for dynamic key of electronic seal
CN117112513B (en) * 2023-10-19 2023-12-29 北京点聚信息技术有限公司 Intelligent storage method for dynamic key of electronic seal
CN117150532A (en) * 2023-10-30 2023-12-01 北京敏行通达信息技术有限公司 Data security guarantee method, device, equipment and readable storage medium
CN117150532B (en) * 2023-10-30 2024-01-26 北京敏行通达信息技术有限公司 Data security guarantee method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN109829269A (en) Method, apparatus and system based on E-seal authenticating electronic documents
CN107743133B (en) Mobile terminal and access control method and system based on trusted security environment
EP3091690B1 (en) Rsa decryption using multiplicative secret sharing
US9813247B2 (en) Authenticator device facilitating file security
CN107770159B (en) Vehicle accident data recording method and related device and readable storage medium
WO2017024934A1 (en) Electronic signing method, device and signing server
CN106452770B (en) Data encryption method, data decryption method, device and system
CN109728914B (en) Digital signature verification method, system, device and computer readable storage medium
US20140351583A1 (en) Method of implementing a right over a content
CN112632593B (en) Data storage method, data processing method, device and storage medium
US20130174282A1 (en) Digital right management method, apparatus, and system
JP7250960B2 (en) User authentication and signature device using user biometrics, and method thereof
CN117220865A (en) Longitude and latitude encryption method, longitude and latitude verification device and readable storage medium
CN111177748A (en) Fingerprint storage encryption method, device and system
CN110955909B (en) Personal data protection method and block link point
CN116049802A (en) Application single sign-on method, system, computer equipment and storage medium
WO2023004491A2 (en) Methods and systems for generating and validating uses of digital credentials and other documents
CN115277225A (en) Data encryption method, data decryption method and related equipment
CN115357929A (en) Image processing method, device and equipment
CN105740659B (en) A kind of data-hiding method, application program tamper resistant method and relevant apparatus
Malik et al. Cloud computing security improvement using Diffie Hellman and AES
CN106411964A (en) Traceable and encrypted data transmission method and device
CN108985079B (en) Data verification method and verification system
CN110263553B (en) Database access control method and device based on public key verification and electronic equipment
CN106603534A (en) System sharing traceable encrypted data

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