CN110544193A - Donation information distributed storage method and device - Google Patents
Donation information distributed storage method and device Download PDFInfo
- Publication number
- CN110544193A CN110544193A CN201910844184.2A CN201910844184A CN110544193A CN 110544193 A CN110544193 A CN 110544193A CN 201910844184 A CN201910844184 A CN 201910844184A CN 110544193 A CN110544193 A CN 110544193A
- Authority
- CN
- China
- Prior art keywords
- donation
- information
- node
- donated
- user identifier
- 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
- 238000000034 method Methods 0.000 title claims abstract description 61
- 238000012797 qualification Methods 0.000 claims description 16
- 230000002068 genetic effect Effects 0.000 claims description 5
- 238000005516 engineering process Methods 0.000 abstract description 14
- 239000008280 blood Substances 0.000 description 70
- 210000004369 blood Anatomy 0.000 description 70
- 238000012545 processing Methods 0.000 description 23
- 238000010586 diagram Methods 0.000 description 19
- 238000004891 communication Methods 0.000 description 11
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 102000053602 DNA Human genes 0.000 description 5
- 108020004414 DNA Proteins 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 238000012795 verification Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 108090000623 proteins and genes Proteins 0.000 description 4
- 238000013473 artificial intelligence Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000036541 health Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000009792 diffusion process Methods 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2457—Query processing with adaptation to user needs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- 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/26—Government or public services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Tourism & Hospitality (AREA)
- Data Mining & Analysis (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Primary Health Care (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Human Resources & Organizations (AREA)
- General Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Educational Administration (AREA)
- Development Economics (AREA)
- Computing Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
the application discloses a donation information distributed storage method and device. Any node in the pre-established blockchain network can receive the donation records of the donated objects and broadcast the donation records to the whole blockchain network, so that each node included in the blockchain network can store the same donation records. And the node can also receive a donation information query request carrying the user identifier to be queried and automatically query donation information corresponding to the user identifier to be queried according to the request. The block chain network technology is used for storing and recording the donation information, and compared with the related technology which adopts the donation certificate to record the donation information, the method can enable the query efficiency of the donation information to be higher, enable the transparency of the donation information to be higher, and enable the query method to be richer when the user identification comprises multiple types.
Description
Technical Field
the invention relates to the technical field of networks, in particular to a donation information distributed storage method and device.
Background
Donation is a public welfare which volunteers to dedicate things owned by oneself to the society in order to help others live. In addition, in order to guarantee the rights and interests of the donated objects, the donated objects can receive help preferentially and without payment by means of previous donation information or donation information of relatives of the donated objects when the donated objects need help. For example, when a donor needs blood, the donor can give priority to blood consumption for compensation by using the previous blood donation information or the blood donation information of the relative.
At present, in order to record the donation information of a donated object, after each donation of the donated object, the association receiving the donation may issue a donation certificate recorded with the donation information to the donated object, so that the donated object may receive help preferentially by means of the donation certificate when the donated object needs help in the future. For example, after each donation by a donor, the blood-donating association issues to the donor a blood-donating certificate that records the number of donations and the amount of donated blood, so that the donor can prioritize the use of blood for compensation when the donor needs blood at a later date.
However, because the donation certificate only donates the object and needs to be carried at any time, the current storage method for donation information may result in low query efficiency of donation information, a single query method, and low transparency of donation information.
Disclosure of Invention
the embodiment of the invention provides a donation information distributed storage method and device, which can solve the problems that the donation information is low in query efficiency, the query method is single, and the transparency of the donation information is low in the related art. The technical scheme is as follows:
In one aspect, a donation information distributed storage method is provided, and is applied to any node included in a blockchain network, and the method includes:
Receiving a donation record of a donated object, the donation record including a user identification and donation information of the donated object;
Broadcasting the donation records across the network to the blockchain network;
receiving a donation information query request carrying a user identifier to be queried;
and inquiring the donation information corresponding to the user identifier to be inquired according to the donation information inquiry request.
In another aspect, a donation information distributed storage apparatus is provided, which is applied to any node included in a blockchain network, and includes:
The system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a donation record of a donated object, and the donation record comprises a user identifier and donation information of the donated object;
A broadcast module for broadcasting the donation records to the blockchain network over the entire network;
The second receiving module is used for receiving a donation information query request carrying the user identifier to be queried;
And the query module is used for querying the donation information corresponding to the user identifier to be queried according to the donation information query request.
optionally, the donation information corresponds to timestamp information, and the broadcast module is configured to generate a target block according to the donation information and the timestamp information;
Broadcasting the target block and the user identifier of the donation object to the whole network of the blockchain network, wherein any node receiving the user identifiers of the target block and the donation object is used for performing consensus check on the received information, storing the checked information, and broadcasting the checked information to the whole network of the blockchain network again.
Optionally, the apparatus further comprises:
the third receiving module is used for receiving the relative information of the donation object sent by a personnel list statistical department before receiving the donation information query request carrying the user identifier to be queried, wherein the personnel list statistical department comprises a civil administration department or a public security department;
The matching module is used for matching the relative information of the donated objects with the user identification of the donated objects;
The broadcasting module is further configured to broadcast the matching result to the blockchain network over the entire network.
Optionally, the apparatus further comprises:
And the query module is further used for querying the donation information of the relative corresponding to the user identifier to be queried according to the donation information query request.
Optionally, the user identifier of the donated object includes: identification of identity documents or genetic identification of donated objects, the donated information of the donated objects including: the time of donation, the location of donation, the donation or the amount of donation of the donation to the subject.
optionally, the apparatus further comprises: and the classification processing module is used for classifying the received donations of the plurality of donation objects according to the target attributes.
Optionally, the apparatus further comprises:
a fourth receiving module for receiving the qualification status of the donation object;
the broadcast module is further configured to broadcast the eligibility status of the donation to the blockchain network over the entire network;
And the qualification status query module is used for querying the donation qualification status corresponding to the user identifier to be queried and displaying a query result when receiving a donation qualification status query request carrying the user identifier to be queried.
In another aspect, a terminal is provided, which includes: a processor and a memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions that is loaded and executed by the processor to implement the method of distributed storage of donated information as described in the preceding aspects.
In yet another aspect, a computer-readable storage medium is provided, having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the donated information distributed storage method as described in the above aspect.
The technical scheme provided by the embodiment of the invention has the beneficial effects that at least:
in summary, the embodiments of the present invention provide a method and an apparatus for distributed storage of donation information. The nodes in the pre-established blockchain network can receive the donation records of the donation objects, and the received donation records are broadcast in the blockchain network in the whole network, so that each node included in the blockchain network can store the same donation record. And the node can also receive a donation information query request carrying the user identifier to be queried and automatically query donation information corresponding to the user identifier to be queried according to the request. The block chain network technology is used for storing and recording the donation information, and compared with the related technology which adopts the donation certificate to record the donation information, the method can enable the query efficiency of the donation information to be higher, enable the transparency of the donation information to be higher, and enable the query method to be richer when the user identification comprises multiple types.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced 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 based on these drawings without creative efforts.
FIG. 1 is a schematic block diagram of an implementation environment in which various embodiments of the present invention are implemented;
Fig. 2 is a schematic diagram of an implementation environment involved in a distributed storage method for donation information according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for distributed storage of donation information according to an embodiment of the present invention;
FIG. 4 is a flow chart of another method for distributed storage of donation information according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a donation record received from a donated object according to an embodiment of the present invention;
FIG. 6 is a schematic illustration of a donation record for another received donated object according to an embodiment of the present invention;
fig. 7 is a schematic diagram of the received information of the relative according to the embodiment of the present invention;
Fig. 8 is a schematic diagram of a matching result between the relative information and the user identifier according to an embodiment of the present invention;
FIG. 9 is a flowchart of another method for distributed storage of donation information according to an embodiment of the present invention;
FIG. 10 is a block diagram of a donation information distributed storage apparatus according to an embodiment of the present invention;
FIG. 11 is a block diagram of another donation information distributed storage apparatus according to an embodiment of the present invention;
FIG. 12 is a block diagram of another donation information distributed storage apparatus according to an embodiment of the present invention;
fig. 13 is a block diagram of another donation information distributed storage apparatus according to an embodiment of the present invention;
Fig. 14 is a block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
in order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
fig. 1 is a schematic diagram of an implementation environment related to a distributed storage method for donation information according to an embodiment of the present invention. As shown in FIG. 1, the implementation environment may include: a pre-established blockchain network 10, where the blockchain network 10 may include a plurality of nodes 101 (only 4 nodes are shown in fig. 1), each node 101 may be a computer device, and each node 101 may receive input information during normal operation and maintain shared data within the blockchain network 10 based on the received input information. For example, referring to fig. 1, the computer device may be a server, or may also be a terminal device such as a desktop computer or a smart phone.
Also, referring to fig. 1, in order to ensure the information intercommunication of the blockchain network 10, a communication connection may be established between the nodes 101, and information transmission may be performed between the nodes 101 through the communication connection. That is, when any node 101 receives data, the data can be broadcast to the entire blockchain network 10, so that other nodes 101 in the blockchain network 10 can receive and store the data, i.e., all nodes 101 included in the blockchain network 10 can store the data. Optionally, each node 101 may further have a node identifier corresponding thereto, and may store node identifiers of other nodes in the blockchain network 10 except the node, so that each node 101 may reliably broadcast the received data to the other nodes through the communication connection according to the node identifiers of the other nodes.
For example, referring to table 1, a node identification list maintained in each node 101 is shown, which may include: node name and node identification. The node identifier may be an Internet Protocol (IP) address and any other information that can be used to identify the node, and only the IP address is used as an example in table 1. For example, referring to table 1, the node name is node 1, and the node identifier corresponding to the node 1 is: 117.114.151.174.
TABLE 1
Node name | node identification |
Node 1 | 117.114.151.174 |
Node 2 | 117.116.189.145 |
… | … |
node N | 119.123.789.258 |
in addition, in order to ensure the consistency of the data stored by each node 101, each node 101 may also maintain the entire blockchain network 10 based on a set of consensus mechanisms. That is, the nodes 101 may perform data correction for multiple times through a pre-configured consensus algorithm, and continuously broadcast the data that is corrected for the last time to the whole network until the data stored by the nodes 101 are consistent, that is, until the nodes 101 achieve consensus. The principle of the consensus algorithm comprises the following steps: the node receiving the data compares the received data with the data stored in the node, and the data with the accuracy rate larger than the accuracy rate threshold value in the plurality of data determined after comparison is broadcasted to the whole network again; then, the node receiving the corrected data continues to repeatedly perform the comparison operation, i.e., perform network diffusion iteration until the whole network is agreed.
For example, in the embodiment of the present invention, a node that receives a donation record for the first time may broadcast the donation record to the entire network, and any node that receives the donation record sent by the node may compare the received donation record with a donation record that is pre-stored by itself (i.e., make a consensus on the donation record), and broadcast the more correct donation record after comparison to the entire network again. And any node receiving the corrected donation records continuously compares the corrected donation records with donation records stored in advance, broadcasts the more correct donation records to the whole network again after comparison, and continuously executes repeatedly until the donation records stored by all nodes in the network are consistent.
it should be noted that, in the embodiment of the present invention, the blockchain network 10 may be a decentralized network system, i.e., the donation records may be managed by the blockchain network 10 in a decentralized technology. Wherein, decentralization means: there is no concept of a central node in the blockchain network 10, the positions of the nodes 101 in the blockchain network 10 are equal, each node 101 may store the same blockchain, each blockchain includes a plurality of blocks, each block stores different data, and the data stored in all the blocks on the blockchain constitute all the shared data of the blockchain network.
In addition, since the distributed storage method for the donation information provided by the embodiment of the present invention needs to receive the donation record of the donation object, needs to query the donation information of the donation object, and may even need to receive the parent information of the donation object, the mechanism for collecting the donation of the donation object, the mechanism for querying the donation information of the donation object, and the mechanism for collecting the parent information of the donation object all need to be added to the blockchain network 10. Of course, the donor subject may also join the blockchain network 10 by himself through his terminal.
For example, assuming the donation is blood, the donation information may be blood donation information. Referring to fig. 2, the institution collecting the donor's blood (e.g., a blood collection station), the institution inquiring about the donor's blood donation information (e.g., a hospital), and the institution collecting the donor's relatives information (e.g., a public office and a local office) each need to join the blockchain network 10, i.e., the computer devices of the institution collecting the donor's blood, the structure inquiring about the donor's blood donation information, and the institution collecting the donor's relatives information need to become nodes in the blockchain network 10. Of course, the donor himself may also join the blockchain network 10 via his terminal.
The donation information is stored and managed through the block chain technology, and compared with the related technology that donation information is stored and managed through a donation certificate, the method can directly inquire on line when a donation object urgently needs help, so that the inquiry is more convenient, and the efficiency is higher. And because the transparency of the blockchain network is higher, the information transparency of the donated information is higher.
fig. 3 is a flowchart of a donation information distributed storage method according to an embodiment of the present invention, which may be applied to any node included in the blockchain network shown in fig. 1. As shown in fig. 3, the method may include:
Step 301, receiving a donation record for a donated object.
wherein the donation record may include a user identification and donation information for the donated object. Alternatively, the user identifier may be information (such as an identity document identifier or a genetic identifier) for uniquely indicating the user identity. The donation information may include at least one of information related to a user donation (e.g., a donation time of a donated object, a donation location, a donation or a donation amount of a donation).
In the embodiment of the present invention, when a donation object donates, a user identifier of the donation object may be notified to a user who collects the donation object, and then the user who collects the donation object may upload the received donation information of the donation object and the user identifier provided by the donation object to any node of a pre-established blockchain network through a terminal. That is, any node may receive a donation record for a donated object uploaded by a user.
Step 302, broadcast the donation records to the blockchain network over the entire network.
In the embodiment of the present invention, after receiving the donation record, the node may broadcast the received donation record to the entire network of the blockchain network, that is, the node of the received donation record may transmit the donation record to other nodes through a communication connection established with other nodes, so that each node may store the donation record.
Optionally, in order to ensure consistency of information stored by each node, each node that receives the donation records may further perform consensus processing on the donation records through a consensus algorithm and then broadcast the donation records to the whole network again, and continuously execute the consensus processing until the donation records stored by each node are all consistent.
step 303, receiving a donation information query request carrying the user identifier to be queried.
In the embodiment of the present invention, if the donation information of a certain user needs to be queried, the user querying the donation information may input the user identifier of the user to be queried to the node through the terminal, and accordingly, the node may receive the donation information query request carrying the user identifier to be queried.
and step 304, inquiring the donation information corresponding to the user identifier to be inquired according to the donation information inquiry request.
when any node receives a donation information query request carrying a user identifier to be queried, the node can determine the identity of a donation object according to the user identifier, reliably search the donation information of the donation object according to the determined identity of the donation object, and inform a querier of the queried donation information.
In summary, the embodiment of the present invention provides a method for distributed storage of donation information. Any node of the pre-established blockchain network can receive the donation records of the donated objects and broadcast the donation records to the whole blockchain network, so that all nodes included in the blockchain network can store the same donation records. And the node can also receive a donation information query request carrying the user identifier to be queried and automatically query donation information corresponding to the user identifier to be queried according to the request. The donation information is stored and managed through the block chain network technology, and compared with the method that donation information is stored and managed through a donation certificate in the related technology, the donation information of a donor can be directly inquired on line through the method, so that the donation information inquiry efficiency is higher, and the donation information transparency is higher. And when the user identification comprises multiple types, the query method can be richer.
Fig. 4 is a flowchart of another donation information distributed storage method according to an embodiment of the present invention, which may be applied to any node included in the blockchain network shown in fig. 1. As shown in fig. 4, the method may include:
step 401, a donation record for a donated object is received.
In the embodiment of the present invention, in order to manage the donation records by using the blockchain technique, the blockchain network 10 shown in fig. 1 needs to be established in advance, and the blockchain network 10 needs to include nodes belonging to the entity receiving the donation records, that is, the entity receiving the donation records needs to join the blockchain network 10. The user receiving the donation record of the donation object can upload the donation record of the donation object to the corresponding node through the terminal, namely, the node can receive the donation record of the donation object uploaded by the user.
Optionally, the donation record may include the user identifier and the donation information of the donation object, and correspondingly, the user who collects the donation may upload the user identifier provided by the donation object and the received donation information of the donation object to the node together, and the node that receives the donation record may store the user identifier and the donation information of the donation object in a one-to-one correspondence manner. For example, in a blood donation application scenario, referring to fig. 2, a blood collection facility (e.g., a blood collection station) that collects blood from a donor needs to join the blockchain network 10. The blood-collecting doctor who collects the blood of the blood donor can upload the user identification provided by the blood donor and the collected blood-donation information of the blood donor to the node through the terminal, namely the node can receive the blood-donation record of the blood donor uploaded by the blood-collecting doctor, and the node can correspondingly store the user identification of the blood donor and the blood-donation information one by one.
Wherein, the user identifier of the donated object can be information for uniquely indicating the identity of the donated object. For example, the user identification of the donated object may include: the identification information of the donated subject may be an identification number of the donor, and the genetic identification may be genetic information (also referred to as DNA information) stored in DeoxyriboNucleic Acid (DNA). By receiving the user identifier, the subsequent reliable inquiry of the donation information of different donation objects according to the user identifier can be facilitated. The donation information of the donated object may be information related to user donation, for example, the donation information of the donated object may include: at least one of a time of donation, a location of donation, a donation, and a donation amount of donation to the subject. For example, for a donor, the donation information of the donor may be blood donation information related to the blood donation of the donor, and the blood donation information of the donor may include: at least one of a blood donation time, a blood donation site, and a blood donation amount.
It should be noted that, for the same node, it may receive the donation information of different donated objects, so for the convenience of subsequent query, the node may also set a number for uniquely indicating the donated object for the different donated objects in advance.
For example, taking a blood donation scenario as an example, assuming that a number a is set for a donation object (i.e., a donor) by a certain node, fig. 5 shows a blood donation record of donor a received by the node. As can be seen with reference to fig. 5, the blood-donation record for donor a received by the node includes the donor's user identification including the donor's identification number and DNA, and the blood-donation information. The blood donation information includes a blood donation amount, a blood donation time, and a blood donation site. Optionally, the blood-donation record may also include other donor-related information. For example, the blood donation record may also include the blood type, name, cell phone number, address, and number of blood donations of the donor. For example, referring to fig. 5, the node shown also receives the blood type of donor a.
Step 402, broadcast the donation records to the blockchain network over the entire network.
In the embodiment of the present invention, in order to facilitate that each node of the entire blockchain network can store the donation record, the node receiving the donation record may broadcast the donation record to the entire network, that is, the node may send the donation record to each other node through a communication connection established with another node.
alternatively, since a donor may make multiple donations at different time points (e.g., a donor may make multiple blood donations at different time points), for the convenience of distinguishing and recording, a time stamp may be configured for each donation information in advance, and the time stamp configured for each donation information may be different. Correspondingly, any node can generate a target block according to the received donation information and the corresponding timestamp information, and broadcast the target block and the user identifier to the whole network. In addition, in order to ensure the consistency of the data stored in each node, as described above, any node that receives the target block and the user identifier may perform consensus processing on the received information, store the verified information, and broadcast the verified information to the entire block chain network again. Any node after receiving the check can perform consensus processing on the received target block again, broadcast to the whole network again, and iterate continuously until the information stored by each node of the whole block chain network is completely the same.
By way of example, taking a blood-donation scenario as an example, fig. 6 is a schematic diagram of another received blood-donation record of a blood donor according to an embodiment of the present invention, and as shown in fig. 6, the blood-donor a received by the node includes a plurality of blood-donation information, and each blood-donation information corresponds to one time stamp information. For example, blood-donation information 1 corresponds to timestamp 1, blood-donation information 2 corresponds to timestamp 2, blood-donation information 3 corresponds to timestamp 3, and so on. In connection with fig. 5, each blood donation information may include information such as a blood donation time, a blood donation site, and a blood donation amount, and fig. 6 is not shown.
And step 403, receiving the relative information of the donated objects sent by the personnel list statistics department.
In the embodiment of the present invention, the roster statistic department may include a civil administration (i.e., civil bureau) or a public security department (i.e., public security administration). Accordingly, the blockchain network needs to include nodes belonging to the roster, i.e., the roster receiving the information of the relatives of the donated objects needs to join the blockchain network. The personnel list statistical department can upload the relative information of the donated objects to the nodes through the terminal, namely, any node can receive the relative information of the donated objects sent by the personnel list statistical department.
Optionally, the staff list statistics department may periodically upload the information of the relatives of the donated objects, or the node may periodically obtain the information of the relatives of the donated objects from the staff list statistics department. In the embodiment of the invention, the personnel list statistical department is a higher authority organization such as a civil administration department or a public security department, so that the real-time performance and the reliability of the acquired relative information can be ensured. Certainly, the node can also receive the relative information uploaded by the donation object, namely, the donation object can also upload the relative information to the node through the terminal of the donation object.
By way of example, taking a blood donation scenario as an example, fig. 7 is a schematic diagram of the relative information received by a node according to an embodiment of the present invention. As shown in fig. 7, the node receiving the relative information of donor a includes: spouse, parent and child of donor a. Optionally, this step 403 may be executed synchronously with step 401, that is, the node may receive the blood-donation record and the relative information of the blood donor at the same time, and accordingly, may perform the consensus processing on the blood-donation record and the relative information at the same time, which saves processing resources.
Step 404, the information of the relative of the donated object is matched with the user identifier of the donated object.
In the embodiment of the invention, after receiving the relative information of the donated object, the node can match and correspondingly store the relative information and the user identifier of the donated object, thereby facilitating subsequent query.
for example, taking a blood donation scenario as an example, refer to fig. 8, which shows a schematic diagram of matching results of donor a and its relative information. As can be seen from fig. 8, for each relative, the node a also receives the blood donation record of the relative, and the recording method may refer to step 401 and step 402, which is not described again.
step 405, broadcasting the matching result to the whole block chain network.
In the same step 402, the node may notify other nodes of the matching result between the relative information of the donated object and the user identifier of the donated object in a network-wide broadcast manner, so that each node stores the relative information of the donated object. Similarly, in order to ensure the consistency of the data stored in each node, as described above, any node that receives the matching result may further perform consensus processing on the matching result, store the verified matching result, and broadcast the verified matching result to the entire blockchain network again. Any node after receiving the verification can perform consensus processing on the received matching result again, broadcast to the whole network again, and iterate continuously until the matching results stored by all nodes of the whole block chain network are completely the same. For the specific consensus process, reference is made to the above description, which is not repeated herein.
Step 406, receiving a donation information query request carrying the user identifier to be queried.
In the embodiment of the present invention, if the donation information of a certain user needs to be queried, the querier may input the user identifier of the user to be queried to the node through the terminal, and accordingly, the node may receive the donation information query request carrying the user identifier to be queried.
For example, taking a blood donation scenario as an example, assuming that the user identifier is an identity document identifier and the identity document identifier is an identity card number, when an inquirer uploads the identity card number of a blood donor to the node through a terminal, the node may receive a blood donation information inquiry request carrying the identity card number of the blood donor to be inquired.
step 407, inquiring the donation information corresponding to the user identifier to be inquired and the donation information of the relative of the donation object according to the donation information inquiry request carrying the user identifier to be inquired.
When a node receives a donation information query request carrying a user identifier to be queried, the node can determine the identity of a donation object according to the user identifier, reliably search donation information of the donation object according to the determined donation object identity, and inform a query result to a querier. Of course, for the relatives of the donated objects, the donation information may also be recorded by referring to the above steps 401 and 402, and correspondingly, the node may also query the donation information of the relatives of the donated objects according to the donation information query request.
It should be noted that, in the embodiment of the present invention, the user identifier may include an identity document identifier and a gene identifier, and correspondingly, the node may also query the donation information of the donated object according to the donation information query request carrying the gene identifier, and the query method is relatively rich. Moreover, under the condition that the gene identification or the identity document identification cannot be verified, verification is carried out through another verification mode, and the reliability is higher.
by way of example, reference is made to fig. 8, which shows the final stored blood-donation records for donor a, the relative information, and the corresponding blood-donation records for each relative. The storage contents and storage modes of the relative blood donation records and the blood donation record of the donor A are the same. Such as a spouse for donor a, whose blood-donation record includes a user identification of the spouse including the spouse's identification number and DNA, and blood-donation information including a plurality of blood-donation information, and timestamps corresponding to the plurality of blood-donation information.
it should be noted that, when receiving the donation information query request, the node may also verify the identity of the querier to determine whether the querier has the right to query the donation information of the donation object.
It should be further noted that, in order to facilitate that when a certain donation object needs help, a donation of a suitable donation object can be quickly selected, in the embodiment of the present invention, when the node receives a donation record of the donation object, the node may further perform classification processing on the donation of the donation object according to the target attribute, that is, the donations of different donation objects are classified and stored according to the target attribute.
for example, taking a blood donation scenario as an example, in order to facilitate a donor to quickly select appropriate blood for the donor when blood is needed urgently, when a node receives a blood donation record of the donor, the blood of different donors can be stored according to the health degree classification of the blood, i.e. the target attribute may be the health degree of a donation (i.e. blood). Optionally, for unhealthy blood, different types of diseases can be classified and stored for further convenient selection.
Fig. 9 is a flowchart of another method for distributed storage of donation information according to an embodiment of the present invention. As shown in fig. 9, the method may include:
Step 901, receiving the qualified status of the donation from the donation object.
Optionally, the user (e.g., a blood collection physician) receiving the donation may also perform qualification testing on the donation (e.g., blood) received from the subject (e.g., a blood donor), and upload the testing result to the node through the terminal. I.e., the node may receive eligibility status for the donation object donations uploaded by the user. Of course, the node may also directly detect the eligibility status of the donation when it receives the donation from the donated subject.
Step 902, broadcast the eligibility status of the donation to the blockchain network.
as in step 402, the node may inform other nodes of the eligibility status of the donation (e.g., the blood eligibility status of the donor) via a network-wide broadcast, so that each node stores the eligibility status of the donation. Similarly, in order to ensure the consistency of the data stored by each node, as described above, any node that receives the eligibility status of the donation may further perform consensus processing on the eligibility status of the donation, store the eligibility status of the verified donation, and broadcast the eligibility status of the verified donation to the entire blockchain network again. Any node after receiving the verification can perform consensus processing on the received information again, broadcast the information to the whole network again, and iterate continuously until matching results stored by all nodes of the whole block chain network are completely the same. For the specific consensus process, reference is made to the above description, which is not repeated herein.
step 903, when receiving a donation qualification status query request carrying the user identifier to be queried, querying the donation qualification status corresponding to the user identifier to be queried, and displaying a query result.
Like steps 406 and 407, when the inquirer needs to inquire the donation qualification status (e.g. blood qualification status) of the donated object, the inquirer (e.g. the donor himself) can input the user identifier thereof to the node through the terminal, and correspondingly, the node can receive the inquiry request of the donation qualification status carrying the user identifier to be inquired. And the node can quickly inquire the qualified condition of the donation according to the qualified condition inquiry request of the donation and display the inquiry result so that an inquirer can know the inquiry result. By the method, the risk of privacy disclosure of the patient caused by a manual informing mode of the patient can be avoided. Step 901 can be executed synchronously with step 401, and correspondingly, step 902 can be executed synchronously with step 402.
it should be noted that the donation information distributed storage method may be applied not only to the above-mentioned blood donation scenario, but also to other donation application scenarios. In addition, the order of the steps of the donation information distributed storage method provided by the embodiment of the present invention may be appropriately adjusted, such as step 403 may be executed synchronously with step 401, or executed before step 401. Any method that can be easily conceived by those skilled in the art within the technical scope of the present disclosure is covered by the present disclosure, and thus, the detailed description thereof is omitted.
In summary, the embodiment of the present invention provides a method for distributed storage of donation information. Any node of the pre-established blockchain network can receive the donation records of the donated objects and broadcast the donation records to the whole blockchain network, so that all nodes included in the blockchain network can store the same donation records. And the node can also receive a donation information query request carrying the user identifier to be queried and automatically query donation information corresponding to the user identifier to be queried according to the request. The donation information is stored and managed through the block chain network technology, and compared with the method that donation information is stored and managed through a donation certificate in the related technology, the donation information of a donor can be directly inquired on line through the method, so that the donation information inquiry efficiency is higher, and the donation information transparency is higher. And when the user identification comprises multiple types, the query method can be richer.
Fig. 10 is a block diagram of a donation information distributed storage apparatus according to an embodiment of the present invention, where the apparatus may be any node included in the blockchain network in the implementation environment shown in fig. 1, or the apparatus may be disposed on any node included in the blockchain network. As shown in fig. 10, the apparatus 100 may include:
A first receiving module 1001 for receiving a donation record for a donated object, the donation record may include a user identification and donation information of the donated object.
a broadcast module 1002 for broadcasting the donation records across the network to the blockchain network.
The second receiving module 1003 may further be configured to receive a donation information query request carrying the identifier of the user to be queried.
the query module 1004 is configured to query, according to the donation information query request, donation information corresponding to the user identifier to be queried.
Alternatively, the donation information may correspond to time-stamped information. Accordingly, the broadcasting module 1002 may be configured to: and generating a target block according to the donation information and the timestamp information, broadcasting the target block and the user identification of the donation object to the whole network of the blockchain network, wherein any node receiving the user identification of the target block and the donation object is used for performing consensus verification on the received information, storing the verified information, and broadcasting the verified information to the whole network of the blockchain network again.
fig. 11 is a block diagram of a donation information distributed storage apparatus according to an embodiment of the present invention. As shown in fig. 11, the apparatus 100 may further include:
The third receiving module 1005 may be further configured to receive the affiliation information of the donation object sent by the staff list statistics department before receiving the donation information query request carrying the identifier of the user to be queried. Optionally, the roster statistic department includes a civil administration department or a public security department.
A matching module 1006 for matching the relative information of the donated object with the user identifier of the donated object.
Accordingly, the broadcasting module 1002 may be further configured to broadcast the matching result to the blockchain network.
alternatively, referring to fig. 10 and 11, the apparatus 100 may further include:
Query module 1004. The query module 1004 may be further configured to query, according to the donation information query request, donation information of a relative corresponding to the user identifier to be queried. Optionally, the user identifier of the donated object may include: identity document identification or gene identification of the donated object. The donation information of the donated object may include: time of donation, location of donation, donation or amount of donation to a subject.
alternatively, fig. 12 is a block diagram of a donation information distributed storage apparatus according to an embodiment of the present invention. As shown in fig. 12, the apparatus 100 may further include: the classification processing module 1007 is configured to perform classification processing on the donations of the received multiple donation objects according to the target attribute.
alternatively, fig. 13 is a block diagram of a donation information distributed storage apparatus according to an embodiment of the present invention. As shown in fig. 13, the apparatus 100 may further include:
A fourth receiving module 1008 for receiving the eligibility status of the donation from the donor subject.
Accordingly, the broadcast module 1002 may also be configured to broadcast the eligibility status of the donation to the blockchain network over the network.
The qualification status query module 1009 may be further configured to, when receiving a donation qualification status query request carrying the user identifier to be queried, query the donation qualification status corresponding to the user identifier to be queried, and display a query result.
In summary, the present invention provides a donation information distributed storage apparatus. Any node of the pre-established blockchain network can receive the donation records of the donated objects and broadcast the donation records to the whole blockchain network, so that all nodes included in the blockchain network can store the same donation records. And the node can also receive a donation information query request carrying the user identifier to be queried and automatically query donation information corresponding to the user identifier to be queried according to the request. The donation information is stored and managed through the block chain network technology, and compared with the related technology that donation certificates are used for storing and managing the donation information, the device can directly inquire the donation information of donors on line, so that the donation information inquiry efficiency is higher, and the donation information transparency is higher. And when the user identification comprises multiple types, the query method can be richer.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 14 shows a block diagram of a donation information distributed storage apparatus 1400 according to an exemplary embodiment of the present invention. The device 1400 may be: a smart phone, a tablet computer, an MP3(Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4) player, a notebook computer, a desktop computer, or the like. Device 1400 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and the like. Alternatively, the device 1400 may also be a server.
in general, the apparatus 1400 includes: a processor 1401, and a memory 1402.
Processor 1401 may include one or more processing cores, such as a 4-core processor, a 14-core processor, and the like. The processor 1401 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1401 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, processor 1401 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1402 may include one or more computer-readable storage media, which may be non-transitory. Memory 1402 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1402 is used to store at least one instruction for execution by processor 1401 to implement the donated information distributed storage method provided by embodiments of the present invention.
In some embodiments, the apparatus 1400 may further include: a peripheral device interface 1403 and at least one peripheral device. The processor 1401, the memory 1402, and the peripheral device interface 1403 may be connected by buses or signal lines. Each peripheral device may be connected to the peripheral device interface 1403 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1404, a touch display 1405, a camera 1406, audio circuitry 1407, a positioning component 1408, and a power supply 1409.
The peripheral device interface 1403 can be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 1401 and the memory 1402. In some embodiments, the processor 1401, memory 1402, and peripheral interface 1403 are integrated on the same chip or circuit board; in some other embodiments, any one or both of the processor 1401, the memory 1402, and the peripheral device interface 1403 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 1404 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1404 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 1404 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1404 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1404 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1405 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1405 is a touch display screen, the display screen 1405 also has the ability to capture touch signals at or above the surface of the display screen 1405. The touch signal may be input to the processor 1401 for processing as a control signal. At this point, the display 1405 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 1405 may be one, providing the front panel of the device 1400; in other embodiments, the display 1405 may be at least two, respectively disposed on different surfaces of the device 1400 or in a folded design; in still other embodiments, the display 1405 may be a flexible display disposed on a curved surface or on a folded surface of the device 1400. Even further, the display 1405 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The Display 1405 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 1406 is used to capture images or video. Optionally, camera assembly 1406 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1406 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1407 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1401 for processing or inputting the electric signals to the radio frequency circuit 1404 to realize voice communication. The microphones may be multiple and placed at different locations of the device 1400 for stereo sound capture or noise reduction purposes. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is then used to convert electrical signals from the processor 1401 or the radio frequency circuit 1404 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1407 may also include a headphone jack.
The Location component 1408 serves to locate the current geographic Location of the device 1400 for navigation or LBS (Location Based Service). The Positioning component 1408 may be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian graves System, or the european union galileo System.
The power supply 1409 is used to power the various components of the device 1400. The power source 1409 may be alternating current, direct current, disposable or rechargeable. When the power source 1409 comprises a rechargeable battery, the rechargeable battery can support wired or wireless charging. Rechargeable batteries may also be used to support fast charge technologies.
In some embodiments, the device 1400 further includes one or more sensors 1410. The one or more sensors 1410 include, but are not limited to: acceleration sensor 1411, gyroscope sensor 1412, pressure sensor 1413, fingerprint sensor 1414, optical sensor 1415, and proximity sensor 1416.
The acceleration sensor 1411 can detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the apparatus 1400. For example, the acceleration sensor 1411 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1401 can control the touch display 1405 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1411. The acceleration sensor 1411 may also be used for the acquisition of motion data of a game or a user.
the gyro sensor 1412 may detect a body direction and a rotation angle of the device 1400, and the gyro sensor 1412 may cooperate with the acceleration sensor 1411 to collect a 3D motion of the user on the device 1400. The processor 1401 can realize the following functions according to the data collected by the gyro sensor 1412: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
the pressure sensors 1413 may be disposed on the side bezel of the device 1400 and/or underlying the touch display 1405. When the pressure sensor 1413 is disposed on the side frame of the device 1400, the user can detect the holding signal of the device 1400, and the processor 1401 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1413. When the pressure sensor 1413 is disposed at the lower layer of the touch display 1405, the processor 1401 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 1405. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1414 is used for collecting a fingerprint of a user, and the processor 1401 identifies the user according to the fingerprint collected by the fingerprint sensor 1414, or the fingerprint sensor 1414 identifies the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, processor 1401 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for, and changing settings, etc. The fingerprint sensor 1414 may be disposed on the front, back, or side of the device 1400. When a physical button or vendor Logo is provided on the device 1400, the fingerprint sensor 1414 may be integrated with the physical button or vendor Logo.
The optical sensor 1415 is used to collect ambient light intensity. In one embodiment, processor 1401 can control the display brightness of touch display 1405 based on the ambient light intensity collected by optical sensor 1415. Specifically, when the ambient light intensity is high, the display luminance of the touch display 1405 is increased; when the ambient light intensity is low, the display brightness of the touch display 1405 is turned down. In another embodiment, the processor 1401 can also dynamically adjust the shooting parameters of the camera assembly 1406 according to the intensity of the ambient light collected by the optical sensor 1415.
A proximity sensor 1416, also known as a distance sensor, is typically provided on the front panel of the device 1400. The proximity sensor 1416 is used to capture the distance between the user and the front of the device 1400. In one embodiment, the processor 1401 controls the touch display 1405 to switch from the bright screen state to the dark screen state when the proximity sensor 1416 detects that the distance between the user and the front face of the device 1400 is gradually decreasing; when the proximity sensor 1416 detects that the distance between the user and the front of the device 1400 is gradually increasing, the processor 1401 controls the touch display 1405 to switch from a breath-screen state to a bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 14 does not constitute a limitation of the device 1400 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
Also provided in an embodiment of the present invention is a computer-readable storage medium, in which at least one instruction, at least one program, code set, or instruction set may be stored, and the at least one instruction, the at least one program, code set, or instruction set is loaded and executed by a processor to implement the donation information distributed storage method as shown in any one of fig. 3, fig. 4, and fig. 9.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
the invention is not to be considered as limited to the particular embodiments shown and described, but is to be understood that various modifications, equivalents, improvements and the like can be made without departing from the spirit and scope of the invention.
Claims (10)
1. A donation information distributed storage method is applied to any node included in a blockchain network, and comprises the following steps:
receiving a donation record of a donated object, the donation record including a user identification and donation information of the donated object;
Broadcasting the donation records across the network to the blockchain network;
Receiving a donation information query request carrying a user identifier to be queried;
And inquiring the donation information corresponding to the user identifier to be inquired according to the donation information inquiry request.
2. The method of claim 1, wherein the donation information corresponds to time stamp information, and wherein broadcasting the donation records across the network to the blockchain network comprises:
Generating a target block according to the donation information and the timestamp information;
broadcasting the target block and the user identifier of the donation object to the whole network of the blockchain network, wherein any node receiving the user identifiers of the target block and the donation object is used for performing consensus check on the received information, storing the checked information, and broadcasting the checked information to the whole network of the blockchain network again.
3. The method according to claim 1, wherein before receiving a donation information query request carrying a user identifier to be queried, the method further comprises:
Receiving the relative information of the donation objects sent by a personnel list statistical department, wherein the personnel list statistical department comprises a civil administration department or a public security department;
matching the relative information of the donated objects with the user identifiers of the donated objects;
and broadcasting the matching result to the whole network of the block chain network.
4. The method of claim 3, further comprising: and inquiring the donation information of the relative corresponding to the user identifier to be inquired according to the donation information inquiry request.
5. The method of any of claims 1 to 4, wherein the user identification of the donated objects comprises: identification of identity documents or genetic identification of donated objects, the donated information of the donated objects including: the time of donation, the location of donation, the donation or the amount of donation of the donation to the subject.
6. The method of any of claims 1 to 4, further comprising: and classifying the donations of the received donated objects according to the target attributes.
7. the method of any of claims 1 to 4, further comprising:
Receiving a qualification status of a donation from a donation subject;
Broadcasting the eligibility status of the donation to the blockchain network over the network;
and when a donation qualification status query request carrying the user identifier to be queried is received, querying the donation qualification status corresponding to the user identifier to be queried, and displaying a query result.
8. A donation information distributed storage apparatus, for use in any node included in a blockchain network, the apparatus comprising:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a donation record of a donated object, and the donation record comprises a user identifier and donation information of the donated object;
A broadcast module for broadcasting the donation records to the blockchain network over the entire network;
The second receiving module is used for receiving a donation information query request carrying the user identifier to be queried;
And the query module is used for querying the donation information corresponding to the user identifier to be queried according to the donation information query request.
9. a terminal, characterized in that the terminal comprises: a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the donation information distributed storage method according to any one of claims 1 to 7.
10. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the donation information distributed storage method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910844184.2A CN110544193A (en) | 2019-09-06 | 2019-09-06 | Donation information distributed storage method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910844184.2A CN110544193A (en) | 2019-09-06 | 2019-09-06 | Donation information distributed storage method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110544193A true CN110544193A (en) | 2019-12-06 |
Family
ID=68712923
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910844184.2A Pending CN110544193A (en) | 2019-09-06 | 2019-09-06 | Donation information distributed storage method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110544193A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111538787A (en) * | 2020-04-27 | 2020-08-14 | 中国银行股份有限公司 | Donated material processing method, device and system based on block chain |
CN112529600A (en) * | 2020-12-21 | 2021-03-19 | 童超 | Public welfare management method and platform |
CN113535854A (en) * | 2021-07-28 | 2021-10-22 | 深圳创维-Rgb电子有限公司 | Block chain-based user data processing method and device and readable storage medium |
CN114328729A (en) * | 2021-12-28 | 2022-04-12 | 中国联合网络通信集团有限公司 | Method and device for establishing bone marrow matching block chain, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109087697A (en) * | 2018-06-27 | 2018-12-25 | 深圳市元征科技股份有限公司 | One kind is donated blood monitoring and managing method, server and computer-readable medium |
CN109242477A (en) * | 2018-06-28 | 2019-01-18 | 平安科技(深圳)有限公司 | Charitable donation method, system and storage medium based on block chain |
CN109472158A (en) * | 2018-11-14 | 2019-03-15 | 福建酷酷电子商务有限公司 | Data processing method and device based on block chain |
CN110163627A (en) * | 2019-04-01 | 2019-08-23 | 阿里巴巴集团控股有限公司 | A kind of donations food processing method and device based on block chain |
-
2019
- 2019-09-06 CN CN201910844184.2A patent/CN110544193A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109087697A (en) * | 2018-06-27 | 2018-12-25 | 深圳市元征科技股份有限公司 | One kind is donated blood monitoring and managing method, server and computer-readable medium |
CN109242477A (en) * | 2018-06-28 | 2019-01-18 | 平安科技(深圳)有限公司 | Charitable donation method, system and storage medium based on block chain |
CN109472158A (en) * | 2018-11-14 | 2019-03-15 | 福建酷酷电子商务有限公司 | Data processing method and device based on block chain |
CN110163627A (en) * | 2019-04-01 | 2019-08-23 | 阿里巴巴集团控股有限公司 | A kind of donations food processing method and device based on block chain |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111538787A (en) * | 2020-04-27 | 2020-08-14 | 中国银行股份有限公司 | Donated material processing method, device and system based on block chain |
CN112529600A (en) * | 2020-12-21 | 2021-03-19 | 童超 | Public welfare management method and platform |
CN113535854A (en) * | 2021-07-28 | 2021-10-22 | 深圳创维-Rgb电子有限公司 | Block chain-based user data processing method and device and readable storage medium |
CN114328729A (en) * | 2021-12-28 | 2022-04-12 | 中国联合网络通信集团有限公司 | Method and device for establishing bone marrow matching block chain, electronic equipment and storage medium |
CN114328729B (en) * | 2021-12-28 | 2023-01-17 | 中国联合网络通信集团有限公司 | Method and device for establishing bone marrow matching block chain, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110602206B (en) | Data sharing method and device based on block chain and storage medium | |
CN110278464B (en) | Method and device for displaying list | |
CN111090687B (en) | Data processing method, device and system and computer readable storage medium | |
CN111083516B (en) | Live broadcast processing method and device | |
CN110544193A (en) | Donation information distributed storage method and device | |
CN111104980B (en) | Method, device, equipment and storage medium for determining classification result | |
CN110147503B (en) | Information issuing method and device, computer equipment and storage medium | |
CN112967793A (en) | Vaccination method, system, device, equipment and storage medium | |
CN113536063B (en) | Information processing method, device, equipment and storage medium | |
CN111062824B (en) | Group member processing method, device, computer equipment and storage medium | |
CN111209313A (en) | Block chain-based medical item data query method and device | |
CN110598458A (en) | Method, device and system for acquiring medical prescription based on block chain | |
CN112770177A (en) | Multimedia file generation method, multimedia file release method and device | |
CN110290191B (en) | Resource transfer result processing method, device, server, terminal and storage medium | |
CN111145034A (en) | Block chain-based social security management method, device and system and storage medium | |
CN110597801B (en) | Database system and establishing method and device thereof | |
CN112825048A (en) | Message reminding method and device, electronic equipment and storage medium | |
CN112529871B (en) | Method and device for evaluating image and computer storage medium | |
CN111064657B (en) | Method, device and system for grouping concerned accounts | |
CN110597840B (en) | Partner relationship establishment method, device, equipment and storage medium based on blockchain | |
CN112559795A (en) | Song playing method, song recommending method, device and system | |
CN110336881B (en) | Method and device for executing service processing request | |
CN112132472A (en) | Resource management method and device, electronic equipment and computer readable storage medium | |
CN112135256A (en) | Method, device and equipment for determining movement track and readable storage medium | |
CN110597923A (en) | Block chain resource management method, device 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191206 |
|
RJ01 | Rejection of invention patent application after publication |