CN113902442A - Donation service processing method and device based on block chain - Google Patents

Donation service processing method and device based on block chain Download PDF

Info

Publication number
CN113902442A
CN113902442A CN202111192819.9A CN202111192819A CN113902442A CN 113902442 A CN113902442 A CN 113902442A CN 202111192819 A CN202111192819 A CN 202111192819A CN 113902442 A CN113902442 A CN 113902442A
Authority
CN
China
Prior art keywords
donation
donated
block chain
amount data
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111192819.9A
Other languages
Chinese (zh)
Inventor
侯文圣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202111192819.9A priority Critical patent/CN113902442A/en
Publication of CN113902442A publication Critical patent/CN113902442A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Educational Administration (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a donation business processing method and a device based on a block chain, relating to the technical field of the block chain, wherein a donator node, a financial institution node and a donator node form a block chain network, and the method comprises the following steps: the donator node receives a donation request of a donator and sends the donation request to the block chain network; the financial institution node matches a target donated person according to the donation request, draws the donation amount data into a target donated person account, and sends the donation amount data to the block chain network according to the account notification; after receiving the account arrival notice, the donated node receives and stores the donated use detailed information of the donated person and sends the donated use detailed information to the block chain network; the financial institution node receives and stores the donation use detailed information, and the relational database is used for storing transaction information links associated with current financial institution users in the donation use detailed information and all block identifications associated with the transaction information links. The invention can ensure the correct use of the donation and conveniently track and inquire the use condition of the donation.

Description

Donation service processing method and device based on block chain
Technical Field
The invention relates to the technical field of block chains, in particular to a donation service processing method and device based on a block chain.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
In the business of public interest contributions, people often expect that the contributions are used correctly. However, in the conventional donation service, the flow direction of donations cannot be accurately tracked, and the correctness of the donation use depends on the personal ethical constraints of donors. There are no suitable mechanisms and techniques for ensuring proper use of the donations, and tracking and querying the donations is cumbersome.
Disclosure of Invention
The embodiment of the invention provides a donation business processing method based on a block chain, which is used for ensuring the correct use of donation and conveniently tracking and inquiring the use condition of donation, wherein a donator node, a financial institution node and a donator node form a block chain network, and the method comprises the following steps:
the method comprises the steps that a donator node receives a donation request of a donator and sends the donation request to a block chain network; the donation request comprises donation amount data;
the financial institution node receives a donation request sent through the blockchain network, matches a target donated person according to the donation request, sorts donation amount data into a target donated person account, sends a donation amount data account notification to the blockchain network;
after receiving a donation amount data income notice sent by a blockchain network, the donated node receives and stores donation use detailed information of the donated person aiming at the donation amount data, and sends the donation use detailed information to the blockchain network;
the financial institution node receives and stores the detailed information of the donation use sent through the blockchain network, and stores a transaction information link related to the current financial institution user in the detailed information of the donation use and all blockidentifications related to the transaction information link by using a relational database; wherein, the transaction information link and all the block identifications related to the transaction information link are used for tracking and inquiring the detailed information of the donation use.
The embodiment of the invention also provides a donation service processing device based on the block chain, which is used for ensuring the correct use of donation and conveniently tracking and inquiring the use condition of donation, wherein a donator node, a financial institution node and a donator node form a block chain network, and the device comprises:
the donator node is used for receiving a donation request of a donator and sending the donation request to the block chain network; the donation request comprises donation amount data;
the financial institution node is used for receiving the donation request sent by the blockchain network, matching the target donated persons according to the donation request, drawing the donation amount data into the accounts of the target donated persons, sending the account notification of the donation amount data to the blockchain network; receiving and storing the detailed information of the donation use sent through the blockchain network, and storing a transaction information link related to the current financial institution user in the detailed information of the donation use and all blockidentifiers related to the transaction information link by using a relational database; the transaction information link and all the block identifiers related to the transaction information link are used for tracking and inquiring the detailed information of the donation use;
and the donated node is used for receiving and storing the donated use detailed information of the donated person aiming at the donated amount data after receiving the donated amount data account arrival notice sent through the blockchain network, and sending the donated use detailed information to the blockchain network.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the donation service processing method based on the block chain.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the above donation service processing method based on the blockchain is stored in the computer-readable storage medium.
In the embodiment of the present invention, in a block chain-based donation service processing scheme, a donator node, a financial institution node, and a donator node form a block chain network, which is formed by: the donator node receives a donation request of a donator and sends the donation request to the block chain network; the donation request comprises donation amount data; the financial institution node receives a donation request sent through the blockchain network, matches a target donated person according to the donation request, sorts donation amount data into a target donated person account, sends a donation amount data account notification to the blockchain network; after receiving the donation amount data income notice sent by the blockchain network, the donated node receives and stores donation use detailed information of the donated person aiming at the donation amount data, and sends the donation use detailed information to the blockchain network; the financial institution node receives and stores the detailed information of the donation use sent through the blockchain network, and stores a transaction information link related to the current financial institution user in the detailed information of the donation use and all blockidentifications related to the transaction information link by using a relational database; the transaction information link and all the block identifications related to the transaction information link are used for tracking and inquiring the detailed information of the donation, and a method for hybrid storage of the block chains of the public welfare donation service and the relational database can be realized to track and display each donation, so that correct use of the donation and convenient tracking and inquiry of the use condition of the donation are ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a schematic flow chart of a donation service processing method based on a block chain according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a donation service processing method applied to a donator node in an embodiment of the present invention;
FIG. 3 is a diagram illustrating a data structure of a contributor in an embodiment of the present invention;
fig. 4 is a schematic flow chart of a donation service processing method applied to a donated node in an embodiment of the present invention;
FIG. 5 is a diagram illustrating a data structure of a donated party according to an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating a principle of block chain-based donation service processing according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a donation service processing device based on a block chain in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
Before describing the embodiments of the present invention, first, terms related to the present invention will be described.
1. Public welfare donation: a donation project targeted for populations suffering from natural disasters for post-disaster reconstruction and reproduction recovery.
2. Block chains: in essence, it is a shared database, and the data or information stored therein has the characteristics of being unforgeable, traceable in the whole process, traceable, publicly transparent, collectively maintained and the like. Based on the characteristics, the blockchain technology lays a solid trust foundation and creates a reliable cooperation mechanism.
3. Relational database: relational models are used to organize a database of data that stores data in rows and columns for easy understanding by a user, a series of rows and columns of a relational database are called tables, and a set of tables make up the database. A user retrieves data in a database by a query, which is an executable code that defines certain areas in the database. The relational model can be simply understood as a two-dimensional table model, and a relational database is a data organization composed of two-dimensional tables and relations between them. The method has better organization and query performance for the data of the strong association type.
In view of the technical problems in the prior art, the inventor proposes a block chain-based donation service processing scheme, which is a public welfare donation service construction scheme based on mixed storage, and introduces a block chain and relational database mixed storage mechanism into the donation service, so that donators and society can supervise donation use by using detailed uplink of donation use, and the record of donation use is reliable, public and transparent, and transaction block information and summaries are stored by using a relational database, thereby facilitating service inquiry. The mechanism ensures that the society can effectively supervise the use of the donation, strengthens the trust foundation between the donator (donator) and the donated person, and forms a forward feedback cycle. The embodiment of the invention describes a method for hybrid storage of a public welfare donation service application block chain and a relational database, which is used for tracking and showing each donation and ensuring the accuracy of fund use and the reliability of information.
Specifically, the scheme records the use condition of donated people on donation by constructing a consumption record structure, and ensures that transaction information is completely marked by applying a block chain, so that the transaction information is public and transparent. And a donation use path is reserved by using a relational database, so that query is facilitated. And constructing a synchronization mechanism, and generating a related transaction index and a related transaction abstract in the relational database after the block chain broadcasting. By the mixed storage method, the requirements of credibility and disclosure of information are met, the query and the block chain are relatively independent, and the high-frequency query requirement is met.
The block chain-based donation service processing scheme is described in detail below.
Fig. 1 is a schematic flow chart of a block chain-based donation service processing method according to an embodiment of the present invention, in which a donator node, a financial institution node, and a donator node form a block chain network, as shown in fig. 1, the block chain-based donation service processing method includes the following steps:
step 101: the method comprises the steps that a donator node receives a donation request of a donator and sends the donation request to a block chain network; the donation request comprises donation amount data;
step 102: the financial institution node receives a donation request sent through the blockchain network, matches a target donated person according to the donation request, sorts donation amount data into a target donated person account, sends a donation amount data account notification to the blockchain network;
step 103: after receiving a donation amount data income notice sent by a blockchain network, the donated node receives and stores donation use detailed information of the donated person aiming at the donation amount data, and sends the donation use detailed information to the blockchain network;
step 104: the financial institution node receives and stores the detailed information of the donation use sent through the blockchain network, and stores a transaction information link related to the current financial institution user in the detailed information of the donation use and all blockidentifications related to the transaction information link by using a relational database; wherein, the transaction information link and all the block identifications related to the transaction information link are used for tracking and inquiring the detailed information of the donation use.
The donation service processing method provided by the embodiment of the invention can realize a method for realizing mixed storage of the public welfare donation service application block chain and the relational database, so as to track and disclose each donation, ensure correct use of the donation and facilitate convenient tracking and query of the use condition of the donation. As described in detail below.
First, step 101 and step 102 are described together for ease of understanding.
In specific implementation, the donation process is shown in fig. 2, and mainly includes:
(1) the donor initiates a donation (initiates a donation request) and indicates whether it is a directed donation (directed donation type, i.e., the designated donator in fig. 2). Subsequent financial institution nodes (e.g., bank nodes) determine that the donation will be given directly to the donated person if it is a directed donation. If the donation is a non-directed donation (a non-directed donation type, i.e., a public donation in fig. 2), the donation is entered into a public fund pool to be matched to the donated person, as described in detail below with respect to step 102. That is, in one embodiment, the donation request may also include a donation type; the donation types may include a targeted donation type and a non-targeted donation type.
(2) After the donation of the donator is completed, the donation information enters the block chain network (namely, the donation request is sent to the block chain network), and firstly, matching of a specified donation target or matching of public donation is carried out through an intelligent contract (a method applied to a financial institution node), namely, the target donated people are distributed. And after matching is completed, generating block information, and then carrying out whole-network broadcasting.
(3) The local bank (current financial institution nodes) screens and stores local bank customers by monitoring broadcast information at nodes maintained in the blockchain. The use condition of the donation can be tracked in the subsequent steps, and the local storage is convenient for the client to inquire the donation information.
In one embodiment, the donation request further includes: donation transaction identification, donation person identification, donation time and donation use purpose.
In particular implementation, the data structure of the donator is shown in FIG. 3. And storing the transaction ID (identification), the donator ID, the donation time, the donation purpose, the donated person ID and the donation use balance of the donation.
In one embodiment, a financial institution node receiving a donation request sent over a blockchain network, matching a target donation according to the donation request, crediting a target donation account with donation amount data, sending a credit notification of the donation amount data to the blockchain network, comprising:
when a donation request sent through a blockchain network is received, identifying a donation type according to the donation request;
when the donation type is identified as the directional donation type, matching of a specified donation target is carried out, and a target donated person is matched;
and drawing the donation amount data into a target donated person account, and sending the donation amount data to an account notice to the block chain network.
During specific implementation, the detailed implementation mode that the financial institution nodes send the donation amount data to the account notification to the blockchain network improves the flexibility of donation business processing.
In one embodiment, the financial institution node receiving a donation request sent through the blockchain network, matching a target donation according to the donation request, drawing the donation amount data into a target donation account, sending the donation amount data to the blockchain network in an account notification, and may further include:
and when the donation type is identified to be a non-directional donation type, matching is carried out in the public fund pool, and the target donated people are matched.
During specific implementation, the financial institution nodes send the donation amount data to the detailed implementation mode of the block chain network for the account notification, so that the flexibility of donation business processing is further improved.
In the above steps 101 and 102, after the donation is made by the donator, a new transaction record is generated under the donation item, and the directed donation is performed or the donation is deposited into the total fund pool according to the intention of the donator. And matching, if the donator does not have the designated donation intention, writing the donation into a total fund pool, extracting the demand of the donator from the system, and matching.
Next, for ease of understanding, the above step 103 and step 104 will be described together.
In specific implementation, the process of using the client donation is shown in fig. 4, and mainly includes:
(1) the bank notifies the donated person to obtain the donation, namely the donated node receives the donation amount data sent by the blockchain network to the account notification.
(2) The client accepts and uses the donation, when using the donation, the usage details need to be filled out, and a certification file of the usage purpose of the donation, including but not limited to invoices, related certification materials and the like, is provided, namely, the donation usage detailed information of the donated person for the donation amount data is received and stored.
(3) The bank locally stores the donation use details to facilitate subsequent tracking and querying, i.e., the financial institution nodes receive and store the donation use details sent over the blockchain network.
(4) The bank sends the donation to the block chain network for public notice by using the details so as to achieve the purpose of public transparency.
In one embodiment, the donation usage details may include: donated transaction identification, donated person identification, donation use detail and donation use application certification file.
In practice, the data structure of the donated persons is shown in FIG. 5. Recording the transaction ID of the donation, the donated ID, the donator ID, the donation use summary and the donation use proof.
In the above step 103, after the donated person obtains the donation, the donation is ready for account, and the transaction activity can be performed. And recording, wherein for each amount of money used by the donated person, corresponding amount, use details, invoice record, transaction time and transaction place information are provided and recorded into a block chain.
In step 104, when a new transaction occurs, the blockchain broadcasts to generate a new block, extract block information (which may be implemented by a synchronization module), screen relevant records of my clients including those of contributors or contributors to my clients, record transaction block IDs and transaction summaries, store transaction indexes in the relational database, record IDs and summaries of each relevant transaction block (which may be implemented by a transaction index module), that is, record all transaction information links relevant to my clients (current financial institution), where each contribution is an independent link, so that the transaction records are conveniently presented in the foreground, record all relevant block IDs, and facilitate further block query.
The embodiment of the invention provides a block chain-based donation business processing method for a transaction intelligent contract, which is used for completing donation, matching, using and recording functions of money. And constructing a money use structure comprising the ID of the donated person, the money use amount, the money use abstract and the proof of money use. As one of the core data structures for blockchain transactions.
In addition, the donor nodes may be node a and node B in fig. 6, the donor nodes may be node E and node F in fig. 6, and the financial institution nodes may be node C and node D in fig. 6.
Embodiments of the present invention generally employ the following related art tools and protocols.
Oracle, a relational database management system of Oracle. It is a product that is always in the leading position in the field of databases. The Oracle database system is a popular relational database management system in the world at present, has good system portability, convenient use and strong function, and is suitable for various large, medium, small and microcomputer environments. The database scheme is high in efficiency, good in reliability and suitable for high throughput.
Hyperhedger Fabric, linux fund open source project for advancing blockchain digital technology and transaction verification initiated in 2015, join members including: the system comprises dozens of different interest bodies such as an ABN AMRO (Internet of things), an Essen philosophy (Accenture) and the like, and aims to enable members to cooperate together, establish an open platform, meet various user cases from multiple different industries and simplify the business process. Due to the characteristics of peer-to-peer networks, distributed ledger technology is fully shared, transparent and decentralized, and is well suited for applications in the financial industry, as well as numerous other industries such as manufacturing, banking, insurance, internet of things, and the like. Virtual and digital forms of value exchange, such as asset contracts, energy transactions, marriage certificates, tracking and transactions that can be conducted safely and efficiently at low cost, are achieved by creating published standards for distributed ledgers.
The donation service processing method based on the block chain provided by the embodiment of the invention adopts a mixed storage structure based on the block chain and a relational database. By the method, the characteristics of transparent disclosure and non-falsification of the block chain are utilized to ensure that each donation is clear and transparent to use and can be inquired and supervised by the public; the characteristic that the relational database is convenient to store and query is utilized, and the convenient tracking and query of the contribution condition by the client are ensured. Through constructing the consumption record structure, the service condition of the donated people to the donation is recorded, and the block chain is applied to ensure that the transaction information is completely marked, so that the transaction information is open and transparent. And a donation use path is reserved by using a relational database, so that query is facilitated. And constructing a synchronization mechanism, and generating a related transaction index and a related transaction abstract in the relational database after the block chain broadcasting.
The embodiment of the present invention further provides a donation service processing apparatus based on the block chain, as described in the following embodiments. Because the principle of the device for solving the problems is similar to the block chain-based donation service processing method, the implementation of the device can refer to the implementation of the block chain-based donation service processing method, and repeated parts are not described again.
Fig. 7 is a schematic structural diagram of a block chain-based donation service processing apparatus in an embodiment of the present invention, as shown in fig. 7, a donator node, a financial institution node, and a donator node form a block chain network, as shown in fig. 7, the block chain-based donation service processing apparatus includes:
the donator node 01 is used for receiving a donation request of a donator and sending the donation request to the block chain network; the donation request comprises donation amount data;
the financial institution node 02 is used for receiving a donation request sent through the blockchain network, matching a target donated person according to the donation request, drawing the donation amount data into a target donated person account, sending the donation amount data to the blockchain network through an account notification; receiving and storing the detailed information of the donation use sent through the blockchain network, and storing a transaction information link related to the current financial institution user in the detailed information of the donation use and all blockidentifiers related to the transaction information link by using a relational database; the transaction information link and all the block identifiers related to the transaction information link are used for tracking and inquiring the detailed information of the donation use;
and the donated node 03 is used for receiving and storing the donated use detailed information of the donated person aiming at the donated amount data after receiving the donated amount data account arrival notification sent through the blockchain network, and sending the donated use detailed information to the blockchain network.
In one embodiment, the donation request may also include a donation type; the donation types may include a directed donation type and a non-directed donation type;
the financial institution node is specifically configured to:
when a donation request sent through a blockchain network is received, identifying a donation type according to the donation request;
when the donation type is identified as the directional donation type, matching of a specified donation target is carried out, and a target donated person is matched;
and drawing the donation amount data into a target donated person account, and sending the donation amount data to an account notice to the block chain network.
In one embodiment, the financial institution node is further for: and when the donation type is identified to be a non-directional donation type, matching is carried out in the public fund pool, and the target donated people are matched.
In one embodiment, the donation request further includes: donation transaction identification, donation person identification, donation time and donation use purpose.
In one embodiment, the donation usage details may include: donated transaction identification, donated person identification, donation use detail and donation use application certification file.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the donation service processing method based on the block chain.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program for executing the above donation service processing method based on the blockchain is stored in the computer-readable storage medium.
In the embodiment of the present invention, in a block chain-based donation service processing scheme, a donator node, a financial institution node, and a donator node form a block chain network, which is formed by: the method comprises the steps that a donator node receives a donation request of a donator and sends the donation request to a block chain network; the donation request comprises donation amount data; the financial institution node receives a donation request sent through the blockchain network, matches a target donated person according to the donation request, sorts donation amount data into a target donated person account, sends a donation amount data account notification to the blockchain network; after receiving a donation amount data income notice sent by a blockchain network, the donated node receives and stores donation use detailed information of the donated person aiming at the donation amount data, and sends the donation use detailed information to the blockchain network; the financial institution node receives and stores the detailed information of the donation use sent through the blockchain network, and stores a transaction information link related to the current financial institution user in the detailed information of the donation use and all blockidentifications related to the transaction information link by using a relational database; the transaction information link and all the block identifications related to the transaction information link are used for tracking and inquiring the detailed information of the donation, and a method for hybrid storage of the block chains of the public welfare donation service and the relational database can be realized to track and display each donation, so that correct use of the donation is ensured, and the use condition of the donation is conveniently and rapidly tracked and inquired.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (12)

1. A donation service processing method based on a block chain is characterized in that a donator node, a financial institution node and a donator node form a block chain network, and the donation service processing method based on the block chain comprises the following steps:
the method comprises the steps that a donator node receives a donation request of a donator and sends the donation request to a block chain network; the donation request comprises donation amount data;
the financial institution node receives a donation request sent through the blockchain network, matches a target donated person according to the donation request, sorts donation amount data into a target donated person account, sends a donation amount data account notification to the blockchain network;
after receiving a donation amount data income notice sent by a blockchain network, the donated node receives and stores donation use detailed information of the donated person aiming at the donation amount data, and sends the donation use detailed information to the blockchain network;
the financial institution node receives and stores the detailed information of the donation use sent through the blockchain network, and stores a transaction information link related to the current financial institution user in the detailed information of the donation use and all blockidentifications related to the transaction information link by using a relational database; wherein, the transaction information link and all the block identifications related to the transaction information link are used for tracking and inquiring the detailed information of the donation use.
2. The blockchain-based donation transaction processing method according to claim 1, wherein the donation request further includes a donation type; the donation types comprise a directional donation type and a non-directional donation type;
financial institution node receives the donation request of sending through the block chain network, according to donation request matching out the target donated person, with donation amount data draw in the target donated person account, with donation amount data to account notice send to the block chain network, include:
when a donation request sent through a blockchain network is received, identifying a donation type according to the donation request;
when the donation type is identified as the directional donation type, matching of a specified donation target is carried out, and a target donated person is matched;
and drawing the donation amount data into a target donated person account, and sending the donation amount data to an account notice to the block chain network.
3. The blockchain-based donation transaction processing method according to claim 2, wherein the financial institution node receives a donation request transmitted through the blockchain network, matches a target donated person according to the donation request, sorts the donation amount data into a target donated person account, and transmits the donation amount data account notification to the blockchain network, further comprising:
and when the donation type is identified to be a non-directional donation type, matching is carried out in the public fund pool, and the target donated people are matched.
4. The block chain-based donation service processing method according to claim 1, wherein the donation request further includes: donation transaction identification, donation person identification, donation time and donation use purpose.
5. The block chain-based donation service processing method according to claim 1, wherein the donation use detailed information includes: donated transaction identification, donated person identification, donation use detail and donation use application certification file.
6. The utility model provides a donation business processing apparatus based on block chain, its characterized in that, donation side node, financial institution node and donated side node constitute block chain network, donation business processing apparatus based on block chain includes:
the donator node is used for receiving a donation request of a donator and sending the donation request to the block chain network; the donation request comprises donation amount data;
the financial institution node is used for receiving the donation request sent by the blockchain network, matching the target donated persons according to the donation request, drawing the donation amount data into the accounts of the target donated persons, sending the account notification of the donation amount data to the blockchain network; receiving and storing the detailed information of the donation use sent through the blockchain network, and storing a transaction information link related to the current financial institution user in the detailed information of the donation use and all blockidentifiers related to the transaction information link by using a relational database; the transaction information link and all the block identifiers related to the transaction information link are used for tracking and inquiring the detailed information of the donation use;
and the donated node is used for receiving and storing the donated use detailed information of the donated person aiming at the donated amount data after receiving the donated amount data account arrival notice sent through the blockchain network, and sending the donated use detailed information to the blockchain network.
7. The blockchain-based donation transaction processing apparatus according to claim 6, wherein the donation request further includes a donation type; the donation types comprise a directional donation type and a non-directional donation type;
the financial institution node is specifically configured to:
when a donation request sent through a blockchain network is received, identifying a donation type according to the donation request;
when the donation type is identified as the directional donation type, matching of a specified donation target is carried out, and a target donated person is matched;
and drawing the donation amount data into a target donated person account, and sending the donation amount data to an account notice to the block chain network.
8. The blockchain-based donation transaction processing apparatus according to claim 7, wherein the financial institution node is further configured to: and when the donation type is identified to be a non-directional donation type, matching is carried out in the public fund pool, and the target donated people are matched.
9. The blockchain-based donation transaction processing apparatus according to claim 6, wherein the donation request further includes: donation transaction identification, donation person identification, donation time and donation use purpose.
10. The blockchain-based donation transaction processing apparatus according to claim 6, wherein the donation use detail information includes: donated transaction identification, donated person identification, donation use detail and donation use application certification file.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 5 when executing the computer program.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 5.
CN202111192819.9A 2021-10-13 2021-10-13 Donation service processing method and device based on block chain Pending CN113902442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111192819.9A CN113902442A (en) 2021-10-13 2021-10-13 Donation service processing method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111192819.9A CN113902442A (en) 2021-10-13 2021-10-13 Donation service processing method and device based on block chain

Publications (1)

Publication Number Publication Date
CN113902442A true CN113902442A (en) 2022-01-07

Family

ID=79191899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111192819.9A Pending CN113902442A (en) 2021-10-13 2021-10-13 Donation service processing method and device based on block chain

Country Status (1)

Country Link
CN (1) CN113902442A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109242483A (en) * 2018-08-07 2019-01-18 阿里巴巴集团控股有限公司 A kind of dual trading method and system based on centralization and decentralization
CN110489413A (en) * 2019-07-15 2019-11-22 杭州复杂美科技有限公司 A kind of storage of transaction record, querying method and system, equipment and storage medium
CN111339106A (en) * 2020-05-18 2020-06-26 杭州趣链科技有限公司 Block chain data indexing method
CN111815242A (en) * 2020-07-15 2020-10-23 中国建设银行股份有限公司 Donation information processing method, device, equipment and storage medium
CN112884560A (en) * 2021-03-16 2021-06-01 中国工商银行股份有限公司 Data processing method, related node and system in public welfare management block chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109242483A (en) * 2018-08-07 2019-01-18 阿里巴巴集团控股有限公司 A kind of dual trading method and system based on centralization and decentralization
CN110489413A (en) * 2019-07-15 2019-11-22 杭州复杂美科技有限公司 A kind of storage of transaction record, querying method and system, equipment and storage medium
CN111339106A (en) * 2020-05-18 2020-06-26 杭州趣链科技有限公司 Block chain data indexing method
CN111815242A (en) * 2020-07-15 2020-10-23 中国建设银行股份有限公司 Donation information processing method, device, equipment and storage medium
CN112884560A (en) * 2021-03-16 2021-06-01 中国工商银行股份有限公司 Data processing method, related node and system in public welfare management block chain

Similar Documents

Publication Publication Date Title
US10402796B2 (en) Application life-cycle transition record recreation system
US20190073646A1 (en) Consolidated blockchain-based data transfer control method and system
CN109859043B (en) Transaction clearing method and transaction clearing system
CN105446991A (en) Data storage method, query method and device
Machmud et al. SMEs’ access to finance: an Indonesia case study
CN109783653A (en) A kind of inquiry system of management and the retrospect of the knowledge mapping based on block chain technology
CN103440557A (en) Generation method and system for group consolidated accounts and consolidated statements
CN108734457A (en) A kind of Withdrawing method unified under cash register system
CN109447802B (en) Fund management system based on block chain technology
CN104077680A (en) Contract management system for E-business platform
WO2019019447A1 (en) Annuity data processing method and device, server and storage medium
CN106447550A (en) MySQL based real estate sales management system
CN104657808A (en) System and method capable of realizing real-time inquiry and management of fund data of enterprise
CN109101831A (en) Science and technology conversion service platform based on block chain technology
CN115168460A (en) Data processing method, data transaction system, device and storage medium
CN102208061A (en) Data cancel after verification processing device and method
CN108765106A (en) A kind of integrated financial affairs receipt generation method of industry wealth
CN104574182A (en) Bank reconciliation account configuration method and device
CN112269829B (en) Block chain data management method based on resource recovery system platform
Huda Waqf blockchain in indonesia
CN113902442A (en) Donation service processing method and device based on block chain
Malathi et al. A Design Framework for Smart Ration Shop Using Blockchain and IoT Technologies.
CN113935836B (en) Cross-border payment method, system, equipment and medium based on Fabric alliance chain
CN113643032A (en) Information processing method and device based on block chain and data management system
CN109767248B (en) Customer demand information processing method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination