A donation data processing method, device and readable medium based on blockchain

Through third-party institutions and recipients encrypt and decrypt donation request information on the blockchain, the problem that cannot be verified in the processing of blockchain donation data is solved, the transparency and efficient implementation of donation data are achieved, and the efficiency of fund use is improved. and transparency.

CN111738704BActive Publication Date: 2024-12-27YLZ INFORMATION TECHNOLOGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010475125.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-29
Publication Date
2024-12-27
Estimated Expiration
2040-12-27

AI Technical Summary

Technical Problem

The existing blockchain donation data cannot be effectively verified, resulting in opaque and untraceable flow of fund data.

Method used

The blockchain donation request account was jointly initiated by a third-party organization and the recipient, and the donation request information was encrypted using the respective public keys, and the donation data was decrypted using the private key to confirm the donation data processing to ensure the transparency and traceability of the donation data.

Benefits of technology

It has achieved effective confirmation of donation data, avoided formalistic donations, ensured efficient implementation of donations, improved efficiency and transparency of fund use, and reduced risk of corruption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111738704B_ABST
    Figure CN111738704B_ABST
Patent Text Reader

Abstract

The present invention provides a donation data processing method, device and readable medium based on blockchain, wherein the method includes: a third-party institution and a donee jointly initiate blockchain donation request account information, and create a corresponding blockchain donation request account, and use the public keys of the two blockchain donation request accounts to jointly encrypt the donation request information; the encrypted donation request information is sent to the blockchain public module, so that the blockchain public module is publicized to the donor; the donor issues a donation instruction to a bank institution according to the received donation request information, and the bank institution sends the donation fund information to the recipient's blockchain donation request account; the blockchain donation request account is jointly decrypted and confirmed according to the private keys of the third-party institution and the donee to complete the donation data processing. The donation data processing method based on blockchain provided by the present invention effectively solves the problem that the current donation data cannot be effectively verified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of charitable donations, and in particular to a donation data processing method, device and readable medium based on blockchain. Background Art

[0002] Charity is a great cause that can help families or individuals in need get rid of difficulties and illnesses. However, most existing charity platforms have problems such as slow fund data flow, long fund flow cycle, and inability to meet the timeliness of charity needs; as well as opaque fund data flow and difficulty in tracing.

[0003] In order to make the charity fund data more transparent, a Chinese patent application with publication number CN109242477A and publication date January 18, 2019, disclosed a blockchain-based charity donation method to improve the transparency of donations and enhance the trust between the two parties. The application of blockchain technology in the charity field can start from the donation link to ensure that every transfer of funds and materials is more open and transparent.

[0004] However, in the current donation data processing combined with blockchain, there is still a problem of being unable to effectively verify the donation data. Summary of the invention

[0005] In order to solve the problem mentioned in the above background technology that the donation data processing combined with blockchain still cannot effectively verify the donation data. The present invention provides a donation data processing method, device and readable medium based on blockchain, wherein the donation data processing method based on blockchain includes:

[0006] S1. The third-party institution and the donee jointly initiate blockchain donation request account information and create a corresponding blockchain donation request account, and use the public keys of the two blockchain donation request accounts to jointly encrypt the donation request information;

[0007] S2. The encrypted donation request information is sent to the blockchain publicizing module, so that the blockchain publicizing module publicizes it to the donor;

[0008] S3. The donor issues a donation instruction to the banking institution based on the donation request information received, and the banking institution sends the donation fund information to the recipient’s blockchain donation request account;

[0009] S4. The blockchain donation request account decrypts and confirms the donation data processing based on the private keys of the third-party organization and the recipient.

[0010] Furthermore, step S2 also includes verifying the donation request account information by a regulatory agency before the encrypted donation request account information is sent to the blockchain public disclosure module.

[0011] Furthermore, the information data of the third-party institution is provided with a first suffix; the information data of the banking institution is provided with a second suffix; the information data of the regulatory agency is provided with a third suffix; the information data of the donor's blockchain donation account is provided with a fourth suffix; the blockchain donation request account includes a blockchain account for receiving special donations and a blockchain account for seeking help; the information data of the blockchain account for seeking help is provided with a fifth suffix; the information data of the blockchain account for receiving special donations is provided with a sixth suffix.

[0012] Furthermore, the first suffix is ​​.hos; the second suffix is ​​.bank; the third suffix is ​​.sup; the fourth suffix is ​​.hel; the fifth suffix is ​​.pat; and the sixth suffix is ​​.con.

[0013] Furthermore, the donation request information includes the donation amount, user name, name of the third-party organization, description of the medical condition, ID number, and blockchain account names of the third-party organization and the user.

[0014] Furthermore, the donated funds in step S3 are settled through multiple banks in the blockchain network, including offline bank accounts and smart contract accounts.

[0015] Furthermore, it also includes: if the donated funds exceed the fundraising amount in the donation request information, the excess amount is returned to the donor's donation account.

[0016] Furthermore, the third-party institution includes at least one of the following: a medical institution and an educational institution.

[0017] The present invention further provides a device for processing donation data based on blockchain, the device comprising a processor and a memory, the processor being connected to the memory via a bus, the memory storing machine-readable code, and the processor executing the machine-readable code in the memory to execute any of the methods described above.

[0018] The present invention further provides a computer-readable storage medium, on which a computer program code is stored. When the computer program code is executed by a computer, any of the above methods is executed.

[0019] The donation data processing method based on blockchain provided by the present invention utilizes the public keys of the blockchain donation request accounts of a third-party organization and a donee to jointly encrypt the donation request information, and then utilizes the private keys of the third-party organization and the donee to decrypt the blockchain donation request account; by encrypting and then decrypting the donation request information data, the purpose of effectively verifying the donation data is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0021] Figure 1 A flowchart illustrating a donation data processing method based on blockchain provided by the present invention;

[0022] Figure 2 A schematic diagram of a device for blockchain-based donation data processing provided by the present invention. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] The embodiment of the present invention provides a donation data processing method, device and readable medium based on blockchain, wherein the donation data processing method based on blockchain includes:

[0025] S1. The third-party institution and the donee jointly initiate blockchain donation request account information and create a corresponding blockchain donation request account, and use the public keys of the two blockchain donation request accounts to jointly encrypt the donation request information;

[0026] S2. The encrypted donation request information is sent to the blockchain publicizing module, so that the blockchain publicizing module publicizes it to the donor;

[0027] S3. The donor issues a donation instruction to the banking institution based on the donation request information received, and the banking institution sends the donation fund information to the recipient’s blockchain donation request account;

[0028] S4. The blockchain donation request account decrypts and confirms the donation data processing based on the private keys of the third-party organization and the recipient.

[0029] When implementing it, Figure 1 As shown, the donation data processing method based on blockchain includes:

[0030] S1. The third-party institution and the donee jointly initiate blockchain donation request account information and create a corresponding blockchain donation request account. The donation request information is encrypted using the public keys of the two blockchain donation request accounts. In this step, after the donee passes the real-name authentication through a third-party institution (such as a hospital or school) and uploads the help request information, the third-party institution verifies its authenticity and then creates a blockchain donation request account for the donee through a smart contract. After the third-party institution uploads its business license, etc., it can successfully register an account and create a third-party general blockchain account through a smart contract.

[0031] When a third-party institution and a donee jointly initiate a blockchain donation request account information on the blockchain, the blockchain smart contract can create a corresponding blockchain donation request account according to the request, wherein the donee's blockchain donation request account includes a help-seeking blockchain account and a special donation receiving blockchain account; the donation request information is encrypted using the respective public keys of the help-seeking blockchain account and the third-party institution's blockchain donation request account; the donation request information includes the donation amount, user name, third-party institution name, medical condition description, ID number, blockchain account names of the third-party institution and the user, etc.;

[0032] S2. The encrypted donation request information is sent to the blockchain public announcement module so that the blockchain public announcement module can announce it to the donor. In this step, the blockchain public announcement module communicates with the smart contract. After successfully creating the help-seeking blockchain account and the special donation receiving blockchain account, the smart contract sends the encrypted relevant donation request information to the blockchain public announcement module for synchronization. The blockchain public announcement module includes but is not limited to a charity information display screen for charity information release, etc. The donation request information is made public and displayed by the blockchain public announcement module so that the donor can obtain the information that the recipient needs help.

[0033] S3. The donor issues a donation instruction to the bank institution based on the donation request information received, and the bank institution sends the donation fund information to the recipient's blockchain donation request account. In this step, the donor enters the donation registration system. The first time he enters, he will pass the real-name authentication and obtain the blockchain account of the displacement. The second time he enters, he will directly log in with the blockchain account. The same applies to third-party institutions.

[0034] S4. The blockchain donation request account decrypts and confirms the completion of donation data processing based on the private keys of the third-party organization and the recipient. In this step, the special donation blockchain account is jointly controlled based on the private keys of the third-party general blockchain account and the recipient's request blockchain account to decrypt and confirm the completion of donation data processing to unlock the account.

[0035] Through the above method, when the recipient wants to use the funds, he or she needs the cooperation of a third-party agency. Similarly, the third-party agency also needs the cooperation of the recipient, thus avoiding formalistic donations and ensuring that the donated funds are efficiently distributed to individuals.

[0036] The blockchain-based donation data processing method is applied to smart contracts. Through the smart contract, a donation request account jointly initiated by a third-party institution and a donee is received and a corresponding blockchain donation request account is created. The donation request information is jointly encrypted using the public keys of the two blockchain donation request accounts, the donation request information is forwarded, and the donation amount of the donor and the joint private key of the donee and the third-party medical institution are received to decrypt the account.

[0037] In addition, a smart contract is a computer protocol designed to communicate, verify or execute contracts in an information-based manner. Smart contracts allow for trusted transactions without a third party, which are traceable and irreversible. The structural principles of smart contracts belong to the existing technology and will not be elaborated here.

[0038] The blockchain-based donation data processing method provided by the embodiment of the present invention utilizes the public keys of the blockchain donation request accounts of the third-party organization and the donee to jointly encrypt the donation request information, and then utilizes the private keys of the third-party organization and the donee to decrypt the blockchain donation request account; by encrypting the donation request information data and then jointly and collaboratively decrypting it, the purpose of effectively verifying the donation data is achieved, thereby avoiding formalistic donations, ensuring that the donated funds are efficiently implemented to individuals, and greatly improving the efficiency of fund use.

[0039] At the same time, combining donation data with blockchain improves the efficiency of fund data circulation, making the entire donation process very efficient and transparent. In this way, not only can donors obtain provable electronic donation certificates, but also people in need can shorten the time of seeking help, improve the authenticity of seeking help and the success rate of obtaining help;

[0040] Since everything is done on the blockchain and cannot be tampered with, the possibility of individuals defrauding aid funds and squandering them is avoided. Even if the hospital and the patient jointly defraud aid funds, once discovered, the hospital's reputation will suffer huge losses, making the cost of doing evil higher. The above solution can also be used in different fields such as education for poor students.

[0041] Preferably, step S2 also includes verifying the donation request account information by a regulatory agency before the encrypted donation request account information is sent to the blockchain public disclosure module.

[0042] In specific implementation, step S2 also includes verifying the encrypted donation request account information through the regulatory agency before sending it to the blockchain public module. The regulatory agency can supervise the behavior on the entire donation chain, and the donor can also track the use of each donation, fully breaking the opaque phenomenon in the traditional charity field in the past and avoiding corruption.

[0043] Preferably, the information data of the third-party institution is provided with a first suffix; the information data of the banking institution is provided with a second suffix; the information data of the regulatory agency is provided with a third suffix; the information data of the donor's blockchain donation account is provided with a fourth suffix; the blockchain donation request account includes a blockchain account for receiving special donations and a blockchain account for asking for help; the information data of the blockchain account for asking for help is provided with a fifth suffix; the information data of the blockchain account for receiving special donations is provided with a sixth suffix.

[0044] Preferably, the first suffix is ​​.hos; the second suffix is ​​.bank; the third suffix is ​​.sup; the fourth suffix is ​​.hel; the fifth suffix is ​​.pat; and the sixth suffix is ​​.con.

[0045] In specific implementation, the suffix of the information data of third-party institutions is .hos; the suffix of the information data of banking institutions is .bank; the suffix of the information data of regulatory agencies is .sup; the suffix of the information data of the donor's blockchain donation account is .hel; the suffix of the information data of the help-seeking blockchain account is .pat; the suffix of the information data of the blockchain account receiving special donations is .con.

[0046] In this blockchain-based donation data processing method, banking institutions are the main block nodes, and all actions to register accounts in the blockchain need to be authorized. Only the third-party general blockchain account ending in .hos can create a special donation blockchain account ending in .con for the recipient. The special donation blockchain account ending in .con must be controlled by .hos and .pat. The account ending in .bank is a banking institution blockchain account, and only the bank account ending in .bank can help the donor create a .hel donation account, that is, the account ending in .hel is the donor account, and the supervision module is a special permission account ending in .sup.

[0047] The embodiment provided by the present invention defines permissions for accounts ending with different suffixes, making the behaviors on the chain more visualized and standardized.

[0048] Accounts ending in .sup have the right to audit and supervise the entire network. Since all operations are recorded on the chain, regulatory authorities can conduct post-event spot checks.

[0049] Preferably, the donated funds in step S3 are settled through multiple banks in the blockchain network, including offline bank accounts and smart contract accounts.

[0050] Preferably, the method further comprises: if the donated funds exceed the fundraising amount in the donation request information, the excess amount is returned to the donation account of the donor.

[0051] During specific implementation, it also includes: if it is determined that the donated funds exceed the fundraising amount in the donation request information, the blockchain account receiving the special donation will return the excess amount to the donor's donation account, thereby avoiding the problem of over-donation and preventing the donor's donations from being abused.

[0052] like Figure 2 As shown, an embodiment of the present invention further provides a device for processing donation data based on blockchain, the device comprising a processor and a memory, the processor being connected to the memory via a bus, the memory storing machine-readable code, and the processor executing the machine-readable code in the memory to execute any of the methods described above.

[0053] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program code is stored. When the computer program code is executed by a computer, any of the above methods is executed.

[0054] Although the terminology such as third party institution, storage, readable medium, etc. is used more frequently in this article, the possibility of using other terms is not excluded. The use of these terms is only for the purpose of more conveniently describing and explaining the essence of the present invention; interpreting them as any additional limitation is contrary to the spirit of the present invention.

[0055] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A donation data processing method based on blockchain, characterized in that ,include: S1. The third-party institution and the donee jointly initiate blockchain donation request account information and create a corresponding blockchain donation request account, and use the public keys of the two blockchain donation request accounts to jointly encrypt the donation request information; S2. The encrypted donation request information is sent to the blockchain publicizing module, so that the blockchain publicizing module publicizes it to the donor; S3. The donor issues a donation instruction to the banking institution based on the donation request information received, and the banking institution sends the donation fund information to the recipient’s blockchain donation request account; S4. The blockchain donation request account decrypts and confirms the donation data processing based on the private keys of the third-party organization and the recipient; Wherein, step S2 further includes verifying the donation request account information through a regulatory agency before the encrypted donation request account information is sent to the blockchain public disclosure module; The information data of the third-party institution is provided with a first suffix; the information data of the banking institution is provided with a second suffix; the information data of the regulatory agency is provided with a third suffix; the information data of the donor's blockchain donation account is provided with a fourth suffix; the blockchain donation request account includes a blockchain account for receiving special donations and a blockchain account for asking for help; the information data of the blockchain account for asking for help is provided with a fifth suffix; the information data of the blockchain account for receiving special donations is provided with a sixth suffix; The first suffix is ​​.hos; the second suffix is ​​.bank; the third suffix is ​​.sup; the fourth suffix is ​​.hel; the fifth suffix is ​​.pat; and the sixth suffix is ​​.con; The suffix of the information data of third-party institutions is .hos; the suffix of the information data of banking institutions is .bank; the suffix of the information data of regulatory agencies is .sup; the suffix of the information data of the donor's blockchain donation account is .hel; the suffix of the information data of the help-seeking blockchain account is .pat; the suffix of the information data of the blockchain account receiving special donations is .con; With banking institutions as the main block-producing nodes, all actions of registering accounts in the blockchain need to be authorized. Only the third-party general blockchain account ending in .hos creates a special donation blockchain account ending in .con for the recipient. The special donation blockchain account ending in .con is jointly controlled by .hos and .pat; and the one ending in .bank is a banking institution blockchain account. Only the bank account ending in .bank creates a donation account named .hel for the donor, that is, the account ending in .hel is the donor account, and the supervision module is a special permission account ending in .sup.

2. The donation data processing method based on blockchain according to claim 1 is characterized in that: The donation request information includes the donation amount, user name, name of the third-party organization, medical condition description, ID number, and blockchain account names of the third-party organization and user.

3. The donation data processing method based on blockchain according to claim 1 is characterized in that: The donated funds in step S3 are settled through multiple banks in the blockchain network, including offline bank accounts and smart contract accounts.

4. The donation data processing method based on blockchain according to claim 1 is characterized in that: Also includes: If the donated funds exceed the fundraising amount in the donation request information, the excess amount will be returned to the donor's donation account.

5. The donation data processing method based on blockchain according to claim 1 is characterized in that: The third-party institution includes at least one of the following: a medical institution and an educational institution.

6. A device for processing donation data based on blockchain, characterized in that: The device includes a processor and a memory, wherein the processor is connected to the memory via a bus, wherein the memory stores a machine-readable code, and the processor executes the machine-readable code in the memory to execute the method according to any one of claims 1 to 5.

7. A computer-readable storage medium, characterized in that: The storage medium stores computer program code, and when the computer program code is executed by a computer, the method of any one of claims 1 to 4 is executed.