CN111368283A - Public welfare data storage method and system based on block chain - Google Patents
Public welfare data storage method and system based on block chain Download PDFInfo
- Publication number
- CN111368283A CN111368283A CN202010124324.1A CN202010124324A CN111368283A CN 111368283 A CN111368283 A CN 111368283A CN 202010124324 A CN202010124324 A CN 202010124324A CN 111368283 A CN111368283 A CN 111368283A
- Authority
- CN
- China
- Prior art keywords
- block chain
- good
- data
- blockchain
- account
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000013500 data storage Methods 0.000 title claims abstract description 26
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000008901 benefit Effects 0.000 claims abstract description 43
- 230000000977 initiatory effect Effects 0.000 claims abstract description 27
- 230000007246 mechanism Effects 0.000 claims abstract description 13
- 238000012795 verification Methods 0.000 claims description 34
- 238000005304 joining Methods 0.000 claims description 6
- 230000002349 favourable effect Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000003999 initiator Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/42—User authentication using separate channels for security data
- G06F21/43—User authentication using separate channels for security data wireless channels
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06037—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/389—Keeping log of transactions for guaranteeing non-repudiation of a transaction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/02—Banking, e.g. interest calculation or account maintenance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/22—Social work or social welfare, e.g. community support activities or counselling services
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Computer Security & Cryptography (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Finance (AREA)
- Marketing (AREA)
- Tourism & Hospitality (AREA)
- Economics (AREA)
- Health & Medical Sciences (AREA)
- Computer Networks & Wireless Communication (AREA)
- Child & Adolescent Psychology (AREA)
- Primary Health Care (AREA)
- Human Resources & Organizations (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Technology Law (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a block chain-based public benefit data storage method and a block chain-based public benefit data storage system, wherein the block chain-based public benefit data storage method comprises the following steps: building block chain nodes and assembling a block chain network, wherein the block chain nodes are divided into public service mechanisms or initiating nodes for personal use and participating nodes for contributors; and starting donation, wherein when a person or a public institution joins the block chain network, a mobile phone number is required to register and log in an account number, basic information is uploaded and real-name authentication is carried out, and a block chain private key is obtained after authentication of an authentication team. Has the advantages that: make the donation more transparent to individual, public welfare institution and donator all have independent account to log in, can inquire the record, easily verify the authenticity of initiating the donation, are favorable to improving the enthusiasm of donator, make the people who has the trouble can more timely obtain the donation.
Description
Technical Field
The invention relates to the field of data storage, in particular to a block chain-based public welfare data storage method and system.
Background
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. The Blockchain (Blockchain) is an important concept of the bitcoin, which is essentially a decentralized database, and is used as the underlying technology of the bitcoin, and is a series of data blocks which are generated by using a cryptographic method to be related, wherein each data block contains information of a batch of bitcoin network transactions, and the information is used for verifying the validity (anti-counterfeiting) of the information and generating the next block.
The traditional centralized database storage is adopted to the record of existing charity to the benevolence, this kind of storage mode can cause the data island, do not have effective consensus, it is transparent low, data factor of safety hangs down the scheduling problem, thereby lead to the donor to hang down to charity's credit, be concerned about when carrying out the donation, and current donation mode goes on the network more, the donor is the acquiescent donation alone, do not have any record, lead to the donor can't obtain any encouragement, make the donor enthusiasm relatively poor.
An effective solution to the problems in the related art has not been proposed yet.
Disclosure of Invention
The present invention provides a block chain-based equity benefit data storage method and system to overcome the above-mentioned technical problems of the related art.
The technical scheme of the invention is realized as follows:
according to one aspect of the invention, a block chain-based equity benevolence data storage method is provided.
The block chain-based public welfare data storage method comprises the following steps:
building block chain nodes and assembling a block chain network, wherein the block chain nodes are divided into public service mechanisms or initiating nodes for personal use and participating nodes for contributors;
initiating donation, wherein when a person or a public institution joins a block chain network, a mobile phone number is required to be registered and an account is logged in, basic information is uploaded and real-name authentication is carried out, a block chain private key is obtained after authentication of an authentication team, and each piece of benefit information accepted by the person or the technical institution is uploaded to a block chain node of the public institution to obtain a contract address of a benefit block chain;
donate money, every participation node needs the registration of cell-phone number and logs in the account when joining the block chain network, and the participant can select the donation object by oneself after logging in the account, and every donation is all automatic to be generated the record and is stored on this account to can obtain the score after the account donation, wherein the integral value is 1 with donation value ratio: 1;
generating a two-dimensional code carrying a good block link contract address corresponding to each good, and tracing the good information and good circulation data of the good linked to the good block link contract address in the two-dimensional code by scanning the two-dimensional code;
the personal or public welfare agency signs the good money transfer data of the personal or public welfare agency by using the private key of the block chain of the public welfare agency and uploads the good money transfer data to the block chain contract address of the public welfare agency, and simultaneously records the signed good money transfer data to the good money block chain contract address in the two-dimensional code corresponding to the good money, wherein each block chain node stores the copy of the block chain data recorded by each block chain contract point in the current block chain network.
Furthermore, when each initiating node joins the block chain network registration account, real-name authentication is required, and positive and negative identification card information, face information and a login password are required to be uploaded.
Furthermore, when each participating node and each initiating node join the block chain network login account, not only a login password needs to be input, but also the login of the account can be completed only after the verification is carried out through a mobile phone verification code.
Further, the basic information uploaded by the individual or public institution includes: self-introduction, donation origination reason, time, place, and related picture or video evidence.
Further, account number integral value is accumulated and is reached certain numerical value and can be received corresponding good certificate, wherein good certificate is the electron file and can download, and has the two-dimensional code on the good certificate, and this account number donation record can be looked over to the scanning two-dimensional code, wherein includes the amount of every donation, time, donation object and carries the two-dimensional code of this good money district block chain contract address that this good money corresponds.
Further, whether the blockchain data is tampered or not is verified through the following steps:
if the blockchain data stored in any blockchain node in the current blockchain network is tampered, synchronizing the tampered blockchain data to the blockchain network; each blockchain node in the current blockchain network verifies whether a copy of blockchain data consistent with the tampered blockchain data of the blockchain node to be verified exists in the stored copies of blockchain data; and if the verification results of all the blockchain nodes in the current blockchain network are inconsistent, determining that the tampered blockchain data of the blockchain node to be verified is tampered, and deleting the tampered blockchain data.
According to another aspect of the present invention, a block chain based equity benevolent data storage system is provided.
The application of the block chain-based public welfare data storage method comprises the following steps:
the multi-party participation module is used for building block chain nodes for individuals or public welfare agencies of the current public welfare alliance and building a block chain network; the block chain nodes in the block chain network are divided into a plurality of initiating nodes and a plurality of participating nodes, and account passwords login verification passes when each participating node and each initiating node join the block chain network;
the data security module is connected with the multi-party participation module and used for receiving the basic information of the public institution uploaded to the block chain node of the public institution by a person or the public institution and returning a block chain private key to the public institution; and receiving the benefit information of each benefit accepted by the public institution and uploaded to the block chain node of the public institution by the public institution and returning a benefit block chain contract address to the public institution;
the two-dimensional code generating module is connected with the data security module and used for generating a two-dimensional code carrying a good block chain contract address corresponding to the good for each good and can also be used for generating a two-dimensional code of a contribution record of each account for each participant account receiving a good certificate;
the data recording module is respectively connected with the data security module and the two-dimensional code generation module and is used for receiving signed benefit circulation data obtained by signing the benefit circulation data handed by the public welfare agency by using the block chain private key of the public welfare agency and transmitted to the block chain node of the public welfare agency by each public welfare agency and recording the signed benefit circulation data to the benefit block chain contract address in the two-dimensional code corresponding to the benefit;
the verification code generating and sending module is connected with the two-dimensional code generating module and the data recording module, and generates a verification code of six random digits and sends the verification code to a mobile phone number of an account when the account logs in after a password is input correctly;
and the verification module is respectively connected with the multi-party participation module and the verification code generation and sending module, is used for verifying the consistency of the account number and the password, and is used for verifying the verification code.
Furthermore, the source tracing module is connected with the two-dimension code generating and sending module and is used for decrypting the two-dimension code so as to trace the good information and the good circulation data of the good which are linked to the good block link contract address in the two-dimension code.
Further, the determining module is configured to determine that the tampered blockchain data of the blockchain node to be verified has been tampered when the verification results of the blockchain nodes in the current blockchain network are inconsistent, and delete the tampered blockchain data.
The invention has the beneficial effects that: can become a block chain network according to individual or public welfare mechanism's block chain link point subassembly, make the donor can trace back the information and the circulation data of good money, make the donation more transparent, and it is individual, public welfare mechanism and donor all have independent account to log on, can inquire the record, and can track the individual or public welfare mechanism who initiates, thereby easily verify the authenticity of initiating the donation, and every donation of donor can all obtain the score, and can accumulate, the score reaches a definite value and can earn the certificate that corresponds, thereby make the donor can obtain the feedback, be favorable to improving the enthusiasm of donor, make the difficult people can be more timely the donation of obtaining.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a flow chart of a block chain based equity benevolence data storage method according to an embodiment of the present invention;
FIG. 2 is a block chain network in a block chain-based equity benefit data storage method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating the relationship between an initiator and a participant in a block chain-based equity benevolence data storage method according to an embodiment of the present invention;
FIG. 4 is a block diagram of a block chain based equity benevolence data storage system according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present invention.
According to an embodiment of the invention, a block chain-based equity benevolence data storage method is provided.
As shown in fig. 1, the block chain-based equity benevolence data storage method includes the following steps:
step S101, building block chain nodes and assembling a block chain network, wherein the block chain nodes are divided into public service mechanisms or initiating nodes for individuals and participating nodes for donors;
step S103, initiating donation, wherein when a person or a public institution joins a block chain network, a mobile phone number is required to register and log in an account number, basic information is uploaded and real-name authentication is carried out, a block chain private key is obtained after authentication of an authentication team, and each piece of benefit information accepted by the person or the technical institution is uploaded to a block chain node of the public institution to obtain a contract address of a benefit block chain;
step S105, making contribution, wherein each participating node needs to register a mobile phone number and log in an account when joining the blockchain network, participants can select a contribution object after logging in the account, each contribution automatically generates a record to be stored on the account, and the account can obtain points after contributing, wherein the ratio of the integral value to the contribution value is 1: 1;
step S107, generating a two-dimensional code carrying the corresponding good block link contract address of the good for each good, and tracing the good information and the good circulation data of the good linked to the good block link contract address in the two-dimensional code by scanning the two-dimensional code;
step S109, the individual or public institution signs the money transfer data of the individual or public institution via hand by using the private key of the block chain of the public institution and then uploads the signed money transfer data to the contract address of the block chain of the money transfer in the two-dimensional code corresponding to the money transfer, wherein each block chain node stores a copy of the block chain data recorded by each of all the block chain nodes in the current block chain network.
In addition, when each initiating node joins the block chain network registration account, real-name authentication is required, and positive and negative identification card information, face information and a login password are required to be uploaded and set.
In addition, when each participating node and each initiating node join the block chain network login account, not only a login password needs to be input, but also the login of the account can be completed only after the verification is carried out through a mobile phone verification code.
Wherein, the basic information uploaded by the individual or public institution comprises: self-introduction, donation origination reason, time, place, and related picture or video evidence.
The account number integral value is accumulated to reach a certain numerical value, a corresponding proper certificate can be received, wherein the proper certificate is an electronic file and can be downloaded, two-dimensional codes are arranged on the proper certificate, the account number contribution record can be checked by scanning the two-dimensional codes, and the two-dimensional codes comprise the amount, time and contribution object of each contribution and carry the corresponding benefit block chain contract address of the benefit.
Verifying whether the blockchain data is tampered or not by the following steps:
if the blockchain data stored in any blockchain node in the current blockchain network is tampered, synchronizing the tampered blockchain data to the blockchain network; each blockchain node in the current blockchain network verifies whether a copy of blockchain data consistent with the tampered blockchain data of the blockchain node to be verified exists in the stored copies of blockchain data; and if the verification results of all the blockchain nodes in the current blockchain network are inconsistent, determining that the tampered blockchain data of the blockchain node to be verified is tampered, and deleting the tampered blockchain data.
For the convenience of understanding the above technical solution of the present invention, the following detailed description is made on the flow of the above solution of the present invention with reference to the accompanying drawings, and specifically is as follows:
building block chain nodes and assembling a block chain network, wherein the block chain nodes are divided into initiation nodes for a public welfare mechanism or a personal and participation nodes for contributors, the initiation nodes are used for initiating a financing project for the personal or the public welfare mechanism, and the participation nodes are used for contributing the financing project for the participators, and the participators can independently select the donated project;
initiating donation, wherein when a person or a public institution joins a block chain network, a mobile phone number is required to be registered and an account is logged in, basic information is uploaded and real-name authentication is carried out, a block chain private key is obtained after authentication of an authentication team, and each piece of benefit information accepted by the person or the technical institution is uploaded to a block chain node of the public institution to obtain a contract address of a benefit block chain;
donate money, every participation node needs the registration of cell-phone number and logs in the account when joining the block chain network, and the participant can select the donation object by oneself after logging in the account, and every donation is all automatic to be generated the record and is stored on this account to can obtain the score after the account donation, wherein the integral value is 1 with donation value ratio: 1, the points are accumulated, and the certificate is automatically issued when the points reach a certain value, so that a donor does not need to actively collect the points, the donor can automatically download the points, and the points cannot be reset or reduced after the certificate is collected;
generating a two-dimensional code carrying a good block link contract address corresponding to each good, wherein the two-dimensional code can be checked by individuals initiating the donation or public institutions or donators participating in the donation, and the good information and good circulation data of the good linked to the good block link contract address in the two-dimensional code can be traced by scanning the two-dimensional code, so that the flow direction of each good is more transparent;
the personal or public welfare agency signs the good money transfer data of the personal or public welfare agency by using the private key of the block chain of the public welfare agency and uploads the good money transfer data to the block chain contract address of the public welfare agency, and simultaneously records the signed good money transfer data to the good money block chain contract address in the two-dimensional code corresponding to the good money, wherein each block chain node stores the copy of the block chain data recorded by each block chain contract point in the current block chain network.
In addition, when each initiating node joins the block chain network registration account, real-name authentication is required, and positive and negative identification card information, face information and a login password are required to be uploaded and set.
In addition, when each participating node and each initiating node join the block chain network login account, not only a login password needs to be input, but also the login of the account can be completed only after the verification is carried out through a mobile phone verification code.
Wherein, the basic information uploaded by the individual or public institution comprises: self-introduction, donation origination reason, time, place, and related picture or video evidence.
The account number integral value is accumulated to reach a certain numerical value, a corresponding proper certificate can be received, wherein the proper certificate is an electronic file and can be downloaded, two-dimensional codes are arranged on the proper certificate, the account number contribution record can be checked by scanning the two-dimensional codes, and the two-dimensional codes comprise the amount, time and contribution object of each contribution and carry the corresponding benefit block chain contract address of the benefit.
Verifying whether the blockchain data is tampered or not by the following steps:
if the blockchain data stored in any blockchain node in the current blockchain network is tampered, synchronizing the tampered blockchain data to the blockchain network; each blockchain node in the current blockchain network verifies whether a copy of blockchain data consistent with the tampered blockchain data of the blockchain node to be verified exists in the stored copies of blockchain data; and if the verification results of all the blockchain nodes in the current blockchain network are inconsistent, determining that the tampered blockchain data of the blockchain node to be verified is tampered, and deleting the tampered blockchain data.
According to an embodiment of the invention, a block chain-based equity benevolence data storage system is also provided.
As shown in fig. 2, in an actual production process, the block chain-based equity benevolence data storage system includes:
the multi-party participation module is used for building block chain nodes for individuals or public welfare agencies of the current public welfare alliance and building a block chain network; the block chain nodes in the block chain network are divided into a plurality of initiating nodes and a plurality of participating nodes, and account passwords login verification passes when each participating node and each initiating node join the block chain network;
the data security module is connected with the multi-party participation module and used for receiving the basic information of the public institution uploaded to the block chain node of the public institution by a person or the public institution and returning a block chain private key to the public institution; and receiving the benefit information of each benefit accepted by the public institution and uploaded to the block chain node of the public institution by the public institution and returning a benefit block chain contract address to the public institution;
the two-dimensional code generating module is connected with the data security module and used for generating a two-dimensional code carrying a good block chain contract address corresponding to the good for each good and can also be used for generating a two-dimensional code of a contribution record of each account for each participant account receiving a good certificate;
the data recording module is respectively connected with the data security module and the two-dimensional code generation module and is used for receiving signed benefit circulation data obtained by signing the benefit circulation data handed by the public welfare agency by using the block chain private key of the public welfare agency and transmitted to the block chain node of the public welfare agency by each public welfare agency and recording the signed benefit circulation data to the benefit block chain contract address in the two-dimensional code corresponding to the benefit;
the verification code generating and sending module is connected with the two-dimensional code generating module and the data recording module, and generates a verification code of six random digits and sends the verification code to a mobile phone number of an account when the account logs in after a password is input correctly;
and the verification module is respectively connected with the multi-party participation module and the verification code generation and sending module, is used for verifying the consistency of the account number and the password, and is used for verifying the verification code.
In one embodiment, further comprising: and the source tracing module is connected with the two-dimensional code generating and sending module and is used for decrypting the two-dimensional code so as to trace the good information and the good circulation data of the good which are linked to the good block link contract address in the two-dimensional code.
In one embodiment, further comprising: and the determining module is connected with the verifying module and is used for determining that the tampered blockchain data of the blockchain node to be verified has been tampered when the verifying results of all the blockchain nodes in the current blockchain network are inconsistent, and deleting the tampered blockchain data.
In summary, by means of the technical scheme of the invention, a block chain network can be formed according to block chain link point assemblies of individuals or public welfare mechanisms, so that donors can trace information and circulation data of good money, the donations are more transparent, individuals, public welfare mechanisms and donors have independent account numbers to log in, records can be inquired, and initiated individuals or public welfare mechanisms can be tracked, so that authenticity of initiated donations is easy to verify, each donation of a donor can be accumulated, and corresponding certificates can be obtained when the points reach a certain value, so that the donors can be fed back, enthusiasm of the donors is improved, and difficult people can obtain donations more timely.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (9)
1. A block chain-based public benefit data storage method is characterized by comprising the following steps:
building block chain nodes and assembling a block chain network, wherein the block chain nodes are divided into public service mechanisms or initiating nodes for personal use and participating nodes for contributors;
initiating donation, wherein when a person or a public institution joins a block chain network, a mobile phone number is required to be registered and an account is logged in, basic information is uploaded and real-name authentication is carried out, a block chain private key is obtained after authentication of an authentication team, and each piece of benefit information accepted by the person or the technical institution is uploaded to a block chain node of the public institution to obtain a contract address of a benefit block chain;
donate money, every participation node needs the registration of cell-phone number and logs in the account when joining the block chain network, and the participant can select the donation object by oneself after logging in the account, and every donation is all automatic to be generated the record and is stored on this account to can obtain the score after the account donation, wherein the integral value is 1 with donation value ratio: 1;
generating a two-dimensional code carrying a good block link contract address corresponding to each good, and tracing the good information and good circulation data of the good linked to the good block link contract address in the two-dimensional code by scanning the two-dimensional code;
the personal or public welfare agency signs the good money transfer data of the personal or public welfare agency by using the private key of the block chain of the public welfare agency and uploads the good money transfer data to the block chain contract address of the public welfare agency, and simultaneously records the signed good money transfer data to the good money block chain contract address in the two-dimensional code corresponding to the good money, wherein each block chain node stores the copy of the block chain data recorded by each block chain contract point in the current block chain network.
2. The method as claimed in claim 1, wherein each originating node needs to perform real-name authentication when joining a network registered account of the block chain, and needs to upload the positive and negative identification card and face information and set a login password.
3. The method for storing profits data based on a block chain as claimed in claim 2, wherein each participating node and each initiating node not only needs to input a login password when joining the block chain network login account, but also needs to be verified by a mobile phone verification code to complete the login of the account.
4. The block chain-based equity benevolence data storage method of claim 3, wherein the basic information uploaded by the individual or the equity institution comprises: self-introduction, donation origination reason, time, place, and related picture or video evidence.
5. The method as claimed in claim 4, wherein the credit value of the account is accumulated to a certain value to receive the corresponding good certificate, wherein the good certificate is an electronic file and can be downloaded, and the good certificate has two-dimensional codes thereon, and the account donation record can be viewed by scanning the two-dimensional codes, wherein the two-dimensional codes include the amount, time, and object of donation of each donation and the two-dimensional code carrying the contract address of the good block chain corresponding to the good.
6. The blockchain-based equity benevolence data storage method of claim 4, wherein the blockchain data is verified as being tampered with by:
if the blockchain data stored in any blockchain node in the current blockchain network is tampered, synchronizing the tampered blockchain data to the blockchain network; each blockchain node in the current blockchain network verifies whether a copy of blockchain data consistent with the tampered blockchain data of the blockchain node to be verified exists in the stored copies of blockchain data; and if the verification results of all the blockchain nodes in the current blockchain network are inconsistent, determining that the tampered blockchain data of the blockchain node to be verified is tampered, and deleting the tampered blockchain data.
7. A block chain-based equity benevolence data storage system, for use in the block chain-based equity benevolence data storage method of claim 6, comprising:
the multi-party participation module is used for building block chain nodes for individuals or public welfare agencies of the current public welfare alliance and building a block chain network; the block chain nodes in the block chain network are divided into a plurality of initiating nodes and a plurality of participating nodes, and account passwords login verification passes when each participating node and each initiating node join the block chain network;
the data security module is connected with the multi-party participation module and used for receiving the basic information of the public institution uploaded to the block chain node of the public institution by a person or the public institution and returning a block chain private key to the public institution; and receiving the benefit information of each benefit accepted by the public institution and uploaded to the block chain node of the public institution by the public institution and returning a benefit block chain contract address to the public institution;
the two-dimensional code generating module is connected with the data security module and used for generating a two-dimensional code carrying a good block chain contract address corresponding to the good for each good and can also be used for generating a two-dimensional code of a contribution record of each account for each participant account receiving a good certificate;
the data recording module is respectively connected with the data security module and the two-dimensional code generation module and is used for receiving signed benefit circulation data obtained by signing the benefit circulation data handed by the public welfare agency by using the block chain private key of the public welfare agency and transmitted to the block chain node of the public welfare agency by each public welfare agency and recording the signed benefit circulation data to the benefit block chain contract address in the two-dimensional code corresponding to the benefit;
the verification code generating and sending module is connected with the two-dimensional code generating module and the data recording module, and generates a verification code of six random digits and sends the verification code to a mobile phone number of an account when the account logs in after a password is input correctly;
and the verification module is respectively connected with the multi-party participation module and the verification code generation and sending module, is used for verifying the consistency of the account number and the password, and is used for verifying the verification code.
8. The method of claim 7, further comprising: and the source tracing module is connected with the two-dimensional code generating and sending module and is used for decrypting the two-dimensional code so as to trace the good information and the good circulation data of the good which are linked to the good block link contract address in the two-dimensional code.
9. The method of claim 7, further comprising: and the determining module is used for determining that the tampered blockchain data of the blockchain node to be verified is tampered when the verification results of all the blockchain nodes in the current blockchain network are inconsistent, and deleting the tampered blockchain data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010124324.1A CN111368283A (en) | 2020-02-27 | 2020-02-27 | Public welfare data storage method and system based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010124324.1A CN111368283A (en) | 2020-02-27 | 2020-02-27 | Public welfare data storage method and system based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111368283A true CN111368283A (en) | 2020-07-03 |
Family
ID=71206499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010124324.1A Pending CN111368283A (en) | 2020-02-27 | 2020-02-27 | Public welfare data storage method and system based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111368283A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112507022A (en) * | 2020-11-25 | 2021-03-16 | 中国科学院沈阳计算技术研究所有限公司 | Block chain charitable system based on novel data storage model |
CN112507355A (en) * | 2020-12-04 | 2021-03-16 | 钟爱健康科技(广东)有限公司 | Individual health data storage system based on block chain |
CN112529600A (en) * | 2020-12-21 | 2021-03-19 | 童超 | Public welfare management method and platform |
CN113256468A (en) * | 2021-05-07 | 2021-08-13 | 栾极 | Method and device for managing donation mutual information, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108446969A (en) * | 2018-03-29 | 2018-08-24 | 张文昌 | A kind of unified public transport book keeping operation and transaction system based on block chain |
CN109583862A (en) * | 2018-11-29 | 2019-04-05 | 广州大学 | A kind of point-to-point internet public good management method and device based on block chain technology |
CN110413697A (en) * | 2019-08-02 | 2019-11-05 | 佛山市顺德区平行互联网信息科技有限公司 | A kind of public good goodness-sum date storage method and system based on block chain |
CN110766543A (en) * | 2019-10-16 | 2020-02-07 | 天聚地合(苏州)数据股份有限公司 | Block chain-based public welfare monitoring and tracking method for preventing data leakage |
-
2020
- 2020-02-27 CN CN202010124324.1A patent/CN111368283A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108446969A (en) * | 2018-03-29 | 2018-08-24 | 张文昌 | A kind of unified public transport book keeping operation and transaction system based on block chain |
CN109583862A (en) * | 2018-11-29 | 2019-04-05 | 广州大学 | A kind of point-to-point internet public good management method and device based on block chain technology |
CN110413697A (en) * | 2019-08-02 | 2019-11-05 | 佛山市顺德区平行互联网信息科技有限公司 | A kind of public good goodness-sum date storage method and system based on block chain |
CN110766543A (en) * | 2019-10-16 | 2020-02-07 | 天聚地合(苏州)数据股份有限公司 | Block chain-based public welfare monitoring and tracking method for preventing data leakage |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112507022A (en) * | 2020-11-25 | 2021-03-16 | 中国科学院沈阳计算技术研究所有限公司 | Block chain charitable system based on novel data storage model |
CN112507355A (en) * | 2020-12-04 | 2021-03-16 | 钟爱健康科技(广东)有限公司 | Individual health data storage system based on block chain |
CN112507355B (en) * | 2020-12-04 | 2024-04-02 | 钟爱健康科技(广东)有限公司 | Personal health data storage system based on block chain |
CN112529600A (en) * | 2020-12-21 | 2021-03-19 | 童超 | Public welfare management method and platform |
CN113256468A (en) * | 2021-05-07 | 2021-08-13 | 栾极 | Method and device for managing donation mutual information, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111368283A (en) | Public welfare data storage method and system based on block chain | |
CN110351133A (en) | Method and device for the host node hand-off process in block catenary system | |
CN107180350A (en) | A kind of method of the multi-party shared transaction metadata based on block chain, apparatus and system | |
KR102057669B1 (en) | Apparatus for providing local community service based on block-chain and method thereof | |
CN108305083A (en) | A kind of commodity source tracing method and system based on block chain | |
CN109710823A (en) | Archive management method, file administration network and electronic equipment based on block chain | |
CN109903026A (en) | Event-handling method and device, electronic equipment based on block chain | |
CN109345438A (en) | A kind of alliance of secret protection calls a taxi method and system | |
CN107679045A (en) | Copyright authorization management method and system | |
CN109903027A (en) | Event-handling method and device, electronic equipment based on block chain | |
CN110689434A (en) | Cross-block chain interaction method based on notary group | |
CN113128950B (en) | Enterprise chain code service platform | |
CN111369730B (en) | Voting processing method and device based on block chain | |
CN110728494A (en) | Real estate service handling method, real estate property information system and real estate property information device | |
CN109636335A (en) | A kind of intelligent resume system based on big data | |
CN108880832A (en) | Block chain real name identification method and system | |
KR102441120B1 (en) | System and method for credit exchange using block-chain technology | |
CN111695978A (en) | Block chain system for payroll distribution and payroll distribution method | |
CN110599331A (en) | Debt charging system, method, device and storage medium based on block chain | |
CN108881121A (en) | A kind of P2P credit based on mobile Internet mutually sees system and method | |
CN110071897A (en) | A kind of block catenary system based on mobile terminal | |
CN110458730A (en) | A kind of personal electric signing system and method based on block chain | |
CN109325764A (en) | Sensitive data transaction system and method based on block chain | |
CN111163109A (en) | Block chain center-removing type node anti-counterfeiting method | |
CN112163954A (en) | Transaction method and device based on block chain |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200703 |