CN110597813B - Information recording method, device, equipment and storage medium based on blockchain - Google Patents

Information recording method, device, equipment and storage medium based on blockchain Download PDF

Info

Publication number
CN110597813B
CN110597813B CN201910852670.9A CN201910852670A CN110597813B CN 110597813 B CN110597813 B CN 110597813B CN 201910852670 A CN201910852670 A CN 201910852670A CN 110597813 B CN110597813 B CN 110597813B
Authority
CN
China
Prior art keywords
donation
information
blockchain
party
contribution value
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.)
Active
Application number
CN201910852670.9A
Other languages
Chinese (zh)
Other versions
CN110597813A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910852670.9A priority Critical patent/CN110597813B/en
Publication of CN110597813A publication Critical patent/CN110597813A/en
Application granted granted Critical
Publication of CN110597813B publication Critical patent/CN110597813B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • 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/23Updating
    • 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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • 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/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Abstract

The invention provides an information recording method, device, equipment and storage medium based on a blockchain; the method comprises the following steps: receiving at least one donation message sent by a donation party for at least one donation item, and storing the at least one donation message in a blockchain; counting the donation information in at least one donation information of the donation party, obtaining donation summary information of the donation party, and storing the donation summary information into a blockchain; calculating a contribution value of a donator according to the donation summary information, and storing the contribution value into a blockchain; receiving privilege exercise information for the donator sent by the service side through the contribution value, and storing the privilege exercise information in a blockchain; and calculating an updated contribution value according to the contribution value and the privilege exercise information, and storing the updated contribution value in the blockchain to finish information recording. According to the invention, the information recording efficiency of the donation party can be improved, and the information transparency of the donation information can be improved.

Description

Information recording method, device, equipment and storage medium based on blockchain
Technical Field
The present invention relates to blockchain technologies, and in particular, to a blockchain-based information recording method, apparatus, device, and storage medium.
Background
In recent years, more and more personal public welfare activities can be performed on an internet platform, such as communication public welfare and water drop staging, and people with difficulty are directly helped, so that great convenience is brought to the public welfare activities. In conducting public welfare activities via an internet platform, it is common for a donor to donate public welfare to an account of the donor, such as an account of a donation facility or a personal account, via the internet platform, the public welfare being stored in the account of the donor.
However, the public welfare fund is stored in the account of the donor, and the donation of the public welfare is only actively disclosed by the donor, so that the transparency degree of the information about the public welfare is low, and the recording capability of the donor for the public welfare of the donor is limited, so that the information recording efficiency for the public welfare of the donor is low.
Disclosure of Invention
The embodiment of the invention provides a blockchain-based information recording method, a blockchain-based information recording device and a blockchain-based information recording storage medium, which can improve the information recording efficiency for a donator and improve the information transparency of donated information.
The technical scheme of the embodiment of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a blockchain-based information recording method, including:
receiving at least one donation information sent by a donation party for at least one donation item, and storing the at least one donation information in the blockchain; the at least one donation item is initiated by a donation party;
counting the donation information in at least one donation information of the donation party, obtaining donation summary information of the donation party, and storing the donation summary information into the blockchain; the donation summary information includes donation information for each of the at least one donation items by the donor;
calculating a contribution value of the donator according to the donation summary information, and storing the contribution value into the blockchain; the contribution value characterizes a degree of contribution of the donor to the at least one donation item;
receiving privilege exercise information sent by a server for the donor through the contribution value, and storing the privilege exercise information in the blockchain; the privilege exercise information characterizes a priority right given to the donor by the service party;
And calculating an updated contribution value according to the contribution value and the privilege exercise information, and storing the updated contribution value in the blockchain to complete information recording.
In a second aspect, an embodiment of the present invention provides a blockchain-based information recording device, including:
a receiving module for receiving at least one donation information sent by a donator for at least one donation item, the at least one donation information being stored in the blockchain; the at least one donation item is initiated by a donation party; receiving privilege exercise information sent by a server for the donor through the contribution value, and storing the privilege exercise information in the blockchain; the privilege exercise information characterizes a priority right given to the donor by the service party;
the statistics module is used for counting the donation information in at least one donation information of the donation party, obtaining donation summary information of the donation party, and storing the donation summary information into the blockchain; the donation summary information includes donation information for each of the at least one donation items by the donor;
The calculation module is used for calculating the contribution value of the donator according to the donation summary information and storing the contribution value into the blockchain; the contribution value characterizes a degree of contribution of the donor to the at least one donation item; and calculating an updated contribution value according to the contribution value and the privilege exercise information, and storing the updated contribution value in the blockchain to complete information recording.
In a third aspect, an embodiment of the present invention provides a blockchain-based information recording device, including:
a memory for storing executable information recording instructions;
and the processor is used for realizing the information recording method based on the block chain when executing the executable information recording instruction stored in the memory.
In a fourth aspect, an embodiment of the present invention provides a storage medium storing executable information recording instructions for implementing the blockchain-based information recording method provided by the embodiment of the present invention when the executable information recording instructions are executed by a processor.
The embodiment of the invention has the following beneficial effects: the method comprises the steps of receiving at least one donation information of a donation party aiming at least one donation project, storing the at least one donation information in a blockchain network, summarizing all donation information in the at least one donation information to obtain donation summarized information of the donation party, storing the donation summarized information in the blockchain network, calculating a contribution value of the donation party according to the donation summarized information, receiving privilege exercise information of a service party aiming at the donation party through the contribution value, storing the privilege exercise information in the blockchain network, calculating an updated contribution value according to the contribution value and the privilege exercise information, and storing the updated contribution value in the blockchain network to finish information recording. Therefore, the donation information, the contribution value and the privilege exercise information of the donation party can be stored in the blockchain network, the information recording efficiency of the donation party is improved, and the information transparency of the donation information of the donation party is improved.
Drawings
FIG. 1 is a schematic diagram of an alternative architecture of a blockchain-based information recording system provided by an embodiment of the present invention;
FIG. 2 is a block chain architecture diagram of a block chain network according to an embodiment of the present invention;
FIG. 3 is a functional architecture diagram of a blockchain network according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a block chain based information recording apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an alternative block chain based information recording method according to an embodiment of the present invention;
FIG. 6 (a) is a schematic diagram of an interface for a donor to send donation information according to an embodiment of the present invention;
fig. 6 (b) is a second interface schematic diagram of a donation method according to an embodiment of the present invention for sending donation information;
FIG. 7 is a schematic diagram of a display page of a contribution value according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a display page of updated contribution values according to an embodiment of the present invention;
FIG. 9 is a second flowchart of an alternative blockchain-based information recording method according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of a block chain network according to an embodiment of the present invention;
fig. 11 is a schematic diagram of the composition of donation information provided by an embodiment of the invention;
FIG. 12 is a schematic diagram of integrated information for donation information provided by an embodiment of the invention;
FIG. 13 is a schematic diagram of funds use information provided by an embodiment of the invention;
FIG. 14 is a schematic diagram of consolidated information for funds use information provided in accordance with an embodiment of the invention;
FIG. 15 is a schematic diagram of integrated information for donation information and funds use information provided by an embodiment of the invention;
FIG. 16 is a schematic diagram of integrated information for a donor provided by an embodiment of the present invention;
FIG. 17 is a schematic diagram of integrated information for privilege exercise information provided by an embodiment of the present invention;
FIG. 18 is a schematic diagram of information records for a donor provided by an embodiment of the present invention;
fig. 19 is a process diagram of a blockchain-based information recording method according to an embodiment of the present invention.
Detailed Description
The present invention will be further described in detail with reference to the accompanying drawings, for the purpose of making the objects, technical solutions and advantages of the present invention more apparent, and the described embodiments should not be construed as limiting the present invention, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present invention.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to be limiting of the invention.
Before describing embodiments of the present invention in further detail, the terms and terminology involved in the embodiments of the present invention will be described, and the terms and terminology involved in the embodiments of the present invention will be used in the following explanation.
1) Transactions (transactions), which are equivalent to computer terms "transactions," include operations that need to be submitted to a blockchain network for execution, and do not refer solely to transactions in a business context, which embodiments of the present invention follow in view of the terminology "transactions" being colloquially used in blockchain technology.
For example, a deployment (Deploy) transaction is used to install a specified smart contract to a node in a blockchain network and is ready to be invoked; call (Invoke) transactions are used to append records of transactions in the blockchain by invoking smart contracts and to operate on the blockchain's state database, including update operations (including adding, deleting, and modifying key-value pairs in the state database) and query operations (i.e., querying key-value pairs in the state database).
2) A Block (Block) records the data structure of the ledger data updated by transactions over a period of time, is time stamped and a unique tag (e.g., a digital fingerprint) of a previous Block, and after common authentication of nodes in the blockchain network, the Block is appended to the end of the blockchain as a new Block.
For example, the header of each chunk may include both the hash values of all transactions in the chunk and the hash values of all transactions in the previous chunk, thereby enabling tamper-and anti-counterfeiting of transactions in the chunk based on the hash values; the newly generated transactions, after being filled into the block and passing through the consensus of the nodes in the blockchain network, are appended to the tail of the blockchain to form a chain growth.
3) A blockchain network incorporates new blocks into a set of series of centerless nodes of the blockchain by way of consensus.
4) Ledger (Ledger), a generic term for blockchains (also known as Ledger data) and state databases that are synchronized with blockchains.
Wherein the blockchain records transactions in the form of files in a file system; the state database records transactions in the blockchain in the form of different types of Key (Key) Value pairs for supporting quick queries for transactions in the blockchain.
5) Smart contacts (Smart contacts), also known as chain code (Chaincode) or application code, are deployed in a program in a node of a blockchain network, which executes Smart Contracts invoked in received transactions to update or query the key values of a ledger database.
6) Consensus (Consensus), a process in a blockchain network for agreeing on transactions in blocks among the involved nodes, the agreed blocks will be appended to the tail of the blockchain, and mechanisms for implementing Consensus include Proof of Work (PoW), proof of equity (PoS), proof of equity (stare), proof of equity (DPoS), proof of-of-status, proof of elapsed time (PoET, proof of Elapsed Time), and the like.
The embodiment of the invention provides a blockchain-based information recording method, a blockchain-based information recording device, blockchain-based information recording equipment and a blockchain-based information recording storage medium, which can solve the problems that the transparency degree of public welfare information is low and the public welfare information recording efficiency of a donator is low.
Referring now to fig. 1, fig. 1 is a schematic diagram illustrating an alternative architecture of a blockchain-based information recording system 100 provided by an embodiment of the present invention, including a blockchain network 200 (illustratively including nodes 210-1 through 210-3), a donor-collecting system 300 (illustratively including a terminal 600-1 and its graphical interface 610-1 attributed to the donor-collecting system 300), a donor system 400 (illustratively including a terminal 600-2 attributed to the donor system 400 and its graphical interface 610-2), and a server system 500 (illustratively including a terminal 600-3 and its graphical interface 610-3 attributed to the server system 500).
The type of blockchain network 200 is flexible and diverse, and may be any of public, private, or federated chains, for example. Taking public chains as an example, any electronic device of a service body can access the blockchain network 200 by using a user terminal and a server without authorization; taking the alliance chain as an example, after the service body obtains the authorization, the electronic device (for example, a terminal/server) under the jurisdiction of the service body can access the blockchain network 200, and at this time, the service body becomes a special node, namely a client node, in the blockchain network 200.
It is noted that a client node may refer to providing functionality that supports a business entity to initiate transactions (e.g., for storing data in the uplink or querying data on the chain), and may be implemented by default or selectively (e.g., depending on the specific business needs of the business entity) for functions of a conventional (native) node 210 of the blockchain network 200, such as ordering functions, consensus services, ledger functions, etc., as described below. Thus, the data and service processing logic of the service body can be migrated to the blockchain network 200 to the greatest extent, and the credibility and traceability of the data and service processing process are realized through the blockchain network 200.
Blockchain network 200 receives transactions submitted from client nodes (e.g., terminals 600-1, 600-2, 600-3, and 500) of different business entities (e.g., donor system 300, donor system 400, and server system 500, respectively, shown in fig. 1, donor system 300, donor system 400, and server system 500), performs transactions to update or query the ledgers, and displays various intermediate or final results of performing the transactions at user interfaces of the terminals (e.g., graphical interface 610-1 of terminal 600-1, graphical interface 610-2 of terminal 600-2, and graphical interface 610-3 of terminal 600-3). It will be appreciated that, in the above description, the blockchain network 200 that receives and executes transactions refers specifically to the native node 210 in the blockchain network 200, and of course, when a client node of a service entity has a function (e.g., consensus function, ledger function) of the native node 210 in the blockchain network 200, the corresponding client node may also be included.
Referring to fig. 1, the blockchain-based information recording process involves a plurality of business entities, such as a donor system 300, a donor system 400, and a server system 500, each of a terminal 600-1 of the donor system 300, a terminal 600-2 of the donor system 400, and a terminal 600-3 of the server 500 may access the blockchain network 200 after obtaining the authorization of the blockchain network 200, respectively.
The operator of the donation party logs in the donation party system 300 in the graphic interface 610-1 of the terminal 600-1, and completes the input of the donation information, such as target funds, donation purpose, etc., on the input interface, and initiates the donation to society, generates a donation item, after which the donation party system 300 generates a transaction according to the donation information, calls an intelligent contract and transfers parameters to the intelligent contract, and at the same time, the transaction also carries a digital signature signed by the donation party system 300 using a private key in a digital certificate, and broadcasts the transaction to the blockchain network 200.
When the node 210 in the blockchain network 200 receives a transaction, the digital signature carried by the transaction is verified, after the digital signature is verified successfully, whether the donation party system 300 has a transaction right or not is confirmed according to the identity of the donation party system 300 carried in the transaction, and any verification failure in the digital signature and the right verification can lead to transaction failure. Signing node 210's own data signature after verification is successful and continues to broadcast in blockchain network 200.
After receiving the transaction successfully verified, the nodes 210 in the blockchain network 200 with ordering function populate the new block with the transaction and broadcast to the nodes in the blockchain network 200 providing consensus services.
Nodes 210 in blockchain network 200 that provide consensus processes new blocks to agree on, nodes 210 that provide ledger functionality append new blocks to the tail of the blockchain, and perform transactions in the new blocks: and updating key value pairs corresponding to the donation information in the account database for the submitted transaction for storing the donation information.
After the user of the donor system 400 knows the donation item initiated by the donation system 300 in the graphical interface 610-2 of the terminal 600-2, the donation information for the donation item can be input through the input interface of the terminal 600-2, the donor system 400 generates a transaction according to the donation information, invokes the intelligent contract and delivers parameters to the intelligent contract, and meanwhile, the transaction also carries a digital signature signed by the donor system 400 using a private key in the digital certificate and broadcasts the transaction to the blockchain network 200. It should be noted that, similar to the transaction initiated by the donor-collecting system 300, after the blockchain network 200 receives the transaction initiated by the donor-collecting system 400, the data signature carried by the transaction is verified, and after the verification is successful, the transaction is filled into a new block and is consensus-known, and when the new block is consensus-known, the new block is added to the tail of the blockchain and the transaction in the new block is executed.
Since the donor may participate in more than one donation item, the donor may generate at least one donation message, after the blockchain network 200 obtains the at least one donation message sent by the donor, the at least one donation message of the donor may be summarized to obtain a donation summary message of the donor, and then the node 210 in the blockchain network 200 fills the donation summary message into a new block and broadcasts the new block to the node providing consensus service in the blockchain network 200, and the node 210 providing consensus service in the blockchain network 200 performs a consensus process on the new block to agree, and the node 210 providing ledger function adds the new block to the tail of the blockchain.
The nodes 210 in the blockchain network 200 calculate contribution values of the donators according to the donation summary information, fill the contribution values into new blocks, and broadcast the contribution values to nodes providing consensus services in the blockchain network 200, wherein the nodes 210 providing consensus services in the blockchain network 200 perform consensus processes on the new blocks to agree, and the nodes 210 providing account book functions append the new blocks to the tail parts of the blockchains.
When a donor performs a service on the service party, a service person of the service party logs in the service party system 500 in a graphic interface 610-3 of the terminal 600-3, inputs the identification of the donor on an input interface, obtains the contribution value of the donor from the blockchain network 200, and then the service party system 500 gives a priority right to the donor for the contribution value of the donor. After the blockchain network 200 receives the transaction initiated by the server system 500, it verifies the data signature carried by the transaction, and after the verification is successful, fills the transaction into the new block and performs consensus, when the consensus is reached for the new block, adds the new block to the tail of the blockchain, and executes the transaction in the new block.
The node 210 in the blockchain network 200 calculates an updated contribution value according to the contribution value of the donator and the privilege exercise information of the donator, then the node 210 in the blockchain network 200 fills the updated contribution value into a new block and broadcasts the new block to the nodes providing consensus service in the blockchain network 200, the nodes 210 providing consensus service in the blockchain network 200 perform consensus process on the new block to agree, and the nodes 210 providing ledger function append the new block to the tail of the blockchain to complete the information recording process.
As an example of a blockchain, referring to fig. 2, fig. 2 is a schematic block chain structure in a blockchain network 200 according to an embodiment of the present invention, where a header of each block may include hash values of all transactions in the block, and also include hash values of all transactions in a previous block, and a record of a newly generated transaction is filled into the block and after passing through a node in the blockchain network, is appended to a tail of the blockchain to form a chain growth, and a chain structure based on the hash values between the blocks ensures tamper resistance and forgery resistance of transactions in the block.
Referring to fig. 3, fig. 3 is a schematic functional architecture diagram of a blockchain network 200 according to an embodiment of the present invention, including an application layer 201, a consensus layer 202, a network layer 203, a data layer 204, and a resource layer 205, which are described below.
The resource layer 205 encapsulates computing, storage and communication resources, such as in computers, servers/clusters and clouds, that implement the various nodes 210 in the blockchain network 200, abstracts and provides a unified interface to the data layer 204 to mask the variability of the underlying hardware that implements the resource layer 205.
Computing resources include various forms of processors such as Central Processing Units (CPUs), application specific integrated circuits (ASICs, application Specific Integrated Circuit), application specific integrated circuits, and Field programmable gate arrays (FPGAs, fields-Programmable Gate Array).
Storage resources include various types of storage media such as various volatile memory and non-volatile memory. The nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), or a Programmable Read-Only Memory. The volatile memory may be random access memory (RAM, random Access Memory), which acts as external cache memory.
The communication resources include various links for communication between nodes 210 of the blockchain network, between blockchain network 200 and traffic principals.
Data layer 204 encapsulates various data structures that implement the ledger, including blockchains implemented with files in a file system, a state database of key values, and presence certificates (e.g., hash trees of transactions in blocks).
The network layer 203 encapsulates the functions of Point-to-Point (P2P) network protocols, data propagation mechanisms and data verification mechanisms, access authentication mechanisms, and service body identity management.
Wherein the P2P network protocol enables communication between nodes 210 in the blockchain network 200, a data propagation mechanism ensures propagation of transactions in the blockchain network 200, and a data verification mechanism is used to enable reliability of data transmission between nodes 210 based on cryptography methods (e.g., digital certificates, digital signatures, public/private key pairs); the access authentication mechanism is used for authenticating the identity of the service entity joining the blockchain network 200 according to the actual service scene, and giving the authority of the service entity to access the blockchain network 200 when the authentication is passed; the service principal identity management is used to store the identity of the service principal that is allowed to access the blockchain network 200, as well as the rights (e.g., the type of transaction that can be initiated).
The consensus layer 202 encapsulates the functionality of the mechanism by which nodes 210 in the blockchain network 200 agree on blocks (i.e., consensus mechanism), transaction management, and ledger management.
The consensus mechanism comprises consensus algorithms such as POS, POW and DPOS, and supports the pluggable of the consensus algorithms.
The transaction management is used for verifying the digital signature carried in the transaction received by the node 210, verifying the identity information of the service entity, and judging and confirming whether the service entity has authority to conduct the transaction according to the identity information (reading the related information from the identity management of the service entity); for the business entity that obtains authorization to access the blockchain network 200, all possess the digital certificates issued by the authentication center, and the business entity signs the submitted transaction with the private key in its own digital certificate, thereby declaring its legal identity.
And (3) account book management: for maintaining blockchain and ledger databases. For the block with consensus, adding to the tail of the block chain; executing the transaction in the block with consensus, updating the key value pairs in the state database when the transaction comprises an updating operation, querying the key value pairs in the ledger database when the transaction comprises a querying operation, and returning a query result to the business entity. A query operation supporting multiple dimensions of a ledger database, comprising: querying a block based on a block sequence number (e.g., a hash value of a transaction); inquiring the block according to the block hash value; inquiring the block according to the transaction serial number; inquiring the transaction according to the transaction serial number; inquiring account data of the service body according to the account (serial number) of the service body; the blockchains in the channel are queried according to the channel name.
The application layer 201 encapsulates various services that the blockchain network can implement, including tracing, certification and verification of transactions, etc.
An exemplary structure of the blockchain-based information recording device provided by the embodiment of the present invention is described below.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a blockchain-based information recording device provided in an embodiment of the present invention, and the blockchain-based information recording device 700 shown in fig. 4 includes: at least one processor 710, memory 750, at least one network interface 720, and a user interface 730. The various components in terminal 700 are coupled together by a bus system 740. It is appreciated that bus system 740 is provided to enable connected communications between these components. The bus system 740 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration, the various buses are labeled as bus system 740 in fig. 4.
The processor 710 may be an integrated circuit chip with signal processing capabilities such as a general purpose processor, such as a microprocessor or any conventional processor, a digital signal processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
The user interface 730 includes one or more output devices 731 that enable presentation of media content, including one or more speakers and/or one or more visual displays. The user interface 730 also includes one or more input devices 732, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
Memory 750 includes volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM), and the volatile Memory may be a random access Memory (RAM, random Access Memory). The memory 750 described in embodiments of the present invention is intended to comprise any suitable type of memory. Memory 450 optionally includes one or more storage devices physically remote from processor 710.
In some embodiments, memory 750 is capable of storing data to support various operations, examples of which include programs, modules and data structures, or subsets or supersets thereof, as exemplified below.
An operating system 751 including system programs for handling various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and handling hardware-based tasks;
Network communication module 752 for reaching other computing devices via one or more (wired or wireless) network interfaces 720, exemplary network interfaces 720 include: bluetooth, wireless compatibility authentication (WiFi), and universal serial bus (USB, universal Serial Bus), etc.;
a display module 753 for enabling presentation of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 731 (e.g., a display screen, speakers, etc.) associated with the user interface 730;
an input processing module 754 for detecting one or more user inputs or interactions from one of the one or more input devices 732 and interpreting the detected inputs or interactions.
In some embodiments, the blockchain-based information recording device provided by the embodiments of the present invention may be implemented in software, and fig. 4 shows the blockchain-based information recording device 755 stored in the memory 750, which may be software in the form of a program, a plug-in, or the like, including the following software modules: the functions of the receiving module 7551, the counting module 7552, and the calculating module 7553 will be described below.
In other embodiments, the blockchain-based information recording device provided by the embodiments of the present invention may be implemented in hardware, and by way of example, the blockchain-based information recording device provided by the embodiments of the present invention may be a processor in the form of a hardware decoding processor that is programmed to perform the blockchain-based information recording method provided by the embodiments of the present invention, for example, the processor in the form of a hardware decoding processor may employ one or more application specific integrated circuits (ASIC, application Specific Integrated Circui t), DSP, programmable logic device (PLD, programmable Logic Device), complex programmable logic device (CPLD, complex Programmable Logic Device), field programmable gate array (FPGA, field-Programmable Gate Array), or other electronic component.
Exemplary, an embodiment of the present invention provides a blockchain-based information recording device, including:
a memory for storing executable information recording instructions;
and the processor is used for realizing the information recording method based on the block chain when executing the executable information recording instruction stored in the memory.
The blockchain-based information recording method provided by the embodiment of the invention will be described in connection with exemplary applications and implementations of the terminal provided by the embodiment of the invention.
Referring to fig. 5, fig. 5 is an optional flowchart of a blockchain-based information recording method according to an embodiment of the present invention, where the blockchain-based information recording method according to the embodiment of the present invention may include:
s101, receiving at least one donation message for at least one donation item sent by a donation party, and storing the at least one donation message in a blockchain; at least one donation item is initiated by the donation party.
The embodiment of the invention is realized in the scene of information recording aiming at the donator. After a donator obtains a donation item initiated by the donation party through any channel, a user can log in a personal account through a terminal in a donator system, perform a donation action on the donation item on an input interface of the terminal, and generate donation information according to the donation action and send the donation information to a blockchain network. Since there is a possibility that more than one donation item is initiated by the donation party, the donation party may donate all of the plurality of donation items, and thus the donation party transmits at least one donation information corresponding to the at least one participating donation item to the blockchain network. After the blockchain network receives at least one donation information sent by the donator for at least one donation item, the at least one donation information is stored in the blockchain, and the uplink of the at least one donation information is completed, so that the at least one donation information of the donator cannot be tampered, and the authenticity of the at least one donation information is ensured.
It should be noted that, the at least one donation information of the at least one donation item received by the blockchain network in the embodiment of the present invention may refer to one or more donation information corresponding to the at least one donation item by the donation party, or may refer to one or more donation information of each donation item in the at least one donation item by the donation party, where the embodiment of the present invention is not specifically limited herein.
In the embodiment of the invention, when at least one donation information is stored in a blockchain, a node in the blockchain network creates a new block for the donation information, fills the donation information into the new block, and broadcasts the donation information to the node with consensus service. Nodes in the blockchain network having consensus services, after consensus and agreement of the new block, append the new block to the tail of the blockchain, thus completing the uplink of at least one donation information.
It should be noted that, in the embodiment of the present invention, the donation information may include a donation item identifier, a donation running identifier, a donation amount number, and a donation party identifier. Wherein the donation item identification is a unique identification generated for the donation item, such as a donation number, by the donation system when the donation item is published; the donation flow line identifier is a unique identifier generated by a donation party system for donation actions; the donor identification may be understood as an identity of the donor, such as an account number or the like. Of course, other information may be included in the donation information, and embodiments of the invention are not specifically limited herein.
For example, the donation information may be represented by < donation item ID-donation line ID-amount-fund source ID >, where the donation item ID may be a donation number and the fund source ID may be a user account. At this time, for the user a, if it makes contributions for two donation items, at least one donation information corresponding thereto may be expressed as: < donation number 5311 XXXX-donation line ID 3-amount-user A Account >, < donation number 5678 XXXX-donation line ID 33-amount-user A Account >. Of course, the donation information may be represented in other forms, and embodiments of the invention are not limited in this regard.
Exemplary, embodiments of the present invention provide an interface schematic for a donor to send at least one donation message. As shown in fig. 6 (a), for the donation item display interface 1, above which the name "children leukemia healable" of the donation item is displayed, and the donation number 531100687a of the donation item, the input interface 12 is loaded in the floating window 11 of the donation item display interface 1, four options of "1 chance of generation", "3 chance of generation", "10 chance of generation", and "self-quota" are provided on the input interface 12, and at the same time, the donation amount corresponding to each chance of generation is displayed in the floating window 11 as "10". User a, through the network, has knowledge of the "child leukemia curable" donation item, and can select the amount to be donated according to the options and the donation amounts corresponding to each opportunity. When the user a selects "1 chance of giving birth" and presses the confirm button, the donation party system generates donation information for the "child leukemia healable" donation item for the user a according to the account number of the user a, the donation amount 10, the donation number 531100687a, and the fund running water identification when the user a confirms the selected "1 chance of giving birth", and sends the donation information to the blockchain network. Similarly, as shown in fig. 6 (b), for the donation item display interface 2, the name of the donation item "let sanitation worker drink bowl loving porridge" is displayed above the interface, the donation number 53100050JA of the donation item is provided with the floating window 21 on the donation item display interface 2, the input interface 22 is provided in the floating window 21, four choices of "1 loving porridge", "2 loving porridge", "5 loving porridge" and "self-rating amount" are provided in the input interface 22, and the donation amount 2 corresponding to each loving porridge is displayed in the floating window 21. After learning the project of making sanitation workers drink bowl loving porridge, the user A can select the amount to be donated through the options and the donation amount of each loving porridge. After the user A selects 2 loving porridge and clicks the confirmation button, the donation party system generates donation information of the user A for the sanitation worker to drink the loving porridge according to the account number of the user A, the donation amount of 4, the donation number 53100050JA and the fund flowing water mark corresponding to the user A when confirming the selected 2 loving porridge, and sends the donation information to the blockchain network. The blockchain network receives donation information sent by a donation party for 'children leukemia healable', and donation information for 'sanitation workers drink bowl loving porridge', and stores the donation information in the blockchain.
S102, counting the donation information in at least one donation information of the donation party, obtaining donation summary information of the donation party, and storing the donation summary information into a blockchain; the donation summary information includes donation information for each of the at least one donation items by the donor.
After receiving at least one donation information for at least one donation item sent by a donation party, the blockchain network can count the donation information corresponding to all the donation items participated by the donation party from the at least one donation information to obtain donation summary information, and uplinks the donation summary information to store the donation summary information into the blockchain.
It will be appreciated that, similar to S101, when the blockchain network links the donation summary information, a new block is created for the donation summary information, the donation summary information is filled into the new block and broadcast, then, after the nodes with consensus function in the blockchain network consensus the new block and agree, the new block is added to the tail of the blockchain, and the process of saving the donation summary information into the blockchain network is completed.
It should be noted that, because the blockchain network may receive the donation information of multiple donations, when collecting the donation information of the donations, the donation information having the same donation identifier may be collected to obtain the donation collection information of the donations. Of course, in the embodiment of the present invention, the donation information in the at least one donation information may be statistically summarized in other manners, and the embodiment of the present invention is not limited herein.
It may be understood that, since the donation information includes the donation item identifier, the donation running identifier, and the number of donations in addition to the donor identifier, the donation summary information may include the donation item identifiers of all the donation items that the donor participates in, the donation running identifier and the number of donations corresponding to each donation item, or may include only the item identifiers of all the donation items that the donor participates in, and the number of donations per donation item. The information contained in the specific donation summary information may be determined by practical situations, and embodiments of the invention are not limited herein.
S103, calculating a contribution value of the donation party according to the donation summary information, and storing the contribution value into a blockchain; the contribution value characterizes a degree of contribution of the donor to the at least one donation item.
The blockchain network can calculate the contribution degree of the blockchain network to at least one donation project for the donator according to the donation summary information, namely calculate the contribution value of the donator, then the blockchain network generates a new block for the contribution value of the donator and fills the contribution value into the new block, and after nodes in the blockchain network agree and agree on the new block, the new block can be added to the tail end of the blockchain to save the contribution value into the blockchain network.
It should be noted that, in the donation summary information, the contribution degree of the donation party to at least one donation item is the number of donation amounts and the grade of the donation item can be reflected, so that the blockchain network can calculate the contribution value according to the number of donation amounts or the grade of the donation item.
In the embodiment of the invention, the contribution value can be calculated directly according to the number of the donation amount, the contribution value can be calculated directly according to the grade of the donation item, and the contribution value can be calculated by combining the number of the donation amount and the grade of the donation item. Of course, the contribution value may be calculated according to other methods, and the embodiment of the present invention is not limited herein.
The blockchain network may directly store the contribution value in the blockchain to complete the storage of the contribution value, or may perform hash operation on the contribution value, store the hash value of the contribution value in the blockchain, and complete the storage of the contribution value.
It will be appreciated that the contribution value may be displayed over a graphical interface of the donor's terminal to facilitate viewing of the contribution value.
Exemplary, the embodiment of the invention provides a display page illustration of the contribution value, and as shown in fig. 7, the contribution value can be viewed in my public benefit page by the user a. In my public welfare page, user a's account information, such as account number: x123456789 displays the nickname of user a, such as the nickname: user a, simultaneously displaying contribution values, such as: 100. thus, user A can view the contribution value. In addition, in my public welfare page, a see public welfare item button may be loaded so that user a may trigger a donation action again for at least one donation item through the button.
S104, receiving privilege exercise information for the donator sent by the service side through the contribution value, and storing the privilege exercise information in the blockchain; the privilege exercise information characterizes the priority rights that the service party gives to the donor.
When a donator needs to transact business at a service side, the service side can ask the blockchain network for the contribution value of the donator, the blockchain network sends the contribution value of the donator to the service side, after receiving the contribution value, the service side can give a certain priority right to the donator according to the contribution value and generate privilege exercise information for the donator, and then the service side sends the privilege exercise information to the blockchain network. After receiving the privilege exercise information sent by the server, the blockchain network allocates a new block for the privilege exercise information, fills the privilege exercise information into the new block, and after the new block is subjected to consensus and agreement, appends the new block filled with the privilege exercise information to the tail part of the blockchain to finish the storage of the privilege exercise information.
In the embodiment of the present invention, the privilege exercise information is generated by the service side after the service side gives the priority right to the donor and the donor uses the priority right.
It should be understood that the priority rights may include discounts, offers, and other privileges given by the server to the donor, and embodiments of the invention are not limited in this regard.
Illustratively, when a donor is shopping, the service party may query the donor's contribution value from the blockchain network and then give the donor a discount based on the contribution value so that the donor may complete the shopping at a lower amount. When a donor performs video viewing on video browsing software, a service party can inquire a contribution value of the donor from a blockchain network, and then according to the contribution value, a front advertisement of the video can be removed for the donor.
In the embodiment of the invention, the privilege exercise information can comprise a contribution value required to be consumed when the donator uses the priority rights, a specific name of the used priority rights and time for exercise of the priority rights. In addition, the privilege exercise information may further include other information related to priority rights, and embodiments of the present invention are not limited herein.
For example, when a donor views video on video browsing software at 8 hours, 9.1.9.d. in 2019, the priority rights given by the service party to remove the pre-advertisements may be exercised. After the donor exercises the priority right, the service side generates privilege exercise information for the donor, in which 30 contribution values required to be consumed by the donor to exercise the priority right to remove the pre-advertisement are included, and time 2019-09-01-20:00 to exercise the priority right to remove the pre-advertisement, and the name of the priority right "remove video pre-advertisement". The server may then send the privilege exercise record to the blockchain network for storage.
S105, calculating an updated contribution value according to the contribution value and the privilege exercise information, and storing the updated contribution value in a block chain to complete information recording.
After the blockchain network receives the privilege exercise information aiming at the donator, the contribution value of the donator can be calculated again according to the contribution value and the received privilege exercise information, namely the contribution value required to consume for exercise priority rights is deducted from the original contribution value of the donator, the updated contribution value is obtained, then the blockchain network creates a new block for the updated contribution value, the updated contribution value is filled into the new block, the new block is subjected to consensus, and the new block is added to the tail end of the blockchain after the consensus is agreed, so that the information recording process aiming at the donator is completed.
Since the privilege exercise information includes a contribution value that is required to be consumed by the donor to exercise the priority authority, the blockchain network may calculate the updated contribution value by using the contribution value and the contribution value that is required to be consumed by the donor to exercise the priority authority.
It will be appreciated that after the donator exercises the priority right, the updated contribution value may be displayed on a graphical interface of the donator's terminal, facilitating viewing of the updated contribution value in real-time.
Exemplary, the embodiment of the invention provides a display page schematic of the updated contribution value. When the donor displays the contribution value before the priority authority in the form of fig. 7, the updated contribution value may be displayed in the form of fig. 8. In fig. 8, account information of the user a, that is, an account number, is displayed in the my public welfare page: x123456789 displays the nickname of user a, namely the nickname: user a displays updated contribution values, such as: in this way, user A can view the updated contribution value at that page after exercising the priority rights. In addition, privilege exercise information, such as privilege exercise records, may be displayed in the page: 2019-09-01-20:00 video ad-free so that user A can view the updated contribution value and also view the priority rights given by the recently exercised service party.
In the embodiment of the invention, the donation information, the contribution value and the privilege exercise information of the donation party can be stored in the blockchain network, so that the information recording efficiency for the donation party is improved, and the information transparency for the donation information of the donation party is improved.
In some embodiments of the present invention, prior to receiving the at least one donation information for the at least one donation item sent by the donor, saving the at least one donation information in the blockchain, i.e., prior to S101, the method may further include: s106 to S107, as follows:
S106, receiving at least one donation information for at least one donation project uploaded by at least one donation party.
The blockchain network also needs to receive the donation information corresponding to the donation item uploaded by the donation party before receiving at least one donation information sent by the donation party. Since in practice there may be more than one donation party that is required to initiate a donation, each donation party will send the donation information corresponding to its initiated donation item to the blockchain network, so that the blockchain network keeps a record of the donation information corresponding to each donation item, the blockchain network needs to receive at least one donation information for at least one donation item uploaded by at least one donation party.
It can be understood that the donation information can include information such as target funds about donation to be made by the donation party, the time of starting the donation, the time of ending the donation, the purpose of the donation, etc., and can also include information such as details of the donation, the scope of use of the funds, and the donation commitment, etc., wherein the details of the donation can be displayed in the form of text, pictures and videos. Of course, other information related to the donation item may also be included in the donation information, and embodiments of the invention are not limited in this regard.
It should be noted that, because the information contained in the donation information is more, especially the picture and video information, more storage space is consumed, therefore, the donation party can directly send the donation information to the blockchain network, and can also perform hash operation on the donation information first and send the hash value of the donation information to the blockchain network, so as to save the storage space.
And S107, saving at least one donation information into the blockchain.
After receiving the at least one donation information, the blockchain network may aggregate the at least one donation information to obtain aggregated information. Then, the blockchain network can create a new block, fill the summarized information into the new block, then agree and agree on the new block filled with the summarized information, and then the blockchain network appends the new block filled with the summarized information to the tail end of the blockchain to finish the storage of at least one donation information. Thus, the donation information cannot be tampered with at will.
In the embodiment of the present invention, the donation information may be directly stored in the blockchain, or the donation information may be subjected to hash operation, and the hash value of the obtained donation information may be stored in the blockchain. The method for storing the donation information into the blockchain may be set according to practical situations, and embodiments of the present invention are not limited in detail herein.
In the embodiment of the invention, the blockchain network can receive at least one piece of donation information aiming at least one donation project and uploaded by at least one donation party, and store the at least one piece of donation information into the blockchain, so that the donation information corresponding to each donation project can be recorded and stored in the blockchain network, the donation information can not be tampered at will, and the authenticity of the donation information is ensured.
In some embodiments of the present invention, calculating the contribution value of the donor according to the donation summary information and saving the contribution value to the blockchain, that is, the specific implementation process of S103 may include: s1031 or S1032, as follows:
s1031, counting the donation summary information to obtain a contribution value of the donation party, and storing the contribution value into the blockchain.
The blockchain network can accumulate all the donation amount in the donation summary information, directly uses the accumulated total amount as the contribution value of the donation party, and then uplinks the contribution value to store the contribution value in the blockchain.
By way of example, the embodiment of the invention takes the donation projects of "children leukemia healable" and "sanitation workers drink bowl loving porridge" in S101 as examples, and describes the contribution value of the donation party. The donation amount of the donation party in the donation project of 'children leukemia healable' is 10, the donation amount in the donation project of 'let sanitation worker drink bowl loving porridge' is 4, the blockchain network accumulates the two donation amounts, and the obtained accumulated result 14 is directly used as the contribution value of the donation party.
S1032, acquiring donation information of each donation item in at least one donation item from the donation summary information, weighting the donation information of each donation item, calculating a contribution value of the donation party, and storing the contribution value in the blockchain.
The blockchain network can also acquire donation information corresponding to each donation item in all donation items participated by the donation party from donation summarized information, then can distinguish the grade of each donation item according to the donation item identification in each donation information, then weights the grade of each donation item and the donation amount of each donation item, calculates the contribution value of the donation party, and links up the contribution value to store the contribution value in a block.
It should be noted that, when the blockchain network weights the grade of each donation item and the donation amount of each donation item, the grade of each donation item may be multiplied by the donation amount of each donation item to obtain a product result corresponding to each donation item, and then the product results of each donation item are accumulated to obtain the contribution value of the donator. Of course, the blockchain network may also weigh the rank of each donation item and the donation amount of each donation item in other ways, embodiments of the invention are not specifically limited herein.
By way of example, the embodiment of the invention takes the donation projects of "children leukemia healable" and "sanitation workers drink bowl loving porridge" in S101 as examples, and describes the contribution value of the donation party. Assuming that the grade of the "child leukemia curable" donation item is 5, the grade of the "let sanitation worker drink bowl loving porridge" donation item is 2, the donation amount of the donation party at the "child leukemia curable" donation item is 10, and the donation amount of the "let sanitation worker drink bowl loving porridge" donation item is 4, the blockchain network can calculate the donation value 58 of the donation party according to the use of 5×10+4×2, and save the donation value into the blockchain.
It should be noted that, in the embodiment of the present invention, S1031 and S1032 are two implementation manners of the two parallel implementation manners of S103, and the specific implementation manner of S103 may be selected according to actual needs, which is not limited herein.
In the embodiment of the invention, the blockchain network can directly count the donation summary information to obtain the contribution value of the donation party, and can also weight the donation information of each donation project according to the donation summary information to obtain the contribution value of the donation party, so that the subsequent blockchain network can receive the privilege exercise information through the contribution value.
In some embodiments of the present invention, as shown in fig. 9, according to the contribution value and the privilege exercise information, calculating an updated contribution value, and storing the updated contribution value in a blockchain summary, to complete information recording, that is, a specific implementation process of S105 may include: s1051 to S1053 are as follows:
s1051, obtaining the difference value of the contribution value and the privilege exercise information according to the contribution value and the privilege exercise information.
Because the privilege exercise information contains the contribution value required to be consumed by the donator to exercise the priority authority, when calculating the updated contribution value, the blockchain network can determine the difference value between the contribution value and the privilege exercise information according to the contribution value and the contribution value required to be consumed by the donator to exercise the priority authority.
It can be understood that when the blockchain network determines the difference value by using the contribution value and the contribution value required to be consumed by the donor to exercise the priority right, the contribution value and the contribution value required to be consumed by the donor to exercise the priority right may be directly used to make a difference, the obtained difference value is used as the difference value, or the contribution value required to be consumed by the donor to exercise the priority right may be scaled down, and then the difference value may be obtained by using the contribution value and the scaled down contribution value required to be consumed. In the embodiment of the present invention, the contribution value and the difference value of the privilege exercise information may be obtained in other manners, which is not limited herein.
S1052, determining the updated contribution value according to the difference value.
After the difference value is obtained, the blockchain network can determine an updated contribution value according to the difference value. The blockchain network may directly determine the difference value as the updated contribution value when determining the updated contribution value, or may transform the difference value, for example, scale down the difference value to obtain the updated contribution value, and may determine the updated contribution value by using the difference value in other manners.
S1053, storing the updated contribution value in the blockchain.
After the updated contribution value is obtained, the blockchain network can uplink the updated contribution value and store the updated contribution value in the blockchain, so that the blockchain network completes the information recording process for the donor.
It may be understood that the blockchain network may directly store the updated contribution value in the blockchain, or may perform hash operation on the updated contribution value to obtain a hash value of the updated contribution value, and specifically store the updated contribution value in the blockchain. In some embodiments of the present invention, the manner of storing the updated contribution value in the blockchain may be set according to actual requirements, and embodiments of the present invention are not limited herein.
In the embodiment of the invention, the blockchain network can calculate the difference value of the contribution value and the privilege exercise information according to the contribution value and the privilege exercise information, further determine the updated contribution value according to the difference value, and store the updated contribution value in the blockchain, so that the blockchain network can complete the information recording process for the donator.
In some embodiments of the present invention, receiving the privilege exercise information for the donor sent by the server through the contribution value, and saving the privilege exercise information in the blockchain, that is, the specific implementation process of S104 may include: S1041-S1043 as follows:
s1041, transmitting the contribution value to a service side.
When a donor needs to perform certain services, the server sends request information to the blockchain network to request the blockchain network for the donor's contribution value. After receiving the request information sent by the server, the blockchain network can acquire the contribution value from the blockchain and transmit the contribution value to the server, and the server receives the contribution value sent by the blockchain network.
S1042, receiving privilege exercise information for a donor, which is sent by a service side; the privilege exercise information is generated by the server according to the contribution value.
After the service side receives the contribution value sent by the blockchain network, a certain priority right can be given to the donator according to the contribution value of the donator, after the donator exercises the priority right given by the service side, the service convenience can generate privilege exercise information and send the privilege exercise information to the blockchain network, and the blockchain network receives the privilege exercise information of the donator sent by the service side so as to store the privilege exercise information later.
S1043, storing the privilege exercise information in a blockchain.
It should be noted that, in the embodiment of the present invention, the process of storing the privilege exercise information in the blockchain is similar to that in S104, and the embodiment of the present invention is not described here again.
In the embodiment of the invention, the blockchain network can receive the privilege exercise information generated by the server according to the contribution value of the donator through interaction with the server, so that the subsequent blockchain network can calculate the updated contribution value according to the contribution value and the privilege exercise information.
In some embodiments of the present invention, after saving the at least one donation information to the blockchain, i.e., after S107, the method may further include: S108-S110, as follows:
S108, receiving fund usage information of at least one donation party for at least one donation information, and storing the fund usage information of the at least one donation information in a blockchain.
The blockchain network is also capable of receiving funds usage information for the donation information by the donation party after saving the at least one donation information to the blockchain. Because the donor is donating at least one donation item, the blockchain receives the fund usage information of all donation items that the donor participated in, and thus the blockchain network receives the fund usage of the at least one donation information by the at least one donation party and links up the fund usage of the at least one donation information to store the fund usage information of the at least one donation information in the blockchain.
It will be appreciated that the funds use information may include the amount of funds used by the donor, the time and place of use of funds by the donor, and the use of funds, and may include evidence of funds use, such as invoice information, photographs, videos, etc. of funds in use. Specific fund usage information may be set according to actual needs, and embodiments of the present invention are not limited herein.
S109, obtaining donation integration information of a donation party according to at least one donation information and fund use information of at least one donation information; the donation integration information characterizes a summary of the fund usage of the donation information by the donation party for the at least one donation item.
After obtaining the fund usage information of the at least one donation information, the blockchain network can integrate the fund usage information of the at least one donation information and the at least one donation information, so as to collect the fund usage condition of each donation information in at least one donation project in which the donation party participates by the donation party, and the integrated result is taken as donation integration information of the donation party.
It should be noted that, when integrating the donation integration information of the donation party, the blockchain network may integrate the fund usage information of each donation information in the at least one donation information into the corresponding donation information, or may regenerate the donation integration information according to each donation information of the at least one donation information and the fund usage information of each donation information, which is not limited herein.
S110, the donation integration information is stored in the blockchain.
The blockchain network may create a new block for the donation integration information after obtaining the donation integration information, then fill the donation integration information into the new block, and add the new block filled with the donation integration information to the blockchain tail after consensus and agreement is made on the new block filled with the donation integration information, so as to complete preservation of the donation integration information.
According to the embodiment of the invention, the blockchain network can collect information according to the received fund use information of at least one donation information and the at least one donation information, so that the collected information of the donation party on the fund use condition of the donation information of each donation item in at least one donation item is obtained, and the use condition of each donation information donated by the donation party can be stored on the blockchain network, and the information transparency degree of the donation information is improved.
In some embodiments of the present invention, obtaining the donation integration information of the donation party, that is, the specific implementation process of S109, according to the at least one donation information and the fund usage information of the at least one donation information may include: S1091-S1093 as follows:
s1091, integrating fund use information of at least one donation information and at least one donation information to obtain middle integration information corresponding to each donation item in at least one donation item; the intermediate consolidated information characterizes a summary of the donation information of the donation party for the individual donation items.
When the blockchain network obtains the donation integration information of the donation party according to the at least one donation information and the fund use condition of the at least one donation information, the fund use information of the at least one donation information and the at least one donation information can be integrated for each donation item in the at least one donation item at first, and the fund use condition of the donation party for the donation information of the single donation item is summarized, namely the intermediate integration information is obtained.
It should be noted that, in practice, the donor may make multiple donations for one donation item, so at least one donation information in the embodiment of the present invention refers to multiple donations made by the donor for one donation item, and at least one fund usage information of the donation information refers to a usage condition of the donation party for a donation fund of the donation item.
And S1092, storing the intermediate integration information corresponding to each donation item in the at least one donation item in the blockchain.
After obtaining the intermediate integration information of each donation project participated by the donator, the blockchain network creates a new block for the intermediate integration information, fills the intermediate integration information into the created new block, and then adds the new block to the end of the blockchain after consensus and agreement are carried out on the new block filled with the intermediate integration information, so that the blockchain is prolonged, and the preservation of the intermediate integration information is completed.
When the intermediate integration information corresponding to each donation item is stored in the blockchain, a new block may be created for the intermediate integration information corresponding to each donation item, the intermediate information corresponding to each donation item may be stored in the blockchain, or a new block may be allocated to all the intermediate integration information, and the intermediate integration information of each donation item may be stored in the blockchain.
S1093, obtaining donation integration information of the donation party according to the intermediate integration information corresponding to each donation item.
And the blockchain network gathers and sorts the intermediate integration information corresponding to each donation item participated by the donation party to obtain the donation integration information of the donation party. The donation integration information comprises donation information of each donation item and fund use information corresponding to each donation information, so that all donation items participated by a donation party can be clearly known through the donation integration information, and the donation information of each donation item and the fund use condition corresponding to each donation information are provided.
In the embodiment of the invention, the blockchain network can integrate all donation information of each donation item participated by the donation party and the fund use condition corresponding to all donation information to obtain the intermediate integration information corresponding to each donation item, and then summarize the intermediate integration information to obtain the donation integration information of the donation party, so that the donation information of all donation items participated by the donation party and the fund use information corresponding to the donation information can be stored in the blockchain, and the information transparency of the donation information is improved.
In the following, an exemplary application of the embodiment of the present invention in a practical application scenario will be described.
The embodiment of the invention provides an information recording method based on a blockchain, which can store donation information of a donation party and information related to the donation information in a blockchain network, so that the donation information is public and transparent, and the information transparency of the donation information of the donation party is improved.
The blockchain network in the embodiment of the invention is composed of a donator (a person or an organization), an initiating donation party (the person or the organization) and a service party for providing social services, and meanwhile, the blockchain network also has a fund account, so that the fund collected by the donation party can be stored in the fund account. As shown in fig. 10, a donor, such as donor person 10, is included in blockchain network 1; a donor, such as donor tissue 11; service parties, such as units 12 providing social services, tax departments 13, medical institutions 14, and enterprises 15; also included in the blockchain network is a funds account 16 to hold funds collected by the donation organization 11.
The donation party may generate a donation item for some purpose, initiate a donation to society, and upload the donation information corresponding to the donation item. As shown in fig. 11, the donation information includes a donation item identifier, that is, a donation ID2, a donation target fund 20, a donation destination 21, details 22, a donation promise 23, and a fund use range 24. Wherein, the donation target funds 20 indicate the total amount of funds required by the donation party, the subsidization object and the subsidization object of the donation project can be briefly described in the donation object 21, details of the subsidization object and the subsidization object can be respectively displayed in the form of a text record 220, a picture record 221 and a video record 222, and a subtopic 223 can be further included in the details 22, so that the donation project can be divided into a plurality of subtopic projects. The donation commitment 23 is written with the use specifications of the donated funds and violating the legal responsibilities that need to be undertaken, and the funds use scope 24 defines the use scope for the donated funds. The donation party uploads the donation information to the blockchain network after signing the donation information with a private key.
Nodes in the blockchain network collect donation information over a period of time and integrate the collected donation information with a timestamp to be uplink and spread in the blockchain network. After any node in the blockchain network receives the data, the data is compared with the data stored by the node, and an approved data set is sent to the blockchain network, so that the data of all nodes in the blockchain network are kept consistent through network diffusion iteration.
The donator may make a donation to a donation item after obtaining the donation information uploaded by the donation through any channel. At the time of donation, the donator completes the transfer using the respective private key and transmits donation information for the donation item to the blockchain network. The blockchain network receives donation information sent by a donation party and stores the donation information in the following form: collection item ID-fund ID-donation amount-fund source ID. Because a donor can donate multiple donation items, nodes in the blockchain network collect records and integrate at certain time intervals, for example:
{ donation item ID 1-funds ID 3-amount-funds source ID3;
A donation item ID 1-a fund ID 4-an amount-a fund source ID3;
donation item ID 2-fund ID 7-amount-fund source ID3;
……
donation item ID 3-funds ID 33-amount-funds source ID3 })
The fund source IDs are all the same, as the information is recorded for the same donor.
Nodes in the blockchain network aggregate the donation information of each donation item according to the donation item ID to form integrated information for the donation information as shown in fig. 12. In fig. 12, a donation item ID is an identification of one of a plurality of donation items in which a donor participates, and a fund ID1 is fund information generated when the donor makes a first donation for the donation item, and the fund ID1 includes a donation amount 1 of the first donation and an identification of the donor, that is, a source ID of the fund; the fund ID is fund information generated when the donator makes a second donation for the donation item, and the fund ID2 contains the donation amount 2 of the second donation and the identity of the donator, namely the source ID of the fund; and so on until the funds IDn. Since the same donation party donates money for the donation item, the source ID of the funds in each fund ID is the same, and thus, the source ID of the funds can be omitted. Nodes in the blockchain network perform consensus synchronization on the data structure to synchronize the data mechanism to the full network.
After obtaining the donation funds, the donation funds may be used by the donation party for consumption, such as payment of fees, purchase of supplies, and the like. When using the money to be collected, the money collecting party needs to record the money usage information for each money collecting party, as shown in fig. 13, for any money ID in the money collecting item ID, the usage information such as the time 1 of consumption, the place 2 of consumption, the purpose 3 of consumption, and invoice information 4 needs to be recorded, and the consumption process needs to be recorded in the form of a photo 5 and a video 6, signed with the private key of the money collecting party, and then uploaded to the blockchain network, and the blockchain network links the usage information.
After the blockchain network collects the fund usage information, as shown in fig. 14, a plurality of pieces of fund usage information of each donated fund are collected together, and the fund usage information is sorted according to the fund IDs, so as to obtain integrated information for the fund usage information, i.e. a plurality of pieces of fund usage information corresponding to each fund ID, for example, a use case 1 and a use case 2. Then, the blockchain network combines the fund usage information of each fund ID into the integration information shown in FIG. 12, combines the fund usage information of each fund ID with the donation amount and the fund source ID of each fund ID to obtain the integration information aiming at the donation information and the fund usage information shown in FIG. 15, and links the integration information. In fig. 15, a donation amount 1 of a funds ID1 in the donation item ID, a source ID of the funds, use information 1 of the funds, and use information 2 of the funds are shown, and specific contents of the funds ID2 and the funds ID3 are not shown.
The nodes in the blockchain network aggregate the collected information of the various donation items in which the donor participates, and can obtain the integrated information for the donor as shown in fig. 16. In fig. 16, the donor ID includes therein the donation item IDs of all the donation items in which the donor participates, namely, item 1, item 2, item 3, item 4, and the like. In item 1, there is a donation amount 10 for item 1 by the donation party, and a use case 11 of the donation amount 10, in item 2, there is a donation amount 20 for item 2 by the donation party, and a use case 21 of the donation amount 20, and so on, there is a use case of the donation amount and the donation amount for the donation item by the donation party in each donation item. And after the block chain network obtains the data, the data is uplink. And then, the blockchain network calculates the contribution value of the donator according to the donation amount or in a project weighting mode by utilizing the total donation amount of the donator obtained from the data, and links the contribution value.
When the donator needs to perform social public service on the service party, the service party can inquire a contribution value corresponding to the donator in the blockchain through the identification of the donator, and then give a certain privilege, namely discount, preferential or priority rights to the donator according to the inquired contribution value. After the donator enjoys the privileges, nodes in the blockchain network collect the donator privilege exercise records, form blocks for the donator privilege exercise records, and append the blocks to the blockchain tail after consensus.
The blockchain network may count all privilege exercise records of the donor to obtain the integrated information for the privilege exercise information as shown in fig. 17. In fig. 17, in each donor ID, all the privilege exercise records and the details of each privilege exercise record of the donor are contained, such as privilege use 1 and its details (details not shown), privilege use 2 and its details (details not shown), privilege use 3 and its details (details not shown).
After the donation information and the privilege exercise information of the donation party are collected, the blockchain network uses the donation information and the privilege exercise information to make a difference, namely deducts the corresponding contribution value according to the privilege exercise information, obtains the updated contribution value, and links the updated contribution value. Referring to fig. 18, the donor ID includes donor information, privilege exercise information, and a contribution value of the donor. The donation information includes item 1, item 2, item 3, item 4, etc., in item 1, there is a donation amount 10 of the donation party for item 1 and a use case 11 of the donation amount 10, in item 2, there is a donation amount 20 of the donation party for item 2 and a use case 21 of the donation amount 20; the privilege row information includes privilege use 1 and details thereof (details not shown), privilege use 2 and details thereof (details not shown), privilege use 3 and details thereof (details not shown). In this way, the blockchain network completes the information record for the donor.
The following is a summary of the procedure of the blockchain-based information recording method provided by the embodiment of the present invention, with respect to the above-described exemplary application scenario.
Referring to fig. 19, first, a donator issues donation information, a blockchain network receives the donation information and uplinks 1 the donation information, then, the donator makes a donation, the blockchain network records a fund source 2, then, the blockchain network gathers the donation information, calculates a contribution value, uplinks 3 the contribution value, then, the donator exercises privileges, a server uploads the privilege exercise information to the blockchain network 4, next, the blockchain network gathers the calculated contribution value and privilege exercise information 5, finally, the blockchain network calculates an updated contribution value according to the contribution value and the privilege exercise information, and uplinks 6 the updated contribution value. Thus, information recording for the donor is completed.
In summary, by linking the donation information of the donation party, calculating the contribution value of the donation party according to the donation information, linking the contribution value, giving the priority authority to the contribution value to the donation party by the service party, linking the privilege exercise information generated by the service party after the priority authority is used by the donation party by the blockchain network, finally calculating the updated contribution value according to the contribution value and the privilege exercise information, and linking the updated contribution value, so that the donation information, the contribution value and the privilege exercise information of the donation party are all stored in the blockchain network, the information recording efficiency of the donation party is improved, and the information transparency of the donation information and related information is improved.
An exemplary structure of the blockchain-based information recording device implemented as a software module provided by the embodiment of the present invention is described below.
The exemplary architecture of the blockchain-based information recording device 755 implemented as a software module provided by embodiments of the present invention, in some embodiments, as shown in fig. 4, the software module stored in the blockchain-based information recording device 755 of the memory 740 may include:
a receiving module 7511 for receiving at least one donation information sent by a donor for at least one donation item, saving the at least one donation information in the blockchain; the at least one donation item is initiated by a donation party; receiving privilege exercise information sent by a server for the donor through the contribution value, and storing the privilege exercise information in the blockchain; the privilege exercise information characterizes a priority right given to the donor by the service party;
the statistics module 7552 is used for counting the donation information in at least one donation information of the donation party, obtaining donation summary information of the donation party, and storing the donation summary information into the blockchain; the donation summary information includes donation information for each of the at least one donation items by the donor;
The calculating module 7553 is used for calculating the contribution value of the donator according to the donation summary information and storing the contribution value into the blockchain; the contribution value characterizes a degree of contribution of the donor to the at least one donation item; and calculating an updated contribution value according to the contribution value and the privilege exercise information, and storing the updated contribution value in the blockchain to complete information recording.
In some embodiments of the invention, the receiving module 7511 is further for receiving at least one donation information for at least one donation item uploaded by at least one donation party; the at least one donation information is saved into the blockchain.
In some embodiments of the present invention, the calculating module 7553 is specifically configured to count the donation summary information to obtain a contribution value of the donation party, and store the contribution value in a blockchain; or, obtaining the donation information of each donation project in at least one donation project from the donation summary information, weighting the donation information of each donation project, calculating a contribution value of the donation party, and storing the contribution value in a blockchain.
In some embodiments of the present invention, the calculating module 7553 is specifically configured to obtain, according to the contribution value and the privilege exercise information, a difference value between the contribution value and the privilege exercise information; determining the updated contribution value according to the difference value; and storing the updated contribution value in the blockchain.
In some embodiments of the present invention, the receiving module 7551 is specifically configured to communicate the contribution value to the service party; receiving the privilege exercise information sent by the service side and aimed at the donor; the privilege exercise information is generated by the server according to the contribution value; the privilege exercise information is saved in the blockchain.
In some embodiments of the invention, the receiving module 7511 is further configured to receive funds usage information of the at least one donation party for the at least one donation information and store the funds usage information of the at least one donation information in the blockchain;
the statistics module 7552 is further configured to obtain donation integration information of the donation party according to the at least one donation information and fund usage information of the at least one donation information; the donation integration information characterizes a summary of fund usage of the donation information by the donation party for at least one donation item; and saving the donation integration information into the blockchain.
In some embodiments of the present invention, the statistics module 7552 is specifically further configured to integrate the fund usage information of the at least one donation information with the at least one donation information to obtain intermediate integration information corresponding to each of the at least one donation items; the intermediate integration information characterizes a summary of the fund usage of the donation information by the donation party for the separate donation items; storing intermediate integration information corresponding to each of the at least one donation items in the blockchain; and obtaining the donation integration information of the donation party according to the intermediate integration information corresponding to each donation item.
Embodiments of the present invention provide a storage medium storing executable instructions, in which executable information recording instructions are stored, which when executed by a processor, cause the processor to perform a blockchain-based information recording method provided by embodiments of the present invention, for example, as shown in fig. 5 and 9.
In some embodiments, the storage medium may be FRAM, ROM, PROM, EPROM, EEPROM, flash, magnetic surface memory, optical disk, or CD-ROM; but may be a variety of devices including one or any combination of the above memories.
In some embodiments, the executable instructions may be in the form of programs, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and they may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
As an example, the executable instructions may, but need not, correspond to files in a file system, may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a hypertext markup language (HTML, hyper Text Markup Language) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
As an example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices located at one site or, alternatively, distributed across multiple sites and interconnected by a communication network.
The foregoing is merely exemplary embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and scope of the present invention are included in the protection scope of the present invention.

Claims (8)

1. A blockchain-based information recording method, comprising:
receiving at least one donation message sent by a donation party for at least one donation item, and storing the at least one donation message in the blockchain, wherein the at least one donation item is initiated by the donation party, and the donation message comprises a donation item identifier, a donation running water identifier, a donation amount number and a donation party identifier;
counting the donation information in at least one donation information of the donation party, obtaining donation summarized information of the donation party, and storing the donation summarized information into the blockchain, wherein the donation summarized information comprises donation information of the donation party for each donation project in the at least one donation project;
obtaining donation information of the donation party for each donation item in the at least one donation item from the donation summary information, weighting the donation information of each donation item, calculating a contribution value of the donation party, and saving the contribution value into the blockchain, wherein the contribution value characterizes the contribution degree of the donation party to the at least one donation item;
Receiving privilege exercise information sent by a service party aiming at the donator through the contribution value, and storing the privilege exercise information in the blockchain, wherein the privilege exercise information is generated by the service party according to the contribution value and is used for representing the priority authority of the service party to the donator;
determining a difference value between the contribution value and the privilege exercise information according to the contribution value and the contribution value required to be consumed by the donator to exercise the priority right, determining an updated contribution value according to the difference value, and storing the updated contribution value in the blockchain to complete information recording.
2. The method of claim 1, wherein prior to the receiving at least one donation information sent by the donor for the at least one donation item, the method further comprises:
receiving at least one donation information for at least one donation item uploaded by at least one donation party;
the at least one donation information is saved into the blockchain.
3. The method of any one of claims 1 to 2, wherein the receiving the privilege exercise information for the donor sent by a server via the contribution value and saving the privilege exercise information in the blockchain comprises:
Transmitting the contribution value to the service side;
receiving the privilege exercise information sent by the service side and aimed at the donor;
the privilege exercise information is saved in the blockchain.
4. The method of claim 2, wherein after said saving said at least one donation information to said blockchain, the method further comprises:
receiving funds usage information of the at least one donation party for the at least one donation information and saving the funds usage information of the at least one donation information in the blockchain;
obtaining donation integration information of the donation party according to the at least one donation information and the fund use information of the at least one donation information, wherein the donation integration information characterizes the summary of the fund use condition of the donation party for the donation information of at least one donation project;
and saving the donation integration information into the blockchain.
5. The method of claim 4, wherein the deriving the donation integration information for the donation party based on the at least one donation information and the fund usage information for the at least one donation information comprises:
Integrating the fund usage information of the at least one donation information with the at least one donation information to obtain intermediate integration information corresponding to each donation item in the at least one donation item, wherein the intermediate integration information characterizes the aggregation of the fund usage conditions of the donation party for the donation information of the individual donation items;
storing intermediate integration information corresponding to each of the at least one donation items in the blockchain;
and obtaining the donation integration information of the donation party according to the intermediate integration information corresponding to each donation item.
6. A blockchain-based information recording device, comprising:
a receiving module for receiving at least one donation information sent by a donor for at least one donation item, the at least one donation item being initiated by the donor, the donation information comprising a donation item identification, a donation running water identification, a number of donations, and a donor identification, saving the at least one donation information in the blockchain; and receiving privilege exercise information sent by a service party for the donor through a contribution value, and storing the privilege exercise information in the blockchain, wherein the privilege exercise information is generated by the service party according to the contribution value and is used for representing the priority rights given to the donor by the service party;
The statistics module is used for counting the donation information in at least one donation information of the donation party, obtaining donation summary information of the donation party, and storing the donation summary information into the blockchain, wherein the donation summary information comprises donation information of the donation party for each donation item in the at least one donation item;
a calculation module for obtaining the donation information of the donation party for each donation item in the at least one donation item from the donation summary information, weighting the donation information of each donation item, calculating a contribution value of the donation party, and storing the contribution value into the blockchain, wherein the contribution value characterizes the contribution degree of the donation party to the at least one donation item; determining a difference value between the contribution value and the privilege exercise information according to the contribution value and the contribution value required to be consumed by the donator to exercise the priority right, determining an updated contribution value according to the difference value, and storing the updated contribution value in the blockchain to complete information recording.
7. A blockchain-based information recording device, comprising:
a memory for storing executable information recording instructions;
a processor for implementing the method of any one of claims 1 to 5 when executing executable information recording instructions stored in said memory.
8. A computer readable storage medium, characterized in that executable information recording instructions are stored for causing a processor to perform the method of any one of claims 1 to 5.
CN201910852670.9A 2019-09-10 2019-09-10 Information recording method, device, equipment and storage medium based on blockchain Active CN110597813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910852670.9A CN110597813B (en) 2019-09-10 2019-09-10 Information recording method, device, equipment and storage medium based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910852670.9A CN110597813B (en) 2019-09-10 2019-09-10 Information recording method, device, equipment and storage medium based on blockchain

Publications (2)

Publication Number Publication Date
CN110597813A CN110597813A (en) 2019-12-20
CN110597813B true CN110597813B (en) 2024-03-29

Family

ID=68858543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910852670.9A Active CN110597813B (en) 2019-09-10 2019-09-10 Information recording method, device, equipment and storage medium based on blockchain

Country Status (1)

Country Link
CN (1) CN110597813B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111626859B (en) * 2020-06-05 2024-04-19 中国银行股份有限公司 Material management and control system
CN111833104A (en) * 2020-07-13 2020-10-27 杨天硕 Donation information processing method and device, electronic equipment and storage medium
CN112053271B (en) * 2020-10-14 2022-01-28 腾讯科技(深圳)有限公司 Public service platform data evidence management method and system based on block chain
CN112001663B (en) * 2020-10-30 2021-02-12 腾讯科技(深圳)有限公司 Material donation data processing method based on block chain and related equipment
CN112348580B (en) * 2020-11-02 2023-09-01 中国联合网络通信集团有限公司 Advertisement pushing method and system based on block chain
CN112399203B (en) * 2020-11-02 2023-06-20 中国联合网络通信集团有限公司 Advertisement pushing method and system based on block chain
CN112399206B (en) * 2020-11-04 2023-04-07 中国联合网络通信集团有限公司 Advertisement pushing method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107851460A (en) * 2015-06-08 2018-03-27 连接解决方案和应用有限公司 The unified registration in the whole world of donor and universal identification method
CN108510275A (en) * 2018-04-08 2018-09-07 众安信息技术服务有限公司 The method and computer readable storage medium of progress for the public good project that follows up
CN109118090A (en) * 2018-08-15 2019-01-01 北京元链科技有限公司 A kind of shared vehicles carbon emission system based on block chain technology
CN109146716A (en) * 2018-07-27 2019-01-04 四川天恩释农科技有限公司 A kind of holographic digital intelligent entertainment interactive system based on block chain technology
CN109242477A (en) * 2018-06-28 2019-01-18 平安科技(深圳)有限公司 Charitable donation method, system and storage medium based on block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140317012A1 (en) * 2013-03-27 2014-10-23 Johnson & Johnson Services, Inc. Enabling non-monetary philanthropic currency donation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107851460A (en) * 2015-06-08 2018-03-27 连接解决方案和应用有限公司 The unified registration in the whole world of donor and universal identification method
CN108510275A (en) * 2018-04-08 2018-09-07 众安信息技术服务有限公司 The method and computer readable storage medium of progress for the public good project that follows up
CN109242477A (en) * 2018-06-28 2019-01-18 平安科技(深圳)有限公司 Charitable donation method, system and storage medium based on block chain
CN109146716A (en) * 2018-07-27 2019-01-04 四川天恩释农科技有限公司 A kind of holographic digital intelligent entertainment interactive system based on block chain technology
CN109118090A (en) * 2018-08-15 2019-01-01 北京元链科技有限公司 A kind of shared vehicles carbon emission system based on block chain technology

Also Published As

Publication number Publication date
CN110597813A (en) 2019-12-20

Similar Documents

Publication Publication Date Title
CN110597813B (en) Information recording method, device, equipment and storage medium based on blockchain
CN112214797B (en) Data processing method, device, equipment, block chain system and storage medium
US20200327546A1 (en) Systems, devices, and methods for dlt-based data management platforms and data products
CN107408174B (en) System and method for managing networking commitments for secure entities
WO2019204670A2 (en) Decentralized protocol for maintaining cryptographically proven multi-step referral networks
US20190172026A1 (en) Cross blockchain secure transactions
JP2023134665A (en) Blockchain implemented method and system
Ferrer-Gomila et al. A fair contract signing protocol with blockchain support
TW202038173A (en) Blockchain-based data processing system and method, computing device and storage medium
CN109863516A (en) It is applied for the trusted platform of network B OP component and integrated BOP
WO2016184298A1 (en) Application promotion method, server, terminal and storage medium
CA3102237A1 (en) Utility token-based systems and methods
CN111815372B (en) Live broadcast processing method and device based on block chain, electronic equipment and storage medium
CN111260399B (en) Advertisement data processing method and device based on block chain network and electronic equipment
JP2023011611A (en) Blockchain-based system and method for communication, storage and processing of data over blockchain network
CN111708927B (en) Information recommendation method and device and electronic equipment
Zhang et al. Interoperable multi-blockchain platform based on integrated REST APIs for reliable tourism management
Ding et al. Design and implementation of blockchain-based digital advertising media promotion system
CN110597908A (en) Credit investigation recording method, device and storage medium based on block chain
CN110597884B (en) Donation collecting method, device, equipment and storage medium based on block chain network
Merrad et al. Blockchain: Consensus algorithm key performance indicators, trade-offs, current trends, common drawbacks, and novel solution proposals
CN110602215B (en) Resource processing method based on alliance block chain and alliance block chain system
CN110727735B (en) Method, device and equipment for cooperatively completing task event based on block chain technology
CN112070637A (en) Case processing method and device based on block chain
CN115512801A (en) Medical standard data processing method, device, equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant