A method, device and medium for using electronic seals based on blockchain

By packaging and storing electronic seals on the blockchain and combining smart contracts, the problem of electronic seals being easily tampered with is solved, and a secure and traceable file stamping process is realized, improving the security and privacy protection of information transmission.

CN111460420BActive Publication Date: 2025-07-04INSPUR YUNZHOU (SHANDONG) IND INTERNET CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010102541.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-19
Publication Date
2025-07-04
Estimated Expiration
2040-02-19

AI Technical Summary

Technical Problem

The electronic seals in the prior art have a risk of tampering during use and are low in security.

Method used

By packaging the electronic seal into blocks and writing it into the blockchain, combining smart contracts and distributed storage technology, the electronic seal is guaranteed to be tamper-free and traceable, and the verification of identity information and the security control of the file stamping process are achieved.

Benefits of technology

It improves the security of electronic seals, prevents tampering, and records the traceability of the seal usage process, enhancing the security and privacy protection of information transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111460420B_ABST
    Figure CN111460420B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device and medium for using an electronic seal based on a blockchain. The method includes: receiving the electronic seal of a first user, packaging the electronic seal into a block and writing it into the blockchain; receiving a file sent by a second user and confirming the identity information of the second user; determining whether to stamp the electronic seal of the first user on the file sent by the second user according to the identity information of the first user. The distributed storage technology of the blockchain makes up for the problem that traditional electronic seals can be tampered with during use. At the same time, the blockchain technology has strong traceability, can record the usage process of the electronic seal, and greatly improves the security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of blockchain technology, and in particular, to a method, device, and medium for using an electronic seal based on blockchain. Background Art

[0002] An electronic seal (signature) is an online identity authentication system based on the international PKI standard. A digital certificate is equivalent to an online ID card. It effectively conducts online identity authentication through a third-party authoritative certification in the form of a digital signature, helping each entity identify the other party's identity and indicate its own identity, with authenticity and non-repudiation functions. Different from a physical ID card, a digital certificate also has the characteristics of security, confidentiality, and anti-tampering, and can effectively protect and securely transmit the information transmitted online by an enterprise.

[0003] The current usage scenario of a single electronic seal is mainly to integrate the electronic seal into a stable process. Users only need to register with the system provider to enjoy the functions of information transmission and online signature. However, there are certain risks, such as the risk of tampering. Summary of the Invention

[0004] The embodiments of this specification provide a method, device, and medium for managing game transactions based on blockchain, which are used to solve the following technical problems in the prior art:

[0005] In the prior art, there is a risk of tampering during the use of an electronic seal, and the security is low.

[0006] The embodiments of this specification adopt the following technical solutions:

[0007] The first aspect of the embodiments of the present invention provides a method for using an electronic seal based on blockchain, including:

[0008] Receiving the electronic seal of a first user, packaging the electronic seal into a block, and writing it into the blockchain;

[0009] Receiving a file sent by a second user and confirming the identity information of the second user;

[0010] Determining whether to print the electronic seal of the first user on the file sent by the second user according to the identity information of the first user.

[0011] In one example, the nodes of the blockchain include: the first user and / or the second user.

[0012] In one example, the receiving a file sent by a second user and confirming the identity information of the second user includes:

[0013] Verify whether the identity information entered by the second user is consistent with the reserved identity information, where the reserved identity information is the information of the second user when registering an account in the blockchain.

[0014] In one example, the reserved identity information of the second user includes: biometric information.

[0015] In one example, the receiving the file sent by the second user includes:

[0016] Receive the file encrypted by the second user with the private key, where the private key is generated by the second user when registering an account in the blockchain.

[0017] In one example, the determining whether to stamp the electronic seal of the first user on the file sent by the second user according to the identity information of the first user includes:

[0018] Send the identity information of the first user to the second user for confirmation;

[0019] After the second user confirms, decrypt the file encrypted by the second user with the private key and send it to the first user for browsing, so that the first user can determine whether to stamp the electronic seal on the file sent by the second user.

[0020] In one example, it further includes:

[0021] After the first user stamps the electronic seal on the file sent by the second user, store the file with the electronic seal in the blockchain.

[0022] In one example, the storing the file with the electronic seal in the blockchain includes:

[0023] Encrypt the file with the electronic seal using the private key of the first user and the private key of the second user respectively, and then store it in the blockchain.

[0024] The second aspect of the embodiments of the present invention provides a device for using an electronic seal based on a blockchain, including:

[0025] At least one processor; and,

[0026] A memory communicatively connected to the at least one processor; wherein,

[0027] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can:

[0028] Receive the electronic seal of the first user, package the electronic seal into a block, and write it into the blockchain;

[0029] Receive the file sent by the second user and confirm the identity information of the second user;

[0030] Determine whether to print the electronic seal of the first user on the file sent by the second user according to the identity information of the first user.

[0031] The third aspect of the embodiments of the present invention provides a non-volatile computer storage medium for using an electronic seal based on a blockchain, storing computer-executable instructions, and the computer-executable instructions are set as follows:

[0032] Receive the electronic seal of the first user, package the electronic seal into a block, and write it into the blockchain;

[0033] Receive the file sent by the second user and confirm the identity information of the second user;

[0034] Determine whether to print the electronic seal of the first user on the file sent by the second user according to the identity information of the first user.

[0035] The above at least one technical solution adopted in the embodiments of the present specification can achieve the following beneficial effects:

[0036] The distributed storage technology of the blockchain makes up for the problem that traditional electronic seals can be tampered with during use. At the same time, the blockchain technology has strong traceability, can record the use process of electronic seals, and greatly improves security. Description of the Drawings

[0037] The drawings described herein are used to provide a further understanding of the present application, constitute a part of the present application, and the illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the drawings:

[0038] Figure 1 It is a schematic flowchart of the method provided by the embodiments of the present specification;

[0039] Figure 2 It is a schematic diagram of the device framework provided by the embodiments of the present specification. Detailed Embodiments

[0040] To make the objectives, technical solutions, and advantages of this specification clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all embodiments. Based on the embodiments in the specification, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application.

[0041] The following will, in conjunction with the drawings, elaborate on the technical solutions provided by each embodiment of this application.

[0042] Embodiments of this application provide a method and corresponding solution for using an electronic seal based on a blockchain. The distributed storage technology of the blockchain compensates for the problem that traditional electronic seals can be tampered with during use. At the same time, the blockchain technology has strong traceability, can record the usage process of the electronic seal, and greatly improves security.

[0043] Figure 1 It is a schematic flowchart of the method provided by the embodiments of this specification. As shown in the figure, the method includes:

[0044] S101 Receive the electronic seal of the first user, package the electronic seal into a block, and write it into the blockchain;

[0045] S102 Receive the file sent by the second user and confirm the identity information of the second user;

[0046] S103 Determine whether to print the electronic seal of the first user on the file sent by the second user according to the identity information of the first user.

[0047] A blockchain is a chain-like data structure formed by combining data blocks in chronological order in a sequential manner, and is a distributed ledger guaranteed by cryptography to be immutable and unforgeable. Although the underlying technology of the blockchain has been developed for many years, it cannot be effectively applied in specific scenarios.

[0048] According to specific embodiments of the present invention, a smart contract for managing electronic seals is set on the blockchain. A smart contract is an automatically running script deployed on the blockchain. Since it is set on the blockchain, it has the characteristics of being publicly transparent. Users can preset rules through the smart contract to write data into the blockchain and obtain data browsing permissions, largely avoiding the disclosure of privacy information. Of course, the smart contract is not the only implementation manner of this application and is set accordingly according to different blockchain platforms, such as Ethereum, Hyperledger, etc.

[0049] According to the specific embodiments of the present invention, the embodiments of the present application do not impose special restrictions on the setting of the nodes of the blockchain. In some preferred embodiments of the present invention, in order to consider the maintenance of the blockchain, the first user and / or the second user can be used as nodes. For example, when the first user is a government agency and the second user is an ordinary user, the first user is used as a node of the blockchain. When both the first user and the second user are legal persons such as enterprises, the first user and the second user are used as nodes of the blockchain at the same time.

[0050] According to the specific embodiments of the present invention, in step S101, after the electronic seal of the first user is written into the blockchain, the control right of the electronic seal still belongs to the corresponding first user. It can be understood that there can be multiple first users in the technical solution of the present invention, and there can be multiple electronic seals corresponding to each first user. Similarly, there are also multiple second users.

[0051] According to the specific embodiments of the present invention, in step S102, receiving the file sent by the second user and confirming the identity information of the second user includes: verifying whether the identity information input by the second user is consistent with the reserved identity information, where the reserved identity information is the information when the second user registers an account in the blockchain.

[0052] Specifically, when the second user, such as user B who wants an identity certificate, wants to use the electronic seal, first, the second user needs to register an account on the blockchain platform through his own identity information. For example, through the real-name system, the biometric information of the second user is taken. The biometric information includes but is not limited to fingerprints. After these information are reviewed, they are written into the blockchain.

[0053] According to the specific embodiments of the present invention, after the user successfully registers an account on the blockchain platform, the smart contract on the blockchain generates a unique private key for each successfully registered account through a hash function. Correspondingly, in step S102, the receiving the file sent by the second user includes: receiving the file encrypted by the second user with the private key, where the private key is generated when the second user registers an account in the blockchain. The encryption method can be symmetric encryption or asymmetric encryption, and the present application does not impose special restrictions on this.

[0054] According to the specific embodiments of the present invention, when the second user encrypts his file with his own private key, correspondingly, when the first user views the file, the first user will apply to the second user to view it. The specific method is as follows.

[0055] Determining whether to stamp the electronic seal of the first user on the document sent by the second user according to the identity information of the first user includes: sending the identity information of the first user to the second user for confirmation; after the second user confirms, decrypting the file encrypted by the second user with the private key and sending it to the first user for browsing, so that the first user can determine whether to stamp the electronic seal on the document sent by the second user.

[0056] Specifically, the decryption method can be automatically implemented through a pre-set smart contract, or when the first user views the file, obtaining the permission to view the file from the second user. When the first user A receives the signature application from the second user B, first confirm the identity information of the second user B on the chain, and then apply to the second user B to view the file. The second user B receives the request and sends the decryption authorization to the first user A. The first user A decrypts the file after receiving the decryption authorization and writes the access information into the chain. After confirming the file, authorize the second user B to use it. The second user B will use the electronic seal to generate a file with an official seal, and this file is encrypted and stored on the chain.

[0057] According to a specific embodiment of the present invention, the method provided by the present invention further includes: after the first user stamps the electronic seal on the document sent by the second user, storing the document with the electronic seal in the blockchain. Preferably, the document with the electronic seal is encrypted with the private key of the first user and the private key of the second user respectively and then stored in the blockchain. Both the first user and the second user have the secret keys to access the stamped document, which is convenient for future traceability verification to protect the privacy information of both parties.

[0058] Based on the same idea, some embodiments of the present application also provide the corresponding device and non-volatile computer storage medium for the above method.

[0059] Figure 2 The device framework schematic diagram provided for the embodiments of this specification, a device for using an electronic seal based on the blockchain, includes:

[0060] At least one processor; and,

[0061] A memory communicatively connected to the at least one processor; wherein,

[0062] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can:

[0063] Receive the electronic seal of the first user, package the electronic seal into a block, and write it into the blockchain;

[0064] Receive the file sent by the second user and confirm the identity information of the second user;

[0065] Determine whether to stamp the electronic seal of the first user on the file sent by the second user according to the identity information of the first user.

[0066] Some embodiments of the present application provide a non-volatile computer storage medium for using an electronic seal based on a blockchain corresponding to Figure 1 which stores computer-executable instructions, and the computer-executable instructions are set as:

[0067] Receive the electronic seal of the first user, package the electronic seal into a block, and write it into the blockchain;

[0068] Receive the file sent by the second user and confirm the identity information of the second user;

[0069] Determine whether to stamp the electronic seal of the first user on the file sent by the second user according to the identity information of the first user.

[0070] Each embodiment in the present application is described in a progressive manner. For the same or similar parts between the embodiments, reference can be made to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments.

[0071] The devices and media provided by the embodiments of the present application correspond one-to-one with the methods. Therefore, the devices and media also have beneficial technical effects similar to the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be elaborated here.

[0072] Those skilled in the art should understand that the embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0073] The present invention is described with reference to the methods, devices (systems), and computer program products according to the embodiments of the present invention

[0074] The flowchart and / or block diagram of the product is described. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 the means for implementing the functions specified in one block or multiple blocks.

[0075] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means, and the instruction means implements the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 the means for implementing the functions specified in one block or multiple blocks.

[0076] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one process or multiple processes and / or blocks Figure 1 the means for implementing the functions specified in one block or multiple blocks.

[0077] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and memory.

[0078] The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM), and / or non-volatile memory such as read-only memory (ROM) or flash memory (flash RAM). The memory is an example of computer-readable media.

[0079] A computer-readable medium includes permanent and non-permanent, removable and non-removable media and can implement information storage by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transitory media that can be used to store information accessible by a computing device. As defined herein, a computer-readable medium does not include transitory computer-readable media such as modulated data signals and carrier waves.

[0080] It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or apparatus comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or apparatus. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising the element.

[0081] The above are only examples of the present application and are not intended to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims

1. A method for using an electronic seal based on a blockchain, characterized in that, Including: Receiving the electronic seal of the first user, packaging the electronic seal into a block, and writing it into the blockchain; Receiving the file sent by the second user, including: receiving the file encrypted by the private key of the second user, where the private key is generated when the second user registers an account in the blockchain; And confirming the identity information of the second user, including: verifying whether the identity information input by the second user is consistent with the reserved identity information, where the reserved identity information is the information when the second user registers an account in the blockchain; Determining whether to stamp the electronic seal of the first user on the file sent by the second user according to the identity information of the first user, including: sending the identity information of the first user to the second user for confirmation; after the second user confirms, decrypting the file encrypted by the private key of the second user and sending it to the first user for browsing, so that the first user can determine whether to stamp the electronic seal on the file sent by the second user; Further including: After the first user stamps the electronic seal on the file sent by the second user, storing the file with the electronic seal in the blockchain, including: encrypting the file with the electronic seal using the private key of the first user and the private key of the second user respectively and then storing it in the blockchain.

2. The method according to claim 1, wherein The nodes of the blockchain include: the first user and / or the second user.

3. The method according to claim 1, wherein The reserved identity information of the second user includes: biometric information.

4. A device for using an electronic seal based on a blockchain, characterized in that, Including: At least one processor; And, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can: the method for using an electronic seal based on a blockchain according to claim 1.

5. A non-volatile computer storage medium using an electronic seal based on blockchain, storing computer-executable instructions, characterized in that, The computer-executable instructions are set as: the method for using an electronic seal based on a blockchain according to claim 1.

Citation Information

Patent Citations

  • Online electronic signature system and method

    CN107911378A

  • Authorization verification method and system based on variable QR code

    CN109510813A