CN112000973A - Blood data storage method, device, node server and storage medium - Google Patents

Blood data storage method, device, node server and storage medium Download PDF

Info

Publication number
CN112000973A
CN112000973A CN202010868207.6A CN202010868207A CN112000973A CN 112000973 A CN112000973 A CN 112000973A CN 202010868207 A CN202010868207 A CN 202010868207A CN 112000973 A CN112000973 A CN 112000973A
Authority
CN
China
Prior art keywords
blood data
node server
blood
blockchain
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010868207.6A
Other languages
Chinese (zh)
Inventor
宋学武
徐铁兵
林炀平
柯叶翔
刘卫卫
张海雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Gandao Intelligent Technology Co ltd
Original Assignee
Hangzhou Gandao Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Gandao Intelligent Technology Co ltd filed Critical Hangzhou Gandao Intelligent Technology Co ltd
Priority to CN202010868207.6A priority Critical patent/CN112000973A/en
Publication of CN112000973A publication Critical patent/CN112000973A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention relates to the technical field of blood data management, and provides a blood data storage method, a blood data storage device, a node server and a storage medium, wherein the blood data storage method, the node server and the storage medium are applied to a first node server, the first node server is in communication connection with a block chain network and a site, and the block chain network comprises a plurality of block chains divided according to classification labels; the method comprises the following steps: receiving blood data uploaded by a site; determining a target block chain corresponding to the blood data from the plurality of block chains according to the classification labels; the blood data is uplinked to the target block chain for storage. Compared with the prior art, the blood data are simultaneously linked to different block chains for storage according to the preset classification, so that the concurrency of the blood data during the link storage is improved, and the blood data storage efficiency is further improved.

Description

Blood data storage method, device, node server and storage medium
Technical Field
The invention relates to the technical field of blood data management, in particular to a blood data storage method, a blood data storage device, a node server and a storage medium.
Background
The blood data is stored usually on the basis of a central node server of a large-scale organization, the circulation of the blood data is controlled through the authority control of the central node server, the centralization is serious, the authenticity of the data cannot be guaranteed, and sometimes the safety problem of the blood data is caused.
The method for solving the problems of data reality and reliability in the prior art is generally as follows: blood data are stored based on the block chain, and the safety and credibility of the blood data are guaranteed through the characteristic of decentralized of the block chain.
The existing blood data storage method based on the block chain has the problem of low storage efficiency.
Disclosure of Invention
The invention solves the problem of low blood data storage efficiency.
In order to solve the above problems, the present invention provides a blood data storage method, which is applied to a first node server, where the first node server is in communication with a blockchain network and is in communication connection with a site, and the blockchain network includes a plurality of blockchains divided according to classification labels; the method comprises the following steps: receiving blood data uploaded by the station; determining a target block chain corresponding to the blood data from the plurality of block chains according to the classification label; and linking the blood data to the target block chain for storage.
Compared with the prior art, the blood data storage method has the following advantages: blood data are simultaneously linked to different block chains for storage according to preset classification, so that the concurrency of the blood data during the link storage is improved, and the blood data storage efficiency is improved.
Further, the blood data includes a tag attribute, and the step of determining a target blockchain corresponding to the blood data from the plurality of blockchains according to the classification tag includes:
if the blockchains with the classification labels and the label attributes identical exist in the plurality of blockchains, taking the blockchains with the classification labels and the label attributes identical as the target blockchains;
and if the blockchain with the classification label and the label attribute being the same does not exist in the plurality of blockchains, creating a blockchain in the blockchain network, and taking the newly created blockchain as the target blockchain.
Further, the first node server is also in communication with a second node server, and the step of uplink storing the blood data to the target block chain comprises:
encrypting the blood data, and sending the encrypted blood data to the second node server so that the second node server verifies the encrypted blood data and returns a verification result;
and when the verification result is that the verification is passed, the encrypted blood data is linked to the target block chain for storage.
Further, the method further comprises:
and uploading the blood data to the target block chain for storage according to a preset period.
The invention also provides a blood data storage device, which is applied to a first node server, wherein the first node server is communicated with the blockchain network and is in communication connection with a site, and the blockchain network comprises a plurality of blockchains divided according to the classification labels; the device comprises: the receiving module is used for receiving the blood data uploaded by the site; a determining module, configured to determine a target blockchain corresponding to the blood data from the plurality of blockchains according to the classification tag; and the uplink module is used for uplink of the blood data to the target block chain for storage.
Further, the blood data includes a tag attribute, and the determination module is specifically configured to:
if the blockchains with the classification labels and the label attributes identical exist in the plurality of blockchains, taking the blockchains with the classification labels and the label attributes identical as the target blockchains;
and if the blockchain with the classification label and the label attribute being the same does not exist in the plurality of blockchains, creating a blockchain in the blockchain network, and taking the newly created blockchain as the target blockchain.
Further, the first node server is further in communication with a second node server, and the uplink module is specifically configured to:
encrypting the blood data, and sending the encrypted blood data to the second node server so that the second node server verifies the encrypted blood data and returns a verification result;
and when the verification result is that the verification is passed, the encrypted blood data is linked to the target block chain for storage.
Further, the uplink module is further configured to:
and uploading the blood data to the target block chain for storage according to a preset period.
The present invention also provides a node server, including:
one or more processors;
memory for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement a blood data storage method as described above.
The present invention also provides a computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, realizes the blood data storage method as described above.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present invention.
Fig. 2 is a schematic block diagram of a node server according to an embodiment of the present invention.
Fig. 3 is a schematic flow chart of a blood data storage method according to an embodiment of the present invention.
Fig. 4 is a schematic flow chart of another blood data storage method according to an embodiment of the present invention.
Fig. 5 is a schematic flow chart of another blood data storage method according to an embodiment of the present invention.
Fig. 6 is a block diagram of a blood data storage device according to an embodiment of the present invention.
Icon: 10-a first node server; 11-a processor; 12-a memory; 13-a bus; 14-a communication interface; 20-station; 30-a second node server; 100-a blood data storage device; 110-a receiving module; 120-a determination module; 130-uplink module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present invention, it should be noted that if the terms "upper", "lower", "inside", "outside", etc. indicate an orientation or a positional relationship based on that shown in the drawings or that the product of the present invention is used as it is, this is only for convenience of description and simplification of the description, and it does not indicate or imply that the device or the element referred to must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present invention.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
In the prior art, blood data are stored in a central server of a large-scale organization, and the circulation of the blood data is controlled through the authority control of the central server. Since blood data usually relates to personal privacy, such as blood type, user information for collecting blood, and other sensitive data, and the use of blood data is also usually strictly controlled, it is very important to ensure the safety of blood data storage.
The existing storage mode based on the central server has serious centralization, blood data in the central server can be replaced or tampered after the central server is invaded, the safety of the authenticity of the blood data can be greatly threatened, and the serious safety problem of the blood data is caused.
The blocks are storage units one by one, all communication information of each block node within a certain time is recorded, all blocks are linked through random hashing (also called Hash algorithm), the next block contains the Hash value of the previous block, one block is connected with one block in sequence along with the expansion of information communication, the formed result is called a block chain, the block chain is a distributed shared account book and a database, and the block chain has the characteristics of decentralization, non-tampering, whole-course trace retaining, traceability, collective maintenance, public transparency and the like.
Therefore, the blood data storage based on the block chain can be effectively decentralized, and the safety and the reliability of the blood data storage are improved.
However, in the prior art, when uplink storage is performed on blood data, since the blood data of a batch of uplink usually needs to be stored after each block on a block chain is processed sequentially, that is, the existing storage based on the block chain processes uplink to the same block chain sequentially in a serial manner, and the serial processing manner causes inefficiency in storing the blood data.
In view of the above, the applicant proposes a blood data storage method, a blood data storage device, a node server and a storage medium, which are used for simultaneously linking blood data to different block chains for storage according to a preset classification, so as to improve concurrency during the link storage of the blood data and further improve efficiency of blood data storage, which will be described in detail below.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario provided by an embodiment of the present invention, in fig. 1, a first node server 10 and a second node server 30 are both in communication connection with a blockchain network, the first node server 10 and the second node server 30 are in communication connection, and the first node server 10 and a site 20 are in communication connection.
In this embodiment, the station 20 includes, but is not limited to, a blood station, a hospital, and the like, and a client exists in a place where blood collection is performed, and a worker sorts and uploads blood data of collected blood to the first node server 10 through the client. When the site 20 is a client in a blood station, the first node server 10 may be a server communicatively connected to the blood station, when the site 20 is a client in a hospital, the first node server 10 may be a server communicatively connected to the hospital, the second node server 30 is typically a server in a government-related department with authority or a specialized certification authority approved by a country, and the like, and these departments or authorities typically need to access blood data or supervise the circulation of blood data, for example, the second node server 30 is a server in the ministry of health care. In addition, to facilitate the sharing of blood data, the first node server 10 and the second node server 30 may be in the same shared network.
In the embodiment of the present invention, the blockchain network is used for storing blood data, and includes a plurality of blockchain nodes, each blockchain node may be, but is not limited to, a server, a private cloud, a public cloud, and the like, trust is established between different blockchain nodes in the blockchain network, there is no centralized hardware or management node, the site 20 sends the blood data to the first node server 10, the first node server 10 checks the blood data through the second node server, and after the check is passed, an interface provided by the blockchain network is called to uplink the blood data, so that the blood data is stored in the blockchain network.
The first node server 10 and the second node server 30 may be physical servers, or virtual servers that can implement the same functions as the physical servers, or cloud servers.
The client included in the site 20 may be a computer device such as a host, a mobile phone, a tablet computer, etc.
Referring to fig. 2 based on fig. 1, fig. 2 is a block diagram of a first node server 10 provided in the present invention, where the first node server 10 may be the first node server 10 in fig. 1.
The first node server 10 includes a processor 11, a memory 12, a bus 13, and a communication interface 14, and the processor 11, the memory 12, and the communication interface 14 are connected by the bus 13.
The processor 11 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the blood data storage method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 11. The Processor 11 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
The memory 12 is used to store a program such as the blood data storage device described above as applied to the first node server 10. The blood data storage means comprises at least one software function which may be stored in memory 12 in the form of software or firmware (firmware) or may be resident on the first node server 10. The processor 11, upon receiving the execution instruction, executes the program to implement the blood data storage method applied to the first node server 10 as disclosed in the following embodiments.
There may be a plurality of communication interfaces 14, and the first node server 10 may communicate with the station 20, the second node server 30 and the blockchain network through different communication interfaces 14.
On the basis of fig. 1 and fig. 2, a blood data storage method according to an embodiment of the present invention is provided, referring to fig. 3, and fig. 3 is a schematic flow chart of the blood data storage method according to an embodiment of the present invention, the method including the following steps:
and step S100, receiving the blood data uploaded by the site.
In this embodiment, the staff collecting blood obtains the analysis results of various indexes such as blood type and blood routine of blood through tools such as blood drawing and blood analysis, and the health condition of the staff providing blood can be evaluated according to the analysis results, and the blood data may include the data of various indexes of blood type and blood and the basic parameters such as sex and age of the blood provider.
Step S110, a target block chain corresponding to the blood data is determined from the plurality of block chains according to the classification labels.
In this embodiment, the blockchain network includes a plurality of blockchains divided according to classification labels, the classification labels may be determined according to actual scene needs, each classification label may include a plurality of the classification labels, each classification label corresponds to one blockchain, and the classification label may be one or a combination of a plurality of attributes such as a blood type, a gender of a person, and an age of the person. For example, the classification label a is a combination of a blood type a and a gender of a woman, and the blood type of the blood data stored in the block chain corresponding to the classification label a is a and the gender of the blood data is a woman.
In this embodiment, the target block chain is a block chain that the blood data should be uplinked, for example, the blood data may include different attributes, and the target block chain is a block chain whose classification label has the same attribute as the blood data. For example, if the classification label is blood type a and the blood type of the blood data is a, the blood data is linked to the target block chain of blood type a.
The present invention can be applied to various fields. The classification labels are determined according to different access authorities, the access authorities of the blood data stored in the block chains corresponding to different classification labels are different, and the access authorities of the blood data in the same block chain are the same, so that the blood data can be stored concurrently, and the control of the access authorities of the blood data is facilitated.
Step S120, link the blood data to the target block chain for storage.
In this embodiment, the blood data may be uplinked to the target block chain without encryption or may be encrypted before uplinking, according to actual needs. The uplink timing can be uplink according to a preset time period, or triggered uplink can be required, which is not limited in the present invention.
In this embodiment, as a specific data organization form, blood data may be organized in a Merkle DAG manner, where Merkle DAG is a directed acyclic graph and has the following two salient features:
(1) the hash value of the parent node is determined by the hash value of the child node, namely the hash value of the parent node is formed by hashing a character string spliced by the hash values of the child nodes.
(2) The parent node contains information pointing to the child node.
The blood data is organized in the Merkle DAG mode, so that a large number of blood data can be conveniently signed at one time, and the storage and processing process of the blood data based on the block chain is simplified.
According to the blood data storage method provided by the embodiment of the invention, the blood data are simultaneously linked to different block chains for storage according to the preset classification, so that the concurrency of the blood data during the link storage is improved, and the blood data storage efficiency is further improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating another blood data storage method according to an embodiment of the present invention, wherein step S110 includes the following sub-steps:
in sub-step S1101, if there is a blockchain having the same classification tag and tag attribute among the plurality of blockchains, the blockchain having the same classification tag and tag attribute is set as the target blockchain.
In this embodiment, the blood data may include a plurality of attributes, such as blood type, gender, age, occupation, and the like, and the label attribute refers to an attribute or a combination of attributes for providing a classification storage basis among the plurality of attributes, for example, the label attribute is: blood type a means that the blood data of blood type a needs to be stored on the block chain with the classification label of blood type a when storing the blood data. The label attribute may correspond to a classification label, and one classification label may correspond to a plurality of label attributes, for example, the classification label is a blood type a, a gender female, and the label attribute of the blood data may include 3: blood type A, gender and age of 18-25 years. If the label attribute of the blood data contains the classification label, the classification label is judged to be the same as the label attribute, and the blood data flows into the blood group A and the gender female, wherein the label attribute of the blood data is as follows: and if the blood type A, the gender and the age are 18-25 years old, the label attribute of the blood data can be judged to be the same as the classification label.
In the substep S1102, if there is no blockchain with the same classification tag and tag attribute in the plurality of blockchains, a blockchain is created in the blockchain network, and the newly created blockchain is used as the target blockchain.
In this embodiment, for example, the classification labels in the current blockchain are: the method comprises the steps of obtaining three blockchains of a blood type A, a blood type B and a blood type AB, wherein the blood type of currently collected blood data is O type, at the moment, when a target blockchain of which the classification label is the blood type O does not exist in a front blockchain, a blockchain is newly created, the classification label of the newly created blockchain is set to be the blood type O, and the newly created blockchain is set to be the target blockchain.
According to the blood data storage method provided by the embodiment of the invention, the matched target block chain can be found for the blood data to be uplinked according to the classification label of the block chain, and when the matched target block chain cannot be found, a new block chain matched with the target block chain is automatically created, so that the blood data can be uplinked correctly and efficiently.
With continued reference to fig. 3, the embodiment of the present invention further provides a specific implementation manner of linking the blood data to the target block chain, and the step S120 includes the following sub-steps:
and a substep S1201, encrypting the blood data, and sending the encrypted blood data to the second node server so that the second node server verifies the encrypted blood data and returns a verification result.
In this embodiment, in order to further improve the reliability of the blood data, before the blood data is uplinked, a verification request is first sent to the second node server 30, so that the second node server 30 verifies the blood data, and only the blood data that passes the verification can be uplinked to the target block chain.
In this embodiment, as a specific verification method, the first node server 10 and the second node server 30 agree with an encrypted public and private key in advance, the first node server 10 encrypts the blood data by using the public key and calculates a digest corresponding to the blood data according to a preset algorithm, the first node server 10 sends the encrypted blood data and the corresponding digest to the second node server 30, the second node server 30 decrypts the received encrypted blood data by using a private key corresponding to the public key to obtain corresponding decrypted blood data, calculates a digest of the decrypted blood data according to the preset algorithm, compares the calculated digest with the digest received from the first node server 10, if the calculated digest is consistent, the verification is considered to be passed, otherwise, the verification is not passed.
And a substep S1202, when the verification result is that the verification is passed, linking the encrypted blood data to a target block chain for storage.
In this embodiment, after the encrypted blood data is linked to the target block chain, different blocks are formed for the blood data after the linking, and a specific hash value is generated, where the hash value includes a specific identifier of the blood data, and when the corresponding blood data needs to be read, the corresponding data can be directly found through the corresponding specific identifier.
According to the blood data storage method provided by the embodiment of the invention, the blood data is verified before uploading, and after the verification is passed, the blood data is encrypted and then uploaded to the target block chain, so that the reliability and the safety of blood data storage are greatly improved.
On the basis of fig. 3, an embodiment of the present invention further provides a specific implementation manner of an uplink timing, and fig. 5 is a schematic flow chart of another blood data storage method according to an embodiment of the present invention, where the method further includes:
step S130, uplink of the blood data to the target block chain for storage according to a preset period.
In this embodiment, the preset period may be set according to the requirement of an actual scene, for example, the preset period may be set as: one week or one month, etc. For another example, when the first node server 10 is a server communicating with a blood station or a server communicating with a hospital, different preset periods may be set as needed, for example, when the first node server 10 is a server communicating with a blood station, the preset period is set to one week, when the first node server 10 is a server communicating with a hospital, the preset period is set to one month, different servers communicating with different blood stations may also be set to different preset periods, and different servers communicating with a hospital may also be set to different preset periods.
In this embodiment, the step of linking the blood data to the target block chain for storage is similar to the steps S100 to S120, and is not repeated here.
The blood data storage method provided by the embodiment of the invention can set different uplink time according to the requirements of actual scenes, thereby improving the flexibility of blood data storage.
In order to perform the corresponding steps in the above-described embodiments and in various possible embodiments, an implementation of a blood data storage device is given below. Referring to fig. 6, fig. 6 is a functional block diagram of a blood data storage device 100 according to an embodiment of the present invention. It should be noted that the basic principle and the technical effect of the blood data storage device 100 according to the embodiment of the present invention are the same as those of the foregoing method embodiment, and for the sake of brief description, the corresponding contents of the foregoing method embodiment can be referred to for the parts not mentioned in this embodiment. The blood data storage device 100 will be described with reference to fig. 3 to 5, and the blood data storage device 100 includes: a receiving module 110, a determining module 120, and an uplink module 130.
And a receiving module 110, configured to receive the blood data uploaded by the station.
A determining module 120, configured to determine a target blockchain corresponding to the blood data from the plurality of blockchains according to the classification tag.
Optionally, the blood data includes a label attribute, and the determining module 120 is specifically configured to: if the block chains with the same classification label and label attribute exist in the plurality of block chains, taking the block chains with the same classification label and label attribute as target block chains; and if the blockchains with the classification labels having the same attributes as the labels do not exist in the plurality of blockchains, creating one blockchain in the blockchain network, and taking the newly created blockchain as a target blockchain.
And an uplink module 130 for uplink of the blood data to the target block chain for storage.
Optionally, the first node server is further in communication with a second node server, and the uplink module 130 is specifically configured to: encrypting the blood data, and sending the encrypted blood data to a second node server so that the node server verifies the encrypted blood data and returns a verification result; and when the verification result is that the verification is passed, the encrypted blood data is linked to the target block chain for storage.
Optionally, the uplink module 130 is further configured to: and uploading the blood data to the target block chain according to a preset period for storage.
It should be noted that the blood data storage apparatus 100 can also be implemented by hardware, for example, the blood data storage apparatus is integrated into a blockchain module, and the blockchain module is installed in the first node server 10 and the second node server 30, so that the second node server 30 cooperates with the first node server 10 to implement the blood data storage method.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the blood data storage method as described above.
In summary, embodiments of the present invention provide a blood data storage method, an apparatus, a node server, and a storage medium, which are applied to a first node server, where the first node server is in communication with a blockchain network and is in communication connection with a site, and the blockchain network includes a plurality of blockchains divided according to classification labels; the method comprises the following steps: receiving blood data uploaded by a site; determining a target block chain corresponding to the blood data from the plurality of block chains according to the classification labels; the blood data is uplinked to the target block chain for storage. Compared with the prior art, the blood data are simultaneously linked to different block chains for storage according to the preset classification, so that the concurrency of the blood data during the link storage is improved, and the blood data storage efficiency is further improved.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A blood data storage method is applied to a first node server, the first node server is communicated with a block chain network and is in communication connection with a site, and the block chain network comprises a plurality of block chains divided according to classification labels; the method comprises the following steps:
receiving blood data uploaded by the station;
determining a target block chain corresponding to the blood data from the plurality of block chains according to the classification label;
and linking the blood data to the target block chain for storage.
2. The blood data storage method of claim 1, wherein the blood data includes a tag attribute, and the step of determining a target blockchain corresponding to the blood data from the plurality of blockchains according to the classification tag includes:
if the blockchains with the classification labels and the label attributes identical exist in the plurality of blockchains, taking the blockchains with the classification labels and the label attributes identical as the target blockchains;
and if the blockchain with the classification label and the label attribute being the same does not exist in the plurality of blockchains, creating a blockchain in the blockchain network, and taking the newly created blockchain as the target blockchain.
3. The method of claim 1, wherein the first node server is further in communication with a second node server, and wherein the step of uplink storing the blood data to the target blockchain comprises:
encrypting the blood data, and sending the encrypted blood data to the second node server so that the second node server verifies the encrypted blood data and returns a verification result;
and when the verification result is that the verification is passed, the encrypted blood data is linked to the target block chain for storage.
4. A method of storing blood data according to claim 1, further comprising:
and uploading the blood data to the target block chain for storage according to a preset period.
5. A blood data storage device is applied to a first node server which is communicated with a blockchain network and is connected with a site in a communication way, wherein the blockchain network comprises a plurality of blockchains divided according to classification labels; the device comprises:
the receiving module is used for receiving the blood data uploaded by the site;
a determining module, configured to determine a target blockchain corresponding to the blood data from the plurality of blockchains according to the classification tag;
and the uplink module is used for uplink of the blood data to the target block chain for storage.
6. The blood data storage device of claim 5, wherein the blood data includes a tag attribute, the determination module being specifically configured to:
if the blockchains with the classification labels and the label attributes identical exist in the plurality of blockchains, taking the blockchains with the classification labels and the label attributes identical as the target blockchains;
and if the blockchain with the classification label and the label attribute being the same does not exist in the plurality of blockchains, creating a blockchain in the blockchain network, and taking the newly created blockchain as the target blockchain.
7. The blood data storage device of claim 5, wherein the first node server is further in communication with a second node server, the uplink module being further configured to:
encrypting the blood data, and sending the encrypted blood data to the second node server so that the second node server verifies the encrypted blood data and returns a verification result;
and when the verification result is that the verification is passed, the encrypted blood data is linked to the target block chain for storage.
8. The blood data storage device of claim 5, wherein the uplink module is further configured to:
and uploading the blood data to the target block chain for storage according to a preset period.
9. A node server, the node server comprising:
one or more processors;
memory for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the blood data storage method of any one of claims 1-4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a blood data storage method according to any one of claims 1 to 4.
CN202010868207.6A 2020-08-26 2020-08-26 Blood data storage method, device, node server and storage medium Pending CN112000973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010868207.6A CN112000973A (en) 2020-08-26 2020-08-26 Blood data storage method, device, node server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010868207.6A CN112000973A (en) 2020-08-26 2020-08-26 Blood data storage method, device, node server and storage medium

Publications (1)

Publication Number Publication Date
CN112000973A true CN112000973A (en) 2020-11-27

Family

ID=73471557

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010868207.6A Pending CN112000973A (en) 2020-08-26 2020-08-26 Blood data storage method, device, node server and storage medium

Country Status (1)

Country Link
CN (1) CN112000973A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114021207A (en) * 2021-12-01 2022-02-08 东莞市微三云大数据科技有限公司 Block chain link point storage server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291862A (en) * 2017-06-12 2017-10-24 腾讯科技(深圳)有限公司 Business datum storage method, device, storage medium and electronic equipment
CN109034809A (en) * 2018-08-16 2018-12-18 北京京东尚科信息技术有限公司 Generation method, device, block chain node and the storage medium of block chain
CN111400761A (en) * 2020-03-17 2020-07-10 吉林亿联银行股份有限公司 Data sharing method and device, storage medium and electronic equipment
CN111400316A (en) * 2020-03-04 2020-07-10 上海明略人工智能(集团)有限公司 Data acquisition method and device, storage medium and electronic device
CN111506661A (en) * 2020-04-22 2020-08-07 腾讯科技(深圳)有限公司 Content access management method, device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291862A (en) * 2017-06-12 2017-10-24 腾讯科技(深圳)有限公司 Business datum storage method, device, storage medium and electronic equipment
CN109034809A (en) * 2018-08-16 2018-12-18 北京京东尚科信息技术有限公司 Generation method, device, block chain node and the storage medium of block chain
CN111400316A (en) * 2020-03-04 2020-07-10 上海明略人工智能(集团)有限公司 Data acquisition method and device, storage medium and electronic device
CN111400761A (en) * 2020-03-17 2020-07-10 吉林亿联银行股份有限公司 Data sharing method and device, storage medium and electronic equipment
CN111506661A (en) * 2020-04-22 2020-08-07 腾讯科技(深圳)有限公司 Content access management method, device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114021207A (en) * 2021-12-01 2022-02-08 东莞市微三云大数据科技有限公司 Block chain link point storage server
CN114021207B (en) * 2021-12-01 2023-06-20 东莞市微三云大数据科技有限公司 Block chain link point storage server

Similar Documents

Publication Publication Date Title
CN110489485B (en) Federated blockchain network, method and storage medium for storing product data therein
US11010496B2 (en) Structured data folding with transmutations
US10601960B2 (en) Zero-knowledge environment based networking engine
US10867282B2 (en) Method and system for GPS enabled model and site interaction and collaboration for BIM and other design platforms
CN109522270A (en) File storing and reading method, electronic device and readable storage medium storing program for executing based on block chain
CN104081713B (en) The long-range trust identification of server and client computer in cloud computing environment and geographical location
CN110362357A (en) A kind of configuration file management method and device of application program
US9600690B2 (en) Secure access for sensitive digital information
CN111915019A (en) Federal learning method, system, computer device, and storage medium
CN114625976B (en) Data recommendation method, device, equipment and medium based on federal learning
US20160134495A1 (en) Logging device and log aggregation device
CN112734448A (en) Agricultural product tracing method, system, equipment and storage medium based on block chain
CN111914277A (en) Intersection data generation method and federal model training method based on intersection data
CN111552928A (en) Authentication method and device
CN111339558A (en) Data encryption method, data decryption method, computer device and medium
CN111222075A (en) Data transmission method based on multiple Webviews, server and storage medium
CN112000973A (en) Blood data storage method, device, node server and storage medium
CN110941672A (en) Household registration management method, device, equipment and storage medium
CN110209347B (en) Traceable data storage method
CN112291321A (en) Service processing method, device and system
CN104679794A (en) Data difference analysis method and device
CN113489714B (en) Multi-module-based intelligent message cross processing method and system
CN113051622B (en) Index construction method, device, equipment and storage medium
CN110995440B (en) Work history confirming method, device, equipment and storage medium
CN114143308A (en) File uploading information processing method and device, computer equipment and storage medium

Legal Events

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