Blockchain-based certificate management method, device and electronic equipment

CN115438386BActive Publication Date: 2026-10-09INDUSTRIAL AND COMMERCIAL BANK OF CHINA +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211056178.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-31
Publication Date
2026-10-09
Estimated Expiration
2042-08-31

AI Technical Summary

Technical Problem

[0005]本发明实施例提供了一种基于区块链的证书管理方法、装置及电子设备,以至少解决现有技术中由于纸质的捐赠证书易伪造所造成的证书真实性低的技术问题

Benefits of technology

[0016] In this embodiment of the invention, the authenticity of the certificate requested by the target object is verified based on information stored in the blockchain. Upon successful verification, the certificate is returned to the target object. This is achieved by determining the target object's permission information and identifying a first target module based on that information. The first target module then responds to the target object's certificate query instruction. Next, the target digital donation certificate requested by the certificate query instruction is determined from a second target module. Thus, the authenticity of the target digital donation certificate is verified based on information stored in the blockchain. If the target digital donation certificate is confirmed to be authentic, the first target module returns the target digital donation certificate to the target object in the desired manner. The second target module stores the target digital donation certificate, and the blockchain stores at least the hash value corresponding to the digital donation certificate. The first target module corresponds to the desired method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115438386B_ABST
    Figure CN115438386B_ABST
Patent Text Reader

Abstract

The application discloses a kind of certificate management method, device and electronic equipment based on blockchain.It relates to the field of blockchain, which comprises: determining the permission information of target object, and determining the first target module according to the permission information;The certificate query instruction of target object is responded by the first target module;From the second target module, determine the target digital donation certificate to be queried by the certificate query instruction, and the second target module is used to store target digital donation certificate;The authenticity of the target digital donation certificate is verified based on the information stored in the blockchain, and in the case where the target digital donation certificate is determined to be authentic, the target digital donation certificate is fed back to the target object in a target manner through the first target module, wherein the blockchain is used at least to store the hash value corresponding to the digital donation certificate, and the first target module corresponds to the target manner.The application solves the technical problem of low certificate authenticity caused by the easy forgery of paper donation certificates in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of blockchain, and more specifically, to a blockchain-based certificate management method, apparatus, and electronic device. Background Technology

[0002] To help vulnerable groups in society and organize people from all walks of life to provide free humanitarian aid, my country has established various types of non-profit charitable organizations. Anyone with sufficient financial and material resources can extend a helping hand to those in need through legally recognized charitable organizations. Charitable organizations typically issue donor certificates as encouragement and proof of the donation. In some cases, donations may be eligible for tax deductions.

[0003] Currently, most of the work of charitable organizations is still carried out offline and manually. The transfer of donated funds and the management of donors and recipients are mostly conducted in paper form, and donation certificates issued to donors are also primarily in paper form. This leads to several problems in the practical application of donation certificates. For example, paper and electronic certificates are easily forged, have low credibility, and it is difficult for issuing agencies to verify their authenticity. Users sometimes need to provide various supporting materials to prove the authenticity and validity of the certificate. Furthermore, paper certificates are inconvenient to carry and store, thus limiting their scope of use.

[0004] There is currently no effective solution to the above problems. Summary of the Invention

[0005] This invention provides a blockchain-based certificate management method, apparatus, and electronic device to at least solve the technical problem of low certificate authenticity caused by the ease with which paper donation certificates can be forged in the prior art.

[0006] According to one aspect of the present invention, a blockchain-based certificate management method is provided, comprising: determining permission information of a target object, and determining a first target module based on the permission information; responding to a certificate query instruction from the target object through the first target module; determining the target digital donation certificate to be queried by the certificate query instruction from a second target module, wherein the second target module is used to store the target digital donation certificate; verifying the authenticity of the target digital donation certificate based on information stored in the blockchain, and, if the authenticity of the target digital donation certificate is determined, feeding back the target digital donation certificate to the target object in a target manner through the first target module, wherein the blockchain is used to store at least the hash value corresponding to the digital donation certificate, and the first target module corresponds to the target manner.

[0007] Furthermore, the blockchain-based certificate management method also includes: obtaining donation information from the recipient to the target organization before determining the permission information of the recipient; generating a digital donation certificate based on the donation information and generating a hash value corresponding to the digital donation certificate; and storing the hash value corresponding to the digital donation certificate and the donation information in the blockchain.

[0008] Furthermore, the blockchain-based certificate management method also includes: obtaining the target certificate format sent by the donor; and generating a digital donation certificate based on the donation information and the target certificate format.

[0009] Furthermore, the blockchain-based certificate management method also includes: calculating the hash value corresponding to the target digital donation certificate; determining the first target hash value corresponding to the query information in the certificate query instruction from the blockchain; determining the target digital donation certificate to be authentic if the hash value corresponding to the target digital donation certificate is the same as the first target hash value; and determining the target digital donation certificate to be abnormal if the hash value corresponding to the target digital donation certificate is different from the first target hash value.

[0010] Furthermore, the blockchain-based certificate management method also includes: if the permission information of the target object is the first permission information, then the target object is determined as the first target object, and the certificate query module is determined as the first target module; if the permission information of the target object is the second permission information, then the target object is determined as the second target object, and the certificate display module is determined as the first target module, wherein the permission represented by the first permission information is higher than the permission represented by the second permission information.

[0011] Furthermore, the blockchain-based certificate management method also includes: when the first target module is a certificate query module, sending the target digital donation certificate to the first target object; when the first target module is a certificate display module, displaying the target digital donation certificate to the second target object.

[0012] Furthermore, the blockchain-based certificate management method also includes: after displaying the target digital donation certificate to the second target object, responding to the target certificate query instruction of the third target object, and determining the target query information based on the target certificate query instruction, wherein the third target object is used to handle pending business for the second target object, and the target query information includes at least the target identifier and the second target hash value provided by the second target object; determining the third target hash value corresponding to the target identifier from the blockchain; comparing whether the second target hash value and the third target hash value are the same, and feeding back the comparison result to the third target object, wherein the comparison result is used by the third target object to determine whether to handle pending business for the second target object.

[0013] According to another aspect of the present invention, a blockchain-based certificate management device is also provided, comprising: a first determining module, configured to determine the permission information of a target object and determine a first target module based on the permission information; a response module, configured to respond to a certificate query instruction from the target object through the first target module; a second determining module, configured to determine the target digital donation certificate to be queried by the certificate query instruction from the second target module, wherein the second target module is configured to store the target digital donation certificate; and a feedback module, configured to verify the authenticity of the target digital donation certificate based on the information stored in the blockchain, and, if the authenticity of the target digital donation certificate is determined, to feed back the target digital donation certificate to the target object in a target manner through the first target module, wherein the blockchain is at least used to store the hash value corresponding to the digital donation certificate, and the first target module corresponds to the target manner.

[0014] According to another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer-readable storage medium, and the computer program is configured to execute the above-described blockchain-based certificate management method at runtime.

[0015] According to another aspect of the present invention, an electronic device is also provided, the electronic device including one or more processors; a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors are configured to run the programs, wherein the programs are configured to execute the above-described blockchain-based certificate management method at runtime.

[0016] In this embodiment of the invention, the authenticity of the certificate requested by the target object is verified based on information stored in the blockchain. Upon successful verification, the certificate is returned to the target object. This is achieved by determining the target object's permission information and identifying a first target module based on that information. The first target module then responds to the target object's certificate query instruction. Next, the target digital donation certificate requested by the certificate query instruction is determined from a second target module. Thus, the authenticity of the target digital donation certificate is verified based on information stored in the blockchain. If the target digital donation certificate is confirmed to be authentic, the first target module returns the target digital donation certificate to the target object in the desired manner. The second target module stores the target digital donation certificate, and the blockchain stores at least the hash value corresponding to the digital donation certificate. The first target module corresponds to the desired method.

[0017] In the aforementioned process, because blockchain effectively guarantees that the information it stores is immutable, unforgeable, non-repudiable, and fully traceable, storing the hash value of the digital donation certificate in the blockchain and verifying the authenticity of the target digital donation certificate in the second target module based on the hash value stored in the blockchain before sending the target digital donation certificate queried by the target object back to the target object can effectively ensure the validity of the verification result, thereby ensuring the authenticity of the target digital donation certificate sent to the target object and avoiding the problem of easy forgery of paper donation certificates in existing technologies. Furthermore, by using different methods to send back the digital donation certificate queried by the target object based on different permissions, the phenomenon that sending the target digital donation certificate in the same way to different target objects can lead to easy forgery of directly obtained target digital donation certificates by low-trust objects or difficulty in preserving image-based target digital donation certificates by high-trust objects is avoided, thus further ensuring the authenticity of the donation certificate.

[0018] Therefore, the solution provided in this application achieves the purpose of verifying the authenticity of the certificate to be queried by the target object based on the information stored in the blockchain, and returning the certificate to the target object after successful verification. This achieves the technical effect of improving the authenticity of donation certificates, and solves the technical problem of low certificate authenticity caused by the ease of forgery of paper donation certificates in the prior art. Attached Figure Description

[0019] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0020] Figure 1 This is a schematic diagram of an optional certificate management system according to an embodiment of the present invention;

[0021] Figure 2 This is a schematic diagram of an optional certificate management method according to an embodiment of the present invention;

[0022] Figure 3 This is an application flowchart of an optional certificate management method according to an embodiment of the present invention;

[0023] Figure 4 This is a schematic diagram of an optional certificate management device according to an embodiment of the present invention;

[0024] Figure 5 This is a schematic diagram of an optional electronic device according to an embodiment of the present invention. Detailed Implementation

[0025] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0026] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0027] It should be noted that all information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this disclosure are information and data authorized by the user or fully authorized by all parties. For example, this system has an interface with relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain the relevant information after receiving consent information from the aforementioned user or organization.

[0028] Example 1

[0029] According to an embodiment of the present invention, an embodiment of a blockchain-based certificate management method is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0030] In this embodiment, as Figure 1 As shown, the aforementioned blockchain-based certificate management method is implemented using an optional certificate management system as the executing entity. This certificate management system includes at least a certificate query module, a certificate display module, and a digital collectible issuance system, and may also include a certificate creation module. The digital collectible issuance system may include a blockchain module and a digital collectible technology module. Optionally, this certificate management system can be built within a relevant platform of a charitable organization.

[0031] Figure 2 This is a schematic diagram of an optional certificate management method according to an embodiment of the present invention, such as... Figure 2 As shown, the method includes the following steps:

[0032] Step S201: Determine the permission information of the target object, and determine the first target module based on the permission information.

[0033] In step S201, optionally, the certificate management system can determine the permission information of the target object and, based on the permission information, determine the target object's permission to obtain a certificate, thereby determining a first target module for responding to the relevant instructions of the target object according to the aforementioned permission. The aforementioned target object is the object of the digital donation certificate to be queried. The target object can be the owner of the digital donation certificate to be queried, or a relevant authoritative institution or financial institution that needs to use the digital donation certificate. For example, a relevant authoritative institution can provide tax deduction certificates or handle related business for the owner of the digital donation certificate based on the digital donation certificate, and a relevant financial institution can handle related business for the owner of the digital donation certificate based on the digital donation certificate, etc. The first target module can be the aforementioned certificate query module or the aforementioned certificate display module.

[0034] Step S202: The first target module responds to the certificate query command of the target object.

[0035] In step S202, the certificate management system can respond to the certificate query instruction of the target object through the determined first target module, thereby performing the operation of querying the certificate for the target object based on the certificate query instruction. The aforementioned certificate query instruction includes at least query information, which may be the donor's identity identifier, certificate hash value, certificate number, etc., corresponding to the digital donation certificate to be queried. The query information may also be other information that can characterize the digital donation certificate to be queried.

[0036] It should be noted that by responding to the instructions of target objects with different permissions based on different modules, it is convenient to provide the target object with the digital donation certificate it wants to query in different ways. This avoids the phenomenon that the target digital donation certificate is easy to forge for low-trust objects or difficult to retain for high-trust objects in the form of image of the target digital donation certificate when providing the target digital donation certificate to different target objects in the same way.

[0037] Step S203: Determine the target digital donation certificate to be queried by the certificate query instruction from the second target module, wherein the second target module is used to store the target digital donation certificate.

[0038] In step S203, the first target module can directly determine the target digital donation certificate to be queried by the certificate query instruction from the second target module. The first target module can also send control instructions to other modules to control other modules to determine the target digital donation certificate to be queried by the certificate query instruction from the second target module and obtain the target digital donation certificate from other modules. The aforementioned other modules are modules other than the first target module in the certificate donation system. The aforementioned second target module can be the digital collection technology module.

[0039] Optionally, in the process of determining the target digital donation certificate to be queried by the certificate query instruction from the second target module, the first target module or other target modules may match the information content of the query information with at least one digital donation certificate stored in the second target module, thereby determining the digital donation certificate that matches the aforementioned information content as the target digital donation certificate.

[0040] It should be noted that by storing the target digital donation certificate in the second target module, relevant users or organizations can easily query, browse and display it online via mobile phones, computers and other internet devices, which solves the problem of the inconvenience of carrying paper certificates. At the same time, it also avoids the problem of paper donation certificates being easy to forge.

[0041] Step S204: Verify the authenticity of the target digital donation certificate based on the information stored in the blockchain. If the authenticity of the target digital donation certificate is confirmed, the target digital donation certificate is fed back to the target object in the target manner through the first target module. The blockchain is used to store at least the hash value corresponding to the digital donation certificate, and the first target module corresponds to the target manner.

[0042] In step S204, after the first target module obtains the target digital donation certificate, it first calculates the hash value of the obtained certificate, then searches the blockchain (i.e., the aforementioned blockchain module) for the hash value corresponding to the query information in the certificate query instruction. Next, the first target module compares the calculated hash value with the found hash value. If the two hash values ​​match, the target digital donation certificate is confirmed to be genuine; otherwise, if they differ, the target digital donation certificate is confirmed to be abnormal, thus verifying the authenticity of the target digital donation certificate. Optionally, due to different application scenarios, the query information in the certificate query instruction may include the hash value of the certificate the target object wants to query. Therefore, the first target module can also directly compare the hash value obtained from the query information with the hash value found in the blockchain to verify the authenticity of the target digital donation certificate. In addition, the blockchain can also store certificate information corresponding to at least one digital donation certificate, and directly compare the certificate information with the target digital donation certificate to verify the authenticity of the target digital donation certificate. The aforementioned certificate information includes at least donation information and may also include the certificate format of the digital donation certificate.

[0043] Furthermore, once the first target module confirms the authenticity of the target digital donation, it can send the target digital donation certificate back to the target recipient in a targeted manner. This targeted manner could be sending the target digital donation certificate directly to the target recipient, displaying the target digital donation certificate to the target recipient, or encrypting the target digital donation certificate before sending it to the target recipient, requiring the target recipient to decrypt the certificate to obtain it. It is important to emphasize that the first target module can also, after controlling other modules to obtain the target digital donation certificate, control those modules to verify its authenticity. If the authenticity verification is successful, the first target module can then obtain the authentic target digital donation certificate from the other modules and send it back to the target recipient in the targeted manner.

[0044] It should be noted that, thanks to the transparent sharing and tamper-proof capabilities of blockchain, the information it stores can effectively guarantee that it is immutable, unforgeable, non-repudiable, and fully traceable. Therefore, by storing the hash value of the digital donation certificate in the blockchain and verifying the authenticity of the target digital donation certificate in the second target module based on the hash value stored in the blockchain before sending the target digital donation certificate queried by the target object back to the target object, the validity of the verification result can be effectively guaranteed, thereby ensuring the authenticity of the target digital donation certificate sent to the target object.

[0045] Based on the scheme defined in steps S201 to S204 above, it can be understood that in this embodiment of the invention, the authenticity of the certificate to be queried by the target object is verified based on the information stored in the blockchain, and the certificate is returned to the target object after successful verification. This is achieved by determining the target object's permission information and identifying a first target module based on that information. The first target module then responds to the target object's certificate query instruction. Next, the target digital donation certificate to be queried by the certificate query instruction is determined from the second target module. Thus, the authenticity of the target digital donation certificate is verified based on the information stored in the blockchain. If the authenticity of the target digital donation certificate is confirmed, the first target module returns the target digital donation certificate to the target object in the target manner. Specifically, the second target module stores the target digital donation certificate, the blockchain stores at least the hash value corresponding to the digital donation certificate, and the first target module corresponds to the target manner.

[0046] It is noteworthy that, in the above process, because blockchain effectively guarantees that the information it stores is immutable, unforgeable, non-repudiable, and fully traceable, storing the hash value of the digital donation certificate in the blockchain and verifying the authenticity of the target digital donation certificate in the second target module based on the hash value stored in the blockchain before sending the target digital donation certificate queried by the target object back to the target object can effectively ensure the validity of the verification result, thereby ensuring the authenticity of the target digital donation certificate sent to the target object and avoiding the problem of easy forgery of paper donation certificates in existing technologies. Furthermore, by using different methods to send back the digital donation certificate queried by the target object based on different permissions, the phenomenon that sending the target digital donation certificate in the same way to different target objects can lead to easy forgery of directly obtained target digital donation certificates by low-trust objects or difficulty in preserving image-based target digital donation certificates by high-trust objects is avoided, thus further ensuring the authenticity of the donation certificate.

[0047] Therefore, the solution provided in this application achieves the purpose of verifying the authenticity of the certificate to be queried by the target object based on the information stored in the blockchain, and returning the certificate to the target object after successful verification. This achieves the technical effect of improving the authenticity of donation certificates, and solves the technical problem of low certificate authenticity caused by the ease of forgery of paper donation certificates in the prior art.

[0048] In one optional embodiment, before determining the permission information of the target object, the certificate management system can obtain the donation information of the donation object to the target organization, then generate a digital donation certificate based on the donation information, and generate a hash value corresponding to the digital donation certificate, thereby storing the hash value corresponding to the digital donation certificate and the donation information in the blockchain.

[0049] Optional, such as Figure 1 As shown, when a philanthropist or related organization makes a charitable donation to a charity (i.e., the aforementioned target organization), the certificate management system can respond to the charity's donation information sending request and call the interface of the certificate creation module based on the donation information sending request. The certificate creation module then obtains the donation information sent by the charity regarding the recipient's donation to the charity. Further, after receiving relevant instructions and information from the charity, the certificate creation module can process the obtained donation information, generate a digital donation certificate from the processed data, and send the generated digital donation certificate or its corresponding information to the digital collection technology module. This means transmitting the generated digital donation certificate to the digital collection technology module in image or 3D data format. The aforementioned donation information may include recipient information, donation time, donation amount, and recipient details. The aforementioned data processing may include at least one of the following methods: data cleaning, data standardization, etc.

[0050] Furthermore, once the digital collectibles technology module obtains the digital donation certificate, it can complete the casting of the digital collectible certificate and the on-chain storage of key certificate information and its hash value, thereby realizing the digitalization of the donation certificate. Specifically, the digital collectibles technology module can extract key information corresponding to the digital donation certificate, such as the recipient information, donation date, donation amount, and recipient details. It then uses an encryption algorithm to calculate the extracted key information to obtain the hash value corresponding to the digital donation certificate. Afterward, the digital collectibles technology module can upload and store the aforementioned key information and hash value in the blockchain to complete the digitalization of the digital donation certificate. Blockchain-based digital collectibles are digital works, artworks, and commodities whose ownership is confirmed through a unique identifier using blockchain technology. Digital collectibles can mark their owners in the blockchain network and facilitate the traceability of subsequent circulation. Digital collectibles include, but are not limited to, various forms such as digital images, music, videos, electronic tickets, and digital souvenirs.

[0051] Optionally, in this embodiment, such as Figure 1As shown, the main function of the blockchain module is to store and record information related to digital donation certificates on the chain. This blockchain module can choose any underlying blockchain technology to build the blockchain network according to business needs, and the main entities of each node in the blockchain network can include charitable organizations, authoritative institutions, financial institutions, regulatory agencies, etc. Among them, charitable organizations can be responsible for operating the certificate management system and the blockchain module to at least store digital donation certificates on the chain. Financial institutions can reach a consensus on the information recorded in the digital donation certificates by verifying their internal transfer information; authoritative institutions can endorse the information shared on the blockchain, providing third-party credibility; regulatory agencies can access the information shared on the blockchain to audit the operation of funds and materials of charitable organizations in each period, enabling real-time supervision of charitable organizations.

[0052] It should be noted that by introducing a third-party notary office to endorse the blockchain and achieving consensus among nodes in the blockchain network, different business parties can obtain relevant information from the blockchain more conveniently and efficiently. The authenticity of this information is further guaranteed, reducing the cost and time of multi-party information verification and improving efficiency. Furthermore, the digital form of donation certificates enhances their portability. The addition of blockchain digital collection capabilities makes donation certificates more credible than ordinary electronic digital certificates, gaining recognition from relevant institutions and greatly expanding their usage scope. This ensures the certificates truly fulfill their purpose, facilitates inquiries and traceability by relevant institutions, and enables transparent supervision of charitable organizations, promoting more transparent and trustworthy management and enhancing their social credibility.

[0053] In one alternative embodiment, during the process of generating a digital donation certificate based on donation information, the certificate management system can obtain the target certificate format sent by the donation recipient, and then generate a digital donation certificate based on the donation information and the target certificate format.

[0054] Optionally, the certificate creation module can obtain the target certificate format sent by the donor when acquiring donation information. This target certificate format can be selected from a variety of optional graphic or 3D display modes built into the certificate creation module, or it can be customized by the donor. Then, the certificate creation module can generate a digital donation certificate based on the donation information and the target certificate format, according to the donor's personalized aesthetic needs.

[0055] Furthermore, in the process of generating the hash value corresponding to the digital donation certificate, the digital collection technology module can obtain the object information, donation date, donation amount, and recipient of the donation corresponding to the digital donation certificate, while also using the target certificate format as key information, thereby generating the hash value based on the object information, donation date, donation amount, recipient, and target certificate format.

[0056] It should be noted that by creating digital collectibles based on the personalized needs of the donors, donation certificates are given more collectible value, which can enhance the donation experience and novelty for the donors, thereby increasing public awareness of charitable causes.

[0057] In one optional embodiment, during the process of verifying the authenticity of a target digital donation certificate based on information stored in the blockchain, the certificate management system can calculate the hash value corresponding to the target digital donation certificate, and then determine the first target hash value corresponding to the query information in the certificate query instruction from the blockchain. Thus, if the hash value corresponding to the target digital donation certificate is the same as the first target hash value, the target digital donation certificate is determined to be authentic; if the hash value corresponding to the target digital donation certificate is different from the first target hash value, the target digital donation certificate is determined to be abnormal.

[0058] Optionally, the first target module can calculate the hash value of the acquired target digital donation certificate based on the donation information corresponding to the acquired target digital donation certificate. Alternatively, the first target module can calculate the hash value of the acquired target digital donation certificate based on the donation information corresponding to the acquired target digital donation certificate and the target certificate format. Then, the first target module can search the blockchain for the hash value (i.e., the first target hash value) corresponding to the query information in the aforementioned certificate query instruction. If the two hash values ​​are the same, the target digital donation certificate is determined to be genuine; otherwise, if the two hash values ​​are different, the target digital donation certificate is determined to be abnormal.

[0059] It should be noted that by comparing the hash value corresponding to the target digital donation certificate with the hash value stored in the blockchain, the authenticity of the target digital donation certificate is effectively verified.

[0060] In one optional embodiment, during the process of determining the permission information of the target object and determining the first target module based on the permission information, if the permission information of the target object is the first permission information, then the target object is determined as the first target object, and the certificate query module is determined as the first target module; if the permission information of the target object is the second permission information, then the target object is determined as the second target object, and the certificate display module is determined as the first target module, wherein the permission represented by the first permission information is higher than the permission represented by the second permission information.

[0061] In this embodiment, the permission information of authoritative users such as relevant authoritative institutions can be set as the first permission information in advance, and the permission information of non-authoritative users such as individuals or financial institutions can be set as the second permission information.

[0062] Optionally, the certificate query module is used to provide authoritative users (such as external authoritative institutions) with the function of querying donated certificates. That is, if the target object's permission information is the first permission information, then the certificate query module is determined as the first target module. For example, Figure 1 As shown, when a donor is processing a certain business (such as a tax deduction certificate), the external authoritative institution (i.e., the aforementioned first target) needs to synchronize the donor's donation certificate information. Therefore, the external authoritative institution can connect with the certificate query module. The certificate query module can obtain the target digital donation certificate from the digital collection technology module based on keywords such as the donor's identity identifier or certificate hash value in the query information provided by the external authoritative institution and verify the authenticity of the target digital donation certificate.

[0063] Optionally, the certificate display module is used to provide non-authoritative users (such as donors or related financial institutions) with a function to query donation certificates. That is, if the target object's permission information is at the second level, then the certificate display module is designated as the primary target module. For example, ... Figure 1 As shown, when the recipient of the donation (i.e., the aforementioned second target object) or other inquiring party (i.e., the aforementioned second target object) needs to query or browse the digital donation certificate, the certificate display module can obtain the target digital donation certificate from the digital collection technology module through the certificate query module based on keywords such as the donor's identity identifier or certificate number information in the query information provided by the inquiring party, and verify the authenticity of the target digital donation certificate through the certificate display module or the certificate query module.

[0064] It should be noted that since the first target module corresponds to the target method of feedback, the target object is responded to by the certificate query module when the target object has high permissions, and by the certificate display module when the target object has low permissions, so as to achieve accurate selection of the target method corresponding to different target objects.

[0065] In an optional embodiment, during the process of feeding back the target digital donation certificate to the target object in a targeted manner through the first target module, when the first target module is a certificate query module, the certificate management system can send the target digital donation certificate to the first target object; when the first target module is a certificate display module, the certificate management system can display the target digital donation certificate to the second target object.

[0066] Optionally, when the first target module is a certificate query module, such as Figure 1 As shown, the certificate query module can directly send the target digital donation certificate to the first target object so that the first target object can perform operations such as backup and storage of the digital donation certificate. When the first target module is the certificate display module, the certificate display module can avoid sending the target digital donation certificate directly to the second target object. Instead, it can convert the target digital donation certificate into the form of an image or text, and then display the real certificate information through the terminal device such as the mobile phone held by the second target object.

[0067] It should be noted that by providing the target digital donation certificate to the target object in different ways, the problem of easy forgery of the directly obtained target digital donation certificate by low-credibility objects or difficulty in preserving the target digital donation certificate in image form by high-credibility objects is avoided when providing the target digital donation certificate to different target objects in the same way.

[0068] In one optional embodiment, after presenting the target digital donation certificate to the second target object, the certificate management system can respond to the target certificate query instruction of the third target object, determine the target query information based on the target certificate query instruction, and then determine the third target hash value corresponding to the target identifier from the blockchain, thereby comparing whether the second target hash value and the third target hash value are the same, and feeding back the comparison result to the third target object. The third target object is used to process pending business for the second target object. The target query information includes at least the target identifier and the second target hash value provided by the second target object. The comparison result is used by the third target object to determine whether to process pending business for the second target object.

[0069] Optionally, when a donor conducts pending business at a relevant financial institution (i.e., the aforementioned third target), if the donor needs to display their digital donation certificate, the financial institution, after viewing the displayed digital donation certificate, can determine the target identifier (e.g., donor identity identifier, certificate number, etc.) and the second target hash value corresponding to the displayed digital donation certificate. Then, it sends a corresponding target certificate query instruction to the certificate management system for information verification. Subsequently, the certificate display module can determine the target identifier and the second target hash value from the target certificate query instruction, and find the third target hash value corresponding to the target identifier in the blockchain. The second and third target hash values ​​are then compared to obtain the comparison result, which is sent to the relevant financial institution. The relevant financial institution can access the certificate query website publicly accessible by the certificate management system to query the relevant digital donation certificate.

[0070] Optional, such as Figure 1As shown, if there is a node in the blockchain corresponding to the aforementioned third target object, the third target object can also directly interact with the blockchain to obtain the third target hash value corresponding to the target identifier, thereby realizing the information verification of the digital donation certificate displayed by the donation object.

[0071] Furthermore, when the relevant financial institution determines that the second target hash value is the same as the third target hash value, it can choose to process the pending business for the donor; otherwise, it can refuse to process the pending business for the donor.

[0072] It should be noted that by using a target certificate query command based on a third target object to provide a comparison result of the certificate hash value, the applicability of this application is improved, and it is easier to expand the application scope of donated certificates.

[0073] Optional, such as Figure 3 The following describes an optional application process of this application. Optionally, the process of digitizing a donation certificate may include the following steps:

[0074] 1. The recipient of the donation or the charitable organization to which the recipient donated calls the certificate creation module interface to pass the donation information to the certificate creation module.

[0075] 2. The certificate creation module generates a corresponding digital donation certificate based on the donation information and then transmits the digital donation certificate to the digital collection technology module for digital collection casting.

[0076] 3. The digital collection technology module calls the blockchain notarization smart contract to store the key information of the digital donation certificate (such as donation information, certificate format, etc.) and hash value on the blockchain.

[0077] Furthermore, such as Figure 3 As shown, when the inquiring party is an external authority, the process of querying and responding to digital donation certificates may include the following steps:

[0078] 4. External authoritative organizations access the certificate query module and send a certificate query command to query certificate information.

[0079] 5. The certificate query module accesses the digital collection technology module and queries the corresponding digital donation certificate based on the query information in the certificate query command.

[0080] 6. Based on the information sent by the certificate query module, the digital collection technology module returns the corresponding digital donation certificate to the certificate query module.

[0081] 7. The certificate query module verifies the authenticity of digital donation certificates and sends them to external authoritative institutions after successful verification.

[0082] Optional, such as Figure 3 As shown, when the inquirer is the recipient of the donation or other relevant organization, the process of querying and responding to a digital donation certificate may include the following steps:

[0083] 8. The recipient of the donation (or other relevant organization) accesses the certificate display module and sends a certificate query command to request to view the certificate information.

[0084] 9. Access the certificate query module to view certificate information.

[0085] 10. The certificate query module accesses the digital collection technology module, queries the corresponding digital donation certificate, verifies the authenticity of the obtained digital donation certificate, and then sends the digital donation certificate back to the certificate display module after the verification is successful.

[0086] 11. The certificate display module displays the digital donation certificate to the recipient (or other relevant organizations).

[0087] 12. Relevant financial institutions that handle pending transactions for donors (i.e., Figure 3 The querying party can use the certificate display module to invoke the blockchain query contract. Based on the certificate number or donor identity identifier obtained from the donation recipient, and the hash value, it can query the certificate information and hash value stored on the chain. The blockchain then uses the certificate display module to feed back the queried information to the relevant financial institution. Optionally, the certificate display module can also directly compare the two hash values ​​and feed back the relevant information with the comparison results to the relevant financial institution.

[0088] Therefore, the solution provided in this application achieves the purpose of verifying the authenticity of the certificate to be queried by the target object based on the information stored in the blockchain, and returning the certificate to the target object after successful verification. This achieves the technical effect of improving the authenticity of donation certificates, and solves the technical problem of low certificate authenticity caused by the ease of forgery of paper donation certificates in the prior art.

[0089] Example 2

[0090] According to an embodiment of the present invention, a blockchain-based certificate management device is provided, wherein, Figure 4 This is a schematic diagram of an optional certificate management device according to an embodiment of the present invention, such as... Figure 4 As shown, the device includes:

[0091] The first determining module 401 is used to determine the permission information of the target object and determine the first target module based on the permission information;

[0092] Response module 402 is used to respond to the certificate query command of the target object through the first target module;

[0093] The second determining module 403 is used to determine the target digital donation certificate to be queried by the certificate query instruction from the second target module, wherein the second target module is used to store the target digital donation certificate;

[0094] Feedback module 404 is used to verify the authenticity of the target digital donation certificate based on the information stored in the blockchain, and if the authenticity of the target digital donation certificate is confirmed, the target digital donation certificate is fed back to the target object in the target manner through the first target module. The blockchain is used to store at least the hash value corresponding to the digital donation certificate, and the first target module corresponds to the target manner.

[0095] It should be noted that the first determining module 401, the response module 402, the second determining module 403, and the feedback module 404 mentioned above correspond to steps S201 to S204 in the above embodiments. The examples and application scenarios implemented by the four modules and the corresponding steps are the same, but are not limited to the content disclosed in the above embodiment 1.

[0096] Optionally, the blockchain-based certificate management device further includes: a first acquisition module for acquiring donation information of the donation recipient to the target organization; a generation module for generating a digital donation certificate based on the donation information and generating a hash value corresponding to the digital donation certificate; and a storage module for storing the hash value corresponding to the digital donation certificate and the donation information in the blockchain.

[0097] Optionally, the generation module further includes: a second acquisition module for acquiring the target certificate format sent by the donation recipient; and a generation submodule for generating a digital donation certificate based on the donation information and the target certificate format.

[0098] Optionally, the feedback module further includes: a calculation module for calculating the hash value corresponding to the target digital donation certificate; a first determination submodule for determining, from the blockchain, the first target hash value corresponding to the query information in the certificate query instruction; a second determination submodule for determining, if the hash value corresponding to the target digital donation certificate is the same as the first target hash value, that the target digital donation certificate is authentic; and a third determination submodule for determining, if the hash value corresponding to the target digital donation certificate is different from the first target hash value, that the target digital donation certificate is abnormal.

[0099] Optionally, the first determining module further includes: a fourth determining submodule, used to determine the target object as the first target object if the permission information of the target object is the first permission information, and to determine the certificate query module as the first target module; and a fifth determining submodule, used to determine the target object as the second target object if the permission information of the target object is the second permission information, and to determine the certificate display module as the first target module, wherein the permission represented by the first permission information is higher than the permission represented by the second permission information.

[0100] Optionally, the feedback module further includes: a sending module, used to send the target digital donation certificate to the first target object when the first target module is a certificate query module; and a display module, used to display the target digital donation certificate to the second target object when the first target module is a certificate display module.

[0101] Optionally, the blockchain-based certificate management device further includes: a sixth determining submodule, used to respond to the target certificate query instruction of the third target object and determine the target query information based on the target certificate query instruction, wherein the third target object is used to process pending business for the second target object, and the target query information includes at least the target identifier and the second target hash value provided by the second target object; a seventh determining submodule, used to determine the third target hash value corresponding to the target identifier from the blockchain; and a comparison module, used to compare whether the second target hash value and the third target hash value are the same, and to feed back the comparison result to the third target object, wherein the comparison result is used by the third target object to determine whether to process pending business for the second target object.

[0102] Example 3

[0103] According to another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer-readable storage medium, and the computer program is configured to execute the above-described blockchain-based certificate management method at runtime.

[0104] Example 4

[0105] According to another aspect of the present invention, an electronic device is also provided, wherein, Figure 5 This is a schematic diagram of an optional electronic device according to an embodiment of the present invention, such as... Figure 5 As shown, the electronic device includes one or more processors; and a memory for storing one or more programs, which, when executed by one or more processors, enable the one or more processors to run the programs, wherein the programs are configured to execute the aforementioned blockchain-based certificate management method at runtime.

[0106] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0107] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0108] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.

[0109] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0110] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0111] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0112] The above are merely preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A blockchain-based certificate management method, characterized in that, include: Determine the permission information of the target object, and determine the first target module based on the permission information; The first target module responds to the certificate query command of the target object; The target digital donation certificate to be queried by the certificate query instruction is determined from the second target module, wherein the second target module is used to store the target digital donation certificate; The authenticity of the target digital donation certificate is verified based on the information stored in the blockchain. If the authenticity of the target digital donation certificate is confirmed, the target digital donation certificate is fed back to the target object in a target manner through the first target module. The blockchain is used to store at least the hash value corresponding to the digital donation certificate, and the first target module corresponds to the target manner. Specifically, the step of feeding back the target digital donation certificate to the target object in a targeted manner through the first target module includes: when the first target module is a certificate display module, displaying the target digital donation certificate to the second target object; After presenting the target digital donation certificate to the second target object, the method further includes: responding to a target certificate query instruction from a third target object, and determining target query information based on the target certificate query instruction, wherein the third target object is used to process pending business for the second target object, and the target query information includes at least a target identifier and a second target hash value provided by the second target object; determining a third target hash value corresponding to the target identifier from the blockchain; comparing whether the second target hash value and the third target hash value are the same, and feeding back the comparison result to the third target object, wherein the comparison result is used by the third target object to determine whether to process the pending business for the second target object.

2. The method according to claim 1, characterized in that, Before determining the permission information of the target object, the method further includes: Obtain donation information from recipients to target organizations; A digital donation certificate is generated based on the donation information, and a hash value corresponding to the digital donation certificate is generated. The hash value corresponding to the digital donation certificate and the donation information are stored in the blockchain.

3. The method according to claim 2, characterized in that, A digital donation certificate is generated based on the donation information, including: Obtain the target certificate format sent by the donation recipient; The digital donation certificate is generated based on the donation information and the target certificate format.

4. The method according to claim 1, characterized in that, The authenticity of the target digital donation certificate is verified based on information stored in the blockchain, including: Calculate the hash value corresponding to the target digital donation certificate; Determine the first target hash value corresponding to the query information in the certificate query instruction from the blockchain; If the hash value corresponding to the target digital donation certificate is the same as the first target hash value, the target digital donation certificate is determined to be authentic. If the hash value corresponding to the target digital donation certificate is different from the first target hash value, the target digital donation certificate is determined to be abnormal.

5. The method according to claim 1, characterized in that, Determining the permission information of the target object, and determining the first target module based on the permission information, includes: If the permission information of the target object is the first permission information, then the target object is determined to be the first target object, and the certificate query module is determined to be the first target module; If the permission information of the target object is the second permission information, then the target object is determined to be the second target object, and the certificate display module is determined to be the first target module, wherein the permission represented by the first permission information is higher than the permission represented by the second permission information.

6. The method according to claim 5, characterized in that, The method of feeding back the target digital donation certificate to the target object in a targeted manner through the first target module also includes: When the first target module is the certificate query module, the target digital donation certificate is sent to the first target object.

7. A blockchain-based certificate management device, characterized in that, include: The first determining module is used to determine the permission information of the target object and determine the first target module based on the permission information; The response module is used to respond to the certificate query command of the target object through the first target module; The second determining module is used to determine the target digital donation certificate to be queried by the certificate query instruction from the second target module, wherein the second target module is used to store the target digital donation certificate; The feedback module is used to verify the authenticity of the target digital donation certificate based on the information stored in the blockchain, and, if the authenticity of the target digital donation certificate is determined, to feed back the target digital donation certificate to the target object in a target manner through the first target module. The blockchain is used to store at least the hash value corresponding to the digital donation certificate, and the first target module corresponds to the target manner. The feedback module further includes a display module, used to display the target digital donation certificate to the second target object when the first target module is a certificate display module; The device further includes: a sixth determining submodule, configured to respond to a target certificate query instruction from a third target object and determine target query information based on the target certificate query instruction, wherein the third target object is used to process pending business for the second target object, and the target query information includes at least a target identifier and a second target hash value provided by the second target object; a seventh determining submodule, configured to determine a third target hash value corresponding to the target identifier from the blockchain; and a comparison module, configured to compare whether the second target hash value and the third target hash value are the same, and to feed back the comparison result to the third target object, wherein the comparison result is used by the third target object to determine whether to process the pending business for the second target object.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the blockchain-based certificate management method according to any one of claims 1 to 6 when it is run.

9. An electronic device, characterized in that, The electronic device includes one or more processors; A memory for storing one or more programs, which, when executed by one or more processors, enable the one or more processors to run the programs, wherein the programs are configured to execute the blockchain-based certificate management method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Law enforcement return system and method based on smart contract and workflow architecture

    CN112100635A

  • Electronic evidence storage and verification method and device based on block chain

    CN113129145A